Home
last modified time | relevance | path

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

/linux-6.15/drivers/media/platform/chips-media/wave5/
H 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 …]
H 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()
H 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 …]
H A Dwave5-vdi.h26 struct vpu_buf { struct
H 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()
/linux-6.15/drivers/media/platform/amphion/
H 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 …]
H 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()