User's Manual

7.7.4 DVS300_InitEncoder
Syn t a x
int DVS300_InitEncoder(int nEncNum , int nEncBufSize)
Pa ram et e r s
nEncNum: Specifies the encoder number( 0~ 15).
nEncBufSize: Specifies the encoding buffer size.
Ret urn Value
ENC_SUCCEEDED: Function succeeded.
ENC_FAI LED: Function failed.
ENC_SDKI NI TFAI LED: SDK does not be initialized successfully.
ENC_ENCNUMERROR: I nvalid encoder num ber.
De script ion
This funct ion opens and initializes the specified video encoder. Aft er
initializing t he encoder, the encoding state would be set as ENC_STOPPED.
Se e Also
DVS300_CloseEncoder
DVS300_GetState