libpromeki main
PROfessional MEdia toolKIt
 
Loading...
Searching...
No Matches
Codec::Instance Class Reference

Represents an active codec instance used for performing conversions. More...

#include <codec.h>

Public Member Functions

 Instance (Codec *codec)
 Constructs a codec instance associated with the given codec.
 
virtual ~Instance ()
 Destructor.
 
Image convert (const Image &input)
 Converts the given input image and returns the result.
 

Detailed Description

Represents an active codec instance used for performing conversions.

Constructor & Destructor Documentation

◆ Instance()

Codec::Instance::Instance ( Codec codec)
inline

Constructs a codec instance associated with the given codec.

Parameters
codecPointer to the parent codec.

Member Function Documentation

◆ convert()

Image Codec::Instance::convert ( const Image input)
inline

Converts the given input image and returns the result.

Parameters
inputThe source image to convert.
Returns
The converted image.

The documentation for this class was generated from the following file: