FFmpeg
Loading...
Searching...
No Matches
downmix_info.h File Reference

audio downmix medatata More...

#include "avassert.h"
#include "frame.h"

Go to the source code of this file.

Data Structures

struct  AVDownmixInfo
 This structure describes optional metadata relevant to a downmix procedure. More...
struct  AVDownmixMatrix
 This structure describes optional metadata relevant to a downmix procedure in the form of a remixing matrix allocated as an array of AVDownmixCoeff. More...

Typedefs

typedef double AVDownmixCoeff
 Data type for storing coefficients, which are allocated as a part of AVDownmixMatrix and should be retrieved with av_downmix_matrix_coeff.

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

AVDownmixInfo * av_downmix_info_update_side_data (AVFrame *frame)
 Get a frame's AV_FRAME_DATA_DOWNMIX_INFO side data for editing.
static av_always_inline AVDownmixCoeff * av_downmix_matrix_coeff (AVDownmixMatrix *dm, unsigned int out, unsigned int in)
 Get a pointer to the coeff that represents the weight of input channel in in output channel out.
AVDownmixMatrix * av_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.

Detailed Description

audio downmix medatata

Definition in file downmix_info.h.