Home
last modified time | relevance | path

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

/drivers/media/platform/chips-media/wave5/
A Dwave5-vpuapi.h677 struct vpu_buf vb_mv[MAX_REG_FRAME];
678 struct vpu_buf vb_fbc_y_tbl[MAX_REG_FRAME];
687 struct vpu_buf vb_work;
688 struct vpu_buf vb_task;
723 struct vpu_buf vb_work;
724 struct vpu_buf vb_mv; /* col_mv buffer */
728 struct vpu_buf vb_task;
753 struct vpu_buf common_mem;
757 struct vpu_buf sram_buf;
803 struct vpu_buf frame_vbuf[MAX_REG_FRAME];
[all …]
A Dwave5-vdi.c88 int wave5_vdi_clear_memory(struct vpu_device *vpu_dev, struct vpu_buf *vb) in wave5_vdi_clear_memory()
99 int wave5_vdi_write_memory(struct vpu_device *vpu_dev, struct vpu_buf *vb, size_t offset, in wave5_vdi_write_memory()
117 int wave5_vdi_allocate_dma_memory(struct vpu_device *vpu_dev, struct vpu_buf *vb) in wave5_vdi_allocate_dma_memory()
136 int wave5_vdi_free_dma_memory(struct vpu_device *vpu_dev, struct vpu_buf *vb) in wave5_vdi_free_dma_memory()
151 int wave5_vdi_allocate_array(struct vpu_device *vpu_dev, struct vpu_buf *array, unsigned int count, in wave5_vdi_allocate_array()
154 struct vpu_buf vb_buf; in wave5_vdi_allocate_array()
180 struct vpu_buf *vb = &vpu_dev->sram_buf; in wave5_vdi_allocate_sram()
202 struct vpu_buf *vb = &vpu_dev->sram_buf; in wave5_vdi_free_sram()
A Dwave5-vpu-dec.c158 struct vpu_src_buffer *vpu_buf; in wave5_last_src_buffer_consumed() local
163 vpu_buf = wave5_to_vpu_src_buf(m2m_ctx->last_src_buf); in wave5_last_src_buffer_consumed()
164 return vpu_buf->consumed; in wave5_last_src_buffer_consumed()
1000 struct vpu_buf *vframe = &inst->frame_vbuf[i]; in wave5_prepare_fb()
1155 if (vpu_buf->consumed) { in fill_ringbuffer()
1164 struct vpu_buf *ring_buffer = &inst->bitstream_vbuf; in fill_ringbuffer()
1171 if (vpu_buf->consumed) { in fill_ringbuffer()
1216 vpu_buf->consumed = true; in fill_ringbuffer()
1235 vpu_buf->consumed = false; in wave5_vpu_dec_buf_queue_src()
1257 vpu_buf->display = false; in wave5_vpu_dec_buf_queue_dst()
[all …]
A Dwave5-vdi.h26 struct vpu_buf { struct
A Dwave5-hw.c427 struct vpu_buf *common_vb; in wave5_vpu_init()
773 struct vpu_buf vb_buf; in wave5_vpu_dec_register_framebuffer()
1115 struct vpu_buf *common_vb; in wave5_vpu_re_init()
1235 struct vpu_buf *common_vb; in wave5_vpu_sleep_wake()
1947 struct vpu_buf vb_mv = {0}; in wave5_vpu_enc_register_framebuffer()
1948 struct vpu_buf vb_fbc_y_tbl = {0}; in wave5_vpu_enc_register_framebuffer()
1949 struct vpu_buf vb_fbc_c_tbl = {0}; in wave5_vpu_enc_register_framebuffer()
1950 struct vpu_buf vb_sub_sam_buf = {0}; in wave5_vpu_enc_register_framebuffer()
1951 struct vpu_buf vb_task = {0}; in wave5_vpu_enc_register_framebuffer()
/drivers/media/platform/amphion/
A Dvdec.c318 vpu_buf->fs_id = i; in vdec_attach_frame_store()
326 vpu_buf->fs_id = i; in vdec_attach_frame_store()
343 vpu_buf->fs_id = i; in vdec_attach_frame_store()
818 if (!vpu_buf) { in vdec_frame_decoded()
893 if (!vpu_buf) { in vdec_buf_done()
1155 if (vpu_buf->fs_id < 0 || vpu_buf->fs_id >= vdec->slot_count) { in vdec_response_frame()
1162 if (vdec->slots[vpu_buf->fs_id].curr != vpu_buf) { in vdec_response_frame()
1164 vdec->slots[vpu_buf->fs_id].pend = vpu_buf; in vdec_response_frame()
1177 info.id = vpu_buf->fs_id; in vdec_response_frame()
1194 vpu_buf->chroma_v = 0; in vdec_response_frame()
[all …]
A Dvpu_v4l2.c54 struct vpu_vb2_buffer *vpu_buf = to_vpu_vb2_buffer(vbuf); in vpu_set_buffer_state() local
56 vpu_buf->state = state; in vpu_set_buffer_state()
61 struct vpu_vb2_buffer *vpu_buf = to_vpu_vb2_buffer(vbuf); in vpu_get_buffer_state() local
63 return vpu_buf->state; in vpu_get_buffer_state()
68 struct vpu_vb2_buffer *vpu_buf = to_vpu_vb2_buffer(vbuf); in vpu_set_buffer_average_qp() local
70 vpu_buf->average_qp = qp; in vpu_set_buffer_average_qp()
513 struct vpu_vb2_buffer *vpu_buf = to_vpu_vb2_buffer(vbuf); in vpu_vb2_buf_init() local
516 vpu_buf->fs_id = -1; in vpu_vb2_buf_init()
561 struct vpu_vb2_buffer *vpu_buf = to_vpu_vb2_buffer(vbuf); in vpu_vb2_buf_finish() local
566 v4l2_ctrl_s_ctrl(ctrl, vpu_buf->average_qp); in vpu_vb2_buf_finish()
A Dvpu_dbg.c168 struct vpu_vb2_buffer *vpu_buf; in vpu_dbg_instance() local
178 vpu_buf = to_vpu_vb2_buffer(vbuf); in vpu_dbg_instance()
187 if (vpu_buf->fs_id >= 0) { in vpu_dbg_instance()
188 num = scnprintf(str, sizeof(str), "; fs %d", vpu_buf->fs_id); in vpu_dbg_instance()

Completed in 25 milliseconds