2
0

encodeframe.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Copyright (c) 2012 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_ENCODEFRAME_H_
  11. #define VP8_ENCODER_ENCODEFRAME_H_
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. extern void vp8_activity_masking(VP8_COMP *cpi, MACROBLOCK *x);
  16. extern void vp8_build_block_offsets(MACROBLOCK *x);
  17. extern void vp8_setup_block_ptrs(MACROBLOCK *x);
  18. extern void vp8_encode_frame(VP8_COMP *cpi);
  19. extern int vp8cx_encode_inter_macroblock(VP8_COMP *cpi, MACROBLOCK *x,
  20. TOKENEXTRA **t, int recon_yoffset,
  21. int recon_uvoffset, int mb_row,
  22. int mb_col);
  23. extern int vp8cx_encode_intra_macroblock(VP8_COMP *cpi, MACROBLOCK *x,
  24. TOKENEXTRA **t);
  25. #ifdef __cplusplus
  26. } // extern "C"
  27. #endif
  28. #endif // VP8_ENCODER_ENCODEFRAME_H_