summaryrefslogtreecommitdiff
path: root/gst/videocrop/gstvideocrop.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/videocrop/gstvideocrop.h')
-rw-r--r--gst/videocrop/gstvideocrop.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gst/videocrop/gstvideocrop.h b/gst/videocrop/gstvideocrop.h
index d13ca9b2d..994b73dba 100644
--- a/gst/videocrop/gstvideocrop.h
+++ b/gst/videocrop/gstvideocrop.h
@@ -38,7 +38,8 @@ G_BEGIN_DECLS
typedef enum {
VIDEO_CROP_PIXEL_FORMAT_PACKED_SIMPLE = 0, /* RGBx, AYUV */
VIDEO_CROP_PIXEL_FORMAT_PACKED_COMPLEX, /* UYVY, YVYU */
- VIDEO_CROP_PIXEL_FORMAT_PLANAR /* I420, YV12 */
+ VIDEO_CROP_PIXEL_FORMAT_PLANAR, /* I420, YV12 */
+ VIDEO_CROP_PIXEL_FORMAT_SEMI_PLANAR /* NV12, NV21 */
} VideoCropPixelFormat;
typedef struct _GstVideoCropImageDetails GstVideoCropImageDetails;
@@ -60,6 +61,9 @@ struct _GstVideoCropImageDetails
guint y_stride, y_off;
guint u_stride, u_off;
guint v_stride, v_off;
+
+ /* For bi-planar UV or VU plane */
+ guint uv_stride, uv_off;
};
typedef struct _GstVideoCrop GstVideoCrop;