[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:46:15 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 mantler):

 Going by what I'm finding while googling, it seems that the YUVJ stuff is
 a mess.  :(

 Ah, yes, I see that 1=jpeg / 0=mpeg now... I mistakenly thought that the
 field was using the AVColorRange enumeration.
 [https://www.ffmpeg.org/doxygen/trunk/pixfmt_8h.html#a3da0bf691418bc22c4bcbe6583ad589a]

 Thank you for the assistance!

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


More information about the FFmpeg-trac mailing list