Contents

SetControlMemoryDescriptor

Sets a new IOMemoryDescriptor to use for video IO on the IOUserVideoStream.

Declaration

kern_return_t SetControlMemoryDescriptor(IOMemoryDescriptor *in_control_memory_descriptor);

Parameters

  • in_control_memory_descriptor:

    A pointer to a IOMemoryDescriptor whose buffer will be mapped to the Host for doing video IO

Discussion

Setting this value should only be done during the PerformDeviceConfigurationChange() call. If the value needs to be changed, RequestDeviceConfigChange() should be called to allow IO to stop and the config change to be performed.

See Also

Working with memory descriptors