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

Side by Side Diff: source/libvpx/vp9/encoder/vp9_aq_complexity.c

Issue 1339513003: 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 #include <limits.h> 11 #include <limits.h>
12 #include <math.h> 12 #include <math.h>
13 #include "vpx_dsp/vpx_dsp_common.h"
13 #include "vpx_ports/system_state.h" 14 #include "vpx_ports/system_state.h"
14 15
15 #include "vp9/encoder/vp9_aq_complexity.h" 16 #include "vp9/encoder/vp9_aq_complexity.h"
16 #include "vp9/encoder/vp9_aq_variance.h" 17 #include "vp9/encoder/vp9_aq_variance.h"
17 #include "vp9/encoder/vp9_encodeframe.h" 18 #include "vp9/encoder/vp9_encodeframe.h"
18 #include "vp9/common/vp9_seg_common.h" 19 #include "vp9/common/vp9_seg_common.h"
19 #include "vp9/encoder/vp9_segmentation.h" 20 #include "vp9/encoder/vp9_segmentation.h"
20 21
21 #define AQ_C_SEGMENTS 5 22 #define AQ_C_SEGMENTS 5
22 #define DEFAULT_AQ2_SEG 3 // Neutral Q segment 23 #define DEFAULT_AQ2_SEG 3 // Neutral Q segment
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 } 156 }
156 } 157 }
157 158
158 // Fill in the entires in the segment map corresponding to this SB64. 159 // Fill in the entires in the segment map corresponding to this SB64.
159 for (y = 0; y < ymis; y++) { 160 for (y = 0; y < ymis; y++) {
160 for (x = 0; x < xmis; x++) { 161 for (x = 0; x < xmis; x++) {
161 cpi->segmentation_map[mi_offset + y * cm->mi_cols + x] = segment; 162 cpi->segmentation_map[mi_offset + y * cm->mi_cols + x] = segment;
162 } 163 }
163 } 164 }
164 } 165 }
OLDNEW
« no previous file with comments | « source/libvpx/vp9/decoder/vp9_decodemv.c ('k') | source/libvpx/vp9/encoder/vp9_aq_cyclicrefresh.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698