[GEM-dev] Re: [GEM-cvs] Gem/src/Base GemPixConvertAltivec.cpp, NONE, 1.1 GemPixConvert.h, NONE, 1.1 GemPixConvertSSE2.cpp, NONE, 1.1 GemPixUtil.cpp, 1.48, 1.49 GemPixUtil.h, 1.46, 1.47

james tittle tigital at mac.com
Wed Mar 22 20:22:30 CET 2006


On Mar 22, 2006, at 7:59 AM, IOhannes m zmölnig wrote:
> Modified Files:
> 	GemPixUtil.cpp GemPixUtil.h
> Added Files:
> 	GemPixConvertAltivec.cpp GemPixConvert.h GemPixConvertSSE2.cpp
> Log Message:
> added SSE2-optimized RGBA2YUV conversion;
> since GemPixUtil.cpp has grownso huge, i have outsourced the  
> optimized color conversion routines into separate files  
> GemPixConvertAltivec.cpp, GemPixConvertSSE2.cpp; obviously this has  
> only been tested on linux and mightwork (or not) on osx

...YAY!!!  Thanks for taking this on, GemPixUtil was becoming  
incredibly unwieldy...also very exciting to see some SSE2 coming  
onboard (less for me to do when I get a macbook!)...

...I've got it compiling here after re-arranging some "code in  
progress" on my end, but I'm also going ahead moving the  
YUV422_to_YV12_altivec() from [pix_2pdp] into  
GemPixConvertAltivec.cpp...this requires a bit of a rewrite of the  
function interfaces, no prob, but it does bring up a question:

How should we now require header inclusion to use this?  Should we  
require GemPixConvert.h to be added, or should it just be  
automatically included via GemPixUtil.h?  I ask this because  
pix_2pdp.h includes GemPixObj.h, which includes GemPixUtil.h, but  
that's currently not including the new conversion files...

jamie



More information about the GEM-dev mailing list