Searched refs:cinfo (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
D | YuvToJpegEncoder.cpp | 26 jpeg_compress_struct cinfo; in encode() local 30 cinfo.err = jpeg_std_error(&sk_err); in encode() 35 jpeg_create_compress(&cinfo); in encode() 37 cinfo.dest = &sk_wstream; in encode() 39 setJpegCompressStruct(&cinfo, width, height, jpegQuality); in encode() 41 jpeg_start_compress(&cinfo, TRUE); in encode() 43 compress(&cinfo, (uint8_t*) inYuv, offsets); in encode() 45 jpeg_finish_compress(&cinfo); in encode() 50 void YuvToJpegEncoder::setJpegCompressStruct(jpeg_compress_struct* cinfo, in setJpegCompressStruct() argument 52 cinfo->image_width = width; in setJpegCompressStruct() [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/native/include/ui/ |
D | PixelFormat.h | 96 return (ci <= 3) ? (cinfo[ci].h - cinfo[ci].l) : 0; in getSize() 103 szinfo cinfo[4]; member
|