Home
last modified time | relevance | path

Searched refs:fifo (Results 1 – 25 of 239) sorted by relevance

12345678910

/third_party/ffmpeg/libavutil/tests/
Dfifo.c26 AVFifoBuffer *fifo = av_fifo_alloc(13 * sizeof(int)); in main() local
30 for (i = 0; av_fifo_space(fifo) >= sizeof(int); i++) in main()
31 av_fifo_generic_write(fifo, &i, sizeof(int), NULL); in main()
34 n = av_fifo_size(fifo) / sizeof(int); in main()
36 int *v = (int *)av_fifo_peek2(fifo, i * sizeof(int)); in main()
42 n = av_fifo_size(fifo) / sizeof(int); in main()
44 av_fifo_generic_peek_at(fifo, &j, i * sizeof(int), sizeof(j), NULL); in main()
51 n = av_fifo_size(fifo); in main()
58 (void) av_fifo_generic_peek(fifo, p, n, NULL); in main()
68 for (i = 0; av_fifo_size(fifo) >= sizeof(int); i++) { in main()
[all …]
/third_party/ffmpeg/libavformat/
Dfifo.c117 FifoContext *fifo = avf->priv_data; in fifo_thread_write_header() local
118 AVFormatContext *avf2 = fifo->avf; in fifo_thread_write_header()
122 ret = av_dict_copy(&format_options, fifo->format_options, 0); in fifo_thread_write_header()
156 FifoContext *fifo = avf->priv_data; in fifo_thread_flush_output() local
157 AVFormatContext *avf2 = fifo->avf; in fifo_thread_flush_output()
165 FifoContext *fifo = avf->priv_data; in fifo_thread_write_packet() local
166 AVFormatContext *avf2 = fifo->avf; in fifo_thread_write_packet()
195 FifoContext *fifo = avf->priv_data; in fifo_thread_write_trailer() local
196 AVFormatContext *avf2 = fifo->avf; in fifo_thread_write_trailer()
232 static int is_recoverable(const FifoContext *fifo, int err_no) { in is_recoverable() argument
[all …]
/third_party/libnl/lib/route/qdisc/
Dfifo.c46 struct rtnl_fifo *fifo = data; in fifo_msg_parser() local
53 fifo->qf_limit = opt->limit; in fifo_msg_parser()
54 fifo->qf_mask = SCH_FIFO_ATTR_LIMIT; in fifo_msg_parser()
62 struct rtnl_fifo *fifo = data; in pfifo_dump_line() local
64 if (fifo) in pfifo_dump_line()
65 nl_dump(p, " limit %u packets", fifo->qf_limit); in pfifo_dump_line()
71 struct rtnl_fifo *fifo = data; in bfifo_dump_line() local
75 if (!fifo) in bfifo_dump_line()
78 r = nl_cancel_down_bytes(fifo->qf_limit, &unit); in bfifo_dump_line()
84 struct rtnl_fifo *fifo = data; in fifo_msg_fill() local
[all …]
/third_party/ffmpeg/tests/fate/
Dfifo-muxer.mak1 fate-fifo-muxer-h264: CMD = ffmpeg -i $(TARGET_SAMPLES)/mkv/1242-small.mkv -frames:v 11\
3 -fflags +bitexact -f fifo -fifo_format framecrc -
4 fate-fifo-muxer-h264: REF = $(SRC_PATH)/tests/ref/fate/mkv-1242
5 FATE_SAMPLES_FIFO_MUXER-$(call ALLYES, FIFO_MUXER, MATROSKA_DEMUXER, H264_DECODER) += fate-fifo-mux…
7 fate-fifo-muxer-wav: CMD = ffmpeg -i $(TARGET_SAMPLES)/audio-reference/chorusnoise_2ch_44kHz_s16.wa…
9 -fflags +bitexact -f fifo -fifo_format wav md5:
10 fate-fifo-muxer-wav: CMP = oneline
11 fate-fifo-muxer-wav: REF = 4dda5dcc7ecdc2218b0739a152ada802
12 FATE_SAMPLES_FIFO_MUXER-$(call ALLYES, FIFO_MUXER, WAV_DEMUXER) += fate-fifo-muxer-wav
14 fate-fifo-muxer-tst: libavformat/tests/fifo_muxer$(EXESUF)
[all …]
/third_party/libwebsockets/plugins/
Dprotocol_lws_raw_test.c81 int fifo; member
134 vhd->fifo = lws_open(vhd->fifo_path, O_NONBLOCK | O_RDONLY); in callback_raw_test()
135 if (vhd->fifo == -1) { in callback_raw_test()
141 u.filefd = vhd->fifo; in callback_raw_test()
147 close(vhd->fifo); in callback_raw_test()
156 if (vhd->fifo >= 0) { in callback_raw_test()
157 close(vhd->fifo); in callback_raw_test()
178 n = read(vhd->fifo, buf, sizeof(buf) - 1); in callback_raw_test()
209 close(vhd->fifo); in callback_raw_test()
213 vhd->fifo = lws_open(vhd->fifo_path, in callback_raw_test()
[all …]
/third_party/ltp/testcases/kernel/syscalls/read/
Dread03.c56 char fifo[100] = "fifo"; variable
113 sprintf(fifo, "%s.%d", fifo, getpid()); in setup()
118 if (mknod(fifo, S_IFIFO | 0777, 0) < 0) { in setup()
121 if (stat(fifo, &buf) != 0) { in setup()
128 rfd = open(fifo, O_RDONLY | O_NONBLOCK); in setup()
129 wfd = open(fifo, O_WRONLY | O_NONBLOCK); in setup()
141 unlink(fifo); in cleanup()
/third_party/ltp/testcases/kernel/syscalls/write/
Dwrite04.c25 static char fifo[100]; variable
55 sprintf(fifo, "%s.%d", fifo, getpid()); in setup()
57 SAFE_MKNOD(fifo, S_IFIFO | 0777, 0); in setup()
59 rfd = SAFE_OPEN(fifo, O_RDONLY | O_NONBLOCK); in setup()
60 wfd = SAFE_OPEN(fifo, O_WRONLY | O_NONBLOCK); in setup()
/third_party/skia/third_party/externals/egl-registry/extensions/KHR/
DEGL_KHR_stream_fifo.txt57 This extension allows an EGLStream to operate as a fifo rather
69 This extension allows an EGLStream to be placed into fifo mode.
70 In fifo mode no images are discarded. If the producer attempts to
71 insert a frame and the fifo is full then the producer will stall
72 until there is room in the fifo. When the consumer retrieves an
83 In contrast, timing of an EGLStream in fifo mode is the
84 responsibility of the consumer. Each image frame in the fifo has
169 EGLStream operates in fifo mode as described in section "3.10.5.2
170 EGLStream operation in fifo mode".
172 In fifo mode the EGLStream contains up to N image frames, where N
[all …]
/third_party/EGL/extensions/KHR/
DEGL_KHR_stream_fifo.txt57 This extension allows an EGLStream to operate as a fifo rather
69 This extension allows an EGLStream to be placed into fifo mode.
70 In fifo mode no images are discarded. If the producer attempts to
71 insert a frame and the fifo is full then the producer will stall
72 until there is room in the fifo. When the consumer retrieves an
83 In contrast, timing of an EGLStream in fifo mode is the
84 responsibility of the consumer. Each image frame in the fifo has
169 EGLStream operates in fifo mode as described in section "3.10.5.2
170 EGLStream operation in fifo mode".
172 In fifo mode the EGLStream contains up to N image frames, where N
[all …]
/third_party/ffmpeg/libavutil/
Dthreadmessage.c27 AVFifoBuffer *fifo; member
67 if (!(rmq->fifo = av_fifo_alloc(elsize * nelem))) { in av_thread_message_queue_alloc()
96 av_fifo_freep(&(*mq)->fifo); in av_thread_message_queue_free()
110 ret = av_fifo_size(mq->fifo); in av_thread_message_queue_nb_elems()
124 while (!mq->err_send && av_fifo_space(mq->fifo) < mq->elsize) { in av_thread_message_queue_send_locked()
131 av_fifo_generic_write(mq->fifo, msg, mq->elsize, NULL); in av_thread_message_queue_send_locked()
141 while (!mq->err_recv && av_fifo_size(mq->fifo) < mq->elsize) { in av_thread_message_queue_recv_locked()
146 if (av_fifo_size(mq->fifo) < mq->elsize) in av_thread_message_queue_recv_locked()
148 av_fifo_generic_read(mq->fifo, msg, mq->elsize, NULL); in av_thread_message_queue_recv_locked()
225 used = av_fifo_size(mq->fifo); in av_thread_message_flush()
[all …]
/third_party/ffmpeg/doc/examples/
Dtranscode_aac.c328 static int init_fifo(AVAudioFifo **fifo, AVCodecContext *output_codec_context) in init_fifo() argument
331 if (!(*fifo = av_audio_fifo_alloc(output_codec_context->sample_fmt, in init_fifo()
507 static int add_samples_to_fifo(AVAudioFifo *fifo, in add_samples_to_fifo() argument
515 if ((error = av_audio_fifo_realloc(fifo, av_audio_fifo_size(fifo) + frame_size)) < 0) { in add_samples_to_fifo()
521 if (av_audio_fifo_write(fifo, (void **)converted_input_samples, in add_samples_to_fifo()
545 static int read_decode_convert_and_store(AVAudioFifo *fifo, in read_decode_convert_and_store() argument
587 if (add_samples_to_fifo(fifo, converted_input_samples, in read_decode_convert_and_store()
728 static int load_encode_and_write(AVAudioFifo *fifo, in load_encode_and_write() argument
737 const int frame_size = FFMIN(av_audio_fifo_size(fifo), in load_encode_and_write()
747 if (av_audio_fifo_read(fifo, (void **)output_frame->data, frame_size) < frame_size) { in load_encode_and_write()
[all …]
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/vk-default/
Dwsi.txt210 dEQP-VK.wsi.xlib.incremental_present.scale_none.fifo.identity.opaque.reference
211 dEQP-VK.wsi.xlib.incremental_present.scale_none.fifo.identity.opaque.incremental_present
212 dEQP-VK.wsi.xlib.incremental_present.scale_none.fifo.identity.pre_multiplied.reference
213 dEQP-VK.wsi.xlib.incremental_present.scale_none.fifo.identity.pre_multiplied.incremental_present
214 dEQP-VK.wsi.xlib.incremental_present.scale_none.fifo.identity.post_multiplied.reference
215 dEQP-VK.wsi.xlib.incremental_present.scale_none.fifo.identity.post_multiplied.incremental_present
216 dEQP-VK.wsi.xlib.incremental_present.scale_none.fifo.identity.inherit.reference
217 dEQP-VK.wsi.xlib.incremental_present.scale_none.fifo.identity.inherit.incremental_present
218 dEQP-VK.wsi.xlib.incremental_present.scale_none.fifo.rotate_90.opaque.reference
219 dEQP-VK.wsi.xlib.incremental_present.scale_none.fifo.rotate_90.opaque.incremental_present
[all …]
/third_party/uboot/u-boot-2020.01/include/usb/
Dfotg210.h290 #define EPMAP14_SET_IN(ep, fifo) \ argument
291 ((fifo) & 3) << (((ep) - 1) << 3 + 0)
292 #define EPMAP14_SET_OUT(ep, fifo) \ argument
293 ((fifo) & 3) << (((ep) - 1) << 3 + 4)
303 #define EPMAP58_SET_IN(ep, fifo) \ argument
304 ((fifo) & 3) << (((ep) - 5) << 3 + 0)
305 #define EPMAP58_SET_OUT(ep, fifo) \ argument
306 ((fifo) & 3) << (((ep) - 5) << 3 + 4)
324 #define FIFOMAP(fifo, cfg) (((cfg) & 0x3f) << (((fifo) & 3) << 3)) argument
342 #define FIFOCFG(fifo, cfg) (((cfg) & 0x3f) << (((fifo) & 3) << 3)) argument
/third_party/ffmpeg/libavfilter/
Daf_axcorrelate.c40 AVAudioFifo *fifo[2]; member
212 ret = av_audio_fifo_write(s->fifo[i], (void **)frame->extended_data, in activate()
220 available = FFMIN(av_audio_fifo_size(s->fifo[0]), av_audio_fifo_size(s->fifo[1])); in activate()
239 ret = av_audio_fifo_peek(s->fifo[0], (void **)s->cache[0]->extended_data, available); in activate()
243 ret = av_audio_fifo_peek(s->fifo[1], (void **)s->cache[1]->extended_data, available); in activate()
256 av_audio_fifo_drain(s->fifo[0], out_samples); in activate()
257 av_audio_fifo_drain(s->fifo[1], out_samples); in activate()
262 if (av_audio_fifo_size(s->fifo[0]) > s->size && in activate()
263 av_audio_fifo_size(s->fifo[1]) > s->size) { in activate()
277 if (av_audio_fifo_size(s->fifo[i]) > s->size) in activate()
[all …]
Daf_agate.c61 AVAudioFifo *fifo[2]; member
289 av_audio_fifo_write(s->fifo[0], (void **)in[0]->extended_data, in activate()
296 av_audio_fifo_write(s->fifo[1], (void **)in[1]->extended_data, in activate()
303 nb_samples = FFMIN(av_audio_fifo_size(s->fifo[0]), av_audio_fifo_size(s->fifo[1])); in activate()
316 av_audio_fifo_read(s->fifo[i], (void **)in[i]->data, nb_samples); in activate()
338 if (!av_audio_fifo_size(s->fifo[0])) in activate()
340 if (!av_audio_fifo_size(s->fifo[1])) in activate()
399 s->fifo[0] = av_audio_fifo_alloc(ctx->inputs[0]->format, ctx->inputs[0]->channels, 1024); in scconfig_output()
400 s->fifo[1] = av_audio_fifo_alloc(ctx->inputs[1]->format, ctx->inputs[1]->channels, 1024); in scconfig_output()
401 if (!s->fifo[0] || !s->fifo[1]) in scconfig_output()
[all …]
Davf_showspatial.c52 AVAudioFifo *fifo; member
103 av_audio_fifo_free(s->fifo); in uninit()
213 av_audio_fifo_free(s->fifo); in config_output()
214 s->fifo = av_audio_fifo_alloc(inlink->format, inlink->channels, s->win_size); in config_output()
215 if (!s->fifo) in config_output()
290 if (av_audio_fifo_size(s->fifo) < s->win_size) { in spatial_activate()
300 av_audio_fifo_write(s->fifo, (void **)frame->extended_data, frame->nb_samples); in spatial_activate()
305 if (av_audio_fifo_size(s->fifo) >= s->win_size) { in spatial_activate()
312 ret = av_audio_fifo_peek(s->fifo, (void **)fin->extended_data, in spatial_activate()
313 FFMIN(s->win_size, av_audio_fifo_size(s->fifo))); in spatial_activate()
[all …]
Daf_sidechaincompress.c66 AVAudioFifo *fifo[2]; member
242 av_audio_fifo_write(s->fifo[0], (void **)in[0]->extended_data, in activate()
249 av_audio_fifo_write(s->fifo[1], (void **)in[1]->extended_data, in activate()
256 nb_samples = FFMIN(av_audio_fifo_size(s->fifo[0]), av_audio_fifo_size(s->fifo[1])); in activate()
269 av_audio_fifo_read(s->fifo[i], (void **)in[i]->data, nb_samples); in activate()
291 if (!av_audio_fifo_size(s->fifo[0])) in activate()
293 if (!av_audio_fifo_size(s->fifo[1])) in activate()
352 s->fifo[0] = av_audio_fifo_alloc(ctx->inputs[0]->format, ctx->inputs[0]->channels, 1024); in config_output()
353 s->fifo[1] = av_audio_fifo_alloc(ctx->inputs[1]->format, ctx->inputs[1]->channels, 1024); in config_output()
354 if (!s->fifo[0] || !s->fifo[1]) in config_output()
[all …]
Daf_anlmdn.c61 AVAudioFifo *fifo; member
176 s->fifo = av_audio_fifo_alloc(outlink->format, outlink->channels, s->N); in config_output()
177 if (!s->fifo) in config_output()
180 ret = av_audio_fifo_write(s->fifo, (void **)s->in->extended_data, s->K + s->S); in config_output()
267 ret = av_audio_fifo_write(s->fifo, (void **)in->extended_data, in filter_frame()
272 available = av_audio_fifo_size(s->fifo); in filter_frame()
282 ret = av_audio_fifo_peek(s->fifo, (void **)s->in->extended_data, s->N); in filter_frame()
288 av_audio_fifo_drain(s->fifo, s->H); in filter_frame()
321 s->eof_left = av_audio_fifo_size(s->fifo) - (s->S + s->K); in request_frame()
338 av_audio_fifo_free(s->fifo); in uninit()
/third_party/uboot/u-boot-2020.01/arch/arm/dts/
Dbcm283x-rpi-usb-otg.dtsi4 g-rx-fifo-size = <256>;
5 g-np-tx-fifo-size = <32>;
8 * fifo sizes shouldn't exceed 3776 bytes.
10 g-tx-fifo-size = <256 256 512 512 512 768 768>;
Drk3188-radxarock-u-boot.dtsi15 fifo-mode;
20 fifo-mode;
25 fifo-mode;
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/
Dcpuset_load_balance_test.sh62 local fifo=
89 read fifo < ./myfifo
90 if [ $fifo -ne 0 ]; then
117 read fifo < ./myfifo
118 if [ $fifo -ne 0 ]; then
215 read fifo < ./myfifo
216 if [ $fifo -ne 0 ]; then
244 read fifo < ./myfifo
245 if [ $fifo -ne 0 ]; then
/third_party/uboot/u-boot-2020.01/doc/device-tree-bindings/mmc/
Dsnps,dw-mmc.txt14 * fifo-depth: The maximum size of the tx/rx fifo's. If this property is not
15 specified, the default value of the fifo size is determined from the
17 * fifo-mode: Don't use DMA.
28 fifo-depth = <256>;
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/
Dvk-wsi-NOT_SUPPORTED.txt2206 dEQP-VK.wsi.android.display_timing.fifo.display_timing
2207 dEQP-VK.wsi.android.display_timing.fifo.reference
2214 dEQP-VK.wsi.android.incremental_present.scale_down.fifo.horizontal_mirror.inherit.incremental_prese…
2215 dEQP-VK.wsi.android.incremental_present.scale_down.fifo.horizontal_mirror.inherit.reference
2216 dEQP-VK.wsi.android.incremental_present.scale_down.fifo.horizontal_mirror.opaque.incremental_present
2217 dEQP-VK.wsi.android.incremental_present.scale_down.fifo.horizontal_mirror.opaque.reference
2218 dEQP-VK.wsi.android.incremental_present.scale_down.fifo.horizontal_mirror.post_multiplied.increment…
2219 dEQP-VK.wsi.android.incremental_present.scale_down.fifo.horizontal_mirror.post_multiplied.reference
2220 dEQP-VK.wsi.android.incremental_present.scale_down.fifo.horizontal_mirror.pre_multiplied.incrementa…
2221 dEQP-VK.wsi.android.incremental_present.scale_down.fifo.horizontal_mirror.pre_multiplied.reference
[all …]
Dvk-wsi.txt2349 dEQP-VK.wsi.xlib.incremental_present.scale_none.fifo.identity.opaque.reference
2350 dEQP-VK.wsi.xlib.incremental_present.scale_none.fifo.identity.opaque.incremental_present
2351 dEQP-VK.wsi.xlib.incremental_present.scale_none.fifo.identity.pre_multiplied.reference
2352 dEQP-VK.wsi.xlib.incremental_present.scale_none.fifo.identity.pre_multiplied.incremental_present
2353 dEQP-VK.wsi.xlib.incremental_present.scale_none.fifo.identity.post_multiplied.reference
2354 dEQP-VK.wsi.xlib.incremental_present.scale_none.fifo.identity.post_multiplied.incremental_present
2355 dEQP-VK.wsi.xlib.incremental_present.scale_none.fifo.identity.inherit.reference
2356 dEQP-VK.wsi.xlib.incremental_present.scale_none.fifo.identity.inherit.incremental_present
2357 dEQP-VK.wsi.xlib.incremental_present.scale_none.fifo.rotate_90.opaque.reference
2358 dEQP-VK.wsi.xlib.incremental_present.scale_none.fifo.rotate_90.opaque.incremental_present
[all …]
/third_party/e2fsprogs/tests/f_filetype/
Dexpect.12 Special (device/socket/fifo/symlink) file (inode 14) has immutable
5 Special (device/socket/fifo/symlink) file (inode 15) has immutable
8 Special (device/socket/fifo/symlink) file (inode 16) has immutable
11 Special (device/socket/fifo/symlink) file (inode 17) has immutable
20 Setting filetype for entry 'fifo' in / (2) to 5.

12345678910