Enumerations, Functions, 3 enumeration type documentation – Google Flix Engine Linux Reference Manual User Manual

Page 192

Advertising
background image

186

Flix Engine Linux Module Documentation

Enumerations

• enum

FE2_FrameType

{

FrameTypeAudio

,

FrameTypeVideo

}

Frame type being passed to

Flix2_EncodeFrame()

.

• enum

FE2_VideoFormat

{

VideoFormatYV12

,

VideoFormatBGRA

}

Format of input video used in calls to

Flix2_SetVideoProperties()

.

Functions

on2sc Flix2_SetFrameServer

(

FLIX2HANDLE

flix,

on2bool

enable)

Enable/disable the frame server for this session.

on2sc Flix2_GetFrameServer

(

FLIX2HANDLE

flix,

on2bool

∗enabled)

Retrieve the current frame server status.

on2sc Flix2_SetAudioProperties

(

FLIX2HANDLE

flix,

uint8_t

channels,

int16_t

bitspersample,

int32_t

samplerate)

Set the input audio properties for the frame server.

on2sc Flix2_SetVideoProperties

(

FLIX2HANDLE

flix,

FE2_VideoFormat

format,

int32_t

width,

int32_t

height,

int32_t

pitch,

int32_t

rate,

int32_t

scale)

Set the input video properties for the frame server.

on2sc Flix2_EncodeFrame

(

FLIX2HANDLE

flix,

FE2_FrameType

type,

on2bool

eos,

uint8_-

t

∗frame,

uint32_t

len,

int64_t

ts90k)

Queue an input frame for encoding.

5.43.3

Enumeration Type Documentation

5.43.3.1

enum FE2_FrameType

Frame type being passed to

Flix2_EncodeFrame()

.

Attention:

Available only in the

Flix Engine Core Library

Enumerator:

FrameTypeAudio

FrameTypeVideo

Definition at line 88 of file fs_options.h.

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

Advertising