Lines Matching refs:indexBits
410 int indexBits = 8; in dataSizePalette4() local
414 indexBits = 4; in dataSizePalette4()
421 indexBits = 4; in dataSizePalette4()
430 indexBits = 4; in dataSizePalette4()
439 size_t size = (1 << indexBits) * entrySize; // palette size in dataSizePalette4()
444 int levelSize = h * ((w * indexBits) / 8) ? : 1; in dataSizePalette4()
455 int indexBits = 8; in decodePalette4() local
459 indexBits = 4; in decodePalette4()
466 indexBits = 4; in decodePalette4()
475 indexBits = 4; in decodePalette4()
484 const int paletteSize = (1 << indexBits) * entrySize; in decodePalette4()
490 pixels += h * ((w * indexBits) / 8); in decodePalette4()
499 if (indexBits == 8) { in decodePalette4()
523 if (indexBits == 8) { in decodePalette4()
550 if (indexBits == 8) { in decodePalette4()