VideoProcessors Class

Summary
Contains a collection of registered video processors.
Syntax
C#
VB
C++
public class VideoProcessors : Processors 
Public Class VideoProcessors  
   Inherits Processors 
   Implements System.Collections.Generic.ICollection(Of Processor), System.Collections.Generic.IEnumerable(Of Processor), System.Collections.Generic.IList(Of Processor), System.Collections.IEnumerable  
public ref class VideoProcessors : public Processors, System.Collections.Generic.ICollection<Processor>, System.Collections.Generic.IEnumerable<Processor>, System.Collections.Generic.IList<Processor>, System.Collections.IEnumerable   
Remarks

The PlayCtrl, CaptureCtrl and ConvertCtrl objects use this collection to enumerate and select video processors. An VideoProcessors object is not externally creatable and is only obtained through the parent object properties: PlayCtrl.VideoProcessors, PlayCtrl.SelectedVideoProcessors, CaptureCtrl.VideoProcessors, CaptureCtrl.SelectedVideoProcessors, ConvertCtrl.VideoProcessors and ConvertCtrl.SelectedVideoProcessors. This collection object is derived from the general Processors object collection base class. The VideoProcessors collection object also provides helper properties which can be used to access a particular video processor for selection and use. For example, you could add the EFXDizzy video processor to the play control's selected video processors by doing the following: playCtrl.SelectedVideoProcessors.Add(playCtrl.VideoProcessors.EFXDizzy); Note: You can also access other registered processors that do not have helper property accessors by using the string indexer: Processor myProc = playCtrl.VideoProcessors["@device:sw:{5FFE757A-509A-477E-A1F1-68812010A6DD}\{my registered processor guid}"]; To register your own processor, see Processors.RegisterExternalProcessor.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MediaFoundation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.