Searched refs:mainlen (Results 1 – 2 of 2) sorted by relevance
/hardware/google/graphics/common/libhwjpeg/ |
D | ExynosJpegEncoderForCamera.cpp | 444 ssize_t mainlen = GetCompressor().Compress(&thumblen, block_mode); in encode() local 445 if (mainlen < 0) { in encode() 446 ALOGE("Error occured while JPEG compression: %zd", mainlen); in encode() 450 if (mainlen == 0) { /* non-blocking compression */ in encode() 455 *size = static_cast<int>(FinishCompression(mainlen, thumblen)); in encode() 465 ssize_t ExynosJpegEncoderForCamera::FinishCompression(size_t mainlen, size_t thumblen) in FinishCompression() argument 474 mainlen = RemoveTrailingDummies(mainbase, mainlen); in FinishCompression() 499 …m_pAppWriter->GetMaxThumbnailSize(), max_streamsize - m_pAppWriter->CalculateAPPSize(0) - mainlen); in FinishCompression() 512 PTR_TO_ULONG(mainbase + mainlen + thumblen - JPEG_MARKER_SIZE)) { in FinishCompression() 514 max_streamsize, m_pAppWriter->CalculateAPPSize(thumblen), mainlen, thumblen); in FinishCompression() [all …]
|
/hardware/google/graphics/common/libhwjpeg/include/ |
D | ExynosJpegEncoderForCamera.h | 84 ssize_t FinishCompression(size_t mainlen, size_t thumblen);
|