Go to the source code of this file.
Functions | |
| static int | replex_all_set (struct replex *rx) |
| static int | replex_check_id (struct replex *rx, uint16_t id) |
| static int | encode_mp2_audio (audio_frame_t *aframe, uint8_t *buffer, int bufsize) |
| static void | analyze_audio (pes_in_t *p, struct replex *rx, int len, int num, int type) |
| static void | analyze_video (pes_in_t *p, struct replex *rx, int len) |
| static void | es_out (pes_in_t *p) |
| static void | pes_es_out (pes_in_t *p) |
| static void | avi_es_out (pes_in_t *p) |
| static int | replex_tsp (struct replex *rx, uint8_t *tsp) |
| static ssize_t | save_read (struct replex *rx, void *buf, size_t count) |
| static int | guess_fill (struct replex *rx) |
| static void | find_pids_file (struct replex *rx) |
| static void | find_all_pids_file (struct replex *rx) |
| static void | find_pids_stdin (struct replex *rx, uint8_t *buf, int len) |
| static void | pes_id_out (pes_in_t *p) |
| static void | find_pes_ids (struct replex *rx) |
| static void | replex_finish (struct replex *rx) |
| static int | replex_fill_buffers (struct replex *rx, uint8_t *mbuf) |
| static int | fill_buffers (void *r, int finish) |
| void | init_index (index_unit *iu) |
| static int | check_stream_type (struct replex *rx, uint8_t *buf, int len) |
| static void | init_replex (struct replex *rx) |
| static void | fix_audio (struct replex *rx, multiplex_t *mx) |
| static int | get_next_video_unit (struct replex *rx, index_unit *viu) |
| static int | get_next_audio_unit (struct replex *rx, index_unit *aiu, int i) |
| static int | get_next_ac3_unit (struct replex *rx, index_unit *aiu, int i) |
| static void | do_analyze (struct replex *rx) |
| static void | do_scan (struct replex *rx) |
| static void | do_demux (struct replex *rx) |
| static void | do_replex (struct replex *rx) |
| static void | usage (char *progname) |
| int | main (int argc, char **argv) |
| void | LogPrintLine (uint64_t mask, LogLevel_t level, const char *file, int line, const char *function, int fromQString, const char *format,...) |
| Format and send a log message into the queue. | |
| static int replex_all_set | ( | struct replex * | rx | ) | [static] |
Definition at line 1756 of file replex.c.
Referenced by do_replex(), and replex_finish().
Definition at line 67 of file replex.c.
Referenced by replex_tsp().
| static int encode_mp2_audio | ( | audio_frame_t * | aframe, | |
| uint8_t * | buffer, | |||
| int | bufsize | |||
| ) | [static] |
Definition at line 85 of file replex.c.
Referenced by analyze_audio().
Definition at line 146 of file replex.c.
Referenced by avi_es_out(), es_out(), and pes_es_out().
Definition at line 425 of file replex.c.
Referenced by avi_es_out(), es_out(), and pes_es_out().
| static void es_out | ( | pes_in_t * | p | ) | [static] |
Definition at line 824 of file replex.c.
Referenced by replex_tsp().
| static void pes_es_out | ( | pes_in_t * | p | ) | [static] |
Definition at line 893 of file replex.c.
Referenced by replex_fill_buffers().
| static void avi_es_out | ( | pes_in_t * | p | ) | [static] |
Definition at line 1005 of file replex.c.
Referenced by replex_fill_buffers().
Definition at line 1074 of file replex.c.
Referenced by replex_fill_buffers().
Definition at line 1123 of file replex.c.
Referenced by do_scan(), find_all_pids_file(), find_pes_ids(), find_pids_file(), init_replex(), and replex_fill_buffers().
| static int guess_fill | ( | struct replex * | rx | ) | [static] |
Definition at line 1157 of file replex.c.
Referenced by replex_fill_buffers().
| static void find_pids_file | ( | struct replex * | rx | ) | [static] |
Definition at line 1201 of file replex.c.
Referenced by init_replex().
| static void find_all_pids_file | ( | struct replex * | rx | ) | [static] |
Definition at line 1346 of file replex.c.
Referenced by replex_fill_buffers().
| static void pes_id_out | ( | pes_in_t * | p | ) | [static] |
Definition at line 1409 of file replex.c.
Referenced by find_pes_ids().
| static void find_pes_ids | ( | struct replex * | rx | ) | [static] |
| static void replex_finish | ( | struct replex * | rx | ) | [static] |
Definition at line 1580 of file replex.c.
Referenced by replex_fill_buffers().
Definition at line 1596 of file replex.c.
Referenced by do_analyze(), do_demux(), do_replex(), fill_buffers(), fix_audio(), and init_replex().
| static int fill_buffers | ( | void * | r, | |
| int | finish | |||
| ) | [static] |
Definition at line 1740 of file replex.c.
Referenced by do_replex().
| void init_index | ( | index_unit * | iu | ) |
Definition at line 1750 of file replex.c.
Referenced by analyze_audio(), analyze_video(), find_pids_stdin(), and init_replex().
Definition at line 1774 of file replex.c.
Referenced by do_scan(), and init_replex().
| static void init_replex | ( | struct replex * | rx | ) | [static] |
| static void fix_audio | ( | struct replex * | rx, | |
| multiplex_t * | mx | |||
| ) | [static] |
Definition at line 1973 of file replex.c.
Referenced by do_replex().
| static int get_next_video_unit | ( | struct replex * | rx, | |
| index_unit * | viu | |||
| ) | [static] |
Definition at line 2033 of file replex.c.
Referenced by do_analyze(), and do_demux().
| static int get_next_audio_unit | ( | struct replex * | rx, | |
| index_unit * | aiu, | |||
| int | i | |||
| ) | [static] |
Definition at line 2043 of file replex.c.
Referenced by do_analyze(), and do_demux().
| static int get_next_ac3_unit | ( | struct replex * | rx, | |
| index_unit * | aiu, | |||
| int | i | |||
| ) | [static] |
Definition at line 2053 of file replex.c.
Referenced by do_analyze(), and do_demux().
| static void do_analyze | ( | struct replex * | rx | ) | [static] |
| static void do_scan | ( | struct replex * | rx | ) | [static] |
Definition at line 2178 of file replex.c.
Referenced by main(), and ScanWizard::SetPage().
| static void do_demux | ( | struct replex * | rx | ) | [static] |
| static void do_replex | ( | struct replex * | rx | ) | [static] |
| void LogPrintLine | ( | uint64_t | mask, | |
| LogLevel_t | level, | |||
| const char * | file, | |||
| int | line, | |||
| const char * | function, | |||
| int | fromQString, | |||
| const char * | format, | |||
| ... | ||||
| ) |
Format and send a log message into the queue.
This is called from the LOG() macro. The intention is minimal blocking of the caller.
| mask | Verbosity mask of the message (VB_*) | |
| level | Log level of this message (LOG_* - matching syslog levels) | |
| file | Filename of source code logging the message | |
| line | Line number within the source of log message source | |
| function | Function name of the log message source | |
| fromQString | true if this message originated from QString | |
| format | printf format string (when not from QString), log message (when from QString) | |
| ... | printf arguments (when not from QString) |
1.6.3