/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
H A D | vivid-kthread-out.c | 85 v4l2_ctrl_request_setup(vid_out_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_out_tick() 87 v4l2_ctrl_request_complete(vid_out_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_out_tick() 97 vid_out_buf->vb.vb2_buf.timestamp = in vivid_thread_vid_out_tick() 99 vb2_buffer_done(&vid_out_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_out_tick() 102 vid_out_buf->vb.vb2_buf.index); in vivid_thread_vid_out_tick() 106 v4l2_ctrl_request_setup(vbi_out_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_out_tick() 108 v4l2_ctrl_request_complete(vbi_out_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_out_tick() 114 vbi_out_buf->vb.vb2_buf.timestamp = in vivid_thread_vid_out_tick() 116 vb2_buffer_done(&vbi_out_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_out_tick() 119 vbi_out_buf->vb.vb2_buf in vivid_thread_vid_out_tick() [all...] |
H A D | vivid-kthread-touch.c | 27 v4l2_ctrl_request_setup(tch_cap_buf->vb.vb2_buf.req_obj.req, in vivid_thread_tch_cap_tick() 31 v4l2_ctrl_request_complete(tch_cap_buf->vb.vb2_buf.req_obj.req, in vivid_thread_tch_cap_tick() 33 vb2_buffer_done(&tch_cap_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_tch_cap_tick() 36 tch_cap_buf->vb.vb2_buf.index); in vivid_thread_tch_cap_tick() 38 tch_cap_buf->vb.vb2_buf.timestamp = ktime_get_ns() + dev->time_wrap_offset; in vivid_thread_tch_cap_tick() 172 v4l2_ctrl_request_complete(buf->vb.vb2_buf.req_obj.req, in vivid_stop_generating_touch_cap() 174 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in vivid_stop_generating_touch_cap() 176 buf->vb.vb2_buf.index); in vivid_stop_generating_touch_cap()
|
H A D | vivid-kthread-cap.c | 229 return vb2_plane_vaddr(&buf->vb.vb2_buf, p); in plane_vaddr() 230 vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in plane_vaddr() 239 bool blank = dev->must_blank[vid_cap_buf->vb.vb2_buf.index]; in vivid_copy_buffer() 281 voutbuf += vid_out_buf->vb.vb2_buf.planes[p].data_offset; in vivid_copy_buffer() 448 tpg_s_perc_fill_blank(tpg, dev->must_blank[buf->vb.vb2_buf.index]); in vivid_fillbuff() 471 dev->must_blank[buf->vb.vb2_buf.index] = false; in vivid_fillbuff() 597 void *vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in vivid_overlay() 724 v4l2_ctrl_request_setup(vid_cap_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_cap_tick() 729 vid_cap_buf->vb.vb2_buf.index); in vivid_thread_vid_cap_tick() 736 v4l2_ctrl_request_complete(vid_cap_buf->vb.vb2_buf in vivid_thread_vid_cap_tick() [all...] |
H A D | vivid-sdr-cap.c | 105 v4l2_ctrl_request_setup(sdr_cap_buf->vb.vb2_buf.req_obj.req, in vivid_thread_sdr_cap_tick() 107 v4l2_ctrl_request_complete(sdr_cap_buf->vb.vb2_buf.req_obj.req, in vivid_thread_sdr_cap_tick() 110 sdr_cap_buf->vb.vb2_buf.timestamp = in vivid_thread_sdr_cap_tick() 112 vb2_buffer_done(&sdr_cap_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_sdr_cap_tick() 283 vb2_buffer_done(&buf->vb.vb2_buf, in sdr_cap_start_streaming() 304 v4l2_ctrl_request_complete(buf->vb.vb2_buf.req_obj.req, in sdr_cap_stop_streaming() 306 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in sdr_cap_stop_streaming() 508 u8 *vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in vivid_sdr_cap_process() 510 unsigned long plane_size = vb2_plane_size(&buf->vb.vb2_buf, 0); in vivid_sdr_cap_process()
|
/kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/ |
H A D | vivid-kthread-out.c | 86 v4l2_ctrl_request_setup(vid_out_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_out_tick() 88 v4l2_ctrl_request_complete(vid_out_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_out_tick() 98 vid_out_buf->vb.vb2_buf.timestamp = in vivid_thread_vid_out_tick() 100 vb2_buffer_done(&vid_out_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_out_tick() 103 vid_out_buf->vb.vb2_buf.index); in vivid_thread_vid_out_tick() 107 v4l2_ctrl_request_setup(vbi_out_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_out_tick() 109 v4l2_ctrl_request_complete(vbi_out_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_out_tick() 115 vbi_out_buf->vb.vb2_buf.timestamp = in vivid_thread_vid_out_tick() 117 vb2_buffer_done(&vbi_out_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_out_tick() 120 vbi_out_buf->vb.vb2_buf in vivid_thread_vid_out_tick() [all...] |
H A D | vivid-kthread-touch.c | 28 v4l2_ctrl_request_setup(tch_cap_buf->vb.vb2_buf.req_obj.req, in vivid_thread_tch_cap_tick() 32 v4l2_ctrl_request_complete(tch_cap_buf->vb.vb2_buf.req_obj.req, in vivid_thread_tch_cap_tick() 34 vb2_buffer_done(&tch_cap_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_tch_cap_tick() 37 tch_cap_buf->vb.vb2_buf.index); in vivid_thread_tch_cap_tick() 39 tch_cap_buf->vb.vb2_buf.timestamp = ktime_get_ns() + dev->time_wrap_offset; in vivid_thread_tch_cap_tick() 182 v4l2_ctrl_request_complete(buf->vb.vb2_buf.req_obj.req, in vivid_stop_generating_touch_cap() 184 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in vivid_stop_generating_touch_cap() 186 buf->vb.vb2_buf.index); in vivid_stop_generating_touch_cap()
|
H A D | vivid-kthread-cap.c | 209 return vb2_plane_vaddr(&buf->vb.vb2_buf, p); in plane_vaddr() 210 vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in plane_vaddr() 219 bool blank = dev->must_blank[vid_cap_buf->vb.vb2_buf.index]; in vivid_copy_buffer() 261 voutbuf += vid_out_buf->vb.vb2_buf.planes[p].data_offset; in vivid_copy_buffer() 429 tpg_s_perc_fill_blank(tpg, dev->must_blank[buf->vb.vb2_buf.index]); in vivid_fillbuff() 452 dev->must_blank[buf->vb.vb2_buf.index] = false; in vivid_fillbuff() 602 v4l2_ctrl_request_setup(vid_cap_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_cap_tick() 607 vid_cap_buf->vb.vb2_buf.index); in vivid_thread_vid_cap_tick() 609 v4l2_ctrl_request_complete(vid_cap_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_cap_tick() 611 vb2_buffer_done(&vid_cap_buf->vb.vb2_buf, de in vivid_thread_vid_cap_tick() [all...] |
H A D | vivid-sdr-cap.c | 106 v4l2_ctrl_request_setup(sdr_cap_buf->vb.vb2_buf.req_obj.req, in vivid_thread_sdr_cap_tick() 108 v4l2_ctrl_request_complete(sdr_cap_buf->vb.vb2_buf.req_obj.req, in vivid_thread_sdr_cap_tick() 111 sdr_cap_buf->vb.vb2_buf.timestamp = in vivid_thread_sdr_cap_tick() 113 vb2_buffer_done(&sdr_cap_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_sdr_cap_tick() 290 vb2_buffer_done(&buf->vb.vb2_buf, in sdr_cap_start_streaming() 311 v4l2_ctrl_request_complete(buf->vb.vb2_buf.req_obj.req, in sdr_cap_stop_streaming() 313 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in sdr_cap_stop_streaming() 512 u8 *vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in vivid_sdr_cap_process() 514 unsigned long plane_size = vb2_plane_size(&buf->vb.vb2_buf, 0); in vivid_sdr_cap_process()
|
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_stateful.c | 81 vb->vb2_buf.index, dstbuf->queued_in_vb2); in get_display_buffer() 87 return &vb->vb2_buf; in get_display_buffer() 134 vb->vb2_buf.index, dstbuf->queued_in_vb2); in get_free_buffer() 150 vb->vb2_buf.index); in get_free_buffer() 164 vb->vb2_buf.index, dstbuf->queued_in_vb2, in get_free_buffer() 170 return &vb->vb2_buf; in get_free_buffer() 305 pfb->base_y.va = vb2_plane_vaddr(&dst_buf->vb2_buf, 0); in mtk_vdec_worker() 307 vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in mtk_vdec_worker() 310 pfb->base_c.va = vb2_plane_vaddr(&dst_buf->vb2_buf, 1); in mtk_vdec_worker() 312 vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, in mtk_vdec_worker() [all...] |
/kernel/linux/linux-6.6/drivers/media/test-drivers/visl/ |
H A D | visl-dec.c | 53 struct vb2_buffer *vb2_buf; in visl_get_ref_frames() local 55 vb2_buf = vb2_find_buffer(cap_q, run->fwht.params->backward_ref_ts); in visl_get_ref_frames() 59 vb2_buf ? vb2_buf->index : -1); in visl_get_ref_frames() 126 struct vb2_buffer *vb2_buf; in visl_get_ref_frames() local 129 vb2_buf = vb2_find_buffer(cap_q, run->h264.dpram->dpb[i].reference_ts); in visl_get_ref_frames() 132 vb2_buf ? vb2_buf->index : -1); in visl_get_ref_frames() 142 struct vb2_buffer *vb2_buf; in visl_get_ref_frames() local 145 vb2_buf in visl_get_ref_frames() [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/ |
H A D | vdec_helpers.c | 200 ret = set_canvas_nv12m(sess, &buf->vb.vb2_buf, width, in amvdec_set_canvases() 206 ret = set_canvas_yuv420m(sess, &buf->vb.vb2_buf, width, in amvdec_set_canvases() 223 sess->fw_idx_to_vb2_idx[i++] = buf->vb.vb2_buf.index; in amvdec_set_canvases() 283 vbuf->vb2_buf.planes[0].bytesused = output_size; in dst_buf_done() 284 vbuf->vb2_buf.planes[1].bytesused = output_size / 2; in dst_buf_done() 287 vbuf->vb2_buf.planes[0].bytesused = output_size; in dst_buf_done() 288 vbuf->vb2_buf.planes[1].bytesused = output_size / 4; in dst_buf_done() 289 vbuf->vb2_buf.planes[2].bytesused = output_size / 4; in dst_buf_done() 293 vbuf->vb2_buf.timestamp = timestamp; in dst_buf_done() 315 vbuf->vb2_buf in dst_buf_done() [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/meson/vdec/ |
H A D | vdec_helpers.c | 200 ret = set_canvas_nv12m(sess, &buf->vb.vb2_buf, width, in amvdec_set_canvases() 206 ret = set_canvas_yuv420m(sess, &buf->vb.vb2_buf, width, in amvdec_set_canvases() 223 sess->fw_idx_to_vb2_idx[i++] = buf->vb.vb2_buf.index; in amvdec_set_canvases() 283 vb2_set_plane_payload(&vbuf->vb2_buf, 0, output_size); in dst_buf_done() 284 vb2_set_plane_payload(&vbuf->vb2_buf, 1, output_size / 2); in dst_buf_done() 287 vb2_set_plane_payload(&vbuf->vb2_buf, 0, output_size); in dst_buf_done() 288 vb2_set_plane_payload(&vbuf->vb2_buf, 1, output_size / 4); in dst_buf_done() 289 vb2_set_plane_payload(&vbuf->vb2_buf, 2, output_size / 4); in dst_buf_done() 293 vbuf->vb2_buf.timestamp = timestamp; in dst_buf_done() 315 vbuf->vb2_buf in dst_buf_done() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/ |
H A D | mtk_vcodec_enc.c | 770 container_of(vb, struct vb2_v4l2_buffer, vb2_buf); in vb2ops_venc_buf_queue() 780 vb2_v4l2->vb2_buf.index, in vb2ops_venc_buf_queue() 869 dst_buf->vb2_buf.planes[0].bytesused = 0; in vb2ops_venc_stop_streaming() 929 bs_buf.va = vb2_plane_vaddr(&dst_buf->vb2_buf, 0); in mtk_venc_encode_header() 930 bs_buf.dma_addr = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in mtk_venc_encode_header() 931 bs_buf.size = (size_t)dst_buf->vb2_buf.planes[0].length; in mtk_venc_encode_header() 936 dst_buf->vb2_buf.index, bs_buf.va, in mtk_venc_encode_header() 945 dst_buf->vb2_buf.planes[0].bytesused = 0; in mtk_venc_encode_header() 953 dst_buf->vb2_buf.timestamp = src_buf->vb2_buf in mtk_venc_encode_header() [all...] |
H A D | mtk_vcodec_dec.c | 128 vb2_set_plane_payload(&vb->vb2_buf, 0, in get_display_buffer() 131 vb2_set_plane_payload(&vb->vb2_buf, 1, in get_display_buffer() 137 vb->vb2_buf.index, in get_display_buffer() 144 return &vb->vb2_buf; in get_display_buffer() 194 vb->vb2_buf.index, in get_free_buffer() 211 vb->vb2_buf.index); in get_free_buffer() 225 vb->vb2_buf.index, in get_free_buffer() 232 return &vb->vb2_buf; in get_free_buffer() 377 pfb->base_y.va = vb2_plane_vaddr(&dst_buf->vb2_buf, 0); in mtk_vdec_worker() 378 pfb->base_y.dma_addr = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, in mtk_vdec_worker() [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/pwc/ |
H A D | pwc-uncompress.c | 31 image = vb2_plane_vaddr(&fbuf->vb.vb2_buf, 0); in pwc_decompress() 46 vb2_set_plane_payload(&fbuf->vb.vb2_buf, 0, in pwc_decompress() 51 vb2_set_plane_payload(&fbuf->vb.vb2_buf, 0, in pwc_decompress()
|
/kernel/linux/linux-6.6/drivers/media/usb/pwc/ |
H A D | pwc-uncompress.c | 28 image = vb2_plane_vaddr(&fbuf->vb.vb2_buf, 0); in pwc_decompress() 43 vb2_set_plane_payload(&fbuf->vb.vb2_buf, 0, in pwc_decompress() 48 vb2_set_plane_payload(&fbuf->vb.vb2_buf, 0, in pwc_decompress()
|
/kernel/linux/linux-5.10/drivers/media/test-drivers/vimc/ |
H A D | vimc-capture.c | 234 vb2_buffer_done(&vbuf->vb2.vb2_buf, state); in vimc_cap_return_all_buffers() 282 static void vimc_cap_buf_queue(struct vb2_buffer *vb2_buf) in vimc_cap_buf_queue() argument 284 struct vimc_cap_device *vcap = vb2_get_drv_priv(vb2_buf->vb2_queue); in vimc_cap_buf_queue() 285 struct vimc_cap_buffer *buf = container_of(vb2_buf, in vimc_cap_buf_queue() 287 vb2.vb2_buf); in vimc_cap_buf_queue() 381 vimc_buf->vb2.vb2_buf.timestamp = ktime_get_ns(); in vimc_cap_process_frame() 385 vbuf = vb2_plane_vaddr(&vimc_buf->vb2.vb2_buf, 0); in vimc_cap_process_frame() 390 vb2_set_plane_payload(&vimc_buf->vb2.vb2_buf, 0, in vimc_cap_process_frame() 392 vb2_buffer_done(&vimc_buf->vb2.vb2_buf, VB2_BUF_STATE_DONE); in vimc_cap_process_frame()
|
/kernel/linux/linux-6.6/drivers/media/test-drivers/vimc/ |
H A D | vimc-capture.c | 235 vb2_buffer_done(&vbuf->vb2.vb2_buf, state); in vimc_capture_return_all_buffers() 282 static void vimc_capture_buf_queue(struct vb2_buffer *vb2_buf) in vimc_capture_buf_queue() argument 284 struct vimc_capture_device *vcapture = vb2_get_drv_priv(vb2_buf->vb2_queue); in vimc_capture_buf_queue() 285 struct vimc_capture_buffer *buf = container_of(vb2_buf, in vimc_capture_buf_queue() 287 vb2.vb2_buf); in vimc_capture_buf_queue() 381 vimc_buf->vb2.vb2_buf.timestamp = ktime_get_ns(); in vimc_capture_process_frame() 385 vbuf = vb2_plane_vaddr(&vimc_buf->vb2.vb2_buf, 0); in vimc_capture_process_frame() 390 vb2_set_plane_payload(&vimc_buf->vb2.vb2_buf, 0, in vimc_capture_process_frame() 392 vb2_buffer_done(&vimc_buf->vb2.vb2_buf, VB2_BUF_STATE_DONE); in vimc_capture_process_frame()
|
/kernel/linux/linux-6.6/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_mpeg2.c | 133 dst_luma_addr = cedrus_dst_buf_addr(ctx, &run->dst->vb2_buf, 0); in cedrus_mpeg2_setup() 134 dst_chroma_addr = cedrus_dst_buf_addr(ctx, &run->dst->vb2_buf, 1); in cedrus_mpeg2_setup() 143 reg = vb2_get_plane_payload(&run->src->vb2_buf, 0) * 8; in cedrus_mpeg2_setup() 148 src_buf_addr = vb2_dma_contig_plane_dma_addr(&run->src->vb2_buf, 0); in cedrus_mpeg2_setup() 157 reg = src_buf_addr + vb2_get_plane_payload(&run->src->vb2_buf, 0); in cedrus_mpeg2_setup()
|
/kernel/linux/linux-5.10/drivers/staging/media/hantro/ |
H A D | hantro_h1_jpeg_enc.c | 104 jpeg_ctx.buffer = vb2_plane_vaddr(&dst_buf->vb2_buf, 0); in hantro_h1_jpeg_enc_run() 115 hantro_h1_jpeg_enc_set_buffers(vpu, ctx, &src_buf->vb2_buf); in hantro_h1_jpeg_enc_run() 151 memcpy(vb2_plane_vaddr(&dst_buf->vb2_buf, 0) + in hantro_jpeg_enc_done() 154 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, in hantro_jpeg_enc_done()
|
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/ |
H A D | rockchip_vpu2_hw_jpeg_enc.c | 145 jpeg_ctx.buffer = vb2_plane_vaddr(&dst_buf->vb2_buf, 0); in rockchip_vpu2_jpeg_enc_run() 159 rockchip_vpu2_jpeg_enc_set_buffers(vpu, ctx, &src_buf->vb2_buf, in rockchip_vpu2_jpeg_enc_run() 160 &dst_buf->vb2_buf); in rockchip_vpu2_jpeg_enc_run() 195 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, in rockchip_vpu2_jpeg_enc_done()
|
H A D | hantro_h1_jpeg_enc.c | 119 jpeg_ctx.buffer = vb2_plane_vaddr(&dst_buf->vb2_buf, 0); in hantro_h1_jpeg_enc_run() 130 hantro_h1_jpeg_enc_set_buffers(vpu, ctx, &src_buf->vb2_buf, in hantro_h1_jpeg_enc_run() 131 &dst_buf->vb2_buf); in hantro_h1_jpeg_enc_run() 164 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, in hantro_h1_jpeg_enc_done()
|
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | uvc_queue.c | 262 vb2_buffer_done(&buf->buf.vb2_buf, VB2_BUF_STATE_ERROR); in uvcg_queue_cancel() 336 vb2_set_plane_payload(&buf->buf.vb2_buf, 0, 0); in uvcg_complete_buffer() 337 vb2_buffer_done(&buf->buf.vb2_buf, VB2_BUF_STATE_ERROR); in uvcg_complete_buffer() 343 buf->buf.vb2_buf.timestamp = ktime_get_ns(); in uvcg_complete_buffer() 345 vb2_set_plane_payload(&buf->buf.vb2_buf, 0, buf->bytesused); in uvcg_complete_buffer() 346 vb2_buffer_done(&buf->buf.vb2_buf, VB2_BUF_STATE_DONE); in uvcg_complete_buffer()
|
/kernel/linux/linux-5.10/drivers/media/usb/go7007/ |
H A D | go7007-driver.c | 381 if (vb && vb->vb.vb2_buf.planes[0].bytesused < GO7007_BUF_SIZE) { in store_byte() 382 u8 *ptr = vb2_plane_vaddr(&vb->vb.vb2_buf, 0); in store_byte() 384 ptr[vb->vb.vb2_buf.planes[0].bytesused++] = byte; in store_byte() 412 u32 *bytesused = &vb->vb.vb2_buf.planes[0].bytesused; in go7007_motion_regions() 454 bytesused = &vb->vb.vb2_buf.planes[0].bytesused; in frame_boundary() 462 vb->vb.vb2_buf.timestamp = ktime_get_ns(); in frame_boundary() 473 vb2_buffer_done(&vb_tmp->vb.vb2_buf, VB2_BUF_STATE_DONE); in frame_boundary() 516 if (vb && vb->vb.vb2_buf.planes[0].bytesused >= in go7007_parse_video_stream() 519 vb->vb.vb2_buf.planes[0].bytesused = 0; in go7007_parse_video_stream() 600 vb->vb.vb2_buf in go7007_parse_video_stream() [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/go7007/ |
H A D | go7007-driver.c | 383 if (vb && vb->vb.vb2_buf.planes[0].bytesused < GO7007_BUF_SIZE) { in store_byte() 384 u8 *ptr = vb2_plane_vaddr(&vb->vb.vb2_buf, 0); in store_byte() 386 ptr[vb->vb.vb2_buf.planes[0].bytesused++] = byte; in store_byte() 414 u32 *bytesused = &vb->vb.vb2_buf.planes[0].bytesused; in go7007_motion_regions() 456 bytesused = &vb->vb.vb2_buf.planes[0].bytesused; in frame_boundary() 464 vb->vb.vb2_buf.timestamp = ktime_get_ns(); in frame_boundary() 475 vb2_buffer_done(&vb_tmp->vb.vb2_buf, VB2_BUF_STATE_DONE); in frame_boundary() 518 if (vb && vb->vb.vb2_buf.planes[0].bytesused >= in go7007_parse_video_stream() 521 vb2_set_plane_payload(&vb->vb.vb2_buf, 0, 0); in go7007_parse_video_stream() 602 vb->vb.vb2_buf in go7007_parse_video_stream() [all...] |