Searched refs:stub (Results 1 – 3 of 3) sorted by relevance
/device/generic/goldfish/camera/ |
D | JpegStub.cpp | 26 extern "C" void JpegStub_init(JpegStub* stub, int* strides) { in JpegStub_init() argument 27 stub->mInternalEncoder = (void*) new Yuv420SpToJpegEncoder(strides); in JpegStub_init() 28 stub->mInternalStream = (void*)new SkDynamicMemoryWStream(); in JpegStub_init() 31 extern "C" void JpegStub_cleanup(JpegStub* stub) { in JpegStub_cleanup() argument 32 delete((Yuv420SpToJpegEncoder*)stub->mInternalEncoder); in JpegStub_cleanup() 33 delete((SkDynamicMemoryWStream*)stub->mInternalStream); in JpegStub_cleanup() 36 extern "C" int JpegStub_compress(JpegStub* stub, const void* image, in JpegStub_compress() argument 45 (Yuv420SpToJpegEncoder*)stub->mInternalEncoder; in JpegStub_compress() 47 (SkDynamicMemoryWStream*)stub->mInternalStream; in JpegStub_compress() 59 extern "C" void JpegStub_getCompressedImage(JpegStub* stub, void* buff) { in JpegStub_getCompressedImage() argument [all …]
|
D | JpegStub.h | 27 void JpegStub_init(JpegStub* stub, int* strides); 28 void JpegStub_cleanup(JpegStub* stub); 29 int JpegStub_compress(JpegStub* stub, const void* image, 31 void JpegStub_getCompressedImage(JpegStub* stub, void* buff); 32 size_t JpegStub_getCompressedSize(JpegStub* stub);
|
D | JpegCompressor.cpp | 40 typedef void (*InitFunc)(JpegStub* stub, int* strides); 41 typedef void (*CleanupFunc)(JpegStub* stub); 42 typedef int (*CompressFunc)(JpegStub* stub, const void* image, 44 typedef void (*GetCompressedImageFunc)(JpegStub* stub, void* buff); 45 typedef size_t (*GetCompressedSizeFunc)(JpegStub* stub);
|