# SDL_SetYUVConversionMode

Set the YUV conversion mode

## Header File

Defined in [SDL_surface.h](https://github.com/libsdl-org/SDL/blob/SDL2/include/SDL_surface.h)

## Syntax

```c
void SDL_SetYUVConversionMode(SDL_YUV_CONVERSION_MODE mode);
```

## Function Parameters

|                                                    |          |                          |
| -------------------------------------------------- | -------- | ------------------------ |
| [SDL_YUV_CONVERSION_MODE](SDL_YUV_CONVERSION_MODE) | **mode** | the YUV conversion mode. |

## Version

This function is available since SDL 2.0.8.

----
[CategoryAPI](CategoryAPI), [CategoryAPIFunction](CategoryAPIFunction), [CategorySurface](CategorySurface)

