Lines Matching refs:src_buf

555 	struct vb2_v4l2_buffer *src_buf, *dst_buf;  in mxc_jpeg_dec_irq()  local
592 src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in mxc_jpeg_dec_irq()
593 if (!dst_buf || !src_buf) { in mxc_jpeg_dec_irq()
597 jpeg_src_buf = vb2_to_mxc_buf(&src_buf->vb2_buf); in mxc_jpeg_dec_irq()
644 print_mxc_buf(jpeg, &src_buf->vb2_buf, 32); in mxc_jpeg_dec_irq()
653 v4l2_m2m_buf_done(src_buf, buf_state); in mxc_jpeg_dec_irq()
793 struct vb2_buffer *src_buf, in mxc_jpeg_config_dec_desc() argument
811 jpeg_src_buf = vb2_to_mxc_buf(src_buf); in mxc_jpeg_config_dec_desc()
822 mxc_jpeg_addrs(desc, dst_buf, src_buf, 0); in mxc_jpeg_config_dec_desc()
823 mxc_jpeg_set_bufsize(desc, ALIGN(vb2_plane_size(src_buf, 0), 1024)); in mxc_jpeg_config_dec_desc()
858 struct vb2_buffer *src_buf, in mxc_jpeg_config_enc_desc() argument
873 q_data = mxc_jpeg_get_q_data(ctx, src_buf->vb2_queue->type); in mxc_jpeg_config_enc_desc()
907 mxc_jpeg_addrs(desc, src_buf, dst_buf, 0); in mxc_jpeg_config_enc_desc()
925 struct vb2_v4l2_buffer *src_buf, *dst_buf; in mxc_jpeg_device_run() local
931 src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in mxc_jpeg_device_run()
933 if (!src_buf || !dst_buf) { in mxc_jpeg_device_run()
944 src_buf->sequence = q_data_out->sequence++; in mxc_jpeg_device_run()
947 v4l2_m2m_buf_copy_metadata(src_buf, dst_buf, true); in mxc_jpeg_device_run()
949 jpeg_src_buf = vb2_to_mxc_buf(&src_buf->vb2_buf); in mxc_jpeg_device_run()
954 v4l2_m2m_buf_done(src_buf, VB2_BUF_STATE_ERROR); in mxc_jpeg_device_run()
982 &src_buf->vb2_buf, &dst_buf->vb2_buf); in mxc_jpeg_device_run()
986 print_mxc_buf(jpeg, &src_buf->vb2_buf, 0); in mxc_jpeg_device_run()
988 &src_buf->vb2_buf, &dst_buf->vb2_buf); in mxc_jpeg_device_run()