Skip to content

Validating sources as containing a gain map? #137

Closed Answered by ram-mohan
gregbenz asked this question in Q&A
Discussion options

You must be logged in to vote

uhdr_dec_probe(), checks if there is a valid primary image, gainmap image and valid hdr metadata. If it returns success, then we can assume its a valid uhdr image. Primary image / gainmap image being corrupt (headers are ok, but entropy coded residue data is corrupted) is realized only during actual decode.

uhdr_dec_probe() return status should be a good starting filtering check.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@ram-mohan
Comment options

@ram-mohan
Comment options

@gregbenz
Comment options

@ram-mohan
Comment options

Answer selected by gregbenz
@gregbenz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants