/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/common/ |
H A D | stream_parser_manager.h | 28 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 D | stream_parser_manager.cpp | 32 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()
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/base/test/unittest/common/base/ |
H A D | dcamera_channel_info_cmd_test.cpp | 37 "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}]} 83 "Value": {Detail": [{"DataSessionFlag": "TestFlag", "StreamType": 1}]} 90 "Value": {"SourceDevId": 0, "Detail": [{"DataSessionFlag": "TestFlag", "StreamType": 1}]} 104 "Value": {"SourceDevId": "TestDevId", "Detail": "[{"DataSessionFlag": "TestFlag", "StreamType": 1}]"} 111 "Value": {"SourceDevId": "TestDevId", "Detail": [{"StreamType" [all...] |
H A D | dcamera_capture_info_cmd_test.cpp | 39 "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, 109 "IsCapture": true, "EncodeType": 1, "StreamType": 1, 120 "IsCapture": true, "EncodeType": 1, "StreamType": 1, 131 "IsCapture": true, "EncodeType": 1, "StreamType": 1, 142 "IsCapture": true, "EncodeType": 1, "StreamType" [all...] |
/foundation/multimedia/av_codec/test/unittest/filter_test/ |
H A D | muxer_filter_unit_test.cpp | 122 StreamType streamType = StreamType::STREAMTYPE_ENCODED_VIDEO; in HWTEST_F() 137 StreamType streamType = StreamType::STREAMTYPE_ENCODED_VIDEO; in HWTEST_F() 164 StreamType streamType = StreamType::STREAMTYPE_ENCODED_VIDEO; in HWTEST_F() 167 streamType = StreamType::STREAMTYPE_ENCODED_AUDIO; in HWTEST_F() 187 StreamType streamType = StreamType::STREAMTYPE_ENCODED_AUDIO; in HWTEST_F() 221 StreamType streamTyp in HWTEST_F() [all...] |
H A D | audio_data_source_filter_unit_test.cpp | 183 StreamType outType = StreamType::STREAMTYPE_RAW_AUDIO; in HWTEST_F() 202 StreamType outType = StreamType::STREAMTYPE_RAW_AUDIO; in HWTEST_F() 220 StreamType inType = StreamType::STREAMTYPE_RAW_AUDIO; in HWTEST_F() 240 StreamType inType = StreamType::STREAMTYPE_RAW_AUDIO; in HWTEST_F() 260 StreamType inType = StreamType in HWTEST_F() [all...] |
H A D | demuxer_filter_unit_test.cpp | 67 Status OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta, in OnLinked() 100 Status OnCallback(const std::shared_ptr<Filter> &filter, FilterCallBackCommand cmd, StreamType outType) in OnCallback() 370 demuxerFilter_->UpdateTrackIdMap(StreamType::STREAMTYPE_RAW_AUDIO, 1); in HWTEST_F() 371 demuxerFilter_->UpdateTrackIdMap(StreamType::STREAMTYPE_RAW_AUDIO, 1); in HWTEST_F() 383 demuxerFilter_->FindTrackId(StreamType::STREAMTYPE_RAW_AUDIO, idTmp); in HWTEST_F() 387 demuxerFilter_->track_id_map_.insert({ StreamType::STREAMTYPE_RAW_AUDIO, idVec }); in HWTEST_F() 388 demuxerFilter_->FindTrackId(StreamType::STREAMTYPE_RAW_AUDIO, idTmp); in HWTEST_F() 392 demuxerFilter_->track_id_map_.insert({ StreamType::STREAMTYPE_RAW_AUDIO, idVec }); in HWTEST_F() 393 demuxerFilter_->FindTrackId(StreamType::STREAMTYPE_RAW_AUDIO, idTmp); in HWTEST_F() 405 auto audio = StreamType in HWTEST_F() [all...] |
H A D | audio_capture_filter_unit_test.cpp | 238 StreamType outType = StreamType::STREAMTYPE_RAW_AUDIO; in HWTEST_F() 347 StreamType outType = StreamType::STREAMTYPE_PACKED; in HWTEST_F() 359 StreamType outType = StreamType::STREAMTYPE_PACKED; in HWTEST_F() 371 StreamType inType = StreamType::STREAMTYPE_PACKED; in HWTEST_F() 383 StreamType inType = StreamType in HWTEST_F() [all...] |
/foundation/multimedia/av_codec/interfaces/inner_api/native/ |
H A D | demuxer_filter.h | 73 Status LinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override; 74 Status UpdateNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override; 75 Status UnLinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override; 109 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta, 112 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta, 115 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override; 118 bool FindTrackId(StreamType outType, int32_t &trackId); 119 bool FindStreamType(StreamType &streamType, Plugins::MediaType mediaType, std::string mime, size_t index); 121 void UpdateTrackIdMap(StreamType streamType, int32_t index); 122 void FaultDemuxerEventInfoWrite(StreamType [all...] |
H A D | muxer_filter.h | 49 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 D | audio_encoder_filter.h | 46 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 D | audio_capture_filter.h | 45 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 D | audio_data_source_filter.h | 43 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 D | metadata_filter.h | 55 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 D | video_capture_filter.h | 55 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 D | surface_decoder_filter.h | 54 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 D | audio_decoder_filter.h | 58 Status LinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override; 60 Status UpdateNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override; 62 Status UnLinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType) override; 87 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta, 90 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta, 93 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
|
H A D | video_resize_filter.h | 53 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;
|
H A D | surface_encoder_filter.h | 58 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;
|
/foundation/multimedia/media_foundation/tests/unittest/pipeline/ |
H A D | pipline_func_unit_test.cpp | 70 Pipeline::StreamType::STREAMTYPE_ENCODED_AUDIO), Status::OK); in HWTEST_F() 72 Pipeline::StreamType::STREAMTYPE_ENCODED_AUDIO), Status::OK); in HWTEST_F() 74 Pipeline::StreamType::STREAMTYPE_ENCODED_AUDIO), Status::OK); in HWTEST_F() 86 Pipeline::StreamType::STREAMTYPE_ENCODED_AUDIO), Status::OK); in HWTEST_F() 88 Pipeline::StreamType::STREAMTYPE_ENCODED_AUDIO), Status::OK); in HWTEST_F() 90 Pipeline::StreamType::STREAMTYPE_ENCODED_AUDIO), Status::OK); in HWTEST_F()
|
/foundation/multimedia/media_foundation/interface/inner_api/filter/ |
H A D | filter.h | 55 enum class StreamType { class 93 virtual Status OnCallback(const std::shared_ptr<Filter>& filter, FilterCallBackCommand cmd, StreamType outType) = 0; 181 virtual Status LinkNext(const std::shared_ptr<Filter>& nextFilter, StreamType outType); 183 virtual Status UpdateNext(const std::shared_ptr<Filter>& nextFilter, StreamType outType); 185 virtual Status UnLinkNext(const std::shared_ptr<Filter>& nextFilter, StreamType outType); 189 virtual Status OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta, 192 virtual Status OnUpdated(StreamType inType, const std::shared_ptr<Meta>& meta, 195 virtual Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback); 232 std::vector<StreamType> supportedInStreams_; 233 std::vector<StreamType> supportedOutStreams [all...] |
/foundation/multimedia/camera_framework/services/camera_service/binder/server/src/ |
H A D | hcapture_session_stub.cpp | 160 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 in HandleRemoveOutput() [all...] |
/foundation/multimedia/av_codec/services/media_engine/filters/ |
H A D | muxer_filter.cpp | 52 StreamType streamType, sptr<AVBufferQueueProducer> inputBufferQueue)
in MuxerBrokerListener() 77 StreamType streamType_;
220 Status MuxerFilter::LinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType)
in LinkNext() 225 Status MuxerFilter::UpdateNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType)
in UpdateNext() 231 Status MuxerFilter::UnLinkNext(const std::shared_ptr<Filter> &nextFilter, StreamType outType)
in UnLinkNext() 243 Status MuxerFilter::OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
in OnLinked() 281 Status MuxerFilter::OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
in OnUpdated() 289 Status MuxerFilter::OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback> &callback)
in OnUnLinked() 296 StreamType streamType, sptr<AVBufferQueueProducer> inputBufferQueue)
in OnBufferFilled() 320 StreamType streamTyp in OnTransCoderBufferFilled() [all...] |
/foundation/multimedia/player_framework/services/engine/histreamer/transcoder/ |
H A D | hitranscoder_impl.h | 86 Pipeline::StreamType outType);
96 Status LinkAudioDecoderFilter(const std::shared_ptr<Pipeline::Filter>& preFilter, Pipeline::StreamType type);
97 Status LinkAudioEncoderFilter(const std::shared_ptr<Pipeline::Filter>& preFilter, Pipeline::StreamType type);
98 Status LinkVideoDecoderFilter(const std::shared_ptr<Pipeline::Filter>& preFilter, Pipeline::StreamType type);
99 Status LinkVideoEncoderFilter(const std::shared_ptr<Pipeline::Filter>& preFilter, Pipeline::StreamType type);
100 Status LinkVideoResizeFilter(const std::shared_ptr<Pipeline::Filter>& preFilter, Pipeline::StreamType type);
101 Status LinkMuxerFilter(const std::shared_ptr<Pipeline::Filter>& preFilter, Pipeline::StreamType type);
|
/foundation/multimedia/av_codec/test/unittest/decoder_filter_test/ |
H A D | metadata_filter_unit_test.cpp | 78 EXPECT_EQ(metaData->UpdateNext(nullptr, Pipeline::StreamType::STREAMTYPE_PACKED), Status::OK);
in HWTEST_F() 79 EXPECT_EQ(metaData->UnLinkNext(nullptr, Pipeline::StreamType::STREAMTYPE_PACKED), Status::OK);
in HWTEST_F() 93 EXPECT_EQ(metaData->OnLinked(Pipeline::StreamType::STREAMTYPE_PACKED, format, nullptr), Status::OK);
in HWTEST_F() 94 EXPECT_EQ(metaData->OnUpdated(Pipeline::StreamType::STREAMTYPE_PACKED, format, nullptr), Status::OK);
in HWTEST_F() 95 EXPECT_EQ(metaData->OnUnLinked(Pipeline::StreamType::STREAMTYPE_PACKED, nullptr), Status::OK);
in HWTEST_F()
|