summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2016-11-08 02:58:21 +0000
committerChristos Zoulas <christos@zoulas.com>2016-11-08 02:58:21 +0000
commit358bbac439073bd5a819d54f21a03185449da0ae (patch)
tree41cf9d3e5d06fa4b8ba064a562f12fbabd05daf9
parenta93aad1462251d10601df42481f22301a4b2ec26 (diff)
downloadfile-git-358bbac439073bd5a819d54f21a03185449da0ae.tar.gz
Khronos SPIR-V file and Lytro Light Field Picture magic from Mike Weiblen
-rw-r--r--magic/Magdir/images26
1 files changed, 25 insertions, 1 deletions
diff --git a/magic/Magdir/images b/magic/Magdir/images
index 3e9cd81f..afe51274 100644
--- a/magic/Magdir/images
+++ b/magic/Magdir/images
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
-# $File: images,v 1.117 2016/07/05 19:12:21 christos Exp $
+# $File: images,v 1.118 2016/11/08 02:58:21 christos Exp $
# images: file(1) magic for image formats (see also "iff", and "c-lang" for
# XPM bitmaps)
#
@@ -1451,3 +1451,27 @@
>0x10 string GVRT Sega GVR image:
>>0x10 use sega-gvr-image-header
>>0x08 belong x \b, global index = %u
+
+# Light Field Picture
+# Documentation: http://optics.miloush.net/lytro/TheFileFormat.aspx
+# Typical file extensions: .lfp .lfr .lfx
+
+0 belong 0x894C4650
+>4 belong 0x0D0A1A0A
+>12 belong 0x00000000 Lytro Light Field Picture
+>8 belong x \b, version %d
+
+# Standard Portable Intermediate Representation (SPIR)
+# Documentation: https://www.khronos.org/spir
+# Typical file extension: .spv
+
+0 belong 0x07230203 Khronos SPIR-V binary, big-endian
+>4 belong x \b, version 0x%08x
+>8 belong x \b, generator 0x%08x
+
+0 lelong 0x07230203 Khronos SPIR-V binary, little-endian
+>4 lelong x \b, version 0x%08x
+>8 lelong x \b, generator 0x%08x
+
+
+