FFmpeg
Loading...
Searching...
No Matches
downmix_info.c File Reference
#include "downmix_info.h"
#include "frame.h"
#include "mem.h"

Go to the source code of this file.

Macros

#define MAX_CHANNELS   64
 

Functions

AVDownmixInfoav_downmix_info_update_side_data (AVFrame *frame)
 Get a frame's AV_FRAME_DATA_DOWNMIX_INFO side data for editing.
 
AVDownmixMatrixav_downmix_matrix_alloc (enum AVDownmixType type, int in_ch_count, size_t *out_size)
 Allocates memory for AVDownmixMatrix of the given type, plus an array of in_ch_count times the implicit output channel count from type of AVDownmixCoeff and initializes the variables.
 

Variables

static const int type_map []
 

Macro Definition Documentation

◆ MAX_CHANNELS

#define MAX_CHANNELS   64

Definition at line 44 of file downmix_info.c.

Variable Documentation

◆ type_map

const int type_map[]
static
Initial value:
= {
}
@ AV_DOWNMIX_TYPE_UNKNOWN
Not indicated.
@ AV_DOWNMIX_TYPE_LTRT
Lt/Rt 2-channel downmix, Dolby Surround compatible.
@ AV_DOWNMIX_TYPE_LORO
Lo/Ro 2-channel downmix (Stereo).
@ AV_DOWNMIX_TYPE_DPLII
Lt/Rt 2-channel downmix, Dolby Pro Logic II compatible.

Definition at line 46 of file downmix_info.c.

Referenced by av_downmix_matrix_alloc().