[NUT-devel] [PATCH] docs/nut4cc: Add 1, 2, 4, 8 bit Paletted rawvideo

Paul B Mahol onemda at gmail.com
Tue Feb 9 10:18:39 CET 2016


On 2/9/16, Michael Niedermayer <michael at niedermayer.cc> wrote:
> On Mon, Feb 08, 2016 at 05:22:13PM +0100, Paul B Mahol wrote:
>> On 2/8/16, Michael Niedermayer <michael at niedermayer.cc> wrote:
>> > ---
>> >  docs/nut4cc.txt |    4 ++++
>> >  1 file changed, 4 insertions(+)
>> >
>> > diff --git a/docs/nut4cc.txt b/docs/nut4cc.txt
>> > index 0b5540f..c2c067a 100644
>> > --- a/docs/nut4cc.txt
>> > +++ b/docs/nut4cc.txt
>> > @@ -136,6 +136,10 @@ XYZ[36] Packed XYZ  12:12:12,    48bpp, 12X, 4,
>> > 12Y, 4,
>> > 12Z, 4, the 2-byte value
>> >  [0xBA]GR[8]  Bayer, GRGR..(odd line), BGBG..(even line), 8-bit samples
>> > [NOT
>> > in AVI]
>> >  [0xBA]GR[16] Bayer, GRGR..(odd line), BGBG..(even line), 16-bit
>> > samples,
>> > little-endian [NOT in AVI]
>> >  [16]RG[0xBA] Bayer, GRGR..(odd line), BGBG..(even line), 16-bit
>> > samples,
>> > big-endian [NOT in AVI]
>> > +PAL[1]       1bpp indexes (ordered from the msb to the lsb in each
>> > byte),
>> > followed by a up to   2 entry table of 8:8:8:8 BGRA entries [NOT in
>> > AVI]
>> > +PAL[2]       2bpp indexes (ordered from the msb to the lsb in each
>> > byte),
>> > followed by a up to   4 entry table of 8:8:8:8 BGRA entries [NOT in
>> > AVI]
>> > +PAL[4]       4bpp indexes (ordered from the msb to the lsb in each
>> > byte),
>> > followed by a up to  16 entry table of 8:8:8:8 BGRA entries [NOT in
>> > AVI]
>> > +PAL[8]       8bpp indexes (ordered from the msb to the lsb in each
>> > byte),
>> > followed by a up to 256 entry table of 8:8:8:8 BGRA entries [NOT in
>> > AVI]
>>
>> Looks fine, go ahead and add float too.
>
> float ?
> you mean 8bit indexes with 256*4*sizeof(float) BGRA table ?
> or something else ?

Something else :-P


More information about the NUT-devel mailing list