From 63d598d4443f906b34bedaf49e870b7a2be1a5c8 Mon Sep 17 00:00:00 2001 From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674> Date: 星期四, 06 四月 2017 12:14:30 +0800 Subject: [PATCH] bug fix for android device --- VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapper.h | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapper.h b/VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapper.h index d5ba2a2..9e41b51 100644 --- a/VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapper.h +++ b/VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapper.h @@ -1,6 +1,9 @@ #ifndef __CameraWrapper_H__ #define __CameraWrapper_H__ +#define MAX_FACE 5 +#define MAX_FACE_WIDTH 240 +#define MAX_FACE_HEIGHT 320 #include "FaceCache.h" #include <PipeLine.h> @@ -13,11 +16,6 @@ #include <media/NdkMediaCodec.h> #include <pthread.h> - -#define MAX_FACE 5 -#define MAX_FACE_WIDTH 240 -#define MAX_FACE_HEIGHT 320 -#define USE_ST_SDK class CameraWrapper { -- Gitblit v1.8.0