Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/mpp/mpp/codec/dec/h265/
H A Dh265d_refs.c92 … h265d_dbg(H265D_DBG_GLOBAL, "width = %d height = %d", s->h265dctx->width, s->h265dctx->height); in alloc_frame()
93 mpp_frame_set_width(frame->frame, s->h265dctx->width); in alloc_frame()
94 mpp_frame_set_height(frame->frame, s->h265dctx->height); in alloc_frame()
96 … (MPP_ALIGN(s->h265dctx->coded_width, 64) * s->h265dctx->nBitDepth) >> 3); in alloc_frame()
97 mpp_frame_set_ver_stride(frame->frame, s->h265dctx->coded_height); in alloc_frame()
99 s->h265dctx->pix_fmt |= MPP_FRAME_HDR; in alloc_frame()
101 mpp_frame_set_fmt(frame->frame, s->h265dctx->pix_fmt); in alloc_frame()
103 if (MPP_FRAME_FMT_IS_FBC(s->h265dctx->pix_fmt)) { in alloc_frame()
104 RK_U32 fbc_hdr_stride = MPP_ALIGN(s->h265dctx->width, 64); in alloc_frame()
111 mpp_frame_set_ver_stride(frame->frame, s->h265dctx->coded_height + 16); in alloc_frame()
[all …]
H A Dh265d_parser.c485 MppFrameFormat fmt = s->h265dctx->cfg->base.out_fmt & (~MPP_FRAME_FMT_MASK); in set_sps()
487 s->h265dctx->coded_width = sps->width; in set_sps()
488 s->h265dctx->coded_height = sps->height; in set_sps()
489 s->h265dctx->width = sps->output_width; in set_sps()
490 s->h265dctx->height = sps->output_height; in set_sps()
491 s->h265dctx->pix_fmt = fmt | sps->pix_fmt; in set_sps()
492 s->h265dctx->nBitDepth = sps->bit_depth; in set_sps()
493 s->h265dctx->sample_aspect_ratio = sps->vui.sar; in set_sps()
496 s->h265dctx->color_range = sps->vui.video_full_range_flag ? in set_sps()
499 s->h265dctx->color_range = MPP_FRAME_RANGE_MPEG; in set_sps()
[all …]
H A Dh265d_ps.c1132 if (s->h265dctx->compare_info != NULL) { in mpp_hevc_decode_nal_vps()
1133 CurrentFameInf_t *info = (CurrentFameInf_t *)s->h265dctx->compare_info; in mpp_hevc_decode_nal_vps()
1243 s->h265dctx->flags2 & CODEC_FLAG2_IGNORE_CROP) { in decode_vui()
1478 if (s->h265dctx->flags2 & CODEC_FLAG2_IGNORE_CROP) { in mpp_hevc_decode_nal_sps()
1755 if (s->h265dctx->err_recognition & AV_EF_EXPLODE) { in mpp_hevc_decode_nal_sps()
1771 if (s->h265dctx->width == 0 && s->h265dctx->height == 0) { in mpp_hevc_decode_nal_sps()
1772 s->h265dctx->width = sps->output_width; in mpp_hevc_decode_nal_sps()
1773 s->h265dctx->height = sps->output_height; in mpp_hevc_decode_nal_sps()
1824 if (s->h265dctx->compare_info != NULL) { in mpp_hevc_decode_nal_sps()
1825 CurrentFameInf_t *info = (CurrentFameInf_t *)s->h265dctx->compare_info; in mpp_hevc_decode_nal_sps()
[all …]
H A Dh265d_parser2_syntax.c311 H265dContext_t *h265dctx = (H265dContext_t *)ctx; in h265d_parser2_syntax() local
312 const HEVCContext *h = (const HEVCContext *)h265dctx->priv_data; in h265d_parser2_syntax()
327 H265dContext_t *h265dctx = (H265dContext_t *)ctx; in h265d_syntax_fill_slice() local
328 const HEVCContext *h = (const HEVCContext *)h265dctx->priv_data; in h265d_syntax_fill_slice()
H A Dh265d_parser.h494 H265dContext_t *h265dctx; member