Home
last modified time | relevance | path

Searched refs:compressor (Results 1 – 6 of 6) sorted by relevance

/device/generic/goldfish/camera/jpeg-stub/
DJpegStub.cpp43 Compressor* compressor = reinterpret_cast<Compressor*>(stub->mCompressor); in JpegStub_compress() local
45 if (compressor->compress(reinterpret_cast<const unsigned char*>(buffer), in JpegStub_compress()
49 width, height, compressor->getCompressedData().size()); in JpegStub_compress()
57 Compressor* compressor = reinterpret_cast<Compressor*>(stub->mCompressor); in JpegStub_getCompressedImage() local
59 const std::vector<unsigned char>& data = compressor->getCompressedData(); in JpegStub_getCompressedImage()
64 Compressor* compressor = reinterpret_cast<Compressor*>(stub->mCompressor); in JpegStub_getCompressedSize() local
66 return compressor->getCompressedData().size(); in JpegStub_getCompressedSize()
/device/google/cuttlefish/guest/hals/camera/
DJpegStub.cpp43 Compressor* compressor = reinterpret_cast<Compressor*>(stub->mCompressor); in JpegStub_compress() local
45 if (compressor->compress(reinterpret_cast<const unsigned char*>(buffer), in JpegStub_compress()
49 width, height, compressor->getCompressedData().size()); in JpegStub_compress()
57 Compressor* compressor = reinterpret_cast<Compressor*>(stub->mCompressor); in JpegStub_getCompressedImage() local
59 const std::vector<unsigned char>& data = compressor->getCompressedData(); in JpegStub_getCompressedImage()
64 Compressor* compressor = reinterpret_cast<Compressor*>(stub->mCompressor); in JpegStub_getCompressedSize() local
66 return compressor->getCompressedData().size(); in JpegStub_getCompressedSize()
DThumbnail.cpp145 NV21JpegCompressor compressor; in createThumbnail() local
146 status_t result = compressor.compressRawImage(&rawThumbnail[0], in createThumbnail()
157 exifData->size = compressor.getCompressedSize(); in createThumbnail()
165 compressor.getCompressedImage(exifData->data); in createThumbnail()
DCallbackNotifier.cpp240 NV21JpegCompressor compressor; in onNextFrameAvailable() local
268 status_t res = compressor.compressRawImage(frame, exifData, mJpegQuality, width, height); in onNextFrameAvailable()
271 mGetMemoryCB(-1, compressor.getCompressedSize(), 1, mCBOpaque); in onNextFrameAvailable()
273 compressor.getCompressedImage(jpeg_buff->data); in onNextFrameAvailable()
/device/generic/goldfish/camera/
DThumbnail.cpp100 NV21JpegCompressor compressor; in createThumbnail() local
101 status_t result = compressor.compressRawImage(&rawThumbnail[0], in createThumbnail()
112 exifData->size = compressor.getCompressedSize(); in createThumbnail()
120 compressor.getCompressedImage(exifData->data); in createThumbnail()
DCallbackNotifier.cpp315 NV21JpegCompressor compressor; in onNextFrameAvailable() local
316 status_t res = compressor.compressRawImage(frame, width, height, in onNextFrameAvailable()
320 mGetMemoryCB(-1, compressor.getCompressedSize(), 1, mCBOpaque); in onNextFrameAvailable()
322 compressor.getCompressedImage(jpeg_buff->data); in onNextFrameAvailable()