/ohos5.0/foundation/multimedia/av_codec/test/nativedemo/avdemuxer/capi_demo/ |
H A D | avsource_demo.cpp | 37 this->avsource_ = OH_AVSource_CreateWithURI(uri); in CreateWithURI() 38 if (!avsource_) { in CreateWithURI() 59 this->avsource_ = OH_AVSource_CreateWithFD(fd, offset, size); in CreateWithFD() 60 if (!avsource_) { in CreateWithFD() 69 this->avsource_ = OH_AVSource_CreateWithDataSource(dataSource); in CreateWithDataSource() 70 if (!avsource_) { in CreateWithDataSource() 79 return this->avsource_; in GetAVSource() 84 int32_t ret = static_cast<int32_t>(OH_AVSource_Destroy(this->avsource_)); in Destroy() 94 this->avformat_ = OH_AVSource_GetSourceFormat(this->avsource_); in GetSourceFormat() 104 this->trackFormat_ = OH_AVSource_GetTrackFormat(this->avsource_, trackIndex); in GetTrackFormat()
|
H A D | avsource_demo.h | 37 OH_AVSource* avsource_ = nullptr;
|
H A D | avdemuxer_demo.cpp | 43 this->avsource_ = avsource; in CreateWithSource() 44 if (!this->avsource_) { in CreateWithSource()
|
H A D | avdemuxer_demo.h | 60 OH_AVSource* avsource_ = nullptr;
|
/ohos5.0/foundation/multimedia/av_codec/test/nativedemo/avdemuxer/inner_demo/ |
H A D | inner_source_demo.cpp | 38 this->avsource_ = AVSourceFactory::CreateWithURI(uri.c_str()); in CreateWithURI() 39 if (!avsource_) { in CreateWithURI() 60 this->avsource_ = AVSourceFactory::CreateWithFD(fd, offset, size); in CreateWithFD() 61 if (!avsource_) { in CreateWithFD() 70 if (this->avsource_ != nullptr) { in GetSourceFormat() 71 int32_t ret = this->avsource_->GetSourceFormat(source_format_); in GetSourceFormat() 81 if (this->avsource_ != nullptr) { in GetTrackFormat() 82 int32_t ret = this->avsource_->GetTrackFormat(track_format_, trackIndex); in GetTrackFormat()
|
H A D | inner_source_demo.h | 34 std::shared_ptr<AVSource> avsource_ = nullptr; variable
|
H A D | inner_demuxer_demo.h | 56 std::shared_ptr<AVSource> avsource_ = nullptr;
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/demuxer/src/InnerAPI/ |
H A D | inner_demuxer_parser_sample.cpp | 82 this->avsource_ = AVSourceFactory::CreateWithFD(fd, 0, GetFileSize(filePath)); in InnerDemuxerParserSample() 83 if (!avsource_) { in InnerDemuxerParserSample() 87 this->demuxer_ = AVDemuxerFactory::CreateWithSource(avsource_); in InnerDemuxerParserSample() 92 int32_t ret = this->avsource_->GetSourceFormat(source_format_); in InnerDemuxerParserSample() 101 ret = this->avsource_->GetTrackFormat(track_format_, i); in InnerDemuxerParserSample() 122 if (avsource_ != nullptr) { in ~InnerDemuxerParserSample() 123 avsource_ = nullptr; in ~InnerDemuxerParserSample()
|
H A D | inner_demuxer_sample.cpp | 60 this->avsource_ = AVSourceFactory::CreateWithFD(fd, 0, size); in InitWithFile() 62 this->avsource_ = AVSourceFactory::CreateWithURI(const_cast<char*>(path.data())); in InitWithFile() 64 if (!avsource_) { in InitWithFile() 68 this->demuxer_ = AVDemuxerFactory::CreateWithSource(avsource_); in InitWithFile() 73 int32_t ret = this->avsource_->GetSourceFormat(source_format_); in InitWithFile() 83 ret = this->avsource_->GetTrackFormat(track_format_, i); in InitWithFile() 350 int32_t ret = this->avsource_->GetTrackFormat(track_format_, trackIndex); in CheckTimedMetaFormat()
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_decoder/Avbuffer/src/ |
H A D | avcodec_audio_avbuffer_decoder_demo.cpp | 324 if (avsource_ != nullptr) { in ~ADecBufferDemo() 325 OH_AVSource_Destroy(avsource_); in ~ADecBufferDemo() 326 avsource_ = nullptr; in ~ADecBufferDemo() 640 avsource_ = OH_AVSource_CreateWithFD(fd, 0, size); in CreatDeMuxer() 641 if (avsource_ == nullptr) { in CreatDeMuxer() 646 avdemuxer_ = OH_AVDemuxer_CreateWithSource(avsource_); in CreatDeMuxer() 652 OH_AVFormat *sourceFormat = OH_AVSource_GetSourceFormat(avsource_); in CreatDeMuxer() 657 trackFormat = OH_AVSource_GetTrackFormat(avsource_, index); in CreatDeMuxer()
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/demuxer/src/InnerAPI/include/ |
H A D | inner_demuxer_sample.h | 59 std::shared_ptr<AVSource> avsource_ = nullptr; variable
|
H A D | inner_demuxer_parser_sample.h | 98 std::shared_ptr<AVSource> avsource_ = nullptr; variable
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_decoder/Avbuffer/include/ |
H A D | avcodec_audio_avbuffer_decoder_demo.h | 294 OH_AVSource* avsource_ = nullptr; variable
|
/ohos5.0/foundation/multimedia/av_codec/test/nativedemo/avdemuxer/ |
H A D | avdemuxer_demo_runner.cpp | 298 innerDemuxerDemo->CreateWithSource(innerSourceDemo->avsource_); in RunInnerSourceDemuxer() 344 innerDemuxerDemo->CreateWithSource(innerSourceDemo->avsource_); in RunRefParserDemuxer()
|