CuteLogger
Fast and simple logging solution for Qt based applications
SharedFrame Class Reference

The SharedFrame provides thread safe access to Mlt::Frame data. More...

#include <sharedframe.h>

Detailed Description

The SharedFrame provides thread safe access to Mlt::Frame data.

\threadsafe

SharedFrame is a wrapper around Mlt::Frame that provides read-only access to the frame data. SharedFrame is a reference counted object having only const functions. Therefore, it is suitable for concurrent access.

A SharedFrame can be safely copied. However, all copies will be accessing the same wrapped Mlt::Frame. Therefore, SharedFrame can not provide non-const access to any of the frame data. If it is necessary for an object to modify the frame data (e.g. to resize the image), then the object must call clone() to receive it's own non-const copy of the frame.

TODO: Consider providing a similar class in Mlt++.


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