|
EAPI Eina_Bool | ethumb_plugin_register (const Ethumb_Plugin *plugin) |
|
EAPI Eina_Bool | ethumb_plugin_unregister (const Ethumb_Plugin *plugin) |
|
static void | _ethumb_plugins_load (void) |
|
static void | _ethumb_plugins_unload (void) |
|
EAPI int | ethumb_init (void) |
| Initialize ethumb. More...
|
|
EAPI int | ethumb_shutdown (void) |
| Shutdown ethumb, unloading all currently-loaded modules. More...
|
|
EAPI Ethumb * | ethumb_new (void) |
| Create a new ethumb object. More...
|
|
static void | _ethumb_frame_free (Ethumb_Frame *frame) |
|
EAPI void | ethumb_free (Ethumb *ethumb) |
| Free an ethumb object.
|
|
EAPI void | ethumb_thumb_fdo_set (Ethumb *e, Ethumb_Thumb_FDO_Size s) |
|
EAPI void | ethumb_thumb_size_set (Ethumb *e, int tw, int th) |
| Set the size of thumbnails. More...
|
|
EAPI void | ethumb_thumb_size_get (const Ethumb *e, int *tw, int *th) |
| Get the size of thumbnails. More...
|
|
EAPI void | ethumb_thumb_format_set (Ethumb *e, Ethumb_Thumb_Format f) |
| Set the fileformat of the thumbnails. More...
|
|
EAPI Ethumb_Thumb_Format | ethumb_thumb_format_get (const Ethumb *e) |
| Get the fileformat of the thumbnails. More...
|
|
EAPI void | ethumb_thumb_aspect_set (Ethumb *e, Ethumb_Thumb_Aspect a) |
| Set the aspect ratio policy. More...
|
|
EAPI Ethumb_Thumb_Aspect | ethumb_thumb_aspect_get (const Ethumb *e) |
| Get the aspect ratio policy. More...
|
|
EAPI void | ethumb_thumb_orientation_set (Ethumb *e, Ethumb_Thumb_Orientation o) |
| Set the thumbnail rotation or flip. More...
|
|
EAPI Ethumb_Thumb_Orientation | ethumb_thumb_orientation_get (const Ethumb *e) |
| Get the thumbnail rotation. More...
|
|
EAPI void | ethumb_thumb_crop_align_set (Ethumb *e, float x, float y) |
|
EAPI void | ethumb_thumb_crop_align_get (const Ethumb *e, float *x, float *y) |
|
EAPI void | ethumb_thumb_quality_set (Ethumb *e, int quality) |
| Set the thumbnail compression quality. More...
|
|
EAPI int | ethumb_thumb_quality_get (const Ethumb *e) |
| Get the thumbnail compression quality. More...
|
|
EAPI void | ethumb_thumb_compress_set (Ethumb *e, int compress) |
| Set the compression rate. More...
|
|
EAPI int | ethumb_thumb_compress_get (const Ethumb *e) |
| Get the compression rate. More...
|
|
EAPI Eina_Bool | ethumb_frame_set (Ethumb *e, const char *theme_file, const char *group, const char *swallow) |
| Set the Ethumb Frame. More...
|
|
EAPI void | ethumb_frame_get (const Ethumb *e, const char **theme_file, const char **group, const char **swallow) |
| Retreives the current ethumb frame of and Ethumb instance. More...
|
|
EAPI void | ethumb_thumb_dir_path_set (Ethumb *e, const char *path) |
| Set the ethumb thumbnails path. More...
|
|
EAPI const char * | ethumb_thumb_dir_path_get (const Ethumb *e) |
| Get the ethumb thumbnails path. More...
|
|
EAPI void | ethumb_thumb_category_set (Ethumb *e, const char *category) |
| Set the thumbnails category. More...
|
|
EAPI const char * | ethumb_thumb_category_get (const Ethumb *e) |
| Get the thumbnails category. More...
|
|
EAPI void | ethumb_video_start_set (Ethumb *e, float start) |
| set the video play start point More...
|
|
EAPI float | ethumb_video_start_get (const Ethumb *e) |
| get the video play start point More...
|
|
EAPI void | ethumb_video_time_set (Ethumb *e, float t) |
| Set the video time (duration) in seconds. More...
|
|
EAPI float | ethumb_video_time_get (const Ethumb *e) |
| Get the video time (duration) in seconds. More...
|
|
EAPI void | ethumb_video_interval_set (Ethumb *e, float interval) |
| Set the video frame interval, in seconds. More...
|
|
EAPI float | ethumb_video_interval_get (const Ethumb *e) |
| Get the video frame interval, in seconds. More...
|
|
EAPI void | ethumb_video_ntimes_set (Ethumb *e, unsigned int ntimes) |
| Set the number of times the video loops (if applicable). More...
|
|
EAPI unsigned int | ethumb_video_ntimes_get (const Ethumb *e) |
| Get the number of times the video loops (if applicable). More...
|
|
EAPI void | ethumb_video_fps_set (Ethumb *e, unsigned int fps) |
| Set the thumbnail framerate. More...
|
|
EAPI unsigned int | ethumb_video_fps_get (const Ethumb *e) |
| Get the thumbnail framerate. More...
|
|
EAPI void | ethumb_document_page_set (Ethumb *e, unsigned int page) |
| Set the page number to thumbnail in paged documents. More...
|
|
EAPI unsigned int | ethumb_document_page_get (const Ethumb *e) |
| Get the page number thumbnailed in paged documents. More...
|
|
EAPI Eina_Bool | ethumb_file_set (Ethumb *e, const char *path, const char *key) |
| Set the file for which to generate thumbnails. More...
|
|
EAPI void | ethumb_file_get (const Ethumb *e, const char **path, const char **key) |
| Get the file for which to generate thumbnails. More...
|
|
static const char * | _ethumb_generate_hash (const char *file) |
|
static int | _ethumb_file_check_fdo (Ethumb *e) |
|
static const char * | _ethumb_file_generate_custom_category (Ethumb *e) |
|
static void | _ethumb_file_generate_path (Ethumb *e) |
|
EAPI void | ethumb_file_free (Ethumb *e) |
| Reset the source file information. More...
|
|
EAPI void | ethumb_thumb_path_set (Ethumb *e, const char *path, const char *key) |
|
EAPI void | ethumb_thumb_path_get (Ethumb *e, const char **path, const char **key) |
|
EAPI void | ethumb_thumb_hash (Ethumb *e) |
|
EAPI void | ethumb_thumb_hash_copy (Ethumb *dst, const Ethumb *src) |
|
EAPI void | ethumb_calculate_aspect_from_ratio (Ethumb *e, float ia, int *w, int *h) |
|
EAPI void | ethumb_calculate_aspect (Ethumb *e, int iw, int ih, int *w, int *h) |
|
EAPI void | ethumb_calculate_fill_from_ratio (Ethumb *e, float ia, int *fx, int *fy, int *fw, int *fh) |
|
EAPI void | ethumb_calculate_fill (Ethumb *e, int iw, int ih, int *fx, int *fy, int *fw, int *fh) |
|
static Eina_Bool | _ethumb_plugin_generate (Ethumb *e) |
|
EAPI Eina_Bool | ethumb_plugin_image_resize (Ethumb *e, int w, int h) |
|
EAPI Eina_Bool | ethumb_image_save (Ethumb *e) |
|
static void | _ethumb_image_orient (Ethumb *e, int orientation) |
|
static int | _ethumb_image_load (Ethumb *e) |
|
static Eina_Bool | _ethumb_finished_idler_cb (void *data) |
|
EAPI void | ethumb_finished_callback_call (Ethumb *e, int result) |
|
EAPI Eina_Bool | ethumb_generate (Ethumb *e, Ethumb_Generate_Cb finished_cb, const void *data, Eina_Free_Cb free_data) |
| Generate the thumbnail. More...
|
|
EAPI Eina_Bool | ethumb_exists (Ethumb *e) |
| test if the thumbnailer exists More...
|
|
EAPI Evas * | ethumb_evas_get (const Ethumb *e) |
|
EAPI Ecore_Evas * | ethumb_ecore_evas_get (const Ethumb *e) |
|
EAPI Ethumb * | ethumb_dup (const Ethumb *e) |
| Duplicate an thumbnailer. More...
|
|
EAPI Eina_Bool | ethumb_cmp (const Ethumb *e1, const Ethumb *e2) |
| Compare two thumbnailers. More...
|
|
EAPI unsigned int | ethumb_length (const void *key) |
|
EAPI int | ethumb_key_cmp (const void *key1, int key1_length, const void *key2, int key2_length) |
|
EAPI int | ethumb_hash (const void *key, int key_length) |
|
Copyright (C) 2009 by ProFUSION embedded systems.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, see http://www.gnu.org/licenses/.
- Author
- Rafael Antognolli antog.nosp@m.noll.nosp@m.i@pro.nosp@m.fusi.nosp@m.on.mo.nosp@m.bi