graphics_processor.h File Reference

Go to the source code of this file.

Classes

struct  PG_DISPLAY_SET

Typedefs

typedef struct graphics_processor_s GRAPHICS_PROCESSOR

Functions

BD_PRIVATE void pg_display_set_free (PG_DISPLAY_SET **s)
BD_PRIVATE GRAPHICS_PROCESSORgraphics_processor_init (void)
BD_PRIVATE void graphics_processor_free (GRAPHICS_PROCESSOR **p)
BD_PRIVATE int graphics_processor_decode_pes (PG_DISPLAY_SET **s, struct pes_buffer_s **buf, int64_t stc)
 Decode data from MPEG-PES input stream.
BD_PRIVATE int graphics_processor_decode_ts (GRAPHICS_PROCESSOR *p, PG_DISPLAY_SET **s, uint16_t pid, uint8_t *unit, unsigned num_units, int64_t stc)
 Decode data from MPEG-TS input stream.

Typedef Documentation

Definition at line 33 of file graphics_processor.h.


Function Documentation

BD_PRIVATE void pg_display_set_free ( PG_DISPLAY_SET **  s  ) 

Definition at line 55 of file graphics_processor.c.

Referenced by _gc_reset().

BD_PRIVATE GRAPHICS_PROCESSOR* graphics_processor_init ( void   ) 

Definition at line 412 of file graphics_processor.c.

Referenced by gc_decode_ts().

BD_PRIVATE void graphics_processor_free ( GRAPHICS_PROCESSOR **  p  ) 

Definition at line 419 of file graphics_processor.c.

Referenced by _gc_reset().

BD_PRIVATE int graphics_processor_decode_pes ( PG_DISPLAY_SET **  s,
struct pes_buffer_s **  buf,
int64_t  stc 
)

Decode data from MPEG-PES input stream.

Only segments where DTS <= STC are decoded. If STC < 0, all segments are immediately decoded to display set.

All decoded PES packets are removed from buffer.

Parameters:
s display set
buf data to decode
stc current playback time
Returns:
1 if display set was completed, 0 otherwise

Definition at line 351 of file graphics_processor.c.

Referenced by graphics_processor_decode_ts().

BD_PRIVATE int graphics_processor_decode_ts ( GRAPHICS_PROCESSOR p,
PG_DISPLAY_SET **  s,
uint16_t  pid,
uint8_t unit,
unsigned  num_units,
int64_t  stc 
)

Decode data from MPEG-TS input stream.

Segments are queued and decoded when DTS <= STC. If STC < 0, all segments are immediately decoded to display set.

Parameters:
p GRAPHICS_PROCESSOR object
s display set
pid mpeg-ts PID to decode (HDMV IG/PG stream)
unit mpeg-ts data
num_units number of aligned units in data
stc current playback time
Returns:
1 if display set was completed, 0 otherwise

Definition at line 429 of file graphics_processor.c.

Referenced by gc_decode_ts().

 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