codec2: set proper usage of C2StreamFormatConfig
C2StreamFormatConfig is the parameter of input/output stream kind (ex.
compressed stream, audio, or video). Its value should be defined in
C2FormatKind.
Add a typedef C2VDAStreamProfileConfig for |mInputCodecProfile|, its value is
defined within VDA (vda/video_codecs.h) so it's ok to use a self-defined
typedef.
Remove |mOutputColorFormat| and consider to put color format as the info
included in C2GraphicBlock (like crop window). Will implement when CCodec needs
it.
Bug: 72354012
Test: verify with CCodec stack by stagefright cmdtool
> adb shell setprop debug.stagefright.ccodec true
> adb shell stagefright -S -N c2.v4l2.h264.decoder bear.mp4
Test: verify C2VDACompIntf_test
Change-Id: I2c53a7b17093543e9c7ed97101d5caddecd49d48
3 files changed