am cd73c9d1: psb-video: Change the surface type to be uncached. to fix potential CTS issue such as: android.media.cts.EncodeDecodeTest#testVP8EncodeDecodeVideoFromBufferToSurfaceQVGA

* commit 'cd73c9d1a30131aecaf31eba26456e55f06d75a4':
  psb-video: Change the surface type to be uncached. to fix potential CTS issue such as: android.media.cts.EncodeDecodeTest#testVP8EncodeDecodeVideoFromBufferToSurfaceQVGA
diff --git a/src/Android.mk b/src/Android.mk
index 15b9370..5cbe6b5 100644
--- a/src/Android.mk
+++ b/src/Android.mk
@@ -26,6 +26,17 @@
 
 include $(CLEAR_VARS)
 
+# pnw_H264.c, pnw_MPEG4.c, pnw_MPEG2.c, pnw_VC1.c, pnw_H263ES.c, tng_H263ES.c, etc.
+# all use GNU old-style field designator extension.
+# psb_drv_video.c: comparison of constant 32 with expression of type 'VAProfile'
+# is always false
+# pnw_H263ES.c and tng_hostcode.c has implicit conversion
+# from one enumeration type to another
+LOCAL_CLANG_CFLAGS += \
+    -Wno-gnu-designator \
+    -Wno-tautological-constant-out-of-range-compare \
+    -Wno-enum-conversion
+
 LOCAL_CFLAGS := \
     -DLINUX -DANDROID -g -Wall -Wno-unused \
     -DPSBVIDEO_LOG_ENABLE -DPSBVIDEO_VXD392 \
diff --git a/src/vsp_VPP.c b/src/vsp_VPP.c
index e597c89..3409a09 100644
--- a/src/vsp_VPP.c
+++ b/src/vsp_VPP.c
@@ -33,6 +33,8 @@
 #include "psb_drv_debug.h"
 #include "vsp_compose.h"
 
+#include <strings.h>
+
 #define INIT_DRIVER_DATA    psb_driver_data_p driver_data = (psb_driver_data_p) ctx->pDriverData;
 #define INIT_CONTEXT_VPP    context_VPP_p ctx = (context_VPP_p) obj_context->format_data;
 #define CONFIG(id)  ((object_config_p) object_heap_lookup( &driver_data->config_heap, id ))