Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_png.cpp28 CFX_DIBAttribute* pAttribute) { in _png_load_bmp_attribute() argument
29 if (pAttribute) { in _png_load_bmp_attribute()
31 pAttribute->m_nXDPI = png_get_x_pixels_per_meter(png_ptr, info_ptr); in _png_load_bmp_attribute()
32 pAttribute->m_nYDPI = png_get_y_pixels_per_meter(png_ptr, info_ptr); in _png_load_bmp_attribute()
38 pAttribute->m_wDPIUnit = FXCODEC_RESUNIT_METER; in _png_load_bmp_attribute()
41 pAttribute->m_wDPIUnit = FXCODEC_RESUNIT_NONE; in _png_load_bmp_attribute()
57 FXSYS_memset(pAttribute->m_strTime, 0, sizeof(pAttribute->m_strTime)); in _png_load_bmp_attribute()
58 FXSYS_snprintf((FX_CHAR*)pAttribute->m_strTime, in _png_load_bmp_attribute()
59 sizeof(pAttribute->m_strTime), "%4d:%2d:%2d %2d:%2d:%2d", in _png_load_bmp_attribute()
61 pAttribute->m_strTime[sizeof(pAttribute->m_strTime) - 1] = 0; in _png_load_bmp_attribute()
[all …]
Dfx_codec_gif.cpp112 CFX_DIBAttribute* pAttribute) { in ReadHeader() argument
121 if (pAttribute) { in ReadHeader()
144 CFX_DIBAttribute* pAttribute) { in LoadFrame() argument
151 if (pAttribute) { in LoadFrame()
152 pAttribute->m_nGifLeft = in LoadFrame()
154 pAttribute->m_nGifTop = in LoadFrame()
156 pAttribute->m_fAspectRatio = p->gif_ptr->pixel_aspect; in LoadFrame()
164 pAttribute->m_strAuthor = CFX_ByteString(buf, size); in LoadFrame()
166 pAttribute->m_strAuthor.Empty(); in LoadFrame()
171 FXSYS_memcpy(pAttribute->m_strTime, buf, size); in LoadFrame()
Dfx_codec_tiff.cpp37 CFX_DIBAttribute* pAttribute);
284 CFX_DIBAttribute* pAttribute) { in LoadFrameInfo() argument
303 if (pAttribute) { in LoadFrameInfo()
304 pAttribute->m_wDPIUnit = FXCODEC_RESUNIT_INCH; in LoadFrameInfo()
306 &pAttribute->m_wDPIUnit)) { in LoadFrameInfo()
307 pAttribute->m_wDPIUnit -= 1; in LoadFrameInfo()
309 Tiff_Exif_GetInfo<FX_WORD>(tif_ctx, TIFFTAG_ORIENTATION, pAttribute); in LoadFrameInfo()
310 if (Tiff_Exif_GetInfo<FX_FLOAT>(tif_ctx, TIFFTAG_XRESOLUTION, pAttribute)) { in LoadFrameInfo()
311 void* val = pAttribute->m_Exif[TIFFTAG_XRESOLUTION]; in LoadFrameInfo()
313 pAttribute->m_nXDPI = (int32_t)(fDpi + 0.5f); in LoadFrameInfo()
[all …]
Dfx_codec_bmp.cpp87 CFX_DIBAttribute* pAttribute) { in ReadHeader() argument
102 if (pAttribute) { in ReadHeader()
103 pAttribute->m_wDPIUnit = FXCODEC_RESUNIT_METER; in ReadHeader()
104 pAttribute->m_nXDPI = p->bmp_ptr->dpi_x; in ReadHeader()
105 pAttribute->m_nYDPI = p->bmp_ptr->dpi_y; in ReadHeader()
106 pAttribute->m_nBmpCompressType = p->bmp_ptr->compress_flag; in ReadHeader()
Dcodec_int.h199 CFX_DIBAttribute* pAttribute) override;
217 CFX_DIBAttribute* pAttribute);
236 CFX_DIBAttribute* pAttribute);
242 CFX_DIBAttribute* pAttribute);
263 CFX_DIBAttribute* pAttribute) override;
361 CFX_DIBAttribute* pAttribute) override;
Dfx_codec_jpeg.cpp236 CFX_DIBAttribute* pAttribute) { in _JpegLoadAttribute() argument
237 if (pInfo == NULL || pAttribute == NULL) { in _JpegLoadAttribute()
240 if (pAttribute) { in _JpegLoadAttribute()
241 pAttribute->m_nXDPI = pInfo->X_density; in _JpegLoadAttribute()
242 pAttribute->m_nYDPI = pInfo->Y_density; in _JpegLoadAttribute()
243 pAttribute->m_wDPIUnit = pInfo->density_unit; in _JpegLoadAttribute()
639 CFX_DIBAttribute* pAttribute) { argument
661 _JpegLoadAttribute(&p->m_Info, pAttribute);
Dfx_codec_progress.h93 CFX_DIBAttribute* pAttribute) override;
152 CFX_DIBAttribute* pAttribute);
Dfx_codec_progress.cpp1003 CFX_DIBAttribute* pAttribute) { in DetectImageType() argument
1045 &m_SrcComponents, &m_SrcPaletteNumber, &pPalette, pAttribute); in DetectImageType()
1054 &m_SrcComponents, &m_SrcPaletteNumber, &pPalette, pAttribute); in DetectImageType()
1101 &m_SrcComponents, pAttribute); in DetectImageType()
1110 &m_SrcComponents, pAttribute); in DetectImageType()
1147 bResult = pPngModule->Input(m_pPngContext, m_pSrcBuf, size, pAttribute); in DetectImageType()
1177 pPngModule->Input(m_pPngContext, m_pSrcBuf, input_size, pAttribute); in DetectImageType()
1257 (FX_DWORD&)m_SrcComponents, bpc, pAttribute); in DetectImageType()
1276 CFX_DIBAttribute* pAttribute) { in LoadImageInfo() argument
1299 DetectImageType(imageType, pAttribute)) { in LoadImageInfo()
[all …]
/external/pdfium/core/include/fxcodec/
Dfx_codec.h242 CFX_DIBAttribute* pAttribute) = 0;
290 CFX_DIBAttribute* pAttribute) = 0;
325 CFX_DIBAttribute* pAttribute) = 0;
337 CFX_DIBAttribute* pAttribute) = 0;
376 CFX_DIBAttribute* pAttribute) = 0;
400 CFX_DIBAttribute* pAttribute) = 0;
435 CFX_DIBAttribute* pAttribute) = 0;