![]() |
![]() |
Defines | |
| #define | VISA_EOK 0 |
| Success. | |
| #define | VISA_ERUNTIME -1 |
| Internal runtime error. | |
| #define | VISA_EFAIL -2 |
| General system error. | |
| #define | VISA_ETIMEOUT -100 |
| Timeout occurred. | |
| #define | VISA_FOREVER Engine_FOREVER |
| Special value for timeout parameter indicating never timeout. | |
Typedefs | |
| typedef Int | VISA_Status |
| VISA result data type. | |
Functions | |
| VISA_Status | VISA_getAlgMemRecs (VISA_Handle visa, IALG_MemRec *memTab, Int size, Int *numRecs) |
| Get the IALG_MemRec memory assigned to an algorithm instance. | |
| VISA_Status | VISA_getAlgNumRecs (VISA_Handle visa, Int *numRecs) |
| Get the number of IALG_MemRecs assigned to an algorithm. | |
| Ptr | VISA_getCodecClassConfig (VISA_Handle visa) |
| Get codec-specific values for the VISA class-specific (or codec-specific if the codec doesn't extend VISA) stub-and/ or-skeleton configuration data (that some classes have). | |
| UInt | VISA_getMaxMsgSize (VISA_Handle visa) |
| Returns max size of messages allocated by VISA_allocMsg(). | |
| Bool | VISA_isLocal (VISA_Handle visa) |
| Indicates whether VISA codecs run on a remote or local CPU. | |
Codec Engine Algorithm-independent shared definitions and services.
| #define VISA_EOK 0 |
Success.
| #define VISA_ERUNTIME -1 |
Internal runtime error.
| #define VISA_EFAIL -2 |
General system error.
| #define VISA_ETIMEOUT -100 |
Timeout occurred.
| #define VISA_FOREVER Engine_FOREVER |
Special value for timeout parameter indicating never timeout.
| typedef Int VISA_Status |
VISA result data type.
| VISA_Status VISA_getAlgMemRecs | ( | VISA_Handle | visa, | |
| IALG_MemRec * | memTab, | |||
| Int | size, | |||
| Int * | numRecs | |||
| ) |
Get the IALG_MemRec memory assigned to an algorithm instance.
| [in] | visa | Handle to an algorithm instance. |
| [out] | memTab | Location to store the IALG_MemRecs. |
| [in] | size | Maximum number of IALG_MemRecs to put in memTab array. |
| [out] | numRecs | Actual number of IALG_MemRecs copied into memTab array. |
visa handle. AUDDEC1_Handle decoder;
decoder = AUDDEC1_create(...);
... likely use VISA_getAlgNumRecs() to alloc enough mem...
VISA_getAlgMemRecs((VISA_Handle)decoder, ...);
| VISA_EOK | Success. | |
| VISA_EFAIL | Failure. |
| VISA_Status VISA_getAlgNumRecs | ( | VISA_Handle | visa, | |
| Int * | numRecs | |||
| ) |
Get the number of IALG_MemRecs assigned to an algorithm.
| [in] | visa | Handle to an algorithm instance. |
| [out] | numRecs | Location to store the number of IALG_MemRecs used. |
visa handle. Int numRecs;
AUDDEC1_Handle decoder;
decoder = AUDDEC1_create(...);
VISA_getAlgNumRecs((VISA_Handle)decoder, &numRecs);
| VISA_EOK | Success. | |
| VISA_EFAIL | Failure. |
| Ptr VISA_getCodecClassConfig | ( | VISA_Handle | visa | ) |
Get codec-specific values for the VISA class-specific (or codec-specific if the codec doesn't extend VISA) stub-and/ or-skeleton configuration data (that some classes have).
| [in] | visa | Handle to an algorithm instance. |
| address | of the codec class config data structure, or NULL if codec class config data not defined for the codec; the format of the structure is class-specific, and the data in it is codec- specific |
visa must be a valid algorithm instance handle. | UInt VISA_getMaxMsgSize | ( | VISA_Handle | visa | ) |
Returns max size of messages allocated by VISA_allocMsg().
| maxMsgSize | Max size of messages allocated by VISA_allocMsg() |
| Bool VISA_isLocal | ( | VISA_Handle | visa | ) |
Indicates whether VISA codecs run on a remote or local CPU.
| FALSE | VISA codecs run on remote CPU | |
| TRUE | VISA codecs run on local CPU |