Searched refs:mtk_buf (Results 1 – 2 of 2) sorted by relevance
800 struct mtk_video_enc_buf *mtk_buf = in vb2ops_venc_buf_queue() local807 mtk_buf->vb.vb2_buf.index, in vb2ops_venc_buf_queue()809 mtk_buf->param_change = ctx->param_change; in vb2ops_venc_buf_queue()810 mtk_buf->enc_params = ctx->enc_params; in vb2ops_venc_buf_queue()988 struct mtk_video_enc_buf *mtk_buf = in mtk_venc_param_change() local994 if (mtk_buf->param_change == MTK_ENCODE_PARAM_NONE) in mtk_venc_param_change()997 if (mtk_buf->param_change & MTK_ENCODE_PARAM_BITRATE) { in mtk_venc_param_change()998 enc_prm.bitrate = mtk_buf->enc_params.bitrate; in mtk_venc_param_change()1001 mtk_buf->vb.vb2_buf.index, in mtk_venc_param_change()1007 if (!ret && mtk_buf->param_change & MTK_ENCODE_PARAM_FRAMERATE) { in mtk_venc_param_change()[all …]
100 struct mtk_video_dec_buf *mtk_buf = NULL; in fops_vcodec_open() local107 mtk_buf = kzalloc(sizeof(*mtk_buf), GFP_KERNEL); in fops_vcodec_open()108 if (!mtk_buf) { in fops_vcodec_open()114 ctx->empty_flush_buf = mtk_buf; in fops_vcodec_open()