summaryrefslogtreecommitdiff
path: root/utils/codegen/controls.py
diff options
context:
space:
mode:
authorDaniel Scally <dan.scally@ideasonboard.com>2024-11-15 12:25:33 +0000
committerDaniel Scally <dan.scally@ideasonboard.com>2024-12-17 22:35:58 +0000
commit10ccab9db9bba9355b65fce11adbc6b979c6d836 (patch)
tree19a19d1a4231a27cfa201f5bcd5d9c028be88397 /utils/codegen/controls.py
parent52b19407f016c74bff9bed268695c9df687ff0a8 (diff)
libcamera: mali-c55: Acquire and plumb in 3a params and stats
Acquire the mali-c55 3a stats and parameters video devices during ::match() and plumb them in. For this commit we simply allocate and release buffers for the statistics and parameters. Statistics buffers are queue and dequeued from the stats video device but their contents are for now untouched. Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Acked-by: Nayden Kanchev <nayden.kanchev@arm.com> Co-developed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
Diffstat (limited to 'utils/codegen/controls.py')
0 files changed, 0 insertions, 0 deletions
pan>: GstreamerSingleStreamTest() : GstreamerTest() { } protected: int init() override { if (status_ != TestPass) return status_; const gchar *streamDescription = "videoconvert ! fakesink"; g_autoptr(GError) error0 = NULL; stream0_ = gst_parse_bin_from_description_full(streamDescription, TRUE, NULL, GST_PARSE_FLAG_FATAL_ERRORS, &error0); if (!stream0_) { g_printerr("Bin could not be created (%s)\n", error0->message); return TestFail; } g_object_ref_sink(stream0_); if (createPipeline() != TestPass) return TestFail; return TestPass; } int run() override { /* Build the pipeline */ gst_bin_add_many(GST_BIN(pipeline_), libcameraSrc_, stream0_, NULL); if (gst_element_link(libcameraSrc_, stream0_) != TRUE) { g_printerr("Elements could not be linked.\n"); return TestFail; } if (startPipeline() != TestPass) return TestFail; if (processEvent() != TestPass) return TestFail; return TestPass; } void cleanup() override { g_clear_object(&stream0_); } private: GstElement *stream0_; }; TEST_REGISTER(GstreamerSingleStreamTest)