#include "libavutil/intreadwrite.h"#include "libavutil/intfloat_readwrite.h"#include "avformat.h"#include "internal.h"#include "riff.h"Go to the source code of this file.
Data Structures | |
| struct | NUVContext |
Defines | |
| #define | PKTSIZE(s) (s & 0xffffff) |
| little macro to sanitize packet size | |
| #define | HDRSIZE 12 |
Enumerations | |
| enum | nuv_frametype { NUV_VIDEO = 'V', NUV_EXTRADATA = 'D', NUV_AUDIO = 'A', NUV_SEEKP = 'R', NUV_MYTHEXT = 'X' } |
Functions | |
| static int | nuv_probe (AVProbeData *p) |
| static int | get_codec_data (AVIOContext *pb, AVStream *vst, AVStream *ast, int myth) |
| read until we found all data needed for decoding | |
| static int | nuv_header (AVFormatContext *s, AVFormatParameters *ap) |
| static int | nuv_packet (AVFormatContext *s, AVPacket *pkt) |
| static int | nuv_resync (AVFormatContext *s, int64_t pos_limit) |
| looks for the string RTjjjjjjjjjj in the stream too resync reading | |
| static int64_t | nuv_read_dts (AVFormatContext *s, int stream_index, int64_t *ppos, int64_t pos_limit) |
| attempts to read a timestamp from stream at the given stream position | |
Variables | |
| AVInputFormat | ff_nuv_demuxer |
| #define HDRSIZE 12 |
| #define PKTSIZE | ( | s | ) | (s & 0xffffff) |
little macro to sanitize packet size
Definition at line 51 of file nuv.c.
Referenced by get_codec_data(), nuv_packet(), and nuv_read_dts().
| enum nuv_frametype |
| static int get_codec_data | ( | AVIOContext * | pb, | |
| AVStream * | vst, | |||
| AVStream * | ast, | |||
| int | myth | |||
| ) | [static] |
read until we found all data needed for decoding
| 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 |
Definition at line 60 of file nuv.c.
Referenced by nuv_header().
| static int nuv_header | ( | AVFormatContext * | s, | |
| AVFormatParameters * | ap | |||
| ) | [static] |
| static int nuv_packet | ( | AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
| static int nuv_probe | ( | AVProbeData * | p | ) | [static] |
| static int64_t nuv_read_dts | ( | AVFormatContext * | s, | |
| int | stream_index, | |||
| int64_t * | ppos, | |||
| int64_t | pos_limit | |||
| ) | [static] |
| static int nuv_resync | ( | AVFormatContext * | s, | |
| int64_t | pos_limit | |||
| ) | [static] |
looks for the string RTjjjjjjjjjj in the stream too resync reading
Definition at line 265 of file nuv.c.
Referenced by nuv_read_dts().
Initial value:
{
.name = "nuv",
.long_name = NULL_IF_CONFIG_SMALL("NuppelVideo format"),
.priv_data_size = sizeof(NUVContext),
.read_probe = nuv_probe,
.read_header = nuv_header,
.read_packet = nuv_packet,
.read_timestamp = nuv_read_dts,
.flags = AVFMT_GENERIC_INDEX,
}
1.5.8