Searched refs:mtk_buf (Results 1 – 2 of 2) sorted by relevance
772 struct mtk_video_enc_buf *mtk_buf = in vb2ops_venc_buf_queue() local782 mtk_buf->param_change = ctx->param_change; in vb2ops_venc_buf_queue()783 mtk_buf->enc_params = ctx->enc_params; in vb2ops_venc_buf_queue()970 struct mtk_video_enc_buf *mtk_buf = in mtk_venc_param_change() local977 if (mtk_buf->param_change == MTK_ENCODE_PARAM_NONE) in mtk_venc_param_change()980 if (mtk_buf->param_change & MTK_ENCODE_PARAM_BITRATE) { in mtk_venc_param_change()981 enc_prm.bitrate = mtk_buf->enc_params.bitrate; in mtk_venc_param_change()990 if (!ret && mtk_buf->param_change & MTK_ENCODE_PARAM_FRAMERATE) { in mtk_venc_param_change()991 enc_prm.frm_rate = mtk_buf->enc_params.framerate_num / in mtk_venc_param_change()992 mtk_buf->enc_params.framerate_denom; in mtk_venc_param_change()[all …]
84 struct mtk_video_dec_buf *mtk_buf = NULL; in fops_vcodec_open() local91 mtk_buf = kzalloc(sizeof(*mtk_buf), GFP_KERNEL); in fops_vcodec_open()92 if (!mtk_buf) { in fops_vcodec_open()98 ctx->empty_flush_buf = mtk_buf; in fops_vcodec_open()