/third_party/skia/third_party/externals/libwebp/src/utils/ |
D | random_utils.h | 34 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()
|
D | random_utils.c | 33 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()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/ |
D | random_utils.h | 34 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()
|
D | random_utils.c | 33 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()
|
/third_party/ffmpeg/libavfilter/x86/ |
D | vf_removegrain_init.c | 50 av_cold void ff_removegrain_init_x86(RemoveGrainContext *rg) in ff_removegrain_init_x86() argument 56 for (i = 0; i < rg->nb_planes; i++) { in ff_removegrain_init_x86() 58 switch (rg->mode[i]) { in ff_removegrain_init_x86() 59 case 1: rg->fl[i] = ff_rg_fl_mode_1_sse2; break; in ff_removegrain_init_x86() 60 case 10: rg->fl[i] = ff_rg_fl_mode_10_sse2; break; in ff_removegrain_init_x86() 62 case 12: rg->fl[i] = ff_rg_fl_mode_11_12_sse2; break; in ff_removegrain_init_x86() 64 case 14: rg->fl[i] = ff_rg_fl_mode_13_14_sse2; break; in ff_removegrain_init_x86() 65 case 19: rg->fl[i] = ff_rg_fl_mode_19_sse2; break; in ff_removegrain_init_x86() 66 case 20: rg->fl[i] = ff_rg_fl_mode_20_sse2; break; in ff_removegrain_init_x86() 67 case 21: rg->fl[i] = ff_rg_fl_mode_21_sse2; break; in ff_removegrain_init_x86() [all …]
|
/third_party/libxml2/ |
D | genChRanges.py | 364 for rg in rangeTable: 369 if rg[0] == rg[1]: # single value - check equal 370 pline += "((c) == 0x%x)" % rg[0] 373 if rg[1] != 0xff: 374 pline += "((0x%x <= (c)) &&" % rg[0] 375 pline += " ((c) <= 0x%x))" % rg[1] 377 pline += " (0x%x <= (c))" % rg[0] 411 for rg in Functs[f][1]: 417 if rg[0] == rg[1]: # single value - check equal 418 pline += "((c) == 0x%x)" % rg[0] [all …]
|
/third_party/flutter/skia/third_party/externals/libwebp/extras/ |
D | extras.c | 61 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()
|
/third_party/skia/third_party/externals/libwebp/extras/ |
D | extras.c | 62 const uint32_t rg = rgb565[2 * x + 1]; in WebPImportRGB565() local 65 const uint32_t rg = rgb565[2 * x + 0]; in WebPImportRGB565() 68 uint32_t r = rg & 0xf8; in WebPImportRGB565() 69 uint32_t g = ((rg << 5) | (gb >> 3)) & 0xfc; in WebPImportRGB565() 95 const uint32_t rg = rgb4444[2 * x + 1]; in WebPImportRGB4444() local 98 const uint32_t rg = rgb4444[2 * x + 0]; in WebPImportRGB4444() 101 uint32_t r = rg & 0xf0; in WebPImportRGB4444() 102 uint32_t g = (rg << 4); in WebPImportRGB4444()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_removegrain.c | 481 case 1: s->rg[i] = mode01; break; in config_input() 482 case 2: s->rg[i] = mode02; break; in config_input() 483 case 3: s->rg[i] = mode03; break; in config_input() 484 case 4: s->rg[i] = mode04; break; in config_input() 485 case 5: s->rg[i] = mode05; break; in config_input() 486 case 6: s->rg[i] = mode06; break; in config_input() 487 case 7: s->rg[i] = mode07; break; in config_input() 488 case 8: s->rg[i] = mode08; break; in config_input() 489 case 9: s->rg[i] = mode09; break; in config_input() 490 case 10: s->rg[i] = mode10; break; in config_input() [all …]
|
D | af_ashowinfo.c | 132 AVReplayGain *rg; in dump_replaygain() local 135 if (sd->size < sizeof(*rg)) { in dump_replaygain() 139 rg = (AVReplayGain*)sd->data; in dump_replaygain() 141 print_gain(ctx, "track gain", rg->track_gain); in dump_replaygain() 142 print_peak(ctx, "track peak", rg->track_peak); in dump_replaygain() 143 print_gain(ctx, "album gain", rg->album_gain); in dump_replaygain() 144 print_peak(ctx, "album peak", rg->album_peak); in dump_replaygain()
|
/third_party/mesa3d/src/intel/isl/ |
D | isl_format_layout.csv | 72 R64G64_FLOAT , 128, 1, 1, 1, sf64, sf64, , , , , , rg, line… 77 R64G64_PASSTHRU , 128, 1, 1, 1, r64, r64, , , , , , rg, … 91 R32G32_FLOAT , 64, 1, 1, 1, sf32, sf32, , , , , , rg, line… 92 R32G32_SINT , 64, 1, 1, 1, si32, si32, , , , , , rg, line… 93 R32G32_UINT , 64, 1, 1, 1, ui32, ui32, , , , , , rg, line… 97 R32G32_UNORM , 64, 1, 1, 1, un32, un32, , , , , , rg, line… 98 R32G32_SNORM , 64, 1, 1, 1, sn32, sn32, , , , , , rg, line… 107 R32G32_SSCALED , 64, 1, 1, 1, ss32, ss32, , , , , , rg, line… 108 R32G32_USCALED , 64, 1, 1, 1, us32, us32, , , , , , rg, line… 109 R32G32_FLOAT_LD , 64, 1, 1, 1, sf32, sf32, , , , , , rg, line… [all …]
|
/third_party/mesa3d/.gitlab-ci/windows/ |
D | quick_gl.txt | 498 spec/arb_clear_texture/arb_clear_texture-rg: skip 732 spec/arb_gpu_shader5/texturegather/fs-rg-0-float-2d: skip 733 spec/arb_gpu_shader5/texturegather/fs-rg-0-float-2darray: skip 734 spec/arb_gpu_shader5/texturegather/fs-rg-0-float-2drect: skip 735 spec/arb_gpu_shader5/texturegather/fs-rg-0-float-cube: skip 736 spec/arb_gpu_shader5/texturegather/fs-rg-0-float-cubearray: skip 737 spec/arb_gpu_shader5/texturegather/fs-rg-0-int-2d: skip 738 spec/arb_gpu_shader5/texturegather/fs-rg-0-int-2darray: skip 739 spec/arb_gpu_shader5/texturegather/fs-rg-0-int-2drect: skip 740 spec/arb_gpu_shader5/texturegather/fs-rg-0-int-cube: skip [all …]
|
/third_party/skia/tests/sksl/runtime/ |
D | ConstPreservation.stage | 3 half2 compute_ba_0(const half2 rg); 8 half2 compute_ba_0(const half2 rg) 10 return rg;
|
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/ |
D | yuv.h | 98 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()
|
D | upsampling_mips_dsp_r2.c | 68 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()
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
D | yuv.h | 98 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()
|
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/meta/ |
D | shard_page.cc | 36 for (const auto &rg : row_group_ids_) { in GetPage() local 38 row_groups["id"] = rg.first; in GetPage() 39 row_groups["offset"] = rg.second; in GetPage()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/ |
D | picture_csp_enc.c | 140 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() 142 : VP8RGBToY(r, g, b, VP8RandomBits(rg, YUV_FIX)); in RGBToY() 145 static int RGBToU(int r, int g, int b, VP8Random* const rg) { in RGBToU() argument 146 return (rg == NULL) ? VP8RGBToU(r, g, b, YUV_HALF << 2) in RGBToU() 147 : VP8RGBToU(r, g, b, VP8RandomBits(rg, YUV_FIX + 2)); in RGBToU() 150 static int RGBToV(int r, int g, int b, VP8Random* const rg) { in RGBToV() argument 151 return (rg == NULL) ? VP8RGBToV(r, g, b, YUV_HALF << 2) in RGBToV() 152 : VP8RGBToV(r, g, b, VP8RandomBits(rg, YUV_FIX + 2)); in RGBToV() 756 VP8Random* const rg) { in ConvertRowToY() argument [all …]
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | picture_csp_enc.c | 143 static int RGBToY(int r, int g, int b, VP8Random* const rg) { in RGBToY() argument 144 return (rg == NULL) ? VP8RGBToY(r, g, b, YUV_HALF) in RGBToY() 145 : VP8RGBToY(r, g, b, VP8RandomBits(rg, YUV_FIX)); in RGBToY() 148 static int RGBToU(int r, int g, int b, VP8Random* const rg) { in RGBToU() argument 149 return (rg == NULL) ? VP8RGBToU(r, g, b, YUV_HALF << 2) in RGBToU() 150 : VP8RGBToU(r, g, b, VP8RandomBits(rg, YUV_FIX + 2)); in RGBToU() 153 static int RGBToV(int r, int g, int b, VP8Random* const rg) { in RGBToV() argument 154 return (rg == NULL) ? VP8RGBToV(r, g, b, YUV_HALF << 2) in RGBToV() 155 : VP8RGBToV(r, g, b, VP8RandomBits(rg, YUV_FIX + 2)); in RGBToV() 760 VP8Random* const rg) { in ConvertRowToY() argument [all …]
|
/third_party/skia/src/opts/ |
D | SkSwizzler_opts.h | 373 __m512i rg = _mm512_unpacklo_epi32(*lo, *hi), in premul_should_swapRB() local 377 __m512i r = _mm512_unpacklo_epi8(rg, zeros), in premul_should_swapRB() 378 g = _mm512_unpackhi_epi8(rg, zeros), in premul_should_swapRB() 388 rg = _mm512_or_si512(r, _mm512_slli_epi16(g, 8)); in premul_should_swapRB() 390 *lo = _mm512_unpacklo_epi16(rg, ba); in premul_should_swapRB() 391 *hi = _mm512_unpackhi_epi16(rg, ba); in premul_should_swapRB() 577 __m512i rg = _mm512_or_si512(r, _mm512_slli_epi16(g, 8)), in inverted_cmyk_to() local 579 *lo = _mm512_unpacklo_epi16(rg, ba); in inverted_cmyk_to() 580 *hi = _mm512_unpackhi_epi16(rg, ba); in inverted_cmyk_to() 650 __m256i rg = _mm256_unpacklo_epi32(*lo, *hi), // rrrrRRRR ggggGGGG rrrrRRRR ggggGGGG in premul_should_swapRB() local [all …]
|
/third_party/boost/libs/geometry/test/srs/ |
D | transformation_interface.cpp | 53 ring rg; rg.push_back(pt); in test_geometries() local 55 polygon poly; poly.outer() = rg; in test_geometries() 70 tr.forward(rg, rg2); in test_geometries() 88 tr.inverse(rg2, rg); in test_geometries() 97 test::check_geometry(rg, "POLYGON((0.322885911738 0.945968454552))", 0.001); in test_geometries()
|
/third_party/skia/modules/skottie/src/effects/ |
D | GradientEffect.cpp | 104 auto* rg = static_cast<sksg::RadialGradient*>(fGradient.get()); in onSync() local 105 rg->setStartCenter(start_point); in onSync() 106 rg->setEndCenter(start_point); in onSync() 107 rg->setEndRadius(SkPoint::Distance(start_point, end_point)); in onSync()
|
/third_party/ffmpeg/libavformat/ |
D | mp3enc.c | 402 AVReplayGain *rg; in mp3_update_xing() local 425 rg = (AVReplayGain*)av_stream_get_side_data(s->streams[0], AV_PKT_DATA_REPLAYGAIN, in mp3_update_xing() 427 if (rg && rg_size >= sizeof(*rg)) { in mp3_update_xing() 431 av_rescale(rg->track_peak, 1 << 23, 100000)); in mp3_update_xing() 433 if (rg->track_gain != INT32_MIN) { in mp3_update_xing() 434 val = FFABS(rg->track_gain / 10000) & ((1 << 9) - 1); in mp3_update_xing() 435 val |= (rg->track_gain < 0) << 9; in mp3_update_xing() 440 if (rg->album_gain != INT32_MIN) { in mp3_update_xing() 441 val = FFABS(rg->album_gain / 10000) & ((1 << 9) - 1); in mp3_update_xing() 442 val |= (rg->album_gain < 0) << 9; in mp3_update_xing()
|
/third_party/ltp/testcases/kernel/syscalls/setregid/ |
D | setregid04.c | 51 static void gid_verify(gid_t rg, gid_t eg, const char *when) in gid_verify() argument 53 if ((getgid() != rg) || (getegid() != eg)) { in gid_verify() 57 rg, eg); in gid_verify()
|
/third_party/flutter/skia/modules/skottie/src/effects/ |
D | GradientEffect.cpp | 83 auto* rg = static_cast<sksg::RadialGradient*>(fGradient.get()); in apply() local 84 rg->setStartCenter(fStartPoint); in apply() 85 rg->setEndCenter(fStartPoint); in apply() 86 rg->setEndRadius(SkPoint::Distance(fStartPoint, fEndPoint)); in apply()
|