Lines Matching refs:ps_dec_thd
1118 dec_state_t *ps_dec_thd, in impeg2d_init_thread_dec_ctxt() argument
1122 ps_dec_thd->i4_start_mb_y = 0; in impeg2d_init_thread_dec_ctxt()
1123 ps_dec_thd->i4_end_mb_y = ps_dec->u2_num_vert_mb; in impeg2d_init_thread_dec_ctxt()
1124 ps_dec_thd->u2_mb_x = 0; in impeg2d_init_thread_dec_ctxt()
1125 ps_dec_thd->u2_mb_y = 0; in impeg2d_init_thread_dec_ctxt()
1126 ps_dec_thd->u2_is_mpeg2 = ps_dec->u2_is_mpeg2; in impeg2d_init_thread_dec_ctxt()
1127 ps_dec_thd->i4_pic_count = ps_dec->i4_pic_count; in impeg2d_init_thread_dec_ctxt()
1128 ps_dec_thd->u2_frame_width = ps_dec->u2_frame_width; in impeg2d_init_thread_dec_ctxt()
1129 ps_dec_thd->u2_frame_height = ps_dec->u2_frame_height; in impeg2d_init_thread_dec_ctxt()
1130 ps_dec_thd->u2_picture_width = ps_dec->u2_picture_width; in impeg2d_init_thread_dec_ctxt()
1131 ps_dec_thd->u2_horizontal_size = ps_dec->u2_horizontal_size; in impeg2d_init_thread_dec_ctxt()
1132 ps_dec_thd->u2_vertical_size = ps_dec->u2_vertical_size; in impeg2d_init_thread_dec_ctxt()
1133 ps_dec_thd->u2_create_max_width = ps_dec->u2_create_max_width; in impeg2d_init_thread_dec_ctxt()
1134 ps_dec_thd->u2_create_max_height = ps_dec->u2_create_max_height; in impeg2d_init_thread_dec_ctxt()
1135 ps_dec_thd->u2_header_done = ps_dec->u2_header_done; in impeg2d_init_thread_dec_ctxt()
1136 ps_dec_thd->u2_decode_header = ps_dec->u2_decode_header; in impeg2d_init_thread_dec_ctxt()
1138 ps_dec_thd->u2_num_horiz_mb = ps_dec->u2_num_horiz_mb; in impeg2d_init_thread_dec_ctxt()
1139 ps_dec_thd->u2_num_vert_mb = ps_dec->u2_num_vert_mb; in impeg2d_init_thread_dec_ctxt()
1140 ps_dec_thd->u2_num_flds_decoded = ps_dec->u2_num_flds_decoded; in impeg2d_init_thread_dec_ctxt()
1142 ps_dec_thd->u4_frm_buf_stride = ps_dec->u4_frm_buf_stride; in impeg2d_init_thread_dec_ctxt()
1144 ps_dec_thd->u2_field_dct = ps_dec->u2_field_dct; in impeg2d_init_thread_dec_ctxt()
1145 ps_dec_thd->u2_read_dct_type = ps_dec->u2_read_dct_type; in impeg2d_init_thread_dec_ctxt()
1147 ps_dec_thd->u2_read_motion_type = ps_dec->u2_read_motion_type; in impeg2d_init_thread_dec_ctxt()
1148 ps_dec_thd->u2_motion_type = ps_dec->u2_motion_type; in impeg2d_init_thread_dec_ctxt()
1150 ps_dec_thd->pu2_mb_type = ps_dec->pu2_mb_type; in impeg2d_init_thread_dec_ctxt()
1151 ps_dec_thd->u2_fld_pic = ps_dec->u2_fld_pic; in impeg2d_init_thread_dec_ctxt()
1152 ps_dec_thd->u2_frm_pic = ps_dec->u2_frm_pic; in impeg2d_init_thread_dec_ctxt()
1154 ps_dec_thd->u2_fld_parity = ps_dec->u2_fld_parity; in impeg2d_init_thread_dec_ctxt()
1156 ps_dec_thd->au2_fcode_data[0] = ps_dec->au2_fcode_data[0]; in impeg2d_init_thread_dec_ctxt()
1157 ps_dec_thd->au2_fcode_data[1] = ps_dec->au2_fcode_data[1]; in impeg2d_init_thread_dec_ctxt()
1159 ps_dec_thd->u1_quant_scale = ps_dec->u1_quant_scale; in impeg2d_init_thread_dec_ctxt()
1161 ps_dec_thd->u2_num_mbs_left = ps_dec->u2_num_mbs_left; in impeg2d_init_thread_dec_ctxt()
1162 ps_dec_thd->u2_first_mb = ps_dec->u2_first_mb; in impeg2d_init_thread_dec_ctxt()
1163 ps_dec_thd->u2_num_skipped_mbs = ps_dec->u2_num_skipped_mbs; in impeg2d_init_thread_dec_ctxt()
1165 memcpy(&ps_dec_thd->s_cur_frm_buf, &ps_dec->s_cur_frm_buf, sizeof(yuv_buf_t)); in impeg2d_init_thread_dec_ctxt()
1166 memcpy(&ps_dec_thd->as_recent_fld[0][0], &ps_dec->as_recent_fld[0][0], sizeof(yuv_buf_t)); in impeg2d_init_thread_dec_ctxt()
1167 memcpy(&ps_dec_thd->as_recent_fld[0][1], &ps_dec->as_recent_fld[0][1], sizeof(yuv_buf_t)); in impeg2d_init_thread_dec_ctxt()
1168 memcpy(&ps_dec_thd->as_recent_fld[1][0], &ps_dec->as_recent_fld[1][0], sizeof(yuv_buf_t)); in impeg2d_init_thread_dec_ctxt()
1169 memcpy(&ps_dec_thd->as_recent_fld[1][1], &ps_dec->as_recent_fld[1][1], sizeof(yuv_buf_t)); in impeg2d_init_thread_dec_ctxt()
1170 memcpy(&ps_dec_thd->as_ref_buf, &ps_dec->as_ref_buf, sizeof(yuv_buf_t) * 2 * 2); in impeg2d_init_thread_dec_ctxt()
1173 ps_dec_thd->pf_decode_slice = ps_dec->pf_decode_slice; in impeg2d_init_thread_dec_ctxt()
1175 ps_dec_thd->pf_vld_inv_quant = ps_dec->pf_vld_inv_quant; in impeg2d_init_thread_dec_ctxt()
1177 memcpy(ps_dec_thd->pf_idct_recon, ps_dec->pf_idct_recon, sizeof(ps_dec->pf_idct_recon)); in impeg2d_init_thread_dec_ctxt()
1179 memcpy(ps_dec_thd->pf_mc, ps_dec->pf_mc, sizeof(ps_dec->pf_mc)); in impeg2d_init_thread_dec_ctxt()
1180 ps_dec_thd->pf_interpolate = ps_dec->pf_interpolate; in impeg2d_init_thread_dec_ctxt()
1181 ps_dec_thd->pf_copy_mb = ps_dec->pf_copy_mb; in impeg2d_init_thread_dec_ctxt()
1182 ps_dec_thd->pf_fullx_halfy_8x8 = ps_dec->pf_fullx_halfy_8x8; in impeg2d_init_thread_dec_ctxt()
1183 ps_dec_thd->pf_halfx_fully_8x8 = ps_dec->pf_halfx_fully_8x8; in impeg2d_init_thread_dec_ctxt()
1184 ps_dec_thd->pf_halfx_halfy_8x8 = ps_dec->pf_halfx_halfy_8x8; in impeg2d_init_thread_dec_ctxt()
1185 ps_dec_thd->pf_fullx_fully_8x8 = ps_dec->pf_fullx_fully_8x8; in impeg2d_init_thread_dec_ctxt()
1187 ps_dec_thd->pf_memset_8bit_8x8_block = ps_dec->pf_memset_8bit_8x8_block; in impeg2d_init_thread_dec_ctxt()
1188 ps_dec_thd->pf_memset_16bit_8x8_linear_block = ps_dec->pf_memset_16bit_8x8_linear_block; in impeg2d_init_thread_dec_ctxt()
1189 ps_dec_thd->pf_copy_yuv420p_buf = ps_dec->pf_copy_yuv420p_buf; in impeg2d_init_thread_dec_ctxt()
1190 ps_dec_thd->pf_fmt_conv_yuv420p_to_yuv422ile = ps_dec->pf_fmt_conv_yuv420p_to_yuv422ile; in impeg2d_init_thread_dec_ctxt()
1191 ps_dec_thd->pf_fmt_conv_yuv420p_to_yuv420sp_uv = ps_dec->pf_fmt_conv_yuv420p_to_yuv420sp_uv; in impeg2d_init_thread_dec_ctxt()
1192 ps_dec_thd->pf_fmt_conv_yuv420p_to_yuv420sp_vu = ps_dec->pf_fmt_conv_yuv420p_to_yuv420sp_vu; in impeg2d_init_thread_dec_ctxt()
1195 …memcpy(ps_dec_thd->au1_intra_quant_matrix, ps_dec->au1_intra_quant_matrix, NUM_PELS_IN_BLOCK * siz… in impeg2d_init_thread_dec_ctxt()
1196 …memcpy(ps_dec_thd->au1_inter_quant_matrix, ps_dec->au1_inter_quant_matrix, NUM_PELS_IN_BLOCK * siz… in impeg2d_init_thread_dec_ctxt()
1197 ps_dec_thd->pu1_inv_scan_matrix = ps_dec->pu1_inv_scan_matrix; in impeg2d_init_thread_dec_ctxt()
1200 ps_dec_thd->u2_progressive_sequence = ps_dec->u2_progressive_sequence; in impeg2d_init_thread_dec_ctxt()
1201 ps_dec_thd->e_pic_type = ps_dec->e_pic_type; in impeg2d_init_thread_dec_ctxt()
1202 ps_dec_thd->u2_full_pel_forw_vector = ps_dec->u2_full_pel_forw_vector; in impeg2d_init_thread_dec_ctxt()
1203 ps_dec_thd->u2_forw_f_code = ps_dec->u2_forw_f_code; in impeg2d_init_thread_dec_ctxt()
1204 ps_dec_thd->u2_full_pel_back_vector = ps_dec->u2_full_pel_back_vector; in impeg2d_init_thread_dec_ctxt()
1205 ps_dec_thd->u2_back_f_code = ps_dec->u2_back_f_code; in impeg2d_init_thread_dec_ctxt()
1207 memcpy(ps_dec_thd->ai2_mv, ps_dec->ai2_mv, (2*2*2)*sizeof(WORD16)); in impeg2d_init_thread_dec_ctxt()
1208 memcpy(ps_dec_thd->au2_f_code, ps_dec->au2_f_code, (2*2)*sizeof(UWORD16)); in impeg2d_init_thread_dec_ctxt()
1209 ps_dec_thd->u2_intra_dc_precision = ps_dec->u2_intra_dc_precision; in impeg2d_init_thread_dec_ctxt()
1210 ps_dec_thd->u2_picture_structure = ps_dec->u2_picture_structure; in impeg2d_init_thread_dec_ctxt()
1211 ps_dec_thd->u2_top_field_first = ps_dec->u2_top_field_first; in impeg2d_init_thread_dec_ctxt()
1212 ps_dec_thd->u2_frame_pred_frame_dct = ps_dec->u2_frame_pred_frame_dct; in impeg2d_init_thread_dec_ctxt()
1213 ps_dec_thd->u2_concealment_motion_vectors = ps_dec->u2_concealment_motion_vectors; in impeg2d_init_thread_dec_ctxt()
1214 ps_dec_thd->u2_q_scale_type = ps_dec->u2_q_scale_type; in impeg2d_init_thread_dec_ctxt()
1215 ps_dec_thd->u2_intra_vlc_format = ps_dec->u2_intra_vlc_format; in impeg2d_init_thread_dec_ctxt()
1216 ps_dec_thd->u2_alternate_scan = ps_dec->u2_alternate_scan; in impeg2d_init_thread_dec_ctxt()
1217 ps_dec_thd->u2_repeat_first_field = ps_dec->u2_repeat_first_field; in impeg2d_init_thread_dec_ctxt()
1218 ps_dec_thd->u2_progressive_frame = ps_dec->u2_progressive_frame; in impeg2d_init_thread_dec_ctxt()
1219 ps_dec_thd->pu1_inp_bits_buf = ps_dec->pu1_inp_bits_buf; in impeg2d_init_thread_dec_ctxt()
1220 ps_dec_thd->u4_num_inp_bytes = ps_dec->u4_num_inp_bytes; in impeg2d_init_thread_dec_ctxt()
1221 ps_dec_thd->pv_jobq = ps_dec->pv_jobq; in impeg2d_init_thread_dec_ctxt()
1222 ps_dec_thd->pv_jobq_buf = ps_dec->pv_jobq_buf; in impeg2d_init_thread_dec_ctxt()
1223 ps_dec_thd->i4_jobq_buf_size = ps_dec->i4_jobq_buf_size; in impeg2d_init_thread_dec_ctxt()
1226 ps_dec_thd->u2_frame_rate_code = ps_dec->u2_frame_rate_code; in impeg2d_init_thread_dec_ctxt()
1227 ps_dec_thd->u2_frame_rate_extension_n = ps_dec->u2_frame_rate_extension_n; in impeg2d_init_thread_dec_ctxt()
1228 ps_dec_thd->u2_frame_rate_extension_d = ps_dec->u2_frame_rate_extension_d; in impeg2d_init_thread_dec_ctxt()
1229 ps_dec_thd->u2_framePeriod = ps_dec->u2_framePeriod; in impeg2d_init_thread_dec_ctxt()
1230 ps_dec_thd->u2_display_horizontal_size = ps_dec->u2_display_horizontal_size; in impeg2d_init_thread_dec_ctxt()
1231 ps_dec_thd->u2_display_vertical_size = ps_dec->u2_display_vertical_size; in impeg2d_init_thread_dec_ctxt()
1232 ps_dec_thd->u2_aspect_ratio_info = ps_dec->u2_aspect_ratio_info; in impeg2d_init_thread_dec_ctxt()
1234 ps_dec_thd->ps_func_bi_direct = ps_dec->ps_func_bi_direct; in impeg2d_init_thread_dec_ctxt()
1235 ps_dec_thd->ps_func_forw_or_back = ps_dec->ps_func_forw_or_back; in impeg2d_init_thread_dec_ctxt()
1236 ps_dec_thd->pv_deinterlacer_ctxt = ps_dec->pv_deinterlacer_ctxt; in impeg2d_init_thread_dec_ctxt()
1237 ps_dec_thd->ps_deint_pic = ps_dec->ps_deint_pic; in impeg2d_init_thread_dec_ctxt()
1400 dec_state_t *ps_dec_thd; in impeg2d_dec_pic_data() local
1417 ps_dec_thd = ps_dec_state_multi_core->ps_dec_state[i+1]; in impeg2d_dec_pic_data()
1419 ps_dec_thd->ps_disp_pic = ps_dec->ps_disp_pic; in impeg2d_dec_pic_data()
1420 ps_dec_thd->ps_disp_frm_buf = ps_dec->ps_disp_frm_buf; in impeg2d_dec_pic_data()
1422 i4_status = impeg2d_init_thread_dec_ctxt(ps_dec, ps_dec_thd, i4_min_mb_y); in impeg2d_dec_pic_data()
1427 …ithread_create(ps_dec_thd->pv_codec_thread_handle, NULL, (void *)impeg2d_dec_pic_data_thread, ps_d… in impeg2d_dec_pic_data()
1429 i4_min_mb_y = ps_dec_thd->u2_mb_y + 1; in impeg2d_dec_pic_data()
1445 ps_dec_thd = ps_dec_state_multi_core->ps_dec_state[i+1]; in impeg2d_dec_pic_data()
1446 ithread_join(ps_dec_thd->pv_codec_thread_handle, NULL); in impeg2d_dec_pic_data()