VLC  2.1.0-git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
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 *)(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 [7]
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(), and ImageWriteUrl().

image_handler_t* image_HandlerCreate ( ((vlc_object_t *)(vlc_object_t *p_this))  )
void image_HandlerDelete ( image_handler_t p_image)
vlc_fourcc_t image_Mime2Fourcc ( const char *  psz_mime)

References mime_table.

Referenced by ImageReadUrl().

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

References picture_Release().

Referenced by CreateDecoder(), and CreateFilter().

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[]

Misc functions.

Referenced by image_Type2Fourcc().

vlc_fourcc_t i_codec
struct { ... } mime_table[]

Referenced by image_Mime2Fourcc().

const char psz_ext[7]
const char* psz_mime

Referenced by ImageReadUrl().