update SDL3 from 3.2.20 to 3.4.2
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (C) 1997-2025 Sam Lantinga <slouken@libsdl.org>
|
||||
Copyright (C) 1997-2026 Sam Lantinga <slouken@libsdl.org>
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
@@ -12,6 +12,9 @@
|
||||
|
||||
/* These functions are designed for testing correctness, not for speed */
|
||||
|
||||
#ifndef testyuv_cvt_h_
|
||||
#define testyuv_cvt_h_
|
||||
|
||||
typedef enum
|
||||
{
|
||||
YUV_CONVERSION_JPEG, /**< Full range JPEG */
|
||||
@@ -26,3 +29,5 @@ extern YUV_CONVERSION_MODE GetYUVConversionModeForResolution(int width, int heig
|
||||
extern SDL_Colorspace GetColorspaceForYUVConversionMode(YUV_CONVERSION_MODE mode);
|
||||
extern bool ConvertRGBtoYUV(Uint32 format, Uint8 *src, int pitch, Uint8 *out, int w, int h, YUV_CONVERSION_MODE mode, int monochrome, int luminance);
|
||||
extern int CalculateYUVPitch(Uint32 format, int width);
|
||||
|
||||
#endif /* testyuv_cvt_h_ */
|
||||
|
||||
Reference in New Issue
Block a user