MythTV  master
Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
ELD Class Reference

#include <eldutils.h>

Collaboration diagram for ELD:
Collaboration graph
[legend]

Classes

struct  cea_sad
 
struct  eld_data
 

Public Types

enum  cea_audio_coding_types {
  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 ()
 
 ~ELD ()=default
 
ELDoperator= (const ELD &)
 
void show ()
 
QString eld_version_name ()
 
QString edid_version_name ()
 
QString info_desc ()
 
QString channel_allocation_desc ()
 
QString product_name ()
 
QString connection_name ()
 
bool isValid ()
 
int maxLPCMChannels ()
 
int maxChannels ()
 
QString codecs_desc ()
 

Private Member Functions

int update_eld (const char *buf, int size)
 
void update_sad (int index, const char *buf)
 
QString sad_desc (int index)
 
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...
 
QString print_pcm_bits (int pcm)
 Print the supported PCM fmt bits to the string buffer. More...
 

Private Attributes

eld_data m_e
 

Detailed Description

Definition at line 39 of file eldutils.h.

Member Enumeration Documentation

◆ cea_audio_coding_types

Enumerator
TYPE_REF_STREAM_HEADER 
TYPE_LPCM 
TYPE_AC3 
TYPE_MPEG1 
TYPE_MP3 
TYPE_MPEG2 
TYPE_AACLC 
TYPE_DTS 
TYPE_ATRAC 
TYPE_SACD 
TYPE_EAC3 
TYPE_DTS_HD 
TYPE_MLP 
TYPE_DST 
TYPE_WMAPRO 
TYPE_REF_CXT 
TYPE_HE_AAC 
TYPE_HE_AAC2 
TYPE_MPEG_SURROUND 

Definition at line 58 of file eldutils.h.

Constructor & Destructor Documentation

◆ ELD() [1/2]

ELD::ELD ( const char *  buf,
int  size 
)

Definition at line 155 of file eldutils.cpp.

◆ ELD() [2/2]

ELD::ELD ( )

Definition at line 161 of file eldutils.cpp.

◆ ~ELD()

ELD::~ELD ( )
default

Member Function Documentation

◆ operator=()

ELD & ELD::operator= ( const ELD rhs)

Definition at line 167 of file eldutils.cpp.

◆ show()

void ELD::show ( )

Definition at line 443 of file eldutils.cpp.

Referenced by AudioOutputSettings::setELD().

◆ eld_version_name()

QString ELD::eld_version_name ( )

Definition at line 403 of file eldutils.cpp.

◆ edid_version_name()

QString ELD::edid_version_name ( )

Definition at line 413 of file eldutils.cpp.

◆ info_desc()

QString ELD::info_desc ( )

Definition at line 425 of file eldutils.cpp.

◆ channel_allocation_desc()

QString ELD::channel_allocation_desc ( )

Definition at line 389 of file eldutils.cpp.

Referenced by show().

◆ product_name()

QString ELD::product_name ( )

Definition at line 470 of file eldutils.cpp.

Referenced by AudioOutput::GetAudioDeviceConfig(), and show().

◆ connection_name()

QString ELD::connection_name ( )

Definition at line 475 of file eldutils.cpp.

Referenced by AudioOutput::GetAudioDeviceConfig(), and show().

◆ isValid()

bool ELD::isValid ( )

◆ maxLPCMChannels()

int ELD::maxLPCMChannels ( )

Definition at line 480 of file eldutils.cpp.

Referenced by AudioOutputSettings::BestSupportedPCMChannelsELD(), and show().

◆ maxChannels()

int ELD::maxChannels ( )

Definition at line 495 of file eldutils.cpp.

Referenced by AudioOutputSettings::BestSupportedChannelsELD(), and show().

◆ codecs_desc()

QString ELD::codecs_desc ( )

Definition at line 507 of file eldutils.cpp.

Referenced by AudioOutput::GetAudioDeviceConfig(), and show().

◆ update_eld()

int ELD::update_eld ( const char *  buf,
int  size 
)
private

Definition at line 253 of file eldutils.cpp.

Referenced by ELD().

◆ update_sad()

void ELD::update_sad ( int  index,
const char *  buf 
)
private

Definition at line 175 of file eldutils.cpp.

Referenced by update_eld().

◆ sad_desc()

QString ELD::sad_desc ( int  index)
private

Definition at line 365 of file eldutils.cpp.

Referenced by show().

◆ print_pcm_rates()

QString ELD::print_pcm_rates ( int  pcm)
private

SNDRV_PCM_RATE_* and AC_PAR_PCM values don't match, print correct rates with hdmi-specific routine.

Definition at line 329 of file eldutils.cpp.

Referenced by sad_desc().

◆ print_pcm_bits()

QString ELD::print_pcm_bits ( int  pcm)
private

Print the supported PCM fmt bits to the string buffer.

Parameters
pcmPCM caps bits

Definition at line 350 of file eldutils.cpp.

Referenced by sad_desc().

Member Data Documentation

◆ m_e

eld_data ELD::m_e
private

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