summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libdce.c3
-rw-r--r--libdce_linux.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/libdce.c b/libdce.c
index a51e5b3..6b664bd 100644
--- a/libdce.c
+++ b/libdce.c
@@ -654,7 +654,8 @@ static XDAS_Int32 process(void *codec, void *inBufs, void *outBufs,
654 MmRpc_OFFSET((int32_t)inBufs, (int32_t)data_buf), 654 MmRpc_OFFSET((int32_t)inBufs, (int32_t)data_buf),
655 (size_t)*data_buf, (size_t)*data_buf); 655 (size_t)*data_buf, (size_t)*data_buf);
656#ifdef BUILDOS_LINUX 656#ifdef BUILDOS_LINUX
657 if(count == CHROMA_BUF && codec_id == OMAP_DCE_VIDENC2 ){ 657 /*Single planar input buffer for Encoder. No adjustments needed for Multiplanar case*/
658 if(count == CHROMA_BUF && codec_id == OMAP_DCE_VIDENC2 && ((IVIDEO2_BufDesc *)inBufs)->planeDesc[LUMA_BUF].buf == ((IVIDEO2_BufDesc *)inBufs)->planeDesc[CHROMA_BUF].buf){
658 if(((IVIDEO2_BufDesc *)inBufs)->planeDesc[count].memType == XDM_MEMTYPE_RAW || 659 if(((IVIDEO2_BufDesc *)inBufs)->planeDesc[count].memType == XDM_MEMTYPE_RAW ||
659 ((IVIDEO2_BufDesc *)inBufs)->planeDesc[count].memType == XDM_MEMTYPE_TILEDPAGE ) 660 ((IVIDEO2_BufDesc *)inBufs)->planeDesc[count].memType == XDM_MEMTYPE_TILEDPAGE )
660 *data_buf += ((IVIDEO2_BufDesc *)inBufs)->planeDesc[LUMA_BUF].bufSize.bytes; 661 *data_buf += ((IVIDEO2_BufDesc *)inBufs)->planeDesc[LUMA_BUF].bufSize.bytes;
diff --git a/libdce_linux.c b/libdce_linux.c
index 0a86905..85dc517 100644
--- a/libdce_linux.c
+++ b/libdce_linux.c
@@ -38,7 +38,7 @@
38#include <omap_drm.h> 38#include <omap_drm.h>
39#include <omap_drmif.h> 39#include <omap_drmif.h>
40 40
41#include <MmRpc.h> 41#include <ti/ipc/mm/MmRpc.h>
42#include "dce_priv.h" 42#include "dce_priv.h"
43#include "libdce.h" 43#include "libdce.h"
44#include "dce_rpc.h" 44#include "dce_rpc.h"