Flixengine2/fs_options.h file reference, 34 flixengine2/fs_options.h file reference, Engine2 – Google Flix Engine Linux Reference Manual User Manual

Page 317: Fs_options.h, 1 detailed description, Enumerations, Functions

Advertising
background image

6.34 flixengine2/fs_options.h File Reference

311

6.34

flixengine2/fs_options.h File Reference

6.34.1

Detailed Description

Reference module(s):

Frame Server API

.

Definition in file

fs_options.h

.

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.

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

Advertising