Searched refs:mtk_buf (Results 1 – 2 of 2) sorted by relevance
807 struct mtk_video_enc_buf *mtk_buf = in vb2ops_venc_buf_queue() local814 mtk_buf->vb.vb2_buf.index, in vb2ops_venc_buf_queue()816 mtk_buf->param_change = ctx->param_change; in vb2ops_venc_buf_queue()817 mtk_buf->enc_params = ctx->enc_params; in vb2ops_venc_buf_queue()997 struct mtk_video_enc_buf *mtk_buf = in mtk_venc_param_change() local1003 if (mtk_buf->param_change == MTK_ENCODE_PARAM_NONE) in mtk_venc_param_change()1006 if (mtk_buf->param_change & MTK_ENCODE_PARAM_BITRATE) { in mtk_venc_param_change()1007 enc_prm.bitrate = mtk_buf->enc_params.bitrate; in mtk_venc_param_change()1010 mtk_buf->vb.vb2_buf.index, in mtk_venc_param_change()1016 if (!ret && mtk_buf->param_change & MTK_ENCODE_PARAM_FRAMERATE) { in mtk_venc_param_change()[all …]
108 struct mtk_video_dec_buf *mtk_buf = NULL; in fops_vcodec_open() local115 mtk_buf = kzalloc(sizeof(*mtk_buf), GFP_KERNEL); in fops_vcodec_open()116 if (!mtk_buf) { in fops_vcodec_open()122 ctx->empty_flush_buf = mtk_buf; in fops_vcodec_open()