比较提交
230
次代码提交
| 作者 | SHA1 | 提交日期 | |
|---|---|---|---|
|
|
5252296b7b | ||
|
|
db6b2b05b3 | ||
|
|
a7508203d1 | ||
|
|
38afc087d5 | ||
|
|
46153a26ed | ||
|
|
1659f3d385 | ||
|
|
dff9134be7 | ||
|
|
1f1b7917e7 | ||
|
|
4fb008e100 | ||
|
|
07601e50bf | ||
|
|
9977b5c41b | ||
|
|
ca8a5433d3 | ||
|
|
213d01dbd8 | ||
|
|
0782b5e654 | ||
|
|
504e08e425 | ||
|
|
bbb258e495 | ||
|
|
9f0adbeb3b | ||
|
|
43320c7ccd | ||
|
|
54ca7150f8 | ||
|
|
65e4c02bd0 | ||
|
|
fb21dabc08 | ||
|
|
e241f2a3e5 | ||
|
|
c9bd52fff5 | ||
|
|
585c83c8a1 | ||
|
|
91b66eb2d8 | ||
|
|
ee14dd9185 | ||
|
|
b77226b7e6 | ||
|
|
b72e6b3172 | ||
|
|
4ba65f1bde | ||
|
|
beccf2fc01 | ||
|
|
16b20af39a | ||
|
|
8bbd386abb | ||
|
|
df6bf52f32 | ||
|
|
8ac7ca43da | ||
|
|
dad77aff77 | ||
|
|
b60ae3e45b | ||
|
|
331e3ff315 | ||
|
|
b8a003970a | ||
|
|
411900b928 | ||
|
|
0ef847f6bb | ||
|
|
ded1f22be8 | ||
|
|
1396d5b7bf | ||
|
|
57059390d1 | ||
|
|
38e11aa103 | ||
|
|
bf25c6c9c1 | ||
|
|
bc974bc394 | ||
|
|
a6910ebff4 | ||
|
|
606544820f | ||
|
|
2d162a8fc5 | ||
|
|
226b7e1e93 | ||
|
|
a9cf2eda29 | ||
|
|
a0a97dfd88 | ||
|
|
9ba6eeb00a | ||
|
|
385fb47f14 | ||
|
|
ca352248c1 | ||
|
|
78e53b3889 | ||
|
|
b33b9634e2 | ||
|
|
1144a89214 | ||
|
|
5f8fb13fce | ||
|
|
4f7450bfec | ||
|
|
d2875fe86c | ||
|
|
1835ecc2a2 | ||
|
|
fdfcbd8ba9 | ||
|
|
49d35cb49a | ||
|
|
2711e0016e | ||
|
|
1c3e294ce9 | ||
|
|
a3bd2ceb26 | ||
|
|
e2aa0bd9a1 | ||
|
|
5224e404f5 | ||
|
|
302b75710b | ||
|
|
c0e6f3be0a | ||
|
|
10a14a8c62 | ||
|
|
6dd29caa3d | ||
|
|
d7d33fd8c6 | ||
|
|
ade118e284 | ||
|
|
201152d3e0 | ||
|
|
cccc51ff7a | ||
|
|
80dec904be | ||
|
|
b216cebc70 | ||
|
|
5cf4ba75b3 | ||
|
|
fe8b298c33 | ||
|
|
031c704f0f | ||
|
|
0dfb838b39 | ||
|
|
7f2cef5c58 | ||
|
|
92a90e6b33 | ||
|
|
30d413dc42 | ||
|
|
0597c8f4dd | ||
|
|
0ab448d04f | ||
|
|
cc037340bf | ||
|
|
61248ab9f5 | ||
|
|
ac9180e47c | ||
|
|
def8c2f638 | ||
|
|
642817e782 | ||
|
|
d39004c26a | ||
|
|
ebb67af1bc | ||
|
|
b0ef44b496 | ||
|
|
07a3f7bd4d | ||
|
|
c6d40d2f4d | ||
|
|
39676664f7 | ||
|
|
09e04ca647 | ||
|
|
77856a1334 | ||
|
|
6ea931a991 | ||
|
|
ab63b25f88 | ||
|
|
fe7ddbd6f8 | ||
|
|
8c62e4b5bd | ||
|
|
55b66a358c | ||
|
|
2ba0a415ae | ||
|
|
998a983884 | ||
|
|
8e00968bf0 | ||
|
|
0328399f52 | ||
|
|
a06a3a3914 | ||
|
|
c55f3343ea | ||
|
|
3fd0152240 | ||
|
|
94151cad7d | ||
|
|
335ef7a5ee | ||
|
|
386e6d228b | ||
|
|
bea51d2297 | ||
|
|
3373a5365e | ||
|
|
fa82014266 | ||
|
|
504e6d98e3 | ||
|
|
f4bacfbd75 | ||
|
|
6031b3bafb | ||
|
|
b2922811f9 | ||
|
|
da03d16c7e | ||
|
|
64ebd20d54 | ||
|
|
870f0064c2 | ||
|
|
1eacf595fc | ||
|
|
4d88c93b93 | ||
|
|
12fdde332f | ||
|
|
d0eadccc29 | ||
|
|
0d286c3924 | ||
|
|
24520e7848 | ||
|
|
0592458580 | ||
|
|
072bf881b9 | ||
|
|
d5aba63b4e | ||
|
|
0b1b4454b4 | ||
|
|
2cf93fafe5 | ||
|
|
aa9a8d24f2 | ||
|
|
a5a2bddeb3 | ||
|
|
11a8851828 | ||
|
|
8bd2ba91fa | ||
|
|
9f5c9a1237 | ||
|
|
54e68b4810 | ||
|
|
bb5ede7be4 | ||
|
|
70a50ab445 | ||
|
|
5b8ef04f7e | ||
|
|
a1e49e2eb5 | ||
|
|
d0b4e9d2ba | ||
|
|
468d530bf0 | ||
|
|
06a00371df | ||
|
|
c18a0890ed | ||
|
|
72a0269fe7 | ||
|
|
85ec27d49f | ||
|
|
5212187cc8 | ||
|
|
48b3e2d033 | ||
|
|
4d2a71d9e2 | ||
|
|
f2038f12eb | ||
|
|
2688b22f99 | ||
|
|
3ba2c0b823 | ||
|
|
2360ec5c91 | ||
|
|
67beeda7e1 | ||
|
|
7720d9a042 | ||
|
|
f9dea76a45 | ||
|
|
e62d5532f2 | ||
|
|
5f25034506 | ||
|
|
04d74e1dd2 | ||
|
|
14cca24de6 | ||
|
|
58a17de438 | ||
|
|
5c547100c1 | ||
|
|
ff6f64df21 | ||
|
|
64035c739c | ||
|
|
f0f0eaf54a | ||
|
|
46aa458691 | ||
|
|
fcda64deb3 | ||
|
|
b5d842835c | ||
|
|
c95559936a | ||
|
|
e37330a4b5 | ||
|
|
a0f37578f7 | ||
|
|
30c8904003 | ||
|
|
55acdaa4b1 | ||
|
|
15d644c7e7 | ||
|
|
f453508be6 | ||
|
|
29bb7cdae4 | ||
|
|
c587163354 | ||
|
|
5d9a4ad707 | ||
|
|
7113e49fbb | ||
|
|
90d6022520 | ||
|
|
c664991aa1 | ||
|
|
0743c75a45 | ||
|
|
7bb14ea8da | ||
|
|
4e77cebd5e | ||
|
|
fd25de68fe | ||
|
|
46fb091479 | ||
|
|
0cc51149a6 | ||
|
|
d635e09ff3 | ||
|
|
e5affd3f09 | ||
|
|
96fa0a49a5 | ||
|
|
378cd2b6ec | ||
|
|
378956e130 | ||
|
|
1e7b7682c1 | ||
|
|
1a33ab335b | ||
|
|
f97320bbee | ||
|
|
b243751f86 | ||
|
|
2b2d657de7 | ||
|
|
ab7cb759e5 | ||
|
|
7d895750cf | ||
|
|
e7fa8e6cf5 | ||
|
|
85b6590944 | ||
|
|
06d531c443 | ||
|
|
eeeee102cd | ||
|
|
f575c01893 | ||
|
|
a249436776 | ||
|
|
b640b5da06 | ||
|
|
7814a03f95 | ||
|
|
301b31438e | ||
|
|
100941fab3 | ||
|
|
26a888f453 | ||
|
|
b4dc7e3267 | ||
|
|
f664887de3 | ||
|
|
38bf12326e | ||
|
|
696580210b | ||
|
|
123a6c8507 | ||
|
|
b3176f854d | ||
|
|
020f064a28 | ||
|
|
6de86a8ec3 | ||
|
|
c771a9274a | ||
|
|
3b57e36eb1 | ||
|
|
847a5ea999 | ||
|
|
2f81cad3ed | ||
|
|
a5adf39a1d |
没有与搜索条件相匹配的文件
@@ -0,0 +1,15 @@
|
||||
# 大鱼调色项目规则
|
||||
|
||||
本文件适用于当前 Git 仓库及其子目录。沿用本机全局开发、正式交付和 Git 备份约定。
|
||||
|
||||
## 接手
|
||||
|
||||
- 新对话先读 [开发交接.md](开发交接.md) 的当前基线和待跟进事项。核对实际工作区、分支、远端、正式安装版本和交付锁,再依据用户本轮要求继续。
|
||||
- 按范围查阅专项交接、`verification/` 和 [RECOVERY.md](RECOVERY.md)。旧版本文档用于查找历史,当前状态以实际结果和对应版本的验证记录为准。
|
||||
|
||||
## 每次任务结束都要更新交接
|
||||
|
||||
- 无论本轮是开发、排查、发布、纯文档工作,还是暂时受阻,结束前都在 [开发交接.md](开发交接.md) 记录本轮工作。更新受影响的当前基线和待跟进事项,保留前序任务记录。
|
||||
- 写清任务日期与目标、实际完成的改动和关键路径、验证结果及覆盖范围、交付状态,以及仍待处理的事项和接手第一步。涉及发行时分别标明实际编译提交、版本标签、本机安装、Git Release、站点文章和主 APP 更新通道,注明对应版本和核验依据。
|
||||
- 区分本机实测、用户确认、自动检查与尚待复现的反馈。保留有助于继续排查的限制、假设和阻塞,引用已有报告。凭据、用户素材和未脱敏日志留在各自受控位置。
|
||||
- 在本轮结束前按 Git 约定提交交接文档,推送并回读远端。最后回复附上交接入口;远端核验受阻时注明本地提交与具体原因。
|
||||
@@ -0,0 +1,37 @@
|
||||
# 大鱼调色公测后端
|
||||
|
||||
LOCAL_PROJECT=/Users/mac/Downloads/dayumedia/dayu-color-beta
|
||||
NAS_ROOT=/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media
|
||||
SOURCE_BACKUP=大鱼调色仓库 Backend/
|
||||
|
||||
映射:`wp-content/mu-plugins/dayu-color-beta.php` 和 `wp-content/uploads/dayu-color-beta/updates/beta.json` 均保持同相对路径。PKG 不进 Git,由产品 Release 与生产公测下载空间保存。专项工作副本只包含本产品文件,源码及脱敏记录保存到产品仓库。参考 `fcpx-qwen3-asr` 提交 `113069c74aff935db2082b5bcd8e1aa47fe1fbf2` 的更新校验、批次诊断和崩溃脱敏流程;共享会员鉴权代码未修改。
|
||||
|
||||
2026-11-02 初始盘点:目标 MU 插件不存在,本地专项工程新建。实际共享已确认来自 192.168.31.21、dayumedia (存储空间1)、smbfs 且可读写。单独建仓因令牌缺少 write:user 返回403,未扩大权限;改用现有产品仓库保存。
|
||||
|
||||
## 路由与查看
|
||||
|
||||
- 更新:`GET https://dayu.media/wp-json/dayu-color/v1/update?bundle_id=com.dayu.color&channel=beta¤t_build=45`。仅提供更高构建号的完整 PKG 更新,无强制安装。
|
||||
- 诊断:`POST https://dayu.media/wp-json/dayu-color/v1/diagnostics`,公测阶段不依赖账号。严格限定产品、字段、事件、UUID、批次大小及频率;匿名输入只作为排查证据,不作为授权凭据。
|
||||
- 日志后台:`https://dayu.media/wp-admin/tools.php?page=dayu-color-beta`,需要管理员。可按构建号、事件、完整报告标识筛选并翻页。GET 诊断接口同样要求 manage_options。
|
||||
- 数据保留30天,由 WordPress 每日计划清理;依赖站点 WP-Cron 正常运行。IP 仅用于短期频控哈希,不存入诊断表。
|
||||
|
||||
## 客户端
|
||||
|
||||
主 APP 检查更新与插件注册并行,检查结束且注册成功后显示3秒退出倒计时。发现更新则保留窗口;下载可取消,校验 SHA-256、字节数、Installer/App签名团队、Gatekeeper、包内 Bundle ID、版本、安装位置及模板。保存并退出 FCP/Motion 后打开系统安装器,不强杀宿主。下一次启动可记录已完成升级。
|
||||
|
||||
主 APP 与 XPC 共享随机安装标识及诊断开关。诊断默认开启,界面明确说明并可关闭;不上传素材、LUT、预设、用户路径、账号、硬件 UUID 或原始崩溃文件。后台私有队列最多256条/384KB,批次16条,网络超时并延迟重试,服务端按事件 UUID 去重。关闭后清除待发摘要并停止新请求;已经送达的数据按保留期清理。
|
||||
|
||||
采集进程启动、初始化、检查器创建/慢刷新、Metal 管线准备、首次渲染、渲染错误、超过6秒的疑似阻塞,以及本插件近7天系统崩溃报告的脱敏摘要。疑似阻塞不等于根因;整个进程被停止、网络不可用、主机强制断电时无法保证即时送达。不会拦截崩溃信号,也不采集整个 FCP 的报告。本轮保留调色与宿主回调逻辑,尚未修复偶发卡死。
|
||||
|
||||
## 验证与发布
|
||||
|
||||
```sh
|
||||
php Backend/tests/contract.php
|
||||
python3 Backend/verify_live.py
|
||||
python3 Backend/deploy.py --backend
|
||||
python3 Backend/deploy.py --package '/Volumes/备份/大鱼调色/发行包/大鱼调色-1.7.0.pkg'
|
||||
```
|
||||
|
||||
先从仓库审查、提交并推送,再由部署脚本同步到专项工程;脚本验证实际 SMB 挂载及基线。覆盖原文件前同目录旁路备份并核对字节,新增文件无需不存在的备份。只写明确列出的路径,不加载或输出生产配置。更新包签名、公证、票据与正式 APP 验收通过后才发布;同名包不同字节立即停止。发布后完整下载核对大小与 SHA-256,并核验较低/相同构建号的更新结果。
|
||||
|
||||
回滚:先备份当前文件,再恢复部署记录中对应旁路备份;禁止降低已有清单构建号来自动降级。撤下更新时备份并移走 beta.json,更新路由回到没有更新;历史安装包和诊断表保留。源代码可从产品远程仓库恢复,签名私钥及服务端数据库不属于 Git 备份。
|
||||
@@ -0,0 +1,87 @@
|
||||
#!/usr/bin/env python3
|
||||
# coding: utf-8
|
||||
"""Deploy only the Dayu Color beta namespace from the scoped local workspace."""
|
||||
from pathlib import Path
|
||||
import argparse,datetime,hashlib,json,os,re,shutil,subprocess,uuid
|
||||
ROOT=Path(__file__).resolve().parent.parent
|
||||
LOCAL=Path('/Users/mac/Downloads/dayumedia/dayu-color-beta')
|
||||
MOUNT=Path('/Volumes/dayumedia (存储空间1)')
|
||||
NAS=MOUNT/'wwwroot/dayu_media'
|
||||
REL=Path('wp-content/mu-plugins/dayu-color-beta.php')
|
||||
UPLOAD=Path('wp-content/uploads/dayu-color-beta/updates')
|
||||
STAMP=datetime.datetime.now().strftime('%Y%m%d%H%M')
|
||||
def sha(path):
|
||||
h=hashlib.sha256()
|
||||
with path.open('rb') as f:
|
||||
for part in iter(lambda:f.read(1024*1024),b''):h.update(part)
|
||||
return h.hexdigest()
|
||||
def write_json(path,data):
|
||||
path.parent.mkdir(parents=True,exist_ok=True);path.write_text(json.dumps(data,ensure_ascii=False,indent=2)+'\n')
|
||||
def check_mount():
|
||||
lines=subprocess.check_output(['/sbin/mount'],text=True).splitlines()
|
||||
match=[s for s in lines if f' on {MOUNT} (smbfs,' in s]
|
||||
assert len(match)==1 and '@192.168.31.21/dayumedia%' in match[0], '目标不是已确认的 NAS SMB 共享'
|
||||
assert NAS.is_dir() and os.access(NAS/'wp-content/mu-plugins',os.W_OK), '目标共享不可写'
|
||||
return match[0]
|
||||
def backup(path):
|
||||
target=path.with_name(f'{path.stem}-{STAMP}.{path.suffix[1:]}bak' if path.suffix else f'{path.name}-{STAMP}.bak')
|
||||
assert not target.exists(), '旁路备份重名,请换时间戳'
|
||||
shutil.copyfile(path,target);assert sha(target)==sha(path)
|
||||
return str(target)
|
||||
def deploy_file(source,target,allow_new=False,expected=None):
|
||||
target.parent.mkdir(parents=True,exist_ok=True);old=None
|
||||
if target.exists():
|
||||
if sha(target)==sha(source):return dict(path=str(target),sha256=sha(target),reused=True)
|
||||
assert expected and sha(target)==expected,'生产基线已变化,停止覆盖'
|
||||
old=backup(target)
|
||||
else:assert allow_new,'预期生产基线不存在'
|
||||
temp=target.with_name('.dayu-color-stage-'+uuid.uuid4().hex)
|
||||
try:
|
||||
shutil.copyfile(source,temp);temp.chmod(0o644);assert sha(temp)==sha(source);os.replace(temp,target)
|
||||
finally:
|
||||
if temp.exists():temp.unlink()
|
||||
assert sha(source)==sha(target) and os.access(target,os.R_OK)
|
||||
return dict(path=str(target),sha256=sha(target),backup=old,size=target.stat().st_size)
|
||||
def main():
|
||||
p=argparse.ArgumentParser(description=__doc__);p.add_argument('--backend',action='store_true');p.add_argument('--package',type=Path);args=p.parse_args()
|
||||
assert args.backend or args.package
|
||||
mount=check_mount();LOCAL.mkdir(parents=True,exist_ok=True)
|
||||
lock=LOCAL/'.deployment.lock';lock.mkdir();write_json(lock/'owner.json',dict(PID=os.getpid(),cwd=str(ROOT),started=STAMP))
|
||||
try:
|
||||
if args.backend:
|
||||
subprocess.run(['php','-l',str(ROOT/'Backend'/REL)],check=True)
|
||||
local=LOCAL/REL;local.parent.mkdir(parents=True,exist_ok=True)
|
||||
record=ROOT/'verification/BetaBackendDeployment.json'
|
||||
previous=json.loads(record.read_text()) if record.exists() else {}
|
||||
if local.exists() and sha(local)!=sha(ROOT/'Backend'/REL):
|
||||
assert previous.get('sha256')==sha(local),'本地专项工程有未部署改动,停止覆盖'
|
||||
shutil.copyfile(ROOT/'Backend'/REL,local)
|
||||
result=deploy_file(local,NAS/REL,allow_new=not previous,expected=previous.get('sha256'))
|
||||
result.update(timestamp=STAMP,mount=mount,localProject=str(LOCAL),sourceCommit=subprocess.check_output(['git','rev-parse','HEAD'],cwd=ROOT,text=True).strip())
|
||||
write_json(record,result);print(json.dumps(result,ensure_ascii=False))
|
||||
if args.package:
|
||||
package=args.package.resolve();report=json.loads((ROOT/'verification/Package.json').read_text());delivery=json.loads((ROOT/'verification/Delivery.json').read_text())
|
||||
assert report['notarization']['status']=='Accepted' and delivery['status']=='verified'
|
||||
# Independent final-container checks before uploading any bytes.
|
||||
subprocess.run(['pkgutil','--check-signature',str(package)],check=True,stdout=subprocess.DEVNULL)
|
||||
subprocess.run(['xcrun','stapler','validate',str(package)],check=True,stdout=subprocess.DEVNULL)
|
||||
subprocess.run(['spctl','--assess','--type','install',str(package)],check=True)
|
||||
version=delivery['version'];build=int(delivery['build']);digest=sha(package)
|
||||
assert report["sha256"]==digest, "发行包与验包记录不一致"
|
||||
filename=f'dayu-color-{version.replace(".","-")}-{build}.pkg';relative=UPLOAD/filename
|
||||
local=LOCAL/relative;local.parent.mkdir(parents=True,exist_ok=True)
|
||||
if not local.exists():shutil.copyfile(package,local)
|
||||
assert sha(local)==digest
|
||||
result=deploy_file(local,NAS/relative,allow_new=True)
|
||||
manifest=dict(bundle_id='com.dayu.color',channel='beta',version=version,build=build,package_type='pkg',install_mode='pkg_installer',
|
||||
size=package.stat().st_size,sha256=digest,download_url='https://dayu.media/'+str(relative),minimum_system_version='14.6',
|
||||
notes='公测版:接入自动更新与可关闭的云端诊断,记录插件加载耗时及错误摘要。请保存并退出 FCP / Motion 后安装。')
|
||||
dest=NAS/UPLOAD/'beta.json';old=json.loads(dest.read_text()) if dest.exists() else None
|
||||
if old:assert int(old['build'])<=build, '禁止更新通道倒退'
|
||||
localManifest=LOCAL/UPLOAD/'beta.json';write_json(localManifest,manifest)
|
||||
published=deploy_file(localManifest,dest,allow_new=True,expected=sha(dest) if old else None)
|
||||
result.update(manifest=published,version=version,build=build,downloadURL=manifest['download_url'],timestamp=STAMP)
|
||||
write_json(ROOT/'verification/BetaPublication.json',result);print(json.dumps(result,ensure_ascii=False))
|
||||
finally:
|
||||
(lock/'owner.json').unlink();lock.rmdir()
|
||||
if __name__=='__main__':main()
|
||||
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
// Product endpoint contracts; WordPress and DB are stubbed, never load production settings.
|
||||
error_reporting(E_ALL);
|
||||
set_error_handler(function($severity,$message,$file,$line){ throw new ErrorException($message,0,$severity,$file,$line); });
|
||||
define('ABSPATH',__DIR__.'/');define('MINUTE_IN_SECONDS',60);define('DAY_IN_SECONDS',86400);define('ARRAY_A','ARRAY_A');
|
||||
$testRoot=sys_get_temp_dir().'/dayu-color-contract-'.bin2hex(random_bytes(6));mkdir($testRoot,0700,true);
|
||||
function add_action(...$args){}
|
||||
function get_option($key){return '1';}
|
||||
function register_rest_route($namespace,$route,$args){$GLOBALS['routes'][$route]=$args;}
|
||||
function current_user_can($permission){return false;}
|
||||
function wp_upload_dir(...$args){return array('basedir'=>$GLOBALS['testRoot']);}
|
||||
function sanitize_textarea_field($value){return strip_tags($value);}
|
||||
function sanitize_text_field($value){return strip_tags($value);}
|
||||
function wp_salt($scheme){return 'test-only-not-production';}
|
||||
function get_transient($key){return 0;}
|
||||
function set_transient(...$args){}
|
||||
function wp_json_encode($value,$options=0){return json_encode($value,$options);}
|
||||
class WP_Error {public $code,$data;function __construct($code,$message,$data){$this->code=$code;$this->data=$data;}}
|
||||
class WP_REST_Response {public $data,$status;function __construct($data,$status,$headers){$this->data=$data;$this->status=$status;}}
|
||||
class WP_REST_Request {public $params,$body;function __construct($params=array(),$body=null){$this->params=$params;$this->body=$body;}function get_param($name){return $this->params[$name]??null;}function get_body(){return json_encode($this->body);}function get_json_params(){return $this->body;}}
|
||||
class FakeDB {public $prefix='wp_',$rows=array();function prepare($sql,...$args){return $args[0]??$sql;}function get_var($sql){return isset($this->rows[$sql])?$sql:null;}function insert($table,$row){$this->rows[$row['event_id']]=$row;return 1;}}
|
||||
$wpdb=new FakeDB;
|
||||
require dirname(__DIR__).'/wp-content/mu-plugins/dayu-color-beta.php';
|
||||
$checks=0;
|
||||
function check($value,$label){global $checks;if(!$value)throw new RuntimeException($label);$checks++;}
|
||||
function request($body){return new WP_REST_Request(array(),$body);}
|
||||
try {
|
||||
Dayu_Color_Beta::routes();
|
||||
check(($routes['/diagnostics'][1]['permission_callback'])()===false,'anonymous log reads denied');
|
||||
check(Dayu_Color_Beta::update(new WP_REST_Request(array('bundle_id'=>'other')))->data['status']===400,'product separation');
|
||||
$response=Dayu_Color_Beta::update(new WP_REST_Request(array('bundle_id'=>'com.dayu.color','current_build'=>44)));
|
||||
check($response->status===200 && !$response->data['update_available'],'empty feed is usable');
|
||||
$fields=Dayu_Color_Beta::clean_fields(array('frames'=>'/Users/test/secret.mov','error_domain'=>'token=not-a-token','arbitrary'=>'private','duration_ms'=>INF,'gpu'=>'M4'));
|
||||
check($fields['frames']==='[REDACTED]' && $fields['error_domain']==='[REDACTED]' && !isset($fields['arbitrary']) && !isset($fields['duration_ms']) && $fields['gpu']==='M4','allowlist and redaction');
|
||||
$id='12345678-1234-4234-8234-123456789012';
|
||||
$event=array('event_id'=>$id,'session_id'=>$id,'source'=>'plugin','version'=>'1.7.0','build'=>45,'event'=>'first_render','occurred_at'=>time(),'fields'=>array('duration_ms'=>1200));
|
||||
$body=array('bundle_id'=>'com.dayu.color','installation_id'=>$id,'events'=>array($event));
|
||||
$reply=Dayu_Color_Beta::ingest(request($body));
|
||||
check($reply->status===200 && $reply->data['accepted'] && count($wpdb->rows)===1,'valid event accepted');
|
||||
Dayu_Color_Beta::ingest(request($body));check(count($wpdb->rows)===1,'retry idempotency');
|
||||
foreach(array('version'=>array(),'build'=>array(),'event'=>'material_path','session_id'=>'bad','occurred_at'=>null) as $key=>$bad){$b=$body;$b['events'][0][$key]=$bad;check(Dayu_Color_Beta::ingest(request($b))->data['status']===400,'malformed '.$key);}
|
||||
$b=$body;$b['events']=array_fill(0,33,$event);check(Dayu_Color_Beta::ingest(request($b))->data['status']===400,'batch limit');
|
||||
$b=$body;$b['padding']=str_repeat('a',100000);check(Dayu_Color_Beta::ingest(request($b))->data['status']===413,'byte limit');
|
||||
$manifest=array('bundle_id'=>'com.dayu.color','channel'=>'beta','version'=>'1.7.0','build'=>45,'package_type'=>'pkg','install_mode'=>'pkg_installer','size'=>123,'sha256'=>str_repeat('a',64),'download_url'=>'https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-7-0-45.pkg');
|
||||
mkdir(dirname(Dayu_Color_Beta::manifest_path()),0700,true);file_put_contents(Dayu_Color_Beta::manifest_path(),json_encode($manifest));
|
||||
check(Dayu_Color_Beta::update(new WP_REST_Request(array('bundle_id'=>'com.dayu.color','current_build'=>44)))->data['update_available']===true,'older build sees update');
|
||||
check(Dayu_Color_Beta::update(new WP_REST_Request(array('bundle_id'=>'com.dayu.color','current_build'=>45)))->data['update_available']===false,'current build no downgrade');
|
||||
foreach(array('download_url'=>'https://other.example/evil.pkg','sha256'=>'bad','build'=>array(),'size'=>1073741825,'install_mode'=>'zip_replace') as $key=>$bad){$m=$manifest;$m[$key]=$bad;file_put_contents(Dayu_Color_Beta::manifest_path(),json_encode($m));check(Dayu_Color_Beta::manifest()===array(),'bad manifest '.$key);}
|
||||
echo json_encode(array('passed'=>true,'checks'=>$checks),JSON_PRETTY_PRINT)."\n";
|
||||
} finally {
|
||||
if(is_file(Dayu_Color_Beta::manifest_path()))unlink(Dayu_Color_Beta::manifest_path());
|
||||
@rmdir($testRoot.'/dayu-color-beta/updates');@rmdir($testRoot.'/dayu-color-beta');@rmdir($testRoot);
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Anonymous public-beta endpoint smoke test; no credentials or production settings."""
|
||||
import datetime,json,time,urllib.request,urllib.error,uuid
|
||||
from pathlib import Path
|
||||
ROOT=Path(__file__).resolve().parent.parent
|
||||
BASE='https://dayu.media/wp-json/dayu-color/v1/'
|
||||
def call(route,body=None):
|
||||
request=urllib.request.Request(BASE+route,data=json.dumps(body).encode() if body else None,headers={'Content-Type':'application/json'})
|
||||
try:
|
||||
with urllib.request.urlopen(request,timeout=15) as r:return r.status,json.load(r)
|
||||
except urllib.error.HTTPError as e:return e.code,json.load(e)
|
||||
def main():
|
||||
status,feed=call('update?bundle_id=com.dayu.color&channel=beta¤t_build=44');assert status==200 and feed['bundle_id']=='com.dayu.color'
|
||||
assert call('update?bundle_id=other&channel=beta')[0]==400
|
||||
assert call('diagnostics')[0] in (401,403)
|
||||
event_id=str(uuid.uuid4());installation=str(uuid.uuid4());session=str(uuid.uuid4())
|
||||
event=dict(event_id=event_id,session_id=session,source='app',version='1.7.0',build=45,event='diagnostic_summary',occurred_at=time.time(),fields={'status':'deployment_smoke_test','count':1})
|
||||
payload=dict(bundle_id='com.dayu.color',installation_id=installation,events=[event])
|
||||
for attempt in range(2):
|
||||
status,reply=call('diagnostics',payload);assert status==200 and reply['accepted'] and reply['event_ids']==[event_id],(status,reply)
|
||||
bad=dict(payload,bundle_id='other');assert call('diagnostics',bad)[0]==400
|
||||
record=dict(passed=True,checked_at=datetime.datetime.now(datetime.timezone.utc).isoformat(),checks=['update GET','product isolation','admin read denied anonymously','diagnostic stored ACK','retry same UUID ACK','foreign upload denied'],test_event_id=event_id,test_installation_id=installation,update=feed)
|
||||
(ROOT/'verification/BetaBackendLive.json').write_text(json.dumps(record,ensure_ascii=False,indent=2)+'\n');print(json.dumps(record,ensure_ascii=False))
|
||||
if __name__=='__main__':main()
|
||||
@@ -0,0 +1,179 @@
|
||||
<?php
|
||||
/** Plugin Name: 大鱼调色公测更新与诊断
|
||||
* Product-scoped beta endpoints. No changes to shared account/authentication code.
|
||||
*/
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
final class Dayu_Color_Beta {
|
||||
const SCHEMA = '1';
|
||||
const BUNDLE = 'com.dayu.color';
|
||||
const MAX_BODY = 98304;
|
||||
const MAX_BATCH = 32;
|
||||
const EVENTS = array('process_start','process_exit','plugin_init','inspector_create','inspector_refresh',
|
||||
'device_prepare','gpu_pipeline','first_render','render_error','main_thread_stall',
|
||||
'operation_stall','previous_session_pending','crash_summary','registration','host_confirmed',
|
||||
'update_check','update_download','update_validation','update_installer','diagnostic_summary');
|
||||
const FIELDS = array('phase','stage','pipeline','duration_ms','status','error_domain','error_code',
|
||||
'exception','signal','frames','report_time','count','pending','model','os_version','fcp_version',
|
||||
'cpu_cores','memory_gb','gpu','main_delay_ms','active_stages','source_version');
|
||||
|
||||
public static function boot() {
|
||||
add_action('rest_api_init', array(__CLASS__, 'routes'));
|
||||
add_action('admin_menu', function () {
|
||||
add_management_page('大鱼调色公测', '大鱼调色公测', 'manage_options', 'dayu-color-beta', array(__CLASS__, 'admin'));
|
||||
});
|
||||
add_action('dayu_color_beta_cleanup', array(__CLASS__, 'cleanup'));
|
||||
}
|
||||
private static function table() { global $wpdb; return $wpdb->prefix . 'dayu_color_beta_events'; }
|
||||
public static function ensure_schema() {
|
||||
if (get_option('dayu_color_beta_schema') === self::SCHEMA) return;
|
||||
global $wpdb;
|
||||
require_once ABSPATH . 'wp-admin/includes/upgrade.php';
|
||||
$table = self::table(); $collation = $wpdb->get_charset_collate();
|
||||
dbDelta("CREATE TABLE {$table} (
|
||||
event_id varchar(36) NOT NULL,
|
||||
installation_id varchar(36) NOT NULL,
|
||||
session_id varchar(36) NOT NULL,
|
||||
client_version varchar(32) NOT NULL,
|
||||
client_build bigint unsigned NOT NULL,
|
||||
source varchar(12) NOT NULL,
|
||||
event varchar(64) NOT NULL,
|
||||
fields_json text NOT NULL,
|
||||
occurred_at datetime NOT NULL,
|
||||
received_at datetime NOT NULL,
|
||||
PRIMARY KEY (event_id),
|
||||
KEY received_at (received_at),
|
||||
KEY client_event (client_build,event),
|
||||
KEY installation (installation_id)
|
||||
) {$collation};");
|
||||
if ($wpdb->get_var($wpdb->prepare('SHOW TABLES LIKE %s', $table)) === $table) {
|
||||
update_option('dayu_color_beta_schema', self::SCHEMA, false);
|
||||
if (!wp_next_scheduled('dayu_color_beta_cleanup')) wp_schedule_event(time()+3600, 'daily', 'dayu_color_beta_cleanup');
|
||||
}
|
||||
}
|
||||
public static function routes() {
|
||||
self::ensure_schema();
|
||||
register_rest_route('dayu-color/v1', '/update', array('methods'=>'GET', 'permission_callback'=>'__return_true', 'callback'=>array(__CLASS__,'update')));
|
||||
register_rest_route('dayu-color/v1', '/diagnostics', array(
|
||||
array('methods'=>'POST', 'permission_callback'=>'__return_true', 'callback'=>array(__CLASS__,'ingest')),
|
||||
array('methods'=>'GET', 'permission_callback'=>function(){ return current_user_can('manage_options'); }, 'callback'=>array(__CLASS__,'events'))
|
||||
));
|
||||
}
|
||||
public static function manifest_path() {
|
||||
$upload = wp_upload_dir(null, false);
|
||||
return rtrim($upload['basedir'], '/\\') . '/dayu-color-beta/updates/beta.json';
|
||||
}
|
||||
public static function manifest() {
|
||||
$path = self::manifest_path();
|
||||
if (!is_file($path) || filesize($path)>32768) return array();
|
||||
$value = json_decode((string)file_get_contents($path), true);
|
||||
if (!is_array($value) || ($value['bundle_id']??'')!==self::BUNDLE || ($value['channel']??'')!=='beta') return array();
|
||||
if (!is_string($value['download_url']??null) || !is_string($value['sha256']??null) || !is_string($value['version']??null) || !is_int($value['build']??null) || !is_int($value['size']??null) || ($value['package_type']??'')!=='pkg' || ($value['install_mode']??'')!=='pkg_installer') return array();
|
||||
$url = $value['download_url'];
|
||||
if (!preg_match('~^https://dayu\.media/wp-content/uploads/dayu-color-beta/updates/[A-Za-z0-9_-]+\.pkg$~D', $url)) return array();
|
||||
if (!preg_match('/^[a-f0-9]{64}$/D', (string)($value['sha256']??'')) || intval($value['size']??0)<=0 || intval($value['build']??0)<=0 || intval($value['size'])>1073741824) return array();
|
||||
return $value;
|
||||
}
|
||||
public static function update($request) {
|
||||
if (($request->get_param('bundle_id')??'')!==self::BUNDLE || ($request->get_param('channel')??'beta')!=='beta') {
|
||||
return new WP_Error('product_mismatch','此通道仅用于大鱼调色公测。',array('status'=>400));
|
||||
}
|
||||
$manifest = self::manifest();
|
||||
if (!$manifest) return new WP_REST_Response(array('bundle_id'=>self::BUNDLE,'channel'=>'beta','update_available'=>false,'message'=>'当前没有公测更新。'),200,array('Cache-Control'=>'no-store'));
|
||||
$current = max(0, intval($request->get_param('current_build')));
|
||||
$manifest['update_available'] = intval($manifest['build']) > $current;
|
||||
$manifest['checked_at'] = gmdate('c');
|
||||
return new WP_REST_Response($manifest,200,array('Cache-Control'=>'no-store'));
|
||||
}
|
||||
public static function clean_fields($input) {
|
||||
if (!is_array($input)) return array();
|
||||
$out = array();
|
||||
foreach (self::FIELDS as $key) {
|
||||
if (!array_key_exists($key,$input) || !is_scalar($input[$key])) continue;
|
||||
if (in_array($key,array('duration_ms','main_delay_ms','memory_gb','cpu_cores','count','pending','error_code'),true)) {
|
||||
if (is_numeric($input[$key]) && is_finite((float)$input[$key])) $out[$key]=max(-1000000,min(86400000,(float)$input[$key]));
|
||||
continue;
|
||||
}
|
||||
$value = sanitize_textarea_field((string)$input[$key]);
|
||||
$value = preg_replace('~(?:https?://\S+|(?:/Users/|/Volumes/|/private/|/var/)[^\r\n]*)~i','[REDACTED]',$value);
|
||||
$value = preg_replace('/(?:bearer\s+\S+|(?:token|api[_-]?key|secret|password)\s*[=:]\s*\S+)/i','[REDACTED]',$value);
|
||||
$limit = $key==='frames' ? 6000 : ($key==='active_stages' ? 1000 : 200);
|
||||
$out[$key] = function_exists('mb_substr') ? mb_substr($value,0,$limit,'UTF-8') : substr($value,0,$limit);
|
||||
}
|
||||
return $out;
|
||||
}
|
||||
private static function uuid($value) { return is_string($value) && preg_match('/^[a-f0-9]{8}-(?:[a-f0-9]{4}-){3}[a-f0-9]{12}$/iD',$value); }
|
||||
public static function ingest($request) {
|
||||
if (strlen($request->get_body())>self::MAX_BODY) return new WP_Error('body_too_large','诊断批次过大。',array('status'=>413));
|
||||
$body = $request->get_json_params();
|
||||
if (!is_array($body) || ($body['bundle_id']??'')!==self::BUNDLE || !self::uuid($body['installation_id']??null)
|
||||
|| !isset($body['events']) || !is_array($body['events']) || count($body['events'])<1 || count($body['events'])>self::MAX_BATCH) {
|
||||
return new WP_Error('invalid_batch','诊断批次无效。',array('status'=>400));
|
||||
}
|
||||
// Anonymous beta diagnostics are untrusted input, never an authorization proof.
|
||||
$ip = (string)($_SERVER['REMOTE_ADDR']??'unknown');
|
||||
$bucket = 'dayu_color_rate_' . substr(hash_hmac('sha256',$ip,wp_salt('nonce')),0,32);
|
||||
$count = intval(get_transient($bucket));
|
||||
if ($count>=300) return new WP_Error('rate_limit','请稍后重试。',array('status'=>429));
|
||||
set_transient($bucket,$count+1,10*MINUTE_IN_SECONDS);
|
||||
$normalized = array();
|
||||
foreach ($body['events'] as $event) {
|
||||
if (!is_array($event) || !self::uuid($event['event_id']??null) || !self::uuid($event['session_id']??null)
|
||||
|| !in_array($event['event']??'',self::EVENTS,true) || !in_array($event['source']??'',array('app','plugin'),true)
|
||||
|| !is_string($event['version']??null) || strlen($event['version'])>32 || !preg_match('/^[0-9]+(?:\.[0-9A-Za-z_-]+){1,3}$/D',$event['version'])
|
||||
|| !is_int($event['build']??null) || $event['build']<1 || $event['build']>999999999
|
||||
|| !is_numeric($event['occurred_at']??null) || !is_finite((float)$event['occurred_at']) || abs((float)$event['occurred_at']-time())>366*DAY_IN_SECONDS) return new WP_Error('invalid_event','诊断事件无效。',array('status'=>400));
|
||||
$normalized[] = array('event_id'=>strtolower($event['event_id']),'installation_id'=>strtolower($body['installation_id']),
|
||||
'session_id'=>strtolower($event['session_id']),'client_version'=>substr($event['version'],0,32),
|
||||
'client_build'=>intval($event['build']),'source'=>$event['source'],'event'=>$event['event'],
|
||||
'fields_json'=>wp_json_encode(self::clean_fields($event['fields']??array()),JSON_UNESCAPED_UNICODE),
|
||||
'occurred_at'=>gmdate('Y-m-d H:i:s',(int)$event['occurred_at']), 'received_at'=>gmdate('Y-m-d H:i:s'));
|
||||
}
|
||||
global $wpdb; $table=self::table(); $accepted=array();
|
||||
foreach ($normalized as $row) {
|
||||
// Idempotent event IDs permit bounded retry after an ambiguous connection loss.
|
||||
if ($wpdb->get_var($wpdb->prepare("SELECT event_id FROM {$table} WHERE event_id=%s",$row['event_id']))) { $accepted[]=$row['event_id']; continue; }
|
||||
if ($wpdb->insert($table,$row)===false && !$wpdb->get_var($wpdb->prepare("SELECT event_id FROM {$table} WHERE event_id=%s",$row['event_id']))) return new WP_Error('storage_failed','诊断存储失败,请稍后重试。',array('status'=>503));
|
||||
$accepted[]=$row['event_id'];
|
||||
}
|
||||
return new WP_REST_Response(array('accepted'=>true,'event_ids'=>$accepted,'received_at'=>gmdate('c')),200,array('Cache-Control'=>'no-store'));
|
||||
}
|
||||
public static function cleanup() {
|
||||
global $wpdb; $table=self::table();
|
||||
$wpdb->query($wpdb->prepare("DELETE FROM {$table} WHERE received_at < %s",gmdate('Y-m-d H:i:s',time()-30*DAY_IN_SECONDS)));
|
||||
}
|
||||
public static function events($request) {
|
||||
global $wpdb; $table=self::table(); $where='1=1'; $values=array();
|
||||
foreach (array('build'=>'client_build','event'=>'event','installation'=>'installation_id') as $param=>$column) {
|
||||
$raw=$request->get_param($param);$value = is_scalar($raw)?sanitize_text_field((string)$raw):'';
|
||||
if ($value!=='') { $where.=" AND {$column}=%s"; $values[]=$value; }
|
||||
}
|
||||
$page=max(1,min(1000,intval($request->get_param('page'))));
|
||||
$sql="SELECT event_id,installation_id,session_id,client_version,client_build,source,event,fields_json,occurred_at,received_at FROM {$table} WHERE {$where} ORDER BY received_at DESC LIMIT 50 OFFSET " . (($page-1)*50);
|
||||
$rows=$wpdb->get_results($values?$wpdb->prepare($sql,$values):$sql,ARRAY_A);
|
||||
return array('events'=>$rows?:array(),'page'=>$page,'retention_days'=>30);
|
||||
}
|
||||
public static function admin() {
|
||||
if (!current_user_can('manage_options')) return;
|
||||
self::ensure_schema(); global $wpdb; $table=self::table();
|
||||
$request = new WP_REST_Request('GET');
|
||||
foreach (array('build','event','installation') as $key) $request->set_param($key,is_string($_GET[$key]??null)?sanitize_text_field(wp_unslash($_GET[$key])):'');
|
||||
$request->set_param('page',max(1,intval($_GET['paged']??1)));
|
||||
$result=self::events($request);$manifest=self::manifest();
|
||||
$devices=intval($wpdb->get_var($wpdb->prepare("SELECT COUNT(DISTINCT installation_id) FROM {$table} WHERE received_at >= %s",gmdate('Y-m-d H:i:s',time()-7*DAY_IN_SECONDS))));
|
||||
echo '<div class="wrap"><h1>大鱼调色公测</h1><p>近7天报告设备:<strong>'.esc_html($devices).'</strong> · 诊断保留30天。匿名公测标识用于关联问题,不代表账号或设备授权。</p>';
|
||||
echo '<h2>公测更新</h2><p>'.($manifest?'当前版本:'.esc_html($manifest['version']).'('.esc_html($manifest['build']).')':'尚未发布更新包').'</p>';
|
||||
echo '<h2>诊断事件</h2><form method="get"><input type="hidden" name="page" value="dayu-color-beta">';
|
||||
foreach (array('build'=>'构建号','event'=>'事件','installation'=>'完整报告标识') as $key=>$label) echo '<label>'.esc_html($label).' <input name="'.esc_attr($key).'" value="'.esc_attr($request->get_param($key)).'"></label> ';
|
||||
echo '<button class="button">筛选</button></form><table class="widefat striped"><thead><tr><th>时间(UTC)</th><th>版本</th><th>报告标识</th><th>来源/事件</th><th>内容</th></tr></thead><tbody>';
|
||||
foreach ($result['events'] as $row) {
|
||||
echo '<tr><td>'.esc_html($row['occurred_at']).'<br>送达 '.esc_html($row['received_at']).'</td><td>'.esc_html($row['client_version'].' ('.$row['client_build'].')').'</td><td><code>'.esc_html($row['installation_id']).'</code><br>会话 '.esc_html(substr($row['session_id'],0,8)).'</td><td>'.esc_html($row['source'].' / '.$row['event']).'</td><td><pre style="white-space:pre-wrap;max-width:760px">'.esc_html(wp_json_encode(json_decode($row['fields_json'],true),JSON_PRETTY_PRINT|JSON_UNESCAPED_UNICODE)).'</pre></td></tr>';
|
||||
}
|
||||
echo '</tbody></table><p>';
|
||||
$base=array('page'=>'dayu-color-beta','build'=>$request->get_param('build'),'event'=>$request->get_param('event'),'installation'=>$request->get_param('installation'));
|
||||
if ($result['page']>1) echo '<a class="button" href="'.esc_url(add_query_arg(array_merge($base,array('paged'=>$result['page']-1)),admin_url('tools.php'))).'">上一页</a> ';
|
||||
if (count($result['events'])===50) echo '<a class="button" href="'.esc_url(add_query_arg(array_merge($base,array('paged'=>$result['page']+1)),admin_url('tools.php'))).'">下一页</a>';
|
||||
echo '</p><p>仅包含产品版本、环境、阶段耗时、错误代码及本插件崩溃摘要,不接收素材、预设、硬件UUID或账户凭据。</p></div>';
|
||||
}
|
||||
}
|
||||
Dayu_Color_Beta::boot();
|
||||
@@ -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
|
||||
@@ -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});}
|
||||
@@ -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
|
||||
@@ -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;
|
||||
@@ -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
|
||||
@@ -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、透明度、旧工程旁路以及宿主输入/输出边界。
|
||||
@@ -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
|
||||
@@ -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.
|
||||
@@ -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,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.
|
||||
@@ -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.
|
||||
@@ -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.
|
||||
@@ -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.
|
||||
@@ -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
|
||||
二进制文件未显示。
二进制文件未显示。
二进制文件未显示。
二进制文件未显示。
二进制文件未显示。
二进制
二进制文件未显示。
二进制文件未显示。
二进制文件未显示。
@@ -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))
|
||||
@@ -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')
|
||||
@@ -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元、有效会员免费及其它商业设置保持。
|
||||
@@ -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 已在验收后清理。
|
||||
@@ -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无法保存空间处理。
|
||||
@@ -2,6 +2,6 @@
|
||||
|
||||
跟踪参考Color Finale行为独立适配:实际钢笔路径范围、300特征、亚像素精炼、21×21光流,最高3840×2160分析采样。281项原生检查及18项独立CPU/Metal跟踪检查通过。FCP12.4实测相邻插入、独立参数、绘制态与面板、钢笔蒙版正向99键、一次撤销/重做及保存重开完整预设一致。
|
||||
|
||||
实际鼠标钢笔落点/闭合仍待用户确认:自动化输入没有进入FCP画面回调,原生OSC模拟检查单独通过。当前不含Color Finale全部能力,B样条、编组、人物/图像/外部蒙版和完整轨迹区段编辑等尚有差异;未做同一真实视频的完整轨迹等价对照。跟踪不含透视/剪切。详细证据见仓库交接文档和verification/HostMaskWorkflow1.4.1.json。
|
||||
用户已用实际鼠标确认钢笔“可以绘制并闭合”,放点与闭合验收通过。自动化输入没有进入FCP画面回调,曲柄/删除等其它手势仍以原生OSC模拟检查为据。当前不含Color Finale全部能力,B样条、编组、人物/图像/外部蒙版和完整轨迹区段编辑等尚有差异;未做同一真实视频的完整轨迹等价对照。跟踪不含透视/剪切。详细证据见仓库交接文档和verification/HostMaskWorkflow1.4.1.json。
|
||||
|
||||
版本1.4.1(26),Apple Silicon,macOS14.6起;APP实际编译源码 `0eb56aed126c825ca89712ce90f8cc1c05b03d89`。APP公证 `1ddc5499-2da3-4d98-8b2d-09272b0ee326`、PKG公证 `9a5ff448-2ac1-444e-b993-2928cf8c333f` 均Accepted,票据/Gatekeeper和20项展开验包通过。包 `大鱼调色-1.4.1.pkg`,14,337,616字节,SHA-256 `0c167aba339bbfdd9c4cbd96aea384e2d43f6d498629ebaf7b1c18cbc6dca5c6`。发行标签保留完整源码和交付记录,APP编译节点与发行记录节点分别列明。唯一正式APP位置 `/Library/Plug-Ins/FxPlug/大鱼调色.app`;不含用户LUT、预设或媒体。
|
||||
@@ -0,0 +1,9 @@
|
||||
修复真实素材从中间帧启动跟踪依赖预览缓存的问题,分析首帧直接作为种子。4K细纹低通后按比例缩小至最高1280×720运动分析,调色输出分辨率不变;重新校准运动拟合容差与置信度,保留可信度和错误变换保护。
|
||||
|
||||
失跟显示原因和保留帧数,正常结束宿主后台分析,可立即重新跟踪。修复首帧反向边界互等、带前置片段时单帧定位错误,以及已有相同轨迹的单帧操作不前进问题。
|
||||
|
||||
FCP12.4正式31版实测同一4K60素材在25p时间线中间双向285键、首帧正向285键;取消后重启、失跟后连续重试、边界与连续前后单帧通过。正常退出冷重开完整预设逐字节一致。正式路径293项原生检查与19项独立CPU/Metal检查通过,源码已从远端独立恢复重建核验。
|
||||
|
||||
区域仿射跟踪不等同人物分割或非刚性描边;遮挡/变形可能需要手工调整后继续。未宣称完整Color Finale能力等价。原工程与用户媒体保留,包内不含用户媒体、预设或LUT。
|
||||
|
||||
版本1.4.2(31),Apple Silicon,macOS14.6起;APP实际编译源码 `123a6c85078e8aa41fe55577b6dab5622ed7d128`。APP公证 `0bb9a94e-c54a-4d87-95ec-51338579c04f`、PKG公证 `2de9f8bb-91b5-41dc-924c-1136ae7bf73f` 均Accepted,票据/Gatekeeper和20项展开验包通过。包 `大鱼调色-1.4.2.pkg`,14,339,640字节,SHA-256 `d137e3516b9c4abc1e6959b83693f5ed09e040cf018b2e29508cc92246fe76f2`。固定正式APP位置 `/Library/Plug-Ins/FxPlug/大鱼调色.app`。发行标签 `v1.4.2-tracking-midpoint-20261102` 另含最终验收和恢复记录,保留全部历史标签及安装包。
|
||||
@@ -0,0 +1,7 @@
|
||||
修复模块折叠时蒙版控件没有一起收起的问题,展开后恢复已有蒙版面板。原模块和独立叠层都遵循自身折叠状态。
|
||||
|
||||
标题栏的蒙版按钮旁新增数量标记;无蒙版时隐藏,已停用的蒙版也计入已添加数量。折叠后数量仍可见,删除和撤销会即时更新,便于辨认哪一层有蒙版。
|
||||
|
||||
正式路径293项既有原生检查通过。FCP12.4验证原模块/独立层分别折叠和展开、2/1数量、删除至0及撤销、保存冷重开;完整预设逐字节一致,用户现有286个轨迹键保留。仅改变布局及标题状态,不修改调色渲染、跟踪算法或数据结构;未另做Motion/Intel实机验收。
|
||||
|
||||
版本1.4.3(33),Apple Silicon,macOS14.6起。APP实际编译源码 `26a888f4534792481c6a9933091cb0b23307cd24`;APP公证 `e755670d-8fb3-46d2-95c3-1206f014d16d`、PKG公证 `f9218078-8fd0-4a0c-9240-4b1acf7d9655` 均Accepted,签名、票据、Gatekeeper和20项展开验包通过。包 `大鱼调色-1.4.3.pkg`,14,340,650字节,SHA-256 `41bba698a70a7629438688a4be74947f424f3af04190090c44f248827b4c3bb2`。唯一正式APP位置 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,包内不含用户预设、媒体或LUT。历史标签和发行包保留。
|
||||
@@ -0,0 +1,7 @@
|
||||
新增通道混合器:RGB三输出矩阵、保持亮度、保持饱和度和混合强度。新增胶片模拟:减色、晕光、辉光、颗粒、暗角五组,独立启停;颗粒支持固定种子与1–5帧保持。新模块均支持蒙版、区域跟踪、相邻初始化叠层和完整预设保存,既有调色链与旧工程数据保留。
|
||||
|
||||
参考本机Color Finale 2.16.2组件独立实现,产品运行和构建不加载原厂二进制。减色/颗粒接入既有sRGB边界,其余在线性纹理上;本版不含八种ACES印片外观,不承诺原版任意ACES链完全等价。纯矩阵及减色可导出Cube,活跃空间/时间效果或蒙版会提示无法保存为静态Cube。
|
||||
|
||||
349项原生检查、四种尺寸184项原版组件对照通过。FCP12.4验证用户旧234参数、资产路径、蜘蛛盘和287键蒙版载荷保持,新增层/蒙版/折叠及删除撤销重做通过。正式ProRes导出确认颗粒两帧保持,组合与颗粒完整预设冷重开前后逐字节一致,三项目FCPXML回导通过。Motion、Intel未实机验收。
|
||||
|
||||
版本1.5.0(34),Apple Silicon,macOS14.6起。APP实际编译源码 `06d531c443b0bb2f179022a4e64148394f5d0690`;APP公证 `164abf2b-4e67-4504-b72a-04122da9e381`、PKG公证 `05f849da-5567-4351-9556-742d17b95723` 均Accepted,签名、票据、Gatekeeper和20项展开验包通过。包 `大鱼调色-1.5.0.pkg`,14,380,104字节,SHA-256 `3ecabc7a8bfd675b228a5f00016aa17a35b65b544055e57793ec3bff3d7e0294`。唯一正式APP位置 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,包内不含用户预设、媒体或LUT。APP已独立安装并在FCP验收;PKG仅展开验包,未再次运行系统安装器。历史标签和发行包保留。
|
||||
@@ -0,0 +1,13 @@
|
||||
# 大鱼调色 1.6.0(39)
|
||||
|
||||
胶片模拟新增“印片”页,包含Kodak2383、Kodak2393、Kodak2302 BW、Fuji3510、Fuji3513、Fuji3519、Fuji3521、AgfaCP30八种外观与独立强度,默认无。保留现有减色、晕光、辉光、暗角、颗粒、通道混合器、调色、蒙版、跟踪和相邻独立层。完整预设v6兼容v1–v5。
|
||||
|
||||
按用户要求删除MOEF作者/网站两行;输出ozml5.11 / Motion5.4.5格式。FCP新效果、全部还原和新加一级层的自动映射默认开启,主标题新增可点击的“更多插件访问 https://dayu.media”。FCP沿用模板默认的旧主效果也会跟随开启,手动关闭可保存并冷重开保持。
|
||||
|
||||
Apple Silicon,macOS14.6或更新。FCP12.4已验证;旧版FCP尚未实机覆盖,降低模板格式不等于保证所有旧版宿主兼容。
|
||||
|
||||
395项正式原生检查及独立恢复构建通过;四尺寸136项原版印片颜色函数对照通过,最大线性RGB绝对差0.000004828。完成八外观、独立印片层、100键蒙版跟踪、折叠/撤销重做、四段共400帧ProRes导出及冷重开检查。39版三组旧印片预设仅自动映射0→1,其余277值及完整自定义载荷保持;手动关闭/独立层开启的8668字节预设冷重开逐字节一致。
|
||||
|
||||
正式位置 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,团队B3W25FX5H5。APP实际编译源码 `e5affd3f097fc96f87f41be8e1a3f131ed01daeb`;APP公证 `5d74c04c-8a30-47e9-822d-4f616dfdee56` Accepted。当前包含正式APP及模板,不含用户媒体、LUT库或预设。安装包20项展开验包通过,本轮未再次运行系统安装器,APP已有独立正式安装及宿主验收。
|
||||
|
||||
安装包 `大鱼调色-1.6.0.pkg`,40,833,847字节;SHA-256 `13821631b5d54f1b9c1934c513a9cc7e92641208e20219839a63e23865f21cca`。PKG由Developer ID Installer签名、公证 `4716e3c7-8199-4dc1-940c-2376dd647e9b` Accepted,票据和Gatekeeper通过。
|
||||
@@ -0,0 +1,15 @@
|
||||
# 大鱼调色 1.6.1(44)
|
||||
|
||||
主 APP 改为深色产品介绍界面,发布地址 https://dayu.media 位于顶部。展示完整调色、LUT、胶片和局部蒙版/叠层特色。
|
||||
|
||||
启动自动检查并提交 PluginKit 注册,核对实际内嵌组件路径。成功后在状态卡显示清晰的3→2→1秒倒计时再退出;查看功能介绍可保留窗口。打开 FCP 检查会保留窗口,由用户确认画面和调节后点击“已确认正常,退出”。注册状态与宿主功能确认分开。
|
||||
|
||||
按用户要求关闭外层 APP 沙盒。保留 Developer ID、Hardened Runtime、可信时间戳、公证及票据。本轮未加入登录、授权、加密、自动更新或后端模块,调色/渲染/Metal/模板未改。
|
||||
|
||||
Apple Silicon,macOS14.6或更新。正式安装位置 /Library/Plug-Ins/FxPlug/大鱼调色.app,主/服务ID为com.dayu.color、com.dayu.color.XPC,团队B3W25FX5H5。实际编译源码90d6022520c59ea34f42b511daee85ac2936cfd9。
|
||||
|
||||
正式路径395项原生检查通过;已有登记、缺失登记重建、精确唯一路径回读、3秒退出、保留介绍和重复检查通过。FCP实际使用按主APP指引由用户确认,本说明不将登记成功等同渲染验收。安装包已展开核验,本轮未再次运行系统安装器。
|
||||
|
||||
APP公证23d7b69c-5585-435d-ad07-faee061e0ccb Accepted;PKG公证7315225d-a350-4c65-9e87-5784035ea018 Accepted。最终PKG由Developer ID Installer签署,签名、票据及Gatekeeper通过。
|
||||
|
||||
安装包 大鱼调色-1.6.1.pkg,40,854,422字节;SHA-256 `d075373d672b8f0146b98f3151c9f74cd6b97e8a1081e0d0796f53af7f291da0`。包含正式APP和既有FCP模板,不含用户媒体、LUT库或预设。
|
||||
@@ -0,0 +1,19 @@
|
||||
# 大鱼调色 1.7.0(45)公测
|
||||
|
||||
加入主 APP 自动更新检查与云端公测诊断。启动时并行检查插件注册和新版本;注册成功且检查结束后显示3秒退出倒计时,发现更新则保留窗口。完整 PKG 更新由用户确认下载,验证 SHA-256、大小、签名团队、公证评估、产品/版本/安装位置及 FCP 模板;保存并退出 FCP/Motion 后打开系统安装器。
|
||||
|
||||
公测诊断默认开启,可在主 APP 随时关闭。主 APP 与插件共用随机报告标识,后台限量排队、离线重试、事件去重。采集版本和系统环境、插件/检查器/Metal 管线/首次渲染耗时、错误代码、疑似阻塞及本插件崩溃摘要;不上传素材、LUT、预设、账号、硬件 UUID、用户路径或原始崩溃文件。云端保留30天,管理页面需管理员登录。
|
||||
|
||||
本轮用于收集偶发 FCP 加载卡死证据,保留既有调色及宿主回调逻辑,未宣称修复卡死。暂未加入登录、授权或业务加密模块。共享会员后台不变,公测使用独立产品路由与日志表。主 APP 启动时检查更新,插件使用期间不会自动替换正在运行的组件。
|
||||
|
||||
要求 Apple Silicon、macOS 14.6 或更新。固定安装位置 `/Library/Plug-Ins/FxPlug/大鱼调色.app`;主/插件 ID 为 `com.dayu.color`、`com.dayu.color.XPC`。APP 实际编译源码 `a0f37578f73d7f8faa872d9a81009e2d6586a858`。Metal 与模板 SHA 与1.6.1一致。
|
||||
|
||||
395项原生检查通过;正式路径 UI、诊断关闭/恢复/手动发送、3秒退出、FCP 12.4 界面与曝光调整/还原通过,云端已实际收到插件首次渲染记录。另有66项更新/隐私/完整签名安装包检查、20项后端契约检查,以及线上接收与去重验证。单次本机加载正常不能证明偶发卡死已经解决。
|
||||
|
||||
APP 公证 `777a5c05-4936-4b14-b8e8-0c789c1df05c` Accepted;PKG 公证 `04082e26-663d-4408-85da-63736d079aa2` Accepted;签名、票据、Gatekeeper 和展开验包通过。本轮正式 APP 已直接安装及宿主验收,PKG 已验包,未重复执行系统安装脚本。
|
||||
|
||||
发行包 `大鱼调色-1.7.0.pkg`,40,898,751字节;SHA-256 `a3578ee95aa7333e64d556061173fb73a42be0e45442ae844c94147b421d34bb`。
|
||||
|
||||
公测下载:https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-7-0-45.pkg
|
||||
|
||||
日志后台:https://dayu.media/wp-admin/tools.php?page=dayu-color-beta (管理员)。反馈用户可附主 APP 显示的报告标识和发生时间,便于关联同一次加载过程。
|
||||
@@ -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`。
|
||||
@@ -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`。
|
||||
@@ -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`。
|
||||
@@ -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`。
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
+6
-3
@@ -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)
|
||||
@@ -76,8 +79,8 @@ def main():
|
||||
appearance=dict(title="大鱼调色", subtitle="适用于 Final Cut Pro 与 Motion 的原生调色效果",
|
||||
badgeImage=str(ROOT / "design/dayu-color-app-icon-v1.png"), authorContact="https://dayu.media"),
|
||||
pages=dict(welcome="安装大鱼调色 " + version + ",包含原生 FxPlug 调色插件和 Final Cut Pro 效果入口。",
|
||||
readme="系统要求:macOS 14.6 或更高版本。本发行构建适用于 Apple Silicon Mac。\n\n安装内容:\n/Library/Plug-Ins/FxPlug/大鱼调色.app\n登录用户“影片/Motion Templates/Effects/大鱼调色”中的效果模板与预览图。\n\n重新打开 Final Cut Pro 后,在“效果 → 大鱼调色”中应用;Motion 中可选择原生滤镜。\n本安装包不包含用户自选 LUT、预设或媒体文件。",
|
||||
license="", conclusion="大鱼调色已安装。请完成插件 APP 的系统提示,随后退出并重新打开 Final Cut Pro / Motion。\n如果效果未出现,可在访达打开 /Library/Plug-Ins/FxPlug/大鱼调色.app 后再次启动宿主。"))
|
||||
readme="系统要求:macOS 14.6 或更高版本。本发行构建适用于 Apple Silicon Mac。\n\n安装内容:\n/Library/Plug-Ins/FxPlug/大鱼调色.app\n登录用户“影片/Motion Templates/Effects/大鱼调色”中的效果模板与预览图。\n\n重新打开 Final Cut Pro 后,在“效果 → 大鱼调色”中应用;Motion 中可选择原生滤镜。\n本安装包不包含用户自选 LUT、预设或媒体文件。\n\n公测诊断默认开启,可在主 APP 关闭。仅发送版本、系统环境、加载耗时与本插件错误摘要到 dayu.media;不发送素材、预设或账号,保留30天。主 APP 启动时检查更新,新版由用户确认安装。",
|
||||
license="", conclusion="大鱼调色已安装。主 APP 自动注册插件,成功后显示3秒倒计时退出。可点击“打开 FCP 检查”保留窗口,并在宿主中实际检查效果。"))
|
||||
manifest_path = CACHE / "dayu-color-package-manifest.json"
|
||||
manifest_path.write_text(json.dumps(manifest, ensure_ascii=False, indent=2) + "\n")
|
||||
command = ["/usr/bin/python3", str(skill / "package_fxplug.py"), "--repo", str(forge), "--manifest", str(manifest_path)]
|
||||
|
||||
@@ -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())
|
||||
@@ -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()
|
||||
@@ -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预览,会员免费"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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 -->
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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 |
@@ -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,示波器"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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 后安装。"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
## 大鱼调色 1.13.0(83)
|
||||
|
||||
- 画布右下角新增仿制图章。点击画面选取样中心,再拖出带羽化的椭圆覆盖区域。可以叠加多个图章。
|
||||
- 选中图章后,可在画布上向前、向后或双向跟踪。覆盖区域随轨迹移动、缩放和旋转,取样中心固定。工作区可调整强度、羽化、位置和大小,或清除轨迹、停用和删除图章。
|
||||
- 缩小空闲画布浮层的位图范围,减少工具状态刷新中的重复编解码。
|
||||
|
||||
本公测版本适用于 Apple Silicon Mac,要求 macOS 14.6 或更高版本。安装前保存剪辑并正常退出 Final Cut Pro 或 Motion。
|
||||
|
||||
安装包 SHA-256 `7999233dd4a3b797a879cc0f37a20f0c35f925c5f6823720b40e684464a452e8`,45,350,463 字节。
|
||||
@@ -0,0 +1,9 @@
|
||||
## 大鱼调色 1.13.1(85)
|
||||
|
||||
选中仿制图章后,可拖动青色取样十字来调整取样位置。松手后重新取样并保存为一次撤销,按 Esc 可取消拖动。覆盖区域及已有位置轨迹随项目保留。
|
||||
|
||||
图章按 1:1 像素平移复制。改变椭圆宽高只改变覆盖范围,跟踪只移动目标中心。原画面的像素尺寸和方向保持一致。
|
||||
|
||||
本公测版本适用于 Apple Silicon Mac,要求 macOS 14.6 或更高版本。
|
||||
|
||||
安装包 SHA-256 `8a19afadda6317d186541f37a221c46261a22ddabcdddec90d02e1315b693965`,45,352,349 字节。
|
||||
@@ -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`。
|
||||
@@ -1,12 +1,138 @@
|
||||
# 大鱼调色
|
||||
|
||||
原生 FxPlug 4 调色器,当前正式安装版本 **1.4.1(26)**。唯一安装位置为 `/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)。
|
||||
|
||||
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)。
|
||||
|
||||
## 胶片模拟与通道混合器
|
||||
|
||||
新增可重复的胶片模拟和通道混合器,现有调色、蒙版、区域跟踪和相邻叠层保留。每个新工具都有独立眼睛、折叠、复位、蒙版、数量标记和“再加一层”;新增层从默认值开始。
|
||||
|
||||
通道混合器按红、绿、蓝输出分组,每个输出有三个输入系数,并提供保持亮度、保持饱和度和混合强度。胶片包含减色、晕光、辉光、颗粒、暗角五组,各自启停;颗粒支持精确帧时间、1–5帧保持和固定种子。默认保持中性,旧工程缺省不改变画面。
|
||||
|
||||
本机Color Finale 2.16.2的相关数学已单独取证并对照,产品独立构建,不加载原版APP或原版二进制。新阶段位于既有显示域链之后;减色/颗粒沿用本工程sRGB边界,其余在线性域。活跃减色沿用原核的0–1限幅;不宣称与原版全部ACES管理路径完全等价。1.6.0追加第六页“印片”:Kodak2383、Kodak2393、Kodak2302 BW、Fuji3510、Fuji3513、Fuji3519、Fuji3521、AgfaCP30,支持独立强度,默认“无”。以明确的Rec.709线性↔AP1/ACEScct边界接入原版LMT颜色函数;不代表原版完整CMS/ODT链。
|
||||
|
||||
完整预设升级为v6,兼容v1–v5。纯通道矩阵、减色和印片可导出Cube;活跃晕光、辉光、颗粒、暗角和蒙版不能保存为静态Cube,导出时说明原因。
|
||||
|
||||
349项原生检查、四种尺寸184项原版组件对照通过。FCP12.4验证旧234参数、LUT路径、蜘蛛盘和全部287键蒙版载荷不变;新增层默认值、蒙版数量、折叠、删除撤销/重做、冷重开通过。1920×1080正式导出验证“两帧保持”,组合预设8987字节及颗粒预设8420字节重开前后逐字节一致。见[研究与边界](research/ColorFinaleFilmMixer.md)、[组件对照](verification/FilmMixerReference.json)、[宿主验收](verification/HostFilmMixer1.5.0.json)。
|
||||
|
||||
历史 1.6–1.7 的 FCP 新实例、全部还原及新加一级层的自动色调映射默认开启;旧独立一级层的缺省关闭保持;FCP沿用模板默认值的旧主效果会跟随为开启,新版中手动关闭后可独立保存并在冷重开后保留。在主标题区增加可点击的“更多插件访问 https://dayu.media”。
|
||||
|
||||
## 1.6.0 八种印片与简洁模板
|
||||
|
||||
正式安装395项原生检查和四尺寸136项原版印片颜色函数对照通过,最大线性RGB绝对差0.000004828。FCP12.4逐个选择八种外观、独立印片层、100帧椭圆蒙版跟踪、折叠计数、删除/撤销/重做通过;彩色、黑白、蒙版叠层三段ProRes共300帧完整解码,黑白RGB通道完全一致。八外观候选36冷重开后8474、8456、32554字节三份预设分别逐字节一致;八外观候选36升级时276个用户参数及既有路径/蜘蛛盘/蒙版载荷保持;最终39版三组预设仅自动映射默认0→1,其余277项值及全部载荷保持。
|
||||
|
||||
按用户要求移除MOEF作者和网站两行,已有实例与新实例均已确认。模板采用真实原生样本支持的ozml5.11 / Motion5.4.5格式,保留自定义检查器和混合。FCP12.4加载和渲染通过;低版本FCP未实机测试,程序仍要求Apple Silicon / macOS14.6或更新。全局技能检查器不支持5.11,原始guard报告保留;项目原生字段验证与宿主验收分别记录。
|
||||
|
||||
见[印片来源与适配](research/PrintLooks1.6.0.md)、[原版对照](verification/PrintLooksReference.json)、[正式宿主验收](verification/HostPrintLooks1.6.0.json)、[模板兼容验证](template/verification/Compatibility.json)。
|
||||
|
||||
## 蒙版折叠与标题标记
|
||||
|
||||
蒙版面板随所属模块一起折叠,展开后恢复已有控件。标题栏蒙版按钮旁显示已添加的蒙版数量,无蒙版时隐藏标记;原模块与独立叠层分别计数,已停用的蒙版也计入数量。标记在折叠后仍可见,不改变蒙版和轨迹。
|
||||
|
||||
1.4.3正式路径293项既有原生检查通过;FCP12.4验证原模块、独立层、删除到零/撤销、折叠后数量标记及冷重开,完整预设逐字节一致。当前用户设置中的286个轨迹键保留。见[本轮宿主验收](verification/HostMaskFolding1.4.3.json)。
|
||||
|
||||
## 1.4.2 跟踪修复
|
||||
|
||||
中间帧启动直接使用宿主分析首帧,预览缓存缺失或陈旧不会阻止开始。真实素材的细纹运动采样和拟合容差已调整,仍保留可信度与错误变换保护。失跟说明原因与保留帧数;正常取消标记结束宿主后台任务。单帧跟踪会把源时间转换到时间线位置,支持片段前有其它内容时连续操作。
|
||||
|
||||
1.4.2的293项原生检查和19项独立CPU/Metal跟踪检查通过。该版FCP12.4实测同一4K素材中间双向285键、首帧正向285键;取消后重启、失跟后连续重试、边界停止与连续单帧通过,后台任务正常闲置。正常退出冷重开后完整预设逐字节一致。APP已公证、粘附票据并安装;安装包与Release结果见对应版本验证记录。用户媒体、预设和项目快照只保存在本机。
|
||||
|
||||
## 色彩管理与一级调色
|
||||
|
||||
前段已改为 **输入转换 → 工作空间一级调色 → 输出转换**,复用大鱼 CST 仓库的固定源码与原生 GPU 数学。曲线和色域独立选择,工作空间统一供一级调色及输出使用,不经相机还原 LUT 近似。
|
||||
|
||||
新实例输入为 Sony S-Log3 / S-Gamut3.Cine,输出为 Gamma 2.4 / Rec.709,工作空间为 DaVinci Intermediate / DaVinci Wide Gamut,自动色调映射关闭。请按素材实际编码选择相机输入;不会根据片段或曲线名称猜测、覆盖手选色域。一级调色包含曝光、色彩平衡、饱和度、对比度与轴心、分区影调、黑白点、趾部/肩部压缩。输入、工作空间和输出已合并到一级调色卡片,四个旁路选项移除,由一级眼睛统一启停。一级白平衡改用原 CST 色轮,支持精细拖动、方向键微调、双击复位,以及可见的“复位”按钮;按钮只重置一级白平衡。
|
||||
新实例输入为 Sony S-Log3 / S-Gamut3.Cine,输出为 Gamma 2.4 / Rec.709,工作空间为 DaVinci Intermediate / DaVinci Wide Gamut,自动色调映射默认开启。请按素材实际编码选择相机输入;不会根据片段或曲线名称猜测、覆盖手选色域。一级调色包含曝光、色彩平衡、饱和度、对比度与轴心、分区影调、黑白点、趾部/肩部压缩。输入、工作空间和输出已合并到一级调色卡片,四个旁路选项移除,由一级眼睛统一启停。一级白平衡改用原 CST 色轮,支持精细拖动、方向键微调、双击复位,以及可见的“复位”按钮;按钮只重置一级白平衡。
|
||||
|
||||
CST 后的基础调整、HSL、曲线、色轮、五层风格 LUT 等仍属于既有显示域调色链。保留肤色保护、三原色、色阶、黑白、自动调色、吸管、预设和 Cube 导出。Cube 导出包含 CST、一级调色(含白平衡色轮)、蜘蛛盘及其它已启用的逐像素颜色操作。折叠不影响导出,眼睛关闭的模块不计入;纹理、清晰度、去朦胧和逐画面统计不写入 LUT。导出为 33³ Cube,应应用于与导出时相同编码的输入,避免重复叠加 CST/一级处理。
|
||||
|
||||
@@ -24,13 +150,13 @@ LUT 缩略图浏览器使用宿主的独立可调整窗口:拖动标题栏移
|
||||
|
||||
## 每工具蒙版与再次添加工具
|
||||
|
||||
十二个模块标题均有“添加蒙版”和“再加一层”。新增工具紧接点击的原工具或新增工具插入,从本工具的初始化参数开始,拥有独立启停、折叠、复位、删除、LUT 和蒙版;不会复制原层当前设置。新增一级采用 Rec.709/Gamma 2.4 同域输入输出,新增肤色保护强度为零。
|
||||
十四个模块标题均有“添加蒙版”和“再加一层”。新增工具紧接点击的原工具或新增工具插入,从本工具的初始化参数开始,拥有独立启停、折叠、复位、删除、LUT 和蒙版;不会复制原层当前设置。新增一级采用 Rec.709/Gamma 2.4 同域输入输出,新增肤色保护强度为零。
|
||||
|
||||
蒙版包括椭圆、矩形、钢笔、线性渐变、HSL 和亮度选区,支持相加、减去、相交、反转、羽化和强度。矩形、椭圆和闭合钢笔区域可正向、反向、双向或单帧跟踪。算法从“大鱼调色盘”固定源码适配,随本产品独立构建;不依赖安装父插件。完整预设 v4 保存新增工具、蒙版和逐帧轨迹,兼容旧预设。空间蒙版不能导出到 Cube,导出时会提示。
|
||||
蒙版包括椭圆、矩形、钢笔、线性渐变、HSL 和亮度选区,支持相加、减去、相交、反转、羽化和强度。矩形、椭圆和闭合钢笔区域可正向、反向、双向或单帧跟踪。算法从“大鱼调色盘”固定源码适配,随本产品独立构建;不依赖安装父插件。完整预设 v6 保存新增工具、蒙版和逐帧轨迹,兼容旧预设。空间蒙版不能导出到 Cube,导出时会提示。
|
||||
|
||||
蒙版检视器采用13pt参数文字和数值、32–36pt按钮、独立整行滑杆及两列跟踪操作。钢笔菜单直接进入绘制态,可点击放点、拖出曲柄、点首节点/Return/“完成绘制”闭合,Esc/取消保留原路径;支持重画、Delete回退和即时预览。跟踪改进实际路径搜索边界、300点特征、亚像素精炼和21×21光流,分析采样上限3840×2160。
|
||||
蒙版检视器采用13pt参数文字和数值、32–36pt按钮、独立整行滑杆及两列跟踪操作。钢笔菜单直接进入绘制态,可点击放点、拖出曲柄、点首节点/Return/“完成绘制”闭合,Esc/取消保留原路径;支持重画、Delete回退和即时预览。跟踪改进实际路径搜索边界、300点特征、亚像素精炼和21×21光流,运动分析按显示比例限制到1280×720,4K细纹先低通再缩小,调色渲染和输出分辨率保持原设置。
|
||||
|
||||
正式版281项原生检查、独立CPU/Metal跟踪18项通过。FCP实测相邻插入、初始化与独立参数、大号面板、绘制态切换、钢笔蒙版正向99键、一次撤销/重做及保存重开完整预设一致。画面提示文字方向已修正。自动化鼠标没有触发FCP画面回调,实际鼠标钢笔落点/闭合仍待用户确认,不能将模拟宿主通过写成实机手势通过。1.4.0的中心拖动已有用户确认。新增工具标量仍为静态值,蒙版轨迹按时间求值,跟踪不含透视/剪切。
|
||||
1.4.1的281项原生检查、独立CPU/Metal跟踪18项通过。FCP实测相邻插入、初始化与独立参数、大号面板、绘制态切换、钢笔蒙版正向99键、一次撤销/重做及保存重开完整预设一致。画面提示文字方向已修正。用户随后用实际鼠标确认“可以绘制并闭合”,钢笔放点和闭合实机验收通过;自动化输入未进入OSC回调,曲柄/删除等其它手势仍以原生模拟宿主检查为据。1.4.0的中心拖动已有用户确认。新增工具标量仍为静态值,蒙版轨迹按时间求值,跟踪不含透视/剪切。
|
||||
|
||||
旧schema1末尾层保持原保存位置与渲染,避免改变旧工程外观;新添加的层使用schema2插入锚点。原生固定模块的既有处理顺序保留。当前实现参考本机Color Finale的行为和参数独立适配,并非全部功能完整移植;B样条、编组、人物/图像/外部蒙版及完整轨迹区段编辑等差异见专项清单。
|
||||
旧模板实例可能保留关闭画面控件的状态;可先保存完整预设,再重新应用新版效果并载入预设。不会自动覆盖旧实例。实现与验收边界见 [实现说明](research/ToolMaskImplementation.md)、[宿主记录](verification/HostToolMasks.json) 和 [恢复核验](verification/ToolMaskRecovery.json)。
|
||||
@@ -38,9 +164,12 @@ LUT 缩略图浏览器使用宿主的独立可调整窗口:拖动标题栏移
|
||||
## 验证与恢复
|
||||
|
||||
- [本轮交接](大鱼调色FxPlug4交接.md)
|
||||
- [1.4.1 正式版 281 项原生检查](verification/InstalledSelfTest.json)
|
||||
- [当前正式路径原生检查](verification/InstalledSelfTest.json)
|
||||
- [中间帧与真实素材跟踪修复](research/TrackingMidpoint1.4.2.md)
|
||||
- [跟踪宿主验收](verification/HostTrackingMidpoint1.4.2.json)
|
||||
- [跟踪源码独立恢复](verification/TrackingMidpointRecovery.json)
|
||||
- [插入、钢笔和跟踪工作流](research/MaskWorkflow1.4.1.md)
|
||||
- [1.4.1 FCP验收及实际鼠标缺口](verification/HostMaskWorkflow1.4.1.json)
|
||||
- [1.4.1 FCP验收及用户实际钢笔确认](verification/HostMaskWorkflow1.4.1.json)
|
||||
- [Color Finale对照和未迁移范围](research/ColorFinaleMasksFollowup.md)
|
||||
- [1.4.1远端源码独立恢复](verification/MaskWorkflowRecovery.json)
|
||||
- [每工具蒙版、跟踪、保存重开与用户实际拖动](verification/HostToolMasks.json)
|
||||
@@ -62,6 +191,6 @@ LUT 缩略图浏览器使用宿主的独立可调整窗口:拖动标题栏移
|
||||
|
||||
正式发行包由 PKG 工坊技能生成,包含 APP 与 FCP 模板,不含用户 LUT、预设或媒体。安装与发布证据分别保存在 [Package.json](verification/Package.json) 和 [Release.json](verification/Release.json);以其中记录的版本和成功状态为准。
|
||||
|
||||
正式发行包:[大鱼调色-1.4.1.pkg](../发行包/大鱼调色-1.4.1.pkg);APP与PKG均已签名、公证、粘附票据和通过Gatekeeper,20项展开验包通过;Release下载核验以本轮Release.json记录为准。历史[1.4.0 Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.4.0-tool-masks-20261101)及更早发行包和标签保留。
|
||||
历史发行包:[大鱼调色-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 另在独立合成工程中完成上文的宿主检查,用户确认中心拖动后保留其试调状态。
|
||||
+324
-3
@@ -1,6 +1,309 @@
|
||||
# 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.4.1(26):相邻插入、蒙版可读性与钢笔流程
|
||||
## 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.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或子模块。
|
||||
|
||||
主界面、显式注册、精确路径回读和3秒倒计时通过;独立用户FCP确认单独记录,不把登记当作渲染验收。调色/Metal/模板未改,395项正式原生检查通过。证书、私钥和公证凭据需独立恢复,不在Git中;准备本机签名身份与profile后用tools/deliver.py进行Release构建和正式交付。
|
||||
|
||||
通过克隆仓库并 `git switch --detach 90d6022520c59ea34f42b511daee85ac2936cfd9` 可恢复实际编译节点;`verification/Delivery.json`、MainApp1.6.1.json、MainAppRecovery1.6.1.json分别记录安装、UI/登记及远端恢复。正式PKG `大鱼调色-1.6.1.pkg`,40,854,422字节,SHA-256 `d075373d672b8f0146b98f3151c9f74cd6b97e8a1081e0d0796f53af7f291da0`;PKG公证7315225d-a350-4c65-9e87-5784035ea018 Accepted,20项展开检查通过。未再次执行系统安装器。发行标签 `v1.6.1-main-app-20261102` 对应完整提交 `5d9a4ad7072c1d30f9f8d589719939e2efbcd53c`,[Release374](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.6.1-main-app-20261102) / 附件19已发布;正常浏览器草稿下载及发布后的完整下载均核对大小、SHA-256一致,附件URL见verification/Release.json。独立恢复304文件逐字节核对、full/strict fsck通过,102个APP/工程文件与实际编译节点90d6022520c59ea34f42b511daee85ac2936cfd9一致。临时回滚APP、下载和恢复副本已清理,历史发行包及用户QA资料保留,见MainAppCleanup1.6.1.json;FCP实际使用已由用户于2026-11-02明确回复“已确认正常”,详见verification/HostUserConfirmation1.6.1.json;APP、安装包及发行标签未改变。
|
||||
|
||||
## 历史1.6.0(39):八种印片、低版本模板与默认映射
|
||||
|
||||
远程 `https://dayu.media/git/dayu/dayu-color.git`,main;发行标签 `v1.6.0-print-looks-20261102`。APP实际编译源码 `e5affd3f097fc96f87f41be8e1a3f131ed01daeb`,公证 `5d74c04c-8a30-47e9-822d-4f616dfdee56` Accepted。APP和内部XPC固定ID、唯一正式路径与签名团队不变。正式395项自检、独立原版136项印片对照、FCP12.4八外观/叠层/蒙版100键跟踪/三个完整导出与冷重开通过,见 `verification/HostPrintLooks1.6.0.json`。
|
||||
|
||||
完整八份65³印片数据、独立导入器、原生Metal/CPU采样和矩阵均在Git,无LFS/子模块;恢复不依赖ColorFinale安装或REA缓存。完整旧1296字节GPU前缀保留,预设v6读取v1–v5,新参数缺省中性。原版CI半透明链与产品预乘合同的适配边界保存在 `research/PrintLooks1.6.0.md` 和完整对照报告中。
|
||||
|
||||
FCP新效果、全部还原和新加一级层自动映射默认开启。宿主参数保留历史注册默认0,新MOEF显式value1/default0,保持原生参数存储合同;新一级层显式保存1,旧独立层缺省0。FCP沿用模板默认的旧主效果实测也采用开启,三份旧预设仅此默认0→1,其余277值及所有自定义载荷保持;不宣称模板默认改变后旧主效果完全逐字节不变。手动关闭后冷重开保持。主标题可点击“更多插件访问 https://dayu.media”。
|
||||
|
||||
MOEF去掉作者/网站Rig,输出5.11 / Motion5.4.5,有真实本机模板字段证据。全局技能检查器仅因不识别5.11停止,未伪造通过;项目级验证及当前FCP12.4加载/渲染通过。旧FCP未实机验证,APP最低Apple Silicon/macOS14.6。恢复执行 `python3 tools/build_template.py --overwrite` 和 `python3 tools/verify_template.py`;固定发布模板与正式安装资源逐字节一致。
|
||||
|
||||
远端编译节点已独立恢复294文件、全字节比较、full/strict fsck、Release构建和393检查;低版本模板重建摘要完全一致,见 `verification/PrintLooksRecovery.json`。最终标签恢复与安装包Release下载见 `verification/PrintLooksReleaseRecovery.json` / `Release.json`。用户完整预设、FCP资源库和导出仅在本机fcp-qa缓存,不在Git或PKG。PKG仅生成并展开验包,未再次执行系统安装器;正式APP已有独立安装和宿主验收。
|
||||
|
||||
恢复新机器时正常登录大鱼站取得相同权限凭据,克隆后 `git switch --detach <所需完整提交SHA>`,按Xcode/FxPlug SDK构建。签名证书和私钥须独立恢复,Git不能替代;当前证据以发布记录的标签SHA和编译SHA为准。
|
||||
|
||||
## 历史1.5.0(34):胶片与通道混合器
|
||||
|
||||
正式路径 `/Library/Plug-Ins/FxPlug/大鱼调色.app`;Bundle ID `com.dayu.color` / `com.dayu.color.XPC`。实际编译源码 `06d531c443b0bb2f179022a4e64148394f5d0690`;APP公证 `164abf2b-4e67-4504-b72a-04122da9e381` Accepted,签名、票据和Gatekeeper通过。安装与启动从唯一正式位置执行,FCP12.4已验收,记录见 `verification/Delivery.json` 与 `verification/HostFilmMixer1.5.0.json`。
|
||||
|
||||
主分支远程 `https://dayu.media/git/dayu/dayu-color.git`,无LFS或子模块。新增胶片与RGB混合的全部源码、Metal、参数/模板均在仓库,不依赖本机Color Finale、REA缓存或父工程。42个参数追加,944字节GPU前缀和1104字节旧版完整前缀保持。恢复时使用固定标签/提交,证书与私钥须单独恢复,不能由Git替代。
|
||||
|
||||
远端独立clone已完成Release构建及349项检查,四种尺寸原版组件对照184项通过。组件证据、域/顺序及限制见 `research/ColorFinaleFilmMixer.md`。当前用户媒体、完整预设、FCP资源库和验收导出只在本机,不进入仓库或安装包。安装包与Release元数据见本轮Package/Release记录。
|
||||
|
||||
正式PKG `../发行包/大鱼调色-1.5.0.pkg`,14,380,104字节,SHA-256 `3ecabc7a8bfd675b228a5f00016aa17a35b65b544055e57793ec3bff3d7e0294`;PKG公证 `05f849da-5567-4351-9556-742d17b95723` Accepted,签名、票据、Gatekeeper与20项展开验包通过。本轮未再次运行系统安装器,正式APP已有独立安装和宿主验收。发行标签 `v1.5.0-film-mixer-20261102` 对应 `85b6590944c4fb64825cf45f61c5280d4ffaa824`;[Release372](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.5.0-film-mixer-20261102) / 附件17已经草稿正常网页下载及发布后完整下载,大小与SHA-256一致,仓库可见性不变。远端发行标签264文件逐字节核对及full/strict fsck通过,见 `verification/FilmMixerReleaseRecovery.json`;该标签与完成Release构建及349项检查的恢复节点之间,程序源码未改变,仅交付脚本的失败诊断记录改进及文档/验证记录更新。恢复clone、独立构建目录和下载副本已清理,唯一正式APP及历史安装包保留,见 `verification/FilmMixerCleanup.json`。
|
||||
|
||||
## 历史 1.4.3(33):蒙版折叠与数量标记
|
||||
|
||||
当前正式版1.4.3(33),APP实际编译源码 `26a888f4534792481c6a9933091cb0b23307cd24`,公证 `e755670d-8fb3-46d2-95c3-1206f014d16d` Accepted。签名、票据、Gatekeeper、唯一正式安装及正式路径293项既有原生检查通过。正式位置和Bundle ID不变。
|
||||
|
||||
修复模块折叠时蒙版面板仍显示的问题;内容高度和行显示都遵循模块折叠状态。标题蒙版按钮旁新增已添加数量标记,无蒙版时隐藏;原模块和独立层各自计数,停用蒙版仍计入,折叠后保留标记。状态徽标不拦截鼠标,按钮提示和辅助说明同步数量。未改渲染、跟踪算法或数据结构。
|
||||
|
||||
FCP12.4验证用户现有蜘蛛盘蒙版的收起/展开,完整77276字节预设与修改前逐字节一致,286个轨迹键保留;独立合成片段验证原HSL2个蒙版(含1个停用)、独立HSL1个,分别折叠/展开,删除2→1→0与撤销0→1→2即时刷新。两层折叠后蒙版面板为0,数量2/1保留。正常退出冷重开,完整8471字节预设前后及重开均逐字节一致。未强制结束宿主。32版为折叠修复候选,33版纳入用户补充的数量标记;32未发布。
|
||||
|
||||
入口:[本轮说明](research/MaskFolding1.4.3.md)、[正式宿主验收](verification/HostMaskFolding1.4.3.json)、[远端源码恢复](verification/MaskFoldingRecovery.json)、[副本清理](verification/MaskFoldingCleanup.json)。远端独立恢复240个文件并比较全部字节、full/strict fsck、原生模型模板和Metal重建通过;着色器摘要沿用上一版且与正式库一致。用户媒体和预设留在本机,无LFS/子模块。PKG和Release最终结果以对应版本验证记录为准。
|
||||
|
||||
|
||||
|
||||
本轮正式安装包 `../发行包/大鱼调色-1.4.3.pkg`,14,340,650字节,SHA-256 `41bba698a70a7629438688a4be74947f424f3af04190090c44f248827b4c3bb2`;PKG公证 `f9218078-8fd0-4a0c-9240-4b1acf7d9655` Accepted,签名/票据/Gatekeeper与20项展开验包通过。APP已有独立正式安装及宿主验收,本轮未再次运行系统安装器。Release标签 `v1.4.3-mask-fold-20261102` 已发布,标签提交 `301b31438e8da95dc4e6e1c09498ad814a0ebcfc`;[Release371](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.4.3-mask-fold-20261102) / 附件16在草稿和发布后均完整下载校验14,340,650字节及SHA-256一致。发行标签已从远端独立恢复244文件,全部字节比较及full/strict fsck通过,见 `verification/MaskFoldingReleaseRecovery.json`。核验下载副本和恢复clone已清理,仓库可见性不变。
|
||||
|
||||
## 历史 1.4.2(31):真实素材与中间起点跟踪
|
||||
|
||||
当前正式版1.4.2(31),APP实际编译源码 `123a6c85078e8aa41fe55577b6dab5622ed7d128`。APP公证 `0bb9a94e-c54a-4d87-95ec-51338579c04f` Accepted,签名、票据、Gatekeeper、唯一正式安装及正式路径293项原生检查通过。固定位置 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,Bundle ID和签名团队不变。PKG与Release最终结果见对应版本记录。
|
||||
|
||||
中间起点以宿主分析首帧为准,不再依赖预览缓存。4K细纹先低通再按比例缩到最高1280×720运动分析,调色渲染输出分辨率不变;拟合容差与置信度一致归一化,保留失效与过期写入保护。失跟显示具体原因、保留可信帧数并正常结束宿主任务;首帧反向使用有效种子范围正常结束;单帧经源时间到时间线转换,已有相同轨迹也正常前进。
|
||||
|
||||
FCP12.4正式31版在同一4K60素材的25p时间线中:中间双向285键、首帧正向285键;取消保留159键后任务闲置,可重新跟完整段;切换画面在2秒失跟、保留50键,连续重试无弹窗且任务闲置。带4秒前置片段的连续单帧7:17→7:18→7:19→7:18;首帧反向保持响应。正常退出冷重开完整预设77087字节逐字节一致。原工程、原媒体与原65键设置保留,验收只在独立副本进行。候选27–30发现的生命周期、单帧和边界问题均有记录,未发布候选包。
|
||||
|
||||
新增层相邻插入、加大的蒙版面板、实际鼠标钢笔/中心拖动确认等1.4.1与1.4.0历史保留。仍不是完整Color Finale移植或人物分割,遮挡/变形可能需要手工修正再从当前帧继续。Motion、Intel、变速/裁剪/非方像素工程未实机验收。
|
||||
|
||||
入口:[实现与边界](research/TrackingMidpoint1.4.2.md)、[正式宿主验收](verification/HostTrackingMidpoint1.4.2.json)、[原生及离线聚合](verification/TrackingMidpoint1.4.2.json)、[编译源码远端恢复](verification/TrackingMidpointRecovery.json)、[本轮清理](verification/TrackingMidpointCleanup.json)、[恢复方法](RECOVERY.md)。
|
||||
|
||||
|
||||
从大鱼远程克隆 main 后检出上述实际编译SHA,构建方法沿用本文件下文。已独立恢复233个提交文件并核对每个字节,full/strict fsck、原生模型模板与Metal重建通过;着色器SHA `b3258b903ed485b4b738a823a7de929bca9380365ad2de9c2c7781660293df7e` 与正式库一致。无LFS/子模块,恢复clone已清理。用户媒体、预设、签名私钥不在Git中。
|
||||
|
||||
|
||||
本轮正式PKG `../发行包/大鱼调色-1.4.2.pkg`:14,339,640字节,SHA-256 `d137e3516b9c4abc1e6959b83693f5ed09e040cf018b2e29508cc92246fe76f2`;PKG公证 `2de9f8bb-91b5-41dc-924c-1136ae7bf73f` Accepted,签名/票据/Gatekeeper与20项展开验包通过。本轮未再次运行系统安装器,正式APP已有独立安装与宿主验收。Release标签 `v1.4.2-tracking-midpoint-20261102` 已发布,标签提交 `38bf12326e74f2f026bc4c7627729121b6aa261d`;[Release370](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.4.2-tracking-midpoint-20261102) / 附件15在草稿与发布后均完整下载核对14,339,640字节及SHA-256一致,仓库可见性保持原状。发行标签从远端独立恢复237个文件,见 `verification/TrackingMidpointReleaseRecovery.json`,全部字节比较和full/strict fsck通过;核验下载副本与恢复clone已清理。
|
||||
|
||||
## 历史 1.4.1(26):相邻插入、蒙版可读性与钢笔流程
|
||||
|
||||
APP实际编译 `0eb56aed126c825ca89712ce90f8cc1c05b03d89`,公证 `1ddc5499-2da3-4d98-8b2d-09272b0ee326` Accepted;票据、Gatekeeper、唯一正式安装和安装后281项原生检查通过。正式路径、Bundle ID和签名团队不变。PKG/Release以当前验证JSON的版本和成功状态为准。 本轮发行标签 `v1.4.1-mask-workflow-20261101`;包 `../发行包/大鱼调色-1.4.1.pkg`,14,337,616字节,SHA-256 `0c167aba339bbfdd9c4cbd96aea384e2d43f6d498629ebaf7b1c18cbc6dca5c6`。PKG公证 `9a5ff448-2ac1-444e-b993-2928cf8c333f` Accepted,票据/Gatekeeper与20项展开验包通过;本轮未再次执行系统安装器。
|
||||
|
||||
@@ -8,9 +311,9 @@ APP实际编译 `0eb56aed126c825ca89712ce90f8cc1c05b03d89`,公证 `1ddc5499-2d
|
||||
|
||||
蒙版面板扩大文字/数值和按钮,钢笔有明确的绘制、完成、取消与重画状态;实时草稿不调用宿主API,完成后单次提交。跟踪采用实际路径范围、300特征、亚像素精炼、21×21光流,采样最高3840×2160。Color Finale只读研究与独立适配差异见 `research/ColorFinaleMasksFollowup.md`,并非完整移植所有原版蒙版能力。
|
||||
|
||||
FCP12.4相邻插入、独立初始化参数、面板/绘制态、钢笔蒙版正向99键、一次撤销/重做和冷重开完整预设一致;实际鼠标钢笔落点/闭合待用户确认,自动输入未进入OSC回调。原生281项和独立跟踪18项通过,不等同所有真实素材与手势均已验收。详见 `verification/HostMaskWorkflow1.4.1.json`。
|
||||
FCP12.4相邻插入、独立初始化参数、面板/绘制态、钢笔蒙版正向99键、一次撤销/重做和冷重开完整预设一致;用户实际鼠标钢笔落点/闭合已确认通过,答复“可以绘制并闭合”;自动输入未进入OSC回调。原生281项和独立跟踪18项通过,不等同所有真实素材与手势均已验收。详见 `verification/HostMaskWorkflow1.4.1.json`。
|
||||
|
||||
从远端独立恢复224文件、full/strict fsck,并从恢复源码重建模型/模板及Metal,与正式版着色器一致,见 `verification/MaskWorkflowRecovery.json`。无LFS/子模块;临时clone已清理。中间25版及24版临时APP备份在26版验证后清理,历史正式PKG保留。
|
||||
从远端独立恢复224文件、full/strict fsck,并从恢复源码重建模型/模板及Metal,与正式版着色器一致,见 `verification/MaskWorkflowRecovery.json`。无LFS/子模块;临时clone已清理。中间25版及24版临时APP备份在26版验证后清理,历史正式PKG保留。 发行标签提交 `23d5af7dcfecc9042896a7fa3e8b8b150ed874b8` 已从远端独立恢复228文件并逐字节核对,见 `verification/MaskWorkflowReleaseRecovery.json`。Release369/附件14已经草稿网页和发布后完整下载校验,详见 `verification/Release.json`。
|
||||
|
||||
## 历史 1.4.0(24):每工具蒙版与初始化叠层
|
||||
|
||||
@@ -228,3 +531,21 @@ python3 Packaging/build_pkg.py --pkg-forge-repo /实际/PKG工坊源码目录 --
|
||||
## 蒙版、跟踪与可重复工具的文档交接(2026-11-01)
|
||||
|
||||
文档整理前 main 为 `bbdd47d1d74e241f1f144bb2c245204e86973b3f`。交接标签 `handoff-mask-tracking-tools-20261101` 保存最新 `大鱼调色FxPlug4交接.md` 及 `research/MaskTrackingAndToolStack.md`,区分正式 1.3.1(19)与尚未实现的多个独立 HSL、每实例蒙版和跟踪。本文档提交未重新构建、安装或发布 APP/PKG,不移动原发行标签;父级“大鱼调色盘”只读参考。接续时保护用户当前窗口、布局、LUT 选择和工程。
|
||||
|
||||
正式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"]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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."
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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 -->
|
||||
@@ -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 |
已加载 100/462 个文件。由于本次变更涉及的文件过多,其余文件未显示。
显示更多
在新工单中引用
屏蔽一个用户