beautypg.com

Functions – Google Flix Engine Linux Reference Manual User Manual

Page 312

background image

306

Flix Engine Linux File Documentation

• enum

FE2_EncState

{

EncStateIdle

,

EncStateRunning

,

EncStateQueued

}

Encoder state returned by

Flix2_GetEncoderState()

.

• enum

FE2_errno

{

ErrNone

,

ErrSys

,

ErrFileIO

,

ErrFileOpen

,

ErrFileDecode

,

ErrFileDecodeA

,

ErrFileDecodeV

,

ErrEncodeA

,

ErrEncodeV

}

Flix engine error state returned by

Flix2_Errno()

.

Functions

on2sc Flix2_Init

()

Perform library initialization.

on2sc Flix2_Deinit

()

Cleanup resources allocated by

Flix2_Init()

.

on2sc Flix2_Create

(

FLIX2HANDLE

∗pFlix)

Create a handle to the flix engine.

on2sc Flix2_CreateEx

(

FLIX2HANDLE

∗pFlix, const char ∗rpchost,

int32_t

timeout)

Create a handle to the flix engine.

on2sc Flix2_Destroy

(

FLIX2HANDLE

flix)

Frees resources associated with a FLIX2HANDLE.

• const char ∗

Flix2_Version

()

Returns the library version as a string.

• const

on2tc

Flix2_Copyright

()

Returns copyright information for this library as a string.

on2sc Flix2_SetOutputFile

(

FLIX2HANDLE

flix, const

on2tc

∗outputFile)

Set the destination file for the encode session.

on2sc Flix2_GetOutputFile

(const

FLIX2HANDLE

flix,

on2tc

∗pOutputFile,

int32_t

∗len)

Get the destination file for the encode session.

Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen