per"
-mxpeg_decoder_select="mjpeg_decoder"
+mxpeg_decoder_select="hpeldsp mjpeg_decoder"
nellymoser_decoder_select="sinewin"
nellymoser_encoder_select="audio_frame_queue sinewin"
notchlc_decoder_select="lzf"
--
2.49.1
___
Romain Beauxis via ffmpeg-devel writes:
> I understand the benefit of using higher order APIs borrowed from C++ but,
> to fully make your case I think it'd be important to know: is it possible
> to use STL and avoid linking with libstc++?
I'm new to the list, so forgive me f
-case 32:
-if (elements == 1) {
-av_image_copy_plane(ptr[0], p->linesize[0],
- buf, stride,
-elements * avctx->width * 4, avctx->height);
-} else {
-for (y = 0; y < avctx->height; y++) {
-ptr[0] = p->data[0] + y * p->linesize[0];
-ptr[1] = p->data[1] + y * p->linesize[1];
-ptr[2] = p->data[2] + y * p->linesize[2];
-ptr[3] = p->data[3] + y * p->linesize[3];
-for (x = 0; x < avctx->width; x++) {
-AV_WN32(ptr[2], AV_RN32(buf));
-AV_WN32(ptr[0], AV_RN32(buf + 4));
-AV_WN32(ptr[1], AV_RN32(buf + 8));
-if (avctx->pix_fmt == AV_PIX_FMT_GBRAPF32BE ||
-avctx->pix_fmt == AV_PIX_FMT_GBRAPF32LE) {
-AV_WN32(ptr[3], AV_RN32(buf + 12));
-buf += 4;
-ptr[3] += 4;
-}
-
-buf += 12;
-ptr[2] += 4;
-ptr[0] += 4;
-ptr[1] += 4;
-}
-}
-}
-break;
-case 16:
-elements *= 2;
-case 8:
-if ( avctx->pix_fmt == AV_PIX_FMT_YUVA444P
-|| avctx->pix_fmt == AV_PIX_FMT_YUV444P) {
-for (x = 0; x < avctx->height; x++) {
-ptr[0] = p->data[0] + x * p->linesize[0];
-ptr[1] = p->data[1] + x * p->linesize[1];
-ptr[2] = p->data[2] + x * p->linesize[2];
-ptr[3] = p->data[3] + x * p->linesize[3];
-for (y = 0; y < avctx->width; y++) {
-*ptr[1]++ = *buf++;
-*ptr[0]++ = *buf++;
-*ptr[2]++ = *buf++;
-if (avctx->pix_fmt == AV_PIX_FMT_YUVA444P)
-*ptr[3]++ = *buf++;
-}
-}
-} else {
-av_image_copy_plane(ptr[0], p->linesize[0],
-buf, stride,
-elements * avctx->width, avctx->height);
-}
-break;
-}
+read_frame_data(avctx, p, buf);
*got_frame = 1;
diff --git a/libavcodec/dpx.h b/libavcodec/dpx.h
index 701208e09d..e92a9a6f4c 100644
--- a/libavcodec/dpx.h
+++ b/libavcodec/dpx.h
@@ -58,6 +58,11 @@ enum DPX_COL_SPEC {
typedef struct DPXContext {
enum AVPixelFormat pix_fmt;
+int unpadded_10bit;
+int need_align;
+int encoding;
+int packing;
+int stride;
int big_endian;
int bits_per_component;
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
];
n += rn + 1;
@@ -229,6 +240,8 @@ static int decode_comp(AVCodecContext *avctx, TileContext
*tile,
break;
ac = get_value(&gb, ac_codebook);
+if (ac < 0)
+break;
sign = -get_bits1(&gb);
idx = scan[n >> log2_nb_blocks]
c->fps;
int drop = tc->flags & AV_TIMECODE_FLAG_DROPFRAME;
int hh, mm, ss, ff, ff_len, neg = 0;
int64_t framenum = framenum_arg;
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
1];
if (base + 4 <= pkt->size) {
uint32_t v = AV_RB32(pkt->data + base);
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
q,
is->continue_read_thread)) < 0)
goto fail;
if (is->ic->iformat->flags & AVFMT_NOTIMESTAMPS) {
@@ -2776,6 +2802,11 @@ static int stream_component_open(VideoState *is, int
stream_index)
is->video_stream = stream_index;
is->video_st = ic->str
if ((s->avctx->skip_frame >= AVDISCARD_BIDIR && s->sh.slice_type ==
HEVC_SLICE_B) ||
(s->avctx->skip_frame >= AVDISCARD_NONINTRA && s->sh.slice_type !=
HEVC_SLICE_I) ||
--
2.49.1
_______
ffmpeg-devel mailing list --
s:title=Second Stream
+Stream ID: 0, packet PTS: 1451, packet DTS: 1451
+Stream ID: 0, frame PTS: 1451, metadata: N/A
+Stream ID: 0, packet PTS: 2027, packet DTS: 2027
+Stream ID: 0, frame PTS: 2027, metadata: N/A
--
2.49.1
_______
ffmpeg-devel mailing list
= "readonly",
+.buf_content = "MbParams mb_params",
+.buf_elems = max_num_mbs,
+ },
{
.name = "dst",
.type = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE,
@@ -500,7 +569,7 @@ static int vk_decode_prores_init(AVCodecContext *avctx)
},
};
RET(init_shader(avctx, &ctx->s, &ctx->exec_pool, spv, &shaders->idct,
-"prores_dec_idct", "main", desc_set, 1,
+"prores_dec_idct", "main", desc_set, 2,
ff_source_prores_idct_comp, 0x200201, i));
}
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
imebase_q,
avf_time_base_q);
}
@@ -1249,8 +1285,7 @@ static int avf_read_packet(AVFormatContext *s, AVPacket
*pkt)
}
}
-CFRelease(ctx->current_audio_frame);
-ctx->current_audio_frame = nil;
+pop_frame(&ctx->audio_f
for (i = 1; i < FFMIN(width, 16); i++) { /* scalar loop (DSP need
align 16) */
B= bsrc[i - stride2];
bsrc[i] += mid_pred(A, B, (uint8_t)(A + B - C));
--
2.49.1
___
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.
uot;",
+ hh, mm, ss, drop ? ';' : ':', ff_len, ff);
+av_assert0(len >= 0 && len < sizeof(buf));
return buf;
}
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
, 10 + 1 + 12);
avio_write(pb, "CHAPTER", 7);
avio_write(pb, chapter_number, 3);
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
(CONFIG_RTPDEC && i == 0 && rt->server_type == RTSP_SERVER_REAL) {
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Thanks for reviewing and applying the patch. Apologies for the incorrect
commit message , I appreciate you correcting it. Thanks again
On Fri, 7 Nov 2025 at 22:14, Michael Niedermayer via ffmpeg-devel <
[email protected]> wrote:
> Hi Reaxx
>
> On Fri, Nov 07, 2025 at 0
Hi Michael,
Yes, the commit message LGTM , Thank you for the detailed explanation and
for taking the time to review this thoroughly. I appreciate your patience.
On Fri, 7 Nov 2025 at 22:39, Michael Niedermayer via ffmpeg-devel <
[email protected]> wrote:
> Hi
>
> On Fri,
nne
Date: Wed, 5 Nov 2025 15:29:57 +0100
Subject: [PATCH 7/7] vulkan: allow arrays of buffers
Could be useful.
---
libavutil/vulkan.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c
index 5e23d78e1f..3633cb5516 100644
--- a/libavutil
_INT, { .i64 = AVCOL_PRI_UNSPECIFIED },
- AVCOL_PRI_RESERVED0, AVCOL_PRI_NB - 1, FLAGS, .unit = "prm" },
+ AVCOL_PRI_RESERVED0, AVCOL_PRI_EXT_NB - 1, FLAGS, .unit = "prm" },
{ "itrc", "Input transfer characteristics",
OFFSET(user_itrc), AV_OPT_TYPE_INT, { .i64 = AVCOL_TRC_UNSPECIFIED },
- AVCOL_TRC_RESERVED0, AVCOL_TRC_NB - 1, FLAGS, .unit = "trc" },
+ AVCOL_TRC_RESERVED0, AVCOL_TRC_EXT_NB - 1, FLAGS, .unit = "trc" },
{ NULL }
};
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
-qp.patch
Description: Binary data
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
dstStride2);
+unscaled_end:
if (scale_dst)
dst2[0] += dstSliceY * dstStride2[0];
} else {
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
int(SwsPixelType type) av_const;
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
*.c David Conrad, Romain Beauxis
oma.c Maxim Poliakovski
pp_bnk.c Zane van Iperen
psxstr.c Mike Melanson
--
2.49.1
___
ffmpeg-devel mail
t;size);
} else {
--
2.34.1
___________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
->size);
} else {
--
2.49.1
___________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
---
发件人:Rémi Denis-Courmont via ffmpeg-devel
发送时间:2025年11月14日(周五) 22:22
收件人:FFmpeg development discussions and patches
抄 送:"[email protected]"; "Rémi
Denis-Courmont"
主 题:[FFmpeg-devel] Re: [Question]Inquiry Regarding RISC-V RVV Optimization for
HEVC Decoding i
avpriv_new_chapter(s, chapters[j].uid,
+(AVRational) { 1, 10 },
+chapters[j].start, chapters[j].end,
+chapters[j].title);
+max_start = chapters[j].start;
+
On 2025-10-13 19:40, Michael Niedermayer via ffmpeg-devel wrote:
Hi Everyone
As we are now looking for sponsors, we also should look for tasks to
fund.
as i suggested on irc, a j2k vulkan decoder. since a lot of archivists
are still stuck with j2k.
also would be good to decode (maybe in
tlidstr[id]);
+av_log(avctx, AV_LOG_DEBUG, " %*s%d\n", width, buf, *ptr);
+
return 0;
}
#endif
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
t)
+return AVERROR_EOF;
return AVERROR(EIO);
/* Update the size */
--
2.49.1
___________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
ast->codecpar->block_align = 36 * packet->channels;
+ast->codecpar->block_align = XMV_BLOCK_ALIGN_SIZE *
packet->channels;
avpriv_set_pts_info(ast, 32, packet->block_samples,
packet->sample_rate);
--
2.49.1
__________
me_ctx_alloc failed\n");
+}
} else {
ret = av_hwdevice_ctx_create_derived(&ctx->device_ctx_ref,
AV_HWDEVICE_TYPE_AMF, avctx->hw_device_ctx, 0);
AMF_GOTO_FAIL_IF_FALSE(avctx, ret == 0, ret, "Failed to create
derived AMF device context: %s\n",
if (clm) {
-clm->MaxCLL = cll->max_cll;
-clm->MaxFALL = cll->max_fall;
+ clm->MaxCLL = av_be2ne16(cll->max_cll);
+clm->MaxFALL = av_be2ne16(cll->max_fall);
}
}
break;
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
880, 0x0184436f
+0, 2, 2,1, 314880, 0x7e3f2776
+0, 3, 3,1, 314880, 0x0dc5e915
+0, 4, 4,1, 314880, 0xcf9c76ef
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
On 2025-11-12 16:04, Michael Niedermayer via ffmpeg-devel wrote:
This was suggested to me.
Allowing only donations to a 501(c)(3) restricts both donators as well
as developers
This style of donation page has worked well for other projects.
I agree we have had issues with limited scope of
On 2025-11-11 15:15, Michael Niedermayer via ffmpeg-devel wrote:
Hello everyone
We have been contacted by Microsoft.
Whats your oppinion about putting one or both the current community
builds, that we link
to, on the Microsoft store?
its better for people to get ffmpeg direct from
On 2025-11-08 00:34, Thomas Dullien via ffmpeg-devel wrote:
What's the best way to submit these patches? There is the bug tracker,
there is this
mailing list - what's the best way to contribute them?
Cheers,
Thomas
the best way is whatever you prefer.
https://code.ffmpeg.org/FFm
On 2025-10-13 01:32, Nicolas George via ffmpeg-devel wrote:
Hi. I just went to the new archive for this mailing-list.
Is it just me or does it suck?
mailman 3 is open source. send them some patches to make it better :)
-compn
___
ffmpeg-devel
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
16] = {
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
) <
0) {
avctx->extradata_size = 0;
goto fail;
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
g1, r1, rgb1_l, rgb1_h);
RGB32_STORE_RES(rgb1_l, rgb1_h, image1, image2);
+DEALYUV2RGBLINERES32
+YUV2RGB_RES
+RGB32_PACK(a, b1, g1, r1, rgb1_l, rgb1_h);
+ENDYUV2RGBLINE32(rgb1_l, rgb1_h, image1, image2);
END_FUNC()
--
2.49.1
_______
2, 2,1, 186, 0x770d5061, F=0x0
0, 3, 3,1, 208, 0x55784c8f, F=0x0
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
_VERSION_MAJOR < 61)
#define FF_API_OPT_PTR (LIBAVUTIL_VERSION_MAJOR < 61)
+#define FF_API_CPU_FLAG_FORCE (LIBAVUTIL_VERSION_MAJOR < 61)
/**
* @}
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
PR #20909 opened by mkver
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20909
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20909.patch
>From 92fe3d96e6f9a3b169a3edcdb48ecdc543ba862e Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt
Date: Sun, 9 Nov 2025 17:06:46 +0100
Subject: [PATC
gt; 1) && (hwctx->format[0] == fmt->vkf))
hwctx->img_flags |= VK_IMAGE_CREATE_EXTENDED_USAGE_BIT;
}
}
A possible solution would be to modify the logic to differentiate between an
intentionally set 0 and an uninitialized state.
--
Secured with Tuta Mail:
On 2025-11-13 06:50, Timo Rothenpieler via ffmpeg-devel wrote:
On 13/11/2025 04:06, Michael Niedermayer via ffmpeg-devel wrote:
Hi Kieran
On Wed, Nov 12, 2025 at 12:09:00AM -0800, Kieran Kunhya via
ffmpeg-devel wrote:
On Mon, 10 Nov 2025, 19:00 Michael Niedermayer via ffmpeg-devel, <
ffm
understand it
better)
Any help on this would be much appreciated
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
being good at writing it. And if I may ask, what exactly are the
current drawbacks of the current C implementation?
Thank you for taking your time to answer my questions.
On Thu, Nov 13, 2025 at 11:13 PM Frank Plowman via ffmpeg-devel
wrote:
>
> On 13/11/2025 16:46, Sidd via ffmpeg-devel
Ok I misunderstood about the decoder part.
Sorry I am new to mailing lists am not sure what top-posting means, if
I have not abided by any rules I do apologize and will refrain from
doing so
On Thu, Nov 13, 2025 at 11:40 PM Frank Plowman via ffmpeg-devel
wrote:
>
> On 13/11/2025 17:56, Si
.u.map && (s->ch_layout.order == AV_CHANNEL_ORDER_CUSTOM))
{
-av_freep(&s->ch_layout.u.map);
-}
+
+av_channel_layout_uninit(&s->ch_layout);
av_freep(&s->channels);
av_freep(&s->buffers);
av_freep(&s->input_frames);
--
2.49.1
___
s_interlaced_scan, idct_permutation);
+ff_permute_scantable(s->scan, ff_prores_interlaced_scan,
s->prodsp.idct_permutation);
return 0;
}
--
2.49.1
___________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
ter alignment than the known stack alignment is required
%assign stack_offset 0 ; stack pointer offset relative to the return
address
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
100644
--- a/libavutil/hwcontext_amf.h
+++ b/libavutil/hwcontext_amf.h
@@ -26,7 +26,6 @@
#include
#include
#include
-#include "thread.h"
/**
* This struct is allocated as AVHWDeviceContext.hwctx
@@ -39,7 +38,6 @@ typedef struct AVAMFDeviceContext {
int64_t
p_keepidle > 0 ?
(DWORD)s->tcp_keepidle * 1000 : 720);
+vals.keepaliveinterval = (DWORD)(s->tcp_keepintvl > 0 ?
(DWORD)s->tcp_keepintvl * 1000 : 1000);
+/* WSAIoctl returns SOCKET_ERROR on failure */
+if (WSAIoctl((SOCKET)fd, SIO_KEEPALIVE_VALS, &vals, sizeof(vals),
+ NULL, 0, &bytes, NULL, NULL) == SOCKET_ERROR) {
+ff_log_net_error(ctx, AV_LOG_WARNING,
"WSAIoctl(SIO_KEEPALIVE_VALS)");
+}
+}
+#endif /* HAVE_WINSOCK2_H */
+
}
#if !HAVE_WINSOCK2_H
--
2.34.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
ch64_sme_length());
#elif ARCH_RISCV && HAVE_RVV
if (cpu_flags_raw & AV_CPU_FLAG_RVV_I32) {
size_t bytes = ff_get_rv_vlenb();
diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c
index 20d8f19757..ae3756d5d0 100644
--- a/tests/checkasm/checkasm.c
+++ b/tests/checkasm/checkasm.c
@@ -351,6 +351,7 @@ static const struct {
{ "I8MM", "i8mm", AV_CPU_FLAG_I8MM },
{ "SVE", "sve", AV_CPU_FLAG_SVE },
{ "SVE2", "sve2", AV_CPU_FLAG_SVE2 },
+{ "SME", "sme", AV_CPU_FLAG_SME },
#elif ARCH_ARM
{ "ARMV5TE", "armv5te", AV_CPU_FLAG_ARMV5TE },
{ "ARMV6","armv6",AV_CPU_FLAG_ARMV6 },
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
p_keepidle > 0 ?
(DWORD)s->tcp_keepidle * 1000 : 720);
+vals.keepaliveinterval = (DWORD)(s->tcp_keepintvl > 0 ?
(DWORD)s->tcp_keepintvl * 1000 : 1000);
+/* WSAIoctl returns SOCKET_ERROR on failure */
+if (WSAIoctl((SOCKET)fd, SIO_KEEPALIVE_VALS, &vals, sizeof(vals),
+ NULL, 0, &bytes, NULL, NULL) == SOCKET_ERROR) {
+ff_log_net_error(ctx, AV_LOG_WARNING,
"WSAIoctl(SIO_KEEPALIVE_VALS)");
+}
+}
+#endif /* HAVE_WINSOCK2_H */
+
}
#if !HAVE_WINSOCK2_H
--
2.34.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Dear FFmpeg developers,
Currently, when fragmenting HEVC NAL units for RTP transmission, the code
forces the Temporal ID (TID) field to 1 in the FU payload header, regardless
of the original TID value in the NAL unit header. This violates RFC 7798
section 4.4.3 which states that "the fields F, La
#undef infer
#undef byte_alignment
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
o
X86ASM-OBJS-$(CONFIG_PSNR_FILTER)+= x86/vf_psnr.o
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
;
+
+if (!h->is_streamed && (flags & AVIO_FLAG_READ))
+h->min_packet_size = h->max_packet_size = c->pkt_size ? c->pkt_size :
32768;
if (c->seekable >= 0)
h->is_streamed = !c->seekable;
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
d and the usual
practice here.
PS: Sorry for double mailing my patch. I was not aware that opening a
PR would do the same.
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
-s->neg_odd_64 = ff_sbr_neg_odd_64_sse;
- s->sum_square = ff_sbr_sum_square_sse;
-s->sum64x5= ff_sbr_sum64x5_sse;
-s->hf_g_filt = ff_sbr_hf_g_filt_sse;
-s->hf_gen = ff_sbr_hf_gen_sse;
-s->qmf_post_shuffle = ff_sbr_qmf_post_shuffle_sse;
-s->qmf_deint_neg= ff_sbr_qmf_deint_neg_sse;
-s->autocorrelate= ff_sbr_autocorrelate_sse;
+s->neg_odd_64[0] = ff_sbr_neg_odd_64_sse;
+s->sum_square = ff_sbr_sum_square_sse;
+s->sum64x5[0] = ff_sbr_sum64x5_sse;
+s->hf_g_filt = ff_sbr_hf_g_filt_sse;
+s->hf_gen = ff_sbr_hf_gen_sse;
+s->qmf_post_shuffle[0] = ff_sbr_qmf_post_shuffle_sse;
+s->qmf_deint_neg[0]= ff_sbr_qmf_deint_neg_sse;
+s->autocorrelate = ff_sbr_autocorrelate_sse;
}
if (EXTERNAL_SSE2(cpu_flags)) {
-s->qmf_deint_bfly = ff_sbr_qmf_deint_bfly_sse2;
-s->qmf_pre_shuffle = ff_sbr_qmf_pre_shuffle_sse2;
-s->hf_apply_noise[0] = ff_sbr_hf_apply_noise_0_sse2;
-s->hf_apply_noise[1] = ff_sbr_hf_apply_noise_1_sse2;
-s->hf_apply_noise[2] = ff_sbr_hf_apply_noise_2_sse2;
-s->hf_apply_noise[3] = ff_sbr_hf_apply_noise_3_sse2;
+s->qmf_deint_bfly[0] = ff_sbr_qmf_deint_bfly_sse2;
+s->qmf_pre_shuffle[0] = ff_sbr_qmf_pre_shuffle_sse2;
+s->hf_apply_noise[0] = ff_sbr_hf_apply_noise_0_sse2;
+s->hf_apply_noise[1] = ff_sbr_hf_apply_noise_1_sse2;
+s->hf_apply_noise[2] = ff_sbr_hf_apply_noise_2_sse2;
+s->hf_apply_noise[3] = ff_sbr_hf_apply_noise_3_sse2;
}
if (EXTERNAL_SSE3(cpu_flags)) {
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
On 2025-11-16 07:59, Michael Niedermayer via ffmpeg-devel wrote:
On Sun, Nov 16, 2025 at 04:12:00PM +0100, Michael Niedermayer via
ffmpeg-devel wrote:
On Sun, Nov 16, 2025 at 01:56:49PM +, Kieran Kunhya via
ffmpeg-devel wrote:
> On Sun, 16 Nov 2025, 05:04 Michael Niedermayer via ffm
PR #20936 opened by Lynne
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20936
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20936.patch
This commit implements support for decoding of MPEG Surround data
(USAC-flavoured).
I'm raising funds and resources to build a rocket capable of str
c->frag_index.complete = 1;
+if (offset == 0)
+c->frag_index.complete = 1;
}
return 0;
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
t;size);
} else {
--
2.34.1
___________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
ics_sse2 emmintrin.h "__m128i test = _mm_setzero_si128()"
check_ldflags -Wl,--as-needed
check_ldflags -Wl,-z,noexecstack
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
ot;paddusw %%xmm6, %%xmm0 \n\t" // ABS(block[i]) +
bias[0]
"movdqa (%2, %%"FF_REG_a"), %%xmm5 \n\t" // qmat[i]
"pmulhw %%xmm5, %%xmm0 \n\t" //
(ABS(block[i])*qmat[0] + bias[0]*qmat[0])>>16
"por %%xmm0, %%xmm4 \n\t"
RESTORE_SIGN("%%xmm1", "%%xmm0") //
out=((ABS(block[i])*qmat[0] - bias[0]*qmat[0])>>16)*sign(block[i])
-"movdqa %%xmm0, (%5, %%"FF_REG_a") \n\t"
+"movdqa %%xmm0, (%4, %0) \n\t"
"pcmpeqw %%xmm2, %%xmm0 \n\t" // out==0 ? 0xFF : 0x00
-"movdqa (%4, %%"FF_REG_a"), %%xmm1 \n\t"
+"movdqa (%3, %0), %%xmm1 \n\t"
"movdqa %%xmm2, (%1, %%"FF_REG_a") \n\t" // 0
"pandn %%xmm1, %%xmm0 \n\t"
"pmaxsw %%xmm0, %%xmm3 \n\t"
@@ -177,7 +174,7 @@ static int RENAME(dct_quantize)(MPVEncContext *const s,
"movd %%xmm3, %%"FF_REG_a" \n\t"
"movzbl %%al, %%eax \n\t" // last_non_zero_p1
: "+a" (last_non_zero_p1)
-: "r" (block+64), "r" (qmat+64), "r" (bias+64),
+: "r" (block+64), "r" (qmat+64),
"r" (inv_zigzag_direct16 + 64), "r" (temp_block + 64)
XMM_CLOBBERS_ONLY("%xmm0", "%xmm1", "%xmm2", "%xmm3",
"%xmm4", "%xmm5", "%xmm6")
--
2.49.1
>From 8ae2428ebedca7f191846e5fde2442069d15e8b1 Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt
Date: Sun, 16 Nov 2025 12:10:22 +0100
Subject: [PATCH 9/9] avutil/x86/asm: Remove wrong comment, rename FF_REG_sp
Before FFmpeg commit 531b0a316b24f00965cd8a88efdbea2c6d63147f,
FFmpeg used REG_SP as macro for the stack pointer, yet this
clashed with a REG_SP define in Solaris system headers, so it
was changed to REG_sp and a comment was added for this.
Libav fixed it by adding an FF_ prefix to the macros in
1e9c5bf4c136fe9e010cc8a7e7270bba0d1bf45e. FFmpeg switched
to using these prefixes in 9eb3da2f9942cf1b1148d242bccfc383f666feb6,
using FF_REG_sp instead of Libav's FF_REG_SP. In said commit
the comment was changed to claim that Solaris system headers
define FF_REG_SP, but this is (most likely) wrong.
This commit removes the wrong comment and renames the (actually unused)
macro to FF_REG_SP to make it consistent with FF_REG_BP.
Signed-off-by: Andreas Rheinhardt
---
libavutil/x86/asm.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/libavutil/x86/asm.h b/libavutil/x86/asm.h
index 9bff42d628..f06ea25035 100644
--- a/libavutil/x86/asm.h
+++ b/libavutil/x86/asm.h
@@ -38,8 +38,7 @@ typedef struct ymm_reg { uint64_t a, b, c, d; } ymm_reg;
#define FF_PTR_SIZE "8"
typedef int64_t x86_reg;
-/* FF_REG_SP is defined in Solaris sys headers, so use FF_REG_sp */
-#define FF_REG_sp "rsp"
+#define FF_REG_SP "rsp"
#define FF_REG_BP "rbp"
#define FF_REGBP rbp
#define FF_REGarax
@@ -60,7 +59,7 @@ typedef int64_t x86_reg;
#define FF_PTR_SIZE "4"
typedef int32_t x86_reg;
-#define FF_REG_sp "esp"
+#define FF_REG_SP "esp"
#define FF_REG_BP "ebp"
#define FF_REGBP ebp
#define FF_REGaeax
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
ize) * sizeof(float));
for (int i = 0; i < window_size; i++)
buf[i] += fft_out[i].re * window_lut[i] * f;
}
--
2.49.1
_______________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
for (int i = 0; i < window_size; i++)
> buf[i] += fft_out[i].re * window_lut[i] * f;
> }
> --
> 2.51.0
>
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
dc_val);
+pred = msmpeg4v1_pred_dc(h, n, &dc_val);
level += pred;
/* update predictor */
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c
index b4545f7624..1958f36c98 100644
--- a/libavcodec/rv10.c
+++ b/libavcodec/rv10.c
@@ -129,11 +129,11 @@ static int rv10_
oat));
for (int i = 0; i < window_size; i++)
buf[i] += fft_out[i].re * window_lut[i] * f;
}
--
2.51.0
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
move(buf, buf + s->hop_size, window_size * sizeof(float));
> +memmove(buf, buf + hop_size, (window_size - hop_size) *
> sizeof(float));
> for (int i = 0; i < window_size; i++)
> buf[i] += fft_out[i].re * window_lut[i] * f;
> }
> --
> 2.51.0
>
->put_no_rnd_pixels_tab[1][3] = ff_put_no_rnd_pixels8_xy2_8_lasx;
+c->put_no_rnd_pixels_tab[1][1] = put_no_rnd_pix8_x2_8_lasx_wrap;
+c->put_no_rnd_pixels_tab[1][2] = put_no_rnd_pix8_y2_8_lasx_wrap;
+c->put_no_rnd_pixels_tab[1][3] = put_no_rnd_pix8_xy2_8_lasx_wrap
ert.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_videotoolbox.h"
+#include "libavutil/internal.h"
#include "libavutil/objc.h"
#include
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
On 26/11/2025 17:10, Lynne via ffmpeg-devel wrote:
I'd like to request a travel refund for my recent attendance of VDD
2025, where I met up with developers and discussed the project.
===
Eurostar ticket: 208.50 GBP
Train ticket: 5.00 EUR
UK ETA application fee: 19.59 EUR
===
ro
%macro DEQUANT_STORE 1
DEQUANT %1
-STORE_WORDS m0, 0, 1, 4, 5, 2, 3, 6, 7
-STORE_WORDS m2, 8, 9, 12, 13, 10, 11, 14, 15
+STORE_WORDS m0, m1, 0, 1, 4, 5, 2, 3, 6, 7
+STORE_WORDS m2, m3, 8, 9, 12, 13, 10, 11, 14, 15
%endmacro
INIT_XMM sse2
--
2.49
I'd like to request a travel refund for my recent attendance of VDD
2025, where I met up with developers and discussed the project.
===
Eurostar ticket: 208.50 GBP
Train ticket: 5.00 EUR
UK ETA application fee: 19.59 EUR
===
___
ffmpeg-
2, r3
-add r3, 8
+DIAG4r1, -1, 0, 1, 2, r3, 0
+add r3, 16
add r1, r2
dec r5d
jnz .nextrow
@@ -78,11 +93,11 @@ cglobal vp6_filter_diag4, 5, 6, 8, -8*11
movq m3, [r4]
SPLAT4REGS
-lea r3, [rsp+8]
+lea r3, [rsp+16]
mov r1d, 8
.nextcol:
-DIAG4r3, -8, 0, 8, 16, r0
-add r3, 8
+DIAG4r3, -16, 0, 16, 32, r0, 1
+add r3, 16
add r0, r2
dec r1d
jnz .nextcol
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
ilterPad amf_outputs[] = {
+{
+.name = "default",
+.type = AVMEDIA_TYPE_VIDEO,
+ .request_frame = amf_capture_frame,
+.config_props = amf_config_props,
+},
+};
+
+const FFFilter ff_vsrc_amf_capture = {
+.p.name= "vsrc_amf",
+.p.description = NULL_IF_CONFIG_SMALL("AMD AMF screen capture"),
+.p.priv_class = &amf_capture_class,
+.p.inputs = NULL,
+.p.flags = AVFILTER_FLAG_HWDEVICE,
+.priv_size = sizeof(AMFGrabContext),
+.init = amf_init,
+.uninit= amf_uninit,
+FILTER_OUTPUTS(amf_outputs),
+FILTER_SINGLE_PIXFMT(AV_PIX_FMT_AMF_SURFACE),
+.flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE,
+};
\ No newline at end of file
diff --git a/libavutil/hwcontext_amf.c b/libavutil/hwcontext_amf.c
index c754dc4ee5..57bf08bc65 100644
--- a/libavutil/hwcontext_amf.c
+++ b/libavutil/hwcontext_amf.c
@@ -155,6 +155,7 @@ static const enum AVPixelFormat supported_formats[] = {
AV_PIX_FMT_YUV420P,
AV_PIX_FMT_BGRA,
AV_PIX_FMT_RGBA,
+AV_PIX_FMT_BGR0,
AV_PIX_FMT_P010,
#if CONFIG_D3D11VA
AV_PIX_FMT_D3D11,
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
m1, eax
and eax, 0x
ret
-
-hadamard8_16_wrapper %1, 2*ARCH_X86_32
%endmacro
INIT_XMM sse2
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
37");
return AVERROR_PATCHWELCOME;
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
On 26/11/2025 23:44, Michael Niedermayer via ffmpeg-devel wrote:
Hi all
I plan to branch and make 8.1 in February
and 9.0 in May
I'd like 8.1 in late December, and an 8.2 in late March.
There's been a lot of Vulkan work, and I'd like people to start using
it/testing it soo
0)
+LANCZOS_KERNELS(planar16)
+LANCZOS_KERNELS(semiplanar8)
+LANCZOS_KERNELS(semiplanar10)
+LANCZOS_KERNELS(semiplanar16)
LANCZOS_KERNELS_RGB(rgb0)
LANCZOS_KERNELS_RGB(bgr0)
diff --git a/libavfilter/vf_scale_cuda.h b/libavfilter/vf_scale_cuda.h
index 40d5b9cfac..1fb3498ee8 100644
--- a/libavf
ze) < 0)
+if (buf_size && set_frame_duration(ctx, avctx, buf, buf_size) < 0)
goto fail;
} else {
next = opus_find_frame_end(ctx, avctx, buf, buf_size, &header_len);
--
2.49.1
___________
ffmpeg-devel mailing list -- ffmpeg-
28
+#sar 0: 0/1
+0, 0, 0,1,49152, 0xe0013dee
--
2.49.1
>From a075417d629858aca2ab07b92d6b1bdb3a43bfc4 Mon Sep 17 00:00:00 2001
From: John Chadwick
Date: Wed, 19 Nov 2025 00:17:34 -0500
Subject: [PATCH 3/3] tests/fate/image: Add psd-rgbxx
---
tests/fate/image.m
PR #21000 opened by Lynne
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21000
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21000.patch
The format is raw and uncompressed, however unpacking is a memcpy, and in case
of big 6k or even 12k frames being several hundred megabytes large, th
t;quant_buf.size,
-VK_FORMAT_UNDEFINED));
-}
-}
+for (int i = 0; i < 2; i++) { /* AC/Golomb */
+ RET(ff_vk_shader_update_desc_buffer(&ctx->s,
&ctx->exec_pool.contexts[0],
+&fv->decode[i], 0, 0, 0,
+&fv->rangecoder_static_buf,
+0, fv->rangecoder_static_buf.size,
+VK_FORMAT_UNDEFINED));
+RET(ff_vk_shader_update_desc_buffer(&ctx->s,
&ctx->exec_pool.contexts[0],
+&fv->decode[i], 0, 1, 0,
+&fv->quant_buf,
+0, fv->quant_buf.size,
+VK_FORMAT_UNDEFINED));
}
fail:
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
}
@@ -477,9 +485,6 @@ static int ogg_init(AVFormatContext *s)
OGGStreamContext *oggstream = NULL;
int i, j;
-if (ogg->pref_size)
-av_log(s, AV_LOG_WARNING, "The pagesize option is deprecated\n");
-
for (i = 0; i < s->nb_streams; i++) {
AVS
RROR_R
+#undef ENTRY
+#define ENTRY(CODE, DESC) { .num = AVERROR(CODE), .offset = ERROR_ ## CODE ##
_OFFSET },
+STRERROR_LIST(ENTRY)
#endif
};
int av_strerror(int errnum, char *errbuf, size_t errbuf_size)
{
-int ret = 0, i;
-const struct error_entry *entry = NULL;
-
-for (i = 0; i < FF_ARRAY_ELEMS(error_entries); i++) {
+for (size_t i = 0; i < FF_ARRAY_ELEMS(error_entries); ++i) {
if (errnum == error_entries[i].num) {
-entry = &error_entries[i];
-break;
+av_strlcpy(errbuf, error_stringtable + error_entries[i].offset,
errbuf_size);
+return 0;
}
}
-if (entry) {
-av_strlcpy(errbuf, entry->str, errbuf_size);
-} else {
#if HAVE_STRERROR_R
-ret = AVERROR(strerror_r(AVUNERROR(errnum), errbuf, errbuf_size));
+int ret = AVERROR(strerror_r(AVUNERROR(errnum), errbuf, errbuf_size));
#else
-ret = -1;
+int ret = -1;
#endif
-if (ret < 0)
-snprintf(errbuf, errbuf_size, "Error number %d occurred", errnum);
-}
+if (ret < 0)
+snprintf(errbuf, errbuf_size, "Error number %d occurred", errnum);
return ret;
}
diff --git a/libavutil/tests/error.c b/libavutil/tests/error.c
index b7b253b7b5..774c71fcb9 100644
--- a/libavutil/tests/error.c
+++ b/libavutil/tests/error.c
@@ -18,13 +18,22 @@
#include "libavutil/error.c"
+static const char *const tag_list[] = {
+#define ERROR_TAG(CODE, DESC) #CODE,
+#define ERROR_TAG2(CODE, CODE2, DESC) #CODE,
+AVERROR_LIST(ERROR_TAG, ERROR_TAG2)
+#if !HAVE_STRERROR_R
+STRERROR_LIST(ERROR_TAG)
+#endif
+};
+
int main(void)
{
int i;
for (i = 0; i < FF_ARRAY_ELEMS(error_entries); i++) {
-const struct error_entry *entry = &error_entries[i];
-printf("%d: %s [%s]\n", entry->num, av_err2str(entry->num),
entry->tag);
+const struct ErrorEntry *entry = &error_entries[i];
+printf("%d: %s [%s]\n", entry->num, av_err2str(entry->num),
tag_list[i]);
}
for (i = 0; i < 256; i++) {
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
-break;
-}
-}
-}
+avctx->sample_fmt = avctx->request_sample_fmt == AV_SAMPLE_FMT_FLT ?
+AV_SAMPLE_FMT_FLT : AV_SAMPLE_FMT_FLTP;
avctx->delay = lc3_hr_delay_samples(
liblc3->hr_mode, liblc3->frame_us, li
igure
@@ -6067,7 +6067,7 @@ case $target_os in
win32|win64)
disable symver
LIBPREF=""
- LIBSUF=".lib"
+LIBSUF=".lib"
if enabled shared; then
# Cannot build both shared and static libs with MSVC or icl.
di
@@ case $target_os in
win32|win64)
disable symver
LIBPREF=""
- LIBSUF=".lib"
+LIBSUF=".lib"
if enabled shared; then
# Cannot build both shared and static libs with MSVC or icl.
disable static
--
+ff_progress_frame_unref(&s->last_frame);
+
/* output frame, offset as needed */
if ((ret = av_frame_ref(frame, s->current_frame.f)) < 0)
return ret;
@@ -2804,16 +2788,11 @@ static int vp3_decode_frame(AVCodecContext *avctx,
AVFrame *frame,
*got_frame = 1;
PR #21037 opened by SuperFashi
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21037
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21037.patch
This patch adds an MPEG Media Transport Protocol (MMTP) parser, as defined in
ISO/IEC 23008-1, and an MMT protocol over TLV packets (MMT/TLV) de
lter *fil = ts->pids[pmt_pid];
struct Program *prg;
program = av_new_program(ts->stream, sid);
--
2.45.1.windows.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
PR #21034 opened by Amyspark (amyspark)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21034
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21034.patch
Hi all,
This is a MR following up on
https://code.ffmpeg.org/FFmpeg/ffmpeg/commit/40b56c6536dc6e181da4025b99a1d6d3c047da3c,
which add
;
+ av_fifo_drain2(fifo, 1);
+ frame_data_uninit(&fd);
}
pkt->duration = fd.duration;
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
On 28/11/2025 02:19, Michael Niedermayer via ffmpeg-devel wrote:
Hi Lynne
On Thu, Nov 27, 2025 at 01:28:10PM +0100, Lynne via ffmpeg-devel wrote:
On 27/11/2025 04:01, Michael Niedermayer via ffmpeg-devel wrote:
Hi Lynne
On Thu, Nov 27, 2025 at 03:17:34AM +0100, Lynne via ffmpeg-devel wrote
901 - 1000 of 3565 matches
Mail list logo