summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/encoder/main.c2
-rw-r--r--test/encoder/recon.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/encoder/main.c b/test/encoder/main.c
index bb9cabf..26420e2 100644
--- a/test/encoder/main.c
+++ b/test/encoder/main.c
@@ -1591,7 +1591,7 @@ void synchronous_encode(iv_obj_t *ps_enc, app_ctxt_t *ps_app_ctxt)
ps_inp_raw_buf->apv_bufs[0] = pu1_buf;
/*Init chroma buffer*/
- pu1_buf += (ps_app_ctxt->u4_strd) * ALIGN16(ps_app_ctxt->u4_ht);
+ pu1_buf += ps_app_ctxt->u4_strd * ps_app_ctxt->u4_ht;
ps_inp_raw_buf->apv_bufs[1] = pu1_buf;
ps_inp_raw_buf->au4_wd[0] = ps_app_ctxt->u4_wd;
diff --git a/test/encoder/recon.c b/test/encoder/recon.c
index 7fd0f5c..ed63aac 100644
--- a/test/encoder/recon.c
+++ b/test/encoder/recon.c
@@ -97,7 +97,7 @@ void allocate_recon(app_ctxt_t *ps_app_ctxt)
num_bufs = DEFAULT_NUM_RECON_BUFS;
/* Size of buffer for YUV420/420SP */
- 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;
pic_size = luma_size + chroma_size * 2;