summaryrefslogtreecommitdiffstats
path: root/sec_mm
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2011-08-14 21:44:41 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2011-08-14 21:46:14 +0700
commit7651208dec295359168910409a15f89317a0a984 (patch)
tree133eff9afed77fae3b3825b20b581792b4bb4364 /sec_mm
parent38369d0b7d3155f685f0f37a89e05a42e2b91923 (diff)
downloaddevice_samsung_aries-common-7651208dec295359168910409a15f89317a0a984.zip
device_samsung_aries-common-7651208dec295359168910409a15f89317a0a984.tar.gz
device_samsung_aries-common-7651208dec295359168910409a15f89317a0a984.tar.bz2
Modified MFC setting to match stock Samsung
I've found this to somewhat improve 720p recording, but in the worst case, it will just free 8MB more RAM for the userspace. Requires kernel patch Change-Id: I28c5759b49d964fbeb3aea5362ee149528613a21
Diffstat (limited to 'sec_mm')
-rw-r--r--sec_mm/sec_omx/sec_codecs/video/mfc_c110/include/SsbSipMfcApi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sec_mm/sec_omx/sec_codecs/video/mfc_c110/include/SsbSipMfcApi.h b/sec_mm/sec_omx/sec_codecs/video/mfc_c110/include/SsbSipMfcApi.h
index e083998..b3e6929 100644
--- a/sec_mm/sec_omx/sec_codecs/video/mfc_c110/include/SsbSipMfcApi.h
+++ b/sec_mm/sec_omx/sec_codecs/video/mfc_c110/include/SsbSipMfcApi.h
@@ -23,12 +23,12 @@
#define MAX_DECODER_INPUT_BUFFER_SIZE (1024 * 3072)
#define MAX_ENCODER_OUTPUT_BUFFER_SIZE (1024 * 3072)
-#define SUPPORT_1080P 1
+#define SUPPORT_1080P 0
#if SUPPORT_1080P
-#define MMAP_BUFFER_SIZE_MMAP (63*1024*1024)
+#define MMAP_BUFFER_SIZE_MMAP (70*1024*1024)
#else
-#define MMAP_BUFFER_SIZE_MMAP (49*1024*1024)
+#define MMAP_BUFFER_SIZE_MMAP (62*1024*1024)
#endif
#define S5PC110_MFC_DEV_NAME "/dev/s3c-mfc"