Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

convert YUV422 to BGR format

pango
Beginner
765 Views
I know the "ippiYUV422ToRGB" can convert to yuv data to rgb,but the channel order is not compatible with the microsoft "DV Encoder",the first byte of MS DV encoder is Blue,and the last is Red,so I had to use the "ippiSwapChannels" to change the channel order,but the process time of the function is long.Soplease tell me isthere a wayto convertyuv to bgr format directly in IPP?Oranyone can givemesome code to do the same task use SSE/SSE2instruction?
0 Kudos
3 Replies
Intel_C_Intel
Employee
765 Views

Hi,

currently, in IPP we do not support YUV to BGR conversion. But if you found this functionality useful, please submit feature request through technical support channel.

Regards,
Vladimir

0 Kudos
Maciej_K_
Beginner
765 Views

I was looking for the function to convert YUV422 data do RGB32 ( display memory format ) some time ago. Finally I found that my display card support RGB565 format, and there is such conversion in IPP. I would like to see a better support for YUV422 format in IPP - this ismost often used format in video capture cards, but neither 4-channel nor 2-channel one.

If you want to encode your video the first step that encoder does is converting it back to YUV, so check if your encoder support such format first, maybe it accepts YUV420 ?

0 Kudos
support2
Beginner
765 Views

You can get asm optimized source code ( MMX, SSE, SSE2) from various sources at SourceForge.net. For example VirtualDubmay have what you need. I

SRSR

0 Kudos
Reply