Aenc1.h File Reference

#include <xdc/std.h>
#include <ti/sdo/ce/Engine.h>
#include <ti/sdo/ce/audio1/audenc1.h>
#include <ti/sdo/dmai/Dmai.h>
#include <ti/sdo/dmai/Buffer.h>

Go to the source code of this file.


Typedefs

typedef struct Aenc1_Object * Aenc1_Handle
 Handle through which to reference an Audio Encode algorithm.

Functions

Aenc1_Handle Aenc1_create (Engine_Handle hEngine, Char *codecName, AUDENC1_Params *params, AUDENC1_DynamicParams *dynParams)
 Creates an Audio Encode (XDM 0.9) algorithm instance.
Int Aenc1_process (Aenc1_Handle hAe, Buffer_Handle hInBuf, Buffer_Handle hOutBuf)
 Sends XDM_FLUSH command to codec to notify it is the last frame which must be padded with zeros. after this call Aenc1_process to encode last frame.
Int Aenc1_delete (Aenc1_Handle hAe)
 Deletes an Audio Encode algorithm instance.
AUDENC1_Handle Aenc1_getVisaHandle (Aenc1_Handle hAe)
 Get the AUDENC1 handle from the Aenc1 module instance.
Int32 Aenc1_getInBufSize (Aenc1_Handle hAe)
 Get the input buffer size required by the codec.
Int32 Aenc1_getOutBufSize (Aenc1_Handle hAe)
 Get the output buffer size required by the codec.

Variables

const AUDENC1_Params Aenc1_Params_DEFAULT
 Default XDM params for an Audio Encode algorithm.
const AUDENC1_DynamicParams Aenc1_DynamicParams_DEFAULT
 Default XDM dynamic params for an Audio Encode algorithm.

Copyright 2011, Texas Instruments Incorporated