aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbuddy.liong2014-05-27 12:04:53 -0500
committerbuddy.liong2014-05-27 12:04:53 -0500
commitb27bd8a7eb9232ff6fe88eb095470a285125189c (patch)
treecf7fa8e91eaaa766d64711106ec88a79daa462e7
parent0c7eee9ffdd480063a579013161bcf85ada376b1 (diff)
downloadrepo-libdce-b27bd8a7eb9232ff6fe88eb095470a285125189c.tar.gz
repo-libdce-b27bd8a7eb9232ff6fe88eb095470a285125189c.tar.xz
repo-libdce-b27bd8a7eb9232ff6fe88eb095470a285125189c.zip
[DCE_TEST] When outBufsInUse is set, use previous inputID3.00.05.00
When handling interlace clip, the codec can hold the output buffer after processing the top field frame. The codec will set the outBufsInUse flag. When the application receives an indication that outBufsInUse flag is set, the application should use the previous inputID as the inputID and not sending a new output buffer (set to NULL on the output buffer) on the next VIDDEC3_process call. Change-Id: Id5e05984330e686ec5ea449be5d0aff8f8802d70 Signed-off-by: buddy.liong <buddy.budiono@ti.com>
-rw-r--r--test_qnx/dce_test/dce_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_qnx/dce_test/dce_test.c b/test_qnx/dce_test/dce_test.c
index 383b4ae..2a4ae1a 100644
--- a/test_qnx/dce_test/dce_test.c
+++ b/test_qnx/dce_test/dce_test.c
@@ -1197,8 +1197,8 @@ int main(int argc, char * *argv)
1197 /* 1197 /*
1198 * Input buffer has data to be decoded. 1198 * Input buffer has data to be decoded.
1199 */ 1199 */
1200 inArgs->inputID = (XDAS_Int32)buf;
1201 if( !outBufsInUse ) { 1200 if( !outBufsInUse ) {
1201 inArgs->inputID = (XDAS_Int32)buf; // Set inputID to output buf; when outBufsInUse is TRUE, then leave inputID to the previous one.
1202 outBufs->numBufs = 2; 1202 outBufs->numBufs = 2;
1203 outBufs->descs[0].buf = (XDAS_Int8 *)buf->y; 1203 outBufs->descs[0].buf = (XDAS_Int8 *)buf->y;
1204 outBufs->descs[1].buf = (XDAS_Int8 *)buf->uv; 1204 outBufs->descs[1].buf = (XDAS_Int8 *)buf->uv;