Lines Matching refs:indexBits
403 int indexBits = 8; in dataSizePalette4() local
407 indexBits = 4; in dataSizePalette4()
414 indexBits = 4; in dataSizePalette4()
423 indexBits = 4; in dataSizePalette4()
432 size_t size = (1 << indexBits) * entrySize; // palette size in dataSizePalette4()
437 int levelSize = h * ((w * indexBits) / 8) ? : 1; in dataSizePalette4()
448 int indexBits = 8; in decodePalette4() local
452 indexBits = 4; in decodePalette4()
459 indexBits = 4; in decodePalette4()
468 indexBits = 4; in decodePalette4()
477 const int paletteSize = (1 << indexBits) * entrySize; in decodePalette4()
483 pixels += h * ((w * indexBits) / 8); in decodePalette4()
492 if (indexBits == 8) { in decodePalette4()
516 if (indexBits == 8) { in decodePalette4()
543 if (indexBits == 8) { in decodePalette4()