Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds open source C++ API support by introducing several third-party libraries and supporting files to the codebase, specifically libtiff (TIFF image library) and boost json functionality.
Key changes:
- Added comprehensive libtiff implementation including multiple compression codecs (JPEG, JBIG, LERC, LogLuv)
- Added supporting utilities (hash set, error handling, flush operations, extension support)
- Added boost json library integration as header-only
Reviewed changes
Copilot reviewed 34 out of 735 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| cpp/3rd_party/libtiff/tif_luv.c | Implements LogLuv compression for high dynamic range images |
| cpp/3rd_party/libtiff/tif_lerc.c | Implements LERC compression codec |
| cpp/3rd_party/libtiff/tif_jpeg_12.c | Implements 12-bit JPEG support |
| cpp/3rd_party/libtiff/tif_jpeg.c | Implements JPEG compression/decompression |
| cpp/3rd_party/libtiff/tif_jbig.c | Implements JBIG compression |
| cpp/3rd_party/libtiff/tif_hash_set.h | Defines hash set data structure interface |
| cpp/3rd_party/libtiff/tif_hash_set.c | Implements hash set functionality |
| cpp/3rd_party/libtiff/tif_flush.c | Implements TIFF flush operations |
| cpp/3rd_party/libtiff/tif_extension.c | Implements tag extension support |
| cpp/3rd_party/libtiff/tif_error.c | Implements error handling |
| cpp/3rd_party/libtiff/tif_dumpmode.c | Implements null compression mode |
| cpp/3rd_party/libtiff/snprintf.c | Provides snprintf workaround for Visual Studio |
| cpp/3rd_party/libtiff/libport.h | Declares portability functions |
| cpp/3rd_party/json/src.cpp | Includes boost json as single compilation unit |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| if (sp->h_sampling == 0 || sp->v_sampling == 0) | ||
| { | ||
| TIFFErrorExtR(tif, module, | ||
| "Invalig horizontal/vertical sampling value"); |
There was a problem hiding this comment.
Corrected spelling of 'Invalig' to 'Invalid'.
| "Invalig horizontal/vertical sampling value"); | |
| "Invalid horizontal/vertical sampling value"); |
… into opensource-cpp-api
fef2809 to
46b527b
Compare
23cf8a1 to
1479675
Compare
c1e5b34 to
d6445f3
Compare
… into opensource-cpp-api
… into opensource-cpp-api
|

🚀 🚀 Pull Request
Open Source C++ API and introduce Deeplake Postgres extension
Impact
Description
This PR is the first part of open sourcing deeplake. It opens the API and the low level libraries used in deeplake.
Moving forward deeplake releases will include: