Lines Matching refs:m_nStreamLength
229 size_t m_nStreamLength; member in CLibhwjpegDecompressor
251 m_nStreamLength = 0; in CLibhwjpegDecompressor()
265 munmap(m_pStreamBuffer, m_nStreamLength + m_nDummyBytes); in ~CLibhwjpegDecompressor()
270 munmap(m_pStreamBuffer, m_nStreamLength + m_nDummyBytes); in SetStreamPath()
273 m_nStreamLength = 0; in SetStreamPath()
289 m_nStreamLength = st.st_size; in SetStreamPath()
293 mmap(NULL, m_nStreamLength, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0)); in SetStreamPath()
297 ALOGERR("Failed to mmap %zu bytes of '%s'", m_nStreamLength, path); in SetStreamPath()
311 munmap(m_pStreamBuffer, m_nStreamLength + m_nDummyBytes); in SetStreamBuffer()
316 m_nStreamLength = len; in SetStreamBuffer()
326 munmap(m_pStreamBuffer, m_nStreamLength + m_nDummyBytes); in SetStreamBuffer()
330 m_nStreamLength = len; in SetStreamBuffer()
334 mmap(NULL, m_nStreamLength + m_nDummyBytes, PROT_READ | PROT_WRITE, MAP_SHARED, in SetStreamBuffer()
338 ALOGERR("Failed to mmap %zu bytes of dmabuf fd %d", m_nStreamLength, buffer); in SetStreamBuffer()
391 if (!m_jpegStreamParser.Parse(m_pStreamBuffer, m_nStreamLength)) return false; in PrepareDecompression()
439 if (!m_hwjpeg->Decompress(reinterpret_cast<char *>(m_pStreamBuffer), m_nStreamLength)) { in Decompress()