Comments (7)
There is no typo, the last field appeared in version 2.0.90, you can check it in this source archive.
from jpeg-quantsmooth.
diff --git a/quantsmooth.h b/quantsmooth.h
index 8411b6a..541bd0c 100644
--- a/quantsmooth.h
+++ b/quantsmooth.h
@@ -46,10 +46,16 @@ struct jpeg_decomp_master {
void (*finish_output_pass) (j_decompress_ptr);
boolean is_dummy_pass;
#ifdef LIBJPEG_TURBO_VERSION
+#if LIBJPEG_TURBO_VERSION_NUMBER >= 2001090
+ boolean lossless;
+#endif
JDIMENSION first_iMCU_col, last_iMCU_col;
JDIMENSION first_MCU_col[MAX_COMPONENTS];
JDIMENSION last_MCU_col[MAX_COMPONENTS];
boolean jinit_upsampler_no_alloc;
+#if LIBJPEG_TURBO_VERSION_NUMBER >= 2000090
+ JDIMENSION last_good_iMCU_row;
+#endif
#endif
};
#endif
The trailing field is there since 42825b68d570fb07fe820ac62ad91017e61e9a25, the boolean is part of the lossless libjpeg megamerge.
from jpeg-quantsmooth.
JPEGQS_UPSAMPLE_UV decides to change 4:2:0 to 4:4:4, apparently the libjpeg-turbo API has changed.
from jpeg-quantsmooth.
The trailing field is there since 42825b68d570fb07fe820ac62ad91017e61e9a25 (2.0.4).
How is this hash related to the version?
I checked the source archives, the last_good_iMCU_row field appeared in libjpeg-turbo-2.0.90, but it is not yet in libjpeg-turbo-2.0.6.
from jpeg-quantsmooth.
It seems I got lost in the merge octopus, the 2.0.4 tag just appeared before the hash in linear git log. You're right in that it doesn't appear in the 2.0 series at all.
from jpeg-quantsmooth.
I committed the fix.
from jpeg-quantsmooth.
You have a minor typo there, 2000090 (2.0.90) instead of 2001090 (2.1.90).
from jpeg-quantsmooth.
Related Issues (20)
- Alternative links? HOT 5
- Control parameter? HOT 32
- The name of the utility. HOT 2
- MP3 DCT quant smooth? HOT 8
- Port for libiio? HOT 4
- graphical interface HOT 7
- libjpeg8-dev? HOT 5
- Current Windows builds don't seem to output any images (wrong CPU features detection) HOT 9
- Frames from video exported to lossless PNG HOT 4
- Arithmetic coded JPG HOT 9
- Irfanview PlugIn Optimizations HOT 6
- Experiment ? HOT 25
- macOS Support? HOT 29
- libminiomp? HOT 22
- Strange color issue happen on -q 5~6(--quality) HOT 6
- New issue about FPB HOT 1
- force `DCT coefficient out of range`? HOT 5
- division by zero in quantsmooth_block() HOT 6
- New Nodejs package? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jpeg-quantsmooth.