diff options
author | Harinarayanan K K <harinarayanan.kk@ittiam.com> | 2015-06-18 16:03:38 +0530 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2015-06-25 08:25:43 -0700 |
commit | 3749f6f435e79624f72841e866245d84195551cd (patch) | |
tree | 02569a7442cbbdf650fdde01f3e72741b4b094bb /test/encoder/recon.c | |
parent | c080d5799655658eb847b0583f58e5aff3a5cbaa (diff) | |
download | android_external_libavc-3749f6f435e79624f72841e866245d84195551cd.tar.gz android_external_libavc-3749f6f435e79624f72841e866245d84195551cd.tar.bz2 android_external_libavc-3749f6f435e79624f72841e866245d84195551cd.zip |
Added support for Main Profile toolsets in encoder.
Added support for CABAC entropy coding.
Added support for B slices.
Fixed an issue in rate control constant QP mode.
Change-Id: Ib759d35e8e943f941aa9b8bbff0362d92c619994
Diffstat (limited to 'test/encoder/recon.c')
-rw-r--r-- | test/encoder/recon.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/encoder/recon.c b/test/encoder/recon.c index ed63aac..9cb3394 100644 --- a/test/encoder/recon.c +++ b/test/encoder/recon.c @@ -54,7 +54,7 @@ IV_STATUS_T write_recon(FILE *fp, iv_raw_buf_t *ps_raw_buf) { WORD32 bytes; - WORD32 wd, ht, strd; + WORD32 wd, ht; UWORD8 *pu1_buf; WORD32 i; WORD32 comp; @@ -68,7 +68,6 @@ IV_STATUS_T write_recon(FILE *fp, iv_raw_buf_t *ps_raw_buf) { wd = ps_raw_buf->au4_wd[comp]; ht = ps_raw_buf->au4_ht[comp]; - strd = ps_raw_buf->au4_strd[comp]; pu1_buf = ps_raw_buf->apv_bufs[comp]; for(i = 0; i < ht; i++) { @@ -163,7 +162,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_wd) * ALIGN16(ps_app_ctxt->u4_ht); + luma_size = ALIGN16(ps_app_ctxt->u4_max_wd) * ALIGN16(ps_app_ctxt->u4_max_ht); chroma_size = (luma_size) / 4; ps_raw_buf->apv_bufs[0] = pu1_buf; |