Home
last modified time | relevance | path

Searched refs:iCBP (Results 1 – 5 of 5) sorted by relevance

/dports/graphics/freeimage/FreeImage/Source/LibJXR/image/decode/
H A DstrPredQuantDec.c366 iCBP ^= (0x02 & (iCBP << 1)); // 0 => 1 in predCBPCDec()
367 iCBP ^= (0x10 & (iCBP << 3)); // 1 => 4 in predCBPCDec()
368 iCBP ^= (0x20 & (iCBP << 1)); // 4 => 5 in predCBPCDec()
370 iCBP ^= ((iCBP & 0x33) << 2); in predCBPCDec()
371 iCBP ^= ((iCBP & 0xcc) << 6); in predCBPCDec()
372 iCBP ^= ((iCBP & 0x3300) << 2); in predCBPCDec()
426 iCBP ^= (0x02 & (iCBP << 1)); // 0 => 1 in predCBPC420Dec()
481 iCBP ^= (iCBP & 0x1) << 1; // [0]->[1] in predCBPC422Dec()
482 iCBP ^= (iCBP & 0x3) << 2; // [0 1]->[2 3] in predCBPC422Dec()
483 iCBP ^= (iCBP & 0xc) << 2; // [2 3]->[4 5] in predCBPC422Dec()
[all …]
H A Dsegdec.c651 Int iCBPCU = pSC->MBInfo.iCBP[1]; in DecodeCoeffs()
652 Int iCBPCV = pSC->MBInfo.iCBP[2]; in DecodeCoeffs()
653 Int iCBPCY = pSC->MBInfo.iCBP[0]; in DecodeCoeffs()
723 iCBPCY = pSC->MBInfo.iCBP[(i + 1) & 0xf]; in DecodeCoeffs()
793 Int iChannel, iCBP = 0; in DecodeMacroblockLowpass() local
828 iCBP = 0; in DecodeMacroblockLowpass()
830 iCBP = 1; in DecodeMacroblockLowpass()
837 iCBP = iMax - iCBP; in DecodeMacroblockLowpass()
840 iCBP = _getBit16(pIO, iFullPlanes); in DecodeMacroblockLowpass()
871 if (iCBP & 1) { in DecodeMacroblockLowpass()
[all …]
/dports/graphics/freeimage/FreeImage/Source/LibJXR/image/encode/
H A DstrPredQuantEnc.c324 iRetval = iPredCBP ^ iCBP; in predCBPCEnc()
327 iRetval = iCBP; in predCBPCEnc()
330 iRetval = iCBP ^ 0xffff; in predCBPCEnc()
382 iRetval = iPredCBP ^ iCBP; in predCBPC420Enc()
385 iRetval = iCBP; in predCBPC420Enc()
388 iRetval = iCBP ^ 0xf; in predCBPC420Enc()
442 iRetval = iPredCBP ^ iCBP; in predCBPC422Enc()
445 iRetval = iCBP; in predCBPC422Enc()
448 iRetval = iCBP ^ 0xff; in predCBPC422Enc()
486 Int iCBP = 0; in predCBPEnc() local
[all …]
H A Dsegenc.c559 int iCBP, iMax = iFullChannels * 4 - 5; /* actually (1 << iNChannels) - 1 **/ in EncodeMacroblockLowpass() local
561 iCBP = (iNumCoeffs[0] > 0) + (iNumCoeffs[1] > 0) * 2; in EncodeMacroblockLowpass()
563 iCBP += (iNumCoeffs[2] > 0) * 4; in EncodeMacroblockLowpass()
566 iVal = iCBP; in EncodeMacroblockLowpass()
568 iVal = iMax - iCBP; in EncodeMacroblockLowpass()
578 putBit16z(pIO, iCBP, iFullChannels); in EncodeMacroblockLowpass()
581 iCountM += 1 - 4 * (iCBP == iMax);//(b + c - 2*a); in EncodeMacroblockLowpass()
582 iCountZ += 1 - 4 * (iCBP == 0);//(a + b - 2*c); in EncodeMacroblockLowpass()
882 Int iPattern = pMBInfo->iCBP[i]; in CodeCoeffs()
886 iPattern += (pMBInfo->iCBP[1] << 16) + (pMBInfo->iCBP[2] << 20); in CodeCoeffs()
[all …]
/dports/graphics/freeimage/FreeImage/Source/LibJXR/image/sys/
H A Dstrcodec.h210 Int iCBP[MAX_CHANNELS]; member
265 Int iCBP; // coded block pattern member