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

Side by Side Diff: source/libvpx/vp8/common/loopfilter.c

Issue 812033011: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « source/libvpx/third_party/x86inc/x86inc.asm ('k') | source/libvpx/vp8/common/postproc.c » ('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) 2010 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2010 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 } 254 }
255 255
256 void vp8_loop_filter_row_simple(VP8_COMMON *cm, MODE_INFO *mode_info_context, 256 void vp8_loop_filter_row_simple(VP8_COMMON *cm, MODE_INFO *mode_info_context,
257 int mb_row, int post_ystride, int post_uvstride, 257 int mb_row, int post_ystride, int post_uvstride,
258 unsigned char *y_ptr, unsigned char *u_ptr, 258 unsigned char *y_ptr, unsigned char *u_ptr,
259 unsigned char *v_ptr) 259 unsigned char *v_ptr)
260 { 260 {
261 int mb_col; 261 int mb_col;
262 int filter_level; 262 int filter_level;
263 loop_filter_info_n *lfi_n = &cm->lf_info; 263 loop_filter_info_n *lfi_n = &cm->lf_info;
264 (void)post_uvstride;
264 265
265 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) 266 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++)
266 { 267 {
267 int skip_lf = (mode_info_context->mbmi.mode != B_PRED && 268 int skip_lf = (mode_info_context->mbmi.mode != B_PRED &&
268 mode_info_context->mbmi.mode != SPLITMV && 269 mode_info_context->mbmi.mode != SPLITMV &&
269 mode_info_context->mbmi.mb_skip_coeff); 270 mode_info_context->mbmi.mb_skip_coeff);
270 271
271 const int mode_index = lfi_n->mode_lf_lut[mode_info_context->mbmi.mode]; 272 const int mode_index = lfi_n->mode_lf_lut[mode_info_context->mbmi.mode];
272 const int seg = mode_info_context->mbmi.segment_id; 273 const int seg = mode_info_context->mbmi.segment_id;
273 const int ref_frame = mode_info_context->mbmi.ref_frame; 274 const int ref_frame = mode_info_context->mbmi.ref_frame;
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 } 653 }
653 654
654 y_ptr += 16; 655 y_ptr += 16;
655 mode_info_context += 1; /* step to next MB */ 656 mode_info_context += 1; /* step to next MB */
656 } 657 }
657 658
658 y_ptr += post->y_stride * 16 - post->y_width; 659 y_ptr += post->y_stride * 16 - post->y_width;
659 mode_info_context += 1; /* Skip border mb */ 660 mode_info_context += 1; /* Skip border mb */
660 } 661 }
661 } 662 }
OLDNEW
« no previous file with comments | « source/libvpx/third_party/x86inc/x86inc.asm ('k') | source/libvpx/vp8/common/postproc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698