Skip to content
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

Add interface to set BT.709 as YUV to RGB conversion #2860

Closed
SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Closed

Add interface to set BT.709 as YUV to RGB conversion #2860

SDLBugzilla opened this issue Feb 11, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 2.0.8
Reported for operating system, platform: Windows (All), x86_64

Comments on the original bug report:

On 2018-04-03 13:48:44 +0000, hongruichen wrote:

Thera are two YUV to RGB conversions:
1.BT.601 which is use for SDTV
2.BT.709 which is use for HDTV (720p or 1080p etc.)

Can we add some switch to change the conversion in shader?

https://en.wikipedia.org/wiki/YUV#Full_swing_for_BT.601
http://www.equasys.de/colorconversion.html

On 2018-04-09 18:30:34 +0000, Sam Lantinga wrote:

You mean something like SDL_SetYUVConversionMode()? :)
https://hg.libsdl.org/SDL/file/default/include/SDL_surface.h#l526

On 2018-04-10 02:46:45 +0000, hongruichen wrote:

Yes, and which release wil include this change?

On 2018-04-10 14:26:02 +0000, Sam Lantinga wrote:

2.0.8 already has this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant