Home
last modified time | relevance | path

Searched refs:AVIO_FLAG_WRITE (Results 1 – 25 of 48) sorted by relevance

12

/third_party/ffmpeg/libavformat/
Dfile.c150 if (mask&AVIO_FLAG_WRITE) in file_check()
152 ret |= AVIO_FLAG_WRITE; in file_check()
164 ret |= st.st_mode&S_IWUSR ? mask&AVIO_FLAG_WRITE : 0; in file_check()
217 if (flags & AVIO_FLAG_WRITE && flags & AVIO_FLAG_READ) { in file_open()
221 } else if (flags & AVIO_FLAG_WRITE) { in file_open()
240 if (!h->is_streamed && flags & AVIO_FLAG_WRITE) in file_open()
388 if (flags & AVIO_FLAG_WRITE) { in pipe_open()
Dmd5proto.c38 if (!(flags & AVIO_FLAG_WRITE)) in md5_open()
72 err = ffurl_open_whitelist(&out, filename, AVIO_FLAG_WRITE, in md5_close()
Davio.c93 if ((flags & AVIO_FLAG_WRITE) && !up->url_write) { in url_alloc_for_protocol()
223 if ((uc->flags & AVIO_FLAG_WRITE) || !strcmp(uc->prot->name, "file")) in ffurl_connect()
420 if (!(h->flags & AVIO_FLAG_WRITE)) in ffurl_write()
502 ret = ffurl_alloc(&h_dst, url_dst, AVIO_FLAG_WRITE, NULL); in avpriv_io_move()
521 int ret = ffurl_alloc(&h, url, AVIO_FLAG_WRITE, NULL); in avpriv_io_delete()
Dsmoothstreamingenc.c119 ret = ffurl_open_whitelist(&os->out, frag->file, AVIO_FLAG_WRITE, in ism_seek()
128 ffurl_open_whitelist(&os->out2, frag->infofile, AVIO_FLAG_WRITE, in ism_seek()
216 ret = s->io_open(s, &out, temp_filename, AVIO_FLAG_WRITE, NULL); in write_manifest()
338 …ctx->pb = avio_alloc_context(os->iobuf, sizeof(os->iobuf), AVIO_FLAG_WRITE, os, NULL, ism_write, i… in ism_write_header()
476 if ((ret = s->io_open(s, &out, outfile, AVIO_FLAG_WRITE, NULL)) < 0) { in copy_moof()
511 …ret = ffurl_open_whitelist(&os->out, filename, AVIO_FLAG_WRITE, &s->interrupt_callback, NULL, s->p… in ism_flush()
Dcrypto.c133 if (flags & AVIO_FLAG_WRITE) { in crypto_open2()
165 if (flags & AVIO_FLAG_WRITE) { in crypto_open2()
239 if (c->flags & AVIO_FLAG_WRITE) { in crypto_seek()
Davio.h675 #define AVIO_FLAG_WRITE 2 /**< write-only */ macro
676 #define AVIO_FLAG_READ_WRITE (AVIO_FLAG_READ|AVIO_FLAG_WRITE) /**< read-write pseudo flag */
Dhdsenc.c173 ret = s->io_open(s, &out, temp_filename, AVIO_FLAG_WRITE, NULL); in write_manifest()
241 ret = s->io_open(s, &out, temp_filename, AVIO_FLAG_WRITE, NULL); in write_abst()
291 ret = s->io_open(s, &os->out, os->temp_filename, AVIO_FLAG_WRITE, NULL); in init_file()
373 AVIO_FLAG_WRITE, os, in hds_write_header()
Dsapenc.c152 ret = ffurl_open_whitelist(&fd, url, AVIO_FLAG_WRITE, in sap_write_header()
177 ret = ffurl_open_whitelist(&sap->ann_fd, url, AVIO_FLAG_WRITE, in sap_write_header()
Dtcp.c269 if (flags & AVIO_FLAG_WRITE && flags & AVIO_FLAG_READ) { in tcp_shutdown()
271 } else if (flags & AVIO_FLAG_WRITE) { in tcp_shutdown()
Dwebm_chunk.c108 ret = s->io_open(s, &oc->pb, oc->url, AVIO_FLAG_WRITE, &dict); in webm_chunk_init()
207 ret = s->io_open(s, &pb, filename, AVIO_FLAG_WRITE, &options); in chunk_end()
Dlibsmbclient.c107 if ((flags & AVIO_FLAG_WRITE) && (flags & AVIO_FLAG_READ)) { in libsmbc_open()
111 } else if (flags & AVIO_FLAG_WRITE) { in libsmbc_open()
Dsegment.c260 if ((err = s->io_open(s, &oc->pb, oc->url, AVIO_FLAG_WRITE, NULL)) < 0) { in segment_start()
290 ret = s->io_open(s, &seg->list_pb, seg->temp_list_filename, AVIO_FLAG_WRITE, NULL); in segment_list_open()
581 *ctx = avio_alloc_context(buf, buf_size, AVIO_FLAG_WRITE, NULL, NULL, NULL, NULL); in open_null_ctx()
770 AVIO_FLAG_WRITE, NULL)) < 0) { in seg_init()
838 if ((ret = oc->io_open(oc, &oc->pb, oc->url, AVIO_FLAG_WRITE, NULL)) < 0) in seg_write_header()
Daviobuf.c107 url_resetbuf(s, write_flag ? AVIO_FLAG_WRITE : AVIO_FLAG_READ); in ffio_init_context()
932 if (!(h->flags & AVIO_FLAG_WRITE) && h->is_streamed) { in ffio_fdopen()
941 *s = avio_alloc_context(buffer, buffer_size, h->flags & AVIO_FLAG_WRITE, h, in ffio_fdopen()
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()
1084 if (flags & AVIO_FLAG_WRITE) { in url_resetbuf()
Dlibrtmp.c231 if (flags & AVIO_FLAG_WRITE) in rtmp_open()
240 if (ctx->buffer_size >= 0 && (flags & AVIO_FLAG_WRITE)) { in rtmp_open()
Dlibssh.c140 if ((flags & AVIO_FLAG_WRITE) && (flags & AVIO_FLAG_READ)) { in libssh_open_file()
144 } else if (flags & AVIO_FLAG_WRITE) { in libssh_open_file()
Dlibzmq.c100 if (h->flags & AVIO_FLAG_WRITE) { in zmq_proto_open()
Doptions.c182 …av_log(s, loglevel, "Opening \'%s\' for %s\n", url, flags & AVIO_FLAG_WRITE ? "writing" : "reading… in io_open_default()
Dlibrist.c130 if (flags & AVIO_FLAG_WRITE) { in librist_open()
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavprotocol.c245 if ((flags & AVIO_FLAG_WRITE) && (flags & AVIO_FLAG_READ)) { in gst_ffmpegdata_open()
256 if ((flags & AVIO_FLAG_WRITE)) in gst_ffmpegdata_open()
280 if (!(flags & AVIO_FLAG_WRITE)) { in gst_ffmpegdata_open()
/third_party/ffmpeg/doc/examples/
Dhttp_multiclient.c123 if ((ret = avio_open2(&server, out_uri, AVIO_FLAG_WRITE, NULL, &options)) < 0) { in main()
Dremuxing.c127 ret = avio_open(&ofmt_ctx->pb, out_filename, AVIO_FLAG_WRITE); in main()
Dqsvdec.c222 ret = avio_open(&output_ctx, argv[2], AVIO_FLAG_WRITE); in main()
Dvaapi_transcode.c272 ret = avio_open(&ofmt_ctx->pb, argv[3], AVIO_FLAG_WRITE); in main()
/third_party/ffmpeg/tools/
Daviocat.c104 ret = avio_open2(&output, output_url, AVIO_FLAG_WRITE, NULL, &out_opts); in main()
/third_party/ffmpeg/libavfilter/
Df_metadata.c268 ret = avio_open(&s->avio_context, "pipe:1", AVIO_FLAG_WRITE); in init()
270 ret = avio_open(&s->avio_context, s->file_str, AVIO_FLAG_WRITE); in init()

12