This is a copy of the libcamera_metadata from Android goog/tm-arc branch:
include/
and src/*.c
from android/system/media/camera/
include/camera_metadata_hidden.h
from android/system/media/private/camera/include/
camera_metadata.c
to fix compile errors. The diffs can be found in src/diff/