FFmpeg
|
#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, int flags) |
Write WAVEFORMAT header structure. More... | |
void | ff_put_bmp_header (AVIOContext *pb, AVCodecContext *enc, const AVCodecTag *tags, int for_asf, int ignore_extradata) |
void | ff_parse_specific_params (AVStream *st, 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... | |
void | ff_put_guid (AVIOContext *s, const ff_asf_guid *g) |
const ff_asf_guid * | ff_get_codec_guid (enum AVCodecID id, const AVCodecGuid *av_guid) |
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(), ff_riff_write_info(), and write_odml_master().
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(), ff_riff_write_info(), and write_odml_master().
int ff_put_wav_header | ( | AVIOContext * | pb, |
AVCodecContext * | enc, | ||
int | flags | ||
) |
Write WAVEFORMAT header structure.
flags | a combination of FF_PUT_WAV_HEADER_* constants |
Definition at line 54 of file riffenc.c.
Referenced by asf_write_header1(), avi_write_header(), mkv_write_codecprivate(), mov_write_ms_tag(), mov_write_wfex_tag(), and write_stream_codec_info().
void ff_put_bmp_header | ( | AVIOContext * | pb, |
AVCodecContext * | enc, | ||
const AVCodecTag * | tags, | ||
int | for_asf, | ||
int | ignore_extradata | ||
) |
Definition at line 205 of file riffenc.c.
Referenced by asf_write_header1(), avi_write_header(), and mkv_write_codecprivate().
Definition at line 237 of file riffenc.c.
Referenced by avi_write_counters(), avi_write_header(), nut_write_header(), and update_odml_entry().
void ff_riff_write_info_tag | ( | AVIOContext * | pb, |
const char * | tag, | ||
const char * | str | ||
) |
Write a single RIFF info tag.
Definition at line 270 of file riffenc.c.
Referenced by avi_write_header(), and ff_riff_write_info().
|
static |
Definition at line 290 of file riffenc.c.
Referenced by ff_riff_write_info().
void ff_riff_write_info | ( | AVFormatContext * | s | ) |
void ff_put_guid | ( | AVIOContext * | s, |
const ff_asf_guid * | g | ||
) |
Definition at line 323 of file riffenc.c.
Referenced by asf_write_header1(), asf_write_index(), asf_write_markers(), ff_put_wav_header(), put_header(), write_chunk_header(), write_header(), write_index(), write_metadata_header(), write_root_table(), and write_stream_codec_info().
const ff_asf_guid* ff_get_codec_guid | ( | enum AVCodecID | id, |
const AVCodecGuid * | av_guid | ||
) |
Definition at line 329 of file riffenc.c.
Referenced by ff_put_wav_header(), and write_stream_codec_info().
|
static |
Definition at line 283 of file riffenc.c.
Referenced by ff_riff_write_info(), and riff_has_valid_tags().