Commit 4abc129bd7 for aom

commit 4abc129bd7b9214a0479831a3acfe5fa3aa14d4a
Author: Samuthirika <samuthirika.s@ittiam.com>
Date:   Fri Dec 4 11:48:39 2026 +0530

    Remove unused cost_list in tune_vmaf.c

    In tune_vmaf.c, motion_search() only performs full-pixel motion
    search with no subsequent sub-pixel search. As a result,
    cost_list is never read after av1_full_pixel_search(). Passing
    cond_cost_list() can still yield a non NULL pointer when
    use_fullpel_costlist is enabled, causing calc_int_sad_list() to
    perform redundant SAD and MV-cost evaluations that are
    immediately discarded. This CL removes the unused cost_list and
    passes NULL directly to av1_full_pixel_search(), being
    consistent with other full-pel only call sites.

    Change-Id: Idd659d4a2e11241d88d20c203a4c2bc5636b3e83

diff --git a/av1/encoder/tune_vmaf.c b/av1/encoder/tune_vmaf.c
index bced4d4229..781c8d562f 100644
--- a/av1/encoder/tune_vmaf.c
+++ b/av1/encoder/tune_vmaf.c
@@ -58,9 +58,6 @@ static void motion_search(AV1_COMP *cpi, const YV12_BUFFER_CONFIG *src,
   mbd->plane[0].pre[0].buf = ref->y_buffer + y_offset;
   mbd->plane[0].pre[0].stride = y_stride;

-  // Unused intermediate results for motion search.
-  int cost_list[5];
-
   // Do motion search.
   // Only do full search on the entire block.
   av1_make_default_fullpel_ms_params(&full_ms_params, cpi, mb, block_size,
@@ -68,8 +65,7 @@ static void motion_search(AV1_COMP *cpi, const YV12_BUFFER_CONFIG *src,
                                      search_method,
                                      /*fine_search_interval=*/0);
   av1_full_pixel_search(*ref_mv, &full_ms_params, step_param,
-                        cond_cost_list(cpi, cost_list, SUBPEL_SEARCH_DEFAULT),
-                        ref_mv, &best_mv_stats, NULL);
+                        /*cost_list=*/NULL, ref_mv, &best_mv_stats, NULL);

   // Restore input state.
   mb->plane[0].src = ori_src_buf;