器件型号: TDA4AL-Q1
您好、
日志:
[ -------- ] tests from tivxGraph
[ RUN 0001 ] tivxGraph.GraphPipelineDepth ...
96044.611056 s: VX_ZONE_ERROR: [vxSetGraphAttribute:652] pipeline depth greater than max allowed pipeline depth
96044.611102 s: VX_ZONE_ERROR: [vxSetGraphAttribute:653] May need to increase the value of TIVX_GRAPH_MAX_PIPELINE_DEPTH in include/TI/soc/tivx_config_j721s2.h
FAILED at /buildarea/hhe/vxae_psdk/vxworks_ae/workspace/VSB-ti_tda4/3pp/TIOVX/ti-processor-sdk-rtos-j721s2-evm-11_02_00_06/tiovx/conformance_tests/test_tiovx/test_graph.c:1910
Expected: VX_ERROR_INVALID_PARAMETERS == vxSetGraphAttribute(graph, VX_GRAPH_PIPELINE_DEPTH, &invalid_pipeline_depth, sizeof(vx_uint32))
Actual: VX_ERROR_INVALID_PARAMETERS != VX_ERROR_INVALID_VALUE
我理解此测试用例正在验证图形的流水线深度属性是否为 vx_uint32 类型、输入参数 INVALID_PUBLE_DEPTH 是否为 Vx_INT8 类型、因此将使 vxSetGraphAttribute 返回 vx_ERROR_INVALID_PARAMETERS。
代码片段:



我不太明白此 vx_check_param 的工作原理、它会在 ptr 类型为 vx_int8 * 或 vx_uint32 *时通过


你有任何线索吗?
谢谢!