Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
6632 Discussions

ippiGrayToBin_8u1u_C1R. What bit order will be in result?

ANNA_K_
Beginner
157 Views

I want convert 8u matrix to 1u matrix using ippiGrayToBin_8u1u_C1R. Can I assume that bits in result have the same order as the source elements? Does this function use big-endian or little-endian format?

0 Kudos
1 Reply
DANEEL_L_Intel
Employee
157 Views

Hi Anna.

Inside one byte of result matrix LSB corespods the first pixel of 8-element frame in the source and MSB corresponds the last pixel.

If we consider memory as continuous sequence of bits, than the result order will be the same as the order in source matrix.

 

Reply