[FFmpeg-devel] [PATCH v5 3/7] avcodec/webp_parser: parse each frame into one packet

2023-11-20 Thread Thilo Borgmann via ffmpeg-devel
*poutbuf = NULL; +*poutbuf_size = 0; return buf_size; +} -if (next != END_NOT_FOUND && next < 0) -ctx->pc.frame_start_found = FFMAX(ctx->pc.frame_start_found - i - 1, 0); -else -ctx->pc.frame_start_found = 0; +// Extre

[FFmpeg-devel] [PATCH v5 5/7] avcodec/webp: make init_canvas_frame static

2023-11-20 Thread Thilo Borgmann via ffmpeg-devel
hroma_h); -else -height = FFALIGN(canvas->height, 1 << desc->log2_chroma_h); - -memset(canvas->data[plane], s->transparent_yuva[plane], - height * canvas->linesize[plane]); -} -} - -return 0; -} - /* * Blend src1 (foreground) and src2 (background) into dest, in ARGB format. * width, height are the dimensions of src1 -- 2.39.2 (Apple Git-143) ___ 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".

[FFmpeg-devel] [PATCH v5 7/7] fate: add test for animated WebP

2023-11-20 Thread Thilo Borgmann via ffmpeg-devel
) ___ 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".

[FFmpeg-devel] [PATCH v5 4/7] libavcodec/webp: add support for animated WebP decoding

2023-11-20 Thread Thilo Borgmann via ffmpeg-devel
avcodec_open2(s->avctx_vp8, codec, NULL); +if (ret < 0) { + return ret; +} return 0; } @@ -1547,12 +2136,52 @@ static av_cold int webp_decode_close(AVCodecContext *avctx) WebPContext *s = avctx->priv_data; av_packet_free(&s->pkt); +ff_thread_release_ext_buffer(&s->canvas_frame); +av_frame_free(&s->canvas_frame.f); +av_frame_free(&s->frame); +avcodec_free_context(&s->avctx_vp8); + +return 0; +} + +static void webp_decode_flush(AVCodecContext *avctx) +{ +WebPContext *s = avctx->priv_data; + +ff_thread_release_ext_buffer(&s->canvas_frame); +} + +#if HAVE_THREADS +static int webp_update_thread_context(AVCodecContext *dst, const AVCodecContext *src) +{ +WebPContext *wsrc = src->priv_data; +WebPContext *wdst = dst->priv_data; +int ret; + +if (dst == src) +return 0; + +ff_thread_release_ext_buffer(&wdst->canvas_frame); +if (wsrc->canvas_frame.f->data[0] && +(ret = ff_thread_ref_frame(&wdst->canvas_frame, &wsrc->canvas_frame)) < 0) +return ret; + +wdst->vp8x_flags = wsrc->vp8x_flags; +wdst->canvas_width= wsrc->canvas_width; +wdst->canvas_height = wsrc->canvas_height; +wdst->prev_anmf_flags = wsrc->anmf_flags; +wdst->prev_width = wsrc->width; +wdst->prev_height = wsrc->height; +wdst->prev_pos_x = wsrc->pos_x; +wdst->prev_pos_y = wsrc->pos_y; +wdst->await_progress = wsrc->await_progress + 1; -if (s->initialized) -return ff_vp8_decode_free(avctx); +memcpy(wdst->background_argb, wsrc->background_argb, sizeof(wsrc->background_argb)); +memcpy(wdst->background_yuva, wsrc->background_yuva, sizeof(wsrc->background_yuva)); return 0; } +#endif const FFCodec ff_webp_decoder = { .p.name = "webp", @@ -1560,9 +2189,11 @@ const FFCodec ff_webp_decoder = { .p.type = AVMEDIA_TYPE_VIDEO, .p.id = AV_CODEC_ID_WEBP, .priv_data_size = sizeof(WebPContext), +UPDATE_THREAD_CONTEXT(webp_update_thread_context), .init = webp_decode_init, FF_CODEC_DECODE_CB(webp_decode_frame), .close = webp_decode_close, +.flush = webp_decode_flush, .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS, -.caps_internal = FF_CODEC_CAP_ICC_PROFILES, +.caps_internal = FF_CODEC_CAP_ICC_PROFILES | FF_CODEC_CAP_ALLOCATE_PROGRESS, }; -- 2.39.2 (Apple Git-143) ___ 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".

Re: [FFmpeg-devel] [PATCH v5 4/7] libavcodec/webp: add support for animated WebP decoding

2023-11-21 Thread Cosmin Stejerean via ffmpeg-devel
On Nov 20, 2023, at 5:14 PM, James Almer wrote: On 11/20/2023 4:22 PM, Thilo Borgmann via ffmpeg-devel wrote: +    if (*got_frame) { +    if (!(s->vp8x_flags & VP8X_FLAG_ANIMATION)) { +    // no animation, output the decoded frame +    av_frame_move_ref(p, s

Re: [FFmpeg-devel] [PATCH 1/6] lavc/aarch64: new optimization for 8-bit hevc_pel_bi_pixels

2023-11-22 Thread Martin Storsjö via ffmpeg-devel
te delivery chain, while some later party might have rewritten things. By the way, I create these patches by /'git format-patch -s -o "../" --add-header "X-Unsent: 1" --suffix .eml --to [email protected] -6 --filename-max-length=100' /to generate .eml file.

Re: [FFmpeg-devel] [PATCH v5 4/7] libavcodec/webp: add support for animated WebP decoding

2023-11-22 Thread Thilo Borgmann via ffmpeg-devel
Am 22.11.23 um 03:54 schrieb Cosmin Stejerean via ffmpeg-devel: On Nov 20, 2023, at 5:14 PM, James Almer wrote: On 11/20/2023 4:22 PM, Thilo Borgmann via ffmpeg-devel wrote: +    if (*got_frame) { +    if (!(s->vp8x_flags & VP8X_FLAG_ANIMATION)) { +    // no animation, out

[FFmpeg-devel] [PATCH v6 2/7] avcodec/webp: remove unused definitions

2023-11-23 Thread Thilo Borgmann via ffmpeg-devel
) ___ 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".

[FFmpeg-devel] [PATCH v6 3/7] avcodec/webp_parser: parse each frame into one packet

2023-11-23 Thread Thilo Borgmann via ffmpeg-devel
*poutbuf = NULL; +*poutbuf_size = 0; return buf_size; +} -if (next != END_NOT_FOUND && next < 0) -ctx->pc.frame_start_found = FFMAX(ctx->pc.frame_start_found - i - 1, 0); -else -ctx->pc.frame_start_found = 0; +// Extreme

[FFmpeg-devel] [PATCH v6 1/7] avcodec/webp: move definitions into header

2023-11-23 Thread Thilo Borgmann via ffmpeg-devel
UND 0x01 + +#define ANMF_BLENDING_METHOD0x02 +#define ANMF_BLENDING_METHOD_ALPHA 0x00 +#define ANMF_BLENDING_METHOD_OVERWRITE 0x02 + +#endif /* AVCODEC_WEBP_H */ -- 2.37.1 (Apple Git-137.1) ___________ ffmpeg-devel mailing list [email protected] ht

[FFmpeg-devel] [PATCH v6 0/7] webp: add support for animated WebP decoding

2023-11-23 Thread Thilo Borgmann via ffmpeg-devel
create mode 100644 libavformat/webpdec.c create mode 100644 tests/ref/fate/webp-anim -- 2.37.1 (Apple Git-137.1) ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or

[FFmpeg-devel] [PATCH v6 6/7] libavformat/webp: add WebP demuxer

2023-11-23 Thread Thilo Borgmann via ffmpeg-devel
kt_dts=0 pkt_dts_time=0.00 best_effort_timestamp=0 best_effort_timestamp_time=0.00 -pkt_duration=1 -pkt_duration_time=0.04 -duration=1 -duration_time=0.04 -pkt_pos=0 -pkt_size=39276 +pkt_duration=100 +pkt_duration_time=0.10 +duration=100 +duration_time=0.10 +pkt_p

[FFmpeg-devel] [PATCH v6 4/7] libavcodec/webp: add support for animated WebP decoding

2023-11-23 Thread Thilo Borgmann via ffmpeg-devel
gt;avctx_vp8) +return AVERROR(ENOMEM); +s->avctx_vp8->flags = avctx->flags; +s->avctx_vp8->flags2 = avctx->flags2; +s->avctx_vp8->pix_fmt = avctx->pix_fmt; +ret = avcodec_open2(s->avctx_vp8, codec, NULL); +if (ret < 0) { +return ret; +

[FFmpeg-devel] [PATCH v6 7/7] fate: add test for animated WebP

2023-11-23 Thread Thilo Borgmann via ffmpeg-devel
) ___ 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".

[FFmpeg-devel] [PATCH v6 5/7] avcodec/webp: make init_canvas_frame static

2023-11-23 Thread Thilo Borgmann via ffmpeg-devel
oma_h); -else -height = FFALIGN(canvas->height, 1 << desc->log2_chroma_h); - -memset(canvas->data[plane], s->transparent_yuva[plane], - height * canvas->linesize[plane]); -} -} - -return 0; -} - /* * Blend src1 (foreground) and src2 (background) into dest, in ARGB format. * width, height are the dimensions of src1 -- 2.37.1 (Apple Git-137.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".

Re: [FFmpeg-devel] [PATCH 2/3] x86/ac3dsp: add ff_float_to_fixed24_avx2()

2023-11-23 Thread Henrik Gramner via ffmpeg-devel
-> int conversion instructions belongs to actually differs between µarchs. Realistically whether movaps or movdqa is used to store the result to memory is unlikely to matter in practice though. _______ ffmpeg-devel mailing list [email protected] https:

[FFmpeg-devel] [PATCH] avfilter/vf_bwdif: consider chroma subsampling when enforcing minimum dimensions

2023-11-25 Thread Cosmin Stejerean via ffmpeg-devel
; +} +} + yadif->filter = filter; ff_bwdif_init_filter_line(&s->dsp, yadif->csp->comp[0].depth); -- 2.39.2 (Apple Git-143) _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubs

[FFmpeg-devel] [PATCH] libavcodec/dcadec: adjust the `ch_layout` when downmix is active

2023-11-25 Thread Geoffrey McRae via ffmpeg-devel
s->request_channel_layout = DCA_SPEAKER_LAYOUT_5POINT1; +av_channel_layout_uninit(&avctx->ch_layout); +avctx->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_5POINT1; +} else av_log(avctx, AV_LOG_WARNING, "Invalid downmix layo

[FFmpeg-devel] [PATCH] libavcodec/mlpdec: add missing correction to ch_layout when downmixing

2023-11-25 Thread Geoffrey McRae via ffmpeg-devel
, "Invalid downmix layout\n"); +} + ff_thread_once(&init_static_once, init_static); return 0; -- 2.39.2 ___ 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".

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/jpegxl_parser: fix parsing sequences of extremely small files

2023-11-26 Thread Thilo Borgmann via ffmpeg-devel
the sample gets uploaded. I CC'd [email protected] as well. Can do this in a bit. What about the file you‘d sent to samples-request in August, is there still a test to be pushed about it as well? -Thilo _______ ffmpeg-devel mailing li

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/jpegxl_parser: fix parsing sequences of extremely small files

2023-11-27 Thread Thilo Borgmann via ffmpeg-devel
t was already uploaded and the fate test utilizing it has been merged. Ok, then its done: e19bb66167c096e86f8cf567a7df3528  fate-suite/jxl/l.jxl -Thilo ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-

Re: [FFmpeg-devel] [PATCH v2] avcodec/amfenc: increase precision of Sleep() on Windows

2023-11-27 Thread Henrik Gramner via ffmpeg-devel
ESOLUTION flag might be an alternative? _______ 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".

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: TC/CC elections

2023-11-29 Thread Thilo Borgmann via ffmpeg-devel
redoing it, we maybe just do the other option and be a bit more resilient to misinterpretation. -Thilo _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or ema

Re: [FFmpeg-devel] [PATCH] avfilter/vf_bwdif: consider chroma subsampling when enforcing minimum dimensions

2023-11-29 Thread Cosmin Stejerean via ffmpeg-devel
> On Nov 28, 2023, at 5:30 AM, Thomas Mundt wrote: > > Hi Cosmin, > > Cosmin Stejerean via ffmpeg-devel schrieb am Sa., > 25. Nov. 2023, 21:39: > >> Fixes #10688 >> >> Signed-off-by: Cosmin Stejerean >> --- >> libavfilter/vf_bwdif.c

Re: [FFmpeg-devel] [PATCH] avformat/matroskadec: Prevent expensive get_cue_desc lookups

2023-11-29 Thread Tom Boshoven via ffmpeg-devel
; // The prebuffer is larger than the duration. > @@ -4295,7 +4307,7 @@ static int64_t > webm_dash_manifest_compute_bandwidth(AVFormatContext *s, int64_t > } > } > > -desc_end = get_cue_desc(s, desc_end.end_time_ns,

Re: [FFmpeg-devel] [PATCH] avfilter/vf_bwdif: consider chroma subsampling when enforcing minimum dimensions

2023-11-29 Thread Cosmin Stejerean via ffmpeg-devel
> On Nov 29, 2023, at 11:36 AM, Dennis Mungai wrote: > > On Wed, 29 Nov 2023 at 22:26, Cosmin Stejerean via ffmpeg-devel < > [email protected]> wrote: > >> >> >>> On Nov 28, 2023, at 5:30 AM, Thomas Mundt wrote: >>> >>> Hi

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: TC/CC elections

2023-11-29 Thread Cosmin Stejerean via ffmpeg-devel
n theory weights would have to be assigned such that the sum for each one of those 21 combinations is correctly ranked by order of preference. I think the simplicity of the simpler ranked choice voting might outweigh the benefit of expressing complex preferences with the sum of weights. - Co

[FFmpeg-devel] [PATCH v2 0/3] consider chroma subsampling for bwdif (including CUDA and Vulkan)

2023-11-29 Thread Cosmin Stejerean via ffmpeg-devel
dimensions libavfilter/vf_bwdif.c| 13 ++--- libavfilter/vf_bwdif_cuda.c | 13 ++--- libavfilter/vf_bwdif_vulkan.c | 14 ++ 3 files changed, 30 insertions(+), 10 deletions(-) -- 2.42.1 _______ ffmpeg-devel mailing list ff

[FFmpeg-devel] [PATCH v2 2/3] avfilter/vf_bwdif_cuda: consider chroma subsampling when enforcing minimum dimensions

2023-11-29 Thread Cosmin Stejerean via ffmpeg-devel
goto exit; } -y->csp = av_pix_fmt_desc_get(output_frames->sw_format); +y->csp = desc; y->filter = filter; ret = CHECK_CU(cu->cuCtxPushCurrent(s->hwctx->cuda_ctx)); -- 2.42.1 ___ ffmpeg-devel mailing list ffmpeg

[FFmpeg-devel] [PATCH v2 1/3] avfilter/vf_bwdif: consider chroma subsampling when enforcing minimum dimensions

2023-11-29 Thread Cosmin Stejerean via ffmpeg-devel
wdif_init_filter_line(&s->dsp, yadif->csp->comp[0].depth); -- 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".

[FFmpeg-devel] [PATCH v2 3/3] avfilter/vf_bwdif_vulkan: consider chroma subsampling when enforcing minimum dimensions

2023-11-29 Thread Cosmin Stejerean via ffmpeg-devel
lines is not supported\n"); return AVERROR(EINVAL); } -y->csp = av_pix_fmt_desc_get(vkctx->frames->sw_format); +y->csp = desc; y->filter = bwdif_vulkan_filter_frame; return init_filter(avctx); -- 2.42.1 _

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: TC/CC elections

2023-11-29 Thread Cosmin Stejerean via ffmpeg-devel
to multiple candidates. - Cosmin ___________ 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".

[FFmpeg-devel] [PATCH] avcodec/av1dec: Fix resolving zero divisor

2023-11-30 Thread Michael Niedermayer via ffmpeg-devel
v, w; int32_t *param = &s->cur_frame.gm_params[idx][0]; -if (param[2] < 0) +if (param[2] <= 0) return 0; alpha = av_clip_int16(param[2] - (1 << AV1_WARPEDMODEL_PREC_BITS)); -- 2.17.1 ___________ ffmpeg-devel mailing list f

Re: [FFmpeg-devel] [POC][PATCHSET] Add qrencodesrc source

2023-11-30 Thread Cosmin Stejerean via ffmpeg-devel
l > QR codes are robust to lossy coding, therefore it should be possible to use > them to compare a generated video with a reference one (in case they cannot be compared frame-by-frame). - Cosmin ___________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.

Re: [FFmpeg-devel] [PATCH v2 1/3] avfilter/vf_bwdif: consider chroma subsampling when enforcing minimum dimensions

2023-11-30 Thread Cosmin Stejerean via ffmpeg-devel
On Nov 30, 2023, at 04:37, Thomas Mundt wrote:  Am Do., 30. Nov. 2023 um 01:23 Uhr schrieb Cosmin Stejerean via ffmpeg-devel mailto:[email protected]> >: From: Cosmin Stejerean mailto:[email protected]> > Fixes #10688 Signed-off-by: Cosmin Stejerean mailto:cos.

Re: [FFmpeg-devel] [PATCH] lavc: remove the QOA decoder

2023-12-02 Thread Cosmin Stejerean via ffmpeg-devel
If nobody else can add a test I can try to do so but I'll need a couple of days to figure it out. - Cosmin _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above

[FFmpeg-devel] [PATCH v3 0/3] consider chroma subsampling for bwdif (including CUDA and Vulkan)

2023-12-02 Thread Cosmin Stejerean via ffmpeg-devel
++--- libavfilter/vf_bwdif_vulkan.c | 14 ++ 3 files changed, 30 insertions(+), 10 deletions(-) -- 2.42.1 ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or

[FFmpeg-devel] [PATCH v3 2/3] avfilter/vf_bwdif_cuda: consider chroma subsampling when enforcing minimum dimensions

2023-12-02 Thread Cosmin Stejerean via ffmpeg-devel
t;cuCtxPushCurrent(s->hwctx->cuda_ctx)); if (ret < 0) goto exit; -- 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".

[FFmpeg-devel] [PATCH v3 3/3] avfilter/vf_bwdif_vulkan: consider chroma subsampling when enforcing minimum dimensions

2023-12-02 Thread Cosmin Stejerean via ffmpeg-devel
return AVERROR(EINVAL); +} + return init_filter(avctx); } -- 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".

[FFmpeg-devel] [PATCH v3 1/3] avfilter/vf_bwdif: consider chroma subsampling when enforcing minimum dimensions

2023-12-02 Thread Cosmin Stejerean via ffmpeg-devel
ns or 4 lines is not supported\n"); return AVERROR(EINVAL); } -yadif->csp = av_pix_fmt_desc_get(link->format); -yadif->filter = filter; ff_bwdif_init_filter_line(&s->dsp, yadif->csp->comp[0].depth); return 0; -- 2.42.1

[FFmpeg-devel] [PATCH] fate: Add tests for QOA decoder

2023-12-02 Thread Cosmin Stejerean via ffmpeg-devel
, 2140, 8560, 0xf64370aa -- 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".

Re: [FFmpeg-devel] [PATCH] fate: Add tests for QOA decoder

2023-12-02 Thread Thilo Borgmann via ffmpeg-devel
Am 03.12.23 um 00:43 schrieb Paul B Mahol: Files needs to be first uploaded to rsync server of FATE, and wait 24h and after that it can be pushed. Uploaded. -Thilo ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman

Re: [FFmpeg-devel] [PATCH] avdevice/avfoundation: replace AVCaptureDevice with new api

2023-12-04 Thread Thilo Borgmann via ffmpeg-devel
Am 04.12.23 um 13:47 schrieb xufuji456 via ffmpeg-devel: Building with iOS platform, the compiler has a warning: "'devicesWithMediaType:' is deprecated: first deprecated in iOS 10.0 - Use AVCaptureDeviceDiscoverySession instead" Signed-off-by: xufuji456 <839789...@qq

Re: [FFmpeg-devel] [PATCH] avdevice/avfoundation: replace AVCaptureDevice with new api

2023-12-05 Thread Thilo Borgmann via ffmpeg-devel
Hi, Am 05.12.23 um 14:33 schrieb xufuji456 via ffmpeg-devel: Building with iOS platform, the compiler has a warning: "'devicesWithMediaType:' is deprecated: first deprecated in iOS 10.0 - Use AVCaptureDeviceDiscoverySession instead" Signed-off-by: xufuji4

Re: [FFmpeg-devel] [PATCH] avdevice/avfoundation: replace AVCaptureDevice with new api

2023-12-05 Thread Thilo Borgmann via ffmpeg-devel
Am 05.12.23 um 15:16 schrieb Thilo Borgmann via ffmpeg-devel: Hi, Am 05.12.23 um 14:33 schrieb xufuji456 via ffmpeg-devel: Building with iOS platform, the compiler has a warning: "'devicesWithMediaType:' is deprecated: first deprecated in iOS 10.0 - Use AVCaptureDeviceD

Re: [FFmpeg-devel] [PATCH] avdevice/avfoundation: replace AVCaptureDevice with new api

2023-12-05 Thread Thilo Borgmann via ffmpeg-devel
Am 05.12.23 um 15:19 schrieb Thilo Borgmann via ffmpeg-devel: Am 05.12.23 um 15:16 schrieb Thilo Borgmann via ffmpeg-devel: Hi, Am 05.12.23 um 14:33 schrieb xufuji456 via ffmpeg-devel: Building with iOS platform, the compiler has a warning: "'devicesWithMediaType:' is de

Re: [FFmpeg-devel] [PATCH] avfilter: add aspace filter

2023-12-05 Thread Nicolas George via ffmpeg-devel
, you are a bad one? -- Nicolas George _______ 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".

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: add myself as vvc maintainer

2023-12-05 Thread Thilo Borgmann via ffmpeg-devel
Am 05.12.23 um 16:16 schrieb Nuo Mi: --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) LGTM -Thilo ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: add myself as vvc maintainer

2023-12-05 Thread Thilo Borgmann via ffmpeg-devel
Am 05.12.23 um 16:22 schrieb Thilo Borgmann via ffmpeg-devel: Am 05.12.23 um 16:16 schrieb Nuo Mi: ---   MAINTAINERS | 1 +   1 file changed, 1 insertion(+) LGTM Pushed. Thanks, Thilo ___ ffmpeg-devel mailing list [email protected] https

[FFmpeg-devel] [PATCH v7 0/7] webp: add support for animated WebP decoding

2023-12-05 Thread Thilo Borgmann via ffmpeg-devel
100644 libavcodec/webp.h create mode 100644 libavformat/webpdec.c create mode 100644 tests/ref/fate/webp-anim -- 2.37.1 (Apple Git-137.1) ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To

[FFmpeg-devel] [PATCH v7 1/7] avcodec/webp: move definitions into header

2023-12-05 Thread Thilo Borgmann via ffmpeg-devel
UND 0x01 + +#define ANMF_BLENDING_METHOD0x02 +#define ANMF_BLENDING_METHOD_ALPHA 0x00 +#define ANMF_BLENDING_METHOD_OVERWRITE 0x02 + +#endif /* AVCODEC_WEBP_H */ -- 2.37.1 (Apple Git-137.1) ___________ ffmpeg-devel mailing list [email protected] ht

[FFmpeg-devel] [PATCH v7 2/7] avcodec/webp: remove unused definitions

2023-12-05 Thread Thilo Borgmann via ffmpeg-devel
) ___ 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".

[FFmpeg-devel] [PATCH v7 4/7] libavcodec/webp: add support for animated WebP decoding

2023-12-05 Thread Thilo Borgmann via ffmpeg-devel
ret = avcodec_open2(s->avctx_vp8, codec, NULL); + if (ret < 0) { + return ret; +} return 0; } @@ -1547,12 +2141,52 @@ static av_cold int webp_decode_close(AVCodecContext *avctx) WebPContext *s = avctx->priv_data; av_packet_free(&s->pkt); +ff_thread_release_ext_buffer(&s->canvas_frame); +av_frame_free(&s->canvas_frame.f); +av_frame_free(&s->frame); +avcodec_free_context(&s->avctx_vp8); + +return 0; +} + +static void webp_decode_flush(AVCodecContext *avctx) +{ +WebPContext *s = avctx->priv_data; + +ff_thread_release_ext_buffer(&s->canvas_frame); +} + +#if HAVE_THREADS +static int webp_update_thread_context(AVCodecContext *dst, const AVCodecContext *src) +{ +WebPContext *wsrc = src->priv_data; +WebPContext *wdst = dst->priv_data; +int ret; + +if (dst == src) +return 0; + +ff_thread_release_ext_buffer(&wdst->canvas_frame); +if (wsrc->canvas_frame.f->data[0] && +(ret = ff_thread_ref_frame(&wdst->canvas_frame, &wsrc->canvas_frame)) < 0) +return ret; + +wdst->vp8x_flags = wsrc->vp8x_flags; +wdst->canvas_width= wsrc->canvas_width; +wdst->canvas_height = wsrc->canvas_height; +wdst->prev_anmf_flags = wsrc->anmf_flags; +wdst->prev_width = wsrc->width; +wdst->prev_height = wsrc->height; +wdst->prev_pos_x = wsrc->pos_x; +wdst->prev_pos_y = wsrc->pos_y; +wdst->await_progress = wsrc->await_progress + 1; -if (s->initialized) -return ff_vp8_decode_free(avctx); +memcpy(wdst->background_argb, wsrc->background_argb, sizeof(wsrc->background_argb)); +memcpy(wdst->background_yuva, wsrc->background_yuva, sizeof(wsrc->background_yuva)); return 0; } +#endif const FFCodec ff_webp_decoder = { .p.name = "webp", @@ -1560,9 +2194,11 @@ const FFCodec ff_webp_decoder = { .p.type = AVMEDIA_TYPE_VIDEO, .p.id = AV_CODEC_ID_WEBP, .priv_data_size = sizeof(WebPContext), +UPDATE_THREAD_CONTEXT(webp_update_thread_context), .init = webp_decode_init, FF_CODEC_DECODE_CB(webp_decode_frame), .close = webp_decode_close, +.flush = webp_decode_flush, .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS, -.caps_internal = FF_CODEC_CAP_ICC_PROFILES, +.caps_internal = FF_CODEC_CAP_ICC_PROFILES | FF_CODEC_CAP_ALLOCATE_PROGRESS, }; -- 2.37.1 (Apple Git-137.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".

[FFmpeg-devel] [PATCH v7 3/7] avcodec/webp_parser: parse each frame into one packet

2023-12-05 Thread Thilo Borgmann via ffmpeg-devel
*poutbuf = NULL; +*poutbuf_size = 0; return buf_size; +} -if (next != END_NOT_FOUND && next < 0) -ctx->pc.frame_start_found = FFMAX(ctx->pc.frame_start_found - i - 1, 0); -else -ctx->pc.frame_start_found = 0; +// Extreme

[FFmpeg-devel] [PATCH v7 5/7] avcodec/webp: make init_canvas_frame static

2023-12-05 Thread Thilo Borgmann via ffmpeg-devel
oma_h); -else -height = FFALIGN(canvas->height, 1 << desc->log2_chroma_h); - -memset(canvas->data[plane], s->transparent_yuva[plane], - height * canvas->linesize[plane]); -} -} - -return 0; -} - /* * Blend src1 (foreground) and src2 (background) into dest, in ARGB format. * width, height are the dimensions of src1 -- 2.37.1 (Apple Git-137.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".

[FFmpeg-devel] [PATCH v7 6/7] libavformat/webp: add WebP demuxer

2023-12-05 Thread Thilo Borgmann via ffmpeg-devel
kt_dts=0 pkt_dts_time=0.00 best_effort_timestamp=0 best_effort_timestamp_time=0.00 -pkt_duration=1 -pkt_duration_time=0.04 -duration=1 -duration_time=0.04 -pkt_pos=0 -pkt_size=39276 +pkt_duration=100 +pkt_duration_time=0.10 +duration=100 +duration_time=0.10 +pkt_p

[FFmpeg-devel] [PATCH v7 7/7] fate: add test for animated WebP

2023-12-05 Thread Thilo Borgmann via ffmpeg-devel
) ___ 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".

Re: [FFmpeg-devel] [PATCH v3 1/3] avfilter/vf_bwdif: consider chroma subsampling when enforcing minimum dimensions

2023-12-06 Thread Philip Langdale via ffmpeg-devel
hanks, --phil _______ 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".

Re: [FFmpeg-devel] [PATCH v3 1/3] avfilter/vf_bwdif: consider chroma subsampling when enforcing minimum dimensions

2023-12-06 Thread Cosmin Stejerean via ffmpeg-devel
> On Dec 6, 2023, at 02:44, Philip Langdale via ffmpeg-devel > wrote: > > On Sat, 2 Dec 2023 23:02:36 +0100 > Thomas Mundt wrote: > >> >> LGTM, thanks. >> > > I am going to squash the three commits and push. There's no real need > to p

Re: [FFmpeg-devel] [PATCH] avdevice/avfoundation: replace deprecated AVCaptureDevice

2023-12-06 Thread Thilo Borgmann via ffmpeg-devel
Am 06.12.23 um 13:03 schrieb xufuji456 via ffmpeg-devel: Building with iOS platform, the compiler has a warning: "'devicesWithMediaType:' is deprecated: first deprecated in iOS 10.0 - Use AVCaptureDeviceDiscoverySession instead" Signed-off-by: xufuji456 <839789...@qq

Re: [FFmpeg-devel] [PATCH v3] ffmpeg CLI multithreading

2023-12-06 Thread Cosmin Stejerean via ffmpeg-devel
y by using larger and larger frames I think that's an acceptable tradeoff for this use case. - Cosmin _______ 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".

[FFmpeg-devel] [PATCH] libavformat/dashdec.c Fix for ticket #7395

2023-12-06 Thread Evgeniy Pantyuhin via ffmpeg-devel
, root_url)); updated = 1; } -- 2.40.0.windows.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".

Re: [FFmpeg-devel] [PATCH] libavformat/dashdec.c Fix for ticket #7395

2023-12-07 Thread Evgeniy Pantyuhin via ffmpeg-devel
ed string. Unfortunately I cannot provide an example MPD, but it should be easy enough to manufacture one by simply adding &v=3 or so to the BaseURL in a simple manifest. -- Best regards, Evgeniymailto:[email protected] ___________

Re: [FFmpeg-devel] [PATCH v7 3/7] avcodec/webp_parser: parse each frame into one packet

2023-12-07 Thread Cosmin Stejerean via ffmpeg-devel
ere, keeping all the animations in a single packet and decoding multiple frames from it, by essentially moving this logic to split them from the parser to the decoder? - Cosmin ___________ ffmpeg-devel mailing list [email protected] https://ffmpeg.o

Re: [FFmpeg-devel] [PATCH] lavc/libopenh264: Drop openh264 runtime version checks

2023-12-08 Thread Cosmin Stejerean via ffmpeg-devel
imum version above which runtime version checks are not needed. - Cosmin _______ 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".

Re: [FFmpeg-devel] [PATCH 0/1] fate/jpegxl: add multiframe permuted TOC image parser

2023-12-09 Thread Thilo Borgmann via ffmpeg-devel
[1]: https://buzo.us/O.jxl sample sha256sum: 9288337dc0d37effd1f539d4e20083a8ffed757e486f4098121520c74e8de6f6 sample signature: https://buzo.us/A.asc Uploaded. -Thilo _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listi

Re: [FFmpeg-devel] [PATCH] avdevice/avfoundation: replace deprecated AVCaptureDevice

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
Am 09.12.23 um 13:09 schrieb xufuji456 via ffmpeg-devel: Building with iOS platform, the compiler has a warning: "'devicesWithMediaType:' is deprecated: first deprecated in iOS 10.0 - Use AVCaptureDeviceDiscoverySession instead" Signed-off-by: xufuji456 <839789...@qq

Re: [FFmpeg-devel] [PATCH] avdevice/avfoundation: replace deprecated AVCaptureDevice

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
Am 11.12.23 um 10:32 schrieb Thilo Borgmann via ffmpeg-devel: Am 09.12.23 um 13:09 schrieb xufuji456 via ffmpeg-devel: Building with iOS platform, the compiler has a warning: "'devicesWithMediaType:' is deprecated: first deprecated in iOS 10.0 - Use AVCaptureDeviceDiscoveryS

[FFmpeg-devel] [PATCH 0/5] avfilter: Add fsync filter

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
Synchronize video frames with an external mapping from a file. Follows up on the idea in https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2023-January/305986.html implemented as a filter. Not storing the frame map in a probably huge string but buffering piece-wise. Thilo Borgmann (5): fftools

[FFmpeg-devel] [PATCH 1/5] fftools/ffmpeg: split loop for parsing and validation of -stats_* specifiers

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
type != ENC_STATS_LITERAL) { +av_freep(&c->str); +} + } if (ret < 0) return ret; -- 2.37.1 (Apple Git-137.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".

[FFmpeg-devel] [PATCH 2/5] fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
ec(AVEncStatsFormatSpecifier *fmt_spec, int idx); + +/** + * Parse an enc stats format string into an array of AVEncStatsComponent. + * + * @param components Pointer to the array of AVEncStatsComponent to store + * the parsed elements. The arrary will be reallocated + *

[FFmpeg-devel] [PATCH 4/5] avfilter: Add fsync filter

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
, +AV_PIX_FMT_YUVJ440P, AV_PIX_FMT_YUVJ411P, AV_PIX_FMT_YUVJ420P, +AV_PIX_FMT_YUVJ422P, AV_PIX_FMT_YUVJ444P, +AV_PIX_FMT_YUVA444P, AV_PIX_FMT_YUVA422P, AV_PIX_FMT_YUVA420P, +AV_PIX_FMT_NONE +}; + +static const AVFilterPad avfilter_vf_fsync_outputs[] = { +{ + .name =

[FFmpeg-devel] [PATCH 3/5] reindent after last commit

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
{ AVEncStatsComponent *components; -int nb_components; +intnb_components; AVIOContext*io; } EncStats; -- 2.37.1 (Apple Git-137.1) ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org

[FFmpeg-devel] [PATCH 5/5] fate: Add fsync filter tests

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
55d +0, 56, 56,1, 115200, 0xe00dd55d -- 2.37.1 (Apple Git-137.1) ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-deve

Re: [FFmpeg-devel] [PATCH 4/5] avfilter: Add fsync filter

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
Am 11.12.23 um 16:07 schrieb Thilo Borgmann via ffmpeg-devel: pu --- Changelog| 1 + doc/filters.texi | 52 ++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_fsync.c | 376

Re: [FFmpeg-devel] [PATCH] avdevice/audiotoolbox: silence warning with new api

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
Am 11.12.23 um 16:28 schrieb 徐福隆 via ffmpeg-devel: Hi, Thilo: There is another patch that needs your review please. Thanks for pointing me to it. ---  libavdevice/audiotoolbox.m | 4  1 file changed, 4 insertions(+) LGTM & pushed. Thanks, T

[FFmpeg-devel] [PATCH 0/3] avcodec/libjxlenc: Add libjxl_animated encoder

2023-12-11 Thread Zsolt Vadasz via ffmpeg-devel
files changed, 197 insertions(+), 59 deletions(-) -- 2.43.0 ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject

[FFmpeg-devel] [PATCH 2/3] avcodec/libjxlenc: Move image initialization code into libjxl_encode_init_image

2023-12-11 Thread Zsolt Vadász via ffmpeg-devel
av_log(avctx, AV_LOG_ERROR, "Failed to add Image Frame\n"); return AVERROR_EXTERNAL; } /* * Run this after the last frame in the image has been passed. - * TODO support animation */ JxlEncoderCloseInput(ctx->encoder); -- 2.43.0 ___ 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".

[FFmpeg-devel] [PATCH 1/3] avcodec/libjxlenc: Move JxlBasicInfo to LibJxlEncodeContext

2023-12-11 Thread Zsolt Vadász via ffmpeg-devel
ze) != JXL_ENC_SUCCESS) { +if (JxlEncoderAddImageFrame(ctx->options, &jxl_fmt, frame->data[0], jxl_fmt.align * info->ysize) != JXL_ENC_SUCCESS) { av_log(avctx, AV_LOG_ERROR, "Failed to add Image Frame\n"); return AVERROR_EXTERNAL; } -- 2.43.0 ___ 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".

[FFmpeg-devel] [PATCH 3/3] avcodec/libjxlenc: Add libjxl_animated encoder

2023-12-11 Thread Zsolt Vadász via ffmpeg-devel
.p.type = AVMEDIA_TYPE_VIDEO, +.p.id = AV_CODEC_ID_JPEGXL, +.priv_data_size = sizeof(LibJxlEncodeContext), +.init = libjxl_animated_encode_init, +FF_CODEC_ENCODE_CB(libjxl_animated_encode_frame), +.close = libjxl_encode_close, + .p.capabilities = AV_CODEC_CAP

Re: [FFmpeg-devel] [PATCH] lavd/avfoundation: Use correct preprocessing directive

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
0) -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".

Re: [FFmpeg-devel] [PATCH] lavd/avfoundation: Use correct preprocessing directive

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
ed. -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".

Re: [FFmpeg-devel] [PATCH v7 3/7] avcodec/webp_parser: parse each frame into one packet

2023-12-12 Thread Thilo Borgmann via ffmpeg-devel
Am 08.12.23 um 03:02 schrieb Cosmin Stejerean via ffmpeg-devel: On Dec 7, 2023, at 9:42 AM, Andreas Rheinhardt wrote: According to https://developers.google.com/speed/webp/docs/riff_container#extended_file_format metadata chunks are stored after the image data; if you split the data into

Re: [FFmpeg-devel] [PATCH 2/5] fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils

2023-12-13 Thread Thilo Borgmann via ffmpeg-devel
Am 13.12.23 um 13:00 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-11 16:07:22) --- fftools/ffmpeg.h | 31 +-- fftools/ffmpeg_enc.c | 3 +- fftools/ffmpeg_mux_init.c | 152 +++- libavutil/parseutils.c| 176

Re: [FFmpeg-devel] [PATCH 2/5] fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils

2023-12-13 Thread Thilo Borgmann via ffmpeg-devel
Am 13.12.23 um 13:08 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-13 13:05:35) Am 13.12.23 um 13:00 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-11 16:07:22) --- fftools/ffmpeg.h | 31 +-- fftools/ffmpeg_enc.c | 3

Re: [FFmpeg-devel] [PATCH 2/5] fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils

2023-12-13 Thread Thilo Borgmann via ffmpeg-devel
Am 13.12.23 um 13:39 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-13 13:15:27) Am 13.12.23 um 13:08 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-13 13:05:35) Am 13.12.23 um 13:00 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/libjxlenc: Move JxlBasicInfo to LibJxlEncodeContext

2023-12-13 Thread Zsolt Vadász via ffmpeg-devel
On Tuesday, December 12th, 2023 at 9:17 PM, Leo Izen wrote: > On 12/11/23 12:05, Zsolt Vadász via ffmpeg-devel wrote: > > > --- > > libavcodec/libjxlenc.c | 45 +- > > 1 file changed, 23 insertions(+), 22 deletions(-) > >

Re: [FFmpeg-devel] [PATCH 2/5] fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils

2023-12-13 Thread Thilo Borgmann via ffmpeg-devel
Am 13.12.23 um 17:28 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-13 13:50:09) Am 13.12.23 um 13:39 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-13 13:15:27) Am 13.12.23 um 13:08 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg

[FFmpeg-devel] [PATCH v2 0/1] avcodec/libjxlenc: Add libjxl_animated encoder

2023-12-13 Thread Zsolt Vadász via ffmpeg-devel
s(+), 39 deletions(-) -- 2.43.0 _______ 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".

[FFmpeg-devel] [PATCH v2 1/1] avcodec/libjxlenc: Add libjxl_animated encoder

2023-12-13 Thread Zsolt Vadász via ffmpeg-devel
e_init, +FF_CODEC_ENCODE_CB(libjxl_animated_encode_frame), +.close = libjxl_encode_close, +.p.capabilities = AV_CODEC_CAP_OTHER_THREADS | +AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE | +AV_CODEC_CAP_DELAY, +.caps_internal= FF_CODEC_CAP_NOT_INIT_THREADSAFE | +FF_CODEC_CAP_AUTO_THREADS | FF_CODEC_CAP_INIT_CLEANUP | +FF_CODEC_CAP_ICC_PROFILES | FF_CODEC_CAP_EOF_FLUSH, +.p.pix_fmts = libjxl_pix_fmts, .p.priv_class = &libjxl_encode_class, .p.wrapper_name = "libjxl", }; -- 2.43.0 ___ 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".

Re: [FFmpeg-devel] [FFmpeg-cvslog] fftools/ffmpeg: convert to a threaded architecture

2023-12-14 Thread Thilo Borgmann via ffmpeg-devel
11 [opt] frame #7: 0x00010002aeb8 ffmpeg_g`main(argc=, argv=) at ffmpeg.c:1050 [opt] frame #8: 0x000102c1908c dyld`start + 520 -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".

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_sched: actually initialize/destroy schedule_lock

2023-12-14 Thread Thilo Borgmann via ffmpeg-devel
Am 14.12.23 um 10:17 schrieb Anton Khirnov: --- fftools/ffmpeg_sched.c | 6 ++ 1 file changed, 6 insertions(+) Fixes --assert-level=2 for me. LGTM. -Thilo ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman

Re: [FFmpeg-devel] [PATCH 2/5] fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils

2023-12-14 Thread Thilo Borgmann via ffmpeg-devel
Am 14.12.23 um 06:23 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-13 19:17:04) Am 13.12.23 um 17:28 schrieb Anton Khirnov: It is bad practice to design library features around the needs and limitations of a single specific caller. The callers here would be the CLI

Re: [FFmpeg-devel] [PATCH 2/5] fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils

2023-12-14 Thread Thilo Borgmann via ffmpeg-devel
Am 14.12.23 um 18:51 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-14 11:34:11) Am 14.12.23 um 06:23 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-13 19:17:04) Am 13.12.23 um 17:28 schrieb Anton Khirnov: It is bad practice to design library

[FFmpeg-devel] [PATCH 0/2] avfilter: Add fsync filter

2023-12-14 Thread Thilo Borgmann via ffmpeg-devel
Synchronize video frames with an external mapping from a file. Follows up on the idea in https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2023-January/305986.html implemented as a filter. Not storing the frame map in a probably huge string but buffering piece-wise. Using a fixed format string

[FFmpeg-devel] [PATCH 1/2] avfilter: Add fsync filter

2023-12-14 Thread Thilo Borgmann via ffmpeg-devel
MT_NONE +}; + +static const AVFilterPad avfilter_vf_fsync_outputs[] = { +{ +.name = "default", + .type = AVMEDIA_TYPE_VIDEO, +.config_props = fsync_config_props, + }, +}; + +const AVFilter ff_vf_fsync = { +.name = "fsync", +.description = NULL_IF_CONFIG_SMALL("Synchronize video frames from external source."), +.init = fsync_init, +.uninit= fsync_uninit, +.priv_size = sizeof(FsyncContext), +.priv_class= &fsync_class, +.activate = activate, +FILTER_PIXFMTS_ARRAY(pix_fmts), +FILTER_INPUTS(ff_video_default_filterpad), +FILTER_OUTPUTS(avfilter_vf_fsync_outputs), +.flags = AVFILTER_FLAG_METADATA_ONLY, +}; -- 2.37.1 (Apple Git-137.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".

[FFmpeg-devel] [PATCH 2/2] fate: Add fsync filter tests

2023-12-14 Thread Thilo Borgmann via ffmpeg-devel
56, 56,1, 115200, 0xe00dd55d -- 2.37.1 (Apple Git-137.1) ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected]

Re: [FFmpeg-devel] [PATCH] avfoundation: Fix version checks

2023-12-15 Thread Thilo Borgmann via ffmpeg-devel
^ Alternatively, we could use these more modern APIs, if enclosed in suitable @available() checks. --- libavdevice/avfoundation.m | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) Pushed, thanks! -Thilo _______ ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avfoundation: Fix version checks

2023-12-15 Thread Martin Storsjö via ffmpeg-devel
would need to check the FATE status as well.) // Martin ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject

Re: [FFmpeg-devel] [PATCH] avfoundation: Fix version checks

2023-12-15 Thread Thilo Borgmann via ffmpeg-devel
Am 15.12.23 um 12:32 schrieb Martin Storsjö via ffmpeg-devel: On Fri, 15 Dec 2023, Zhao Zhili wrote: On Dec 15, 2023, at 18:11, Martin Storsjö wrote: _VERSION_MAX_ALLOWED indicates what version is available in the SDK, while _VERSION_MIN_REQUIRED is the version we can assume is available

<    8   9   10   11   12   13   14   15   16   17   >