Home
last modified time | relevance | path

Searched refs:pix_fmt (Results 1 – 10 of 10) sorted by relevance

/rockchip-linux_mpp/mpp/codec/dec/h265/
H A Dh265d_refs.c100 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()
121 } else if (MPP_FRAME_FMT_IS_TILE(s->h265dctx->pix_fmt)) { in alloc_frame()
H A Dh265d_codec.h115 RK_U32 pix_fmt; member
H A Dh265d_ps.c1513 sps->pix_fmt = MPP_FMT_YUV400; in mpp_hevc_decode_nal_sps()
1517 case 8: sps->pix_fmt = MPP_FMT_YUV420SP; break; in mpp_hevc_decode_nal_sps()
1518 case 10: sps->pix_fmt = MPP_FMT_YUV420SP_10BIT; break; in mpp_hevc_decode_nal_sps()
1528 case 8: sps->pix_fmt = MPP_FMT_YUV422SP; break; in mpp_hevc_decode_nal_sps()
1529 case 10: sps->pix_fmt = MPP_FMT_YUV422SP_10BIT; break; in mpp_hevc_decode_nal_sps()
1540 case 8: sps->pix_fmt = MPP_FMT_YUV444SP; break; in mpp_hevc_decode_nal_sps()
1541 case 10: sps->pix_fmt = MPP_FMT_YUV444SP_10BIT; break; in mpp_hevc_decode_nal_sps()
H A Dh265d_parser.h216 RK_S32 pix_fmt; member
H A Dh265d_parser.c497 s->h265dctx->pix_fmt = fmt | sps->pix_fmt; in set_sps()
/rockchip-linux_mpp/mpp/codec/dec/av1/
H A Dav1d_parser.c92 MppFrameFormat pix_fmt = MPP_FMT_BUTT; in get_pixel_format() local
112 pix_fmt = MPP_FMT_YUV422P; in get_pixel_format()
120 pix_fmt = MPP_FMT_YUV420SP; in get_pixel_format()
122 pix_fmt = MPP_FMT_YUV420SP_10BIT; in get_pixel_format()
127 pix_fmt = MPP_FMT_YUV420SP; in get_pixel_format()
139 if (pix_fmt == MPP_FMT_BUTT) in get_pixel_format()
141 ctx->pix_fmt = pix_fmt; in get_pixel_format()
767 if (MPP_FRAME_FMT_IS_YUV_10BIT(ctx->pix_fmt)) in get_current_frame()
791 if ((ctx->pix_fmt & MPP_FRAME_FMT_MASK) == MPP_FMT_YUV420SP || in get_current_frame()
792 (ctx->pix_fmt & MPP_FRAME_FMT_MASK) == MPP_FMT_YUV420SP_10BIT) in get_current_frame()
[all …]
H A Dav1d_codec.h104 MppFrameFormat pix_fmt; member
H A Dav1d_api.c51 av1_ctx->pix_fmt = MPP_FMT_BUTT; in av1d_init()
/rockchip-linux_mpp/mpp/codec/dec/vp9/
H A Dvp9d_codec.h77 RK_S32 pix_fmt; member
H A Dvp9d_parser.c404 mpp_frame_set_fmt(frame->f, ctx->pix_fmt | ((s->cfg->base.out_fmt & (MPP_FRAME_FBC_MASK)))); in vp9_alloc_frame()
417 … mpp_frame_set_fmt(frame->f, ctx->pix_fmt | ((s->cfg->base.out_fmt & (MPP_FRAME_TILE_FLAG)))); in vp9_alloc_frame()
419 mpp_frame_set_fmt(frame->f, ctx->pix_fmt); in vp9_alloc_frame()
457 if (w == ctx->width && h == ctx->height && ctx->pix_fmt == fmt) in update_size()
462 ctx->pix_fmt = fmt; in update_size()
636 RK_S32 fmt = ctx->pix_fmt; in decode_parser_header()