XML Feeds

.

[jitter] cc.uyvy2rgba.jxs and optimization

Joshua Kit Clayton jkc at musork.com
Fri Nov 23 10:40:56 MST 2007


On Nov 23, 2007, at 1:31 AM, John Dekron wrote:

> I don't know about the funny colors you see, but on the fps side, i  
> understand that jit.qt.movie is doing the conversion from argb to  
> uyvy internally.

FWIW, QT only has to convert from argb to uyvy if the format is  
natively an argb format, but John, maybe you had these reversed  
above, since it sounds like Tyler is getting better framerates with  
UYVY, as should be expected.

If these objects needs to do internal rescaling of the video (i.e. if  
the movie/camera dimensions do not match the requested dimensions),   
there is scaling of the UYVY data on the CPU which is both expensive,  
and can produce chroma artifacts, which is perhaps what you are  
experiencing, Tyler. I would suggest also using @adapt 1 in  
jit.qt.movie *and* jit.dx/qt.grab, and using the texture's HW  
rescaling (which also happens in rgba, after the uyvy to argb  
conversion).

-Joshua




More information about the jitter mailing list