FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions
Audio downmix metadata
Audio related

Data Structures

struct  AVDownmixInfo
 This structure describes optional metadata relevant to a downmix procedure. More...
 

Enumerations

enum  AVDownmixType {
  AV_DOWNMIX_TYPE_UNKNOWN, AV_DOWNMIX_TYPE_LORO, AV_DOWNMIX_TYPE_LTRT, AV_DOWNMIX_TYPE_DPLII,
  AV_DOWNMIX_TYPE_NB
}
 Possible downmix types. More...
 

Functions

AVDownmixInfoav_downmix_info_update_side_data (AVFrame *frame)
 Get a frame's AV_FRAME_DATA_DOWNMIX_INFO side data for editing.
 

Detailed Description

Enumeration Type Documentation

Possible downmix types.

Enumerator:
AV_DOWNMIX_TYPE_UNKNOWN 

Not indicated.

AV_DOWNMIX_TYPE_LORO 

Lo/Ro 2-channel downmix (Stereo).

AV_DOWNMIX_TYPE_LTRT 

Lt/Rt 2-channel downmix, Dolby Surround compatible.

AV_DOWNMIX_TYPE_DPLII 

Lt/Rt 2-channel downmix, Dolby Pro Logic II compatible.

AV_DOWNMIX_TYPE_NB 

Number of downmix types.

Not part of ABI.

Definition at line 44 of file downmix_info.h.

Function Documentation

AVDownmixInfo* av_downmix_info_update_side_data ( AVFrame frame)

Get a frame's AV_FRAME_DATA_DOWNMIX_INFO side data for editing.

The side data is created and added to the frame if it's absent.

Parameters
framethe frame for which the side data is to be obtained.
Returns
the AVDownmixInfo structure to be edited by the caller.

Definition at line 24 of file downmix_info.c.

Referenced by ac3_decode_frame().