/ohos5.0/foundation/multimedia/av_codec/frameworks/native/capi/avcodec/ |
H A D | native_video_encoder.cpp | 54 const std::shared_ptr<AVCodecVideoEncoder> videoEncoder_; member 463 int32_t ret = videoEncObj->videoEncoder_->Release(); in OH_VideoEncoder_Destroy() 506 int32_t ret = videoEncObj->videoEncoder_->Prepare(); in OH_VideoEncoder_Prepare() 523 int32_t ret = videoEncObj->videoEncoder_->Start(); in OH_VideoEncoder_Start() 539 int32_t ret = videoEncObj->videoEncoder_->Stop(); in OH_VideoEncoder_Stop() 557 int32_t ret = videoEncObj->videoEncoder_->Flush(); in OH_VideoEncoder_Flush() 573 int32_t ret = videoEncObj->videoEncoder_->Reset(); in OH_VideoEncoder_Reset() 610 int32_t ret = videoEncObj->videoEncoder_->GetOutputFormat(format); in OH_VideoEncoder_GetOutputDescription() 665 int32_t ret = videoEncObj->videoEncoder_->NotifyEos(); in OH_VideoEncoder_NotifyEndOfStream() 756 int32_t ret = videoEncObj->videoEncoder_->SetCallback( in OH_VideoEncoder_RegisterParameterCallback() [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screentransport/screensourceprocessor/encoder/src/ |
H A D | image_source_encoder.cpp | 243 if (videoEncoder_ == nullptr) { in ReleaseEncoder() 258 videoEncoder_ = nullptr; in ReleaseEncoder() 266 if (videoEncoder_ == nullptr) { in StartEncoder() 277 ret = videoEncoder_->Start(); in StartEncoder() 289 if (videoEncoder_ == nullptr) { in StopEncoder() 294 int32_t ret = videoEncoder_->Flush(); in StopEncoder() 299 ret = videoEncoder_->Stop(); in StopEncoder() 330 videoEncoder_ = nullptr; in InitVideoEncoder() 333 if (videoEncoder_ == nullptr) { in InitVideoEncoder() 351 if (videoEncoder_ == nullptr) { in SetEncoderFormat() [all …]
|
H A D | image_encoder_callback.cpp | 26 std::shared_ptr<ImageSourceEncoder> encoder = videoEncoder_.lock(); in OnError() 38 std::shared_ptr<ImageSourceEncoder> encoder = videoEncoder_.lock(); in OnOutputBufferAvailable() 49 std::shared_ptr<ImageSourceEncoder> encoder = videoEncoder_.lock(); in OnInputBufferAvailable() 60 std::shared_ptr<ImageSourceEncoder> encoder = videoEncoder_.lock(); in OnOutputFormatChanged()
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/src/pipeline_node/multimedia_codec/encoder/ |
H A D | encode_data_process.cpp | 135 if (videoEncoder_ == nullptr) { in ConfigureVideoEncoder() 240 if (videoEncoder_ == nullptr) { in StartVideoEncoder() 248 ret = videoEncoder_->Start(); in StartVideoEncoder() 256 if (videoEncoder_ == nullptr) { in StopVideoEncoder() 267 ret = videoEncoder_->Stop(); in StopVideoEncoder() 283 if (videoEncoder_ == nullptr) { in ReleaseVideoEncoder() 291 ret = videoEncoder_->Release(); in ReleaseVideoEncoder() 295 videoEncoder_ = nullptr; in ReleaseVideoEncoder() 330 if (videoEncoder_ == nullptr) { in ProcessData() 518 videoEncoder_->Flush(); in OnError() [all …]
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/avcodec/ |
H A D | avcodec_task_manager.cpp | 65 videoEncoder_ = make_unique<VideoEncoder>(type); in AvcodecTaskManager() 96 if (!thisPtr->videoEncoder_ && !frameRecord) { in EncodeVideoBuffer() 99 isEncodeSuccess = thisPtr->videoEncoder_->EncodeSurfaceBuffer(frameRecord); in EncodeVideoBuffer() 101 thisPtr->videoEncoder_->ReleaseSurfaceBuffer(frameRecord); in EncodeVideoBuffer() 385 if (videoEncoder_ != nullptr) { in Release() 386 videoEncoder_->Release(); in Release() 407 if (videoEncoder_ != nullptr) { in Stop() 408 videoEncoder_->Stop(); in Stop()
|
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screentransport/screensourceprocessor/encoder/include/ |
H A D | image_encoder_callback.h | 31 : videoEncoder_(encoder) {}; in ImageEncoderCallback() 43 std::weak_ptr<ImageSourceEncoder> videoEncoder_; variable
|
H A D | image_source_encoder.h | 86 std::shared_ptr<MediaAVCodec::AVCodecVideoEncoder> videoEncoder_; variable
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/av_sender/src/ |
H A D | av_sender_engine.cpp | 49 videoEncoder_ = nullptr; in ~AVSenderEngine() 82 …videoEncoder_ = FilterFactory::Instance().CreateFilterWithType<VideoEncoderFilter>(VENCODER_NAME, … in InitPipeline() 83 …TRUE_RETURN_V_MSG_E(videoEncoder_ == nullptr, ERR_DH_AVT_NULL_POINTER, "create av video encoder fi… in InitPipeline() 92 ret = pipeline_->AddFilters({avInput_.get(), videoEncoder_.get(), avOutput_.get()}); in InitPipeline() 94 ret = pipeline_->LinkFilters({avInput_.get(), videoEncoder_.get(), avOutput_.get()}); in InitPipeline() 210 videoEncoder_ = nullptr; in Release() 395 videoEncoder_->SetVideoEncoder(0, std::make_shared<Plugin::Meta>(encoderMeta)); in SetVideoCodecType() 405 videoEncoder_->SetVideoEncoder(0, std::make_shared<Plugin::Meta>(encoderMeta)); in SetVideoCodecType()
|
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screensourceprocessor/src/ |
H A D | image_source_encoder_test.cpp | 106 encoder->videoEncoder_ = MediaAVCodec::VideoEncoderFactory::CreateByMime( 133 encoder->videoEncoder_ = MediaAVCodec::VideoEncoderFactory::CreateByMime( 159 encoder->videoEncoder_ = MediaAVCodec::VideoEncoderFactory::CreateByMime(
|
/ohos5.0/foundation/multimedia/media_foundation/engine/scene/recorder/standard/ |
H A D | hirecorder_impl.cpp | 492 videoEncoder_ = FilterFactory::Instance().CreateFilterWithType<VideoEncoderFilter>( in SetVideoSourceInternal() 494 …FALSE_RETURN_V_MSG_E(videoCapture_ != nullptr && videoEncoder_ != nullptr, ErrorCode::ERROR_UNKNOW… in SetVideoSourceInternal() 496 auto ret = pipeline_->AddFilters({videoCapture_.get(), videoEncoder_.get()}); in SetVideoSourceInternal() 498 ret = pipeline_->LinkFilters({videoCapture_.get(), videoEncoder_.get()}); in SetVideoSourceInternal() 503 ret = pipeline_->LinkPorts(videoEncoder_->GetOutPort(PORT_NAME_DEFAULT), muxerInPort); in SetVideoSourceInternal() 558 …FALSE_RETURN_V_MSG_E(videoCapture_ != nullptr && videoEncoder_ != nullptr, ErrorCode::ERROR_INVALI… in DoConfigureVideo() 596 return videoEncoder_->SetVideoEncoder(param.srcId, encoderMeta); in DoConfigureVideo()
|
H A D | hirecorder_impl.h | 119 std::shared_ptr<Pipeline::VideoEncoderFilter> videoEncoder_; variable
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/include/avcodec/ |
H A D | avcodec_task_manager.h | 81 unique_ptr<VideoEncoder> videoEncoder_ = nullptr; variable
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/av_sender/include/ |
H A D | av_sender_engine.h | 132 std::shared_ptr<OHOS::Media::Pipeline::VideoEncoderFilter> videoEncoder_ = nullptr; variable
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/include/pipeline_node/multimedia_codec/encoder/ |
H A D | encode_data_process.h | 130 std::shared_ptr<MediaAVCodec::AVCodecVideoEncoder> videoEncoder_ = nullptr; variable
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/av_sender/test/unittest/av_sender_engine/src/ |
H A D | av_sender_engine_test.cpp | 62 sender->videoEncoder_ =
|