#include "avformat.h"
#include "riff.h"
#include "metadata.h"
Go to the source code of this file.
Data Structures | |
struct | Syncpoint |
struct | FrameCode |
struct | StreamContext |
struct | NUTContext |
struct | Dispositions |
Defines | |
#define | MAIN_STARTCODE (0x7A561F5F04ADULL + (((uint64_t)('N'<<8) + 'M')<<48)) |
#define | STREAM_STARTCODE (0x11405BF2F9DBULL + (((uint64_t)('N'<<8) + 'S')<<48)) |
#define | SYNCPOINT_STARTCODE (0xE4ADEECA4569ULL + (((uint64_t)('N'<<8) + 'K')<<48)) |
#define | INDEX_STARTCODE (0xDD672F23E64EULL + (((uint64_t)('N'<<8) + 'X')<<48)) |
#define | INFO_STARTCODE (0xAB68B596BA78ULL + (((uint64_t)('N'<<8) + 'I')<<48)) |
#define | ID_STRING "nut/multimedia container\0" |
#define | MAX_DISTANCE (1024*32-1) |
Enumerations | |
enum | Flag { FLAG_KEY = 1, FLAG_EOR = 2, FLAG_CODED_PTS = 8, FLAG_STREAM_ID = 16, FLAG_SIZE_MSB = 32, FLAG_CHECKSUM = 64, FLAG_RESERVED = 128, FLAG_HEADER_IDX = 1024, FLAG_MATCH_TIME = 2048, FLAG_CODED = 4096, FLAG_INVALID = 8192 } |
Functions | |
void | ff_nut_reset_ts (NUTContext *nut, AVRational time_base, int64_t val) |
int64_t | ff_lsb2full (StreamContext *stream, int64_t lsb) |
int | ff_nut_sp_pos_cmp (const Syncpoint *a, const Syncpoint *b) |
int | ff_nut_sp_pts_cmp (const Syncpoint *a, const Syncpoint *b) |
void | ff_nut_add_sp (NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts) |
void | ff_nut_free_sp (NUTContext *nut) |
Variables | |
const AVCodecTag | ff_nut_subtitle_tags [] |
const Dispositions | ff_nut_dispositions [] |
const AVMetadataConv | ff_nut_metadata_conv [] |
#define INDEX_STARTCODE (0xDD672F23E64EULL + (((uint64_t)('N'<<8) + 'X')<<48)) |
Definition at line 35 of file nut.h.
Referenced by find_and_decode_index(), find_any_startcode(), and nut_read_packet().
#define INFO_STARTCODE (0xAB68B596BA78ULL + (((uint64_t)('N'<<8) + 'I')<<48)) |
Definition at line 36 of file nut.h.
Referenced by decode_info_header(), find_any_startcode(), nut_read_header(), nut_read_packet(), and write_headers().
#define MAIN_STARTCODE (0x7A561F5F04ADULL + (((uint64_t)('N'<<8) + 'M')<<48)) |
Definition at line 32 of file nut.h.
Referenced by decode_main_header(), find_any_startcode(), nut_probe(), nut_read_header(), nut_read_packet(), and write_headers().
#define MAX_DISTANCE (1024*32-1) |
#define STREAM_STARTCODE (0x11405BF2F9DBULL + (((uint64_t)('N'<<8) + 'S')<<48)) |
Definition at line 33 of file nut.h.
Referenced by decode_stream_header(), find_any_startcode(), nut_read_header(), nut_read_packet(), and write_headers().
#define SYNCPOINT_STARTCODE (0xE4ADEECA4569ULL + (((uint64_t)('N'<<8) + 'K')<<48)) |
Definition at line 34 of file nut.h.
Referenced by decode_syncpoint(), find_any_startcode(), nut_read_header(), nut_read_packet(), nut_read_timestamp(), read_seek(), and write_packet().
enum Flag |
int64_t ff_lsb2full | ( | StreamContext * | stream, | |
int64_t | lsb | |||
) |
void ff_nut_add_sp | ( | NUTContext * | nut, | |
int64_t | pos, | |||
int64_t | back_ptr, | |||
int64_t | ts | |||
) |
void ff_nut_free_sp | ( | NUTContext * | nut | ) |
void ff_nut_reset_ts | ( | NUTContext * | nut, | |
AVRational | time_base, | |||
int64_t | val | |||
) |
Definition at line 50 of file nut.c.
Referenced by ff_nut_add_sp(), read_seek(), and write_packet().
const Dispositions ff_nut_dispositions[] |
const AVMetadataConv ff_nut_metadata_conv[] |
const AVCodecTag ff_nut_subtitle_tags[] |