From: SeungBeom Kim Date: Sun, 29 Mar 2015 10:47:52 +0000 (+0200) Subject: video_dec: Increase default buffer size for copy mode recording X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=23f31463e3bc8692a1ead0a3adda582301da8118;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung_slsi_openmax.git video_dec: Increase default buffer size for copy mode recording Backported-from: hardware/samsung_slsi/exynos5 Change-Id: I190546400e4d1d06b242b7c078a8a6700b4bfd35 Signed-off-by: Andreas Schneider --- 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