Home Units Hierarchy Routines All identifiers

Unit unaOpenH323PluginAPI

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

OpenH323 Plugin API wrapper.

Version 2.5.2008.07 Still here

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
packed record pluginCodec_controlDefn  
packed record pluginCodec_Definition  
packed record pluginCodec_information  
packed record plugin_proc  

Functions and Procedures

function plugin_loadDLL(var pproc: plugin_proc; const pathAndName: wString): int;
function plugin_unloadDLL(var pproc: plugin_proc): int;

Types

ppluginCodec_information = ˆpluginCodec_information;
ppluginCodec_definition = ˆpluginCodec_Definition;
proc_codecControl = function(codec: ppluginCodec_definition; context: pointer; name: paChar; parm: pointer; var parmLen: uint32): int32; cdecl;
ppluginCodec_controlDefn = ˆpluginCodec_ControlDefn;
proc_createCodec = function(codec: ppluginCodec_definition): pointer; cdecl;
proc_destroyCodec = procedure(codec: ppluginCodec_definition; context: pointer); cdecl;
proc_codecFunction = function(codec: ppluginCodec_definition; context: pointer; from: pointer; var fromLen: uint32; _to: pointer; var toLen: uint32; var flag: uint32): int32; cdecl;
proc_pluginCodec_getCodecFunction = function(var p1: uint32; p2: uint32): ppluginCodec_definition; cdecl;
proc_pluginCodec_getAPIVersionFunction = function(): unsigned; cdecl;
pplugin_proc = ˆplugin_proc;

Constants

pluginCodec_BitsPerSampleMask = $f000;
pluginCodec_BitsPerSamplePos = 12;
pluginCodec_InputTypeMask = $0010;
pluginCodec_InputTypeRaw = $0000;
pluginCodec_InputTypeRTP = $0010;
pluginCodec_Licence_None = 0;
pluginCodec_License_BSD = 5;
pluginCodec_License_Freeware = 3;
pluginCodec_License_GPL = 1;
pluginCodec_License_MPL = 2;
pluginCodec_License_NoRoyalties = $7f;
pluginCodec_License_ResearchAndDevelopmentUseOnly = 4;
pluginCodec_License_RoyaltiesRequired = $80;
pluginCodec_MediaTypeAudio = $0000;
pluginCodec_MediaTypeAudioStreamed = $0002;
pluginCodec_MediaTypeMask = $000f;
pluginCodec_MediaTypeVideo = $0001;
pluginCodec_OutputTypeMask = $0020;
pluginCodec_OutputTypeRaw = $0000;
pluginCodec_OutputTypeRTP = $0020;
pluginCodec_RTPTypeDynamic = $0000;
pluginCodec_RTPTypeExplicit = $0040;
pluginCodec_RTPTypeMask = $0040;
PLUGIN_CODEC_VERSION = 1;
PWLIB_PLUGIN_API_VERSION = 0;

Description

Functions and Procedures

function plugin_loadDLL(var pproc: plugin_proc; const pathAndName: wString): int;

Loads plugin DLL. NOT MT-SAFE!

Returns

0 if successuf, or Windows specific error code.

function plugin_unloadDLL(var pproc: plugin_proc): int;

Unloads plugin DLL. NOT MT-SAFE!

Returns

0 if successuf, or Windows specific error code.

Types

ppluginCodec_information = ˆpluginCodec_information;
 
ppluginCodec_definition = ˆpluginCodec_Definition;

declare ahead

proc_codecControl = function(codec: ppluginCodec_definition; context: pointer; name: paChar; parm: pointer; var parmLen: uint32): int32; cdecl;

control def function

ppluginCodec_controlDefn = ˆpluginCodec_ControlDefn;
 
proc_createCodec = function(codec: ppluginCodec_definition): pointer; cdecl;
 
proc_destroyCodec = procedure(codec: ppluginCodec_definition; context: pointer); cdecl;
 
proc_codecFunction = function(codec: ppluginCodec_definition; context: pointer; from: pointer; var fromLen: uint32; _to: pointer; var toLen: uint32; var flag: uint32): int32; cdecl;
 
proc_pluginCodec_getCodecFunction = function(var p1: uint32; p2: uint32): ppluginCodec_definition; cdecl;

end of version 1 fields

proc_pluginCodec_getAPIVersionFunction = function(): unsigned; cdecl;
 
pplugin_proc = ˆplugin_proc;

/////////////////////////////////////////////// VC 2.5 specific ///////////////////////////////////////////////

– plugin entry points –

Constants

pluginCodec_BitsPerSampleMask = $f000;
 
pluginCodec_BitsPerSamplePos = 12;
 
pluginCodec_InputTypeMask = $0010;
 
pluginCodec_InputTypeRaw = $0000;
 
pluginCodec_InputTypeRTP = $0010;
 
pluginCodec_Licence_None = 0;
 
pluginCodec_License_BSD = 5;
 
pluginCodec_License_Freeware = 3;
 
pluginCodec_License_GPL = 1;
 
pluginCodec_License_MPL = 2;
 
pluginCodec_License_NoRoyalties = $7f;
 
pluginCodec_License_ResearchAndDevelopmentUseOnly = 4;
 
pluginCodec_License_RoyaltiesRequired = $80;

any license codes above here require royalty payments

pluginCodec_MediaTypeAudio = $0000;
 
pluginCodec_MediaTypeAudioStreamed = $0002;
 
pluginCodec_MediaTypeMask = $000f;

codec license code end of version 1 fields

pluginCodec_MediaTypeVideo = $0001;
 
pluginCodec_OutputTypeMask = $0020;
 
pluginCodec_OutputTypeRaw = $0000;
 
pluginCodec_OutputTypeRTP = $0020;
 
pluginCodec_RTPTypeDynamic = $0000;
 
pluginCodec_RTPTypeExplicit = $0040;
 
pluginCodec_RTPTypeMask = $0040;
 
PLUGIN_CODEC_VERSION = 1;
 
PWLIB_PLUGIN_API_VERSION = 0;
 

Author

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09