Home
last modified time | relevance | path

Searched refs:mainlen (Results 1 – 2 of 2) sorted by relevance

/hardware/google/graphics/common/libhwjpeg/
DExynosJpegEncoderForCamera.cpp425 ssize_t mainlen = GetCompressor().Compress(&thumblen, block_mode); in encode() local
426 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() argument
452 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 …]
/hardware/google/graphics/common/libhwjpeg/include/
DExynosJpegEncoderForCamera.h85 ssize_t FinishCompression(size_t mainlen, size_t thumblen);