Searched refs:thumbbufsize (Results 1 – 1 of 1) sorted by relevance
/hardware/google/graphics/common/libhwjpeg/ |
D | ExynosJpegEncoderForCamera.cpp | 641 size_t thumbbufsize = GetImageLength(m_nThumbWidth, m_nThumbHeight, v4l2Format); in AllocThumbBuffer() local 642 if (thumbbufsize == 0) { in AllocThumbBuffer() 648 if (m_szIONThumbImgBuffer >= thumbbufsize) return true; in AllocThumbBuffer() 660 exynos_ion_alloc(m_fdIONClient, thumbbufsize, EXYNOS_ION_HEAP_SYSTEM_MASK, 0); in AllocThumbBuffer() 662 ALOGERR("Failed to allocate %zu bytes for NV12 %ux%u", thumbbufsize, m_nThumbHeight, in AllocThumbBuffer() 668 m_szIONThumbImgBuffer = thumbbufsize; in AllocThumbBuffer() 679 size_t thumbbufsize = m_nThumbHeight * m_nThumbWidth * 3; in AllocThumbJpegBuffer() local 682 if (m_szIONThumbJpegBuffer >= thumbbufsize) return true; in AllocThumbJpegBuffer() 693 exynos_ion_alloc(m_fdIONClient, thumbbufsize, EXYNOS_ION_HEAP_SYSTEM_MASK, in AllocThumbJpegBuffer() 696 ALOGERR("Failed to allocate %zu bytes for thumbnail stream buffer of %ux%u", thumbbufsize, in AllocThumbJpegBuffer() [all …]
|