OLD | NEW |
1 #ifndef VP8_RTCD_H_ | 1 #ifndef VP8_RTCD_H_ |
2 #define VP8_RTCD_H_ | 2 #define VP8_RTCD_H_ |
3 | 3 |
4 #ifdef RTCD_C | 4 #ifdef RTCD_C |
5 #define RTCD_EXTERN | 5 #define RTCD_EXTERN |
6 #else | 6 #else |
7 #define RTCD_EXTERN extern | 7 #define RTCD_EXTERN extern |
8 #endif | 8 #endif |
9 | 9 |
10 /* | 10 /* |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 88 |
89 void vp8_dequantize_b_c(struct blockd*, short *dqc); | 89 void vp8_dequantize_b_c(struct blockd*, short *dqc); |
90 #define vp8_dequantize_b vp8_dequantize_b_c | 90 #define vp8_dequantize_b vp8_dequantize_b_c |
91 | 91 |
92 int vp8_diamond_search_sad_c(struct macroblock *x, struct block *b, struct block
d *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per
_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *
center_mv); | 92 int vp8_diamond_search_sad_c(struct macroblock *x, struct block *b, struct block
d *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per
_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *
center_mv); |
93 #define vp8_diamond_search_sad vp8_diamond_search_sad_c | 93 #define vp8_diamond_search_sad vp8_diamond_search_sad_c |
94 | 94 |
95 void vp8_fast_quantize_b_c(struct block *, struct blockd *); | 95 void vp8_fast_quantize_b_c(struct block *, struct blockd *); |
96 #define vp8_fast_quantize_b vp8_fast_quantize_b_c | 96 #define vp8_fast_quantize_b vp8_fast_quantize_b_c |
97 | 97 |
98 void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct block
d *d1, struct blockd *d2); | |
99 #define vp8_fast_quantize_b_pair vp8_fast_quantize_b_pair_c | |
100 | |
101 void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned ch
ar *dst, int dst_stride, int src_weight); | 98 void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned ch
ar *dst, int dst_stride, int src_weight); |
102 #define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c | 99 #define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c |
103 | 100 |
104 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); | 101 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); |
105 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c | 102 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c |
106 | 103 |
107 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); | 104 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); |
108 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c | 105 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c |
109 | 106 |
110 int vp8_full_search_sad_c(struct macroblock *x, struct block *b, struct blockd *
d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *
fn_ptr, int *mvcost[2], union int_mv *center_mv); | 107 int vp8_full_search_sad_c(struct macroblock *x, struct block *b, struct blockd *
d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *
fn_ptr, int *mvcost[2], union int_mv *center_mv); |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 | 154 |
158 unsigned int vp8_mse16x16_c(const unsigned char *src_ptr, int source_stride, con
st unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | 155 unsigned int vp8_mse16x16_c(const unsigned char *src_ptr, int source_stride, con
st unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
159 #define vp8_mse16x16 vp8_mse16x16_c | 156 #define vp8_mse16x16 vp8_mse16x16_c |
160 | 157 |
161 void vp8_plane_add_noise_c(unsigned char *s, char *noise, char blackclamp[16], c
har whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pitc
h); | 158 void vp8_plane_add_noise_c(unsigned char *s, char *noise, char blackclamp[16], c
har whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pitc
h); |
162 #define vp8_plane_add_noise vp8_plane_add_noise_c | 159 #define vp8_plane_add_noise vp8_plane_add_noise_c |
163 | 160 |
164 void vp8_post_proc_down_and_across_mb_row_c(unsigned char *src, unsigned char *d
st, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size); | 161 void vp8_post_proc_down_and_across_mb_row_c(unsigned char *src, unsigned char *d
st, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size); |
165 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro
w_c | 162 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro
w_c |
166 | 163 |
167 void vp8_quantize_mb_c(struct macroblock *); | |
168 #define vp8_quantize_mb vp8_quantize_mb_c | |
169 | |
170 void vp8_quantize_mbuv_c(struct macroblock *); | |
171 #define vp8_quantize_mbuv vp8_quantize_mbuv_c | |
172 | |
173 void vp8_quantize_mby_c(struct macroblock *); | |
174 #define vp8_quantize_mby vp8_quantize_mby_c | |
175 | |
176 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct bloc
kd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtab
le *fn_ptr, int *mvcost[2], union int_mv *center_mv); | 164 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct bloc
kd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtab
le *fn_ptr, int *mvcost[2], union int_mv *center_mv); |
177 #define vp8_refining_search_sad vp8_refining_search_sad_c | 165 #define vp8_refining_search_sad vp8_refining_search_sad_c |
178 | 166 |
179 void vp8_regular_quantize_b_c(struct block *, struct blockd *); | 167 void vp8_regular_quantize_b_c(struct block *, struct blockd *); |
180 #define vp8_regular_quantize_b vp8_regular_quantize_b_c | 168 #define vp8_regular_quantize_b vp8_regular_quantize_b_c |
181 | 169 |
182 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct bl
ockd *d1, struct blockd *d2); | |
183 #define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c | |
184 | |
185 unsigned int vp8_sad16x16_c(const unsigned char *src_ptr, int src_stride, const
unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | 170 unsigned int vp8_sad16x16_c(const unsigned char *src_ptr, int src_stride, const
unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); |
186 #define vp8_sad16x16 vp8_sad16x16_c | 171 #define vp8_sad16x16 vp8_sad16x16_c |
187 | 172 |
188 void vp8_sad16x16x3_c(const unsigned char *src_ptr, int src_stride, const unsign
ed char *ref_ptr, int ref_stride, unsigned int *sad_array); | 173 void vp8_sad16x16x3_c(const unsigned char *src_ptr, int src_stride, const unsign
ed char *ref_ptr, int ref_stride, unsigned int *sad_array); |
189 #define vp8_sad16x16x3 vp8_sad16x16x3_c | 174 #define vp8_sad16x16x3 vp8_sad16x16x3_c |
190 | 175 |
191 void vp8_sad16x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsig
ned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); | 176 void vp8_sad16x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsig
ned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); |
192 #define vp8_sad16x16x4d vp8_sad16x16x4d_c | 177 #define vp8_sad16x16x4d vp8_sad16x16x4d_c |
193 | 178 |
194 void vp8_sad16x16x8_c(const unsigned char *src_ptr, int src_stride, const unsign
ed char *ref_ptr, int ref_stride, unsigned short *sad_array); | 179 void vp8_sad16x16x8_c(const unsigned char *src_ptr, int src_stride, const unsign
ed char *ref_ptr, int ref_stride, unsigned short *sad_array); |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 static void setup_rtcd_internal(void) | 316 static void setup_rtcd_internal(void) |
332 { | 317 { |
333 } | 318 } |
334 #endif | 319 #endif |
335 | 320 |
336 #ifdef __cplusplus | 321 #ifdef __cplusplus |
337 } // extern "C" | 322 } // extern "C" |
338 #endif | 323 #endif |
339 | 324 |
340 #endif | 325 #endif |
OLD | NEW |