Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/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.cpp46 , m_decodedOffset(0) in BMPImageDecoder()
108 if ((m_decodedOffset < sizeOfFileHeader) && !processFileHeader(&imgDataOffset)) in decodeHelper()
112 m_reader.set(new BMPImageReader(this, m_decodedOffset, imgDataOffset, false)); in decodeHelper()
127 ASSERT(!m_decodedOffset); in processFileHeader()
132 m_decodedOffset = sizeOfFileHeader; in processFileHeader()
DBMPImageReader.h124 return readUint16(m_data.get(), m_decodedOffset + offset); in readUint16()
129 return readUint32(m_data.get(), m_decodedOffset + offset); in readUint32()
207 memcpy(&pixel, &m_data->data()[m_decodedOffset + offset], 3); in readCurrentPixel()
283 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/webkit/Source/WebCore/platform/image-decoders/ico/
DICOImageDecoder.cpp50 , m_decodedOffset(0) in ICOImageDecoder()
174 if ((m_decodedOffset < sizeOfDirectory) && !processDirectory()) in decodeDirectory()
178 …return (m_decodedOffset >= (sizeOfDirectory + (m_dirEntries.size() * sizeOfDirEntry))) || processD… in decodeDirectory()
221 ASSERT(!m_decodedOffset); in processDirectory()
226 m_decodedOffset = sizeOfDirectory; in processDirectory()
247 ASSERT(m_decodedOffset == sizeOfDirectory); in processDirectoryEntries()
248 …if ((m_decodedOffset > m_data->size()) || ((m_data->size() - m_decodedOffset) < (m_dirEntries.size… in processDirectoryEntries()
256 if (i->m_imageOffset < m_decodedOffset) in processDirectoryEntries()
277 int width = static_cast<uint8_t>(m_data->data()[m_decodedOffset]); in readDirectoryEntry()
280 int height = static_cast<uint8_t>(m_data->data()[m_decodedOffset + 1]); in readDirectoryEntry()
[all …]
DICOImageDecoder.h79 return BMPImageReader::readUint16(m_data.get(), m_decodedOffset + offset); in readUint16()
84 return BMPImageReader::readUint32(m_data.get(), m_decodedOffset + offset); in readUint32()
123 size_t m_decodedOffset; variable