Delete unused function, has_high_freq_coeff() Change-Id: I4bbe63a4e54dd14a05fca26a11abb5a0d12480d5
diff --git a/av1/encoder/tokenize.c b/av1/encoder/tokenize.c index 283dd3b..da30e36 100644 --- a/av1/encoder/tokenize.c +++ b/av1/encoder/tokenize.c
@@ -701,26 +701,6 @@ return result; } -static void has_high_freq_coeff(int plane, int block, int blk_row, int blk_col, - BLOCK_SIZE plane_bsize, TX_SIZE tx_size, - void *argv) { - struct is_skippable_args *args = argv; - int eobs = (tx_size == TX_4X4) ? 3 : 10; - (void)plane; - (void)plane_bsize; - (void)blk_row; - (void)blk_col; - - *(args->skippable) |= (args->eobs[block] > eobs); -} - -int av1_has_high_freq_in_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane) { - int result = 0; - struct is_skippable_args args = { x->plane[plane].eobs, &result }; - av1_foreach_transformed_block_in_plane(&x->e_mbd, bsize, plane, - has_high_freq_coeff, &args); - return result; -} #if CONFIG_PVQ void add_pvq_block(AV1_COMMON *const cm, MACROBLOCK *const x, PVQ_INFO *pvq) { PVQ_QUEUE *q = x->pvq_q;
diff --git a/av1/encoder/tokenize.h b/av1/encoder/tokenize.h index 423cc45..dbfb6a8 100644 --- a/av1/encoder/tokenize.h +++ b/av1/encoder/tokenize.h
@@ -55,7 +55,6 @@ #endif // !CONFIG_EC_MULTISYMBOL int av1_is_skippable_in_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane); -int av1_has_high_freq_in_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane); struct AV1_COMP; struct ThreadData;