Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/media/platform/mtk-vcodec/venc/
Dvenc_vp8_if.c130 struct venc_vpu_inst vpu_inst; member
195 handler = inst->vpu_inst.ctx->dev->fw_handler; in vp8_enc_alloc_work_buf()
251 not_key = !inst->vpu_inst.is_key_frm; in vp8_enc_compose_one_frame()
305 ret = vpu_enc_encode(&inst->vpu_inst, 0, frm_buf, bs_buf, bs_size, in vp8_enc_encode_frame()
323 inst->vpu_inst.is_key_frm); in vp8_enc_encode_frame()
338 inst->vpu_inst.ctx = ctx; in vp8_enc_init()
339 inst->vpu_inst.id = IPI_VENC_VP8; in vp8_enc_init()
344 ret = vpu_enc_init(&inst->vpu_inst); in vp8_enc_init()
346 inst->vsi = (struct venc_vp8_vsi *)inst->vpu_inst.vsi; in vp8_enc_init()
378 result->is_key_frm = inst->vpu_inst.is_key_frm; in vp8_enc_encode()
[all …]
Dvenc_h264_if.c153 struct venc_vpu_inst vpu_inst; member
276 handler = inst->vpu_inst.ctx->dev->fw_handler; in h264_enc_alloc_work_buf()
298 handler = inst->vpu_inst.ctx->dev->fw_handler; in h264_enc_alloc_work_buf()
370 ret = vpu_enc_encode(&inst->vpu_inst, H264_BS_MODE_SPS, NULL, in h264_encode_sps()
397 ret = vpu_enc_encode(&inst->vpu_inst, H264_BS_MODE_PPS, NULL, in h264_encode_pps()
454 ret = vpu_enc_encode(&inst->vpu_inst, H264_BS_MODE_FRAME, frm_buf, in h264_encode_frame()
463 if (inst->vpu_inst.state == VEN_IPI_MSG_ENC_STATE_SKIP) { in h264_encode_frame()
464 *bs_size = inst->vpu_inst.bs_size; in h264_encode_frame()
483 inst->frm_cnt, *bs_size, inst->vpu_inst.is_key_frm); in h264_encode_frame()
515 inst->vpu_inst.ctx = ctx; in h264_enc_init()
[all …]