Scroll to navigation

SDL_GetNumVideoCaptureFrameSizes(3) SDL3 FUNCTIONS SDL_GetNumVideoCaptureFrameSizes(3)

NAME

SDL_GetNumVideoCaptureFrameSizes - Number of different framesizes available for the device and pixel format.

SYNOPSIS

#include "SDL3/SDL.h"
int SDL_GetNumVideoCaptureFrameSizes(SDL_VideoCaptureDevice *device, Uint32 format);

FUNCTION PARAMETERS

opened video capture device
frame pixel format ( SDL_PixelFormatEnum )

RETURN VALUE

Returns number of framesizes or a negative error code on failure; call

SDL_GetError () for more information.

AVAILABILITY

This function is available since SDL 3.0.0.

SEE ALSO

SDL_GetVideoCaptureFrameSize(3), SDL_SetVideoCaptureSpec(3)

SDL 3.0.0 SDL