From fff9a88d408eab2c16850ac696a45ae27118bfee Mon Sep 17 00:00:00 2001
From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期一, 17 四月 2017 16:56:35 +0800
Subject: [PATCH] update librtspface.so
---
RtspFace/PL_AVFrameBGRA.h | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/RtspFace/PL_AVFrameBGRA.h b/RtspFace/PL_AVFrameBGRA.h
index 19c1381..090d91f 100644
--- a/RtspFace/PL_AVFrameBGRA.h
+++ b/RtspFace/PL_AVFrameBGRA.h
@@ -3,6 +3,22 @@
#include "PipeLine.h"
+struct PL_AVFrameBGRA_Config
+{
+ enum
+ {
+ I420_TO_BGRA8888,
+ I420_TO_ARGB8888,
+ I420_TO_RGBA8888,
+ I420_TO_ARGB4444,
+ I420_TO_RGB565
+ } convertTo;
+
+ PL_AVFrameBGRA_Config() : convertTo(I420_TO_BGRA8888)
+ {
+ }
+};
+
class PL_AVFrameBGRA : public PipeLineElem
{
public:
--
Gitblit v1.8.0