From 1e95e224d64175c5e92763affe9013ca4ca78ca0 Mon Sep 17 00:00:00 2001 From: Naomi Luis Date: Mon, 7 Mar 2011 17:38:49 -0800 Subject: [PATCH] libgralloc-qsd8k: Move the OMX format definitions to gpu.cpp Change-Id: Ieb6e1f07b6e676d6d9556572a61b70780e4483fc --- libgralloc-qsd8k/gpu.cpp | 5 +++++ libgralloc-qsd8k/gralloc_priv.h | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libgralloc-qsd8k/gpu.cpp b/libgralloc-qsd8k/gpu.cpp index 81b4579..0dace4d 100755 --- a/libgralloc-qsd8k/gpu.cpp +++ b/libgralloc-qsd8k/gpu.cpp @@ -23,6 +23,11 @@ #include "gr.h" #include "gpu.h" +static const int OMX_QCOM_COLOR_FormatYVU420SemiPlanar = 0x7FA30C00; +static const int QOMX_COLOR_FormatYUV420PackedSemiPlanar64x32Tile2m8ka = 0x7FA30C03; +static const int QOMX_INTERLACE_FLAG = 0x49283654; +static const int QOMX_3D_VIDEO_FLAG = 0x23784238; + gpu_context_t::gpu_context_t(Deps& deps, PmemAllocator& pmemAllocator, PmemAllocator& pmemAdspAllocator, const private_module_t* module) : deps(deps), diff --git a/libgralloc-qsd8k/gralloc_priv.h b/libgralloc-qsd8k/gralloc_priv.h index e708452..6aec4d9 100755 --- a/libgralloc-qsd8k/gralloc_priv.h +++ b/libgralloc-qsd8k/gralloc_priv.h @@ -162,11 +162,6 @@ enum { BUFFER_TYPE_UI = 0, BUFFER_TYPE_VIDEO }; - -static const int OMX_QCOM_COLOR_FormatYVU420SemiPlanar = 0x7FA30C00; -static const int QOMX_COLOR_FormatYUV420PackedSemiPlanar64x32Tile2m8ka = 0x7FA30C03; -static const int QOMX_INTERLACE_FLAG = 0x49283654; -static const int QOMX_3D_VIDEO_FLAG = 0x23784238; /*****************************************************************************/ struct private_module_t;