[FFmpeg-devel] H.261 chroma motion vector rounding.

Christina Brien christina.brien at polygonindustrial.com
Sun Apr 2 12:17:05 EEST 2017


Hi

Having written a clean-room implementation of H.261 and comparing it to the output of FFMPEG, I have found that FFMPEG is not spec-compliant with regard to negative chroma motion vectors. The spec states that chroma motion vectors are the luma motion vectors divided by two, and rounded *towards zero*. FFMPEG currently rounds towards negative infinity.

This patch makes FFMPEG compliant, but breaks the regression tests.

Christina

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-H.261-chroma-motion-vectors-round-towards-zero.patch
Type: application/octet-stream
Size: 1788 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170402/c90d3406/attachment.obj>


More information about the ffmpeg-devel mailing list