Page 1 of 1

RGB vs YUV420P

Posted: Mon Jul 14, 2003 2:12 pm
by gardo
I am just curious if it is more efficient to store the video information in RGB or YUV420P internally? Doesn't RGB take up more space 1.5 vs 2?

Ryan

Re: RGB vs YUV420P

Posted: Mon Jul 14, 2003 10:05 pm
by zoneminder
Hi Ryan,

It does take a bit more space you're right. However most of the time RGB is the format the images in so there's no conversion to be done. Plus it's just easier working with RGB as all the colour elements of the image are next to each other and don't have to be address in different layers.

Generally I tend to prefer faster processing to less memory, especially when it's not a huge overhead. Memory is fairly cheap these days whereas getting a faster CPU is a bit more of an enterprise.

Cheers,

Phil,

Re: RGB vs YUV420P

Posted: Tue Jul 15, 2003 9:13 pm
by gardo
How about if my capture card defaults to YUV420P, is there a performance hit there?