FFmpeg
Macros | Enumerations
ac3defs.h File Reference

Go to the source code of this file.

Macros

#define EAC3_MAX_CHANNELS   16
 maximum number of channels in EAC3 More...
 
#define AC3_MAX_CHANNELS   7
 maximum number of channels, including coupling channel More...
 
#define CPL_CH   0
 coupling channel index More...
 
#define AC3_MAX_COEFS   256
 
#define AC3_BLOCK_SIZE   256
 
#define AC3_MAX_BLOCKS   6
 
#define AC3_FRAME_SIZE   (AC3_MAX_BLOCKS * 256)
 
#define AC3_WINDOW_SIZE   (AC3_BLOCK_SIZE * 2)
 
#define AC3_CRITICAL_BANDS   50
 
#define AC3_MAX_CPL_BANDS   18
 
#define EXP_REUSE   0
 
#define EXP_NEW   1
 
#define EXP_D15   1
 
#define EXP_D25   2
 
#define EXP_D45   3
 

Enumerations

enum  AC3DeltaStrategy { DBA_REUSE = 0, DBA_NEW, DBA_NONE, DBA_RESERVED }
 Delta bit allocation strategy. More...
 
enum  AC3ChannelMode {
  AC3_CHMODE_DUALMONO = 0, AC3_CHMODE_MONO, AC3_CHMODE_STEREO, AC3_CHMODE_3F,
  AC3_CHMODE_2F1R, AC3_CHMODE_3F1R, AC3_CHMODE_2F2R, AC3_CHMODE_3F2R
}
 Channel mode (audio coding mode) More...
 
enum  AC3DolbySurroundMode { AC3_DSURMOD_NOTINDICATED = 0, AC3_DSURMOD_OFF, AC3_DSURMOD_ON, AC3_DSURMOD_RESERVED }
 Dolby Surround mode. More...
 
enum  AC3DolbySurroundEXMode { AC3_DSUREXMOD_NOTINDICATED = 0, AC3_DSUREXMOD_OFF, AC3_DSUREXMOD_ON, AC3_DSUREXMOD_PLIIZ }
 Dolby Surround EX mode. More...
 
enum  AC3DolbyHeadphoneMode { AC3_DHEADPHONMOD_NOTINDICATED = 0, AC3_DHEADPHONMOD_OFF, AC3_DHEADPHONMOD_ON, AC3_DHEADPHONMOD_RESERVED }
 Dolby Headphone mode. More...
 
enum  AC3PreferredStereoDownmixMode { AC3_DMIXMOD_NOTINDICATED = 0, AC3_DMIXMOD_LTRT, AC3_DMIXMOD_LORO, AC3_DMIXMOD_DPLII }
 Preferred Stereo Downmix mode. More...
 
enum  EAC3FrameType { EAC3_FRAME_TYPE_INDEPENDENT = 0, EAC3_FRAME_TYPE_DEPENDENT, EAC3_FRAME_TYPE_AC3_CONVERT, EAC3_FRAME_TYPE_RESERVED }
 

Macro Definition Documentation

◆ EAC3_MAX_CHANNELS

#define EAC3_MAX_CHANNELS   16

maximum number of channels in EAC3

Definition at line 25 of file ac3defs.h.

◆ AC3_MAX_CHANNELS

#define AC3_MAX_CHANNELS   7

maximum number of channels, including coupling channel

Definition at line 26 of file ac3defs.h.

◆ CPL_CH

#define CPL_CH   0

coupling channel index

Definition at line 27 of file ac3defs.h.

◆ AC3_MAX_COEFS

#define AC3_MAX_COEFS   256

Definition at line 29 of file ac3defs.h.

◆ AC3_BLOCK_SIZE

#define AC3_BLOCK_SIZE   256

Definition at line 30 of file ac3defs.h.

◆ AC3_MAX_BLOCKS

#define AC3_MAX_BLOCKS   6

Definition at line 31 of file ac3defs.h.

◆ AC3_FRAME_SIZE

#define AC3_FRAME_SIZE   (AC3_MAX_BLOCKS * 256)

Definition at line 32 of file ac3defs.h.

◆ AC3_WINDOW_SIZE

#define AC3_WINDOW_SIZE   (AC3_BLOCK_SIZE * 2)

Definition at line 33 of file ac3defs.h.

◆ AC3_CRITICAL_BANDS

#define AC3_CRITICAL_BANDS   50

Definition at line 34 of file ac3defs.h.

◆ AC3_MAX_CPL_BANDS

#define AC3_MAX_CPL_BANDS   18

Definition at line 35 of file ac3defs.h.

◆ EXP_REUSE

#define EXP_REUSE   0

Definition at line 38 of file ac3defs.h.

◆ EXP_NEW

#define EXP_NEW   1

Definition at line 39 of file ac3defs.h.

◆ EXP_D15

#define EXP_D15   1

Definition at line 41 of file ac3defs.h.

◆ EXP_D25

#define EXP_D25   2

Definition at line 42 of file ac3defs.h.

◆ EXP_D45

#define EXP_D45   3

Definition at line 43 of file ac3defs.h.

Enumeration Type Documentation

◆ AC3DeltaStrategy

Delta bit allocation strategy.

Enumerator
DBA_REUSE 
DBA_NEW 
DBA_NONE 
DBA_RESERVED 

Definition at line 46 of file ac3defs.h.

◆ AC3ChannelMode

Channel mode (audio coding mode)

Enumerator
AC3_CHMODE_DUALMONO 
AC3_CHMODE_MONO 
AC3_CHMODE_STEREO 
AC3_CHMODE_3F 
AC3_CHMODE_2F1R 
AC3_CHMODE_3F1R 
AC3_CHMODE_2F2R 
AC3_CHMODE_3F2R 

Definition at line 54 of file ac3defs.h.

◆ AC3DolbySurroundMode

Dolby Surround mode.

Enumerator
AC3_DSURMOD_NOTINDICATED 
AC3_DSURMOD_OFF 
AC3_DSURMOD_ON 
AC3_DSURMOD_RESERVED 

Definition at line 66 of file ac3defs.h.

◆ AC3DolbySurroundEXMode

Dolby Surround EX mode.

Enumerator
AC3_DSUREXMOD_NOTINDICATED 
AC3_DSUREXMOD_OFF 
AC3_DSUREXMOD_ON 
AC3_DSUREXMOD_PLIIZ 

Definition at line 74 of file ac3defs.h.

◆ AC3DolbyHeadphoneMode

Dolby Headphone mode.

Enumerator
AC3_DHEADPHONMOD_NOTINDICATED 
AC3_DHEADPHONMOD_OFF 
AC3_DHEADPHONMOD_ON 
AC3_DHEADPHONMOD_RESERVED 

Definition at line 82 of file ac3defs.h.

◆ AC3PreferredStereoDownmixMode

Preferred Stereo Downmix mode.

Enumerator
AC3_DMIXMOD_NOTINDICATED 
AC3_DMIXMOD_LTRT 
AC3_DMIXMOD_LORO 
AC3_DMIXMOD_DPLII 

Definition at line 90 of file ac3defs.h.

◆ EAC3FrameType

Enumerator
EAC3_FRAME_TYPE_INDEPENDENT 
EAC3_FRAME_TYPE_DEPENDENT 
EAC3_FRAME_TYPE_AC3_CONVERT 
EAC3_FRAME_TYPE_RESERVED 

Definition at line 97 of file ac3defs.h.