From f049051c89be6d653d17568de27f9116024569d0 Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Sun, 19 Jul 2026 16:00:30 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20full-platform=20support=20pointer=20?= =?UTF-8?q?=E2=86=92=20mcpp-index=20plan?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../docs/2026-07-19-full-platform-support.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .agents/docs/2026-07-19-full-platform-support.md diff --git a/.agents/docs/2026-07-19-full-platform-support.md b/.agents/docs/2026-07-19-full-platform-support.md new file mode 100644 index 0000000..1e400c2 --- /dev/null +++ b/.agents/docs/2026-07-19-full-platform-support.md @@ -0,0 +1,18 @@ +# ffmpeg-m — full-platform (macOS + Windows) support + +This repo's module layer (`import ffmpeg.av;` + per-lib modules) is +platform-neutral. Full-platform support is gated on **`compat.ffmpeg` gaining +macOS/Windows config snapshots** (a mcpp-index concern). + +**Authoritative plan:** `mcpp-index/.agents/docs/2026-07-19-full-platform-support-plan.md`. + +Key ffmpeg-specific points: +- macOS-arm64: `./configure --cc= --disable-autodetect` works; SIMD + becomes aarch64 GAS `.S` (no NASM) — mcpp `.S`-on-macOS is the #1 de-risk (R2). + Drop `config.asm`/`config_components.asm` (NASM-only) for non-x86. +- Windows-x86_64: **highest risk** — configure needs MSYS2/bash, MSVC-ABI target, + and clang-MSVC must compile ~2100 FFmpeg C TUs (no precedent). Spike-gated. +- The compat descriptor + generators live in mcpp-index `tools/compat-ffmpeg/` + (moved there); this repo only widens `platforms` + CI as platforms land. +Sequencing: compat.ffmpeg-macOS is the FIRST real target (also unblocks +opencv videoio on macOS).