/drivers/media/platform/verisilicon/ |
D | hantro_h1_jpeg_enc.c | 43 struct vb2_buffer *dst_buf) in hantro_h1_jpeg_enc_set_buffers() argument 49 size_left = vb2_plane_size(dst_buf, 0) - ctx->vpu_dst_fmt->header_size; in hantro_h1_jpeg_enc_set_buffers() 50 if (WARN_ON(vb2_plane_size(dst_buf, 0) < ctx->vpu_dst_fmt->header_size)) in hantro_h1_jpeg_enc_set_buffers() 55 vepu_write_relaxed(vpu, vb2_dma_contig_plane_dma_addr(dst_buf, 0) + in hantro_h1_jpeg_enc_set_buffers() 109 struct vb2_v4l2_buffer *src_buf, *dst_buf; in hantro_h1_jpeg_enc_run() local 114 dst_buf = hantro_get_dst_buf(ctx); in hantro_h1_jpeg_enc_run() 119 jpeg_ctx.buffer = vb2_plane_vaddr(&dst_buf->vb2_buf, 0); in hantro_h1_jpeg_enc_run() 131 &dst_buf->vb2_buf); in hantro_h1_jpeg_enc_run() 162 struct vb2_v4l2_buffer *dst_buf = hantro_get_dst_buf(ctx); in hantro_h1_jpeg_enc_done() local 164 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, in hantro_h1_jpeg_enc_done()
|
D | rockchip_vpu2_hw_jpeg_enc.c | 70 struct vb2_buffer *dst_buf) in rockchip_vpu2_jpeg_enc_set_buffers() argument 76 size_left = vb2_plane_size(dst_buf, 0) - ctx->vpu_dst_fmt->header_size; in rockchip_vpu2_jpeg_enc_set_buffers() 77 if (WARN_ON(vb2_plane_size(dst_buf, 0) < ctx->vpu_dst_fmt->header_size)) in rockchip_vpu2_jpeg_enc_set_buffers() 82 vepu_write_relaxed(vpu, vb2_dma_contig_plane_dma_addr(dst_buf, 0) + in rockchip_vpu2_jpeg_enc_set_buffers() 135 struct vb2_v4l2_buffer *src_buf, *dst_buf; in rockchip_vpu2_jpeg_enc_run() local 140 dst_buf = hantro_get_dst_buf(ctx); in rockchip_vpu2_jpeg_enc_run() 145 jpeg_ctx.buffer = vb2_plane_vaddr(&dst_buf->vb2_buf, 0); in rockchip_vpu2_jpeg_enc_run() 160 &dst_buf->vb2_buf); in rockchip_vpu2_jpeg_enc_run() 193 struct vb2_v4l2_buffer *dst_buf = hantro_get_dst_buf(ctx); in rockchip_vpu2_jpeg_enc_done() local 195 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, in rockchip_vpu2_jpeg_enc_done()
|
D | hantro_postproc.c | 70 struct vb2_v4l2_buffer *dst_buf; in hantro_postproc_g1_enable() local 90 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in hantro_postproc_g1_enable() 91 dst_dma = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in hantro_postproc_g1_enable() 119 struct vb2_v4l2_buffer *dst_buf; in hantro_postproc_g2_enable() local 125 dst_buf = hantro_get_dst_buf(ctx); in hantro_postproc_g2_enable() 126 dst_dma = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in hantro_postproc_g2_enable()
|
D | rockchip_vpu2_hw_mpeg2_dec.c | 97 struct vb2_buffer *dst_buf, in rockchip_vpu2_mpeg2_dec_set_buffers() argument 117 addr = vb2_dma_contig_plane_dma_addr(dst_buf, 0); in rockchip_vpu2_mpeg2_dec_set_buffers() 154 struct vb2_v4l2_buffer *src_buf, *dst_buf; in rockchip_vpu2_mpeg2_dec_run() local 160 dst_buf = hantro_get_dst_buf(ctx); in rockchip_vpu2_mpeg2_dec_run() 239 &dst_buf->vb2_buf, seq, pic); in rockchip_vpu2_mpeg2_dec_run()
|
D | hantro_g1_mpeg2_dec.c | 94 struct vb2_buffer *dst_buf, in hantro_g1_mpeg2_dec_set_buffers() argument 114 addr = hantro_get_dec_buf_addr(ctx, dst_buf); in hantro_g1_mpeg2_dec_set_buffers() 151 struct vb2_v4l2_buffer *src_buf, *dst_buf; in hantro_g1_mpeg2_dec_run() local 157 dst_buf = hantro_get_dst_buf(ctx); in hantro_g1_mpeg2_dec_run() 232 &dst_buf->vb2_buf, in hantro_g1_mpeg2_dec_run()
|
D | hantro_g1_h264_dec.c | 208 struct vb2_v4l2_buffer *dst_buf; in set_buffers() local 218 dst_buf = hantro_get_dst_buf(ctx); in set_buffers() 219 dst_dma = hantro_get_dec_buf_addr(ctx, &dst_buf->vb2_buf); in set_buffers()
|
D | hantro_h264.c | 368 struct vb2_v4l2_buffer *dst_buf; in hantro_h264_get_ref_buf() local 375 dst_buf = hantro_get_dst_buf(ctx); in hantro_h264_get_ref_buf() 376 buf = &dst_buf->vb2_buf; in hantro_h264_get_ref_buf()
|
/drivers/media/platform/chips-media/ |
D | coda-jpeg.c | 1073 struct vb2_v4l2_buffer *src_buf, *dst_buf; in coda9_jpeg_prepare_encode() local 1084 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in coda9_jpeg_prepare_encode() 1092 dst_buf->sequence = ctx->osequence; in coda9_jpeg_prepare_encode() 1100 start_addr = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in coda9_jpeg_prepare_encode() 1101 end_addr = start_addr + vb2_plane_size(&dst_buf->vb2_buf, 0); in coda9_jpeg_prepare_encode() 1118 vb2_plane_size(&dst_buf->vb2_buf, 0), in coda9_jpeg_prepare_encode() 1119 vb2_plane_vaddr(&dst_buf->vb2_buf, 0)); in coda9_jpeg_prepare_encode() 1209 struct vb2_v4l2_buffer *src_buf, *dst_buf; in coda9_jpeg_finish_encode() local 1226 dst_buf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in coda9_jpeg_finish_encode() 1228 trace_coda_jpeg_done(ctx, dst_buf); in coda9_jpeg_finish_encode() [all …]
|
D | coda-bit.c | 1481 struct vb2_v4l2_buffer *src_buf, *dst_buf; in coda_prepare_encode() local 1498 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in coda_prepare_encode() 1504 dst_buf->sequence = ctx->osequence; in coda_prepare_encode() 1536 vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0) + in coda_prepare_encode() 1544 memcpy(vb2_plane_vaddr(&dst_buf->vb2_buf, 0), in coda_prepare_encode() 1546 memcpy(vb2_plane_vaddr(&dst_buf->vb2_buf, 0) in coda_prepare_encode() 1549 memcpy(vb2_plane_vaddr(&dst_buf->vb2_buf, 0) in coda_prepare_encode() 1554 vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in coda_prepare_encode() 1641 struct vb2_v4l2_buffer *src_buf, *dst_buf; in coda_finish_encode() local 1655 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in coda_finish_encode() [all …]
|
/drivers/media/platform/mediatek/vcodec/decoder/ |
D | mtk_vcodec_dec_stateful.c | 280 struct vb2_v4l2_buffer *src_buf, *dst_buf; in mtk_vdec_worker() local 294 dst_buf = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in mtk_vdec_worker() 295 if (!dst_buf) { in mtk_vdec_worker() 302 container_of(dst_buf, struct mtk_video_dec_buf, m2m_buf.vb); in mtk_vdec_worker() 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, 1); in mtk_vdec_worker() 319 dst_buf->vb2_buf.index, pfb, pfb->base_y.va, in mtk_vdec_worker() 327 dst_buf = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in mtk_vdec_worker() [all …]
|
D | mtk_vcodec_dec_stateless.c | 246 struct vb2_buffer *dst_buf; in vdec_get_cap_buffer() local 255 dst_buf = &vb2_v4l2->vb2_buf; in vdec_get_cap_buffer() 259 pfb->base_y.va = vb2_plane_vaddr(dst_buf, 0); in vdec_get_cap_buffer() 260 pfb->base_y.dma_addr = vb2_dma_contig_plane_dma_addr(dst_buf, 0); in vdec_get_cap_buffer() 264 pfb->base_c.va = vb2_plane_vaddr(dst_buf, 1); in vdec_get_cap_buffer() 266 vb2_dma_contig_plane_dma_addr(dst_buf, 1); in vdec_get_cap_buffer() 271 dst_buf->index, pfb, pfb->base_y.va, &pfb->base_y.dma_addr, in vdec_get_cap_buffer()
|
/drivers/media/platform/mediatek/jpeg/ |
D | mtk_jpeg_core.c | 914 struct vb2_buffer *dst_buf, in mtk_jpeg_set_dec_dst() argument 919 if (param->comp_num != dst_buf->num_planes) { in mtk_jpeg_set_dec_dst() 921 param->comp_num, dst_buf->num_planes); in mtk_jpeg_set_dec_dst() 925 for (i = 0; i < dst_buf->num_planes; i++) { in mtk_jpeg_set_dec_dst() 926 if (vb2_plane_size(dst_buf, i) < param->comp_size[i]) { in mtk_jpeg_set_dec_dst() 929 vb2_plane_size(dst_buf, 0), in mtk_jpeg_set_dec_dst() 933 fb->plane_addr[i] = vb2_dma_contig_plane_dma_addr(dst_buf, i); in mtk_jpeg_set_dec_dst() 943 struct vb2_v4l2_buffer *src_buf, *dst_buf; in mtk_jpeg_enc_device_run() local 949 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in mtk_jpeg_enc_device_run() 967 mtk_jpeg_set_enc_dst(ctx, jpeg->reg_base, &dst_buf->vb2_buf); in mtk_jpeg_enc_device_run() [all …]
|
D | mtk_jpeg_enc_hw.c | 100 struct vb2_buffer *dst_buf) in mtk_jpeg_set_enc_dst() argument 107 dma_addr = vb2_dma_contig_plane_dma_addr(dst_buf, 0); in mtk_jpeg_set_enc_dst() 110 size = vb2_plane_size(dst_buf, 0); in mtk_jpeg_set_enc_dst() 240 struct vb2_v4l2_buffer *src_buf, *dst_buf; in mtk_jpegenc_timeout_work() local 243 dst_buf = cjpeg->hw_param.dst_buffer; in mtk_jpegenc_timeout_work() 244 v4l2_m2m_buf_copy_metadata(src_buf, dst_buf, true); in mtk_jpegenc_timeout_work() 258 struct vb2_v4l2_buffer *src_buf, *dst_buf; in mtk_jpegenc_hw_irq_handler() local 271 dst_buf = jpeg->hw_param.dst_buffer; in mtk_jpegenc_hw_irq_handler() 272 v4l2_m2m_buf_copy_metadata(src_buf, dst_buf, true); in mtk_jpegenc_hw_irq_handler() 282 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, result_size); in mtk_jpegenc_hw_irq_handler()
|
D | mtk_jpeg_dec_hw.c | 494 struct vb2_v4l2_buffer *src_buf, *dst_buf; in mtk_jpegdec_timeout_work() local 497 dst_buf = cjpeg->hw_param.dst_buffer; in mtk_jpegdec_timeout_work() 498 v4l2_m2m_buf_copy_metadata(src_buf, dst_buf, true); in mtk_jpegdec_timeout_work() 512 struct vb2_v4l2_buffer *src_buf, *dst_buf; in mtk_jpegdec_hw_irq_handler() local 527 dst_buf = jpeg->hw_param.dst_buffer; in mtk_jpegdec_hw_irq_handler() 528 v4l2_m2m_buf_copy_metadata(src_buf, dst_buf, true); in mtk_jpegdec_hw_irq_handler() 541 for (i = 0; i < dst_buf->vb2_buf.num_planes; i++) in mtk_jpegdec_hw_irq_handler() 542 vb2_set_plane_payload(&dst_buf->vb2_buf, i, in mtk_jpegdec_hw_irq_handler()
|
/drivers/media/platform/mediatek/vcodec/encoder/ |
D | mtk_vcodec_enc.c | 936 struct vb2_v4l2_buffer *src_buf, *dst_buf; in vb2ops_venc_stop_streaming() local 942 while ((dst_buf = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx))) { in vb2ops_venc_stop_streaming() 943 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, 0); in vb2ops_venc_stop_streaming() 944 v4l2_m2m_buf_done(dst_buf, VB2_BUF_STATE_ERROR); in vb2ops_venc_stop_streaming() 1022 struct vb2_v4l2_buffer *src_buf, *dst_buf; in mtk_venc_encode_header() local 1026 dst_buf = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in mtk_venc_encode_header() 1027 if (!dst_buf) { in mtk_venc_encode_header() 1032 bs_buf.va = vb2_plane_vaddr(&dst_buf->vb2_buf, 0); in mtk_venc_encode_header() 1033 bs_buf.dma_addr = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in mtk_venc_encode_header() 1034 bs_buf.size = (size_t)dst_buf->vb2_buf.planes[0].length; in mtk_venc_encode_header() [all …]
|
/drivers/media/platform/samsung/s5p-mfc/ |
D | s5p_mfc.c | 227 struct s5p_mfc_buf *dst_buf; in s5p_mfc_handle_frame_all_extracted() local 233 dst_buf = list_entry(ctx->dst_queue.next, in s5p_mfc_handle_frame_all_extracted() 236 dst_buf->b->vb2_buf.index); in s5p_mfc_handle_frame_all_extracted() 237 vb2_set_plane_payload(&dst_buf->b->vb2_buf, 0, 0); in s5p_mfc_handle_frame_all_extracted() 238 vb2_set_plane_payload(&dst_buf->b->vb2_buf, 1, 0); in s5p_mfc_handle_frame_all_extracted() 239 list_del(&dst_buf->list); in s5p_mfc_handle_frame_all_extracted() 240 dst_buf->flags |= MFC_BUF_FLAG_EOS; in s5p_mfc_handle_frame_all_extracted() 242 dst_buf->b->sequence = (ctx->sequence++); in s5p_mfc_handle_frame_all_extracted() 246 dst_buf->b->field = V4L2_FIELD_NONE; in s5p_mfc_handle_frame_all_extracted() 248 dst_buf->b->field = V4L2_FIELD_INTERLACED; in s5p_mfc_handle_frame_all_extracted() [all …]
|
/drivers/media/platform/mediatek/mdp/ |
D | mtk_mdp_regs.c | 61 struct mdp_buffer *dst_buf = &ctx->vpu.vsi->dst_buffer; in mtk_mdp_hw_set_output_addr() local 65 dst_buf->addr_mva[i] = (uint64_t)addr->addr[i]; in mtk_mdp_hw_set_output_addr() 124 struct mdp_buffer *dst_buf = &ctx->vpu.vsi->dst_buffer; in mtk_mdp_hw_set_out_image_format() local 126 dst_buf->plane_num = frame->fmt->num_comp; in mtk_mdp_hw_set_out_image_format() 130 for (i = 0; i < dst_buf->plane_num; i++) in mtk_mdp_hw_set_out_image_format() 131 dst_buf->plane_size[i] = frame->payload[i]; in mtk_mdp_hw_set_out_image_format()
|
/drivers/crypto/virtio/ |
D | virtio_crypto_akcipher_algs.c | 42 void *dst_buf; member 60 kfree(vc_akcipher_req->dst_buf); in virtio_crypto_akcipher_finalize_req() 62 vc_akcipher_req->dst_buf = NULL; in virtio_crypto_akcipher_finalize_req() 101 vc_akcipher_req->dst_buf, akcipher_req->dst_len); in virtio_crypto_dataq_akcipher_callback() 228 void *src_buf = NULL, *dst_buf = NULL; in __virtio_crypto_akcipher_do_req() local 256 dst_buf = kcalloc_node(req->dst_len, 1, GFP_KERNEL, node); in __virtio_crypto_akcipher_do_req() 257 if (!dst_buf) in __virtio_crypto_akcipher_do_req() 260 sg_init_one(&dstdata_sg, dst_buf, req->dst_len); in __virtio_crypto_akcipher_do_req() 265 vc_akcipher_req->dst_buf = dst_buf; in __virtio_crypto_akcipher_do_req() 282 kfree(dst_buf); in __virtio_crypto_akcipher_do_req()
|
/drivers/media/platform/nxp/imx-jpeg/ |
D | mxc-jpeg.c | 823 struct vb2_v4l2_buffer *dst_buf) in mxc_jpeg_check_and_set_last_buffer() argument 826 dst_buf->flags |= V4L2_BUF_FLAG_LAST; in mxc_jpeg_check_and_set_last_buffer() 837 struct vb2_v4l2_buffer *src_buf, *dst_buf; in mxc_jpeg_job_finish() local 839 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in mxc_jpeg_job_finish() 841 mxc_jpeg_check_and_set_last_buffer(ctx, src_buf, dst_buf); in mxc_jpeg_job_finish() 845 v4l2_m2m_buf_done(dst_buf, state); in mxc_jpeg_job_finish() 886 struct vb2_v4l2_buffer *src_buf, *dst_buf; in mxc_jpeg_dec_irq() local 918 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in mxc_jpeg_dec_irq() 920 if (!dst_buf || !src_buf) { in mxc_jpeg_dec_irq() 957 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, payload); in mxc_jpeg_dec_irq() [all …]
|
/drivers/media/platform/renesas/ |
D | rcar_jpu.c | 1319 struct vb2_v4l2_buffer *src_buf, *dst_buf; in jpu_cleanup() local 1325 dst_buf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in jpu_cleanup() 1328 v4l2_m2m_buf_done(dst_buf, VB2_BUF_STATE_ERROR); in jpu_cleanup() 1345 struct vb2_v4l2_buffer *src_buf, *dst_buf; in jpu_device_run() local 1361 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in jpu_device_run() 1364 jpu_buf = vb2_to_jpu_buffer(dst_buf); in jpu_device_run() 1381 dst_addr = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in jpu_device_run() 1449 vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in jpu_device_run() 1452 &dst_buf->vb2_buf, 1); in jpu_device_run() 1491 struct vb2_v4l2_buffer *src_buf, *dst_buf; in jpu_irq_handler() local [all …]
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_scaler.c | 216 struct exynos_drm_ipp_buffer *dst_buf) in scaler_set_dst_base() argument 225 for (i = 0; i < dst_buf->format->num_planes; ++i) in scaler_set_dst_base() 226 scaler_write(dst_buf->dma_addr[i], bases[i]); in scaler_set_dst_base() 230 struct exynos_drm_ipp_buffer *dst_buf) in scaler_set_dst_span() argument 234 val = SCALER_DST_SPAN_SET_Y_SPAN(dst_buf->buf.pitch[0] / in scaler_set_dst_span() 235 dst_buf->format->cpp[0]); in scaler_set_dst_span() 237 if (dst_buf->format->num_planes > 1) in scaler_set_dst_span() 238 val |= SCALER_DST_SPAN_SET_C_SPAN(dst_buf->buf.pitch[1]); in scaler_set_dst_span()
|
/drivers/staging/media/imx/ |
D | imx-media-csc-scaler.c | 94 struct vb2_v4l2_buffer *src_buf, *dst_buf; in ipu_ic_pp_complete() local 97 dst_buf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in ipu_ic_pp_complete() 99 v4l2_m2m_buf_copy_metadata(src_buf, dst_buf, true); in ipu_ic_pp_complete() 102 dst_buf->sequence = src_buf->sequence; in ipu_ic_pp_complete() 106 v4l2_m2m_buf_done(dst_buf, run->status ? VB2_BUF_STATE_ERROR : in ipu_ic_pp_complete() 117 struct vb2_v4l2_buffer *src_buf, *dst_buf; in device_run() local 122 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in device_run() 130 run->out_phys = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in device_run() 145 v4l2_m2m_buf_done(dst_buf, VB2_BUF_STATE_ERROR); in device_run()
|
/drivers/media/test-drivers/vicodec/ |
D | vicodec-core.c | 404 struct vb2_v4l2_buffer *src_buf, *dst_buf; in device_run() local 410 dst_buf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in device_run() 417 if (device_process(ctx, src_buf, dst_buf)) in device_run() 420 dst_buf->sequence = q_dst->sequence++; in device_run() 421 dst_buf->flags &= ~V4L2_BUF_FLAG_LAST; in device_run() 422 v4l2_m2m_buf_copy_metadata(src_buf, dst_buf, false); in device_run() 427 dst_buf->flags |= V4L2_BUF_FLAG_LAST; in device_run() 442 v4l2_m2m_buf_done(dst_buf, state); in device_run() 546 static void set_last_buffer(struct vb2_v4l2_buffer *dst_buf, in set_last_buffer() argument 553 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, 0); in set_last_buffer() [all …]
|
/drivers/media/rc/ |
D | meson-ir-tx.c | 181 static void meson_irtx_fill_buf(struct meson_irtx *ir, u32 *dst_buf, in meson_irtx_fill_buf() argument 188 dst_buf[i] = meson_irtx_prepare_pulse(ir, src_buf[i]); in meson_irtx_fill_buf() 190 dst_buf[i] = meson_irtx_prepare_space(ir, src_buf[i]); in meson_irtx_fill_buf()
|
/drivers/media/platform/samsung/s5p-jpeg/ |
D | jpeg-core.c | 2031 struct vb2_v4l2_buffer *src_buf, *dst_buf; in s5p_jpeg_device_run() local 2037 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in s5p_jpeg_device_run() 2039 dst_addr = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in s5p_jpeg_device_run() 2642 struct vb2_v4l2_buffer *src_buf, *dst_buf; in s5p_jpeg_irq() local 2654 dst_buf = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in s5p_jpeg_irq() 2676 dst_buf->timecode = src_buf->timecode; in s5p_jpeg_irq() 2677 dst_buf->vb2_buf.timestamp = src_buf->vb2_buf.timestamp; in s5p_jpeg_irq() 2678 dst_buf->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in s5p_jpeg_irq() 2679 dst_buf->flags |= in s5p_jpeg_irq() 2684 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, payload_size); in s5p_jpeg_irq() [all …]
|