Lines Matching refs:ps_dec
141 IMPEG2D_ERROR_CODES_T impeg2d_dec_d_slice(dec_state_t *ps_dec) in impeg2d_dec_d_slice() argument
144 yuv_buf_t *ps_cur_frm_buf = &ps_dec->s_cur_frm_buf; in impeg2d_dec_d_slice()
146 stream_t *ps_stream = &ps_dec->s_bit_stream; in impeg2d_dec_d_slice()
150 UWORD32 u4_frame_width = ps_dec->u2_frame_width; in impeg2d_dec_d_slice()
152 if(ps_dec->u2_picture_structure != FRAME_PICTURE) in impeg2d_dec_d_slice()
155 if(ps_dec->u2_picture_structure == BOTTOM_FIELD) in impeg2d_dec_d_slice()
157 u4_frm_offset = ps_dec->u2_frame_width; in impeg2d_dec_d_slice()
168 UWORD32 u4_dst_x_offset = u4_frm_offset + (ps_dec->u2_mb_x << 4); in impeg2d_dec_d_slice()
169 UWORD32 u4_dst_y_offset = (ps_dec->u2_mb_y << 4) * u4_frame_width; 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()
200 ps_dec->u2_def_dc_pred[Y_LUMA] = i2_dc_val; in impeg2d_dec_d_slice()
203 ps_dec->pf_memset_8bit_8x8_block(pu1_vld_buf, i2_dc_val, u4_dst_wd); 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()
216 ps_dec->u2_def_dc_pred[U_CHROMA] = i2_dc_val; in impeg2d_dec_d_slice()
218 ps_dec->pf_memset_8bit_8x8_block(pu1_vld_buf, i2_dc_val, u4_dst_wd); 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()
226 ps_dec->u2_def_dc_pred[V_CHROMA] = i2_dc_val; in impeg2d_dec_d_slice()
228 ps_dec->pf_memset_8bit_8x8_block(pu1_vld_buf, i2_dc_val, u4_dst_wd); in impeg2d_dec_d_slice()
233 ps_dec->u2_num_mbs_left--; in impeg2d_dec_d_slice()
234 ps_dec->u2_mb_x++; in impeg2d_dec_d_slice()
236 if(ps_dec->s_bit_stream.u4_offset > ps_dec->s_bit_stream.u4_max_offset) in impeg2d_dec_d_slice()
240 else if (ps_dec->u2_mb_x == ps_dec->u2_num_horiz_mb) in impeg2d_dec_d_slice()
242 ps_dec->u2_mb_x = 0; in impeg2d_dec_d_slice()
243 ps_dec->u2_mb_y++; in impeg2d_dec_d_slice()
250 while(ps_dec->u2_num_mbs_left != 0 && impeg2d_bit_stream_nxt(&ps_dec->s_bit_stream,23) != 0x0); in impeg2d_dec_d_slice()