/external/libjpeg-turbo/simd/ |
D | jsimd.h | 35 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf, 36 JDIMENSION output_row, int num_rows); 38 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf, 39 JDIMENSION output_row, int num_rows); 41 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf, 42 JDIMENSION output_row, int num_rows); 44 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf, 45 JDIMENSION output_row, int num_rows); 47 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf, 48 JDIMENSION output_row, int num_rows); [all …]
|
/external/libjpeg-turbo/ |
D | jdpostct.c | 39 JDIMENSION strip_height; /* buffer size in rows */ 41 JDIMENSION starting_row; /* row # of first row in current strip */ 42 JDIMENSION next_row; /* index of next row to fill/empty in strip */ 51 JDIMENSION *in_row_group_ctr, 52 JDIMENSION in_row_groups_avail, 54 JDIMENSION *out_row_ctr, 55 JDIMENSION out_rows_avail); 59 JDIMENSION *in_row_group_ctr, 60 JDIMENSION in_row_groups_avail, 62 JDIMENSION *out_row_ctr, [all …]
|
D | jpeglib.h | 142 JDIMENSION width_in_blocks; 143 JDIMENSION height_in_blocks; 162 JDIMENSION downsampled_width; /* actual width in samples */ 163 JDIMENSION downsampled_height; /* actual height in samples */ 308 JDIMENSION image_width; /* input image width */ 309 JDIMENSION image_height; /* input image height */ 326 JDIMENSION jpeg_width; /* scaled JPEG image width */ 327 JDIMENSION jpeg_height; /* scaled JPEG image height */ 404 JDIMENSION next_scanline; /* 0 .. image_height-1 */ 422 JDIMENSION total_iMCU_rows; /* # of iMCU rows to be input to coef ctlr */ [all …]
|
D | jpegint.h | 76 JDIMENSION *in_row_ctr, JDIMENSION in_rows_avail); 83 JDIMENSION *in_row_ctr, JDIMENSION in_rows_avail, 85 JDIMENSION *out_row_group_ctr, 86 JDIMENSION out_row_groups_avail); 99 JSAMPIMAGE output_buf, JDIMENSION output_row, 107 JDIMENSION in_row_index, JSAMPIMAGE output_buf, 108 JDIMENSION out_row_group_index); 119 JDIMENSION start_row, JDIMENSION start_col, 120 JDIMENSION num_blocks); 156 JDIMENSION first_iMCU_col; [all …]
|
D | jdct.h | 99 JSAMPARRAY output_buf, JDIMENSION output_col); 102 JSAMPARRAY output_buf, JDIMENSION output_col); 105 JSAMPARRAY output_buf, JDIMENSION output_col); 108 JSAMPARRAY output_buf, JDIMENSION output_col); 111 JSAMPARRAY output_buf, JDIMENSION output_col); 114 JSAMPARRAY output_buf, JDIMENSION output_col); 117 JSAMPARRAY output_buf, JDIMENSION output_col); 120 JSAMPARRAY output_buf, JDIMENSION output_col); 123 JSAMPARRAY output_buf, JDIMENSION output_col); 126 JSAMPARRAY output_buf, JDIMENSION output_col); [all …]
|
D | jcprepct.c | 64 JDIMENSION rows_to_go; /* counts rows remaining in source image */ 109 expand_bottom_edge(JSAMPARRAY image_data, JDIMENSION num_cols, int input_rows, in expand_bottom_edge() 132 JDIMENSION *in_row_ctr, JDIMENSION in_rows_avail, in pre_process_data() 133 JSAMPIMAGE output_buf, JDIMENSION *out_row_group_ctr, in pre_process_data() 134 JDIMENSION out_row_groups_avail) in pre_process_data() 138 JDIMENSION inrows; in pre_process_data() 146 numrows = (int)MIN((JDIMENSION)numrows, inrows); in pre_process_data() 149 (JDIMENSION)prep->next_buf_row, in pre_process_data() 166 prep->color_buf, (JDIMENSION)0, in pre_process_data() 196 JDIMENSION *in_row_ctr, JDIMENSION in_rows_avail, in pre_process_context() [all …]
|
D | jdmaster.c | 115 cinfo->output_width = (JDIMENSION) in jpeg_core_output_dimensions() 117 cinfo->output_height = (JDIMENSION) in jpeg_core_output_dimensions() 123 cinfo->output_width = (JDIMENSION) in jpeg_core_output_dimensions() 125 cinfo->output_height = (JDIMENSION) in jpeg_core_output_dimensions() 131 cinfo->output_width = (JDIMENSION) in jpeg_core_output_dimensions() 133 cinfo->output_height = (JDIMENSION) in jpeg_core_output_dimensions() 139 cinfo->output_width = (JDIMENSION) in jpeg_core_output_dimensions() 141 cinfo->output_height = (JDIMENSION) in jpeg_core_output_dimensions() 147 cinfo->output_width = (JDIMENSION) in jpeg_core_output_dimensions() 149 cinfo->output_height = (JDIMENSION) in jpeg_core_output_dimensions() [all …]
|
D | jdmainct.c | 117 JDIMENSION *out_row_ctr, 118 JDIMENSION out_rows_avail); 121 JDIMENSION *out_row_ctr, 122 JDIMENSION out_rows_avail); 126 JDIMENSION *out_row_ctr, 127 JDIMENSION out_rows_avail); 230 rows_left = (int)(compptr->downsampled_height % (JDIMENSION)iMCUheight); in set_bottom_pointers() 236 main_ptr->rowgroups_avail = (JDIMENSION)((rows_left - 1) / rgroup + 1); in set_bottom_pointers() 293 JDIMENSION *out_row_ctr, JDIMENSION out_rows_avail) in process_data_simple_main() 296 JDIMENSION rowgroups_avail; in process_data_simple_main() [all …]
|
D | transupp.c | 93 JDIMENSION x_crop_offset, JDIMENSION y_crop_offset, in do_crop() 98 JDIMENSION dst_blk_y, x_crop_blocks, y_crop_blocks; in do_crop() 114 (JDIMENSION)compptr->v_samp_factor, TRUE); in do_crop() 118 (JDIMENSION)compptr->v_samp_factor, FALSE); in do_crop() 131 JDIMENSION x_crop_offset, jvirt_barray_ptr *src_coef_arrays) in do_flip_h_no_crop() 136 JDIMENSION MCU_cols, comp_width, blk_x, blk_y, x_crop_blocks; in do_flip_h_no_crop() 159 (JDIMENSION)compptr->v_samp_factor, TRUE); in do_flip_h_no_crop() 185 buffer[offset_y] + blk_x, (JDIMENSION)1); in do_flip_h_no_crop() 196 JDIMENSION x_crop_offset, JDIMENSION y_crop_offset, in do_flip_h() 201 JDIMENSION MCU_cols, comp_width, dst_blk_x, dst_blk_y; in do_flip_h() [all …]
|
D | transupp.h | 135 JDIMENSION crop_width; /* Width of selected region */ 137 JDIMENSION crop_height; /* Height of selected region */ 139 JDIMENSION crop_xoffset; /* X offset of selected region */ 141 JDIMENSION crop_yoffset; /* Y offset of selected region */ 147 JDIMENSION output_width; /* cropped destination dimensions */ 148 JDIMENSION output_height; 149 JDIMENSION x_crop_offset; /* destination crop offsets measured in iMCUs */ 150 JDIMENSION y_crop_offset; 176 EXTERN(boolean) jtransform_perfect_transform(JDIMENSION image_width, 177 JDIMENSION image_height,
|
D | jsimd_none.c | 54 JSAMPIMAGE output_buf, JDIMENSION output_row, in jsimd_rgb_ycc_convert() 61 JSAMPIMAGE output_buf, JDIMENSION output_row, in jsimd_rgb_gray_convert() 68 JDIMENSION input_row, JSAMPARRAY output_buf, in jsimd_ycc_rgb_convert() 75 JDIMENSION input_row, JSAMPARRAY output_buf, in jsimd_ycc_rgb565_convert() 82 JSAMPIMAGE output_buf, JDIMENSION output_row, in jsimd_c_null_convert() 198 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf) in jsimd_h2v2_merged_upsample() 204 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf) in jsimd_h2v1_merged_upsample() 221 jsimd_convsamp(JSAMPARRAY sample_data, JDIMENSION start_col, in jsimd_convsamp() 227 jsimd_convsamp_float(JSAMPARRAY sample_data, JDIMENSION start_col, in jsimd_convsamp_float() 315 JDIMENSION output_col) in jsimd_idct_2x2() [all …]
|
D | jdapistd.c | 113 JDIMENSION last_scanline; in output_pass_setup() 123 &cinfo->output_scanline, (JDIMENSION)0); in output_pass_setup() 153 jpeg_crop_scanline(j_decompress_ptr cinfo, JDIMENSION *xoffset, in jpeg_crop_scanline() 154 JDIMENSION *width) in jpeg_crop_scanline() 157 JDIMENSION input_xoffset; in jpeg_crop_scanline() 213 cinfo->master->first_iMCU_col = (JDIMENSION)(long)(*xoffset) / (long)align; in jpeg_crop_scanline() 215 (JDIMENSION)jdiv_round_up((long)(*xoffset + cinfo->output_width), in jpeg_crop_scanline() 226 (JDIMENSION)jdiv_round_up((long)(cinfo->output_width * in jpeg_crop_scanline() 236 (JDIMENSION)(long)(*xoffset * hsf) / (long)align; in jpeg_crop_scanline() 238 (JDIMENSION)jdiv_round_up((long)((*xoffset + cinfo->output_width) * hsf), in jpeg_crop_scanline() [all …]
|
D | jmemmgr.c | 147 JDIMENSION last_rowsperchunk; /* from most recent alloc_sarray/barray */ 162 JDIMENSION rows_in_array; /* total virtual array height */ 163 JDIMENSION samplesperrow; /* width of array (and of memory buffer) */ 164 JDIMENSION maxaccess; /* max rows accessed by access_virt_sarray */ 165 JDIMENSION rows_in_mem; /* height of memory buffer */ 166 JDIMENSION rowsperchunk; /* allocation chunk size in mem_buffer */ 167 JDIMENSION cur_start_row; /* first logical row # in the buffer */ 168 JDIMENSION first_undef_row; /* row # of first uninitialized row */ 178 JDIMENSION rows_in_array; /* total virtual array height */ 179 JDIMENSION blocksperrow; /* width of array (and of memory buffer) */ [all …]
|
D | rdtarga.c | 61 JDIMENSION current_row; /* Current logical row number to read */ 77 JDIMENSION (*get_pixel_rows) (j_compress_ptr cinfo, cjpeg_source_ptr sinfo); 176 METHODDEF(JDIMENSION) 182 register JDIMENSION col; in get_8bit_gray_row() 192 METHODDEF(JDIMENSION) 199 register JDIMENSION col; in get_8bit_row() 216 METHODDEF(JDIMENSION) 223 register JDIMENSION col; in get_16bit_row() 244 METHODDEF(JDIMENSION) 250 register JDIMENSION col; in get_24bit_row() [all …]
|
D | jsimddct.h | 15 EXTERN(void) jsimd_convsamp(JSAMPARRAY sample_data, JDIMENSION start_col, 17 EXTERN(void) jsimd_convsamp_float(JSAMPARRAY sample_data, JDIMENSION start_col, 43 JSAMPARRAY output_buf, JDIMENSION output_col); 46 JSAMPARRAY output_buf, JDIMENSION output_col); 49 JSAMPARRAY output_buf, JDIMENSION output_col); 53 JDIMENSION output_col); 62 JDIMENSION output_col); 66 JDIMENSION output_col); 70 JDIMENSION output_col);
|
D | rdrle.c | 72 JDIMENSION row; /* current row # in the virtual array */ 87 JDIMENSION width, height; in start_input_rle() 163 (JDIMENSION)width, (JDIMENSION)cinfo->input_components); in start_input_rle() 169 (JDIMENSION)(width * source->header.ncolors), in start_input_rle() 170 (JDIMENSION)height, (JDIMENSION)1); in start_input_rle() 189 METHODDEF(JDIMENSION) 196 ((j_common_ptr)cinfo, source->image, source->row, (JDIMENSION)1, FALSE); in get_rle_row() 207 METHODDEF(JDIMENSION) 212 JDIMENSION col; in get_pseudocolor_row() 220 ((j_common_ptr)cinfo, source->image, source->row, (JDIMENSION)1, FALSE); in get_pseudocolor_row() [all …]
|
D | jccoefct.c | 40 JDIMENSION iMCU_row_num; /* iMCU row # within image */ 41 JDIMENSION mcu_ctr; /* counts MCUs processed in current row */ 144 JDIMENSION MCU_col_num; /* index of current MCU within row */ in compress_data() 145 JDIMENSION last_MCU_col = cinfo->MCUs_per_row - 1; in compress_data() 146 JDIMENSION last_iMCU_row = cinfo->total_iMCU_rows - 1; in compress_data() 148 JDIMENSION ypos, xpos; in compress_data() 178 ypos, xpos, (JDIMENSION)blockcnt); in compress_data() 248 JDIMENSION last_iMCU_row = cinfo->total_iMCU_rows - 1; in compress_first_pass() 249 JDIMENSION blocks_across, MCUs_across, MCUindex; in compress_first_pass() 262 (JDIMENSION)compptr->v_samp_factor, TRUE); in compress_first_pass() [all …]
|
D | jdcolext.c | 32 JDIMENSION input_row, JSAMPARRAY output_buf, in LOCAL() 39 register JDIMENSION col; in LOCAL() 40 JDIMENSION num_cols = cinfo->output_width; in LOCAL() 85 JDIMENSION input_row, JSAMPARRAY output_buf, in LOCAL() 89 register JDIMENSION col; in LOCAL() 90 JDIMENSION num_cols = cinfo->output_width; in LOCAL() 116 JDIMENSION input_row, JSAMPARRAY output_buf, in LOCAL() 121 register JDIMENSION col; in LOCAL() 122 JDIMENSION num_cols = cinfo->output_width; in LOCAL()
|
/external/libjpeg-turbo/simd/x86_64/ |
D | jsimd.c | 80 if (sizeof(JDIMENSION) != 4) in jsimd_can_rgb_ycc() 103 if (sizeof(JDIMENSION) != 4) in jsimd_can_rgb_gray() 126 if (sizeof(JDIMENSION) != 4) in jsimd_can_ycc_rgb() 149 JSAMPIMAGE output_buf, JDIMENSION output_row, in jsimd_rgb_ycc_convert() 152 void (*avx2fct) (JDIMENSION, JSAMPARRAY, JSAMPIMAGE, JDIMENSION, int); in jsimd_rgb_ycc_convert() 153 void (*sse2fct) (JDIMENSION, JSAMPARRAY, JSAMPIMAGE, JDIMENSION, int); in jsimd_rgb_ycc_convert() 198 JSAMPIMAGE output_buf, JDIMENSION output_row, in jsimd_rgb_gray_convert() 201 void (*avx2fct) (JDIMENSION, JSAMPARRAY, JSAMPIMAGE, JDIMENSION, int); in jsimd_rgb_gray_convert() 202 void (*sse2fct) (JDIMENSION, JSAMPARRAY, JSAMPIMAGE, JDIMENSION, int); in jsimd_rgb_gray_convert() 247 JDIMENSION input_row, JSAMPARRAY output_buf, in jsimd_ycc_rgb_convert() [all …]
|
/external/libjpeg-turbo/simd/mips/ |
D | jsimd.c | 114 JDIMENSION rows_to_go; 130 if (sizeof(JDIMENSION) != 4) in jsimd_can_rgb_ycc() 149 if (sizeof(JDIMENSION) != 4) in jsimd_can_rgb_gray() 168 if (sizeof(JDIMENSION) != 4) in jsimd_can_ycc_rgb() 193 if (sizeof(JDIMENSION) != 4) in jsimd_c_can_null_convert() 204 JSAMPIMAGE output_buf, JDIMENSION output_row, in jsimd_rgb_ycc_convert() 207 void (*dspr2fct) (JDIMENSION, JSAMPARRAY, JSAMPIMAGE, JDIMENSION, int); in jsimd_rgb_ycc_convert() 242 JSAMPIMAGE output_buf, JDIMENSION output_row, in jsimd_rgb_gray_convert() 245 void (*dspr2fct) (JDIMENSION, JSAMPARRAY, JSAMPIMAGE, JDIMENSION, int); in jsimd_rgb_gray_convert() 280 JDIMENSION input_row, JSAMPARRAY output_buf, in jsimd_ycc_rgb_convert() [all …]
|
/external/libjpeg-turbo/simd/i386/ |
D | jsimd.c | 89 if (sizeof(JDIMENSION) != 4) in jsimd_can_rgb_ycc() 114 if (sizeof(JDIMENSION) != 4) in jsimd_can_rgb_gray() 139 if (sizeof(JDIMENSION) != 4) in jsimd_can_ycc_rgb() 164 JSAMPIMAGE output_buf, JDIMENSION output_row, in jsimd_rgb_ycc_convert() 167 void (*avx2fct) (JDIMENSION, JSAMPARRAY, JSAMPIMAGE, JDIMENSION, int); in jsimd_rgb_ycc_convert() 168 void (*sse2fct) (JDIMENSION, JSAMPARRAY, JSAMPIMAGE, JDIMENSION, int); in jsimd_rgb_ycc_convert() 169 void (*mmxfct) (JDIMENSION, JSAMPARRAY, JSAMPIMAGE, JDIMENSION, int); in jsimd_rgb_ycc_convert() 223 JSAMPIMAGE output_buf, JDIMENSION output_row, in jsimd_rgb_gray_convert() 226 void (*avx2fct) (JDIMENSION, JSAMPARRAY, JSAMPIMAGE, JDIMENSION, int); in jsimd_rgb_gray_convert() 227 void (*sse2fct) (JDIMENSION, JSAMPARRAY, JSAMPIMAGE, JDIMENSION, int); in jsimd_rgb_gray_convert() [all …]
|
/external/libjpeg-turbo/simd/powerpc/ |
D | jsimd.c | 168 if (sizeof(JDIMENSION) != 4) in jsimd_can_rgb_ycc() 187 if (sizeof(JDIMENSION) != 4) in jsimd_can_rgb_gray() 206 if (sizeof(JDIMENSION) != 4) in jsimd_can_ycc_rgb() 225 JSAMPIMAGE output_buf, JDIMENSION output_row, in jsimd_rgb_ycc_convert() 228 void (*altivecfct) (JDIMENSION, JSAMPARRAY, JSAMPIMAGE, JDIMENSION, int); in jsimd_rgb_ycc_convert() 263 JSAMPIMAGE output_buf, JDIMENSION output_row, in jsimd_rgb_gray_convert() 266 void (*altivecfct) (JDIMENSION, JSAMPARRAY, JSAMPIMAGE, JDIMENSION, int); in jsimd_rgb_gray_convert() 301 JDIMENSION input_row, JSAMPARRAY output_buf, in jsimd_ycc_rgb_convert() 304 void (*altivecfct) (JDIMENSION, JSAMPIMAGE, JDIMENSION, JSAMPARRAY, int); in jsimd_ycc_rgb_convert() 339 JDIMENSION input_row, JSAMPARRAY output_buf, in jsimd_ycc_rgb565_convert() [all …]
|
/external/libjpeg-turbo/simd/loongson/ |
D | jsimd.c | 62 if (sizeof(JDIMENSION) != 4) in jsimd_can_rgb_ycc() 87 if (sizeof(JDIMENSION) != 4) in jsimd_can_ycc_rgb() 112 JSAMPIMAGE output_buf, JDIMENSION output_row, in jsimd_rgb_ycc_convert() 115 void (*mmifct) (JDIMENSION, JSAMPARRAY, JSAMPIMAGE, JDIMENSION, int); in jsimd_rgb_ycc_convert() 150 JSAMPIMAGE output_buf, JDIMENSION output_row, in jsimd_rgb_gray_convert() 157 JDIMENSION input_row, JSAMPARRAY output_buf, in jsimd_ycc_rgb_convert() 160 void (*mmifct) (JDIMENSION, JSAMPIMAGE, JDIMENSION, JSAMPARRAY, int); in jsimd_ycc_rgb_convert() 195 JDIMENSION input_row, JSAMPARRAY output_buf, in jsimd_ycc_rgb565_convert() 202 JSAMPIMAGE output_buf, JDIMENSION output_row, in jsimd_c_null_convert() 215 if (sizeof(JDIMENSION) != 4) in jsimd_can_h2v2_downsample() [all …]
|
/external/libjpeg-turbo/simd/arm/ |
D | jsimd.c | 152 if (sizeof(JDIMENSION) != 4) in jsimd_can_rgb_ycc() 177 if (sizeof(JDIMENSION) != 4) in jsimd_can_ycc_rgb() 196 if (sizeof(JDIMENSION) != 4) in jsimd_can_ycc_rgb565() 207 JSAMPIMAGE output_buf, JDIMENSION output_row, in jsimd_rgb_ycc_convert() 210 void (*neonfct) (JDIMENSION, JSAMPARRAY, JSAMPIMAGE, JDIMENSION, int); in jsimd_rgb_ycc_convert() 245 JSAMPIMAGE output_buf, JDIMENSION output_row, in jsimd_rgb_gray_convert() 252 JDIMENSION input_row, JSAMPARRAY output_buf, in jsimd_ycc_rgb_convert() 255 void (*neonfct) (JDIMENSION, JSAMPIMAGE, JDIMENSION, JSAMPARRAY, int); in jsimd_ycc_rgb_convert() 290 JDIMENSION input_row, JSAMPARRAY output_buf, in jsimd_ycc_rgb565_convert() 359 if (sizeof(JDIMENSION) != 4) in jsimd_can_h2v1_fancy_upsample() [all …]
|
/external/libjpeg-turbo/simd/arm64/ |
D | jsimd.c | 178 if (sizeof(JDIMENSION) != 4) in jsimd_can_rgb_ycc() 203 if (sizeof(JDIMENSION) != 4) in jsimd_can_ycc_rgb() 222 if (sizeof(JDIMENSION) != 4) in jsimd_can_ycc_rgb565() 233 JSAMPIMAGE output_buf, JDIMENSION output_row, in jsimd_rgb_ycc_convert() 236 void (*neonfct) (JDIMENSION, JSAMPARRAY, JSAMPIMAGE, JDIMENSION, int); in jsimd_rgb_ycc_convert() 280 JSAMPIMAGE output_buf, JDIMENSION output_row, in jsimd_rgb_gray_convert() 287 JDIMENSION input_row, JSAMPARRAY output_buf, in jsimd_ycc_rgb_convert() 290 void (*neonfct) (JDIMENSION, JSAMPIMAGE, JDIMENSION, JSAMPARRAY, int); in jsimd_ycc_rgb_convert() 334 JDIMENSION input_row, JSAMPARRAY output_buf, in jsimd_ycc_rgb565_convert() 351 if (sizeof(JDIMENSION) != 4) in jsimd_can_h2v2_downsample() [all …]
|