Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: source/config/linux/generic/vp8_rtcd.h

Issue 1162573005: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/config/linux/arm64/vpx_dsp_rtcd.h ('k') | source/config/linux/generic/vp9_rtcd.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 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);
102 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c 102 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
103 103
104 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);
105 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c 105 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c
106 106
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); 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);
108 #define vp8_full_search_sad vp8_full_search_sad_c 108 #define vp8_full_search_sad vp8_full_search_sad_c
109 109
110 unsigned int vp8_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride);
111 #define vp8_get4x4sse_cs vp8_get4x4sse_cs_c
112
113 unsigned int vp8_get_mb_ss_c(const short *);
114 #define vp8_get_mb_ss vp8_get_mb_ss_c
115
116 void vp8_intra4x4_predict_c(unsigned char *Above, unsigned char *yleft, int left _stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left) ; 110 void vp8_intra4x4_predict_c(unsigned char *Above, unsigned char *yleft, int left _stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left) ;
117 #define vp8_intra4x4_predict vp8_intra4x4_predict_c 111 #define vp8_intra4x4_predict vp8_intra4x4_predict_c
118 112
119 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); 113 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);
120 #define vp8_loop_filter_bh vp8_loop_filter_bh_c 114 #define vp8_loop_filter_bh vp8_loop_filter_bh_c
121 115
122 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); 116 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);
123 #define vp8_loop_filter_bv vp8_loop_filter_bv_c 117 #define vp8_loop_filter_bv vp8_loop_filter_bv_c
124 118
125 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); 119 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);
(...skipping 19 matching lines...) Expand all
145 139
146 void vp8_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int co ls,int flimit); 140 void vp8_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int co ls,int flimit);
147 #define vp8_mbpost_proc_across_ip vp8_mbpost_proc_across_ip_c 141 #define vp8_mbpost_proc_across_ip vp8_mbpost_proc_across_ip_c
148 142
149 void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,in t flimit); 143 void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,in t flimit);
150 #define vp8_mbpost_proc_down vp8_mbpost_proc_down_c 144 #define vp8_mbpost_proc_down vp8_mbpost_proc_down_c
151 145
152 int vp8_mbuverror_c(struct macroblock *mb); 146 int vp8_mbuverror_c(struct macroblock *mb);
153 #define vp8_mbuverror vp8_mbuverror_c 147 #define vp8_mbuverror vp8_mbuverror_c
154 148
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);
156 #define vp8_mse16x16 vp8_mse16x16_c
157
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); 149 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);
159 #define vp8_plane_add_noise vp8_plane_add_noise_c 150 #define vp8_plane_add_noise vp8_plane_add_noise_c
160 151
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); 152 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);
162 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro w_c 153 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro w_c
163 154
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); 155 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);
165 #define vp8_refining_search_sad vp8_refining_search_sad_c 156 #define vp8_refining_search_sad vp8_refining_search_sad_c
166 157
167 void vp8_regular_quantize_b_c(struct block *, struct blockd *); 158 void vp8_regular_quantize_b_c(struct block *, struct blockd *);
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 208
218 void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch); 209 void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch);
219 #define vp8_subtract_b vp8_subtract_b_c 210 #define vp8_subtract_b vp8_subtract_b_c
220 211
221 void vp8_subtract_mbuv_c(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); 212 void vp8_subtract_mbuv_c(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride);
222 #define vp8_subtract_mbuv vp8_subtract_mbuv_c 213 #define vp8_subtract_mbuv vp8_subtract_mbuv_c
223 214
224 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigne d char *pred, int pred_stride); 215 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigne d char *pred, int pred_stride);
225 #define vp8_subtract_mby vp8_subtract_mby_c 216 #define vp8_subtract_mby vp8_subtract_mby_c
226 217
227 unsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride , const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
228 #define vp8_variance16x16 vp8_variance16x16_c
229
230 unsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
231 #define vp8_variance16x8 vp8_variance16x8_c
232
233 unsigned int vp8_variance4x4_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
234 #define vp8_variance4x4 vp8_variance4x4_c
235
236 unsigned int vp8_variance8x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
237 #define vp8_variance8x16 vp8_variance8x16_c
238
239 unsigned int vp8_variance8x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
240 #define vp8_variance8x8 vp8_variance8x8_c
241
242 unsigned int vp8_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse) ; 218 unsigned int vp8_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse) ;
243 #define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_c 219 #define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_c
244 220
245 unsigned int vp8_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse ); 221 unsigned int vp8_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse );
246 #define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_c 222 #define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_c
247 223
248 unsigned int vp8_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse) ; 224 unsigned int vp8_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse) ;
249 #define vp8_variance_halfpixvar16x16_v vp8_variance_halfpixvar16x16_v_c 225 #define vp8_variance_halfpixvar16x16_v vp8_variance_halfpixvar16x16_v_c
250 226
251 void vp8_rtcd(void); 227 void vp8_rtcd(void);
252 228
253 #include "vpx_config.h" 229 #include "vpx_config.h"
254 230
255 #ifdef RTCD_C 231 #ifdef RTCD_C
256 static void setup_rtcd_internal(void) 232 static void setup_rtcd_internal(void)
257 { 233 {
258 } 234 }
259 #endif 235 #endif
260 236
261 #ifdef __cplusplus 237 #ifdef __cplusplus
262 } // extern "C" 238 } // extern "C"
263 #endif 239 #endif
264 240
265 #endif 241 #endif
OLDNEW
« no previous file with comments | « source/config/linux/arm64/vpx_dsp_rtcd.h ('k') | source/config/linux/generic/vp9_rtcd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698