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

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

Issue 415333002: 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_lookahead.h ('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 17 matching lines...) Expand all
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]); 31 DECLARE_ALIGNED(16, int16_t, y_round_fp[QINDEX_RANGE][8]);
32 DECLARE_ALIGNED(16, int16_t, uv_round_fp[QINDEX_RANGE][8]); 32 DECLARE_ALIGNED(16, int16_t, uv_round_fp[QINDEX_RANGE][8]);
33 33
34 DECLARE_ALIGNED(16, int16_t, uv_quant[QINDEX_RANGE][8]); 34 DECLARE_ALIGNED(16, int16_t, uv_quant[QINDEX_RANGE][8]);
35 DECLARE_ALIGNED(16, int16_t, uv_quant_shift[QINDEX_RANGE][8]); 35 DECLARE_ALIGNED(16, int16_t, uv_quant_shift[QINDEX_RANGE][8]);
36 DECLARE_ALIGNED(16, int16_t, uv_zbin[QINDEX_RANGE][8]); 36 DECLARE_ALIGNED(16, int16_t, uv_zbin[QINDEX_RANGE][8]);
37 DECLARE_ALIGNED(16, int16_t, uv_round[QINDEX_RANGE][8]); 37 DECLARE_ALIGNED(16, int16_t, uv_round[QINDEX_RANGE][8]);
38
39 #if CONFIG_ALPHA
40 DECLARE_ALIGNED(16, int16_t, a_quant[QINDEX_RANGE][8]);
41 DECLARE_ALIGNED(16, int16_t, a_quant_shift[QINDEX_RANGE][8]);
42 DECLARE_ALIGNED(16, int16_t, a_zbin[QINDEX_RANGE][8]);
43 DECLARE_ALIGNED(16, int16_t, a_round[QINDEX_RANGE][8]);
44 #endif
45 } QUANTS; 38 } QUANTS;
46 39
47 void vp9_quantize_dc(const int16_t *coeff_ptr, int skip_block, 40 void vp9_quantize_dc(const int16_t *coeff_ptr, int skip_block,
48 const int16_t *round_ptr, const int16_t quant_ptr, 41 const int16_t *round_ptr, const int16_t quant_ptr,
49 int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, 42 int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr,
50 const int16_t dequant_ptr, uint16_t *eob_ptr); 43 const int16_t dequant_ptr, uint16_t *eob_ptr);
51 void vp9_quantize_dc_32x32(const int16_t *coeff_ptr, int skip_block, 44 void vp9_quantize_dc_32x32(const int16_t *coeff_ptr, int skip_block,
52 const int16_t *round_ptr, const int16_t quant_ptr, 45 const int16_t *round_ptr, const int16_t quant_ptr,
53 int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, 46 int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr,
54 const int16_t dequant_ptr, uint16_t *eob_ptr); 47 const int16_t dequant_ptr, uint16_t *eob_ptr);
(...skipping 15 matching lines...) Expand all
70 63
71 int vp9_quantizer_to_qindex(int quantizer); 64 int vp9_quantizer_to_qindex(int quantizer);
72 65
73 int vp9_qindex_to_quantizer(int qindex); 66 int vp9_qindex_to_quantizer(int qindex);
74 67
75 #ifdef __cplusplus 68 #ifdef __cplusplus
76 } // extern "C" 69 } // extern "C"
77 #endif 70 #endif
78 71
79 #endif // VP9_ENCODER_VP9_QUANTIZE_H_ 72 #endif // VP9_ENCODER_VP9_QUANTIZE_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_lookahead.h ('k') | source/libvpx/vp9/encoder/vp9_quantize.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698