Dear Team,
In the single camera app (app_single_cam_main.c)
1) obj->num_cap_buf = NUM_BUFS; /* 4 */
tivxSetNodeParameterNumBufByIndex(obj->node_viss, 6u, obj->num_cap_buf);
tivxSetNodeParameterNumBufByIndex(obj->node_ldc, 7u, obj->num_cap_buf);
tivxSetNodeParameterNumBufByIndex(obj->scalerNode, 1u, obj->num_cap_buf);
tivxSetNodeParameterNumBufByIndex(obj->node_aewb, 4u, NUM_BUFS);
In above snippet, How the node parameters index for node_viss (6u), node_ldc (7u), scalerNode (1u), aewb (4u) are selected on what basis?. What is the node parameter index for capture node and display node?
2) Reference code from the single camera app is attached. Graph parameter 0 is coming rom the capture node and node index 1. Graph parameter 1 is coming from the display node and node index 0.
What about the other graph parameters from intermediate nodes like viss and aewb etc.
3) #define MAX_NUM_BUF 8
#define NUM_BUFS 4u
obj->num_cap_buf = NUM_BUFS;
What is the intuition for selection of NUM_BUFS (i.e. 4) in the single camera app?
Thanks & regards,
Sukumar