This is a copy of the libcamera_medatada from Android goog/pi-arc-dev 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/