procedure to make a code omx complaint and add it to extsti.

Hi all,
wha is the procedure to make a new codec(video/audio/image codec) omx complaint and add it to extstisting framework. what approach makes things fast and easy. also is there any example codes for the beginners in this path.

Thanks in Advance,
Regards,
Mahesha