Home
last modified time | relevance | path

Searched refs:temporal_id (Results 1 – 25 of 42) sorted by relevance

12

/rockchip-linux_mpp/mpp/base/test/
H A Dmpp_enc_ref_test.c50 lt_ref[0].temporal_id = 0; in main()
60 st_ref[0].temporal_id = 0; in main()
66 st_ref[1].temporal_id = 3; in main()
72 st_ref[2].temporal_id = 2; in main()
78 st_ref[3].temporal_id = 3; in main()
84 st_ref[4].temporal_id = 1; in main()
90 st_ref[5].temporal_id = 3; in main()
96 st_ref[6].temporal_id = 2; in main()
102 st_ref[7].temporal_id = 3; in main()
108 st_ref[8].temporal_id = 0; in main()
[all …]
/rockchip-linux_mpp/mpp/legacy/
H A Dvpu_api_mlvec.cpp265 st_ref[0].temporal_id = 0; in vpu_api_mlvec_set_dy_max_tid()
278 st_ref[0].temporal_id = 0; in vpu_api_mlvec_set_dy_max_tid()
284 st_ref[1].temporal_id = 1; in vpu_api_mlvec_set_dy_max_tid()
290 st_ref[2].temporal_id = 0; in vpu_api_mlvec_set_dy_max_tid()
303 st_ref[0].temporal_id = 0; in vpu_api_mlvec_set_dy_max_tid()
309 st_ref[1].temporal_id = 2; in vpu_api_mlvec_set_dy_max_tid()
315 st_ref[2].temporal_id = 1; in vpu_api_mlvec_set_dy_max_tid()
321 st_ref[3].temporal_id = 2; in vpu_api_mlvec_set_dy_max_tid()
327 st_ref[4].temporal_id = 0; in vpu_api_mlvec_set_dy_max_tid()
340 st_ref[0].temporal_id = 0; in vpu_api_mlvec_set_dy_max_tid()
[all …]
/rockchip-linux_mpp/mpp/base/
H A Dmpp_enc_ref.c133 ref, p->lt_cfg_cnt, frm->lt_idx, frm->temporal_id, in mpp_enc_ref_cfg_add_lt_cfg()
153 ref, p->st_cfg_cnt, frm->is_non_ref, frm->temporal_id, in mpp_enc_ref_cfg_add_st_cfg()
187 RK_S32 temporal_id = cfg->temporal_id; in mpp_enc_ref_cfg_check() local
213 if (temporal_id != 0) { in mpp_enc_ref_cfg_check()
215 ref, pos, temporal_id); in mpp_enc_ref_cfg_check()
242 RK_S32 temporal_id = cfg->temporal_id; in mpp_enc_ref_cfg_check() local
243 RK_U32 tid_mask = 1 << temporal_id; in mpp_enc_ref_cfg_check()
246 if (temporal_id > MPP_ENC_MAX_TEMPORAL_LAYER_NUM - 1) { in mpp_enc_ref_cfg_check()
248 ref, pos, temporal_id); in mpp_enc_ref_cfg_check()
273 if (temporal_id > 0) { in mpp_enc_ref_cfg_check()
[all …]
H A Dmpp_enc_refs.c115 frm->temporal_id, frm->ref_mode, frm->ref_arg); in _dump_frm()
120 frm->temporal_id, frm->ref_mode, frm->ref_arg, in _dump_frm()
126 frm->temporal_id, frm->ref_mode, frm->ref_arg); in _dump_frm()
245 lt_cnt->tid = lt_cfg->temporal_id; in mpp_enc_refs_set_cfg()
303 frm->temporal_id = st_cfg->temporal_id; in set_st_cfg_to_frm()
331 frm->temporal_id = lt_cfg->tid; in set_lt_cfg_to_frm()
479 mpp_assert(ref->temporal_id >= 0); in save_cpb_status()
497 RK_S32 tid = frm->temporal_id; in store_ref_to_cpb()
872 frm->temporal_id = 0; in mpp_enc_refs_get_cpb()
886 frm->temporal_id = usr_cfg->force_temporal_id; in mpp_enc_refs_get_cpb()
[all …]
/rockchip-linux_mpp/utils/
H A Dmpi_enc_utils.c958 lt_ref[0].temporal_id = 0; in mpi_enc_gen_ref_cfg()
967 st_ref[0].temporal_id = 0; in mpi_enc_gen_ref_cfg()
973 st_ref[1].temporal_id = 3; in mpi_enc_gen_ref_cfg()
979 st_ref[2].temporal_id = 2; in mpi_enc_gen_ref_cfg()
985 st_ref[3].temporal_id = 3; in mpi_enc_gen_ref_cfg()
991 st_ref[4].temporal_id = 1; in mpi_enc_gen_ref_cfg()
997 st_ref[5].temporal_id = 3; in mpi_enc_gen_ref_cfg()
1003 st_ref[6].temporal_id = 2; in mpi_enc_gen_ref_cfg()
1009 st_ref[7].temporal_id = 3; in mpi_enc_gen_ref_cfg()
1015 st_ref[8].temporal_id = 0; in mpi_enc_gen_ref_cfg()
[all …]
/rockchip-linux_mpp/mpp/hal/common/h265/
H A Dhal_h265e_stream_amend.c23 if (syn->sp.temporal_id) in hal_h265e_amend_temporal_id()
24 stream_ptr[5] = (stream_ptr[5] & 0xf8) | ((syn->sp.temporal_id + 1) & 0x7); in hal_h265e_amend_temporal_id()
/rockchip-linux_mpp/kmpp/base/inc/
H A Dkmpp_packet.h17 ENTRY(prefix, u32, rk_u32, temporal_id, FLAG_NONE, temporal_id) \
H A Dkmpp_packet_impl.h52 rk_u32 temporal_id; member
/rockchip-linux_mpp/mpp/codec/enc/h265/
H A Dh265e_header_gen.h75 RK_S32 temporal_id; member
86 RK_S32 temporal_id; member
H A Dh265e_syntax.c29 if (sp->temporal_id > 0) { in h265e_get_nal_type()
197 sp->temporal_id = slice->temporal_id; in fill_slice_parameters()
H A Dh265e_slice.c273 slice->temporal_id = p->dpb->curr->status.temporal_id; in h265e_slice_init()
742 static void h265e_write_nal(MppWriteCtx *bitIf, RK_S32 temporal_id) in h265e_write_nal() argument
751 mpp_writer_put_bits(bitIf, temporal_id + 1, 3); //nuh_temporal_id_plus1 in h265e_write_nal()
817 h265e_write_nal(bitIf, slice->temporal_id); in h265e_code_skip_tile()
H A Dh265e_header_gen.c76 mpp_writer_put_bits(&s, nal->temporal_id + 1, 3); //nuh_temporal_id_plus1 in h265e_nal_encode()
654 nal->temporal_id = out->temporal_id; in h265e_nal_start()
715 info->temporal_id = 0; in h265e_set_extra_info()
/rockchip-linux_mpp/inc/
H A Drk_venc_ref.h186 RK_S32 temporal_id; /* temporal_id of the reference frame */ member
195 RK_S32 temporal_id; member
H A Dmpp_rc_defs.h96 RK_U32 temporal_id : 4; member
/rockchip-linux_mpp/mpp/codec/dec/av1/
H A Dav1d_parser.c566 f->spatial_id = f->temporal_id = 0; in av1d_frame_unref()
636 dst->temporal_id = src->temporal_id; in av1d_frame_ref()
1050 s->cur_frame.temporal_id = header->temporal_id; in av1d_parser_frame()
1223 RK_S32 *temporal_id, RK_S32 *spatial_id) in parse_obu_header() argument
1241 mpp_read_bits(&gb, 3, temporal_id); in parse_obu_header()
1245 *temporal_id = *spatial_id = 0; in parse_obu_header()
1268 RK_S32 start_pos, type, temporal_id, spatial_id; in av1_extract_obu() local
1272 &type, &temporal_id, &spatial_id); in av1_extract_obu()
1277 obu->temporal_id = temporal_id; in av1_extract_obu()
1286 obu->type, obu->temporal_id, obu->spatial_id, obu->size); in av1_extract_obu()
H A Dav1d_parser.h72 RK_S32 temporal_id; member
103 RK_S32 temporal_id; member
H A Dav1d_codec.h54 int temporal_id; member
/rockchip-linux_mpp/test/
H A Dmpi_dec_mt_test.c189 RK_S32 temporal_id = 0; in thread_output() local
191 mpp_meta_get_s32(meta, KEY_TEMPORAL_ID, &temporal_id); in thread_output()
194 " tid %d", temporal_id); in thread_output()
H A Dmpi_dec_nt_test.c183 RK_S32 temporal_id = 0; in dec_loop() local
185 mpp_meta_get_s32(meta, KEY_TEMPORAL_ID, &temporal_id); in dec_loop()
188 " tid %d", temporal_id); in dec_loop()
H A Dmpi_dec_test.c188 RK_S32 temporal_id = 0; in dec_simple() local
190 mpp_meta_get_s32(meta, KEY_TEMPORAL_ID, &temporal_id); in dec_simple()
193 " tid %d", temporal_id); in dec_simple()
/rockchip-linux_mpp/mpp/common/
H A Dh264e_syntax.h51 RK_S32 temporal_id; member
/rockchip-linux_mpp/mpp/codec/dec/h264/
H A Dh264d_global.h203 RK_S32 temporal_id; //!< temporal identifier for the NAL unit member
222 RK_U32 temporal_id; member
233 RK_U32 temporal_id; member
470 RK_S8 *temporal_id; member
672 RK_S32 *temporal_id; member
825 RK_S32 temporal_id; // temporal identifier for the NAL unit member
/rockchip-linux_mpp/mpp/codec/enc/h264/
H A Dh264e_dpb.c62 status->temporal_id, in h264e_dpb_dump_frm()
82 status->temporal_id, in h264e_dpb_dump_listX()
180 mpp_assert(p->temporal_id == frm->temporal_id); in find_cpb_frame()
388 frm->status.is_lt_ref, frm->status.temporal_id); in h264e_dpb_build_marking()
H A Dh264e_api_v2.c533 prefix->priority_id = h264->base_layer_pid + frm->temporal_id; in h264e_proc_hal()
537 prefix->temporal_id = frm->temporal_id; in h264e_proc_hal()
543 mpp_meta_set_s32(meta, KEY_TEMPORAL_ID, frm->temporal_id); in h264e_proc_hal()
/rockchip-linux_mpp/mpp/codec/dec/h265/
H A Dh265d_parser.c895 if (s->temporal_id == 0 && in hls_slice_header()
1144 READ_BITS(gb, 3, &s->temporal_id); in hls_nal_unit()
1146 s->temporal_id = s->temporal_id - 1; in hls_nal_unit()
1150 s->nal_unit_type, s->nuh_layer_id, s->temporal_id); in hls_nal_unit()
1152 if (s->temporal_id < 0) in hls_nal_unit()
1356 if (s->temporal_id > s->temporal_layer_id) in parser_nal_unit()
1789 RK_S32 value, nal_unit_type, nuh_layer_id, temporal_id; in check_rpus() local
1797 READ_BITS((&gb), 3, &temporal_id); in check_rpus()

12