| 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 int_mv best_ref_mv1_full; /* full-pixel value of best_ref_mv1 */ | 156 int_mv best_ref_mv1_full; /* full-pixel value of best_ref_mv1 */ |
| 157 | 157 |
| 158 /* Save input state */ | 158 /* Save input state */ |
| 159 unsigned char **base_src = b->base_src; | 159 unsigned char **base_src = b->base_src; |
| 160 int src = b->src; | 160 int src = b->src; |
| 161 int src_stride = b->src_stride; | 161 int src_stride = b->src_stride; |
| 162 unsigned char *base_pre = x->e_mbd.pre.y_buffer; | 162 unsigned char *base_pre = x->e_mbd.pre.y_buffer; |
| 163 int pre = d->offset; | 163 int pre = d->offset; |
| 164 int pre_stride = x->e_mbd.pre.y_stride; | 164 int pre_stride = x->e_mbd.pre.y_stride; |
| 165 | 165 |
| 166 (void)error_thresh; |
| 167 |
| 166 best_ref_mv1.as_int = 0; | 168 best_ref_mv1.as_int = 0; |
| 167 best_ref_mv1_full.as_mv.col = best_ref_mv1.as_mv.col >>3; | 169 best_ref_mv1_full.as_mv.col = best_ref_mv1.as_mv.col >>3; |
| 168 best_ref_mv1_full.as_mv.row = best_ref_mv1.as_mv.row >>3; | 170 best_ref_mv1_full.as_mv.row = best_ref_mv1.as_mv.row >>3; |
| 169 | 171 |
| 170 /* Setup frame pointers */ | 172 /* Setup frame pointers */ |
| 171 b->base_src = &arf_frame->y_buffer; | 173 b->base_src = &arf_frame->y_buffer; |
| 172 b->src_stride = arf_frame->y_stride; | 174 b->src_stride = arf_frame->y_stride; |
| 173 b->src = mb_offset; | 175 b->src = mb_offset; |
| 174 | 176 |
| 175 x->e_mbd.pre.y_buffer = frame_ptr->y_buffer; | 177 x->e_mbd.pre.y_buffer = frame_ptr->y_buffer; |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 cpi->frames[frames_to_blur-1-frame] = &buf->img; | 512 cpi->frames[frames_to_blur-1-frame] = &buf->img; |
| 511 } | 513 } |
| 512 | 514 |
| 513 vp8_temporal_filter_iterate_c ( | 515 vp8_temporal_filter_iterate_c ( |
| 514 cpi, | 516 cpi, |
| 515 frames_to_blur, | 517 frames_to_blur, |
| 516 frames_to_blur_backward, | 518 frames_to_blur_backward, |
| 517 strength ); | 519 strength ); |
| 518 } | 520 } |
| 519 #endif | 521 #endif |
| OLD | NEW |