@ -107,7 +107,7 @@ static void tgq_decode_block(TgqContext *s, int16_t block[64], GetBitContext *gb
static void tgq_idct_put_mb ( TgqContext * s , int16_t ( * block ) [ 64 ] , AVFrame * frame ,
int mb_x , int mb_y )
{
in t linesize = frame - > linesize [ 0 ] ;
ptrdiff_ t linesize = frame - > linesize [ 0 ] ;
uint8_t * dest_y = frame - > data [ 0 ] + ( mb_y * 16 * linesize ) + mb_x * 16 ;
uint8_t * dest_cb = frame - > data [ 1 ] + ( mb_y * 8 * frame - > linesize [ 1 ] ) + mb_x * 8 ;
uint8_t * dest_cr = frame - > data [ 2 ] + ( mb_y * 8 * frame - > linesize [ 2 ] ) + mb_x * 8 ;
@ -123,7 +123,7 @@ static void tgq_idct_put_mb(TgqContext *s, int16_t (*block)[64], AVFrame *frame,
}
static inline void tgq_dconly ( TgqContext * s , unsigned char * dst ,
in t dst_stride , int dc )
ptrdiff_ t dst_stride , int dc )
{
int level = av_clip_uint8 ( ( dc * s - > qtable [ 0 ] + 2056 ) > > 4 ) ;
int j ;
@ -134,7 +134,7 @@ static inline void tgq_dconly(TgqContext *s, unsigned char *dst,
static void tgq_idct_put_mb_dconly ( TgqContext * s , AVFrame * frame ,
int mb_x , int mb_y , const int8_t * dc )
{
in t linesize = frame - > linesize [ 0 ] ;
ptrdiff_ t linesize = frame - > linesize [ 0 ] ;
uint8_t * dest_y = frame - > data [ 0 ] + ( mb_y * 16 * linesize ) + mb_x * 16 ;
uint8_t * dest_cb = frame - > data [ 1 ] + ( mb_y * 8 * frame - > linesize [ 1 ] ) + mb_x * 8 ;
uint8_t * dest_cr = frame - > data [ 2 ] + ( mb_y * 8 * frame - > linesize [ 2 ] ) + mb_x * 8 ;