summaryrefslogtreecommitdiff
path: root/sys/v4l2/gstv4l2object.h
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2014-11-24 10:36:30 -0500
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2014-11-24 10:36:30 -0500
commit43d5a523f11127e1a21388b6a22ca3b9f37f333d (patch)
tree869df0c62412aa9a443e589dca9ceb2561d22a9a /sys/v4l2/gstv4l2object.h
parent3591a91067232a8daeae6c27f000d9579ca4b0c7 (diff)
Revert "v4l2: move vb_queue probing from allocator to v4l2object"
Diffstat (limited to 'sys/v4l2/gstv4l2object.h')
-rw-r--r--sys/v4l2/gstv4l2object.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/v4l2/gstv4l2object.h b/sys/v4l2/gstv4l2object.h
index 1b6a6784d..6dbf47373 100644
--- a/sys/v4l2/gstv4l2object.h
+++ b/sys/v4l2/gstv4l2object.h
@@ -77,21 +77,6 @@ typedef gboolean (*GstV4l2UpdateFpsFunction) (GstV4l2Object * v4l2object);
#define GST_V4L2_SET_ACTIVE(o) ((o)->active = TRUE)
#define GST_V4L2_SET_INACTIVE(o) ((o)->active = FALSE)
-#define GST_V4L2_OBJECT_CAN_REQUEST(obj,path) \
- (GST_OBJECT_FLAG_IS_SET (obj, GST_V4L2_OBJECT_FLAG_ ## path ## _REQBUFS))
-#define GST_V4L2_OBJECT_CAN_ALLOCATE(obj,path) \
- (GST_OBJECT_FLAG_IS_SET (obj, GST_V4L2_OBJECT_FLAG_ ## path ## _CREATE_BUFS))
-
-enum _GstV4l2ObjectFlags
-{
- GST_V4L2_OBJECT_FLAG_MMAP_REQBUFS = (GST_OBJECT_FLAG_LAST << 0),
- GST_V4L2_OBJECT_FLAG_MMAP_CREATE_BUFS = (GST_OBJECT_FLAG_LAST << 1),
- GST_V4L2_OBJECT_FLAG_USERPTR_REQBUFS = (GST_OBJECT_FLAG_LAST << 2),
- GST_V4L2_OBJECT_FLAG_USERPTR_CREATE_BUFS = (GST_OBJECT_FLAG_LAST << 3),
- GST_V4L2_OBJECT_FLAG_DMABUF_REQBUFS = (GST_OBJECT_FLAG_LAST << 4),
- GST_V4L2_OBJECT_FLAG_DMABUF_CREATE_BUFS = (GST_OBJECT_FLAG_LAST << 5),
-};
-
struct _GstV4l2Object {
GstElement * element;