feat: enable full range by default
This commit is contained in:
1 parent
5bcc452c9f
commit
61c5b958f2
2 files changed
+3
-2
No files matched your search
@@ -473,6 +473,7 @@ void ClSetControllerLED(uint16_t controllerNumber, uint8_t r, uint8_t g, uint8_t
|
|||||||
}
|
}
|
||||||
|
|
||||||
LiInitializeStreamConfiguration(&_streamConfig);
|
LiInitializeStreamConfiguration(&_streamConfig);
|
||||||
|
_streamConfig.colorRange = 1; // Full range
|
||||||
_streamConfig.width = config.width;
|
_streamConfig.width = config.width;
|
||||||
_streamConfig.height = config.height;
|
_streamConfig.height = config.height;
|
||||||
_streamConfig.fps = config.frameRate;
|
_streamConfig.fps = config.frameRate;
|
||||||
|
|||||||
@@ -200,10 +200,10 @@ extern int ff_isom_write_av1c(AVIOContext *pb, const uint8_t *buf, int size,
|
|||||||
#else
|
#else
|
||||||
NSNumber *pixelFormat = nil;
|
NSNumber *pixelFormat = nil;
|
||||||
if (self->_videoFormat & VIDEO_FORMAT_MASK_YUV444) {
|
if (self->_videoFormat & VIDEO_FORMAT_MASK_YUV444) {
|
||||||
pixelFormat = @(kCVPixelFormatType_444YpCbCr10BiPlanarVideoRange);
|
pixelFormat = @(kCVPixelFormatType_444YpCbCr10BiPlanarFullRange);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
pixelFormat = @(kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange);
|
pixelFormat = @(kCVPixelFormatType_420YpCbCr10BiPlanarFullRange);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user