From: Christos Zoulas Date: Sun, 10 Jun 2001 02:11:13 +0000 (+0000) Subject: Michael Pruett X-Git-Tag: FILE3_36~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ddbfe9d9bb196420de4237051b0b2f56baca164;p=file Michael Pruett Add more SGI formats. --- diff --git a/magic/Magdir/audio b/magic/Magdir/audio index a1588b7b..65988f1e 100644 --- a/magic/Magdir/audio +++ b/magic/Magdir/audio @@ -120,12 +120,12 @@ >14 beshort >1 %d songs, >16 beshort >0 default song: %d - # IRCAM -0 belong 0x64a30400 IRCAM file (NeXT) +# VAX and MIPS files are little-endian; Sun and NeXT are big-endian +0 belong 0x64a30100 IRCAM file (VAX) 0 belong 0x64a30200 IRCAM file (Sun) 0 belong 0x64a30300 IRCAM file (MIPS little-endian) -0 belong 0x0001a364 IRCAM file +0 belong 0x64a30400 IRCAM file (NeXT) # NIST SPHERE 0 string NIST_1A\n\ \ \ 1024\n NIST SPHERE file @@ -138,4 +138,7 @@ # From Felix von Leitner 0 string OggS Ogg-Vorbis compressed sound file + +# SGI SoundTrack +0 string _SGI_SoundTrack SGI SoundTrack project file 0 string ID3 mp3 file with ID3 2.0 tag diff --git a/magic/Magdir/images b/magic/Magdir/images index 9347b45a..9cdc44c4 100644 --- a/magic/Magdir/images +++ b/magic/Magdir/images @@ -300,3 +300,21 @@ 0 string pM86 Atari ST STAD bitmap image data (vert) >5 byte 0x00 (white background) >5 byte 0xFF (black background) + +# SGI RICE image file +0 beshort 0x5249 RICE image +>2 beshort x v%d +>4 beshort x (%d x +>6 beshort x %d) +>8 beshort 0 8 bit +>8 beshort 1 10 bit +>8 beshort 2 12 bit +>8 beshort 3 13 bit +>10 beshort 0 4:2:2 +>10 beshort 1 4:2:2:4 +>10 beshort 2 4:4:4 +>10 beshort 3 4:4:4:4 +>12 beshort 1 RGB +>12 beshort 2 CCIR601 +>12 beshort 3 RP175 +>12 beshort 4 YUV