From: Filippo Argiolas Date: Thu, 14 Aug 2008 10:39:01 +0000 (+0200) Subject: [168/906] cleanup curves header X-Git-Tag: 1.19.3~507^2~12364 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c780339c922bf21051d542da89bf88fa37696272;p=platform%2Fupstream%2Fgstreamer.git [168/906] cleanup curves header --- diff --git a/gst/gl/effects/gstgleffectscurves.h b/gst/gl/effects/gstgleffectscurves.h index 23eec71..bb06c0c 100644 --- a/gst/gl/effects/gstgleffectscurves.h +++ b/gst/gl/effects/gstgleffectscurves.h @@ -31,8 +31,7 @@ struct _GstGLEffectsCurve { typedef struct _GstGLEffectsCurve GstGLEffectsCurve; -/* GIMP RGB C-Source image dump (xpro.c) */ - +/* CURVE for the heat signature effect */ static const GstGLEffectsCurve xpro_curve = { 256, 1, 3, "\0\0\37\0\0\37\0\1\40\0\2!\0\2\"\0\3\"\1\4%\1\4%\1\5%\1\5'\1\7'\1\7(\1\7" @@ -70,8 +69,7 @@ static const GstGLEffectsCurve xpro_curve = { "\377\367\377\377\367\377\377\370", }; -/* CURVE for the cross processing effect */ -static const GstGLEffectsCurve cross_curve = { +static const GstGLEffectsCurve blue_curve = { 256, 1, 3, "\0\0\1\0\1\1\0\1\2\0\1\2\0\1\2\0\1\2\0\1\3\0\2\3\0\2\4\0\2\4\0\2\5\0\2\6" "\0\3\6\0\3\6\0\3\7\0\3\10\0\4\10\0\4\11\0\4\12\0\4\12\1\4\13\1\5\14\1\5\15" @@ -174,48 +172,4 @@ static const GstGLEffectsCurve sepia_curve = { "\376\376\377\376\376\377\377\377\377\377\377", }; -#if 0 - -static const struct { - guint width; - guint height; - guint bytes_per_pixel; /* 3:RGB, 4:RGBA */ - guint8 pixel_data[256 * 1 * 3 + 1]; -} cross_curve = { - 256, 1, 3, - "\0\0\31\0\0\31\0\1\32\0\2\33\0\2\34\0\3\34\0\3\36\0\3\36\0\4\37\0\5\37\0" - "\6\37\0\6\40\0\7!\0\7\"\0\10\"\0\11#\0\11$\0\12%\0\13%\0\14'\0\14(\0\15(" - "\0\15)\1\17)\1\17*\1\20+\1\20+\1\21,\1\22,\1\22.\1\22.\1\23/\1\24""0\2\26" - """0\2\27""1\2\30""2\2\30""3\2\30""4\2\30""5\2\32""5\2\32""7\2\33""7\3\34" - """8\3\35""8\3\37""9\3\37:\3\40;\4\40;\4!<\4#=\5#>\5$?\5&?\6&@\6'A\7(B\7)" - "C\7)D\7*D\7+F\10,G\10/H\11/H\12""0I\12""1K\13""2K\13""4K\15""4M\15""6N\15" - """7O\15""8P\16""9P\16;Q\17U\21@U\22AV\22BY\23DY\25FZ\25HZ\26H" - "[\30J]\30N^\30N_\31O_\32P`\33Sb\35Tc\36Ud\36Xd\37Ye\40[g!]h#^i$bi%bj'dl(" - "em)gm*jn,jo-mq/nr1rr2rs4tt6uu7ww9yw;zx=}y?~{@\200{B\201{D\203}G\204~I\206" - "\177K\207\177N\212\200P\213\201S\214\202U\216\203X\217\203Z\221\204]\222" - "\205_\224\206b\225\207d\227\207g\230\211i\232\212l\233\213n\234\214q\236" - "\214s\237\215w\241\216y\242\217{\244\220~\245\220\200\246\221\202\250\222" - "\204\251\223\206\253\223\211\254\224\214\255\225\216\257\226\220\260\227" - "\222\261\227\222\262\227\226\263\231\230\265\232\232\266\233\234\267\233" - "\236\271\234\240\272\235\242\273\236\245\275\237\247\276\237\251\277\240" - "\253\300\241\255\300\242\255\303\243\260\304\243\261\305\244\261\307\245" - "\265\310\246\267\311\246\271\311\247\273\313\250\275\314\251\276\315\252" - "\300\316\252\302\317\253\304\317\254\306\321\255\307\323\256\311\324\256" - "\313\325\257\314\326\260\314\327\261\317\330\261\321\331\261\323\331\262" - "\324\332\262\326\334\264\326\335\264\332\335\265\333\336\266\335\336\266" - "\336\340\270\337\341\271\341\341\271\341\342\272\344\343\273\344\344\273" - "\350\345\274\350\345\275\351\346\276\354\347\277\355\347\300\355\350\300" - "\360\351\301\361\352\301\363\353\303\364\353\304\365\354\304\367\354\305" - "\370\354\305\370\355\307\371\355\310\373\356\310\374\356\311\375\357\312" - "\376\360\313\377\360\314\377\360\314\377\361\314\377\362\315\377\362\315" - "\377\363\316\377\363\317\377\364\320\377\364\321\377\365\322\377\365\322" - "\377\365\322\377\366\324\377\366\324\377\367\326\377\367\326\377\367\327" - "\377\367\330\377\370\331\377\371\332\377\371\332\377\371\332\377\371\334" - "\377\371\334\377\371\335\377\372\335\377\372\336\377\373\337\377\373\340" - "\377\373\340\377\374\341\377\374\342\377\374\343\377\374\344\377\374\344" - "\377\375\344\377\375\345\377\376\347\377\376\350\377\376\350\377\377\351", -}; - -#endif - #endif