[FFmpeg-devel] [PATCH] configure: Add mxpeg->hpeldsp dependency (PR #20741)

2025-10-23 Thread mkver via ffmpeg-devel
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 ___

[FFmpeg-devel] Re: [RFC] C++

2025-10-21 Thread InnocentZero via ffmpeg-devel
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

[FFmpeg-devel] [PATCH] Hardware resizing fixes, DPX decoder cleanups (PR #20854)

2025-11-06 Thread Lynne via ffmpeg-devel
-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]

[FFmpeg-devel] [PATCH] avcodec/prores_raw: Check get_value() return code (PR #20855)

2025-11-06 Thread michaelni via ffmpeg-devel
]; 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]

[FFmpeg-devel] [PATCH] avutil/timecode: Fix -Wformat-truncation warning (PR #20860)

2025-11-07 Thread mkver via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] Avoid av_unused (PR #20866)

2025-11-08 Thread mkver via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] ffplay: print new metadata (PR #20867)

2025-11-08 Thread toots via ffmpeg-devel
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

[FFmpeg-devel] [PATCH] lavc/hevc: Fix usage of slice segment in invalid state (PR #20869)

2025-11-08 Thread frankplow via ffmpeg-devel
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 --

[FFmpeg-devel] [PATCH] Don't reset last{pts,dts} on new sequentialized ogg streams. (PR #20868)

2025-11-08 Thread toots via ffmpeg-devel
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

[FFmpeg-devel] [PATCH] vulkan/prores: forward quantization parameter to the IDCT shader (PR #20870)

2025-11-08 Thread averne via ffmpeg-devel
= "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]

[FFmpeg-devel] [PATCH] avfoundation: buffer multiple audio frames to prevent sample overwrite (PR #20871)

2025-11-08 Thread drobinator via ffmpeg-devel
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

[FFmpeg-devel] [PATCH] avcodec/utvideodec: Set B for the width= 1 case in restore_median_planar_il() (PR #20872)

2025-11-08 Thread michaelni via ffmpeg-devel
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.

[FFmpeg-devel] [PATCH] libavutil/timecodec: fix potential snprintf truncation in av_timecode_make_string (PR #20859)

2025-11-07 Thread caifan via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] libavformat/vorbiscomment: fix potential buffer truncation (PR #20858)

2025-11-07 Thread caifan via ffmpeg-devel
, 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]

[FFmpeg-devel] [PATCH] libavformat/rtsp: fix potential buffer truncation in ff_rtsp_make_setup_request (PR #20857)

2025-11-07 Thread caifan via ffmpeg-devel
(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]

[FFmpeg-devel] Re: [PATCH] avcodec/rv60dec: add upper bound check for qp

2025-11-07 Thread Reaxx via ffmpeg-devel
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

[FFmpeg-devel] Re: [PATCH] avcodec/rv60dec: add upper bound check for qp

2025-11-07 Thread Reaxx via ffmpeg-devel
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,

[FFmpeg-devel] [PATCH] vulkan: hardware decoding fixes and improvements (PR #20862)

2025-11-08 Thread Lynne via ffmpeg-devel
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

[FFmpeg-devel] [PATCH] Small fixes for the extended color primaries and transfer functions (PR #20863)

2025-11-08 Thread Lynne via ffmpeg-devel
_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]

[FFmpeg-devel] [PATCH] avcodec/rv60dec: add upper bound check for qp

2025-11-07 Thread Reaxx via ffmpeg-devel
-qp.patch Description: Binary data ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Bug fix attempt for #11691 - swscale: Fix heap-buffer-overflow in unscaled YUV-to-RGB conversion (PR #20864)

2025-11-08 Thread thomasdullien via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] swscale/ops: fix ff_sws_pixel_type_to_uint (PR #20891)

2025-11-10 Thread cancername via ffmpeg-devel
int(SwsPixelType type) av_const; -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Add myself as maintainer to the various ogg files. (PR #20961)

2025-11-18 Thread toots via ffmpeg-devel
*.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

[FFmpeg-devel] [PATCH] avformat/segafilmenc: Fix division by zero with malformed Cinepak data

2025-11-14 Thread Shubin123 via ffmpeg-devel
t;size); } else { -- 2.34.1 ___________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Update libavformat/segafilmenc.c (PR #20922)

2025-11-14 Thread Shubin123 via ffmpeg-devel
->size); } else { -- 2.49.1 ___________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] 回复:Re: [Question]Inquiry Regarding RISC-V RVV Optimization for HEVC Decoding in FFmpeg

2025-11-14 Thread yunfei_zhou--- via ffmpeg-devel
--- 发件人: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

[FFmpeg-devel] [PATCH] avformat/matroska: add ordered-chapter parsing (PR #20971)

2025-11-19 Thread xobust via ffmpeg-devel
avpriv_new_chapter(s, chapters[j].uid, +(AVRational) { 1, 10 }, +chapters[j].start, chapters[j].end, +chapters[j].title); +max_start = chapters[j].start; +

[FFmpeg-devel] Re: [RFC] Funded Task Ideas

2025-11-19 Thread ff--- via ffmpeg-devel
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

[FFmpeg-devel] [PATCH] avcodec/libaomenc: fix MSan warning (PR #20974)

2025-11-19 Thread jzern via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] avformat/xmv: Handle zero sized packet at end of file (PR #20985)

2025-11-20 Thread GXTX via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] avformat/xmv: Better handling of audio compressions relation to sample blocks (PR #20986)

2025-11-20 Thread GXTX via ffmpeg-devel
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 __________

[FFmpeg-devel] [PATCH] avcodec/amf: fix hw_device_ctx handling (PR #20979)

2025-11-20 Thread ArazIusubov via ffmpeg-devel
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",

[FFmpeg-devel] [PATCH] avcodec/apv_decode: Update metadata decoding to use byte order conversion functions (PR #20988)

2025-11-21 Thread dkozinski via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] avfilter/vf_frei0r: fix time when input is realigned (PR #20903)

2025-11-12 Thread breunigs via ffmpeg-devel
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]

[FFmpeg-devel] Re: [PATCH 0/2] web/donations: Add section for individual developers

2025-11-12 Thread compn via ffmpeg-devel
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

[FFmpeg-devel] Re: [RFC] Microsoft store

2025-11-12 Thread compn via ffmpeg-devel
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

[FFmpeg-devel] Re: question about submitting security patches

2025-11-12 Thread compn via ffmpeg-devel
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

[FFmpeg-devel] Re: New mailing-list archive

2025-11-12 Thread compn via ffmpeg-devel
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] [Question]Inquiry Regarding RISC-V RVV Optimization for HEVC Decoding in FFmpeg

2025-11-13 Thread yunfei_zhou--- via ffmpeg-devel
___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Fix flacdec int overflow with a saturated add (PR #20900)

2025-11-12 Thread usepgp via ffmpeg-devel
16] = { -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avcodec/omx: Check extradata size and nFilledLen (PR #20894)

2025-11-11 Thread michaelni via ffmpeg-devel
) < 0) { avctx->extradata_size = 0; goto fail; -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] swscale: Fix out-of-bounds write errors in yuv2rgb_lasx.c file. (PR #20895)

2025-11-11 Thread chenhao via ffmpeg-devel
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 _______

[FFmpeg-devel] [PATCH] avcodec/gifenc: avoid redundant local color table when global palette is used (PR #20897)

2025-11-11 Thread damitha via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] avutil/cpu: Deprecate AV_CPU_FLAG_FORCE (PR #20911)

2025-11-13 Thread mkver via ffmpeg-devel
_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]

[FFmpeg-devel] [PATCH] avfilter/vf_fspp: Add checkasm, port to SSE2, fix big-endian (PR #20909)

2025-11-13 Thread mkver via ffmpeg-devel
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

[FFmpeg-devel] [Vulkan HWAccel] Incorrect default img_flags causes VUID-06811 validation error

2025-11-13 Thread titatovenaar76--- via ffmpeg-devel
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:

[FFmpeg-devel] Re: question about submitting security patches

2025-11-13 Thread ff--- via ffmpeg-devel
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

[FFmpeg-devel] [Question] Learning about VVC and wasm

2025-11-13 Thread Sidd via ffmpeg-devel
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]

[FFmpeg-devel] Re: [Question] Learning about VVC and wasm

2025-11-13 Thread Sidd via ffmpeg-devel
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

[FFmpeg-devel] Re: [Question] Learning about VVC and wasm

2025-11-13 Thread 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

[FFmpeg-devel] [PATCH] libavfilter/af_join - Free memory if using custom channel layout (PR #20914)

2025-11-13 Thread colekas via ffmpeg-devel
.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 ___

[FFmpeg-devel] [PATCH] avcodec/prores_raw: Reuse permutation (PR #20918)

2025-11-14 Thread mkver via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] lavu/x86: add Intel CET support (PR #20919)

2025-11-14 Thread brad via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] Revert "avutil/hwcontext_amf: Simplified blocking before frame submission" (PR #20912)

2025-11-13 Thread mkver via ffmpeg-devel
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

[FFmpeg-devel] [PATCH] tcp: add TCP keepalive tuning options

2025-11-21 Thread Practice2001 via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] configure: add detection of assembler support for SME (PR #21009)

2025-11-24 Thread george.zaguri via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] tcp: add TCP keepalive tuning options

2025-11-23 Thread Practice2001 via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] libavformat/rtpenc_h264_hevc: Use original TID value from NAL unit header in HEVC FU packets

2025-11-23 Thread 树 via ffmpeg-devel
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

[FFmpeg-devel] [PATCH] avcodec/cbs_apv: Use ff_cbs_{read,write}_simple_unsigned() (PR #21006)

2025-11-24 Thread mkver via ffmpeg-devel
#undef infer #undef byte_alignment -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avfilter, avcodec: Finish gating empty X86ASM-OBJS files for Nasm (PR #21007)

2025-11-24 Thread Amyspark via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] libavformat/file: allow configurable pkt_size for lower memory usage on embedded devices (PR #21004)

2025-11-24 Thread caifan via ffmpeg-devel
; + +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]

[FFmpeg-devel] [Question] Testing and evaluating runtime performance of functions

2025-11-17 Thread Sidd via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] WIP: aacdec: add support for 960-frame HE-AAC (PR #20941)

2025-11-17 Thread Lynne via ffmpeg-devel
-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]

[FFmpeg-devel] Re: Update on your FLOSS/fund application

2025-11-16 Thread ff--- via ffmpeg-devel
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

[FFmpeg-devel] [PATCH] WIP: aacdec: implement support for Mps212 decoding (PR #20936)

2025-11-16 Thread Lynne via ffmpeg-devel
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

[FFmpeg-devel] [PATCH] [libavformat][mov] Fixes individual track duration on fragmented files (PR #20946)

2025-11-17 Thread anthonybajoua via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] avformat/segafilmenc: Fix division by zero with malformed Cinepak data

2025-11-15 Thread Shubin123 via ffmpeg-devel
t;size); } else { -- 2.34.1 ___________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] configure: Only test for SSE2 intrinsics on x86 (PR #20934)

2025-11-16 Thread mkver via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] avcodec/x86/mpegvideoenc cleanup (PR #20932)

2025-11-16 Thread mkver via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] avfilter/af_afftfilt: fix the overlap buffer size (PR #20933)

2025-11-16 Thread nots1dd via ffmpeg-devel
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]

[FFmpeg-devel] Re: [PATCH] avfilter/af_afftfilt: fix the overlap buffer size

2025-11-16 Thread Sidd via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] avcodec/mpeg12: Inline ff_mpeg1_clean_buffers() into its callers (PR #20942)

2025-11-17 Thread mkver via ffmpeg-devel
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_

[FFmpeg-devel] [PATCH] avfilter/af_afftfilt: fix the overlap buffer size

2025-11-16 Thread nots1dd via ffmpeg-devel
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]

[FFmpeg-devel] Re: [PATCH] avfilter/af_afftfilt: fix the overlap buffer size

2025-11-16 Thread Sidd via ffmpeg-devel
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 >

[FFmpeg-devel] [PATCH] avcodec: fix checkasm-hpeldsp failed on LA (PR #20951)

2025-11-17 Thread HecaiYuan via ffmpeg-devel
->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

[FFmpeg-devel] [PATCH] avfilter/yadif_videotoolbox: Add missing include (PR #21025)

2025-11-26 Thread Amyspark via ffmpeg-devel
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]

[FFmpeg-devel] Re: [REFUND-REQUEST] VDD 2025 travel

2025-11-26 Thread Lynne via ffmpeg-devel
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 ===

[FFmpeg-devel] [PATCH] avcodec/x86/h264idct patches (PR #21027)

2025-11-26 Thread mkver via ffmpeg-devel
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

[FFmpeg-devel] [REFUND-REQUEST] VDD 2025 travel

2025-11-26 Thread Lynne via ffmpeg-devel
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-

[FFmpeg-devel] [PATCH] VP56DSP patches (PR #21014)

2025-11-25 Thread mkver via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] avfilter: Add vsrc_amf - AMF based screen capture (PR #21015)

2025-11-25 Thread ArazIusubov via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] avcodec/me_cmp: Remove MMXEXT hadamard diff functions (PR #21018)

2025-11-25 Thread mkver via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] libavformat/spdifdec: Fix SPDIF detection score for EAC3 (PR #21019)

2025-11-25 Thread Shulyaka via ffmpeg-devel
37"); return AVERROR_PATCHWELCOME; -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: FFmpeg 8.1 and 9.0

2025-11-26 Thread Lynne via ffmpeg-devel
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

[FFmpeg-devel] [PATCH] avfilter/scale_cuda: Add support for 4:2:2 chroma subsampling (PR #20958)

2025-11-18 Thread ddesouza via ffmpeg-devel
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

[FFmpeg-devel] [PATCH] Update libavcodec/opus/parser.c (PR #20959)

2025-11-18 Thread mux47 via ffmpeg-devel
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-

[FFmpeg-devel] [PATCH] avcodec/psd: Support auxiliary channels (PR #20966)

2025-11-18 Thread jchw via ffmpeg-devel
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

[FFmpeg-devel] [PATCH] vulkan: add a shader-based decoder for DPX (PR #21000)

2025-11-22 Thread Lynne via ffmpeg-devel
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

[FFmpeg-devel] [PATCH] Miscellaneous Vulkan fixes (PR #20999)

2025-11-22 Thread Lynne via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] avformat/oggenc: Schedule pagesize option for removal (PR #20992)

2025-11-21 Thread mkver via ffmpeg-devel
} @@ -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

[FFmpeg-devel] [PATCH] avutil/error: Avoid relocations and unused information (PR #20991)

2025-11-21 Thread mkver via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] avcodec/liblc3{dec,enc}: Simplify sample_size, is_planar check, sample fmt selection (PR #20998)

2025-11-22 Thread mkver via ffmpeg-devel
-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

[FFmpeg-devel] [PATCH] configure: fix static library suffix for MSVC builds

2025-11-22 Thread Practice2001 via ffmpeg-devel
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

[FFmpeg-devel] [PATCH] configure: fix static library suffix for MSVC builds

2025-11-22 Thread Practice2001 via ffmpeg-devel
@@ 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 --

[FFmpeg-devel] [PATCH] avcodec/vp3: Sync VLCs once during init, fix crash (PR #21023)

2025-11-25 Thread mkver via ffmpeg-devel
+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;

[FFmpeg-devel] [PATCH] avformat: add MMTP parser and MMT/TLV demuxer (PR #21037)

2025-11-27 Thread SuperFashi via ffmpeg-devel
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

[FFmpeg-devel] [PATCH v2] avformat/mpegts: fix the issue where the PMT table can't be retrieved.

2025-11-27 Thread ganqiuye via ffmpeg-devel
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]

[FFmpeg-devel] [PATCH] Replace DCE with macros to guard usage of undefined functions and clauses (PR #21034)

2025-11-27 Thread Amyspark via ffmpeg-devel
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

[FFmpeg-devel] [PATCH] libavcodec: support frame dropping in libvpxenc (PR #21033)

2025-11-27 Thread darekm via ffmpeg-devel
; + 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]

[FFmpeg-devel] Re: FFmpeg 8.1 and 9.0

2025-11-27 Thread Lynne via ffmpeg-devel
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

<    5   6   7   8   9   10   11   12   13   14   >