Home
last modified time | relevance | path

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

12345678910>>...70

/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/flutter/engine/flutter/lib/ui/compositing/
Dscene_builder.cc77 auto layer = std::make_shared<flutter::TransformLayer>(sk_matrix); in pushTransform() local
78 PushLayer(layer); in pushTransform()
80 return EngineLayer::MakeRetained(layer); in pushTransform()
85 auto layer = std::make_shared<flutter::TransformLayer>(sk_matrix); in pushOffset() local
86 PushLayer(layer); in pushOffset()
87 return EngineLayer::MakeRetained(layer); in pushOffset()
97 auto layer = in pushClipRect() local
99 PushLayer(layer); in pushClipRect()
100 return EngineLayer::MakeRetained(layer); in pushClipRect()
106 auto layer = in pushClipRRect() local
[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/flutter/engine/flutter/flow/ohos_layers/
Dlayer_tree_builder.cpp36 auto layer = std::make_shared<TransformLayer>(matrix); in PushTransform() local
37 PushLayer(layer); in PushTransform()
43 auto layer = std::make_shared<TransformLayer>(skMatrix); in PushOffset() local
44 PushLayer(layer); in PushOffset()
51 auto layer = std::make_shared<ClipRectLayer>(clipRect, clip_behavior); in PushClipRect() local
52 PushLayer(layer); in PushClipRect()
58 auto layer = std::make_shared<ClipRRectLayer>(skRRect, clip_behavior); in PushClipRRect() local
59 PushLayer(layer); in PushClipRRect()
65 auto layer = std::make_shared<ClipPathLayer>(skPath, clip_behavior); in PushClipPath() local
66 PushLayer(layer); in PushClipPath()
[all …]
Dcontainer_layer.cpp14 void ContainerLayer::Add(const std::shared_ptr<Layer>& layer) in Add() argument
16 layer->setParent(this); in Add()
17 layers_.push_back(layer); in Add()
29 for (auto& layer : layers_) { in PrepareChildren() local
30 layer->Prepare(childMatrix); in PrepareChildren()
31 childPaintBounds.join(layer->GetPaintBounds()); in PrepareChildren()
37 for (auto& layer : layers_) { in PaintChildren() local
38 layer->Paint(paintContext); in PaintChildren()
/third_party/flutter/engine/flutter/shell/platform/embedder/tests/
Dembedder_unittests.cc557 FlutterLayer layer = {}; in TEST_F() local
558 layer.struct_size = sizeof(layer); in TEST_F()
559 layer.type = kFlutterLayerContentTypeBackingStore; in TEST_F()
560 layer.backing_store = &backing_store; in TEST_F()
561 layer.size = FlutterSizeMake(800.0, 600.0); in TEST_F()
562 layer.offset = FlutterPointMake(0, 0); in TEST_F()
564 ASSERT_EQ(*layers[0], layer); in TEST_F()
572 FlutterLayer layer = {}; in TEST_F() local
573 layer.struct_size = sizeof(layer); in TEST_F()
574 layer.type = kFlutterLayerContentTypePlatformView; in TEST_F()
[all …]
/third_party/mindspore/mindspore/lite/tools/converter/parser/caffe/
Dcaffe_model_parser.cc62 for (const auto &layer : caffe_model.layers()) { in CheckCaffeModel() local
63 for (const auto &top : layer.top()) { in CheckCaffeModel()
70 for (const auto &bottom : layer.bottom()) { in CheckCaffeModel()
87 bool IsSkipedLayer(const caffe::LayerParameter &layer) { in IsSkipedLayer() argument
88 if (layer.type() == "Input" || layer.type() == "Dropout" || layer.type() == "Split") { in IsSkipedLayer()
91 return layer.include_size() == 1 && layer.include(0).phase() == caffe::TRAIN; in IsSkipedLayer()
94 STATUS FcSqueezeWeightBias(const caffe::LayerParameter &layer, int blob_index, std::vector<int32_t>… in FcSqueezeWeightBias() argument
96 if (layer.type() == "InnerProduct") { in FcSqueezeWeightBias()
180 auto weight_layer = caffe_weight_.layer(i); in ConvertLayers()
184 auto layer = caffe_model_.layer(i); in ConvertLayers() local
[all …]
Dcaffe_inspector.cc66 auto &layer = const_cast<caffe::LayerParameter &>(net.layer(i)); in SetLayerTopsAndBottoms() local
67 if (layer.top_size() == 1 && layer.bottom_size() == 1 && layer.top(0) == layer.bottom(0)) { in SetLayerTopsAndBottoms()
70 if (layer.top_size() == 1 && layer.bottom_size() == 0) { in SetLayerTopsAndBottoms()
71 graphInput.insert(layer.top(0)); in SetLayerTopsAndBottoms()
73 for (int j = 0; j < layer.top_size(); j++) { in SetLayerTopsAndBottoms()
74 if (!IsContain(layerTops, layer.top(j))) { in SetLayerTopsAndBottoms()
75 layerTops.push_back(layer.top(j)); in SetLayerTopsAndBottoms()
78 for (int j = 0; j < layer.bottom_size(); j++) { in SetLayerTopsAndBottoms()
79 layerBottoms.insert(layer.bottom(j)); in SetLayerTopsAndBottoms()
/third_party/wayland-ivi-extension/ivi-layermanagement-api/test/
Dilm_control_notification_test.cpp84 layer = 345; in SetUp()
85 ilm_layerRemove(layer); in SetUp()
87 ilm_layerCreateWithDimension(&layer, 800, 480); in SetUp()
121 t_ilm_uint layer; member in NotificationTest
158 …static void LayerCallbackFunction(t_ilm_layer layer, struct ilmLayerProperties* layerProperties, t… in LayerCallbackFunction() argument
188 EXPECT_TRUE(callbackLayerId == (unsigned)-1 || callbackLayerId == layer); in LayerCallbackFunction()
189 callbackLayerId = layer; in LayerCallbackFunction()
246 t_ilm_uint layer = 89; in TEST_F() local
248 ASSERT_EQ(ILM_SUCCESS,ilm_layerCreateWithDimension(&layer, 800, 480)); in TEST_F()
254 ASSERT_EQ(ILM_SUCCESS, ilm_layerAddNotification(layer,NULL)); in TEST_F()
[all …]
Dilm_control_test.cpp122 t_ilm_layer layer = 0xdeadbeef; in TEST_F() local
125 ASSERT_EQ(ILM_SUCCESS, ilm_layerSetOpacity(layer, 0.88)); in TEST_F()
127 ASSERT_NE(ILM_SUCCESS, ilm_layerGetOpacity(layer, &opacity)); in TEST_F()
162 uint layer = 36; in TEST_F() local
165 ASSERT_EQ(ILM_SUCCESS, ilm_layerCreateWithDimension(&layer, 800, 480)); in TEST_F()
167 ASSERT_EQ(ILM_SUCCESS, ilm_layerSetVisibility(layer, ILM_TRUE)); in TEST_F()
169 ASSERT_EQ(ILM_SUCCESS, ilm_layerGetVisibility(layer, &visibility)); in TEST_F()
172 ASSERT_EQ(ILM_SUCCESS, ilm_layerSetVisibility(layer, ILM_FALSE)); in TEST_F()
174 ASSERT_EQ(ILM_SUCCESS, ilm_layerGetVisibility(layer, &visibility)); in TEST_F()
177 ASSERT_EQ(ILM_SUCCESS, ilm_layerSetVisibility(layer, ILM_TRUE)); in TEST_F()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/directfb/
DSDL_DirectFB_modes.c99 SDL_DFB_CHECKERR(data->layer->SetCooperativeLevel(data->layer, in CheckSetDisplayMode()
110 data->layer->TestConfiguration(data->layer, &config, &failed); in CheckSetDisplayMode()
111 SDL_DFB_CHECKERR(data->layer->SetCooperativeLevel(data->layer, in CheckSetDisplayMode()
151 IDirectFBDisplayLayer *layer = NULL; in DirectFB_InitModes() local
198 [i], &layer)); in DirectFB_InitModes()
200 SDL_DFB_CHECKERR(layer->SetCooperativeLevel(layer, in DirectFB_InitModes()
202 layer->EnableCursor(layer, 1); in DirectFB_InitModes()
203 SDL_DFB_CHECKERR(layer->SetCursorOpacity(layer, 0xC0)); in DirectFB_InitModes()
210 ret = layer->SetConfiguration(layer, &dlc); in DirectFB_InitModes()
214 SDL_DFB_CHECKERR(layer->SetConfiguration(layer, &dlc)); in DirectFB_InitModes()
[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/mindspore/mindspore/ccsrc/backend/optimizer/trt_pass/
Dtrt_op_converter.cc44 auto *layer = context->network()->addShuffle(*input->tensor()); in ToShape() local
45 MS_EXCEPTION_IF_NULL(layer); in ToShape()
46 layer->setReshapeDimensions(dst_dim); in ToShape()
48 return layer->getOutput(0); in ToShape()
73 auto *layer = context->network()->addShuffle(*inputs[0].tensor()); in AddReshapeLayer() local
74 MS_EXCEPTION_IF_NULL(layer); in AddReshapeLayer()
77 layer->setReshapeDimensions(dims); in AddReshapeLayer()
79 return {true, {layer->getOutput(0)}}; in AddReshapeLayer()
113 auto *layer = context->network()->addShuffle(*tensor); in AddElementLayer() local
114 MS_EXCEPTION_IF_NULL(layer); in AddElementLayer()
[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/flutter/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 this->visitLayers([=](Layer* layer) { layer->onUIStateChanged(stateName, stateValue); }); in onUIStateChanged() argument
72 this->visitLayers([](Layer* layer) { layer->onPrePaint(); }); in onPaint() argument
76 this->visitLayers([=](Layer* layer) { layer->onPaint(backbuffer.get()); }); in onPaint() argument
92 this->visitLayers([=](Layer* layer) { layer->onResize(w, h); }); in onResize() argument
/third_party/flutter/engine/flutter/flow/layers/
Dcontainer_layer.cc13 void ContainerLayer::Add(std::shared_ptr<Layer> layer) { in Add() argument
14 layer->set_parent(this); in Add()
15 layers_.push_back(std::move(layer)); in Add()
30 for (auto& layer : layers_) { in PrerollChildren() local
31 layer->Preroll(context, child_matrix); in PrerollChildren()
33 if (layer->needs_system_composite()) { in PrerollChildren()
36 child_paint_bounds->join(layer->paint_bounds()); in PrerollChildren()
45 for (auto& layer : layers_) { in PaintChildren() local
46 if (layer->needs_painting()) { in PaintChildren()
47 layer->Paint(context); in PaintChildren()
[all …]
/third_party/flutter/flutter/packages/flutter/test/rendering/
Dlayers_test.dart116 for (ContainerLayer layer in allLayers) {
117 expect(layer.debugSubtreeNeedsAddToScene, true);
120 for (ContainerLayer layer in allLayers) {
121 layer.debugMarkClean();
124 for (ContainerLayer layer in allLayers) {
125 expect(layer.debugSubtreeNeedsAddToScene, false);
151 for (ContainerLayer layer in allLayers) {
152 expect(layer.debugSubtreeNeedsAddToScene, false);
218 void checkNeedsAddToScene(Layer layer, void mutateCallback()) {
219 layer.debugMarkClean();
[all …]
Dannotated_region_test.dart19 for (OffsetLayer layer in layers) {
20 layer.append(AnnotatedRegionLayer<int>(i, size: const Size(200.0, 100.0)));
21 containerLayer.append(layer);
38 for (ClipRectLayer layer in layers) {
39 layer.append(AnnotatedRegionLayer<int>(i));
40 containerLayer.append(layer);
58 for (ClipRRectLayer layer in layers) {
59 layer.append(AnnotatedRegionLayer<int>(i));
60 containerLayer.append(layer);
83 for (OffsetLayer layer in layers) {
[all …]
/third_party/flutter/engine/flutter/shell/platform/embedder/
Dembedder_external_view_embedder.cc115 FlutterLayer layer = {}; in MakeLayer() local
117 layer.struct_size = sizeof(layer); in MakeLayer()
118 layer.type = kFlutterLayerContentTypeBackingStore; in MakeLayer()
119 layer.backing_store = store; in MakeLayer()
121 layer.offset.x = 0.0; in MakeLayer()
122 layer.offset.y = 0.0; in MakeLayer()
124 layer.size.width = frame_size.width(); in MakeLayer()
125 layer.size.height = frame_size.height(); in MakeLayer()
127 return layer; in MakeLayer()
143 FlutterLayer layer = {}; in MakeLayer() local
[all …]
/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/pre_activate/
Dlayer_norm_beta_gamma_backprop_fusion_test.py41 layer = LayerNormBetaGammaBackprop(input0, input1, input2, input3)
42 output0 = Cast(tuple_getitem(layer, 0))
43 output1 = Cast(tuple_getitem(layer, 1))
49 layer = LayerNormBetaGammaBackprop(input0, input1, input2)
50 output0 = Cast(tuple_getitem(layer, 0))
51 output1 = Cast(tuple_getitem(layer, 1))
57 layer = LayerNormBetaGammaBackprop(input0, input1, input2, input3)
58 output0 = Cast(layer)
63 layer = LayerNormBetaGammaBackprop(input0, input1, input2, input3)
64 output0 = tuple_getitem(layer, 0)
[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
/third_party/flutter/engine/flutter/testing/dart/
Dcompositing_test.dart78 // Attempts to use the same layer first as `oldLayer` then in `addRetained`.
81 final EngineLayer layer = pushFunction(builder1, null);
86 pushFunction(builder2, layer);
90 builder2.addRetained(layer);
93 expect(error.toString(), contains('The layer is already being used'));
100 // Attempts to use the same layer first in `addRetained` then as `oldLayer`.
103 final EngineLayer layer = pushFunction(builder1, null);
108 builder2.addRetained(layer);
111 pushFunction(builder2, layer);
114 expect(error.toString(), contains('The layer is already being used'));
[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 …]

12345678910>>...70