diff options
author | Harinarayanan K K <harinarayanan.kk@ittiam.com> | 2015-06-19 14:44:42 +0530 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2015-06-24 21:04:04 +0000 |
commit | 6cb6772805d86c66848b15a54926e396daed06b1 (patch) | |
tree | cd4505ae77079c48db1dfc38600d449c97c5b960 /test | |
parent | 461adb94c9972c032095f16d0d071006a2fed447 (diff) | |
download | android_external_libavc-6cb6772805d86c66848b15a54926e396daed06b1.tar.gz android_external_libavc-6cb6772805d86c66848b15a54926e396daed06b1.tar.bz2 android_external_libavc-6cb6772805d86c66848b15a54926e396daed06b1.zip |
Reduced memory requirements.
Buffer allocation is based on minimum level required for the
input resolution rather than the input max level.
Number of maximum context sets can be set to 1 to reduce
memory usage.
Added a macro ENC_MIN_PU_SIZE for minimum size of
inter prediction unit supported by encoder.
Changed the maximum constraint on number of MBs for NMB
processing to width in Mbs.
Change-Id: I5a9255e93935d90c13262681aafc772aedf8ae81
Diffstat (limited to 'test')
-rw-r--r-- | test/encoder/recon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/encoder/recon.c b/test/encoder/recon.c index 7b347f3..d177a62 100644 --- a/test/encoder/recon.c +++ b/test/encoder/recon.c @@ -161,7 +161,7 @@ void init_raw_buf_descr(app_ctxt_t *ps_app_ctxt, iv_raw_buf_t *ps_raw_buf, UWORD /* All the pointers and dimensions are initialized here * to support change in resolution from the application */ - luma_size = ALIGN16(ps_app_ctxt->u4_max_wd) * ALIGN16(ps_app_ctxt->u4_max_ht); + luma_size = ps_app_ctxt->u4_max_wd * ps_app_ctxt->u4_max_ht; chroma_size = (luma_size) / 4; ps_raw_buf->apv_bufs[0] = pu1_buf; |