[FFmpeg-devel] MMX version for put_no_rnd_h264_chroma_mc8_c
Sat Nov 24 15:15:19 CET 2007
Christophe GISQUET a ?crit :
> Michael Niedermayer a ?crit :
>> less code duplication is preferred unless that would cause a speed loss ...
>> if it does, i dont know, but i wont accept duplicating code without
>> someone providing benchmark scores showing its faster
> The function with rounding is located in dsputil_h264_template_mmx.c
> As a consequence, it's templated, and only one version is of interest.
> The attached patch is a demonstration of what I'm doing to allow not to
> round. I haven't thought yet on how to do it more cleanly...
> Benchmarking the old and new codes on an h264 sequence yield no difference.
More information about the ffmpeg-devel