Constant SDL_CHROMA_LOCATION_CENTER

pub const SDL_CHROMA_LOCATION_CENTER: SDL_ChromaLocation;
Available on crate feature dep_sdl3 only.
Expand description

In JPEG/JFIF, H.261, and MPEG-1, Cb and Cr are taken at the center of the 2x2 square. In other words, they are offset one-half pixel to the right and one-half pixel down compared to the top-left pixel.