Home
last modified time | relevance | path

Searched refs:mtk_buf (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/media/platform/mediatek/vcodec/
Dmtk_vcodec_enc.c830 struct mtk_video_enc_buf *mtk_buf = in vb2ops_venc_buf_queue() local
840 mtk_buf->param_change = ctx->param_change; in vb2ops_venc_buf_queue()
841 mtk_buf->enc_params = ctx->enc_params; in vb2ops_venc_buf_queue()
1072 struct mtk_video_enc_buf *mtk_buf; in mtk_venc_param_change() local
1079 mtk_buf = container_of(vb2_v4l2, struct mtk_video_enc_buf, m2m_buf.vb); in mtk_venc_param_change()
1082 if (mtk_buf->param_change == MTK_ENCODE_PARAM_NONE) in mtk_venc_param_change()
1085 if (mtk_buf->param_change & MTK_ENCODE_PARAM_BITRATE) { in mtk_venc_param_change()
1086 enc_prm.bitrate = mtk_buf->enc_params.bitrate; in mtk_venc_param_change()
1095 if (!ret && mtk_buf->param_change & MTK_ENCODE_PARAM_FRAMERATE) { in mtk_venc_param_change()
1096 enc_prm.frm_rate = mtk_buf->enc_params.framerate_num / in mtk_venc_param_change()
[all …]