42#ifndef OGGPLAY_CALLBACK_INFO_HEADER
43#define OGGPLAY_CALLBACK_INFO_HEADER
67struct OggPlayDataHeader_;
struct OggPlayCallbackInfo_ OggPlayCallbackInfo
A structure for storing the decoded frames for the various streams in the Ogg container.
Definition: oggplay.h:62
OggPlayTextData * oggplay_callback_info_get_text_data(OggPlayDataHeader *header)
Extract the text data from the supplied record.
OggPlayDataType oggplay_callback_info_get_type(OggPlayCallbackInfo *info)
Get the data type of the given OggPlayCallbackInfo.
char OggPlayTextData
Type for representing text data.
Definition: oggplay_callback_info.h:65
OggPlayOverlayData * oggplay_callback_info_get_overlay_data(OggPlayDataHeader *header)
Extract the overlay data from the supplied record.
void * OggPlayAudioData
Type for representing audio data.
Definition: oggplay_callback_info.h:62
ogg_int64_t oggplay_callback_info_get_record_size(OggPlayDataHeader *header)
Get the size of the given record.
OggPlayDataHeader ** oggplay_callback_info_get_headers(OggPlayCallbackInfo *info)
Get the array of records stored in the OggPlayCallbackInfo.
OggPlayAudioData * oggplay_callback_info_get_audio_data(OggPlayDataHeader *header)
Extract the audio data from the supplied record.
OggPlayStreamInfo oggplay_callback_info_get_stream_info(OggPlayCallbackInfo *info)
Get the state of the stream.
struct OggPlayDataHeader_ OggPlayDataHeader
Header for the various data formats.
Definition: oggplay_callback_info.h:69
long oggplay_callback_info_get_presentation_time(OggPlayDataHeader *header)
Get the presentation time of the given record.
OggPlayVideoData * oggplay_callback_info_get_video_data(OggPlayDataHeader *header)
Extract the video frame from the supplied record.
OggPlayDataType
Definitions of the various record types.
Definition: oggplay_enums.h:81
OggPlayStreamInfo
Definitions of the various states of a stream.
Definition: oggplay_enums.h:95
structure for storing a video frame in RGB fromat
Definition: oggplay_callback_info.h:53
unsigned char * rgba
may be NULL if no alpha
Definition: oggplay_callback_info.h:54
size_t stride
stride
Definition: oggplay_callback_info.h:58
unsigned char * rgb
may be NULL if alpha
Definition: oggplay_callback_info.h:55
size_t width
width in pixels
Definition: oggplay_callback_info.h:56
size_t height
height in pixels
Definition: oggplay_callback_info.h:57
structure for storing a YUV video frame
Definition: oggplay_callback_info.h:46
unsigned char * y
Y-plane.
Definition: oggplay_callback_info.h:47
unsigned char * v
V-plane.
Definition: oggplay_callback_info.h:49
unsigned char * u
U-plane.
Definition: oggplay_callback_info.h:48