Home
last modified time | relevance | path

Searched refs:iSubblock (Results 1 – 2 of 2) sorted by relevance

/dports/graphics/freeimage/FreeImage/Source/LibJXR/image/decode/
H A Dsegdec.c644 Int i, iBlock, iSubblock, iNBlocks = 4; in DecodeCoeffs() local
689 for (iSubblock = 0; iSubblock < 4; iSubblock++, iIndex++, iCBPCY >>= 1) { in DecodeCoeffs()
699 pCoeffs = pSC->p1MBbuffer[iBlock - 3] + blkOffsetUV[iSubblock]; in DecodeCoeffs()
702 …effs = pSC->p1MBbuffer[1 + (1 & (iBlock >> 1))] + ((iBlock & 1) * 32) + blkOffsetUV_422[iSubblock]; in DecodeCoeffs()
/dports/graphics/freeimage/FreeImage/Source/LibJXR/image/encode/
H A Dsegenc.c852 Int iSubblock, iIndex = 0; in CodeCoeffs() local
898 for (iSubblock = 0; iSubblock < 4; iSubblock++, iPattern >>= 1, iIndex ++) { in CodeCoeffs()
905 pCoeffs = pSC->pPlane[iBlock - 3] + blkOffsetUV[iSubblock]; in CodeCoeffs()
908 … pCoeffs = pSC->pPlane[1 + ((iBlock - 4) >> 1)] + blkOffsetUV_422[(iBlock & 1) * 4 + iSubblock]; in CodeCoeffs()