From: "Rémi Denis-Courmont via ffmpeg-devel" <ffmpeg-devel@ffmpeg.org>
To: hezuoqiang--- via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>
Cc: "Zuoqiang He" <hezuoqiang@foxmail.com>,
"Rémi Denis-Courmont" <remi@remlab.net>
Subject: [FFmpeg-devel] Re: [PATCH] libavformat/nal: add ARM NEON optimization for ff_nal_find_startcode
Date: Tue, 13 Jan 2026 12:26:18 +0200
Message-ID: <2154BAC0-A450-438A-AE4B-67DCD5024002@remlab.net> (raw)
In-Reply-To: <tencent_026CA6CE06D7A38980C06A478A88DA0A0406@qq.com>
Nihao,
There already is a hook for this purpose under h264dsp, and it's already used on some other ISAs. So there should be no need to add a new one.
It's also probably faster to just look for a nul byte in assembler and let the C code manually check for the full 32-bit start code. This is basically just `strnlen()`.
Br,
_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org
prev parent reply other threads:[~2026-01-13 10:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-13 2:03 [FFmpeg-devel] " hezuoqiang--- via ffmpeg-devel
2026-01-13 2:48 ` [FFmpeg-devel] " Zhao Zhili via ffmpeg-devel
2026-01-13 10:26 ` Rémi Denis-Courmont via ffmpeg-devel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2154BAC0-A450-438A-AE4B-67DCD5024002@remlab.net \
--to=ffmpeg-devel@ffmpeg.org \
--cc=hezuoqiang@foxmail.com \
--cc=remi@remlab.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git