[FFmpeg-devel] [PATCH v2 1/3] avformat/mpegtsenc: Fix mpegts_write_pes() for private_stream_2 and other types

2021-04-19 Thread zheng qian
Changes since v1: Separate if-statement and cosmetic changes into different commits According to the PES packet definition defined in Table 2-17 of ISO_IEC_13818-1 specification, some fields like PTS/DTS or pes_extension could only appears if the stream_id meets the condition: if (stream_id !=

[FFmpeg-devel] [PATCH v2 3/3] avformat/mpegtsenc: Write stream_id into PES after stream_id decision

2021-04-19 Thread zheng qian
Since stream_id will have effect on the existences of PES header fields like PTS/DTS, it should be better to guarantee stream_id variable to be identical with exact written value. Signed-off-by: zheng qian --- libavformat/mpegtsenc.c | 15 --- 1 file changed, 8 insertions(+), 7

[FFmpeg-devel] [PATCH v2 2/3] avformat/mpegtsenc: Fix indentation inside if statement in mpegts_write_pes()

2021-04-19 Thread zheng qian
Fix indentation caused by the added stream_id judgement Signed-off-by: zheng qian --- libavformat/mpegtsenc.c | 84 - 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index

Re: [FFmpeg-devel] [PATCH] avutil/cpu: Use HW_NCPUONLINE to detect # of online CPUs with OpenBSD

2021-04-19 Thread Brad Smith
Can this please be back ported to the 4.4 branch? On 4/18/2021 4:50 PM, Marton Balint wrote: On Fri, 16 Apr 2021, Brad Smith wrote: ping. Will apply, thanks. Marton On 4/3/2021 2:49 PM, Brad Smith wrote: avutil/cpu: Use HW_NCPUONLINE to detect # of online CPUs with OpenBSD

Re: [FFmpeg-devel] [PATCH] Gsoc: add the two fuzzy targets

2021-04-19 Thread Heng Zhang
> 在 2021年4月19日,下午5:47,Michael Niedermayer 写道: > > On Mon, Apr 19, 2021 at 05:06:10PM +0800, a397341...@163.com > wrote: >> From: toseven >> >> --- >> Makefile | 5 ++ >> tools/Makefile | 6 ++ >>

Re: [FFmpeg-devel] [PATCH] avformat/mov: initial support for emsg box

2021-04-19 Thread James Almer
On 4/20/2021 1:01 AM, Brad Hards wrote: This adds support for the EventMessage box, which is apparently described in ISO/IEC 23009-1:2019, and is used for KLV metadata per MISB ST 1910. See https://www.gwg.nga.mil/misb/docs/standards/ST1910.1.pdf Sect 6.2.1 --- libavformat/isom.h | 15

[FFmpeg-devel] [PATCH] avformat/mov: initial support for emsg box

2021-04-19 Thread Brad Hards
This adds support for the EventMessage box, which is apparently described in ISO/IEC 23009-1:2019, and is used for KLV metadata per MISB ST 1910. See https://www.gwg.nga.mil/misb/docs/standards/ST1910.1.pdf Sect 6.2.1 --- libavformat/isom.h | 15 libavformat/mov.c | 61

Re: [FFmpeg-devel] [PATCH] avutil/cpu: Use HW_NCPUONLINE to detect # of online CPUs with OpenBSD

2021-04-19 Thread James Almer
On 4/19/2021 9:15 PM, Derek Buitenhuis wrote: On 16/04/2021 23:10, Brad Smith wrote: ping. I found this in my spam folder, so it's possible others using GMail had the same issue. Yes, same for me. All of Brad emails are sent to my spam folder. - Derek On 4/3/2021 2:49 PM, Brad Smith

Re: [FFmpeg-devel] [PATCH] avutil/cpu: Use HW_NCPUONLINE to detect # of online CPUs with OpenBSD

2021-04-19 Thread Derek Buitenhuis
On 16/04/2021 23:10, Brad Smith wrote: > ping. I found this in my spam folder, so it's possible others using GMail had the same issue. - Derek > > On 4/3/2021 2:49 PM, Brad Smith wrote: >> avutil/cpu: Use HW_NCPUONLINE to detect # of online CPUs with OpenBSD >> >> Signed-off-by: Brad Smith

Re: [FFmpeg-devel] [PATCH v2 67/90] avutil: Switch crypto APIs to size_t

2021-04-19 Thread Andreas Rheinhardt
On Mon, Apr 19, 2021 at 10:33 PM Carl Eugen Hoyos wrote: > Am Mo., 19. Apr. 2021 um 21:22 Uhr schrieb Andreas Rheinhardt > : > > > > From: Andreas Rheinhardt > > > > Announced in e435beb1ea5380a90774dbf51fdc8c941e486551. > > > > Signed-off-by: Andreas Rheinhardt > > --- > > I forgot a printf

Re: [FFmpeg-devel] [PATCH 11/11] lavu/x86: add FFT assembly

2021-04-19 Thread Lynne
Apr 19, 2021, 22:27 by d...@lynne.ee: > This commit adds a pure x86 assembly SIMD version of the FFT in libavutil/tx. > The design of this pure assembly FFT is pretty unconventional. > Oh, I forgot to mention _why_ on the majority of transforms it's slower than FFTW. It's simple - we don't

Re: [FFmpeg-devel] [PATCH v2 67/90] avutil: Switch crypto APIs to size_t

2021-04-19 Thread James Almer
On 4/19/2021 5:10 PM, Carl Eugen Hoyos wrote: Am Mo., 19. Apr. 2021 um 21:22 Uhr schrieb Andreas Rheinhardt : From: Andreas Rheinhardt Announced in e435beb1ea5380a90774dbf51fdc8c941e486551. Signed-off-by: Andreas Rheinhardt --- I forgot a printf specifier in tests/api/api-h264-test.c.

Re: [FFmpeg-devel] [PATCH v3 1/1] avformat/mpegtsenc: Write necessary descriptors into PMT for arib_caption muxing

2021-04-19 Thread Jan Ekström
On Tue, Apr 20, 2021 at 12:11 AM Marton Balint wrote: > > > > On Mon, 19 Apr 2021, zheng qian wrote: > > > Is there anyone who could review this patch? > > Jan was interested in this, so preferably he should also comment, but it > looks fine to me. > OK, this explains why I didn't see my

Re: [FFmpeg-devel] [PATCH v3 1/1] avformat/mpegtsenc: Write necessary descriptors into PMT for arib_caption muxing

2021-04-19 Thread Marton Balint
On Mon, 19 Apr 2021, zheng qian wrote: Is there anyone who could review this patch? Jan was interested in this, so preferably he should also comment, but it looks fine to me. Thanks, Marton ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH] avformat/mpegtsenc: Fix mpegts_write_pes() for private_stream_2 and other types

2021-04-19 Thread Marton Balint
On Tue, 20 Apr 2021, zheng qian wrote: According to the PES packet definition defined in Table 2-17 of ISO_IEC_13818-1 specification, some fields like PTS/DTS or pes_extension could only appears if the stream_id meets the condition: if (stream_id != 0xBC && // program_stream_map stream_id

Re: [FFmpeg-devel] [PATCH v2 67/90] avutil: Switch crypto APIs to size_t

2021-04-19 Thread Carl Eugen Hoyos
Am Mo., 19. Apr. 2021 um 21:22 Uhr schrieb Andreas Rheinhardt : > > From: Andreas Rheinhardt > > Announced in e435beb1ea5380a90774dbf51fdc8c941e486551. > > Signed-off-by: Andreas Rheinhardt > --- > I forgot a printf specifier in tests/api/api-h264-test.c. > diff --git a/libavutil/version.h

[FFmpeg-devel] [PATCH 11/11] lavu/x86: add FFT assembly

2021-04-19 Thread Lynne
This commit adds a pure x86 assembly SIMD version of the FFT in libavutil/tx. The design of this pure assembly FFT is pretty unconventional. On the lowest level, instead of splitting the complex numbers into real and imaginary parts, we keep complex numbers together but split them in terms of

[FFmpeg-devel] [PATCH 10/11] doc/transforms: add documentation for the FFT transforms

2021-04-19 Thread Lynne
Makes the code far easier to follow, and makes creating new SIMD for the transforms far, far easier. Patch attached. >From 86892c2aaade9e676119c56af0a1ef262d432467 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 17 Apr 2021 17:35:14 +0200 Subject: [PATCH 10/11] doc/transforms: add documentation

[FFmpeg-devel] [PATCH 09/11] checkasm: add av_tx FFT SIMD testing code

2021-04-19 Thread Lynne
This sadly required making changes to the code itself, due to the same context needing to be reused for both versions. The lookup table had to be duplicated for both versions. Patch attached. >From 9b0998b5f41e198c6ab8faeb47ccc35d835963de Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 10 Apr

[FFmpeg-devel] [PATCH 08/11] lavu/tx: add parity revtab generator version

2021-04-19 Thread Lynne
This will be used for SIMD support. Patch attached. >From 464afa089d4a7bc91564e180b9958d85225d59b6 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 10 Apr 2021 03:52:31 +0200 Subject: [PATCH 08/11] lavu/tx: add parity revtab generator version This will be used for SIMD support. ---

[FFmpeg-devel] [PATCH 07/11] lavu: bump minor and add APIchanges entry for the lavu/tx changes

2021-04-19 Thread Lynne
Patch attached. >From 2113ffcf0b39239caf3db260b63e20dc3631c64c Mon Sep 17 00:00:00 2001 From: Lynne Date: Mon, 19 Apr 2021 22:15:34 +0200 Subject: [PATCH 07/11] lavu: bump minor and add APIchanges entry for the lavu/tx changes --- doc/APIchanges | 3 +++ libavutil/version.h | 2 +- 2

[FFmpeg-devel] [PATCH 06/11] lavu/tx: add full-sized iMDCT transform flag

2021-04-19 Thread Lynne
Patch attached. >From f2e601d703a552bd4d6800048cd16cb6daee1385 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 10 Apr 2021 03:55:37 +0200 Subject: [PATCH 06/11] lavu/tx: add full-sized iMDCT transform flag --- libavutil/tx.h | 11 ++- libavutil/tx_priv.h | 4

[FFmpeg-devel] [PATCH 05/11] lavu/tx: add unaligned flag to the API

2021-04-19 Thread Lynne
Patch attached. >From b72dd4fd88bad63a831e5d793dadbab1abc590fd Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 10 Apr 2021 03:55:14 +0200 Subject: [PATCH 05/11] lavu/tx: add unaligned flag to the API --- libavutil/tx.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

[FFmpeg-devel] [PATCH 04/11] lavu/tx: add a 9-point FFT and (i)MDCT

2021-04-19 Thread Lynne
Patch attached. >From 6197817a1b3e9f2fc559d26cf0639a1fd465752c Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 10 Apr 2021 04:19:06 +0200 Subject: [PATCH 04/11] lavu/tx: add a 9-point FFT and (i)MDCT --- libavutil/tx_template.c | 144 +++- 1 file changed,

[FFmpeg-devel] [PATCH 03/11] lavu/tx: add a 7-point FFT and (i)MDCT

2021-04-19 Thread Lynne
Patch attached. >From 61cd1bc6a5e4cc08b0ad7bafc55072feeb62ddf0 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 10 Apr 2021 03:51:59 +0200 Subject: [PATCH 03/11] lavu/tx: add a 7-point FFT and (i)MDCT --- libavutil/tx_template.c | 126 1 file changed,

[FFmpeg-devel] [PATCH 02/11] lavu/tx: refactor power-of-two FFT

2021-04-19 Thread Lynne
This commit refactors the power-of-two FFT, making it faster and halving the size of all tables, making the code much smaller on all systems, and making initialization much faster. This removes the big/small pass split, because on modern systems the "big" pass is always faster, and even on older

[FFmpeg-devel] [PATCH 01/11] lavu/tx: minor code style improvements and additional comments

2021-04-19 Thread Lynne
Patch attached. >From db53a23233276e103e823312667aac06ed57c11e Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 10 Apr 2021 03:45:03 +0200 Subject: [PATCH 01/11] lavu/tx: minor code style improvements and additional comments --- libavutil/tx.c | 17 +- libavutil/tx.h | 2

[FFmpeg-devel] [PATCH 00/11] lavu/tx: FFT improvements, additions and assembly

2021-04-19 Thread Lynne
This patchset cleans up and improves the power-of-two C code, adds a 7-point and a 9-point FFT, and adds a power-of-two length floating-point assembly. >From 6810e483e9273751578c730e3a7d408bf2117dd9 Mon Sep 17 00:00:00 2001 From: Lynne Date: Mon, 19 Apr 2021 22:17:05 +0200 Subject: [PATCH

[FFmpeg-devel] [PATCH v2 67/90] avutil: Switch crypto APIs to size_t

2021-04-19 Thread Andreas Rheinhardt
From: Andreas Rheinhardt Announced in e435beb1ea5380a90774dbf51fdc8c941e486551. Signed-off-by: Andreas Rheinhardt --- I forgot a printf specifier in tests/api/api-h264-test.c. libavutil/adler32.c | 5 - libavutil/adler32.h | 9 - libavutil/hash.c | 4

Re: [FFmpeg-devel] [PATCH 43/87] avformat/mov, movenc: Enc exporting rotation via metadata

2021-04-19 Thread James Almer
On 4/19/2021 3:35 PM, Michael Niedermayer wrote: On Mon, Apr 19, 2021 at 11:09:40AM -0300, James Almer wrote: From: Andreas Rheinhardt Deprecated in ddef3d902f0e4cbd6be6b3e5df7ec158ce51488b. (The reference file of the mov-zombie test needed to be updated, because a rotate metadata tag is no

Re: [FFmpeg-devel] [PATCH 43/87] avformat/mov, movenc: Enc exporting rotation via metadata

2021-04-19 Thread Michael Niedermayer
On Mon, Apr 19, 2021 at 11:09:40AM -0300, James Almer wrote: > From: Andreas Rheinhardt > > Deprecated in ddef3d902f0e4cbd6be6b3e5df7ec158ce51488b. > > (The reference file of the mov-zombie test needed to be updated, because > a rotate metadata tag is no longer exported; the side-data is of

[FFmpeg-devel] [PATCH 3/9] avformat/mov: Ignore duplicate CoLL

2021-04-19 Thread Michael Niedermayer
Fixes: memleak Fixes: 32146/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-5377612845285376 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/mov.c | 5 + 1 file changed, 5

[FFmpeg-devel] [PATCH 9/9] avcodec/clearvideo: Check for 0 tile_shift

2021-04-19 Thread Michael Niedermayer
Fixes: shift exponent -1 is negative Fixes: 33401/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CLEARVIDEO_fuzzer-5908683596890112 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer ---

[FFmpeg-devel] [PATCH 1/9] avformat/utils: check dts/duration to be representable before using them

2021-04-19 Thread Michael Niedermayer
Fixes: signed integer overflow: 6854513951393103890 + 3427256975738527712 cannot be represented in type 'long' Fixes: 32936/clusterfuzz-testcase-minimized-ffmpeg_dem_R3D_fuzzer-5236914752978944 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg

[FFmpeg-devel] [PATCH 4/9] avformat/wtvdec: Improve size overflow checks in parse_chunks()

2021-04-19 Thread Michael Niedermayer
Fixes: signed integer overflow: 32 + 2147483647 cannot be represented in type 'int Fixes: 32967/clusterfuzz-testcase-minimized-ffmpeg_dem_WTV_fuzzer-5132856218222592 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael

[FFmpeg-devel] [PATCH 8/9] tools/target_dec_fuzzer: Adjust threshold for TAK

2021-04-19 Thread Michael Niedermayer
Fixes: Timeout Fixes: 33346/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TAK_fuzzer-4715352157192192 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- tools/target_dec_fuzzer.c | 1 + 1 file changed,

[FFmpeg-devel] [PATCH 7/9] avformat/id3v2: Check end for overflow in id3v2_parse()

2021-04-19 Thread Michael Niedermayer
Fixes: signed integer overflow: 9223372036840103978 + 67637280 cannot be represented in type 'long' Fixes: 33341/clusterfuzz-testcase-minimized-ffmpeg_dem_DSF_fuzzer-6408154041679872 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg

[FFmpeg-devel] [PATCH 5/9] avcodec/vc1: Check remaining bits in ff_vc1_parse_frame_header()

2021-04-19 Thread Michael Niedermayer
Fixes: Timeout Fixes: 33156/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMV3_fuzzer-6259655027326976 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/vc1.c | 5 + 1 file changed, 5

[FFmpeg-devel] [PATCH 6/9] avcodec/adpcm: Set vqa_version before use in init

2021-04-19 Thread Michael Niedermayer
Fixes: null pointer dereference Fixes: 33172/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ADPCM_IMA_WS_fuzzer-5200164273913856 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/adpcm.c | 2

[FFmpeg-devel] [PATCH 2/9] avformat/mov: Limit nb_chapter_tracks to input size

2021-04-19 Thread Michael Niedermayer
Fixes: Timeout (15k loop iterations instead of 400m) Fixes: 31368/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-6601583174483968 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/mov.c

Re: [FFmpeg-devel] [PATCH 88/90] avfilter: Constify all AVFilters

2021-04-19 Thread Nicolas George
Andreas Rheinhardt (12021-04-19): > This is possible now that the next-API is gone. > > Signed-off-by: Andreas Rheinhardt Ok. Regards, -- Nicolas George signature.asc Description: PGP signature ___ ffmpeg-devel mailing list

[FFmpeg-devel] [PATCH 89/90] avdevice: Constify all devices

2021-04-19 Thread Andreas Rheinhardt
This is possible now that the next-API is gone. Signed-off-by: Andreas Rheinhardt --- libavdevice/alldevices.c | 66 +-- libavdevice/alsa_dec.c| 2 +- libavdevice/alsa_enc.c| 2 +- libavdevice/android_camera.c | 2 +-

Re: [FFmpeg-devel] [PATCH] avformat/mpegtsenc: private_stream_1 is not asynchronous KLV

2021-04-19 Thread Mao Hata
On 2021/04/20 1:36, zheng qian wrote: I'm working on ARIB related patches for mpegtsenc.c and later I would like to provide a patch to fix the bug of private_stream_2. In current situation, mpegts_write_pes() incorrectly writes private_stream_2 with actually a private_stream_1-like PES header

Re: [FFmpeg-devel] [PATCH 59/87] Disable vf_uspp/mcdeint.

2021-04-19 Thread Carl Eugen Hoyos
Am Mo., 19. Apr. 2021 um 16:19 Uhr schrieb James Almer : > > From: Anton Khirnov > > These filters depend on avcodec APIs that are to be removed. Some people > have expressed potential interest in updating these filters, so they are > merely disabled for now instead of being removed. I still

[FFmpeg-devel] [PATCH] avformat/mpegtsenc: Fix mpegts_write_pes() for private_stream_2 and other types

2021-04-19 Thread zheng qian
According to the PES packet definition defined in Table 2-17 of ISO_IEC_13818-1 specification, some fields like PTS/DTS or pes_extension could only appears if the stream_id meets the condition: if (stream_id != 0xBC && // program_stream_map stream_id != 0xBE && // padding_stream stream_id !=

Re: [FFmpeg-devel] [PATCH] avformat/mpegtsenc: private_stream_1 is not asynchronous KLV

2021-04-19 Thread zheng qian
On Tue, Apr 20, 2021 at 12:44 AM Mao Hata wrote: > > The reason I created the patch was to fix the problem: when I transcode > a transport stream based on ARIB-STD-B24, the PTS/DTS is removed from > private_stream_1 streams, and, conversely, it is added to private_stream_2. > "ISO/IEC 13818-1

[FFmpeg-devel] [PATCH 19/87] avcodec/mpegvideo_enc: Remove deprecated RTP-callback

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Deprecated in 462a54e2291e1fa18e1f1254d09739dfbb795617. Signed-off-by: Andreas Rheinhardt --- libavcodec/avcodec.h | 14 -- libavcodec/mpegvideo_enc.c | 21 - libavcodec/version.h | 3 --- 3 files changed, 38 deletions(-)

Re: [FFmpeg-devel] [PATCH] avformat/mpegtsenc: private_stream_1 is not asynchronous KLV

2021-04-19 Thread Mao Hata
On 2021/04/19 5:25, Marton Balint wrote: On Sat, 17 Apr 2021, Mao Hata wrote: According to ISO/IEC 13818-1, private_stream_1 is a synchronous (has PTS/DTS) stream. Asynchronous one is private_stream_2. Which section describes this? Also keep in mind that code was added so that

[FFmpeg-devel] [PATCH 05/87] avcodec, avformat: Remove AVPacket.convergence_duration

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Deprecated in 948f3c19a8bd069768ca411212aaf8c1ed96b10d. Signed-off-by: Andreas Rheinhardt --- libavcodec/avcodec.h | 8 libavcodec/avpacket.c | 16 libavcodec/packet.h | 10 -- libavcodec/parser.c | 5 -

[FFmpeg-devel] [PATCH 07/87] avcodec: Remove deprecated stat-bits fields

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Deprecated in 16216b713f9a21865cc07993961cf5d0ece24916. Signed-off-by: Andreas Rheinhardt --- doc/codecs.texi| 9 - libavcodec/avcodec.h | 24 libavcodec/mpegvideo_enc.c | 20

[FFmpeg-devel] [PATCH v2 32/32] avcodec: Switch AVCPBProperties to 64bits

2021-04-19 Thread Andreas Rheinhardt
From: Andreas Rheinhardt Announced in 2e8b0446c6798947dac77fee4a06f9c4e8131ab5. Two FATE-tests needed to be updated because the checksums of side data containing an AVCPBProperties struct changed. buffer_size has also been switched to 64bits because it is a bitsize. Signed-off-by: Andreas

[FFmpeg-devel] [PATCH 00/87 v2] Major bump

2021-04-19 Thread James Almer
First version, including the bump notes, is here: https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2021-April/278670.html Most patches from the first version were already applied. And as mentioned in the discussion there, this set here removes all the deprecated API one by one before the actual

[FFmpeg-devel] [PATCH 25/87] avcodec: Remove deprecated AVPicture API

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Deprecated in a17a7661906ba295d67afd80ac0770422e1b02b3. Signed-off-by: Andreas Rheinhardt --- libavcodec/Makefile | 2 - libavcodec/avcodec.h | 99 libavcodec/avpicture.c | 82

Re: [FFmpeg-devel] [PATCH 84/87] avfilter/buffersrc: postpone removal of sws_param

2021-04-19 Thread Nicolas George
James Almer (12021-04-19): > It was depreacted less than two years ago > > Signed-off-by: James Almer > --- > libavfilter/version.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) No objection. Regards, -- Nicolas George signature.asc Description: PGP signature

Re: [FFmpeg-devel] [PATCH 57/87] avfilter/Makefile: Don't compile transform.c unconditionally

2021-04-19 Thread Nicolas George
James Almer (12021-04-19): > From: Andreas Rheinhardt > > Signed-off-by: Andreas Rheinhardt > --- > libavfilter/Makefile | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) Should be ok. Regards, -- Nicolas George signature.asc Description: PGP signature

Re: [FFmpeg-devel] [PATCH 56/87] avfilter/transform: Stop exporting internal functions

2021-04-19 Thread Nicolas George
James Almer (12021-04-19): > From: Andreas Rheinhardt > > avfilter_transform, avfilter_(add|sub|mult)_matrix are not part of the > public API (transform.h is not a public header), yet they are currently > exported because of their name. This commit changes this: > avfilter_transform is renamed

Re: [FFmpeg-devel] [PATCH 55/87] avfilter/formats: Remove avfilter_make_format64_list()

2021-04-19 Thread Nicolas George
James Almer (12021-04-19): > From: Andreas Rheinhardt > > The API it is part of has been made private long ago (see commit > b74a1da49db5ebed51aceae6cacc2329288a92c1). > > Signed-off-by: Andreas Rheinhardt > --- > libavfilter/formats.c | 7 --- > libavfilter/formats.h | 4 > 2 files

Re: [FFmpeg-devel] [PATCH 54/87] avfilter/avfilter: Remove deprecated avfilter_link_set_closed()

2021-04-19 Thread Nicolas George
James Almer (12021-04-19): > From: Andreas Rheinhardt > > Deprecated in 39a09e995d32d16e4f8c87a6ff5273cb9d98146e. > > Signed-off-by: Andreas Rheinhardt > --- > libavfilter/avfilter.c | 6 -- > libavfilter/avfilter.h | 9 - > libavfilter/version.h | 3 --- > 3 files changed, 18

Re: [FFmpeg-devel] [PATCH 53/87] avfilter: Remove avfilter_next/avfilter_register API

2021-04-19 Thread Nicolas George
James Almer (12021-04-19): > From: Andreas Rheinhardt > > Deprecated in 8f1382f80e0d4184c54c14afdda6482f050fbba7. > > Signed-off-by: Andreas Rheinhardt > --- > libavfilter/allfilters.c | 38 -- > libavfilter/avfilter.h | 35

Re: [FFmpeg-devel] [PATCH 52/87] avfilter: Remove deprecated avfilter_link_get_channels

2021-04-19 Thread Nicolas George
James Almer (12021-04-19): > From: Andreas Rheinhardt > > Deprecated in b2c42fc6dc3502a8b6cae441c54d898972a51cff. > > Signed-off-by: Andreas Rheinhardt > --- > libavfilter/avfilter.c | 7 --- > libavfilter/avfilter.h | 8 > libavfilter/version.h | 3 --- > 3 files changed, 18

Re: [FFmpeg-devel] [PATCH 51/87] avfilter: Remove deprecated resample_lavr_opts

2021-04-19 Thread Nicolas George
James Almer (12021-04-19): > From: Andreas Rheinhardt > > Deprecated in 3796fb2692f87dfc0aa4572ac025a6469c2b. > > Signed-off-by: Andreas Rheinhardt > --- > libavfilter/avfilter.h | 3 --- > libavfilter/avfiltergraph.c | 3 --- > libavfilter/version.h | 3 --- > 3 files changed,

Re: [FFmpeg-devel] [PATCH 50/87] avfilter/avfilter: Remove compatibility code for old filter options

2021-04-19 Thread Nicolas George
James Almer (12021-04-19): > From: Andreas Rheinhardt > > Added in ad7d972e08dddb1788ac6a434d1be314febcb09d; the old syntax has > been deprecated in b439c992c23f3e0f3832fffd2a34a664b236c525. > > Signed-off-by: Andreas Rheinhardt > --- > libavfilter/avfilter.c | 82

[FFmpeg-devel] [PATCH 87/87] Bump major versions of all libraries.

2021-04-19 Thread James Almer
From: Anton Khirnov --- libavcodec/version.h| 6 +++--- libavdevice/version.h | 4 ++-- libavfilter/version.h | 4 ++-- libavformat/version.h | 4 ++-- libavutil/version.h | 4 ++-- libpostproc/version.h | 4 ++-- libswresample/version.h | 4 ++-- libswscale/version.h| 4

[FFmpeg-devel] [PATCH 10/87] avcodec: Remove private options from AVCodecContext

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Several options that were too codec-specific were deprecated between 0e6c8532215790bbe560a9eea4f3cc82bb55cf92 and 0e9c4fe254073b209970df3e3cb84531bc388e99. Signed-off-by: Andreas Rheinhardt --- doc/codecs.texi| 100 -

[FFmpeg-devel] [PATCH 12/87] avcodec: Remove deprecated av_codec_get_tag_string

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Deprecated in f156d35321bb600b2309b78185d600b2fa64d84a. Signed-off-by: Andreas Rheinhardt --- libavcodec/avcodec.h | 16 libavcodec/utils.c | 22 -- libavcodec/version.h | 3 --- 3 files changed, 41 deletions(-) diff --git

[FFmpeg-devel] [PATCH 08/87] avcodec: Remove deprecated coder type options

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Deprecated in be00ec832c519427cd92218abac77dafdc1d5487. Signed-off-by: Andreas Rheinhardt --- doc/codecs.texi | 14 -- libavcodec/avcodec.h| 12 libavcodec/ffv1enc.c| 17 -

[FFmpeg-devel] [PATCH 86/87] avcodec: postpone removal of deprecated libopenh264 wrapper options

2021-04-19 Thread James Almer
They were deprecated only a year ago Signed-off-by: James Almer --- libavcodec/version.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/version.h b/libavcodec/version.h index df2801401f..414cfee1cd 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h

[FFmpeg-devel] [PATCH 11/87] avcodec: Remove unneeded getters and setters

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Deprecated in c4131a0613c4b2c30c01b2550b41068815d27799. Signed-off-by: Andreas Rheinhardt --- libavcodec/avcodec.h | 39 --- libavcodec/utils.c | 18 -- libavcodec/version.h | 3 --- 3 files changed, 60

[FFmpeg-devel] [PATCH 02/87] avformat: Remove next API for AV(In|Out)putFormat

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Signed-off-by: Andreas Rheinhardt --- libavformat/allformats.c | 98 libavformat/avformat.h | 43 -- libavformat/version.h| 3 -- 3 files changed, 144 deletions(-) diff --git a/libavformat/allformats.c

[FFmpeg-devel] [PATCH 85/87] avcodec: postpone removal of deprecated codec caps

2021-04-19 Thread James Almer
This was deprecated only a year ago Signed-off-by: James Almer --- libavcodec/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/version.h b/libavcodec/version.h index 75fde1f8c7..df2801401f 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@

[FFmpeg-devel] [PATCH 13/87] avcodec: Remove lock manager API

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Deprecated in a04c2c707de2ce850f79870e84ac9d7ec7aa9143. Signed-off-by: Andreas Rheinhardt --- libavcodec/avcodec.c | 7 --- libavcodec/avcodec.h | 43 --- libavcodec/version.h | 3 --- 3 files changed, 53 deletions(-)

[FFmpeg-devel] [PATCH 03/87] avcodec, avformat: Remove old BSF API

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Signed-off-by: Andreas Rheinhardt --- libavcodec/Makefile | 1 - libavcodec/avcodec.h | 52 -- libavcodec/bitstream_filter.c | 185 -- libavcodec/version.h | 3 - libavformat/avformat.h|

[FFmpeg-devel] [PATCH 84/87] avfilter/buffersrc: postpone removal of sws_param

2021-04-19 Thread James Almer
It was depreacted less than two years ago Signed-off-by: James Almer --- libavfilter/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/version.h b/libavfilter/version.h index ebac663e0d..dcac3e91ef 100644 --- a/libavfilter/version.h +++

[FFmpeg-devel] [PATCH 04/87] avcodec: Remove sidedata-only-packet cruft

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Signed-off-by: Andreas Rheinhardt --- libavcodec/avcodec.h | 15 --- libavcodec/flacenc.c | 6 -- libavcodec/options_table.h | 3 --- libavcodec/version.h | 3 --- 4 files changed, 27 deletions(-) diff --git a/libavcodec/avcodec.h

[FFmpeg-devel] [PATCH 01/87] avcodec: Remove AVCodec, AVParser and AVBitStreamFilter next API

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Signed-off-by: Andreas Rheinhardt --- libavcodec/allcodecs.c | 39 - libavcodec/avcodec.h | 40 -- libavcodec/bitstream_filters.c | 6 - libavcodec/codec.h | 3 ---

[FFmpeg-devel] [PATCH 83/87] avutil: remove deprecated AVClass.child_class_next

2021-04-19 Thread James Almer
Signed-off-by: James Almer --- libavcodec/bitstream_filters.c | 22 libavcodec/bsf.c | 3 --- libavcodec/bsf_internal.h | 4 libavcodec/options.c | 22 libavfilter/af_aresample.c | 10 -

[FFmpeg-devel] [PATCH 06/87] avcodec: Remove deprecated AVPacket API

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Deprecated in ce70f28a1732c74a9cd7fec2d56178750bd6e457. Signed-off-by: Andreas Rheinhardt --- libavcodec/avpacket.c | 118 -- libavcodec/packet.h | 39 -- libavcodec/version.h | 3 -- 3 files changed, 160

[FFmpeg-devel] [PATCH 82/87] avformat: remove deprecated AVStream.codec

2021-04-19 Thread James Almer
Signed-off-by: James Almer --- fftools/ffmpeg_opt.c | 13 --- libavformat/avformat.h| 8 +- libavformat/dump.c| 24 -- libavformat/isom.c| 12 +-- libavformat/mov.c | 17 libavformat/movenc.c | 38 + libavformat/mux.c | 27

[FFmpeg-devel] [PATCH 80/87] avcodec: Constify all the AVCodecParsers

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Possible now that the next pointer no longer exists. Signed-off-by: Andreas Rheinhardt --- libavcodec/aac_parser.c| 2 +- libavcodec/ac3_parser.c| 2 +- libavcodec/adx_parser.c| 2 +- libavcodec/av1_parser.c| 2 +-

[FFmpeg-devel] [PATCH 81/87] avcodec: Move all AVCodecParser.split functions to remove_extradata_bsf

2021-04-19 Thread James Almer
From: Andreas Rheinhardt The remove_extradata bsf is the only user of these functions. Signed-off-by: Andreas Rheinhardt --- libavcodec/Makefile | 4 +- libavcodec/av1_parser.c | 25 +--- libavcodec/avs2_parser.c | 1 - libavcodec/avs3_parser.c |

[FFmpeg-devel] [PATCH 79/87] avcodec: Constify AVCodecParserContext.parser

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Signed-off-by: Andreas Rheinhardt --- doc/APIchanges | 3 +++ libavcodec/avcodec.h | 2 +- libavcodec/parser.c | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index f405cd789c..6d47e775a6 100644 ---

[FFmpeg-devel] [PATCH 77/87] avdevice/avdevice: Constify av_*_device_next API

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Signed-off-by: Andreas Rheinhardt --- doc/APIchanges | 4 fftools/cmdutils.c | 4 ++-- libavdevice/alldevices.c | 16 libavdevice/avdevice.h | 8 4 files changed, 18 insertions(+), 14 deletions(-) diff --git

[FFmpeg-devel] [PATCH 76/87] avdevice/avdevice: Constify avdevice_list_input_sources/output_sinks

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Signed-off-by: Andreas Rheinhardt --- doc/APIchanges | 4 fftools/cmdutils.c | 4 ++-- libavdevice/avdevice.c | 4 ++-- libavdevice/avdevice.h | 4 ++-- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges

[FFmpeg-devel] [PATCH 75/87] avformat/avformat, utils: Make av_find_best_stream const-correct

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Signed-off-by: Andreas Rheinhardt --- doc/APIchanges | 4 libavformat/avformat.h | 2 +- libavformat/utils.c| 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index a823a4419c..d19b817660 100644 ---

[FFmpeg-devel] [PATCH 74/87] avcodec/codec, allcodecs: Constify the AVCodec API

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Signed-off-by: Andreas Rheinhardt --- doc/APIchanges| 5 + libavcodec/allcodecs.c| 18 +- libavcodec/codec.h| 8 tools/target_dec_fuzzer.c | 8 4 files changed, 22 insertions(+), 17 deletions(-) diff

[FFmpeg-devel] [PATCH 73/87] avformat/avformat: Constify AVFormatContext.*_codec pointers

2021-04-19 Thread James Almer
From: Andreas Rheinhardt This also allows to exclusively use pointers to const AVCodec in fftools/ffmpeg_opt.c. Signed-off-by: Andreas Rheinhardt --- doc/APIchanges | 3 +++ fftools/ffmpeg_opt.c | 4 ++-- libavformat/avformat.h | 8 3 files changed, 9 insertions(+), 6

[FFmpeg-devel] [PATCH 70/87] avutil/buffer: Switch AVBuffer API to size_t

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Announced in 14040a1d913794d9a3fd6406a6d8c2f0e37e0062. Signed-off-by: Andreas Rheinhardt --- fftools/ffprobe.c | 2 +- libavcodec/aacdec_template.c | 4 ++-- libavcodec/adxdec.c| 2 +- libavcodec/audiotoolboxdec.c | 2 +-

[FFmpeg-devel] [PATCH 68/87] avutil/frame: Remove deprecated getters and setters

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Deprecated in 7df37dd319f2d9d3e1becd5d433884e3ccfa1ee2. Signed-off-by: Andreas Rheinhardt --- libavutil/frame.c | 14 - libavutil/frame.h | 50 - libavutil/version.h | 3 --- 3 files changed, 67 deletions(-)

[FFmpeg-devel] [PATCH 69/87] avutil/pixdesc: Remove deprecated AV_PIX_FMT_FLAG_PSEUDOPAL

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Deprecated in d6fc031caf64eed921bbdef86d79d56bfc2633b0. Signed-off-by: Andreas Rheinhardt --- libavcodec/decode.c | 5 + libavcodec/ffv1dec.c | 3 +-- libavcodec/rawdec.c | 17 + libavfilter/drawutils.c | 2 +-

[FFmpeg-devel] [PATCH 71/87] avutil/cpu: Remove deprecated functions

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Signed-off-by: Andreas Rheinhardt --- libavutil/cpu.c | 92 - libavutil/cpu.h | 24 libavutil/version.h | 3 -- 3 files changed, 119 deletions(-) diff --git a/libavutil/cpu.c b/libavutil/cpu.c index

[FFmpeg-devel] [PATCH 67/87] avutil: Switch crypto APIs to size_t

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Announced in e435beb1ea5380a90774dbf51fdc8c941e486551. Signed-off-by: Andreas Rheinhardt --- libavutil/adler32.c | 5 - libavutil/adler32.h | 9 - libavutil/hash.c| 4 libavutil/hash.h| 4 libavutil/hmac.c| 4

[FFmpeg-devel] [PATCH 66/87] avutil/frame: Remove deprecated AVFrame.pkt_pts field

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Deprecated in 32c8359093d1ff4f45ed19518b449b3ac3769d27. Signed-off-by: Andreas Rheinhardt --- libavcodec/audiotoolboxdec.c | 5 - libavcodec/crystalhd.c| 5 - libavcodec/cuviddec.c | 5 - libavcodec/decode.c |

[FFmpeg-devel] [PATCH 64/87] avutil/pixdesc: Remove deprecated off-by-one fields from pix fmt descs

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Deprecated in 2268db2cd052674fde55c7d48b7a5098ce89b4ba. Signed-off-by: Andreas Rheinhardt --- libavutil/pixdesc.c | 1056 +-- libavutil/pixdesc.h | 11 - libavutil/version.h |3 - 3 files changed, 525 insertions(+), 545

[FFmpeg-devel] [PATCH 65/87] avutil/frame: Remove deprecated AVFrame.error

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Deprecated in 1aa24df74c052a73175c43e57d35b4835e537ec8. Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegvideo_enc.c | 7 --- libavcodec/snowenc.c | 6 -- libavfilter/vf_swapuv.c| 6 -- libavutil/frame.c | 6 -- libavutil/frame.h

[FFmpeg-devel] [PATCH 63/87] avutil/frame: Remove AVFrame QP table API

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Originally deprecated in 1296b1f6c0631ab79464e22d48a6a1548450b943; scheduled again for removal in a9915268327b097bba84a07f68968d8c07f4b549. Signed-off-by: Andreas Rheinhardt --- libavfilter/f_sidedata.c | 34 -- libavutil/frame.c| 97

[FFmpeg-devel] [PATCH 62/87] avutil/pixfmt: Remove deprecated VAAPI pixel formats

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Deprecated in 9f8e57efe4400ca86352277873792792279c3b15. Signed-off-by: Andreas Rheinhardt --- libavutil/pixdesc.c | 25 - libavutil/pixfmt.h | 10 -- libavutil/version.h | 3 --- 3 files changed, 38 deletions(-) diff --git

[FFmpeg-devel] [PATCH 61/87] avcodec: Remove deprecated old encode/decode APIs

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Deprecated in commits 7fc329e2dd6226dfecaa4a1d7adf353bf2773726 and 31f6a4b4b83aca1d73f3cfc99ce2b39331970bf3. Signed-off-by: Andreas Rheinhardt --- configure | 8 -- libavcodec/aarch64/neontest.c | 35 - libavcodec/arm/neontest.c | 35

[FFmpeg-devel] [PATCH 60/87] avcodec: Remove deprecated AVCodecContext.coded_frame

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Deprecated in 40cf1bbacc6220a0aa6bed5c331871d43f9ce370. (The currently disabled filter vf_mcdeint and vf_uspp were users of this field; they have not been changed, so that whoever wants to fix them can see the state of these filters when they were disabled.)

[FFmpeg-devel] [PATCH 57/87] avfilter/Makefile: Don't compile transform.c unconditionally

2021-04-19 Thread James Almer
From: Andreas Rheinhardt Signed-off-by: Andreas Rheinhardt --- libavfilter/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavfilter/Makefile b/libavfilter/Makefile index b77f2276a4..42efa14a67 100644 --- a/libavfilter/Makefile +++ b/libavfilter/Makefile @@

[FFmpeg-devel] [PATCH 59/87] Disable vf_uspp/mcdeint.

2021-04-19 Thread James Almer
From: Anton Khirnov These filters depend on avcodec APIs that are to be removed. Some people have expressed potential interest in updating these filters, so they are merely disabled for now instead of being removed. --- configure | 6 ++ 1 file changed, 6 insertions(+) diff --git

  1   2   >