Searched refs:vpu_inst (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/media/platform/mtk-vcodec/venc/ |
D | venc_h264_if.c | 143 struct venc_vpu_inst vpu_inst; member 261 inst->vpu_inst.dev, wb[i].vpua); in h264_enc_alloc_work_buf() 280 tmp_va = vpu_mapping_dm_addr(inst->vpu_inst.dev, in h264_enc_alloc_work_buf() 335 ret = vpu_enc_encode(&inst->vpu_inst, H264_BS_MODE_SPS, NULL, in h264_encode_sps() 362 ret = vpu_enc_encode(&inst->vpu_inst, H264_BS_MODE_PPS, NULL, in h264_encode_pps() 412 ret = vpu_enc_encode(&inst->vpu_inst, H264_BS_MODE_FRAME, frm_buf, in h264_encode_frame() 421 if (inst->vpu_inst.state == VEN_IPI_MSG_ENC_STATE_SKIP) { in h264_encode_frame() 422 *bs_size = inst->vpu_inst.bs_size; in h264_encode_frame() 440 inst->frm_cnt, *bs_size, inst->vpu_inst.is_key_frm); in h264_encode_frame() 471 inst->vpu_inst.ctx = ctx; in h264_enc_init() [all …]
|
D | venc_vp8_if.c | 131 struct venc_vpu_inst vpu_inst; member 195 tmp_va = vpu_mapping_dm_addr(inst->vpu_inst.dev, in vp8_enc_alloc_work_buf() 250 not_key = !inst->vpu_inst.is_key_frm; in vp8_enc_compose_one_frame() 304 ret = vpu_enc_encode(&inst->vpu_inst, 0, frm_buf, bs_buf, bs_size); in vp8_enc_encode_frame() 321 inst->vpu_inst.is_key_frm); in vp8_enc_encode_frame() 336 inst->vpu_inst.ctx = ctx; in vp8_enc_init() 337 inst->vpu_inst.dev = ctx->dev->vpu_plat_dev; in vp8_enc_init() 338 inst->vpu_inst.id = IPI_VENC_VP8; in vp8_enc_init() 343 ret = vpu_enc_init(&inst->vpu_inst); in vp8_enc_init() 345 inst->vsi = (struct venc_vp8_vsi *)inst->vpu_inst.vsi; in vp8_enc_init() [all …]
|