Git Product home page Git Product logo

Comments (6)

jmondi avatar jmondi commented on June 12, 2024

@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.

naushir avatar naushir commented on June 12, 2024

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.

jmondi avatar jmondi commented on June 12, 2024

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.

kbingham avatar kbingham commented on June 12, 2024

Support for compound controls has been merged to master, thanks to @jmondi and @pinchartl
Closing this task.

from libcamera.

kbingham avatar kbingham commented on June 12, 2024

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.

pinchartl avatar pinchartl commented on June 12, 2024

Done now :-)

from libcamera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.