Home
last modified time | relevance | path

Searched refs:dyn_buf (Results 1 – 9 of 9) sorted by relevance

/third_party/ffmpeg/libavformat/
Did3v2enc.c70 AVIOContext *dyn_buf; in id3v2_put_ttag() local
71 if ((ret = avio_open_dyn_buf(&dyn_buf)) < 0) in id3v2_put_ttag()
80 avio_w8(dyn_buf, enc); in id3v2_put_ttag()
81 id3v2_encode_string(dyn_buf, str1, enc); in id3v2_put_ttag()
83 id3v2_encode_string(dyn_buf, str2, enc); in id3v2_put_ttag()
84 len = avio_get_dyn_buf(dyn_buf, &pb); in id3v2_put_ttag()
95 ffio_free_dyn_buf(&dyn_buf); in id3v2_put_ttag()
108 AVIOContext *dyn_buf; in id3v2_put_priv() local
114 if ((ret = avio_open_dyn_buf(&dyn_buf)) < 0) in id3v2_put_priv()
118 avio_write(dyn_buf, key, strlen(key) + 1); in id3v2_put_priv()
[all …]
Drtpdec_latm.c29 AVIOContext *dyn_buf; member
37 ffio_free_dyn_buf(&data->dyn_buf); in latm_close_context()
49 if (!data->dyn_buf || data->timestamp != *timestamp) { in latm_parse_packet()
51 ffio_free_dyn_buf(&data->dyn_buf); in latm_parse_packet()
54 if ((ret = avio_open_dyn_buf(&data->dyn_buf)) < 0) in latm_parse_packet()
57 avio_write(data->dyn_buf, buf, len); in latm_parse_packet()
62 data->len = avio_close_dyn_buf(data->dyn_buf, &data->buf); in latm_parse_packet()
63 data->dyn_buf = NULL; in latm_parse_packet()
Dasfenc.c271 AVIOContext *dyn_buf; in put_str16() local
272 if (avio_open_dyn_buf(&dyn_buf) < 0) in put_str16()
275 avio_put_str16le(dyn_buf, tag); in put_str16()
276 len = avio_close_dyn_buf(dyn_buf, &pb); in put_str16()
366 AVIOContext *dyn_buf; in asf_write_markers() local
368 if ((ret = avio_open_dyn_buf(&dyn_buf)) < 0) in asf_write_markers()
370 avio_put_str16le(dyn_buf, t->value); in asf_write_markers()
371 len = avio_close_dyn_buf(dyn_buf, &buf); in asf_write_markers()
588 AVIOContext *dyn_buf; in asf_write_header1() local
590 if ((ret = avio_open_dyn_buf(&dyn_buf)) < 0) in asf_write_header1()
[all …]
Dnutenc.c331 uint8_t *dyn_buf = NULL; in put_packet() local
332 int dyn_size = avio_get_dyn_buf(dyn_bc, &dyn_buf); in put_packet()
343 avio_write(bc, dyn_buf, dyn_size); in put_packet()
499 uint8_t *dyn_buf = NULL; in write_globalinfo() local
516 dyn_size = avio_close_dyn_buf(dyn_bc, &dyn_buf); in write_globalinfo()
517 avio_write(bc, dyn_buf, dyn_size); in write_globalinfo()
518 av_free(dyn_buf); in write_globalinfo()
527 uint8_t *dyn_buf=NULL; in write_streaminfo() local
547 dyn_size = avio_close_dyn_buf(dyn_bc, &dyn_buf); in write_streaminfo()
557 avio_write(bc, dyn_buf, dyn_size); in write_streaminfo()
[all …]
Dapetag.c190 uint8_t *dyn_buf; in ff_ape_write_tag() local
214 size = avio_get_dyn_buf(dyn_bc, &dyn_buf); in ff_ape_write_tag()
229 avio_write(s->pb, dyn_buf, size - APE_TAG_FOOTER_BYTES); in ff_ape_write_tag()
Drtpdec.h233 int ff_rtp_finalize_packet(AVPacket *pkt, AVIOContext **dyn_buf, int stream_idx);
Drtpdec.c964 int ff_rtp_finalize_packet(AVPacket *pkt, AVIOContext **dyn_buf, int stream_idx) in ff_rtp_finalize_packet() argument
969 pkt->size = avio_close_dyn_buf(*dyn_buf, &pkt->data); in ff_rtp_finalize_packet()
971 *dyn_buf = NULL; in ff_rtp_finalize_packet()
/third_party/selinux/libsepol/src/
Dwrite.c2129 uint32_t static_buf[32], *dyn_buf = NULL, *buf; in scope_write() local
2140 dyn_buf = calloc(items, sizeof(*dyn_buf)); in scope_write()
2141 if (!dyn_buf) in scope_write()
2143 buf = dyn_buf; in scope_write()
2162 free(dyn_buf); in scope_write()
/third_party/ffmpeg/fftools/
Dffmpeg_opt.c1631 AVIOContext *dyn_buf = NULL; in read_file() local
1640 ret = avio_open_dyn_buf(&dyn_buf); in read_file()
1646 avio_write(dyn_buf, buf, ret); in read_file()
1647 avio_w8(dyn_buf, 0); in read_file()
1650 ret = avio_close_dyn_buf(dyn_buf, &str); in read_file()