Searched refs:rg (Results 1 - 25 of 32) sorted by relevance

12

/external/chromium_org/third_party/libwebp/utils/
H A Drandom.h34 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...]
H A Drandom.c33 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
/external/webp/src/utils/
H A Drandom.h34 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...]
H A Drandom.c33 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
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp1.cpp10 int (&rg)(int) = g;
11 rg(i);
/external/chromium_org/third_party/libwebp/dsp/
H A Dyuv.h125 const int rg = (r & 0xf8) | (g >> 5); local
129 rgb[1] = rg;
131 rgb[0] = rg;
141 const int rg = (r & 0xf0) | (g >> 4); local
145 argb[1] = rg;
147 argb[0] = rg;
187 const int rg = ((VP8kClip[y + r_off - YUV_RANGE_MIN] & 0xf8) | local
193 rgb[1] = rg;
195 rgb[0] = rg;
205 const int rg local
[all...]
H A Dalpha_processing.c263 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 Dlossless.c1325 const uint8_t rg = ((argb >> 16) & 0xf0) | ((argb >> 12) & 0xf); local
1329 *dst++ = rg;
1331 *dst++ = rg;
1342 const uint8_t rg = ((argb >> 16) & 0xf8) | ((argb >> 13) & 0x7); local
1346 *dst++ = rg;
1348 *dst++ = rg;
/external/webp/src/dsp/
H A Dyuv.h125 const int rg = (r & 0xf8) | (g >> 5); local
129 rgb[1] = rg;
131 rgb[0] = rg;
141 const int rg = (r & 0xf0) | (g >> 4); local
145 argb[1] = rg;
147 argb[0] = rg;
187 const int rg = ((VP8kClip[y + r_off - YUV_RANGE_MIN] & 0xf8) | local
193 rgb[1] = rg;
195 rgb[0] = rg;
205 const int rg local
[all...]
H A Dalpha_processing.c263 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 Dlossless.c1316 const uint8_t rg = ((argb >> 16) & 0xf0) | ((argb >> 12) & 0xf); local
1320 *dst++ = rg;
1322 *dst++ = rg;
1333 const uint8_t rg = ((argb >> 16) & 0xf8) | ((argb >> 13) & 0x7); local
1337 *dst++ = rg;
1339 *dst++ = rg;
/external/chromium_org/third_party/libwebp/enc/
H A Dpicture_csp.c75 static int RGBToY(int r, int g, int b, VP8Random* const rg) { argument
76 return VP8RGBToY(r, g, b, VP8RandomBits(rg, YUV_FIX));
79 static int RGBToU(int r, int g, int b, VP8Random* const rg) { argument
80 return VP8RGBToU(r, g, b, VP8RandomBits(rg, YUV_FIX + 2));
83 static int RGBToV(int r, int g, int b, VP8Random* const rg) { argument
84 return VP8RGBToV(r, g, b, VP8RandomBits(rg, YUV_FIX + 2));
167 picture->u[dst] = RGBToU(r, g, b, &rg); \
168 picture->v[dst] = RGBToV(r, g, b, &rg); \
183 VP8Random rg; local
194 VP8InitRandom(&rg, ditherin
[all...]
/external/webp/src/enc/
H A Dpicture_csp.c75 static int RGBToY(int r, int g, int b, VP8Random* const rg) { argument
76 return VP8RGBToY(r, g, b, VP8RandomBits(rg, YUV_FIX));
79 static int RGBToU(int r, int g, int b, VP8Random* const rg) { argument
80 return VP8RGBToU(r, g, b, VP8RandomBits(rg, YUV_FIX + 2));
83 static int RGBToV(int r, int g, int b, VP8Random* const rg) { argument
84 return VP8RGBToV(r, g, b, VP8RandomBits(rg, YUV_FIX + 2));
167 picture->u[dst] = RGBToU(r, g, b, &rg); \
168 picture->v[dst] = RGBToV(r, g, b, &rg); \
183 VP8Random rg; local
194 VP8InitRandom(&rg, ditherin
[all...]
/external/chromium_org/v8/test/webkit/fast/js/kde/
H A DRegExp.js40 var rg = /a/g; variable
44 shouldBeTrue("rg.global");
49 shouldBe("rg.toString()", "'/a/g'");
54 rg.global = false;
55 shouldBeTrue("rg.global");
/external/clang/test/SemaCXX/
H A Dreferences.cpp10 int (&rg)(int) = g;
11 rg(i);
/external/lzma/CS/7zip/Compress/LzmaAlone/
H A DLzmaBench.cs273 CBenchRandomGenerator rg = new CBenchRandomGenerator();
275 rg.Set(kBufferSize);
276 rg.Generate();
279 crc.Update(rg.Buffer, 0, rg.BufferSize);
289 MemoryStream inStream = new MemoryStream(rg.Buffer, 0, (int)rg.BufferSize);
/external/lzma/Java/SevenZip/
H A DLzmaBench.java317 CBenchRandomGenerator rg = new CBenchRandomGenerator();
319 rg.Set(kBufferSize);
320 rg.Generate();
323 crc.Update(rg.Buffer, 0, rg.BufferSize);
333 MyInputStream inStream = new MyInputStream(rg.Buffer, rg.BufferSize);
/external/pixman/pixman/
H A Dpixman-gradient-walker.c62 float ra, rr, rg, rb; local
137 rg = (right_c->green * (1.0f/257.0f));
148 walker->g_b = (lg + rg) / 510.0f;
157 walker->g_b = (lg * rx - rg * lx) * w_rec * (1.0f/255.0f);
162 walker->g_s = (rg - lg) * w_rec * (1.0f/255.0f);
/external/lzma/CPP/7zip/UI/Common/
H A DBench.cpp101 void Set(CBaseRandomGenerator *rg) { RG = rg; } argument
496 CBenchRandomGenerator rg; member in struct:CEncoderInfo
499 HRESULT Init(UInt32 dictionarySize, UInt32 numThreads, CBaseRandomGenerator *rg);
555 rg.Set(rgLoc);
558 if (!rg.Alloc(kBufferSize))
560 rg.Generate();
561 crc = CrcCalc(rg.Buffer, rg.BufferSize);
613 inStreamSpec->Init(rg
709 CBaseRandomGenerator rg; local
[all...]
/external/srec/srec/cfront/
H A Dcheldsp4.c62 static void regress(cepdata *rg, const cepdata *cp_buf, unsigned short frmind,
75 static void regress(cepdata *rg, const cepdata*cp_buf, unsigned short frmind, argument
98 rg[i] = (cepdata) SHIFT_DOWN((*cpt - *(cpt + mel_dim + 1)), 1 + COSINE_TABLE_SHIFT); /* Shift does rounding. */
108 rg[i] = (cepdata) SHIFT_DOWN((bigdata)(val / a), COSINE_TABLE_SHIFT - 5); /* scale down the deltas here */
/external/clang/test/Index/
H A Dprint-type-size.cpp359 // CHECK64: FieldDecl=rg:[[@LINE+2]]:8 (Definition) [type=Test3::C &] [typekind=LValueReference] [sizeof=88] [alignof=8] [offsetof=832]
360 // CHECK32: FieldDecl=rg:[[@LINE+1]]:8 (Definition) [type=Test3::C &] [typekind=LValueReference] [sizeof=60] [alignof=4] [offsetof=576]
361 C &rg; member in struct:Test3::BaseStruct
/external/jemalloc/include/jemalloc/internal/
H A Dbitmap.h71 bitmap_t rg = bitmap[rgoff]; local
73 return (rg == 0);
/external/yaffs2/yaffs2/
H A Dyaffs_fs.c1956 unsigned rg = 0, mask_bitfield;
1963 rg = yaffs_traceMask;
2007 rg &= ~mask_bitfield;
2010 rg |= mask_bitfield;
2013 rg = mask_bitfield;
2016 rg |= mask_bitfield;
2022 yaffs_traceMask = rg;
2023 if (rg & YAFFS_TRACE_ALWAYS) {
2026 flag = ((rg & mask_flags[i].mask_bitfield) == mask_flags[i].mask_bitfield) ? '+' : '-';
/external/chromium_org/third_party/libwebp/dec/
H A Dframe.c199 static void Dither8x8(VP8Random* const rg, uint8_t* dst, int bps, int amp) { argument
205 VP8RandomBits2(rg, DITHER_AMP_BITS + 1, amp) - DITHER_AMP_CENTER;
/external/webp/src/dec/
H A Dframe.c199 static void Dither8x8(VP8Random* const rg, uint8_t* dst, int bps, int amp) { argument
205 VP8RandomBits2(rg, DITHER_AMP_BITS + 1, amp) - DITHER_AMP_CENTER;

Completed in 4057 milliseconds

12