avcodec/h264chroma: Move mc1 function to mpegvideo_dec.c

It is only used by mpegvideo decoders (for lowres). It is also only used
for bitdepth == 8, so don't build the bitdepth == 16 function at all any
more.

Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-10-30 15:40:02 +01:00
parent e59d964a3c
commit c6efe1abda
4 changed files with 42 additions and 37 deletions

View File

@@ -51,7 +51,7 @@ static void check_chroma_mc(void)
for (int bit_depth = 8; bit_depth <= 10; bit_depth++) {
ff_h264chroma_init(&h, bit_depth);
randomize_buffers(bit_depth);
for (int size = 0; size < 4; size++) {
for (int size = 0; size < 3; size++) {
#define CHECK_CHROMA_MC(name) \
do { \