stagefright: handle constant quality mode

Handle constant quality mode from MediaCodec, and pass the
quality to encoder.

bug: 63633199
Change-Id: I4183e44bb5c11b7bd93ce7ade1859e6f774b97fd
2 files changed