[FFmpeg-devel] [PATCH] avcodec/motion_est: remove duplicate function

Marton Balint cus at passwd.hu
Sun Jan 20 20:35:18 EET 2019



On Sun, 20 Jan 2019, Michael Niedermayer wrote:

> On Sat, Jan 19, 2019 at 11:48:39PM +0100, Marton Balint wrote:
>> Signed-off-by: Marton Balint <cus at passwd.hu>
>> ---
>>  libavcodec/motion_est.c          |  4 +--
>>  libavcodec/motion_est_template.c | 62 +---------------------------------------
>>  2 files changed, 3 insertions(+), 63 deletions(-)
>
> please check if the compiler optimizes the size constant out after this
> change

The compiler inlines the function before and after the change as well. I 
can't see notable changes in the disassembly of interlaced_search and 
h263_mv4_search. Is this enough, or something else should be checked? I am 
not sure how...

Thanks,
Marton


More information about the ffmpeg-devel mailing list