Talk:CDXL

Untitled
AFAIK CDXL is a not a subtype of the Interchange File Format (IFF). Here's the (only) CDXL format description I found so far. It' is from a file "CDXL.guide" (Does someone knows a better one by the way?). I can't see any relation and that's why I'll remove this IFF reference from the article.

 CDXL-Format BYTE  8 Bit unsigned integer WORD 16 Bit unsigned integer, `Motorola`-Byte-Sex LONG 32 Bit unsigned integer, `Motorola`-Byte-Sex

CDXL-Format description [CHUNK]

or BYTE: $01 {1}       [STANDARD CDXL] or BYTE: $02 {2}       [SPECIAL CDXL]
 * 1) 01 BYTE: $00 {0}       [CUSTOM CDXL]

The CDXL-Info-Byte emerge by addition of the three description goups:

#02 BYTE: $00 {0}       [RGB]        ...VIDEO ENCODING or BYTE: $01 {1}       [HAM] or BYTE: $02 {2}       [YUV] or BYTE: $03 {3}       [AVM & DCTV] plus

#02 BYTE: $00 {0}       [BIT PLANAR] ...PIXEL ORIENTATION or BYTE: $20 {32}      [BYTE PLANAR] or BYTE: $40 {64}      [CHUNKY] or BYTE: $80 {128}     [BIT LINE] or BYTE: $C0 {192}     [BYTE LINE] plus

#02 BYTE: $00 {0}       [MONO]       ...AUDIO VALUES or BYTE: $10 {16}      [STEREO]


 * 1) 03 LONG: $0000295C {10588}   [CURRENT CHUNKSIZE]
 * 2) 07 LONG: $0000295C {10588}   [PREVIOUS CHUNKSIZE]
 * 3) 11 LONG: $00000001 {1}       [CURRENT FRAMENUMBER]
 * 4) 15 WORD: $00CB {203}         [BITMAPWIDTH]
 * 5) 17 WORD: $005E {94}          [BITMAPHEIGHT]
 * 6) 19 BYTE: $00  {0}            [RESERVED]
 * 7) 20 BYTE: $04  {4}            [NUMBEROFBITPLANES]
 * 8) 21 WORD: $0020 {32}          [COLORMAPSIZE]
 * 9) 23 WORD: $02EC {748}         [RAWSOUNDSIZE]
 * 10) 25 BYTE: $00  {0}            [RESERVED]
 * 11) 26 BYTE: $00  {0}            [RESERVED]
 * 12) 27 BYTE: $00  {0}            [RESERVED]
 * 13) 28 BYTE: $00  {0}            [RESERVED]
 * 14) 29 BYTE: $00  {0}            [RESERVED]
 * 15) 30 BYTE: $00  {0}            [RESERVED]
 * 16) 31 BYTE: $00  {0}            [RESERVED]
 * 17) 32 BYTE: $00  {0}            [RESERVED]

BYTE #33 - #64 [COLORMAP] ; The pens are always WORD-coded with preceding 0s i.e. each color entry has 12 Bit (4096 different colors).

z.B. 0FFF   oder  0E9A |||_15       |||_10          ; RGB_blue_component (0-15) ||__15       ||__09          ; RGB_green_component (0-15) |___15       |___14          ; RGB_red_component (0-15)

All of the following data ordered:@{ub}

BITMAPDATA     [UNCOMPRESSED BODY] SOUNDDATA      [UNCOMPRESSED BODY]

HEADER COLORMAPDATA BITMAPDATA SOUNDDATA

etc. ordered 

Hennis2 (talk) 11:22, 21 April 2008 (UTC)