Home
last modified time | relevance | path

Searched refs:rg (Results 1 – 20 of 20) sorted by relevance

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/utils/
A Drandom_utils.h34 void VP8InitRandom(VP8Random* const rg, float dithering);
39 static WEBP_INLINE int VP8RandomBits2(VP8Random* const rg, int num_bits, in VP8RandomBits2() argument
43 diff = rg->tab_[rg->index1_] - rg->tab_[rg->index2_]; in VP8RandomBits2()
45 rg->tab_[rg->index1_] = diff; in VP8RandomBits2()
46 if (++rg->index1_ == VP8_RANDOM_TABLE_SIZE) rg->index1_ = 0; in VP8RandomBits2()
47 if (++rg->index2_ == VP8_RANDOM_TABLE_SIZE) rg->index2_ = 0; in VP8RandomBits2()
55 static WEBP_INLINE int VP8RandomBits(VP8Random* const rg, int num_bits) { in VP8RandomBits() argument
56 return VP8RandomBits2(rg, num_bits, rg->amp_); in VP8RandomBits()
A Drandom_utils.c33 void VP8InitRandom(VP8Random* const rg, float dithering) { in VP8InitRandom() argument
34 memcpy(rg->tab_, kRandomTable, sizeof(rg->tab_)); in VP8InitRandom()
35 rg->index1_ = 0; in VP8InitRandom()
36 rg->index2_ = 31; in VP8InitRandom()
37 rg->amp_ = (dithering < 0.0) ? 0 in VP8InitRandom()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/extras/
A Dextras.c61 const uint32_t rg = rgb565[2 * x + 1]; in WebPImportRGB565() local
64 const uint32_t rg = rgb565[2 * x + 0]; in WebPImportRGB565()
67 uint32_t r = rg & 0xf8; in WebPImportRGB565()
68 uint32_t g = ((rg << 5) | (gb >> 3)) & 0xfc; in WebPImportRGB565()
94 const uint32_t rg = rgb4444[2 * x + 1]; in WebPImportRGB4444() local
97 const uint32_t rg = rgb4444[2 * x + 0]; in WebPImportRGB4444()
100 uint32_t r = rg & 0xf0; in WebPImportRGB4444()
101 uint32_t g = (rg << 4); in WebPImportRGB4444()
/AliOS-Things-master/components/SDL2/src/gfx/Test/
A DTestGfxPrimitives.c48 static char rr[NUM_RANDOM], rg[NUM_RANDOM], rb[NUM_RANDOM], ra[NUM_RANDOM]; variable
117 rg[i]=rand() & 255; in InitRandomPoints()
215 pixelRGBA(screen, rx1[i], ry1[i], rr[i], rg[i], rb[i], 255); in TestPixel()
221 pixelRGBA(screen, rx2[i], ry1[i], rr[i], rg[i], rb[i], ra[i]); in TestPixel()
227 pixelRGBA(screen, rx2[i], ry2[i], rr[i], rg[i], rb[i], ra[i]); in TestPixel()
257 pixelRGBA(screen, rx1[i], ry1[i], rr[i], rg[i], rb[i], 255); in BenchmarkPixel()
272 pixelRGBA(screen, rx2[i], ry1[i], rr[i], rg[i], rb[i], ra[i]); in BenchmarkPixel()
376 vlineRGBA(screen, rx1[i], ry1[i], ry1[i+1], rr[i], rg[i], rb[i], 255); in TestVline()
418 vlineRGBA(screen, rx1[i], ry1[i], ry1[i+1], rr[i], rg[i], rb[i], 255); in BenchmarkVline()
1160 circleRGBA(screen, rx1[i], ry1[i], rr1[i], rr[i], rg[i], rb[i], 255); in TestCircle()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Dyuv.h98 const int rg = (r & 0xf8) | (g >> 5); in VP8YuvToRgb565() local
102 rgb[1] = rg; in VP8YuvToRgb565()
104 rgb[0] = rg; in VP8YuvToRgb565()
114 const int rg = (r & 0xf0) | (g >> 4); in VP8YuvToRgba4444() local
118 argb[1] = rg; in VP8YuvToRgba4444()
120 argb[0] = rg; in VP8YuvToRgba4444()
A Dupsampling_mips_dsp_r2.c68 const int rg = (r & 0xf8) | (g >> 5); in YuvToRgb565() local
72 rgb[1] = rg; in YuvToRgb565()
74 rgb[0] = rg; in YuvToRgb565()
84 const int rg = (r & 0xf0) | (g >> 4); in YuvToRgba4444() local
88 argb[1] = rg; in YuvToRgba4444()
90 argb[0] = rg; in YuvToRgba4444()
A Dupsampling_neon.c121 const uint8x8_t rg = vsri_n_u8(r, g, 4); /* shift g, insert r */ \
123 const uint8x8x2_t rgba4444 = ZIP_U8(rg, ba); \
128 const uint8x8_t rg = vsri_n_u8(r, g, 5); /* shift g and insert r */ \
131 const uint8x8x2_t rgb565 = ZIP_U8(rg, gb); \
A Dlossless.c453 const uint8_t rg = ((argb >> 16) & 0xf0) | ((argb >> 12) & 0xf); in VP8LConvertBGRAToRGBA4444_C() local
457 *dst++ = rg; in VP8LConvertBGRAToRGBA4444_C()
459 *dst++ = rg; in VP8LConvertBGRAToRGBA4444_C()
470 const uint8_t rg = ((argb >> 16) & 0xf8) | ((argb >> 13) & 0x7); in VP8LConvertBGRAToRGB565_C() local
474 *dst++ = rg; in VP8LConvertBGRAToRGB565_C()
476 *dst++ = rg; in VP8LConvertBGRAToRGB565_C()
A Dalpha_processing.c268 const uint32_t rg = rgba4444[2 * i + rg_byte_pos]; in ApplyAlphaMultiply4444_C() local
272 const uint8_t r = multiply(dither_hi(rg), mult); in ApplyAlphaMultiply4444_C()
273 const uint8_t g = multiply(dither_lo(rg), mult); in ApplyAlphaMultiply4444_C()
A Dupsampling_msa.c276 const int rg = (r & 0xf8) | (g >> 5); in YuvToRgb565() local
280 rgb[1] = rg; in YuvToRgb565()
282 rgb[0] = rg; in YuvToRgb565()
295 const int rg = (r & 0xf0) | (g >> 4); in YuvToRgba4444() local
299 argb[1] = rg; in YuvToRgba4444()
301 argb[0] = rg; in YuvToRgba4444()
A Dyuv_sse2.c112 const __m128i rg = _mm_unpacklo_epi8(rb, ga); in PackAndStore4_SSE2() local
114 const __m128i RGBA_lo = _mm_unpacklo_epi16(rg, ba); in PackAndStore4_SSE2()
115 const __m128i RGBA_hi = _mm_unpackhi_epi16(rg, ba); in PackAndStore4_SSE2()
154 const __m128i rg = _mm_or_si128(r1, g1); in PackAndStore565_SSE2() local
157 const __m128i rgb565 = _mm_unpacklo_epi8(rg, gb); in PackAndStore565_SSE2()
159 const __m128i rgb565 = _mm_unpacklo_epi8(gb, rg); in PackAndStore565_SSE2()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/
A Dpicture_csp_enc.c140 static int RGBToY(int r, int g, int b, VP8Random* const rg) { in RGBToY() argument
141 return (rg == NULL) ? VP8RGBToY(r, g, b, YUV_HALF) in RGBToY()
146 return (rg == NULL) ? VP8RGBToU(r, g, b, YUV_HALF << 2) in RGBToU()
151 return (rg == NULL) ? VP8RGBToV(r, g, b, YUV_HALF << 2) in RGBToV()
759 dst_y[i] = RGBToY(r_ptr[j], g_ptr[j], b_ptr[j], rg); in ConvertRowToY()
833 dst_u[i] = RGBToU(r, g, b, rg); in ConvertRowsToUV()
834 dst_v[i] = RGBToV(r, g, b, rg); in ConvertRowsToUV()
893 VP8Random* rg = NULL; in ImportYUVAFromRGBA() local
896 rg = &base_rg; in ImportYUVAFromRGBA()
937 if (rg == NULL) { in ImportYUVAFromRGBA()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/script/
A Dpostbuild_img2.bat60 ::findstr /rg "__ICFEDIT_region_XIP_OTA1_start__" image2.icf>test.txt
61 ::for /f "tokens=1,2,3,4,5*" %%i in ('findstr /rg "symbol" test.txt') do (
/AliOS-Things-master/components/SDL2/src/render/metal/
A DSDL_shaders_metal.metal96 yuv.yz = texUV.sample(s, vert.texcoord).rg;
/AliOS-Things-master/components/py_engine/tests/cmdline/
A Dcmd_showbc.py.exp40 \.\+rg names:
318 \.\+rg names:
/AliOS-Things-master/components/jsoncpp/
A DAUTHORS63rg Krause <joerg.krause@embedded.rocks>
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/
A Dframe_dec.c362 static void Dither8x8(VP8Random* const rg, uint8_t* dst, int bps, int amp) { in Dither8x8() argument
366 dither[i] = VP8RandomBits2(rg, VP8_DITHER_AMP_BITS + 1, amp); in Dither8x8()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/test/images/
A Drgb-3c-8b.ppm160 …)�� �&��&�%����##��� �!�"$�$&�#&�#$�)'�('�''�*'�+)�/(�,)�/-�;4�rg��������Ӊ����…
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Dtestimg.ppm4 …=+�<*�<,�<,�;+�;+�<-�;,�;-�<0�<0�<2�>3�?4�A8�C:�D;�K<�H;�H>�JD�IF�KG�SM�_V�rg��q��z��{��wr�ocqbVdW…
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/
A DChangeLog866 * tools/fax2tiff.c (main): Applied patch by Jörg Ahrens to fix

Completed in 50 milliseconds