Home
last modified time | relevance | path

Searched refs:inptr (Results 1 - 25 of 63) sorted by relevance

123

/third_party/cups-filters/filter/pdftopdf/
H A Dpdftopdf_jcl.cc74 char *inptr, /* Input pointer */ in ppd_decode() local
77 inptr = string; in ppd_decode()
80 while (*inptr != '\0') in ppd_decode()
81 if (*inptr == '<' && isxdigit(inptr[1] & 255)) { in ppd_decode()
86 inptr ++; in ppd_decode()
87 while (isxdigit(*inptr & 255)) { in ppd_decode()
88 if (isalpha(*inptr)) in ppd_decode()
89 *outptr = (tolower(*inptr) - 'a' + 10) << 4; in ppd_decode()
91 *outptr = (*inptr in ppd_decode()
[all...]
/third_party/cups-filters/cupsfilters/
H A Dimage-sgi.c43 *inptr, /* Current input pixel */ in _cupsImageReadSGI() local
131 for (i = img->xsize - 1, gray = rows[0], inptr = in; in _cupsImageReadSGI()
135 *inptr++ = *gray++; in _cupsImageReadSGI()
138 for (i = img->xsize - 1, gray = rows[0], inptr = in; in _cupsImageReadSGI()
142 *inptr++ = (*gray++) / 256 + 128; in _cupsImageReadSGI()
147 for (i = img->xsize - 1, gray = rows[0], alpha = rows[1], inptr = in; in _cupsImageReadSGI()
151 *inptr++ = (*gray++) * (*alpha++) / 255; in _cupsImageReadSGI()
154 for (i = img->xsize - 1, gray = rows[0], alpha = rows[1], inptr = in; in _cupsImageReadSGI()
158 *inptr++ = ((*gray++) / 256 + 128) * (*alpha++) / 32767; in _cupsImageReadSGI()
164 blue = rows[2], inptr in _cupsImageReadSGI()
[all...]
H A Dimage-png.c57 *inptr, /* Pointer into pixels */ in _cupsImageReadPNG() local
237 for (inptr = in, y = 0; y < img->ysize; y ++) in _cupsImageReadPNG()
239 png_read_row(pp, (png_bytep)inptr, NULL); in _cupsImageReadPNG()
250 cupsImageRGBAdjust(inptr, img->xsize, saturation, hue); in _cupsImageReadPNG()
255 cupsImageRGBToWhite(inptr, out, img->xsize); in _cupsImageReadPNG()
259 cupsImageRGBToRGB(inptr, out, img->xsize); in _cupsImageReadPNG()
262 cupsImageRGBToBlack(inptr, out, img->xsize); in _cupsImageReadPNG()
265 cupsImageRGBToCMY(inptr, out, img->xsize); in _cupsImageReadPNG()
268 cupsImageRGBToCMYK(inptr, out, img->xsize); in _cupsImageReadPNG()
277 memcpy(out, inptr, im in _cupsImageReadPNG()
[all...]
H A Dimage-pnm.c41 *inptr, /* Current input pixel */ in _cupsImageReadPNM() local
176 for (x = img->xsize, inptr = in; x > 0; x --, inptr ++) in _cupsImageReadPNM()
178 *inptr = val ? 0 : 255; in _cupsImageReadPNM()
182 for (x = img->xsize, inptr = in; x > 0; x --, inptr ++) in _cupsImageReadPNM()
184 *inptr = 255 * val / maxval; in _cupsImageReadPNM()
188 for (x = img->xsize, inptr = in; x > 0; x --, inptr += 3) in _cupsImageReadPNM()
191 inptr[ in _cupsImageReadPNM()
[all...]
H A Dimage-zoom.c215 *inptr; /* Pixel pointer */ in zoom_bilinear() local
251 inptr = z->in + (z->width - 1) * z_depth; in zoom_bilinear()
253 inptr = z->in; in zoom_bilinear()
262 *r++ = (inptr[count] * xerr0 + inptr[z_depth + count] * xerr1) / z_xsize; in zoom_bilinear()
267 *r++ = inptr[count]; in zoom_bilinear()
271 inptr += z_instep; in zoom_bilinear()
280 inptr += z_inincr; in zoom_bilinear()
296 *inptr; /* Pixel pointer */ in zoom_nearest() local
329 inptr in zoom_nearest()
[all...]
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Djccolext.c39 register JSAMPROW inptr; in rgb_ycc_convert_internal() local
45 inptr = *input_buf++; in rgb_ycc_convert_internal()
51 r = inptr[RGB_RED]; in rgb_ycc_convert_internal()
52 g = inptr[RGB_GREEN]; in rgb_ycc_convert_internal()
53 b = inptr[RGB_BLUE]; in rgb_ycc_convert_internal()
54 inptr += RGB_PIXELSIZE; in rgb_ycc_convert_internal()
93 register JSAMPROW inptr; in rgb_gray_convert_internal() local
99 inptr = *input_buf++; in rgb_gray_convert_internal()
103 r = inptr[RGB_RED]; in rgb_gray_convert_internal()
104 g = inptr[RGB_GREE in rgb_gray_convert_internal()
126 register JSAMPROW inptr; rgb_rgb_convert_internal() local
[all...]
H A Djidctred.c127 JCOEFPTR inptr; in jpeg_idct_4x4() local
138 inptr = coef_block; in jpeg_idct_4x4() local
141 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) { in jpeg_idct_4x4()
145 if (inptr[DCTSIZE * 1] == 0 && inptr[DCTSIZE * 2] == 0 && in jpeg_idct_4x4()
146 inptr[DCTSIZE * 3] == 0 && inptr[DCTSIZE * 5] == 0 && in jpeg_idct_4x4()
147 inptr[DCTSIZE * 6] == 0 && inptr[DCTSIZE * 7] == 0) { in jpeg_idct_4x4()
149 int dcval = LEFT_SHIFT(DEQUANTIZE(inptr[DCTSIZ in jpeg_idct_4x4()
284 JCOEFPTR inptr; jpeg_idct_2x2() local
295 inptr = coef_block; jpeg_idct_2x2() local
[all...]
H A Djidctflt.c79 JCOEFPTR inptr; in jpeg_idct_float() local
90 inptr = coef_block; in jpeg_idct_float()
103 if (inptr[DCTSIZE * 1] == 0 && inptr[DCTSIZE * 2] == 0 && in jpeg_idct_float()
104 inptr[DCTSIZE * 3] == 0 && inptr[DCTSIZE * 4] == 0 && in jpeg_idct_float()
105 inptr[DCTSIZE * 5] == 0 && inptr[DCTSIZE * 6] == 0 && in jpeg_idct_float()
106 inptr[DCTSIZE * 7] == 0) { in jpeg_idct_float()
108 FAST_FLOAT dcval = DEQUANTIZE(inptr[DCTSIZ in jpeg_idct_float()
[all...]
H A Drdbmp.c152 register JSAMPROW inptr, outptr; in METHODDEF() local
161 inptr = image_ptr[0]; in METHODDEF()
165 inptr = source->iobuffer; in METHODDEF()
172 t = *inptr++; in METHODDEF()
179 t = *inptr++; in METHODDEF()
195 t = *inptr++; in METHODDEF()
206 t = *inptr++; in METHODDEF()
227 register JSAMPROW inptr, outptr; in METHODDEF() local
236 inptr = image_ptr[0]; in METHODDEF()
240 inptr in METHODDEF()
290 register JSAMPROW inptr, outptr; METHODDEF() local
[all...]
H A Djidctfst.c178 JCOEFPTR inptr; in jpeg_idct_ifast() local
190 inptr = coef_block; in jpeg_idct_ifast() local
203 if (inptr[DCTSIZE * 1] == 0 && inptr[DCTSIZE * 2] == 0 && in jpeg_idct_ifast()
204 inptr[DCTSIZE * 3] == 0 && inptr[DCTSIZE * 4] == 0 && in jpeg_idct_ifast()
205 inptr[DCTSIZE * 5] == 0 && inptr[DCTSIZE * 6] == 0 && in jpeg_idct_ifast()
206 inptr[DCTSIZE * 7] == 0) { in jpeg_idct_ifast()
208 int dcval = (int)DEQUANTIZE(inptr[DCTSIZ in jpeg_idct_ifast()
[all...]
H A Djidctint.c180 JCOEFPTR inptr; in jpeg_idct_islow() local
193 inptr = coef_block; in jpeg_idct_islow() local
206 if (inptr[DCTSIZE * 1] == 0 && inptr[DCTSIZE * 2] == 0 && in jpeg_idct_islow()
207 inptr[DCTSIZE * 3] == 0 && inptr[DCTSIZE * 4] == 0 && in jpeg_idct_islow()
208 inptr[DCTSIZE * 5] == 0 && inptr[DCTSIZE * 6] == 0 && in jpeg_idct_islow()
209 inptr[DCTSIZE * 7] == 0) { in jpeg_idct_islow()
211 int dcval = LEFT_SHIFT(DEQUANTIZE(inptr[DCTSIZ in jpeg_idct_islow()
433 JCOEFPTR inptr; jpeg_idct_7x7() local
444 inptr = coef_block; jpeg_idct_7x7() local
582 JCOEFPTR inptr; jpeg_idct_6x6() local
593 inptr = coef_block; jpeg_idct_6x6() local
703 JCOEFPTR inptr; jpeg_idct_5x5() local
714 inptr = coef_block; jpeg_idct_5x5() local
817 JCOEFPTR inptr; jpeg_idct_3x3() local
828 inptr = coef_block; jpeg_idct_3x3() local
908 JCOEFPTR inptr; jpeg_idct_9x9() local
919 inptr = coef_block; jpeg_idct_9x9() local
1080 JCOEFPTR inptr; jpeg_idct_10x10() local
1091 inptr = coef_block; jpeg_idct_10x10() local
1275 JCOEFPTR inptr; jpeg_idct_11x11() local
1286 inptr = coef_block; jpeg_idct_11x11() local
1469 JCOEFPTR inptr; jpeg_idct_12x12() local
1480 inptr = coef_block; jpeg_idct_12x12() local
1685 JCOEFPTR inptr; jpeg_idct_13x13() local
1696 inptr = coef_block; jpeg_idct_13x13() local
1913 JCOEFPTR inptr; jpeg_idct_14x14() local
1924 inptr = coef_block; jpeg_idct_14x14() local
2139 JCOEFPTR inptr; jpeg_idct_15x15() local
2150 inptr = coef_block; jpeg_idct_15x15() local
2381 JCOEFPTR inptr; jpeg_idct_16x16() local
2392 inptr = coef_block; jpeg_idct_16x16() local
[all...]
H A Dwrtarga.c98 register JSAMPROW inptr; in put_pixel_rows() local
102 inptr = dest->pub.buffer[0]; in put_pixel_rows()
105 outptr[0] = inptr[2]; /* RGB to BGR order */ in put_pixel_rows()
106 outptr[1] = inptr[1]; in put_pixel_rows()
107 outptr[2] = inptr[0]; in put_pixel_rows()
108 inptr += 3, outptr += 3; in put_pixel_rows()
119 register JSAMPROW inptr; in put_gray_rows() local
122 inptr = dest->pub.buffer[0]; in put_gray_rows()
124 MEMCOPY(outptr, inptr, cinfo->output_width); in put_gray_rows()
139 register JSAMPROW inptr; in put_demapped_gray() local
[all...]
H A Djccolor.c382 register JSAMPROW inptr; in cmyk_ycck_convert() local
388 inptr = *input_buf++; in cmyk_ycck_convert()
395 r = MAXJSAMPLE - inptr[0]; in cmyk_ycck_convert()
396 g = MAXJSAMPLE - inptr[1]; in cmyk_ycck_convert()
397 b = MAXJSAMPLE - inptr[2]; in cmyk_ycck_convert()
399 outptr3[col] = inptr[3]; in cmyk_ycck_convert()
400 inptr += 4; in cmyk_ycck_convert()
430 register JSAMPROW inptr; in grayscale_convert() local
437 inptr = *input_buf++; in grayscale_convert()
441 outptr[col] = inptr[ in grayscale_convert()
458 register JSAMPROW inptr; null_convert() local
[all...]
H A Djdsample.c163 register JSAMPROW inptr, outptr; in int_upsample() local
176 inptr = input_data[inrow]; in int_upsample()
180 invalue = *inptr++; in int_upsample()
206 register JSAMPROW inptr, outptr; in h2v1_upsample() local
212 inptr = input_data[inrow]; in h2v1_upsample()
216 invalue = *inptr++; in h2v1_upsample()
234 register JSAMPROW inptr, outptr; in h2v2_upsample() local
241 inptr = input_data[inrow]; in h2v2_upsample()
245 invalue = *inptr++; in h2v2_upsample()
277 register JSAMPROW inptr, outpt in h2v1_fancy_upsample() local
[all...]
H A Djcsample.c153 JSAMPROW inptr, outptr; in int_downsample() local
175 inptr = input_data[inrow + v] + outcol_h; in int_downsample()
177 outvalue += (JLONG)(*inptr++); in int_downsample()
225 register JSAMPROW inptr, outptr; in h2v1_downsample() local
237 inptr = input_data[outrow]; in h2v1_downsample()
240 *outptr++ = (JSAMPLE)((inptr[0] + inptr[1] + bias) >> 1); in h2v1_downsample()
242 inptr += 2; in h2v1_downsample()
391 register JSAMPROW inptr, above_ptr, below_ptr, outptr; in fullsize_smooth_downsample() local
413 inptr in fullsize_smooth_downsample()
[all...]
H A Dwrbmp.c103 register JSAMPROW inptr, outptr; in put_pixel_rows() local
121 inptr = dest->pub.buffer[0]; in put_pixel_rows()
124 MEMCOPY(outptr, inptr, dest->row_width); in put_pixel_rows()
128 unsigned short *inptr2 = (unsigned short *)inptr; in put_pixel_rows()
144 JSAMPLE c = *inptr++, m = *inptr++, y = *inptr++, k = *inptr++; in put_pixel_rows()
155 outptr[0] = inptr[bindex]; in put_pixel_rows()
156 outptr[1] = inptr[ginde in put_pixel_rows()
178 register JSAMPROW inptr, outptr; put_gray_rows() local
[all...]
/third_party/lwip/src/netif/
H A Dlowpan6_common.c136 u8_t *buffer, *inptr; in lowpan6_compress_headers() local
151 inptr = inbuf; in lowpan6_compress_headers()
163 ip6hdr = (struct ip6_hdr *)inptr; in lowpan6_compress_headers()
259 MEMCPY(buffer + lowpan6_header_len, inptr + 16, 8); in lowpan6_compress_headers()
262 MEMCPY(buffer + lowpan6_header_len, inptr + 22, 2); in lowpan6_compress_headers()
270 MEMCPY(buffer + lowpan6_header_len, inptr + 8, 16); in lowpan6_compress_headers()
283 MEMCPY(buffer + lowpan6_header_len, inptr + 24, 16); in lowpan6_compress_headers()
286 buffer[lowpan6_header_len++] = inptr[25]; in lowpan6_compress_headers()
287 MEMCPY(buffer + lowpan6_header_len, inptr + 35, 5); in lowpan6_compress_headers()
290 buffer[lowpan6_header_len++] = inptr[2 in lowpan6_compress_headers()
[all...]
/third_party/libsnd/src/
H A Dinterleave.c99 short *inptr, *outptr ; in interleave_read_short() local
104 inptr = (short*) pdata->buffer ; in interleave_read_short()
124 if (pdata->read_short (psf, inptr, count) != count) in interleave_read_short()
130 { *outptr = inptr [k] ; in interleave_read_short()
146 int *inptr, *outptr ; in interleave_read_int() local
151 inptr = (int*) pdata->buffer ; in interleave_read_int()
171 if (pdata->read_int (psf, inptr, count) != count) in interleave_read_int()
177 { *outptr = inptr [k] ; in interleave_read_int()
193 float *inptr, *outptr ; in interleave_read_float() local
198 inptr in interleave_read_float()
244 double *inptr, *outptr ; interleave_read_double() local
[all...]
/third_party/nghttp2/src/
H A Dnghttp2_gzip_test.c67 uint8_t in[4096], out[4096], *inptr; in test_nghttp2_gzip_inflate() local
76 inptr = in; in test_nghttp2_gzip_inflate()
80 0 == nghttp2_gzip_inflate(inflater, out, &outproclen, inptr, &inproclen)); in test_nghttp2_gzip_inflate()
85 inptr += inproclen; in test_nghttp2_gzip_inflate()
91 0 == nghttp2_gzip_inflate(inflater, out, &outproclen, inptr, &inproclen)); in test_nghttp2_gzip_inflate()
96 inptr += inproclen; in test_nghttp2_gzip_inflate()
102 0 == nghttp2_gzip_inflate(inflater, out, &outproclen, inptr, &inproclen)); in test_nghttp2_gzip_inflate()
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/
H A Djcgryext-neon.c42 JSAMPROW inptr; in jsimd_rgb_gray_convert_neon() local
48 inptr = *input_buf++; in jsimd_rgb_gray_convert_neon()
60 memcpy(tmp_buf, inptr, cols_remaining * RGB_PIXELSIZE); in jsimd_rgb_gray_convert_neon()
61 inptr = tmp_buf; in jsimd_rgb_gray_convert_neon()
65 uint8x16x4_t input_pixels = vld4q_u8(inptr); in jsimd_rgb_gray_convert_neon()
67 uint8x16x3_t input_pixels = vld3q_u8(inptr); in jsimd_rgb_gray_convert_neon()
102 inptr += (16 * RGB_PIXELSIZE); in jsimd_rgb_gray_convert_neon()
H A Djdsample-neon.c65 JSAMPROW inptr, outptr; in jsimd_h2v1_fancy_upsample_neon() local
73 inptr = input_data[inrow]; in jsimd_h2v1_fancy_upsample_neon()
76 *outptr = (JSAMPLE)GETJSAMPLE(*inptr); in jsimd_h2v1_fancy_upsample_neon()
82 uint8x16_t s0 = vld1q_u8(inptr); in jsimd_h2v1_fancy_upsample_neon()
83 uint8x16_t s1 = vld1q_u8(inptr + 1); in jsimd_h2v1_fancy_upsample_neon()
114 s0 = vld1q_u8(inptr + colctr - 1); in jsimd_h2v1_fancy_upsample_neon()
115 s1 = vld1q_u8(inptr + colctr); in jsimd_h2v1_fancy_upsample_neon()
155 GETJSAMPLE(inptr[downsampled_width - 1]); in jsimd_h2v1_fancy_upsample_neon()
491 JSAMPROW inptr, outptr; in jsimd_h2v1_upsample_neon() local
496 inptr in jsimd_h2v1_upsample_neon()
544 JSAMPROW inptr, outptr0, outptr1; jsimd_h2v2_upsample_neon() local
[all...]
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/aarch32/
H A Djccolext-neon.c52 JSAMPROW inptr; in jsimd_rgb_ycc_convert_neon() local
70 inptr = *input_buf++; in jsimd_rgb_ycc_convert_neon()
84 memcpy(tmp_buf, inptr, cols_remaining * RGB_PIXELSIZE); in jsimd_rgb_ycc_convert_neon()
85 inptr = tmp_buf; in jsimd_rgb_ycc_convert_neon()
89 uint8x8x4_t input_pixels = vld4_u8(inptr); in jsimd_rgb_ycc_convert_neon()
91 uint8x8x3_t input_pixels = vld3_u8(inptr); in jsimd_rgb_ycc_convert_neon()
142 inptr += (8 * RGB_PIXELSIZE); in jsimd_rgb_ycc_convert_neon()
/third_party/node/deps/openssl/openssl/crypto/
H A Dpunycode.c256 const char *inptr = in; in ossl_a2ulabel() local
278 char *tmpptr = strchr(inptr, '.'); in ossl_a2ulabel()
279 size_t delta = tmpptr != NULL ? (size_t)(tmpptr - inptr) : strlen(inptr); in ossl_a2ulabel()
281 if (strncmp(inptr, "xn--", 4) != 0) { in ossl_a2ulabel()
283 PUSHC(inptr[i]); in ossl_a2ulabel()
287 if (ossl_punycode_decode(inptr + 4, delta - 4, buf, &bufsize) <= 0) in ossl_a2ulabel()
307 inptr = tmpptr + 1; in ossl_a2ulabel()
/third_party/openssl/crypto/
H A Dpunycode.c256 const char *inptr = in; in ossl_a2ulabel() local
278 char *tmpptr = strchr(inptr, '.'); in ossl_a2ulabel()
279 size_t delta = tmpptr != NULL ? (size_t)(tmpptr - inptr) : strlen(inptr); in ossl_a2ulabel()
281 if (strncmp(inptr, "xn--", 4) != 0) { in ossl_a2ulabel()
283 PUSHC(inptr[i]); in ossl_a2ulabel()
287 if (ossl_punycode_decode(inptr + 4, delta - 4, buf, &bufsize) <= 0) in ossl_a2ulabel()
307 inptr = tmpptr + 1; in ossl_a2ulabel()
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/aarch64/
H A Djccolext-neon.c51 JSAMPROW inptr; in jsimd_rgb_ycc_convert_neon() local
62 inptr = *input_buf++; in jsimd_rgb_ycc_convert_neon()
72 uint8x16x4_t input_pixels = vld4q_u8(inptr); in jsimd_rgb_ycc_convert_neon()
74 uint8x16x3_t input_pixels = vld3q_u8(inptr); in jsimd_rgb_ycc_convert_neon()
156 inptr += (16 * RGB_PIXELSIZE); in jsimd_rgb_ycc_convert_neon()
167 memcpy(tmp_buf, inptr, cols_remaining * RGB_PIXELSIZE); in jsimd_rgb_ycc_convert_neon()
168 inptr = tmp_buf; in jsimd_rgb_ycc_convert_neon()
171 uint8x16x4_t input_pixels = vld4q_u8(inptr); in jsimd_rgb_ycc_convert_neon()
173 uint8x16x3_t input_pixels = vld3q_u8(inptr); in jsimd_rgb_ycc_convert_neon()
259 memcpy(tmp_buf, inptr, cols_remainin in jsimd_rgb_ycc_convert_neon()
[all...]

Completed in 14 milliseconds

123