Home
last modified time | relevance | path

Searched refs:profileLevelsMap (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/multimedia/av_codec/services/engine/codeclist/
H A Dcodec_ability_singleton.cpp85 if ((*iter).profileLevelsMap.size() > MAX_MAP_SIZE) { in RegisterCapabilityArray()
86 while ((*iter).profileLevelsMap.size() > MAX_MAP_SIZE) { in RegisterCapabilityArray()
87 auto rIter = (*iter).profileLevelsMap.end(); in RegisterCapabilityArray()
88 (*iter).profileLevelsMap.erase(--rIter); in RegisterCapabilityArray()
92 auto nIter = (*iter).profileLevelsMap.begin(); in RegisterCapabilityArray()
93 while (nIter != (*iter).profileLevelsMap.end()) { in RegisterCapabilityArray()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/codeclist_test/inner/
H A Dcodeclist_inner_mock.cpp248 auto profileLevelsMap = codecInfo->GetSupportedLevelsForProfile(); in GetSupportedLevelsForProfile() local
249 auto levelsmatch = profileLevelsMap.find(profile); in GetSupportedLevelsForProfile()
250 if (levelsmatch == profileLevelsMap.end()) { in GetSupportedLevelsForProfile()
264 auto profileLevelsMap = codecInfo->GetSupportedLevelsForProfile(); in AreProfileAndLevelSupported() local
265 auto levels = profileLevelsMap.find(profile); in AreProfileAndLevelSupported()
266 if (levels == profileLevelsMap.end()) { in AreProfileAndLevelSupported()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/codeclist_test/coverage_unit_test/
H A Davcodec_info_coverage_unit_test.cpp292 videoCaps_->data_->profileLevelsMap.insert(
294 videoCaps_->data_->profileLevelsMap.insert({static_cast<int32_t>(MPEG2_PROFILE_MAIN), {}});
295 videoCaps_->data_->profileLevelsMap.insert({static_cast<int32_t>(MPEG2_PROFILE_422), {}});
297 auto endIter = videoCaps_->data_->profileLevelsMap.end();
298 EXPECT_NE(videoCaps_->data_->profileLevelsMap.find(MPEG2_PROFILE_SIMPLE), endIter);
299 EXPECT_NE(videoCaps_->data_->profileLevelsMap.find(MPEG2_PROFILE_MAIN), endIter);
300 EXPECT_NE(videoCaps_->data_->profileLevelsMap.find(MPEG2_PROFILE_422), endIter);
/ohos5.0/foundation/multimedia/av_codec/frameworks/native/capi/common/
H A Dnative_avcapability.cpp167 const auto &profileLevelsMap = codecInfo->GetSupportedLevelsForProfile(); in OH_AVCapability_GetSupportedLevelsForProfile() local
168 const auto &levelsmatch = profileLevelsMap.find(profile); in OH_AVCapability_GetSupportedLevelsForProfile()
169 if (levelsmatch == profileLevelsMap.end()) { in OH_AVCapability_GetSupportedLevelsForProfile()
203 const auto &profileLevelsMap = codecInfo->GetSupportedLevelsForProfile(); in OH_AVCapability_AreProfileAndLevelSupported() local
204 const auto &levels = profileLevelsMap.find(profile); in OH_AVCapability_AreProfileAndLevelSupported()
205 if (levels == profileLevelsMap.end()) { in OH_AVCapability_AreProfileAndLevelSupported()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/hcodec_test/unittest/
H A Dhcodec_list_unit_test.cpp128 GetPrintInfo(one.profileLevelsMap).c_str(), GetPrintInfo(one.measuredFrameRate).c_str(),
151 EXPECT_TRUE(!cap.profileLevelsMap.empty());
/ohos5.0/foundation/multimedia/av_codec/frameworks/native/avcodeclist/
H A Davcodec_info.cpp261 … for (auto iter = data_->profileLevelsMap.begin(); iter != data_->profileLevelsMap.end(); iter++) { in LoadAVCLevelParams()
290 … for (auto iter = data_->profileLevelsMap.begin(); iter != data_->profileLevelsMap.end(); iter++) { in LoadMPEGLevelParams()
661 return data_->profileLevelsMap; in GetSupportedLevelsForProfile()
/ohos5.0/foundation/multimedia/av_codec/services/services/sa_avcodec/ipc/
H A Dcodeclist_parcel.cpp62 (void)Marshalling(parcel, capabilityData.profileLevelsMap); in Marshalling()
140 CHECK_AND_RETURN_RET_LOG(Unmarshalling(parcel, capabilityData.profileLevelsMap), false, in Unmarshalling()
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dhcodec_list.cpp244 userCap.profileLevelsMap[innerProfile.value()] = allLevel; in GetCodecProfileLevels()
258 userCap.profileLevelsMap[innerProfileVvc.value()] = allLevel.value(); in GetCodecProfileLevels()
/ohos5.0/foundation/multimedia/av_codec/interfaces/inner_api/native/
H A Davcodec_info.h167 std::map<int32_t, std::vector<int32_t>> profileLevelsMap; member
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/fcodec/
H A Dfcodec.cpp1489 … capsData.profileLevelsMap.insert(std::make_pair(static_cast<int32_t>(AVC_PROFILE_MAIN), levels)); in GetCodecCapability()
1490 … capsData.profileLevelsMap.insert(std::make_pair(static_cast<int32_t>(AVC_PROFILE_HIGH), levels)); in GetCodecCapability()
1491 …capsData.profileLevelsMap.insert(std::make_pair(static_cast<int32_t>(AVC_PROFILE_BASELINE), levels… in GetCodecCapability()
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/hevcdecoder/
H A Dhevc_decoder.cpp1565 … capsData.profileLevelsMap.insert(std::make_pair(static_cast<int32_t>(HEVC_PROFILE_MAIN), levels)); in GetCodecCapability()
1566 …capsData.profileLevelsMap.insert(std::make_pair(static_cast<int32_t>(HEVC_PROFILE_MAIN_10), levels… in GetCodecCapability()