summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBuddy Liong2017-06-20 13:01:36 -0500
committerBuddy Liong2017-06-20 16:10:42 -0500
commit4a3df475bc54ae16fd22febeaa8363315708fc1a (patch)
treeab6a790073f493c69c4dda6c4f5ea4eb103fa821
parent398dd27e7f3181fff9e3d910b418c69f1493f52f (diff)
downloadhardware-ti-libdce-4a3df475bc54ae16fd22febeaa8363315708fc1a.tar.gz
hardware-ti-libdce-4a3df475bc54ae16fd22febeaa8363315708fc1a.tar.xz
hardware-ti-libdce-4a3df475bc54ae16fd22febeaa8363315708fc1a.zip
[DCE_TEST] Print additional extendedError for VC1 and MPEG2
Change-Id: Ie209faf3258a20eb5437e0423447c0f48477657f Signed-off-by: Buddy Liong <buddy.liong@ti.com>
-rw-r--r--test_qnx/dce_test/dce_test.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/test_qnx/dce_test/dce_test.c b/test_qnx/dce_test/dce_test.c
index 3852b8d..6e84609 100644
--- a/test_qnx/dce_test/dce_test.c
+++ b/test_qnx/dce_test/dce_test.c
@@ -1682,6 +1682,21 @@ int main(int argc, char * *argv)
1682 } 1682 }
1683 } else { 1683 } else {
1684 DEBUG("Non-fatal err=%d, extendedError=%08x", err, outArgs->extendedError); 1684 DEBUG("Non-fatal err=%d, extendedError=%08x", err, outArgs->extendedError);
1685 if (ivahd_decode_type == IVAHD_MP2V_DECODE) {
1686 err = VIDDEC3_control(codec, XDM_GETSTATUS, (VIDDEC3_DynamicParams *) mpeg2_dynParams, (VIDDEC3_Status *) mpeg2_status);
1687 DEBUG("XDM_GETSTATUS mpeg2_status->extendedErrorCode0 %08x", (uint)mpeg2_status->extendedErrorCode0); //Bit 0 to 31 of the error status
1688 DEBUG("XDM_GETSTATUS mpeg2_status->extendedErrorCode1 %08x", (uint)mpeg2_status->extendedErrorCode1); //Bit 32 to 63 of the error status
1689 DEBUG("XDM_GETSTATUS mpeg2_status->extendedErrorCode2 %08x", (uint)mpeg2_status->extendedErrorCode2); //Bit 64 to 95 of the error status
1690 DEBUG("XDM_GETSTATUS mpeg2_status->extendedErrorCode3 %08x", (uint)mpeg2_status->extendedErrorCode3); //Bit 96 to 127 of the error status
1691 }
1692
1693 if ((ivahd_decode_type == IVAHD_VC1AP_DECODE) || (ivahd_decode_type == IVAHD_VC1SMP_DECODE)) {
1694 err = VIDDEC3_control(codec, XDM_GETSTATUS, (VIDDEC3_DynamicParams *) vc1_dynParams, (VIDDEC3_Status *) vc1_status);
1695 DEBUG("XDM_GETSTATUS vc1_status->extendedErrorCode0 %08x", (uint)vc1_status->extendedErrorCode0); //Bit 0 to 31 of the error status
1696 DEBUG("XDM_GETSTATUS vc1_status->extendedErrorCode1 %08x", (uint)vc1_status->extendedErrorCode1); //Bit 32 to 63 of the error status
1697 DEBUG("XDM_GETSTATUS vc1_status->extendedErrorCode2 %08x", (uint)vc1_status->extendedErrorCode2); //Bit 64 to 95 of the error status
1698 DEBUG("XDM_GETSTATUS vc1_status->extendedErrorCode3 %08x", (uint)vc1_status->extendedErrorCode3); //Bit 96 to 127 of the error status
1699 }
1685 err = XDM_EOK; 1700 err = XDM_EOK;
1686 } 1701 }
1687 }else if(( err == DCE_EXDM_UNSUPPORTED ) || 1702 }else if(( err == DCE_EXDM_UNSUPPORTED ) ||