Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libhwjpeg/include/
Dexynos-hwjpeg.h244 virtual bool SetImageBuffer(char *buffers[], size_t len_buffers[],
254 virtual bool SetImageBuffer(int buffers[], size_t len_buffers[], unsigned int num_buffers) = 0;
263 virtual bool SetImageBuffer2(char __unused *buffers[], size_t __unused len_buffers[], in SetImageBuffer2() argument
275 virtual bool SetImageBuffer2(int __unused buffers[], size_t __unused len_buffers[], in SetImageBuffer2() argument
354 virtual bool GetImageBuffers(int __unused buffers[], size_t __unused len_buffers[], in GetImageBuffers() argument
368 virtual bool GetImageBuffers(char __unused *buffers[], size_t __unused len_buffers[], in GetImageBuffers() argument
634 virtual bool SetImageBuffer(char *buffers[], size_t len_buffers[], unsigned int num_buffers);
635 virtual bool SetImageBuffer(int buffers[], size_t len_buffers[], unsigned int num_buffers);
636 virtual bool SetImageBuffer2(char *buffers[], size_t len_buffers[], unsigned int num_buffers);
637 virtual bool SetImageBuffer2(int buffers[], size_t len_buffers[], unsigned int num_buffers);
[all …]
/hardware/google/graphics/common/libhwjpeg/
DExynosJpegEncoder.cpp52 size_t len_buffers[iSize]; in getInBuf() local
53 if (!m_hwjpeg.GetImageBuffers(piBuf, len_buffers, static_cast<unsigned int>(iSize))) return -1; in getInBuf()
55 for (int i = 0; i < iSize; i++) piInputSize[i] = static_cast<int>(len_buffers[i]); in getInBuf()
99 size_t len_buffers[iSize]; in getInBuf() local
100 if (!m_hwjpeg.GetImageBuffers(pcBuf, len_buffers, static_cast<unsigned int>(iSize))) return -1; in getInBuf()
102 for (int i = 0; i < iSize; i++) piInputSize[i] = static_cast<int>(len_buffers[i]); in getInBuf()
Dhwjpeg-v4l2.cpp244 bool CHWJpegV4L2Compressor::SetImageBuffer(char *buffers[], size_t len_buffers[], in SetImageBuffer() argument
254 if (len_buffers[i] < m_v4l2Format.fmt.pix_mp.plane_fmt[i].sizeimage) { in SetImageBuffer()
255 ALOGE("The size of the buffer[%u] %zu is smaller than required %u", i, len_buffers[i], in SetImageBuffer()
260 m_v4l2SrcPlanes[i].length = len_buffers[i]; in SetImageBuffer()
270 bool CHWJpegV4L2Compressor::SetImageBuffer(int buffers[], size_t len_buffers[], in SetImageBuffer() argument
280 if (len_buffers[i] < m_v4l2Format.fmt.pix_mp.plane_fmt[i].sizeimage) { in SetImageBuffer()
281 ALOGE("The size of the buffer[%u] %zu is smaller than required %u", i, len_buffers[i], in SetImageBuffer()
286 m_v4l2SrcPlanes[i].length = len_buffers[i]; in SetImageBuffer()
296 bool CHWJpegV4L2Compressor::SetImageBuffer2(char *buffers[], size_t len_buffers[], in SetImageBuffer2() argument
314 m_v4l2SrcPlanes[i].bytesused = len_buffers[ibuf]; in SetImageBuffer2()
[all …]