/foundation/multimedia/camera_framework/services/deferred_processing_service/src/media_manager/ |
H A D | mpeg_manager_factory.cpp | 35 const sptr<IPCFileDescriptor>& inputFd) in Acquire() 46 DP_CHECK_ERROR_RETURN_RET_LOG(inputFd == nullptr, nullptr, "inputFd is nullptr."); in Acquire() 49 if (mpegManager_->Init(requestId, inputFd) != OK) { in Acquire() 34 Acquire(const std::string& requestId, const sptr<IPCFileDescriptor>& inputFd) Acquire() argument
|
H A D | reader.cpp | 42 MediaManagerError Reader::Create(int32_t inputFd) in Create() argument 45 DP_CHECK_ERROR_RETURN_RET_LOG(inputFd == INVALID_FD, ERROR_FAIL, "inputFd is invalid: %{public}d.", inputFd); in Create() 47 auto off = lseek(inputFd, DEFAULT_OFFSET, SEEK_END); in Create() 49 source_ = MediaAVCodec::AVSourceFactory::CreateWithFD(inputFd, DEFAULT_OFFSET, off); in Create()
|
H A D | mpeg_manager.cpp | 100 MediaManagerError MpegManager::Init(const std::string& requestId, const sptr<IPCFileDescriptor>& inputFd) in Init() argument 109 auto ret = mediaManager_->Create(inputFd->GetFd(), outputFd_->GetFd(), tempFd_->GetFd()); in Init()
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/post_processor/ |
H A D | video_post_processor.h | 58 bool PrepareStreams(const std::string& videoId, const int inputFd); 61 bool StartMpeg(const std::string& videoId, const sptr<IPCFileDescriptor>& inputFd);
|
/foundation/multimedia/player_framework/services/services/engine_intf/ |
H A D | transcoder_param.h | 96 explicit InputFd(int32_t inputFd, int64_t inputOffset, int64_t inputSize)
in InputFd() 97 : TransCoderParam(TransCoderPublicParamType::INPUT_FD), fd(inputFd), offset(inputOffset), size(inputSize) {}
in InputFd()
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/media_manager/ |
H A D | mpeg_manager_factory.h | 29 std::shared_ptr<MpegManager> Acquire(const std::string& requestId, const sptr<IPCFileDescriptor>& inputFd);
|
H A D | reader.h | 32 MediaManagerError Create(int32_t inputFd);
|
H A D | mpeg_manager.h | 35 MediaManagerError Init(const std::string& requestId, const sptr<IPCFileDescriptor>& inputFd);
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/ |
H A D | bundle_installer_proxy.cpp | 452 int32_t inputFd = open(realPath.c_str(), O_RDONLY); in WriteFile() local 453 if (inputFd < 0) { in WriteFile() 459 if (fstat(inputFd, &sourceStat) == -1) { in WriteFile() 461 close(inputFd); in WriteFile() 466 close(inputFd); in WriteFile() 473 while ((singleTransfer = sendfile(outputFd, inputFd, nullptr, buffer)) > 0) { in WriteFile() 480 close(inputFd); in WriteFile() 484 close(inputFd); in WriteFile()
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/post_processor/ |
H A D | video_post_processor.cpp | 207 bool VideoPostProcessor::PrepareStreams(const std::string& videoId, const int inputFd) in PrepareStreams() argument 213 auto ret = session->Prepare(videoId, inputFd, streamDescs); in PrepareStreams() 262 bool VideoPostProcessor::StartMpeg(const std::string& videoId, const sptr<IPCFileDescriptor>& inputFd) in StartMpeg() argument 264 auto mpegManager = MpegManagerFactory::GetInstance().Acquire(videoId, inputFd); in StartMpeg()
|
/foundation/multimedia/player_framework/frameworks/native/screen_capture/ |
H A D | screen_capture_impl.cpp | 244 std::string inputFd = config.recorderInfo.url.substr(fdHead.size()); in InitCaptureFile() local 245 CHECK_AND_RETURN_RET_LOG(StrToInt(inputFd, outputFd) == true && outputFd >= 0, MSERR_INVALID_VAL, in InitCaptureFile()
|
/foundation/multimedia/player_framework/frameworks/js/recorder/ |
H A D | audio_recorder_napi.cpp | 673 std::string inputFd = uriPath.substr(fdHead.size()); in SetUri() local 674 CHECK_AND_RETURN_RET(StrToInt(inputFd, fd) == true, MSERR_INVALID_VAL); in SetUri()
|
H A D | video_recorder_napi.cpp | 781 std::string inputFd = urlPath.substr(fdHead.size()); in SetUrl() local 782 CHECK_AND_RETURN_RET(StrToInt(inputFd, fd) == true, MSERR_INVALID_VAL); in SetUrl()
|
/foundation/multimedia/player_framework/frameworks/js/player/ |
H A D | audio_player_napi.cpp | 243 std::string inputFd = player->uri_.substr(fdHead.size()); in SetSrc() local 244 if (!StrToInt(inputFd, fd) || fd < 0) { in SetSrc()
|
H A D | video_player_napi.cpp | 256 std::string inputFd = jsPlayer->url_.substr(fdHead.size()); in SetUrl() local 258 if (!StrToInt(inputFd, fd) || fd < 0) { in SetUrl()
|
/foundation/multimedia/player_framework/frameworks/js/avplayer/ |
H A D | avplayer_napi.cpp | 1023 std::string inputFd = url.substr(fdHead.size()); in AddSubSource() local 1025 if (!StrToInt(inputFd, fd) || fd < 0) { in AddSubSource() 1123 std::string inputFd = url.substr(sizeof("fd://") - 1); in SetSource() local 1125 if (!StrToInt(inputFd, fd) || fd < 0) { in SetSource()
|
/foundation/multimedia/player_framework/test/unittest/screen_capture_test/screen_capture_server_function_unittest/src/ |
H A D | screen_capture_server_function_unittest.cpp | 298 std::string inputFd = config_.recorderInfo.url.substr(fdHead.size()); in InitFileScreenCaptureServer() local 299 CHECK_AND_RETURN_RET_LOG(StrToInt(inputFd, outputFd) == true && outputFd >= 0, MSERR_INVALID_VAL, in InitFileScreenCaptureServer()
|
/foundation/multimedia/player_framework/frameworks/js/avrecorder/ |
H A D | avrecorder_napi.cpp | 2167 std::string inputFd = config->url.substr(fdHead.size()); 2168 CHECK_AND_RETURN_RET(StrToInt(inputFd, fd) == true && fd >= 0, GetRetInfo(ret, "Getfd", "uri"));
|