Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: source/libvpx/vpx_scale/mips/dspr2/yv12extend_dspr2.c

Issue 1302353004: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/libvpx/vpx_scale/generic/yv12extend.c ('k') | source/libvpx/vpx_scale/vpx_scale_rtcd.pl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « source/libvpx/vpx_scale/generic/yv12extend.c ('k') | source/libvpx/vpx_scale/vpx_scale_rtcd.pl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698