Home
last modified time | relevance | path

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

/drivers/media/platform/mtk-vcodec/
Dvenc_vpu_if.c226 struct venc_frm_buf *frm_buf, in vpu_enc_encode() argument
243 if (frm_buf) { in vpu_enc_encode()
244 if ((frm_buf->fb_addr[0].dma_addr % 16 == 0) && in vpu_enc_encode()
245 (frm_buf->fb_addr[1].dma_addr % 16 == 0) && in vpu_enc_encode()
246 (frm_buf->fb_addr[2].dma_addr % 16 == 0)) { in vpu_enc_encode()
247 out.base.input_addr[0] = frm_buf->fb_addr[0].dma_addr; in vpu_enc_encode()
248 out.base.input_addr[1] = frm_buf->fb_addr[1].dma_addr; in vpu_enc_encode()
249 out.base.input_addr[2] = frm_buf->fb_addr[2].dma_addr; in vpu_enc_encode()
Dmtk_vcodec_enc.c1045 struct venc_frm_buf frm_buf; in mtk_venc_worker() local
1061 memset(&frm_buf, 0, sizeof(frm_buf)); in mtk_venc_worker()
1063 frm_buf.fb_addr[i].dma_addr = in mtk_venc_worker()
1065 frm_buf.fb_addr[i].size = in mtk_venc_worker()
1074 (u64)frm_buf.fb_addr[0].dma_addr, in mtk_venc_worker()
1075 frm_buf.fb_addr[0].size, in mtk_venc_worker()
1076 (u64)frm_buf.fb_addr[1].dma_addr, in mtk_venc_worker()
1077 frm_buf.fb_addr[1].size, in mtk_venc_worker()
1078 (u64)frm_buf.fb_addr[2].dma_addr, in mtk_venc_worker()
1079 frm_buf.fb_addr[2].size); in mtk_venc_worker()
[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()
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,
/drivers/media/platform/mtk-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, bs_size, in vp8_enc_encode_frame()
360 struct venc_frm_buf *frm_buf, in vp8_enc_encode() argument
374 ret = vp8_enc_encode_frame(inst, frm_buf, bs_buf, in vp8_enc_encode()
Dvenc_h264_if.c434 struct venc_frm_buf *frm_buf, in h264_encode_frame() argument
450 ret = vpu_enc_encode(&inst->vpu_inst, H264_BS_MODE_FRAME, frm_buf, in h264_encode_frame()
533 struct venc_frm_buf *frm_buf, in h264_enc_encode() argument
568 ret = h264_encode_frame(inst, frm_buf, bs_buf, in h264_enc_encode()
596 ret = h264_encode_frame(inst, frm_buf, &tmp_bs_buf, in h264_enc_encode()