nut.h File Reference

Go to the source code of this file.

Classes

struct  syncpoint_t
struct  FrameCode
struct  StreamContext
struct  NUTContext

Enumerations

enum  flag_t {
  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_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 (syncpoint_t *a, syncpoint_t *b)
int ff_nut_sp_pts_cmp (syncpoint_t *a, syncpoint_t *b)
void ff_nut_add_sp (NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts)


Enumeration Type Documentation

enum flag_t

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_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

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

Definition at line 25 of file nut.c.

Referenced by decode_syncpoint(), and write_packet().

int64_t ff_lsb2full ( StreamContext stream,
int64_t  lsb 
)

Definition at line 36 of file nut.c.

Referenced by decode_frame_header(), and write_packet().

int ff_nut_sp_pos_cmp ( syncpoint_t a,
syncpoint_t b 
)

Definition at line 42 of file nut.c.

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

int ff_nut_sp_pts_cmp ( syncpoint_t a,
syncpoint_t b 
)

Definition at line 46 of file nut.c.

Referenced by read_seek().

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

Definition at line 50 of file nut.c.

Referenced by decode_syncpoint(), and write_packet().


Generated on Sat Dec 18 05:15:54 2010 for MythTV by  doxygen 1.5.5