From a35c91dc14e5b4d3e724a5d9656f46b6b5298fef Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 15 Sep 2025 18:45:24 +0200 Subject: [PATCH] avfilter/vf_colordetect: Rename header to vf_colordetectdsp.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is more in line with our naming conventions. Reviewed-by: Martin Storsjö Reviewed-by: Niklas Haas Signed-off-by: Andreas Rheinhardt --- libavfilter/aarch64/vf_colordetect_init.c | 2 +- libavfilter/vf_colordetect.c | 2 +- libavfilter/{vf_colordetect.h => vf_colordetectdsp.h} | 6 +++--- libavfilter/x86/vf_colordetect_init.c | 2 +- tests/checkasm/vf_colordetect.c | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) rename libavfilter/{vf_colordetect.h => vf_colordetectdsp.h} (98%) diff --git a/libavfilter/aarch64/vf_colordetect_init.c b/libavfilter/aarch64/vf_colordetect_init.c index 4db6b90542..2fd23513e3 100644 --- a/libavfilter/aarch64/vf_colordetect_init.c +++ b/libavfilter/aarch64/vf_colordetect_init.c @@ -19,7 +19,7 @@ */ #include "libavutil/aarch64/cpu.h" -#include "libavfilter/vf_colordetect.h" +#include "libavfilter/vf_colordetectdsp.h" int ff_detect_alpha_full_neon(const uint8_t *color, ptrdiff_t color_stride, const uint8_t *alpha, ptrdiff_t alpha_stride, diff --git a/libavfilter/vf_colordetect.c b/libavfilter/vf_colordetect.c index ef7fb25130..7abe6659a3 100644 --- a/libavfilter/vf_colordetect.c +++ b/libavfilter/vf_colordetect.c @@ -37,7 +37,7 @@ #include "formats.h" #include "video.h" -#include "vf_colordetect.h" +#include "vf_colordetectdsp.h" enum ColorDetectMode { COLOR_DETECT_COLOR_RANGE = 1 << 0, diff --git a/libavfilter/vf_colordetect.h b/libavfilter/vf_colordetectdsp.h similarity index 98% rename from libavfilter/vf_colordetect.h rename to libavfilter/vf_colordetectdsp.h index aa974bb1fd..2ce3d061a3 100644 --- a/libavfilter/vf_colordetect.h +++ b/libavfilter/vf_colordetectdsp.h @@ -16,8 +16,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef AVFILTER_COLORDETECT_H -#define AVFILTER_COLORDETECT_H +#ifndef AVFILTER_COLORDETECTDSP_H +#define AVFILTER_COLORDETECTDSP_H #include #include @@ -195,4 +195,4 @@ ff_detect_alpha16_limited_c(const uint8_t *color, ptrdiff_t color_stride, return transparent ? FF_ALPHA_TRANSPARENT : 0; } -#endif /* AVFILTER_COLORDETECT_H */ +#endif /* AVFILTER_COLORDETECTDSP_H */ diff --git a/libavfilter/x86/vf_colordetect_init.c b/libavfilter/x86/vf_colordetect_init.c index 72fa021bf2..7257b5c4f5 100644 --- a/libavfilter/x86/vf_colordetect_init.c +++ b/libavfilter/x86/vf_colordetect_init.c @@ -20,7 +20,7 @@ #include "libavutil/attributes.h" #include "libavutil/x86/cpu.h" -#include "libavfilter/vf_colordetect.h" +#include "libavfilter/vf_colordetectdsp.h" #define DETECT_RANGE_FUNC(FUNC_NAME, ASM_FUNC_NAME, C_FUNC_NAME, SHIFT, MMSIZE) \ int ASM_FUNC_NAME(const uint8_t *src, ptrdiff_t stride, \ diff --git a/tests/checkasm/vf_colordetect.c b/tests/checkasm/vf_colordetect.c index 18472e9b66..471f77fcc7 100644 --- a/tests/checkasm/vf_colordetect.c +++ b/tests/checkasm/vf_colordetect.c @@ -19,7 +19,7 @@ #include #include "checkasm.h" -#include "libavfilter/vf_colordetect.h" +#include "libavfilter/vf_colordetectdsp.h" #include "libavutil/mem_internal.h" #define WIDTH 540