OMX_IndexParamPortDefinition on video_decode port 130
Posted: Thu Apr 18, 2013 4:33 pm
I'm working on a video decode pipeline using the Raspberry Pi and OMX/ilclient.
I'm experiencing a bottleneck in that I need to be able to accept a large number of small buffers and feed them into the video_decode component. I noticed that the default allocation is 20 buffers of 80k, which is a smaller amount of larger buffers than what I think would be ideal for my uses.
I was going to try to adjust this value with OMX_SetParameter using OMX_IndexParamPortDefinition on the decoder's input port (130).
However, it seems that even if I just GetParameter on this port, and then turn right around and SetParameter on the port without changing the values, the decoder stops working properly. Data goes in, but the port settings don't change, and there are never any output frames.
Does this call work? If so, is it even possible to adjust the number and size of the buffers on this port?
I'm experiencing a bottleneck in that I need to be able to accept a large number of small buffers and feed them into the video_decode component. I noticed that the default allocation is 20 buffers of 80k, which is a smaller amount of larger buffers than what I think would be ideal for my uses.
I was going to try to adjust this value with OMX_SetParameter using OMX_IndexParamPortDefinition on the decoder's input port (130).
However, it seems that even if I just GetParameter on this port, and then turn right around and SetParameter on the port without changing the values, the decoder stops working properly. Data goes in, but the port settings don't change, and there are never any output frames.
Does this call work? If so, is it even possible to adjust the number and size of the buffers on this port?