Lines Matching refs:m_nStreamLength
230 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, in SetStreamPath()
298 ALOGERR("Failed to mmap %zu bytes of '%s'", m_nStreamLength, path); in SetStreamPath()
312 munmap(m_pStreamBuffer, m_nStreamLength + m_nDummyBytes); in SetStreamBuffer()
317 m_nStreamLength = len; in SetStreamBuffer()
327 munmap(m_pStreamBuffer, m_nStreamLength + m_nDummyBytes); in SetStreamBuffer()
331 m_nStreamLength = len; in SetStreamBuffer()
335 mmap(NULL, m_nStreamLength + m_nDummyBytes, in SetStreamBuffer()
339 ALOGERR("Failed to mmap %zu bytes of dmabuf fd %d", m_nStreamLength, buffer); in SetStreamBuffer()
394 if (!m_jpegStreamParser.Parse(m_pStreamBuffer, m_nStreamLength)) in PrepareDecompression()
442 if (!m_hwjpeg->Decompress(reinterpret_cast<char *>(m_pStreamBuffer), m_nStreamLength)) { in Decompress()