SwiftextensionSensitiveContentAnalysisML
extension CVBufferRef
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
typealiasCVBufferRef
Members 14
- func
static create(width: Int, height: Int, format: UInt32, ioSurfaceBacked: Bool, rowAlignment: Int?) throws -> CVBufferRef - func
static create(surface: IOSurface, format: UInt32, rowAlignment: Int?) throws -> CVBufferRef - func
static decode(data: Foundation.Data) throws -> CVBufferRef - func
static load(path: String) throws -> CVBufferRef - func
encode(format: UniformTypeIdentifiers.UTType, quality: Float?) throws -> Foundation.Data - func
resized(width: Int, height: Int, format: UInt32, ioSurfaceBacked: Bool, rowAlignment: Int?) throws -> CVBufferRef - func
resizedToMaxSize(_: Int, format: UInt32, ioSurfaceBacked: Bool, rowAlignment: Int?) throws -> CVBufferRef - func
transferFrom(image: CGImageRef) throws -> () - func
withLock<A>(flags: CVPixelBufferLockFlags, block: () throws -> A) throws -> A - var
var bytesPerRow: Int { get } - var
var format: UInt32 { get } - var
var height: Int { get } - var
var surface: IOSurface { get } - var
var width: Int { get }
Header
extension __C.CVBufferRef { struct InvalidDimensionsError { enum CodingKeys { case width case height } let width: Swift.Int let height: Swift.Int } struct FailedInCoreVideoError { enum CodingKeys { case status case function } let status: Swift.Int32 let function: Swift.String } struct FailedToCreateCGImageError { enum CodingKeys {} } struct PixelBufferIsNotIOSurfaceBackedError { enum CodingKeys {} } struct FailedToCreateCGContextError { enum CodingKeys {} } struct UnsupportedFormatError { enum CodingKeys { case format } let format: Swift.UInt32 } }