diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2021-06-30 14:29:11 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-07-27 12:57:34 +0200 |
commit | 18d61deb3c0aebcf99c9b085f7031cd2f12b4d66 (patch) | |
tree | c647b657d59b59bedeca42a9f28dd122b5003a8f /src/android/camera_capabilities.h | |
parent | e1d43481b9fee7675b117952e331e20c7bfbf248 (diff) |
android: capabilties: Rationalize get[YUV|Raw]Resolution names
The getYUVResolutions() and getRawResolutions() functions are called
from the initializeStreamConfigurations() function, which is called by
initialize().
Rationalize the function naming scheme by renaming the two functions to
initializeYUVResolutions() and initializeRawResolution().
Cosmetic change only.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/android/camera_capabilities.h')
-rw-r--r-- | src/android/camera_capabilities.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/android/camera_capabilities.h b/src/android/camera_capabilities.h index e72bf084..e7aa46c0 100644 --- a/src/android/camera_capabilities.h +++ b/src/android/camera_capabilities.h @@ -43,10 +43,10 @@ private: }; std::vector<libcamera::Size> - getYUVResolutions(const libcamera::PixelFormat &pixelFormat, - const std::vector<libcamera::Size> &resolutions); + initializeYUVResolutions(const libcamera::PixelFormat &pixelFormat, + const std::vector<libcamera::Size> &resolutions); std::vector<libcamera::Size> - getRawResolutions(const libcamera::PixelFormat &pixelFormat); + initializeRawResolutions(const libcamera::PixelFormat &pixelFormat); int initializeStreamConfigurations(); int initializeStaticMetadata(); |