Home
last modified time | relevance | path

Searched refs:frame_num (Results 1 – 25 of 49) sorted by relevance

12

/rockchip-linux_mpp/test/
H A Dmpi_dec_multi_test.c42 RK_S32 frame_num; member
86 if (data->frame_num < 0 || data->frame_num > data->frame_count) { in multi_dec_simple()
218 if ((data->frame_num > 0 && (data->frame_count >= data->frame_num)) || in multi_dec_simple()
219 ((data->frame_num == 0) && frm_eos)) in multi_dec_simple()
227 if ((data->frame_num > 0 && (data->frame_count >= data->frame_num)) || in multi_dec_simple()
228 ((data->frame_num == 0) && frm_eos)) { in multi_dec_simple()
333 if (data->frame_num > 0) { in multi_dec_advanced()
334 if (data->frame_count >= data->frame_num) in multi_dec_advanced()
336 } else if (data->frame_num == 0) { in multi_dec_advanced()
511 dec_ctx->frame_num = cmd->frame_num; in multi_dec_decode()
[all …]
H A Dmpi_dec_test.c38 RK_S32 frame_num; member
73 if (data->frame_num < 0 || data->frame_num > data->frame_count) { in dec_simple()
236 if ((data->frame_num > 0 && (data->frame_count >= data->frame_num)) || in dec_simple()
237 ((data->frame_num == 0) && frm_eos)) in dec_simple()
245 if ((data->frame_num > 0 && (data->frame_count >= data->frame_num)) || in dec_simple()
246 ((data->frame_num == 0) && frm_eos)) { in dec_simple()
349 if (data->frame_num > 0) { in dec_advanced()
350 if (data->frame_count >= data->frame_num) in dec_advanced()
352 } else if (data->frame_num == 0) { in dec_advanced()
548 data.frame_num = cmd->frame_num; in dec_decode()
[all …]
H A Dmpi_dec_mt_test.c43 RK_S32 frame_num; member
76 if (data->frame_num < 0 || data->frame_count < data->frame_num) { in thread_input()
213 if ((data->frame_num > 0 && (data->frame_count >= data->frame_num)) || in thread_output()
214 ((data->frame_num == 0) && frm_eos)) in thread_output()
335 data.frame_num = cmd->frame_num; in mt_dec_decode()
354 if (cmd->frame_num < 0) { in mt_dec_decode()
H A Dmpi_dec_nt_test.c38 RK_S32 frame_num; member
73 if (data->frame_num < 0 || data->frame_num > data->frame_count) { in dec_loop()
222 if (data->frame_num > 0) { in dec_loop()
224 if (data->frame_count >= data->frame_num) { in dec_loop()
413 data.frame_num = cmd->frame_num; in dec_nt_decode()
424 if (cmd->frame_num < 0) { in dec_nt_decode()
H A Dmpi_enc_mt_test.c36 RK_S32 frame_num; member
163 p->frame_num = cmd->frame_num; in mt_test_ctx_init()
164 if (cmd->type == MPP_VIDEO_CodingMJPEG && p->frame_num == 0) { in mt_test_ctx_init()
166 p->frame_num = 1; in mt_test_ctx_init()
702 if (p->frame_num < 0 || p->frm_cnt_in < p->frame_num) { in enc_test_input()
861 if (p->frame_num > 0 && p->frm_cnt_in >= p->frame_num) { in enc_test_input()
984 if (p->frame_num > 0 && p->frm_cnt_out >= p->frame_num) { in enc_test_output()
1055 if (cmd->frame_num < 0) { in enc_test_mt()
H A Dmpi_rc2_test.c818 if ((ctx->enc_cmd->frame_num > 0) && (ctx->frm_idx > ctx->enc_cmd->frame_num)) { in mpi_rc_enc()
970 if (ctx->enc_cmd->frame_num < 0) { in rc2_pre_dec_thread()
973 } else if (!ctx->enc_cmd->frame_num) { in rc2_pre_dec_thread()
981 if ((ctx->enc_cmd->frame_num > 0) && (ctx->frm_idx > ctx->enc_cmd->frame_num)) { in rc2_pre_dec_thread()
983 ctx->frm_idx, ctx->enc_cmd->frame_num); in rc2_pre_dec_thread()
H A Dmpi_enc_test.c67 RK_S32 frame_num; member
285 p->frame_num = cmd->frame_num; in test_ctx_init()
286 if (cmd->type == MPP_VIDEO_CodingMJPEG && p->frame_num == 0) { in test_ctx_init()
288 p->frame_num = 1; in test_ctx_init()
806 if (p->frame_num < 0) { in test_mpp_run()
1116 if (p->frame_num > 0 && p->frame_count >= p->frame_num) in test_mpp_run()
1325 if (cmd->frame_num < 0) { in enc_test_multi()
/rockchip-linux_mpp/mpp/codec/enc/h264/
H A Dh264e_dpb.c198 if (frm0->frame_num == frm1->frame_num) in cmp_st_list()
200 if (frm0->frame_num < frm1->frame_num) in cmp_st_list()
348 op.modification_of_pic_nums_idc = curr->frame_num > refr->frame_num ? 0 : 1; in h264e_dpb_build_list()
349 op.abs_diff_pic_num_minus1 = MPP_ABS(curr->frame_num - refr->frame_num) - 1; in h264e_dpb_build_list()
352 curr->frame_num, refr->frame_num, in h264e_dpb_build_list()
531 p->frame_num = 0; in h264e_dpb_proc()
540 p->frame_num = curr_frm_num; in h264e_dpb_proc()
568 seq_idx, i, p->frame_num, p->poc); in h264e_dpb_proc()
674 tmp->seq_idx, tmp->frame_num, tmp->poc); in h264e_dpb_check()
H A Dh264e_slice.c65 slice->frame_num = frm->frame_num; in h264e_slice_update()
323 ret |= mpp_read_bits(&bit, slice->log2_max_frame_num, &slice->frame_num); in h264e_slice_read()
325 bit.used_bits, slice->frame_num); in h264e_slice_read()
589 mpp_writer_put_bits(s, slice->frame_num, slice->log2_max_frame_num); in h264e_slice_write_header()
591 mpp_writer_bits(s), slice->frame_num); in h264e_slice_write_header()
H A Dh264e_dpb.h72 RK_S32 frame_num; member
H A Dh264e_slice.h108 RK_S32 frame_num; member
/rockchip-linux_mpp/mpp/codec/dec/h264/
H A Dh264d_init.c87 p_Vid->PreviousFrameNum = pSlice->frame_num; in decode_poc()
98 VAL_CHECK(ret, 0 == pSlice->frame_num); in decode_poc()
104 if (pSlice->frame_num < (RK_S32)p_Vid->PreviousFrameNum) { in decode_poc()
113 pSlice->AbsFrameNum = p_Vid->FrameNumOffset + pSlice->frame_num; in decode_poc()
152 p_Vid->PreviousFrameNum = pSlice->frame_num; in decode_poc()
161 VAL_CHECK(ret, 0 == pSlice->frame_num); in decode_poc()
167 if (pSlice->frame_num < (RK_S32)p_Vid->PreviousFrameNum) { in decode_poc()
172 pSlice->AbsFrameNum = p_Vid->FrameNumOffset + pSlice->frame_num; in decode_poc()
186 p_Vid->PreviousFrameNum = pSlice->frame_num; in decode_poc()
267 p_stored_pic->frame_num = p_pic->frame_num; in clone_storable_picture()
[all …]
H A Dh264d_slice.c490 … READ_BITS(p_bitctx, currSlice->active_sps->log2_max_frame_num_minus4 + 4, &currSlice->frame_num); in process_slice()
494 recovery->first_frm_id = currSlice->frame_num; in process_slice()
497 … H264D_DBG(H264D_DBG_SEI, "First recovery frame found, frame_num %d", currSlice->frame_num); in process_slice()
500 if (recovery->recovery_pic_id % p_Vid->max_frame_num < currSlice->frame_num) in process_slice()
597 … currSlice->active_pps->pic_parameter_set_id, currSlice->structure, currSlice->frame_num); in process_slice()
H A Dh264d_dpb.c148 currPicNum = p->frame_num; in get_pic_num_x()
150 currPicNum = 2 * p->frame_num + 1; in get_pic_num_x()
379 …if ((p_Dpb->last_picture != p_Dpb->fs_ltref[i]) || p_Dpb->last_picture->frame_num != curr_frame_nu… in unmark_long_term_field_for_reference_by_frame_idx()
385 if ((p_Dpb->fs_ltref[i]->frame_num) != (unsigned)(curr_pic_num >> 1)) { in unmark_long_term_field_for_reference_by_frame_idx()
401 …if ((p_Dpb->last_picture != p_Dpb->fs_ltref[i]) || p_Dpb->last_picture->frame_num != curr_frame_nu… in unmark_long_term_field_for_reference_by_frame_idx()
407 if ((p_Dpb->fs_ltref[i]->frame_num) != (unsigned)(curr_pic_num >> 1)) { in unmark_long_term_field_for_reference_by_frame_idx()
1108 p->pic_num = p->frame_num = 0; in adaptive_memory_management()
1234 fs->frame->frame_num = fs->top_field->frame_num; in dpb_combine_field()
1268 p_Vid->out_buffer.frame_num = p->pic_num; in direct_output()
1279 p_Vid->out_buffer.frame_num = p->pic_num; in direct_output()
[all …]
H A Dh264d_global.h279 RK_U16 frame_num; member
314 RK_U32 frame_num; member
378 RK_U32 frame_num; member
767 RK_S32 frame_num; member
842 RK_U8 frame_num; member
H A Dh264d_fill.c116 …ameNumList[i] = dpb_info[i].is_long_term ? dpb_info[i].long_term_frame_idx : dpb_info[i].frame_num; in fill_picparams()
168 pp->frame_num = dec_pic->frame_num; in fill_picparams()
/rockchip-linux_mpp/mpp/hal/rkdec/h264d/
H A Dhal_h264d_vdpu_com.c217 priv->new_dpb[i].frame_num = pp->FrameNumList[i]; in get_info_input()
284 old_dpb[i].long_term_frame_idx : old_dpb[i].frame_num; in refill_info_input()
351 mpp_log("=== frame_num %d ===\n", pp->frame_num); in adjust_input()
354 … i, old_dpb[i].frame_num, old_dpb[i].field_flag, old_dpb[i].top_poc, old_dpb[i].bot_poc); in adjust_input()
358 … i, new_dpb[i].frame_num, new_dpb[i].field_flag, new_dpb[i].top_poc, new_dpb[i].bot_poc); in adjust_input()
369 ((old_dpb[i].frame_num == new_dpb[j].frame_num) in adjust_input()
H A Dhal_h264d_vdpu_com.h40 RK_U16 frame_num; member
H A Dhal_h264d_vdpu2.c405 p_regs->sw112.curfrm_num = pp->frame_num; in set_vlc_regs()
493 pp->field_pic_flag || !pp->MbaffFrameFlag, pp->frame_num); in set_vlc_regs()
548 m_lists[0][i].ref_picnum = pp->FrameNumList[i] > pp->frame_num ? in set_ref_regs()
605 pp->frame_num, pp->field_pic_flag, pp->CurrPic.AssociatedFlag); in set_ref_regs()
650 num++, pp->frame_num, pp->field_pic_flag, pp->CurrPic.AssociatedFlag); in set_asic_regs()
973 p_hal->pp->frame_num); in vdpu2_h264d_start()
/rockchip-linux_mpp/mpp/vproc/vdpp/test/
H A Dhwpq_test.c44 int32_t frame_num; member
144 if (p_cmd_cfg->frame_num < 0 || frame_idx < p_cmd_cfg->frame_num) { in multi_vdpp()
213 if (p_cmd_cfg->frame_num > 0 && frame_idx >= p_cmd_cfg->frame_num) { in multi_vdpp()
395 p_cmd_cfg->frame_num = atoi(optarg); in parse_cmd()
H A Dvdpp_test.c66 RK_U32 frame_num; member
357 if (cnt >= cfg->frame_num) in vdpp_test()
599 cfg.frame_num = atoi(optarg); in main()
/rockchip-linux_mpp/utils/
H A Dmpi_dec_utils.h119 RK_S32 frame_num; member
H A Dmpi_enc_utils.h34 RK_S32 frame_num; member
/rockchip-linux_mpp/mpp/common/
H A Dh264d_syntax.h89 RK_U16 frame_num; member
377 RK_U16 frame_num; member
/rockchip-linux_mpp/mpp/hal/rkenc/jpege/
H A Dhal_jpege_vepu540c.c65 RK_U32 frame_num; member
230 ctx->frame_num++; in hal_jpege_v540c_gen_regs()

12