Home
last modified time | relevance | path

Searched refs:max_v_samp_factor (Results 1 – 25 of 36) sorted by relevance

12

/external/libjpeg-turbo/
Djcprepct.c98 prep->next_buf_stop = 2 * cinfo->max_v_samp_factor; in start_pass_prep()
145 numrows = cinfo->max_v_samp_factor - prep->next_buf_row; in pre_process_data()
156 prep->next_buf_row < cinfo->max_v_samp_factor) { in pre_process_data()
159 prep->next_buf_row, cinfo->max_v_samp_factor); in pre_process_data()
161 prep->next_buf_row = cinfo->max_v_samp_factor; in pre_process_data()
164 if (prep->next_buf_row == cinfo->max_v_samp_factor) { in pre_process_data()
202 int buf_height = cinfo->max_v_samp_factor * 3; in pre_process_context()
219 for (row = 1; row <= cinfo->max_v_samp_factor; row++) { in pre_process_context()
248 prep->this_row_group += cinfo->max_v_samp_factor; in pre_process_context()
253 prep->next_buf_stop = prep->next_buf_row + cinfo->max_v_samp_factor; in pre_process_context()
[all …]
Djdsample.c45 upsample->next_row_out = cinfo->max_v_samp_factor; in start_pass_upsample()
71 if (upsample->next_row_out >= cinfo->max_v_samp_factor) { in sep_upsample()
87 num_rows = (JDIMENSION)(cinfo->max_v_samp_factor - upsample->next_row_out); in sep_upsample()
107 if (upsample->next_row_out >= cinfo->max_v_samp_factor) in sep_upsample()
174 while (outrow < cinfo->max_v_samp_factor) { in int_upsample()
211 for (inrow = 0; inrow < cinfo->max_v_samp_factor; inrow++) { in h2v1_upsample()
240 while (outrow < cinfo->max_v_samp_factor) { in h2v2_upsample()
282 for (inrow = 0; inrow < cinfo->max_v_samp_factor; inrow++) { in h2v1_fancy_upsample()
327 while (outrow < cinfo->max_v_samp_factor) { in h1v2_fancy_upsample()
373 while (outrow < cinfo->max_v_samp_factor) { in h2v2_fancy_upsample()
[all …]
Djcsample.c157 v_expand = cinfo->max_v_samp_factor / compptr->v_samp_factor; in int_downsample()
165 expand_right_edge(input_data, cinfo->max_v_samp_factor, cinfo->image_width, in int_downsample()
198 jcopy_sample_rows(input_data, 0, output_data, 0, cinfo->max_v_samp_factor, in fullsize_downsample()
201 expand_right_edge(output_data, cinfo->max_v_samp_factor, cinfo->image_width, in fullsize_downsample()
232 expand_right_edge(input_data, cinfo->max_v_samp_factor, cinfo->image_width, in h2v1_downsample()
268 expand_right_edge(input_data, cinfo->max_v_samp_factor, cinfo->image_width, in h2v2_downsample()
310 expand_right_edge(input_data - 1, cinfo->max_v_samp_factor + 2, in h2v2_smooth_downsample()
399 expand_right_edge(input_data - 1, cinfo->max_v_samp_factor + 2, in fullsize_smooth_downsample()
476 compptr->v_samp_factor == cinfo->max_v_samp_factor) { in jinit_downsampler()
485 compptr->v_samp_factor == cinfo->max_v_samp_factor) { in jinit_downsampler()
[all …]
Djdinput.c66 cinfo->max_v_samp_factor = 1; in initial_setup()
76 cinfo->max_v_samp_factor = MAX(cinfo->max_v_samp_factor, in initial_setup()
110 (long)(cinfo->max_v_samp_factor * DCTSIZE)); in initial_setup()
126 (long)cinfo->max_v_samp_factor); in initial_setup()
136 (long)(cinfo->max_v_samp_factor * DCTSIZE)); in initial_setup()
193 (long)(cinfo->max_v_samp_factor * DCTSIZE)); in per_scan_setup()
Djdapistd.c345 if (master->using_merged_upsample && cinfo->max_v_samp_factor == 2) { in read_and_discard_scanlines()
373 if (master->using_merged_upsample && cinfo->max_v_samp_factor == 2) { in increment_simple_rowgroup_ctr()
379 main_ptr->rowgroup_ctr += rows / cinfo->max_v_samp_factor; in increment_simple_rowgroup_ctr()
384 rows_left = rows % cinfo->max_v_samp_factor; in increment_simple_rowgroup_ctr()
432 lines_per_iMCU_row = cinfo->_min_DCT_scaled_size * cinfo->max_v_samp_factor; in jpeg_skip_scanlines()
476 upsample->next_row_out = cinfo->max_v_samp_factor; in jpeg_skip_scanlines()
491 upsample->next_row_out = cinfo->max_v_samp_factor; in jpeg_skip_scanlines()
605 lines_per_iMCU_row = cinfo->max_v_samp_factor * cinfo->_min_DCT_scaled_size; in jpeg_read_raw_data()
Djcmaster.c124 cinfo->max_v_samp_factor = 1; in initial_setup()
134 cinfo->max_v_samp_factor = MAX(cinfo->max_v_samp_factor, in initial_setup()
155 (long)(cinfo->max_v_samp_factor * DCTSIZE)); in initial_setup()
162 (long)cinfo->max_v_samp_factor); in initial_setup()
172 (long)(cinfo->max_v_samp_factor * DCTSIZE)); in initial_setup()
402 (long)(cinfo->max_v_samp_factor * DCTSIZE)); in per_scan_setup()
Dturbojpeg.c821 ph0 = PAD(height, cinfo->max_v_samp_factor); in tjEncodeYUVPlanes()
839 cinfo->max_v_samp_factor + 32); in tjEncodeYUVPlanes()
843 (JSAMPROW *)malloc(sizeof(JSAMPROW) * cinfo->max_v_samp_factor); in tjEncodeYUVPlanes()
846 for (row = 0; row < cinfo->max_v_samp_factor; row++) { in tjEncodeYUVPlanes()
870 ph[i] = ph0 * compptr->v_samp_factor / cinfo->max_v_samp_factor; in tjEncodeYUVPlanes()
886 for (row = 0; row < ph0; row += cinfo->max_v_samp_factor) { in tjEncodeYUVPlanes()
888 cinfo->max_v_samp_factor); in tjEncodeYUVPlanes()
893 row * compptr->v_samp_factor / cinfo->max_v_samp_factor, in tjEncodeYUVPlanes()
1032 ph[i] = PAD(cinfo->image_height, cinfo->max_v_samp_factor) * in tjCompressFromYUVPlanes()
1033 compptr->v_samp_factor / cinfo->max_v_samp_factor; in tjCompressFromYUVPlanes()
[all …]
Dtransupp.c331 (dstinfo->max_v_samp_factor * dstinfo_min_DCT_v_scaled_size); in do_crop_ext_zero()
407 (dstinfo->max_v_samp_factor * dstinfo_min_DCT_v_scaled_size); in do_crop_ext_flat()
488 (dstinfo->max_v_samp_factor * dstinfo_min_DCT_v_scaled_size); in do_crop_ext_reflect()
871 (dstinfo->max_v_samp_factor * dstinfo_min_DCT_v_scaled_size); in do_flip_v()
1080 (dstinfo->max_v_samp_factor * dstinfo_min_DCT_v_scaled_size); in do_rot_270()
1150 (dstinfo->max_v_samp_factor * dstinfo_min_DCT_v_scaled_size); in do_rot_180()
1264 (dstinfo->max_v_samp_factor * dstinfo_min_DCT_v_scaled_size); in do_transverse()
1533 srcinfo->max_v_samp_factor * srcinfo->_min_DCT_v_scaled_size, in jtransform_request_workspace()
1556 srcinfo->max_v_samp_factor * srcinfo->_min_DCT_v_scaled_size; in jtransform_request_workspace()
1571 srcinfo->max_v_samp_factor * srcinfo->_min_DCT_v_scaled_size; in jtransform_request_workspace()
[all …]
/external/libjpeg-turbo/simd/
Djsimd.h537 (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
541 (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
545 (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
549 (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
553 (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
557 (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
562 (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
566 (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
570 (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
574 (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
[all …]
/external/libjpeg-turbo/simd/i386/
Djsimd.c393 jsimd_h2v2_downsample_avx2(cinfo->image_width, cinfo->max_v_samp_factor, in jsimd_h2v2_downsample()
398 jsimd_h2v2_downsample_sse2(cinfo->image_width, cinfo->max_v_samp_factor, in jsimd_h2v2_downsample()
403 jsimd_h2v2_downsample_mmx(cinfo->image_width, cinfo->max_v_samp_factor, in jsimd_h2v2_downsample()
413 jsimd_h2v1_downsample_avx2(cinfo->image_width, cinfo->max_v_samp_factor, in jsimd_h2v1_downsample()
418 jsimd_h2v1_downsample_sse2(cinfo->image_width, cinfo->max_v_samp_factor, in jsimd_h2v1_downsample()
423 jsimd_h2v1_downsample_mmx(cinfo->image_width, cinfo->max_v_samp_factor, in jsimd_h2v1_downsample()
475 jsimd_h2v2_upsample_avx2(cinfo->max_v_samp_factor, cinfo->output_width, in jsimd_h2v2_upsample()
478 jsimd_h2v2_upsample_sse2(cinfo->max_v_samp_factor, cinfo->output_width, in jsimd_h2v2_upsample()
481 jsimd_h2v2_upsample_mmx(cinfo->max_v_samp_factor, cinfo->output_width, in jsimd_h2v2_upsample()
490 jsimd_h2v1_upsample_avx2(cinfo->max_v_samp_factor, cinfo->output_width, in jsimd_h2v1_upsample()
[all …]
Djdsample-mmx.asm47 ; jsimd_h2v1_fancy_upsample_mmx(int max_v_samp_factor,
53 %define max_v_samp(b) (b) + 8 ; int max_v_samp_factor
531 ; jsimd_h2v1_upsample_mmx(int max_v_samp_factor, JDIMENSION output_width,
535 %define max_v_samp(b) (b) + 8 ; int max_v_samp_factor
Djdsample-sse2.asm47 ; jsimd_h2v1_fancy_upsample_sse2(int max_v_samp_factor,
53 %define max_v_samp(b) (b) + 8 ; int max_v_samp_factor
528 ; jsimd_h2v1_upsample_sse2(int max_v_samp_factor, JDIMENSION output_width,
532 %define max_v_samp(b) (b) + 8 ; int max_v_samp_factor
Djcsample-mmx.asm28 ; jsimd_h2v1_downsample_mmx(JDIMENSION image_width, int max_v_samp_factor,
35 %define max_v_samp(b) (b) + 12 ; int max_v_samp_factor
171 ; jsimd_h2v2_downsample_mmx(JDIMENSION image_width, int max_v_samp_factor,
178 %define max_v_samp(b) (b) + 12 ; int max_v_samp_factor
Djcsample-sse2.asm28 ; jsimd_h2v1_downsample_sse2(JDIMENSION image_width, int max_v_samp_factor,
35 %define max_v_samp(b) (b) + 12 ; int max_v_samp_factor
184 ; jsimd_h2v2_downsample_sse2(JDIMENSION image_width, int max_v_samp_factor,
191 %define max_v_samp(b) (b) + 12 ; int max_v_samp_factor
Djdsample-avx2.asm48 ; jsimd_h2v1_fancy_upsample_avx2(int max_v_samp_factor,
54 %define max_v_samp(b) (b) + 8 ; int max_v_samp_factor
209 ; jsimd_h2v2_fancy_upsample_avx2(int max_v_samp_factor,
215 %define max_v_samp(b) (b) + 8 ; int max_v_samp_factor
659 ; jsimd_h2v2_upsample_avx2(int max_v_samp_factor, JDIMENSION output_width,
663 %define max_v_samp(b) (b) + 8 ; int max_v_samp_factor
Djcsample-avx2.asm29 ; jsimd_h2v1_downsample_avx2(JDIMENSION image_width, int max_v_samp_factor,
36 %define max_v_samp(b) (b) + 12 ; int max_v_samp_factor
202 ; jsimd_h2v2_downsample_avx2(JDIMENSION image_width, int max_v_samp_factor,
209 %define max_v_samp(b) (b) + 12 ; int max_v_samp_factor
/external/libjpeg-turbo/simd/x86_64/
Djsimd.c344 jsimd_h2v2_downsample_avx2(cinfo->image_width, cinfo->max_v_samp_factor, in jsimd_h2v2_downsample()
349 jsimd_h2v2_downsample_sse2(cinfo->image_width, cinfo->max_v_samp_factor, in jsimd_h2v2_downsample()
360 jsimd_h2v1_downsample_avx2(cinfo->image_width, cinfo->max_v_samp_factor, in jsimd_h2v1_downsample()
365 jsimd_h2v1_downsample_sse2(cinfo->image_width, cinfo->max_v_samp_factor, in jsimd_h2v1_downsample()
414 jsimd_h2v2_upsample_avx2(cinfo->max_v_samp_factor, cinfo->output_width, in jsimd_h2v2_upsample()
417 jsimd_h2v2_upsample_sse2(cinfo->max_v_samp_factor, cinfo->output_width, in jsimd_h2v2_upsample()
426 jsimd_h2v1_upsample_avx2(cinfo->max_v_samp_factor, cinfo->output_width, in jsimd_h2v1_upsample()
429 jsimd_h2v1_upsample_sse2(cinfo->max_v_samp_factor, cinfo->output_width, in jsimd_h2v1_upsample()
480 jsimd_h2v2_fancy_upsample_avx2(cinfo->max_v_samp_factor, in jsimd_h2v2_fancy_upsample()
484 jsimd_h2v2_fancy_upsample_sse2(cinfo->max_v_samp_factor, in jsimd_h2v2_fancy_upsample()
[all …]
Djdsample-sse2.asm48 ; jsimd_h2v1_fancy_upsample_sse2(int max_v_samp_factor,
54 ; r10 = int max_v_samp_factor
487 ; jsimd_h2v1_upsample_sse2(int max_v_samp_factor, JDIMENSION output_width,
491 ; r10 = int max_v_samp_factor
Djcsample-sse2.asm29 ; jsimd_h2v1_downsample_sse2(JDIMENSION image_width, int max_v_samp_factor,
36 ; r11 = int max_v_samp_factor
174 ; jsimd_h2v2_downsample_sse2(JDIMENSION image_width, int max_v_samp_factor,
181 ; r11 = int max_v_samp_factor
Djcsample-avx2.asm30 ; jsimd_h2v1_downsample_avx2(JDIMENSION image_width, int max_v_samp_factor,
37 ; r11 = int max_v_samp_factor
192 ; jsimd_h2v2_downsample_avx2(JDIMENSION image_width, int max_v_samp_factor,
199 ; r11 = int max_v_samp_factor
Djdsample-avx2.asm49 ; jsimd_h2v1_fancy_upsample_avx2(int max_v_samp_factor,
55 ; r10 = int max_v_samp_factor
603 ; jsimd_h2v2_upsample_avx2(int max_v_samp_factor, JDIMENSION output_width,
607 ; r10 = int max_v_samp_factor
/external/libjpeg-turbo/simd/arm/
Djdsample-neon.c59 void jsimd_h2v1_fancy_upsample_neon(int max_v_samp_factor, in jsimd_h2v1_fancy_upsample_neon() argument
72 for (inrow = 0; inrow < max_v_samp_factor; inrow++) { in jsimd_h2v1_fancy_upsample_neon()
204 void jsimd_h2v2_fancy_upsample_neon(int max_v_samp_factor, in jsimd_h2v2_fancy_upsample_neon() argument
219 while (outrow < max_v_samp_factor) { in jsimd_h2v2_fancy_upsample_neon()
410 void jsimd_h1v2_fancy_upsample_neon(int max_v_samp_factor, in jsimd_h1v2_fancy_upsample_neon() argument
424 while (outrow < max_v_samp_factor) { in jsimd_h1v2_fancy_upsample_neon()
486 void jsimd_h2v1_upsample_neon(int max_v_samp_factor, JDIMENSION output_width, in jsimd_h2v1_upsample_neon() argument
495 for (inrow = 0; inrow < max_v_samp_factor; inrow++) { in jsimd_h2v1_upsample_neon()
539 void jsimd_h2v2_upsample_neon(int max_v_samp_factor, JDIMENSION output_width, in jsimd_h2v2_upsample_neon() argument
548 for (inrow = 0, outrow = 0; outrow < max_v_samp_factor; inrow++) { in jsimd_h2v2_upsample_neon()
Djcsample-neon.c76 void jsimd_h2v1_downsample_neon(JDIMENSION image_width, int max_v_samp_factor, in jsimd_h2v1_downsample_neon() argument
130 void jsimd_h2v2_downsample_neon(JDIMENSION image_width, int max_v_samp_factor, in jsimd_h2v2_downsample_neon() argument
/external/libjpeg-turbo/simd/arm/aarch32/
Djsimd.c385 jsimd_h2v2_downsample_neon(cinfo->image_width, cinfo->max_v_samp_factor, in jsimd_h2v2_downsample()
394 jsimd_h2v1_downsample_neon(cinfo->image_width, cinfo->max_v_samp_factor, in jsimd_h2v1_downsample()
436 jsimd_h2v2_upsample_neon(cinfo->max_v_samp_factor, cinfo->output_width, in jsimd_h2v2_upsample()
444 jsimd_h2v1_upsample_neon(cinfo->max_v_samp_factor, cinfo->output_width, in jsimd_h2v1_upsample()
503 jsimd_h2v2_fancy_upsample_neon(cinfo->max_v_samp_factor, in jsimd_h2v2_fancy_upsample()
512 jsimd_h2v1_fancy_upsample_neon(cinfo->max_v_samp_factor, in jsimd_h2v1_fancy_upsample()
521 jsimd_h1v2_fancy_upsample_neon(cinfo->max_v_samp_factor, in jsimd_h1v2_fancy_upsample()
/external/libjpeg-turbo/simd/arm/aarch64/
Djsimd.c453 jsimd_h2v2_downsample_neon(cinfo->image_width, cinfo->max_v_samp_factor, in jsimd_h2v2_downsample()
462 jsimd_h2v1_downsample_neon(cinfo->image_width, cinfo->max_v_samp_factor, in jsimd_h2v1_downsample()
504 jsimd_h2v2_upsample_neon(cinfo->max_v_samp_factor, cinfo->output_width, in jsimd_h2v2_upsample()
512 jsimd_h2v1_upsample_neon(cinfo->max_v_samp_factor, cinfo->output_width, in jsimd_h2v1_upsample()
571 jsimd_h2v2_fancy_upsample_neon(cinfo->max_v_samp_factor, in jsimd_h2v2_fancy_upsample()
580 jsimd_h2v1_fancy_upsample_neon(cinfo->max_v_samp_factor, in jsimd_h2v1_fancy_upsample()
589 jsimd_h1v2_fancy_upsample_neon(cinfo->max_v_samp_factor, in jsimd_h1v2_fancy_upsample()

12