summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSammy He <r62914@freescale.com>2010-02-01 17:42:45 +0800
committerAlejandro Gonzalez <alex.gonzalez@digi.com>2010-05-24 12:16:01 +0200
commit51288a753923dee25ab7c6df9d695478c4e4d4e1 (patch)
treef489bda358edbc03a165a1ee72c14472ecfd46ac /include
parent0a018150ce613cabf3e9eff16bc0681476601408 (diff)
ENGR00120615-1 Add IPU_CSC_UPDATE case for ipu ioctl
Add IPU_CSC_UPDATE case for ipu ioctl. Signed-off-by: Sammy He <r62914@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ipu.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/ipu.h b/include/linux/ipu.h
index f2e6c3536d1c..fdb50eb89842 100644
--- a/include/linux/ipu.h
+++ b/include/linux/ipu.h
@@ -1209,6 +1209,11 @@ typedef struct _ipu_mem_info {
int size;
} ipu_mem_info;
+typedef struct _ipu_csc_update {
+ ipu_channel_t channel;
+ int **param;
+} ipu_csc_update;
+
/* IOCTL commands */
#define IPU_INIT_CHANNEL _IOW('I',0x1,ipu_channel_parm)
@@ -1250,7 +1255,8 @@ typedef struct _ipu_mem_info {
#define IPU_FREE_MEM _IOW('I', 0x25, ipu_mem_info)
#define IPU_IS_CHAN_BUSY _IOW('I', 0x26, ipu_channel_t)
#define IPU_CALC_STRIPES_SIZE _IOWR('I', 0x27, ipu_stripe_parm)
-#define IPU_UPDATE_BUF_OFFSET _IOW('I', 0x28, ipu_buf_offset_parm)
+#define IPU_UPDATE_BUF_OFFSET _IOW('I', 0x28, ipu_buf_offset_parm)
+#define IPU_CSC_UPDATE _IOW('I', 0x29, ipu_csc_update)
int ipu_calc_stripes_sizes(const unsigned int input_frame_width,
unsigned int output_frame_width,