Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/bmp/
DBMPImageReader.cpp39 , m_decodedOffset(decodedAndHeaderOffset) in BMPImageReader()
63 if ((m_decodedOffset < (m_headerOffset + m_infoHeader.biSize)) && !processInfoHeader()) in decodeBMP()
132 ASSERT(m_decodedOffset == m_headerOffset); in readInfoHeaderSize()
133 if ((m_decodedOffset > m_data->size()) || ((m_data->size() - m_decodedOffset) < 4)) in readInfoHeaderSize()
164 ASSERT(m_decodedOffset == m_headerOffset); in processInfoHeader()
165 …if ((m_decodedOffset > m_data->size()) || ((m_data->size() - m_decodedOffset) < m_infoHeader.biSiz… in processInfoHeader()
167 m_decodedOffset += m_infoHeader.biSize; in processInfoHeader()
405 if ((m_data->size() - m_decodedOffset) < SIZEOF_BITMASKS) in processBitmasks()
413 m_decodedOffset += SIZEOF_BITMASKS; in processBitmasks()
419 m_decodedOffset = m_imgDataOffset; in processBitmasks()
[all …]
DBMPImageDecoder.cpp48 , m_decodedOffset(0) in BMPImageDecoder()
113 if ((m_decodedOffset < sizeOfFileHeader) && !processFileHeader(&imgDataOffset)) in decodeHelper()
117 m_reader = adoptPtr(new BMPImageReader(this, m_decodedOffset, imgDataOffset, false)); in decodeHelper()
132 ASSERT(!m_decodedOffset); in processFileHeader()
137 m_decodedOffset = sizeOfFileHeader; in processFileHeader()
DBMPImageReader.h126 return readUint16(m_data.get(), m_decodedOffset + offset); in readUint16()
131 return readUint32(m_data.get(), m_decodedOffset + offset); in readUint32()
209 memcpy(&pixel, &m_data->data()[m_decodedOffset + offset], 3); in readCurrentPixel()
285 size_t m_decodedOffset; variable
DBMPImageDecoder.h57 return BMPImageReader::readUint32(m_data.get(), m_decodedOffset + offset); in readUint32()
77 size_t m_decodedOffset; variable
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/ico/
DICOImageDecoder.cpp52 , m_decodedOffset(0) in ICOImageDecoder()
199 if ((m_decodedOffset < sizeOfDirectory) && !processDirectory()) in decodeDirectory()
203 …return (m_decodedOffset >= (sizeOfDirectory + (m_dirEntries.size() * sizeOfDirEntry))) || processD… in decodeDirectory()
248 ASSERT(!m_decodedOffset); in processDirectory()
253 m_decodedOffset = sizeOfDirectory; in processDirectory()
272 ASSERT(m_decodedOffset == sizeOfDirectory); in processDirectoryEntries()
273 …if ((m_decodedOffset > m_data->size()) || ((m_data->size() - m_decodedOffset) < (m_dirEntries.size… in processDirectoryEntries()
281 if (i->m_imageOffset < m_decodedOffset) in processDirectoryEntries()
302 int width = static_cast<uint8_t>(m_data->data()[m_decodedOffset]); in readDirectoryEntry()
305 int height = static_cast<uint8_t>(m_data->data()[m_decodedOffset + 1]); in readDirectoryEntry()
[all …]
DICOImageDecoder.h86 return BMPImageReader::readUint16(m_data.get(), m_decodedOffset + offset); in readUint16()
91 return BMPImageReader::readUint32(m_data.get(), m_decodedOffset + offset); in readUint32()
134 size_t m_decodedOffset; variable