Vlc Class Reference

Common enumerations. More...

#include <VLCQtCore/Enums.h>

Public Types

enum  LogLevel {
  DebugLevel = 0, NoticeLevel = 2, WarningLevel = 3, ErrorLevel = 4,
  DisabledLevel = 5
}
 libVLC log levels More...
 
enum  RenderFormat { YUVFormat }
 Frame format used for custom rendering. More...
 
enum  ActionsType { AudioTrack, Subtitles, VideoTrack, Other }
 Actions types identifiers.
 
enum  AudioChannel {
  AudioChannelError = -1, Stereo = 1, RStereo = 2, Left = 3,
  Right = 4, Dolbys = 5
}
 Audio channel options.
 
enum  AudioCodec {
  NoAudio, MPEG2Audio, MP3, MPEG4Audio,
  Vorbis, Flac
}
 Audio codecs list.
 
enum  AudioOutput { DefaultAout }
 Audio outputs list.
 
enum  Deinterlacing {
  Disabled, Discard, Blend, Mean,
  Bob, Linear, X, Yadif,
  Yadif2x, Phospor, IVTC
}
 Supported deinterlacing modes.
 
enum  FillMode { PreserveAspectFit = Qt::KeepAspectRatio, PreserveAspectCrop = Qt::KeepAspectRatioByExpanding, Stretch = Qt::IgnoreAspectRatio }
 Supported fill modes (QML only)
 
enum  Meta {
  Title, Artist, Genre, Copyright,
  Album, TrackNumber, Description, Rating,
  Date, Setting, URL, Language,
  NowPlaying, Publisher, EncodedBy, ArtworkURL,
  TrackID
}
 Supported meta types.
 
enum  Mux {
  TS, PS, MP4, OGG,
  AVI
}
 Recording output file mux.
 
enum  PlaybackMode { DefaultPlayback, Loop, Repeat }
 Playlist playback mode.
 
enum  Ratio {
  Original, Ignore, R_16_9, R_16_10,
  R_185_100, R_221_100, R_235_100, R_239_100,
  R_4_3, R_5_4, R_5_3, R_1_1
}
 Supported aspect and crop ratios. More...
 
enum  Scale {
  NoScale, S_1_05, S_1_1, S_1_2,
  S_1_3, S_1_4, S_1_5, S_1_6,
  S_1_7, S_1_8, S_1_9, S_2_0
}
 Supported scales.
 
enum  State {
  Idle, Opening, Buffering, Playing,
  Paused, Stopped, Ended, Error
}
 VLC-Qt playback states.
 
enum  VideoCodec {
  NoVideo, MPEG2Video, MPEG4Video, H264,
  Theora
}
 Video codecs list.
 
enum  VideoOutput { DefaultVout }
 Video outputs list.
 

Public Member Functions

 Vlc (QObject *parent=0)
 Dummy enums constructor. More...
 

Static Public Member Functions

static QStringList logLevel ()
 Log level strings. More...
 
static QStringList audioCodec ()
 Audio codecs strings. More...
 
static QStringList audioOutput ()
 Audio outputs strings. More...
 
static QStringList audioOutputHuman ()
 Audio outputs strings in readable form. More...
 
static QStringList deinterlacing ()
 Deinterlacing modes strings. More...
 
static QStringList mux ()
 Mux strings. More...
 
static QStringList ratio ()
 Aspect and crop ratios strings. More...
 
static QStringList ratioHuman ()
 Aspect and crop ratios strings in readable form. More...
 
static QSizeF ratioSize (const Vlc::Ratio &ratio)
 Aspect and crop ratios converter to QSizeF. More...
 
static QList< float > scale ()
 Scale floats. More...
 
static QStringList videoCodec ()
 Video codecs strings. More...
 
static QStringList videoOutput ()
 Video outputs strings. More...
 
static QStringList videoOutputHuman ()
 Video outputs strings in readable form. More...
 

Detailed Description

Common enumerations.

Member Enumeration Documentation

libVLC log levels

Since
VLC-Qt 1.1
enum Vlc::Ratio

Supported aspect and crop ratios.

Enumerator
Ignore 

QML aspect ratio only

Frame format used for custom rendering.

Since
VLC-Qt 1.1

Constructor & Destructor Documentation

Vlc::Vlc ( QObject *  parent = 0)
explicit

Dummy enums constructor.

This constructor creates a new dummy enums object.

Parameters
parentobject parent (QObject *)

Member Function Documentation

QStringList Vlc::audioCodec ( )
static

Audio codecs strings.

Returns
audio codecs strings (QStringList)
QStringList Vlc::audioOutput ( )
static

Audio outputs strings.

Returns
audio outputs strings (QStringList)
QStringList Vlc::audioOutputHuman ( )
static

Audio outputs strings in readable form.

Returns
audio outputs strings (QStringList)
QStringList Vlc::deinterlacing ( )
static

Deinterlacing modes strings.

Returns
deinterlacing strings (QStringList)
QStringList Vlc::logLevel ( )
static

Log level strings.

Returns
log level strings (QStringList)
QStringList Vlc::mux ( )
static

Mux strings.

Returns
mux strings (QStringList)
QStringList Vlc::ratio ( )
static

Aspect and crop ratios strings.

Returns
ratios strings (QStringList)
QStringList Vlc::ratioHuman ( )
static

Aspect and crop ratios strings in readable form.

Returns
ratios strings (QStringList)
QSizeF Vlc::ratioSize ( const Vlc::Ratio ratio)
static

Aspect and crop ratios converter to QSizeF.

Parameters
ratioaspect or crop ratio (Vlc::Ratio)
Returns
two-dimensional object using floating point precision (QSizeF)
QList< float > Vlc::scale ( )
static

Scale floats.

Returns
scale floats (QList<float>)
QStringList Vlc::videoCodec ( )
static

Video codecs strings.

Returns
video codecs strings (QStringList)
QStringList Vlc::videoOutput ( )
static

Video outputs strings.

Returns
video outputs strings (QStringList)
QStringList Vlc::videoOutputHuman ( )
static

Video outputs strings in readable form.

Returns
video outputs strings (QStringList)

The documentation for this class was generated from the following files: