Home | History | Annotate | Download | only in encoder
      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
     16 extern "C" {
     17 #endif
     18 
     19 struct VP9_COMP;
     20 
     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,
     23                                    int output_enabled, int projected_rate);
     24 
     25 
     26 // This function sets up a set of segments with delta Q values around
     27 // the baseline frame quantizer.
     28 void vp9_setup_in_frame_q_adj(struct VP9_COMP *cpi);
     29 
     30 #ifdef __cplusplus
     31 }  // extern "C"
     32 #endif
     33 
     34 #endif  // VP9_ENCODER_VP9_AQ_COMPLEXITY_H_
     35