Comments (6)
@naushir
Hello, I'm working to add support for v4l2 array controls as per your
8893388 ("DNI: Add U8 compound control for RPi IPA.")
I'm currently failing to find a use case for that in your code base. Should I expect the unicam driver to register a U8 control in future, or am I missing the current use case?
from libcamera.
Hi @jmondi, the compound controls are used by the ISP driver (bcm2835-v4l2-isp.c). If you look at the IPA code (src/libcamera/pipeline/raspberrypi/raspberrypi.cpp), most of the apply*() functions set compound controls to the ISP driver.
from libcamera.
Here you go:
ControlValue c(reinterpret_cast<uint8_t *>(&ccm), sizeof(ccm));
ctrls.set(V4L2_CID_USER_BCM2835_ISP_CC_MATRIX, c);
Thanks, that will help validating my implementation.
from libcamera.
Support for compound controls has been merged to master, thanks to @jmondi and @pinchartl
Closing this task.
from libcamera.
Ooops, I was too trigger happy. Sounds like there is still a little bit of development left to do to tie this into the V4L2 layers.
from libcamera.
Done now :-)
from libcamera.
Related Issues (20)
- Segmentation Fault in libcamera when Running cam Command HOT 1
- Private headers must not be included in the libcamera API HOT 2
- [BUG] Warnings appear when the camera is activated on Raspberry Pi HOT 2
- [BUG] ov9281 doesn't work on PI5 HOT 9
- libcamera-apps fail to run V2 camera on RPi5 HOT 25
- Specific reason for using shared_library over library? HOT 2
- [HOW-TO] Run AutoFocus only on a specific range of lenses HOT 3
- [BUG] libcamera fail with IMX 219 with both latest version linux and 6.1.65 version linux HOT 6
- Libcamera problems on RPi4 Ubuntu HOT 1
- Bugged Lines HOT 2
- Missleading Build Instructions HOT 2
- Unable to build libcamera with Python bindings HOT 4
- IMX519 on bookworm
- RPI4B OV5647 Camera black screen! HOT 7
- libcamerasrc doesn't work with CM4 RPI Cam V2 and V3 HOT 5
- Can't start gstreamer pipeline after update HOT 4
- Raspberry Pi Camera Module 3 not available on RPi 5/bookworm HOT 2
- Encoding and Decoding Example? HOT 5
- can't open stream on remote device HOT 3
- Handling of 16-bit bayer Endianness HOT 26
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libcamera.