Home
last modified time | relevance | path

Searched refs:source_ (Results 1 – 25 of 62) sorted by relevance

123

/ohos5.0/foundation/multimedia/av_codec/test/unittest/source_test/
H A Dsource_unit_test.cpp130 source_->Prepare();
133 source_->Prepare();
252 source_->GetDuration();
266 source_->OnEvent(event);
268 source_->OnEvent(event);
270 source_->OnEvent(event);
272 source_->OnEvent(event);
274 source_->OnEvent(event);
276 source_->OnEvent(event);
278 source_->OnEvent(event);
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/unittest/avsource_test/
H A Davsource_unit_test.cpp101 if (source_ != nullptr) { in TearDown()
102 source_->Destroy(); in TearDown()
103 source_ = nullptr; in TearDown()
247 ASSERT_NE(source_, nullptr);
250 ASSERT_NE(source_, nullptr);
253 ASSERT_EQ(source_, nullptr);
256 ASSERT_EQ(source_, nullptr);
414 source_ = nullptr;
444 source_ = nullptr;
537 source_ = nullptr;
[all …]
H A Davsource_uri_unit_test.cpp71 ASSERT_NE(source_, nullptr);
83 ASSERT_EQ(source_, nullptr);
95 ASSERT_EQ(source_, nullptr);
107 ASSERT_EQ(source_, nullptr);
119 ASSERT_NE(source_, nullptr);
131 ASSERT_EQ(source_, nullptr);
143 ASSERT_NE(source_, nullptr);
145 ASSERT_NE(source_, nullptr);
158 ASSERT_NE(source_, nullptr);
175 ASSERT_NE(source_, nullptr);
[all …]
H A Davsource_format_unit_test.cpp93 ASSERT_NE(source_, nullptr);
141 ASSERT_NE(source_, nullptr);
192 ASSERT_NE(source_, nullptr);
239 ASSERT_NE(source_, nullptr);
288 ASSERT_NE(source_, nullptr);
327 ASSERT_NE(source_, nullptr);
368 ASSERT_NE(source_, nullptr);
415 ASSERT_NE(source_, nullptr);
464 ASSERT_NE(source_, nullptr);
511 ASSERT_NE(source_, nullptr);
[all …]
H A Davsource_audio_vivid_unit_test.cpp59 ASSERT_NE(source_, nullptr);
60 format_ = source_->GetSourceFormat();
103 ASSERT_NE(source_, nullptr);
104 format_ = source_->GetSourceFormat();
147 ASSERT_NE(source_, nullptr);
191 ASSERT_NE(source_, nullptr);
235 ASSERT_NE(source_, nullptr);
279 ASSERT_NE(source_, nullptr);
323 ASSERT_NE(source_, nullptr);
367 ASSERT_NE(source_, nullptr);
[all …]
H A Davsource_hevc_unit_test.cpp141 ASSERT_NE(source_, nullptr); in InitResource()
144 ASSERT_NE(source_, nullptr); in InitResource()
146 format_ = source_->GetSourceFormat(); in InitResource()
150 format_ = source_->GetTrackFormat(i); in InitResource()
164 format_ = source_->GetTrackFormat(i); in CheckHevcInfo()
301 format_ = source_->GetTrackFormat(trackIndex_);
849 ASSERT_NE(source_, nullptr);
850 format_ = source_->GetSourceFormat();
880 ASSERT_NE(source_, nullptr);
927 ASSERT_NE(source_, nullptr);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/partial_update/
H A Dpu_synced_property_two_way.ts26 private source_: ObservedPropertyObjectAbstract<C>;
33 this.source_ = source;
34 if (this.source_) {
36 this.source_.addSubscriber(this);
50 if (this.source_) {
51 this.source_.removeSubscriber(this);
54 ObservedObject.removeOwningProperty(this.source_.getUnmonitored(), this);
60 …return (this.source_ && this.source_ instanceof ObservedPropertyAbstract && (!(this.source_ instan…
64 if (!this.source_) {
78 this.source_.set(newValue);
[all …]
H A Dpu_synced_property_one_way.ts72 private source_: ObservedPropertyAbstract<C>;
85 this.source_ = source;
89 this.source_.addSubscriber(this);
103 if (this.source_ !== undefined) {
115 if (this.source_) {
116 this.source_.removeSubscriber(this);
119 this.source_.aboutToBeDeleted();
122 this.source_ = undefined;
132 if (this.source_ === undefined) {
156 if (this.source_ == undefined) {
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/full_update/
H A Dfu_synced_property_simple_two_way.ts24 private source_: ObservedPropertyAbstract<T>;
29 this.source_ = source;
30 this.source_.subscribeMe(this);
38 if (this.source_) {
39 this.source_.unlinkSuscriber(this.id__());
40 this.source_ = undefined;
58 if (!this.source_) {
63 return this.source_.get();
68 if (!this.source_) {
72 if (this.source_.get() === newValue) {
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/unittest/avsource_test/inner/
H A Davsource_inner_mock.cpp22 if (source_ != nullptr) { in Destroy()
23 source_ = nullptr; in Destroy()
31 if (source_ != nullptr) { in GetSourceFormat()
33 source_->GetSourceFormat(format); in GetSourceFormat()
41 if (source_ != nullptr) { in GetTrackFormat()
43 source_->GetTrackFormat(format, trackIndex); in GetTrackFormat()
51 if (source_ != nullptr) { in GetUserData()
53 source_->GetUserMeta(format); in GetUserData()
61 return source_; in GetAVSource()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/avsource_test/capi/
H A Davsource_capi_mock.cpp24 if (source_ != nullptr) { in Destroy()
25 int32_t ret = OH_AVSource_Destroy(source_); in Destroy()
26 source_ = nullptr; in Destroy()
34 if (source_ != nullptr) { in GetSourceFormat()
35 OH_AVFormat *format = OH_AVSource_GetSourceFormat(source_); in GetSourceFormat()
46 if (source_ != nullptr) { in GetTrackFormat()
47 OH_AVFormat *format = OH_AVSource_GetTrackFormat(source_, trackIndex); in GetTrackFormat()
63 return source_; in GetAVSource()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/property/
H A Ddefault_value_bind.h40 Bind(other.source_.lock()); in META_BEGIN_NAMESPACE()
44 Bind(other.source_.lock()); in META_BEGIN_NAMESPACE()
52 Bind(other.source_.lock()); in META_BEGIN_NAMESPACE()
59 Bind(other.source_.lock()); in META_BEGIN_NAMESPACE()
67 if (source == source_.lock()) { in META_BEGIN_NAMESPACE()
73 source_ = source; in META_BEGIN_NAMESPACE()
76 const auto source = source_.lock(); in META_BEGIN_NAMESPACE()
92 if (const auto source = source_.lock()) { in META_BEGIN_NAMESPACE()
96 source_.reset(); in META_BEGIN_NAMESPACE()
121 IProperty::ConstWeakPtr source_; in META_BEGIN_NAMESPACE() local
H A Dbinding.h37 explicit Binding(const IProperty::ConstPtr& source) noexcept : source_(source) {} in META_BEGIN_NAMESPACE()
50 if (const auto source = source_.lock()) { in META_BEGIN_NAMESPACE()
62 IProperty::ConstWeakPtr source_; in META_BEGIN_NAMESPACE()
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/core/
H A Dsource.cpp22 : Base(pkgVer, apiVer, plugin), source_(std::move(plugin)) in Source()
28 return source_->SetSource(source); in SetSource()
33 return source_->Read(buffer, expectedLen); in Read()
38 return source_->GetSize(size); in GetSize()
43 return source_->GetSeekable(); in GetSeekable()
48 return source_->SeekTo(offset); in SeekTo()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/
H A Dconnector.cpp23 auto source = source_.lock(); in META_BEGIN_NAMESPACE()
49 auto source = source_.lock(); in DetachFrom()
64 source_ = interface_pointer_cast<IMetadata>(source); in Connect()
67 return !source_.expired() && !eventName_.empty() && !funcName_.empty(); in Connect()
72 return interface_pointer_cast<IObject>(source_); in GetSource()
85 return Serializer(c) & NamedValue("Source", source_) & NamedValue("Event", eventName_) & in Export()
94 source_ = p; in Import()
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/depiction/
H A Ddepict_transform.h49 : source_(&source), trans_(&tr) {} in DepictTransform()
53 source_ = &source; in Attach()
58 source_->Rewind(pathId); in Rewind()
63 uint32_t cmd = source_->GenerateVertex(x, y); in GenerateVertex()
77 VertexSource* source_;
H A Ddepict_curve.h52 : source_(&source), lastX_(0), lastY_(0) {} in DepictCurve()
56 source_ = &source; in Attach()
157 UICanvasVertices* source_; variable
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_decode/common/
H A Dmock_heif_hw_decode_flow.cpp56 string baseDir = filesystem::path(source_).filename().string(); in ParseGridInfo()
60 "invalid source: %{public}s", source_.c_str()); in ParseGridInfo()
64 …N_VAL_WITH_MSG(vecTmp.size() != SUB_SEG_CNT, false, "invalid source: %{public}s", source_.c_str()); in ParseGridInfo()
76 "invalid source: %{public}s", source_.c_str()); in ParseGridInfo()
82 "invalid source: %{public}s", source_.c_str()); in ParseGridInfo()
88 "invalid source: %{public}s", source_.c_str()); in ParseGridInfo()
97 DIR *dirp = opendir(source_.c_str()); in FindXpsAndIFrameFile()
99 source_.c_str(), errno); in FindXpsAndIFrameFile()
105 string path = JoinPath(source_, dp->d_name); in FindXpsAndIFrameFile()
149 …IF_TRUE_RETURN_VAL_WITH_MSG(xpsFile_.empty(), false, "no xps file in %{public}s", source_.c_str()); in ReadInput()
[all …]
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/modules/demuxer/
H A Dmedia_demuxer.cpp158 source_ = nullptr; in ~MediaDemuxer()
1102 if (source_ != nullptr && source_->IsSeekToTimeSupported()) { in SeekTo()
1206 if (source_ != nullptr && source_->IsSeekToTimeSupported()) { in Flush()
1224 source_->Stop(); in StopAllTask()
1288 if (source_) { in Pause()
1314 if (source_) { in PauseDragging()
1337 if (source_) { in PauseAudioAlign()
1378 if (source_) { in Resume()
1404 if (source_) { in ResumeDragging()
1423 if (source_) { in ResumeAudioAlign()
[all …]
H A Dbase_stream_demuxer.cpp58 source_ = source; in SetSource()
59 source_->GetSize(mediaDataSize_); in SetSource()
60 seekable_ = source_->GetSeekable(); in SetSource()
91 source_->SetDemuxerState(streamId); in SetDemuxerState()
113 return source_->GetSeekable(); in GetSeekable()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/data_producer/demuxer/
H A Ddemuxer.cpp32 CHECK_AND_RETURN_RET_LOG(file_ == nullptr && source_ == nullptr && demuxer_ == nullptr, in Init()
42source_ = std::shared_ptr<OH_AVSource>(OH_AVSource_CreateWithFD(fileFd, 0, fileSize), OH_AVSource_… in Init()
43 CHECK_AND_RETURN_RET_LOG(source_ != nullptr, AVCODEC_SAMPLE_ERR_ERROR, in Init()
46 source_ = std::shared_ptr<OH_AVSource>( in Init()
48 CHECK_AND_RETURN_RET_LOG(source_ != nullptr, AVCODEC_SAMPLE_ERR_ERROR, in Init()
51 …demuxer_ = std::shared_ptr<OH_AVDemuxer>(OH_AVDemuxer_CreateWithSource(source_.get()), OH_AVDemuxe… in Init()
53 …auto sourceFormat = std::shared_ptr<OH_AVFormat>(OH_AVSource_GetSourceFormat(source_.get()), OH_AV… in Init()
102 …std::shared_ptr<OH_AVFormat>(OH_AVSource_GetTrackFormat(source_.get(), index), OH_AVFormat_Destroy… in GetVideoTrackInfo()
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/diagram/depiction/
H A Ddepict_curve.cpp37 source_->Rewind(pathId); in Rewind()
68 uint32_t cmd = source_->GenerateVertex(x, y); in GenerateVertex()
71 source_->GenerateVertex(&endX, &endY); in GenerateVertex()
81 source_->GenerateVertex(&control2X, &control2Y); in GenerateVertex()
82 source_->GenerateVertex(&endX, &endY); in GenerateVertex()
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/media_manager/
H A Dreader.cpp34 source_ = nullptr; in ~Reader()
48 source_ = MediaAVCodec::AVSourceFactory::CreateWithFD(inputFd, DEFAULT_OFFSET, off); in Create()
49 DP_CHECK_ERROR_RETURN_RET_LOG(source_ == nullptr, ERROR_FAIL, "create avsource failed."); in Create()
62 DP_CHECK_ERROR_RETURN_RET_LOG(source_ == nullptr, ERROR_FAIL, "avsource is nullptr."); in GetSourceFormat()
65 auto ret = source_->GetSourceFormat(sourceFormat); in GetSourceFormat()
70 ret = source_->GetUserMeta(userMeta); in GetSourceFormat()
83 auto track = TrackFactory::GetInstance().CreateTrack(source_, index); in InitTracksAndDemuxer()
91 auto ret = inputDemuxer_->Create(source_, tracks_); in InitTracksAndDemuxer()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/plugin/
H A Dplugin_component_template.h33 return source_; in GetSource()
38 source_ = source; in SetSource()
52 std::string source_;
/ohos5.0/foundation/multimedia/av_codec/test/unittest/reference_parser_test/reference_parser_demo/
H A Dreference_parser_demo.cpp62 source_ = nullptr; in ~ReferenceParserDemo()
92 source_ = AVSourceFactory::CreateWithFD(fd_, 0, size); in InitDemuxer()
93 if (source_ == nullptr) { in InitDemuxer()
98 source_->GetSourceFormat(format); in InitDemuxer()
102 source_->GetTrackFormat(format, i); in InitDemuxer()
109 demuxer_ = AVDemuxerFactory::CreateWithSource(source_); in InitDemuxer()

123