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

Side by Side Diff: source/libvpx/vp8/encoder/picklpf.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/vp8/encoder/pickinter.c ('k') | source/libvpx/vp8/encoder/ratectrl.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
11 11
12 #include "./vpx_dsp_rtcd.h" 12 #include "./vpx_dsp_rtcd.h"
13 #include "./vpx_scale_rtcd.h" 13 #include "./vpx_scale_rtcd.h"
14 #include "vp8/common/onyxc_int.h" 14 #include "vp8/common/onyxc_int.h"
15 #include "onyx_int.h" 15 #include "onyx_int.h"
16 #include "quantize.h" 16 #include "vp8/encoder/quantize.h"
17 #include "vpx_mem/vpx_mem.h" 17 #include "vpx_mem/vpx_mem.h"
18 #include "vpx_scale/vpx_scale.h" 18 #include "vpx_scale/vpx_scale.h"
19 #include "vp8/common/alloccommon.h" 19 #include "vp8/common/alloccommon.h"
20 #include "vp8/common/loopfilter.h" 20 #include "vp8/common/loopfilter.h"
21 #if ARCH_ARM 21 #if ARCH_ARM
22 #include "vpx_ports/arm.h" 22 #include "vpx_ports/arm.h"
23 #endif 23 #endif
24 24
25 extern int vp8_calc_ss_err(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest) ; 25 extern int vp8_calc_ss_err(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest) ;
26 26
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 filt_direction = (filt_best < filt_mid) ? -1 : 1; 398 filt_direction = (filt_best < filt_mid) ? -1 : 1;
399 filt_mid = filt_best; 399 filt_mid = filt_best;
400 } 400 }
401 } 401 }
402 402
403 cm->filter_level = filt_best; 403 cm->filter_level = filt_best;
404 404
405 /* restore unfiltered frame pointer */ 405 /* restore unfiltered frame pointer */
406 cm->frame_to_show = saved_frame; 406 cm->frame_to_show = saved_frame;
407 } 407 }
OLDNEW
« no previous file with comments | « source/libvpx/vp8/encoder/pickinter.c ('k') | source/libvpx/vp8/encoder/ratectrl.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698