Home
last modified time | relevance | path

Searched refs:camera (Results 1 – 25 of 117) sorted by relevance

12345

/third_party/gstreamer/gstplugins_bad/gst/camerabin2/
Dgstcamerabin2.c241 static void gst_camera_bin_init (GstCameraBin2 * camera);
475 GstCameraBin2 *camera = GST_CAMERA_BIN2_CAST (user_data); in gst_camera_bin_src_notify_readyforcapture() local
478 g_object_get (camera->src, "ready-for-capture", &ready, NULL); in gst_camera_bin_src_notify_readyforcapture()
482 if (camera->mode == MODE_VIDEO) { in gst_camera_bin_src_notify_readyforcapture()
484 gst_element_set_state (camera->videosink, GST_STATE_NULL); in gst_camera_bin_src_notify_readyforcapture()
485 location = g_strdup_printf (camera->location, camera->capture_index); in gst_camera_bin_src_notify_readyforcapture()
486 GST_DEBUG_OBJECT (camera, "Switching videobin location to %s", location); in gst_camera_bin_src_notify_readyforcapture()
487 g_object_set (camera->videosink, "location", location, NULL); in gst_camera_bin_src_notify_readyforcapture()
489 if (gst_element_set_state (camera->videosink, GST_STATE_PLAYING) == in gst_camera_bin_src_notify_readyforcapture()
493 gst_element_set_state (camera->videosink, GST_STATE_NULL); in gst_camera_bin_src_notify_readyforcapture()
[all …]
Dgstwrappercamerabinsrc.c910 if (camera->flags & GST_CAMERABIN_FLAG_VIEWFINDER_SCALE) { in update_aspect_filter()
918 sink_pad = gst_element_get_static_pad (camera->view_sink, "sink"); in update_aspect_filter()
925 GST_DEBUG_OBJECT (camera, "sink element caps %" GST_PTR_FORMAT, in update_aspect_filter()
937 GST_DEBUG_OBJECT (camera, "sink element accepts max %dx%d", sink_w, in update_aspect_filter()
945 GST_DEBUG_OBJECT (camera, "new caps with %dx%d", in_w, in_h); in update_aspect_filter()
967 GST_DEBUG_OBJECT (camera, "setting %dx%d filter to maintain aspect ratio", in update_aspect_filter()
973 GST_DEBUG_OBJECT (camera, "no scaling"); in update_aspect_filter()
977 GST_DEBUG_OBJECT (camera, "aspect ratio filter caps %" GST_PTR_FORMAT, in update_aspect_filter()
979 g_object_set (G_OBJECT (camera->aspect_filter), "caps", ar_caps, NULL); in update_aspect_filter()
Dgstcamerabin2.h159 void (*start_capture) (GstCameraBin2 * camera);
160 void (*stop_capture) (GstCameraBin2 * camera);
Dcamerabin2-src.txt63 camera source what is the expected format of the preview image.
71 camera source pads. The camera source can simply get_caps on the peer of
/third_party/gstreamer/gstplugins_good/sys/rpicamsrc/
DRaspiCamControl.h169 int raspicamcontrol_cycle_test(MMAL_COMPONENT_T *camera);
171 int raspicamcontrol_set_all_parameters(MMAL_COMPONENT_T *camera, const RASPICAM_CAMERA_PARAMETERS *…
172 int raspicamcontrol_get_all_parameters(MMAL_COMPONENT_T *camera, RASPICAM_CAMERA_PARAMETERS *params…
181 int raspicamcontrol_set_saturation(MMAL_COMPONENT_T *camera, int saturation);
182 int raspicamcontrol_set_sharpness(MMAL_COMPONENT_T *camera, int sharpness);
183 int raspicamcontrol_set_contrast(MMAL_COMPONENT_T *camera, int contrast);
184 int raspicamcontrol_set_brightness(MMAL_COMPONENT_T *camera, int brightness);
185 int raspicamcontrol_set_ISO(MMAL_COMPONENT_T *camera, int ISO);
186 int raspicamcontrol_set_metering_mode(MMAL_COMPONENT_T *camera, MMAL_PARAM_EXPOSUREMETERINGMODE_T m…
187 int raspicamcontrol_set_video_stabilisation(MMAL_COMPONENT_T *camera, int vstabilisation);
[all …]
DRaspiCamControl.c246 int raspicamcontrol_cycle_test(MMAL_COMPONENT_T *camera) in raspicamcontrol_cycle_test() argument
254 vcos_assert(camera);
262 raspicamcontrol_set_sharpness(camera, parameter_option);
265 raspicamcontrol_set_sharpness(camera, 0);
274 raspicamcontrol_set_contrast(camera, parameter_option);
277 raspicamcontrol_set_contrast(camera, 0);
286 raspicamcontrol_set_brightness(camera, parameter_option);
289 raspicamcontrol_set_brightness(camera, 50);
298 raspicamcontrol_set_saturation(camera, parameter_option);
302 raspicamcontrol_set_saturation(camera, 0);
[all …]
DRaspiCapture.c1040 MMAL_COMPONENT_T *camera = NULL; in create_camera_component() local
1045 status = mmal_component_create(MMAL_COMPONENT_DEFAULT_CAMERA, &camera); in create_camera_component()
1056 status = mmal_port_parameter_set(camera->control, &camera_num.hdr); in create_camera_component()
1064 if (!camera->output_num) in create_camera_component()
1071 …status = mmal_port_parameter_set_uint32(camera->control, MMAL_PARAMETER_CAMERA_CUSTOM_SENSOR_CONFI… in create_camera_component()
1085 status = mmal_port_parameter_set(camera->control, &change_event_request.hdr); in create_camera_component()
1093 status = mmal_port_enable(camera->control, camera_control_callback); in create_camera_component()
1101 state->camera_component = camera; in create_camera_component()
1106 if (camera) in create_camera_component()
1107 mmal_component_destroy(camera); in create_camera_component()
[all …]
DRaspiStillYUV.c469 MMAL_COMPONENT_T *camera = 0; in create_camera_component() local
476 status = mmal_component_create(MMAL_COMPONENT_DEFAULT_CAMERA, &camera); in create_camera_component()
484 if (!camera->output_num) in create_camera_component()
490 preview_port = camera->output[MMAL_CAMERA_PREVIEW_PORT]; in create_camera_component()
491 video_port = camera->output[MMAL_CAMERA_VIDEO_PORT]; in create_camera_component()
492 still_port = camera->output[MMAL_CAMERA_CAPTURE_PORT]; in create_camera_component()
495 status = mmal_port_enable(camera->control, camera_control_callback); in create_camera_component()
519 mmal_port_parameter_set(camera->control, &cam_config.hdr); in create_camera_component()
522 raspicamcontrol_set_all_parameters(camera, &state->camera_parameters); in create_camera_component()
598 status = mmal_component_enable(camera); in create_camera_component()
[all …]
DRaspiStill.c648 MMAL_COMPONENT_T *camera = 0; in create_camera_component() local
654 status = mmal_component_create(MMAL_COMPONENT_DEFAULT_CAMERA, &camera); in create_camera_component()
662 if (!camera->output_num) in create_camera_component()
669 preview_port = camera->output[MMAL_CAMERA_PREVIEW_PORT]; in create_camera_component()
670 video_port = camera->output[MMAL_CAMERA_VIDEO_PORT]; in create_camera_component()
671 still_port = camera->output[MMAL_CAMERA_CAPTURE_PORT]; in create_camera_component()
674 status = mmal_port_enable(camera->control, camera_control_callback); in create_camera_component()
705 mmal_port_parameter_set(camera->control, &cam_config.hdr); in create_camera_component()
708 raspicamcontrol_set_all_parameters(camera, &state->camera_parameters); in create_camera_component()
792 status = mmal_component_enable(camera); in create_camera_component()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dcamerabin.c446 static GstElement *camera; variable
463 static GstMessage *wait_for_element_message (GstElement * camera,
531 GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS (GST_BIN (camera), in capture_bus_cb()
547 GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS (GST_BIN (camera), in capture_bus_cb()
580 check_preview_image (GstElement * camera, const gchar * filename, gint index) in check_preview_image() argument
584 if (!preview_sample && camera) { in check_preview_image()
585 GstMessage *msg = wait_for_element_message (camera, in check_preview_image()
649 camera = gst_check_setup_element ("camerabin"); in setup_camerabin_common()
650 fail_unless (camera != NULL, "failed to create camerabin element"); in setup_camerabin_common()
652 bus = gst_pipeline_get_bus (GST_PIPELINE (camera)); in setup_camerabin_common()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/org/freedesktop/gstreamer/androidmedia/
DGstAhcCallback.java34 public static native void gst_ah_camera_on_preview_frame(byte[] data, Camera camera, in gst_ah_camera_on_preview_frame() argument
36 public static native void gst_ah_camera_on_error(int error, Camera camera, in gst_ah_camera_on_error() argument
38 public static native void gst_ah_camera_on_auto_focus(boolean success, Camera camera, in gst_ah_camera_on_auto_focus() argument
47 public void onPreviewFrame(byte[] data, Camera camera) { in onPreviewFrame() argument
48 gst_ah_camera_on_preview_frame(data, camera, mCallback, mUserData); in onPreviewFrame()
52 public void onError(int error, Camera camera) { in onError() argument
53 gst_ah_camera_on_error(error, camera, mCallback, mUserData); in onError()
57 public void onAutoFocus(boolean success, Camera camera) { in onAutoFocus() argument
58 gst_ah_camera_on_auto_focus(success, camera, mCallback, mUserData); in onAutoFocus()
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstahcsrc.c548 self->camera = NULL; in gst_ahc_src_init()
589 if (self->camera) { in gst_ahc_src_set_property()
592 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_set_property()
596 gst_ah_camera_set_parameters (self->camera, params); in gst_ahc_src_set_property()
719 if (self->camera) { in gst_ahc_src_get_property()
722 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_get_property()
731 if (self->camera) { in gst_ahc_src_get_property()
734 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_get_property()
743 if (self->camera) { in gst_ahc_src_get_property()
746 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_get_property()
[all …]
Dgstahcsrc.h62 GstAHCamera *camera; member
/third_party/gstreamer/gstplugins_bad/ext/dc1394/
Dgstdc1394src.c202 src->camera = NULL; in gst_dc1394_src_init()
295 if (src->camera) { in gst_dc1394_src_get_caps()
331 ret = dc1394_capture_dequeue (src->camera, DC1394_CAPTURE_POLICY_WAIT, in gst_dc1394_src_create()
352 ret = dc1394_capture_enqueue (src->camera, frame); in gst_dc1394_src_create()
520 src->camera = dc1394_camera_new_unit (src->dc1394, guid, unit); in gst_dc1394_src_open_cam()
521 if (!src->camera) { in gst_dc1394_src_open_cam()
528 src->camera->guid, src->camera->unit, in gst_dc1394_src_open_cam()
529 src->camera->vendor, src->camera->model); in gst_dc1394_src_open_cam()
532 ret = dc1394_video_set_operation_mode (src->camera, in gst_dc1394_src_open_cam()
541 ret = dc1394_video_set_iso_speed (src->camera, src->iso_speed); in gst_dc1394_src_open_cam()
[all …]
Dgstdc1394src.h48 dc1394camera_t * camera; member
/third_party/ffmpeg/libavdevice/
Dlibdc1394.c39 dc1394camera_t *camera; member
192 dc1394->camera = dc1394_camera_new (dc1394->d, list->ids[0].guid); in dc1394_read_header()
194 if (!dc1394->camera) { in dc1394_read_header()
209 if (dc1394->camera->bmode_capable>0) { in dc1394_read_header()
210 dc1394_video_set_operation_mode(dc1394->camera, DC1394_OPERATION_MODE_1394B); in dc1394_read_header()
217 res=dc1394_video_set_iso_speed(dc1394->camera, i); in dc1394_read_header()
224 if (dc1394_video_set_mode(dc1394->camera, fmt->frame_size_id) != DC1394_SUCCESS) { in dc1394_read_header()
229 if (dc1394_video_set_framerate(dc1394->camera,fps->frame_rate_id) != DC1394_SUCCESS) { in dc1394_read_header()
233 if (dc1394_capture_setup(dc1394->camera, 10, DC1394_CAPTURE_FLAGS_DEFAULT)!=DC1394_SUCCESS) { in dc1394_read_header()
238 if (dc1394_video_set_transmission(dc1394->camera, DC1394_ON) !=DC1394_SUCCESS) { in dc1394_read_header()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/examples/camerabin2/
Dgst-camera2.c45 static GstElement *camera; variable
145 g_signal_emit_by_name (camera, "start-capture", NULL); in on_captureButton_clicked()
151 g_signal_emit_by_name (camera, "stop-capture", NULL); in on_stopCaptureButton_clicked()
158 g_object_set (camera, "mode", 1, NULL); /* Image mode */ in on_imageRButton_toggled()
166 g_object_set (camera, "mode", 2, NULL); /* Video mode */ in on_videoRButton_toggled()
187 gst_element_set_state (camera, GST_STATE_NULL); in on_formatComboBox_changed()
188 g_object_set (camera, "video-profile", profile, NULL); in on_formatComboBox_changed()
191 if (GST_STATE_CHANGE_FAILURE == gst_element_set_state (camera, in on_formatComboBox_changed()
209 g_object_set (camera, "zoom", in on_zoomScale_value_changed()
316 camera = gst_element_factory_make ("camerabin", "camera"); in main()
[all …]
/third_party/skia/gm/
D3d.cpp31 SkM44 camera, perspective, viewport; in make_ctm() local
37 camera = SkM44::LookAt(info.fEye, info.fCOA, info.fUp); in make_ctm()
40 return viewport * perspective * camera * model * inv(viewport); in make_ctm()
/third_party/ffmpeg/libavfilter/
Dvf_lensfun.c91 lfCamera *camera; member
167 lensfun->camera = lf_camera_create(); in init()
171 lf_camera_copy(lensfun->camera, *cameras); in init()
172 av_log(ctx, AV_LOG_INFO, "Using camera %s\n", lensfun->camera->Model); in init()
181 lenses = lf_db_find_lenses(db, lensfun->camera, NULL, lensfun->lens_model, 0); in init()
224 if (lensfun->camera && lensfun->lens) { in config_props()
227 lensfun->camera->CropFactor, in config_props()
511 if (lensfun->camera) in uninit()
512 lf_camera_destroy(lensfun->camera); in uninit()
/third_party/skia/platform_tools/libraries/include/
Darcore_c_api.h1290 const ArCamera *camera,
1310 const ArCamera *camera,
1323 const ArCamera *camera,
1330 const ArCamera *camera,
1345 const ArCamera *camera,
1354 void ArCamera_release(ArCamera *camera);
/third_party/gstreamer/gstplugins_bad/tests/examples/va/
Dmultiple-vpp.c12 static gboolean camera = FALSE; variable
21 {"camera", 'c', 0, G_OPTION_ARG_NONE, &camera,
174 if (camera && (pspec = g_object_class_find_property (g_class, "skin-tone"))) { in config_simple()
202 const gchar *source = camera ? "v4l2src" : "videotestsrc"; in build_pipeline()
/third_party/vk-gl-cts/external/openglcts/docs/specs/
DCTS_EXT_texture_filter_anisotropic.txt66 top vertices set far away from camera and bottom vertices set near
67 camera. Do it for 3 different degrees of anisotropy:
/third_party/curl/tests/data/
Dtest42133 feature-policy: accelerometer 'none'; camera 'none'; geolocation 'none'; gyroscope 'none'; magnetom…
81 "feature-policy":["accelerometer 'none'; camera 'none'; geolocation 'none'; gyroscope 'none'; magne…
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_camera_profile.h731 void SetUniqueCameraModelRestriction (const char *camera) in SetUniqueCameraModelRestriction() argument
733 fUniqueCameraModelRestriction.Set (camera); in SetUniqueCameraModelRestriction()
/third_party/skia/tools/skottie_ios_app/
DBUILD.gn34 "../../resources/skottie/skottie-camera-parent-3.json",

12345