Searched refs:vpic (Results 1 - 8 of 8) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/router/rcamdmips/
H A Drcamd.h58 struct video_picture vpic; member in struct:CaptureData
H A Drcamd.c455 CAMERA_IOCTL( VIDIOCGPICT, vpic );
463 camera->vpic.palette = VIDEO_PALETTE_RGB24;
467 camera->vpic.palette = VIDEO_PALETTE_YUV420P;
469 //camera->vpic.palette = VIDEO_PALETTE_RGB24;
470 //camera->vpic.palette = VIDEO_PALETTE_GREY;
471 //camera->vpic.brightness = camera->desired.brightness;
486 CAMERA_IOCTL( VIDIOCSPICT, vpic );
495 CAMERA_IOCTL( VIDIOCGPICT, vpic );
547 camera->vmap[camera->grab_frame].format = camera->vpic.palette;
775 camera->vmap[0].format = camera->vpic
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/
H A Dkonicawc.c199 DEBUG(1, "new brightness: %d", uvd->vpic.brightness);
200 uvd->vpic.brightness = (uvd->vpic.brightness > MAX_BRIGHTNESS) ? MAX_BRIGHTNESS : uvd->vpic.brightness;
201 if(cam->brightness != uvd->vpic.brightness / 11) {
202 cam->brightness = uvd->vpic.brightness / 11;
208 DEBUG(1, "new contrast: %d", uvd->vpic.contrast);
209 uvd->vpic.contrast = (uvd->vpic.contrast > MAX_CONTRAST) ? MAX_CONTRAST : uvd->vpic
[all...]
H A Dultracam.c501 memset(&uvd->vpic, 0, sizeof(uvd->vpic));
504 uvd->vpic.colour = init_color << 8;
505 uvd->vpic.hue = init_hue << 8;
506 uvd->vpic.brightness = init_brightness << 8;
507 uvd->vpic.contrast = init_contrast << 8;
508 uvd->vpic.whiteness = 105 << 8; /* This one isn't used */
509 uvd->vpic.depth = 24;
510 uvd->vpic.palette = VIDEO_PALETTE_RGB24;
H A Dusbvideo.c434 sprintf(tmp, "%8x", uvd->vpic.colour);
438 sprintf(tmp, "%8x", uvd->vpic.hue);
442 sprintf(tmp, "%8x", uvd->vpic.brightness >> 8);
446 sprintf(tmp, "%8x", uvd->vpic.contrast >> 12);
450 sprintf(tmp, "%8d", uvd->vpic.whiteness >> 8);
1395 if (copy_to_user(arg, &uvd->vpic, sizeof(uvd->vpic)))
1409 uvd->vpic.brightness = tmp.brightness;
1410 uvd->vpic.hue = tmp.hue;
1411 uvd->vpic
[all...]
H A Dibmcam.c409 const int hue_corr = (uvd->vpic.hue - 0x8000) >> 10; /* -32..+31 */
420 color_corr = (uvd->vpic.colour - 0x8000) >> 8; /* -128..+127 = -ccm..+(ccm-1)*/
689 color_corr = (uvd->vpic.colour) >> 8; /* 0..+255 */
828 const int hue_corr = (uvd->vpic.hue - 0x8000) >> 10; /* -32..+31 */
834 color_corr = (uvd->vpic.colour - 0x8000) >> 8; /* -128..+127 = -ccm..+(ccm-1)*/
1358 unsigned char a_contrast = uvd->vpic.contrast >> 12;
1552 info("%s: Set brightness to %hu.", proc, uvd->vpic.brightness);
1558 bv[0] = bv[1] = bv[2] = uvd->vpic.brightness >> 10;
1570 i = uvd->vpic.brightness >> 12; /* 0 .. 15 */
1582 0x0C + (uvd->vpic
[all...]
H A Dusbvideo.h243 struct video_picture vpic, vpic_old; /* Picture settings */ member in struct:uvd
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/media/video/
H A Dw9966.c965 struct video_picture vpic = { local
974 if(copy_to_user(arg, &vpic, sizeof(vpic)) != 0)
981 struct video_picture vpic; local
982 if(copy_from_user(&vpic, arg, sizeof(vpic)) != 0)
985 if (vpic.depth != 16 || vpic.palette != VIDEO_PALETTE_YUV422)
988 cam->brightness = vpic.brightness >> 8;
989 cam->hue = (vpic
[all...]

Completed in 111 milliseconds