ILMVP9Encoder

This is the interface for the LEAD VP9 Encoder.

Data Types

eVP9ControlMode

Summary

Indicates which encoding mode should be used.

Syntax

typedef enum 
{ 
   VP9ControlMode_CBR_Driven = 0, 
   VP9ControlMode_Quality_Driven	= ( VP9ControlMode_CBR_Driven + 1 ) 
} eVP9ControlMode; 

Members

VP9ControlMode_CBR_Driven

Encodes using constant bit rate (CBR) mode.

VP9ControlMode_Quality_Driven

Encodes using variable bit rate (VBR) to match a specified quality level.

eVP9EncApiLevel

Summary

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

Syntax

typedef enum 
{ 
   LVP9Enc_ApiLevel_1 = 0,    // current version 
} eVP9EncApiLevel; 

Properties

Type Name Description
eVP9ControlMode ControlMode Use this option to set or get the VP9 encoder control mode. The default value is VP9ControlMode_CBR_Driven.
LONG Bitrate Sets the bitrate for the VP9 encoder in kilobits per second units. this value takes effect only when the Control Mode is set to VP9ControlMode_CBR_Driven. The default value is 700 kbits/second.
LONG Quality Sets the quality level for the VP9 encoder ranged from 1 (minimum quality, smaller output size) to 100 (maximum quality, larger output size). this value takes effect only when the Control Mode is set to VP9ControlMode_Quality_Driven. The default value is 65.

Methods

HRESULT ResetToDefaultsEx(eVP9EncApiLevel ApiLevel)

Description

Resets the filter to default values.

Parameters

ApiLevel

Specifies which defaults should be used by the encoder. Current applications should set ApiLevel to LVP9Enc_ApiLevel_1 = 0.

Comments

The encoder might change in the future and have different properties or default behavior. Calling this method ensures future versions of the filter will behave the same way as when you developed your application.

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

Returns

Return Description
S_OK Success.
E_INVALIDARG The ApiLevel parameter 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.