bg_image_reader_plugin_s Struct Reference
[Image support]
Image reader plugin.
More...
#include <plugin.h>
Detailed Description
Image reader plugin.
Field Documentation
Infos and functions common to all plugin types.
Supported file extensions (space separated).
Read the file header.
- Parameters:
-
| priv | The handle returned by the create() method - Parameters:
-
| filename | Filename - Parameters:
-
| format | Returns the format of the image - Returns:
- 1 on success, 0 on error.
|
|
|
Get metadata.
- Parameters:
-
| priv | The handle returned by the create() method - Returns:
- Metadata for the image or NULL
|
Get compression info.
- Parameters:
-
| priv | The handle returned by the create() method - Parameters:
-
| ci | Returns the compression info - Returns:
- 1 if the compression info could be returned, 0 else
|
|
Read the image.
- Parameters:
-
| priv | The handle returned by the create() method - Parameters:
-
| frame | The frame, where the image will be copied - Returns:
- 1 if the image was read, 0 else
After reading the image the plugin is cleaned up, so read_header() can be called again after that. If frame is NULL, no image is read, and the plugin is reset. |
|
The documentation for this struct was generated from the following file:
- /usr/src/packages/BUILD/gmerlin-1.0.0/include/gmerlin/plugin.h