diff options
author | Ruben Brunk <rubenbrunk@google.com> | 2015-06-12 16:15:35 -0700 |
---|---|---|
committer | Ruben Brunk <rubenbrunk@google.com> | 2015-06-12 16:18:20 -0700 |
commit | 77a77f6ef6f04dba8caa54bda937cb276cace9ad (patch) | |
tree | 9ecf4f8427cb33f78a5e4ad7effdfeda892fcaa4 /services/camera | |
parent | f49b5150f87c98c389a334c3af5a9a586d40ee8f (diff) | |
download | frameworks_av-77a77f6ef6f04dba8caa54bda937cb276cace9ad.zip frameworks_av-77a77f6ef6f04dba8caa54bda937cb276cace9ad.tar.gz frameworks_av-77a77f6ef6f04dba8caa54bda937cb276cace9ad.tar.bz2 |
Fix rounding width.
Bug: 19930700
Change-Id: I9d5685bd98a049fcb01f6ecc649f15f3b4498e6d
Diffstat (limited to 'services/camera')
-rw-r--r-- | services/camera/libcameraservice/api2/CameraDeviceClient.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/services/camera/libcameraservice/api2/CameraDeviceClient.h b/services/camera/libcameraservice/api2/CameraDeviceClient.h index 3bda70c..0f485ca 100644 --- a/services/camera/libcameraservice/api2/CameraDeviceClient.h +++ b/services/camera/libcameraservice/api2/CameraDeviceClient.h @@ -27,8 +27,7 @@ namespace android { -struct CameraDeviceClientBase : - public CameraService::BasicClient, public BnCameraDeviceUser +struct CameraDeviceClientBase : public CameraService::BasicClient, public BnCameraDeviceUser { typedef ICameraDeviceCallbacks TCamCallbacks; @@ -167,7 +166,7 @@ private: // Find the closest dimensions for a given format in available stream configurations with // a width <= ROUNDING_WIDTH_CAP - static const int32_t ROUNDING_WIDTH_CAP = 1080; + static const int32_t ROUNDING_WIDTH_CAP = 1920; static bool roundBufferDimensionNearest(int32_t width, int32_t height, int32_t format, android_dataspace dataSpace, const CameraMetadata& info, /*out*/int32_t* outWidth, /*out*/int32_t* outHeight); |