/foundation/multimedia/av_codec/services/engine/codeclist/ |
H A D | codec_ability_singleton.cpp | 85 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()
|
/foundation/multimedia/av_codec/test/unittest/codeclist_test/inner/ |
H A D | codeclist_inner_mock.cpp | 248 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()
|
/foundation/multimedia/av_codec/test/unittest/codeclist_test/coverage_unit_test/ |
H A D | avcodec_info_coverage_unit_test.cpp | 292 videoCaps_->data_->profileLevelsMap.insert( in HWTEST_F() 294 videoCaps_->data_->profileLevelsMap.insert({static_cast<int32_t>(MPEG2_PROFILE_MAIN), {}}); in HWTEST_F() 295 videoCaps_->data_->profileLevelsMap.insert({static_cast<int32_t>(MPEG2_PROFILE_422), {}}); in HWTEST_F() 297 auto endIter = videoCaps_->data_->profileLevelsMap.end(); in HWTEST_F() 298 EXPECT_NE(videoCaps_->data_->profileLevelsMap.find(MPEG2_PROFILE_SIMPLE), endIter); in HWTEST_F() 299 EXPECT_NE(videoCaps_->data_->profileLevelsMap.find(MPEG2_PROFILE_MAIN), endIter); in HWTEST_F() 300 EXPECT_NE(videoCaps_->data_->profileLevelsMap.find(MPEG2_PROFILE_422), endIter); in HWTEST_F()
|
/foundation/multimedia/av_codec/test/unittest/hcodec_test/unittest/ |
H A D | hcodec_list_unit_test.cpp | 117 "bitrateMode=%s; profileLevelsMap=%s; measuredFrameRate=%s; " \ in HWTEST_F() 128 GetPrintInfo(one.profileLevelsMap).c_str(), GetPrintInfo(one.measuredFrameRate).c_str(), in HWTEST_F() 151 EXPECT_TRUE(!cap.profileLevelsMap.empty()); in HWTEST_F()
|
/foundation/multimedia/av_codec/frameworks/native/capi/common/ |
H A D | native_avcapability.cpp | 167 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()
|
/foundation/multimedia/av_codec/frameworks/native/avcodeclist/ |
H A D | avcodec_info.cpp | 261 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()
|
/foundation/multimedia/av_codec/services/services/sa_avcodec/ipc/ |
H A D | codeclist_parcel.cpp | 62 (void)Marshalling(parcel, capabilityData.profileLevelsMap); in Marshalling() 139 CHECK_AND_RETURN_RET_LOG(Unmarshalling(parcel, capabilityData.profileLevelsMap), false, in Unmarshalling()
|
/foundation/multimedia/player_framework/services/services/sa_media/ipc/ |
H A D | avcodeclist_parcel.cpp | 63 (void)Marshalling(parcel, it->profileLevelsMap); in Marshalling() 133 Unmarshalling(parcel, capabilityData.profileLevelsMap); in Unmarshalling()
|
/foundation/multimedia/player_framework/frameworks/native/avcodeclist/ |
H A D | avcodec_info.cpp | 197 for (auto iter = data_.profileLevelsMap.begin(); iter != data_.profileLevelsMap.end(); iter++) {
in LoadAVCLevelParams()
|
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
H A D | hcodec_list.cpp | 249 userCap.profileLevelsMap[innerProfile.value()] = allLevel; in GetCodecProfileLevels()
|
/foundation/multimedia/av_codec/interfaces/inner_api/native/ |
H A D | avcodec_info.h | 167 std::map<int32_t, std::vector<int32_t>> profileLevelsMap; member
|
/foundation/multimedia/av_codec/services/engine/codec/video/fcodec/ |
H A D | fcodec.cpp | 1488 capsData.profileLevelsMap.insert(std::make_pair(static_cast<int32_t>(AVC_PROFILE_MAIN), levels)); in GetCodecCapability() 1489 capsData.profileLevelsMap.insert(std::make_pair(static_cast<int32_t>(AVC_PROFILE_HIGH), levels)); in GetCodecCapability() 1490 capsData.profileLevelsMap.insert(std::make_pair(static_cast<int32_t>(AVC_PROFILE_BASELINE), levels)); in GetCodecCapability()
|
/foundation/multimedia/av_codec/services/engine/codec/video/hevcdecoder/ |
H A D | hevc_decoder.cpp | 1562 capsData.profileLevelsMap.insert(std::make_pair(static_cast<int32_t>(HEVC_PROFILE_MAIN), levels)); in GetCodecCapability() 1563 capsData.profileLevelsMap.insert(std::make_pair(static_cast<int32_t>(HEVC_PROFILE_MAIN_10), levels)); in GetCodecCapability()
|