/external/webp/src/utils/ |
H A D | random.c | 33 void VP8InitRandom(VP8Random* const rg, float dithering) { argument 34 memcpy(rg->tab_, kRandomTable, sizeof(rg->tab_)); 35 rg->index1_ = 0; 36 rg->index2_ = 31; 37 rg->amp_ = (dithering < 0.0) ? 0
|
H A D | random.h | 34 void VP8InitRandom(VP8Random* const rg, float dithering); 39 static WEBP_INLINE int VP8RandomBits2(VP8Random* const rg, int num_bits, argument 43 diff = rg->tab_[rg->index1_] - rg->tab_[rg->index2_]; 45 rg->tab_[rg->index1_] = diff; 46 if (++rg->index1_ == VP8_RANDOM_TABLE_SIZE) rg 55 VP8RandomBits(VP8Random* const rg, int num_bits) argument [all...] |
/external/v8/test/webkit/fast/js/kde/ |
H A D | RegExp.js | 40 var rg = /a/g; variable 44 shouldBeTrue("rg.global"); 49 shouldBe("rg.toString()", "'/a/g'"); 54 rg.global = false; 55 shouldBeTrue("rg.global");
|
/external/jemalloc/include/jemalloc/internal/ |
H A D | bitmap.h | 139 bitmap_t rg = bitmap[rgoff]; local 141 return (rg == 0);
|
/external/webp/src/dsp/ |
H A D | yuv.h | 112 const int rg = (r & 0xf8) | (g >> 5); local 116 rgb[1] = rg; 118 rgb[0] = rg; 128 const int rg = (r & 0xf0) | (g >> 4); local 132 argb[1] = rg; 134 argb[0] = rg;
|
H A D | alpha_processing.c | 263 const uint32_t rg = rgba4444[2 * i + rg_byte_pos]; local 267 const uint8_t r = multiply(dither_hi(rg), mult); 268 const uint8_t g = multiply(dither_lo(rg), mult);
|
H A D | lossless.c | 444 const uint8_t rg = ((argb >> 16) & 0xf0) | ((argb >> 12) & 0xf); local 448 *dst++ = rg; 450 *dst++ = rg; 461 const uint8_t rg = ((argb >> 16) & 0xf8) | ((argb >> 13) & 0x7); local 465 *dst++ = rg; 467 *dst++ = rg;
|
H A D | yuv_sse2.c | 105 const __m128i rg = _mm_unpacklo_epi8(rb, ga); local 107 const __m128i RGBA_lo = _mm_unpacklo_epi16(rg, ba); 108 const __m128i RGBA_hi = _mm_unpackhi_epi16(rg, ba); 147 const __m128i rg = _mm_or_si128(r1, g1); local 150 const __m128i rgb565 = _mm_unpacklo_epi8(rg, gb); 152 const __m128i rgb565 = _mm_unpacklo_epi8(gb, rg);
|
/external/lzma/CPP/7zip/UI/Common/ |
H A D | Bench.cpp | 129 void Set(CBaseRandomGenerator *rg) { RG = rg; }
argument 651 CBenchRandomGenerator rg;
664 CBaseRandomGenerator *rg);
736 rg.Set(rgLoc);
741 if (!rg.Alloc(kBufferSize))
744 rg.GenerateSimpleRandom();
746 rg.Generate(generateDictBits);
747 crc = CrcCalc(rg.Buffer, rg [all...] |
/external/clang/test/Index/ |
H A D | print-type-size.cpp | 360 // CHECK64: FieldDecl=rg:[[@LINE+2]]:8 (Definition) [type=Test3::C &] [typekind=LValueReference] [sizeof=88] [alignof=8] [offsetof=832] 361 // CHECK32: FieldDecl=rg:[[@LINE+1]]:8 (Definition) [type=Test3::C &] [typekind=LValueReference] [sizeof=60] [alignof=4] [offsetof=576] 362 C &rg; member in struct:Test3::BaseStruct
|
/external/webp/src/dec/ |
H A D | frame.c | 366 static void Dither8x8(VP8Random* const rg, uint8_t* dst, int bps, int amp) { argument 372 VP8RandomBits2(rg, DITHER_AMP_BITS + 1, amp) - DITHER_AMP_CENTER;
|
/external/webp/src/enc/ |
H A D | picture_csp.c | 140 static int RGBToY(int r, int g, int b, VP8Random* const rg) { argument 141 return (rg == NULL) ? VP8RGBToY(r, g, b, YUV_HALF) 142 : VP8RGBToY(r, g, b, VP8RandomBits(rg, YUV_FIX)); 145 static int RGBToU(int r, int g, int b, VP8Random* const rg) { argument 146 return (rg == NULL) ? VP8RGBToU(r, g, b, YUV_HALF << 2) 147 : VP8RGBToU(r, g, b, VP8RandomBits(rg, YUV_FIX + 2)); 150 static int RGBToV(int r, int g, int b, VP8Random* const rg) { argument 151 return (rg == NULL) ? VP8RGBToV(r, g, b, YUV_HALF << 2) 152 : VP8RGBToV(r, g, b, VP8RandomBits(rg, YUV_FIX + 2)); 751 VP8Random* const rg) { 745 ConvertRowToY(const uint8_t* const r_ptr, const uint8_t* const g_ptr, const uint8_t* const b_ptr, int step, uint8_t* const dst_y, int width, VP8Random* const rg) argument 820 ConvertRowsToUV(const uint16_t* rgb, uint8_t* const dst_u, uint8_t* const dst_v, int width, VP8Random* const rg) argument 889 VP8Random* rg = NULL; local [all...] |