Home
last modified time | relevance | path

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

/external/pdfium/xfa/fxfa/
Dcxfa_ffwidget.cpp163 CFX_DIBAttribute dibAttr; in XFA_LoadImageFromBuffer() local
164 pProgressiveDecoder->LoadImageInfo(pImageFileRead, type, &dibAttr, false); in XFA_LoadImageFromBuffer()
165 switch (dibAttr.m_wDPIUnit) { in XFA_LoadImageFromBuffer()
167 dibAttr.m_nXDPI = (int32_t)(dibAttr.m_nXDPI * 2.54f); in XFA_LoadImageFromBuffer()
168 dibAttr.m_nYDPI = (int32_t)(dibAttr.m_nYDPI * 2.54f); in XFA_LoadImageFromBuffer()
171 dibAttr.m_nXDPI = (int32_t)(dibAttr.m_nXDPI / (float)100 * 2.54f); in XFA_LoadImageFromBuffer()
172 dibAttr.m_nYDPI = (int32_t)(dibAttr.m_nYDPI / (float)100 * 2.54f); in XFA_LoadImageFromBuffer()
177 iImageXDpi = dibAttr.m_nXDPI > 1 ? dibAttr.m_nXDPI : (96); in XFA_LoadImageFromBuffer()
178 iImageYDpi = dibAttr.m_nYDPI > 1 ? dibAttr.m_nYDPI : (96); in XFA_LoadImageFromBuffer()