#include <video_frame.h>
Defines a struct containing callback functions for a video frame plane memory wrapper struct.
- See also
- otc_video_frame_new_planar_memory_wrapper
◆ get_plane
Called when a video frame plane is requested. It is mandatory to implement this callback function.
- Parameters
-
user_data | A pointer to the user data bound to this struct. |
plane | Given plane. |
- Returns
- Pointer to video frame plane.
◆ get_plane_stride
Called when a video frame plane stride is requested.
- Parameters
-
user_data | A pointer to the user data bound to this struct. |
plane | Given plane. |
- Returns
- Video frame plane stride.
◆ release
Called when you can release the video frame data from memory. It is not mandatory to implement this callback function.
- Parameters
-
user_data | A pointer to the user data bound to this struct. |
◆ reserved
A void pointer to a memory area holding reserved resources used for the internal implementation.
◆ user_data
A pointer to any useful user data related to this struct.
The documentation for this struct was generated from the following file: