Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

RK3399 ISP does much more than cropping/resizing. (It can't do rotation, btw - if it can, I wanna know where you're getting your details from, because that would be very useful :))

It's still a bit basic, I'd like more, but there much more color and image correction controls than you're acknowledging https://www.kernel.org/doc/html/latest/userspace-api/media/v...

There's also no firmware. It can be used as is without one.

Lack of documentation is also not a huge issue, since rockchip manuals for all/most parameters of the ISP are findable on the net.

What's missing are calibration tools. But those can be re-created from scratch. It's not terribly difficult.

Just saying that there are FOSS supported ISPs available. RKISP10 is fully supported in mainline Linux. You can just use it via v4l2.



IIRC the other operations are only supported on the other linux media framework (of which I can't remember the name - but it's the newer one than v4l2), and most examples I saw (a while back with a RK3399 dev board) were using libcamera at the time.

It does indeed not need firmware, but higher end IPS blocks often do, especially when you get much higher bandwidth sensors per CSI channel.

What I am wondering now about those calibration tools is if however they are built or reverse-engineered, they could read the pre-existing calibration payload.


Whole of ISP uses v4l2. You communicate with ISP by sending specially formatted buffers (C structs docs I posted) via v4l2 buffers (the same interface you'd get image data, too).

Preexisting calibration data are just XML files with params to load to the ISP and params to use to determine which set of params to load based on statistics collected from ISP (like after detecting what kind of light the scene has, you have to load params calibrated for that light type).

(I do rotation via RGA, so maybe you mean that? That's a separate HW block, not part of ISP.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: