Searched refs:iPalette (Results 1 – 1 of 1) sorted by relevance
165 int32_t iPalette = pBitmap->GetPaletteSize(); in SetImage() local166 if (iPalette > 0) { in SetImage()171 pCS->AddInteger(iPalette - 1); in SetImage()172 uint8_t* pColorTable = FX_Alloc2D(uint8_t, iPalette, 3); in SetImage()174 for (int32_t i = 0; i < iPalette; i++) { in SetImage()182 new CPDF_Stream(pColorTable, iPalette * 3, new CPDF_Dictionary); in SetImage()