vpx_scale_rtcd.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #ifndef VPX_SCALE_RTCD_H_
  2. #define VPX_SCALE_RTCD_H_
  3. #ifdef RTCD_C
  4. #define RTCD_EXTERN
  5. #else
  6. #define RTCD_EXTERN extern
  7. #endif
  8. struct yv12_buffer_config;
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. void vp8_yv12_copy_frame_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
  13. #define vp8_yv12_copy_frame vp8_yv12_copy_frame_c
  14. void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
  15. #define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c
  16. void vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf);
  17. #define vpx_extend_frame_borders vpx_extend_frame_borders_c
  18. void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
  19. #define vpx_extend_frame_inner_borders vpx_extend_frame_inner_borders_c
  20. void vpx_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
  21. #define vpx_yv12_copy_y vpx_yv12_copy_y_c
  22. void vpx_scale_rtcd(void);
  23. #ifdef RTCD_C
  24. static void setup_rtcd_internal(void)
  25. {
  26. //Only MIPS has something here, but it is not supported
  27. }
  28. #endif
  29. #ifdef __cplusplus
  30. } // extern "C"
  31. #endif
  32. #endif