Revision: 28641
http://sourceforge.net/p/bibdesk/svn/28641
Author: hofman
Date: 2024-01-21 18:55:11 +0000 (Sun, 21 Jan 2024)
Log Message:
-----------
move ownership qualifiers consistent with Apple's declarations
Modified Paths:
--------------
trunk/bibdesk_vendorsrc/amaxwell/FileView/FVCGImageUtilities.mm
Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVCGImageUtilities.mm
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVCGImageUtilities.mm
2024-01-21 18:44:14 UTC (rev 28640)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVCGImageUtilities.mm
2024-01-21 18:55:11 UTC (rev 28641)
@@ -334,7 +334,7 @@
#endif
-static vImage_Error __FVConvertIndexedImageRegionToPlanar8_buffers(CGImageRef
image, const uint8_t *srcBytes, const size_t rowBytes, const FVRegion& region,
const __unsafe_unretained FVImageBuffer *planarBuffers[4])
+static vImage_Error __FVConvertIndexedImageRegionToPlanar8_buffers(CGImageRef
image, const uint8_t *srcBytes, const size_t rowBytes, const FVRegion& region,
const FVImageBuffer * __unsafe_unretained planarBuffers[4])
{
CGColorSpaceRef cspace = CGImageGetColorSpace(image);
const size_t tableElements = CGColorSpaceGetColorTableCount(cspace) *
CGColorSpaceGetNumberOfComponents(CGColorSpaceGetBaseColorSpace(cspace));
@@ -380,7 +380,7 @@
}
// the image's byte pointer is passed in as a parameter in case we're copying
from the data provider (which can be really slow)
-static vImage_Error __FVConvertRGB888ImageRegionToPlanar8_buffers(CGImageRef
image, const uint8_t *srcBytes, const size_t rowBytes, const FVRegion& region,
FVImageBuffer *destBuffer, const __unsafe_unretained FVImageBuffer
*planarBuffers[4])
+static vImage_Error __FVConvertRGB888ImageRegionToPlanar8_buffers(CGImageRef
image, const uint8_t *srcBytes, const size_t rowBytes, const FVRegion& region,
FVImageBuffer *destBuffer, const FVImageBuffer * __unsafe_unretained
planarBuffers[4])
{
const size_t bytesPerSample = 3;
vImage_Buffer *dstBuffer = destBuffer->buffer;
@@ -442,7 +442,7 @@
}
// the image's byte pointer is passed in as a parameter in case we're copying
from the data provider (which can be really slow)
-static vImage_Error __FVConvertARGB8888ImageRegionToPlanar8_buffers(CGImageRef
image, const uint8_t *srcBytes, const size_t rowBytes, const FVRegion& region,
FVImageBuffer *destBuffer, const __unsafe_unretained FVImageBuffer
*planarBuffers[4])
+static vImage_Error __FVConvertARGB8888ImageRegionToPlanar8_buffers(CGImageRef
image, const uint8_t *srcBytes, const size_t rowBytes, const FVRegion& region,
FVImageBuffer *destBuffer, const FVImageBuffer * __unsafe_unretained
planarBuffers[4])
{
NSCParameterAssert(destBuffer);
const size_t bytesPerSample = 4;
@@ -620,7 +620,7 @@
}
-static vImage_Error __FVConvertPlanar8To8888Host(const __unsafe_unretained
FVImageBuffer *planarA[4], const vImage_Buffer *destBuffer)
+static vImage_Error __FVConvertPlanar8To8888Host(const FVImageBuffer *
__unsafe_unretained planarA[4], const vImage_Buffer *destBuffer)
{
vImage_Error ret;
@@ -851,10 +851,10 @@
}
imageBuffer = nil;
- const __unsafe_unretained FVImageBuffer *planarA[4];
+ const FVImageBuffer * __unsafe_unretained planarA[4];
[planarTiles getObjects:planarA range:NSMakeRange(0, 4)];
- const __unsafe_unretained FVImageBuffer *planarB[4];
+ const FVImageBuffer * __unsafe_unretained planarB[4];
[planarTiles getObjects:planarB range:NSMakeRange(4, 4)];
// keep track of the next scanline/byte offset in the final image
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit