mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:37:35 +00:00
LibGfx: Rename JPGLoader
to JPEGLoader
The patch also contains modifications on several classes, functions or files that are related to the `JPGLoader`. Renaming include: - JPGLoader{.h, .cpp} - JPGImageDecoderPlugin - JPGLoadingContext - JPG_DEBUG - decode_jpg - FuzzJPGLoader.cpp - Few string literals or texts
This commit is contained in:
parent
ab298ca106
commit
856d0202f2
14 changed files with 118 additions and 118 deletions
|
@ -11,7 +11,7 @@
|
|||
#include <LibGfx/GIFLoader.h>
|
||||
#include <LibGfx/ICOLoader.h>
|
||||
#include <LibGfx/ImageDecoder.h>
|
||||
#include <LibGfx/JPGLoader.h>
|
||||
#include <LibGfx/JPEGLoader.h>
|
||||
#include <LibGfx/PBMLoader.h>
|
||||
#include <LibGfx/PGMLoader.h>
|
||||
#include <LibGfx/PNGLoader.h>
|
||||
|
@ -88,8 +88,8 @@ TEST_CASE(test_bmp_embedded_in_ico)
|
|||
TEST_CASE(test_jpg)
|
||||
{
|
||||
auto file = MUST(Core::MappedFile::map(TEST_INPUT("rgb24.jpg"sv)));
|
||||
EXPECT(MUST(Gfx::JPGImageDecoderPlugin::sniff(file->bytes())));
|
||||
auto plugin_decoder = MUST(Gfx::JPGImageDecoderPlugin::create(file->bytes()));
|
||||
EXPECT(MUST(Gfx::JPEGImageDecoderPlugin::sniff(file->bytes())));
|
||||
auto plugin_decoder = MUST(Gfx::JPEGImageDecoderPlugin::create(file->bytes()));
|
||||
EXPECT(plugin_decoder->initialize());
|
||||
|
||||
EXPECT(plugin_decoder->frame_count());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue