Home
last modified time | relevance | path

Searched refs:m_hwjpeg (Results 1 – 3 of 3) sorted by relevance

/hardware/google/graphics/common/libhwjpeg/
DExynosJpegEncoder.cpp51 if (!m_hwjpeg.GetImageBuffers(piBuf, len_buffers, static_cast<unsigned int>(iSize))) in getInBuf()
63 if (!m_hwjpeg.GetJpegBuffer(piBuf, &len)) in getOutBuf()
78 if (!m_hwjpeg.GetImageBufferSizes(buflen, &bufnum)) in setInBuf()
84 if (!m_hwjpeg.SetImageBuffer(piBuf, buflen, bufnum)) in setInBuf()
94 if (!m_hwjpeg.SetJpegBuffer(iBuf, static_cast<size_t>(iSize), offset)) in setOutBuf()
110 if (!m_hwjpeg.GetImageBuffers(pcBuf, len_buffers, static_cast<unsigned int>(iSize))) in getInBuf()
122 if (!m_hwjpeg.GetJpegBuffer(pcBuf, &len)) in getOutBuf()
137 if (!m_hwjpeg.GetImageBufferSizes(buflen, &bufnum)) in setInBuf()
143 if (!m_hwjpeg.SetImageBuffer(pcBuf, buflen, bufnum)) in setInBuf()
152 if (!m_hwjpeg.SetJpegBuffer(pcBuf, static_cast<size_t>(iSize))) in setOutBuf()
[all …]
Dlibhwjpeg-exynos.cpp227 CHWJpegDecompressor *m_hwjpeg; member in CLibhwjpegDecompressor
254 m_hwjpeg = new CHWJpegV4L2Decompressor; in CLibhwjpegDecompressor()
255 if (!m_hwjpeg || !*m_hwjpeg) { in CLibhwjpegDecompressor()
257 delete m_hwjpeg; in CLibhwjpegDecompressor()
262 delete m_hwjpeg; in ~CLibhwjpegDecompressor()
356 return m_hwjpeg->SetImageBuffer(reinterpret_cast<char *>(buffer[0]), len[0]); in SetImageBuffer()
365 return m_hwjpeg->SetImageBuffer(buffer[0], len[0]); in SetImageBuffer()
378 if (!m_hwjpeg) { in PrepareDecompression()
413 if (!m_hwjpeg->SetStreamPixelSize(image_width, image_height)) { in PrepareDecompression()
418 if (!m_hwjpeg->SetImageFormat(output_format, output_width, output_height)) { in PrepareDecompression()
[all …]
/hardware/google/graphics/common/libhwjpeg/include/
DExynosJpegApi.h66 CHWJpegV4L2Compressor m_hwjpeg; variable
88 unsigned int GetDeviceCapabilities() { return m_hwjpeg.GetDeviceCapabilities(); } in GetDeviceCapabilities()
89 CHWJpegCompressor &GetCompressor() { return m_hwjpeg; } in GetCompressor()
90 unsigned int GetHWDelay() { return m_hwjpeg.GetHWDelay(); } in GetHWDelay()
99 ExynosJpegEncoder(): m_hwjpeg(), in ExynosJpegEncoder()
109 int flagCreate() { return m_hwjpeg.Okay() ? 0 : -1; } in flagCreate()
158 if (!m_hwjpeg.SetQuality(static_cast<unsigned int>(iQuality))) in setQuality()
174 m_nStreamSize = static_cast<int>(m_hwjpeg.Compress()); in encode()