|
AVBlocks for C++
3.4
Audio and Video Software Development Kit
|
Initializes AVBlocks and manages license information. More...
Functions | |
| primo::avblocks::Config * | config () |
| Returns the library configuration object. | |
| primo::codecs::AudioStreamInfo * | createAudioStreamInfo () |
| Creates an empty audio stream info. | |
| primo::codecs::StreamInfo * | createDataStreamInfo () |
| Creates a stream info for generic data. | |
| primo::error::ErrorInfo * | createErrorInfo () |
| Creates a new ErrorInfo instance. | |
| primo::avblocks::FloatParameter * | createFloatParameter () |
| Creates a float parameter. | |
| primo::codecs::Hardware * | createHardware () |
| Creates a Hardware enumeration object. | |
| primo::avblocks::IntParameter * | createIntParameter () |
| Creates an integer parameter. | |
| primo::license::LicenseInfo * | createLicenseInfo () |
| Creates a new LicenseInfo instance. | |
| primo::codecs::MediaBuffer * | createMediaBuffer (int32_t capacity=0) |
| Creates a media buffer with the specified capacity. | |
| primo::avblocks::MediaBufferParameter * | createMediaBufferParameter () |
| Creates a parameter that holds a MediaBuffer object. | |
| primo::avblocks::MediaInfo * | createMediaInfo () |
| Creates a media information object. | |
| primo::avblocks::MediaPin * | createMediaPin () |
| Creates a media pin. | |
| primo::codecs::MediaSample * | createMediaSample () |
| Creates an empty media sample. | |
| primo::avblocks::MediaSocket * | createMediaSocket () |
| Creates a media socket. | |
| primo::avblocks::MediaSocket * | createMediaSocket (const char *preset) |
| Creates a media socket from an AVBlocks Preset. | |
| primo::avblocks::MediaSocket * | createMediaSocket (MediaInfo *mediaInfo) |
| Creates a media socket from a MediaInfo object. | |
| primo::codecs::MetaAttribute * | createMetaAttribute () |
| Creates an empty MetaAttribute object. | |
| primo::codecs::Metadata * | createMetadata () |
| Creates an empty Metadata object. | |
| primo::codecs::MetaPicture * | createMetaPicture () |
| Creates an empty MetaPicture object. | |
| primo::avblocks::ParameterList * | createParameterList () |
| Creates an empty collection of filter parameters. | |
| primo::avblocks::StringParameter * | createStringParameter () |
| Creates a parameter that holds a char_t* string. | |
| Transcoder * | createTranscoder () |
| Creates a Transcoder. | |
| primo::codecs::VideoStreamInfo * | createVideoStreamInfo () |
| Creates an empty video stream info. | |
| primo::avblocks::VideoStreamInfoParameter * | createVideoStreamInfoParameter () |
| Creates a parameter that holds a VideoStreamInfoParameter object. | |
| const char * | description () |
| Gets library build description. | |
| bool_t | initialize () |
| Initializes the AVBlocks library. | |
| int32_t | majorVersion () |
| Gets library major version. | |
| int32_t | minorVersion () |
| Gets library minor version. | |
| int32_t | patchVersion () |
| Gets library patch version. | |
| int32_t | setLicense (const char *license) |
| Sets a license string. | |
| void | setLicenseTls (bool_t useTls) |
| Sets whether TLS (Transport Layer Security) should be used for license validation. | |
| void | shutdown () |
| Closes the AVBlocks library and frees the resources that are used (if any). | |
Initializes AVBlocks and manages license information.
This namespace contains global functions for the AVBlocks library. These are C++ wrappers of the functions in the pure "C" interface exported by the library.
| primo::avblocks::Config * config | ( | ) |
| primo::codecs::AudioStreamInfo * createAudioStreamInfo | ( | ) |
Creates an empty audio stream info.
The caller is responsible for releasing the object when it is not needed anymore.
References createAudioStreamInfo().
Referenced by createAudioStreamInfo().
| primo::codecs::StreamInfo * createDataStreamInfo | ( | ) |
Creates a stream info for generic data.
The caller is responsible for releasing the object when it is not needed anymore.
References createDataStreamInfo().
Referenced by createDataStreamInfo().
| primo::error::ErrorInfo * createErrorInfo | ( | ) |
Creates a new ErrorInfo instance.
References createErrorInfo().
Referenced by createErrorInfo().
| primo::avblocks::FloatParameter * createFloatParameter | ( | ) |
Creates a float parameter.
The caller is responsible for releasing the object when it is not needed anymore.
References createFloatParameter().
Referenced by createFloatParameter().
| primo::codecs::Hardware * createHardware | ( | ) |
Creates a Hardware enumeration object.
The caller is responsible for releasing the object when it is not needed anymore.
References createHardware().
Referenced by createHardware().
| primo::avblocks::IntParameter * createIntParameter | ( | ) |
Creates an integer parameter.
The caller is responsible for releasing the object when it is not needed anymore.
References createIntParameter().
Referenced by createIntParameter().
| primo::license::LicenseInfo * createLicenseInfo | ( | ) |
Creates a new LicenseInfo instance.
References createLicenseInfo().
Referenced by createLicenseInfo().
| primo::codecs::MediaBuffer * createMediaBuffer | ( | int32_t | capacity = 0 | ) |
Creates a media buffer with the specified capacity.
The caller is responsible for releasing the object when it is not needed anymore.
| capacity | The required capacity must be greater or equal to 0. |
References createMediaBuffer().
Referenced by createMediaBuffer().
| primo::avblocks::MediaBufferParameter * createMediaBufferParameter | ( | ) |
Creates a parameter that holds a MediaBuffer object.
The caller is responsible for releasing the object when it is not needed anymore.
References createMediaBufferParameter().
Referenced by createMediaBufferParameter().
| primo::avblocks::MediaInfo * createMediaInfo | ( | ) |
Creates a media information object.
The caller is responsible for releasing the object when it is not needed anymore.
References createMediaInfo().
Referenced by createMediaInfo().
| primo::avblocks::MediaPin * createMediaPin | ( | ) |
Creates a media pin.
It is used in input and output sockets of the transcoder. The caller is responsible for releasing the object when it is not needed anymore.
References createMediaPin().
Referenced by createMediaPin().
| primo::codecs::MediaSample * createMediaSample | ( | ) |
Creates an empty media sample.
The caller is responsible for releasing the object when it is not needed anymore.
References createMediaSample().
Referenced by createMediaSample().
| primo::avblocks::MediaSocket * createMediaSocket | ( | ) |
Creates a media socket.
It is used as an input or output point of the transcoder. The caller is responsible for releasing the object when it is not needed anymore.
References createMediaSocket().
Referenced by createMediaSocket(), createMediaSocket(), and createMediaSocket().
| primo::avblocks::MediaSocket * createMediaSocket | ( | const char * | preset | ) |
Creates a media socket from an AVBlocks Preset.
| preset | [in] A pointer to a preset string. The known presets are listed in the primo::avblocks::Preset namespace. |
References createMediaSocket().
| primo::avblocks::MediaSocket * createMediaSocket | ( | MediaInfo * | mediaInfo | ) |
Creates a media socket from a MediaInfo object.
This method will call MediaInfo::load, if the MediaInfo has not been loaded.
| mediaInfo | [in] A pointer to a MediaInfo object with audio/video information. This object is not needed after the method returns. |
This method is meant to help in setting correctly the inputs of the Transcoder. The intended usage is as follows:
References createMediaSocket().
| primo::codecs::MetaAttribute * createMetaAttribute | ( | ) |
Creates an empty MetaAttribute object.
The caller is responsible for releasing the object when it is not needed anymore.
References createMetaAttribute().
Referenced by createMetaAttribute().
| primo::codecs::Metadata * createMetadata | ( | ) |
Creates an empty Metadata object.
The caller is responsible for releasing the object when it is not needed anymore.
References createMetadata().
Referenced by createMetadata().
| primo::codecs::MetaPicture * createMetaPicture | ( | ) |
Creates an empty MetaPicture object.
The caller is responsible for releasing the object when it is not needed anymore.
References createMetaPicture().
Referenced by createMetaPicture().
| primo::avblocks::ParameterList * createParameterList | ( | ) |
Creates an empty collection of filter parameters.
The caller is responsible for releasing the object when it is not needed anymore.
References createParameterList().
Referenced by createParameterList().
| primo::avblocks::StringParameter * createStringParameter | ( | ) |
Creates a parameter that holds a char_t* string.
The caller is responsible for releasing the object when it is not needed anymore.
References createStringParameter().
Referenced by createStringParameter().
| Transcoder * createTranscoder | ( | ) |
Creates a Transcoder.
The caller is responsible for releasing the object when it is not needed anymore.
References createTranscoder().
Referenced by createTranscoder().
| primo::codecs::VideoStreamInfo * createVideoStreamInfo | ( | ) |
Creates an empty video stream info.
The caller is responsible for releasing the object when it is not needed anymore.
References createVideoStreamInfo().
Referenced by createVideoStreamInfo().
| primo::avblocks::VideoStreamInfoParameter * createVideoStreamInfoParameter | ( | ) |
Creates a parameter that holds a VideoStreamInfoParameter object.
The caller is responsible for releasing the object when it is not needed anymore.
References createVideoStreamInfoParameter().
Referenced by createVideoStreamInfoParameter().
| const char * description | ( | ) |
Gets library build description.
References description().
Referenced by description().
| bool_t initialize | ( | ) |
Initializes the AVBlocks library.
Must be called once before the library is used, usually when the application starts.
References initialize().
Referenced by initialize().
| int32_t majorVersion | ( | ) |
Gets library major version.
References majorVersion().
Referenced by majorVersion().
| int32_t minorVersion | ( | ) |
Gets library minor version.
References minorVersion().
Referenced by minorVersion().
| int32_t patchVersion | ( | ) |
Gets library patch version.
References patchVersion().
Referenced by patchVersion().
| int32_t setLicense | ( | const char * | license | ) |
Sets a license string.
The supplied license is appended to the library license state.
| license | A string with license information. If the license string is NULL the library license state is cleared. |
References setLicense().
Referenced by setLicense().
| void setLicenseTls | ( | bool_t | useTls | ) |
Sets whether TLS (Transport Layer Security) should be used for license validation.
By default TLS is disabled (not used).
| useTls | If TRUE the library will use TLS to validate the license. If FALSE the library will not use TLS to validate the license. |
References setLicenseTls().
Referenced by setLicenseTls().
| void shutdown | ( | ) |
Closes the AVBlocks library and frees the resources that are used (if any).
Should be called when the library will not be used anymore, e.g. when the application ends.
References shutdown().
Referenced by shutdown().