Index: source/libvpx/vp8/encoder/block.h |
=================================================================== |
--- source/libvpx/vp8/encoder/block.h (revision 177019) |
+++ source/libvpx/vp8/encoder/block.h (working copy) |
@@ -18,6 +18,9 @@ |
#include "vp8/common/entropy.h" |
#include "vpx_ports/mem.h" |
+#define MAX_MODES 20 |
+#define MAX_ERROR_BINS 1024 |
+ |
/* motion search site */ |
typedef struct |
{ |
@@ -127,8 +130,27 @@ |
unsigned char need_to_clamp_best_mvs; |
#endif |
+ int skip_true_count; |
+ unsigned int coef_counts [BLOCK_TYPES] [COEF_BANDS] [PREV_COEF_CONTEXTS] [MAX_ENTROPY_TOKENS]; |
+ unsigned int MVcount [2] [MVvals]; /* (row,col) MV cts this frame */ |
+ int ymode_count [VP8_YMODES]; /* intra MB type cts this frame */ |
+ int uv_mode_count[VP8_UV_MODES]; /* intra MB type cts this frame */ |
+ int64_t prediction_error; |
+ int64_t intra_error; |
+ int count_mb_ref_frame_usage[MAX_REF_FRAMES]; |
+ int rd_thresh_mult[MAX_MODES]; |
+ int rd_threshes[MAX_MODES]; |
+ unsigned int mbs_tested_so_far; |
+ unsigned int mode_test_hit_counts[MAX_MODES]; |
+ int zbin_mode_boost_enabled; |
+ int zbin_mode_boost; |
+ int last_zbin_mode_boost; |
+ int last_zbin_over_quant; |
+ int zbin_over_quant; |
+ int error_bins[MAX_ERROR_BINS]; |
+ |
void (*short_fdct4x4)(short *input, short *output, int pitch); |
void (*short_fdct8x4)(short *input, short *output, int pitch); |
void (*short_walsh4x4)(short *input, short *output, int pitch); |