[Bug 611157] [RFC] more buffer flags and caps fields in gst-video for 3d video

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Mar 23 08:30:19 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=611157
  GStreamer | gst-plugins-base | unspecified

--- Comment #15 from sreerenj <bsreerenj at gmail.com> 2013-03-23 15:30:11 UTC ---
Okay, I am taking some initiative to continue this work :)

I would like to propose the following,

typedef enum {
  GST_VIDEO_VIEW_TYPE_MONO,
  GST_VIDEO_VIEW_TYPE_STEREO,
  GST_VIDEO_VIEW_TYPE_MULTI
} GstVideoViewType;

typedef enum {
  GST_VIDEO_STEREO_SEQUENTIAL_PROGRESSIVE,
  GST_VIDEO_STEREO_SEQUENTIAL_ROW_INTERLEAVED,
  GST_VIDEO_STEREO_PACKED_ROW_INTERLEAVED,
  GST_VIDEO_STEREO_PACKED_COLUMN_INTERLEAVED,
  GST_VIDEO_STEREO_PACKED_SIDE_BY_SIDE,
  GST_VIDEO_STEREO_PACKED_TOP_BOTTOM,
  GST_VIDEO_STEREO_PACKED_CHECK_BOARD_INTERLEAVED,
} GstVideoStereoType;

typedef enum {
  GST_VIDEO_STEREO_TYPE_LEFT_VIEW_FIRST    = (1 << 0),
  /* or we can keep separate flags for all combination. eg:
LEFT_FRAME_AS_LEFT_VIEW, TOP_FRAME_AS_LEFT_VIEW etc: unnecessary but more
clarity*/
  GST_VIDEO_STEREO_TYPE_LEFT_VIEW_FLIPPED  = (1 << 2) ,
  GST_VIDEO_STEREO_TYPE_RIGHT_VIEW_FLIPPED = (1 << 3)
} GstVideoStereoContentType;

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list