gst_plugins_base/gst-libs/gst/interfaces/videoorientation.h
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
    40  * GstVideoOrientation:
    40  * GstVideoOrientation:
    41  *
    41  *
    42  * Opaque #GstVideoOrientation data structure.
    42  * Opaque #GstVideoOrientation data structure.
    43  */
    43  */
    44 typedef struct _GstVideoOrientation GstVideoOrientation;
    44 typedef struct _GstVideoOrientation GstVideoOrientation;
    45 typedef struct _GstVideoOrientationInterface GstVideoOrientationInterface;
       
    46 
    45 
    47 /**
    46 /**
    48  * GstVideoOrientationInterface:
    47  * GstVideoOrientationInterface:
    49  * @parent: parent interface type.
    48  * @parent: parent interface type.
    50  * @get_hflip: virtual method to get horizontal flipping state
    49  * @get_hflip: virtual method to get horizontal flipping state
    56  * @set_hcenter: virtual method to set horizontal centering state
    55  * @set_hcenter: virtual method to set horizontal centering state
    57  * @set_vcenter: virtual method to set vertical centering state
    56  * @set_vcenter: virtual method to set vertical centering state
    58  *
    57  *
    59  * #GstVideoOrientationInterface interface.
    58  * #GstVideoOrientationInterface interface.
    60  */
    59  */
    61 struct _GstVideoOrientationInterface {
    60 typedef struct _GstVideoOrientationInterface {
    62   GTypeInterface parent;
    61   GTypeInterface parent;
    63 
    62 
    64   /* virtual functions */
    63   /* virtual functions */
    65   gboolean (* get_hflip)   (GstVideoOrientation *video_orientation, gboolean *flip);
    64   gboolean (* get_hflip)   (GstVideoOrientation *video_orientation, gboolean *flip);
    66   gboolean (* get_vflip)   (GstVideoOrientation *video_orientation, gboolean *flip);
    65   gboolean (* get_vflip)   (GstVideoOrientation *video_orientation, gboolean *flip);
    72   gboolean (* set_hcenter) (GstVideoOrientation *video_orientation, gint center);
    71   gboolean (* set_hcenter) (GstVideoOrientation *video_orientation, gint center);
    73   gboolean (* set_vcenter) (GstVideoOrientation *video_orientation, gint center);
    72   gboolean (* set_vcenter) (GstVideoOrientation *video_orientation, gint center);
    74 
    73 
    75   /*< private > */
    74   /*< private > */
    76   gpointer _gst_reserved[GST_PADDING];
    75   gpointer _gst_reserved[GST_PADDING];
    77 };
    76 } GstVideoOrientationInterface;
    78 #ifdef __SYMBIAN32__
    77 #ifdef __SYMBIAN32__
    79 IMPORT_C
    78 IMPORT_C
    80 #endif
    79 #endif
    81 
    80 
    82 
    81