image.c File Reference

This file contains the functions to handle the image_handler_t type. More...

Include dependency graph for image.c:


Functions

static picture_tImageRead (image_handler_t *p_image, block_t *p_block, video_format_t *p_fmt_in, video_format_t *p_fmt_out)
 Read an image.
static picture_tImageReadUrl (image_handler_t *, const char *, video_format_t *, video_format_t *)
static block_tImageWrite (image_handler_t *p_image, picture_t *p_pic, video_format_t *p_fmt_in, video_format_t *p_fmt_out)
 Write an image.
static int ImageWriteUrl (image_handler_t *, picture_t *, video_format_t *, video_format_t *, const char *)
static picture_tImageConvert (image_handler_t *p_image, picture_t *p_pic, video_format_t *p_fmt_in, video_format_t *p_fmt_out)
 Convert an image to a different format.
static picture_tImageFilter (image_handler_t *p_image, picture_t *p_pic, video_format_t *p_fmt, const char *psz_module)
 Filter an image with a psz_module filter.
static decoder_tCreateDecoder (vlc_object_t *, video_format_t *)
static void DeleteDecoder (decoder_t *)
static encoder_tCreateEncoder (vlc_object_t *, video_format_t *, video_format_t *)
static void DeleteEncoder (encoder_t *)
static filter_tCreateFilter (vlc_object_t *, es_format_t *, video_format_t *, const char *)
static void DeleteFilter (filter_t *)
vlc_fourcc_t image_Type2Fourcc (const char *)
vlc_fourcc_t image_Ext2Fourcc (const char *)
image_handler_timage_HandlerCreate (vlc_object_t *p_this)
 Create an image_handler_t instance.
void image_HandlerDelete (image_handler_t *p_image)
 Delete the image_handler_t instance.
vlc_fourcc_t image_Mime2Fourcc (const char *psz_mime)
static picture_tvideo_new_buffer (decoder_t *p_dec)
static void video_del_buffer (decoder_t *p_dec, picture_t *p_pic)
static void video_link_picture (decoder_t *p_dec, picture_t *p_pic)
static void video_unlink_picture (decoder_t *p_dec, picture_t *p_pic)

Variables

struct {
   vlc_fourcc_t   i_codec
   const char *   psz_ext
ext_table []
 Misc functions.
struct {
   vlc_fourcc_t   i_codec
   const char *   psz_mime
mime_table []

Detailed Description

This file contains the functions to handle the image_handler_t type.


Function Documentation

static decoder_t * CreateDecoder ( vlc_object_t p_this,
video_format_t fmt 
) [static]

static encoder_t * CreateEncoder ( vlc_object_t p_this,
video_format_t fmt_in,
video_format_t fmt_out 
) [static]

static filter_t * CreateFilter ( vlc_object_t p_this,
es_format_t p_fmt_in,
video_format_t p_fmt_out,
const char *  psz_module 
) [static]

static void DeleteDecoder ( decoder_t p_dec  )  [static]

static void DeleteEncoder ( encoder_t p_enc  )  [static]

static void DeleteFilter ( filter_t p_filter  )  [static]

vlc_fourcc_t image_Ext2Fourcc ( const char *  psz_name  ) 

References image_Type2Fourcc().

Referenced by ImageReadUrl(), ImageWriteUrl(), and Open().

image_handler_t* image_HandlerCreate ( vlc_object_t p_this  ) 

void image_HandlerDelete ( image_handler_t p_image  ) 

vlc_fourcc_t image_Mime2Fourcc ( const char *  psz_mime  ) 

References i, and mime_table.

Referenced by ImageReadUrl(), and ParseImageAttachments().

vlc_fourcc_t image_Type2Fourcc ( const char *  psz_type  ) 

static picture_t * ImageConvert ( image_handler_t p_image,
picture_t p_pic,
video_format_t p_fmt_in,
video_format_t p_fmt_out 
) [static]

static picture_t * ImageFilter ( image_handler_t p_image,
picture_t p_pic,
video_format_t p_fmt,
const char *  psz_module 
) [static]

static picture_t * ImageRead ( image_handler_t p_image,
block_t p_block,
video_format_t p_fmt_in,
video_format_t p_fmt_out 
) [static]

static picture_t * ImageReadUrl ( image_handler_t p_image,
const char *  psz_url,
video_format_t p_fmt_in,
video_format_t p_fmt_out 
) [static]

static block_t * ImageWrite ( image_handler_t p_image,
picture_t p_pic,
video_format_t p_fmt_in,
video_format_t p_fmt_out 
) [static]

static int ImageWriteUrl ( image_handler_t p_image,
picture_t p_pic,
video_format_t p_fmt_in,
video_format_t p_fmt_out,
const char *  psz_url 
) [static]

static void video_del_buffer ( decoder_t p_dec,
picture_t p_pic 
) [static]

static void video_link_picture ( decoder_t p_dec,
picture_t p_pic 
) [static]

References picture_Hold().

Referenced by CreateDecoder().

static picture_t* video_new_buffer ( decoder_t p_dec  )  [static]

static void video_unlink_picture ( decoder_t p_dec,
picture_t p_pic 
) [static]

References picture_Release().

Referenced by CreateDecoder().


Variable Documentation

struct { ... } ext_table[] [static]

Misc functions.

Referenced by image_Type2Fourcc().

struct { ... } mime_table[] [static]

Referenced by image_Mime2Fourcc().

const char* psz_ext

const char* psz_mime


Generated on Tue May 25 08:05:36 2010 for VLC by  doxygen 1.5.6