Home
last modified time | relevance | path

Searched refs:AVIO_FLAG_READ (Results 1 – 25 of 44) sorted by relevance

12

/third_party/ffmpeg/libavformat/
Dfile.c147 if (mask&AVIO_FLAG_READ) in file_check()
149 ret |= AVIO_FLAG_READ; in file_check()
163 ret |= st.st_mode&S_IRUSR ? mask&AVIO_FLAG_READ : 0; in file_check()
217 if (flags & AVIO_FLAG_WRITE && flags & AVIO_FLAG_READ) { in file_open()
Dudp.c640 is_output = !(flags & AVIO_FLAG_READ); in udp_open()
743 if (!(flags & AVIO_FLAG_READ)) in udp_open()
750 if ((s->is_multicast || s->local_port <= 0) && (h->flags & AVIO_FLAG_READ)) in udp_open()
809 if (s->is_multicast && (h->flags & AVIO_FLAG_READ)) { in udp_open()
831 if (h->flags & AVIO_FLAG_READ) { in udp_open()
1077 if (s->thread_started && !(h->flags & AVIO_FLAG_READ)) { in udp_close()
1085 if (s->is_multicast && (h->flags & AVIO_FLAG_READ)) in udp_close()
1091 if (h->flags & AVIO_FLAG_READ) { in udp_close()
Davio.h674 #define AVIO_FLAG_READ 1 /**< read-only */ macro
676 #define AVIO_FLAG_READ_WRITE (AVIO_FLAG_READ|AVIO_FLAG_WRITE) /**< read-write pseudo flag */
Davio.c88 if ((flags & AVIO_FLAG_READ) && !up->url_read) { in url_alloc_for_protocol()
406 if (!(h->flags & AVIO_FLAG_READ)) in ffurl_read()
413 if (!(h->flags & AVIO_FLAG_READ)) in ffurl_read_complete()
547 if ((ret = ffurl_alloc(&h, url, AVIO_FLAG_READ, NULL)) < 0) in avio_open_dir()
Dhlsproto.c112 if ((ret = ffio_open_whitelist(&in, url, AVIO_FLAG_READ, in parse_playlist()
299 ret = ffurl_open_whitelist(&s->seg_hd, url, AVIO_FLAG_READ, in hls_read()
Dteeproto.c89 if (flags & AVIO_FLAG_READ) in tee_open()
Dmmsh.c232 if (ffurl_alloc(&mms->mms_hd, httpname, AVIO_FLAG_READ, in mmsh_open_internal()
269 if ((err = ffurl_alloc(&mms->mms_hd, httpname, AVIO_FLAG_READ, in mmsh_open_internal()
Dcrypto.c124 if (flags & AVIO_FLAG_READ) { in crypto_open2()
150 if (flags & AVIO_FLAG_READ) { in crypto_open2()
Dimg2dec.c121 if (pb || avio_check(buf, AVIO_FLAG_READ) > 0) in find_image_range()
125 if (avio_check(buf, AVIO_FLAG_READ) > 0) in find_image_range()
143 if (avio_check(buf, AVIO_FLAG_READ) <= 0) in find_image_range()
440 } else if (s1->io_open(s1, &f[i], filename, AVIO_FLAG_READ, NULL) < 0) { in ff_img_read_packet()
Dlibzmq.c115 if (h->flags & AVIO_FLAG_READ) { in zmq_proto_open()
Dsapdec.c87 ret = ffurl_open_whitelist(&sap->ann_fd, url, AVIO_FLAG_READ, in sap_read_header()
Dlibrist.c137 if (flags & AVIO_FLAG_READ) { in librist_open()
Dicecast.c97 if (flags & AVIO_FLAG_READ) in icecast_open()
Dasync.c615 ret = ffurl_open_whitelist(&h, "async:async-test:", AVIO_FLAG_READ,
692 ret = ffurl_open_whitelist(&h, "async:async-test:", AVIO_FLAG_READ,
Dsegafilmenc.c190 …ret = format_context->io_open(format_context, &read_pb, format_context->url, AVIO_FLAG_READ, NULL); in write_header()
Dtcp.c269 if (flags & AVIO_FLAG_WRITE && flags & AVIO_FLAG_READ) { in tcp_shutdown()
Dlibamqp.c176 if (h->flags & AVIO_FLAG_READ) { in amqp_proto_open()
Dlibsmbclient.c107 if ((flags & AVIO_FLAG_WRITE) && (flags & AVIO_FLAG_READ)) { in libsmbc_open()
Dsmoothstreamingenc.c397 if ((ret = s->io_open(s, &in, filename, AVIO_FLAG_READ, NULL)) < 0) in parse_fragment()
474 if ((ret = s->io_open(s, &in, infile, AVIO_FLAG_READ, NULL)) < 0) in copy_moof()
Dtls_securetransport.c87 if ((ret = ffio_open_whitelist(&s, path, AVIO_FLAG_READ, in import_pem()
Daviobuf.c107 url_resetbuf(s, write_flag ? AVIO_FLAG_WRITE : AVIO_FLAG_READ); in ffio_init_context()
1045 url_resetbuf(s, s->write_flag ? AVIO_FLAG_WRITE : AVIO_FLAG_READ); in ffio_set_buf_size()
1082 av_assert1(flags == AVIO_FLAG_WRITE || flags == AVIO_FLAG_READ); in url_resetbuf()
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavprotocol.c245 if ((flags & AVIO_FLAG_WRITE) && (flags & AVIO_FLAG_READ)) { in gst_ffmpegdata_open()
254 if ((flags & AVIO_FLAG_READ)) in gst_ffmpegdata_open()
/third_party/ffmpeg/doc/examples/
Dhttp_multiclient.c73 if ((ret = avio_open2(&input, in_uri, AVIO_FLAG_READ, NULL, NULL)) < 0) { in process_client()
/third_party/ffmpeg/tools/
Daviocat.c81 ret = avio_open2(&input, input_url, AVIO_FLAG_READ, NULL, &in_opts); in main()
Dsidxindex.c85 if ((err = avio_open2(&f, file, AVIO_FLAG_READ, NULL, NULL)) < 0) in find_sidx()

12