/foundation/multimedia/media_foundation/tests/unittest/format/ |
H A D | avformat_unit_test.cpp | 471 void CheckFormatMap(Format::FormatDataMap &formatMap) in CheckFormatMap() argument 475 auto iter = formatMap.find(INT_TESTKEY); in CheckFormatMap() 476 ASSERT_NE(iter, formatMap.end()); in CheckFormatMap() 480 iter = formatMap.find(LONG_TESTKEY); in CheckFormatMap() 481 ASSERT_NE(iter, formatMap.end()); in CheckFormatMap() 485 iter = formatMap.find(floatKey); in CheckFormatMap() 486 ASSERT_NE(iter, formatMap.end()); in CheckFormatMap() 490 iter = formatMap.find(DOUBLE_TESTKEY); in CheckFormatMap() 491 ASSERT_NE(iter, formatMap.end()); in CheckFormatMap() 495 iter = formatMap in CheckFormatMap() 544 Format::FormatDataMap formatMap = format->GetFormatMap(); HWTEST_F() local 581 Format::FormatDataMap formatMap = format->GetFormatMap(); HWTEST_F() local [all...] |
H A D | avformat_unit_channel_layout_test.cpp | 267 * 2. get formatMap; 280 Format::FormatDataMap formatMap = format->GetFormatMap(); in HWTEST_F() local 281 auto iter = formatMap.find(Tag::AUDIO_CHANNEL_LAYOUT); in HWTEST_F() 282 ASSERT_NE(iter, formatMap.end()); in HWTEST_F() 293 * 3. get formatMap; 312 Format::FormatDataMap formatMap = format->GetFormatMap(); in HWTEST_F() local 313 auto iter = formatMap.find(Tag::AUDIO_CHANNEL_LAYOUT); in HWTEST_F() 314 ASSERT_NE(iter, formatMap.end()); in HWTEST_F()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl_arg.cpp | 515 void WebGLImageSource::DecodeData(const WebGLFormatMap* formatMap, uint8_t* array) in DecodeData() argument 520 uint8_t *data = array + formatMap->bytesPrePixel * (j + imageOption_.width * i); in DecodeData() 528 void WebGLImageSource::DecodeDataForRGB_UBYTE(const WebGLFormatMap* formatMap, uint8_t* array) in DecodeDataForRGB_UBYTE() argument 533 uint8_t *data = array + formatMap->bytesPrePixel * (j + imageOption_.width * i); in DecodeDataForRGB_UBYTE() 541 void WebGLImageSource::DecodeDataForRGBA_USHORT_4444(const WebGLFormatMap* formatMap, uint8_t* array) in DecodeDataForRGBA_USHORT_4444() argument 546 uint8_t *data = array + formatMap->bytesPrePixel * (j + imageOption_.width * i); in DecodeDataForRGBA_USHORT_4444() 555 void WebGLImageSource::DecodeDataForRGBA_USHORT_5551(const WebGLFormatMap* formatMap, uint8_t* array) in DecodeDataForRGBA_USHORT_5551() argument 560 uint8_t *data = array + formatMap->bytesPrePixel * (j + imageOption_.width * i); in DecodeDataForRGBA_USHORT_5551() 569 void WebGLImageSource::DecodeDataForRGB_USHORT_565(const WebGLFormatMap* formatMap, uint8_t* array) in DecodeDataForRGB_USHORT_565() argument 574 uint8_t *data = array + formatMap in DecodeDataForRGB_USHORT_565() 582 DecodeImageData( const WebGLFormatMap* formatMap, const WebGLReadBufferArg* bufferDataArg, GLuint srcOffset) DecodeImageData() argument 632 const WebGLFormatMap *formatMap = GetWebGLFormatMap(imageOption_.type, imageOption_.format); GenImageSource() local [all...] |
/foundation/multimedia/media_foundation/src/meta/ |
H A D | format.cpp | 38 bool PutIntValueToFormatMap(FormatDataMap &formatMap, const std::string_view &key, int32_t value) in PutIntValueToFormatMap() argument 43 auto ret = formatMap.insert(std::make_pair(std::string(key), data)); in PutIntValueToFormatMap() 47 bool PutLongValueToFormatMap(FormatDataMap &formatMap, const std::string_view &key, int64_t value) in PutLongValueToFormatMap() argument 52 auto ret = formatMap.insert(std::make_pair(std::string(key), data)); in PutLongValueToFormatMap() 56 bool PutFloatValueToFormatMap(FormatDataMap &formatMap, const std::string_view &key, float value) in PutFloatValueToFormatMap() argument 61 auto ret = formatMap.insert(std::make_pair(std::string(key), data)); in PutFloatValueToFormatMap() 65 bool PutDoubleValueToFormatMap(FormatDataMap &formatMap, const std::string_view &key, double value) in PutDoubleValueToFormatMap() argument 70 auto ret = formatMap.insert(std::make_pair(std::string(key), data)); in PutDoubleValueToFormatMap() 74 bool PutStringValueToFormatMap(FormatDataMap &formatMap, const std::string_view &key, const std::string_view &value) in PutStringValueToFormatMap() argument 79 auto ret = formatMap in PutStringValueToFormatMap() 83 PutBufferToFormatMap(FormatDataMap &formatMap, const std::string_view &key, uint8_t *addr, size_t size) PutBufferToFormatMap() argument [all...] |
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/handler/src/ |
H A D | dcamera_handler.cpp | 320 void DCameraHandler::ProcessProfile(const DCStreamType type, std::map<std::string, std::list<std::string>>& formatMap, in ProcessProfile() argument 335 formatMap[formatName].push_back(resolutionValue); in ProcessProfile() 350 std::map<std::string, std::list<std::string>> formatMap; in ConfigFormatphoto() local 351 ProcessProfile(type, formatMap, profileList, formatSet); in ConfigFormatphoto() 356 for (auto &pair : formatMap) { in ConfigFormatphoto() 384 std::map<std::string, std::list<std::string>> formatMap; in ConfigFormatvideo() local 385 ProcessProfile(type, formatMap, profileList, formatSet); in ConfigFormatvideo() 390 for (auto &pair : formatMap) { in ConfigFormatvideo()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/hdi_adapter/utils/ |
H A D | hdi_au_utils.cpp | 89 static const std::map<::AudioSampleFormat, PluginAudioSampleFormat> formatMap = {
in HdiAuFormat2PluginFormat() local 115 if (formatMap.count(hdiAudioFormat) == 0) {
in HdiAuFormat2PluginFormat() 118 pluginFormat = formatMap.find(hdiAudioFormat)->second;
in HdiAuFormat2PluginFormat()
|
/foundation/multimedia/camera_framework/services/camera_service/src/avcodec/ |
H A D | camera_server_photo_proxy.cpp | 165 auto iter = formatMap.find(imageFormat_); in GetFormat() 166 if (iter != formatMap.end()) { in GetFormat()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/webgl/ |
H A D | webgl_arg.h | 633 void DecodeDataForRGB_UBYTE(const WebGLFormatMap* formatMap, uint8_t* array); 634 void DecodeDataForRGBA_USHORT_4444(const WebGLFormatMap* formatMap, uint8_t* array); 635 void DecodeDataForRGBA_USHORT_5551(const WebGLFormatMap* formatMap, uint8_t* array); 636 void DecodeDataForRGB_USHORT_565(const WebGLFormatMap* formatMap, uint8_t* array); 637 bool DecodeImageData(const WebGLFormatMap* formatMap, const WebGLReadBufferArg* bufferDataArg, GLuint srcOffset);
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/handler/include/ |
H A D | dcamera_handler.h | 58 void ProcessProfile(const DCStreamType type, std::map<std::string, std::list<std::string>>& formatMap,
|
/foundation/multimedia/camera_framework/services/camera_service/include/avcodec/ |
H A D | camera_server_photo_proxy.h | 51 static const std::map<int32_t, PhotoFormat> formatMap = { member
|
/foundation/multimedia/media_utils_lite/src/ |
H A D | format.cpp | 318 std::map<std::string, FormatData *> formatMap = format.GetFormatMap(); in CopyFrom() local 319 for (auto &iter : formatMap) { in CopyFrom()
|
/foundation/multimedia/av_codec/frameworks/native/capi/common/ |
H A D | native_avcapability.cpp | 540 Format::FormatDataMap formatMap = format.GetFormatMap(); in OH_AVCapability_GetFeatureProperties() local 541 if (formatMap.size() == 0) { in OH_AVCapability_GetFeatureProperties()
|