vp9_aq_complexity.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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. #ifndef VPX_VP9_ENCODER_VP9_AQ_COMPLEXITY_H_
  11. #define VPX_VP9_ENCODER_VP9_AQ_COMPLEXITY_H_
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. #include "vp9/common/vp9_enums.h"
  16. struct VP9_COMP;
  17. struct macroblock;
  18. // Select a segment for the current Block.
  19. void vp9_caq_select_segment(struct VP9_COMP *cpi, struct macroblock *,
  20. BLOCK_SIZE bs, int mi_row, int mi_col,
  21. int projected_rate);
  22. // This function sets up a set of segments with delta Q values around
  23. // the baseline frame quantizer.
  24. void vp9_setup_in_frame_q_adj(struct VP9_COMP *cpi);
  25. #ifdef __cplusplus
  26. } // extern "C"
  27. #endif
  28. #endif // VPX_VP9_ENCODER_VP9_AQ_COMPLEXITY_H_