Index: source/libvpx/vp9/encoder/vp9_encodeframe.h |
=================================================================== |
--- source/libvpx/vp9/encoder/vp9_encodeframe.h (revision 281795) |
+++ source/libvpx/vp9/encoder/vp9_encodeframe.h (working copy) |
@@ -20,6 +20,13 @@ |
struct yv12_buffer_config; |
struct VP9_COMP; |
+// Constants used in SOURCE_VAR_BASED_PARTITION |
+#define VAR_HIST_MAX_BG_VAR 1000 |
+#define VAR_HIST_FACTOR 10 |
+#define VAR_HIST_BINS (VAR_HIST_MAX_BG_VAR / VAR_HIST_FACTOR + 1) |
+#define VAR_HIST_LARGE_CUT_OFF 75 |
+#define VAR_HIST_SMALL_CUT_OFF 45 |
+ |
void vp9_setup_src_planes(struct macroblock *x, |
const struct yv12_buffer_config *src, |
int mi_row, int mi_col); |