videoraw

Name

videoraw -- Information about video buffers.

Synopsis


#include <gst/meta/videoraw.h>


struct      MetaVideoRaw;
struct      MetaDGA;
struct      MetaOverlay;
struct      OverlayClip;

Description

Information about video buffers.

Details

struct MetaVideoRaw

struct MetaVideoRaw {
  GstMeta meta;

  /* formatting information */
  GstColorSpaceType format;
  GdkVisual *visual;
  /* dimensions of the video buffer */
  gint width;
  gint height;
  /* a pointer to the overlay info if the sink supports this */
  MetaOverlay *overlay_info;
  /* a pointer to the DGA info if the sink supports this */
  MetaDGA *dga_info;
};


struct MetaDGA

struct MetaDGA {
  /* the base address of the screen */
  void *base;
  /* the dimensions of the screen */
  int swidth, sheight;
  /* the number of bytes in a line */
  int bytes_per_line;
};


struct MetaOverlay

struct MetaOverlay {
  /* the position of the window */
  int wx, wy;
  /* a reference to the object sending overlay change events */
  GtkWidget *overlay_element;
  /* the number of overlay regions */
  int clip_count;
  /* the overlay regions of the display window */
  struct _OverlayClip overlay_clip[32];

  gint width;
  gint height;
	
  gboolean did_overlay;
  gboolean fully_obscured;
};


struct OverlayClip

struct OverlayClip {
  int x1, x2, y1, y2;
};