Share via


CSALLOCATOR Values (Compact 2013)

3/26/2014

The following table shows macro values that are used to describe allocator settings.

Value

Description

CSALLOCATOR_FLAG_ALLOCATOR_EXISTS

Indicates that the allocator exists.

CSALLOCATOR_FLAG_CAN_ALLOCATE

Indicates that the filter is capable of allocating device-specific memory. See additional information below.

CSALLOCATOR_FLAG_DEVICE_SPECIFIC

Indicates that the physical memory type is device-specific.

CSALLOCATOR_FLAG_INSIST_ON_FRAMESIZE_RATIO

Indicates that the frame ratio defined in CS_COMPRESSION must be maintained.

CSALLOCATOR_FLAG_PARTIAL_READ_SUPPORT

Indicates that the filter supports partial fill of frames.

CSALLOCATOR_OPTIONF_COMPATIBLE

Indicates that the framing options of the allocator being created are compatible with the downstream allocator. This option is typically specified when an in-place modifier is assigned an allocator for copy buffers. If the filter is not required to modify a given frame, it may submit the frame to the downstream filter without allocating an additional frame from the downstream allocator when this option is specified.

CSALLOCATOR_OPTIONF_SYSTEM_MEMORY

Indicates the use of system memory for allocations. When specified, the allocator must allocate memory from the pool as specified in the PoolType member. Otherwise, it is assumed that the sink provides a system address mapping to on-board RAM or other forms of storage on the device.

CSALLOCATOR_REQUIREMENTF_FRAME_INTEGRITY

Indicates that the connection point requires that downstream filters maintain the data integrity of specified frames.

CSALLOCATOR_REQUIREMENTF_INPLACE_MODIFIER

Indicates that the connection point can perform an in-place modification.

CSALLOCATOR_REQUIREMENTF_MUST_ALLOCATE

Indicates that the connection point requires that it allocate any frames sent.

CSALLOCATOR_REQUIREMENTF_PREFERENCES_ONLY

Indicates that the Requirements flags are preferences only and the connection point is able to allocate frames that do not meet those specifications.

CSALLOCATOR_REQUIREMENTF_SYSTEM_MEMORY

Indicates that the connection point requires system memory for allocations. If this option is not set, it is assumed that the sink provides a system address space mapping to on-board RAM or other forms of storage on the device.

Requirements

Header

cs.h

See Also

Reference

Camera Driver Macros
CSPROPERTY_CAMERACONTROL_S