Lines Matching refs:pix_fmt
92 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()
793 ctx->pix_fmt = MPP_FMT_YUV420SP_10BIT; in get_current_frame()
798 ctx->pix_fmt |= s->cfg->base.out_fmt & (MPP_FRAME_FBC_MASK); in get_current_frame()
809 ctx->pix_fmt |= s->cfg->base.out_fmt & (MPP_FRAME_TILE_FLAG); in get_current_frame()
813 ctx->pix_fmt |= MPP_FRAME_HDR; in get_current_frame()
815 mpp_frame_set_fmt(frame->f, ctx->pix_fmt); in get_current_frame()