Home
last modified time | relevance | path

Searched refs:capture (Results 1 – 25 of 425) sorted by relevance

12345678910>>...17

/external/opencv3/modules/videoio/src/
Dcap_libv4l.cpp353 static void icvCloseCAM_V4L( CvCaptureCAM_V4L* capture );
355 static int icvGrabFrameCAM_V4L( CvCaptureCAM_V4L* capture );
356 static IplImage* icvRetrieveFrameCAM_V4L( CvCaptureCAM_V4L* capture, int );
359 static double icvGetPropertyCAM_V4L( CvCaptureCAM_V4L* capture, int property_id );
360 static int icvSetPropertyCAM_V4L( CvCaptureCAM_V4L* capture, int property_id, double value );
362 static int icvSetVideoSize( CvCaptureCAM_V4L* capture, int w, int h);
419 static int try_init_v4l(CvCaptureCAM_V4L* capture, char *deviceName) in try_init_v4l() argument
433 capture->deviceHandle = v4l1_open(deviceName, O_RDWR); in try_init_v4l()
436 if (capture->deviceHandle == 0) in try_init_v4l()
440 icvCloseCAM_V4L(capture); in try_init_v4l()
[all …]
Dcap_xine.cpp99 static void icvYUY2toBGR( CvCaptureAVI_XINE * capture ) in icvYUY2toBGR() argument
101 uint8_t * v = capture->xine_frame.data; in icvYUY2toBGR()
103 for ( int y = 0; y < capture->yuv_frame->height; y++ ) in icvYUY2toBGR()
105 offset = y * capture->yuv_frame->widthStep; in icvYUY2toBGR()
107 for ( int x = 0; x < capture->yuv_frame->width; x++, offset += 3 ) in icvYUY2toBGR()
109 capture->yuv_frame->imageData[ offset + 1 ] = v[ 3 ]; in icvYUY2toBGR()
110 capture->yuv_frame->imageData[ offset + 2 ] = v[ 1 ]; in icvYUY2toBGR()
113 capture->yuv_frame->imageData[ offset ] = v[ 2 ]; in icvYUY2toBGR()
118 capture->yuv_frame->imageData[ offset ] = v[ 0 ]; in icvYUY2toBGR()
124 cvCvtColor( capture->yuv_frame, capture->bgr_frame, CV_YCrCb2BGR ); in icvYUY2toBGR()
[all …]
Dcap_v4l.cpp351 static void icvCloseCAM_V4L( CvCaptureCAM_V4L* capture );
353 static int icvGrabFrameCAM_V4L( CvCaptureCAM_V4L* capture );
354 static IplImage* icvRetrieveFrameCAM_V4L( CvCaptureCAM_V4L* capture, int );
356 static double icvGetPropertyCAM_V4L( CvCaptureCAM_V4L* capture, int property_id );
357 static int icvSetPropertyCAM_V4L( CvCaptureCAM_V4L* capture, int property_id, double value );
359 static int icvSetVideoSize( CvCaptureCAM_V4L* capture, int w, int h);
419 static int try_palette_v4l2(CvCaptureCAM_V4L* capture, unsigned long colorspace) in try_palette_v4l2() argument
421 CLEAR (capture->form); in try_palette_v4l2()
423 capture->form.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in try_palette_v4l2()
424 capture->form.fmt.pix.pixelformat = colorspace; in try_palette_v4l2()
[all …]
Dcap_qt.cpp90 static int icvOpenFile_QT_Movie (CvCapture_QT_Movie * capture, const char * fil…
91 static int icvClose_QT_Movie (CvCapture_QT_Movie * capture);
92 static double icvGetProperty_QT_Movie (CvCapture_QT_Movie * capture, int property_id);
93 static int icvSetProperty_QT_Movie (CvCapture_QT_Movie * capture, int property_id, …
94 static int icvGrabFrame_QT_Movie (CvCapture_QT_Movie * capture);
95 static const void * icvRetrieveFrame_QT_Movie (CvCapture_QT_Movie * capture, int);
107 CvCapture_QT_Movie * capture = 0; in icvCaptureFromFile_QT() local
111 capture = (CvCapture_QT_Movie *) cvAlloc (sizeof (*capture)); in icvCaptureFromFile_QT()
112 memset (capture, 0, sizeof(*capture)); in icvCaptureFromFile_QT()
114 if (!icvOpenFile_QT_Movie (capture, filename)) in icvCaptureFromFile_QT()
[all …]
Dcap.cpp71 static inline double icvGetCaptureProperty( const CvCapture* capture, int id ) in icvGetCaptureProperty() argument
73 return capture ? capture->getProperty(id) : 0; in icvGetCaptureProperty()
85 CV_IMPL IplImage* cvQueryFrame( CvCapture* capture ) in cvQueryFrame() argument
87 if(!capture) in cvQueryFrame()
89 if(!capture->grabFrame()) in cvQueryFrame()
91 return capture->retrieveFrame(0); in cvQueryFrame()
95 CV_IMPL int cvGrabFrame( CvCapture* capture ) in cvGrabFrame() argument
97 return capture ? capture->grabFrame() : 0; in cvGrabFrame()
100 CV_IMPL IplImage* cvRetrieveFrame( CvCapture* capture, int idx ) in cvRetrieveFrame() argument
102 return capture ? capture->retrieveFrame(idx) : 0; in cvRetrieveFrame()
[all …]
Dcap_dc1394.cpp154 static void icvCloseCAM_DC1394( CvCaptureCAM_DC1394* capture );
156 static int icvGrabFrameCAM_DC1394( CvCaptureCAM_DC1394* capture );
157 static IplImage* icvRetrieveFrameCAM_DC1394( CvCaptureCAM_DC1394* capture, int );
159 static double icvGetPropertyCAM_DC1394( CvCaptureCAM_DC1394* capture, int property_id );
160 static int icvSetPropertyCAM_DC1394( CvCaptureCAM_DC1394* capture, int property_id, double value…
166 static unsigned int icvGetBestFrameRate( CvCaptureCAM_DC1394 * capture, int format, int mode);
167 static int icvResizeFrame(CvCaptureCAM_DC1394 * capture);
348 static void icvCloseCAM_DC1394( CvCaptureCAM_DC1394* capture ){ in icvCloseCAM_DC1394() argument
349 dc1394_stop_iso_transmission(capture->handle, capture->camera->node); in icvCloseCAM_DC1394()
350 dc1394_dma_unlisten (capture->handle, capture->camera); in icvCloseCAM_DC1394()
[all …]
/external/clang/test/OpenMP/
Datomic_messages.cpp336 T capture() { in capture() function
339 #pragma omp atomic capture in capture()
343 #pragma omp atomic capture in capture()
347 #pragma omp atomic capture in capture()
351 #pragma omp atomic capture in capture()
355 #pragma omp atomic capture in capture()
359 #pragma omp atomic capture in capture()
363 #pragma omp atomic capture in capture()
367 #pragma omp atomic capture in capture()
371 #pragma omp atomic capture in capture()
[all …]
Datomic_messages.c199 #pragma omp atomic capture in captureint()
203 #pragma omp atomic capture in captureint()
207 #pragma omp atomic capture in captureint()
211 #pragma omp atomic capture in captureint()
215 #pragma omp atomic capture in captureint()
219 #pragma omp atomic capture in captureint()
223 #pragma omp atomic capture in captureint()
227 #pragma omp atomic capture in captureint()
231 #pragma omp atomic capture in captureint()
235 #pragma omp atomic capture in captureint()
[all …]
Datomic_capture_codegen.cpp83 #pragma omp atomic capture in main()
88 #pragma omp atomic capture in main()
92 #pragma omp atomic capture in main()
97 #pragma omp atomic capture in main()
116 #pragma omp atomic capture in main()
132 #pragma omp atomic capture in main()
137 #pragma omp atomic capture in main()
153 #pragma omp atomic capture in main()
169 #pragma omp atomic capture in main()
185 #pragma omp atomic capture in main()
[all …]
Datomic_ast_print.cpp21 #pragma omp atomic capture in foo()
23 #pragma omp atomic capture in foo()
36 #pragma omp atomic seq_cst capture in foo()
38 #pragma omp atomic capture seq_cst in foo()
121 #pragma omp atomic capture in main()
123 #pragma omp atomic capture in main()
136 #pragma omp atomic seq_cst capture in main()
138 #pragma omp atomic capture seq_cst in main()
/external/opencv3/samples/cpp/
Dintelperc_capture.cpp107 static void printStreamProperties(VideoCapture &capture) in printStreamProperties() argument
109 …size_t profilesCount = (size_t)capture.get(CAP_INTELPERC_IMAGE_GENERATOR | CAP_PROP_INTELPERC_PROF… in printStreamProperties()
111 …cout << " Brightness = " << capture.get(CAP_INTELPERC_IMAGE_GENERATOR | CAP_PROP_BRIGHTNESS) << e… in printStreamProperties()
112 … cout << " Contrast = " << capture.get(CAP_INTELPERC_IMAGE_GENERATOR | CAP_PROP_CONTRAST) << endl; in printStreamProperties()
113 …cout << " Saturation = " << capture.get(CAP_INTELPERC_IMAGE_GENERATOR | CAP_PROP_SATURATION) << e… in printStreamProperties()
114 cout << " Hue = " << capture.get(CAP_INTELPERC_IMAGE_GENERATOR | CAP_PROP_HUE) << endl; in printStreamProperties()
115 cout << " Gamma = " << capture.get(CAP_INTELPERC_IMAGE_GENERATOR | CAP_PROP_GAMMA) << endl; in printStreamProperties()
116 …cout << " Sharpness = " << capture.get(CAP_INTELPERC_IMAGE_GENERATOR | CAP_PROP_SHARPNESS) << end… in printStreamProperties()
117 cout << " Gain = " << capture.get(CAP_INTELPERC_IMAGE_GENERATOR | CAP_PROP_GAIN) << endl; in printStreamProperties()
118 …cout << " Backligh = " << capture.get(CAP_INTELPERC_IMAGE_GENERATOR | CAP_PROP_BACKLIGHT) << endl; in printStreamProperties()
[all …]
Dopenni_capture.cpp80 static float getMaxDisparity( VideoCapture& capture ) in getMaxDisparity() argument
83 float b = (float)capture.get( CAP_OPENNI_DEPTH_GENERATOR_BASELINE ); // mm in getMaxDisparity()
84 float F = (float)capture.get( CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH ); // pixels in getMaxDisparity()
191 VideoCapture capture; in main() local
193 capture.open( filename ); in main()
196 capture.open( CAP_OPENNI2 ); in main()
197 if( !capture.isOpened() ) in main()
198 capture.open( CAP_OPENNI ); in main()
203 if( !capture.isOpened() ) in main()
215 … modeRes = capture.set( CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE, CAP_OPENNI_VGA_30HZ ); in main()
[all …]
Dstarter_video.cpp39 int process(VideoCapture& capture) { in process() argument
48 capture >> frame; in process()
80 …VideoCapture capture(arg); //try to open string, this will attempt to open it as a video file or i… in main() local
81 …if (!capture.isOpened()) //if this fails, try to open as a video camera, through the use of an int… in main()
82 capture.open(atoi(arg.c_str())); in main()
83 if (!capture.isOpened()) { in main()
88 return process(capture); in main()
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeResolverTest.java44 Type t1 = new TypeCapture<T>() {}.capture(); in testWhere_indirectMapping()
58 Type t = new TypeCapture<List<T>>() {}.capture(); in testWhere_parameterizedSelfMapping()
64 Type t = new TypeCapture<T[]>() {}.capture(); in testWhere_genericArraySelfMapping()
90 Type t1 = new TypeCapture<T1>() {}.capture(); in testWhere_recursiveMapping()
91 Type t2 = new TypeCapture<T2>() {}.capture(); in testWhere_recursiveMapping()
96 Type t = new TypeCapture<T>() {}.capture(); in testWhere_genericArrayMapping()
98 .where(new TypeCapture<T[]>() {}.capture(), String[].class) in testWhere_genericArrayMapping()
103 Type t = new TypeCapture<T>() {}.capture(); in testWhere_primitiveArrayMapping()
105 new TypeResolver().where(new TypeCapture<T[]>() {}.capture(), int[].class).resolveType(t)); in testWhere_primitiveArrayMapping()
109 Type t = new TypeCapture<T>() {}.capture(); in testWhere_parameterizedTypeMapping()
[all …]
/external/opencv/otherlibs/highgui/
Dcvcap.cpp64 CV_IMPL IplImage* cvQueryFrame( CvCapture* capture ) in cvQueryFrame() argument
66 return capture ? capture->queryFrame() : 0; in cvQueryFrame()
70 CV_IMPL int cvGrabFrame( CvCapture* capture ) in cvGrabFrame() argument
72 return capture ? capture->grabFrame() : 0; in cvGrabFrame()
75 CV_IMPL IplImage* cvRetrieveFrame( CvCapture* capture ) in cvRetrieveFrame() argument
77 return capture ? capture->retrieveFrame() : 0; in cvRetrieveFrame()
80 CV_IMPL double cvGetCaptureProperty( CvCapture* capture, int id ) in cvGetCaptureProperty() argument
82 return capture ? capture->getProperty(id) : 0; in cvGetCaptureProperty()
85 CV_IMPL int cvSetCaptureProperty( CvCapture* capture, int id, double value ) in cvSetCaptureProperty() argument
87 return capture ? capture->setProperty(id, value) : 0; in cvSetCaptureProperty()
/external/v8/test/mjsunit/
Dregexp-global.js31 str = str.replace(/(\w)?X/g, function(match, capture) { argument
32 assertTrue(match.indexOf(capture) >= 0 ||
33 capture === undefined);
34 return capture ? capture.toLowerCase() : "-";
40 str = str.replace(/\b/g, function(match, capture) { argument
47 str = str.replace(/(?=(\w+))\b/g, function(match, capture) { argument
48 return capture.length;
83 function(match, capture) { argument
84 assertTrue(match.indexOf(capture) >= 0 ||
85 capture === undefined);
[all …]
/external/opencv3/modules/videoio/misc/java/test/
DVideoCaptureTest.java13 private VideoCapture capture; field in VideoCaptureTest
21 capture = null; in setUp()
28 capture = new VideoCapture(); in testGrab()
29 isSucceed = capture.grab(); in testGrab()
34 capture = new VideoCapture(); in testIsOpened()
35 assertFalse(capture.isOpened()); in testIsOpened()
39 capture = new VideoCapture(); in testVideoCapture()
40 assertNotNull(capture); in testVideoCapture()
41 assertFalse(capture.isOpened()); in testVideoCapture()
/external/regex-re2/re2/
Dnfa.cc62 const char** capture; member
90 const char* p, const char** capture);
101 string FormatCapture(const char** capture);
152 delete[] t->capture; in ~NFA()
168 t->capture = new const char*[ncapture_]; in AllocThread()
187 const char* p, const char** capture) { in AddToThreadq() argument
204 capture[a.j] = a.cap_j; in AddToThreadq()
211 fprintf(stderr, " [%d%s]\n", id, FormatCapture(capture).c_str()); in AddToThreadq()
236 CopyCapture(t->capture, capture); in AddToThreadq()
255 stk[nstk++] = AddState(0, capture[j], j); in AddToThreadq()
[all …]
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt026actions.g12 self.capture('init;')
15 self.capture('after;')
20 self.capture('catch;')
24 self.capture('finally;')
32 self.capture('action;')
33 …self.capture('\%r \%r \%r \%r \%r \%r \%r \%r;' \% ($text, $type, $line, $pos, $index, $channel, $…
35 self.capture(self.foobar)
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/actions/
DRemoveListenerAction.java27 private boolean capture; field in RemoveListenerAction
30 if (capture) in act()
46 return capture; in getCapture()
49 public void setCapture (boolean capture) { in setCapture() argument
50 this.capture = capture; in setCapture()
DAddListenerAction.java27 private boolean capture; field in AddListenerAction
30 if (capture) in act()
46 return capture; in getCapture()
49 public void setCapture (boolean capture) { in setCapture() argument
50 this.capture = capture; in setCapture()
/external/webrtc/webrtc/base/
Dsigslottester.h.pump20 // They are meant to be used in tests. Tests must provide "capture" pointers
29 // const std::string&, but capture-type is std::string. Capture type
31 // std::string capture;
32 // SigslotTester1<const std::string&, std::string> slot(&foo, &capture);
35 // EXPECT_EQ("hello", capture);
46 // - C1-C5 is the type of the variable to capture argument i. These should be
58 $for j , [[C$j* capture$j]])
60 $for j , [[capture$j[[]]_(capture$j)]] {
70 *capture$j[[]]_ = arg$j;]]
76 C$j* capture$j[[]]_;]]
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/
DEvent.java39 private boolean capture; // true means event occurred during the capture phase field in Event
70 capture = false; in reset()
120 public void setCapture (boolean capture) { in setCapture() argument
121 this.capture = capture; in setCapture()
127 return capture; in isCapture()
/external/autotest/server/cros/chaos_lib/
Dchaos_capture_analyzer.py31 capture = pyshark.FileCapture(self._file_name,
36 capture.load_packets(timeout=self.LOAD_TIMEOUT)
37 return capture
51 capture = pyshark.FileCapture(self._file_name,
54 capture.load_packets(timeout=self.LOAD_TIMEOUT)
55 if not capture:
57 return capture[0]
398 def __init__(self, ap_macs, dut_mac, filtered_packets, capture, logger): argument
403 self._capture = capture
613 def _validate_ap_presence(self, capture, bssids, ssid): argument
[all …]
/external/webrtc/webrtc/modules/video_capture/windows/
Dvideo_capture_factory_windows.cc31 RefCountImpl<VideoCaptureDS>* capture = new RefCountImpl<VideoCaptureDS>(id); in Create() local
32 if (capture->Init(id, device_id) != 0) { in Create()
33 delete capture; in Create()
34 capture = NULL; in Create()
37 return capture; in Create()

12345678910>>...17