| /rockchip-linux_mpp/mpp/codec/dec/h264/ |
| H A D | h264d_parse.c | 229 FUN_CHECK(ret = parser_nalu_header(currSlice)); in parser_one_nalu() 248 FUN_CHECK(ret = process_slice(currSlice)); in parser_one_nalu() 253 FUN_CHECK(ret = process_sps(currSlice)); in parser_one_nalu() 328 … FUN_CHECK(ret = realloc_buffer(&p_strm->head_buf, &p_strm->head_max_size, HEAD_BUF_ADD_SIZE)); in add_empty_nalu() 404 FUN_CHECK(ret = realloc_buffer(&p_strm->head_buf, &p_strm->head_max_size, add_size)); in store_cur_nalu() 421 FUN_CHECK(ret = realloc_buffer(&p_strm->tmp_buf, &p_strm->tmp_max_size, add_size)); in store_cur_nalu() 437 … FUN_CHECK(ret = realloc_buffer(&dxva_ctx->bitstream, &dxva_ctx->max_strm_size, add_size)); in store_cur_nalu() 660 FUN_CHECK(ret = store_cur_nalu(p_Cur, p_strm, p_Dec->dxva_ctx)); in parse_prepare() 661 FUN_CHECK(ret = add_empty_nalu(p_strm)); in parse_prepare() 679 … FUN_CHECK(ret = realloc_buffer(&p_strm->nalu_buf, &p_strm->nalu_max_size, NALU_BUF_ADD_SIZE)); in parse_prepare() [all …]
|
| H A D | h264d_pps.c | 44 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 D | h264d_dpb.c | 522 …FUN_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 D | h264d_sps.c | 122 FUN_CHECK(ret = read_hrd_parameters(p_bitctx, &vui->nal_hrd_parameters)); in read_VUI() 138 FUN_CHECK(ret = read_hrd_parameters(p_bitctx, &vui->vcl_hrd_parameters)); in read_VUI() 378 FUN_CHECK(ret = sps_mvc_extension(p_bitctx, cur_subsps)); in parser_subsps_ext() 468 FUN_CHECK(ret = parser_sps(p_bitctx, cur_sps, currSlice->p_Dec)); in process_sps() 470 FUN_CHECK(ret = get_max_dec_frame_buf_size(cur_sps)); in process_sps() 548 FUN_CHECK(ret = parser_sps(p_bitctx, &cur_subsps->sps, currSlice->p_Dec)); in process_subsps() 549 FUN_CHECK(ret = parser_subsps_ext(p_bitctx, cur_subsps)); in process_subsps() 583 FUN_CHECK(ret = exit_picture(p_Vid, &p_Vid->dec_pic)); in activate_sps() 591 FUN_CHECK(ret = flush_dpb(p_Vid->p_Dpb_layer[1], 2)); in activate_sps() 592 FUN_CHECK(ret = init_dpb(p_Vid, p_Vid->p_Dpb_layer[1], 2)); in activate_sps() [all …]
|
| H A D | h264d_api.c | 267 FUN_CHECK(ret = init_dxva_ctx(&p_Dec->mem->dxva_ctx)); in init_dec_ctx() 299 FUN_CHECK(ret = flush_dpb(p_Dec->p_Vid->p_Dpb_layer[0], 1)); in h264d_flush_dpb_eos() 300 FUN_CHECK(ret = init_dpb(p_Dec->p_Vid, p_Dec->p_Vid->p_Dpb_layer[0], 1)); in h264d_flush_dpb_eos() 303 FUN_CHECK(ret = flush_dpb(p_Dec->p_Vid->p_Dpb_layer[1], 1)); in h264d_flush_dpb_eos() 304 FUN_CHECK(ret = init_dpb(p_Dec->p_Vid, p_Dec->p_Vid->p_Dpb_layer[1], 2)); in h264d_flush_dpb_eos() 305 …FUN_CHECK(ret = check_mvc_dpb(p_Dec->p_Vid, p_Dec->p_Vid->p_Dpb_layer[0], p_Dec->p_Vid->p_Dpb_laye… in h264d_flush_dpb_eos() 353 FUN_CHECK(ret = init_input_ctx(p_Dec->p_Inp, init)); in h264d_init() 354 FUN_CHECK(ret = init_cur_ctx(p_Dec->p_Cur)); in h264d_init() 355 FUN_CHECK(ret = init_vid_ctx(p_Dec->p_Vid)); in h264d_init() 356 FUN_CHECK(ret = init_dec_ctx(p_Dec)); in h264d_init() [all …]
|
| H A D | h264d_sei.c | 290 … FUN_CHECK(ret = interpret_buffering_period_info(&payload_bitctx, sei_msg, currSlice->p_Vid)); in process_sei() 293 FUN_CHECK(interpret_picture_timing_info(&payload_bitctx, sei_msg, currSlice->p_Vid)); in process_sei() 296 …FUN_CHECK(check_encoder_sei_info(&payload_bitctx, sei_msg->payload_size, &currSlice->p_Vid->deny_f… in process_sei() 302 FUN_CHECK(interpret_recovery_point(&payload_bitctx, currSlice->p_Vid)); in process_sei()
|
| H A D | h264d_slice.c | 395 FUN_CHECK(ret = activate_sps(p_Vid, cur_sps, cur_subsps)); in set_slice_user_parmeters() 396 FUN_CHECK(ret = activate_pps(p_Vid, cur_pps)); in set_slice_user_parmeters() 487 FUN_CHECK(ret = set_slice_user_parmeters(currSlice)); in process_slice() 585 FUN_CHECK(ret = ref_pic_list_mvc_modification(currSlice)); in process_slice() 589 FUN_CHECK(ret = pred_weight_table(currSlice)); in process_slice() 593 FUN_CHECK(ret = dec_ref_pic_marking(currSlice)); in process_slice()
|
| H A D | h264d_scalist.c | 312 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()
|
| H A D | h264d_init.c | 233 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() 655 FUN_CHECK(ret = decode_poc(p_Vid, currSlice)); //!< calculate POC in alloc_decpic() 682 FUN_CHECK(ret = init_mvc_picture(currSlice)); in alloc_decpic() 729 FUN_CHECK(ret = dpb_mark_malloc(p_Vid, dec_pic)); in alloc_decpic() 731 FUN_CHECK(ret = check_dpb_discontinuous(p_Vid->last_pic, dec_pic, currSlice)); in alloc_decpic() 1154 FUN_CHECK(ret = append_interview_list(p_Vid->p_Dpb_layer[1], currSlice->structure, 0, in init_lists_p_slice_mvc() 1161 FUN_CHECK(ret = append_interview_list(p_Vid->p_Dpb_layer[1], currSlice->structure, 0, in init_lists_p_slice_mvc() 1323 FUN_CHECK(ret = append_interview_list(p_Vid->p_Dpb_layer[1], currSlice->structure, 0, in init_lists_b_slice_mvc() 1325 FUN_CHECK(ret = append_interview_list(p_Vid->p_Dpb_layer[1], currSlice->structure, 1, in init_lists_b_slice_mvc() [all …]
|
| /rockchip-linux_mpp/mpp/hal/common/av1/ |
| H A D | hal_av1d_api_v2.c | 78 FUN_CHECK(ret = mpp_buffer_group_get_internal in hal_av1d_init() 90 FUN_CHECK(ret = mpp_buffer_group_get_internal in hal_av1d_init() 94 FUN_CHECK(ret = p_hal->api->init(hal, cfg)); in hal_av1d_init() 107 FUN_CHECK(ret = p_hal->api->deinit(hal)); in hal_av1d_deinit() 115 FUN_CHECK(ret = mpp_buffer_group_put(p_hal->buf_group)); in hal_av1d_deinit()
|
| H A D | hal_av1d_common.h | 112 #define FUN_CHECK(val)\ macro
|
| /rockchip-linux_mpp/mpp/hal/rkdec/avs2d/ |
| H A D | hal_avs2d_api.c | 52 FUN_CHECK(ret = p_hal->hal_api->deinit(hal)); in hal_avs2d_deinit() 55 FUN_CHECK(ret = mpp_buffer_group_put(p_hal->buf_group)); in hal_avs2d_deinit() 119 FUN_CHECK(ret = mpp_buffer_group_get_internal(&p_hal->buf_group, MPP_BUFFER_TYPE_ION)); in hal_avs2d_init() 122 FUN_CHECK(ret = api->init(hal, cfg)); in hal_avs2d_init()
|
| H A D | hal_avs2d_global.h | 51 #define FUN_CHECK(val)\ macro
|
| /rockchip-linux_mpp/mpp/hal/rkdec/avsd/ |
| H A D | hal_avsd_api.c | 123 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() 172 FUN_CHECK(ret = p_hal->hal_api.init(decoder, cfg)); in hal_avsd_init()
|
| H A D | hal_avsd_base.h | 62 #define FUN_CHECK(val)\ macro
|
| H A D | hal_avsd_vdpu1.c | 462 FUN_CHECK(ret = set_regs_parameters(p_hal, &task->dec)); in repeat_other_field() 487 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, &p_hal->mv_buf, buf_size)); in hal_avsd_vdpu1_init() 554 FUN_CHECK(ret = set_regs_parameters(p_hal, &task->dec)); in hal_avsd_vdpu1_gen_regs()
|
| /rockchip-linux_mpp/mpp/hal/rkdec/h264d/ |
| H A D | hal_h264d_api.c | 349 FUN_CHECK(ret = mpp_buffer_group_get_internal in hal_h264d_init() 354 FUN_CHECK(ret = p_hal->hal_api->init(hal, cfg)); in hal_h264d_init() 373 FUN_CHECK(ret = p_hal->hal_api->deinit(hal)); in hal_h264d_deinit() 381 FUN_CHECK(ret = mpp_buffer_group_put(p_hal->buf_group)); in hal_h264d_deinit()
|
| H A D | hal_h264d_rkv_reg.c | 553 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, in rkv_h264d_init() 555 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, in rkv_h264d_init() 562 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, in rkv_h264d_init() 564 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, in rkv_h264d_init() 566 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, in rkv_h264d_init() 578 FUN_CHECK(ret = mpp_buffer_write(reg_ctx->cabac_buf, 0, in rkv_h264d_init()
|
| H A D | hal_h264d_vdpu1.c | 761 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, ®_ctx->reg_buf[i].buf, buf_size)); in vdpu1_h264d_init() 852 FUN_CHECK(ret = adjust_input(priv, &p_hal->slice_long[0], p_hal->pp)); in vdpu1_h264d_gen_regs() 853 FUN_CHECK(ret = vdpu1_set_device_regs(p_hal, (H264dVdpu1Regs_t *)reg_ctx->regs)); in vdpu1_h264d_gen_regs() 854 FUN_CHECK(ret = vdpu1_set_pic_regs(p_hal, (H264dVdpu1Regs_t *)reg_ctx->regs)); in vdpu1_h264d_gen_regs() 855 FUN_CHECK(ret = vdpu1_set_vlc_regs(p_hal, (H264dVdpu1Regs_t *)reg_ctx->regs)); in vdpu1_h264d_gen_regs() 856 FUN_CHECK(ret = vdpu1_set_ref_regs(p_hal, (H264dVdpu1Regs_t *)reg_ctx->regs)); in vdpu1_h264d_gen_regs() 857 FUN_CHECK(ret = vdpu1_set_asic_regs(p_hal, (H264dVdpu1Regs_t *)reg_ctx->regs)); in vdpu1_h264d_gen_regs()
|
| H A D | hal_h264d_global.h | 86 #define FUN_CHECK(val)\ macro
|
| H A D | hal_h264d_vdpu2.c | 818 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, ®_ctx->reg_buf[i].buf, buf_size)); in vdpu2_h264d_init() 912 FUN_CHECK(ret = adjust_input(priv, &p_hal->slice_long[0], p_hal->pp)); in vdpu2_h264d_gen_regs() 913 FUN_CHECK(ret = set_device_regs(p_hal, (H264dVdpuRegs_t *)reg_ctx->regs)); in vdpu2_h264d_gen_regs() 914 FUN_CHECK(ret = set_pic_regs(p_hal, (H264dVdpuRegs_t *)reg_ctx->regs)); in vdpu2_h264d_gen_regs() 915 FUN_CHECK(ret = set_vlc_regs(p_hal, (H264dVdpuRegs_t *)reg_ctx->regs)); in vdpu2_h264d_gen_regs() 916 FUN_CHECK(ret = set_ref_regs(p_hal, (H264dVdpuRegs_t *)reg_ctx->regs)); in vdpu2_h264d_gen_regs() 917 FUN_CHECK(ret = set_asic_regs(p_hal, (H264dVdpuRegs_t *)reg_ctx->regs)); in vdpu2_h264d_gen_regs()
|
| /rockchip-linux_mpp/mpp/codec/dec/avs2/ |
| H A D | avs2d_ps.c | 381 FUN_CHECK(ret = parse_one_rps(bitctx, rps)); in avs2d_parse_sequence_header() 460 FUN_CHECK(ret = read_pic_alf_coeff(bitctx, ph->alf_coeff_y[i])); in parse_pic_alf_params() 478 FUN_CHECK(ret = read_pic_alf_coeff(bitctx, ph->alf_coeff_cb)); in parse_pic_alf_params() 482 FUN_CHECK(ret = read_pic_alf_coeff(bitctx, ph->alf_coeff_cr)); in parse_pic_alf_params() 572 FUN_CHECK(ret = parse_pic_alf_params(bitctx, ph)); in parse_picture_header_comm() 650 FUN_CHECK(ret = parse_one_rps(bitctx, &p_dec->frm_mgr.cur_rps)); in parse_picture_header_intra() 687 FUN_CHECK(ret = parse_picture_header_comm(p_dec)); in parse_picture_header_intra() 758 FUN_CHECK(ret = parse_one_rps(bitctx, &p_dec->frm_mgr.cur_rps)); in parse_picture_header_inter() 790 FUN_CHECK(ret = parse_picture_header_comm(p_dec)); in parse_picture_header_inter()
|
| H A D | avs2d_dpb.c | 396 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() 597 FUN_CHECK(ret = output_display_frame(p_dec, mgr->dpb[pos])); in dpb_output_next_frame() 599 FUN_CHECK(ret = dpb_remove_frame(p_dec, mgr->dpb[pos])); in dpb_output_next_frame()
|
| H A D | avs2d_parse.c | 305 FUN_CHECK(ret = parse_seq_dispay_ext_header(bitctx, &p_dec->exh)); in parse_extension_header() 312 FUN_CHECK(ret = parse_mastering_display_and_content_meta(bitctx, in parse_extension_header() 318 FUN_CHECK(ret = parse_hdr_dynamic_meta_extension(bitctx, p_dec->hdr_dynamic_meta)); in parse_extension_header()
|
| /rockchip-linux_mpp/mpp/codec/dec/avs/ |
| H A D | avsd_parse.h | 74 #define FUN_CHECK(val)\ macro
|