OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2013 The WebM project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 ext_size + ybf->y_height - ybf->y_crop_height, | 125 ext_size + ybf->y_height - ybf->y_crop_height, |
126 ext_size + ybf->y_width - ybf->y_crop_width); | 126 ext_size + ybf->y_width - ybf->y_crop_width); |
127 | 127 |
128 extend_plane(ybf->u_buffer, ybf->uv_stride, | 128 extend_plane(ybf->u_buffer, ybf->uv_stride, |
129 c_w, c_h, c_et, c_el, c_eb, c_er); | 129 c_w, c_h, c_et, c_el, c_eb, c_er); |
130 | 130 |
131 extend_plane(ybf->v_buffer, ybf->uv_stride, | 131 extend_plane(ybf->v_buffer, ybf->uv_stride, |
132 c_w, c_h, c_et, c_el, c_eb, c_er); | 132 c_w, c_h, c_et, c_el, c_eb, c_er); |
133 } | 133 } |
134 | 134 |
135 void vp9_extend_frame_borders_dspr2(YV12_BUFFER_CONFIG *ybf) { | 135 void vpx_extend_frame_borders_dspr2(YV12_BUFFER_CONFIG *ybf) { |
136 extend_frame(ybf, ybf->border); | 136 extend_frame(ybf, ybf->border); |
137 } | 137 } |
138 | 138 |
139 void vp9_extend_frame_inner_borders_dspr2(YV12_BUFFER_CONFIG *ybf) { | 139 void vpx_extend_frame_inner_borders_dspr2(YV12_BUFFER_CONFIG *ybf) { |
140 const int inner_bw = (ybf->border > VP9INNERBORDERINPIXELS) ? | 140 const int inner_bw = (ybf->border > VP9INNERBORDERINPIXELS) ? |
141 VP9INNERBORDERINPIXELS : ybf->border; | 141 VP9INNERBORDERINPIXELS : ybf->border; |
142 extend_frame(ybf, inner_bw); | 142 extend_frame(ybf, inner_bw); |
143 } | 143 } |
144 #endif | 144 #endif |
OLD | NEW |