Asterisk - The Open Source Telephony Project GIT-master-f36a736
Public Member Functions | Data Fields
ast_imager Struct Reference

structure associated with registering an image format More...

#include <image.h>

Collaboration diagram for ast_imager:
Collaboration graph
[legend]

Public Member Functions

 AST_LIST_ENTRY (ast_imager) list
 

Data Fields

char * desc
 
char * exts
 
struct ast_formatformat
 
int(* identify )(int fd)
 
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.

Member Function Documentation

◆ AST_LIST_ENTRY()

AST_LIST_ENTRY ( ast_imager  )

For linked list

Field Documentation

◆ desc

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().

◆ exts

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().

◆ format

struct ast_format* format

Image format

Definition at line 31 of file image.h.

Referenced by ast_read_image(), and handle_core_show_image_formats().

◆ identify

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().

◆ name

char* name

◆ read_image

struct ast_frame *(* read_image) (int fd, int len)

Read an image from a file descriptor

Definition at line 31 of file image.h.

Referenced by ast_read_image().

◆ write_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: