Go to the source code of this file.
◆ PKTSIZE
#define PKTSIZE |
( |
|
s | ) |
(s & 0xffffff) |
little macro to sanitize packet size
Definition at line 61 of file nuv.c.
◆ HDRSIZE
◆ nuv_frametype
Enumerator |
---|
NUV_VIDEO | |
NUV_EXTRADATA | |
NUV_AUDIO | |
NUV_SEEKP | |
NUV_MYTHEXT | |
Definition at line 43 of file nuv.c.
◆ nuv_probe()
Definition at line 51 of file nuv.c.
◆ get_codec_data()
read until we found all data needed for decoding
- Parameters
-
vst | video stream of which to change parameters |
ast | video stream of which to change parameters |
myth | set if this is a MythTVVideo format file |
- Returns
- 0 or AVERROR code
Definition at line 70 of file nuv.c.
Referenced by nuv_header().
◆ nuv_header()
◆ nuv_packet()
◆ nuv_resync()
looks for the string RTjjjjjjjjjj in the stream too resync reading
- Returns
- 1 if the syncword is found 0 otherwise.
Definition at line 327 of file nuv.c.
Referenced by nuv_read_dts().
◆ nuv_read_dts()
static int64_t nuv_read_dts |
( |
AVFormatContext * |
s, |
|
|
int |
stream_index, |
|
|
int64_t * |
ppos, |
|
|
int64_t |
pos_limit |
|
) |
| |
|
static |
attempts to read a timestamp from stream at the given stream position
- Returns
- timestamp if successful and AV_NOPTS_VALUE if failure
Definition at line 344 of file nuv.c.
◆ nuv_audio_tags
◆ ff_nuv_demuxer
Initial value:
Definition at line 398 of file nuv.c.
@ AV_CODEC_ID_MP3
preferred ID for decoding MPEG audio layer 1, 2 or 3
static int read_header(FFV1Context *f)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
#define flags(name, subs,...)
#define MKTAG(a, b, c, d)
static int64_t read_timestamp(AVFormatContext *s, int stream_index, int64_t *ppos, int64_t pos_limit, int64_t(*read_timestamp)(struct AVFormatContext *, int, int64_t *, int64_t))