Home
last modified time | relevance | path

Searched refs:FUN_CHECK (Results 1 – 25 of 36) sorted by relevance

12

/OK3568_Linux_fs/external/mpp/mpp/codec/dec/h264/
H A Dh264d_parse.c228 FUN_CHECK(ret = parser_nalu_header(currSlice)); in parser_one_nalu()
241 FUN_CHECK(ret = process_slice(currSlice)); in parser_one_nalu()
248 FUN_CHECK(ret = process_sps(currSlice)); in parser_one_nalu()
323FUN_CHECK(ret = realloc_buffer(&p_strm->head_buf, &p_strm->head_max_size, HEAD_BUF_ADD_SIZE)); in add_empty_nalu()
355 FUN_CHECK(ret = realloc_buffer(&p_strm->head_buf, &p_strm->head_max_size, add_size)); in store_cur_nalu()
370FUN_CHECK(ret = realloc_buffer(&dxva_ctx->bitstream, &dxva_ctx->max_strm_size, add_size)); in store_cur_nalu()
554 FUN_CHECK(ret = store_cur_nalu(p_Cur, p_strm, p_Dec->dxva_ctx)); in parse_prepare()
555 FUN_CHECK(ret = add_empty_nalu(p_strm)); in parse_prepare()
573FUN_CHECK(ret = realloc_buffer(&p_strm->nalu_buf, &p_strm->nalu_max_size, NALU_BUF_ADD_SIZE)); in parse_prepare()
578 FUN_CHECK(ret = judge_is_new_frame(p_Cur, p_strm)); in parse_prepare()
[all …]
H A Dh264d_api.c257 FUN_CHECK(ret = init_dxva_ctx(&p_Dec->mem->dxva_ctx)); in init_dec_ctx()
289 FUN_CHECK(ret = flush_dpb(p_Dec->p_Vid->p_Dpb_layer[0], 1)); in h264d_flush_dpb_eos()
290 FUN_CHECK(ret = init_dpb(p_Dec->p_Vid, p_Dec->p_Vid->p_Dpb_layer[0], 1)); in h264d_flush_dpb_eos()
293 FUN_CHECK(ret = flush_dpb(p_Dec->p_Vid->p_Dpb_layer[1], 1)); in h264d_flush_dpb_eos()
294 FUN_CHECK(ret = init_dpb(p_Dec->p_Vid, p_Dec->p_Vid->p_Dpb_layer[1], 2)); in h264d_flush_dpb_eos()
344 FUN_CHECK(ret = init_input_ctx(p_Dec->p_Inp, init)); in h264d_init()
345 FUN_CHECK(ret = init_cur_ctx(p_Dec->p_Cur)); in h264d_init()
346 FUN_CHECK(ret = init_vid_ctx(p_Dec->p_Vid)); in h264d_init()
347 FUN_CHECK(ret = init_dec_ctx(p_Dec)); in h264d_init()
397 FUN_CHECK(ret = flush_dpb(p_Dec->p_Vid->p_Dpb_layer[0], 1)); in h264d_reset()
[all …]
H A Dh264d_dpb.c522FUN_CHECK(ret = unmark_long_term_field_for_reference_by_frame_idx(p_Dpb, structure, long_term_fram… in mm_assign_long_term_frame_idx()
720 FUN_CHECK(ret = remove_frame_from_dpb(p_Dpb, i)); in remove_unused_frame_from_dpb()
957 FUN_CHECK(ret = dpb_combine_field_yuv(p_Vid, fs, 0)); in write_unpaired_field()
977 FUN_CHECK(ret = dpb_combine_field_yuv(p_Vid, fs, 0)); in write_unpaired_field()
994 FUN_CHECK(ret = write_unpaired_field(p_Vid, &p_Vid->out_buffer)); in flush_direct_output()
1014 FUN_CHECK(ret = flush_direct_output(p_Vid)); in write_stored_frame()
1017 FUN_CHECK(ret = write_unpaired_field(p_Vid, fs)); in write_stored_frame()
1046 FUN_CHECK(ret = write_stored_frame(p_Vid, p_Dpb, p_Dpb->fs[pos])); in output_one_frame_from_dpb()
1049 FUN_CHECK(ret = remove_frame_from_dpb(p_Dpb, pos)); in output_one_frame_from_dpb()
1136 FUN_CHECK(ret = flush_dpb(p_Vid->p_Dpb_layer[0], 1)); in adaptive_memory_management()
[all …]
H A Dh264d_pps.c44 FUN_CHECK (ret = parse_scalingList(p_bitctx, H264ScalingList4x4Length, in parse_pps_calingLists()
52 FUN_CHECK(ret = parse_scalingList(p_bitctx, H264ScalingList8x8Length, in parse_pps_calingLists()
104 FUN_CHECK(ret = parse_pps_calingLists(p_bitctx, cur_sps, cur_pps)); in parser_pps()
140 FUN_CHECK(ret = parser_pps(p_bitctx, &p_Cur->sps, cur_pps)); in process_pps()
170 FUN_CHECK(ret = exit_picture(p_Vid, &p_Vid->dec_pic)); in activate_pps()
H A Dh264d_sps.c120 FUN_CHECK(ret = read_hrd_parameters(p_bitctx, &vui->nal_hrd_parameters)); in read_VUI()
136 FUN_CHECK(ret = read_hrd_parameters(p_bitctx, &vui->vcl_hrd_parameters)); in read_VUI()
367 FUN_CHECK(ret = sps_mvc_extension(p_bitctx, cur_subsps)); in parser_subsps_ext()
457 FUN_CHECK(ret = parser_sps(p_bitctx, cur_sps, currSlice->p_Dec)); in process_sps()
459 FUN_CHECK(ret = get_max_dec_frame_buf_size(cur_sps)); in process_sps()
537 FUN_CHECK(ret = parser_sps(p_bitctx, &cur_subsps->sps, currSlice->p_Dec)); in process_subsps()
538 FUN_CHECK(ret = parser_subsps_ext(p_bitctx, cur_subsps)); in process_subsps()
572 FUN_CHECK(ret = exit_picture(p_Vid, &p_Vid->dec_pic)); in activate_sps()
580 FUN_CHECK(ret = flush_dpb(p_Vid->p_Dpb_layer[1], 2)); in activate_sps()
581 FUN_CHECK(ret = init_dpb(p_Vid, p_Vid->p_Dpb_layer[1], 2)); in activate_sps()
[all …]
H A Dh264d_sei.c270FUN_CHECK(ret = interpret_buffering_period_info(&payload_bitctx, sei_msg, currSlice->p_Vid)); in process_sei()
273 FUN_CHECK(interpret_picture_timing_info(&payload_bitctx, sei_msg, currSlice->p_Vid)); in process_sei()
276FUN_CHECK(check_encoder_sei_info(&payload_bitctx, sei_msg->payload_size, &currSlice->p_Vid->deny_f… in process_sei()
282 FUN_CHECK(interpret_recovery_point(&payload_bitctx, currSlice->p_Vid)); in process_sei()
H A Dh264d_slice.c383 FUN_CHECK(ret = activate_sps(p_Vid, cur_sps, cur_subsps)); in set_slice_user_parmeters()
384 FUN_CHECK(ret = activate_pps(p_Vid, cur_pps)); in set_slice_user_parmeters()
475 FUN_CHECK(ret = set_slice_user_parmeters(currSlice)); in process_slice()
573 FUN_CHECK(ret = ref_pic_list_mvc_modification(currSlice)); in process_slice()
577 FUN_CHECK(ret = pred_weight_table(currSlice)); in process_slice()
581 FUN_CHECK(ret = dec_ref_pic_marking(currSlice)); in process_slice()
H A Dh264d_init.c233 FUN_CHECK(ret = insert_picture_in_dpb(p_Vid, fs, p, 0)); in store_proc_picture_in_dpb()
373 FUN_CHECK(ret = store_proc_picture_in_dpb(currSlice->p_Dpb, p_clone)); in init_mvc_picture()
642 FUN_CHECK(ret = decode_poc(p_Vid, currSlice)); //!< calculate POC in alloc_decpic()
669 FUN_CHECK(ret = init_mvc_picture(currSlice)); in alloc_decpic()
716 FUN_CHECK(ret = dpb_mark_malloc(p_Vid, dec_pic)); in alloc_decpic()
717 FUN_CHECK(ret = check_dpb_discontinuous(p_Vid->last_pic, dec_pic, currSlice)); in alloc_decpic()
1139 FUN_CHECK(ret = append_interview_list(p_Vid->p_Dpb_layer[1], currSlice->structure, 0, in init_lists_p_slice_mvc()
1146 FUN_CHECK(ret = append_interview_list(p_Vid->p_Dpb_layer[1], currSlice->structure, 0, in init_lists_p_slice_mvc()
1308 FUN_CHECK(ret = append_interview_list(p_Vid->p_Dpb_layer[1], currSlice->structure, 0, in init_lists_b_slice_mvc()
1310 FUN_CHECK(ret = append_interview_list(p_Vid->p_Dpb_layer[1], currSlice->structure, 1, in init_lists_b_slice_mvc()
[all …]
H A Dh264d_scalist.c312 FUN_CHECK(ret = parse_scalingList(p_bitctx, H264ScalingList4x4Length, in parse_sps_scalinglists()
320 FUN_CHECK(ret = parse_scalingList(p_bitctx, H264ScalingList8x8Length, in parse_sps_scalinglists()
/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/av1d/
H A Dhal_av1d_api.c68 FUN_CHECK(ret = mpp_buffer_group_get_internal in hal_av1d_init()
80 FUN_CHECK(ret = mpp_buffer_group_get_internal in hal_av1d_init()
84 FUN_CHECK(ret = p_hal->api->init(hal, cfg)); in hal_av1d_init()
97 FUN_CHECK(ret = p_hal->api->deinit(hal)); in hal_av1d_deinit()
105 FUN_CHECK(ret = mpp_buffer_group_put(p_hal->buf_group)); in hal_av1d_deinit()
H A Dhal_av1d_common.h113 #define FUN_CHECK(val)\ macro
/OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/avs2d/
H A Dhal_avs2d_api.c51 FUN_CHECK(ret = p_hal->hal_api.deinit(hal)); in hal_avs2d_deinit()
54 FUN_CHECK(ret = mpp_buffer_group_put(p_hal->buf_group)); in hal_avs2d_deinit()
122 FUN_CHECK(ret = mpp_buffer_group_get_internal(&p_hal->buf_group, MPP_BUFFER_TYPE_ION)); in hal_avs2d_init()
125 FUN_CHECK(ret = p_api->init(hal, cfg)); in hal_avs2d_init()
H A Dhal_avs2d_global.h62 #define FUN_CHECK(val)\ macro
/OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/avsd/
H A Dhal_avsd_api.c123 FUN_CHECK(ret = p_hal->hal_api.deinit(decoder)); in hal_avsd_deinit()
132 FUN_CHECK(ret = mpp_buffer_group_put(p_hal->buf_group)); in hal_avsd_deinit()
165 FUN_CHECK(ret = mpp_buffer_group_get_internal(&p_hal->buf_group, MPP_BUFFER_TYPE_ION)); in hal_avsd_init()
167 FUN_CHECK(ret = init_hard_platform(p_hal, cfg->coding)); in hal_avsd_init()
170 FUN_CHECK(ret = p_hal->hal_api.init(decoder, cfg)); in hal_avsd_init()
H A Dhal_avsd_base.h62 #define FUN_CHECK(val)\ macro
H A Dhal_avsd_vdpu2.c456 FUN_CHECK(ret = set_regs_parameters(p_hal, &task->dec)); in repeat_other_field()
482 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, &p_hal->mv_buf, buf_size)); in hal_avsd_vdpu2_init()
549 FUN_CHECK(ret = set_regs_parameters(p_hal, &task->dec)); in hal_avsd_vdpu2_gen_regs()
H A Dhal_avsd_vdpu1.c461 FUN_CHECK(ret = set_regs_parameters(p_hal, &task->dec)); in repeat_other_field()
486 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, &p_hal->mv_buf, buf_size)); in hal_avsd_vdpu1_init()
552 FUN_CHECK(ret = set_regs_parameters(p_hal, &task->dec)); in hal_avsd_vdpu1_gen_regs()
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/avs2/
H A Davs2d_ps.c382 FUN_CHECK(ret = parse_one_rps(bitctx, rps)); in avs2d_parse_sequence_header()
461 FUN_CHECK(ret = read_pic_alf_coeff(bitctx, ph->alf_coeff_y[i])); in parse_pic_alf_params()
479 FUN_CHECK(ret = read_pic_alf_coeff(bitctx, ph->alf_coeff_cb)); in parse_pic_alf_params()
483 FUN_CHECK(ret = read_pic_alf_coeff(bitctx, ph->alf_coeff_cr)); in parse_pic_alf_params()
573 FUN_CHECK(ret = parse_pic_alf_params(bitctx, ph)); in parse_picture_header_comm()
651 FUN_CHECK(ret = parse_one_rps(bitctx, &p_dec->frm_mgr.cur_rps)); in parse_picture_header_intra()
688 FUN_CHECK(ret = parse_picture_header_comm(p_dec)); in parse_picture_header_intra()
759 FUN_CHECK(ret = parse_one_rps(bitctx, &p_dec->frm_mgr.cur_rps)); in parse_picture_header_inter()
791 FUN_CHECK(ret = parse_picture_header_comm(p_dec)); in parse_picture_header_inter()
H A Davs2d_dpb.c396 FUN_CHECK(ret = dpb_remove_frame(p_dec, p)); in dpb_remove_scene_frame()
427 FUN_CHECK(ret = dpb_remove_frame(p_dec, p)); in dpb_remove_unused_frame()
592 FUN_CHECK(ret = output_display_frame(p_dec, mgr->dpb[pos])); in dpb_output_next_frame()
594 FUN_CHECK(ret = dpb_remove_frame(p_dec, mgr->dpb[pos])); in dpb_output_next_frame()
H A Davs2d_parse.c305 FUN_CHECK(ret = parse_seq_dispay_ext_header(bitctx, &p_dec->exh)); in parse_extension_header()
309 FUN_CHECK(ret = parse_mastering_display_and_content_meta(bitctx, in parse_extension_header()
315 FUN_CHECK(ret = parse_hdr_dynamic_meta_extension(bitctx, p_dec->hdr_dynamic_meta)); in parse_extension_header()
/OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h264d/
H A Dhal_h264d_api.c212 FUN_CHECK(ret = mpp_buffer_group_get_internal in hal_h264d_init()
217 FUN_CHECK(ret = p_api->init(hal, cfg)); in hal_h264d_init()
236 FUN_CHECK(ret = p_hal->hal_api.deinit(hal)); in hal_h264d_deinit()
244 FUN_CHECK(ret = mpp_buffer_group_put(p_hal->buf_group)); in hal_h264d_deinit()
H A Dhal_h264d_rkv_reg.c554 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, in rkv_h264d_init()
556 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, in rkv_h264d_init()
563 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, in rkv_h264d_init()
565 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, in rkv_h264d_init()
567 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, in rkv_h264d_init()
579 FUN_CHECK(ret = mpp_buffer_write(reg_ctx->cabac_buf, 0, in rkv_h264d_init()
H A Dhal_h264d_vdpu1.c759 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, &reg_ctx->reg_buf[i].buf, buf_size)); in vdpu1_h264d_init()
867 FUN_CHECK(ret = adjust_input(priv, &p_hal->slice_long[0], p_hal->pp)); in vdpu1_h264d_gen_regs()
868 FUN_CHECK(ret = vdpu1_set_device_regs(p_hal, (H264dVdpu1Regs_t *)reg_ctx->regs)); in vdpu1_h264d_gen_regs()
869 FUN_CHECK(ret = vdpu1_set_pic_regs(p_hal, (H264dVdpu1Regs_t *)reg_ctx->regs)); in vdpu1_h264d_gen_regs()
870 FUN_CHECK(ret = vdpu1_set_vlc_regs(p_hal, (H264dVdpu1Regs_t *)reg_ctx->regs)); in vdpu1_h264d_gen_regs()
871 FUN_CHECK(ret = vdpu1_set_ref_regs(p_hal, (H264dVdpu1Regs_t *)reg_ctx->regs)); in vdpu1_h264d_gen_regs()
872 FUN_CHECK(ret = vdpu1_set_asic_regs(p_hal, (H264dVdpu1Regs_t *)reg_ctx->regs)); in vdpu1_h264d_gen_regs()
H A Dhal_h264d_vdpu2.c816 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, &reg_ctx->reg_buf[i].buf, buf_size)); in vdpu2_h264d_init()
927 FUN_CHECK(ret = adjust_input(priv, &p_hal->slice_long[0], p_hal->pp)); in vdpu2_h264d_gen_regs()
928 FUN_CHECK(ret = set_device_regs(p_hal, (H264dVdpuRegs_t *)reg_ctx->regs)); in vdpu2_h264d_gen_regs()
929 FUN_CHECK(ret = set_pic_regs(p_hal, (H264dVdpuRegs_t *)reg_ctx->regs)); in vdpu2_h264d_gen_regs()
930 FUN_CHECK(ret = set_vlc_regs(p_hal, (H264dVdpuRegs_t *)reg_ctx->regs)); in vdpu2_h264d_gen_regs()
931 FUN_CHECK(ret = set_ref_regs(p_hal, (H264dVdpuRegs_t *)reg_ctx->regs)); in vdpu2_h264d_gen_regs()
932 FUN_CHECK(ret = set_asic_regs(p_hal, (H264dVdpuRegs_t *)reg_ctx->regs)); in vdpu2_h264d_gen_regs()
H A Dhal_h264d_global.h101 #define FUN_CHECK(val)\ macro

12