commit | 4a66ad403b21a256773c719ae39f7b5e705b244e | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Sat May 04 18:24:30 2013 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Tue May 07 10:34:05 2013 -0700 |
tree | 3198e3e35106239ac73296e9208b6cab0cf22893 | |
parent | 831a0055665c3d15ff9c99ad23e5ab2b7346f2ac [diff] [blame] |
Camera3: Support flexible YUV for preview callbacks When the HAL supports it, and the client asks for YV12 or NV21, use the new flexible YUV format instead. Bug: 8734880 Change-Id: Ib0129d9c26a6b30f3be7aa624c2439c6edba1bbd
diff --git a/services/camera/libcameraservice/camera2/Parameters.h b/services/camera/libcameraservice/camera2/Parameters.h index 6d85037..b994ec9 100644 --- a/services/camera/libcameraservice/camera2/Parameters.h +++ b/services/camera/libcameraservice/camera2/Parameters.h
@@ -184,6 +184,7 @@ }; DefaultKeyedVector<uint8_t, OverrideModes> sceneModeOverrides; float minFocalLength; + bool useFlexibleYuv; } fastInfo; // Quirks information; these are short-lived flags to enable workarounds for