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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user