Thu Apr 28 2011 17:14:04

Asterisk developer's documentation


ast_imager Struct Reference

structure associated with registering an image format More...

#include <image.h>

Collaboration diagram for ast_imager:

Data Fields

char * desc
char * exts
int format
int(* identify )(int fd)
struct {
   struct ast_imager *   next
list
char * name
struct ast_frame *(* read_image )(int fd, int len)
int(* write_image )(int fd, struct ast_frame *frame)

Detailed Description

structure associated with registering an image format

Definition at line 27 of file image.h.


Field Documentation

char* desc

Description

Definition at line 29 of file image.h.

Referenced by ast_image_register(), ast_image_unregister(), and handle_core_show_image_formats().

char* exts

Extension(s) (separated by '|' )

Definition at line 30 of file image.h.

Referenced by ast_read_image(), and handle_core_show_image_formats().

int format

Image format

Definition at line 31 of file image.h.

Referenced by ast_read_image(), and handle_core_show_image_formats().

int(* identify)(int fd)

Identify if this is that type of file

Definition at line 33 of file image.h.

Referenced by ast_read_image().

struct { ... } list

For linked list

Referenced by handle_core_show_image_formats().

char* name
struct ast_imager* next

Definition at line 35 of file image.h.

struct ast_frame*(* read_image)(int fd, int len) [read]

Read an image from a file descriptor

Definition at line 32 of file image.h.

Referenced by ast_read_image().

int(* write_image)(int fd, struct ast_frame *frame)

Returns length written

Definition at line 34 of file image.h.


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