stagefright: move encoders to codec process

Also move persistent input surface to the codec process as keeping
it in the media server may impact BQ performance.

Bug: 22775369
Change-Id: Iaedba8011495a598d96e849cc3aee0941ff509b7
1 file changed