please use libOMXVideoDecoder_source_cpp for all decoders, not limit it to jpeg.
better add libOMXVideoEncoder_source_cpp too.