]> granicus.if.org Git - libvpx/commitdiff
Merge "Compute count_ls in vp9_kmeans"
authorAngie Chiang <angiebird@google.com>
Tue, 19 Mar 2019 18:41:46 +0000 (18:41 +0000)
committerGerrit Code Review <noreply-gerritcodereview@google.com>
Tue, 19 Mar 2019 18:41:46 +0000 (18:41 +0000)
1  2 
vp9/encoder/vp9_encodeframe.c

index bc0691bc17b6a8f7371a492abd635305c74ed2e2,9bf2fd189f1e44d7616a9b0b22e2363df7256925..8aa3df0b81d5bbc3b06a3e5e093d812440376d9d
@@@ -5896,11 -5891,11 +5900,11 @@@ static void encode_frame_internal(VP9_C
  
        for (mi_row = 0; mi_row < cm->mi_rows; mi_row += MI_BLOCK_SIZE)
          for (mi_col = 0; mi_col < cm->mi_cols; mi_col += MI_BLOCK_SIZE)
 -          wiener_var_rdmult(cpi, BLOCK_64X64, mi_row, mi_col, cpi->rd.RDMULT);
 +          wiener_var_segment(cpi, BLOCK_64X64, mi_row, mi_col);
  
        vp9_kmeans(cpi->kmeans_ctr_ls, cpi->kmeans_boundary_ls,
-                  cpi->kmeans_ctr_num, cpi->kmeans_data_arr,
-                  cpi->kmeans_data_size);
+                  cpi->kmeans_count_ls, cpi->kmeans_ctr_num,
+                  cpi->kmeans_data_arr, cpi->kmeans_data_size);
  
        vp9_perceptual_aq_mode_setup(cpi, &cm->seg);
      }