Home
last modified time | relevance | path

Searched refs:StreamType (Results 1 – 25 of 106) sorted by relevance

12345

/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/base/test/unittest/common/base/
H A Ddcamera_capture_info_cmd_test.cpp39 "IsCapture": true, "EncodeType": 1, "StreamType": 1,
50 "IsCapture": true, "EncodeType": 1, "StreamType": 1,
60 "IsCapture": true, "EncodeType": 1, "StreamType": 1,
71 "IsCapture": true, "EncodeType": 1, "StreamType": 1,
81 "IsCapture": true, "EncodeType": 1, "StreamType": 1,
92 "IsCapture": true, "EncodeType": 1, "StreamType": 1,
131 "IsCapture": true, "EncodeType": 1, "StreamType": 1,
142 "IsCapture": true, "EncodeType": 1, "StreamType": 1,
153 "IsCapture": true, "EncodeType": 1, "StreamType": 1,
219 "EncodeType": 1, "StreamType": 1,
[all …]
H A Ddcamera_channel_info_cmd_test.cpp37 …"Value": {"SourceDevId": "TestDevId", "Detail": [{"DataSessionFlag": "TestFlag", "StreamType": 1}]}
44 …"Value": {"SourceDevId": "TestDevId", "Detail": [{"DataSessionFlag": "TestFlag", "StreamType": 1}]}
50 …"Value": {"SourceDevId": "TestDevId", "Detail": [{"DataSessionFlag": "TestFlag", "StreamType": 1}]}
57 …"Value": {"SourceDevId": "TestDevId", "Detail": [{"DataSessionFlag": "TestFlag", "StreamType": 1}]}
63 …"Value": {"SourceDevId": "TestDevId", "Detail": [{"DataSessionFlag": "TestFlag", "StreamType": 1}]}
70 …"Value": {"SourceDevId": "TestDevId", "Detail": [{"DataSessionFlag": "TestFlag", "StreamType": 1}]}
104 …"Value": {"SourceDevId": "TestDevId", "Detail": "[{"DataSessionFlag": "TestFlag", "StreamType": 1}…
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/common/
H A Dstream_parser_manager.h28 enum StreamType { enum
36 static std::shared_ptr<StreamParserManager> Create(StreamType streamType);
41 static bool Init(StreamType streamType);
65 static bool CheckSymbol(void *handler, StreamType streamType);
66 StreamType streamType_;
68 static std::map<StreamType, void *> handlerMap_;
69 static std::map<StreamType, CreateFunc> createFuncMap_;
70 static std::map<StreamType, DestroyFunc> destroyFuncMap_;
H A Dstream_parser_manager.cpp32 std::map<StreamType, void *> StreamParserManager::handlerMap_ {};
33 std::map<StreamType, CreateFunc> StreamParserManager::createFuncMap_ {};
34 std::map<StreamType, DestroyFunc> StreamParserManager::destroyFuncMap_ {};
38 streamType_ = StreamType::HEVC; in StreamParserManager()
49 bool StreamParserManager::Init(StreamType streamType) in Init()
57 if (streamType == StreamType::HEVC) { in Init()
59 } else if (streamType == StreamType::VVC) { in Init()
75 std::shared_ptr<StreamParserManager> StreamParserManager::Create(StreamType streamType) in Create()
198 bool StreamParserManager::CheckSymbol(void *handler, StreamType streamType) in CheckSymbol()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/filter_test/
H A Dmuxer_filter_unit_test.cpp122 StreamType streamType = StreamType::STREAMTYPE_ENCODED_VIDEO;
137 StreamType streamType = StreamType::STREAMTYPE_ENCODED_VIDEO;
162 StreamType streamType = StreamType::STREAMTYPE_ENCODED_VIDEO;
165 streamType = StreamType::STREAMTYPE_ENCODED_AUDIO;
186 StreamType streamType = StreamType::STREAMTYPE_ENCODED_AUDIO;
214 StreamType streamType = StreamType::STREAMTYPE_ENCODED_VIDEO;
216 streamType = StreamType::STREAMTYPE_ENCODED_VIDEO;
235 StreamType streamType = StreamType::STREAMTYPE_ENCODED_VIDEO;
237 streamType = StreamType::STREAMTYPE_MAX;
/ohos5.0/foundation/multimedia/media_foundation/interface/inner_api/filter/
H A Dfilter.h55 enum class StreamType { enum
197 virtual Status LinkNext(const std::shared_ptr<Filter>& nextFilter, StreamType outType);
199 virtual Status UpdateNext(const std::shared_ptr<Filter>& nextFilter, StreamType outType);
201 virtual Status UnLinkNext(const std::shared_ptr<Filter>& nextFilter, StreamType outType);
205 virtual Status OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta,
208 virtual Status OnUpdated(StreamType inType, const std::shared_ptr<Meta>& meta,
211 … virtual Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback);
227 std::vector<StreamType> supportedInStreams_;
228 std::vector<StreamType> supportedOutStreams_;
230 std::map<StreamType, std::vector<std::shared_ptr<Filter>>> nextFiltersMap_;
[all …]
/ohos5.0/foundation/multimedia/av_codec/interfaces/inner_api/native/
H A Ddemuxer_filter.h78 Status LinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
79 Status UpdateNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
80 Status UnLinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
117 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
120 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
123 …Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
131 bool FindTrackId(StreamType outType, int32_t &trackId);
132 …bool FindStreamType(StreamType &streamType, Plugins::MediaType mediaType, std::string mime, size_t…
134 void UpdateTrackIdMap(StreamType streamType, int32_t index);
135 void FaultDemuxerEventInfoWrite(StreamType& streamType);
[all …]
H A Dmuxer_filter.h49 Status LinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
50 Status UpdateNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
51 Status UnLinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
53 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
55 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
57 …Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
59 StreamType streamType, sptr<AVBufferQueueProducer> inputBufferQueue);
61 StreamType streamType, sptr<AVBufferQueueProducer> inputBufferQueue);
H A Daudio_data_source_filter.h43 Status LinkNext(const std::shared_ptr<Filter>& nextFilter, StreamType outType) override;
44 Status UpdateNext(const std::shared_ptr<Filter>& nextFilter, StreamType outType) override;
45 Status UnLinkNext(const std::shared_ptr<Filter>& nextFilter, StreamType outType) override;
50 Status OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta,
52 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta>& meta,
54 …Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
H A Dsurface_decoder_filter.h54 Status LinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
55 Status UpdateNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
56 Status UnLinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
64 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
66 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
68 …Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
H A Daudio_capture_filter.h45 Status LinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
46 Status UpdateNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
47 Status UnLinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
52 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
54 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
56 …Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback> &callback) override;
H A Daudio_encoder_filter.h46 Status LinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
47 Status UpdateNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
48 Status UnLinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
58 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
60 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
62 …Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
H A Dmetadata_filter.h55 Status LinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
56 Status UpdateNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
57 Status UnLinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
65 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
67 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
69 …Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
H A Dvideo_capture_filter.h55 Status LinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
56 Status UpdateNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
57 Status UnLinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
65 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
67 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
69 …Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
H A Dsurface_encoder_filter.h58 Status LinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
59 Status UpdateNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
60 Status UnLinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
70 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
72 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
74 …Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
H A Daudio_decoder_filter.h60 Status LinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
62 Status UpdateNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
64 Status UnLinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
89 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
92 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
95 …Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
H A Dvideo_resize_filter.h53 Status LinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
54 Status UpdateNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
55 Status UnLinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override;
66 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
68 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
70 …Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/server/src/
H A Dhcapture_session_stub.cpp160 StreamType streamType = static_cast<StreamType>(data.ReadUint32()); in HandleAddOutput()
165 if (streamType == StreamType::CAPTURE) { in HandleAddOutput()
167 } else if (streamType == StreamType::REPEAT) { in HandleAddOutput()
169 } else if (streamType == StreamType::METADATA) { in HandleAddOutput()
171 } else if (streamType == StreamType::DEPTH) { in HandleAddOutput()
180 StreamType streamType = static_cast<StreamType>(data.ReadUint32()); in HandleRemoveOutput()
185 if (streamType == StreamType::CAPTURE) { in HandleRemoveOutput()
187 } else if (streamType == StreamType::REPEAT) { in HandleRemoveOutput()
189 } else if (streamType == StreamType::METADATA) { in HandleRemoveOutput()
191 } else if (streamType == StreamType::DEPTH) { in HandleRemoveOutput()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/filters/
H A Dmuxer_filter.cpp52 StreamType streamType, sptr<AVBufferQueueProducer> inputBufferQueue) in MuxerBrokerListener()
77 StreamType streamType_;
219 Status MuxerFilter::LinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) in LinkNext()
242 Status MuxerFilter::OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta, in OnLinked()
280 Status MuxerFilter::OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta, in OnUpdated()
295 StreamType streamType, sptr<AVBufferQueueProducer> inputBufferQueue) in OnBufferFilled()
319 StreamType streamType, sptr<AVBufferQueueProducer> inputBufferQueue) in OnTransCoderBufferFilled()
324 if (streamType == StreamType::STREAMTYPE_ENCODED_VIDEO) { in OnTransCoderBufferFilled()
327 } else if (streamType == StreamType::STREAMTYPE_ENCODED_AUDIO) { in OnTransCoderBufferFilled()
335 if (streamType == StreamType::STREAMTYPE_ENCODED_AUDIO) { in OnTransCoderBufferFilled()
[all …]
H A Ddemuxer_filter.cpp232 StreamType streamType; in HandleTrackInfos()
243 } else if (streamType == StreamType::STREAMTYPE_ENCODED_VIDEO && in HandleTrackInfos()
257 void DemuxerFilter::FaultDemuxerEventInfoWrite(StreamType& streamType) in FaultDemuxerEventInfoWrite()
302 void DemuxerFilter::UpdateTrackIdMap(StreamType streamType, int32_t index) in UpdateTrackIdMap()
369 auto it = nextFiltersMap_.find(StreamType::STREAMTYPE_ENCODED_VIDEO); in PauseForSeek()
404 auto it = nextFiltersMap_.find(StreamType::STREAMTYPE_ENCODED_VIDEO); in ResumeForSeek()
616 bool DemuxerFilter::FindTrackId(StreamType outType, int32_t &trackId) in FindTrackId()
635 streamType = StreamType::STREAMTYPE_SUBTITLE; in FindStreamType()
638 streamType = StreamType::STREAMTYPE_RAW_AUDIO; in FindStreamType()
640 streamType = StreamType::STREAMTYPE_ENCODED_AUDIO; in FindStreamType()
[all …]
H A Daudio_data_source_filter.cpp105 StreamType::STREAMTYPE_RAW_AUDIO); in DoPrepare()
174 Status AudioDataSourceFilter::LinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outTyp… in LinkNext()
260 Status AudioDataSourceFilter::UpdateNext(const std::shared_ptr<Filter> &nextFilter, StreamType outT… in UpdateNext()
266 Status AudioDataSourceFilter::UnLinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outT… in UnLinkNext()
272 Status AudioDataSourceFilter::OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta, in OnLinked()
279 Status AudioDataSourceFilter::OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta, in OnUpdated()
286 Status AudioDataSourceFilter::OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallbac… in OnUnLinked()
H A Daudio_encoder_filter.cpp128 StreamType::STREAMTYPE_ENCODED_AUDIO); in DoPrepare()
214 Status AudioEncoderFilter::LinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) in LinkNext()
238 Status AudioEncoderFilter::UpdateNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) in UpdateNext()
244 Status AudioEncoderFilter::UnLinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) in UnLinkNext()
256 Status AudioEncoderFilter::OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta, in OnLinked()
264 Status AudioEncoderFilter::OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta, in OnUpdated()
271 Status AudioEncoderFilter::OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>&… in OnUnLinked()
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/pipeline/
H A Dpipline_func_unit_test.cpp70 Pipeline::StreamType::STREAMTYPE_ENCODED_AUDIO), Status::OK);
72 Pipeline::StreamType::STREAMTYPE_ENCODED_AUDIO), Status::OK);
74 Pipeline::StreamType::STREAMTYPE_ENCODED_AUDIO), Status::OK);
86 Pipeline::StreamType::STREAMTYPE_ENCODED_AUDIO), Status::OK);
88 Pipeline::StreamType::STREAMTYPE_ENCODED_AUDIO), Status::OK);
90 Pipeline::StreamType::STREAMTYPE_ENCODED_AUDIO), Status::OK);
/ohos5.0/foundation/multimedia/player_framework/services/engine/histreamer/transcoder/
H A Dhitranscoder_impl.h58 Pipeline::StreamType outType);
68 …kAudioDecoderFilter(const std::shared_ptr<Pipeline::Filter>& preFilter, Pipeline::StreamType type);
69 …kAudioEncoderFilter(const std::shared_ptr<Pipeline::Filter>& preFilter, Pipeline::StreamType type);
70 …kVideoDecoderFilter(const std::shared_ptr<Pipeline::Filter>& preFilter, Pipeline::StreamType type);
71 …kVideoEncoderFilter(const std::shared_ptr<Pipeline::Filter>& preFilter, Pipeline::StreamType type);
72 …nkVideoResizeFilter(const std::shared_ptr<Pipeline::Filter>& preFilter, Pipeline::StreamType type);
73 …Status LinkMuxerFilter(const std::shared_ptr<Pipeline::Filter>& preFilter, Pipeline::StreamType ty…
/ohos5.0/foundation/multimedia/av_codec/test/unittest/audio_encoder_filter_test/
H A Daudio_encoder_filter_unitest.cpp51 …Status OnCallback(const std::shared_ptr<Filter>& filter, FilterCallBackCommand cmd, StreamType out… in OnCallback()
145 Status OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta, in OnLinked()
354 …EXPECT_NE(audioEncoderFilter_->LinkNext(nextFilter, StreamType::STREAMTYPE_ENCODED_VIDEO), Status:…
359 …EXPECT_EQ(audioEncoderFilter_->LinkNext(nextFilter, StreamType::STREAMTYPE_ENCODED_VIDEO), Status:…
366 …EXPECT_NE(audioEncoderFilter_->LinkNext(nextFilter, StreamType::STREAMTYPE_ENCODED_VIDEO), Status:…
373 …EXPECT_NE(audioEncoderFilter_->LinkNext(nextFilter, StreamType::STREAMTYPE_ENCODED_VIDEO), Status:…
380 …EXPECT_EQ(audioEncoderFilter_->UpdateNext(nextFilter, StreamType::STREAMTYPE_ENCODED_VIDEO), Statu…
387 …EXPECT_EQ(audioEncoderFilter_->UnLinkNext(nextFilter, StreamType::STREAMTYPE_ENCODED_VIDEO), Statu…
400 …EXPECT_EQ(audioEncoderFilter_->OnLinked(StreamType::STREAMTYPE_ENCODED_VIDEO, meta, callback), Sta…
407 …EXPECT_EQ(audioEncoderFilter_->OnUpdated(StreamType::STREAMTYPE_ENCODED_VIDEO, meta, callback), St…
[all …]

12345