Lines Matching refs:fWidth
55 fWidth(0),
107 fWidth = _ReadShort();
170 _WriteShort(fWidth = width);
199 for (int32 i = fWidth * fHeight * fChannelCount; i > 0; i --)
202 for (int32 i = fWidth * fHeight * fChannelCount; i > 0; i --)
208 fARLERow = (uint16*)calloc(fWidth, sizeof(uint16));
325 off_t offset = 512 + (y + z * fHeight) * fWidth * fBytesPerChannel;
328 uint32 bytes = fWidth * fBytesPerChannel;
343 // ret = _ReadRLE8((uint8*)row, fWidth);
344 ret = _ReadRLE8((uint8*)row, rleBuffer, fWidth);
347 // ret = _ReadRLE16((uint16*)row, fWidth);
349 ret = _ReadRLE16((uint16*)row, (uint16*)rleBuffer, fWidth);
383 offset = 512 + (y + z * fHeight) * fWidth * fBytesPerChannel;
386 uint32 bytes = fWidth * fBytesPerChannel;
390 for (x = fWidth; x > 0; x--) {
395 for (x = fWidth; x > 0; x--) {
412 for (x = 0; x < fWidth; x++)
418 for (x = 0; x < fWidth; x++)
423 if (x == fWidth) {
439 if ((fARLELength = _ReadRLE8(arleRow, fWidth)) < B_OK) {
445 for (x = 0; x < fWidth; x++)
448 } while (x < fWidth);
454 if ((fARLELength = _ReadRLE16(arleRow, fWidth)) < B_OK) {
460 for (x = 0; x < fWidth; x++)
463 } while (x < fWidth);
466 if (x == fWidth) {
482 //printf("writing %d pixels %ld byte/channel RLE row: %ld, channel: %ld\n", fWidth, fBytesPerChannel, y, z);
485 x = _WriteRLE8((uint8*)row, fWidth);
487 x = _WriteRLE16((uint16*)row, fWidth);
492 memcpy(fARLERow, row, fWidth * fBytesPerChannel);