camera: Fix MTK8183 rotate hw limitation

Due to hardware limitations on the MTK8183 platform, only one stream can be rotated.
If more than two streams are configured, the config stream will fail.
In the SODA app, two streams are configured with crop_rotate_scale_degrees set to 90 degrees.
The current logic for checking streams directly assigns crop_rotate_scale_degrees to rotate,
which violates the hardware limitation.
Therefore,remove this incorrect logic.

BUG=b:318793915
TEST=install SODA and launch camera

Change-Id: I6ca203b181a8fbe7d29f05ea642dab2d3a13c4cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/camera/+/5464796
Commit-Queue: becker hsieh <beckerh@chromium.org>
Reviewed-by: Ren-Pei Zeng <kamesan@chromium.org>
Reviewed-by: Hanlin Chen <hanlinchen@google.com>
Auto-Submit: becker hsieh <beckerh@chromium.org>
Tested-by: becker hsieh <beckerh@chromium.org>
1 file changed
tree: 57fc677a1955ac711461da332200f664dcafcc97
  1. hal/
  2. .gitignore
  3. .presubmitignore
  4. DIR_METADATA
  5. OWNERS
  6. README.md
README.md

Chrome OS Platform Camera

This repository hosts all the platform camera code contributed by partners and vendors.