mtk_buf 100 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c struct mtk_video_dec_buf *mtk_buf = NULL; mtk_buf 107 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c mtk_buf = kzalloc(sizeof(*mtk_buf), GFP_KERNEL); mtk_buf 108 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c if (!mtk_buf) { mtk_buf 114 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c ctx->empty_flush_buf = mtk_buf; mtk_buf 800 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c struct mtk_video_enc_buf *mtk_buf = mtk_buf 807 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c mtk_buf->vb.vb2_buf.index, mtk_buf 809 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c mtk_buf->param_change = ctx->param_change; mtk_buf 810 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c mtk_buf->enc_params = ctx->enc_params; mtk_buf 988 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c struct mtk_video_enc_buf *mtk_buf = mtk_buf 994 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c if (mtk_buf->param_change == MTK_ENCODE_PARAM_NONE) mtk_buf 997 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c if (mtk_buf->param_change & MTK_ENCODE_PARAM_BITRATE) { mtk_buf 998 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c enc_prm.bitrate = mtk_buf->enc_params.bitrate; mtk_buf 1001 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c mtk_buf->vb.vb2_buf.index, mtk_buf 1007 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c if (!ret && mtk_buf->param_change & MTK_ENCODE_PARAM_FRAMERATE) { mtk_buf 1008 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c enc_prm.frm_rate = mtk_buf->enc_params.framerate_num / mtk_buf 1009 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c mtk_buf->enc_params.framerate_denom; mtk_buf 1012 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c mtk_buf->vb.vb2_buf.index, mtk_buf 1018 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c if (!ret && mtk_buf->param_change & MTK_ENCODE_PARAM_GOP_SIZE) { mtk_buf 1019 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c enc_prm.gop_size = mtk_buf->enc_params.gop_size; mtk_buf 1026 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c if (!ret && mtk_buf->param_change & MTK_ENCODE_PARAM_FORCE_INTRA) { mtk_buf 1029 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c mtk_buf->vb.vb2_buf.index, mtk_buf 1030 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c mtk_buf->enc_params.force_intra); mtk_buf 1031 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c if (mtk_buf->enc_params.force_intra) mtk_buf 1037 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c mtk_buf->param_change = MTK_ENCODE_PARAM_NONE; mtk_buf 1042 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c mtk_buf->param_change, ret);