Lines Matching refs:n
89 struct v4l2_clip *clips, unsigned int n) in btcx_screen_clips() argument
93 clips[n].c.left = 0; in btcx_screen_clips()
94 clips[n].c.top = 0; in btcx_screen_clips()
95 clips[n].c.width = -win->left; in btcx_screen_clips()
96 clips[n].c.height = win->height; in btcx_screen_clips()
97 n++; in btcx_screen_clips()
101 clips[n].c.left = swidth - win->left; in btcx_screen_clips()
102 clips[n].c.top = 0; in btcx_screen_clips()
103 clips[n].c.width = win->width - clips[n].c.left; in btcx_screen_clips()
104 clips[n].c.height = win->height; in btcx_screen_clips()
105 n++; in btcx_screen_clips()
109 clips[n].c.left = 0; in btcx_screen_clips()
110 clips[n].c.top = 0; in btcx_screen_clips()
111 clips[n].c.width = win->width; in btcx_screen_clips()
112 clips[n].c.height = -win->top; in btcx_screen_clips()
113 n++; in btcx_screen_clips()
117 clips[n].c.left = 0; in btcx_screen_clips()
118 clips[n].c.top = sheight - win->top; in btcx_screen_clips()
119 clips[n].c.width = win->width; in btcx_screen_clips()
120 clips[n].c.height = win->height - clips[n].c.top; in btcx_screen_clips()
121 n++; in btcx_screen_clips()
123 return n; in btcx_screen_clips()
127 btcx_align(struct v4l2_rect *win, struct v4l2_clip *clips, unsigned int n, int mask) in btcx_align() argument
145 for (i = 0; i < n; i++) { in btcx_align()
164 int i,j,n; in btcx_sort_clips() local
169 for (n = 0, j = 0; j <= i; j++) { in btcx_sort_clips()
174 n++; in btcx_sort_clips()
177 if (0 == n) in btcx_sort_clips()