Libav
|
NUT demuxing and muxing via libnut. More...
Go to the source code of this file.
Data Structures | |
struct | NUTContext |
Defines | |
#define | ID_STRING "nut/multimedia container" |
#define | ID_LENGTH (strlen(ID_STRING) + 1) |
Functions | |
static int | nut_probe (AVProbeData *p) |
static size_t | av_read (void *h, size_t len, uint8_t *buf) |
static off_t | av_seek (void *h, long long pos, int whence) |
static int | nut_read_header (AVFormatContext *avf, AVFormatParameters *ap) |
static int | nut_read_packet (AVFormatContext *avf, AVPacket *pkt) |
static int | nut_read_seek (AVFormatContext *avf, int stream_index, int64_t target_ts, int flags) |
static int | nut_read_close (AVFormatContext *s) |
Variables | |
static const AVCodecTag | nut_tags [] |
AVInputFormat | libnut_demuxer |
NUT demuxing and muxing via libnut.
Definition in file libnut.c.
#define ID_LENGTH (strlen(ID_STRING) + 1) |
Definition at line 33 of file libnut.c.
Referenced by nut_probe().
#define ID_STRING "nut/multimedia container" |
Definition at line 32 of file libnut.c.
Referenced by nut_probe(), and write_header().
static size_t av_read | ( | void * | h, |
size_t | len, | ||
uint8_t * | buf | ||
) | [static] |
Definition at line 174 of file libnut.c.
Referenced by nut_read_header().
static off_t av_seek | ( | void * | h, |
long long | pos, | ||
int | whence | ||
) | [static] |
Definition at line 179 of file libnut.c.
Referenced by nut_read_header().
static int nut_probe | ( | AVProbeData * | p | ) | [static] |
static int nut_read_close | ( | AVFormatContext * | s | ) | [static] |
static int nut_read_header | ( | AVFormatContext * | avf, |
AVFormatParameters * | ap | ||
) | [static] |
static int nut_read_packet | ( | AVFormatContext * | avf, |
AVPacket * | pkt | ||
) | [static] |
static int nut_read_seek | ( | AVFormatContext * | avf, |
int | stream_index, | ||
int64_t | target_ts, | ||
int | flags | ||
) | [static] |
{ "libnut", NULL_IF_CONFIG_SMALL("NUT format"), sizeof(NUTContext), nut_probe, nut_read_header, nut_read_packet, nut_read_close, nut_read_seek, .extensions = "nut", }
const AVCodecTag nut_tags[] [static] |
{ { CODEC_ID_MPEG4, MKTAG('m', 'p', '4', 'v') }, { CODEC_ID_MP3, MKTAG('m', 'p', '3', ' ') }, { CODEC_ID_VORBIS, MKTAG('v', 'r', 'b', 's') }, { 0, 0 }, }