This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let duration = CMTime( value:10, timescale:600, flags: CMTimeFlags(rawValue: 0), epoch:0) | |
let presentationTimeStamp = CMTime( value:0, timescale:600, flags:CMTimeFlags(rawValue: 0), epoch:0) | |
var timingInfo = CMSampleTimingInfo( duration:duration, presentationTimeStamp:presentationTimeStamp, decodeTimeStamp:kCMTimeInvalid ) | |
// let potentialBlockBuffer = CMSampleBufferGetDataBuffer(sampleBuffer) | |
// var imageBufferCopy = UnsafeMutablePointer<CVImageBuffer>.alloc(1) | |
guard let pixelBuffer = CMSampleBufferGetImageBuffer(sampleBuffer) else { | |
fatalError("Sample Buffer did not contain a pixel buffer") | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CMSampleBuffer 0x126506aa0 retainCount: 7 allocator: 0x19641dfa0 | |
invalid = NO | |
dataReady = YES | |
makeDataReadyCallback = 0x0 | |
makeDataReadyRefcon = 0x0 | |
buffer-level attachments: | |
{MakerApple}(P) = <CFBasicHash 0x17406aac0 [0x19641dfa0]>{type = mutable dict, count = 8, | |
entries => | |
0 : <CFString 0x1965203d8 [0x19641dfa0]>{contents = "7"} = <CFNumber 0xb000000000000012 [0x19641dfa0]>{value = +1, type = kCFNumberSInt32Type} | |
1 : <CFString 0x196520358 [0x19641dfa0]>{contents = "3"} = <CFBasicHash 0x174064a80 [0x19641dfa0]>{type = mutable dict, count = 4, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A | 1,1 | |
---|---|---|
A | 2,1 | |
A | 3,1 | |
A | 3,2 | |
A | 3,3 | |
A | 3,4 | |
A | 3,5 | |
B | 3,1 | |
B | 3,2 | |
B | 3,3 |
NewerOlder