Home
last modified time | relevance | path

Searched refs:extendInfo (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/texture_encode/
H A Dastc_codec.cpp529 AstcExtendInfo extendInfo = {0}; in AstcSoftwareEncodeCore() local
530 if (!InitAstcExtendInfo(extendInfo)) { in AstcSoftwareEncodeCore()
539 ReleaseExtendInfoMemory(extendInfo); in AstcSoftwareEncodeCore()
544 ReleaseExtendInfoMemory(extendInfo); in AstcSoftwareEncodeCore()
551 ReleaseExtendInfoMemory(extendInfo); in AstcSoftwareEncodeCore()
561 ReleaseExtendInfoMemory(extendInfo); in AstcSoftwareEncodeCore()
578extendInfo.extendInfoValue[idx] = static_cast<uint8_t*>(malloc(extendInfo.extendInfoLength[idx])); in AstcSoftwareEncodeCore()
596 extendInfo.extendBufferSumBytes = 0; in AstcSoftwareEncodeCore()
598 if (!AllocMemForExtInfo(extendInfo, idx)) { in AstcSoftwareEncodeCore()
599 ReleaseExtendInfoMemory(extendInfo); in AstcSoftwareEncodeCore()
[all …]
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/texture_encode/
H A Dastc_codec.h39 bool InitAstcExtendInfo(AstcExtendInfo &extendInfo);
40 void ReleaseExtendInfoMemory(AstcExtendInfo &extendInfo);
41 void WriteAstcExtendInfo(uint8_t* outBuffer, uint32_t offset, AstcExtendInfo &extendInfo);
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/common/src/
H A Dtrans_qos_info.c18 …xtQosInfo(const SessionParam *param, QosInfo *qosInfo, uint32_t index, AllocExtendInfo *extendInfo) in GetExtQosInfo() argument
23 (void)extendInfo; in GetExtQosInfo()
H A Dtrans_lane_pending_ctl.c969 …atic void TransGetQosInfo(const SessionParam *param, QosInfo *qosInfo, AllocExtendInfo *extendInfo) in TransGetQosInfo() argument
991 GetExtQosInfo(param, qosInfo, i, extendInfo); in TransGetQosInfo()
1014 allocInfo->extendInfo.peerBleMac, BT_MAC_LEN) != SOFTBUS_OK) { in TransGetBleMacForAllocLane()
1015 if (strcpy_s(allocInfo->extendInfo.peerBleMac, BT_MAC_LEN, "") != EOK) { in TransGetBleMacForAllocLane()
1034 allocInfo->extendInfo.actionAddr = param->actionId; in GetAllocInfoBySessionParam()
1035 …allocInfo->extendInfo.isSupportIpv6 = (param->attr->dataType != TYPE_STREAM && param->actionId > 0… in GetAllocInfoBySessionParam()
1036 allocInfo->extendInfo.networkDelegate = false; in GetAllocInfoBySessionParam()
1039 allocInfo->extendInfo.networkDelegate = true; in GetAllocInfoBySessionParam()
1043 TransGetQosInfo(param, &allocInfo->qosRequire, &(allocInfo->extendInfo)); in GetAllocInfoBySessionParam()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/
H A Dheif_parser.cpp376 std::vector<uint8_t> extendInfo; in ExtractIT35Metadata() local
378 if (err != heif_error_ok || extendInfo.empty()) { in ExtractIT35Metadata()
381 primaryImage_->SetUWAInfo(extendInfo); in ExtractIT35Metadata()
389 std::vector<uint8_t> extendInfo; in ExtractISOMetadata() local
394 primaryImage_->SetISOMetadata(extendInfo); in ExtractISOMetadata()
399 HeifFragmentMetadata extendInfo; in ExtractFragmentMetadata() local
402 extendInfo.width = ispe->GetWidth(); in ExtractFragmentMetadata()
403 extendInfo.height = ispe->GetHeight(); in ExtractFragmentMetadata()
407 extendInfo.horizontalOffset = rloc->GetX(); in ExtractFragmentMetadata()
408 extendInfo.verticalOffset = rloc->GetY(); in ExtractFragmentMetadata()
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/trans_lane/
H A Dlnn_trans_lane_test.cpp436 .extendInfo.isSpecifiedLink = true,
437 .extendInfo.linkType = LANE_LINK_TYPE_WIFI_WLAN,
455 allocInfo.extendInfo.linkType = LANE_LINK_TYPE_WIFI_P2P;
458 allocInfo.extendInfo.linkType = LANE_LINK_TYPE_BR;
461 allocInfo.extendInfo.linkType = LANE_LINK_TYPE_COC_DIRECT;
464 allocInfo.extendInfo.linkType = LANE_LINK_TYPE_BLE_DIRECT;
467 allocInfo.extendInfo.linkType = LANE_LINK_TYPE_HML;
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/
H A Dcamera_manager.cpp1532 ExtendInfo extendInfo = {}; in ParseExtendCapability() local
1536 for (uint32_t i = 0; i < extendInfo.modeCount; i++) { in ParseExtendCapability()
1544 for (uint32_t j = 0; j < extendInfo.modeInfo[i].streamTypeCount; j++) { in ParseExtendCapability()
1551 for (uint32_t i = 0; i < extendInfo.modeCount; i++) { in ParseExtendCapability()
1557 for (uint32_t j = 0; j < extendInfo.modeInfo[i].streamTypeCount; j++) { in ParseExtendCapability()
1570 ExtendInfo extendInfo = {}; in ParseDepthCapability() local
1573 for (uint32_t i = 0; i < extendInfo.modeCount; i++) { in ParseDepthCapability()
1574 if (modeName == extendInfo.modeInfo[i].modeName) { in ParseDepthCapability()
1575 for (uint32_t j = 0; j < extendInfo.modeInfo[i].streamTypeCount; j++) { in ParseDepthCapability()
1578 CreateDepthProfile4StreamType(streamType, i, j, extendInfo); in ParseDepthCapability()
[all …]
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/utils/
H A Dmetadata_common_utils.cpp89 ExtendInfo extendInfo = {}; in GetSupportedPreviewSizeRangeFromExtendConfig() local
91 modeStreamParse->getModeInfo(item->data.i32, item->count, extendInfo); // 解析tag中带的数据信息意义 in GetSupportedPreviewSizeRangeFromExtendConfig()
92 for (uint32_t modeIndex = 0; modeIndex < extendInfo.modeCount; modeIndex++) { in GetSupportedPreviewSizeRangeFromExtendConfig()
93 auto modeInfo = std::move(extendInfo.modeInfo[modeIndex]); in GetSupportedPreviewSizeRangeFromExtendConfig()
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/common/include/
H A Dtrans_qos_info.h26 …tQosInfo(const SessionParam *param, QosInfo *qosInfo, uint32_t index, AllocExtendInfo *extendInfo);
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dhcamera_preconfig.cpp145 ExtendInfo extendInfo = {}; in FindMaxDetailInfoFromExtendConfig() local
147 modeStreamParse->getModeInfo(item.data.i32, item.count, extendInfo); // 解析tag中带的数据信息意义 in FindMaxDetailInfoFromExtendConfig()
148 for (auto& modeInfo : extendInfo.modeInfo) { in FindMaxDetailInfoFromExtendConfig()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_trans_lane.c380 newNode->extraInfo.actionAddr = allocInfo->extendInfo.actionAddr; in CreateReqNodeWithQos()
381 newNode->extraInfo.isSupportIpv6 = allocInfo->extendInfo.isSupportIpv6; in CreateReqNodeWithQos()
404 …if (memcpy_s(linkNode->peerBleMac, MAX_MAC_LEN, allocInfo->extendInfo.peerBleMac, MAX_MAC_LEN) != … in TriggerLinkWithQos()
415 linkNode->networkDelegate = allocInfo->extendInfo.networkDelegate; in TriggerLinkWithQos()
417 linkNode->actionAddr = allocInfo->extendInfo.actionAddr; in TriggerLinkWithQos()
418 linkNode->isSupportIpv6 = allocInfo->extendInfo.isSupportIpv6; in TriggerLinkWithQos()
629 …if (SpecifiedLinkConvert((const char *)allocInfo->networkId, allocInfo->extendInfo.linkType, &info… in ProcessSpecifiedLink()
648 if (allocInfo->extendInfo.isSpecifiedLink) { in AllocLaneByQos()
649 … LNN_LOGW(LNN_LANE, "process specifiedLink, linkType=%{public}d", allocInfo->extendInfo.linkType); in AllocLaneByQos()
702 laneAllocInfo.extendInfo.actionAddr = allocInfo->actionAddr; in AllocRawLane()
[all …]
H A Dlnn_ctrl_lane.c245 requestInfo->networkDelegate = allocInfo->extendInfo.networkDelegate; in CreateLinkRequestNode()
254 …if (memcpy_s(requestInfo->peerBleMac, MAX_MAC_LEN, allocInfo->extendInfo.peerBleMac, MAX_MAC_LEN) … in CreateLinkRequestNode()
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/input/
H A Dcamera_manager.h757 uint32_t streamIndex, ExtendInfo extendInfo);
766 uint32_t streamIndex, ExtendInfo extendInfo);
768 uint32_t streamIndex, ExtendInfo extendInfo);
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_lane.c393 allocInfo->extendInfo.networkDelegate = false; in AuthGetLaneAllocInfo()
411 …if (memcpy_s(allocInfo->extendInfo.peerBleMac, BT_MAC_LEN, connInfo.info.bleInfo.bleMac, BT_MAC_LE… in AuthGetLaneAllocInfo()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/include/
H A Dlnn_lane_interface.h253 AllocExtendInfo extendInfo; member
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/
H A Daudio_policy_parser.cpp642 xmlChar *extendInfo = xmlNodeGetContent(currNode); in ParseDefaultMaxInstances() local
643 std::string sExtendInfo(reinterpret_cast<char *>(extendInfo)); in ParseDefaultMaxInstances()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
H A Dimage_source.cpp3024 void ReleaseExtendInfoMemory(AstcExtendInfo &extendInfo) in ReleaseExtendInfoMemory() argument
3026 for (uint8_t idx = 0; idx < extendInfo.extendNums; idx++) { in ReleaseExtendInfoMemory()
3027 if (extendInfo.extendInfoValue[idx] != nullptr) { in ReleaseExtendInfoMemory()
3028 free(extendInfo.extendInfoValue[idx]); in ReleaseExtendInfoMemory()
3029 extendInfo.extendInfoValue[idx] = nullptr; in ReleaseExtendInfoMemory()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/src/
H A Dlnn_lane_test.cpp482 ASSERT_EQ(strncpy_s(allocInfo.extendInfo.peerBleMac, MAX_MAC_LEN,
747 ASSERT_EQ(strncpy_s(allocInfo.extendInfo.peerBleMac, MAX_MAC_LEN,