[FFmpeg-trac] #2394(swscale:open): BGRA downscaling shifts colors (was: BGRA downscaling shift colors)

FFmpeg trac at avcodec.org
Fri Mar 22 12:55:28 CET 2013


#2394: BGRA downscaling shifts colors
------------------------------------+-----------------------------------
             Reporter:  Cigaes      |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  swscale
              Version:  git-master  |               Resolution:
             Keywords:  bgra        |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Changes (by cehoyos):

 * status:  new => open
 * reproduced:  0 => 1


Comment:

 Also reproducible with 0.6 with the following command(s):
 $ ffmpeg -lavfi color=c=blue:s=128x128,format=bgra -f rawvideo bgra.raw
 $ ffmpeg -lavfi color=c=blue:s=128x128,format=rgba -f rawvideo rgba.raw

 $ ffmpeg06 -f rawvideo -pix_fmt bgra -s 128x128 -i bgra.raw -s 8x8 -f
 rawvideo - | xxd
 $ ffmpeg06 -f rawvideo -pix_fmt rgba -s 128x128 -i rgba.raw -s 8x8 -f
 rawvideo - | xxd

 Reproducible with --disable-mmxext, not reproducible with --disable-mmx
 (once compilation is fixed).
 -cpuflags -mmx crashes here

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


More information about the FFmpeg-trac mailing list