summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/em28xx/em28xx-reg.h
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@linuxtv.org>2008-12-29 21:34:37 -0500
committerDevin Heitmueller <dheitmueller@linuxtv.org>2008-12-29 21:34:37 -0500
commit87fe61efe9940db733854a3b4f80401de8eec3fb (patch)
treebdf3fcdc5fddd4d655b32dd42813765cd879eeba /linux/drivers/media/video/em28xx/em28xx-reg.h
parent8811c386c4bb95b9d444b7df58fb45fa10736e97 (diff)
downloadmediapointer-dvb-s2-87fe61efe9940db733854a3b4f80401de8eec3fb.tar.gz
mediapointer-dvb-s2-87fe61efe9940db733854a3b4f80401de8eec3fb.tar.bz2
em28xx: expand output formats available
From: Devin Heitmueller <dheitmueller@linuxtv.org> Add additional output formats, which will be useful for the Pinnacle PCTV Ultimate 880e integration with the saa7136. Thanks to Ray Lu from Empia for providing the em2860/em2880 datasheet. Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video/em28xx/em28xx-reg.h')
-rw-r--r--linux/drivers/media/video/em28xx/em28xx-reg.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-reg.h b/linux/drivers/media/video/em28xx/em28xx-reg.h
index 2e8767583..65dcb91bd 100644
--- a/linux/drivers/media/video/em28xx/em28xx-reg.h
+++ b/linux/drivers/media/video/em28xx/em28xx-reg.h
@@ -97,6 +97,19 @@
#define EM28XX_R26_COMPR 0x26
#define EM28XX_R27_OUTFMT 0x27
+/* em28xx Output Format Register (0x27) */
+#define EM28XX_OUTFMT_RGB_8_RGRG 0x00
+#define EM28XX_OUTFMT_RGB_8_GRGR 0x01
+#define EM28XX_OUTFMT_RGB_8_GBGB 0x02
+#define EM28XX_OUTFMT_RGB_8_BGBG 0x03
+#define EM28XX_OUTFMT_RGB_16_656 0x04
+#define EM28XX_OUTFMT_RGB_8_BAYER 0x08 /* Pattern in Reg 0x10[1-0] */
+#define EM28XX_OUTFMT_YUV211 0x10
+#define EM28XX_OUTFMT_YUV422_Y0UY1V 0x14
+#define EM28XX_OUTFMT_YUV422_Y1UY0V 0x15
+#define EM28XX_OUTFMT_YUV411 0x18
+
+
#define EM28XX_R28_XMIN 0x28
#define EM28XX_R29_XMAX 0x29
#define EM28XX_R2A_YMIN 0x2a