Use the target color format from the camera source if possible

- If the target color format is unavailable, the default
  platform-dependent color format will be used.

- Also add some logic to prevent looping forever if the
  omx component is buggy supporting color format enumeration.

Change-Id: I119a78f0d6201b4c3621235cca2f523ec14e24e3
2 files changed
tree: 4cb3f2fe756d43164ce2268cbed23ed28354388b
  1. camera/
  2. cmds/
  3. include/
  4. media/
  5. services/