LOCAL_CFLAGS += -DUSE_DMA_BUF
endif
-ifeq ($(BOARD_USE_USERPTR_CAMERA_INPUT), true)
-LOCAL_CFLAGS += -DUSE_USERPTR_CAMERA_INPUT
-endif
-
ifeq ($(BOARD_USE_GSC_RGB_ENCODER), true)
LOCAL_CFLAGS += -DUSE_GSC_RGB_ENCODER
endif
} else {
/* kMetadataBufferTypeCameraSource */
Exynos_OSAL_GetInfoFromMetaData((OMX_BYTE)inputUseBuffer->bufferHeader->pBuffer, ppBuf);
-#ifndef USE_USERPTR_CAMERA_INPUT
#ifdef USE_DMA_BUF
srcInputData->buffer.multiPlaneBuffer.fd[0] = ppBuf[0];
srcInputData->buffer.multiPlaneBuffer.fd[1] = ppBuf[1];
/* input buffers are 2 plane. */
srcInputData->buffer.multiPlaneBuffer.dataBuffer[2] = NULL;
srcInputData->buffer.multiPlaneBuffer.fd[2] = -1;
-#else
- for (plane = 0; plane < MFC_INPUT_BUFFER_PLANE; plane++) {
- srcInputData->buffer.multiPlaneBuffer.dataBuffer[plane] = ppBuf[plane];
- }
- srcInputData->buffer.multiPlaneBuffer.dataBuffer[2] = NULL;
-#endif
#else
for (plane = 0; plane < MFC_INPUT_BUFFER_PLANE; plane++) {
srcInputData->buffer.multiPlaneBuffer.dataBuffer[plane] = ppBuf[plane];