/third_party/boost/libs/compute/include/boost/compute/detail/ |
D | work_size.hpp | 26 size_t work_size = static_cast<size_t>(std::ceil(float(count) / vpt)); in calculate_work_size() local 27 if(work_size % tpb != 0){ in calculate_work_size() 28 work_size += tpb - work_size % tpb; in calculate_work_size() 30 return work_size; in calculate_work_size()
|
/third_party/boost/boost/compute/detail/ |
D | work_size.hpp | 26 size_t work_size = static_cast<size_t>(std::ceil(float(count) / vpt)); in calculate_work_size() local 27 if(work_size % tpb != 0){ in calculate_work_size() 28 work_size += tpb - work_size % tpb; in calculate_work_size() 30 return work_size; in calculate_work_size()
|
/third_party/boost/libs/filesystem/example/ |
D | mbpath.cpp | 38 std::size_t work_size( cvt->max_length() * (src.size()+1) ); in to_external() local 39 boost::scoped_array<char> work( new char[ work_size ] ); in to_external() 45 work.get()+work_size, to_next ) != std::codecvt_base::ok ) in to_external() 57 std::size_t work_size( src.size()+1 ); in to_internal() local 58 boost::scoped_array<wchar_t> work( new wchar_t[ work_size ] ); in to_internal() 64 work.get()+work_size, to_next ) != std::codecvt_base::ok ) in to_internal()
|
/third_party/boost/boost/compute/algorithm/detail/ |
D | reduce_on_gpu.hpp | 139 size_t work_size = calculate_work_size(count, vpt, tpb); in initial_reduce() local 141 queue.enqueue_1d_range_kernel(generic_reduce_kernel, 0, work_size, tpb); in initial_reduce() 164 size_t work_size = calculate_work_size(count, vpt, tpb); in initial_reduce() local 166 queue.enqueue_1d_range_kernel(reduce_kernel, 0, work_size, tpb); in initial_reduce() 261 size_t work_size = static_cast<size_t>(std::ceil(float(count) / vpt)); in reduce_on_gpu() local 262 if(work_size % tpb != 0){ in reduce_on_gpu() 263 work_size += tpb - work_size % tpb; in reduce_on_gpu() 265 queue.enqueue_1d_range_kernel(reduce_kernel, 0, work_size, tpb); in reduce_on_gpu()
|
/third_party/boost/libs/compute/include/boost/compute/algorithm/detail/ |
D | reduce_on_gpu.hpp | 139 size_t work_size = calculate_work_size(count, vpt, tpb); in initial_reduce() local 141 queue.enqueue_1d_range_kernel(generic_reduce_kernel, 0, work_size, tpb); in initial_reduce() 164 size_t work_size = calculate_work_size(count, vpt, tpb); in initial_reduce() local 166 queue.enqueue_1d_range_kernel(reduce_kernel, 0, work_size, tpb); in initial_reduce() 261 size_t work_size = static_cast<size_t>(std::ceil(float(count) / vpt)); in reduce_on_gpu() local 262 if(work_size % tpb != 0){ in reduce_on_gpu() 263 work_size += tpb - work_size % tpb; in reduce_on_gpu() 265 queue.enqueue_1d_range_kernel(reduce_kernel, 0, work_size, tpb); in reduce_on_gpu()
|
/third_party/ffmpeg/libavcodec/ |
D | zmbvenc.c | 175 int work_size = 0, pkt_size; in encode_frame() local 199 c->work_buf[work_size++] = tpal[0] ^ c->pal[i * 3 + 0]; in encode_frame() 200 c->work_buf[work_size++] = tpal[1] ^ c->pal[i * 3 + 1]; in encode_frame() 201 c->work_buf[work_size++] = tpal[2] ^ c->pal[i * 3 + 2]; in encode_frame() 215 work_size = 768; in encode_frame() 218 memcpy(c->work_buf + work_size, src, avctx->width * c->bypp); in encode_frame() 220 work_size += avctx->width * c->bypp; in encode_frame() 230 mv = c->work_buf + work_size; in encode_frame() 231 memset(c->work_buf + work_size, 0, (bw * bh * 2 + 3) & ~3); in encode_frame() 232 work_size += (bw * bh * 2 + 3) & ~3; in encode_frame() [all …]
|
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/ |
D | io_dec.c | 306 const size_t work_size = 2 * out_width; // scratch memory for luma rescaler in InitYUVRescaler() local 313 tmp_size = (work_size + 2 * uv_work_size) * sizeof(*work); in InitYUVRescaler() 315 tmp_size += work_size * sizeof(*work); in InitYUVRescaler() 336 work + work_size); in InitYUVRescaler() 339 work + work_size + uv_work_size); in InitYUVRescaler() 345 work + work_size + 2 * uv_work_size); in InitYUVRescaler() 488 const size_t work_size = 2 * out_width; // scratch memory for one rescaler in InitRGBRescaler() local 495 tmp_size1 = 3 * work_size; in InitRGBRescaler() 498 tmp_size1 += work_size; in InitRGBRescaler() 519 work + 0 * work_size); in InitRGBRescaler() [all …]
|
D | vp8l_dec.c | 541 const uint64_t work_size = 2 * num_channels * (uint64_t)out_width; in AllocateAndInitRescaler() local 546 work_size * sizeof(*work) + in AllocateAndInitRescaler() 559 memory += work_size * sizeof(*work); in AllocateAndInitRescaler()
|
/third_party/skia/third_party/externals/libwebp/src/dec/ |
D | io_dec.c | 302 const size_t work_size = 2 * (size_t)out_width; in InitYUVRescaler() local 310 total_size = ((uint64_t)work_size + 2 * uv_work_size) * sizeof(*work); in InitYUVRescaler() 312 total_size += (uint64_t)work_size * sizeof(*work); in InitYUVRescaler() 338 work + work_size) || in InitYUVRescaler() 341 work + work_size + uv_work_size)) { in InitYUVRescaler() 349 work + work_size + 2 * uv_work_size)) { in InitYUVRescaler() 495 const size_t work_size = 2 * (size_t)out_width; in InitRGBRescaler() local 503 tmp_size1 = (uint64_t)num_rescalers * work_size; in InitRGBRescaler() 528 work + 0 * work_size) || in InitRGBRescaler() 531 work + 1 * work_size) || in InitRGBRescaler() [all …]
|
D | vp8l_dec.c | 541 const uint64_t work_size = 2 * num_channels * (uint64_t)out_width; in AllocateAndInitRescaler() local 546 work_size * sizeof(*work) + in AllocateAndInitRescaler() 559 memory += work_size * sizeof(*work); in AllocateAndInitRescaler()
|
/third_party/ffmpeg/libavfilter/ |
D | opencl.c | 279 size_t *work_size, in ff_opencl_filter_work_size_from_image() argument 335 work_size[0] = width; in ff_opencl_filter_work_size_from_image() 336 work_size[1] = height; in ff_opencl_filter_work_size_from_image()
|
D | opencl.h | 287 size_t *work_size,
|
/third_party/ffmpeg/libavfilter/opencl/ |
D | nlmeans.cl | 32 int work_size = get_global_size(0);
|
/third_party/skia/third_party/externals/imgui/ |
D | imgui_demo.cpp | 7036 ImVec2 work_size = viewport->WorkSize; local 7038 window_pos.x = (corner & 1) ? (work_pos.x + work_size.x - PAD) : (work_pos.x + PAD); 7039 window_pos.y = (corner & 2) ? (work_pos.y + work_size.y - PAD) : (work_pos.y + PAD);
|