| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |