Home
last modified time | relevance | path

Searched refs:ComponentType (Results 1 - 21 of 21) sorted by relevance

/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_util.cpp201 case ComponentType::UNSIGNED_BYTE: { in LoadSparseAccessor()
207 case ComponentType::UNSIGNED_SHORT: { in LoadSparseAccessor()
213 case ComponentType::UNSIGNED_INT: { in LoadSparseAccessor()
219 case ComponentType::BYTE: in LoadSparseAccessor()
220 case ComponentType::SHORT: in LoadSparseAccessor()
221 case ComponentType::INT: in LoadSparseAccessor()
222 case ComponentType::FLOAT: in LoadSparseAccessor()
642 uint32_t GetComponentByteSize(ComponentType component) in GetComponentByteSize()
645 case ComponentType::BYTE: in GetComponentByteSize()
646 case ComponentType in GetComponentByteSize()
[all...]
H A Dgltf2_util.h56 uint32_t GetComponentByteSize(ComponentType component);
58 ComponentType GetAlternativeType(ComponentType component, size_t newByteCount);
62 AttributeType attribute, DataType accessorType, ComponentType accessorComponentType);
64 AttributeType attribute, DataType accessorType, ComponentType accessorComponentType);
67 AttributeType attribute, DataType accessorType, ComponentType accessorComponentType);
69 AttributeType attribute, DataType accessorType, ComponentType accessorComponentType);
91 ComponentType componentType;
H A Dgltf2_importer.cpp100 Format Convert(GLTF2::ComponentType componentType, size_t componentCount, bool normalized) in Convert()
103 case GLTF2::ComponentType::INVALID: in Convert()
106 case GLTF2::ComponentType::BYTE: in Convert()
132 case GLTF2::ComponentType::UNSIGNED_BYTE: in Convert()
158 case GLTF2::ComponentType::SHORT: in Convert()
184 case GLTF2::ComponentType::UNSIGNED_SHORT: in Convert()
210 case GLTF2::ComponentType::INT: in Convert()
223 case GLTF2::ComponentType::UNSIGNED_INT: in Convert()
236 case GLTF2::ComponentType::FLOAT: in Convert()
274 case GLTF2::ComponentType in ConvertNormalizedDataToFloat()
[all...]
H A Dgltf2_data_structures.h103 enum class ComponentType : int { class in GLTF2::AttributeType::RenderMode
231 ComponentType componentType = ComponentType::UNSIGNED_INT;
273 ComponentType componentType = ComponentType::UNSIGNED_INT;
H A Dgltf2_loader.cpp499 std::optional<ComponentType> AccessorComponentType(LoadResult& loadResult, const json::value& jsonData)
506 return static_cast<ComponentType>(componentType);
618 indices.componentType = static_cast<ComponentType>(componentType);
682 bool ValidateAccessor(LoadResult& loadResult, ComponentType componentType, uint32_t count, DataType dataType,
728 if (!ValidateAccessor(loadResult, componentType.value_or(ComponentType::INVALID), count.value_or(0U),
737 accessor->componentType = static_cast<ComponentType>(*componentType);
H A Dgltf2_exporter.cpp74 uint64_t BASE_NS::hash(const CORE3D_NS::GLTF2::ComponentType& val) in hash()
580 accessor.componentType = ComponentType::FLOAT; in StoreInverseBindMatrices()
732 accessor.componentType = ComponentType::FLOAT; in AnimationInput()
791 accessor.componentType = ComponentType::FLOAT; in AnimationOutput()
1273 *originalImage->bufferView, GetComponentByteSize(ComponentType::UNSIGNED_INT)); in ExportImageData()
/foundation/graphic/graphic_3d/lume/LumeEngine/ecshelper/ComponentTools/
H A Dbase_manager.h41 template<typename ComponentType, typename BaseClass>
83 ComponentType Get(ComponentId index) const override;
84 ComponentType Get(Entity entity) const override;
85 void Set(ComponentId index, const ComponentType& aData) override;
86 void Set(Entity entity, const ComponentType& aData) override;
87 ScopedHandle<const ComponentType> Read(ComponentId index) const override;
88 ScopedHandle<const ComponentType> Read(Entity entity) const override;
89 ScopedHandle<ComponentType> Write(ComponentId index) override;
90 ScopedHandle<ComponentType> Write(Entity entity) override;
112 BaseComponentHandle(BaseManager* owner, Entity entity, const ComponentType
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Ddisposed_rule.h28 enum class ComponentType { class
47 ComponentType componentType = ComponentType::UI_ABILITY;
/foundation/ability/ability_runtime/service_router_framework/interfaces/inner_api/include/
H A Dservice_info.h31 enum class ComponentType { class in OHOS::AbilityRuntime::BusinessType
82 ComponentType componentType;
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dnative_image.cpp133 NativeComponent* y = CreateComponent(int32_t(ComponentType::YUV_Y), yuv.ySize, width, NUM_1, nullptr); in SplitYUV422SPComponent()
134 NativeComponent* u = CreateComponent(int32_t(ComponentType::YUV_U), yuv.uvSize, uvStride, NUM_2, nullptr); in SplitYUV422SPComponent()
135 NativeComponent* v = CreateComponent(int32_t(ComponentType::YUV_V), yuv.uvSize, uvStride, NUM_2, nullptr); in SplitYUV422SPComponent()
159 if (CreateCombineComponent(int32_t(ComponentType::JPEG)) != nullptr) { in SplitSurfaceToComponent()
179 auto y = GetComponent(int32_t(ComponentType::YUV_Y)); in CombineYUVComponents()
180 auto u = GetComponent(int32_t(ComponentType::YUV_U)); in CombineYUVComponents()
181 auto v = GetComponent(int32_t(ComponentType::YUV_V)); in CombineYUVComponents()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/include/
H A Dimage_format.h33 enum class ComponentType { class in OHOS::Media::ImageFormat
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Ddisposed_observer.cpp64 if (disposedRule_.componentType == AppExecFwk::ComponentType::UI_ABILITY) { in OnPageShow()
73 if (disposedRule_.componentType == AppExecFwk::ComponentType::UI_EXTENSION) { in OnPageShow()
/foundation/ability/ability_runtime/service_router_framework/services/srms/include/
H A Dbundle_info_resolve_util.h115 purposeInfo.componentType = ComponentType::UI_ABILITY; in ConvertAbilityToPurposes()
146 purposeInfo.componentType = ComponentType::UI_EXTENSION; in ConvertExtAbilityToPurposes()
157 purposeInfo.componentType = ComponentType::FORM; in ConvertExtAbilityToPurposes()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Ddisposed_rule.cpp40 componentType = static_cast<ComponentType>(parcel.ReadInt32()); in ReadFromParcel()
165 GetValueIfFindKey<ComponentType>(jsonObject, in from_json()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/app_control/
H A Djs_app_control.cpp555 if (componentType > static_cast<int32_t>(ComponentType::UI_EXTENSION) || in ParseDiposedRule()
556 componentType < static_cast<int32_t>(ComponentType::UI_ABILITY)) { in ParseDiposedRule()
560 rule.componentType = static_cast<ComponentType>(componentType); in ParseDiposedRule()
756 NAPI_CALL_RETURN_VOID(env, napi_create_int32(env, static_cast<int32_t>(ComponentType::UI_ABILITY), in CreateComponentType()
761 NAPI_CALL_RETURN_VOID(env, napi_create_int32(env, static_cast<int32_t>(ComponentType::UI_EXTENSION), in CreateComponentType()
/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/
H A Dsendable_image_napi.cpp548 static inline bool IsEqual(const int32_t& check, ComponentType type) in IsEqual()
554 return (IsEqual(type, ComponentType::YUV_Y) || in IsYUVComponent()
555 IsEqual(type, ComponentType::YUV_U) || in IsYUVComponent()
556 IsEqual(type, ComponentType::YUV_V)); in IsYUVComponent()
566 (!IsYUV422SPImage(format) && IsEqual(type, ComponentType::JPEG))); in CheckComponentType()
/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_napi.cpp557 static inline bool IsEqual(const int32_t& check, ComponentType type) in IsEqual()
563 return (IsEqual(type, ComponentType::YUV_Y) || in IsYUVComponent()
564 IsEqual(type, ComponentType::YUV_U) || in IsYUVComponent()
565 IsEqual(type, ComponentType::YUV_V)); in IsYUVComponent()
575 (!IsYUV422SPImage(format) && IsEqual(type, ComponentType::JPEG))); in CheckComponentType()
/foundation/ability/ability_runtime/services/abilitymgr/src/interceptor/
H A Ddisposed_rule_interceptor.cpp58 if (disposedRule.componentType == AppExecFwk::ComponentType::UI_ABILITY) { in DoProcess()
66 if (disposedRule.componentType == AppExecFwk::ComponentType::UI_EXTENSION) { in DoProcess()
/foundation/multimedia/image_framework/frameworks/kits/native/common/ndk/
H A Dimage_native.cpp51 image->imgNative->GetComponent(int32_t(OHOS::Media::ComponentType::JPEG)); in OH_ImageNative_GetComponentTypes()
/foundation/ability/ability_runtime/service_router_framework/interfaces/inner_api/src/
H A Dservice_info.cpp162 componentType = static_cast<ComponentType>(parcel.ReadInt32()); in ReadFromParcel()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_control/
H A Dapp_control_manager.cpp523 disposedRule.componentType = ComponentType::UI_ABILITY; in SetDisposedRuleOnlyForBms()

Completed in 21 milliseconds