Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_gif.cpp35 int32_t pal_size) { in _gif_ask_buf_for_pal() argument
39 p->child_ptr, _gif_get_frame_num(gif_ptr), pal_size); in _gif_ask_buf_for_pal()
Dfx_codec_progress.h131 int32_t pal_size);
Dfx_codec_progress.cpp606 int32_t pal_size) { in GifAskLocalPaletteBufCallback() argument
607 return FX_Alloc(uint8_t, pal_size); in GifAskLocalPaletteBufCallback()
/external/pdfium/core/src/fxcodec/lbmp/
Dfx_bmp.cpp938 FX_DWORD pal_size = sizeof(FX_DWORD) * bmp_ptr->pal_num; in _bmp_encode_image() local
941 pal_size = sizeof(FX_DWORD) * bmp_ptr->info_header.biClrUsed; in _bmp_encode_image()
950 if (bmp_ptr->pal_ptr && pal_size) { in _bmp_encode_image()
951 FXSYS_memcpy(&dst_buf[head_size], bmp_ptr->pal_ptr, pal_size); in _bmp_encode_image()
952 bmp_ptr->file_header.bfOffBits += pal_size; in _bmp_encode_image()
/external/pdfium/core/src/fxge/dib/
Dfx_dib_main.cpp547 FX_DWORD pal_size = 1 << GetBPP(); in CopyPalette() local
549 m_pPalette = FX_Alloc(FX_DWORD, pal_size); in CopyPalette()
551 if (pal_size > size) { in CopyPalette()
552 pal_size = size; in CopyPalette()
554 FXSYS_memcpy(m_pPalette, pSrc, pal_size * sizeof(FX_DWORD)); in CopyPalette()
1337 int pal_size, argument
1355 for (int j = 0; j < pal_size; j++) {
/external/pdfium/core/src/fxcodec/lgif/
Dfx_gif.cpp1311 FX_DWORD pal_size = sizeof(GifPalette) * gif_ptr->lpal_num; in _gif_write_data() local
1312 if (!_gif_grow_buf(dst_buf, dst_len, pal_size + gif_ptr->cur_offset)) { in _gif_write_data()
1315 FXSYS_memcpy(&dst_buf[gif_ptr->cur_offset], gif_ptr->local_pal, pal_size); in _gif_write_data()
1316 gif_ptr->cur_offset += pal_size; in _gif_write_data()
Dfx_gif.h230 int32_t pal_size);
/external/pdfium/core/include/fxcodec/
Dfx_codec.h333 int32_t pal_size);
/external/pdfium/core/include/fxge/
Dfx_dib.h391 int pal_size,