Home
last modified time | relevance | path

Searched refs:JSAMPLE (Results 1 – 25 of 29) sorted by relevance

12

/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Djmorecfg.h69 typedef unsigned char JSAMPLE; typedef
74 typedef char JSAMPLE; typedef
94 typedef short JSAMPLE; typedef
108 typedef short JSAMPLE; typedef
122 typedef short JSAMPLE; typedef
136 typedef short JSAMPLE; typedef
A Drdppm.c78 JSAMPLE *rescale; /* => maxval-remapping array, or NULL */
148 register JSAMPLE *rescale = source->rescale; in get_text_gray_row()
166 register JSAMPLE *rescale = source->rescale; in get_text_rgb_row()
186 register JSAMPLE *rescale = source->rescale; in get_scaled_gray_row()
207 register JSAMPLE *rescale = source->rescale; in get_scaled_rgb_row()
245 register JSAMPLE *rescale = source->rescale; in get_word_gray_row()
269 register JSAMPLE *rescale = source->rescale; in get_word_rgb_row()
361 } else if (maxval == MAXJSAMPLE && SIZEOF(JSAMPLE) == SIZEOF(U_CHAR)) { in start_input_ppm()
376 } else if (maxval == MAXJSAMPLE && SIZEOF(JSAMPLE) == SIZEOF(U_CHAR)) { in start_input_ppm()
416 source->rescale = (JSAMPLE *) in start_input_ppm()
[all …]
A Drdtarga.c111 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); in read_colormap()
112 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); in read_colormap()
113 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); in read_colormap()
184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row()
228 ptr[2] = (JSAMPLE) c5to8bits[t & 0x1F]; in get_16bit_row()
230 ptr[1] = (JSAMPLE) c5to8bits[t & 0x1F]; in get_16bit_row()
232 ptr[0] = (JSAMPLE) c5to8bits[t & 0x1F]; in get_16bit_row()
249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row()
250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row()
251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
A Djccolor.c171 outptr0[col] = (JSAMPLE) in rgb_ycc_convert()
175 outptr1[col] = (JSAMPLE) in rgb_ycc_convert()
179 outptr2[col] = (JSAMPLE) in rgb_ycc_convert()
219 outptr[col] = (JSAMPLE) in rgb_gray_convert()
268 outptr0[col] = (JSAMPLE) in cmyk_ycck_convert()
272 outptr1[col] = (JSAMPLE) in cmyk_ycck_convert()
276 outptr2[col] = (JSAMPLE) in cmyk_ycck_convert()
318 outptr0[col] = (JSAMPLE) ((r - g + CENTERJSAMPLE) & MAXJSAMPLE); in rgb_rgb1_convert()
319 outptr1[col] = (JSAMPLE) g; in rgb_rgb1_convert()
320 outptr2[col] = (JSAMPLE) ((b - g + CENTERJSAMPLE) & MAXJSAMPLE); in rgb_rgb1_convert()
A Djcsample.c100 register JSAMPLE pixval; in expand_right_edge()
184 *outptr++ = (JSAMPLE) ((outvalue + numpix2) / numpix); in int_downsample()
245 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr) + GETJSAMPLE(inptr[1]) in h2v1_downsample()
284 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr0) + GETJSAMPLE(inptr0[1]) + in h2v2_downsample()
356 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16); in h2v2_smooth_downsample()
376 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16); in h2v2_smooth_downsample()
391 *outptr = (JSAMPLE) ((membersum + 32768) >> 16); in h2v2_smooth_downsample()
446 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16); in fullsize_smooth_downsample()
456 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16); in fullsize_smooth_downsample()
464 *outptr = (JSAMPLE) ((membersum + 32768) >> 16); in fullsize_smooth_downsample()
A Drdbmp.c91 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); in read_colormap()
92 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); in read_colormap()
93 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); in read_colormap()
99 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); in read_colormap()
100 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); in read_colormap()
101 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); in read_colormap()
244 *out_ptr++ = (JSAMPLE) c; in preload_image()
A Djquant1.c315 colormap[i][ptr+k] = (JSAMPLE) val; in create_colormap()
379 indexptr[j] = (JSAMPLE) (val * blksize); in create_colorindex()
481 *ptrout++ = (JSAMPLE) pixcode; in color_quantize()
509 *ptrout++ = (JSAMPLE) pixcode; in color_quantize3()
535 (size_t) (width * SIZEOF(JSAMPLE))); in quantize_ord_dither()
601 *output_ptr++ = (JSAMPLE) pixcode; in quantize3_ord_dither()
634 JSAMPLE *range_limit = cinfo->sample_range_limit; in quantize_fs_dither()
640 (size_t) (width * SIZEOF(JSAMPLE))); in quantize_fs_dither()
682 *output_ptr += (JSAMPLE) pixcode; in quantize_fs_dither()
A Djquant2.c648 JSAMPLE colorlist[]) in find_nearby_colors()
769 colorlist[ncolors++] = (JSAMPLE) i; in find_nearby_colors()
777 int numcolors, JSAMPLE colorlist[], JSAMPLE bestcolor[]) in find_best_colors()
788 JSAMPLE * cptr; /* pointer into bestcolor[] array */ in find_best_colors()
838 *cptr = (JSAMPLE) icolor; in find_best_colors()
865 register JSAMPLE * cptr; /* pointer into bestcolor[] array */ in fill_inverse_cmap()
868 JSAMPLE colorlist[MAXNUMCOLORS]; in fill_inverse_cmap()
871 JSAMPLE bestcolor[BOX_C0_ELEMS * BOX_C1_ELEMS * BOX_C2_ELEMS]; in fill_inverse_cmap()
943 *outptr++ = (JSAMPLE) (*cachep - 1); in pass2_no_dither()
968 JSAMPLE *range_limit = cinfo->sample_range_limit; in pass2_fs_dither()
[all …]
A Drdcolmap.c67 colormap0[ncolors] = (JSAMPLE) R; in add_map_entry()
68 colormap1[ncolors] = (JSAMPLE) G; in add_map_entry()
69 colormap2[ncolors] = (JSAMPLE) B; in add_map_entry()
A Djdcolor.c215 register JSAMPLE * range_limit = cinfo->sample_range_limit; in ycc_rgb_convert()
301 outptr[col] = (JSAMPLE) in rgb_gray_convert()
341 outptr[RGB_RED] = (JSAMPLE) ((r + g - CENTERJSAMPLE) & MAXJSAMPLE); in rgb1_rgb_convert()
342 outptr[RGB_GREEN] = (JSAMPLE) g; in rgb1_rgb_convert()
343 outptr[RGB_BLUE] = (JSAMPLE) ((b + g - CENTERJSAMPLE) & MAXJSAMPLE); in rgb1_rgb_convert()
384 outptr[col] = (JSAMPLE) in rgb1_gray_convert()
519 register JSAMPLE * range_limit = cinfo->sample_range_limit; in ycck_cmyk_convert()
A Djdmaster.c237 JSAMPLE * table; in prepare_range_limit_table()
240 table = (JSAMPLE *) in prepare_range_limit_table()
242 5 * (MAXJSAMPLE+1) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
244 MEMZERO(table, 2 * (MAXJSAMPLE+1) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
249 table[i] = (JSAMPLE) i; in prepare_range_limit_table()
A Drdrle.c221 *dest_row++ = (JSAMPLE) (colormap[val ] >> 8); in get_pseudocolor_row()
222 *dest_row++ = (JSAMPLE) (colormap[val + 256] >> 8); in get_pseudocolor_row()
223 *dest_row++ = (JSAMPLE) (colormap[val + 512] >> 8); in get_pseudocolor_row()
297 *scanline++ = (JSAMPLE) in load_image()
A Djdsample.c196 register JSAMPLE invalue; in int_upsample()
239 register JSAMPLE invalue; in h2v1_upsample()
267 register JSAMPLE invalue; in h2v2_upsample()
A Djmemmgr.c408 ((long) samplesperrow * SIZEOF(JSAMPLE)); in alloc_sarray()
427 * SIZEOF(JSAMPLE))); in alloc_sarray()
602 (long) sptr->samplesperrow * SIZEOF(JSAMPLE); in realize_virt_arrays()
604 (long) sptr->samplesperrow * SIZEOF(JSAMPLE); in realize_virt_arrays()
652 (long) SIZEOF(JSAMPLE)); in realize_virt_arrays()
696 bytesperrow = (long) ptr->samplesperrow * SIZEOF(JSAMPLE); in do_sarray_io()
821 size_t bytesperrow = (size_t) ptr->samplesperrow * SIZEOF(JSAMPLE); in access_virt_sarray()
A Djutils.c188 register size_t count = (size_t) (num_cols * SIZEOF(JSAMPLE)); in jcopy_sample_rows()
A Djdmerge.c279 register JSAMPLE * range_limit = cinfo->sample_range_limit; in h2v1_merged_upsample()
341 register JSAMPLE * range_limit = cinfo->sample_range_limit; in h2v2_merged_upsample()
431 (size_t) (upsample->out_row_width * SIZEOF(JSAMPLE))); in jinit_merged_upsampler()
A Djidctfst.c155 JSAMPLE *range_limit = IDCT_range_limit(cinfo);
279 JSAMPLE dcval = range_limit[(int) IRIGHT_SHIFT(z5, PASS1_BITS+3)
A Dexample.c61 extern JSAMPLE * image_buffer; /* Points to large array of R,G,B-order data */
A Djidctint.c184 JSAMPLE *range_limit = IDCT_range_limit(cinfo);
448 JSAMPLE *range_limit = IDCT_range_limit(cinfo); in jpeg_idct_7x7()
599 JSAMPLE *range_limit = IDCT_range_limit(cinfo); in jpeg_idct_6x6()
722 JSAMPLE *range_limit = IDCT_range_limit(cinfo); in jpeg_idct_5x5()
839 JSAMPLE *range_limit = IDCT_range_limit(cinfo); in jpeg_idct_4x4()
945 JSAMPLE *range_limit = IDCT_range_limit(cinfo); in jpeg_idct_3x3()
1034 JSAMPLE *range_limit = IDCT_range_limit(cinfo); in jpeg_idct_2x2()
1088 JSAMPLE *range_limit = IDCT_range_limit(cinfo); in jpeg_idct_1x1()
1123 JSAMPLE *range_limit = IDCT_range_limit(cinfo); in jpeg_idct_9x9()
1297 JSAMPLE *range_limit = IDCT_range_limit(cinfo); in jpeg_idct_10x10()
[all …]
A Djidctflt.c82 JSAMPLE *range_limit = IDCT_range_limit(cinfo);
A Dwrppm.c241 SIZEOF(JSAMPLE) != SIZEOF(char)) { in jinit_write_ppm()
A Djpeglib.h75 typedef JSAMPLE FAR *JSAMPROW; /* ptr to one image row of pixel samples. */
642 JSAMPLE * sample_range_limit; /* table for fast range-limiting */
/AliOS-Things-master/components/SDL2/src/image/VisualC/external/include/
A Djmorecfg.h69 typedef unsigned char JSAMPLE; typedef
74 typedef char JSAMPLE; typedef
94 typedef short JSAMPLE; typedef
108 typedef short JSAMPLE; typedef
122 typedef short JSAMPLE; typedef
136 typedef short JSAMPLE; typedef
A Djpeglib.h75 typedef JSAMPLE FAR *JSAMPROW; /* ptr to one image row of pixel samples. */
642 JSAMPLE * sample_range_limit; /* table for fast range-limiting */
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_jpeg.c1444 JSAMPLE *in_ptr = line_work_buf + iPair * 2; in JPEGDecode()
1565 JSAMPLE *inptr = sp->ds_buffer[ci][sp->scancount*vsamp + ypos]; in JPEGDecodeRaw()
1568 JSAMPLE *outptr = (JSAMPLE*)tmpbuf + clumpoffset; in JPEGDecodeRaw()
1570 JSAMPLE *outptr = (JSAMPLE*)buf + clumpoffset; in JPEGDecodeRaw()
1617 JSAMPLE *in_ptr = (JSAMPLE *) (tmpbuf + iPair * 2); in JPEGDecodeRaw()
2084 JSAMPLE *out_ptr = (JSAMPLE *) (line16 + iPair * 2); in JPEGEncode()
2117 JSAMPLE* inptr; in JPEGEncodeRaw()
2118 JSAMPLE* outptr; in JPEGEncodeRaw()
2156 inptr = ((JSAMPLE*) buf) + clumpoffset; in JPEGEncodeRaw()
2215 * sizeof(JSAMPLE); in JPEGPostEncode()

Completed in 53 milliseconds

12