Functions | |
BGAV_PUBLIC int | bgav_video_has_still (bgav_t *bgav, int stream) |
Determine if a still image is available for reading. | |
BGAV_PUBLIC int | bgav_read_video (bgav_t *bgav, gavl_video_frame_t *frame, int stream) |
Decode a video frame. | |
BGAV_PUBLIC void | bgav_skip_video (bgav_t *bgav, int stream, int64_t *time, int scale, int exact) |
Skip forward in a video stream. | |
BGAV_PUBLIC int | bgav_read_audio (bgav_t *bgav, gavl_audio_frame_t *frame, int stream, int num_samples) |
Decode audio samples. | |
BGAV_PUBLIC int | bgav_has_subtitle (bgav_t *bgav, int stream) |
Check, if a new subtitle is available. | |
BGAV_PUBLIC int | bgav_read_subtitle_overlay (bgav_t *bgav, gavl_overlay_t *ovl, int stream) |
Decode an overlay subtitle. | |
BGAV_PUBLIC int | bgav_read_subtitle_text (bgav_t *bgav, char **ret, int *ret_alloc, int64_t *start_time, int64_t *duration, int stream) |
Decode a text subtitle. |
BGAV_PUBLIC int bgav_video_has_still | ( | bgav_t * | bgav, | |
int | stream | |||
) |
Determine if a still image is available for reading.
bgav | A decoder instance
|
BGAV_PUBLIC int bgav_read_video | ( | bgav_t * | bgav, | |
gavl_video_frame_t * | frame, | |||
int | stream | |||
) |
Decode a video frame.
bgav | A decoder instance
|
BGAV_PUBLIC void bgav_skip_video | ( | bgav_t * | bgav, | |
int | stream, | |||
int64_t * | time, | |||
int | scale, | |||
int | exact | |||
) |
Skip forward in a video stream.
bgav | A decoder instance
|
BGAV_PUBLIC int bgav_read_audio | ( | bgav_t * | bgav, | |
gavl_audio_frame_t * | frame, | |||
int | stream, | |||
int | num_samples | |||
) |
Decode audio samples.
bgav | A decoder instance
|
BGAV_PUBLIC int bgav_has_subtitle | ( | bgav_t * | bgav, | |
int | stream | |||
) |
Check, if a new subtitle is available.
bgav | A decoder instance
|
BGAV_PUBLIC int bgav_read_subtitle_overlay | ( | bgav_t * | bgav, | |
gavl_overlay_t * | ovl, | |||
int | stream | |||
) |
Decode an overlay subtitle.
bgav | A decoder instance
|
BGAV_PUBLIC int bgav_read_subtitle_text | ( | bgav_t * | bgav, | |
char ** | ret, | |||
int * | ret_alloc, | |||
int64_t * | start_time, | |||
int64_t * | duration, | |||
int | stream | |||
) |
Decode a text subtitle.
bgav | A decoder instance
|