Skip to content

Commit

Permalink
Merge branch 'master' of github.com:MythTV/mythtv
Browse files Browse the repository at this point in the history
  • Loading branch information
jyavenard committed Dec 20, 2010
2 parents 6b3b3f0 + 5351777 commit e2dfcf0
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions mythtv/libs/libmythtv/openglvideo.cpp
Expand Up @@ -588,6 +588,8 @@ bool OpenGLVideo::AddDeinterlacer(const QString &deinterlacer)

if (deinterlacer == "openglbobdeint" ||
deinterlacer == "openglonefield" ||
deinterlacer == "opengllinearblend" ||
deinterlacer == "opengldoubleratelinearblend" ||
deinterlacer == "opengldoubleratefieldorder")
{
ref_size = 0;
Expand Down Expand Up @@ -1165,19 +1167,19 @@ static const QString deint_end_bot =
"CMP res, prev, other, current;\n";

static const QString linearblend[2] = {
"TEX current, tex, texture[1], %1;\n"
"TEX current, tex, texture[0], %1;\n"
"ADD other, tex, {0.0, %3, 0.0, 0.0};\n"
"TEX other, other, texture[1], %1;\n"
"TEX other, other, texture[0], %1;\n"
"SUB mov, tex, {0.0, %3, 0.0, 0.0};\n"
"TEX mov, mov, texture[1], %1;\n"
"TEX mov, mov, texture[0], %1;\n"
"LRP other, 0.5, other, mov;\n"
+ field_calc + deint_end_top,

"TEX current, tex, texture[1], %1;\n"
"TEX current, tex, texture[0], %1;\n"
"SUB other, tex, {0.0, %3, 0.0, 0.0};\n"
"TEX other, other, texture[1], %1;\n"
"TEX other, other, texture[0], %1;\n"
"ADD mov, tex, {0.0, %3, 0.0, 0.0};\n"
"TEX mov, mov, texture[1], %1;\n"
"TEX mov, mov, texture[0], %1;\n"
"LRP other, 0.5, other, mov;\n"
+ field_calc + deint_end_bot
};
Expand Down

0 comments on commit e2dfcf0

Please sign in to comment.