Support MediaCodec::getOutputFormat for encoders

codec specific data is provided as part of the MediaFormat if available.

Change-Id: I5a79c936e2411fe66ebc694791071faefc33941e
related-to-bug: 8616651
am d8c7ad1c: Camera: Don\'t complain repeatedly about missing android.led.availableLeds

* commit 'd8c7ad1cbc2e6830560a085380a5828cc3d41010':
  Camera: Don't complain repeatedly about missing android.led.availableLeds
am d8c7ad1c: Camera: Don\'t complain repeatedly about missing android.led.availableLeds

* commit 'd8c7ad1cbc2e6830560a085380a5828cc3d41010':
  Camera: Don't complain repeatedly about missing android.led.availableLeds
am 6feba7db: am d8c7ad1c: Camera: Don\'t complain repeatedly about missing android.led.availableLeds

* commit '6feba7db1144dc383de22a521854d7e983c700fb':
  Camera: Don't complain repeatedly about missing android.led.availableLeds
Merge "stagefright: Fix port-reconfiguration & output-buffer-filled race condition"
merge in jb-mr2-release history after reset to jb-mr2-dev
Merge changes I2feda142,I5a95e0be,Ia0c21ef0 into jb-mr2-dev

* changes:
  Camera3: Add ZSL stream support
  camera: Add new RingBufferConsumer to keep a ring buffer of acquired frames
  Camera3: Add input stream support
am d24b0653: Merge changes I2feda142,I5a95e0be,Ia0c21ef0 into jb-mr2-dev

* commit 'd24b0653c7620e07e92308c05b41f7df9943f83b':
  Camera3: Add ZSL stream support
  camera: Add new RingBufferConsumer to keep a ring buffer of acquired frames
  Camera3: Add input stream support
am d24b0653: Merge changes I2feda142,I5a95e0be,Ia0c21ef0 into jb-mr2-dev

* commit 'd24b0653c7620e07e92308c05b41f7df9943f83b':
  Camera3: Add ZSL stream support
  camera: Add new RingBufferConsumer to keep a ring buffer of acquired frames
  Camera3: Add input stream support
am 7a0f7d9f: am d24b0653: Merge changes I2feda142,I5a95e0be,Ia0c21ef0 into jb-mr2-dev

* commit '7a0f7d9f6cdad84e4b5f6c6b164874393d541824':
  Camera3: Add ZSL stream support
  camera: Add new RingBufferConsumer to keep a ring buffer of acquired frames
  Camera3: Add input stream support
Camera3: Add missing buffer listener include (for ZSL)

Bug: 8563838
Change-Id: Ie053655f5583d20003abdabccee68980d7cdcbfd
Merge "Camera3: Add missing buffer listener include (for ZSL)" into jb-mr2-dev
am 3c7c39af: Merge "Camera3: Add missing buffer listener include (for ZSL)" into jb-mr2-dev

* commit '3c7c39afbc8931ef2cec1bed3c477a19c139f87e':
  Camera3: Add missing buffer listener include (for ZSL)
am 3c7c39af: Merge "Camera3: Add missing buffer listener include (for ZSL)" into jb-mr2-dev

* commit '3c7c39afbc8931ef2cec1bed3c477a19c139f87e':
  Camera3: Add missing buffer listener include (for ZSL)
am 1931e9b9: am 3c7c39af: Merge "Camera3: Add missing buffer listener include (for ZSL)" into jb-mr2-dev

* commit '1931e9b9e5ff613f3c45f298e30d717b4a2b15a5':
  Camera3: Add missing buffer listener include (for ZSL)
The software FLAC encoder now properly signals an error if client

attempts to configure it with too large an input buffer size.
Previously this would lead to memory corruption during encoding due to a
typo.

Change-Id: I229b07b7dbe87fb8424419706671b66a8d58ec6b
related-to-bug: 8778893
Don't even try to verify the native resolution validity a

miracast sink advertises, even if it were valid we couldn't use it
since it's not consistently implemented by sinks.

Change-Id: Ibee6b3e23b5a55270fc3c419a581e2626530e3af
related-to-bug: 8772006
Merge "Support MediaCodec::getOutputFormat for encoders" into jb-mr2-dev
am deff6910: Merge "Support MediaCodec::getOutputFormat for encoders" into jb-mr2-dev

* commit 'deff69107566cfe76dc33eff1b4250893956a244':
  Support MediaCodec::getOutputFormat for encoders
am deff6910: Merge "Support MediaCodec::getOutputFormat for encoders" into jb-mr2-dev

* commit 'deff69107566cfe76dc33eff1b4250893956a244':
  Support MediaCodec::getOutputFormat for encoders