From fa4bbbf0b448dad155a05f0d3cc27fb118ba6053 Mon Sep 17 00:00:00 2001
From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期二, 18 四月 2017 18:18:46 +0800
Subject: [PATCH] update librtspface.so

---
 VisitFace/RtspNativeCodec/app/src/main/cpp/FaceCache.cpp |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/VisitFace/RtspNativeCodec/app/src/main/cpp/FaceCache.cpp b/VisitFace/RtspNativeCodec/app/src/main/cpp/FaceCache.cpp
index 0437b6e..719b236 100644
--- a/VisitFace/RtspNativeCodec/app/src/main/cpp/FaceCache.cpp
+++ b/VisitFace/RtspNativeCodec/app/src/main/cpp/FaceCache.cpp
@@ -338,6 +338,16 @@
             return false;
         }
 
+        /*
+        uint8_t* pbuf = buffImg + imgidx.offset;
+        uint8_t* psrc = ctx.frameRGB + (ctx.width * faceRect.leftTop.y + faceRect.leftTop.x) * 2;
+        for (int row = 0; row < faceRect.height(); row++)
+        {
+            memcpy(pbuf, psrc, imgidx.width * 2);
+            pbuf += imgidx.width * 2;
+            psrc += ctx.width * 2;
+        }
+         */
 
         uint8_t* pbuf = buffImg + imgidx.offset;
         memcpy(pbuf, roiMat.ptr(), imgidx.size);

--
Gitblit v1.8.0