for (plane = 0; plane < MFC_INPUT_BUFFER_PLANE; plane++) {
/* It seems MFC is not considering fd, so sending physical address.
Will be removed when MFC works correctly with buf fd. */
- srcInputData->buffer.multiPlaneBuffer.dataBuffer[plane] = mm_buf->handle.paddr[plane];
+ srcInputData->buffer.multiPlaneBuffer.dataBuffer[plane] = mm_buf->data[plane];//handle.paddr[plane];
srcInputData->buffer.multiPlaneBuffer.fd[plane] = mm_buf->handle.dmabuf_fd[plane];
srcInputData->buffer.multiPlaneBuffer.size[plane] = mm_buf->size[plane];
Exynos_OSAL_Log(EXYNOS_LOG_ERROR, "[ENC] get fd[%d] %d , a[%d] %x size:[%d]"
#include "Exynos_OMX_Baseport.h"
#include "Exynos_OMX_Basecomponent.h"
-#define MAX_VIDEO_INPUTBUFFER_NUM 5
+#ifdef SLP_PLATFORM
+/* FIXME: for camera slow motion 12 buffer and eos issue, we increase this value */
+/* FIXME: for trim small resolution video. dec + enc case */
+#define MAX_CAMERA_INPUTBUFFER_NUM 13 /* number of metadata buffer */
+#else
+#define MAX_CAMERA_INPUTBUFFER_NUM 12 /* number of metadata buffer */
+#endif
+
+
+#define MAX_VIDEO_INPUTBUFFER_NUM MAX_CAMERA_INPUTBUFFER_NUM
#define MAX_VIDEO_OUTPUTBUFFER_NUM 4
#define DEFAULT_FRAME_WIDTH 176
#define MFC_INPUT_BUFFER_PLANE 2
#define MFC_OUTPUT_BUFFER_PLANE 1
-#ifdef SLP_PLATFORM
-/* FIXME: for camera slow motion 12 buffer and eos issue, we increase this value */
-/* FIXME: for trim small resolution video. dec + enc case */
-#define MAX_CAMERA_INPUTBUFFER_NUM 13 /* number of metadata buffer */
-#else
-#define MAX_CAMERA_INPUTBUFFER_NUM 12 /* number of metadata buffer */
-#endif
-
// The largest metadata buffer size advertised
// when metadata buffer mode is used for video encoding