[FFmpeg-trac] #1031(swscale:open): yuv420p to rgb24 wrong pixels at end of rows

FFmpeg trac at avcodec.org
Thu Apr 12 21:08:21 CEST 2012

#1031: yuv420p to rgb24 wrong pixels at end of rows
             Reporter:  SephiRok     |                    Owner:  michael
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  swscale
              Version:  git-master   |               Resolution:
             Keywords:  regression   |               Blocked By:
  yuv2rgb                            |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  1            |
Changes (by michael):

 * analyzed:  0 => 1
 * keywords:  regression => regression yuv2rgb
 * reproduced:  0 => 1


 The yuv2rgb SIMD code should call the C code to handle the w%8 pixels when
 it cannot safely write up to a multiple of 8 pixels.
 Its easy to workaround by allocating a large enough buffer (see patch on
 ML) but the yuv2rgb code still should be fixed. The larger allocation
 though is also either way a good idea as it would avoid the use of slower
 C code for the end pixels where that implemented in yuv2rgb.
 Iam not sure if regression and important still apply after the
 "workaround" though this bug isnt fixed by it even if it disappears as

Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1031#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list