Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/lbmp/
Dfx_bmp.cpp44 pal_num(0), in BMPDecompressor()
260 pal_num = 0; in ReadHeader()
262 pal_num = 1 << bitCounts; in ReadHeader()
264 pal_num = color_used; in ReadHeader()
266 uint32_t src_pal_size = pal_num * (pal_type ? 3 : 4); in ReadHeader()
271 palette.resize(pal_num); in ReadHeader()
274 while (src_pal_index < pal_num) { in ReadHeader()
280 while (src_pal_index < pal_num) { in ReadHeader()
288 14 + img_ifh_size + pal_num * (pal_type ? 3 : 4)); in ReadHeader()
335 if (val >= pal_num) { in ValidateColorIndex()
Dfx_bmp.h96 int32_t pal_num; variable
/external/pdfium/core/fxcodec/codec/
Dccodec_bmpmodule.cpp39 int32_t* pal_num, in ReadHeader() argument
54 *pal_num = ctx->m_Bmp.pal_num; in ReadHeader()
Dccodec_gifmodule.h31 int32_t pal_num,
50 int* pal_num,
Dccodec_gifmodule.cpp28 int* pal_num, in ReadHeader() argument
39 *pal_num = (2 << context->global_pal_exp_); in ReadHeader()
Dccodec_bmpmodule.h43 int32_t* pal_num,
Dfx_codec_progress.cpp602 int32_t pal_num, in GifInputRecordPositionBuf() argument
615 if (pal_num != 0 && pal_ptr) { in GifInputRecordPositionBuf()
620 pal_num = m_GifPltNumber; in GifInputRecordPositionBuf()
624 m_pSrcPalette = FX_Alloc(FX_ARGB, pal_num); in GifInputRecordPositionBuf()
625 else if (pal_num > m_SrcPaletteNumber) in GifInputRecordPositionBuf()
626 m_pSrcPalette = FX_Realloc(FX_ARGB, m_pSrcPalette, pal_num); in GifInputRecordPositionBuf()
630 m_SrcPaletteNumber = pal_num; in GifInputRecordPositionBuf()
631 for (int i = 0; i < pal_num; i++) { in GifInputRecordPositionBuf()
641 if (trans_index >= pal_num) in GifInputRecordPositionBuf()
648 if (pal_index >= pal_num) in GifInputRecordPositionBuf()
Dccodec_progressivedecoder.h139 int32_t pal_num,
/external/pdfium/core/fxcodec/gif/
Dcfx_gifcontext.h32 int32_t pal_num,
Dcfx_gifcontext.cpp57 int32_t pal_num, in GetRecordPosition() argument
65 cur_pos, FX_RECT(left, top, left + width, top + height), pal_num, pal, in GetRecordPosition()