VLC-Qt 0.8.0- (Different version)
Enums.h
00001 /****************************************************************************
00002 * VLC-Qt - Qt and libvlc connector library
00003 * Copyright (C) 2012 Tadej Novak <tadej@tano.si>
00004 *
00005 * This library is free software: you can redistribute it and/or modify
00006 * it under the terms of the GNU Lesser General Public License as published
00007 * by the Free Software Foundation, either version 3 of the License, or
00008 * (at your option) any later version.
00009 *
00010 * This library is distributed in the hope that it will be useful,
00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00013 * GNU Lesser General Public License for more details.
00014 *
00015 * You should have received a copy of the GNU Lesser General Public License
00016 * along with this library. If not, see <http://www.gnu.org/licenses/>.
00017 *****************************************************************************/
00018 
00019 #ifndef VLCQT_ENUMS_H_
00020 #define VLCQT_ENUMS_H_
00021 
00022 #include <QtCore/QStringList>
00023 
00024 #include "SharedExportCore.h"
00025 
00030 namespace Vlc
00031 {
00032     // Enums
00037     enum ActionsType {
00038         AudioTrack,
00039         Subtitles,
00040         VideoTrack,
00041         Other
00042     };
00043 
00048     enum AudioCodec {
00049         NoAudio,
00050         MPEG2Audio,
00051         MP3,
00052         MPEG4Audio,
00053         Vorbis,
00054         Flac
00055     };
00056 
00061     enum AudioOutput {
00062         DefaultAout
00063     };
00064 
00069     enum Deinterlacing {
00070         Disabled,
00071         Discard,
00072         Blend,
00073         Mean,
00074         Bob,
00075         Linear,
00076         X
00077     };
00078 
00083     enum Meta {
00084         Title,
00085         Artist,
00086         Genre,
00087         Copyright,
00088         Album,
00089         TrackNumber,
00090         Description,
00091         Rating,
00092         Date,
00093         Setting,
00094         URL,
00095         Language,
00096         NowPlaying,
00097         Publisher,
00098         EncodedBy,
00099         ArtworkURL,
00100         TrackID
00101     };
00102 
00107     enum Mux {
00108         TS,
00109         PS,
00110         MP4,
00111         OGG,
00112         AVI
00113     };
00114 
00119     enum PlaybackMode {
00120         DefaultPlayback,
00121         Loop,
00122         Repeat
00123     };
00124 
00129     enum Ratio {
00130         Original,
00131         R_16_9,
00132         R_16_10,
00133         R_185_100,
00134         R_221_100,
00135         R_235_100,
00136         R_239_100,
00137         R_4_3,
00138         R_5_4,
00139         R_5_3,
00140         R_1_1
00141     };
00142 
00147     enum Scale {
00148         NoScale,
00149         S_1_05,
00150         S_1_1,
00151         S_1_2,
00152         S_1_3,
00153         S_1_4,
00154         S_1_5,
00155         S_1_6,
00156         S_1_7,
00157         S_1_8,
00158         S_1_9,
00159         S_2_0
00160     };
00161 
00166     enum State {
00167         Idle,
00168         Opening,
00169         Buffering,
00170         Playing,
00171         Paused,
00172         Stopped,
00173         Ended,
00174         Error
00175     };
00176 
00181     enum TrackType {
00182         UnknownType,
00183         Audio,
00184         Video,
00185         Text
00186     };
00187 
00192     enum VideoCodec {
00193         NoVideo,
00194         MPEG2Video,
00195         MPEG4Video,
00196         H264,
00197         Theora
00198     };
00199 
00204     enum VideoOutput {
00205 #if defined(Q_OS_LINUX)
00206         X11,
00207         XVideo,
00208         GLX,
00209 #elif defined(Q_OS_WIN32)
00210         DirectX,
00211         Direct3D,
00212         OpenGL,
00213 #endif
00214         DefaultVout
00215     };
00216 
00217     // Functions
00222     VLCQT_CORE_EXPORT QStringList audioCodec();
00223 
00228     VLCQT_CORE_EXPORT QStringList audioOutput();
00229 
00234     VLCQT_CORE_EXPORT QStringList audioOutputHuman();
00235 
00240     VLCQT_CORE_EXPORT QStringList deinterlacing();
00241 
00246     VLCQT_CORE_EXPORT QStringList mux();
00247 
00252     VLCQT_CORE_EXPORT QStringList ratio();
00253 
00258     VLCQT_CORE_EXPORT QStringList ratioHuman();
00259 
00264     VLCQT_CORE_EXPORT QList<float> scale();
00265 
00270     VLCQT_CORE_EXPORT QStringList videoCodec();
00271 
00276     VLCQT_CORE_EXPORT QStringList videoOutput();
00277 
00282     VLCQT_CORE_EXPORT QStringList videoOutputHuman();
00283 }
00284 
00285 #endif // VLCQT_ENUMS_H_
 All Classes Namespaces Functions Enumerations