Bewerken

Delen via


CAPTURE_MEMORY_ALLOCATION_FLAGS enumeration (ksmedia.h)

The CAPTURE_MEMORY_ALLOCATION_FLAGS enumeration defines types of memory surfaces to which AVStream minidrivers can capture audio and video data. The KSPROPERTY_PREFERRED_CAPTURE_SURFACE and KSPROPERTY_CURRENT_CAPTURE_SURFACE requests use this type to specify property values.

Syntax

typedef enum {
  KS_CAPTURE_ALLOC_INVALID,
  KS_CAPTURE_ALLOC_SYSTEM,
  KS_CAPTURE_ALLOC_VRAM,
  KS_CAPTURE_ALLOC_SYSTEM_AGP,
  KS_CAPTURE_ALLOC_VRAM_MAPPED,
  KS_CAPTURE_ALLOC_SECURE_BUFFER
} CAPTURE_MEMORY_ALLOCATION_FLAGS, *PCAPTURE_MEMORY_ALLOCATION_FLAGS;

Constants

 
KS_CAPTURE_ALLOC_INVALID
Invalid memory surface.
KS_CAPTURE_ALLOC_SYSTEM
Not currently supported.
KS_CAPTURE_ALLOC_VRAM
Identifies a surface in display memory.
KS_CAPTURE_ALLOC_SYSTEM_AGP
Identifies a surface in system memory that is tagged as AGP accessible.
KS_CAPTURE_ALLOC_VRAM_MAPPED
Not currently supported.
KS_CAPTURE_ALLOC_SECURE_BUFFER

Requirements

Requirement Value
Header ksmedia.h (include Ksmedia.h)

See also

KSPROPERTY_CURRENT_CAPTURE_SURFACE

KSPROPERTY_PREFERRED_CAPTURE_SURFACE