Commit c81ea6e0 authored by Ryan Lei's avatar Ryan Lei

unify the intra prediction angle options for different block sizes

this change unifies the intra prediction angles so that 8x8 block has
the same number of angles and angle steps as 16x16 and 32x32 blocks.
the benefit is that HW implementation can have the same logic to
handle all block sizes. otherwise, prediction angles for 8x8 is
different from other block sizes, which requies special logic.

Change-Id: I99f8d82b4b96fa1442a657b56a93e326f1eec321
parent 2ed03a37
......@@ -829,14 +829,14 @@ static INLINE TX_SIZE tx_size_from_tx_mode(BLOCK_SIZE bsize, TX_MODE tx_mode,
}
#if CONFIG_EXT_INTRA
#define MAX_ANGLE_DELTA_UV 2
#define ANGLE_STEP_UV 4
#define MAX_ANGLE_DELTA_UV 3
#define ANGLE_STEP_UV 3
static const uint8_t av1_angle_step_y[TX_SIZES] = {
0, 4, 3, 3,
0, 3, 3, 3,
};
static const uint8_t av1_max_angle_delta_y[TX_SIZES] = {
0, 2, 3, 3,
0, 3, 3, 3,
};
extern const int16_t dr_intra_derivative[90];
......
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