[FFmpeg-devel] [PATCH] Fix linesize computation for NV formats
Sun Nov 15 23:23:27 CET 2009
On date Sunday 2009-11-15 17:13:22 +0100, Stefano Sabatini encoded:
> for NV12 and NV21 data contains both the U and V components, so
> its size needs to be multiplied by 2.
> Alternatively we could have:
> linesize = width
> which is equivalent.
> I couldn't find any NV12 samples and libswscale cannot issue that in
> output, so I didn't tested it.
That change also requires a corresponding change in ff_fill_pointer(),
so patch updated.
I wonder if there is some reason if it has been done like that, it is
done that way since the initial inclusion of NV formats support in
FFmpeg = Faithless and Fierce Majestic Pitiless Extroverse Guru
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1099 bytes
Desc: not available
More information about the ffmpeg-devel