ILMVYUVxf Interface

Data Types

LMVYUVxf_APILEVEL

Summary

Lists the valid values for the ApiLevel parameter that can be passed to the ResetToDefaultsEx method.

Syntax

typedef enum 
{ 
   LMVYUVxf_APILEVEL_1 = 0 
} LMVYUVxf_APILEVEL; 

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.

Methods

HRESULT ResetToDefaultsEx (LMVYUVxf_APILEVEL ApiLevel)

Description

Resets the conversion to default values.

Parameters

ApiLevel

Determines which default values to use. Current applications should set ApiLevel to LMVYUVxf_APILEVEL_1 = 0.

Comments

The LEAD Color Space Encoder may change in the future and have different properties or default behavior. 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

Return Description
S_OK Succeeded.
E_INVALIDARG ApiLevel is invalid.
Help Version 23.0.2024.9.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Filters C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.