Lines Matching refs:ps_dec_thd
1025 dec_state_t *ps_dec_thd, in impeg2d_init_thread_dec_ctxt() argument
1029 ps_dec_thd->i4_start_mb_y = 0; in impeg2d_init_thread_dec_ctxt()
1030 ps_dec_thd->i4_end_mb_y = ps_dec->u2_num_vert_mb; in impeg2d_init_thread_dec_ctxt()
1031 ps_dec_thd->u2_mb_x = 0; in impeg2d_init_thread_dec_ctxt()
1032 ps_dec_thd->u2_mb_y = 0; in impeg2d_init_thread_dec_ctxt()
1033 ps_dec_thd->u2_is_mpeg2 = ps_dec->u2_is_mpeg2; in impeg2d_init_thread_dec_ctxt()
1034 ps_dec_thd->u2_frame_width = ps_dec->u2_frame_width; in impeg2d_init_thread_dec_ctxt()
1035 ps_dec_thd->u2_frame_height = ps_dec->u2_frame_height; in impeg2d_init_thread_dec_ctxt()
1036 ps_dec_thd->u2_picture_width = ps_dec->u2_picture_width; in impeg2d_init_thread_dec_ctxt()
1037 ps_dec_thd->u2_horizontal_size = ps_dec->u2_horizontal_size; in impeg2d_init_thread_dec_ctxt()
1038 ps_dec_thd->u2_vertical_size = ps_dec->u2_vertical_size; in impeg2d_init_thread_dec_ctxt()
1039 ps_dec_thd->u2_create_max_width = ps_dec->u2_create_max_width; in impeg2d_init_thread_dec_ctxt()
1040 ps_dec_thd->u2_create_max_height = ps_dec->u2_create_max_height; in impeg2d_init_thread_dec_ctxt()
1041 ps_dec_thd->u2_header_done = ps_dec->u2_header_done; in impeg2d_init_thread_dec_ctxt()
1042 ps_dec_thd->u2_decode_header = ps_dec->u2_decode_header; in impeg2d_init_thread_dec_ctxt()
1044 ps_dec_thd->u2_num_horiz_mb = ps_dec->u2_num_horiz_mb; in impeg2d_init_thread_dec_ctxt()
1045 ps_dec_thd->u2_num_vert_mb = ps_dec->u2_num_vert_mb; in impeg2d_init_thread_dec_ctxt()
1046 ps_dec_thd->u2_num_flds_decoded = ps_dec->u2_num_flds_decoded; in impeg2d_init_thread_dec_ctxt()
1048 ps_dec_thd->u4_frm_buf_stride = ps_dec->u4_frm_buf_stride; in impeg2d_init_thread_dec_ctxt()
1050 ps_dec_thd->u2_field_dct = ps_dec->u2_field_dct; in impeg2d_init_thread_dec_ctxt()
1051 ps_dec_thd->u2_read_dct_type = ps_dec->u2_read_dct_type; in impeg2d_init_thread_dec_ctxt()
1053 ps_dec_thd->u2_read_motion_type = ps_dec->u2_read_motion_type; in impeg2d_init_thread_dec_ctxt()
1054 ps_dec_thd->u2_motion_type = ps_dec->u2_motion_type; in impeg2d_init_thread_dec_ctxt()
1056 ps_dec_thd->pu2_mb_type = ps_dec->pu2_mb_type; in impeg2d_init_thread_dec_ctxt()
1057 ps_dec_thd->u2_fld_pic = ps_dec->u2_fld_pic; in impeg2d_init_thread_dec_ctxt()
1058 ps_dec_thd->u2_frm_pic = ps_dec->u2_frm_pic; in impeg2d_init_thread_dec_ctxt()
1060 ps_dec_thd->u2_fld_parity = ps_dec->u2_fld_parity; in impeg2d_init_thread_dec_ctxt()
1062 ps_dec_thd->au2_fcode_data[0] = ps_dec->au2_fcode_data[0]; in impeg2d_init_thread_dec_ctxt()
1063 ps_dec_thd->au2_fcode_data[1] = ps_dec->au2_fcode_data[1]; in impeg2d_init_thread_dec_ctxt()
1065 ps_dec_thd->u1_quant_scale = ps_dec->u1_quant_scale; in impeg2d_init_thread_dec_ctxt()
1067 ps_dec_thd->u2_num_mbs_left = ps_dec->u2_num_mbs_left; in impeg2d_init_thread_dec_ctxt()
1068 ps_dec_thd->u2_first_mb = ps_dec->u2_first_mb; in impeg2d_init_thread_dec_ctxt()
1069 ps_dec_thd->u2_num_skipped_mbs = ps_dec->u2_num_skipped_mbs; in impeg2d_init_thread_dec_ctxt()
1071 memcpy(&ps_dec_thd->s_cur_frm_buf, &ps_dec->s_cur_frm_buf, sizeof(yuv_buf_t)); in impeg2d_init_thread_dec_ctxt()
1072 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()
1073 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()
1074 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()
1075 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()
1076 memcpy(&ps_dec_thd->as_ref_buf, &ps_dec->as_ref_buf, sizeof(yuv_buf_t) * 2 * 2); in impeg2d_init_thread_dec_ctxt()
1079 ps_dec_thd->pf_decode_slice = ps_dec->pf_decode_slice; in impeg2d_init_thread_dec_ctxt()
1081 ps_dec_thd->pf_vld_inv_quant = ps_dec->pf_vld_inv_quant; in impeg2d_init_thread_dec_ctxt()
1083 memcpy(ps_dec_thd->pf_idct_recon, ps_dec->pf_idct_recon, sizeof(ps_dec->pf_idct_recon)); in impeg2d_init_thread_dec_ctxt()
1085 memcpy(ps_dec_thd->pf_mc, ps_dec->pf_mc, sizeof(ps_dec->pf_mc)); in impeg2d_init_thread_dec_ctxt()
1086 ps_dec_thd->pf_interpolate = ps_dec->pf_interpolate; in impeg2d_init_thread_dec_ctxt()
1087 ps_dec_thd->pf_copy_mb = ps_dec->pf_copy_mb; in impeg2d_init_thread_dec_ctxt()
1088 ps_dec_thd->pf_fullx_halfy_8x8 = ps_dec->pf_fullx_halfy_8x8; in impeg2d_init_thread_dec_ctxt()
1089 ps_dec_thd->pf_halfx_fully_8x8 = ps_dec->pf_halfx_fully_8x8; in impeg2d_init_thread_dec_ctxt()
1090 ps_dec_thd->pf_halfx_halfy_8x8 = ps_dec->pf_halfx_halfy_8x8; in impeg2d_init_thread_dec_ctxt()
1091 ps_dec_thd->pf_fullx_fully_8x8 = ps_dec->pf_fullx_fully_8x8; in impeg2d_init_thread_dec_ctxt()
1093 ps_dec_thd->pf_memset_8bit_8x8_block = ps_dec->pf_memset_8bit_8x8_block; in impeg2d_init_thread_dec_ctxt()
1094 ps_dec_thd->pf_memset_16bit_8x8_linear_block = ps_dec->pf_memset_16bit_8x8_linear_block; in impeg2d_init_thread_dec_ctxt()
1095 ps_dec_thd->pf_copy_yuv420p_buf = ps_dec->pf_copy_yuv420p_buf; in impeg2d_init_thread_dec_ctxt()
1096 ps_dec_thd->pf_fmt_conv_yuv420p_to_yuv422ile = ps_dec->pf_fmt_conv_yuv420p_to_yuv422ile; in impeg2d_init_thread_dec_ctxt()
1097 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()
1098 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()
1101 …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()
1102 …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()
1103 ps_dec_thd->pu1_inv_scan_matrix = ps_dec->pu1_inv_scan_matrix; in impeg2d_init_thread_dec_ctxt()
1106 ps_dec_thd->u2_progressive_sequence = ps_dec->u2_progressive_sequence; in impeg2d_init_thread_dec_ctxt()
1107 ps_dec_thd->e_pic_type = ps_dec->e_pic_type; in impeg2d_init_thread_dec_ctxt()
1108 ps_dec_thd->u2_full_pel_forw_vector = ps_dec->u2_full_pel_forw_vector; in impeg2d_init_thread_dec_ctxt()
1109 ps_dec_thd->u2_forw_f_code = ps_dec->u2_forw_f_code; in impeg2d_init_thread_dec_ctxt()
1110 ps_dec_thd->u2_full_pel_back_vector = ps_dec->u2_full_pel_back_vector; in impeg2d_init_thread_dec_ctxt()
1111 ps_dec_thd->u2_back_f_code = ps_dec->u2_back_f_code; in impeg2d_init_thread_dec_ctxt()
1113 memcpy(ps_dec_thd->ai2_mv, ps_dec->ai2_mv, (2*2*2)*sizeof(WORD16)); in impeg2d_init_thread_dec_ctxt()
1114 memcpy(ps_dec_thd->au2_f_code, ps_dec->au2_f_code, (2*2)*sizeof(UWORD16)); in impeg2d_init_thread_dec_ctxt()
1115 ps_dec_thd->u2_intra_dc_precision = ps_dec->u2_intra_dc_precision; in impeg2d_init_thread_dec_ctxt()
1116 ps_dec_thd->u2_picture_structure = ps_dec->u2_picture_structure; in impeg2d_init_thread_dec_ctxt()
1117 ps_dec_thd->u2_top_field_first = ps_dec->u2_top_field_first; in impeg2d_init_thread_dec_ctxt()
1118 ps_dec_thd->u2_frame_pred_frame_dct = ps_dec->u2_frame_pred_frame_dct; in impeg2d_init_thread_dec_ctxt()
1119 ps_dec_thd->u2_concealment_motion_vectors = ps_dec->u2_concealment_motion_vectors; in impeg2d_init_thread_dec_ctxt()
1120 ps_dec_thd->u2_q_scale_type = ps_dec->u2_q_scale_type; in impeg2d_init_thread_dec_ctxt()
1121 ps_dec_thd->u2_intra_vlc_format = ps_dec->u2_intra_vlc_format; in impeg2d_init_thread_dec_ctxt()
1122 ps_dec_thd->u2_alternate_scan = ps_dec->u2_alternate_scan; in impeg2d_init_thread_dec_ctxt()
1123 ps_dec_thd->u2_repeat_first_field = ps_dec->u2_repeat_first_field; in impeg2d_init_thread_dec_ctxt()
1124 ps_dec_thd->u2_progressive_frame = ps_dec->u2_progressive_frame; in impeg2d_init_thread_dec_ctxt()
1125 ps_dec_thd->pu1_inp_bits_buf = ps_dec->pu1_inp_bits_buf; in impeg2d_init_thread_dec_ctxt()
1126 ps_dec_thd->u4_num_inp_bytes = ps_dec->u4_num_inp_bytes; in impeg2d_init_thread_dec_ctxt()
1127 ps_dec_thd->pv_jobq = ps_dec->pv_jobq; in impeg2d_init_thread_dec_ctxt()
1128 ps_dec_thd->pv_jobq_buf = ps_dec->pv_jobq_buf; in impeg2d_init_thread_dec_ctxt()
1129 ps_dec_thd->i4_jobq_buf_size = ps_dec->i4_jobq_buf_size; in impeg2d_init_thread_dec_ctxt()
1132 ps_dec_thd->u2_frame_rate_code = ps_dec->u2_frame_rate_code; in impeg2d_init_thread_dec_ctxt()
1133 ps_dec_thd->u2_frame_rate_extension_n = ps_dec->u2_frame_rate_extension_n; in impeg2d_init_thread_dec_ctxt()
1134 ps_dec_thd->u2_frame_rate_extension_d = ps_dec->u2_frame_rate_extension_d; in impeg2d_init_thread_dec_ctxt()
1135 ps_dec_thd->u2_framePeriod = ps_dec->u2_framePeriod; in impeg2d_init_thread_dec_ctxt()
1136 ps_dec_thd->u2_display_horizontal_size = ps_dec->u2_display_horizontal_size; in impeg2d_init_thread_dec_ctxt()
1137 ps_dec_thd->u2_display_vertical_size = ps_dec->u2_display_vertical_size; in impeg2d_init_thread_dec_ctxt()
1138 ps_dec_thd->u2_aspect_ratio_info = ps_dec->u2_aspect_ratio_info; in impeg2d_init_thread_dec_ctxt()
1140 ps_dec_thd->ps_func_bi_direct = ps_dec->ps_func_bi_direct; in impeg2d_init_thread_dec_ctxt()
1141 ps_dec_thd->ps_func_forw_or_back = ps_dec->ps_func_forw_or_back; in impeg2d_init_thread_dec_ctxt()
1142 ps_dec_thd->pv_deinterlacer_ctxt = ps_dec->pv_deinterlacer_ctxt; in impeg2d_init_thread_dec_ctxt()
1143 ps_dec_thd->ps_deint_pic = ps_dec->ps_deint_pic; in impeg2d_init_thread_dec_ctxt()
1305 dec_state_t *ps_dec_thd; in impeg2d_dec_pic_data() local
1323 ps_dec_thd = ps_dec_state_multi_core->ps_dec_state[i+1]; in impeg2d_dec_pic_data()
1325 ps_dec_thd->ps_disp_pic = ps_dec->ps_disp_pic; in impeg2d_dec_pic_data()
1326 ps_dec_thd->ps_disp_frm_buf = ps_dec->ps_disp_frm_buf; in impeg2d_dec_pic_data()
1328 i4_status = impeg2d_init_thread_dec_ctxt(ps_dec, ps_dec_thd, i4_min_mb_y); in impeg2d_dec_pic_data()
1333 …ithread_create(ps_dec_thd->pv_codec_thread_handle, NULL, (void *)impeg2d_dec_pic_data_thread, ps_d… in impeg2d_dec_pic_data()
1335 i4_min_mb_y = ps_dec_thd->u2_mb_y + 1; in impeg2d_dec_pic_data()
1351 ps_dec_thd = ps_dec_state_multi_core->ps_dec_state[i+1]; in impeg2d_dec_pic_data()
1352 ithread_join(ps_dec_thd->pv_codec_thread_handle, NULL); in impeg2d_dec_pic_data()