OpenMax IL support on Android NDK

Q1. I am attempting to develop a Video Encoder application that takes Raw Files as input and runs on Android devices.
My team does have an application to do that developed using OpenMax IL APIs. However, I was informed that OpenMax IL apps might not be supported by Android NDK and hence if I take the OpenMax code and wrap it with NDK layer and build it into an .apk, it might not work on all Android devices.
Can someone answer me whether Android NDK has proper support for OpenMax IL code on all Android devices?

Q2. Does OpenMax AL API set have support for Video Encoding scenarios from raw files? so far all APIs I saw utilize Camera as Video Source.

Thanks
Abdul.