[FFmpeg-devel] [PATCH v16 1/9] avcodec/evc: MPEG-5 EVC codec registration

2023-01-02 Thread Dawid Kozinski
Added prerequisites that must be met before providing support for the MPEG-5 EVC codec - Added new entry to codec IDs list - Added new entry to the codec descriptor list - Bumped libavcodec minor version - Added profiles for EVC codec Signed-off-by: Dawid Kozinski --- libavcodec/avcodec.h|

[FFmpeg-devel] [PATCH v16 2/9] avcodec/evc_parser: Added parser implementation for EVC format

2023-01-02 Thread Dawid Kozinski
- Added constants definitions for EVC parser - Provided NAL units parsing following ISO_IEC_23094-1 - EVC parser registration Signed-off-by: Dawid Kozinski --- libavcodec/Makefile |1 + libavcodec/evc.h| 155 + libavcodec/evc_parser.c | 1417 +

[FFmpeg-devel] [PATCH v16 3/9] avformat/evc_muxer: Added muxer to handle writing EVC encoded data into file or output bytestream

2023-01-02 Thread Dawid Kozinski
- Provided AVOutputFormat structure describing EVC output format (ff_evc_muxer) - Added documentation for EVC muxer Signed-off-by: Dawid Kozinski --- doc/muxers.texi | 6 ++ libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/rawenc.c | 13

[FFmpeg-devel] [PATCH v16 4/9] avformat/evc_demuxer: Added demuxer to handle reading EVC video files

2023-01-02 Thread Dawid Kozinski
- Provided AVInputFormat structure describing EVC input format (ff_evc_demuxer) Signed-off-by: Dawid Kozinski --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/evcdec.c | 124 +++ 3 files changed, 126 insertions(+) create

[FFmpeg-devel] [PATCH v16 5/9] avcodec/evc_encoder: Provided support for EVC encoder

2023-01-02 Thread Dawid Kozinski
- Added EVC encoder wrapper - Changes in project configuration file and libavcodec Makefile - Added documentation for xeve wrapper Signed-off-by: Dawid Kozinski --- configure | 4 + doc/encoders.texi | 69 + doc/general_contents.texi | 11 + libavcodec/Makefile

[FFmpeg-devel] [PATCH v16 6/9] avcodec/evc_decoder: Provided support for EVC decoder

2023-01-02 Thread Dawid Kozinski
- Added EVC decoder wrapper - Changes in project configuration file and libavcodec Makefile - Added documentation for xevd wrapper Signed-off-by: Dawid Kozinski --- configure | 4 + doc/decoders.texi | 24 +++ doc/general_contents.texi | 10 +- libavcodec/Makefile

[FFmpeg-devel] [PATCH v16 7/9] avformat/mov_muxer: Extended MOV muxer to handle EVC video content

2023-01-02 Thread Dawid Kozinski
- Changes in mov_write_video_tag function to handle EVC elementary stream - Provided structure EVCDecoderConfigurationRecord that specifies the decoder configuration information for ISO/IEC 23094-1 video content Signed-off-by: Dawid Kozinski --- libavformat/Makefile| 2 +- libavformat/evc

[FFmpeg-devel] [PATCH v16 8/9] avformat/mov_demuxer: Extended MOV demuxer to handle EVC video content

2023-01-02 Thread Dawid Kozinski
- Added evc extension to the list of extensions for ff_mov_demuxer Signed-off-by: Dawid Kozinski --- libavformat/demux.c | 1 + libavformat/mov.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/demux.c b/libavformat/demux.c index 2dfd82a63c..f3ebe4d09b 100644

[FFmpeg-devel] [PATCH v16 9/9] avcodec/evc: Changes in Changelog file

2023-01-02 Thread Dawid Kozinski
- Changelog update - MAINTAINERS file update Signed-off-by: Dawid Kozinski --- Changelog | 2 ++ MAINTAINERS | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Changelog b/Changelog index f3a6abb9cd..ab6a8d2f1e 100644 --- a/Changelog +++ b/Changelog @@ -55,6 +55,8 @@ version 5.1: - remap

Re: [FFmpeg-devel] [PATCH v14 9/9] avcodec/evc: Changes in Changelog and MAINTAINERS files

2023-01-02 Thread Dawid Kozinski/Multimedia (PLT) /SRPOL/Staff Engineer/Samsung Electronics
-Original Message- From: ffmpeg-devel On Behalf Of Michael Niedermayer Sent: środa, 14 grudnia 2022 22:36 To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH v14 9/9] avcodec/evc: Changes in Changelog and MAINTAINERS files On Tue, Dec 13, 2022 at 08:33:

[FFmpeg-devel] [PATCH V2 1/2] lavfi/dnn: Modify error message for incorrect backend_type

2023-01-02 Thread Ting Fu
Signed-off-by: Ting Fu --- libavfilter/dnn/dnn_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/dnn/dnn_interface.c b/libavfilter/dnn/dnn_interface.c index 554a36b0dc..fa484c0905 100644 --- a/libavfilter/dnn/dnn_interface.c +++ b/libavfilter/dnn/dnn_inte

Re: [FFmpeg-devel] [PATCH 2/2] lavfi/dnn: Remove DNN native backend

2023-01-02 Thread Fu, Ting
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Monday, January 2, 2023 07:26 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] lavfi/dnn: Remove DNN native > backend > > On Fri, Dec 30,

[FFmpeg-devel] [PATCH] avcodec/mpeg12dec: flush a53 data

2023-01-02 Thread Aman Karmani
From: Aman Karmani Signed-off-by: Aman Karmani --- avcodec/mpeg12dec: flush a53 data Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-45%2Ftmm1%2Fmpeg2-a53-flush-v1 Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-45/tmm1/mpeg2-a53-flush-

[FFmpeg-devel] [PATCH] avcodec/vaapi_encode_h26x: passthrough A53 CC data as H264/HEVC SEI

2023-01-02 Thread Aman Karmani
From: Aman Karmani Signed-off-by: Aman Karmani --- avcodec/vaapi_encode_h26x: passthrough A53 CC data as H264/HEVC SEI Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-46%2Ftmm1%2Fvaapi-a53cc-v1 Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffst

Re: [FFmpeg-devel] Rework color quantization in palette{gen,use}

2023-01-02 Thread Michael Niedermayer
Hi On Sat, Dec 31, 2022 at 01:11:54PM +0100, Clément Bœsch wrote: > On Sun, Nov 06, 2022 at 06:30:22PM +0100, Michael Niedermayer wrote: > > On Sun, Nov 06, 2022 at 06:09:41PM +0100, Michael Niedermayer wrote: > > > On Sat, Nov 05, 2022 at 04:26:02PM +0100, Clément Bœsch wrote: > > > > Hi, > > > >

[FFmpeg-devel] [PATCH] get_cabac_inline_x86: Don't inline if 32-bit Windows

2023-01-02 Thread Christopher Degawa
previouslly, it only was an issue with 32-bit clang from msys2's mingw32 repo, however, at some point with an update to gcc 12.2.0, the same issue popped up. Tested with a clean clone of ffmpeg, and even tested with n5.0, but the issue persists, so I presume it's a compiler issue. Related: https:/

Re: [FFmpeg-devel] Rework color quantization in palette{gen,use}

2023-01-02 Thread Clément Bœsch
On Mon, Jan 02, 2023 at 10:57:33PM +0100, Michael Niedermayer wrote: [...] > > So I did a lot of experiments, and the explanation for the desaturated > > output at low number of colors can be found at the end of this article: > > http://blog.pkh.me/p/39-improving-color-quantization-heuristics.html

[FFmpeg-devel] [PATCH 1/2] lavu/hwcontext_cuda: declare support for argb/abgr/rgba/bgra

2023-01-02 Thread Philip Langdale
These can be useful. Signed-off-by: Philip Langdale --- libavutil/hwcontext_cuda.c | 4 1 file changed, 4 insertions(+) diff --git a/libavutil/hwcontext_cuda.c b/libavutil/hwcontext_cuda.c index 5ae7711c94..22eb9f5513 100644 --- a/libavutil/hwcontext_cuda.c +++ b/libavutil/hwcontext_cuda.c

[FFmpeg-devel] [PATCH 0/2] Interpolation filter using nvidia OFFRUC Library

2023-01-02 Thread Philip Langdale
This filter implements frame rate down/upsampling using nvidia's Optical Flow FRUC (Frame Rate Up Conversion) library. It's neat because you get realtime interpolation with a decent level of quality. It's impractical because of licensing. I have no actual intention to merge this, as it doesn't eve

[FFmpeg-devel] [PATCH 2/2] avfilter/vf_nvoffruc: Add filter for nvidia's Optical Flow FRUC library

2023-01-02 Thread Philip Langdale
The NvOFFRUC library provides a GPU accelerated interpolation feature based on nvidia's Optical Flow functionality. It's able to provide reasonably high quality realtime interpolation to increase the frame rate of a video stream - as opposed to vf_framerate that just does a linear blend or vf_minte

Re: [FFmpeg-devel] [PATCH 2/2] avfilter/vf_nvoffruc: Add filter for nvidia's Optical Flow FRUC library

2023-01-02 Thread Dennis Mungai
On Tue, 3 Jan 2023 at 02:22, Philip Langdale wrote: > The NvOFFRUC library provides a GPU accelerated interpolation feature > based on nvidia's Optical Flow functionality. It's able to provide > reasonably high quality realtime interpolation to increase the frame > rate of a video stream - as opp

Re: [FFmpeg-devel] [PATCH] get_cabac_inline_x86: Don't inline if 32-bit Windows

2023-01-02 Thread Hendrik Leppkes
On Tue, Jan 3, 2023 at 12:01 AM Christopher Degawa wrote: > > previouslly, it only was an issue with 32-bit clang from msys2's > mingw32 repo, however, at some point with an update to gcc 12.2.0, > the same issue popped up. Tested with a clean clone of ffmpeg, and even > tested with n5.0, but the

Re: [FFmpeg-devel] [PATCH 0/2] Interpolation filter using nvidia OFFRUC Library

2023-01-02 Thread Dennis Mungai
On Tue, 3 Jan 2023 at 02:22, Philip Langdale wrote: > This filter implements frame rate down/upsampling using nvidia's > Optical Flow FRUC (Frame Rate Up Conversion) library. It's neat because > you get realtime interpolation with a decent level of quality. It's > impractical because of licensing

Re: [FFmpeg-devel] [PATCH 0/2] Interpolation filter using nvidia OFFRUC Library

2023-01-02 Thread Philip Langdale
On Tue, 3 Jan 2023 02:39:19 +0300 Dennis Mungai wrote: > Related, > > If this were to be implemented in mpv, can libplacebo pick up this > feature spec as a filter in ffmpeg? Perhaps that would make such a > feature easier to merge down the line, instead of re-implementing it > directly in ffmpe

Re: [FFmpeg-devel] [PATCH 0/2] Interpolation filter using nvidia OFFRUC Library

2023-01-02 Thread Dennis Mungai
On Tue, 3 Jan 2023 at 03:13, Philip Langdale wrote: > On Tue, 3 Jan 2023 02:39:19 +0300 > Dennis Mungai wrote: > > > Related, > > > > If this were to be implemented in mpv, can libplacebo pick up this > > feature spec as a filter in ffmpeg? Perhaps that would make such a > > feature easier to me

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/qsvenc_av1: Add low_delay_brc support to av1_qsv encoder

2023-01-02 Thread Xiang, Haihao
On Ma, 2022-12-26 at 14:02 +0800, wenbin.chen-at-intel@ffmpeg.org wrote: > From: Wenbin Chen > > Signed-off-by: Wenbin Chen > --- > doc/encoders.texi | 5 + > libavcodec/qsvenc.c | 4 > libavcodec/qsvenc_av1.c | 1 + > 3 files changed, 10 insertions(+) > > diff --git a/d

[FFmpeg-devel] [PATCH] libavcodec/qsvenc: Enable 444 encoding for RGB input

2023-01-02 Thread wenbin . chen-at-intel . com
From: Wenbin Chen MSDK/VPL uses 420 chroma format as default to encode RGB, and this is not a proper usage. Now enable 444 encoding for RGB input by default. RGB is encoded using 444 chroma format when user doesn't specify the profile or uses rext profile, otherwise, 420 is used. Signed-off-by:

Re: [FFmpeg-devel] [PATCH v2 03/13] lavc/hevc_ps: Add SPS/PPS parse support for HEVC extension syntax

2023-01-02 Thread Xiang, Haihao
On Ma, 2022-12-05 at 14:09 +0800, Fei Wang wrote: > From: Linjie Fu > > 1. Add extension syntax according to 7.3.2.2.3/7.3.2.3.3 in T-REC-H.265- > 201911. > 2. Keep using parsed PPS when bitstream overread for compatibility. For > example, the clip PS_A_VIDYO_3.bit in FATE test has incomplete ext

[FFmpeg-devel] [PATCH] Doxygen: Ignore tableprint_vlc.h defines

2023-01-02 Thread Frank Dana
[Note: Patch provided as an attachment to protect encoding/formatting.] The current official docs mistakenly pick up the override macros in libavcodec/tableprint_vlc.h as the canonical definitions of functions like av_free() and av_freep(), causing the docs to link to those #defines instead of the

Re: [FFmpeg-devel] [PATCH v2 08/13] lavc/vaapi_hevc: Pass SCC parameters Through VA-API

2023-01-02 Thread Xiang, Haihao
On Ma, 2022-12-05 at 14:09 +0800, Fei Wang wrote: > From: Linjie Fu > > Including sps/pps/slice parameters. > > Signed-off-by: Linjie Fu > Signed-off-by: Fei Wang > --- > libavcodec/vaapi_hevc.c | 52 + > 1 file changed, 47 insertions(+), 5 deletions(-)

Re: [FFmpeg-devel] [PATCH v2 09/13] lavc/vaapi_hevc: Add vaapi profile parse support for SCC

2023-01-02 Thread Xiang, Haihao
On Ma, 2022-12-05 at 14:09 +0800, Fei Wang wrote: > From: Linjie Fu > > Note that Screen-Extended Main 4:4:4 and 4:4:4 10 supports > chroma_format_idc from 0, 1 or 3, hence both 420 and 444 are > supported. > > Signed-off-by: Linjie Fu > Signed-off-by: Fei Wang > --- > libavcodec/vaapi_decode