summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common/saa7146_hlp.c
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2004-03-15 19:38:14 +0000
committerMichael Hunold <devnull@localhost>2004-03-15 19:38:14 +0000
commita0f1c742a8475391645b478e4f6703f38da49ba1 (patch)
treee81ab9faa94a1c51f2c3c839c00e97f86ade059a /linux/drivers/media/common/saa7146_hlp.c
parentee51ff2a1adca181e9614e0828b2e406e6bdcaa8 (diff)
downloadmediapointer-dvb-s2-a0f1c742a8475391645b478e4f6703f38da49ba1.tar.gz
mediapointer-dvb-s2-a0f1c742a8475391645b478e4f6703f38da49ba1.tar.bz2
- remove superfluous h_calc and v_field entries from internal saa7146_vv
structure, fix all drivers defining this
Diffstat (limited to 'linux/drivers/media/common/saa7146_hlp.c')
-rw-r--r--linux/drivers/media/common/saa7146_hlp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/common/saa7146_hlp.c b/linux/drivers/media/common/saa7146_hlp.c
index cb846432e..3722cea5b 100644
--- a/linux/drivers/media/common/saa7146_hlp.c
+++ b/linux/drivers/media/common/saa7146_hlp.c
@@ -536,13 +536,13 @@ static void saa7146_set_window(struct saa7146_dev *dev, int width, int height, e
/* set vertical scale */
hps_v_scale = 0; /* all bits get set by the function-call */
hps_v_gain = 0; /* fixme: saa7146_read(dev, HPS_V_GAIN);*/
- calculate_v_scale_registers(dev, field, vv->standard->v_calc, height, &hps_v_scale, &hps_v_gain);
+ calculate_v_scale_registers(dev, field, vv->standard->v_field*2, height, &hps_v_scale, &hps_v_gain);
/* set horizontal scale */
hps_ctrl = 0;
hps_h_prescale = 0; /* all bits get set in the function */
hps_h_scale = 0;
- calculate_h_scale_registers(dev, vv->standard->h_calc, width, vv->hflip, &hps_ctrl, &hps_v_gain, &hps_h_prescale, &hps_h_scale);
+ calculate_h_scale_registers(dev, vv->standard->h_pixels, width, vv->hflip, &hps_ctrl, &hps_v_gain, &hps_h_prescale, &hps_h_scale);
/* set hyo and hxo */
calculate_hxo_and_hyo(vv, &hps_h_scale, &hps_ctrl);