Re: [FFmpeg-devel] [PATCH] fate: Add tests for QOA decoder

2023-12-02 Thread Thilo Borgmann via ffmpeg-devel
Am 03.12.23 um 00:43 schrieb Paul B Mahol: Files needs to be first uploaded to rsync server of FATE, and wait 24h and after that it can be pushed. Uploaded. -Thilo ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

[FFmpeg-devel] [PATCH v11 7/9] avcodec: add D3D12VA hardware accelerated VC1 decoding

2023-12-02 Thread Tong Wu
From: Wu Jianhua The command below is how to enable d3d12va: ffmpeg -hwaccel d3d12va -i input.mp4 output.mp4 Signed-off-by: Wu Jianhua Signed-off-by: Tong Wu --- configure | 3 + libavcodec/Makefile | 1 + libavcodec/d3d12va_vc1.c| 214

[FFmpeg-devel] [PATCH v11 9/9] avcodec/d3d12va_hevc: enable allow_profile_mismatch flag for d3d12va msp profile

2023-12-02 Thread Tong Wu
Same as d3d11va, this flag enables main still picture profile for d3d12va. User should add this flag when decoding main still picture profile. Signed-off-by: Tong Wu --- libavcodec/d3d12va_hevc.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git

[FFmpeg-devel] [PATCH v11 8/9] Changelog: D3D12VA hardware accelerated H264, HEVC, VP9, AV1, MPEG-2 and VC1 decoding

2023-12-02 Thread Tong Wu
From: Wu Jianhua Signed-off-by: Wu Jianhua Signed-off-by: Tong Wu --- Changelog | 1 + 1 file changed, 1 insertion(+) diff --git a/Changelog b/Changelog index f00bc27ca4..d4f8bd42b7 100644 --- a/Changelog +++ b/Changelog @@ -7,6 +7,7 @@ version : - EVC encoding using external library

[FFmpeg-devel] [PATCH v11 6/9] avcodec: add D3D12VA hardware accelerated MPEG-2 decoding

2023-12-02 Thread Tong Wu
From: Wu Jianhua The command below is how to enable d3d12va: ffmpeg -hwaccel d3d12va -i input.mp4 output.mp4 Signed-off-by: Wu Jianhua Signed-off-by: Tong Wu --- configure | 2 + libavcodec/Makefile | 1 + libavcodec/d3d12va_mpeg2.c | 191

[FFmpeg-devel] [PATCH v11 5/9] avcodec: add D3D12VA hardware accelerated AV1 decoding

2023-12-02 Thread Tong Wu
From: Wu Jianhua The command below is how to enable d3d12va: ffmpeg -hwaccel d3d12va -i input.mp4 output.mp4 Signed-off-by: Wu Jianhua Signed-off-by: Tong Wu --- configure | 2 + libavcodec/Makefile | 1 + libavcodec/av1dec.c | 10 ++

[FFmpeg-devel] [PATCH v11 4/9] avcodec: add D3D12VA hardware accelerated VP9 decoding

2023-12-02 Thread Tong Wu
From: Wu Jianhua The command below is how to enable d3d12va: ffmpeg -hwaccel d3d12va -i input.mp4 output.mp4 Signed-off-by: Wu Jianhua Signed-off-by: Tong Wu --- configure | 2 + libavcodec/Makefile | 1 + libavcodec/d3d12va_vp9.c| 171

[FFmpeg-devel] [PATCH v11 3/9] avcodec: add D3D12VA hardware accelerated HEVC decoding

2023-12-02 Thread Tong Wu
From: Wu Jianhua The command below is how to enable d3d12va: ffmpeg -hwaccel d3d12va -i input.mp4 output.mp4 Signed-off-by: Wu Jianhua Signed-off-by: Tong Wu --- configure | 2 + libavcodec/Makefile | 1 + libavcodec/d3d12va_hevc.c | 208

[FFmpeg-devel] [PATCH v11 2/9] avcodec: add D3D12VA hardware accelerated H264 decoding

2023-12-02 Thread Tong Wu
From: Wu Jianhua The implementation is based on: https://learn.microsoft.com/en-us/windows/win32/medfound/direct3d-12-video-overview With the Direct3D 12 video decoding support, we can render or process the decoded images by the pixel shaders or compute shaders directly without the extra copy

[FFmpeg-devel] [PATCH v11 1/9] libavutil: add hwcontext_d3d12va and AV_PIX_FMT_D3D12

2023-12-02 Thread Tong Wu
From: Wu Jianhua Signed-off-by: Wu Jianhua Signed-off-by: Tong Wu --- configure | 5 + doc/APIchanges | 5 + libavutil/Makefile | 3 + libavutil/hwcontext.c | 4 + libavutil/hwcontext.h

Re: [FFmpeg-devel] [PATCH v10 2/9] avcodec: add D3D12VA hardware accelerated H264 decoding

2023-12-02 Thread Wu, Tong1
>> The implementation is based on: >> https://learn.microsoft.com/en-us/windows/win32/medfound/direct3d-12- >video-overview >> >> With the Direct3D 12 video decoding support, we can render or process >> the decoded images by the pixel shaders or compute shaders directly >> without the extra copy

[FFmpeg-devel] [PATCH 7/7] avcodec: add AV_CODEC_FLAG_CLEAR

2023-12-02 Thread Marton Balint
Signed-off-by: Marton Balint --- doc/APIchanges | 3 +++ doc/codecs.texi| 14 ++ libavcodec/avcodec.h | 4 libavcodec/decode.c| 6 ++ libavcodec/options_table.h | 1 + libavcodec/version.h | 2 +- 6 files changed, 29

[FFmpeg-devel] [PATCH 6/7] avutil/imgutils: add new function av_image_fill_color()

2023-12-02 Thread Marton Balint
Signed-off-by: Marton Balint --- doc/APIchanges | 3 +++ libavutil/imgutils.c | 4 ++-- libavutil/imgutils.h | 30 ++ libavutil/version.h | 2 +- 4 files changed, 36 insertions(+), 3 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index

[FFmpeg-devel] [PATCH 5/7] avutil/imgutils: factorize a fill color function

2023-12-02 Thread Marton Balint
In preparation for making it public. Signed-off-by: Marton Balint --- libavutil/imgutils.c | 101 +++ 1 file changed, 63 insertions(+), 38 deletions(-) diff --git a/libavutil/imgutils.c b/libavutil/imgutils.c index 26bb2f2c6f..959e6850ac 100644 ---

[FFmpeg-devel] [PATCH 4/7] avutil/imgutils: add support for 32bit pixel format for av_image_fill_black()

2023-12-02 Thread Marton Balint
Signed-off-by: Marton Balint --- libavutil/imgutils.c| 32 ++-- tests/ref/fate/imgutils | 24 2 files changed, 34 insertions(+), 22 deletions(-) diff --git a/libavutil/imgutils.c b/libavutil/imgutils.c index 5e401139c8..26bb2f2c6f 100644

[FFmpeg-devel] [PATCH 3/7] avutil/imgutils: fix av_image_fill_black() for some pixel formats

2023-12-02 Thread Marton Balint
- Fixes YA formats, because previous code always assumed alpha as the 4th component. - Fixes PAL format (as long as 0 is black, as in a systematic palette), because previous code assumed it as limited Y. - Fixes XYZ format because it does not need nonzero chroma components - Fixes xv30be as

[FFmpeg-devel] [PATCH 2/7] avutil/tests/imgutils: add tests for av_image_fill_black()

2023-12-02 Thread Marton Balint
Signed-off-by: Marton Balint --- libavutil/tests/imgutils.c | 60 -- tests/ref/fate/imgutils| 217 + 2 files changed, 268 insertions(+), 9 deletions(-) diff --git a/libavutil/tests/imgutils.c b/libavutil/tests/imgutils.c index

[FFmpeg-devel] [PATCH 1/7] avutil/tests/imgutils: factorize basic tests to new function

2023-12-02 Thread Marton Balint
Signed-off-by: Marton Balint --- libavutil/tests/imgutils.c | 68 ++ 1 file changed, 39 insertions(+), 29 deletions(-) diff --git a/libavutil/tests/imgutils.c b/libavutil/tests/imgutils.c index 748bd6c9d2..f3a433ac4a 100644 --- a/libavutil/tests/imgutils.c

Re: [FFmpeg-devel] [PATCH] fate: Add tests for QOA decoder

2023-12-02 Thread Paul B Mahol
Files needs to be first uploaded to rsync server of FATE, and wait 24h and after that it can be pushed. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email

Re: [FFmpeg-devel] [PATCH v3 1/3] avfilter/vf_bwdif: consider chroma subsampling when enforcing minimum dimensions

2023-12-02 Thread Thomas Mundt
Cosmin Stejerean via ffmpeg-devel schrieb am Sa., 2. Dez. 2023, 21:17: > From: Cosmin Stejerean > > Fixes #10688 > > Signed-off-by: Cosmin Stejerean > --- > libavfilter/vf_bwdif.c | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/libavfilter/vf_bwdif.c

Re: [FFmpeg-devel] [PATCH v10 2/9] avcodec: add D3D12VA hardware accelerated H264 decoding

2023-12-02 Thread Michael Niedermayer
On Sat, Dec 02, 2023 at 06:12:42PM +0800, Tong Wu wrote: > From: Wu Jianhua > > The implementation is based on: > https://learn.microsoft.com/en-us/windows/win32/medfound/direct3d-12-video-overview > > With the Direct3D 12 video decoding support, we can render or process > the decoded images by

[FFmpeg-devel] [PATCH] fate: Add tests for QOA decoder

2023-12-02 Thread Cosmin Stejerean via ffmpeg-devel
From: Cosmin Stejerean --- tests/Makefile | 1 + tests/fate/qoa.mak | 12 tests/ref/fate/qoa-152 | 13 tests/ref/fate/qoa-278 | 135 + tests/ref/fate/qoa-303 | 35 +++ 5 files changed, 196 insertions(+) create mode

[FFmpeg-devel] [PATCH v3 1/3] avfilter/vf_bwdif: consider chroma subsampling when enforcing minimum dimensions

2023-12-02 Thread Cosmin Stejerean via ffmpeg-devel
From: Cosmin Stejerean Fixes #10688 Signed-off-by: Cosmin Stejerean --- libavfilter/vf_bwdif.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_bwdif.c b/libavfilter/vf_bwdif.c index 137cd5ef13..353cd0b61a 100644 --- a/libavfilter/vf_bwdif.c +++

[FFmpeg-devel] [PATCH v3 3/3] avfilter/vf_bwdif_vulkan: consider chroma subsampling when enforcing minimum dimensions

2023-12-02 Thread Cosmin Stejerean via ffmpeg-devel
From: Cosmin Stejerean Signed-off-by: Cosmin Stejerean --- libavfilter/vf_bwdif_vulkan.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/libavfilter/vf_bwdif_vulkan.c b/libavfilter/vf_bwdif_vulkan.c index 690a89c4ba..c51df9aa26 100644 ---

[FFmpeg-devel] [PATCH v3 2/3] avfilter/vf_bwdif_cuda: consider chroma subsampling when enforcing minimum dimensions

2023-12-02 Thread Cosmin Stejerean via ffmpeg-devel
From: Cosmin Stejerean Signed-off-by: Cosmin Stejerean --- libavfilter/vf_bwdif_cuda.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/libavfilter/vf_bwdif_cuda.c b/libavfilter/vf_bwdif_cuda.c index a5ecfbadb6..418f15f989 100644 --- a/libavfilter/vf_bwdif_cuda.c

[FFmpeg-devel] [PATCH v3 0/3] consider chroma subsampling for bwdif (including CUDA and Vulkan)

2023-12-02 Thread Cosmin Stejerean via ffmpeg-devel
From: Cosmin Stejerean This fixes the issue reported in #10688. In v3 only the chroma planes are checked based on feedback for v2, since the chroma planes are going to have the minimum dimension. Cosmin Stejerean (3): avfilter/vf_bwdif: consider chroma subsampling when enforcing minimum

Re: [FFmpeg-devel] [POC][PATCHSET] Add qrencodesrc source

2023-12-02 Thread Stefano Sabatini
On date Friday 2023-12-01 16:08:23 +0100, Tomas Härdin wrote: > tor 2023-11-30 klockan 15:39 + skrev Cosmin Stejerean via ffmpeg- > devel: > > > > > On Nov 30, 2023, at 03:07, Tomas Härdin wrote: > > > > > > tor 2023-11-30 klockan 01:49 +0100 skrev Stefano Sabatini: > > > > This is meant

Re: [FFmpeg-devel] [POC][PATCHSET] Add qrencodesrc source

2023-12-02 Thread Stefano Sabatini
On date Thursday 2023-11-30 12:21:16 +0100, Paul B Mahol wrote: > On Thu, Nov 30, 2023 at 12:07 PM Tomas Härdin wrote: > > > tor 2023-11-30 klockan 01:49 +0100 skrev Stefano Sabatini: > > > This is meant to introduce functionality to handle QR codes. > > > > Why? > > > > For such trivial

Re: [FFmpeg-devel] [PATCH] lavc: remove the QOA decoder

2023-12-02 Thread Paul B Mahol
On Sat, Dec 2, 2023 at 7:20 PM Cosmin Stejerean via ffmpeg-devel < ffmpeg-devel@ffmpeg.org> wrote: > > > > On Dec 2, 2023, at 7:53 AM, Anton Khirnov wrote: > > > > Its author not only failed to add any tests, as is required by the > > development rules, but continues to actively refuse to do so.

Re: [FFmpeg-devel] [PATCH] lavc: remove the QOA decoder

2023-12-02 Thread Cosmin Stejerean via ffmpeg-devel
> On Dec 2, 2023, at 7:53 AM, Anton Khirnov wrote: > > Its author not only failed to add any tests, as is required by the > development rules, but continues to actively refuse to do so. > > Untested decoders are worse than useless, so remove it. While I agree that decoders (among other

Re: [FFmpeg-devel] [PATCH] lavc: remove the QOA decoder

2023-12-02 Thread Paul B Mahol
What a nice narrative. Yes, remove this decoder. And keep two sonic decoders at same time of questionable code quality, functionality and what not. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH] lavc: remove the QOA decoder

2023-12-02 Thread Anton Khirnov
Its author not only failed to add any tests, as is required by the development rules, but continues to actively refuse to do so. Untested decoders are worse than useless, so remove it. --- Changelog | 2 +- libavcodec/Makefile| 1 - libavcodec/allcodecs.c | 1 -

[FFmpeg-devel] [PATCH] avfilter: allow floating point formatting in expr_int_format (vf_drawtext.c)

2023-12-02 Thread Lennart Klebl
Since I was trying for quite some time to get proper floating point formatting of positive and negative numbers working with the existing drawtext/expr_int_format implementation, I added the f format specifier that is only applied when used in conjunction with a width. From

Re: [FFmpeg-devel] [PATCH] avfilter: add aspace filter

2023-12-02 Thread Paul B Mahol
On Sat, Dec 2, 2023 at 3:51 PM Anton Khirnov wrote: > Quoting Paul B Mahol (2023-12-02 15:57:59) > > On Sat, Dec 2, 2023 at 3:44 PM Anton Khirnov wrote: > > > > > Quoting Paul B Mahol (2023-12-02 15:42:31) > > > > On Sat, Dec 2, 2023 at 2:47 PM Anton Khirnov > wrote: > > > > > > > > > Missing

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec: add QOA decoder

2023-12-02 Thread Paul B Mahol
On Sat, Dec 2, 2023 at 3:50 PM Anton Khirnov wrote: > Quoting Paul B Mahol (2023-12-02 15:55:57) > > On Sat, Dec 2, 2023 at 3:45 PM Anton Khirnov wrote: > > > > > Quoting Paul B Mahol (2023-12-02 15:43:11) > > > > On Sat, Dec 2, 2023 at 2:50 PM Anton Khirnov > wrote: > > > > > > > > > Missing

Re: [FFmpeg-devel] [PATCH] avfilter: add aspace filter

2023-12-02 Thread Anton Khirnov
Quoting Paul B Mahol (2023-12-02 15:57:59) > On Sat, Dec 2, 2023 at 3:44 PM Anton Khirnov wrote: > > > Quoting Paul B Mahol (2023-12-02 15:42:31) > > > On Sat, Dec 2, 2023 at 2:47 PM Anton Khirnov wrote: > > > > > > > Missing tests. > > > > > > > > > > Float/double cant have tests. > > > > They

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec: add QOA decoder

2023-12-02 Thread Anton Khirnov
Quoting Paul B Mahol (2023-12-02 15:55:57) > On Sat, Dec 2, 2023 at 3:45 PM Anton Khirnov wrote: > > > Quoting Paul B Mahol (2023-12-02 15:43:11) > > > On Sat, Dec 2, 2023 at 2:50 PM Anton Khirnov wrote: > > > > > > > Missing tests. > > > > > > > > > > Encoder is freely available and anyone can

Re: [FFmpeg-devel] [PATCH] avfilter: add aspace filter

2023-12-02 Thread Paul B Mahol
On Sat, Dec 2, 2023 at 3:44 PM Anton Khirnov wrote: > Quoting Paul B Mahol (2023-12-02 15:42:31) > > On Sat, Dec 2, 2023 at 2:47 PM Anton Khirnov wrote: > > > > > Missing tests. > > > > > > > Float/double cant have tests. > > They most definitely can. See e.g. amix. > > amix does simple things,

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec: add QOA decoder

2023-12-02 Thread Paul B Mahol
On Sat, Dec 2, 2023 at 3:45 PM Anton Khirnov wrote: > Quoting Paul B Mahol (2023-12-02 15:43:11) > > On Sat, Dec 2, 2023 at 2:50 PM Anton Khirnov wrote: > > > > > Missing tests. > > > > > > > Encoder is freely available and anyone can do it. > > It is your responsibility as the author of this

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec: add QOA decoder

2023-12-02 Thread Anton Khirnov
Quoting Paul B Mahol (2023-12-02 15:43:11) > On Sat, Dec 2, 2023 at 2:50 PM Anton Khirnov wrote: > > > Missing tests. > > > > Encoder is freely available and anyone can do it. It is your responsibility as the author of this code to add tests. -- Anton Khirnov

Re: [FFmpeg-devel] [PATCH] avfilter: add aspace filter

2023-12-02 Thread Anton Khirnov
Quoting Paul B Mahol (2023-12-02 15:42:31) > On Sat, Dec 2, 2023 at 2:47 PM Anton Khirnov wrote: > > > Missing tests. > > > > Float/double cant have tests. They most definitely can. See e.g. amix. -- Anton Khirnov ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec: add QOA decoder

2023-12-02 Thread Paul B Mahol
On Sat, Dec 2, 2023 at 2:50 PM Anton Khirnov wrote: > Missing tests. > Encoder is freely available and anyone can do it. > > -- > Anton Khirnov > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org >

Re: [FFmpeg-devel] [PATCH] avfilter: add aspace filter

2023-12-02 Thread Paul B Mahol
On Sat, Dec 2, 2023 at 2:47 PM Anton Khirnov wrote: > Missing tests. > Float/double cant have tests. > > -- > Anton Khirnov > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To

Re: [FFmpeg-devel] [PATCH] checkasm: Fix the signature of float_to_fixed24

2023-12-02 Thread Rémi Denis-Courmont
Lgtm ___ 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 with subject "unsubscribe".

[FFmpeg-devel] [PATCH] checkasm: Fix the signature of float_to_fixed24

2023-12-02 Thread Martin Storsjö
The len parameter was changed from unsigned int to size_t in 567c67c6c8cb9be083f56198bfa979e4bda84c99. This fixes crashes in the reference C code, when running checkasm on aarch64. --- tests/checkasm/ac3dsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [FFmpeg-devel] [FFmpeg-cvslog] avformat: add QOA demuxer

2023-12-02 Thread Anton Khirnov
Missing tests. -- Anton Khirnov ___ 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 with subject "unsubscribe".

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec: add QOA decoder

2023-12-02 Thread Anton Khirnov
Missing tests. -- Anton Khirnov ___ 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 with subject "unsubscribe".

Re: [FFmpeg-devel] [FFmpeg-cvslog] avfilter: add Affine Projection adaptive audio filter

2023-12-02 Thread Anton Khirnov
Missing tests. -- Anton Khirnov ___ 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 with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] avfilter: add aspace filter

2023-12-02 Thread Anton Khirnov
Missing tests. -- Anton Khirnov ___ 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 with subject "unsubscribe".

[FFmpeg-devel] [PATCH] avfilter: add aspace filter

2023-12-02 Thread Paul B Mahol
Attached. From 0388038ff2c7816194d01cf4c8966aab4a504b92 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 2 Dec 2023 00:51:54 +0100 Subject: [PATCH] avfilter: add aspace filter Signed-off-by: Paul B Mahol --- doc/filters.texi | 62 + libavfilter/Makefile | 1 +

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: TC/CC elections

2023-12-02 Thread Niklas Haas
On Sat, 02 Dec 2023 11:24:39 +0100 Anton Khirnov wrote: > So, given that we've had no further reports about voting mistakes, I'm > leaning towards NOT redoing the vote. If anyone has strong opinions one > way or another, feel welcome to comment. Either way we should make a > decision before the

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: TC/CC elections

2023-12-02 Thread Anton Khirnov
So, given that we've had no further reports about voting mistakes, I'm leaning towards NOT redoing the vote. If anyone has strong opinions one way or another, feel welcome to comment. Either way we should make a decision before the vote is closed on Tuesday. -- Anton Khirnov

Re: [FFmpeg-devel] [PATCH v10 1/9] libavutil: add hwcontext_d3d12va and AV_PIX_FMT_D3D12

2023-12-02 Thread Wu, Tong1
Patch set V10 major changes: 1. Put more explanations for event object (jb) 2. Put DXGI_FORMAT to public structure (Lynne) 3. Implemented uploading method (Lynne) 4. Supported dynamic pool for hwcontext_d3d12va. Removed useless index from every texture. Unbind texture from frames context, giving

[FFmpeg-devel] [PATCH v10 7/9] avcodec: add D3D12VA hardware accelerated VC1 decoding

2023-12-02 Thread Tong Wu
From: Wu Jianhua The command below is how to enable d3d12va: ffmpeg -hwaccel d3d12va -i input.mp4 output.mp4 Signed-off-by: Wu Jianhua Signed-off-by: Tong Wu --- configure | 3 + libavcodec/Makefile | 1 + libavcodec/d3d12va_vc1.c| 214

[FFmpeg-devel] [PATCH v10 9/9] avcodec/d3d12va_hevc: enable allow_profile_mismatch flag for d3d12va msp profile

2023-12-02 Thread Tong Wu
Same as d3d11va, this flag enables main still picture profile for d3d12va. User should add this flag when decoding main still picture profile. Signed-off-by: Tong Wu --- libavcodec/d3d12va_hevc.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git

[FFmpeg-devel] [PATCH v10 8/9] Changelog: D3D12VA hardware accelerated H264, HEVC, VP9, AV1, MPEG-2 and VC1 decoding

2023-12-02 Thread Tong Wu
From: Wu Jianhua Signed-off-by: Wu Jianhua Signed-off-by: Tong Wu --- Changelog | 1 + 1 file changed, 1 insertion(+) diff --git a/Changelog b/Changelog index f00bc27ca4..d4f8bd42b7 100644 --- a/Changelog +++ b/Changelog @@ -7,6 +7,7 @@ version : - EVC encoding using external library

[FFmpeg-devel] [PATCH v10 6/9] avcodec: add D3D12VA hardware accelerated MPEG-2 decoding

2023-12-02 Thread Tong Wu
From: Wu Jianhua The command below is how to enable d3d12va: ffmpeg -hwaccel d3d12va -i input.mp4 output.mp4 Signed-off-by: Wu Jianhua Signed-off-by: Tong Wu --- configure | 2 + libavcodec/Makefile | 1 + libavcodec/d3d12va_mpeg2.c | 191

[FFmpeg-devel] [PATCH v10 5/9] avcodec: add D3D12VA hardware accelerated AV1 decoding

2023-12-02 Thread Tong Wu
From: Wu Jianhua The command below is how to enable d3d12va: ffmpeg -hwaccel d3d12va -i input.mp4 output.mp4 Signed-off-by: Wu Jianhua Signed-off-by: Tong Wu --- configure | 2 + libavcodec/Makefile | 1 + libavcodec/av1dec.c | 10 ++

[FFmpeg-devel] [PATCH v10 4/9] avcodec: add D3D12VA hardware accelerated VP9 decoding

2023-12-02 Thread Tong Wu
From: Wu Jianhua The command below is how to enable d3d12va: ffmpeg -hwaccel d3d12va -i input.mp4 output.mp4 Signed-off-by: Wu Jianhua Signed-off-by: Tong Wu --- configure | 2 + libavcodec/Makefile | 1 + libavcodec/d3d12va_vp9.c| 171

[FFmpeg-devel] [PATCH v10 3/9] avcodec: add D3D12VA hardware accelerated HEVC decoding

2023-12-02 Thread Tong Wu
From: Wu Jianhua The command below is how to enable d3d12va: ffmpeg -hwaccel d3d12va -i input.mp4 output.mp4 Signed-off-by: Wu Jianhua Signed-off-by: Tong Wu --- configure | 2 + libavcodec/Makefile | 1 + libavcodec/d3d12va_hevc.c | 208

[FFmpeg-devel] [PATCH v10 2/9] avcodec: add D3D12VA hardware accelerated H264 decoding

2023-12-02 Thread Tong Wu
From: Wu Jianhua The implementation is based on: https://learn.microsoft.com/en-us/windows/win32/medfound/direct3d-12-video-overview With the Direct3D 12 video decoding support, we can render or process the decoded images by the pixel shaders or compute shaders directly without the extra copy

[FFmpeg-devel] [PATCH v10 1/9] libavutil: add hwcontext_d3d12va and AV_PIX_FMT_D3D12

2023-12-02 Thread Tong Wu
From: Wu Jianhua Signed-off-by: Wu Jianhua Signed-off-by: Tong Wu --- configure | 5 + doc/APIchanges | 5 + libavutil/Makefile | 3 + libavutil/hwcontext.c | 4 + libavutil/hwcontext.h