AVCaptureDeviceFormat Class Reference
| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/AVFoundation.framework |
| Availability | Available in OS X v10.7 and later. |
| Declared in | AVCaptureDevice.h |
Overview
An AVCaptureDeviceFormat object wraps a CMFormatDescription (see CMFormatDescriptionRef) and other format-related information, such as minimum and maximum frame rate.
An AVCaptureDeviceFormat object is immutable. AVCaptureDevice uses AVCaptureDeviceFormat objects to describe supported formats and the active format of an instance.
Tasks
Accessing Properties
-
mediaTypeproperty -
formatDescriptionproperty -
videoSupportedFrameRateRangesproperty
Properties
formatDescription
A CMFormatDescription describing an AVCaptureDevice active or supported format. (read-only)
Discussion
Ownership follows “The Get Rule” in Memory Management Programming Guide for Core Foundation.
Availability
- Available in OS X v10.7 and later.
Declared In
AVCaptureDevice.hmediaType
An string describing the media type of an AVCaptureDevice active or supported format. (read-only)
Discussion
Supported media types are listed in AVMediaFormat.h.
Availability
- Available in OS X v10.7 and later.
Declared In
AVCaptureDevice.hvideoSupportedFrameRateRanges
Indicates the format’s supported frame rate ranges/ (read-only)
Discussion
The value is an array of AVFrameRateRange objects, one for each of the format’s supported video frame rate ranges.
Availability
- Available in OS X v10.7 and later.
Declared In
AVCaptureDevice.h© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-09-19)