(void) x;
(void) y;
(void) plane;
+ (void) need_left;
+ (void) need_above;
+ (void) need_aboveright;
// NEED_LEFT
- if (extend_modes[mode] & NEED_LEFT) {
+ if (need_left) {
+ #if CONFIG_EXT_INTRA
+ int need_bottom;
+ if (ext_intra_mode_info->use_ext_intra_mode[plane != 0]) {
+ if (ext_intra_mode <= FILTER_TM_PRED)
+ need_bottom = 0;
+ else
+ need_bottom = angle > 180;
+ } else {
+ need_bottom = !!(extend_modes[mode] & NEED_BOTTOMLEFT);
+ }
+ #else
const int need_bottom = !!(extend_modes[mode] & NEED_BOTTOMLEFT);
+ #endif // CONFIG_EXT_INTRA
i = 0;
if (n_left_px > 0) {
for (; i < n_left_px; i++)