from enum import IntEnum

from sdl2._sdl2 import lib


class PixelFormat(IntEnum):
    abgr1555 = lib.SDL_PIXELFORMAT_ABGR1555
    abgr4444 = lib.SDL_PIXELFORMAT_ABGR4444
    abgr8888 = lib.SDL_PIXELFORMAT_ABGR8888
    argb1555 = lib.SDL_PIXELFORMAT_ARGB1555
    argb2101010 = lib.SDL_PIXELFORMAT_ARGB2101010
    argb4444 = lib.SDL_PIXELFORMAT_ARGB4444
    argb8888 = lib.SDL_PIXELFORMAT_ARGB8888
    bgr24 = lib.SDL_PIXELFORMAT_BGR24
    bgr555 = lib.SDL_PIXELFORMAT_BGR555
    bgr565 = lib.SDL_PIXELFORMAT_BGR565
    bgr888 = lib.SDL_PIXELFORMAT_BGR888
    bgra4444 = lib.SDL_PIXELFORMAT_BGRA4444
    bgra5551 = lib.SDL_PIXELFORMAT_BGRA5551
    bgra8888 = lib.SDL_PIXELFORMAT_BGRA8888
    bgrx8888 = lib.SDL_PIXELFORMAT_BGRX8888
    index1lsb = lib.SDL_PIXELFORMAT_INDEX1LSB
    index1msb = lib.SDL_PIXELFORMAT_INDEX1MSB
    index4lsb = lib.SDL_PIXELFORMAT_INDEX4LSB
    index4msb = lib.SDL_PIXELFORMAT_INDEX4MSB
    index8 = lib.SDL_PIXELFORMAT_INDEX8
    iyuv = lib.SDL_PIXELFORMAT_IYUV
    rgb24 = lib.SDL_PIXELFORMAT_RGB24
    rgb332 = lib.SDL_PIXELFORMAT_RGB332
    rgb444 = lib.SDL_PIXELFORMAT_RGB444
    rgb555 = lib.SDL_PIXELFORMAT_RGB555
    rgb565 = lib.SDL_PIXELFORMAT_RGB565
    rgb888 = lib.SDL_PIXELFORMAT_RGB888
    rgba4444 = lib.SDL_PIXELFORMAT_RGBA4444
    rgba5551 = lib.SDL_PIXELFORMAT_RGBA5551
    rgba8888 = lib.SDL_PIXELFORMAT_RGBA8888
    rgbx8888 = lib.SDL_PIXELFORMAT_RGBX8888
    unknown = lib.SDL_PIXELFORMAT_UNKNOWN
    uyvy = lib.SDL_PIXELFORMAT_UYVY
    yuy2 = lib.SDL_PIXELFORMAT_YUY2
    yv12 = lib.SDL_PIXELFORMAT_YV12
    yvyu = lib.SDL_PIXELFORMAT_YVYU

