[FFmpeg-trac] #190(undetermined:new): QT - add support for QT TIFF 2bpp color mode

FFmpeg trac at avcodec.org
Tue Jul 19 03:38:50 CEST 2011


#190: QT - add support for QT TIFF 2bpp color mode
------------------------+---------------------------
Reporter:  ami_stuff    |       Owner:
    Type:  defect       |      Status:  new
Priority:  normal       |   Component:  undetermined
 Version:  unspecified  |  Resolution:
Keywords:               |  Blocked By:
Blocking:               |  Reproduced:  0
Analyzed:  0            |
------------------------+---------------------------

Comment (by ami_stuff):

 I have tried to support TIFF 2/4bpp without compression, but I don't know
 what to do with files with inverted FillOrder (I have no 2/4bpp samples)
 and it seems I would need to multiply with a different value to compute
 grayscale for 2bpp/4bpp as well.

 {{{
             /* make default grayscale pal */
             pal = (uint32_t *) s->picture.data[1];
             for (i = 0; i < 256; i++)
                 pal[i] = i * 0x010101;
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/190#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list