[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

api[apple,AVFoundation] definitions

See also

"We implemented here a minimal support for AVFoundation framework
 #needsWork
"
#(	#AVCaptureDevice
	#AVCaptureInput #AVCaptureOutput
	#AVCaptureInputPort
	#AVCaptureSession
	#AVMetadataObject
	#AVCaptureConnection
) do: [:each| NSObject subclass: each category: #AVFoundation ].!

#(	#AVCaptureDeviceInput
	#AVCaptureMetadataInput
) do: [:each| AVCaptureInput subclass: each ].!

#(	#AVCaptureMetadataOutput
) do: [:each| AVCaptureOutput subclass: each ].!

#(	#AVMetadataFaceObject
	#AVMetadataMachineReadableCodeObject
) do: [:each| AVMetadataObject subclass: each ].!

(Smalltalk includesKey: #CALayer) ifFalse: [
    self error: 'Require QuartzCore'
]!
#(	#AVCaptureVideoPreviewLayer
) do: [:each| CALayer subclass: each category: #AVFoundation ].!

(Smalltalk includesKey: #SDKConstants) ifFalse: [
    self error: 'Require SDK (SDKConstants)'
]!

SDKConstants
	subclass: #AVFoundationConstants
	category: #AVFoundation!

! AVFoundationConstants class methodsFor: #private !
validNames
	" Private - Return valid names for constant. "

	^#(
"AV... Constants"
	#AVLayerVideoGravityResize
	#AVLayerVideoGravityResizeAspect
	#AVLayerVideoGravityResizeAspectFill
	)! !



ToDo list





.-AVCaptureOutput.h