This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit ca43bc6202382518137b938f681c57614087f5c8 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Tue Apr 28 10:12:30 2026 +0200 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Thu Apr 30 10:39:33 2026 +0200 avcodec/x86/qpeldsp_init: Mark functions as hidden It allows pic 32bit code to call the underlying assembly functions directly, without loading the GOT first; this saves 1245B of .text here (for 32bit pic code). Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavcodec/x86/qpel.h | 3 +++ libavcodec/x86/qpeldsp_init.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/libavcodec/x86/qpel.h b/libavcodec/x86/qpel.h index 7c18e9f215..b17317b64d 100644 --- a/libavcodec/x86/qpel.h +++ b/libavcodec/x86/qpel.h @@ -21,7 +21,9 @@ #include <stddef.h> #include <stdint.h> +#include "libavutil/attributes_internal.h" +FF_VISIBILITY_PUSH_HIDDEN void ff_put_pixels8x8_l2_mmxext(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, ptrdiff_t dstStride, ptrdiff_t src1Stride); @@ -34,5 +36,6 @@ void ff_put_pixels16x16_l2_sse2(uint8_t *dst, void ff_avg_pixels16x16_l2_sse2(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, ptrdiff_t dstStride, ptrdiff_t src1Stride); +FF_VISIBILITY_POP_HIDDEN #endif /* AVCODEC_X86_QPEL_H */ diff --git a/libavcodec/x86/qpeldsp_init.c b/libavcodec/x86/qpeldsp_init.c index d9c4deb94d..932a006e05 100644 --- a/libavcodec/x86/qpeldsp_init.c +++ b/libavcodec/x86/qpeldsp_init.c @@ -25,6 +25,7 @@ #include "config.h" #include "libavutil/attributes.h" +#include "libavutil/attributes_internal.h" #include "libavutil/cpu.h" #include "libavutil/mem_internal.h" #include "libavutil/x86/cpu.h" @@ -32,6 +33,7 @@ #include "fpel.h" #include "qpel.h" +FF_VISIBILITY_PUSH_HIDDEN void ff_put_no_rnd_pixels8x8_l2_mmxext(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, ptrdiff_t dstStride, ptrdiff_t src1Stride); @@ -303,3 +305,4 @@ av_cold void ff_qpeldsp_init_x86(QpelDSPContext *c) SET_HV_QPEL_FUNCS(16, ssse3,); } } +FF_VISIBILITY_POP_HIDDEN _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
