Skip to content

Transformation support for existing gain maps: crop, resize, compress #254

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

You must be logged in to vote

In ultrahdr_api.h there are few editor functions. uhdr_add_effect_mirrror, uhdr_add_effect_rotate, uhdr_add_effect_crop and uhdr_add_effect_resize. On the encoding side, if these functions are configured, these effects are first applied on hdr intent and sdr intent and then encoding is done. On the decoding side, if these functions are configured, then these effects are applied on decoded output and decoded gainmap image. uhdr_get_decoded_image(), uhdr_get_gain_map_image() can be used to get these results.

The library as of now does not handle applying these effects on a ultrahdr image and give out a recompressed ultrahdr image with effects applied.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by gregbenz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants