Home
last modified time | relevance | path

Searched refs:g1 (Results 1 – 25 of 26) sorted by relevance

12

/AliOS-Things-master/components/py_engine/tests/micropython/
A Dheapalloc_iter.py42 g1 = (100 + x for x in range(2)) variable
79 do_iter(g1)
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_pixarlog.c969 int32 r1, g1, b1, a1, r2, g2, b2, a2, mask; in horizontalDifferenceF() local
989 g1 = (int32) CLAMP(ip[1]); wp[1] = (uint16)((g1-g2) & mask); g2 = g1; in horizontalDifferenceF()
1003 g1 = (int32) CLAMP(ip[1]); wp[1] = (uint16)((g1-g2) & mask); g2 = g1; in horizontalDifferenceF()
1024 register int r1, g1, b1, a1, r2, g2, b2, a2, mask; in horizontalDifference16() local
1041 g1 = CLAMP(ip[1]); wp[1] = (uint16)((g1-g2) & mask); g2 = g1; in horizontalDifference16()
1053 g1 = CLAMP(ip[1]); wp[1] = (uint16)((g1-g2) & mask); g2 = g1; in horizontalDifference16()
1075 register int r1, g1, b1, a1, r2, g2, b2, a2, mask; in horizontalDifference8() local
1089 g1 = CLAMP(ip[4]); wp[4] = (uint16)((g1-g2) & mask); g2 = g1; in horizontalDifference8()
1101 g1 = CLAMP(ip[5]); wp[5] = (uint16)((g1-g2) & mask); g2 = g1; in horizontalDifference8()
A Dtif_predict.c530 unsigned int r1, g1, b1; in horDiff8() local
536 g1 = cp[4]; cp[4] = (unsigned char)((g1-g2)&0xff); g2 = g1; in horDiff8()
541 unsigned int r1, g1, b1, a1; in horDiff8() local
548 g1 = cp[5]; cp[5] = (unsigned char)((g1-g2)&0xff); g2 = g1; in horDiff8()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Dlossless_enc_msa.c22 v8i16 g0, g1, t0, t1, t2, t3; \
24 VSHF_B2_SH(src0, src0, src1, src1, mask0, mask0, g0, g1); \
25 DOTP_SB2_SH(g0, g1, c0, c0, t0, t1); \
A Dalpha_processing_neon.c28 const uint16x8_t g1 = vmull_u8((V).val[2], alpha); \
32 const uint16x8_t g2 = vsraq_n_u16(g1, g1, 8); \
A Dlossless_enc_sse41.c111 const __m128i g1 = _mm_and_si128(in1, mask_g); in CollectColorRedTransforms_SSE41() local
112 const __m128i g = _mm_packus_epi32(g0, g1); // g 0 in CollectColorRedTransforms_SSE41()
A Dupsampling_msa.c250 const int g1 = y1 - MultHi(u, 6419) - MultHi(v, 13320) + 8708; in YuvToRgb() local
253 rgb[1] = Clip8(g1 >> 6); in YuvToRgb()
260 const int g1 = y1 - MultHi(u, 6419) - MultHi(v, 13320) + 8708; in YuvToBgr() local
263 bgr[1] = Clip8(g1 >> 6); in YuvToBgr()
271 const int g1 = y1 - MultHi(u, 6419) - MultHi(v, 13320) + 8708; in YuvToRgb565() local
274 const int g = Clip8(g1 >> 6); in YuvToRgb565()
290 const int g1 = y1 - MultHi(u, 6419) - MultHi(v, 13320) + 8708; in YuvToRgba4444() local
293 const int g = Clip8(g1 >> 6); in YuvToRgba4444()
A Dlossless_msa.c83 v8i16 g0, g1, t0, t1, t2, t3; \
85 VSHF_B2_SH(src0, src0, src1, src1, mask0, mask0, g0, g1); \
86 DOTP_SB2_SH(g0, g1, c0, c0, t0, t1); \
A Dupsampling_neon.c129 const uint8x8_t g1 = vshl_n_u8(g, 3); /* pre-shift g: 3bits */ \
130 const uint8x8_t gb = vsri_n_u8(g1, b, 3); /* shift b and insert g */ \
A Dyuv_neon.c253 const int16x8_t g1 = vreinterpretq_s16_u16(vld1q_u16(best_y + 2 * i + 8)); in SharpYUVFilterRow_NEON() local
255 const int16x8_t h1 = vaddq_s16(g1, f.val[1]); in SharpYUVFilterRow_NEON()
A Dyuv_sse2.c152 const __m128i g1 = _mm_srli_epi16(_mm_and_si128(g0, _mm_set1_epi8(0xe0)), 5); in PackAndStore565_SSE2() local
154 const __m128i rg = _mm_or_si128(r1, g1); in PackAndStore565_SSE2()
834 const __m128i g1 = _mm_loadu_si128((const __m128i*)(best_y + 2 * i + 8)); in SharpYUVFilterRow_SSE2() local
836 const __m128i h1 = _mm_add_epi16(g1, f1); in SharpYUVFilterRow_SSE2()
A Denc_sse2.c275 const __m128i g1 = _mm_add_epi16(f1, _mm_cmpeq_epi16(a32, zero)); in FTransformPass2_SSE2() local
289 const __m128i d0_g1 = _mm_unpacklo_epi64(d0, g1); in FTransformPass2_SSE2()
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/tests/
A Dtest_closure.js47 var g1 = f(1, 2, 3);
48 g1(5);
/AliOS-Things-master/components/SDL2/src/video/yuv2rgb/
A Dyuv_rgb.c523 __m128i r1, r2, b1, b2, g1, g2; \
533 UNPACK_RGB24_32(rgb1, rgb2, rgb3, rgb4, rgb5, rgb6, r1, r2, g1, g2, b1, b2) \
536 g_16 = _mm_unpacklo_epi8(g1, _mm_setzero_si128()); \
540 g_16 = _mm_unpackhi_epi8(g1, _mm_setzero_si128()); \
573 UNPACK_RGB24_32(rgb1, rgb2, rgb3, rgb4, rgb5, rgb6, r1, r2, g1, g2, b1, b2) \
576 g_16 = _mm_unpacklo_epi8(g1, _mm_setzero_si128()); \
580 g_16 = _mm_unpackhi_epi8(g1, _mm_setzero_si128()); \
/AliOS-Things-master/components/freetype/src/pfr/
A Dpfrtypes.h210 #define PFR_KERN_INDEX( g1, g2 ) \ argument
211 ( ( (FT_UInt32)(g1) << 16 ) | (FT_UInt16)(g2) )
/AliOS-Things-master/components/freetype/src/sfnt/
A Dttkern.c40 #define TT_KERN_INDEX( g1, g2 ) ( ( (FT_ULong)(g1) << 16 ) | (g2) ) argument
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/gregbook/
A Drpng2-win.c842 uch r1, r2, g1, g2, b1, b2;
889 g1 = g1_min + (g1_diff * yidx) / yidx_max;
915 *dest++ = g1;
945 g1 = rgb[bg[pat].rgb1_max].g;
962 *dest++ = (k*g1 + (max-k)*g2) / max;
1060 g1 = *src++;
1063 *dest++ = g1; /* note reverse order */
A Drpng2-x.c1089 uch r1, r2, g1, g2, b1, b2; in rpng2_x_load_bg_image() local
1141 g1 = g1_min + (g1_diff * yidx) / yidx_max; in rpng2_x_load_bg_image()
1167 *dest++ = g1; in rpng2_x_load_bg_image()
1197 g1 = rgb[bg[pat].rgb1_max].g; in rpng2_x_load_bg_image()
1214 *dest++ = (k*g1 + (max-k)*g2) / max; in rpng2_x_load_bg_image()
1876 uch r1, r2, g1, g2, b1, b2; in rpng2_x_reload_bg_image() local
1913 g1 = g1_min + (g1_diff * yidx) / yidx_max; in rpng2_x_reload_bg_image()
1939 *dest++ = g1; in rpng2_x_reload_bg_image()
1969 g1 = rgb[bg[pat].rgb1_max].g; in rpng2_x_reload_bg_image()
1986 *dest++ = (k*g1 + (max-k)*g2) / max; in rpng2_x_reload_bg_image()
/AliOS-Things-master/components/mbedtls/library/
A Dpoly1305.c218 uint32_t g0, g1, g2, g3, g4; in poly1305_compute_mac() local
238 g1 = (uint32_t) d; in poly1305_compute_mac()
251 acc1 = ( acc1 & mask_inv ) | ( g1 & mask ); in poly1305_compute_mac()
/AliOS-Things-master/components/freetype/src/type1/
A Dt1afm.c81 #define KERN_INDEX( g1, g2 ) ( ( (FT_ULong)(g1) << 16 ) | (g2) ) argument
/AliOS-Things-master/components/freetype/src/psaux/
A Dafmparse.c659 #define KERN_INDEX( g1, g2 ) ( ( (FT_ULong)g1 << 16 ) | g2 ) argument
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_yuv.c535 …const Uint32 g1 = (p1 & 0x0000ff00) >> 8; … in SDL_ConvertPixels_ARGB8888_to_YUV()
538 …const Uint32 G = (g + g1)/2; … in SDL_ConvertPixels_ARGB8888_to_YUV()
706 *plane++ = MAKE_Y(r1, g1, b1); in SDL_ConvertPixels_ARGB8888_to_YUV()
730 *plane++ = MAKE_Y(r1, g1, b1); in SDL_ConvertPixels_ARGB8888_to_YUV()
752 *plane++ = MAKE_Y(r1, g1, b1); in SDL_ConvertPixels_ARGB8888_to_YUV()
/AliOS-Things-master/components/SDL2/src/audio/
A DSDL_wave.c280 const Uint32 g1 = g[0] | ((Uint32)g[1] << 8) | ((Uint32)g[2] << 16) | ((Uint32)g[3] << 24); in WaveDebugDumpFormat() local
295 …res = SDL_snprintf(dumpstr + dumppos, bufsize - dumppos, fmtstr5, format->channelmask, g1, g2, g3,… in WaveDebugDumpFormat()
1775 … const Uint32 g1 = g[0] | ((Uint32)g[1] << 8) | ((Uint32)g[2] << 16) | ((Uint32)g[3] << 24); in WaveCheckFormat() local
1778 … return SDL_SetError(errstr, g1, g2, g3, g[8], g[9], g[10], g[11], g[12], g[13], g[14], g[15]); in WaveCheckFormat()
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/libtests/
A Dpngvalid.c8142 double g1 = 1/data.gamma; in image_transform_png_set_rgb_to_gray_mod() local
8151 r = pow(r, g1)*(1-DBL_EPSILON); rhi = pow(rhi, g1)*(1+DBL_EPSILON); in image_transform_png_set_rgb_to_gray_mod()
8152 g = pow(g, g1)*(1-DBL_EPSILON); ghi = pow(ghi, g1)*(1+DBL_EPSILON); in image_transform_png_set_rgb_to_gray_mod()
8153 b = pow(b, g1)*(1-DBL_EPSILON); bhi = pow(bhi, g1)*(1+DBL_EPSILON); in image_transform_png_set_rgb_to_gray_mod()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/test/images/
A Drgb-3c-8b.ppm234 �|s0{g1~T,^!0��R
273 …�A��@}�<��A��B��@��A��B��E��J��L��K��M��L��M��S��Q��S��Q��R��T��S��P��S��[�g1:��EL�O�TTS…

Completed in 67 milliseconds

12