fix: align spider vectorscope with CbCr scope and separate trace from controls

这个提交包含在:
mac 于 2026-11-08 15:23:30 +08:00 提交
1 父节点 01efcc8a29
当前提交 b16a6326a4
17 个文件已更改
+411 -114

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

+12 -2
查看文件
@@ -1,6 +1,15 @@
#pragma once
#import <Foundation/Foundation.h>
#import <CoreGraphics/CoreGraphics.h>
#include "DYScopeMath.hpp"
#include <memory>
@class DYColorProfile;
struct DYScopeReference {
std::vector<dyscope::RGBA> pixels;
uint64_t invalid=0;
bool converted=false;
};
@interface DYScopeSample : NSObject
@property(nonatomic,copy) NSData *pixels;
@property(nonatomic,copy) NSDictionary *metadata;
@@ -8,6 +17,7 @@
@property(nonatomic) CGColorSpaceRef space;
/// Final-output bins in the host RGB domain, calculated only if requested.
@property(nonatomic,readonly) NSData *canvasHistogram;
/// Transparent density raster in the spider's hue/saturation coordinates.
@property(nonatomic,readonly) NSData *spiderScope;
/// Shared straight-alpha display samples for the workspace and spider scopes.
- (std::shared_ptr<const DYScopeReference>)displayReferenceWithProfile:(DYColorProfile *)profile;
- (NSData *)spiderScopeWithProfile:(DYColorProfile *)profile;
@end