Picasso API  2.2
Data Fields
_psx_image_operator Struct Reference

The image operator define. More...

#include <picasso_image_plugin.h>

Data Fields

int(* read_header_info )(const ps_byte *data, size_t data_len, psx_image_header *header)
int(* decode_image_data )(psx_image_header *header, psx_image_frame *frame, int idx, ps_byte *buffer, size_t buffer_len)
int(* release_read_header_info )(psx_image_header *header)
int(* write_header_info )(const psx_image *image, image_writer_fn func, void *param, float quality, psx_image_header *header)
int(* encode_image_data )(psx_image_header *header, psx_image_frame *frame, int idx, const ps_byte *buffer, size_t buffer_len, int *ret)
int(* release_write_header_info )(psx_image_header *header)

Detailed Description

The image operator define.

See also:
psx_image_register_operator psx_image_unregister_operator

Definition at line 69 of file picasso_image_plugin.h.


Field Documentation

int(* _psx_image_operator::decode_image_data)(psx_image_header *header, psx_image_frame *frame, int idx, ps_byte *buffer, size_t buffer_len)

Read a frame of raw data.

Definition at line 73 of file picasso_image_plugin.h.

int(* _psx_image_operator::encode_image_data)(psx_image_header *header, psx_image_frame *frame, int idx, const ps_byte *buffer, size_t buffer_len, int *ret)

Write image data frames.

Definition at line 80 of file picasso_image_plugin.h.

int(* _psx_image_operator::read_header_info)(const ps_byte *data, size_t data_len, psx_image_header *header)

Create a image reader header.

Definition at line 71 of file picasso_image_plugin.h.

Release reader resources.

Definition at line 75 of file picasso_image_plugin.h.

Release writer resources.

Definition at line 82 of file picasso_image_plugin.h.

int(* _psx_image_operator::write_header_info)(const psx_image *image, image_writer_fn func, void *param, float quality, psx_image_header *header)

Create a image writer header.

Definition at line 77 of file picasso_image_plugin.h.


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