Home
last modified time | relevance | path

Searched refs:vbuf (Results 76 - 100 of 407) sorted by relevance

12345678910>>...17

/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
H A Dvsp1_video.h26 to_vsp1_vb2_buffer(struct vb2_v4l2_buffer *vbuf) in to_vsp1_vb2_buffer() argument
28 return container_of(vbuf, struct vsp1_vb2_buffer, buf); in to_vsp1_vb2_buffer()
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/
H A Dvsp1_video.h26 to_vsp1_vb2_buffer(struct vb2_v4l2_buffer *vbuf) in to_vsp1_vb2_buffer() argument
28 return container_of(vbuf, struct vsp1_vb2_buffer, buf); in to_vsp1_vb2_buffer()
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/
H A Dsaa7134-vbi.c109 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); in buffer_prepare() local
110 struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); in buffer_prepare()
151 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); in buffer_init() local
152 struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); in buffer_init()
H A Dsaa7134-ts.c69 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); in saa7134_ts_buffer_init() local
71 struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); in saa7134_ts_buffer_init()
82 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); in saa7134_ts_buffer_prepare() local
85 struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); in saa7134_ts_buffer_prepare()
99 vbuf->field = dev->field; in saa7134_ts_buffer_prepare()
/kernel/linux/linux-5.10/drivers/media/platform/sti/hva/
H A Dhva.h108 * @vbuf: video buffer information for V4L2
116 struct vb2_v4l2_buffer vbuf; member
128 container_of(vb, struct hva_frame, vbuf)
142 struct vb2_v4l2_buffer vbuf; member
155 container_of(vb, struct hva_stream, vbuf)
/kernel/linux/linux-5.10/drivers/staging/media/zoran/
H A Dzoran.h33 struct vb2_v4l2_buffer vbuf; member
39 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vb2_to_zr_buffer() local
41 return container_of(vbuf, struct zr_buffer, vbuf); in vb2_to_zr_buffer()
/kernel/linux/linux-5.10/drivers/staging/media/imx/
H A Dimx-media.h97 struct vb2_v4l2_buffer vbuf; /* v4l buffer must be first */ member
116 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in to_imx_media_vb() local
118 return container_of(vbuf, struct imx_media_buffer, vbuf); in to_imx_media_vb()
/kernel/linux/linux-6.6/drivers/staging/media/imx/
H A Dimx-media.h100 struct vb2_v4l2_buffer vbuf; /* v4l buffer must be first */ member
119 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in to_imx_media_vb() local
121 return container_of(vbuf, struct imx_media_buffer, vbuf); in to_imx_media_vb()
/kernel/linux/linux-6.6/drivers/media/pci/saa7134/
H A Dsaa7134-vbi.c109 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); in buffer_prepare() local
110 struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); in buffer_prepare()
151 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); in buffer_init() local
152 struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); in buffer_init()
H A Dsaa7134-ts.c69 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); in saa7134_ts_buffer_init() local
71 struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); in saa7134_ts_buffer_init()
82 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2); in saa7134_ts_buffer_prepare() local
85 struct saa7134_buf *buf = container_of(vbuf, struct saa7134_buf, vb2); in saa7134_ts_buffer_prepare()
99 vbuf->field = dev->field; in saa7134_ts_buffer_prepare()
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/hva/
H A Dhva.h108 * @vbuf: video buffer information for V4L2
116 struct vb2_v4l2_buffer vbuf; member
128 container_of(vb, struct hva_frame, vbuf)
133 * @vbuf: video buffer information for V4L2
142 struct vb2_v4l2_buffer vbuf; member
155 container_of(vb, struct hva_stream, vbuf)
/kernel/linux/linux-6.6/drivers/media/pci/zoran/
H A Dzoran.h36 struct vb2_v4l2_buffer vbuf; member
42 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vb2_to_zr_buffer() local
44 return container_of(vbuf, struct zr_buffer, vbuf); in vb2_to_zr_buffer()
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
H A Duvc_queue.c106 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in uvc_buffer_prepare() local
108 struct uvc_buffer *buf = uvc_vbuf_to_buffer(vbuf); in uvc_buffer_prepare()
133 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in uvc_buffer_queue() local
135 struct uvc_buffer *buf = uvc_vbuf_to_buffer(vbuf); in uvc_buffer_queue()
155 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in uvc_buffer_finish() local
158 struct uvc_buffer *buf = uvc_vbuf_to_buffer(vbuf); in uvc_buffer_finish()
161 uvc_video_clock_update(stream, vbuf, buf); in uvc_buffer_finish()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vimc/
H A Dvimc-capture.c228 struct vimc_cap_buffer *vbuf, *node; in vimc_cap_return_all_buffers() local
232 list_for_each_entry_safe(vbuf, node, &vcap->buf_list, list) { in vimc_cap_return_all_buffers()
233 list_del(&vbuf->list); in vimc_cap_return_all_buffers()
234 vb2_buffer_done(&vbuf->vb2.vb2_buf, state); in vimc_cap_return_all_buffers()
363 void *vbuf; in vimc_cap_process_frame() local
385 vbuf = vb2_plane_vaddr(&vimc_buf->vb2.vb2_buf, 0); in vimc_cap_process_frame()
387 memcpy(vbuf, frame, vcap->format.sizeimage); in vimc_cap_process_frame()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
H A Dvivid-sdr-cap.c247 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in sdr_cap_buf_queue() local
249 struct vivid_buffer *buf = container_of(vbuf, struct vivid_buffer, vb); in sdr_cap_buf_queue()
508 u8 *vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in vivid_sdr_cap_process() local
555 *vbuf++ = DIV_ROUND_CLOSEST(fixp_i, FIXP_FRAC * 10); in vivid_sdr_cap_process()
556 *vbuf++ = DIV_ROUND_CLOSEST(fixp_q, FIXP_FRAC * 10); in vivid_sdr_cap_process()
563 *vbuf++ = DIV_ROUND_CLOSEST(fixp_i, FIXP_FRAC * 10); in vivid_sdr_cap_process()
564 *vbuf++ = DIV_ROUND_CLOSEST(fixp_q, FIXP_FRAC * 10); in vivid_sdr_cap_process()
H A Dvivid-kthread-cap.c226 void *vbuf; in plane_vaddr() local
230 vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in plane_vaddr()
232 vbuf += bpl[i] * h / tpg->vdownsampling[i]; in plane_vaddr()
233 return vbuf; in plane_vaddr()
453 void *vbuf = plane_vaddr(tpg, buf, p, in vivid_fillbuff() local
462 memset(vbuf, dev->fmt_cap->data_offset[p] & 0xff, in vivid_fillbuff()
464 vbuf += dev->fmt_cap->data_offset[p]; in vivid_fillbuff()
466 tpg_calc_text_basep(tpg, basep, p, vbuf); in vivid_fillbuff()
467 if (!is_loop || vivid_copy_buffer(dev, p, vbuf, buf)) in vivid_fillbuff()
469 p, vbuf); in vivid_fillbuff()
597 void *vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); vivid_overlay() local
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/uvc/
H A Duvc_queue.c100 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in uvc_buffer_prepare() local
102 struct uvc_buffer *buf = uvc_vbuf_to_buffer(vbuf); in uvc_buffer_prepare()
128 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in uvc_buffer_queue() local
130 struct uvc_buffer *buf = uvc_vbuf_to_buffer(vbuf); in uvc_buffer_queue()
151 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in uvc_buffer_finish() local
154 struct uvc_buffer *buf = uvc_vbuf_to_buffer(vbuf); in uvc_buffer_finish()
157 uvc_video_clock_update(stream, vbuf, buf); in uvc_buffer_finish()
/kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/
H A Dvivid-sdr-cap.c254 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in sdr_cap_buf_queue() local
256 struct vivid_buffer *buf = container_of(vbuf, struct vivid_buffer, vb); in sdr_cap_buf_queue()
512 u8 *vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in vivid_sdr_cap_process() local
559 *vbuf++ = DIV_ROUND_CLOSEST(fixp_i, FIXP_FRAC * 10); in vivid_sdr_cap_process()
560 *vbuf++ = DIV_ROUND_CLOSEST(fixp_q, FIXP_FRAC * 10); in vivid_sdr_cap_process()
567 *vbuf++ = DIV_ROUND_CLOSEST(fixp_i, FIXP_FRAC * 10); in vivid_sdr_cap_process()
568 *vbuf++ = DIV_ROUND_CLOSEST(fixp_q, FIXP_FRAC * 10); in vivid_sdr_cap_process()
/kernel/linux/linux-6.6/drivers/media/test-drivers/vimc/
H A Dvimc-capture.c229 struct vimc_capture_buffer *vbuf, *node; in vimc_capture_return_all_buffers() local
233 list_for_each_entry_safe(vbuf, node, &vcapture->buf_list, list) { in vimc_capture_return_all_buffers()
234 list_del(&vbuf->list); in vimc_capture_return_all_buffers()
235 vb2_buffer_done(&vbuf->vb2.vb2_buf, state); in vimc_capture_return_all_buffers()
363 void *vbuf; in vimc_capture_process_frame() local
385 vbuf = vb2_plane_vaddr(&vimc_buf->vb2.vb2_buf, 0); in vimc_capture_process_frame()
387 memcpy(vbuf, frame, vcapture->format.sizeimage); in vimc_capture_process_frame()
/third_party/libwebsockets/lib/core/
H A Dlogs.c554 int hexdump_level, const void *vbuf, size_t len) in lwsl_hexdump_level_cx()
556 unsigned char *buf = (unsigned char *)vbuf; in lwsl_hexdump_level_cx()
568 if (!vbuf) { in lwsl_hexdump_level_cx()
608 lwsl_hexdump_level(int hexdump_level, const void *vbuf, size_t len) in lwsl_hexdump_level() argument
610 lwsl_hexdump_level_cx(&log_cx, NULL, NULL, hexdump_level, vbuf, len); in lwsl_hexdump_level()
614 lwsl_hexdump(const void *vbuf, size_t len) in lwsl_hexdump() argument
617 lwsl_hexdump_level(LLL_DEBUG, vbuf, len); in lwsl_hexdump()
553 lwsl_hexdump_level_cx(lws_log_cx_t *cx, lws_log_prepend_cx_t prep, void *obj, int hexdump_level, const void *vbuf, size_t len) lwsl_hexdump_level_cx() argument
/third_party/mesa3d/src/gallium/frontends/omx/
H A Dvid_enc_common.c211 struct pipe_video_buffer **vbuf, unsigned *size) in enc_ScaleInput_common()
213 struct pipe_video_buffer *src_buf = *vbuf; in enc_ScaleInput_common()
244 *vbuf = priv->scale_buffer[priv->current_scale_buffer++]; in enc_ScaleInput_common()
399 struct pipe_video_buffer *vbuf) in enc_LoadImage_common()
409 views = vbuf->get_sampler_view_planes(vbuf); in enc_LoadImage_common()
428 struct vl_video_buffer *dst_buf = (struct vl_video_buffer *)vbuf; in enc_LoadImage_common()
210 enc_ScaleInput_common(vid_enc_PrivateType * priv, OMX_VIDEO_PORTDEFINITIONTYPE *def, struct pipe_video_buffer **vbuf, unsigned *size) enc_ScaleInput_common() argument
397 enc_LoadImage_common(vid_enc_PrivateType * priv, OMX_VIDEO_PORTDEFINITIONTYPE *def, OMX_BUFFERHEADERTYPE *buf, struct pipe_video_buffer *vbuf) enc_LoadImage_common() argument
/third_party/mesa3d/src/gallium/tests/graw/
H A Dfs-test.c162 struct pipe_vertex_buffer vbuf; in set_vertices() local
177 memset(&vbuf, 0, sizeof vbuf); in set_vertices()
179 vbuf.stride = sizeof( struct vertex ); in set_vertices()
180 vbuf.buffer_offset = 0; in set_vertices()
181 vbuf.buffer.resource = pipe_buffer_create_with_data(ctx, in set_vertices()
187 ctx->set_vertex_buffers(ctx, 0, 1, 0, false, &vbuf); in set_vertices()
H A Dvs-test.c142 struct pipe_vertex_buffer vbuf; in set_vertices() local
170 memset(&vbuf, 0, sizeof vbuf); in set_vertices()
172 vbuf.stride = sizeof( struct vertex ); in set_vertices()
173 vbuf.buffer_offset = 0; in set_vertices()
174 vbuf.buffer.resource = pipe_buffer_create_with_data(ctx, in set_vertices()
180 ctx->set_vertex_buffers(ctx, 0, 1, 0, false, &vbuf); in set_vertices()
/third_party/mesa3d/src/gallium/tests/trivial/
H A Dtri.c80 struct pipe_resource *vbuf; member
124 p->vbuf = pipe_buffer_create(p->screen, PIPE_BIND_VERTEX_BUFFER, in init_prog()
126 pipe_buffer_write(p->pipe, p->vbuf, 0, sizeof(vertices), vertices); in init_prog()
239 pipe_resource_reference(&p->vbuf, NULL); in close_prog()
270 p->vbuf, 0, 0, in draw()
/kernel/linux/linux-6.6/drivers/media/platform/st/stm32/dma2d/
H A Ddma2d.c126 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in dma2d_buf_out_validate() local
128 if (vbuf->field == V4L2_FIELD_ANY) in dma2d_buf_out_validate()
129 vbuf->field = V4L2_FIELD_NONE; in dma2d_buf_out_validate()
130 if (vbuf->field != V4L2_FIELD_NONE) in dma2d_buf_out_validate()
151 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in dma2d_buf_queue() local
154 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in dma2d_buf_queue()
169 struct vb2_v4l2_buffer *vbuf; in dma2d_stop_streaming() local
173 vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in dma2d_stop_streaming()
175 vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in dma2d_stop_streaming()
176 if (!vbuf) in dma2d_stop_streaming()
[all...]

Completed in 17 milliseconds

12345678910>>...17