summaryrefslogtreecommitdiff
path: root/vp9/common
diff options
context:
space:
mode:
authorJim Bankoski <jimbankoski@google.com>2014-10-07 16:36:14 -0700
committerJim Bankoski <jimbankoski@google.com>2014-10-07 16:36:14 -0700
commit0ce51d823fcef0f88d213958b43d713ce7bdf189 (patch)
tree9b962db9e6e11d3a03644cf602ba0d04388a61bf /vp9/common
parentdae97868da290b2d401416caed80a22bbdcae6de (diff)
downloadlibvpx-0ce51d823fcef0f88d213958b43d713ce7bdf189.tar
libvpx-0ce51d823fcef0f88d213958b43d713ce7bdf189.tar.gz
libvpx-0ce51d823fcef0f88d213958b43d713ce7bdf189.tar.bz2
libvpx-0ce51d823fcef0f88d213958b43d713ce7bdf189.zip
experimental : partition using 1/8 x 1/8 image
The concept: There's too much noise in source pixels for variance and at low bitrate the reconstructed looks nothing like the source so we have problems getting good partitionings with either. This skirts the issue by using a box blur scaled down version for variance calculations. To compare against source_var_ moved keyframe to be rd based like source_var. Change-Id: Ie3babdbfadae324b7b5a76bea192893af27f0624
Diffstat (limited to 'vp9/common')
-rw-r--r--vp9/common/vp9_rtcd_defs.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/vp9/common/vp9_rtcd_defs.pl b/vp9/common/vp9_rtcd_defs.pl
index 27ccf03e7..e3f2cf8e6 100644
--- a/vp9/common/vp9_rtcd_defs.pl
+++ b/vp9/common/vp9_rtcd_defs.pl
@@ -1110,6 +1110,10 @@ specialize qw/vp9_mse8x8/, "$sse2_x86inc";
add_proto qw/unsigned int vp9_get_mb_ss/, "const int16_t *";
specialize qw/vp9_get_mb_ss/, "$sse2_x86inc";
+
+add_proto qw/unsigned int vp9_avg_8x8/, "const uint8_t *, int p";
+specialize qw/vp9_avg_8x8/, "$sse2_x86inc";
+
# ENCODEMB INVOKE
add_proto qw/void vp9_subtract_block/, "int rows, int cols, int16_t *diff_ptr, ptrdiff_t diff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, ptrdiff_t pred_stride";