Lines Matching defs:ps_dec_op
114 * @param[in] ps_dec_op
172 * @param[in] ps_dec_op
183 ivd_video_decode_op_t *ps_dec_op)
186 ps_dec_op->u4_error_code = ihevcd_map_error((IHEVCD_ERROR_T)ps_codec->i4_error_code);
187 ps_dec_op->u4_num_bytes_consumed = ps_dec_ip->u4_num_Bytes
191 ps_dec_op->u4_pic_wd = ps_codec->i4_disp_wd;
192 ps_dec_op->u4_pic_ht = ps_codec->i4_disp_ht;
196 ps_dec_op->u4_pic_wd = 0;
197 ps_dec_op->u4_pic_ht = 0;
200 ps_dec_op->e_pic_type = ps_codec->e_dec_pic_type;
201 ps_dec_op->u4_frame_decoded_flag = ps_codec->i4_pic_present;
202 ps_dec_op->u4_new_seq = 0;
204 ps_dec_op->u4_output_present = 0;
205 ps_dec_op->u4_progressive_frame_flag = 1;
206 ps_dec_op->u4_is_ref_flag = 1;
207 ps_dec_op->e_output_format = ps_codec->e_chroma_fmt;
208 ps_dec_op->u4_is_ref_flag = 1;
210 ps_dec_op->e4_fld_type = IV_FLD_TYPE_DEFAULT;
212 ps_dec_op->u4_ts = (UWORD32)(-1);
213 ps_dec_op->u4_disp_buf_id = ps_codec->i4_disp_buf_id;
216 ps_dec_op->u4_num_bytes_consumed = 0;
218 ps_dec_op->u4_is_ref_flag = 0;
219 ps_dec_op->e_pic_type = IV_NA_FRAME;
220 ps_dec_op->u4_frame_decoded_flag = 0;
228 ps_dec_op->u4_output_present = 1;
229 ps_dec_op->u4_ts = ps_disp_buf->u4_ts;
231 ps_dec_op->u4_output_present = 0;
232 ps_dec_op->s_disp_frm_buf.u4_y_wd = ps_codec->i4_disp_wd;
233 ps_dec_op->s_disp_frm_buf.u4_y_ht = ps_codec->i4_disp_ht;
237 ps_dec_op->s_disp_frm_buf.pv_y_buf = ps_disp_buf->pu1_luma;
240 ps_dec_op->s_disp_frm_buf.pv_u_buf = ps_disp_buf->pu1_chroma;
241 ps_dec_op->s_disp_frm_buf.pv_v_buf = NULL;
260 ps_dec_op->s_disp_frm_buf.pv_u_buf = pu1_u_dst;
261 ps_dec_op->s_disp_frm_buf.pv_v_buf = pu1_v_dst;
263 ps_dec_op->s_disp_frm_buf.u4_y_strd = ps_codec->i4_strd;
267 ps_dec_op->s_disp_frm_buf.pv_y_buf =
269 ps_dec_op->s_disp_frm_buf.pv_u_buf =
271 ps_dec_op->s_disp_frm_buf.pv_v_buf =
273 ps_dec_op->s_disp_frm_buf.u4_y_strd = ps_codec->i4_disp_strd;
279 ps_dec_op->s_disp_frm_buf.u4_u_strd =
280 ps_dec_op->s_disp_frm_buf.u4_y_strd;
281 ps_dec_op->s_disp_frm_buf.u4_v_strd = 0;
282 ps_dec_op->s_disp_frm_buf.u4_u_wd =
283 ps_dec_op->s_disp_frm_buf.u4_y_wd;
284 ps_dec_op->s_disp_frm_buf.u4_v_wd = 0;
285 ps_dec_op->s_disp_frm_buf.u4_u_ht =
286 ps_dec_op->s_disp_frm_buf.u4_y_ht / 2;
287 ps_dec_op->s_disp_frm_buf.u4_v_ht = 0;
291 ps_dec_op->s_disp_frm_buf.u4_u_strd =
292 ps_dec_op->s_disp_frm_buf.u4_y_strd / 2;
293 ps_dec_op->s_disp_frm_buf.u4_v_strd =
294 ps_dec_op->s_disp_frm_buf.u4_y_strd / 2;
295 ps_dec_op->s_disp_frm_buf.u4_u_wd =
296 ps_dec_op->s_disp_frm_buf.u4_y_wd / 2;
297 ps_dec_op->s_disp_frm_buf.u4_v_wd =
298 ps_dec_op->s_disp_frm_buf.u4_y_wd / 2;
299 ps_dec_op->s_disp_frm_buf.u4_u_ht =
300 ps_dec_op->s_disp_frm_buf.u4_y_ht / 2;
301 ps_dec_op->s_disp_frm_buf.u4_v_ht =
302 ps_dec_op->s_disp_frm_buf.u4_y_ht / 2;
308 ps_dec_op->u4_error_code = IHEVCD_END_OF_SEQUENCE;
348 ivd_video_decode_op_t *ps_dec_op;
357 ps_dec_op = (ivd_video_decode_op_t *)pv_api_op;
360 UWORD32 u4_size = ps_dec_op->u4_size;
361 memset(ps_dec_op, 0, sizeof(ivd_video_decode_op_t));
362 ps_dec_op->u4_size = u4_size; //Restore size field
366 ps_dec_op->u4_error_code |= 1 << IVD_FATALERROR;
367 ps_dec_op->u4_error_code |= IHEVCD_INIT_NOT_DONE;
373 ps_dec_op->u4_error_code |= 1 << IVD_FATALERROR;
374 ps_dec_op->u4_error_code |= IHEVCD_NUM_FRAMES_LIMIT_REACHED;
391 ps_dec_op->u4_error_code |= 1 << IVD_UNSUPPORTEDPARAM;
392 ps_dec_op->u4_error_code |= IVD_DEC_FRM_BS_BUF_NULL;
398 ps_dec_op->u4_num_bytes_consumed = ps_dec_ip->u4_num_Bytes;
400 ps_dec_op->u4_num_bytes_consumed = 0;
402 ps_dec_op->u4_error_code |= 1 << IVD_UNSUPPORTEDPARAM;
403 ps_dec_op->u4_error_code |= IVD_DEC_NUMBYTES_INV;
425 ps_dec_op->u4_error_code |= 1 << IVD_UNSUPPORTEDPARAM;
426 ps_dec_op->u4_error_code |= IVD_DISP_FRM_ZERO_OP_BUFS;
434 ps_dec_op->u4_error_code |= 1 << IVD_UNSUPPORTEDPARAM;
435 ps_dec_op->u4_error_code |= IVD_DISP_FRM_OP_BUF_NULL;
441 ps_dec_op->u4_error_code |= 1 << IVD_UNSUPPORTEDPARAM;
442 ps_dec_op->u4_error_code |= IVD_DISP_FRM_ZERO_OP_BUF_SIZE;
453 ps_dec_op->u4_pic_wd = ps_codec->i4_disp_wd;
454 ps_dec_op->u4_pic_ht = ps_codec->i4_disp_ht;
456 ps_dec_op->u4_new_seq = 0;
485 ps_dec_op);
487 if(1 == ps_dec_op->u4_output_present)
534 ps_dec_op->u4_error_code = IVD_DEC_REF_BUF_NULL;
535 ps_dec_op->u4_error_code |= (1 << IVD_UNSUPPORTEDPARAM);
677 ps_dec_op->u4_error_code |= 1 << IVD_FATALERROR;
678 ps_dec_op->u4_error_code |= IVD_MEM_ALLOC_FAILED;
691 ihevcd_fill_outargs(ps_codec, ps_dec_ip, ps_dec_op);
861 ihevcd_fill_outargs(ps_codec, ps_dec_ip, ps_dec_op);
863 if(1 == ps_dec_op->u4_output_present)