summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/raw/SoftRaw.cpp
diff options
context:
space:
mode:
authorPreetam Singh Ranawat <apranawat@codeaurora.org>2014-12-15 17:16:34 -0800
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:24:35 -0600
commit390aa8dd83078bad748582ce275bded14868d1ac (patch)
treeac99135f80f03aabca200e29814c11c5b86e63cf /media/libstagefright/codecs/raw/SoftRaw.cpp
parent59424c70e4fba3dd59052ae8746dcfa53be3cd08 (diff)
downloadframeworks_av-390aa8dd83078bad748582ce275bded14868d1ac.zip
frameworks_av-390aa8dd83078bad748582ce275bded14868d1ac.tar.gz
frameworks_av-390aa8dd83078bad748582ce275bded14868d1ac.tar.bz2
libstagefright: Increase raw decoder buffer size to 192 k
- Currently raw decoder's buffer size is 64K which causes assertion failure for media files having higher frame size Change-Id: I33258213726d9ed5f730c877ab464868cc951652 CRs-Fixed: 761465
Diffstat (limited to 'media/libstagefright/codecs/raw/SoftRaw.cpp')
-rw-r--r--media/libstagefright/codecs/raw/SoftRaw.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libstagefright/codecs/raw/SoftRaw.cpp b/media/libstagefright/codecs/raw/SoftRaw.cpp
index 9d514a6..b78b36f 100644
--- a/media/libstagefright/codecs/raw/SoftRaw.cpp
+++ b/media/libstagefright/codecs/raw/SoftRaw.cpp
@@ -58,7 +58,7 @@ void SoftRaw::initPorts() {
def.eDir = OMX_DirInput;
def.nBufferCountMin = kNumBuffers;
def.nBufferCountActual = def.nBufferCountMin;
- def.nBufferSize = 32 * 1024;
+ def.nBufferSize = 192 * 1024;
def.bEnabled = OMX_TRUE;
def.bPopulated = OMX_FALSE;
def.eDomain = OMX_PortDomainAudio;
@@ -76,7 +76,7 @@ void SoftRaw::initPorts() {
def.eDir = OMX_DirOutput;
def.nBufferCountMin = kNumBuffers;
def.nBufferCountActual = def.nBufferCountMin;
- def.nBufferSize = 32 * 1024;
+ def.nBufferSize = 192 * 1024;
def.bEnabled = OMX_TRUE;
def.bPopulated = OMX_FALSE;
def.eDomain = OMX_PortDomainAudio;