aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'libdce.c')
-rw-r--r--libdce.c3
1 files changed, 2 insertions, 1 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;