vp8_rtcd_c.h 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. #ifndef VP8_RTCD_H_
  2. #define VP8_RTCD_H_
  3. #ifdef RTCD_C
  4. #define RTCD_EXTERN
  5. #else
  6. #define RTCD_EXTERN extern
  7. #endif
  8. /*
  9. * VP8
  10. */
  11. struct blockd;
  12. struct loop_filter_info;
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. void vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
  17. #define vp8_bilinear_predict16x16 vp8_bilinear_predict16x16_c
  18. void vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
  19. #define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_c
  20. void vp8_bilinear_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
  21. #define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_c
  22. void vp8_bilinear_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
  23. #define vp8_bilinear_predict8x8 vp8_bilinear_predict8x8_c
  24. void vp8_clear_system_state_c();
  25. #define vp8_clear_system_state vp8_clear_system_state_c
  26. void vp8_copy_mem16x16_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
  27. #define vp8_copy_mem16x16 vp8_copy_mem16x16_c
  28. void vp8_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
  29. #define vp8_copy_mem8x4 vp8_copy_mem8x4_c
  30. void vp8_copy_mem8x8_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
  31. #define vp8_copy_mem8x8 vp8_copy_mem8x8_c
  32. void vp8_dc_only_idct_add_c(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride);
  33. #define vp8_dc_only_idct_add vp8_dc_only_idct_add_c
  34. void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *output, int stride);
  35. #define vp8_dequant_idct_add vp8_dequant_idct_add_c
  36. void vp8_dequant_idct_add_uv_block_c(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
  37. #define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_c
  38. void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
  39. #define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_c
  40. void vp8_dequantize_b_c(struct blockd*, short *dqc);
  41. #define vp8_dequantize_b vp8_dequantize_b_c
  42. void vp8_loop_filter_bh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
  43. #define vp8_loop_filter_bh vp8_loop_filter_bh_c
  44. void vp8_loop_filter_bv_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
  45. #define vp8_loop_filter_bv vp8_loop_filter_bv_c
  46. void vp8_loop_filter_mbh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
  47. #define vp8_loop_filter_mbh vp8_loop_filter_mbh_c
  48. void vp8_loop_filter_mbv_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
  49. #define vp8_loop_filter_mbv vp8_loop_filter_mbv_c
  50. void vp8_loop_filter_bhs_c(unsigned char *y, int ystride, const unsigned char *blimit);
  51. #define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_c
  52. void vp8_loop_filter_bvs_c(unsigned char *y, int ystride, const unsigned char *blimit);
  53. #define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_c
  54. void vp8_loop_filter_simple_horizontal_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
  55. #define vp8_loop_filter_simple_mbh vp8_loop_filter_simple_horizontal_edge_c
  56. void vp8_loop_filter_simple_vertical_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
  57. #define vp8_loop_filter_simple_mbv vp8_loop_filter_simple_vertical_edge_c
  58. void vp8_short_idct4x4llm_c(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride);
  59. #define vp8_short_idct4x4llm vp8_short_idct4x4llm_c
  60. void vp8_short_inv_walsh4x4_c(short *input, short *output);
  61. #define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_c
  62. void vp8_short_inv_walsh4x4_1_c(short *input, short *output);
  63. #define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c
  64. void vp8_sixtap_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
  65. #define vp8_sixtap_predict16x16 vp8_sixtap_predict16x16_c
  66. void vp8_sixtap_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
  67. #define vp8_sixtap_predict4x4 vp8_sixtap_predict4x4_c
  68. void vp8_sixtap_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
  69. #define vp8_sixtap_predict8x4 vp8_sixtap_predict8x4_c
  70. void vp8_sixtap_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
  71. #define vp8_sixtap_predict8x8 vp8_sixtap_predict8x8_c
  72. void vp8_rtcd(void);
  73. #ifdef RTCD_C
  74. static void setup_rtcd_internal(void)
  75. {
  76. }
  77. #endif
  78. #ifdef __cplusplus
  79. } // extern "C"
  80. #endif
  81. #endif