On 20-07-2025 15:22, Hendrik Leppkes wrote:
> On Sun, Jul 20, 2025 at 11:15 AM Dash Santosh Sathyanarayanan
> wrote:
>>
>> Regarding the while loop in hwcontext_d3d11va get_buffer, I understand
>> the concern about introducing an unbounded wait. However, there have be
Adds D3D11 input surface support to the MediaFoundation encoder (mfenc),
allowing direct encoding of GPU frames without readback to system memory.
This improves performance and compatibility when used alongside scale_d3d11.
Signed-off-by: Dash Santosh
---
libavcodec/mf_utils.h | 7
l
+++ b/libavfilter/vf_scale_d3d11.c
@@ -0,0 +1,464 @@
+/*
+ * Copyright (C) 2025 MulticorewWare, Inc.
+ *
+ * Authors: Dash Santosh
+ * Sachin
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Les
extern const FFFilter ff_vf_sr_amf;
extern const FFFilter ff_vf_scale_cuda;
+extern const FFFilter ff_vf_scale_d3d11;
extern const FFFilter ff_vf_scale_npp;
extern const FFFilter ff_vf_scale_qsv;
extern const FFFilter ff_vf_scale_vaapi;
diff --git a/libavfilter/vf_scale_d3d11.c b/libavfilter/vf_s
n const FFFilter ff_vf_sr_amf;
extern const FFFilter ff_vf_scale_cuda;
+extern const FFFilter ff_vf_scale_d3d11;
extern const FFFilter ff_vf_scale_npp;
extern const FFFilter ff_vf_scale_qsv;
extern const FFFilter ff_vf_scale_vaapi;
diff --git a/libavfilter/vf_scale_d3d11.c b/libavfilter/vf_s
Adds D3D11 input surface support to the MediaFoundation encoder (mfenc),
allowing direct encoding of GPU frames without readback to system memory.
This improves performance and compatibility when used alongside scale_d3d11.
Signed-off-by: Dash Santosh
---
libavcodec/mf_utils.h | 7
Adds D3D11 input surface support to the MediaFoundation encoder (mfenc),
allowing direct encoding of GPU frames without readback to system memory.
This improves performance and compatibility when used alongside scale_d3d11.
Signed-off-by: Dash Santosh
---
libavcodec/mf_utils.h | 7
4 @@
+/*
+ * Copyright (C) 2025 MulticorewWare, Inc.
+ *
+ * Authors: Dash Santosh
+ * Sachin
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Softwar
On 24-06-2025 13:26, Hendrik Leppkes wrote:
+if (frames_ctx->sw_format == AV_PIX_FMT_NV12) {
+frames_hwctx->BindFlags |= D3D11_BIND_VIDEO_ENCODER;
+}
The filter should be designed universally rather than expecting to be connected
to something specific at its output.
Adds D3D11 input surface support to the MediaFoundation encoder (mfenc),
allowing direct encoding of GPU frames without readback to system memory.
This improves performance and compatibility when used alongside scale_d3d11.
Signed-off-by: Dash Santosh
---
libavcodec/mf_utils.h | 7
extern const FFFilter ff_vf_scale_vaapi;
diff --git a/libavfilter/vf_scale_d3d11.c b/libavfilter/vf_scale_d3d11.c
new file mode 100644
index 00..0b7476dd15
--- /dev/null
+++ b/libavfilter/vf_scale_d3d11.c
@@ -0,0 +1,464 @@
+/*
+ * Copyright (C) 2025 MulticorewWare, Inc.
+ *
+ * Authors: Dash Sa
k_loop(void * _w) Line 2350 (HandBrake\libhb\work.c:2350)
On 23-05-2025 00:12, softworkz . wrote:
-Original Message-
From: ffmpeg-devel
<mailto:ffmpeg-devel-boun...@ffmpeg.org> On
Behalf Of Dash Santosh
Sathyanarayanan
Sent: Donnerstag, 22. Mai 2025 19:58
To: ffmpeg-devel@ff
On 22-05-2025 20:55, Timo Rothenpieler wrote:
> On 22/05/2025 15:20, Dash Santosh Sathyanarayanan wrote:
>> This commit introduces a new hardware-accelerated video filter,
>> scale_d3d11,
>> which performs scaling and format conversion using Direct3D 11. The
>> filt
e_d3d11.c
@@ -0,0 +1,480 @@
+/*
+ * Copyright (C) 2025 MulticorewWare, Inc.
+ *
+ * Authors: Dash Santosh
+ * Sachin
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as publis
Adds D3D11 input surface support to the MediaFoundation encoder (mfenc),
allowing direct encoding of GPU frames without readback to system memory.
This improves performance and compatibility when used alongside scale_d3d11.
---
Changelog | 1 +
libavcodec/mf_utils.h | 7 ++
libavco
Any thoughts on this?
From: Dash Santosh
Sent: 30 December 2024 12:48
To: FFmpeg development discussions and patches
Cc: Santhoshini Sekar ; Sachin Prakash Kumar
Subject: Help Needed - D3D11 Scaling Filter
Hi,
I'm trying to implement a scaling f
Any thoughts on this?
___
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".
-inc/>
<https://twitter.com/MulticoreWare>
<https://www.facebook.com/multicoreware>
<https://www.youtube.com/channel/UCXZ1A1MzS5JwBqwBkNfsBBw?sub_confirmation=1>
<https://www.instagram.com/multicoreware.inc/>
*Dash Santosh*
*Research Engineer, Video Engineering*
Mobil
Sending patch as attachment since the inline patch fails to apply
Thanks,
Dash
v3-0001-avcodec-mfenc-add-support-for-AV1-MF-encoders.patch
Description: Binary data
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinf
>From 83e8cfa99bcb13965421fb32c1feb4c792649c22 Mon Sep 17 00:00:00 2001
From: Min Chen
Date: Fri, 4 Oct 2024 23:04:04 +0530
Subject: [PATCH] avcodec/mfenc: add support for AV1 MF encoders
X-Unsent: 1
To: ffmpeg-devel@ffmpeg.org
Signed-off-by: Dash Santosh
---
configure
Sure, thanks
On Wed, 9 Oct, 2024, 12:29 Martin Storsjö, wrote:
> On Mon, 7 Oct 2024, Dash Santosh wrote:
>
> > Thanks for pointing this out, Martin. Please find the updated patch
> below:
> >
> > From 83e8cfa99bcb13965421fb32c1feb4c792649c22 Mon Sep 17 00:00:00 2001
&
vel@ffmpeg.org
Signed-off-by: Dash Santosh
---
configure | 1 +
libavcodec/allcodecs.c | 1 +
libavcodec/mf_utils.c | 2 ++
libavcodec/mf_utils.h | 1 +
libavcodec/mfenc.c | 1 +
5 files changed, 6 insertions(+)
diff --git a/configure b/configure
index 0247ea08d6..63bc53cc27 100
>From 77c708805c52302861650cf770f6c32a33590e90 Mon Sep 17 00:00:00 2001
From: Min Chen
Date: Fri, 4 Oct 2024 23:04:04 +0530
Subject: [PATCH] avcodec/mfenc: add support for AV1 MF encoders
X-Unsent: 1
To: ffmpeg-devel@ffmpeg.org
Signed-off-by: Dash Santosh
---
configure
23 matches
Mail list logo