summaryrefslogtreecommitdiff
path: root/src/ipa/rkisp1/data
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2022-07-01 11:45:05 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-08-18 22:00:39 +0300
commit93629989a9a8710f1cea3f4df934ec1c696fa412 (patch)
tree8fc73f1ad869812f05abc3d87ba9b401a58d47c3 /src/ipa/rkisp1/data
parent777b0e0a655cce258a2b11e98546c3fc5a5be031 (diff)
py: cam.py: Fix multi camera capture without -C
-C flag is supposed to affect only the camera that was previously defined in the arguments. That's not the case, and, e.g.: cam.py -c2 -C -c3 causes camera 3 to start capturing, but it stops after the initial Requests have been completed. Fix the issue by filtering out camera contexts that do not have -C defined. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/ipa/rkisp1/data')
0 files changed, 0 insertions, 0 deletions
class="hl pps">"v4l2_videodevice_test.h" class RequestBuffersTest : public V4L2VideoDeviceTest { public: RequestBuffersTest() : V4L2VideoDeviceTest("vimc", "Raw Capture 0") {} protected: int run() { /* * TODO: * Test invalid requests * Test different buffer allocations */ const unsigned int bufferCount = 8; pool_.createBuffers(bufferCount); int ret = capture_->exportBuffers(&pool_); if (ret) return TestFail; return TestPass; } }; TEST_REGISTER(RequestBuffersTest);