aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-11-02relocate source files to desired foldersRam Mohan
library files are moved to lib/ folder and sample application is moved to examples/ folder
2023-11-02move test data from third_party to testsRam Mohan
2023-11-02fix build issue when unit tests are enabledRam Mohan
2023-10-26Merge pull request #30 from ittiam-systems/updatesDichenZhang1
update sample app to cover encode api-2 and api-3
2023-10-26Merge pull request #31 from ittiam-systems/cmakeDichenZhang1
Apply current project compilation flags to external projects
2023-10-26Merge pull request #33 from ittiam-systems/cifuzzDichenZhang1
Create cifuzz.yml
2023-10-26Create cifuzz.ymlharish.mahendrakar@ittiam.com
This will build the libultrahdr fuzzers in oss-fuzz on each pull request to ensure oss-fuzz build is successful.
2023-10-26Merge pull request #32 from ittiam-systems/cmakefixDichenZhang1
CMakeLists.txt: Add missing add_dependencies
2023-10-26CMakeLists.txt: Add missing add_dependenciesHarish Mahendrakar
add_dependencies() calls are needed to ensure that cmake builds work as expected when running multiple compile jobs in parallel.
2023-10-25Apply current project compilation flags to external projectsRam Mohan
cflags, cxxflags, sanitize flags as of now are applied only to current project. Extend these to its dependencies as well ensure clean target, cleans dependencies as well
2023-10-25update sample app to cover encode api-2 and api-3Aayush Soni
2023-10-24Merge pull request #28 from google/DichenZhang1-patch-2DichenZhang1
Update README.md
2023-10-24Update README.mdDichenZhang1
2023-10-24Merge pull request #27 from ittiam-systems/updatesDichenZhang1
improve app usage options
2023-10-24improve app usage optionsRam Mohan
2023-10-23Merge pull request #25 from ittiam-systems/asanDichenZhang1
rework jpeg encoder and decoder helper utils
2023-10-23Merge pull request #26 from ittiam-systems/updatesDichenZhang1
Cleanup CMakeLists.txt and Update README.md
2023-10-24rework jpeg encoder and decoder helper utilsRam Mohan
If luma stride is aligned and chroma stride is not aligned to mcu row, jpeg_write_raw_data() is using unaligned chroma pointers during processing. This should cause oob reads. This is fixed. Allocate memory for alignment regions only when necessary. After decompress, dont copy decoded rows that are outside image boundaries.
2023-10-24Cleanup CMakeLists.txt and Update README.mdRam Mohan
2023-10-21Merge pull request #24 from ittiam-systems/asanDichenZhang1
Allocate width aligned to MCU size for boundary rows
2023-10-21Allocate width aligned to MCU size for boundary rowsRam Mohan
jpeg_write_raw_data() expects input size to be aligned to MCU. If the image dimensions are not aligned then padding is done for boundary rows. The padded rows allocation is not proper and this is corrected. Bug: oss-fuzz-63314 Test: ultrahdr_enc_fuzzer
2023-10-18Merge pull request #22 from ittiam-systems/fuzzDichenZhang1
Fixing fuzz issues
2023-10-19use signed datatype during computes to avoid ubsan failsRam Mohan
Bug: oss-fuzz Test: ./ultrahdr_enc_fuzzer
2023-10-18Limit fuzzer runs to supported max width and max heightRam Mohan
Bug: oss-fuzz-63308 Test: ./ultrahdr_dec_fuzzer
2023-10-18Memory leaks due to longjmp over std::unique_ptr dtorsRam Mohan
The jpeg decoder helper class is using long jumps if errors are seen during decode. This is by passing the calls to destructors of std::unique_ptr causing a memory leak. Move these allocs to parent class there by ensuring the dtor calls Bug: oss-fuzz-63337 Test: ./ultrahdr_dec_fuzzer
2023-10-18Address memory leak in ultrahdr unit testsRam Mohan
GenerateGainMap allocates memory to store gain map data. It is the caller's responsibility to release the memory after usage. The unit test is not currently releasing this memory causing a leak Test: ./ultrahdr_unit_test
2023-10-13Merge pull request #19 from ittiam-systems/profileDichenZhang1
add profiling code for encode and decode api calls
2023-10-13add profiling code for encode and decode api callsRam Mohan
2023-10-12Merge pull request #18 from ittiam-systems/androidbpDichenZhang1
Remove unused Android.bp and update names of licenses
2023-10-12Merge pull request #16 from ittiam-systems/buildfixDichenZhang1
Fix compilation issue while building with logs enabled
2023-10-11Remove unused Android.bp and update names of licensesHarish Mahendrakar
- Android.bp in third_party image_io and modp_b64 are deleted as these will not be used from these folders. - Updated license entries in Android.bp to refer to the LICENSE file in libultrahdr folder
2023-10-11Removed redundant ; in log definitionsHarish Mahendrakar
2023-10-11Fix compilation issue while building with logs enabledRam Mohan
2023-10-11Merge pull request #17 from ittiam-systems/appdecDichenZhang1
add support for decode only mode in sample app
2023-10-12add support for decode only mode in sample appRam Mohan
Usage: ultrahdr_app -m 1 -j input.jpg
2023-10-04Merge pull request #15 from ittiam-systems/32bitDichenZhang1
cmake: Fix 32-bit cross compilation
2023-10-04cmake: Fix 32-bit cross compilationHarish Mahendrakar
Current CMakeLists.txt prevented cross compiling from x86_64 machine for an x86 target.
2023-10-04Merge pull request #14 from ittiam-systems/ossfuzzDichenZhang1
Add ossfuzz.sh to be used with oss-fuzz
2023-10-04Add ossfuzz.sh to be used with oss-fuzzHarish Mahendrakar
2023-10-04Merge pull request #9 from google/DichenZhang1-patch-1DichenZhang1
Update jpeg_xmp_info.h
2023-10-04Merge pull request #12 from ittiam-systems/cmake-updatesDichenZhang1
cmake updates
2023-10-04Merge pull request #13 from ittiam-systems/log-updatesDichenZhang1
Use ALOG methods to print messages from jpeg and image_io
2023-10-03Use ALOG methods to print messages from jpeg and image_ioHarish Mahendrakar
- Override output_message method for jpeg decoder - Use SetMessageWriter() while calling Jpeg scanner from image_io This ensures that logs are written using ALOG routines and can be suppressed for fuzzer runs easily.
2023-10-03cmake updatesHarish Mahendrakar
- Build only jpeg-static - Add variables for libjpeg-turbo and gtest includes and libraries - add dependencies on libjpeg-turbo and gtest to ensure they are built first before building the app, unit test and fuzzers
2023-10-02Merge pull request #11 from ittiam-systems/cmake-pthreadDichenZhang1
cmake: Add pthread dependendency
2023-10-02cmake: Add pthread dependendencyHarish Mahendrakar
When using some older compilers, the missing pthread dependency results in build errors.
2023-10-02Merge pull request #10 from ittiam-systems/cmake-fuzzerDichenZhang1
cmake: Pass -DENABLE_FUZZERS=ON to enable building fuzzers
2023-10-02cmake: Pass -DENABLE_FUZZERS=ON to enable building fuzzersHarish Mahendrakar
Fuzzer build is now based on an argument passed to cmake. With this, macos builds can now be verified for each pull request.
2023-10-02Update jpeg_xmp_info.hDichenZhang1
2023-10-02Merge pull request #8 from ittiam-systems/actionsDichenZhang1
cmake.yml: Test cmake builds using gcc