Lines Matching defs:width
80 static void get_resolution(struct go7007 *go, int *width, int *height)
84 *width = 720;
88 *width = 720;
93 *width = go->board_info->sensor_width;
179 int width, height;
187 width = sensor_width;
190 if (fmt->fmt.pix.width > sensor_width)
191 width = sensor_width;
192 else if (fmt->fmt.pix.width < 144)
193 width = 144;
195 width = fmt->fmt.pix.width & ~0x0f;
204 width = fmt->fmt.pix.width;
206 if (width <= sensor_width / 4) {
207 width = sensor_width / 4;
209 } else if (width <= sensor_width / 2) {
210 width = sensor_width / 2;
213 width = sensor_width;
216 width &= ~0xf;
225 fmt->fmt.pix.width = width;
239 go->width = width;
250 format.format.width = fmt ? fmt->fmt.pix.width : width;
257 if (width <= sensor_width / 4) {
261 } else if (width <= sensor_width / 2) {
313 fmt->fmt.pix.width = go->width;
512 int width, height;
520 get_resolution(go, &width, &height);
522 fsize->discrete.width = (width >> fsize->index) & ~0xf;
531 int width, height;
541 get_resolution(go, &width, &height);
543 if (fival->width == ((width >> i) & ~0xf) &&
819 for (y = 0; y < go->height / 16; y++, mt += go->width / 16)
820 memcpy(mt, ctrl->p_new.p_u8 + y * (720 / 16), go->width / 16);