Home
last modified time | relevance | path

Searched refs:wh (Results 1 – 25 of 58) 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/boost/boost/exception/
Ddiagnostic_information.hpp132 char const * wh=0; in diagnostic_information_impl() local
135 wh=se->what(); in diagnostic_information_impl()
136 if( be && exception_detail::get_diagnostic_information(*be,0)==wh ) in diagnostic_information_impl()
137 return wh; in diagnostic_information_impl()
169 tmp << "std::exception::what: " << (wh ? wh : "(null)") << '\n'; in diagnostic_information_impl()
/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/mindspore/tests/st/model_zoo_tests/yolov3/src/
Ddataset.py66 wh = boxes_wh[valid_mask]
69 if len(wh) >= 1:
70 wh = np.expand_dims(wh, -2)
71 boxes_max = wh / 2.
78 box_area = wh[..., 0] * wh[..., 1]
/third_party/boost/boost/process/detail/windows/
Dio_context_ref.hpp115 wait_handler wh(std::move(funcs), ios, process_handle, exec.exit_status); in on_success() local
117 auto handle_p = wh.handle.get(); in on_success()
118 handle_p->async_wait(std::move(wh)); in on_success()
/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/boost/boost/process/detail/posix/
Dio_context_ref.hpp99 auto wh = [funcs, es](int val, const std::error_code & ec) in on_success() local
106 sigchld_service.async_wait(exec.pid, std::move(wh)); in on_success()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/mkldnn/
Dmkl_cpu_kernel.cc45 auto wh = weight_height[i]; in GetPadding() local
46 int out = (wh + stride[i] - 1) / stride[i]; in GetPadding()
48 int pad_along = std::max(0, (out - 1) * stride[i] + effective_k - wh); in GetPadding()
/third_party/mindspore/tests/st/model_zoo_tests/yolov3_darknet53/src/
Dtransforms.py161 wh = boxes_wh[valid_mask]
162 if wh.size > 0:
163 wh = np.expand_dims(wh, -2)
164 boxes_max = wh / 2.
171 box_area = wh[..., 0] * wh[..., 1]
/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/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/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/boost/libs/exception/test/
Dcloning_test.cpp72 derives_std_boost_exception( char const * wh="derives_std_boost_exception" ): in derives_std_boost_exception()
73 wh_(wh) in derives_std_boost_exception()
/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()

123