Home
last modified time | relevance | path

Searched refs:MediaType (Results 1 - 25 of 205) sorted by relevance

123456789

/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/fuzztest/medialibraryuripermissionoperations_fuzzer/
H A Dmedialibraryuripermissionoperations_fuzzer.h25 const std::vector<MediaType> MediaType_FUZZER_LISTS = {
26 MediaType::MEDIA_TYPE_FILE,
27 MediaType::MEDIA_TYPE_IMAGE,
28 MediaType::MEDIA_TYPE_VIDEO,
29 MediaType::MEDIA_TYPE_AUDIO,
30 MediaType::MEDIA_TYPE_MEDIA,
31 MediaType::MEDIA_TYPE_ALBUM_LIST,
32 MediaType::MEDIA_TYPE_ALBUM_LIST_INFO,
33 MediaType::MEDIA_TYPE_ALBUM,
34 MediaType
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/fuzztest/medialibraryurisensitiveoperations_fuzzer/
H A Dmedialibraryurisensitiveoperations_fuzzer.h25 const std::vector<MediaType> MediaType_FUZZER_LISTS = {
26 MediaType::MEDIA_TYPE_FILE,
27 MediaType::MEDIA_TYPE_IMAGE,
28 MediaType::MEDIA_TYPE_VIDEO,
29 MediaType::MEDIA_TYPE_AUDIO,
30 MediaType::MEDIA_TYPE_MEDIA,
31 MediaType::MEDIA_TYPE_ALBUM_LIST,
32 MediaType::MEDIA_TYPE_ALBUM_LIST_INFO,
33 MediaType::MEDIA_TYPE_ALBUM,
34 MediaType
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/fuzztest/medialibraryappuripermissionoperations_fuzzer/
H A Dmedialibraryappuripermissionoperations_fuzzer.h25 const std::vector<MediaType> MediaType_FUZZER_LISTS = {
26 MediaType::MEDIA_TYPE_FILE,
27 MediaType::MEDIA_TYPE_IMAGE,
28 MediaType::MEDIA_TYPE_VIDEO,
29 MediaType::MEDIA_TYPE_AUDIO,
30 MediaType::MEDIA_TYPE_MEDIA,
31 MediaType::MEDIA_TYPE_ALBUM_LIST,
32 MediaType::MEDIA_TYPE_ALBUM_LIST_INFO,
33 MediaType::MEDIA_TYPE_ALBUM,
34 MediaType
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/fuzztest/medialibraryappurisensitiveoperations_fuzzer/
H A Dmedialibraryappurisensitiveoperations_fuzzer.h25 const std::vector<MediaType> MediaType_FUZZER_LISTS = {
26 MediaType::MEDIA_TYPE_FILE,
27 MediaType::MEDIA_TYPE_IMAGE,
28 MediaType::MEDIA_TYPE_VIDEO,
29 MediaType::MEDIA_TYPE_AUDIO,
30 MediaType::MEDIA_TYPE_MEDIA,
31 MediaType::MEDIA_TYPE_ALBUM_LIST,
32 MediaType::MEDIA_TYPE_ALBUM_LIST_INFO,
33 MediaType::MEDIA_TYPE_ALBUM,
34 MediaType
[all...]
/foundation/CastEngine/castengine_wifi_display/services/mediachannel/
H A Dbuffer_dispatcher.h68 virtual void ClearReadBit(uint32_t receiverId, MediaType type) = 0;
69 virtual void ClearDataBit(uint32_t receiverId, MediaType type) = 0;
70 virtual void NotifyReadReady(uint32_t receiverId, MediaType type) = 0;
72 virtual int32_t ReadBufferData(uint32_t receiverId, MediaType type,
110 virtual int32_t RequestRead(MediaType type, std::function<void(const MediaData::Ptr &data)> cb);
190 void NotifyDataReceiver(MediaType type);
191 void SetNeedUpdate(bool enable, MediaType type);
199 bool DataAvailable(MediaType type);
202 uint32_t GetReceiverReadIndex(MediaType type);
258 void ClearReadBit(uint32_t receiverId, MediaType typ
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_audio_operations_test/src/
H A Dmedialibrary_audio_operations_test.cpp686 string uriString = MediaFileUtils::GetMediaTypeUriV10(MediaType::MEDIA_TYPE_AUDIO); in TestAudioOpenParamsApi10()
787 values.PutInt(MediaColumn::MEDIA_TYPE, MediaType::MEDIA_TYPE_AUDIO); in HWTEST_F()
793 { AudioColumn::MEDIA_TYPE, to_string(MediaType::MEDIA_TYPE_AUDIO) }, in HWTEST_F()
804 TestAudioCreateParamsApi10("", MediaType::MEDIA_TYPE_AUDIO, E_INVALID_DISPLAY_NAME); in HWTEST_F()
805 TestAudioCreateParamsApi10("audio\"\".mp3", MediaType::MEDIA_TYPE_AUDIO, E_INVALID_DISPLAY_NAME); in HWTEST_F()
806 TestAudioCreateParamsApi10(".audio.mp3", MediaType::MEDIA_TYPE_AUDIO, E_INVALID_DISPLAY_NAME); in HWTEST_F()
808 TestAudioCreateParamsApi10(englishLongString, MediaType::MEDIA_TYPE_AUDIO, in HWTEST_F()
811 TestAudioCreateParamsApi10(chineseLongString, MediaType::MEDIA_TYPE_AUDIO, in HWTEST_F()
814 TestAudioCreateParamsApi10("audio", MediaType::MEDIA_TYPE_AUDIO, E_INVALID_DISPLAY_NAME); in HWTEST_F()
815 TestAudioCreateParamsApi10("audio.", MediaType in HWTEST_F()
[all...]
/foundation/multimedia/media_library/frameworks/js/src/
H A Dmedia_library_comm_napi.cpp50 fileAsset->SetMediaType(MediaType::MEDIA_TYPE_IMAGE); in CreatePhotoAssetNapi()
53 fileAsset->SetMediaType(MediaType::MEDIA_TYPE_IMAGE); in CreatePhotoAssetNapi()
56 fileAsset->SetMediaType(MediaType::MEDIA_TYPE_IMAGE); in CreatePhotoAssetNapi()
60 fileAsset->SetMediaType(MediaType::MEDIA_TYPE_VIDEO); in CreatePhotoAssetNapi()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_scanner_db_test/src/
H A Dmedialibrary_metadata_extractor_test.cpp39 data->SetFileMediaType(static_cast<MediaType>(MEDIA_TYPE_ALBUM)); in HWTEST_F()
50 data->SetFileMediaType(static_cast<MediaType>(MEDIA_TYPE_DEVICE)); in HWTEST_F()
61 data->SetFileMediaType(static_cast<MediaType>(MEDIA_TYPE_IMAGE)); in HWTEST_F()
74 data->SetFileMediaType(static_cast<MediaType>(MEDIA_TYPE_DEVICE)); in HWTEST_F()
87 data->SetFileMediaType(static_cast<MediaType>(MEDIA_TYPE_DEVICE)); in HWTEST_F()
99 data->SetFileMediaType(static_cast<MediaType>(MEDIA_TYPE_DEVICE)); in HWTEST_F()
111 data->SetFileMediaType(static_cast<MediaType>(MEDIA_TYPE_DEVICE)); in HWTEST_F()
124 data->SetFileMediaType(static_cast<MediaType>(MEDIA_TYPE_DEVICE)); in HWTEST_F()
136 data->SetFileMediaType(static_cast<MediaType>(MEDIA_TYPE_IMAGE)); in HWTEST_F()
148 data->SetFileMediaType(static_cast<MediaType>(MEDIA_TYPE_DEVIC in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/unittest/dash_test/
H A Ddash_segment_downloader_unit_test.cpp63 1, MediaAVCodec::MediaType::MEDIA_TYPE_VID, 10); in HWTEST_F()
67 EXPECT_EQ(segmentDownloader->GetStreamType(), MediaAVCodec::MediaType::MEDIA_TYPE_VID); in HWTEST_F()
73 1, MediaAVCodec::MediaType::MEDIA_TYPE_VID, 10); in HWTEST_F()
98 1, MediaAVCodec::MediaType::MEDIA_TYPE_VID, 10); in HWTEST_F()
125 1, MediaAVCodec::MediaType::MEDIA_TYPE_VID, 10); in HWTEST_F()
154 1, MediaAVCodec::MediaType::MEDIA_TYPE_VID, 10); in HWTEST_F()
200 1, MediaAVCodec::MediaType::MEDIA_TYPE_VID, 10); in HWTEST_F()
236 1, MediaAVCodec::MediaType::MEDIA_TYPE_VID, 10); in HWTEST_F()
264 1, MediaAVCodec::MediaType::MEDIA_TYPE_VID, 10); in HWTEST_F()
272 1, MediaAVCodec::MediaType in HWTEST_F()
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_photo_operations_test/src/
H A Dmedialibrary_photo_operations_test.cpp772 string uriString = MediaFileUtils::GetMediaTypeUriV10(MediaType::MEDIA_TYPE_IMAGE); in TestPhotoOpenParamsApi10()
788 string uriString = MediaFileUtils::GetMediaTypeUriV10(MediaType::MEDIA_TYPE_IMAGE); in TestPhotoOpenEditParamsApi10()
953 values.PutInt(MediaColumn::MEDIA_TYPE, MediaType::MEDIA_TYPE_IMAGE); in HWTEST_F()
959 { PhotoColumn::MEDIA_TYPE, to_string(MediaType::MEDIA_TYPE_IMAGE) }, in HWTEST_F()
971 TestPhotoCreateParamsApi10("", MediaType::MEDIA_TYPE_IMAGE, E_INVALID_DISPLAY_NAME); in HWTEST_F()
972 TestPhotoCreateParamsApi10("photo\"\".jpg", MediaType::MEDIA_TYPE_IMAGE, E_INVALID_DISPLAY_NAME); in HWTEST_F()
973 TestPhotoCreateParamsApi10(".photo.jpg", MediaType::MEDIA_TYPE_IMAGE, E_INVALID_DISPLAY_NAME); in HWTEST_F()
975 TestPhotoCreateParamsApi10(englishLongString, MediaType::MEDIA_TYPE_IMAGE, in HWTEST_F()
978 TestPhotoCreateParamsApi10(chineseLongString, MediaType::MEDIA_TYPE_IMAGE, in HWTEST_F()
981 TestPhotoCreateParamsApi10("photo", MediaType in HWTEST_F()
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_app_uri_sensitive_operations_test/src/
H A Dmedialibrary_app_uri_sensitive_operations_test.cpp261 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F()
297 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F()
320 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F()
344 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F()
369 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F()
394 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F()
418 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F()
454 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F()
494 int32_t photoId1 = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F()
495 int32_t photoId2 = CreatePhotoApi10(MediaType in HWTEST_F()
[all...]
/foundation/multimedia/media_library/interfaces/inner_api/media_library_helper/include/
H A Dmedia_file_uri.h42 std::string MediaFileUriConstruct(MediaType mediaType, const std::string &networkId, const std::string &fileId,
48 EXPORT explicit MediaFileUri(MediaType mediaType, in MediaFileUri()
64 EXPORT static MediaType GetMediaTypeFromUri(const std::string &uri);
68 EXPORT static std::string GetMediaTypeUri(MediaType mediaType, const int32_t &apiVersion);
/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/src/
H A Dmultistages_capture_manager.cpp67 case MediaType::MEDIA_TYPE_IMAGE: in RemovePhotos()
70 case MediaType::MEDIA_TYPE_VIDEO: in RemovePhotos()
110 case MediaType::MEDIA_TYPE_IMAGE: in RestorePhotos()
113 case MediaType::MEDIA_TYPE_VIDEO: in RestorePhotos()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/media_event_test/src/
H A Devent_create_test.cpp64 int32_t CreateFileAsset(const string &relativePath, const string &displayName, const MediaType &mediaType) in CreateFileAsset()
100 MediaType mediaType = MEDIA_TYPE_IMAGE; in HWTEST_F()
117 MediaType mediaType = MEDIA_TYPE_IMAGE; in HWTEST_F()
128 MediaType mediaType = MEDIA_TYPE_IMAGE; in HWTEST_F()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_tool/include/
H A Doption_args.h36 Media::MediaType mediaType {Media::MediaType::MEDIA_TYPE_DEFAULT};
H A Duserfile_client_ex.h40 static std::string GetTableNameByMediaType(const MediaType mediaType);
42 static const std::vector<MediaType> &GetSupportTypes();
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_app_uri_permission_operations_test/src/
H A Dmedialibrary_app_uri_permission_operations_test.cpp261 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F()
284 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F()
308 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F()
340 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F()
373 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F()
434 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F()
476 int32_t photoId1 = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F()
477 int32_t photoId2 = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F()
506 int32_t photoId1 = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo1.jpg"); in HWTEST_F()
507 int32_t photoId2 = CreatePhotoApi10(MediaType in HWTEST_F()
[all...]
/foundation/multimedia/media_library/frameworks/services/media_mtp/include/
H A Dmtp_data_utils.h113 static int32_t SolveHandlesFormatData(const uint16_t format, std::string &outExtension, MediaType &outMediaType);
114 static int32_t SolveSendObjectFormatData(const uint16_t format, MediaType &outMediaType);
117 static void GetMediaTypeByformat(const uint16_t format, MediaType &outMediaType);
118 static void GetPropGropByMediaType(const MediaType &mediaType, std::vector<std::string> &outPropGrop);
125 static int32_t GetMediaTypeByName(std::string &displayName, MediaType &outMediaType);
/foundation/CastEngine/castengine_wifi_display/services/common/
H A Devent_channel.h31 MediaType mediaType;
42 MediaType mediaType;
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/
H A Dav_trans_utils.cpp53 OHOS::Media::Plugin::MediaType TransName2MediaType(const std::string &ownerName) in TransName2MediaType()
55 const static std::pair<std::string, OHOS::Media::Plugin::MediaType> mapArray[] = { in TransName2MediaType()
56 {OWNER_NAME_D_MIC, OHOS::Media::Plugin::MediaType::AUDIO}, in TransName2MediaType()
57 {OWNER_NAME_D_VIRMODEM_MIC, OHOS::Media::Plugin::MediaType::AUDIO}, in TransName2MediaType()
58 {OWNER_NAME_D_CAMERA, OHOS::Media::Plugin::MediaType::VIDEO}, in TransName2MediaType()
59 {OWNER_NAME_D_SCREEN, OHOS::Media::Plugin::MediaType::VIDEO}, in TransName2MediaType()
60 {OWNER_NAME_D_SPEAKER, OHOS::Media::Plugin::MediaType::AUDIO}, in TransName2MediaType()
61 {OWNER_NAME_D_VIRMODEM_SPEAKER, OHOS::Media::Plugin::MediaType::AUDIO}, in TransName2MediaType()
68 return OHOS::Media::Plugin::MediaType::UNKNOWN; in TransName2MediaType()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_tool/src/
H A Duserfile_client_ex.cpp472 std::string UserFileClientEx::GetTableNameByMediaType(const MediaType mediaType) in GetTableNameByMediaType()
474 static const std::map<MediaType, std::string> TYPE_TABLE_MAP = { in GetTableNameByMediaType()
475 { MediaType::MEDIA_TYPE_AUDIO, AudioColumn::AUDIOS_TABLE }, in GetTableNameByMediaType()
476 { MediaType::MEDIA_TYPE_IMAGE, PhotoColumn::PHOTOS_TABLE }, in GetTableNameByMediaType()
477 { MediaType::MEDIA_TYPE_VIDEO, PhotoColumn::PHOTOS_TABLE }, in GetTableNameByMediaType()
478 { MediaType::MEDIA_TYPE_PHOTO, PhotoColumn::PHOTOS_TABLE } in GetTableNameByMediaType()
500 const std::vector<MediaType> &UserFileClientEx::GetSupportTypes() in GetSupportTypes()
502 static const std::vector<MediaType> SUPPORT_TYPES = { in GetSupportTypes()
503 MediaType::MEDIA_TYPE_AUDIO, in GetSupportTypes()
504 MediaType in GetSupportTypes()
[all...]
/foundation/multimedia/av_codec/test/unittest/avsource_test/
H A Davsource_hevc_unit_test.cpp142 if (formatVal_.trackType == MediaType::MEDIA_TYPE_VID) { in InitResource()
144 } else if (formatVal_.trackType == MediaType::MEDIA_TYPE_AUD) { in InitResource()
303 ASSERT_EQ(formatVal_.trackType, MediaType::MEDIA_TYPE_VID); in HWTEST_F()
319 ASSERT_EQ(formatVal_.trackType, MediaType::MEDIA_TYPE_AUD); in HWTEST_F()
344 ASSERT_EQ(formatVal_.trackType, MediaType::MEDIA_TYPE_VID); in HWTEST_F()
360 ASSERT_EQ(formatVal_.trackType, MediaType::MEDIA_TYPE_AUD); in HWTEST_F()
385 ASSERT_EQ(formatVal_.trackType, MediaType::MEDIA_TYPE_VID); in HWTEST_F()
401 ASSERT_EQ(formatVal_.trackType, MediaType::MEDIA_TYPE_AUD); in HWTEST_F()
426 ASSERT_EQ(formatVal_.trackType, MediaType::MEDIA_TYPE_VID); in HWTEST_F()
442 ASSERT_EQ(formatVal_.trackType, MediaType in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/unittest/filter_test/
H A Ddemuxer_filter_unit_test.cpp276 meta->Set<Tag::MEDIA_TYPE>(Plugins::MediaType::AUDIO); in HWTEST_F()
280 meta->Set<Tag::MEDIA_TYPE>(Plugins::MediaType::VIDEO); in HWTEST_F()
285 meta->Set<Tag::MEDIA_TYPE>(Plugins::MediaType::TIMEDMETA); in HWTEST_F()
290 meta->Set<Tag::MEDIA_TYPE>(Plugins::MediaType::VIDEO); in HWTEST_F()
313 auto res = demuxerFilter_->ShouldTrackSkipped(Plugins::MediaType::VIDEO, "", 0); in HWTEST_F()
316 res = demuxerFilter_->ShouldTrackSkipped(Plugins::MediaType::VIDEO, MIME_IMAGE, 0); in HWTEST_F()
319 res = demuxerFilter_->ShouldTrackSkipped(Plugins::MediaType::TIMEDMETA, "", 0); in HWTEST_F()
322 demuxerFilter_->disabledMediaTracks_.insert(Plugins::MediaType::VIDEO); in HWTEST_F()
323 res = demuxerFilter_->ShouldTrackSkipped(Plugins::MediaType::VIDEO, "", 0); in HWTEST_F()
326 res = demuxerFilter_->ShouldTrackSkipped(Plugins::MediaType in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/interfaces/inner_api/native/
H A Ddemuxer_filter.h102 Status DisableMediaTrack(Plugins::MediaType mediaType);
119 bool FindStreamType(StreamType &streamType, Plugins::MediaType mediaType, std::string mime, size_t index);
120 bool ShouldTrackSkipped(Plugins::MediaType mediaType, std::string mime, size_t index);
143 std::unordered_set<Plugins::MediaType> disabledMediaTracks_ {};
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/mpd_parser/
H A Ddash_period_manager.cpp250 MediaAVCodec::MediaType streamType) in GetAdptSetsByStreamType()
253 case MediaAVCodec::MediaType::MEDIA_TYPE_VID: in GetAdptSetsByStreamType()
256 case MediaAVCodec::MediaType::MEDIA_TYPE_AUD: in GetAdptSetsByStreamType()
259 case MediaAVCodec::MediaType::MEDIA_TYPE_SUBTITLE: in GetAdptSetsByStreamType()

Completed in 18 milliseconds

123456789