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

Side by Side Diff: source/libvpx/vp8/encoder/temporal_filter.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/vp8/encoder/rdopt.c ('k') | source/libvpx/vp8/vp8_cx_iface.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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « source/libvpx/vp8/encoder/rdopt.c ('k') | source/libvpx/vp8/vp8_cx_iface.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698