Forums - CAPI V2 TEST: Process did not empty any input or fill any output completely. (unit test)

1 post / 0 new
CAPI V2 TEST: Process did not empty any input or fill any output completely. (unit test)
william2_wu
Join Date: 28 Dec 17
Posts: 22
Posted: Sun, 2018-08-05 02:12

Hi,

I'd like to modify the appi_fir to capi_v2_fir by using capi_v2_decimate example.

It appears the error code "CAPI V2 TEST: Process did not empty any input or fill any output completely."

the log of unit test  is as below.  thanks.

 

C:/Qualcomm/Hexagon_SDK/3.3.2/tools/HEXAGON_Tools/8.1.05/Tools/bin/hexagon-sim -mv65 --simulated_returnval --usefs hexagon_Debug_dynamic_toolv81_v65 --pmu_statsfile hexagon_Debug_dynamic_toolv81_v65/pmu_stats.txt --l2tcm_base 0xd800 hexagon_Debug_dynamic_toolv81_v65/capi_v2_decimate_q
added path ".":  HIGH:0x0:122:paths.c
--------------------------------------------------------------------:  HIGH:0x0:47:test_main.c
Calling test_main_start in target module's test file.               :  HIGH:0x0:48:test_main.c
--------------------------------------------------------------------:  HIGH:0x0:49:test_main.c
-- start dll test --                                                :  HIGH:0x0:59:capi_v2_decimate_test.cpp
attempt to load   capi_v2_decimate.so                               :  HIGH:0x0:61:capi_v2_decimate_test.cpp
load capi_v2_decimate.so:  HIGH:0x0:121:search.c
try ./capi_v2_decimate.so:  HIGH:0x0:80:search.c
read headers 0x0 -> bd000 (0x1000 B):  HIGH:0x0:472:map_object.c
mapped  [bf000 - c6000] (28672 Bytes):  HIGH:0x0:602:map_object.c
load 0x0 -> bf000 (0x56E4 B):  HIGH:0x0:718:map_object.c
Verify segment 0 [bf000 - c46e3] (0x56E4 B):  HIGH:0x0:726:map_object.c
load 0x6000 -> c5000 (0x11C B):  HIGH:0x0:718:map_object.c
Verify segment 1 [c5000 - c511b] (0x11C B):  HIGH:0x0:726:map_object.c
libc.so builtin:  HIGH:0x0:343:load.c
libgcc.so builtin:  HIGH:0x0:343:load.c
protect [bf000 - c4fff] (0x6000 B) r.x:  HIGH:0x0:123:reloc.c
protect [c5000 - c5fff] (0x1000 B) rw.:  HIGH:0x0:123:reloc.c
dlopen capi_v2_decimate.so return obj bc9a8:  HIGH:0x0:768:rtld.c
MAIN: ----------------                                              :  HIGH:0x0:1058:test_capi_v2.c
MAIN: Initialize module                                             :  HIGH:0x0:1059:test_capi_v2.c
MAIN: ----------------                                              :  HIGH:0x0:1060:test_capi_v2.c
max_taps 0x68927552 : ERROR:0x0:47:capi_v2_decimate_utils.cpp
CAPIv2 Decimate: get property for initialization memory requirements 1296 bytes:  HIGH:0x0:70:capi_v2_decimate_utils.cpp
CAPIv2 Decimate: get property id for 0x0 done:  HIGH:0x0:344:capi_v2_decimate_utils.cpp
CAPIv2 Decimate: get property id for 0x1 done:  HIGH:0x0:344:capi_v2_decimate_utils.cpp
CAPIv2 Decimate: get property id for 0x2 done:  HIGH:0x0:344:capi_v2_decimate_utils.cpp
CAPIv2 Decimate: get property id for 0x3 done:  HIGH:0x0:344:capi_v2_decimate_utils.cpp
CAPIv2 Decimate: get property id for 0x4 done:  HIGH:0x0:344:capi_v2_decimate_utils.cpp
CAPIv2 Decimate: get property id for 0x5 done:  HIGH:0x0:344:capi_v2_decimate_utils.cpp
CAPIv2 Decimate: get static properties ignoring init_set_properties!:  HIGH:0x0:88:capi_v2_decimate.c
allocated   1296 bytes of memory at location 0x000bcb58             :  HIGH:0x0:1083:test_capi_v2.c
CAPIv2 Decimate: Init done!:  HIGH:0x0:155:capi_v2_decimate.c
CAPIv2 Decimate: Set property id for Event CallBack done.:  HIGH:0x0:448:capi_v2_decimate_utils.cpp
CAPIv2 Decimate: Set property for 0x10001 done:  HIGH:0x0:536:capi_v2_decimate_utils.cpp
MAIN: ----------------                                              :  HIGH:0x0:1118:test_capi_v2.c
MAIN: Run config file                                               :  HIGH:0x0:1119:test_capi_v2.c
MAIN: ----------------                                              :  HIGH:0x0:1120:test_capi_v2.c
CAPI V2 TEST: Executing commands now                                  :  HIGH:0x0:1695:capi_v2_test.c
CAPI V2 TEST: Executing Set Media format with channel mapping command.:  HIGH:0x0:1574:capi_v2_test.c
CAPIv2 Decimate: received input media fmt:  HIGH:0x0:469:capi_v2_decimate_utils.cpp
CAPI V2 TEST: Module output format updated.:  HIGH:0x0:1788:capi_v2_test.c
CAPI V2 TEST: Module process check set to 0:  HIGH:0x0:1759:capi_v2_test.c
CAPIv2 Decimate: Set property for 0x10004 done:  HIGH:0x0:536:capi_v2_decimate_utils.cpp
Profiling Information     :                                         :  HIGH:0x0:69:test_profile_sim.c
     Session/Thread ID    : 0x00000004                              :  HIGH:0x0:70:test_profile_sim.c
          Cycles used     :      71018                              :  HIGH:0x0:71:test_profile_sim.c
          Heap consumed   :          0 bytes                        :  HIGH:0x0:72:test_profile_sim.c
          Peak heap       :          0 bytes                        :  HIGH:0x0:73:test_profile_sim.c
          Heap leak       :          0 bytes                        :  HIGH:0x0:74:test_profile_sim.c
CAPI V2 TEST: Executing Set Output Media format with channel mapping command.:  HIGH:0x0:1512:capi_v2_test.c
CAPIv2 Decimate: received output media fmt:  HIGH:0x0:496:capi_v2_decimate_utils.cpp
CAPIv2 Decimate: Set property for 0x40001 done:  HIGH:0x0:536:capi_v2_decimate_utils.cpp
Profiling Information     :                                         :  HIGH:0x0:69:test_profile_sim.c
     Session/Thread ID    : 0x00000004                              :  HIGH:0x0:70:test_profile_sim.c
          Cycles used     :      35694                              :  HIGH:0x0:71:test_profile_sim.c
          Heap consumed   :          0 bytes                        :  HIGH:0x0:72:test_profile_sim.c
          Peak heap       :          0 bytes                        :  HIGH:0x0:73:test_profile_sim.c
          Heap leak       :          0 bytes                        :  HIGH:0x0:74:test_profile_sim.c
CAPI V2 TEST: Executing Set Params command.:  HIGH:0x0:1056:capi_v2_test.c
CAPI V2 TEST: Module output format updated.:  HIGH:0x0:1788:capi_v2_test.c
CAPI V2 TEST: Module process check set to 1:  HIGH:0x0:1759:capi_v2_test.c
CAPIv2 Decimate : <<set_param>> Enable/Disable 1   :  HIGH:0x0:333:capi_v2_decimate.c
CAPIv2 Decimate: Set param done:  HIGH:0x0:406:capi_v2_decimate.c
Profiling Information     :                                         :  HIGH:0x0:69:test_profile_sim.c
     Session/Thread ID    : 0x00000001                              :  HIGH:0x0:70:test_profile_sim.c
          Cycles used     :      69264                              :  HIGH:0x0:71:test_profile_sim.c
          Heap consumed   :          0 bytes                        :  HIGH:0x0:72:test_profile_sim.c
          Peak heap       :          0 bytes                        :  HIGH:0x0:73:test_profile_sim.c
          Heap leak       :          0 bytes                        :  HIGH:0x0:74:test_profile_sim.c
CAPI V2 TEST: Executing Set Params command.:  HIGH:0x0:1056:capi_v2_test.c
CAPIv2 Decimate : <<set_param>> Decimation factor set to   4294967294:  HIGH:0x0:352:capi_v2_decimate.c
CAPIv2 Decimate: Set param done:  HIGH:0x0:406:capi_v2_decimate.c
Profiling Information     :                                         :  HIGH:0x0:69:test_profile_sim.c
     Session/Thread ID    : 0x00000001                              :  HIGH:0x0:70:test_profile_sim.c
          Cycles used     :      39548                              :  HIGH:0x0:71:test_profile_sim.c
          Heap consumed   :          0 bytes                        :  HIGH:0x0:72:test_profile_sim.c
          Peak heap       :          0 bytes                        :  HIGH:0x0:73:test_profile_sim.c
          Heap leak       :          0 bytes                        :  HIGH:0x0:74:test_profile_sim.c
CAPI V2 TEST: Executing Set Params command.:  HIGH:0x0:1056:capi_v2_test.c
--------------------------------------------------------------------:  HIGH:0x0:388:capi_v2_decimate.c
<<set_param>> Filter Params for       19 taps                       :  HIGH:0x0:389:capi_v2_decimate.c
Printing first 5 coeffs:  -3065,  -3128,  -2193,    -16,   3445     :  HIGH:0x0:392:capi_v2_decimate.c
CAPIv2 Decimate: Set param done:  HIGH:0x0:406:capi_v2_decimate.c
Profiling Information     :                                         :  HIGH:0x0:69:test_profile_sim.c
     Session/Thread ID    : 0x00000001                              :  HIGH:0x0:70:test_profile_sim.c
          Cycles used     :      85086                              :  HIGH:0x0:71:test_profile_sim.c
          Heap consumed   :          0 bytes                        :  HIGH:0x0:72:test_profile_sim.c
          Peak heap       :          0 bytes                        :  HIGH:0x0:73:test_profile_sim.c
          Heap leak       :          0 bytes                        :  HIGH:0x0:74:test_profile_sim.c
CAPI V2 TEST: Executing Process Data command.:  HIGH:0x0:761:capi_v2_test.c
CAPI V2 TEST: Process did not empty any input or fill any output completely.: ERROR:0x0:415:capi_v2_test.c
Profiling Information     :                                         :  HIGH:0x0:69:test_profile_sim.c
     Session/Thread ID    : 0x00000003                              :  HIGH:0x0:70:test_profile_sim.c
          Cycles used     :       1264                              :  HIGH:0x0:71:test_profile_sim.c
          Heap consumed   :          0 bytes                        :  HIGH:0x0:72:test_profile_sim.c
          Peak heap       :          0 bytes                        :  HIGH:0x0:73:test_profile_sim.c
          Heap leak       :          0 bytes                        :  HIGH:0x0:74:test_profile_sim.c
-------------------------------:  HIGH:0x0:1017:capi_v2_test.c
CAPI V2 TEST: Profiling information:  HIGH:0x0:1018:capi_v2_test.c
CAPI V2 TEST: Average MIPS: -nan:  HIGH:0x0:1019:capi_v2_test.c
CAPI V2 TEST: Peak MIPS: 0.000 occurred at iteration# 0:  HIGH:0x0:1020:capi_v2_test.c
-------------------------------:  HIGH:0x0:1021:capi_v2_test.c
CAPI V2 TEST: Error in executing command. Exiting test: ERROR:0x0:1701:capi_v2_test.c
MAIN: Error in RunTest                                              : ERROR:0x0:1131:test_capi_v2.c
MAIN: Done                                                          :  HIGH:0x0:1161:test_capi_v2.c
unloading ./capi_v2_decimate.so:  HIGH:0x0:305:rtld.c
-- end dll test --                                                  :  HIGH:0x0:114:capi_v2_decimate_test.cpp
--------------------------------------------------------------------:  HIGH:0x0:53:test_main.c
Failed                                                              :  HIGH:0x0:54:test_main.c
--------------------------------------------------------------------:  HIGH:0x0:55:test_main.c
make[1]: Leaving directory `C:/Qualcomm/Hexagon_SDK/3.3.2/examples/audio/capi_v2_decimate_change_to_fir'
  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.