2016-09-03 14:54 GMT+02:00 Timo Rothenpieler <t...@rothenpieler.org>:

>>> +                AV_WL16(&dstUV[2*x  ], (t | (t << 8)) & 0xFFC0);
>>
>> Why is "& 0xFFC0" necessary?
>> (Same below.)
>
> Because P010 expects the 10 bits in the 10 most significant bit.
> I'm not 100% sure if the other 6 bits are undefined or 0, but all the
> other implementations treat them as zeroes.

I suggest to remove this.

Carl Eugen
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to