Libav
|
#include "libavutil/dict.h"
#include "libavutil/log.h"
#include "libavutil/mathematics.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/bytestream.h"
#include "avformat.h"
#include "avio_internal.h"
#include "riff.h"
Go to the source code of this file.
Functions | |
int64_t | ff_start_tag (AVIOContext *pb, const char *tag) |
void | ff_end_tag (AVIOContext *pb, int64_t start) |
int | ff_put_wav_header (AVIOContext *pb, AVCodecContext *enc) |
void | ff_put_bmp_header (AVIOContext *pb, AVCodecContext *enc, const AVCodecTag *tags, int for_asf) |
void | ff_parse_specific_params (AVCodecContext *stream, int *au_rate, int *au_ssize, int *au_scale) |
void | ff_riff_write_info_tag (AVIOContext *pb, const char *tag, const char *str) |
Write a single RIFF info tag. More... | |
static int | riff_has_valid_tags (AVFormatContext *s) |
void | ff_riff_write_info (AVFormatContext *s) |
Write all recognized RIFF tags from s->metadata. More... | |
Variables | |
static const char | riff_tags [][5] |
int64_t ff_start_tag | ( | AVIOContext * | pb, |
const char * | tag | ||
) |
Definition at line 31 of file riffenc.c.
Referenced by avi_start_new_riff(), avi_write_header(), avi_write_idx1(), bwf_write_bext_chunk(), ff_riff_write_info(), and wav_write_header().
void ff_end_tag | ( | AVIOContext * | pb, |
int64_t | start | ||
) |
Definition at line 38 of file riffenc.c.
Referenced by avi_write_header(), avi_write_idx1(), avi_write_packet(), avi_write_trailer(), bwf_write_bext_chunk(), ff_riff_write_info(), wav_write_header(), and wav_write_trailer().
int ff_put_wav_header | ( | AVIOContext * | pb, |
AVCodecContext * | enc | ||
) |
Definition at line 50 of file riffenc.c.
Referenced by asf_write_header1(), avi_write_header(), mkv_write_codecprivate(), mov_write_ms_tag(), mov_write_wfex_tag(), and wav_write_header().
void ff_put_bmp_header | ( | AVIOContext * | pb, |
AVCodecContext * | enc, | ||
const AVCodecTag * | tags, | ||
int | for_asf | ||
) |
Definition at line 186 of file riffenc.c.
Referenced by asf_write_header1(), avi_write_header(), and mkv_write_codecprivate().
void ff_parse_specific_params | ( | AVCodecContext * | stream, |
int * | au_rate, | ||
int * | au_ssize, | ||
int * | au_scale | ||
) |
Definition at line 212 of file riffenc.c.
Referenced by avi_write_counters(), avi_write_header(), and nut_write_header().
void ff_riff_write_info_tag | ( | AVIOContext * | pb, |
const char * | tag, | ||
const char * | str | ||
) |
Write a single RIFF info tag.
Definition at line 244 of file riffenc.c.
Referenced by avi_write_header(), and ff_riff_write_info().
|
static |
Definition at line 264 of file riffenc.c.
Referenced by ff_riff_write_info().
void ff_riff_write_info | ( | AVFormatContext * | s | ) |
Write all recognized RIFF tags from s->metadata.
Definition at line 275 of file riffenc.c.
Referenced by wav_write_header().
|
static |
Definition at line 257 of file riffenc.c.
Referenced by ff_riff_write_info(), and riff_has_valid_tags().