| /rockchip-linux_mpp/mpp/codec/dec/h265/ |
| H A D | h265d_refs.c | 48 h265d_dbg(H265D_DBG_REF, "poc %d clr ref index %d", frame->poc, frame->slot_index); in mpp_hevc_unref_frame() 51 …h265d_dbg(H265D_DBG_REF, "unref_frame poc %d frame->slot_index %d \n", frame->poc, frame->slot_ind… in mpp_hevc_unref_frame() 52 frame->poc = INT_MAX; in mpp_hevc_unref_frame() 138 mpp_frame_set_poc(frame->frame, s->poc); in alloc_frame() 151 s->poc, s->h265dctx->coded_width, s->h265dctx->coded_height); in alloc_frame() 160 int mpp_hevc_set_new_ref(HEVCContext *s, MppFrame *mframe, int poc) in mpp_hevc_set_new_ref() argument 171 frame->poc == poc && !s->nuh_layer_id) { in mpp_hevc_set_new_ref() 173 poc); in mpp_hevc_set_new_ref() 191 ref->poc = poc; in mpp_hevc_set_new_ref() 192 h265d_dbg(H265D_DBG_REF, "alloc frame poc %d slot_index %d", poc, ref->slot_index); in mpp_hevc_set_new_ref() [all …]
|
| H A D | h265d_parser.c | 445 if (nb_sh + nb_sps > MPP_ARRAY_ELEMS(rps->poc)) in decode_lt_rps() 459 rps->poc[i] = sps->lt_ref_pic_poc_lsb_sps[lt_idx_sps]; in decode_lt_rps() 462 READ_BITS(gb, sps->log2_max_poc_lsb, &rps->poc[i]); in decode_lt_rps() 475 rps->poc[i] += s->poc - delta * max_poc_lsb - s->sh.pic_order_cnt_lsb; in decode_lt_rps() 831 int poc; in hls_slice_header() local 834 poc = mpp_hevc_compute_poc(s, sh->pic_order_cnt_lsb); in hls_slice_header() 835 if (!sh->first_slice_in_pic_flag && poc != s->poc) { in hls_slice_header() 836 mpp_log("Ignoring POC change between slices: %d -> %d\n", s->poc, poc); in hls_slice_header() 841 poc = s->poc; in hls_slice_header() 843 s->poc = poc; in hls_slice_header() [all …]
|
| H A D | h265d_parser.h | 71 RK_S32 poc[32]; member 482 RK_S32 poc; member 549 RK_S32 poc; member 709 RK_S32 mpp_hevc_set_new_ref(HEVCContext *s, MppFrame *frame, RK_S32 poc);
|
| H A D | h265d_parser2_syntax.c | 166 pp->CurrPicOrderCntVal = h->poc; in fill_picture_parameters() 221 pp->current_poc = current_picture->poc; in fill_picture_parameters() 229 if (rps_used[k] == (RK_U32)h->DPB[j].poc) { in fill_picture_parameters() 239 pp->PicOrderCntValList[i] = frame->poc; in fill_picture_parameters()
|
| /rockchip-linux_mpp/mpp/codec/enc/h265/ |
| H A D | h265e_dpb.c | 68 if (poc_idx == refPicSetLtCurr[i]->poc) in calc_ref_pic_set_idxl0() 193 memset(rps_list->poc, 0, sizeof(rps_list->poc)); in h265e_dpb_init() 257 static inline int getLSB(int poc, int maxLSB) in getLSB() argument 259 if (poc >= 0) { in getLSB() 260 return poc % maxLSB; in getLSB() 262 return (maxLSB - ((-poc) % maxLSB)) % maxLSB; in getLSB() 322 …h265e_dbg_dpb("outPic->slice->poc %d,curPoc %d dealt %d", outPic->slice->poc, curPoc, rps->delta_p… in h265e_dpb_apply_rps() 323 if (!outPic->is_long_term && outPic->slice->poc == curPoc + rps->delta_poc[i]) { in h265e_dpb_apply_rps() 331 if (outPic->is_long_term && (outPic->slice->poc == rps->m_RealPoc[i])) { in h265e_dpb_apply_rps() 335 if (outPic->is_long_term && (outPic->slice->poc == rps->m_RealPoc[i])) { in h265e_dpb_apply_rps() [all …]
|
| H A D | h265e_slice.c | 25 H265eDpbFrm* get_ref_pic(H265eDpbFrm *frame_list, RK_S32 poc) in get_ref_pic() argument 33 if (frame->inited && frame->poc == poc) { in get_ref_pic() 41 H265eDpbFrm* get_lt_ref_pic(H265eDpbFrm *frame_list, H265eSlice *slice, RK_S32 poc, RK_U32 pocHasMs… in get_lt_ref_pic() argument 50 poc = poc % pocCycle; in get_lt_ref_pic() 55 if (frame->on_used && frame->poc != slice->poc && frame->slice->is_referenced) { in get_lt_ref_pic() 56 RK_S32 picPoc = frame->poc; in get_lt_ref_pic() 61 if (poc == picPoc) { in get_lt_ref_pic() 95 refPic = get_ref_pic(frame_list, slice->poc + rps->delta_poc[i]); in h265e_slice_set_ref_list() 105 refPic = get_ref_pic(frame_list, slice->poc + rps->delta_poc[i]); in h265e_slice_set_ref_list() 199 slice->m_refPOCList[dir][numRefIdx] = slice->m_refPicList[dir][numRefIdx]->poc; in h265e_slice_set_ref_poc_list() [all …]
|
| H A D | h265e_dpb.h | 85 RK_S32 poc; member 100 RK_S32 poc[RPSLIST_MAX]; member
|
| H A D | h265e_slice.h | 77 RK_S32 poc[MAX_REFS]; member 367 RK_S32 poc; member 450 H265eDpbFrm* get_lt_ref_pic(H265eDpbFrm *frame_list, H265eSlice *slice, RK_S32 poc, RK_U32 pocHasMs…
|
| H A D | h265e_syntax.c | 201 sp->sli_poc_lsb = (slice->poc - slice->last_idr + (1 << slice->m_sps->m_bitsForPOC)) % in fill_slice_parameters() 258 RK_U32 lsb = rps->poc[k] % (1 << slice->m_sps->m_bitsForPOC); in fill_ref_parameters()
|
| /rockchip-linux_mpp/mpp/codec/dec/h264/ |
| H A D | h264d_init.c | 276 p_stored_pic->poc = p_pic->poc; in clone_storable_picture() 321 RK_S32 poc = 0; in init_mvc_picture() local 334 poc = fs->frame->is_mmco_5 ? fs->frame->poc_mmco5 : fs->frame->poc; in init_mvc_picture() 336 if (fs->frame && (fs->frame->layer_id == 0) && (poc == currSlice->framepoc)) { in init_mvc_picture() 347 … poc = fs->top_field->is_mmco_5 ? fs->top_field->top_poc_mmco5 : fs->top_field->top_poc; in init_mvc_picture() 349 if (fs->top_field && (fs->top_field->layer_id == 0) && (poc == currSlice->toppoc)) { in init_mvc_picture() 360 …poc = fs->bottom_field->is_mmco_5 ? fs->bottom_field->bot_poc_mmco5 : fs->bottom_field->bottom_poc; in init_mvc_picture() 362 … if (fs->bottom_field && (fs->bottom_field->layer_id == 0) && (poc == currSlice->bottompoc)) { in init_mvc_picture() 564 impl->poc = dec_pic->poc; in dpb_mark_malloc() 631 …slice_type, dec_pic->slice_type, p_last->frame_num, dec_pic->frame_num, p_last->poc, dec_pic->poc); in check_dpb_discontinuous() [all …]
|
| H A D | h264d_dpb.c | 731 static RK_S32 get_smallest_poc(H264_DpbBuf_t *p_Dpb, RK_S32 *poc, RK_S32 *pos) in get_smallest_poc() argument 739 *poc = INT_MAX; in get_smallest_poc() 741 if (min_poc > p_Dpb->fs[i]->poc) { in get_smallest_poc() 742 min_poc = p_Dpb->fs[i]->poc; in get_smallest_poc() 745 if ((*poc > p_Dpb->fs[i]->poc) && (!p_Dpb->fs[i]->is_output)) { in get_smallest_poc() 746 *poc = p_Dpb->fs[i]->poc; in get_smallest_poc() 752 *poc = min_poc; in get_smallest_poc() 807 …fs->poc = fs->frame->poc = fs->frame->frame_poc = MPP_MIN(fs->top_field->poc, fs->bottom_field->po… in dpb_combine_field_yuv() 808 fs->bottom_field->frame_poc = fs->top_field->frame_poc = fs->frame->poc; in dpb_combine_field_yuv() 809 fs->bottom_field->top_poc = fs->frame->top_poc = fs->top_field->poc; in dpb_combine_field_yuv() [all …]
|
| H A D | h264d_global.h | 305 RK_S32 poc; member 372 RK_S32 poc; member
|
| H A D | h264d_api.c | 729 mpp_frame_get_poc(frame), output, i, refer[i], tmp->poc, error); in h264d_callback() 733 mpp_frame_get_poc(frame), i, refer[i], tmp->poc, error); in h264d_callback()
|
| /rockchip-linux_mpp/kmpp/base/inc/ |
| H A D | kmpp_frame.h | 19 ENTRY(prefix, u32, rk_u32, poc, FLAG_NONE, poc) \
|
| H A D | kmpp_frame_impl.h | 29 rk_u32 poc; member
|
| /rockchip-linux_mpp/mpp/codec/enc/h264/ |
| H A D | h264e_dpb.c | 532 p->poc = 0; in h264e_dpb_proc() 554 p->poc = curr_poc_lsb + curr_poc_msb * dpb->max_poc_lsb; 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() 690 if (tmp->poc < small_poc) { in h264e_dpb_check() 692 small_poc = tmp->poc; in h264e_dpb_check() 695 tmp->seq_idx, tmp->poc); in h264e_dpb_check() 701 unref->seq_idx, unref->poc); in h264e_dpb_check()
|
| H A D | h264e_dpb.h | 75 RK_S32 poc; member
|
| H A D | h264e_slice.c | 82 slice->pic_order_cnt_lsb = frm->poc & ((1 << slice->log2_max_poc_lsb) - 1); in h264e_slice_update()
|
| /rockchip-linux_mpp/mpp/common/ |
| H A D | h265e_syntax.h | 31 RK_U32 poc; member
|
| /rockchip-linux_mpp/mpp/base/inc/ |
| H A D | mpp_frame_impl.h | 118 RK_U32 poc; member
|
| /rockchip-linux_mpp/mpp/hal/rkdec/h265d/ |
| H A D | hal_h265d_com.h | 64 RK_S32 poc[32]; member
|
| /rockchip-linux_mpp/inc/ |
| H A D | mpp_frame.h | 414 void mpp_frame_set_poc(MppFrame frame, RK_U32 poc);
|
| /rockchip-linux_mpp/mpp/hal/vpu/vp8e/ |
| H A D | hal_vp8e_base.h | 187 RK_S32 poc; member
|
| H A D | hal_vp8e_base.c | 618 refPic->poc = -1; in reset_refpic() 1444 pic_buf->cur_pic->poc = ctx->frame_cnt; in hal_vp8e_enc_strm_code()
|
| /rockchip-linux_mpp/mpp/base/ |
| H A D | mpp_frame.c | 348 MPP_FRAME_ACCESSORS(RK_U32, poc)
|