Home
last modified time | relevance | path

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

/external/pdfium/xfa/fxfa/
Dcxfa_ffwidget.cpp159 CFX_DIBAttribute dibAttr; in XFA_LoadImageFromBuffer() local
160 pProgressiveDecoder->LoadImageInfo(pImageFileRead, type, &dibAttr, false); in XFA_LoadImageFromBuffer()
161 switch (dibAttr.m_wDPIUnit) { in XFA_LoadImageFromBuffer()
163 dibAttr.m_nXDPI = (int32_t)(dibAttr.m_nXDPI * 2.54f); in XFA_LoadImageFromBuffer()
164 dibAttr.m_nYDPI = (int32_t)(dibAttr.m_nYDPI * 2.54f); in XFA_LoadImageFromBuffer()
167 dibAttr.m_nXDPI = (int32_t)(dibAttr.m_nXDPI / (float)100 * 2.54f); in XFA_LoadImageFromBuffer()
168 dibAttr.m_nYDPI = (int32_t)(dibAttr.m_nYDPI / (float)100 * 2.54f); in XFA_LoadImageFromBuffer()
173 iImageXDpi = dibAttr.m_nXDPI > 1 ? dibAttr.m_nXDPI : (96); in XFA_LoadImageFromBuffer()
174 iImageYDpi = dibAttr.m_nYDPI > 1 ? dibAttr.m_nYDPI : (96); in XFA_LoadImageFromBuffer()