|
| PluginVideoCodec (const PluginCodec_Definition *defn) |
|
virtual size_t | GetRawFrameSize (unsigned width, unsigned height) |
|
__inline unsigned | GetMaxWidth () const |
|
__inline unsigned | GetMaxHeight () const |
|
__inline unsigned | GetWidth () const |
|
__inline unsigned | GetHeight () const |
|
virtual | ~PluginCodec () |
|
virtual bool | Construct () |
| Complete construction of the plug in codec. More...
|
|
virtual bool | Transcode (const void *fromPtr, unsigned &fromLen, void *toPtr, unsigned &toLen, unsigned &flags)=0 |
| Convert from one media format to another. More...
|
|
virtual bool | GetStatistics (char *, unsigned) |
| Gather any statistics as a string into the provide buffer. More...
|
|
virtual size_t | GetOutputDataSize () |
| Get the required output buffer size to be passed into Transcode. More...
|
|
virtual bool | SetInstanceID (const char *, unsigned) |
|
virtual bool | GetActiveOptions (PluginCodec_OptionMap &) |
| Get options that are "active" and may be different from the last SetOptions() call. More...
|
|
virtual bool | SetOptions (const char *const *options) |
| Set all the options for the codec. More...
|
|
virtual bool | OnChangedOptions () |
| Callback for if any options are changed. More...
|
|
virtual bool | SetOption (const char *optionName, const char *optionValue) |
| Set an individual option of the given name. More...
|
|
template<typename T > |
bool | SetOptionUnsigned (T &oldValue, const char *optionValue, unsigned minimum, unsigned maximum=UINT_MAX) |
|
bool | SetOptionUnsigned (unsigned &oldValue, const char *optionValue, unsigned minimum, unsigned maximum=UINT_MAX) |
|
template<typename T > |
bool | SetOptionBoolean (T &oldValue, const char *optionValue) |
|
bool | SetOptionBoolean (bool &oldValue, const char *optionValue) |
|
bool | SetOptionBit (int &oldValue, unsigned bit, const char *optionValue) |
|
bool | SetOptionBit (unsigned &oldValue, unsigned bit, const char *optionValue) |
|
|
static bool | Terminate () |
|
template<class CodecClass > |
static void * | Create_s (const PluginCodec_Definition *defn) |
|
static void | Destroy_s (const PluginCodec_Definition *, void *context) |
|
static int | Transcode_s (const PluginCodec_Definition *, void *context, const void *fromPtr, unsigned *fromLen, void *toPtr, unsigned *toLen, unsigned int *flags) |
|
static int | GetOutputDataSize_s (const PluginCodec_Definition *, void *context, const char *, void *, unsigned *) |
|
static int | ToNormalised_s (const PluginCodec_Definition *defn, void *, const char *, void *parm, unsigned *len) |
|
static int | ToCustomised_s (const PluginCodec_Definition *defn, void *, const char *, void *parm, unsigned *len) |
|
static int | GetActiveOptions_s (const PluginCodec_Definition *, void *context, const char *, void *parm, unsigned *parmLen) |
|
static int | FreeOptions_s (const PluginCodec_Definition *, void *, const char *, void *parm, unsigned *len) |
|
static int | GetOptions_s (const struct PluginCodec_Definition *codec, void *, const char *, void *parm, unsigned *len) |
|
static int | SetOptions_s (const PluginCodec_Definition *, void *context, const char *, void *parm, unsigned *len) |
|
static int | ValidForProtocol_s (const PluginCodec_Definition *defn, void *, const char *, void *parm, unsigned *len) |
|
static int | SetInstanceID_s (const PluginCodec_Definition *, void *context, const char *, void *parm, unsigned *len) |
|
static int | GetStatistics_s (const PluginCodec_Definition *, void *context, const char *, void *parm, unsigned *len) |
|
static int | Terminate_s (const PluginCodec_Definition *, void *context, const char *, void *, unsigned *) |
|
static struct
PluginCodec_ControlDefn * | GetControls () |
|
| PluginCodec (const PluginCodec_Definition *defn) |
|