diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-02-19 20:18:23 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2009-02-19 20:18:23 +0100 |
commit | 2bc35f692273756abf6b34a349e43a47bd9b8e14 (patch) | |
tree | 0739ef474c173a92b7a942daf758c9b9f6dac763 /linux/drivers/media/video/zoran/zoran_device.h | |
parent | 5035f8b26e88356d9ec7ed34b895edcb45c89cfb (diff) | |
download | mediapointer-dvb-s2-2bc35f692273756abf6b34a349e43a47bd9b8e14.tar.gz mediapointer-dvb-s2-2bc35f692273756abf6b34a349e43a47bd9b8e14.tar.bz2 |
zoran: convert to v4l2_device/v4l2_subdev.
From: Hans Verkuil <hverkuil@xs4all.nl>
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/zoran/zoran_device.h')
-rw-r--r-- | linux/drivers/media/video/zoran/zoran_device.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/linux/drivers/media/video/zoran/zoran_device.h b/linux/drivers/media/video/zoran/zoran_device.h index d4e0b9b5a..5f2dd0d41 100644 --- a/linux/drivers/media/video/zoran/zoran_device.h +++ b/linux/drivers/media/video/zoran/zoran_device.h @@ -93,11 +93,12 @@ extern int jpg_bufsize; extern int pass_through; /* i2c */ -extern int decoder_command(struct zoran *zr, - int cmd, - void *data); -extern int encoder_command(struct zoran *zr, - int cmd, - void *data); +#define decoder_call(zr, o, f, args...) \ + v4l2_subdev_call(zr->decoder, o, f, ##args) +#define encoder_call(zr, o, f, args...) \ + v4l2_subdev_call(zr->encoder, o, f, ##args) + +int decoder_s_std(struct zoran *zr, v4l2_std_id std); +int decoder_s_routing(struct zoran *zr, struct v4l2_routing *route); #endif /* __ZORAN_DEVICE_H__ */ |