Lines Matching refs:indexBits
411 int indexBits = 8; in dataSizePalette4() local
415 indexBits = 4; in dataSizePalette4()
422 indexBits = 4; in dataSizePalette4()
431 indexBits = 4; in dataSizePalette4()
440 size_t size = (1 << indexBits) * entrySize; // palette size in dataSizePalette4()
445 int levelSize = h * ((w * indexBits) / 8) ? : 1; in dataSizePalette4()
456 int indexBits = 8; in decodePalette4() local
460 indexBits = 4; in decodePalette4()
467 indexBits = 4; in decodePalette4()
476 indexBits = 4; in decodePalette4()
485 const int paletteSize = (1 << indexBits) * entrySize; in decodePalette4()
491 pixels += h * ((w * indexBits) / 8); in decodePalette4()
500 if (indexBits == 8) { in decodePalette4()
524 if (indexBits == 8) { in decodePalette4()
551 if (indexBits == 8) { in decodePalette4()