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_PROCESSOR * | graphics_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 struct graphics_processor_s GRAPHICS_PROCESSOR |
Definition at line 33 of file graphics_processor.h.
| 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.
| s | display set | |
| buf | data to decode | |
| stc | current playback time |
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.
| 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 |
Definition at line 429 of file graphics_processor.c.
Referenced by gc_decode_ts().
1.6.3