From 23f31463e3bc8692a1ead0a3adda582301da8118 Mon Sep 17 00:00:00 2001 From: SeungBeom Kim Date: Sun, 29 Mar 2015 12:47:52 +0200 Subject: [PATCH] video_dec: Increase default buffer size for copy mode recording Backported-from: hardware/samsung_slsi/exynos5 Change-Id: I190546400e4d1d06b242b7c078a8a6700b4bfd35 Signed-off-by: Andreas Schneider --- component/video/enc/Exynos_OMX_Venc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/component/video/enc/Exynos_OMX_Venc.h b/component/video/enc/Exynos_OMX_Venc.h index 1ea25fa..23ea03b 100644 --- a/component/video/enc/Exynos_OMX_Venc.h +++ b/component/video/enc/Exynos_OMX_Venc.h @@ -47,9 +47,9 @@ #define MFC_INPUT_BUFFER_NUM_MAX 3 #define MFC_OUTPUT_BUFFER_NUM_MAX 4 -#define DEFAULT_MFC_INPUT_YBUFFER_SIZE ALIGN_TO_16B(1920) * ALIGN_TO_16B(1080) +#define DEFAULT_MFC_INPUT_YBUFFER_SIZE ALIGN_TO_16B(2560) * ALIGN_TO_16B(1600) #define DEFAULT_MFC_INPUT_CBUFFER_SIZE ALIGN((DEFAULT_MFC_INPUT_YBUFFER_SIZE / 2), 256) -#define DEFAULT_MFC_OUTPUT_BUFFER_SIZE 1920 * 1080 * 3 / 2 +#define DEFAULT_MFC_OUTPUT_BUFFER_SIZE 2560 * 1600 * 3 / 2 #ifdef USE_ENCODER_RGBINPUT_SUPPORT #define INPUT_PORT_SUPPORTFORMAT_NUM_MAX 8 -- 2.20.1