camera: Renamed "video_capture" files to "camera" and moved to own subdir.

This commit is contained in:
Ryan C. Gordon 2023-11-27 19:27:58 -05:00
parent 4d000ae3bd
commit f49ce4a15d
12 changed files with 16 additions and 15 deletions

View file

@ -35,6 +35,7 @@
#include <SDL3/SDL_audio.h>
#include <SDL3/SDL_bits.h>
#include <SDL3/SDL_blendmode.h>
#include <SDL3/SDL_camera.h>
#include <SDL3/SDL_clipboard.h>
#include <SDL3/SDL_cpuinfo.h>
#include <SDL3/SDL_endian.h>
@ -76,7 +77,6 @@
#include <SDL3/SDL_touch.h>
#include <SDL3/SDL_version.h>
#include <SDL3/SDL_video.h>
#include "SDL3/SDL_video_capture.h"
#include <SDL3/SDL_oldnames.h>
#endif /* SDL_h_ */

View file

@ -20,13 +20,13 @@
*/
/**
* \file SDL_video_capture.h
* \file SDL_camera.h
*
* Video Capture for the SDL library.
*/
#ifndef SDL_video_capture_h_
#define SDL_video_capture_h_
#ifndef SDL_camera_h_
#define SDL_camera_h_
#include "SDL3/SDL_video.h"
@ -356,8 +356,8 @@ extern DECLSPEC int SDLCALL SDL_ReleaseVideoCaptureFrame(SDL_VideoCaptureDevice
extern DECLSPEC int SDLCALL SDL_StopVideoCapture(SDL_VideoCaptureDevice *device);
/**
* Use this function to shut down video_capture processing and close the
* video_capture device.
* Use this function to shut down camera processing and close the
* camera device.
*
* \param device opened video capture device
*
@ -374,4 +374,4 @@ extern DECLSPEC void SDLCALL SDL_CloseVideoCapture(SDL_VideoCaptureDevice *devic
#endif
#include <SDL3/SDL_close_code.h>
#endif /* SDL_video_capture_h_ */
#endif /* SDL_camera_h_ */