MythTV
master
|
#include <libmyth/audio/eldutils.h>
Classes | |
struct | cea_sad |
struct | eld_data |
Public Types | |
enum | cea_audio_coding_types : std::uint8_t { TYPE_REF_STREAM_HEADER = 0, TYPE_LPCM = 1, TYPE_AC3 = 2, TYPE_MPEG1 = 3, TYPE_MP3 = 4, TYPE_MPEG2 = 5, TYPE_AACLC = 6, TYPE_DTS = 7, TYPE_ATRAC = 8, TYPE_SACD = 9, TYPE_EAC3 = 10, TYPE_DTS_HD = 11, TYPE_MLP = 12, TYPE_DST = 13, TYPE_WMAPRO = 14, TYPE_REF_CXT = 15, TYPE_HE_AAC = 15, TYPE_HE_AAC2 = 16, TYPE_MPEG_SURROUND = 17 } |
Public Member Functions | |
eld (const char *buf, int size) | |
eld (const eld &rhs)=default | |
eld () | |
~eld ()=default | |
eld & | operator= (const eld &) |
void | show () |
QString | eld_version_name () const |
QString | edid_version_name () const |
QString | info_desc () const |
QString | channel_allocation_desc () const |
QString | product_name () const |
QString | connection_name () const |
bool | isValid () const |
int | maxLPCMChannels () |
int | maxChannels () |
QString | codecs_desc () const |
Private Member Functions | |
int | update_eld (const char *buf, int size) |
void | update_sad (int index, const char *buf) |
QString | sad_desc (int index) |
Static Private Member Functions | |
static QString | print_pcm_rates (int pcm) |
SNDRV_PCM_RATE_* and AC_PAR_PCM values don't match, print correct rates with hdmi-specific routine. More... | |
static QString | print_pcm_bits (int pcm) |
Print the supported PCM fmt bits to the string buffer. More... | |
Private Attributes | |
eld_data | m_e |
Definition at line 37 of file eldutils.h.
enum eld::cea_audio_coding_types : std::uint8_t |
Definition at line 57 of file eldutils.h.
eld::eld | ( | const char * | buf, |
int | size | ||
) |
Definition at line 145 of file eldutils.cpp.
|
default |
eld::eld | ( | ) |
Definition at line 151 of file eldutils.cpp.
|
default |
Definition at line 157 of file eldutils.cpp.
void eld::show | ( | ) |
Definition at line 415 of file eldutils.cpp.
Referenced by AudioOutputSettings::setELD().
QString eld::eld_version_name | ( | ) | const |
Definition at line 375 of file eldutils.cpp.
QString eld::edid_version_name | ( | ) | const |
Definition at line 385 of file eldutils.cpp.
QString eld::info_desc | ( | ) | const |
Definition at line 397 of file eldutils.cpp.
QString eld::channel_allocation_desc | ( | ) | const |
Definition at line 361 of file eldutils.cpp.
Referenced by show().
QString eld::product_name | ( | ) | const |
Definition at line 439 of file eldutils.cpp.
Referenced by AudioOutput::GetAudioDeviceConfig(), and show().
QString eld::connection_name | ( | ) | const |
Definition at line 444 of file eldutils.cpp.
Referenced by AudioOutput::GetAudioDeviceConfig(), and show().
bool eld::isValid | ( | ) | const |
Definition at line 410 of file eldutils.cpp.
Referenced by AudioOutput::GetAudioDeviceConfig(), AudioOutputSettings::hasValidELD(), and show().
int eld::maxLPCMChannels | ( | ) |
Definition at line 449 of file eldutils.cpp.
Referenced by AudioOutputSettings::BestSupportedPCMChannelsELD(), and show().
int eld::maxChannels | ( | ) |
Definition at line 463 of file eldutils.cpp.
Referenced by AudioOutputSettings::BestSupportedChannelsELD(), and show().
QString eld::codecs_desc | ( | ) | const |
Definition at line 474 of file eldutils.cpp.
Referenced by AudioOutput::GetAudioDeviceConfig(), and show().
|
private |
Definition at line 233 of file eldutils.cpp.
Referenced by eld().
|
private |
Definition at line 165 of file eldutils.cpp.
Referenced by update_eld().
|
private |
Definition at line 339 of file eldutils.cpp.
Referenced by show().
|
staticprivate |
SNDRV_PCM_RATE_* and AC_PAR_PCM values don't match, print correct rates with hdmi-specific routine.
Definition at line 303 of file eldutils.cpp.
Referenced by sad_desc().
|
staticprivate |
Print the supported PCM fmt bits to the string buffer.
pcm | PCM caps bits |
Definition at line 324 of file eldutils.cpp.
Referenced by sad_desc().
|
private |
Definition at line 125 of file eldutils.h.
Referenced by channel_allocation_desc(), codecs_desc(), connection_name(), edid_version_name(), eld(), eld_version_name(), info_desc(), isValid(), maxChannels(), maxLPCMChannels(), operator=(), product_name(), sad_desc(), show(), update_eld(), and update_sad().