diff options
author | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
commit | 07274513e984f0b5544586c74508ccd16e7dcafa (patch) | |
tree | b32ff2a9136fbc1a4a6a0ed1e4d79cde0f5f16d9 /libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_frag.shd | |
parent | Added Irrlicht 1.8, but without all the Windows binaries. (diff) | |
download | SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.zip SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.gz SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.bz2 SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.xz |
Remove EFL, since it's been released now.
Diffstat (limited to 'libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_frag.shd')
-rw-r--r-- | libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_frag.shd | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_frag.shd b/libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_frag.shd deleted file mode 100644 index 6910933..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_frag.shd +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex, texuv; | ||
9 | varying vec2 tex_c, tex_cuv; | ||
10 | void main() | ||
11 | { | ||
12 | float y,u,v,vmu,r,g,b; | ||
13 | y=texture2D(tex,tex_c).g; | ||
14 | u=texture2D(texuv,tex_cuv).g; | ||
15 | v=texture2D(texuv,tex_cuv).a; | ||
16 | |||
17 | u=u-0.5; | ||
18 | v=v-0.5; | ||
19 | vmu=v*0.813+u*0.391; | ||
20 | u=u*2.018; | ||
21 | v=v*1.596; | ||
22 | y=(y-0.062)*1.164; | ||
23 | |||
24 | r=y+v; | ||
25 | g=y-vmu; | ||
26 | b=y+u; | ||
27 | |||
28 | gl_FragColor=vec4(r,g,b,1.0); | ||
29 | } | ||
30 | |||
31 | |||