Re: [FFmpeg-devel] videolan ffmpeg git issue [please dont push before reading]

2023-02-24 Thread Gyan Doshi
On 2023-02-25 06:44 am, Michael Niedermayer wrote: Hi all it seems videolan had a double RAID failure and was restored from backup that caused ffmpeg developer git for master and release/5.1 to rewind by a few commits. git pull gives 'WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!' Is

Re: [FFmpeg-devel] [PATCH 4/6] avformat/mov: parse ISO-14496-12 ChannelLayout

2023-02-24 Thread Zhao Zhili
On Fri, 2023-02-24 at 15:49 +0200, Jan Ekström wrote: > On Fri, Feb 24, 2023 at 6:25 AM Zhao Zhili wrote: > > > > From: Zhao Zhili > > > > Signed-off-by: Zhao Zhili > > Hah, I actually happened to recently start coding uncompressed audio > support in mp4 myself, but what this commit is

[FFmpeg-devel] [PATCH] libavcodec/libfdk-aacenc: Enable writing DRC metadata

2023-02-24 Thread JonHGee
Added basic DRC options and ref levels to AV options. If any options are selected, metadata mode is set accordingly and metadata is added to input buffer per FDK encoder API. --- libavcodec/libfdk-aacenc.c | 72 ++ 1 file changed, 58 insertions(+), 14

[FFmpeg-devel] videolan ffmpeg git issue [please dont push before reading]

2023-02-24 Thread Michael Niedermayer
Hi all it seems videolan had a double RAID failure and was restored from backup that caused ffmpeg developer git for master and release/5.1 to rewind by a few commits. It would be slightly messy if different commits are pushed on that rewond HEADs- So if you push something (when its possible

[FFmpeg-devel] [PATCH] libavcodec/libfdk-aacnc: send encoder delay/padding in packet side data

2023-02-24 Thread JonHGee
--- libavcodec/libfdk-aacenc.c | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/libavcodec/libfdk-aacenc.c b/libavcodec/libfdk-aacenc.c index 54549de473..55d10990e4 100644 --- a/libavcodec/libfdk-aacenc.c +++ b/libavcodec/libfdk-aacenc.c @@ -21,6

Re: [FFmpeg-devel] [PATCH 4/6] avformat/mov: parse ISO-14496-12 ChannelLayout

2023-02-24 Thread Zhao Zhili
On Fri, 2023-02-24 at 10:42 +0100, Tomas Härdin wrote: > fre 2023-02-24 klockan 20:25 +0800 skrev Zhao Zhili: > > +    if (!layout) { > > +    uint8_t positions[64] = {}; > > Is there a maximum number of channels defined somewhere? stsd supports > up to 65535. AV_CHANNEL_ORDER_NATIVE

Re: [FFmpeg-devel] [PATCH 1/6] avformat/movenc: add PCM in mp4 support

2023-02-24 Thread Zhao Zhili
On Fri, 2023-02-24 at 10:41 +0100, Tomas Härdin wrote: > fre 2023-02-24 klockan 20:25 +0800 skrev Zhao Zhili: > > +static int is_mp4_pcm_codec(enum AVCodecID codec) > > +{ > > +    static const enum AVCodecID codec_list[] = { > > +    AV_CODEC_ID_PCM_S16BE, > > +    AV_CODEC_ID_PCM_S16LE,

[FFmpeg-devel] [PATCH v2 8/8] fate/mov: add PCM in mp4 test

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili Signed-off-by: Zhao Zhili --- tests/fate/mov.mak | 12 tests/filtergraphs/mov-mp4-pcm | 5 + tests/ref/fate/mov-mp4-pcm | 27 +++ tests/ref/fate/mov-mp4-pcm-float | 7 +++ 4 files changed, 51 insertions(+)

[FFmpeg-devel] [PATCH v2 7/8] avformat/movenc: write ChannelLayout box for PCM

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavformat/movenc.c | 48 +++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 3315057b88..058d3cd6d1 100644 --- a/libavformat/movenc.c +++

[FFmpeg-devel] [PATCH v2 6/8] avformat/mov: parse ISO-14496-12 ChannelLayout

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavformat/mov.c | 85 +++- libavformat/mov_chan.c | 296 + libavformat/mov_chan.h | 26 3 files changed, 406 insertions(+), 1 deletion(-) diff --git a/libavformat/mov.c

[FFmpeg-devel] [PATCH v2 5/8] avformat/isom_tags: remove ipcm from movaudio_tags

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili ipcm is defined by ISO/IEC 23003-5, not defined by quicktime. After adding ISO/IEC 23003-5 support, we don't need it for ticket #9219. Signed-off-by: Zhao Zhili --- libavformat/isom_tags.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavformat/isom_tags.c

[FFmpeg-devel] [PATCH v2 4/8] avformat/mov: fix ISO/IEC 23003-5 support

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili Missing floating-point formats support. Signed-off-by: Zhao Zhili --- libavformat/mov.c | 47 +++ 1 file changed, 47 insertions(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index a9911c0f79..e75cf2f4b7 100644 ---

[FFmpeg-devel] [PATCH v2 3/8] avformat/mov: base the endianness on just the LSB

2023-02-24 Thread Zhao Zhili
From: Jan Ekström As per 23003-5:2020, the rest of the bits are reserved, and thus in the future they may be utilized for something else. Quote: format_flags is a field of flags that modify the default PCM sample format. Undefined flags are reserved and shall be zero. The following flag is

[FFmpeg-devel] [PATCH v2 0/8] add PCM in mp4 support

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili This patchset adds support of demux/mux PCM in mp4, and related channel layout information. PCM in mp4 is defined by ISO/IEC 23003-5. The channel layout tag 'chn' is defined by ISO/IEC 14496-12 with reference to ISO/IEC 23001-8. v2: 1/8: simplied with switch-case 2-3/8:

[FFmpeg-devel] [PATCH v2 2/8] avformat/mov: check that pcmC box is of the expected type

2023-02-24 Thread Zhao Zhili
From: Jan Ekström As per 23003-5:2020 this box is defined as PCMConfig extends FullBox(‘pcmC’, version = 0, 0), which means that version is 0 and flags should be zero. --- libavformat/mov.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/libavformat/mov.c

[FFmpeg-devel] [PATCH v2 1/8] avformat/movenc: add PCM in mp4 support

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili It's defined by ISO/IEC 23003-5. Fixes ticket #10185 Signed-off-by: Zhao Zhili --- libavformat/movenc.c | 60 +++- 1 file changed, 59 insertions(+), 1 deletion(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index

Re: [FFmpeg-devel] FFmpeg 6.0

2023-02-24 Thread Brad Isbell
For the release name, I vote 6.0. ;-) Brad Isbell // AudioPump, Inc. b...@audiopump.co Phone: +1 312-488-4680 On Fri, Feb 24, 2023 at 9:56 AM Niklas Haas wrote: > > On Tue, 21 Feb 2023 12:38:38 +0100 Michael Niedermayer > wrote: > > On Fri, Feb 10, 2023 at 06:47:03PM +0100, Michael

[FFmpeg-devel] Bump major version of swresample

2023-02-24 Thread Wang Bin
0001-Bump-major-version-of-swresample.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org

Re: [FFmpeg-devel] FFmpeg 6.0

2023-02-24 Thread Niklas Haas
On Tue, 21 Feb 2023 12:38:38 +0100 Michael Niedermayer wrote: > On Fri, Feb 10, 2023 at 06:47:03PM +0100, Michael Niedermayer wrote: > > Hi all > > > > i plan to branch off release/6.0 from master in the next days > > If theres something blocking and i should wait, please reply here > > > >

[FFmpeg-devel] [PATCH v2 8/9] avcodec/dynamic_hdr_vivid: reindent after the previous commit

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavcodec/dynamic_hdr_vivid.c | 60 +- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/libavcodec/dynamic_hdr_vivid.c b/libavcodec/dynamic_hdr_vivid.c index 7cb13cbf32..a9b6910798 100644 ---

[FFmpeg-devel] [PATCH v2 9/9] fftools/ffprobe: fix print_dynamic_hdr_vivid

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili Don't print tone_mapping_param_num if tone_mapping_mode_flag is disabled. Signed-off-by: Zhao Zhili --- fftools/ffprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index 64883321be..fa3e4db6fd 100644 ---

[FFmpeg-devel] [PATCH v2 7/9] avcodec/dynamic_hdr_vivid: fix base_enable_flag control

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili The base_enable_flag is parallel to three_Spline_enable_flag. The typesetting of the specification is very misleading. Signed-off-by: Zhao Zhili --- libavcodec/dynamic_hdr_vivid.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[FFmpeg-devel] [PATCH v2 6/9] avcodec/dynamic_hdr_vivid: fix base_param_Delta

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili It conflicts the comments. The operation based on Delta_enable_mode can be applied by user during tone mapping. Signed-off-by: Zhao Zhili --- libavcodec/dynamic_hdr_vivid.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libavcodec/dynamic_hdr_vivid.c

[FFmpeg-devel] [PATCH v2 5/9] libavcodec/dynamic_hdr_vivid: fix start code check

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavcodec/dynamic_hdr_vivid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/dynamic_hdr_vivid.c b/libavcodec/dynamic_hdr_vivid.c index f2bc0c9059..9847b88e61 100644 --- a/libavcodec/dynamic_hdr_vivid.c +++

[FFmpeg-devel] [PATCH v2 3/9] avfilter/vf_showinfo: fix HDR vivid info

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavfilter/vf_showinfo.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index e55625b338..7cf71fe40c 100644 --- a/libavfilter/vf_showinfo.c +++

[FFmpeg-devel] [PATCH v2 2/9] avcodec/dynamic_hdr_vivid: fix three spline params

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavcodec/dynamic_hdr_vivid.c | 34 +++--- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/libavcodec/dynamic_hdr_vivid.c b/libavcodec/dynamic_hdr_vivid.c index d689669dec..f2bc0c9059 100644 ---

[FFmpeg-devel] [PATCH v2 4/9] fftools/ffprobe: fix HDR vivid info

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili Signed-off-by: Zhao Zhili --- fftools/ffprobe.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index af927cb084..64883321be 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -2246,14 +2246,17 @@

Re: [FFmpeg-devel] libavfilter/x86/vf_convolution.asm- fix missing decelerator for AVX512ICL sobel

2023-02-24 Thread Felix LeClair
Disregard-found to be an issue in nasm 2.16RC, fixed with upstream 2.16.01 From: ffmpeg-devel on behalf of Felix LeClair Sent: February 24, 2023 10:12 AM To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel]

Re: [FFmpeg-devel] libavfilter/x86/vf_convolution.asm- fix missing decelerator for AVX512ICL sobel

2023-02-24 Thread Felix LeClair
Without patch I hit: ``` CC libavdevice/version.o ARlibavdevice/libavdevice.a CClibavfilter/version.o X86ASM  libavfilter/x86/vf_convolution.o libavfilter/x86/vf_convolution.asm:302: error: operation size not specified libavfilter/x86/vf_convolution.asm:235: ... from macro

Re: [FFmpeg-devel] [PATCH] Fix broken build on Android due to broken asm-generic/termbits.h include

2023-02-24 Thread copypaste
Here's my attempt to do just that. :-) Compiled fine with: configuration: --prefix=/data/data/com.termux/files/usr/local --enable-indev=alsa --enable-indev=xcbgrab --enable-libfreetype --enable-libfontconfig --cc=clang --cxx=clang++ --disable-libxcb-shm --enable-vulkan

Re: [FFmpeg-devel] libavfilter/x86/vf_convolution.asm- fix missing decelerator for AVX512ICL sobel

2023-02-24 Thread James Darnley
On 2/24/23 04:00, Felix LeClair wrote: Fixes: Compilation of Sobel with AVX512ICL Caused: Comment left without deleniator in AVX512ICL version of SOBEL Testing:Confirmed working on AVX512 Alderlake (AKA SPR without AMX) diff --git a/libavfilter/x86/vf_convolution.asm

Re: [FFmpeg-devel] [PATCH 4/6] avformat/mov: parse ISO-14496-12 ChannelLayout

2023-02-24 Thread Jan Ekström
On Fri, Feb 24, 2023 at 6:25 AM Zhao Zhili wrote: > > From: Zhao Zhili > > Signed-off-by: Zhao Zhili Hah, I actually happened to recently start coding uncompressed audio support in mp4 myself, but what this commit is handling is what basically killed my version off since the channel layout box

Re: [FFmpeg-devel] How to use threads inside custom encoder

2023-02-24 Thread Ronald S. Bultje
Hi, On Thu, Feb 23, 2023 at 1:28 PM Alex <3.1...@ukr.net> wrote: > Hi! > I write custom encoder codec and want to use threads to speed up encoding > process. I know what ffmpeg have frame level threads and slices threads, > but in my case best option is to use frame level threads > with

Re: [FFmpeg-devel] [PATCH 2/9] avcodec/dynamic_hdr_vivid: fix three spline params

2023-02-24 Thread James Almer
On 2/24/2023 6:08 PM, Zhao Zhili wrote: From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavcodec/dynamic_hdr_vivid.c | 34 +++--- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/libavcodec/dynamic_hdr_vivid.c b/libavcodec/dynamic_hdr_vivid.c

[FFmpeg-devel] [PATCH 9/9] fftools/ffprobe: fix print_dynamic_hdr_vivid

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili Don't print tone_mapping_param_num if tone_mapping_mode_flag is disabled. Signed-off-by: Zhao Zhili --- fftools/ffprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index 1d051a5545..df463a0ed3 100644 ---

[FFmpeg-devel] [PATCH 2/9] avcodec/dynamic_hdr_vivid: fix three spline params

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavcodec/dynamic_hdr_vivid.c | 34 +++--- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/libavcodec/dynamic_hdr_vivid.c b/libavcodec/dynamic_hdr_vivid.c index d689669dec..35be6f5e2b 100644 ---

Re: [FFmpeg-devel] libavfilter/x86/vf_convolution.asm- fix missing decelerator for AVX512ICL sobel

2023-02-24 Thread Kieran Kunhya
On Fri, 24 Feb 2023 at 03:00, Felix LeClair wrote: > Fixes: Compilation of Sobel with AVX512ICL > Caused: Comment left without deleniator in AVX512ICL version of SOBEL > > Testing:Confirmed working on AVX512 Alderlake (AKA SPR without AMX) > Seems fine, bit weird that FATE didn't pick it up.

[FFmpeg-devel] [PATCH 7/9] avcodec/dynamic_hdr_vivid: fix base_enable_flag control

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili The base_enable_flag is parallel to three_Spline_enable_flag. The typesetting of the specification is very misleading. Signed-off-by: Zhao Zhili --- libavcodec/dynamic_hdr_vivid.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[FFmpeg-devel] [PATCH 8/9] avcodec/dynamic_hdr_vivid: reindent after the previous commit

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavcodec/dynamic_hdr_vivid.c | 64 +- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/libavcodec/dynamic_hdr_vivid.c b/libavcodec/dynamic_hdr_vivid.c index 8fa69d87b5..8b5105ea12 100644 ---

[FFmpeg-devel] [PATCH 6/9] avcodec/dynamic_hdr_vivid: fix base_param_Delta

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili It conflicts the comments. The operation based on Delta_enable_mode can be applied by user during tone mapping. Signed-off-by: Zhao Zhili --- libavcodec/dynamic_hdr_vivid.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libavcodec/dynamic_hdr_vivid.c

[FFmpeg-devel] [PATCH 5/9] libavcodec/dynamic_hdr_vivid: fix start code check

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavcodec/dynamic_hdr_vivid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/dynamic_hdr_vivid.c b/libavcodec/dynamic_hdr_vivid.c index 35be6f5e2b..091963146e 100644 --- a/libavcodec/dynamic_hdr_vivid.c +++

[FFmpeg-devel] [PATCH 1/9] libavutil/hdr_dynamic_vivid_metadata: fix three spline params

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili There are two group of three_Spline params. Signed-off-by: Zhao Zhili --- doc/APIchanges | 4 ++ libavutil/hdr_dynamic_vivid_metadata.h | 63 +- libavutil/version.h| 3 +- 3 files changed, 68 insertions(+),

[FFmpeg-devel] [PATCH 3/9] avfilter/vf_showinfo: fix HDR vivid info

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili --- libavfilter/vf_showinfo.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index e55625b338..74d57e75e7 100644 --- a/libavfilter/vf_showinfo.c +++ b/libavfilter/vf_showinfo.c @@

[FFmpeg-devel] [PATCH 4/9] fftools/ffprobe: fix HDR vivid info

2023-02-24 Thread Zhao Zhili
From: Zhao Zhili --- fftools/ffprobe.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index af927cb084..1d051a5545 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -2246,14 +2246,17 @@ static void

[FFmpeg-devel] [PATCH] libavcodec/hevc: reuse scale_store on idct32x32_neon

2023-02-24 Thread xufuji456
--- libavcodec/arm/hevcdsp_idct_neon.S | 18 ++ 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/libavcodec/arm/hevcdsp_idct_neon.S b/libavcodec/arm/hevcdsp_idct_neon.S index 75795e6a6a..41ca3b83a8 100644 --- a/libavcodec/arm/hevcdsp_idct_neon.S +++

Re: [FFmpeg-devel] [PATCH 5/6] avformat/movenc: write ChannelLayout box for PCM

2023-02-24 Thread Tomas Härdin
fre 2023-02-24 klockan 20:25 +0800 skrev Zhao Zhili: > +static int mov_write_chnl_tag(AVFormatContext *s, AVIOContext *pb, > MOVTrack *track) > +{ > +    int64_t pos = avio_tell(pb); > +    int layout = 0; > +    int ret; > +    uint8_t speaker_pos[64] = { }; Magic 64 here too The rest looks OK

Re: [FFmpeg-devel] [PATCH 4/6] avformat/mov: parse ISO-14496-12 ChannelLayout

2023-02-24 Thread Tomas Härdin
fre 2023-02-24 klockan 20:25 +0800 skrev Zhao Zhili: > +    if (!layout) { > +    uint8_t positions[64] = {}; Is there a maximum number of channels defined somewhere? stsd supports up to 65535. > +    // stream carries objects > +    if (stream_structure & 2) { > +    int

Re: [FFmpeg-devel] [PATCH 3/6] avformat/isom_tags: remove ipcm from movaudio_tags

2023-02-24 Thread Tomas Härdin
fre 2023-02-24 klockan 20:25 +0800 skrev Zhao Zhili: > From: Zhao Zhili > > ipcm is defined by ISO/IEC 23003-5, not defined by quicktime. After > adding ISO/IEC 23003-5 support, we don't need it for ticket #9219. > > Signed-off-by: Zhao Zhili > --- >  libavformat/isom_tags.c | 2 -- >  1 file

Re: [FFmpeg-devel] [PATCH 2/6] avformat/mov: fix ISO/IEC 23003-5 support

2023-02-24 Thread Tomas Härdin
fre 2023-02-24 klockan 20:25 +0800 skrev Zhao Zhili: > From: Zhao Zhili > > Missing floating-point formats support. > > Signed-off-by: Zhao Zhili > --- >  libavformat/mov.c | 32 >  1 file changed, 32 insertions(+) Looks OK /Tomas

Re: [FFmpeg-devel] [PATCH 1/6] avformat/movenc: add PCM in mp4 support

2023-02-24 Thread Tomas Härdin
fre 2023-02-24 klockan 20:25 +0800 skrev Zhao Zhili: > +static int is_mp4_pcm_codec(enum AVCodecID codec) > +{ > +    static const enum AVCodecID codec_list[] = { > +    AV_CODEC_ID_PCM_S16BE, > +    AV_CODEC_ID_PCM_S16LE, > +    AV_CODEC_ID_PCM_S24BE, > +    AV_CODEC_ID_PCM_S24LE,

[FFmpeg-devel] [PATCH 4/4] lavc/mediacodecenc: List supported pixel formats on configuration error

2023-02-24 Thread Tomas Härdin
This makes the situation a bit better for users, even if we can't reliably probe pixel formats in init_static_data. I decided to keep this patchset separate from that probing, since printing pixel formats this way should be reliable. /Tomas From eed0ed202bf8c496ab945b32e2e7fc7cad062c30 Mon Sep 17

[FFmpeg-devel] [PATCH 3/4] lavc/mediacodec_wrapper: Add function for probing supported color formats

2023-02-24 Thread Tomas Härdin
From 557f23650726af7f4881d29411de02f9f8bc78f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= Date: Wed, 11 Jan 2023 22:25:39 +0100 Subject: [PATCH 3/4] lavc/mediacodec_wrapper: Add function for probing supported color formats This patch has been released by Epic Games' legal

[FFmpeg-devel] [PATCH 2/4] lavc/mediacodec_wrapper: Refactor ff_AMediaCodecList_getCodecNameByType()

2023-02-24 Thread Tomas Härdin
From 9d4defbc92e4976f7d652149a215e2c165239e42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= Date: Wed, 11 Jan 2023 21:49:30 +0100 Subject: [PATCH 2/4] lavc/mediacodec_wrapper: Refactor ff_AMediaCodecList_getCodecNameByType() A lot shorter, nested variables and keeps going in

[FFmpeg-devel] [PATCH 1/4] lavc/mediacodecenc: Add pix2color_fmt() and color2pix_fmt()

2023-02-24 Thread Tomas Härdin
From 7374dab21cb37dc14d2481c72d333b435e23a76d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= Date: Tue, 10 Jan 2023 20:37:18 +0100 Subject: [PATCH 1/4] lavc/mediacodecenc: Add pix2color_fmt() and color2pix_fmt() This patch has been released by Epic Games' legal department. ---