Home
last modified time | relevance | path

Searched refs:vbuf (Results 126 - 150 of 407) sorted by relevance

12345678910>>...17

/kernel/linux/linux-5.10/drivers/media/test-drivers/
H A Dvim2m.c1020 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vim2m_buf_out_validate() local
1023 if (vbuf->field == V4L2_FIELD_ANY) in vim2m_buf_out_validate()
1024 vbuf->field = V4L2_FIELD_NONE; in vim2m_buf_out_validate()
1025 if (vbuf->field != V4L2_FIELD_NONE) { in vim2m_buf_out_validate()
1058 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vim2m_buf_queue() local
1061 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in vim2m_buf_queue()
1082 struct vb2_v4l2_buffer *vbuf; in vim2m_stop_streaming() local
1088 vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in vim2m_stop_streaming()
1090 vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in vim2m_stop_streaming()
1091 if (!vbuf) in vim2m_stop_streaming()
[all...]
/kernel/linux/linux-6.6/drivers/media/v4l2-core/
H A Dv4l2-mem2mem.c192 struct vb2_v4l2_buffer *vbuf) in v4l2_m2m_buf_remove_by_buf()
198 b = container_of(vbuf, struct v4l2_m2m_buffer, vb); in v4l2_m2m_buf_remove_by_buf()
632 struct vb2_v4l2_buffer *vbuf) in v4l2_m2m_last_buffer_done()
634 vbuf->flags |= V4L2_BUF_FLAG_LAST; in v4l2_m2m_last_buffer_done()
635 vb2_buffer_done(&vbuf->vb2_buf, VB2_BUF_STATE_DONE); in v4l2_m2m_last_buffer_done()
733 struct vb2_v4l2_buffer *vbuf; in v4l2_m2m_force_last_buf_done() local
752 vbuf = to_vb2_v4l2_buffer(vb); in v4l2_m2m_force_last_buf_done()
753 vbuf->field = V4L2_FIELD_NONE; in v4l2_m2m_force_last_buf_done()
755 v4l2_m2m_last_buffer_done(m2m_ctx, vbuf); in v4l2_m2m_force_last_buf_done()
1281 struct vb2_v4l2_buffer *vbuf) in v4l2_m2m_buf_queue()
191 v4l2_m2m_buf_remove_by_buf(struct v4l2_m2m_queue_ctx *q_ctx, struct vb2_v4l2_buffer *vbuf) v4l2_m2m_buf_remove_by_buf() argument
631 v4l2_m2m_last_buffer_done(struct v4l2_m2m_ctx *m2m_ctx, struct vb2_v4l2_buffer *vbuf) v4l2_m2m_last_buffer_done() argument
1280 v4l2_m2m_buf_queue(struct v4l2_m2m_ctx *m2m_ctx, struct vb2_v4l2_buffer *vbuf) v4l2_m2m_buf_queue() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/test-drivers/
H A Dvim2m.c1010 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vim2m_buf_out_validate() local
1013 if (vbuf->field == V4L2_FIELD_ANY) in vim2m_buf_out_validate()
1014 vbuf->field = V4L2_FIELD_NONE; in vim2m_buf_out_validate()
1015 if (vbuf->field != V4L2_FIELD_NONE) { in vim2m_buf_out_validate()
1048 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vim2m_buf_queue() local
1051 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in vim2m_buf_queue()
1072 struct vb2_v4l2_buffer *vbuf; in vim2m_stop_streaming() local
1078 vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in vim2m_stop_streaming()
1080 vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in vim2m_stop_streaming()
1081 if (!vbuf) in vim2m_stop_streaming()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/renesas/
H A Drenesas-ceu.c145 static inline struct ceu_buffer *vb2_to_ceu(struct vb2_v4l2_buffer *vbuf) in vb2_to_ceu() argument
147 return container_of(vbuf, struct ceu_buffer, vb); in vb2_to_ceu()
493 struct vb2_v4l2_buffer *vbuf; in ceu_irq() local
508 vbuf = ceudev->active; in ceu_irq()
509 if (!vbuf) { in ceu_irq()
524 vbuf->vb2_buf.timestamp = ktime_get_ns(); in ceu_irq()
525 vbuf->sequence = ceudev->sequence++; in ceu_irq()
526 vbuf->field = ceudev->field; in ceu_irq()
539 vb2_buffer_done(&vbuf->vb2_buf, VB2_BUF_STATE_DONE); in ceu_irq()
547 vb2_buffer_done(&vbuf in ceu_irq()
648 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); ceu_vb2_queue() local
[all...]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vicodec/
H A Dvicodec-core.c1392 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vicodec_buf_out_validate() local
1394 vbuf->field = V4L2_FIELD_NONE; in vicodec_buf_out_validate()
1400 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vicodec_buf_prepare() local
1408 if (vbuf->field == V4L2_FIELD_ANY) in vicodec_buf_prepare()
1409 vbuf->field = V4L2_FIELD_NONE; in vicodec_buf_prepare()
1410 if (vbuf->field != V4L2_FIELD_NONE) { in vicodec_buf_prepare()
1430 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vicodec_buf_queue() local
1432 unsigned int sz = vb2_get_plane_payload(&vbuf->vb2_buf, 0); in vicodec_buf_queue()
1433 u8 *p_src = vb2_plane_vaddr(&vbuf->vb2_buf, 0); in vicodec_buf_queue()
1453 vbuf in vicodec_buf_queue()
1521 struct vb2_v4l2_buffer *vbuf; vicodec_return_bufs() local
[all...]
/kernel/linux/linux-6.6/drivers/media/test-drivers/vicodec/
H A Dvicodec-core.c1383 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vicodec_buf_out_validate() local
1385 vbuf->field = V4L2_FIELD_NONE; in vicodec_buf_out_validate()
1391 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vicodec_buf_prepare() local
1399 if (vbuf->field == V4L2_FIELD_ANY) in vicodec_buf_prepare()
1400 vbuf->field = V4L2_FIELD_NONE; in vicodec_buf_prepare()
1401 if (vbuf->field != V4L2_FIELD_NONE) { in vicodec_buf_prepare()
1421 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vicodec_buf_queue() local
1423 unsigned int sz = vb2_get_plane_payload(&vbuf->vb2_buf, 0); in vicodec_buf_queue()
1424 u8 *p_src = vb2_plane_vaddr(&vbuf->vb2_buf, 0); in vicodec_buf_queue()
1444 vbuf in vicodec_buf_queue()
1512 struct vb2_v4l2_buffer *vbuf; vicodec_return_bufs() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/
H A Dcodec_vp9.c427 struct vb2_v4l2_buffer *vbuf; member
673 amvdec_dst_buf_done(sess, tmp->vbuf, in codec_vp9_flush_output()
676 v4l2_m2m_buf_queue(sess->m2m_ctx, tmp->vbuf); in codec_vp9_flush_output()
1192 struct vb2_v4l2_buffer *vbuf; in codec_vp9_get_new_frame() local
1199 vbuf = v4l2_m2m_dst_buf_remove(sess->m2m_ctx); in codec_vp9_get_new_frame()
1200 if (!vbuf) { in codec_vp9_get_new_frame()
1206 while (codec_vp9_get_frame_by_idx(vp9, vbuf->vb2_buf.index)) { in codec_vp9_get_new_frame()
1207 struct vb2_v4l2_buffer *old_vbuf = vbuf; in codec_vp9_get_new_frame()
1209 vbuf = v4l2_m2m_dst_buf_remove(sess->m2m_ctx); in codec_vp9_get_new_frame()
1211 if (!vbuf) { in codec_vp9_get_new_frame()
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/meson/vdec/
H A Dcodec_vp9.c427 struct vb2_v4l2_buffer *vbuf; member
673 amvdec_dst_buf_done(sess, tmp->vbuf, in codec_vp9_flush_output()
676 v4l2_m2m_buf_queue(sess->m2m_ctx, tmp->vbuf); in codec_vp9_flush_output()
1192 struct vb2_v4l2_buffer *vbuf; in codec_vp9_get_new_frame() local
1199 vbuf = v4l2_m2m_dst_buf_remove(sess->m2m_ctx); in codec_vp9_get_new_frame()
1200 if (!vbuf) { in codec_vp9_get_new_frame()
1206 while (codec_vp9_get_frame_by_idx(vp9, vbuf->vb2_buf.index)) { in codec_vp9_get_new_frame()
1207 struct vb2_v4l2_buffer *old_vbuf = vbuf; in codec_vp9_get_new_frame()
1209 vbuf = v4l2_m2m_dst_buf_remove(sess->m2m_ctx); in codec_vp9_get_new_frame()
1211 if (!vbuf) { in codec_vp9_get_new_frame()
[all...]
/third_party/mesa3d/src/gallium/auxiliary/hud/
H A Dhud_context.c450 v->vbuf.stride = stride; in hud_prepare_vertices()
565 cso_set_vertex_buffers(cso, 0, 1, 0, false, &hud->bg.vbuf); in hud_draw_results()
568 pipe_resource_reference(&hud->bg.vbuf.buffer.resource, NULL); in hud_draw_results()
573 cso_set_vertex_buffers(cso, 0, 1, 0, false, &hud->text.vbuf); in hud_draw_results()
577 pipe_resource_reference(&hud->text.vbuf.buffer.resource, NULL); in hud_draw_results()
597 cso_set_vertex_buffers(cso, 0, 1, 0, false, &hud->whitelines.vbuf); in hud_draw_results()
601 pipe_resource_reference(&hud->whitelines.vbuf.buffer.resource, NULL); in hud_draw_results()
661 16, &hud->bg.vbuf.buffer_offset, &hud->bg.vbuf.buffer.resource, in hud_stop_queries()
666 pipe_resource_reference(&hud->whitelines.vbuf in hud_stop_queries()
[all...]
/kernel/linux/linux-6.6/mm/kmsan/
H A Dkmsan_test.c310 void *vbuf; in test_init_kmsan_vmap_vunmap() local
317 vbuf = vmap(pages, npages, VM_MAP, PAGE_KERNEL); in test_init_kmsan_vmap_vunmap()
318 memset(vbuf, 0xfe, npages * PAGE_SIZE); in test_init_kmsan_vmap_vunmap()
322 if (vbuf) in test_init_kmsan_vmap_vunmap()
323 vunmap(vbuf); in test_init_kmsan_vmap_vunmap()
/third_party/glfw/deps/
H A Dnuklear_glfw_gl2.h129 struct nk_buffer vbuf, ebuf; in nk_glfw3_render() local
152 nk_buffer_init_default(&vbuf); in nk_glfw3_render()
154 nk_convert(&glfw.ctx, &dev->cmds, &vbuf, &ebuf, &config); in nk_glfw3_render()
157 {const void *vertices = nk_buffer_memory_const(&vbuf); in nk_glfw3_render()
177 nk_buffer_free(&vbuf); in nk_glfw3_render()
/third_party/mesa3d/src/gallium/tests/trivial/
H A Dquad-tex.c84 struct pipe_resource *vbuf; member
134 p->vbuf = pipe_buffer_create(p->screen, PIPE_BIND_VERTEX_BUFFER, in init_prog()
136 pipe_buffer_write(p->pipe, p->vbuf, 0, sizeof(vertices), vertices); in init_prog()
301 pipe_resource_reference(&p->vbuf, NULL); in close_prog()
340 p->vbuf, 0, 0, in draw()
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun8i-rotate/
H A Dsun8i_rotate.c468 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in rotate_buf_queue() local
471 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in rotate_buf_queue()
477 struct vb2_v4l2_buffer *vbuf; in rotate_queue_cleanup() local
481 vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in rotate_queue_cleanup()
483 vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in rotate_queue_cleanup()
485 if (vbuf) in rotate_queue_cleanup()
486 v4l2_m2m_buf_done(vbuf, state); in rotate_queue_cleanup()
487 } while (vbuf); in rotate_queue_cleanup()
/kernel/linux/linux-5.10/drivers/media/usb/pwc/
H A Dpwc-if.c640 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_init() local
642 container_of(vbuf, struct pwc_frame_buf, vb); in buffer_init()
666 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_finish() local
668 container_of(vbuf, struct pwc_frame_buf, vb); in buffer_finish()
683 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_cleanup() local
685 container_of(vbuf, struct pwc_frame_buf, vb); in buffer_cleanup()
693 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_queue() local
695 container_of(vbuf, struct pwc_frame_buf, vb); in buffer_queue()
/kernel/linux/linux-6.6/drivers/media/platform/sunxi/sun8i-di/
H A Dsun8i-di.c560 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in deinterlace_buf_queue() local
563 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in deinterlace_buf_queue()
569 struct vb2_v4l2_buffer *vbuf; in deinterlace_queue_cleanup() local
573 vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in deinterlace_queue_cleanup()
575 vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in deinterlace_queue_cleanup()
577 if (vbuf) in deinterlace_queue_cleanup()
578 v4l2_m2m_buf_done(vbuf, state); in deinterlace_queue_cleanup()
579 } while (vbuf); in deinterlace_queue_cleanup()
/kernel/linux/linux-6.6/drivers/media/platform/sunxi/sun8i-rotate/
H A Dsun8i_rotate.c468 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in rotate_buf_queue() local
471 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in rotate_buf_queue()
477 struct vb2_v4l2_buffer *vbuf; in rotate_queue_cleanup() local
481 vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in rotate_queue_cleanup()
483 vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in rotate_queue_cleanup()
485 if (vbuf) in rotate_queue_cleanup()
486 v4l2_m2m_buf_done(vbuf, state); in rotate_queue_cleanup()
487 } while (vbuf); in rotate_queue_cleanup()
/kernel/linux/linux-6.6/drivers/media/usb/pwc/
H A Dpwc-if.c640 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_init() local
642 container_of(vbuf, struct pwc_frame_buf, vb); in buffer_init()
666 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_finish() local
668 container_of(vbuf, struct pwc_frame_buf, vb); in buffer_finish()
683 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_cleanup() local
685 container_of(vbuf, struct pwc_frame_buf, vb); in buffer_cleanup()
693 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_queue() local
695 container_of(vbuf, struct pwc_frame_buf, vb); in buffer_queue()
/kernel/linux/linux-5.10/drivers/media/platform/
H A Dvia-camera.c108 struct vb2_v4l2_buffer vbuf; member
367 sgt = vb2_dma_sg_plane_desc(&vb->vbuf.vb2_buf, 0); in viacam_irq()
368 vb->vbuf.vb2_buf.timestamp = ktime_get_ns(); in viacam_irq()
370 vb->vbuf.sequence = cam->sequence++; in viacam_irq()
371 vb->vbuf.field = V4L2_FIELD_NONE; in viacam_irq()
373 vb2_buffer_done(&vb->vbuf.vb2_buf, VB2_BUF_STATE_DONE); in viacam_irq()
575 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vb2_to_via_buffer() local
577 return container_of(vbuf, struct via_buffer, vbuf); in vb2_to_via_buffer()
655 vb2_buffer_done(&buf->vbuf in viacam_vb2_start_streaming()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/via/
H A Dvia-camera.c107 struct vb2_v4l2_buffer vbuf; member
356 sgt = vb2_dma_sg_plane_desc(&vb->vbuf.vb2_buf, 0); in viacam_irq()
357 vb->vbuf.vb2_buf.timestamp = ktime_get_ns(); in viacam_irq()
359 vb->vbuf.sequence = cam->sequence++; in viacam_irq()
360 vb->vbuf.field = V4L2_FIELD_NONE; in viacam_irq()
362 vb2_buffer_done(&vb->vbuf.vb2_buf, VB2_BUF_STATE_DONE); in viacam_irq()
564 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vb2_to_via_buffer() local
566 return container_of(vbuf, struct via_buffer, vbuf); in vb2_to_via_buffer()
644 vb2_buffer_done(&buf->vbuf in viacam_vb2_start_streaming()
[all...]
/third_party/mesa3d/src/gallium/frontends/omx/bellagio/
H A Dvid_enc.c761 struct pipe_video_buffer *vbuf) in enc_LoadImage()
766 return enc_LoadImage_common(priv, def, buf, vbuf); in enc_LoadImage()
769 static void enc_ScaleInput(omx_base_PortType *port, struct pipe_video_buffer **vbuf, unsigned *size) in enc_ScaleInput() argument
774 enc_ScaleInput_common(priv, def, vbuf, size); in enc_ScaleInput()
790 struct pipe_video_buffer *vbuf = task->buf; in enc_HandleTask() local
794 enc_ScaleInput(port, &vbuf, &size); in enc_HandleTask()
812 priv->codec->begin_frame(priv->codec, vbuf, &picture.base); in enc_HandleTask()
813 priv->codec->encode_bitstream(priv->codec, vbuf, task->bitstream, &task->feedback); in enc_HandleTask()
814 priv->codec->end_frame(priv->codec, vbuf, &picture.base); in enc_HandleTask()
872 struct pipe_video_buffer *vbuf in vid_enc_EncodeFrame() local
760 enc_LoadImage(omx_base_PortType *port, OMX_BUFFERHEADERTYPE *buf, struct pipe_video_buffer *vbuf) enc_LoadImage() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/
H A Dfimc-isp-video.c188 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in isp_video_capture_buffer_queue() local
192 struct isp_video_buf *ivb = to_isp_video_buf(vbuf); in isp_video_capture_buffer_queue()
237 struct vb2_v4l2_buffer *vbuf; in fimc_isp_video_irq_handler() local
245 vbuf = &video->buffers[buf_index]->vb; in fimc_isp_video_irq_handler()
247 vbuf->vb2_buf.timestamp = ktime_get_ns(); in fimc_isp_video_irq_handler()
248 vb2_buffer_done(&vbuf->vb2_buf, VB2_BUF_STATE_DONE); in fimc_isp_video_irq_handler()
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
H A Dvsp1_histo.c30 to_vsp1_histogram_buffer(struct vb2_v4l2_buffer *vbuf) in to_vsp1_histogram_buffer() argument
32 return container_of(vbuf, struct vsp1_histogram_buffer, buf); in to_vsp1_histogram_buffer()
107 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in histo_buffer_prepare() local
109 struct vsp1_histogram_buffer *buf = to_vsp1_histogram_buffer(vbuf); in histo_buffer_prepare()
124 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in histo_buffer_queue() local
126 struct vsp1_histogram_buffer *buf = to_vsp1_histogram_buffer(vbuf); in histo_buffer_queue()
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-isp-video.c188 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in isp_video_capture_buffer_queue() local
192 struct isp_video_buf *ivb = to_isp_video_buf(vbuf); in isp_video_capture_buffer_queue()
237 struct vb2_v4l2_buffer *vbuf; in fimc_isp_video_irq_handler() local
245 vbuf = &video->buffers[buf_index]->vb; in fimc_isp_video_irq_handler()
247 vbuf->vb2_buf.timestamp = ktime_get_ns(); in fimc_isp_video_irq_handler()
248 vb2_buffer_done(&vbuf->vb2_buf, VB2_BUF_STATE_DONE); in fimc_isp_video_irq_handler()
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/
H A Dvsp1_histo.c30 to_vsp1_histogram_buffer(struct vb2_v4l2_buffer *vbuf) in to_vsp1_histogram_buffer() argument
32 return container_of(vbuf, struct vsp1_histogram_buffer, buf); in to_vsp1_histogram_buffer()
107 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in histo_buffer_prepare() local
109 struct vsp1_histogram_buffer *buf = to_vsp1_histogram_buffer(vbuf); in histo_buffer_prepare()
124 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in histo_buffer_queue() local
126 struct vsp1_histogram_buffer *buf = to_vsp1_histogram_buffer(vbuf); in histo_buffer_queue()
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
H A Dhelpers.h48 void venus_helper_acquire_buf_ref(struct vb2_v4l2_buffer *vbuf);
63 struct vb2_v4l2_buffer *vbuf);

Completed in 40 milliseconds

12345678910>>...17