Searched refs:mainlen (Results 1 – 2 of 2) sorted by relevance
425 ssize_t mainlen = GetCompressor().Compress(&thumblen, block_mode); in encode() local426 if (mainlen < 0) { in encode()427 ALOGE("Error occured while JPEG compression: %zd", mainlen); in encode()431 if (mainlen == 0) { /* non-blocking compression */ in encode()436 *size = static_cast<int>(FinishCompression(mainlen, thumblen)); in encode()444 ssize_t ExynosJpegEncoderForCamera::FinishCompression(size_t mainlen, size_t thumblen) { in FinishCompression() argument452 mainlen = RemoveTrailingDummies(mainbase, mainlen); in FinishCompression()479 max_streamsize - m_pAppWriter->CalculateAPPSize(0) - mainlen); in FinishCompression()491 PTR_TO_ULONG(mainbase + mainlen + thumblen - JPEG_MARKER_SIZE)) { in FinishCompression()493 max_streamsize, m_pAppWriter->CalculateAPPSize(thumblen), mainlen, thumblen); in FinishCompression()[all …]
85 ssize_t FinishCompression(size_t mainlen, size_t thumblen);