|
MythTV master
|
Go to the source code of this file.
Classes | |
| struct | sequence_t |
| struct | audio_frame_t |
Macros | |
| #define | PICTURE_START_CODE 0x00 |
| #define | SLICE_START_CODE_S 0x01 |
| #define | SLICE_START_CODE_E 0xAF |
| #define | EXCEPT_SLICE 0xb0 |
| #define | USR_DATA_START_CODE 0xB2 |
| #define | SEQUENCE_HDR_CODE 0xB3 |
| #define | SEQUENCE_ERR_CODE 0xB4 |
| #define | EXTENSION_START_CODE 0xB5 |
| #define | SEQUENCE_END_CODE 0xB7 |
| #define | GROUP_START_CODE 0xB8 |
| #define | SEQUENCE_EXTENSION 0x01 |
| #define | SEQUENCE_DISPLAY_EXTENSION 0x02 |
| #define | PICTURE_CODING_EXTENSION 0x08 |
| #define | QUANT_MATRIX_EXTENSION 0x03 |
| #define | PICTURE_DISPLAY_EXTENSION 0x07 |
| #define | I_FRAME 0x01 |
| #define | P_FRAME 0x02 |
| #define | B_FRAME 0x03 |
| #define | D_FRAME 0x04 |
| #define | OFF_SIZE 4 |
| #define | FIRST_FIELD 0 |
| #define | SECOND_FIELD 1 |
| #define | VIDEO_FRAME_PICTURE 0x03 |
| #define | MPG_TIMESTEP 90000ULL |
| #define | CSPF_FLAG 0x04 |
| #define | INTRAQ_FLAG 0x02 |
| #define | NONINTRAQ_FLAG 0x01 |
| #define | AUDIO_SYNCWORD 0x7ff /* or is it 0xfff */ |
| #define | AC3_SYNCWORD 0x0b77 |
| #define | NOPULLDOWN 0 |
| #define | PULLDOWN32 1 |
| #define | PULLDOWN23 2 |
| #define | CLOCK_MS 27000LL |
| #define | CLOCK_PER 27000000000LL |
| #define | SEC_PER (CLOCK_PER/s->frame_rate) |
Typedefs | |
| using | audio_sync_buf = std::array< uint8_t, 7 > |
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, audio_sync_buf &buf, int off, int type, int le) |
| int | find_audio_s (const 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) |
| using audio_sync_buf = std::array<uint8_t,7> |
| anonymous enum |
| uint64_t add_pts_audio | ( | uint64_t | pts, |
| audio_frame_t * | aframe, | ||
| uint64_t | frames | ||
| ) |
Definition at line 56 of file element.cpp.
Referenced by analyze_audio().
| int check_audio_header | ( | ringbuffer * | rbuf, |
| audio_frame_t * | af, | ||
| int | off, | ||
| int | le, | ||
| int | type | ||
| ) |
Definition at line 425 of file element.cpp.
Referenced by analyze_audio().
| int find_audio_s | ( | const uint8_t * | rbuf, |
| int | off, | ||
| int | type, | ||
| int | le | ||
| ) |
Definition at line 381 of file element.cpp.
Referenced by pes_id_out().
| int find_audio_sync | ( | ringbuffer * | rbuf, |
| audio_sync_buf & | buf, | ||
| int | off, | ||
| int | type, | ||
| int | le | ||
| ) |
Definition at line 329 of file element.cpp.
Referenced by analyze_audio(), check_audio_header(), get_ac3_info(), and get_audio_info().
| void fix_audio_count | ( | uint64_t * | acount, |
| audio_frame_t * | aframe, | ||
| uint64_t | origpts, | ||
| uint64_t | pts | ||
| ) |
Definition at line 65 of file element.cpp.
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 117 of file element.cpp.
Referenced by analyze_video().
| int get_ac3_info | ( | ringbuffer * | rbuf, |
| audio_frame_t * | af, | ||
| int | off, | ||
| int | le | ||
| ) |
Definition at line 539 of file element.cpp.
Referenced by analyze_audio().
| int get_audio_info | ( | ringbuffer * | rbuf, |
| audio_frame_t * | af, | ||
| int | off, | ||
| int | le | ||
| ) |
Definition at line 488 of file element.cpp.
Referenced by analyze_audio().
| int get_video_ext_info | ( | ringbuffer * | rbuf, |
| sequence_t * | s, | ||
| int | off, | ||
| int | le | ||
| ) |
Definition at line 596 of file element.cpp.
Referenced by analyze_video().
| int get_video_info | ( | ringbuffer * | rbuf, |
| sequence_t * | s, | ||
| int | off, | ||
| int | le | ||
| ) |
Definition at line 197 of file element.cpp.
Referenced by analyze_video().
| uint64_t next_ptsdts_video | ( | uint64_t * | pts, |
| sequence_t * | s, | ||
| uint64_t | fcount, | ||
| uint64_t | gcount | ||
| ) |
Definition at line 76 of file element.cpp.
Referenced by analyze_video().
| void pts2time | ( | uint64_t | pts, |
| uint8_t * | buf, | ||
| int | len | ||
| ) |
Definition at line 154 of file element.cpp.
Referenced by writeout_video().