From 25928e3093a7c0257128192d7785ec3f74e89e81 Mon Sep 17 00:00:00 2001 From: pans <pansen626@sina.com> Date: 星期六, 30 三月 2019 12:46:20 +0800 Subject: [PATCH] 添加注释 --- QiaoJiaSystem/GB28181DecoderModel/VideoCaptureElementWithRtp.h | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/QiaoJiaSystem/GB28181DecoderModel/VideoCaptureElementWithRtp.h b/QiaoJiaSystem/GB28181DecoderModel/VideoCaptureElementWithRtp.h index cc6b4b9..4722443 100644 --- a/QiaoJiaSystem/GB28181DecoderModel/VideoCaptureElementWithRtp.h +++ b/QiaoJiaSystem/GB28181DecoderModel/VideoCaptureElementWithRtp.h @@ -17,6 +17,14 @@ class VideoCaptureElementWithRtp : public basic::PipeElement { public: + /*** + * VideoCaptureElementWithRtp 瑙嗛瑙g爜 + * @param chanPubID 閫氶亾鍦�(鎽勫儚鏈篿d) + * @param fps + * @param streamTransType 璇锋眰鐨勮棰戞祦绫诲瀷 + * @param gpuIdx gpuindex + * @param manager 涓婂眰绫荤殑鎸囬拡 + */ explicit VideoCaptureElementWithRtp(std::string &chanPubID, int fps, int streamTransType, int gpuIdx = -1, RtspAnalysManager *manager = nullptr); @@ -28,6 +36,11 @@ */ bool getRunning(); + + /*** + * 鑾峰彇鍥剧墖 + * @return + */ cv::Mat getImage(); //淇濆瓨瑙嗛鎺ュ彛,浠嶳tspAnalysManager鍙戣捣璋冪敤 @@ -74,7 +87,7 @@ /*** - * rtp缁勫寘鍥炶皟鍑芥暟 + * GB28181 SDK rtp缁勫寘鍥炶皟鍑芥暟 * @param handle * @param datatype * @param frametype -- Gitblit v1.8.0