/third_party/ffmpeg/libavformat/ |
D | rmenc.c | 82 avio_wb32(s,18); /* header size */ in rv10_write_header() 84 avio_wb32(s,0); in rv10_write_header() 85 avio_wb32(s,4 + ctx->nb_streams); /* num headers */ in rv10_write_header() 88 avio_wb32(s, 50); in rv10_write_header() 107 avio_wb32(s, bit_rate); /* max bit rate */ in rv10_write_header() 108 avio_wb32(s, bit_rate); /* avg bit rate */ in rv10_write_header() 109 avio_wb32(s, packet_max_size); /* max packet size */ in rv10_write_header() 114 avio_wb32(s, packet_avg_size); /* avg packet size */ in rv10_write_header() 115 avio_wb32(s, nb_packets); /* num packets */ in rv10_write_header() 116 avio_wb32(s, duration); /* duration */ in rv10_write_header() [all …]
|
D | movenc.c | 139 avio_wb32(pb, curpos - pos); /* rewrite size */ in update_size() 174 avio_wb32(pb, 0); /* size */ in mov_write_stco_tag() 179 avio_wb32(pb, 0); /* version & flags */ in mov_write_stco_tag() 180 avio_wb32(pb, track->chunkCount); /* entry count */ in mov_write_stco_tag() 187 avio_wb32(pb, track->cluster[i].pos + track->data_offset); in mov_write_stco_tag() 199 avio_wb32(pb, 0); /* size */ in mov_write_stsz_tag() 201 avio_wb32(pb, 0); /* version & flags */ in mov_write_stsz_tag() 213 avio_wb32(pb, sSize); // sample size in mov_write_stsz_tag() 214 avio_wb32(pb, entries); // sample count in mov_write_stsz_tag() 216 avio_wb32(pb, 0); // sample size in mov_write_stsz_tag() [all …]
|
D | astenc.c | 84 avio_wb32(pb, 0); /* File size minus header */ in ast_write_header() 89 avio_wb32(pb, par->sample_rate); in ast_write_header() 92 avio_wb32(pb, 0); /* Number of samples */ in ast_write_header() 93 avio_wb32(pb, 0); /* Loopstart */ in ast_write_header() 94 avio_wb32(pb, 0); /* Loopend */ in ast_write_header() 95 avio_wb32(pb, 0); /* Size of first block */ in ast_write_header() 98 avio_wb32(pb, 0); in ast_write_header() 102 avio_wb32(pb, 0); in ast_write_header() 118 avio_wb32(pb, size); /* Block size */ in ast_write_packet() 143 avio_wb32(pb, samples); in ast_write_trailer() [all …]
|
D | movenccenc.c | 214 avio_wb32(pb, nal_end - nal_start); in ff_mov_cenc_avc_parse_nal_units() 286 avio_wb32(pb, curpos - pos); /* rewrite size */ in update_size() 297 avio_wb32(pb, 0); /* size */ in mov_cenc_write_senc_tag() 299 avio_wb32(pb, ctx->use_subsamples ? 0x02 : 0); /* version & flags */ in mov_cenc_write_senc_tag() 300 avio_wb32(pb, ctx->auxiliary_info_entries); /* entry count */ in mov_cenc_write_senc_tag() 311 avio_wb32(pb, 0); /* size */ in mov_cenc_write_saio_tag() 316 avio_wb32(pb, 1); /* entry count */ in mov_cenc_write_saio_tag() 320 avio_wb32(pb, auxiliary_info_offset); in mov_cenc_write_saio_tag() 328 avio_wb32(pb, 0); /* size */ in mov_cenc_write_saiz_tag() 330 avio_wb32(pb, 0); /* version & flags */ in mov_cenc_write_saiz_tag() [all …]
|
D | aiffenc.c | 57 avio_wb32(pb, 0); in put_id3v2_tags() 74 avio_wb32(pb, size); in put_id3v2_tags() 92 avio_wb32(pb, FFALIGN(size, 2)); in put_meta() 133 avio_wb32(pb, 0); /* file length */ in aiff_write_header() 143 avio_wb32(pb, 4); in aiff_write_header() 144 avio_wb32(pb, 0xA2805140); in aiff_write_header() 149 avio_wb32(pb, 12); in aiff_write_header() 160 avio_wb32(pb, aifc ? 24 : 18); /* size */ in aiff_write_header() 164 avio_wb32(pb, 0); /* Number of frames */ in aiff_write_header() 189 avio_wb32(pb, par->extradata_size); in aiff_write_header() [all …]
|
D | smjpegenc.c | 46 avio_wb32(pb, 0); in smjpeg_write_header() 47 avio_wb32(pb, 0); in smjpeg_write_header() 52 avio_wb32(pb, strlen(t->key) + strlen(t->value) + 3); in smjpeg_write_header() 68 avio_wb32(pb, 8); in smjpeg_write_header() 81 avio_wb32(pb, 12); in smjpeg_write_header() 82 avio_wb32(pb, 0); in smjpeg_write_header() 109 avio_wb32(pb, pkt->pts); in smjpeg_write_packet() 110 avio_wb32(pb, pkt->size); in smjpeg_write_packet() 126 avio_wb32(pb, smc->duration); in smjpeg_write_trailer()
|
D | id3v2enc.c | 86 avio_wb32(avioc, tag); in id3v2_put_ttag() 89 avio_wb32(avioc, len); in id3v2_put_ttag() 139 avio_wb32(avioc, MKBETAG('P', 'R', 'I', 'V')); in id3v2_put_priv() 141 avio_wb32(avioc, len); in id3v2_put_priv() 210 avio_wb32(pb, MKBETAG(magic[0], magic[1], magic[2], id3v2_version)); in ff_id3v2_start() 216 avio_wb32(pb, 0); in ff_id3v2_start() 281 avio_wb32(s->pb, MKBETAG('C', 'T', 'O', 'C')); in write_ctoc() 282 avio_wb32(s->pb, len); in write_ctoc() 308 avio_wb32(dyn_bc, start); in write_chapter() 309 avio_wb32(dyn_bc, end); in write_chapter() [all …]
|
D | cafenc.c | 152 avio_wb32(pb, codec_flags(par->codec_id)); //< mFormatFlags in caf_write_header() 153 avio_wb32(pb, par->block_align); //< mBytesPerPacket in caf_write_header() 154 avio_wb32(pb, frame_size); //< mFramesPerPacket in caf_write_header() 155 avio_wb32(pb, par->channels); //< mChannelsPerFrame in caf_write_header() 156 avio_wb32(pb, av_get_bits_per_sample(par->codec_id)); //< mBitsPerChannel in caf_write_header() 173 avio_wb32(pb, 0x11); /* size */ in caf_write_header() 193 avio_wb32(pb, av_dict_count(s->metadata)); in caf_write_header() 204 avio_wb32(pb, 0); //< mEditCount in caf_write_header() 256 avio_wb32(pb, 0); ///< mPrimingFrames in caf_write_trailer() 257 avio_wb32(pb, 0); ///< mRemainderFrames in caf_write_trailer()
|
D | mxfenc.c | 444 avio_wb32(pb, ref_count); in mxf_write_refs_count() 445 avio_wb32(pb, 16); in mxf_write_refs_count() 564 avio_wb32(pb, local_tag_number); // local_tag num in mxf_write_primer_pack() 565 avio_wb32(pb, 18); // item size, always 18 according to the specs in mxf_write_primer_pack() 654 avio_wb32(pb, 1); in mxf_write_preface() 854 avio_wb32(pb, st->index+2); in mxf_write_track() 859 avio_wb32(pb, 0); // track number of material package is 0 in mxf_write_track() 867 avio_wb32(pb, mxf->tc.rate.num); in mxf_write_track() 868 avio_wb32(pb, mxf->tc.rate.den); in mxf_write_track() 870 avio_wb32(pb, mxf->time_base.den); in mxf_write_track() [all …]
|
D | hdsenc.c | 212 avio_wb32(out, end - pos); in update_size() 246 avio_wb32(out, 0); // abst size in write_abst() 248 avio_wb32(out, 0); // version + flags in write_abst() 249 avio_wb32(out, os->fragment_index - 1); // BootstrapinfoVersion in write_abst() 251 avio_wb32(out, 1000); // timescale in write_abst() 261 avio_wb32(out, 0); // asrt size in write_abst() 263 avio_wb32(out, 0); // version + flags in write_abst() 265 avio_wb32(out, 1); // SegmentRunEntryCount in write_abst() 266 avio_wb32(out, 1); // FirstSegment in write_abst() 267 avio_wb32(out, final ? (os->fragment_index - 1) : 0xffffffff); // FragmentsPerSegment in write_abst() [all …]
|
D | flacenc.c | 144 avio_wb32(pb, type); in flac_write_picture() 146 avio_wb32(pb, mimelen); in flac_write_picture() 149 avio_wb32(pb, desclen); in flac_write_picture() 152 avio_wb32(pb, st->codecpar->width); in flac_write_picture() 153 avio_wb32(pb, st->codecpar->height); in flac_write_picture() 155 avio_wb32(pb, av_get_bits_per_pixel(pixdesc)); in flac_write_picture() 157 avio_wb32(pb, 0); in flac_write_picture() 158 avio_wb32(pb, 0); in flac_write_picture() 160 avio_wb32(pb, pkt->size); in flac_write_picture()
|
D | rtpdec.c | 341 avio_wb32(pb, s->ssrc + 1); in ff_rtp_check_and_send_back_rr() 342 avio_wb32(pb, s->ssrc); // server SSRC in ff_rtp_check_and_send_back_rr() 361 avio_wb32(pb, fraction); /* 8 bits of fraction, 24 bits of total packets lost */ in ff_rtp_check_and_send_back_rr() 362 avio_wb32(pb, extended_max); /* max sequence received */ in ff_rtp_check_and_send_back_rr() 363 avio_wb32(pb, stats->jitter >> 4); /* jitter */ in ff_rtp_check_and_send_back_rr() 366 avio_wb32(pb, 0); /* last SR timestamp */ in ff_rtp_check_and_send_back_rr() 367 avio_wb32(pb, 0); /* delay since last SR */ in ff_rtp_check_and_send_back_rr() 373 avio_wb32(pb, middle_32_bits); /* last SR timestamp */ in ff_rtp_check_and_send_back_rr() 374 avio_wb32(pb, delay_since_last); /* delay since last SR */ in ff_rtp_check_and_send_back_rr() 382 avio_wb32(pb, s->ssrc + 1); in ff_rtp_check_and_send_back_rr() [all …]
|
D | isom.c | 434 avio_wb32(pb, layout_tag); // mChannelLayoutTag in ff_mov_write_chan() 435 avio_wb32(pb, 0); // mChannelBitmap in ff_mov_write_chan() 437 avio_wb32(pb, 0x10000); // kCAFChannelLayoutTag_UseChannelBitmap in ff_mov_write_chan() 438 avio_wb32(pb, channel_layout); in ff_mov_write_chan() 440 avio_wb32(pb, 0); // mNumberChannelDescriptions in ff_mov_write_chan()
|
D | au.c | 302 avio_wb32(pb, au->header_size); /* header size */ in au_write_header() 303 avio_wb32(pb, AU_UNKNOWN_SIZE); /* data size */ in au_write_header() 304 avio_wb32(pb, par->codec_tag); /* codec ID */ in au_write_header() 305 avio_wb32(pb, par->sample_rate); in au_write_header() 306 avio_wb32(pb, par->channels); in au_write_header() 324 avio_wb32(pb, (uint32_t)(file_size - au->header_size)); in au_write_trailer()
|
D | gxfenc.c | 154 avio_wb32(pb, size); in updatePacketSize() 172 avio_wb32(pb, 0); /* packet leader for synchro */ in gxf_write_packet_header() 175 avio_wb32(pb, 0); /* size */ in gxf_write_packet_header() 176 avio_wb32(pb, 0); /* reserved */ in gxf_write_packet_header() 288 avio_wb32(pb, 0); in gxf_write_track_description() 293 avio_wb32(pb, sc->frame_rate_index); in gxf_write_track_description() 298 avio_wb32(pb, sc->lines_index); in gxf_write_track_description() 303 avio_wb32(pb, sc->fields); in gxf_write_track_description() 335 avio_wb32(pb, 0); in gxf_write_material_data_section() 340 avio_wb32(pb, gxf->nb_fields); in gxf_write_material_data_section() [all …]
|
D | soxenc.c | 68 avio_wb32(pb, sox->header_size); in sox_write_header() 71 avio_wb32(pb, par->channels); in sox_write_header() 72 avio_wb32(pb, comment_size); in sox_write_header()
|
D | rtpenc.c | 298 avio_wb32(s1->pb, s->ssrc); in rtcp_send_sr() 299 avio_wb32(s1->pb, ntp_time / 1000000); in rtcp_send_sr() 300 avio_wb32(s1->pb, ((ntp_time % 1000000) << 32) / 1000000); in rtcp_send_sr() 301 avio_wb32(s1->pb, rtp_ts); in rtcp_send_sr() 302 avio_wb32(s1->pb, s->packet_count); in rtcp_send_sr() 303 avio_wb32(s1->pb, s->octet_count); in rtcp_send_sr() 311 avio_wb32(s1->pb, s->ssrc); in rtcp_send_sr() 324 avio_wb32(s1->pb, s->ssrc); in rtcp_send_sr() 342 avio_wb32(s1->pb, s->timestamp); in ff_rtp_send_data() 343 avio_wb32(s1->pb, s->ssrc); in ff_rtp_send_data()
|
D | flvenc.c | 248 avio_wb32(pb, 16); /* Size of FLV tag */ in put_avc_eos_tag() 265 avio_wb32(pb, dw); in put_amf_dword_array() 288 avio_wb32(pb, 0); // reserved in write_metadata() 305 avio_wb32(pb, metadata_count); in write_metadata() 468 avio_wb32(pb, metadata_count); in write_metadata() 474 avio_wb32(pb, flv->metadata_totalsize + 11); in write_metadata() 546 avio_wb32(pb, data_size + 11); // previous tag size in flv_write_codec_header() 610 avio_wb32(s->pb, flv->metadata_totalsize + 11 + metadata_size); in shift_data() 747 avio_wb32(pb, 9); in flv_write_header() 748 avio_wb32(pb, 0); in flv_write_header() [all …]
|
D | filmstripenc.c | 48 avio_wb32(pb, RAND_TAG); in write_trailer() 49 avio_wb32(pb, st->nb_frames); in write_trailer()
|
D | movenchint.c | 276 avio_wb32(out, match_sample); in output_match() 277 avio_wb32(out, match_offset); in output_match() 365 avio_wb32(out, 0); /* relative_time */ in write_hint_packets() 372 avio_wb32(out, 16); /* extra_information_length */ in write_hint_packets() 373 avio_wb32(out, 12); /* rtpoffsetTLV box */ in write_hint_packets() 375 avio_wb32(out, ts_diff); in write_hint_packets()
|
D | supenc.c | 56 avio_wb32(s->pb, pts); in sup_write_packet() 57 avio_wb32(s->pb, dts); in sup_write_packet()
|
D | segafilmenc.c | 82 avio_wb32(pb, film->index); in film_write_packet() 84 avio_wb32(pb, size); in film_write_packet() 96 avio_wb32(pb, info1); in film_write_packet() 97 avio_wb32(pb, info2); in film_write_packet()
|
D | mmf.c | 62 avio_wb32(pb, (uint32_t)(pos - start)); in end_tag_be() 93 avio_wb32(pb, 0); in mmf_write_header() 107 avio_wb32(pb, 0); in mmf_write_header() 117 avio_wb32(pb, 16); in mmf_write_header()
|
D | omaenc.c | 75 avio_wb32(s->pb, (OMA_CODECID_ATRAC3 << 24) | in oma_write_header() 81 avio_wb32(s->pb, (OMA_CODECID_ATRAC3P << 24) | in oma_write_header()
|
D | mp3enc.c | 224 avio_wb32(dyn_ctx, header); in mp3_write_xing() 228 avio_wb32(dyn_ctx, 0x01 | 0x02 | 0x04 | 0x08); // frames / size / TOC / vbr scale in mp3_write_xing() 235 avio_wb32(dyn_ctx, 0); // frames in mp3_write_xing() 236 avio_wb32(dyn_ctx, 0); // size in mp3_write_xing() 244 avio_wb32(dyn_ctx, 0); in mp3_write_xing() 271 avio_wb32(dyn_ctx, 0); // music length in mp3_write_xing()
|