summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/saa7134/saa7134.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-04-17 04:55:43 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-13 13:27:25 -0300
commit01c3a846c5f8fc9839426a894c6a4fb3da871a13 (patch)
tree026b731800463e64ffcc495883c8b40f4c895e62 /drivers/media/pci/saa7134/saa7134.h
parent51aefd738b6b143010928c3b18939719fe5a8264 (diff)
downloadlinux-01c3a846c5f8fc9839426a894c6a4fb3da871a13.tar.gz
linux-01c3a846c5f8fc9839426a894c6a4fb3da871a13.tar.bz2
linux-01c3a846c5f8fc9839426a894c6a4fb3da871a13.zip
[media] saa7134: store VBI hlen/vlen globally
Don't calculate this for every buffer, store it globally instead. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/pci/saa7134/saa7134.h')
-rw-r--r--drivers/media/pci/saa7134/saa7134.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/pci/saa7134/saa7134.h b/drivers/media/pci/saa7134/saa7134.h
index 419f5f80c248..907568e0e254 100644
--- a/drivers/media/pci/saa7134/saa7134.h
+++ b/drivers/media/pci/saa7134/saa7134.h
@@ -600,6 +600,7 @@ struct saa7134_dev {
unsigned int vbi_fieldcount;
struct saa7134_format *fmt;
unsigned int width, height;
+ unsigned int vbi_hlen, vbi_vlen;
struct pm_qos_request qos_request;
/* various v4l controls */