Skip to content

HDR support on Windows (DirectX)#1

Closed
dvijayak wants to merge 28 commits intocdd-12from
hdr
Closed

HDR support on Windows (DirectX)#1
dvijayak wants to merge 28 commits intocdd-12from
hdr

Conversation

@dvijayak
Copy link

@dvijayak dvijayak commented Apr 19, 2022

Matoya windows can now render 10-bit HDR content on Windows + DirectX 11. Some new texture formats needed to be supported for this to work. Furthermore, a window can switch between rendering regular 8-bit SDR to HDR on-the-fly.

dvijayak added 17 commits March 23, 2022 11:28
…s and colorspaces on the fly. So far it's working for sRGB and scRGB. Now need to make it work for HDR10 and then polish the implementation.
…e that the color discoloration issue has gone. I need to study how they derive that matrix.
…ll yet to implement the platform-specific logic though.
…t RGB + ST2084 PQ) instead of FP16 scRGB linear. One less conversion step certainly increases color accuracy.
- Got rid of the ternary sausage in d3d11.c reload_textures. The code for texture format determination is now more readable.
- Failing to init HDR does NOT cause the d3d11 ctx to fail anymore. HDR is an optional feature.
@dvijayak dvijayak added the 1. Coding Feature has been described inside of the parsec branch, and you are coding on it. label Apr 19, 2022
dvijayak and others added 4 commits April 23, 2022 07:37
…4:4 video texture format (10 bits each for YUV, 2 bits for alpha, similar to the RGB10A2 structure).
…4:4 video texture format supporting 10-bit data, albeit in a 16-bit per planar pixel layout.
@dvijayak dvijayak added 2. Review requested You have coded your code, and can now be reviewed. and removed 1. Coding Feature has been described inside of the parsec branch, and you are coding on it. labels May 6, 2022
@dvijayak dvijayak requested a review from RonaldH May 6, 2022 14:31
Copy link

@RonaldH RonaldH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First pass.

@RonaldH RonaldH added 1. Coding Feature has been described inside of the parsec branch, and you are coding on it. and removed 2. Review requested You have coded your code, and can now be reviewed. labels May 9, 2022
dvijayak and others added 2 commits May 9, 2022 15:08
Co-authored-by: Ronald Huveneers <RonaldH@users.noreply.github.com>
dvijayak and others added 2 commits May 9, 2022 16:43
dvijayak added 2 commits May 13, 2022 08:14
…ge video. For now, HDR video will always be assumed to cover the full range.
… flag. For now, it only applies to HDR. Meaning SDR is always legal range for now.
@dvijayak dvijayak changed the base branch from cdd-12 to master June 16, 2022 12:53
@dvijayak dvijayak changed the base branch from master to cdd-12 June 16, 2022 12:55
@dvijayak dvijayak closed this Jun 16, 2022
@dvijayak dvijayak deleted the hdr branch June 17, 2022 22:43
kokroo added a commit to kokroo/libmatoya that referenced this pull request Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1. Coding Feature has been described inside of the parsec branch, and you are coding on it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants