video_dec: Increase default buffer size for copy mode recording
authorSeungBeom Kim <sbcrux.kim@samsung.com>
Sun, 29 Mar 2015 10:47:52 +0000 (12:47 +0200)
committerGerrit Code Review <gerrit@cyanogenmod.org>
Tue, 31 Mar 2015 17:19:13 +0000 (17:19 +0000)
Backported-from: hardware/samsung_slsi/exynos5

Change-Id: I190546400e4d1d06b242b7c078a8a6700b4bfd35
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
component/video/enc/Exynos_OMX_Venc.h

index 1ea25fa82977e415cba016a2f1c3383841532145..23ea03bd485934fe465d17d0b7afdc16d3def3bb 100644 (file)
@@ -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