Home
last modified time | relevance | path

Searched refs:bp (Results 1 – 25 of 41) sorted by relevance

12

/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_next.c52 unsigned char *bp, *op; in NeXTDecode() local
66 bp = (unsigned char *)tif->tif_rawcp; in NeXTDecode()
75 n = *bp++; in NeXTDecode()
84 _TIFFmemcpy(row, bp, scanline); in NeXTDecode()
85 bp += scanline; in NeXTDecode()
96 off = (bp[0] * 256) + bp[1]; in NeXTDecode()
97 n = (bp[2] * 256) + bp[3]; in NeXTDecode()
100 _TIFFmemcpy(row+off, bp+4, n); in NeXTDecode()
101 bp += 4+n; in NeXTDecode()
138 n = *bp++; in NeXTDecode()
[all …]
A Dtif_packbits.c68 unsigned char* bp = (unsigned char*) buf; in PackBitsEncode() local
85 b = *bp++; in PackBitsEncode()
88 for (; cc > 0 && b == *bp; cc--, bp++) in PackBitsEncode()
209 bp += chunk; in PackBitsEncodeChunk()
219 char *bp; in PackBitsDecode() local
225 bp = (char*) tif->tif_rawcp; in PackBitsDecode()
228 n = (long) *bp++; in PackBitsDecode()
254 b = *bp++; in PackBitsDecode()
272 _TIFFmemcpy(op, bp, ++n); in PackBitsDecode()
274 bp += n; cc -= n; in PackBitsDecode()
[all …]
A Dtif_fax3.c849 bp += bs>>3; in find0span()
862 bp++; in find0span()
875 bp++; in find0span()
893 bp++; in find0span()
911 bp += bs>>3; in find1span()
924 bp++; in find1span()
937 bp++; in find1span()
955 bp++; in find1span()
1039 uint32 a1 = (PIXEL(bp, 0) != 0 ? 0 : finddiff(bp, 0, bits, 0)); in Fax3Encode2DRow()
1052 a2 = finddiff2(bp, a1, bits, PIXEL(bp,a1)); in Fax3Encode2DRow()
[all …]
A Dtif_luv.c192 unsigned char* bp; in LogL16Decode() local
268 unsigned char* bp; in LogLuvDecode24() local
290 tp[i] = bp[0] << 16 | bp[1] << 8 | bp[2]; in LogLuvDecode24()
291 bp += 3; in LogLuvDecode24()
325 unsigned char* bp; in LogLuvDecode32() local
406 bp += rowlen; in LogLuvDecodeStrip()
427 bp += rowlen; in LogLuvDecodeTile()
457 tp = (int16*) bp; in LogL16Encode()
550 tp = (uint32*) bp; in LogLuvEncode24()
696 bp += rowlen; in LogLuvEncodeStrip()
[all …]
A Dtif_lzw.c188 #define NextCode(tif, sp, bp, code, get) get(sp, bp, code) argument
341 #define GetNextCode(sp, bp, code) { \ argument
342 nextdata = (nextdata<<8) | *(bp)++; \
368 unsigned char *bp; in LZWDecode() local
428 bp = (unsigned char *)tif->tif_rawcp; in LZWDecode()
557 tif->tif_rawcp = (uint8*) bp; in LZWDecode()
605 unsigned char *bp; in LZWDecodeCompat() local
659 bp = (unsigned char *)tif->tif_rawcp; in LZWDecodeCompat()
778 tif->tif_rawcp = (uint8*) bp; in LZWDecodeCompat()
937 ent = *bp++; cc--; incount++; in LZWEncode()
[all …]
A Dtif_thunder.c91 register unsigned char *bp; in ThunderDecode() local
96 bp = (unsigned char *)tif->tif_rawcp; in ThunderDecode()
103 n = *bp++; in ThunderDecode()
144 tif->tif_rawcp = (uint8*) bp; in ThunderDecode()
A Dtif_predict.c51 static int PredictorEncodeRow(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s);
690 PredictorEncodeRow(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) in PredictorEncodeRow() argument
699 if( !(*sp->encodepfunc)(tif, bp, cc) ) in PredictorEncodeRow()
701 return (*sp->encoderow)(tif, bp, cc, s); in PredictorEncodeRow()
711 unsigned char* bp; in PredictorEncodeTile() local
731 bp = working_copy; in PredictorEncodeTile()
743 (*sp->encodepfunc)(tif, bp, rowsize); in PredictorEncodeTile()
745 bp += rowsize; in PredictorEncodeTile()
A Dtif_write.c640 TIFFWriteBufferSetup(TIFF* tif, void* bp, tmsize_t size) in TIFFWriteBufferSetup() argument
659 bp = NULL; /* NB: force malloc */ in TIFFWriteBufferSetup()
661 if (bp == NULL) { in TIFFWriteBufferSetup()
662 bp = _TIFFmalloc(size); in TIFFWriteBufferSetup()
663 if (bp == NULL) { in TIFFWriteBufferSetup()
670 tif->tif_rawdata = (uint8*) bp; in TIFFWriteBufferSetup()
A Dtif_zip.c86 static int ZIPEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s);
260 ZIPEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) in ZIPEncode() argument
269 sp->stream.next_in = bp; in ZIPEncode()
A Dtif_lzma.c66 static int LZMAEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s);
272 LZMAEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) in LZMAEncode() argument
281 sp->stream.next_in = bp; in LZMAEncode()
A Dtif_pixarlog.c599 static int PixarLogEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s);
1124 PixarLogEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) in PixarLogEncode() argument
1168 horizontalDifferenceF((float *)bp, llen, in PixarLogEncode()
1170 bp += llen * sizeof(float); in PixarLogEncode()
1173 horizontalDifference16((uint16 *)bp, llen, in PixarLogEncode()
1175 bp += llen * sizeof(uint16); in PixarLogEncode()
1178 horizontalDifference8((unsigned char *)bp, llen, in PixarLogEncode()
1180 bp += llen * sizeof(unsigned char); in PixarLogEncode()
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Djmemdosa.asm45 mov bp,sp
68 pop bp
80 mov bp,sp
100 pop bp
112 mov bp,sp
134 pop bp
172 pop bp
210 pop bp
251 pop bp
292 pop bp
[all …]
/AliOS-Things-master/components/amp/engine/duktape_engine/
A Drepl.c347 *bp = 0; in repl_get_input()
382 (*bp)++; in repl_get_input()
385 (*bp)++; in repl_get_input()
416 (*bp)++; in repl_get_input()
419 (*bp)++; in repl_get_input()
422 (*bp)++; in repl_get_input()
488 inbuf[*bp] = c; in repl_get_input()
491 if (*bp > 0) in repl_get_input()
493 (*bp)--; in repl_get_input()
514 (*bp)++; in repl_get_input()
[all …]
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dcutils.c331 *bp++ = t; in exchange_bytes()
339 *ap = *bp; in exchange_one_byte()
340 *bp = t; in exchange_one_byte()
358 *ap = *bp; in exchange_one_int16()
359 *bp = t; in exchange_one_int16()
377 *ap = *bp; in exchange_one_int32()
378 *bp = t; in exchange_one_int32()
396 *ap = *bp; in exchange_one_int64()
397 *bp = t; in exchange_one_int64()
421 bp[0] = t; in exchange_one_int128()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/
A Dpngwtran.c214 png_bytep bp = row; in png_do_shift() local
228 for (i = 0; i < row_bytes; i++, bp++) in png_do_shift()
233 v = *bp; in png_do_shift()
245 *bp = (png_byte)(out & 0xff); in png_do_shift()
251 png_bytep bp = row; in png_do_shift() local
255 for (i = 0; i < istop; i++, bp++) in png_do_shift()
261 v = *bp; in png_do_shift()
273 *bp = (png_byte)(out & 0xff); in png_do_shift()
279 png_bytep bp; in png_do_shift() local
289 v = png_get_uint_16(bp); in png_do_shift()
[all …]
A Dpngrtran.c2313 png_bytep bp = row; in png_do_unshift() local
2316 while (bp < bp_end) in png_do_unshift()
2319 *bp++ = (png_byte)b; in png_do_unshift()
2328 png_bytep bp = row; in png_do_unshift() local
2335 while (bp < bp_end) in png_do_unshift()
2338 *bp++ = (png_byte)b; in png_do_unshift()
2346 png_bytep bp = row; in png_do_unshift() local
2350 while (bp < bp_end) in png_do_unshift()
2364 png_bytep bp = row; in png_do_unshift() local
2368 while (bp < bp_end) in png_do_unshift()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/pds/
A Dtif_pdsdirwrite.c756 bp[i] = (signed char) v[i]; in TIFFWriteAnyArray()
765 { uint16* bp = (uint16*) w; in TIFFWriteAnyArray() local
767 bp[i] = (uint16) v[i]; in TIFFWriteAnyArray()
773 { int16* bp = (int16*) w; in TIFFWriteAnyArray() local
775 bp[i] = (int16) v[i]; in TIFFWriteAnyArray()
781 { uint32* bp = (uint32*) w; in TIFFWriteAnyArray() local
783 bp[i] = (uint32) v[i]; in TIFFWriteAnyArray()
789 { int32* bp = (int32*) w; in TIFFWriteAnyArray() local
791 bp[i] = (int32) v[i]; in TIFFWriteAnyArray()
797 { float* bp = (float*) w; in TIFFWriteAnyArray() local
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/kernels/
A Dctc_beam_search_decoder.cc247 for (int bp = 0; bp < top_paths; ++bp) { in Eval() local
248 log_probabilities_output[b * top_paths + bp] = log_probs[bp]; in Eval()
/AliOS-Things-master/components/freetype/src/bdf/
A Dbdflib.c243 if ( ndp < bp ) in hash_bucket()
266 for ( i = 0, bp = obp; i < sz; i++, bp++ ) in hash_rehash()
268 if ( *bp ) in hash_rehash()
271 *nbp = *bp; in hash_rehash()
308 hashnode* bp = ht->table; in hash_free() local
312 FT_FREE( *bp ); in hash_free()
330 nn = *bp; in hash_insert()
335 *bp = nn; in hash_insert()
1473 unsigned char* bp; in _bdf_parse_glyphs() local
1759 *bp = (FT_Byte)( ( *bp << 4 ) + a2i[c] ); in _bdf_parse_glyphs()
[all …]
/AliOS-Things-master/components/py_engine/engine/lib/libm_dbl/
A Dpow.c63 bp[] = {1.0, 1.5,}, variable
243 u = ax - bp[k]; /* bp[0]=1.0, bp[1]=1.5 */ in pow()
244 v = 1.0/(ax+bp[k]); in pow()
251 t_l = ax - (t_h-bp[k]); in pow()
/AliOS-Things-master/components/SDL2/src/libm/
A De_pow.c71 bp[] = {1.0, 1.5,}, variable
222 u = ax-bp[k]; /* bp[0]=1.0, bp[1]=1.5 */ in __ieee754_pow()
223 v = one/(ax+bp[k]); in __ieee754_pow()
230 t_l = ax - (t_h-bp[k]); in __ieee754_pow()
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/core/
A Dservicerequest_ut.cc97 ServiceRequest::ParameterCollection bp = sr1.bodyParameters(); in TEST() local
98 EXPECT_EQ(bp.at("name"), "value"); in TEST()
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/libtests/
A Dpngimage.c809 buffer_read(struct display *dp, struct buffer *bp, png_bytep data, in buffer_read() argument
812 struct buffer_list *last = bp->current; in buffer_read()
813 size_t read_count = bp->read_count; in buffer_read()
820 (last == bp->last && read_count >= bp->end_count)) in buffer_read()
833 bp->current = last; /* Avoid update outside the loop */ in buffer_read()
854 bp->read_count = read_count; in buffer_read()
864 read_png(struct display *dp, struct buffer *bp, const char *operation, in read_png() argument
899 buffer_start_read(bp); in read_png()
900 png_set_read_fn(pp, bp, read_function); in read_png()
/AliOS-Things-master/components/py_engine/engine/lib/libm/
A Dmath.c142 bp[] = {1.0f, 1.5f,}, variable
293 u = ax - bp[k]; /* bp[0]=1.0, bp[1]=1.5 */ in powf()
294 v = 1.0f/(ax+bp[k]); in powf()
302 t_l = ax - (t_h - bp[k]); in powf()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/
A Dlibtiff-CVE-2018-8905.patch20 unsigned char *bp;

Completed in 50 milliseconds

12