diff --git a/Userland/Libraries/LibGfx/ImageFormats/WebPLoaderLossy.cpp b/Userland/Libraries/LibGfx/ImageFormats/WebPLoaderLossy.cpp index 499a546ecf..37b1b20665 100644 --- a/Userland/Libraries/LibGfx/ImageFormats/WebPLoaderLossy.cpp +++ b/Userland/Libraries/LibGfx/ImageFormats/WebPLoaderLossy.cpp @@ -121,16 +121,6 @@ ErrorOr read_signed_literal(BooleanDecoder& decoder, u8 n) #define B(prob) decoder.read_bool(prob) #define L_signed(n) read_signed_literal(decoder, n) -// https://datatracker.ietf.org/doc/html/rfc6386#section-9.2 "Color Space and Pixel Type (Key Frames Only)" -enum class ColorSpaceAndPixelType { - YUV = 0, - ReservedForFutureUse = 1, -}; -enum class ClampingSpecification { - DecoderMustClampTo0To255 = 0, - NoClampingNecessary = 1, -}; - // https://datatracker.ietf.org/doc/html/rfc6386#section-9.3 Segment-Based Adjustments" // https://datatracker.ietf.org/doc/html/rfc6386#section-19.2 "Frame Header" enum class SegmentFeatureMode { @@ -181,6 +171,16 @@ enum class FilterType { Simple = 1, }; +// https://datatracker.ietf.org/doc/html/rfc6386#section-9.2 "Color Space and Pixel Type (Key Frames Only)" +enum class ColorSpaceAndPixelType { + YUV = 0, + ReservedForFutureUse = 1, +}; +enum class ClampingSpecification { + DecoderMustClampTo0To255 = 0, + NoClampingNecessary = 1, +}; + // https://datatracker.ietf.org/doc/html/rfc6386#section-19.2 "Frame Header" struct FrameHeader { ColorSpaceAndPixelType color_space {};