Lines Matching refs:indexBits
399 int indexBits = 8; in dataSizePalette4() local
403 indexBits = 4; in dataSizePalette4()
410 indexBits = 4; in dataSizePalette4()
419 indexBits = 4; in dataSizePalette4()
428 size_t size = (1 << indexBits) * entrySize; // palette size in dataSizePalette4()
433 int levelSize = h * ((w * indexBits) / 8) ? : 1; in dataSizePalette4()
444 int indexBits = 8; in decodePalette4() local
448 indexBits = 4; in decodePalette4()
455 indexBits = 4; in decodePalette4()
464 indexBits = 4; in decodePalette4()
473 const int paletteSize = (1 << indexBits) * entrySize; in decodePalette4()
479 pixels += h * ((w * indexBits) / 8); in decodePalette4()
488 if (indexBits == 8) { in decodePalette4()
512 if (indexBits == 8) { in decodePalette4()
539 if (indexBits == 8) { in decodePalette4()