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
diff --git a/av1/common/blockd.h b/av1/common/blockd.h index 882a519..eae726c 100644 --- a/av1/common/blockd.h +++ b/av1/common/blockd.h
@@ -829,14 +829,14 @@ } #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];