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

Side by Side Diff: source/libvpx/vp9/common/vp9_rtcd_defs.pl

Issue 1302353004: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 3 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/libvpx/vp9/common/vp9_reconintra.c ('k') | source/libvpx/vp9/common/vp9_scale.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 sub vp9_common_forward_decls() { 1 sub vp9_common_forward_decls() {
2 print <<EOF 2 print <<EOF
3 /* 3 /*
4 * VP9 4 * VP9
5 */ 5 */
6 6
7 #include "vpx/vpx_integer.h" 7 #include "vpx/vpx_integer.h"
8 #include "vp9/common/vp9_common.h" 8 #include "vp9/common/vp9_common.h"
9 #include "vp9/common/vp9_enums.h" 9 #include "vp9/common/vp9_enums.h"
10 10
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 add_proto qw/int16_t vp9_satd/, "const int16_t *coeff, int length"; 202 add_proto qw/int16_t vp9_satd/, "const int16_t *coeff, int length";
203 specialize qw/vp9_satd sse2/; 203 specialize qw/vp9_satd sse2/;
204 204
205 add_proto qw/void vp9_int_pro_row/, "int16_t *hbuf, uint8_t const *ref, const in t ref_stride, const int height"; 205 add_proto qw/void vp9_int_pro_row/, "int16_t *hbuf, uint8_t const *ref, const in t ref_stride, const int height";
206 specialize qw/vp9_int_pro_row sse2 neon/; 206 specialize qw/vp9_int_pro_row sse2 neon/;
207 207
208 add_proto qw/int16_t vp9_int_pro_col/, "uint8_t const *ref, const int width"; 208 add_proto qw/int16_t vp9_int_pro_col/, "uint8_t const *ref, const int width";
209 specialize qw/vp9_int_pro_col sse2 neon/; 209 specialize qw/vp9_int_pro_col sse2 neon/;
210 210
211 add_proto qw/int vp9_vector_var/, "int16_t const *ref, int16_t const *src, const int bwl"; 211 add_proto qw/int vp9_vector_var/, "int16_t const *ref, int16_t const *src, const int bwl";
212 specialize qw/vp9_vector_var sse2/; 212 specialize qw/vp9_vector_var neon sse2/;
213 213
214 if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") { 214 if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") {
215 add_proto qw/unsigned int vp9_highbd_avg_8x8/, "const uint8_t *, int p"; 215 add_proto qw/unsigned int vp9_highbd_avg_8x8/, "const uint8_t *, int p";
216 specialize qw/vp9_highbd_avg_8x8/; 216 specialize qw/vp9_highbd_avg_8x8/;
217 add_proto qw/unsigned int vp9_highbd_avg_4x4/, "const uint8_t *, int p"; 217 add_proto qw/unsigned int vp9_highbd_avg_4x4/, "const uint8_t *, int p";
218 specialize qw/vp9_highbd_avg_4x4/; 218 specialize qw/vp9_highbd_avg_4x4/;
219 add_proto qw/void vp9_highbd_minmax_8x8/, "const uint8_t *s, int p, const uint 8_t *d, int dp, int *min, int *max"; 219 add_proto qw/void vp9_highbd_minmax_8x8/, "const uint8_t *s, int p, const uint 8_t *d, int dp, int *min, int *max";
220 specialize qw/vp9_highbd_minmax_8x8/; 220 specialize qw/vp9_highbd_minmax_8x8/;
221 } 221 }
222 222
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 add_proto qw/void vp9_quantize_fp/, "const tran_low_t *coeff_ptr, intptr_t n_c oeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran _low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_ t *scan, const int16_t *iscan"; 254 add_proto qw/void vp9_quantize_fp/, "const tran_low_t *coeff_ptr, intptr_t n_c oeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran _low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_ t *scan, const int16_t *iscan";
255 specialize qw/vp9_quantize_fp neon sse2/, "$ssse3_x86_64_x86inc"; 255 specialize qw/vp9_quantize_fp neon sse2/, "$ssse3_x86_64_x86inc";
256 256
257 add_proto qw/void vp9_quantize_fp_32x32/, "const tran_low_t *coeff_ptr, intptr _t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr , tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan"; 257 add_proto qw/void vp9_quantize_fp_32x32/, "const tran_low_t *coeff_ptr, intptr _t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr , tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan";
258 specialize qw/vp9_quantize_fp_32x32/, "$ssse3_x86_64_x86inc"; 258 specialize qw/vp9_quantize_fp_32x32/, "$ssse3_x86_64_x86inc";
259 259
260 add_proto qw/void vp9_fdct8x8_quant/, "const int16_t *input, int stride, tran_ low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, co nst int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr , tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, u int16_t *eob_ptr, const int16_t *scan, const int16_t *iscan"; 260 add_proto qw/void vp9_fdct8x8_quant/, "const int16_t *input, int stride, tran_ low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, co nst int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr , tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, u int16_t *eob_ptr, const int16_t *scan, const int16_t *iscan";
261 specialize qw/vp9_fdct8x8_quant sse2 ssse3 neon/; 261 specialize qw/vp9_fdct8x8_quant sse2 ssse3 neon/;
262 } 262 }
263 263
264 #
265 # Structured Similarity (SSIM)
266 #
267 if (vpx_config("CONFIG_INTERNAL_STATS") eq "yes") {
268 add_proto qw/void vp9_ssim_parms_8x8/, "uint8_t *s, int sp, uint8_t *r, int rp, unsigned long *sum_s, unsigned long *sum_r, unsigned long *sum_sq_s, unsigne d long *sum_sq_r, unsigned long *sum_sxr";
269 specialize qw/vp9_ssim_parms_8x8/, "$sse2_x86_64";
270
271 add_proto qw/void vp9_ssim_parms_16x16/, "uint8_t *s, int sp, uint8_t *r, in t rp, unsigned long *sum_s, unsigned long *sum_r, unsigned long *sum_sq_s, unsig ned long *sum_sq_r, unsigned long *sum_sxr";
272 specialize qw/vp9_ssim_parms_16x16/, "$sse2_x86_64";
273 }
274
275 # fdct functions 264 # fdct functions
276 265
277 if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") { 266 if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") {
278 add_proto qw/void vp9_fht4x4/, "const int16_t *input, tran_low_t *output, int stride, int tx_type"; 267 add_proto qw/void vp9_fht4x4/, "const int16_t *input, tran_low_t *output, int stride, int tx_type";
279 specialize qw/vp9_fht4x4 sse2/; 268 specialize qw/vp9_fht4x4 sse2/;
280 269
281 add_proto qw/void vp9_fht8x8/, "const int16_t *input, tran_low_t *output, int stride, int tx_type"; 270 add_proto qw/void vp9_fht8x8/, "const int16_t *input, tran_low_t *output, int stride, int tx_type";
282 specialize qw/vp9_fht8x8 sse2/; 271 specialize qw/vp9_fht8x8 sse2/;
283 272
284 add_proto qw/void vp9_fht16x16/, "const int16_t *input, tran_low_t *output, in t stride, int tx_type"; 273 add_proto qw/void vp9_fht16x16/, "const int16_t *input, tran_low_t *output, in t stride, int tx_type";
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 312
324 add_proto qw/int64_t vp9_highbd_block_error/, "const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd"; 313 add_proto qw/int64_t vp9_highbd_block_error/, "const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd";
325 specialize qw/vp9_highbd_block_error sse2/; 314 specialize qw/vp9_highbd_block_error sse2/;
326 315
327 add_proto qw/void vp9_highbd_quantize_fp/, "const tran_low_t *coeff_ptr, intpt r_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_pt r, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan"; 316 add_proto qw/void vp9_highbd_quantize_fp/, "const tran_low_t *coeff_ptr, intpt r_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_pt r, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan";
328 specialize qw/vp9_highbd_quantize_fp/; 317 specialize qw/vp9_highbd_quantize_fp/;
329 318
330 add_proto qw/void vp9_highbd_quantize_fp_32x32/, "const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *roun d_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qco eff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan"; 319 add_proto qw/void vp9_highbd_quantize_fp_32x32/, "const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *roun d_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qco eff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan";
331 specialize qw/vp9_highbd_quantize_fp_32x32/; 320 specialize qw/vp9_highbd_quantize_fp_32x32/;
332 321
333 #
334 # Structured Similarity (SSIM)
335 #
336 if (vpx_config("CONFIG_INTERNAL_STATS") eq "yes") {
337 add_proto qw/void vp9_highbd_ssim_parms_8x8/, "uint16_t *s, int sp, uint16_t *r, int rp, uint32_t *sum_s, uint32_t *sum_r, uint32_t *sum_sq_s, uint32_t *sum _sq_r, uint32_t *sum_sxr";
338 specialize qw/vp9_highbd_ssim_parms_8x8/;
339 }
340
341 # fdct functions 322 # fdct functions
342 add_proto qw/void vp9_highbd_fht4x4/, "const int16_t *input, tran_low_t *outpu t, int stride, int tx_type"; 323 add_proto qw/void vp9_highbd_fht4x4/, "const int16_t *input, tran_low_t *outpu t, int stride, int tx_type";
343 specialize qw/vp9_highbd_fht4x4/; 324 specialize qw/vp9_highbd_fht4x4/;
344 325
345 add_proto qw/void vp9_highbd_fht8x8/, "const int16_t *input, tran_low_t *outpu t, int stride, int tx_type"; 326 add_proto qw/void vp9_highbd_fht8x8/, "const int16_t *input, tran_low_t *outpu t, int stride, int tx_type";
346 specialize qw/vp9_highbd_fht8x8/; 327 specialize qw/vp9_highbd_fht8x8/;
347 328
348 add_proto qw/void vp9_highbd_fht16x16/, "const int16_t *input, tran_low_t *out put, int stride, int tx_type"; 329 add_proto qw/void vp9_highbd_fht16x16/, "const int16_t *input, tran_low_t *out put, int stride, int tx_type";
349 specialize qw/vp9_highbd_fht16x16/; 330 specialize qw/vp9_highbd_fht16x16/;
350 331
351 add_proto qw/void vp9_highbd_fwht4x4/, "const int16_t *input, tran_low_t *outp ut, int stride"; 332 add_proto qw/void vp9_highbd_fwht4x4/, "const int16_t *input, tran_low_t *outp ut, int stride";
352 specialize qw/vp9_highbd_fwht4x4/; 333 specialize qw/vp9_highbd_fwht4x4/;
353 334
354 add_proto qw/void vp9_highbd_temporal_filter_apply/, "uint8_t *frame1, unsigne d int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_heig ht, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count" ; 335 add_proto qw/void vp9_highbd_temporal_filter_apply/, "uint8_t *frame1, unsigne d int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_heig ht, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count" ;
355 specialize qw/vp9_highbd_temporal_filter_apply/; 336 specialize qw/vp9_highbd_temporal_filter_apply/;
356 337
357 } 338 }
358 # End vp9_high encoder functions 339 # End vp9_high encoder functions
359 340
360 } 341 }
361 # end encoder functions 342 # end encoder functions
362 1; 343 1;
OLDNEW
« no previous file with comments | « source/libvpx/vp9/common/vp9_reconintra.c ('k') | source/libvpx/vp9/common/vp9_scale.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698