[FFmpeg-devel] [PATCH 2/2] swscale: add unscaled conversion from yuv420p to p010

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Sep 3 14:46:22 EEST 2016


Hi!

2016-09-02 16:36 GMT+02:00 Timo Rothenpieler <timo at rothenpieler.org>:

> +                AV_WL16(&dstUV[2*x  ], (t | (t << 8)) & 0xFFC0);

Why is "& 0xFFC0" necessary?
(Same below.)

Carl Eugen


More information about the ffmpeg-devel mailing list