summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_image_load.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-11-24 11:48:40 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-11-24 11:48:40 +0900
commit38dd405712f5306fdb4b30c3fc7b55ea39d03016 (patch)
treea5345819f43acadb8543bfc5728e412e1ab8a9d1 /src/lib/evas/common/evas_image_load.c
parent16b9859f17a4040eb37a4b5c2e559360eb7379ad (diff)
evas - update extension/module loader list to match generic loaders list
Diffstat (limited to 'src/lib/evas/common/evas_image_load.c')
-rw-r--r--src/lib/evas/common/evas_image_load.c54
1 files changed, 42 insertions, 12 deletions
diff --git a/src/lib/evas/common/evas_image_load.c b/src/lib/evas/common/evas_image_load.c
index 174f1b0e48..c9b90af7e5 100644
--- a/src/lib/evas/common/evas_image_load.c
+++ b/src/lib/evas/common/evas_image_load.c
@@ -26,56 +26,82 @@ struct ext_loader_s
26static const struct ext_loader_s loaders[] = 26static const struct ext_loader_s loaders[] =
27{ /* map extensions to loaders to use for good first-guess tries */ 27{ /* map extensions to loaders to use for good first-guess tries */
28 MATCHING(".png", "png"), 28 MATCHING(".png", "png"),
29
29 MATCHING(".jpg", "jpeg"), 30 MATCHING(".jpg", "jpeg"),
30 MATCHING(".jpeg", "jpeg"), 31 MATCHING(".jpeg", "jpeg"),
31 MATCHING(".jfif", "jpeg"), 32 MATCHING(".jfif", "jpeg"),
33
32 MATCHING(".j2k", "jp2k"), 34 MATCHING(".j2k", "jp2k"),
33 MATCHING(".jp2", "jp2k"), 35 MATCHING(".jp2", "jp2k"),
34 MATCHING(".jpx", "jp2k"), 36 MATCHING(".jpx", "jp2k"),
35 MATCHING(".jpf", "jp2k"), 37 MATCHING(".jpf", "jp2k"),
38
36 MATCHING(".eet", "eet"), 39 MATCHING(".eet", "eet"),
37 MATCHING(".edj", "eet"), 40 MATCHING(".edj", "eet"),
38 MATCHING(".eap", "eet"), 41 MATCHING(".eap", "eet"),
42
39 MATCHING(".xpm", "xpm"), 43 MATCHING(".xpm", "xpm"),
44
40 MATCHING(".tiff", "tiff"), 45 MATCHING(".tiff", "tiff"),
41 MATCHING(".tif", "tiff"), 46 MATCHING(".tif", "tiff"),
42 MATCHING(".svg", "svg"), 47
43 MATCHING(".svgz", "svg"),
44 MATCHING(".svg.gz", "svg"),
45 MATCHING(".gif", "gif"), 48 MATCHING(".gif", "gif"),
49
46 MATCHING(".pbm", "pmaps"), 50 MATCHING(".pbm", "pmaps"),
47 MATCHING(".pgm", "pmaps"), 51 MATCHING(".pgm", "pmaps"),
48 MATCHING(".ppm", "pmaps"), 52 MATCHING(".ppm", "pmaps"),
49 MATCHING(".pnm", "pmaps"), 53 MATCHING(".pnm", "pmaps"),
54
50 MATCHING(".bmp", "bmp"), 55 MATCHING(".bmp", "bmp"),
56
51 MATCHING(".tga", "tga"), 57 MATCHING(".tga", "tga"),
58
52 MATCHING(".wbmp", "wbmp"), 59 MATCHING(".wbmp", "wbmp"),
60
53 MATCHING(".webp", "webp"), 61 MATCHING(".webp", "webp"),
62
54 MATCHING(".ico", "ico"), 63 MATCHING(".ico", "ico"),
55 MATCHING(".cur", "ico"), 64 MATCHING(".cur", "ico"),
65
56 MATCHING(".psd", "psd"), 66 MATCHING(".psd", "psd"),
57 MATCHING(".pdf", "generic"), 67 /* xcf - gefenric */
58 MATCHING(".ps", "generic"),
59 MATCHING(".xcf", "generic"), 68 MATCHING(".xcf", "generic"),
60 MATCHING(".xcf.gz", "generic"), 69 MATCHING(".xcf.gz", "generic"),
70 /* docs */
71 MATCHING(".doc", "generic"),
72 MATCHING(".docx", "generic"),
73 MATCHING(".odp", "generic"),
74 MATCHING(".ods", "generic"),
75 MATCHING(".odt", "generic"),
76 MATCHING(".pdf", "generic"),
77 MATCHING(".ps", "generic"),
78 MATCHING(".ppt", "generic"),
79 MATCHING(".pptx", "generic"),
80 MATCHING(".rtf", "generic"),
81 MATCHING(".xls", "generic"),
82 MATCHING(".xlsx", "generic"),
83 /* svg - generic */
84 MATCHING(".svg", "generic"),
85 MATCHING(".svgz", "generic"),
86 MATCHING(".svg.gz", "generic"),
61 /* RAW */ 87 /* RAW */
62 MATCHING(".arw", "generic"), 88 MATCHING(".arw", "generic"),
63 MATCHING(".cr2", "generic"), 89 MATCHING(".cr2", "generic"),
64 MATCHING(".crw", "generic"), 90 MATCHING(".crw", "generic"),
65 MATCHING(".dcr", "generic"), 91 MATCHING(".dcr", "generic"),
66 MATCHING(".dng", "generic"), 92 MATCHING(".dng", "generic"),
93 MATCHING(".erf", "generic"),
67 MATCHING(".k25", "generic"), 94 MATCHING(".k25", "generic"),
68 MATCHING(".kdc", "generic"), 95 MATCHING(".kdc", "generic"),
69 MATCHING(".erf", "generic"),
70 MATCHING(".mrw", "generic"), 96 MATCHING(".mrw", "generic"),
71 MATCHING(".nef", "generic"), 97 MATCHING(".nef", "generic"),
72 MATCHING(".nrf", "generic"), 98 MATCHING(".nrf", "generic"),
73 MATCHING(".nrw", "generic"), 99 MATCHING(".nrw", "generic"),
74 MATCHING(".orf", "generic"), 100 MATCHING(".orf", "generic"),
75 MATCHING(".raw", "generic"),
76 MATCHING(".rw2", "generic"),
77 MATCHING(".pef", "generic"), 101 MATCHING(".pef", "generic"),
78 MATCHING(".raf", "generic"), 102 MATCHING(".raf", "generic"),
103 MATCHING(".raw", "generic"),
104 MATCHING(".rw2", "generic"),
79 MATCHING(".sr2", "generic"), 105 MATCHING(".sr2", "generic"),
80 MATCHING(".srf", "generic"), 106 MATCHING(".srf", "generic"),
81 MATCHING(".x3f", "generic"), 107 MATCHING(".x3f", "generic"),
@@ -92,12 +118,13 @@ static const struct ext_loader_s loaders[] =
92 MATCHING(".bdm", "generic"), 118 MATCHING(".bdm", "generic"),
93 MATCHING(".bdmv", "generic"), 119 MATCHING(".bdmv", "generic"),
94 MATCHING(".clpi", "generic"), 120 MATCHING(".clpi", "generic"),
95 MATCHING(".clp", "generic"), 121 MATCHING(".cpi", "generic"),
122 MATCHING(".dv", "generic"),
96 MATCHING(".fla", "generic"), 123 MATCHING(".fla", "generic"),
97 MATCHING(".flv", "generic"), 124 MATCHING(".flv", "generic"),
98 MATCHING(".m1v", "generic"), 125 MATCHING(".m1v", "generic"),
99 MATCHING(".m2v", "generic"),
100 MATCHING(".m2t", "generic"), 126 MATCHING(".m2t", "generic"),
127 MATCHING(".m2v", "generic"),
101 MATCHING(".m4v", "generic"), 128 MATCHING(".m4v", "generic"),
102 MATCHING(".mkv", "generic"), 129 MATCHING(".mkv", "generic"),
103 MATCHING(".mov", "generic"), 130 MATCHING(".mov", "generic"),
@@ -116,12 +143,14 @@ static const struct ext_loader_s loaders[] =
116 MATCHING(".ogg", "generic"), 143 MATCHING(".ogg", "generic"),
117 MATCHING(".ogm", "generic"), 144 MATCHING(".ogm", "generic"),
118 MATCHING(".ogv", "generic"), 145 MATCHING(".ogv", "generic"),
146 MATCHING(".qt", "generic"),
119 MATCHING(".rm", "generic"), 147 MATCHING(".rm", "generic"),
120 MATCHING(".rmj", "generic"), 148 MATCHING(".rmj", "generic"),
121 MATCHING(".rmm", "generic"), 149 MATCHING(".rmm", "generic"),
122 MATCHING(".rms", "generic"), 150 MATCHING(".rms", "generic"),
123 MATCHING(".rmx", "generic"),
124 MATCHING(".rmvb", "generic"), 151 MATCHING(".rmvb", "generic"),
152 MATCHING(".rmx", "generic"),
153 MATCHING(".rv", "generic"),
125 MATCHING(".swf", "generic"), 154 MATCHING(".swf", "generic"),
126 MATCHING(".ts", "generic"), 155 MATCHING(".ts", "generic"),
127 MATCHING(".weba", "generic"), 156 MATCHING(".weba", "generic"),
@@ -131,7 +160,8 @@ static const struct ext_loader_s loaders[] =
131 160
132static const char *loaders_name[] = 161static const char *loaders_name[] =
133{ /* in order of most likely needed */ 162{ /* in order of most likely needed */
134 "png", "jpeg", "eet", "xpm", "tiff", "gif", "svg", "webp", "pmaps", "bmp", "tga", "wbmp", "ico", "psd", "generic" 163 "png", "jpeg", "eet", "xpm", "tiff", "gif", "svg", "webp", "pmaps",
164 "bmp", "tga", "wbmp", "ico", "psd", "jp2k", "generic"
135}; 165};
136 166
137struct evas_image_foreach_loader_data 167struct evas_image_foreach_loader_data