Lines Matching refs:i2_dc_diff
69 WORD16 i2_dc_diff; in impeg2d_get_luma_dc_diff() local
76 i2_dc_diff = impeg2d_bit_stream_get(ps_stream,u2_dc_size); in impeg2d_get_luma_dc_diff()
77 if ((i2_dc_diff & (1 << (u2_dc_size - 1))) == 0) in impeg2d_get_luma_dc_diff()
78 i2_dc_diff -= (1 << u2_dc_size) - 1; in impeg2d_get_luma_dc_diff()
82 i2_dc_diff = 0; in impeg2d_get_luma_dc_diff()
84 return i2_dc_diff; in impeg2d_get_luma_dc_diff()
115 WORD16 i2_dc_diff; in impeg2d_get_chroma_dc_diff() local
121 i2_dc_diff = impeg2d_bit_stream_get(ps_stream,u2_dc_size); in impeg2d_get_chroma_dc_diff()
122 if ((i2_dc_diff & (1 << (u2_dc_size - 1))) == 0) in impeg2d_get_chroma_dc_diff()
123 i2_dc_diff -= (1 << u2_dc_size) - 1; in impeg2d_get_chroma_dc_diff()
127 i2_dc_diff = 0; in impeg2d_get_chroma_dc_diff()
129 return i2_dc_diff; in impeg2d_get_chroma_dc_diff()
149 WORD16 i2_dc_diff; in impeg2d_dec_d_slice() local
198 i2_dc_diff = impeg2d_get_luma_dc_diff(ps_stream); in impeg2d_dec_d_slice()
199 i2_dc_val = ps_dec->u2_def_dc_pred[Y_LUMA] + i2_dc_diff; in impeg2d_dec_d_slice()
214 i2_dc_diff = impeg2d_get_chroma_dc_diff(ps_stream); in impeg2d_dec_d_slice()
215 i2_dc_val = ps_dec->u2_def_dc_pred[U_CHROMA] + i2_dc_diff; in impeg2d_dec_d_slice()
224 i2_dc_diff = impeg2d_get_chroma_dc_diff(ps_stream); in impeg2d_dec_d_slice()
225 i2_dc_val = ps_dec->u2_def_dc_pred[V_CHROMA] + i2_dc_diff; in impeg2d_dec_d_slice()