diff options
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); |