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

Side by Side Diff: source/libvpx/vp8/common/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/vp8/common/postproc.c ('k') | source/libvpx/vp8/common/setupintrarecon.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 sub vp8_common_forward_decls() { 1 sub vp8_common_forward_decls() {
2 print <<EOF 2 print <<EOF
3 /* 3 /*
4 * VP8 4 * VP8
5 */ 5 */
6 6
7 struct blockd; 7 struct blockd;
8 struct macroblockd; 8 struct macroblockd;
9 struct loop_filter_info; 9 struct loop_filter_info;
10 10
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 248
249 # 249 #
250 # Block copy 250 # Block copy
251 # 251 #
252 if ($opts{arch} =~ /x86/) { 252 if ($opts{arch} =~ /x86/) {
253 add_proto qw/void vp8_copy32xn/, "const unsigned char *src_ptr, int source_s tride, unsigned char *dst_ptr, int dst_stride, int n"; 253 add_proto qw/void vp8_copy32xn/, "const unsigned char *src_ptr, int source_s tride, unsigned char *dst_ptr, int dst_stride, int n";
254 specialize qw/vp8_copy32xn sse2 sse3/; 254 specialize qw/vp8_copy32xn sse2 sse3/;
255 } 255 }
256 256
257 # 257 #
258 # Structured Similarity (SSIM)
259 #
260 if (vpx_config("CONFIG_INTERNAL_STATS") eq "yes") {
261 $opts{arch} eq "x86_64" and $sse2_on_x86_64 = "sse2";
262
263 add_proto qw/void vp8_ssim_parms_8x8/, "unsigned char *s, int sp, unsigned c har *r, int rp, unsigned long *sum_s, unsigned long *sum_r, unsigned long *sum_s q_s, unsigned long *sum_sq_r, unsigned long *sum_sxr";
264 specialize qw/vp8_ssim_parms_8x8/, "$sse2_on_x86_64";
265
266 add_proto qw/void vp8_ssim_parms_16x16/, "unsigned char *s, int sp, unsigned char *r, int rp, unsigned long *sum_s, unsigned long *sum_r, unsigned long *sum _sq_s, unsigned long *sum_sq_r, unsigned long *sum_sxr";
267 specialize qw/vp8_ssim_parms_16x16/, "$sse2_on_x86_64";
268 }
269
270 #
271 # Forward DCT 258 # Forward DCT
272 # 259 #
273 add_proto qw/void vp8_short_fdct4x4/, "short *input, short *output, int pitch"; 260 add_proto qw/void vp8_short_fdct4x4/, "short *input, short *output, int pitch";
274 specialize qw/vp8_short_fdct4x4 mmx sse2 media neon msa/; 261 specialize qw/vp8_short_fdct4x4 mmx sse2 media neon msa/;
275 $vp8_short_fdct4x4_media=vp8_short_fdct4x4_armv6; 262 $vp8_short_fdct4x4_media=vp8_short_fdct4x4_armv6;
276 263
277 add_proto qw/void vp8_short_fdct8x4/, "short *input, short *output, int pitch"; 264 add_proto qw/void vp8_short_fdct8x4/, "short *input, short *output, int pitch";
278 specialize qw/vp8_short_fdct8x4 mmx sse2 media neon msa/; 265 specialize qw/vp8_short_fdct8x4 mmx sse2 media neon msa/;
279 $vp8_short_fdct8x4_media=vp8_short_fdct8x4_armv6; 266 $vp8_short_fdct8x4_media=vp8_short_fdct8x4_armv6;
280 267
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 if (vpx_config("CONFIG_REALTIME_ONLY") ne "yes") { 314 if (vpx_config("CONFIG_REALTIME_ONLY") ne "yes") {
328 add_proto qw/void vp8_temporal_filter_apply/, "unsigned char *frame1, unsign ed int stride, unsigned char *frame2, unsigned int block_size, int strength, int filter_weight, unsigned int *accumulator, unsigned short *count"; 315 add_proto qw/void vp8_temporal_filter_apply/, "unsigned char *frame1, unsign ed int stride, unsigned char *frame2, unsigned int block_size, int strength, int filter_weight, unsigned int *accumulator, unsigned short *count";
329 specialize qw/vp8_temporal_filter_apply sse2 msa/; 316 specialize qw/vp8_temporal_filter_apply sse2 msa/;
330 } 317 }
331 318
332 # 319 #
333 # Denoiser filter 320 # Denoiser filter
334 # 321 #
335 if (vpx_config("CONFIG_TEMPORAL_DENOISING") eq "yes") { 322 if (vpx_config("CONFIG_TEMPORAL_DENOISING") eq "yes") {
336 add_proto qw/int vp8_denoiser_filter/, "unsigned char *mc_running_avg_y, int mc_avg_y_stride, unsigned char *running_avg_y, int avg_y_stride, unsigned char *sig, int sig_stride, unsigned int motion_magnitude, int increase_denoising"; 323 add_proto qw/int vp8_denoiser_filter/, "unsigned char *mc_running_avg_y, int mc_avg_y_stride, unsigned char *running_avg_y, int avg_y_stride, unsigned char *sig, int sig_stride, unsigned int motion_magnitude, int increase_denoising";
337 specialize qw/vp8_denoiser_filter sse2 neon/; 324 specialize qw/vp8_denoiser_filter sse2 neon msa/;
338 add_proto qw/int vp8_denoiser_filter_uv/, "unsigned char *mc_running_avg, in t mc_avg_stride, unsigned char *running_avg, int avg_stride, unsigned char *sig, int sig_stride, unsigned int motion_magnitude, int increase_denoising"; 325 add_proto qw/int vp8_denoiser_filter_uv/, "unsigned char *mc_running_avg, in t mc_avg_stride, unsigned char *running_avg, int avg_stride, unsigned char *sig, int sig_stride, unsigned int motion_magnitude, int increase_denoising";
339 specialize qw/vp8_denoiser_filter_uv sse2 neon/; 326 specialize qw/vp8_denoiser_filter_uv sse2 neon msa/;
340 } 327 }
341 328
342 # End of encoder only functions 329 # End of encoder only functions
343 } 330 }
344 1; 331 1;
OLDNEW
« no previous file with comments | « source/libvpx/vp8/common/postproc.c ('k') | source/libvpx/vp8/common/setupintrarecon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698