Home
last modified time | relevance | path

Searched refs:downsample (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/web/tests/
DJPEGImageDecoderTest.cpp67 void downsample(size_t maxDecodedBytes, unsigned* outputWidth, unsigned* outputHeight, const char* … in downsample() function
99 downsample(40 * 40 * 4, &outputWidth, &outputHeight, jpegFile); in TEST()
104 downsample(70 * 70 * 4, &outputWidth, &outputHeight, jpegFile); in TEST()
109 downsample(100 * 100 * 4, &outputWidth, &outputHeight, jpegFile); in TEST()
114 downsample(130 * 130 * 4, &outputWidth, &outputHeight, jpegFile); in TEST()
119 downsample(170 * 170 * 4, &outputWidth, &outputHeight, jpegFile); in TEST()
124 downsample(200 * 200 * 4, &outputWidth, &outputHeight, jpegFile); in TEST()
129 downsample(230 * 230 * 4, &outputWidth, &outputHeight, jpegFile); in TEST()
142 downsample(40 * 40 * 4, &outputWidth, &outputHeight, jpegFile); in TEST()
147 downsample(70 * 70 * 4, &outputWidth, &outputHeight, jpegFile); in TEST()
[all …]
/external/jpeg/
Djcsample.c118 my_downsample_ptr downsample = (my_downsample_ptr) cinfo->downsample; in sep_downsample() local
127 (*downsample->methods[ci]) (cinfo, compptr, in_ptr, out_ptr); in sep_downsample()
466 my_downsample_ptr downsample; in jinit_downsampler() local
471 downsample = (my_downsample_ptr) in jinit_downsampler()
474 cinfo->downsample = (struct jpeg_downsampler *) downsample; in jinit_downsampler()
475 downsample->pub.start_pass = start_pass_downsample; in jinit_downsampler()
476 downsample->pub.downsample = sep_downsample; in jinit_downsampler()
477 downsample->pub.need_context_rows = FALSE; in jinit_downsampler()
489 downsample->methods[ci] = fullsize_smooth_downsample; in jinit_downsampler()
490 downsample->pub.need_context_rows = TRUE; in jinit_downsampler()
[all …]
Djcprepct.c163 (*cinfo->downsample->downsample) (cinfo, in pre_process_data()
245 (*cinfo->downsample->downsample) (cinfo, in pre_process_context()
334 if (cinfo->downsample->need_context_rows) { in jinit_c_prep_controller()
Djpegint.h93 JMETHOD(void, downsample, (j_compress_ptr cinfo,
Djcmaster.c414 (*cinfo->downsample->start_pass) (cinfo); in prepare_for_pass()
Djpeglib.h405 struct jpeg_downsampler * downsample; member
/external/qemu/distrib/jpeg-6b/
Djcsample.c118 my_downsample_ptr downsample = (my_downsample_ptr) cinfo->downsample; in sep_downsample() local
127 (*downsample->methods[ci]) (cinfo, compptr, in_ptr, out_ptr); in sep_downsample()
466 my_downsample_ptr downsample; in jinit_downsampler() local
471 downsample = (my_downsample_ptr) in jinit_downsampler()
474 cinfo->downsample = (struct jpeg_downsampler *) downsample; in jinit_downsampler()
475 downsample->pub.start_pass = start_pass_downsample; in jinit_downsampler()
476 downsample->pub.downsample = sep_downsample; in jinit_downsampler()
477 downsample->pub.need_context_rows = FALSE; in jinit_downsampler()
489 downsample->methods[ci] = fullsize_smooth_downsample; in jinit_downsampler()
490 downsample->pub.need_context_rows = TRUE; in jinit_downsampler()
[all …]
Djcprepct.c163 (*cinfo->downsample->downsample) (cinfo, in pre_process_data()
245 (*cinfo->downsample->downsample) (cinfo, in pre_process_context()
334 if (cinfo->downsample->need_context_rows) { in jinit_c_prep_controller()
Djpegint.h93 JMETHOD(void, downsample, (j_compress_ptr cinfo,
Djcmaster.c414 (*cinfo->downsample->start_pass) (cinfo); in prepare_for_pass()
Djpeglib.h405 struct jpeg_downsampler * downsample; member
/external/chromium_org/third_party/opus/src/src/
Dopus_compare.c184 int downsample; in main() local
201 downsample=1; in main()
209 downsample=48000/rate; in main()
216 yfreqs=NFREQS/downsample; in main()
238 if(xlength!=ylength*downsample){ in main()
240 (unsigned long)xlength,(unsigned long)ylength*downsample); in main()
258 TEST_WIN_SIZE/downsample,TEST_WIN_STEP/downsample,downsample); in main()
/external/chromium_org/third_party/opus/src/celt/
Dcelt_decoder.c70 int downsample; member
137 st->downsample = resampling_factor(sampling_rate); in celt_decoder_init()
138 if (st->downsample==0) in celt_decoder_init()
158 st->downsample = 1; in opus_custom_decoder_init()
193 void deemphasis(celt_sig *in[], opus_val16 *pcm, int N, int C, int downsample, const opus_val16 *co… in deemphasis() argument
201 Nd = N/downsample; in deemphasis()
225 if (downsample>1) in deemphasis()
250 y[j*C] = SCALEOUT(SIG2WORD16(scratch[j*downsample])); in deemphasis()
346 int downsample; in celt_decode_lost() local
370 downsample = st->downsample; in celt_decode_lost()
[all …]
Dcelt.h203 void deemphasis(celt_sig *in[], opus_val16 *pcm, int N, int C, int downsample, const opus_val16 *co…