History log of /system/media/camera/docs/HidlMetadata.mako
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d4c0fe30d67b7597d77079a0304647b6ea74284f 14-Mar-2018 Eino-Ville Talvala <etalvala@google.com> Camera2: Add distortion correction support

This allows camera devices to correct geometric distortion in their
optics, when requested by the application.

The correction only applies to processed (YUV, JPEG, etc) outputs,
not RAW buffers, or the result metadata.

Also fix metadata generation code to handle <clone> entries and their
hal_versions, to fix code generation for the HIDL layer. A clone entry
inherits its target entry's hal version, but can override it to a
higher version if necessary; an error is generated if the version is
less than the target entry. In addition, fix bug in generating HIDL
output when there are multiple new sections in a new HAL version.

Test: New CTS test passes
Bug: 74434422
Change-Id: I6154e9757310636565aec5344a8988408234c164
/system/media/camera/docs/HidlMetadata.mako
5fb920ec5437f3335b6077a73c9f6421aa0d7894 28-Dec-2017 Shuzhen Wang <shuzhenwang@google.com> Camera: Fix Hidl metadata section generation

- Fix name collision related to metadata section
- Fix fully qualified metadata name for ANDROID_SECTION_COUNT

Test: Run hidl-gen with added new metadata sections
Bug: 71388767
Change-Id: I59bc4494b81b1e7207796f2597cc20516fa64fcd
/system/media/camera/docs/HidlMetadata.mako
63674ffbc0e519fdbbcd669ef0ffbff2c1991552 07-Dec-2017 Eino-Ville Talvala <etalvala@google.com> Camera: Add support for HAL-versioned enum values

- Add hal_version to enum value fields as well, and add it to various doc outputs
- Improve HIDL metadata generation to work better with hidl-doc, and properly handle
enum value additions in new hal versions
- Enable HIDL HAL 3.3 output

Test: Builds, hidl-gen/hidl-doc are happy with the HIDL output
Bug: 63629224
Change-Id: I64b31d9e8e6eda41268df0fc95962b52fcce7fee
/system/media/camera/docs/HidlMetadata.mako
dafa653b90c8ffff1a14202ee045c6374d737bab 17-Nov-2017 Eino-Ville Talvala <etalvala@google.com> Camera: Generate HIDL metadata modules

- Add HidlMetadata.mako template for creating HIDL types.hal files
- Add necessary helpers and model properties to easily find sections and entries added in a given
HIDL version
- Ensure the HIDL version also shows up in the first entry of each section in the camera_metadata
C headers
- Add HIDL output to metadata-generate (though each new HIDL version needs to have a few lines added)

Bug: 33262893
Test: Verify generated HIDL output manually, build, and HIDL built-in sanity checks.
Add a few test entries and sections with different HIDL versions to see that generated code is right.
Change-Id: I9ee3b0839bab4b3efed415dab4208bacdbad56b1
/system/media/camera/docs/HidlMetadata.mako