[FFmpeg-trac] #2966(avcodec:open): ljpeg: support 36bpp rgb

FFmpeg trac at avcodec.org
Thu Aug 14 18:29:52 CEST 2014

#2966: ljpeg: support 36bpp rgb
             Reporter:  ami_stuff    |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  ljpeg mjpeg  |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |

Comment (by kurosu):

 Currently it decodes to 16bits per component without rescaling. It can
 then be encoded to format supporting 16 bits (thereby keeping the full
 dynamic afaik). My guess is that there are several ways to solve this:
 - actually implement support for BGR36 (that means conversion too)
 - or scale output of the jpeg decoder
 - or, seeing how the jpeg decoder already reports "bgr48le(12 bpc)",
 extend support for this mixed information in various codecs.

Ticket URL: <https://trac.ffmpeg.org/ticket/2966#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list