Home
last modified time | relevance | path

Searched refs:iPalette (Results 1 – 1 of 1) sorted by relevance

/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_image.cpp165 int32_t iPalette = pBitmap->GetPaletteSize(); in SetImage() local
166 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()