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

How to convert from packed to planar RGB using IPP?

levicki
Valued Contributor I
523 Views
I have a project which already uses IPP for other stuff, and now I wonder if IPP has functions to convert from packed RGB (or RGBA) to planar RGB (or RGBA)?

In other words:

src0 = RGB RGB RGB ...

dst0 = RRR ...
dst1 = GGG ...
dst2 = BBB ...
[dst3 = AAA ...]

Are there such functions or should I just write a loop?

0 Kudos
1 Solution
Chao_Y_Intel
Moderator
523 Views

Hello,
Can you can ippiCopy_ function? some functions like (ippiCopy_8u_C3P3R) may help.

Thanks,
Chao

View solution in original post

0 Kudos
2 Replies
Chao_Y_Intel
Moderator
524 Views

Hello,
Can you can ippiCopy_ function? some functions like (ippiCopy_8u_C3P3R) may help.

Thanks,
Chao

0 Kudos
levicki
Valued Contributor I
523 Views
Thanks for pointing me to that function.
0 Kudos
Reply