aboutsummaryrefslogtreecommitdiffstats
path: root/videocodec/OMXVideoEncoderBase.h
diff options
context:
space:
mode:
authorChang Ying <ying.chang@intel.com>2013-03-21 17:50:17 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:02:51 -0700
commitcdc52a0c7741ed048da15d9ef44d8fcb0d168cef (patch)
treedfa3994b91df3077f93efb2c3c3430d8915a5f7b /videocodec/OMXVideoEncoderBase.h
parent5096d08f3afc029d82f2e2a34aa1fb8a427ce050 (diff)
downloadandroid_hardware_intel_common_omx-components-cdc52a0c7741ed048da15d9ef44d8fcb0d168cef.tar.gz
android_hardware_intel_common_omx-components-cdc52a0c7741ed048da15d9ef44d8fcb0d168cef.tar.bz2
android_hardware_intel_common_omx-components-cdc52a0c7741ed048da15d9ef44d8fcb0d168cef.zip
VE: resolve compile issue on baytrail
BZ: 94688 Remove dependance on IMG legacy data structure on baytrail. Change-Id: I267ecefdb8ceaaa0c5c55c58d019e2fb8851dab9 Signed-off-by: Chang Ying <ying.chang@intel.com> Reviewed-on: http://android.intel.com:8080/97700 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Feng, Wei <wei.feng@intel.com> Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com> Reviewed-by: Gummadi, Latha C <latha.c.gummadi@intel.com> Tested-by: Gummadi, Latha C <latha.c.gummadi@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'videocodec/OMXVideoEncoderBase.h')
-rw-r--r--videocodec/OMXVideoEncoderBase.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/videocodec/OMXVideoEncoderBase.h b/videocodec/OMXVideoEncoderBase.h
index d14d69d..29a4f63 100644
--- a/videocodec/OMXVideoEncoderBase.h
+++ b/videocodec/OMXVideoEncoderBase.h
@@ -23,8 +23,10 @@
#include <IntelBufferSharing.h>
#include <va/va_tpi.h>
#include <va/va_android.h>
-#include<VideoEncoderHost.h>
+#include <VideoEncoderHost.h>
+#ifdef IMG_GFX
#include <hal/hal_public.h>
+#endif
using android::sp;
@@ -108,6 +110,7 @@ private:
};
public:
+#ifdef IMG_GFX
struct {
OMX_BUFFERHEADERTYPE* mHeader;
buffer_handle_t srcBuffer;
@@ -116,11 +119,12 @@ public:
int32_t mStride;
void *vaddr[3];
} mBufferHandleMaps[INPORT_ACTUAL_BUFFER_COUNT];
- OMX_BOOL bAndroidOpaqueFormat;
alloc_device_t *mAllocDev;
IMG_gralloc_module_public_t const *mGrallocMod;
int32_t mCurHandle;
int32_t rgba2nv12conversion(OMX_BUFFERHEADERTYPE*);
+#endif
+ OMX_BOOL bAndroidOpaqueFormat;
};