Lines Matching +full:3 +full:base +full:- +full:x

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2011 - 2012 Samsung Electronics Co., Ltd.
6 * Register definition file for Samsung G-Scaler driver
12 /* G-Scaler enable */
18 /* G-Scaler S/W reset */
22 /* G-Scaler IRQ */
29 /* G-Scaler input control */
36 #define GSC_IN_ROT_180 (3 << 16)
39 #define GSC_IN_RGB_TYPE_MASK (3 << 14)
40 #define GSC_IN_RGB_HD_NARROW (3 << 14)
54 #define GSC_IN_YUV420_3P (3 << 8)
60 #define GSC_IN_TILE_MODE (1 << 3)
61 #define GSC_IN_LOCAL_SEL_MASK (3 << 1)
65 /* G-Scaler source image size */
67 #define GSC_SRCIMG_HEIGHT(x) ((x) << 16) argument
68 #define GSC_SRCIMG_WIDTH(x) ((x) << 0) argument
70 /* G-Scaler source image offset */
72 #define GSC_SRCIMG_OFFSET_Y(x) ((x) << 16) argument
73 #define GSC_SRCIMG_OFFSET_X(x) ((x) << 0) argument
75 /* G-Scaler cropped source image size */
77 #define GSC_CROPPED_HEIGHT(x) ((x) << 16) argument
78 #define GSC_CROPPED_WIDTH(x) ((x) << 0) argument
80 /* G-Scaler output control */
83 #define GSC_OUT_GLOBAL_ALPHA(x) ((x) << 24) argument
84 #define GSC_OUT_RGB_TYPE_MASK (3 << 10)
85 #define GSC_OUT_RGB_HD_WIDE (3 << 10)
99 #define GSC_OUT_YUV420_3P (3 << 4)
110 /* G-Scaler scaled destination image size */
112 #define GSC_SCALED_HEIGHT(x) ((x) << 16) argument
113 #define GSC_SCALED_WIDTH(x) ((x) << 0) argument
115 /* G-Scaler pre scale ratio */
117 #define GSC_PRESC_SHFACTOR(x) ((x) << 28) argument
118 #define GSC_PRESC_V_RATIO(x) ((x) << 16) argument
119 #define GSC_PRESC_H_RATIO(x) ((x) << 0) argument
121 /* G-Scaler main scale horizontal ratio */
123 #define GSC_MAIN_H_RATIO_VALUE(x) ((x) << 0) argument
125 /* G-Scaler main scale vertical ratio */
127 #define GSC_MAIN_V_RATIO_VALUE(x) ((x) << 0) argument
129 /* G-Scaler destination image size */
131 #define GSC_DSTIMG_HEIGHT(x) ((x) << 16) argument
132 #define GSC_DSTIMG_WIDTH(x) ((x) << 0) argument
134 /* G-Scaler destination image offset */
136 #define GSC_DSTIMG_OFFSET_Y(x) ((x) << 16) argument
137 #define GSC_DSTIMG_OFFSET_X(x) ((x) << 0) argument
139 /* G-Scaler input y address mask */
141 /* G-Scaler input y base address */
144 /* G-Scaler input cb address mask */
146 /* G-Scaler input cb base address */
149 /* G-Scaler input cr address mask */
151 /* G-Scaler input cr base address */
154 /* G-Scaler output y address mask */
156 /* G-Scaler output y base address */
159 /* G-Scaler output cb address mask */
161 /* G-Scaler output cb base address */
164 /* G-Scaler output cr address mask */
166 /* G-Scaler output cr base address */