28#ifndef SDL_video_capture_h_
29#define SDL_video_capture_h_
57#define SDL_VIDEO_CAPTURE_ALLOW_ANY_CHANGE 1
159 int allowed_changes);
180 int allowed_changes);
int SDL_GetVideoCaptureFrameSize(SDL_VideoCaptureDevice *device, Uint32 format, int index, int *width, int *height)
struct SDL_VideoCaptureDevice SDL_VideoCaptureDevice
Uint32 SDL_VideoCaptureDeviceID
SDL_VideoCaptureDeviceID * SDL_GetVideoCaptureDevices(int *count)
SDL_VideoCaptureDevice * SDL_OpenVideoCapture(SDL_VideoCaptureDeviceID instance_id)
const char * SDL_GetVideoCaptureDeviceName(SDL_VideoCaptureDeviceID instance_id)
SDL_VideoCaptureStatus SDL_GetVideoCaptureStatus(SDL_VideoCaptureDevice *device)
int SDL_AcquireVideoCaptureFrame(SDL_VideoCaptureDevice *device, SDL_VideoCaptureFrame *frame)
int SDL_ReleaseVideoCaptureFrame(SDL_VideoCaptureDevice *device, SDL_VideoCaptureFrame *frame)
@ SDL_VIDEO_CAPTURE_STOPPED
@ SDL_VIDEO_CAPTURE_PLAYING
int SDL_GetVideoCaptureFormat(SDL_VideoCaptureDevice *device, int index, Uint32 *format)
int SDL_SetVideoCaptureSpec(SDL_VideoCaptureDevice *device, const SDL_VideoCaptureSpec *desired, SDL_VideoCaptureSpec *obtained, int allowed_changes)
SDL_VideoCaptureDevice * SDL_OpenVideoCaptureWithSpec(SDL_VideoCaptureDeviceID instance_id, const SDL_VideoCaptureSpec *desired, SDL_VideoCaptureSpec *obtained, int allowed_changes)
void SDL_CloseVideoCapture(SDL_VideoCaptureDevice *device)
int SDL_StopVideoCapture(SDL_VideoCaptureDevice *device)
int SDL_GetNumVideoCaptureFrameSizes(SDL_VideoCaptureDevice *device, Uint32 format)
int SDL_StartVideoCapture(SDL_VideoCaptureDevice *device)
int SDL_GetVideoCaptureSpec(SDL_VideoCaptureDevice *device, SDL_VideoCaptureSpec *spec)
int SDL_GetNumVideoCaptureFormats(SDL_VideoCaptureDevice *device)