[FFmpeg-devel] [PATCH v2 0/7] Add UUID functionality to libavutil
Zane van Iperen
zane at zanevaniperen.com
Sun Apr 24 13:14:02 EEST 2022
This patchset adds functions for handling UUIDs to libavutil, under the av_uuid_*
prefix, and refactors the various ad-hoc handling to use it. This was
proposed in [1].
This is _heavily_ based off libuuid with various parts of the code
simplified to remove unnecessary functionality (e.g. generation, and v1
UUIDs).
v2:
- Removed unnecessary license header in libavutil/uuid.h
- Cosmetic fixes
[1]: https://ffmpeg.org/pipermail/ffmpeg-devel/2022-January/291917.html
Pierre-Anthony Lemieux (6):
avutil/tests/uuid: add uuid tests
avformat/mov: refactor to use avutil/uuid
avformat/smoothstreamingenc: refactor to use avutil/uuid
avcodec/cbs_sei: refactor to use avutil/uuid
avformat/imf: refactor to use avutil/uuid
avfilter/showinfo: refactor to use avutil/uuid
Zane van Iperen (1):
avutil/uuid: add utility library for manipulating UUIDs as specified
in RFC 4122
libavcodec/cbs_sei.h | 3 +-
libavcodec/vaapi_encode_h264.c | 8 +-
libavfilter/vf_showinfo.c | 17 +---
libavformat/imf.h | 18 +---
libavformat/imf_cpl.c | 60 +++++-------
libavformat/imfdec.c | 34 +++----
libavformat/mov.c | 25 ++---
libavformat/movenc.c | 9 +-
libavformat/smoothstreamingenc.c | 7 +-
libavformat/tests/imf.c | 18 ++--
libavutil/Makefile | 3 +
libavutil/tests/.gitignore | 1 +
libavutil/tests/uuid.c | 139 +++++++++++++++++++++++++++
libavutil/uuid.c | 155 +++++++++++++++++++++++++++++++
libavutil/uuid.h | 137 +++++++++++++++++++++++++++
tests/fate/libavutil.mak | 5 +
16 files changed, 525 insertions(+), 114 deletions(-)
create mode 100644 libavutil/tests/uuid.c
create mode 100644 libavutil/uuid.c
create mode 100644 libavutil/uuid.h
--
2.35.1
More information about the ffmpeg-devel
mailing list