From: James Almer <jamrial@gmail.com>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH v5 2/2] avutil: add HDR10+ dynamic metadata serialization function
Date: Mon, 13 Mar 2023 19:20:34 -0300
Message-ID: <06ed2d02-d832-885b-d1fc-cee76ba22187@gmail.com> (raw)
In-Reply-To: <6f3fc186-0b7f-052c-ecfb-b884eace4fed@vimeo.com>
On 3/13/2023 6:39 PM, Raphaël Zumer wrote:
> Co-authored-by: Mohammad Izadi <moh.izadi@gmail.com>
> Signed-off-by: Raphaël Zumer <rzumer@tebako.net>
> ---
> doc/APIchanges | 5 ++
> libavutil/hdr_dynamic_metadata.c | 145 +++++++++++++++++++++++++++++++
> libavutil/hdr_dynamic_metadata.h | 13 +++
> libavutil/version.h | 2 +-
> 4 files changed, 164 insertions(+), 1 deletion(-)
>
> diff --git a/doc/APIchanges b/doc/APIchanges
> index 14737223cb..3a61d61931 100644
> --- a/doc/APIchanges
> +++ b/doc/APIchanges
> @@ -2,6 +2,11 @@ The last version increases of all libraries were on 2023-02-09
>
> API changes, most recent first:
>
> +2023-03-13 - xxxxxxxxxx - lavu 58.4.100 - hdr_dynamic_metadata.h
> + Add av_dynamic_hdr_plus_from_t35() and av_dynamic_hdr_plus_to_t35()
> + functions to convert between raw T.35 payloads containing dynamic
> + HDR10+ metadata and their parsed representations as AVDynamicHDRPlus.
> +
> 2023-03-02 - xxxxxxxxxx - lavc 60.6.100 - avcodec.h
> Add FF_PROFILE_EAC3_DDP_ATMOS, FF_PROFILE_TRUEHD_ATMOS,
> FF_PROFILE_DTS_HD_MA_X and FF_PROFILE_DTS_HD_MA_X_IMAX.
> diff --git a/libavutil/hdr_dynamic_metadata.c b/libavutil/hdr_dynamic_metadata.c
> index 98f399b032..9e35d929c7 100644
> --- a/libavutil/hdr_dynamic_metadata.c
> +++ b/libavutil/hdr_dynamic_metadata.c
> @@ -225,3 +225,148 @@ int av_dynamic_hdr_plus_from_t35(AVDynamicHDRPlus *s, const uint8_t *data,
>
> return 0;
> }
> +
> +int av_dynamic_hdr_plus_to_t35(uint8_t **data, size_t *size, const AVDynamicHDRPlus *s)
I'll change the signature to (const AVDynamicHDRPlus *s, uint8_t **data,
size_t *size) to have the struct as first argument before pushing if you
don't mind. It's more in line with the usual order of arguments in the
project, and also with av_dynamic_hdr_plus_from_t35().
_______________________________________________
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 prev parent reply other threads:[~2023-03-13 22:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-13 21:39 Raphaël Zumer
2023-03-13 22:20 ` James Almer [this message]
2023-03-13 22:35 ` Andreas Rheinhardt
2023-03-13 23:19 ` Raphaël Zumer
2023-03-13 23:25 ` James Almer
2023-03-13 23:30 ` Raphaël Zumer
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=06ed2d02-d832-885b-d1fc-cee76ba22187@gmail.com \
--to=jamrial@gmail.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