Home
last modified time | relevance | path

Searched refs:quality (Results 1 – 25 of 806) sorted by relevance

12345678910>>...33

/external/brotli/c/enc/
Dquality.h36 static BROTLI_INLINE size_t MaxHashTableSize(int quality) { in MaxHashTableSize() argument
37 return quality == FAST_ONE_PASS_COMPRESSION_QUALITY ? 1 << 15 : 1 << 17; in MaxHashTableSize()
48 return params->quality <= 10 ? in MaxZopfliLen()
56 return params->quality <= 10 ? 1 : 5; in MaxZopfliCandidates()
60 params->quality = BROTLI_MIN(int, BROTLI_MAX_QUALITY, in SanitizeParams()
61 BROTLI_MAX(int, BROTLI_MIN_QUALITY, params->quality)); in SanitizeParams()
62 if (params->quality <= MAX_QUALITY_FOR_STATIC_ENTROPY_CODES) { in SanitizeParams()
77 if (params->quality == FAST_ONE_PASS_COMPRESSION_QUALITY || in ComputeLgBlock()
78 params->quality == FAST_TWO_PASS_COMPRESSION_QUALITY) { in ComputeLgBlock()
80 } else if (params->quality < MIN_QUALITY_FOR_BLOCK_SPLIT) { in ComputeLgBlock()
[all …]
Dencode.c145 state->params.quality = (int)value; in BrotliEncoderSetParameter()
212 static int* GetHashTable(BrotliEncoderState* s, int quality, in GetHashTable() argument
219 const size_t max_table_size = MaxHashTableSize(quality); in GetHashTable()
223 if (quality == FAST_ONE_PASS_COMPRESSION_QUALITY) { in GetHashTable()
322 static void ChooseContextMap(int quality, in ChooseContextMap() argument
364 if (quality < MIN_QUALITY_FOR_HQ_CONTEXT_MODELING) { in ChooseContextMap()
386 size_t start_pos, size_t length, size_t mask, int quality, size_t size_hint, in ShouldUseComplexStaticContextMap() argument
406 BROTLI_UNUSED(quality); in ShouldUseComplexStaticContextMap()
466 size_t start_pos, size_t length, size_t mask, int quality, size_t size_hint, in DecideOverLiteralContextModeling() argument
468 if (quality < MIN_QUALITY_FOR_CONTEXT_MODELING || length < 64) { in DecideOverLiteralContextModeling()
[all …]
/external/skia/src/images/
DSkImageEncoder.cpp32 SkEncodedImageFormat format, int quality) { in SkEncodeImage() argument
34 (void)quality; in SkEncodeImage()
37 return SkEncodeImageWithWIC(dst, src, format, quality); in SkEncodeImage()
42 opts.fQuality = quality; in SkEncodeImage()
51 if (quality == 100) { in SkEncodeImage()
68 opts.fQuality = quality; in SkEncodeImage()
97 sk_sp<SkData> SkEncodePixmap(const SkPixmap& src, SkEncodedImageFormat format, int quality) { in SkEncodePixmap() argument
99 return SkEncodeImage(&stream, src, format, quality) ? stream.detachAsData() : nullptr; in SkEncodePixmap()
102 sk_sp<SkData> SkEncodeBitmap(const SkBitmap& src, SkEncodedImageFormat format, int quality) { in SkEncodeBitmap() argument
104 return src.peekPixels(&pixmap) ? SkEncodePixmap(pixmap, format, quality) : nullptr; in SkEncodeBitmap()
/external/skqp/src/images/
DSkImageEncoder.cpp32 SkEncodedImageFormat format, int quality) { in SkEncodeImage() argument
34 (void)quality; in SkEncodeImage()
37 return SkEncodeImageWithWIC(dst, src, format, quality); in SkEncodeImage()
42 opts.fQuality = quality; in SkEncodeImage()
52 opts.fQuality = quality; in SkEncodeImage()
80 sk_sp<SkData> SkEncodePixmap(const SkPixmap& src, SkEncodedImageFormat format, int quality) { in SkEncodePixmap() argument
82 return SkEncodeImage(&stream, src, format, quality) ? stream.detachAsData() : nullptr; in SkEncodePixmap()
85 sk_sp<SkData> SkEncodeBitmap(const SkBitmap& src, SkEncodedImageFormat format, int quality) { in SkEncodeBitmap() argument
87 return src.peekPixels(&pixmap) ? SkEncodePixmap(pixmap, format, quality) : nullptr; in SkEncodeBitmap()
/external/brotli/java/org/brotli/wrapper/enc/
DEncoder.java29 private int quality = -1; field in Encoder.Parameters
35 this.quality = other.quality; in Parameters()
42 public Parameters setQuality(int quality) { in setQuality() argument
43 if (quality < -1 || quality > 11) { in setQuality()
46 this.quality = quality; in setQuality()
78 this.encoder = new EncoderJNI.Wrapper(inputBufferSize, params.quality, params.lgwin); in Encoder()
166 EncoderJNI.Wrapper encoder = new EncoderJNI.Wrapper(data.length, params.quality, params.lgwin); in compress()
/external/libjpeg-turbo/
Djcparam.c130 jpeg_quality_scaling(int quality) in jpeg_quality_scaling() argument
137 if (quality <= 0) quality = 1; in jpeg_quality_scaling()
138 if (quality > 100) quality = 100; in jpeg_quality_scaling()
146 if (quality < 50) in jpeg_quality_scaling()
147 quality = 5000 / quality; in jpeg_quality_scaling()
149 quality = 200 - quality * 2; in jpeg_quality_scaling()
151 return quality; in jpeg_quality_scaling()
156 jpeg_set_quality(j_compress_ptr cinfo, int quality, boolean force_baseline) in jpeg_set_quality() argument
164 quality = jpeg_quality_scaling(quality); in jpeg_set_quality()
167 jpeg_set_linear_quality(cinfo, quality, force_baseline); in jpeg_set_quality()
Dusage.txt73 -quality N[,...] Scale quantization tables to adjust image quality.
92 memory. Image quality and speed of decompression are
103 The -quality switch lets you trade off compressed file size against quality of
104 the reconstructed image: the higher the quality setting, the larger the JPEG
106 you want to use the lowest quality setting (smallest file) that decompresses
108 purpose the quality setting should generally be between 50 and 95 (the default
109 is 75) for photographic images. If you see defects at -quality 75, then go up
113 -quality 100 will generate a quantization table of all 1's, minimizing loss
115 as well as roundoff error.) For most images, specifying a quality value above
117 the quality gain from these higher quality values is measurable (using metrics
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCharsetRecog_2022.java40 int quality; in match() local
82 quality = (100*hits - 100*misses) / (hits + misses); in match()
88 quality -= (5-(hits+shifts))*10; in match()
91 if (quality < 0) { in match()
92 quality = 0; in match()
94 return quality; in match()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCharsetRecog_2022.java41 int quality; in match() local
83 quality = (100*hits - 100*misses) / (hits + misses); in match()
89 quality -= (5-(hits+shifts))*10; in match()
92 if (quality < 0) { in match()
93 quality = 0; in match()
95 return quality; in match()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/transcode/
DBitmapBytesTranscoder.java17 private final int quality; field in BitmapBytesTranscoder
23 public BitmapBytesTranscoder(Bitmap.CompressFormat compressFormat, int quality) { in BitmapBytesTranscoder() argument
25 this.quality = quality; in BitmapBytesTranscoder()
31 toTranscode.get().compress(compressFormat, quality, os); in transcode()
/external/icu/icu4c/source/i18n/
Dcsr2022.cpp41 int32_t quality; in match_2022() local
91 quality = (100*hits - 100*misses) / (hits + misses); in match_2022()
97 quality -= (5-(hits+shifts))*10; in match_2022()
100 if (quality < 0) { in match_2022()
101 quality = 0; in match_2022()
104 return quality; in match_2022()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DBitmapEncoder.java29 private int quality; field in BitmapEncoder
35 public BitmapEncoder(Bitmap.CompressFormat compressFormat, int quality) { in BitmapEncoder() argument
37 this.quality = quality; in BitmapEncoder()
46 bitmap.compress(format, quality, os); in encode()
/external/brotli/tests/
Droundtrip_test.sh23 for quality in 1 6 9 11; do
24 echo "Roundtrip testing $file at quality $quality"
27 $BROTLI -fq $quality $file -o $compressed
31 cat $file | $BROTLI -cq $quality | $BROTLI -cd >$uncompressed
/external/swiftshader/src/D3D9/
DDirect3DSurface9.cpp42 int sampleCount(D3DMULTISAMPLE_TYPE multiSample, unsigned int quality) in sampleCount() argument
46 switch(quality) in sampleCount()
79 …RMAT format, D3DPOOL pool, D3DMULTISAMPLE_TYPE multiSample, unsigned int quality, bool lockableOve… in Direct3DSurface9() argument
80quality, format)), Surface(getParentResource(container), width, height, 1, 0, sampleCount(multiSam… in Direct3DSurface9()
337 description->MultiSampleQuality = quality; in GetDesc()
412 …age(int width, int height, D3DMULTISAMPLE_TYPE multiSample, unsigned int quality, D3DFORMAT format) in memoryUsage() argument
414 …return Surface::size(width, height, 1, 0, sampleCount(multiSample, quality), translateFormat(forma… in memoryUsage()
/external/webp/src/enc/
Dconfig_enc.c25 WebPPreset preset, float quality, int version) { in WebPConfigInitInternal() argument
31 config->quality = quality; in WebPConfigInitInternal()
98 if (config->quality < 0 || config->quality > 100) return 0; in WebPValidateConfig()
148 config->quality = kLosslessPresets[level].quality_; in WebPConfigLosslessPreset()
/external/bsdiff/
Dbsdiff_arguments_unittest.cc62 int quality; in TEST() local
63 EXPECT_TRUE(BsdiffArguments::ParseQuality("9", &quality, 0, 11)); in TEST()
64 EXPECT_EQ(9, quality); in TEST()
67 EXPECT_FALSE(BsdiffArguments::ParseQuality("30", &quality, 0, 11)); in TEST()
68 EXPECT_FALSE(BsdiffArguments::ParseQuality("1234567890", &quality, 0, 1000)); in TEST()
69 EXPECT_FALSE(BsdiffArguments::ParseQuality("aabb", &quality, 0, 1000)); in TEST()
/external/tcpdump/tests/
DOLSRv1_HNA_sgw_1.out11 neighbor 172.29.175.221, link-quality 0.00%, neighbor-link-quality 0.00%
13 neighbor 172.31.175.221, link-quality 0.00%, neighbor-link-quality 0.00%
/external/sonic/
Dmain.c25 int quality, in runSonic() argument
38 sonicSetQuality(stream, quality); in runSonic()
82 int quality = 0; in main() local
97 quality = 1; in main()
134 runSonic(inFile, outFile, speed, pitch, rate, volume, emulateChordPitch, quality, in main()
/external/skqp/experimental/canvaskit/htmlcanvas/
Dhtmlcanvas.js49 this.toDataURL = function(codec, quality) { argument
64 var quality = quality || 0.92;
65 var skimg = img.encodeToData(format, quality);
/external/skia/modules/canvaskit/htmlcanvas/
Dhtmlcanvas.js49 this.toDataURL = function(codec, quality) { argument
64 var quality = quality || 0.92;
65 var skimg = img.encodeToData(format, quality);
/external/autotest/server/site_tests/audio_AudioBasicHeadphone/
Dcontrol.quality8 NAME = "audio_AudioBasicHeadphone.quality"
9 PURPOSE = "Remotely controlled headphone audio test with quality check."
20 This test remotely tests headphone audio function and quality.
29 tag="quality")
/external/speex/libspeexdsp/
Dresample.c122 int quality; member
604 st->oversample = quality_map[st->quality].oversample; in update_filter()
605 st->filt_len = quality_map[st->quality].base_length; in update_filter()
610 st->cutoff = quality_map[st->quality].downsample_bandwidth * st->den_rate / st->num_rate; in update_filter()
627 st->cutoff = quality_map[st->quality].upsample_bandwidth; in update_filter()
665 …_t)st->filt_len/2+1)-((float)i)/st->den_rate), st->filt_len, quality_map[st->quality].window_func); in update_filter()
671 if (st->quality>8) in update_filter()
680 …ff,(i/(float)st->oversample - st->filt_len/2), st->filt_len, quality_map[st->quality].window_func); in update_filter()
684 if (st->quality>8) in update_filter()
783 …_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/autotest/server/site_tests/audio_AudioBasicExternalMicrophone/
Dcontrol.quality8 NAME = "audio_AudioBasicExternalMicrophone.quality"
9 PURPOSE = "Remotely controlled external microphone audio test with quality check."
20 This test remotely tests external microphone audio function and quality.
29 check_quality=True, tag="quality")
/external/autotest/server/site_tests/audio_AudioBasicBluetoothPlaybackRecord/
Dcontrol.quality8 NAME = "audio_AudioBasicBluetoothPlaybackRecord.quality"
9 PURPOSE = "Remotely controlled bluetooth playback/record audio test with quality check."
20 This test remotely tests bluetooth playback and record audio function and quality.
29 check_quality=True, tag="quality")
/external/libopus/tests/
Drun_vectors.sh137 mono1=`grep quality logs_mono.txt | awk '{sum+=$4}END{if (NR == 12) sum /= 12; else sum = 0; print …
138 mono2=`grep quality logs_mono2.txt | awk '{sum+=$4}END{if (NR == 12) sum /= 12; else sum = 0; print…
141 stereo1=`grep quality logs_stereo.txt | awk '{sum+=$4}END{if (NR == 12) sum /= 12; else sum = 0; pr…
142 stereo2=`grep quality logs_stereo2.txt | awk '{sum+=$4}END{if (NR == 12) sum /= 12; else sum = 0; p…

12345678910>>...33