diff options
author | Simon Wilson <simonwilson@google.com> | 2010-10-21 16:47:17 -0700 |
---|---|---|
committer | Simon Wilson <simonwilson@google.com> | 2010-10-21 16:52:53 -0700 |
commit | e46ae2fa1195d5de9bb5c6789501d1e09173c2da (patch) | |
tree | 8114095a29712c4f786c793699e0e81f8fdd5da7 /liboverlay | |
parent | 25a7b38f7b22565d5472828781c8b6ee9103b082 (diff) | |
download | device_samsung_crespo-e46ae2fa1195d5de9bb5c6789501d1e09173c2da.zip device_samsung_crespo-e46ae2fa1195d5de9bb5c6789501d1e09173c2da.tar.gz device_samsung_crespo-e46ae2fa1195d5de9bb5c6789501d1e09173c2da.tar.bz2 |
Revert "S5PC11X: OVERLAY: change flip & rotation order."
The android framework was altered to change the rotation/flip
order, so this is no longer required.
This reverts commit 6a0dfcee1be91e7fc61dd9f62bdeee7a10fbffb2.
Change-Id: I3ebd17683bfe485a21e04506bd5031a88280b304
Diffstat (limited to 'liboverlay')
-rw-r--r-- | liboverlay/overlay.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/liboverlay/overlay.cpp b/liboverlay/overlay.cpp index 12b747f..73c3501 100644 --- a/liboverlay/overlay.cpp +++ b/liboverlay/overlay.cpp @@ -802,16 +802,13 @@ static int overlay_setParameter(struct overlay_control_device_t *dev, stage->rotation = 0; stage->flip = V4L2_CID_VFLIP; break; - /* - * FIMC rotates first. but android devices flip first. - */ case OVERLAY_TRANSFORM_ROT_90+OVERLAY_TRANSFORM_FLIP_H: stage->rotation = 90; - stage->flip = V4L2_CID_VFLIP; + stage->flip = V4L2_CID_HFLIP; break; case OVERLAY_TRANSFORM_ROT_90+OVERLAY_TRANSFORM_FLIP_V: stage->rotation = 90; - stage->flip = V4L2_CID_HFLIP; + stage->flip = V4L2_CID_VFLIP; break; default: |