Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/platform/mediatek/vcodec/
Dvenc_vpu_if.c227 struct venc_frm_buf *frm_buf, in vpu_enc_encode_32bits() argument
243 if (frm_buf) { in vpu_enc_encode_32bits()
244 if ((frm_buf->fb_addr[0].dma_addr % 16 == 0) && in vpu_enc_encode_32bits()
245 (frm_buf->fb_addr[1].dma_addr % 16 == 0) && in vpu_enc_encode_32bits()
246 (frm_buf->fb_addr[2].dma_addr % 16 == 0)) { in vpu_enc_encode_32bits()
247 out.base.input_addr[0] = frm_buf->fb_addr[0].dma_addr; in vpu_enc_encode_32bits()
248 out.base.input_addr[1] = frm_buf->fb_addr[1].dma_addr; in vpu_enc_encode_32bits()
249 out.base.input_addr[2] = frm_buf->fb_addr[2].dma_addr; in vpu_enc_encode_32bits()
276 struct venc_frm_buf *frm_buf, in vpu_enc_encode_34bits() argument
290 if (frm_buf) { in vpu_enc_encode_34bits()
[all …]
Dvenc_drv_if.c58 enum venc_start_opt opt, struct venc_frm_buf *frm_buf, in venc_if_encode() argument
72 ret = ctx->enc_if->encode(ctx->drv_handle, opt, frm_buf, in venc_if_encode()
Dmtk_vcodec_enc.c1180 struct venc_frm_buf frm_buf; in mtk_venc_worker() local
1210 memset(&frm_buf, 0, sizeof(frm_buf)); in mtk_venc_worker()
1212 frm_buf.fb_addr[i].dma_addr = in mtk_venc_worker()
1214 frm_buf.fb_addr[i].size = in mtk_venc_worker()
1223 (u64)frm_buf.fb_addr[0].dma_addr, in mtk_venc_worker()
1224 frm_buf.fb_addr[0].size, in mtk_venc_worker()
1225 (u64)frm_buf.fb_addr[1].dma_addr, in mtk_venc_worker()
1226 frm_buf.fb_addr[1].size, in mtk_venc_worker()
1227 (u64)frm_buf.fb_addr[2].dma_addr, in mtk_venc_worker()
1228 frm_buf.fb_addr[2].size); in mtk_venc_worker()
[all …]
Dvenc_drv_base.h33 struct venc_frm_buf *frm_buf,
Dvenc_vpu_if.h46 struct venc_frm_buf *frm_buf,
Dvenc_drv_if.h166 struct venc_frm_buf *frm_buf,
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/venc/
Dvenc_vp8_if.c296 struct venc_frm_buf *frm_buf, in vp8_enc_encode_frame() argument
305 ret = vpu_enc_encode(&inst->vpu_inst, 0, frm_buf, bs_buf, NULL); in vp8_enc_encode_frame()
359 struct venc_frm_buf *frm_buf, in vp8_enc_encode() argument
373 ret = vp8_enc_encode_frame(inst, frm_buf, bs_buf, in vp8_enc_encode()
Dvenc_h264_if.c523 struct venc_frm_buf *frm_buf, in h264_encode_frame() argument
553 frm_buf, bs_buf, &frame_info); in h264_encode_frame()
638 struct venc_frm_buf *frm_buf, in h264_enc_encode() argument
673 ret = h264_encode_frame(inst, frm_buf, bs_buf, in h264_enc_encode()
701 ret = h264_encode_frame(inst, frm_buf, &tmp_bs_buf, in h264_enc_encode()