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

YUV to RGB conversion broken for odd widths #445

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

YUV to RGB conversion broken for odd widths #445

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Labels
wontfix This will not be worked on

Comments

@SDLBugzilla
Copy link
Collaborator

SDLBugzilla commented Feb 10, 2021

This bug report was migrated from our old Bugzilla tracker.

Reported in version: HG 1.2
Reported for operating system, platform: Linux, x86

Comments on the original bug report:

On 2008-12-08 23:09:01 +0000, Daniel Verkamp wrote:

Example of this problem is ffplay from FFmpeg:

Input to ffplay is bitmap at http://samples.mplayerhq.hu/bmp-files/test32bf.bmp (width = 127); ffplay internally converts to YUV and displays it (incorrectly) as http://drv.nu/stuff/ffplay-test32bf.png

Looks like one of the channels is misaligned.

Other ffmpeg tools and mplayer -vf format=bgr32 -vo sdl can convert or display this file correctly, so it seems to be a problem with SDL_DisplayYUVOverlay.

The ffplay source is available in FFmpeg SVN as ffplay.c

See also relevant FFmpeg bug http://roundup.mplayerhq.hu/roundup/ffmpeg/issue731

Tested with Gentoo amd64 media-libs/libsdl-1.2.13

On 2009-09-13 16:33:07 +0000, Ryan C. Gordon wrote:

Tagging this bug with "target-1.2.14" so we can try to resolve it for SDL 1.2.14.

Please note that we may choose to resolve it as WONTFIX. This tag is largely so we have a comprehensive wishlist of bugs to examine for 1.2.14 (and so we can close bugs that we'll never fix, rather than have them live forever in Bugzilla).

--ryan.

On 2009-09-27 15:04:50 +0000, Sam Lantinga wrote:

SDL 1.2 YUV code only supports even width and height. You're welcome to submit a patch for SDL 1.3 however.

@SDLBugzilla SDLBugzilla added bug wontfix This will not be worked on labels Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant