diff options
-rw-r--r-- | omx/video/src/openmax_il/video_encode/inc/OMX_VideoEnc_Utils.h | 6 | ||||
-rw-r--r-- | omx/video/src/openmax_il/video_encode/src/OMX_VideoEnc_Utils.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/omx/video/src/openmax_il/video_encode/inc/OMX_VideoEnc_Utils.h b/omx/video/src/openmax_il/video_encode/inc/OMX_VideoEnc_Utils.h index a4f3b9d..05c3acb 100644 --- a/omx/video/src/openmax_il/video_encode/inc/OMX_VideoEnc_Utils.h +++ b/omx/video/src/openmax_il/video_encode/inc/OMX_VideoEnc_Utils.h @@ -69,11 +69,11 @@ #include <utils/Log.h> /* this is the max of VIDENC_MAX_NUM_OF_IN_BUFFERS and VIDENC_MAX_NUM_OF_OUT_BUFFERS */ -#define VIDENC_MAX_NUM_OF_BUFFERS 5 +#define VIDENC_MAX_NUM_OF_BUFFERS 8 #define VIDENC_MAX_NUM_OF_IN_BUFFERS 5 -#define VIDENC_MAX_NUM_OF_OUT_BUFFERS 4 +#define VIDENC_MAX_NUM_OF_OUT_BUFFERS 8 #define VIDENC_NUM_OF_IN_BUFFERS 4 -#define VIDENC_NUM_OF_OUT_BUFFERS 4 +#define VIDENC_NUM_OF_OUT_BUFFERS 8 #define VIDENC_NUM_OF_PORTS 2 diff --git a/omx/video/src/openmax_il/video_encode/src/OMX_VideoEnc_Utils.c b/omx/video/src/openmax_il/video_encode/src/OMX_VideoEnc_Utils.c index 01741ab..826ebd8 100644 --- a/omx/video/src/openmax_il/video_encode/src/OMX_VideoEnc_Utils.c +++ b/omx/video/src/openmax_il/video_encode/src/OMX_VideoEnc_Utils.c @@ -4077,7 +4077,7 @@ void CalculateBufferSize(OMX_PARAM_PORTDEFINITIONTYPE* pCompPort, VIDENC_COMPONE pCompPort->format.video.nFrameHeight / 2; } pCompPort->nBufferSize += 256; - OMX_ERROR5(pCompPrivate->dbg, "*The output buffer size is %lu. WIDTH=%lu HEIGHT=%lu FORMAT %d\n", pCompPort->nBufferSize, pCompPort->format.video.nFrameWidth, pCompPort->format.video.nFrameHeight, pCompPort->format.video.eCompressionFormat); + OMX_ERROR5(pCompPrivate->dbg, "*The output buffer size is %lu and number of buffer is %lu. WIDTH=%lu HEIGHT=%lu FORMAT %d\n", pCompPort->nBufferSize, pCompPort->nBufferCountActual, pCompPort->format.video.nFrameWidth, pCompPort->format.video.nFrameHeight, pCompPort->format.video.eCompressionFormat); } } |