Classes |
| struct | mpeg2_sequence_s |
| struct | mpeg2_gop_s |
| struct | mpeg2_picture_s |
| struct | mpeg2_fbuf_s |
| struct | mpeg2_info_s |
| struct | mpeg2_convert_init_s |
Typedefs |
| typedef struct mpeg2_sequence_s | mpeg2_sequence_t |
| typedef struct mpeg2_gop_s | mpeg2_gop_t |
| typedef struct mpeg2_picture_s | mpeg2_picture_t |
| typedef struct mpeg2_fbuf_s | mpeg2_fbuf_t |
| typedef struct mpeg2_info_s | mpeg2_info_t |
| typedef struct mpeg2dec_s | mpeg2dec_t |
| typedef struct mpeg2_decoder_s | mpeg2_decoder_t |
| typedef struct mpeg2_convert_init_s | mpeg2_convert_init_t |
| typedef int | mpeg2_convert_t (int stage, void *id, const mpeg2_sequence_t *sequence, int stride, uint32_t accel, void *arg, mpeg2_convert_init_t *result) |
Enumerations |
| enum | mpeg2_state_t {
STATE_BUFFER = 0,
STATE_SEQUENCE = 1,
STATE_SEQUENCE_REPEATED = 2,
STATE_SEQUENCE_MODIFIED = 3,
STATE_GOP = 4,
STATE_PICTURE = 5,
STATE_SLICE_1ST = 6,
STATE_PICTURE_2ND = 7,
STATE_SLICE = 8,
STATE_END = 9,
STATE_INVALID = 10,
STATE_INVALID_END = 11
} |
| enum | mpeg2_convert_stage_t { MPEG2_CONVERT_SET = 0,
MPEG2_CONVERT_STRIDE = 1,
MPEG2_CONVERT_START = 2
} |
| enum | mpeg2_alloc_t {
MPEG2_ALLOC_MPEG2DEC = 0,
MPEG2_ALLOC_CHUNK = 1,
MPEG2_ALLOC_YUV = 2,
MPEG2_ALLOC_CONVERT_ID = 3,
MPEG2_ALLOC_CONVERTED = 4
} |
Functions |
| int | mpeg2_convert (mpeg2dec_t *mpeg2dec, mpeg2_convert_t convert, void *arg) |
| int | mpeg2_stride (mpeg2dec_t *mpeg2dec, int stride) |
| void | mpeg2_set_buf (mpeg2dec_t *mpeg2dec, uint8_t *buf[3], void *id) |
| void | mpeg2_custom_fbuf (mpeg2dec_t *mpeg2dec, int custom_fbuf) |
| uint32_t | mpeg2_accel (uint32_t accel) |
| mpeg2dec_t * | mpeg2_init (void) |
| const mpeg2_info_t * | mpeg2_info (mpeg2dec_t *mpeg2dec) |
| void | mpeg2_close (mpeg2dec_t *mpeg2dec) |
| void | mpeg2_buffer (mpeg2dec_t *mpeg2dec, uint8_t *start, uint8_t *end) |
| int | mpeg2_getpos (mpeg2dec_t *mpeg2dec) |
| mpeg2_state_t | mpeg2_parse (mpeg2dec_t *mpeg2dec) |
| void | mpeg2_reset (mpeg2dec_t *mpeg2dec, int full_reset) |
| void | mpeg2_skip (mpeg2dec_t *mpeg2dec, int skip) |
| void | mpeg2_slice_region (mpeg2dec_t *mpeg2dec, int start, int end) |
| void | mpeg2_tag_picture (mpeg2dec_t *mpeg2dec, uint32_t tag, uint32_t tag2) |
| void | mpeg2_init_fbuf (mpeg2_decoder_t *decoder, uint8_t *current_fbuf[3], uint8_t *forward_fbuf[3], uint8_t *backward_fbuf[3]) |
| void | mpeg2_slice (mpeg2_decoder_t *decoder, int code, const uint8_t *buffer) |
| int | mpeg2_guess_aspect (const mpeg2_sequence_t *sequence, unsigned int *pixel_width, unsigned int *pixel_height) |
| void * | mpeg2_malloc (unsigned size, mpeg2_alloc_t reason) |
| void | mpeg2_free (void *buf) |
| void | mpeg2_malloc_hooks (void *malloc(unsigned, mpeg2_alloc_t), int free(void *)) |