Searched refs:cinfo (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/libs/hwui/jni/ |
D | YuvToJpegEncoder.cpp | 29 void error_exit(j_common_ptr cinfo) { in error_exit() argument 30 ErrorMgr* err = (ErrorMgr*) cinfo->err; in error_exit() 31 (*cinfo->err->output_message) (cinfo); in error_exit() 37 jpeg_compress_struct cinfo; in encode() local 41 cinfo.err = jpeg_std_error(&err.pub); in encode() 45 jpeg_destroy_compress(&cinfo); in encode() 48 jpeg_create_compress(&cinfo); in encode() 50 cinfo.dest = &sk_wstream; in encode() 52 setJpegCompressStruct(&cinfo, width, height, jpegQuality); in encode() 54 jpeg_start_compress(&cinfo, TRUE); in encode() [all …]
|
D | YuvToJpegEncoder.h | 41 void setJpegCompressStruct(jpeg_compress_struct* cinfo, int width, 43 virtual void configSamplingFactors(jpeg_compress_struct* cinfo) = 0; 44 virtual void compress(jpeg_compress_struct* cinfo, 54 void configSamplingFactors(jpeg_compress_struct* cinfo); 59 void compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets); 68 void configSamplingFactors(jpeg_compress_struct* cinfo); 69 void compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets);
|
/frameworks/av/cmds/stagefright/ |
D | jpeg.cpp | 35 void sf_jpeg_error_exit(j_common_ptr cinfo) { in sf_jpeg_error_exit() argument 36 struct sf_jpeg_error_mgr *sf_err = (struct sf_jpeg_error_mgr *)cinfo->err; in sf_jpeg_error_exit() 42 struct jpeg_compress_struct cinfo; in writeJpegFile() local 52 cinfo.err = jpeg_std_error(&sf_err.jerr); in writeJpegFile() 55 jpeg_destroy_compress(&cinfo); in writeJpegFile() 60 jpeg_create_compress(&cinfo); in writeJpegFile() 61 jpeg_stdio_dest(&cinfo, f); in writeJpegFile() 63 cinfo.image_width = width; in writeJpegFile() 64 cinfo.image_height = height; in writeJpegFile() 65 cinfo.input_components = 3; in writeJpegFile() [all …]
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | DepthPhotoProcessor.cpp | 66 inline void operator()(jpeg_compress_struct* cinfo) const { in operator ()() 67 jpeg_destroy_compress(cinfo); in operator ()() 128 std::unique_ptr<jpeg_compress_struct> cinfo = std::make_unique<jpeg_compress_struct>(); in encodeGrayscaleJpeg() local 135 cinfo->err = jpeg_std_error(&jerr); in encodeGrayscaleJpeg() 137 cinfo->err->output_message = [](j_common_ptr cinfo) { in encodeGrayscaleJpeg() argument 141 (*cinfo->err->format_message)(cinfo, buffer); in encodeGrayscaleJpeg() 145 cinfo->err->error_exit = [](j_common_ptr cinfo) { in encodeGrayscaleJpeg() argument 146 (*cinfo->err->output_message)(cinfo); in encodeGrayscaleJpeg() 147 if(cinfo->client_data) { in encodeGrayscaleJpeg() 148 auto & dmgr = *static_cast<CustomJpegDestMgr*>(cinfo->client_data); in encodeGrayscaleJpeg() [all …]
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | JpegCompressor.cpp | 191 void JpegCompressor::jpegErrorHandler(j_common_ptr cinfo) { in jpegErrorHandler() argument 193 JpegError *error = static_cast<JpegError*>(cinfo->err); in jpegErrorHandler() 194 error->parent->mJpegErrorInfo = cinfo; in jpegErrorHandler() 197 void JpegCompressor::jpegInitDestination(j_compress_ptr cinfo) { in jpegInitDestination() argument 199 JpegDestination *dest= static_cast<JpegDestination*>(cinfo->dest); in jpegInitDestination() 213 void JpegCompressor::jpegTermDestination(j_compress_ptr cinfo) { in jpegTermDestination() argument 214 (void) cinfo; // TODO: clean up in jpegTermDestination() 217 __FUNCTION__, cinfo->dest->free_in_buffer); in jpegTermDestination()
|
D | JpegCompressor.h | 86 static void jpegErrorHandler(j_common_ptr cinfo); 88 static void jpegInitDestination(j_compress_ptr cinfo); 89 static boolean jpegEmptyOutputBuffer(j_compress_ptr cinfo); 90 static void jpegTermDestination(j_compress_ptr cinfo);
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | NV12Compressor.cpp | 217 void NV12Compressor::ErrorManager::onJpegError(j_common_ptr cinfo) { in onJpegError() argument 222 ErrorManager* errorManager = reinterpret_cast<ErrorManager*>(cinfo->err); in onJpegError() 226 (*errorManager->format_message)(cinfo, errorMessage); in onJpegError() 229 jpeg_destroy(cinfo); in onJpegError() 241 void NV12Compressor::DestinationManager::initDestination(j_compress_ptr cinfo) { in initDestination() argument 242 auto manager = reinterpret_cast<DestinationManager*>(cinfo->dest); in initDestination() 251 j_compress_ptr cinfo) { in emptyOutputBuffer() argument 252 auto manager = reinterpret_cast<DestinationManager*>(cinfo->dest); in emptyOutputBuffer() 263 void NV12Compressor::DestinationManager::termDestination(j_compress_ptr cinfo) { in termDestination() argument 264 auto manager = reinterpret_cast<DestinationManager*>(cinfo->dest); in termDestination()
|
D | NV12Compressor.h | 70 static void initDestination(j_compress_ptr cinfo); 71 static boolean emptyOutputBuffer(j_compress_ptr cinfo); 72 static void termDestination(j_compress_ptr cinfo); 80 static void onJpegError(j_common_ptr cinfo);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RIL.java | 5890 CallForwardInfo[] cinfo = (CallForwardInfo[]) ret; in retToString() local 5891 length = cinfo.length; in retToString() 5894 sb.append("[").append(cinfo[i]).append("] "); in retToString()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 9928 AccessibilityNodeInfo cinfo = provider.createAccessibilityNodeInfo( 9931 populateVirtualStructure(child, provider, cinfo, forAutofill); 9932 cinfo.recycle();
|