QtGStreamer  0.10.2
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
videoorientation.h
00001 /*
00002     Copyright (C) 2010  George Kiagiadakis <kiagiadakis.george@gmail.com>
00003     Copyright (C) 2010  Collabora Multimedia.
00004       @author Mauricio Piacentini <mauricio.piacentini@collabora.co.uk>
00005 
00006     This library is free software; you can redistribute it and/or modify
00007     it under the terms of the GNU Lesser General Public License as published
00008     by the Free Software Foundation; either version 2.1 of the License, or
00009     (at your option) any later version.
00010 
00011     This program is distributed in the hope that it will be useful,
00012     but WITHOUT ANY WARRANTY; without even the implied warranty of
00013     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014     GNU Lesser General Public License for more details.
00015 
00016     You should have received a copy of the GNU Lesser General Public License
00017     along with this program.  If not, see <http://www.gnu.org/licenses/>.
00018 */
00019 #ifndef QGST_VIDEOORIENTATION_H
00020 #define QGST_VIDEOORIENTATION_H
00021 
00022 #include "global.h"
00023 #include "../QGlib/object.h"
00024 
00025 namespace QGst {
00026 
00030 class QTGSTREAMER_EXPORT VideoOrientation : public QGlib::Interface
00031 {
00032     QGST_WRAPPER(VideoOrientation)
00033 public:
00034     bool horizontalFlipEnabled() const;
00035     bool verticalFlipEnabled() const;
00036     int horizontalCenter() const;
00037     int verticalCenter() const;
00038     bool enableHorizontalFlip(bool enabled);
00039     bool enableVerticalFlip(bool enabled);
00040     bool setHorizontalCenter(int center);
00041     bool setVerticalCenter(int center);
00042 };
00043 
00044 } //namespace QGst
00045 
00046 QGST_REGISTER_TYPE(QGst::VideoOrientation)
00047 QGLIB_REGISTER_INTERFACE(QGst::VideoOrientation)
00048 
00049 #endif // QGST_VIDEOORIENTATION_H