diff options
author | Wayne Zou <b36644@freescale.com> | 2013-01-21 13:30:25 +0800 |
---|---|---|
committer | Wayne Zou <b36644@freescale.com> | 2013-01-23 10:55:55 +0800 |
commit | 34baea61b49e7e08a93bbf79fd99306af25426cf (patch) | |
tree | 3420a232cdd7341d66f5774f7e6f76a07c58a07f /include | |
parent | 3f50062374f2300bd7f6568c50936a9f5a115f84 (diff) |
ENGR00240972-1 IPU: Add deinterlace frame rate double flags
Add deinterlace frame rate double flags for ipu header file
Signed-off-by: Wayne Zou <b36644@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ipu.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/ipu.h b/include/linux/ipu.h index f8178f1b0473..ef55d80da4a3 100644 --- a/include/linux/ipu.h +++ b/include/linux/ipu.h @@ -1,5 +1,5 @@ /* - * Copyright 2005-2012 Freescale Semiconductor, Inc. + * Copyright 2005-2013 Freescale Semiconductor, Inc. */ /* @@ -168,6 +168,14 @@ struct ipu_deinterlace { u8 motion; /*see ipu_motion_sel*/ #define IPU_DEINTERLACE_FIELD_TOP 0 #define IPU_DEINTERLACE_FIELD_BOTTOM 1 +#define IPU_DEINTERLACE_FIELD_MASK \ + (IPU_DEINTERLACE_FIELD_TOP | IPU_DEINTERLACE_FIELD_BOTTOM) + /* deinterlace frame rate double flags */ +#define IPU_DEINTERLACE_RATE_EN 0x80 +#define IPU_DEINTERLACE_RATE_FRAME1 0x40 +#define IPU_DEINTERLACE_RATE_MASK \ + (IPU_DEINTERLACE_RATE_EN | IPU_DEINTERLACE_RATE_FRAME1) +#define IPU_DEINTERLACE_MAX_FRAME 2 u8 field_fmt; }; |