Hi, Brijesh.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi, Brijesh.
Hi,
it would be two object arrays, Because framework knows that the output0 is part of the object array, so it would create two instance of the object array.
Btw, why are you calling it two times?
Regards,
Brijesh
Thanks Brijesh..
I create two scaler output because I need two resolutions from scaler node...
few more questions to ask:
If a node in pipeline has object_array as output, if i use "vxGraphParameterDequeueDoneRef" to deque the output, dose it deque all the channels data in the object_array, or it only deque one channel data in the object_array? if I use "vxGraphParameterEnqueueReadyRef" to enque the "empty" output, does it enque all the channels data to object_array?
Hi fenbgjie hu,
I create two scaler output because I need two resolutions from scaler node...
But it looks like you are using same output index in both the below calls.
If a node in pipeline has object_array as output, if i use "vxGraphParameterDequeueDoneRef" to deque the output, dose it deque all the channels data in the object_array, or it only deque one channel data in the object_array? if I use "vxGraphParameterEnqueueReadyRef" to enque the "empty" output, does it enque all the channels data to object_array?
No, Dequeue will just give your one of the element of the object array, if you want all elements, then you need to get parent object array from the dequeued image object using tivxGetReferenceParent API and then from the parent object array, you could get access to all the other image objects using vxGetObjectArrayItem API.
Regards,
Brijesh