Searched refs:transCoder (Results 1 - 9 of 9) sorted by relevance
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | media_call_transcode.cpp | 42 auto transCoder = TransCoderFactory::CreateTransCoder(); in CallTranscodeHandle() local 43 if (transCoder == nullptr) { in CallTranscodeHandle() 47 transCoderMap_.insert(std::pair<std::string, std::shared_ptr<TransCoder>>(requestId, transCoder)); in CallTranscodeHandle() 54 int32_t ret = transCoder->SetTransCoderCallback(transCoderCb); in CallTranscodeHandle() 59 ret = transCoder->SetInputFile(srcFd, 0, size); in CallTranscodeHandle() 64 ret = transCoder->SetOutputFile(destFd); in CallTranscodeHandle() 69 ret = transCoder->SetOutputFormat(FORMAT_MPEG_4); in CallTranscodeHandle() 74 ret = transCoder->Prepare(); in CallTranscodeHandle() 79 ret = transCoder->Start(); in CallTranscodeHandle()
|
/foundation/multimedia/player_framework/services/engine/histreamer/factory/ |
H A D | hst_engine_factory.cpp | 90 auto transCoder = std::make_unique<HiTransCoderImpl>(appUid, appPid, appTokenId, appFullTokenId);
in CreateTransCoderEngine() local 91 if (transCoder && transCoder->Init() == 0) {
in CreateTransCoderEngine() 92 return transCoder;
in CreateTransCoderEngine() 94 MEDIA_LOG_E("create transCoder failed or transCoder init failed");
in CreateTransCoderEngine()
|
/foundation/multimedia/player_framework/services/services/transcoder/client/ |
H A D | transcoder_client.cpp | 30 std::shared_ptr<TransCoderClient> transCoder = std::make_shared<TransCoderClient>(ipcProxy);
in Create() local 31 CHECK_AND_RETURN_RET_LOG(transCoder != nullptr, nullptr, "failed to new TransCoderClient..");
in Create() 33 int32_t ret = transCoder->CreateListenerObject();
in Create() 36 return transCoder;
in Create()
|
/foundation/multimedia/player_framework/services/services/sa_media/client/ |
H A D | media_local.cpp | 86 int32_t MediaLocal::DestroyTransCoderService(std::shared_ptr<ITransCoderService> transCoder) in DestroyTransCoderService() argument 88 (void)transCoder; in DestroyTransCoderService()
|
H A D | media_client.cpp | 138 CHECK_AND_RETURN_RET_LOG(object != nullptr, nullptr, "transCoder proxy object is nullptr."); in CreateTransCoderService() 141 CHECK_AND_RETURN_RET_LOG(transCoderProxy != nullptr, nullptr, "transCoder proxy is nullptr."); in CreateTransCoderService() 143 std::shared_ptr<TransCoderClient> transCoder = TransCoderClient::Create(transCoderProxy); in CreateTransCoderService() local 144 CHECK_AND_RETURN_RET_LOG(transCoder != nullptr, nullptr, "failed to create transCoder client."); in CreateTransCoderService() 146 transCoderClientList_.push_back(transCoder); in CreateTransCoderService() 147 return transCoder; in CreateTransCoderService() 150 int32_t MediaClient::DestroyTransCoderService(std::shared_ptr<ITransCoderService> transCoder) in DestroyTransCoderService() argument 153 CHECK_AND_RETURN_RET_LOG(transCoder != nullptr, MSERR_NO_MEMORY, "input transCoder i in DestroyTransCoderService() [all...] |
H A D | media_local.h | 39 int32_t DestroyTransCoderService(std::shared_ptr<ITransCoderService> transCoder) override;
|
H A D | media_client.h | 59 int32_t DestroyTransCoderService(std::shared_ptr<ITransCoderService> transCoder) override;
|
/foundation/multimedia/player_framework/services/include/ |
H A D | i_media_service.h | 96 virtual int32_t DestroyTransCoderService(std::shared_ptr<ITransCoderService> transCoder) = 0;
|
/foundation/multimedia/player_framework/services/services/sa_media/server/ |
H A D | media_server_manager.cpp | 309 dumper.entry_ = [transCoder = transCoderStub](int32_t fd) -> int32_t { in CreateTransCoderStubObject() 310 return transCoder->DumpInfo(fd); in CreateTransCoderStubObject() 316 MEDIA_LOGD("The number of transCoder services(%{public}zu) pid(%{public}d).", in CreateTransCoderStubObject() 502 MEDIA_LOGD("destroy transCoder stub services(%{public}zu) pid(%{public}d).", in DestroyAVTransCoderStub() 508 MEDIA_LOGE("find transCoder object failed, pid(%{public}d).", pid); in DestroyAVTransCoderStub()
|
Completed in 5 milliseconds