/third_party/vk-gl-cts/framework/common/ |
H A D | tcuRasterizationVerifier.cpp | 44 bool verifyLineGroupInterpolationWithProjectedWeights (const tcu::Surface& surface, const LineSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log); 565 const TriangleSceneSpec& scene; 568 : scene(scene_) 587 calcTriangleInterpolationWeights(scene.triangles[primitiveNdx].positions[0], scene.triangles[primitiveNdx].positions[1], scene.triangles[primitiveNdx].positions[2], corners[0]), 588 calcTriangleInterpolationWeights(scene.triangles[primitiveNdx].positions[0], scene.triangles[primitiveNdx].positions[1], scene.triangles[primitiveNdx].positions[2], corners[1]), 589 calcTriangleInterpolationWeights(scene [all...] |
H A D | tcuRasterizationVerifier.hpp | 68 bool sharedEdge[3]; // !< is the edge i -> i+1 shared with another scene triangle 177 bool verifyTriangleGroupRasterization (const tcu::Surface& surface, const TriangleSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log, VerificationMode mode = VERIFICATIONMODE_STRICT, VerifyTriangleGroupRasterizationLogStash* logStash = DE_NULL, const bool vulkanLinesTest = false); 188 bool verifyLineGroupRasterization (const tcu::Surface& surface, const LineSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log); 201 bool verifyClippedTriangulatedLineGroupRasterization (const tcu::Surface& surface, const LineSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log); 211 bool verifyRelaxedLineGroupRasterization (const tcu::Surface& surface, const LineSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log, const bool vulkanLinesTest = false, const bool strict = true); 222 bool verifyPointGroupRasterization (const tcu::Surface& surface, const PointSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log); 233 bool verifyTriangleGroupInterpolation (const tcu::Surface& surface, const TriangleSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log); 244 LineInterpolationMethod verifyLineGroupInterpolation (const tcu::Surface& surface, const LineSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log); 256 bool verifyTriangulatedLineGroupInterpolation (const tcu::Surface& surface, const LineSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log, const bool strictMode = true, const bool allowBresenhamForNonStrictLines = false);
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | submeshhandler.cpp | 42 if (auto scene = node->EcsScene()) { 43 scene->AddEngineTask(MakeTask( 84 SCENE_NS::IScene::Ptr scene, SceneHolder::Ptr sceneHolder, CORE_NS::Entity entity) in GetMaterialFromEntity() 87 auto materials = scene->GetMaterials(); in GetMaterialFromEntity() 98 return scene->GetMaterial(uri); in GetMaterialFromEntity() 103 return scene->GetMaterial(name); in GetMaterialFromEntity() 151 auto scene = interface_pointer_cast<SCENE_NS::IScene>(node->EcsScene()); variable 153 if (scene && sceneHolder) { 154 auto material = GetMaterialFromEntity(scene, sceneHolder, submesh.material); 177 if (auto scene 83 GetMaterialFromEntity( SCENE_NS::IScene::Ptr scene, SceneHolder::Ptr sceneHolder, CORE_NS::Entity entity) GetMaterialFromEntity() argument [all...] |
H A D | node_impl.cpp | 191 // If we are unbound, we need to try to bind this node to scene graph. in AttachToHierarchy() 207 // We are being detachad from the scene graph. in DetachFromHierarchy() 453 if (auto scene = EcsScene()) { in SetIndex() 454 scene->AddEngineTask(MakeTask( in SetIndex() 495 if (auto scene = GetScene()) { in RecursivelyEnableCache() 496 scene->SetCacheEnabled(GetSelf<SCENE_NS::INode>(), isActive); in RecursivelyEnableCache() 511 if (auto scene=GetScene()) { in UpdateChildrenPath() 512 scene->UpdateCachedNodePath(GetSelf<SCENE_NS::INode>()); in UpdateChildrenPath() 582 bool NodeImpl::Initialize(SCENE_NS::IEcsScene::Ptr& scene, SCENE_NS::IEcsObject::Ptr& ecsObject, in Initialize() argument 586 if (!ecsObject || !scene) { in Initialize() 923 EnsureEcsBinding(SCENE_NS::IEcsScene::Ptr scene, bool force) EnsureEcsBinding() argument 1376 auto scene = node->EcsScene(); InitializeMesh() local [all...] |
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/ |
H A D | object_radar_reporter.cpp | 20 void RadarReporter::ReportStateFinished(std::string func, int32_t scene, int32_t stage, int32_t stageRes, int32_t state)
in ReportStateFinished() argument 33 .v = { .i32 = scene },
in ReportStateFinished() 57 void RadarReporter::ReportStage(std::string func, int32_t scene, int32_t stage, int32_t stageRes)
in ReportStage() argument 70 .v = { .i32 = scene },
in ReportStage() 90 void RadarReporter::ReportStateStart(std::string func, int32_t scene, int32_t stage, int32_t stageRes,
in ReportStateStart() argument 104 .v = { .i32 = scene },
in ReportStateStart() 132 void RadarReporter::ReportStateError(std::string func, int32_t scene, int32_t stage, int32_t stageRes,
in ReportStateError() argument 146 .v = { .i32 = scene },
in ReportStateError() 174 void RadarReporter::ReportStageError(std::string func, int32_t scene, int32_t stage,
in ReportStageError() argument 188 .v = { .i32 = scene },
in ReportStageError() [all...] |
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/effect/ |
H A D | audio_effect_manager.cpp | 92 and this mode is deleted!", mode.c_str(), stream.scene.c_str()); in UpdateUnsupportedModePre() 124 and this mode is deleted!", mode.c_str(), stream.scene.c_str()); in UpdateUnsupportedModePost() 136 for (auto &[scene, stream] : AUDIO_ENHANCE_SUPPORTED_SCENE_TYPES) { in UpdateAvailableStreamPre() 143 return ((x.scene == pp.stream) && (x.priority == priority)); in UpdateAvailableStreamPre() 148 stream.scene = pp.stream; in UpdateAvailableStreamPre() 164 for (auto &[scene, stream] : AUDIO_SUPPORTED_SCENE_TYPES) { in UpdateAvailableStreamPost() 171 return ((x.scene == ess.stream) && (x.priority == priority)); in UpdateAvailableStreamPost() 176 stream.scene = ess.stream; in UpdateAvailableStreamPost() 270 postSceneTypeSet_.push_back(ss.scene); in UpdateAvailableAEConfig() 328 is deleted, and the first configuration is retained!", stream.scene in UpdateDuplicateMode() [all...] |
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_setup_rect.c | 63 * The memory is allocated from the per-scene pool, not per-tile. 69 lp_setup_alloc_rectangle(struct lp_scene *scene, unsigned nr_inputs) in lp_setup_alloc_rectangle() argument 74 rect = lp_scene_alloc_aligned(scene, bytes, 16); in lp_setup_alloc_rectangle() 95 struct lp_scene *scene = setup->scene; in lp_setup_whole_tile() local 108 * - If there were any Begin/End query commands in the scene then those in lp_setup_whole_tile() 114 if (!scene->fb.zsbuf && scene->fb_max_layer == 0 && in lp_setup_whole_tile() 115 !scene->had_queries) { in lp_setup_whole_tile() 119 lp_scene_bin_reset(scene, t in lp_setup_whole_tile() 252 struct lp_scene *scene = setup->scene; try_rect_cw() local 364 struct lp_scene *scene = setup->scene; lp_setup_bin_rectangle() local [all...] |
H A D | lp_rast_debug.c | 465 lp_scene_bin_size( const struct lp_scene *scene, unsigned x, unsigned y ) in lp_scene_bin_size() argument 467 struct cmd_bin *bin = lp_scene_get_bin((struct lp_scene *) scene, x, y); in lp_scene_bin_size() 480 lp_debug_draw_bins_by_coverage( struct lp_scene *scene ) in lp_debug_draw_bins_by_coverage() 488 for (x = 0; x < scene->tiles_x; x++) in lp_debug_draw_bins_by_coverage() 492 for (y = 0; y < scene->tiles_y; y++) { in lp_debug_draw_bins_by_coverage() 493 for (x = 0; x < scene->tiles_x; x++) { in lp_debug_draw_bins_by_coverage() 494 struct cmd_bin *bin = lp_scene_get_bin(scene, x, y); in lp_debug_draw_bins_by_coverage() 522 for (x = 0; x < scene->tiles_x; x++) in lp_debug_draw_bins_by_coverage() 544 lp_debug_draw_bins_by_cmd_length( struct lp_scene *scene ) in lp_debug_draw_bins_by_cmd_length() 548 for (y = 0; y < scene in lp_debug_draw_bins_by_cmd_length() [all...] |
H A D | lp_scene_queue.c | 32 * which are produced by the "rast" code when it finishes rendering a scene. 66 /** Allocate a new scene queue */ 86 /** Delete a scene queue */ 113 struct lp_scene *scene = queue->scenes[queue->head++ % SCENE_QUEUE_SIZE]; in lp_scene_dequeue() local 118 return scene; in lp_scene_dequeue() 124 lp_scene_enqueue(struct lp_scene_queue *queue, struct lp_scene *scene) in lp_scene_enqueue() argument 132 queue->scenes[queue->tail++ % SCENE_QUEUE_SIZE] = scene; in lp_scene_enqueue()
|
/foundation/CastEngine/castengine_wifi_display/services/impl/scene/wfd/ |
H A D | wfd_source_scene.cpp | 39 auto scene = scene_.lock(); in OnP2pStateChanged() local 40 if (scene) { in OnP2pStateChanged() 49 if (scene->isSourceRunning_) { in OnP2pStateChanged() 50 scene->WfdP2pStart(); in OnP2pStateChanged() 56 if (scene->isSourceRunning_) { in OnP2pStateChanged() 57 scene->isSourceRunning_ = false; in OnP2pStateChanged() 58 scene->WfdP2pStop(); in OnP2pStateChanged() 59 scene->OnInnerError(0, 0, SharingErrorCode::ERR_NETWORK_ERROR, "NETWORK ERROR, P2P MODULE STOPPED"); in OnP2pStateChanged() 77 auto scene = scene_.lock(); in OnP2pThisDeviceChanged() local 78 if (scene in OnP2pThisDeviceChanged() 108 auto scene = scene_.lock(); OnP2pPeersChanged() local 163 auto scene = scene_.lock(); OnP2pConnectionChanged() local [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/ |
H A D | rs_frame_rate_policy_test.cpp | 52 std::string scene = "0";
in HWTEST_F() local 54 EXPECT_EQ(instance->GetPreferredFps(scene, speed), 0);
in HWTEST_F() 143 std::string scene = "test scene";
in HWTEST_F() local 145 int32_t res = instance->GetPreferredFps(scene, speed);
in HWTEST_F() 148 instance->animAttributes_.insert({ "test scene", { { "test scene", AnimDynamicAttribute() } } });
in HWTEST_F() 149 res = instance->GetPreferredFps(scene, speed);
in HWTEST_F() 153 res = instance->GetPreferredFps(scene, speed);
in HWTEST_F() 158 res = instance->GetPreferredFps(scene, spee in HWTEST_F() [all...] |
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/common/ |
H A D | object_radar_reporter.h | 73 static void ReportStateStart(std::string func, int32_t scene, int32_t stage, int32_t stageRes, 75 static void ReportStateFinished(std::string func, int32_t scene, int32_t stage, 77 static void ReportStateError(std::string func, int32_t scene, int32_t stage, int32_t stageRes, 79 static void ReportStage(std::string func, int32_t scene, int32_t stage, int32_t stageRes); 80 static void ReportStageError(std::string func, int32_t scene, int32_t stage,
|
/foundation/arkui/ace_engine/frameworks/core/event/multimodal/ |
H A D | multimodal_manager.cpp | 79 LOGW("fail to remove scene due to it is active"); in RemoveInactiveScene() 112 auto scene = manager->GetCurrentMultiModalScene(); in OpenChannel() 113 if (!scene) { in OpenChannel() 114 LOGE("fail to get current multi modal scene"); in OpenChannel() 117 auto weakScene = AceType::WeakClaim(AceType::RawPtr(scene)); in OpenChannel() 120 auto scene = weakScene.Upgrade(); in OpenChannel() 121 if (scene == nullptr) { in OpenChannel() 122 LOGE("scene is null!"); in OpenChannel() 125 scene->OnNotifyMultimodalEvent(event); in OpenChannel()
|
/foundation/communication/wifi/wifi/test/wifi_standard/native/ |
H A D | wifi_c_hid2d_test.cpp | 136 Hid2dUpperScene scene; in HWTEST_F() local 137 scene.scene = 1; in HWTEST_F() 138 scene.fps = 1; in HWTEST_F() 139 scene.bw = 1; in HWTEST_F() 140 Hid2dSetUpperScene(ifName, &scene); in HWTEST_F()
|
/foundation/distributeddatamgr/udmf/framework/common/ |
H A D | udmf_radar_reporter.cpp | 22 void RadarReporterAdapter::ReportNormal(const std::string &func, int32_t scene, in ReportNormal() argument 36 .v = { .i32 = scene }, in ReportNormal() 61 const std::string &func, int32_t scene, int32_t stage, int32_t stageRes, int32_t errorCode, int32_t state) in ReportFail() 74 .v = { .i32 = scene }, in ReportFail() 103 const std::string &func, int32_t scene, int32_t stage, int32_t stageRes, int32_t errorCode) in ReportFail() 116 .v = { .i32 = scene }, in ReportFail() 60 ReportFail( const std::string &func, int32_t scene, int32_t stage, int32_t stageRes, int32_t errorCode, int32_t state) ReportFail() argument 102 ReportFail( const std::string &func, int32_t scene, int32_t stage, int32_t stageRes, int32_t errorCode) ReportFail() argument
|
/foundation/multimedia/audio_framework/frameworks/cj/src/ |
H A D | multimedia_audio_manager_impl.cpp | 36 auto scene = audioMgr_->GetAudioScene(); in GetAudioScene() local 37 if (scene == AUDIO_SCENE_VOICE_RINGING) { in GetAudioScene() 38 scene = AUDIO_SCENE_RINGING; in GetAudioScene() 40 return scene; in GetAudioScene()
|
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/raw_stream_data_test/ |
H A D | raw_stream_data_test.cpp | 176 int32_t scene = UNKNOWN_SCENE; in HWTEST_F() local 190 tmpIStream = iStream->MakeRawStream(data.get(), bufLen, *info, scene); in HWTEST_F() 193 scene = COMPATIBLE_SCENE; in HWTEST_F() 195 tmpIStream = iStream->MakeRawStream(data.get(), bufLen, *info, scene); in HWTEST_F() 198 scene = COMPATIBLE_SCENE; in HWTEST_F() 199 tmpIStream = iStream->MakeRawStream(data.get(), bufLen, *info, scene); in HWTEST_F() 202 scene = COMPATIBLE_SCENE - 1; in HWTEST_F() 203 tmpIStream = iStream->MakeRawStream(data.get(), bufLen, *info, scene); in HWTEST_F()
|
/foundation/communication/dsoftbus/core/common/dfx/interface/include/ |
H A D | stats_event.h | 25 #define DSOFTBUS_STATS(scene, extra) StatsEventInner(scene, __FUNCTION__, __LINE__, &(extra))
28 void StatsEventInner(int32_t scene, const char *func, int32_t line, StatsEventExtra *extra);
|
/foundation/communication/dsoftbus/core/common/dfx/hidumper_adapter/ |
H A D | softbus_hidumper_util.c | 140 int32_t scene; member 271 int32_t scene = GetInt32ValueByRecord(&srcRecord[i], BIZ_SCENE_NAME); in OnQueryDisc() local 275 if (scene != EVENT_SCENE_DISC || stage != EVENT_STAGE_DEVICE_FOUND in OnQueryDisc() 359 int32_t scene = GetInt32ValueByRecord(&srcRecord[i], BIZ_SCENE_NAME); in OnQueryConn() local 363 if (scene != EVENT_SCENE_CONNECT || stage != EVENT_STAGE_CONNECT_END || in OnQueryConn() 408 static void LnnStats(int32_t scene, int32_t stage, int32_t stageRes, int32_t authLinkType, int32_t authDelayTime) in LnnStats() argument 410 if (scene == EVENT_SCENE_JOIN_LNN && stage == EVENT_STAGE_AUTH && stageRes == EVENT_STAGE_RESULT_OK) { in LnnStats() 416 if (scene == EVENT_SCENE_JOIN_LNN && stage == EVENT_STAGE_AUTH && stageRes == EVENT_STAGE_RESULT_FAILED) { in LnnStats() 422 if (scene == EVENT_SCENE_JOIN_LNN && stage == EVENT_STAGE_JOIN_LNN_END && stageRes == EVENT_STAGE_RESULT_OK) { in LnnStats() 427 if (scene in LnnStats() 442 int32_t scene = GetInt32ValueByRecord(&srcRecord[i], BIZ_SCENE_NAME); OnQueryLnn() local 523 int32_t scene = transStatsPara->scene; TransStats() local 574 int32_t scene = GetInt32ValueByRecord(&srcRecord[i], BIZ_SCENE_NAME); OnQueryTrans() local 633 int32_t scene = GetInt32ValueByRecord(&srcRecord[i], BIZ_SCENE_NAME); OnQueryAlarm() local [all...] |
/foundation/communication/dsoftbus/core/common/dfx/event/src/ |
H A D | stats_event.c | 20 void StatsEventInner(int32_t scene, const char *func, int32_t line, StatsEventExtra *extra)
in StatsEventInner() argument 24 .scene = scene,
in StatsEventInner()
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/api/ |
H A D | scene.h | 97 * @brief Instantiates new Scene instance using a strong ref to IScene::Ptr to object implementing the scene. 98 * @param scene strong ref to scene. This may keep the instance alive even the engine has been already purged. 100 explicit Scene(const IScene::Ptr& scene) in Scene() argument 102 Initialize(interface_pointer_cast<META_NS::IObject>(scene)); in Scene() 106 * @brief Creates and initializes an empty scene. 111 if (auto scene = GetSceneInterface()) { in CreateEmpty() 112 scene->CreateEmpty(); in CreateEmpty() 118 * @brief Loads a scene from file 119 * @param uri Defines the scene fil [all...] |
/foundation/communication/wifi/wifi/test/fuzztest/frameworks/native/c_adapter/wifichid2d_fuzzer/ |
H A D | wifichid2d_fuzzer.cpp | 209 Hid2dUpperScene scene; in Hid2dSetUpperSceneTest() local 218 if (memcpy_s(scene.mac, MAC_LEN, data, MAC_LEN) != EOK) { in Hid2dSetUpperSceneTest() 222 scene.scene = static_cast<unsigned int>(data[index++]); in Hid2dSetUpperSceneTest() 223 scene.fps = static_cast<int>(data[index++]); in Hid2dSetUpperSceneTest() 224 scene.bw = static_cast<unsigned int>(data[index++]); in Hid2dSetUpperSceneTest() 226 (void)Hid2dSetUpperScene(ifName, &scene); in Hid2dSetUpperSceneTest()
|
/foundation/graphic/graphic_3d/kits/js/src/ |
H A D | CameraJS.cpp | 76 auto scene = camnode->GetScene(); in DisposeNative() 77 if (scene == nullptr) { in DisposeNative() 80 scene->DeactivateCamera(cam); in DisposeNative() 81 scene->ReleaseNode(camnode); in DisposeNative() 121 NapiApi::Object scene = fromJs.Arg<0>(); in CameraJS() local 122 scene_ = scene; in CameraJS() 124 auto scn = GetNativeMeta<SCENE_NS::IScene>(scene); in CameraJS() 126 CORE_LOG_F("Invalid scene for CameraJS!"); in CameraJS() 131 auto* tro = scene.Native<TrueRootObject>(); in CameraJS() 197 if (auto scene in Finalize() [all...] |
/foundation/communication/wifi/wifi/frameworks/native/c_adapter/src/ |
H A D | wifi_c_hid2d.cpp | 190 NO_SANITIZE("cfi") WifiErrorCode Hid2dSetUpperScene(const char ifName[IF_NAME_LEN], const Hid2dUpperScene *scene) in Hid2dSetUpperScene() argument 193 CHECK_PTR_RETURN(scene, ERROR_WIFI_INVALID_ARGS); in Hid2dSetUpperScene() 195 upperScene.mac = OHOS::Wifi::MacArrayToStr(scene->mac); in Hid2dSetUpperScene() 196 upperScene.scene = scene->scene; in Hid2dSetUpperScene() 197 upperScene.fps = scene->fps; in Hid2dSetUpperScene() 198 upperScene.bw = scene->bw; in Hid2dSetUpperScene()
|
/foundation/multimedia/av_session/services/session/server/test/fuzztest/migrateavsession_fuzzer/ |
H A D | migrateavsession_fuzzer.cpp | 38 std::string scene(reinterpret_cast<const char*>(data), size); in MigrateAVSessionFuzzerTest() 48 MigrateAVSessionManager::GetInstance().CreateLocalSessionStub(scene, migrateServer_); in MigrateAVSessionFuzzerTest() 53 MigrateAVSessionManager::GetInstance().ReleaseLocalSessionStub(scene); in MigrateAVSessionFuzzerTest()
|