Searched refs:NV12Compressor (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/services/camera/libcameraservice/tests/ |
D | NV12Compressor.cpp | 41 bool NV12Compressor::compress(const unsigned char* data, int width, int height, int quality) { in compress() 51 bool NV12Compressor::compressWithExifOrientation(const unsigned char* data, int width, int height, in compressWithExifOrientation() 78 const std::vector<uint8_t>& NV12Compressor::getCompressedData() const { in getCompressedData() 82 bool NV12Compressor::configureCompressor(int width, int height, int quality) { in configureCompressor() 137 bool NV12Compressor::compressData(const unsigned char* data, ExifData* exifData) { in compressData() 193 bool NV12Compressor::attachExifData(ExifData* exifData) { in attachExifData() 213 NV12Compressor::ErrorManager::ErrorManager() { in ErrorManager() 217 void NV12Compressor::ErrorManager::onJpegError(j_common_ptr cinfo) { in onJpegError() 235 NV12Compressor::DestinationManager::DestinationManager() { in DestinationManager() 241 void NV12Compressor::DestinationManager::initDestination(j_compress_ptr cinfo) { in initDestination() [all …]
|
D | DepthProcessorTest.cpp | 56 NV12Compressor jpegCompressor; in generateColorJpegBuffer() 151 ASSERT_EQ(NV12Compressor::findJpegSize(depthPhotoBuffer.data(), actualDepthPhotoSize, in TEST() 155 ASSERT_EQ(NV12Compressor::findJpegSize(depthPhotoBuffer.data() + mainJpegSize, in TEST() 172 ASSERT_EQ(NV12Compressor::getExifOrientation(colorJpegBuffer.data(), in TEST() 200 ASSERT_EQ(NV12Compressor::findJpegSize(depthPhotoBuffer.data(), actualDepthPhotoSize, in TEST() 204 ASSERT_EQ(NV12Compressor::findJpegSize(depthPhotoBuffer.data() + mainJpegSize, in TEST() 211 ASSERT_EQ(NV12Compressor::getExifOrientation(depthPhotoBuffer.data() + mainJpegSize, in TEST() 222 ASSERT_EQ(NV12Compressor::getExifOrientation( in TEST() 259 ASSERT_EQ(NV12Compressor::getExifOrientation(colorJpegBuffer.data(), colorJpegBuffer.size(), in TEST() 287 ASSERT_EQ(NV12Compressor::findJpegSize(depthPhotoBuffer.data(), actualDepthPhotoSize, in TEST() [all …]
|
D | NV12Compressor.h | 35 class NV12Compressor { 37 NV12Compressor() {} in NV12Compressor() function
|