[FFmpeg-cvslog] swscale: fix 12 and 14 bit YUV planar output with scaling.

Michael Niedermayer michaelni at gmx.at
Sat Dec 1 14:03:26 CET 2012


On Sat, Dec 01, 2012 at 12:51:39AM -0500, compn wrote:
> On Sat,  1 Dec 2012 04:09:36 +0100 (CET), Michael Niedermayer wrote:
> >swscale: fix 12 and 14 bit YUV planar output with scaling.
> >
> >diff --git a/libswscale/output.c b/libswscale/output.c
> >index 8306298..8c20068 100644
> >--- a/libswscale/output.c
> >+++ b/libswscale/output.c
> >@@ -244,6 +244,10 @@ yuv2NBPS( 9, BE, 1, 10, int16_t)
> > yuv2NBPS( 9, LE, 0, 10, int16_t)
> > yuv2NBPS(10, BE, 1, 10, int16_t)
> > yuv2NBPS(10, LE, 0, 10, int16_t)
> >+yuv2NBPS(12, BE, 1, 10, int16_t)
> >+yuv2NBPS(12, LE, 0, 10, int16_t)
> >+yuv2NBPS(14, BE, 1, 10, int16_t)
> >+yuv2NBPS(14, LE, 0, 10, int16_t)
> 
> so someone forgot to add these here when they added these colorspaces?
> should we leave a note in the other list to add it to output.c as well?

ive added an assert in this very commit to check for this, so it
should not happen again.
A comment could be added too, if you like

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20121201/69ddea41/attachment.asc>


More information about the ffmpeg-cvslog mailing list