Skip to content

Commit

Permalink
mm-video : Switch back to ion.h from kernel sources.
Browse files Browse the repository at this point in the history
- Also, use kernel header files exported from kernel sources
  for vdec and venc.

Change-Id: I18597074094dd6d5c1dbeed7987e307a73246552

Conflicts:

	mm-video/vidc/venc/Android.mk
  • Loading branch information
Haynes Mathew George authored and arco committed Jul 27, 2012
1 parent cd95c3d commit 5ea4495
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mm-video/vidc/vdec/inc/omx_vdec.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static ptrdiff_t x;
#endif

#ifdef USE_ION
#include <ion_msm.h>
#include <linux/ion.h>
//#include <linux/ion.h> //TBD - uncomment this
//#include <binder/MemoryHeapIon.h>
//#else
Expand Down
2 changes: 1 addition & 1 deletion mm-video/vidc/venc/inc/omx_video_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include<stdlib.h>
#include <stdio.h>
#ifdef USE_ION
#include <ion_msm.h>
#include <linux/ion.h>
#endif

#define OMX_VIDEO_DEC_NUM_INPUT_BUFFERS 2
Expand Down
2 changes: 1 addition & 1 deletion mm-video/vidc/venc/src/video_encoder_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "omx_video_encoder.h"
#include <linux/android_pmem.h>
#ifdef USE_ION
#include <ion_msm.h>
#include <linux/ion.h>
#endif

#define MPEG4_SP_START 0
Expand Down
2 changes: 1 addition & 1 deletion mm-video/vidc/venc/src/video_encoder_device_msm8974.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "omx_video_encoder.h"
#include <linux/android_pmem.h>
#ifdef USE_ION
#include <ion_msm.h>
#include <linux/ion.h>
#endif

#define MPEG4_SP_START 0
Expand Down
2 changes: 1 addition & 1 deletion mm-video/vidc/venc/test/venc_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ REFERENCES
#include "venc_util.h"
#include "extra_data_handler.h"
#ifdef USE_ION
#include <ion_msm.h>
#include <linux/ion.h>
#endif

//////////////////////////
Expand Down

0 comments on commit 5ea4495

Please sign in to comment.