1/*
2 *  Copyright (c) 2014 The WebM project authors. All Rights Reserved.
3 *
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
6 *  tree. An additional intellectual property rights grant can be found
7 *  in the file PATENTS.  All contributing project authors may
8 *  be found in the AUTHORS file in the root of the source tree.
9 */
10
11
12#ifndef VP9_ENCODER_VP9_AQ_COMPLEXITY_H_
13#define VP9_ENCODER_VP9_AQ_COMPLEXITY_H_
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19#include "vp9/common/vp9_enums.h"
20
21struct VP9_COMP;
22struct macroblock;
23
24// Select a segment for the current Block.
25void vp9_caq_select_segment(struct VP9_COMP *cpi, struct macroblock *,
26                            BLOCK_SIZE bs,
27                            int mi_row, int mi_col, int projected_rate);
28
29// This function sets up a set of segments with delta Q values around
30// the baseline frame quantizer.
31void vp9_setup_in_frame_q_adj(struct VP9_COMP *cpi);
32
33#ifdef __cplusplus
34}  // extern "C"
35#endif
36
37#endif  // VP9_ENCODER_VP9_AQ_COMPLEXITY_H_
38