[FFmpeg-devel] [PATCH] avfilter/vf_noise: move inline assembly to own file

Hendrik Leppkes h.leppkes at gmail.com
Tue Nov 12 11:37:14 CET 2013


On Thu, Sep 12, 2013 at 6:16 PM, Paul B Mahol <onemda at gmail.com> wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavfilter/vf_noise.c     | 166 +++------------------------------------------
>  libavfilter/vf_noise.h     |  64 +++++++++++++++++
>  libavfilter/x86/Makefile   |   1 +
>  libavfilter/x86/vf_noise.c | 145 +++++++++++++++++++++++++++++++++++++++
>  4 files changed, 219 insertions(+), 157 deletions(-)
>  create mode 100644 libavfilter/vf_noise.h
>  create mode 100644 libavfilter/x86/vf_noise.c
>

These functions are previously all marked as inline, if you move them
to a separate file the compiler cannot inline them anymore.
Did you measure performance, to make sure it does not go down?

- Hendrik


More information about the ffmpeg-devel mailing list