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

Side by Side Diff: source/libvpx/vp9/encoder/vp9_quantize.h

Issue 375983002: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 5 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/vp9/encoder/vp9_pickmode.c ('k') | source/libvpx/vp9/encoder/vp9_quantize.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 10 matching lines...) Expand all
21 typedef struct { 21 typedef struct {
22 DECLARE_ALIGNED(16, int16_t, y_quant[QINDEX_RANGE][8]); 22 DECLARE_ALIGNED(16, int16_t, y_quant[QINDEX_RANGE][8]);
23 DECLARE_ALIGNED(16, int16_t, y_quant_shift[QINDEX_RANGE][8]); 23 DECLARE_ALIGNED(16, int16_t, y_quant_shift[QINDEX_RANGE][8]);
24 DECLARE_ALIGNED(16, int16_t, y_zbin[QINDEX_RANGE][8]); 24 DECLARE_ALIGNED(16, int16_t, y_zbin[QINDEX_RANGE][8]);
25 DECLARE_ALIGNED(16, int16_t, y_round[QINDEX_RANGE][8]); 25 DECLARE_ALIGNED(16, int16_t, y_round[QINDEX_RANGE][8]);
26 26
27 // TODO(jingning): in progress of re-working the quantization. will decide 27 // TODO(jingning): in progress of re-working the quantization. will decide
28 // if we want to deprecate the current use of y_quant. 28 // if we want to deprecate the current use of y_quant.
29 DECLARE_ALIGNED(16, int16_t, y_quant_fp[QINDEX_RANGE][8]); 29 DECLARE_ALIGNED(16, int16_t, y_quant_fp[QINDEX_RANGE][8]);
30 DECLARE_ALIGNED(16, int16_t, uv_quant_fp[QINDEX_RANGE][8]); 30 DECLARE_ALIGNED(16, int16_t, uv_quant_fp[QINDEX_RANGE][8]);
31 DECLARE_ALIGNED(16, int16_t, y_round_fp[QINDEX_RANGE][8]);
32 DECLARE_ALIGNED(16, int16_t, uv_round_fp[QINDEX_RANGE][8]);
31 33
32 DECLARE_ALIGNED(16, int16_t, uv_quant[QINDEX_RANGE][8]); 34 DECLARE_ALIGNED(16, int16_t, uv_quant[QINDEX_RANGE][8]);
33 DECLARE_ALIGNED(16, int16_t, uv_quant_shift[QINDEX_RANGE][8]); 35 DECLARE_ALIGNED(16, int16_t, uv_quant_shift[QINDEX_RANGE][8]);
34 DECLARE_ALIGNED(16, int16_t, uv_zbin[QINDEX_RANGE][8]); 36 DECLARE_ALIGNED(16, int16_t, uv_zbin[QINDEX_RANGE][8]);
35 DECLARE_ALIGNED(16, int16_t, uv_round[QINDEX_RANGE][8]); 37 DECLARE_ALIGNED(16, int16_t, uv_round[QINDEX_RANGE][8]);
36 38
37 #if CONFIG_ALPHA 39 #if CONFIG_ALPHA
38 DECLARE_ALIGNED(16, int16_t, a_quant[QINDEX_RANGE][8]); 40 DECLARE_ALIGNED(16, int16_t, a_quant[QINDEX_RANGE][8]);
39 DECLARE_ALIGNED(16, int16_t, a_quant_shift[QINDEX_RANGE][8]); 41 DECLARE_ALIGNED(16, int16_t, a_quant_shift[QINDEX_RANGE][8]);
40 DECLARE_ALIGNED(16, int16_t, a_zbin[QINDEX_RANGE][8]); 42 DECLARE_ALIGNED(16, int16_t, a_zbin[QINDEX_RANGE][8]);
(...skipping 27 matching lines...) Expand all
68 70
69 int vp9_quantizer_to_qindex(int quantizer); 71 int vp9_quantizer_to_qindex(int quantizer);
70 72
71 int vp9_qindex_to_quantizer(int qindex); 73 int vp9_qindex_to_quantizer(int qindex);
72 74
73 #ifdef __cplusplus 75 #ifdef __cplusplus
74 } // extern "C" 76 } // extern "C"
75 #endif 77 #endif
76 78
77 #endif // VP9_ENCODER_VP9_QUANTIZE_H_ 79 #endif // VP9_ENCODER_VP9_QUANTIZE_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_pickmode.c ('k') | source/libvpx/vp9/encoder/vp9_quantize.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698