From 23bd97eaa5626ad96ca3f5d3e97e93d14705ca6d Mon Sep 17 00:00:00 2001 From: chenshijun <csj_sky@126.com> Date: 星期六, 30 三月 2019 17:50:24 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/yangwu1.3' into 1.3nsq --- QiaoJiaSystem/GB28181DecoderModel/FFmpegDecoderJPG.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/QiaoJiaSystem/GB28181DecoderModel/FFmpegDecoderJPG.h b/QiaoJiaSystem/GB28181DecoderModel/FFmpegDecoderJPG.h index dcfa1d2..a7dbb3f 100644 --- a/QiaoJiaSystem/GB28181DecoderModel/FFmpegDecoderJPG.h +++ b/QiaoJiaSystem/GB28181DecoderModel/FFmpegDecoderJPG.h @@ -37,6 +37,7 @@ } #include <mutex> +#include <basic/pipe/TimerElement.h> namespace BASICGB28181 { @@ -48,6 +49,11 @@ static void initFFmpeg(); + /*** + * AVframe杞琧vmat + * @param frame + * @return + */ static cv::Mat avframe_to_cvmat(AVFrame *frame); typedef struct _buffInfo { @@ -56,6 +62,7 @@ std::string camIdx; } frameBuffInfo; + //************褰曞儚妯″潡浣跨敤鐨勭粨鏋勪綋********************// struct FrameIdPackage_s_t { int64_t m_frameId; AVPacket m_packet; @@ -82,6 +89,7 @@ RECORDING_VIDEO, STOP_RECORD, }; + //********************************// // std::map<std::string, MyQueue<frameBuffInfo *> > MapMyQueue; static std::mutex g_mutex; -- Gitblit v1.8.0