2
0

quantize.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Copyright (c) 2010 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_VP8_ENCODER_QUANTIZE_H_
  11. #define VPX_VP8_ENCODER_QUANTIZE_H_
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. struct VP8_COMP;
  16. struct macroblock;
  17. extern void vp8_quantize_mb(struct macroblock *x);
  18. extern void vp8_quantize_mby(struct macroblock *x);
  19. extern void vp8_quantize_mbuv(struct macroblock *x);
  20. extern void vp8_set_quantizer(struct VP8_COMP *cpi, int Q);
  21. extern void vp8cx_frame_init_quantizer(struct VP8_COMP *cpi);
  22. extern void vp8_update_zbin_extra(struct VP8_COMP *cpi, struct macroblock *x);
  23. extern void vp8cx_mb_init_quantizer(struct VP8_COMP *cpi, struct macroblock *x,
  24. int ok_to_skip);
  25. extern void vp8cx_init_quantizer(struct VP8_COMP *cpi);
  26. #ifdef __cplusplus
  27. } // extern "C"
  28. #endif
  29. #endif // VPX_VP8_ENCODER_QUANTIZE_H_