Lines Matching refs:iSize
46 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()
93 int ExynosJpegEncoder::getInBuf(char **pcBuf, int *piInputSize, int iSize) { in getInBuf() argument
94 if (iSize < 1) { in getInBuf()
95 ALOGE("Invalid array size %d for getInBuf()", iSize); in getInBuf()
99 size_t len_buffers[iSize]; in getInBuf()
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()
115 int ExynosJpegEncoder::setInBuf(char **pcBuf, int *iSize) { in setInBuf() argument
123 for (unsigned int i = 0; i < bufnum; i++) buflen[i] = static_cast<size_t>(iSize[i]); in setInBuf()
131 int ExynosJpegEncoder::setOutBuf(char *pcBuf, int iSize) { in setOutBuf() argument
132 if (!m_hwjpeg.SetJpegBuffer(pcBuf, static_cast<size_t>(iSize))) return -1; in setOutBuf()
180 int ExynosJpegEncoder::setColorBufSize(int *piBufSize, int iSize) { in setColorBufSize() argument
182 unsigned int num = static_cast<unsigned int>(iSize); in setColorBufSize()