X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=vp8%2Fencoder%2Fblock.h;h=0d14b545c8e9b06231635ec0536019717eba9787;hb=ae8aa836d5a4c81e680d035f84eeed4dc8e4c765;hp=bc6eeeb145636f8566610dbb6aeee743619a97d3;hpb=824e9410c61e25a39d2c19a9418e1740e53c8e8c;p=profile%2Fivi%2Flibvpx.git diff --git a/vp8/encoder/block.h b/vp8/encoder/block.h index bc6eeeb..0d14b54 100644 --- a/vp8/encoder/block.h +++ b/vp8/encoder/block.h @@ -65,7 +65,9 @@ typedef struct { DECLARE_ALIGNED(16, short, src_diff[400]); // 16x16 Y 8x8 U 8x8 V 4x4 2nd Y DECLARE_ALIGNED(16, short, coeff[400]); // 16x16 Y 8x8 U 8x8 V 4x4 2nd Y + DECLARE_ALIGNED(16, unsigned char, thismb[256]); + unsigned char *thismb_ptr; // 16 Y blocks, 4 U blocks, 4 V blocks, 1 DC 2nd order block each with 16 entries BLOCK block[25]; @@ -115,7 +117,7 @@ typedef struct unsigned char *active_ptr; MV_CONTEXT *mvc; - unsigned int token_costs[BLOCK_TYPES] [COEF_BANDS] [PREV_COEF_CONTEXTS] [vp8_coef_tokens]; + unsigned int token_costs[BLOCK_TYPES] [COEF_BANDS] [PREV_COEF_CONTEXTS] [MAX_ENTROPY_TOKENS]; int optimize; int q_index; @@ -123,6 +125,7 @@ typedef struct void (*vp8_short_fdct8x4)(short *input, short *output, int pitch); void (*short_walsh4x4)(short *input, short *output, int pitch); void (*quantize_b)(BLOCK *b, BLOCKD *d); + void (*quantize_b_pair)(BLOCK *b1, BLOCK *b2, BLOCKD *d0, BLOCKD *d1); } MACROBLOCK;