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

#include <libmythtv/driveroption.h>

Public Types

enum  category_t : std::uint8_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 : std::uint8_t {
  UNKNOWN_TYPE, INTEGER, BOOLEAN, STRING,
  MENU, BUTTON, BITMASK
}
 
using menu_t = QMap< int, QString >
 
using Options = QMap< category_t, DriverOption >
 

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_defaultValue {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

using DriverOption::menu_t = QMap<int, QString>

Definition at line 21 of file driveroption.h.

◆ Options

Definition at line 22 of file driveroption.h.

Member Enumeration Documentation

◆ category_t

enum DriverOption::category_t : std::uint8_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

enum DriverOption::type_t : std::uint8_t
Enumerator
UNKNOWN_TYPE 
INTEGER 
BOOLEAN 
STRING 
MENU 
BUTTON 
BITMASK 

Definition at line 17 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 27 of file driveroption.h.

Referenced by V4L2util::log_qctrl(), and V4L2util::SetDefaultOptions().

◆ m_category

category_t DriverOption::m_category {UNKNOWN_CAT}

◆ m_minimum

int32_t DriverOption::m_minimum {0}

Definition at line 29 of file driveroption.h.

Referenced by V4L2util::log_qctrl(), and V4L2util::SetDefaultOptions().

◆ m_maximum

int32_t DriverOption::m_maximum {0}

Definition at line 30 of file driveroption.h.

Referenced by V4L2util::log_qctrl(), and V4L2util::SetDefaultOptions().

◆ m_defaultValue

int32_t DriverOption::m_defaultValue {0}

Definition at line 31 of file driveroption.h.

Referenced by V4L2util::log_qctrl(), and V4L2util::SetDefaultOptions().

◆ m_current

int32_t DriverOption::m_current {0}

Definition at line 32 of file driveroption.h.

◆ m_step

uint32_t DriverOption::m_step {0}

Definition at line 33 of file driveroption.h.

Referenced by V4L2util::log_qctrl().

◆ m_flags

uint32_t DriverOption::m_flags {0}

Definition at line 34 of file driveroption.h.

◆ m_menu

menu_t DriverOption::m_menu

◆ m_type

type_t DriverOption::m_type {UNKNOWN_TYPE}

Definition at line 36 of file driveroption.h.

Referenced by V4L2util::log_qctrl().


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