-
Reference from JPEG Tutorial by MROS
-
C++ Implementation
-
Use optimizations as described below
- Segment.cpp - Define how each segment read jpg data
- Decoder.cpp - Decode compressed data using de-quantization, de-Zigzag, Inverse DCT, Upsampling
- Use .bmp as output format
mkdir -p cmake/build
cd cmake/build
cmake ../../
make
The generated binary will be in cmake/build directory
- Decode
main -i [input file name] (-o output file name)
or
main [input file name]
- Testing
- CPU: Intel Core i7-8750H CPU
- Operating System: Windows 10 64-bit
- Memory: 32GB
- Build
- GCC Version: 6.3.0
- CMake Version: 3.16.5
- handle RSTn in compressed data section