Lines Matching refs:m_pStreamBuffer
229 unsigned char *m_pStreamBuffer; member in CLibhwjpegDecompressor
246 m_pStreamBuffer = NULL; in CLibhwjpegDecompressor()
265 munmap(m_pStreamBuffer, m_nStreamLength + m_nDummyBytes); in ~CLibhwjpegDecompressor()
269 if ((m_pStreamBuffer != NULL) && !!(m_flags & HWJPG_FLAG_NEED_MUNMAP)) { in SetStreamPath()
270 munmap(m_pStreamBuffer, m_nStreamLength + m_nDummyBytes); in SetStreamPath()
272 m_pStreamBuffer = NULL; in SetStreamPath()
292 m_pStreamBuffer = reinterpret_cast<unsigned char *>( in SetStreamPath()
295 if (m_pStreamBuffer == MAP_FAILED) { in SetStreamPath()
296 m_pStreamBuffer = NULL; in SetStreamPath()
311 if ((m_pStreamBuffer != NULL) && !!(m_flags & HWJPG_FLAG_NEED_MUNMAP)) { in SetStreamBuffer()
312 munmap(m_pStreamBuffer, m_nStreamLength + m_nDummyBytes); in SetStreamBuffer()
316 m_pStreamBuffer = buffer; in SetStreamBuffer()
326 if ((m_pStreamBuffer != NULL) && !!(m_flags & HWJPG_FLAG_NEED_MUNMAP)) { in SetStreamBuffer()
327 munmap(m_pStreamBuffer, m_nStreamLength + m_nDummyBytes); in SetStreamBuffer()
334 m_pStreamBuffer = reinterpret_cast<unsigned char *>( in SetStreamBuffer()
337 if (m_pStreamBuffer == MAP_FAILED) { in SetStreamBuffer()
338 m_pStreamBuffer = NULL; in SetStreamBuffer()
389 if (m_pStreamBuffer == NULL) { in PrepareDecompression()
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()