firstpass.h 941 B

12345678910111213141516171819202122232425262728293031
  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 VP8_ENCODER_FIRSTPASS_H_
  11. #define VP8_ENCODER_FIRSTPASS_H_
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. extern void vp8_init_first_pass(VP8_COMP *cpi);
  16. extern void vp8_first_pass(VP8_COMP *cpi);
  17. extern void vp8_end_first_pass(VP8_COMP *cpi);
  18. extern void vp8_init_second_pass(VP8_COMP *cpi);
  19. extern void vp8_second_pass(VP8_COMP *cpi);
  20. extern void vp8_end_second_pass(VP8_COMP *cpi);
  21. extern size_t vp8_firstpass_stats_sz(unsigned int mb_count);
  22. #ifdef __cplusplus
  23. } // extern "C"
  24. #endif
  25. #endif // VP8_ENCODER_FIRSTPASS_H_