Lines Matching refs:pH
386 int* pH;
392 pH = pBuf;
394 pH += s>>1;
396 pH += (s>>1)*width;
401 pH[x] = pH[x] / (~pM[x]+1) * (~pM[x]+1);
402 ( round pH[x] with pM[x] bit )
404 So, we must offset when pH[x] is negative.
406 if (((signed char*)pH)[0] & 0x80)
407 ((signed char*)pH)[0] += ~((signed char*)pM)[0];
408 if (((signed char*)pH)[1] & 0x80)
409 ((signed char*)pH)[1] += ~((signed char*)pM)[1];
410 if (((signed char*)pH)[2] & 0x80)
411 ((signed char*)pH)[2] += ~((signed char*)pM)[2];
412 *pH &= *pM;
413 pH += s;
415 pH += (s-1)*width;
454 int* pH;
460 pH = pBuf;
462 pH += s>>1;
464 pH += (s>>1)*width;
467 ((signed char*)pH)[0] = pM[0][((unsigned char*)pH)[0]];
468 ((signed char*)pH)[1] = pM[1][((unsigned char*)pH)[1]];
469 ((signed char*)pH)[2] = pM[2][((unsigned char*)pH)[2]];
470 pH += s;
472 pH += (s-1)*width;
627 pH = pBuf; \
630 pH += s>>1; \
632 pH += (s>>1)*w; \
633 pEnd = pH+h*w; \
634 while (pH < pEnd) { \
635 pLine = pH+w; \
636 while (pH < pLine) { \
639 pH += s; \
641 pH += (s-1)*w; \
645 ZYWRLE_TRANSFER_COEFF(pBuf,data,r,width,height,scanline,level,ZYWRLE_LOAD_COEFF(pH,R,G,B);ZYWRLE_SAVE_PIXEL(data,R,G,B);)
648 ZYWRLE_TRANSFER_COEFF(pBuf,data,r,width,height,scanline,level,ZYWRLE_LOAD_PIXEL(data,R,G,B);ZYWRLE_SAVE_COEFF(pH,R,G,B);)
701 static InlineX void zywrleCalcSize(int* pW, int* pH, int level)
704 *pH &= ~((1<<level)-1);
763 int* pH;
799 int* pH;