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.

Custom codec implementation - Buffer requirements?

I am implementing a custom codec performing some video analytics on decoded frames. For accessing this codec I have already implemented an extended interface. My problem begins while describing the codec implementation file (e.g., "customcodec_mycompany_impl.c"), since I haven't any serious example of such a file. Could someone provide me one? I am following the "decode" example, which uses the production codec "viddec2", and it would be really helpful for me to see how the "process()" and "control()" functions are described, specially how to set the parameters and arguments required.

Thanks in advance!