- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
As the doc says(https://software.intel.com/en-us/node/502043),ippsCopyLE_1u and ippsCopyBE is diffierent.
do a small test used IPP2017
Ipp8u a = 1;// 00000001 high bit->low bit
Ipp8u aBE = 0, aLE = 0;
ippsCopyBE_1u(&a, 0, &aBE, 0, 8);
ippsCopyLE_1u(&a, 0, &aLE, 0, 8);
The result is aBE=1,aLE=1
Should aLE be 128? // 10000000 high bit->low bit
Thanks.
Lien copié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Thanks for your feedback.
The order of bits in source and in destination are the same. So the function results in your example are identical.
You can see different results for such example
ippsCopyBE_1u(&a, 0, &aBE, 0, 7);
ippsCopyLE_1u(&a, 0, &aLE, 0, 7);
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
IVAN Z. (Intel) wrote:
Thanks for your feedback.
The order of bits in source and in destination are the same. So the function results in your example are identical.
You can see different results for such exampleippsCopyBE_1u(&a, 0, &aBE, 0, 7);
ippsCopyLE_1u(&a, 0, &aLE, 0, 7);
Thanks.The order of bits in source and in destination are the same.

- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable