summaryrefslogtreecommitdiff
path: root/utils/rkisp1
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2020-08-03 15:48:05 +0200
committerJacopo Mondi <jacopo@jmondi.org>2020-08-05 09:10:53 +0200
commit375fef72f85ba9184c860c4af86013e8688896e7 (patch)
tree6068c0bac3e93c0223a3fab6c97867da6962c8cb /utils/rkisp1
parent7876d631d930a761e42ed1b16b1aa35216f7d6a5 (diff)
libcamera: ipu3: Fix compilation issues with gcc5
GCC5 does not provide prototypes for the math library functions defined in the math.h header for the std:: namespace. Include the C++ <cmath> header in place of <math.h> as it defines overloads for the std::abs and std::fmod function. This goes intentionally against the libcamera coding guidelines, and is reported as warning by checkpatch.py. Fixes: 968ab9bad0ed ("libcamera: ipu3: imgu: Calculate ImgU pipe configuration") Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'utils/rkisp1')
0 files changed, 0 insertions, 0 deletions