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

Side by Side Diff: source/libvpx/vpx_dsp/vpx_dsp_rtcd_defs.pl

Issue 1322703002: Cherry pick vp8 halfpix variance fix (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx@m46-2490
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
OLDNEW
1 sub vpx_dsp_forward_decls() { 1 sub vpx_dsp_forward_decls() {
2 print <<EOF 2 print <<EOF
3 /* 3 /*
4 * DSP 4 * DSP
5 */ 5 */
6 6
7 #include "vpx/vpx_integer.h" 7 #include "vpx/vpx_integer.h"
8 #include "vpx_dsp/vpx_dsp_common.h" 8 #include "vpx_dsp/vpx_dsp_common.h"
9 9
10 EOF 10 EOF
(...skipping 1319 matching lines...) Expand 10 before | Expand all | Expand 10 after
1330 add_proto qw/uint32_t vpx_sub_pixel_avg_variance4x8/, "const uint8_t *src_ptr, i nt source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_str ide, uint32_t *sse, const uint8_t *second_pred"; 1330 add_proto qw/uint32_t vpx_sub_pixel_avg_variance4x8/, "const uint8_t *src_ptr, i nt source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_str ide, uint32_t *sse, const uint8_t *second_pred";
1331 specialize qw/vpx_sub_pixel_avg_variance4x8 msa/, "$sse_x86inc", "$ssse3_x86in c"; 1331 specialize qw/vpx_sub_pixel_avg_variance4x8 msa/, "$sse_x86inc", "$ssse3_x86in c";
1332 1332
1333 add_proto qw/uint32_t vpx_sub_pixel_avg_variance4x4/, "const uint8_t *src_ptr, i nt source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_str ide, uint32_t *sse, const uint8_t *second_pred"; 1333 add_proto qw/uint32_t vpx_sub_pixel_avg_variance4x4/, "const uint8_t *src_ptr, i nt source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_str ide, uint32_t *sse, const uint8_t *second_pred";
1334 specialize qw/vpx_sub_pixel_avg_variance4x4 msa/, "$sse_x86inc", "$ssse3_x86in c"; 1334 specialize qw/vpx_sub_pixel_avg_variance4x4 msa/, "$sse_x86inc", "$ssse3_x86in c";
1335 1335
1336 # 1336 #
1337 # Specialty Subpixel 1337 # Specialty Subpixel
1338 # 1338 #
1339 add_proto qw/uint32_t vpx_variance_halfpixvar16x16_h/, "const unsigned char *src _ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse"; 1339 add_proto qw/uint32_t vpx_variance_halfpixvar16x16_h/, "const unsigned char *src _ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse";
1340 specialize qw/vpx_variance_halfpixvar16x16_h mmx media/; 1340 specialize qw/vpx_variance_halfpixvar16x16_h mmx sse2 media/;
1341 1341
1342 add_proto qw/uint32_t vpx_variance_halfpixvar16x16_v/, "const unsigned char *src _ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse"; 1342 add_proto qw/uint32_t vpx_variance_halfpixvar16x16_v/, "const unsigned char *src _ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse";
1343 specialize qw/vpx_variance_halfpixvar16x16_v mmx media/; 1343 specialize qw/vpx_variance_halfpixvar16x16_v mmx sse2 media/;
1344 1344
1345 add_proto qw/uint32_t vpx_variance_halfpixvar16x16_hv/, "const unsigned char *sr c_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_ t *sse"; 1345 add_proto qw/uint32_t vpx_variance_halfpixvar16x16_hv/, "const unsigned char *sr c_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_ t *sse";
1346 specialize qw/vpx_variance_halfpixvar16x16_hv mmx media/; 1346 specialize qw/vpx_variance_halfpixvar16x16_hv mmx sse2 media/;
1347 1347
1348 if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") { 1348 if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") {
1349 add_proto qw/unsigned int vpx_highbd_12_variance64x64/, "const uint8_t *src_pt r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse" ; 1349 add_proto qw/unsigned int vpx_highbd_12_variance64x64/, "const uint8_t *src_pt r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse" ;
1350 specialize qw/vpx_highbd_12_variance64x64 sse2/; 1350 specialize qw/vpx_highbd_12_variance64x64 sse2/;
1351 1351
1352 add_proto qw/unsigned int vpx_highbd_12_variance64x32/, "const uint8_t *src_pt r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse" ; 1352 add_proto qw/unsigned int vpx_highbd_12_variance64x32/, "const uint8_t *src_pt r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse" ;
1353 specialize qw/vpx_highbd_12_variance64x32 sse2/; 1353 specialize qw/vpx_highbd_12_variance64x32 sse2/;
1354 1354
1355 add_proto qw/unsigned int vpx_highbd_12_variance32x64/, "const uint8_t *src_pt r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse" ; 1355 add_proto qw/unsigned int vpx_highbd_12_variance32x64/, "const uint8_t *src_pt r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse" ;
1356 specialize qw/vpx_highbd_12_variance32x64 sse2/; 1356 specialize qw/vpx_highbd_12_variance32x64 sse2/;
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
1699 add_proto qw/uint32_t vpx_highbd_8_sub_pixel_avg_variance8x4/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred"; 1699 add_proto qw/uint32_t vpx_highbd_8_sub_pixel_avg_variance8x4/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred";
1700 specialize qw/vpx_highbd_8_sub_pixel_avg_variance8x4/, "$sse2_x86inc"; 1700 specialize qw/vpx_highbd_8_sub_pixel_avg_variance8x4/, "$sse2_x86inc";
1701 1701
1702 add_proto qw/uint32_t vpx_highbd_8_sub_pixel_avg_variance4x8/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred"; 1702 add_proto qw/uint32_t vpx_highbd_8_sub_pixel_avg_variance4x8/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred";
1703 add_proto qw/uint32_t vpx_highbd_8_sub_pixel_avg_variance4x4/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred"; 1703 add_proto qw/uint32_t vpx_highbd_8_sub_pixel_avg_variance4x4/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred";
1704 1704
1705 } # CONFIG_VP9_HIGHBITDEPTH 1705 } # CONFIG_VP9_HIGHBITDEPTH
1706 } # CONFIG_ENCODERS || CONFIG_POSTPROC || CONFIG_VP9_POSTPROC 1706 } # CONFIG_ENCODERS || CONFIG_POSTPROC || CONFIG_VP9_POSTPROC
1707 1707
1708 1; 1708 1;
OLDNEW
« no previous file with comments | « source/libvpx/vpx_dsp/vpx_dsp.mk ('k') | source/libvpx/vpx_dsp/x86/halfpix_variance_impl_sse2.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698