Searched refs:enc_prm (Results 1 – 3 of 3) sorted by relevance
710 struct venc_enc_param *enc_prm) in h264_enc_set_vsi_configs() argument712 inst->vsi->config.input_fourcc = enc_prm->input_yuv_fmt; in h264_enc_set_vsi_configs()713 inst->vsi->config.bitrate = enc_prm->bitrate; in h264_enc_set_vsi_configs()714 inst->vsi->config.pic_w = enc_prm->width; in h264_enc_set_vsi_configs()715 inst->vsi->config.pic_h = enc_prm->height; in h264_enc_set_vsi_configs()716 inst->vsi->config.buf_w = enc_prm->buf_width; in h264_enc_set_vsi_configs()717 inst->vsi->config.buf_h = enc_prm->buf_height; in h264_enc_set_vsi_configs()718 inst->vsi->config.gop_size = enc_prm->gop_size; in h264_enc_set_vsi_configs()719 inst->vsi->config.framerate = enc_prm->frm_rate; in h264_enc_set_vsi_configs()720 inst->vsi->config.intra_period = enc_prm->intra_period; in h264_enc_set_vsi_configs()[all …]
375 struct venc_enc_param *enc_prm) in vp8_enc_set_param() argument384 inst->vsi->config.input_fourcc = enc_prm->input_yuv_fmt; in vp8_enc_set_param()385 inst->vsi->config.bitrate = enc_prm->bitrate; in vp8_enc_set_param()386 inst->vsi->config.pic_w = enc_prm->width; in vp8_enc_set_param()387 inst->vsi->config.pic_h = enc_prm->height; in vp8_enc_set_param()388 inst->vsi->config.buf_w = enc_prm->buf_width; in vp8_enc_set_param()389 inst->vsi->config.buf_h = enc_prm->buf_height; in vp8_enc_set_param()390 inst->vsi->config.gop_size = enc_prm->gop_size; in vp8_enc_set_param()391 inst->vsi->config.framerate = enc_prm->frm_rate; in vp8_enc_set_param()393 ret = vpu_enc_set_param(&inst->vpu_inst, type, enc_prm); in vp8_enc_set_param()[all …]
168 struct venc_enc_param *enc_prm) in venc_enc_param_crop_right() argument170 unsigned int img_crop_right = enc_prm->buf_width - enc_prm->width; in venc_enc_param_crop_right()175 static unsigned int venc_enc_param_crop_bottom(struct venc_enc_param *enc_prm) in venc_enc_param_crop_bottom() argument177 return round_up(enc_prm->height, 16) - enc_prm->height; in venc_enc_param_crop_bottom()180 static unsigned int venc_enc_param_num_mb(struct venc_enc_param *enc_prm) in venc_enc_param_num_mb() argument182 return DIV_ROUND_UP(enc_prm->width, 16) * in venc_enc_param_num_mb()183 DIV_ROUND_UP(enc_prm->height, 16); in venc_enc_param_num_mb()