[media] media: videobuf2: Replace v4l2-specific data with vb2 data
Simple changes that replace v4l2-specific data with vb2 data in videobuf2-core. enum v4l2_buf_type --> int enum v4l2_memory --> enum vb2_memory VIDEO_MAX_FRAME --> VB2_MAX_FRAME VIDEO_MAX_PLANES --> VB2_MAX_PLANES struct v4l2_fh *owner --> void *owner V4L2_TYPE_IS_MULTIPLANAR() --> is_multiplanar V4L2_TYPE_IS_OUTPUT() --> is_output Signed-off-by: Junghak Sung <jh1009.sung@samsung.com> Signed-off-by: Geunyoung Kim <nenggun.kim@samsung.com> Acked-by: Seung-Woo Kim <sw0312.kim@samsung.com> Acked-by: Inki Dae <inki.dae@samsung.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
33119e80c3
commit
bed04f9342
@@ -5,6 +5,7 @@
|
||||
#define _TRACE_V4L2_H
|
||||
|
||||
#include <linux/tracepoint.h>
|
||||
#include <media/videobuf2-v4l2.h>
|
||||
|
||||
/* Enums require being exported to userspace, for user tool parsing */
|
||||
#undef EM
|
||||
@@ -203,7 +204,9 @@ DECLARE_EVENT_CLASS(vb2_event_class,
|
||||
|
||||
TP_fast_assign(
|
||||
struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb);
|
||||
__entry->minor = q->owner ? q->owner->vdev->minor : -1;
|
||||
struct v4l2_fh *owner = q->owner;
|
||||
|
||||
__entry->minor = owner ? owner->vdev->minor : -1;
|
||||
__entry->queued_count = q->queued_count;
|
||||
__entry->owned_by_drv_count =
|
||||
atomic_read(&q->owned_by_drv_count);
|
||||
|
Reference in New Issue
Block a user