mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
LibGfx/WebP: Move ImageKind to WebPSharedLossless.h
This commit is contained in:
parent
9dfb254c73
commit
b50702f490
Notes:
sideshowbarker
2024-07-17 06:39:26 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/b50702f490 Pull-request: https://github.com/SerenityOS/serenity/pull/24483 Reviewed-by: https://github.com/gmta ✅
@ -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
|
||||
|
@ -61,4 +61,9 @@ private:
|
||||
Array<CanonicalCode, 5> m_codes;
|
||||
};
|
||||
|
||||
enum class ImageKind {
|
||||
SpatiallyCoded,
|
||||
EntropyCoded,
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user