[FFmpeg-trac] #3963(swscale:new): Should sws_getCachedContext have parameters for srcRange and dstRange? Does handle_jpeg return the correct range values?

FFmpeg trac at avcodec.org
Sat Sep 20 00:38:51 CEST 2014


#3963: Should sws_getCachedContext have parameters for srcRange and dstRange?
Does handle_jpeg return the correct range values?
-------------------------------------+-----------------------------------
             Reporter:  mantler      |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  normal       |                Component:  swscale
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------

Comment (by gjdfgh):

 The YUVJ pixel formats are a big hack (and unfortunately still output by
 the decoders), but I think these formats should automatically switch
 libswscale to jpeg range.

 In the swscale.h header I see: 1=jpeg / 0=mpeg

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


More information about the FFmpeg-trac mailing list