Searched refs:mtk_buf (Results 1 – 1 of 1) sorted by relevance
860 struct mtk_video_enc_buf *mtk_buf = in vb2ops_venc_buf_queue() local870 mtk_buf->param_change = ctx->param_change; in vb2ops_venc_buf_queue()871 mtk_buf->enc_params = ctx->enc_params; in vb2ops_venc_buf_queue()1102 struct mtk_video_enc_buf *mtk_buf; in mtk_venc_param_change() local1109 mtk_buf = container_of(vb2_v4l2, struct mtk_video_enc_buf, m2m_buf.vb); in mtk_venc_param_change()1112 if (mtk_buf->param_change == MTK_ENCODE_PARAM_NONE) in mtk_venc_param_change()1115 if (mtk_buf->param_change & MTK_ENCODE_PARAM_BITRATE) { in mtk_venc_param_change()1116 enc_prm.bitrate = mtk_buf->enc_params.bitrate; in mtk_venc_param_change()1125 if (!ret && mtk_buf->param_change & MTK_ENCODE_PARAM_FRAMERATE) { in mtk_venc_param_change()1126 enc_prm.frm_rate = mtk_buf->enc_params.framerate_num / in mtk_venc_param_change()[all …]