Go to the source code of this file.
|
static int64_t | nut_read_timestamp (AVFormatContext *s, int stream_index, int64_t *pos_arg, int64_t pos_limit) |
|
static int | get_str (AVIOContext *bc, char *string, unsigned int maxlen) |
|
static int64_t | get_s (AVIOContext *bc) |
|
static uint64_t | get_fourcc (AVIOContext *bc) |
|
static int | get_packetheader (NUTContext *nut, AVIOContext *bc, int calculate_checksum, uint64_t startcode) |
|
static uint64_t | find_any_startcode (AVIOContext *bc, int64_t pos) |
|
static int64_t | find_startcode (AVIOContext *bc, uint64_t code, int64_t pos) |
| Find the given startcode. More...
|
|
static int | nut_probe (const AVProbeData *p) |
|
static int | skip_reserved (AVIOContext *bc, int64_t pos) |
|
static int | decode_main_header (NUTContext *nut) |
|
static int | decode_stream_header (NUTContext *nut) |
|
static void | set_disposition_bits (AVFormatContext *avf, char *value, int stream_id) |
|
static int | decode_info_header (NUTContext *nut) |
|
static int | decode_syncpoint (NUTContext *nut, int64_t *ts, int64_t *back_ptr) |
|
static int64_t | find_duration (NUTContext *nut, int64_t filesize) |
|
static int | find_and_decode_index (NUTContext *nut) |
|
static int | nut_read_close (AVFormatContext *s) |
|
static int | nut_read_header (AVFormatContext *s) |
|
static int | read_sm_data (AVFormatContext *s, AVIOContext *bc, AVPacket *pkt, int is_meta, int64_t maxpos) |
|
static int | decode_frame_header (NUTContext *nut, int64_t *pts, int *stream_id, uint8_t *header_idx, int frame_code) |
|
static int | decode_frame (NUTContext *nut, AVPacket *pkt, int frame_code) |
|
static int | nut_read_packet (AVFormatContext *s, AVPacket *pkt) |
|
static int | read_seek (AVFormatContext *s, int stream_index, int64_t pts, int flags) |
|
◆ NUT_MAX_STREAMS
#define NUT_MAX_STREAMS 256 /* arbitrary sanity check value */ |
◆ GET_V
#define GET_V |
( |
|
dst, |
|
|
|
check |
|
) |
| |
Value: do { \
} \
} while (0)
uint64_t ffio_read_varlen(AVIOContext *bc)
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
#define check(x, y, S, v)
Definition at line 165 of file nutdec.c.
◆ nut_read_timestamp()
◆ get_str()
◆ get_s()
◆ get_fourcc()
◆ get_packetheader()
◆ find_any_startcode()
◆ find_startcode()
◆ nut_probe()
◆ skip_reserved()
◆ decode_main_header()
◆ decode_stream_header()
◆ set_disposition_bits()
◆ decode_info_header()
◆ decode_syncpoint()
◆ find_duration()
◆ find_and_decode_index()
◆ nut_read_close()
◆ nut_read_header()
◆ read_sm_data()
◆ decode_frame_header()
◆ decode_frame()
◆ nut_read_packet()
◆ read_seek()
◆ ff_nut_demuxer
Initial value:= {
.name = "nut",
.extensions = "nut",
}
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
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 av_cold int read_close(AVFormatContext *ctx)
const AVCodecTag *const ff_nut_codec_tags[]
static int nut_read_packet(AVFormatContext *s, AVPacket *pkt)
static int nut_probe(const AVProbeData *p)
static int nut_read_close(AVFormatContext *s)
static int read_seek(AVFormatContext *s, int stream_index, int64_t pts, int flags)
static int nut_read_header(AVFormatContext *s)
Definition at line 1315 of file nutdec.c.