Lines Matching refs:ps_dec_op

187                                 ivd_video_decode_op_t *ps_dec_op)  in ihevcd_fill_outargs()  argument
190 ps_dec_op->u4_error_code = ihevcd_map_error((IHEVCD_ERROR_T)ps_codec->i4_error_code); in ihevcd_fill_outargs()
191 ps_dec_op->u4_num_bytes_consumed = ps_dec_ip->u4_num_Bytes in ihevcd_fill_outargs()
195 ps_dec_op->u4_pic_wd = ps_codec->i4_disp_wd; in ihevcd_fill_outargs()
196 ps_dec_op->u4_pic_ht = ps_codec->i4_disp_ht; in ihevcd_fill_outargs()
200 ps_dec_op->u4_pic_wd = 0; in ihevcd_fill_outargs()
201 ps_dec_op->u4_pic_ht = 0; in ihevcd_fill_outargs()
204 ps_dec_op->e_pic_type = ps_codec->e_dec_pic_type; in ihevcd_fill_outargs()
205 ps_dec_op->u4_frame_decoded_flag = ps_codec->i4_pic_present; in ihevcd_fill_outargs()
206 ps_dec_op->u4_new_seq = 0; in ihevcd_fill_outargs()
208 ps_dec_op->u4_output_present = 0; in ihevcd_fill_outargs()
209 ps_dec_op->u4_progressive_frame_flag = 1; in ihevcd_fill_outargs()
210 ps_dec_op->i4_display_index = -1; in ihevcd_fill_outargs()
211 ps_dec_op->i4_reorder_depth = -1; in ihevcd_fill_outargs()
220 ps_dec_op->u4_progressive_frame_flag = 0; in ihevcd_fill_outargs()
222 ps_dec_op->i4_reorder_depth = in ihevcd_fill_outargs()
226 ps_dec_op->u4_is_ref_flag = 1; in ihevcd_fill_outargs()
227 ps_dec_op->e_output_format = ps_codec->e_chroma_fmt; in ihevcd_fill_outargs()
228 ps_dec_op->u4_is_ref_flag = 1; in ihevcd_fill_outargs()
230 ps_dec_op->e4_fld_type = IV_FLD_TYPE_DEFAULT; in ihevcd_fill_outargs()
231 ps_dec_op->u4_ts = (UWORD32)(-1); in ihevcd_fill_outargs()
232 ps_dec_op->u4_disp_buf_id = ps_codec->i4_disp_buf_id; in ihevcd_fill_outargs()
235 ps_dec_op->u4_num_bytes_consumed = 0; in ihevcd_fill_outargs()
237 ps_dec_op->u4_is_ref_flag = 0; in ihevcd_fill_outargs()
238 ps_dec_op->e_pic_type = IV_NA_FRAME; in ihevcd_fill_outargs()
239 ps_dec_op->u4_frame_decoded_flag = 0; in ihevcd_fill_outargs()
256 ps_dec_op->e4_fld_type = IV_TOP_FLD; in ihevcd_fill_outargs()
257 ps_dec_op->u4_progressive_frame_flag = 0; in ihevcd_fill_outargs()
260 ps_dec_op->e4_fld_type = IV_BOT_FLD; in ihevcd_fill_outargs()
261 ps_dec_op->u4_progressive_frame_flag = 0; in ihevcd_fill_outargs()
265 ps_dec_op->e4_fld_type = IV_FLD_TYPE_DEFAULT; in ihevcd_fill_outargs()
266 ps_dec_op->u4_progressive_frame_flag = 1; in ihevcd_fill_outargs()
270 ps_dec_op->i4_display_index = ps_disp_buf->i4_abs_poc; in ihevcd_fill_outargs()
271 ps_dec_op->u4_output_present = 1; in ihevcd_fill_outargs()
272 ps_dec_op->u4_ts = ps_disp_buf->u4_ts; in ihevcd_fill_outargs()
274 ps_dec_op->u4_output_present = 0; in ihevcd_fill_outargs()
275 ps_dec_op->s_disp_frm_buf.u4_y_wd = ps_codec->i4_disp_wd; in ihevcd_fill_outargs()
276 ps_dec_op->s_disp_frm_buf.u4_y_ht = ps_codec->i4_disp_ht; in ihevcd_fill_outargs()
280 ps_dec_op->s_disp_frm_buf.pv_y_buf = ps_disp_buf->pu1_luma; in ihevcd_fill_outargs()
283 ps_dec_op->s_disp_frm_buf.pv_u_buf = ps_disp_buf->pu1_chroma; in ihevcd_fill_outargs()
284 ps_dec_op->s_disp_frm_buf.pv_v_buf = NULL; in ihevcd_fill_outargs()
303 ps_dec_op->s_disp_frm_buf.pv_u_buf = pu1_u_dst; in ihevcd_fill_outargs()
304 ps_dec_op->s_disp_frm_buf.pv_v_buf = pu1_v_dst; in ihevcd_fill_outargs()
306 ps_dec_op->s_disp_frm_buf.u4_y_strd = ps_codec->i4_strd; in ihevcd_fill_outargs()
310 ps_dec_op->s_disp_frm_buf.pv_y_buf = in ihevcd_fill_outargs()
312 ps_dec_op->s_disp_frm_buf.pv_u_buf = in ihevcd_fill_outargs()
314 ps_dec_op->s_disp_frm_buf.pv_v_buf = in ihevcd_fill_outargs()
316 ps_dec_op->s_disp_frm_buf.u4_y_strd = ps_codec->i4_disp_strd; in ihevcd_fill_outargs()
322 ps_dec_op->s_disp_frm_buf.u4_u_strd = in ihevcd_fill_outargs()
323 ps_dec_op->s_disp_frm_buf.u4_y_strd; in ihevcd_fill_outargs()
324 ps_dec_op->s_disp_frm_buf.u4_v_strd = 0; in ihevcd_fill_outargs()
325 ps_dec_op->s_disp_frm_buf.u4_u_wd = in ihevcd_fill_outargs()
326 ps_dec_op->s_disp_frm_buf.u4_y_wd; in ihevcd_fill_outargs()
327 ps_dec_op->s_disp_frm_buf.u4_v_wd = 0; in ihevcd_fill_outargs()
328 ps_dec_op->s_disp_frm_buf.u4_u_ht = in ihevcd_fill_outargs()
329 ps_dec_op->s_disp_frm_buf.u4_y_ht / 2; in ihevcd_fill_outargs()
330 ps_dec_op->s_disp_frm_buf.u4_v_ht = 0; in ihevcd_fill_outargs()
334 ps_dec_op->s_disp_frm_buf.u4_u_strd = in ihevcd_fill_outargs()
335 ps_dec_op->s_disp_frm_buf.u4_y_strd / 2; in ihevcd_fill_outargs()
336 ps_dec_op->s_disp_frm_buf.u4_v_strd = in ihevcd_fill_outargs()
337 ps_dec_op->s_disp_frm_buf.u4_y_strd / 2; in ihevcd_fill_outargs()
338 ps_dec_op->s_disp_frm_buf.u4_u_wd = in ihevcd_fill_outargs()
339 ps_dec_op->s_disp_frm_buf.u4_y_wd / 2; in ihevcd_fill_outargs()
340 ps_dec_op->s_disp_frm_buf.u4_v_wd = in ihevcd_fill_outargs()
341 ps_dec_op->s_disp_frm_buf.u4_y_wd / 2; in ihevcd_fill_outargs()
342 ps_dec_op->s_disp_frm_buf.u4_u_ht = in ihevcd_fill_outargs()
343 ps_dec_op->s_disp_frm_buf.u4_y_ht / 2; in ihevcd_fill_outargs()
344 ps_dec_op->s_disp_frm_buf.u4_v_ht = in ihevcd_fill_outargs()
345 ps_dec_op->s_disp_frm_buf.u4_y_ht / 2; in ihevcd_fill_outargs()
351 ps_dec_op->u4_error_code = IHEVCD_END_OF_SEQUENCE; in ihevcd_fill_outargs()
391 ivd_video_decode_op_t *ps_dec_op; in ihevcd_decode() local
402 ps_dec_op = (ivd_video_decode_op_t *)pv_api_op; in ihevcd_decode()
405 UWORD32 u4_size = ps_dec_op->u4_size; in ihevcd_decode()
406 memset(ps_dec_op, 0, sizeof(ivd_video_decode_op_t)); in ihevcd_decode()
407 ps_dec_op->u4_size = u4_size; //Restore size field in ihevcd_decode()
411 ps_dec_op->u4_error_code |= 1 << IVD_FATALERROR; in ihevcd_decode()
412 ps_dec_op->u4_error_code |= IHEVCD_INIT_NOT_DONE; in ihevcd_decode()
418 ps_dec_op->u4_error_code |= 1 << IVD_FATALERROR; in ihevcd_decode()
419 ps_dec_op->u4_error_code |= IHEVCD_NUM_FRAMES_LIMIT_REACHED; in ihevcd_decode()
436 ps_dec_op->u4_error_code |= 1 << IVD_UNSUPPORTEDPARAM; in ihevcd_decode()
437 ps_dec_op->u4_error_code |= IVD_DEC_FRM_BS_BUF_NULL; in ihevcd_decode()
443 ps_dec_op->u4_num_bytes_consumed = ps_dec_ip->u4_num_Bytes; in ihevcd_decode()
445 ps_dec_op->u4_num_bytes_consumed = 0; in ihevcd_decode()
447 ps_dec_op->u4_error_code |= 1 << IVD_UNSUPPORTEDPARAM; in ihevcd_decode()
448 ps_dec_op->u4_error_code |= IVD_DEC_NUMBYTES_INV; in ihevcd_decode()
471 ps_dec_op->u4_error_code |= 1 << IVD_UNSUPPORTEDPARAM; in ihevcd_decode()
472 ps_dec_op->u4_error_code |= IVD_DISP_FRM_ZERO_OP_BUFS; in ihevcd_decode()
480 ps_dec_op->u4_error_code |= 1 << IVD_UNSUPPORTEDPARAM; in ihevcd_decode()
481 ps_dec_op->u4_error_code |= IVD_DISP_FRM_OP_BUF_NULL; in ihevcd_decode()
487 ps_dec_op->u4_error_code |= 1 << IVD_UNSUPPORTEDPARAM; in ihevcd_decode()
488 ps_dec_op->u4_error_code |= IVD_DISP_FRM_ZERO_OP_BUF_SIZE; in ihevcd_decode()
499 ps_dec_op->u4_pic_wd = ps_codec->i4_disp_wd; in ihevcd_decode()
500 ps_dec_op->u4_pic_ht = ps_codec->i4_disp_ht; in ihevcd_decode()
502 ps_dec_op->u4_new_seq = 0; in ihevcd_decode()
535 ihevcd_fill_outargs(ps_codec, ps_dec_ip, ps_dec_op); in ihevcd_decode()
537 if(1 == ps_dec_op->u4_output_present) in ihevcd_decode()
584 ps_dec_op->u4_error_code = IVD_DEC_REF_BUF_NULL; in ihevcd_decode()
585 ps_dec_op->u4_error_code |= (1 << IVD_UNSUPPORTEDPARAM); in ihevcd_decode()
733 ps_dec_op->u4_error_code = 1 << IVD_FATALERROR; in ihevcd_decode()
734 ps_dec_op->u4_error_code |= IVD_MEM_ALLOC_FAILED; in ihevcd_decode()
939 ihevcd_fill_outargs(ps_codec, ps_dec_ip, ps_dec_op); in ihevcd_decode()
941 if(1 == ps_dec_op->u4_output_present) in ihevcd_decode()