/foundation/multimedia/av_codec/interfaces/kits/c/ |
H A D | native_avsource.h | 28 typedef struct OH_AVSource OH_AVSource; typedef 31 * @brief Creates an OH_AVSource instance that models the media with data source. 34 * @return Returns a pointer to an OH_AVSource instance if the execution is successful, otherwise returns nullptr. 43 OH_AVSource *OH_AVSource_CreateWithDataSource(OH_AVDataSource *dataSource); 46 * @brief Creates an OH_AVSource instance that models the media at the URI. 49 * @return Returns a pointer to an OH_AVSource instance if the execution is successful, otherwise returns nullptr. 56 OH_AVSource *OH_AVSource_CreateWithURI(char *uri); 59 * @brief Creates an OH_AVSource instance that models the media at the FileDescriptor. 64 * @return Returns a pointer to an OH_AVSource instanc [all...] |
H A D | native_avdemuxer.h | 45 * @param source Pointer to an OH_AVSource instance. 51 OH_AVDemuxer *OH_AVDemuxer_CreateWithSource(OH_AVSource *source);
|
/foundation/multimedia/av_codec/test/unittest/avsource_test/capi/ |
H A D | avsource_capi_mock.h | 27 explicit AVSourceCapiMock(OH_AVSource *source) : source_(source) {} in AVSourceCapiMock() 33 OH_AVSource* GetAVSource(); 35 OH_AVSource* source_ = nullptr;
|
H A D | avsource_capi_mock_factory.cpp | 22 OH_AVSource *source = OH_AVSource_CreateWithURI(uri); in CreateSourceWithURI() 31 OH_AVSource *source = OH_AVSource_CreateWithFD(fd, offset, size); in CreateSourceWithFD() 46 OH_AVSource *source = OH_AVSource_CreateWithDataSource(dataSource); in CreateWithDataSource()
|
H A D | avsource_capi_mock.cpp | 61 OH_AVSource* AVSourceCapiMock::GetAVSource() in GetAVSource()
|
/foundation/multimedia/av_codec/frameworks/native/capi/avsource/ |
H A D | native_avsource.cpp | 69 struct OH_AVSource *OH_AVSource_CreateWithURI(char *uri) in OH_AVSource_CreateWithURI() 82 struct OH_AVSource *OH_AVSource_CreateWithFD(int32_t fd, int64_t offset, int64_t size) in OH_AVSource_CreateWithFD() 95 struct OH_AVSource *OH_AVSource_CreateWithDataSource(OH_AVDataSource *dataSource) in OH_AVSource_CreateWithDataSource() 111 OH_AVErrCode OH_AVSource_Destroy(OH_AVSource *source) in OH_AVSource_Destroy() 120 OH_AVFormat *OH_AVSource_GetSourceFormat(OH_AVSource *source) in OH_AVSource_GetSourceFormat() 140 OH_AVFormat *OH_AVSource_GetTrackFormat(OH_AVSource *source, uint32_t trackIndex) in OH_AVSource_GetTrackFormat()
|
/foundation/multimedia/av_codec/frameworks/native/capi/common/ |
H A D | native_object.h | 24 struct AVSourceObject : public OH_AVSource { 26 : OH_AVSource(AVMagic::AVCODEC_MAGIC_AVSOURCE), source_(source) {} in AVSourceObject()
|
H A D | native_avmagic.h | 68 struct OH_AVSource : public AVObjectMagic { struct 69 explicit OH_AVSource(enum AVMagic m) : AVObjectMagic(m) {} in OH_AVSource() function 70 virtual ~OH_AVSource() = default;
|
/foundation/multimedia/av_codec/test/moduletest/demuxer/src/ |
H A D | perf_test.cpp | 78 OH_AVSource *source = OH_AVSource_CreateWithFD(fd, 0, 0); in HWTEST_F() 104 OH_AVSource *source = OH_AVSource_CreateWithFD(fd, 0, 0); in HWTEST_F() 130 OH_AVSource *source = OH_AVSource_CreateWithFD(fd, 0, 0); in HWTEST_F() 156 OH_AVSource *source = OH_AVSource_CreateWithFD(fd, 0, 0); in HWTEST_F() 187 OH_AVSource *source = OH_AVSource_CreateWithFD(fd, 0, 0); in HWTEST_F() 218 OH_AVSource *source = OH_AVSource_CreateWithFD(fd, 0, 0); in HWTEST_F() 249 OH_AVSource *source = OH_AVSource_CreateWithFD(fd, 0, 0); in HWTEST_F() 280 OH_AVSource *source = OH_AVSource_CreateWithFD(fd, 0, 0); in HWTEST_F() 311 OH_AVSource *source = OH_AVSource_CreateWithFD(fd, 0, 0); in HWTEST_F() 342 OH_AVSource *sourc in HWTEST_F() [all...] |
H A D | api_test.cpp | 50 static OH_AVSource *source = nullptr; 491 OH_AVSource *source1 = OH_AVSource_CreateWithFD(fd1, 0, size); in HWTEST_F() 501 OH_AVSource *source2 = OH_AVSource_CreateWithFD(fd2, 0, size2); in HWTEST_F()
|
H A D | net_test.cpp | 65 static OH_AVSource *source = nullptr; 70 static OH_AVSource *sourceV = nullptr; 77 OH_AVSource *source_list[16] = {}; 238 static void CheckAudioParam(OH_AVSource *audioSource, int &audioFrameAll) in CheckAudioParam()
|
H A D | randomseek_test.cpp | 46 static OH_AVSource *source = nullptr;
|
/foundation/multimedia/av_codec/test/nativedemo/avdemuxer/capi_demo/ |
H A D | avsource_demo.h | 28 OH_AVSource* GetAVSource(); 37 OH_AVSource* avsource_ = nullptr;
|
H A D | avdemuxer_demo.h | 43 int32_t CreateWithSource(OH_AVSource *avsource); 60 OH_AVSource* avsource_ = nullptr;
|
H A D | avsource_demo.cpp | 77 OH_AVSource* AVSourceDemo::GetAVSource() in GetAVSource()
|
H A D | avdemuxer_demo.cpp | 41 int32_t AVDemuxerDemo::CreateWithSource(OH_AVSource *avsource) in CreateWithSource()
|
/foundation/multimedia/av_codec/test/fuzztest/demuxer_fuzzer/ |
H A D | demuxer_fuzzer.cpp | 63 OH_AVSource *source = OH_AVSource_CreateWithFD(fd, 0, size); in RunNormalDemuxer() 114 OH_AVSource *source = OH_AVSource_CreateWithFD(fd, 0, size); in RunNormalDemuxerApi11() 167 OH_AVSource *source = OH_AVSource_CreateWithFD(fd, offset, fileSize); in DoSomethingInterestingWithMyAPI()
|
/foundation/multimedia/av_codec/test/unittest/demuxer_test/capi/ |
H A D | demuxer_capi_mock_factory.cpp | 24 OH_AVSource *avSource = (capiSource != nullptr) ? capiSource->GetAVSource() : nullptr; in CreateDemuxer()
|
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/data_producer/demuxer/ |
H A D | demuxer.h | 39 std::shared_ptr<OH_AVSource> source_ = nullptr;
|
H A D | demuxer.cpp | 42 source_ = std::shared_ptr<OH_AVSource>(OH_AVSource_CreateWithFD(fileFd, 0, fileSize), OH_AVSource_Destroy); in Init() 46 source_ = std::shared_ptr<OH_AVSource>( in Init()
|
/foundation/multimedia/av_codec/test/nativedemo/e2e_demo/ |
H A D | avcodec_e2e_demo_api10.h | 51 OH_AVSource *inSource = nullptr;
|
H A D | avcodec_e2e_demo.h | 51 OH_AVSource *inSource = nullptr;
|
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/Avbuffer/include/ |
H A D | avcodec_audio_avbuffer_decoder_demo.h | 294 OH_AVSource* avsource_ = nullptr;
|
/foundation/multimedia/av_codec/test/nativedemo/avdemuxer/ |
H A D | avdemuxer_demo_runner.cpp | 171 OH_AVSource *av_source = avSourceDemo->GetAVSource(); in RunNativeDemuxer() 213 OH_AVSource *av_source = avSourceDemo->GetAVSource(); in RunDrmNativeDemuxer()
|
/foundation/multimedia/av_codec/frameworks/native/capi/avdemuxer/ |
H A D | native_avdemuxer.cpp | 119 struct OH_AVDemuxer *OH_AVDemuxer_CreateWithSource(OH_AVSource *source) in OH_AVDemuxer_CreateWithSource()
|