Compare commits
No commits in common. "bae640a11600559f2dc54f8b7dbef50c3e49c6d5" and "b07fba0c9c0af509dd4fd05846c22b07730751aa" have entirely different histories.
bae640a116
...
b07fba0c9c
7
fiv-io.c
7
fiv-io.c
@ -1614,16 +1614,11 @@ load_libjpeg_enhanced(
|
|||||||
{
|
{
|
||||||
// Go for the maximum quality setting.
|
// Go for the maximum quality setting.
|
||||||
jpegqs_control_t opts = {
|
jpegqs_control_t opts = {
|
||||||
.flags = JPEGQS_DIAGONALS | JPEGQS_JOINT_YUV,
|
.flags = JPEGQS_DIAGONALS | JPEGQS_JOINT_YUV | JPEGQS_UPSAMPLE_UV,
|
||||||
.threads = g_get_num_processors(),
|
.threads = g_get_num_processors(),
|
||||||
.niter = 3,
|
.niter = 3,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Waiting for https://github.com/ilyakurdyukov/jpeg-quantsmooth/issues/28
|
|
||||||
#if LIBJPEG_TURBO_VERSION_NUMBER < 2001090
|
|
||||||
opts.flags |= JPEGQS_UPSAMPLE_UV;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
(void) jpegqs_start_decompress(cinfo, &opts);
|
(void) jpegqs_start_decompress(cinfo, &opts);
|
||||||
while (cinfo->output_scanline < cinfo->output_height)
|
while (cinfo->output_scanline < cinfo->output_height)
|
||||||
(void) jpeg_read_scanlines(cinfo, lines + cinfo->output_scanline,
|
(void) jpeg_read_scanlines(cinfo, lines + cinfo->output_scanline,
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[wrap-file]
|
[wrap-file]
|
||||||
directory = jpeg-quantsmooth-1.20230818
|
directory = jpeg-quantsmooth-1.20210408
|
||||||
source_url = https://github.com/ilyakurdyukov/jpeg-quantsmooth/archive/refs/tags/1.20230818.tar.gz
|
source_url = https://github.com/ilyakurdyukov/jpeg-quantsmooth/archive/refs/tags/1.20210408.tar.gz
|
||||||
source_filename = jpeg-quantsmooth-1.20230818.tar.gz
|
source_filename = jpeg-quantsmooth-1.20210408.tar.gz
|
||||||
source_hash = ff9a62e8560851648c60d84b3d97ebd9769f01ce6b995779e071d19a759eca06
|
source_hash = 5937ca26db33888cab8638c1a8dc7a367a953bd0857ceb1290d5abc6febf3116
|
||||||
patch_directory = libjpegqs
|
patch_directory = libjpegqs
|
||||||
|
|
||||||
[provide]
|
[provide]
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# vim: noet ts=4 sts=4 sw=4:
|
# vim: noet ts=4 sts=4 sw=4:
|
||||||
project('jpeg-qs', 'c')
|
project('jpeg-qs', 'c')
|
||||||
add_project_arguments('-DWITH_LOG', language : 'c')
|
add_project_arguments(meson.get_compiler('c')
|
||||||
|
.get_supported_arguments('-Wno-misleading-indentation'),
|
||||||
|
'-DWITH_LOG', language : 'c')
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
dependency('libjpeg'),
|
dependency('libjpeg'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user