Differences between YUV and RGB

Hello.
Sorry about this possible idiot ask, to gurus of grafics/SDL working, but I
tryed googling, and just get more confused.
What changes, really, from working with RGB to YUV?
I have used the libsmpeg, and is really fast.
But it has no updates, than im starting with libmpeg3.
libSmpeg works with SDL by itself, using YUV.
I started usng mpg3 by RGB, worked, but really slow.
Is real that YUV is faster then RGB?
Hava someone any article about it?

Thanks by all,

[and sorry by my parrot’s english]

Diego B. Contezini________________________________________________
Message sent using UebiMiau 2.7.2

Mpeg stores YUV data internally, so that any extraction
that converts to RGB has to do extra work, thus is slower.

It may also be that libSmpeg is just faster than libmpeg3.
If you need to work with the RGB data, you might try ffmpeg.
It’s very fast, but the API does change a lot.

JoshOn 8/26/05, Dwork wrote:

Hello.
Sorry about this possible idiot ask, to gurus of grafics/SDL working, but I
tryed googling, and just get more confused.
What changes, really, from working with RGB to YUV?
I have used the libsmpeg, and is really fast.
But it has no updates, than im starting with libmpeg3.
libSmpeg works with SDL by itself, using YUV.
I started usng mpg3 by RGB, worked, but really slow.
Is real that YUV is faster then RGB?
Hava someone any article about it?

SMPEG uses YUV overlays, and in this case YUV->RGB conversion is done by
video card. Apparently hardware conversion is much faster in comparison
with conversion on software level. So if you want better performance, it
you should use SDL API for YUV overlays.–
Sergey Ulanov

On Fri, 2005-08-26 at 08:43 +0000, Dwork wrote:

Hello.
Sorry about this possible idiot ask, to gurus of grafics/SDL working, but I
tryed googling, and just get more confused.
What changes, really, from working with RGB to YUV?
I have used the libsmpeg, and is really fast.
But it has no updates, than im starting with libmpeg3.
libSmpeg works with SDL by itself, using YUV.
I started usng mpg3 by RGB, worked, but really slow.
Is real that YUV is faster then RGB?
Hava someone any article about it?

Thanks by all,

[and sorry by my parrot’s english]

Diego B. Contezini


Message sent using UebiMiau 2.7.2


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl