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]
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
*.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]
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
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
}
@@ -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]
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]
->svt_handle) {
svt_av1_enc_deinit(svt_enc->svt_handle);
svt_av1_enc_deinit_handle(svt_enc->svt_handle);
@@ -682,6 +733,10 @@ static av_cold int eb_enc_close(AVCodecContext *avctx)
av_freep(&svt_enc->in_buf);
}
+if (param->rc_stats_buffer.buf) {
+
e *inpic)
s->chroma.filter_context);
}
+if (inpic->data[3]) {
+ blur(outpic->data[3], outpic->linesize[3],
+ inpic->data[3], inpic->linesize[3],
+ inlink->w, inlink->h, s->alpha.threshold,
+ s->alpha.filter_context);
+}
+
av_frame_free(&inpic);
return ff_filter_frame(outlink, outpic);
}
--
2.45.1
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
> On May 14, 2024, at 9:28 AM, Lynne via ffmpeg-devel
> wrote:
>
> On 14/05/2024 17:09, Christian Bartnik wrote:
>> From: Thomas Siedel
>> Add external decoder VVdeC for H266/VVC decoding.
>> Register new decoder libvvdec.
>> Add libvvdec to wrap the v
Hi,
On Wed, May 15, 2024 at 11:11 PM Aaron Thompson via ffmpeg-devel
wrote:
>
> The value was being parsed as base 4, so the value "4" was invalid and
> would result in ts_layering_mode being set to 0.
>
> Signed-off-by: Aaron Thompson
> ---
> libavcodec/libvpxen
AAC decoder in ffmpeg but it's still useful to
have FDK-AAC available for decoding when running into edge cases on the native
AAC decoder, or to decode USAC while the new decoder is under development, etc.
- Cosmin
_______________
ffmpeg-devel mailing list
ffmpeg-de
uld produce costs for us.
-Thilo
___________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
r.
That is nothing that 'professionals' should pay out of their budget or
should even be allowed to do as we talk about a presence for the
open-source project, not some company's presence.
-Thilo
_______
ffmpeg-devel mailing list
ff
ugs/trac/ticket6765/Canon-C200-Raw.CRM
These are in the size of GB's.
If someone really needs them, send us a mail according to
http://samples.ffmpeg.org/00-README
-Thilo
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/
On May 18, 2024, at 10:48 PM, Rémi Denis-Courmont wrote:
Le 18 mai 2024 21:55:04 GMT+03:00, Cosmin Stejerean via ffmpeg-devel
mailto:[email protected]> > a écrit :
On May 18, 2024, at 7:04 AM, Nuo Mi mailto:[email protected]> > wrote:
This happened many years ago. See th
Trying again with better formatting, hopefully
> On May 18, 2024, at 10:48 PM, Rémi Denis-Courmont wrote:
>
> Hi,
>
> Le 18 mai 2024 21:55:04 GMT+03:00, Cosmin Stejerean via ffmpeg-devel
> a écrit :
>>
>>
>>> On May 18, 2024, at 7:04 AM, Nuo Mi wrote
> On May 20, 2024, at 11:03 AM, Rémi Denis-Courmont wrote:
>
> Le maanantaina 20. toukokuuta 2024, 19.33.43 EEST Cosmin Stejerean via ffmpeg-
> devel a écrit :
>
>> hwaccel decoding seems somewhat orthogonal
>
> How exactly will that work then? Either vvdec
> On May 20, 2024, at 12:01 PM, Rémi Denis-Courmont wrote:
>
> Le maanantaina 20. toukokuuta 2024, 21.39.18 EEST Cosmin Stejerean via ffmpeg-
> devel a écrit :
>> The same way using FDK-AAC as a decoder works, if you want to use it as the
>> *AAC decoder you have to
> On May 20, 2024, at 1:05 PM, Rémi Denis-Courmont wrote:
>
> Le maanantaina 20. toukokuuta 2024, 22.33.45 EEST Cosmin Stejerean via ffmpeg-
> devel a écrit :
>>> And again, you can't expect users to select decoders manually. If vvdec is
>>> the
>>&
VALIDATE(bl_bit_depth_minus8, 0, 8);
VALIDATE(el_bit_depth_minus8, 0, 8);
--
2.42.1
_______
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg
FFERFLAG_EOS)
svt_enc->eos_flag = EOS_RECEIVED;
+#endif
ff_side_data_set_encoder_stats(pkt, headerPtr->qp * FF_QP2LAMBDA, NULL, 0,
pict_type);
--
2.42.1
_______________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailma
tachments(
> + pixbuf,
> +attachments,
> +kCVAttachmentMode_ShouldPropagate);
> +CFRelease(attachments);
> +
> return 0;
> }
>
>
> base-commit: 463c573e6b6489c588bee90124d5cf92db8ccaaa
> --
> 2.39.3 (Apple Git-145)
>
> On May 20, 2024, at 6:17 PM, Cosmin Stejerean via ffmpeg-devel
> wrote:
>
> From: Cosmin Stejerean
>
> Co-authored-by: Amir Naghdinezhad
> Signed-off-by: Cosmin Stejerean
> ---
> libavcodec/libsvtav1.c | 10 ++
> 1 file changed, 10 insertions(+)
quot;dovi" },
{ "auto", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = FF_DOVI_AUTOMATIC}, .flags
= VE, .unit = "dovi" },
+{ "dv_enable_compression", "Enable Dolby Vision metadata compression",
OFFSET(dovi.enable_compression), AV_OPT_TYPE_BOOL, {.i64 = 0 }, 0, 1, VE },
#endif
{ NULL }
};
--
2.42.1
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
ns = bench_runs;\
> checkasm_set_signal_handler_state(1);\
> -for (ti = 0; ti < BENCH_RUNS; ti++) {\
> +for (ti = 0; ti < truns; ti++) {\
This is comparing int with uint64_t. We should probably just use int
for the sample count too.
___________
ffmpeg-d
> On May 21, 2024, at 3:21 AM, Niklas Haas wrote:
>
> On Tue, 21 May 2024 01:17:32 + Cosmin Stejerean via ffmpeg-devel
> wrote:
>> From: Cosmin Stejerean
>>
>> It looks like the el_bitdepth_minus8 value in the header can also encode
>>
tion...
Thanks,
Thilo
_______
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
uint8_t vdr_bit_depth; /* [8, 16] */
uint8_t spatial_resampling_filter_flag;
uint8_t el_spatial_resampling_filter_flag;
--
2.42.1
_______
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
On 20.05.24 20:51, Rémi Denis-Courmont wrote:
Le sunnuntaina 19. toukokuuta 2024, 14.29.43 EEST Thilo Borgmann via ffmpeg-
devel a écrit :
[...]
* Fund administrative / maintainance work (one example is the mailman
upgrade that is needed>>
with the next OS upgrade on one of our s
> From: Dennis Sädtler via ffmpeg-devel
I wonder what happened here, did I make a mistake when submitting the
original patch to the ML so the actual commit author name/email got
lost?
Should be the same as the signed-off section based on the repo I
submitted it from:
https://github.com/der
> On May 21, 2024, at 11:48 AM, Dennis Sädtler via ffmpeg-devel
> wrote:
>
>> From: Dennis Sädtler via ffmpeg-devel
>
> I wonder what happened here, did I make a mistake when submitting the
> original patch to the ML so the actual commit author name/email got
> lo
> On May 21, 2024, at 11:54 AM, Cosmin Stejerean via ffmpeg-devel
> wrote:
>
>
> However I've found a workaround. By setting my git send-email from to just
> "[email protected] <mailto:[email protected]>" rather than "Cosmin Stejerean
> mailto:
901 - 1000 of 3425 matches
Mail list logo