Home
last modified time | relevance | path

Searched refs:layer (Results 1 – 25 of 1312) sorted by relevance

12345678910>>...53

/third_party/ffmpeg/tests/fate/
Ddnn.mak1 FATE_DNN += fate-dnn-layer-pad
2 fate-dnn-layer-pad: $(DNNTESTSDIR)/dnn-layer-pad-test$(EXESUF)
3 fate-dnn-layer-pad: CMD = run $(DNNTESTSDIR)/dnn-layer-pad-test$(EXESUF)
4 fate-dnn-layer-pad: CMP = null
6 FATE_DNN += fate-dnn-layer-conv2d
7 fate-dnn-layer-conv2d: $(DNNTESTSDIR)/dnn-layer-conv2d-test$(EXESUF)
8 fate-dnn-layer-conv2d: CMD = run $(DNNTESTSDIR)/dnn-layer-conv2d-test$(EXESUF)
9 fate-dnn-layer-conv2d: CMP = null
11 FATE_DNN += fate-dnn-layer-dense
12 fate-dnn-layer-dense: $(DNNTESTSDIR)/dnn-layer-dense-test$(EXESUF)
[all …]
/third_party/vulkan-loader/tests/framework/layer/
Dtest_layer.cpp81 TestLayer layer; variable
83 FRAMEWORK_EXPORT TestLayer* get_test_layer_func() { return &layer; } in get_test_layer_func()
85 layer.~TestLayer(); in reset_layer_func()
86 return new (&layer) TestLayer(); in reset_layer_func()
118 …return layer.instance_dispatch_table.EnumerateInstanceExtensionProperties(pLayerName, pPropertyCou… in test_vkEnumerateInstanceExtensionProperties()
133 …return layer.instance_dispatch_table.EnumerateDeviceExtensionProperties(physicalDevice, pLayerName… in test_vkEnumerateDeviceExtensionProperties()
157 layer.next_vkGetInstanceProcAddr = fpGetInstanceProcAddr; in test_vkCreateInstance()
164 layer.instance_handle = *pInstance; in test_vkCreateInstance()
165 if (layer.use_gipa_GetPhysicalDeviceProcAddr) { in test_vkCreateInstance()
166 layer.next_GetPhysicalDeviceProcAddr = in test_vkCreateInstance()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DSubresourceStorage.h176 bool IsLayerCompressedForTesting(Aspect aspect, uint32_t layer) const;
185 void DecompressLayer(uint32_t aspectIndex, uint32_t layer);
186 void RecompressLayer(uint32_t aspectIndex, uint32_t layer);
188 SubresourceRange GetFullLayerRange(Aspect aspect, uint32_t layer) const;
198 T& Data(uint32_t aspectIndex, uint32_t layer, uint32_t level = 0);
200 const T& Data(uint32_t aspectIndex, uint32_t layer, uint32_t level = 0) const;
262 for (uint32_t layer = range.baseArrayLayer; layer < layerEnd; layer++) { in Update() local
265 if (LayerCompressed(aspectIndex, layer)) { in Update()
267 SubresourceRange updateRange = GetFullLayerRange(aspect, layer); in Update()
268 updateFunc(updateRange, &Data(aspectIndex, layer)); in Update()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_compositor.c283 default_rect(struct vl_compositor_layer *layer) in default_rect() argument
285 struct pipe_resource *res = layer->sampler_views[0]->texture; in default_rect()
305 calc_src_and_dst(struct vl_compositor_layer *layer, unsigned width, unsigned height, in calc_src_and_dst() argument
310 layer->src.tl = calc_topleft(size, src); in calc_src_and_dst()
311 layer->src.br = calc_bottomright(size, src); in calc_src_and_dst()
312 layer->dst.tl = calc_topleft(size, dst); in calc_src_and_dst()
313 layer->dst.br = calc_bottomright(size, dst); in calc_src_and_dst()
314 layer->zw.x = 0.0f; in calc_src_and_dst()
315 layer->zw.y = size.y; in calc_src_and_dst()
320 unsigned layer, struct pipe_video_buffer *buffer, in set_yuv_layer() argument
[all …]
Dvl_compositor_gfx.c471 gen_rect_verts(struct vertex2f *vb, struct vl_compositor_layer *layer) in gen_rect_verts() argument
475 assert(vb && layer); in gen_rect_verts()
477 switch (layer->rotate) { in gen_rect_verts()
480 tl = layer->dst.tl; in gen_rect_verts()
481 tr.x = layer->dst.br.x; in gen_rect_verts()
482 tr.y = layer->dst.tl.y; in gen_rect_verts()
483 br = layer->dst.br; in gen_rect_verts()
484 bl.x = layer->dst.tl.x; in gen_rect_verts()
485 bl.y = layer->dst.br.y; in gen_rect_verts()
488 tl.x = layer->dst.br.x; in gen_rect_verts()
[all …]
Dvl_compositor_cs.c623 struct vl_compositor_layer *layer) in calc_drawn_area() argument
628 assert(s && layer); in calc_drawn_area()
630 tl = layer->dst.tl; in calc_drawn_area()
631 br = layer->dst.br; in calc_drawn_area()
634 result.x0 = tl.x * layer->viewport.scale[0] + layer->viewport.translate[0]; in calc_drawn_area()
635 result.y0 = tl.y * layer->viewport.scale[1] + layer->viewport.translate[1]; in calc_drawn_area()
636 result.x1 = br.x * layer->viewport.scale[0] + layer->viewport.translate[0]; in calc_drawn_area()
637 result.y1 = br.y * layer->viewport.scale[1] + layer->viewport.translate[1]; in calc_drawn_area()
707 struct vl_compositor_layer *layer = &s->layers[i]; in draw_layers() local
708 struct pipe_sampler_view **samplers = &layer->sampler_views[0]; in draw_layers()
[all …]
/third_party/skia/tools/sk_app/
DWindow.cpp40 this->visitLayers([](Layer* layer) { layer->onBackendCreated(); }); in onBackendCreated() argument
44 return this->signalLayers([=](Layer* layer) { return layer->onChar(c, modifiers); }); in onChar() argument
48 return this->signalLayers([=](Layer* layer) { return layer->onKey(key, state, modifiers); }); in onKey() argument
52 return this->signalLayers([=](Layer* layer) { return layer->onMouse(x, y, state, modifiers); }); in onMouse() argument
56 return this->signalLayers([=](Layer* layer) { return layer->onMouseWheel(delta, modifiers); }); in onMouseWheel() argument
60 return this->signalLayers([=](Layer* layer) { return layer->onTouch(owner, state, x, y); }); in onTouch() argument
64 return this->signalLayers([=](Layer* layer) { return layer->onFling(state); }); in onFling() argument
68 return this->signalLayers([=](Layer* layer) { return layer->onPinch(state, scale, x, y); }); in onPinch() argument
72 this->visitLayers([=](Layer* layer) { layer->onUIStateChanged(stateName, stateValue); }); in onUIStateChanged() argument
92 this->visitLayers([](Layer* layer) { layer->onPrePaint(); }); in onPaint() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/src/WSI/
DMetalSurface.mm31 layer = nullptr;
41 layer = (CAMetalLayer*)[obj retain];
42 layer.framebufferOnly = false;
43 layer.device = MTLCreateSystemDefaultDevice();
47 UNREACHABLE("MetalLayer::init(): view doesn't have metal backed layer");
54 layer = nullptr;
62 initWithLayer(objView.layer);
70 if(layer)
72 [layer.device release];
73 [layer release];
[all …]
/third_party/ffmpeg/tests/dnn/
D.gitignore1 /dnn-layer-conv2d-test
2 /dnn-layer-depth2space-test
3 /dnn-layer-maximum-test
4 /dnn-layer-pad-test
5 /dnn-layer-mathbinary-test
6 /dnn-layer-mathunary-test
7 /dnn-layer-avgpool-test
8 /dnn-layer-dense-test
DMakefile1 DNNTESTPROGS += dnn-layer-pad
2 DNNTESTPROGS += dnn-layer-conv2d
3 DNNTESTPROGS += dnn-layer-depth2space
4 DNNTESTPROGS += dnn-layer-dense
5 DNNTESTPROGS += dnn-layer-mathbinary
6 DNNTESTPROGS += dnn-layer-maximum
7 DNNTESTPROGS += dnn-layer-mathunary
8 DNNTESTPROGS += dnn-layer-avgpool
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudioiec61937.c105 int version, layer, channels, frames; in gst_audio_iec61937_frame_size() local
108 layer = caps_get_int_field (spec->caps, "layer"); in gst_audio_iec61937_frame_size()
113 if (!version || !layer || version == 3 || channels > 2) in gst_audio_iec61937_frame_size()
116 if (version == 1 && layer == 1) in gst_audio_iec61937_frame_size()
118 else if (version == 2 && layer == 1 && spec->info.rate <= 12000) in gst_audio_iec61937_frame_size()
120 else if (version == 2 && layer == 2 && spec->info.rate <= 12000) in gst_audio_iec61937_frame_size()
257 int version, layer; in gst_audio_iec61937_payload() local
260 layer = caps_get_int_field (spec->caps, "layer"); in gst_audio_iec61937_payload()
262 g_return_val_if_fail (version > 0 && layer > 0, FALSE); in gst_audio_iec61937_payload()
282 if (version == 1 && layer == 1) in gst_audio_iec61937_payload()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DSubresourceStorageTests.cpp41 for (uint32_t layer = range.baseArrayLayer; in Update() local
42 layer < range.baseArrayLayer + range.layerCount; layer++) { in Update()
45 SubresourceRange range = SubresourceRange::MakeSingle(aspect, layer, level); in Update()
46 updateFunc(range, &mData[GetDataIndex(aspect, layer, level)]); in Update()
55 for (uint32_t layer = 0; layer < mArrayLayerCount; layer++) { in Merge() local
57 SubresourceRange range = SubresourceRange::MakeSingle(aspect, layer, level); in Merge()
58 mergeFunc(range, &mData[GetDataIndex(aspect, layer, level)], in Merge()
59 other.Get(aspect, layer, level)); in Merge()
69 size_t GetDataIndex(Aspect aspect, uint32_t layer, uint32_t level) const { in GetDataIndex()
71 return level + mMipLevelCount * (layer + mArrayLayerCount * aspectIndex); in GetDataIndex()
[all …]
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_tile_cache.c58 pos = addr.bits.layer * (MAX_WIDTH / TILE_SIZE) * (MAX_HEIGHT / TILE_SIZE); in addr_to_clear_pos()
340 sp_tile_cache_flush_clear(struct softpipe_tile_cache *tc, int layer) in sp_tile_cache_flush_clear() argument
342 struct pipe_transfer *pt = tc->transfer[layer]; in sp_tile_cache_flush_clear()
343 const uint w = tc->transfer[layer]->box.width; in sp_tile_cache_flush_clear()
344 const uint h = tc->transfer[layer]->box.height; in sp_tile_cache_flush_clear()
360 union tile_address addr = tile_address(x, y, layer); in sp_tile_cache_flush_clear()
365 pipe_put_tile_raw(pt, tc->transfer_map[layer], in sp_tile_cache_flush_clear()
370 pipe_put_tile_rgba(pt, tc->transfer_map[layer], in sp_tile_cache_flush_clear()
389 int layer = tc->tile_addrs[pos].bits.layer; in sp_flush_tile() local
392 pipe_put_tile_raw(tc->transfer[layer], tc->transfer_map[layer], in sp_flush_tile()
[all …]
/third_party/skia/modules/skottie/src/
DLayer.cpp246 sk_sp<sksg::RenderNode> layer, in LayerController() argument
249 , fLayerNode(std::move(layer)) in LayerController()
462 sk_sp<sksg::RenderNode> layer; in buildRenderTree() local
466 layer = (abuilder.*(build_info.fBuilder))(fJlayer, &fInfo); in buildRenderTree()
472 layer = sksg::ClipEffect::Make(std::move(layer), in buildRenderTree()
478 layer = AttachMask(fJlayer["masksProperties"], &abuilder, std::move(layer)); in buildRenderTree()
486 layer = sksg::TransformEffect::Make(std::move(layer), fLayerTransform); in buildRenderTree()
491 layer = EffectBuilder(&abuilder, fInfo.fSize, cbuilder) in buildRenderTree()
492 .attachEffects(*jeffects, std::move(layer)); in buildRenderTree()
497 layer = sksg::TransformEffect::Make(std::move(layer), std::move(fLayerTransform)); in buildRenderTree()
[all …]
/third_party/ffmpeg/libavfilter/dnn/
Ddnn_backend_tf.c318 ConvolutionalParams* params, const int layer) in add_conv_layer() argument
334 snprintf(name_buffer, NAME_BUFFER_SIZE, "conv_kernel%d", layer); in add_conv_layer()
346 av_log(ctx, AV_LOG_ERROR, "Failed to set value for kernel of conv layer %d\n", layer); in add_conv_layer()
351 av_log(ctx, AV_LOG_ERROR, "Failed to add kernel to conv layer %d\n", layer); in add_conv_layer()
355 snprintf(name_buffer, NAME_BUFFER_SIZE, "transpose%d", layer); in add_conv_layer()
365 av_log(ctx, AV_LOG_ERROR, "Failed to add transpose to conv layer %d\n", layer); in add_conv_layer()
369 snprintf(name_buffer, NAME_BUFFER_SIZE, "conv2d%d", layer); in add_conv_layer()
380 av_log(ctx, AV_LOG_ERROR, "Failed to add conv2d to conv layer %d\n", layer); in add_conv_layer()
384 snprintf(name_buffer, NAME_BUFFER_SIZE, "conv_biases%d", layer); in add_conv_layer()
393 av_log(ctx, AV_LOG_ERROR, "Failed to set value for conv_biases of conv layer %d\n", layer); in add_conv_layer()
[all …]
Ddnn_backend_native.c125 int32_t layer; in ff_dnn_load_model_native() local
192 for (layer = 0; layer < native_model->layers_num; ++layer){ in ff_dnn_load_model_native()
200 native_model->layers[layer].type = layer_type; in ff_dnn_load_model_native()
201 …parsed_size = ff_layer_funcs[layer_type].pf_load(&native_model->layers[layer], model_file_context,… in ff_dnn_load_model_native()
267 int32_t layer; in execute_model_native() local
327 for (layer = 0; layer < native_model->layers_num; ++layer){ in execute_model_native()
328 DNNLayerType layer_type = native_model->layers[layer].type; in execute_model_native()
330 native_model->layers[layer].input_operand_indexes, in execute_model_native()
331 native_model->layers[layer].output_operand_index, in execute_model_native()
332 native_model->layers[layer].params, in execute_model_native()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/examples/directfb/
Dgstdfb.c123 IDirectFBDisplayLayer *layer; in main() local
160 DFBCHECK (dfb->GetDisplayLayer (dfb, DLID_PRIMARY, &layer)); in main()
162 layer->SetCooperativeLevel (layer, DLSCL_ADMINISTRATIVE); in main()
169 layer->SetConfiguration (layer, &layer_config); in main()
172 layer->GetConfiguration (layer, &layer_config); in main()
173 layer->EnableCursor (layer, 1); in main()
221 layer->SetBackgroundImage (layer, bgsurface); in main()
222 layer->SetBackgroundMode (layer, DLBM_IMAGE); in main()
251 DFBCHECK (layer->CreateWindow (layer, &desc, &window2)); in main()
286 DFBCHECK (layer->CreateWindow (layer, &desc, &window1)); in main()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DImageIndexIterator_unittest.cpp82 for (GLint layer = minLayer; layer < maxLayer; layer++) in TEST() local
90 EXPECT_EQ(layer, nextIndex.getLayerIndex()); in TEST()
110 for (GLint layer = 0; layer < layerCounts[mip]; layer++) in TEST() local
118 EXPECT_EQ(layer, nextIndex.getLayerIndex()); in TEST()
140 for (GLint layer = 0; layer < layerCounts[mip]; layer++) in TEST() local
148 EXPECT_EQ(layer, nextIndex.getLayerIndex()); in TEST()
DOverlay_font_autogen.cpp2679 inline uint32_t GetFontPixel(int layer, int x, int y) in GetFontPixel() argument
2681 switch (layer) in GetFontPixel()
2707 for (int layer = 0; layer < kFontCount; ++layer) in initFontData() local
2710 for (int y = 0; y < kFontHeights[layer]; ++y) in initFontData()
2712 for (int x = 0; x < kFontWidths[layer]; ++x) in initFontData()
2714 uint32_t src = GetFontPixel(layer, x, y); in initFontData()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifier.cpp94 int layer, in fetchTexelWrapped() argument
103 pixelPtr = m_levels[level].getPixelPtr(coord[0], layer, 0); in fetchTexelWrapped()
107 pixelPtr = m_levels[level].getPixelPtr(coord[0], coord[1], layer); in fetchTexelWrapped()
119 … tcu::Vec4 refPix = (m_imParams.dim == IMG_DIM_1D) ? levelAccess.getPixel(coord[0], layer, 0) in fetchTexelWrapped()
120 … == IMG_DIM_2D || m_imParams.dim == IMG_DIM_CUBE) ? levelAccess.getPixel(coord[0], coord[1], layer) in fetchTexelWrapped()
129 int layer, in fetchTexel() argument
153 const int arrayLayer = layer / 6; in fetchTexel()
154 int arrayFace = layer % 6; in fetchTexel()
170 layer = arrayLayer * 6 + newFace; in fetchTexel()
286 fetchTexelWrapped(coord, layer, level, resultMin, resultMax); in fetchTexel()
[all …]
/third_party/vulkan-loader/tests/
Dloader_unknown_ext_tests.cpp70 PFN_vkVoidFunction find_custom_func(TestLayer* layer, const char* name) { in find_custom_func() argument
71 if (layer->custom_dispatch_functions.count(name) > 0) { in find_custom_func()
72 return layer->custom_dispatch_functions.at(name); in find_custom_func()
79 …static VKAPI_ATTR uint32_t VKAPI_CALL func_zero(DispatchableHandleType handle, TestLayer* layer, c… in func_zero()
80 auto func = reinterpret_cast<decltype(&func_zero)>(find_custom_func(layer, name)); in func_zero()
82 return func(handle, layer, name, i + 3); in func_zero()
84 …static VKAPI_ATTR uint32_t VKAPI_CALL func_one(DispatchableHandleType handle, TestLayer* layer, co… in func_one()
86 auto func = reinterpret_cast<decltype(&func_one)>(find_custom_func(layer, name)); in func_one()
88 return func(handle, layer, name, i + 2, f + 1.f); in func_one()
90 …static VKAPI_ATTR float VKAPI_CALL func_two(DispatchableHandleType handle, TestLayer* layer, const… in func_two()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.hpp176 virtual tcu::PixelBufferAccess getLevel (int level, int layer) = 0;
177 virtual const tcu::ConstPixelBufferAccess getLevel (int level, int layer) const = 0;
179 virtual tcu::CompressedTexture& getCompressedLevel (int level, int layer);
180 virtual const tcu::CompressedTexture& getCompressedLevel (int level, int layer) const;
212 virtual tcu::PixelBufferAccess getLevel (int level, int layer);
213 virtual const tcu::ConstPixelBufferAccess getLevel (int level, int layer) const;
233 virtual tcu::PixelBufferAccess getLevel (int level, int layer);
234 virtual const tcu::ConstPixelBufferAccess getLevel (int level, int layer) const;
256 virtual tcu::PixelBufferAccess getLevel (int level, int layer);
257 virtual const tcu::ConstPixelBufferAccess getLevel (int level, int layer) const;
[all …]
/third_party/skia/modules/skottie/src/effects/
DEffects.cpp106 sk_sp<sksg::RenderNode> layer) const { in attachEffects()
107 if (!layer) { in attachEffects()
123 layer = (this->*builder)(*jprops, std::move(layer)); in attachEffects()
125 if (!layer) { in attachEffects()
131 return layer; in attachEffects()
135 sk_sp<sksg::RenderNode> layer) const { in attachStyles()
137 if (!layer) { in attachStyles()
167 layer = (this->*builder)(*jstyle, std::move(layer)); in attachStyles()
171 return layer; in attachStyles()
/third_party/skia/third_party/externals/swiftshader/src/Main/
DFrameBufferOSX.mm24 FrameBufferOSX::FrameBufferOSX(CALayer* layer, int width, int height)
26 layer(layer), buffer(nullptr), provider(nullptr), currentImage(nullptr)
38 //[layer setContents:nullptr];
61 [layer setContents:(id)image];
88 CALayer *layer = nullptr;
94 layer = [view layer];
98 layer = reinterpret_cast<CALayer*>(window);
102 return new sw::FrameBufferOSX(layer, width, height);
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/logwatch/
Dhostapd29 if (my ($iface,$mac,$layer,$details) = ($line =~ /(.*?): STA (.*?) (.*?): (.*?)$/i)) {
34 $hostapd{$iface}->{$mac}->{$layer}->{$details}++;
45 foreach my $layer (sort keys %{$hostapd{$iface}->{$mac}}) {
46 print " $layer:\n";
47 foreach my $details (sort keys %{$hostapd{$iface}->{$mac}->{$layer}}) {
49 my $count = $hostapd{$iface}->{$mac}->{$layer}->{$details};

12345678910>>...53