element.h File Reference

Go to the source code of this file.

Classes

struct  sequence_s
struct  audio_frame_s

Typedefs

typedef struct sequence_s sequence_t
typedef struct audio_frame_s audio_frame_t

Enumerations

enum  { VIDEO_NONE = 0, VIDEO_PAL, VIDEO_NTSC }
enum  {
  NONE = 0, AC3, MPEG_AUDIO, LPCM,
  MAX_TYPES
}

Functions

void pts2time (uint64_t pts, uint8_t *buf, int len)
int find_audio_sync (ringbuffer *rbuf, uint8_t *buf, int off, int type, int le)
int find_audio_s (uint8_t *rbuf, int off, int type, int le)
int get_video_info (ringbuffer *rbuf, sequence_t *s, int off, int le)
int get_audio_info (ringbuffer *rbuf, audio_frame_t *af, int off, int le)
int get_ac3_info (ringbuffer *rbuf, audio_frame_t *af, int off, int le)
uint64_t add_pts_audio (uint64_t pts, audio_frame_t *aframe, uint64_t frames)
uint64_t next_ptsdts_video (uint64_t *pts, sequence_t *s, uint64_t fcount, uint64_t gcount)
void fix_audio_count (uint64_t *acount, audio_frame_t *aframe, uint64_t origpts, uint64_t pts)
void fix_video_count (sequence_t *s, uint64_t *frame, uint64_t origpts, uint64_t pts, uint64_t origdts, uint64_t dts)
int check_audio_header (ringbuffer *rbuf, audio_frame_t *af, int off, int le, int type)
int get_video_ext_info (ringbuffer *rbuf, sequence_t *s, int off, int le)

Typedef Documentation

typedef struct sequence_s sequence_t
typedef struct audio_frame_s audio_frame_t

Enumeration Type Documentation

anonymous enum
Enumerator:
VIDEO_NONE 
VIDEO_PAL 
VIDEO_NTSC 

Definition at line 64 of file element.h.

anonymous enum
Enumerator:
NONE 
AC3 
MPEG_AUDIO 
LPCM 
MAX_TYPES 

Definition at line 82 of file element.h.


Function Documentation

void pts2time ( uint64_t  pts,
uint8_t buf,
int  len 
)

Definition at line 154 of file element.c.

Referenced by writeout_video().

int find_audio_sync ( ringbuffer rbuf,
uint8_t buf,
int  off,
int  type,
int  le 
)

Definition at line 330 of file element.c.

Referenced by analyze_audio(), check_audio_header(), get_ac3_info(), and get_audio_info().

int find_audio_s ( uint8_t rbuf,
int  off,
int  type,
int  le 
)

Definition at line 383 of file element.c.

Referenced by pes_id_out().

int get_video_info ( ringbuffer rbuf,
sequence_t s,
int  off,
int  le 
)

Definition at line 196 of file element.c.

Referenced by analyze_video().

int get_audio_info ( ringbuffer rbuf,
audio_frame_t af,
int  off,
int  le 
)

Definition at line 495 of file element.c.

Referenced by analyze_audio().

int get_ac3_info ( ringbuffer rbuf,
audio_frame_t af,
int  off,
int  le 
)

Definition at line 546 of file element.c.

Referenced by analyze_audio().

uint64_t add_pts_audio ( uint64_t  pts,
audio_frame_t aframe,
uint64_t  frames 
)

Definition at line 56 of file element.c.

Referenced by analyze_audio().

uint64_t next_ptsdts_video ( uint64_t pts,
sequence_t s,
uint64_t  fcount,
uint64_t  gcount 
)

Definition at line 79 of file element.c.

Referenced by analyze_video().

void fix_audio_count ( uint64_t acount,
audio_frame_t aframe,
uint64_t  origpts,
uint64_t  pts 
)

Definition at line 65 of file element.c.

Referenced by analyze_audio().

void fix_video_count ( sequence_t s,
uint64_t frame,
uint64_t  origpts,
uint64_t  pts,
uint64_t  origdts,
uint64_t  dts 
)

Definition at line 119 of file element.c.

Referenced by analyze_video().

int check_audio_header ( ringbuffer rbuf,
audio_frame_t af,
int  off,
int  le,
int  type 
)

Definition at line 430 of file element.c.

Referenced by analyze_audio().

int get_video_ext_info ( ringbuffer rbuf,
sequence_t s,
int  off,
int  le 
)

Definition at line 605 of file element.c.

Referenced by analyze_video().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:41:47 2012 for MythTV by  doxygen 1.6.3