/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/jpeg/ |
JPEGImageDecoderTest.cpp | 67 void downsample(size_t maxDecodedBytes, unsigned* outputWidth, unsigned* outputHeight, const char* imageFilePath) function 90 // Tests that JPEG decoder can downsample image whose width and height are multiple of 8, 98 // 1/8 downsample. 99 downsample(40 * 40 * 4, &outputWidth, &outputHeight, jpegFile); 103 // 2/8 downsample. 104 downsample(70 * 70 * 4, &outputWidth, &outputHeight, jpegFile); 108 // 3/8 downsample. 109 downsample(100 * 100 * 4, &outputWidth, &outputHeight, jpegFile); 113 // 4/8 downsample. 114 downsample(130 * 130 * 4, &outputWidth, &outputHeight, jpegFile) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterDownsample.java | 28 private static final String SERIALIZATION_NAME = "DOWNSAMPLE"; 33 mName = "Downsample"; 39 representation.setName("Downsample"); 48 representation.setTextId(R.string.downsample);
|
/external/jpeg/ |
jcsample.c | 53 /* Pointer to routine to downsample a single component */ 110 * In this version we simply downsample each component independently. 118 my_downsample_ptr downsample = (my_downsample_ptr) cinfo->downsample; local 127 (*downsample->methods[ci]) (cinfo, compptr, in_ptr, out_ptr); 133 * Downsample pixel values of a single component. 181 * Downsample pixel values of a single component. 200 * Downsample pixel values of a single component. 243 * Downsample pixel values of a single component. 286 * Downsample pixel values of a single component 466 my_downsample_ptr downsample; local [all...] |
jcprepct.c | 57 * until we have enough to do a downsample step. 66 int next_buf_stop; /* downsample when we reach this index */ 163 (*cinfo->downsample->downsample) (cinfo, 243 /* If we've gotten enough data, downsample a row group. */ 245 (*cinfo->downsample->downsample) (cinfo, 334 if (cinfo->downsample->need_context_rows) {
|
/external/pdfium/core/src/fxcodec/libjpeg/ |
fpdfapi_jcsample.c | 54 /* Pointer to routine to downsample a single component */
111 * In this version we simply downsample each component independently.
119 my_downsample_ptr downsample = (my_downsample_ptr) cinfo->downsample;
local 128 (*downsample->methods[ci]) (cinfo, compptr, in_ptr, out_ptr);
134 * Downsample pixel values of a single component.
182 * Downsample pixel values of a single component.
201 * Downsample pixel values of a single component.
244 * Downsample pixel values of a single component.
287 * Downsample pixel values of a single component. 467 my_downsample_ptr downsample; local [all...] |
fpdfapi_jcprepct.c | 58 * until we have enough to do a downsample step.
67 int next_buf_stop; /* downsample when we reach this index */
164 (*cinfo->downsample->downsample) (cinfo,
244 /* If we've gotten enough data, downsample a row group. */
246 (*cinfo->downsample->downsample) (cinfo,
335 if (cinfo->downsample->need_context_rows) {
|
/external/qemu/distrib/jpeg-6b/ |
jcsample.c | 53 /* Pointer to routine to downsample a single component */ 110 * In this version we simply downsample each component independently. 118 my_downsample_ptr downsample = (my_downsample_ptr) cinfo->downsample; local 127 (*downsample->methods[ci]) (cinfo, compptr, in_ptr, out_ptr); 133 * Downsample pixel values of a single component. 181 * Downsample pixel values of a single component. 200 * Downsample pixel values of a single component. 243 * Downsample pixel values of a single component. 286 * Downsample pixel values of a single component 466 my_downsample_ptr downsample; local [all...] |
jcprepct.c | 57 * until we have enough to do a downsample step. 66 int next_buf_stop; /* downsample when we reach this index */ 163 (*cinfo->downsample->downsample) (cinfo, 243 /* If we've gotten enough data, downsample a row group. */ 245 (*cinfo->downsample->downsample) (cinfo, 334 if (cinfo->downsample->need_context_rows) {
|
/external/chromium_org/third_party/opus/src/celt/ |
celt_decoder.c | 70 int downsample; member in struct:OpusCustomDecoder 137 st->downsample = resampling_factor(sampling_rate); 138 if (st->downsample==0) 158 st->downsample = 1; 193 void deemphasis(celt_sig *in[], opus_val16 *pcm, int N, int C, int downsample, const opus_val16 *coef, celt_sig *mem, celt_sig * OPUS_RESTRICT scratch) 201 Nd = N/downsample; 225 if (downsample>1) 250 y[j*C] = SCALEOUT(SIG2WORD16(scratch[j*downsample])); 346 int downsample; local 370 downsample = st->downsample [all...] |
/external/libopus/celt/ |
celt_decoder.c | 70 int downsample; member in struct:OpusCustomDecoder 137 st->downsample = resampling_factor(sampling_rate); 138 if (st->downsample==0) 158 st->downsample = 1; 193 void deemphasis(celt_sig *in[], opus_val16 *pcm, int N, int C, int downsample, const opus_val16 *coef, celt_sig *mem, celt_sig * OPUS_RESTRICT scratch) 201 Nd = N/downsample; 225 if (downsample>1) 250 y[j*C] = SCALEOUT(SIG2WORD16(scratch[j*downsample])); 346 int downsample; local 370 downsample = st->downsample [all...] |
/frameworks/av/include/media/ |
AudioResamplerPublic.h | 23 // In practice, it is not recommended to downsample more than 6:1
|
/external/glide/library/src/main/java/com/bumptech/glide/ |
BitmapRequestBuilder.java | 62 * @see #downsample(Downsampler) 67 return downsample(Downsampler.AT_LEAST); 73 * @see #downsample(Downsampler) 78 return downsample(Downsampler.NONE); 92 private BitmapRequestBuilder<ModelType, TranscodeType> downsample(Downsampler downsampler) { method in class:BitmapRequestBuilder
|
/external/chromium_org/third_party/opus/src/src/ |
opus_compare.c | 184 int downsample; local 201 downsample=1; 209 downsample=48000/rate; 216 yfreqs=NFREQS/downsample; 238 if(xlength!=ylength*downsample){ 240 (unsigned long)xlength,(unsigned long)ylength*downsample); 258 TEST_WIN_SIZE/downsample,TEST_WIN_STEP/downsample,downsample);
|
/external/libopus/src/ |
opus_compare.c | 184 int downsample; local 201 downsample=1; 209 downsample=48000/rate; 216 yfreqs=NFREQS/downsample; 238 if(xlength!=ylength*downsample){ 240 (unsigned long)xlength,(unsigned long)ylength*downsample); 258 TEST_WIN_SIZE/downsample,TEST_WIN_STEP/downsample,downsample);
|
/external/chromium_org/third_party/skia/src/effects/ |
SkTestImageFilters.cpp | 43 // downsample
|
/external/chromium_org/third_party/webrtc/voice_engine/ |
utility.h | 35 // Downmix and downsample the audio in |src_data| to |dst_af| as necessary,
|
/external/skia/src/effects/ |
SkTestImageFilters.cpp | 43 // downsample
|
/external/webrtc/src/common_audio/vad/ |
vad_filterbank.c | 146 // Split at 2000 Hz and downsample 151 // Split at 3000 Hz and downsample 171 // Split at 1000 Hz and downsample
|
/external/chromium_org/third_party/opus/src/silk/ |
resampler_down2.c | 35 /* Downsample by a factor 2 */
|
resampler_down2_3.c | 38 /* Downsample by a factor 2/3, low quality */
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
merge.cc | 70 // Downsample, correlate, and find strongest correlation period for the 72 // Downsample to 4kHz sample rate. 73 Downsample(input_channel, static_cast<int>(input_length_per_channel), 246 void Merge::Downsample(const int16_t* input, int input_length,
|
/external/libopus/silk/ |
resampler_down2.c | 35 /* Downsample by a factor 2 */
|
/frameworks/av/include/media/stagefright/ |
YUVCanvas.h | 65 void downsample(
|
/external/chromium_org/third_party/webrtc/common_audio/vad/ |
vad_filterbank.c | 270 // Split at 2000 Hz and downsample. 274 // For the upper band (2000 Hz - 4000 Hz) split at 3000 Hz and downsample. 290 // For the lower band (0 Hz - 2000 Hz) split at 1000 Hz and downsample. 303 // For the lower band (0 Hz - 1000 Hz) split at 500 Hz and downsample. 315 // For the lower band (0 Hz - 500 Hz) split at 250 Hz and downsample.
|
/packages/apps/Camera2/src/com/android/camera/ |
TextureViewHelper.java | 309 public Bitmap getPreviewBitmap(int downsample) { 311 int width = (int) textureArea.width() / downsample; 312 int height = (int) textureArea.height() / downsample;
|