Commit 14f6baa4 authored by Yaowu Xu's avatar Yaowu Xu

Remove no-effect code

Change-Id: I912aeade82c2b17adf2cbfcba1c58d05b8eb7e8a
parent 439bcb5f
......@@ -64,7 +64,6 @@ typedef enum {
} FRAME_TYPE;
static INLINE int is_comp_ref_allowed(BLOCK_SIZE bsize) {
(void)bsize;
return AOMMIN(block_size_wide[bsize], block_size_high[bsize]) >= 8;
}
......@@ -796,7 +795,6 @@ static INLINE TX_SIZE tx_size_from_tx_mode(BLOCK_SIZE bsize, TX_MODE tx_mode,
int is_inter) {
const TX_SIZE largest_tx_size = tx_mode_to_biggest_tx_size[tx_mode];
const TX_SIZE max_rect_tx_size = get_max_rect_tx_size(bsize, is_inter);
(void)is_inter;
if (bsize == BLOCK_4X4)
return AOMMIN(max_txsize_lookup[bsize], largest_tx_size);
if (txsize_sqr_map[max_rect_tx_size] <= largest_tx_size)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment