libavformat/nut.h File Reference

#include "avformat.h"
#include "riff.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 container0円"
#define MAX_DISTANCE (1024*32-1)

Enumerations


Functions

void ff_nut_reset_ts (NUTContext *nut, AVRational time_base, int64_t val)
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)

Variables


Define Documentation

#define ID_STRING "nut/multimedia container0円"

Definition at line 37 of file nut.h.

#define INDEX_STARTCODE (0xDD672F23E64EULL + (((uint64_t)('N'<<8) + 'X')<<48))

Definition at line 34 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 35 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 31 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)

Definition at line 39 of file nut.h.

Referenced by write_header().

#define STREAM_STARTCODE (0x11405BF2F9DBULL + (((uint64_t)('N'<<8) + 'S')<<48))

Definition at line 32 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 33 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().


Enumeration Type Documentation

enum Flag

Enumerator:
FLAG_KEY if set, frame is keyframe
FLAG_EOR if set, stream has no relevance on presentation. (EOR)
FLAG_CODED_PTS if set, coded_pts is in the frame header
FLAG_STREAM_ID if set, stream_id is coded in the frame header
FLAG_SIZE_MSB if set, data_size_msb is at frame header, otherwise data_size_msb is 0
FLAG_CHECKSUM if set, the frame header contains a checksum
FLAG_RESERVED if set, reserved_count is coded in the frame header
FLAG_HEADER_IDX If set, header_idx is coded in the frame header.
FLAG_MATCH_TIME If set, match_time_delta is coded in the frame header.
FLAG_CODED if set, coded_flags are stored in the frame header
FLAG_INVALID if set, frame_code is invalid

Definition at line 41 of file nut.h.


Function Documentation

int64_t ff_lsb2full ( StreamContext * stream,
int64_t lsb
)

Definition at line 44 of file nut.c.

Referenced by decode_frame_header(), and write_packet().

void ff_nut_add_sp ( NUTContext * nut,
int64_t pos,
int64_t back_ptr,
int64_t ts
)

Definition at line 58 of file nut.c.

Referenced by decode_syncpoint(), and write_packet().

void ff_nut_reset_ts ( NUTContext * nut,
AVRational time_base,
int64_t val
)

Definition at line 33 of file nut.c.

Referenced by decode_syncpoint(), and write_packet().

int ff_nut_sp_pos_cmp ( Syncpoint * a,
Syncpoint * b
)

Definition at line 50 of file nut.c.

Referenced by ff_nut_add_sp(), read_seek(), and write_packet().

int ff_nut_sp_pts_cmp ( Syncpoint * a,
Syncpoint * b
)

Definition at line 54 of file nut.c.

Referenced by read_seek().


Variable Documentation

Definition at line 72 of file nut.c.

Referenced by set_disposition_bits(), and write_streaminfo().

Definition at line 25 of file nut.c.

Referenced by decode_stream_header().


Generated on Fri Oct 26 02:35:45 2012 for FFmpeg by doxygen 1.5.8

AltStyle によって変換されたページ (->オリジナル) /