Skip to content

uhdr_decompress() #145

Answered by gregbenz
MajorMurphy asked this question in Q&A
May 21, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Must be an outdated name for uhdr_decode().

The decode API options and examples are listed in the app help:

decode api :

ultrahdr_app -m 1 -j cosmat_1920x1080_hdr.jpg 
ultrahdr_app -m 1 -j cosmat_1920x1080_hdr.jpg -o 3 -O 3
ultrahdr_app -m 1 -j cosmat_1920x1080_hdr.jpg -o 1 -O 5

decoder options :

-j    ultra hdr compressed input resource. 
-o    output transfer function, optional. [0:linear, 1:hlg (default), 2:pq, 3:srgb] 
-O    output color format, optional. [3:rgba8888, 4:rgbahalffloat, 5:rgba1010102 (default)] 
      It should be noted that not all combinations of output color format and output 
      transfer function are supported. 
      srgb output color transfer shall be paired w…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MajorMurphy
Comment options

@gregbenz
Comment options

Answer selected by MajorMurphy
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