Home
last modified time | relevance | path

Searched refs:vbuf (Results 51 - 75 of 433) sorted by relevance

12345678910>>...18

/kernel/linux/linux-6.6/drivers/media/platform/renesas/
H A Drcar_fdp1.c1182 struct vb2_v4l2_buffer *vbuf; in fdp1_prepare_job() local
1216 vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in fdp1_prepare_job()
1217 fbuf = to_fdp1_buffer(vbuf); in fdp1_prepare_job()
1786 struct vb2_v4l2_buffer *vbuf, in fdp1_buf_prepare_field()
1789 struct fdp1_buffer *buf = to_fdp1_buffer(vbuf); in fdp1_buf_prepare_field()
1794 num_fields = V4L2_FIELD_HAS_BOTH(vbuf->field) ? 2 : 1; in fdp1_buf_prepare_field()
1796 fbuf->vb = vbuf; in fdp1_buf_prepare_field()
1799 for (i = 0; i < vbuf->vb2_buf.num_planes; ++i) in fdp1_buf_prepare_field()
1800 fbuf->addrs[i] = vb2_dma_contig_plane_dma_addr(&vbuf->vb2_buf, i); in fdp1_buf_prepare_field()
1802 switch (vbuf in fdp1_buf_prepare_field()
1785 fdp1_buf_prepare_field(struct fdp1_q_data *q_data, struct vb2_v4l2_buffer *vbuf, unsigned int field_num) fdp1_buf_prepare_field() argument
1851 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); fdp1_buf_prepare() local
1916 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); fdp1_buf_queue() local
1964 struct vb2_v4l2_buffer *vbuf; fdp1_stop_streaming() local
[all...]
/third_party/mesa3d/src/gallium/frontends/omx/tizonia/
H A Dh264eprc.c234 static void enc_ScaleInput(vid_enc_PrivateType * priv, struct pipe_video_buffer **vbuf, unsigned *size) in enc_ScaleInput() argument
237 enc_ScaleInput_common(priv, def, vbuf, size); in enc_ScaleInput()
244 struct pipe_video_buffer *vbuf = task->buf; in enc_HandleTask() local
248 enc_ScaleInput(priv, &vbuf, &size); in enc_HandleTask()
264 priv->codec->begin_frame(priv->codec, vbuf, &picture.base); in enc_HandleTask()
265 priv->codec->encode_bitstream(priv->codec, vbuf, task->bitstream, &task->feedback); in enc_HandleTask()
266 priv->codec->end_frame(priv->codec, vbuf, &picture.base); in enc_HandleTask()
297 struct pipe_video_buffer *vbuf) in enc_LoadImage()
300 return enc_LoadImage_common(priv, def, buf, vbuf); in enc_LoadImage()
328 struct pipe_video_buffer *vbuf in encode_frame() local
296 enc_LoadImage(vid_enc_PrivateType * priv, OMX_BUFFERHEADERTYPE *buf, struct pipe_video_buffer *vbuf) enc_LoadImage() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/
H A Dcx23885-vbi.c130 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_prepare() local
132 struct cx23885_buffer *buf = container_of(vbuf, in buffer_prepare()
154 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_finish() local
155 struct cx23885_buffer *buf = container_of(vbuf, in buffer_finish()
184 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_queue() local
186 struct cx23885_buffer *buf = container_of(vbuf, in buffer_queue()
/kernel/linux/linux-5.10/drivers/media/pci/cx88/
H A Dcx88-vbi.c131 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_prepare() local
133 struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); in buffer_prepare()
155 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_finish() local
157 struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); in buffer_finish()
167 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_queue() local
169 struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); in buffer_queue()
/kernel/linux/linux-6.6/drivers/media/pci/cx23885/
H A Dcx23885-vbi.c130 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_prepare() local
132 struct cx23885_buffer *buf = container_of(vbuf, in buffer_prepare()
154 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_finish() local
155 struct cx23885_buffer *buf = container_of(vbuf, in buffer_finish()
184 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_queue() local
186 struct cx23885_buffer *buf = container_of(vbuf, in buffer_queue()
/kernel/linux/linux-6.6/drivers/media/pci/cx88/
H A Dcx88-vbi.c131 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_prepare() local
133 struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); in buffer_prepare()
155 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_finish() local
157 struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); in buffer_finish()
168 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_queue() local
170 struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); in buffer_queue()
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun6i-csi/
H A Dsun6i_video.c111 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in sun6i_video_buffer_prepare() local
113 container_of(vbuf, struct sun6i_csi_buffer, vb); in sun6i_video_buffer_prepare()
127 vbuf->field = video->fmt.fmt.pix.field; in sun6i_video_buffer_prepare()
246 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in sun6i_video_buffer_queue() local
248 container_of(vbuf, struct sun6i_csi_buffer, vb); in sun6i_video_buffer_queue()
262 struct vb2_v4l2_buffer *vbuf; in sun6i_video_frame_done() local
287 vbuf = &buf->vb; in sun6i_video_frame_done()
288 vbuf->vb2_buf.timestamp = ktime_get_ns(); in sun6i_video_frame_done()
289 vbuf->sequence = video->sequence; in sun6i_video_frame_done()
290 vb2_buffer_done(&vbuf in sun6i_video_frame_done()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/8390/
H A Dmcf8390.c79 void ei_insb(u32 addr, void *vbuf, int len) in ei_insb() argument
84 buf = (u8 *) vbuf; in ei_insb()
92 void ei_insw(u32 addr, void *vbuf, int len) in ei_insw() argument
97 buf = (u16 *) vbuf; in ei_insw()
105 void ei_outsb(u32 addr, const void *vbuf, int len) in ei_outsb() argument
110 buf = (u8 *) vbuf; in ei_outsb()
118 void ei_outsw(u32 addr, const void *vbuf, int len) in ei_outsw() argument
123 buf = (u16 *) vbuf; in ei_outsw()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
H A Dvivid-vbi-cap.c85 u8 *vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in vivid_raw_vbi_cap_process() local
94 memset(vbuf, 0x10, vb2_plane_size(&buf->vb.vb2_buf, 0)); in vivid_raw_vbi_cap_process()
97 vivid_vbi_gen_raw(&dev->vbi_gen, &vbi, vbuf); in vivid_raw_vbi_cap_process()
104 struct v4l2_sliced_vbi_data *vbuf = in vivid_sliced_vbi_cap_process() local
113 memset(vbuf, 0, vb2_plane_size(&buf->vb.vb2_buf, 0)); in vivid_sliced_vbi_cap_process()
118 vbuf[i] = dev->vbi_gen.data[i]; in vivid_sliced_vbi_cap_process()
174 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vbi_cap_buf_queue() local
176 struct vivid_buffer *buf = container_of(vbuf, struct vivid_buffer, vb); in vbi_cap_buf_queue()
/kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/
H A Dvivid-vbi-cap.c85 u8 *vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in vivid_raw_vbi_cap_process() local
94 memset(vbuf, 0x10, vb2_plane_size(&buf->vb.vb2_buf, 0)); in vivid_raw_vbi_cap_process()
97 vivid_vbi_gen_raw(&dev->vbi_gen, &vbi, vbuf); in vivid_raw_vbi_cap_process()
104 struct v4l2_sliced_vbi_data *vbuf = in vivid_sliced_vbi_cap_process() local
113 memset(vbuf, 0, vb2_plane_size(&buf->vb.vb2_buf, 0)); in vivid_sliced_vbi_cap_process()
118 vbuf[i] = dev->vbi_gen.data[i]; in vivid_sliced_vbi_cap_process()
174 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vbi_cap_buf_queue() local
176 struct vivid_buffer *buf = container_of(vbuf, struct vivid_buffer, vb); in vbi_cap_buf_queue()
/kernel/linux/linux-6.6/drivers/net/ethernet/8390/
H A Dmcf8390.c77 void ei_insb(u32 addr, void *vbuf, int len) in ei_insb() argument
82 buf = (u8 *) vbuf; in ei_insb()
90 void ei_insw(u32 addr, void *vbuf, int len) in ei_insw() argument
95 buf = (u16 *) vbuf; in ei_insw()
103 void ei_outsb(u32 addr, const void *vbuf, int len) in ei_outsb() argument
108 buf = (u8 *) vbuf; in ei_outsb()
116 void ei_outsw(u32 addr, const void *vbuf, int len) in ei_outsw() argument
121 buf = (u16 *) vbuf; in ei_outsw()
/third_party/mesa3d/src/gallium/tests/graw/
H A Dgs-test.c220 struct pipe_vertex_buffer vbuf; in set_vertices() local
237 memset(&vbuf, 0, sizeof vbuf); in set_vertices()
239 vbuf.stride = sizeof( struct vertex ); in set_vertices()
240 vbuf.buffer_offset = 0; in set_vertices()
242 vbuf.buffer.resource = pipe_buffer_create_with_data(ctx, in set_vertices()
248 vbuf.buffer.resource = pipe_buffer_create_with_data(ctx, in set_vertices()
255 ctx->set_vertex_buffers(ctx, 0, 1, 0, false, &vbuf); in set_vertices()
/kernel/linux/linux-6.6/drivers/media/platform/amphion/
H A Dvenc.c781 struct vb2_v4l2_buffer *vbuf) in venc_get_one_encoded_frame()
786 if (!vbuf) in venc_get_one_encoded_frame()
791 v4l2_m2m_buf_copy_metadata(src_buf, vbuf, true); in venc_get_one_encoded_frame()
796 vbuf->vb2_buf.timestamp = frame->info.timestamp; in venc_get_one_encoded_frame()
798 if (!venc_get_enable(inst->priv, vbuf->vb2_buf.type)) { in venc_get_one_encoded_frame()
799 v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERROR); in venc_get_one_encoded_frame()
802 if (frame->bytesused > vbuf->vb2_buf.planes[0].length) { in venc_get_one_encoded_frame()
803 v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERROR); in venc_get_one_encoded_frame()
811 void *dst = vb2_plane_vaddr(&vbuf->vb2_buf, 0); in venc_get_one_encoded_frame()
817 vb2_set_plane_payload(&vbuf in venc_get_one_encoded_frame()
779 venc_get_one_encoded_frame(struct vpu_inst *inst, struct venc_frame_t *frame, struct vb2_v4l2_buffer *vbuf) venc_get_one_encoded_frame() argument
1094 struct vb2_v4l2_buffer *vbuf; venc_process_output() local
1127 struct vb2_v4l2_buffer *vbuf; venc_process_capture() local
[all...]
/third_party/ffmpeg/libswscale/
H A Doutput.c633 const int16_t *ubuf[2], const int16_t *vbuf[2], in yuv2mono_2_c_template()
694 const int16_t *ubuf[2], const int16_t *vbuf[2], in yuv2mono_1_c_template()
757 const int16_t *ubuf[2], const int16_t *vbuf[2], \
761 name ## base ## _2_c_template(c, buf, ubuf, vbuf, abuf, \
766 const int16_t *ubuf[2], const int16_t *vbuf[2], \
770 name ## base ## _1_c_template(c, buf0, ubuf, vbuf, \
837 const int16_t *ubuf[2], const int16_t *vbuf[2], in yuv2422_2_c_template()
844 *vbuf0 = vbuf[0], *vbuf1 = vbuf[1]; in yuv2422_2_c_template()
870 const int16_t *ubuf[2], const int16_t *vbuf[ in yuv2422_1_c_template()
632 yuv2mono_2_c_template(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y, enum AVPixelFormat target) yuv2mono_2_c_template() argument
693 yuv2mono_1_c_template(SwsContext *c, const int16_t *buf0, const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf0, uint8_t *dest, int dstW, int uvalpha, int y, enum AVPixelFormat target) yuv2mono_1_c_template() argument
836 yuv2422_2_c_template(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y, enum AVPixelFormat target) yuv2422_2_c_template() argument
869 yuv2422_1_c_template(SwsContext *c, const int16_t *buf0, const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf0, uint8_t *dest, int dstW, int uvalpha, int y, enum AVPixelFormat target) yuv2422_1_c_template() argument
1107 yuv2rgba64_2_c_template(SwsContext *c, const int32_t *buf[2], const int32_t *ubuf[2], const int32_t *vbuf[2], const int32_t *abuf[2], uint16_t *dest, int dstW, int yalpha, int uvalpha, int y, enum AVPixelFormat target, int hasAlpha, int eightbytes) yuv2rgba64_2_c_template() argument
1172 yuv2rgba64_1_c_template(SwsContext *c, const int32_t *buf0, const int32_t *ubuf[2], const int32_t *vbuf[2], const int32_t *abuf0, uint16_t *dest, int dstW, int uvalpha, int y, enum AVPixelFormat target, int hasAlpha, int eightbytes) yuv2rgba64_1_c_template() argument
1339 yuv2rgba64_full_2_c_template(SwsContext *c, const int32_t *buf[2], const int32_t *ubuf[2], const int32_t *vbuf[2], const int32_t *abuf[2], uint16_t *dest, int dstW, int yalpha, int uvalpha, int y, enum AVPixelFormat target, int hasAlpha, int eightbytes) yuv2rgba64_full_2_c_template() argument
1391 yuv2rgba64_full_1_c_template(SwsContext *c, const int32_t *buf0, const int32_t *ubuf[2], const int32_t *vbuf[2], const int32_t *abuf0, uint16_t *dest, int dstW, int uvalpha, int y, enum AVPixelFormat target, int hasAlpha, int eightbytes) yuv2rgba64_full_1_c_template() argument
1734 yuv2rgb_2_c_template(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y, enum AVPixelFormat target, int hasAlpha) yuv2rgb_2_c_template() argument
1774 yuv2rgb_1_c_template(SwsContext *c, const int16_t *buf0, const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf0, uint8_t *dest, int dstW, int uvalpha, int y, enum AVPixelFormat target, int hasAlpha) yuv2rgb_1_c_template() argument
2087 yuv2rgb_full_2_c_template(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y, enum AVPixelFormat target, int hasAlpha) yuv2rgb_full_2_c_template() argument
2132 yuv2rgb_full_1_c_template(SwsContext *c, const int16_t *buf0, const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf0, uint8_t *dest, int dstW, int uvalpha, int y, enum AVPixelFormat target, int hasAlpha) yuv2rgb_full_1_c_template() argument
2443 yuv2ya8_1_c(SwsContext *c, const int16_t *buf0, const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf0, uint8_t *dest, int dstW, int uvalpha, int y) yuv2ya8_1_c() argument
2469 yuv2ya8_2_c(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y) yuv2ya8_2_c() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/bt8xx/
H A Dbttv-driver.c1482 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buf_queue() local
1485 struct bttv_buffer *buf = container_of(vbuf, struct bttv_buffer, vbuf); in buf_queue()
1504 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buf_prepare() local
1505 struct bttv_buffer *buf = container_of(vbuf, struct bttv_buffer, vbuf); in buf_prepare()
1513 buf->vbuf.field = btv->field; in buf_prepare()
1515 buf->vbuf.field = V4L2_FIELD_BOTTOM; in buf_prepare()
1518 buf->vbuf.field = V4L2_FIELD_TOP; in buf_prepare()
1530 struct vb2_v4l2_buffer *vbuf in buf_cleanup() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/
H A Dhelpers.h18 struct vb2_v4l2_buffer *vbuf, unsigned int type,
52 void venus_helper_acquire_buf_ref(struct vb2_v4l2_buffer *vbuf);
69 struct vb2_v4l2_buffer *vbuf);
/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/staging/media/zoran/
H A Dzoran_device.c800 struct vb2_v4l2_buffer *vbuf; in zoran_feed_stat_com() local
819 vbuf = &buf->vbuf; in zoran_feed_stat_com()
820 vbuf->vb2_buf.state = VB2_BUF_STATE_ACTIVE; in zoran_feed_stat_com()
821 phys_addr = vb2_dma_contig_plane_dma_addr(&vbuf->vb2_buf, 0); in zoran_feed_stat_com()
822 payload = vb2_get_plane_payload(&vbuf->vb2_buf, 0); in zoran_feed_stat_com()
899 buf->vbuf.vb2_buf.timestamp = ktime_get_ns(); in zoran_reap_stat_com()
902 vb2_set_plane_payload(&buf->vbuf.vb2_buf, 0, size); in zoran_reap_stat_com()
909 buf->vbuf.sequence = zr->jpg_settings.tmp_dcm == in zoran_reap_stat_com()
913 buf->vbuf in zoran_reap_stat_com()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/
H A Dhantro_v4l2.c882 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in hantro_buf_queue() local
892 vbuf->field = V4L2_FIELD_NONE; in hantro_buf_queue()
893 vbuf->sequence = ctx->sequence_cap++; in hantro_buf_queue()
895 v4l2_m2m_last_buffer_done(ctx->fh.m2m_ctx, vbuf); in hantro_buf_queue()
900 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in hantro_buf_queue()
959 struct vb2_v4l2_buffer *vbuf; in hantro_return_bufs() local
961 vbuf = buf_remove(ctx->fh.m2m_ctx); in hantro_return_bufs()
962 if (!vbuf) in hantro_return_bufs()
964 v4l2_ctrl_request_complete(vbuf->vb2_buf.req_obj.req, in hantro_return_bufs()
966 v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERRO in hantro_return_bufs()
1006 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); hantro_buf_out_validate() local
[all...]
/kernel/linux/linux-6.6/drivers/media/test-drivers/visl/
H A Dvisl-video.c581 struct vb2_v4l2_buffer *vbuf; in visl_queue_cleanup() local
586 vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in visl_queue_cleanup()
588 vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in visl_queue_cleanup()
590 if (!vbuf) in visl_queue_cleanup()
593 v4l2_ctrl_request_complete(vbuf->vb2_buf.req_obj.req, in visl_queue_cleanup()
596 vbuf->vb2_buf.req_obj.req); in visl_queue_cleanup()
598 v4l2_m2m_buf_done(vbuf, state); in visl_queue_cleanup()
601 vbuf->vb2_buf.timestamp, in visl_queue_cleanup()
608 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in visl_buf_out_validate() local
610 vbuf in visl_buf_out_validate()
680 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); visl_buf_queue() local
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/zoran/
H A Dzoran_device.c736 struct vb2_v4l2_buffer *vbuf; in zoran_feed_stat_com() local
755 vbuf = &buf->vbuf; in zoran_feed_stat_com()
756 vbuf->vb2_buf.state = VB2_BUF_STATE_ACTIVE; in zoran_feed_stat_com()
757 phys_addr = vb2_dma_contig_plane_dma_addr(&vbuf->vb2_buf, 0); in zoran_feed_stat_com()
758 payload = vb2_get_plane_payload(&vbuf->vb2_buf, 0); in zoran_feed_stat_com()
837 buf->vbuf.vb2_buf.timestamp = ktime_get_ns(); in zoran_reap_stat_com()
840 vb2_set_plane_payload(&buf->vbuf.vb2_buf, 0, size); in zoran_reap_stat_com()
847 buf->vbuf.sequence = zr->jpg_settings.tmp_dcm == in zoran_reap_stat_com()
851 buf->vbuf in zoran_reap_stat_com()
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/sti/hva/
H A Dhva-v4l2.c826 frame->vbuf.sequence = ctx->frame_num++; in hva_run_work()
937 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in hva_buf_prepare() local
940 struct hva_frame *frame = to_hva_frame(vbuf); in hva_buf_prepare()
942 if (vbuf->field == V4L2_FIELD_ANY) in hva_buf_prepare()
943 vbuf->field = V4L2_FIELD_NONE; in hva_buf_prepare()
944 if (vbuf->field != V4L2_FIELD_NONE) { in hva_buf_prepare()
947 ctx->name, vb->index, vbuf->field); in hva_buf_prepare()
953 frame->vaddr = vb2_plane_vaddr(&vbuf->vb2_buf, 0); in hva_buf_prepare()
955 &vbuf->vb2_buf, 0); in hva_buf_prepare()
965 struct hva_stream *stream = to_hva_stream(vbuf); in hva_buf_prepare()
988 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); hva_buf_queue() local
999 struct vb2_v4l2_buffer *vbuf; hva_start_streaming() local
1071 struct vb2_v4l2_buffer *vbuf; hva_stop_streaming() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/hva/
H A Dhva-v4l2.c826 frame->vbuf.sequence = ctx->frame_num++; in hva_run_work()
937 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in hva_buf_prepare() local
940 struct hva_frame *frame = to_hva_frame(vbuf); in hva_buf_prepare()
942 if (vbuf->field == V4L2_FIELD_ANY) in hva_buf_prepare()
943 vbuf->field = V4L2_FIELD_NONE; in hva_buf_prepare()
944 if (vbuf->field != V4L2_FIELD_NONE) { in hva_buf_prepare()
947 ctx->name, vb->index, vbuf->field); in hva_buf_prepare()
953 frame->vaddr = vb2_plane_vaddr(&vbuf->vb2_buf, 0); in hva_buf_prepare()
955 &vbuf->vb2_buf, 0); in hva_buf_prepare()
965 struct hva_stream *stream = to_hva_stream(vbuf); in hva_buf_prepare()
988 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); hva_buf_queue() local
999 struct vb2_v4l2_buffer *vbuf; hva_start_streaming() local
1071 struct vb2_v4l2_buffer *vbuf; hva_stop_streaming() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
H A Dhantro_v4l2.c660 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in hantro_buf_queue() local
662 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in hantro_buf_queue()
719 struct vb2_v4l2_buffer *vbuf; in hantro_return_bufs() local
721 vbuf = buf_remove(ctx->fh.m2m_ctx); in hantro_return_bufs()
722 if (!vbuf) in hantro_return_bufs()
724 v4l2_ctrl_request_complete(vbuf->vb2_buf.req_obj.req, in hantro_return_bufs()
726 v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERROR); in hantro_return_bufs()
760 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in hantro_buf_out_validate() local
762 vbuf->field = V4L2_FIELD_NONE; in hantro_buf_out_validate()

Completed in 26 milliseconds

12345678910>>...18