MythTV  master
Public Types | Public Member Functions | Public Attributes | List of all members
DriverOption Struct Reference

#include <driveroption.h>

Public Types

enum  category_t {
  UNKNOWN_CAT, STREAM_TYPE, VIDEO_ENCODING, VIDEO_ASPECT,
  VIDEO_B_FRAMES, VIDEO_GOP_SIZE, VIDEO_BITRATE_MODE, VIDEO_BITRATE,
  VIDEO_BITRATE_PEAK, AUDIO_ENCODING, AUDIO_BITRATE_MODE, AUDIO_SAMPLERATE,
  AUDIO_BITRATE, AUDIO_LANGUAGE, VOLUME, BRIGHTNESS,
  CONTRAST, SATURATION, HUE, SHARPNESS
}
 
enum  type_t {
  UNKNOWN_TYPE, INTEGER, BOOLEAN, STRING,
  MENU, BUTTON, BITMASK
}
 
typedef QMap< int, QString > menu_t
 
typedef QMap< category_t, DriverOptionOptions
 

Public Member Functions

 DriverOption (void)=default
 
 ~DriverOption (void)=default
 

Public Attributes

QString m_name
 
category_t m_category {UNKNOWN_CAT}
 
int32_t m_minimum {0}
 
int32_t m_maximum {0}
 
int32_t m_default_value {0}
 
int32_t m_current {0}
 
uint32_t m_step {0}
 
uint32_t m_flags {0}
 
menu_t m_menu
 
type_t m_type {UNKNOWN_TYPE}
 

Detailed Description

Definition at line 6 of file driveroption.h.

Member Typedef Documentation

◆ menu_t

typedef QMap<int, QString> DriverOption::menu_t

Definition at line 19 of file driveroption.h.

◆ Options

Definition at line 20 of file driveroption.h.

Member Enumeration Documentation

◆ category_t

Enumerator
UNKNOWN_CAT 
STREAM_TYPE 
VIDEO_ENCODING 
VIDEO_ASPECT 
VIDEO_B_FRAMES 
VIDEO_GOP_SIZE 
VIDEO_BITRATE_MODE 
VIDEO_BITRATE 
VIDEO_BITRATE_PEAK 
AUDIO_ENCODING 
AUDIO_BITRATE_MODE 
AUDIO_SAMPLERATE 
AUDIO_BITRATE 
AUDIO_LANGUAGE 
VOLUME 
BRIGHTNESS 
CONTRAST 
SATURATION 
HUE 
SHARPNESS 

Definition at line 9 of file driveroption.h.

◆ type_t

Enumerator
UNKNOWN_TYPE 
INTEGER 
BOOLEAN 
STRING 
MENU 
BUTTON 
BITMASK 

Definition at line 16 of file driveroption.h.

Constructor & Destructor Documentation

◆ DriverOption()

DriverOption::DriverOption ( void  )
default

◆ ~DriverOption()

DriverOption::~DriverOption ( void  )
default

Member Data Documentation

◆ m_name

QString DriverOption::m_name

Definition at line 25 of file driveroption.h.

◆ m_category

category_t DriverOption::m_category {UNKNOWN_CAT}

Definition at line 26 of file driveroption.h.

◆ m_minimum

int32_t DriverOption::m_minimum {0}

Definition at line 27 of file driveroption.h.

◆ m_maximum

int32_t DriverOption::m_maximum {0}

Definition at line 28 of file driveroption.h.

◆ m_default_value

int32_t DriverOption::m_default_value {0}

Definition at line 29 of file driveroption.h.

◆ m_current

int32_t DriverOption::m_current {0}

Definition at line 30 of file driveroption.h.

◆ m_step

uint32_t DriverOption::m_step {0}

Definition at line 31 of file driveroption.h.

◆ m_flags

uint32_t DriverOption::m_flags {0}

Definition at line 32 of file driveroption.h.

◆ m_menu

menu_t DriverOption::m_menu

Definition at line 33 of file driveroption.h.

◆ m_type

type_t DriverOption::m_type {UNKNOWN_TYPE}

Definition at line 34 of file driveroption.h.


The documentation for this struct was generated from the following file: