|
|
2010-05-07
, 09:18
|
|
Posts: 38 |
Thanked: 2 times |
Joined on Apr 2010
@ Novosibirsk, Russia
|
#12
|
PKGCONFIG += gstreamer-plugins-bad-0.1
Package gstreamer-plugins-bad-0.10 was not found in the pkg-config search path. Perhaps you should add the directory containing `gstreamer-plugins-bad-0.10.pc' to the PKG_CONFIG_PATH environment variable No package 'gstreamer-plugins-bad-0.10' found
|
|
2010-05-07
, 18:41
|
|
Posts: 726 |
Thanked: 345 times |
Joined on Apr 2010
@ Sweden
|
#13
|
| The Following User Says Thank You to Joorin For This Useful Post: | ||
|
|
2010-05-10
, 03:22
|
|
Posts: 38 |
Thanked: 2 times |
Joined on Apr 2010
@ Novosibirsk, Russia
|
#14
|
gst_photography_set_autofocus(GST_PHOTOGRAPHY(camera_src), true);
gst_photography_set_flash_mode(GST_PHOTOGRAPHY (camera_src), GST_PHOTOGRAPHY_FLASH_MODE_ON);
g_object_set(G_OBJECT(camera_src), "driver-name", "omap3cam", NULL);
|
|
2010-05-10
, 22:51
|
|
Posts: 44 |
Thanked: 186 times |
Joined on Apr 2010
@ Worthing, West Sussex, England
|
#15
|
void flash() {
int fd;
int flash_intensity_max;
int flash_time_max;
struct v4l2_queryctrl qctrl;
struct v4l2_control ctrl;
fd = open("/dev/video0", O_RDWR | O_NONBLOCK, 0);
if (fd == -1) {
return;
}
// Get maximum flash intensity
qctrl.id = V4L2_CID_FLASH_INTENSITY;
if (ioctl(fd, VIDIOC_QUERYCTRL, &qctrl) == -1) {
goto error;
}
flash_intensity_max = qctrl.maximum;
// Get the maximum flash duration
qctrl.id = V4L2_CID_FLASH_TIMEOUT;
if (ioctl(fd, VIDIOC_QUERYCTRL, &qctrl) == -1) {
goto error;
}
flash_time_max = qctrl.maximum;
// Set the intensity to the maximum
ctrl.id = V4L2_CID_FLASH_INTENSITY;
ctrl.value = flash_intensity_max;
if (ioctl(fd, VIDIOC_S_CTRL, &ctrl) == -1) {
goto error;
}
// Set the timeout
ctrl.id = V4L2_CID_FLASH_TIMEOUT;
ctrl.value = flash_time_max;
if (ioctl(fd, VIDIOC_S_CTRL, &ctrl) == -1) {
goto error;
}
// Finally fire the flash
ctrl.id = V4L2_CID_FLASH_STROBE;
if (ioctl(fd, VIDIOC_S_CTRL, &ctrl) == -1) {
goto error;
}
error:
close(fd);
}
|
|
2010-05-23
, 16:25
|
|
Posts: 84 |
Thanked: 11 times |
Joined on Mar 2010
@ Tricase, Lecce (ITA)
|
#16
|
|
|
2010-10-03
, 21:25
|
|
Posts: 78 |
Thanked: 12 times |
Joined on Aug 2010
@ the holy land
|
#17
|
Someone can explain how to synchronize libs on MADDE sysroots and on device filesystem? Or maybe the problem is not it?