First of all I should let you know that I am new to Android system.
I would like to slightly adjust the existing H.264/AVC Codec that Android uses. Specifically I would like to change the way codec calculates whatever data it gets from an input buffer, before sending it to an output buffer.
As I took a look at Android Media Architecture it seems that stagefright is only some kind of wrapper and I cannot find source code for OMX IL Hardware H.264 Implementation.
So my first question I guess is, where does computing from bits into actual picture happens?
The second part of the problem is getting this adjusted codec into mobile device. I guess I just rewrite the existing file (when I find it)? As far as I understand I do not need to follow Implementing custom codecs as I would like to keep changed codec registered with the same name.
At this point I should tell you that I am not hoping this will work in general use but only in custom app for research purpose.
Edit 1: I am not expecting an answer with the exact solution, but would appreciate some guidelines, to where to start off my exploration with the goal of modifing codec.
Edit 2: I will be using unsecured (rooted) device.