QtGStreamer  1.2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
videoorientation.h
1 /*
2  Copyright (C) 2010 George Kiagiadakis <kiagiadakis.george@gmail.com>
3  Copyright (C) 2010 Collabora Multimedia.
4  @author Mauricio Piacentini <mauricio.piacentini@collabora.co.uk>
5 
6  This library is free software; you can redistribute it and/or modify
7  it under the terms of the GNU Lesser General Public License as published
8  by the Free Software Foundation; either version 2.1 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU Lesser General Public License for more details.
15 
16  You should have received a copy of the GNU Lesser General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19 #ifndef QGST_VIDEOORIENTATION_H
20 #define QGST_VIDEOORIENTATION_H
21 
22 #include "global.h"
23 #include "../QGlib/object.h"
24 
25 namespace QGst {
26 
30 class QTGSTREAMER_EXPORT VideoOrientation : public QGlib::Interface
31 {
32  QGST_WRAPPER(VideoOrientation)
33 public:
34  bool horizontalFlipEnabled() const;
35  bool verticalFlipEnabled() const;
36  int horizontalCenter() const;
37  int verticalCenter() const;
38  bool enableHorizontalFlip(bool enabled);
39  bool enableVerticalFlip(bool enabled);
40  bool setHorizontalCenter(int center);
41  bool setVerticalCenter(int center);
42 };
43 
44 } //namespace QGst
45 
46 QGST_REGISTER_TYPE(QGst::VideoOrientation)
47 QGLIB_REGISTER_INTERFACE(QGst::VideoOrientation)
48 
49 #endif // QGST_VIDEOORIENTATION_H
Wrapper class for GstVideoOrientation.
Base class for interface wrappers.
Definition: object.h:99