YUV problems with 1.1.6 - patch fixes things

--------------087FB8EAADB4D78C3E6389FC
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Andreas Schiffler wrote:

Could it be that YUV is broken for packed formats in 1.1.6? Any ideas
or working sample code by chance?

Great, the patch from Eugene works.

I guess it should go into the CVS tree ASAP. :slight_smile:

Now, how would I enable/use the MMX conversion routines or any hardware
scaling that might be available?

Cheers
Andreas–
| Andreas Schiffler aschiffler at home.com |
| Senior Systems Engineer - Deskplayer Inc., Buffalo |
| 4707 Eastwood Cres., Niagara Falls, Ont L2E 1B4, Canada |
| +1-905-371-3652 (private) - +1-905-371-8834 (work/fax) |

--------------087FB8EAADB4D78C3E6389FC
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public “-//w3c//dtd html 4.0 transitional//en”>

Andreas Schiffler wrote:
 
Could it be that YUV is broken for packed formats in 1.1.6?  Any ideas or working sample code by chance?
Great, the patch from Eugene works.

I guess it should go into the CVS tree ASAP. :-)

Now, how would I enable/use the MMX conversion routines or any hardware scaling that might be available?

Cheers
Andreas

-- 
|  Andreas Schiffler                    aschiffler at home.com  |
|  Senior Systems Engineer    -    Deskplayer Inc., Buffalo  |
|  4707 Eastwood Cres., Niagara Falls, Ont  L2E 1B4, Canada  |
|  +1-905-371-3652 (private)  -  +1-905-371-8834 (work/fax)  |
 

--------------087FB8EAADB4D78C3E6389FC–

Hello Andreas,

Friday, November 24, 2000, 7:36:02 AM, you wrote:

AS> --------------087FB8EAADB4D78C3E6389FC
AS> Content-Type: text/plain; charset=us-ascii
AS> Content-Transfer-Encoding: 7bit

AS> Andreas Schiffler wrote:

Could it be that YUV is broken for packed formats in 1.1.6? Any ideas
or working sample code by chance?

AS> Great, the patch from Eugene works.

AS> I guess it should go into the CVS tree ASAP. :slight_smile:

Not before Sam Lantinga returns from Thankgsiving holidays. :slight_smile:

AS> Now, how would I enable/use the MMX conversion routines or any hardware
AS> scaling that might be available?

AFAIK MMX conversion routines are only available for planar formats,
they are enabled automatically.
If SDL is built with XFree86 4.0 or newer, it will automatically detect
and use XVideo hardware acceleration for YUV video playback. XFree86 versions earlier than 4.0.2
have a bug which requires you to set the environment variable SDL_VIDEO_X11_NODIRECTCOLOR to “1” in
order to get XVideo acceleration. Since this disables SDL gamma correction, it is recommended that
you not do this in general. ( That’s from SDL FAQ ).–
Best regards,
Eugene mailto:divx at euro.ru