LibGfx/WebP: Move ImageKind to WebPSharedLossless.h

This commit is contained in:
Nico Weber 2024-05-29 18:24:41 -04:00 committed by Jelle Raaijmakers
parent 9dfb254c73
commit b50702f490
Notes: sideshowbarker 2024-07-17 06:39:26 +09:00
2 changed files with 5 additions and 5 deletions

View File

@ -179,11 +179,6 @@ static ErrorOr<PrefixCodeGroup> decode_webp_chunk_VP8L_prefix_code_group(u16 col
return group;
}
enum class ImageKind {
SpatiallyCoded,
EntropyCoded,
};
static ErrorOr<NonnullRefPtr<Bitmap>> decode_webp_chunk_VP8L_image(ImageKind image_kind, BitmapFormat format, IntSize const& size, LittleEndianInputBitStream& bit_stream)
{
// https://developers.google.com/speed/webp/docs/webp_lossless_bitstream_specification#623_decoding_entropy-coded_image_data

View File

@ -61,4 +61,9 @@ private:
Array<CanonicalCode, 5> m_codes;
};
enum class ImageKind {
SpatiallyCoded,
EntropyCoded,
};
}