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