Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/codec/
Dccodec_gifmodule.cpp31 CFX_DIBAttribute* pAttribute) { in ReadHeader() argument
57 CFX_DIBAttribute* pAttribute) { in LoadFrame() argument
60 if (ret != CFX_GifDecodeStatus::Success || !pAttribute) in LoadFrame()
63 pAttribute->m_nGifLeft = context->images_[frame_num]->image_info.left; in LoadFrame()
64 pAttribute->m_nGifTop = context->images_[frame_num]->image_info.top; in LoadFrame()
65 pAttribute->m_fAspectRatio = context->pixel_aspect_; in LoadFrame()
72 pAttribute->m_strAuthor = ByteString(buf, size); in LoadFrame()
74 pAttribute->m_strAuthor.clear(); in LoadFrame()
Dccodec_pngmodule.cpp52 CFX_DIBAttribute* pAttribute) { in _png_load_bmp_attribute() argument
53 if (pAttribute) { in _png_load_bmp_attribute()
55 pAttribute->m_nXDPI = png_get_x_pixels_per_meter(png_ptr, info_ptr); in _png_load_bmp_attribute()
56 pAttribute->m_nYDPI = png_get_y_pixels_per_meter(png_ptr, info_ptr); in _png_load_bmp_attribute()
62 pAttribute->m_wDPIUnit = FXCODEC_RESUNIT_METER; in _png_load_bmp_attribute()
65 pAttribute->m_wDPIUnit = FXCODEC_RESUNIT_NONE; in _png_load_bmp_attribute()
89 pAttribute->m_strAuthor = in _png_load_bmp_attribute()
240 CFX_DIBAttribute* pAttribute) { in Input() argument
243 if (pAttribute && in Input()
245 _png_load_bmp_attribute(ctx->m_pPng, ctx->m_pInfo, pAttribute); in Input()
Dccodec_bmpmodule.cpp41 CFX_DIBAttribute* pAttribute) { in ReadHeader() argument
56 if (pAttribute) { in ReadHeader()
57 pAttribute->m_wDPIUnit = FXCODEC_RESUNIT_METER; in ReadHeader()
58 pAttribute->m_nXDPI = ctx->m_Bmp.dpi_x; in ReadHeader()
59 pAttribute->m_nYDPI = ctx->m_Bmp.dpi_y; in ReadHeader()
60 pAttribute->m_nBmpCompressType = ctx->m_Bmp.compress_flag; in ReadHeader()
Dccodec_tiffmodule.cpp36 CFX_DIBAttribute* pAttribute);
243 CFX_DIBAttribute* pAttribute) { in LoadFrameInfo() argument
258 if (pAttribute) { in LoadFrameInfo()
259 pAttribute->m_wDPIUnit = FXCODEC_RESUNIT_INCH; in LoadFrameInfo()
261 &pAttribute->m_wDPIUnit)) { in LoadFrameInfo()
262 pAttribute->m_wDPIUnit--; in LoadFrameInfo()
264 Tiff_Exif_GetInfo<uint16_t>(m_tif_ctx, TIFFTAG_ORIENTATION, pAttribute); in LoadFrameInfo()
265 if (Tiff_Exif_GetInfo<float>(m_tif_ctx, TIFFTAG_XRESOLUTION, pAttribute)) { in LoadFrameInfo()
266 void* val = pAttribute->m_Exif[TIFFTAG_XRESOLUTION]; in LoadFrameInfo()
268 pAttribute->m_nXDPI = (int32_t)(fDpi + 0.5f); in LoadFrameInfo()
[all …]
Dccodec_progressivedecoder.h50 CFX_DIBAttribute* pAttribute,
165 CFX_DIBAttribute* pAttribute);
166 bool BmpDetectImageType(CFX_DIBAttribute* pAttribute, uint32_t size);
167 bool JpegDetectImageType(CFX_DIBAttribute* pAttribute, uint32_t size);
168 bool PngDetectImageType(CFX_DIBAttribute* pAttribute, uint32_t size);
169 bool GifDetectImageType(CFX_DIBAttribute* pAttribute, uint32_t size);
170 bool TifDetectImageType(CFX_DIBAttribute* pAttribute, uint32_t size);
Dfx_codec_jpeg.cpp107 CFX_DIBAttribute* pAttribute) { in JpegLoadAttribute() argument
108 if (!pAttribute) in JpegLoadAttribute()
111 pAttribute->m_nXDPI = pInfo->X_density; in JpegLoadAttribute()
112 pAttribute->m_nYDPI = pInfo->Y_density; in JpegLoadAttribute()
113 pAttribute->m_wDPIUnit = pInfo->density_unit; in JpegLoadAttribute()
454 CFX_DIBAttribute* pAttribute) { argument
472 JpegLoadAttribute(&ctx->m_Info, pAttribute);
Dccodec_gifmodule.h53 CFX_DIBAttribute* pAttribute);
57 CFX_DIBAttribute* pAttribute);
Dfx_codec_progress.cpp994 CFX_DIBAttribute* pAttribute) { in DetectImageType() argument
1006 return BmpDetectImageType(pAttribute, size); in DetectImageType()
1008 return JpegDetectImageType(pAttribute, size); in DetectImageType()
1010 return PngDetectImageType(pAttribute, size); in DetectImageType()
1012 return GifDetectImageType(pAttribute, size); in DetectImageType()
1014 return TifDetectImageType(pAttribute, size); in DetectImageType()
1021 bool CCodec_ProgressiveDecoder::BmpDetectImageType(CFX_DIBAttribute* pAttribute, in BmpDetectImageType() argument
1045 &m_SrcComponents, &m_SrcPaletteNumber, &palette, pAttribute); in BmpDetectImageType()
1054 &m_SrcComponents, &m_SrcPaletteNumber, &palette, pAttribute); in BmpDetectImageType()
1112 CFX_DIBAttribute* pAttribute, in JpegDetectImageType() argument
[all …]
Dccodec_tiffmodule.h34 CFX_DIBAttribute* pAttribute);
Dccodec_pngmodule.h43 CFX_DIBAttribute* pAttribute);
Dccodec_bmpmodule.h45 CFX_DIBAttribute* pAttribute);
Dccodec_jpegmodule.h55 CFX_DIBAttribute* pAttribute);