diff options
Diffstat (limited to 'third_party/aom/aom_scale/mips/dspr2')
-rw-r--r-- | third_party/aom/aom_scale/mips/dspr2/yv12extend_dspr2.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/third_party/aom/aom_scale/mips/dspr2/yv12extend_dspr2.c b/third_party/aom/aom_scale/mips/dspr2/yv12extend_dspr2.c index 51192f7b9..869e594d7 100644 --- a/third_party/aom/aom_scale/mips/dspr2/yv12extend_dspr2.c +++ b/third_party/aom/aom_scale/mips/dspr2/yv12extend_dspr2.c @@ -11,7 +11,8 @@ #include <assert.h> -#include "./aom_config.h" +#include "config/aom_config.h" + #include "aom_scale/yv12config.h" #include "aom_mem/aom_mem.h" #include "aom_scale/aom_scale.h" @@ -126,14 +127,16 @@ static void extend_frame(YV12_BUFFER_CONFIG *const ybf, int ext_size) { extend_plane(ybf->v_buffer, ybf->uv_stride, c_w, c_h, c_et, c_el, c_eb, c_er); } -void aom_extend_frame_borders_dspr2(YV12_BUFFER_CONFIG *ybf) { - extend_frame(ybf, ybf->border); +void aom_extend_frame_borders_dspr2(YV12_BUFFER_CONFIG *ybf, + const int num_planes) { + extend_frame(ybf, ybf->border, num_planes); } -void aom_extend_frame_inner_borders_dspr2(YV12_BUFFER_CONFIG *ybf) { +void aom_extend_frame_inner_borders_dspr2(YV12_BUFFER_CONFIG *ybf, + const int num_planes) { const int inner_bw = (ybf->border > AOMINNERBORDERINPIXELS) ? AOMINNERBORDERINPIXELS : ybf->border; - extend_frame(ybf, inner_bw); + extend_frame(ybf, inner_bw, num_planes); } #endif |