Home
last modified time | relevance | path

Searched refs:pa (Results 1 – 25 of 38) sorted by relevance

12

/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/intel/
A Dfilter_sse2_intrinsics.c257 __m128i pa,pb,pc,smallest,nearest; in png_read_filter_row_paeth3_sse2() local
263 pa = _mm_sub_epi16(b,c); in png_read_filter_row_paeth3_sse2()
269 pc = _mm_add_epi16(pa,pb); in png_read_filter_row_paeth3_sse2()
271 pa = abs_i16(pa); /* |p-a| */ in png_read_filter_row_paeth3_sse2()
299 pa = _mm_sub_epi16(b,c); in png_read_filter_row_paeth3_sse2()
305 pc = _mm_add_epi16(pa,pb); in png_read_filter_row_paeth3_sse2()
307 pa = abs_i16(pa); /* |p-a| */ in png_read_filter_row_paeth3_sse2()
346 __m128i pa,pb,pc,smallest,nearest; in png_read_filter_row_paeth4_sse2() local
361 pa = _mm_sub_epi16(b,c); in png_read_filter_row_paeth4_sse2()
367 pc = _mm_add_epi16(pa,pb); in png_read_filter_row_paeth4_sse2()
[all …]
/AliOS-Things-master/components/cplusplus/example/cpp_aos/
A Dmutex_test.cpp14 static thread *pa; variable
39 pa->sleep(1000); in demo_task1()
42 pa->terminate(); in demo_task1()
70 pa = new thread; in test_mutex()
76 pa->create("task", (void *)NULL, (uint8_t)20, (tick_t)50, STACK_BUF_BYTES, in test_mutex()
A Dthread_test.cpp12 static thread *pa; variable
23 pa->sleep((uint32_t)1000); in demo_task1()
31 pa->terminate(); in demo_task1()
66 pa = new thread; in test_thread()
70 pa->create((const name_t *)name, (void *)NULL, (uint8_t)20, (tick_t)50, in test_thread()
A Dsemaphore_test.cpp13 static thread * pa; variable
29 pa->terminate(); in demo_task1()
54 pa = new thread; in test_semaphore()
60 pa->create("task", (void *)NULL, (uint8_t)20, (tick_t)50, STACK_BUF_BYTES, in test_semaphore()
A Dqueue_test.cpp14 static thread *pa; variable
34 pa->terminate(); in demo_task1()
59 pa = new thread; in test_queue()
65 pa->create("task", (void *)NULL, (uint8_t)20, (tick_t)50, STACK_BUF_BYTES, in test_queue()
A Dbasic_test.cpp42 A *pa = new A; in class_ploy_test() local
46 pa->foo(); in class_ploy_test()
47 pa->fun(); in class_ploy_test()
55 delete pa; in class_ploy_test()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_fax3.h223 *pa++ = RunLength + (x); \
245 *pa++ = RunLength + (x); \
292 while (a0 > lastx && pa > thisrun) \
293 a0 -= *--pa; \
297 if ((pa-thisrun)&1) \
365 if( *(pa-1) == 0 && *(pa-2) == 0 ) \
381 if (pa != thisrun) while (b1 <= a0 && b1 < lastx) { \
402 if ((pa-thisrun)&1) { \
484 if (b1 < (int) (a0 + TabEnt->Param) || pa != thisrun) { \
493 *pa++ = lastx - a0; \
[all …]
A Dtif_fax3.c241 pa = thisrun; in Fax3Decode1D()
249 (*sp->fill)(buf, thisrun, pa, lastx); in Fax3Decode1D()
257 (*sp->fill)(buf, thisrun, pa, lastx); in Fax3Decode1D()
284 pa = thisrun = sp->curruns; in Fax3Decode2D()
304 (*sp->fill)(buf, thisrun, pa, lastx); in Fax3Decode2D()
314 (*sp->fill)(buf, thisrun, pa, lastx); in Fax3Decode2D()
1447 pa = thisrun = sp->curruns; in Fax4Decode()
1458 (*sp->fill)(buf, thisrun, pa, lastx); in Fax4Decode()
1473 (*sp->fill)(buf, thisrun, pa, lastx); in Fax4Decode()
1573 pa = thisrun; in Fax3DecodeRLE()
[all …]
A Dtif_getimage.c746 unsigned char* pa = NULL; in gtTileSeparate() local
823 pa = (alpha?(p0+3*tilesize):NULL); in gtTileSeparate()
829 pa = (alpha?(p2+tilesize):NULL); in gtTileSeparate()
855 && TIFFReadTile(tif,pa,col, in gtTileSeparate()
875 p0 + pos, p1 + pos, p2 + pos, (alpha?(pa+pos):NULL)); in gtTileSeparate()
1010 unsigned char *p0 = NULL, *p1 = NULL, *p2 = NULL, *pa = NULL; in gtStripSeparate() local
1076 pa = (alpha?(p0+3*stripsize):NULL); in gtStripSeparate()
1082 pa = (alpha?(p2+stripsize):NULL); in gtStripSeparate()
1111 pa, ((row + img->row_offset)%rowsperstrip + nrow) * scanline)==(tmsize_t)(-1) in gtStripSeparate()
1122 p2 + pos, (alpha?(pa+pos):NULL)); in gtStripSeparate()
A Dtif_dirwrite.c654 uint32 pa; in TIFFWriteDirectorySec() local
660 pa=(uint32)(strlen(pb)); in TIFFWriteDirectorySec()
661 if (!TIFFWriteDirectoryTagAscii(tif,&ndir,dir,(uint16)o->field_tag,pa,pb)) in TIFFWriteDirectorySec()
689 uint32 pa; in TIFFWriteDirectorySec() local
694 TIFFGetField(tif,o->field_tag,&pa,&pb); in TIFFWriteDirectorySec()
695 if (!TIFFWriteDirectoryTagUndefinedArray(tif,&ndir,dir,(uint16)o->field_tag,pa,pb)) in TIFFWriteDirectorySec()
1941 uint64* pa; in TIFFWriteDirectoryTagSubifd() local
1950 pa=tif->tif_dir.td_subifd; in TIFFWriteDirectoryTagSubifd()
1954 assert(pa != 0); in TIFFWriteDirectoryTagSubifd()
1957 if( *pa > 0xFFFFFFFFUL) in TIFFWriteDirectoryTagSubifd()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Dlossless_enc_mips32.c331 [pa]"+r"(pa), [pout]"+r"(pout)
347 static void AddVector_MIPS32(const uint32_t* pa, const uint32_t* pb, in AddVector_MIPS32() argument
351 const uint32_t* const LoopEnd = pa + end; in AddVector_MIPS32()
354 ADD_TO_OUT(0, 4, 8, 12, 1, pa, pb, pout) in AddVector_MIPS32()
356 for (i = end; i < size; ++i) pout[i] = pa[i] + pb[i]; in AddVector_MIPS32()
359 static void AddVectorEq_MIPS32(const uint32_t* pa, uint32_t* pout, int size) { in AddVectorEq_MIPS32() argument
362 const uint32_t* const LoopEnd = pa + end; in AddVectorEq_MIPS32()
365 ADD_TO_OUT(0, 4, 8, 12, 0, pa, pout, pout) in AddVectorEq_MIPS32()
367 for (i = end; i < size; ++i) pout[i] += pa[i]; in AddVectorEq_MIPS32()
A Dlossless_sse2.c72 const __m128i pa = _mm_unpacklo_epi8(AC, zero); // |a - c| in Select_SSE2() local
74 const __m128i diff = _mm_sub_epi16(pb, pa); in Select_SSE2()
325 const __m128i mask = _mm_cmpgt_epi32(pb, pa); \
338 pa = _mm_srli_si128(pa, 4); \
344 __m128i pa; in PredictorAdd11_SSE2() local
360 pa = _mm_packs_epi32(s_lo, s_hi); // pa = sum |T-TL| in PredictorAdd11_SSE2()
A Dlossless_enc_sse2.c571 __m128i pa, pb; in PredictorSub11_SSE2() local
572 GetSumAbsDiff32_SSE2(&T, &TL, &pa); // pa = sum |T-TL| in PredictorSub11_SSE2()
575 const __m128i mask = _mm_cmpgt_epi32(pb, pa); in PredictorSub11_SSE2()
A Dlossless.c92 const int pa = a - c; in Sub3() local
93 return abs(pb) - abs(pa); in Sub3()
/AliOS-Things-master/components/amp/services/app_mgr/
A Dapp_mgr.c366 char *pa; in http_gethost_info() local
382 pa = src; in http_gethost_info()
384 pa = src + strlen("https://"); in http_gethost_info()
390 pa = src + strlen("http://"); in http_gethost_info()
394 *web = pa; in http_gethost_info()
395 pb = strchr(pa, '/'); in http_gethost_info()
404 (*web)[strlen(pa)] = 0; in http_gethost_info()
407 pa = strchr(*web, ':'); in http_gethost_info()
408 if (pa) { in http_gethost_info()
409 *pa = 0; in http_gethost_info()
[all …]
/AliOS-Things-master/components/py_engine/tests/unix/
A Dffi_callback.py24 def cmp(pa, pb): argument
25 a = ffi.as_bytearray(pa, 1)
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/powerpc/
A Dfilter_vsx_intrinsics.c491 pa = vsx_abs(p);\
494 if (pb < pa) pa = pb, a = b;\
495 if (pc < pa) a = c;\
505 int a, b, c, pa, pb, pc, p; in png_read_filter_row_paeth4_vsx() local
528 vsx_paeth_process(rp,pp,a,b,c,pa,pb,pc,bpp) in png_read_filter_row_paeth4_vsx()
535 vsx_paeth_process(rp,pp,a,b,c,pa,pb,pc,bpp) in png_read_filter_row_paeth4_vsx()
625 int a, b, c, pa, pb, pc, p; in png_read_filter_row_paeth3_vsx() local
648 vsx_paeth_process(rp,pp,a,b,c,pa,pb,pc,bpp) in png_read_filter_row_paeth3_vsx()
655 vsx_paeth_process(rp,pp,a,b,c,pa,pb,pc,bpp) in png_read_filter_row_paeth3_vsx()
756 vsx_paeth_process(rp,pp,a,b,c,pa,pb,pc,bpp) in png_read_filter_row_paeth3_vsx()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/arm/
A Dfilter_neon.S179 vabdl.u8 q13, \rb, \rc @ pa
182 vcle.u16 q12, q13, q14 @ pa <= pb
183 vcle.u16 q13, q13, q15 @ pa <= pc
185 vand q12, q12, q13 @ pa <= pb && pa <= pc
A Dfilter_neon_intrinsics.c264 uint16x8_t p1, pa, pb, pc; in paeth() local
268 pa = vabdl_u8(b, c); /* pa */ in paeth()
272 p1 = vcleq_u16(pa, pb); /* pa <= pb */ in paeth()
273 pa = vcleq_u16(pa, pc); /* pa <= pc */ in paeth()
276 p1 = vandq_u16(p1, pa); /* pa <= pb && pa <= pc */ in paeth()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/
A Dfax2ps.c317 const int* pa = (const int*) va; in pcompar() local
319 return (*pa - *pb); in pcompar()
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/
A Dpngwutil.c2470 int a, b, c, pa, pb, pc, p; in png_setup_paeth_row() local
2480 pa = abs(p); in png_setup_paeth_row()
2484 pa = p < 0 ? -p : p; in png_setup_paeth_row()
2489 p = (pa <= pb && pa <=pc) ? a : (pb <= pc) ? b : c; in png_setup_paeth_row()
2523 int a, b, c, pa, pb, pc, p; in png_setup_paeth_row_only() local
2533 pa = abs(p); in png_setup_paeth_row_only()
2537 pa = p < 0 ? -p : p; in png_setup_paeth_row_only()
2542 p = (pa <= pb && pa <=pc) ? a : (pb <= pc) ? b : c; in png_setup_paeth_row_only()
A Dpngrutil.c4006 int b, pa, pb, pc, p; in png_read_filter_row_paeth_1byte_pixel() local
4015 pa = abs(p); in png_read_filter_row_paeth_1byte_pixel()
4019 pa = p < 0 ? -p : p; in png_read_filter_row_paeth_1byte_pixel()
4027 if (pb < pa) in png_read_filter_row_paeth_1byte_pixel()
4029 pa = pb; a = b; in png_read_filter_row_paeth_1byte_pixel()
4031 if (pc < pa) a = c; in png_read_filter_row_paeth_1byte_pixel()
4073 pa = abs(p); in png_read_filter_row_paeth_multibyte_pixel()
4077 pa = p < 0 ? -p : p; in png_read_filter_row_paeth_multibyte_pixel()
4082 if (pb < pa) in png_read_filter_row_paeth_multibyte_pixel()
4084 pa = pb; a = b; in png_read_filter_row_paeth_multibyte_pixel()
[all …]
/AliOS-Things-master/kernel/rhino/
A Dk_timer.c346 static void timer_task(void *pa) in timer_task() argument
356 (void)pa; in timer_task()
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/cmsis/inc/ca/
A Dcore_ca.h1153 __STATIC_INLINE void L2C_InvPa (void *pa) in L2C_InvPa() argument
1155 L2C_310->INV_LINE_PA = (unsigned int)pa; in L2C_InvPa()
1162 __STATIC_INLINE void L2C_CleanPa (void *pa) in L2C_CleanPa() argument
1164 L2C_310->CLEAN_LINE_PA = (unsigned int)pa; in L2C_CleanPa()
1171 __STATIC_INLINE void L2C_CleanInvPa (void *pa) in L2C_CleanInvPa() argument
1173 L2C_310->CLEAN_INV_LINE_PA = (unsigned int)pa; in L2C_CleanInvPa()
/AliOS-Things-master/components/sensor/drv/
A Ddrv_baro_rohm_bm1383a.c389 info->unit = pa; in drv_baro_rohm_bm1383a_ioctl()

Completed in 57 milliseconds

12