[libcamera-devel] softISP for libcamera

Hans de Goede hdegoede at redhat.com
Tue Dec 5 12:38:57 CET 2023


Hi Pavel,

On 12/5/23 00:04, Pavel Machek via libcamera-devel wrote:
> Hi!
> 
>> First, thanks for softisp efforts. I worked on something similar but
>> did not get anywhere near mergeable state. (My hacks are at
>> git at gitlab.com:tui/libcamera.git,  new-ae2 branch).
>>
>> I tried to test the code on PinePhone, so I started from 
>>
>> commit 10c27dc4cf922fb79e9f3a3cf44602f472bbc102 (HEAD -> sisp, softisp/SoftwareISP-v02, origin/sisp)
>> Author: Andrey Konovalov <andrey.konovalov at linaro.org>
>> Date:   Fri Dec 1 17:01:30 2023 +0300
>>
>> But I'm getting build error:
>>
>> ../src/libcamera/pipeline/simple/simple.cpp:28:10: fatal error: libcamera/ipa/soft_ipa_interface.h: No such file or directory
>>    28 | #include <libcamera/ipa/soft_ipa_interface.h>
>>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> compilation terminated.
>>
>> ...and it sounds like libcamera/ipa/soft_ipa_interface.h is missing
>> from the repository?
> 
> It may be that I failed to enable simple/linaro pipeline in the
> meson. It certainly does not list it. If I try with parent commit, it
> builds okay, but I guess that means code is not enabled.

Did you see Andrey's reply that you need to pass:

"-Dpipelines=simple/linaro -Dipas=simple/linaro"

During the meson configure/setup phase? If you pass that
then the libcamera/ipa/soft_ipa_interface.h file will
get generated during the build.

(I hit the exact same issue when trying Andrey's patches).

Regards,

Hans




More information about the libcamera-devel mailing list