libcamera: v4l2_subdevice: Rework enumPadSizes()

Align the enumPadSizes() interface and implementation with that of
enumPadCodes(). There is no functional change.

Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Niklas Söderlund
2019-06-19 02:47:06 +02:00
parent 3e51cc30bf
commit be78ffbe9a
2 changed files with 22 additions and 20 deletions
+2 -2
View File
@@ -58,8 +58,8 @@ protected:
private:
std::vector<unsigned int> enumPadCodes(unsigned int pad);
int enumPadSizes(unsigned int pad, unsigned int code,
std::vector<SizeRange> *size);
std::vector<SizeRange> enumPadSizes(unsigned int pad,
unsigned int code);
int setSelection(unsigned int pad, unsigned int target,
Rectangle *rect);