uzuna / jetson-imx708

GNU General Public License v2.0
9 stars 0 forks source link

HDR. #6

Open ablyzniuk opened 2 months ago

ablyzniuk commented 2 months ago

Hello!) Can you give some tips to enable HDR support in this driver, and how to correctly reconfigure registers to set needed resolution? Kind regards)

uzuna commented 2 months ago

This driver does not support HDR. And there are currently no plans to add more...

As reference information: HDR mode is implemented in imx708.c at raspberrypi/linux, and there is an implementation example in nv_imx185.c at jetson/linux.

ablyzniuk commented 2 months ago

Thanks. It's already in progress.

ablyzniuk commented 2 months ago

@uzuna Hello again. I'm very sorry about asking you again. I have some problems with adding an HDR, my confidence in approach I'm using for is low enough. I am new to creating camera drivers. Can I ask you about any ideas you have about enabling HDR. Your advice about example from Rasbery didn't help me much, because architecture is quite different.

uzuna commented 2 months ago

@ablyzniuk Hello, unfortunately I have no experience writing HDR compatible drivers, so I have little advice to offer... However, as I wrote in the comment above, looking at nv_imx185.c, I don't think there is much difference between it and non-HDR. With DOL-HDR, it looks like you just have to set two exposure settings.

If you want to use it for some kind of product, RidgeRun, which publishes the IMX708 driver, may be able to undertake the development.

ablyzniuk commented 2 months ago

@uzuna Good evening. I'm already familiar with RidgeRun driver. A couple(or more) of different registers must also be set alongside two parameters. I can't get a datasheet with proprietary registers information(Sony made it prohibited), that's why I looking for additional driver's implementation.