FFmpeg
Functions
replaygain.c File Reference
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "libavutil/avstring.h"
#include "libavutil/dict.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
#include "libavutil/replaygain.h"
#include "avformat.h"
#include "internal.h"
#include "replaygain.h"

Go to the source code of this file.

Functions

static int32_t parse_value (const char *value, int32_t min)
 
int ff_replaygain_export_raw (AVStream *st, int32_t tg, uint32_t tp, int32_t ag, uint32_t ap)
 Export already decoded replaygain values as per-stream side data. More...
 
int ff_replaygain_export (AVStream *st, AVDictionary *metadata)
 Parse replaygain tags and export them as per-stream side data. More...
 

Detailed Description

replaygain tags parsing

Definition in file replaygain.c.

Function Documentation

◆ parse_value()

static int32_t parse_value ( const char *  value,
int32_t  min 
)
static

Definition at line 38 of file replaygain.c.

Referenced by ff_replaygain_export().

◆ ff_replaygain_export_raw()

int ff_replaygain_export_raw ( AVStream st,
int32_t  tg,
uint32_t  tp,
int32_t  ag,
uint32_t  ap 
)

Export already decoded replaygain values as per-stream side data.

Definition at line 69 of file replaygain.c.

Referenced by ff_replaygain_export(), and mp3_parse_info_tag().

◆ ff_replaygain_export()

int ff_replaygain_export ( AVStream st,
AVDictionary metadata 
)

Parse replaygain tags and export them as per-stream side data.

Definition at line 90 of file replaygain.c.

Referenced by aiff_read_header(), flac_read_header(), mov_read_header(), mp3_read_header(), and vorbis_header().