libdvbpsi  1.2.0
Data Structures | Macros | Typedefs | Enumerations | Functions
dr_7c.h File Reference

AAC Audio descriptor. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dvbpsi_aac_dr_s
 "AAC Audio" descriptor structure. More...

Typedefs

typedef enum
dvbpsi_aac_profile_and_level_s 
dvbpsi_aac_profile_and_level_t
 AAC profile and level as specified in ISO/IEC 13818-1:2007 table 2.71.
typedef enum dvbpsi_aac_type_s dvbpsi_aac_type_t
 AAC type information as descripted in table 26, page 41 where column 'stream_content' has value 0x06.
typedef struct dvbpsi_aac_dr_s dvbpsi_aac_dr_t
 dvbpsi_aac_dr_t type definition.

Enumerations

enum  dvbpsi_aac_profile_and_level_s {
  DVBPSI_AAC_PROFILE_RESERVED = 0x00, DVBPSI_AAC_PROFILE_MAIN_LEVEL_1 = 0x10, DVBPSI_AAC_PROFILE_MAIN_LEVEL_2 = 0x11, DVBPSI_AAC_PROFILE_MAIN_LEVEL_3 = 0x12,
  DVBPSI_AAC_PROFILE_MAIN_LEVEL_4 = 0x13, DVBPSI_AAC_PROFILE_SCALABLE_LEVEL_1 = 0x18, DVBPSI_AAC_PROFILE_SCALABLE_LEVEL_2 = 0x19, DVBPSI_AAC_PROFILE_SCALABLE_LEVEL_3 = 0x1A,
  DVBPSI_AAC_PROFILE_SCALABLE_LEVEL_4 = 0x1B, DVBPSI_AAC_PROFILE_SPEECH_LEVEL_1 = 0x20, DVBPSI_AAC_PROFILE_SPEECH_LEVEL_2 = 0x21, DVBPSI_AAC_PROFILE_SYNTHESIS_LEVEL_1 = 0x28,
  DVBPSI_AAC_PROFILE_SYNTHESIS_LEVEL_2 = 0x29, DVBPSI_AAC_PROFILE_SYNTHESIS_LEVEL_3 = 0x2A, DVBPSI_AAC_PROFILE_HQ_LEVEL_1 = 0x30, DVBPSI_AAC_PROFILE_HQ_LEVEL_2 = 0x31,
  DVBPSI_AAC_PROFILE_HQ_LEVEL_3 = 0x32, DVBPSI_AAC_PROFILE_HQ_LEVEL_4 = 0x33, DVBPSI_AAC_PROFILE_HQ_LEVEL_5 = 0x34, DVBPSI_AAC_PROFILE_HQ_LEVEL_6 = 0x35,
  DVBPSI_AAC_PROFILE_HQ_LEVEL_7 = 0x36, DVBPSI_AAC_PROFILE_HQ_LEVEL_8 = 0x37, DVBPSI_AAC_PROFILE_LOW_DELAY_LEVEL_1 = 0x38, DVBPSI_AAC_PROFILE_LOW_DELAY_LEVEL_2 = 0x39,
  DVBPSI_AAC_PROFILE_LOW_DELAY_LEVEL_3 = 0x3A, DVBPSI_AAC_PROFILE_LOW_DELAY_LEVEL_4 = 0x3B, DVBPSI_AAC_PROFILE_LOW_DELAY_LEVEL_5 = 0x3C, DVBPSI_AAC_PROFILE_LOW_DELAY_LEVEL_6 = 0x3D,
  DVBPSI_AAC_PROFILE_LOW_DELAY_LEVEL_7 = 0x3E, DVBPSI_AAC_PROFILE_LOW_DELAY_LEVEL_8 = 0x3F, DVBPSI_AAC_PROFILE_NATURAL_LEVEL_1 = 0x40, DVBPSI_AAC_PROFILE_NATURAL_LEVEL_2 = 0x41,
  DVBPSI_AAC_PROFILE_NATURAL_LEVEL_3 = 0x42, DVBPSI_AAC_PROFILE_NATURAL_LEVEL_4 = 0x43, DVBPSI_AAC_PROFILE_MOBILE_LEVEL_1 = 0x48, DVBPSI_AAC_PROFILE_MOBILE_LEVEL_2 = 0x49,
  DVBPSI_AAC_PROFILE_MOBILE_LEVEL_3 = 0x4A, DVBPSI_AAC_PROFILE_MOBILE_LEVEL_4 = 0x4B, DVBPSI_AAC_PROFILE_MOBILE_LEVEL_5 = 0x4C, DVBPSI_AAC_PROFILE_MOBILE_LEVEL_6 = 0x4D,
  DVBPSI_AAC_PROFILE_LEVEL_1 = 0x50, DVBPSI_AAC_PROFILE_LEVEL_2 = 0x51, DVBPSI_AAC_PROFILE_LEVEL_4 = 0x52, DVBPSI_AAC_PROFILE_LEVEL_5 = 0x53,
  DVBPSI_HE_AAC_PROFILE_LEVEL_2 = 0x58, DVBPSI_HE_AAC_PROFILE_LEVEL_3 = 0x59, DVBPSI_HE_AAC_PROFILE_LEVEL_4 = 0x5A, DVBPSI_HE_AAC_PROFILE_LEVEL_5 = 0x5B
}
 enumeration of AAC profile and levels as specified in ISO/IEC 13818-1:2007 table 2.71 More...
enum  dvbpsi_aac_type_s {
  DVBPSI_AAC_RESERVED0 = 0x00, DVBPSI_HE_AAC_MONO = 0x01, DVBPSI_AAC_RESERVED1 = 0x02, DVBPSI_HE_AAC_STEREO = 0x03,
  DVBPSI_AAC_RESERVED2 = 0x04, DVBPSI_HE_AAC_SURROUND = 0x05, DVBPSI_AAC_RESERVED3 = 0x06, DVBPSI_HE_AAC_IMPAIRED = 0x40,
  DVBPSI_HE_AAC_HEARING = 0x41, DVBPSI_HE_AAC_MIXED = 0x42, DVBPSI_HE_AAC_V2_STEREO = 0x43, DVBPSI_HE_AAC_V2_IMPAIRED = 0x44,
  DVBPSI_HE_AAC_V2_HEARING = 0x45, DVBPSI_HE_AAC_V2_MIXED = 0x46, DVBPSI_HE_AAC_MIXED_IMPAIRED = 0x47, DVBPSI_HE_AAC_BROADCAST_MIXED_IMPAIRED = 0x48,
  DVBPSI_HE_AAC_V2_MIXED_IMPAIRED = 0x49, DVBPSI_HE_AAC_V2_BROADCAST_MIXED_IMPAIRED = 0x4A, DVBPSI_AAC_RESERVED4 = 0x4B, DVBPSI_AAC_USER = 0xB0,
  DVBPSI_AAC_RESERVED5 = 0xFF
}
 AAC type information as described in table 26, page 41 where column. More...

Functions

dvbpsi_aac_dr_tdvbpsi_DecodeAACDr (dvbpsi_descriptor_t *p_descriptor)
 "AAC Audio" descriptor decoder.
dvbpsi_descriptor_tdvbpsi_GenAACDr (dvbpsi_aac_dr_t *p_decoded, bool b_duplicate)
 "AAC" descriptor generator.

Detailed Description

AAC Audio descriptor.

>

Author
Jean-Paul Saman jpsam.nosp@m.an@v.nosp@m.ideol.nosp@m.an.o.nosp@m.rg AAC Audio descriptor parsing, according to ETSI EN 300 468 V1.13.1 (2012-04) Annex H

Enumeration Type Documentation

enumeration of AAC profile and levels as specified in ISO/IEC 13818-1:2007 table 2.71

Enumerator:
DVBPSI_AAC_PROFILE_RESERVED 

0x00-0x0F Reserved

DVBPSI_AAC_PROFILE_MAIN_LEVEL_1 

Main profile, level 1

DVBPSI_AAC_PROFILE_MAIN_LEVEL_2 

Main profile, level 2

DVBPSI_AAC_PROFILE_MAIN_LEVEL_3 

Main profile, level 3

DVBPSI_AAC_PROFILE_MAIN_LEVEL_4 

Main profile, level 4

DVBPSI_AAC_PROFILE_SCALABLE_LEVEL_1 

0x14-0x17 Reserved Scalable Profile, level 1

DVBPSI_AAC_PROFILE_SCALABLE_LEVEL_2 

Scalable Profile, level 2

DVBPSI_AAC_PROFILE_SCALABLE_LEVEL_3 

Scalable Profile, level 3

DVBPSI_AAC_PROFILE_SCALABLE_LEVEL_4 

Scalable Profile, level 4

DVBPSI_AAC_PROFILE_SPEECH_LEVEL_1 

0x1C-0x1F Reserved Speech profile, level 1

DVBPSI_AAC_PROFILE_SPEECH_LEVEL_2 

Speech profile, level 2

DVBPSI_AAC_PROFILE_SYNTHESIS_LEVEL_1 

0x22-0x27 Reserved Synthesis profile, level 1

DVBPSI_AAC_PROFILE_SYNTHESIS_LEVEL_2 

Synthesis profile, level 2

DVBPSI_AAC_PROFILE_SYNTHESIS_LEVEL_3 

Synthesis profile, level 3

DVBPSI_AAC_PROFILE_HQ_LEVEL_1 

0x2B-0x2F Reserved High quality audio profile, level 1

DVBPSI_AAC_PROFILE_HQ_LEVEL_2 

High quality audio profile, level 2

DVBPSI_AAC_PROFILE_HQ_LEVEL_3 

High quality audio profile, level 3

DVBPSI_AAC_PROFILE_HQ_LEVEL_4 

High quality audio profile, level 4

DVBPSI_AAC_PROFILE_HQ_LEVEL_5 

High quality audio profile, level 5

DVBPSI_AAC_PROFILE_HQ_LEVEL_6 

High quality audio profile, level 6

DVBPSI_AAC_PROFILE_HQ_LEVEL_7 

High quality audio profile, level 7

DVBPSI_AAC_PROFILE_HQ_LEVEL_8 

High quality audio profile, level 8

DVBPSI_AAC_PROFILE_LOW_DELAY_LEVEL_1 

Low delay audio profile, level 1

DVBPSI_AAC_PROFILE_LOW_DELAY_LEVEL_2 

Low delay audio profile, level 2

DVBPSI_AAC_PROFILE_LOW_DELAY_LEVEL_3 

Low delay audio profile, level 3

DVBPSI_AAC_PROFILE_LOW_DELAY_LEVEL_4 

Low delay audio profile, level 4

DVBPSI_AAC_PROFILE_LOW_DELAY_LEVEL_5 

Low delay audio profile, level 5

DVBPSI_AAC_PROFILE_LOW_DELAY_LEVEL_6 

Low delay audio profile, level 6

DVBPSI_AAC_PROFILE_LOW_DELAY_LEVEL_7 

Low delay audio profile, level 7

DVBPSI_AAC_PROFILE_LOW_DELAY_LEVEL_8 

Low delay audio profile, level 8

DVBPSI_AAC_PROFILE_NATURAL_LEVEL_1 

Natural audio profile, level 1

DVBPSI_AAC_PROFILE_NATURAL_LEVEL_2 

Natural audio profile, level 2

DVBPSI_AAC_PROFILE_NATURAL_LEVEL_3 

Natural audio profile, level 3

DVBPSI_AAC_PROFILE_NATURAL_LEVEL_4 

Natural audio profile, level 4

DVBPSI_AAC_PROFILE_MOBILE_LEVEL_1 

0x44-0x47 Reserved Mobile audio internetworking profile, level 1

DVBPSI_AAC_PROFILE_MOBILE_LEVEL_2 

Mobile audio internetworking profile, level 2

DVBPSI_AAC_PROFILE_MOBILE_LEVEL_3 

Mobile audio internetworking profile, level 3

DVBPSI_AAC_PROFILE_MOBILE_LEVEL_4 

Mobile audio internetworking profile, level 4

DVBPSI_AAC_PROFILE_MOBILE_LEVEL_5 

Mobile audio internetworking profile, level 5

DVBPSI_AAC_PROFILE_MOBILE_LEVEL_6 

Mobile audio internetworking profile, level 6

DVBPSI_AAC_PROFILE_LEVEL_1 

0x4E-0x4F Reserved AAC profile, level 1

DVBPSI_AAC_PROFILE_LEVEL_2 

AAC profile, level 2

DVBPSI_AAC_PROFILE_LEVEL_4 

AAC profile, level 4

DVBPSI_AAC_PROFILE_LEVEL_5 

AAC profile, level 5

DVBPSI_HE_AAC_PROFILE_LEVEL_2 

0x54-0x57 RESERVED High efficiency AAC profile, level 2

DVBPSI_HE_AAC_PROFILE_LEVEL_3 

High efficiency AAC profile, level 3

DVBPSI_HE_AAC_PROFILE_LEVEL_4 

High efficiency AAC profile, level 4

DVBPSI_HE_AAC_PROFILE_LEVEL_5 

High efficiency AAC profile, level 5

AAC type information as described in table 26, page 41 where column.

The AAC Audio descriptor is used to label the PIDs that carry AAC audio data. 'stream_content' has value 0x06 as specified in ISO/IEC 13818-1:2007.

Enumerator:
DVBPSI_AAC_RESERVED0 

reserved for future use

DVBPSI_HE_AAC_MONO 

HE-AAC audio, single mono channel

DVBPSI_AAC_RESERVED1 

reserved for future use

DVBPSI_HE_AAC_STEREO 

HE-AAC audio, stereo

DVBPSI_AAC_RESERVED2 

reserved for future use

DVBPSI_HE_AAC_SURROUND 

HE-AAC audio, surround sound

DVBPSI_AAC_RESERVED3 

0x06 to 0x3F reserved for future use

DVBPSI_HE_AAC_IMPAIRED 

HE-AAC audio description for the visually impaired

DVBPSI_HE_AAC_HEARING 

HE-AAC audio for the hard of hearing

DVBPSI_HE_AAC_MIXED 

HE-AAC receiver-mixed supplementary audio as per annex E of TS 101 154

DVBPSI_HE_AAC_V2_STEREO 

HE-AAC v2 audio, stereo

DVBPSI_HE_AAC_V2_IMPAIRED 

HE-AAC v2 audio description for the visually impaired

DVBPSI_HE_AAC_V2_HEARING 

HE-AAC v2 audio for the hard of hearing

DVBPSI_HE_AAC_V2_MIXED 

HE-AAC v2 receiver-mixed supplementary audio as per annex E of TS 101 154

DVBPSI_HE_AAC_MIXED_IMPAIRED 

HE-AAC receiver mix audio description for the visually impaired

DVBPSI_HE_AAC_BROADCAST_MIXED_IMPAIRED 

HE-AAC broadcaster mix audio description for the visually impaired

DVBPSI_HE_AAC_V2_MIXED_IMPAIRED 

HE-AAC v2 receiver mix audio description for the visually impaired

DVBPSI_HE_AAC_V2_BROADCAST_MIXED_IMPAIRED 

HE-AAC v2 broadcaster mix audio description for the visually impaired

DVBPSI_AAC_RESERVED4 

0x4B to 0xAF reserved for future use

DVBPSI_AAC_USER 

0xB0 to 0xFE user-defined

DVBPSI_AAC_RESERVED5 

reserved for future use

Function Documentation

dvbpsi_aac_dr_t * dvbpsi_DecodeAACDr ( dvbpsi_descriptor_t p_descriptor)

"AAC Audio" descriptor decoder.

Parameters
p_descriptorpointer to the descriptor structure
Returns
a pointer to a new "AAC" descriptor structure which contains the decoded data.
dvbpsi_descriptor_t * dvbpsi_GenAACDr ( dvbpsi_aac_dr_t p_decoded,
bool  b_duplicate 
)

"AAC" descriptor generator.

Parameters
p_decodedpointer to a decoded "AAC" descriptor structure
b_duplicateif true then duplicate the p_decoded structure into the descriptor
Returns
a pointer to a new descriptor structure which contains encoded data.