[FFmpeg-trac] #865(avcodec:open): sunras: support 8bpp grayscale
FFmpeg
trac at avcodec.org
Mon Jan 2 12:11:45 CET 2012
#865: sunras: support 8bpp grayscale
------------------------------------+-----------------------------------
Reporter: ami_stuff | Owner:
Type: defect | Status: open
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: sunrast | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Changes (by cehoyos):
* keywords: => sunrast
* status: new => open
* version: unspecified => git-master
* component: undetermined => avcodec
* reproduced: 0 => 1
Comment:
(Does 1 < bpp < 8 exist?)
Replying to [ticket:865 ami_stuff]:
> hack attached (I don't know how to identify if 8bpp file is in grayscale
mode)
You could test for maplength in "case 8", remove the "useless colormap"
block and change the condition for loading the palette to "avctx->pix_fmt
== PIX_FMT_PAL8" (or better maplength until we fix 864).
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/865#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list