Home
last modified time | relevance | path

Searched refs:frm_buf (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/media/platform/mediatek/vcodec/encoder/
Dvenc_vpu_if.c253 struct venc_frm_buf *frm_buf, in vpu_enc_encode_32bits() argument
269 if (frm_buf) { in vpu_enc_encode_32bits()
270 if ((frm_buf->fb_addr[0].dma_addr % 16 == 0) && in vpu_enc_encode_32bits()
271 (frm_buf->fb_addr[1].dma_addr % 16 == 0) && in vpu_enc_encode_32bits()
272 (frm_buf->fb_addr[2].dma_addr % 16 == 0)) { in vpu_enc_encode_32bits()
273 out.base.input_addr[0] = frm_buf->fb_addr[0].dma_addr; in vpu_enc_encode_32bits()
274 out.base.input_addr[1] = frm_buf->fb_addr[1].dma_addr; in vpu_enc_encode_32bits()
275 out.base.input_addr[2] = frm_buf->fb_addr[2].dma_addr; in vpu_enc_encode_32bits()
301 struct venc_frm_buf *frm_buf, in vpu_enc_encode_34bits() argument
315 if (frm_buf) { in vpu_enc_encode_34bits()
[all …]
Dvenc_drv_if.c54 enum venc_start_opt opt, struct venc_frm_buf *frm_buf, in venc_if_encode() argument
71 ret = ctx->enc_if->encode(ctx->drv_handle, opt, frm_buf, in venc_if_encode()
Dmtk_vcodec_enc.c1143 struct venc_frm_buf frm_buf; in mtk_venc_worker() local
1173 memset(&frm_buf, 0, sizeof(frm_buf)); in mtk_venc_worker()
1175 frm_buf.fb_addr[i].dma_addr = in mtk_venc_worker()
1177 frm_buf.fb_addr[i].size = in mtk_venc_worker()
1186 (u64)frm_buf.fb_addr[0].dma_addr, frm_buf.fb_addr[0].size, in mtk_venc_worker()
1187 (u64)frm_buf.fb_addr[1].dma_addr, frm_buf.fb_addr[1].size, in mtk_venc_worker()
1188 (u64)frm_buf.fb_addr[2].dma_addr, frm_buf.fb_addr[2].size); in mtk_venc_worker()
1191 &frm_buf, &bs_buf, &enc_result); in mtk_venc_worker()
Dvenc_drv_base.h33 struct venc_frm_buf *frm_buf,
Dvenc_vpu_if.h45 struct venc_frm_buf *frm_buf,
Dvenc_drv_if.h165 struct venc_frm_buf *frm_buf,
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/encoder/venc/
Dvenc_vp8_if.c284 struct venc_frm_buf *frm_buf, in vp8_enc_encode_frame() argument
293 ret = vpu_enc_encode(&inst->vpu_inst, 0, frm_buf, bs_buf, NULL); in vp8_enc_encode_frame()
342 struct venc_frm_buf *frm_buf, in vp8_enc_encode() argument
354 ret = vp8_enc_encode_frame(inst, frm_buf, bs_buf, in vp8_enc_encode()
Dvenc_h264_if.c507 struct venc_frm_buf *frm_buf, in h264_encode_frame() argument
536 frm_buf, bs_buf, &frame_info); in h264_encode_frame()
617 struct venc_frm_buf *frm_buf, in h264_enc_encode() argument
652 ret = h264_encode_frame(inst, frm_buf, bs_buf, in h264_enc_encode()
680 ret = h264_encode_frame(inst, frm_buf, &tmp_bs_buf, in h264_enc_encode()