Lines Matching refs:h265dctx

86     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()
107 if (MPP_FRAME_FMT_IS_FBC(s->h265dctx->pix_fmt)) { in alloc_frame()
108 RK_U32 fbc_hdr_stride = MPP_ALIGN(s->h265dctx->width, 64); in alloc_frame()
115 mpp_frame_set_ver_stride(frame->frame, s->h265dctx->coded_height + 16); in alloc_frame()
118 fbc_hdr_stride = MPP_ALIGN(s->h265dctx->width, 256) | 256; in alloc_frame()
121 } else if (MPP_FRAME_FMT_IS_TILE(s->h265dctx->pix_fmt)) { in alloc_frame()
124 if ((s->h265dctx->cfg->base.enable_vproc & MPP_VPROC_MODE_DETECTION) && in alloc_frame()
125 s->h265dctx->width <= 1920 && s->h265dctx->height <= 1088) in alloc_frame()
129 if (s->h265dctx->cfg->base.enable_thumbnail && s->h265dctx->hw_info->cap_down_scale) in alloc_frame()
130 mpp_frame_set_thumbnail_en(frame->frame, s->h265dctx->cfg->base.enable_thumbnail); in alloc_frame()
139 mpp_frame_set_color_range(frame->frame, s->h265dctx->color_range); in alloc_frame()
146 mpp_frame_set_colorspace(frame->frame, s->h265dctx->colorspace); in alloc_frame()
151 s->poc, s->h265dctx->coded_width, s->h265dctx->coded_height); in alloc_frame()
342 h265d_flush(s->h265dctx); in mpp_hevc_frame_rps()