OLD | NEW |
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 | 11 |
12 #ifndef VP9_ENCODER_VP9_AQ_COMPLEXITY_H_ | 12 #ifndef VP9_ENCODER_VP9_AQ_COMPLEXITY_H_ |
13 #define VP9_ENCODER_VP9_AQ_COMPLEXITY_H_ | 13 #define VP9_ENCODER_VP9_AQ_COMPLEXITY_H_ |
14 | 14 |
15 #ifdef __cplusplus | 15 #ifdef __cplusplus |
16 extern "C" { | 16 extern "C" { |
17 #endif | 17 #endif |
18 | 18 |
19 struct VP9_COMP; | 19 struct VP9_COMP; |
20 struct macroblock; | 20 struct macroblock; |
21 | 21 |
22 // Select a segment for the current SB64. | 22 // Select a segment for the current Block. |
23 void vp9_select_in_frame_q_segment(struct VP9_COMP *cpi, struct macroblock *x, | 23 void vp9_caq_select_segment(struct VP9_COMP *cpi, struct macroblock *, |
24 BLOCK_SIZE bs, | 24 BLOCK_SIZE bs, |
25 int mi_row, int mi_col, | 25 int mi_row, int mi_col, int projected_rate); |
26 int output_enabled, int projected_rate); | |
27 | 26 |
28 // This function sets up a set of segments with delta Q values around | 27 // This function sets up a set of segments with delta Q values around |
29 // the baseline frame quantizer. | 28 // the baseline frame quantizer. |
30 void vp9_setup_in_frame_q_adj(struct VP9_COMP *cpi); | 29 void vp9_setup_in_frame_q_adj(struct VP9_COMP *cpi); |
31 | 30 |
32 #ifdef __cplusplus | 31 #ifdef __cplusplus |
33 } // extern "C" | 32 } // extern "C" |
34 #endif | 33 #endif |
35 | 34 |
36 #endif // VP9_ENCODER_VP9_AQ_COMPLEXITY_H_ | 35 #endif // VP9_ENCODER_VP9_AQ_COMPLEXITY_H_ |
OLD | NEW |