diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2014-04-15 15:07:23 -0400 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2014-05-08 15:56:35 -0400 |
commit | a7286563ee1fb0d3d2b3c24952288a8e493875da (patch) | |
tree | 121e49f9132e7b0626321989e656fd48c00f9ad7 /sys/v4l2/gstv4l2object.h | |
parent | 70e7868f18db93dfe3b8798c402e44f4a67cd89c (diff) |
v4l2: Add initial support for alignment and cropping
Diffstat (limited to 'sys/v4l2/gstv4l2object.h')
-rw-r--r-- | sys/v4l2/gstv4l2object.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/v4l2/gstv4l2object.h b/sys/v4l2/gstv4l2object.h index d61a274c8..e0edf1090 100644 --- a/sys/v4l2/gstv4l2object.h +++ b/sys/v4l2/gstv4l2object.h @@ -97,6 +97,10 @@ struct _GstV4l2Object { /* the current format */ struct v4l2_fmtdesc *fmtdesc; GstVideoInfo info; + GstVideoAlignment align; + + gboolean need_video_meta; + gboolean need_crop_meta; /* only used if the device supports MPLANE * nb planes is meaning of v4l2 planes @@ -254,8 +258,7 @@ GstCaps * gst_v4l2_object_get_caps (GstV4l2Object * v4l2object, GstCaps * filter); gboolean gst_v4l2_object_acquire_format (GstV4l2Object * v4l2object, - GstVideoInfo * info, - GstVideoAlignment * align); + GstVideoInfo * info); gboolean gst_v4l2_object_decide_allocation (GstV4l2Object * v4l2object, GstQuery * query); |