diff options
author | John Koleszar <jkoleszar@google.com> | 2013-02-28 16:25:38 -0800 |
---|---|---|
committer | John Koleszar <jkoleszar@google.com> | 2013-03-01 11:06:05 -0800 |
commit | 69c67c9531b08c1b15985b351677a162739af43e (patch) | |
tree | 5e07512832085e972ce4bdc7e96472d2c4f5c545 /vp9/common | |
parent | db4dc6f0c0c30f56d675a489c93b22517eedb9f8 (diff) | |
parent | a07bed2b2b2ca84fdb145ee8e4f1ca100d39915e (diff) | |
download | libvpx-69c67c9531b08c1b15985b351677a162739af43e.tar libvpx-69c67c9531b08c1b15985b351677a162739af43e.tar.gz libvpx-69c67c9531b08c1b15985b351677a162739af43e.tar.bz2 libvpx-69c67c9531b08c1b15985b351677a162739af43e.zip |
Merge master branch into experimental
Picks up some build system changes, compiler warning fixes, etc.
Change-Id: I2712f99e653502818a101a72696ad54018152d4e
Diffstat (limited to 'vp9/common')
-rw-r--r-- | vp9/common/vp9_findnearmv.c | 24 | ||||
-rw-r--r-- | vp9/common/vp9_rtcd_defs.sh | 8 | ||||
-rw-r--r-- | vp9/common/x86/vp9_subpixel_8t_ssse3.asm | 8 |
3 files changed, 20 insertions, 20 deletions
diff --git a/vp9/common/vp9_findnearmv.c b/vp9/common/vp9_findnearmv.c index 77b79395e..2f709bf58 100644 --- a/vp9/common/vp9_findnearmv.c +++ b/vp9/common/vp9_findnearmv.c @@ -57,9 +57,9 @@ unsigned int vp9_sad16x3_c(const uint8_t *src_ptr, unsigned int vp9_variance2x16_c(const uint8_t *src_ptr, - const int source_stride, + int source_stride, const uint8_t *ref_ptr, - const int recon_stride, + int recon_stride, unsigned int *sse) { int sum; variance(src_ptr, source_stride, ref_ptr, recon_stride, 2, 16, sse, &sum); @@ -67,9 +67,9 @@ unsigned int vp9_variance2x16_c(const uint8_t *src_ptr, } unsigned int vp9_variance16x2_c(const uint8_t *src_ptr, - const int source_stride, + int source_stride, const uint8_t *ref_ptr, - const int recon_stride, + int recon_stride, unsigned int *sse) { int sum; variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 2, sse, &sum); @@ -77,11 +77,11 @@ unsigned int vp9_variance16x2_c(const uint8_t *src_ptr, } unsigned int vp9_sub_pixel_variance16x2_c(const uint8_t *src_ptr, - const int src_pixels_per_line, - const int xoffset, - const int yoffset, + int src_pixels_per_line, + int xoffset, + int yoffset, const uint8_t *dst_ptr, - const int dst_pixels_per_line, + int dst_pixels_per_line, unsigned int *sse) { uint16_t FData3[16 * 3]; // Temp data buffer used in filtering uint8_t temp2[2 * 16]; @@ -98,11 +98,11 @@ unsigned int vp9_sub_pixel_variance16x2_c(const uint8_t *src_ptr, } unsigned int vp9_sub_pixel_variance2x16_c(const uint8_t *src_ptr, - const int src_pixels_per_line, - const int xoffset, - const int yoffset, + int src_pixels_per_line, + int xoffset, + int yoffset, const uint8_t *dst_ptr, - const int dst_pixels_per_line, + int dst_pixels_per_line, unsigned int *sse) { uint16_t FData3[2 * 17]; // Temp data buffer used in filtering uint8_t temp2[2 * 16]; diff --git a/vp9/common/vp9_rtcd_defs.sh b/vp9/common/vp9_rtcd_defs.sh index 9cbf44c46..b9acadea7 100644 --- a/vp9/common/vp9_rtcd_defs.sh +++ b/vp9/common/vp9_rtcd_defs.sh @@ -14,7 +14,7 @@ struct loop_filter_info; /* Encoder forward decls */ struct block; struct macroblock; -struct variance_vtable; +struct vp9_variance_vtable; #define DEC_MVCOSTS int *mvjcost, int *mvcost[2] union int_mv; @@ -577,16 +577,16 @@ specialize vp9_short_walsh8x4_x8 # # Motion search # -prototype int vp9_full_search_sad "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, DEC_MVCOSTS, union int_mv *center_mv" +prototype int vp9_full_search_sad "struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, union int_mv *center_mv" specialize vp9_full_search_sad sse3 sse4_1 vp9_full_search_sad_sse3=vp9_full_search_sadx3 vp9_full_search_sad_sse4_1=vp9_full_search_sadx8 -prototype int vp9_refining_search_sad "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, DEC_MVCOSTS, union int_mv *center_mv" +prototype int vp9_refining_search_sad "struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, union int_mv *center_mv" specialize vp9_refining_search_sad sse3 vp9_refining_search_sad_sse3=vp9_refining_search_sadx4 -prototype int vp9_diamond_search_sad "struct macroblock *x, struct block *b, struct blockd *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, DEC_MVCOSTS, union int_mv *center_mv" +prototype int vp9_diamond_search_sad "struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per_bit, int *num00, struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, union int_mv *center_mv" specialize vp9_diamond_search_sad sse3 vp9_diamond_search_sad_sse3=vp9_diamond_search_sadx4 diff --git a/vp9/common/x86/vp9_subpixel_8t_ssse3.asm b/vp9/common/x86/vp9_subpixel_8t_ssse3.asm index fa24f4cd0..32f00e289 100644 --- a/vp9/common/x86/vp9_subpixel_8t_ssse3.asm +++ b/vp9/common/x86/vp9_subpixel_8t_ssse3.asm @@ -113,7 +113,7 @@ mov rcx, 0x0400040 movdqa xmm4, [rdx] ;load filters - movd xmm5, rcx + movq xmm5, rcx packsswb xmm4, xmm4 pshuflw xmm0, xmm4, 0b ;k0_k1 pshuflw xmm1, xmm4, 01010101b ;k2_k3 @@ -198,7 +198,7 @@ mov rcx, 0x0400040 movdqa xmm4, [rdx] ;load filters - movd xmm5, rcx + movq xmm5, rcx packsswb xmm4, xmm4 pshuflw xmm0, xmm4, 0b ;k0_k1 pshuflw xmm1, xmm4, 01010101b ;k2_k3 @@ -542,7 +542,7 @@ sym(vp9_filter_block1d16_v8_avg_ssse3): mov rcx, 0x0400040 movdqa xmm4, [rdx] ;load filters - movd xmm5, rcx + movq xmm5, rcx packsswb xmm4, xmm4 pshuflw xmm0, xmm4, 0b ;k0_k1 pshuflw xmm1, xmm4, 01010101b ;k2_k3 @@ -681,7 +681,7 @@ sym(vp9_filter_block1d16_v8_avg_ssse3): mov rcx, 0x0400040 movdqa xmm4, [rdx] ;load filters - movd xmm5, rcx + movq xmm5, rcx packsswb xmm4, xmm4 pshuflw xmm0, xmm4, 0b ;k0_k1 pshuflw xmm1, xmm4, 01010101b ;k2_k3 |