ILMVYUVxf Interface

Interface Properties:

Type

Name

Description

long

OutputBufferCount

Gets or sets the number of output buffers used by the Color Space Converter filter.

The default value of this property is equal to the number of processors in the system. If you change this value, you must use a value that is greater than or equal to 1.

The converter uses multithreading to speed up the conversion, using one thread per processor. Each thread uses one output buffer.

This default behavior can cause problems when you process video buffers using the LEAD Video Callback Filter. If that happens, reduce the value of this property to 1.

Interface Methods:

HRESULT  ResetToDefaultsEx (LMVYUVxf_APILEVEL ApiLevel)

Parameters

LMVYUVxf_APILEVEL ApiLevel

Description

Resets the conversion to default values. The ApiLevel determines which default values to use. Current applications should set ApiLevel to LMVYUVxf_APILEVEL_1 = 0.

The LEAD Color Space Encoder may change in the future and have different properties or default behaviour. Calling this method ensures the filter will have the same default values they had at the time you developed your application.

It is best to call ResetToDefaultsEx(LMVYUVxf_APILEVEL_1) before setting properties and calling other methods for this interface.

Returns

S_OK if succeeded, E_INVALIDARG if ApiLevel is invalid.

Data Types:

LMVYUVxf_APILEVEL

typedef enum 
{ 
   LMVYUVxf_APILEVEL_1 = 0 
} LMVYUVxf_APILEVEL; 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Filters C API Help