-
Notifications
You must be signed in to change notification settings - Fork 130
ARW: Support new LJPEG compression on ILCE-7M4 and ILCE-7R5 #483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
b383e9e
ARW: Support new LJPEG compression on ILCE-7M4 and ILCE-7R5
da-phil 25585e2
Use Exif.SubImage1.0x7038 field for Sony lossless compression crop
da-phil 1972397
Boyscout: make sony exif tag naming consistent
da-phil 5f3fe8f
Do not apply crop from cameras.xml and set crop origin to 0,0
da-phil 005c044
Merge remote-tracking branch 'upstream/pr/482' into sony-ljpeg
LebedevRI 5a46d38
LJpegDecompressor::decodeN(): disable another assert that does not ho…
LebedevRI 0cc28bb
ArwDecoder::DecodeLJpeg(): add missing `#pragma omp parallel`
LebedevRI a25a4d9
ArwDecoder::DecodeLJpeg(): explicitly spell out OMP data sharing attr…
LebedevRI f97d5e0
ArwDecoder::DecodeLJpeg(): workaround false-positive UBSan w/ OMP
LebedevRI 859aabb
Apply clang-format
LebedevRI bf59451
ArwDecoder::DecodeLJpeg(): width is a multiple of 2
LebedevRI 90cced3
LJpegDecompressor::decodeN(): for now `interleaveRows` only happens f…
LebedevRI aca0455
LJpegDecompressor::decodeN(): merge stuff into `iPoint2D MCUSize`
LebedevRI 5b3af77
LJpegDecompressor::decodeN(): refactor predictor reinitialization
LebedevRI 6d61945
ArwDecoder::DecodeLJpeg(): pacify clang-tidy's readability-simplify-b…
LebedevRI f5cabb3
LJpegDecompressor::decodeN(): explicitly don't bother with 'weird hei…
LebedevRI 0d9c4b4
LJpegDecompressor::decodeN(): drop commented-out old pred reinit code
LebedevRI 2546a26
LJpegDecompressor::decodeN(): `s/row/frameRow/`
LebedevRI 9ae3fba
LJpegDecompressor::decodeN(): `s/col/frameCol/`
LebedevRI d0dbdcf
LJpegDecompressor::decodeN(): `s/fullBlocks/fullCols/`
LebedevRI 8f62a1b
LJpegDecompressor::decodeN(): refactor full block processing
LebedevRI 4669562
LJpegDecompressor::decodeN(): drop dubious multiplication by `N_COMP`
LebedevRI acd9847
LJpegDecompressor::decodeN(): `s/\bi\b/c/`
LebedevRI 819e454
LJpegDecompressor::decodeN(): extract `imgRow`/`imgCol` into variables
LebedevRI e5ec221
LJpegDecompressor::decodeN(): fix handling of partially-demanded MCU's
LebedevRI 93e346e
LJpegDecompressor: don't template on 'trailing pixels'
LebedevRI b3cafe3
LJpegDecompressor: hoist `MCUSize` into the class itself
LebedevRI 9057b2a
LJpegDecompressor: template `decodeN()` based on the `MCUSize`
LebedevRI 195fe61
LJpegDecompressor::decodeN(): we should produce at least one full MCU.
LebedevRI ead9e79
LJpegDecompressor: validate MCU shapes
LebedevRI 3b75f5c
LJpegDecompressor: drop unused `using`
LebedevRI 608e04d
LJpegDecompressor: only store 'partial col' as a flag
LebedevRI 20495c9
LJpegDecompressor: use `MCUSize` instead of `interleaveFactor`
LebedevRI 1198548
LJpegDecompressor: we do not expect to support row-partial MCU's
LebedevRI c499fc8
LJpegDecompressor: fix misuse of `frame.cps` in place of `MCUSize.x`
LebedevRI 87290d5
LJpegDecompressor: do check that we will produce at least one full MCU
LebedevRI 192572b
LJpegDecompressor: don't take `interleaveRows_`, take `MCUSize`
LebedevRI 57ae4e7
LJpegDecompressor: don't take `cps`, `MCUSize` already implies it
LebedevRI 72bedcb
Sprinkle some `RAWSPEED_READONLY` to pacify clang's `__builtin_assume()`
LebedevRI f8fade1
Drop some redundant `.c_str()` in benchmarks
LebedevRI 0a8374f
LJpegDecompressorFuzzer: MCU support
LebedevRI 909d529
LJpegDecompressor: use PRId64
LebedevRI 836a697
LJpegDecompressor::decodeN(): `s/MCUSize/MCU/`
LebedevRI File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there still a plan to eliminate
interleaveRowsand keep generalizing this?The reason I ask is, I don't see how this new MCUSize scheme can support the Blackmagic case, which would need something like
iPoint2D(frame.cps / 2, frame.cps * 2)withframe.cps / 2having to be 0.5!?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LJpegDecodershould not takeinterleaveRows, so i guess this needs to be generalized further, yes.No idea. That is a future me problem.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might warrant a thought though, so you don't have to potentially tear down what you're building up now? Not that there is anything wrong with that if that process works for you ;)