Home
last modified time | relevance | path

Searched refs:iSize (Results 1 – 4 of 4) sorted by relevance

/hardware/google/graphics/common/libhwjpeg/
DExynosJpegEncoder.cpp46 int ExynosJpegEncoder::getInBuf(int *piBuf, int *piInputSize, int iSize) { in getInBuf() argument
47 if (iSize < 1) { in getInBuf()
48 ALOGE("Invalid array size %d for getInBuf()", iSize); in getInBuf()
52 size_t len_buffers[iSize]; in getInBuf()
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()
68 int ExynosJpegEncoder::setInBuf(int *piBuf, int *iSize) { in setInBuf() argument
76 for (unsigned int i = 0; i < bufnum; i++) buflen[i] = static_cast<size_t>(iSize[i]); in setInBuf()
85 int ExynosJpegEncoder::setOutBuf(int iBuf, int iSize, int offset) { in setOutBuf() argument
86 if (!m_hwjpeg.SetJpegBuffer(iBuf, static_cast<size_t>(iSize), offset)) return -1; in setOutBuf()
[all …]
DExynosJpegEncoderForCamera.cpp790 int ExynosJpegEncoderForCamera::setInBuf2(int* piBuf, int* iSize) { in setInBuf2() argument
803 m_szThumbnailImageLen[i] = iSize[i]; in setInBuf2()
818 int ExynosJpegEncoderForCamera::setInBuf2(char** pcBuf, int* iSize) { in setInBuf2() argument
831 m_szThumbnailImageLen[i] = iSize[i]; in setInBuf2()
/hardware/google/graphics/common/libhwjpeg/include/
DExynosJpegApi.h135 int getInBuf(int *piBuf, int *piInputSize, int iSize);
137 int getInBuf(char **pcBuf, int *piInputSize, int iSize);
140 int setInBuf(int *piBuf, int *iSize);
141 int setOutBuf(int iBuf, int iSize, int offset = 0);
142 int setInBuf(char **pcBuf, int *iSize);
143 int setOutBuf(char *pcBuf, int iSize);
181 int setColorBufSize(int *piBufSize, int iSize);
DExynosJpegEncoderForCamera.h115 int setInBuf2(int* piBuf, int* iSize);
116 int setInBuf2(char** pcBuf, int* iSize);