Use VA type surface for QVGA encode for Moorifield

BZ: 182196

To fix a CTS bug, using va type surface for QVGA encode.
This is just a walkround method.

Change-Id: I597f1ead5251aa0cc316097f203467354dc3a7a7
Signed-off-by: bolunliu <bolun.liu@intel.com>
diff --git a/videoencoder/VideoEncoderUtils.cpp b/videoencoder/VideoEncoderUtils.cpp
index 0ccbb3b..8e08688 100644
--- a/videoencoder/VideoEncoderUtils.cpp
+++ b/videoencoder/VideoEncoderUtils.cpp
@@ -321,6 +321,10 @@
             mAction |= MAP_ACTION_COPY;
         }
 
+        if(mAction & MAP_ACTION_ALIGN64 && width <= 320 && height <= 240) {
+            mAction |= MAP_ACTION_COPY;
+        }
+
         if (mAction & MAP_ACTION_COPY) { //must allocate new vasurface(EXternalMemoryNULL, uncached)
             //allocate new vasurface
             mVASurface = CreateNewVASurface(mVADisplay, stride, height);