From 663104b9be90ed303b87c8acddac8421583a9e39 Mon Sep 17 00:00:00 2001
From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期三, 16 八月 2017 12:38:59 +0800
Subject: [PATCH] aaaaa

---
 RtspFace/PL_Scale.h |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/RtspFace/PL_Scale.h b/RtspFace/PL_Scale.h
index d662b1f..3c074f2 100644
--- a/RtspFace/PL_Scale.h
+++ b/RtspFace/PL_Scale.h
@@ -5,7 +5,8 @@
 
 struct PL_Scale_Config
 {
-	void* windowSurface;
+	bool copyData;
+
 	uint16_t toWidth;
 	uint16_t toHeight;
 	int filterMode; // libyuv/scale.h/FilterMode 
@@ -14,10 +15,11 @@
 	int defaultBytesType; // MBFT_YUV420 / MBFT_BGRA
 	uint16_t defaultBytesWidth;
 	uint16_t defaultBytesHeight;
-	
-	PL_Scale_Config() : 
-		toWidth(0), toHeight(0), filterMode(0), 
-		defaultBytesType(0), defaultBytesWidth(0), defaultBytesHeight(0)
+
+	PL_Scale_Config() :
+			copyData(true),
+			toWidth(0), toHeight(0), filterMode(0),
+			defaultBytesType(0), defaultBytesWidth(0), defaultBytesHeight(0)
 	{ }
 };
 
@@ -35,6 +37,8 @@
 	
 private:
 	void* internal;
+
+	static bool pay_breaker_MBFT(const PipeMaterial* pm, void* args);
 };
 
 PipeLineElem* create_PL_Scale();

--
Gitblit v1.8.0