[FFmpeg-devel] [PATCH v2] swscale: Add support for unscaled 8-bit Packed RGB -> Planar RGB
Ronald S. Bultje
rsbultje at gmail.com
Wed Feb 13 22:47:12 CET 2013
Hi,
On Wed, Feb 13, 2013 at 11:14 AM, Derek Buitenhuis
<derek.buitenhuis at gmail.com> wrote:
> On 2013-02-13 7:32 AM, Michael Niedermayer wrote:
>> This will attempt to use the function in cases other than byte based
>> packed RGB, which will fail
>
> Changed to this locally:
>
> if (isPackedRGB(srcFormat) && isByteRGB(srcFormat) && dstFormat == AV_PIX_FMT_GBRP)
if (av_pix_fmt_descriptors[srcFormat].comp[0].depth_minus1 == (or <=?)
7 && dstFormat == GBRP), probably.
Ronald
More information about the ffmpeg-devel
mailing list