summaryrefslogtreecommitdiff
path: root/src/qcam/assets/feathericons/shield.svg
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-02-28 17:37:23 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-03-06 18:10:12 +0200
commit3f04152d56acadceaf0db8b9afa9b784d111452f (patch)
tree34fafe3be304b2396fb451c2b31725e4a188420a /src/qcam/assets/feathericons/shield.svg
parent3a48f525f9f09300dac47413f9130860c47acbde (diff)
libcamera: ipa: Make <ipa/ipa_controls.h> self-contained
The <ipa/ipa_controls.h> header makes use of uint*_t types, but doesn't include stdint.h. Fix it, and include ipa_controls.h in ipa_controls.cpp to test compilation of the header on its own. While at it, fix the comment as the top of ipa_controls.cpp to refer to the correct file name. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/qcam/assets/feathericons/shield.svg')
0 files changed, 0 insertions, 0 deletions
>; return TestFail; } std::vector<std::pair<uint32_t, const char *>> formats{ { V4L2_PIX_FMT_YUYV, "YUYV" }, { 0, "<INVALID>" }, { v4l2_fourcc(0, 1, 2, 3), "...." }, { V4L2_PIX_FMT_Y16_BE, "Y16 -BE" } }; for (const auto &format : formats) { if (V4L2PixelFormat(format.first).toString() != format.second) { cerr << "Failed to convert V4L2PixelFormat" << utils::hex(format.first) << "to string" << endl; return TestFail; } } if (V4L2PixelFormat().toString() != "<INVALID>") { cerr << "Failed to convert default V4L2PixelFormat to string" << endl; return TestFail; } return TestPass; } }; TEST_REGISTER(Format);