vpx_scale_rtcd_x86_64-win64-gcc.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
  13. #define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c
  14. void vp8_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
  15. #define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c
  16. void vp8_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
  17. #define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c
  18. void vp8_vertical_band_2_1_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
  19. #define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c
  20. void vp8_vertical_band_2_1_scale_i_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
  21. #define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c
  22. void vp8_vertical_band_5_3_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
  23. #define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c
  24. void vp8_vertical_band_5_4_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
  25. #define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c
  26. void vp8_yv12_copy_frame_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
  27. #define vp8_yv12_copy_frame vp8_yv12_copy_frame_c
  28. void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
  29. #define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c
  30. void vp9_extend_frame_borders_c(struct yv12_buffer_config *ybf);
  31. #define vp9_extend_frame_borders vp9_extend_frame_borders_c
  32. void vp9_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
  33. #define vp9_extend_frame_inner_borders vp9_extend_frame_inner_borders_c
  34. void vpx_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
  35. #define vpx_yv12_copy_y vpx_yv12_copy_y_c
  36. void vpx_scale_rtcd(void);
  37. #ifdef RTCD_C
  38. #include "vpx_ports/x86.h"
  39. static void setup_rtcd_internal(void)
  40. {
  41. int flags = x86_simd_caps();
  42. (void)flags;
  43. }
  44. #endif
  45. #ifdef __cplusplus
  46. } // extern "C"
  47. #endif
  48. #endif