比较提交

..
作者 SHA1 备注 提交日期
mac 5252296b7b Record verified Dayu Color 1.13.2 integrity delivery 2026-11-05 23:16:30 +08:00
mac db6b2b05b3 Reject modified Dayu Color bundles at registration, service startup and update 2026-11-05 23:06:15 +08:00
mac a7508203d1 Record Dayu Color re-signing protection assessment 2026-11-05 22:55:59 +08:00
mac 38afc087d5 Verify and record published 1.13.1 pixel clone installer 2026-11-05 22:34:12 +08:00
mac 46153a26ed Record signed pixel clone build and Final Cut Pro validation 2026-11-05 22:31:22 +08:00
mac 1659f3d385 Clone original pixels by translation and keep the tracked footprint stable 2026-11-05 22:21:25 +08:00
mac dff9134be7 Keep the clone identity through the host test document replacement 2026-11-05 22:12:43 +08:00
mac 1f1b7917e7 Make the clone source crosshair draggable without changing target tracks 2026-11-05 22:09:33 +08:00
mac 4fb008e100 Verify and record published 1.13.0 installer 2026-11-05 22:08:05 +08:00
mac 07601e50bf Record signed clone stamp release and Final Cut Pro acceptance 2026-11-05 22:04:20 +08:00
mac 9977b5c41b Draw a portable clone stamp glyph for the formal host 2026-11-05 21:53:44 +08:00
mac ca8a5433d3 Cover clone creation and tracking through real canvas callbacks 2026-11-05 21:47:25 +08:00
mac 213d01dbd8 Verify the stamp toolbar and skip unrelated film state work 2026-11-05 21:44:30 +08:00
mac 0782b5e654 Add tracked clone stamps and reduce canvas redraw work 2026-11-05 21:42:16 +08:00
mac 504e08e425 Add project handoff and require updates after every task 2026-11-05 19:14:44 +08:00
mac bbb258e495 Record published 1.12.1 installer and verify remote recovery 2026-11-05 18:31:22 +08:00
mac 9f0adbeb3b Record signed 1.12.1 host acceptance and notarized installer 2026-11-05 18:15:19 +08:00
mac 43320c7ccd Keep the attached inspector header visible and refresh its curve histogram from output 2026-11-05 18:00:53 +08:00
mac 54ca7150f8 Record Final Cut Pro library-save triage and local diagnostic signals 2026-11-05 17:42:33 +08:00
mac 65e4c02bd0 Read built-in white balance directly from host parameters 2026-11-05 17:09:43 +08:00
mac fb21dabc08 Link white-balance solver declarations into native acceptance checks 2026-11-05 17:06:50 +08:00
mac e241f2a3e5 Encode canvas pick timing with macOS CoreMedia dictionaries 2026-11-05 17:05:10 +08:00
mac c9bd52fff5 Use typed CMTime values for canvas white-balance events 2026-11-05 17:02:00 +08:00
mac 585c83c8a1 Implement adaptive inspector and responsive canvas controls for 1.12.1 2026-11-05 17:01:00 +08:00
mac 91b66eb2d8 Record verified 1.12.0 article and beta update publication 2026-11-05 16:10:06 +08:00
mac ee14dd9185 Prepare article and beta update feed for Dayu Color 1.12.0 build 79 2026-11-05 15:58:29 +08:00
mac b77226b7e6 release: finalize 1.12.0 download verification, recovery and generated-copy cleanup 2026-11-05 12:47:39 +08:00
mac b72e6b3172 release: preserve signed notarized 1.12.0 build 79 package and recovery instructions 2026-11-05 12:40:09 +08:00
mac 4ba65f1bde docs: accept notarized build 79 and prepare unified workspace release notes 2026-11-05 12:38:11 +08:00
mac beccf2fc01 feat: add recent LUT shortcuts and move canvas controls to the lower corners 2026-11-05 12:25:26 +08:00
mac 16b20af39a test: record real host acceptance and exact CF trajectory comparison for build 78 2026-11-05 12:12:54 +08:00
mac 8bbd386abb chore: preserve notarized build 78 installation and 831 native checks 2026-11-05 12:01:44 +08:00
mac df6bf52f32 test: resolve authored pen masks by identity and prepare boundary-fix build 78 2026-11-05 11:16:49 +08:00
mac 8ac7ca43da fix: preserve last-frame canvas curve and pen edits across the host out-point boundary 2026-11-05 11:12:25 +08:00
mac dad77aff77 fix: align paused scope requests at the exclusive clip end to the final visible frame 2026-11-05 11:07:17 +08:00
mac b60ae3e45b wip: adapt workspace groups and LUT grid, add skin-tone guide and host write diagnostics 2026-11-05 10:54:59 +08:00
mac 331e3ff315 docs: preserve build 76 delivery and native verification before host feedback fixes 2026-11-05 10:45:44 +08:00
mac b8a003970a fix: replay cached final-output scopes when opening a paused workspace 2026-11-05 10:22:40 +08:00
mac 411900b928 fix: fit mask tracking controls and restore editable numeric fields in workspace 2026-11-05 10:13:09 +08:00
mac 0ef847f6bb fix: bound vector-scope coordinates before rounding extreme samples 2026-11-05 09:57:59 +08:00
mac ded1f22be8 fix: stabilize inspector refresh and finalize compact workspace candidate 75 2026-11-05 09:56:52 +08:00
mac 1396d5b7bf wip: replace workspace tabs with horizontal layer-driven editing and persistent four-up scopes 2026-11-05 09:48:46 +08:00
mac 57059390d1 wip: restore canvas icon buttons, retain closing pen path and add vector sampling 2026-11-05 09:30:31 +08:00
mac 38e11aa103 plan: adopt user-reviewed horizontal workspace with persistent four scopes 2026-11-05 09:26:52 +08:00
mac bf25c6c9c1 delivery: prepare package inputs while user performs formal host acceptance 2026-11-05 09:19:50 +08:00
mac bc974bc394 handoff: preserve pending host acceptance after repeated Mac lock-screen blocker 2026-11-05 04:26:47 +08:00
mac a6910ebff4 fix: preserve scene identifier while decoding native preset versions 2026-11-05 04:25:33 +08:00
mac 606544820f research: verify native preset stream and prepare bounded trajectory reader 2026-11-05 04:24:51 +08:00
mac 2d162a8fc5 checkpoint: notarized 1.12.0 candidate, host verification awaiting Mac unlock 2026-11-05 04:15:01 +08:00
mac 226b7e1e93 fix: own split resizing and verify unclipped native layer controls 2026-11-05 04:10:50 +08:00
mac a9cf2eda29 fix: start workspace as a narrow strip and keep native row controls visible 2026-11-05 04:01:21 +08:00
mac a0a97dfd88 fix: align tracker preprocessing and shared object lifecycle with native evidence 2026-11-05 03:49:21 +08:00
mac 9ba6eeb00a fix: keep remote workspace geometry owned by FCP 2026-11-05 03:30:47 +08:00
mac 385fb47f14 feat: finalize compact canvas shared-mask drawing and workspace synchronization 2026-11-05 03:28:48 +08:00
mac ca352248c1 feat: WIP unified workspace shared mask objects and OpenCV tracker core 2026-11-05 03:16:17 +08:00
mac 78e53b3889 docs: establish unified workspace baseline and shared mask contract 2026-11-05 03:05:02 +08:00
mac b33b9634e2 docs: refresh canvas control handoff for accepted 1.11.0 2026-11-05 02:33:13 +08:00
mac 1144a89214 release: verify published 1.11.0 downloads recovery and cleanup 2026-11-05 02:23:49 +08:00
mac 5f8fb13fce release: accept 1.11.0 host tests and finalize notarized package 2026-11-05 02:19:32 +08:00
mac 4f7450bfec release: preserve signed notarized 1.11.0 package pending host acceptance 2026-11-05 02:14:17 +08:00
mac d2875fe86c docs: preserve formal host discovery and pending mouse acceptance evidence 2026-11-05 02:12:00 +08:00
mac 1835ecc2a2 docs: explain canvas graphics, face selection and lens workflow for 1.11.0 2026-11-05 02:07:46 +08:00
mac fdfcbd8ba9 docs: record notarized 1.11.0 candidate and prepare native host acceptance fixtures 2026-11-05 02:03:43 +08:00
mac 49d35cb49a fix: retain compact folded defaults after resetting all tools 2026-11-05 01:54:19 +08:00
mac 2711e0016e release: prepare 1.11.0 canvas tools and rebuild native template metadata 2026-11-05 01:51:03 +08:00
mac 1c3e294ce9 fix: protect async preview lifetime and validate real canvas and spatial tools 2026-11-05 01:42:34 +08:00
mac a3bd2ceb26 feat: wire canvas HSL and spider editors, face support and lens repair (validation pending) 2026-11-05 01:28:18 +08:00
mac e2aa0bd9a1 docs: save canvas tools and face protection implementation contract 2026-11-05 01:16:23 +08:00
mac 5224e404f5 docs: add custom canvas control development handoff 2026-11-04 23:57:02 +08:00
mac 302b75710b release: save article verification, tag recovery and blocked draft publication state 2026-11-04 23:13:05 +08:00
mac c0e6f3be0a release: record verified 1.10.0 urgent UI article and accepted host delivery 2026-11-04 23:08:04 +08:00
mac 10a14a8c62 docs: prepare urgent UI article update with original dark and light screenshots 2026-11-04 23:04:39 +08:00
mac 6dd29caa3d docs: preserve new UI screenshots and generated emergency update cover 2026-11-04 23:02:40 +08:00
mac d7d33fd8c6 release: record signed notarized build72 package and urgent UI update notes 2026-11-04 22:51:21 +08:00
mac ade118e284 verify: accept physical curve undo LUT and live scope checks; clean old app copies 2026-11-04 22:42:24 +08:00
mac 201152d3e0 verify: record protected rollback copies while physical workspace checks are pending 2026-11-04 22:28:38 +08:00
mac cccc51ff7a verify: record notarized build72 and native layouts; preserve pending physical host checks 2026-11-04 22:26:29 +08:00
mac 80dec904be test: inspect the workspace close button without invoking its close action 2026-11-04 22:14:01 +08:00
mac b216cebc70 fix: clip remote workspace backgrounds so page controls remain visible; build72 2026-11-04 22:10:25 +08:00
mac 5cf4ba75b3 fix: validate LUT paths and verify independent layer writes after host commit 2026-11-04 22:00:35 +08:00
mac fe8b298c33 fix: preserve curve layer selection across frame gaps and keep canvas controls reachable; prepare 1.10.0 build71 2026-11-04 21:56:32 +08:00
mac 031c704f0f feat: add vertical canvas editors and host-owned scopes LUT workspace; boundary review in progress 2026-11-04 21:51:44 +08:00
mac 0dfb838b39 docs: preserve build70 package and specify canvas workspace redesign 2026-11-04 21:36:20 +08:00
mac 7f2cef5c58 verify: accept physical panel movement and tool switching; clean superseded app copies 2026-11-04 21:21:20 +08:00
mac 92a90e6b33 verify: record notarized movable viewer build70 and independent remote source recovery 2026-11-04 20:47:08 +08:00
mac 30d413dc42 fix: make the viewer panel movable and show all fourteen tools directly 2026-11-04 20:40:36 +08:00
mac 0597c8f4dd verify: record installed viewer candidate and remote recovery; await physical pointer acceptance 2026-11-04 19:58:43 +08:00
mac 0ab448d04f fix: anchor canvas controls within the host image viewport 2026-11-04 19:46:52 +08:00
mac cc037340bf feat: add native on-screen grading controls with isolated live parameter gestures 2026-11-04 19:36:25 +08:00
mac 61248ab9f5 docs: save baseline and scope for on-screen interaction migration 2026-11-04 19:16:45 +08:00
mac ac9180e47c verify: publish Release386 and finish two-mode recovery and cleanup 2026-11-04 14:43:38 +08:00
mac def8c2f638 release: record signed notarized 1.8.5 (67) light-dark package 2026-11-04 14:32:31 +08:00
mac 642817e782 verify: accept two-mode 1.8.5 (67) and final unchanged grading preset 2026-11-04 14:27:53 +08:00
mac d39004c26a feat: remove legacy themes and expose only labeled light-dark controls 2026-11-04 14:17:48 +08:00
mac ebb67af1bc docs: narrow appearance to light and dark only; preserve superseded 66 package evidence 2026-11-04 14:14:37 +08:00
mac b0ef44b496 verify: accept dual relief 1.8.5 (66) and preserve grade across theme changes 2026-11-04 14:10:37 +08:00
mac 07a3f7bd4d feat: pair approved ice-blue UI with obsidian glow relief theme 2026-11-04 14:00:24 +08:00
mac c6d40d2f4d docs: preserve approved light 65 and add matching dark relief scope 2026-11-04 13:58:33 +08:00
mac 39676664f7 verify: accept ice-blue 1.8.5 UI, cold reopen and unchanged grade in FCP 2026-11-04 13:57:06 +08:00
mac 09e04ca647 fix: deepen ice-blue labels after measured contrast check 2026-11-04 13:47:24 +08:00
mac 77856a1334 feat: add ice-blue relief UI with reflective button and module rims 2026-11-04 13:45:21 +08:00
mac 6ea931a991 docs: preserve 1.8.4 baseline and define ice-blue relief design 2026-11-04 13:40:49 +08:00
mac ab63b25f88 verify: publish Release385 and finish refined UI recovery and cleanup 2026-11-04 13:01:33 +08:00
mac fe7ddbd6f8 release: record refined 1.8.4 package and recovery instructions 2026-11-04 12:57:47 +08:00
mac 8c62e4b5bd verify: accept refined 1.8.4 (64) UI and unchanged preset in FCP 2026-11-04 12:55:58 +08:00
mac 55b66a358c feat: emphasize module headers and layer actions on the approved dark base 2026-11-04 12:48:30 +08:00
mac 2ba0a415ae verify: record approved graphite base and requested module button emphasis 2026-11-04 12:48:28 +08:00
mac 998a983884 fix: unify graphite surfaces and preserve the approved pink cyan primary action 2026-11-04 12:41:28 +08:00
mac 8e00968bf0 docs: establish restrained palette baseline from approved save button 2026-11-04 12:41:25 +08:00
mac 0328399f52 verify: publish Release384, verify downloaded package and finish recovery cleanup 2026-11-04 12:32:10 +08:00
mac a06a3a3914 release: record signed 1.8.3 package and updated neon histogram handoff 2026-11-04 12:28:23 +08:00
mac c55f3343ea verify: accept notarized multicolor 1.8.3 (62) in FCP with unchanged preset 2026-11-04 12:27:10 +08:00
mac 3fd0152240 fix: use saturated multicolor module gradients without gray surfaces 2026-11-04 12:20:20 +08:00
mac 94151cad7d docs: record rejection of neutral gray surfaces for neon theme 2026-11-04 12:19:19 +08:00
mac 335ef7a5ee fix: balance neon colors on neutral blue gray surfaces 2026-11-04 12:13:54 +08:00
mac 386e6d228b verify: retain candidate60 notarization and incorporate multicolor feedback 2026-11-04 12:13:52 +08:00
mac bea51d2297 feat: add neon palette and sampled RGB luma histogram behind curves 2026-11-04 12:06:47 +08:00
mac 3373a5365e docs: save neon UI and histogram implementation baseline 2026-11-04 12:04:01 +08:00
mac fa82014266 docs: hand off 1.8.2 color pipeline, black-gold UI and release workflow 2026-11-04 11:52:03 +08:00
mac 504e6d98e3 verify: publish Release383, download hashes and final product cleanup 2026-11-04 11:01:49 +08:00
mac f4bacfbd75 docs: publish black-gold release notes and recovery instructions 2026-11-04 10:58:37 +08:00
mac 6031b3bafb release: record 1.8.2 signed package, FCP cold reopen and remote rebuild 2026-11-04 10:57:55 +08:00
mac b2922811f9 verify: notarized 1.8.2 (59) installed; FCP themes and non-mutating settings passed 2026-11-04 10:55:01 +08:00
mac da03d16c7e test: check rendered gold pull-down caption pixels 2026-11-04 10:49:29 +08:00
mac 64ebd20d54 fix: show pull-down caption in gold theme; rebuild as 1.8.2 (59) 2026-11-04 10:49:03 +08:00
mac 870f0064c2 fix: compile gold popup arrow under Objective-C++ 2026-11-04 10:45:17 +08:00
mac 1eacf595fc feat: collapse advanced color settings and add default black-gold theme (1.8.2) 2026-11-04 10:44:57 +08:00
mac 4d88c93b93 Record compact color-settings and black-gold UI contract 2026-11-04 10:37:57 +08:00
mac 12fdde332f Verify published 1.8.1 downloads, tagged-source recovery and final cleanup 2026-11-04 08:27:04 +08:00
mac d0eadccc29 Clarify tagged package provenance and post-publication Release records 2026-11-04 08:23:14 +08:00
mac 0d286c3924 Package notarized 1.8.1 (57) CST correction for versioned Release 2026-11-04 08:22:42 +08:00
mac 24520e7848 Verify formal 57 CMS, legacy preset preservation, cold reopen and remote rebuild 2026-11-04 08:22:03 +08:00
mac 0592458580 Preserve nil-state FCP projects: withdraw automatic template opt-in after host regression 2026-11-04 08:07:32 +08:00
mac 072bf881b9 Fix primary CST working domains and delayed output; 581 checks pass; seed new effects explicitly 2026-11-04 08:01:39 +08:00
mac d5aba63b4e Restore workspace inheritance and declared Cube output; extend CMS regressions (validation ongoing) 2026-11-04 07:53:14 +08:00
mac 0b1b4454b4 WIP restore primary CST controls and defer main output; shader and Release build pass 2026-11-04 07:46:31 +08:00
mac 2cf93fafe5 Record correction contract: restore primary CST and defer main output 2026-11-04 07:42:45 +08:00
mac aa9a8d24f2 Verify CMS Release downloads and remote restore; finish generated-copy cleanup 2026-11-03 13:22:41 +08:00
mac a5a2bddeb3 Deliver notarized 1.8.0 build 55 CMS with 530 checks, FCP recovery tests and signed PKG evidence 2026-11-03 13:18:07 +08:00
mac 11a8851828 Preserve NSError across render pools and prepare input LUT before mode activation; build 55 2026-11-03 13:07:42 +08:00
mac 8bd2ba91fa Use float tetrahedral input LUT interpolation after identity-LUT regression exposed hardware quantization 2026-11-03 12:59:18 +08:00
mac 9f5c9a1237 Polish CMS input LUT feedback and add direct LUT-path regression; prepare build 54 2026-11-03 12:57:50 +08:00
mac 54e68b4810 Add ACES CMS regression coverage and 1.8.0 Release candidate; 527 native checks passed 2026-11-03 12:51:23 +08:00
mac bb5ede7be4 WIP: integrate opt-in ACES renderer and inspector; Release compiles, regression validation pending 2026-11-03 12:44:08 +08:00
mac 70a50ab445 WIP: add pinned public CMS runtime and versioned color state; renderer integration pending 2026-11-03 12:37:59 +08:00
mac 5b8ef04f7e Document target CMS evidence, reversible transport limits and a versioned upgrade plan 2026-11-03 11:49:02 +08:00
mac a1e49e2eb5 Add identity-bound GPU observations for BASIS, CST and the current primary color kernel 2026-11-03 11:44:25 +08:00
mac d0b4e9d2ba Publish 1.7.4 installer, verify complete Release and article downloads, and record recovery 2026-11-03 00:05:03 +08:00
mac 468d530bf0 Verify 1.7.4 module deletion in the installed notarized build and package the release 2026-11-03 00:01:09 +08:00
mac 06a00371df Defer deletion accessibility updates until the remote action has unwound (build 52) 2026-11-02 23:50:37 +08:00
mac c18a0890ed Cache module-removal descriptor ownership and verify hidden shared skin shortcut 2026-11-02 23:41:24 +08:00
mac 72a0269fe7 Keep shared skin controls owned by the skin module when deleting basic adjustment (build 51) 2026-11-02 23:37:51 +08:00
mac 85ec27d49f Use existing preset snapshot selector in deletion checks and add isolated host fixtures 2026-11-02 23:28:02 +08:00
mac 5212187cc8 Add deletion regressions for fourteen modules, animation reset, fresh re-add and neutral rendering 2026-11-02 23:26:23 +08:00
mac 48b3e2d033 Add on-header deletion with parameter reset and persistent removal of native modules (WIP 1.7.4) 2026-11-02 23:21:00 +08:00
mac 4d2a71d9e2 Publish verified 1.7.3 article package and save release, recovery and cleanup records 2026-11-02 22:57:49 +08:00
mac f2038f12eb Verify More Space host repair, notarized 1.7.3 installer and source recovery 2026-11-02 22:50:45 +08:00
mac 2688b22f99 Align displaced remote content origin through AppKit coordinate conversion (build 49) 2026-11-02 22:41:37 +08:00
mac 3ba2c0b823 Add opt-in local remote geometry sampling for More Space reproduction (build 48) 2026-11-02 22:34:33 +08:00
mac 2360ec5c91 Record remaining 1.7.2 More Space remote-window issue and evidence limits 2026-11-02 22:29:45 +08:00
mac 67beeda7e1 Publish verified 1.7.2 article installer and save release recovery and cleanup records 2026-11-02 21:59:24 +08:00
mac 7720d9a042 Verify notarized 1.7.2 browser window fix, native host and signed installer 2026-11-02 21:51:54 +08:00
mac f9dea76a45 Respect FxRemoteWindow geometry and follow host content bounds in LUT browser 2026-11-02 21:42:20 +08:00
mac e62d5532f2 Update published article 15792 to the verified 1.7.1 installer and LUT compatibility notes 2026-11-02 21:32:26 +08:00
mac 5f25034506 Save published article baseline and 1.7.1 package update request 2026-11-02 21:29:29 +08:00
mac 04d74e1dd2 Record verified 1.7.1 Release download, tag recovery and cleanup 2026-11-02 20:25:54 +08:00
mac 14cca24de6 Verify notarized 1.7.1 installation, original LUT import and signed installer 2026-11-02 20:21:47 +08:00
mac 58a17de438 Support text-annotated Cube rows with Custom LUT zero-fill compatibility 2026-11-02 20:13:29 +08:00
mac 5c547100c1 Verify user-published article, final graphics and Keychain command publishing connection 2026-11-02 18:49:25 +08:00
mac ff6f64df21 Save exact article draft 15792 with final media URLs and member-free 50-yuan resource settings 2026-11-02 18:07:12 +08:00
mac 64035c739c Integrate real inspector design into price-free article cover and feature artwork 2026-11-02 18:03:41 +08:00
mac f0f0eaf54a Prepare 50-yuan member-free beta article, generated cover and verified FxPlug installation guide 2026-11-02 17:54:49 +08:00
mac 46aa458691 Complete beta generated-copy cleanup and record remote recovery disposal 2026-11-02 17:47:15 +08:00
mac fcda64deb3 Record beta release recovery, current user workflow and complete production delivery documentation 2026-11-02 17:45:23 +08:00
共修改 362 个文件,包含 56238 行新增和 1533 行删除

没有与搜索条件相匹配的文件

+15
查看文件
@@ -0,0 +1,15 @@
# 大鱼调色项目规则
本文件适用于当前 Git 仓库及其子目录。沿用本机全局开发、正式交付和 Git 备份约定。
## 接手
- 新对话先读 [开发交接.md](开发交接.md) 的当前基线和待跟进事项。核对实际工作区、分支、远端、正式安装版本和交付锁,再依据用户本轮要求继续。
- 按范围查阅专项交接、`verification/` 和 [RECOVERY.md](RECOVERY.md)。旧版本文档用于查找历史,当前状态以实际结果和对应版本的验证记录为准。
## 每次任务结束都要更新交接
- 无论本轮是开发、排查、发布、纯文档工作,还是暂时受阻,结束前都在 [开发交接.md](开发交接.md) 记录本轮工作。更新受影响的当前基线和待跟进事项,保留前序任务记录。
- 写清任务日期与目标、实际完成的改动和关键路径、验证结果及覆盖范围、交付状态,以及仍待处理的事项和接手第一步。涉及发行时分别标明实际编译提交、版本标签、本机安装、Git Release、站点文章和主 APP 更新通道,注明对应版本和核验依据。
- 区分本机实测、用户确认、自动检查与尚待复现的反馈。保留有助于继续排查的限制、假设和阻塞,引用已有报告。凭据、用户素材和未脱敏日志留在各自受控位置。
- 在本轮结束前按 Git 约定提交交接文档,推送并回读远端。最后回复附上交接入口;远端核验受阻时注明本地提交与具体原因。
+104
查看文件
@@ -0,0 +1,104 @@
#pragma once
#include "DYPremultiplied.h"
#include <memory>
#include <span>
#include <string>
#include <vector>
// Independent from the frozen grade ABI. Values are Dayu-owned, append-only IDs.
namespace dycm {
inline constexpr unsigned Version = 1;
inline constexpr const char *Engine = "OpenColorIO-2.5.2";
inline constexpr const char *Config = "studio-config-v2.2.0_aces-v1.3_ocio-v2.4";
enum class Space : unsigned {
ACES2065=1, ACEScg=2, ACEScc=3, ACEScct=4,
Linear709=10, Gamma22_709=11, SRGB=12, Linear2020=13,
AppleLog=100, ARRI_LogC3=101, ARRI_LogC4=102, BMD_Gen5=103,
CanonLog2=104, CanonLog3=105, PanasonicVLog=106, REDLog3G10=107,
SonySLog3=108, SonySLog3Cine=109, SonyVeniceSLog3=110, SonyVeniceSLog3Cine=111,
DaVinciIntermediate=112
};
enum class Output : unsigned {
Rec709_100=1, SRGB_100=2, DisplayP3_100=3, Rec709D60_100=4,
Rec2020_100=5, Rec2020PQ_1000=6, Rec2020HLG_1000=7,
P3D60_48=8, P3DCI_48=9, P3D65_48=10
};
enum class Alpha { Straight, Premultiplied };
struct SpaceInfo { Space id; const char *label; const char *ocioName; };
struct OutputInfo { Output id; const char *label; const char *display; const char *view; };
std::span<const SpaceInfo> spaces();
std::span<const OutputInfo> outputs();
const SpaceInfo &spaceInfo(Space);
const OutputInfo &outputInfo(Output);
struct Settings {
unsigned version=Version;
bool enabled=false;
Space input=Space::ACEScg, working=Space::ACEScct;
Output output=Output::Rec709_100;
// Explicit scene-domain LMT, before the display/output transform.
bool referenceGamutCompression=false;
void validate() const;
std::string key() const;
};
struct ShaderTexture {
unsigned dimensions=0,width=0,height=0,depth=0,channels=0;
bool linear=false;
std::vector<float> values;
};
struct MetalProgram {std::string source;std::vector<ShaderTexture> textures;};
// Immutable processor, independent of OCIO environment variables and monitor state.
// A no-op never normalizes or unpremultiplies pixels (including hidden RGB).
class Transform {
public:
static Transform identity();
static Transform convert(Space from, Space to);
static Transform display(Space from, Output to, bool gamutCompression=false);
bool isIdentity() const;
const std::string &key() const;
void apply(std::span<DYCompositeRGBA> pixels, Alpha alpha) const;
// Shader resources are copied from the fixed built-in config; no filesystem
// LUT loading, process-global config, or dynamic uniform is allowed here.
MetalProgram metalProgram() const;
private:
struct Impl;
std::shared_ptr<const Impl> impl;
explicit Transform(std::shared_ptr<const Impl>);
};
struct Plan {
Settings settings;
Transform input, output;
static Plan compile(const Settings &);
std::string key() const;
};
enum class FrameStage : unsigned { Input, Output, ToLinear, FromLinear, Count };
enum class ToolDomain : unsigned { Working, Linear, Segmented };
// An immutable platform profile conversion at a frame boundary. This interface
// keeps host ICC objects out of archives and the portable grading engine.
class PhysicalTransform {
public:
virtual ~PhysicalTransform() = default;
virtual bool isIdentity() const = 0;
virtual void apply(std::span<DYCompositeRGBA>, Alpha) const = 0;
virtual std::string key() const = 0;
};
// The frame executor depends on this immutable contract, not on OCIO itself.
// Header-only legacy render tests therefore do not acquire a runtime dependency.
class FramePipeline {
public:
virtual ~FramePipeline() = default;
virtual void validate() const = 0;
virtual const Settings &settings() const = 0;
virtual const Transform &transform(FrameStage) const = 0;
virtual bool isIdentity(FrameStage) const = 0;
virtual void apply(FrameStage, std::span<DYCompositeRGBA>, Alpha) const = 0;
virtual std::string key() const = 0;
// Input boundary runs before the declared input transform; Output runs
// after the complete ODT. Intermediate tool domains have no ICC boundary.
virtual std::shared_ptr<const PhysicalTransform> physicalBoundary(FrameStage) const {return {};}
};
std::shared_ptr<const FramePipeline> compileFramePipeline(const Settings &);
} // namespace dycm
+6
查看文件
@@ -0,0 +1,6 @@
#pragma once
#include <cmath>
struct DYCompositeRGBA {float r,g,b,a;};
inline DYCompositeRGBA dyPMFinite(DYCompositeRGBA p){return {std::isfinite(p.r)?p.r:0,std::isfinite(p.g)?p.g:0,std::isfinite(p.b)?p.b:0,std::isfinite(p.a)?p.a:0};}
inline DYCompositeRGBA dyPMUnpremultiply(DYCompositeRGBA p){float a=p.a>1e-5f?p.a:1e-5f;return dyPMFinite({p.r/a,p.g/a,p.b/a,p.a});}
inline DYCompositeRGBA dyPMPremultiply(DYCompositeRGBA p){return dyPMFinite({p.r*p.a,p.g*p.a,p.b*p.a,p.a});}
+47
查看文件
@@ -0,0 +1,47 @@
{
"sourceRepository": "https://dayu.media/git/dayu/dayu-colorplate.git",
"sourceCommit": "f8950384e514685c8809fe8e8ee2dd5f16ad0bd7",
"files": [
{
"path": "Core/DYColorManagement.hpp",
"sourceSHA256": "78f6c2d5acdb611368370c3c9050d02d3a807f79b6f409906a4be7680a0c3746"
},
{
"path": "Sources/DYColorManagement.cpp",
"sourceSHA256": "68648a1d2b1e4be8d3c59679e47d4b07de239ec2b5196dc1eb99b59af2ba6306"
},
{
"path": "Sources/DYColorManagementGPU.h",
"sourceSHA256": "ed724b0cc73e27d8e238862bad120570939401e27f127d7afaf48c0e198cc4d7"
},
{
"path": "Sources/DYColorManagementGPU.mm",
"sourceSHA256": "dd2c68a3b29baae0cd19b86e224d70a49c222010e6232a56e13d7500285ff1c5"
},
{
"path": "Sources/DYColorManagementState.h",
"sourceSHA256": "5c39f949d83c160977b2cf6793ace991c0d66c81846c29dfd3bc705703b1c514"
},
{
"path": "Sources/DYColorManagementState.mm",
"sourceSHA256": "2e0035b59d0ff028530b0766c07c143b76f12c4b785d404fd7aff1e46ed8d9eb"
},
{
"path": "Sources/DYColorProfile.h",
"sourceSHA256": "38685ea23cbfe5686c1ade7ae8cf2eff231fd222e9d480245d3732ce5fecf7bb"
},
{
"path": "Sources/DYColorProfile.mm",
"sourceSHA256": "ccf1d6bf401c7d11fb4a2a745ee1e399d45cc99b62eba61e3818a582ab8c672c"
},
{
"path": "Tools/build_ocio.py",
"sourceSHA256": "ba1004e4d788590a44ae8ce2e124dcd65ee3b6b50d834cd615013d6355e6500b"
}
],
"adaptations": [
"Dedicated com.dayu.color runtime cache",
"Standalone RGBA/alpha header, excluding unrelated layer engine",
"No dependency on the sibling installed application"
]
}
@@ -0,0 +1,221 @@
#include "../Core/DYColorManagement.hpp"
#include <OpenColorIO/OpenColorIO.h>
#include <array>
#include <algorithm>
#include <stdexcept>
namespace O = OCIO_NAMESPACE;
namespace dycm {
namespace {
constexpr SpaceInfo spaceTable[] = {
{Space::ACES2065,"ACES2065-1 / AP0 线性","ACES2065-1"},
{Space::ACEScg,"ACEScg / AP1 线性","ACEScg"},
{Space::ACEScc,"ACEScc","ACEScc"}, {Space::ACEScct,"ACEScct","ACEScct"},
{Space::Linear709,"Rec.709 线性","Linear Rec.709 (sRGB)"},
{Space::Gamma22_709,"Rec.709 Gamma 2.2","Gamma 2.2 Encoded Rec.709"},
{Space::SRGB,"sRGB","sRGB Encoded Rec.709 (sRGB)"},
{Space::Linear2020,"Rec.2020 线性","Linear Rec.2020"},
{Space::AppleLog,"Apple Log","Apple Log"},
{Space::ARRI_LogC3,"ARRI LogC3 / EI800","ARRI LogC3 (EI800)"},
{Space::ARRI_LogC4,"ARRI LogC4","ARRI LogC4"},
{Space::BMD_Gen5,"Blackmagic Film Gen 5 / Wide Gamut","BMDFilm WideGamut Gen5"},
{Space::CanonLog2,"Canon Log2 / Cinema Gamut D55","CanonLog2 CinemaGamut D55"},
{Space::CanonLog3,"Canon Log3 / Cinema Gamut D55","CanonLog3 CinemaGamut D55"},
{Space::PanasonicVLog,"Panasonic V-Log / V-Gamut","V-Log V-Gamut"},
{Space::REDLog3G10,"RED Log3G10 / REDWideGamutRGB","Log3G10 REDWideGamutRGB"},
{Space::SonySLog3,"Sony S-Log3 / S-Gamut3","S-Log3 S-Gamut3"},
{Space::SonySLog3Cine,"Sony S-Log3 / S-Gamut3.Cine","S-Log3 S-Gamut3.Cine"},
{Space::SonyVeniceSLog3,"Sony Venice S-Log3 / S-Gamut3","S-Log3 Venice S-Gamut3"},
{Space::SonyVeniceSLog3Cine,"Sony Venice S-Log3 / S-Gamut3.Cine","S-Log3 Venice S-Gamut3.Cine"},
{Space::DaVinciIntermediate,"DaVinci Intermediate / Wide Gamut","DaVinci Intermediate WideGamut"}
};
constexpr OutputInfo outputTable[] = {
{Output::Rec709_100,"Rec.709 / 100 nit","Rec.1886 Rec.709 - Display","ACES 1.0 - SDR Video"},
{Output::SRGB_100,"sRGB / 100 nit","sRGB - Display","ACES 1.0 - SDR Video"},
{Output::DisplayP3_100,"Display P3 / 100 nit","Display P3 - Display","ACES 1.0 - SDR Video"},
{Output::Rec709D60_100,"Rec.709 / D60 模拟 / 100 nit","Rec.1886 Rec.709 - Display","ACES 1.0 - SDR Video (D60 sim on D65)"},
{Output::Rec2020_100,"Rec.2020 SDR / 100 nit","Rec.1886 Rec.2020 - Display","ACES 1.0 - SDR Video"},
{Output::Rec2020PQ_1000,"Rec.2020 PQ / 1000 nit","Rec.2100-PQ - Display","ACES 1.1 - HDR Video (1000 nits & Rec.2020 lim)"},
{Output::Rec2020HLG_1000,"Rec.2020 HLG / 1000 nit","Rec.2100-HLG - Display","ACES 1.1 - HDR Video (1000 nits & Rec.2020 lim)"},
{Output::P3D60_48,"P3 D60 / 48 nit","P3-D60 - Display","ACES 1.0 - SDR Cinema"},
{Output::P3DCI_48,"P3 DCI / 48 nit","P3-DCI - Display","ACES 1.0 - SDR Cinema (D60 sim on DCI)"},
{Output::P3D65_48,"P3 D65 / 48 nit","P3-D65 - Display","ACES 1.0 - SDR Cinema"}
};
O::ConstConfigRcPtr config() {
static const auto value=[] {auto c=O::Config::CreateFromBuiltinConfig(Config);c->validate();return c;}();
return value;
}
std::string prefix(){return std::string("dayu-cms:")+std::to_string(Version)+":"+Engine+":"+Config+":";}
}
std::span<const SpaceInfo> spaces(){return spaceTable;}
std::span<const OutputInfo> outputs(){return outputTable;}
const SpaceInfo &spaceInfo(Space id){for(auto &s:spaceTable)if(s.id==id)return s;throw std::invalid_argument("Unknown color space ID");}
const OutputInfo &outputInfo(Output id){for(auto &s:outputTable)if(s.id==id)return s;throw std::invalid_argument("Unknown output transform ID");}
void Settings::validate() const {
if(version!=Version)throw std::invalid_argument("Unsupported color management version");
spaceInfo(input);spaceInfo(working);outputInfo(output);
if(working!=Space::ACEScc&&working!=Space::ACEScct&&working!=Space::ACEScg)
throw std::invalid_argument("Unsupported ACES grading space");
}
std::string Settings::key() const {
validate();return prefix()+std::to_string(enabled)+":"+std::to_string(unsigned(input))+":"+
std::to_string(unsigned(working))+":"+std::to_string(unsigned(output))+":"+std::to_string(referenceGamutCompression);
}
struct Transform::Impl {
std::string key;
std::vector<O::ConstProcessorRcPtr> processors;
std::vector<O::ConstCPUProcessorRcPtr> cpus;
bool identity=true;
bool decodeCC=false,encodeCC=false;
Impl(std::string k,std::vector<O::ConstProcessorRcPtr> steps={},bool decode=false,bool encode=false):key(std::move(k)),processors(std::move(steps)),decodeCC(decode),encodeCC(encode) {
identity=!decode&&!encode;
for(auto &p:processors){auto cpu=p->getOptimizedCPUProcessor(O::OPTIMIZATION_LOSSLESS);identity=identity&&cpu->isNoOp();cpus.push_back(cpu);}
}
};
// Academy ACEScc analytic encoding. The pinned OCIO config's cc entry uses a
// 4096-sample LUT; use AP1 linear at that boundary to avoid LUT approximation.
static float encodeCC(float x){return x<=0?float((-16.+9.72)/17.52):float((std::log2(x<1.f/32768?1./65536+double(x)*.5:double(x))+9.72)/17.52);}
static float decodeCC(float x){return x<float((9.72-15.)/17.52)?float((std::exp2(double(x)*17.52-9.72)-1./65536)*2):float(std::min(std::exp2(double(x)*17.52-9.72),65504.));}
Transform::Transform(std::shared_ptr<const Impl> value):impl(std::move(value)){}
Transform Transform::identity(){return Transform(std::make_shared<Impl>(prefix()+"identity"));}
Transform Transform::convert(Space from,Space to) {
auto &source=spaceInfo(from);auto &destination=spaceInfo(to);
if(from==to)return identity();
return Transform(std::make_shared<Impl>(prefix()+"space:"+std::to_string(unsigned(from))+":"+std::to_string(unsigned(to)),
std::vector<O::ConstProcessorRcPtr>{config()->getProcessor(from==Space::ACEScc?"ACEScg":source.ocioName,"ACEScg"),
config()->getProcessor("ACEScg",to==Space::ACEScc?"ACEScg":destination.ocioName)},from==Space::ACEScc,to==Space::ACEScc));
}
Transform Transform::display(Space from,Output to,bool gamutCompression) {
auto &source=spaceInfo(from);auto &destination=outputInfo(to);const char *sourceName=from==Space::ACEScc?"ACEScg":source.ocioName;
auto group=O::GroupTransform::Create();
if(gamutCompression){
auto look=O::LookTransform::Create();look->setSrc("ACEScg");look->setDst("ACEScg");
look->setLooks("ACES 1.3 Reference Gamut Compression");group->appendTransform(look);
}
auto view=O::DisplayViewTransform::Create();view->setSrc("ACEScg");view->setDisplay(destination.display);view->setView(destination.view);
group->appendTransform(view);
return Transform(std::make_shared<Impl>(prefix()+"display:"+std::to_string(unsigned(from))+":"+std::to_string(unsigned(to))+":"+std::to_string(gamutCompression),
std::vector<O::ConstProcessorRcPtr>{config()->getProcessor(sourceName,"ACEScg"),config()->getProcessor(group)},from==Space::ACEScc));
}
bool Transform::isIdentity() const{return impl->identity;}
const std::string &Transform::key() const{return impl->key;}
void Transform::apply(std::span<DYCompositeRGBA> pixels,Alpha alpha) const {
if(alpha!=Alpha::Straight&&alpha!=Alpha::Premultiplied)throw std::invalid_argument("Unknown alpha representation");
if(isIdentity()||pixels.empty())return;
std::array<DYCompositeRGBA,4096> scratch;
std::array<float,4096> originalAlpha;
for(size_t offset=0;offset<pixels.size();offset+=scratch.size()){
size_t count=std::min(scratch.size(),pixels.size()-offset);
for(size_t i=0;i<count;i++){
auto p=dyPMFinite(pixels[offset+i]);originalAlpha[i]=p.a;
if(alpha==Alpha::Premultiplied)p=dyPMUnpremultiply(p);
if(impl->decodeCC){p.r=decodeCC(p.r);p.g=decodeCC(p.g);p.b=decodeCC(p.b);}
p.a=1;scratch[i]=p;
}
O::PackedImageDesc image(scratch.data(),long(count),1,4);
for(auto &cpu:impl->cpus){cpu->apply(image);for(size_t i=0;i<count;i++)scratch[i]=dyPMFinite(scratch[i]);}
for(size_t i=0;i<count;i++){
auto p=dyPMFinite(scratch[i]);p.a=originalAlpha[i];
if(impl->encodeCC){p.r=encodeCC(p.r);p.g=encodeCC(p.g);p.b=encodeCC(p.b);}
pixels[offset+i]=alpha==Alpha::Premultiplied?dyPMPremultiply(p):p;
}
}
}
MetalProgram Transform::metalProgram() const {
if(isIdentity())return {"float4 dyOCIO(float4 p) { return p; }\n",{}};
MetalProgram program;auto &source=program.source;std::string calls;
for(size_t step=0;step<impl->processors.size();step++){
auto desc=O::GpuShaderDesc::CreateShaderDesc();desc->setLanguage(O::GPU_LANGUAGE_MSL_2_0);
std::string function="dyCMSBase"+std::to_string(step),prefix="dyCMS"+std::to_string(step)+"_";
desc->setFunctionName(function.c_str());desc->setResourcePrefix(prefix.c_str());
impl->processors[step]->getOptimizedGPUProcessor(O::OPTIMIZATION_LOSSLESS)->extractGpuShaderInfo(desc);
if(desc->getNumUniforms())throw std::runtime_error("Fixed CMS transform unexpectedly requires dynamic uniforms: "+key());
source+=desc->getShaderText();size_t firstTexture=program.textures.size();
// OCIO's generic shader blends camera-log branches arithmetically. In MSL,
// 0 * an overflowing inactive linear branch becomes NaN. Select the branch
// as the CPU does, without changing the active curve or clamping HDR.
const std::string branch="isAboveBreak * logSeg + ( float3(1., 1., 1.) - isAboveBreak ) * linSeg";
for(size_t pos=0;(pos=source.find(branch,pos))!=std::string::npos;){
const std::string replacement="select(linSeg, logSeg, isAboveBreak > float3(0.5))";
source.replace(pos,branch.size(),replacement);pos+=replacement.size();
}
for(const char *boundary:{"linear_break","log_break"})for(int component=0;component<3;component++){
auto c=std::to_string(component);
std::string match="(outColor.rgb["+c+"] > "+boundary+"["+c+"]) ? 1.0 : 0.0";
std::string replacement="(outColor.rgb["+c+"] < "+boundary+"["+c+"]) ? 0.0 : 1.0";
for(size_t pos=0;(pos=source.find(match,pos))!=std::string::npos;){source.replace(pos,match.size(),replacement);pos+=replacement.size();}
}
// The public MSL wrapper takes 3D textures/samplers first, then 1D/2D pairs.
auto copyTexture=[&](ShaderTexture t,const float *values,O::Interpolation interpolation){
uint64_t count=uint64_t(t.width)*t.height*t.depth*t.channels;
if(!values||!count||count>32*1024*1024||(interpolation!=O::INTERP_NEAREST&&interpolation!=O::INTERP_LINEAR&&interpolation!=O::INTERP_TETRAHEDRAL))
throw std::runtime_error("Unsupported CMS shader texture: "+key());
t.linear=interpolation==O::INTERP_LINEAR;t.values.assign(values,values+count);program.textures.push_back(std::move(t));
};
for(unsigned i=0;i<desc->getNum3DTextures();i++){
const char *name=nullptr,*sampler=nullptr;unsigned edge=0;O::Interpolation interpolation;const float *values=nullptr;
desc->get3DTexture(i,name,sampler,edge,interpolation);desc->get3DTextureValues(i,values);
if(edge>256)throw std::runtime_error("CMS 3D texture is too large");
copyTexture({3,edge,edge,edge,3,false,{}},values,interpolation);
}
for(unsigned i=0;i<desc->getNumTextures();i++){
const char *name=nullptr,*sampler=nullptr;unsigned width=0,height=0;O::GpuShaderDesc::TextureType channels;O::GpuShaderDesc::TextureDimensions dimensions;O::Interpolation interpolation;const float *values=nullptr;
desc->getTexture(i,name,sampler,width,height,channels,dimensions,interpolation);desc->getTextureValues(i,values);
if(width>16384||height>16384)throw std::runtime_error("CMS texture is too large");
unsigned dim=dimensions==O::GpuShaderDesc::TEXTURE_1D?1:2;
copyTexture({dim,width,height,1,channels==O::GpuShaderDesc::TEXTURE_RED_CHANNEL?1u:3u,false,{}},values,interpolation);
if(interpolation==O::INTERP_LINEAR){
// Hardware samplers quantize the interpolation fraction. Near the
// ACEScc toe this becomes measurable; interpolate fetched float
// texels explicitly using the same LUT values as the CPU.
std::string helper="dyCMSLookup"+std::to_string(program.textures.size()-1),text;
if(dim==1)text="float4 "+helper+"(texture1d<float> t,float uv){float q=clamp(uv*float(t.get_width())-0.5f,0.f,float(t.get_width()-1));uint a=uint(floor(q)),b=min(a+1,t.get_width()-1);return mix(t.read(a),t.read(b),q-float(a));}\n";
else text="float4 "+helper+"(texture2d<float> t,float2 uv){uint2 size=uint2(t.get_width(),t.get_height());float2 q=clamp(uv*float2(size)-0.5f,float2(0),float2(size-1));uint2 a=uint2(floor(q)),b=min(a+1,size-1);float2 f=q-float2(a);return mix(mix(t.read(a),t.read(uint2(b.x,a.y)),f.x),mix(t.read(uint2(a.x,b.y)),t.read(b),f.x),f.y);}\n";
std::string match=std::string(name)+".sample("+sampler+", ",replacement=helper+"("+name+", ";
for(size_t pos=0;(pos=source.find(match,pos))!=std::string::npos;){source.replace(pos,match.size(),replacement);pos+=replacement.size();}
source=text+source;
}
}
calls+="p="+function+"(";
for(size_t i=firstTexture;i<program.textures.size();i++){auto suffix=std::to_string(i);calls+="dyBound"+suffix+",dySampler"+suffix+",";}
calls+="p);p=select(float4(0),p,isfinite(p));\n";
}
source+="\nfloat dyCCEncode(float x) {return x<=0?((-16.f+9.72f)/17.52f):((log2(x<1.f/32768.f?1.f/65536.f+x*.5f:x)+9.72f)/17.52f);}\n";
source+="float dyCCDecode(float x) {return x<((9.72f-15.f)/17.52f)?((exp2(x*17.52f-9.72f)-1.f/65536.f)*2.f):min(exp2(x*17.52f-9.72f),65504.f);}\nfloat4 dyOCIO(";
for(size_t i=0;i<program.textures.size();i++){
auto suffix=std::to_string(i);source+="texture"+std::to_string(program.textures[i].dimensions)+"d<float> dyBound"+suffix+", sampler dySampler"+suffix+", ";
}
source+="float4 p) {\n";
if(impl->decodeCC)source+="p.rgb=float3(dyCCDecode(p.r),dyCCDecode(p.g),dyCCDecode(p.b));\n";
source+=calls;
if(impl->encodeCC)source+="p=select(float4(0),p,isfinite(p));p.rgb=float3(dyCCEncode(p.r),dyCCEncode(p.g),dyCCEncode(p.b));\n";
source+="return p;}\n";return program;
}
Plan Plan::compile(const Settings &s){
s.validate();return {s,s.enabled?Transform::convert(s.input,s.working):Transform::identity(),
s.enabled?Transform::display(s.working,s.output,s.referenceGamutCompression):Transform::identity()};
}
std::string Plan::key()const{return settings.key();}
namespace {
class CompiledFramePipeline final : public FramePipeline {
Plan plan;
Transform toLinear,fromLinear;
public:
explicit CompiledFramePipeline(const Settings&s):plan(Plan::compile(s)),
toLinear(Transform::convert(s.working,Space::ACEScg)),
fromLinear(Transform::convert(Space::ACEScg,s.working)){validate();}
void validate()const override {plan.settings.validate();if(!plan.settings.enabled)throw std::invalid_argument("A frame CMS pipeline must be enabled");}
const Settings&settings()const override{return plan.settings;}
const Transform&transform(FrameStage stage)const override{
switch(stage){case FrameStage::Input:return plan.input;case FrameStage::Output:return plan.output;
case FrameStage::ToLinear:return toLinear;case FrameStage::FromLinear:return fromLinear;
default:throw std::invalid_argument("Invalid frame CMS stage");}
}
bool isIdentity(FrameStage stage)const override{return transform(stage).isIdentity();}
void apply(FrameStage stage,std::span<DYCompositeRGBA>pixels,Alpha alpha)const override{transform(stage).apply(pixels,alpha);}
std::string key()const override{return plan.key();}
};
}
std::shared_ptr<const FramePipeline> compileFramePipeline(const Settings&s){
s.validate();return s.enabled?std::make_shared<const CompiledFramePipeline>(s):nullptr;
}
} // namespace dycm
@@ -0,0 +1,33 @@
#pragma once
#import <Foundation/Foundation.h>
#import <Metal/Metal.h>
#include "../Core/DYColorManagement.hpp"
// Own one immutable pipeline per transform/device. The caller commits and checks
// its frame command buffer, so CMS joins the existing frame transaction.
@interface DYColorManagementGPU : NSObject
@property(nonatomic,readonly,copy) NSString *transformKey;
@property(nonatomic,readonly) uint64_t retainedTextureBytes;
- (instancetype)initWithDevice:(id<MTLDevice>)device transform:(const dycm::Transform&)transform error:(NSError**)error;
- (instancetype)initWithDevice:(id<MTLDevice>)device transform:(const dycm::Transform&)transform
resourceBudget:(uint64_t)bytes error:(NSError**)error;
- (BOOL)encodeInput:(id<MTLTexture>)input output:(id<MTLTexture>)output
alpha:(dycm::Alpha)alpha commandBuffer:(id<MTLCommandBuffer>)command
workspaceBudget:(uint64_t)bytes error:(NSError**)error;
@end
struct DYColorManagementCacheStatistics {
NSUInteger entries=0;
uint64_t retainedTextureBytes=0, builds=0, hits=0, evictions=0;
};
// Immutable device/transform resources shared by independent frame requests.
// Limits bound cache ownership, not resources still leased by active frames.
// Every frame must also charge its leased tables to its own resource budget.
@interface DYColorManagementGPUCache : NSObject
+ (instancetype)sharedCache;
- (instancetype)initWithCountLimit:(NSUInteger)count textureByteLimit:(uint64_t)bytes;
- (DYColorManagementGPU*)pipelineWithDevice:(id<MTLDevice>)device
transform:(const dycm::Transform&)transform resourceBudget:(uint64_t)bytes error:(NSError**)error;
- (DYColorManagementCacheStatistics)statistics;
- (void)removeAllObjects;
@end
@@ -0,0 +1,130 @@
#import "DYColorManagementGPU.h"
#include <stdexcept>
namespace {
NSError *failure(NSString *text){return [NSError errorWithDomain:@"com.dayu.colorplate.cms" code:1 userInfo:@{NSLocalizedDescriptionKey:text}];}
}
@implementation DYColorManagementGPU {
id<MTLDevice> _device;
id<MTLComputePipelineState> _pipeline;
NSString *_transformKey;
NSArray *_textures,*_samplers;
uint64_t _lutBytes;
}
- (NSString*)transformKey{return _transformKey;}
- (uint64_t)retainedTextureBytes{return _lutBytes;}
- (instancetype)initWithDevice:(id<MTLDevice>)device transform:(const dycm::Transform&)transform error:(NSError**)error {
return [self initWithDevice:device transform:transform resourceBudget:128*1024*1024 error:error];
}
- (instancetype)initWithDevice:(id<MTLDevice>)device transform:(const dycm::Transform&)transform resourceBudget:(uint64_t)bytes error:(NSError**)error {
if(!(self=[super init]))return nil;
try {
if(!device)throw std::invalid_argument("色彩管理需要可用的显卡");
_device=device;_transformKey=[NSString stringWithUTF8String:transform.key().c_str()];
auto program=transform.metalProgram();NSMutableArray *textures=[NSMutableArray new],*samplers=[NSMutableArray new];
if(program.textures.size()>16)throw std::runtime_error("色彩管理查找表数量超过限制");
std::string source="#include <metal_stdlib>\nusing namespace metal;\n"+program.source;
source+="\nkernel void dyCMSFrame(texture2d<float,access::read> src [[texture(0)]], texture2d<float,access::write> dst [[texture(1)]], ";std::string arguments;
for(size_t i=0;i<program.textures.size();i++){
auto &t=program.textures[i];auto suffix=std::to_string(i);
source+="texture"+std::to_string(t.dimensions)+"d<float> dyBound"+suffix+" [[texture("+std::to_string(i+2)+")]], sampler dySampler"+suffix+" [[sampler("+suffix+")]], ";
arguments+="dyBound"+suffix+",dySampler"+suffix+",";
auto d=[MTLTextureDescriptor new];d.pixelFormat=MTLPixelFormatRGBA32Float;d.textureType=t.dimensions==3?MTLTextureType3D:(t.dimensions==1?MTLTextureType1D:MTLTextureType2D);d.width=t.width;d.height=t.height;d.depth=t.depth;d.storageMode=MTLStorageModeShared;d.usage=MTLTextureUsageShaderRead;
uint64_t limit=std::min(bytes,uint64_t(128)*1024*1024);
if(_lutBytes>limit||uint64_t(t.width)*t.height*t.depth*16>limit-_lutBytes)throw std::runtime_error("色彩管理查找表超过预算");
id<MTLTexture> texture=[device newTextureWithDescriptor:d];if(!texture)throw std::runtime_error("无法分配色彩查找表");_lutBytes+=texture.allocatedSize;if(_lutBytes>limit)throw std::runtime_error("色彩管理查找表超过预算");
std::vector<float> rgba(uint64_t(t.width)*t.height*t.depth*4,1);
for(size_t p=0;p<t.values.size()/t.channels;p++)for(unsigned c=0;c<3;c++)rgba[p*4+c]=t.values[p*t.channels+(t.channels==1?0:c)];
if(t.dimensions==3)[texture replaceRegion:MTLRegionMake3D(0,0,0,t.width,t.height,t.depth) mipmapLevel:0 slice:0 withBytes:rgba.data() bytesPerRow:t.width*16 bytesPerImage:t.width*t.height*16];
else [texture replaceRegion:MTLRegionMake2D(0,0,t.width,t.height) mipmapLevel:0 withBytes:rgba.data() bytesPerRow:t.dimensions==1?0:t.width*16];
MTLSamplerDescriptor *sd=[MTLSamplerDescriptor new];sd.minFilter=sd.magFilter=t.linear?MTLSamplerMinMagFilterLinear:MTLSamplerMinMagFilterNearest;sd.sAddressMode=sd.tAddressMode=sd.rAddressMode=MTLSamplerAddressModeClampToEdge;sd.normalizedCoordinates=YES;
id<MTLSamplerState> sampler=[device newSamplerStateWithDescriptor:sd];if(!sampler)throw std::runtime_error("无法分配色彩查找表采样器");[textures addObject:texture];[samplers addObject:sampler];
}
_textures=[textures copy];_samplers=[samplers copy];
source+="constant uint &premult [[buffer(0)]], uint2 xy [[thread_position_in_grid]]) {\nif(any(xy >= uint2(src.get_width(),src.get_height()))) return;\nfloat4 p=src.read(xy);\n";
if(!transform.isIdentity()){
// Same finite and alpha-floor contract as Core/DYPremultiplied.h.
// Alpha is excluded from the OCIO processor, including gamma ops.
source+="p=select(float4(0),p,isfinite(p));float a=p.a;\nif(premult) { p.rgb/=max(a,1e-5f);p=select(float4(0),p,isfinite(p)); }\np=dyOCIO("+arguments+"float4(p.rgb,1));p=select(float4(0),p,isfinite(p));p.a=a;\nif(premult){p.rgb*=a;p=select(float4(0),p,isfinite(p));}\n";
}
source+="dst.write(p,xy);}\n";
MTLCompileOptions *options=[MTLCompileOptions new];options.languageVersion=MTLLanguageVersion3_1;options.fastMathEnabled=NO;
id<MTLLibrary> library=[device newLibraryWithSource:[NSString stringWithUTF8String:source.c_str()] options:options error:error];
if(!library)return nil;
id<MTLFunction> function=[library newFunctionWithName:@"dyCMSFrame"];
if(!function)throw std::runtime_error("色彩管理显卡函数缺失");
_pipeline=[device newComputePipelineStateWithFunction:function error:error];
if(!_pipeline)return nil;
return self;
}catch(const std::exception &e){if(error)*error=failure([NSString stringWithUTF8String:e.what()]);return nil;}
}
- (BOOL)encodeInput:(id<MTLTexture>)input output:(id<MTLTexture>)output alpha:(dycm::Alpha)alpha commandBuffer:(id<MTLCommandBuffer>)command workspaceBudget:(uint64_t)bytes error:(NSError**)error {
try {
if(alpha!=dycm::Alpha::Straight&&alpha!=dycm::Alpha::Premultiplied)throw std::invalid_argument("色彩管理透明度表示无效");
auto valid=[&](id<MTLTexture> t){return t&&t.device.registryID==_device.registryID&&t.pixelFormat==MTLPixelFormatRGBA32Float&&t.textureType==MTLTextureType2D&&t.sampleCount==1&&t.mipmapLevelCount==1&&t.width&&t.height&&t.width<=16384&&t.height<=16384&&uint64_t(t.width)*t.height<=uint64_t(64)*1024*1024;};
if(!valid(input)||!valid(output)||input==output||input.width!=output.width||input.height!=output.height)
throw std::invalid_argument("色彩管理需要独立、同尺寸的 RGBA32Float 纹理");
if((input.usage!=MTLTextureUsageUnknown&&!(input.usage&MTLTextureUsageShaderRead))||(output.usage!=MTLTextureUsageUnknown&&!(output.usage&MTLTextureUsageShaderWrite)))
throw std::invalid_argument("色彩管理纹理缺少读写用途");
if(!command||command.commandQueue.device.registryID!=_device.registryID||command.status!=MTLCommandBufferStatusNotEnqueued)
throw std::invalid_argument("色彩管理帧命令不可写入");
if(_lutBytes>bytes||input.allocatedSize>bytes-_lutBytes||output.allocatedSize>bytes-_lutBytes-input.allocatedSize)
throw std::runtime_error("色彩管理超过图像预算");
id<MTLComputeCommandEncoder> encoder=[command computeCommandEncoder];
if(!encoder)throw std::runtime_error("色彩管理显卡编码器不可用");
uint32_t pm=alpha==dycm::Alpha::Premultiplied;
[encoder setComputePipelineState:_pipeline];[encoder setTexture:input atIndex:0];[encoder setTexture:output atIndex:1];[encoder setBytes:&pm length:sizeof(pm) atIndex:0];
for(NSUInteger i=0;i<_textures.count;i++){[encoder setTexture:_textures[i] atIndex:i+2];[encoder setSamplerState:_samplers[i] atIndex:i];}
NSUInteger x=_pipeline.threadExecutionWidth,y=std::min(NSUInteger(8),_pipeline.maxTotalThreadsPerThreadgroup/x);
[encoder dispatchThreads:MTLSizeMake(input.width,input.height,1) threadsPerThreadgroup:MTLSizeMake(x,y,1)];[encoder endEncoding];
return YES;
}catch(const std::exception &e){if(error)*error=failure([NSString stringWithUTF8String:e.what()]);return NO;}
}
@end
@implementation DYColorManagementGPUCache {
NSMutableDictionary<NSString*,DYColorManagementGPU*> *_entries;
NSMutableArray<NSString*> *_order;
NSUInteger _countLimit;
uint64_t _byteLimit;
DYColorManagementCacheStatistics _statistics;
}
+ (instancetype)sharedCache {
static DYColorManagementGPUCache *cache;static dispatch_once_t once;
dispatch_once(&once,^{cache=[[self alloc]initWithCountLimit:32 textureByteLimit:uint64_t(128)*1024*1024];});
return cache;
}
- (instancetype)init {return [self initWithCountLimit:32 textureByteLimit:uint64_t(128)*1024*1024];}
- (instancetype)initWithCountLimit:(NSUInteger)count textureByteLimit:(uint64_t)bytes {
if((self=[super init])){_entries=[NSMutableDictionary new];_order=[NSMutableArray new];_countLimit=count;_byteLimit=bytes;}
return self;
}
- (DYColorManagementGPU*)pipelineWithDevice:(id<MTLDevice>)device transform:(const dycm::Transform&)transform resourceBudget:(uint64_t)bytes error:(NSError**)error {
if(!device){if(error)*error=failure(@"色彩管理需要可用的显卡");return nil;}
NSString *key=[NSString stringWithFormat:@"%llu:%s",(unsigned long long)device.registryID,transform.key().c_str()];
// Coalesce simultaneous first frames. Compilation happens on the caller's
// render queue; the cache never calls back into a frame or holds its buffers.
@synchronized(self){
DYColorManagementGPU *pipeline=_entries[key];
if(pipeline){
if(pipeline.retainedTextureBytes>bytes){if(error)*error=failure(@"色彩管理查找表超过预算");return nil;}
[_order removeObject:key];[_order addObject:key];_statistics.hits++;return pipeline;
}
pipeline=[[DYColorManagementGPU alloc]initWithDevice:device transform:transform resourceBudget:bytes error:error];
if(!pipeline)return nil;_statistics.builds++;
uint64_t cost=pipeline.retainedTextureBytes;
if(!_countLimit||cost>_byteLimit)return pipeline;
while(_order.count&&(_order.count>=_countLimit||cost>_byteLimit-_statistics.retainedTextureBytes)){
NSString *old=_order.firstObject;_statistics.retainedTextureBytes-=_entries[old].retainedTextureBytes;
[_entries removeObjectForKey:old];[_order removeObjectAtIndex:0];_statistics.evictions++;
}
_entries[key]=pipeline;[_order addObject:key];_statistics.retainedTextureBytes+=cost;
return pipeline;
}
}
- (DYColorManagementCacheStatistics)statistics {
@synchronized(self){auto value=_statistics;value.entries=_entries.count;return value;}
}
- (void)removeAllObjects {
@synchronized(self){[_entries removeAllObjects];[_order removeAllObjects];_statistics.retainedTextureBytes=0;}
}
@end
@@ -0,0 +1,17 @@
#pragma once
#import <Foundation/Foundation.h>
#include "../Core/DYColorManagement.hpp"
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSInteger,DYCMSInputMode){DYCMSInputDeclared=0,DYCMSInputHostProfile=1};
// Root-level authoring state. Integration must explicitly whitelist this class;
// missing state in older documents means the unchanged unmanaged pipeline.
@interface DYColorManagementState : NSObject <NSSecureCoding,NSCopying>
@property(nonatomic) NSInteger version,inputSpace,workingSpace,outputTransform;
@property(nonatomic) DYCMSInputMode inputMode;
@property(nonatomic) BOOL enabled,referenceGamutCompression;
@property(nonatomic,copy) NSString *engineIdentifier,*configIdentifier;
- (BOOL)getSettings:(dycm::Settings*)settings error:(NSError* _Nullable * _Nullable)error;
- (nullable NSData*)archiveDataWithError:(NSError* _Nullable * _Nullable)error;
+ (nullable instancetype)stateFromArchiveData:(NSData*)data error:(NSError* _Nullable * _Nullable)error;
@end
NS_ASSUME_NONNULL_END
@@ -0,0 +1,77 @@
#import "DYColorManagementState.h"
#include <limits>
#include <stdexcept>
namespace {
NSError *failure(NSString *message){return [NSError errorWithDomain:@"com.dayu.colorplate.cms-state" code:1 userInfo:@{NSLocalizedDescriptionKey:message}];}
NSArray<NSString*> *keys(){return @[@"version",@"inputMode",@"inputSpace",@"workingSpace",@"outputTransform",@"enabled",@"referenceGamutCompression",@"engineIdentifier",@"configIdentifier"];}
}
@implementation DYColorManagementState
+ (BOOL)supportsSecureCoding{return YES;}
- (instancetype)init {
if((self=[super init])){dycm::Settings s;_version=2;_inputMode=DYCMSInputDeclared;_inputSpace=NSInteger(s.input);_workingSpace=NSInteger(s.working);_outputTransform=NSInteger(s.output);_enabled=s.enabled;_referenceGamutCompression=s.referenceGamutCompression;
_engineIdentifier=[NSString stringWithUTF8String:dycm::Engine];_configIdentifier=[NSString stringWithUTF8String:dycm::Config];}
return self;
}
- (BOOL)getSettings:(dycm::Settings*)settings error:(NSError**)error {
try {
if(!settings)throw std::invalid_argument("色彩管理参数目的地缺失");
if(![_engineIdentifier isKindOfClass:NSString.class]||![_configIdentifier isKindOfClass:NSString.class]||![_engineIdentifier isEqualToString:[NSString stringWithUTF8String:dycm::Engine]]||![_configIdentifier isEqualToString:[NSString stringWithUTF8String:dycm::Config]])
throw std::invalid_argument("工程使用了不支持的色彩转换组件版本");
for(NSNumber *value in @[@(_version),@(_inputSpace),@(_workingSpace),@(_outputTransform)])
if(value.longLongValue<0||value.unsignedLongLongValue>std::numeric_limits<unsigned>::max())throw std::invalid_argument("色彩管理标识超出范围");
if((_version!=1&&_version!=2)||(_inputMode!=DYCMSInputDeclared&&_inputMode!=DYCMSInputHostProfile)||(_version==1&&_inputMode!=DYCMSInputDeclared))throw std::invalid_argument("色彩管理输入方式或归档版本无效");
dycm::Settings s;s.enabled=_enabled;s.input=dycm::Space(_inputSpace);s.working=dycm::Space(_workingSpace);s.output=dycm::Output(_outputTransform);s.referenceGamutCompression=_referenceGamutCompression;
s.validate();if(_inputMode==DYCMSInputHostProfile)s.input=dycm::Space::ACEScg;*settings=s;return YES;
}catch(const std::exception &e){if(error)*error=failure([NSString stringWithUTF8String:e.what()]);return NO;}
}
- (void)encodeWithCoder:(NSCoder*)coder {
dycm::Settings s;NSError *error=nil;if(![self getSettings:&s error:&error]){[coder failWithError:error];return;}
for(NSString *key in @[@"version",@"inputSpace",@"workingSpace",@"outputTransform"])[coder encodeInteger:[[self valueForKey:key]integerValue] forKey:key];
if(_version>=2)[coder encodeInteger:_inputMode forKey:@"inputMode"];
[coder encodeBool:_enabled forKey:@"enabled"];[coder encodeBool:_referenceGamutCompression forKey:@"referenceGamutCompression"];
[coder encodeObject:_engineIdentifier forKey:@"engineIdentifier"];[coder encodeObject:_configIdentifier forKey:@"configIdentifier"];
}
- (instancetype)initWithCoder:(NSCoder*)coder {
if(!(self=[self init]))return nil;
for(NSString *key in keys())if(![key isEqual:@"inputMode"]&&![coder containsValueForKey:key]){[coder failWithError:failure(@"色彩管理归档不完整")];return nil;}
for(NSString *key in @[@"version",@"inputSpace",@"workingSpace",@"outputTransform"])[self setValue:@([coder decodeIntegerForKey:key]) forKey:key];
if((_version>=2)!=[coder containsValueForKey:@"inputMode"]){[coder failWithError:failure(@"色彩管理输入方式与归档版本不一致")];return nil;}
_inputMode=_version>=2?DYCMSInputMode([coder decodeIntegerForKey:@"inputMode"]):DYCMSInputDeclared;
// Keyed archives distinguish CFBoolean from integer NSNumber. The boolean
// decoder already rejects integer 0/1/2; an integer decoder rejects our own
// valid encodeBool fields. Do not coerce either representation via KVC.
_enabled=[coder decodeBoolForKey:@"enabled"];
_referenceGamutCompression=[coder decodeBoolForKey:@"referenceGamutCompression"];
if(coder.error)return nil;
_engineIdentifier=[[coder decodeObjectOfClass:NSString.class forKey:@"engineIdentifier"]copy];_configIdentifier=[[coder decodeObjectOfClass:NSString.class forKey:@"configIdentifier"]copy];
dycm::Settings s;NSError *error=nil;if(![self getSettings:&s error:&error]){[coder failWithError:error];return nil;}return self;
}
- (id)copyWithZone:(NSZone*)zone {
DYColorManagementState *copy=[[[self class]allocWithZone:zone]init];
for(NSString *key in keys())[copy setValue:[self valueForKey:key] forKey:key];return copy;
}
- (BOOL)isEqual:(id)object {
if(object==self)return YES;if(![object isMemberOfClass:self.class])return NO;
for(NSString *key in keys()){id a=[self valueForKey:key],b=[object valueForKey:key];if(a!=b&&![a isEqual:b])return NO;}return YES;
}
- (NSUInteger)hash {
NSUInteger value=1469598103934665603ull;
for(NSString *key in keys())value=(value^[[self valueForKey:key]hash])*1099511628211ull;return value;
}
- (NSData*)archiveDataWithError:(NSError**)error {
dycm::Settings s;if(![self getSettings:&s error:error])return nil;
@try{return [NSKeyedArchiver archivedDataWithRootObject:self requiringSecureCoding:YES error:error];}
@catch(NSException *exception){if(error)*error=failure(@"无法保存色彩管理设置");return nil;}
}
+ (instancetype)stateFromArchiveData:(NSData*)data error:(NSError**)error {
if(![data isKindOfClass:NSData.class]||!data.length||data.length>16384){if(error)*error=failure(@"色彩管理归档大小无效");return nil;}
@try{
id decoded=[NSKeyedUnarchiver unarchivedObjectOfClass:self fromData:data error:error];
// Foundation permits some scalar classes even with a specific root
// whitelist. Check the returned root before exposing typed state.
if(![decoded isMemberOfClass:self]){if(error)*error=failure(@"色彩管理归档根对象无效");return nil;}
dycm::Settings s;if(![decoded getSettings:&s error:error])return nil;return decoded;
}
@catch(NSException *exception){if(error)*error=failure(@"无法读取色彩管理设置");return nil;}
}
@end
+42
查看文件
@@ -0,0 +1,42 @@
#pragma once
#import <Foundation/Foundation.h>
#import <CoreGraphics/CoreGraphics.h>
#import <Metal/Metal.h>
#include "../Core/DYColorManagement.hpp"
#include <optional>
#include <atomic>
// A physical RGB profile conversion, separate from a declared camera encoding
// or an ACES display rendering transform. Profiles and keys are immutable.
@interface DYColorProfile : NSObject
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
- (instancetype)initWithSource:(CGColorSpaceRef)source target:(CGColorSpaceRef)target error:(NSError**)error;
// Encoded ACES ODT values to a real host/display profile. In particular, HLG
// uses the BT.2100 reference EOTF before the physical profile conversion.
- (instancetype)initWithDisplayOutput:(dycm::Output)output target:(CGColorSpaceRef)target error:(NSError**)error;
@property(nonatomic,readonly) CGColorSpaceRef source;
@property(nonatomic,readonly) CGColorSpaceRef target;
@property(nonatomic,readonly) BOOL identity;
@property(nonatomic,readonly,copy) NSString*key;
// Opaque fingerprint metadata only, never decoded as an authoring field.
@property(nonatomic,readonly,copy) NSData*sourceDescription;
@property(nonatomic,readonly,copy) NSData*targetDescription;
// No additional display tone mapping or [0,1] clipping. The selected physical
// profile still defines its own transfer-function range and extrapolation.
// Output storage is private. Input remains untouched on success or failure.
- (std::optional<std::vector<DYCompositeRGBA>>)convertPixels:(std::span<const DYCompositeRGBA>)input
alpha:(dycm::Alpha)alpha budget:(uint64_t)bytes cancelled:(const std::atomic_bool*)cancelled error:(NSError**)error;
@end
@interface DYColorProfileGPU : NSObject
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
- (instancetype)initWithDevice:(id<MTLDevice>)device profile:(DYColorProfile*)profile error:(NSError**)error;
- (BOOL)renderInput:(id<MTLTexture>)input output:(id<MTLTexture>)output alpha:(dycm::Alpha)alpha
workspaceBudget:(uint64_t)bytes cancelled:(const std::atomic_bool*)cancelled error:(NSError**)error;
@end
// Nominal output profile. For conversion use initWithDisplayOutput:target:;
// Apple's HLG profile alone is not the reference BT.2100 chromatic EOTF.
CGColorSpaceRef DYCreateCMSOutputColorSpace(dycm::Output output) CF_RETURNS_RETAINED;
+132
查看文件
@@ -0,0 +1,132 @@
#import "DYColorProfile.h"
#import <CoreImage/CoreImage.h>
#import <CommonCrypto/CommonDigest.h>
#include <mutex>
#include <stdexcept>
#include <simd/simd.h>
namespace {
struct CacheClear {CIContext*context;~CacheClear(){[context clearCaches];}};
NSError*failure(NSString*message){return [NSError errorWithDomain:@"com.dayu.colorplate.profile" code:1 userInfo:@{NSLocalizedDescriptionKey:message}];}
void check(const std::atomic_bool*cancelled){if(cancelled&&cancelled->load())throw std::runtime_error("颜色配置转换已取消");}
void validAlpha(dycm::Alpha alpha){if(alpha!=dycm::Alpha::Straight&&alpha!=dycm::Alpha::Premultiplied)throw std::invalid_argument("颜色配置透明度表示无效");}
void admission(uint64_t pixels,uint64_t bytes){if(!pixels||pixels>uint64_t(64)*1024*1024||pixels>bytes/(6*sizeof(DYCompositeRGBA)))throw std::runtime_error("颜色配置转换的估算工作集超过预算");}
NSData*description(CGColorSpaceRef space){
if(!space||CGColorSpaceGetModel(space)!=kCGColorSpaceModelRGB)throw std::invalid_argument("颜色转换需要明确的 RGB 配置");
CGColorSpaceRef device=CGColorSpaceCreateDeviceRGB();bool unspecified=CFEqual(space,device);CGColorSpaceRelease(device);if(unspecified)throw std::invalid_argument("Device RGB 没有明确的原色和传递函数");
CFPropertyListRef plist=CGColorSpaceCopyPropertyList(space);if(!plist)throw std::runtime_error("无法保存颜色配置描述");
NSData*data=[NSPropertyListSerialization dataWithPropertyList:CFBridgingRelease(plist) format:NSPropertyListBinaryFormat_v1_0 options:0 error:nil];
if(!data.length||data.length>16*1024*1024)throw std::runtime_error("颜色配置描述无效或超过限制");
return data;
}
NSString*fingerprint(NSData*data){unsigned char digest[CC_SHA256_DIGEST_LENGTH];CC_SHA256(data.bytes,(CC_LONG)data.length,digest);NSMutableString*result=[NSMutableString new];for(auto c:digest)[result appendFormat:@"%02x",c];return result;}
NSDictionary*options(bool software){
CGColorSpaceRef working=CGColorSpaceCreateWithName(kCGColorSpaceACESCGLinear);if(!working)throw std::runtime_error("无法建立线性颜色转换空间");
NSMutableDictionary*value=[@{kCIContextWorkingColorSpace:CFBridgingRelease(working),kCIContextWorkingFormat:@(kCIFormatRGBAf),kCIContextOutputPremultiplied:@YES,kCIContextCacheIntermediates:@NO}mutableCopy];if(software)value[kCIContextUseSoftwareRenderer]=@YES;return value;
}
void configure(CIRenderDestination*d,CGColorSpaceRef target){d.colorSpace=target;d.alphaMode=CIRenderDestinationAlphaPremultiplied;d.clamped=NO;d.dithered=NO;d.flipped=NO;}
bool render(CIContext*context,CIImage*image,CIRenderDestination*destination,size_t width,size_t height,NSError**error){
NSError*underlying=nil;auto task=[context startTaskToRender:image fromRect:CGRectMake(0,0,width,height) toDestination:destination atPoint:CGPointZero error:&underlying];
if(!task||![task waitUntilCompletedAndReturnError:&underlying]){if(error)*error=underlying?:failure(@"系统颜色配置转换未完成");return false;}return true;
}
id<MTLTexture>rootTexture(id<MTLTexture>t){while(t.parentTexture)t=t.parentTexture;return t;}
bool aliases(id<MTLTexture>a,id<MTLTexture>b){a=rootTexture(a);b=rootTexture(b);return a==b||(a.buffer&&a.buffer==b.buffer)||(a.iosurface&&a.iosurface==b.iosurface)||(a.heap&&a.heap==b.heap);}
CGColorSpaceRef calibrated(double rx,double ry,double gx,double gy,double bx,double by,double wx,double wy,double gamma){
simd_double3 white={wx/wy,1,(1-wx-wy)/wy};simd_double3x3 primaries={simd_double3{rx/ry,1,(1-rx-ry)/ry},simd_double3{gx/gy,1,(1-gx-gy)/gy},simd_double3{bx/by,1,(1-bx-by)/by}};auto scales=simd_mul(simd_inverse(primaries),white);
CGFloat w[3]={white.x,white.y,white.z},g[3]={gamma,gamma,gamma},matrix[9];for(int c=0;c<3;c++)for(int r=0;r<3;r++)matrix[c*3+r]=primaries.columns[c][r]*scales[c];return CGColorSpaceCreateCalibratedRGB(w,nullptr,g,matrix);
}
DYCompositeRGBA decodeHLG(DYCompositeRGBA p){
// BT.2100 reference display: 1000 cd/m2, gamma 1.2, black 0. Apple's
// physical linear profile uses ISO HDR reference white 203 cd/m2.
// Signed extension is explicit; finite values are not clipped to [0,1].
auto inverse=[](float c){float v=fabsf(c);return copysignf(v<=.5f?v*v/3.f:(expf((v-.55991073f)/.17883277f)+.28466892f)/12.f,c);};p.r=inverse(p.r);p.g=inverse(p.g);p.b=inverse(p.b);
float scale=(1000.f/203.f)*powf(fabsf(.2627f*p.r+.6780f*p.g+.0593f*p.b),.2f);p.r*=scale;p.g*=scale;p.b*=scale;return dyPMFinite(p);
}
}
@interface DYColorProfile ()
@property(nonatomic,readonly) CGColorSpaceRef conversionSource;
@property(nonatomic,readonly) BOOL decodeHLG;
@end
CGColorSpaceRef DYCreateCMSOutputColorSpace(dycm::Output output){
switch(output){
case dycm::Output::Rec709_100:case dycm::Output::Rec709D60_100:return calibrated(.64,.33,.30,.60,.15,.06,.3127,.3290,2.4);
case dycm::Output::SRGB_100:return CGColorSpaceCreateWithName(kCGColorSpaceSRGB);
case dycm::Output::DisplayP3_100:return CGColorSpaceCreateWithName(kCGColorSpaceDisplayP3);
case dycm::Output::Rec2020_100:return calibrated(.708,.292,.170,.797,.131,.046,.3127,.3290,2.4);
case dycm::Output::Rec2020PQ_1000:return CGColorSpaceCreateWithName(kCGColorSpaceITUR_2100_PQ);
case dycm::Output::Rec2020HLG_1000:return CGColorSpaceCreateWithName(kCGColorSpaceITUR_2100_HLG);
case dycm::Output::P3D60_48:return calibrated(.68,.32,.265,.69,.15,.06,.32168,.33767,2.6);
case dycm::Output::P3DCI_48:return CGColorSpaceCreateWithName(kCGColorSpaceDCIP3);
case dycm::Output::P3D65_48:return calibrated(.68,.32,.265,.69,.15,.06,.3127,.3290,2.6);
}return nullptr;
}
@implementation DYColorProfile {
CGColorSpaceRef _source,_target,_conversionSource;BOOL _identity,_decodeHLG;NSString*_key;NSData*_sourceDescription,*_targetDescription;CIContext*_cpu;std::mutex _mutex;
}
- (CGColorSpaceRef)source{return _source;}
- (CGColorSpaceRef)target{return _target;}
- (BOOL)identity{return _identity;}
- (NSString*)key{return _key;}
- (NSData*)sourceDescription{return _sourceDescription;}
- (NSData*)targetDescription{return _targetDescription;}
- (CGColorSpaceRef)conversionSource{return _conversionSource?:_source;}
- (BOOL)decodeHLG{return _decodeHLG;}
- (instancetype)initWithSource:(CGColorSpaceRef)source target:(CGColorSpaceRef)target error:(NSError**)error {
if(!(self=[super init]))return nil;try{_sourceDescription=description(source);_targetDescription=description(target);_source=CGColorSpaceRetain(source);_target=CGColorSpaceRetain(target);_identity=CFEqual(source,target);_key=[NSString stringWithFormat:@"dayu-profile:1:%@:%@",fingerprint(_sourceDescription),fingerprint(_targetDescription)];return self;}catch(const std::exception&e){if(error)*error=failure(@(e.what()));return nil;}
}
- (instancetype)initWithDisplayOutput:(dycm::Output)output target:(CGColorSpaceRef)target error:(NSError**)error {
CGColorSpaceRef source=DYCreateCMSOutputColorSpace(output);self=[self initWithSource:source target:target error:error];if(source)CGColorSpaceRelease(source);if(!self)return nil;
if(output==dycm::Output::Rec2020HLG_1000){_conversionSource=CGColorSpaceCreateWithName(kCGColorSpaceExtendedLinearITUR_2020);if(!_conversionSource){if(error)*error=failure(@"无法建立 HLG 参考输出空间");return nil;}_decodeHLG=YES;_identity=NO;_key=[_key stringByAppendingString:@":reference-hlg:1000:203:v1"];}
return self;
}
- (void)dealloc{if(_source)CGColorSpaceRelease(_source);if(_target)CGColorSpaceRelease(_target);if(_conversionSource)CGColorSpaceRelease(_conversionSource);}
- (std::optional<std::vector<DYCompositeRGBA>>)convertPixels:(std::span<const DYCompositeRGBA>)input alpha:(dycm::Alpha)alpha budget:(uint64_t)bytes cancelled:(const std::atomic_bool*)cancelled error:(NSError**)error {
try{validAlpha(alpha);check(cancelled);if(input.empty()||input.size()>uint64_t(64)*1024*1024)throw std::invalid_argument("颜色转换输入大小无效");if(input.size()>bytes/(2*sizeof(DYCompositeRGBA)))throw std::runtime_error("颜色转换副本超过预算");if(_identity)return std::vector<DYCompositeRGBA>(input.begin(),input.end());admission(input.size(),bytes);
std::lock_guard<std::mutex>lock(_mutex);check(cancelled);@autoreleasepool{@try{
if(!_cpu)_cpu=[CIContext contextWithOptions:options(true)];if(!_cpu)throw std::runtime_error("无法建立 CPU 颜色转换");
CacheClear cleanup{_cpu};std::vector<DYCompositeRGBA>result(input.size());std::vector<DYCompositeRGBA>opaque(std::min(size_t(4096),input.size()));
for(size_t offset=0;offset<input.size();offset+=opaque.size()){
check(cancelled);size_t count=std::min(opaque.size(),input.size()-offset);
for(size_t i=0;i<count;i++){auto p=dyPMFinite(input[offset+i]);if(alpha==dycm::Alpha::Premultiplied)p=dyPMUnpremultiply(p);if(_decodeHLG)p=decodeHLG(p);p.a=1;opaque[i]=p;}
NSData*data=[NSData dataWithBytesNoCopy:opaque.data() length:count*sizeof(DYCompositeRGBA) freeWhenDone:NO];auto image=[CIImage imageWithBitmapData:data bytesPerRow:count*16 size:CGSizeMake(count,1) format:kCIFormatRGBAf colorSpace:self.conversionSource];
auto destination=[[CIRenderDestination alloc]initWithBitmapData:result.data()+offset width:count height:1 bytesPerRow:count*16 format:kCIFormatRGBAf];configure(destination,_target);
if(!image||!render(_cpu,image,destination,count,1,error)){[_cpu clearCaches];return std::nullopt;}
for(size_t i=0;i<count;i++){auto p=dyPMFinite(result[offset+i]);p.a=dyPMFinite(input[offset+i]).a;result[offset+i]=alpha==dycm::Alpha::Premultiplied?dyPMPremultiply(p):p;}
}[_cpu clearCaches];check(cancelled);return result;
}@catch(NSException*e){[_cpu clearCaches];if(error)*error=failure(e.reason?:@"CPU 颜色转换异常");return std::nullopt;}}
}catch(const std::exception&e){if(error)*error=failure(@(e.what()));return std::nullopt;}
}
@end
@implementation DYColorProfileGPU {
id<MTLDevice>_device;id<MTLCommandQueue>_queue;DYColorProfile*_profile;CIContext*_context;
id<MTLComputePipelineState>_prepare,_restore;std::mutex _mutex;
}
- (instancetype)initWithDevice:(id<MTLDevice>)device profile:(DYColorProfile*)profile error:(NSError**)error {
if(!(self=[super init]))return nil;try{
if(!device||!profile)throw std::invalid_argument("颜色配置或显卡缺失");_device=device;_profile=profile;_queue=[device newCommandQueue];if(!_queue)throw std::runtime_error("无法建立颜色转换队列");
if(profile.identity)return self;_context=[CIContext contextWithMTLCommandQueue:_queue options:options(false)];if(!_context)throw std::runtime_error("无法建立显卡颜色转换");
NSString*source=@"#include <metal_stdlib>\nusing namespace metal;\nfloat4 safe(float4 p){return select(float4(0),p,isfinite(p));}\nkernel void prepare(texture2d<float,access::read> src [[texture(0)]],texture2d<float,access::write> dst [[texture(1)]],constant uint2& options [[buffer(0)]],uint2 p [[thread_position_in_grid]]){if(any(p>=uint2(src.get_width(),src.get_height())))return;float4 c=safe(src.read(p));if(options.x)c=safe(float4(c.rgb/max(c.a,1e-5f),c.a));if(options.y){float3 v=abs(c.rgb);c.rgb=sign(c.rgb)*select((exp((v-.55991073f)/.17883277f)+.28466892f)/12.f,v*v/3.f,v<=.5f);c.rgb*=1000.f/203.f*pow(abs(dot(c.rgb,float3(.2627f,.6780f,.0593f))),.2f);c=safe(c);}dst.write(float4(c.rgb,1),p);}\nkernel void restore(texture2d<float,access::read> original [[texture(0)]],texture2d<float,access::read> converted [[texture(1)]],texture2d<float,access::write> dst [[texture(2)]],constant uint2& options [[buffer(0)]],uint2 p [[thread_position_in_grid]]){if(any(p>=uint2(dst.get_width(),dst.get_height())))return;float a=safe(original.read(p)).a;float3 rgb=safe(converted.read(p)).rgb;if(options.x)rgb*=a;dst.write(safe(float4(rgb,a)),p);}";
auto options=[MTLCompileOptions new];options.languageVersion=MTLLanguageVersion3_1;options.fastMathEnabled=NO;auto library=[device newLibraryWithSource:source options:options error:error];if(!library)return nil;
_prepare=[device newComputePipelineStateWithFunction:[library newFunctionWithName:@"prepare"] error:error];_restore=[device newComputePipelineStateWithFunction:[library newFunctionWithName:@"restore"] error:error];if(!_prepare||!_restore)return nil;return self;
}catch(const std::exception&e){if(error)*error=failure(@(e.what()));return nil;}
}
- (BOOL)renderInput:(id<MTLTexture>)input output:(id<MTLTexture>)output alpha:(dycm::Alpha)alpha workspaceBudget:(uint64_t)bytes cancelled:(const std::atomic_bool*)cancelled error:(NSError**)error {
try{validAlpha(alpha);check(cancelled);auto valid=[&](id<MTLTexture>t){return t&&t.device.registryID==_device.registryID&&t.textureType==MTLTextureType2D&&t.pixelFormat==MTLPixelFormatRGBA32Float&&t.width&&t.height&&t.width<=16384&&t.height<=16384&&t.sampleCount==1&&t.mipmapLevelCount==1&&!t.framebufferOnly&&t.storageMode!=MTLStorageModeMemoryless;};
if(!valid(input)||!valid(output)||input.width!=output.width||input.height!=output.height||aliases(input,output))throw std::invalid_argument("颜色转换需要同设备、同尺寸且独立的 RGBA32Float 纹理");
if((input.usage!=MTLTextureUsageUnknown&&!(input.usage&MTLTextureUsageShaderRead))||(output.usage!=MTLTextureUsageUnknown&&!(output.usage&MTLTextureUsageShaderWrite)))throw std::invalid_argument("颜色转换纹理缺少读写用途");
if(uint64_t(input.width)*input.height>uint64_t(64)*1024*1024)throw std::invalid_argument("颜色转换图像过大");
if(input.allocatedSize>bytes||output.allocatedSize>bytes-input.allocatedSize)throw std::runtime_error("颜色转换纹理超过预算");
std::lock_guard<std::mutex>lock(_mutex);check(cancelled);@autoreleasepool{@try{
CacheClear cleanup{_context};auto finish=[&](id<MTLCommandBuffer>b){if(!b)throw std::runtime_error("颜色转换命令缺失");[b commit];[b waitUntilCompleted];if(b.status!=MTLCommandBufferStatusCompleted)throw std::runtime_error(b.error.localizedDescription.UTF8String?:"颜色转换命令未完成");check(cancelled);};
if(_profile.identity){auto command=[_queue commandBuffer];auto blit=[command blitCommandEncoder];if(!blit)throw std::runtime_error("无法复制恒等颜色图像");[blit copyFromTexture:input sourceSlice:0 sourceLevel:0 sourceOrigin:MTLOriginMake(0,0,0) sourceSize:MTLSizeMake(input.width,input.height,1) toTexture:output destinationSlice:0 destinationLevel:0 destinationOrigin:MTLOriginMake(0,0,0)];[blit endEncoding];finish(command);return YES;}
admission(uint64_t(input.width)*input.height,bytes);auto desc=[MTLTextureDescriptor texture2DDescriptorWithPixelFormat:MTLPixelFormatRGBA32Float width:input.width height:input.height mipmapped:NO];desc.storageMode=MTLStorageModePrivate;desc.usage=MTLTextureUsageShaderRead|MTLTextureUsageShaderWrite;
auto opaque=[_device newTextureWithDescriptor:desc],converted=[_device newTextureWithDescriptor:desc];if(!opaque||!converted)throw std::runtime_error("无法分配颜色转换图像");uint64_t actual=input.allocatedSize+output.allocatedSize+opaque.allocatedSize+converted.allocatedSize;
if(actual>bytes||2*uint64_t(input.width)*input.height*16>bytes-actual)throw std::runtime_error("颜色转换实际纹理及估算系统工作区超过预算");
auto dispatch=[&](id<MTLComputePipelineState>pipeline,NSArray*textures){check(cancelled);auto command=[_queue commandBuffer];auto encoder=[command computeCommandEncoder];if(!encoder)throw std::runtime_error("无法建立颜色转换编码器");[encoder setComputePipelineState:pipeline];for(NSUInteger i=0;i<textures.count;i++)[encoder setTexture:textures[i] atIndex:i];uint32_t parameters[2]={alpha==dycm::Alpha::Premultiplied,uint32_t(_profile.decodeHLG)};[encoder setBytes:parameters length:sizeof(parameters) atIndex:0];NSUInteger x=pipeline.threadExecutionWidth,y=std::min(NSUInteger(8),pipeline.maxTotalThreadsPerThreadgroup/x);[encoder dispatchThreads:MTLSizeMake(input.width,input.height,1) threadsPerThreadgroup:MTLSizeMake(x,y,1)];[encoder endEncoding];finish(command);};
dispatch(_prepare,@[input,opaque]);auto image=[CIImage imageWithMTLTexture:opaque options:@{kCIImageColorSpace:(__bridge id)_profile.conversionSource,kCIImageToneMapHDRtoSDR:@NO}];auto destination=[[CIRenderDestination alloc]initWithMTLTexture:converted commandBuffer:nil];configure(destination,_profile.target);
if(!image||!render(_context,image,destination,input.width,input.height,error)){[_context clearCaches];return NO;}check(cancelled);dispatch(_restore,@[input,converted,output]);[_context clearCaches];return YES;
}@catch(NSException*e){[_context clearCaches];if(error)*error=failure(e.reason?:@"显卡颜色转换异常");return NO;}}
}catch(const std::exception&e){if(error)*error=failure(@(e.what()));return NO;}
}
@end
+11
查看文件
@@ -0,0 +1,11 @@
# 固定版本的公开色彩管理依赖
这里保留 OpenColorIO 2.5.2 及其六个静态依赖、ARM SIMD 头文件的原始源码压缩包,供离线恢复与构建。不是已安装的依赖目录或编译产物。每个来源 URL、版本、字节数、SHA-256 和许可证见 `dependencies.lock.json`;原压缩包包含完整版权声明。
`python3 Tools/build_ocio.py` 在产品固定缓存的 `cms-runtime` 中编译 Release arm64/macOS 14.6,使用私有命名空间 `DayuOCIO_2_5_2`,不链接 Homebrew 动态库,不在构建时下载源码。需要 Xcode 和 CMake 3.24 以上(本机为 4.4.4)。缓存修改有两处:下载入口改为已校验的本地源码包;禁用 `OCIO_OPTIMIZATION_FLAGS` 环境覆盖,防止宿主环境悄悄改变工程精度。上游转换算法保持原样。构建有进程锁,所有实际静态库均校验后才复用。
固定 Studio 配置 `studio-config-v2.2.0_aces-v1.3_ocio-v2.4`,不使用随升级漂移的 `studio-config-latest`。OCIO 软件版本、配置版本和 ACES 系统版本是三个独立标识。完整输出使用 DisplayViewTransform;显示编码转换不能替代 ACES 输出渲染。
大鱼的 ACEScc 边界使用 [Academy 公开公式](https://docs.acescentral.com/encodings/acescc/) 与 AP1 线性衔接,避免此配置 ACEScc 的 4096 点查表近似。ACEScct 和相机/显示转换仍用固定 OCIO 配置。CPU/GPU选择 `OPTIMIZATION_LOSSLESS`,输出域和透明度政策由独立模块验证。
当前为独立模块准备,尚未接入产品渲染、工程归档或界面。正式33及旧工程不受影响。后续集成时须将这些许可证装入发行 APP,并验证 CPU/Metal、透明度、旧工程旁路以及宿主输入/输出边界。
+96
查看文件
@@ -0,0 +1,96 @@
{
"version": 1,
"namespace": "DayuOCIO_2_5_2",
"builtin_config": "studio-config-v2.2.0_aces-v1.3_ocio-v2.4",
"sources": [
{
"name": "OpenColorIO",
"version": "2.5.2",
"url": "https://codeload.github.com/AcademySoftwareFoundation/OpenColorIO/tar.gz/refs/tags/v2.5.2",
"archive": "OpenColorIO-2.5.2.tar.gz",
"bytes": 14182890,
"sha256": "722601e01b78b7a12da4829cb450674935f404b0e508f3f20046fa77570e3272",
"licenses": [
"licenses/OpenColorIO.txt"
]
},
{
"name": "expat",
"version": "2.7.2",
"url": "https://codeload.github.com/libexpat/libexpat/tar.gz/R_2_7_2",
"archive": "expat-2.7.2.tar.gz",
"bytes": 8439887,
"sha256": "d09e2dd23398805cec1bac2860304714c96dc2fde629a7a1a77d0880ab7cd242",
"licenses": [
"licenses/expat.txt",
"licenses/expat-1.txt"
]
},
{
"name": "yaml-cpp",
"version": "0.8.0",
"url": "https://codeload.github.com/jbeder/yaml-cpp/tar.gz/0.8.0",
"archive": "yaml-cpp-0.8.0.tar.gz",
"bytes": 1017151,
"sha256": "fbe74bbdcee21d656715688706da3c8becfd946d92cd44705cc6098bb23b3a16",
"licenses": [
"licenses/yaml-cpp.txt"
]
},
{
"name": "Imath",
"version": "3.2.1",
"url": "https://codeload.github.com/AcademySoftwareFoundation/Imath/tar.gz/v3.2.1",
"archive": "Imath-3.2.1.tar.gz",
"bytes": 689041,
"sha256": "b2c8a44c3e4695b74e9644c76f5f5480767355c6f98cde58ba0e82b4ad8c63ce",
"licenses": [
"licenses/Imath.txt"
]
},
{
"name": "pystring",
"version": "1.1.4",
"url": "https://codeload.github.com/imageworks/pystring/tar.gz/v1.1.4",
"archive": "pystring-1.1.4.tar.gz",
"bytes": 19184,
"sha256": "49da0fe2a049340d3c45cce530df63a2278af936003642330287b68cefd788fb",
"licenses": [
"licenses/pystring.txt"
]
},
{
"name": "minizip-ng",
"version": "4.0.10",
"url": "https://codeload.github.com/zlib-ng/minizip-ng/tar.gz/4.0.10",
"archive": "minizip-ng-4.0.10.tar.gz",
"bytes": 773269,
"sha256": "c362e35ee973fa7be58cc5e38a4a6c23cc8f7e652555daf4f115a9eb2d3a6be7",
"licenses": [
"licenses/minizip-ng.txt"
]
},
{
"name": "zlib",
"version": "1.3.1",
"url": "https://codeload.github.com/madler/zlib/tar.gz/v1.3.1",
"archive": "zlib-1.3.1.tar.gz",
"bytes": 1572744,
"sha256": "17e88863f3600672ab49182f217281b6fc4d3c762bde361935e436a95214d05c",
"licenses": [
"licenses/zlib.txt"
]
},
{
"name": "sse2neon",
"version": "227cc413fb2d50b2a10073087be96b59d5364aea",
"url": "https://codeload.github.com/DLTcollab/sse2neon/tar.gz/227cc413fb2d50b2a10073087be96b59d5364aea",
"archive": "sse2neon-227cc413fb2d50b2a10073087be96b59d5364aea.tar.gz",
"bytes": 136342,
"sha256": "3427a495743bb6fd1b5f9f806b80f57d67b1ac7ccf39a5f44aedd487fd7e6da1",
"licenses": [
"licenses/sse2neon.txt"
]
}
]
}
@@ -0,0 +1,11 @@
Copyright 2013 Colour Developers
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
+11
查看文件
@@ -0,0 +1,11 @@
Copyright Contributors to the OpenEXR Project. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,26 @@
Copyright Contributors to the OpenColorIO Project.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+21
查看文件
@@ -0,0 +1,21 @@
Copyright (c) 1998-2000 Thai Open Source Software Center Ltd and Clark Cooper
Copyright (c) 2001-2025 Expat maintainers
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+21
查看文件
@@ -0,0 +1,21 @@
Copyright (c) 1998-2000 Thai Open Source Software Center Ltd and Clark Cooper
Copyright (c) 2001-2025 Expat maintainers
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,17 @@
Condition of use and distribution are the same as zlib:
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgement in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
+27
查看文件
@@ -0,0 +1,27 @@
Copyright (c) 2008-present Contributors to the Pystring project.
All Rights Reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+21
查看文件
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2015-2024 SSE2NEON Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+19
查看文件
@@ -0,0 +1,19 @@
Copyright (c) 2008-2015 Jesse Beder.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
+22
查看文件
@@ -0,0 +1,22 @@
Copyright notice:
(C) 1995-2022 Jean-loup Gailly and Mark Adler
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
Jean-loup Gailly Mark Adler
jloup@gzip.org madler@alumni.caltech.edu
二进制文件未显示。
二进制文件未显示。
二进制文件未显示。
二进制文件未显示。
二进制文件未显示。
二进制文件未显示。
二进制文件未显示。
+98
查看文件
@@ -0,0 +1,98 @@
#!/usr/bin/env python3
"""Build the pinned color runtime offline; no Homebrew libraries or implicit downloads."""
from pathlib import Path
import fcntl, hashlib, json, os, re, shutil, subprocess, tarfile
ROOT = Path(__file__).resolve().parent.parent
VENDOR = ROOT / 'ThirdParty/ColorManagement'
CACHE = Path('/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/cms-runtime')
def digest(path):
return hashlib.sha256(path.read_bytes()).hexdigest()
def extract(archive, destination):
with tarfile.open(archive) as tf:
for member in tf.getmembers():
path = (destination / member.name).resolve()
if destination not in path.parents or member.isdev():
raise ValueError('Unsafe source archive member')
if member.issym() or member.islnk():
target = ((path.parent if member.issym() else destination) / member.linkname).resolve()
if target != destination and destination not in target.parents:
raise ValueError('Unsafe source archive link')
# Python 3.9 on the supported build machine has no extraction filter API.
tf.extractall(destination)
def _build():
lock = json.loads((VENDOR / 'dependencies.lock.json').read_text())
archives = {}
for item in lock['sources']:
archive = VENDOR / 'sources' / item['archive']
if archive.stat().st_size != item['bytes'] or digest(archive) != item['sha256']:
raise ValueError('Source checksum mismatch: ' + item['name'])
archives[item['name']] = (archive, item['sha256'])
cmake = shutil.which('cmake') or '/opt/homebrew/bin/cmake'
compiler = subprocess.check_output(['xcrun', 'clang++', '--version'], text=True)
sdk = subprocess.check_output(['xcrun', '--show-sdk-version'], text=True).strip()
identity = hashlib.sha256((json.dumps(lock, sort_keys=True) + Path(__file__).read_text() + compiler + sdk).encode()).hexdigest()
CACHE.mkdir(parents=True, exist_ok=True)
stamp = CACHE / 'build.json'
if stamp.exists():
previous = json.loads(stamp.read_text())
if previous.get('identity') == identity and all(Path(p).is_file() and digest(Path(p)) == sha for p, sha in previous['libraries'].items()):
return previous
source_dir, build_dir, install = CACHE / 'source', CACHE / 'build', CACHE / 'install'
# These are dedicated generated directories; no product APP or user source lives here.
for path in (source_dir, build_dir, install):
if path.exists(): shutil.rmtree(path)
path.mkdir()
extract(archives['OpenColorIO'][0], source_dir)
source = source_dir / 'OpenColorIO-2.5.2'
modules = source / 'share/cmake/modules/install'
# Keep upstream's dependency options and target wiring, replacing only network retrieval.
for name, (archive, sha) in archives.items():
if name == 'OpenColorIO': continue
filename = modules / ('Install' + ('ZLIB' if name == 'zlib' else name) + '.cmake')
text = filename.read_text()
text, count = re.subn(r'(?m)^\s*GIT_REPOSITORY[^\n]*\n\s*GIT_TAG[^\n]*',
'\n URL "' + str(archive) + '"\n URL_HASH SHA256=' + sha + '\n DOWNLOAD_EXTRACT_TIMESTAMP TRUE', text)
if count != 1: raise ValueError('Upstream install recipe changed: ' + name)
text = re.sub(r'(?m)^\s*GIT_(CONFIG|SHALLOW)[^\n]*\n', '', text)
filename.write_text(text)
# This is a private, versioned runtime. A host's OCIO_OPTIMIZATION_FLAGS
# must not silently override the precision explicitly chosen by the product.
processor = source / 'src/OpenColorIO/Processor.cpp'
text = processor.read_text()
text, count = re.subn(r'OptimizationFlags EnvironmentOverride\(OptimizationFlags oFlags\)\n\{.*?\n\}',
'OptimizationFlags EnvironmentOverride(OptimizationFlags oFlags)\n{\n return oFlags; // Dayu: fixed per-processor precision; ignore process environment.\n}', text, flags=re.S)
if count != 1: raise ValueError('Upstream optimization override changed')
processor.write_text(text)
flags = ['-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_OSX_ARCHITECTURES=arm64',
'-DCMAKE_OSX_DEPLOYMENT_TARGET=14.6', '-DBUILD_SHARED_LIBS=OFF',
'-DCMAKE_INSTALL_PREFIX=' + str(install), '-DCMAKE_INSTALL_LIBDIR=lib',
'-DOCIO_NAMESPACE=' + lock['namespace'], '-DOCIO_INSTALL_EXT_PACKAGES=ALL',
'-DOCIO_BUILD_APPS=OFF', '-DOCIO_BUILD_PYTHON=OFF', '-DOCIO_BUILD_TESTS=OFF',
'-DOCIO_BUILD_GPU_TESTS=OFF', '-DOCIO_BUILD_DOCS=OFF', '-DOCIO_BUILD_JAVA=OFF',
'-DOCIO_BUILD_NUKE=OFF', '-DOCIO_BUILD_OPENFX=OFF']
environment = dict(os.environ, CMAKE_BUILD_PARALLEL_LEVEL='6')
for args in ([cmake, '-S', source, '-B', build_dir] + flags,
[cmake, '--build', build_dir, '--parallel', '6'],
[cmake, '--install', build_dir]):
subprocess.run([str(x) for x in args], check=True, env=environment)
libraries = [install / 'lib/libOpenColorIO.a'] + sorted((build_dir / 'ext/dist/lib').glob('*.a'))
if len(libraries) != 7 or not all(p.is_file() for p in libraries):
raise ValueError('Expected OCIO and six pinned static dependencies')
result = dict(identity=identity, compiler=compiler, sdk=sdk, namespace=lock['namespace'],
include=str(install / 'include'), libraries={str(p): digest(p) for p in libraries},
builtin_config=lock['builtin_config'])
stamp.write_text(json.dumps(result, indent=2) + '\n')
return result
def build():
CACHE.mkdir(parents=True, exist_ok=True)
with (CACHE / 'build.lock').open('a') as guard:
fcntl.flock(guard, fcntl.LOCK_EX)
return _build()
if __name__ == '__main__':
print(json.dumps(build(), indent=2))
+37
查看文件
@@ -0,0 +1,37 @@
#!/usr/bin/env python3
"""Build the pinned, ARC-isolated CMS bridge and a deterministic Xcode link file."""
from pathlib import Path
import hashlib, json, os, subprocess, sys, fcntl, shutil
ROOT=Path(__file__).resolve().parent
sys.path.insert(0,str(ROOT/'Tools'))
from build_ocio import build
CACHE=Path('/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/cms-runtime')
def prepare():
runtime=build();work=CACHE/'bridge';work.mkdir(parents=True,exist_ok=True)
with (work/'build.lock').open('a') as guard:
fcntl.flock(guard,fcntl.LOCK_EX)
sources=[p for p in sorted((ROOT/'Sources').glob('*.cpp'))+sorted((ROOT/'Sources').glob('*.mm')) if not p.name.startswith('._')]
inputs=sources+[p for p in sorted((ROOT/'Sources').glob('*.h'))+sorted((ROOT/'Core').glob('*.h*')) if not p.name.startswith('._')]+[Path(__file__)]
key=hashlib.sha256((json.dumps(runtime,sort_keys=True)+''.join(hashlib.sha256(p.read_bytes()).hexdigest() for p in inputs)).encode()).hexdigest()
stamp=work/'build.json';library=work/'libDayuColorManagement.a'
if not stamp.exists() or json.loads(stamp.read_text()).get('key')!=key or not library.exists():
objects=[]
for src in sources:
obj=work/(src.stem+'.o');args=['xcrun','clang++','-std=c++20','-O2','-arch','arm64','-mmacosx-version-min=14.6','-I',runtime['include'],'-c',str(src),'-o',str(obj)]
if src.suffix=='.mm':args.insert(2,'-fobjc-arc')
subprocess.run(args,check=True);objects.append(str(obj))
subprocess.run(['xcrun','libtool','-static','-o',str(library),*objects],check=True)
stamp.write_text(json.dumps(dict(key=key,librarySHA256=hashlib.sha256(library.read_bytes()).hexdigest()),indent=2)+'\n')
frameworks=['Metal','CoreGraphics','CoreImage','ColorSync','IOKit']
args=['-Wl,-ObjC',str(library),*runtime['libraries']]
for name in frameworks:args+=['-framework',name]
response=CACHE/'bridge-link.rsp';response.write_text('\n'.join('"'+s.replace('"','\\"')+'"' for s in args)+'\n')
return str(response)
if __name__=='__main__':
print(prepare())
if len(sys.argv)>1:
destination=Path(sys.argv[1])/'ColorManagement';destination.mkdir(parents=True,exist_ok=True)
source=ROOT/'ThirdParty/ColorManagement'
shutil.copytree(source/'licenses',destination/'licenses',dirs_exist_ok=True,ignore=shutil.ignore_patterns('._*'))
for name in ['dependencies.lock.json','README.md']:shutil.copy2(source/name,destination/name)
shutil.copy2(ROOT/'PROVENANCE.json',destination/'PROVENANCE.json')
+17
查看文件
@@ -0,0 +1,17 @@
大鱼调色 1.10.0(72)|紧急 UI 更新
- 画布工具改为纵向排列,可打开、移动、折叠或关闭多个工具面板。
- 曲线支持直接拖点及 RGB 通道切换,颜色分级提供四个画布色轮;保留精确参数视图。
- 新增画布外辅助工作区,集中查看当前效果输出的亮度波形、RGB 分列、直方图与风格1 LUT 预览。
- 曲线双轴与色轮参数在一次手势内共同提交并撤销;播放头、图层或颜色管理改变时中止过期写入。
695 项正式安装原生检查通过。Final Cut Pro 12.4 中的曲线拖点与一次撤销、LUT 预览、移动播放头后的示波器更新已通过实际鼠标验证。自绘示波器为 sRGB 显示参考,宿主分块输出时标注当前分块,不代替 HDR / IRE 精密测量。
支持 Apple Silicon,macOS 14.6 及以上。APP 与 PKG 已通过 Developer ID 签名、Apple 公证和票据验证。固定安装位置:/Library/Plug-Ins/FxPlug/大鱼调色.app。本次正式 APP 独立安装并验收,PKG 完成20项展开验包,未重复执行系统安装脚本。
安装包:大鱼调色-1.10.0.pkg
大小:43090565 字节
SHA-256:ee70461c9b2d2e0ddd78cbcb3371c3b1b36b7f0e5fc69bfccc7ac0f1a3e468d8
实际编译源码:80dec904bedf5f704b29d16325fa95d639f3a250
资源文章已先行更新:https://dayu.media/15792/ 。使用新的紧急UI更新封面及用户提供的深色/浅色实际截图,主安装包更新为本版;50元、有效会员免费及其它商业设置保持。
+13
查看文件
@@ -0,0 +1,13 @@
# 大鱼调色 1.11.0(73)
曲线、HSL 与蜘蛛盘现可在画布中直接编辑。曲线包含同区直方图,三个工具支持半透明面板、多面板移动、独立图层及一次拖动一次撤销。
主检查器默认保留一级、基础、蜘蛛、HSL 四张折叠卡;其它工具通过添加模块或画布工具条打开。新增当前帧人脸肤色限定及实际保护区域预览,并加入缩放、光学中心和蒙版可调的镜头径向畸变修复。旧调色参数 ID、已有图层及预设 v7 继续兼容。
需要 macOS 14.6 或更高、Apple Silicon Mac、Final Cut Pro 或 Motion。肤色范围在本机检测;未识别到人脸时不使用上一镜头蒙版。镜头修复由本项目独立实现,尚无与参考插件逐像素一致的证明。包含空间处理的调色可保存完整预设,静态 Cube 无法保存空间选区或几何变换。
APP 实际编译源码:49d35cb49ab93f5ab6ca3411eaea80f7219be346。APP 公证 Accepted、票据及 Gatekeeper 通过,正式安装 724 项原生检查通过。
PKG 已签名、公证 Accepted、粘附票据并通过 20 项展开验包。43,128,845 字节,SHA-256:2dd5166902ebdaae50dd897057459cbe7e5ea611dbdeb571bd688e843c59768e。
Final Cut Pro 12.4 已加载唯一正式安装版本;用户实鼠确认画布三工具及一次撤销、人脸肤色区域、畸变网格调整三项均正常。旧版恢复 APP 已在验收后清理。
+11
查看文件
@@ -0,0 +1,11 @@
# 大鱼调色 1.12.0(79)
统一工作区采用横排图标工具、左侧图层、中间所选模块和右侧常驻四宫格示波器。分栏与窗口尺寸可调整,模块新增、删除、启停、参数和共享蒙版与主检视器同步。HSL色块上排、三轴同宽;蜘蛛盘左盘面、右参数和混合量。矢量图新增肤色参考线。
LUT浏览器保留现有文件夹、真实帧预览、缩略图和异步载入,恢复随宽度换行的多行网格。风格LUT调整参数下增加最近使用缩略图快捷入口,点击应用到当前图层,成功后记录前移。选择LUT图层直接浏览,点击图层蒙版符号进入编辑/跟踪。
画布图标按钮移到左下横排,保留矩形、椭圆、钢笔、曲线、畸变、肤色范围和LUT入口;控制面板按钮在右下。畸变通过画面控件调整,从工作区排除。修复片尾界面时间与显示帧时间差导致的示波器等待和画布写入被拒,钢笔闭合与曲线保存已由用户实际确认正常。
同一蒙版对象可同时关联HSL、蜘蛛盘及其它模块,支持先画再分配,或从模块画后继续添加关联;轨迹和形状共同更新,旧独立蒙版及v7预设兼容。跟踪按本机ColorFinale2.16.2证据重建,使用锁定官方源码构建的OpenCV4.5.1,许可证随APP提供。真实同素材、同矩形共同99帧最大位置差约0.008源像素、角度差约0.015°;原版导出缺最后一帧,完整100帧报告保留缺失。当前对照覆盖合成平移,不宣称任意素材/分组/键间插值完全等价。
正式安装通过834项原生检查,并完成FCP中的布局、快捷LUT应用、检视器重开和四路示波器检查。需要macOS14.6或更高、Apple Silicon、Final Cut Pro或Motion。工作区由宿主托管为可调整浮动窗口,公开FxPlug接口未提供原生停靠到FCP检视器。空间蒙版/畸变可用完整预设保存,静态Cube无法保存空间处理。
+13
查看文件
@@ -0,0 +1,13 @@
# 大鱼调色 1.7.1(46)
兼容部分 Cube LUT 在颜色数据行中夹带文字的情况:保留开头的有效数值,读不到的后续通道补 0,忽略文字尾注并保持各行位置,与本机 FCP“自定 LUT”处理用户提供文件的方式一致。编码兼容、正常 LUT 的浮点精度和原始文件保持不变。
仍拒绝缺失数据行、无效数值、损坏编码及错误尺寸。此兼容不会恢复被文字替换的原始颜色数值,也不对其进行插值猜测。
要求 Apple Silicon、macOS 14.6 或更新。唯一安装位置 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,Bundle ID `com.dayu.color`。本轮不修改网站、公测更新清单或后端。
正式签名、公证、验证及发行包摘要见 `verification/Delivery.json`、`verification/Package.json` 与 `verification/Release.json`。
实际编译源码 `58a17de43810798570b4965166d33129d949de3d`。APP公证 `59cbf6ce-3782-4aa0-bc3b-b82c345ee498`、PKG公证 `208441f0-d244-4b7c-abdc-cc3eef602a77` 均 Accepted,票据与Gatekeeper通过,20项展开验包通过。正式安装407项原生检查及FCP12.4原文件导入、应用、冷重开通过;本轮未重复执行PKG系统安装脚本。
包名 `大鱼调色-1.7.1.pkg`,40902664字节;SHA-256 `533272ae3a08fb7788c24e6180569f8e0fab0b52ed0523ac31634ad4ae39c791`。
+11
查看文件
@@ -0,0 +1,11 @@
# 大鱼调色 1.7.2(47)
修正风格LUT缩略图浏览库的远程窗口尺寸处理:按FCP提供的实际内容区域布局,避免用本地保存的位置、尺寸和min/max覆盖宿主窗口;容器变更时同步填充深色内容区。缩略图大小、列表/网格、侧栏、分类和最近使用继续保留。
本地脱离式窗口使用系统实际标题栏尺寸,并把恢复位置约束到当前显示器。保留1.7.1的Cube文字行兼容。
要求Apple Silicon、macOS14.6或更新,唯一位置`/Library/Plug-Ins/FxPlug/大鱼调色.app`。本机宿主为FCP12.4;反馈来自FCP12.3/系统27.01,目标机显示器配置未知,目标版本仍需更新后复测。测试和交付结果见本轮verification记录。
APP实际编译 `f9dea76a453319abceaff2d66ba401d30ae10468`;公证 `5606289a-3d55-4d57-99ef-95ad7812734d` Accepted。PKG公证 `5167b3e0-89a0-457e-a832-753bd385ca93` Accepted,签名、票据、Gatekeeper及20项展开验包通过。408项正式原生检查与本机宿主验收通过;本轮未重复运行PKG安装脚本。
包名`大鱼调色-1.7.2.pkg`,40904714字节,SHA-256 `dfaf291f894189ebdca66701b63a7c6679aab3e6f69db7991ae29284de75ddb6`。
+11
查看文件
@@ -0,0 +1,11 @@
# 大鱼调色 1.7.3(49)
修正部分显示器选择“更多空间”后,LUT缩略图浏览库出现大片灰色、内容偏移和裁切的问题。浏览库首次打开即可对齐完整内容区,无需点击窗口绿色按钮恢复;宿主窗口大小、网格/列表、侧栏与缩略图设置继续保留。
本机FCP12.4/macOS27.0.1在相同显示设置下复现旧问题并验证修正,首次打开、热/冷重开及绿色按钮缩放通过。目标MacBook/FCP12.3仍需使用者更新复测。保留Cube文字行兼容,不改调色数学、模板与Metal库。
要求Apple Silicon、macOS14.6或更新,唯一安装位置`/Library/Plug-Ins/FxPlug/大鱼调色.app`。
实际编译源码`2688b22f99b5118153b94a43f6c184a204d4ce7e`。APP公证`06e09906-676f-414b-adcc-acf2bec6864a`、PKG公证`4d2d6a3c-4dba-4711-b2d0-a59707ff72ce`均Accepted;签名、票据、Gatekeeper及20项展开验包通过。411项正式原生、27项几何及23项浏览库检查通过。本轮APP独立正式安装并验收,未再次运行PKG安装脚本。
包名`大鱼调色-1.7.3.pkg`,40908193字节,SHA-256 `f7a6a5dbd38139c2d401a85aa83abd36efab076481c73a0c822e220f2c212324`。
+11
查看文件
@@ -0,0 +1,11 @@
# 大鱼调色 1.7.4(52)
每个模块和新增图层标题增加减号,可删除不需要的层。删除同时还原参数、清除已有关键帧及所属LUT、蒙版等设置,避免界面隐藏后继续影响画面;其它模块和后续层保留。一组宿主撤销即可恢复。顶部“添加模块”从初始参数创建新层,不继承旧值;原有“再加一层”保留,删除状态随工程和完整预设保存。
436项正式原生检查通过,覆盖14类模块、资源归属、关键帧清理、独立层和实际渲染/Cube导出。本机FCP12.4/macOS27.0.1验证删除、一次撤销、重做、重新添加、独立层删除和正常退出冷重开;用户手动确认删除已验证。中间构建51自动化时曾出现远程检查器空白,52延后界面无障碍通知后同一路径复验通过;未将该现象等同于已证明所有宿主问题。保留Cube文字行兼容和“更多空间”窗口修正。
要求Apple Silicon、macOS14.6或更新,唯一安装位置`/Library/Plug-Ins/FxPlug/大鱼调色.app`。
实际编译源码`06a00371dfba6d9857dc75f48121232fb0ea01b8`。APP公证`673758ed-55f7-418d-8094-d05cf4932111`、PKG公证`102e93fc-2214-4dbf-8d67-68412464a5c2`均Accepted;签名、票据、Gatekeeper及20项展开验包通过。本轮APP独立正式安装并验收,未再次运行PKG安装脚本。
包名`大鱼调色-1.7.4.pkg`,40918925字节,SHA-256`bab2cb14229de151f73782e4a9bd54ca34ef47b9dd15ef3590dd1cd95d04fce5`。
+18
查看文件
@@ -0,0 +1,18 @@
大鱼调色 1.8.0(55)公测版,适用于 Apple Silicon / macOS 14.6 或更高版本。
新增独立色彩管理方式:旧版兼容、跟随 FCP、相机编码 → ACES、输入 LUT → ACES。新版采用固定 OpenColorIO 2.5.2 / ACES 1.3 配置,一级层统一在 ACEScct/AP1 中处理,印片位于输出之前;明确区分实际宿主颜色配置与手动声明的相机编码。
新增一级层默认关闭额外映射,添加中性层保持画面。旧工程和 v1–v6 预设继续原有渲染,升级不会自动替换其管理方式;新版完整预设为 v7。输入 LUT 使用浮点四面体插值,并显示已选文件名。新版静态 Cube 为 65³,输出约定为 sRGB/Rec.709;HDR、空间/时间处理请保存完整预设。
PQ/HLG 输出或跟随 Rec.2020 宿主暂仅开放一级调色与印片;活跃 SDR 修饰工具会明确报错。旧工具尚未全部改写为 HDR/场景算法。
安装前保存工程并正常退出 Final Cut Pro 与 Motion。安装到唯一位置 /Library/Plug-Ins/FxPlug/大鱼调色.app,模板安装到当前用户“影片/Motion Templates/Effects/大鱼调色”。重新打开宿主后,在调色参数顶部选择管理方式。
验证:530 项正式原生检查、FCP 12.4 管理切换/撤销、输入 LUT 取消及错误恢复、两份预设冷重开逐字节比对、65³ Cube、1080p25 ProRes 100 帧导出通过。FCPXML 1.12 回导的三个项目与输入结构比较一致。
APP 与 PKG 均经 Developer ID 签名、Apple 公证 Accepted、票据粘附与验证。PKG 20 项展开验包通过;本轮未重复运行系统安装脚本,APP 已在正式路径单独安装并完成宿主验收。
安装包:大鱼调色-1.8.0.pkg
字节数:42851034
SHA-256:fd59203d387122e768090a97851daf3bd7c07193a8073b9497a10c05d5fd6c42
实际编译源码:11a88518280f0665f3cd0f388d1d66e5446ece14
+16
查看文件
@@ -0,0 +1,16 @@
大鱼调色 1.8.1(57)公测
修正 1.8.0 固定 ACEScct 接管一级 CST 的设计,恢复输入、工作曲线/色域与输出设置。主输出移至所有一级层及印片之后;新增一级层继承工作空间,默认关闭额外映射。局部 CST、线性混合、负值和超白保留经过回归;线性工作曲线增加明确的 DI 适配。
在参数顶部明确选择“一级 CST · 延后输出(推荐)”启用。模板与注册缺省、已保存的 nil/v2 状态保持原流程,避免 FCP 把新缺省应用到旧实例。65³ Cube 按一级声明的输入、输出编码导出,所选 Gamma/Log 不再统一写成 sRGB。
旧工具仍作为输出后的 SDR 修饰;Log/线性码值输出不运行活跃的 SDR 修饰。上游 FCP 已还原或裁切的数据不能由插件恢复,请核对相机 LUT 与颜色符合。受控 Log 码值载体不等于所有相机文件的上游路由认证。
581 项原生检查通过,包括独立曝光/高光参考、负值/超白、局部 CST、线性混合、印片域和 Cube 输出曲线。
正式签名、公证、宿主验收与包校验以 verification/Delivery.json、HostPrimaryCST1.8.1.json、Package.json 和 Release.json 为准。安装包已通过20项展开验包;本轮未重新执行系统安装脚本,APP已在正式位置独立安装和宿主验收。
安装包:大鱼调色-1.8.1.pkg
字节数:42999475
SHA-256:f94aa3a21ffbe52bc68b482289b71112d9895161e18f983af918d11547d254cd
实际编译源码:059245858035e74f78bd669ef25913408d07d235
+16
查看文件
@@ -0,0 +1,16 @@
大鱼调色 1.8.2(59)公测
高级色彩管理移入顶部“颜色设置”按钮,默认收起。关闭后不留空白,调色模块直接上移;展开/收起不改参数、不增加撤销项。详细说明移入工具提示。
新增默认黑金渐变主题:黑色与深炭色渐变背景、亮金文字、柔和静态光晕及金色细边。保留五种原有配色及其编号;明确保存的主题偏好保留,可随时切换到黑金。系统增加对比度或减少透明度时去掉文字光晕。
默认继续原有色彩流程;已保存的 nil/v2/v3 工程及完整预设保持原处理。相机 Log、工作空间和输出转换逻辑沿用 1.8.1 修正,没有更改渲染算法或模板默认。
本版验证与正式签名、公证、宿主和安装包结果见 verification/Delivery.json、HostCompactUI1.8.2.json、InstalledSelfTest.json、Package.json 和 Release.json。本轮独立替换正式 APP 并验收,PKG 展开验包,不重复执行系统安装脚本。
595 项原生检查、FCP 中六主题切换/设置反复开关、nil 原流程保持和 v3 完整预设重开逐字节一致通过。独立远程源码重建通过同样595项检查;8个依赖源包按锁定摘要验证,复用已验证的静态运行时缓存。
安装包:大鱼调色-1.8.2.pkg
字节数:43006067
SHA-256:cbabffc620ad851bd8ecddfaf797c46689722d0f772be409aaa29d0841a2eded
实际编译源码:da03d16c7efa87a5d230467334ec73f9a3a12e54
+16
查看文件
@@ -0,0 +1,16 @@
大鱼调色 1.8.3(62)公测
新增“霓虹炫彩”主题:分模块的多色渐变:一级紫红、蜘蛛盘青蓝、基础珊瑚玫红、HSL绿青、曲线青蓝等;大面积卡片、标题及图标均跟随各模块配色。洋红到青色渐变重点按钮与滑杆,白色文字。未设置主题时默认使用炫彩;原六种主题和编号保留,可随时切换。
曲线编辑器新增真实分析画面的直方图叠层,显示亮度与 RGB 分布;RGB 页叠加四通道,红、绿、蓝页只显示对应通道。支持“直方图”开关,曲线控制点仍可直接添加、拖动、删除。主题、通道和叠层显示不改变调色参数或预设。
直方图复用 320×180 分析缓存、256 档,最多每秒2次更新,播放或移动播放头时刷新。透明与非有限像素不计,范围外值归到端点,共同峰值平方根缩放。原流程取一级 CST/输入 LUT 后,新 CMS 取显示输出转换后、SDR修饰前;它不是最终输出示波器,也不是每个独立曲线层的即时输入。工具提示可查看来源与范围。
色彩管理、调色数学和模板默认保持不变。系统要求 Apple Silicon、macOS14.6 或更新。唯一正式位置 /Library/Plug-Ins/FxPlug/大鱼调色.app。
605项正式原生检查与FCP12.4实机通过;真实视频与色块分布、四通道/显隐、冷重开与8,590字节原预设一致验证完成。APP与PKG均已正式签名、公证Accepted、粘附票据;PKG通过20项展开验包。本轮APP独立正式安装验收,未重复执行PKG安装脚本。
安装包:大鱼调色-1.8.3.pkg
字节数:43010609
SHA-256:518f54c12a6680c32be5cb4bd7d01b8a4c49e3d492a0d9d75ac5e46e3345da53
实际编译源码:3fd015224037df944b428684c43ec8ec7accea85
+14
查看文件
@@ -0,0 +1,14 @@
大鱼调色 1.8.4(64)公测
重新收敛“霓虹炫彩”配色。移除各模块独立的红、绿、橙等高饱和色块,卡片和标题统一为接近黑色、轻微暖紫倾向的低饱和表面,图标使用统一的柔和银灰紫色。使用者认可的“保存预设”按钮继续保留原有粉紫到青色渐变,渐变强调集中在主按钮、滑杆和顶部细线。
在用户认可的近黑底色上,模块名称按钮以统一的轻粉青渐变、细边及更亮展开态强化显示;蒙版、删除、再加一层按钮增加低对比按钮底与清晰图标。
不改变现有功能、参数、色彩管理、模板或直方图算法。亮度/RGB直方图继续使用320×180分析画面、256档、最多2Hz刷新,支持单通道与显隐;仍不是最终输出或HDR示波器。
适用Apple Silicon,macOS14.6或更新。唯一正式安装 /Library/Plug-Ins/FxPlug/大鱼调色.app。605项正式原生检查通过;FCP12.4实际检查模块按钮展开/折叠、图层操作辨识与直方图数据,前后8,590字节预设逐字节一致。用户认可的候选63底色代码完整保留。APP与PKG均已正式签名、公证Accepted并粘附票据,PKG通过20项展开验包。本轮APP独立正式安装验收,没有重复执行PKG安装脚本。
包名:大鱼调色-1.8.4.pkg
字节数:43009859
SHA-256:59c8cee9282260ad97130b1d3d8dc6b09bdf8e8f82cb6c5937bf54ee5880e660
实际编译源码:55b66a358cf4c52eeb6ad89acde822cb73be3137
+15
查看文件
@@ -0,0 +1,15 @@
大鱼调色 1.8.5(67)
- 只保留“浅色 / 深色”两个明确的文字切换,移除其它主题和彩色色签。
- 浅色使用冰蓝表面、深青文字、柔和浮雕与定向反光边。
- 深色使用中性炭黑、浅色文字、高亮细边与局部青蓝光晕。
- 按钮、模块、数值框与滑杆采用同一套层次语言,曲线继续显示亮度与RGB直方图叠层。
610项正式原生检查与FCP12.4界面验收通过;外观切换前后完整调色预设保持一致。调色数学、CMS、模板与预设格式保持原合同。
支持Apple Silicon,macOS14.6及以上,Final Cut Pro / Motion。APP与安装包已完成Developer ID签名、Apple公证与票据验证,安装位置为/Library/Plug-Ins/FxPlug/大鱼调色.app。本轮APP独立安装验收,PKG展开验包未重复执行安装脚本。
安装包:大鱼调色-1.8.5.pkg
大小:43010987字节
SHA-256:b4540c2be931d9e042ed1a6f2673c001e4b6e0ec67eef0bc22f4b3977af4952b
实际编译源码:d39004c26af3c0c5853111faef7e40e6c66f6aa6
+4 -1
查看文件
@@ -38,7 +38,10 @@ def main():
assert (skill / "package_fxplug.py").is_file(), "请指定含 pkg-forge 技能的 PKG 工坊 checkout"
delivery = json.loads((ROOT / "verification/Delivery.json").read_text())
info = plistlib.loads((APP / "Contents/Info.plist").read_bytes())
assert delivery["status"] == "verified" and delivery["path"] == str(APP)
assert delivery["path"] == str(APP)
# Preparation only stages and validates inputs. Creating a distributable
# package still requires completed host acceptance of the formal install.
assert args.prepare_only or delivery["status"] == "verified", "正式安装尚未完成宿主验收"
assert info["CFBundleIdentifier"] == "com.dayu.color"
assert (info["CFBundleShortVersionString"], info["CFBundleVersion"]) == (delivery["version"], delivery["build"])
args.output_dir.mkdir(parents=True, exist_ok=True)
+70
查看文件
@@ -0,0 +1,70 @@
#!/usr/bin/env python3
"""Preserve Dayu Color's beta flag while reusing PKG Forge's authenticated transport.
Draft web downloads may require a normal browser session. A supplied download is
only accepted when it is a distinct file with the exact verified size and hash.
No release, attachment, tag or repository visibility is overwritten.
"""
import argparse, hashlib, json, runpy, subprocess
from pathlib import Path
from urllib.parse import quote
ROOT=Path(__file__).resolve().parent.parent
REPOSITORY='dayu/dayu-color'
def git(*args):return subprocess.check_output(['git',*args],cwd=ROOT,text=True,stderr=subprocess.DEVNULL).strip()
def digest(path):
h=hashlib.sha256()
with path.open('rb') as f:
for block in iter(lambda:f.read(1024*1024),b''):h.update(block)
return h.hexdigest()
def main():
parser=argparse.ArgumentParser(description=__doc__)
parser.add_argument('--tag',required=True);parser.add_argument('--notes',required=True,type=Path)
parser.add_argument('--verified-download',type=Path)
parser.add_argument('--pkg-forge-repo',type=Path,default=Path.home()/'Documents/dayu-git/repositories/pkg-forge')
args=parser.parse_args();helper=runpy.run_path(str(args.pkg_forge_repo/'skills/pkg-forge/scripts/publish_release.py'),run_name='dayu_beta_transport')
Failure=helper['Failure']
try:
report=json.loads((ROOT/'verification/Package.json').read_text());expected=json.loads(git('show',args.tag+':verification/Package.json'))
assert report['pass'] and not report['testUnsigned'] and report['notarization']['status']=='Accepted'
for key in ['sha256','bytes','appCompiledSource','appBuild']:assert report[key]==expected[key]
package=Path(report['package']);assert package.stat().st_size==report['bytes'] and digest(package)==report['sha256']
subprocess.run(['pkgutil','--check-signature',str(package)],check=True,capture_output=True)
subprocess.run(['xcrun','stapler','validate',str(package)],check=True,capture_output=True)
subprocess.run(['spctl','--assess','--type','install',str(package)],check=True,capture_output=True)
notes=args.notes.read_text().strip();title='大鱼调色 '+report['resources'][0]['version']+'('+report['appBuild']+')'
provider=runpy.run_path(str(Path.home()/'.local/bin/dayu-git'),run_name='dayu_beta_credentials');token,source=provider['credential']('dayu');api=helper['API'](token)
with helper['repository_lock'](REPOSITORY):
commit=git('rev-parse',args.tag+'^{commit}');assert git('ls-remote','origin','refs/tags/'+args.tag).split()[0]==commit
assert api.request('GET','/user')['login']=='dayu'
prefix='/repos/'+REPOSITORY;repo=api.request('GET',prefix);assert repo['full_name']==REPOSITORY and repo['permissions']['push']
try:release=api.request('GET',prefix+'/releases/tags/'+quote(args.tag,safe=''))
except Failure as e:
if e.status!=404:raise
release=api.request('POST',prefix+'/releases',payload=dict(tag_name=args.tag,target_commitish=commit,name=title,body=notes,draft=True,prerelease=True))
assert release['tag_name']==args.tag and release['name']==title and release['body'].strip()==notes and release['prerelease']
path=prefix+'/releases/'+str(release['id']);assets=api.request('GET',path+'/assets');matches=[a for a in assets if a['name']==package.name];assert len(matches)<=1
asset=matches[0] if matches else api.upload(path+'/assets',package);assert asset['name']==package.name and asset['size']==report['bytes']
proof=None
try:sha,size=api.downloaded_digest(asset['browser_download_url'],report['bytes'])
except Failure as e:
if e.status!=404 or not release['draft']:raise
draft=dict(status='draft-download-required',releaseID=release['id'],releaseURL=release['html_url'],tag=args.tag,commit=commit,assetID=asset['id'],downloadURL=asset['browser_download_url'],bytes=report['bytes'],sha256=report['sha256'])
(ROOT/'verification/CMSReleaseDraft.json').write_text(json.dumps(draft,ensure_ascii=False,indent=2)+'\n')
if not args.verified_download:
print(json.dumps(draft,ensure_ascii=False));return 2
download=args.verified_download.expanduser().resolve();assert download!=package.resolve() and download.is_file()
sha,size=digest(download),download.stat().st_size;proof=dict(path=str(download),sha256=sha,bytes=size,sourceURL=asset['browser_download_url'])
assert sha==report['sha256'] and size==report['bytes']
if release['draft']:api.request('PATCH',path,payload={'draft':False})
final=api.request('GET',path);confirmed=api.request('GET',path+'/assets')
assert not final['draft'] and final['prerelease'] and final['tag_name']==args.tag and final['name']==title and final['body'].strip()==notes
assert any(a['id']==asset['id'] and a['size']==size and a['name']==package.name for a in confirmed)
sha,size=api.downloaded_digest(asset['browser_download_url'],report['bytes']);assert sha==report['sha256'] and size==report['bytes']
assert git('ls-remote','origin','refs/tags/'+args.tag).split()[0]==commit
result=dict(passResult=True,repository=REPOSITORY,repositoryID=repo['id'],private=repo['private'],tag=args.tag,releaseCommit=commit,releaseID=final['id'],releaseURL=final['html_url'],prerelease=True,assetID=asset['id'],assetName=asset['name'],downloadURL=asset['browser_download_url'],bytes=size,sha256=sha,existingAssetReused=bool(matches),verification='Full draft download checked before publication; published attachment downloaded and checked again; release, tag and asset read-back verified.',credentialSource=source)
if proof:result['draftBrowserDownload']=proof
(ROOT/'verification/Release.json').write_text(json.dumps(result,ensure_ascii=False,indent=2)+'\n');print(json.dumps(result,ensure_ascii=False));return 0
except Failure as e:
print(json.dumps({'error':str(e)},ensure_ascii=False));return 1
except (AssertionError,OSError,subprocess.CalledProcessError):
print(json.dumps({'error':'Release validation failed. Existing files and remote assets retained; inspect state before retrying.'}));return 1
if __name__=='__main__':raise SystemExit(main())
+34
查看文件
@@ -0,0 +1,34 @@
#!/usr/bin/env python3
"""Read back a published beta Release and fully download its exact verified PKG.
PKG Forge's generic publisher rejects the prerelease flag; preserve beta metadata here.
"""
import argparse,hashlib,json,runpy,subprocess
from pathlib import Path
ROOT=Path(__file__).resolve().parent.parent
REPOSITORY='dayu/dayu-color'
def git(*args):return subprocess.check_output(['git',*args],cwd=ROOT,text=True).strip()
def main():
parser=argparse.ArgumentParser(description=__doc__);parser.add_argument('--tag',required=True);parser.add_argument('--notes',required=True,type=Path);args=parser.parse_args()
report=json.loads((ROOT/'verification/Package.json').read_text());package=Path(report['package']);expected=json.loads(git('show',args.tag+':verification/Package.json'))
assert report['pass'] and not report['testUnsigned'] and report['notarization']['status']=='Accepted'
for key in ['sha256','bytes','appCompiledSource','appBuild']:assert report[key]==expected[key]
assert package.stat().st_size==report['bytes'] and hashlib.sha256(package.read_bytes()).hexdigest()==report['sha256']
helper=runpy.run_path('/Users/mac/.codex/skills/pkg-forge/scripts/publish_release.py',run_name='dayu_beta_release_helper')
provider=runpy.run_path('/Users/mac/.local/bin/dayu-git',run_name='dayu_beta_provider');token,source=provider['credential']('dayu');api=helper['API'](token)
with helper['repository_lock'](REPOSITORY):
commit=git('rev-parse',args.tag+'^{commit}');assert git('ls-remote','origin','refs/tags/'+args.tag).split()[0]==commit
repo=api.request('GET','/repos/'+REPOSITORY);assert repo['full_name']==REPOSITORY and repo['permissions']['push']
release=api.request('GET','/repos/'+REPOSITORY+'/releases/tags/'+args.tag)
title='大鱼调色 '+report['resources'][0]['version']+'('+report['appBuild']+')'
assert not release['draft'] and release['prerelease'] and release['name']==title and release['body'].strip()==args.notes.read_text().strip()
path='/repos/'+REPOSITORY+'/releases/'+str(release['id'])
assets=api.request('GET',path+'/assets');matches=[a for a in assets if a['name']==package.name];assert len(matches)==1;asset=matches[0];assert asset['size']==report['bytes']
digest,size=api.downloaded_digest(asset['browser_download_url'],report['bytes']);assert digest==report['sha256'] and size==report['bytes']
final=api.request('GET',path);confirmed=api.request('GET',path+'/assets')
assert final['id']==release['id'] and not final['draft'] and final['prerelease'] and final['tag_name']==args.tag and final['name']==title and final['body'].strip()==args.notes.read_text().strip()
assert any(a['id']==asset['id'] and a['name']==package.name and a['size']==size for a in confirmed)
result=dict(passResult=True,repository=REPOSITORY,repositoryID=repo['id'],private=repo['private'],tag=args.tag,releaseCommit=commit,releaseID=final['id'],releaseURL=final['html_url'],prerelease=True,
assetID=asset['id'],assetName=asset['name'],downloadURL=asset['browser_download_url'],bytes=size,sha256=digest,existingAssetReused=True,
verification='Authenticated full download SHA-256 and byte count, then beta release/asset read-back; original prerelease metadata preserved.',credentialSource=source)
(ROOT/'verification/Release.json').write_text(json.dumps(result,ensure_ascii=False,indent=2)+'\n');print(json.dumps(result,ensure_ascii=False))
if __name__=='__main__':main()
+20
查看文件
@@ -0,0 +1,20 @@
{
"title": "大鱼调色 1.10.0 公测版:紧急 UI 更新,画布工具与独立工作区",
"status": "publish",
"content": "<!-- wp:paragraph -->\n<p>大鱼调色 1.10.0 公测版是一款适用于 Final Cut Pro 与 Motion 的原生 FxPlug 4 调色插件。从素材色彩还原、基础调整,到 LUT 风格、胶片质感和局部蒙版,可直接在剪辑时间线里完成。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>本篇下载售价为50元,站内有效会员免费。提供已签名、公证的完整 PKG 安装包,版本 1.10.0,构建 72。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.10.0 紧急 UI 更新</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>本次紧急更新重新安排了调色工具的位置:画布左侧使用纵向工具条,曲线、色轮等调整控件直接叠在画面中;示波器和 LUT 预览放进画布外的独立工作区。需要精确参数时,仍可使用右侧检查器。下方两张为新版实际界面,分别展示深色与浅色模式。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:list -->\n<ul class=\"wp-block-list\"><li><strong>纵向工具条</strong>:从画布侧边切换工具,工具面板可以独立移动、折叠和关闭,也可同时打开多个工具。</li><li><strong>画布内调整</strong>:曲线支持直接添加、移动和删除控制点,并切换 RGB、红、绿、蓝通道;颜色分级提供直接调节的色轮。一次拖动作为一次操作,可用 ⌘Z 撤销。</li><li><strong>画布外工作区</strong>:通过“工作区 · 示波器 / LUT”打开,切换亮度波形、RGB 分列或直方图;“风格1 LUT”页使用当前画面预览 LUT,并明确应用到风格1。</li><li><strong>保留已有调色</strong>:原有调色参数和预设继续使用,深色、浅色模式均可切换。</li></ul>\n<!-- /wp:list -->\n\n<!-- wp:paragraph -->\n<p>工作区示波器用于 sRGB 显示参考,采样当前插件的处理输出,不包含其后的其他效果或宿主显示转换;它不替代 HDR/IRE 精密测量。宿主仅提供分块画面时,会标明当前分块。移动播放头后随新画面更新。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>此版本已完成正式签名、公证及安装验证,并在 Final Cut Pro 中实测曲线拖点与一次撤销、LUT 预览、示波器随播放头更新。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:image {\"id\":15840,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https://dayu.media/wp-content/uploads/2026/11/1793804584-5bc2fbe021e0e8f.png\" alt=\"大鱼调色 1.10.0 深色模式:画布左侧纵向工具条、检查器与画布外示波器工作区\" class=\"wp-image-15840\" width=\"1628\" height=\"1258\" /><figcaption class=\"wp-element-caption\">大鱼调色 1.10.0 深色模式:纵向画布工具与独立示波器工作区</figcaption></figure>\n<!-- /wp:image -->\n\n<!-- wp:image {\"id\":15841,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https://dayu.media/wp-content/uploads/2026/11/1793804588-7ea8d6f6f860d66.png\" alt=\"大鱼调色 1.10.0 浅色模式:浅色纵向工具条、调色检查器与画布外直方图工作区\" class=\"wp-image-15841\" width=\"1664\" height=\"1068\" /><figcaption class=\"wp-element-caption\">大鱼调色 1.10.0 浅色模式:纵向画布工具与独立示波器工作区</figcaption></figure>\n<!-- /wp:image -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">在时间线里完成调色</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p><strong>色彩管理与基础调整</strong>:支持 CST 输入、工作空间和输出转换,并提供曝光、白平衡、曲线、HSL、色轮及蜘蛛盘等调节工具。首次使用时,请在一级调色中选择与素材相符的输入曲线和色域。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>LUT 与风格管理</strong>:通过缩略图浏览、收藏和预览管理常用 LUT,支持自选 LUT 文件与文件夹。完整预设用于保存组合调节;适合静态颜色变换的处理可导出 Cube LUT,颗粒、晕光、蒙版等时间或空间效果不属于静态 LUT 的保存范围。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>胶片模拟与印片外观</strong>:包含减色、颗粒、晕光、辉光、暗角及通道混合器,提供 Kodak 2383、Fuji 3513 等八种印片外观,可独立调整强度。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>局部蒙版与工具叠层</strong>:可针对单独工具添加蒙版、建立相邻叠层,并使用关键帧与跟踪处理局部区域,方便细调画面的不同部分。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">历史更新</h2>\n<!-- /wp:heading -->\n\n<!-- wp:heading {\"level\":3} -->\n<h3 class=\"wp-block-heading\">1.7.4:删除模块与图层</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragrLine truncated
"excerpt": "大鱼调色 1.10.0 紧急 UI 更新:纵向工具条、画布内曲线与色轮、画布外示波器及 LUT 预览工作区,提供深浅色模式。完整 PKG 已签名公证,售价50元,站内有效会员免费。",
"seo": {
"title": {
"enabled": true,
"value": "大鱼调色1.10.0公测版:紧急UI更新,画布工具与独立工作区"
},
"description": {
"enabled": true,
"value": "大鱼调色1.10.0公测版紧急UI更新:纵向工具条、画布内曲线与色轮、独立示波器和LUT预览工作区,支持深浅色模式。适用于Apple Silicon、macOS14.6及以上,已在Final Cut Pro12.4实测。完整PKG已签名公证,售价50元,站内有效会员免费。"
},
"keywords": {
"enabled": true,
"value": "大鱼调色,Final Cut Pro,调色插件,FxPlug4,紧急UI更新,画布曲线,色轮,示波器,LUT预览,会员免费"
}
}
}
+171
查看文件
@@ -0,0 +1,171 @@
<!-- wp:paragraph -->
<p>大鱼调色 1.10.0 公测版是一款适用于 Final Cut Pro 与 Motion 的原生 FxPlug 4 调色插件。从素材色彩还原、基础调整,到 LUT 风格、胶片质感和局部蒙版,可直接在剪辑时间线里完成。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>本篇下载售价为50元,站内有效会员免费。提供已签名、公证的完整 PKG 安装包,版本 1.10.0,构建 72。</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
<h2 class="wp-block-heading">1.10.0 紧急 UI 更新</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>本次紧急更新重新安排了调色工具的位置:画布左侧使用纵向工具条,曲线、色轮等调整控件直接叠在画面中;示波器和 LUT 预览放进画布外的独立工作区。需要精确参数时,仍可使用右侧检查器。下方两张为新版实际界面,分别展示深色与浅色模式。</p>
<!-- /wp:paragraph -->
<!-- wp:list -->
<ul class="wp-block-list"><li><strong>纵向工具条</strong>:从画布侧边切换工具,工具面板可以独立移动、折叠和关闭,也可同时打开多个工具。</li><li><strong>画布内调整</strong>:曲线支持直接添加、移动和删除控制点,并切换 RGB、红、绿、蓝通道;颜色分级提供直接调节的色轮。一次拖动作为一次操作,可用 ⌘Z 撤销。</li><li><strong>画布外工作区</strong>:通过“工作区 · 示波器 / LUT”打开,切换亮度波形、RGB 分列或直方图;“风格1 LUT”页使用当前画面预览 LUT,并明确应用到风格1。</li><li><strong>保留已有调色</strong>:原有调色参数和预设继续使用,深色、浅色模式均可切换。</li></ul>
<!-- /wp:list -->
<!-- wp:paragraph -->
<p>工作区示波器用于 sRGB 显示参考,采样当前插件的处理输出,不包含其后的其他效果或宿主显示转换;它不替代 HDR/IRE 精密测量。宿主仅提供分块画面时,会标明当前分块。移动播放头后随新画面更新。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>此版本已完成正式签名、公证及安装验证,并在 Final Cut Pro 中实测曲线拖点与一次撤销、LUT 预览、示波器随播放头更新。</p>
<!-- /wp:paragraph -->
<!-- wp:image {"id":15840,"sizeSlug":"full","linkDestination":"none"} -->
<figure class="wp-block-image size-full"><img src="https://dayu.media/wp-content/uploads/2026/11/1793804584-5bc2fbe021e0e8f.png" alt="大鱼调色 1.10.0 深色模式:画布左侧纵向工具条、检查器与画布外示波器工作区" class="wp-image-15840" width="1628" height="1258" /><figcaption class="wp-element-caption">大鱼调色 1.10.0 深色模式:纵向画布工具与独立示波器工作区</figcaption></figure>
<!-- /wp:image -->
<!-- wp:image {"id":15841,"sizeSlug":"full","linkDestination":"none"} -->
<figure class="wp-block-image size-full"><img src="https://dayu.media/wp-content/uploads/2026/11/1793804588-7ea8d6f6f860d66.png" alt="大鱼调色 1.10.0 浅色模式:浅色纵向工具条、调色检查器与画布外直方图工作区" class="wp-image-15841" width="1664" height="1068" /><figcaption class="wp-element-caption">大鱼调色 1.10.0 浅色模式:纵向画布工具与独立示波器工作区</figcaption></figure>
<!-- /wp:image -->
<!-- wp:heading -->
<h2 class="wp-block-heading">在时间线里完成调色</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p><strong>色彩管理与基础调整</strong>:支持 CST 输入、工作空间和输出转换,并提供曝光、白平衡、曲线、HSL、色轮及蜘蛛盘等调节工具。首次使用时,请在一级调色中选择与素材相符的输入曲线和色域。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><strong>LUT 与风格管理</strong>:通过缩略图浏览、收藏和预览管理常用 LUT,支持自选 LUT 文件与文件夹。完整预设用于保存组合调节;适合静态颜色变换的处理可导出 Cube LUT,颗粒、晕光、蒙版等时间或空间效果不属于静态 LUT 的保存范围。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><strong>胶片模拟与印片外观</strong>:包含减色、颗粒、晕光、辉光、暗角及通道混合器,提供 Kodak 2383、Fuji 3513 等八种印片外观,可独立调整强度。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><strong>局部蒙版与工具叠层</strong>:可针对单独工具添加蒙版、建立相邻叠层,并使用关键帧与跟踪处理局部区域,方便细调画面的不同部分。</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
<h2 class="wp-block-heading">历史更新</h2>
<!-- /wp:heading -->
<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">1.7.4:删除模块与图层</h3>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>每个模块和新增图层的标题增加减号按钮,可删除不需要的层并让它从界面消失。删除时一并还原该模块的参数、清除关键帧及所属 LUT、蒙版等设置,避免隐藏后仍影响画面;其他模块保持原设置。误删可通过 Final Cut Pro 的一次撤销恢复。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>顶部“添加模块”菜单可重新添加任意模块,新层从初始参数开始,不继承已删除层的设置。原有“再加一层”继续保留,删除状态随工程和完整预设保存。本机已验证删除、撤销、重做、重新添加与退出重开;本版继续保留此前的 Cube 兼容与“更多空间”窗口修正。</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">1.7.3:显示缩放下的 LUT 窗口</h3>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>修正部分显示器选择“更多空间”后,LUT 缩略图浏览库出现大片灰色、内容偏移和裁切的问题。首次打开即可完整显示搜索、文件夹、预览和底部控件,无需点击窗口绿色按钮恢复;原有窗口缩放、网格/列表与缩略图设置继续保留。本机已在相同显示设置下验证首次打开和重新启动 Final Cut Pro 后打开正常。</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">1.7.2:LUT 浏览窗口</h3>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>LUT 缩略图浏览库改为跟随 Final Cut Pro 提供的实际窗口内容区域,避免旧窗口位置和尺寸记录干扰布局;窗口变化时同步调整深色内容区、列表及底部控件。缩略图大小、网格/列表、侧栏、分类和最近使用设置继续保留。</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">1.7.1:LUT 导入兼容</h3>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>改善 Cube LUT 导入兼容性,可读取部分在颜色数据行夹带文字标记的文件。保留可读取的数值,无法读取的后续通道按 0 处理,各行位置保持不变;这与本机 Final Cut Pro“自定 LUT”处理同类文件的方式一致。原有文件编码支持、缩略图浏览与预览功能继续保留。</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">1.7.0 公测新增</h3>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>主 App 启动时自动检查新版,发现更新后由用户确认下载。完整更新包经过完整性、签名和产品版本校验,保存并退出 Final Cut Pro / Motion 后,通过系统安装器完成升级。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>公测诊断用于记录系统与版本、插件初始化、界面创建、管线准备和首次渲染的耗时,以及错误和本插件崩溃摘要。它在后台限量排队、离线重试,不上传素材、LUT、预设、账号、硬件 UUID 或原始崩溃文件;诊断保留30天,可在主 App 关闭。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>本版处于公测阶段,部分用户反馈的偶发加载无响应仍在收集信息,尚未确认根因。遇到问题时,请附主 App 显示的报告标识、发生时间、Mac 芯片、macOS 和 FCP 版本,便于关联加载过程。</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
<h2 class="wp-block-heading">兼容与安装内容</h2>
<!-- /wp:heading -->
<!-- wp:list -->
<ul class="wp-block-list"><li>Apple Silicon Mac,macOS 14.6 或更新版本;本发行构建不支持 Intel Mac。</li><li>本机已在 Final Cut Pro 12.4 验证加载、界面和调节,其他宿主版本的兼容情况继续通过公测收集。</li><li>主 App 固定安装到 /Library/Plug-Ins/FxPlug/大鱼调色.app,FCP 效果模板安装到当前登录用户的“影片/Motion Templates/Effects/大鱼调色”。</li><li>安装包不包含用户自选素材、LUT 或个人预设。</li></ul>
<!-- /wp:list -->
<!-- wp:heading -->
<h2 class="wp-block-heading">安装</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>安装前,请先退出 Final Cut Pro(FCPX)和 Motion,并在整个安装过程中保持它们关闭。PKG 通常会检查这两个程序是否正在运行;如果安装器提示关闭,请退出对应程序后继续安装。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>运行本资源提供的 PKG 安装包,安装包包含完整的大鱼调色主 App、内嵌 FxPlug 插件和效果模板,并自动完成安装与插件注册,无需另行安装运行依赖。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>本公测版不需要登录或输入激活码。安装完成后打开主 App「大鱼调色」,它会检查并提交插件注册;成功后显示3秒倒计时再退出。点击“查看功能介绍”可以保留窗口,查看更新和诊断设置。</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
<h2 class="wp-block-heading">使用</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>安装和注册完成后,打开 Final Cut Pro。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>在“效果”中找到“大鱼调色”文件夹,选择“大鱼调色”即可使用。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>选中添加了插件的片段后,从画布左侧纵向工具条打开调色面板。拖动面板标题可调整位置;在检查器点击“工作区 · 示波器 / LUT”,可打开画布外的辅助窗口。</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
<h2 class="wp-block-heading">常见问题</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>如果插件失效或显示红色警告,可能是系统插件缓存异常。先退出 Final Cut Pro,再重新打开一次插件主 App,然后重新启动 Final Cut Pro 查看插件是否恢复。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>本资源的主 App「大鱼调色」安装在下面的实际路径。将以下命令复制到“终端”运行,即可打开主 App:</p>
<!-- /wp:paragraph -->
<!-- wp:code -->
<pre class="wp-block-code"><code>open '/Library/Plug-Ins/FxPlug/大鱼调色.app'</code></pre>
<!-- /wp:code -->
<!-- wp:paragraph -->
<p>若仍显示红色警告或长时间停在加载中,请核对系统及 FCP 版本,并通过主 App 的“发送诊断摘要”反馈报告标识和发生时间。公测阶段的偶发加载无响应仍在收集信息,重新注册并不能保证解决所有问题。</p>
<!-- /wp:paragraph -->
+29
查看文件
@@ -0,0 +1,29 @@
{
"articleID": 15792,
"assets": [
{
"file": "dayu-color-1.10.0-interface-01.png",
"role": "body-interface-dark",
"bytes": 577587,
"sha256": "4e948f0599700ddd13f2938a1aac892dea1b6ff60423c2ea15a72e50d5a9ec70",
"width": 1628,
"height": 1258
},
{
"file": "dayu-color-1.10.0-interface-02-light.png",
"role": "body-interface-light",
"bytes": 493551,
"sha256": "e0f7ec34a839755efed1d67277e482c753e48aa770279cdb2b75a5963f16257f",
"width": 1664,
"height": 1068
},
{
"file": "dayu-color-1.10.0-cover.png",
"role": "generated-article-cover",
"bytes": 1722606,
"sha256": "c05470ec2b50de0cfdd246b26334aaa895bd288abdb080cad2d4312c120c9a5a",
"width": 1672,
"height": 941
}
]
}
+27
查看文件
@@ -0,0 +1,27 @@
{
"articleID": 15792,
"images": [
{
"file": "dayu-color-1.10.0-interface-01.png",
"bytes": 577587,
"sha256": "4e948f0599700ddd13f2938a1aac892dea1b6ff60423c2ea15a72e50d5a9ec70",
"status": "verified",
"id": 15840,
"url": "https://dayu.media/wp-content/uploads/2026/11/1793804584-5bc2fbe021e0e8f.png",
"alt": "大鱼调色 1.10.0 深色模式:画布左侧纵向工具条、检查器与画布外示波器工作区",
"title": "大鱼调色 1.10.0 深色模式",
"downloadSHA256": "4e948f0599700ddd13f2938a1aac892dea1b6ff60423c2ea15a72e50d5a9ec70"
},
{
"file": "dayu-color-1.10.0-interface-02-light.png",
"bytes": 493551,
"sha256": "e0f7ec34a839755efed1d67277e482c753e48aa770279cdb2b75a5963f16257f",
"status": "verified",
"id": 15841,
"url": "https://dayu.media/wp-content/uploads/2026/11/1793804588-7ea8d6f6f860d66.png",
"alt": "大鱼调色 1.10.0 浅色模式:浅色纵向工具条、调色检查器与画布外直方图工作区",
"title": "大鱼调色 1.10.0 浅色模式",
"downloadSHA256": "e0f7ec34a839755efed1d67277e482c753e48aa770279cdb2b75a5963f16257f"
}
]
}
+21
查看文件
@@ -0,0 +1,21 @@
# 1.10.0 文章封面
生成方式:内置 imagegen;生成日期:2026-11-04。最终文件:`dayu-color-1.10.0-cover.png`。
提示词:
Use case: ads-marketing.
Asset type: wide 16:9 article cover for a real native Final Cut Pro color-grading plugin.
Primary request: create a polished Chinese editorial cover announcing the emergency UI update of 大鱼调色 version 1.10.0.
Scene: elegant charcoal-black background, subtle cyan and violet light, restrained native macOS visual language. A clean vertical strip of abstract tool icons along one side, a luminous RGB curve with control points, a precise color wheel, and a small RGB histogram area suggest canvas tools and a separate auxiliary workspace. These are editorial graphic motifs, not a fabricated app screenshot.
Composition: large beautifully typeset Chinese product title with generous space, smaller version number, prominent update badge. Strong thumbnail legibility, calm professional color-science feel. Avoid excessive glow or clutter.
Text (verbatim, no additional text):
"大鱼调色"
"1.10.0"
"紧急 UI 更新"
"画布工具 · 曲线色轮 · 独立工作区"
"Final Cut Pro"
Typography: crisp modern Chinese sans-serif, accurate characters, white main title, cyan or violet accent badge.
Constraints: landscape 16:9, finished opaque cover. No fake detailed UI text, no logos of other products, no watermark, no price.
正文图片为用户提供的深色、浅色模式实拍截图,按原始字节保存;与生成封面分开使用。
二进制文件未显示。

之后

宽度:  |  高度:  |  大小: 1.6 MiB

二进制文件未显示。

之后

宽度:  |  高度:  |  大小: 564 KiB

二进制文件未显示。

之后

宽度:  |  高度:  |  大小: 482 KiB

+20
查看文件
@@ -0,0 +1,20 @@
{
"status": "publish",
"title": "大鱼调色 1.12.0 公测版|统一调色工作区与共享蒙版",
"content": "<!-- wp:paragraph -->\n<p>大鱼调色 1.12.0 公测版适用于 Final Cut Pro 与 Motion。这个版本把图层、调色参数、LUT 浏览和示波器放到同一个可调整大小的控制面板里。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.12.0 公测更新</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p><strong>统一调色工作区</strong>。从画布右下角或检视器点击“控制面板”。左侧管理图层,中间调节选中的模块,右侧同时显示亮度波形、RGB 分列、直方图和带肤色参考线的矢量图。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>画布工具与共享蒙版</strong>。左下角可直接绘制矩形、椭圆和钢笔蒙版,也能打开曲线、畸变、肤色范围或 LUT。一个蒙版可同时作用于 HSL、蜘蛛盘等多个图层。点击图层上的蒙版图标即可编辑形状或运行跟踪。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>最近使用 LUT</strong>。风格 LUT 参数下方显示最近使用的缩略图,点击即可应用到当前图层。浏览库按窗口宽度自动换行,保留文件夹和画面预览。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>编辑与加载</strong>。改善切换片段、重新打开检视器及停在片尾时的加载,修正钢笔闭合和画布曲线调整的保存问题。已在本机 Final Cut Pro 验证。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">在时间线里完成调色</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p><strong>色彩管理与基础调整</strong>:支持 CST 输入、工作空间和输出转换,并提供曝光、白平衡、曲线、HSL、色轮及蜘蛛盘等调节工具。首次使用时,请在一级调色中选择与素材相符的输入曲线和色域。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>LUT 与风格管理</strong>:通过缩略图浏览、收藏和预览管理常用 LUT,支持自选 LUT 文件与文件夹。完整预设用于保存组合调节;适合静态颜色变换的处理可导出 Cube LUT,颗粒、晕光、蒙版等时间或空间效果不属于静态 LUT 的保存范围。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>胶片模拟与印片外观</strong>:包含减色、颗粒、晕光、辉光、暗角及通道混合器,提供 Kodak 2383、Fuji 3513 等八种印片外观,可独立调整强度。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>局部蒙版与工具叠层</strong>:可针对单独工具添加蒙版、建立相邻叠层,并使用关键帧与跟踪处理局部区域,方便细调画面的不同部分。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">历史更新</h2>\n<!-- /wp:heading -->\n\n<!-- wp:heading {\"level\":3} -->\n<h3 class=\"wp-block-heading\">1.10.0 画布工具与独立工作区</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>下方为 1.10.0 的深色与浅色界面记录。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:image {\"id\":15840,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https://dayu.media/wp-content/uploads/2026/11/1793804584-5bc2fbe021e0e8f.png\" alt=\"大鱼调色 1.10.0 深色模式:画布左侧纵向工具条、检查器与画布外示波器工作区\" class=\"wp-image-15840\" width=\"1628\" height=\"1258\" /><figcaption class=\"wp-element-caption\">大鱼调色 1.10.0 深色模式:纵向画布工具与独立示波器工作区</figcaption></figure>\n<!-- /wp:image -->\n\n<!-- wp:image {\"id\":15841,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https://dayu.media/wp-content/uploads/2026/11/1793804588-7ea8d6f6f860d66.png\" alt=\"大鱼调色 1.10.0 浅色模式:浅色纵向工具条、调色检查器与画布外直方图工作区\" class=\"wp-image-15841\" width=\"1664\" height=\"1068\" /><figcaption class=\"wp-element-caption\">大鱼调色 1.10.0 浅色模式:纵向画布工具与独立示波器工作区</figcaption></figure>\n<!-- /wp:image -->\n\n\n<!-- wp:heading {\"level\":3} -->\n<h3 class=\"wp-block-heading\">1.7.4:删除模块与图层</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>每个模块和新增图层的标题增加减号按钮,可删除不需要的层并让它从界面消失。删除时一并还原该模块的参数、清除关键帧及所属 LUT、蒙版等设置,避免隐藏后仍影响画面;其他模块保持原设置。误删可通过 Final Cut Pro 的一次撤销恢复。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>顶部“添加模块”菜单可重新添加任意模块,新层从初始参数开始,不继承已删除层的设置。原有“再加一层”继续保留,删除状态随工程和完整预设保存。Line truncated
"excerpt": "统一调色工作区、共享蒙版、最近使用 LUT 与四宫格示波器。大鱼调色 1.12.0 公测版完整安装包已签名公证,站内有效会员免费。",
"seo": {
"title": {
"enabled": true,
"value": "大鱼调色 1.12.0 公测版|统一调色工作区与共享蒙版"
},
"description": {
"enabled": true,
"value": "大鱼调色 1.12.0 是适用于 Final Cut Pro 与 Motion 的原生调色插件。新版控制面板集中管理图层、共享蒙版、最近使用 LUT 和四宫格示波器,画布工具移至左下角。适用于 Apple Silicon 和 macOS 14.6 及以上,完整安装包已签名公证。"
},
"keywords": {
"enabled": true,
"value": "大鱼调色,Final Cut Pro,调色插件,FxPlug4,统一工作区,共享蒙版,LUT,示波器"
}
}
}
+12
查看文件
@@ -0,0 +1,12 @@
{
"article_id": 15792,
"article_url": "https://dayu.media/15792/",
"request_id": "dayu-color-1120-build79-article-20261105",
"cover_source": "template/large.png",
"cover_sha256": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
"update_baseline_sha256": "30c92debf91de7ab8215b35dc64a4ddb764e53450c327ae53fb41a4c2f7a26c0",
"compiled_source": "beccf2fc01f8dc06c5d3d505f88289885d209bc8",
"release_tag": "v1.12.0-unified-workspace-20261105",
"package_bytes": 45329742,
"package_sha256": "d4b557fec283f5e06f605bc6b1d99a0c8649f9d65e405eba452f525e8454cdfe"
}
+13
查看文件
@@ -0,0 +1,13 @@
{
"bundle_id": "com.dayu.color",
"channel": "beta",
"version": "1.12.0",
"build": 79,
"package_type": "pkg",
"install_mode": "pkg_installer",
"size": 45329742,
"sha256": "d4b557fec283f5e06f605bc6b1d99a0c8649f9d65e405eba452f525e8454cdfe",
"download_url": "https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-12-0-79.pkg",
"minimum_system_version": "14.6",
"notes": "1.12.0 公测版加入统一调色工作区、共享蒙版、最近使用 LUT 和四宫格示波器。画布工具移至左下角,改善检视器重开与片尾示波器加载。请保存项目并退出 Final Cut Pro 和 Motion 后安装。"
}
+9
查看文件
@@ -0,0 +1,9 @@
## 大鱼调色 1.13.0(83)
- 画布右下角新增仿制图章。点击画面选取样中心,再拖出带羽化的椭圆覆盖区域。可以叠加多个图章。
- 选中图章后,可在画布上向前、向后或双向跟踪。覆盖区域随轨迹移动、缩放和旋转,取样中心固定。工作区可调整强度、羽化、位置和大小,或清除轨迹、停用和删除图章。
- 缩小空闲画布浮层的位图范围,减少工具状态刷新中的重复编解码。
本公测版本适用于 Apple Silicon Mac,要求 macOS 14.6 或更高版本。安装前保存剪辑并正常退出 Final Cut Pro 或 Motion。
安装包 SHA-256 `7999233dd4a3b797a879cc0f37a20f0c35f925c5f6823720b40e684464a452e8`,45,350,463 字节。
+9
查看文件
@@ -0,0 +1,9 @@
## 大鱼调色 1.13.1(85)
选中仿制图章后,可拖动青色取样十字来调整取样位置。松手后重新取样并保存为一次撤销,按 Esc 可取消拖动。覆盖区域及已有位置轨迹随项目保留。
图章按 1:1 像素平移复制。改变椭圆宽高只改变覆盖范围,跟踪只移动目标中心。原画面的像素尺寸和方向保持一致。
本公测版本适用于 Apple Silicon Mac,要求 macOS 14.6 或更高版本。
安装包 SHA-256 `8a19afadda6317d186541f37a221c46261a22ddabcdddec90d02e1315b693965`,45,352,349 字节。
+9
查看文件
@@ -0,0 +1,9 @@
## 大鱼调色 1.13.2(86)
新增安装完整性检查。主 APP 验证外层 APP 和插件服务的官方签名后再提交注册。发现签名失效或安装内容被改动时,主 APP 停止自动更新,撤销当前副本的插件登记。FxPlug 服务在 Final Cut Pro 或 Motion 请求启动时也会独立验签。
原始 PKG 可以原样转发。安装和调色均无需机器码或登录。正常安装的自动更新继续可用,下载的安装包仍经签名、公证和完整性校验。
适用于 Apple Silicon Mac,要求 macOS 14.6 或更高版本。
安装包为 45,359,239 字节,SHA-256 `6c18bc081cd9d5099ae821df5d5da43585f9db292345c18db4a4e12cce1f133f`。
+92 -4
查看文件
@@ -1,10 +1,98 @@
# 大鱼调色
原生 FxPlug 4 调色器,当前正式安装版本 **1.6.1(44)**。唯一安装位置为 `/Library/Plug-Ins/FxPlug/大鱼调色.app`;Final Cut Pro 中从“效果 → 大鱼调色”添加。
## 1.12.0 统一工作区与共享蒙版
画布左侧保留常驻蒙版、透明曲线与直方图、畸变、肤色范围及LUT入口,底部“控制面板”打开统一工作区。横排工具添加真实图层,左侧选层,右侧编辑;普通检查器与工作区共用宿主状态。LUT保留原缩略图和异步浏览逻辑,示波器收在同一窗口。
矩形、椭圆或钢笔可先画后指定多个模块,也可先选模块再画、随后继续关联其它模块。同一蒙版的形状、关键帧和跟踪由HSL、蜘蛛盘等模块共同引用;解除一个关联不会删除对象。
工作区默认窄条,可扩大、缩回及调整左右分栏。FxPlug的远程窗口由FCP托管,当前公开接口不提供原生停靠到检视器。跟踪已按本机ColorFinale2.16.2证据接入官方OpenCV4.5.1及相应预处理;生成运动参考通过,原版相同视频的完整轨迹等价仍待验证。详见[证据报告](research/ColorFinaleWorkspaceEvidence-20261105.md)和[当前交接](自定控件开发交接.md)。
当前处于1.12.0(74)正式候选验收。签名、公证、宿主、安装包及Release结果分别以verification中的本轮报告为准;不将1.11.0记录当作新版通过证明。
## 1.11.0 历史画布图形与空间工具
工具条可打开曲线、HSL 和蜘蛛盘的半透明编辑面板,拖动标题可移动,点击标题折叠,同一工具再次点击关闭。主检查器初始仅显示一级、蜘蛛、基础、HSL 四张折叠卡;其它工具通过“+ 添加模块”或画布入口进入,已有有效调色自动显示。
- 曲线:同区显示直方图;切换 RGB/红/绿/蓝,点击加点、拖动调节、删除选中点。
- HSL:选择色相、饱和度或明亮度,上下拖动对应颜色点;参数页保留精确参数与自定义色选。
- 蜘蛛盘:拖点联动同列自由点,可固定、还原选中点、全盘复位及切换网格分辨率。
- 肤色:默认仅保护人脸肤色;“显示肤色保护区域”以灰度显示实际权重。无脸时为空,关闭人脸限定可使用旧的全图颜色筛选。
- 镜头畸变修复:正负强度调整径向畸变,配合缩放与光学中心;小画布通过工具条 ↕ 翻页找到“畸变”。
图形修改支持基础层与独立 UUID 层,一次拖动归入一次撤销。主题、面板位置和开合不改变调色。系统“降低透明度”开启时使用实色面板。完整预设保存空间参数与网格;Cube 无法保存空间选区和几何变换。
正式 1.11.0(73)已签名、公证、安装并通过 724 项原生检查;FCP 12.4 中画布三工具及一次撤销、人脸肤色区域、畸变调整已由用户实鼠确认正常。PKG 已通过签名、公证与 20 项展开验包,保存在上级发行包目录。[1.11.0 安装包 Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.11.0-canvas-spatial-20261105)已发布,发布前后完整下载的大小及 SHA-256 均一致;源码标签已从远端独立恢复核验。详见 verification/Release.json。
继续完善画布自定控件请先读[自定控件开发交接](/Volumes/备份/大鱼调色/大鱼调色/自定控件开发交接.md),其中列出当前能力、源码入口、交互约定、建议顺序和验证方法。
原生 FxPlug 4 调色器,固定位置 `/Library/Plug-Ins/FxPlug/大鱼调色.app`;FCP 中从“效果 → 大鱼调色”添加。1.11.0为上一已验收版本。
1.10.0 基线采用纵向工具条和多个可移动浮动面板,曲线可直接拖点,分级可直接调色轮;画布外工作区提供 sRGB 显示参考示波器和风格1 LUT 预览。该历史版本的695项正式安装原生检查与用户实鼠的曲线拖点/一次撤销、LUT预览、示波器更新均通过。
[原资源文章](https://dayu.media/15792/)此前更新为“1.10.0 紧急 UI 更新”,本轮未修改文章或站点下载。[历史 1.10.0 Git Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.10.0-canvas-workspace-20261104)保留原有草稿,因草稿附件下载核验未完成而未发布;源码与版本标签已推送并独立恢复核验。详见[交互说明](research/ViewerWorkspace-20261104.md)、[宿主验证](verification/HostWorkspace1.10.0.json)、[文章验证](verification/Article1.10.0.json)与[恢复说明](RECOVERY.md)。
1.8.4 收敛“霓虹炫彩”配色:所有模块统一使用用户已认可的低饱和近黑表面,去掉红绿橙色块。保存预设保留原粉紫到青色渐变;模块名称按钮以统一轻渐变、细边和更亮展开态强化显示,蒙版/删除/再加一层按钮增加克制的按钮底。原主题编号、功能、直方图、CMS及预设保持。
[1.8.4安装包 Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.8.4-refined-neon-20261104)。正式验证见 verification/HostRefined1.8.4.json。
1.8.3加入的曲线直方图继续使用真实320×180分析缓存、256档、最多2Hz,RGB叠加亮度和三个色彩通道;可切单通道及显隐。原流程源为一级CST/输入LUT后,新CMS为显示输出转换后、SDR修饰前,非最终输出/HDR示波器或每层的即时曲线输入。用户已否定1.8.3的分模块彩虹色块,后续不要恢复该视觉方案。
历史1.8.2 将高级色彩管理收进顶部“颜色设置”按钮,默认收起且不占调色区域;展开和收起只改变显示,不写调色参数、不产生撤销项。新增“黑金渐变”主题:黑色与深炭色背景、亮金文字和小范围静态光晕;未设置主题时默认黑金,已明确保存的五种旧主题继续保留,可随时切换。增加对比度或减少透明度时不绘制文字光晕。窄栏使用两排操作按钮。
默认色彩流程仍为“原有流程”,已保存的 v2/v3 工程继续使用原设置。下文的高级色彩流程均从“颜色设置”展开选择。色轮与通道曲线保留实际色相,界面主题不改变图像颜色。
[1.8.2 安装包 Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.8.2-blackgold-20261104);595 项原生检查与正式 FCP 验收见[界面验收记录](verification/HostCompactUI1.8.2.json)。
1.8.1 修正 1.8.0 固定 ACEScct 接管并隐藏一级 CST 的设计问题,恢复原有输入、工作曲线/色域与输出选择,并将主输出放到一级层和印片之后。打开顶部“颜色设置”,明确选择“一级 CST · 延后输出”启用修正流程。模板与插件注册缺省保持原有流程,保护已有未声明 CMS 的工程。1.8.0 ACES 流程作为兼容方式保留,不自动修改已保存画面。
[1.8.1 安装包 Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.8.1-cst-correction-20261104);[修正约定与验证边界](research/cms-correction-20261104/design.md)。1.8.0 的研究来源与历史实施见[只读调查](research/cms-audit-20261103/report.md)。
## 1.8.1 一级 CST · 延后输出
推荐方式的实际顺序:**声明的素材编码 → 一级输入 CST(不做显示映射)→ 所选工作域一级调色 → 独立一级层 → 印片 → 一级输出 CST/可选映射 → SDR 修饰 → 宿主显示**。主输入不先套 Rec.709 显示还原,工作空间由原一级的工作曲线与工作色域决定,可使用 DWG/DaVinci Intermediate、ACEScct/AP1 或其他已列出的独立组合。
新增独立一级默认继承主工作空间,输入/输出相同且映射关闭。切换主工作空间时跟随更新;手动修改某段曲线/色域后,该段保留独立选择。每层明确设置的 CST 实际执行,完成后按声明的输出空间返回主工作域。混合、蒙版在 AP1 线性中进行。主一级眼睛旁路整个主 CST 模块;其他工具保持既有宿主直通行为。
印片只在自身所需的 ACEScct/AP1 域处理,随后返回所选工作空间。主输出始终在这些步骤之后。其余旧工具仍是输出后的 SDR 修饰;Log/线性码值输出会拒绝活跃的 SDR 修饰。此修正没有把所有旧工具改写为场景域/HDR 算法。
新流程的 CST/BASIS 入口、出口和图像传输为 float32,原算术与旧入口保留;线性工作曲线明确经过 DI 适配。纯 Log/线性直通不产生重复编码量化。新流程 Cube 为 65³,输入、输出均依启用的一级 CST 阶段声明,保留所选输出 Gamma/Log 编码;宿主显示另按实际目标配置解释。
手动 CST 接收 FCP 已交给插件的像素,沿用明确的码值载体。使用相机 Log 时须核对上游相机 LUT、颜色符合和任何其它还原;本插件不能恢复上游已经压缩或裁切的信息。受控宿主样本使用带 sRGB 标签的 16-bit PNG Log 码值载体,不代表验证所有相机文件的上游路由。
完整预设仍为 v7,新增独立 CMS 状态 v3;旧 nil/v2 状态按原流程渲染,不静默升级。 581 项正式原生检查、FCP12.4 两代预设逐字节保存重开、独立层跟随与撤销重做、65³ Cube、100帧 ProRes 和 XML 回读通过,见[宿主验收](verification/HostPrimaryCST1.8.1.json)。
## 1.8.0 兼容色彩管理
打开顶部“颜色设置”选择管理方式;色彩管理独立于可删除的调色模块。旧工程与 v1–v6 预设缺省仍走原有渲染,不自动改变原画面。新增一级层默认关闭额外色调映射,旧层明确保存的开关保留。
- **跟随 FCP**:按实际源/目标颜色配置转换,不重复还原相机,不加显示映射。内部一级工作空间固定为 ACEScct/AP1。
- **相机编码 → ACES**:明确指定输入曲线/原色,再经过一次所选输出变换。此方式保留旧版 sRGB 码值载体约定,使用前须关闭上游相机还原和重复的颜色符合。
- **输入 LUT → ACES**:明确选择输入 LUT 及其输出编码,使用浮点四面体插值后进入同一工作链,避免低阶 LUT 的硬件插值精度误差。
引擎固定 OpenColorIO 2.5.2 / ACES 1.3 studio-config v2.2.0,源码、依赖源包、摘要与许可证保存在 ColorManagement/,不依赖兄弟 APP 的安装。宿主颜色配置用实际 CGColorSpace 描述及指纹分别缓存;只有已知 RGB Linear / Rec.709 或 Rec.2020 才允许缺失配置的回退。
1.8.0 兼容方式的处理顺序固定:所有一级层 → 所有印片(ACEScct)→ 一次输出变换 → SDR 修饰工具 → 实际宿主目标。一级混合、蒙版及印片强度在 AP1 线性域混合。核心图像传输、OCIO 与配置转换采用 float32;沿用的 BASIS 入口及活跃旧工具仍有 half 精度。SDR 修饰域明确为 Rec.709 线性/sRGB,物理色域转换后接入;新版减色用有界效果差量延伸保留超范围残差,旧版限幅保持。
PQ/HLG 输出或跟随 Rec.2020 宿主暂只接受一级与印片;存在活跃 SDR 修饰时返回明确错误,不静默进入有界 LUT。此版本没有把全部旧工具改写成场景/HDR 算法。
完整预设为 v7,包含独立 CMS 状态,兼容 v1–v6。新版 Cube 为 65³,输入为声明的相机/LUT 码值,跟随宿主方式导出时输入约定为 sRGB;输出固定为 sRGB/Rec.709 编码。它不保存工程的宿主上下文。HDR、蒙版、空间/时间处理和画面分析应保存完整预设。旧兼容方式维持原有 33³ 导出。
交接与恢复入口:[大鱼调色FxPlug4交接.md](大鱼调色FxPlug4交接.md)。
主 APP 已改为深色产品介绍界面,发布地址置顶;启动自动注册并回读系统登记,成功后在状态卡显示3秒倒计时退出。查看介绍或打开FCP检查可保留窗口;FCP中的实际效果由用户确认。外层沙盒按用户要求关闭,登录、授权、加密、自动更新及后端暂未接入。见[本轮说明](research/MainApp1.6.1.md)与[主APP验证](verification/MainApp1.6.1.json);后续账号工作仍参考[原交接](大鱼调色主APP开发交接.md)。
1.7.4 在每个模块和新增图层标题增加减号,删除时还原参数、清除关键帧及所属LUT/蒙版,再从界面隐藏。顶部“添加模块”创建初始参数的新层;一次撤销恢复原设置。436项正式原生检查和FCP删除、撤销、重做、重新添加、独立层删除、冷重开通过。见[删除实现](research/ToolDeletion1.7.4.md)及[宿主记录](verification/HostToolDeletion1.7.4.json)。
1.7.3 修正“更多空间”下远程内容容器原点偏移造成的大片灰色和裁切。首次打开自动对齐内容区,无需点击绿色按钮;不调整宿主窗口尺寸。411项正式原生、27项几何与23项浏览库检查通过,本机FCP12.4同一显示设置的首次、热/冷重开与缩放正常。见[实际原因与修正](research/BrowserMoreSpace1.7.3.md)、[宿主验证](verification/HostBrowserMoreSpace1.7.3.json)和[资源文章](https://dayu.media/15792/)。目标MacBook/FCP12.3仍需使用者更新复测。
1.7.2 修正LUT缩略图浏览库远程窗口的尺寸归属和容器同步,不再把本地位置记录强加给FCP;本地脱离式窗口改用系统实际标题栏换算。408项正式原生、21项几何及23项浏览库检查通过,FCP12.4/macOS27.0.1观察到完整深色窗口、网格/列表及冷重开正常;报告中的FCP12.3目标机尚未直接复测。见[修复依据](research/BrowserRemoteGeometry1.7.2.md)、[宿主记录](verification/HostBrowserGeometry1.7.2.json)、[1.7.2 Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.7.2-browser-geometry-20261102)及[资源文章](https://dayu.media/15792/)。
1.7.1 兼容颜色数据行夹带文字的 Cube:保留数值前缀、未读取通道补 0、保持原行位置。用户原文件 65³ 全表与本机 FCP 自定 LUT 读取规则对照通过;正式路径407项原生检查、FCP导入/缩略图/应用/冷重开通过,原始字节保留。见[兼容依据](research/LUTNotes1.7.1.md)、[宿主验证](verification/HostLUTNotes1.7.1.json)和[1.7.1安装包 Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.7.1-lut-notes-20261102)。网站公测更新清单仍为原1.7.0,本轮未改动后端。
主 APP 保留深色介绍、置顶发布地址、自动注册和3秒退出倒计时;加入启动自动检查公测更新和可关闭的云端诊断。更新使用完整 PKG,由用户确认下载并通过完整性、签名与产品校验后打开系统安装器;安装前要求保存并退出 FCP/Motion。诊断记录版本、环境、启动/界面/管线/首次渲染耗时及错误摘要,后台限量重试、云端去重并保留30天,不发送素材、LUT、预设、账号或硬件 UUID。暂未加入登录、授权及业务加密模块。
[1.7.0站点公测安装包](https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-7-0-45.pkg)、[1.7.0 Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.7.0-beta-20261102)、[日志管理页](https://dayu.media/wp-admin/tools.php?page=dayu-color-beta)(管理员)。反馈可附主 APP 的报告标识与发生时间。详见[公测前后端与隐私/恢复说明](Backend/README.md)、[1.7.0发行说明](Packaging/Release-1.7.0.md)和[正式宿主/日志验证](verification/BetaClientQA.json)。本轮保留既有调色与宿主回调逻辑,收集偶发卡死证据,尚未宣称解决该问题。
1.6.1 主界面改造及用户宿主确认属于历史记录,见[说明](research/MainApp1.6.1.md)、[验证](verification/MainApp1.6.1.json);后续账号工作仍参考[原交接](大鱼调色主APP开发交接.md)。
## 胶片模拟与通道混合器
@@ -18,7 +106,7 @@
349项原生检查、四种尺寸184项原版组件对照通过。FCP12.4验证旧234参数、LUT路径、蜘蛛盘和全部287键蒙版载荷不变;新增层默认值、蒙版数量、折叠、删除撤销/重做、冷重开通过。1920×1080正式导出验证“两帧保持”,组合预设8987字节及颗粒预设8420字节重开前后逐字节一致。见[研究与边界](research/ColorFinaleFilmMixer.md)、[组件对照](verification/FilmMixerReference.json)、[宿主验收](verification/HostFilmMixer1.5.0.json)。
FCP新实例、全部还原及新加一级层的自动色调映射默认开启;旧独立一级层的缺省关闭保持;FCP沿用模板默认值的旧主效果会跟随为开启,新版中手动关闭后可独立保存并在冷重开后保留。在主标题区增加可点击的“更多插件访问 https://dayu.media”。
历史 1.6–1.7 的 FCP 新实例、全部还原及新加一级层的自动色调映射默认开启;旧独立一级层的缺省关闭保持;FCP沿用模板默认值的旧主效果会跟随为开启,新版中手动关闭后可独立保存并在冷重开后保留。在主标题区增加可点击的“更多插件访问 https://dayu.media”。
## 1.6.0 八种印片与简洁模板
@@ -103,6 +191,6 @@ LUT 缩略图浏览器使用宿主的独立可调整窗口:拖动标题栏移
正式发行包由 PKG 工坊技能生成,包含 APP 与 FCP 模板,不含用户 LUT、预设或媒体。安装与发布证据分别保存在 [Package.json](verification/Package.json) 和 [Release.json](verification/Release.json);以其中记录的版本和成功状态为准。
当前发行包:[大鱼调色-1.6.1.pkg](../发行包/大鱼调色-1.6.1.pkg),主APP与注册验证见[1.6.1记录](verification/MainApp1.6.1.json)。 [1.6.1 Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.6.1-main-app-20261102)已发布(Release374 / 附件19),草稿和正式链接完整下载均核对40,854,422字节和SHA-256一致;发行标签304文件逐字节独立恢复、102个APP/工程文件与实际编译节点一致,已清理本轮生成副本。FCP实际使用已由用户于2026-11-02明确确认正常,见[用户验收记录](verification/HostUserConfirmation1.6.1.json)。历史发行包:[大鱼调色-1.6.0.pkg](../发行包/大鱼调色-1.6.0.pkg)。当前安装、公证、验包与Release下载结果分别以[Delivery](verification/Delivery.json)、[Package](verification/Package.json)、[Release](verification/Release.json)为准。[1.6.0 Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.6.0-print-looks-20261102)已发布(Release373 / 附件18),草稿正常浏览器下载和发布后完整下载均校验40,833,847字节及SHA-256一致。标签296个文件远端逐字节恢复核验通过,本轮恢复/下载及生成APP副本已清理,见[标签恢复](verification/PrintLooksReleaseRecovery.json)与[清理记录](verification/PrintLooksCleanup.json)。历史[1.5.0 Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.5.0-film-mixer-20261102)及更早标签和发行包保留。
历史发行包:[大鱼调色-1.6.1.pkg](../发行包/大鱼调色-1.6.1.pkg),主APP与注册验证见[1.6.1记录](verification/MainApp1.6.1.json)。 [1.6.1 Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.6.1-main-app-20261102)已发布(Release374 / 附件19),草稿和正式链接完整下载均核对40,854,422字节和SHA-256一致;发行标签304文件逐字节独立恢复、102个APP/工程文件与实际编译节点一致,已清理本轮生成副本。FCP实际使用已由用户于2026-11-02明确确认正常,见[用户验收记录](verification/HostUserConfirmation1.6.1.json)。历史发行包:[大鱼调色-1.6.0.pkg](../发行包/大鱼调色-1.6.0.pkg)。当前安装、公证、验包与Release下载结果分别以[Delivery](verification/Delivery.json)、[Package](verification/Package.json)、[Release](verification/Release.json)为准。[1.6.0 Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.6.0-print-looks-20261102)已发布(Release373 / 附件18),草稿正常浏览器下载和发布后完整下载均校验40,833,847字节及SHA-256一致。标签296个文件远端逐字节恢复核验通过,本轮恢复/下载及生成APP副本已清理,见[标签恢复](verification/PrintLooksReleaseRecovery.json)与[清理记录](verification/PrintLooksCleanup.json)。历史[1.5.0 Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.5.0-film-mixer-20261102)及更早标签和发行包保留。
1.3.1 的历史验收包含 Sony 默认、可见复位、浮动浏览器、系统窗口缩放、两种布局、最近排序与关闭重开。原生检查单独覆盖几何/布局持久化和鼠标事件;当时自动化没有独立确认自由标题栏/边缘拖动。1.4.0 另在独立合成工程中完成上文的宿主检查,用户确认中心拖动后保留其试调状态。
+252 -1
查看文件
@@ -1,8 +1,245 @@
# 2026-11-05 安装完整性加固 1.13.2(86)
从 `https://dayu.media/git/dayu/dayu-color.git` 检出实际编译提交 `db6b2b05b3ee2ad40a6aeab70017a2b121caa67d`。独立远端检出核对 618 个文件和 Git 完整性,无子模块。沿用 Xcode 27.1、FxPlug SDK 4.3.5、Apple Silicon、macOS 14.6+、Release 和已有锁定依赖。正式 APP 固定在 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,签名团队为 `B3W25FX5H5`。签名、公证登录和证书私钥单独恢复。
验签覆盖主 APP 登记、内嵌 FxPlug 服务启动和自动更新入口。保持现有效果 UUID、原始安装包的转发与离线使用。验签失败会停止当前副本更新并尝试撤销它的登记。系统可自行发现磁盘上的插件,FxPlug 启动检查独立执行。后端更新通道沿用现有策略。验证见 [完整性测试](verification/Integrity1.13.2.json) 和 [宿主验收](verification/HostIntegrity1.13.2.json)。
使用 `tools/deliver.py` 从正式路径安装验收,再通过 `Packaging/build_pkg.py` 打包。正式 PKG 为 `../发行包/大鱼调色-1.13.2.pkg`,45,359,239 字节,SHA-256 `6c18bc081cd9d5099ae821df5d5da43585f9db292345c18db4a4e12cce1f133f`。APP 与 PKG 均签名、公证 Accepted、票据验证通过,安装包通过 20 项展开核验。版本标签为 `v1.13.2-integrity-20261105`。[APP 交付](verification/Delivery.json) · [PKG 验包](verification/Package.json)
# 2026-11-05 检视器与画布控件 1.12.1(81)
正式 APP 位于 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,主 ID `com.dayu.color`,服务 ID `com.dayu.color.XPC`。实际编译源码为 `43320c7ccdfc6738ba3c380888bb7f3ea75ebb87`,已推送至 `https://dayu.media/git/dayu/dayu-color.git` 的 main。恢复编译时检出该提交,沿用下节的 Xcode 27.1、FxPlug SDK 4.3.5、Release 和锁定依赖流程。正式签名及公证凭据独立恢复。
APP 公证 `8a070adc-a38c-44df-a8b6-ee36198a0cbc` Accepted,签名、票据、唯一 PluginKit 路径及 844 项正式原生检查通过。FCP 12.4 冷重开后检视器顶部完整显示,曲线读取 57,600 个输出样本,已有色温及调色状态可读。80 版的检视器裁切在 81 版修正,画布曲线与直方图的实鼠反馈见验收记录。白平衡吸管复用基础调整的求解和宿主写入,系统取样交互的实机覆盖范围见 [宿主记录](verification/HostCanvasInspector1.12.1.json)。
保存弹窗在内置 APFS 验收库未复现。故障排查以素材库卷、库数据库和特定插件写入三个方向分别核对,见 [保存告警排查](research/FinalCutSaveFailure-20261105.md)。
正式 PKG `../发行包/大鱼调色-1.12.1.pkg` 为 45,337,206 字节,SHA-256 `ae65ac0dcaf7cead701b8ac543ee60ae62e55fd9e19646877d5ef9d9d7351b6f`。Installer 签名、公证 `ffefbde6-10f2-40e3-a8c4-ef4123053c74` Accepted、票据及 20 项展开验包通过。发行标签为 `v1.12.1-canvas-inspector-20261105`,安装包与发布附件的核验分别见 [Package.json](verification/Package.json) 和 [Release.json](verification/Release.json)。
Git Release 390 的附件 34 已公开为公测版,草稿与正式链接均完成全量下载校验。发行标签完整提交为 `9f0adbeb3b1b902b66ac4be7169b919f82675f21`。独立远程检出核对了 607 个跟踪文件及交付记录,标签的编译输入与实际编译提交一致。已清理本轮 79 和 80 的恢复 APP、公证 ZIP、草稿下载及临时检出。[Git Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.12.1-canvas-inspector-20261105) · [恢复核验](verification/CanvasInspectorRecovery1.12.1.json)
# 2026-11-05 统一工作区与共享蒙版:1.12.0(79)
当前唯一正式安装为1.12.0(79),实际编译源码 `beccf2fc01f8dc06c5d3d505f88289885d209bc8`,APP公证 `f66d9934-b015-49d1-bada-717d7399e673` Accepted,票据、Gatekeeper、唯一PluginKit路径、834项正式原生检查和FCP反馈验收通过。实际记录为verification/Delivery.json、HostFeedback78.json和HostFeedback79.json。
正式PKG `../发行包/大鱼调色-1.12.0.pkg`,45,329,742字节,SHA-256 `d4b557fec283f5e06f605bc6b1d99a0c8649f9d65e405eba452f525e8454cdfe`。Installer签名、公证 `e57b2649-ca38-46df-afed-c50442bf6227` Accepted、票据、Gatekeeper和20项展开验包通过。本轮未重复执行系统PKG安装,APP已有独立正式安装验收。
源码远程https://dayu.media/git/dayu/dayu-color.git,main;发行标签 `v1.12.0-unified-workspace-20261105` 指向含正式Package.json的 `b72e6b31724def5c174b692ef0a46b76992e780b`。恢复精确编译输入可克隆后 `git switch --detach beccf2fc01f8dc06c5d3d505f88289885d209bc8`;发行标签保留验包及发布说明,后续main保留最终Release下载与清理记录。唯一正式位置`/Library/Plug-Ins/FxPlug/大鱼调色.app`。构建要求:Xcode27.1、FxPlug SDK4.3.5、Apple Silicon、Release,Team B3W25FX5H5。签名私钥/公证登录需独立恢复,Git不含密钥。
新增OpenCV4.5.1官方源码锁在ThirdParty/OpenCV/source-lock.json,构建脚本tools/build_tracking_opencv.py会校验下载并静态编译必要模块,缓存和link.rsp在固定产品缓存tracking-opencv;完整许可随APP资源复制。恢复不需要安装ColorFinale或商业跟踪库,研究缓存和原版二进制不是构建依赖。已有色彩管理依赖锁和源包仍保留,Uniform1344字节、预设v7和旧工具schema2兼容。
共享工具文档schema3是编辑权威源,渲染展开副本不得写回。新宿主验收辅助资料由tools/create_workspace_host_fixture.py重建。最近LUT快捷区、左下画布栏、HSL/蜘蛛盘排版、肤色线及片尾时间修复见research/WorkspaceFeedback-20261105.md。真实CF与大鱼共同99帧最大位置差约0.008源像素、角度差约0.015度;原版导出缺最后一帧,完整100帧报告保留缺失,不宣称任意素材或分组/插值完全等价,详见HostTracking78两份报告及ColorFinaleTrackSemantics78.json。FCP项目和媒体留在本机,没有上传为软件源码备份。工作区仍为宿主托管浮窗,公开FxPlug接口没有原生FCP停靠入口。独立远程检出596个编译节点跟踪文件逐字节一致,未宣称全部依赖冷构建。恢复后仍按Release签名、公证、票据、唯一正式安装、真实宿主验收和Release附件完整下载交付。
Release389/附件33已发布,保留原有公开仓库和公测标记;草稿浏览器真实下载及发布后API再次完整下载均为45,329,742字节,SHA-256与正式PKG一致。发布页:https://dayu.media/git/dayu/dayu-color/releases/tag/v1.12.0-unified-workspace-20261105 。本轮5个已确认生成的旧APP恢复副本、临时下载和独立恢复检出已清理;唯一正式APP与当前发行包保留,历史用户发行包不清理。详见Release.json、UnifiedWorkspaceFinalRecovery79.json与UnifiedWorkspaceCleanup79.json。
2026-11-05 已更新原站点文章 15792 的 1.12.0 说明、特色封面和主下载包。原有售价、会员免费设置及历史界面图均已回读。文章资源和公测更新通道的完整下载均为 45,329,742 字节,SHA-256 与正式 PKG 一致。正文和清单的可复用输入见 `Publishing/1.12.0/`,前台和资源核验见 [Article1.12.0.json](verification/Article1.12.0.json)。
主 APP 公测通道已从 1.7.0(45)更新到 1.12.0(79)。旧版本可收到提示,79 及以上不重复提示。现有更新器已实测从线上检查、下载、校验到可安装状态。NAS 同步了更新目录中的 `dayu-color-1-12-0-79.pkg` 与 `beta.json`,旧包及同目录的 `beta-202611051601.jsonbak` 保留,备份与旧清单逐字节一致。详细部署路径、摘要和线上回读见 [BetaPublication1.12.0.json](verification/BetaPublication1.12.0.json)。
以下为历史恢复记录,以本节及当前验证报告为准。
---
# 2026-11-04 历史画布工具与辅助工作区:1.10.0(72)验收完成
当前正式安装 **1.10.0(72)**,固定位置 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,主 Bundle ID `com.dayu.color`,XPC `com.dayu.color.XPC`。实际编译源码 `80dec904bedf5f704b29d16325fa95d639f3a250`;Developer ID 团队 B3W25FX5H5,APP 公证 `c0209032-38d2-4434-8e37-7f911414c3c6` Accepted。票据、Gatekeeper、唯一 PluginKit 正式路径、正式安装的 **695 项原生检查**与用户实鼠验收通过。
画布侧改为纵向十四工具入口,支持多个独立移动、折叠和关闭的浮动工具面板。曲线直接添加、拖动、删除点并切 RGB 通道;颜色分级提供四个实际色轮,二者可切换参数页。其它工具继续使用原有参数和图层 UUID;移动面板与切换编辑视图不进入调色撤销。
外部“工作区 · 示波器 / LUT”由 FxRemoteWindow 托管。亮度波形、RGB 分列和直方图采集当前效果输出并标注 sRGB 显示参考/分块限制;不包含其后其他效果或宿主显示转换,也不替代 HDR/IRE 测量。LUT 页预览与应用风格1。用户明确确认曲线拖点/一次撤销、外窗 LUT 预览、移动播放头后示波器更新“三项都正常”,见 `verification/HostWorkspace1.10.0.json`。
最终 PKG `../发行包/大鱼调色-1.10.0.pkg`,43,090,565 字节,SHA-256 `ee70461c9b2d2e0ddd78cbcb3371c3b1b36b7f0e5fc69bfccc7ac0f1a3e468d8`,Installer 签名、公证 `9604cc73-153c-4751-ac5b-2cca76b4c219` Accepted、票据、Gatekeeper 和20项展开验包通过。APP 已独立安装验收,本轮未重复执行系统 PKG 安装脚本。`verification/Package.json` 是本版验包记录。
按用户要求,公证后先更新原文章 https://dayu.media/15792/:标题及正文说明“紧急 UI 更新”,新生成封面,深色/浅色两张用户原图,主下载包更新为本版;50元、有效会员免费及其它商业/视频设置保留。前台SEO逐项一致、旧图移除、新图原始哈希与正式包完整下载校验通过。素材、正文、提示词与验证分别保存在 `Publishing/1.10.0/`、`verification/Article1.10.0.json`。未修改 NAS 源码、生产接口或自动更新清单。
远端 https://dayu.media/git/dayu/dayu-color.git,main。版本标签 `v1.10.0-canvas-workspace-20261104` 已推送并回读,完整提交 `c0e6f3be0afc310125d2d045a96655db7524f24b`。Git Release387/附件31已上传草稿;草稿下载需要浏览器登录,而CUA因当前页面URL访问限制终止会话,未绕过限制、未发布Release。当前 `verification/Release.json` 与 `CMSReleaseDraft.json` 如实记录下载核验阻塞。原文章的下载包已另行完整下载校验通过,不能用它冒充Release附件下载证明。标签包含最终Package.json与文章记录;本轮发布状态在后续main,不移动既有标签。71 因实窗顶栏缺陷被72替代未发布,70包保留为历史未发布候选。
独立远程 checkout 已核对实际编译提交、526个跟踪文件、Git fsck、8个锁定依赖归档、插件/诊断/工作区/渲染器四个翻译单元 C++20 语法,见 `verification/WorkspaceRecovery1.10.0.json`。无 LFS/子模块,未重复完整重建 CMS 依赖。Xcode27.1、FxPlug SDK4.3.5、Apple Silicon/macOS14.6+;签名/公证凭据需独立恢复,不在 Git。
正式验收后已清理任务生成的70/71旧安装恢复APP、缓存生成APP和公证ZIP,见 `verification/WorkspacePendingCleanup1.10.0.json`;独立远程版本标签已核对源码、Git完整性、文章和三张素材哈希,实际编译源码未变;恢复checkout、网站验包下载副本及任务临时脚本核验后清理。源码、历史包和用户QA媒体保留。恢复具体步骤沿用下文,当前版本以本节和相应验证记录为准。
以下为上一完整发布版 1.8.5(67)及历史交接,供恢复参考。
# 1.8.5(67)浅色 / 深色双模式
远程 https://dayu.media/git/dayu/dayu-color.git,main。实际编译源码d39004c26af3c0c5853111faef7e40e6c66f6aa6;发行标签v1.8.5-light-dark-20261104。标签完整提交、正式安装包与下载校验见verification/Release.json及Package.json。当前交接大鱼调色FxPlug4交接.md;旧配色历史以归档为准。
只保留浅色/深色两个文字按钮,旧主题已移除。浅冰蓝反光浮雕与炭黑局部光晕为同系列;内部7/8偏好ID保留,旧0–6读入回落深色,新偏好默认浅色,不自动跟随系统。主题不进入调色参数。610项正式原生检查、FCP两模式实看/切换、57,600直方图采样和前后8,590字节完整预设一致通过。HostTwoModes1.8.5.json说明实际验收与未覆盖范围。
唯一正式APP /Library/Plug-Ins/FxPlug/大鱼调色.app,主ID com.dayu.color,内部com.dayu.color.XPC;Release/Developer ID团队B3W25FX5H5。APP公证bf104b1f-5161-4970-8d8a-170989825747 Accepted,票据、Gatekeeper与正式启动通过。PKG独立签名公证与20项展开验包结果见最终Package.json;APP独立替换并验收,未重复运行PKG安装脚本。
ColorManagement包含8个依赖归档及许可证,无LFS/子模块。恢复需Xcode27.1、FxPlug SDK4.3.5、Apple Silicon/macOS14.6+及独立保存的签名/公证凭据;Git不包含密钥。按下文恢复依赖,检出具体完整SHA后Release构建,再运行tools/deliver.py按正式签名公证安装并宿主验收,通过后Packaging/build_pkg.py。必要资源与源码/版本标签独立检出核验见SoftRecovery1.8.5.json;未宣称独立重新编译。
正式发行包输出../发行包/大鱼调色-1.8.5.pkg;66已验包但未发布的候选由最终67替代,保留证据Soft66Package.json,临时文件按SoftCleanup1.8.5.json清理。历史发行包/标签、源码和私人QA媒体保留。本轮未改NAS后端、网站文章或自动更新清单。
最终67正式PKG 43010987字节,SHA-256 b4540c2be931d9e042ed1a6f2673c001e4b6e0ec67eef0bc22f4b3977af4952b,公证04fae6f1-7e38-4ab4-8c12-7bcae0ea77fd Accepted,Installer签名/票据/Gatekeeper及20项展开验包通过。源码及正式包记录随v1.8.5-light-dark-20261104标签保存;实际Release/下载回读另见后续Release.json。
最终Release386/附件30已发布并回读:https://dayu.media/git/dayu/dayu-color/releases/tag/v1.8.5-light-dark-20261104。标签完整提交def8c2f6386a3d34453912b9e8f96e37e192796c;草稿Edge真实下载与发布后再次完整下载均核对43010987字节、SHA-256 b4540c2be931d9e042ed1a6f2673c001e4b6e0ec67eef0bc22f4b3977af4952b。PKG公证04fae6f1-7e38-4ab4-8c12-7bcae0ea77fd Accepted。独立远程版本标签498个文件与8个依赖归档校验,编译输入一致;本轮未独立重新编译。生成APP、旧安装备份、候选66包、下载副本及恢复clone按SoftCleanup1.8.5.json清理,正式67安装和最终PKG/历史包保留。标签包含最终Package.json;标签快照里的旧Release.json是上一版历史,1.8.5发布回读在后续main,不移动既有标签。
---
# 1.8.4(64)统一底色与模块按钮强化
仓库 https://dayu.media/git/dayu/dayu-color.git,main。实际编译源码55b66a358cf4c52eeb6ad89acde822cb73be3137,发行标签v1.8.4-refined-neon-20261104;完整标签SHA和下载校验见Release.json。正式位置/身份/依赖沿用下文,完整当前交接见大鱼调色FxPlug4交接.md。
用户否定1.8.3的红绿橙色块;候选63的统一低饱和近黑底色已获认可,最终64保持底色代码不变,只强化模块名称轻渐变/细边/展开态及右侧图层操作按钮。保存预设保留原粉紫到青色渐变。不要恢复历史彩虹卡片或深蓝灰方案。
605项正式原生检查和FCP12.4界面/预设前后一致检查通过;详见HostRefined1.8.4.json。正式APP公证34af6e05-cba5-4031-9184-762f758c0889,PKG公证2632037d-733a-4092-8323-12dcf264c022均Accepted;票据及Gatekeeper通过,PKG20项展开验包。APP独立正式替换验收,未重复运行安装脚本。
发行包../发行包/大鱼调色-1.8.4.pkg,43009859字节,SHA-256 59c8cee9282260ad97130b1d3d8dc6b09bdf8e8f82cb6c5937bf54ee5880e660。源码、安装包、标签、完整下载与恢复范围见对应verification报告。未修改网站文章或自动更新清单。
Release385/附件29已发布,草稿及发布后完整下载均验证通过。标签完整SHA fe7ddbd6f89b4ee3c7af9dd61e94d99056f414e8;远程独立恢复485个文件及8个依赖归档,编译输入一致。临时恢复与下载副本已清理,详见RefinedRecovery1.8.4.json和RefinedCleanup1.8.4.json。
---
# 1.8.3(62)多色渐变与曲线直方图
仓库 https://dayu.media/git/dayu/dayu-color.git,main。编译源码3fd015224037df944b428684c43ec8ec7accea85;发行标签v1.8.3-neon-histogram-20261104。正式位置、身份、依赖及恢复步骤沿用下文;当前详细交接见大鱼调色FxPlug4交接.md。标签/附件最终完整SHA见verification/Release.json,包校验见Package.json。
最终主题ID6为分模块饱和双色渐变,无统一紫底或深蓝灰底;候选60/61未发布包。605项正式原生检查、FCP真实视频直方图与冷重开、原8,590字节预设逐字节一致通过。APP公证706a58bb-2fa4-4b1e-b392-de60d93aef49为Accepted。独立远程源码与版本标签恢复范围见NeonRecovery1.8.3.json;本轮未宣称独立重编全部依赖。
直方图为320×180分析缓存、256档、最多2Hz,非最终输出/HDR示波器或每层即时输入;来源和显示范围见检查框工具提示。源码/模板数学和CMS默认保持。APP独立正式替换并验收,PKG按展开验包记录,本轮未重复执行安装脚本。网站与自动更新清单未修改。
Release384/附件28已发布,草稿浏览器完整下载和发布后再次完整下载均校验通过;版本标签提交a06a3a3914efb6970858baa9cfc6bed62549f09e。安装包43,010,609字节,SHA-256 518f54c12a6680c32be5cb4bd7d01b8a4c49e3d492a0d9d75ac5e46e3345da53。远程独立检出验证475个跟踪文件及8个依赖归档,编译输入与标签一致;临时clone、下载副本、生成APP和三个候选/旧安装备份已按记录清理。
---
# 1.8.2(59)黑金界面与高级颜色设置
仓库 https://dayu.media/git/dayu/dayu-color.git,main。实际编译源码 da03d16c7efa87a5d230467334ec73f9a3a12e54;发行标签 v1.8.2-blackgold-20261104。标签包括最终 Package.json;发布后的 Release.json 和最后恢复/清理核验保存在后续 main,标签中的旧 Release.json 属于上版历史。本版安装包以本版 Release 页面和后续 main 的发布记录为准。
高级颜色设置默认收起,展开/收起不写参数。未保存主题偏好时使用黑金 ID5;原主题 ID0–4 及明确保存的选择保留。渲染实现、模板与色彩流程缺省不变,nil/v2/v3 状态保持。候选58的黑金“添加模块”文字漏绘已在实机发现并回滚,未发布安装包;正式版59修复并增加像素绘制检查。
595 项正式安装版检查、FCP 12.4 六主题/10次开关、原 nil 工程保持、8590字节完整 v3 预设在更新与冷重开前后逐字节一致通过。独立远程克隆 Release 重建也通过595项检查,8个依赖归档的大小和 SHA-256 校验通过;复用已验证静态依赖缓存,不代表全依赖冷构建。详见 verification/HostCompactUI1.8.2.json、CompactUIRecovery1.8.2.json。
唯一正式 APP:/Library/Plug-Ins/FxPlug/大鱼调色.app,Bundle ID:com.dayu.color。恢复依赖、Xcode 27.1/FxPlug SDK4.3.5、构建/签名/公证步骤沿用下文;私钥与凭据须独立恢复。正式 APP 已独立替换并在宿主验收;PKG 通过20项展开验包,本轮没有重新运行系统安装脚本。
安装包:../发行包/大鱼调色-1.8.2.pkg,43006067 字节,SHA-256:cbabffc620ad851bd8ecddfaf797c46689722d0f772be409aaa29d0841a2eded。网站文章与自动更新后端未改。
正式 Release383/附件27已发布,标签完整 SHA:f4bacfbd75404a69f51127356fc861a44c0c27e9。草稿浏览器下载及发布后完整下载均为43,006,067字节,SHA-256:cbabffc620ad851bd8ecddfaf797c46689722d0f772be409aaa29d0841a2eded。下载副本和独立恢复副本在验证后清理;完整记录见 verification/Release.json、CompactUICleanup1.8.2.json。
---
# 1.8.1(57)CST 修正交付
实际编译源码:`059245858035e74f78bd669ef25913408d07d235`。仓库:`https://dayu.media/git/dayu/dayu-color.git`;版本标签为 `v1.8.1-cst-correction-20261104`,标签提交 `d0eadccc29782aa30301fff6dbf71c84b5758f59`。Release 382/附件26已发布,正式附件完整下载核验通过:42,999,475字节,SHA-256 `f94aa3a21ffbe52bc68b482289b71112d9895161e18f983af918d11547d254cd`。标签包含最终 `verification/Package.json`;Release 发布记录在完成上传/下载校验后提交到后续 main。标签快照中的旧 `Release.json` 属于上一版历史,不能当作本版的安装包记录;本版以版本页面及后续 main 的发布校验为准。
正式位置 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,Bundle ID `com.dayu.color`。启用修正流程需在顶部选择“一级 CST · 延后输出(推荐)”;旧 nil/v2 工程与模板缺省保留。候选56自动模板切换在实际宿主验收中发现会影响旧 nil 工程,已回滚,未发布安装包。
581 项正式原生检查、FCP12.4 两代预设逐字节保存重开、输入/工作/输出及独立层跟随/撤销重做、65³ Cube、100帧 ProRes 与两个项目的 XML1.12 回读通过。独立远程克隆重建源码版本并通过581项检查;8个依赖源包按锁定摘要验证,复用已验证的静态依赖缓存,不宣称全部依赖冷构建。
恢复源码与构建步骤沿用下文;需要恢复本版时检出上述编译提交或最终版本标签。重新验证证书、FxPlug SDK和 Xcode,正式交付仍需 Release 签名、公证、票据、唯一位置安装和宿主验收。受控 Log 载体可用正式服务的 `--self-test` 生成的 `primary-host-chart.json`,再运行 `tools/create_primary_host_fixture.py --diagnostic <路径>` 重建,不需要用户媒体或预设。
详细范围:[数值验证](verification/PrimaryCSTNumerical1.8.1.json)、[宿主验收](verification/HostPrimaryCST1.8.1.json)、[恢复构建](verification/PrimaryCSTRecovery1.8.1.json)。Git 保存不包含签名私钥;服务端备份仍遵循仓库指南,不假定已有异地备份。
---
# 大鱼调色恢复说明
## 1.13.1(85)等像素仿制图章
实际编译提交 `1659f3d3853e2574f06a45687141fb444b5d02ca`。正式 APP 固定路径、Bundle ID 与签名团队沿用 1.13.0。Apple 公证 `e1d669d2-821b-46a8-99bc-05c847c91a15` Accepted,票据、Gatekeeper、PluginKit 唯一正式位置、864 项原生检查和 FCP 12.4 读入旧图章通过。84 版验证了取样点拖动后被 85 版替代,未单独打包。83 和 84 的临时 APP 回退副本已清理。
独立远端克隆核对 613 个编译节点文件,Git full/strict、逐文件 SHA-256 通过,无 LFS 或子模块。继续沿用 Xcode 27.1、Metal 工具链、FxPlug SDK 4.3.5 与 macOS 14.6+ Apple Silicon。构建使用 `tools/deliver.py`,打包使用 `Packaging/build_pkg.py`。[宿主验收](verification/HostCloneSource1.13.1.json) · [独立源码恢复](verification/CloneSourceRecovery1.13.1.json)
正式安装包 `../发行包/大鱼调色-1.13.1.pkg`,45,352,349 字节,SHA-256 `8a19afadda6317d186541f37a221c46261a22ddabcdddec90d02e1315b693965`,公证 `b85219d9-d465-4827-bdb6-3023eb161159` Accepted。Developer ID Installer 签名、票据、Gatekeeper 和 20 项实际展开检查通过。版本标签为 `v1.13.1-pixel-clone-20261105`。本机使用独立 APP 安装验收。
[公测 Release 392](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.13.1-pixel-clone-20261105) 的附件 36 已通过草稿下载和正式附件二次下载校验。标签提交 `46153a26edfbf44c5f22fbad5953ec74c0d33883` 的 616 个文件、编译提交关系和安装包记录通过独立远程恢复。[发布证据](verification/Release.json)
## 1.13.0(83)画布响应与仿制图章
实际编译提交为 `9977b5c41b07e0b08e6408c492498ba6e396c981`。正式 APP 固定在 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,外层 `com.dayu.color`,XPC `com.dayu.color.XPC`。团队 B3W25FX5H5,Apple 公证 `a9134875-aea9-4150-9e61-3051d23cd809` 为 Accepted,票据、Gatekeeper 和 PluginKit 通过。82 版实窗发现系统符号未渲染,由绘制自有图标的 83 版替代。81 和 82 的本轮临时回退副本在验收后清理,历史发行包保留。
从大鱼远程独立克隆并恢复编译提交,610 个文件逐字节摘要匹配,Git full/strict 检查通过,无 LFS 和子模块。依赖沿用 Xcode 27.1、Metal 工具链、FxPlug SDK 4.3.5、Apple Silicon 与 macOS 14.6+。构建入口 `tools/deliver.py`,打包入口 `Packaging/build_pkg.py`。签名凭据单独恢复。宿主证据和源码恢复证据分别见 [HostCloneStamp1.13.0.json](verification/HostCloneStamp1.13.0.json) 和 [CloneStampRecovery1.13.0.json](verification/CloneStampRecovery1.13.0.json)。
正式安装包 `../发行包/大鱼调色-1.13.0.pkg`,45,350,463 字节,SHA-256 `7999233dd4a3b797a879cc0f37a20f0c35f925c5f6823720b40e684464a452e8`。Developer ID Installer 签名、公证 `13d6f418-4d36-4ef8-a92d-591610cb7682` Accepted、票据、Gatekeeper 和 20 项实际展开检查通过。版本标签为 `v1.13.0-clone-stamp-20261105`。本机已通过独立 APP 安装验收。
[公测 Release 391](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.13.0-clone-stamp-20261105) 的附件 35 已通过草稿下载和正式附件二次下载校验。标签完整提交 `07601e50bf604e7721bccf8be10e403a2bd030d1`,独立恢复版本标签和安装包记录通过。[发布证据](verification/Release.json)
## 当前1.8.0(55):版本化 ACES 色彩管理
远程 `https://dayu.media/git/dayu/dayu-color.git`,main;发行标签 `v1.8.0-cms-20261103`。实际编译源码 `11a88518280f0665f3cd0f388d1d66e5446ece14`,可先以该完整 SHA 恢复程序,标签与安装包的最终远程核验见 `verification/Release.json`。无 LFS 或子模块。固定 OCIO 2.5.2 / ACES 1.3 配置与全部必要依赖源码包、SHA-256 和许可证已放入 `ColorManagement/`,不依赖兄弟应用或其工作副本。
使用 Xcode 27.1、FxPlug SDK 4.3.5、Metal Toolchain、CMake 3.24 以上(当前 4.4.4)。`python3 ColorManagement/build_runtime.py` 在固定 `com.dayu.color/cms-runtime` 缓存中校验源包、离线编译私有静态运行时及 ARC 桥;Xcode 的 Release 阶段自动调用。`python3 tools/build_template.py --refresh-model --overwrite` 和 `python3 tools/verify_template.py` 校验原生参数与模板;正式流程为 `python3 tools/deliver.py`。证书、私钥和钥匙串公证凭据须独立恢复,不在 Git。
旧工程与 v1–v6 预设没有 CMS 状态时继续旧渲染;新完整预设 v7。新版统一 ACEScct/AP1 的一级与印片顺序,实际宿主源/目标颜色配置分别解释。跟随宿主不添加显示映射;相机/LUT 模式只使用一次所选输出变换。PQ/HLG 及跟随 Rec.2020 暂拒绝活跃的未验证 SDR 修饰。低阶输入 LUT 用浮点四面体插值;NSError 跨渲染池保活,选择输入 LUT 前置,取消不改变模式。
唯一安装 `/Library/Plug-Ins/FxPlug/大鱼调色.app`。APP 公证 `ab2b40ea-886f-49fa-8735-aa392e65f036`、PKG 公证 `2d32b77f-b825-4119-afcf-372588ad03c1` 均 Accepted。530 项正式安装版原生检查、FCP 12.4 下三种新路径、撤销、缺失资源报错/恢复、两份预设冷重开逐字节一致、最终 65³ Cube 与 1080p25 ProRes 100 帧导出通过;FCPXML 三项目回导比较一致。见 `HostColorManagement1.8.0.json`、`CMSContract1.8.0.json` 及 `InstalledSelfTest.json`。HDR 显示器/交付链和其他 FCP 版本未实机覆盖。
包 `../发行包/大鱼调色-1.8.0.pkg`,42851034 字节,SHA-256 `fd59203d387122e768090a97851daf3bd7c07193a8073b9497a10c05d5fd6c42`。签名、票据、Gatekeeper 和 20 项展开验包通过。本轮仅生成并验包,未再次运行 PKG 安装脚本;正式 APP 已有独立安装和宿主验证。源码、版本标签和 Release 的恢复证明另见 `CMSRecovery1.8.0.json`。本任务不改网站文章或自动更新后端。
正式 [1.8.0 Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.8.0-cms-20261103),Release381 / 附件25,保留公测标记。发行标签完整 SHA `a5a2bddeb361aac66899c5939671122075a6cffa`;草稿浏览器下载和发布后的完整下载均验证 42851034 字节、SHA-256 `fd59203d387122e768090a97851daf3bd7c07193a8073b9497a10c05d5fd6c42`。发布后的 `Release.json` 与恢复报告保存在 main 的后续核验提交;发行标签内 `Package.json` 为本版已验包记录。
远端标签独立恢复440个文件,full/strict fsck、八个依赖源包摘要、程序源码与编译节点一致、新检出的 Release 构建及530项无界面集成检查通过。依赖静态库缓存经过内容校验复用,未声称重新冷编译整套依赖。恢复 APP 未以 GUI 或宿主运行。恢复 clone、构建 APP/独立服务、提交 ZIP、旧 APP 备份及浏览器下载副本已核验清理;仅保留正式安装、当前发行包和私人验收资料。签名、票据与正式 PluginKit 唯一路径再次核验通过。
## 历史1.7.4(52):删除模块和图层
远程`https://dayu.media/git/dayu/dayu-color.git`,main;实际编译源码`06a00371dfba6d9857dc75f48121232fb0ea01b8`。通过`git switch --detach 06a00371dfba6d9857dc75f48121232fb0ea01b8`恢复,Xcode27.1 / FxPlugSDK4.3.5;无LFS或子模块。新机器签名证书、私钥、公证凭据仍需独立恢复。构建与交付使用`tools/deliver.py`,436项正式安装版原生检查通过。模块删除实现、真实宿主边界见`research/ToolDeletion1.7.4.md`、`verification/HostToolDeletion1.7.4.json`。
唯一正式位置`/Library/Plug-Ins/FxPlug/大鱼调色.app`,APP公证`673758ed-55f7-418d-8094-d05cf4932111`、PKG公证`102e93fc-2214-4dbf-8d67-68412464a5c2`均Accepted。签名、票据、Gatekeeper及20项展开验包通过。包`../发行包/大鱼调色-1.7.4.pkg`,40918925字节,SHA-256`bab2cb14229de151f73782e4a9bd54ca34ef47b9dd15ef3590dd1cd95d04fce5`。APP独立正式安装后在FCP12.4/macOS27.0.1验证,PKG未重复运行系统安装脚本;目标FCP12.3未实机覆盖。正式路径之外本轮生成APP、临时提交ZIP和旧APP备份已核验清理;私人验收工程与历史发行包保留。
当前交接:[大鱼调色FxPlug4交接.md](大鱼调色FxPlug4交接.md)。
## 当前1.6.1(44):主 APP 界面与自动注册
正式[1.7.4 Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.7.4-tool-deletion-20261103) / Release380 / 附件24已发布并保留公测标记。标签`v1.7.4-tool-deletion-20261103`指向`468d530bf002a34e407bd5e182cb6b90d6df1eb4`;草稿浏览器下载及发布后完整下载均校验40918925字节、SHA-256`bab2cb14229de151f73782e4a9bd54ca34ef47b9dd15ef3590dd1cd95d04fce5`一致。标签从远端独立恢复并逐文件比对,程序源码与实际编译节点相同;见`ToolDeletionRecovery1.7.4.json`、`ToolDeletionReleaseDraft1.7.4.json`及`Release.json`。临时恢复clone与浏览器下载副本已清理。
文章 https://dayu.media/15792/ 已更新1.7.4(52),主下载媒体15805完整下载与同一正式包一致。售价50元、会员免费、封面、分类、作者和原FCPX隐藏设置保持,正文、SEO、安装说明及普通/新请求页面通过。见`publication/ArticleUpdate1.7.4.json`和`ArticleUpdateVerification1.7.4.json`。本轮没有修改网站自动更新清单。
## 历史1.7.3(49):更多空间的内容原点
远程 `https://dayu.media/git/dayu/dayu-color.git`,main;发行标签 `v1.7.3-browser-origin-20261102`,实际编译源码 `2688b22f99b5118153b94a43f6c184a204d4ce7e`。版本标签完整SHA与Release/附件下载校验以 `verification/Release.json` 为准;可用 `git switch --detach v1.7.3-browser-origin-20261102` 或完整编译SHA恢复。Xcode27.1 / FxPlugSDK4.3.5,无LFS、子模块或新增必要外部资源;签名私钥与公证凭据需独立恢复。
唯一APP `/Library/Plug-Ins/FxPlug/大鱼调色.app`,APP公证 `06e09906-676f-414b-adcc-acf2bec6864a`、PKG公证 `4d2d6a3c-4dba-4711-b2d0-a59707ff72ce` 均Accepted,签名、票据、Gatekeeper与20项展开验包通过。411项正式原生、27项几何、23项浏览库检查及本机FCP12.4/macOS27.0.1“更多空间”的首次/热重开/冷重开/绿色缩放通过。目标使用者MacBook/FCP12.3未直接覆盖,需其复测。
真实运行记录显示parent contentView原点(789,521)残留,浏览器在parent内部正确但映射到窗口后整体偏移;以公开AppKit坐标转换只修正内容原点,不移动或缩放宿主窗口。见 `research/BrowserMoreSpace1.7.3.md`、`verification/MoreSpaceBridgeRuntime1.7.3.json` 和 `HostBrowserMoreSpace1.7.3.json`。
正式包 `../发行包/大鱼调色-1.7.3.pkg`,40908193字节,SHA-256 `f7a6a5dbd38139c2d401a85aa83abd36efab076481c73a0c822e220f2c212324`。APP直接正式替换并启动验证,PKG只生成及展开验包,未再次运行系统安装脚本。诊断48版未制作或发布安装包,其旧APP备份已在49版验收后清理;本机临时开启的几何采样偏好已删除。模板、Metal和用户LUT保留。源码独立恢复368个文件并重建27项几何检查通过,最终标签核验与清理记录见 `verification/MoreSpaceRecovery1.7.3.json`。网站自动更新清单仍为原1.7.0,本轮不修改后端。
1.7.3发行标签完整SHA `f2038f12ebf24ec5c298ba67212e7f7f29afa60c`,Release379 / 附件23 已发布并保留公测标记;草稿浏览器下载与发布后完整下载均校验 40908193 字节及SHA-256一致。版本页 https://dayu.media/git/dayu/dayu-color/releases/tag/v1.7.3-browser-origin-20261102 。最终标签独立恢复373个文件、full/strict fsck及程序源码与编译节点一致通过;临时clone、验证程序和浏览器下载副本已清理,记录见 `MoreSpaceRecovery1.7.3.json` / `MoreSpaceCleanup1.7.3.json`。
文章 https://dayu.media/15792/ 已更新1.7.3(49),主下载媒体15803完整下载与正式PKG一致;售价50元、会员免费、封面、分类和FCPX同步设置保留,正文/SEO/安装说明及匿名页面通过。见 `publication/ArticleUpdate1.7.3.json` / `ArticleUpdateVerification1.7.3.json`。
## 历史1.7.2(47):远程LUT窗口
远程 `https://dayu.media/git/dayu/dayu-color.git`,main;发行标签 `v1.7.2-browser-geometry-20261102`,实际编译源码 `f9dea76a453319abceaff2d66ba401d30ae10468`,完整标签SHA见 `verification/Release.json`。独立克隆后用 `git switch --detach v1.7.2-browser-geometry-20261102` 或上述完整编译SHA恢复,Xcode27.1 / FxPlugSDK4.3.5;无LFS、子模块和新增外部资源,证书/私钥/公证凭据仍需独立恢复。
唯一APP `/Library/Plug-Ins/FxPlug/大鱼调色.app`。APP公证 `5606289a-3d55-4d57-99ef-95ad7812734d`、PKG公证 `5167b3e0-89a0-457e-a832-753bd385ca93` 均Accepted;签名、票据、Gatekeeper与20项展开验包通过。408项正式原生、21项几何及23项浏览库回归通过。FCP12.4/macOS27.0.1检查打开/缩放/深色填充、列表网格、热重开及正常退出冷重开;目标FCP12.3未实机覆盖。Metal和模板与1.7.1逐字节一致,未修改LUT颜色数学。
包 `../发行包/大鱼调色-1.7.2.pkg`,40904714字节,SHA-256 `dfaf291f894189ebdca66701b63a7c6679aab3e6f69db7991ae29284de75ddb6`。本轮APP直接正式替换并启动验证,PKG仅生成及展开验包,未重复运行系统安装脚本。源码/宿主/包记录见 `verification/BrowserGeometryRecovery1.7.2.json`、`HostBrowserGeometry1.7.2.json`、`Delivery.json`、`Package.json`。本轮不修改网站自动更新清单,文章和媒体更新另见publication记录。
1.7.2发行标签完整SHA `7720d9a042271ad0147992a7d476b5c06151f616`,Release378 / 附件22 已发布并保留公测标记;草稿正常浏览器下载与发布后完整下载均核对 40904714 字节及SHA-256一致。版本页 https://dayu.media/git/dayu/dayu-color/releases/tag/v1.7.2-browser-geometry-20261102 。标签362文件独立恢复和full/strict fsck通过,程序源码与实际编译节点相同;临时clone、验证程序、浏览器下载副本及生成APP已按本任务范围清理。见 `BrowserGeometryReleaseDraft1.7.2.json`、`Release.json`、`BrowserGeometryRecovery1.7.2.json`、`BrowserGeometryCleanup1.7.2.json`。
既有文章 https://dayu.media/15792/ 已更新为1.7.2(47),主下载媒体15801完整下载与同一正式PKG一致;保留50元、会员免费、封面、分类及原FCPX同步设置,正文/SEO/安装说明和匿名页面通过。见 `publication/ArticleUpdate1.7.2.json` / `ArticleUpdateVerification1.7.2.json`;没有变更自动更新清单。
## 历史1.7.1(46):Cube文字行容错
远程 `https://dayu.media/git/dayu/dayu-color.git`,main;发行标签 `v1.7.1-lut-notes-20261102`。实际编译源码 `58a17de43810798570b4965166d33129d949de3d`;完整标签提交及安装包链接见 `verification/Release.json`。克隆后 `git switch --detach v1.7.1-lut-notes-20261102` 恢复发行节点,或按上述完整SHA恢复实际编译源码。Xcode27.1 / FxPlugSDK4.3.5,无LFS或子模块;签名证书、私钥和公证凭据仍需独立恢复。
唯一位置 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,固定Bundle ID和团队保持。APP公证 `59cbf6ce-3782-4aa0-bc3b-b82c345ee498` Accepted;PKG公证 `208441f0-d244-4b7c-abdc-cc3eef602a77` Accepted。签名、票据、Gatekeeper及20项展开验包通过;本轮APP直接正式替换和宿主验证,PKG未重复执行安装脚本。
407项正式原生检查包含只读用户文件、全表及GPU数值基准、缩略图和隔离导入;FCP12.4真实导入桌面原文件、缩略图可应用、画面变化、正常退出冷重开保持通过。用户库从56项增至57项,原文件及导入副本字节相同。苹果全部274625行的对照及容错边界见 `research/LUTNotes1.7.1.md`;产品不依赖Apple私有框架或REA。
PKG `../发行包/大鱼调色-1.7.1.pkg`,40902664字节,SHA-256 `533272ae3a08fb7788c24e6180569f8e0fab0b52ed0523ac31634ad4ae39c791`。源码恢复、宿主与交付证据分别见 `verification/LUTNoteRecovery.json`、`HostLUTNotes1.7.1.json`、`LUTNoteInstalled.json`、`Delivery.json`、`Package.json`。用户LUT及测试数值副本不进入Git/PKG,本轮不更新NAS和网站更新清单。
发行标签完整SHA `14cca24de6901b1d1d57d6a3ff6eccaf12f6a77c`,Release377 / 附件21 已发布(保留公测标记),草稿正常浏览器完整下载和发布后的完整下载均核对 40902664 字节及SHA-256一致。Release:https://dayu.media/git/dayu/dayu-color/releases/tag/v1.7.1-lut-notes-20261102;附件:https://dayu.media/git/dayu/dayu-color/releases/download/v1.7.1-lut-notes-20261102/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.7.1.pkg。标签351文件全字节恢复、full/strict fsck及程序源码与实际编译节点一致通过;验证clone、Apple分析临时切片、数值基准和浏览器下载副本已清理,保留一个本轮正式发行包与原有历史包。见 `LUTNoteReleaseDraft.json`、`Release.json`、`LUTNoteRecovery.json`、`LUTNoteCleanup.json`。
文章更新:既有文章 `https://dayu.media/15792/` 已更新为1.7.1(46),主下载绑定本站媒体15799;完整下载40,902,664字节与正式PKG的SHA-256一致。保留50元/会员免费、封面15795、分类与FCPX同步设置,标题/正文/SEO及匿名前台验证通过。当前发布副本及回读见 `publication/ArticleUpdate1.7.1.json`、`ArticleUpdateVerification1.7.1.json`、`article.html`。仅更新文章和媒体,网站自动更新清单仍为1.7.0。
## 历史1.7.0(45):公测更新与诊断
远程 `https://dayu.media/git/dayu/dayu-color.git`,main;发行标签 `v1.7.0-beta-20261102` 对应 `b5d842835cef860d27f38b3f9c2efc6743abfaa4`,实际编译源码 `a0f37578f73d7f8faa872d9a81009e2d6586a858`。唯一位置、Bundle ID、团队与系统要求同下方历史版本。Xcode27.1、FxPlugSDK4.3.5;无LFS和子模块。证书、私钥与公证凭据需独立恢复。
克隆后 `git switch --detach v1.7.0-beta-20261102`;安装所需SDK与本机签名身份/profile,再运行 `python3 tools/deliver.py` 完成Release构建、正式签名、公证、安装及宿主验收。`Backend/` 包含隔离公测后端源码、契约测试和精确部署脚本;NAS源、旁路备份、映射、路由和回滚见 `Backend/README.md`。数据库诊断和NAS安装包空间不等于Git源码副本,数据库由站点备份负责。
APP公证 `777a5c05-4936-4b14-b8e8-0c789c1df05c`、PKG公证 `04082e26-663d-4408-85da-63736d079aa2` 均 Accepted。395项原生、66项更新/隐私/包校验、20项后端契约及线上实际日志通过;FCP12.4新界面/曝光调节/还原由代理验收,上一版用户确认没有移作本版用户验收。Metal和模板字节未变,卡死根因尚未确认。
PKG `../发行包/大鱼调色-1.7.0.pkg`,40,898,751字节,SHA-256 `a3578ee95aa7333e64d556061173fb73a42be0e45442ae844c94147b421d34bb`。Release375 / 附件20,源码标签与公测NAS下载使用同一最终包;草稿及正式附件完整下载校验分别见 `verification/BetaReleaseDraftDownload.json` 与 `verification/Release.json`,线上更新下载见 `BetaUpdateLive.json`。PKG已展开验证,本轮未重复执行系统安装脚本。
远端独立恢复326文件逐字节核验、106个APP/工程文件与实际编译节点一致,full/strict fsck、Xcode方案解析与后端20项契约通过,见 `verification/BetaRecovery.json`。公测Release带prerelease标记;通用PKG工坊发布器不支持此标记时保留原元数据,使用本项目 `Packaging/verify_beta_release.py` 只读完整下载及回读核验。不会改动其他产品或共享会员鉴权。
## 历史1.6.1(44):主 APP 界面与自动注册
远程 https://dayu.media/git/dayu/dayu-color.git ,main。实际编译源码 `90d6022520c59ea34f42b511daee85ac2936cfd9`,签名团队B3W25FX5H5,唯一正式位置 `/Library/Plug-Ins/FxPlug/大鱼调色.app`。主/服务Bundle ID维持com.dayu.color、com.dayu.color.XPC,Apple Silicon / macOS14.6或更新。Xcode27.1、FxPlugSDK4.3.5;无LFS或子模块。
@@ -298,3 +535,17 @@ python3 Packaging/build_pkg.py --pkg-forge-repo /实际/PKG工坊源码目录 --
正式PKG `大鱼调色-1.6.0.pkg`,40833847字节,SHA-256 `13821631b5d54f1b9c1934c513a9cc7e92641208e20219839a63e23865f21cca`;PKG公证 `4716e3c7-8199-4dc1-940c-2376dd647e9b` Accepted,签名、票据、Gatekeeper和20项展开验包通过。发行包未再次运行系统安装器。
最终[Release373](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.6.0-print-looks-20261102) / 附件18已发布并回读确认。标签 `v1.6.0-print-looks-20261102` 对应完整SHA `0cc51149a6f21ebe09465b4fd7130451bedd57bb`;草稿正常浏览器下载与发布后完整下载均校验40,833,847字节及SHA-256一致。发行标签296文件逐字节恢复和full/strict fsck通过,与实际编译SHA的程序源码完全一致。恢复clone、独立构建和下载副本清理完成;已知相关位置仅正式39版APP,历史发行包和私人验收数据保留。记录见 `verification/Release.json`、`ReleaseDraftDownload1.6.0.json`、`PrintLooksReleaseRecovery.json`、`PrintLooksCleanup.json`。
## 1.11.0(73)画布与空间工具交付
实际编译 `49d35cb49ab93f5ab6ca3411eaea80f7219be346` 已推送并从大鱼远端独立恢复549文件,逐字节一致,full/strict fsck和模板合同通过。无LFS和子模块。固定安装仍为 `/Library/Plug-Ins/FxPlug/大鱼调色.app`。APP公证 `348c6e9b-f5d9-4661-bc7f-f192fa770ecf` Accepted,安装版724项原生回归通过。用户实鼠确认画布三工具及一次撤销、肤色区域、畸变三项正常,正式宿主验收记录见verification/HostCanvasTools1.11.0.json。Delivery状态verified,旧版恢复APP已清理。
新增Vision属于系统框架,无下载模型或服务端人脸上传。图像和短时人脸几何在本机处理;测试真人来源及公共领域说明见tools/fixtures/README.md。新增独立反向径向畸变采样,保留原Uniform1312字节完整前缀,扩展后1344字节。完整预设保存新数据;Cube不能保存空间选区和几何变换。
重建模板:`python3 tools/build_template.py --refresh-model --overwrite`;构建交付:`python3 tools/deliver.py`(先退出FCP/Motion);新宿主项目:`python3 tools/create_canvas_host_fixture.py`,随后通过FCP的文件→导入→XML打开生成的文件,不能直接编辑fcpbundle。仅签名公证或模拟宿主回归通过不足以完成实鼠验收。
1.11.0 PKG已完成Developer ID Installer签名、Apple公证Accepted(ffbdb4fb-f573-411e-99fc-166c4a829121)、票据/Gatekeeper和20项展开验包。43,128,845字节,SHA-256 `2dd5166902ebdaae50dd897057459cbe7e5ea611dbdeb571bd688e843c59768e`,正式包位于 `/Volumes/备份/大鱼调色/发行包/大鱼调色-1.11.0.pkg`。未执行PKG安装脚本;APP由交付流程独立正式安装验证。Release和完整下载核验以verification/Release.json为准。
最终标签 `v1.11.0-canvas-spatial-20261105` → `5f8fb13fceb0c4d4ead447b8b5694ce269e95749` 已推送核验。独立远端clone检出该标签,555个跟踪文件与标签逐字节一致;程序、Xcode工程、shader和模板与实际编译49d35cb一致,full/strict fsck通过。详见verification/CanvasFinalRecovery1.11.0.json。恢复时克隆 `https://dayu.media/git/dayu/dayu-color.git` 并执行 `git switch --detach 5f8fb13fceb0c4d4ead447b8b5694ce269e95749`;签名钥匙需独立恢复,不能从Git获取。
[Release 388](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.11.0-canvas-spatial-20261105)与附件32已发布,保留原仓库公开性与原有公测标志。下载地址为该版本Release中的“大鱼调色-1.11.0.pkg”。草稿时经登录浏览器完整下载校验后发布,发布后通过认证HTTP再次完整下载;字节数与SHA-256均与上述正式包一致。下载地址、附件ID、标签、提交与校验值完整保存在verification/Release.json。临时下载与恢复clone已清理;正式APP唯一登记,旧版恢复APP已清理,范围见verification/CanvasCleanup1.11.0.json。
+11
查看文件
@@ -0,0 +1,11 @@
Copyright (C) 2000-2020, Intel Corporation, all rights reserved.
Copyright (C) 2009-2011, Willow Garage Inc., all rights reserved.
Copyright (C) 2009-2016, NVIDIA Corporation, all rights reserved.
Copyright (C) 2010-2013, Advanced Micro Devices, Inc., all rights reserved.
Copyright (C) 2015-2020, OpenCV Foundation, all rights reserved.
Copyright (C) 2008-2016, Itseez Inc., all rights reserved.
Copyright (C) 2019-2020, Xperience AI, all rights reserved.
Copyright (C) 2019-2020, Shenzhen Institute of Artificial Intelligence and
Robotics for Society, all rights reserved.
Third party copyrights are property of their respective owners.
+202
查看文件
@@ -0,0 +1,202 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+11
查看文件
@@ -0,0 +1,11 @@
# OpenCV 区域跟踪运行库
大鱼调色使用官方 OpenCV **4.5.1** 的 `core`、`imgproc`、`video`、`calib3d`(以及自动依赖`features2d`、`flann`)构建独立 arm64 静态库。版本选择依据是本机被研究产品的公开框架版本信息;不复制或链接该产品的框架、代码或资源。OpenCV 来源、完整提交、tag object、88,266,905 字节源码归档及 SHA-256 均在 [source-lock.json](source-lock.json)。Apache2许可原文保留在[LICENSE](LICENSE),旧源文件BSD等通知保留在[COPYRIGHT](COPYRIGHT)及[SOURCE-NOTICES.txt](SOURCE-NOTICES.txt),三份均应随APP分发。
运行 `python3 tools/build_tracking_opencv.py`;产物只在 `/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/tracking-opencv/`。脚本核对下载字节数和完整SHA-256,构建Release arm64/min macOS14.6,禁用共享库、额外应用、Python/Java、媒体编解码和不需要模块。无需Homebrew OpenCV、Color Finale或用户素材。脚本持有独立构建锁,可在Xcode前置阶段重复调用;编译日志、源码恢复档、构建身份及库摘要在该缓存。
`include/`与`libs/`指向本产品缓存中的安装结果;`link.rsp`包括自建`libDayuOpenCVTracker.a`及所需官方静态库。插件只需包含`MaskCore/DYOpenCVTracker.hpp`,使用`dy::OpenCVTracker`的`setMask/reset/track/result/active/stop`接口,并链接`@<固定缓存>/link.rsp`;该类不使用自研Metal光流backend。官方源码不作为巨型Git对象提交,灾难恢复时从锁定的公开完整提交下载并验证,下载失败应明确停止构建,不能静默切回不同算法。
桥接实现为本产品独立代码`tools/tracking/DYOpenCVTracker.cpp`。跟踪配置及与参考产品的保护差异见`research/ColorFinaleWorkspaceEvidence-20261105.md`;同API、版本和参数不代表同真实视频的逐帧等价。形状/时间/共享蒙版/作者Undo由产品宿主层负责。运行库保留纯CPU可重入对象,不设置全局OpenCV线程或RNG状态,以免干扰同宿主其他插件。
恢复核验:构建后检查`build-report.json`中的源码hash和静态库hash,编译运行`tools/tracking/verify_opencv_tracker.cpp`的已知运动测试。正式交付还须执行本产品已公证安装版本的实际FxAnalyzer测试;独立算法测试不替代宿主验收。
+3889
查看文件
文件差异过大,未显示。 加载差异
+13
查看文件
@@ -0,0 +1,13 @@
{
"repository": "https://github.com/opencv/opencv.git",
"version": "4.5.1",
"tag": "4.5.1",
"tagObject": "3e80752d72a4b78820a732087217668e67701981",
"commit": "1363496c1106606684d40447f5d1149b2c66a9f8",
"archiveURL": "https://codeload.github.com/opencv/opencv/tar.gz/1363496c1106606684d40447f5d1149b2c66a9f8",
"archiveBytes": 88266905,
"archiveSHA256": "4356b76721786bff66536ecd1a36ac2e397b13a4ee1dec41f362fa2459e903db",
"license": "Apache-2.0",
"modules": ["core", "imgproc", "video", "calib3d"],
"automaticModuleDependencies": ["features2d", "flann"]
}
+69
查看文件
@@ -0,0 +1,69 @@
{
"status": "published-and-verified",
"postID": 15792,
"articleURL": "https://dayu.media/15792/",
"baselineCommit": "04d74e1dd2bcb46a8cad0e73888707965d525394",
"baselineContentMatchesGit": true,
"baselineContentSHA256": "90f194f604bb96331bd9dd0f03e328ee3fa84d108c8220c3ebc4982a020b1ffb",
"beforeTitle": "大鱼调色 1.7.0 公测版:Final Cut Pro 原生调色插件",
"beforeDownloadURL": "https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-7-0-45.pkg",
"beforeResource": {
"cao_status": "1",
"cao_close_novip_pay": "",
"cao_is_boosvip": "",
"cao_video": "",
"cao_is_video_free": "",
"cao_price": "50",
"cao_vip_rate": "0",
"cao_ref_bonus_rate": "0.25",
"cao_expire_day": "0",
"cao_downurl": "https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-7-0-45.pkg",
"cao_downurl_bak": "",
"cao_demourl": "",
"video_url": "",
"video_poster_url": "",
"cao_pwd": "",
"post_style": "sidebar",
"cao_info": ""
},
"beforeFeaturedMedia": 15795,
"beforeCategories": [
13,
4
],
"beforeTags": [],
"beforeSEO": {
"title": {
"enabled": true,
"value": "大鱼调色1.7.0公测版:Final Cut Pro原生调色插件,会员免费"
},
"description": {
"enabled": true,
"value": "大鱼调色1.7.0公测版,适用于Apple Silicon与macOS14.6及以上。提供CST色彩管理、LUT预览、胶片模拟、局部蒙版与跟踪,新增自动更新检查和可关闭的公测诊断。完整PKG已签名公证,附安装使用说明。售价50元,站内会员免费。"
},
"keywords": {
"enabled": true,
"value": "大鱼调色,Final Cut Pro,调色插件,FxPlug4,CST色彩管理,LUT,胶片模拟,局部蒙版,会员免费"
}
},
"requestID": "dayu-color-15792-1.7.1-4c7e33754e744324b30fefd242d04fd3",
"requestedTitle": "大鱼调色 1.7.1 公测版:Final Cut Pro 原生调色插件",
"payloadSHA256": "da680bbace7202aa0c6c30e879783415bb3c9adc34599975cbf28f52e8d323a0",
"package": "大鱼调色-1.7.1.pkg",
"packageBytes": 40902664,
"packageSHA256": "533272ae3a08fb7788c24e6180569f8e0fab0b52ed0523ac31634ad4ae39c791",
"newDownload": {
"mediaID": 15799,
"url": "https://dayu.media/wp-content/uploads/2026/11/1793626180-5c87dd962e56c27.pkg",
"bytes": 40902664,
"sha256": "533272ae3a08fb7788c24e6180569f8e0fab0b52ed0523ac31634ad4ae39c791",
"fullDownloadVerified": true
},
"savedContentSHA256": "df8bdab47c0ce51cebb9dcece292682cc8c9f3666262e048774ceba8f998b60a",
"savedContentMatchesProposedAfterHTMLSelfClosingWhitespaceNormalization": true,
"businessSettingsPreserved": true,
"authorCategoriesTagsCoverPreserved": true,
"fcpxSyncSettingsPreserved": true,
"originalPublishedStatusPreserved": true,
"checkedAt": "2026-11-02T13:30:46.042159+00:00"
}
+64
查看文件
@@ -0,0 +1,64 @@
{
"status": "published-and-verified",
"postID": 15792,
"articleURL": "https://dayu.media/15792/",
"baselineCommit": "7720d9a042271ad0147992a7d476b5c06151f616",
"baselineContentMatchesGit": true,
"beforeTitle": "大鱼调色 1.7.1 公测版:Final Cut Pro 原生调色插件",
"beforeResource": {
"cao_status": "1",
"cao_close_novip_pay": "",
"cao_is_boosvip": "",
"cao_video": "",
"cao_is_video_free": "",
"cao_price": "50",
"cao_vip_rate": "0",
"cao_ref_bonus_rate": "0.25",
"cao_expire_day": "0",
"cao_downurl": "https://dayu.media/wp-content/uploads/2026/11/1793626180-5c87dd962e56c27.pkg",
"cao_downurl_bak": "",
"cao_demourl": "",
"video_url": "",
"video_poster_url": "",
"cao_pwd": "",
"cao_original_filename": "1793626180-5c87dd962e56c27.pkg",
"post_style": "sidebar",
"cao_info": ""
},
"beforeSEO": {
"title": {
"enabled": true,
"value": "大鱼调色1.7.1公测版:Final Cut Pro原生调色插件,会员免费"
},
"description": {
"enabled": true,
"value": "大鱼调色1.7.1公测版,适用于Apple Silicon与macOS14.6及以上。提供CST色彩管理、LUT预览、胶片模拟、局部蒙版与跟踪,改善带文字标记的Cube LUT导入兼容性,支持自动更新检查和可关闭的公测诊断。完整PKG已签名公证,售价50元,站内会员免费。"
},
"keywords": {
"enabled": true,
"value": "大鱼调色,Final Cut Pro,调色插件,FxPlug4,CST色彩管理,LUT,胶片模拟,局部蒙版,会员免费"
}
},
"beforeFeaturedMedia": 15795,
"beforeCategories": [
13,
4
],
"beforeTags": [],
"requestID": "dayu-color-15792-1.7.2-a134dbe31d4a46718dc601d04d07a6ad",
"payloadSHA256": "86ac54d1e002f882f4141596dcbcc25fd4a982f2dceefcac4a5c75cf5479739f",
"package": "大鱼调色-1.7.2.pkg",
"packageBytes": 40904714,
"packageSHA256": "dfaf291f894189ebdca66701b63a7c6679aab3e6f69db7991ae29284de75ddb6",
"newDownload": {
"mediaID": 15801,
"url": "https://dayu.media/wp-content/uploads/2026/11/1793627751-1071d4780582a45.pkg",
"bytes": 40904714,
"sha256": "dfaf291f894189ebdca66701b63a7c6679aab3e6f69db7991ae29284de75ddb6",
"fullDownloadVerified": true
},
"savedContentSHA256": "95202f968878076d4542b0027397d08957f962cad7e559922bee7274306e692e",
"businessSettingsPreserved": true,
"authorCategoriesTagsCoverAndFCPXSettingsPreserved": true,
"checkedAt": "2026-11-02T13:57:12.692095+00:00"
}
+64
查看文件
@@ -0,0 +1,64 @@
{
"status": "published-and-verified",
"postID": 15792,
"articleURL": "https://dayu.media/15792/",
"baselineCommit": "f2038f12ebf24ec5c298ba67212e7f7f29afa60c",
"baselineContentMatchesGit": true,
"beforeTitle": "大鱼调色 1.7.2 公测版:Final Cut Pro 原生调色插件",
"beforeResource": {
"cao_status": "1",
"cao_close_novip_pay": "",
"cao_is_boosvip": "",
"cao_video": "",
"cao_is_video_free": "",
"cao_price": "50",
"cao_vip_rate": "0",
"cao_ref_bonus_rate": "0.25",
"cao_expire_day": "0",
"cao_downurl": "https://dayu.media/wp-content/uploads/2026/11/1793627751-1071d4780582a45.pkg",
"cao_downurl_bak": "",
"cao_demourl": "",
"video_url": "",
"video_poster_url": "",
"cao_pwd": "",
"cao_original_filename": "1793627751-1071d4780582a45.pkg",
"post_style": "sidebar",
"cao_info": ""
},
"beforeSEO": {
"title": {
"enabled": true,
"value": "大鱼调色1.7.2公测版:Final Cut Pro原生调色插件,会员免费"
},
"description": {
"enabled": true,
"value": "大鱼调色1.7.2公测版,适用于Apple Silicon与macOS14.6及以上。提供CST色彩管理、LUT预览、胶片模拟、局部蒙版与跟踪,修正LUT缩略图浏览库的窗口尺寸与布局处理,保留Cube文字行兼容。完整PKG已签名公证,售价50元,站内会员免费。"
},
"keywords": {
"enabled": true,
"value": "大鱼调色,Final Cut Pro,调色插件,FxPlug4,CST色彩管理,LUT,胶片模拟,局部蒙版,会员免费"
}
},
"beforeFeaturedMedia": 15795,
"beforeCategories": [
13,
4
],
"beforeTags": [],
"requestID": "dayu-color-15792-1.7.3-39562e9c82c9482c9b6ef04e27fa679b",
"payloadSHA256": "83c5041a6bac809c03304761095f6ee2fba3fd88a5a3985214ac70f57bebbbad",
"package": "大鱼调色-1.7.3.pkg",
"packageBytes": 40908193,
"packageSHA256": "f7a6a5dbd38139c2d401a85aa83abd36efab076481c73a0c822e220f2c212324",
"newDownload": {
"mediaID": 15803,
"url": "https://dayu.media/wp-content/uploads/2026/11/1793631185-7b18844539fd4c4.pkg",
"bytes": 40908193,
"sha256": "f7a6a5dbd38139c2d401a85aa83abd36efab076481c73a0c822e220f2c212324",
"fullDownloadVerified": true
},
"savedContentSHA256": "a5a5b660f322d7b5d6226806cca93b04d54a1e212d022318a480e0ace02bcbbf",
"businessSettingsPreserved": true,
"authorCategoriesTagsCoverAndFCPXSettingsPreserved": true,
"checkedAt": "2026-11-02T14:55:48.259573+00:00"
}
+64
查看文件
@@ -0,0 +1,64 @@
{
"status": "updated-and-verified",
"postID": 15792,
"articleURL": "https://dayu.media/15792/",
"baselineCommit": "468d530bf002a34e407bd5e182cb6b90d6df1eb4",
"baselineContentMatchesGit": true,
"beforeTitle": "大鱼调色 1.7.3 公测版:Final Cut Pro 原生调色插件",
"beforeResource": {
"cao_status": "1",
"cao_close_novip_pay": "",
"cao_is_boosvip": "",
"cao_video": "",
"cao_is_video_free": "",
"cao_price": "50",
"cao_vip_rate": "0",
"cao_ref_bonus_rate": "0.25",
"cao_expire_day": "0",
"cao_downurl": "https://dayu.media/wp-content/uploads/2026/11/1793631185-7b18844539fd4c4.pkg",
"cao_downurl_bak": "",
"cao_demourl": "",
"video_url": "",
"video_poster_url": "",
"cao_pwd": "",
"cao_original_filename": "1793631185-7b18844539fd4c4.pkg",
"post_style": "sidebar",
"cao_info": ""
},
"beforeSEO": {
"title": {
"enabled": true,
"value": "大鱼调色1.7.3公测版:Final Cut Pro原生调色插件,会员免费"
},
"description": {
"enabled": true,
"value": "大鱼调色1.7.3公测版,适用于Apple Silicon与macOS14.6及以上。提供CST色彩管理、LUT预览、胶片模拟、局部蒙版与跟踪,修正“更多空间”等显示缩放下LUT浏览库偏移、灰色空白与裁切。保留Cube文字行兼容,完整PKG已签名公证,售价50元,站内会员免费。"
},
"keywords": {
"enabled": true,
"value": "大鱼调色,Final Cut Pro,调色插件,FxPlug4,CST色彩管理,LUT,胶片模拟,局部蒙版,会员免费"
}
},
"beforeFeaturedMedia": 15795,
"beforeCategories": [
13,
4
],
"beforeTags": [],
"requestID": "dayu-color-1.7.4-6366328076ed4e63b49f5c76f44a08c5",
"payloadSHA256": "3ecfab918283c191853cdee5f33a73ae7da00bdb5ff3a456eca285a4b5d9111a",
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.7.4.pkg",
"packageBytes": 40918925,
"packageSHA256": "bab2cb14229de151f73782e4a9bd54ca34ef47b9dd15ef3590dd1cd95d04fce5",
"newDownload": {
"mediaID": 15805,
"url": "https://dayu.media/wp-content/uploads/2026/11/1793635244-411a5cac31e43fc.pkg",
"bytes": 40918925,
"sha256": "bab2cb14229de151f73782e4a9bd54ca34ef47b9dd15ef3590dd1cd95d04fce5",
"fullDownloadVerified": true
},
"savedContentSHA256": "6189070a792713ff4a702917b51aeb705d8177c4662c2270349a4c1d1a2028b3",
"businessSettingsPreserved": true,
"authorCategoriesTagsCoverAndFCPXSettingsPreserved": true,
"checkedAt": "2026-11-02T16:03:57.423149+00:00"
}
@@ -0,0 +1,45 @@
{
"passed": true,
"postID": 15792,
"url": "https://dayu.media/15792/",
"version": "1.7.1",
"build": "46",
"checkedAt": "2026-11-02T13:30:46.042159+00:00",
"mainDownload": {
"mediaID": 15799,
"url": "https://dayu.media/wp-content/uploads/2026/11/1793626180-5c87dd962e56c27.pkg",
"bytes": 40902664,
"sha256": "533272ae3a08fb7788c24e6180569f8e0fab0b52ed0523ac31634ad4ae39c791",
"fullDownloadVerified": true
},
"frontend": [
{
"request": "normal",
"url": "https://dayu.media/15792/",
"seoTitleExact": true,
"seoDescriptionExact": true,
"seoKeywordsExact": true,
"articleVersion": "1.7.1",
"build": "46",
"installGuideNativeCodeBlock": true,
"inlineImagePreserved": true,
"guestPrice50": true,
"guestVIPFree": true,
"paidDownloadNotExposedInBody": true
},
{
"request": "fresh",
"url": "https://dayu.media/15792/?dayu_verify=9b75b8bd37314cf09e923f4775f1dbf8",
"seoTitleExact": true,
"seoDescriptionExact": true,
"seoKeywordsExact": true,
"articleVersion": "1.7.1",
"build": "46",
"installGuideNativeCodeBlock": true,
"inlineImagePreserved": true,
"guestPrice50": true,
"guestVIPFree": true,
"paidDownloadNotExposedInBody": true
}
]
}
@@ -0,0 +1,36 @@
{
"passed": true,
"postID": 15792,
"url": "https://dayu.media/15792/",
"version": "1.7.2",
"build": "47",
"checkedAt": "2026-11-02T13:57:12.692095+00:00",
"mainDownload": {
"mediaID": 15801,
"url": "https://dayu.media/wp-content/uploads/2026/11/1793627751-1071d4780582a45.pkg",
"bytes": 40904714,
"sha256": "dfaf291f894189ebdca66701b63a7c6679aab3e6f69db7991ae29284de75ddb6",
"fullDownloadVerified": true
},
"frontend": [
{
"request": "normal",
"seoTitleDescriptionKeywordsExact": true,
"versionAndChangelog": true,
"guestPrice50AndVIPFree": true,
"inlineImageAndNativeInstallGuidePreserved": true,
"paidDownloadNotInPublicBody": true
},
{
"request": "fresh",
"seoTitleDescriptionKeywordsExact": true,
"versionAndChangelog": true,
"guestPrice50AndVIPFree": true,
"inlineImageAndNativeInstallGuidePreserved": true,
"paidDownloadNotInPublicBody": true
}
],
"businessSettingsPreserved": true,
"authorCategoriesTagsCoverAndFCPXSettingsPreserved": true,
"readBackContentMatchesAfterHTMLWhitespaceNormalization": true
}
@@ -0,0 +1,37 @@
{
"passed": true,
"postID": 15792,
"url": "https://dayu.media/15792/",
"version": "1.7.3",
"build": "49",
"checkedAt": "2026-11-02T14:55:48.259573+00:00",
"mainDownload": {
"mediaID": 15803,
"url": "https://dayu.media/wp-content/uploads/2026/11/1793631185-7b18844539fd4c4.pkg",
"bytes": 40908193,
"sha256": "f7a6a5dbd38139c2d401a85aa83abd36efab076481c73a0c822e220f2c212324",
"fullDownloadVerified": true
},
"frontend": [
{
"request": "normal",
"seoTitleDescriptionKeywordsExact": true,
"versionAndChangelog": true,
"guestPrice50AndVIPFree": true,
"inlineImageAndNativeInstallGuidePreserved": true,
"paidDownloadNotInPublicBody": true
},
{
"request": "fresh",
"seoTitleDescriptionKeywordsExact": true,
"versionAndChangelog": true,
"guestPrice50AndVIPFree": true,
"inlineImageAndNativeInstallGuidePreserved": true,
"paidDownloadNotInPublicBody": true
}
],
"businessSettingsPreserved": true,
"authorCategoriesTagsCoverAndFCPXSettingsPreserved": true,
"readBackContentMatchesAfterHTMLWhitespaceNormalization": true,
"frontendScreenshotLocalOnly": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/more-space-qa/article-1.7.3.png"
}
@@ -0,0 +1,37 @@
{
"passed": true,
"postID": 15792,
"url": "https://dayu.media/15792/",
"version": "1.7.4",
"build": "52",
"checkedAt": "2026-11-02T16:03:57.423149+00:00",
"mainDownload": {
"mediaID": 15805,
"url": "https://dayu.media/wp-content/uploads/2026/11/1793635244-411a5cac31e43fc.pkg",
"bytes": 40918925,
"sha256": "bab2cb14229de151f73782e4a9bd54ca34ef47b9dd15ef3590dd1cd95d04fce5",
"fullDownloadVerified": true
},
"frontend": [
{
"request": "normal",
"seoTitleDescriptionKeywordsExact": true,
"versionAndChangelog": true,
"guestPrice50AndVIPFree": true,
"inlineImageAndNativeInstallGuidePreserved": true,
"paidDownloadNotInPublicBody": true
},
{
"request": "fresh",
"seoTitleDescriptionKeywordsExact": true,
"versionAndChangelog": true,
"guestPrice50AndVIPFree": true,
"inlineImageAndNativeInstallGuidePreserved": true,
"paidDownloadNotInPublicBody": true
}
],
"businessSettingsPreserved": true,
"authorCategoriesTagsCoverAndFCPXSettingsPreserved": true,
"readBackContentMatchesAfterHTMLWhitespaceNormalization": true,
"frontendScreenshotLocalOnly": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/tool-deletion-qa/article-1.7.4.png"
}
+37
查看文件
@@ -0,0 +1,37 @@
{
"passed": true,
"postID": 15792,
"url": "https://dayu.media/15792/",
"version": "1.7.4",
"build": "52",
"checkedAt": "2026-11-02T16:03:57.423149+00:00",
"mainDownload": {
"mediaID": 15805,
"url": "https://dayu.media/wp-content/uploads/2026/11/1793635244-411a5cac31e43fc.pkg",
"bytes": 40918925,
"sha256": "bab2cb14229de151f73782e4a9bd54ca34ef47b9dd15ef3590dd1cd95d04fce5",
"fullDownloadVerified": true
},
"frontend": [
{
"request": "normal",
"seoTitleDescriptionKeywordsExact": true,
"versionAndChangelog": true,
"guestPrice50AndVIPFree": true,
"inlineImageAndNativeInstallGuidePreserved": true,
"paidDownloadNotInPublicBody": true
},
{
"request": "fresh",
"seoTitleDescriptionKeywordsExact": true,
"versionAndChangelog": true,
"guestPrice50AndVIPFree": true,
"inlineImageAndNativeInstallGuidePreserved": true,
"paidDownloadNotInPublicBody": true
}
],
"businessSettingsPreserved": true,
"authorCategoriesTagsCoverAndFCPXSettingsPreserved": true,
"readBackContentMatchesAfterHTMLWhitespaceNormalization": true,
"frontendScreenshotLocalOnly": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/tool-deletion-qa/article-1.7.4.png"
}
+19
查看文件
@@ -0,0 +1,19 @@
{
"passed": true,
"credentialStore": "macOS login Keychain",
"service": "dayu-article-publisher",
"account": "dayu",
"applicationName": "Codex Mac mini M4 文章发布 2026-11-02",
"command": "/Users/mac/.local/bin/dayu-publish-article",
"skill": "/Users/mac/.codex/skills/dayu-publish-article/SKILL.md",
"sourceRemote": "https://dayu.media/git/dayu/dayu-publish-article-skill.git",
"sourceCommit": "0492db74983b49c7bff21e470d21126fb58d82a3",
"sourceTag": "cli-keychain-20261102",
"canPublish": true,
"canUpload": true,
"actualAuthenticatedArticleRead": 15792,
"articleURL": "https://dayu.media/15792/",
"liveWritePerformed": false,
"credentialValueRecorded": false,
"checkedAt": "2026-11-02T10:47:53.306090+00:00"
}
+11
查看文件
@@ -0,0 +1,11 @@
{
"tool": "built-in image_gen",
"prompt": "Use case: ads-marketing. Asset type: 16:9 landscape website article cover and introduction poster, polished high-resolution raster graphic for a Chinese Final Cut Pro color grading plugin. Create a NEW composition; the input image is a brand-logo reference, NOT a screenshot or an edit target. Preserve the recognizable rainbow fish logo, integrated elegantly as a small badge. Deep midnight navy background with restrained cyan, violet, warm orange light, sophisticated photographic editorial design. Clear left-side Chinese title typography with generous space, on the right a large cinematic photograph of a sunlit mountain lake with subtle warm highlights and rich cool shadows, framed in a refined rounded panel. Small abstract color wheel and curve accents below the photo suggest grading tools, without fabricated application screenshots or illegible interface details. Strong hierarchy and excellent legibility as a small article thumbnail. All essential content inside 8% safe margins. Exact text, correctly rendered, no additional text: main title '大鱼调色'; subtitle 'Final Cut Pro 原生调色插件'; features in a clean 2-by-2 arrangement 'CST 色彩管理' 'LUT 风格' '胶片模拟' '局部蒙版'; compact badge '1.7.0 公测版'; price line '¥50 · 会员免费'; footer 'Apple Silicon · macOS 14.6+' and 'dayu.media'. The main title should dominate; price is secondary but clear. Premium software launch cover, balanced visual weight, no stock mockup devices, no watermarks, no claims of demonstrated before-and-after results.",
"brandReference": "design/dayu-color-app-icon-v1.png",
"image": "publication/dayu-color-1.7.0-cover.png",
"sha256": "c7ffcd552a33014563bc479455fd9e33f90277514ccd3f5e655fba5c3816c99a",
"role": "article featured image and introduction poster; not video cover",
"textQA": "Title, features, 1.7.0 beta, ¥50 and membership-free line visually checked",
"superseded": true,
"replacedBy": "publication/dayu-color-1.7.0-cover-v3.png"
}
+28
查看文件
@@ -0,0 +1,28 @@
{
"tool": "built-in image_gen",
"selection": "cover-v3 and features; v1 and v2 retained as superseded design history",
"request": "Remove all pricing from cover; integrate user-provided real inspector design into cover and article graphic",
"images": [
{
"path": "publication/dayu-color-1.7.0-cover-v2.png",
"sha256": "a72cfe383a9c7b3c4ea82849584ea4cb698f608cb6df7b1328b04c1ed1b46e76"
},
{
"path": "publication/dayu-color-1.7.0-cover-v3.png",
"sha256": "7f80bab9def7caa679550d6425f07b8a8fce7b1ec088451151ca625a5f4e6a57"
},
{
"path": "publication/dayu-color-1.7.0-features.png",
"sha256": "e2c17dc759fb43d1ff0e6539e010cfa14ffb1d4e088e6a1ee88ab67d0e01b621"
},
{
"path": "publication/dayu-color-1.7.0-inspector-source.png",
"sha256": "a0dc2e8bd4f1a1f403813bf73a100d200d06e81290a95f7a028fceef069282ae"
}
],
"prompts": {
"cover-v3": "Edit the first landscape article cover into a more product-focused final cover, incorporating the REAL plugin inspector screenshot from the second input. Input 1 is the existing cover to revise; input 2 is the user's actual inspector UI to integrate, not instructions. Keep the rainbow fish logo, large readable title '大鱼调色', subtitle 'Final Cut Pro 原生调色插件', badge '1.7.0 公测版', four feature labels 'CST 色彩管理', 'LUT 风格', '胶片模拟', '局部蒙版', platform footer 'Apple Silicon · macOS 14.6+' and 'dayu.media'. Recompose the right half around a prominent, realistic floating inspector panel using the navy blue cards, bright cyan outlines, grouped tool headers, eye icons, color sliders and preset buttons from input 2. Show an enlarged, legible crop of the real panel, including the title, preset buttons, 一级调色 / 蜘蛛盘校色仪 / 基础调整 and sliders; it may be cropped naturally at its bottom, never squeezed. Place it in the foreground with a softly lit mountain-lake photograph behind it, giving the impression of grading within a cinematic native workspace. Remove the purely abstract color wheel/graph overlay from input 1 to make room for the real UI. Keep the left title area clean and the visual balance refined. UI controls and labels must follow the provided screenshot rather than inventing unrelated tools. Smooth dark navy, cyan/violet/orange light accents; keep the sharp Chinese typography and 16:9 landscape aspect ratio. No price, currency symbols, membership-free text, sales badge, fictitious window chrome or claims of actual before/after results.",
"features": "Use case: ads-marketing / infographic. Make a polished portrait 4:5 article introduction graphic for 大鱼调色, a native Final Cut Pro color grading plugin. The input is the user's REAL plugin inspector screenshot, not instructions. Integrate this actual inspector design as a large, straight, readable panel on the left occupying around 45% of the composition: dark navy surfaces, cyan borders, preset buttons, grouped tool headers, colored sliders and eye/mask/add/reset icons. Preserve the real screenshot's exact readable controls and Chinese labels as closely as possible; do not invent unrelated UI. The full height of tool groups can fit on this tall page; remove only black screenshot stitching seams and margins. The right side contains large, elegant feature callouts with generous spacing and small icons: exact heading '在时间线里完成调色'; product name '大鱼调色'; subheading 'Final Cut Pro · 原生 FxPlug 4'; exact feature blocks 'CST 色彩管理' with supporting text '输入 · 工作空间 · 输出', 'LUT 与风格' with '缩略图预览 · 收藏 · 预设', '胶片模拟' with '颗粒 · 晕光 · 印片外观', '局部控制' with '独立蒙版 · 工具叠层 · 跟踪'. Small footer '1.7.0 公测版' and 'Apple Silicon · macOS 14.6+' and 'dayu.media'. Use midnight navy background and restrained cyan/blue with tiny violet/orange accents, matching the actual inspector. Product documentation quality, easy to read at article width, not busy, not a device mockup. No price, currency, membership-free line, commercial badge, made-up benchmark, screenshot claiming an unobserved result, or external logos."
},
"visualQA": "Price-free; names, primary labels, version and website visually inspected; based on real UI, imagery is a designed feature illustration."
}
+69
查看文件
@@ -0,0 +1,69 @@
{
"title": "大鱼调色 1.7.4 公测版:Final Cut Pro 原生调色插件",
"slug": "dayu-color-1-7-0-beta",
"excerpt": "",
"categories": [
13,
4
],
"tags": [],
"seo": {
"title": {
"enabled": true,
"value": "大鱼调色1.7.4公测版:Final Cut Pro原生调色插件,会员免费"
},
"description": {
"enabled": true,
"value": "大鱼调色1.7.4公测版,适用于Apple Silicon与macOS14.6及以上。支持CST色彩管理、LUT预览、胶片模拟、局部蒙版与跟踪;新增模块和图层删除,删除时还原参数,重新添加从初始值开始。保留“更多空间”窗口修正,完整PKG已签名公证,售价50元,站内会员免费。"
},
"keywords": {
"enabled": true,
"value": "大鱼调色,Final Cut Pro,调色插件,FxPlug4,CST色彩管理,LUT,胶片模拟,局部蒙版,会员免费"
}
},
"resource": {
"cao_status": "1",
"cao_close_novip_pay": "",
"cao_is_boosvip": "",
"cao_video": "",
"cao_is_video_free": "",
"cao_price": "50",
"cao_vip_rate": "0",
"cao_ref_bonus_rate": "0.25",
"cao_expire_day": "0",
"cao_downurl": "https://dayu.media/wp-content/uploads/2026/11/1793635244-411a5cac31e43fc.pkg",
"cao_downurl_bak": "",
"cao_demourl": "",
"video_url": "",
"video_poster_url": "",
"cao_pwd": "",
"cao_original_filename": "1793635244-411a5cac31e43fc.pkg",
"post_style": "sidebar",
"cao_info": ""
},
"packageSHA256": "bab2cb14229de151f73782e4a9bd54ca34ef47b9dd15ef3590dd1cd95d04fce5",
"skill": {
"installed": "/Users/mac/.codex/skills/dayu-publish-article",
"remote": "https://dayu.media/git/dayu/dayu-publish-article-skill.git",
"commit": "1e8da1005f32bf6b6452144b071dd2a800123185"
},
"postID": 15792,
"editorURL": "https://dayu.media/wp-admin/post.php?post=15792&action=edit",
"featuredImage": "publication/dayu-color-1.7.0-cover-v3.png",
"inlineImage": "publication/dayu-color-1.7.0-features.png",
"featuredImageURL": "https://dayu.media/wp-content/uploads/2026/11/1793613870-285eac993228898.png",
"inlineImageURL": "https://dayu.media/wp-content/uploads/2026/11/1793613872-21b2d1772c5ccac.png",
"status": "publish",
"articleURL": "https://dayu.media/15792/",
"actualSlug": "%e5%a4%a7%e9%b1%bc%e8%b0%83%e8%89%b2-1-7-0-%e5%85%ac%e6%b5%8b%e7%89%88%ef%bc%9afinal-cut-pro-%e5%8e%9f%e7%94%9f%e8%b0%83%e8%89%b2%e6%8f%92%e4%bb%b6%ef%bc%8c%e4%bc%9a%e5%91%98%e5%85%8d%e8%b4%b9",
"featuredMedia": 15795,
"actualTitle": "大鱼调色 1.7.4 公测版:Final Cut Pro 原生调色插件",
"userPublished": true,
"actualTags": [],
"actualExcerpt": "",
"packageBytes": 40918925,
"packageMediaID": 15805,
"updatedBy": "dayu-publish-article",
"version": "1.7.4",
"build": "52"
}
+139
查看文件
@@ -0,0 +1,139 @@
<!-- wp:paragraph -->
<p>大鱼调色 1.7.4 公测版是一款适用于 Final Cut Pro 与 Motion 的原生 FxPlug 4 调色插件。从素材色彩还原、基础调整,到 LUT 风格、胶片质感和局部蒙版,可直接在剪辑时间线里完成。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>本篇下载售价为50元,站内有效会员免费。提供已签名、公证的完整 PKG 安装包,版本1.7.4,构建52。</p>
<!-- /wp:paragraph -->
<!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
<figure class="wp-block-image size-full"><img src="https://dayu.media/wp-content/uploads/2026/11/1793613872-21b2d1772c5ccac.png" alt="大鱼调色蓝色插件面板与CST、LUT、胶片模拟、局部蒙版功能介绍" /><figcaption class="wp-element-caption">大鱼调色界面与功能介绍图</figcaption></figure>
<!-- /wp:image -->
<!-- wp:heading -->
<h2 class="wp-block-heading">在时间线里完成调色</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p><strong>色彩管理与基础调整</strong>:支持 CST 输入、工作空间和输出转换,并提供曝光、白平衡、曲线、HSL、色轮及蜘蛛盘等调节工具。首次使用时,请在一级调色中选择与素材相符的输入曲线和色域。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><strong>LUT 与风格管理</strong>:通过缩略图浏览、收藏和预览管理常用 LUT,支持自选 LUT 文件与文件夹。完整预设用于保存组合调节;适合静态颜色变换的处理可导出 Cube LUT,颗粒、晕光、蒙版等时间或空间效果不属于静态 LUT 的保存范围。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><strong>胶片模拟与印片外观</strong>:包含减色、颗粒、晕光、辉光、暗角及通道混合器,提供 Kodak 2383、Fuji 3513 等八种印片外观,可独立调整强度。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><strong>局部蒙版与工具叠层</strong>:可针对单独工具添加蒙版、建立相邻叠层,并使用关键帧与跟踪处理局部区域,方便细调画面的不同部分。</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
<h2 class="wp-block-heading">1.7.4 更新:删除模块与图层</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>每个模块和新增图层的标题增加减号按钮,可删除不需要的层并让它从界面消失。删除时一并还原该模块的参数、清除关键帧及所属 LUT、蒙版等设置,避免隐藏后仍影响画面;其他模块保持原设置。误删可通过 Final Cut Pro 的一次撤销恢复。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>顶部“添加模块”菜单可重新添加任意模块,新层从初始参数开始,不继承已删除层的设置。原有“再加一层”继续保留,删除状态随工程和完整预设保存。本机已验证删除、撤销、重做、重新添加与退出重开;本版继续保留此前的 Cube 兼容与“更多空间”窗口修正。</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
<h2 class="wp-block-heading">1.7.3 更新:显示缩放下的 LUT 窗口</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>修正部分显示器选择“更多空间”后,LUT 缩略图浏览库出现大片灰色、内容偏移和裁切的问题。首次打开即可完整显示搜索、文件夹、预览和底部控件,无需点击窗口绿色按钮恢复;原有窗口缩放、网格/列表与缩略图设置继续保留。本机已在相同显示设置下验证首次打开和重新启动 Final Cut Pro 后打开正常。</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
<h2 class="wp-block-heading">1.7.2 更新:LUT 浏览窗口</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>LUT 缩略图浏览库改为跟随 Final Cut Pro 提供的实际窗口内容区域,避免旧窗口位置和尺寸记录干扰布局;窗口变化时同步调整深色内容区、列表及底部控件。缩略图大小、网格/列表、侧栏、分类和最近使用设置继续保留。</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
<h2 class="wp-block-heading">1.7.1 更新:LUT 导入兼容</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>改善 Cube LUT 导入兼容性,可读取部分在颜色数据行夹带文字标记的文件。保留可读取的数值,无法读取的后续通道按 0 处理,各行位置保持不变;这与本机 Final Cut Pro“自定 LUT”处理同类文件的方式一致。原有文件编码支持、缩略图浏览与预览功能继续保留。</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
<h2 class="wp-block-heading">1.7.0 公测新增</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>主 App 启动时自动检查新版,发现更新后由用户确认下载。完整更新包经过完整性、签名和产品版本校验,保存并退出 Final Cut Pro / Motion 后,通过系统安装器完成升级。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>公测诊断用于记录系统与版本、插件初始化、界面创建、管线准备和首次渲染的耗时,以及错误和本插件崩溃摘要。它在后台限量排队、离线重试,不上传素材、LUT、预设、账号、硬件 UUID 或原始崩溃文件;诊断保留30天,可在主 App 关闭。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>本版处于公测阶段,部分用户反馈的偶发加载无响应仍在收集信息,尚未确认根因。遇到问题时,请附主 App 显示的报告标识、发生时间、Mac 芯片、macOS 和 FCP 版本,便于关联加载过程。</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
<h2 class="wp-block-heading">兼容与安装内容</h2>
<!-- /wp:heading -->
<!-- wp:list -->
<ul class="wp-block-list"><li>Apple Silicon Mac,macOS 14.6 或更新版本;本发行构建不支持 Intel Mac。</li><li>本机已在 Final Cut Pro 12.4 验证加载、界面和调节,其他宿主版本的兼容情况继续通过公测收集。</li><li>主 App 固定安装到 /Library/Plug-Ins/FxPlug/大鱼调色.app,FCP 效果模板安装到当前登录用户的“影片/Motion Templates/Effects/大鱼调色”。</li><li>安装包不包含用户自选素材、LUT 或个人预设。</li></ul>
<!-- /wp:list -->
<!-- wp:heading -->
<h2 class="wp-block-heading">安装</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>安装前,请先退出 Final Cut Pro(FCPX)和 Motion,并在整个安装过程中保持它们关闭。PKG 通常会检查这两个程序是否正在运行;如果安装器提示关闭,请退出对应程序后继续安装。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>运行本资源提供的 PKG 安装包,安装包包含完整的大鱼调色主 App、内嵌 FxPlug 插件和效果模板,并自动完成安装与插件注册,无需另行安装运行依赖。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>本公测版不需要登录或输入激活码。安装完成后打开主 App「大鱼调色」,它会检查并提交插件注册;成功后显示3秒倒计时再退出。点击“查看功能介绍”可以保留窗口,查看更新和诊断设置。</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
<h2 class="wp-block-heading">使用</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>安装和注册完成后,打开 Final Cut Pro。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>在“效果”中找到“大鱼调色”文件夹,选择“大鱼调色”即可使用。</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
<h2 class="wp-block-heading">常见问题</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>如果插件失效或显示红色警告,可能是系统插件缓存异常。先退出 Final Cut Pro,再重新打开一次插件主 App,然后重新启动 Final Cut Pro 查看插件是否恢复。</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>本资源的主 App「大鱼调色」安装在下面的实际路径。将以下命令复制到“终端”运行,即可打开主 App:</p>
<!-- /wp:paragraph -->
<!-- wp:code -->
<pre class="wp-block-code"><code>open '/Library/Plug-Ins/FxPlug/大鱼调色.app'</code></pre>
<!-- /wp:code -->
<!-- wp:paragraph -->
<p>若仍显示红色警告或长时间停在加载中,请核对系统及 FCP 版本,并通过主 App 的“发送诊断摘要”反馈报告标识和发生时间。公测阶段的偶发加载无响应仍在收集信息,重新注册并不能保证解决所有问题。</p>
<!-- /wp:paragraph -->
+75
查看文件
@@ -0,0 +1,75 @@
# 大鱼调色 1.7.4 公测版:Final Cut Pro 原生调色插件
大鱼调色 1.7.4 公测版是一款适用于 Final Cut Pro 与 Motion 的原生 FxPlug 4 调色插件。从素材色彩还原、基础调整,到 LUT 风格、胶片质感和局部蒙版,可直接在剪辑时间线里完成。
本篇下载售价为50元,站内有效会员免费。提供已签名、公证的完整 PKG 安装包,版本1.7.4,构建52。
## 在时间线里完成调色
**色彩管理与基础调整**:支持 CST 输入、工作空间和输出转换,并提供曝光、白平衡、曲线、HSL、色轮及蜘蛛盘等调节工具。首次使用时,请在一级调色中选择与素材相符的输入曲线和色域。
**LUT 与风格管理**:通过缩略图浏览、收藏和预览管理常用 LUT,支持自选 LUT 文件与文件夹。完整预设用于保存组合调节;适合静态颜色变换的处理可导出 Cube LUT,颗粒、晕光、蒙版等时间或空间效果不属于静态 LUT 的保存范围。
**胶片模拟与印片外观**:包含减色、颗粒、晕光、辉光、暗角及通道混合器,提供 Kodak 2383、Fuji 3513 等八种印片外观,可独立调整强度。
**局部蒙版与工具叠层**:可针对单独工具添加蒙版、建立相邻叠层,并使用关键帧与跟踪处理局部区域,方便细调画面的不同部分。
## 1.7.4 更新:删除模块与图层
每个模块和新增图层的标题增加减号按钮,可删除不需要的层并让它从界面消失。删除时一并还原该模块的参数、清除关键帧及所属 LUT、蒙版等设置,避免隐藏后仍影响画面;其他模块保持原设置。误删可通过 Final Cut Pro 的一次撤销恢复。
顶部“添加模块”菜单可重新添加任意模块,新层从初始参数开始,不继承已删除层的设置。原有“再加一层”继续保留,删除状态随工程和完整预设保存。本机已验证删除、撤销、重做、重新添加与退出重开;本版继续保留此前的 Cube 兼容与“更多空间”窗口修正。
## 1.7.3 更新:显示缩放下的 LUT 窗口
修正部分显示器选择“更多空间”后,LUT 缩略图浏览库出现大片灰色、内容偏移和裁切的问题。首次打开即可完整显示搜索、文件夹、预览和底部控件,无需点击窗口绿色按钮恢复;原有窗口缩放、网格/列表与缩略图设置继续保留。本机已在相同显示设置下验证首次打开和重新启动 Final Cut Pro 后打开正常。
## 1.7.2 更新:LUT 浏览窗口
LUT 缩略图浏览库改为跟随 Final Cut Pro 提供的实际窗口内容区域,避免旧窗口位置和尺寸记录干扰布局;窗口变化时同步调整深色内容区、列表及底部控件。缩略图大小、网格/列表、侧栏、分类和最近使用设置继续保留。
## 1.7.1 更新:LUT 导入兼容
改善 Cube LUT 导入兼容性,可读取部分在颜色数据行夹带文字标记的文件。保留可读取的数值,无法读取的后续通道按 0 处理,各行位置保持不变;这与本机 Final Cut Pro“自定 LUT”处理同类文件的方式一致。原有文件编码支持、缩略图浏览与预览功能继续保留。
## 1.7.0 公测新增
主 App 启动时自动检查新版,发现更新后由用户确认下载。完整更新包经过完整性、签名和产品版本校验,保存并退出 Final Cut Pro / Motion 后,通过系统安装器完成升级。
公测诊断用于记录系统与版本、插件初始化、界面创建、管线准备和首次渲染的耗时,以及错误和本插件崩溃摘要。它在后台限量排队、离线重试,不上传素材、LUT、预设、账号、硬件 UUID 或原始崩溃文件;诊断保留30天,可在主 App 关闭。
本版处于公测阶段,部分用户反馈的偶发加载无响应仍在收集信息,尚未确认根因。遇到问题时,请附主 App 显示的报告标识、发生时间、Mac 芯片、macOS 和 FCP 版本,便于关联加载过程。
## 兼容与安装内容
- Apple Silicon Mac,macOS 14.6 或更新版本;本发行构建不支持 Intel Mac。
- 本机已在 Final Cut Pro 12.4 验证加载、界面和调节,其他宿主版本的兼容情况继续通过公测收集。
- 主 App 固定安装到 /Library/Plug-Ins/FxPlug/大鱼调色.app,FCP 效果模板安装到当前登录用户的“影片/Motion Templates/Effects/大鱼调色”。
- 安装包不包含用户自选素材、LUT 或个人预设。
## 安装
安装前,请先退出 Final Cut Pro(FCPX)和 Motion,并在整个安装过程中保持它们关闭。PKG 通常会检查这两个程序是否正在运行;如果安装器提示关闭,请退出对应程序后继续安装。
运行本资源提供的 PKG 安装包,安装包包含完整的大鱼调色主 App、内嵌 FxPlug 插件和效果模板,并自动完成安装与插件注册,无需另行安装运行依赖。
本公测版不需要登录或输入激活码。安装完成后打开主 App「大鱼调色」,它会检查并提交插件注册;成功后显示3秒倒计时再退出。点击“查看功能介绍”可以保留窗口,查看更新和诊断设置。
## 使用
安装和注册完成后,打开 Final Cut Pro。
在“效果”中找到“大鱼调色”文件夹,选择“大鱼调色”即可使用。
## 常见问题
如果插件失效或显示红色警告,可能是系统插件缓存异常。先退出 Final Cut Pro,再重新打开一次插件主 App,然后重新启动 Final Cut Pro 查看插件是否恢复。
本资源的主 App「大鱼调色」安装在下面的实际路径。将以下命令复制到“终端”运行,即可打开主 App:
```bash
open '/Library/Plug-Ins/FxPlug/大鱼调色.app'
```
若仍显示红色警告或长时间停在加载中,请核对系统及 FCP 版本,并通过主 App 的“发送诊断摘要”反馈报告标识和发生时间。公测阶段的偶发加载无响应仍在收集信息,重新注册并不能保证解决所有问题。
二进制文件未显示。

之后

宽度:  |  高度:  |  大小: 1.9 MiB

二进制文件未显示。

之后

宽度:  |  高度:  |  大小: 1.8 MiB

二进制文件未显示。

之后

宽度:  |  高度:  |  大小: 2.0 MiB

二进制文件未显示。

之后

宽度:  |  高度:  |  大小: 1.6 MiB

二进制文件未显示。

之后

宽度:  |  高度:  |  大小: 511 KiB

+5
查看文件
@@ -0,0 +1,5 @@
[
{
"file": "Motion Templates.localized/Effects.localized/大鱼调色/大鱼调色/大鱼调色.moef"
}
]
+39
查看文件
@@ -0,0 +1,39 @@
# 1.7.2:内置屏幕“更多空间”灰色区域的补充调查
后续:本机已复现并取得实际外层容器原点偏移,修正与验证见[1.7.3记录](BrowserMoreSpace1.7.3.md)。本文保留修复前的调查边界。
2026-11-02,用户提供新的目标机截图:已安装1.7.2,MacBook Pro / M1 Pro(16核GPU),内置Liquid Retina XDR显示屏,系统报告分辨率3456×2234。沿用此前报告的FCP12.3、macOS27.0.1。内置屏幕设为“更多空间”时出现大面积灰色;设为“默认”正常。用户进一步确认在“更多空间”档位完全退出并重启FCP后仍有灰色区域。
## 观察与已排除的解释
- 截图中深色浏览界面整体向右偏移,顶部和右侧被裁切;缩略图和底部工具栏仍可见。它不只是内部网格列数或缩略图大小不合适。
- 显示模式是已确认的触发条件。重启仍复现,不能只归因于切换显示模式瞬间未刷新的布局;也不能据此排除全部持久设置或桥接状态问题。
- 原始LUT在默认模式可用,异常截图也有缩略图。这份证据不支持把问题归到LUT文件内容或编码。
- 1.7.2远程分支已提前返回,不再恢复插件保存的窗口frame、修改远程窗口min/max或标题。因此此前发现的不安全窗口恢复逻辑不足以解释1.7.2的新截图。
## 源码与本机SDK的有限证据
`DYLUTBrowser.mm`的远程接入和跟随逻辑使用`parent.bounds`设置`_root.frame`,内部布局使用`_root.bounds.size`。此路径没有直接使用3456×2234、手工乘除`backingScaleFactor`或按物理屏幕像素算窗口尺寸。
本机SDK的`FxTypes_MacOS.h`将`FxXPView`定义为`NSView`。`FxRemoteWindowAPI.h`说明parent是远程内容容器,并说明v2最大尺寸由宿主窗口的80%限制;不是检视器宽度。NSView的frame/bounds在各自坐标系中表达,截图物理分辨率不能直接当作容器的逻辑尺寸。
本轮还静态分析了本机已安装的Apple FxPlug框架(不是目标机FCP12.3的实测运行):
- 原件:`/Library/Developer/Frameworks/FxPlug.framework/Versions/A/FxPlug`,SHA-256 `07eae772cc14d8bb0b18e515a1c16d5bc03245fc2c908fe4899318703ecbaaa7`。
- 独立arm64分析切片SHA-256 `f1d5110d017d599edb5f11cb6c80d62ecd05c427d9d1e4e7749f110ef1d8ab6a`。
- REA/Ghidra静态证据`ev_4c60191b63451f68d443e25d2a3965934cc3e708a3baa4aad7ee432e695ad3df`:`FxAPIManagerShim::remoteWindowWithMinimumSize:maximumSize:reply:`(arm64偏移0x20df0)经host mediator请求窗口、取得windowContentView。
- 证据`ev_be540b8fa3cc9dae8e1df580895369d804e441a327fba6026566a3873ffc8bd4`:其第二个回调(0x21110)先调用插件reply,然后读取parent第一个子视图的frame.size,调用parent的setFrameSize与setBoundsSize。支持“接入后SDK还会同步几何”的判断,不能证明目标机在此产生了错误的缩放或原点。
- 证据`ev_4e842ef1089426daf462c3568fbb0c73b865336704c75601601eb560b7f19db4`:`FxRemotePlugin::windowContentView`(0x7974)返回windowViewController.view。
- 伪代码不是Apple源码;未执行这些私有方法,未观测目标机容器的实际frame、bounds、visibleRect或backing映射。REA会话已关闭,完整12条静态证据保存在本机构建缓存的`remote-scaling-analysis/FxPlug-window-evidence.snapshot.json`,不作为已远程保存的必要工程资源。
Apple的[高分辨率坐标转换说明](https://developer.apple.com/library/archive/documentation/GraphicsAnimation/Conceptual/HighResolutionOSX/APIs/APIs.html)区分view、window、screen、backing各自坐标系,并建议使用对应转换API。[NSWindow.backingScaleFactor](https://developer.apple.com/documentation/appkit/nswindow/backingscalefactor)的说明不支持把该值直接用于布局。不能因为选择“更多空间”就断言backingScaleFactor必然从2变成1.5;屏幕物理像素、桌面逻辑尺寸、backing尺寸和最终显示合成并非同一个量。
## 当前结论和未解项
已确认触发条件,最有力的工作假设是显示缩放下远程容器与插件内容的坐标、裁切或合成映射不同步;尚未锁定是哪一侧、哪个值首次出错。不能把这一假设写成已确认的“插件混用point/pixel”或“FCP自身bug”。
1.7.2的21项隐藏AppKit模型检查覆盖了内容尺寸变化、非零bounds原点及晚到尺寸,未模拟真实ViewBridge跨进程合成和目标屏幕的缩放模式。本机FCP12.4的成功验证也不能替代目标机12.3的该模式复现。
要确定修复,应在目标环境对照两档显示设置,采集接入时、SDK回调返回后和稳定布局后的parent/root frame、bounds、visibleRect、到window的转换矩形及backing转换;同时确认宿主可见窗口/remote view大小。先判断偏移发生在插件子视图内部还是跨进程显示桥接,再选择布局修正或替代呈现路径。不可根据截图补固定偏移、盲目乘除2、扩大窗口、改灰色背景或清空用户设置后宣称修复。
本轮只作调查记录,未修改应用源码、版本、已安装APP、安装包或文章;1.7.2仍需解决该模式下的问题。
+33
查看文件
@@ -0,0 +1,33 @@
# 1.7.3(49):更多空间下的远程内容原点
2026-11-02,本机切换“更多空间”后复现1.7.2的大片灰色、深色内容向右偏移和顶部裁切。用户随后发现点击窗口绿色缩放按钮可恢复。此前[1.7.2调查](BrowserMoreSpace1.7.2.md)只锁定触发条件;本轮取得实际运行几何,不再以缩放假设代替证据。
## 实际原因
正式签名、公证并安装的诊断构建1.7.3(48)记录到:
- SDK提供的parent就是服务窗口的contentView;它的frame为`{{789,521},{1800,1200}}`,bounds为`{{0,0},{1800,1200}}`。
- 浏览器_root.frame为`{{0,0},{1800,1200}}`,在parent内部完全正确;但转换到窗口后变成`{{789,521},{1800,1200}}`。所以仅检查root.frame等于parent.bounds会漏掉外层容器的偏移。
- 服务窗口frame为`{{0,100},{1800,1200}}`,contentLayoutRect为`{{0,0},{1800,1200}}`。接入前、SDK回调返回后、1秒稳定状态都保留错误的contentView原点。
- 用户点击绿色按钮时,parent原点回到`(0,0)`,随后系统缩放过程出现1–5点边缘调整,界面恢复。此操作触发了容器重排。
- 本机主屏逻辑3840×2160/backingScaleFactor1,另有1920×1080/backingScaleFactor2副屏。窗口位于主屏。不能将此比例或偏移数值硬编码为目标MacBook的显示参数。
这是**远程内容容器的frame原点残留**,不是本机这一复现中插件把3456等物理像素直接当作逻辑尺寸。已确认它发生在SDK/ViewBridge提供的外层contentView;未逆推出Apple内部具体哪一处首次写错原点,也未宣称确认所有缩放模式存在同一平台bug。
## 修正
仅在远程模式且SDK提供的parent恰好是当前window.contentView时,用公开AppKit API取得实际内容矩形,依次执行screen→window→parent.superview的坐标转换,修正parent的frame.origin。随后仍按parent.bounds铺满浏览器。接入、parent变化及窗口几何事件使用同一路径。
不修改宿主窗口frame、尺寸限制、标题、保存位置或桥接容器的autoresizing策略;不更改parent尺寸,不调用绿色按钮,不加固定偏移或显示器比例。SDK在reply返回后读取第一个子视图尺寸的机制继续保留。本地弹窗行为不变。
加入默认关闭的本地诊断开关`DYBrowserGeometryDiagnostics`,仅记录视图/窗口/屏幕几何和图层变换,不含LUT名称、文件路径或图像,不发送网络。每进程限1MiB,存于本机Library/Logs/大鱼调色;本轮采样结束后删除临时开启的偏好。采样不属于公测云端诊断。
## 验证与边界
- 隐藏AppKit模型按实际`(789,521)`偏移重现:旧代码27项中3项失败;修正后27项通过,覆盖首次及后续原点偏移、非零bounds和宿主frame/尺寸/桥接策略不变。已有浏览库23项回归通过。
- 正式安装版411项原生检查通过,包括新增3项窗口坐标对齐检查。实际编译源码`2688b22f99b5118153b94a43f6c184a204d4ce7e`,APP公证`06e09906-676f-414b-adcc-acf2bec6864a` Accepted。
- 本机FCP12.4/macOS27.0.1在同一“更多空间”设置下,修正版首次接入仍收到错误原点,但自动对齐为0;服务窗口frame和尺寸不变,稳定采样保持正确。搜索、侧栏、网格、列表、底部完成按钮完整。绿色缩放/还原、热重开和正常退出后冷重开通过;冷重开再次收到错误原点并自动修正。
- 已有58个LUT、tlfs选择及缩略图大小125.4610877403846保留,原始tlfs SHA-256仍为`5ee4eefe92410549abf3e27baf7aea5e74b77101b496af5eddb5ba601bf033fe`。模板与Metal库相对1.7.2逐字节一致。
- 目标使用者的MacBook/FCP12.3仍需更新后复测;本机不是该机的直接测试。代理没有改动系统显示设置。本轮未再次运行PKG安装脚本。
记录:`verification/MoreSpaceBridgeRuntime1.7.3.json`、`HostBrowserMoreSpace1.7.3.json`、`MoreSpaceRegression1.7.3.json`、`MoreSpaceRecovery1.7.3.json`;正式包与Release以对应最终记录为准。诊断48版未制作或发布安装包,不作为修复完成版本。
+23
查看文件
@@ -0,0 +1,23 @@
# 1.7.2:LUT浏览库远程窗口尺寸
基线 `e62d5532f2360d157d5a4d96488e58f4113a55af`,正式安装1.7.1(46)。用户转述另一使用者的“窗口很大、出现灰色空白、深色内容被裁切”,并提供第三方源码分析;版本为FCP12.3、系统输入为27.01(按27.0.1记录),分辨率及缩放未知。本机为FCP12.4,不能把本机验证写成对方12.3实测。
## 已确认的代码问题与分析边界
`DYInspector`优先请求FxRemoteWindowAPI_v3/v2,并同步把浏览器根视图接入SDK提供的parent。随后`configurePresentationWindow`原先还会修改`_root.window`的最小/最大内容尺寸、标题和frame,恢复插件自行保存的位置。远程桥接窗口的几何不应由这条本地恢复逻辑覆盖。
本机FxPlug4.3.5的`FxRemoteWindowAPI.h`说明v2的最大尺寸会限制到宿主**窗口**大小的80%。Apple在线文档同样写明宿主主窗口的80%,见 https://developer.apple.com/documentation/professional_video_applications/fxremotewindowapi_v2/remotewindow(withminimumsize:maximumsize:reply:) 。它没有说按检视器宽度限制;固定28点标题栏换算不准确,也不能单凭不同常量认定每台机器必然出现灰边。多屏时机、FCP12.3具体桥接行为及对方真实灰边仍需目标机复核。
隐藏AppKit桥接模型从相同内容大小开始,关闭parent自动调整子视图,种入离屏/大屏历史记录。旧源码失败9项:宿主frame/min/max/标题被改、桥接缩放策略被覆盖、若干parent变化未跟随、非零bounds原点未跟随、远程窗口事件污染本地历史。修正后21项几何检查、23项浏览库回归通过,摘要见`verification/BrowserGeometryRegression1.7.2.json`。测试模型的失败证明不安全路径,不冒充对方系统的实际截图复现。
## 修改
- 远程模式仅观察生命周期并按parent.bounds布局,直接返回;不设宿主窗口frame、min/max、标题、位置或背景,不从本地历史恢复远程窗口。
- 保留桥接容器自己的autoresizesSubviews设置;监听parent的frame/bounds变化,即使自动缩放关闭、初始零尺寸或bounds原点非零,根视图也填满实际可用区域。关闭后移除这些观察。
- 远程窗口事件不再写插件的本地frame偏好;缩略图大小、布局、分类、侧栏和最近使用保留原机制。
- 仅本地脱离式弹窗保留位置恢复,用AppKit实际frame/content转换取代固定28/448/1228点;按保存frame与显示器的交集选择可用屏幕,将内容和外框约束到真实可见区域。
- SDK v2/v3仍负责可调整远程窗口的范围;不通过改min/max伪装初始尺寸,也不清空用户配置来掩盖问题。
`tools/verify_browser_remote_geometry.mm`覆盖576×336、720×420、1280×800、900×620等桥接内容大小、旧记录、禁用自动缩放、非零原点、晚到尺寸、一次关闭和本地窗口恢复。正式`--self-test`加入8项对应检查。所有构建目录窗口测试保持不可见;用户可见验证只运行正式签名、公证并安装的版本。
本轮继续保留1.7.1的Cube文字行容错。最终公证、宿主、安装包和Release结果以交付记录为准;目标使用者的FCP12.3仍需更新后复测。
+50
查看文件
@@ -0,0 +1,50 @@
# 画布工具与修复任务
日期:2026-11-05。基线 main `5224e404f54067eca11b9b749095d87fa980c535`,远程已核验,工作区干净。唯一正式产品 `com.dayu.color`,安装 `/Library/Plug-Ins/FxPlug/大鱼调色.app`。
用户验收范围:
- 曲线、HSL、蜘蛛盘为可移动半透明画布图形;曲线同区叠加直方图,保留精确参数页。
- 主检查器初始只展示一级、基础、蜘蛛、HSL 四张折叠卡。其它工具通过添加模块或画布工具条进入,已有工程的有效调色必须保留。
- 肤色保护增加区域显示;实时识别人脸,并将颜色筛选限制在人脸皮肤范围,无脸不得保护同色背景。参考用户指定 MIT 仓库 FCP-BeautyGirl,保留来源说明。
- 参考 mFilmLook 的变形/镜头畸变修复功能,接入真实渲染、模块、预设和撤销。
布局沿用 AppKit/Metal OSC 与原参数桥。图形、命中共用几何,基础层及 UUID 层均支持,一次拖动一次撤销,时间/节点/外部冲突时停止写入。半透明在降低透明度时使用实色。
演示 `/Volumes/备份/6524bdcd3a33f6bd0128a340b9c7fadc_raw.mp4`:4096×2584,120fps,45.65秒;只读抽帧存构建缓存,不把用户视频上传到源码仓库。
交付必须完成 Release、Developer ID、Apple Accepted、票据、唯一安装及正式路径自检、宿主功能验收、PKG 与 Release 下载校验、远端独立恢复。额度重置由用户手动操作。
最终状态:1.11.0(73)已正式交付,724项原生检查、20项验包、用户三项实鼠验收、Release发布前后完整下载校验及远端独立恢复均通过。下文保留各阶段研究记录。
## 实现检查点
HSL八色三轴图形、蜘蛛网格拖动/固定/复位/分辨率、半透明绘制与降低透明度替代、曲线直方图已连接原参数。蜘蛛自定义资产扩展了主队列冲突保护。主面板按显示状态隐藏未使用的附加模块,保存过的有效参数自动显示;画布工具入口可以恢复已删除类型。
FCP-BeautyGirl 参考提交 `42fecaa3b55471fea928339127d53484663d4057`,MIT 许可证见同目录 FCPBeautyGirl-MIT.txt。参考 Vision revision 3、76点、皮肤支持区与五官排除的思路;未引入美颜、瘦脸或目标二进制。
mFilmLook 3.1.4 arm64 SHA-256 `b1cee1dffd3b490afa0c22db646404b018a0aaadf70d9a6827e95cb178c74357`。REA Ghidra 12.1.4 观察到 Lens Distortion、ParamLensDistortionEnable/Strength、RenderDistortionKernel,证据 `ev_77ca21689086d3b977243f1b81b3833a89b9e48aa5cd3e38594572abad5296a2`、`ev_5c4653c5bdd4316ec067c530085235c5c37733b2490065ed6d5ea855611057a7`。本项目独立编写反向径向采样,不宣称已证明目标GPU逐像素等价。
Uniform 仅在原1312字节之后追加32字节,旧参数ID与完整前缀不变;新增独立镜头模块、肤色范围预览及默认人脸限定。当前编译/验证中,未安装。
## 第二阶段验证
原生回归已扩展至719项,新增真实 OSC 图形手势、UUID网格资产、外部拓扑冲突、畸变GPU与独立CPU采样对照、NASA公共领域真人及同色背景检查。原695项按新15工具和四卡折叠布局更新展示预期,旧点颜色/Cube参照显式排除新空间人脸选区。
AddressSanitizer 发现旧 renderLegacy 的 C++ 引用捕获向异步通知泄漏栈 self 地址;改为独立 Objective-C 通知方法后完整内存检查运行结束,无该内存错误。先前未检测到问题的旧正式版695项仍通过,原栈布局偶然掩盖缺陷。
肤色预览改为在原生皮肤阶段读取同一个色选算法、同一预HSL参考、同一用户蒙版与人脸覆盖,白色代表保护权重。初次真人测试识别人脸但MTLTexture→CIImage上下相反,已按TOP_LEFT归一化修正,正在重跑;未通过前不交付。
曲线直方图由成功渲染的分析更新发布到同时间快照,播放头不匹配时不展示旧帧。人脸只缓存完全相同的标准化像素;无脸或输入失败时为空,不延续上一镜头。新增空间处理的Cube导出会明确拒绝,完整预设继续保存。
## 候选验证记录 1.11.0(73)
724项原生回归通过;真实人脸中心归一化坐标约(0.437,0.244),双人检测2张脸。上下原点输出最大误差0;同色背景差异0,人脸保护生效。独立层、零强度用户蒙版和无脸清空均通过。新的完整724项AddressSanitizer运行未报告内存错误;唯一失败为启用插桩后的旧主队列响应阈值(约226ms),无插桩Release该项通过,未放宽阈值。
最终交付脚本显式关闭ASAN并清理专用构建后重编译,正式安装自检自动提供版本化真人fixture。FCP已通过正常退出保存现有验收库;不修改库数据库。准备正式构建和宿主验收,尚未交付新版。
## 最终交付
用户实鼠回复“三项均正常”:画布曲线含直方图、HSL及蜘蛛盘的拖动与一次撤销;人脸肤色保护区域;镜头畸变网格响应。正式安装1.11.0(73)的APP公证Accepted、票据、Gatekeeper及唯一PluginKit路径通过,原生724项通过。此验收来自真实FCP用户操作,自动化输入限制保留在宿主记录中。
正式编译SHA `49d35cb49ab93f5ab6ca3411eaea80f7219be346`;最终版本标签 `v1.11.0-canvas-spatial-20261105` → `5f8fb13fceb0c4d4ead447b8b5694ce269e95749`。程序与模板未在编译后改动。Release388/附件32完成草稿下载校验后发布,发布后再次完整下载校验,43,128,845字节、SHA-256 `2dd5166902ebdaae50dd897057459cbe7e5ea611dbdeb571bd688e843c59768e`。远端独立恢复555跟踪文件一致,fsck通过,临时生成副本已清理。详见verification/Delivery.json、HostCanvasTools1.11.0.json、Package.json、Release.json、CanvasFinalRecovery1.11.0.json及CanvasCleanup1.11.0.json。
+132
查看文件
@@ -0,0 +1,132 @@
{
"target": {
"path": "/Applications/ColorFinale.app/Contents/PlugIns/ColorFinale.pluginkit/Contents/Frameworks/GradeKit.framework/Versions/A/GradeKit",
"sha256": "e868a8c6df64bf03b7c24af5657c5ac7a2259a1943dfe06e01dbb7881df018a3",
"architecture": "arm64",
"provider": "Ghidra12.1.4"
},
"parameterSemantics": {
"parameterType0": "absolute = static baseline + stored relative key (componentwise)",
"parameterType1": "absolute = static baseline * stored relative key (componentwise)",
"authorWrite": "setValue:atTime:type: converts incoming absolute value to relative by subtract/divide before persisting FTKeyFrame",
"keyFrameTypeWarning": "FTKeyFrame.type is a separate enum namespace; do not treat key type0/1 as parameter blend modes.",
"exactKeyAndNoKey": "valueAtTime returns static baseline without keys; exact key is converted with absoluteValueForValue.",
"betweenKeys": "Time interpolation has custom/region logic. No approximate interpolation was used in the normalized output; only exact authored key times."
},
"coordinates": {
"native": "CF mask author coordinates are normalized in its Core Image mask space: X right and Y up.",
"positionPixels": "(x*frameExtent.width, y*frameExtent.height), no Y negation in convertObjectPoint",
"rotation": "Raw evaluated angle is passed directly to CGAffineTransformRotate: radians, positive counterclockwise in Y-up CI space.",
"hostOrientation": "generateMaskImageForScene/ForNode applies an additional final vertical reflection only when outputFrameTile.orientation is nonzero; this is host texture orientation adaptation, not stored-parameter sign.",
"canonicalTopLeft": "xTop=xCF; yTop=1-yCF; thetaTop=-thetaCF for the same unrotated image extent. Avoid a second flip for the host texture correction.",
"extentOrigin": "Evidence covers normalized object scaling and the unrotated zero-origin QA frame. Nonzero extents/rotated or mirrored source metadata require separately applying the frame transform."
},
"rectangleSize": {
"storedSize": "FTTrackerRect.size is full width/height in normalized whole-image proportions, not half extent or min-dimension units.",
"bounds": "bounds is centered at object zero with the stored size; boundingPointsForExtent multiplies X by extent.width and Y by extent.height.",
"rendering": "Renderer context scale is exactly (frameExtent.width,frameExtent.height); convertObjectSize is componentwise scale.",
"formula": "widthPixels=size.width*frameWidth*evaluatedScaleX; heightPixels=size.height*frameHeight*evaluatedScaleY; rotation is then applied about the anchor.",
"qa1080pNeutral": "size(.1,.1),scale(1,1),1920x1080 => full rectangle192x108 pixels.",
"aspectRatio": "No additional aspect-ratio factor appears in these size/extent conversions."
},
"evidence": [
{
"function": "FTAnimatedParameter::absoluteValueForValue:",
"address": "0x2ff68",
"id": "ev_383a4536aa400589706c5b1bf807637b23897b821df704d0d3daa0403c16e422"
},
{
"function": "type0 absolute operation",
"address": "0x30010",
"id": "ev_0bd67b79a003a14ea596584768b0211596f4ef5f8647dda57fe9b9b903ffb2ac",
"instruction": "fadd d0,d0,d1"
},
{
"function": "type1 absolute operation",
"address": "0x30018",
"id": "ev_76b2c7cba7c710771b8d2ff696edc6819f13981c2f9d777764c15e137c28d873",
"instruction": "fmul d0,d0,d1"
},
{
"function": "relativeValueForValue:",
"address": "0x30020",
"id": "ev_1fc5c0518cb43974cbf7936365fe13bfe1f765b75849e25fc84d343aec3b8c51"
},
{
"function": "type0 relative operation",
"address": "0x300c8",
"id": "ev_0f6cb98e5fe2133e22af864ad0407f32c14c36a55d9f062211e7afabb895a9c4",
"instruction": "fsub d0,d0,d1"
},
{
"function": "type1 relative operation",
"address": "0x300d0",
"id": "ev_bbb6d00512fdefd319798954d0b2d446e187636a36292998c9e9a99fdb69a2ee",
"instruction": "fdiv d0,d0,d1"
},
{
"function": "setValue:atTime:type:",
"address": "0x311a4",
"id": "ev_bbc511c6588265d874417152739b427e9bcc9117f4bcaa6eaa59a388179c27a0"
},
{
"function": "valueAtTime:",
"address": "0x300d8",
"id": "ev_ec0c46afb1b556d5ec1d9c2f479a601dc9aac68b64fe3bcd045eb5a1e89d3400"
},
{
"function": "interpolatedValueAtTime:from:to:",
"address": "0x307b4",
"id": "ev_1164fa75ff76633f227928914b59426792ae124d19307531828acb5212c4808f"
},
{
"function": "FTTrackerMaskRendererContext::initWithVersion:outputFrameTile:frameTileProvider:",
"address": "0x21f48",
"id": "ev_ba3670b107c6dada655a532b48c37361b2ae991213371d52da07726adf4690f2"
},
{
"function": "convertObjectPoint:",
"address": "0x2210c",
"id": "ev_9e2477f9968ff8ab78266d282ce8896beef8e367cfde8a38af477086be490051"
},
{
"function": "FTTrackerMaskRenderer::renderMaskForShape:context:",
"address": "0x24174",
"id": "ev_867260f7f663b026d9afd50ec3a8647dde8c65da92deb2b8afc3b68d611e3597",
"assemblyID": "ev_d7eca7d639622ce1ffb8a1538d79d6a81e6d1046006d17ab0b9802a81783a976"
},
{
"function": "generateMaskImageForScene:nodeVersion:outputFrameTile:frameTileProvider:",
"address": "0x222c4",
"id": "ev_4b8e97801dff973b1600553e98e6bfec6387abac9c1af311c8d45b7ac4aa53bd"
},
{
"function": "generateMaskImageForNode:nodeVersion:outputFrameTile:frameTileProvider:opacity:",
"address": "0x225cc",
"id": "ev_06724fe96e5921b1673be1d8b4a905532e803bc1a0c111ad09a6190f264879fb"
},
{
"function": "FTTrackerRect::bounds",
"address": "0x74d7c",
"id": "ev_2f4d290ec9808ca72540183816a91b9c8bcdc45588cc7dc5bf169f3cf91462d6"
},
{
"function": "FTTrackerRect::boundingPointsForExtent:",
"address": "0x74de0",
"id": "ev_a4a49f91fe80c8a6061b8992a987bdf72648818408a67249590176feca80eec4"
},
{
"source": "Installed Apple SDK CGAffineTransform.h:99-103",
"fact": "Rotate angle is radians; matrix [cos(angle) sin(angle) -sin(angle) cos(angle) 0 0]."
}
],
"notUsed": "No fitting of the observed trajectory was used to infer signs, units, size or add/multiply semantics.",
"unknowns": [
"Grouped masks may add group transforms; this QA rectangle is ungrouped.",
"No new runtime probe for mirrored/rotated metadata, non-square pixels or nonzero frame origins.",
"No claim that arbitrary between-key interpolation is simple linear; comparison output uses exact keyed times."
],
"originalAppLaunched": false,
"projectFilesChanged": false,
"preferencesOrDatabaseChanged": false
}
@@ -0,0 +1,123 @@
# Color Finale 工作区与区域跟踪证据(2026-11-05)
## 身份、边界和证据保留
本机 `/Applications/ColorFinale.app` 为2.16.2(625),主插件 `Contents/PlugIns/ColorFinale.pluginkit/Contents/MacOS/ColorFinale` 完整SHA-256为 `49121a6f5487060d322a59e7658166ab772e8a56f7dc1bcfa9d433a89436b30f`。2026-11-05重新核验,原文件只读。Ghidra12.1.4/arm64的分析profile为 `c991deeff48f794414bcbf9d15409d809db80062959eb2c963195db4cd97614a`,复用11月1日snapshot并补充本轮查询。静态调用链是发行产物观察,不是原版运行时逐项验收;用户提供的截图仅支持其中可见结构。
完整证据与反编译中间产物仅存本机 `/Users/mac/Library/Caches/CodexBuilds/ColorResearch/workspace-20261105/`;仓库仅保留事实、接口、实施合同和证据ID,不复制商用二进制、图标、nib或反编译实现。
## 工作区逻辑链
1. 顶栏工具动作 `addLayerWithType:`(`0x1000769cc`,`ev_9e1abf39aeee8571405645352af5b24cc00d4c08a4920a7b638266fee983960b`)创建对应工具节点,统一进入 `insertLayer:`。
2. `insertLayer:`(`0x100076bac`,`ev_7e4a2dd8c5ccc4fe7cfd6a5c7f3589c1f68a2f2f54e6e06ef1a8e750058a018c`)读取第一项选择:无选择则根索引0;普通层则当前索引;组选中则组内0。在一个命名Undo组中插入。
3. 插入block(`0x100076dd4`,`ev_aa0e9a9146fcb8527d086b91a39c51bf8fbe7a5c180686d5bcd2cdda16c69f17`)执行beginUpdates、必要展开组、insertLayer、选择新层、endUpdates、storeAdjustments,再更新右区和键盘焦点。
4. `setActiveViewControllerForLayer:`(`0x100077758`,`ev_a0d38bcebc4979e7a77baa47c173fcaa6aae4640992709a18bbd8ea7db048613`)先检查当前层蒙版是否selected且enabled:满足则切蒙版控制器并updateScene;否则按工具类型切曲线、色轮、HSL、LUT等控制器,再setNode到当前真实对象。
5. `setActiveViewController:`(`0x100077a98`,`ev_eacade9dcaa7e283df2af98aa0dc6ab2ec69cb48b6cad8c6fd84a4d35bc065df`)卸载旧控制器并清空其node,再把新控制器view放入同一viewHost。不是叠加多份浮动参数窗。
6. `storeAdjustments`(`0x1000760f0`,`ev_2a855e029cca778e55e861367fffd6cb9adf4d7e52914841ffc3beb51285fae7`)从layersViewModel.rootNode取得实际文档,经apiManager.performActions提交。检查器、工作区和渲染不应各建一份作者数据。
官方[图层工作区文档](https://docs.colorfinale.com/docs/layers/)同时确认:可调大小浮窗、横排工具、点击新增独立图层、左列选层、右区编辑、图层眼睛和右键菜单、底部强度/混合/蒙版/删除。原版文档所称默认新层在顶部与上面的无选择/当前选择/组内插入分支相容。文档描述不是本机运行验证。
## 蒙版编辑与共享对象
`addLayerMask:`(`0x1000f0c30`,`ev_cada231cd5850104fb9806190f532f919e4d82e2c2026a771d5cdf010b81594a`)对选择层中无蒙版者建立FTFxNodeMask,已有者保留;统一作者更新。`maskSelectionDidChange:`及block(`0x100078480/0x100078514`,`ev_a42abc5cdccfdba24fa750e3b2ceb178d949b89445c985c314cb1e7b382a31e1`、`ev_c4bbaccfaa18337b20e24cf38373237af45fc5817c199f0b6507ff3c9d8f6237`)经宿主action保存并切右区。
`FTMaskDetailViewController::updateControls`(`0x100015a98`,`ev_030904608107bf6f0220345798ac4adfbf2fa726ae0387dfc6ca1851fde04c0f`)按真实蒙版类型选择形状、图像、HSL、人物、FCP子控制器,解绑非当前节点。仅可动画形状展示跟踪区;自动跟踪时关闭冲突属性与关键帧操作。属性编辑包含羽化、强度、位置、缩放、旋转,另有反转与组合模式。
官方[蒙版文档](https://docs.colorfinale.com/docs/masks/masks/)确认在工作区右区替换调色控件,画布叠加小工具栏;面板加号与画布直接绘制为两个入口;同层可有多个形状,支持Add/Subtract/Intersect。官方[跟踪文档](https://docs.colorfinale.com/docs/masks/tracking/)确认前后区域跟踪与关键帧操作;[显示模式](https://docs.colorfinale.com/docs/masks/fourmaskdisplaymode/)描述结果、输入、输入叠蒙版与黑白合成;[形状编组](https://docs.colorfinale.com/docs/masks/grouping-mask-shapes/)描述多选组变换。
本轮用户进一步要求“画布左侧常驻蒙版工具”“先画/先选模块”“同一蒙版关联多个模块并共享形状和轨迹”。这是大鱼的新需求;当前证据不能直接声称Color Finale提供完全相同的跨任意模块共享引用操作。实施合同应是文档scene中唯一maskID对象+模块maskRef,而非复制mask字典;一次修改应影响全部引用,删除某模块仅移除引用,孤立对象清理需保留可独立选择的已画蒙版。形状、轨迹和手工关键帧都属于该共享对象;当前模块选择、右区页签、布局和画布显示属于界面状态。
## 窗口边界
`FTRemoteColorCorrectionWindowController::initWithMinSize:maxSize:containerViewController:`(`0x10010aa0c`,`ev_df055fd889e786ea4e4cdca060207f8ffbe73be5445d5e1f198b9ba6fa9e447e`)建立不透明white约0.122的FxRemoteWindow及contentViewController。`showPanelForPlugin:`(`0x10010af60`,`ev_df9a209ebfdd992dcab10802f1535537ab2992b57ac83a960e49e1977045a6f1`)绑定当前plugin,必要时关闭重开以更新尺寸,否则激活已有窗。`updateWindowSize` block(`0x10010a7b0`,`ev_1afe52ae28a67dc775a4f5f5164aeb351790ae4eded25783b840335240072b44`)读取三档layersPanelSize并设min/max约1/1.25/1.5倍率。
现有证据支持自由调整的独立浮窗。没有证据证明第三方FxPlug可以嵌入FCP检视器内部;“检视器下方窄条、不挡画面”应作为本产品默认摆放/尺寸目标,通过公开FxRemoteWindow API与实际宿主验证实现,不能声称已原生停靠FCP。
## 可复现的开放算法配置
本机原版opencv2.framework Info.plist为4.5.1。该框架只读核对版本,不复制、不链接;大鱼可由官方OpenCV4.5.1源码独立构建。官方tag peeled commit:`1363496c1106606684d40447f5d1149b2c66a9f8`(tag object `3e80752d72a4b78820a732087217668e67701981`)。
核心观察来自 `FTAreaTracker::track:trackerState:`(`0x100035e40`,`ev_dcd7aa770925f63c8c14c968ae6b417fda78685c7be7fa739a78209957d40e2d`),逐帧来自`trackFrame:inScene:`(`0x100036cbc`,`ev_e798c4e6e032e085812f81831ecc16196bd3c2278bf634961379669ee1308f7e`),分析入口`effectAnalysis:analyzeFrame:session:error:`(`0x10005b47c`,`ev_1dd68409d431d9e81875b6032a81dd89f7f237ea5501d3db1d7ca92ba32e6323`)。
| 阶段 | 可独立重建的调用合同 |
| --- | --- |
| 完整帧 | 宿主tiles收齐完整帧;IOSurface转换,分析最大3840×2160;转8bit灰度。原版调用cvtColor代码11,按OpenCV颜色枚举对应RGBA2GRAY;需匹配实际源通道序,不能对BGRA盲用 |
| 形状区域 | 形状像素顶点转int,convexHull(clockwise=false,returnPoints=true),fillPoly(mask8UC1,255,LINE_AA,shift0) |
| 特征重选 | 全局分析计数<2或偶数帧;goodFeaturesToTrack(max300,q.03,minDistance10,blockSize3,Harris=false,k.04) |
| 亚像素 | cornerSubPix(winSize10×10,zeroZone(-1,-1),COUNT|EPS,20,.03) |
| 光流 | 相邻灰度帧前后calcOpticalFlowPyrLK,21×21,maxLevel3,COUNT|EPS30/.01,flags0,minEigThreshold1e-4 |
| 筛点 | 成功status并FB欧氏距离严格<1像素;有效点不足4失败;位移≥max(w,h)×.01的点若严格超过当前有效点半数,使用该子集 |
| 仿射 | 前后点先减当前形状中心;estimateAffine2D(RANSAC=8,reprojection3,maxIters2000,confidence.99,refine10) |
| 作者输出 | sx=hypot(a,c),theta=atan2(c,a),sy=det/sx;每步围绕旧中心更新形状,center加拟合平移,theta累加,sx/sy逐步相乘;输出position按分析w/h归一化、rotation、scaleXY,并用effectTime持久化 |
公开API参考:[特征与亚像素](https://docs.opencv.org/4.5.1/dd/d1a/group__imgproc__feature.html)、[金字塔LK](https://docs.opencv.org/4.5.1/dc/d6b/group__video__track.html)、[仿射RANSAC](https://docs.opencv.org/4.5.1/d9/d0c/group__calib3d.html)。本表是参数/行为合同,不包含原版实现源码。
原报告“空仿射矩阵必失败”需修正:当前反编译中empty分支只跳过变换,而后仍可返回1,未独立汇编/运行复核,不能把该静默成功视为正确行为。大鱼应明确在空fit、非法数值、反射、离画及置信不足时停止并保留可信段;该保护差异必须记录。
## 迁移与验证缺口
需要从旧自研特征/LK/RANSAC切到独立编译的OpenCV管线,不能只把阈值改成相同数字;300点与21窗口本身不建立算法等价。必须补齐灰度系数/8位量化、分析分辨率、凸包区域、周期重选、运动主体筛选、中心化拟合与逐步QR作者输出。既有宿主冻结目标、精确CMTime、一次撤销、手工键保留、取消可信段、旧实例隔离继续沿用。
同视频同路径同范围的原版/大鱼完整轨迹尚未运行对照;图像通道/色彩空间、OpenCV编译优化、分块帧调度与数值细节可能影响结果。静态重建、合成运动检查及正式宿主测试应各自报告,不得宣称逐帧或逐像素完全等价。
## 本轮独立实现结果
`dy::OpenCVTracker`现使用独立编译的官方4.5.1库,12项已知运动检查通过(`verification/TrackingOpenCV-20261105.json`):300点、旋转及双轴缩放、框外路径12帧亚像素、周期重选静止、换景、平坦区、运动多数子集、实例隔离、坏帧几何保留、非有限输入及完整4K。中心误差约0.0033px(旋转/缩放)、0.0148px(12帧路径)、0.00011px(4K平移);这些是生成素材结果,不是实拍或原版轨迹对照。只依赖系统zlib/Accelerate/libc++/System,插件运行不需要研究目标或另一APP。宿主接入、共享mask作者同步、正式版本实际跟踪仍由主任务验收。
## 宿主分析预处理补查
2026-11-05追加只读复核,原版三个目标文件SHA保持不变;新增证据均在前述研究缓存的`preprocessing-*-evidence.json`和相应snapshot。GradeKit完整SHA为`e868a8c6df64bf03b7c24af5657c5ac7a2259a1943dfe06e01dbb7881df018a3`,RenderingEngine为`32dca93459347e5ad363cb145d0ccf84b933b2045eee2c9535676a01744b84e3`。
原版`ColorFinalePlugIn::properties:error:`(`0x1000becfc`,`ev_1fdabe00a34ba3c60c1cd544b314a75511f21bfb7e450d3980c7d6a0980e88ee`)返回常量字典。直接读取键和值表,`DesiredProcessingColorInfo`对应NSNumber的整数**2**(`ev_13298ab75f991c7f21dc02b00a61b6b2f7b62c6a5e8c7ffd47a02569c49f2dc1`、`ev_4f886e67dd650bc33b4132e6a46e22baecabcd931e35bb2283ac2f186dd02590`、`ev_46bdde28003eb68ebdb1bfbd992d6eec44a8b5bc3ade2b993aad26ed5401e422`)。本机FxTypes.h545–546核对:0是RGB_LINEAR,2是RGB_GAMMA_VIDEO,SDK注明视频gamma2.2。该请求是否被宿主实际满足仍须核对输入元数据与样本,不能把“请求”描述成所有宿主的无条件事实。
分析入口将`session.colorSpace`和`effectTime`传给`FTFrameTile::frameTileWithImageTile:colorSpace:time:`(GradeKit `0xf890`,`ev_3faba8c4ae9d636bf447ed8eddb17124b49426d25fec7f262c82c93c0c1ab95f`)。它从原宿主IOSurface建立MTLtexture,另建带colorspace标签的CIImage,并保留原texture。跟踪请求`createIOSurfaceWithPixelFormat:maxSize:`(GradeKit `0x12020`,`ev_f9b1157f3f16bec67e2570a8b1e9e8ca367a26fd831c8e924a7dbcb3d434ca08`)优先使用该texture,而非CIImage。
RenderingEngine的`createIOSurfaceFromTexture:pixelFormat:maxSize:`(`0x2a420`,`ev_f37cd808dbf1b11c30f25ae22f67d022dbde5e072e3326b1bc8abcf138c2add5`)按纹理width/height同比缩小,目标RGBA8Unorm(70)。同尺寸同格式可直接返回IOSurface;否则block(`0x2a5b0`,`ev_7466d368af6a009a4f28814ba01d601931d3b3cccb6a295e5bd55ca22ea6d1ee`)只执行**MPSImageLanczosScale**并同步目标纹理,没有显式gamma、ICC、除alpha或pixelAspect拉伸。CI fallback的`colorSpaceForImage:`(`0x29a78`,`ev_39b020d8dd4f7dfa909daf0d20302ddf15269d4573f922acf2626ef7368e0487`)明确返回nil,不能据此把fallback当成自动sRGB转换。
最后核对`+[MTLTextureDescriptor(FTAdditions) ftDescriptorWithIOSurface:usage:]`(RenderingEngine `0x327c4`,`ev_e16998f018851a67426e6422c9e1d12ad5c069274886e710916e639d900be02d`):BGRA→80/BGRA8Unorm,RGBA→70/RGBA8Unorm,RGhA→115/RGBA16Float,RGfA→125/RGBA32Float,均非`_sRGB`格式;没有隐藏在纹理格式中的sRGB采样解码。该事实与宿主请求gamma2.2一起解释其直接缩放和量化行为。
因此不能仅看“原版复制texture不加gamma”就移除大鱼的编码:两产品当前宿主颜色请求不同。最接近已观察合同的分析专用流程是:大鱼linear源→匹配视频gamma2.2的浮点编码纹理→Lanczos缩至最大3840×2160并写RGBA8Unorm→OpenCV整数灰度;普通sRGB分段编码与gamma2.2不等同。先灰度再量化、先量化linear再加gamma、盒式低通缩小都会产生可测差异。对于预乘alpha,原版MPS处理原通道并且gray不再除alpha;若大鱼输入为linear预乘,要模拟宿主gamma请求需先按透明度语义编码并重新预乘,再缩小和量化。真实宿主的颜色请求满足情况、alpha和非方形像素仍应分别验证,不把该生产接入建议作为已完成原版像素对照。
## 原版轨迹的只读导出与比较
保存预设动作明确把`adjustments`及`trackerScene`交给预设管理器(`0x10007870c`,`ev_4568bc43f27bc4fb953e837112e86117d24b300422b0e447920baa582e3e9c1c`)。旧式“导出预设”将每个版本的scene安全归档、zlib压缩为`versions[].masks`,并保存解压归档的base64 SHA-256为`masks_hash`(`0x10000a954`,`ev_1380fa47e7316a68abb78d03436a18b03ea01497592c5c648fc9ee163383e9f6`)。保存面板限定property-list,默认`<identifier>.plist`(`0x1000401a8`,`ev_ab4b0981c4f5bcda698c320d99e85e2ea6d3a10611f0f7217803c6d19bdbb8bb`)。
可操作步骤:在独立QA工程按同一素材、同一时间范围、同一形状进行CF分析;完成后在工作区保存一个新的测试预设(底部菜单的保存预设入口);顶栏打开LUT/预设浏览器,进入Presets并选择该新预设;右键菜单若显示“导出预设 / Export Preset”,填写名称和唯一identifier后保存`.plist`。不要选“导出LUT”,Cube不含空间轨迹。
**本机版本的UI限制必须保留:**`menuNeedsUpdate:`(`0x1000406d8`,`ev_f60df616ccf1a15265170f8aa8c032e41921aae990a67e3805ebb87a24a957c3`)仅在`NSUserDefaults`布尔项`FTPresetsViewControllerEEDK`开启时添加该旧式plist导出菜单。公开“Export as Look (.cflook)… ”只把activeVersion.fxAdjustments传入FTLook,未把trackerScene传入(`0x10003dbb4`,`ev_92e9387d55a56a0ae47fd15746d213dcf1fe2c52707f4d63747afa27b397dfc4`),不能当作已证明的轨迹出口。不要声称普通右键始终能看到plist导出。若需要临时启用该原生菜单,先核对实际进程defaults域、记录原值,并在导出后恢复;这次只读研究没有更改该偏好或原版数据。
本机原生数据存在`~/Library/Application Support/ColorFinale/DataStorage.db`,只读SQLite schema可见`ft_objects`及`ft_objectversions.content`等;当前该库未取到可验证的内容记录。旧`PresetStore.xcdata`是另一代CoreData schema,不能擅自当成本版最新轨迹库。若走数据库对照,应只读连接并backup到一致快照、明确选择本轮唯一测试预设、保留WAL一致性;尚未验证blob封装,不给出猜测解码或直接编辑生产库的方案。
`tools/tracking/read_colorfinale_preset.py`使用Python标准库`plistlib/zlib/struct`解析导出的plist或raw masks archive,绝不加载或实例化CF类。输出按真实标识和有理时间排列的position/rotation/scale轨迹,验证`masks_hash`;坐标原点保持原作者值,不擅自翻转。原生编码字段已观察:
| 对象 | coding keys / 数据 |
| --- | --- |
| FTTrackerScene | identifier、nodes、aspectRatio、duration |
| FTTrackerNode | identifier、name、enabled、inverted、blendMode |
| FTTrackerShape | position、rotation、scale,以及opacity、feather、borderColor |
| FTAnimatedParameter | type、value、keyFrames |
| FTKeyFrame新版 | data,72字节;0:uint32版本1,8:uint64类型,16:int64时间值,24:int32 timescale,32:int64 epoch,40:uint64向量维数,48/56/64:double X/Y/Z |
字段证据:`ev_b91139dc6d6123d6b949555f5e25059f26a2b9b3deac92f49010b6d819219eef`(形状)、`ev_e3a6b0c53238e5a4ea8cdc1b3df70d3fd48c0ff7fbfbc0448ccdabb9cbf50b70`(scene)、`ev_f61f19c55bb089aa86668ace5ed0be32fb9ab34fb98e55d4d6d31bcf4b5208d9`(动画属性)、`ev_1b938e7df2989293beab1198e28439946d3e50178fc61447682ced4367c09862`及`ev_3ceed133be177301388c33727d65297a5e9ec0e0f403e2ff839acb87025eb1f3`(72字节写入和读取)。CIVector的CICount/CI_0/CI_1字段另以系统CoreImage自行归档作oracle,未执行原程序。
示例:`python3 tools/tracking/read_colorfinale_preset.py <本轮导出.plist> --output <缓存目录>/colorfinale-tracks.json`。`--self-test`的有理时间、CIVector及压缩UID图形样本通过;尚无真实CF导出fixture,不能把合成解析检查说成原版真实轨迹提取完成。旧式FTKeyFrame的未知time编码会明确拒绝,不伪造时间;真实fixture到位后再扩展解析。对照应逐CMTime比较中心/角度/双轴尺寸、报告首次失跟和最大/均方误差,并检查实际视频覆盖,不能只看“有效帧数量”就宣布一致。
### 锁屏期间补充核对:原生预设存储流
再次只读核对插件`FTPresetManager::addPresetWithName:inCollection:adjustments:trackerScene:colorSpace:`(`0x1000d2974`,`ev_cf5f63f77213366661f7770b48031a2a408a23d27fed7bc0c26a3dec7e52370f`)确认创建版本后分别保存调整、trackerScene、激活状态和色彩空间。`FTPresetVersion::setTrackerScene:`(`0x100009470`,`ev_8c52ad58d9eee30f4040ba5bd04f66e9784a0e07887a63d0e1efb5170baac191`)先用安全NSKeyedArchiver生成原始NSData,再交给ColorFinaleUtils的SetVersionMasks;getter经GetVersionMasks取回原字节并按FTTrackerScene安全解档(`0x100009260`,`ev_e4de0293c00479ef634f5a15e491b1d0cff8c6d2ba086d16f3da5ce1a11a2cdd`)。没有在这一层丢弃关键帧。
本机`ColorFinaleUtils.framework/Versions/A/ColorFinaleUtils` SHA-256为`424d75515f5c40ffbc37591b04b1bcfc7dda018fb32ea1c431ce87219c481c0d`。原版存储流事实如下,均为该framework地址,不能与插件0x100…地址混用:
| 格式 | 写入/读取证据 |
| --- | --- |
| 可变长无符号整数 | `0x6fd5c`/`0x6fcb8`,`ev_ef345a0d17afe0f011b22401b28c06ed90a89b779ded3103253364e598c4ddfb`/`ev_75db010e3a62d6f2e71cc1c8f39486879243638dab3f4cd7c8b6a769c3311bab`;首字节非零时尾随零位数决定额外字节,整体小端右移位数+1;首字节0时接完整uint64 |
| 字符串/字节串 | `0x70004`,`ev_c92aff8f30908dc8daf6589ea4252b0cc5e69ed4f08ac979c404b7beeeb42d0c`;可变长度后跟原字节 |
| 集合format1 | `0x3ed1c`,`ev_35d1fb01a635f397c3c7f1415a7fbdf88112a36b47a3041e03761f05f8c4629a`;名称、标识、1字节flags、预设数量及各预设 |
| 预设format2 | `0x3eab4`,`ev_a1703c322bc7fc22bf1e524eebdcb021a5468b464f957821337718d02c9fad7b`;名称、标识、字符串标签集合、版本数量及各版本 |
| 版本format5 | `0x3e82c`,`ev_a4aee0bb1e4e7268d97386ff0f6d1dd9e7371f38dee66bf0cd6d3db09cbd23d0`;名称、标识、色彩空间、激活状态、stack和masks两段StorageData |
| StorageData | `0x3e1ec`/`0x3e23c`/`0x3dec0`,`ev_d853760a9d885bbd27a559d561bbeff3470dca869e9a7839d3b9b8a323be0627`/`ev_fed75926e2fb9aa146dd66df51dab312cd7a12ba2a61574388cb8eadc60dac14`/`ev_f01a583cdd8390e399adfa8810232fc3a42a642ee0d4af1fa8ef007a2a3973a3`;不存在,或present+inline后接长度/原字节,或present+非inline后接32字节SHA引用 |
| 保存请求 | SetVersionMasks`0x43c08`、CreateSaveRequest`0x3f3b8`,`ev_ed43bd1eb59fdcf5d5f98e5f506edb70edd98490a50753ee75495cd06dc66653`/`ev_58c5e0a390fa33519bbfaa4daffb508f3650e6a33d661498cfdb6a56f47ca6f3`;对集合/预设/版本标识定位,更新masks后创建含内联数据的版本保存流 |
`tools/tracking/read_colorfinale_collection.py`据此解析**明确提取的原生集合payload**,接入已有只按数据解档的轨迹解析器;支持内联masks,拒绝未知版本、截断、尾随字节、外部masks哈希引用及过量展开。9个固定整数边界向量及生成的1/2/5样本、错误输入检查通过。它不扫描猜测文件头,不调用CF类,不读写原版数据库;UI最终导出文件的外层封装尚未取得真实样本,不能直接宣称某扩展名文件已支持。数据库仍观察到0个object/version,必须在解锁后实际生成QA轨迹及预设才能验证整条原版导出链路。
新增原始Evidence只保留在本机研究缓存`preset-storage-plugin-continued-evidence.json`和`preset-storage-utils-continued-evidence.json`;仓库仅记录格式事实与证据索引。本次没有修改原版偏好、数据库或执行原版二进制,也没有把生成样本算作原版真实数据。
+21
查看文件
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2026 Dayu
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+15
查看文件
@@ -0,0 +1,15 @@
# Final Cut Pro 保存告警排查
用户截图显示 Final Cut Pro 检测到阻止更改保存的错误。当前线索包括弹窗文字。触发操作、软件版本、素材库卷和宿主日志待反馈。
| 排查方向 | 可用于区分的证据 |
| --- | --- |
| 素材库所在卷无法写入 | 记录实际素材库位置、剩余空间、磁盘格式、写权限和当时的断连情况。宿主日志中的空间不足、只读、权限或 I/O 错误可缩小范围。外置卷使用 APFS 是 Apple 的建议。 |
| 单个素材库或工程异常 | 保留原素材库与自动备份,在内置 APFS 的新测试库里复制或重建同一小段,比较同一操作是否只在原库触发。若原库连普通剪辑也无法保存,优先检查素材库与其备份。 |
| 插件参数写入触发 | 在本机测试库对同一段片分别做普通剪辑、大鱼调色参数修改、撤销、关闭和重开。若只有特定插件操作触发,记录操作、时间与版本,核对 FxPlug 的参数写入拒绝或序列化错误。 |
大鱼调色通过 FxPlug 的自定义参数接口保存图层、蒙版和跟踪数据,素材库由 Final Cut Pro 写入。共享蒙版和跟踪的文档写入会先校验结构、数值和大小。此次在独立图层提交处增加本机日志 `dayu_tool_save_rejected`,只记录被拒绝的参数类别,并确保宿主动作能收尾。该日志与 Final Cut Pro 的素材库保存结果分别核对。
本机独立验收库位于内置 APFS。初查本机 30 分钟日志未发现匹配的素材库保存错误。第三方反馈的具体根因仍待复现或日志确认。
如反馈者已经遇到提示,先按提示正常退出,保留原素材库和自动备份,再用独立测试库复现。Final Cut Pro 的自动备份主要保存数据库,恢复时还需要原媒体。[Apple 的项目保存与备份说明](https://support.apple.com/en-nz/guide/final-cut-pro/ver79aa3d71/mac) · [外置存储格式说明](https://support.apple.com/en-us/102116)
+25
查看文件
@@ -0,0 +1,25 @@
# 1.7.1:带文字行的 Cube 容错
基线为 `5c547100c1a15feb7a1a9a67c98f2ac44056583a`,正式版 1.7.0(45)。用户提供的 `tlfs.cube` 为 UTF-8、65³;两行保留 R 数值,G/B 位置被文字替换。原解析器报第 1899 行无效,编码识别本身没有失败。
## 苹果行为依据
本机 Final Cut Pro 12.4(454072)的 ProCore 中,`cc::lut_t::readCUBE` 逐行调用 `_readrow`,后者连续调用 `qdcstr2float`;遇到文字不会继续寻找其中的数字,读不到的通道输出 0,每行仍推进三个表格位置。只读分析使用 REA/Ghidra,临时提取 arm64 切片,未修改 Apple APP。
通过已签名原始框架的实际行读取函数,对用户原文件全部 274625 行进行受控重放:两处结果分别为 `(559,0,0)`、`(45643,0,0)`(16 位);本产品保留原有浮点精度,对应 `(0.00854505,0,0)`、`(0.696468,0,0)`。全表差异不超过一个 16 位量化单位。摘要、版本、源文件与框架摘要见 `verification/LUTNoteAppleReference.json`。这证明本文件的数据读取规则,不代表与 FCP 的完整色彩管理、插值和最终画面逐像素相同。
## 独立实现及边界
- 数值与尾部文字必须以空白分开,至少存在一个有效前导数值;文字必须是有效 UTF-8 且以字母/汉字起始。已有 UTF-16/32 先按原机制归一化。
- 保留已读取通道,文字起始后的未读取通道补 0;读满 RGB 后允许同样的文字尾注。不扫描尾注中的数字,不删除行、不插值、不重排。
- 缺少数据行、纯文字行、没有尾注的残缺 RGB、NaN/Inf、四个数值、数值粘连文字、损坏字节、无效尺寸与 DOMAIN 继续拒绝。兼容范围有意小于苹果读取器的所有宽松行为。
- 标准 LUT 仍使用既有浮点精度、DOMAIN 与缓存/异步/取消机制;产品不加载 Apple 私有框架,也不携带 Apple 代码。
- 原文件及导入副本逐字节保留。用户 LUT 和仅供验证的完整数值副本不进入源码、安装包或远端。
## 验证入口
独立 `tools/verify_lut_annotations.mm` 覆盖 UTF-8/16/32、三种换行、补零与后续行位置、尾注数字、数值基准、缩略图、原字节导入及拒绝边界;既有库/编码回归同步运行。编译方法与现有原生检查一致:使用 `clang++ -std=c++17 -fblocks` 链接 `DYLUTLibrary.mm`、AppKit 与 zlib。
正式插件 `--self-test` 新增合成 Cube 与完整数值基准的 GPU 对照。可通过 `DY_DIAGNOSTIC_LUT_FILE` 和 `DY_DIAGNOSTIC_LUT_ORACLE` 追加只读用户文件检查,导入到本次自检的独立临时库,比较全表、缩略图、GPU 结果及源/导入字节;自检结束清理。不要把这些路径写入公测上传数据。
最终安装、公证、宿主、打包和 Release 状态以本轮交付记录为准。
已加载 100/362 个文件。由于本次变更涉及的文件过多,其余文件未显示。 显示更多