Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/platform/mtk-vcodec/venc/
Dvenc_h264_if.c598 struct venc_enc_param *enc_prm) in h264_enc_set_param() argument
607 inst->vsi->config.input_fourcc = enc_prm->input_yuv_fmt; in h264_enc_set_param()
608 inst->vsi->config.bitrate = enc_prm->bitrate; in h264_enc_set_param()
609 inst->vsi->config.pic_w = enc_prm->width; in h264_enc_set_param()
610 inst->vsi->config.pic_h = enc_prm->height; in h264_enc_set_param()
611 inst->vsi->config.buf_w = enc_prm->buf_width; in h264_enc_set_param()
612 inst->vsi->config.buf_h = enc_prm->buf_height; in h264_enc_set_param()
613 inst->vsi->config.gop_size = enc_prm->gop_size; in h264_enc_set_param()
614 inst->vsi->config.framerate = enc_prm->frm_rate; in h264_enc_set_param()
615 inst->vsi->config.intra_period = enc_prm->intra_period; in h264_enc_set_param()
[all …]
Dvenc_vp8_if.c405 struct venc_enc_param *enc_prm) in vp8_enc_set_param() argument
414 inst->vsi->config.input_fourcc = enc_prm->input_yuv_fmt; in vp8_enc_set_param()
415 inst->vsi->config.bitrate = enc_prm->bitrate; in vp8_enc_set_param()
416 inst->vsi->config.pic_w = enc_prm->width; in vp8_enc_set_param()
417 inst->vsi->config.pic_h = enc_prm->height; in vp8_enc_set_param()
418 inst->vsi->config.buf_w = enc_prm->buf_width; in vp8_enc_set_param()
419 inst->vsi->config.buf_h = enc_prm->buf_height; in vp8_enc_set_param()
420 inst->vsi->config.gop_size = enc_prm->gop_size; in vp8_enc_set_param()
421 inst->vsi->config.framerate = enc_prm->frm_rate; in vp8_enc_set_param()
423 ret = vpu_enc_set_param(&inst->vpu_inst, type, enc_prm); in vp8_enc_set_param()
[all …]
/Linux-v4.19/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_enc.c993 struct venc_enc_param enc_prm; in mtk_venc_param_change() local
1002 memset(&enc_prm, 0, sizeof(enc_prm)); in mtk_venc_param_change()
1007 enc_prm.bitrate = mtk_buf->enc_params.bitrate; in mtk_venc_param_change()
1011 enc_prm.bitrate); in mtk_venc_param_change()
1014 &enc_prm); in mtk_venc_param_change()
1017 enc_prm.frm_rate = mtk_buf->enc_params.framerate_num / in mtk_venc_param_change()
1022 enc_prm.frm_rate); in mtk_venc_param_change()
1025 &enc_prm); in mtk_venc_param_change()
1028 enc_prm.gop_size = mtk_buf->enc_params.gop_size; in mtk_venc_param_change()
1030 enc_prm.gop_size); in mtk_venc_param_change()
[all …]