SDL_kitchensink
Loading...
Searching...
No Matches
kitformat.h
Go to the documentation of this file.
1#ifndef KITFORMAT_H
2#define KITFORMAT_H
3
12#ifdef __cplusplus
13extern "C" {
14#endif
15
19typedef struct Kit_OutputFormat {
20 unsigned int format;
22 int bytes;
25 int width;
26 int height;
28
29#ifdef __cplusplus
30}
31#endif
32
33#endif // KITFORMAT_H
Contains information about the data format coming out from the player.
Definition kitformat.h:19
int is_signed
Signedness, 1 = signed, 0 = unsigned (if audio)
Definition kitformat.h:21
unsigned int format
SDL Format (SDL_PixelFormat if video/subtitle, SDL_AudioFormat if audio)
Definition kitformat.h:20
int width
Width in pixels (if video)
Definition kitformat.h:25
int height
Height in pixels (if video)
Definition kitformat.h:26
int bytes
Bytes per sample per channel (if audio)
Definition kitformat.h:22
int channels
Channels (if audio)
Definition kitformat.h:24
int samplerate
Sampling rate (if audio)
Definition kitformat.h:23