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

ippiRGB565ToRGB_16u8u_C3R() exists, what about ippiRGB555ToRGB_16u8u_C3R?

levicki
Valued Contributor I
497 Views
Why there is no ippiRGB555ToRGB_16u8u_C3R()?

Even better, why there is no ippiRGBMaskToRGB_16u8u_C3R() where you could specify R, G, and B channel masks (as Ipp16u values) for extraction?

Regards,
Igor

0 Kudos
12 Replies
levicki
Valued Contributor I
497 Views
Should I submit this as a feature request?
0 Kudos
rod_ma1
Beginner
497 Views
We need ippiRGB555ToRGB_16u8u_C3R too,
0 Kudos
Vladimir_Dudnik
Employee
497 Views
Thanks for informing us. We will consider that request at next version planning stage.

Regards,
Vladimir
0 Kudos
Gaiger_Chen
New Contributor I
497 Views
We need ippiRGB565ToRGB_16u8u_C3R() too, this format is very common in cell phone domain..
0 Kudos
levicki
Valued Contributor I
497 Views
Umm... read the title of the thread again, it says "ippiRGB565ToRGB_16u8u_C3R() exists".
0 Kudos
Vladimir_Dudnik
Employee
497 Views
Right, we do have 565 variant of this function but do not have 555 variant. That we consider for future release (depend on how big demand is for that functionality,how manyother requests we do have and how they got prioritized).

Please see ippcc.h for declaration
IPPAPI(IppStatus, ippiRGB565ToRGB_16u8u_C3R,(const Ipp16u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize ))

Regards,
Vladimir
0 Kudos
levicki
Valued Contributor I
497 Views
Vladimir, you sound as if it is very complex to add that function when the only difference between it and the existing function (565) is different extraction mask and shift values used. I really don't understand why it is taking so long to even consider adding something so simple, let alone implement it.
0 Kudos
Vladimir_Dudnik
Employee
497 Views

that is not about technical complexity of this particular request. You might not seeall other requests we have,some of themare simple enough, but there is product strategy,planning and prioritization in order to cover most important functionality.

Vladimir

0 Kudos
levicki
Valued Contributor I
497 Views
With all due respect, if there was planning involved, this function (RGB555) would not have been omitted in the first place

/rant on

Planning an API involves thinking about orthogonality. But we've already seen how Intel engineers struggle with orthogonality -- x86 instruction set is another shining example of the lack of orthogonality and abundance of redundancy.

/rant off
0 Kudos
Vladimir_Dudnik
Employee
497 Views
With all due respect planning is not limited by thinking on ortohonality. There are many other factors which contributeat planning stage.

Vladimir
0 Kudos
levicki
Valued Contributor I
497 Views
I know it is not limited, that is why I said "involves thinking about orthogonality".

0 Kudos
Gaiger_Chen
New Contributor I
497 Views
Oh, It is my typo, I means "ippiRGB555ToRGB_16u8u_C3R"

currently, I convert ippiRGB555 to YCbCr420

Then YCbCr420 to RGB.

It cost additional time.
0 Kudos
Reply