Searched defs:rg (Results 1 - 21 of 21) sorted by relevance

/external/webp/src/utils/
H A Drandom_utils.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
H A Drandom_utils.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...]
/external/ltp/testcases/kernel/syscalls/setregid/
H A Dsetregid04.c137 static void gid_verify(struct group *rg, struct group *eg, const char *when) argument
139 if ((getgid() != rg->gr_gid) || (getegid() != eg->gr_gid)) {
143 rg->gr_gid, eg->gr_gid);
H A Dsetregid02.c180 void gid_verify(struct group *rg, struct group *eg, char *when) argument
182 if ((getgid() != rg->gr_gid) || (getegid() != eg->gr_gid)) {
186 rg->gr_gid, eg->gr_gid);
H A Dsetregid03.c204 static void gid_verify(struct group *rg, struct group *eg, char *when) argument
206 if ((getgid() != rg->gr_gid) || (getegid() != eg->gr_gid)) {
210 rg->gr_gid, eg->gr_gid);
/external/webp/src/dsp/
H A Dupsampling_mips_dsp_r2.c69 const int rg = (r & 0xf8) | (g >> 5); local
73 rgb[1] = rg;
75 rgb[0] = rg;
85 const int rg = (r & 0xf0) | (g >> 4); local
89 argb[1] = rg;
91 argb[0] = rg;
H A Dyuv.h112 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 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 Dupsampling_msa.c275 const int rg = (r & 0xf8) | (g >> 5); local
279 rgb[1] = rg;
281 rgb[0] = rg;
294 const int rg = (r & 0xf0) | (g >> 4); local
298 argb[1] = rg;
300 argb[0] = rg;
H A Dlossless.c453 const uint8_t rg = ((argb >> 16) & 0xf0) | ((argb >> 12) & 0xf); local
457 *dst++ = rg;
459 *dst++ = rg;
470 const uint8_t rg = ((argb >> 16) & 0xf8) | ((argb >> 13) & 0x7); local
474 *dst++ = rg;
476 *dst++ = rg;
H A Dyuv_sse2.c108 const __m128i rg = _mm_unpacklo_epi8(rb, ga); local
110 const __m128i RGBA_lo = _mm_unpacklo_epi16(rg, ba);
111 const __m128i RGBA_hi = _mm_unpackhi_epi16(rg, ba);
150 const __m128i rg = _mm_or_si128(r1, g1); local
153 const __m128i rgb565 = _mm_unpacklo_epi8(rg, gb);
155 const __m128i rgb565 = _mm_unpacklo_epi8(gb, rg);
/external/clang/test/OpenMP/
H A Dtarget_is_device_ptr_ast_print.cpp17 STarr &rg = g; member in struct:SA
35 #pragma omp target is_device_ptr(rg) // OK
45 // CHECK-NEXT: STarr &rg = this->g;
68 // CHECK-NEXT: #pragma omp target is_device_ptr(this->rg)
H A Dtarget_is_device_ptr_messages.cpp12 STarr &rg = g; member in struct:SA
46 #pragma omp target is_device_ptr(rg) // OK
/external/jemalloc/include/jemalloc/internal/
H A Dbitmap.h139 bitmap_t rg = bitmap[rgoff]; local
141 return (rg == 0);
/external/clang/test/Index/
H A Dprint-type-size.cpp360 // 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/lzma/CPP/7zip/UI/Common/
H A DBench.cpp191 CBaseRandomGenerator rg = *_RG_; local
195 buf[i] = (Byte)rg.GetRnd();
196 *_RG_ = rg;
201 CBaseRandomGenerator rg = *_RG_; local
210 UInt32 r = rg.GetRnd();
237 r = rg.GetRnd();
243 r = rg.GetRnd();
261 *_RG_ = rg;
742 CBenchRandomGenerator rg;
755 CBaseRandomGenerator *rg);
[all...]
/external/skia/src/jumper/
H A DSkJumper_vectors.h598 auto rg = _mm_unpacklo_epi16(_02, _13), // r0 r1 r2 r3 g0 g1 g2 g3 local
601 *r = unaligned_load<U16>((uint16_t*)&rg + 0);
602 *g = unaligned_load<U16>((uint16_t*)&rg + 4);
608 auto rg = _mm_unpacklo_epi16(widen_cast<__m128i>(r), widen_cast<__m128i>(g)), local
613 if ( true ) { _mm_storel_pd(dst + 0, _mm_unpacklo_epi32(rg, ba)); }
614 if (tail > 1) { _mm_storeh_pd(dst + 1, _mm_unpacklo_epi32(rg, ba)); }
615 if (tail > 2) { _mm_storel_pd(dst + 2, _mm_unpackhi_epi32(rg, ba)); }
617 _mm_storeu_si128((__m128i*)ptr + 0, _mm_unpacklo_epi32(rg, ba));
618 _mm_storeu_si128((__m128i*)ptr + 1, _mm_unpackhi_epi32(rg, ba));
/external/skia/src/opts/
H A DSkNx_sse.h292 __m128i rg = _mm_unpacklo_epi16(even, odd), // r0 r1 r2 r3 g0 g1 g2 g3 local
294 *r = rg;
295 *g = _mm_srli_si128(rg, 8);
316 __m128i rg = _mm_unpacklo_epi16(r.fVec, g.fVec); local
318 __m128i lo = _mm_unpacklo_epi32(rg, ba);
319 __m128i hi = _mm_unpackhi_epi32(rg, ba);
/external/webp/src/dec/
H A Dframe_dec.c363 static void Dither8x8(VP8Random* const rg, uint8_t* dst, int bps, int amp) { argument
367 dither[i] = VP8RandomBits2(rg, VP8_DITHER_AMP_BITS + 1, amp);
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
H A Dutils.h373 __m128i rg = _mm256_castsi256_si128(src); // rrrrrrrr gggggggg local
374 __m128i g = _mm_unpackhi_epi64(rg, rg); // gggggggg gggggggg
375 rg = _mm_unpacklo_epi8(rg, g);
376 _mm_store_si128((__m128i*)pDst, rg);
/external/webp/src/enc/
H A Dpicture_csp_enc.c140 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));
749 VP8Random* const rg) {
743 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
818 ConvertRowsToUV(const uint16_t* rgb, uint8_t* const dst_u, uint8_t* const dst_v, int width, VP8Random* const rg) argument
887 VP8Random* rg = NULL; local
[all...]

Completed in 1163 milliseconds