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

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

Issue 232133009: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 8 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/tools_common.h ('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
11 11
12 #include "vpx_config.h" 12 #include "vpx_config.h"
13 #include "vp8_rtcd.h" 13 #include "vp8_rtcd.h"
14 #include "loopfilter.h" 14 #include "loopfilter.h"
15 #include "onyxc_int.h" 15 #include "onyxc_int.h"
16 #include "vpx_mem/vpx_mem.h" 16 #include "vpx_mem/vpx_mem.h"
17 17
18 typedef unsigned char uc;
19 18
20 static void lf_init_lut(loop_filter_info_n *lfi) 19 static void lf_init_lut(loop_filter_info_n *lfi)
21 { 20 {
22 int filt_lvl; 21 int filt_lvl;
23 22
24 for (filt_lvl = 0; filt_lvl <= MAX_LOOP_FILTER; filt_lvl++) 23 for (filt_lvl = 0; filt_lvl <= MAX_LOOP_FILTER; filt_lvl++)
25 { 24 {
26 if (filt_lvl >= 40) 25 if (filt_lvl >= 40)
27 { 26 {
28 lfi->hev_thr_lut[KEY_FRAME][filt_lvl] = 2; 27 lfi->hev_thr_lut[KEY_FRAME][filt_lvl] = 2;
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 } 652 }
654 653
655 y_ptr += 16; 654 y_ptr += 16;
656 mode_info_context += 1; /* step to next MB */ 655 mode_info_context += 1; /* step to next MB */
657 } 656 }
658 657
659 y_ptr += post->y_stride * 16 - post->y_width; 658 y_ptr += post->y_stride * 16 - post->y_width;
660 mode_info_context += 1; /* Skip border mb */ 659 mode_info_context += 1; /* Skip border mb */
661 } 660 }
662 } 661 }
OLDNEW
« no previous file with comments | « source/libvpx/tools_common.h ('k') | source/libvpx/vp8/common/postproc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698