FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
replaygain.c File Reference

replaygain tags parsing More...

#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/mem.h"
#include "libavutil/replaygain.h"
#include "avformat.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.
 
int ff_replaygain_export (AVStream *st, AVDictionary *metadata)
 Parse replaygain tags and export them as per-stream side data.
 

Detailed Description

replaygain tags parsing

Definition in file replaygain.c.

Function Documentation

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().

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().

int ff_replaygain_export ( AVStream st,
AVDictionary metadata 
)

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

Definition at line 111 of file replaygain.c.

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