/external/skia/src/images/ |
D | SkImageEncoder.cpp | 18 int quality) { in encodeStream() argument 19 quality = SkMin32(100, SkMax32(0, quality)); in encodeStream() 20 return this->onEncode(stream, bm, quality); in encodeStream() 24 int quality) { in encodeFile() argument 25 quality = SkMin32(100, SkMax32(0, quality)); in encodeFile() 27 return this->onEncode(&stream, bm, quality); in encodeFile() 31 int quality) { in EncodeFile() argument 33 return enc.get() && enc.get()->encodeFile(file, bm, quality); in EncodeFile() 37 int quality) { in EncodeStream() argument 39 return enc.get() && enc.get()->encodeStream(stream, bm, quality); in EncodeStream()
|
/external/skia/include/images/ |
D | SkImageEncoder.h | 32 bool encodeFile(const char file[], const SkBitmap&, int quality); 33 bool encodeStream(SkWStream*, const SkBitmap&, int quality); 36 int quality); 38 int quality); 41 virtual bool onEncode(SkWStream*, const SkBitmap&, int quality) = 0;
|
/external/qemu/distrib/jpeg-6b/ |
D | jcparam.c | 106 jpeg_quality_scaling (int quality) in jpeg_quality_scaling() argument 113 if (quality <= 0) quality = 1; in jpeg_quality_scaling() 114 if (quality > 100) quality = 100; in jpeg_quality_scaling() 122 if (quality < 50) in jpeg_quality_scaling() 123 quality = 5000 / quality; in jpeg_quality_scaling() 125 quality = 200 - quality*2; in jpeg_quality_scaling() 127 return quality; in jpeg_quality_scaling() 132 jpeg_set_quality (j_compress_ptr cinfo, int quality, boolean force_baseline) in jpeg_set_quality() argument 140 quality = jpeg_quality_scaling(quality); in jpeg_set_quality() 143 jpeg_set_linear_quality(cinfo, quality, force_baseline); in jpeg_set_quality()
|
D | usage.doc | 20 you may get poor image quality and/or little compression. 26 is possible if you can tolerate a low-quality image. You can trade off image 27 quality against file size by adjusting the compressor's "quality" setting. 79 -quality N Scale quantization tables to adjust image quality. 94 memory. Image quality and speed of decompression are 105 The -quality switch lets you trade off compressed file size against quality of 106 the reconstructed image: the higher the quality setting, the larger the JPEG 108 you want to use the lowest quality setting (smallest file) that decompresses 110 purpose the quality setting should be between 50 and 95; the default of 75 is 111 often about right. If you see defects at -quality 75, then go up 5 or 10 [all …]
|
D | wizard.doc | 9 with worse image quality and/or poorer compression than you'd get from the 20 the -quality setting. The details of the scaling algorithm can be found in 21 jcparam.c. At very low quality settings, some quantization table entries 25 wide compatibility of low-quality files, you can constrain the scaled 27 Note that use of -baseline will result in poorer quality for the same file 68 If the -qtables switch is used without -quality, then the specified tables 69 are used exactly as-is. If both -qtables and -quality are used, then the 71 tables would be scaled for that quality setting. If -baseline appears, then 110 with very little quality gain. 206 It may be worth pointing out that this script is tuned for quality settings [all …]
|
/external/jpeg/ |
D | jcparam.c | 106 jpeg_quality_scaling (int quality) in jpeg_quality_scaling() argument 113 if (quality <= 0) quality = 1; in jpeg_quality_scaling() 114 if (quality > 100) quality = 100; in jpeg_quality_scaling() 122 if (quality < 50) in jpeg_quality_scaling() 123 quality = 5000 / quality; in jpeg_quality_scaling() 125 quality = 200 - quality*2; in jpeg_quality_scaling() 127 return quality; in jpeg_quality_scaling() 132 jpeg_set_quality (j_compress_ptr cinfo, int quality, boolean force_baseline) in jpeg_set_quality() argument 140 quality = jpeg_quality_scaling(quality); in jpeg_set_quality() 143 jpeg_set_linear_quality(cinfo, quality, force_baseline); in jpeg_set_quality()
|
D | usage.doc | 20 you may get poor image quality and/or little compression. 26 is possible if you can tolerate a low-quality image. You can trade off image 27 quality against file size by adjusting the compressor's "quality" setting. 79 -quality N Scale quantization tables to adjust image quality. 94 memory. Image quality and speed of decompression are 105 The -quality switch lets you trade off compressed file size against quality of 106 the reconstructed image: the higher the quality setting, the larger the JPEG 108 you want to use the lowest quality setting (smallest file) that decompresses 110 purpose the quality setting should be between 50 and 95; the default of 75 is 111 often about right. If you see defects at -quality 75, then go up 5 or 10 [all …]
|
D | wizard.doc | 9 with worse image quality and/or poorer compression than you'd get from the 20 the -quality setting. The details of the scaling algorithm can be found in 21 jcparam.c. At very low quality settings, some quantization table entries 25 wide compatibility of low-quality files, you can constrain the scaled 27 Note that use of -baseline will result in poorer quality for the same file 68 If the -qtables switch is used without -quality, then the specified tables 69 are used exactly as-is. If both -qtables and -quality are used, then the 71 tables would be scaled for that quality setting. If -baseline appears, then 110 with very little quality gain. 206 It may be worth pointing out that this script is tuned for quality settings [all …]
|
/external/icu4c/i18n/ |
D | csr2022.cpp | 39 int32_t quality; in match_2022() local 89 quality = (100*hits - 100*misses) / (hits + misses); in match_2022() 95 quality -= (5-(hits+shifts))*10; in match_2022() 98 if (quality < 0) { in match_2022() 99 quality = 0; in match_2022() 102 return quality; in match_2022()
|
/external/webkit/Source/WebCore/platform/graphics/gtk/ |
D | ImageBufferGtk.cpp | 35 String ImageBuffer::toDataURL(const String& mimeType, const double* quality) const in toDataURL() 56 if (type == "jpeg" && quality && *quality >= 0.0 && *quality <= 1.0) { in toDataURL() 57 String qualityString = String::format("%f", *quality * 100.0); in toDataURL()
|
/external/webp/src/enc/ |
D | config.c | 24 WebPPreset preset, float quality, int version) { in WebPConfigInitInternal() argument 30 config->quality = quality; in WebPConfigInitInternal() 81 if (config->quality < 0 || config->quality > 100) in WebPValidateConfig()
|
/external/webkit/Source/WebCore/html/ |
D | AsyncImageResizer.cpp | 43 …redBounds, ScriptValue successCallback, ScriptValue errorCallback, float quality, AspectRatioOptio… in create() argument 45 …(cachedImage, outputType, desiredBounds, successCallback, errorCallback, quality, aspectRatioOptio… in create() 48 …redBounds, ScriptValue successCallback, ScriptValue errorCallback, float quality, AspectRatioOptio… in AsyncImageResizer() argument 54 , m_quality(quality) in AsyncImageResizer()
|
D | ImageResizerThread.cpp | 53 …, AsyncImageResizer::OutputType outputType, IntSize desiredBounds, float quality, AsyncImageResize… in start() argument 55 …Thread = new ImageResizerThread(callbackInfo, outputType, desiredBounds, quality, aspectRatioOptio… in start() 65 …, AsyncImageResizer::OutputType outputType, IntSize desiredBounds, float quality, AsyncImageResize… in ImageResizerThread() argument 70 , m_quality(quality) in ImageResizerThread()
|
D | ImageResizerThread.h | 45 …llbackInfo*, AsyncImageResizer::OutputType, IntSize desiredBounds, float quality, AsyncImageResize… 49 …llbackInfo*, AsyncImageResizer::OutputType, IntSize desiredBounds, float quality, AsyncImageResize…
|
D | AsyncImageResizer.h | 80 …redBounds, ScriptValue successCallback, ScriptValue errorCallback, float quality, AspectRatioOptio… 89 …redBounds, ScriptValue successCallback, ScriptValue errorCallback, float quality, AspectRatioOptio…
|
/external/webkit/Source/WebCore/platform/image-encoders/skia/ |
D | JPEGImageEncoder.cpp | 103 bool premultiplied, int quality, Vector<unsigned char>* output) in encodePixels() argument 134 jpeg_set_quality(&cinfo, quality, TRUE); in encodePixels() 153 bool JPEGImageEncoder::encode(const SkBitmap& bitmap, int quality, Vector<unsigned char>* output) in encode() argument 162 true, quality, output); in encode() 165 bool JPEGImageEncoder::encode(const ImageData& imageData, int quality, Vector<unsigned char>* outpu… in encode() argument 168 false, quality, output); in encode()
|
D | JPEGImageEncoder.h | 45 static bool encode(const SkBitmap&, int quality, Vector<unsigned char>*); 46 static bool encode(const ImageData&, int quality, Vector<unsigned char>*);
|
/external/speex/libspeex/ |
D | resample.c | 121 int quality; member 561 st->oversample = quality_map[st->quality].oversample; in update_filter() 562 st->filt_len = quality_map[st->quality].base_length; in update_filter() 567 st->cutoff = quality_map[st->quality].downsample_bandwidth * st->den_rate / st->num_rate; in update_filter() 584 st->cutoff = quality_map[st->quality].upsample_bandwidth; in update_filter() 607 …_t)st->filt_len/2+1)-((float)i)/st->den_rate), st->filt_len, quality_map[st->quality].window_func); in update_filter() 613 if (st->quality>8) in update_filter() 629 …ff,(i/(float)st->oversample - st->filt_len/2), st->filt_len, quality_map[st->quality].window_func); in update_filter() 633 if (st->quality>8) in update_filter() 728 …_init(spx_uint32_t nb_channels, spx_uint32_t in_rate, spx_uint32_t out_rate, int quality, int *err) in speex_resampler_init() argument [all …]
|
/external/skia/src/animator/ |
D | SkSnapshot.cpp | 21 SK_MEMBER(quality, Float), 32 quality = 100 * SK_Scalar1; in SkSnapshot() 61 SkScalarFloor(quality)); in draw()
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
D | ImageBufferCG.cpp | 315 static String CGImageToDataURL(CGImageRef image, const String& mimeType, const double* quality) in CGImageToDataURL() argument 329 if (CFEqual(uti.get(), jpegUTI()) && quality && *quality >= 0.0 && *quality <= 1.0) { in CGImageToDataURL() 331 …ef> compressionQuality(AdoptCF, CFNumberCreate(kCFAllocatorDefault, kCFNumberDoubleType, quality)); in CGImageToDataURL() 346 String ImageBuffer::toDataURL(const String& mimeType, const double* quality) const in toDataURL() 361 return CGImageToDataURL(image.get(), mimeType, quality); in toDataURL() 364 String ImageDataToDataURL(const ImageData& source, const String& mimeType, const double* quality) in ImageDataToDataURL() argument 385 return CGImageToDataURL(image.get(), mimeType, quality); in ImageDataToDataURL()
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
D | ImageBufferSkia.cpp | 352 static String ImageToDataURL(T& source, const String& mimeType, const double* quality) in ImageToDataURL() argument 359 if (quality && *quality >= 0.0 && *quality <= 1.0) in ImageToDataURL() 360 compressionQuality = static_cast<int>(*quality * 100 + 0.5); in ImageToDataURL() 375 String ImageBuffer::toDataURL(const String& mimeType, const double* quality) const in toDataURL() 390 return ImageToDataURL(bitmap, mimeType, quality); in toDataURL() 393 String ImageDataToDataURL(const ImageData& source, const String& mimeType, const double* quality) in ImageDataToDataURL() argument 395 return ImageToDataURL(source, mimeType, quality); in ImageDataToDataURL()
|
/external/speex/include/speex/ |
D | speex_resampler.h | 126 int quality, 147 int quality, 267 int quality); 275 int *quality);
|
/external/webkit/Source/WebCore/bindings/js/ |
D | JSHTMLCanvasElementCustom.cpp | 98 double quality; in toDataURL() local 103 quality = v.toNumber(exec); in toDataURL() 104 qualityPtr = &quality; in toDataURL()
|
/external/webp/include/webp/ |
D | encode.h | 52 float quality; // between 0 (smallest file) and 100 (biggest) member 103 WebPPreset preset, float quality) { in WebPConfigPreset() argument 104 return WebPConfigInitInternal(config, preset, quality, in WebPConfigPreset()
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
D | V8HTMLCanvasElementCustom.cpp | 105 double quality; in toDataURLCallback() local 108 quality = args[1]->NumberValue(); in toDataURLCallback() 109 qualityPtr = &quality; in toDataURLCallback()
|