On Thu, 2011-08-25 at 02:18 +0200, Oskar Arvidsson wrote: > The current code in swscale is based on how 8-bit to 16-bit YUV conversions > have been done earlier - basically duplicating each input byte in the output > (e.g. 0xf0 -> 0xf0f0, 0x65 -> 0x6565). I believe this is the right thing for > full range content.
This is not the right thing to do for chroma if the "neutral point" in 16-bit output is supposed to be 0x8000. 0x80 should be converted to 0x8000. For full range luma 0x80->0x8080 could be OK. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
