Home
last modified time | relevance | path

Searched refs:capture (Results 1 - 25 of 97) sorted by relevance

1234

/third_party/ffmpeg/libavcodec/
H A Dv4l2_m2m_dec.c40 V4L2Context *const capture = &s->capture; in v4l2_try_start() local
54 if (capture->streamon) in v4l2_try_start()
57 /* 2. get the capture format */ in v4l2_try_start()
58 capture->format.type = capture->type; in v4l2_try_start()
59 ret = ioctl(s->fd, VIDIOC_G_FMT, &capture->format); in v4l2_try_start()
66 avctx->pix_fmt = ff_v4l2_format_v4l2_to_avfmt(capture->format.fmt.pix_mp.pixelformat, AV_CODEC_ID_RAWVIDEO); in v4l2_try_start()
67 capture->av_pix_fmt = avctx->pix_fmt; in v4l2_try_start()
81 capture in v4l2_try_start()
139 V4L2Context *const capture = &s->capture; v4l2_receive_frame() local
183 V4L2Context *capture, *output; v4l2_decode_init() local
[all...]
H A Dv4l2_m2m.c68 s->capture.done = s->output.done = 0; in v4l2_prepare_contexts()
69 s->capture.name = "capture"; in v4l2_prepare_contexts()
85 s->capture.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in v4l2_prepare_contexts()
91 s->capture.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in v4l2_prepare_contexts()
118 ret = ff_v4l2_context_get_format(&s->capture, 1); in v4l2_probe_driver()
120 av_log(log_ctx, AV_LOG_DEBUG, "v4l2 capture format not supported\n"); in v4l2_probe_driver()
150 cfmt = s->capture.format; in v4l2_configure_contexts()
151 av_log(log_ctx, AV_LOG_INFO, "requesting formats: output=%s capture=%s\n", in v4l2_configure_contexts()
165 ret = ff_v4l2_context_set_format(&s->capture); in v4l2_configure_contexts()
[all...]
H A Dv4l2_m2m_enc.c290 V4L2Context *const capture = &s->capture; in v4l2_receive_packet() local
322 if (!capture->streamon) { in v4l2_receive_packet()
323 ret = ff_v4l2_context_set_status(capture, VIDIOC_STREAMON); in v4l2_receive_packet()
325 av_log(avctx, AV_LOG_ERROR, "VIDIOC_STREAMON failed on capture context\n"); in v4l2_receive_packet()
331 return ff_v4l2_context_dequeue_packet(capture, avpkt); in v4l2_receive_packet()
336 V4L2Context *capture, *output; in v4l2_encode_init() local
347 capture = &s->capture; in v4l2_encode_init()
350 /* common settings output/capture */ in v4l2_encode_init()
[all...]
H A Dv4l2_context.c48 container_of(ctx, V4L2m2mContext, capture); in ctx_to_m2mctx()
133 /* update the sizes to handle the reconfiguration of the capture stream at runtime */ in v4l2_save_to_context()
179 struct v4l2_format cap_fmt = s->capture.format; in v4l2_handle_event()
199 av_log(logger(ctx), AV_LOG_ERROR, "%s VIDIOC_G_FMT\n", s->capture.name); in v4l2_handle_event()
203 if (v4l2_resolution_changed(&s->capture, &cap_fmt)) { in v4l2_handle_event()
204 s->capture.height = v4l2_get_height(&cap_fmt); in v4l2_handle_event()
205 s->capture.width = v4l2_get_width(&cap_fmt); in v4l2_handle_event()
206 s->capture.sample_aspect_ratio = v4l2_get_sar(&s->capture); in v4l2_handle_event()
215 ret = ff_set_dimensions(s->avctx, s->capture in v4l2_handle_event()
[all...]
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_PARM.c99 dprintf("\t%s:%u: { .type=%i, parm.capture = { " in do_get_param()
108 parm.parm.capture.capability, in do_get_param()
109 parm.parm.capture.capturemode, in do_get_param()
110 parm.parm.capture.timeperframe.numerator, in do_get_param()
111 parm.parm.capture.timeperframe.denominator, in do_get_param()
112 parm.parm.capture.extendedmode, in do_get_param()
113 parm.parm.capture.readbuffers, in do_get_param()
114 parm.parm.capture.reserved[0], in do_get_param()
115 parm.parm.capture.reserved[1], in do_get_param()
116 parm.parm.capture in do_get_param()
[all...]
/third_party/alsa-utils/bat/
H A Dbat.c173 /* loopback test where we play sine wave and capture the same sine wave */
193 /* start capture */ in test_loopback()
194 err = pthread_create(&capture_id, NULL, (void *) bat->capture.fct, bat); in test_loopback()
196 fprintf(bat->err, _("Cannot create capture thread: %d\n"), err); in test_loopback()
220 /* now stop and wait for capture to finish */ in test_loopback()
224 fprintf(bat->err, _("Cannot join capture thread: %d\n"), err); in test_loopback()
229 /* check if capture thread is canceled or not */ in test_loopback()
235 /* check capture status */ in test_loopback()
237 fprintf(bat->err, _("Exit capture thread fail: %d\n"), in test_loopback()
279 /* single ended capture onl
[all...]
H A Dtinyalsa.c392 remove(bat->capture.file); in capture_sample()
393 fp = fopen(bat->capture.file, "wb"); in capture_sample()
397 bat->capture.file, err); in capture_sample()
437 remove(bat->capture.file); in latencytest_process_input()
438 fp = fopen(bat->capture.file, "wb"); in latencytest_process_input()
442 bat->capture.file, err); in latencytest_process_input()
489 fprintf(bat->log, _("Entering capture thread (tinyalsa).\n")); in record_tinyalsa()
494 err = get_tiny_device(bat, bat->capture.device, in record_tinyalsa()
495 &bat->capture.card_tiny, in record_tinyalsa()
496 &bat->capture in record_tinyalsa()
[all...]
H A Dalsa.c557 remove(bat->capture.file); in read_from_pcm_loop()
558 fp = fopen(bat->capture.file, "wb"); in read_from_pcm_loop()
562 bat->capture.file, err); in read_from_pcm_loop()
616 remove(bat->capture.file); in latencytest_process_input()
617 fp = fopen(bat->capture.file, "wb"); in latencytest_process_input()
621 bat->capture.file, err); in latencytest_process_input()
638 /* Xrun error, terminate the capture thread*/ in latencytest_process_input()
682 fprintf(bat->log, _("Entering capture thread (ALSA).\n")); in record_alsa()
687 err = snd_pcm_open(&sndpcm.handle, bat->capture.device, in record_alsa()
690 fprintf(bat->err, _("Cannot open PCM capture devic in record_alsa()
[all...]
/third_party/node/lib/internal/
H A Devent_target.js412 // using the tuple [handler,capture], and even if we don't actually make
413 // use of capture or bubbling, in order to be spec compliant we have to
418 constructor(eventTarget, eventType, previous, listener, once, capture, passive,
429 if (capture)
470 get capture() {
495 same(listener, capture) {
497 return myListener === listener && this.capture === capture;
527 [kNewListener](size, type, listener, once, capture, passive, weak) {
545 [kRemoveListener](size, type, listener, capture) {}
[all...]
H A Dabort_controller.js238 [kNewListener](size, type, listener, once, capture, passive, weak) {
239 super[kNewListener](size, type, listener, once, capture, passive, weak);
254 [kRemoveListener](size, type, listener, capture) {
255 super[kRemoveListener](size, type, listener, capture);
/third_party/node/test/fixtures/wpt/dom/events/
H A DAddEventListenerOptions-passive.any.js124 testOptionEquivalence({capture:true}, {capture:false, passive:false}, false);
125 testOptionEquivalence({capture:true}, {passive:true}, false);
131 testOptionEquivalence({capture: true, passive: false}, {capture: true, passive: true}, true);
/third_party/node/deps/v8/testing/
H A Dgmock-support.h41 explicit CaptureEqMatcher(Capture<T>* capture) : capture_(capture) {} in CaptureEqMatcher() argument
76 // CaptureEq(capture) captures the value passed in during matching as long as it
79 inline Matcher<T> CaptureEq(Capture<T>* capture) { in CaptureEq() argument
80 return MakeMatcher(new internal::CaptureEqMatcher<T>(capture)); in CaptureEq()
/third_party/rust/crates/log/src/kv/
H A Dvalue.rs43 ($capture:expr) => {
44 $crate::kv::Value::from_debug(&$capture)
51 ($capture:expr) => {
52 $crate::kv::Value::from_display(&$capture)
60 ($capture:expr) => {
61 $crate::kv::Value::from_dyn_error(&$capture)
69 ($capture:expr) => {
70 $crate::kv::Value::from_serde(&$capture)
78 ($capture:expr) => {
79 $crate::kv::Value::from_sval(&$capture)
[all...]
/third_party/python/Lib/test/
H A Dtest_functools.py43 def capture(*args, **kw): function
44 """capture all positional and keyword arguments"""
66 p = self.partial(capture, 1, 2, a=10, b=20)
74 p = self.partial(capture, 1, 2, a=10, b=20)
76 self.assertEqual(p.func, capture)
104 p = self.partial(capture, **d)
112 p = self.partial(capture)
115 p = self.partial(capture, 1, 2)
122 p = self.partial(capture)
126 p = self.partial(capture,
[all...]
/third_party/typescript/tests/baselines/reference/
H A DemitArrowFunctionWhenUsingArguments19.js4 var _arguments = 10; // No capture in 'g', so no conflict.
6 var capture = () => arguments; // Should trigger an '_arguments' capture into function 'h'
19 var _arguments = 10; // No capture in 'g', so no conflict.
21 var capture = function () { return arguments; }; // Should trigger an '_arguments' capture into function 'h'
H A DemitArrowFunctionWhenUsingArguments19_ES6.js4 var _arguments = 10; // No capture in 'g', so no conflict.
6 var capture = () => arguments; // Should trigger an '_arguments' capture into function 'h'
19 var _arguments = 10; // No capture in 'g', so no conflict.
21 var capture = () => arguments; // Should trigger an '_arguments' capture into function 'h'
/third_party/alsa-lib/src/topology/
H A Dpcm.c161 /* get playback & capture stream caps */ in tplg_build_dai()
623 void *playback, *capture; in tplg_parse_streams() local
636 capture = &pcm->capture; in tplg_parse_streams()
643 capture = &dai->capture; in tplg_parse_streams()
654 } else if (strcmp(id, "capture") == 0) { in tplg_parse_streams()
656 unaligned_put32(capture, 1); in tplg_parse_streams()
692 "capture" in tplg_save_streams()
706 streams[1] = elem->pcm->capture; in tplg_save_streams()
[all...]
/third_party/mbedtls/scripts/
H A Dlcov.sh48 lcov --capture --initial --directory $library_dir -o "$COVTMP/files.info"
49 lcov --rc lcov_branch_coverage=1 --capture --directory $library_dir -o "$COVTMP/tests.info"
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
H A DFrameCapture.h7 // ANGLE Frame capture interface.
16 #include "libANGLE/capture/frame_capture_utils_autogen.h"
319 // Helper to track resource changes during the capture
642 // If you don't know which frame you want to start capturing at, use the capture trigger.
643 // Initialize it to the number of frames you want to capture, and then clear the value to 0 when
644 // you reach the content you want to capture. Currently only available on Android.
682 ParamCapture capture(paramName, paramType); in addValueParam()
683 InitParamValue(paramType, paramValue, &capture.value); in addValueParam()
684 mParamCaptures.emplace_back(std::move(capture)); in addValueParam()
695 ParamCapture capture(paramNam in setValueParamAtIndex()
[all...]
/third_party/alsa-lib/include/sound/uapi/
H A Dasoc.h525 __le32 capture; /* supports capture mode */ member
529 struct snd_soc_tplg_stream_caps caps[2]; /* playback and capture for DAI */
577 __le32 capture; /* supports capture mode */ member
578 struct snd_soc_tplg_stream_caps caps[2]; /* playback and capture for DAI */
625 __le32 capture; /* supports capture mode */ member
629 struct snd_soc_tplg_stream_caps_v4 caps[2]; /* playback and capture for DAI */
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_debug_flush.c186 boolean capture, in debug_flush_alert()
189 if (capture) in debug_flush_alert()
205 if (capture) in debug_flush_alert()
183 debug_flush_alert(const char *s, const char *op, unsigned start, unsigned depth, boolean continued, boolean capture, const struct debug_stack_frame *frame) debug_flush_alert() argument
/third_party/alsa-lib/include/
H A Dtopology.h547 * PCM runtime configurations can be defined for playback and capture stream
560 * config."capture" { # capture config
561 * format "S16_LE" # capture format
562 * rate "48000" # capture sample rate
563 * channels "2" # capture channels
564 * tdm_slot "0xf" # capture TDM slot
575 * supported playback and capture streams, names and flags for front end
599 * pcm."capture" {
600 * capabilities "capabilities2" # capabilities for capture
1009 unsigned int capture; /*!< supports capture mode */ global() member
1054 unsigned int capture; /*!< supports capture mode */ global() member
[all...]
/third_party/node/deps/v8/src/inspector/
H A Dv8-stack-trace-impl.h59 static std::unique_ptr<V8StackTraceImpl> capture(V8Debugger*,
117 static std::shared_ptr<AsyncStackTrace> capture(V8Debugger*,
/third_party/pulseaudio/speex/libspeexdsp/
H A Decho_diagnostic.m57 printf ('There may be (not sure) excessive clock drift. Is the capture and playback done on the same soundcard?\n');
59 printf ('Your clock is drifting! No way the AEC will be able to do anything with that. Most likely, you''re doing capture and playback from two different cards.\n');
/third_party/node/deps/v8/src/regexp/
H A Dregexp-ast.h564 RegExpBackReference(RegExpCapture* capture, RegExpFlags flags) in RegExpBackReference() argument
565 : capture_(capture), flags_(flags) {} in RegExpBackReference()
574 RegExpCapture* capture() const { return capture_; } in capture() function in v8::internal::final
575 void set_capture(RegExpCapture* capture) { capture_ = capture; } in set_capture() argument

Completed in 17 milliseconds

1234