ILMAV1Encoder

This is the interface for the LEAD AV1 Encoder.

Data Types

eAV1ControlMode

Summary

Indicates which encoding mode should be used.

Syntax

typedef enum 
{ 
   AV1ControlMode_CBR_Driven = 0, 
   AV1ControlMode_Quality_Driven	= ( AV1ControlMode_CBR_Driven + 1 ) 
} eAV1ControlMode; 

Members

AV1ControlMode_CBR_Driven

Encodes using constant bit rate (CBR) mode.

AV1ControlMode_Quality_Driven

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

eAV1EncApiLevel

Summary

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

Syntax

typedef enum 
{ 
   LAV1Enc_ApiLevel_1 = 0,    // current version 
} eAV1EncApiLevel; 

Properties

Type Name Description
eAV1ControlMode ControlMode Use this option to set or get the AV1 encoder control mode. The default value is AV1ControlMode_CBR_Driven.
LONG Bitrate Sets the bitrate for the AV1 encoder in kilobits per second units. this value takes effect only when the Control Mode is set to AV1ControlMode_CBR_Driven. The default value is 700 kbits/second.
LONG Quality Sets the quality level for the AV1 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 AV1ControlMode_Quality_Driven. The default value is 65.

Methods

HRESULT ResetToDefaultsEx(eAV1EncApiLevel 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 LAV1Enc_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(LAV1Enc_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.