Home
last modified time | relevance | path

Searched refs:slice_type (Results 1 – 25 of 32) sorted by relevance

12

/OK3568_Linux_fs/external/mpp/mpp/codec/dec/h264/
H A Dh264d_slice.c51 … if ((currSlice->slice_type % 5) != H264_I_SLICE && (currSlice->slice_type % 5) != H264_SI_SLICE) { in ref_pic_list_mvc_modification()
77 if (currSlice->slice_type % 5 == H264_B_SLICE) { in ref_pic_list_mvc_modification()
140 …if ((currSlice->slice_type == H264_B_SLICE) && currSlice->p_Vid->active_pps->weighted_bipred_idc =… in pred_weight_table()
251 if (currSlice->slice_type == H264_I_SLICE) { in init_slice_parmeters()
410 p_Vid->type = currSlice->slice_type; in set_slice_user_parmeters()
468 p_Vid->slice_type = currSlice->slice_type = temp % 5; in process_slice()
469 if (p_Vid->slice_type == H264_SP_SLICE || p_Vid->slice_type == H264_SI_SLICE) { in process_slice()
550 if (currSlice->slice_type == H264_B_SLICE) { in process_slice()
558 if (currSlice->slice_type == H264_P_SLICE in process_slice()
559 || currSlice->slice_type == H264_SP_SLICE || currSlice->slice_type == H264_B_SLICE) { in process_slice()
[all …]
H A Dh264d_init.c286 p_stored_pic->slice_type = p_pic->slice_type; in clone_storable_picture()
554 impl->status.is_intra = dec_pic->slice_type == H264_I_SLICE; in dpb_mark_malloc()
558 impl->status.is_b_frame = ((dec_pic->slice_type % 5) == H264_B_SLICE); in dpb_mark_malloc()
581 cur_mark->slot_idx, dec_pic->slice_type, dec_pic->structure, in dpb_mark_malloc()
600 if (p_last && dec_pic && (dec_pic->slice_type != H264_I_SLICE) in check_dpb_discontinuous()
619 …p_last->slice_type, dec_pic->slice_type, p_last->frame_num, dec_pic->frame_num, p_last->poc, dec_p… in check_dpb_discontinuous()
682 dec_pic->slice_type = p_Vid->type; in alloc_decpic()
1512 if (H264_I_SLICE == currSlice->slice_type) { in check_refer_picture_lists()
1518 if ((currSlice->slice_type % 5) != H264_I_SLICE in check_refer_picture_lists()
1519 && (currSlice->slice_type % 5) != H264_SI_SLICE) { in check_refer_picture_lists()
[all …]
H A Dh264d_global.h327 RK_S32 slice_type; member
377 RK_S32 slice_type; member
764 RK_S32 slice_type; //!< slice type member
1000 RK_S32 slice_type; member
H A Dh264d_dpb.c868 if ((p->slice_type % 5) == H264_B_SLICE) in write_picture()
1209 fs_top->slice_type = fs_btm->slice_type = frame->slice_type; in dpb_split_field()
1236 fs->frame->slice_type = fs->slice_type; in dpb_combine_field()
1769 fs->slice_type = p->slice_type; in insert_picture_in_dpb()
H A Dh264d_fill.c297 p_long->slice_type = currSlice->slice_type; in fill_slice_syntax()
/OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h265d/
H A Dhal_h265d_com.c230 RK_U8 nb_list = sh->slice_type == B_SLICE ? 2 : 1; in hal_h265d_slice_rpl()
469 READ_UE(gb, &sh.slice_type); in hal_h265d_slice_output_rps()
470 if (!(sh.slice_type == I_SLICE || in hal_h265d_slice_output_rps()
471 sh.slice_type == P_SLICE || in hal_h265d_slice_output_rps()
472 sh.slice_type == B_SLICE)) { in hal_h265d_slice_output_rps()
474 sh.slice_type); in hal_h265d_slice_output_rps()
569 if (sh.slice_type == P_SLICE || sh.slice_type == B_SLICE) { in hal_h265d_slice_output_rps()
572 if (sh.slice_type == B_SLICE) in hal_h265d_slice_output_rps()
580 if (sh.slice_type == B_SLICE) { in hal_h265d_slice_output_rps()
613 if (sh.slice_type == B_SLICE) { in hal_h265d_slice_output_rps()
[all …]
H A Dhal_h265d_com.h85 enum SliceType slice_type; member
/OK3568_Linux_fs/kernel/include/media/
H A Dh264-ctrls.h124 ((slice)->slice_type == V4L2_H264_SLICE_TYPE_P || \
125 (slice)->slice_type == V4L2_H264_SLICE_TYPE_SP)) || \
127 (slice)->slice_type == V4L2_H264_SLICE_TYPE_B))
161 __u8 slice_type; member
H A Dhevc-ctrls.h174 __u8 slice_type; member
/OK3568_Linux_fs/external/mpp/mpp/codec/enc/h264/
H A Dh264e_slice.c63 slice->slice_type = (is_idr) ? (H264_I_SLICE) : (H264_P_SLICE); in h264e_slice_update()
312 ret |= mpp_read_ue(&bit, &slice->slice_type); in h264e_slice_read()
314 bit.used_bits, slice->slice_type); in h264e_slice_read()
345 if (slice->slice_type == H264_P_SLICE) { in h264e_slice_read()
485 if (slice->entropy_coding_mode && slice->slice_type != H264_I_SLICE) { in h264e_slice_read()
579 mpp_writer_put_ue(s, slice->slice_type); in h264e_slice_write_header()
581 mpp_writer_bits(s), slice->slice_type); in h264e_slice_write_header()
623 if (slice->slice_type == H264_P_SLICE) { in h264e_slice_write_header()
693 if (slice->entropy_coding_mode && slice->slice_type != H264_I_SLICE) { in h264e_slice_write_header()
H A Dh264e_slice.h106 RK_U32 slice_type; member
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/h265/
H A Dh265d_parser.c373 if (s->sh.slice_type == B_SLICE) { in pred_weight_table()
536 if (openhevc_sh->slice_type != sh->slice_type) { in compare_sliceheader()
804 READ_UE(gb, &sh->slice_type); in hls_slice_header()
805 if (!(sh->slice_type == I_SLICE || in hls_slice_header()
806 sh->slice_type == P_SLICE || in hls_slice_header()
807 sh->slice_type == B_SLICE)) { in hls_slice_header()
809 sh->slice_type); in hls_slice_header()
812 if (!s->decoder_id && IS_IRAP(s) && sh->slice_type != I_SLICE) { in hls_slice_header()
908 if (sh->slice_type == P_SLICE || sh->slice_type == B_SLICE) { in hls_slice_header()
912 if (sh->slice_type == B_SLICE) in hls_slice_header()
[all …]
H A Dh265d_refs.c370 if (s->sh.slice_type == I_SLICE) { in mpp_hevc_frame_nb_refs()
H A Dh265d_parser.h357 SliceType slice_type; member
/OK3568_Linux_fs/kernel/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_h264.c374 if ((slice->slice_type == V4L2_H264_SLICE_TYPE_P) || in cedrus_set_params()
375 (slice->slice_type == V4L2_H264_SLICE_TYPE_SP) || in cedrus_set_params()
376 (slice->slice_type == V4L2_H264_SLICE_TYPE_B)) in cedrus_set_params()
379 if (slice->slice_type == V4L2_H264_SLICE_TYPE_B) in cedrus_set_params()
424 reg |= (slice->slice_type & 0xf) << 8; in cedrus_set_params()
H A Dcedrus_h265.c456 VE_DEC_H265_DEC_SLICE_HDR_INFO0_SLICE_TYPE(slice_params->slice_type); in cedrus_h265_setup()
550 if (slice_params->slice_type != V4L2_HEVC_SLICE_TYPE_I) { in cedrus_h265_setup()
569 if (slice_params->slice_type == V4L2_HEVC_SLICE_TYPE_B) { in cedrus_h265_setup()
/OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/h264e/
H A Dhal_h264e_vepu541.c552 regs->reg013.lamb_mod_sel = (slice->slice_type == H264_I_SLICE) ? 0 : 1; in setup_vepu541_codec()
574 regs->reg106.sli_type = (slice->slice_type == H264_I_SLICE) ? (2) : (0); in setup_vepu541_codec()
581 …regs->reg107.idr_pic_id = (slice->slice_type == H264_I_SLICE) ? slice->idr_pic_id : (RK_U32)(-… in setup_vepu541_codec()
636 if (slice->slice_type == H264_I_SLICE) { in setup_vepu541_codec()
765 if (slice->slice_type == H264_I_SLICE) { in setup_vepu541_rdo_pred()
831 regs->reg051.rc_qp_range = (slice->slice_type == H264_I_SLICE) ? in setup_vepu541_rc_base()
1287 if (slice->slice_type == H264_I_SLICE) { in setup_vepu541_me()
1436 if (slice->slice_type == H264_I_SLICE) { in setup_vepu541_l2()
1507 if (slice->slice_type == H264_I_SLICE) { in setup_vepu541_l2()
H A Dhal_h264e_vepu580.c903 regs->reg_base.synt_sli0.sli_type = (slice->slice_type == H264_I_SLICE) ? (2) : (0); in setup_vepu580_codec()
910 …regs->reg_base.synt_sli1.idr_pid = (slice->slice_type == H264_I_SLICE) ? slice->idr_pic_id … in setup_vepu580_codec()
965 if (slice->slice_type == H264_I_SLICE) { in setup_vepu580_codec()
1094 if (slice->slice_type == H264_I_SLICE) { in setup_vepu580_rdo_pred()
1349 regs->reg_base.rc_qp.rc_qp_range = (slice->slice_type == H264_I_SLICE) ? in setup_vepu580_rc_base()
1921 if (slice->slice_type == H264_I_SLICE) { in setup_vepu580_me()
1969 if (slice->slice_type == H264_I_SLICE) { in setup_vepu580_l2()
2017 if (slice->slice_type == H264_I_SLICE) { in setup_vepu580_l2()
2030 if (slice->slice_type == H264_I_SLICE) { in setup_vepu580_l2()
2096 if (slice->slice_type == H264_I_SLICE) { in setup_vepu580_l2()
[all …]
H A Dhal_h264e_vepu540c.c558 regs->reg_base.synt_sli0.sli_type = (slice->slice_type == H264_I_SLICE) ? (2) : (0); in setup_vepu540c_codec()
565 …regs->reg_base.synt_sli1.idr_pid = (slice->slice_type == H264_I_SLICE) ? slice->idr_pic_id … in setup_vepu540c_codec()
620 if (slice->slice_type == H264_I_SLICE) { in setup_vepu540c_codec()
749 if (slice->slice_type == H264_I_SLICE) { in setup_vepu540c_rdo_pred()
994 regs->reg_base.rc_qp.rc_qp_range = (slice->slice_type == H264_I_SLICE) ? in setup_vepu540c_rc_base()
1381 if (slice->slice_type == H264_I_SLICE) { in setup_vepu540c_l2()
1392 if (slice->slice_type == H264_I_SLICE) { in setup_vepu540c_l2()
1469 if (slice->slice_type == H264_I_SLICE) { in setup_vepu540c_l2()
H A Dhal_h264e_vepu580_tune.c151 if (slice->slice_type != H264_I_SLICE) { in vepu580_h264e_tune_reg_patch()
212 if (slice->slice_type != H264_I_SLICE) { in vepu580_h264e_tune_reg_patch()
/OK3568_Linux_fs/external/mpp/mpp/common/
H A Dh265e_syntax_new.h171 RK_U8 slice_type; member
H A Dh264d_syntax.h136 RK_U8 slice_type; member
/OK3568_Linux_fs/kernel/drivers/staging/media/allegro-dvt/
H A Dallegro-mail.h259 u32 slice_type; member
/OK3568_Linux_fs/kernel/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_enc.c1219 int slice_type; in enc_post_frame_start() local
1222 slice_type = s5p_mfc_hw_call(dev->mfc_ops, get_enc_slice_type, dev); in enc_post_frame_start()
1224 mfc_debug(2, "Encoded slice type: %d\n", slice_type); in enc_post_frame_start()
1228 if (slice_type >= 0) { in enc_post_frame_start()
1277 switch (slice_type) { in enc_post_frame_start()
/OK3568_Linux_fs/external/mpp/mpp/codec/enc/h265/
H A Dh265e_syntax.c170 sp->slice_type = slice->m_sliceType; in fill_slice_parameters()

12