chickadee » sdl2 » yuv-conversion-mode-set!

get-yuv-conversion-modeprocedure
get-yuv-conversion-mode-rawprocedure
(set! (get-yuv-conversion-mode) mode)setter
yuv-conversion-mode-set! modesetter

See SDL_GetYUVConversionMode and SDL_SetYUVConversionMode.

  • get-yuv-conversion-mode returns a a YUV conversion mode symbol.
  • get-yuv-conversion-mode-raw returns an integer constant.
  • The setters accept either a YUV conversion mode symbol or equivalent integer constant.

Requires SDL 2.0.8 or higher, and sdl2 egg 0.4.0 or higher.