From: Zane van Iperen <zane@zanevaniperen.com>
To: ffmpeg-devel@ffmpeg.org
Subject: [FFmpeg-devel] [PATCH 0/7] Add UUID functionality to libavutil
Date: Tue, 22 Feb 2022 23:01:46 +1000
Message-ID: <20220222130153.289215-1-zane@zanevaniperen.com> (raw)
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).
Why not use libuuid directly?
* It introduces yet another external dependency,
* has issues building on Windows, and
* the code is relatively small, stable, and unlikely to change.
[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 | 156 +++++++++++++++++++++++++++++
libavutil/uuid.h | 167 +++++++++++++++++++++++++++++++
tests/fate/libavutil.mak | 5 +
16 files changed, 556 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
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next reply other threads:[~2022-02-22 13:02 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-22 13:01 Zane van Iperen [this message]
2022-02-22 13:01 ` [FFmpeg-devel] [PATCH 1/7] avutil/uuid: add utility library for manipulating UUIDs as specified in RFC 4122 Zane van Iperen
2022-02-22 14:21 ` James Almer
2022-02-23 6:53 ` Zane van Iperen
2022-02-28 3:22 ` Pierre-Anthony Lemieux
2022-02-22 15:01 ` Zane van Iperen
2022-02-23 6:01 ` Lynne
2022-02-23 6:48 ` Zane van Iperen
2022-02-23 7:01 ` Zane van Iperen
2022-02-23 9:54 ` Lynne
2022-02-23 10:40 ` Zane van Iperen
2022-02-22 13:01 ` [FFmpeg-devel] [PATCH 2/7] avutil/tests/uuid: add uuid tests Zane van Iperen
2022-02-22 13:01 ` [FFmpeg-devel] [PATCH 3/7] avformat/mov: refactor to use avutil/uuid Zane van Iperen
2022-02-22 13:01 ` [FFmpeg-devel] [PATCH 4/7] avformat/smoothstreamingenc: " Zane van Iperen
2022-02-22 13:01 ` [FFmpeg-devel] [PATCH 5/7] avcodec/cbs_sei: " Zane van Iperen
2022-02-22 13:01 ` [FFmpeg-devel] [PATCH 6/7] avformat/imf: " Zane van Iperen
2022-02-22 13:01 ` [FFmpeg-devel] [PATCH 7/7] avfilter/showinfo: " Zane van Iperen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220222130153.289215-1-zane@zanevaniperen.com \
--to=zane@zanevaniperen.com \
--cc=ffmpeg-devel@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git