lib: Add byte data reader/writer helpers

These helpers are directly copied from GStreamer and stripped down quite
a bit to e.g. always assume the machine does not support unaligned
access.
This commit is contained in:
Benjamin Berg
2019-07-13 11:27:07 +02:00
parent 57866c45cd
commit b8bb08649d
6 changed files with 3459 additions and 0 deletions

View File

@@ -7,6 +7,8 @@ libfprint_sources = [
'fpi-assembling.c',
'fpi-ssm.c',
'fpi-usb-transfer.c',
'fpi-byte-reader.c',
'fpi-byte-writer.c',
]
libfprint_public_headers = [
@@ -22,6 +24,9 @@ libfprint_private_headers = [
'fpi-image.h',
'fpi-image-device.h',
'fpi-print.h',
'fpi-byte-reader.h',
'fpi-byte-writer.h',
'fpi-byte-utils.h',
]
nbis_sources = [