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