比较提交
| 作者 | SHA1 | 提交日期 | |
|---|---|---|---|
|
|
ec81578b25 | ||
|
|
74cc74973b | ||
|
|
38e9fb25a2 | ||
|
|
79f1dd4545 | ||
|
|
039e567aaa | ||
|
|
b57c9fad72 | ||
|
|
5aae670f56 | ||
|
|
6ef38faa19 | ||
|
|
178e1e7d16 | ||
|
|
9f12f7b42a | ||
|
|
f6b488a87d | ||
|
|
3de998257d | ||
|
|
ff4c9ca1c4 | ||
|
|
e0bd8342c0 | ||
|
|
a0225404a2 | ||
|
|
44f6e1f860 | ||
|
|
5ab5e78255 | ||
|
|
4dc2d2a693 | ||
|
|
8ca33a78fd | ||
|
|
b7c2e291ec | ||
|
|
5c0f177bde | ||
|
|
8ca30fa3cc | ||
|
|
ffd6bc3052 | ||
|
|
7f2917393c | ||
|
|
d91f1b176b | ||
|
|
c5d614743a | ||
|
|
a1595caf30 | ||
|
|
f1ce687bcf | ||
|
|
4336454932 | ||
|
|
63c49b0135 | ||
|
|
ef0e62419a | ||
|
|
b6f73ebb66 | ||
|
|
6a979f16a8 | ||
|
|
4b7e348ff5 | ||
|
|
f07b116398 | ||
|
|
9a3559172d |
没有与搜索条件相匹配的文件
@@ -42,6 +42,7 @@
|
||||
"adaptations": [
|
||||
"Dedicated com.dayu.color runtime cache",
|
||||
"Standalone RGBA/alpha header, excluding unrelated layer engine",
|
||||
"No dependency on the sibling installed application"
|
||||
"No dependency on the sibling installed application",
|
||||
"Batch GPU profile prepare, Core Image and restore on the same command buffer for uncancelled render calls"
|
||||
]
|
||||
}
|
||||
@@ -123,9 +123,38 @@ CGColorSpaceRef DYCreateCMSOutputColorSpace(dycm::Output output){
|
||||
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;
|
||||
auto dispatch=[&](id<MTLCommandBuffer>command,id<MTLComputePipelineState>pipeline,NSArray*textures){
|
||||
check(cancelled);
|
||||
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];
|
||||
};
|
||||
auto command=[_queue commandBuffer];
|
||||
dispatch(command,_prepare,@[input,opaque]);
|
||||
// Keep cancellation checkpoints for callers that supply a cancellation flag.
|
||||
if(cancelled){finish(command);command=nil;}
|
||||
auto image=[CIImage imageWithMTLTexture:opaque options:@{kCIImageColorSpace:(__bridge id)_profile.conversionSource,kCIImageToneMapHDRtoSDR:@NO}];
|
||||
auto destination=[[CIRenderDestination alloc]initWithMTLTexture:converted commandBuffer:command];
|
||||
configure(destination,_profile.target);
|
||||
NSError *underlying=nil;
|
||||
CIRenderTask *task=image?[_context startTaskToRender:image fromRect:CGRectMake(0,0,input.width,input.height)
|
||||
toDestination:destination atPoint:CGPointZero error:&underlying]:nil;
|
||||
if(!task){if(error)*error=underlying?:failure(@"系统颜色配置转换未开始");return NO;}
|
||||
if(cancelled){
|
||||
if(![task waitUntilCompletedAndReturnError:&underlying]){if(error)*error=underlying?:failure(@"系统颜色配置转换未完成");return NO;}
|
||||
command=[_queue commandBuffer];
|
||||
}
|
||||
dispatch(command,_restore,@[input,converted,output]);
|
||||
finish(command);
|
||||
if(!cancelled&&![task waitUntilCompletedAndReturnError:&underlying]){
|
||||
if(error)*error=underlying?:failure(@"系统颜色配置转换未完成");return NO;
|
||||
}
|
||||
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;}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"title": "大鱼调色 1.21.1 公测版|首开波形修复与人脸肤色保护提速",
|
||||
"content": "<!-- wp:paragraph -->\n<p>大鱼调色是适用于 Final Cut Pro 和 Motion 的原生 FxPlug 4 调色插件。1.21.1(构建 117)公测版修复片尾暂停时首次打开控制面板没有波形的问题,并加快了人脸肤色保护的预览渲染。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>本文主下载已更新为 1.21.1(构建 117)。同一个 PKG 已包含“大鱼调色”整合效果和全部 16 个独立模块效果,以及所需的完整主 App,无需另外下载安装独立模块。</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>官方原始安装包不加密,不限制安装数量。</strong> 安装和使用无需登录、激活码或机器码。原始 PKG 可以原样转发,请保持安装包完整。禁止二次加密或加上一机一码后分发。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.21.1 首开波形与人脸肤色保护优化</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p><strong>片尾暂停时,打开控制面板即可显示波形。</strong>在 Final Cut Pro 12.4 中,用 60p 素材和 25p 项目复测。停在片尾首次打开及同帧重开,亮度波形、RGB 分列、直方图和矢量图都自动显示,每种各有 57,600 个有效取样。两次打开都无需移动播放头或修改调色。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>开启人脸肤色保护后,减少轮廓计算。</strong>GPU 在实际脸部轮廓的外接范围内计算精细蒙版,保留眼、眉和嘴部的排除规则。下表是 Mac mini M4 上同一人像、开启人脸肤色保护的单帧渲染中位数。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:table -->\n<figure class=\"wp-block-table\"><table><thead><tr><th>分辨率</th><th>优化前</th><th>1.21.1</th></tr></thead><tbody><tr><td>1080p</td><td>308.08 毫秒</td><td>13.47 毫秒</td></tr><tr><td>4K</td><td>1176.07 毫秒</td><td>22.22 毫秒</td></tr></tbody></table></figure>\n<!-- /wp:table -->\n\n<!-- wp:paragraph -->\n<p>每组计时取 12 帧,六组对照的末帧逐字节一致。表中耗时只覆盖插件的肤色保护渲染。正式安装版通过 1008 项原生检查,PKG 已签名、公证并通过 20 项展开检查。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.19.1 默认预览卡顿修复</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>修复整合效果在刚添加、未调整任何参数时明显拖慢预览的问题。默认状态不再执行无效的人脸检测和整帧人脸轮廓蒙版运算;已有参数、预设及模板继续兼容。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>在本机 Apple M4 的相同人像基准中,1080p 单帧平均渲染耗时由约 324 毫秒降至 5.2 毫秒,4K 由约 1249 毫秒降至 17 毫秒。这组数据记录 1.19.1 的默认效果渲染。已启用人脸肤色保护的对照见上方 1.21.1 更新。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>正式版本通过 994 项检查,并在 Final Cut Pro 12.4 中重新添加整合效果复测默认播放。安装包已签名、公证,包含整合效果、16 个独立模块和对应预览图。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">新增独立模块示意</h2>\n<!-- /wp:heading -->\n\n<!-- wp:image {\"id\":15879,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https://dayu.media/wp-content/uploads/2026/11/1793978887-775df3c76d48009.png\" alt=\"Final Cut Pro 效果浏览器中的大鱼调色独立模块,包括基础调整、曲线、HSL、肤色保护与 CST 色彩空间转换\" class=\"wp-image-15879\" width=\"1364\" height=\"748\" /><figcaption class=\"wp-element-caption\">Final Cut Pro「效果 → 大鱼调色」中的独立模块示意</figcaption></figure>\n<!-- /wp:image -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.19.0 全 Apple Vision 跟踪</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p><strong>马赛克蒙版改用 Apple Vision 目标跟踪。</strong>先在“局部马赛克”菜单中勾选目标蒙版,再到控制面板逐个执行正向、反向或双向跟踪。转身时保留蒙版的宽高比例,减少框过度变窄。已有轨迹不会自动改变,需要重新跟踪。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>短时丢失后尝试重新找到目标。</strong>丢失时冻结最后确认的外观,根据之前运动做最多约 0.8 秒的暂时预测;连续两次确认目标后,再用丢失前后位置补齐中间轨迹。超过范围仍未确认则停止,末尾未确认预测不保存为正常关键帧,补齐的片段会提示复核。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>本版同时修复控制面板延后布局访问已释放视图时的插件服务闪退。正式安装后通过 979Line truncated
|
||||
"excerpt": "大鱼调色 1.21.1(117)修复片尾暂停时首次打开控制面板不显示波形的问题,并加快人脸肤色保护渲染。Mac mini M4 同一人像的 4K 单帧中位数从 1176.07 降至 22.22 毫秒。",
|
||||
"resource": {
|
||||
"cao_original_filename": "大鱼调色-1.21.1.pkg"
|
||||
},
|
||||
"seo": {
|
||||
"title": {
|
||||
"value": "大鱼调色 1.21.1 公测版|首开波形修复与人脸肤色保护提速"
|
||||
},
|
||||
"description": {
|
||||
"value": "大鱼调色 1.21.1 公测版适用于 Final Cut Pro 和 Motion。FCP 实测片尾首次打开控制面板即显示四种示波器。Mac mini M4 的 4K 人脸肤色保护单帧渲染中位数由 1176.07 降至 22.22 毫秒。原始 PKG 已签名公证,包含整合效果和 16 个独立模块。"
|
||||
},
|
||||
"keywords": {
|
||||
"value": "大鱼调色,Final Cut Pro,Motion,FxPlug4,调色插件,仿制图章,蒙版跟踪,逐帧预览,示波器,人脸肤色保护"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"title": "大鱼调色 1.21.3 公测版|LUT 高清划像预览与蒙版追踪提速",
|
||||
"content": "<!-- wp:paragraph -->\n<p>大鱼调色是适用于 Final Cut Pro 和 Motion 的原生 FxPlug 4 调色插件。1.21.3(构建 120)公测版新增 LUT 高清缩略图和右侧划像对比,并缩短马赛克目标蒙版的追踪耗时。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>本文主下载已更新为 1.21.3(构建 120)。同一个 PKG 已包含“大鱼调色”整合效果和全部 16 个独立模块效果,以及所需的完整主 App,无需另外下载安装独立模块。</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>官方原始安装包不加密,不限制安装数量。</strong> 安装和使用无需登录、激活码或机器码。原始 PKG 可以原样转发,请保持安装包完整。禁止二次加密或加上一机一码后分发。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.21.3 高清 LUT 预览与划像对比</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>打开“风格 LUT”的缩略图浏览库,勾选底部的“高清预览”。缩略图从 640×360 源帧生成双倍像素图,重开浏览器时会记住此设置。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>选中一个 LUT 后,右侧大图显示同一帧。左侧是应用当前 LUT 前的画面,右侧是 100% LUT 效果。拖动分界线或下方滑杆,即可查看画面细节和颜色差异。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:image {\"id\":15919,\"sizeSlug\":\"full\",\"linkDestination\":\"media\"} -->\n<figure class=\"wp-block-image size-full\"><a href=\"https://dayu.media/wp-content/uploads/2026/11/1794138126-43434ffd5f06df6.png\"><img src=\"https://dayu.media/wp-content/uploads/2026/11/1794138126-43434ffd5f06df6.png\" alt=\"大鱼调色 LUT 浏览器。红色箭头标出高清预览,右侧显示原图与 LUT 的同帧划像对比。\" class=\"wp-image-15919\" width=\"2614\" height=\"1696\" /></a><figcaption class=\"wp-element-caption\">勾选底部“高清预览”,在右侧滑动比较原图与当前 LUT。点击图片可查看原尺寸。</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>Metal 将画面直接写入 Vision 可读的共享像素缓冲,省去每帧的 CPU 像素转换。Mac mini M4 在 Final Cut Pro 12.4 中使用同一段 4K 素材,从点击“正向跟踪”到界面确认保存轨迹,三次热态测试的中位数从 3.682 秒降至 3.217 秒,缩短 12.6%。两版的 285 个轨迹键及导出的 285 帧马赛克画面逐一一致。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.21.1 首开波形与人脸肤色保护优化</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p><strong>片尾暂停时,打开控制面板即可显示波形。</strong>在 Final Cut Pro 12.4 中,用 60p 素材和 25p 项目复测。停在片尾首次打开及同帧重开,亮度波形、RGB 分列、直方图和矢量图都自动显示,每种各有 57,600 个有效取样。两次打开都无需移动播放头或修改调色。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>开启人脸肤色保护后,减少轮廓计算。</strong>GPU 在实际脸部轮廓的外接范围内计算精细蒙版,保留眼、眉和嘴部的排除规则。下表是 Mac mini M4 上同一人像、开启人脸肤色保护的单帧渲染中位数。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:table -->\n<figure class=\"wp-block-table\"><table><thead><tr><th>分辨率</th><th>优化前</th><th>1.21.1</th></tr></thead><tbody><tr><td>1080p</td><td>308.08 毫秒</td><td>13.47 毫秒</td></tr><tr><td>4K</td><td>1176.07 毫秒</td><td>22.22 毫秒</td></tr></tbody></table></figure>\n<!-- /wp:table -->\n\n<!-- wp:paragraph -->\n<p>每组计时取 12 帧,六组对照的末帧逐字节一致。表中耗时只覆盖插件的肤色保护渲染。正式安装版通过 1008 项原生检查,PKG 已签名、公证并通过 20 项展开检查。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.19.1 默认预览卡顿修复</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>修复整合效果在刚添加、未调整任何参数时明显拖慢预览的问题。默认状态不再执行无效的人脸检测和整帧人脸轮廓蒙版运算;已有参数、预设及模板继续兼容。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>在本机 Apple M4 的相同人像基准中,1080p 单帧平均渲染耗时由约 324 毫秒降至 5.2 毫秒,4K 由约 1249 毫秒降至 17 毫秒。这组数据记录 1.19.1 的默认效果渲染。已启用人脸肤色保护的对照见上方 1.21.1 更新。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>正式版本通过 994 项检查,并在 Final Cut Pro 12.4 中重新添加整合效果复测默认播放Line truncated
|
||||
"excerpt": "大鱼调色 1.21.3 新增 LUT 高清缩略图和右侧原图对比。Mac mini M4 上使用 Final Cut Pro 12.4 对同一段 4K 片段测试,完整正向追踪热态中位数从 3.682 秒降至 3.217 秒,285 个轨迹键与 285 帧马赛克输出逐一一致。",
|
||||
"resource": {
|
||||
"cao_original_filename": "大鱼调色-1.21.3.pkg"
|
||||
},
|
||||
"seo": {
|
||||
"title": {
|
||||
"value": "大鱼调色 1.21.3 公测版|LUT 高清划像预览与蒙版追踪提速"
|
||||
},
|
||||
"description": {
|
||||
"value": "大鱼调色 1.21.3 公测版适用于 Final Cut Pro 和 Motion。LUT 浏览器新增高清缩略图和原图划像对比。Mac mini M4 在 FCP 中对同一段 4K 素材实测,完整正向追踪热态中位数缩短 12.6%。签名公证 PKG 包含整合效果和 16 个独立模块。"
|
||||
},
|
||||
"keywords": {
|
||||
"value": "大鱼调色,Final Cut Pro,Motion,FxPlug4,调色插件,LUT,高清缩略图,划像对比,局部马赛克,蒙版追踪,Vision"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"title": "大鱼调色 1.21.6 公测版|LUT 预览复用与竖屏适配",
|
||||
"content": "<!-- wp:paragraph -->\n<p>大鱼调色是适用于 Final Cut Pro 和 Motion 的原生 FxPlug 4 调色插件。1.21.6(构建 124)改进 LUT 浏览器。同一帧连续点选时复用已生成的预览,缩略图与划像连续显示。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>本文主下载已更新为 1.21.6(构建 124)。同一个 PKG 已包含“大鱼调色”整合效果和全部 16 个独立模块效果,以及所需的完整主 App,无需另外下载安装独立模块。</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>官方原始安装包不加密,不限制安装数量。</strong> 安装和使用无需登录、激活码或机器码。原始 PKG 可以原样转发,请保持安装包完整。禁止二次加密或加上一机一码后分发。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.21.6 LUT 浏览器更新</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>点击已生成的缩略图时,右侧划像直接复用这张图,左侧原图和列表缩略图继续显示。移动播放头后,新预览在后台生成,就绪后再替换。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>缩略图和划像按源帧比例显示,竖屏、方形和宽画幅都能保留原构图。同一次打开期间,点选 LUT 时列表顺序保持稳定。重新打开浏览器后,最近成功应用的 LUT 会排到前面。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.21.3 高清 LUT 预览与划像对比</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>打开“风格 LUT”的缩略图浏览库,勾选底部的“高清预览”。缩略图从 640×360 源帧生成双倍像素图,重开浏览器时会记住此设置。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>选中一个 LUT 后,右侧大图显示同一帧。左侧是应用当前 LUT 前的画面,右侧是 100% LUT 效果。拖动分界线或下方滑杆,即可查看画面细节和颜色差异。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:image {\"id\":15919,\"sizeSlug\":\"full\",\"linkDestination\":\"media\"} -->\n<figure class=\"wp-block-image size-full\"><a href=\"https://dayu.media/wp-content/uploads/2026/11/1794138126-43434ffd5f06df6.png\"><img src=\"https://dayu.media/wp-content/uploads/2026/11/1794138126-43434ffd5f06df6.png\" alt=\"大鱼调色 LUT 浏览器。红色箭头标出高清预览,右侧显示原图与 LUT 的同帧划像对比。\" class=\"wp-image-15919\" width=\"2614\" height=\"1696\" /></a><figcaption class=\"wp-element-caption\">勾选底部“高清预览”,在右侧滑动比较原图与当前 LUT。点击图片可查看原尺寸。</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>Metal 将画面直接写入 Vision 可读的共享像素缓冲,省去每帧的 CPU 像素转换。Mac mini M4 在 Final Cut Pro 12.4 中使用同一段 4K 素材,从点击“正向跟踪”到界面确认保存轨迹,三次热态测试的中位数从 3.682 秒降至 3.217 秒,缩短 12.6%。两版的 285 个轨迹键及导出的 285 帧马赛克画面逐一一致。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.21.1 首开波形与人脸肤色保护优化</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p><strong>片尾暂停时,打开控制面板即可显示波形。</strong>在 Final Cut Pro 12.4 中,用 60p 素材和 25p 项目复测。停在片尾首次打开及同帧重开,亮度波形、RGB 分列、直方图和矢量图都自动显示,每种各有 57,600 个有效取样。两次打开都无需移动播放头或修改调色。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>开启人脸肤色保护后,减少轮廓计算。</strong>GPU 在实际脸部轮廓的外接范围内计算精细蒙版,保留眼、眉和嘴部的排除规则。下表是 Mac mini M4 上同一人像、开启人脸肤色保护的单帧渲染中位数。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:table -->\n<figure class=\"wp-block-table\"><table><thead><tr><th>分辨率</th><th>优化前</th><th>1.21.1</th></tr></thead><tbody><tr><td>1080p</td><td>308.08 毫秒</td><td>13.47 毫秒</td></tr><tr><td>4K</td><td>1176.07 毫秒</td><td>22.22 毫秒</td></tr></tbody></table></figure>\n<!-- /wp:table -->\n\n<!-- wp:paragraph -->\n<p>每组计时取 12 帧,六组对照的末帧逐字节一致。表中耗时只覆盖插件的肤色保护渲染。正式安装版通过 1008 项原生检查,PKG 已签名、公证并通过 20 项展开检查。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.19.1 默认预览卡顿修复</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>修复整合效果在刚添加、未调整任何参数时明显Line truncated
|
||||
"excerpt": "大鱼调色 1.21.6(构建 124)改进 LUT 浏览器。同一帧点选时复用已生成的缩略图和划像,浏览顺序保持稳定。缩略图和划像按源帧比例显示,已在 Final Cut Pro 12.4 的竖屏项目复测。",
|
||||
"resource": {
|
||||
"cao_downurl": "https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-6-124.pkg",
|
||||
"cao_original_filename": "大鱼调色-1.21.6.pkg"
|
||||
},
|
||||
"seo": {
|
||||
"title": {
|
||||
"value": "大鱼调色 1.21.6 公测版|LUT 预览复用与竖屏适配"
|
||||
},
|
||||
"description": {
|
||||
"value": "大鱼调色 1.21.6 适用于 Final Cut Pro 和 Motion。LUT 浏览器同一帧点选时复用已生成的预览,并按源帧比例显示竖屏、方形和宽画幅。已签名公证的 PKG 包含完整主 App、整合调色效果和 16 个独立模块。"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
# 大鱼调色 1.21.2(119)
|
||||
|
||||
- 局部马赛克的 Metal 渲染跳过钢笔轮廓外的逐段计算,无人脸命中时跳过马赛克通道。M4 4K 双钢笔蒙版中位数从 42.75 降到 13.84 ms。
|
||||
- 指定目标追踪省去不需要的整帧灰度处理。M4 4K 取图预处理中位数从 6.00 降到 3.54 ms。相同输入的 192 张渲染输出及 24 张彩色追踪输入逐字节一致。
|
||||
- 检查宿主参考时间,避免对无效时间发起分析。FCP 12.4 的有效画面复测写入 27 个正向轨迹键和 284 个双向轨迹键,并核对随动遮挡。
|
||||
|
||||
Apple Silicon,macOS 14.6 或更高版本。安装前保存并退出 Final Cut Pro 和 Motion。已通过 1010 项正式安装原生检查、17 套模板核对和 20 项安装包展开检查。耗时为渲染或取图阶段测试。
|
||||
|
||||
| 项目 | 内容 |
|
||||
| --- | --- |
|
||||
| 实际编译提交 | `6a979f16a828e17284c8f04647c79ac65811d3dc` |
|
||||
| 安装包 | `大鱼调色-1.21.2.pkg` |
|
||||
| 字节数 | 44509704 |
|
||||
| SHA-256 | `01ee76d2302d0d1fc54b1ff5a3397c386467324db5f391d0b5dfd48c1e93b9df` |
|
||||
| APP 公证 | `7344dd1a-62ba-4e82-8dc1-36cb220c4942` |
|
||||
| PKG 公证 | `add05c02-616e-471f-a53a-8aa7c230ef52` |
|
||||
@@ -0,0 +1,16 @@
|
||||
# 大鱼调色 1.21.3(120)
|
||||
|
||||
- LUT 浏览器右侧加入同帧划像。左侧显示加载当前 LUT 前的画面,右侧预览 100% LUT。拖动图上的竖线或下方滑杆即可对比。
|
||||
- “高清预览”从 640×360 源帧生成双倍像素缩略图,设置在重开浏览器后保留。
|
||||
- 目标蒙版追踪由 Metal 直接写入 Vision 可读的共享像素缓冲。M4 上用 FCP 12.4 的同一段 4K 片段实测,三次热态完整正向追踪中位数由 3.682 降到 3.217 秒,缩短 12.6%。285 个轨迹键和 285 帧 4K 马赛克成片逐一核对一致。
|
||||
|
||||
Apple Silicon,macOS 14.6 或更高版本。安装前保存并退出 Final Cut Pro 和 Motion。1012 项正式安装原生检查、17 套模板与 20 项安装包展开检查通过。
|
||||
|
||||
| 项目 | 内容 |
|
||||
| --- | --- |
|
||||
| 实际编译提交 | `43364549327470291abd82ca1d0eded2becd1579` |
|
||||
| 安装包 | `大鱼调色-1.21.3.pkg` |
|
||||
| 字节数 | 44527074 |
|
||||
| SHA-256 | `99872aee9e3e0a25ed17f3fb173b20b8549dd9473c6fccd3954dd09836213ff9` |
|
||||
| APP 公证 | `6f1e34d4-7d24-4a73-9a8b-af41e132d4ba` |
|
||||
| PKG 公证 | `ba16473c-fcf2-4700-a7aa-df768d603724` |
|
||||
@@ -0,0 +1,15 @@
|
||||
# 大鱼调色 1.21.4(121)
|
||||
|
||||
- 曲线背景直方图将线性 Rec.709 输出换算为视频电平再统计。FCP 12.4 同一帧 S-Log3 灰片对照中,主峰与高光小峰回到原生示波器对应区间。
|
||||
- 改动只作用于检查器和画布的曲线直方图。保留 256 档、320×180 采样和 0–255 曲线坐标。
|
||||
|
||||
适用于 Apple Silicon 和 macOS 14.6 或更新版本。安装前保存并退出 Final Cut Pro 和 Motion。1014 项正式安装自检、17 套模板和 20 项安装包展开检查通过。
|
||||
|
||||
| 项目 | 内容 |
|
||||
| --- | --- |
|
||||
| 实际编译提交 | `7f2917393c89cdc8935b494106e09b2851378ec5` |
|
||||
| 安装包 | `大鱼调色-1.21.4.pkg` |
|
||||
| 字节数 | 44527149 |
|
||||
| SHA-256 | `eb0d4fd257a30705d3c4614f0bfca6d29b492199384fea8f2e6ccb7c50a674dc` |
|
||||
| APP 公证 | `f587be58-4008-42a3-8261-050988eae9b8` |
|
||||
| PKG 公证 | `17666d78-e94e-4886-9c5d-a46d11f1b4cb` |
|
||||
@@ -0,0 +1,15 @@
|
||||
# 大鱼调色 1.21.5(123)
|
||||
|
||||
- LUT 浏览器的标准和高清缩略图按源帧比例显示。网格、列表和划像完整保留竖屏、方形及宽画幅的画面。
|
||||
- 本次打开期间,点选 LUT 只更新选中状态和对比画面。成功应用的 LUT 会在下次打开时按最近使用优先排列。
|
||||
|
||||
适用于 Apple Silicon 和 macOS 14.6 或更新版本。安装前保存并退出 Final Cut Pro 和 Motion。已通过 FCP 12.4 竖屏实测、1018 项正式安装自检、30 项浏览器检查和安装包展开校验。
|
||||
|
||||
| 项目 | 内容 |
|
||||
| --- | --- |
|
||||
| 实际编译提交 | `8ca33a78fd224d13fffb1092c704adfce6cda12b` |
|
||||
| 安装包 | `大鱼调色-1.21.5.pkg` |
|
||||
| 字节数 | 44527441 |
|
||||
| SHA-256 | `01e63b554ee236ca3bf3b8f1d85eeaf3cf9c933a03c0e3cb4fb5256aafa6cf72` |
|
||||
| APP 公证 | `5b1bf442-0460-44c9-9d99-9bcd18788c32` |
|
||||
| PKG 公证 | `98ab3da4-515d-4b07-9692-9e357b130880` |
|
||||
@@ -0,0 +1,16 @@
|
||||
# 大鱼调色 1.21.6(124)
|
||||
|
||||
- 点选已有预览的 LUT 时,缩略图和右侧划像直接复用已生成的位图。
|
||||
- 同一播放头位置连续切换 LUT 时保留预览;移动播放头后在后台更新,等新图就绪再替换。
|
||||
- 标准和高清模式下,缩略图与划像共用同一份源帧。
|
||||
|
||||
适用于 Apple Silicon 和 macOS 14.6 或更新版本。安装前保存并退出 Final Cut Pro 和 Motion。已完成 FCP 12.4 竖屏验收、1018 项安装自检、40 项浏览器检查和安装包展开校验。
|
||||
|
||||
| 项目 | 内容 |
|
||||
| --- | --- |
|
||||
| 实际编译提交 | `e0bd8342c0b2231028af64abd7b544b2be8f29d7` |
|
||||
| 安装包 | `大鱼调色-1.21.6.pkg` |
|
||||
| 字节数 | 44527921 |
|
||||
| SHA-256 | `c92082550720225d9ea7a0f8b0f7315f19a438d9c717ab637a476b6c678f0ad6` |
|
||||
| APP 公证 | `79da8471-e33a-4463-86e9-8c5c114b149b` |
|
||||
| PKG 公证 | `3ea27bc7-b29e-4fd9-8a3f-aabf25d7e200` |
|
||||
@@ -0,0 +1,16 @@
|
||||
# 大鱼调色 1.21.7(125)
|
||||
|
||||
- 蜘蛛盘拖动时先更新本地控制点,合并宿主写入,松手补交最后位置。一次拖动可一次撤销。
|
||||
- 检查器和工作台在拖动中复用已有示波轨迹,松手后恢复从最终输出取样。画布合并尚未处理的蜘蛛盘事件。
|
||||
- FCP 12.4 在合成色卡项目通过工作台拖动和宿主撤销验收,正式安装版通过 1,022 项自检。
|
||||
|
||||
适用于 Apple Silicon 和 macOS 14.6 或更新版本。安装前保存并退出 Final Cut Pro 和 Motion。
|
||||
|
||||
| 项目 | 内容 |
|
||||
| --- | --- |
|
||||
| 实际编译提交 | `5aae670f56201a17cffe6aff3624d1b8cfad2308` |
|
||||
| 安装包 | `大鱼调色-1.21.7.pkg` |
|
||||
| 字节数 | 44528083 |
|
||||
| SHA-256 | `e4d327d4a4fdbcb025e17dd6aa1e0e884c435392b70bcc2e7402d100c07a10ef` |
|
||||
| APP 公证 | `0b71188e-188c-4c78-9087-28fa62a87a51` |
|
||||
| PKG 公证 | `e9cab355-85bf-4a16-922b-a811aacb5b05` |
|
||||
@@ -0,0 +1,17 @@
|
||||
# 大鱼调色 1.21.8(126)
|
||||
|
||||
- 合并多层调色的 GPU 工作,减少颜色转换、蒙版混合和预览取样之间的等待。
|
||||
- 复用已解析的宿主色彩配置。几何蒙版跳过色键转换,保留羽化和部分覆盖的原有混合方式。
|
||||
- 曲线、一级白平衡轮和颜色分级轮在拖动时合并参数写入,松手提交最终值,每次拖动可一次撤销。
|
||||
- Apple M4 的 4K 曝光加 HSL 蒙版渲染约 87.7 → 75.0 毫秒,128 帧测试输出逐字节一致。正式安装通过 1,028 项自检与 Final Cut Pro 12.4 工作台验收。
|
||||
|
||||
适用于 Apple Silicon 和 macOS 14.6 或更新版本。安装前保存并退出 Final Cut Pro 和 Motion。
|
||||
|
||||
| 项目 | 内容 |
|
||||
| --- | --- |
|
||||
| 实际编译提交 | `38e9fb25a21d7ba573f09093ea4ca45a79664cf5` |
|
||||
| 安装包 | `大鱼调色-1.21.8.pkg` |
|
||||
| 字节数 | 44529845 |
|
||||
| SHA-256 | `8df87b7762f8a0d11b32e6947f5e4f3a358dce7e44505b20f8534b3a0e3e14b9` |
|
||||
| APP 公证 | `c439ff82-db8e-44a9-83e4-68c62588a2de` |
|
||||
| PKG 公证 | `2aa1a8fa-d48f-45a5-8a56-9ac084d8c7b3` |
|
||||
+72
@@ -1,3 +1,75 @@
|
||||
# 2026-11-09 蜘蛛盘跟手优化 1.21.7(125)
|
||||
|
||||
远程 `https://dayu.media/git/dayu/dayu-color.git`,分支 `main`。编译提交 `5aae670f56201a17cffe6aff3624d1b8cfad2308`,发行标签 `v1.21.7-spider-fluidity-20261109` 指向 `039e567aaa563a36da5bbef90d0ccd4afd690183`。独立 HTTPS 检出逐字节核对编译节点 859 个、发行标签 864 个跟踪文件和 Git 完整性,构建输入一致,无 LFS 或子模块。[恢复核验](verification/Recovery1.21.7.json)
|
||||
|
||||
克隆后用 `git switch --detach 5aae670f56201a17cffe6aff3624d1b8cfad2308` 取回实际编译节点。使用 Xcode 27.1、FxPlug SDK 4.3.5、Apple Silicon 和锁定的 ColorManagement 依赖,运行 `tools/deliver.py`。正式位置 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,主 ID `com.dayu.color`,服务 `com.dayu.color.XPC`。团队 B3W25FX5H5 的证书、私钥和公证登录独立恢复。正式安装通过 1,022 项原生检查和 FCP 12.4 蜘蛛盘工作台拖动、撤销。[安装](verification/Delivery1.21.7.json) · [宿主](verification/HostSpiderFluidity1.21.7.json)
|
||||
|
||||
从验收后的正式 APP 运行 `Packaging/build_pkg.py`。APP 公证 `0b71188e-188c-4c78-9087-28fa62a87a51` 与 PKG 公证 `e9cab355-85bf-4a16-922b-a811aacb5b05` 均 Accepted。公测 Release **421** 附件 **67** 下载为 44528083 字节,SHA-256 `e4d327d4a4fdbcb025e17dd6aa1e0e884c435392b70bcc2e7402d100c07a10ef`。[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.7-spider-fluidity-20261109) · [验包](verification/Package1.21.7.json) · [下载核验](verification/Release1.21.7.json) · [开发交接](开发交接.md)
|
||||
|
||||
---
|
||||
|
||||
# 2026-11-08 LUT 预览复用 1.21.6(124)
|
||||
|
||||
远程 `https://dayu.media/git/dayu/dayu-color.git`,分支 `main`。实际编译提交 `e0bd8342c0b2231028af64abd7b544b2be8f29d7`,发行标签 `v1.21.6-lut-preview-reuse-20261108` 指向 `3de998257d9f9e989093d58604c44a4eb1fb3fad`。独立 HTTPS 检出逐字节核对编译节点 849 个、发行节点 853 个文件及 Git 完整性,无 LFS 或子模块。[恢复核验](verification/Recovery1.21.6.json)
|
||||
|
||||
克隆后以 `git switch --detach e0bd8342c0b2231028af64abd7b544b2be8f29d7` 恢复编译节点。使用 Xcode 27.1、FxPlug SDK 4.3.5、Apple Silicon 与锁定的 ColorManagement 依赖,运行 `tools/deliver.py`。正式路径 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,主 ID `com.dayu.color`,服务 `com.dayu.color.XPC`,团队 B3W25FX5H5。证书、私钥和公证登录单独恢复。已通过 1018 项安装版自检、40 项浏览器检查、17 套模板与 FCP 12.4 连续点选验收。[安装](verification/Delivery1.21.6.json) · [宿主](verification/HostLUTPreviewReuse1.21.6.json)
|
||||
|
||||
从验收后的正式 APP 运行 `Packaging/build_pkg.py`。APP 公证 `79da8471-e33a-4463-86e9-8c5c114b149b` 与 PKG 公证 `3ea27bc7-b29e-4fd9-8a3f-aabf25d7e200` 均 Accepted。公测 Release **420** 的附件 **66** 完整下载核对 44527921 字节和 SHA-256 `c92082550720225d9ea7a0f8b0f7315f19a438d9c717ab637a476b6c678f0ad6`。本地保留正式包。[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.6-lut-preview-reuse-20261108) · [验包](verification/Package1.21.6.json) · [下载校验](verification/Release1.21.6.json) · [开发交接](开发交接.md)
|
||||
|
||||
在线更新使用本机专项工程 `/Users/mac/Downloads/dayumedia/dayu-color-beta`,映射至 NAS 生产根 `/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media`。本轮新增 `wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-6-124.pkg` 并替换 `wp-content/uploads/dayu-color-beta/updates/beta.json`。旧清单的同目录旁路备份为 `/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/beta-202611082215.jsonbak`,恢复操作遵循 [后端说明](Backend/README.md)。文章 15792 主下载与在线更新共用同一份签名公证 PKG。[在线核验](verification/BetaPublication1.21.6.json) · [文章核验](verification/Article1.21.6.json)
|
||||
|
||||
---
|
||||
|
||||
# 2026-11-08 LUT 帧比例与浏览排序 1.21.5(123)
|
||||
|
||||
远程 `https://dayu.media/git/dayu/dayu-color.git`,分支 `main`。实际编译提交 `8ca33a78fd224d13fffb1092c704adfce6cda12b`,发行标签 `v1.21.5-lut-browser-20261108` 指向 `5ab5e78255127cda92686f28b557f751e60e2082`。独立 HTTPS 检出逐字节核对编译节点 843 个、发行节点 847 个文件和 Git 完整性。无 LFS 或子模块。[恢复核验](verification/Recovery1.21.5.json)
|
||||
|
||||
克隆后以 `git switch --detach 8ca33a78fd224d13fffb1092c704adfce6cda12b` 恢复编译节点。使用 Xcode 27.1、FxPlug SDK 4.3.5、Apple Silicon 与锁定的 ColorManagement 依赖。通过 `tools/deliver.py` 完成正式 APP,安装在 `/Library/Plug-Ins/FxPlug/大鱼调色.app`。主 ID `com.dayu.color`,服务 `com.dayu.color.XPC`,签名团队 B3W25FX5H5。证书、私钥、公证登录单独恢复。1018 项安装版自检、30 项浏览器检查、17 套模板和 FCP 12.4 竖屏及排序验收已通过。[安装](verification/Delivery1.21.5.json) · [宿主](verification/HostLUTBrowser1.21.5.json)
|
||||
|
||||
使用 `Packaging/build_pkg.py` 从验收后的正式 APP 制包。APP 公证 `5b1bf442-0460-44c9-9d99-9bcd18788c32`,PKG 公证 `98ab3da4-515d-4b07-9692-9e357b130880`,均 Accepted。公测 Release **419** 的附件 **65** 完整下载校验 44527441 字节,SHA-256 `01e63b554ee236ca3bf3b8f1d85eeaf3cf9c933a03c0e3cb4fb5256aafa6cf72`。本地保留正式包。[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.5-lut-browser-20261108) · [验包](verification/Package1.21.5.json) · [下载校验](verification/Release1.21.5.json) · [开发交接](开发交接.md)
|
||||
|
||||
---
|
||||
|
||||
# 2026-11-08 曲线直方图 Rec.709 电平 1.21.4(121)
|
||||
|
||||
远程 `https://dayu.media/git/dayu/dayu-color.git`,分支 `main`。实际编译提交 `7f2917393c89cdc8935b494106e09b2851378ec5`。发行标签 `v1.21.4-curve-histogram-20261108` 指向 `8ca30fa3cc1dc03eb34c70b4307b60dde0d77133`。独立 HTTPS 检出逐字节核对编译节点 837 个和发行节点 841 个文件,Git 完整性通过,构建输入一致,无 LFS 或子模块。[恢复核验](verification/Recovery1.21.4.json)
|
||||
|
||||
克隆后以 `git switch --detach 7f2917393c89cdc8935b494106e09b2851378ec5` 恢复编译节点。用 Xcode 27.1、FxPlug SDK 4.3.5、Apple Silicon、macOS 14.6+ 和已锁定的 ColorManagement 依赖,执行 `tools/deliver.py`。正式路径 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,主 ID `com.dayu.color`,服务 `com.dayu.color.XPC`,团队 B3W25FX5H5。证书、私钥和公证登录单独恢复。已通过 1014 项安装版原生检查、17 套模板以及 FCP 12.4 的 Rec.709 原片同帧对照。[安装](verification/Delivery1.21.4.json) · [宿主](verification/HostCurveHistogram1.21.4.json)
|
||||
|
||||
从验收后的正式 APP 运行 `Packaging/build_pkg.py`。APP 与 PKG 公证均 Accepted。公测 Release **418** 的附件 **64** 完整下载核对 44527149 字节,SHA-256 `eb0d4fd257a30705d3c4614f0bfca6d29b492199384fea8f2e6ccb7c50a674dc`。本地保留正式 PKG,下载和远端检出验证副本已清理。[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.4-curve-histogram-20261108) · [验包](verification/Package1.21.4.json) · [附件核验](verification/Release1.21.4.json) · [开发交接](开发交接.md)
|
||||
|
||||
---
|
||||
|
||||
# 2026-11-08 共享缓冲追踪与 LUT 对比预览 1.21.3(120)
|
||||
|
||||
远程 `https://dayu.media/git/dayu/dayu-color.git`,分支 `main`。实际编译提交 `43364549327470291abd82ca1d0eded2becd1579`,发行标签 `v1.21.3-vision-lut-20261108` 指向 `a1595caf30ddc2e629543adc735d9df752f35cc6`。独立 HTTPS 检出逐字节核对 829 个编译文件、833 个发行文件及 Git 完整性。两节点构建输入一致,无 LFS 和子模块。[恢复记录](verification/Recovery1.21.3.json)
|
||||
|
||||
恢复 Git 登录后克隆并分离检出实际编译提交。使用 Xcode 27.1、FxPlug SDK 4.3.5、Apple Silicon、macOS 14.6+ 和锁定的 ColorManagement 依赖。用 `tools/deliver.py` 生成正式安装,从 `/Library/Plug-Ins/FxPlug/大鱼调色.app` 完成 FCP 验收,再输入 complete。主 ID `com.dayu.color`,服务 `com.dayu.color.XPC`,团队 B3W25FX5H5。证书、私钥和公证登录单独恢复。已确认 1012 项原生检查、17 套模板和同素材的 285 个轨迹键及 285 帧马赛克输出。[安装](verification/Delivery1.21.3.json) · [宿主](verification/HostVisionLUT1.21.3.json)
|
||||
|
||||
使用 `Packaging/build_pkg.py` 从正式 APP 打包。APP 公证 `6f1e34d4-7d24-4a73-9a8b-af41e132d4ba`,PKG 公证 `ba16473c-fcf2-4700-a7aa-df768d603724`,均 Accepted。公测 Release **417** 的附件 **63** 在草稿和发布后均完整下载核对 44527074 字节,SHA-256 `99872aee9e3e0a25ed17f3fb173b20b8549dd9473c6fccd3954dd09836213ff9`。保留本地正式 PKG 和 Release 附件。[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.3-vision-lut-20261108) · [验包](verification/Package1.21.3.json) · [附件](verification/Release1.21.3.json) · [交接](开发交接.md)
|
||||
|
||||
---
|
||||
|
||||
# 2026-11-08 局部马赛克与蒙版追踪性能 1.21.2(119)
|
||||
|
||||
远程 `https://dayu.media/git/dayu/dayu-color.git`,分支 `main`。编译提交 `6a979f16a828e17284c8f04647c79ac65811d3dc`,发行标签 `v1.21.2-mosaic-tracking-20261108` 指向 `b6f73ebb666e4f72567f54515d0efd138220f7f6`。从远端独立检出并逐字节核对编译节点 822 个和发行节点 826 个文件,构建输入一致,Git 完整性通过,无 LFS 指针或子模块。[恢复核验](verification/Recovery1.21.2.json)
|
||||
|
||||
恢复 Git 登录后克隆并检出编译提交。使用 Xcode 27.1、FxPlug SDK 4.3.5、Apple Silicon、macOS 14.6+ 与锁定的 ColorManagement 依赖。通过 `tools/deliver.py` 构建、签名、公证和安装,完成 FCP 实片验收后输入 complete。唯一正式路径 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,主 ID `com.dayu.color`,服务 `com.dayu.color.XPC`,团队 B3W25FX5H5。签名证书、私钥与公证登录独立恢复。[安装](verification/Delivery1.21.2.json) · [FCP 验收](verification/HostMosaicTracking1.21.2.json)
|
||||
|
||||
通过 `Packaging/build_pkg.py` 从已验收正式 APP 打包。APP 公证 `7344dd1a-62ba-4e82-8dc1-36cb220c4942`,PKG 公证 `add05c02-616e-471f-a53a-8aa7c230ef52`,均 Accepted。公测 Release **416** 的附件 **62** 发布前后完整下载核对 44509704 字节和 SHA-256 `01ee76d2302d0d1fc54b1ff5a3397c386467324db5f391d0b5dfd48c1e93b9df`。保留正式 PKG,已清理公证 ZIP、生成 APP、旧版替换备份、验收副本、恢复检出和草稿下载副本。[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.2-mosaic-tracking-20261108) · [验包](verification/Package1.21.2.json) · [附件](verification/Release1.21.2.json) · [开发交接](开发交接.md)
|
||||
|
||||
---
|
||||
|
||||
# 2026-11-08 首次示波器和人脸肤色保护 1.21.1(117)
|
||||
|
||||
远程 `https://dayu.media/git/dayu/dayu-color.git`,分支 `main`。实际编译提交 `98d80970e83e30e4883a76d8f740f2fca5d05e7c`,发行标签 `v1.21.1-scope-face-20261108` 指向 `ad4e5e7a823bb451f45755d0ab331f08f6211239`。独立 HTTPS 检出核对编译节点 812 个及发行节点 817 个文件的内容,构建输入一致,Git 完整性通过,无 LFS 指针或子模块。[恢复记录](verification/Recovery1.21.1.json)
|
||||
|
||||
克隆后以 `git switch --detach <完整提交>` 恢复编译源码。Xcode 27.1、FxPlug SDK 4.3.5、Apple Silicon、macOS 14.6+。使用 `tools/deliver.py` 执行 Release 构建、签名、公证和安装。正式路径 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,主 ID `com.dayu.color`,服务 `com.dayu.color.XPC`,团队 B3W25FX5H5。证书私钥和公证登录单独恢复。FCP 12.4 用暂停在片尾的 60p 素材与 25p 项目确认首开和重开四种示波器。正式安装原生检查 1008 项通过。[安装](verification/Delivery1.21.1.json) · [宿主](verification/HostScopes1.21.1.json)
|
||||
|
||||
`Packaging/build_pkg.py` 使用正式 APP 打包。PKG 公证 `dbddc544-aa94-4279-8f92-37597c264313` Accepted,20 项展开验包通过。包 44509639 字节,SHA-256 `bdc63a1b1030ccad6960031cb9f2ec8297aa90f8d4acce2057eb5ba7750a289b`。公测 Release **415** 的附件 **61** 已完成草稿和发布后下载校验。[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.1-scope-face-20261108) · [验包](verification/Package1.21.1.json) · [附件验证](verification/Release1.21.1.json) · [开发交接](开发交接.md)
|
||||
|
||||
---
|
||||
|
||||
# 2026-11-08 流畅性优化 1.21.0(114)
|
||||
|
||||
远程 `https://dayu.media/git/dayu/dayu-color.git`,分支 `main`。实际编译提交 `90e512aabe72fff30046b4bf18d6a35f91c0c113`,发行标签 `v1.21.0-fluidity-20261108` 指向 `3a5ead0ce07eb2ed3009490af316b9edec186c62`。独立 HTTPS 恢复核对 805 与 810 个文件的 Git 哈希,构建输入一致,Git 完整性通过,无 LFS 指针或子模块。[恢复记录](verification/Recovery1.21.0.json)
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
# Color Finale 2.17.0 蜘蛛盘交互取证
|
||||
|
||||
2026-11-09,目标是本机 Color Finale 2.17.0(632)的 Color Warper。取证范围为 arm64 发布二进制中的拖动、取样和着色调用链。这里记录当前版本观察到的设计,没有旧版同场景数据可判定哪些是该版本新增的提速项。
|
||||
|
||||
| 二进制与地址 | 观察 |
|
||||
| --- | --- |
|
||||
| 插件 `0x10003d514`,`FTColorWarperView mouseDragged:` | 在本地改节点偏移,设置重绘,标记散点位图过期,再通知控制器。GradeKit `0x1f320` 修改偏移和固定标志后传播联动。 |
|
||||
| 插件 `0x100039ddc`、`0x10003aac8` | 色场底图和散点图各有位图缓存,按显示尺寸和模式复用。拖动使散点位图失效。重建函数 `0x10003ac04` 读取已有散点数据和本地网格形变,重新投影并栅格化。 |
|
||||
| 插件 `0x10003e2c8`、`0x10003e504` | 从单独的帧取样入口取得图块,缩放后生成散点数据,再投递回界面。拖动回调的直接调用链未进入该取样入口。 |
|
||||
| 插件 `0x10003f694 → 0x10009313c → 0x1000772fc → 0x100075fdc` | 更新读数,存储调整栈,只刷新当前节点的修改指示。存储调用进入宿主参数动作。取证未发现该链路的固定节流频率。 |
|
||||
| GradeKit `0x2209c`,RenderingEngine `0x2437c`、`0x24a80` | 检查各平面是否有变形,将有效偏移生成查找纹理,挂到 Core Image 着色节点上。宿主输出通过 GradeKit 的 `FTCIRenderer` 编排。 |
|
||||
|
||||
文件 SHA-256 为插件 `d2697ec11a33e5bab20a49aa176552ba4f99b1892187585bfec256b8f94c92f3`、GradeKit `703f94a4eb0be78fc7f7d5dc811cb2000b7d5240da5e6fe7f69857186df6894d`、RenderingEngine `add5a618cf4af0423df9910f6b2fab5ec3e3c6c59e6138722b0fd3c5f45c82ea`。地址由 `nm -arch arm64` 与 `otool -arch arm64 -tV` 核对。以上是静态证据,未测目标的 FCP 端到端帧率。
|
||||
|
||||
大鱼 1.21.6 的 `DYSpiderDisc` 每次拖动都生成两份废弃的 16×6 兼容数据,接收方只使用当前网格。每次写入后同步发 `DYModelChanged`,检查器重新读标量、更新卡片和布局。画布的蜘蛛盘写入则是每个事件向主队列投递一笔,并在实际写入前重复验证宿主状态。静态底图已有缓存,矢量轨迹每次绘制仍重新包装位图。
|
||||
|
||||
1.21.7 借鉴本地几何、宿主写入和取样的分工。检查器与工作台的网格即时跟手,每约 16.7 毫秒合并一笔宿主写入,松手同步补交末值,整次拖动保留一个撤销组。拖动时复用上一张示波轨迹,结束后回到最终输出取样。画布主队列每批只写最新网格,继续验证时间、目标层及外部变动。网格算法、GPU 调色与预设编码沿用项目原实现。
|
||||
|
||||
## 交互对照
|
||||
|
||||
在 Mac mini M4 上以 Release 对象运行隔离的 AppKit 检查器,模拟 FxPlug 参数接口。6×6 和 24×24 各注入 120 个连续事件后松手。两种网格的最终存档逐字节一致,宿主参数写入均从 120 次变为 1 次,检查器标量读取从 33,363 次变为 276 次。测试刻意不在事件间让出运行循环,真实拖动会按节奏送出中间值。另用安装版自检覆盖按住暂停时写入中间值、松手写入末值、外部修改保护和撤销组。[对照数据](../verification/SpiderFluidity1.21.7.json)
|
||||
@@ -7,6 +7,7 @@
|
||||
- (void)rebuildGrid;
|
||||
- (void)folderClicked:(NSButton *)button;
|
||||
- (void)thumbnailClicked:(id)tile;
|
||||
- (void)qualityChanged:(id)sender;
|
||||
@end
|
||||
static NSMutableArray *checks;
|
||||
static void require(BOOL pass,NSString *name){[checks addObject:@{@"name":name,@"pass":@(pass)}];if(!pass){fprintf(stderr,"FAIL %s\n",name.UTF8String);exit(1);}}
|
||||
@@ -26,12 +27,51 @@ int main(int argc,const char **argv){@autoreleasepool{
|
||||
require([[[browser valueForKey:@"visibleEntries"]valueForKey:@"path"]isEqual:@[alpha,zulu,middle]],@"all LUTs also put recent uses before unused names");
|
||||
id tile=[[browser valueForKey:@"tiles"]objectForKey:middle];[tile setEnabled:YES];[browser thumbnailClicked:tile];require([library.recentPaths isEqual:@[alpha,zulu]],@"loading does not update recent history");ack([NSError errorWithDomain:@"host" code:1 userInfo:nil]);require([library.recentPaths isEqual:@[alpha,zulu]],@"host rejection does not update history");
|
||||
[browser thumbnailClicked:tile];ack(nil);require([library.recentPaths isEqual:@[middle,alpha,zulu]],@"only successful host application records recent use");
|
||||
NSSearchField *search=[browser valueForKey:@"search"];search.stringValue=@"Zulu";[browser rebuildGrid];require([[browser valueForKey:@"visibleEntries"]count]==1,@"search respects recent-first ordering");search.stringValue=@"";[browser rebuildGrid];
|
||||
require([[[browser valueForKey:@"visibleEntries"]valueForKey:@"path"]isEqual:@[alpha,zulu,middle]]&&[tile isEqual:[[browser valueForKey:@"tiles"]objectForKey:middle]]&&[[tile valueForKey:@"chosen"]boolValue],@"selecting a LUT keeps the tiles in place and updates selection");
|
||||
NSSearchField *search=[browser valueForKey:@"search"];search.stringValue=@"Zulu";[browser rebuildGrid];require([[browser valueForKey:@"visibleEntries"]count]==1,@"search respects recent-first ordering");search.stringValue=@"";[browser rebuildGrid];require([[[browser valueForKey:@"visibleEntries"]valueForKey:@"path"]isEqual:@[alpha,zulu,middle]],@"clearing a search still uses the opening order");
|
||||
for(NSButton *button in [browser valueForKey:@"folderButtons"])if([button.identifier isEqual:@"@recent"]){[browser folderClicked:button];break;}
|
||||
require([[[browser valueForKey:@"visibleEntries"]valueForKey:@"path"]isEqual:@[alpha,zulu]],@"recent folder also uses the opening order");[browser folderClicked:all];
|
||||
NSView *view=[browser valueForKey:@"root"];[view setFrameSize:NSMakeSize(1200,760)];[browser layoutBrowser];NSInteger wide=[[browser valueForKey:@"columns"]integerValue];[view setFrameSize:NSMakeSize(720,420)];[browser layoutBrowser];require(wide>[[browser valueForKey:@"columns"]integerValue],@"grid reflows when the browser size changes");
|
||||
NSPopUpButton *layout=[browser valueForKey:@"layoutMenu"];[layout selectItemAtIndex:1];[browser layoutChanged:nil];require([[browser valueForKey:@"columns"]integerValue]==1&&[[browser valueForKey:@"tileHeight"]doubleValue]==70,@"list layout has full-width rows");
|
||||
[view setFrameSize:NSMakeSize(1200,760)];[browser layoutBrowser];
|
||||
NSSplitView *split=[browser valueForKey:@"splitView"];[split setPosition:240 ofDividerAtIndex:0];[browser layoutBrowser];NSScrollView *folders=[browser valueForKey:@"folderScroll"],*grid=[browser valueForKey:@"gridScroll"];require(fabs(folders.frame.size.width-240)<2&&NSMaxX(folders.frame)<=NSMinX(grid.frame),@"sidebar divider changes folder width without overlapping previews");
|
||||
[browser close];[browser release];browser=[[DYLUTBrowser alloc]initWithLibrary:library preview:nil selectedPath:nil palette:@{} selection:nil];pump(^{return [browser valueForKey:@"libraryTask"]==nil;});require([(NSPopUpButton*)[browser valueForKey:@"layoutMenu"]indexOfSelectedItem]==1&&fabs([[browser valueForKey:@"sidebarWidth"]doubleValue]-240)<2,@"layout and sidebar width survive reopening");
|
||||
require([[[browser valueForKey:@"visibleEntries"]valueForKey:@"path"]isEqual:@[middle,alpha,zulu]],@"reopening places the successful selection first");
|
||||
NSPanel *host=[[[NSPanel alloc]initWithContentRect:NSMakeRect(120,160,900,620) styleMask:NSWindowStyleMaskTitled|NSWindowStyleMaskClosable|NSWindowStyleMaskResizable backing:NSBackingStoreBuffered defer:NO]autorelease];__block int closes=0;[browser showInRemoteParent:host.contentView close:^{closes++;}];pump(^{return [browser valueForKey:@"presentationWindow"]==host;});require(!host.visible&&browser.visible,@"remote-parent checks never display a test window");
|
||||
NSData *portrait=[NSMutableData dataWithLength:18*32*16];
|
||||
NSDictionary *portraitFrame=@{@"standard":portrait,@"standardSize":[NSValue valueWithSize:NSMakeSize(18,32)],@"time":@2};
|
||||
[browser updatePreview:portraitFrame];
|
||||
pump(^{NSImage *image=[[[browser valueForKey:@"tiles"]objectForKey:middle]valueForKey:@"thumbnail"];return NSEqualSizes(image.size,NSMakeSize(18,32));});
|
||||
NSImage *thumb=[[[browser valueForKey:@"tiles"]objectForKey:middle]valueForKey:@"thumbnail"];
|
||||
require(thumb.size.height>thumb.size.width&&fabs(thumb.size.width/thumb.size.height-18./32)<.015,@"list thumbnail keeps portrait aspect");
|
||||
[((NSPopUpButton *)[browser valueForKey:@"layoutMenu"]) selectItemAtIndex:0];[browser layoutChanged:nil];
|
||||
require([[browser valueForKey:@"tileHeight"]doubleValue]>[[browser valueForKey:@"tileWidth"]doubleValue],@"portrait grid cards follow frame geometry");
|
||||
|
||||
NSView *comparison=[browser valueForKey:@"compareView"];
|
||||
id (^visibleTile)(void)=^id{return [[browser valueForKey:@"tiles"]objectForKey:middle];};
|
||||
pump(^{return [comparison valueForKey:@"original"]!=nil&&[visibleTile() valueForKey:@"thumbnail"]!=nil;});
|
||||
NSImage *original=[comparison valueForKey:@"original"],*shown=[visibleTile() valueForKey:@"thumbnail"];
|
||||
id work=[browser valueForKey:@"work"];
|
||||
[browser thumbnailClicked:visibleTile()];
|
||||
pump(^{return [comparison valueForKey:@"styled"]!=nil&&[browser valueForKey:@"selectionTask"]==nil;});
|
||||
require([comparison valueForKey:@"original"]==original&&[comparison valueForKey:@"styled"]==shown&&[browser valueForKey:@"work"]==work,@"click reuses the original and selected tile bitmaps without replacing preview work");
|
||||
[browser updatePreview:nil];
|
||||
[browser updatePreview:@{}];
|
||||
require([comparison valueForKey:@"styled"]==shown&&[visibleTile() valueForKey:@"thumbnail"]==shown&&[browser valueForKey:@"work"]==work,@"empty snapshots keep both previews and pending work");
|
||||
NSMutableData *newPixels=[portrait mutableCopy];
|
||||
((float *)newPixels.mutableBytes)[0]=.8f;((float *)newPixels.mutableBytes)[3]=1;
|
||||
NSMutableDictionary *newFrame=[[portraitFrame mutableCopy]autorelease];newFrame[@"standard"]=newPixels;[newPixels release];
|
||||
[browser updatePreview:newFrame];
|
||||
require([comparison valueForKey:@"styled"]==shown&&[visibleTile() valueForKey:@"thumbnail"]==shown&&[browser valueForKey:@"work"]==work,@"same-time host render after selection cannot replace the comparison reference");
|
||||
newFrame[@"time"]=@3;
|
||||
newFrame[@"high"]=[NSMutableData dataWithLength:36*64*16];newFrame[@"highSize"]=[NSValue valueWithSize:NSMakeSize(36,64)];
|
||||
[browser updatePreview:newFrame];
|
||||
require([comparison valueForKey:@"styled"]==shown&&[visibleTile() valueForKey:@"thumbnail"]==shown,@"previous previews stay visible while the next frame renders");
|
||||
pump(^{id fresh=[visibleTile() valueForKey:@"thumbnail"];return fresh&&fresh!=shown&&[comparison valueForKey:@"styled"]==fresh;});
|
||||
require([comparison valueForKey:@"original"]!=original,@"moving the playhead replaces the original and both uses of the LUT bitmap");
|
||||
NSButton *hd=[browser valueForKey:@"hd"];hd.state=NSControlStateValueOn;[browser qualityChanged:hd];
|
||||
pump(^{NSImage *image=[visibleTile() valueForKey:@"thumbnail"];return image.size.width==36&&[comparison valueForKey:@"styled"]==image;});
|
||||
require([(NSImage *)[comparison valueForKey:@"original"] size].height==64,@"the comparison and grid use the same high resolution frame");
|
||||
NSRect desired=NSMakeRect(190,210,1000,680);[host setFrame:desired display:NO];NSString *frameKey=[@"com.dayu.color.lookLUTPreview.windowFrame|" stringByAppendingString:library.rootURL.path];require([NSUserDefaults.standardUserDefaults stringForKey:frameKey]==nil,@"remote window geometry is owned and remembered by the host");[browser close];[browser close];require(closes==1,@"remote close callback runs once");[browser release];[ack release];ack=nil;
|
||||
for(int i=0;i<50;i++)[library recordUsedPath:[root.path stringByAppendingPathComponent:[NSString stringWithFormat:@"History-%d.cube",i]]];require(library.recentPaths.count==40&&[library.recentPaths[0]hasSuffix:@"History-49.cube"],@"recent history stays bounded at 40 newest paths");
|
||||
NSArray *keys=NSUserDefaults.standardUserDefaults.dictionaryRepresentation.allKeys;for(NSString *key in keys)if([key containsString:library.rootURL.path])[NSUserDefaults.standardUserDefaults removeObjectForKey:key];require([fm removeItemAtURL:root error:nil],@"isolated fixtures and preferences cleaned");
|
||||
|
||||
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"version": "1.21.1",
|
||||
"build": 117,
|
||||
"articleID": 15792,
|
||||
"url": "https://dayu.media/15792/",
|
||||
"title": "大鱼调色 1.21.1 公测版|首开波形修复与人脸肤色保护提速",
|
||||
"status": "publish",
|
||||
"previousVersion": "1.19.1",
|
||||
"fieldsMatch": true,
|
||||
"preservedFields": [
|
||||
"id",
|
||||
"url",
|
||||
"status",
|
||||
"author",
|
||||
"categories",
|
||||
"tags",
|
||||
"featured_media",
|
||||
"prices and member access",
|
||||
"original images",
|
||||
"video and both covers",
|
||||
"FCPX synchronization configuration",
|
||||
"SEO enable switches"
|
||||
],
|
||||
"resourceChangedKeys": [
|
||||
"cao_downurl",
|
||||
"cao_original_filename"
|
||||
],
|
||||
"originalFilename": "大鱼调色-1.21.1.pkg",
|
||||
"bytes": 44509639,
|
||||
"sha256": "bdc63a1b1030ccad6960031cb9f2ec8297aa90f8d4acce2057eb5ba7750a289b",
|
||||
"fullPackageDownloadVerified": true,
|
||||
"downloadStaplerValid": true,
|
||||
"downloadSignatureAndGatekeeperPassed": true,
|
||||
"independentModuleCount": 16,
|
||||
"integratedEffectCount": 1,
|
||||
"packageAppAndEffectFilesVerified": true,
|
||||
"frontend": [
|
||||
{
|
||||
"request": "normal",
|
||||
"status": 200,
|
||||
"titleMatch": true,
|
||||
"descriptionSingleAndExact": true,
|
||||
"keywordsSingleAndExact": true,
|
||||
"scopeResultsAndBenchmarkTablePresent": true,
|
||||
"all16ModulesPresent": true,
|
||||
"originalImagesPresent": true,
|
||||
"codeBlockPresent": true,
|
||||
"priceAndMemberDisplayPresent": true,
|
||||
"mainPackageURLNotExposed": true
|
||||
},
|
||||
{
|
||||
"request": "fresh",
|
||||
"status": 200,
|
||||
"titleMatch": true,
|
||||
"descriptionSingleAndExact": true,
|
||||
"keywordsSingleAndExact": true,
|
||||
"scopeResultsAndBenchmarkTablePresent": true,
|
||||
"all16ModulesPresent": true,
|
||||
"originalImagesPresent": true,
|
||||
"codeBlockPresent": true,
|
||||
"priceAndMemberDisplayPresent": true,
|
||||
"mainPackageURLNotExposed": true
|
||||
}
|
||||
],
|
||||
"bodyImageCount": 5,
|
||||
"idempotencyKey": "dayu-color-1211-build117-article15792-20261108",
|
||||
"appUpdateChannelChanged": false,
|
||||
"backendSourceModified": false,
|
||||
"checkedAt": "2026-11-08T17:37:28.928622+08:00"
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"version": "1.21.3",
|
||||
"build": 120,
|
||||
"articleID": 15792,
|
||||
"url": "https://dayu.media/15792/",
|
||||
"title": "大鱼调色 1.21.3 公测版|LUT 高清划像预览与蒙版追踪提速",
|
||||
"status": "publish",
|
||||
"previousVersion": "1.21.1",
|
||||
"preservedFields": [
|
||||
"id",
|
||||
"url",
|
||||
"status",
|
||||
"author",
|
||||
"categories",
|
||||
"tags",
|
||||
"featured_media",
|
||||
"prices and member access",
|
||||
"historical text and images",
|
||||
"video and both cover roles",
|
||||
"FCPX synchronization configuration",
|
||||
"SEO enable switches"
|
||||
],
|
||||
"resourceChangedKeys": [
|
||||
"cao_downurl",
|
||||
"cao_original_filename"
|
||||
],
|
||||
"originalFilename": "大鱼调色-1.21.3.pkg",
|
||||
"bytes": 44527074,
|
||||
"sha256": "99872aee9e3e0a25ed17f3fb173b20b8549dd9473c6fccd3954dd09836213ff9",
|
||||
"fullPackageDownloadVerified": true,
|
||||
"downloadStaplerValid": true,
|
||||
"downloadSignatureAndGatekeeperPassed": true,
|
||||
"independentModuleCount": 16,
|
||||
"integratedEffectCount": 1,
|
||||
"packageAppAndEffectFilesVerified": true,
|
||||
"image": {
|
||||
"attachmentID": 15919,
|
||||
"url": "https://dayu.media/wp-content/uploads/2026/11/1794138126-43434ffd5f06df6.png",
|
||||
"role": "article body update illustration",
|
||||
"width": 2614,
|
||||
"height": 1696,
|
||||
"bytes": 2823339,
|
||||
"sha256": "3b398cc4d30b2a2939bf195f690ad2b5e5283086e5447585bdaa9757a891410b",
|
||||
"uploadedOriginalBytesVerified": true
|
||||
},
|
||||
"frontend": [
|
||||
{
|
||||
"request": "normal",
|
||||
"status": 200,
|
||||
"titleMatch": true,
|
||||
"descriptionSingleAndExact": true,
|
||||
"keywordsSingleAndExact": true,
|
||||
"imagePresentAndOriginalLinked": true,
|
||||
"imageAltText": true,
|
||||
"trackingMeasurementPresent": true,
|
||||
"all17EffectsPresent": true,
|
||||
"originalImagesPresent": true,
|
||||
"codeBlockPresent": true,
|
||||
"priceAndMemberDisplayPresent": true,
|
||||
"mainPackageURLNotExposed": true
|
||||
},
|
||||
{
|
||||
"request": "fresh",
|
||||
"status": 200,
|
||||
"titleMatch": true,
|
||||
"descriptionSingleAndExact": true,
|
||||
"keywordsSingleAndExact": true,
|
||||
"imagePresentAndOriginalLinked": true,
|
||||
"imageAltText": true,
|
||||
"trackingMeasurementPresent": true,
|
||||
"all17EffectsPresent": true,
|
||||
"originalImagesPresent": true,
|
||||
"codeBlockPresent": true,
|
||||
"priceAndMemberDisplayPresent": true,
|
||||
"mainPackageURLNotExposed": true
|
||||
}
|
||||
],
|
||||
"bodyImageCount": 6,
|
||||
"idempotencyKey": "dayu-color-1213-build120-article15792-20261108",
|
||||
"appUpdateChannelChanged": false,
|
||||
"backendSourceModified": false,
|
||||
"checkedAt": "2026-11-08T19:45:44.623573+08:00"
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"version": "1.21.6",
|
||||
"build": 124,
|
||||
"articleID": 15792,
|
||||
"url": "https://dayu.media/15792/",
|
||||
"title": "大鱼调色 1.21.6 公测版|LUT 预览复用与竖屏适配",
|
||||
"status": "publish",
|
||||
"previousVersion": "1.21.3",
|
||||
"preservedFields": [
|
||||
"id",
|
||||
"url",
|
||||
"status",
|
||||
"author",
|
||||
"categories",
|
||||
"tags",
|
||||
"featured_media",
|
||||
"RiPro price, VIP rate and other resource settings",
|
||||
"historical images and install guide",
|
||||
"FCPX configuration",
|
||||
"SEO enabled states and keywords"
|
||||
],
|
||||
"resourceChangedKeys": [
|
||||
"cao_downurl",
|
||||
"cao_original_filename"
|
||||
],
|
||||
"originalFilename": "大鱼调色-1.21.6.pkg",
|
||||
"downloadURL": "https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-6-124.pkg",
|
||||
"bytes": 44527921,
|
||||
"sha256": "c92082550720225d9ea7a0f8b0f7315f19a438d9c717ab637a476b6c678f0ad6",
|
||||
"fullPackageDownloadVerified": true,
|
||||
"downloadStaplerValid": true,
|
||||
"downloadSignatureAndGatekeeperPassed": true,
|
||||
"samePackageAsUpdateChannel": true,
|
||||
"integratedEffectCount": 1,
|
||||
"independentModuleCount": 16,
|
||||
"frontend": [
|
||||
{
|
||||
"request": "normal",
|
||||
"status": 200,
|
||||
"titleMatch": true,
|
||||
"descriptionSingleAndExact": true,
|
||||
"keywordsSingleAndExact": true,
|
||||
"versionSectionPresent": true,
|
||||
"all17EffectsPresent": true,
|
||||
"originalImagesPresent": true,
|
||||
"codeBlockPresent": true,
|
||||
"priceAndMemberDisplayPresent": true,
|
||||
"mainPackageURLNotExposed": true
|
||||
},
|
||||
{
|
||||
"request": "fresh",
|
||||
"status": 200,
|
||||
"titleMatch": true,
|
||||
"descriptionSingleAndExact": true,
|
||||
"keywordsSingleAndExact": true,
|
||||
"versionSectionPresent": true,
|
||||
"all17EffectsPresent": true,
|
||||
"originalImagesPresent": true,
|
||||
"codeBlockPresent": true,
|
||||
"priceAndMemberDisplayPresent": true,
|
||||
"mainPackageURLNotExposed": true
|
||||
}
|
||||
],
|
||||
"bodyImageCount": 6,
|
||||
"idempotencyKey": "dayu-color-1216-build124-article15792-20261108",
|
||||
"checkedAt": "2026-11-08T22:18:26.078322+08:00"
|
||||
}
|
||||
@@ -1,22 +1,55 @@
|
||||
{
|
||||
"path": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-19-0-109.pkg",
|
||||
"sha256": "0287d9e153463059730e99aade32a8b24cac19312e00d2450aa3c0819ae44745",
|
||||
"backup": null,
|
||||
"size": 44486766,
|
||||
"path": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-6-124.pkg",
|
||||
"sha256": "c92082550720225d9ea7a0f8b0f7315f19a438d9c717ab637a476b6c678f0ad6",
|
||||
"size": 44527921,
|
||||
"package": {
|
||||
"path": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-6-124.pkg",
|
||||
"sha256": "c92082550720225d9ea7a0f8b0f7315f19a438d9c717ab637a476b6c678f0ad6",
|
||||
"backup": null,
|
||||
"size": 44527921
|
||||
},
|
||||
"manifest": {
|
||||
"path": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/beta.json",
|
||||
"sha256": "4af4d18f6ecbe3c7444135e026a5e09b4520ae3728c798c667206ce871e9dc8e",
|
||||
"backup": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/beta-202611062006.jsonbak",
|
||||
"size": 845
|
||||
},
|
||||
"version": "1.19.0",
|
||||
"build": 109,
|
||||
"downloadURL": "https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-19-0-109.pkg",
|
||||
"timestamp": "202611062006",
|
||||
"endpointVerified": {
|
||||
"from106": true,
|
||||
"from109": false
|
||||
"sha256": "a88b413c185694f3f06261a72761811ed045b95cc54524d02ce64ef9db21beec",
|
||||
"backup": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/beta-202611082215.jsonbak",
|
||||
"size": 708
|
||||
},
|
||||
"version": "1.21.6",
|
||||
"build": 124,
|
||||
"previousVersion": "1.19.0",
|
||||
"previousBuild": 109,
|
||||
"previousManifestSHA256": "4af4d18f6ecbe3c7444135e026a5e09b4520ae3728c798c667206ce871e9dc8e",
|
||||
"timestamp": "202611082215",
|
||||
"localProject": "/Users/mac/Downloads/dayumedia/dayu-color-beta",
|
||||
"productionRoot": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media",
|
||||
"packageRelativePath": "wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-6-124.pkg",
|
||||
"manifestRelativePath": "wp-content/uploads/dayu-color-beta/updates/beta.json",
|
||||
"downloadURL": "https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-6-124.pkg",
|
||||
"fullDownloadVerified": true,
|
||||
"downloadStaplerValid": true
|
||||
"downloadSignatureAndGatekeeperPassed": true,
|
||||
"downloadStaplerValid": true,
|
||||
"sourceCommit": "e0bd8342c0b2231028af64abd7b544b2be8f29d7",
|
||||
"packageNotaryID": "3ea27bc7-b29e-4fd9-8a3f-aabf25d7e200",
|
||||
"releaseTag": "v1.21.6-lut-preview-reuse-20261108",
|
||||
"endpointVerified": {
|
||||
"from109": true,
|
||||
"from123": true,
|
||||
"from124": false,
|
||||
"from125": false
|
||||
},
|
||||
"endpointBase": "https://dayu.media/wp-json/dayu-color/v1/update?bundle_id=com.dayu.color&channel=beta¤t_build=",
|
||||
"verifiedManifest": {
|
||||
"bundle_id": "com.dayu.color",
|
||||
"channel": "beta",
|
||||
"version": "1.21.6",
|
||||
"build": 124,
|
||||
"package_type": "pkg",
|
||||
"install_mode": "pkg_installer",
|
||||
"size": 44527921,
|
||||
"sha256": "c92082550720225d9ea7a0f8b0f7315f19a438d9c717ab637a476b6c678f0ad6",
|
||||
"download_url": "https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-6-124.pkg",
|
||||
"minimum_system_version": "14.6",
|
||||
"notes": "LUT 浏览器按源帧比例显示。连续点选已生成的 LUT 时复用缩略图和划像,同一次打开期间保留列表顺序。移动播放头后在后台更新预览,新图就绪后替换。安装前请保存工作并正常退出 Final Cut Pro、Motion 和大鱼调色主 App。"
|
||||
},
|
||||
"backup": null
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"path": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-6-124.pkg",
|
||||
"sha256": "c92082550720225d9ea7a0f8b0f7315f19a438d9c717ab637a476b6c678f0ad6",
|
||||
"size": 44527921,
|
||||
"package": {
|
||||
"path": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-6-124.pkg",
|
||||
"sha256": "c92082550720225d9ea7a0f8b0f7315f19a438d9c717ab637a476b6c678f0ad6",
|
||||
"backup": null,
|
||||
"size": 44527921
|
||||
},
|
||||
"manifest": {
|
||||
"path": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/beta.json",
|
||||
"sha256": "a88b413c185694f3f06261a72761811ed045b95cc54524d02ce64ef9db21beec",
|
||||
"backup": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/beta-202611082215.jsonbak",
|
||||
"size": 708
|
||||
},
|
||||
"version": "1.21.6",
|
||||
"build": 124,
|
||||
"previousVersion": "1.19.0",
|
||||
"previousBuild": 109,
|
||||
"previousManifestSHA256": "4af4d18f6ecbe3c7444135e026a5e09b4520ae3728c798c667206ce871e9dc8e",
|
||||
"timestamp": "202611082215",
|
||||
"localProject": "/Users/mac/Downloads/dayumedia/dayu-color-beta",
|
||||
"productionRoot": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media",
|
||||
"packageRelativePath": "wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-6-124.pkg",
|
||||
"manifestRelativePath": "wp-content/uploads/dayu-color-beta/updates/beta.json",
|
||||
"downloadURL": "https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-6-124.pkg",
|
||||
"fullDownloadVerified": true,
|
||||
"downloadSignatureAndGatekeeperPassed": true,
|
||||
"downloadStaplerValid": true,
|
||||
"sourceCommit": "e0bd8342c0b2231028af64abd7b544b2be8f29d7",
|
||||
"packageNotaryID": "3ea27bc7-b29e-4fd9-8a3f-aabf25d7e200",
|
||||
"releaseTag": "v1.21.6-lut-preview-reuse-20261108",
|
||||
"endpointVerified": {
|
||||
"from109": true,
|
||||
"from123": true,
|
||||
"from124": false,
|
||||
"from125": false
|
||||
},
|
||||
"endpointBase": "https://dayu.media/wp-json/dayu-color/v1/update?bundle_id=com.dayu.color&channel=beta¤t_build=",
|
||||
"verifiedManifest": {
|
||||
"bundle_id": "com.dayu.color",
|
||||
"channel": "beta",
|
||||
"version": "1.21.6",
|
||||
"build": 124,
|
||||
"package_type": "pkg",
|
||||
"install_mode": "pkg_installer",
|
||||
"size": 44527921,
|
||||
"sha256": "c92082550720225d9ea7a0f8b0f7315f19a438d9c717ab637a476b6c678f0ad6",
|
||||
"download_url": "https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-6-124.pkg",
|
||||
"minimum_system_version": "14.6",
|
||||
"notes": "LUT 浏览器按源帧比例显示。连续点选已生成的 LUT 时复用缩略图和划像,同一次打开期间保留列表顺序。移动播放头后在后台更新预览,新图就绪后替换。安装前请保存工作并正常退出 Final Cut Pro、Motion 和大鱼调色主 App。"
|
||||
},
|
||||
"backup": null
|
||||
}
|
||||
@@ -2,13 +2,13 @@
|
||||
"status": "verified",
|
||||
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.21.1",
|
||||
"build": "117",
|
||||
"version": "1.21.8",
|
||||
"build": "126",
|
||||
"team": "B3W25FX5H5",
|
||||
"notaryID": "eeda9002-5e87-4a33-83d3-9163a14283ba",
|
||||
"notaryID": "c439ff82-db8e-44a9-83e4-68c62588a2de",
|
||||
"notaryStatus": "Accepted",
|
||||
"gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID",
|
||||
"sourceCommit": "98d80970e83e30e4883a76d8f740f2fca5d05e7c",
|
||||
"sourceCommit": "38e9fb25a21d7ba573f09093ea4ca45a79664cf5",
|
||||
"templatePath": "/Users/mac/Movies/Motion Templates.localized/Effects.localized/大鱼调色/大鱼调色/大鱼调色.moef",
|
||||
"templateSHA256": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"installedTemplateSHA256": {
|
||||
@@ -64,6 +64,6 @@
|
||||
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
|
||||
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
|
||||
},
|
||||
"shaderSHA256": "eeaec9798e2c51371886bb718942dd259e3bf1cc40abe5b2d7cb8552c240e0a3",
|
||||
"hostVerification": "verification/HostScopes1.21.1.json"
|
||||
"shaderSHA256": "5acc6fc7abda835021b38455dcd4ee582691d31869ed2cf844a1ca0e933dc8cc",
|
||||
"hostVerification": "verification/HostRenderFluidity1.21.8.json"
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"status": "verified",
|
||||
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.21.2",
|
||||
"build": "119",
|
||||
"team": "B3W25FX5H5",
|
||||
"notaryID": "7344dd1a-62ba-4e82-8dc1-36cb220c4942",
|
||||
"notaryStatus": "Accepted",
|
||||
"gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID",
|
||||
"sourceCommit": "6a979f16a828e17284c8f04647c79ac65811d3dc",
|
||||
"templatePath": "/Users/mac/Movies/Motion Templates.localized/Effects.localized/大鱼调色/大鱼调色/大鱼调色.moef",
|
||||
"templateSHA256": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"installedTemplateSHA256": {
|
||||
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
|
||||
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
|
||||
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
|
||||
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
|
||||
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
|
||||
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
|
||||
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
|
||||
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
|
||||
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
|
||||
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
|
||||
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
|
||||
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
|
||||
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
|
||||
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
|
||||
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
|
||||
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
|
||||
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
|
||||
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
|
||||
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
|
||||
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
|
||||
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
|
||||
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
|
||||
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
|
||||
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
|
||||
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
|
||||
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
|
||||
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
|
||||
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
|
||||
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
|
||||
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
|
||||
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
|
||||
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
|
||||
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
|
||||
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
|
||||
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
|
||||
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
|
||||
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
|
||||
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
|
||||
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
|
||||
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
|
||||
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
|
||||
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
|
||||
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
|
||||
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
|
||||
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
|
||||
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
|
||||
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
|
||||
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
|
||||
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
|
||||
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
|
||||
},
|
||||
"shaderSHA256": "65a75993de08f7be4fce3d76f24a80b7e677bd51f877f7d11333f360813b8ffd"
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"status": "verified",
|
||||
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.21.3",
|
||||
"build": "120",
|
||||
"team": "B3W25FX5H5",
|
||||
"notaryID": "6f1e34d4-7d24-4a73-9a8b-af41e132d4ba",
|
||||
"notaryStatus": "Accepted",
|
||||
"gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID",
|
||||
"sourceCommit": "43364549327470291abd82ca1d0eded2becd1579",
|
||||
"templatePath": "/Users/mac/Movies/Motion Templates.localized/Effects.localized/大鱼调色/大鱼调色/大鱼调色.moef",
|
||||
"templateSHA256": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"installedTemplateSHA256": {
|
||||
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
|
||||
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
|
||||
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
|
||||
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
|
||||
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
|
||||
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
|
||||
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
|
||||
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
|
||||
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
|
||||
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
|
||||
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
|
||||
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
|
||||
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
|
||||
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
|
||||
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
|
||||
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
|
||||
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
|
||||
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
|
||||
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
|
||||
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
|
||||
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
|
||||
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
|
||||
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
|
||||
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
|
||||
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
|
||||
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
|
||||
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
|
||||
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
|
||||
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
|
||||
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
|
||||
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
|
||||
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
|
||||
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
|
||||
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
|
||||
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
|
||||
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
|
||||
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
|
||||
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
|
||||
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
|
||||
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
|
||||
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
|
||||
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
|
||||
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
|
||||
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
|
||||
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
|
||||
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
|
||||
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
|
||||
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
|
||||
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
|
||||
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
|
||||
},
|
||||
"shaderSHA256": "44de67399ae211aed79663dc19b0503881d9de1c0268580c81ec0d7582dab764"
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"status": "verified",
|
||||
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.21.4",
|
||||
"build": "121",
|
||||
"team": "B3W25FX5H5",
|
||||
"notaryID": "f587be58-4008-42a3-8261-050988eae9b8",
|
||||
"notaryStatus": "Accepted",
|
||||
"gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID",
|
||||
"sourceCommit": "7f2917393c89cdc8935b494106e09b2851378ec5",
|
||||
"templatePath": "/Users/mac/Movies/Motion Templates.localized/Effects.localized/大鱼调色/大鱼调色/大鱼调色.moef",
|
||||
"templateSHA256": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"installedTemplateSHA256": {
|
||||
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
|
||||
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
|
||||
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
|
||||
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
|
||||
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
|
||||
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
|
||||
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
|
||||
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
|
||||
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
|
||||
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
|
||||
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
|
||||
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
|
||||
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
|
||||
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
|
||||
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
|
||||
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
|
||||
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
|
||||
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
|
||||
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
|
||||
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
|
||||
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
|
||||
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
|
||||
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
|
||||
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
|
||||
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
|
||||
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
|
||||
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
|
||||
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
|
||||
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
|
||||
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
|
||||
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
|
||||
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
|
||||
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
|
||||
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
|
||||
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
|
||||
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
|
||||
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
|
||||
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
|
||||
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
|
||||
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
|
||||
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
|
||||
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
|
||||
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
|
||||
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
|
||||
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
|
||||
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
|
||||
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
|
||||
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
|
||||
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
|
||||
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
|
||||
},
|
||||
"shaderSHA256": "44de67399ae211aed79663dc19b0503881d9de1c0268580c81ec0d7582dab764",
|
||||
"hostVerification": "verification/HostCurveHistogram1.21.4.json",
|
||||
"hostServicePID": 27232,
|
||||
"nativeChecks": 1014,
|
||||
"templateCount": 17,
|
||||
"shaderMatches1_21_3": true,
|
||||
"templateHashesMatch1_21_3": true
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"status": "verified",
|
||||
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.21.5",
|
||||
"build": "123",
|
||||
"team": "B3W25FX5H5",
|
||||
"notaryID": "5b1bf442-0460-44c9-9d99-9bcd18788c32",
|
||||
"notaryStatus": "Accepted",
|
||||
"gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID",
|
||||
"sourceCommit": "8ca33a78fd224d13fffb1092c704adfce6cda12b",
|
||||
"templatePath": "/Users/mac/Movies/Motion Templates.localized/Effects.localized/大鱼调色/大鱼调色/大鱼调色.moef",
|
||||
"templateSHA256": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"installedTemplateSHA256": {
|
||||
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
|
||||
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
|
||||
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
|
||||
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
|
||||
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
|
||||
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
|
||||
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
|
||||
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
|
||||
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
|
||||
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
|
||||
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
|
||||
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
|
||||
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
|
||||
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
|
||||
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
|
||||
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
|
||||
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
|
||||
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
|
||||
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
|
||||
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
|
||||
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
|
||||
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
|
||||
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
|
||||
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
|
||||
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
|
||||
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
|
||||
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
|
||||
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
|
||||
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
|
||||
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
|
||||
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
|
||||
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
|
||||
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
|
||||
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
|
||||
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
|
||||
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
|
||||
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
|
||||
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
|
||||
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
|
||||
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
|
||||
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
|
||||
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
|
||||
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
|
||||
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
|
||||
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
|
||||
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
|
||||
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
|
||||
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
|
||||
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
|
||||
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
|
||||
},
|
||||
"templateCount": 17,
|
||||
"templateHashesMatch1_21_4": true,
|
||||
"shaderSHA256": "e524e29a189fcf086b8aa7f75c7c0aba08b4a1666a454cbb34de98dd9165a0cb",
|
||||
"nativeChecks": 1018,
|
||||
"hostServicePID": 29984,
|
||||
"hostVerification": "verification/HostLUTBrowser1.21.5.json",
|
||||
"pluginKitUnique": true,
|
||||
"xcode": "Xcode 27.1 / Build version 27A9275",
|
||||
"hostAcceptanceRuntimeByteIdentical": true,
|
||||
"bundledTemplateFiles": 51
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"status": "verified",
|
||||
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.21.6",
|
||||
"build": "124",
|
||||
"team": "B3W25FX5H5",
|
||||
"notaryID": "79da8471-e33a-4463-86e9-8c5c114b149b",
|
||||
"notaryStatus": "Accepted",
|
||||
"gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID",
|
||||
"sourceCommit": "e0bd8342c0b2231028af64abd7b544b2be8f29d7",
|
||||
"templatePath": "/Users/mac/Movies/Motion Templates.localized/Effects.localized/大鱼调色/大鱼调色/大鱼调色.moef",
|
||||
"templateSHA256": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"installedTemplateSHA256": {
|
||||
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
|
||||
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
|
||||
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
|
||||
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
|
||||
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
|
||||
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
|
||||
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
|
||||
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
|
||||
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
|
||||
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
|
||||
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
|
||||
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
|
||||
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
|
||||
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
|
||||
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
|
||||
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
|
||||
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
|
||||
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
|
||||
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
|
||||
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
|
||||
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
|
||||
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
|
||||
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
|
||||
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
|
||||
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
|
||||
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
|
||||
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
|
||||
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
|
||||
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
|
||||
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
|
||||
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
|
||||
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
|
||||
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
|
||||
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
|
||||
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
|
||||
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
|
||||
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
|
||||
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
|
||||
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
|
||||
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
|
||||
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
|
||||
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
|
||||
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
|
||||
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
|
||||
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
|
||||
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
|
||||
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
|
||||
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
|
||||
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
|
||||
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
|
||||
},
|
||||
"shaderSHA256": "e524e29a189fcf086b8aa7f75c7c0aba08b4a1666a454cbb34de98dd9165a0cb",
|
||||
"nativeChecks": 1018,
|
||||
"hostVerification": "verification/HostLUTPreviewReuse1.21.6.json",
|
||||
"templateCount": 17,
|
||||
"pluginKitUnique": true
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"status": "verified",
|
||||
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.21.7",
|
||||
"build": "125",
|
||||
"team": "B3W25FX5H5",
|
||||
"notaryID": "0b71188e-188c-4c78-9087-28fa62a87a51",
|
||||
"notaryStatus": "Accepted",
|
||||
"gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID",
|
||||
"sourceCommit": "5aae670f56201a17cffe6aff3624d1b8cfad2308",
|
||||
"templatePath": "/Users/mac/Movies/Motion Templates.localized/Effects.localized/大鱼调色/大鱼调色/大鱼调色.moef",
|
||||
"templateSHA256": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"installedTemplateSHA256": {
|
||||
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
|
||||
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
|
||||
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
|
||||
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
|
||||
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
|
||||
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
|
||||
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
|
||||
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
|
||||
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
|
||||
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
|
||||
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
|
||||
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
|
||||
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
|
||||
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
|
||||
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
|
||||
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
|
||||
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
|
||||
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
|
||||
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
|
||||
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
|
||||
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
|
||||
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
|
||||
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
|
||||
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
|
||||
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
|
||||
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
|
||||
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
|
||||
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
|
||||
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
|
||||
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
|
||||
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
|
||||
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
|
||||
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
|
||||
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
|
||||
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
|
||||
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
|
||||
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
|
||||
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
|
||||
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
|
||||
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
|
||||
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
|
||||
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
|
||||
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
|
||||
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
|
||||
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
|
||||
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
|
||||
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
|
||||
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
|
||||
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
|
||||
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
|
||||
},
|
||||
"shaderSHA256": "e524e29a189fcf086b8aa7f75c7c0aba08b4a1666a454cbb34de98dd9165a0cb",
|
||||
"nativeChecks": 1022,
|
||||
"hostVerification": "verification/HostSpiderFluidity1.21.7.json"
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"status": "verified",
|
||||
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.21.8",
|
||||
"build": "126",
|
||||
"team": "B3W25FX5H5",
|
||||
"notaryID": "c439ff82-db8e-44a9-83e4-68c62588a2de",
|
||||
"notaryStatus": "Accepted",
|
||||
"gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID",
|
||||
"sourceCommit": "38e9fb25a21d7ba573f09093ea4ca45a79664cf5",
|
||||
"templatePath": "/Users/mac/Movies/Motion Templates.localized/Effects.localized/大鱼调色/大鱼调色/大鱼调色.moef",
|
||||
"templateSHA256": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"installedTemplateSHA256": {
|
||||
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
|
||||
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
|
||||
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
|
||||
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
|
||||
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
|
||||
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
|
||||
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
|
||||
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
|
||||
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
|
||||
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
|
||||
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
|
||||
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
|
||||
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
|
||||
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
|
||||
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
|
||||
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
|
||||
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
|
||||
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
|
||||
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
|
||||
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
|
||||
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
|
||||
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
|
||||
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
|
||||
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
|
||||
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
|
||||
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
|
||||
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
|
||||
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
|
||||
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
|
||||
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
|
||||
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
|
||||
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
|
||||
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
|
||||
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
|
||||
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
|
||||
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
|
||||
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
|
||||
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
|
||||
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
|
||||
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
|
||||
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
|
||||
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
|
||||
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
|
||||
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
|
||||
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
|
||||
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
|
||||
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
|
||||
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
|
||||
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
|
||||
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
|
||||
},
|
||||
"shaderSHA256": "5acc6fc7abda835021b38455dcd4ee582691d31869ed2cf844a1ca0e933dc8cc",
|
||||
"hostVerification": "verification/HostRenderFluidity1.21.8.json"
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"host": "Final Cut Pro 12.4",
|
||||
"before": "1.21.3 (120)",
|
||||
"after": "1.21.4 (121)",
|
||||
"sourceCommit": "7f2917393c89cdc8935b494106e09b2851378ec5",
|
||||
"formalPath": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"hostServicePID": 27232,
|
||||
"projectFormat": "960×540 Rec.709 SDR, 25p",
|
||||
"effect": "Standalone 曲线",
|
||||
"timecode": "00:00:02:24",
|
||||
"samples": 57600,
|
||||
"comparison": {
|
||||
"method": "同一工程原素材的同一帧并排实看。以各图 0 和 100% 位置换算相对横轴,数值为截图估读。",
|
||||
"nativeMainCluster": "约 42–53%",
|
||||
"pluginBeforeMainCluster": "约 14–28%",
|
||||
"pluginAfterMainCluster": "约 40–53%",
|
||||
"nativeSecondaryHighlight": "约 71%",
|
||||
"pluginBeforeSecondaryHighlight": "约 50%",
|
||||
"pluginAfterSecondaryHighlight": "约 71%",
|
||||
"inspectorReported": "Rec.709 视频电平,57600 个有效采样"
|
||||
},
|
||||
"limits": [
|
||||
"曲线叠层统计效果实例输出。FCP 示波器统计检视器画面。",
|
||||
"曲线叠层使用 256 档与 320×180 样本,且叠加亮度,保留高度缩放。未比较逐档像素计数。",
|
||||
"未编辑原片或效果参数。HDR 和 Motion 未作宿主对照。"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,208 @@
|
||||
{
|
||||
"version": "1.21.5",
|
||||
"build": 123,
|
||||
"compiledSource": "8ca33a78fd224d13fffb1092c704adfce6cda12b",
|
||||
"host": "Final Cut Pro 12.4",
|
||||
"formalApp": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"hostServicePID": 29984,
|
||||
"template": "风格 LUT",
|
||||
"fixture": {
|
||||
"width": 540,
|
||||
"height": 960,
|
||||
"fps": 25,
|
||||
"syntheticMedia": true,
|
||||
"DTDPassed": true,
|
||||
"isolatedLibrary": true
|
||||
},
|
||||
"UI": {
|
||||
"portraitGridAndComparisonVisuallyVerified": true,
|
||||
"quality": "高清",
|
||||
"openingOrderUnchangedOnClick": true,
|
||||
"checkedFirstSix": true,
|
||||
"selectedLUTAndComparisonSliderUpdated": true,
|
||||
"reopenMovesSelectionToFront": true,
|
||||
"restoredBrowserPreferences": true
|
||||
},
|
||||
"automatedBrowser": {
|
||||
"pass": true,
|
||||
"checks": [
|
||||
{
|
||||
"name": "report destination supplied",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "isolated library loaded",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "recent use deduplicates and puts latest first",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "recent history survives a new library instance",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "asynchronous browser task completed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "recent category is first in the sidebar",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "recent category contains only used LUTs in order",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "all LUTs also put recent uses before unused names",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "loading does not update recent history",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "host rejection does not update history",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "only successful host application records recent use",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "selecting a LUT keeps the tiles in place and updates selection",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "search respects recent-first ordering",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "clearing a search still uses the opening order",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "recent folder also uses the opening order",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "grid reflows when the browser size changes",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "list layout has full-width rows",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "sidebar divider changes folder width without overlapping previews",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "asynchronous browser task completed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "layout and sidebar width survive reopening",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "reopening places the successful selection first",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "asynchronous browser task completed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "remote-parent checks never display a test window",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "asynchronous browser task completed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "list thumbnail keeps portrait aspect",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "portrait grid cards follow frame geometry",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "remote window geometry is owned and remembered by the host",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "remote close callback runs once",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "recent history stays bounded at 40 newest paths",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "isolated fixtures and preferences cleaned",
|
||||
"pass": true
|
||||
}
|
||||
],
|
||||
"scope": "Real AppKit browser objects, hidden host-owned window fixture, asynchronous acknowledgement and root-scoped history; no visible test app or user LUT changes."
|
||||
},
|
||||
"installedPreviewChecks": [
|
||||
{
|
||||
"error": "",
|
||||
"name": "look-preview-standard-4-by-3-top-first",
|
||||
"pass": true,
|
||||
"size": "{320, 240}"
|
||||
},
|
||||
{
|
||||
"error": "",
|
||||
"name": "look-preview-bottom-left-flips-only-browser-rows",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "look-preview-high-4-by-3-top-first",
|
||||
"pass": true,
|
||||
"size": "{640, 480}"
|
||||
},
|
||||
{
|
||||
"name": "preview-invalidation-clears-analysis-and-browser",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"error": "未提供错误信息",
|
||||
"high": "{640, 360}",
|
||||
"name": "look-preview-tracks-frame-64x36",
|
||||
"pass": true,
|
||||
"standard": "{320, 180}"
|
||||
},
|
||||
{
|
||||
"error": "未提供错误信息",
|
||||
"high": "{360, 640}",
|
||||
"name": "look-preview-tracks-frame-36x64",
|
||||
"pass": true,
|
||||
"standard": "{180, 320}"
|
||||
},
|
||||
{
|
||||
"error": "未提供错误信息",
|
||||
"high": "{640, 640}",
|
||||
"name": "look-preview-tracks-frame-64x64",
|
||||
"pass": true,
|
||||
"standard": "{320, 320}"
|
||||
},
|
||||
{
|
||||
"error": "未提供错误信息",
|
||||
"high": "{640, 274}",
|
||||
"name": "look-preview-tracks-frame-84x36",
|
||||
"pass": true,
|
||||
"standard": "{320, 137}"
|
||||
}
|
||||
],
|
||||
"scope": "FCP 竖屏网格和划像以实看为准。横屏、方形、宽画幅及列表按自动化检查。Motion 未执行。",
|
||||
"hostAcceptanceAppNotaryID": "6ae670de-4a27-400d-a090-691379be58f5",
|
||||
"finalAppNotaryID": "5b1bf442-0460-44c9-9d99-9bcd18788c32",
|
||||
"hostTestServiceSHA256": "6793cc7a1be20eb88f2a6e31aa2b1330492312c37337310f59be605a7722057e",
|
||||
"finalServiceAndShaderByteIdentical": true,
|
||||
"finalInstalledNativeChecks": 1018
|
||||
}
|
||||
@@ -0,0 +1,477 @@
|
||||
{
|
||||
"version": "1.21.6",
|
||||
"build": 124,
|
||||
"host": "Final Cut Pro 12.4",
|
||||
"compiledSource": "e0bd8342c0b2231028af64abd7b544b2be8f29d7",
|
||||
"formalApp": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"registeredService": "/Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/PlugIns/大鱼调色 XPC Service.pluginkit",
|
||||
"nativeChecks": 1018,
|
||||
"fixture": {
|
||||
"width": 540,
|
||||
"height": 960,
|
||||
"fps": 25,
|
||||
"syntheticMedia": true,
|
||||
"DTDPassed": true,
|
||||
"isolatedLibrary": true
|
||||
},
|
||||
"UI": {
|
||||
"highResolution": true,
|
||||
"consecutiveSelections": 3,
|
||||
"allApplied": true,
|
||||
"firstSixThumbnailsRemainReady": true,
|
||||
"stableOrder": true,
|
||||
"wipeRemainedAvailable": true,
|
||||
"restoredBrowserPreferences": true
|
||||
},
|
||||
"browserChecks": {
|
||||
"pass": true,
|
||||
"checks": [
|
||||
{
|
||||
"name": "report destination supplied",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "isolated library loaded",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "recent use deduplicates and puts latest first",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "recent history survives a new library instance",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "asynchronous browser task completed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "recent category is first in the sidebar",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "recent category contains only used LUTs in order",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "all LUTs also put recent uses before unused names",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "loading does not update recent history",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "host rejection does not update history",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "only successful host application records recent use",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "selecting a LUT keeps the tiles in place and updates selection",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "search respects recent-first ordering",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "clearing a search still uses the opening order",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "recent folder also uses the opening order",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "grid reflows when the browser size changes",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "list layout has full-width rows",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "sidebar divider changes folder width without overlapping previews",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "asynchronous browser task completed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "layout and sidebar width survive reopening",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "reopening places the successful selection first",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "asynchronous browser task completed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "remote-parent checks never display a test window",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "asynchronous browser task completed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "list thumbnail keeps portrait aspect",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "portrait grid cards follow frame geometry",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "asynchronous browser task completed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "asynchronous browser task completed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "click reuses the original and selected tile bitmaps without replacing preview work",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "empty snapshots keep both previews and pending work",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "same-time host render after selection cannot replace the comparison reference",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "previous previews stay visible while the next frame renders",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "asynchronous browser task completed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "moving the playhead replaces the original and both uses of the LUT bitmap",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "asynchronous browser task completed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "the comparison and grid use the same high resolution frame",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "remote window geometry is owned and remembered by the host",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "remote close callback runs once",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "recent history stays bounded at 40 newest paths",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "isolated fixtures and preferences cleaned",
|
||||
"pass": true
|
||||
}
|
||||
],
|
||||
"scope": "Real AppKit browser objects, hidden host-owned window fixture, asynchronous acknowledgement and root-scoped history; no visible test app or user LUT changes."
|
||||
},
|
||||
"asyncCheck": {
|
||||
"sourceBytes": 197731344,
|
||||
"mainHeartbeatMaxGapMS": 6.232791660295334,
|
||||
"bulkFiles": 24,
|
||||
"checks": [
|
||||
{
|
||||
"name": "isolated source folder created",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "synthetic 65-cube file written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "anchor fixture written",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "preexisting library item imported",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "import completion is on main queue",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "bulk import succeeds",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "background operation completes within timeout",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "all files and previous entry preserved",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "main run loop stays responsive while importing",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "cancelled import returns cancellation",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "background operation completes within timeout",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "cancel exercised after copy had begun",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "cancel rolls back newly copied files only",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "cancelled scan reports cancellation",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "background operation completes within timeout",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "cancelled scan preserves previous snapshot",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "cold selection prepares off thread and completes on main",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "background operation completes within timeout",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "invalid selection reports failure asynchronously",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "background operation completes within timeout",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "3000 catalog files in independent folders created",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "background operation completes within timeout",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "large directory list creates only visible folder controls",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "large catalog creates only visible thumbnail controls",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "scrolling keeps thumbnail view count bounded",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "search remains usable after catalog loading",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "background operation completes within timeout",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "rapid selection applies only the latest LUT",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "background operation completes within timeout",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "clear selection supersedes pending LUT application",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "scan after browser close completes",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "background operation completes within timeout",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "closing during import cancels without changing existing library",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "background operation completes within timeout",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "acknowledgement fixture has selectable thumbnails",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "thumbnail stays loading until host application acknowledges",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "host rejection preserves previous selection and reports the error",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "new thumbnail click cancels previous application task",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "late older acknowledgement cannot mark a stale LUT selected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "only acknowledged latest thumbnail becomes selected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "removal also waits for host acknowledgement",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "acknowledged removal clears selection",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "closing the browser cancels pending host application",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "completion after close cannot change the selection",
|
||||
"pass": true
|
||||
}
|
||||
],
|
||||
"initialLiveThumbnailViews": 7,
|
||||
"snapshotsReadDuringImport": 1674,
|
||||
"mainHeartbeatTicks": 1674,
|
||||
"scope": "Synthetic 24 x 65-cube import with real main-run-loop heartbeat and snapshot reads; headless browser cancellation, latest selection and 3,025-entry virtualization. No user library or visible test app.",
|
||||
"pass": true,
|
||||
"largeCatalogEntries": 3025,
|
||||
"cubeDimension": 65,
|
||||
"initialLiveFolderViews": 15,
|
||||
"importSeconds": 8.340569083331502
|
||||
},
|
||||
"scope": "FCP 主机状态以点选前后检查为准。位图复用和过渡期间不清空由隔离测试验证。"
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"version": "1.21.2",
|
||||
"build": 119,
|
||||
"compiledSource": "6a979f16a828e17284c8f04647c79ac65811d3dc",
|
||||
"formalPath": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"appNotaryID": "7344dd1a-62ba-4e82-8dc1-36cb220c4942",
|
||||
"formalNativeChecks": 1010,
|
||||
"installedTemplateCount": 17,
|
||||
"metalLibraryIdenticalToMeasuredBuild118": true,
|
||||
"host": "Final Cut Pro 12.4",
|
||||
"hostPID": 21320,
|
||||
"pluginPID": 21334,
|
||||
"project": "独立资源库副本内的 1.19.0 Vision 全跟踪验收",
|
||||
"projectFormat": "1080p 25p, native 4K 60p source",
|
||||
"checks": {
|
||||
"referenceTimelineTimecode": "00:00:10:07",
|
||||
"sourceReferenceTimeSeconds": 10.309,
|
||||
"forwardKeys": 27,
|
||||
"bidirectionalKeys": 284,
|
||||
"lastBackwardPreviewSeconds": 0.029,
|
||||
"workerLog": "dayu_object_track_worker main=0, no full-size Gray8 at seed because cached reference was absent",
|
||||
"trackedMosaicVisuallyConfirmedAt": "00:00:11:04",
|
||||
"originalProjectEdited": false,
|
||||
"invalidHostTimeGuardNativeRegressionPassed": true,
|
||||
"hostQuitNormally": true
|
||||
},
|
||||
"rejectedBuild118": {
|
||||
"appNotaryID": "0b88e5d9-211c-4d64-9b2c-fb540253d433",
|
||||
"visionAndMosaicBenchmarksPass": true,
|
||||
"failure": "FCP returned a non-numeric reference time during the bidirectional start request. Process samples show synchronous FxPlug calls waiting on each other before desiredAnalysisTimeRange returned. No frame reached the tracking kernel.",
|
||||
"recovery": "Terminated only the hung product XPC after a normal quit and SIGTERM did not respond. FCP exited, was reopened to verify the independent QA copy, and then quit normally. Build 117 was restored before installing 119.",
|
||||
"firstInstalledTest": "An unrelated external LUT activation timing check exceeded 150ms once (200.9ms) and passed on the same signed product after retry (75.9ms)."
|
||||
},
|
||||
"limits": [
|
||||
"One motion clip. Valid frame tracking and a rendered tracked mosaic spot check; full privacy coverage, host FPS, total analysis latency, Motion and export were not measured."
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"host": "Final Cut Pro 12.4",
|
||||
"version": "1.21.8",
|
||||
"build": 126,
|
||||
"formalApp": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"loadedPlugin": "/Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/PlugIns/大鱼调色 XPC Service.pluginkit",
|
||||
"compiledCommit": "38e9fb25a21d7ba573f09093ea4ca45a79664cf5",
|
||||
"shaderMatchesBenchmark": true,
|
||||
"templateCount": 17,
|
||||
"fixture": "1080p HD 25p SDR Rec.709, isolated QA library, synthetic chart, 00:00:02:18",
|
||||
"observations": {
|
||||
"inspectorVersion": "1.21.8",
|
||||
"masterCurve": "Drove midpoint by mouse drag; output scope traces changed; one host undo restored the neutral diagonal and prior traces on reopen.",
|
||||
"midtonesWheel": "Dragged center toward warm hues; scope traces updated; one host undo restored the neutral center on reopen.",
|
||||
"primaryWhiteBalance": "0.0° / 0.0% → 302.9° / 5.6% on release → 0.0° / 0.0% after one host undo and reopen.",
|
||||
"scopeValidSamples": 57600,
|
||||
"playback": "Advanced 00:00:02:18 → 00:00:03:24 on the processed segment.",
|
||||
"hostExitedNormally": true
|
||||
},
|
||||
"limits": [
|
||||
"Remote inspector was used to confirm version and open the workbench. Actual mouse gestures were on the workbench.",
|
||||
"Synthetic SDR host acceptance only. Rendering measurements exclude FCP presentation, export and Motion."
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"host": "Final Cut Pro 12.4",
|
||||
"version": "1.21.7",
|
||||
"build": 125,
|
||||
"formalApp": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"compiledCommit": "5aae670f56201a17cffe6aff3624d1b8cfad2308",
|
||||
"shaderMatches124": true,
|
||||
"templateCount": 17,
|
||||
"fixture": "1080p HD 25p, SDR Rec.709, copied QA library, synthetic chart, 00:00:02:18",
|
||||
"observations": {
|
||||
"inspectorVersion": "1.21.7",
|
||||
"workspaceMouseDrag": "point 22 (0.4626, 0.1817)",
|
||||
"singleHostUndo": "reopened workspace and read point 22 (0.4000, 0.3268)",
|
||||
"redoCommandEnabled": true,
|
||||
"scopeValidSamples": 57600,
|
||||
"hostExitedNormally": true
|
||||
},
|
||||
"limits": [
|
||||
"Coordinate automation did not activate the remote inspector drag. Workspace drag and host undo passed; offscreen native tests cover the shared inspector control and release flush.",
|
||||
"No FCP end-to-end latency, target side-by-side FPS, Motion, or export timing."
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"version": "1.21.3",
|
||||
"build": 120,
|
||||
"compiledSource": "43364549327470291abd82ca1d0eded2becd1579",
|
||||
"formalPath": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"appNotaryID": "6f1e34d4-7d24-4a73-9a8b-af41e132d4ba",
|
||||
"formalNativeChecks": 1012,
|
||||
"installedTemplateCount": 51,
|
||||
"host": "Final Cut Pro 12.4",
|
||||
"hostPID": 24263,
|
||||
"pluginPID": 24279,
|
||||
"hardware": "Mac mini Apple M4",
|
||||
"macOS": "27.0.1",
|
||||
"fixture": {
|
||||
"sameSource": true,
|
||||
"sourceFormat": "3840x2160 60p",
|
||||
"timeline": "3840x2160 Rec.709 25p",
|
||||
"durationSeconds": 11.4,
|
||||
"frames": 285,
|
||||
"startTimecode": "00:00:00:00",
|
||||
"direction": "forward",
|
||||
"mosaicMode": "single shared rectangular mask",
|
||||
"fixtureDTD": "both FCPXML 1.14 fixtures pass",
|
||||
"isolation": "disposable QA library, original timeline and footage preserved"
|
||||
},
|
||||
"timings": {
|
||||
"metric": "elapsed wall clock from the forward-tracking click to first sampled host UI confirmation of 285 saved keys",
|
||||
"procedure": "Same Mac, FCP, media, timeline length, initial mask and UI polling method. First run included as cold context. Remaining three runs cleared the keys before repeating from the same start.",
|
||||
"baseline119Milliseconds": [
|
||||
4151,
|
||||
3651,
|
||||
3717,
|
||||
3682
|
||||
],
|
||||
"candidate120Milliseconds": [
|
||||
3532,
|
||||
3217,
|
||||
3200,
|
||||
3223
|
||||
],
|
||||
"baseline119PreviousPollMilliseconds": [
|
||||
3850,
|
||||
3398,
|
||||
3654,
|
||||
3391
|
||||
],
|
||||
"candidate120PreviousPollMilliseconds": [
|
||||
3468,
|
||||
3002,
|
||||
2986,
|
||||
3003
|
||||
],
|
||||
"baselineHotMedianMilliseconds": 3682,
|
||||
"candidateHotMedianMilliseconds": 3217,
|
||||
"hotMedianReductionPercent": 12.6,
|
||||
"candidateHostInternalMilliseconds": [
|
||||
3301.42,
|
||||
3013.88,
|
||||
3013.18,
|
||||
3030.21
|
||||
],
|
||||
"candidateDirectFramesPerRun": [
|
||||
285,
|
||||
285,
|
||||
285,
|
||||
285
|
||||
],
|
||||
"candidateCPUFallbackFramesPerRun": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
"visionInput": {
|
||||
"comparisons": 4,
|
||||
"height": 181,
|
||||
"name": "tracking-vision-iosurface-matches-cpu-bgra-byte-for-byte",
|
||||
"pass": true,
|
||||
"width": 323
|
||||
},
|
||||
"trackComparison": {
|
||||
"baseline": {
|
||||
"keys": 285,
|
||||
"firstSeconds": "0",
|
||||
"lastSeconds": "284/25",
|
||||
"parameterBytesSHA256": "a8335a070c22a1bd57e181d7cc4651689761c4b6be1180a6ea3043348091eded",
|
||||
"distinctMaskShapes": 285,
|
||||
"mosaicBlockSize": 48
|
||||
},
|
||||
"candidate": {
|
||||
"keys": 285,
|
||||
"firstSeconds": "0",
|
||||
"lastSeconds": "284/25",
|
||||
"parameterBytesSHA256": "a8335a070c22a1bd57e181d7cc4651689761c4b6be1180a6ea3043348091eded",
|
||||
"distinctMaskShapes": 285,
|
||||
"mosaicBlockSize": 48
|
||||
},
|
||||
"keysDiffering": [],
|
||||
"sameToolDocument": true,
|
||||
"sameMosaicSettings": true
|
||||
},
|
||||
"renderComparison": {
|
||||
"exportFormat": {
|
||||
"codec_name": "prores",
|
||||
"profile": "LT",
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"pix_fmt": "yuv422p10le",
|
||||
"color_space": "bt709",
|
||||
"r_frame_rate": "25/1",
|
||||
"nb_frames": "285"
|
||||
},
|
||||
"decodedFramesCompared": 285,
|
||||
"differingFrames": 0,
|
||||
"frameManifestSHA256": "053ddc44be5791ed880154d6013deef0de26dc6f599b29b083b5ae83f4885cee",
|
||||
"mosaicVisuallyConfirmed": true
|
||||
},
|
||||
"lutBrowser": {
|
||||
"fullBrowserOpenedFromFCPInspector": true,
|
||||
"hdDefaultRestoredAfterTest": true,
|
||||
"hdToggleRegeneratedThumbnailsAndPersistedAcrossReopen": true,
|
||||
"sourceSample": {
|
||||
"bytes": 3686400,
|
||||
"name": "look-preview-hd-640x360-top-first",
|
||||
"pass": true
|
||||
},
|
||||
"comparisonPreview": "Side-by-side wipe of the same frame, before the selected LUT and after the LUT at 100% preview strength.",
|
||||
"testedSliderPositions": [
|
||||
0,
|
||||
0.15,
|
||||
0.5,
|
||||
1
|
||||
],
|
||||
"visibleWipeMovementConfirmed": true,
|
||||
"directImageDrag": "The computer-control coordinate event went to the underlying FCP window. The on-screen wipe was verified with the comparison slider.",
|
||||
"hostQuitNormally": true
|
||||
},
|
||||
"scope": "One full forward object track in FCP, measured on one 4K clip. Other trackers and Motion did not enter this timing comparison."
|
||||
}
|
||||
+113
-15
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"bundlePath": "/Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/PlugIns/大鱼调色 XPC Service.pluginkit",
|
||||
"checks": 1008,
|
||||
"checks": 1028,
|
||||
"gpu": "Apple M4",
|
||||
"limitations": [
|
||||
"Finite states and a 64x48 frame; live FCP discovery, inspector interaction, timeline persistence and real host export require separate acceptance.",
|
||||
@@ -12,7 +12,7 @@
|
||||
"error": "未提供错误信息",
|
||||
"name": "runtime-directory",
|
||||
"pass": true,
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/F94DFD24-56B6-44ED-A218-CFA39E909FDD"
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/0C5A4B17-97FD-4E72-B40F-0AC4747D8B03"
|
||||
},
|
||||
{
|
||||
"descriptors": 285,
|
||||
@@ -208,6 +208,22 @@
|
||||
"name": "spider-drag-one-host-undo-group",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "spider-draft-follows-input-before-host-write",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "spider-burst-coalesces-to-last-host-value",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "spider-paused-drag-writes-live-before-release",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "spider-deferred-write-preserves-external-edit",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"error": "未提供错误信息",
|
||||
"name": "spider-archive-retains-mesh-pins-and-lut-paths",
|
||||
@@ -550,22 +566,53 @@
|
||||
"whites": 6
|
||||
},
|
||||
{
|
||||
"bytes": 921600,
|
||||
"error": "",
|
||||
"name": "look-preview-top-left-is-original-analysis",
|
||||
"pass": true
|
||||
"name": "look-preview-standard-4-by-3-top-first",
|
||||
"pass": true,
|
||||
"size": "{320, 240}"
|
||||
},
|
||||
{
|
||||
"all180RowsCompared": true,
|
||||
"analysisKeepsPhysicalRowOrder": true,
|
||||
"error": "",
|
||||
"name": "look-preview-bottom-left-flips-only-browser-rows",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "look-preview-high-4-by-3-top-first",
|
||||
"pass": true,
|
||||
"size": "{640, 480}"
|
||||
},
|
||||
{
|
||||
"name": "preview-invalidation-clears-analysis-and-browser",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"error": "未提供错误信息",
|
||||
"high": "{640, 360}",
|
||||
"name": "look-preview-tracks-frame-64x36",
|
||||
"pass": true,
|
||||
"standard": "{320, 180}"
|
||||
},
|
||||
{
|
||||
"error": "未提供错误信息",
|
||||
"high": "{360, 640}",
|
||||
"name": "look-preview-tracks-frame-36x64",
|
||||
"pass": true,
|
||||
"standard": "{180, 320}"
|
||||
},
|
||||
{
|
||||
"error": "未提供错误信息",
|
||||
"high": "{640, 640}",
|
||||
"name": "look-preview-tracks-frame-64x64",
|
||||
"pass": true,
|
||||
"standard": "{320, 320}"
|
||||
},
|
||||
{
|
||||
"error": "未提供错误信息",
|
||||
"high": "{640, 274}",
|
||||
"name": "look-preview-tracks-frame-84x36",
|
||||
"pass": true,
|
||||
"standard": "{320, 137}"
|
||||
},
|
||||
{
|
||||
"error": "",
|
||||
"name": "cst-export-production-sample",
|
||||
@@ -993,7 +1040,7 @@
|
||||
"error": "未提供错误信息",
|
||||
"name": "renderer-export-33cube",
|
||||
"pass": true,
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/F94DFD24-56B6-44ED-A218-CFA39E909FDD/diagnostic-export.cube"
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/0C5A4B17-97FD-4E72-B40F-0AC4747D8B03/diagnostic-export.cube"
|
||||
},
|
||||
{
|
||||
"bytes": 1186074,
|
||||
@@ -1013,7 +1060,7 @@
|
||||
},
|
||||
{
|
||||
"heartbeats": 1,
|
||||
"maximumGapMS": 74.70649999959278,
|
||||
"maximumGapMS": 20.025375008117408,
|
||||
"name": "external-activation-main-loop-responsive",
|
||||
"pass": true
|
||||
},
|
||||
@@ -1504,7 +1551,7 @@
|
||||
"closePixels": 128,
|
||||
"name": "workspace-offscreen-compact-icons-and-close-render-pixels",
|
||||
"pass": true,
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/F94DFD24-56B6-44ED-A218-CFA39E909FDD/workspace-topbar.png",
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/0C5A4B17-97FD-4E72-B40F-0AC4747D8B03/workspace-topbar.png",
|
||||
"toolbarPixels": 3867
|
||||
},
|
||||
{
|
||||
@@ -1575,7 +1622,7 @@
|
||||
},
|
||||
{
|
||||
"name": "workspace-independent-style-fixture-inserted",
|
||||
"node": "D8AD2381-9BCE-4946-9397-7C9F3D2A3DEE",
|
||||
"node": "3070A4B4-7EE2-4A3E-AB0A-D1B82F28C5B9",
|
||||
"pass": true,
|
||||
"validDocument": true
|
||||
},
|
||||
@@ -1584,10 +1631,10 @@
|
||||
"error": "none",
|
||||
"name": "workspace-independent-style1-writes-target-node-inside-undo",
|
||||
"nodePaths": {
|
||||
"look0": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/F94DFD24-56B6-44ED-A218-CFA39E909FDD/node.cube"
|
||||
"look0": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/0C5A4B17-97FD-4E72-B40F-0AC4747D8B03/node.cube"
|
||||
},
|
||||
"pass": true,
|
||||
"rootStyle1": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/F94DFD24-56B6-44ED-A218-CFA39E909FDD/user-new.cube",
|
||||
"rootStyle1": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/0C5A4B17-97FD-4E72-B40F-0AC4747D8B03/user-new.cube",
|
||||
"undoStartsAfter": 3,
|
||||
"undoStartsBefore": 2,
|
||||
"written": true
|
||||
@@ -1673,6 +1720,10 @@
|
||||
"name": "workspace-toolbar-adds-real-uuid-and-synchronizes-regular-inspector",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "workspace-curve-coalesces-pending-samples",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "workspace-curve-xy-samples-use-one-undo-and-exact-uuid",
|
||||
"pass": true
|
||||
@@ -2789,6 +2840,10 @@
|
||||
"name": "print-with-grain-still-rejected-by-static-cube",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "tracking-invalid-host-time-does-not-start-analysis",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "tracking-renders-valid-source-before-analysis",
|
||||
"pass": true
|
||||
@@ -2901,6 +2956,17 @@
|
||||
"previousReadbackBytes": 33177600,
|
||||
"readbackBytes": 8294400
|
||||
},
|
||||
{
|
||||
"name": "mosaic-tracking-4k-color-input-matches-without-gray-buffer",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"comparisons": 4,
|
||||
"height": 181,
|
||||
"name": "tracking-vision-iosurface-matches-cpu-bgra-byte-for-byte",
|
||||
"pass": true,
|
||||
"width": 323
|
||||
},
|
||||
{
|
||||
"name": "shared-tracking-same-mask-switches-global-hsl-spider-without-interruption",
|
||||
"pass": true
|
||||
@@ -4152,6 +4218,30 @@
|
||||
"name": "unified-moving-output-changes-actual-domain-order",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"error": "未提供错误信息",
|
||||
"name": "unified-luma-key-input-reference",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"error": "未提供错误信息",
|
||||
"name": "unified-luma-key-graded-reference",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"error": "未提供错误信息",
|
||||
"name": "unified-luma-key-original-render",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"error": "未提供错误信息",
|
||||
"name": "unified-luma-key-layer-render",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "unified-mask-key-source-selects-original-or-current-color",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "unified-inspector-output-visible-at-chain-tail",
|
||||
"pass": true
|
||||
@@ -4319,6 +4409,10 @@
|
||||
"name": "histogram-malformed-and-empty-safe",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "histogram-encodes-straight-linear-grey-as-rec709-signal",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "histogram-open-inspector-uses-cached-effect-output",
|
||||
"pass": true
|
||||
@@ -4339,6 +4433,10 @@
|
||||
"name": "histogram-open-inspector-refreshes-after-a-new-output-at-the-same-time",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "histogram-inspector-and-canvas-use-rec709-video-bins-for-linear-output",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "relief-only-two-choices-and-no-text-glow",
|
||||
"pass": true
|
||||
@@ -4621,7 +4719,7 @@
|
||||
{
|
||||
"name": "viewer-real-osc-draws-minimal-curve-on-clear-canvas",
|
||||
"pass": true,
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/F94DFD24-56B6-44ED-A218-CFA39E909FDD/viewer-workspace.png"
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/0C5A4B17-97FD-4E72-B40F-0AC4747D8B03/viewer-workspace.png"
|
||||
},
|
||||
{
|
||||
"name": "canvas-hsl-plot-captures-outside-and-commits-one-undo",
|
||||
@@ -5020,6 +5118,6 @@
|
||||
"pass": true
|
||||
}
|
||||
],
|
||||
"runtimePath": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/F94DFD24-56B6-44ED-A218-CFA39E909FDD",
|
||||
"runtimePath": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/0C5A4B17-97FD-4E72-B40F-0AC4747D8B03",
|
||||
"scope": "Native model and renderer integration with real Metal/IOSurface textures and fake FxPlug host selectors; no GUI or live host document."
|
||||
}
|
||||
@@ -0,0 +1,563 @@
|
||||
{
|
||||
"hostHardware": "Mac mini M4",
|
||||
"baselineBuild": 117,
|
||||
"baselineCompiledSource": "98d80970e83e30e4883a76d8f740f2fca5d05e7c",
|
||||
"measuredCandidateBuild": 118,
|
||||
"measuredCandidateCompiledSource": "4b7e348ff5a69a5255e3a7b3a34b96dac182568f",
|
||||
"renderMethod": "Release renderer objects paired with the matching signed build Metal resource. RGBA16Float frames, neutral grading, 48-pixel block reference, 14 exposure-varying inputs per case, 2 warmup frames discarded. Portrait cases use tools/fixtures/astronaut.png on a gradient, no-face uses the gradient. GPU upload and output SHA-256 readback excluded.",
|
||||
"maskFixture": "Rotated 0.63 rad, .29 by .37 masks, feather .25. Bezier has four curved nodes (96 flattened edges). Multi-mask union and invert with nondefault input/output levels included.",
|
||||
"trackingCaptureMethod": "Time Metal preprocessing plus CPU copy only, full Gray8 and RGBA capture versus RGBA-only capture. SHA-256 of each 640x360 color input.",
|
||||
"identicalPixelFrames": 192,
|
||||
"identicalColorTrackingInputs": 24,
|
||||
"samples": [
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"mode": "disabled",
|
||||
"sha256PerFrame": [
|
||||
"ba4b35218b2f92f7d935d944acf8bef952410c2d90cd982f50c21093ecde188b",
|
||||
"96acbf3666bc7bd94ef93d2ee7f87154e6d1d40ac243c7ae4ee39c80a3950d04",
|
||||
"f9ed1f0a22a908ee20a4ee101d2172af9d7f470393dcc8629f357b8340954a50",
|
||||
"155fcd1409f3a5fa3760d8165a685c4fe47c6bb244319208c8265dafcc1c2fd9",
|
||||
"9a97abedb73024452e210778da2969799dadd534967938801b311bcebf781961",
|
||||
"a8d2b7692d6911fd1b36a3bcc9bb2d6392d6dece6122133d4df3d27baf7c1b13",
|
||||
"b78cfa54b68323282bca63600df9beb8362a6f8af5ca9e0df874e1a14b70c2bc",
|
||||
"d7fcaaec84253bf7db1b65543f98092397fdbcab70a6af2df5c4e0a63b190ea9",
|
||||
"3ef7fa7cfaa709ec06c69cc592461da52f754453718ee396a5e7187b512227ae",
|
||||
"a6482b6e8b7bc37b4a49127f23d6af51ce2c76d1985a8d398d23016ada35f4b6",
|
||||
"8cc7816b0ef310f9317c814d8cccf41cddd1c8833a567890c611c6e440e58a7d",
|
||||
"6c0b418385b9755070ece48e89c0bda5e6b316391ade4191d74997730baf0ab2"
|
||||
],
|
||||
"baselineMedianMs": 2.0491,
|
||||
"candidateMedianMs": 1.8956,
|
||||
"baselineMeanFacePrepMs": 0,
|
||||
"candidateMeanFacePrepMs": 0,
|
||||
"lastFrameFaceCount": 0
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"mode": "face",
|
||||
"sha256PerFrame": [
|
||||
"ed421e6d48af413f65a5f0b75a965332f66a73eba7fd9fe9d6e990327a71de3d",
|
||||
"aa41151a6b8f0aac3a867ce5a7454bbb72b4fbdb0f2394a412160f1d784252a7",
|
||||
"4b56856f356eb368460c88d35fa1c32bd19680b405d6b76509c88c5ed37a0d99",
|
||||
"62c410cb2341ab7298f8dad5e39638fdb7024f42fa07cd2a68d50e6fc4d1912e",
|
||||
"203771a3e935156f6a2a6b939d67b02136449184263ac1352481948e74b6e61f",
|
||||
"d6724373c2c985763f552d90cdc3dde713d868f84bd7e10933566a118bcbba9d",
|
||||
"0214454efce6281a1c0224467b8173159ee138e4a2872d345776cce3c9c9f3b7",
|
||||
"fadc129a39f84679c5338cdf7e0fc995c9933c774b0a05e09bdfe849b8dbff7c",
|
||||
"fde8f1e4b7ab88921c1b20554036bdbb026167e5ea3f7ee47aec7b73be8038b5",
|
||||
"d6d93f5f9c9649a4adcba4761f170d4626bc2fd5a9ea91ca7a3fad3997503faf",
|
||||
"b2eeeb35953a90d9d8a2ec8a4483e1b3f4b12b42678aec83da1f67144bf23de3",
|
||||
"5f242c8819919c4835b00e090614cbed760d454c998d7a4cd3ca458b68483fff"
|
||||
],
|
||||
"baselineMedianMs": 11.2305,
|
||||
"candidateMedianMs": 10.8694,
|
||||
"baselineMeanFacePrepMs": 7.4263,
|
||||
"candidateMeanFacePrepMs": 7.2425,
|
||||
"lastFrameFaceCount": 1
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"mode": "no-face",
|
||||
"sha256PerFrame": [
|
||||
"ebc9765c1b88ee3747f9fe33326f6c56162c22da14f1d2f9b50fab3900141a60",
|
||||
"ee53366bdfbf5d9bbb4fe14998dd754066d12d6c02bde94c1aa8ba9f58afe18f",
|
||||
"4ab88d1638f9552fb121ecdb7926e677171b2af7c6ebab417705a77ec9520f3d",
|
||||
"ade59b6c2ada3ffd4276e94e6f3aa2f614fefd096a580f9f4aa8280c33c9340c",
|
||||
"f2d972148198efe7e8e95475f2ab236cf70a099e0cc85f44c4409e7e5a5a6907",
|
||||
"61985304447a3d57586adff3ed6a2c8de3a98a9a3c451548f633c5c686893190",
|
||||
"32f5553cbf50589a913d5becfbed40120f3a24e7e5b510f081131facc8f4794d",
|
||||
"260544e020ba00ed84067b49749f7a137fe6db21afa5017877578dce11e5fdc6",
|
||||
"802d14d21cfde4caa90fe77814c7fc14f6ce9f07f959d93ea30eb84471a1a16e",
|
||||
"a9e48a54f9f9acfcff9318fc04b3f20bb0902672b308fd34705ef4a0ee69c0d0",
|
||||
"b185927c15463b03a93a9fe166bab9b8b87da72b74716da6f5bc8da765d17cbd",
|
||||
"36fe78ac4a23828544fd1ae7c572fec0790f5c05869a64f94cf97f13ef939ac4"
|
||||
],
|
||||
"baselineMedianMs": 9.524,
|
||||
"candidateMedianMs": 7.6674,
|
||||
"baselineMeanFacePrepMs": 5.7434,
|
||||
"candidateMeanFacePrepMs": 6.0188,
|
||||
"lastFrameFaceCount": 0
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"mode": "rectangle",
|
||||
"sha256PerFrame": [
|
||||
"285fc52e14b4c3814adf733e8938586855e90ff43135cacd15ecbb8533b668e6",
|
||||
"3f664e248938bf15b8ff71d4702b6697747c788b6725008dff1894dbe19ac73e",
|
||||
"27bff118d583c712ea66770ae8332784739c0f3dfb31fcc88742332a04c5b2e1",
|
||||
"d93c1d2969abe4e4b8214e27e2e1514a8832299fa7e5fd1b27f59ea96a068172",
|
||||
"43a1b62de57354d681f09c12bd37bce18f57895f8977ee885db20a67b4a91b42",
|
||||
"4a081e0e306944de26d8f079a4be0b0f1c2fc34c9245a24e0e297d045b80d3b3",
|
||||
"6042028e264ed52977b2b76107d2295da76c2ffa6da8759db2fb00040c96e249",
|
||||
"019a1a340875fea6269756b07a6d0949c5f1d94d0d6b07aba4d835fdd5319189",
|
||||
"aac85a0b4cd3c0651db01b7d9711bf277fb8cb9ff16fd02018a2161ba88d3096",
|
||||
"33b8b8671a289986b8588687b5d90f6c242b376cfb0dbb6523e877f30eababb6",
|
||||
"e30609e8c4e3aad4cf4ca268d76b0e49e05186ccd6675e7e31d8dd1373060dbc",
|
||||
"86591d1a9b64d87ec3160d184ee0720a3860500231094bc18051a9019437efd3"
|
||||
],
|
||||
"baselineMedianMs": 3.4063,
|
||||
"candidateMedianMs": 3.1885,
|
||||
"baselineMeanFacePrepMs": 0,
|
||||
"candidateMeanFacePrepMs": 0,
|
||||
"lastFrameFaceCount": 0
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"mode": "bezier",
|
||||
"sha256PerFrame": [
|
||||
"f6ecf4c801e5c810ffda4a7bbcadda14b0bd370ce5ded2a9da7c96eaaa9ceb1d",
|
||||
"06545206d582aa150de747846cd9b13aa93a49b86330ac9cdc5a426369292eef",
|
||||
"534d0fb917f656f49743aa7d56622eb19b419e4a2596a645db8b9245446d7efd",
|
||||
"5064f7664a5eb9da58f8fa04d1766ddde040014dd29a3ecc562a94a61e1536f6",
|
||||
"cfee6f55ed591d5d4edcff4f8df6368ca4d17a3bc8a3a66517899cbd11cb7e8e",
|
||||
"fc33f486e21eb19494b723824d2a148605dce41594d5f1ae8cfd83b16879521d",
|
||||
"ff7f5663572be81bc377d94a5a1310a4daf58fad7632f612d796ad97dccf3116",
|
||||
"9a66e7bc4fbe6a190e08d701627489e8bd2f9f31e73c57421b2a7e6626553aa5",
|
||||
"bcb499bb7855b1cc5c5e3d43fad29c91f0d34f69df7b561a857438f883d2c276",
|
||||
"bcf623f1daea8a0a2143e147cbafb7112d58f754bb6ad13d54152f3d025b7795",
|
||||
"78f75ac0dd2bafefdc84a0d8b16eb8f1225481f6517e5366599e6ec0b5dc3af7",
|
||||
"93ae3e9daefd17c5abe4ae4ed67da73d031995a4ba5bbdfecc25a2f6fa656b48"
|
||||
],
|
||||
"baselineMedianMs": 6.6744,
|
||||
"candidateMedianMs": 3.465,
|
||||
"baselineMeanFacePrepMs": 0,
|
||||
"candidateMeanFacePrepMs": 0,
|
||||
"lastFrameFaceCount": 0
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"mode": "bezier-inverted-levels",
|
||||
"sha256PerFrame": [
|
||||
"2863321e0c62d7905a41e04c61f64c5ddcdf5c88af94aaf22e87cf71996145c4",
|
||||
"09b809b566ad777a9f24963f609b5f0258d0cbffdbfadc2c4dc3ca77e12278d4",
|
||||
"35ab4f6c14da7ef9614cf2fe4945dcaa0ff0ae906607456e4a135dbfafbdf0a3",
|
||||
"4659732fcbedd01c3e423516dc2823c480683a9e4b578738f2f3ac8059cadab0",
|
||||
"c0deae7c6042e9c47c908d246733697b5b78c805b1d2bfa7a144f5f7deab7f44",
|
||||
"e845d96b203b223d408a8699cd4d4e04f79770abd808682438d1dd5475d32dd1",
|
||||
"a39688be0bb53f9772c12ff9da9598eed56952cc3e0dc8e04336e8cbb05f9fe7",
|
||||
"f0cb1ab9ffd307de703a925cf4d9303728e2709673101546adac0e458e2df593",
|
||||
"33475ca42c4190d091e0aa6552ad09b34556c2cf37e3ad1f2314e95ba9f2b9fc",
|
||||
"a8a11becbdc0ad34b7a83eae1838a293eab6cdafbf78f9e3b7d4854b4ac44dd5",
|
||||
"99b9f899605450e94be7f4cae6f162f8739f279438b0a3a1bb40026e58971b48",
|
||||
"613512897c753d1cff83aecf5197d648182064be424126eb151ac4517b4e91e3"
|
||||
],
|
||||
"baselineMedianMs": 6.7219,
|
||||
"candidateMedianMs": 3.8155,
|
||||
"baselineMeanFacePrepMs": 0,
|
||||
"candidateMeanFacePrepMs": 0,
|
||||
"lastFrameFaceCount": 0
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"mode": "two-beziers",
|
||||
"sha256PerFrame": [
|
||||
"d57d29fc496e8381ae77c91dd7849867cacc3f34ae53b25bb53afebf5358f1d8",
|
||||
"37c5324cf33802aa015c4636335871189c117faa87764399d20bff1dc4ff6d0d",
|
||||
"58dee3403bf538ddee73bce81d854401ea9a955f098e6d40956a22c34668a4e6",
|
||||
"7ea446eca9972ec6d501d24d2ea4c3554c10deb218c39e4c4a603e145c121d56",
|
||||
"d0be4e2b11cd6db2b1de30d2c7f743326e09b3b723317739ea568cdd9543de78",
|
||||
"0035e2fae56bb5d9d646676a94169326066de64279dd3d0f76b8d3e5116af6c3",
|
||||
"574f1bce494e39ca864c1c030450be7435262b33f02b81090a2c35e6148de50e",
|
||||
"6574600d92bb8c3518a2ec367c683079cc9cbc36ce9cf1cad133665a7f9e66ac",
|
||||
"2624decc4a4ece5bcd4096e0e55b78a8d171a54aab6fbe9b6b2fd841b4321661",
|
||||
"f54d187fb02fdde946ccc8ad025081210af5d56ef7c6a6ccdd1bd8d90e98f428",
|
||||
"679d2d395d81defd67d1634021a54f465546694411977eea15e8f1e0f4839df3",
|
||||
"d99beff58dc5220d9cd4b74d1c67d7e07d547b6f0308b9766c6f6233c47ff793"
|
||||
],
|
||||
"baselineMedianMs": 10.5445,
|
||||
"candidateMedianMs": 3.8275,
|
||||
"baselineMeanFacePrepMs": 0,
|
||||
"candidateMeanFacePrepMs": 0,
|
||||
"lastFrameFaceCount": 0
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"mode": "luma-key",
|
||||
"sha256PerFrame": [
|
||||
"d0588b4b17174cbab85df121b3d7b743b7f3dd5965f5ec491c098245911f3fe1",
|
||||
"94a6cd034600a1d6dc1377cd9f9c3cb8fa6c2e0c6c388dbad21709e053c57969",
|
||||
"21d3658545ecaef29cd7f0fd36b3f6d4625641fdf35ea9ae547cd9ffb62e6c93",
|
||||
"b62910ff54f9b76e5fcf25e62647b02189c516f9ab5401b7427a6b031e626d6c",
|
||||
"b5e40dfa0f0a46fada0d6dcae1a8f798725e0ddd596a3b87eabf71ce3c2c8d4e",
|
||||
"fe5e4526fe2eabd51ee38aceeddf4d82bc8b181b5801f7eea7a01d5627c8d990",
|
||||
"eee2ece8b49070cc05d674512fb1a6f0e8df385e24d7a3bfda84b1934bfe734b",
|
||||
"efd8536f0d6d8412be29c7cd22b8d9593ec5d175cb534a4f908ec4d314cc0da5",
|
||||
"66c1b408abb527374773a301d5b08604f3bb300858aa6d62d62df0f148c5c981",
|
||||
"49d811c8a1c82a29c61f27c9aeb456f7547cfc7831c09c07b6d98fb7f7fa50d1",
|
||||
"be7e00c448f528a7fce866c55867da938c394a4a47e486c4c81e1ffba26604f9",
|
||||
"d306d6ff654ebf25a0ac4233cbfc99a4ef96b72bd22804f40a613e276e18fbf7"
|
||||
],
|
||||
"baselineMedianMs": 3.0707,
|
||||
"candidateMedianMs": 3.3053,
|
||||
"baselineMeanFacePrepMs": 0,
|
||||
"candidateMeanFacePrepMs": 0,
|
||||
"lastFrameFaceCount": 0
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"mode": "tracking-color-capture",
|
||||
"sha256PerFrame": [
|
||||
"e9c6a6323ac7a1d8691e0dbc06f65b074ce17e951424e29af6243244ca08485c",
|
||||
"6461653245d5586429c7a853e3b8b0b135a6e5c5164e6cc9760b0255744bec5e",
|
||||
"4c8088f312f8f34d82483a6b7303e909b02322ade93dcc66db6c8f2f4d3b1aad",
|
||||
"50f2ea73f3a9cb2b04aa97d0d6720a6d6a547cd72dd1717435d9f53924bbed03",
|
||||
"b6cdf5d0807d8c8ee1db419dcd96563ac8b0b7ae08d7adab2059f2ac199280d5",
|
||||
"dd48ab20e649240503813bb07facadb23eef69f70c48c829fe571c34ffc844e4",
|
||||
"01f765a772e2505a338897b9a6ce7c464e56b49d44f91deeb85d98092726670d",
|
||||
"475e4426812c009a82f5fdd936a3dad3ac5b52069049fba9fc8dcf9bc0301978",
|
||||
"631c8876ae53b8ca717882861f087ff58323a3e2126b1569600a91e83dc78b21",
|
||||
"cadaa2a45cc48df66b50007da1b1c4f7d09b733a10b75b1b6a7a0219efe71723",
|
||||
"ab21cfc3173ace8dfe6ef53056a9719c6b09370b7183c45d12059822742ca687",
|
||||
"cce1e796b788c2170cda90c82740f93a745faff07c042abe57f563d8c0631307"
|
||||
],
|
||||
"baselineMedianMs": 2.1842,
|
||||
"candidateMedianMs": 1.4864,
|
||||
"baselineMeanFacePrepMs": 0,
|
||||
"candidateMeanFacePrepMs": 0,
|
||||
"lastFrameFaceCount": 0
|
||||
},
|
||||
{
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"mode": "disabled",
|
||||
"sha256PerFrame": [
|
||||
"13d00b63247d515e4c280e051af5ac0a9897d825c7b8d07bee36679c3519db26",
|
||||
"706114b30fff3b096ceac22703db822a76fec9c59aa84a834988b4f6e7730721",
|
||||
"77c89c96403cad855ada59c28599a2664b654481e4206e1f90ac87cb40c91855",
|
||||
"87f3d1de8f93b168b30a51c2460c3770d1faaae60c2a6b407bc72e2f4bc6215f",
|
||||
"c91e776400b18f6a8deb48691e2f9d96b9b019b8fed89bf1ae51f84bbe475894",
|
||||
"fe4b5a48b918e1ba4b783992358a9c1483c4c2ae5e1e90336ce8c20d786d71dd",
|
||||
"550010d45a4d3ed59260a043281614e8dfe51e3a340172e00edb6cd3f9ec2ef7",
|
||||
"baab665823b778c7f75e6eaabfb45944298d3c8f126bf956b9f9e4dc351316b1",
|
||||
"1cbc39557d1b1e61acaa8072fe236990569ef31d85e0e74dbbe31976982bfa7f",
|
||||
"515a2caed58d276b4037526dbd08fa7af68c835f3bb33130a76185da8d221a82",
|
||||
"755611b5e8287968ec46e26799bab2f1b8e4a78bbe03ef745b5b40652996e958",
|
||||
"8084ee7a481cccd93b2079cf8ea3a7df8c6254426825e2102d4fccec4142f68f"
|
||||
],
|
||||
"baselineMedianMs": 2.3486,
|
||||
"candidateMedianMs": 2.8794,
|
||||
"baselineMeanFacePrepMs": 0,
|
||||
"candidateMeanFacePrepMs": 0,
|
||||
"lastFrameFaceCount": 0
|
||||
},
|
||||
{
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"mode": "face",
|
||||
"sha256PerFrame": [
|
||||
"bb07338cc69acc52e48382c098a85ecdf680e8d58300e06d413cb3ce4e913cab",
|
||||
"adcb76118ca8563a5dc6b97f2d8155a6222f579942f0dd6ff5ae52af1a4e8339",
|
||||
"0c6224f3347c4006aa2a0ab14691ed10d263050b7616a7b921840448eaba39c7",
|
||||
"1a1f08702cfa9d514594f89fbaff0902daeb96f712ed32d934236b2a7aed4e43",
|
||||
"877297cf004f3b349b6db6eb3091f1d3222f410b73ab427315b793a75985b662",
|
||||
"3026defb94ca568dea3d1a78eca8089a2d7c640af11206861459c548eb7d4def",
|
||||
"7641ae566af65eb809b62db4842b793604741a7e4a3a6d326825011ec9fddd52",
|
||||
"a5cb5b3b55ed6516a7648f09a9ea8ac7c3eced6727f46438f9fa658bb82f546d",
|
||||
"b7500fc3e20f342e9af3522712b19dadaf5c69c343acdf70ec8f7c1eee0251ea",
|
||||
"9a3c4a867a917b1e3a9318e0ed91529727beae96a4146e72344767223814ee6e",
|
||||
"d67e6c6d5fc0c2476b1fb83019306ef65877bbd311c6c562bdc82574646f098b",
|
||||
"f5b89d9bd55b35205740825149294817c539b591828b3d56ab79ece6f006c2ec"
|
||||
],
|
||||
"baselineMedianMs": 19.4166,
|
||||
"candidateMedianMs": 17.3704,
|
||||
"baselineMeanFacePrepMs": 7.9817,
|
||||
"candidateMeanFacePrepMs": 7.4955,
|
||||
"lastFrameFaceCount": 1
|
||||
},
|
||||
{
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"mode": "no-face",
|
||||
"sha256PerFrame": [
|
||||
"81c7f46031dc06d414c0677e42be2f87ed06e52738dd3ca8fbf7e61da774c42b",
|
||||
"40fd16ee84824da4d557e987fa0b210235a641259affdb810791a9a1d00dcf6b",
|
||||
"7d6eb058262f7cb9bf7efb44209745affe81b1f8a6493b9039f99ac34662115e",
|
||||
"e8669c9f5328411831ac00cf1a513e9eccd7722a25e1f4cfb7b9bc1acc2057ee",
|
||||
"5f47e263a9fbbc2d5ded8ecccb59345b1cf8a1c945ffe34c4b3b591d15b90290",
|
||||
"c74a2681a7412488331cc7dca7608cde0e9f08f69ea95724d1b9b05b8e126ecf",
|
||||
"25feb473777d247800708a35b963a494fb6eeecd70e2ad10a572b46aa47ccb21",
|
||||
"390496a21426a2fd69100a212daa63e7abec0e0ad35c52c8210c4e79973e096a",
|
||||
"cf2f27700d03fb40e6700fb51fd47ff9f518ec547a3156e451a92ffa0cbbb4a8",
|
||||
"cbfa8e2e3e52f72d56056544db1c21d021fffa4656103344707f76c9b092dbad",
|
||||
"7a055eeab00c8d2af3e76b5b1b2f635eb29c787397c8cadbde0aff4410fce39f",
|
||||
"b56af0ceb8022ab6234bf5b5fd1c566daa971b3d2ce6e3eba94a02eb3a844b32"
|
||||
],
|
||||
"baselineMedianMs": 16.8995,
|
||||
"candidateMedianMs": 9.4632,
|
||||
"baselineMeanFacePrepMs": 7.0774,
|
||||
"candidateMeanFacePrepMs": 6.2985,
|
||||
"lastFrameFaceCount": 0
|
||||
},
|
||||
{
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"mode": "rectangle",
|
||||
"sha256PerFrame": [
|
||||
"4825372c5c72ea1f137fd76115099dc9b94e685789ac84900a26ef8c551beb79",
|
||||
"6aec6be418a908d1a16a7a2e6b10c2575d8c02616ba7b7e71a87367b35885a0e",
|
||||
"09f983656fc8c0348d501fc1581e8504dae63697fc03b142b1fea087a4c6860c",
|
||||
"a918f735ca7d47d57698f48adb81d8924c3d4f3fd54f119668ee8afc315f4c6e",
|
||||
"6552cfc7666e3d4f452e6cfa8109f8e8edd275fe6193904310d2059efeb4d5e4",
|
||||
"f8a510ea67bffcbc1be76f3519790147c99248c1a8d94743fa7368189f2c152d",
|
||||
"59cb745b0df7571f085dccb84523df14d797b9935819e7f34b64961114a3e5c1",
|
||||
"c7b3725330c7f46c2603040f32deb817559fad3c5cf6a7c1ce8d613b80f59f27",
|
||||
"6b220dad3a32f836e96a437bad9f6a2adae6855faf9afc8f25adc12b1cf9b5a7",
|
||||
"75c1fe50b026a27fbd5f043abd7f8e22069f9352a40fffdbf6e4b75b93d16c35",
|
||||
"2b328eb8a37549967adf0e081cf283685ad20cd09e7aca83085df290178f16d3",
|
||||
"1e13e3d3ec55e97f4049dd7659d1531435aa4f98ac5311515b594c7adae73ad8"
|
||||
],
|
||||
"baselineMedianMs": 10.3827,
|
||||
"candidateMedianMs": 9.5718,
|
||||
"baselineMeanFacePrepMs": 0,
|
||||
"candidateMeanFacePrepMs": 0,
|
||||
"lastFrameFaceCount": 0
|
||||
},
|
||||
{
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"mode": "bezier",
|
||||
"sha256PerFrame": [
|
||||
"b6d7b5b1272c131959096bc94c8280531d338b8633538d9e23be1fe08982d80b",
|
||||
"bc61402f9875e08f2581c2e0963f787f50a4c4ddee37f0f89d61e11330283653",
|
||||
"305fc2567418ebf3647892cd8e11260590bb4694bda0a47eb76475eb5ca425b1",
|
||||
"2e59cf6b6527a4517e85645ec36f32b987ab46b1e4367c1aea263a784dd80512",
|
||||
"cbff79ad114f16f5666ac41a6efb0a91556198f79821e81ae432ca41f3d0407d",
|
||||
"d24fb3db559cb44e54a1c35dc02009078dd4cc74eae388ce20c691f05ff89c41",
|
||||
"d6050c7538b462096f5f24d3d5c718ff1de6870fd55acf4f37faf13d17a4ed1e",
|
||||
"82193ee84dda9717b28533d09c4ae6b3d5c97985268a112e62f8384a9a6defe8",
|
||||
"02a202343ff8160ee5b9e17dcbfacb567e49e0f5231561c546781959d4645a70",
|
||||
"dcb15d92cd542dd2dc9cc59bf1113143b4b58106a46e93afdf9be034e279d0af",
|
||||
"72c7f160157d7f3f3506319328b19d901f1a621113e679fec2b5acb9a8c98977",
|
||||
"e1e3b3433b7b81b0ab2646d6a79d64e3af8518c2de21e1581a7c0ad500ed5608"
|
||||
],
|
||||
"baselineMedianMs": 25.2492,
|
||||
"candidateMedianMs": 13.2389,
|
||||
"baselineMeanFacePrepMs": 0,
|
||||
"candidateMeanFacePrepMs": 0,
|
||||
"lastFrameFaceCount": 0
|
||||
},
|
||||
{
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"mode": "bezier-inverted-levels",
|
||||
"sha256PerFrame": [
|
||||
"365df048a18085c3c5b64b765954b74e09d9c4ee16be9e54f64f9d174eca9aa8",
|
||||
"a18dc25a18a9e4c785e3d91805e3e0cbd110de6d911b840382971fcb1e6da5a6",
|
||||
"a5dcb78f08cd5fa84db5b5bd1d96dbe6f136f7ea5eed66fc44552e045cd8b6b5",
|
||||
"3a9e251a57fb1d91102052ab77623f288904bf807f84ba65dcc7ef0abe0c20b2",
|
||||
"a09b4962ffa3609993847a5608fbc3f33ea41eb2a5b26b46a058e731c7aa2d7d",
|
||||
"9b1d693fcb871f7df6fb6e10c05665446d0c64254f7ae21d944a75ebc06c99c6",
|
||||
"de548cdc7cef5827ede2abf2934c26c3b8e5ef8fbab0d878f067774543823bd3",
|
||||
"0119a89c934508d7e80fbcc4cb5330f1d83b76e0fc25fb9070f06cc45e34e95c",
|
||||
"62d6e6ee839509a63eed8cf583c5484e3488ec0d497a43d1d8e822aa3ad73ed5",
|
||||
"42aa8407a667683475775c851b50d2ddede879722e107db5bc8b53daed9acbbd",
|
||||
"8ce9d75a5999e932f73cf2fd1e3bd5c7516f9ba67d7aecbe8d10719d74fcfc48",
|
||||
"2e0183c9e42566d83cfd1629b34d224cc124d743060c56ba5558557e0541e8a9"
|
||||
],
|
||||
"baselineMedianMs": 24.5597,
|
||||
"candidateMedianMs": 11.6014,
|
||||
"baselineMeanFacePrepMs": 0,
|
||||
"candidateMeanFacePrepMs": 0,
|
||||
"lastFrameFaceCount": 0
|
||||
},
|
||||
{
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"mode": "two-beziers",
|
||||
"sha256PerFrame": [
|
||||
"153f580761129c4b05d3eb3753536f1569f726bb09641515195246143547ff69",
|
||||
"73d6d31ddcced720204a5a49f2b5a3edc1fabc81641c402cbea15b644135d06c",
|
||||
"993b43e230efc1393355ac47dea3fd5f4fa45b57cf8c3970e9bbd7b18f35b429",
|
||||
"0915eb74f26e73e8e83370ffe75e36ce52c33da43163e4691219bec757e73f06",
|
||||
"4c225bbeb35b5c8bd0b29612500316fe8a4d5ed9166eb66b9bb4297c76541a9a",
|
||||
"e482b8272c722331ddbc05a4be6ee05980ee4be0bb0848b1dc4cf315f810135b",
|
||||
"5d54309a2518950fd0024634eb8aa171ee66d01746562a0108ec70e477ebb336",
|
||||
"af1eb09f7524fe3d042e59177cfa3022bda85e84ba249b4977ec9654d82db5df",
|
||||
"f109172a4edfa95b331cb8034c0230f9cc16f3d3da4fa9988ec6e17544950ffd",
|
||||
"6aba61e545ef1fed6eaae596f0d06309ceea1b89c3064bfc6ac8736aa81807f1",
|
||||
"04fbc88f6a129518d11f7a8ff4cf53ab4d2fc4c1dc69327073e103bef1da4d58",
|
||||
"97a69e0e541b2c7a53e9064de10a510abd7fac3d68e764b27ef546531a405f2c"
|
||||
],
|
||||
"baselineMedianMs": 42.7548,
|
||||
"candidateMedianMs": 13.8448,
|
||||
"baselineMeanFacePrepMs": 0,
|
||||
"candidateMeanFacePrepMs": 0,
|
||||
"lastFrameFaceCount": 0
|
||||
},
|
||||
{
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"mode": "luma-key",
|
||||
"sha256PerFrame": [
|
||||
"031e3b50da04be9de1b08d296608cba5d3d09cddd29198087f9b30cc2bd3e77a",
|
||||
"cd5f91bd17d0a3f8d6f4e1eb6645142869858817f7f551867f7ce34069d7a039",
|
||||
"24d7d3bb51712cd01e176ab2ab94e3d48280bf20225fcba822d96f77d5aa70a4",
|
||||
"b55a8e36defd37dfb294b3de5a55829120afae9d23278563b779ae1d9c2c8fd4",
|
||||
"3fd27b780946d4684ec2e2f4386fb5b354f4399b778dc660409c51eead8ad38a",
|
||||
"8a7ef6ccd67d4477d0373c25c8fb936f718f54dbf836e7da5d6a00cc91337643",
|
||||
"af5dc6a4522c63e26b82d31d9c5ed8723ba57fa68245c6ef221f2f0ae026fd8a",
|
||||
"46d84fda77ac716ce928d4650e73f79b3a7eba8ea80924d757bb0cb9d75e4ac7",
|
||||
"dc9b615eba156b3527a20839f39fb025bc53aa248d7f670753e42c8ac7736804",
|
||||
"363743823531785f4a3b1cbbbb41ba1fe3d246eebb877c061c4881a42374c49f",
|
||||
"65eb54dee632ce6942026a60870becca18c694cdf7d7927c898263550081e0a6",
|
||||
"cdcd956990bdecfbd3c1ffaa35722f59b8c76b39e244bb5aef18439a7f25c821"
|
||||
],
|
||||
"baselineMedianMs": 9.3111,
|
||||
"candidateMedianMs": 9.2196,
|
||||
"baselineMeanFacePrepMs": 0,
|
||||
"candidateMeanFacePrepMs": 0,
|
||||
"lastFrameFaceCount": 0
|
||||
},
|
||||
{
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"mode": "tracking-color-capture",
|
||||
"sha256PerFrame": [
|
||||
"0150e421464f674e64b2642160a2a3cc239eb2a8faf7150e16e5a7f41cd55435",
|
||||
"5d3274b1795369c68cb827d9b83484a7c2d9c3722d2e65673e0283f3abb1198e",
|
||||
"494501876898005526a212f03cccf0f91336173ca1720c6bcce6c1bd14d39b1e",
|
||||
"f0249d31d73f9aea236e4757ebda0df91981abf1dfb33da6badc902d6935796f",
|
||||
"296841d84153ef03606ea934351b39949dc7f58ef4ca537c9a5404b2c9a4532b",
|
||||
"c1b889fc21942f65362643bdf34bfc318e3fc1772cb13055e4f9e557fcf37780",
|
||||
"8be6b27f94aeac8fe50b164a6d88dd31c86c93378c3f40f8cec704ce214d55bf",
|
||||
"e817a93ddccb8095bf1e4315a1add0424e0cebc38c893b0f28ea92dbf02647bd",
|
||||
"7dfc1ad705bfb60ed9e645cd203b34bcd5885fbf5b0e61b060e9c30db582d760",
|
||||
"c8e14c5400032b9d33ef32878b36da0d1f7a48770c7dcc80e44593fe9c6a18e1",
|
||||
"6c330d0ffa3ed222a93a102404f36bd402a932e114b3fb2cd2fae3efa88ebf52",
|
||||
"ce0910ec0158d6fe729bb714293616300907cb3b4410ab42f300458d237cc645"
|
||||
],
|
||||
"baselineMedianMs": 6.0041,
|
||||
"candidateMedianMs": 3.5445,
|
||||
"baselineMeanFacePrepMs": 0,
|
||||
"candidateMeanFacePrepMs": 0,
|
||||
"lastFrameFaceCount": 0
|
||||
}
|
||||
],
|
||||
"visionDeviceProbe": {
|
||||
"scope": "Request-supported main-stage devices queried on this Apple M4. Automatic device routing is inferred from comparison, not asserted as measured hardware occupancy.",
|
||||
"faceRectanglesRevision3": [
|
||||
"NeuralEngine",
|
||||
"GPU",
|
||||
"CPU"
|
||||
],
|
||||
"trackObjectRevision2": [
|
||||
"NeuralEngine",
|
||||
"GPU",
|
||||
"CPU"
|
||||
],
|
||||
"homographicRegistrationRevision1": [
|
||||
"CPU"
|
||||
],
|
||||
"test": "One 285-frame local motion clip, 25 fps, same 640x360 BGRA frames and head ROI, accurate mode, three independent trials per device. Algorithm plus input packing, excludes decoding, FCP and first request from median.",
|
||||
"results": {
|
||||
"auto": [
|
||||
{
|
||||
"frames": 285,
|
||||
"invalid": 0,
|
||||
"predicted": 0,
|
||||
"warmMedianMs": 0.8206,
|
||||
"trajectorySHA256": "2fd00dd93dc6ea81e797bd5b3597ec1102c2a3d2afdbf944f324aa6d485d32d9"
|
||||
},
|
||||
{
|
||||
"frames": 285,
|
||||
"invalid": 0,
|
||||
"predicted": 0,
|
||||
"warmMedianMs": 0.8176,
|
||||
"trajectorySHA256": "2fd00dd93dc6ea81e797bd5b3597ec1102c2a3d2afdbf944f324aa6d485d32d9"
|
||||
},
|
||||
{
|
||||
"frames": 285,
|
||||
"invalid": 0,
|
||||
"predicted": 0,
|
||||
"warmMedianMs": 0.797,
|
||||
"trajectorySHA256": "2fd00dd93dc6ea81e797bd5b3597ec1102c2a3d2afdbf944f324aa6d485d32d9"
|
||||
}
|
||||
],
|
||||
"NeuralEngine": [
|
||||
{
|
||||
"frames": 285,
|
||||
"invalid": 0,
|
||||
"predicted": 0,
|
||||
"warmMedianMs": 0.8207,
|
||||
"trajectorySHA256": "2fd00dd93dc6ea81e797bd5b3597ec1102c2a3d2afdbf944f324aa6d485d32d9"
|
||||
},
|
||||
{
|
||||
"frames": 285,
|
||||
"invalid": 0,
|
||||
"predicted": 0,
|
||||
"warmMedianMs": 0.8245,
|
||||
"trajectorySHA256": "2fd00dd93dc6ea81e797bd5b3597ec1102c2a3d2afdbf944f324aa6d485d32d9"
|
||||
},
|
||||
{
|
||||
"frames": 285,
|
||||
"invalid": 0,
|
||||
"predicted": 0,
|
||||
"warmMedianMs": 0.7907,
|
||||
"trajectorySHA256": "2fd00dd93dc6ea81e797bd5b3597ec1102c2a3d2afdbf944f324aa6d485d32d9"
|
||||
}
|
||||
],
|
||||
"GPU": [
|
||||
{
|
||||
"frames": 285,
|
||||
"invalid": 0,
|
||||
"predicted": 0,
|
||||
"warmMedianMs": 1.9236,
|
||||
"trajectorySHA256": "3f332258888d3dfbe6fb121f3b714aa3994aa85b6c88d885f89592471190aa0d"
|
||||
},
|
||||
{
|
||||
"frames": 285,
|
||||
"invalid": 0,
|
||||
"predicted": 0,
|
||||
"warmMedianMs": 1.9129,
|
||||
"trajectorySHA256": "3f332258888d3dfbe6fb121f3b714aa3994aa85b6c88d885f89592471190aa0d"
|
||||
},
|
||||
{
|
||||
"frames": 285,
|
||||
"invalid": 0,
|
||||
"predicted": 0,
|
||||
"warmMedianMs": 1.8133,
|
||||
"trajectorySHA256": "3f332258888d3dfbe6fb121f3b714aa3994aa85b6c88d885f89592471190aa0d"
|
||||
}
|
||||
],
|
||||
"CPU": [
|
||||
{
|
||||
"frames": 285,
|
||||
"invalid": 0,
|
||||
"predicted": 0,
|
||||
"warmMedianMs": 2.6157,
|
||||
"trajectorySHA256": "1363858c0b3a52e4ebd04b5bc4d303a6f059afcb420d1a822f6e52713c02abb1"
|
||||
},
|
||||
{
|
||||
"frames": 285,
|
||||
"invalid": 0,
|
||||
"predicted": 0,
|
||||
"warmMedianMs": 2.6202,
|
||||
"trajectorySHA256": "1363858c0b3a52e4ebd04b5bc4d303a6f059afcb420d1a822f6e52713c02abb1"
|
||||
},
|
||||
{
|
||||
"frames": 285,
|
||||
"invalid": 0,
|
||||
"predicted": 0,
|
||||
"warmMedianMs": 2.5909,
|
||||
"trajectorySHA256": "1363858c0b3a52e4ebd04b5bc4d303a6f059afcb420d1a822f6e52713c02abb1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"autoMatchesExplicitNeuralEngineTrajectory": true
|
||||
},
|
||||
"limits": [
|
||||
"Median stage times do not measure host decode, display FPS or export.",
|
||||
"One portrait fixture and one local motion clip do not establish accuracy across shots.",
|
||||
"Build 118 was not released. The later startup guard does not change the measured Metal or Vision calculation."
|
||||
]
|
||||
}
|
||||
+15
-15
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.21.1.pkg",
|
||||
"sha256": "bdc63a1b1030ccad6960031cb9f2ec8297aa90f8d4acce2057eb5ba7750a289b",
|
||||
"bytes": 44509639,
|
||||
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.21.8.pkg",
|
||||
"sha256": "8df87b7762f8a0d11b32e6947f5e4f3a358dce7e44505b20f8534b3a0e3e14b9",
|
||||
"bytes": 44529845,
|
||||
"testUnsigned": false,
|
||||
"installationExecuted": false,
|
||||
"checks": [
|
||||
@@ -31,27 +31,27 @@
|
||||
"source": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"payload": "Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.21.1",
|
||||
"build": "117"
|
||||
"version": "1.21.8",
|
||||
"build": "126"
|
||||
},
|
||||
{
|
||||
"source": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-inputs-5rlza1xq/大鱼调色",
|
||||
"payload": "Library/Application Support/PKGForge/Payload/com.dayu.color.installer.5e3ac05e-160f-46e2-9830-b084d1aeddf3/5C2FB0AE-6252-468F-B539-BE265CAF425D/大鱼调色"
|
||||
"source": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-inputs-j75whllm/大鱼调色",
|
||||
"payload": "Library/Application Support/PKGForge/Payload/com.dayu.color.installer.352ae960-0a77-47a3-bc73-e2810e707206/102718B0-DDE5-4ED6-A34F-5E457B2C42BC/大鱼调色"
|
||||
}
|
||||
],
|
||||
"signature": "Package \"大鱼调色-1.21.1.pkg\":\n Status: signed by a developer certificate issued by Apple for distribution\n Notarization: trusted by the Apple notary service\n Signed with a trusted timestamp on: 2026-11-08 09:03:59 +0000\n Certificate Chain:\n 1. Developer ID Installer: zhong luo (B3W25FX5H5)\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n C0 19 01 3C 67 88 8F 34 65 56 C5 91 3C E5 B6 12 4C 5D A6 DA F9 D8 \n DA 00 37 52 DF F0 F3 E6 00 B4\n ------------------------------------------------------------------------\n 2. Developer ID Certification Authority\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n 7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 \n F2 9C 88 CF B0 B1 BA 63 58 7F\n ------------------------------------------------------------------------\n 3. Apple Root CA\n Expires: 2035-02-09 21:40:36 +0000\n SHA256 Fingerprint:\n B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C \n 68 C5 BE 91 B5 A1 10 01 F0 24",
|
||||
"gatekeeper": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.21.1.pkg: accepted\nsource=Notarized Developer ID",
|
||||
"signature": "Package \"大鱼调色-1.21.8.pkg\":\n Status: signed by a developer certificate issued by Apple for distribution\n Notarization: trusted by the Apple notary service\n Signed with a trusted timestamp on: 2026-11-09 04:15:54 +0000\n Certificate Chain:\n 1. Developer ID Installer: zhong luo (B3W25FX5H5)\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n C0 19 01 3C 67 88 8F 34 65 56 C5 91 3C E5 B6 12 4C 5D A6 DA F9 D8 \n DA 00 37 52 DF F0 F3 E6 00 B4\n ------------------------------------------------------------------------\n 2. Developer ID Certification Authority\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n 7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 \n F2 9C 88 CF B0 B1 BA 63 58 7F\n ------------------------------------------------------------------------\n 3. Apple Root CA\n Expires: 2035-02-09 21:40:36 +0000\n SHA256 Fingerprint:\n B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C \n 68 C5 BE 91 B5 A1 10 01 F0 24",
|
||||
"gatekeeper": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.21.8.pkg: accepted\nsource=Notarized Developer ID",
|
||||
"pass": true,
|
||||
"scope": "Expanded package structural and payload verification only; no installer scripts executed and no host quit or registration performed.",
|
||||
"notarization": {
|
||||
"id": "2aa1a8fa-d48f-45a5-8a56-9ac084d8c7b3",
|
||||
"status": "Accepted",
|
||||
"name": "大鱼调色-1.21.8.pkg",
|
||||
"message": "Successfully received submission info",
|
||||
"name": "大鱼调色-1.21.1.pkg",
|
||||
"id": "dbddc544-aa94-4279-8f92-37597c264313",
|
||||
"createdDate": "2026-11-08T09:04:03.534Z"
|
||||
"createdDate": "2026-11-09T04:15:55.958Z"
|
||||
},
|
||||
"appCompiledSource": "98d80970e83e30e4883a76d8f740f2fca5d05e7c",
|
||||
"appBuild": "117",
|
||||
"appCompiledSource": "38e9fb25a21d7ba573f09093ea4ca45a79664cf5",
|
||||
"appBuild": "126",
|
||||
"packageBuilderRemote": "https://dayu.media/git/dayu/pkg-forge.git",
|
||||
"residentAppClosing": {
|
||||
"identifiers": [
|
||||
@@ -127,6 +127,6 @@
|
||||
"entries": 192,
|
||||
"scope": "Read/traverse modes for installer-owned app entries, from the package BOM"
|
||||
},
|
||||
"installedAppHostAcceptance": "verification/HostScopes1.21.1.json",
|
||||
"installedAppHostAcceptance": "verification/HostRenderFluidity1.21.8.json",
|
||||
"installScope": "本轮仅生成并验包,未再次执行系统安装;正式 APP 已有独立宿主验收。"
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.21.2.pkg",
|
||||
"sha256": "01ee76d2302d0d1fc54b1ff5a3397c386467324db5f391d0b5dfd48c1e93b9df",
|
||||
"bytes": 44509704,
|
||||
"testUnsigned": false,
|
||||
"installationExecuted": false,
|
||||
"checks": [
|
||||
"PKG Developer ID Installer signature",
|
||||
"PKG stapled ticket and Gatekeeper install assessment",
|
||||
"must-close attached to root-authorized payload",
|
||||
"all four FCP/Motion host identifiers",
|
||||
"bundle relocation disabled",
|
||||
"desktop and Bundle ID preinstall guards",
|
||||
"postinstall contains actual FxPlug verification invocations",
|
||||
"GUI worker, registration repair and Finder reveal present",
|
||||
"successful completion and consecutive registration checks",
|
||||
"exact payload contents: 大鱼调色.app",
|
||||
"fixed FxPlug outer APP install path",
|
||||
"outer APP has one real verification action",
|
||||
"service path/identifier/registration version: com.dayu.color.XPC",
|
||||
"nonempty FxPlug service manifest",
|
||||
"payload APP signature, independent ticket and Gatekeeper",
|
||||
"exact payload contents: 大鱼调色",
|
||||
"login-user resource destination: ~/Movies/Motion Templates.localized/Effects.localized",
|
||||
"complete outer APP payload present",
|
||||
"welcome warns to save work and close hosts",
|
||||
"conclusion gives manual APP and host restart instructions"
|
||||
],
|
||||
"resources": [
|
||||
{
|
||||
"source": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"payload": "Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.21.2",
|
||||
"build": "119"
|
||||
},
|
||||
{
|
||||
"source": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-inputs-988l65xa/大鱼调色",
|
||||
"payload": "Library/Application Support/PKGForge/Payload/com.dayu.color.installer.f5e49fc9-9c01-44d4-8547-0b4c7af269c3/632156F3-A2F8-403B-94F1-E4AE03F4193C/大鱼调色"
|
||||
}
|
||||
],
|
||||
"signature": "Package \"大鱼调色-1.21.2.pkg\":\n Status: signed by a developer certificate issued by Apple for distribution\n Notarization: trusted by the Apple notary service\n Signed with a trusted timestamp on: 2026-11-08 10:23:58 +0000\n Certificate Chain:\n 1. Developer ID Installer: zhong luo (B3W25FX5H5)\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n C0 19 01 3C 67 88 8F 34 65 56 C5 91 3C E5 B6 12 4C 5D A6 DA F9 D8 \n DA 00 37 52 DF F0 F3 E6 00 B4\n ------------------------------------------------------------------------\n 2. Developer ID Certification Authority\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n 7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 \n F2 9C 88 CF B0 B1 BA 63 58 7F\n ------------------------------------------------------------------------\n 3. Apple Root CA\n Expires: 2035-02-09 21:40:36 +0000\n SHA256 Fingerprint:\n B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C \n 68 C5 BE 91 B5 A1 10 01 F0 24",
|
||||
"gatekeeper": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.21.2.pkg: accepted\nsource=Notarized Developer ID",
|
||||
"pass": true,
|
||||
"scope": "Expanded package structural and payload verification only; no installer scripts executed and no host quit or registration performed.",
|
||||
"notarization": {
|
||||
"status": "Accepted",
|
||||
"id": "add05c02-616e-471f-a53a-8aa7c230ef52",
|
||||
"createdDate": "2026-11-08T10:24:00.961Z",
|
||||
"name": "大鱼调色-1.21.2.pkg",
|
||||
"message": "Successfully received submission info"
|
||||
},
|
||||
"appCompiledSource": "6a979f16a828e17284c8f04647c79ac65811d3dc",
|
||||
"appBuild": "119",
|
||||
"packageBuilderRemote": "https://dayu.media/git/dayu/pkg-forge.git",
|
||||
"residentAppClosing": {
|
||||
"identifiers": [
|
||||
"com.apple.FinalCut",
|
||||
"com.apple.FinalCutApp",
|
||||
"com.apple.motionapp",
|
||||
"com.apple.motionappApp",
|
||||
"com.dayu.color"
|
||||
],
|
||||
"preinstallGuardCount": 1,
|
||||
"normalQuit": true
|
||||
},
|
||||
"packageEntryAdaptation": {
|
||||
"upstreamEntrySHA256": "a1a8bc8920cfa2dfe4a7d65c4403eec8a8f3ec81b0736951578a81a80389bfc0",
|
||||
"adaptedEntrySHA256": "4d9cef08673a690427de0757a5cfe42251d01aa47e40902a5155d46d01c71503",
|
||||
"requiredApplication": "com.dayu.color"
|
||||
},
|
||||
"packageBuilderCommit": "eb53707c0e67d8ddeab8c1270bb079f1050cfafe",
|
||||
"templateSHA256": {
|
||||
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
|
||||
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
|
||||
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
|
||||
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
|
||||
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
|
||||
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
|
||||
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
|
||||
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
|
||||
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
|
||||
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
|
||||
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
|
||||
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
|
||||
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
|
||||
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
|
||||
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
|
||||
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
|
||||
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
|
||||
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
|
||||
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
|
||||
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
|
||||
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
|
||||
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
|
||||
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
|
||||
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
|
||||
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
|
||||
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
|
||||
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
|
||||
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
|
||||
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
|
||||
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
|
||||
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
|
||||
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
|
||||
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
|
||||
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
|
||||
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
|
||||
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
|
||||
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
|
||||
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
|
||||
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
|
||||
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
|
||||
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
|
||||
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
|
||||
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
|
||||
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
|
||||
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
|
||||
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
|
||||
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
|
||||
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
|
||||
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
|
||||
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
|
||||
},
|
||||
"payloadBundleAccess": {
|
||||
"entries": 192,
|
||||
"scope": "Read/traverse modes for installer-owned app entries, from the package BOM"
|
||||
},
|
||||
"installedAppHostAcceptance": "verification/HostLUTLoading.json",
|
||||
"installScope": "本轮仅生成并验包,未再次执行系统安装;正式 APP 已有独立宿主验收。"
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.21.3.pkg",
|
||||
"sha256": "99872aee9e3e0a25ed17f3fb173b20b8549dd9473c6fccd3954dd09836213ff9",
|
||||
"bytes": 44527074,
|
||||
"testUnsigned": false,
|
||||
"installationExecuted": false,
|
||||
"checks": [
|
||||
"PKG Developer ID Installer signature",
|
||||
"PKG stapled ticket and Gatekeeper install assessment",
|
||||
"must-close attached to root-authorized payload",
|
||||
"all four FCP/Motion host identifiers",
|
||||
"bundle relocation disabled",
|
||||
"desktop and Bundle ID preinstall guards",
|
||||
"postinstall contains actual FxPlug verification invocations",
|
||||
"GUI worker, registration repair and Finder reveal present",
|
||||
"successful completion and consecutive registration checks",
|
||||
"exact payload contents: 大鱼调色.app",
|
||||
"fixed FxPlug outer APP install path",
|
||||
"outer APP has one real verification action",
|
||||
"service path/identifier/registration version: com.dayu.color.XPC",
|
||||
"nonempty FxPlug service manifest",
|
||||
"payload APP signature, independent ticket and Gatekeeper",
|
||||
"exact payload contents: 大鱼调色",
|
||||
"login-user resource destination: ~/Movies/Motion Templates.localized/Effects.localized",
|
||||
"complete outer APP payload present",
|
||||
"welcome warns to save work and close hosts",
|
||||
"conclusion gives manual APP and host restart instructions"
|
||||
],
|
||||
"resources": [
|
||||
{
|
||||
"source": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"payload": "Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.21.3",
|
||||
"build": "120"
|
||||
},
|
||||
{
|
||||
"source": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-inputs-p5s0fmdb/大鱼调色",
|
||||
"payload": "Library/Application Support/PKGForge/Payload/com.dayu.color.installer.0179a430-2aac-4583-abb3-b9d08d71f59e/9E36932A-35B9-414D-82C1-77081A25269E/大鱼调色"
|
||||
}
|
||||
],
|
||||
"signature": "Package \"大鱼调色-1.21.3.pkg\":\n Status: signed by a developer certificate issued by Apple for distribution\n Notarization: trusted by the Apple notary service\n Signed with a trusted timestamp on: 2026-11-08 11:25:43 +0000\n Certificate Chain:\n 1. Developer ID Installer: zhong luo (B3W25FX5H5)\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n C0 19 01 3C 67 88 8F 34 65 56 C5 91 3C E5 B6 12 4C 5D A6 DA F9 D8 \n DA 00 37 52 DF F0 F3 E6 00 B4\n ------------------------------------------------------------------------\n 2. Developer ID Certification Authority\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n 7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 \n F2 9C 88 CF B0 B1 BA 63 58 7F\n ------------------------------------------------------------------------\n 3. Apple Root CA\n Expires: 2035-02-09 21:40:36 +0000\n SHA256 Fingerprint:\n B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C \n 68 C5 BE 91 B5 A1 10 01 F0 24",
|
||||
"gatekeeper": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.21.3.pkg: accepted\nsource=Notarized Developer ID",
|
||||
"pass": true,
|
||||
"scope": "Expanded package structural and payload verification only; no installer scripts executed and no host quit or registration performed.",
|
||||
"notarization": {
|
||||
"id": "ba16473c-fcf2-4700-a7aa-df768d603724",
|
||||
"createdDate": "2026-11-08T11:25:45.549Z",
|
||||
"message": "Successfully received submission info",
|
||||
"name": "大鱼调色-1.21.3.pkg",
|
||||
"status": "Accepted"
|
||||
},
|
||||
"appCompiledSource": "43364549327470291abd82ca1d0eded2becd1579",
|
||||
"appBuild": "120",
|
||||
"packageBuilderRemote": "https://dayu.media/git/dayu/pkg-forge.git",
|
||||
"residentAppClosing": {
|
||||
"identifiers": [
|
||||
"com.apple.FinalCut",
|
||||
"com.apple.FinalCutApp",
|
||||
"com.apple.motionapp",
|
||||
"com.apple.motionappApp",
|
||||
"com.dayu.color"
|
||||
],
|
||||
"preinstallGuardCount": 1,
|
||||
"normalQuit": true
|
||||
},
|
||||
"packageEntryAdaptation": {
|
||||
"upstreamEntrySHA256": "a1a8bc8920cfa2dfe4a7d65c4403eec8a8f3ec81b0736951578a81a80389bfc0",
|
||||
"adaptedEntrySHA256": "4d9cef08673a690427de0757a5cfe42251d01aa47e40902a5155d46d01c71503",
|
||||
"requiredApplication": "com.dayu.color"
|
||||
},
|
||||
"packageBuilderCommit": "eb53707c0e67d8ddeab8c1270bb079f1050cfafe",
|
||||
"templateSHA256": {
|
||||
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
|
||||
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
|
||||
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
|
||||
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
|
||||
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
|
||||
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
|
||||
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
|
||||
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
|
||||
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
|
||||
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
|
||||
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
|
||||
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
|
||||
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
|
||||
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
|
||||
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
|
||||
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
|
||||
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
|
||||
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
|
||||
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
|
||||
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
|
||||
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
|
||||
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
|
||||
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
|
||||
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
|
||||
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
|
||||
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
|
||||
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
|
||||
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
|
||||
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
|
||||
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
|
||||
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
|
||||
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
|
||||
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
|
||||
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
|
||||
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
|
||||
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
|
||||
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
|
||||
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
|
||||
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
|
||||
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
|
||||
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
|
||||
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
|
||||
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
|
||||
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
|
||||
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
|
||||
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
|
||||
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
|
||||
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
|
||||
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
|
||||
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
|
||||
},
|
||||
"payloadBundleAccess": {
|
||||
"entries": 192,
|
||||
"scope": "Read/traverse modes for installer-owned app entries, from the package BOM"
|
||||
},
|
||||
"installedAppHostAcceptance": "verification/HostLUTLoading.json",
|
||||
"installScope": "本轮仅生成并验包,未再次执行系统安装;正式 APP 已有独立宿主验收。"
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.21.4.pkg",
|
||||
"sha256": "eb0d4fd257a30705d3c4614f0bfca6d29b492199384fea8f2e6ccb7c50a674dc",
|
||||
"bytes": 44527149,
|
||||
"testUnsigned": false,
|
||||
"installationExecuted": false,
|
||||
"checks": [
|
||||
"PKG Developer ID Installer signature",
|
||||
"PKG stapled ticket and Gatekeeper install assessment",
|
||||
"must-close attached to root-authorized payload",
|
||||
"all four FCP/Motion host identifiers",
|
||||
"bundle relocation disabled",
|
||||
"desktop and Bundle ID preinstall guards",
|
||||
"postinstall contains actual FxPlug verification invocations",
|
||||
"GUI worker, registration repair and Finder reveal present",
|
||||
"successful completion and consecutive registration checks",
|
||||
"exact payload contents: 大鱼调色.app",
|
||||
"fixed FxPlug outer APP install path",
|
||||
"outer APP has one real verification action",
|
||||
"service path/identifier/registration version: com.dayu.color.XPC",
|
||||
"nonempty FxPlug service manifest",
|
||||
"payload APP signature, independent ticket and Gatekeeper",
|
||||
"exact payload contents: 大鱼调色",
|
||||
"login-user resource destination: ~/Movies/Motion Templates.localized/Effects.localized",
|
||||
"complete outer APP payload present",
|
||||
"welcome warns to save work and close hosts",
|
||||
"conclusion gives manual APP and host restart instructions"
|
||||
],
|
||||
"resources": [
|
||||
{
|
||||
"source": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"payload": "Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.21.4",
|
||||
"build": "121"
|
||||
},
|
||||
{
|
||||
"source": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-inputs-ai43ybnj/大鱼调色",
|
||||
"payload": "Library/Application Support/PKGForge/Payload/com.dayu.color.installer.82894c1e-e35b-402b-bccf-2d4ed3bd2ebf/33718B7E-E0AF-4580-9ECA-6B98AB06D399/大鱼调色"
|
||||
}
|
||||
],
|
||||
"signature": "Package \"大鱼调色-1.21.4.pkg\":\n Status: signed by a developer certificate issued by Apple for distribution\n Notarization: trusted by the Apple notary service\n Signed with a trusted timestamp on: 2026-11-08 12:40:41 +0000\n Certificate Chain:\n 1. Developer ID Installer: zhong luo (B3W25FX5H5)\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n C0 19 01 3C 67 88 8F 34 65 56 C5 91 3C E5 B6 12 4C 5D A6 DA F9 D8 \n DA 00 37 52 DF F0 F3 E6 00 B4\n ------------------------------------------------------------------------\n 2. Developer ID Certification Authority\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n 7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 \n F2 9C 88 CF B0 B1 BA 63 58 7F\n ------------------------------------------------------------------------\n 3. Apple Root CA\n Expires: 2035-02-09 21:40:36 +0000\n SHA256 Fingerprint:\n B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C \n 68 C5 BE 91 B5 A1 10 01 F0 24",
|
||||
"gatekeeper": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.21.4.pkg: accepted\nsource=Notarized Developer ID",
|
||||
"pass": true,
|
||||
"scope": "Expanded package structural and payload verification only; no installer scripts executed and no host quit or registration performed.",
|
||||
"notarization": {
|
||||
"id": "17666d78-e94e-4886-9c5d-a46d11f1b4cb",
|
||||
"status": "Accepted",
|
||||
"message": "Successfully received submission info",
|
||||
"createdDate": "2026-11-08T12:40:43.057Z",
|
||||
"name": "大鱼调色-1.21.4.pkg"
|
||||
},
|
||||
"appCompiledSource": "7f2917393c89cdc8935b494106e09b2851378ec5",
|
||||
"appBuild": "121",
|
||||
"packageBuilderRemote": "https://dayu.media/git/dayu/pkg-forge.git",
|
||||
"residentAppClosing": {
|
||||
"identifiers": [
|
||||
"com.apple.FinalCut",
|
||||
"com.apple.FinalCutApp",
|
||||
"com.apple.motionapp",
|
||||
"com.apple.motionappApp",
|
||||
"com.dayu.color"
|
||||
],
|
||||
"preinstallGuardCount": 1,
|
||||
"normalQuit": true
|
||||
},
|
||||
"packageEntryAdaptation": {
|
||||
"upstreamEntrySHA256": "a1a8bc8920cfa2dfe4a7d65c4403eec8a8f3ec81b0736951578a81a80389bfc0",
|
||||
"adaptedEntrySHA256": "4d9cef08673a690427de0757a5cfe42251d01aa47e40902a5155d46d01c71503",
|
||||
"requiredApplication": "com.dayu.color"
|
||||
},
|
||||
"packageBuilderCommit": "eb53707c0e67d8ddeab8c1270bb079f1050cfafe",
|
||||
"templateSHA256": {
|
||||
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
|
||||
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
|
||||
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
|
||||
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
|
||||
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
|
||||
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
|
||||
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
|
||||
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
|
||||
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
|
||||
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
|
||||
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
|
||||
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
|
||||
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
|
||||
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
|
||||
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
|
||||
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
|
||||
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
|
||||
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
|
||||
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
|
||||
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
|
||||
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
|
||||
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
|
||||
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
|
||||
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
|
||||
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
|
||||
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
|
||||
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
|
||||
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
|
||||
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
|
||||
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
|
||||
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
|
||||
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
|
||||
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
|
||||
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
|
||||
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
|
||||
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
|
||||
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
|
||||
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
|
||||
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
|
||||
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
|
||||
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
|
||||
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
|
||||
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
|
||||
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
|
||||
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
|
||||
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
|
||||
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
|
||||
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
|
||||
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
|
||||
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
|
||||
},
|
||||
"payloadBundleAccess": {
|
||||
"entries": 192,
|
||||
"scope": "Read/traverse modes for installer-owned app entries, from the package BOM"
|
||||
},
|
||||
"installedAppHostAcceptance": "verification/HostCurveHistogram1.21.4.json",
|
||||
"installScope": "本轮仅生成并验包,未再次执行系统安装;正式 APP 已有独立宿主验收。"
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.21.5.pkg",
|
||||
"sha256": "01e63b554ee236ca3bf3b8f1d85eeaf3cf9c933a03c0e3cb4fb5256aafa6cf72",
|
||||
"bytes": 44527441,
|
||||
"testUnsigned": false,
|
||||
"installationExecuted": false,
|
||||
"checks": [
|
||||
"PKG Developer ID Installer signature",
|
||||
"PKG stapled ticket and Gatekeeper install assessment",
|
||||
"must-close attached to root-authorized payload",
|
||||
"all four FCP/Motion host identifiers",
|
||||
"bundle relocation disabled",
|
||||
"desktop and Bundle ID preinstall guards",
|
||||
"postinstall contains actual FxPlug verification invocations",
|
||||
"GUI worker, registration repair and Finder reveal present",
|
||||
"successful completion and consecutive registration checks",
|
||||
"exact payload contents: 大鱼调色.app",
|
||||
"fixed FxPlug outer APP install path",
|
||||
"outer APP has one real verification action",
|
||||
"service path/identifier/registration version: com.dayu.color.XPC",
|
||||
"nonempty FxPlug service manifest",
|
||||
"payload APP signature, independent ticket and Gatekeeper",
|
||||
"exact payload contents: 大鱼调色",
|
||||
"login-user resource destination: ~/Movies/Motion Templates.localized/Effects.localized",
|
||||
"complete outer APP payload present",
|
||||
"welcome warns to save work and close hosts",
|
||||
"conclusion gives manual APP and host restart instructions"
|
||||
],
|
||||
"resources": [
|
||||
{
|
||||
"source": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"payload": "Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.21.5",
|
||||
"build": "123"
|
||||
},
|
||||
{
|
||||
"source": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-inputs-_8tfq78s/大鱼调色",
|
||||
"payload": "Library/Application Support/PKGForge/Payload/com.dayu.color.installer.728fefac-d25e-48fe-b3d1-ef42b7fa6dd0/3860B242-5655-40FD-9830-BCDCE68293A7/大鱼调色"
|
||||
}
|
||||
],
|
||||
"signature": "Package \"大鱼调色-1.21.5.pkg\":\n Status: signed by a developer certificate issued by Apple for distribution\n Notarization: trusted by the Apple notary service\n Signed with a trusted timestamp on: 2026-11-08 13:22:17 +0000\n Certificate Chain:\n 1. Developer ID Installer: zhong luo (B3W25FX5H5)\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n C0 19 01 3C 67 88 8F 34 65 56 C5 91 3C E5 B6 12 4C 5D A6 DA F9 D8 \n DA 00 37 52 DF F0 F3 E6 00 B4\n ------------------------------------------------------------------------\n 2. Developer ID Certification Authority\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n 7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 \n F2 9C 88 CF B0 B1 BA 63 58 7F\n ------------------------------------------------------------------------\n 3. Apple Root CA\n Expires: 2035-02-09 21:40:36 +0000\n SHA256 Fingerprint:\n B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C \n 68 C5 BE 91 B5 A1 10 01 F0 24",
|
||||
"gatekeeper": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.21.5.pkg: accepted\nsource=Notarized Developer ID",
|
||||
"pass": true,
|
||||
"scope": "Expanded package structural and payload verification only; no installer scripts executed and no host quit or registration performed.",
|
||||
"notarization": {
|
||||
"status": "Accepted",
|
||||
"id": "98ab3da4-515d-4b07-9692-9e357b130880",
|
||||
"createdDate": "2026-11-08T13:22:19.340Z",
|
||||
"message": "Successfully received submission info",
|
||||
"name": "大鱼调色-1.21.5.pkg"
|
||||
},
|
||||
"appCompiledSource": "8ca33a78fd224d13fffb1092c704adfce6cda12b",
|
||||
"appBuild": "123",
|
||||
"packageBuilderRemote": "https://dayu.media/git/dayu/pkg-forge.git",
|
||||
"residentAppClosing": {
|
||||
"identifiers": [
|
||||
"com.apple.FinalCut",
|
||||
"com.apple.FinalCutApp",
|
||||
"com.apple.motionapp",
|
||||
"com.apple.motionappApp",
|
||||
"com.dayu.color"
|
||||
],
|
||||
"preinstallGuardCount": 1,
|
||||
"normalQuit": true
|
||||
},
|
||||
"packageEntryAdaptation": {
|
||||
"upstreamEntrySHA256": "a1a8bc8920cfa2dfe4a7d65c4403eec8a8f3ec81b0736951578a81a80389bfc0",
|
||||
"adaptedEntrySHA256": "4d9cef08673a690427de0757a5cfe42251d01aa47e40902a5155d46d01c71503",
|
||||
"requiredApplication": "com.dayu.color"
|
||||
},
|
||||
"packageBuilderCommit": "eb53707c0e67d8ddeab8c1270bb079f1050cfafe",
|
||||
"templateSHA256": {
|
||||
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
|
||||
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
|
||||
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
|
||||
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
|
||||
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
|
||||
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
|
||||
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
|
||||
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
|
||||
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
|
||||
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
|
||||
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
|
||||
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
|
||||
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
|
||||
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
|
||||
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
|
||||
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
|
||||
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
|
||||
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
|
||||
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
|
||||
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
|
||||
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
|
||||
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
|
||||
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
|
||||
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
|
||||
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
|
||||
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
|
||||
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
|
||||
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
|
||||
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
|
||||
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
|
||||
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
|
||||
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
|
||||
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
|
||||
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
|
||||
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
|
||||
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
|
||||
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
|
||||
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
|
||||
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
|
||||
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
|
||||
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
|
||||
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
|
||||
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
|
||||
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
|
||||
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
|
||||
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
|
||||
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
|
||||
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
|
||||
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
|
||||
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
|
||||
},
|
||||
"payloadBundleAccess": {
|
||||
"entries": 192,
|
||||
"scope": "Read/traverse modes for installer-owned app entries, from the package BOM"
|
||||
},
|
||||
"installedAppHostAcceptance": "verification/HostLUTBrowser1.21.5.json",
|
||||
"installScope": "本轮仅生成并验包,未再次执行系统安装;正式 APP 已有独立宿主验收。"
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.21.6.pkg",
|
||||
"sha256": "c92082550720225d9ea7a0f8b0f7315f19a438d9c717ab637a476b6c678f0ad6",
|
||||
"bytes": 44527921,
|
||||
"testUnsigned": false,
|
||||
"installationExecuted": false,
|
||||
"checks": [
|
||||
"PKG Developer ID Installer signature",
|
||||
"PKG stapled ticket and Gatekeeper install assessment",
|
||||
"must-close attached to root-authorized payload",
|
||||
"all four FCP/Motion host identifiers",
|
||||
"bundle relocation disabled",
|
||||
"desktop and Bundle ID preinstall guards",
|
||||
"postinstall contains actual FxPlug verification invocations",
|
||||
"GUI worker, registration repair and Finder reveal present",
|
||||
"successful completion and consecutive registration checks",
|
||||
"exact payload contents: 大鱼调色.app",
|
||||
"fixed FxPlug outer APP install path",
|
||||
"outer APP has one real verification action",
|
||||
"service path/identifier/registration version: com.dayu.color.XPC",
|
||||
"nonempty FxPlug service manifest",
|
||||
"payload APP signature, independent ticket and Gatekeeper",
|
||||
"exact payload contents: 大鱼调色",
|
||||
"login-user resource destination: ~/Movies/Motion Templates.localized/Effects.localized",
|
||||
"complete outer APP payload present",
|
||||
"welcome warns to save work and close hosts",
|
||||
"conclusion gives manual APP and host restart instructions"
|
||||
],
|
||||
"resources": [
|
||||
{
|
||||
"source": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"payload": "Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.21.6",
|
||||
"build": "124"
|
||||
},
|
||||
{
|
||||
"source": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-inputs-sgqrl6mc/大鱼调色",
|
||||
"payload": "Library/Application Support/PKGForge/Payload/com.dayu.color.installer.7d25389c-643e-4af4-b690-7c6903874e90/C6AAC06F-FE7F-41EB-BB28-C7E8CB8CCBD3/大鱼调色"
|
||||
}
|
||||
],
|
||||
"signature": "Package \"大鱼调色-1.21.6.pkg\":\n Status: signed by a developer certificate issued by Apple for distribution\n Notarization: trusted by the Apple notary service\n Signed with a trusted timestamp on: 2026-11-08 13:58:56 +0000\n Certificate Chain:\n 1. Developer ID Installer: zhong luo (B3W25FX5H5)\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n C0 19 01 3C 67 88 8F 34 65 56 C5 91 3C E5 B6 12 4C 5D A6 DA F9 D8 \n DA 00 37 52 DF F0 F3 E6 00 B4\n ------------------------------------------------------------------------\n 2. Developer ID Certification Authority\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n 7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 \n F2 9C 88 CF B0 B1 BA 63 58 7F\n ------------------------------------------------------------------------\n 3. Apple Root CA\n Expires: 2035-02-09 21:40:36 +0000\n SHA256 Fingerprint:\n B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C \n 68 C5 BE 91 B5 A1 10 01 F0 24",
|
||||
"gatekeeper": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.21.6.pkg: accepted\nsource=Notarized Developer ID",
|
||||
"pass": true,
|
||||
"scope": "Expanded package structural and payload verification only; no installer scripts executed and no host quit or registration performed.",
|
||||
"notarization": {
|
||||
"status": "Accepted",
|
||||
"id": "3ea27bc7-b29e-4fd9-8a3f-aabf25d7e200",
|
||||
"message": "Successfully received submission info",
|
||||
"createdDate": "2026-11-08T13:58:59.184Z",
|
||||
"name": "大鱼调色-1.21.6.pkg"
|
||||
},
|
||||
"appCompiledSource": "e0bd8342c0b2231028af64abd7b544b2be8f29d7",
|
||||
"appBuild": "124",
|
||||
"packageBuilderRemote": "https://dayu.media/git/dayu/pkg-forge.git",
|
||||
"residentAppClosing": {
|
||||
"identifiers": [
|
||||
"com.apple.FinalCut",
|
||||
"com.apple.FinalCutApp",
|
||||
"com.apple.motionapp",
|
||||
"com.apple.motionappApp",
|
||||
"com.dayu.color"
|
||||
],
|
||||
"preinstallGuardCount": 1,
|
||||
"normalQuit": true
|
||||
},
|
||||
"packageEntryAdaptation": {
|
||||
"upstreamEntrySHA256": "a1a8bc8920cfa2dfe4a7d65c4403eec8a8f3ec81b0736951578a81a80389bfc0",
|
||||
"adaptedEntrySHA256": "4d9cef08673a690427de0757a5cfe42251d01aa47e40902a5155d46d01c71503",
|
||||
"requiredApplication": "com.dayu.color"
|
||||
},
|
||||
"packageBuilderCommit": "eb53707c0e67d8ddeab8c1270bb079f1050cfafe",
|
||||
"templateSHA256": {
|
||||
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
|
||||
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
|
||||
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
|
||||
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
|
||||
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
|
||||
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
|
||||
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
|
||||
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
|
||||
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
|
||||
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
|
||||
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
|
||||
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
|
||||
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
|
||||
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
|
||||
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
|
||||
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
|
||||
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
|
||||
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
|
||||
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
|
||||
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
|
||||
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
|
||||
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
|
||||
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
|
||||
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
|
||||
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
|
||||
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
|
||||
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
|
||||
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
|
||||
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
|
||||
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
|
||||
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
|
||||
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
|
||||
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
|
||||
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
|
||||
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
|
||||
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
|
||||
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
|
||||
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
|
||||
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
|
||||
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
|
||||
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
|
||||
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
|
||||
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
|
||||
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
|
||||
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
|
||||
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
|
||||
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
|
||||
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
|
||||
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
|
||||
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
|
||||
},
|
||||
"payloadBundleAccess": {
|
||||
"entries": 192,
|
||||
"scope": "Read/traverse modes for installer-owned app entries, from the package BOM"
|
||||
},
|
||||
"installedAppHostAcceptance": "verification/HostLUTPreviewReuse1.21.6.json",
|
||||
"installScope": "本轮仅生成并验包,未再次执行系统安装;正式 APP 已有独立宿主验收。"
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.21.7.pkg",
|
||||
"sha256": "e4d327d4a4fdbcb025e17dd6aa1e0e884c435392b70bcc2e7402d100c07a10ef",
|
||||
"bytes": 44528083,
|
||||
"testUnsigned": false,
|
||||
"installationExecuted": false,
|
||||
"checks": [
|
||||
"PKG Developer ID Installer signature",
|
||||
"PKG stapled ticket and Gatekeeper install assessment",
|
||||
"must-close attached to root-authorized payload",
|
||||
"all four FCP/Motion host identifiers",
|
||||
"bundle relocation disabled",
|
||||
"desktop and Bundle ID preinstall guards",
|
||||
"postinstall contains actual FxPlug verification invocations",
|
||||
"GUI worker, registration repair and Finder reveal present",
|
||||
"successful completion and consecutive registration checks",
|
||||
"exact payload contents: 大鱼调色.app",
|
||||
"fixed FxPlug outer APP install path",
|
||||
"outer APP has one real verification action",
|
||||
"service path/identifier/registration version: com.dayu.color.XPC",
|
||||
"nonempty FxPlug service manifest",
|
||||
"payload APP signature, independent ticket and Gatekeeper",
|
||||
"exact payload contents: 大鱼调色",
|
||||
"login-user resource destination: ~/Movies/Motion Templates.localized/Effects.localized",
|
||||
"complete outer APP payload present",
|
||||
"welcome warns to save work and close hosts",
|
||||
"conclusion gives manual APP and host restart instructions"
|
||||
],
|
||||
"resources": [
|
||||
{
|
||||
"source": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"payload": "Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.21.7",
|
||||
"build": "125"
|
||||
},
|
||||
{
|
||||
"source": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-inputs-uy0f2_6i/大鱼调色",
|
||||
"payload": "Library/Application Support/PKGForge/Payload/com.dayu.color.installer.260bd8f1-4264-4678-a396-531b29cbcda4/1A86B0F0-7250-438C-B2C5-F0E138868178/大鱼调色"
|
||||
}
|
||||
],
|
||||
"signature": "Package \"大鱼调色-1.21.7.pkg\":\n Status: signed by a developer certificate issued by Apple for distribution\n Notarization: trusted by the Apple notary service\n Signed with a trusted timestamp on: 2026-11-09 03:37:18 +0000\n Certificate Chain:\n 1. Developer ID Installer: zhong luo (B3W25FX5H5)\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n C0 19 01 3C 67 88 8F 34 65 56 C5 91 3C E5 B6 12 4C 5D A6 DA F9 D8 \n DA 00 37 52 DF F0 F3 E6 00 B4\n ------------------------------------------------------------------------\n 2. Developer ID Certification Authority\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n 7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 \n F2 9C 88 CF B0 B1 BA 63 58 7F\n ------------------------------------------------------------------------\n 3. Apple Root CA\n Expires: 2035-02-09 21:40:36 +0000\n SHA256 Fingerprint:\n B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C \n 68 C5 BE 91 B5 A1 10 01 F0 24",
|
||||
"gatekeeper": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.21.7.pkg: accepted\nsource=Notarized Developer ID",
|
||||
"pass": true,
|
||||
"scope": "Expanded package structural and payload verification only; no installer scripts executed and no host quit or registration performed.",
|
||||
"notarization": {
|
||||
"status": "Accepted",
|
||||
"id": "e9cab355-85bf-4a16-922b-a811aacb5b05",
|
||||
"createdDate": "2026-11-09T03:37:20.373Z",
|
||||
"name": "大鱼调色-1.21.7.pkg",
|
||||
"message": "Successfully received submission info"
|
||||
},
|
||||
"appCompiledSource": "5aae670f56201a17cffe6aff3624d1b8cfad2308",
|
||||
"appBuild": "125",
|
||||
"packageBuilderRemote": "https://dayu.media/git/dayu/pkg-forge.git",
|
||||
"residentAppClosing": {
|
||||
"identifiers": [
|
||||
"com.apple.FinalCut",
|
||||
"com.apple.FinalCutApp",
|
||||
"com.apple.motionapp",
|
||||
"com.apple.motionappApp",
|
||||
"com.dayu.color"
|
||||
],
|
||||
"preinstallGuardCount": 1,
|
||||
"normalQuit": true
|
||||
},
|
||||
"packageEntryAdaptation": {
|
||||
"upstreamEntrySHA256": "a1a8bc8920cfa2dfe4a7d65c4403eec8a8f3ec81b0736951578a81a80389bfc0",
|
||||
"adaptedEntrySHA256": "4d9cef08673a690427de0757a5cfe42251d01aa47e40902a5155d46d01c71503",
|
||||
"requiredApplication": "com.dayu.color"
|
||||
},
|
||||
"packageBuilderCommit": "eb53707c0e67d8ddeab8c1270bb079f1050cfafe",
|
||||
"templateSHA256": {
|
||||
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
|
||||
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
|
||||
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
|
||||
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
|
||||
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
|
||||
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
|
||||
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
|
||||
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
|
||||
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
|
||||
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
|
||||
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
|
||||
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
|
||||
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
|
||||
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
|
||||
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
|
||||
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
|
||||
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
|
||||
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
|
||||
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
|
||||
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
|
||||
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
|
||||
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
|
||||
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
|
||||
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
|
||||
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
|
||||
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
|
||||
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
|
||||
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
|
||||
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
|
||||
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
|
||||
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
|
||||
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
|
||||
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
|
||||
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
|
||||
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
|
||||
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
|
||||
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
|
||||
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
|
||||
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
|
||||
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
|
||||
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
|
||||
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
|
||||
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
|
||||
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
|
||||
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
|
||||
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
|
||||
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
|
||||
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
|
||||
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
|
||||
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
|
||||
},
|
||||
"payloadBundleAccess": {
|
||||
"entries": 192,
|
||||
"scope": "Read/traverse modes for installer-owned app entries, from the package BOM"
|
||||
},
|
||||
"installedAppHostAcceptance": "verification/HostSpiderFluidity1.21.7.json",
|
||||
"installScope": "本轮仅生成并验包,未再次执行系统安装;正式 APP 已有独立宿主验收。"
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.21.8.pkg",
|
||||
"sha256": "8df87b7762f8a0d11b32e6947f5e4f3a358dce7e44505b20f8534b3a0e3e14b9",
|
||||
"bytes": 44529845,
|
||||
"testUnsigned": false,
|
||||
"installationExecuted": false,
|
||||
"checks": [
|
||||
"PKG Developer ID Installer signature",
|
||||
"PKG stapled ticket and Gatekeeper install assessment",
|
||||
"must-close attached to root-authorized payload",
|
||||
"all four FCP/Motion host identifiers",
|
||||
"bundle relocation disabled",
|
||||
"desktop and Bundle ID preinstall guards",
|
||||
"postinstall contains actual FxPlug verification invocations",
|
||||
"GUI worker, registration repair and Finder reveal present",
|
||||
"successful completion and consecutive registration checks",
|
||||
"exact payload contents: 大鱼调色.app",
|
||||
"fixed FxPlug outer APP install path",
|
||||
"outer APP has one real verification action",
|
||||
"service path/identifier/registration version: com.dayu.color.XPC",
|
||||
"nonempty FxPlug service manifest",
|
||||
"payload APP signature, independent ticket and Gatekeeper",
|
||||
"exact payload contents: 大鱼调色",
|
||||
"login-user resource destination: ~/Movies/Motion Templates.localized/Effects.localized",
|
||||
"complete outer APP payload present",
|
||||
"welcome warns to save work and close hosts",
|
||||
"conclusion gives manual APP and host restart instructions"
|
||||
],
|
||||
"resources": [
|
||||
{
|
||||
"source": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"payload": "Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.21.8",
|
||||
"build": "126"
|
||||
},
|
||||
{
|
||||
"source": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-inputs-j75whllm/大鱼调色",
|
||||
"payload": "Library/Application Support/PKGForge/Payload/com.dayu.color.installer.352ae960-0a77-47a3-bc73-e2810e707206/102718B0-DDE5-4ED6-A34F-5E457B2C42BC/大鱼调色"
|
||||
}
|
||||
],
|
||||
"signature": "Package \"大鱼调色-1.21.8.pkg\":\n Status: signed by a developer certificate issued by Apple for distribution\n Notarization: trusted by the Apple notary service\n Signed with a trusted timestamp on: 2026-11-09 04:15:54 +0000\n Certificate Chain:\n 1. Developer ID Installer: zhong luo (B3W25FX5H5)\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n C0 19 01 3C 67 88 8F 34 65 56 C5 91 3C E5 B6 12 4C 5D A6 DA F9 D8 \n DA 00 37 52 DF F0 F3 E6 00 B4\n ------------------------------------------------------------------------\n 2. Developer ID Certification Authority\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n 7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 \n F2 9C 88 CF B0 B1 BA 63 58 7F\n ------------------------------------------------------------------------\n 3. Apple Root CA\n Expires: 2035-02-09 21:40:36 +0000\n SHA256 Fingerprint:\n B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C \n 68 C5 BE 91 B5 A1 10 01 F0 24",
|
||||
"gatekeeper": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.21.8.pkg: accepted\nsource=Notarized Developer ID",
|
||||
"pass": true,
|
||||
"scope": "Expanded package structural and payload verification only; no installer scripts executed and no host quit or registration performed.",
|
||||
"notarization": {
|
||||
"id": "2aa1a8fa-d48f-45a5-8a56-9ac084d8c7b3",
|
||||
"status": "Accepted",
|
||||
"name": "大鱼调色-1.21.8.pkg",
|
||||
"message": "Successfully received submission info",
|
||||
"createdDate": "2026-11-09T04:15:55.958Z"
|
||||
},
|
||||
"appCompiledSource": "38e9fb25a21d7ba573f09093ea4ca45a79664cf5",
|
||||
"appBuild": "126",
|
||||
"packageBuilderRemote": "https://dayu.media/git/dayu/pkg-forge.git",
|
||||
"residentAppClosing": {
|
||||
"identifiers": [
|
||||
"com.apple.FinalCut",
|
||||
"com.apple.FinalCutApp",
|
||||
"com.apple.motionapp",
|
||||
"com.apple.motionappApp",
|
||||
"com.dayu.color"
|
||||
],
|
||||
"preinstallGuardCount": 1,
|
||||
"normalQuit": true
|
||||
},
|
||||
"packageEntryAdaptation": {
|
||||
"upstreamEntrySHA256": "a1a8bc8920cfa2dfe4a7d65c4403eec8a8f3ec81b0736951578a81a80389bfc0",
|
||||
"adaptedEntrySHA256": "4d9cef08673a690427de0757a5cfe42251d01aa47e40902a5155d46d01c71503",
|
||||
"requiredApplication": "com.dayu.color"
|
||||
},
|
||||
"packageBuilderCommit": "eb53707c0e67d8ddeab8c1270bb079f1050cfafe",
|
||||
"templateSHA256": {
|
||||
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
|
||||
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
|
||||
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
|
||||
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
|
||||
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
|
||||
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
|
||||
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
|
||||
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
|
||||
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
|
||||
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
|
||||
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
|
||||
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
|
||||
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
|
||||
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
|
||||
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
|
||||
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
|
||||
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
|
||||
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
|
||||
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
|
||||
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
|
||||
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
|
||||
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
|
||||
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
|
||||
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
|
||||
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
|
||||
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
|
||||
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
|
||||
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
|
||||
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
|
||||
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
|
||||
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
|
||||
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
|
||||
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
|
||||
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
|
||||
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
|
||||
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
|
||||
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
|
||||
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
|
||||
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
|
||||
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
|
||||
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
|
||||
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
|
||||
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
|
||||
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
|
||||
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
|
||||
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
|
||||
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
|
||||
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
|
||||
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
|
||||
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
|
||||
},
|
||||
"payloadBundleAccess": {
|
||||
"entries": 192,
|
||||
"scope": "Read/traverse modes for installer-owned app entries, from the package BOM"
|
||||
},
|
||||
"installedAppHostAcceptance": "verification/HostRenderFluidity1.21.8.json",
|
||||
"installScope": "本轮仅生成并验包,未再次执行系统安装;正式 APP 已有独立宿主验收。"
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"remote": "https://dayu.media/git/dayu/dayu-color.git",
|
||||
"branch": "main",
|
||||
"build": 117,
|
||||
"results": [
|
||||
{
|
||||
"ref": "98d80970e83e30e4883a76d8f740f2fca5d05e7c",
|
||||
"commit": "98d80970e83e30e4883a76d8f740f2fca5d05e7c",
|
||||
"verifiedTrackedFiles": 812
|
||||
},
|
||||
{
|
||||
"ref": "v1.21.1-scope-face-20261108",
|
||||
"commit": "ad4e5e7a823bb451f45755d0ab331f08f6211239",
|
||||
"verifiedTrackedFiles": 817
|
||||
}
|
||||
],
|
||||
"fullGitFsckPassed": true,
|
||||
"buildInputsIdentical": true,
|
||||
"lfsPointers": 0,
|
||||
"submodules": 0,
|
||||
"scope": "Independent HTTPS checkout. All tracked bytes match the compiled source and version tag."
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"repository": "https://dayu.media/git/dayu/dayu-color.git",
|
||||
"branch": "main",
|
||||
"tag": "v1.21.2-mosaic-tracking-20261108",
|
||||
"method": "Independent HTTPS clone and tag fetch. Both detached nodes checked against every Git blob using the raw bytes and git fsck --full --no-dangling.",
|
||||
"nodes": {
|
||||
"compiled": {
|
||||
"commit": "6a979f16a828e17284c8f04647c79ac65811d3dc",
|
||||
"files": 822
|
||||
},
|
||||
"release": {
|
||||
"commit": "b6f73ebb666e4f72567f54515d0efd138220f7f6",
|
||||
"files": 826
|
||||
}
|
||||
},
|
||||
"gitIntegrityPassed": true,
|
||||
"submodules": 0,
|
||||
"lfsPointers": 0,
|
||||
"buildInputsIdentical": true,
|
||||
"releaseID": 416,
|
||||
"assetID": 62,
|
||||
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.2-mosaic-tracking-20261108/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.2.pkg",
|
||||
"bytes": 44509704,
|
||||
"sha256": "01ee76d2302d0d1fc54b1ff5a3397c386467324db5f391d0b5dfd48c1e93b9df"
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"repository": "https://dayu.media/git/dayu/dayu-color.git",
|
||||
"branch": "main",
|
||||
"compiledCommit": "43364549327470291abd82ca1d0eded2becd1579",
|
||||
"releaseTag": "v1.21.3-vision-lut-20261108",
|
||||
"releaseCommit": "a1595caf30ddc2e629543adc735d9df752f35cc6",
|
||||
"compiledTrackedFilesChecked": 829,
|
||||
"releaseTrackedFilesChecked": 833,
|
||||
"gitFsckPassed": true,
|
||||
"releaseAndCompiledBuildInputsIdentical": true,
|
||||
"gitLFSRequired": false,
|
||||
"submodulesRequired": false,
|
||||
"method": "Independent HTTPS clone. Both revisions checked out and all working-tree bytes hashed against the Git blob IDs.",
|
||||
"releaseID": 417,
|
||||
"assetID": 63,
|
||||
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.3-vision-lut-20261108",
|
||||
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.3-vision-lut-20261108/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.3.pkg",
|
||||
"packageBytes": 44527074,
|
||||
"packageSHA256": "99872aee9e3e0a25ed17f3fb173b20b8549dd9473c6fccd3954dd09836213ff9",
|
||||
"temporaryRecoveryCheckoutRemoved": true
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"repository": "https://dayu.media/git/dayu/dayu-color.git",
|
||||
"branch": "main",
|
||||
"compiledCommit": "7f2917393c89cdc8935b494106e09b2851378ec5",
|
||||
"releaseTag": "v1.21.4-curve-histogram-20261108",
|
||||
"releaseCommit": "8ca30fa3cc1dc03eb34c70b4307b60dde0d77133",
|
||||
"compiledTrackedFilesChecked": 837,
|
||||
"releaseTrackedFilesChecked": 841,
|
||||
"gitFsckPassed": true,
|
||||
"releaseAndCompiledBuildInputsIdentical": true,
|
||||
"gitLFSRequired": false,
|
||||
"submodulesRequired": false,
|
||||
"method": "Independent HTTPS clone. Both revisions checked out and all working-tree bytes hashed against the Git blob IDs."
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"repository": "https://dayu.media/git/dayu/dayu-color.git",
|
||||
"branch": "main",
|
||||
"compiledCommit": "8ca33a78fd224d13fffb1092c704adfce6cda12b",
|
||||
"releaseTag": "v1.21.5-lut-browser-20261108",
|
||||
"releaseCommit": "5ab5e78255127cda92686f28b557f751e60e2082",
|
||||
"compiledTrackedFilesChecked": 843,
|
||||
"releaseTrackedFilesChecked": 847,
|
||||
"gitFsckPassed": true,
|
||||
"releaseAndCompiledBuildInputsIdentical": true,
|
||||
"gitLFSRequired": false,
|
||||
"submodulesRequired": false,
|
||||
"method": "Independent HTTPS clone, detached checkouts, and every tracked file hashed against its Git blob ID."
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"repository": "https://dayu.media/git/dayu/dayu-color.git",
|
||||
"branch": "main",
|
||||
"compiledCommit": "e0bd8342c0b2231028af64abd7b544b2be8f29d7",
|
||||
"releaseTag": "v1.21.6-lut-preview-reuse-20261108",
|
||||
"releaseCommit": "3de998257d9f9e989093d58604c44a4eb1fb3fad",
|
||||
"compiledTrackedFilesChecked": 849,
|
||||
"releaseTrackedFilesChecked": 853,
|
||||
"gitFsckPassed": true,
|
||||
"releaseAndCompiledBuildInputsIdentical": true,
|
||||
"gitLFSRequired": false,
|
||||
"submodulesRequired": false,
|
||||
"method": "Independent HTTPS clone, detached checkouts, and every tracked file hashed against its Git blob ID."
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"repository": "https://dayu.media/git/dayu/dayu-color.git",
|
||||
"branch": "main",
|
||||
"compiledCommit": "5aae670f56201a17cffe6aff3624d1b8cfad2308",
|
||||
"releaseTag": "v1.21.7-spider-fluidity-20261109",
|
||||
"releaseCommit": "039e567aaa563a36da5bbef90d0ccd4afd690183",
|
||||
"compiledTrackedFilesChecked": 859,
|
||||
"releaseTrackedFilesChecked": 864,
|
||||
"gitFsckPassed": true,
|
||||
"releaseAndCompiledBuildInputsIdentical": true,
|
||||
"gitLFSRequired": false,
|
||||
"submodulesRequired": false,
|
||||
"method": "Independent HTTPS clone, detached checkouts, and every tracked file hashed against its Git blob ID."
|
||||
}
|
||||
+20
-49
@@ -3,58 +3,29 @@
|
||||
"repository": "dayu/dayu-color",
|
||||
"repositoryID": 52,
|
||||
"private": false,
|
||||
"visibilityUnchanged": true,
|
||||
"tag": "v1.19.1-idle-preview-20261106",
|
||||
"releaseCommit": "6add6f29e357d37e94a8430d6963ec7f91993537",
|
||||
"appCompiledSource": "3642a1dba6cbbc4423bd6928944e0e95d76d9cfa",
|
||||
"version": "1.19.1",
|
||||
"build": 110,
|
||||
"releaseID": 404,
|
||||
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.19.1-idle-preview-20261106",
|
||||
"tag": "v1.21.7-spider-fluidity-20261109",
|
||||
"releaseCommit": "039e567aaa563a36da5bbef90d0ccd4afd690183",
|
||||
"releaseID": 421,
|
||||
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.7-spider-fluidity-20261109",
|
||||
"prerelease": true,
|
||||
"assetID": 67,
|
||||
"assetName": "大鱼调色-1.21.7.pkg",
|
||||
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.7-spider-fluidity-20261109/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.7.pkg",
|
||||
"bytes": 44528083,
|
||||
"sha256": "e4d327d4a4fdbcb025e17dd6aa1e0e884c435392b70bcc2e7402d100c07a10ef",
|
||||
"existingAssetReused": true,
|
||||
"verification": "Both full draft browser downloads verified before publication; both published attachments downloaded and verified again; release, tag and assets read back.",
|
||||
"verification": "Full draft download checked before publication; published attachment downloaded and checked again; release, tag and asset read-back verified.",
|
||||
"credentialSource": "macOS Keychain: dayu-git-api",
|
||||
"assets": [
|
||||
{
|
||||
"assetID": 51,
|
||||
"assetName": "大鱼调色-1.19.1.pkg",
|
||||
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.19.1-idle-preview-20261106/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.19.1.pkg",
|
||||
"bytes": 44488264,
|
||||
"sha256": "7513be46cc86eb5df26401c9cb4368c8290d276cdcc478e5f16f727a1be4d647",
|
||||
"draftBrowserDownload": {
|
||||
"path": "/Volumes/备份/大鱼调色-1.19.1.pkg",
|
||||
"bytes": 44488264,
|
||||
"sha256": "7513be46cc86eb5df26401c9cb4368c8290d276cdcc478e5f16f727a1be4d647",
|
||||
"sourceURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.19.1-idle-preview-20261106/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.19.1.pkg"
|
||||
},
|
||||
"publishedFullDownloadVerified": true
|
||||
},
|
||||
{
|
||||
"assetID": 52,
|
||||
"assetName": "大鱼调色-1.19.1-symbols.zip",
|
||||
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.19.1-idle-preview-20261106/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.19.1-symbols.zip",
|
||||
"bytes": 3475056,
|
||||
"sha256": "c40af08b2bc0c704e1eee3851d66e957b1c35a9ec88052b65d9c2d402c2cd37a",
|
||||
"draftBrowserDownload": {
|
||||
"path": "/Volumes/备份/大鱼调色-1.19.1-symbols.zip",
|
||||
"bytes": 3475056,
|
||||
"sha256": "c40af08b2bc0c704e1eee3851d66e957b1c35a9ec88052b65d9c2d402c2cd37a",
|
||||
"sourceURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.19.1-idle-preview-20261106/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.19.1-symbols.zip"
|
||||
},
|
||||
"publishedFullDownloadVerified": true
|
||||
}
|
||||
],
|
||||
"assetID": 51,
|
||||
"assetName": "大鱼调色-1.19.1.pkg",
|
||||
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.19.1-idle-preview-20261106/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.19.1.pkg",
|
||||
"bytes": 44488264,
|
||||
"sha256": "7513be46cc86eb5df26401c9cb4368c8290d276cdcc478e5f16f727a1be4d647",
|
||||
"draftBrowserDownload": {
|
||||
"path": "/Volumes/备份/大鱼调色-1.19.1.pkg",
|
||||
"bytes": 44488264,
|
||||
"sha256": "7513be46cc86eb5df26401c9cb4368c8290d276cdcc478e5f16f727a1be4d647",
|
||||
"sourceURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.19.1-idle-preview-20261106/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.19.1.pkg"
|
||||
"path": "/Volumes/备份/大鱼调色-1.21.7.pkg",
|
||||
"sha256": "e4d327d4a4fdbcb025e17dd6aa1e0e884c435392b70bcc2e7402d100c07a10ef",
|
||||
"bytes": 44528083,
|
||||
"sourceURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.7-spider-fluidity-20261109/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.7.pkg",
|
||||
"releaseID": 421,
|
||||
"assetID": 67,
|
||||
"temporaryCopyRemoved": true
|
||||
},
|
||||
"publishedFullDownloadVerified": true
|
||||
"version": "1.21.7",
|
||||
"build": 125,
|
||||
"appCompiledSource": "5aae670f56201a17cffe6aff3624d1b8cfad2308"
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"repository": "dayu/dayu-color",
|
||||
"repositoryID": 52,
|
||||
"private": false,
|
||||
"tag": "v1.21.1-scope-face-20261108",
|
||||
"releaseCommit": "ad4e5e7a823bb451f45755d0ab331f08f6211239",
|
||||
"appCompiledSource": "98d80970e83e30e4883a76d8f740f2fca5d05e7c",
|
||||
"version": "1.21.1",
|
||||
"build": 117,
|
||||
"releaseID": 415,
|
||||
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.1-scope-face-20261108",
|
||||
"prerelease": true,
|
||||
"assetID": 61,
|
||||
"assetName": "大鱼调色-1.21.1.pkg",
|
||||
"bytes": 44509639,
|
||||
"sha256": "bdc63a1b1030ccad6960031cb9f2ec8297aa90f8d4acce2057eb5ba7750a289b",
|
||||
"credentialSource": "macOS Keychain: dayu-git-api",
|
||||
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.1-scope-face-20261108/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.1.pkg",
|
||||
"draftDownloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.1-scope-face-20261108/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.1.pkg",
|
||||
"draftVerification": "Authenticated browser download matched full byte count and SHA-256 before publication.",
|
||||
"verification": "Published release and attachment read-back matched. Complete HTTPS download matched byte count and SHA-256.",
|
||||
"passResult": true
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"repository": "dayu/dayu-color",
|
||||
"repositoryID": 52,
|
||||
"private": false,
|
||||
"tag": "v1.21.2-mosaic-tracking-20261108",
|
||||
"releaseCommit": "b6f73ebb666e4f72567f54515d0efd138220f7f6",
|
||||
"releaseID": 416,
|
||||
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.2-mosaic-tracking-20261108",
|
||||
"prerelease": true,
|
||||
"assetID": 62,
|
||||
"assetName": "大鱼调色-1.21.2.pkg",
|
||||
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.2-mosaic-tracking-20261108/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.2.pkg",
|
||||
"bytes": 44509704,
|
||||
"sha256": "01ee76d2302d0d1fc54b1ff5a3397c386467324db5f391d0b5dfd48c1e93b9df",
|
||||
"existingAssetReused": true,
|
||||
"verification": "Full draft download checked before publication; published attachment downloaded and checked again; release, tag and asset read-back verified.",
|
||||
"credentialSource": "macOS Keychain: dayu-git-api",
|
||||
"draftBrowserDownload": {
|
||||
"path": "/Volumes/备份/大鱼调色-1.21.2.pkg",
|
||||
"sha256": "01ee76d2302d0d1fc54b1ff5a3397c386467324db5f391d0b5dfd48c1e93b9df",
|
||||
"bytes": 44509704,
|
||||
"sourceURL": "https://dayu.media/git/attachments/2c16a5d6-14f2-483d-883c-59787eeec7f3"
|
||||
},
|
||||
"appCompiledSource": "6a979f16a828e17284c8f04647c79ac65811d3dc",
|
||||
"version": "1.21.2",
|
||||
"build": 119
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"repository": "dayu/dayu-color",
|
||||
"repositoryID": 52,
|
||||
"private": false,
|
||||
"tag": "v1.21.3-vision-lut-20261108",
|
||||
"releaseCommit": "a1595caf30ddc2e629543adc735d9df752f35cc6",
|
||||
"releaseID": 417,
|
||||
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.3-vision-lut-20261108",
|
||||
"prerelease": true,
|
||||
"assetID": 63,
|
||||
"assetName": "大鱼调色-1.21.3.pkg",
|
||||
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.3-vision-lut-20261108/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.3.pkg",
|
||||
"bytes": 44527074,
|
||||
"sha256": "99872aee9e3e0a25ed17f3fb173b20b8549dd9473c6fccd3954dd09836213ff9",
|
||||
"existingAssetReused": true,
|
||||
"verification": "Full draft download checked before publication; published attachment downloaded and checked again; release, tag and asset read-back verified.",
|
||||
"credentialSource": "macOS Keychain: dayu-git-api",
|
||||
"draftBrowserDownload": {
|
||||
"path": "/Volumes/备份/大鱼调色-1.21.3.pkg",
|
||||
"sha256": "99872aee9e3e0a25ed17f3fb173b20b8549dd9473c6fccd3954dd09836213ff9",
|
||||
"bytes": 44527074,
|
||||
"sourceURL": "https://dayu.media/git/attachments/d8d5f50e-3950-4fbe-9007-6317198e02b4",
|
||||
"apiDraftDownloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.3-vision-lut-20261108/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.3.pkg"
|
||||
},
|
||||
"appCompiledSource": "43364549327470291abd82ca1d0eded2becd1579",
|
||||
"version": "1.21.3",
|
||||
"build": 120
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"repository": "dayu/dayu-color",
|
||||
"repositoryID": 52,
|
||||
"private": false,
|
||||
"tag": "v1.21.4-curve-histogram-20261108",
|
||||
"releaseCommit": "8ca30fa3cc1dc03eb34c70b4307b60dde0d77133",
|
||||
"releaseID": 418,
|
||||
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.4-curve-histogram-20261108",
|
||||
"prerelease": true,
|
||||
"assetID": 64,
|
||||
"assetName": "大鱼调色-1.21.4.pkg",
|
||||
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.4-curve-histogram-20261108/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.4.pkg",
|
||||
"bytes": 44527149,
|
||||
"sha256": "eb0d4fd257a30705d3c4614f0bfca6d29b492199384fea8f2e6ccb7c50a674dc",
|
||||
"existingAssetReused": true,
|
||||
"verification": "草稿经已登录浏览器完整下载后发布,发布后再次完整下载。两次下载大小与 SHA-256 一致,并回读了标签、Release 和附件。",
|
||||
"credentialSource": "macOS Keychain: dayu-git-api",
|
||||
"draftBrowserDownload": {
|
||||
"path": "/Volumes/备份/大鱼调色-1.21.4.pkg",
|
||||
"bytes": 44527149,
|
||||
"sha256": "eb0d4fd257a30705d3c4614f0bfca6d29b492199384fea8f2e6ccb7c50a674dc",
|
||||
"sourceURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.4-curve-histogram-20261108/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.4.pkg",
|
||||
"releaseID": 418,
|
||||
"assetID": 64
|
||||
},
|
||||
"appCompiledSource": "7f2917393c89cdc8935b494106e09b2851378ec5",
|
||||
"version": "1.21.4",
|
||||
"build": 121
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"repository": "dayu/dayu-color",
|
||||
"repositoryID": 52,
|
||||
"private": false,
|
||||
"tag": "v1.21.5-lut-browser-20261108",
|
||||
"releaseCommit": "5ab5e78255127cda92686f28b557f751e60e2082",
|
||||
"releaseID": 419,
|
||||
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.5-lut-browser-20261108",
|
||||
"prerelease": true,
|
||||
"assetID": 65,
|
||||
"assetName": "大鱼调色-1.21.5.pkg",
|
||||
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.5-lut-browser-20261108/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.5.pkg",
|
||||
"bytes": 44527441,
|
||||
"sha256": "01e63b554ee236ca3bf3b8f1d85eeaf3cf9c933a03c0e3cb4fb5256aafa6cf72",
|
||||
"existingAssetReused": true,
|
||||
"verification": "草稿经已登录浏览器完整下载核对后发布。发布后再次完整下载,核对大小、SHA-256、版本标签及附件记录。",
|
||||
"credentialSource": "macOS Keychain: dayu-git-api",
|
||||
"draftBrowserDownload": {
|
||||
"path": "/Volumes/备份/大鱼调色-1.21.5.pkg",
|
||||
"sha256": "01e63b554ee236ca3bf3b8f1d85eeaf3cf9c933a03c0e3cb4fb5256aafa6cf72",
|
||||
"bytes": 44527441,
|
||||
"sourceURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.5-lut-browser-20261108/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.5.pkg",
|
||||
"releaseID": 419,
|
||||
"assetID": 65
|
||||
},
|
||||
"version": "1.21.5",
|
||||
"build": 123,
|
||||
"appCompiledSource": "8ca33a78fd224d13fffb1092c704adfce6cda12b"
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"repository": "dayu/dayu-color",
|
||||
"repositoryID": 52,
|
||||
"private": false,
|
||||
"tag": "v1.21.6-lut-preview-reuse-20261108",
|
||||
"releaseCommit": "3de998257d9f9e989093d58604c44a4eb1fb3fad",
|
||||
"releaseID": 420,
|
||||
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.6-lut-preview-reuse-20261108",
|
||||
"prerelease": true,
|
||||
"assetID": 66,
|
||||
"assetName": "大鱼调色-1.21.6.pkg",
|
||||
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.6-lut-preview-reuse-20261108/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.6.pkg",
|
||||
"bytes": 44527921,
|
||||
"sha256": "c92082550720225d9ea7a0f8b0f7315f19a438d9c717ab637a476b6c678f0ad6",
|
||||
"existingAssetReused": true,
|
||||
"verification": "草稿经完整下载校验后发布。发布后再次完整下载,核对大小、SHA-256、版本标签及附件记录。",
|
||||
"credentialSource": "macOS Keychain: dayu-git-api",
|
||||
"draftBrowserDownload": {
|
||||
"path": "/Volumes/备份/大鱼调色-1.21.6.pkg",
|
||||
"sha256": "c92082550720225d9ea7a0f8b0f7315f19a438d9c717ab637a476b6c678f0ad6",
|
||||
"bytes": 44527921,
|
||||
"sourceURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.6-lut-preview-reuse-20261108/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.6.pkg",
|
||||
"releaseID": 420,
|
||||
"assetID": 66
|
||||
},
|
||||
"version": "1.21.6",
|
||||
"build": 124,
|
||||
"appCompiledSource": "e0bd8342c0b2231028af64abd7b544b2be8f29d7"
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"repository": "dayu/dayu-color",
|
||||
"repositoryID": 52,
|
||||
"private": false,
|
||||
"tag": "v1.21.7-spider-fluidity-20261109",
|
||||
"releaseCommit": "039e567aaa563a36da5bbef90d0ccd4afd690183",
|
||||
"releaseID": 421,
|
||||
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.7-spider-fluidity-20261109",
|
||||
"prerelease": true,
|
||||
"assetID": 67,
|
||||
"assetName": "大鱼调色-1.21.7.pkg",
|
||||
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.7-spider-fluidity-20261109/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.7.pkg",
|
||||
"bytes": 44528083,
|
||||
"sha256": "e4d327d4a4fdbcb025e17dd6aa1e0e884c435392b70bcc2e7402d100c07a10ef",
|
||||
"existingAssetReused": true,
|
||||
"verification": "Full draft download checked before publication; published attachment downloaded and checked again; release, tag and asset read-back verified.",
|
||||
"credentialSource": "macOS Keychain: dayu-git-api",
|
||||
"draftBrowserDownload": {
|
||||
"path": "/Volumes/备份/大鱼调色-1.21.7.pkg",
|
||||
"sha256": "e4d327d4a4fdbcb025e17dd6aa1e0e884c435392b70bcc2e7402d100c07a10ef",
|
||||
"bytes": 44528083,
|
||||
"sourceURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.7-spider-fluidity-20261109/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.7.pkg",
|
||||
"releaseID": 421,
|
||||
"assetID": 67,
|
||||
"temporaryCopyRemoved": true
|
||||
},
|
||||
"version": "1.21.7",
|
||||
"build": 125,
|
||||
"appCompiledSource": "5aae670f56201a17cffe6aff3624d1b8cfad2308"
|
||||
}
|
||||
@@ -0,0 +1,599 @@
|
||||
{
|
||||
"baselineVersion": "1.21.7 (125)",
|
||||
"candidateVersion": "1.21.8 (126)",
|
||||
"baselineCompiledCommit": "5aae670f56201a17cffe6aff3624d1b8cfad2308",
|
||||
"baselineCheckout": "79f1dd45450b29ba6f94b5fa57a97d3dfa140bd7",
|
||||
"candidateSource": "38e9fb25a21d7ba573f09093ea4ca45a79664cf5",
|
||||
"baselineShaderSHA256": "e524e29a189fcf086b8aa7f75c7c0aba08b4a1666a454cbb34de98dd9165a0cb",
|
||||
"candidateShaderSHA256": "5acc6fc7abda835021b38455dcd4ee582691d31869ed2cf844a1ca0e933dc8cc",
|
||||
"device": "Apple M4",
|
||||
"method": "Production renderHostSource, headless, native Release objects and matching shaders. Synthetic RGBA16F input with mixed alpha, negatives, superwhites and flipped origin, changing frame time and parameters. 4 warmups plus 12 timed frames per case. Run order baseline/candidate/candidate/baseline. First eight output frames per configuration hashed outside the timed interval.",
|
||||
"cases": [
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"case": "legacy exposure",
|
||||
"timedFramesPerRun": 12,
|
||||
"baselineMedianMs": [
|
||||
7.55,
|
||||
4.172
|
||||
],
|
||||
"candidateMedianMs": [
|
||||
6.849,
|
||||
4.124
|
||||
],
|
||||
"baselineP90Ms": [
|
||||
11.0,
|
||||
4.22
|
||||
],
|
||||
"candidateP90Ms": [
|
||||
11.095,
|
||||
6.129
|
||||
],
|
||||
"pixelSHA256": [
|
||||
"3ab0ecd0f7f65147d2ccad27ce03beae138e79c880321e02060788f1831ad60a",
|
||||
"100fe3d542f6f07dd050f14c8d53f74859b56620d0fdc1cf2d660f9f06981361",
|
||||
"5286fc1f06318f47b4f26523ee1335ae1b77d41ea5bb7b8d143d0a76f8e472b9",
|
||||
"011b815eac78d63f387fd87359c2c42bbc62785f5e19760e6abad3f72e0f9b3c",
|
||||
"e5561407e15a14fb02a603a9bef311280276de84af5569fe919e3061ec08537d",
|
||||
"5348b48045b81bfe0f0a406483c46ed0a094f310b469f527be94d424ca5905ea",
|
||||
"411f9a765f0f238276fdc1468b4d3aa5dc90518160571414d3d49a5a08768214",
|
||||
"6cd2c0b86921b8a696d9407f39aa5edf80adf4064027579f16b95d44050acaed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"case": "v3 CST and masked mix / 709",
|
||||
"timedFramesPerRun": 12,
|
||||
"baselineMedianMs": [
|
||||
17.669,
|
||||
17.254
|
||||
],
|
||||
"candidateMedianMs": [
|
||||
14.074,
|
||||
13.662
|
||||
],
|
||||
"baselineP90Ms": [
|
||||
19.737,
|
||||
20.202
|
||||
],
|
||||
"candidateP90Ms": [
|
||||
16.235,
|
||||
14.682
|
||||
],
|
||||
"pixelSHA256": [
|
||||
"b06df5703d557a56d9616aa9d116ff4d1695e095717fa69f580d81a6504c81b1",
|
||||
"acbae79039bd1d2bdd1fff6f20357df9e10d0256ec2adb39144674ac46eb6871",
|
||||
"e7c6ff1fda88d56f27d4899225996d2680f3541ece750b55fd9688c4f5711055",
|
||||
"274de9ead2f40a5899f11bf0d14ae3d4027411db7f2cd9011e94084d3da7960c",
|
||||
"4c75b77e66b45905c0a13b1e028bb3147ffa57b60410d4388889eb15675b356a",
|
||||
"ed6727a5087917191302ed06e95a2e3f24e3d471ffa4f9054e3896b6737738cb",
|
||||
"19cacbf0b460b70f38875dc5b65ffdba342d07a422b638c95d3473af6429f0ad",
|
||||
"a8c95d9b19da1f62e143be04b113939f6d0a12d2f1c8032314bda64223adb039"
|
||||
]
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"case": "v4 exposure and masked HSL / 709",
|
||||
"timedFramesPerRun": 12,
|
||||
"baselineMedianMs": [
|
||||
29.845,
|
||||
30.303
|
||||
],
|
||||
"candidateMedianMs": [
|
||||
22.763,
|
||||
23.168
|
||||
],
|
||||
"baselineP90Ms": [
|
||||
30.871,
|
||||
35.227
|
||||
],
|
||||
"candidateP90Ms": [
|
||||
24.935,
|
||||
25.382
|
||||
],
|
||||
"pixelSHA256": [
|
||||
"475eb3508c38de92a4c3ce342a04121b6e37433eee200dd6595984ba9bdc1d35",
|
||||
"7b0e6bb942294c40241c17b59635ac3840cbc0427a53d01256f4ea5cf8eabd7b",
|
||||
"52ecc29209e1669b1c8332fe6f4c0188249b58bebb4118c076479729321b65a6",
|
||||
"3306595bbd04464a44cda3ddb62a3b61ce6117e4fe8db419b33e839db3d2512c",
|
||||
"556167fbfdc530548fd8bbf71c5fe785ca12fc225e8b11e663a93beff8fc4c8b",
|
||||
"46b3bc45b80d1fb31cdad89829e38fa7accb0168d7ab70956f269d72e537f998",
|
||||
"d99a1c25ced571e06d92e0409775d55a42c451c3eef7bfbb3293adcbf3c49b22",
|
||||
"bd8ae73377cad4676d2fc5056d445d71c928c4126327be1af8a534716ba1a480"
|
||||
]
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"case": "v4 CST and mix / P3",
|
||||
"timedFramesPerRun": 12,
|
||||
"baselineMedianMs": [
|
||||
23.925,
|
||||
22.688
|
||||
],
|
||||
"candidateMedianMs": [
|
||||
18.612,
|
||||
19.959
|
||||
],
|
||||
"baselineP90Ms": [
|
||||
27.721,
|
||||
23.97
|
||||
],
|
||||
"candidateP90Ms": [
|
||||
21.002,
|
||||
22.072
|
||||
],
|
||||
"pixelSHA256": [
|
||||
"e1f3498a1feea62b578bbbc42ee06cccefac1e16dffb3bcd51825da2031c3827",
|
||||
"62ffad6e3305a23d2b4e9fc359572c4937d7ad0397444d23861a3b80c63c6f4a",
|
||||
"a4e7d4bc4c5fa33a0fb519dce81f330edd545272db4d23e0e7168be3ab65c120",
|
||||
"2c71da30611aa180fc8cd90f2b3e9c87644295a9d7939f56b7541db42219d150",
|
||||
"94c8161b30c697d19573c19f23a60a3a16de2d904eae190983aaadbcf958d98a",
|
||||
"a2abe98b4c6d345d9d08fc718c3ac2b489c7b812091ec83df828e6d2b50a8996",
|
||||
"032e967c4e31af39a20900b0930e8c9fbd192cb18a9482ea7da57e0628b47f48",
|
||||
"436a9e202ce1f27a0ffc98445ff7b14aace15c0ac354efb33e1d6082823c07f3"
|
||||
]
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"case": "legacy film grain and halation",
|
||||
"timedFramesPerRun": 12,
|
||||
"baselineMedianMs": [
|
||||
11.882,
|
||||
12.87
|
||||
],
|
||||
"candidateMedianMs": [
|
||||
12.373,
|
||||
15.127
|
||||
],
|
||||
"baselineP90Ms": [
|
||||
14.294,
|
||||
14.09
|
||||
],
|
||||
"candidateP90Ms": [
|
||||
14.572,
|
||||
17.408
|
||||
],
|
||||
"pixelSHA256": [
|
||||
"2d5f2afb20439a138cefe16dd90f7abc20e7b84789dc22c626e9dd36a9fc96b3",
|
||||
"9f8b229521e86c8ac6cc9c9cb837b9eaf96503d2b742a3982f91b96c6021ed9b",
|
||||
"992a1ec1783004f131b65fbbafc3dac34dc173969595fcfab191c3c246901aa1",
|
||||
"7a9abf6e50a7f3fa0c9f4bb7534728c2cf9813dd0d5c45e317aef25c731b0d5d",
|
||||
"60a474ea354059b8877e9df11fd7d3249989de701b1e62c5c7448418b6c5b20e",
|
||||
"a7acc1955b3ae5f2aac55d6c586f4209b80ffc3384667b6f8897a9951cb6959a",
|
||||
"9f8360689fd9fba2aa605f1cf7a9d0c7fa62c4f5fa022a8cca2db9598bf7fc34",
|
||||
"fbcc0629cefae2a1be86e3824d7a226328d4ba93b29dd80c6822a33fd0ae3dfd"
|
||||
]
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"case": "legacy lens with mask",
|
||||
"timedFramesPerRun": 12,
|
||||
"baselineMedianMs": [
|
||||
9.699,
|
||||
10.452
|
||||
],
|
||||
"candidateMedianMs": [
|
||||
11.178,
|
||||
19.6
|
||||
],
|
||||
"baselineP90Ms": [
|
||||
12.036,
|
||||
11.727
|
||||
],
|
||||
"candidateP90Ms": [
|
||||
12.924,
|
||||
21.331
|
||||
],
|
||||
"pixelSHA256": [
|
||||
"cfcc3b8623ee4c6c649f7e8b2917b6f588b57da75fcd2c252d05f8f05a0f2284",
|
||||
"9a61a083f9c394c805fb326cd3930d4ed6c5d040903c58c38ccf33fff544b3a3",
|
||||
"1430b4e279ca1eec56d1b68d9df6a9b361a7b6681fc77939db35b32e57a1d51f",
|
||||
"df249554e53efef241d0bd791b6aee2188285a16620e5fb919f04589bcb7b834",
|
||||
"bf8f12aed8bc4f5094f85f572ab943646b38dc4e78d49993c338e1e28bb6cb11",
|
||||
"b9402e9b1f62d5cd9badb3e5589d2590ca22406e37276cc7cb292cbabef2c0aa",
|
||||
"eceb8943d4ec536d97cc36c34b757ea8f77be474e4450ba49282b5727396a709",
|
||||
"d6524b543bedb6d5ddc52b613008a176fb0518b367493c631322347325d75007"
|
||||
]
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"case": "v2 follow host / P3",
|
||||
"timedFramesPerRun": 12,
|
||||
"baselineMedianMs": [
|
||||
23.832,
|
||||
23.215
|
||||
],
|
||||
"candidateMedianMs": [
|
||||
24.679,
|
||||
30.855
|
||||
],
|
||||
"baselineP90Ms": [
|
||||
25.312,
|
||||
24.943
|
||||
],
|
||||
"candidateP90Ms": [
|
||||
27.99,
|
||||
37.944
|
||||
],
|
||||
"pixelSHA256": [
|
||||
"5540ae091967328675a722c57ad9bbc95b5c02d170f4617a1f7d2f496e9ea116",
|
||||
"278b7197fe6ef2d57cc728dad29744c13b7574d43dd658ec50796a95e1c23084",
|
||||
"2015470cd370b9d040ad7506584096c5edfd9784d78cc1b9276c1269ca8133e3",
|
||||
"e66dbe0421874f06a88e5b91ca20a5bcfb9ffe704ca9516fdd2d216e1a845379",
|
||||
"35539d1f8dfa6ba8c615ed3b3adf5e30d29867c453ffe2c50123edac94d4364c",
|
||||
"797cecc0cea0eb2dab56e148392b4a705d865f6bbfeb6804e55d442bb44048e0",
|
||||
"e50a91a17b42389f8823f614bf52226680472abd946657a6c03d2f97ac89fae2",
|
||||
"d99c4d43561508ca4446ad1d453b2c57b324bb270bba0b37d99da4f025de52f9"
|
||||
]
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"case": "v4 exposure and masked HSL / PQ",
|
||||
"timedFramesPerRun": 12,
|
||||
"baselineMedianMs": [
|
||||
37.45,
|
||||
59.767
|
||||
],
|
||||
"candidateMedianMs": [
|
||||
29.278,
|
||||
31.837
|
||||
],
|
||||
"baselineP90Ms": [
|
||||
39.451,
|
||||
73.171
|
||||
],
|
||||
"candidateP90Ms": [
|
||||
31.222,
|
||||
32.967
|
||||
],
|
||||
"pixelSHA256": [
|
||||
"2df57fa747ee7c11fb98719ff421bb0932f180c7e43e2cca8e3e084964faa58f",
|
||||
"9828b24f1ffb5e2088c40221bbd0037e41896eb0a6384a98ed129e1f049d29fe",
|
||||
"98fe52e8a939c90ecac6cfe227dfc1708ab3a160a588cbcb5d2d9bed51fd2e2f",
|
||||
"6556c16a4deb1c97a583484e84b297117c2808218d00ad6763180f6894e17c1c",
|
||||
"26c0fb876d6b9ca3bfc8c63021fcd250bd0f6e3d8cafd3c9f76d7c8ec89afaf7",
|
||||
"7d59acdf1564c0978814922fa21a380c10d66b243b451a9d01e12351cad80e0b",
|
||||
"7489c55d120cde042d08835ff9ad87451e70c426bc23407e637c8e184af8a558",
|
||||
"68a878b4bc5274c3b5b65d52a33903e8f4315e863febd3c01c19145b5fa9b219"
|
||||
]
|
||||
},
|
||||
{
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"case": "legacy exposure",
|
||||
"timedFramesPerRun": 12,
|
||||
"baselineMedianMs": [
|
||||
16.048,
|
||||
15.395
|
||||
],
|
||||
"candidateMedianMs": [
|
||||
14.785,
|
||||
16.398
|
||||
],
|
||||
"baselineP90Ms": [
|
||||
17.762,
|
||||
18.669
|
||||
],
|
||||
"candidateP90Ms": [
|
||||
16.577,
|
||||
17.861
|
||||
],
|
||||
"pixelSHA256": [
|
||||
"986272a593218962bf9e72409c5268046369d78cf7f5ae41d15758d816395d68",
|
||||
"6ecffbc3a1a387ce467dd1932db04dabfc792e57a0650aa379f52945a01b0a58",
|
||||
"5790a9ca7fa7afe08791643884d80c28ae805b5e2324ae92043512dd391d9b65",
|
||||
"848aee48e65809586f376da612edf3591eaa1f3b24cef27712f22093934a5758",
|
||||
"e4d9255711ab806ea4cd40eaf0c1a46aa0df500db4f7479363fba9d98b73956a",
|
||||
"10751e8853b0b37b71eb52fd4fdb2b81f39c605c9b267826f502bd791fcad085",
|
||||
"3e4b3df75b676e5d1c575639357f78d9503b937b4b0cf519d2f4331f0bc42b17",
|
||||
"8391af480945101645896561d8716a1fc0bad1b1c632480cf9b72063334bda33"
|
||||
]
|
||||
},
|
||||
{
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"case": "v3 CST and masked mix / 709",
|
||||
"timedFramesPerRun": 12,
|
||||
"baselineMedianMs": [
|
||||
50.152,
|
||||
48.85
|
||||
],
|
||||
"candidateMedianMs": [
|
||||
42.335,
|
||||
43.354
|
||||
],
|
||||
"baselineP90Ms": [
|
||||
56.678,
|
||||
51.672
|
||||
],
|
||||
"candidateP90Ms": [
|
||||
44.312,
|
||||
44.924
|
||||
],
|
||||
"pixelSHA256": [
|
||||
"67135447c061ad38a5cefc783ce4cd8baaf15ecbe8c4dfa2905d54763567e071",
|
||||
"f31a3b000faa655bb30cb20e449f3fd9822f5e8f5167b0e5bb99a31d8fc91bcb",
|
||||
"183e7e550354093d3f1d918be24208505829278b6e749233167a54d0e5d7bb5c",
|
||||
"452e1e1a84a950954f6a5d98ee8825431f22b95dce0c1afaf6041bf0a62ee8c5",
|
||||
"c7804cfde7b2665accfefcc587d699edf9f27dc5102cfe81e812ac09f29915b4",
|
||||
"6fa3d668ba482a1b0e94963da31dd6ace7873f5b61fa9f3c2ba66026823ebaef",
|
||||
"2737cf8a245235e2e498c3d7a23ff174709386d66e884815388bc6286b3c0cf7",
|
||||
"23ae74cae8cabe26b9b09f976e2f0d8a5bb1e0de27e54044307daf300cae0929"
|
||||
]
|
||||
},
|
||||
{
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"case": "v4 exposure and masked HSL / 709",
|
||||
"timedFramesPerRun": 12,
|
||||
"baselineMedianMs": [
|
||||
85.974,
|
||||
89.347
|
||||
],
|
||||
"candidateMedianMs": [
|
||||
75.244,
|
||||
74.828
|
||||
],
|
||||
"baselineP90Ms": [
|
||||
91.638,
|
||||
92.821
|
||||
],
|
||||
"candidateP90Ms": [
|
||||
80.047,
|
||||
78.893
|
||||
],
|
||||
"pixelSHA256": [
|
||||
"1477c02f94662e8474627a7e90445c42fbab5f5c452851d568f0db2dcf266051",
|
||||
"e420c88d537e538ea79c865d2f8fbef5b52371d89f99b2a2b14fdf034d5c5f4d",
|
||||
"0cc5caf15945e3835e6506fb6cf941f76928439788496743c0ce74f655e06f25",
|
||||
"4b06364ca82e42a2b4a0082eebf4dfaabe21e4fc115b7adab8b8907c93dfa9a6",
|
||||
"55a65d0dcb7974b37359a02023db14f00267c936e74130ae0c40beeba367d713",
|
||||
"099a162c682e3411ad9e58e1a8a6b7e40e66224828bbcb95541a2525e6a24328",
|
||||
"21d763810277b6afc18ea3c35643386e7d1bb9ac37e7903f405c84b86a6ec57c",
|
||||
"c7039ccdc51f187958ab46dd38c93b6a2bcef77f5a7e675be44596ab737fefc5"
|
||||
]
|
||||
},
|
||||
{
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"case": "v4 CST and mix / P3",
|
||||
"timedFramesPerRun": 12,
|
||||
"baselineMedianMs": [
|
||||
74.662,
|
||||
66.297
|
||||
],
|
||||
"candidateMedianMs": [
|
||||
64.524,
|
||||
61.439
|
||||
],
|
||||
"baselineP90Ms": [
|
||||
80.375,
|
||||
68.562
|
||||
],
|
||||
"candidateP90Ms": [
|
||||
67.617,
|
||||
62.714
|
||||
],
|
||||
"pixelSHA256": [
|
||||
"618ba597b71960e36c7061141394c94bba0a3e626f491ac40e2b30e58a8694da",
|
||||
"af0abde7aa52507d3b48e35a51f296e093f9780f217742809823707cb7b143a1",
|
||||
"ed21d5499b761ce9a9a3900e23c43dbfa0a0482048e097f5e1758624e25a78a1",
|
||||
"f24e4040a718519c79c516b67a25c3cb2180624e69a0ac683a2ffcb3a41500ff",
|
||||
"5c7b020fc2c5c3a28446ea432c49a273205a34a074531b375d84b4fc40627784",
|
||||
"b9de83d998a24320c3e71b228e783ee9d76da6cf06126c8c3081d12de9a168dc",
|
||||
"43ee1f560ae1d2d8b3bef2455e6f6fef165dd577259ee0f8595b6254393eef9d",
|
||||
"d46e5694a23a186c63831b6e657c7a7eb6be568e8c8117f973f01c88fc53e789"
|
||||
]
|
||||
},
|
||||
{
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"case": "legacy film grain and halation",
|
||||
"timedFramesPerRun": 12,
|
||||
"baselineMedianMs": [
|
||||
46.231,
|
||||
45.047
|
||||
],
|
||||
"candidateMedianMs": [
|
||||
44.845,
|
||||
44.722
|
||||
],
|
||||
"baselineP90Ms": [
|
||||
47.611,
|
||||
47.694
|
||||
],
|
||||
"candidateP90Ms": [
|
||||
47.54,
|
||||
46.728
|
||||
],
|
||||
"pixelSHA256": [
|
||||
"7646e343b0ab1d6b994d228aad33e6e287aff84c420f0ae98c44492c7439c8b5",
|
||||
"d2b905ba68460d19cd387b7310c1d8291a9a29b9b30214a9ea5f88168836ac75",
|
||||
"a3f56f36c64f6bbe6742f90561f9f43641c0f4ac6e47e8323e6fa17e9fee3f16",
|
||||
"2896872c29f75cd270af490810d0f64bdde4536bf96e321d3c61eb95553c8c6f",
|
||||
"cb8dbce5455fbc6a45fd37f26dcf683b7be636841255472bcd71111bf2ab7d21",
|
||||
"1914502e86292a73fa256019aee00e530bdf9c4d0cd832b0e892cab87d8f744a",
|
||||
"85ee884727e36e9652b993b568752e573ab5d6982a3dd88fc678e71e1efd5d4d",
|
||||
"a3a4220335305fb0c820837d92144b4673b7f36c9bd9f95ffb6edb360850daf7"
|
||||
]
|
||||
},
|
||||
{
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"case": "legacy lens with mask",
|
||||
"timedFramesPerRun": 12,
|
||||
"baselineMedianMs": [
|
||||
34.649,
|
||||
34.202
|
||||
],
|
||||
"candidateMedianMs": [
|
||||
34.565,
|
||||
35.923
|
||||
],
|
||||
"baselineP90Ms": [
|
||||
36.517,
|
||||
37.221
|
||||
],
|
||||
"candidateP90Ms": [
|
||||
35.573,
|
||||
37.677
|
||||
],
|
||||
"pixelSHA256": [
|
||||
"98e9b102723dfc1d0b4abdca6824847f8c4bc2afa3f305cf3561fa3f52a7dd4a",
|
||||
"ab841cb8fede819a0ba6fbd545e13c68b26bdaa8a12ccdd3015ef7ad29d28a1f",
|
||||
"c273a5f0b1c781c36e62fe15e8787fc866a53a41cecac9629ec161401ad9e707",
|
||||
"5ab5809a415ed8e95ad93d697e7407dbe276243b6d293389cd744ccd82597540",
|
||||
"d1347e68286e346be89ae857903498a246e57e98313b21f6aefe9cb3a2ed0a5a",
|
||||
"58c34bedf428e99d3bb6de1841607588f9bfbdc6c93feab6520cb27c2f8be001",
|
||||
"695f0bf028b88a6a18ca387418f72b8252cf5994691d4936a943b3b51dcda172",
|
||||
"03c20e5ad2fc75f07c57e0bfaf6224c29ea71fe794c6dd1d4d9e834331e5f6a0"
|
||||
]
|
||||
},
|
||||
{
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"case": "v2 follow host / P3",
|
||||
"timedFramesPerRun": 12,
|
||||
"baselineMedianMs": [
|
||||
78.333,
|
||||
71.308
|
||||
],
|
||||
"candidateMedianMs": [
|
||||
69.322,
|
||||
70.367
|
||||
],
|
||||
"baselineP90Ms": [
|
||||
83.126,
|
||||
75.829
|
||||
],
|
||||
"candidateP90Ms": [
|
||||
71.681,
|
||||
72.822
|
||||
],
|
||||
"pixelSHA256": [
|
||||
"a09600674e2be09d40baf512d7753a213303f3cf6d4f0975a0814202db6e8319",
|
||||
"225c809cd147094fb714aa89557aea869e5a8d4f33d8891c10b67971a350e25c",
|
||||
"a7985ae26162eeea03409291fde197c4ac3313bb0d054aceae94a5d5e2a1245b",
|
||||
"7a2579141f250a410c9f0c7c89cabe0e3d5673d7b28eddbbb0ef10aaa267943e",
|
||||
"33c5ffc542544a2dbe0fceeb8fd5d43dc53e12777ce1d14aee9bfb7108ef0880",
|
||||
"fd8228236d7d8ac3e302ac1b87a2a613f67c249afadd68f8f6b737cc7f7ef8b0",
|
||||
"0ea8b3d82db4d7da7deed9507853aa71dd8fa4988885766664cb0b5b91099f8e",
|
||||
"a6fd8842ebd7a131f5289922337eaabe77d0fbf200b78db20eed807cd45d0939"
|
||||
]
|
||||
},
|
||||
{
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"case": "v4 exposure and masked HSL / PQ",
|
||||
"timedFramesPerRun": 12,
|
||||
"baselineMedianMs": [
|
||||
104.648,
|
||||
102.213
|
||||
],
|
||||
"candidateMedianMs": [
|
||||
95.613,
|
||||
95.645
|
||||
],
|
||||
"baselineP90Ms": [
|
||||
112.737,
|
||||
109.624
|
||||
],
|
||||
"candidateP90Ms": [
|
||||
101.3,
|
||||
100.756
|
||||
],
|
||||
"pixelSHA256": [
|
||||
"a0f5f6484e58dfbf078191d4623c468cfc94725916283e3abc9b05e10fd53a4d",
|
||||
"18e8af4bf05ee2c17484d0d15e5d6c2123542adab6d594e0c44874c58e5db0c4",
|
||||
"4def4e36546de580473d8d12c9ae2614dc3ca4b66da79879087cd4ed9443de69",
|
||||
"30e8a2fc0f7155b19f02af0dbc7e00836edb09f100b646bb9d7d5df0ce9adab0",
|
||||
"0cb04cbcb805679af7d0d9a950ea599e12e566706d812232ff557af7bae63bce",
|
||||
"c474f6e65015abfa01cf8052247c7a72db62b3ab700035adc91c39faa4da00d8",
|
||||
"a803ecf06d4887d87f8e3b9e848e42d6af3c1bd7bd05bc57396d3ddf62c0977f",
|
||||
"a88572eb0149dd19ff034fef0e83e77f6899c1016382b734ace7a1954ff8797c"
|
||||
]
|
||||
}
|
||||
],
|
||||
"distinctFramePairsChecked": 128,
|
||||
"allFrameHashesMatch": true,
|
||||
"focusedInterleavedRuns": [
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"case": "legacy film grain and halation",
|
||||
"baselineMedianMs": [
|
||||
15.473,
|
||||
12.791,
|
||||
14.554
|
||||
],
|
||||
"candidateMedianMs": [
|
||||
12.971,
|
||||
12.113,
|
||||
13.181
|
||||
],
|
||||
"allFrameHashesMatch": true
|
||||
},
|
||||
{
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"case": "legacy film grain and halation",
|
||||
"baselineMedianMs": [
|
||||
50.271,
|
||||
49.796,
|
||||
44.886
|
||||
],
|
||||
"candidateMedianMs": [
|
||||
44.167,
|
||||
44.112,
|
||||
45.14
|
||||
],
|
||||
"allFrameHashesMatch": true
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"case": "legacy lens with mask",
|
||||
"baselineMedianMs": [
|
||||
10.098,
|
||||
10.186,
|
||||
11.793
|
||||
],
|
||||
"candidateMedianMs": [
|
||||
10.591,
|
||||
9.578,
|
||||
11.035
|
||||
],
|
||||
"allFrameHashesMatch": true
|
||||
},
|
||||
{
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"case": "legacy lens with mask",
|
||||
"baselineMedianMs": [
|
||||
35.678,
|
||||
34.683,
|
||||
39.156
|
||||
],
|
||||
"candidateMedianMs": [
|
||||
35.277,
|
||||
33.708,
|
||||
34.641
|
||||
],
|
||||
"allFrameHashesMatch": true
|
||||
}
|
||||
],
|
||||
"metalAPIValidation": "Masked lens at both resolutions completed with validation enabled.",
|
||||
"limits": [
|
||||
"Times are CPU wall time through GPU completion, without FCP scheduling, decoding or presentation.",
|
||||
"Film batching trial regressed at 1080p and was discarded. The final render retains the original film scheduling.",
|
||||
"Small differences in the light exposure, lens and V2 profile cases vary by run; no general FPS or end-to-end host latency claim."
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"device": "Mac mini M4",
|
||||
"baseline": "1.21.6 (124)",
|
||||
"candidate": "1.21.7 (125)",
|
||||
"candidateCommit": "5aae670f56201a17cffe6aff3624d1b8cfad2308",
|
||||
"workload": "AppKit offscreen inspector, mock FxPlug parameter manager; 120 events without yielding the run loop, then mouseUp. 7 warm measured repetitions of 9. Drag CPU timing excludes the final mouseUp flush. Counts include mouseUp.",
|
||||
"limitations": [
|
||||
"No host XPC, FCP/GPU playback FPS or display-latency timing in this benchmark.",
|
||||
"The timer normally submits intermediate snapshots during a real drag, unlike a single synthetic burst."
|
||||
],
|
||||
"runs": {
|
||||
"baseline": [
|
||||
{
|
||||
"medianDragBurstMs": 181.61320833314676,
|
||||
"density": 6,
|
||||
"assetWrites": 120,
|
||||
"floatReads": 33363,
|
||||
"inputEvents": 120,
|
||||
"meshSHA256": "74c3089247356ef92981fef66b3736e75c524f08f0957dd74dbe14e2777b737a"
|
||||
},
|
||||
{
|
||||
"medianDragBurstMs": 180.88595833978616,
|
||||
"density": 24,
|
||||
"assetWrites": 120,
|
||||
"floatReads": 33363,
|
||||
"inputEvents": 120,
|
||||
"meshSHA256": "f209154d36bc72c50c4e47a4a0b2e80572f3d10240b74461a976390aa324cb17"
|
||||
}
|
||||
],
|
||||
"candidate": [
|
||||
{
|
||||
"medianDragBurstMs": 0.09520833555143327,
|
||||
"density": 6,
|
||||
"assetWrites": 1,
|
||||
"floatReads": 276,
|
||||
"inputEvents": 120,
|
||||
"meshSHA256": "74c3089247356ef92981fef66b3736e75c524f08f0957dd74dbe14e2777b737a"
|
||||
},
|
||||
{
|
||||
"medianDragBurstMs": 1.1117499961983413,
|
||||
"density": 24,
|
||||
"assetWrites": 1,
|
||||
"floatReads": 276,
|
||||
"inputEvents": 120,
|
||||
"meshSHA256": "f209154d36bc72c50c4e47a4a0b2e80572f3d10240b74461a976390aa324cb17"
|
||||
}
|
||||
],
|
||||
"candidateRepeat": [
|
||||
{
|
||||
"medianDragBurstMs": 0.1014166628010571,
|
||||
"density": 6,
|
||||
"assetWrites": 1,
|
||||
"floatReads": 276,
|
||||
"inputEvents": 120,
|
||||
"meshSHA256": "74c3089247356ef92981fef66b3736e75c524f08f0957dd74dbe14e2777b737a"
|
||||
},
|
||||
{
|
||||
"medianDragBurstMs": 1.1217083374504,
|
||||
"density": 24,
|
||||
"assetWrites": 1,
|
||||
"floatReads": 276,
|
||||
"inputEvents": 120,
|
||||
"meshSHA256": "f209154d36bc72c50c4e47a4a0b2e80572f3d10240b74461a976390aa324cb17"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -235,7 +235,7 @@ static BOOL DYWorkspaceEnabled(DYUniforms u,NSString *type){if([type isEqual:@"b
|
||||
_status.stringValue=[NSString stringWithFormat:@"%@\n%@ · 有效 %@ · 透明 %@ · 非有限 %@ · 超出 −10%%/110%% %@/%@",([data[@"converted"]boolValue]?@"最终画面 · sRGB 显示参考;非 HDR / IRE 精密测量":@"空间未知:显示宿主 RGB 数值参考;不用于 HDR / IRE 测量"),frame,data[@"valid"],data[@"transparent"],data[@"nonfinite"],data[@"below"],data[@"above"]];
|
||||
}else _status.stringValue=@"示波器采集当前效果的最终输出。播放、移动时间线或调整颜色后更新;透明像素不计入。";
|
||||
}
|
||||
- (void)previewChanged:(NSNotification *)notification{if(_visible&&_editorMode==2)[_browser updatePreview:[_renderer lookLUTPreview]];}
|
||||
- (void)previewChanged:(NSNotification *)notification{if(_visible&&_editorMode==2)[_browser updatePreview:[_renderer lookLUTPreviewFrames]];}
|
||||
- (void)themeChanged:(NSNotification *)notification{[self updatePalette];}
|
||||
- (void)updatePalette{
|
||||
[_root setNeedsDisplay:YES];for(NSTextField *label in @[_heading,_description,_status,_lutExplanation])label.textColor=DYThemeColor(label==_heading?@"text":@"secondary");[_browser updatePalette:DYWorkspacePalette()];
|
||||
@@ -244,7 +244,7 @@ static BOOL DYWorkspaceEnabled(DYUniforms u,NSString *type){if([type isEqual:@"b
|
||||
if(_browser.visible)return;[_browser release];_browser=nil;id<FxCustomParameterActionAPI_v4> action=[[self lutManager] apiForProtocol:@protocol(FxCustomParameterActionAPI_v4)];if(!action){[self reportError:@"宿主暂时无法读取风格1"];return;}
|
||||
NSString *selected=nil;[action startAction:self];@try{selected=[DYReadAssets([self lutManager],action.currentTime).paths[@"look0"]copy];}@finally{[action endAction:self];}
|
||||
DYWorkspaceLifetime *token=_lifetime;
|
||||
_browser=[[DYLUTBrowser alloc]initWithLibrary:_library preview:[_renderer lookLUTPreview] selectedPath:selected palette:DYWorkspacePalette() selection:^NSProgress *(NSString *path,void(^completion)(NSError *)){DYColorWorkspace *owner=token.owner;if(owner&&!owner->_closed)return [owner selectLUT:path completion:completion];if(completion)completion([NSError errorWithDomain:NSCocoaErrorDomain code:NSUserCancelledError userInfo:nil]);return nil;}];[selected release];
|
||||
_browser=[[DYLUTBrowser alloc]initWithLibrary:_library preview:[_renderer lookLUTPreviewFrames] selectedPath:selected palette:DYWorkspacePalette() selection:^NSProgress *(NSString *path,void(^completion)(NSError *)){DYColorWorkspace *owner=token.owner;if(owner&&!owner->_closed)return [owner selectLUT:path completion:completion];if(completion)completion([NSError errorWithDomain:NSCocoaErrorDomain code:NSUserCancelledError userInfo:nil]);return nil;}];[selected release];
|
||||
[_browser embedInView:_lutPane close:^{DYColorWorkspace *owner=token.owner;if(owner&&!owner->_closing&&!owner->_closed){owner->_editorMode=0;[owner pageChanged:nil];}}];
|
||||
}
|
||||
- (NSDictionary *)selectionContextAtTime:(CMTime)time{
|
||||
|
||||
@@ -70,6 +70,11 @@
|
||||
BOOL totals=YES;for(int c=0;c<4;c++){uint32_t total=0;for(int b=0;b<256;b++)total+=h->bins[c][b];totals&=total==6;}
|
||||
run.record(@"histogram-each-channel-conserves-valid-samples",totals);
|
||||
run.record(@"histogram-malformed-and-empty-safe",!DYHistogramFromRGBA([NSData dataWithBytes:pixels length:3])&&((const DYHistogram*)DYHistogramFromRGBA([NSData data]).bytes)->samples==0);
|
||||
const float premultipliedGrey[]={.09f,.09f,.09f,.5f};
|
||||
NSData *grey=[NSData dataWithBytes:premultipliedGrey length:sizeof(premultipliedGrey)];
|
||||
NSData *greyLevels=DYHistogramFromRGBA(grey,true,true);
|
||||
const auto *video=(const DYHistogram*)greyLevels.bytes;
|
||||
run.record(@"histogram-encodes-straight-linear-grey-as-rec709-signal",video->rec709VideoLevels&&video->samples==1&&video->bins[0][104]==1&&video->bins[1][104]==1);
|
||||
DYDiagnosticManager *host=[[[DYDiagnosticManager alloc]init]autorelease];DYCreateParameters(host,nil);DYRenderer *renderer=[[[DYRenderer alloc]init]autorelease];
|
||||
DYScopeSample *sample=[[[DYScopeSample alloc]init]autorelease];sample.pixels=input;[renderer setValue:sample forKey:@"scopeLatest"];
|
||||
DYInspector *view=[[[DYInspector alloc]initWithAPIManager:host renderer:renderer]autorelease];[view refresh];NSDictionary *before=[view presetSnapshot];
|
||||
@@ -90,6 +95,9 @@
|
||||
[renderer invalidatePreview];
|
||||
run.record(@"histogram-keeps-final-output-while-a-new-render-is-pending",[[graph valueForKey:@"histogram"]isEqual:data]);
|
||||
DYDiagnosticTile *updated=[[[DYDiagnosticTile alloc]initWithDevice:gpu width:2 height:2]autorelease];
|
||||
CGColorSpaceRef linear709=CGColorSpaceCreateWithName(kCGColorSpaceExtendedLinearSRGB);
|
||||
[updated setDiagnosticColorSpace:linear709];
|
||||
CGColorSpaceRelease(linear709);
|
||||
const __fp16 colors[16]={.25f,.4f,.6f,1,.25f,.4f,.6f,1,.25f,.4f,.6f,1,.25f,.4f,.6f,1};
|
||||
[[updated metalTextureForDevice:gpu]replaceRegion:MTLRegionMake2D(0,0,2,2)mipmapLevel:0 withBytes:colors bytesPerRow:16];
|
||||
[renderer captureScopeTile:updated atTime:kCMTimeZero];
|
||||
@@ -97,6 +105,8 @@
|
||||
while([[graph valueForKey:@"histogram"]isEqual:data]&&NSProcessInfo.processInfo.systemUptime<until)[[NSRunLoop mainRunLoop]runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:.005]];
|
||||
NSData *latest=[graph valueForKey:@"histogram"];
|
||||
run.record(@"histogram-open-inspector-refreshes-after-a-new-output-at-the-same-time",latest.length==sizeof(DYHistogram)&&![latest isEqual:data]&&[latest isEqual:[renderer canvasHistogramAtTime:kCMTimeZero]]);
|
||||
const auto *latestBins=latest.length==sizeof(DYHistogram)?(const DYHistogram*)latest.bytes:nullptr;
|
||||
run.record(@"histogram-inspector-and-canvas-use-rec709-video-bins-for-linear-output",latestBins&&latestBins->rec709VideoLevels&&latestBins->samples==57600&&latestBins->bins[1][125]==57600&&latestBins->bins[2][160]==57600&&latestBins->bins[3][197]==57600);
|
||||
NSInteger previous=DYThemeIndex();DYSetThemeIndex(8);
|
||||
run.record(@"relief-only-two-choices-and-no-text-glow",DYThemeNames().count==2&&DYThemeTextShadow()==nil&&![DYThemePalette()[@"background"]isEqual:DYThemePalette()[@"backgroundEnd"]]);
|
||||
DYSetThemeIndex(previous);
|
||||
|
||||
+70
-15
@@ -39,6 +39,7 @@
|
||||
BOOL _duplicate;
|
||||
@public
|
||||
int _undoStarts,_undoEnds;BOOL _undoActive;
|
||||
NSUInteger _assetWrites;
|
||||
}
|
||||
@end
|
||||
@interface DYInspector (DiagnosticActions)
|
||||
@@ -53,7 +54,7 @@
|
||||
@protocol DYSpiderProbe
|
||||
@property(nonatomic,copy) NSData *meshData;
|
||||
@property(nonatomic,retain) NSMutableIndexSet *selection,*pinned;
|
||||
@property(nonatomic,copy) void(^changed)(DYGrade,NSData*);
|
||||
@property(nonatomic,copy) void(^changed)(NSData*);
|
||||
@property(nonatomic,copy) void(^gesture)(BOOL);
|
||||
@property(nonatomic,readonly) NSInteger hueCount,saturationCount;
|
||||
- (void)changeHueCount:(int)hues saturationCount:(int)saturation;
|
||||
@@ -98,7 +99,7 @@
|
||||
id stored=_custom[@(pid)];if(!stored)return NO;if(value)*value=stored;return YES;
|
||||
}
|
||||
- (BOOL)setCustomParameterValue:(NSObject<NSSecureCoding,NSCopying> *)value toParameter:(UInt32)pid atTime:(CMTime)time {
|
||||
if(!_custom[@(pid)]||!value)return NO;_custom[@(pid)]=[[value copy]autorelease];return YES;
|
||||
if(!_custom[@(pid)]||!value)return NO;_custom[@(pid)]=[[value copy]autorelease];if(pid==DYAssetsParameterID)++_assetWrites;return YES;
|
||||
}
|
||||
@end
|
||||
#include "DYWorkspaceDiagnosticHost.inc.h"
|
||||
@@ -119,8 +120,9 @@
|
||||
@implementation DYDiagnosticTile
|
||||
- (instancetype)initWithDevice:(id<MTLDevice>)device width:(NSUInteger)width height:(NSUInteger)height {
|
||||
if((self=[super init])) {
|
||||
size_t bytesPerRow=IOSurfaceAlignProperty(kIOSurfaceBytesPerRow,width*8);
|
||||
NSDictionary *properties=@{(id)kIOSurfaceWidth:@(width),(id)kIOSurfaceHeight:@(height),
|
||||
(id)kIOSurfaceBytesPerElement:@8,(id)kIOSurfaceBytesPerRow:@(width*8),
|
||||
(id)kIOSurfaceBytesPerElement:@8,(id)kIOSurfaceBytesPerRow:@(bytesPerRow),
|
||||
(id)kIOSurfacePixelFormat:@(kCVPixelFormatType_64RGBAHalf)};
|
||||
_surface=IOSurfaceCreate((CFDictionaryRef)properties);
|
||||
MTLTextureDescriptor *d=[MTLTextureDescriptor texture2DDescriptorWithPixelFormat:MTLPixelFormatRGBA16Float width:width height:height mipmapped:NO];
|
||||
@@ -339,6 +341,34 @@ extern "C" int DYRunDiagnostics(void) { @autoreleasepool {
|
||||
starts=uiHost->_undoStarts;ends=uiHost->_undoEnds;dragNode(2,18,8);DYAssetState *spiderSaved=DYReadAssets(uiHost,kCMTimeZero);auto dragged=DYSpiderMesh(spiderSaved.spiderMesh);
|
||||
run.record(@"spider-single-drag-spoke-following-and-pin",dragged.x[0]>initialMesh.x[0]&&dragged.x[1]>initialMesh.x[1]&&dragged.x[3]>initialMesh.x[3]&&dragged.x[4]==initialMesh.x[4]&&dragged.x[5]==initialMesh.x[5]&&dragged.pins[2]);
|
||||
run.record(@"spider-drag-one-host-undo-group",uiHost->_undoStarts==starts+1&&uiHost->_undoEnds==ends+1&&!uiHost->_undoActive);
|
||||
{
|
||||
NSData *beforeBurst=spiderSaved.spiderMesh;
|
||||
NSUInteger writesBeforeBurst=uiHost->_assetWrites;
|
||||
NSPoint burstStart=[disc point:2];
|
||||
[disc mouseDown:mouseFor(disc,NSEventTypeLeftMouseDown,burstStart)];
|
||||
for(int step=1;step<=120;step++)
|
||||
[disc mouseDragged:mouseFor(disc,NSEventTypeLeftMouseDragged,NSMakePoint(burstStart.x+step*.1,burstStart.y+step*.05))];
|
||||
run.record(@"spider-draft-follows-input-before-host-write",![beforeBurst isEqual:disc.meshData]&&uiHost->_assetWrites==writesBeforeBurst);
|
||||
NSData *lastDraft=disc.meshData;
|
||||
[disc mouseUp:mouseFor(disc,NSEventTypeLeftMouseUp,NSMakePoint(burstStart.x+12,burstStart.y+6))];
|
||||
run.record(@"spider-burst-coalesces-to-last-host-value",uiHost->_assetWrites==writesBeforeBurst+1&&[lastDraft isEqual:DYReadAssets(uiHost,kCMTimeZero).spiderMesh]);
|
||||
burstStart=[disc point:2];
|
||||
[disc mouseDown:mouseFor(disc,NSEventTypeLeftMouseDown,burstStart)];
|
||||
NSPoint nextPoint=NSMakePoint(burstStart.x+9,burstStart.y+3);
|
||||
[disc mouseDragged:mouseFor(disc,NSEventTypeLeftMouseDragged,nextPoint)];
|
||||
NSDate *spiderDeadline=[NSDate dateWithTimeIntervalSinceNow:.2];
|
||||
while(uiHost->_assetWrites==writesBeforeBurst+1&&[spiderDeadline timeIntervalSinceNow]>0)
|
||||
[[NSRunLoop currentRunLoop]runMode:NSDefaultRunLoopMode beforeDate:spiderDeadline];
|
||||
run.record(@"spider-paused-drag-writes-live-before-release",uiHost->_assetWrites==writesBeforeBurst+2&&[disc.meshData isEqual:DYReadAssets(uiHost,kCMTimeZero).spiderMesh]);
|
||||
DYAssetState *external=[[DYReadAssets(uiHost,kCMTimeZero)copy]autorelease];
|
||||
auto externalMesh=dy::neutralMesh(6,6);
|
||||
external.spiderMesh=[NSData dataWithBytes:&externalMesh length:sizeof(externalMesh)];
|
||||
DYWriteAssets(uiHost,external,kCMTimeZero);
|
||||
[disc mouseDragged:mouseFor(disc,NSEventTypeLeftMouseDragged,NSMakePoint(nextPoint.x+8,nextPoint.y+3))];
|
||||
[disc mouseUp:mouseFor(disc,NSEventTypeLeftMouseUp,NSMakePoint(nextPoint.x+8,nextPoint.y+3))];
|
||||
run.record(@"spider-deferred-write-preserves-external-edit",[external.spiderMesh isEqual:DYReadAssets(uiHost,kCMTimeZero).spiderMesh]&&!uiHost->_undoActive);
|
||||
DYWriteAssets(uiHost,spiderSaved,kCMTimeZero);[inspector refresh];
|
||||
}
|
||||
error=nil;NSData *spiderArchive=[NSKeyedArchiver archivedDataWithRootObject:spiderSaved requiringSecureCoding:YES error:&error];DYAssetState *decodedSpider=[NSKeyedUnarchiver unarchivedObjectOfClass:DYAssetState.class fromData:spiderArchive error:&error];run.record(@"spider-archive-retains-mesh-pins-and-lut-paths",decodedSpider&&[decodedSpider isEqual:spiderSaved],@{@"error":reason(error)});
|
||||
NSDictionary *snapshot=[inspector performSelector:@selector(presetSnapshot)];NSData *presetJSON=[NSJSONSerialization dataWithJSONObject:snapshot options:0 error:&error];NSDictionary *decodedPreset=[NSJSONSerialization JSONObjectWithData:presetJSON options:0 error:&error];run.record(@"complete-version-seven-preset-includes-mesh",[decodedPreset[@"version"]isEqual:@7]&&[DYSpiderFromJSON(decodedPreset[@"spider"])isEqual:spiderSaved.spiderMesh]);
|
||||
NSDictionary *portable=DYSpiderJSON(spiderSaved.spiderMesh,spiderSaved.spiderLinked);NSData *decodedPortable=DYSpiderFromJSON(portable);run.record(@"spider-json-preset-exact-roundtrip",[decodedPortable isEqual:spiderSaved.spiderMesh]);
|
||||
@@ -409,22 +439,47 @@ extern "C" int DYRunDiagnostics(void) { @autoreleasepool {
|
||||
DYRenderer *orientationRenderer=[[[DYRenderer alloc]init]autorelease];
|
||||
[[source metalTextureForDevice:gpu]replaceRegion:MTLRegionMake2D(0,0,width,height) mipmapLevel:0 withBytes:marker.data() bytesPerRow:width*8];
|
||||
error=nil;BOOL topRendered=[orientationRenderer renderSource:source destination:destination uniforms:defaults paths:@{} error:&error];
|
||||
NSData *topAnalysis=[orientationRenderer preview],*topLook=[orientationRenderer lookLUTPreview];
|
||||
bool topOrientation=topRendered&&topLook.length==320*180*16&&[topLook isEqualToData:topAnalysis];
|
||||
if(topOrientation){const float*p=(const float*)topLook.bytes;topOrientation=p[0]>p[2]&&p[(179*320)*4+2]>p[(179*320)*4];}
|
||||
run.record(@"look-preview-top-left-is-original-analysis",topOrientation,@{@"error":topRendered?@"":reason(error),@"bytes":@(topLook.length)});
|
||||
NSData *topAnalysis=[orientationRenderer preview];
|
||||
NSDictionary *topFrames=[orientationRenderer lookLUTPreviewFrames];
|
||||
NSData *topLook=topFrames[@"standard"];
|
||||
NSSize standardSize=[topFrames[@"standardSize"] sizeValue];
|
||||
bool topOrientation=topRendered&&NSEqualSizes(standardSize,NSMakeSize(320,240))&&topLook.length==320*240*16;
|
||||
if(topOrientation){const float*p=(const float*)topLook.bytes;topOrientation=p[0]>p[2]&&p[(239*320)*4+2]>p[(239*320)*4];}
|
||||
run.record(@"look-preview-standard-4-by-3-top-first",topOrientation,@{@"error":topRendered?@"":reason(error),@"size":NSStringFromSize(standardSize)});
|
||||
[orientationRenderer invalidatePreview];[source setDiagnosticImageOrigin:kFxImageOrigin_BOTTOM_LEFT];
|
||||
[[source metalTextureForDevice:gpu]replaceRegion:MTLRegionMake2D(0,0,width,height) mipmapLevel:0 withBytes:bottomFirst.data() bytesPerRow:width*8];
|
||||
error=nil;BOOL bottomRendered=[orientationRenderer renderSource:source destination:destination uniforms:defaults paths:@{} error:&error];
|
||||
NSData *bottomAnalysis=[orientationRenderer preview],*bottomLook=[orientationRenderer lookLUTPreview];
|
||||
bool bottomOrientation=bottomRendered&&bottomAnalysis.length==320*180*16&&bottomLook.length==bottomAnalysis.length;
|
||||
if(bottomOrientation){
|
||||
const float*a=(const float*)bottomAnalysis.bytes,*b=(const float*)bottomLook.bytes;
|
||||
bottomOrientation=a[2]>a[0]&&a[(179*320)*4]>a[(179*320)*4+2]&&b[0]>b[2]&&b[(179*320)*4+2]>b[(179*320)*4];
|
||||
for(NSUInteger y=0;y<180&&bottomOrientation;y++)bottomOrientation=memcmp((const uint8_t*)bottomLook.bytes+y*320*16,(const uint8_t*)bottomAnalysis.bytes+(179-y)*320*16,320*16)==0;
|
||||
NSData *bottomAnalysis=[orientationRenderer preview];
|
||||
NSDictionary *bottomFrames=[orientationRenderer lookLUTPreviewFrames];
|
||||
NSData *bottomLook=bottomFrames[@"standard"];
|
||||
bool bottomOrientation=bottomRendered&&bottomAnalysis.length==320*180*16&&topAnalysis.length==bottomAnalysis.length&&[bottomLook isEqualToData:topLook];
|
||||
for(NSUInteger y=0;y<180&&bottomOrientation;y++)
|
||||
bottomOrientation=memcmp((const uint8_t*)topAnalysis.bytes+y*320*16,(const uint8_t*)bottomAnalysis.bytes+(179-y)*320*16,320*16)==0;
|
||||
run.record(@"look-preview-bottom-left-flips-only-browser-rows",bottomOrientation,@{@"error":bottomRendered?@"":reason(error)});
|
||||
NSData *high=bottomFrames[@"high"];
|
||||
NSSize highSize=[bottomFrames[@"highSize"] sizeValue];
|
||||
bool highOrientation=NSEqualSizes(highSize,NSMakeSize(640,480))&&high.length==640*480*16;
|
||||
if(highOrientation){
|
||||
const float *p=static_cast<const float*>(high.bytes);
|
||||
const size_t bottom=(480-1)*640*4;
|
||||
highOrientation=p[0]>p[2]&&p[bottom+2]>p[bottom];
|
||||
}
|
||||
run.record(@"look-preview-high-4-by-3-top-first",highOrientation,@{@"size":NSStringFromSize(highSize)});
|
||||
[orientationRenderer invalidatePreview];
|
||||
run.record(@"preview-invalidation-clears-analysis-and-browser",![orientationRenderer preview]&&![[orientationRenderer lookLUTPreviewFrames] count]);
|
||||
const NSUInteger frameSizes[][4]={{64,36,320,180},{36,64,180,320},{64,64,320,320},{84,36,320,137}};
|
||||
for(const auto& size:frameSizes){
|
||||
DYDiagnosticTile *frame=[[[DYDiagnosticTile alloc]initWithDevice:gpu width:size[0] height:size[1]]autorelease];
|
||||
DYDiagnosticTile *output=[[[DYDiagnosticTile alloc]initWithDevice:gpu width:size[0] height:size[1]]autorelease];
|
||||
error=nil;BOOL rendered=[orientationRenderer renderSource:frame destination:output uniforms:defaults paths:@{} error:&error];
|
||||
NSDictionary *frames=[orientationRenderer lookLUTPreviewFrames];
|
||||
NSSize standard=[frames[@"standardSize"] sizeValue],hd=[frames[@"highSize"] sizeValue];
|
||||
BOOL valid=rendered&&NSEqualSizes(standard,NSMakeSize(size[2],size[3]))
|
||||
&&labs((long)hd.width-2*(long)size[2])<=1&&labs((long)hd.height-2*(long)size[3])<=1
|
||||
&&[frames[@"standard"] length]==standard.width*standard.height*16
|
||||
&&[frames[@"high"] length]==hd.width*hd.height*16;
|
||||
run.record([NSString stringWithFormat:@"look-preview-tracks-frame-%lux%lu",(unsigned long)size[0],(unsigned long)size[1]],valid,@{@"standard":NSStringFromSize(standard),@"high":NSStringFromSize(hd),@"error":reason(error)});
|
||||
}
|
||||
run.record(@"look-preview-bottom-left-flips-only-browser-rows",bottomOrientation,@{@"error":bottomRendered?@"":reason(error),@"analysisKeepsPhysicalRowOrder":@(bottomOrientation),@"all180RowsCompared":@(bottomOrientation)});
|
||||
[orientationRenderer invalidatePreview];run.record(@"preview-invalidation-clears-analysis-and-browser",![orientationRenderer preview]&&![orientationRenderer lookLUTPreview]);
|
||||
[source setDiagnosticImageOrigin:kFxImageOrigin_TOP_LEFT];
|
||||
[[source metalTextureForDevice:gpu]replaceRegion:MTLRegionMake2D(0,0,width,height) mipmapLevel:0 withBytes:input.data() bytesPerRow:width*8];
|
||||
DYUniforms cstExport=defaults;cstExport.cm.configured=1;cstExport.cm.exposure=.7f;
|
||||
|
||||
@@ -56,6 +56,6 @@
|
||||
if(source.imageOrigin==kFxImageOrigin_BOTTOM_LEFT)u.lensCenterY=1-u.lensCenterY;
|
||||
id<MTLDevice>d=entry[@"device"];id<MTLTexture>before=[source metalTextureForDevice:d],output=[destination metalTextureForDevice:d];
|
||||
id<MTLComputePipelineState> pipeline=[self computePipeline:@"dyLensRepair" entry:entry error:error];if(!pipeline)return NO;
|
||||
id<MTLCommandBuffer>cb=[entry[@"queue"]commandBuffer];id<MTLComputeCommandEncoder>ce=[cb computeCommandEncoder];[ce setComputePipelineState:pipeline];[ce setTexture:before atIndex:0];[ce setTexture:output atIndex:1];[ce setBytes:&u length:sizeof(u) atIndex:0];float aspect=before.width*source.pixelAspect/MAX(1.,(double)before.height);[ce setBytes:&aspect length:sizeof(aspect) atIndex:1];[ce dispatchThreads:MTLSizeMake(output.width,output.height,1)threadsPerThreadgroup:MTLSizeMake(16,16,1)];[ce endEncoding];[cb commit];[cb waitUntilCompleted];if(cb.status!=MTLCommandBufferStatusCompleted)return fail(error,cb.error.localizedDescription);
|
||||
if(!masks.count)return YES;MTLTextureDescriptor *desc=[MTLTextureDescriptor texture2DDescriptorWithPixelFormat:output.pixelFormat width:output.width height:output.height mipmapped:NO];desc.storageMode=MTLStorageModePrivate;desc.usage=MTLTextureUsageShaderRead|MTLTextureUsageShaderWrite|MTLTextureUsageRenderTarget;id<MTLTexture>blend=[d newTextureWithDescriptor:desc];if(!blend)return fail(error,@"无法分配修复蒙版");DYToolMaskHeader h{};h.section=(int)[DYToolTypes()indexOfObject:@"lens"];id<MTLBuffer>buffer=[self maskBuffer:@{@"lens":masks}tile:source device:d header:&h];cb=[entry[@"queue"]commandBuffer];if(![self encodeBlend:before after:output output:blend masks:buffer header:h entry:entry commands:cb error:error]){[blend release];return NO;}[cb commit];[cb waitUntilCompleted];DYExportTile *tile=[[DYExportTile alloc]initWithTexture:blend registry:d.registryID];[tile setBounds:destination.tilePixelBounds origin:destination.imageOrigin];[tile setPixelAspect:destination.pixelAspect];BOOL ok=cb.status==MTLCommandBufferStatusCompleted&&[self copyTile:tile to:destination entry:entry error:error];[tile release];[blend release];return ok;
|
||||
id<MTLCommandBuffer>cb=[entry[@"queue"]commandBuffer];id<MTLComputeCommandEncoder>ce=[cb computeCommandEncoder];if(!ce||!before||!output)return fail(error,@"无法创建修复镜头编码器");[ce setComputePipelineState:pipeline];[ce setTexture:before atIndex:0];[ce setTexture:output atIndex:1];[ce setBytes:&u length:sizeof(u) atIndex:0];float aspect=before.width*source.pixelAspect/MAX(1.,(double)before.height);[ce setBytes:&aspect length:sizeof(aspect) atIndex:1];[ce dispatchThreads:MTLSizeMake(output.width,output.height,1)threadsPerThreadgroup:MTLSizeMake(16,16,1)];[ce endEncoding];
|
||||
if(!masks.count)return [self completeCommands:cb destination:destination texture:output entry:entry]?YES:fail(error,cb.error.localizedDescription);MTLTextureDescriptor *desc=[MTLTextureDescriptor texture2DDescriptorWithPixelFormat:output.pixelFormat width:output.width height:output.height mipmapped:NO];desc.storageMode=MTLStorageModePrivate;desc.usage=MTLTextureUsageShaderRead|MTLTextureUsageShaderWrite|MTLTextureUsageRenderTarget;id<MTLTexture>blend=[d newTextureWithDescriptor:desc];if(!blend)return fail(error,@"无法分配修复蒙版");DYToolMaskHeader h{};h.section=(int)[DYToolTypes()indexOfObject:@"lens"];id<MTLBuffer>buffer=[self maskBuffer:@{@"lens":masks}tile:source device:d header:&h];if(![self encodeBlend:before after:output output:blend masks:buffer header:h entry:entry commands:cb error:error]){[blend release];return NO;}DYExportTile *tile=[[DYExportTile alloc]initWithTexture:blend registry:d.registryID];[tile setBounds:destination.tilePixelBounds origin:destination.imageOrigin];[tile setPixelAspect:destination.pixelAspect];BOOL ok=[self copyTile:tile to:destination rotation:0 entry:entry commands:cb error:error];[tile release];[blend release];return ok;
|
||||
}
|
||||
+94
-21
@@ -105,7 +105,8 @@ inline float dyToolMaskHSLWeight(float3 source,thread const DYMaskParameters& p)
|
||||
if(p.flags&DYMaskLightnessEnabled)weight*=dyToolMaskRangeWeight(hsl.z,p.lightnessRange);
|
||||
return weight;
|
||||
}
|
||||
inline float dyToolMaskShapeWeight(float x,float y,thread const DYMaskParameters& p,device const DYMaskPath& path){
|
||||
inline float dyToolMaskShapeWeight(float x,float y,thread const DYMaskParameters& p,device const DYMaskPath& path,
|
||||
float4 pathBounds=float4(-INFINITY,-INFINITY,INFINITY,INFINITY)){
|
||||
float dx=(x-p.centerX)*p.imageAspect,dy=y-p.centerY,ca=cos(p.angle),sa=sin(p.angle);
|
||||
float px=dx*ca+dy*sa,py=-dx*sa+dy*ca;
|
||||
if(p.kind==DYMaskLinearGradient){
|
||||
@@ -117,7 +118,9 @@ inline float dyToolMaskShapeWeight(float x,float y,thread const DYMaskParameters
|
||||
float shorter=physicalWidth<physicalHeight?physicalWidth:physicalHeight;
|
||||
if(p.kind==DYMaskRectangle){float ax=px<0?-px:px,ay=py<0?-py:py,a=physicalWidth*.5f-ax,b=physicalHeight*.5f-ay;if(p.version==2&&(p.flags&DYMaskFeatherOutsideFlag)){if(p.feather==0)return a>=0&&b>=0?1:0;return dyToolMaskSoftStep(-p.feather*.5f*shorter,0,a<b?a:b);}if(a<0||b<0)return 0;if(p.feather==0)return 1;return dyToolMaskSoftStep(0,p.feather*.5f,(a<b?a:b)/shorter);}
|
||||
if(path.count<3||path.count>256)return 0;
|
||||
float u=px/physicalWidth,v=py/physicalHeight,sx=physicalWidth/shorter,sy=physicalHeight/shorter,distance2=1e10f;bool inside=false;
|
||||
float u=px/physicalWidth,v=py/physicalHeight;
|
||||
if(u<pathBounds.x||v<pathBounds.y||u>pathBounds.z||v>pathBounds.w)return 0;
|
||||
float sx=physicalWidth/shorter,sy=physicalHeight/shorter,distance2=1e10f;bool inside=false;
|
||||
for(int i=0,j=path.count-1;i<path.count;j=i++){
|
||||
float ax=path.x[j],ay=path.y[j],bx=path.x[i],by=path.y[i];if((ay>v)!=(by>v))if(u<(bx-ax)*(v-ay)/(by-ay)+ax)inside=!inside;
|
||||
float ex=(bx-ax)*sx,ey=(by-ay)*sy,xx=(u-ax)*sx,yy=(v-ay)*sy,den=ex*ex+ey*ey,t=den>1e-12f?dyClamp((xx*ex+yy*ey)/den,0,1):0;
|
||||
@@ -309,21 +312,37 @@ kernel void dyScopeSample(texture2d<float,access::read> source [[texture(0)]],
|
||||
|
||||
// Native auto-grade statistics consume the input-converted RGB8 preview.
|
||||
// Quantization before and after the LUT mirrors the reference NSImage path.
|
||||
inline float4 dyInputPreviewPixel(texture2d<half> source, texture3d<float> inputLUT,
|
||||
float inputStrength, float2 uv, bool quantize) {
|
||||
constexpr sampler f(coord::normalized,address::clamp_to_edge,filter::linear);
|
||||
half4 sample=source.sample(f,uv);
|
||||
float3 linear=float3(sample.rgb);
|
||||
float3 power=1.055f*pow(max(linear,float3(0)),float3(1.0f/2.4f))-.055f;
|
||||
float3 encoded=clamp(select(power,linear*12.92f,linear<=.0031308f),0.0f,1.0f);
|
||||
if(quantize)encoded=round(encoded*255.0f)/255.0f;
|
||||
float strength=clamp(inputStrength,0.0f,1.0f);
|
||||
if(strength>0.0f){float n=float(inputLUT.get_width());float3 coord=encoded*((n-1.0f)/n)+.5f/n;encoded=mix(encoded,inputLUT.sample(f,coord).rgb,strength);}
|
||||
encoded=clamp(encoded,0.0f,1.0f);
|
||||
if(quantize)encoded=round(encoded*255.0f)/255.0f;
|
||||
return float4(encoded,float(sample.a));
|
||||
}
|
||||
kernel void dyInputAnalysis(texture2d<half> source [[texture(0)]],
|
||||
texture3d<float> inputLUT [[texture(1)]],
|
||||
device float4* outRGBA [[buffer(0)]],
|
||||
constant float& inputStrength [[buffer(1)]],
|
||||
uint2 pixel [[thread_position_in_grid]]) {
|
||||
if (pixel.x >= 320 || pixel.y >= 180) return;
|
||||
constexpr sampler f(coord::normalized,address::clamp_to_edge,filter::linear);
|
||||
half4 sample=source.sample(f,(float2(pixel)+.5f)/float2(320,180));
|
||||
float3 linear=float3(sample.rgb);
|
||||
float3 power=1.055f*pow(max(linear,float3(0)),float3(1.0f/2.4f))-.055f;
|
||||
float3 encoded=round(clamp(select(power,linear*12.92f,linear<=.0031308f),0.0f,1.0f)*255.0f)/255.0f;
|
||||
float strength=clamp(inputStrength,0.0f,1.0f);
|
||||
if(strength>0.0f){float n=float(inputLUT.get_width());float3 coord=encoded*((n-1.0f)/n)+.5f/n;encoded=mix(encoded,inputLUT.sample(f,coord).rgb,strength);}
|
||||
encoded=round(clamp(encoded,0.0f,1.0f)*255.0f)/255.0f;
|
||||
outRGBA[pixel.y*320+pixel.x]=float4(encoded,float(sample.a));
|
||||
outRGBA[pixel.y*320+pixel.x]=dyInputPreviewPixel(source,inputLUT,inputStrength,(float2(pixel)+.5f)/float2(320,180),true);
|
||||
}
|
||||
|
||||
kernel void dyInputLookPreview(texture2d<half> source [[texture(0)]],
|
||||
texture3d<float> inputLUT [[texture(1)]], device float4* outRGBA [[buffer(0)]],
|
||||
constant float& inputStrength [[buffer(1)]],constant uint4& geometry [[buffer(2)]],
|
||||
uint2 pixel [[thread_position_in_grid]]) {
|
||||
uint2 size=geometry.xy;
|
||||
if(any(pixel>=size))return;
|
||||
uint2 sample=uint2(pixel.x,geometry.z?size.y-1-pixel.y:pixel.y);
|
||||
outRGBA[pixel.y*size.x+pixel.x]=dyInputPreviewPixel(source,inputLUT,inputStrength,(float2(sample)+.5f)/float2(size),geometry.w!=0);
|
||||
}
|
||||
|
||||
// CST/BASIS arithmetic is reused verbatim from the versioned dayu-cst source.
|
||||
@@ -353,7 +372,13 @@ kernel void dyColorManagement(texture2d<float,access::read> source [[texture(0)]
|
||||
|
||||
// Premultiplication is preserved by mixing the two equally-alpha images.
|
||||
kernel void dyToolBlend(texture2d<float,access::read> before [[texture(0)]],texture2d<float,access::read> after [[texture(1)]],texture2d<half,access::write> output [[texture(2)]],device const DYToolMaskEntry* masks [[buffer(0)]],constant DYToolMaskHeader& h [[buffer(1)]],uint2 pos [[thread_position_in_grid]]){
|
||||
if(pos.x>=output.get_width()||pos.y>=output.get_height())return;float4 a=before.read(pos),b=after.read(pos);float2 uv=(float2(pos)+.5f)/float2(output.get_width(),output.get_height());float amount=dyToolCoverage(uv,dyToolEncode(a.a>0?(h.premultiplied?a.rgb/a.a:a.rgb):float3(0)),masks,h,h.section);output.write(half4(h.skinPreview?float4(b.rgb*amount,a.a):mix(a,b,amount)),pos);
|
||||
if(pos.x>=output.get_width()||pos.y>=output.get_height())return;
|
||||
float4 a=before.read(pos),b=after.read(pos);
|
||||
float2 uv=(float2(pos)+.5f)/float2(output.get_width(),output.get_height());
|
||||
float3 keyColor=float3(0);
|
||||
if(h.keySources&&a.a>0)keyColor=dyToolEncode(h.premultiplied?a.rgb/a.a:a.rgb);
|
||||
float amount=dyToolCoverage(uv,keyColor,masks,h,h.section);
|
||||
output.write(half4(h.skinPreview?float4(b.rgb*amount,a.a):mix(a,b,amount)),pos);
|
||||
}
|
||||
extern "C" float dy_skinWeight(float3 color,float3 reference,constant DYUniforms& uniforms);
|
||||
extern "C" float3 dy_skinExtra(float3 color,float3 reference,constant DYUniforms& uniforms);
|
||||
@@ -426,9 +451,35 @@ kernel void dyCloneStamps(texture2d<float,access::read> input [[texture(0)]],
|
||||
// Block-centre sampling is stable in image coordinates and never feeds back.
|
||||
kernel void dyLocalMosaic(texture2d<float,access::read> input [[texture(0)]],texture2d<float,access::write> output [[texture(1)]],device const DYToolMaskEntry* masks [[buffer(0)]],constant DYToolMaskHeader& h [[buffer(1)]],constant uint& block [[buffer(2)]],uint2 p [[thread_position_in_grid]]) {
|
||||
uint2 size=uint2(output.get_width(),output.get_height());if(any(p>=size))return;
|
||||
float4 original=input.read(p);float2 uv=(float2(p)+.5f)/float2(size);float3 code=dyToolEncode(original.a>0?original.rgb/original.a:float3(0));float coverage=0;
|
||||
if(h.section==-102){float x=h.offsetX+uv.x*h.scaleX,y=h.offsetY+uv.y*h.scaleY;for(uint i=0;i<h.count;i++)if(masks[i].section==-102)coverage=max(coverage,dyToolMask(x,y,code,masks[i].mask));}
|
||||
else if(h.count)coverage=dyToolCoverage(uv,code,masks,h,h.section);
|
||||
float4 original=input.read(p);
|
||||
float2 uv=(float2(p)+.5f)/float2(size);
|
||||
float x=h.offsetX+uv.x*h.scaleX,y=h.offsetY+uv.y*h.scaleY;
|
||||
float coverage=0;
|
||||
if(h.section==-102){
|
||||
for(uint i=0;i<h.count;i++){
|
||||
device const auto &entry=masks[i];
|
||||
if(entry.section==-102&&x>=entry.minX&&x<=entry.maxX&&y>=entry.minY&&y<=entry.maxY)
|
||||
coverage=max(coverage,dyToolMask(x,y,float3(0),entry.mask));
|
||||
}
|
||||
}else{
|
||||
bool found=false,encoded=false;
|
||||
float3 code=0;
|
||||
for(uint i=0;i<h.count;i++){
|
||||
device const auto &entry=masks[i];
|
||||
if(entry.section!=h.section)continue;
|
||||
DYMaskParameters parameters=entry.mask.parameters;
|
||||
if(!encoded&¶meters.kind>=DYMaskHSLKey){
|
||||
code=dyToolEncode(original.a>0?original.rgb/original.a:float3(0));
|
||||
encoded=true;
|
||||
}
|
||||
// Apply levels and inversion even when the path has no geometric coverage.
|
||||
float amount=parameters.kind==DYMaskBezier
|
||||
?dyToolMaskLevels(dyToolMaskShapeWeight(x,y,parameters,entry.mask.path,float4(entry.minX,entry.minY,entry.maxX,entry.maxY)),parameters)
|
||||
:dyToolMaskOperator(x,y,code,parameters,entry.mask.path);
|
||||
coverage=found?1-(1-coverage)*(1-amount):amount;
|
||||
found=true;
|
||||
}
|
||||
}
|
||||
if(coverage<=0){output.write(original,p);return;}
|
||||
uint2 q=min((p/block)*block+block/2,size-1);float4 sample=input.read(q);
|
||||
// Preserve the pixel's original alpha and prevent transparent samples turning
|
||||
@@ -450,12 +501,34 @@ kernel void dyUnifiedBridgeOut(texture2d<float,access::read> raw [[texture(0)]],
|
||||
|
||||
struct DYUnifiedMix {CSTParams toLinear,fromLinear,originalTo709;float amount;};
|
||||
kernel void dyUnifiedBlend(texture2d<float,access::read> before [[texture(0)]],texture2d<float,access::read> after [[texture(1)]],texture2d<float,access::write> output [[texture(2)]],texture2d<float,access::read> original [[texture(3)]],device const DYToolMaskEntry* masks [[buffer(0)]],constant DYToolMaskHeader& h [[buffer(1)]],constant DYUnifiedMix& p [[buffer(2)]],uint2 xy [[thread_position_in_grid]]){
|
||||
if(any(xy>=uint2(output.get_width(),output.get_height())))return;float4 a=before.read(xy),b=after.read(xy),o=original.read(xy);if(!(a.a>0)||!(b.a>0)){output.write(a,xy);return;}
|
||||
float3 ac=cst_float_air(float4(a.rgb/a.a,1),p.toLinear).rgb,bc=cst_float_air(float4(b.rgb/b.a,1),p.toLinear).rgb;
|
||||
float3 code=dyToolEncode(cst_float_air(float4(ac,1),dyPrimaryAP1To709).rgb),source=o.a>0?dyToolEncode(cst_float_air(float4(o.rgb/o.a,1),p.originalTo709).rgb):float3(0);
|
||||
float2 uv=(float2(xy)+.5f)/float2(output.get_width(),output.get_height());float x=h.offsetX+uv.x*h.scaleX,y=h.offsetY+uv.y*h.scaleY;float coverage=1;bool found=false;
|
||||
for(uint i=0;i<h.count;i++)if(masks[i].section==h.section){float w=dyToolMask(x,y,masks[i].mask.parameters.sourceStage==DYMaskSourceOriginal?source:code,masks[i].mask);if(!found){coverage=masks[i].combine==1?1-w:w;found=true;}else if(masks[i].combine==1)coverage*=1-w;else if(masks[i].combine==2)coverage*=w;else coverage=1-(1-coverage)*(1-w);}
|
||||
float w=coverage*p.amount;if(w<=0){output.write(a,xy);return;}if(w>=1){output.write(b,xy);return;}output.write(float4(cst_float_air(float4(mix(ac,bc,w),1),p.fromLinear).rgb*a.a,a.a),xy);
|
||||
if(any(xy>=uint2(output.get_width(),output.get_height())))return;
|
||||
float4 a=before.read(xy),b=after.read(xy);
|
||||
if(!(a.a>0)||!(b.a>0)){output.write(a,xy);return;}
|
||||
float3 ac=0,code=0,source=0;
|
||||
if(h.keySources&DYToolMaskLayerKey){
|
||||
ac=cst_float_air(float4(a.rgb/a.a,1),p.toLinear).rgb;
|
||||
code=dyToolEncode(cst_float_air(float4(ac,1),dyPrimaryAP1To709).rgb);
|
||||
}
|
||||
if(h.keySources&DYToolMaskOriginalKey){
|
||||
float4 o=original.read(xy);
|
||||
if(o.a>0)source=dyToolEncode(cst_float_air(float4(o.rgb/o.a,1),p.originalTo709).rgb);
|
||||
}
|
||||
float2 uv=(float2(xy)+.5f)/float2(output.get_width(),output.get_height());
|
||||
float x=h.offsetX+uv.x*h.scaleX,y=h.offsetY+uv.y*h.scaleY;
|
||||
float coverage=1;bool found=false;
|
||||
for(uint i=0;i<h.count;i++)if(masks[i].section==h.section){
|
||||
float weight=dyToolMask(x,y,masks[i].mask.parameters.sourceStage==DYMaskSourceOriginal?source:code,masks[i].mask);
|
||||
if(!found){coverage=masks[i].combine==1?1-weight:weight;found=true;}
|
||||
else if(masks[i].combine==1)coverage*=1-weight;
|
||||
else if(masks[i].combine==2)coverage*=weight;
|
||||
else coverage=1-(1-coverage)*(1-weight);
|
||||
}
|
||||
float w=coverage*p.amount;
|
||||
if(w<=0){output.write(a,xy);return;}
|
||||
if(w>=1){output.write(b,xy);return;}
|
||||
if(!(h.keySources&DYToolMaskLayerKey))ac=cst_float_air(float4(a.rgb/a.a,1),p.toLinear).rgb;
|
||||
float3 bc=cst_float_air(float4(b.rgb/b.a,1),p.toLinear).rgb;
|
||||
output.write(float4(cst_float_air(float4(mix(ac,bc,w),1),p.fromLinear).rgb*a.a,a.a),xy);
|
||||
}
|
||||
kernel void dyUnifiedExposure(texture2d<float,access::read> a [[texture(0)]],texture2d<float,access::write> b [[texture(1)]],constant float& gain [[buffer(0)]],uint2 p [[thread_position_in_grid]]){
|
||||
if(any(p>=uint2(b.get_width(),b.get_height())))return;float4 c=a.read(p);if(c.a>0)c.rgb*=gain;b.write(c,p);
|
||||
|
||||
+10
-5
@@ -3,22 +3,27 @@
|
||||
#include <cmath>
|
||||
#include <cstdint>
|
||||
|
||||
// Immutable renderer-owned snapshot. Channel 0 uses Rec.709 weights in the
|
||||
// supplied RGB domain.
|
||||
// Immutable renderer-owned snapshot. Channel 0 uses Rec.709 weights after
|
||||
// any signal encoding, as luma is weighted from R′G′B′.
|
||||
struct DYHistogram {
|
||||
uint32_t bins[4][256]{};
|
||||
uint32_t samples=0;
|
||||
uint32_t rec709VideoLevels=0;
|
||||
};
|
||||
static inline NSData *DYHistogramFromRGBA(NSData *rgba, bool premultiplied=false) {
|
||||
static inline NSData *DYHistogramFromRGBA(NSData *rgba, bool premultiplied=false, bool encodeRec709=false) {
|
||||
DYHistogram h;
|
||||
if(rgba.length%sizeof(float[4]))return nil;
|
||||
h.rec709VideoLevels=encodeRec709;
|
||||
const float *p=(const float *)rgba.bytes;
|
||||
auto bin=[](double v){return (int)std::lround(std::fmax(0.,std::fmin(1.,v))*255.);};
|
||||
auto rec709=[](double linear){return linear<.018?4.5*linear:1.099*std::pow(linear,.45)-.099;};
|
||||
for(NSUInteger i=0;i<rgba.length/sizeof(float[4]);i++,p+=4){
|
||||
if(!std::isfinite(p[0])||!std::isfinite(p[1])||!std::isfinite(p[2])||!std::isfinite(p[3])||p[3]<=(premultiplied?1e-6f:0))continue;
|
||||
double alpha=premultiplied?p[3]:1.;
|
||||
h.bins[0][bin((.2126*p[0]+.7152*p[1]+.0722*p[2])/alpha)]++;
|
||||
for(int c=0;c<3;c++)h.bins[c+1][bin(p[c]/alpha)]++;
|
||||
double rgb[]={p[0]/alpha,p[1]/alpha,p[2]/alpha};
|
||||
if(encodeRec709)for(double &component:rgb)component=rec709(component);
|
||||
h.bins[0][bin(.2126*rgb[0]+.7152*rgb[1]+.0722*rgb[2])]++;
|
||||
for(int c=0;c<3;c++)h.bins[c+1][bin(rgb[c])]++;
|
||||
h.samples++;
|
||||
}
|
||||
return [NSData dataWithBytes:&h length:sizeof(h)];
|
||||
|
||||
+168
-27
@@ -233,6 +233,7 @@ static NSArray *DYPresentationSections(BOOL cstOnly,BOOL splitOutput) {
|
||||
@protocol DYGraphicDelegate <NSObject>
|
||||
- (void)writeGraphicValues:(NSDictionary *)values;
|
||||
- (void)writeSpiderMesh:(NSData *)mesh linked:(BOOL)linked;
|
||||
- (void)spiderGesture:(BOOL)begin;
|
||||
- (void)graphicGesture:(BOOL)begin title:(NSString *)title;
|
||||
@end
|
||||
|
||||
@@ -258,7 +259,7 @@ static NSArray *DYPresentationSections(BOOL cstOnly,BOOL splitOutput) {
|
||||
_values=[@{} copy];
|
||||
_channels=[[NSSegmentedControl segmentedControlWithLabels:@[@"RGB",@"红",@"绿",@"蓝"] trackingMode:NSSegmentSwitchTrackingSelectOne target:self action:@selector(channelChanged:)] retain];
|
||||
_channels.selectedSegment=0; _channels.controlSize=NSControlSizeSmall; [self addSubview:_channels];
|
||||
_histogramToggle=[[NSButton checkboxWithTitle:@"直方图" target:self action:@selector(histogramToggled:)]retain];_histogramToggle.state=NSControlStateValueOn;_histogramToggle.font=[NSFont systemFontOfSize:10];_histogramToggle.accessibilityLabel=@"显示曲线直方图叠层";_histogramToggle.toolTip=@"亮度与 RGB,256 档、320×180 采样。来自当前效果的输出,曲线调整后随画面刷新。";[self addSubview:_histogramToggle];
|
||||
_histogramToggle=[[NSButton checkboxWithTitle:@"直方图" target:self action:@selector(histogramToggled:)]retain];_histogramToggle.state=NSControlStateValueOn;_histogramToggle.font=[NSFont systemFontOfSize:10];_histogramToggle.accessibilityLabel=@"显示曲线直方图叠层";_histogramToggle.toolTip=@"统计当前效果输出的亮度与 RGB。线性 Rec.709 按视频电平显示。256 档、320×180 采样。";[self addSubview:_histogramToggle];
|
||||
self.accessibilityLabel=@"曲线点编辑器";self.toolTip=@"点击添加点;拖动调整;双击、右键或按住 Option 点击已有点可删除";
|
||||
}
|
||||
return self;
|
||||
@@ -268,7 +269,15 @@ static NSArray *DYPresentationSections(BOOL cstOnly,BOOL splitOutput) {
|
||||
- (void)setValues:(NSDictionary *)values { [_values release];_values=[values copy];[self setNeedsDisplay:YES]; }
|
||||
- (void)layout { [super layout];_channels.frame=NSMakeRect(12,4,MAX(100,self.bounds.size.width-112),24);_histogramToggle.frame=NSMakeRect(self.bounds.size.width-88,5,80,22); }
|
||||
- (void)setFixedWorkspaceChannel:(NSInteger)channel {_fixedWorkspaceChannel=YES;_channel=channel;_channels.hidden=YES;_histogramToggle.hidden=YES;}
|
||||
- (void)setHistogram:(NSData *)histogram {if(_histogram==histogram)return;[_histogram release];_histogram=[histogram copy];const DYHistogram *h=_histogram.length==sizeof(DYHistogram)?(const DYHistogram*)_histogram.bytes:nullptr;_histogramToggle.accessibilityValueDescription=h&&h->samples?[NSString stringWithFormat:@"效果输出,%u 个有效采样",h->samples]:@"等待画面;请移动播放头";[self setNeedsDisplay:YES];}
|
||||
- (void)setHistogram:(NSData *)histogram {
|
||||
if(_histogram==histogram)return;
|
||||
[_histogram release];_histogram=[histogram copy];
|
||||
const DYHistogram *h=_histogram.length==sizeof(DYHistogram)?(const DYHistogram*)_histogram.bytes:nullptr;
|
||||
_histogramToggle.accessibilityValueDescription=h&&h->samples
|
||||
?[NSString stringWithFormat:@"%@,%u 个有效采样",h->rec709VideoLevels?@"Rec.709 视频电平":@"效果输出",h->samples]
|
||||
:@"等待画面;请移动播放头";
|
||||
[self setNeedsDisplay:YES];
|
||||
}
|
||||
- (void)histogramToggled:(id)sender {[self setNeedsDisplay:YES];}
|
||||
- (void)channelChanged:(NSSegmentedControl *)sender { _channel=sender.selectedSegment;[self setNeedsDisplay:YES]; }
|
||||
- (NSRect)plotRect {if(_fixedWorkspaceChannel){CGFloat side=MAX(50,MIN(self.bounds.size.width-16,self.bounds.size.height-42));return NSMakeRect((self.bounds.size.width-side)/2,MAX(8,(self.bounds.size.height-side-34)/2),side,side);}return NSMakeRect(16,37,MAX(50,self.bounds.size.width-32),MAX(50,self.bounds.size.height-76));}
|
||||
@@ -425,19 +434,28 @@ static NSImage *DYWheelImage(void) {
|
||||
- (void)sendHue:(double)hue saturation:(double)sat {
|
||||
[self setHue:hue saturation:sat];[self.delegate writeGraphicValues:@{[NSString stringWithFormat:@"grade%ld_0",(long)_index]:@(hue),[NSString stringWithFormat:@"grade%ld_1",(long)_index]:@(sat)}];
|
||||
}
|
||||
- (void)mouseDown:(NSEvent *)event {
|
||||
- (void)finishGesture {
|
||||
if(!_dragging)return;
|
||||
_dragging=NO;
|
||||
[self.delegate graphicGesture:NO title:nil];
|
||||
}
|
||||
- (void)viewWillMoveToWindow:(NSWindow *)window {
|
||||
if(!window)[self finishGesture];
|
||||
[super viewWillMoveToWindow:window];
|
||||
}
|
||||
- (void)mouseDown:(NSEvent *)event {
|
||||
[self finishGesture];
|
||||
NSPoint p=[self convertPoint:event.locationInWindow fromView:nil];NSRect r=[self wheelRect];
|
||||
if(hypot(p.x-NSMidX(r),p.y-NSMidY(r))>r.size.width*.5)return;
|
||||
if(event.clickCount==2){[self sendHue:0 saturation:0];return;}
|
||||
_dragging=YES;[self updateAt:p];
|
||||
_dragging=YES;[self.delegate graphicGesture:YES title:@"调整颜色分级"];[self updateAt:p];
|
||||
}
|
||||
- (void)updateAt:(NSPoint)p {
|
||||
NSRect r=[self wheelRect];double dx=p.x-NSMidX(r),dy=NSMidY(r)-p.y,h=atan2(dy,dx)*180/M_PI;if(h<0)h+=360;
|
||||
[self sendHue:h saturation:fmin(100,hypot(dx,dy)/(r.size.width*.5)*100)];
|
||||
}
|
||||
- (void)mouseDragged:(NSEvent *)event {if(_dragging)[self updateAt:[self convertPoint:event.locationInWindow fromView:nil]];}
|
||||
- (void)mouseUp:(NSEvent *)event {if(_dragging)[self updateAt:[self convertPoint:event.locationInWindow fromView:nil]];_dragging=NO;}
|
||||
- (void)mouseUp:(NSEvent *)event {if(_dragging)[self updateAt:[self convertPoint:event.locationInWindow fromView:nil]];[self finishGesture];}
|
||||
@end
|
||||
|
||||
@interface DYWheelPanel : DYFlippedView {
|
||||
@@ -486,9 +504,14 @@ NSView<DYWorkspaceMaskEditing> *DYCreateWorkspaceMaskEditor(id<PROAPIAccessing>
|
||||
NSMutableDictionary *_tabs;
|
||||
NSInteger _visibleLooks;
|
||||
NSButton *_colorSettings;BOOL _colorSettingsExpanded;
|
||||
BOOL _refreshing,_graphicUndoOpen,_graphicCancelled;CMTime _graphicTime;NSMutableDictionary *_graphicExpected;
|
||||
BOOL _refreshing,_graphicUndoOpen,_graphicCancelled,_tearingDown;
|
||||
CMTime _graphicTime;
|
||||
NSMutableDictionary *_graphicExpected,*_graphicPending;
|
||||
BOOL _embedded,_workspaceEditor,_unified,_measuringDefaultHeight;NSArray *_renderOrder;NSMutableDictionary *_stackViews;NSArray *_stackOrder;NSDictionary *_stackRoots;CGFloat _stackHeight,_preferredHeight,_maximumViewportHeight;
|
||||
DYSpiderPanel *_spiderPanel;
|
||||
BOOL _spiderEditing,_spiderUndoOpen,_spiderConflict;
|
||||
CMTime _spiderTime;
|
||||
DYAssetState *_spiderExpected;
|
||||
NSMutableDictionary *_assetLoads,*_assetLoadIDs;
|
||||
NSUInteger _nextAssetLoadID;
|
||||
NSProgress *_menuScan;
|
||||
@@ -587,15 +610,15 @@ NSView<DYWorkspaceMaskEditing> *DYCreateWorkspaceMaskEditor(id<PROAPIAccessing>
|
||||
DYBetaSpanEnd(beta,nil);return self;
|
||||
}
|
||||
- (void)dealloc {
|
||||
[self graphicGesture:NO title:nil];_spiderPanel.delegate=nil;[_workspace close];[_workspace release];[_workspaceButton release];[_workspaceSelectedNode release];
|
||||
for(id graphic in _graphics)if([graphic isKindOfClass:DYPrimaryBalanceWheel.class])[(DYPrimaryBalanceWheel*)graphic setDelegate:nil];
|
||||
_tearingDown=YES;[self graphicGesture:NO title:nil];_spiderPanel.delegate=nil;[self spiderGesture:NO];[_workspace close];[_workspace release];[_workspaceButton release];[_workspaceSelectedNode release];
|
||||
for(id graphic in _graphics)[graphic setDelegate:nil];
|
||||
for(NSProgress *p in _assetLoads.allValues)[p cancel];[_assetLoads release];[_assetLoadIDs release];[_menuScan cancel];[_menuScan release];[_pendingAssetMenuCommand release];
|
||||
[[NSNotificationCenter defaultCenter] removeObserver:self];[NSWorkspace.sharedWorkspace.notificationCenter removeObserver:self];
|
||||
if(_embedded)[(id)_manager release];[_stackViews release];[_stackOrder release];[_stackRoots release];[_renderOrder release];
|
||||
[_brand release]; [_subtitle release]; [_websiteLink release]; [_resetAll release]; [_save release]; [_load release]; [_export release];[_colorSettings release];[_addModule release];
|
||||
[_mosaicButton release];[_managedPanel release];[_scroll release]; [_document release]; [_sections release]; [_cards release]; [_controls release]; [_assetButtons release]; [_graphics release]; [_sampler release];
|
||||
[_recentBrowser close];[_recentBrowser release];[_recentHost release];
|
||||
[_browser close];[_browser release];[_renderer release];[_library release];[_themeButtons release];[_tabs release];[_graphicExpected release];
|
||||
[_browser close];[_browser release];[_renderer release];[_library release];[_themeButtons release];[_tabs release];[_graphicExpected release];[_graphicPending release];
|
||||
[super dealloc];
|
||||
}
|
||||
- (BOOL)isFlipped { return YES; }
|
||||
@@ -609,7 +632,7 @@ NSView<DYWorkspaceMaskEditing> *DYCreateWorkspaceMaskEditor(id<PROAPIAccessing>
|
||||
- (NSSize)intrinsicContentSize { return NSMakeSize(360,_preferredHeight); }
|
||||
- (void)viewDidMoveToWindow {
|
||||
[super viewDidMoveToWindow];
|
||||
if(!self.window){[self graphicGesture:NO title:nil];[self cancelAssetLoads];[_workspace close];}
|
||||
if(!self.window){[_spiderPanel finishGesture];[self graphicGesture:NO title:nil];[self cancelAssetLoads];[_workspace close];}
|
||||
if(self.window) {
|
||||
[self refresh];
|
||||
NSAccessibilityPostNotification(self,NSAccessibilityLayoutChangedNotification);
|
||||
@@ -675,7 +698,14 @@ NSView<DYWorkspaceMaskEditing> *DYCreateWorkspaceMaskEditor(id<PROAPIAccessing>
|
||||
[(DYCurvePanel *)graphic setHistogram:histogram];
|
||||
}
|
||||
}
|
||||
- (void)previewChanged:(NSNotification *)note {[_managedPanel refreshContext];if(_browser.visible)[_browser updatePreview:[_renderer lookLUTPreview]];if(_recentBrowser.visible)[_recentBrowser updatePreview:[_renderer lookLUTPreview]];}
|
||||
- (void)previewChanged:(NSNotification *)note {
|
||||
[_managedPanel refreshContext];
|
||||
if(_browser.visible||_recentBrowser.visible){
|
||||
NSDictionary *frames=[_renderer lookLUTPreviewFrames];
|
||||
if(_browser.visible)[_browser updatePreview:frames];
|
||||
if(_recentBrowser.visible)[_recentBrowser updatePreview:frames];
|
||||
}
|
||||
}
|
||||
- (void)buildCards {
|
||||
NSInteger index=0;
|
||||
for(NSDictionary *section in _sections) {
|
||||
@@ -791,7 +821,7 @@ NSView<DYWorkspaceMaskEditing> *DYCreateWorkspaceMaskEditor(id<PROAPIAccessing>
|
||||
if(_workspaceEditor){
|
||||
_recentHost=[[DYFlippedView alloc]initWithFrame:NSMakeRect(12,80,600,160)];_recentHost.identifier=@"recentLUTs";[card addSubview:_recentHost];
|
||||
__block DYInspector *owner=self;
|
||||
_recentBrowser=[[DYLUTBrowser alloc]initWithLibrary:_library preview:[_renderer lookLUTPreview] selectedPath:nil palette:DYThemePalette() selection:^NSProgress *(NSString *path,void (^completion)(NSError *)){return [owner setAssetPath:path forKey:@"look0" completion:completion];}];
|
||||
_recentBrowser=[[DYLUTBrowser alloc]initWithLibrary:_library preview:[_renderer lookLUTPreviewFrames] selectedPath:nil palette:DYThemePalette() selection:^NSProgress *(NSString *path,void (^completion)(NSError *)){return [owner setAssetPath:path forKey:@"look0" completion:completion];}];
|
||||
[_recentBrowser embedRecentInView:_recentHost];
|
||||
}
|
||||
}
|
||||
@@ -971,7 +1001,7 @@ NSView<DYWorkspaceMaskEditing> *DYCreateWorkspaceMaskEditor(id<PROAPIAccessing>
|
||||
return (roots==1&&[only isEqual:key])||[@[@"primary",@"base",@"spider"]containsObject:key];
|
||||
}
|
||||
- (void)refresh {
|
||||
if(_refreshing||!_manager)return;
|
||||
if(_refreshing||_spiderEditing||_graphicUndoOpen||_tearingDown||!_manager)return;
|
||||
id<FxCustomParameterActionAPI_v4> action=[self actionAPI]; if(!action)return;
|
||||
_refreshing=YES;
|
||||
uint64_t beta=DYBetaSpanBegin(@"inspector_refresh",nil);
|
||||
@@ -1110,26 +1140,137 @@ NSView<DYWorkspaceMaskEditing> *DYCreateWorkspaceMaskEditor(id<PROAPIAccessing>
|
||||
[self postChanged];
|
||||
}
|
||||
- (void)writeGraphicValues:(NSDictionary *)values {
|
||||
NSMutableDictionary *byKey=[NSMutableDictionary dictionary];for(NSDictionary *d in DYDescriptors())byKey[d[@"key"]]=d;
|
||||
if(!_graphicUndoOpen){[self commitGraphicValues:values];return;}
|
||||
if(_graphicCancelled||!values.count)return;
|
||||
if(!_graphicPending)_graphicPending=[NSMutableDictionary new];
|
||||
BOOL schedule=_graphicPending.count==0;
|
||||
[_graphicPending addEntriesFromDictionary:values];
|
||||
if(schedule)[self performSelector:@selector(flushGraphicValues) withObject:nil afterDelay:1.0/60.0
|
||||
inModes:@[NSRunLoopCommonModes,NSEventTrackingRunLoopMode]];
|
||||
}
|
||||
- (void)flushGraphicValues {
|
||||
if(!_graphicPending.count)return;
|
||||
NSDictionary *values=[[_graphicPending copy]autorelease];
|
||||
[_graphicPending removeAllObjects];
|
||||
[self commitGraphicValues:values];
|
||||
}
|
||||
- (void)commitGraphicValues:(NSDictionary *)values {
|
||||
static NSDictionary *byKey;
|
||||
static dispatch_once_t once;
|
||||
dispatch_once(&once,^{
|
||||
NSMutableDictionary *map=[NSMutableDictionary dictionary];
|
||||
for(NSDictionary *descriptor in DYDescriptors())map[descriptor[@"key"]]=descriptor;
|
||||
byKey=[map copy];
|
||||
});
|
||||
id<FxCustomParameterActionAPI_v4> action=[self actionAPI];if(!action)return;
|
||||
[action startAction:self];
|
||||
@try {
|
||||
CMTime t=action.currentTime;id<FxParameterSettingAPI_v6> set=[_manager apiForProtocol:@protocol(FxParameterSettingAPI_v6)];
|
||||
if(_graphicUndoOpen){if(_graphicCancelled||CMTimeCompare(t,_graphicTime)!=0){_graphicCancelled=YES;return;}id<FxParameterRetrievalAPI_v6>get=[_manager apiForProtocol:@protocol(FxParameterRetrievalAPI_v6)];for(NSString*key in values){NSDictionary*d=byKey[key];double actual=NAN;if(d&&_graphicExpected[key]&&(![get getFloatValue:&actual fromParameter:[d[@"pid"]unsignedIntValue]atTime:t]||!std::isfinite(actual)||fabs(actual-[_graphicExpected[key]doubleValue])>1e-6*MAX(1.,fabs(actual)))){_graphicCancelled=YES;return;}}}
|
||||
BOOL primaryEdit=NO;for(NSString *key in values) {NSDictionary *d=byKey[key];primaryEdit|=[key hasPrefix:@"cm"];double v=[values[key] doubleValue];if(!d||!std::isfinite(v))continue;v=fmax([d[@"min"]doubleValue],fmin([d[@"max"]doubleValue],v));[set setFloatValue:v toParameter:[d[@"pid"]unsignedIntValue] atTime:t];}
|
||||
if(_graphicUndoOpen)for(NSString*key in values)_graphicExpected[key]=values[key];
|
||||
if(primaryEdit){[set setFloatValue:1 toParameter:2236 atTime:t];[self clearPrimaryBypasses:set time:t];}
|
||||
CMTime time=action.currentTime;
|
||||
id<FxParameterSettingAPI_v6> set=[_manager apiForProtocol:@protocol(FxParameterSettingAPI_v6)];
|
||||
if(_graphicUndoOpen){
|
||||
if(_graphicCancelled||CMTimeCompare(time,_graphicTime)!=0){_graphicCancelled=YES;return;}
|
||||
id<FxParameterRetrievalAPI_v6> get=[_manager apiForProtocol:@protocol(FxParameterRetrievalAPI_v6)];
|
||||
for(NSString *key in values){
|
||||
NSDictionary *descriptor=byKey[key];double actual=NAN;
|
||||
NSNumber *expected=_graphicExpected[key];
|
||||
if(descriptor&&expected&&(![get getFloatValue:&actual fromParameter:[descriptor[@"pid"]unsignedIntValue] atTime:time]||
|
||||
!std::isfinite(actual)||fabs(actual-expected.doubleValue)>1e-6*MAX(1.,fabs(actual)))){
|
||||
_graphicCancelled=YES;return;
|
||||
}
|
||||
}
|
||||
}
|
||||
BOOL primaryEdit=NO;
|
||||
for(NSString *key in values){
|
||||
NSDictionary *descriptor=byKey[key];double v=[values[key]doubleValue];
|
||||
if(!descriptor||!std::isfinite(v))continue;
|
||||
primaryEdit|=[key hasPrefix:@"cm"];
|
||||
v=fmax([descriptor[@"min"]doubleValue],fmin([descriptor[@"max"]doubleValue],v));
|
||||
if(_graphicUndoOpen&&_graphicExpected[key]&&[_graphicExpected[key]doubleValue]==v)continue;
|
||||
if([set setFloatValue:v toParameter:[descriptor[@"pid"]unsignedIntValue] atTime:time]&&_graphicUndoOpen)
|
||||
_graphicExpected[key]=@(v);
|
||||
}
|
||||
if(primaryEdit){[set setFloatValue:1 toParameter:2236 atTime:time];[self clearPrimaryBypasses:set time:time];}
|
||||
} @finally {[action endAction:self];}
|
||||
[self postChanged];
|
||||
if(!_graphicUndoOpen&&!_tearingDown)[self postChanged];
|
||||
}
|
||||
- (void)clearPrimaryBypasses:(id<FxParameterSettingAPI_v6>)set time:(CMTime)t{for(NSDictionary *d in DYDescriptors())if([d[@"key"]hasPrefix:@"cmbypass"])[set setFloatValue:0 toParameter:[d[@"pid"]unsignedIntValue] atTime:t];}
|
||||
- (void)graphicGesture:(BOOL)begin title:(NSString *)title{
|
||||
if(begin==_graphicUndoOpen)return;id<FxCustomParameterActionAPI_v4>a=[self actionAPI];if(!a)return;[a startAction:self];
|
||||
@try{id<FxUndoAPI>undo=[_manager apiForProtocol:@protocol(FxUndoAPI)];if(begin){_graphicTime=a.currentTime;_graphicCancelled=NO;[_graphicExpected release];_graphicExpected=[NSMutableDictionary new];id<FxParameterRetrievalAPI_v6>get=[_manager apiForProtocol:@protocol(FxParameterRetrievalAPI_v6)];for(NSDictionary*r in _controls.allValues){NSDictionary*d=r[@"descriptor"];double value=NAN;if([get getFloatValue:&value fromParameter:[d[@"pid"]unsignedIntValue]atTime:_graphicTime]&&std::isfinite(value))_graphicExpected[d[@"key"]]=@(value);}_graphicUndoOpen=[undo startUndoGroup:title?:@"调整颜色"];}else{[undo endUndoGroup];_graphicUndoOpen=NO;_graphicCancelled=NO;[_graphicExpected removeAllObjects];}}@finally{[a endAction:self];}
|
||||
- (void)graphicGesture:(BOOL)begin title:(NSString *)title {
|
||||
if(begin==_graphicUndoOpen)return;
|
||||
id<FxCustomParameterActionAPI_v4> action=[self actionAPI];if(!action)return;
|
||||
if(!begin){
|
||||
[NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(flushGraphicValues) object:nil];
|
||||
[self flushGraphicValues];
|
||||
}
|
||||
[action startAction:self];
|
||||
@try{
|
||||
id<FxUndoAPI> undo=[_manager apiForProtocol:@protocol(FxUndoAPI)];
|
||||
if(begin){
|
||||
_graphicTime=action.currentTime;_graphicCancelled=NO;
|
||||
[_graphicExpected release];_graphicExpected=[NSMutableDictionary new];
|
||||
id<FxParameterRetrievalAPI_v6> get=[_manager apiForProtocol:@protocol(FxParameterRetrievalAPI_v6)];
|
||||
for(NSDictionary *record in _controls.allValues){
|
||||
NSDictionary *descriptor=record[@"descriptor"];double value=NAN;
|
||||
if([get getFloatValue:&value fromParameter:[descriptor[@"pid"]unsignedIntValue] atTime:_graphicTime]&&std::isfinite(value))
|
||||
_graphicExpected[descriptor[@"key"]]=@(value);
|
||||
}
|
||||
_graphicUndoOpen=[undo startUndoGroup:title?:@"调整颜色"];
|
||||
}else{
|
||||
[undo endUndoGroup];_graphicUndoOpen=_graphicCancelled=NO;
|
||||
[_graphicExpected removeAllObjects];
|
||||
}
|
||||
}@finally{[action endAction:self];}
|
||||
if(!begin&&!_tearingDown)[self postChanged];
|
||||
}
|
||||
- (void)writeSpiderMesh:(NSData *)mesh linked:(BOOL)linked{
|
||||
if(mesh.length&&!DYSpiderMeshIsValid(mesh))return;id<FxCustomParameterActionAPI_v4>a=[self actionAPI];if(!a)return;[a startAction:self];
|
||||
@try{DYAssetState *state=[[DYReadAssets(_manager,a.currentTime)copy]autorelease];state.spiderMesh=mesh;state.spiderLinked=linked;DYWriteAssets(_manager,state,a.currentTime);}@finally{[a endAction:self];}[self postChanged];
|
||||
- (void)spiderGesture:(BOOL)begin {
|
||||
if(begin==_spiderEditing)return;
|
||||
id<FxCustomParameterActionAPI_v4> action=[self actionAPI];
|
||||
if(begin){
|
||||
_spiderEditing=YES;
|
||||
_spiderConflict=!action;
|
||||
if(!action)return;
|
||||
[action startAction:self];
|
||||
@try{
|
||||
_spiderTime=action.currentTime;
|
||||
_spiderExpected=[DYReadAssets(_manager,_spiderTime) retain];
|
||||
_spiderUndoOpen=[[_manager apiForProtocol:@protocol(FxUndoAPI)] startUndoGroup:@"调整蜘蛛盘"];
|
||||
}@finally{[action endAction:self];}
|
||||
return;
|
||||
}
|
||||
if(_spiderUndoOpen){
|
||||
[action startAction:self];
|
||||
@try{[[_manager apiForProtocol:@protocol(FxUndoAPI)] endUndoGroup];}
|
||||
@finally{[action endAction:self];}
|
||||
}
|
||||
_spiderEditing=_spiderUndoOpen=NO;
|
||||
[_spiderExpected release];_spiderExpected=nil;
|
||||
if(_spiderPanel.delegate)[self postChanged];
|
||||
}
|
||||
- (void)writeSpiderMesh:(NSData *)mesh linked:(BOOL)linked {
|
||||
if((mesh.length&&!DYSpiderMeshIsValid(mesh))||(_spiderEditing&&_spiderConflict))return;
|
||||
id<FxCustomParameterActionAPI_v4> action=[self actionAPI];
|
||||
if(!action)return;
|
||||
BOOL written=NO;
|
||||
[action startAction:self];
|
||||
@try{
|
||||
CMTime time=action.currentTime;
|
||||
if(_spiderEditing&&(!CMTIME_IS_NUMERIC(time)||!CMTIME_IS_NUMERIC(_spiderTime)||CMTimeCompare(time,_spiderTime)!=0)){
|
||||
_spiderConflict=YES;return;
|
||||
}
|
||||
DYAssetState *old=DYReadAssets(_manager,time);
|
||||
if(_spiderEditing&&(![old.spiderMesh?:[NSData data] isEqual:_spiderExpected.spiderMesh?:[NSData data]]||old.spiderLinked!=_spiderExpected.spiderLinked)){
|
||||
_spiderConflict=YES;return;
|
||||
}
|
||||
if([old.spiderMesh?:[NSData data] isEqual:mesh?:[NSData data]]&&old.spiderLinked==linked)return;
|
||||
DYAssetState *state=[[old copy]autorelease];
|
||||
state.spiderMesh=mesh;
|
||||
state.spiderLinked=linked;
|
||||
written=DYWriteAssets(_manager,state,time);
|
||||
if(_spiderEditing){
|
||||
_spiderConflict=!written;
|
||||
if(written){[_spiderExpected release];_spiderExpected=[state retain];}
|
||||
}
|
||||
}@finally{[action endAction:self];}
|
||||
if(written&&!_spiderEditing)[self postChanged];
|
||||
}
|
||||
- (void)setSectionEnabled:(BOOL)enabled atIndex:(NSInteger)index {
|
||||
if(index<0||index>=_cards.count)return;
|
||||
@@ -1257,7 +1398,7 @@ NSView<DYWorkspaceMaskEditing> *DYCreateWorkspaceMaskEditor(id<PROAPIAccessing>
|
||||
[_browser close];[_browser release];_browser=nil;
|
||||
id<FxCustomParameterActionAPI_v4> a=[self actionAPI];if(!a)return;[a startAction:self];NSString *selected=nil;@try{selected=[DYReadAssets(_manager,a.currentTime).paths[sender.identifier]copy];}@finally{[a endAction:self];}
|
||||
__block DYInspector *owner=self;NSString *key=[[sender.identifier copy]autorelease];
|
||||
_browser=[[DYLUTBrowser alloc]initWithLibrary:_library preview:[_renderer lookLUTPreview] selectedPath:selected palette:DYThemePalette() selection:^NSProgress *(NSString *path,void (^completion)(NSError *)){return [owner setAssetPath:path forKey:key completion:completion];}];[selected release];
|
||||
_browser=[[DYLUTBrowser alloc]initWithLibrary:_library preview:[_renderer lookLUTPreviewFrames] selectedPath:selected palette:DYThemePalette() selection:^NSProgress *(NSString *path,void (^completion)(NSError *)){return [owner setAssetPath:path forKey:key completion:completion];}];[selected release];
|
||||
// Remote-window APIs must be acquired and invoked inside the custom
|
||||
// parameter action, while the SDK's API permissions are still installed.
|
||||
[a startAction:self];
|
||||
|
||||
@@ -11,7 +11,7 @@ typedef NSProgress * (^DYLUTSelectionHandler)(NSString *path,void (^completion)(
|
||||
+ (NSSize)maximumContentSize;
|
||||
+ (NSSize)preferredContentSize;
|
||||
- (instancetype)initWithLibrary:(DYLUTLibrary *)library
|
||||
preview:(NSData *)rgba
|
||||
preview:(NSDictionary *)frames
|
||||
selectedPath:(NSString *)path
|
||||
palette:(NSDictionary *)palette
|
||||
selection:(DYLUTSelectionHandler)selection;
|
||||
@@ -28,6 +28,6 @@ typedef NSProgress * (^DYLUTSelectionHandler)(NSString *path,void (^completion)(
|
||||
- (void)refreshRecentSelection:(NSString *)path;
|
||||
- (void)updatePalette:(NSDictionary *)palette;
|
||||
/// Replace the source frame after the renderer captures a new playhead image.
|
||||
/// Passing identical bytes keeps the current thumbnail jobs and cache intact.
|
||||
- (void)updatePreview:(NSData *)rgba;
|
||||
/// Empty snapshots and identical images keep the current browser bitmaps.
|
||||
- (void)updatePreview:(NSDictionary *)frames;
|
||||
@end
|
||||
+243
-67
@@ -1,6 +1,7 @@
|
||||
#import "DYLUTBrowser.h"
|
||||
#import "DYLUTLibrary.h"
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
|
||||
static NSColor *DYBrowserColor(NSDictionary *palette, NSString *key) {
|
||||
@@ -13,6 +14,7 @@ static NSColor *DYBrowserColor(NSDictionary *palette, NSString *key) {
|
||||
return [NSColor colorWithWhite:.12 alpha:1];
|
||||
}
|
||||
|
||||
static NSString *const DYBrowserHDPreference=@"com.dayu.color.lookLUTPreview.highResolution";
|
||||
static NSString *const DYBrowserSizePreference=@"com.dayu.color.lookLUTPreview.thumbnailSize";
|
||||
static NSString *const DYBrowserFolderPreference=@"com.dayu.color.lookLUTPreview.selectedFolder";
|
||||
static NSString *const DYBrowserFramePreference=@"com.dayu.color.lookLUTPreview.windowFrame";
|
||||
@@ -74,8 +76,19 @@ static void DYBrowserGeometrySample(NSView *root,NSString *phase){
|
||||
- (void)dealloc{[_palette release];[_fillKey release];[super dealloc];}
|
||||
@end
|
||||
|
||||
static NSSize DYBrowserFitSize(NSSize source,NSSize box) {
|
||||
CGFloat scale=MIN(box.width/source.width,box.height/source.height);
|
||||
return NSMakeSize(source.width*scale,source.height*scale);
|
||||
}
|
||||
|
||||
static NSRect DYBrowserTileImageRect(NSRect bounds,BOOL list) {
|
||||
return list?NSMakeRect(3,3,104,MAX(1,NSHeight(bounds)-6))
|
||||
:NSMakeRect(2,2,MAX(1,NSWidth(bounds)-4),MAX(1,NSHeight(bounds)-27));
|
||||
}
|
||||
|
||||
@interface DYBrowserTile : NSButton
|
||||
@property(retain) NSImage *thumbnail;
|
||||
@property NSUInteger previewGeneration;
|
||||
@property(copy) NSString *displayName;
|
||||
@property(copy) NSString *failure;
|
||||
@property(copy) NSDictionary *palette;
|
||||
@@ -98,12 +111,12 @@ static void DYBrowserGeometrySample(NSView *root,NSString *phase){
|
||||
NSRect bounds=NSInsetRect(self.bounds,1,1);
|
||||
NSBezierPath *outline=[NSBezierPath bezierPathWithRoundedRect:bounds xRadius:7 yRadius:7];
|
||||
[DYBrowserColor(_palette,_chosen?@"field":@"card") setFill];[outline fill];
|
||||
NSRect imageRect=_listLayout?NSMakeRect(3,3,104,bounds.size.height-4):NSMakeRect(2,2,MAX(1,bounds.size.width-2),MAX(1,bounds.size.height-25));
|
||||
NSRect imageRect=DYBrowserTileImageRect(self.bounds,_listLayout);
|
||||
if(_thumbnail){
|
||||
[NSGraphicsContext saveGraphicsState];
|
||||
[[NSBezierPath bezierPathWithRoundedRect:imageRect xRadius:4 yRadius:4]addClip];
|
||||
NSSize size=_thumbnail.size;CGFloat scale=MAX(imageRect.size.width/MAX(1,size.width),imageRect.size.height/MAX(1,size.height));
|
||||
NSRect dest=NSMakeRect(NSMidX(imageRect)-size.width*scale/2,NSMidY(imageRect)-size.height*scale/2,size.width*scale,size.height*scale);
|
||||
NSSize size=DYBrowserFitSize(_thumbnail.size,imageRect.size);
|
||||
NSRect dest=NSMakeRect(NSMidX(imageRect)-size.width/2,NSMidY(imageRect)-size.height/2,size.width,size.height);
|
||||
[_thumbnail drawInRect:dest fromRect:NSZeroRect operation:NSCompositingOperationSourceOver fraction:1 respectFlipped:YES hints:nil];
|
||||
[NSGraphicsContext restoreGraphicsState];
|
||||
}else{
|
||||
@@ -134,6 +147,61 @@ static void DYBrowserGeometrySample(NSView *root,NSString *phase){
|
||||
}
|
||||
@end
|
||||
|
||||
@interface DYBrowserCompareView : NSView
|
||||
@property(nonatomic) CGFloat position;
|
||||
@property(nonatomic,assign) NSSlider *slider;
|
||||
- (void)setOriginal:(NSImage *)original styled:(NSImage *)styled;
|
||||
@end
|
||||
|
||||
@implementation DYBrowserCompareView {
|
||||
NSImage *_original,*_styled;
|
||||
}
|
||||
- (BOOL)isFlipped{return YES;}
|
||||
- (void)dealloc{[_original release];[_styled release];[super dealloc];}
|
||||
- (void)setOriginal:(NSImage *)original styled:(NSImage *)styled{
|
||||
if(_original==original&&_styled==styled)return;
|
||||
if(_original!=original){[_original release];_original=[original retain];}
|
||||
if(_styled!=styled){[_styled release];_styled=[styled retain];}
|
||||
[self setNeedsDisplay:YES];
|
||||
}
|
||||
- (void)setPosition:(CGFloat)position{
|
||||
_position=std::clamp(position,(CGFloat)0,(CGFloat)1);
|
||||
self.slider.doubleValue=_position;
|
||||
[self setNeedsDisplay:YES];
|
||||
}
|
||||
- (NSRect)pictureRect{
|
||||
if(!_original)return self.bounds;
|
||||
CGFloat scale=MIN(NSWidth(self.bounds)/_original.size.width,NSHeight(self.bounds)/_original.size.height);
|
||||
NSSize size=NSMakeSize(_original.size.width*scale,_original.size.height*scale);
|
||||
return NSMakeRect(NSMidX(self.bounds)-size.width*.5,NSMidY(self.bounds)-size.height*.5,size.width,size.height);
|
||||
}
|
||||
- (void)moveDivider:(NSEvent *)event{
|
||||
if(!_styled||!self.slider.enabled)return;
|
||||
NSRect picture=[self pictureRect];
|
||||
if(NSWidth(picture)>0)self.position=([self convertPoint:event.locationInWindow fromView:nil].x-NSMinX(picture))/NSWidth(picture);
|
||||
}
|
||||
- (void)mouseDown:(NSEvent *)event{[self moveDivider:event];}
|
||||
- (void)mouseDragged:(NSEvent *)event{[self moveDivider:event];}
|
||||
- (void)drawRect:(NSRect)dirty{
|
||||
[NSColor.blackColor setFill];NSRectFill(NSIntersectionRect(dirty,self.bounds));
|
||||
if(!_original)return;
|
||||
NSRect picture=[self pictureRect];
|
||||
[_original drawInRect:picture fromRect:NSZeroRect operation:NSCompositingOperationSourceOver fraction:1 respectFlipped:YES hints:nil];
|
||||
if(!_styled||!self.slider.enabled)return;
|
||||
CGFloat divider=NSMinX(picture)+NSWidth(picture)*_position;
|
||||
[NSGraphicsContext saveGraphicsState];
|
||||
NSRect styledArea=NSMakeRect(divider,NSMinY(picture),NSMaxX(picture)-divider,NSHeight(picture));
|
||||
NSRectClip(styledArea);
|
||||
[NSColor.blackColor setFill];NSRectFill(styledArea);
|
||||
[_styled drawInRect:picture fromRect:NSZeroRect operation:NSCompositingOperationSourceOver fraction:1 respectFlipped:YES hints:nil];
|
||||
[NSGraphicsContext restoreGraphicsState];
|
||||
if(_position>0&&_position<1){
|
||||
[[NSColor blackColor] setFill];NSRectFill(NSMakeRect(divider-1.5,NSMinY(picture),3,NSHeight(picture)));
|
||||
[[NSColor whiteColor] setFill];NSRectFill(NSMakeRect(divider-.5,NSMinY(picture),1,NSHeight(picture)));
|
||||
}
|
||||
}
|
||||
@end
|
||||
|
||||
@class DYLUTBrowser;
|
||||
/// The jobs own this token, never the browser or its host selection block.
|
||||
@interface DYBrowserWork : NSObject
|
||||
@@ -144,7 +212,8 @@ static void DYBrowserGeometrySample(NSView *root,NSString *phase){
|
||||
|
||||
@interface DYLUTBrowser () <NSWindowDelegate,NSPopoverDelegate,NSSearchFieldDelegate,NSSplitViewDelegate> {
|
||||
DYLUTLibrary *_library;
|
||||
NSData *_preview;
|
||||
NSDictionary *_previewFrames,*_comparisonOriginal;
|
||||
NSNumber *_selectionFrameTime;
|
||||
NSString *_selectedPath,*_folder;
|
||||
NSDictionary *_palette;
|
||||
DYLUTSelectionHandler _selection;
|
||||
@@ -155,20 +224,23 @@ static void DYBrowserGeometrySample(NSView *root,NSString *phase){
|
||||
NSScrollView *_folderScroll,*_gridScroll;
|
||||
NSTextField *_titleLabel,*_countLabel,*_statusLabel,*_sizeLabel,*_emptyLabel;
|
||||
NSSearchField *_search;
|
||||
NSButton *_importFiles,*_importFolder,*_reveal,*_refresh,*_none,*_done;
|
||||
NSSlider *_sizeSlider;
|
||||
NSButton *_importFiles,*_importFolder,*_reveal,*_refresh,*_none,*_done,*_hd;
|
||||
NSSlider *_sizeSlider,*_compareSlider;
|
||||
DYBrowserCanvas *_comparePanel;
|
||||
DYBrowserCompareView *_compareView;
|
||||
NSTextField *_compareTitle,*_compareStatus,*_originalLabel,*_styledLabel;
|
||||
NSMutableArray *_folderButtons;
|
||||
NSMutableDictionary *_tiles;
|
||||
NSArray *_visibleEntries,*_folderPaths;
|
||||
NSMutableSet *_queuedPaths;
|
||||
NSCache *_thumbnailCache;
|
||||
dispatch_queue_t _previewQueue;
|
||||
dispatch_queue_t _previewQueue,_compareQueue;
|
||||
DYBrowserWork *_work;
|
||||
BOOL _closed,_sizing,_visible,_remoteMode,_importing,_layingOut,_detached,_embedded,_compactRecent;
|
||||
BOOL _closed,_visible,_remoteMode,_importing,_layingOut,_detached,_embedded,_compactRecent;
|
||||
NSArray *_recentSnapshot;
|
||||
NSProgress *_libraryTask,*_selectionTask;
|
||||
NSTimer *_progressTimer;
|
||||
NSUInteger _libraryGeneration,_selectionGeneration;
|
||||
NSUInteger _libraryGeneration,_selectionGeneration,_previewGeneration;
|
||||
NSInteger _columns;
|
||||
CGFloat _tileWidth,_tileHeight,_sidebarWidth;
|
||||
}
|
||||
@@ -186,13 +258,13 @@ static void DYBrowserGeometrySample(NSView *root,NSString *phase){
|
||||
}
|
||||
static NSTextField *BrowserLabel(NSString *title,CGFloat size){NSTextField *label=[NSTextField labelWithString:title];label.font=[NSFont systemFontOfSize:size];label.lineBreakMode=NSLineBreakByTruncatingTail;return label;}
|
||||
static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *button=[NSButton buttonWithTitle:title target:target action:action];button.font=[NSFont systemFontOfSize:11];button.bezelStyle=NSBezelStyleRounded;return button;}
|
||||
- (instancetype)initWithLibrary:(DYLUTLibrary *)library preview:(NSData *)rgba selectedPath:(NSString *)path palette:(NSDictionary *)palette selection:(DYLUTSelectionHandler)selection{
|
||||
- (instancetype)initWithLibrary:(DYLUTLibrary *)library preview:(NSDictionary *)frames selectedPath:(NSString *)path palette:(NSDictionary *)palette selection:(DYLUTSelectionHandler)selection{
|
||||
NSPanel *panel=[[[NSPanel alloc]initWithContentRect:NSMakeRect(0,0,760,560) styleMask:NSWindowStyleMaskTitled|NSWindowStyleMaskClosable|NSWindowStyleMaskResizable backing:NSBackingStoreBuffered defer:NO]autorelease];
|
||||
if((self=[super initWithWindow:panel])){
|
||||
NSString *savedFolder=[[NSUserDefaults standardUserDefaults]stringForKey:DYBrowserPreference(DYBrowserFolderPreference,library)]?:[[NSUserDefaults standardUserDefaults]stringForKey:DYBrowserFolderPreference];
|
||||
if(!library.recentPaths.count&&path.length)[library recordUsedPath:path];
|
||||
if(!savedFolder)savedFolder=library.recentPaths.count?DYBrowserRecentFolder:@"*";
|
||||
_library=[library retain];_preview=[rgba copy];_selectedPath=[path copy];_folder=[(savedFolder?:@"*") copy];_selection=[selection copy];
|
||||
_library=[library retain];_previewFrames=[frames copy];_previewGeneration=1;_recentSnapshot=[library.recentPaths copy];_selectedPath=[path copy];_folder=[(savedFolder?:@"*") copy];_selection=[selection copy];
|
||||
_folderButtons=[NSMutableArray new];_tiles=[NSMutableDictionary new];_queuedPaths=[NSMutableSet new];_thumbnailCache=[NSCache new];_thumbnailCache.countLimit=600;_thumbnailCache.totalCostLimit=64*1024*1024;_previewQueue=dispatch_queue_create("com.dayu.color.lut-thumbnails",DISPATCH_QUEUE_SERIAL);dispatch_set_target_queue(_previewQueue,dispatch_get_global_queue(QOS_CLASS_UTILITY,0));
|
||||
panel.title=@"风格 LUT";panel.contentMinSize=self.class.minimumContentSize;panel.contentMaxSize=self.class.maximumContentSize;panel.releasedWhenClosed=NO;panel.hidesOnDeactivate=NO;panel.delegate=self;
|
||||
_root=[[DYBrowserCanvas alloc]initWithFrame:NSMakeRect(0,0,760,560)];_root.accessibilityLabel=@"LUT 缩略图浏览库";panel.contentView=_root;
|
||||
@@ -209,6 +281,21 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
_none=[BrowserButton(@"无 LUT",self,@selector(clearSelection:))retain];
|
||||
_done=[BrowserButton(@"完成",self,@selector(done:))retain];_done.keyEquivalent=@"\r";
|
||||
NSUserDefaults *preferences=NSUserDefaults.standardUserDefaults;
|
||||
_hd=[[NSButton checkboxWithTitle:@"高清预览" target:self action:@selector(qualityChanged:)]retain];
|
||||
_hd.font=[NSFont systemFontOfSize:11];_hd.state=[preferences boolForKey:DYBrowserPreference(DYBrowserHDPreference,library)]?NSControlStateValueOn:NSControlStateValueOff;
|
||||
_hd.toolTip=@"缩略图与划像共用高清帧预览";
|
||||
_comparePanel=[[DYBrowserCanvas alloc]initWithFrame:NSZeroRect];_comparePanel.fillKey=@"card";
|
||||
_compareTitle=[BrowserLabel(@"原图与 LUT 对比",13)retain];_compareTitle.font=[NSFont systemFontOfSize:13 weight:NSFontWeightSemibold];
|
||||
_compareStatus=[BrowserLabel(@"等待播放头画面",11)retain];
|
||||
_originalLabel=[BrowserLabel(@"原图",11)retain];_originalLabel.toolTip=@"同一帧加载此 LUT 之前的画面";
|
||||
_styledLabel=[BrowserLabel(@"LUT 效果 · 100%",11)retain];_styledLabel.alignment=NSTextAlignmentRight;
|
||||
_compareView=[[DYBrowserCompareView alloc]initWithFrame:NSZeroRect];_compareView.accessibilityLabel=@"原图与 LUT 滑动对比图";
|
||||
_compareSlider=[[NSSlider alloc]initWithFrame:NSZeroRect];_compareSlider.minValue=0;_compareSlider.maxValue=1;_compareSlider.continuous=YES;_compareSlider.enabled=NO;
|
||||
_compareSlider.target=self;_compareSlider.action=@selector(comparePositionChanged:);_compareSlider.accessibilityLabel=@"原图与 LUT 对比分界线";
|
||||
_compareView.slider=_compareSlider;_compareView.position=.5;
|
||||
for(NSView *view in @[_compareTitle,_compareStatus,_compareView,_compareSlider,_originalLabel,_styledLabel])[_comparePanel addSubview:view];
|
||||
_compareQueue=dispatch_queue_create("com.dayu.color.lut-comparison",DISPATCH_QUEUE_SERIAL);
|
||||
dispatch_set_target_queue(_compareQueue,dispatch_get_global_queue(QOS_CLASS_USER_INITIATED,0));
|
||||
NSNumber *storedSize=[preferences objectForKey:DYBrowserPreference(DYBrowserSizePreference,library)]?:[preferences objectForKey:DYBrowserSizePreference];double size=storedSize?storedSize.doubleValue:120;
|
||||
_layoutMenu=[[NSPopUpButton alloc]initWithFrame:NSZeroRect pullsDown:NO];[_layoutMenu addItemsWithTitles:@[@"网格",@"列表"]];_layoutMenu.font=[NSFont systemFontOfSize:11];_layoutMenu.target=self;_layoutMenu.action=@selector(layoutChanged:);_layoutMenu.accessibilityLabel=@"LUT 浏览布局";
|
||||
[_layoutMenu selectItemAtIndex:[preferences integerForKey:DYBrowserPreference(DYBrowserLayoutPreference,library)]==1?1:0];
|
||||
@@ -225,7 +312,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
[[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(gridScrolled:) name:NSViewBoundsDidChangeNotification object:_gridScroll.contentView];
|
||||
_splitView=[[NSSplitView alloc]initWithFrame:NSMakeRect(12,80,736,425)];_splitView.vertical=YES;_splitView.dividerStyle=NSSplitViewDividerStyleThin;_splitView.accessibilityLabel=@"调整 LUT 文件夹与预览宽度";
|
||||
_folderScroll.frame=NSMakeRect(0,0,162,425);_gridScroll.frame=NSMakeRect(163,0,573,425);[_splitView addSubview:_folderScroll];[_splitView addSubview:_gridScroll];
|
||||
for(NSView *view in @[_titleLabel,_countLabel,_statusLabel,_sizeLabel,_search,_importFiles,_importFolder,_reveal,_refresh,_none,_done,_sizeSlider,_layoutMenu,_splitView])[_root addSubview:view];
|
||||
for(NSView *view in @[_titleLabel,_countLabel,_statusLabel,_sizeLabel,_search,_importFiles,_importFolder,_reveal,_refresh,_none,_done,_hd,_sizeSlider,_layoutMenu,_splitView,_comparePanel])[_root addSubview:view];
|
||||
[_gridDocument addSubview:_emptyLabel];
|
||||
_root.postsFrameChangedNotifications=YES;_root.postsBoundsChangedNotifications=YES;
|
||||
[[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(browserRootResized:) name:NSViewFrameDidChangeNotification object:_root];
|
||||
@@ -240,12 +327,14 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
[_libraryTask cancel];[_libraryTask release];[_selectionTask cancel];[_selectionTask release];[_progressTimer invalidate];[_progressTimer release];
|
||||
_work.cancelled=YES;_work.owner=nil;[_work release];self.window.delegate=nil;
|
||||
_popover.delegate=nil;[_popover close];[_popover release];[_root removeFromSuperview];
|
||||
[_library release];[_preview release];[_selectedPath release];[_folder release];[_palette release];[_selection release];[_closeAction release];
|
||||
[_library release];[_previewFrames release];[_comparisonOriginal release];[_selectionFrameTime release];[_selectedPath release];[_folder release];[_palette release];[_selection release];[_closeAction release];
|
||||
[_root release];[_folderDocument release];[_gridDocument release];[_folderScroll release];[_gridScroll release];
|
||||
[_titleLabel release];[_countLabel release];[_statusLabel release];[_sizeLabel release];[_emptyLabel release];[_search release];
|
||||
[_importFiles release];[_importFolder release];[_reveal release];[_refresh release];[_none release];[_done release];[_sizeSlider release];[_layoutMenu release];_splitView.delegate=nil;[_splitView release];[_presentationWindow release];
|
||||
[_folderButtons release];[_folderPaths release];[_tiles release];[_visibleEntries release];[_queuedPaths release];[_thumbnailCache release];
|
||||
dispatch_release(_previewQueue);[super dealloc];
|
||||
_compareView.slider=nil;[_compareView release];[_compareSlider release];[_comparePanel release];[_hd release];
|
||||
[_compareTitle release];[_compareStatus release];[_originalLabel release];[_styledLabel release];
|
||||
dispatch_release(_compareQueue);dispatch_release(_previewQueue);[super dealloc];
|
||||
}
|
||||
- (void)showRelativeToView:(NSView *)view{
|
||||
if(_closed||_remoteMode||!view.window||_popover.shown)return;
|
||||
@@ -254,7 +343,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
_popover=[[NSPopover alloc]init];_popover.behavior=NSPopoverBehaviorSemitransient;_popover.animates=YES;_popover.delegate=self;_popover.contentSize=size;
|
||||
NSViewController *controller=[[[NSViewController alloc]init]autorelease];controller.title=@"风格 LUT";controller.view=_root;_popover.contentViewController=controller;
|
||||
[self layoutBrowser];
|
||||
@try {[_popover showRelativeToRect:view.bounds ofView:view preferredEdge:NSRectEdgeMaxX];_visible=_popover.shown;}
|
||||
@try {[_popover showRelativeToRect:view.bounds ofView:view preferredEdge:NSRectEdgeMaxX];_visible=_popover.shown;[self refreshComparison];}
|
||||
@catch(NSException *exception){[self finishClosing];}
|
||||
}
|
||||
- (BOOL)visible{return !_closed&&((_remoteMode||_detached)?_visible:_popover.shown);}
|
||||
@@ -270,7 +359,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
[parent addSubview:_root];DYBrowserGeometrySample(_root,@"before-content-origin-alignment");[self fitRemoteParent];
|
||||
DYBrowserGeometrySample(_root,@"attached-before-sdk-reply");
|
||||
// Attach synchronously: the SDK reads the first child before reply returns.
|
||||
dispatch_async(dispatch_get_main_queue(),^{if(!_closed){[self configurePresentationWindow];DYBrowserGeometrySample(_root,@"after-sdk-reply");}});
|
||||
dispatch_async(dispatch_get_main_queue(),^{if(!_closed){[self configurePresentationWindow];[self refreshComparison];DYBrowserGeometrySample(_root,@"after-sdk-reply");}});
|
||||
if([NSUserDefaults.standardUserDefaults boolForKey:@"DYBrowserGeometryDiagnostics"])dispatch_after(dispatch_time(DISPATCH_TIME_NOW,NSEC_PER_SEC),dispatch_get_main_queue(),^{if(!_closed)DYBrowserGeometrySample(_root,@"settled");});
|
||||
NSAccessibilityPostNotification(parent,NSAccessibilityLayoutChangedNotification);
|
||||
}
|
||||
@@ -283,9 +372,9 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
_root.accessibilityLabel=@"最近使用 LUT 快捷入口";
|
||||
_titleLabel.stringValue=@"最近使用";_titleLabel.font=[NSFont systemFontOfSize:11 weight:NSFontWeightSemibold];
|
||||
[_layoutMenu selectItemAtIndex:0];_sizeSlider.doubleValue=120;
|
||||
for(NSView *view in @[_search,_importFiles,_importFolder,_reveal,_refresh,_none,_done,_sizeLabel,_sizeSlider,_layoutMenu,_splitView])view.hidden=YES;
|
||||
for(NSView *view in @[_search,_importFiles,_importFolder,_reveal,_refresh,_none,_done,_hd,_comparePanel,_sizeLabel,_sizeSlider,_layoutMenu,_splitView])view.hidden=YES;
|
||||
[_root addSubview:_gridScroll];_gridScroll.hasHorizontalScroller=NO;_gridScroll.scrollerStyle=NSScrollerStyleOverlay;
|
||||
[self showInRemoteParent:parent close:nil];[self refreshRecentSelection:_selectedPath];
|
||||
[self showInRemoteParent:parent close:nil];[self rebuildGrid];[self refreshRecentSelection:_selectedPath];
|
||||
}
|
||||
- (void)refreshRecentSelection:(NSString *)path{
|
||||
if(!_compactRecent||_closed)return;
|
||||
@@ -387,7 +476,8 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
_reveal.frame=NSMakeRect(w-153,9,139,27);_none.frame=NSMakeRect(14,h-44,75,27);_layoutMenu.frame=NSMakeRect(100,h-44,97,27);
|
||||
_sizeLabel.frame=NSMakeRect(211,h-39,74,18);_sizeSlider.frame=NSMakeRect(288,h-41,MIN(150,MAX(80,w-550)),20);
|
||||
_done.frame=NSMakeRect(w-98,h-44,78,27);
|
||||
CGFloat statusX=NSMaxX(_sizeSlider.frame)+14;_statusLabel.frame=NSMakeRect(statusX,h-39,MAX(0,w-statusX-112),18);
|
||||
CGFloat hdX=NSMaxX(_sizeSlider.frame)+12;_hd.frame=NSMakeRect(hdX,h-43,86,24);
|
||||
CGFloat statusX=NSMaxX(_hd.frame)+6;_statusLabel.frame=NSMakeRect(statusX,h-39,MAX(0,w-statusX-112),18);
|
||||
if(_embedded&&!_compactRecent){
|
||||
_search.frame=NSMakeRect(12,36,MAX(125,w-310),24);
|
||||
_importFiles.frame=NSMakeRect(w-284,34,88,28);_importFolder.frame=NSMakeRect(w-192,34,100,28);_refresh.frame=NSMakeRect(w-88,34,76,28);
|
||||
@@ -395,8 +485,28 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
_reveal.hidden=w<620;_titleLabel.frame=NSMakeRect(12,8,152,20);_countLabel.frame=NSMakeRect(166,10,100,18);
|
||||
_none.frame=NSMakeRect(10,h-34,70,27);_layoutMenu.frame=NSMakeRect(86,h-34,80,27);_done.frame=NSMakeRect(w-88,h-34,78,27);
|
||||
BOOL small=w<650;_sizeLabel.hidden=small;_sizeSlider.hidden=small;_statusLabel.hidden=small;
|
||||
if(!small){_sizeLabel.frame=NSMakeRect(174,h-29,68,18);_sizeSlider.frame=NSMakeRect(246,h-31,100,20);_statusLabel.frame=NSMakeRect(354,h-29,MAX(0,w-454),18);}
|
||||
_hd.frame=NSMakeRect(small?174:352,h-33,86,24);
|
||||
if(!small){_sizeLabel.frame=NSMakeRect(174,h-29,68,18);_sizeSlider.frame=NSMakeRect(246,h-31,100,20);_statusLabel.frame=NSMakeRect(444,h-29,MAX(0,w-540),18);}
|
||||
}
|
||||
NSRect browser=_splitView.frame,comparison=browser;
|
||||
if(w>=620){
|
||||
CGFloat width=MIN(560,w*.42);
|
||||
browser.size.width=MAX(1,NSWidth(browser)-width-10);
|
||||
comparison.origin.x=NSMaxX(browser)+10;comparison.size.width=width;
|
||||
}else{
|
||||
CGFloat height=MIN(NSHeight(browser)*.52,235);
|
||||
browser.size.height=MAX(1,NSHeight(browser)-height-8);
|
||||
comparison.origin.y=NSMaxY(browser)+8;comparison.size.height=height;
|
||||
}
|
||||
_splitView.frame=browser;[_splitView adjustSubviews];
|
||||
CGFloat left=MAX(100,MIN(_sidebarWidth,NSWidth(browser)*.41));[_splitView setPosition:left ofDividerAtIndex:0];
|
||||
_comparePanel.frame=comparison;
|
||||
CGFloat cw=NSWidth(comparison),ch=NSHeight(comparison),margin=10,body=MAX(1,cw-2*margin);
|
||||
_compareTitle.frame=NSMakeRect(margin,6,body,20);_compareStatus.frame=NSMakeRect(margin,25,body,16);
|
||||
_compareView.frame=NSMakeRect(margin,46,body,MAX(1,ch-88));
|
||||
_compareSlider.frame=NSMakeRect(margin,MAX(47,ch-40),body,18);
|
||||
_originalLabel.frame=NSMakeRect(margin,MAX(66,ch-20),body*.44,15);
|
||||
_styledLabel.frame=NSMakeRect(margin+body*.44,MAX(66,ch-20),body*.56,15);
|
||||
}
|
||||
if(_compactRecent){
|
||||
_titleLabel.frame=NSMakeRect(0,2,92,18);_countLabel.frame=NSMakeRect(94,2,100,18);
|
||||
@@ -406,9 +516,12 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
if(!_compactRecent){CGFloat fw=MAX(100,_folderScroll.contentSize.width);
|
||||
_folderDocument.frame=NSMakeRect(0,0,fw,MAX(_folderPaths.count*35+4,_folderScroll.contentSize.height));
|
||||
[self updateVisibleFolders];}
|
||||
CGFloat available=MAX(80,_gridScroll.contentSize.width),tileWidth=_sizeSlider.doubleValue,gap=10;
|
||||
CGFloat available=MAX(80,_gridScroll.contentSize.width),edge=_sizeSlider.doubleValue,gap=10;
|
||||
NSSize source=[self previewSize],preferred=DYBrowserFitSize(source,NSMakeSize(edge-4,edge-4));
|
||||
CGFloat tileWidth=MAX(70,ceil(preferred.width)+4);
|
||||
BOOL list=_layoutMenu.indexOfSelectedItem==1;NSInteger columns=list?1:MAX(1,(NSInteger)floor((available+gap)/(tileWidth+gap)));tileWidth=list?MAX(110,available-14):MIN(tileWidth,(available-gap*(columns-1)-14)/columns);tileWidth=MAX(70,tileWidth);
|
||||
_columns=columns;_tileWidth=tileWidth;_tileHeight=list?70:ceil(tileWidth*9/16)+24;
|
||||
_columns=columns;_tileWidth=tileWidth;
|
||||
_tileHeight=list?70:ceil(DYBrowserFitSize(source,NSMakeSize(tileWidth-4,edge-4)).height)+27;
|
||||
NSInteger rows=(_visibleEntries.count+columns-1)/columns;CGFloat contentHeight=MAX(_gridScroll.contentSize.height,rows*(_tileHeight+gap)+12);
|
||||
_gridDocument.frame=NSMakeRect(0,0,available,contentHeight);_emptyLabel.frame=NSMakeRect(20,MAX(36,_gridScroll.contentSize.height/2-45),MAX(50,available-40),90);
|
||||
_layingOut=NO;[self updateVisibleTiles];
|
||||
@@ -435,7 +548,8 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
}
|
||||
for(NSString *path in _tiles.allKeys)if(![wanted containsObject:path]){[_tiles[path]removeFromSuperview];[_tiles removeObjectForKey:path];changed=YES;}
|
||||
if(changed||!_work)[self resetThumbnailWork];
|
||||
if(!_sizing)[self generateVisibleThumbnails];
|
||||
[self refreshComparison];
|
||||
[self generateVisibleThumbnails];
|
||||
}
|
||||
|
||||
- (void)updatePalette:(NSDictionary *)palette{
|
||||
@@ -443,22 +557,106 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
NSColor *background=[palette[@"background"]colorUsingColorSpace:NSColorSpace.sRGBColorSpace];
|
||||
BOOL light=background&&background.redComponent>.7&&background.greenComponent>.7;
|
||||
// Keep the supplied neutral surface in both relief themes.
|
||||
[_palette release];_palette=[browserPalette copy];_root.palette=_palette;_folderDocument.palette=_palette;_gridDocument.palette=_palette;
|
||||
[_palette release];_palette=[browserPalette copy];_root.palette=_palette;_folderDocument.palette=_palette;_gridDocument.palette=_palette;_comparePanel.palette=_palette;
|
||||
self.window.backgroundColor=DYBrowserColor(_palette,@"background");self.window.appearance=[NSAppearance appearanceNamed:light?NSAppearanceNameAqua:NSAppearanceNameDarkAqua];
|
||||
_root.appearance=[NSAppearance appearanceNamed:light?NSAppearanceNameAqua:NSAppearanceNameDarkAqua];
|
||||
for(NSTextField *label in @[_titleLabel,_countLabel,_statusLabel,_sizeLabel,_emptyLabel])label.textColor=DYBrowserColor(_palette,label==_titleLabel?@"text":@"secondary");
|
||||
for(NSTextField *label in @[_titleLabel,_countLabel,_statusLabel,_sizeLabel,_emptyLabel,_compareTitle,_compareStatus,_originalLabel,_styledLabel])label.textColor=DYBrowserColor(_palette,label==_titleLabel?@"text":@"secondary");
|
||||
for(NSButton *button in @[_importFiles,_importFolder,_reveal,_refresh,_none,_done,_layoutMenu])button.contentTintColor=DYBrowserColor(_palette,@"accent");
|
||||
_search.textColor=DYBrowserColor(_palette,@"text");_search.backgroundColor=DYBrowserColor(_palette,@"field");
|
||||
for(DYBrowserFolderButton *button in _folderButtons){button.palette=_palette;[button setNeedsDisplay:YES];}
|
||||
for(DYBrowserTile *tile in _tiles.allValues){tile.palette=_palette;[tile setNeedsDisplay:YES];}
|
||||
[_root setNeedsDisplay:YES];[_folderDocument setNeedsDisplay:YES];[_gridDocument setNeedsDisplay:YES];
|
||||
}
|
||||
- (void)updatePreview:(NSData *)rgba{
|
||||
if(_closed||_preview==rgba||[_preview isEqualToData:rgba])return;
|
||||
if(rgba&&rgba.length!=320*180*16)return;
|
||||
[_preview release];_preview=[rgba copy];[_thumbnailCache removeAllObjects];
|
||||
[NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(refreshThumbnailSize) object:nil];
|
||||
[self refreshThumbnailSize];
|
||||
- (NSString *)previewQualityForFrames:(NSDictionary *)frames {
|
||||
BOOL high=!_compactRecent&&_hd.state==NSControlStateValueOn;
|
||||
return frames[@"high"]&&(high||!frames[@"standard"])?@"high":@"standard";
|
||||
}
|
||||
- (NSSize)previewSize {
|
||||
NSString *quality=[self previewQualityForFrames:_previewFrames];
|
||||
NSValue *size=_previewFrames[[quality stringByAppendingString:@"Size"]];
|
||||
return size?size.sizeValue:NSMakeSize(320,180);
|
||||
}
|
||||
- (void)invalidatePreviewImages {
|
||||
++_previewGeneration;
|
||||
[_thumbnailCache removeAllObjects];
|
||||
[_comparisonOriginal release];_comparisonOriginal=nil;
|
||||
[self resetThumbnailWork];
|
||||
}
|
||||
- (void)updatePreview:(NSDictionary *)frames{
|
||||
if(_closed||_previewFrames==frames||(!frames[@"standard"]&&!frames[@"high"]))return;
|
||||
NSString *currentQuality=[self previewQualityForFrames:_previewFrames],*nextQuality=[self previewQualityForFrames:frames];
|
||||
NSValue *currentSize=_previewFrames[[currentQuality stringByAppendingString:@"Size"]];
|
||||
NSValue *nextSize=frames[[nextQuality stringByAppendingString:@"Size"]];
|
||||
BOOL sameSize=[currentSize isEqual:nextSize];
|
||||
// A host render after our LUT write can already contain that LUT. Keep
|
||||
// the browser's pre-click reference until the playhead moves.
|
||||
if(sameSize&&[_selectionFrameTime isEqual:frames[@"time"]])return;
|
||||
[_selectionFrameTime release];_selectionFrameTime=nil;
|
||||
NSData *current=_previewFrames[currentQuality],*next=frames[nextQuality];
|
||||
BOOL unchanged=sameSize&&[current isEqualToData:next];
|
||||
NSDictionary *snapshot=[frames copy];
|
||||
[_previewFrames release];_previewFrames=snapshot;
|
||||
if(unchanged)return;
|
||||
[self invalidatePreviewImages];
|
||||
[self layoutBrowser];
|
||||
}
|
||||
- (void)qualityChanged:(id)sender{
|
||||
[NSUserDefaults.standardUserDefaults setBool:_hd.state==NSControlStateValueOn forKey:DYBrowserPreference(DYBrowserHDPreference,_library)];
|
||||
[self invalidatePreviewImages];
|
||||
[self layoutBrowser];
|
||||
}
|
||||
- (void)comparePositionChanged:(id)sender{_compareView.position=_compareSlider.doubleValue;}
|
||||
- (NSDictionary *)previewResultForPath:(NSString *)path{
|
||||
DYBrowserTile *tile=_tiles[path];
|
||||
if(tile.previewGeneration==_previewGeneration){
|
||||
if(tile.thumbnail)return @{@"image":tile.thumbnail};
|
||||
if(tile.failure.length)return @{@"error":tile.failure};
|
||||
}
|
||||
return [_thumbnailCache objectForKey:path];
|
||||
}
|
||||
- (void)displayPreviewResult:(NSDictionary *)result inTile:(DYBrowserTile *)tile{
|
||||
tile.previewGeneration=_previewGeneration;
|
||||
tile.thumbnail=result[@"image"];tile.failure=result[@"error"];
|
||||
tile.enabled=tile.thumbnail!=nil;
|
||||
tile.toolTip=tile.failure?:tile.identifier;
|
||||
[tile setNeedsDisplay:YES];
|
||||
}
|
||||
- (void)requestPreviewForPath:(NSString *)path comparison:(BOOL)comparison{
|
||||
if(!_work||[_queuedPaths containsObject:path])return;
|
||||
[_queuedPaths addObject:path];
|
||||
NSData *frame=_previewFrames[[self previewQualityForFrames:_previewFrames]];
|
||||
NSSize size=[self previewSize];
|
||||
DYBrowserWork *work=_work;
|
||||
dispatch_async(comparison?_compareQueue:_previewQueue,^{@autoreleasepool{
|
||||
if(work.cancelled)return;
|
||||
NSError *error=nil;
|
||||
NSImage *image=DYLUTThumbnail(path,frame,size.width,size.height,size,&error);
|
||||
NSDictionary *result=image?@{@"image":image}:@{@"error":error.localizedDescription?:@"无法预览此 LUT"};
|
||||
dispatch_async(dispatch_get_main_queue(),^{
|
||||
DYLUTBrowser *owner=work.owner;if(work.cancelled||!owner)return;
|
||||
[owner->_queuedPaths removeObject:path];
|
||||
if(path.length){
|
||||
[owner->_thumbnailCache setObject:result forKey:path cost:image?(NSUInteger)(size.width*size.height)*4:128];
|
||||
DYBrowserTile *tile=owner->_tiles[path];
|
||||
if(tile)[owner displayPreviewResult:result inTile:tile];
|
||||
}else owner->_comparisonOriginal=[result retain];
|
||||
if(!path.length||[path isEqualToString:owner->_selectedPath])[owner refreshComparison];
|
||||
});
|
||||
}});
|
||||
}
|
||||
- (void)refreshComparison{
|
||||
if(_closed||_compactRecent||!self.visible||!_previewFrames.count)return;
|
||||
NSString *path=_selectedPath;
|
||||
NSDictionary *original=_comparisonOriginal,*styled=path.length?[self previewResultForPath:path]:nil;
|
||||
if(!original)[self requestPreviewForPath:@"" comparison:YES];
|
||||
if(path.length&&!styled)[self requestPreviewForPath:path comparison:YES];
|
||||
if(!original||(path.length&&!styled))return;
|
||||
|
||||
NSImage *source=original[@"image"],*look=styled[@"image"];
|
||||
_compareSlider.enabled=source!=nil&&look!=nil;
|
||||
[_compareView setOriginal:source styled:look];
|
||||
_compareStatus.stringValue=path.length?(look?path.lastPathComponent.stringByDeletingPathExtension:@"无法预览当前 LUT"):@"选择一个 LUT 查看对比";
|
||||
_compareStatus.toolTip=_compareStatus.stringValue;
|
||||
}
|
||||
- (void)setStatus:(NSString *)status{_statusLabel.stringValue=status?:@"";_statusLabel.toolTip=status;}
|
||||
- (void)rebuildFolders{
|
||||
@@ -496,10 +694,10 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
}
|
||||
- (void)reloadLibrary:(id)sender{
|
||||
if(_libraryTask){[_libraryTask cancel];[self setStatus:@"正在取消…"];return;}
|
||||
[_thumbnailCache removeAllObjects];NSUInteger generation=++_libraryGeneration;
|
||||
[self invalidatePreviewImages];NSUInteger generation=++_libraryGeneration;
|
||||
NSProgress *task=[_library reloadAsync:^(NSError *error){
|
||||
if(_closed||generation!=_libraryGeneration)return;[self endLibraryTask];
|
||||
[self rebuildFolders];[self rebuildGrid];[self setStatus:error?error.localizedDescription:@"单击缩略图应用 LUT"];
|
||||
[self rebuildFolders];[self rebuildGrid];[self refreshComparison];[self setStatus:error?error.localizedDescription:@"单击缩略图应用 LUT"];
|
||||
}];[self beginLibraryTask:task];
|
||||
}
|
||||
- (void)folderClicked:(NSButton *)sender{
|
||||
@@ -512,56 +710,32 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
- (void)controlTextDidChange:(NSNotification *)notification{if(notification.object==_search)[self rebuildGrid];}
|
||||
- (void)sizeChanged:(id)sender{
|
||||
[[NSUserDefaults standardUserDefaults]setDouble:_sizeSlider.doubleValue forKey:DYBrowserPreference(DYBrowserSizePreference,_library)];
|
||||
_sizing=YES;[self layoutBrowser];
|
||||
[NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(refreshThumbnailSize) object:nil];
|
||||
[self performSelector:@selector(refreshThumbnailSize) withObject:nil afterDelay:.22];
|
||||
}
|
||||
- (void)refreshThumbnailSize{
|
||||
if(_closed)return;_sizing=NO;
|
||||
_work.cancelled=YES;_work.owner=nil;[_work release];_work=[DYBrowserWork new];_work.owner=self;[_queuedPaths removeAllObjects];
|
||||
for(DYBrowserTile *tile in _tiles.allValues){tile.thumbnail=nil;tile.failure=nil;tile.enabled=YES;[tile setNeedsDisplay:YES];}
|
||||
[self generateVisibleThumbnails];
|
||||
[self layoutBrowser];
|
||||
}
|
||||
- (void)gridScrolled:(NSNotification *)notification{[self updateVisibleTiles];}
|
||||
- (void)generateVisibleThumbnails{
|
||||
if(_closed||!_work)return;
|
||||
NSRect visible=NSInsetRect(_gridScroll.contentView.bounds,-30,-180);
|
||||
NSUInteger width=MAX((NSUInteger)64,(NSUInteger)llround(_sizeSlider.doubleValue)),height=MAX((NSUInteger)40,(NSUInteger)llround(width*9./16));
|
||||
for(NSString *path in _tiles.allKeys){
|
||||
DYBrowserTile *tile=_tiles[path];
|
||||
if(!NSIntersectsRect(tile.frame,visible)){if(tile.thumbnail){tile.thumbnail=nil;tile.enabled=NO;}continue;}
|
||||
if(tile.thumbnail||tile.failure.length)continue;
|
||||
NSString *cacheKey=[NSString stringWithFormat:@"%lu|%@",(unsigned long)width,path];
|
||||
NSDictionary *cached=[_thumbnailCache objectForKey:cacheKey];
|
||||
if(cached){tile.thumbnail=cached[@"image"];tile.failure=cached[@"error"];tile.enabled=tile.thumbnail!=nil;if(tile.failure.length)tile.toolTip=tile.failure;[tile setNeedsDisplay:YES];continue;}
|
||||
if([_queuedPaths containsObject:cacheKey])continue;[_queuedPaths addObject:cacheKey];
|
||||
DYBrowserWork *work=_work;NSData *preview=_preview;
|
||||
dispatch_async(_previewQueue,^{@autoreleasepool{
|
||||
if(work.cancelled)return;
|
||||
NSError *error=nil;NSImage *image=DYLUTThumbnail(path,preview,320,180,NSMakeSize(width,height),&error);NSString *failure=error.localizedDescription;
|
||||
dispatch_async(dispatch_get_main_queue(),^{
|
||||
DYLUTBrowser *owner=work.owner;if(work.cancelled||!owner)return;
|
||||
[owner->_queuedPaths removeObject:cacheKey];
|
||||
NSDictionary *result=image?@{@"image":image}:@{@"error":failure?:@"无法预览此 LUT"};
|
||||
[owner->_thumbnailCache setObject:result forKey:cacheKey cost:image?width*height*4:128];
|
||||
DYBrowserTile *current=owner->_tiles[path];if(!current||!NSIntersectsRect(current.frame,NSInsetRect(owner->_gridScroll.contentView.bounds,-30,-180)))return;
|
||||
current.thumbnail=image;current.failure=failure;current.enabled=image!=nil;if(failure.length)current.toolTip=failure;[current setNeedsDisplay:YES];
|
||||
});
|
||||
}});
|
||||
if(!NSIntersectsRect(tile.frame,visible)||tile.previewGeneration==_previewGeneration)continue;
|
||||
NSDictionary *cached=[self previewResultForPath:path];
|
||||
if(cached)[self displayPreviewResult:cached inTile:tile];
|
||||
else [self requestPreviewForPath:path comparison:NO];
|
||||
}
|
||||
}
|
||||
- (void)rebuildGrid{
|
||||
[self resetThumbnailWork];
|
||||
for(NSView *tile in _tiles.allValues)[tile removeFromSuperview];[_tiles removeAllObjects];
|
||||
NSString *query=[_search.stringValue stringByTrimmingCharactersInSet:NSCharacterSet.whitespaceAndNewlineCharacterSet];NSMutableArray *entries=[NSMutableArray array];
|
||||
BOOL recent=[_folder isEqual:DYBrowserRecentFolder];NSArray *history=_library.recentPaths;
|
||||
for(NSDictionary *entry in (recent?_library.recentEntries:_library.entries)){
|
||||
BOOL recent=[_folder isEqual:DYBrowserRecentFolder];NSArray *history=_recentSnapshot;
|
||||
for(NSDictionary *entry in (recent?[_library recentEntriesForPaths:history]:_library.entries)){
|
||||
NSString *folder=entry[@"relativeFolder"]?:@"";
|
||||
BOOL folderMatch=recent||[_folder isEqualToString:@"*"]||[folder isEqualToString:_folder]||(_folder.length&&[folder hasPrefix:[_folder stringByAppendingString:@"/"]]);
|
||||
if(folderMatch&&(!query.length||[entry[@"name"]localizedCaseInsensitiveContainsString:query]||[entry[@"relativePath"]localizedCaseInsensitiveContainsString:query]))[entries addObject:entry];
|
||||
}
|
||||
if(!recent)[entries sortUsingComparator:^NSComparisonResult(NSDictionary *a,NSDictionary *b){NSUInteger i=[history indexOfObject:a[@"path"]],j=[history indexOfObject:b[@"path"]];if(i==j)return [a[@"relativePath"]localizedStandardCompare:b[@"relativePath"]];return i<j?NSOrderedAscending:NSOrderedDescending;}];
|
||||
_emptyLabel.stringValue=recent?@"尚未使用 LUT。成功应用后会在这里按最近使用排序。":@"此文件夹还没有 LUT。\n点“导入文件”或“导入文件夹”添加 .cube 文件。";
|
||||
_emptyLabel.stringValue=recent?@"尚未使用 LUT。应用后,下次打开会显示最近使用记录。":@"此文件夹还没有 LUT。\n点“导入文件”或“导入文件夹”添加 .cube 文件。";
|
||||
[_visibleEntries release];_visibleEntries=[entries copy];_countLabel.stringValue=[NSString stringWithFormat:@"%lu 个 LUT",(unsigned long)entries.count];_emptyLabel.hidden=entries.count>0;
|
||||
[_gridScroll.contentView scrollToPoint:NSZeroPoint];[self layoutBrowser];[_gridScroll reflectScrolledClipView:_gridScroll.contentView];
|
||||
NSAccessibilityPostNotification(_gridDocument,NSAccessibilityLayoutChangedNotification);
|
||||
@@ -573,7 +747,8 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
void (^applied)(NSError *)=^(NSError *error){
|
||||
if(_closed||generation!=_selectionGeneration)return;[_selectionTask release];_selectionTask=nil;
|
||||
if(error){[self setStatus:error.localizedDescription];return;}
|
||||
[_selectedPath release];_selectedPath=[path copy];[_library recordUsedPath:path];[self rebuildGrid];
|
||||
[_selectedPath release];_selectedPath=[path copy];[_library recordUsedPath:path];
|
||||
[_selectionFrameTime release];_selectionFrameTime=[_previewFrames[@"time"] retain];[self refreshComparison];
|
||||
for(DYBrowserTile *tile in _tiles.allValues){tile.chosen=[tile.identifier isEqualToString:path];[tile setNeedsDisplay:YES];}
|
||||
[self setStatus:[@"已选择 " stringByAppendingString:name]];if(closeAfter)[self close];
|
||||
};
|
||||
@@ -586,6 +761,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
if(_closed||generation!=_selectionGeneration)return;[_selectionTask release];_selectionTask=nil;
|
||||
if(error){[self setStatus:error.localizedDescription];return;}
|
||||
[_selectedPath release];_selectedPath=nil;
|
||||
[_selectionFrameTime release];_selectionFrameTime=[_previewFrames[@"time"] retain];[self refreshComparison];
|
||||
for(DYBrowserTile *tile in _tiles.allValues){tile.chosen=NO;[tile setNeedsDisplay:YES];}
|
||||
[self setStatus:@"已移除 LUT"];
|
||||
};
|
||||
@@ -598,7 +774,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
NSProgress *task=[_library importURLsAsync:urls completion:^(NSArray *imported,NSError *error){
|
||||
if(_closed||generation!=_libraryGeneration)return;[self endLibraryTask];
|
||||
if(!imported){[self showImportError:error];return;}
|
||||
[_thumbnailCache removeAllObjects];[self rebuildFolders];[self rebuildGrid];[self setStatus:[NSString stringWithFormat:@"已导入 %lu 个 LUT",(unsigned long)imported.count]];
|
||||
[self invalidatePreviewImages];[self rebuildFolders];[self rebuildGrid];[self setStatus:[NSString stringWithFormat:@"已导入 %lu 个 LUT",(unsigned long)imported.count]];
|
||||
}];[self beginLibraryTask:task];
|
||||
}
|
||||
- (void)importPanelForFolders:(BOOL)folders{
|
||||
|
||||
@@ -51,6 +51,7 @@ FOUNDATION_EXPORT NSImage * _Nullable DYLUTThumbnail(NSString * _Nullable path,
|
||||
/// Most recently acknowledged applications, newest first, scoped to this library.
|
||||
@property(nonatomic,readonly,copy) NSArray<NSString *> *recentPaths;
|
||||
@property(nonatomic,readonly,copy) NSArray<NSDictionary<NSString *,NSString *> *> *recentEntries;
|
||||
- (NSArray<NSDictionary<NSString *,NSString *> *> *)recentEntriesForPaths:(NSArray<NSString *> *)paths;
|
||||
- (void)recordUsedPath:(NSString *)path;
|
||||
+ (NSURL *)defaultRootURL;
|
||||
- (instancetype)init;
|
||||
|
||||
+11
-4
@@ -303,6 +303,10 @@ static NSData *DYLUTFallback(void) {
|
||||
});return chart;
|
||||
}
|
||||
|
||||
static inline uint8_t DYLUTPreviewByte(float value) {
|
||||
return (uint8_t)lroundf(std::max(0.f,std::min(1.f,value))*255);
|
||||
}
|
||||
|
||||
NSImage *DYLUTThumbnail(NSString *path,NSData *source,NSUInteger sourceWidth,NSUInteger sourceHeight,NSSize outputSize,NSError **error) {
|
||||
if(!std::isfinite(outputSize.width)||!std::isfinite(outputSize.height)||outputSize.width<1||outputSize.height<1||outputSize.width>2048||outputSize.height>2048) {
|
||||
DYLUTFail(error,@"缩略图尺寸无效");return nil;
|
||||
@@ -315,7 +319,9 @@ NSImage *DYLUTThumbnail(NSString *path,NSData *source,NSUInteger sourceWidth,NSU
|
||||
bitmapFormat:NSBitmapFormatAlphaNonpremultiplied bytesPerRow:width*4 bitsPerPixel:32]autorelease];
|
||||
if(!bitmap){DYLUTFail(error,@"无法分配缩略图位图");return nil;}
|
||||
const float *p=(const float *)transformed.bytes;uint8_t *q=bitmap.bitmapData;
|
||||
for(NSUInteger y=0;y<height;y++)for(NSUInteger x=0;x<width;x++) {
|
||||
if(width==sourceWidth&&height==sourceHeight){
|
||||
for(NSUInteger i=0;i<width*height*4;i++)q[i]=DYLUTPreviewByte(p[i]);
|
||||
}else for(NSUInteger y=0;y<height;y++)for(NSUInteger x=0;x<width;x++) {
|
||||
// Center-aligned bilinear scaling, independent of NSGraphicsContext.
|
||||
float fx=(float(x)+.5f)*sourceWidth/width-.5f,fy=(float(y)+.5f)*sourceHeight/height-.5f;
|
||||
fx=std::max(0.f,std::min(float(sourceWidth-1),fx));fy=std::max(0.f,std::min(float(sourceHeight-1),fy));
|
||||
@@ -324,7 +330,7 @@ NSImage *DYLUTThumbnail(NSString *path,NSData *source,NSUInteger sourceWidth,NSU
|
||||
for(int c=0;c<4;c++) {
|
||||
float v=(p[(y0*sourceWidth+x0)*4+c]*(1-tx)+p[(y0*sourceWidth+x1)*4+c]*tx)*(1-ty)
|
||||
+(p[(y1*sourceWidth+x0)*4+c]*(1-tx)+p[(y1*sourceWidth+x1)*4+c]*tx)*ty;
|
||||
q[(y*width+x)*4+c]=(uint8_t)lroundf(std::max(0.f,std::min(1.f,v))*255);
|
||||
q[(y*width+x)*4+c]=DYLUTPreviewByte(v);
|
||||
}
|
||||
}
|
||||
NSImage *image=[[[NSImage alloc]initWithSize:NSMakeSize(width,height)]autorelease];[image addRepresentation:bitmap];return image;
|
||||
@@ -406,9 +412,10 @@ static BOOL DYLUTEnsureDirectory(NSURL *directory,NSURL *root,NSError **error) {
|
||||
}
|
||||
return [[paths copy]autorelease];
|
||||
}
|
||||
- (NSArray *)recentEntries {
|
||||
- (NSArray *)recentEntries {return [self recentEntriesForPaths:self.recentPaths];}
|
||||
- (NSArray *)recentEntriesForPaths:(NSArray *)paths {
|
||||
NSMutableDictionary *known=[NSMutableDictionary dictionary];for(NSDictionary *entry in self.entries)known[entry[@"path"]]=entry;
|
||||
NSMutableArray *entries=[NSMutableArray array];for(NSString *path in self.recentPaths){
|
||||
NSMutableArray *entries=[NSMutableArray array];for(NSString *path in paths){
|
||||
NSDictionary *entry=known[path];
|
||||
if(!entry)entry=@{@"name":path.lastPathComponent.stringByDeletingPathExtension,@"path":path,@"relativePath":path,@"relativeFolder":@""};
|
||||
[entries addObject:entry];
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
#pragma once
|
||||
|
||||
// Long-edge limits for the LUT browser. Auto-grade has its own fixed sample.
|
||||
enum { DYLookPreviewStandardEdge=320, DYLookPreviewHighEdge=640 };
|
||||
@@ -13,5 +13,5 @@ FOUNDATION_EXPORT void DYFollowPrimaryWorkingSpace(NSMutableDictionary *document
|
||||
FOUNDATION_EXPORT void DYPrimaryControlChanged(id<PROAPIAccessing> manager,CMTime time,NSString *key);
|
||||
FOUNDATION_EXPORT NSArray<NSDictionary*> *DYManagedInputSpaces(void);
|
||||
FOUNDATION_EXPORT NSArray<NSDictionary*> *DYManagedOutputSpaces(void);
|
||||
FOUNDATION_EXPORT NSDictionary *DYHostColorContext(FxImageTile *source,FxImageTile *destination,NSInteger primaries);
|
||||
FOUNDATION_EXPORT NSDictionary *DYHostColorContext(CGColorSpaceRef source,CGColorSpaceRef destination,NSInteger primaries);
|
||||
FOUNDATION_EXPORT CGColorSpaceRef DYManagedTileSpace(FxImageTile *tile,NSInteger primaries) CF_RETURNS_RETAINED;
|
||||
@@ -43,4 +43,4 @@ static NSString *profileLabel(CGColorSpaceRef space){
|
||||
return name.length?[name stringByReplacingOccurrencesOfString:@"kCGColorSpace" withString:@""]:@"自定义 RGB 配置";
|
||||
}
|
||||
static NSString *profileKey(CGColorSpaceRef space){if(!space)return @"unknown";CFPropertyListRef p=CGColorSpaceCopyPropertyList(space);NSData *d=p?[NSPropertyListSerialization dataWithPropertyList:(id)p format:NSPropertyListBinaryFormat_v1_0 options:0 error:nil]:nil;if(p)CFRelease(p);if(!d)return @"unknown";unsigned char hash[CC_SHA256_DIGEST_LENGTH];CC_SHA256(d.bytes,(CC_LONG)d.length,hash);NSMutableString*s=[NSMutableString string];for(auto c:hash)[s appendFormat:@"%02x",c];return s;}
|
||||
NSDictionary *DYHostColorContext(FxImageTile *source,FxImageTile *destination,NSInteger primaries){CGColorSpaceRef a=DYManagedTileSpace(source,primaries),b=DYManagedTileSpace(destination,primaries);NSString *an=profileLabel(a),*bn=profileLabel(b);NSDictionary *d=@{@"primaries":@(primaries),@"source":an?:(a?@"自定义 RGB 配置":@"未知空间"),@"destination":bn?:(b?@"自定义 RGB 配置":@"未知空间"),@"sourceKey":profileKey(a),@"destinationKey":profileKey(b),@"processing":@"RGB Linear",@"alpha":@"premultiplied"};if(a)CGColorSpaceRelease(a);if(b)CGColorSpaceRelease(b);return d;}
|
||||
NSDictionary *DYHostColorContext(CGColorSpaceRef a,CGColorSpaceRef b,NSInteger primaries){NSString *an=profileLabel(a),*bn=profileLabel(b);NSDictionary *d=@{@"primaries":@(primaries),@"source":an?:(a?@"自定义 RGB 配置":@"未知空间"),@"destination":bn?:(b?@"自定义 RGB 配置":@"未知空间"),@"sourceKey":profileKey(a),@"destinationKey":profileKey(b),@"processing":@"RGB Linear",@"alpha":@"premultiplied"};return d;}
|
||||
@@ -26,3 +26,12 @@ kernel void dyManagedCarrier(texture2d<float,access::read> a [[texture(0)]],text
|
||||
fragment float4 dyManagedCopyFragment(DYRaster in [[stage_in]],texture2d<float> source [[texture(0)]]){constexpr sampler f(coord::normalized,address::clamp_to_edge,filter::linear);return source.sample(f,in.uv);}
|
||||
|
||||
kernel void dyManagedPreview(texture2d<float> a [[texture(0)]],device float4* out [[buffer(0)]],uint2 p [[thread_position_in_grid]]){if(any(p>=uint2(320,180)))return;constexpr sampler s(coord::normalized,address::clamp_to_edge,filter::linear);float4 c=a.sample(s,(float2(p)+.5f)/float2(320,180));out[p.y*320+p.x]=float4(c.a>0?dyEncode(c.rgb/c.a):float3(0),c.a);}
|
||||
kernel void dyManagedLookPreview(texture2d<float> a [[texture(0)]],device float4* out [[buffer(0)]],
|
||||
constant uint4& geometry [[buffer(2)]],uint2 p [[thread_position_in_grid]]){
|
||||
uint2 size=geometry.xy;
|
||||
if(any(p>=size))return;
|
||||
uint2 sample=uint2(p.x,geometry.z?size.y-1-p.y:p.y);
|
||||
constexpr sampler s(coord::normalized,address::clamp_to_edge,filter::linear);
|
||||
float4 c=a.sample(s,(float2(sample)+.5f)/float2(size));
|
||||
out[p.y*size.x+p.x]=float4(c.a>0?dyEncode(c.rgb/c.a):float3(0),c.a);
|
||||
}
|
||||
@@ -1,21 +1,65 @@
|
||||
- (void)managedPreview:(id<MTLTexture>)texture origin:(FxImageOrigin)origin entry:(NSMutableDictionary*)entry {
|
||||
@synchronized(_previewLock){if(_exporting||CACurrentMediaTime()-_lastPreview<=.5)return;}
|
||||
id<MTLComputePipelineState>p=[self computePipeline:@"dyManagedPreview" entry:entry error:nil];if(!p)return;
|
||||
id<MTLBuffer>b=[entry[@"device"]newBufferWithLength:320*180*16 options:MTLResourceStorageModeShared];if(!b)return;
|
||||
id<MTLCommandBuffer>cb=[entry[@"queue"]commandBuffer];id<MTLComputeCommandEncoder>ce=[cb computeCommandEncoder];[ce setComputePipelineState:p];[ce setTexture:texture atIndex:0];[ce setBuffer:b offset:0 atIndex:0];[ce dispatchThreads:MTLSizeMake(320,180,1) threadsPerThreadgroup:MTLSizeMake(8,8,1)];[ce endEncoding];[cb commit];[cb waitUntilCompleted];
|
||||
if(cb.status==MTLCommandBufferStatusCompleted){@synchronized(_previewLock){[_preview release];_preview=[[NSData alloc]initWithBytes:b.contents length:b.length];[_lookLUTPreview release];if(origin==kFxImageOrigin_BOTTOM_LEFT){NSMutableData *flipped=[NSMutableData dataWithLength:b.length];for(NSUInteger y=0;y<180;y++)memcpy((uint8_t*)flipped.mutableBytes+y*320*16,(uint8_t*)b.contents+(179-y)*320*16,320*16);_lookLUTPreview=[flipped copy];}else _lookLUTPreview=[_preview retain];_lastPreview=CACurrentMediaTime();}dispatch_async(dispatch_get_main_queue(),^{[NSNotificationCenter.defaultCenter postNotificationName:@"DYPreviewDidChange" object:self];});}[b release];
|
||||
- (DYManagedPreviewReadback)encodeManagedPreview:(id<MTLTexture>)texture source:(FxImageTile*)source
|
||||
entry:(NSMutableDictionary*)entry commands:(id<MTLCommandBuffer>)commands {
|
||||
if(!commands)return {};
|
||||
NSSize size=DYLookSampleSize(texture,source.pixelAspect,DYLookPreviewStandardEdge);
|
||||
@synchronized(_previewLock){if(_exporting||(NSEqualSizes(size,_lastLookPreviewSize)&&CACurrentMediaTime()-_lastPreview<=.5))return {};}
|
||||
id<MTLComputePipelineState>p=[self computePipeline:@"dyManagedPreview" entry:entry error:nil];if(!p)return {};
|
||||
id<MTLBuffer>b=[[entry[@"device"]newBufferWithLength:320*180*16 options:MTLResourceStorageModeShared]autorelease];if(!b)return {};
|
||||
id<MTLComputeCommandEncoder>ce=[commands computeCommandEncoder];if(!ce)return {};
|
||||
[ce setComputePipelineState:p];[ce setTexture:texture atIndex:0];[ce setBuffer:b offset:0 atIndex:0];[ce dispatchThreads:MTLSizeMake(320,180,1) threadsPerThreadgroup:MTLSizeMake(8,8,1)];[ce endEncoding];
|
||||
FxImageOrigin origin=source.imageOrigin;
|
||||
id<MTLBuffer>standard=NSEqualSizes(size,NSMakeSize(320,180))?nil:[self encodeLookPreview:texture inputLUT:nil strength:0 size:size standard:YES origin:origin entry:entry commands:commands];
|
||||
NSSize highSize=DYLookSampleSize(texture,source.pixelAspect,DYLookPreviewHighEdge);
|
||||
id<MTLBuffer>high=[self encodeLookPreview:texture inputLUT:nil strength:0 size:highSize standard:NO origin:origin entry:entry commands:commands];
|
||||
return {b,standard,high,size,highSize,origin};
|
||||
}
|
||||
// Included in DYRenderer. V1 callers and their ABI remain on renderSource:...tools:error:.
|
||||
- (NSDictionary*)colorContext {@synchronized(_previewLock){return [[_colorContext copy]autorelease];}}
|
||||
- (BOOL)managedDispatch:(NSString*)name textures:(NSArray*)textures data:(const void*)data length:(NSUInteger)length extra:(const void*)extra extraLength:(NSUInteger)extraLength entry:(NSMutableDictionary*)entry error:(NSError**)error {
|
||||
- (void)publishManagedPreview:(DYManagedPreviewReadback)preview {
|
||||
if(preview.analysis)[self publishPreview:preview.analysis standard:preview.standard size:preview.size high:preview.high highSize:preview.highSize origin:preview.origin];
|
||||
}
|
||||
- (NSDictionary*)colorContext {@synchronized(_previewLock){return [[_colorContext retain]autorelease];}}
|
||||
static BOOL DYColorSpacesMatch(CGColorSpaceRef a,CGColorSpaceRef b){return a==b||(a&&b&&CFEqual(a,b));}
|
||||
- (void)updateHostColorContextFrom:(FxImageTile*)source to:(FxImageTile*)destination primaries:(NSInteger)primaries {
|
||||
CGColorSpaceRef a=DYManagedTileSpace(source,primaries),b=DYManagedTileSpace(destination,primaries);
|
||||
BOOL sourceChanged=!DYColorSpacesMatch(a,_renderSourceSpace);
|
||||
BOOL destinationChanged=!DYColorSpacesMatch(b,_renderDestinationSpace);
|
||||
if(!_colorContext||sourceChanged||destinationChanged||primaries!=[_colorContext[@"primaries"]integerValue]){
|
||||
NSDictionary *context=DYHostColorContext(a,b,primaries);
|
||||
@synchronized(_previewLock){[_colorContext release];_colorContext=[context copy];}
|
||||
}
|
||||
if(sourceChanged){if(_renderSourceSpace)CGColorSpaceRelease(_renderSourceSpace);_renderSourceSpace=a;a=nil;}
|
||||
if(destinationChanged){
|
||||
if(_renderDestinationSpace)CGColorSpaceRelease(_renderDestinationSpace);_renderDestinationSpace=b;b=nil;
|
||||
[_renderOutputProfile release];_renderOutputProfile=nil;
|
||||
}
|
||||
if(a)CGColorSpaceRelease(a);if(b)CGColorSpaceRelease(b);
|
||||
}
|
||||
- (DYColorProfile*)managedOutputProfile:(NSError**)error {
|
||||
if(!_renderDestinationSpace){fail(error,@"宿主未提供明确的目标颜色空间。");return nil;}
|
||||
if(!_renderOutputProfile){
|
||||
CGColorSpaceRef linear709=CGColorSpaceCreateWithName(kCGColorSpaceExtendedLinearSRGB);
|
||||
_renderOutputProfile=[[DYColorProfile alloc]initWithSource:linear709 target:_renderDestinationSpace error:error];
|
||||
if(linear709)CGColorSpaceRelease(linear709);
|
||||
}
|
||||
return _renderOutputProfile;
|
||||
}
|
||||
- (BOOL)encodeManagedDispatch:(NSString*)name textures:(NSArray*)textures data:(const void*)data length:(NSUInteger)length
|
||||
extra:(const void*)extra extraLength:(NSUInteger)extraLength entry:(NSMutableDictionary*)entry
|
||||
commands:(id<MTLCommandBuffer>)commands error:(NSError**)error {
|
||||
if(!commands)return NO;
|
||||
id<MTLComputePipelineState>pipeline=[self computePipeline:name entry:entry error:error];if(!pipeline)return NO;
|
||||
id<MTLCommandBuffer>cb=[entry[@"queue"]commandBuffer];id<MTLComputeCommandEncoder>ce=[cb computeCommandEncoder];[ce setComputePipelineState:pipeline];for(NSUInteger i=0;i<textures.count;i++)[ce setTexture:textures[i] atIndex:i];if(data)[ce setBytes:data length:length atIndex:0];if(extra)[ce setBytes:extra length:extraLength atIndex:1];id<MTLTexture>t=textures[0];[ce dispatchThreads:MTLSizeMake(t.width,t.height,1) threadsPerThreadgroup:MTLSizeMake(16,16,1)];[ce endEncoding];[cb commit];[cb waitUntilCompleted];return cb.status==MTLCommandBufferStatusCompleted?YES:fail(error,cb.error.localizedDescription);
|
||||
id<MTLComputeCommandEncoder>ce=[commands computeCommandEncoder];if(!ce)return fail(error,@"无法创建调色编码器");
|
||||
[ce setComputePipelineState:pipeline];
|
||||
for(NSUInteger i=0;i<textures.count;i++)[ce setTexture:textures[i] atIndex:i];
|
||||
if(data)[ce setBytes:data length:length atIndex:0];if(extra)[ce setBytes:extra length:extraLength atIndex:1];
|
||||
id<MTLTexture>t=textures[0];[ce dispatchThreads:MTLSizeMake(t.width,t.height,1) threadsPerThreadgroup:MTLSizeMake(16,16,1)];
|
||||
[ce endEncoding];return YES;
|
||||
}
|
||||
- (BOOL)managedConvert:(dycm::Space)from to:(dycm::Space)to display:(NSInteger)display gamut:(BOOL)gamut input:(id<MTLTexture>)input output:(id<MTLTexture>)output entry:(NSMutableDictionary*)entry error:(NSError**)error {
|
||||
- (BOOL)managedConvert:(dycm::Space)from to:(dycm::Space)to display:(NSInteger)display gamut:(BOOL)gamut input:(id<MTLTexture>)input output:(id<MTLTexture>)output entry:(NSMutableDictionary*)entry commands:(id<MTLCommandBuffer>)commands error:(NSError**)error {
|
||||
if(!commands)return NO;
|
||||
static std::mutex guard;static std::map<std::string,dycm::Transform>plans;
|
||||
std::string key=std::to_string(unsigned(from))+":"+std::to_string(unsigned(to))+":"+std::to_string(display)+":"+std::to_string(gamut);
|
||||
dycm::Transform transform=[&]{std::lock_guard<std::mutex>lock(guard);auto i=plans.find(key);if(i!=plans.end())return i->second;auto t=display?dycm::Transform::display(from,dycm::Output(display),gamut):dycm::Transform::convert(from,to);if(plans.size()>=48)plans.clear();plans.emplace(key,t);return t;}();
|
||||
DYColorManagementGPU*p=[[DYColorManagementGPUCache sharedCache]pipelineWithDevice:entry[@"device"] transform:transform resourceBudget:128*1024*1024 error:error];if(!p)return NO;id<MTLCommandBuffer>cb=[entry[@"queue"]commandBuffer];if(![p encodeInput:input output:output alpha:dycm::Alpha::Premultiplied commandBuffer:cb workspaceBudget:2ull*1024*1024*1024 error:error])return NO;[cb commit];[cb waitUntilCompleted];return cb.status==MTLCommandBufferStatusCompleted?YES:fail(error,cb.error.localizedDescription);
|
||||
DYColorManagementGPU*p=[[DYColorManagementGPUCache sharedCache]pipelineWithDevice:entry[@"device"] transform:transform resourceBudget:128*1024*1024 error:error];if(!p)return NO;return [p encodeInput:input output:output alpha:dycm::Alpha::Premultiplied commandBuffer:commands workspaceBudget:2ull*1024*1024*1024 error:error];
|
||||
}
|
||||
- (BOOL)managedProfile:(DYColorProfile*)profile input:(id<MTLTexture>)input output:(id<MTLTexture>)output entry:(NSMutableDictionary*)entry error:(NSError**)error {
|
||||
if(!profile)return NO;NSMutableDictionary*cache=entry[@"managedProfiles"];if(!cache){cache=[NSMutableDictionary dictionary];entry[@"managedProfiles"]=cache;}DYColorProfileGPU*p=cache[profile.key];if(!p){p=[[[DYColorProfileGPU alloc]initWithDevice:entry[@"device"] profile:profile error:error]autorelease];if(!p)return NO;if(cache.count>=16)[cache removeAllObjects];cache[profile.key]=p;}return [p renderInput:input output:output alpha:dycm::Alpha::Premultiplied workspaceBudget:2ull*1024*1024*1024 cancelled:nullptr error:error];
|
||||
@@ -91,7 +135,7 @@
|
||||
}
|
||||
- (BOOL)renderColorSource:(FxImageTile*)src destination:(FxImageTile*)dst uniforms:(DYUniforms)u paths:(NSDictionary*)paths spider:(NSData*)spider tools:(NSDictionary*)tools colorManagement:(NSDictionary*)state hostPrimaries:(NSInteger)primaries error:(NSError**)error {@synchronized(self){return DYRenderWithPool(error,[&]()->BOOL{
|
||||
if(state&&![state isKindOfClass:NSDictionary.class])return fail(error,@"色彩管理状态无效。");
|
||||
NSDictionary*context=DYHostColorContext(src,dst,primaries);@synchronized(_previewLock){[_colorContext release];_colorContext=[context copy];}
|
||||
[self updateHostColorContextFrom:src to:dst primaries:primaries];
|
||||
if([tools[@"mosaic"][@"enabled"]boolValue]){
|
||||
if(!DYValidToolDocument(tools))return fail(error,@"局部马赛克设置无效。");
|
||||
FxImageTile *mosaic=[self sourceByApplyingMosaic:tools source:src registry:dst.deviceRegistryID error:error];if(!mosaic)return NO;
|
||||
@@ -110,22 +154,23 @@
|
||||
if(DYPrimaryColorState(state))return [self renderPrimarySource:src destination:dst uniforms:u paths:paths spider:spider tools:tools hostPrimaries:primaries error:error];
|
||||
NSMutableDictionary*entry=[self device:dst.deviceRegistryID error:error];if(!entry)return NO;id<MTLDevice>d=entry[@"device"];id<MTLTexture>source=[src metalTextureForDevice:d];if(!source)return fail(error,@"色彩管理输入纹理不可用。");
|
||||
uint64_t pixels=uint64_t(source.width)*source.height;if(!pixels||pixels>64ull*1024*1024||pixels*16*8>MAX(768ull*1024*1024,MIN(2ull*1024*1024*1024,d.recommendedMaxWorkingSetSize/2)))return fail(error,@"当前画面超过色彩管理内存预算。");
|
||||
CGColorSpaceRef srcSpace=DYManagedTileSpace(src,primaries),dstSpace=DYManagedTileSpace(dst,primaries),aces=CGColorSpaceCreateWithName(kCGColorSpaceACESCGLinear),linear709=CGColorSpaceCreateWithName(kCGColorSpaceExtendedLinearSRGB);
|
||||
DYManagedBatch batch{entry[@"queue"],error};
|
||||
CGColorSpaceRef srcSpace=_renderSourceSpace,dstSpace=_renderDestinationSpace,aces=CGColorSpaceCreateWithName(kCGColorSpaceACESCGLinear),linear709=CGColorSpaceCreateWithName(kCGColorSpaceExtendedLinearSRGB);
|
||||
NSMutableArray*pool=[NSMutableArray array];id<MTLTexture>current=nil;
|
||||
auto next=[&](id<MTLTexture>exclude=nil)->id<MTLTexture>{for(id<MTLTexture>t in pool)if(t!=current&&t!=exclude)return t;MTLTextureDescriptor*td=[MTLTextureDescriptor texture2DDescriptorWithPixelFormat:MTLPixelFormatRGBA32Float width:source.width height:source.height mipmapped:NO];td.storageMode=MTLStorageModePrivate;td.usage=MTLTextureUsageShaderRead|MTLTextureUsageShaderWrite|MTLTextureUsageRenderTarget;id<MTLTexture>t=[d newTextureWithDescriptor:td];if(t){[pool addObject:t];[t release];}return t;};
|
||||
auto copy=[&](id<MTLTexture>input,id<MTLTexture>output){return input&&output&&[self managedDispatch:@"dyManagedCopy" textures:@[input,output] data:nullptr length:0 extra:nullptr extraLength:0 entry:entry error:error];};
|
||||
auto convert=[&](dycm::Space a,dycm::Space b,NSInteger display=0,BOOL gamut=NO){id<MTLTexture>out=next();if(!out)return fail(error,@"无法分配色彩管理缓冲区。");BOOL ok=[self managedConvert:a to:b display:display gamut:gamut input:current output:out entry:entry error:error];if(ok)current=out;return ok;};
|
||||
auto profile=[&](DYColorProfile*p){id<MTLTexture>out=next();if(!out)return fail(error,@"无法分配颜色配置缓冲区。");BOOL ok=[self managedProfile:p input:current output:out entry:entry error:error];if(ok)current=out;return ok;};
|
||||
auto copy=[&](id<MTLTexture>input,id<MTLTexture>output){return input&&output&&[self encodeManagedDispatch:@"dyManagedCopy" textures:@[input,output] data:nullptr length:0 extra:nullptr extraLength:0 entry:entry commands:batch.commands() error:error];};
|
||||
auto convert=[&](dycm::Space a,dycm::Space b,NSInteger display=0,BOOL gamut=NO){id<MTLTexture>out=next();if(!out)return fail(error,@"无法分配色彩管理缓冲区。");BOOL ok=[self managedConvert:a to:b display:display gamut:gamut input:current output:out entry:entry commands:batch.commands() error:error];if(ok)current=out;return ok;};
|
||||
auto profile=[&](DYColorProfile*p){if(!p)return NO;if(p.identity)return YES;if(!batch.finish())return NO;id<MTLTexture>out=next();if(!out)return fail(error,@"无法分配颜色配置缓冲区。");BOOL ok=[self managedProfile:p input:current output:out entry:entry error:error];if(ok)current=out;return ok;};
|
||||
auto tile=[&](id<MTLTexture>texture){DYExportTile*t=[[[DYExportTile alloc]initWithTexture:texture registry:d.registryID]autorelease];[t setBounds:src.tilePixelBounds origin:src.imageOrigin];[t setPixelAspect:src.pixelAspect];return t;};
|
||||
auto blend=[&](id<MTLTexture>before,NSArray*masks,NSString*type){if(!masks.count)return YES;id<MTLTexture>out=next(before);if(!out)return fail(error,@"无法分配工作空间蒙版缓冲区。");DYToolMaskHeader h{};id<MTLBuffer>mb=[self maskBuffer:@{type:masks} tile:src device:d header:&h];h.section=(int)[DYToolTypes()indexOfObject:type];id<MTLComputePipelineState>p=[self computePipeline:@"dyManagedBlend" entry:entry error:error];if(!mb||!p)return NO;id<MTLCommandBuffer>cb=[entry[@"queue"]commandBuffer];id<MTLComputeCommandEncoder>ce=[cb computeCommandEncoder];[ce setComputePipelineState:p];[ce setTexture:before atIndex:0];[ce setTexture:current atIndex:1];[ce setTexture:out atIndex:2];[ce setBuffer:mb offset:0 atIndex:0];[ce setBytes:&h length:sizeof(h) atIndex:1];[ce dispatchThreads:MTLSizeMake(source.width,source.height,1) threadsPerThreadgroup:MTLSizeMake(16,16,1)];[ce endEncoding];[cb commit];[cb waitUntilCompleted];if(cb.status!=MTLCommandBufferStatusCompleted)return fail(error,cb.error.localizedDescription);current=out;return YES;};
|
||||
auto basis=[&](DYUniforms values,NSArray*masks){values.cm.inputTransfer=values.cm.workingTransfer=values.cm.outputTransfer=1;values.cm.inputGamut=values.cm.workingGamut=values.cm.outputGamut=2;values.cm.toneMapping=0;values.inputSectionEnabled=values.cm.outputEnabled=0;if(values.primarySectionEnabled<.5||values.cm.basisEnabled<.5||identityCM(values)||values.cm.mix<=0)return YES;id<MTLTexture>before=current,out=next();BasisParams p=DYCMRender(values.cm).basis;float amount=values.cm.mix;if(!out||![self managedDispatch:@"dyManagedBasis" textures:@[current,out] data:&p length:sizeof(p) extra:&amount extraLength:4 entry:entry error:error])return NO;current=out;return blend(before,masks,@"primary");};
|
||||
auto print=[&](DYUniforms values,NSArray*masks){if(!DYFilmPrintActive(values))return YES;NSArray*names=@[@"",@"kodak_2383",@"kodak_2393",@"kodak_2302_bw",@"fuji_3510",@"fuji_3513",@"fuji_3519",@"fuji_3521",@"agfa_cp30"];NSString*path=[[NSBundle bundleForClass:self.class]pathForResource:names[(int)values.filmPrint.x] ofType:@"dylut" inDirectory:@"PrintLooks"];id<MTLTexture>cube=path?[self lut:path entry:entry error:error]:nil;if(!cube)return fail(error,@"印片资源不可用。");id<MTLTexture>before=current,out=next();float amount=values.filmPrint.y*values.film.mix;if(!out||![self managedDispatch:@"dyManagedPrint" textures:@[current,cube,out] data:&amount length:4 extra:nullptr extraLength:0 entry:entry error:error])return NO;current=out;return blend(before,masks,@"film");};
|
||||
auto blend=[&](id<MTLTexture>before,NSArray*masks,NSString*type){if(!masks.count)return YES;id<MTLTexture>out=next(before);if(!out)return fail(error,@"无法分配工作空间蒙版缓冲区。");DYToolMaskHeader h{};id<MTLBuffer>mb=[self maskBuffer:@{type:masks} tile:src device:d header:&h];h.section=(int)[DYToolTypes()indexOfObject:type];id<MTLComputePipelineState>p=[self computePipeline:@"dyManagedBlend" entry:entry error:error];if(!mb||!p)return NO;id<MTLComputeCommandEncoder>ce=[batch.commands() computeCommandEncoder];if(!ce)return fail(error,@"无法创建蒙版编码器");[ce setComputePipelineState:p];[ce setTexture:before atIndex:0];[ce setTexture:current atIndex:1];[ce setTexture:out atIndex:2];[ce setBuffer:mb offset:0 atIndex:0];[ce setBytes:&h length:sizeof(h) atIndex:1];[ce dispatchThreads:MTLSizeMake(source.width,source.height,1) threadsPerThreadgroup:MTLSizeMake(16,16,1)];[ce endEncoding];current=out;return YES;};
|
||||
auto basis=[&](DYUniforms values,NSArray*masks){values.cm.inputTransfer=values.cm.workingTransfer=values.cm.outputTransfer=1;values.cm.inputGamut=values.cm.workingGamut=values.cm.outputGamut=2;values.cm.toneMapping=0;values.inputSectionEnabled=values.cm.outputEnabled=0;if(values.primarySectionEnabled<.5||values.cm.basisEnabled<.5||identityCM(values)||values.cm.mix<=0)return YES;id<MTLTexture>before=current,out=next();BasisParams p=DYCMRender(values.cm).basis;float amount=values.cm.mix;if(!out||![self encodeManagedDispatch:@"dyManagedBasis" textures:@[current,out] data:&p length:sizeof(p) extra:&amount extraLength:4 entry:entry commands:batch.commands() error:error])return NO;current=out;return blend(before,masks,@"primary");};
|
||||
auto print=[&](DYUniforms values,NSArray*masks){if(!DYFilmPrintActive(values))return YES;NSArray*names=@[@"",@"kodak_2383",@"kodak_2393",@"kodak_2302_bw",@"fuji_3510",@"fuji_3513",@"fuji_3519",@"fuji_3521",@"agfa_cp30"];NSString*path=[[NSBundle bundleForClass:self.class]pathForResource:names[(int)values.filmPrint.x] ofType:@"dylut" inDirectory:@"PrintLooks"];id<MTLTexture>cube=path?[self lut:path entry:entry error:error]:nil;if(!cube)return fail(error,@"印片资源不可用。");id<MTLTexture>before=current,out=next();float amount=values.filmPrint.y*values.film.mix;if(!out||![self encodeManagedDispatch:@"dyManagedPrint" textures:@[current,cube,out] data:&amount length:4 extra:nullptr extraLength:0 entry:entry commands:batch.commands() error:error])return NO;current=out;return blend(before,masks,@"film");};
|
||||
@try{try{
|
||||
if(!dstSpace||(!srcSpace&&[state[@"mode"]integerValue]==1))return fail(error,@"宿主未提供明确颜色空间,无法使用新版管理。可切回旧版兼容。");
|
||||
id<MTLTexture>first=next();if(!copy(source,first))return NO;current=first;
|
||||
NSInteger mode=[state[@"mode"]integerValue],output=[state[@"output"]integerValue];
|
||||
if(mode==1){DYColorProfile*p=[[[DYColorProfile alloc]initWithSource:srcSpace target:aces error:error]autorelease];if(!profile(p)||!convert(dycm::Space::ACEScg,dycm::Space::ACEScct))return NO;}
|
||||
else {id<MTLTexture>out=next(),cube=entry[@"identity"];uint32_t useLUT=mode==3;if(useLUT){if(![paths[@"input"]length])return fail(error,@"请选择输入 LUT,并指定 LUT 输出空间。");cube=[self lut:paths[@"input"] entry:entry error:error];if(!cube)return NO;}if(!out||![self managedDispatch:@"dyManagedCarrier" textures:@[current,out,cube] data:&useLUT length:4 extra:nullptr extraLength:0 entry:entry error:error])return NO;current=out;if(!convert(dycm::Space([state[@"input"]unsignedIntValue]),dycm::Space::ACEScct))return NO;}
|
||||
else {id<MTLTexture>out=next(),cube=entry[@"identity"];uint32_t useLUT=mode==3;if(useLUT){if(![paths[@"input"]length])return fail(error,@"请选择输入 LUT,并指定 LUT 输出空间。");cube=[self lut:paths[@"input"] entry:entry error:error];if(!cube)return NO;}if(!out||![self encodeManagedDispatch:@"dyManagedCarrier" textures:@[current,out,cube] data:&useLUT length:4 extra:nullptr extraLength:0 entry:entry commands:batch.commands() error:error])return NO;current=out;if(!convert(dycm::Space([state[@"input"]unsignedIntValue]),dycm::Space::ACEScct))return NO;}
|
||||
DYApplyRemovedBaseTools(&u,tools);if(!basis(u,tools[@"baseMasks"][@"primary"]))return NO;
|
||||
NSMutableDictionary*finishing=DYMutablePlist(tools);NSMutableSet*sceneLayers=[NSMutableSet set];
|
||||
for(NSString*ID in DYToolDisplayOrder(tools)){NSDictionary*node=DYToolWithID(tools,ID);if([node[@"type"]isEqual:@"primary"]){if(!basis(DYToolUniforms(node),node[@"masks"]))return NO;[sceneLayers addObject:ID];}}
|
||||
@@ -140,10 +185,19 @@
|
||||
NSDictionary *finishPaths=DYVisibleBaseToolPaths(paths,finishing);
|
||||
NSArray *activeFinish=DYManagedActiveFinishing(u,finishPaths,spider,finishing);
|
||||
if(((mode!=1&&(output==6||output==7))||(mode==1&&primaries==kFxColorPrimaries_Rec2020))&&activeFinish.count)return fail(error,@"HDR 输出或跟随 Rec.2020 宿主时,目前支持一级调色与印片。请关闭 SDR 修饰工具;需要这些工具时,请明确选择 SDR 输出。");
|
||||
[self managedPreview:current origin:src.imageOrigin entry:entry];
|
||||
if(activeFinish.count){id<MTLTexture>out=next();if(!out)return fail(error,@"无法分配显示域修饰缓冲区。");_managedFinishing=YES;BOOL ok=NO;@try{ok=[self renderSource:tile(current) destination:tile(out) uniforms:u paths:finishPaths spider:spider tools:finishing error:error];}@finally{_managedFinishing=NO;}if(!ok)return NO;current=out;}
|
||||
DYColorProfile*returnProfile=[[[DYColorProfile alloc]initWithSource:linear709 target:dstSpace error:error]autorelease];if(!profile(returnProfile))return NO;
|
||||
_managedFinishing=YES;@try{return [self copyTile:tile(current) to:dst entry:entry error:error];}@finally{_managedFinishing=NO;}
|
||||
}catch(const std::exception&e){return fail(error,@(e.what()));}}@finally{if(srcSpace)CGColorSpaceRelease(srcSpace);if(dstSpace)CGColorSpaceRelease(dstSpace);if(aces)CGColorSpaceRelease(aces);if(linear709)CGColorSpaceRelease(linear709);}
|
||||
auto preview=[self encodeManagedPreview:current source:src entry:entry commands:batch.commands()];
|
||||
if(activeFinish.count){
|
||||
if(!batch.finish())return NO;
|
||||
[self publishManagedPreview:preview];preview={};
|
||||
id<MTLTexture>out=next();if(!out)return fail(error,@"无法分配显示域修饰缓冲区。");_managedFinishing=YES;BOOL ok=NO;@try{ok=[self renderSource:tile(current) destination:tile(out) uniforms:u paths:finishPaths spider:spider tools:finishing error:error];}@finally{_managedFinishing=NO;}if(!ok)return NO;current=out;
|
||||
}
|
||||
if(!profile([self managedOutputProfile:error]))return NO;
|
||||
_managedFinishing=YES;
|
||||
@try{
|
||||
BOOL ok=[self copyTile:tile(current) to:dst rotation:0 entry:entry commands:batch.commands() error:error];
|
||||
if(ok)[self publishManagedPreview:preview];
|
||||
return ok;
|
||||
}@finally{_managedFinishing=NO;}
|
||||
}catch(const std::exception&e){return fail(error,@(e.what()));}}@finally{if(aces)CGColorSpaceRelease(aces);if(linear709)CGColorSpaceRelease(linear709);}
|
||||
});}}
|
||||
- (BOOL)exportLUT:(NSURL*)url uniforms:(DYUniforms)u paths:(NSDictionary*)paths spider:(NSData*)spider tools:(NSDictionary*)tools colorManagement:(NSDictionary*)state error:(NSError**)error {@synchronized(self){if(state&&![state isKindOfClass:NSDictionary.class])return fail(error,@"色彩管理状态无效。");if(state.count&&!DYManagedColorValid(state,error))return NO;if(state.count&&[state[@"mode"]integerValue]!=1&&[@[@6,@7]containsObject:state[@"output"]])return fail(error,@"PQ/HLG 交付需要明确的亮度与范围,请保存完整预设;当前静态 Cube 输出为 sRGB。");if(state.count){auto spatial=[](DYUniforms v){return v.baseSectionEnabled>.5&&((v.textureEnabled>.5&&v.texture!=0)||(v.clarityEnabled>.5&&v.clarity!=0)||(v.dehazeEnabled>.5&&v.dehaze!=0));};BOOL unsupported=spatial(u);for(NSDictionary *node in tools[@"layers"])unsupported|=spatial(DYToolUniforms(node));if(unsupported)return fail(error,@"纹理、清晰度或去朦胧依赖画面内容,不能完整保存到 Cube;请保存完整预设。");}_exportManagedState=state.count?state:nil;@try{return [self exportLUT:url uniforms:u paths:paths spider:spider tools:tools error:error];}@finally{_exportManagedState=nil;}}}
|
||||
@@ -24,7 +24,16 @@
|
||||
if(!ok){if(raster)CFRelease(raster);CGImageRelease(cg);return nil;}
|
||||
[boxes sortUsingComparator:^NSComparisonResult(NSArray *a,NSArray *b){NSComparisonResult x=[a[0]compare:b[0]];return x==NSOrderedSame?[a[1]compare:b[1]]:x;}];
|
||||
std::vector<DYToolMaskEntry> entries;
|
||||
for(NSArray *box in boxes){DYToolMaskEntry m{};m.section=-102;m.mask.parameters=dyDefaultMaskParameters();auto &p=m.mask.parameters;p.kind=DYMaskRectangle;p.centerX=[box[0]floatValue];p.centerY=[box[1]floatValue];p.width=[box[2]floatValue];p.height=[box[3]floatValue];p.feather=0;entries.push_back(m);}
|
||||
for(NSArray *box in boxes){
|
||||
DYToolMaskEntry m{};m.section=-102;m.mask.parameters=dyDefaultMaskParameters();
|
||||
auto &p=m.mask.parameters;p.kind=DYMaskRectangle;
|
||||
p.centerX=[box[0]floatValue];p.centerY=[box[1]floatValue];
|
||||
p.width=[box[2]floatValue];p.height=[box[3]floatValue];p.feather=0;
|
||||
constexpr float padding=1e-5f;
|
||||
m.minX=p.centerX-p.width*.5f-padding;m.maxX=p.centerX+p.width*.5f+padding;
|
||||
m.minY=p.centerY-p.height*.5f-padding;m.maxY=p.centerY+p.height*.5f+padding;
|
||||
entries.push_back(m);
|
||||
}
|
||||
[_mosaicEntries release];_mosaicEntries=[[NSData alloc]initWithBytes:entries.data() length:entries.size()*sizeof(DYToolMaskEntry)];
|
||||
[_mosaicRaster release];_mosaicRaster=raster?[(NSData*)raster copy]:nil;
|
||||
}
|
||||
@@ -46,10 +55,11 @@
|
||||
if(!face&&!masks.count)return src;
|
||||
NSMutableDictionary *entry=[self device:registry error:error];if(!entry)return nil;
|
||||
NSData *faces=face?[self mosaicFaces:src time:tools[@"renderTime"] error:error]:nil;if(face&&!faces){fail(error,@"当前帧人脸识别失败,请重试或改用跟踪蒙版。");return nil;}
|
||||
if(face&&!faces.length)return src;
|
||||
DYToolMaskHeader header{};header.section=face?-102:0;
|
||||
id<MTLDevice>device=entry[@"device"];id<MTLTexture>input=[src metalTextureForDevice:device];
|
||||
NSData *skinEntries=_faceEntries;_faceEntries=faces;
|
||||
id<MTLBuffer>buffer=[self maskBuffer:face?@{}:@{@"primary":masks} tile:src device:device header:&header];_faceEntries=skinEntries;
|
||||
id<MTLBuffer>buffer=[self maskBuffer:face?@{}:@{@"primary":masks} tile:src device:device header:&header mosaic:YES];_faceEntries=skinEntries;
|
||||
MTLTextureDescriptor *desc=[MTLTextureDescriptor texture2DDescriptorWithPixelFormat:MTLPixelFormatRGBA32Float width:input.width height:input.height mipmapped:NO];desc.storageMode=MTLStorageModePrivate;desc.usage=MTLTextureUsageShaderRead|MTLTextureUsageShaderWrite;
|
||||
id<MTLTexture>output=[[device newTextureWithDescriptor:desc]autorelease];
|
||||
id<MTLComputePipelineState>pipeline=[self computePipeline:@"dyLocalMosaic" entry:entry error:error];
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
@property(nonatomic,assign) id<DYGraphicDelegate> delegate;
|
||||
- (void)setMesh:(NSData *)mesh linked:(BOOL)linked;
|
||||
- (void)setScopeRenderer:(DYRenderer *)renderer;
|
||||
- (void)finishGesture;
|
||||
@end
|
||||
@implementation DYSpiderPanel {
|
||||
DYSpiderDisc *_disc; NSPopUpButton *_hues,*_saturation; NSButton *_link;
|
||||
@@ -16,8 +17,8 @@
|
||||
if((self=[super initWithFrame:frame])){
|
||||
_linked=YES;_disc=[[DYSpiderDisc alloc]initWithFrame:NSZeroRect];[self addSubview:_disc];
|
||||
__block DYSpiderPanel *owner=self;
|
||||
_disc.changed=^(DYGrade g,NSData *pins){if(owner.delegate)[owner.delegate writeSpiderMesh:owner->_disc.meshData linked:owner->_linked];};
|
||||
_disc.gesture=^(BOOL begin){[owner.delegate graphicGesture:begin title:@"调整蜘蛛盘"];};
|
||||
_disc.changed=^(NSData *mesh){[owner.delegate writeSpiderMesh:mesh linked:owner->_linked];};
|
||||
_disc.gesture=^(BOOL begin){[owner.delegate spiderGesture:begin];};
|
||||
_status=[DYLabel(@"拖动一点,同列自由点联动。⌘ 多选,Shift 固定,右键复位。",10)retain];_status.maximumNumberOfLines=2;[self addSubview:_status];
|
||||
_disc.selectionChanged=^(NSString *text){owner->_status.stringValue=text;};
|
||||
for(int axis=0;axis<2;axis++){
|
||||
@@ -32,6 +33,7 @@
|
||||
}return self;
|
||||
}
|
||||
- (void)dealloc{_disc.changed=nil;_disc.gesture=nil;_disc.selectionChanged=nil;[_disc release];[_hues release];[_saturation release];[_link release];[_status release];[super dealloc];}
|
||||
- (void)finishGesture{[_disc finishGesture];}
|
||||
- (void)setScopeRenderer:(DYRenderer *)renderer{_disc.scopeRenderer=renderer;}
|
||||
- (void)setMesh:(NSData *)data linked:(BOOL)linked{auto m=DYSpiderMesh(data);_disc.meshData=[NSData dataWithBytes:&m length:sizeof(m)];_linked=linked;[_hues selectItemWithTag:m.hues];[_saturation selectItemWithTag:m.rings+1];_link.state=linked?NSControlStateValueOn:NSControlStateValueOff;}
|
||||
- (void)layout{[super layout];CGFloat w=self.bounds.size.width;
|
||||
|
||||
@@ -9,9 +9,24 @@ kernel void dyPrimaryGrade(texture2d<float,access::read> a [[texture(0)]],textur
|
||||
if(any(xy>=uint2(b.get_width(),b.get_height())))return;float4 c=a.read(xy);if(c.a>0){float4 v=float4(c.rgb/c.a,1);if(p.stages&1)v=cst_float_air(v,p.input);if(p.stages&2){if(p.reserved&8)v=cst_float_air(v,p.basisInput);v=basis_float_air(v,p.basis);if(p.reserved&8)v=cst_float_air(v,p.basisOutput);}if(p.stages&4)v=cst_float_air(v,p.output);if(back.inputTransfer!=back.outputTransfer||back.inputGamut!=back.outputGamut||back.toneMapping)v=cst_float_air(v,back);c.rgb=v.rgb*c.a;}b.write(c,xy);
|
||||
}
|
||||
kernel void dyPrimaryBlend(texture2d<float,access::read> before [[texture(0)]],texture2d<float,access::read> after [[texture(1)]],texture2d<float,access::write> output [[texture(2)]],device const DYToolMaskEntry* masks [[buffer(0)]],constant DYToolMaskHeader& h [[buffer(1)]],constant DYCSTMixParams& p [[buffer(2)]],uint2 xy [[thread_position_in_grid]]){
|
||||
if(any(xy>=uint2(output.get_width(),output.get_height())))return;float4 a=before.read(xy),b=after.read(xy);if(!(a.a>0)||!(b.a>0)){output.write(a,xy);return;}float3 ac=cst_float_air(float4(a.rgb/a.a,1),p.toLinear).rgb,bc=cst_float_air(float4(b.rgb/b.a,1),p.toLinear).rgb;
|
||||
float2 uv=(float2(xy)+.5f)/float2(output.get_width(),output.get_height());float w=p.amount;if(h.count)w*=dyToolCoverage(uv,dyToolEncode(cst_float_air(float4(ac,1),dyPrimaryAP1To709).rgb),masks,h,h.section);
|
||||
if(w<=0){output.write(a,xy);return;}if(w>=1){output.write(b,xy);return;}output.write(float4(cst_float_air(float4(mix(ac,bc,w),1),p.fromLinear).rgb*a.a,a.a),xy);
|
||||
if(any(xy>=uint2(output.get_width(),output.get_height())))return;
|
||||
float4 a=before.read(xy),b=after.read(xy);
|
||||
if(!(a.a>0)||!(b.a>0)){output.write(a,xy);return;}
|
||||
float3 ac=0,code=0;
|
||||
if(h.keySources){
|
||||
ac=cst_float_air(float4(a.rgb/a.a,1),p.toLinear).rgb;
|
||||
code=dyToolEncode(cst_float_air(float4(ac,1),dyPrimaryAP1To709).rgb);
|
||||
}
|
||||
float w=p.amount;
|
||||
if(h.count){
|
||||
float2 uv=(float2(xy)+.5f)/float2(output.get_width(),output.get_height());
|
||||
w*=dyToolCoverage(uv,code,masks,h,h.section);
|
||||
}
|
||||
if(w<=0){output.write(a,xy);return;}
|
||||
if(w>=1){output.write(b,xy);return;}
|
||||
if(!h.keySources)ac=cst_float_air(float4(a.rgb/a.a,1),p.toLinear).rgb;
|
||||
float3 bc=cst_float_air(float4(b.rgb/b.a,1),p.toLinear).rgb;
|
||||
output.write(float4(cst_float_air(float4(mix(ac,bc,w),1),p.fromLinear).rgb*a.a,a.a),xy);
|
||||
}
|
||||
kernel void dyPrimaryCodeOutput(texture2d<float,access::read> a [[texture(0)]],texture2d<float,access::write> b [[texture(1)]],uint2 xy [[thread_position_in_grid]]){
|
||||
if(any(xy>=uint2(b.get_width(),b.get_height())))return;float4 c=a.read(xy);if(c.a>0)c.rgb=dyDecode(c.rgb/c.a)*c.a;b.write(c,xy);
|
||||
|
||||
@@ -5,24 +5,25 @@
|
||||
// their established unmanaged host workflow rather than inheriting a Log tag.
|
||||
if(u.primarySectionEnabled<.5||DYBaseToolRemoved(tools,@"primary"))return [self renderSource:src destination:dst uniforms:u paths:paths spider:spider tools:tools error:error];
|
||||
NSMutableDictionary*entry=[self device:dst.deviceRegistryID error:error];if(!entry)return NO;id<MTLDevice>d=entry[@"device"];id<MTLTexture>source=[src metalTextureForDevice:d];if(!source)return fail(error,@"一级 CST 输入纹理不可用。");
|
||||
DYManagedBatch batch{entry[@"queue"],error};
|
||||
uint64_t pixels=uint64_t(source.width)*source.height;if(!pixels||pixels>64ull*1024*1024||pixels*16*8>MAX(768ull*1024*1024,MIN(2ull*1024*1024*1024,d.recommendedMaxWorkingSetSize/2)))return fail(error,@"当前画面超过一级 CST 内存预算。");
|
||||
DYApplyRemovedBaseTools(&u,tools);BOOL root=u.primarySectionEnabled>.5;BOOL transparent=identityCM(u)&&!DYFilmPrintActive(u);int wt=lroundf(u.cm.workingTransfer),wg=lroundf(u.cm.workingGamut);
|
||||
NSMutableArray*pool=[NSMutableArray array];NSMutableSet*pinned=[NSMutableSet set];id<MTLTexture>current=nil;
|
||||
auto next=[&]()->id<MTLTexture>{for(id<MTLTexture>t in pool)if(t!=current&&![pinned containsObject:t])return t;MTLTextureDescriptor*td=[MTLTextureDescriptor texture2DDescriptorWithPixelFormat:MTLPixelFormatRGBA32Float width:source.width height:source.height mipmapped:NO];td.storageMode=MTLStorageModePrivate;td.usage=MTLTextureUsageShaderRead|MTLTextureUsageShaderWrite|MTLTextureUsageRenderTarget;id<MTLTexture>t=[d newTextureWithDescriptor:td];if(t){[pool addObject:t];[t release];}return t;};
|
||||
auto dispatch=[&](NSString*name,const void*params,NSUInteger length,const void*extra=nullptr,NSUInteger extraLength=0){id<MTLTexture>out=next();if(!out)return fail(error,@"无法分配一级 CST 缓冲区。");BOOL ok=[self managedDispatch:name textures:@[current,out] data:params length:length extra:extra extraLength:extraLength entry:entry error:error];if(ok)current=out;return ok;};
|
||||
auto dispatch=[&](NSString*name,const void*params,NSUInteger length,const void*extra=nullptr,NSUInteger extraLength=0){id<MTLTexture>out=next();if(!out)return fail(error,@"无法分配一级 CST 缓冲区。");BOOL ok=[self encodeManagedDispatch:name textures:@[current,out] data:params length:length extra:extra extraLength:extraLength entry:entry commands:batch.commands() error:error];if(ok)current=out;return ok;};
|
||||
auto transform=[&](CSTParams p){if(p.inputTransfer==p.outputTransfer&&p.inputGamut==p.outputGamut&&!p.toneMapping)return YES;return dispatch(@"dyPrimaryCST",&p,sizeof(p));};
|
||||
auto tile=[&](id<MTLTexture>t){DYExportTile*v=[[[DYExportTile alloc]initWithTexture:t registry:d.registryID]autorelease];[v setBounds:src.tilePixelBounds origin:src.imageOrigin];[v setPixelAspect:src.pixelAspect];return v;};
|
||||
auto blend=[&](id<MTLTexture>before,NSArray*masks,float amount,NSString*type){if(!masks.count&&amount>=1)return YES;id<MTLTexture>out=next();if(!out)return fail(error,@"无法分配一级混合缓冲区。");DYToolMaskHeader h{};id<MTLBuffer>mb=[self maskBuffer:@{type:masks?:@[]} tile:src device:d header:&h];h.section=(int)[DYToolTypes()indexOfObject:type];DYCSTMixParams p={{wg,wt,2,20,0},{2,20,wg,wt,0},amount};id<MTLComputePipelineState>pipeline=[self computePipeline:@"dyPrimaryBlend" entry:entry error:error];if(!pipeline||!mb)return NO;id<MTLCommandBuffer>cb=[entry[@"queue"]commandBuffer];id<MTLComputeCommandEncoder>ce=[cb computeCommandEncoder];[ce setComputePipelineState:pipeline];[ce setTexture:before atIndex:0];[ce setTexture:current atIndex:1];[ce setTexture:out atIndex:2];[ce setBuffer:mb offset:0 atIndex:0];[ce setBytes:&h length:sizeof(h) atIndex:1];[ce setBytes:&p length:sizeof(p) atIndex:2];[ce dispatchThreads:MTLSizeMake(source.width,source.height,1) threadsPerThreadgroup:MTLSizeMake(16,16,1)];[ce endEncoding];[cb commit];[cb waitUntilCompleted];if(cb.status!=MTLCommandBufferStatusCompleted)return fail(error,cb.error.localizedDescription);current=out;return YES;};
|
||||
auto blend=[&](id<MTLTexture>before,NSArray*masks,float amount,NSString*type){if(!masks.count&&amount>=1)return YES;id<MTLTexture>out=next();if(!out)return fail(error,@"无法分配一级混合缓冲区。");DYToolMaskHeader h{};id<MTLBuffer>mb=[self maskBuffer:@{type:masks?:@[]} tile:src device:d header:&h];h.section=(int)[DYToolTypes()indexOfObject:type];DYCSTMixParams p={{wg,wt,2,20,0},{2,20,wg,wt,0},amount};id<MTLComputePipelineState>pipeline=[self computePipeline:@"dyPrimaryBlend" entry:entry error:error];if(!pipeline||!mb)return NO;id<MTLCommandBuffer>commands=batch.commands();if(!commands)return NO;id<MTLComputeCommandEncoder>ce=[commands computeCommandEncoder];if(!ce)return fail(error,@"无法创建一级混合编码器");[ce setComputePipelineState:pipeline];[ce setTexture:before atIndex:0];[ce setTexture:current atIndex:1];[ce setTexture:out atIndex:2];[ce setBuffer:mb offset:0 atIndex:0];[ce setBytes:&h length:sizeof(h) atIndex:1];[ce setBytes:&p length:sizeof(p) atIndex:2];[ce dispatchThreads:MTLSizeMake(source.width,source.height,1) threadsPerThreadgroup:MTLSizeMake(16,16,1)];[ce endEncoding];current=out;return YES;};
|
||||
auto grade=[&](DYUniforms values,NSArray*masks,BOOL local){if(values.primarySectionEnabled<.5||values.cm.mix<=0)return YES;DYUniforms neutral=values;neutral.inputSectionEnabled=neutral.cm.outputEnabled=0;BOOL gradeNeutral=identityCM(neutral);if(!local&&gradeNeutral)return YES;if(local&&identityCM(values))return YES;
|
||||
DayuRenderParams p=DYCMRender(values.cm);p.input.toneMapping=0;if((int)lroundf(values.cm.workingTransfer)==20){p.reserved|=8;p.basis.colorspace=10;p.basisInput={(int)lroundf(values.cm.workingGamut),20,(int)lroundf(values.cm.workingGamut),10,0};p.basisOutput={(int)lroundf(values.cm.workingGamut),10,(int)lroundf(values.cm.workingGamut),20,0};}CSTParams back={wg,wt,wg,wt,0};
|
||||
if(local){p.stages=(values.inputSectionEnabled>.5?1:0)|(gradeNeutral?0:2)|(values.cm.outputEnabled>.5?4:0);back={values.cm.outputEnabled>.5?(int)lroundf(values.cm.outputGamut):(int)lroundf(values.cm.workingGamut),values.cm.outputEnabled>.5?(int)lroundf(values.cm.outputTransfer):(int)lroundf(values.cm.workingTransfer),wg,wt,0};}
|
||||
else{p.stages=2;}
|
||||
id<MTLTexture>before=current;[pinned addObject:before];BOOL ok=dispatch(@"dyPrimaryGrade",&p,sizeof(p),&back,sizeof(back));if(ok)ok=blend(before,masks,values.cm.mix,@"primary");[pinned removeObject:before];return ok;
|
||||
};
|
||||
auto print=[&](DYUniforms values,NSArray*masks){if(!DYFilmPrintActive(values))return YES;NSArray*names=@[@"",@"kodak_2383",@"kodak_2393",@"kodak_2302_bw",@"fuji_3510",@"fuji_3513",@"fuji_3519",@"fuji_3521",@"agfa_cp30"];NSString*path=[[NSBundle bundleForClass:self.class]pathForResource:names[(int)values.filmPrint.x] ofType:@"dylut" inDirectory:@"PrintLooks"];id<MTLTexture>cube=path?[self lut:path entry:entry error:error]:nil;if(!cube)return fail(error,@"印片资源不可用。");id<MTLTexture>before=current;[pinned addObject:before];BOOL ok=transform({wg,wt,2,1,0});float amount=values.filmPrint.y*values.film.mix;if(ok){id<MTLTexture>out=next();ok=out&&[self managedDispatch:@"dyManagedPrint" textures:@[current,cube,out] data:&amount length:4 extra:nullptr extraLength:0 entry:entry error:error];if(ok)current=out;}if(ok)ok=transform({2,1,wg,wt,0});if(ok)ok=blend(before,masks,1,@"film");[pinned removeObject:before];return ok;};
|
||||
auto print=[&](DYUniforms values,NSArray*masks){if(!DYFilmPrintActive(values))return YES;NSArray*names=@[@"",@"kodak_2383",@"kodak_2393",@"kodak_2302_bw",@"fuji_3510",@"fuji_3513",@"fuji_3519",@"fuji_3521",@"agfa_cp30"];NSString*path=[[NSBundle bundleForClass:self.class]pathForResource:names[(int)values.filmPrint.x] ofType:@"dylut" inDirectory:@"PrintLooks"];id<MTLTexture>cube=path?[self lut:path entry:entry error:error]:nil;if(!cube)return fail(error,@"印片资源不可用。");id<MTLTexture>before=current;[pinned addObject:before];BOOL ok=transform({wg,wt,2,1,0});float amount=values.filmPrint.y*values.film.mix;if(ok){id<MTLTexture>out=next();ok=out&&[self encodeManagedDispatch:@"dyManagedPrint" textures:@[current,cube,out] data:&amount length:4 extra:nullptr extraLength:0 entry:entry commands:batch.commands() error:error];if(ok)current=out;}if(ok)ok=transform({2,1,wg,wt,0});if(ok)ok=blend(before,masks,1,@"film");[pinned removeObject:before];return ok;};
|
||||
// Recover only the pre-existing explicit code-value carrier. No display
|
||||
// transform or host-profile-to-709 conversion precedes the declared input.
|
||||
current=source;id<MTLTexture>carrier=next();uint32_t noLUT=0;if(!carrier||![self managedDispatch:@"dyManagedCarrier" textures:@[current,carrier,entry[@"identity"]] data:&noLUT length:4 extra:nullptr extraLength:0 entry:entry error:error])return NO;current=carrier;
|
||||
current=source;id<MTLTexture>carrier=next();uint32_t noLUT=0;if(!carrier||![self encodeManagedDispatch:@"dyManagedCarrier" textures:@[current,carrier,entry[@"identity"]] data:&noLUT length:4 extra:nullptr extraLength:0 entry:entry commands:batch.commands() error:error])return NO;current=carrier;
|
||||
if(root&&u.inputSectionEnabled>.5&&!transform({(int)lroundf(u.cm.inputGamut),(int)lroundf(u.cm.inputTransfer),wg,wt,0}))return NO;
|
||||
if(!grade(u,tools[@"baseMasks"][@"primary"],NO))return NO;
|
||||
NSMutableDictionary*finishing=DYMutablePlist(tools);NSMutableSet*scene=[NSMutableSet set];for(NSString*ID in DYToolDisplayOrder(tools)){NSDictionary*node=DYToolWithID(tools,ID);if([node[@"type"]isEqual:@"primary"]){transparent&=identityCM(DYToolUniforms(node));if(!grade(DYToolUniforms(node),node[@"masks"],YES))return NO;[scene addObject:ID];}}
|
||||
@@ -34,9 +35,42 @@
|
||||
u.primarySectionEnabled=0;u.cm.configured=-1;u.inputProfile=u.preLUTStrength=0;u.filmPrint.x=0;NSDictionary*finishPaths=DYVisibleBaseToolPaths(paths,finishing);NSArray*activeFinish=DYPrimaryActiveFinishing(u,finishPaths,spider,finishing);
|
||||
BOOL display=outputEnabled&&ot>=1001&&ot<=1003;
|
||||
if(!display&&activeFinish.count)return fail(error,@"当前是 Log/线性码值输出。SDR 修饰工具需要显示输出,请选择 Gamma 输出,或关闭这些工具并保存完整预设。");
|
||||
if(!display&&transparent&&!activeFinish.count){current=source;[self managedPreview:current origin:src.imageOrigin entry:entry];}else if(display&&_exporting&&!activeFinish.count){if(!dispatch(@"dyPrimaryCodeOutput",nullptr,0))return NO;}else if(display){if(!transform({og,ot,22,20,0}))return NO;[self managedPreview:current origin:src.imageOrigin entry:entry];
|
||||
if(activeFinish.count){id<MTLTexture>out=next();if(!out)return fail(error,@"无法分配 SDR 修饰缓冲区。");_managedFinishing=YES;BOOL ok=NO;@try{ok=[self renderSource:tile(current) destination:tile(out) uniforms:u paths:finishPaths spider:spider tools:finishing error:error];}@finally{_managedFinishing=NO;}if(!ok)return NO;current=out;}
|
||||
if(_exporting){if(!transform({22,20,og,ot,0})||!dispatch(@"dyPrimaryCodeOutput",nullptr,0))return NO;}else{CGColorSpaceRef from=CGColorSpaceCreateWithName(kCGColorSpaceExtendedLinearSRGB),to=DYManagedTileSpace(dst,primaries);DYColorProfile*p=to?[[[DYColorProfile alloc]initWithSource:from target:to error:error]autorelease]:nil;CGColorSpaceRelease(from);if(to)CGColorSpaceRelease(to);if(!p)return fail(error,@"宿主未提供明确的目标颜色空间。");id<MTLTexture>out=next();if(!out||![self managedProfile:p input:current output:out entry:entry error:error])return NO;current=out;}
|
||||
}else{if(!dispatch(@"dyPrimaryCodeOutput",nullptr,0))return NO;[self managedPreview:current origin:src.imageOrigin entry:entry];}
|
||||
_managedFinishing=YES;@try{return [self copyTile:tile(current) to:dst entry:entry error:error];}@finally{_managedFinishing=NO;}
|
||||
DYManagedPreviewReadback preview{};
|
||||
if(!display&&transparent&&!activeFinish.count){
|
||||
current=source;
|
||||
preview=[self encodeManagedPreview:current source:src entry:entry commands:batch.commands()];
|
||||
}else if(display&&_exporting&&!activeFinish.count){
|
||||
if(!dispatch(@"dyPrimaryCodeOutput",nullptr,0))return NO;
|
||||
}else if(display){
|
||||
if(!transform({og,ot,22,20,0}))return NO;
|
||||
preview=[self encodeManagedPreview:current source:src entry:entry commands:batch.commands()];
|
||||
if(activeFinish.count){
|
||||
if(!batch.finish())return NO;
|
||||
[self publishManagedPreview:preview];preview={};
|
||||
id<MTLTexture>out=next();if(!out)return fail(error,@"无法分配 SDR 修饰缓冲区。");
|
||||
_managedFinishing=YES;BOOL ok=NO;
|
||||
@try{ok=[self renderSource:tile(current) destination:tile(out) uniforms:u paths:finishPaths spider:spider tools:finishing error:error];}
|
||||
@finally{_managedFinishing=NO;}
|
||||
if(!ok)return NO;current=out;
|
||||
}
|
||||
if(_exporting){
|
||||
if(!transform({22,20,og,ot,0})||!dispatch(@"dyPrimaryCodeOutput",nullptr,0))return NO;
|
||||
}else{
|
||||
DYColorProfile *profile=[self managedOutputProfile:error];if(!profile)return NO;
|
||||
if(!profile.identity){
|
||||
if(!batch.finish())return NO;
|
||||
id<MTLTexture>out=next();if(!out||![self managedProfile:profile input:current output:out entry:entry error:error])return NO;
|
||||
current=out;
|
||||
}
|
||||
}
|
||||
}else{
|
||||
if(!dispatch(@"dyPrimaryCodeOutput",nullptr,0))return NO;
|
||||
preview=[self encodeManagedPreview:current source:src entry:entry commands:batch.commands()];
|
||||
}
|
||||
_managedFinishing=YES;
|
||||
@try{
|
||||
BOOL ok=[self copyTile:tile(current) to:dst rotation:0 entry:entry commands:batch.commands() error:error];
|
||||
if(ok)[self publishManagedPreview:preview];
|
||||
return ok;
|
||||
}@finally{_managedFinishing=NO;}
|
||||
}
|
||||
+4
-3
@@ -24,9 +24,10 @@
|
||||
- (NSData*)outputSpiderScope;
|
||||
/// Exact-time final output for the OSC, cached per sample.
|
||||
- (NSData*)canvasSpiderScopeAtTime:(CMTime)time;
|
||||
/// Display-encoded float RGBA, 320×180, with the visually top row first.
|
||||
/// Analysis preview retains the host texture's original row order separately.
|
||||
- (NSData*)lookLUTPreview;
|
||||
/// Display-encoded float RGBA ("standard", "high") and matching NSSize values
|
||||
/// ("standardSize", "highSize") from one capture, with the visual top row first.
|
||||
/// Host captures also carry the playhead time in seconds as "time".
|
||||
- (NSDictionary*)lookLUTPreviewFrames;
|
||||
- (void)invalidatePreview;
|
||||
/// Conversion/statistics run while visible; retain one small final-output
|
||||
/// sample per instance so opening a paused workspace needs no parameter edit.
|
||||
|
||||
+112
-18
@@ -1,3 +1,4 @@
|
||||
#import "DYLookPreview.h"
|
||||
#include "DYScopeDisplayTime.h"
|
||||
#import <os/log.h>
|
||||
#import "DYManagedColor.h"
|
||||
@@ -26,6 +27,36 @@
|
||||
#import "DYScopeSample.h"
|
||||
#include "DYLevelGeometry.h"
|
||||
static BOOL fail(NSError**e,NSString*m){if(e)*e=[NSError errorWithDomain:@"com.dayu.color" code:1 userInfo:@{NSLocalizedDescriptionKey:m?:@"Metal 调色失败"}];return NO;}
|
||||
// Keep a bounded group of ordered GPU passes. A CPU reader or another
|
||||
// queue finishes the group before accessing its result.
|
||||
struct DYManagedBatch {
|
||||
id<MTLCommandQueue> queue;
|
||||
NSError **error;
|
||||
id<MTLCommandBuffer> pending=nil;
|
||||
unsigned passes=0;
|
||||
BOOL failed=NO;
|
||||
|
||||
BOOL finish(){
|
||||
if(!pending)return !failed;
|
||||
[pending commit];[pending waitUntilCompleted];
|
||||
if(pending.status!=MTLCommandBufferStatusCompleted){failed=YES;fail(error,pending.error.localizedDescription);}
|
||||
pending=nil;passes=0;
|
||||
return !failed;
|
||||
}
|
||||
|
||||
id<MTLCommandBuffer> commands(){
|
||||
if(failed||(passes==16&&!finish()))return nil;
|
||||
if(!pending)pending=[queue commandBuffer];
|
||||
if(!pending){failed=YES;fail(error,@"无法分配调色命令缓冲区");return nil;}
|
||||
++passes;
|
||||
return pending;
|
||||
}
|
||||
};
|
||||
struct DYManagedPreviewReadback {
|
||||
id<MTLBuffer> analysis,standard,high;
|
||||
NSSize size,highSize;
|
||||
FxImageOrigin origin;
|
||||
};
|
||||
// MRC NSError out-parameters must outlive every nested render pool. Preserve
|
||||
// the same pointer across nested closures, then autorelease in the caller pool.
|
||||
template<class F> static BOOL DYRenderWithPool(NSError **error,F body){
|
||||
@@ -139,10 +170,14 @@ struct DYScopeReadback {
|
||||
dispatch_queue_t _lutPreparationQueue;
|
||||
DYColorTables *_tables;
|
||||
NSObject *_previewLock;
|
||||
NSData *_preview,*_lookLUTPreview;
|
||||
NSData *_preview;
|
||||
NSDictionary *_lookLUTPreviewFrames;
|
||||
NSSize _lastLookPreviewSize;
|
||||
CFTimeInterval _lastPreview;
|
||||
BOOL _exporting;
|
||||
NSDictionary *_toolDocument,*_colorContext,*_exportManagedState;
|
||||
CGColorSpaceRef _renderSourceSpace,_renderDestinationSpace;
|
||||
DYColorProfile *_renderOutputProfile;
|
||||
BOOL _managedFinishing;NSData *_faceEntries,*_faceInput,*_faceCachedEntries;CIContext *_faceContext;NSData *_mosaicRaster,*_mosaicEntries;NSDictionary *_mosaicFaceSnapshot;
|
||||
dispatch_queue_t _scopeQueue;
|
||||
BOOL _scopeEnabled,_scopeWorkerRunning,_outputObserved,_outputNotificationPending,_spiderScopeWorkerRunning;
|
||||
@@ -160,6 +195,15 @@ struct DYScopeReadback {
|
||||
DYColorProfile *_scopeProfile;
|
||||
NSObject *_scopeProfileLock;
|
||||
}
|
||||
- (BOOL)encodeManagedDispatch:(NSString*)name textures:(NSArray*)textures data:(const void*)data length:(NSUInteger)length
|
||||
extra:(const void*)extra extraLength:(NSUInteger)extraLength entry:(NSMutableDictionary*)entry
|
||||
commands:(id<MTLCommandBuffer>)commands error:(NSError**)error;
|
||||
- (DYManagedPreviewReadback)encodeManagedPreview:(id<MTLTexture>)texture source:(FxImageTile*)source
|
||||
entry:(NSMutableDictionary*)entry commands:(id<MTLCommandBuffer>)commands;
|
||||
- (void)publishManagedPreview:(DYManagedPreviewReadback)preview;
|
||||
- (DYColorProfile*)managedOutputProfile:(NSError**)error;
|
||||
- (BOOL)copyTile:(FxImageTile*)source to:(FxImageTile*)dest rotation:(double)angle entry:(NSMutableDictionary*)entry
|
||||
commands:(id<MTLCommandBuffer>)commands error:(NSError**)error;
|
||||
@end
|
||||
@implementation DYRenderer
|
||||
// The caller holds the renderer lock. Unused tools never load a GPU function.
|
||||
@@ -183,11 +227,65 @@ struct DYScopeReadback {
|
||||
#include "DYPrimaryRender.inc.h"
|
||||
#include "DYUnifiedRender.inc.h"
|
||||
#include "DYMosaicRender.inc.h"
|
||||
// Use the display shape of the full source texture supplied by FxPlug.
|
||||
static NSSize DYLookSampleSize(id<MTLTexture> texture, double pixelAspect, NSUInteger edge) {
|
||||
if(!std::isfinite(pixelAspect)||pixelAspect<=0)pixelAspect=1;
|
||||
double aspect=double(texture.width)/texture.height*pixelAspect;
|
||||
return NSMakeSize(MAX(1,round(edge*fmin(1,aspect))),MAX(1,round(edge*fmin(1,1/aspect))));
|
||||
}
|
||||
- (id<MTLBuffer>)encodeLookPreview:(id<MTLTexture>)texture inputLUT:(id<MTLTexture>)lut strength:(float)strength
|
||||
size:(NSSize)size standard:(BOOL)standard origin:(FxImageOrigin)origin
|
||||
entry:(NSMutableDictionary*)entry commands:(id<MTLCommandBuffer>)commands {
|
||||
NSString *name=lut?@"dyInputLookPreview":@"dyManagedLookPreview";
|
||||
id<MTLComputePipelineState> pipeline=[self computePipeline:name entry:entry error:nil];
|
||||
if(!pipeline)return nil;
|
||||
NSUInteger width=size.width,height=size.height;
|
||||
id<MTLBuffer> buffer=[[entry[@"device"] newBufferWithLength:width*height*16 options:MTLResourceStorageModeShared]autorelease];
|
||||
id<MTLComputeCommandEncoder> encoder=buffer?[commands computeCommandEncoder]:nil;
|
||||
if(!encoder)return nil;
|
||||
[encoder setComputePipelineState:pipeline];[encoder setTexture:texture atIndex:0];
|
||||
[encoder setBuffer:buffer offset:0 atIndex:0];
|
||||
if(lut){[encoder setTexture:lut atIndex:1];[encoder setBytes:&strength length:sizeof(strength) atIndex:1];}
|
||||
vector_uint4 geometry={(uint32_t)width,(uint32_t)height,origin==kFxImageOrigin_BOTTOM_LEFT,(uint32_t)standard};
|
||||
[encoder setBytes:&geometry length:sizeof(geometry) atIndex:2];
|
||||
[encoder dispatchThreads:MTLSizeMake(width,height,1) threadsPerThreadgroup:MTLSizeMake(8,8,1)];
|
||||
[encoder endEncoding];
|
||||
return buffer;
|
||||
}
|
||||
static NSData *DYLookBufferData(id<MTLBuffer> buffer) {
|
||||
if(!buffer)return nil;
|
||||
// The asynchronous browser can keep a capture alive across later renders.
|
||||
[buffer retain];
|
||||
return [[[NSData alloc]initWithBytesNoCopy:buffer.contents length:buffer.length
|
||||
deallocator:^(void *bytes,NSUInteger length){[buffer release];}]autorelease];
|
||||
}
|
||||
- (void)publishPreview:(id<MTLBuffer>)analysis standard:(id<MTLBuffer>)standard size:(NSSize)size
|
||||
high:(id<MTLBuffer>)high highSize:(NSSize)highSize origin:(FxImageOrigin)origin {
|
||||
@synchronized(_previewLock){
|
||||
[_preview release];_preview=[[NSData alloc]initWithBytes:analysis.contents length:analysis.length];
|
||||
NSData *look=DYLookBufferData(standard);
|
||||
if(NSEqualSizes(size,NSMakeSize(320,180))){
|
||||
look=_preview;
|
||||
if(origin==kFxImageOrigin_BOTTOM_LEFT){
|
||||
NSUInteger rowBytes=320*16;NSMutableData *flipped=[NSMutableData dataWithLength:_preview.length];
|
||||
for(NSUInteger y=0;y<180;y++)memcpy((uint8_t*)flipped.mutableBytes+y*rowBytes,(const uint8_t*)_preview.bytes+(179-y)*rowBytes,rowBytes);
|
||||
look=flipped;
|
||||
}
|
||||
}
|
||||
NSMutableDictionary *frames=[NSMutableDictionary dictionary];
|
||||
if(_scopeDestination&&CMTIME_IS_NUMERIC(_scopeRenderTime))frames[@"time"]=@(CMTimeGetSeconds(_scopeRenderTime));
|
||||
if(look){frames[@"standard"]=look;frames[@"standardSize"]=[NSValue valueWithSize:size];}
|
||||
if(high){frames[@"high"]=DYLookBufferData(high);frames[@"highSize"]=[NSValue valueWithSize:highSize];}
|
||||
[_lookLUTPreviewFrames release];_lookLUTPreviewFrames=[frames copy];
|
||||
_lastLookPreviewSize=size;_lastPreview=CACurrentMediaTime();
|
||||
}
|
||||
[self notifyPreviewChanged];
|
||||
}
|
||||
#include "DYManagedRender.inc.h"
|
||||
#include "DYFaceRender.inc.h"
|
||||
#include "DYToolRender.inc.h"
|
||||
- (instancetype)init{if((self=[super init])){_previewLock=[NSObject new];_scopeProfileLock=[NSObject new];_scopeQueue=dispatch_queue_create("com.dayu.color.final-output-scopes",DISPATCH_QUEUE_SERIAL);_devices=[NSMutableDictionary new];_luts=[NSMutableDictionary new];_preparedLUTs=[NSMutableDictionary new];_activeLUTPaths=[NSSet new];_lutPreparationQueue=dispatch_queue_create("com.dayu.color.lut-upload",DISPATCH_QUEUE_SERIAL);dispatch_set_target_queue(_lutPreparationQueue,dispatch_get_global_queue(QOS_CLASS_USER_INITIATED,0));_tables=[DYColorTables new];}return self;}
|
||||
- (void)dealloc{[_mosaicRaster release];[_mosaicEntries release];[_mosaicFaceSnapshot release];[_faceEntries release];[_faceInput release];[_faceCachedEntries release];[_faceContext release];[_scopePending release];[_scopeLatest release];[_spiderScopeRaster release];[_scopePreview release];[_scopeMetadata release];[_scopeProfile release];[_scopeProfileLock release];dispatch_release(_scopeQueue);[_devices release];[_luts release];[_preparedLUTs release];[_activeLUTPaths release];dispatch_release(_lutPreparationQueue);[_tables release];[_preview release];[_lookLUTPreview release];[_colorContext release];[_previewLock release];[super dealloc];}
|
||||
- (void)dealloc{[_mosaicRaster release];[_mosaicEntries release];[_mosaicFaceSnapshot release];[_faceEntries release];[_faceInput release];[_faceCachedEntries release];[_faceContext release];[_scopePending release];[_scopeLatest release];[_spiderScopeRaster release];[_scopePreview release];[_scopeMetadata release];[_scopeProfile release];[_scopeProfileLock release];dispatch_release(_scopeQueue);[_devices release];[_luts release];[_preparedLUTs release];[_activeLUTPaths release];dispatch_release(_lutPreparationQueue);[_tables release];[_preview release];[_lookLUTPreviewFrames release];[_renderOutputProfile release];if(_renderSourceSpace)CGColorSpaceRelease(_renderSourceSpace);if(_renderDestinationSpace)CGColorSpaceRelease(_renderDestinationSpace);[_colorContext release];[_previewLock release];[super dealloc];}
|
||||
- (void)trimPreparedLUTsKeeping:(NSString *)path {
|
||||
if(_preparedLUTs.count<=12)return;
|
||||
for(NSString *key in _preparedLUTs.allKeys)if(![_activeLUTPaths containsObject:key]&&![key isEqualToString:path])[_preparedLUTs removeObjectForKey:key];
|
||||
@@ -211,9 +309,9 @@ struct DYScopeReadback {
|
||||
}});return progress;
|
||||
}
|
||||
- (void)notifyPreviewChanged{dispatch_async(dispatch_get_main_queue(),^{[NSNotificationCenter.defaultCenter postNotificationName:@"DYPreviewDidChange" object:self];});}
|
||||
- (void)invalidatePreview{@synchronized(_previewLock){[_preview release];_preview=nil;[_lookLUTPreview release];_lookLUTPreview=nil;_lastPreview=0;}dispatch_async(dispatch_get_main_queue(),^{[NSNotificationCenter.defaultCenter postNotificationName:@"DYPreviewDidChange" object:self];});}
|
||||
- (void)invalidatePreview{@synchronized(_previewLock){[_preview release];_preview=nil;[_lookLUTPreviewFrames release];_lookLUTPreviewFrames=nil;_lastPreview=0;}[self notifyPreviewChanged];}
|
||||
- (NSData*)preview{@synchronized(_previewLock){return [[_preview retain]autorelease];}}
|
||||
- (NSData*)lookLUTPreview{@synchronized(_previewLock){return [[_lookLUTPreview retain]autorelease];}}
|
||||
- (NSDictionary*)lookLUTPreviewFrames {@synchronized(_previewLock){return [[_lookLUTPreviewFrames retain]autorelease];}}
|
||||
- (NSMutableDictionary*)device:(uint64_t)registry error:(NSError**)err{
|
||||
NSNumber*k=@(registry);NSMutableDictionary*entry=_devices[k];if(entry)return entry;
|
||||
uint64_t beta=DYBetaSpanBegin(@"device_prepare",nil);@try{
|
||||
@@ -284,8 +382,9 @@ struct DYScopeReadback {
|
||||
}
|
||||
BOOL faceOnly=u.skinProtection.x>.5&&(u.skinProtection.y>0||u.skinVisualize>.5)&&u.skinFaceOnly>.5;
|
||||
DYToolMaskHeader maskHeader{};id<MTLBuffer>maskBuffer=(masks.count||segmented||faceOnly||_faceEntries.length)?[self maskBuffer:masks tile:src device:d header:&maskHeader]:nil;maskHeader.faceOnly=faceOnly;BOOL hasMasks=maskHeader.count>0||maskHeader.faceOnly;if((hasMasks||segmented)&&!maskBuffer)return fail(err,@"无法分配蒙版缓冲区");
|
||||
NSSize lookSize=DYLookSampleSize(input,src.pixelAspect,DYLookPreviewStandardEdge);
|
||||
BOOL preview=NO;
|
||||
@synchronized(_previewLock){preview=(!segmented||stageFirst==0)&&!_exporting&&CACurrentMediaTime()-_lastPreview>.5;}
|
||||
@synchronized(_previewLock){preview=(!segmented||stageFirst==0)&&!_exporting&&(!NSEqualSizes(lookSize,_lastLookPreviewSize)||CACurrentMediaTime()-_lastPreview>.5);}
|
||||
BOOL neutral=!segmented&&!hasMasks&&!spiderBuffer&&u.skinVisualize<.5&&!hasLegacyGrade(u);
|
||||
FxRect s=src.tilePixelBounds,t=dst.tilePixelBounds;
|
||||
BOOL sameGrid=input.width==output.width&&input.height==output.height&&s.left==t.left&&s.right==t.right&&s.top==t.top&&s.bottom==t.bottom;
|
||||
@@ -357,7 +456,8 @@ struct DYScopeReadback {
|
||||
[ce dispatchThreadgroups:MTLSizeMake(1,1,1) threadsPerThreadgroup:MTLSizeMake(256,1,1)];[ce endEncoding];
|
||||
}
|
||||
}
|
||||
id<MTLBuffer> pb=nil;
|
||||
id<MTLBuffer> pb=nil,lookStandard=nil,lookHigh=nil;
|
||||
NSSize highSize=NSZeroSize;
|
||||
if(preview){
|
||||
id<MTLComputePipelineState> analysis=[self computePipeline:@"dyInputAnalysis" entry:e error:err];if(!analysis)return NO;
|
||||
pb=[[d newBufferWithLength:320*180*16 options:MTLResourceStorageModeShared]autorelease];
|
||||
@@ -367,6 +467,11 @@ struct DYScopeReadback {
|
||||
float inputStrength=u.inputSectionEnabled>.5?u.preLUTStrength:0;
|
||||
[ce setBytes:&inputStrength length:4 atIndex:1];[ce setBuffer:pb offset:0 atIndex:0];
|
||||
[ce dispatchThreads:MTLSizeMake(320,180,1) threadsPerThreadgroup:MTLSizeMake(8,8,1)];[ce endEncoding];
|
||||
id<MTLTexture> inputLUT=neutral?e[@"identity"]:ts[0];
|
||||
if(!NSEqualSizes(lookSize,NSMakeSize(320,180)))
|
||||
lookStandard=[self encodeLookPreview:straight inputLUT:inputLUT strength:inputStrength size:lookSize standard:YES origin:src.imageOrigin entry:e commands:cb];
|
||||
highSize=DYLookSampleSize(input,src.pixelAspect,DYLookPreviewHighEdge);
|
||||
lookHigh=[self encodeLookPreview:straight inputLUT:inputLUT strength:inputStrength size:highSize standard:NO origin:src.imageOrigin entry:e commands:cb];
|
||||
}
|
||||
MTLRenderPassDescriptor*rp=[MTLRenderPassDescriptor renderPassDescriptor];rp.colorAttachments[0].texture=output;rp.colorAttachments[0].loadAction=MTLLoadActionDontCare;rp.colorAttachments[0].storeAction=MTLStoreActionStore;id<MTLRenderCommandEncoder>re=[cb renderCommandEncoderWithDescriptor:rp];[re setRenderPipelineState:pipeline];
|
||||
float w=output.width,h=output.height;float sw=s.right-s.left,sh=s.top-s.bottom;float l=(t.left-s.left)/sw,r=(t.right-s.left)/sw,top=(s.top-t.top)/sh,bottom=(s.top-t.bottom)/sh;
|
||||
@@ -374,18 +479,7 @@ struct DYScopeReadback {
|
||||
DYVertex2D vs[]={{{w/2,-h/2},{r,bottom}},{{-w/2,-h/2},{l,bottom}},{{w/2,h/2},{r,top}},{{-w/2,h/2},{l,top}}};
|
||||
if(dst.imageOrigin==kFxImageOrigin_BOTTOM_LEFT)for(int i=0;i<4;i++)vs[i].position.y=-vs[i].position.y;
|
||||
vector_uint2 vp={(unsigned)output.width,(unsigned)output.height};[re setVertexBytes:vs length:sizeof(vs) atIndex:0];[re setVertexBytes:&vp length:sizeof(vp) atIndex:1];[re setViewport:(MTLViewport){0,0,w,h,0,1}];[re setFragmentTexture:straight atIndex:0];if(!neutral){for(NSUInteger i=0;i<ts.count;i++)[re setFragmentTexture:ts[i] atIndex:i+1];[re setFragmentBytes:&u length:sizeof(u) atIndex:0];[re setFragmentBuffer:scene offset:0 atIndex:1];DYRenderOptions options={1,bwMix,0,0};[re setFragmentBytes:&options length:sizeof(options) atIndex:2];DYUniforms color=u;color.blackWhiteSectionEnabled=0;[re setFragmentBytes:&color length:sizeof(color) atIndex:3];if(spiderBuffer)[re setFragmentBuffer:spiderBuffer offset:0 atIndex:4];else{float empty[2]={0,0};[re setFragmentBytes:empty length:sizeof(empty) atIndex:4];}[re setFragmentBytes:&spiderSize length:sizeof(spiderSize) atIndex:5];if(hasMasks||segmented){[re setFragmentBuffer:maskBuffer offset:0 atIndex:6];[re setFragmentBytes:&maskHeader length:sizeof(maskHeader) atIndex:7];}if(segmented){DYToolStageRange range={(int)stageFirst,(int)stageLast,(int)suppressBlackWhite};[re setFragmentBytes:&range length:sizeof(range) atIndex:8];[re setFragmentTexture:skinReference?[skinReference metalTextureForDevice:d]:input atIndex:10];[re setFragmentTexture:nativeSource atIndex:11];}}[re drawPrimitives:MTLPrimitiveTypeTriangleStrip vertexStart:0 vertexCount:4];[re endEncoding];BOOL ok=[self completeCommands:cb destination:dst texture:output entry:e];
|
||||
if(ok&&pb){@synchronized(_previewLock){
|
||||
[_preview release];_preview=[[NSData alloc]initWithBytes:pb.contents length:320*180*16];
|
||||
// The analysis kernel reads physical texture rows. Its result remains intact
|
||||
// for auto grade; only the browser copy is normalized to top-first bitmap rows.
|
||||
[_lookLUTPreview release];
|
||||
if(src.imageOrigin==kFxImageOrigin_BOTTOM_LEFT){
|
||||
const NSUInteger rowBytes=320*16;NSMutableData*topFirst=[NSMutableData dataWithLength:_preview.length];
|
||||
for(NSUInteger y=0;y<180;y++)memcpy((uint8_t*)topFirst.mutableBytes+y*rowBytes,(const uint8_t*)_preview.bytes+(179-y)*rowBytes,rowBytes);
|
||||
_lookLUTPreview=[topFirst copy];
|
||||
}else _lookLUTPreview=[_preview retain];
|
||||
_lastPreview=CACurrentMediaTime();[self notifyPreviewChanged];
|
||||
}}
|
||||
if(ok&&pb)[self publishPreview:pb standard:lookStandard size:lookSize high:lookHigh highSize:highSize origin:src.imageOrigin];
|
||||
if(!ok)fail(err,cb.error.localizedDescription);return ok;
|
||||
});}}
|
||||
- (BOOL)exportLUT:(NSURL*)url uniforms:(DYUniforms)u paths:(NSDictionary*)paths error:(NSError**)err{return [self exportLUT:url uniforms:u paths:paths spider:nil error:err];}
|
||||
|
||||
@@ -15,7 +15,7 @@ struct DYScopeReference {
|
||||
@property(nonatomic,copy) NSDictionary *metadata;
|
||||
@property(nonatomic) NSUInteger generation;
|
||||
@property(nonatomic) CGColorSpaceRef space;
|
||||
/// Final-output bins in the host RGB domain, calculated only if requested.
|
||||
/// Final-output bins, encoded as video levels for linear Rec.709 output.
|
||||
@property(nonatomic,readonly) NSData *canvasHistogram;
|
||||
/// Shared straight-alpha display samples for the workspace and spider scopes.
|
||||
- (std::shared_ptr<const DYScopeReference>)displayReferenceWithProfile:(DYColorProfile *)profile;
|
||||
|
||||
@@ -9,7 +9,11 @@
|
||||
}
|
||||
- (NSData *)canvasHistogram{
|
||||
@synchronized(self){
|
||||
if(!_canvasHistogram)_canvasHistogram=[DYHistogramFromRGBA(_pixels,true) retain];
|
||||
if(!_canvasHistogram){
|
||||
CFStringRef name=_space?CGColorSpaceGetName(_space):nullptr;
|
||||
bool linear709=name&&(CFEqual(name,kCGColorSpaceExtendedLinearSRGB)||CFEqual(name,kCGColorSpaceLinearSRGB));
|
||||
_canvasHistogram=[DYHistogramFromRGBA(_pixels,true,linear709) retain];
|
||||
}
|
||||
return [[_canvasHistogram retain]autorelease];
|
||||
}
|
||||
}
|
||||
|
||||
+77
-31
@@ -1,7 +1,6 @@
|
||||
// Ported from dayu-colorplate; provenance in research/SpiderAndBalanceSources.json.
|
||||
#include "DYSpiderScopeDrawing.h"
|
||||
@interface DYSpiderDisc : NSView
|
||||
@property(nonatomic) DYGrade grade;
|
||||
@property(nonatomic,retain) DYRenderer *scopeRenderer;
|
||||
@property(nonatomic,copy) NSData *meshData;
|
||||
@property(nonatomic,readonly) NSInteger hueCount,saturationCount;
|
||||
@@ -9,17 +8,24 @@
|
||||
- (void)resetMesh;
|
||||
@property(nonatomic) NSInteger selected;
|
||||
@property(nonatomic,retain) NSMutableIndexSet *pinned,*selection;
|
||||
@property(nonatomic,copy) NSData *pinData;
|
||||
@property(nonatomic) BOOL interactionEnabled;
|
||||
- (void)selectRing;
|
||||
- (void)selectSpoke;
|
||||
- (void)resetSelected;
|
||||
@property(nonatomic,copy) void(^changed)(DYGrade,NSData*);
|
||||
@property(nonatomic,copy) void(^changed)(NSData*);
|
||||
@property(nonatomic,copy) void(^selectionChanged)(NSString*);
|
||||
@property(nonatomic,copy) void(^gesture)(BOOL);
|
||||
- (void)toggleLock;
|
||||
- (void)finishGesture;
|
||||
@end
|
||||
@implementation DYSpiderDisc {BOOL _dragging,_marquee,_gestureActive;NSPoint _dragOrigin,_marqueeEnd;DYGrade _dragGrade;dy::SpiderMesh _mesh,_dragMesh;BOOL _variableMesh;NSMutableIndexSet*_selectionStart,*_pinsStart;}
|
||||
@implementation DYSpiderDisc {
|
||||
BOOL _dragging,_marquee,_gestureActive,_pendingChange;
|
||||
NSPoint _dragOrigin,_marqueeEnd;
|
||||
dy::SpiderMesh _mesh,_dragMesh;
|
||||
NSMutableIndexSet *_selectionStart,*_pinsStart;
|
||||
NSData *_scopeRaster;
|
||||
NSImage *_scopeTrace;
|
||||
}
|
||||
- (void)dealloc{[self finishGesture];self.scopeRenderer=nil;[_pinned release];[_selection release];[_selectionStart release];[_pinsStart release];[_changed release];[_selectionChanged release];[_gesture release];[super dealloc];}
|
||||
- (void)setScopeRenderer:(DYRenderer *)renderer {
|
||||
if(renderer==_scopeRenderer)return;
|
||||
@@ -29,6 +35,7 @@
|
||||
[center removeObserver:self name:@"DYSpiderScopeDidChange" object:_scopeRenderer];
|
||||
}
|
||||
[_scopeRenderer release];_scopeRenderer=[renderer retain];
|
||||
DYUpdateSpiderTrace(nil,_scopeRaster,_scopeTrace);
|
||||
if(renderer){
|
||||
[center addObserver:self selector:@selector(finalOutputChanged:) name:@"DYFinalOutputDidChange" object:renderer];
|
||||
[center addObserver:self selector:@selector(spiderScopeChanged:) name:@"DYSpiderScopeDidChange" object:renderer];
|
||||
@@ -39,10 +46,10 @@
|
||||
return self.window&&!self.hiddenOrHasHiddenAncestor&&!NSIsEmptyRect(self.visibleRect);
|
||||
}
|
||||
- (void)finalOutputChanged:(NSNotification *)note {
|
||||
if([self canDisplayScope])[_scopeRenderer outputSpiderScope];
|
||||
if(!_gestureActive&&[self canDisplayScope])[_scopeRenderer outputSpiderScope];
|
||||
}
|
||||
- (void)spiderScopeChanged:(NSNotification *)note {
|
||||
if([self canDisplayScope])self.needsDisplay=YES;
|
||||
if(!_gestureActive&&[self canDisplayScope])self.needsDisplay=YES;
|
||||
}
|
||||
- (BOOL)isFlipped{return YES;}
|
||||
- (BOOL)acceptsFirstResponder{return YES;}
|
||||
@@ -52,26 +59,62 @@
|
||||
- (NSString*)accessibilityHelp{return @"拖动一点,同一色相列的自由点自动联动。固定点仍可直接拖动。Command 多选,Shift 固定,右键复位。Tab 切点,方向键微调,Escape 取消。";}
|
||||
- (id)accessibilityValue{NSInteger i=_selected>=0?_selected:(NSInteger)_selection.firstIndex;return i>=0&&i<[self nodeCount]?[NSString stringWithFormat:@"已选 %lu 点,主点 %ld,X %.4f,Y %.4f,固定点仍可拖动",(unsigned long)_selection.count,(long)i+1,_mesh.x[i],_mesh.y[i]]:@"拖动一点,周围自由点自动联动";}
|
||||
- (BOOL)accessibilityPerformPress{[self.window makeFirstResponder:self];if(!_selection.count)[_selection addIndex:0];[self describeSelection];self.needsDisplay=YES;return YES;}
|
||||
- (void)finishGesture{if(_gestureActive){_gestureActive=NO;if(_gesture)_gesture(NO);}}
|
||||
- (void)viewWillMoveToWindow:(NSWindow*)window{if(!window)[self finishGesture];[super viewWillMoveToWindow:window];}
|
||||
- (void)flushMeshChange {
|
||||
if(!_pendingChange)return;
|
||||
_pendingChange=NO;
|
||||
if(_changed)_changed(self.meshData);
|
||||
}
|
||||
- (void)finishGesture {
|
||||
if(!_gestureActive)return;
|
||||
[NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(flushMeshChange) object:nil];
|
||||
[self flushMeshChange];
|
||||
_gestureActive=NO;
|
||||
if(_gesture)_gesture(NO);
|
||||
[self finalOutputChanged:nil];
|
||||
}
|
||||
- (void)viewWillMoveToWindow:(NSWindow*)window{
|
||||
if(!window){_dragging=_marquee=NO;[self finishGesture];}
|
||||
[super viewWillMoveToWindow:window];
|
||||
}
|
||||
- (NSInteger)nodeCount{return dy::meshCount(_mesh);}
|
||||
- (NSInteger)hueCount{return _mesh.hues;}
|
||||
- (NSInteger)saturationCount{return _mesh.rings+1;}
|
||||
- (NSData*)meshData{return _variableMesh?[NSData dataWithBytes:&_mesh length:sizeof(_mesh)]:nil;}
|
||||
- (void)setMeshData:(NSData*)data{dy::SpiderMesh m{};BOOL variable=data.length==sizeof(m);if(variable){memcpy(&m,data.bytes,sizeof(m));if(!dy::validMesh(m))return;}else m=dy::legacyMesh(_grade,(const uint8_t*)self.pinData.bytes);BOOL topology=m.hues!=_mesh.hues||m.rings!=_mesh.rings;_mesh=m;_variableMesh=variable;if(topology){_dragging=_marquee=NO;[self finishGesture];[_selection removeAllIndexes];_selected=-1;}[self updatePins];self.needsDisplay=YES;}
|
||||
- (NSData*)meshData{return [NSData dataWithBytes:&_mesh length:sizeof(_mesh)];}
|
||||
- (void)setMeshData:(NSData*)data{
|
||||
if(_gestureActive)return;
|
||||
auto mesh=DYSpiderMesh(data);
|
||||
if(!memcmp(&mesh,&_mesh,sizeof(mesh)))return;
|
||||
BOOL topology=mesh.hues!=_mesh.hues||mesh.rings!=_mesh.rings;
|
||||
_mesh=mesh;
|
||||
if(topology){_dragging=_marquee=NO;[_selection removeAllIndexes];_selected=-1;}
|
||||
[self updatePins];self.needsDisplay=YES;
|
||||
}
|
||||
- (void)updatePins{self.pinned=[NSMutableIndexSet indexSet];for(int i=0;i<[self nodeCount];i++)if(_mesh.pins[i])[_pinned addIndex:i];}
|
||||
- (NSData*)pinData{uint8_t flags[81]={};auto m=dy::resampleMesh(_mesh,16,6);for(int i=0;i<81;i++)flags[i]=m.pins[i];return [NSData dataWithBytes:flags length:81];}
|
||||
- (void)setPinData:(NSData*)data{if(!_variableMesh){const uint8_t*p=data.length==81?(const uint8_t*)data.bytes:nullptr;_mesh=dy::legacyMesh(_grade,p);[self updatePins];}self.needsDisplay=YES;}
|
||||
- (void)notifyChange{for(int i=0;i<[self nodeCount];i++)_mesh.pins[i]=dy::meshBoundary(_mesh,i)||[_pinned containsIndex:i];_grade=dy::meshLegacyGrade(_grade,_mesh);if(_changed)_changed(_grade,self.pinData);[self describeSelection];self.needsDisplay=YES;}
|
||||
- (void)changeHueCount:(int)hues saturationCount:(int)saturation{if(!_interactionEnabled||!dySpiderResolution(hues)||!dySpiderResolution(saturation))return;if(hues==_mesh.hues&&saturation==_mesh.rings+1)return;[self finishGesture];_dragging=_marquee=NO;_mesh=dy::resampleMesh(_mesh,hues,saturation);_variableMesh=YES;[_selection removeAllIndexes];_selected=-1;[self updatePins];[self notifyChange];}
|
||||
- (void)resetMesh{_mesh=dy::neutralMesh(_mesh.hues,_mesh.rings+1);_variableMesh=YES;[_selection removeAllIndexes];_selected=-1;[self updatePins];[self notifyChange];}
|
||||
- (void)moveFrom:(DYGrade)g x:(float)x y:(float)y {
|
||||
if(!_selection.count||(x==0&&y==0))return;std::bitset<dy::SpiderMeshCapacity>selected;for(int i=0;i<[self nodeCount];i++)selected[i]=[_selection containsIndex:i];
|
||||
auto start=_dragging?_dragMesh:_mesh;auto moved=dy::moveMesh(start,selected,x,y);if(!memcmp(&moved,&_mesh,sizeof(moved)))return;_mesh=moved;_grade=g;_grade.spiderEnabled=1;[self updatePins];[self notifyChange];
|
||||
- (void)notifyChange{
|
||||
for(int i=0;i<[self nodeCount];i++)_mesh.pins[i]=dy::meshBoundary(_mesh,i)||[_pinned containsIndex:i];
|
||||
self.needsDisplay=YES;
|
||||
if(!_gestureActive){
|
||||
[self describeSelection];
|
||||
if(_changed)_changed(self.meshData);
|
||||
}else if(!_pendingChange){
|
||||
// AppKit draws the local mesh immediately. Only the newest draft reaches FxPlug.
|
||||
_pendingChange=YES;
|
||||
[self performSelector:@selector(flushMeshChange) withObject:nil afterDelay:1.0/60.0 inModes:@[NSRunLoopCommonModes,NSEventTrackingRunLoopMode]];
|
||||
}
|
||||
}
|
||||
- (void)changeHueCount:(int)hues saturationCount:(int)saturation{if(!_interactionEnabled||!dySpiderResolution(hues)||!dySpiderResolution(saturation))return;if(hues==_mesh.hues&&saturation==_mesh.rings+1)return;[self finishGesture];_dragging=_marquee=NO;_mesh=dy::resampleMesh(_mesh,hues,saturation);[_selection removeAllIndexes];_selected=-1;[self updatePins];[self notifyChange];}
|
||||
- (void)resetMesh{_mesh=dy::neutralMesh(_mesh.hues,_mesh.rings+1);[_selection removeAllIndexes];_selected=-1;[self updatePins];[self notifyChange];}
|
||||
- (void)moveMeshX:(float)x y:(float)y {
|
||||
if(!_selection.count)return;
|
||||
std::bitset<dy::SpiderMeshCapacity>selected;
|
||||
for(NSUInteger i=_selection.firstIndex;i<[self nodeCount];i=[_selection indexGreaterThanIndex:i])selected[i]=1;
|
||||
auto moved=dy::moveMesh(_dragging?_dragMesh:_mesh,selected,x,y);
|
||||
if(!memcmp(&moved,&_mesh,sizeof(moved)))return;
|
||||
_mesh=moved;[self updatePins];[self notifyChange];
|
||||
}
|
||||
- (void)keyDown:(NSEvent*)e {
|
||||
if(!_interactionEnabled)return;unichar c=e.charactersIgnoringModifiers.length?[e.charactersIgnoringModifiers characterAtIndex:0]:0;
|
||||
if(c==27){if(_dragging){_grade=_dragGrade;_mesh=_dragMesh;self.pinned=[[_pinsStart mutableCopy]autorelease];[self notifyChange];}if(_marquee)self.selection=[[_selectionStart mutableCopy]autorelease];_dragging=_marquee=NO;[self finishGesture];self.needsDisplay=YES;return;}
|
||||
if(c==27){if(_dragging){_mesh=_dragMesh;self.pinned=[[_pinsStart mutableCopy]autorelease];[self notifyChange];}if(_marquee)self.selection=[[_selectionStart mutableCopy]autorelease];_dragging=_marquee=NO;[self finishGesture];self.needsDisplay=YES;return;}
|
||||
if((e.modifierFlags&NSEventModifierFlagCommand)&&c=='a'){[_selection addIndexesInRange:NSMakeRange(0,[self nodeCount])];[self describeSelection];self.needsDisplay=YES;return;}
|
||||
if(c=='\t'){_selected=(_selected+(e.modifierFlags&NSEventModifierFlagShift?[self nodeCount]-1:1)+[self nodeCount])%[self nodeCount];[_selection removeAllIndexes];[_selection addIndex:_selected];[self describeSelection];self.needsDisplay=YES;return;}
|
||||
if(c==' '){[self toggleLock];return;}if(c==NSDeleteCharacter||c==NSBackspaceCharacter){[self resetSelected];return;}
|
||||
@@ -86,30 +129,33 @@
|
||||
NSInteger lead=_selected>=0&&[_selection containsIndex:_selected]?_selected:_selection.firstIndex;
|
||||
NSRect rect=self.discRect;
|
||||
NSPoint delta=DYSpiderMeshDelta(rect,_mesh.x[lead],_mesh.y[lead],NSMakePoint(move.x*NSWidth(rect),move.y*NSHeight(rect)));
|
||||
[self moveFrom:_grade x:delta.x y:delta.y];
|
||||
[self moveMeshX:delta.x y:delta.y];
|
||||
}
|
||||
}
|
||||
- (instancetype)initWithFrame:(NSRect)r{if((self=[super initWithFrame:r])){_grade=dyDefaultGrade();_mesh=dy::legacyMesh(_grade);_selected=-1;self.pinData=nil;self.selection=[NSMutableIndexSet indexSet];_interactionEnabled=YES;self.accessibilityLabel=@"蜘蛛盘,含矢量示波器和肤色指示线";}return self;}
|
||||
- (instancetype)initWithFrame:(NSRect)r{if((self=[super initWithFrame:r])){_mesh=dy::neutralMesh();_selected=-1;[self updatePins];self.selection=[NSMutableIndexSet indexSet];_interactionEnabled=YES;self.accessibilityLabel=@"蜘蛛盘,含矢量示波器和肤色指示线";}return self;}
|
||||
- (NSRect)discRect{CGFloat s=MAX(0,MIN(self.bounds.size.width,self.bounds.size.height)-32);return NSMakeRect((self.bounds.size.width-s)/2,(self.bounds.size.height-s)/2,s,s);}
|
||||
- (NSPoint)point:(NSInteger)i{return DYSpiderPlotPoint(self.discRect,_mesh.x[i],_mesh.y[i]);}
|
||||
- (void)setGrade:(DYGrade)g{if(memcmp(g.spiderX,_grade.spiderX,sizeof(g.spiderX))||memcmp(g.spiderY,_grade.spiderY,sizeof(g.spiderY))){_grade=g;self.meshData=nil;}else _grade=g;self.needsDisplay=YES;}
|
||||
- (void)drawRect:(NSRect)dirty{
|
||||
NSRect r=self.discRect;if(NSIsEmptyRect(r))return;
|
||||
DYDrawSpiderScope(r,[self canDisplayScope]?[_scopeRenderer outputSpiderScope]:nil,1);
|
||||
if(!_gestureActive&&[self canDisplayScope])DYUpdateSpiderTrace([_scopeRenderer outputSpiderScope],_scopeRaster,_scopeTrace);
|
||||
DYDrawSpiderScope(r,_scopeTrace,1);
|
||||
NSPoint points[dy::SpiderMeshCapacity];
|
||||
int count=dy::meshCount(_mesh);
|
||||
for(int i=0;i<count;i++)points[i]=DYSpiderPlotPoint(r,_mesh.x[i],_mesh.y[i]);
|
||||
NSBezierPath *net=[NSBezierPath bezierPath];
|
||||
for(int ring=1;ring<=_mesh.rings;ring++){
|
||||
for(int hue=0;hue<=_mesh.hues;hue++){
|
||||
NSPoint q=[self point:dy::meshIndex(_mesh,hue%_mesh.hues,ring)];
|
||||
NSPoint q=points[dy::meshIndex(_mesh,hue%_mesh.hues,ring)];
|
||||
if(hue==0)[net moveToPoint:q];else[net lineToPoint:q];
|
||||
}
|
||||
}
|
||||
for(int hue=0;hue<_mesh.hues;hue++){
|
||||
[net moveToPoint:[self point:[self nodeCount]-1]];
|
||||
for(int ring=1;ring<=_mesh.rings;ring++)[net lineToPoint:[self point:dy::meshIndex(_mesh,hue,ring)]];
|
||||
[net moveToPoint:points[count-1]];
|
||||
for(int ring=1;ring<=_mesh.rings;ring++)[net lineToPoint:points[dy::meshIndex(_mesh,hue,ring)]];
|
||||
}
|
||||
DYDrawSpiderNet(net,1);
|
||||
for(int i=0;i<[self nodeCount];i++)
|
||||
DYDrawSpiderNode([self point:i],1,[_selection containsIndex:i]?DYAccent():nil,[_pinned containsIndex:i]);
|
||||
for(int i=0;i<count;i++)
|
||||
DYDrawSpiderNode(points[i],1,[_selection containsIndex:i]?DYAccent():nil,[_pinned containsIndex:i]);
|
||||
if(_marquee){
|
||||
NSRect box=NSMakeRect(MIN(_dragOrigin.x,_marqueeEnd.x),MIN(_dragOrigin.y,_marqueeEnd.y),fabs(_dragOrigin.x-_marqueeEnd.x),fabs(_dragOrigin.y-_marqueeEnd.y));
|
||||
NSBezierPath*outline=[NSBezierPath bezierPathWithRect:box];outline.lineWidth=1.25;
|
||||
@@ -125,7 +171,7 @@
|
||||
- (void)rightMouseDown:(NSEvent*)e{if(!_interactionEnabled)return;NSInteger i=[self hitPoint:[self convertPoint:e.locationInWindow fromView:nil]];if(i<0)return;_selected=i;[_selection removeAllIndexes];[_selection addIndex:i];[self resetSelected];[_selection removeAllIndexes];[self describeSelection];}
|
||||
- (void)mouseDown:(NSEvent*)e {
|
||||
if(!_interactionEnabled)return;[self.window makeFirstResponder:self];NSPoint p=[self convertPoint:e.locationInWindow fromView:nil];NSInteger chosen=[self hitPoint:p];
|
||||
_dragOrigin=_marqueeEnd=p;_dragGrade=_grade;_dragMesh=_mesh;[_selectionStart release];_selectionStart=[_selection mutableCopy];[_pinsStart release];_pinsStart=[_pinned mutableCopy];_dragging=_marquee=NO;_selected=chosen;
|
||||
_dragOrigin=_marqueeEnd=p;_dragMesh=_mesh;[_selectionStart release];_selectionStart=[_selection mutableCopy];[_pinsStart release];_pinsStart=[_pinned mutableCopy];_dragging=_marquee=NO;_selected=chosen;
|
||||
BOOL additive=(e.modifierFlags&NSEventModifierFlagCommand)!=0;
|
||||
if(chosen>=0&&(e.modifierFlags&NSEventModifierFlagShift)){[_pinned addIndex:chosen];[self notifyChange];return;}
|
||||
if(chosen<0){_marquee=YES;if(!additive)[_selection removeAllIndexes];if(!additive)[_selectionStart removeAllIndexes];}
|
||||
@@ -137,8 +183,8 @@
|
||||
if(!_interactionEnabled)return;NSPoint p=[self convertPoint:e.locationInWindow fromView:nil];
|
||||
if(_marquee){_marqueeEnd=p;NSRect box=NSMakeRect(MIN(_dragOrigin.x,p.x),MIN(_dragOrigin.y,p.y),fabs(p.x-_dragOrigin.x),fabs(p.y-_dragOrigin.y));self.selection=[[_selectionStart mutableCopy]autorelease];for(int i=0;i<[self nodeCount];i++)if(NSPointInRect([self point:i],box))[_selection addIndex:i];[self describeSelection];self.needsDisplay=YES;}
|
||||
else if(_dragging){if(!_gestureActive){_gestureActive=YES;if(_gesture)_gesture(YES);}NSPoint delta=DYSpiderMeshDelta(self.discRect,_dragMesh.x[_selected],_dragMesh.y[_selected],
|
||||
NSMakePoint(p.x-_dragOrigin.x,p.y-_dragOrigin.y));[self moveFrom:_dragGrade x:delta.x y:delta.y];}
|
||||
NSMakePoint(p.x-_dragOrigin.x,p.y-_dragOrigin.y));[self moveMeshX:delta.x y:delta.y];}
|
||||
}
|
||||
- (void)mouseUp:(NSEvent*)e{_dragging=_marquee=NO;[self finishGesture];self.needsDisplay=YES;}
|
||||
- (void)mouseUp:(NSEvent*)e{if(_dragging&&_gestureActive)[self mouseDragged:e];_dragging=_marquee=NO;[self finishGesture];self.needsDisplay=YES;}
|
||||
@end
|
||||
|
||||
@@ -68,28 +68,28 @@ static inline void DYDrawSpiderWheel(NSRect rect) {
|
||||
fraction:1 respectFlipped:YES hints:nil];
|
||||
}
|
||||
|
||||
static inline void DYDrawSpiderTrace(NSRect rect, NSData *raster) {
|
||||
// Keep the immutable scope image while only the control geometry is changing.
|
||||
static inline void DYUpdateSpiderTrace(NSData *raster,NSData *&cachedRaster,NSImage *&cachedImage) {
|
||||
if(raster==cachedRaster)return;
|
||||
[cachedRaster release];cachedRaster=[raster retain];
|
||||
[cachedImage release];cachedImage=nil;
|
||||
constexpr size_t side=dyscope::Bins;
|
||||
if(raster.length!=side*side*4)return;
|
||||
CGDataProviderRef provider=CGDataProviderCreateWithCFData((CFDataRef)raster);
|
||||
CGColorSpaceRef space=CGColorSpaceCreateDeviceRGB();
|
||||
CGImageRef image=CGImageCreate(side,side,8,32,side*4,space,kCGImageAlphaPremultipliedLast,
|
||||
provider,nullptr,false,kCGRenderingIntentDefault);
|
||||
if(image){
|
||||
NSImage *trace=[[[NSImage alloc]initWithCGImage:image size:NSZeroSize]autorelease];
|
||||
[trace drawInRect:rect fromRect:NSZeroRect operation:NSCompositingOperationSourceOver
|
||||
fraction:1 respectFlipped:YES hints:@{NSImageHintInterpolation:@(NSImageInterpolationLow)}];
|
||||
CGImageRelease(image);
|
||||
}
|
||||
if(image){cachedImage=[[NSImage alloc]initWithCGImage:image size:NSZeroSize];CGImageRelease(image);}
|
||||
CGColorSpaceRelease(space);CGDataProviderRelease(provider);
|
||||
}
|
||||
|
||||
static inline void DYDrawSpiderScope(NSRect rect,NSData *raster,CGFloat scale) {
|
||||
static inline void DYDrawSpiderScope(NSRect rect,NSImage *trace,CGFloat scale) {
|
||||
if(NSIsEmptyRect(rect))return;
|
||||
[NSGraphicsContext saveGraphicsState];
|
||||
[[NSBezierPath bezierPathWithOvalInRect:rect]addClip];
|
||||
DYDrawSpiderWheel(rect);
|
||||
DYDrawSpiderTrace(rect,raster);
|
||||
[trace drawInRect:rect fromRect:NSZeroRect operation:NSCompositingOperationSourceOver
|
||||
fraction:1 respectFlipped:YES hints:@{NSImageHintInterpolation:@(NSImageInterpolationLow)}];
|
||||
|
||||
NSBezierPath *line=[NSBezierPath bezierPath];
|
||||
[line moveToPoint:DYSkinScopePoint(rect,.08)];
|
||||
|
||||
+4
-2
@@ -3,10 +3,12 @@
|
||||
struct DYToolMaskEntry {
|
||||
DYResolvedMask mask;
|
||||
int section,combine;
|
||||
// Image-normalized bounds of a detected face contour (section -100).
|
||||
// Image coordinates for face contours (-100) and mosaic face boxes (-102).
|
||||
// Local path coordinates for authored Bézier mosaic masks.
|
||||
float minX,minY,maxX,maxY;
|
||||
};
|
||||
struct DYToolMaskHeader {unsigned count;float offsetX,offsetY,scaleX,scaleY;int section,premultiplied,faceOnly,skinPreview;};
|
||||
enum DYToolMaskKeySource : unsigned { DYToolMaskLayerKey=1, DYToolMaskOriginalKey=2 };
|
||||
struct DYToolMaskHeader {unsigned count;float offsetX,offsetY,scaleX,scaleY;int section,premultiplied,faceOnly,skinPreview;unsigned keySources;};
|
||||
struct DYToolStageRange {int first,last,suppressBlackWhite;};
|
||||
|
||||
// Destination coverage and the source sampling transform are independent.
|
||||
|
||||
+106
-16
@@ -4,14 +4,53 @@
|
||||
- (dy::GrayFrame)toolGrayFrame:(FxImageTile*)tile error:(NSError**)error {
|
||||
auto result=[self toolGrayFrame:tile preview:nil error:error];
|
||||
// The diagnostic/legacy caller expects normalized floats. Actual analysis
|
||||
// keeps the GPU-produced bytes through OpenCV, without float expansion.
|
||||
// keeps the GPU-produced bytes without expanding the full frame to floats.
|
||||
if(result.valid()&&result.pixels.empty()){result.pixels.resize(result.bytes.size());for(size_t i=0;i<result.bytes.size();++i)result.pixels[i]=result.bytes[i]/255.f;result.bytes.clear();}
|
||||
return result;
|
||||
}
|
||||
- (dy::GrayFrame)toolGrayFrame:(FxImageTile*)tile preview:(NSDictionary**)preview error:(NSError**)error {
|
||||
dy::GrayFrame result;
|
||||
[self captureTrackingTile:tile gray:&result preview:preview error:error];
|
||||
return result;
|
||||
}
|
||||
- (CVMetalTextureRef)newTrackingVisionTexture:(NSMutableDictionary*)entry size:(vector_uint3)size
|
||||
image:(CVPixelBufferRef*)image {
|
||||
CVMetalTextureCacheRef cache=(CVMetalTextureCacheRef)entry[@"visionTextureCache"];
|
||||
if(!cache){
|
||||
if(CVMetalTextureCacheCreate(kCFAllocatorDefault,nullptr,entry[@"device"],nullptr,&cache)!=kCVReturnSuccess)return nullptr;
|
||||
entry[@"visionTextureCache"]=(id)cache;
|
||||
CFRelease(cache);
|
||||
}
|
||||
CVPixelBufferPoolRef pool=(CVPixelBufferPoolRef)entry[@"visionPool"];
|
||||
if(!pool||[entry[@"visionWidth"]unsignedIntValue]!=size.x||[entry[@"visionHeight"]unsignedIntValue]!=size.y){
|
||||
NSDictionary *attributes=@{(id)kCVPixelBufferPixelFormatTypeKey:@(kCVPixelFormatType_32BGRA),
|
||||
(id)kCVPixelBufferWidthKey:@(size.x),(id)kCVPixelBufferHeightKey:@(size.y),
|
||||
(id)kCVPixelBufferIOSurfacePropertiesKey:@{},(id)kCVPixelBufferMetalCompatibilityKey:@YES};
|
||||
if(CVPixelBufferPoolCreate(kCFAllocatorDefault,nullptr,(CFDictionaryRef)attributes,&pool)!=kCVReturnSuccess)return nullptr;
|
||||
entry[@"visionPool"]=(id)pool;CFRelease(pool);
|
||||
entry[@"visionWidth"]=@(size.x);entry[@"visionHeight"]=@(size.y);
|
||||
}
|
||||
NSDictionary *limit=@{(id)kCVPixelBufferPoolAllocationThresholdKey:@6};
|
||||
if(CVPixelBufferPoolCreatePixelBufferWithAuxAttributes(kCFAllocatorDefault,pool,(CFDictionaryRef)limit,image)!=kCVReturnSuccess)return nullptr;
|
||||
CVMetalTextureRef view=nullptr;
|
||||
NSDictionary *usage=@{(id)kCVMetalTextureUsage:@(MTLTextureUsageShaderWrite)};
|
||||
CVReturn status=CVMetalTextureCacheCreateTextureFromImage(kCFAllocatorDefault,cache,*image,(CFDictionaryRef)usage,
|
||||
MTLPixelFormatBGRA8Unorm,size.x,size.y,0,&view);
|
||||
if(status!=kCVReturnSuccess||!view||!CVMetalTextureGetTexture(view)){
|
||||
if(view)CFRelease(view);
|
||||
CVPixelBufferRelease(*image);*image=nullptr;
|
||||
return nullptr;
|
||||
}
|
||||
return view;
|
||||
}
|
||||
- (BOOL)captureTrackingTile:(FxImageTile*)tile gray:(dy::GrayFrame*)gray preview:(NSDictionary**)preview error:(NSError**)error {
|
||||
return [self captureTrackingTile:tile gray:gray preview:preview visionFlip:nil error:error];
|
||||
}
|
||||
- (BOOL)captureTrackingTile:(FxImageTile*)tile gray:(dy::GrayFrame*)gray preview:(NSDictionary**)preview
|
||||
visionFlip:(NSNumber*)visionFlip error:(NSError**)error {
|
||||
@synchronized(_toolCaptureDevices){
|
||||
FxRect bounds=tile.tilePixelBounds,image=tile.imagePixelBounds;
|
||||
if(bounds.left!=image.left||bounds.right!=image.right||bounds.bottom!=image.bottom||bounds.top!=image.top)return {};
|
||||
if(bounds.left!=image.left||bounds.right!=image.right||bounds.bottom!=image.bottom||bounds.top!=image.top)return NO;
|
||||
NSNumber *key=@(tile.deviceRegistryID);NSMutableDictionary *entry=_toolCaptureDevices[key];
|
||||
if(!entry){NSArray *devices=MTLCopyAllDevices();id<MTLDevice>device=nil;for(id<MTLDevice>candidate in devices)if(candidate.registryID==tile.deviceRegistryID)device=candidate;
|
||||
if(device){id<MTLLibrary>library=[device newLibraryWithURL:[[NSBundle bundleForClass:self.class]URLForResource:@"default" withExtension:@"metallib"]error:error];id<MTLFunction>gray=[library newFunctionWithName:@"dyToolCapture"],gamma=[library newFunctionWithName:@"dyToolEncodeGamma22"];id<MTLComputePipelineState>grayPipeline=gray?[device newComputePipelineStateWithFunction:gray error:error]:nil,gammaPipeline=gamma?[device newComputePipelineStateWithFunction:gamma error:error]:nil;id<MTLCommandQueue>queue=[device newCommandQueue];MPSImageLanczosScale *scale=[[MPSImageLanczosScale alloc]initWithDevice:device];
|
||||
@@ -21,25 +60,63 @@
|
||||
id<MTLComputePipelineState>pipeline=function?[device newComputePipelineStateWithFunction:function error:nil]:nil;
|
||||
entry[@"previewPipeline"]=pipeline;
|
||||
[pipeline release];[function release];
|
||||
function=[library newFunctionWithName:@"dyToolVisionPreview"];
|
||||
pipeline=function?[device newComputePipelineStateWithFunction:function error:nil]:nil;
|
||||
entry[@"visionPipeline"]=pipeline;
|
||||
[pipeline release];[function release];
|
||||
}
|
||||
[scale release];[queue release];[grayPipeline release];[gammaPipeline release];[gray release];[gamma release];[library release];
|
||||
}[devices release];if(!entry)return {};
|
||||
}[devices release];if(!entry)return NO;
|
||||
}
|
||||
id<MTLDevice>device=entry[@"device"];id<MTLTexture>source=[tile metalTextureForDevice:device];if(!source||source.framebufferOnly||!source.width||!source.height)return {};
|
||||
double factor=MIN(1.,MIN(3840./source.width,2160./source.height));NSUInteger width=floor(source.width*factor),height=floor(source.height*factor);if(width<16||height<16||width>3840||height>2160)return {};
|
||||
id<MTLDevice>device=entry[@"device"];id<MTLTexture>source=[tile metalTextureForDevice:device];if(!source||source.framebufferOnly||!source.width||!source.height)return NO;
|
||||
double factor=MIN(1.,MIN(3840./source.width,2160./source.height));NSUInteger width=floor(source.width*factor),height=floor(source.height*factor);if(width<16||height<16||width>3840||height>2160)return NO;
|
||||
MTLPixelFormat format=source.pixelFormat==MTLPixelFormatRGBA32Float?MTLPixelFormatRGBA32Float:MTLPixelFormatRGBA16Float;
|
||||
id<MTLTexture>encoded=entry[@"encoded"],bytes=entry[@"bytes"];
|
||||
if(!encoded||encoded.width!=source.width||encoded.height!=source.height||encoded.pixelFormat!=format){MTLTextureDescriptor*d=[MTLTextureDescriptor texture2DDescriptorWithPixelFormat:format width:source.width height:source.height mipmapped:NO];d.storageMode=MTLStorageModePrivate;d.usage=MTLTextureUsageShaderRead|MTLTextureUsageShaderWrite;encoded=[[device newTextureWithDescriptor:d]autorelease];if(!encoded)return {};entry[@"encoded"]=encoded;}
|
||||
if(!bytes||bytes.width!=width||bytes.height!=height){MTLTextureDescriptor*d=[MTLTextureDescriptor texture2DDescriptorWithPixelFormat:MTLPixelFormatRGBA8Unorm width:width height:height mipmapped:NO];d.storageMode=MTLStorageModePrivate;d.usage=MTLTextureUsageShaderRead|MTLTextureUsageShaderWrite;bytes=[[device newTextureWithDescriptor:d]autorelease];if(!bytes)return {};entry[@"bytes"]=bytes;}
|
||||
id<MTLBuffer>buffer=entry[@"buffer"];if(!buffer||buffer.length!=width*height){buffer=[[device newBufferWithLength:width*height options:MTLResourceStorageModeShared]autorelease];if(!buffer)return {};entry[@"buffer"]=buffer;}
|
||||
if(!encoded||encoded.width!=source.width||encoded.height!=source.height||encoded.pixelFormat!=format){MTLTextureDescriptor*d=[MTLTextureDescriptor texture2DDescriptorWithPixelFormat:format width:source.width height:source.height mipmapped:NO];d.storageMode=MTLStorageModePrivate;d.usage=MTLTextureUsageShaderRead|MTLTextureUsageShaderWrite;encoded=[[device newTextureWithDescriptor:d]autorelease];if(!encoded)return NO;entry[@"encoded"]=encoded;}
|
||||
if(!bytes||bytes.width!=width||bytes.height!=height){MTLTextureDescriptor*d=[MTLTextureDescriptor texture2DDescriptorWithPixelFormat:MTLPixelFormatRGBA8Unorm width:width height:height mipmapped:NO];d.storageMode=MTLStorageModePrivate;d.usage=MTLTextureUsageShaderRead|MTLTextureUsageShaderWrite;bytes=[[device newTextureWithDescriptor:d]autorelease];if(!bytes)return NO;entry[@"bytes"]=bytes;}
|
||||
id<MTLBuffer>buffer=nil;
|
||||
if(gray){
|
||||
buffer=entry[@"buffer"];
|
||||
if(buffer.length!=width*height){
|
||||
buffer=[[device newBufferWithLength:width*height options:MTLResourceStorageModeShared]autorelease];
|
||||
if(!buffer)return NO;
|
||||
entry[@"buffer"]=buffer;
|
||||
}
|
||||
}
|
||||
id<MTLCommandBuffer>commands=[entry[@"queue"]commandBuffer];id<MTLComputeCommandEncoder>encoder=[commands computeCommandEncoder];[encoder setComputePipelineState:entry[@"gamma"]];[encoder setTexture:source atIndex:0];[encoder setTexture:encoded atIndex:1];[encoder dispatchThreads:MTLSizeMake(source.width,source.height,1)threadsPerThreadgroup:MTLSizeMake(16,16,1)];[encoder endEncoding];
|
||||
[entry[@"scale"]encodeToCommandBuffer:commands sourceTexture:encoded destinationTexture:bytes];
|
||||
vector_uint3 info={(unsigned)width,(unsigned)height,(unsigned)(tile.imageOrigin==kFxImageOrigin_BOTTOM_LEFT)};encoder=[commands computeCommandEncoder];[encoder setComputePipelineState:entry[@"gray"]];[encoder setTexture:bytes atIndex:0];[encoder setBuffer:buffer offset:0 atIndex:0];[encoder setBytes:&info length:sizeof(info)atIndex:1];[encoder dispatchThreads:MTLSizeMake(width,height,1)threadsPerThreadgroup:MTLSizeMake(16,16,1)];[encoder endEncoding];
|
||||
unsigned flip=tile.imageOrigin==kFxImageOrigin_BOTTOM_LEFT;
|
||||
if(gray){
|
||||
vector_uint3 info={(unsigned)width,(unsigned)height,flip};
|
||||
encoder=[commands computeCommandEncoder];
|
||||
[encoder setComputePipelineState:entry[@"gray"]];[encoder setTexture:bytes atIndex:0];
|
||||
[encoder setBuffer:buffer offset:0 atIndex:0];[encoder setBytes:&info length:sizeof(info) atIndex:1];
|
||||
[encoder dispatchThreads:MTLSizeMake(width,height,1) threadsPerThreadgroup:MTLSizeMake(16,16,1)];
|
||||
[encoder endEncoding];
|
||||
}
|
||||
id<MTLBuffer>previewBuffer=nil;
|
||||
vector_uint3 previewInfo={0,0,info.z};
|
||||
if(preview&&entry[@"previewPipeline"]){
|
||||
CVPixelBufferRef visionImage=nullptr;
|
||||
CVMetalTextureRef visionTexture=nullptr;
|
||||
vector_uint3 previewInfo={0,0,flip};
|
||||
if(preview){
|
||||
double scale=std::min({1.,640./width,360./height});
|
||||
previewInfo.x=std::max(1u,(unsigned)(width*scale));previewInfo.y=std::max(1u,(unsigned)(height*scale));
|
||||
}
|
||||
if(preview&&visionFlip&&entry[@"visionPipeline"]){
|
||||
visionTexture=[self newTrackingVisionTexture:entry size:previewInfo image:&visionImage];
|
||||
if(visionTexture){
|
||||
uint32_t reverseRows=visionFlip.boolValue;
|
||||
encoder=[commands computeCommandEncoder];
|
||||
[encoder setComputePipelineState:entry[@"visionPipeline"]];
|
||||
[encoder setTexture:bytes atIndex:0];
|
||||
[encoder setTexture:CVMetalTextureGetTexture(visionTexture) atIndex:1];
|
||||
[encoder setBytes:&previewInfo length:sizeof(previewInfo) atIndex:0];
|
||||
[encoder setBytes:&reverseRows length:sizeof(reverseRows) atIndex:1];
|
||||
[encoder dispatchThreads:MTLSizeMake(previewInfo.x,previewInfo.y,1) threadsPerThreadgroup:MTLSizeMake(16,16,1)];
|
||||
[encoder endEncoding];
|
||||
}
|
||||
}
|
||||
if(preview&&!visionTexture&&entry[@"previewPipeline"]){
|
||||
NSUInteger size=previewInfo.x*previewInfo.y*4;
|
||||
previewBuffer=entry[@"previewBuffer"];
|
||||
if(previewBuffer.length!=size){
|
||||
@@ -54,14 +131,27 @@
|
||||
[encoder endEncoding];
|
||||
}
|
||||
}
|
||||
if(!gray&&!previewBuffer&&!visionTexture)return NO;
|
||||
[commands commit];[commands waitUntilCompleted];
|
||||
if(commands.status!=MTLCommandBufferStatusCompleted){if(error)*error=commands.error;return {};}
|
||||
if(previewBuffer){
|
||||
if(visionTexture)CFRelease(visionTexture);
|
||||
if(commands.status!=MTLCommandBufferStatusCompleted){
|
||||
if(visionImage)CVPixelBufferRelease(visionImage);
|
||||
if(error)*error=commands.error;
|
||||
return NO;
|
||||
}
|
||||
if(previewBuffer||visionImage){
|
||||
double pixelAspect=tile.pixelAspect;
|
||||
double aspect=double(width)/height*(std::isfinite(pixelAspect)&&pixelAspect>0?pixelAspect:1);
|
||||
*preview=@{@"rgba":[NSData dataWithBytes:previewBuffer.contents length:previewBuffer.length],
|
||||
@"width":@(previewInfo.x),@"height":@(previewInfo.y),@"aspect":@(aspect)};
|
||||
NSString *key=visionImage?@"visionImage":@"rgba";
|
||||
id pixels=visionImage?(id)visionImage:[NSData dataWithBytes:previewBuffer.contents length:previewBuffer.length];
|
||||
*preview=@{key:pixels,@"width":@(previewInfo.x),@"height":@(previewInfo.y),@"aspect":@(aspect)};
|
||||
if(visionImage)CVPixelBufferRelease(visionImage);
|
||||
}
|
||||
dy::GrayFrame result;result.width=int(width);result.height=int(height);const auto*begin=static_cast<const uint8_t*>(buffer.contents);result.bytes.assign(begin,begin+width*height);return result;
|
||||
if(gray){
|
||||
gray->width=int(width);gray->height=int(height);
|
||||
const auto *begin=static_cast<const uint8_t*>(buffer.contents);
|
||||
gray->bytes.assign(begin,begin+width*height);
|
||||
}
|
||||
return YES;
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@
|
||||
CMTime _toolSourceTime,_trackingReferenceTime,_trackingFrameDuration,_trackingPreviousTime;
|
||||
std::atomic_bool _trackingActive,_trackingFinishing,_trackingInFrame,_trackingCancelled;
|
||||
BOOL _trackingBackward,_trackingBoth,_trackingSingle,_trackingFlip,_trackingDiscard;
|
||||
uint64_t _trackingGeneration;double _trackingStarted;
|
||||
uint64_t _trackingGeneration;double _trackingStarted,_trackingRunStart;NSUInteger _trackingDirectFrames,_trackingCopiedFrames;
|
||||
NSString *_trackingNode,*_trackingMaskID,*_trackingMessage;
|
||||
NSDictionary *_trackingFrozenMask;NSMutableDictionary *_trackingCandidate;
|
||||
NSMutableArray *_trackingSamples;
|
||||
|
||||
@@ -155,7 +155,9 @@
|
||||
NSInteger direction=[notification.userInfo[@"direction"]integerValue];if(direction==9){_trackingCancelled.store(true);return;}@synchronized(self){if(_toolDrawingPen||_toolDrawingShape||_toolCanvasCommitPending){[self postToolCanvasStatus:@"请先完成或取消蒙版绘制,再开始跟踪。"];return;}}if(_trackingActive.load()){[self toolStatus:@"请先取消当前跟踪"];return;}
|
||||
id<FxCustomParameterActionAPI_v4>a=[_apiManager apiForProtocol:@protocol(FxCustomParameterActionAPI_v4)];if(!a)return;[a startAction:self];@try{
|
||||
id<FxAnalysisAPI>analysis=[_apiManager apiForProtocol:@protocol(FxAnalysisAPI)];FxAnalysisState state=[analysis analysisStateForEffect];if(!analysis||state==kFxAnalysisState_AnalysisRequested||state==kFxAnalysisState_AnalysisStarted){[self toolStatus:@"宿主未就绪,请等待当前分析结束"];return;}
|
||||
CMTime time=a.currentTime;NSDictionary *doc=DYReadTools(_apiManager,time).document;NSString *node=DYSharedMaskWithID(doc,notification.userInfo[@"mask"])?@"shared":notification.userInfo[@"node"];NSDictionary *mask=[self toolMask:notification.userInfo[@"mask"] node:node document:doc];if(!mask||![mask[@"enabled"]boolValue]){[self toolStatus:@"请先选择当前工具的启用蒙版"];return;}DYMaskParameters seed=DYMaskAtTime(mask,time);if(seed.kind>DYMaskBezier||(seed.kind==DYMaskBezier&&[mask[@"nodes"]length]<3*sizeof(DYBezierNode))){[self toolStatus:@"跟踪需要矩形、椭圆或闭合钢笔区域"];return;}
|
||||
CMTime time=a.currentTime;
|
||||
if(!CMTIME_IS_NUMERIC(time)){[self toolStatus:@"请在时间线定位到有效画面后再开始跟踪"];return;}
|
||||
NSDictionary *doc=DYReadTools(_apiManager,time).document;NSString *node=DYSharedMaskWithID(doc,notification.userInfo[@"mask"])?@"shared":notification.userInfo[@"node"];NSDictionary *mask=[self toolMask:notification.userInfo[@"mask"] node:node document:doc];if(!mask||![mask[@"enabled"]boolValue]){[self toolStatus:@"请先选择当前工具的启用蒙版"];return;}DYMaskParameters seed=DYMaskAtTime(mask,time);if(seed.kind>DYMaskBezier||(seed.kind==DYMaskBezier&&[mask[@"nodes"]length]<3*sizeof(DYBezierNode))){[self toolStatus:@"跟踪需要矩形、椭圆或闭合钢笔区域"];return;}
|
||||
// The host may reuse an already rendered frame without calling our renderer.
|
||||
// Analyzer input is authoritative; a matching preview is only an optional
|
||||
// orientation check, never a prerequisite for starting at the playhead.
|
||||
@@ -164,14 +166,14 @@
|
||||
[_trackingNode release];_trackingNode=[node copy];[_trackingMaskID release];_trackingMaskID=[notification.userInfo[@"mask"]copy];[_trackingFrozenMask release];_trackingFrozenMask=[mask copy];[_trackingCandidate release];_trackingCandidate=[DYMutablePlist(mask)retain];[_trackingSamples release];_trackingSamples=[NSMutableArray new];[_trackingMessage release];_trackingMessage=nil;
|
||||
NSArray *source=DYStampSourceAtTime(mask,time);
|
||||
_trackingStampMotion=DYStampMotionAtTime(mask,time);
|
||||
_trackingObjectMode=DYMosaicTracksMask(doc,mask[@"id"]);_trackingObjectPending=_trackingObjectRepaired=0;
|
||||
_trackingObjectMode=DYMosaicTracksMask(doc,mask[@"id"]);_trackingObjectPending=_trackingObjectRepaired=0;_trackingDirectFrames=_trackingCopiedFrames=0;
|
||||
if(source){
|
||||
_trackingStampMotion.active=true;
|
||||
_trackingStampSourceSeed={[source[0] floatValue],[source[1] floatValue],
|
||||
std::min(8.f,[source[2] floatValue]*_trackingStampMotion.sourceScaleX),
|
||||
std::min(8.f,[source[3] floatValue]*_trackingStampMotion.sourceScaleY),0};
|
||||
}
|
||||
_trackingReferenceTime=time;_trackingSeed=seed;_trackingBackward=direction<0;_trackingBoth=direction==0;_trackingSingle=std::abs((int)direction)==2;_trackingDiscard=NO;_trackingCancelled.store(false);_trackingFinishing.store(false);_trackingActive.store(true);++_trackingGeneration;_trackingStarted=NSProcessInfo.processInfo.systemUptime;
|
||||
_trackingReferenceTime=time;_trackingSeed=seed;_trackingBackward=direction<0;_trackingBoth=direction==0;_trackingSingle=std::abs((int)direction)==2;_trackingDiscard=NO;_trackingCancelled.store(false);_trackingFinishing.store(false);_trackingActive.store(true);++_trackingGeneration;_trackingRunStart=_trackingStarted=NSProcessInfo.processInfo.systemUptime;
|
||||
_trackingPreviewInputRange=kCMTimeRangeInvalid;_trackingPreviewTotal=_trackingPreviewCompleted=0;
|
||||
@synchronized(self){[_trackingPreviewFrame release];_trackingPreviewFrame=nil;_trackingPreviewQueued=NO;}
|
||||
os_log(OS_LOG_DEFAULT,"dayu_tool_track_start direction=%{public}ld reference=%{public}.6f cached=%{public}d",(long)direction,CMTimeGetSeconds(time),_trackingReferenceFrame.valid());
|
||||
@@ -239,23 +241,38 @@
|
||||
if(_trackingCancelled.load())return [self finishToolAnalysis:@"已取消;保留最后连续可信轨迹" error:error];if(_trackingSingle&&_trackingSamples.count>=2)return [self finishToolAnalysis:nil error:error];if(_trackingSamples.count>=DYToolKeyLimit)return [self finishToolAnalysis:@"轨迹已到数量上限,保留已完成部分" error:error];
|
||||
CMTime expected=CMTIME_IS_NUMERIC(_trackingPreviousTime)?(_trackingBackward?CMTimeSubtract(_trackingPreviousTime,_trackingFrameDuration):CMTimeAdd(_trackingPreviousTime,_trackingFrameDuration)):_trackingReferenceTime;if(!CMTIME_IS_NUMERIC(time)||time.epoch!=expected.epoch||CMTimeCompare(time,expected)!=0)return [self stopToolAnalysis:@"宿主帧序列不连续,停在最后可信帧" error:error];
|
||||
NSDictionary *preview=nil;
|
||||
dy::GrayFrame frame=[self toolGrayFrame:tile preview:(_trackingSingle&&!_trackingObjectMode)?nullptr:&preview error:error];
|
||||
if(!frame.valid())return [self stopToolAnalysis:@"宿主未返回完整源画面" error:error];
|
||||
dy::GrayFrame frame;
|
||||
const bool stamp=_trackingStampMotion.active;
|
||||
const bool objectMode=_trackingObjectMode&&!stamp;
|
||||
// The object tracker consumes only the small color image. The gray frame
|
||||
// is useful at the seed only when checking orientation against a cached frame.
|
||||
const bool needsGray=!objectMode||(!_trackingSamples.count&&_trackingReferenceFrame.valid());
|
||||
// The seed may still need the legacy orientation comparison before the
|
||||
// tracking flip is known. All subsequent object frames can go straight to Vision.
|
||||
NSNumber *visionFlip=objectMode&&!needsGray?@(_trackingFlip):nil;
|
||||
if(![self captureTrackingTile:tile gray:needsGray?&frame:nullptr
|
||||
preview:(!_trackingSingle||objectMode)?&preview:nullptr visionFlip:visionFlip error:error])
|
||||
return [self stopToolAnalysis:@"宿主未返回完整源画面" error:error];
|
||||
if(!_trackingSamples.count){if(_trackingReferenceFrame.valid()&&frame.width==_trackingReferenceFrame.width&&frame.height==_trackingReferenceFrame.height){double same=0,flip=0;size_t count=0;for(int y=0;y<frame.height;y+=8)for(int x=0;x<frame.width;x+=8){float p=frame.at(y*frame.width+x);same+=fabs(p-_trackingReferenceFrame.at(y*frame.width+x));flip+=fabs(p-_trackingReferenceFrame.at((frame.height-1-y)*frame.width+x));count++;}same/=MAX(size_t(1),count);flip/=MAX(size_t(1),count);_trackingFlip=flip<.035&&flip+.008<same&&flip<same*.8;}os_log(OS_LOG_DEFAULT,"dayu_tool_track_seed width=%{public}d height=%{public}d flip=%{public}d time=%{public}.6f",frame.width,frame.height,(int)_trackingFlip,CMTimeGetSeconds(time));}
|
||||
if(_trackingFlip)frame.flipVertically();
|
||||
BOOL stamp=_trackingStampMotion.active;
|
||||
if(!objectMode&&_trackingFlip)frame.flipVertically();
|
||||
dy::TrackResult target,source;
|
||||
dy::ObjectStep objectStep;
|
||||
if(_trackingObjectMode&&!stamp){
|
||||
if(objectMode){
|
||||
CVPixelBufferRef visionImage=(CVPixelBufferRef)preview[@"visionImage"];
|
||||
NSData *rgba=preview[@"rgba"];int width=[preview[@"width"]intValue],height=[preview[@"height"]intValue];
|
||||
if(width<16||height<16||width>640||height>640||rgba.length!=size_t(width)*height*4)return [self finishToolAnalysis:@"目标跟踪未取得完整分析画面,原轨迹已保留" error:error];
|
||||
if(width<16||height<16||width>640||height>640||(!visionImage&&rgba.length!=size_t(width)*height*4))
|
||||
return [self finishToolAnalysis:@"目标跟踪未取得完整分析画面,原轨迹已保留" error:error];
|
||||
if(visionImage)++_trackingDirectFrames;else ++_trackingCopiedFrames;
|
||||
if(!_trackingSamples.count){
|
||||
dy::TrackerROI seed={_trackingSeed.centerX,_trackingSeed.centerY,_trackingSeed.width,_trackingSeed.height,_trackingSeed.angle};
|
||||
dy::TrackerROI roi=dy::visionMaskBounds(seed,_trackingShapePolygon,float(width)/height);_trackingObjectROI=roi;
|
||||
os_log(OS_LOG_DEFAULT,"dayu_object_track_worker main=%{public}d",(int)NSThread.isMainThread);
|
||||
if(!_objectTracker.reset((const uint8_t*)rgba.bytes,width,height,_trackingFlip,roi,1./CMTimeGetSeconds(_trackingFrameDuration)))return [self finishToolAnalysis:@"无法建立目标外观,请调整蒙版后重试" error:error];
|
||||
double fps=1./CMTimeGetSeconds(_trackingFrameDuration);
|
||||
bool seeded=visionImage?_objectTracker.reset(visionImage,roi,fps):
|
||||
_objectTracker.reset((const uint8_t*)rgba.bytes,width,height,_trackingFlip,roi,fps);
|
||||
if(!seeded)return [self finishToolAnalysis:@"无法建立目标外观,请调整蒙版后重试" error:error];
|
||||
objectStep={{roi.cx,roi.cy,roi.width,roi.height,1},true,false,false,0};
|
||||
}else objectStep=_objectTracker.track((const uint8_t*)rgba.bytes,width,height,_trackingFlip);
|
||||
}else objectStep=visionImage?_objectTracker.track(visionImage):_objectTracker.track((const uint8_t*)rgba.bytes,width,height,_trackingFlip);
|
||||
target=_objectTracker.result(objectStep);
|
||||
target.cx+=(_trackingSeed.centerX-_trackingObjectROI.cx)*target.scale;target.cy+=(_trackingSeed.centerY-_trackingObjectROI.cy)*target.scale;
|
||||
if(!target.valid)return [self finishToolAnalysis:@"目标未能重新确认,已停止;请调整蒙版后继续" error:error];
|
||||
@@ -317,7 +334,7 @@
|
||||
}
|
||||
packet[@"shape"]=[NSData dataWithBytes:&covered length:sizeof(covered)];packet[@"predicted"]=@(objectStep.predicted);
|
||||
packet[@"nodes"]=_trackingFrozenMask[@"nodes"];
|
||||
packet[@"flip"]=@(_trackingFlip);packet[@"time"]=@(CMTimeGetSeconds(time));
|
||||
packet[@"flip"]=@(_trackingFlip&&!preview[@"visionImage"]);packet[@"time"]=@(CMTimeGetSeconds(time));
|
||||
packet[@"completed"]=@(_trackingPreviewCompleted);
|
||||
packet[@"total"]=@(MAX(_trackingPreviewTotal,_trackingPreviewCompleted));
|
||||
packet[@"backward"]=@(_trackingBackward);
|
||||
@@ -347,8 +364,13 @@
|
||||
if(self->_trackingObjectRepaired)message=[message stringByAppendingFormat:@" · 补齐 %lu 帧短暂遮挡,请复核",(unsigned long)self->_trackingObjectRepaired];
|
||||
if(hasResults&&!self->_trackingDiscard){id<FxCustomParameterActionAPI_v4>a=[self->_apiManager apiForProtocol:@protocol(FxCustomParameterActionAPI_v4)];if(a){[a startAction:self];@try{NSMutableDictionary *doc=DYMutablePlist(DYReadTools(self->_apiManager,a.currentTime).document);NSString *node=DYSharedMaskWithID(doc,self->_trackingMaskID)?@"shared":self->_trackingNode;NSMutableDictionary *mask=[self toolMask:self->_trackingMaskID node:node document:doc];if(mask&&[mask isEqual:self->_trackingFrozenMask]){self->_trackingCandidate[@"status"]=message;[mask setDictionary:self->_trackingCandidate];id<FxUndoAPI>undo=[self->_apiManager apiForProtocol:@protocol(FxUndoAPI)];[undo startUndoGroup:mask[@"stampSource"]?@"仿制图章跟踪":@"蒙版区域跟踪"];BOOL written=DYWriteTools(self->_apiManager,doc,a.currentTime);[undo endUndoGroup];if(!written)message=@"宿主未接受轨迹,原蒙版已保留";}else message=@"目标工具或蒙版已更改,已丢弃过期跟踪结果";}@finally{[a endAction:self];}}}
|
||||
CMTime stepTime=self->_trackingPreviousTime;BOOL advance=self->_trackingSingle&&changed&&!self->_trackingDiscard&&!self->_trackingCancelled.load()&&CMTIME_IS_NUMERIC(stepTime);
|
||||
@synchronized(self->_toolCaptureDevices){for(NSMutableDictionary *entry in self->_toolCaptureDevices.allValues)[entry removeObjectsForKeys:@[@"encoded",@"bytes",@"buffer",@"previewBuffer"]];}
|
||||
@synchronized(self->_toolCaptureDevices){for(NSMutableDictionary *entry in self->_toolCaptureDevices.allValues)[entry removeObjectsForKeys:@[@"encoded",@"bytes",@"buffer",@"previewBuffer",@"visionPool",@"visionWidth",@"visionHeight"]];}
|
||||
self->_trackingActive.store(false);if(advance){id<FxCustomParameterActionAPI_v4>seek=[self->_apiManager apiForProtocol:@protocol(FxCustomParameterActionAPI_v4)];if(seek){[seek startAction:self];@try{id<FxTimingAPI_v4>timing=[self->_apiManager apiForProtocol:@protocol(FxTimingAPI_v4)];CMTime timelineTime=kCMTimeInvalid;[timing timelineTime:&timelineTime fromInputTime:stepTime];id<FxCommandAPI_v2>command=[self->_apiManager apiForProtocol:@protocol(FxCommandAPI_v2)];if(CMTIME_IS_NUMERIC(timelineTime)){NSError *seekError=nil;BOOL moved=[command movePlayheadToTime:timelineTime error:&seekError];if(!moved)os_log(OS_LOG_DEFAULT,"dayu_tool_track_seek timeline=%{public}.6f code=%{public}ld",CMTimeGetSeconds(timelineTime),(long)seekError.code);}else message=[message stringByAppendingString:@";宿主未提供有效播放头位置"];}@finally{[seek endAction:self];}}}[self->_toolAnalysisTimer invalidate];[self->_toolAnalysisTimer release];self->_toolAnalysisTimer=nil;[NSNotificationCenter.defaultCenter postNotificationName:DYModelChanged object:self->_apiManager];
|
||||
if(self->_trackingObjectMode)
|
||||
os_log(OS_LOG_DEFAULT,"dayu_object_track_finished elapsed_ms=%{public}.2f direct=%{public}lu copied=%{public}lu keys=%{public}lu",
|
||||
1000*(NSProcessInfo.processInfo.systemUptime-self->_trackingRunStart),
|
||||
(unsigned long)self->_trackingDirectFrames,(unsigned long)self->_trackingCopiedFrames,
|
||||
(unsigned long)[self->_trackingCandidate[@"keys"]count]);
|
||||
if(self->_trackingSingle)[self toolStatus:message];
|
||||
else [self postTrackingPreview:nil active:NO message:message];
|
||||
});return YES;
|
||||
|
||||
@@ -1,22 +1,44 @@
|
||||
// Included in DYRenderer; all calls execute under its per-instance recursive lock.
|
||||
- (id<MTLBuffer>)maskBuffer:(NSDictionary*)groups tile:(FxImageTile*)tile device:(id<MTLDevice>)device header:(DYToolMaskHeader*)h {
|
||||
return [self maskBuffer:groups tile:tile device:device header:h mosaic:NO];
|
||||
}
|
||||
- (id<MTLBuffer>)maskBuffer:(NSDictionary*)groups tile:(FxImageTile*)tile device:(id<MTLDevice>)device header:(DYToolMaskHeader*)h mosaic:(BOOL)mosaic {
|
||||
std::vector<DYToolMaskEntry> entries;FxRect image=tile.imagePixelBounds,bounds=tile.tilePixelBounds;
|
||||
float w=image.right-image.left,ht=image.top-image.bottom;BOOL bottom=tile.imageOrigin==kFxImageOrigin_BOTTOM_LEFT;
|
||||
h->offsetX=(bounds.left-image.left)/w;h->scaleX=(bounds.right-bounds.left)/w;
|
||||
h->offsetY=bottom?(image.top-bounds.bottom)/ht:(image.top-bounds.top)/ht;h->scaleY=(bottom?-1:1)*(bounds.top-bounds.bottom)/ht;
|
||||
h->premultiplied=1;
|
||||
for(NSString *type in groups){NSInteger section=[DYToolTypes()indexOfObject:type];if(section==NSNotFound)continue;
|
||||
for(NSDictionary *m in groups[type]){if(![m[@"enabled"]boolValue])continue;DYToolMaskEntry entry{};entry.section=(int)section;entry.combine=[m[@"combine"]intValue];[m[@"parameters"]getBytes:&entry.mask.parameters length:sizeof(DYMaskParameters)];entry.mask.parameters.imageAspect=w/ht;NSData *nodes=m[@"nodes"];entry.mask.path=dyFlattenMask((const DYBezierNode*)nodes.bytes,nodes.length/sizeof(DYBezierNode));entries.push_back(entry);}
|
||||
for(NSDictionary *m in groups[type]){
|
||||
if(![m[@"enabled"]boolValue])continue;
|
||||
DYToolMaskEntry entry{};entry.section=(int)section;entry.combine=[m[@"combine"]intValue];
|
||||
[m[@"parameters"]getBytes:&entry.mask.parameters length:sizeof(DYMaskParameters)];entry.mask.parameters.imageAspect=w/ht;
|
||||
if(entry.mask.parameters.kind>=DYMaskHSLKey)
|
||||
h->keySources|=entry.mask.parameters.sourceStage==DYMaskSourceOriginal?DYToolMaskOriginalKey:DYToolMaskLayerKey;
|
||||
NSData *nodes=m[@"nodes"];auto &path=entry.mask.path;
|
||||
path=dyFlattenMask((const DYBezierNode*)nodes.bytes,nodes.length/sizeof(DYBezierNode));
|
||||
if(mosaic&&entry.mask.parameters.kind==DYMaskBezier&&path.count>=3){
|
||||
auto x=std::minmax_element(path.x,path.x+path.count),y=std::minmax_element(path.y,path.y+path.count);
|
||||
entry.minX=*x.first;entry.maxX=*x.second;entry.minY=*y.first;entry.maxY=*y.second;
|
||||
}
|
||||
entries.push_back(entry);
|
||||
}
|
||||
}if(_faceEntries.length){const DYToolMaskEntry *faces=(const DYToolMaskEntry*)_faceEntries.bytes;entries.insert(entries.end(),faces,faces+_faceEntries.length/sizeof(DYToolMaskEntry));}h->count=(unsigned)entries.size();if(entries.empty())entries.push_back({});return [[device newBufferWithBytes:entries.data() length:entries.size()*sizeof(DYToolMaskEntry) options:MTLResourceStorageModeShared]autorelease];
|
||||
}
|
||||
- (BOOL)encodeBlend:(id<MTLTexture>)before after:(id<MTLTexture>)after output:(id<MTLTexture>)output masks:(id<MTLBuffer>)masks header:(DYToolMaskHeader)h entry:(NSMutableDictionary*)entry commands:(id<MTLCommandBuffer>)commands error:(NSError**)error {
|
||||
id<MTLComputePipelineState> pipeline=[self computePipeline:@"dyToolBlend" entry:entry error:error];if(!pipeline)return NO;
|
||||
id<MTLComputeCommandEncoder>encoder=[commands computeCommandEncoder];[encoder setComputePipelineState:pipeline];[encoder setTexture:before atIndex:0];[encoder setTexture:after atIndex:1];[encoder setTexture:output atIndex:2];[encoder setBuffer:masks offset:0 atIndex:0];[encoder setBytes:&h length:sizeof(h) atIndex:1];[encoder dispatchThreads:MTLSizeMake(output.width,output.height,1) threadsPerThreadgroup:MTLSizeMake(16,16,1)];[encoder endEncoding];return YES;
|
||||
id<MTLComputeCommandEncoder>encoder=masks?[commands computeCommandEncoder]:nil;if(!encoder)return fail(error,@"无法创建蒙版混合编码器");[encoder setComputePipelineState:pipeline];[encoder setTexture:before atIndex:0];[encoder setTexture:after atIndex:1];[encoder setTexture:output atIndex:2];[encoder setBuffer:masks offset:0 atIndex:0];[encoder setBytes:&h length:sizeof(h) atIndex:1];[encoder dispatchThreads:MTLSizeMake(output.width,output.height,1) threadsPerThreadgroup:MTLSizeMake(16,16,1)];[encoder endEncoding];return YES;
|
||||
}
|
||||
- (BOOL)copyTile:(FxImageTile*)source to:(FxImageTile*)dest entry:(NSMutableDictionary*)e error:(NSError**)error {
|
||||
return [self copyTile:source to:dest rotation:0 entry:e error:error];
|
||||
}
|
||||
- (BOOL)copyTile:(FxImageTile*)source to:(FxImageTile*)dest rotation:(double)angle entry:(NSMutableDictionary*)e error:(NSError**)error {
|
||||
id<MTLCommandBuffer>commands=[e[@"queue"] commandBuffer];
|
||||
if(!commands)return fail(error,@"无法分配图像输出命令");
|
||||
return [self copyTile:source to:dest rotation:angle entry:e commands:commands error:error];
|
||||
}
|
||||
- (BOOL)copyTile:(FxImageTile*)source to:(FxImageTile*)dest rotation:(double)angle entry:(NSMutableDictionary*)e commands:(id<MTLCommandBuffer>)commands error:(NSError**)error {
|
||||
if(!commands)return NO;
|
||||
id<MTLDevice>device=e[@"device"];id<MTLTexture>a=[source metalTextureForDevice:device],b=[dest metalTextureForDevice:device];
|
||||
if(!a||!b)return fail(error,@"宿主图像纹理不可用");
|
||||
BOOL useFloat=_managedFinishing||angle!=0;
|
||||
@@ -35,7 +57,7 @@
|
||||
if(source.imageOrigin==kFxImageOrigin_BOTTOM_LEFT)vertex.textureCoordinate.y=1-vertex.textureCoordinate.y;
|
||||
if(dest.imageOrigin==kFxImageOrigin_BOTTOM_LEFT)vertex.position.y=-vertex.position.y;
|
||||
}
|
||||
vector_uint2 size={(unsigned)b.width,(unsigned)b.height};id<MTLCommandBuffer>cb=[e[@"queue"]commandBuffer];MTLRenderPassDescriptor *pass=[MTLRenderPassDescriptor renderPassDescriptor];pass.colorAttachments[0].texture=b;pass.colorAttachments[0].loadAction=MTLLoadActionDontCare;pass.colorAttachments[0].storeAction=MTLStoreActionStore;id<MTLRenderCommandEncoder>encoder=[cb renderCommandEncoderWithDescriptor:pass];[encoder setRenderPipelineState:pipeline];[encoder setVertexBytes:v length:sizeof(v) atIndex:0];[encoder setVertexBytes:&size length:sizeof(size) atIndex:1];[encoder setFragmentTexture:a atIndex:0];[encoder drawPrimitives:MTLPrimitiveTypeTriangleStrip vertexStart:0 vertexCount:4];[encoder endEncoding];return [self completeCommands:cb destination:dest texture:b entry:e]?YES:fail(error,cb.error.localizedDescription);
|
||||
vector_uint2 size={(unsigned)b.width,(unsigned)b.height};MTLRenderPassDescriptor *pass=[MTLRenderPassDescriptor renderPassDescriptor];pass.colorAttachments[0].texture=b;pass.colorAttachments[0].loadAction=MTLLoadActionDontCare;pass.colorAttachments[0].storeAction=MTLStoreActionStore;id<MTLRenderCommandEncoder>encoder=[commands renderCommandEncoderWithDescriptor:pass];if(!encoder)return fail(error,@"无法创建图像输出编码器");[encoder setRenderPipelineState:pipeline];[encoder setVertexBytes:v length:sizeof(v) atIndex:0];[encoder setVertexBytes:&size length:sizeof(size) atIndex:1];[encoder setFragmentTexture:a atIndex:0];[encoder drawPrimitives:MTLPrimitiveTypeTriangleStrip vertexStart:0 vertexCount:4];[encoder endEncoding];return [self completeCommands:commands destination:dest texture:b entry:e]?YES:fail(error,commands.error.localizedDescription);
|
||||
}
|
||||
// Extra skin keeps the source reference used by the prior release. All other
|
||||
// extra tools reuse the same isolated native tool path and their own mask group.
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
auto drain=[&](){double end=NSProcessInfo.processInfo.systemUptime+.15;while(NSProcessInfo.processInfo.systemUptime<end)[[NSRunLoop mainRunLoop]runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:.005]];};CMTimeRange inputRange=CMTimeRangeMake(kCMTimeZero,CMTimeMake(6*1001,24000)),desired;
|
||||
NSMutableArray *updates=[NSMutableArray array];
|
||||
id observer=[NSNotificationCenter.defaultCenter addObserverForName:@"DYToolTrackingStatus" object:host queue:nil usingBlock:^(NSNotification *note){if(note.userInfo[@"tracking"])[updates addObject:note.userInfo];}];
|
||||
host->_time=kCMTimeInvalid;request(1);
|
||||
run.record(@"tracking-invalid-host-time-does-not-start-analysis",host->_forwardStarts==0&&host->_state==kFxAnalysisState_NotAnalyzing);
|
||||
run.need(@"tracking-renders-valid-source-before-analysis",capture(0));run.record(@"inactive-tracking-avoids-full-frame-motion-readback",[[plugin valueForKey:@"toolCaptureDevices"]count]==0);int undoBefore=base->_undoStarts;request(1);BOOL callbacks=[plugin desiredAnalysisTimeRange:&desired forInputWithTimeRange:inputRange error:&error]&&[plugin setupAnalysisForTimeRange:desired frameDuration:timeAt(1) error:&error];
|
||||
for(int i=0;i<6&&callbacks;i++){setFrame(i);callbacks&=[plugin analyzeFrame:frame atTime:timeAt(i) error:&error];}host->_state=kFxAnalysisState_AnalysisCompleted;[plugin cleanupAnalysis:nil];drain();NSDictionary *tracked=DYReadTools(base,kCMTimeZero).document[@"baseMasks"][@"hsl"][0];DYMaskParameters end=DYMaskAtTime(tracked,timeAt(5));run.record(@"host-callback-vision-tracking-six-exact-frames",callbacks&&[tracked[@"keys"]count]==6&&fabs(end.centerX-(.5+10./tw))<.004&&fabs(end.centerY-(.5+5./th))<.004,@{@"keyCount":@([tracked[@"keys"]count]),@"centerX":@(end.centerX),@"centerY":@(end.centerY),@"error":reason(error)});
|
||||
NSDictionary *lastPreview=updates.count>=2?updates[updates.count-2]:nil;
|
||||
@@ -66,6 +68,49 @@
|
||||
auto compact=[plugin toolGrayFrame:fine preview:nullptr error:nil];BOOL identical=compact.valid()&&compact.pixels.empty()&&compact.bytes.size()==w*h;
|
||||
for(size_t i=0;i<compact.bytes.size()&&identical;++i)identical=compact.at(i)==gray.pixels[i];
|
||||
run.record(@"tracking-metal-gray8-compact-readback-matches-float-reference",identical,@{@"readbackBytes":@(compact.bytes.size()),@"previousReadbackBytes":@(gray.pixels.size()*sizeof(float))});
|
||||
id<DYToolHostProbe> previewOnly=[(id)[[NSClassFromString(@"DYPlugIn") alloc] initWithAPIManager:host] autorelease];
|
||||
NSDictionary *color=nil,*referenceColor=nil;
|
||||
BOOL colorOK=[previewOnly captureTrackingTile:fine gray:nullptr preview:&color error:nil];
|
||||
auto full=[plugin toolGrayFrame:fine preview:&referenceColor error:nil];
|
||||
BOOL noGrayBuffer=YES;for(NSDictionary *entry in [[previewOnly valueForKey:@"toolCaptureDevices"] allValues])noGrayBuffer&=entry[@"buffer"]==nil;
|
||||
run.record(@"mosaic-tracking-4k-color-input-matches-without-gray-buffer",colorOK&&full.valid()&&color[@"rgba"]&&[color isEqual:referenceColor]&&noGrayBuffer);
|
||||
}
|
||||
{
|
||||
const NSUInteger w=323,h=181;
|
||||
DYDiagnosticTile *tile=[[[DYDiagnosticTile alloc]initWithDevice:gpu width:w height:h]autorelease];
|
||||
Pixels color(w*h*4);
|
||||
for(NSUInteger y=0;y<h;++y)for(NSUInteger x=0;x<w;++x){
|
||||
const auto i=(y*w+x)*4;
|
||||
color[i]=(x%23)/22.f;color[i+1]=(y%29)/28.f;color[i+2]=((x+y)%37)/36.f;color[i+3]=(x%7)/6.f;
|
||||
}
|
||||
[[tile metalTextureForDevice:gpu]replaceRegion:MTLRegionMake2D(0,0,w,h) mipmapLevel:0 withBytes:color.data() bytesPerRow:w*8];
|
||||
id<DYToolHostProbe> legacy=[(id)[[NSClassFromString(@"DYPlugIn") alloc] initWithAPIManager:host] autorelease];
|
||||
id<DYToolHostProbe> direct=[(id)[[NSClassFromString(@"DYPlugIn") alloc] initWithAPIManager:host] autorelease];
|
||||
BOOL exact=tile!=nil;NSUInteger compared=0;
|
||||
for(FxImageOrigin origin : {kFxImageOrigin_TOP_LEFT,kFxImageOrigin_BOTTOM_LEFT}){
|
||||
[tile setDiagnosticImageOrigin:origin];
|
||||
for(BOOL flip : {NO,YES}){@autoreleasepool{
|
||||
NSDictionary *rgba=nil,*packet=nil;
|
||||
[legacy captureTrackingTile:tile gray:nullptr preview:&rgba error:nil];
|
||||
[direct captureTrackingTile:tile gray:nullptr preview:&packet visionFlip:@(flip) error:nil];
|
||||
CVPixelBufferRef image=(CVPixelBufferRef)packet[@"visionImage"];
|
||||
NSData *reference=rgba[@"rgba"];
|
||||
if(!image||!CVPixelBufferGetIOSurface(image)||packet[@"rgba"]||reference.length!=w*h*4||
|
||||
CVPixelBufferGetPixelFormatType(image)!=kCVPixelFormatType_32BGRA||
|
||||
CVPixelBufferLockBaseAddress(image,kCVPixelBufferLock_ReadOnly)!=kCVReturnSuccess){exact=NO;continue;}
|
||||
const auto *actual=static_cast<const uint8_t*>(CVPixelBufferGetBaseAddress(image));
|
||||
const auto *expected=static_cast<const uint8_t*>(reference.bytes);
|
||||
const size_t stride=CVPixelBufferGetBytesPerRow(image);
|
||||
for(NSUInteger y=0;y<h;++y)for(NSUInteger x=0;x<w;++x){
|
||||
const auto *a=actual+y*stride+x*4,*e=expected+((flip?h-1-y:y)*w+x)*4;
|
||||
exact&=a[0]==e[2]&&a[1]==e[1]&&a[2]==e[0]&&a[3]==255;
|
||||
}
|
||||
CVPixelBufferUnlockBaseAddress(image,kCVPixelBufferLock_ReadOnly);
|
||||
++compared;
|
||||
}}
|
||||
}
|
||||
for(NSDictionary *entry in [[direct valueForKey:@"toolCaptureDevices"] allValues])exact&=!entry[@"previewBuffer"]&&!entry[@"buffer"];
|
||||
run.record(@"tracking-vision-iosurface-matches-cpu-bgra-byte-for-byte",exact&&compared==4,@{@"comparisons":@(compared),@"width":@(w),@"height":@(h)});
|
||||
}
|
||||
// UI aliases of a shared object are one tracking target. Switching from the
|
||||
// global editor to either linked module must not cancel a valid analysis.
|
||||
|
||||
@@ -29,6 +29,8 @@
|
||||
- (BOOL)cleanupAnalysis:(NSError**)error;
|
||||
- (dy::GrayFrame)toolGrayFrame:(FxImageTile*)tile error:(NSError**)error;
|
||||
- (dy::GrayFrame)toolGrayFrame:(FxImageTile*)tile preview:(NSDictionary**)preview error:(NSError**)error;
|
||||
- (BOOL)captureTrackingTile:(FxImageTile*)tile gray:(dy::GrayFrame*)gray preview:(NSDictionary**)preview error:(NSError**)error;
|
||||
- (BOOL)captureTrackingTile:(FxImageTile*)tile gray:(dy::GrayFrame*)gray preview:(NSDictionary**)preview visionFlip:(NSNumber*)visionFlip error:(NSError**)error;
|
||||
@end
|
||||
|
||||
@interface DYToolCanvasProbe : DYToolTrackingProbe
|
||||
|
||||
+19
-5
@@ -60,14 +60,28 @@ kernel void dyToolCapture(texture2d<float> source [[texture(0)]],device uchar* p
|
||||
}
|
||||
|
||||
// Reuse the analysis source texture for the lightweight color preview.
|
||||
inline uchar4 dyTrackingPreviewPixel(texture2d<float> source,uint2 pos,uint3 info){
|
||||
constexpr sampler filter(coord::normalized,address::clamp_to_edge,filter::linear);
|
||||
float2 uv=(float2(pos)+.5f)/float2(info.xy);
|
||||
if(info.z)uv.y=1-uv.y;
|
||||
return uchar4(uchar3(rint(saturate(source.sample(filter,uv).rgb)*255)),255);
|
||||
}
|
||||
kernel void dyToolTrackingPreview(texture2d<float> source [[texture(0)]],
|
||||
device uchar4 *pixels [[buffer(0)]],
|
||||
constant uint3 &info [[buffer(1)]],
|
||||
uint2 pos [[thread_position_in_grid]]){
|
||||
if(any(pos>=info.xy))return;
|
||||
constexpr sampler filter(coord::normalized,address::clamp_to_edge,filter::linear);
|
||||
float2 uv=(float2(pos)+.5f)/float2(info.xy);
|
||||
if(info.z)uv.y=1-uv.y;
|
||||
float3 rgb=source.sample(filter,uv).rgb;
|
||||
pixels[pos.y*info.x+pos.x]=uchar4(uchar3(rint(saturate(rgb)*255)),255);
|
||||
pixels[pos.y*info.x+pos.x]=dyTrackingPreviewPixel(source,pos,info);
|
||||
}
|
||||
|
||||
kernel void dyToolVisionPreview(texture2d<float> source [[texture(0)]],
|
||||
texture2d<float,access::write> image [[texture(1)]],
|
||||
constant uint3 &info [[buffer(0)]],
|
||||
constant uint &reverseRows [[buffer(1)]],
|
||||
uint2 pos [[thread_position_in_grid]]){
|
||||
if(any(pos>=info.xy))return;
|
||||
// Reverse the same discrete row as the CPU packer, keeping sampling and
|
||||
// quantization identical for both image origins and odd sizes.
|
||||
uint2 sample=uint2(pos.x,reverseRows?info.y-1-pos.y:pos.y);
|
||||
image.write(float4(dyTrackingPreviewPixel(source,sample,info))/255.f,pos);
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
#import <CoreVideo/CoreVideo.h>
|
||||
|
||||
@interface DYTrackingPreviewImage : NSView
|
||||
- (void)showFrame:(NSDictionary *)frame;
|
||||
@end
|
||||
@@ -18,10 +20,21 @@
|
||||
[_frame release];_frame=[frame copy];[_image release];_image=nil;
|
||||
NSData *pixels=frame[@"rgba"];
|
||||
NSUInteger w=[frame[@"width"] unsignedIntegerValue],h=[frame[@"height"] unsignedIntegerValue];
|
||||
if(w&&h&&pixels.length==w*h*4){
|
||||
CVPixelBufferRef visionImage=(CVPixelBufferRef)frame[@"visionImage"];
|
||||
size_t stride=w*4;
|
||||
CGBitmapInfo bitmapInfo=kCGImageAlphaNoneSkipLast;
|
||||
// Only frames actually presented in the coalesced UI are copied to a
|
||||
// display bitmap. The analysis worker passes the shared buffer directly.
|
||||
if(visionImage&&CVPixelBufferLockBaseAddress(visionImage,kCVPixelBufferLock_ReadOnly)==kCVReturnSuccess){
|
||||
stride=CVPixelBufferGetBytesPerRow(visionImage);
|
||||
pixels=[NSData dataWithBytes:CVPixelBufferGetBaseAddress(visionImage) length:stride*h];
|
||||
CVPixelBufferUnlockBaseAddress(visionImage,kCVPixelBufferLock_ReadOnly);
|
||||
bitmapInfo=kCGBitmapByteOrder32Little|kCGImageAlphaNoneSkipFirst;
|
||||
}
|
||||
if(w&&h&&pixels.length==stride*h){
|
||||
CGDataProviderRef provider=CGDataProviderCreateWithCFData((CFDataRef)pixels);
|
||||
CGColorSpaceRef space=CGColorSpaceCreateWithName(kCGColorSpaceSRGB);
|
||||
CGImageRef cg=CGImageCreate(w,h,8,32,w*4,space,kCGImageAlphaNoneSkipLast,provider,nil,true,kCGRenderingIntentDefault);
|
||||
CGImageRef cg=CGImageCreate(w,h,8,32,stride,space,bitmapInfo,provider,nil,true,kCGRenderingIntentDefault);
|
||||
if(cg){_image=[[NSImage alloc]initWithCGImage:cg size:NSMakeSize(w,h)];CGImageRelease(cg);}
|
||||
CGColorSpaceRelease(space);CGDataProviderRelease(provider);
|
||||
}
|
||||
|
||||
@@ -18,6 +18,28 @@
|
||||
NSMutableDictionary *zero=DYMutablePlist(DYNewMask(DYMaskRectangle));DYMaskParameters p=DYMaskAtTime(zero,kCMTimeZero);p.strength=0;zero[@"parameters"]=[NSData dataWithBytes:&p length:sizeof(p)];doc[@"baseMasks"][@"hsl"]=@[zero];
|
||||
Pixels masked=frame(changed,doc,@"unified-zero-mask");run.record(@"unified-zero-mask-is-exact-neutral",difference(masked,plain).maximum==0);[doc[@"baseMasks"]removeObjectForKey:@"hsl"];
|
||||
changed.cm.outputTransfer=1002;changed.cm.toneMapping=1;changed.hslSatA.x=40;Pixels last=frame(changed,doc,@"unified-last-output");doc[@"outputAfter"]=@"base:primary";Pixels middle=frame(changed,doc,@"unified-middle-output");run.record(@"unified-moving-output-changes-actual-domain-order",difference(last,middle).maximum>.001,@{@"difference":@(difference(last,middle).maximum)});
|
||||
{
|
||||
Pixels patch(w*h*4);
|
||||
for(size_t i=0;i<patch.size();i+=4){patch[i]=decode(.08f);patch[i+1]=decode(.045f);patch[i+2]=decode(.022f);patch[i+3]=1;}
|
||||
[[src metalTextureForDevice:gpu]replaceRegion:MTLRegionMake2D(0,0,w,h)mipmapLevel:0 withBytes:patch.data()bytesPerRow:w*8];
|
||||
NSMutableDictionary *keyDoc=DYMutablePlist(DYInitialToolDocument(nil));
|
||||
DYUniforms exposed=u;exposed.exposure=3;
|
||||
DYUniforms hue=exposed;hue.hslHueA=hue.hslHueB=(DYFloat4){48,48,48,48};
|
||||
Pixels withoutHSL=frame(exposed,keyDoc,@"unified-luma-key-input-reference");
|
||||
Pixels unmaskedHSL=frame(hue,keyDoc,@"unified-luma-key-graded-reference");
|
||||
NSMutableDictionary *key=DYMutablePlist(DYNewMask(DYMaskLumaKey));
|
||||
DYMaskParameters parameters=DYMaskAtTime(key,kCMTimeZero);parameters.inputBlack=.33f;parameters.inputWhite=.53f;
|
||||
parameters.sourceStage=DYMaskSourceOriginal;
|
||||
key[@"parameters"]=[NSData dataWithBytes:¶meters length:sizeof(parameters)];
|
||||
keyDoc[@"baseMasks"][@"hsl"]=@[key];
|
||||
Pixels originalKey=frame(hue,keyDoc,@"unified-luma-key-original-render");
|
||||
parameters.sourceStage=DYMaskSourceLayerInput;
|
||||
key[@"parameters"]=[NSData dataWithBytes:¶meters length:sizeof(parameters)];
|
||||
Pixels layerKey=frame(hue,keyDoc,@"unified-luma-key-layer-render");
|
||||
run.record(@"unified-mask-key-source-selects-original-or-current-color",
|
||||
difference(withoutHSL,unmaskedHSL).maximum>.001&&
|
||||
difference(originalKey,withoutHSL).maximum==0&&difference(layerKey,unmaskedHSL).maximum==0);
|
||||
}
|
||||
DYDiagnosticManager *host=[[[DYDiagnosticManager alloc]init]autorelease];DYCreateParameters(host,nil);DYAssetState *assets=[[[DYAssetState alloc]init]autorelease];assets.colorManagement=v4;DYWriteAssets(host,assets,kCMTimeZero);
|
||||
DYInspector *view=[[[DYInspector alloc]initWithAPIManager:host]autorelease];[view refresh];[view setFrameSize:NSMakeSize(400,400)];[view layoutSubtreeIfNeeded];NSDictionary *output=nil;for(NSDictionary *card in [view valueForKey:@"cards"])if([card[@"section"][@"key"]isEqual:@"output"])output=card;
|
||||
run.record(@"unified-inspector-output-visible-at-chain-tail",output&&![output[@"view"]isHidden]&&NSMaxY([output[@"view"]frame])>NSMaxY([[[view valueForKey:@"cards"]firstObject][@"view"]frame]));
|
||||
|
||||
@@ -2,24 +2,25 @@
|
||||
- (BOOL)renderUnifiedSource:(FxImageTile*)src destination:(FxImageTile*)dst uniforms:(DYUniforms)u paths:(NSDictionary*)paths spider:(NSData*)spider tools:(NSDictionary*)tools hostPrimaries:(NSInteger)primaries error:(NSError**)error {
|
||||
if(tools[@"sharedMasks"])tools=DYResolvedToolDocument(tools);
|
||||
NSMutableDictionary*entry=[self device:dst.deviceRegistryID error:error];if(!entry)return NO;id<MTLDevice>d=entry[@"device"];id<MTLTexture>source=[src metalTextureForDevice:d];if(!source)return fail(error,@"一级 CST 输入纹理不可用。");
|
||||
DYManagedBatch batch{entry[@"queue"],error};
|
||||
uint64_t pixels=uint64_t(source.width)*source.height;if(!pixels||pixels>64ull*1024*1024||pixels*16*8>MAX(768ull*1024*1024,MIN(2ull*1024*1024*1024,d.recommendedMaxWorkingSetSize/2)))return fail(error,@"当前画面超过一级 CST 内存预算。");
|
||||
BOOL inputEnabled=u.inputSectionEnabled>.5;DYCMSettings global=u.cm;DYApplyRemovedBaseTools(&u,tools);u.cm=global;int wt=lroundf(u.cm.workingTransfer),wg=lroundf(u.cm.workingGamut);
|
||||
NSMutableArray*pool=[NSMutableArray array];NSCountedSet*pinned=[NSCountedSet set];id<MTLTexture>current=nil,originalWorking=nil;int initialGamut=wg,initialTransfer=wt;
|
||||
auto next=[&]()->id<MTLTexture>{for(id<MTLTexture>t in pool)if(t!=current&&![pinned containsObject:t])return t;MTLTextureDescriptor*td=[MTLTextureDescriptor texture2DDescriptorWithPixelFormat:MTLPixelFormatRGBA32Float width:source.width height:source.height mipmapped:NO];td.storageMode=MTLStorageModePrivate;td.usage=MTLTextureUsageShaderRead|MTLTextureUsageShaderWrite|MTLTextureUsageRenderTarget;id<MTLTexture>t=[d newTextureWithDescriptor:td];if(t){[pool addObject:t];[t release];}return t;};
|
||||
auto dispatch=[&](NSString*name,const void*params,NSUInteger length,const void*extra=nullptr,NSUInteger extraLength=0){id<MTLTexture>out=next();if(!out)return fail(error,@"无法分配一级 CST 缓冲区。");BOOL ok=[self managedDispatch:name textures:@[current,out] data:params length:length extra:extra extraLength:extraLength entry:entry error:error];if(ok)current=out;return ok;};
|
||||
auto dispatch=[&](NSString*name,const void*params,NSUInteger length,const void*extra=nullptr,NSUInteger extraLength=0){id<MTLTexture>out=next();if(!out)return fail(error,@"无法分配一级 CST 缓冲区。");BOOL ok=[self encodeManagedDispatch:name textures:@[current,out] data:params length:length extra:extra extraLength:extraLength entry:entry commands:batch.commands() error:error];if(ok)current=out;return ok;};
|
||||
auto transform=[&](CSTParams p){if(p.inputTransfer==p.outputTransfer&&p.inputGamut==p.outputGamut&&!p.toneMapping)return YES;return dispatch(@"dyPrimaryCST",&p,sizeof(p));};
|
||||
auto tile=[&](id<MTLTexture>t){DYExportTile*v=[[[DYExportTile alloc]initWithTexture:t registry:d.registryID]autorelease];[v setBounds:src.tilePixelBounds origin:src.imageOrigin];[v setPixelAspect:src.pixelAspect];return v;};
|
||||
auto blend=[&](id<MTLTexture>before,NSArray*masks,float amount,NSString*type){if(!masks.count&&amount>=1)return YES;id<MTLTexture>out=next();if(!out)return fail(error,@"无法分配一级混合缓冲区。");DYToolMaskHeader h{};id<MTLBuffer>mb=[self maskBuffer:@{type:masks?:@[]} tile:src device:d header:&h];h.section=(int)[DYToolTypes()indexOfObject:type];struct {CSTParams toLinear,fromLinear,originalTo709;float amount;}p={{wg,wt,2,20,0},{2,20,wg,wt,0},{initialGamut,initialTransfer,22,20,0},amount};id<MTLComputePipelineState>pipeline=[self computePipeline:@"dyUnifiedBlend" entry:entry error:error];if(!pipeline||!mb)return NO;id<MTLCommandBuffer>cb=[entry[@"queue"]commandBuffer];id<MTLComputeCommandEncoder>ce=[cb computeCommandEncoder];[ce setComputePipelineState:pipeline];[ce setTexture:before atIndex:0];[ce setTexture:current atIndex:1];[ce setTexture:out atIndex:2];[ce setTexture:originalWorking?:before atIndex:3];[ce setBuffer:mb offset:0 atIndex:0];[ce setBytes:&h length:sizeof(h) atIndex:1];[ce setBytes:&p length:sizeof(p) atIndex:2];[ce dispatchThreads:MTLSizeMake(source.width,source.height,1) threadsPerThreadgroup:MTLSizeMake(16,16,1)];[ce endEncoding];[cb commit];[cb waitUntilCompleted];if(cb.status!=MTLCommandBufferStatusCompleted)return fail(error,cb.error.localizedDescription);current=out;return YES;};
|
||||
auto blend=[&](id<MTLTexture>before,NSArray*masks,float amount,NSString*type){if(!masks.count&&amount>=1)return YES;id<MTLTexture>out=next();if(!out)return fail(error,@"无法分配一级混合缓冲区。");DYToolMaskHeader h{};id<MTLBuffer>mb=[self maskBuffer:@{type:masks?:@[]} tile:src device:d header:&h];h.section=(int)[DYToolTypes()indexOfObject:type];struct {CSTParams toLinear,fromLinear,originalTo709;float amount;}p={{wg,wt,2,20,0},{2,20,wg,wt,0},{initialGamut,initialTransfer,22,20,0},amount};id<MTLComputePipelineState>pipeline=[self computePipeline:@"dyUnifiedBlend" entry:entry error:error];if(!pipeline||!mb)return NO;id<MTLCommandBuffer>commands=batch.commands();if(!commands)return NO;id<MTLComputeCommandEncoder>ce=[commands computeCommandEncoder];if(!ce)return fail(error,@"无法创建一级混合编码器");[ce setComputePipelineState:pipeline];[ce setTexture:before atIndex:0];[ce setTexture:current atIndex:1];[ce setTexture:out atIndex:2];[ce setTexture:originalWorking?:before atIndex:3];[ce setBuffer:mb offset:0 atIndex:0];[ce setBytes:&h length:sizeof(h) atIndex:1];[ce setBytes:&p length:sizeof(p) atIndex:2];[ce dispatchThreads:MTLSizeMake(source.width,source.height,1) threadsPerThreadgroup:MTLSizeMake(16,16,1)];[ce endEncoding];current=out;return YES;};
|
||||
auto grade=[&](DYUniforms values,NSArray*masks,BOOL local){if(values.primarySectionEnabled<.5||values.cm.mix<=0)return YES;DYUniforms neutral=values;neutral.inputSectionEnabled=neutral.cm.outputEnabled=0;BOOL gradeNeutral=identityCM(neutral);if(!local&&gradeNeutral)return YES;if(local&&identityCM(values))return YES;
|
||||
DayuRenderParams p=DYCMRender(values.cm);p.input.toneMapping=0;if((int)lroundf(values.cm.workingTransfer)==20){p.reserved|=8;p.basis.colorspace=10;p.basisInput={(int)lroundf(values.cm.workingGamut),20,(int)lroundf(values.cm.workingGamut),10,0};p.basisOutput={(int)lroundf(values.cm.workingGamut),10,(int)lroundf(values.cm.workingGamut),20,0};}CSTParams back={wg,wt,wg,wt,0};
|
||||
if(local){p.stages=(values.inputSectionEnabled>.5?1:0)|(gradeNeutral?0:2)|(values.cm.outputEnabled>.5?4:0);back={values.cm.outputEnabled>.5?(int)lroundf(values.cm.outputGamut):(int)lroundf(values.cm.workingGamut),values.cm.outputEnabled>.5?(int)lroundf(values.cm.outputTransfer):(int)lroundf(values.cm.workingTransfer),wg,wt,0};}
|
||||
else{p.stages=2;}
|
||||
id<MTLTexture>before=current;[pinned addObject:before];BOOL ok=dispatch(@"dyPrimaryGrade",&p,sizeof(p),&back,sizeof(back));if(ok)ok=blend(before,masks,values.cm.mix,@"primary");[pinned removeObject:before];return ok;
|
||||
};
|
||||
auto print=[&](DYUniforms values,NSArray*masks){if(!DYFilmPrintActive(values))return YES;NSArray*names=@[@"",@"kodak_2383",@"kodak_2393",@"kodak_2302_bw",@"fuji_3510",@"fuji_3513",@"fuji_3519",@"fuji_3521",@"agfa_cp30"];NSString*path=[[NSBundle bundleForClass:self.class]pathForResource:names[(int)values.filmPrint.x] ofType:@"dylut" inDirectory:@"PrintLooks"];id<MTLTexture>cube=path?[self lut:path entry:entry error:error]:nil;if(!cube)return fail(error,@"印片资源不可用。");id<MTLTexture>before=current;[pinned addObject:before];BOOL ok=transform({wg,wt,2,1,0});float amount=values.filmPrint.y*values.film.mix;if(ok){id<MTLTexture>out=next();ok=out&&[self managedDispatch:@"dyManagedPrint" textures:@[current,cube,out] data:&amount length:4 extra:nullptr extraLength:0 entry:entry error:error];if(ok)current=out;}if(ok)ok=transform({2,1,wg,wt,0});if(ok)ok=blend(before,masks,1,@"film");[pinned removeObject:before];return ok;};
|
||||
auto print=[&](DYUniforms values,NSArray*masks){if(!DYFilmPrintActive(values))return YES;NSArray*names=@[@"",@"kodak_2383",@"kodak_2393",@"kodak_2302_bw",@"fuji_3510",@"fuji_3513",@"fuji_3519",@"fuji_3521",@"agfa_cp30"];NSString*path=[[NSBundle bundleForClass:self.class]pathForResource:names[(int)values.filmPrint.x] ofType:@"dylut" inDirectory:@"PrintLooks"];id<MTLTexture>cube=path?[self lut:path entry:entry error:error]:nil;if(!cube)return fail(error,@"印片资源不可用。");id<MTLTexture>before=current;[pinned addObject:before];BOOL ok=transform({wg,wt,2,1,0});float amount=values.filmPrint.y*values.film.mix;if(ok){id<MTLTexture>out=next();ok=out&&[self encodeManagedDispatch:@"dyManagedPrint" textures:@[current,cube,out] data:&amount length:4 extra:nullptr extraLength:0 entry:entry commands:batch.commands() error:error];if(ok)current=out;}if(ok)ok=transform({2,1,wg,wt,0});if(ok)ok=blend(before,masks,1,@"film");[pinned removeObject:before];return ok;};
|
||||
// Recover only the pre-existing explicit code-value carrier. No display
|
||||
// transform or host-profile-to-709 conversion precedes the declared input.
|
||||
current=source;id<MTLTexture>carrier=next();uint32_t noLUT=0;if(!carrier||![self managedDispatch:@"dyManagedCarrier" textures:@[current,carrier,entry[@"identity"]] data:&noLUT length:4 extra:nullptr extraLength:0 entry:entry error:error])return NO;current=carrier;
|
||||
current=source;id<MTLTexture>carrier=next();uint32_t noLUT=0;if(!carrier||![self encodeManagedDispatch:@"dyManagedCarrier" textures:@[current,carrier,entry[@"identity"]] data:&noLUT length:4 extra:nullptr extraLength:0 entry:entry commands:batch.commands() error:error])return NO;current=carrier;
|
||||
if(inputEnabled&&!transform({(int)lroundf(u.cm.inputGamut),(int)lroundf(u.cm.inputTransfer),wg,wt,0}))return NO;
|
||||
// Preserve the original working image for source-referenced operations.
|
||||
originalWorking=current;[pinned addObject:originalWorking];
|
||||
@@ -33,7 +34,7 @@
|
||||
if([type isEqual:@"base"]&&values.baseSectionEnabled>.5&&values.exposureEnabled>.5&&values.exposure!=0){float gain=exp2f(values.exposure);ok=transform({wg,wt,wg,20,0})&&dispatch(@"dyUnifiedExposure",&gain,sizeof(gain))&&transform({wg,20,wg,wt,0});node[@"values"][@"exposure"]=@0;}
|
||||
if(!ok){[pinned removeObject:before];return NO;}
|
||||
if(DYToolIsNeutral(node)){}
|
||||
else if([type isEqual:@"lens"]){id<MTLTexture>out=next();ok=out&&[self renderLens:tile(current) destination:tile(out) uniforms:values masks:@[] entry:entry error:error];if(ok)current=out;}
|
||||
else if([type isEqual:@"lens"]){id<MTLTexture>out=next();ok=out&&batch.finish()&&[self renderLens:tile(current) destination:tile(out) uniforms:values masks:@[] entry:entry error:error];if(ok)current=out;}
|
||||
else {
|
||||
// Creative Rec.709 LUT/film and skin models declare a local reference domain.
|
||||
// All other legacy controls operate on the current working RGB code values.
|
||||
@@ -46,10 +47,13 @@
|
||||
// A source-referenced skin node compares to the original image in this same
|
||||
// domain, never to a previous frame or an unrelated cached display image.
|
||||
id<MTLTexture>referenceTexture=bounded;
|
||||
if(ok&&[type isEqual:@"skin"]){if(!_exporting&&(values.skinFaceOnly>.5||values.skinVisualize>.5))[self prepareFaceSupport:tile(bounded)];else{[_faceEntries release];_faceEntries=nil;}current=originalWorking;ok=transform({initialGamut,initialTransfer,domainGamut,domainTransfer,0})&&dispatch(@"dyUnifiedBridgeIn",nullptr,0);referenceTexture=current;[pinned addObject:referenceTexture];current=bounded;}
|
||||
if(ok){id<MTLTexture>out=next();_managedFinishing=YES;@try{ok=out&&[self renderExtraTool:node source:tile(bounded) original:tile(referenceTexture) destination:tile(out) entry:entry error:error];}@finally{_managedFinishing=NO;}if(ok)current=out;}
|
||||
if(ok&&[type isEqual:@"skin"]){if(!_exporting&&(values.skinFaceOnly>.5||values.skinVisualize>.5)){
|
||||
if(!batch.finish())return NO;
|
||||
[self prepareFaceSupport:tile(bounded)];
|
||||
}else{[_faceEntries release];_faceEntries=nil;}current=originalWorking;ok=transform({initialGamut,initialTransfer,domainGamut,domainTransfer,0})&&dispatch(@"dyUnifiedBridgeIn",nullptr,0);referenceTexture=current;[pinned addObject:referenceTexture];current=bounded;}
|
||||
if(ok){id<MTLTexture>out=next();_managedFinishing=YES;@try{ok=out&&batch.finish()&&[self renderExtraTool:node source:tile(bounded) original:tile(referenceTexture) destination:tile(out) entry:entry error:error];}@finally{_managedFinishing=NO;}if(ok)current=out;}
|
||||
if(referenceTexture!=bounded)[pinned removeObject:referenceTexture];[pinned removeObject:bounded];
|
||||
if(ok){id<MTLTexture>out=next();ok=out&&[self managedDispatch:@"dyUnifiedBridgeOut" textures:@[raw,current,out] data:nullptr length:0 extra:nullptr extraLength:0 entry:entry error:error];if(ok)current=out;}
|
||||
if(ok){id<MTLTexture>out=next();ok=out&&[self encodeManagedDispatch:@"dyUnifiedBridgeOut" textures:@[raw,current,out] data:nullptr length:0 extra:nullptr extraLength:0 entry:entry commands:batch.commands() error:error];if(ok)current=out;}
|
||||
[pinned removeObject:raw];
|
||||
if(ok&&reference)ok=transform({domainGamut,domainTransfer,wg,wt,0});
|
||||
}
|
||||
@@ -72,12 +76,23 @@
|
||||
[pinned removeObject:originalWorking];
|
||||
// Final host adaptation is separate from the movable output node. Cube uses
|
||||
// the exact current code domain after the same ordered operations.
|
||||
if(_exporting){if(!dispatch(@"dyPrimaryCodeOutput",nullptr,0))return NO;}
|
||||
else {
|
||||
if(!transform({wg,wt,22,20,0}))return NO;[self managedPreview:current origin:src.imageOrigin entry:entry];
|
||||
CGColorSpaceRef from=CGColorSpaceCreateWithName(kCGColorSpaceExtendedLinearSRGB),to=DYManagedTileSpace(dst,primaries);
|
||||
DYColorProfile *profile=to?[[[DYColorProfile alloc]initWithSource:from target:to error:error]autorelease]:nil;CGColorSpaceRelease(from);if(to)CGColorSpaceRelease(to);
|
||||
if(!profile)return fail(error,@"宿主未提供明确的目标颜色空间。");id<MTLTexture>out=next();if(!out||![self managedProfile:profile input:current output:out entry:entry error:error])return NO;current=out;
|
||||
DYManagedPreviewReadback preview{};
|
||||
if(_exporting){
|
||||
if(!dispatch(@"dyPrimaryCodeOutput",nullptr,0))return NO;
|
||||
}else{
|
||||
if(!transform({wg,wt,22,20,0}))return NO;
|
||||
preview=[self encodeManagedPreview:current source:src entry:entry commands:batch.commands()];
|
||||
DYColorProfile *profile=[self managedOutputProfile:error];if(!profile)return NO;
|
||||
if(!profile.identity){
|
||||
if(!batch.finish())return NO;
|
||||
id<MTLTexture>out=next();if(!out||![self managedProfile:profile input:current output:out entry:entry error:error])return NO;
|
||||
current=out;
|
||||
}
|
||||
}
|
||||
_managedFinishing=YES;@try{return [self copyTile:tile(current) to:dst entry:entry error:error];}@finally{_managedFinishing=NO;}
|
||||
_managedFinishing=YES;
|
||||
@try{
|
||||
BOOL ok=[self copyTile:tile(current) to:dst rotation:0 entry:entry commands:batch.commands() error:error];
|
||||
if(ok)[self publishManagedPreview:preview];
|
||||
return ok;
|
||||
}@finally{_managedFinishing=NO;}
|
||||
}
|
||||
@@ -62,7 +62,8 @@
|
||||
}
|
||||
if([area[@"kind"]isEqual:@"spiderPlot"]){
|
||||
auto mesh=DYSpiderMesh([self spiderData]);
|
||||
DYDrawSpiderScope(r,[_bridge canvasSpiderScopeAtTime:_time],s);
|
||||
DYUpdateSpiderTrace([_bridge canvasSpiderScopeAtTime:_time],_spiderScopeRaster,_spiderScopeTrace);
|
||||
DYDrawSpiderScope(r,_spiderScopeTrace,s);
|
||||
auto point=[&](int i){return DYSpiderPlotPoint(r,mesh.x[i],mesh.y[i]);};
|
||||
NSBezierPath *net=[NSBezierPath bezierPath];
|
||||
for(int ring=1;ring<=mesh.rings;ring++)for(int hue=0;hue<=mesh.hues;hue++){NSPoint q=point(dy::meshIndex(mesh,hue%mesh.hues,ring));if(hue==0)[net moveToPoint:q];else[net lineToPoint:q];}
|
||||
|
||||
已加载 100/107 个文件。由于本次变更涉及的文件过多,其余文件未显示。
显示更多
在新工单中引用
屏蔽一个用户