/external/chromium_org/third_party/libwebp/utils/ |
random.h | 34 void VP8InitRandom(VP8Random* const rg, float dithering); 39 static WEBP_INLINE int VP8RandomBits2(VP8Random* const rg, int num_bits, 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->index1_ = 0 [all...] |
random.c | 33 void VP8InitRandom(VP8Random* const rg, float dithering) { 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/ |
random.h | 34 void VP8InitRandom(VP8Random* const rg, float dithering); 39 static WEBP_INLINE int VP8RandomBits2(VP8Random* const rg, int num_bits, 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->index1_ = 0 [all...] |
random.c | 33 void VP8InitRandom(VP8Random* const rg, float dithering) { 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/ |
p1.cpp | 10 int (&rg)(int) = g; 11 rg(i);
|
/packages/apps/Gallery2/jni/filters/ |
hsv.c | 92 int rg=0; local 105 rb = ( rg = ( rr =( cv >> ABITS) )); 123 rg = X; 128 rg = cv; 133 rg = cv; 138 rg = X; 143 rg = m; 148 rg = m ; 154 rgb[rgbOff+1] = rg;
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
shadows.rs | 108 int rg=0; 121 rb = ( rg = ( rr =( cv >> ABITS) )); 139 rg = X; 144 rg = cv; 149 rg = cv; 154 rg = X; 159 rg = m; 164 rg = m ; 173 rgb.g = rg;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
shadows.rs | 108 int rg=0; 121 rb = ( rg = ( rr =( cv >> ABITS) )); 139 rg = X; 144 rg = cv; 149 rg = cv; 154 rg = X; 159 rg = m; 164 rg = m ; 173 rgb.g = rg;
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
shadows.rs | 108 int rg=0; 121 rb = ( rg = ( rr =( cv >> ABITS) )); 139 rg = X; 144 rg = cv; 149 rg = cv; 154 rg = X; 159 rg = m; 164 rg = m ; 173 rgb.g = rg;
|
/external/chromium_org/third_party/libwebp/dsp/ |
yuv.h | 125 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 = ((VP8kClip4Bits[y + r_off - YUV_RANGE_MIN] << 4) local [all...] |
/external/webp/src/dsp/ |
yuv.h | 125 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 = ((VP8kClip4Bits[y + r_off - YUV_RANGE_MIN] << 4) local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
WidgetTypeChooser.java | 47 RadioGroup rg = (RadioGroup) findViewById(R.id.widget_type); local 48 rg.setOnCheckedChangeListener(mListener);
|
/external/chromium_org/third_party/libwebp/enc/ |
picture_csp.c | 75 static int RGBToY(int r, int g, int b, VP8Random* const rg) { 76 return VP8RGBToY(r, g, b, VP8RandomBits(rg, YUV_FIX)); 79 static int RGBToU(int r, int g, int b, VP8Random* const rg) { 80 return VP8RGBToU(r, g, b, VP8RandomBits(rg, YUV_FIX + 2)); 83 static int RGBToV(int r, int g, int b, VP8Random* const rg) { 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, dithering) [all...] |
/external/webp/src/enc/ |
picture_csp.c | 75 static int RGBToY(int r, int g, int b, VP8Random* const rg) { 76 return VP8RGBToY(r, g, b, VP8RandomBits(rg, YUV_FIX)); 79 static int RGBToU(int r, int g, int b, VP8Random* const rg) { 80 return VP8RGBToU(r, g, b, VP8RandomBits(rg, YUV_FIX + 2)); 83 static int RGBToV(int r, int g, int b, VP8Random* const rg) { 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, dithering) [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_object/ |
Test_return_object.java | 167 RunnerGenerator rg = (RunnerGenerator) Class.forName( local 169 Runner r = rg.run();
|
/external/clang/test/SemaCXX/ |
references.cpp | 10 int (&rg)(int) = g; 11 rg(i);
|
/external/lzma/Java/SevenZip/ |
LzmaBench.java | 28 CRandomGenerator RG = new CRandomGenerator();
48 Value = RG.GetRnd();
58 CBitRandomGenerator RG = new CBitRandomGenerator();
72 int GetRndBit() { return RG.GetRnd(1); }
75 int len = RG.GetRnd(numBits);
76 return RG.GetRnd((int)len);
82 return (GetLogRandBits(4) << 10) | RG.GetRnd(10);
84 int GetLen1() { return RG.GetRnd(1 + (int)RG.GetRnd(2)); }
85 int GetLen2() { return RG.GetRnd(2 + (int)RG.GetRnd(2)); } 317 CBenchRandomGenerator rg = new CBenchRandomGenerator(); local [all...] |
/external/pixman/pixman/ |
pixman-gradient-walker.c | 62 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/ |
Bench.cpp | 99 CBaseRandomGenerator *RG;
101 void Set(CBaseRandomGenerator *rg) { RG = rg; }
119 UInt32 res = RG->GetRnd();
133 res = RG->GetRnd();
137 res = RG->GetRnd();
496 CBenchRandomGenerator rg;
member in struct:CEncoderInfo 499 HRESULT Init(UInt32 dictionarySize, UInt32 numThreads, CBaseRandomGenerator *rg);
555 rg.Set(rgLoc); 709 CBaseRandomGenerator rg; local [all...] |
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
LzmaBench.cs | 33 CRandomGenerator RG = new CRandomGenerator();
53 Value = RG.GetRnd();
63 CBitRandomGenerator RG = new CBitRandomGenerator();
78 UInt32 GetRndBit() { return RG.GetRnd(1); }
81 UInt32 len = RG.GetRnd(numBits);
82 return RG.GetRnd((int)len);
88 return (GetLogRandBits(4) << 10) | RG.GetRnd(10);
90 UInt32 GetLen1() { return RG.GetRnd(1 + (int)RG.GetRnd(2)); }
91 UInt32 GetLen2() { return RG.GetRnd(2 + (int)RG.GetRnd(2)); } [all...] |
/external/srec/srec/cfront/ |
cheldsp4.c | 62 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, 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/chromium_org/v8/test/webkit/fast/js/kde/ |
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/clang/test/Index/ |
print-type-size.cpp | 359 // 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/ |
bitmap.h | 71 bitmap_t rg = bitmap[rgoff]; local 73 return (rg == 0);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
ColorRectView.java | 151 LinearGradient rg = new LinearGradient( local 153 mWheelPaint2.setShader(rg);
|