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.c170 struct venc_frm_buf *frm_buf, in vpu_enc_encode() argument
182 if (frm_buf) { in vpu_enc_encode()
183 if ((frm_buf->fb_addr[0].dma_addr % 16 == 0) && in vpu_enc_encode()
184 (frm_buf->fb_addr[1].dma_addr % 16 == 0) && in vpu_enc_encode()
185 (frm_buf->fb_addr[2].dma_addr % 16 == 0)) { in vpu_enc_encode()
186 out.input_addr[0] = frm_buf->fb_addr[0].dma_addr; in vpu_enc_encode()
187 out.input_addr[1] = frm_buf->fb_addr[1].dma_addr; in vpu_enc_encode()
188 out.input_addr[2] = frm_buf->fb_addr[2].dma_addr; in vpu_enc_encode()
Dmtk_vcodec_enc.c1062 struct venc_frm_buf frm_buf; in mtk_venc_worker() local
1078 memset(&frm_buf, 0, sizeof(frm_buf)); in mtk_venc_worker()
1080 frm_buf.fb_addr[i].dma_addr = in mtk_venc_worker()
1082 frm_buf.fb_addr[i].size = in mtk_venc_worker()
1091 (u64)frm_buf.fb_addr[0].dma_addr, in mtk_venc_worker()
1092 frm_buf.fb_addr[0].size, in mtk_venc_worker()
1093 (u64)frm_buf.fb_addr[1].dma_addr, in mtk_venc_worker()
1094 frm_buf.fb_addr[1].size, in mtk_venc_worker()
1095 (u64)frm_buf.fb_addr[2].dma_addr, in mtk_venc_worker()
1096 frm_buf.fb_addr[2].size); in mtk_venc_worker()
[all …]
Dvenc_drv_if.c59 enum venc_start_opt opt, struct venc_frm_buf *frm_buf, in venc_if_encode() argument
73 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.h47 struct venc_frm_buf *frm_buf,
Dvenc_drv_if.h153 struct venc_frm_buf *frm_buf,
/drivers/media/platform/mtk-vcodec/venc/
Dvenc_h264_if.c403 struct venc_frm_buf *frm_buf, in h264_encode_frame() argument
412 ret = vpu_enc_encode(&inst->vpu_inst, H264_BS_MODE_FRAME, frm_buf, in h264_encode_frame()
494 struct venc_frm_buf *frm_buf, in h264_enc_encode() argument
529 ret = h264_encode_frame(inst, frm_buf, bs_buf, in h264_enc_encode()
557 ret = h264_encode_frame(inst, frm_buf, &tmp_bs_buf, in h264_enc_encode()
Dvenc_vp8_if.c295 struct venc_frm_buf *frm_buf, in vp8_enc_encode_frame() argument
304 ret = vpu_enc_encode(&inst->vpu_inst, 0, frm_buf, bs_buf, bs_size); 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()