Re: [FFmpeg-devel] [PATCH v5 1/2] avfilter: add scale_d3d11 filter

2025-07-21 Thread Dash Santosh Sathyanarayanan
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

[FFmpeg-devel] [PATCH v5 2/2] avcodec/mfenc: add support for D3D11 input surfaces

2025-07-20 Thread Dash Santosh Sathyanarayanan
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 ++ libavcod

[FFmpeg-devel] [PATCH v5 1/2] avfilter: add scale_d3d11 filter

2025-07-20 Thread Dash Santosh Sathyanarayanan
Regarding the while loop in hwcontext_d3d11va get_buffer, I understand the concern about introducing an unbounded wait. However, there have been a couple of issues reported in the past that highlight this problem: - https://lists.ffmpeg.org/pipermail/libav-user/2024-March/013469.html - https://l

[FFmpeg-devel] [PATCH v4 1/2] avfilter: add scale_d3d11 filter

2025-07-15 Thread Dash Santosh Sathyanarayanan
> > This part is still not acceptable. You blindly set a flag based on > > what you need, if special flags on the context are needed they should > > be negotiated between the different components, guided by the users > > use-case and input, and not hardcoded based on an arbitrary condition > > of a

[FFmpeg-devel] [PATCH v4 1/2] avfilter: add scale_d3d11 filter

2025-07-15 Thread Dash Santosh Sathyanarayanan
> > This part is still not acceptable. You blindly set a flag based on > > what you need, if special flags on the context are needed they should > > be negotiated between the different components, guided by the users > > use-case and input, and not hardcoded based on an arbitrary condition > > of a

[FFmpeg-devel] [PATCH v4 2/2] avcodec/mfenc: add support for D3D11 input surfaces

2025-07-14 Thread Dash Santosh Sathyanarayanan
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 ++ libavcod

[FFmpeg-devel] [PATCH v3 2/2] avcodec/mfenc: add support for D3D11 input surfaces

2025-07-09 Thread Dash Santosh Sathyanarayanan
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 ++ libavcod

[FFmpeg-devel] [PATCH v3 1/2] avfilter: add scale_d3d11 filter

2025-07-09 Thread Dash Santosh Sathyanarayanan
> This part is still not acceptable. You blindly set a flag based on > what you need, if special flags on the context are needed they should > be negotiated between the different components, guided by the users > use-case and input, and not hardcoded based on an arbitrary condition > of a pixel for

Re: [FFmpeg-devel] [PATCH v2 1/2] avfilter: add scale_d3d11 filter

2025-06-25 Thread Dash Santosh Sathyanarayanan
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.

[FFmpeg-devel] [PATCH v2 2/2] avcodec/mfenc: add support for D3D11 input surfaces

2025-06-25 Thread Dash Santosh Sathyanarayanan
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 ++ libavcod

[FFmpeg-devel] [PATCH v2 1/2] avfilter: add scale_d3d11 filter

2025-06-24 Thread Dash Santosh Sathyanarayanan
This commit introduces a new hardware-accelerated video filter, scale_d3d11, which performs scaling and format conversion using Direct3D 11. The filter enables efficient GPU-based scaling and pixel format conversion (p010 to nv12), reducing CPU overhead and latency in video pipelines. > +

Re: [FFmpeg-devel] [PATCH 1/2] avfilter: add scale_d3d11 filter

2025-05-30 Thread Dash Santosh Sathyanarayanan
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

Re: [FFmpeg-devel] [PATCH 1/2] avfilter: add scale_d3d11 filter

2025-05-22 Thread Dash Santosh Sathyanarayanan
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

[FFmpeg-devel] [PATCH 1/2] avfilter: add scale_d3d11 filter

2025-05-22 Thread Dash Santosh Sathyanarayanan
This commit introduces a new hardware-accelerated video filter, scale_d3d11, which performs scaling and format conversion using Direct3D 11. The filter enables efficient GPU-based scaling and pixel format conversion (p010 to nv12), reducing CPU overhead and latency in video pipelines. --- Changel

[FFmpeg-devel] [PATCH 2/2] avcodec/mfenc: add support for D3D11 input surfaces

2025-05-22 Thread Dash Santosh Sathyanarayanan
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

Re: [FFmpeg-devel] Help Needed - D3D11 Scaling Filter

2025-01-01 Thread Dash Santosh Sathyanarayanan
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 filter (vf_scal

Re: [FFmpeg-devel] Help Needed - D3D11 Scaling Filter

2025-01-01 Thread Dash Santosh Sathyanarayanan
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".