-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #154 from aous72/Adding_NLT
Adding support for NLT marker segment of type 3. The code is not very complete, but it is in a useful state for publishing. The code also fixes an important bug in the block decoder in commit 9f8011c This PR adds partial support for .pfm files, as explained next. Lossy compression is not supported -- it is possible to add support at some future point. Reversible coding of .pfm files is supported, where the NLT marker is automatically inserted. However, the current implementation supports only 28-bit for encoding 27-bit for decoding. Therefore floating point values stored in a .pfm file, which are 32-bit, need to be truncated. Using the '-bit_depth' option, ojph_compress can perform this truncation. 'ojph_compress' should work correctly with codestreams generated with ojph_compress, converting truncated values back to normal floating point values.
- Loading branch information
Showing
25 changed files
with
1,225 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.