Mercurial > mplayer.hg
changeset 25756:ab70f293a168
Simplify
author | reimar |
---|---|
date | Fri, 18 Jan 2008 18:37:18 +0000 |
parents | 4ece7bfc77b7 |
children | 70ab55da2689 |
files | libvo/gl_common.c |
diffstat | 1 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/gl_common.c Fri Jan 18 18:34:10 2008 +0000 +++ b/libvo/gl_common.c Fri Jan 18 18:37:18 2008 +0000 @@ -1024,8 +1024,7 @@ else snprintf(*prog_pos, *remain, bicub_filt_template_2D, in_tex, (float)texw, (float)texh, - texs[0], (float)1.0 / texw, (float)1.0 / texw, - texs[0], (float)1.0 / texh, (float)1.0 / texh, + texs[0], ptw, ptw, texs[0], pth, pth, in_tex, in_tex, in_tex, in_tex, in_tex, in_tex, out_comp); break; case YUV_SCALER_BICUB_X: @@ -1036,7 +1035,7 @@ else snprintf(*prog_pos, *remain, bicub_x_filt_template_2D, in_tex, (float)texw, (float)texh, - texs[0], (float)1.0 / texw, (float)1.0 / texw, + texs[0], ptw, ptw, in_tex, in_tex, in_tex, in_tex, out_comp); break; case YUV_SCALER_BICUB_NOTEX: @@ -1046,9 +1045,7 @@ in_tex, in_tex, in_tex, in_tex, in_tex, in_tex, out_comp); else snprintf(*prog_pos, *remain, bicub_notex_filt_template_2D, - in_tex, (float)texw, (float)texh, - (float)1.0 / texw, (float)1.0 / texw, - (float)1.0 / texh, (float)1.0 / texh, + in_tex, (float)texw, (float)texh, ptw, ptw, pth, pth, in_tex, in_tex, in_tex, in_tex, in_tex, in_tex, out_comp); break; case YUV_SCALER_UNSHARP: