[libcamera-devel] [PATCH v6 0/4] IPA isolation: Part 3: Tests and documentation

Paul Elder paul.elder at ideasonboard.com
Thu Dec 24 09:17:09 CET 2020


v6 is split in three parts, core components, conversion + plumbing, and
tests + documentation.

This is part 3, and adds tests and documentation for IPA isolation.

1/4 tests the IPADataSerializer and 2/4 tests the IPCUnixSocket, both
in the same manner as how the generated IPA proxies would use them.

3/4 adds a guide about writing IPAs.

4/4 tests the generated serializer.


Changes in v6:
- no longer need to initialize rpi ControlInfoMap, and no longer
  necessary it pass it to the ControlList serializer
- update documentation about the required namespacing, customizable
  start(), and that {pipeline_name}.h is no longer required
- use namespacing in the mojom file and test


Paul Elder (4):
  tests: Add IPADataSerializer test
  tests: Add test for IPCPipeUnixSocket
  Documentation: Add IPA writers guide
  tests: Test IPA serializer generation

 Documentation/guides/ipa.rst                  | 474 ++++++++++++++++++
 Documentation/index.rst                       |   1 +
 Documentation/meson.build                     |   1 +
 test/ipc/meson.build                          |   3 +-
 test/ipc/unixsocket_ipc.cpp                   | 237 +++++++++
 .../generated_serializer_test.cpp             | 128 +++++
 .../generated_serializer/meson.build          |  49 ++
 .../generated_serializer/vimc.mojom           |  33 ++
 .../ipa_data_serializer_test.cpp              | 464 +++++++++++++++++
 test/serialization/meson.build                |   5 +-
 10 files changed, 1393 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/guides/ipa.rst
 create mode 100644 test/ipc/unixsocket_ipc.cpp
 create mode 100644 test/serialization/generated_serializer/generated_serializer_test.cpp
 create mode 100644 test/serialization/generated_serializer/meson.build
 create mode 100644 test/serialization/generated_serializer/vimc.mojom
 create mode 100644 test/serialization/ipa_data_serializer_test.cpp

-- 
2.27.0



More information about the libcamera-devel mailing list