jpg loader: support static jpeg loader using richgel999
authorMichal Maciola <m.maciola@samsung.com>
Fri, 22 Oct 2021 15:01:14 +0000 (17:01 +0200)
committerJunsuChoi <jsuya.choi@samsung.com>
Tue, 26 Oct 2021 08:32:20 +0000 (17:32 +0900)
commitcb8583a76b8e08a0454e46833bd5872c6896bb43
tree409eb09288ac5efde6cda5fe4b9aca44c6056138
parent768a3dd930a9a89c0bf72574b62c1be812015a18
jpg loader: support static jpeg loader using richgel999

Adds an alternative static jpg loader.

The jpg loader copied the jpeg decoding implementation from this open-source
repo: https://github.com/richgel999/jpeg-compressor
That opensource has the public-domain license, it doesn't have any restriction
of the copy.

note: jpgd.cpp is modified version (changed decompress_jpeg_image_from_stream)
for returning BGRA
src/loaders/jpg/jpgd.cpp [new file with mode: 0644]
src/loaders/jpg/jpgd.h [new file with mode: 0644]
src/loaders/jpg/meson.build
src/loaders/jpg/tvgJpgLoader.cpp
src/loaders/jpg/tvgJpgLoader.h