BTW, I think you call an optimized RGB->YUV function via QuickTime.
(Or even more optimized via OpenGL, if you write a pixel shader.)
You can also call vImageMatrixMultiply_<fmt>.
In any case, the answer to your question is that _mm_mulhrs_epi16 +
_mm_adds_epi16 is *almost* the same thing as vec_mradds. The double
saturation will cause off by one errors for some rare cases near the
limits of saturation.
Ian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
PerfOptimization-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden