Home
last modified time | relevance | path

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

/linux/drivers/media/platform/chips-media/wave5/
A Dwave5-vpuapi.h676 struct vpu_buf vb_mv[MAX_REG_FRAME];
677 struct vpu_buf vb_fbc_y_tbl[MAX_REG_FRAME];
686 struct vpu_buf vb_work;
687 struct vpu_buf vb_task;
722 struct vpu_buf vb_work;
723 struct vpu_buf vb_mv; /* col_mv buffer */
727 struct vpu_buf vb_task;
752 struct vpu_buf common_mem;
756 struct vpu_buf sram_buf;
802 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.c176 struct vpu_src_buffer *vpu_buf; in wave5_last_src_buffer_consumed() local
181 vpu_buf = wave5_to_vpu_src_buf(m2m_ctx->last_src_buf); in wave5_last_src_buffer_consumed()
182 return vpu_buf->consumed; in wave5_last_src_buffer_consumed()
1080 struct vpu_buf *vframe = &inst->frame_vbuf[i]; in wave5_prepare_fb()
1235 if (vpu_buf->consumed) { in fill_ringbuffer()
1244 struct vpu_buf *ring_buffer = &inst->bitstream_vbuf; in fill_ringbuffer()
1251 if (vpu_buf->consumed) { in fill_ringbuffer()
1296 vpu_buf->consumed = true; in fill_ringbuffer()
1315 vpu_buf->consumed = false; in wave5_vpu_dec_buf_queue_src()
1337 vpu_buf->display = false; in wave5_vpu_dec_buf_queue_dst()
[all …]
A Dwave5-vdi.h26 struct vpu_buf { struct
A Dwave5-hw.c418 struct vpu_buf *common_vb; in wave5_vpu_init()
764 struct vpu_buf vb_buf; in wave5_vpu_dec_register_framebuffer()
1106 struct vpu_buf *common_vb; in wave5_vpu_re_init()
1226 struct vpu_buf *common_vb; in wave5_vpu_sleep_wake()
1931 struct vpu_buf vb_mv = {0}; in wave5_vpu_enc_register_framebuffer()
1932 struct vpu_buf vb_fbc_y_tbl = {0}; in wave5_vpu_enc_register_framebuffer()
1933 struct vpu_buf vb_fbc_c_tbl = {0}; in wave5_vpu_enc_register_framebuffer()
1934 struct vpu_buf vb_sub_sam_buf = {0}; in wave5_vpu_enc_register_framebuffer()
1935 struct vpu_buf vb_task = {0}; in wave5_vpu_enc_register_framebuffer()
/linux/drivers/media/platform/amphion/
A Dvdec.c722 if (!vpu_buf) { in vdec_frame_decoded()
727 vbuf = &vpu_buf->m2m_buf.vb; in vdec_frame_decoded()
795 if (!vpu_buf) { in vdec_buf_done()
806 vbuf = &vpu_buf->m2m_buf.vb; in vdec_buf_done()
1081 vpu_buf->tag = info.tag; in vdec_response_frame()
1084 vpu_buf->chroma_v = 0; in vdec_response_frame()
1158 vpu_buf = vdec->slots[i]; in vdec_clear_slots()
1159 vbuf = &vpu_buf->m2m_buf.vb; in vdec_clear_slots()
1280 vpu_buf = vdec->slots[fs->id]; in vdec_evnet_rel_fs()
1283 if (!vpu_buf) { in vdec_evnet_rel_fs()
[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()
550 struct vpu_vb2_buffer *vpu_buf = to_vpu_vb2_buffer(vbuf); in vpu_vb2_buf_finish() local
555 v4l2_ctrl_s_ctrl(ctrl, vpu_buf->average_qp); in vpu_vb2_buf_finish()

Completed in 28 milliseconds