/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_util.cpp | 201 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 D | gltf2_util.h | 56 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 D | gltf2_importer.cpp | 100 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 D | gltf2_data_structures.h | 103 enum class ComponentType : int { class in GLTF2::AttributeType::RenderMode 231 ComponentType componentType = ComponentType::UNSIGNED_INT; 273 ComponentType componentType = ComponentType::UNSIGNED_INT;
|
H A D | gltf2_loader.cpp | 499 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 D | gltf2_exporter.cpp | 74 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 D | base_manager.h | 41 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 D | disposed_rule.h | 28 enum class ComponentType { class 47 ComponentType componentType = ComponentType::UI_ABILITY;
|
/foundation/ability/ability_runtime/service_router_framework/interfaces/inner_api/include/ |
H A D | service_info.h | 31 enum class ComponentType {
class in OHOS::AbilityRuntime::BusinessType 82 ComponentType componentType;
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/ |
H A D | native_image.cpp | 133 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 D | image_format.h | 33 enum class ComponentType { class in OHOS::Media::ImageFormat
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | disposed_observer.cpp | 64 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 D | bundle_info_resolve_util.h | 115 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 D | disposed_rule.cpp | 40 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 D | js_app_control.cpp | 555 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 D | sendable_image_napi.cpp | 548 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 D | image_napi.cpp | 557 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 D | disposed_rule_interceptor.cpp | 58 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 D | image_native.cpp | 51 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 D | service_info.cpp | 162 componentType = static_cast<ComponentType>(parcel.ReadInt32());
in ReadFromParcel()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_control/ |
H A D | app_control_manager.cpp | 523 disposedRule.componentType = ComponentType::UI_ABILITY; in SetDisposedRuleOnlyForBms()
|