Home
last modified time | relevance | path

Searched refs:wh (Results 1 – 25 of 53) sorted by relevance

123

/third_party/skia/tests/
DGrThreadSafeCacheTest.cpp37 static SkImageInfo default_ii(int wh) { in default_ii() argument
38 return SkImageInfo::Make(wh, wh, kRGBA_8888_SkColorType, kPremul_SkAlphaType); in default_ii()
42 int wh) { in new_SDC() argument
47 {wh, wh}, in new_SDC()
56 static void create_view_key(GrUniqueKey* key, int wh, int id) { in create_view_key() argument
59 builder[0] = wh; in create_view_key()
67 static void create_vert_key(GrUniqueKey* key, int wh, int id) { in create_vert_key() argument
70 builder[0] = wh; in create_vert_key()
85 static SkBitmap create_bitmap(int wh) { in create_bitmap() argument
88 bitmap.allocPixels(default_ii(wh)); in create_bitmap()
[all …]
/third_party/node/deps/npm/node_modules/color-convert/
Dconversions.js364 var wh = hwb[1] / 100;
366 var ratio = wh + bl;
374 wh /= ratio;
386 n = wh + f * (v - wh); // linear interpolation
394 case 0: r = v; g = n; b = wh; break;
395 case 1: r = n; g = v; b = wh; break;
396 case 2: r = wh; g = v; b = n; break;
397 case 3: r = wh; g = n; b = v; break;
398 case 4: r = n; g = wh; b = v; break;
399 case 5: r = v; g = wh; b = n; break;
/third_party/ffmpeg/libavfilter/
Dvf_scale_cuda.cu63 float wh = min(max(0.5f * (hscale - 1.0f), 0.0f), 1.0f); in Subsample_Bilinear() local
66 float dx = wh / (0.5f + wh); in Subsample_Bilinear()
Dvf_datascope.c474 int ww, wh; member
553 s->wh = 300 * 1.6; in pixscope_config_input()
597 Y = (in->height - s->wh) * s->wy; in pixscope_filter_frame()
599 Y = (in->height - s->wh) * -s->wy; in pixscope_filter_frame()
604 s->y + s->h >= Y && (s->y + s->h <= Y + s->wh)) { in pixscope_filter_frame()
611 s->y + s->h >= Y && (s->y + s->h <= Y + s->wh)) { in pixscope_filter_frame()
612 Y = (in->height - s->wh) * (1 + s->wy); in pixscope_filter_frame()
621 s->wh); in pixscope_filter_frame()
/third_party/mesa3d/src/gallium/drivers/r600/
Dradeon_video.c156 unsigned wh; in rvid_join_surfaces() local
162 wh = surfaces[i]->u.legacy.bankw * surfaces[i]->u.legacy.bankh; in rvid_join_surfaces()
163 if (wh < best_wh) { in rvid_join_surfaces()
164 best_wh = wh; in rvid_join_surfaces()
/third_party/flutter/skia/src/utils/
DSkMultiPictureDocument.cpp154 PagerCanvas(SkISize wh, SkDocumentPage* dst, int count) in PagerCanvas()
155 : SkNWayCanvas(wh.width(), wh.height()), fDst(dst), fCount(count) { in PagerCanvas()
/third_party/skia/src/utils/
DSkMultiPictureDocument.cpp163 PagerCanvas(SkISize wh, SkDocumentPage* dst, int count) in PagerCanvas()
164 : SkNWayCanvas(wh.width(), wh.height()), fDst(dst), fCount(count) { in PagerCanvas()
/third_party/flutter/skia/third_party/externals/wuffs/internal/cgen/base/
Dimage-public.h371 uint64_t wh = ((uint64_t)width) * ((uint64_t)height); in wuffs_base__pixel_config__set() local
373 if (wh <= ((uint64_t)SIZE_MAX)) { in wuffs_base__pixel_config__set()
974 uint64_t wh = ((uint64_t)pixcfg->private_impl.width) * in wuffs_base__pixel_buffer__set_from_slice() local
977 if ((wh > (UINT64_MAX / bytes_per_pixel)) || in wuffs_base__pixel_buffer__set_from_slice()
981 wh *= bytes_per_pixel; in wuffs_base__pixel_buffer__set_from_slice()
983 if (wh > len) { in wuffs_base__pixel_buffer__set_from_slice()
/third_party/flutter/skia/src/gpu/effects/generated/
DGrCircleBlurFragmentProcessor.cpp345 SkScalar wh = testData->fRandom->nextRangeScalar(100.f, 1000.f); in TestCreate() local
347 SkRect circle = SkRect::MakeWH(wh, wh); in TestCreate()
/third_party/gstreamer/gstplugins_bad/gst/librfb/
Drfbdecoder.c1016 guint8 subencoding, nr_subrect, xy, wh; in rfb_decoder_hextile_encoding() local
1080 wh = RFB_GET_UINT8 (decoder->data + offset++); in rfb_decoder_hextile_encoding()
1082 1 + (wh >> 4), 1 + (wh & 0xF), foreground); in rfb_decoder_hextile_encoding()
1092 wh = RFB_GET_UINT8 (decoder->data + offset++); in rfb_decoder_hextile_encoding()
1094 1 + (wh >> 4), 1 + (wh & 0xF), foreground); in rfb_decoder_hextile_encoding()
/third_party/flutter/skia/third_party/externals/icu/source/data/locales/
Dmi.txt5 ExemplarCharacters{"[a ā e ē h i ī k m n {ng} o ō p r t u ū w {wh}]"}
406 "Paengawhāwhā",
450 "Paengawhāwhā",
/third_party/ffmpeg/libavcodec/
Dvmnc.c249 int bg = 0, fg = 0, rects, color, flags, xy, wh; in decode_hextile() local
294 wh = bytestream2_get_byte(gb); in decode_hextile()
298 rect_w = (wh >> 4) + 1; in decode_hextile()
299 rect_h = (wh & 0xF) + 1; in decode_hextile()
/third_party/ffmpeg/libavfilter/opencl/
Dxfade.cl99 int2 wh = (int2)(w, h);
103 int2 f = p % wh;
/third_party/skia/third_party/externals/icu/source/data/locales/
Dmi.txt6 ExemplarCharacters{"[a ā e ē h i ī k m n {ng} o ō p r t u ū w {wh}]"}
459 "Paengawhāwhā",
503 "Paengawhāwhā",
/third_party/icu/icu4c/source/data/locales/
Dmi.txt6 ExemplarCharacters{"[a ā e ē h i ī k m n {ng} o ō p r t u ū w {wh}]"}
459 "Paengawhāwhā",
503 "Paengawhāwhā",
/third_party/flutter/skia/src/gpu/effects/
DGrCircleBlurFragmentProcessor.fp288 SkScalar wh = testData->fRandom->nextRangeScalar(100.f, 1000.f);
290 SkRect circle = SkRect::MakeWH(wh, wh);
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DMultiviewPerf.cpp385 const float wh = static_cast<float>(h) / viewHeight; in renderScene() local
386 glUniform2f(glGetUniformLocation(mProgram, "uOffset"), 2.f * wf - 1.f, 2.f * wh - 1.f); in renderScene()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/
DMultiviewPerf.cpp385 const float wh = static_cast<float>(h) / viewHeight; in renderScene() local
386 glUniform2f(glGetUniformLocation(mProgram, "uOffset"), 2.f * wf - 1.f, 2.f * wh - 1.f); in renderScene()
/third_party/node/deps/npm/node_modules/tweetnacl/
Dnacl-fast.js1451 var wh = new Int32Array(16), wl = new Int32Array(16),
1478 wh[i] = (m[j+0] << 24) | (m[j+1] << 16) | (m[j+2] << 8) | m[j+3];
1529 h = wh[i%16];
1611 h = wh[j];
1617 h = wh[(j+9)%16];
1624 th = wh[(j+1)%16];
1633 th = wh[(j+14)%16];
1645 wh[j] = (c & 0xffff) | (d << 16);
/third_party/flutter/glfw/src/
Dwindow.c734 GLFWAPI void glfwSetWindowMonitor(GLFWwindow* wh, in glfwSetWindowMonitor() argument
740 _GLFWwindow* window = (_GLFWwindow*) wh; in glfwSetWindowMonitor()
/third_party/skia/gm/
Dwacky_yuv_formats.cpp796 int wh = SkScalarCeilToInt(kTileWidthHeight * (fUseSubset ? 1.5f : 1.f)); in onISize() local
797 return SkISize::Make(kLabelWidth + numCols * (wh + kPad), in onISize()
798 kLabelHeight + numRows * (wh + kPad)); in onISize()
/third_party/typescript/tests/baselines/reference/
DhugeDeclarationOutputGetsTruncatedWithError.types6 …" | "vx" | "vy" | "vz" | "wa" | "wb" | "wc" | "wd" | "we" | "wf" | "wg" | "wh" | "wi" | "wj" | "wk…
9wh: "aa.wh"; wi: "aa.wi"; wj: "aa.wj"; wk: "aa.wk"; wl: "aa.wl"; wm: "aa.wm"; wn: "aa.wn"; wo: "aa…
10wh: "aa.wh"; wi: "aa.wi"; wj: "aa.wj"; wk: "aa.wk"; wl: "aa.wl"; wm: "aa.wm"; wn: "aa.wn"; wo: "aa…
DhugeDeclarationOutputGTruncatedWithError.ts.types6 …" | "vx" | "vy" | "vz" | "wa" | "wb" | "wc" | "wd" | "we" | "wf" | "wg" | "wh" | "wi" | "wj" | "wk…
9wh: "aa.wh"; wi: "aa.wi"; wj: "aa.wj"; wk: "aa.wk"; wl: "aa.wl"; wm: "aa.wm"; wn: "aa.wn"; wo: "aa…
10wh: "aa.wh"; wi: "aa.wi"; wj: "aa.wj"; wk: "aa.wk"; wl: "aa.wl"; wm: "aa.wm"; wn: "aa.wn"; wo: "aa…
/third_party/flutter/skia/gm/
Dwacky_yuv_formats.cpp1147 int wh = SkScalarCeilToInt(kTileWidthHeight * (fUseDomain ? 1.5f : 1.f)); in onISize() local
1148 return SkISize::Make(kLabelWidth + numCols * (wh + kPad), in onISize()
1149 kLabelHeight + numRows * (wh + kPad)); in onISize()
/third_party/skia/src/pdf/
DSkPDFDevice.cpp1603 SkISize wh = rect_to_size(physicalBounds).toCeil(); in internalDrawImageRect() local
1605 auto surface = SkSurface::MakeRaster(SkImageInfo::MakeN32Premul(wh)); in internalDrawImageRect()

123