Home
last modified time | relevance | path

Searched refs:h265dctx (Results 1 – 5 of 5) sorted by relevance

/rockchip-linux_mpp/mpp/codec/dec/h265/
H A Dh265d_refs.c86 MppFrameFormat fmt = s->h265dctx->cfg->base.out_fmt & (~MPP_FRAME_FMT_MASK); in alloc_frame()
94 … h265d_dbg(H265D_DBG_GLOBAL, "width = %d height = %d", s->h265dctx->width, s->h265dctx->height); in alloc_frame()
95 mpp_frame_set_width(frame->frame, s->h265dctx->width); in alloc_frame()
96 mpp_frame_set_height(frame->frame, s->h265dctx->height); in alloc_frame()
98 … (MPP_ALIGN(s->h265dctx->coded_width, 64) * s->h265dctx->nBitDepth) >> 3); in alloc_frame()
99 mpp_frame_set_ver_stride(frame->frame, s->h265dctx->coded_height); in alloc_frame()
100 s->h265dctx->pix_fmt &= MPP_FRAME_FMT_MASK; in alloc_frame()
102 s->h265dctx->pix_fmt |= MPP_FRAME_HDR; in alloc_frame()
104 s->h265dctx->pix_fmt |= fmt; in alloc_frame()
105 mpp_frame_set_fmt(frame->frame, s->h265dctx->pix_fmt); in alloc_frame()
[all …]
H A Dh265d_parser.c491 MppFrameFormat fmt = s->h265dctx->cfg->base.out_fmt & (~MPP_FRAME_FMT_MASK); in set_sps()
493 s->h265dctx->coded_width = sps->width; in set_sps()
494 s->h265dctx->coded_height = sps->height; in set_sps()
495 s->h265dctx->width = sps->output_width; in set_sps()
496 s->h265dctx->height = sps->output_height; in set_sps()
497 s->h265dctx->pix_fmt = fmt | sps->pix_fmt; in set_sps()
498 s->h265dctx->nBitDepth = sps->bit_depth; in set_sps()
499 s->h265dctx->sample_aspect_ratio = sps->vui.sar; in set_sps()
502 s->h265dctx->color_range = sps->vui.video_full_range_flag ? in set_sps()
505 s->h265dctx->color_range = MPP_FRAME_RANGE_MPEG; in set_sps()
[all …]
H A Dh265d_ps.c1148 if (s->h265dctx->compare_info != NULL) { in mpp_hevc_decode_nal_vps()
1149 CurrentFameInf_t *info = (CurrentFameInf_t *)s->h265dctx->compare_info; in mpp_hevc_decode_nal_vps()
1262 s->h265dctx->flags2 & CODEC_FLAG2_IGNORE_CROP) { in decode_vui()
1803 if (s->h265dctx->err_recognition & AV_EF_EXPLODE) { in mpp_hevc_decode_nal_sps()
1819 if (s->h265dctx->width == 0 && s->h265dctx->height == 0) { in mpp_hevc_decode_nal_sps()
1820 s->h265dctx->width = sps->output_width; in mpp_hevc_decode_nal_sps()
1821 s->h265dctx->height = sps->output_height; in mpp_hevc_decode_nal_sps()
1872 if (s->h265dctx->compare_info != NULL) { in mpp_hevc_decode_nal_sps()
1873 CurrentFameInf_t *info = (CurrentFameInf_t *)s->h265dctx->compare_info; in mpp_hevc_decode_nal_sps()
2028 if (s->h265dctx->hw_info) { in mpp_hevc_decode_nal_pps()
[all …]
H A Dh265d_parser2_syntax.c349 H265dContext_t *h265dctx = (H265dContext_t *)ctx; in h265d_parser2_syntax() local
350 const HEVCContext *h = (const HEVCContext *)h265dctx->priv_data; in h265d_parser2_syntax()
365 H265dContext_t *h265dctx = (H265dContext_t *)ctx; in h265d_syntax_fill_slice() local
366 const HEVCContext *h = (const HEVCContext *)h265dctx->priv_data; in h265d_syntax_fill_slice()
H A Dh265d_parser.h524 H265dContext_t *h265dctx; member