C# Class Xamarin.Forms.Conference.WebRTC.Droid.VP8.LibVpxEnc

Inheritance: LibVpxCom
显示文件 Open project: QuickBlox/quickblox-dotnet-sdk Class Usage Examples

Public Methods

Method Description
LibVpxEnc ( LibVpxEncConfig cfg ) : System
close ( ) : void
convertByteEncodeFrame ( byte frame, long frameStart, long frameDuration, long flags, long deadline, long fourcc, int rotation ) : byte[]
convertIntEncodeFrame ( int frame, long frameStart, long frameDuration, long flags, long deadline, long fourcc, int rotation ) : byte[]
encodeFrame ( byte frame, int fmt, long frameStart, long frameDuration, long flags, long deadline ) : byte[]
haveLibyuv ( ) : bool
isError ( ) : bool
setARNRMaxFrames ( int value ) : void
setARNRStrength ( int value ) : void
setARNRType ( int value ) : void
setCQLevel ( int value ) : void
setCpuUsed ( int value ) : void
setEnableAutoAltRef ( int value ) : void
setMaxIntraBitratePct ( int value ) : void
setNoiseSensitivity ( int value ) : void
setSharpness ( int value ) : void
setStaticThreshold ( int value ) : void
setTokenPartitions ( int value ) : void
setTuning ( int value ) : void

Private Methods

Method Description
Java_com_google_libvpx_LibVpxEnc_vpxCodecConvertByteEncode ( IntPtr env, IntPtr jniClass, long ctx, IntPtr frame, long pts, long duration, long flags, long deadline, long fourcc, int size, int rotation ) : bool
Java_com_google_libvpx_LibVpxEnc_vpxCodecConvertIntEncode ( IntPtr env, IntPtr jniClass, long ctx, IntPtr frame, long pts, long duration, long flags, long deadline, long fourcc, int size, int rotation ) : bool
Java_com_google_libvpx_LibVpxEnc_vpxCodecEncCtlSetARNRMaxFrames ( IntPtr env, IntPtr jniClass, long ctx, int value ) : int
Java_com_google_libvpx_LibVpxEnc_vpxCodecEncCtlSetARNRStrength ( IntPtr env, IntPtr jniClass, long ctx, int value ) : int
Java_com_google_libvpx_LibVpxEnc_vpxCodecEncCtlSetARNRType ( IntPtr env, IntPtr jniClass, long ctx, int value ) : int
Java_com_google_libvpx_LibVpxEnc_vpxCodecEncCtlSetCQLevel ( IntPtr env, IntPtr jniClass, long ctx, int value ) : int
Java_com_google_libvpx_LibVpxEnc_vpxCodecEncCtlSetCpuUsed ( IntPtr env, IntPtr jniClass, long ctx, int value ) : int
Java_com_google_libvpx_LibVpxEnc_vpxCodecEncCtlSetEnableAutoAltRef ( IntPtr env, IntPtr jniClass, long ctx, int value ) : int
Java_com_google_libvpx_LibVpxEnc_vpxCodecEncCtlSetMaxIntraBitratePct ( IntPtr env, IntPtr jniClass, long ctx, int value ) : int
Java_com_google_libvpx_LibVpxEnc_vpxCodecEncCtlSetNoiseSensitivity ( IntPtr env, IntPtr jniClass, long ctx, int value ) : int
Java_com_google_libvpx_LibVpxEnc_vpxCodecEncCtlSetSharpness ( IntPtr env, IntPtr jniClass, long ctx, int value ) : int
Java_com_google_libvpx_LibVpxEnc_vpxCodecEncCtlSetStaticThreshold ( IntPtr env, IntPtr jniClass, long ctx, int value ) : int
Java_com_google_libvpx_LibVpxEnc_vpxCodecEncCtlSetTokenPartitions ( IntPtr env, IntPtr jniClass, long ctx, int value ) : int
Java_com_google_libvpx_LibVpxEnc_vpxCodecEncCtlSetTuning ( IntPtr env, IntPtr jniClass, long ctx, int value ) : int
Java_com_google_libvpx_LibVpxEnc_vpxCodecEncGetCxData ( IntPtr env, IntPtr jniClass, long ctx ) : IntPtr
Java_com_google_libvpx_LibVpxEnc_vpxCodecEncInit ( IntPtr env, IntPtr jniClass, long encoder, long cfg ) : void
Java_com_google_libvpx_LibVpxEnc_vpxCodecEncode ( IntPtr env, IntPtr jniClass, long ctx, IntPtr frame, int fmt, long pts, long duration, long flags, long deadline ) : bool
Java_com_google_libvpx_LibVpxEnc_vpxCodecHaveLibyuv ( IntPtr env, IntPtr jniClass ) : bool
throwOnError ( ) : void

Method Details

LibVpxEnc() public method

public LibVpxEnc ( LibVpxEncConfig cfg ) : System
cfg LibVpxEncConfig
return System

close() public method

public close ( ) : void
return void

convertByteEncodeFrame() public method

public convertByteEncodeFrame ( byte frame, long frameStart, long frameDuration, long flags, long deadline, long fourcc, int rotation ) : byte[]
frame byte
frameStart long
frameDuration long
flags long
deadline long
fourcc long
rotation int
return byte[]

convertIntEncodeFrame() public method

public convertIntEncodeFrame ( int frame, long frameStart, long frameDuration, long flags, long deadline, long fourcc, int rotation ) : byte[]
frame int
frameStart long
frameDuration long
flags long
deadline long
fourcc long
rotation int
return byte[]

encodeFrame() public method

public encodeFrame ( byte frame, int fmt, long frameStart, long frameDuration, long flags, long deadline ) : byte[]
frame byte
fmt int
frameStart long
frameDuration long
flags long
deadline long
return byte[]

haveLibyuv() public static method

public static haveLibyuv ( ) : bool
return bool

isError() public method

public isError ( ) : bool
return bool

setARNRMaxFrames() public method

public setARNRMaxFrames ( int value ) : void
value int
return void

setARNRStrength() public method

public setARNRStrength ( int value ) : void
value int
return void

setARNRType() public method

public setARNRType ( int value ) : void
value int
return void

setCQLevel() public method

public setCQLevel ( int value ) : void
value int
return void

setCpuUsed() public method

public setCpuUsed ( int value ) : void
value int
return void

setEnableAutoAltRef() public method

public setEnableAutoAltRef ( int value ) : void
value int
return void

setMaxIntraBitratePct() public method

public setMaxIntraBitratePct ( int value ) : void
value int
return void

setNoiseSensitivity() public method

public setNoiseSensitivity ( int value ) : void
value int
return void

setSharpness() public method

public setSharpness ( int value ) : void
value int
return void

setStaticThreshold() public method

public setStaticThreshold ( int value ) : void
value int
return void

setTokenPartitions() public method

public setTokenPartitions ( int value ) : void
value int
return void

setTuning() public method

public setTuning ( int value ) : void
value int
return void