put_be32 194 libavformat/aiff.c put_be32(pb, 0); /* file length */ put_be32 205 libavformat/aiff.c put_be32(pb, 4); put_be32 206 libavformat/aiff.c put_be32(pb, 0xA2805140); put_be32 211 libavformat/aiff.c put_be32(pb, aifc ? 24 : 18); /* size */ put_be32 215 libavformat/aiff.c put_be32(pb, 0); /* Number of frames */ put_be32 239 libavformat/aiff.c put_be32(pb, 0); /* Sound samples data size */ put_be32 240 libavformat/aiff.c put_be32(pb, 0); /* Data offset */ put_be32 241 libavformat/aiff.c put_be32(pb, 0); /* Block-size (block align) */ put_be32 275 libavformat/aiff.c put_be32(pb, file_size - aiff->form - 4); put_be32 279 libavformat/aiff.c put_be32(pb, (file_size-aiff->ssnd-12)/enc->block_align); put_be32 283 libavformat/aiff.c put_be32(pb, file_size - aiff->ssnd - 4); put_be32 57 libavformat/au.c put_be32(pb, 24); /* header size */ put_be32 58 libavformat/au.c put_be32(pb, AU_UNKNOWN_SIZE); /* data size */ put_be32 59 libavformat/au.c put_be32(pb, (uint32_t)enc->codec_tag); /* codec ID */ put_be32 60 libavformat/au.c put_be32(pb, enc->sample_rate); put_be32 61 libavformat/au.c put_be32(pb, (uint32_t)enc->channels); put_be32 98 libavformat/au.c put_be32(pb, (uint32_t)(file_size - 24)); put_be32 74 libavformat/avc.c put_be32(pb, nal_end - nal_start); put_be32 223 libavformat/avio.h void put_be32(ByteIOContext *s, unsigned int val); put_be32 264 libavformat/aviobuf.c put_be32(s, (uint32_t)(val >> 32)); put_be32 265 libavformat/aviobuf.c put_be32(s, (uint32_t)(val & 0xffffffff)); put_be32 95 libavformat/ffmenc.c put_be32(pb, ffm->packet_size); put_be32 99 libavformat/ffmenc.c put_be32(pb, s->nb_streams); put_be32 105 libavformat/ffmenc.c put_be32(pb, bit_rate); put_be32 114 libavformat/ffmenc.c put_be32(pb, codec->codec_id); put_be32 116 libavformat/ffmenc.c put_be32(pb, codec->bit_rate); put_be32 117 libavformat/ffmenc.c put_be32(pb, st->quality); put_be32 118 libavformat/ffmenc.c put_be32(pb, codec->flags); put_be32 119 libavformat/ffmenc.c put_be32(pb, codec->flags2); put_be32 120 libavformat/ffmenc.c put_be32(pb, codec->debug); put_be32 124 libavformat/ffmenc.c put_be32(pb, codec->time_base.num); put_be32 125 libavformat/ffmenc.c put_be32(pb, codec->time_base.den); put_be32 129 libavformat/ffmenc.c put_be32(pb, codec->pix_fmt); put_be32 135 libavformat/ffmenc.c put_be32(pb, codec->bit_rate_tolerance); put_be32 137 libavformat/ffmenc.c put_be32(pb, codec->rc_max_rate); put_be32 138 libavformat/ffmenc.c put_be32(pb, codec->rc_min_rate); put_be32 139 libavformat/ffmenc.c put_be32(pb, codec->rc_buffer_size); put_be32 144 libavformat/ffmenc.c put_be32(pb, codec->dct_algo); put_be32 145 libavformat/ffmenc.c put_be32(pb, codec->strict_std_compliance); put_be32 146 libavformat/ffmenc.c put_be32(pb, codec->max_b_frames); put_be32 147 libavformat/ffmenc.c put_be32(pb, codec->luma_elim_threshold); put_be32 148 libavformat/ffmenc.c put_be32(pb, codec->chroma_elim_threshold); put_be32 149 libavformat/ffmenc.c put_be32(pb, codec->mpeg_quant); put_be32 150 libavformat/ffmenc.c put_be32(pb, codec->intra_dc_precision); put_be32 151 libavformat/ffmenc.c put_be32(pb, codec->me_method); put_be32 152 libavformat/ffmenc.c put_be32(pb, codec->mb_decision); put_be32 153 libavformat/ffmenc.c put_be32(pb, codec->nsse_weight); put_be32 154 libavformat/ffmenc.c put_be32(pb, codec->frame_skip_cmp); put_be32 156 libavformat/ffmenc.c put_be32(pb, codec->codec_tag); put_be32 160 libavformat/ffmenc.c put_be32(pb, codec->sample_rate); put_be32 168 libavformat/ffmenc.c put_be32(pb, codec->extradata_size); put_be32 174 libavformat/flvenc.c put_be32(pb,9); put_be32 175 libavformat/flvenc.c put_be32(pb,0); put_be32 182 libavformat/flvenc.c put_be32(pb,0); // reserved put_be32 183 libavformat/flvenc.c put_be32(pb,11); // size put_be32 193 libavformat/flvenc.c put_be32(pb, 0); // reserved put_be32 203 libavformat/flvenc.c put_be32(pb, 5*!!video_enc + 4*!!audio_enc + 2); // +2 for duration and file size put_be32 255 libavformat/flvenc.c put_be32(pb, data_size + 11); put_be32 282 libavformat/flvenc.c put_be32(pb, data_size + 11); // previous tag size put_be32 376 libavformat/flvenc.c put_be32(pb,size+flags_size+11); // previous tag size put_be32 142 libavformat/gxfenc.c put_be32(pb, size); put_be32 160 libavformat/gxfenc.c put_be32(pb, 0); /* packet leader for synchro */ put_be32 163 libavformat/gxfenc.c put_be32(pb, 0); /* size */ put_be32 164 libavformat/gxfenc.c put_be32(pb, 0); /* reserved */ put_be32 214 libavformat/gxfenc.c put_be32(pb, 0); put_be32 249 libavformat/gxfenc.c put_be32(pb, 0); put_be32 257 libavformat/gxfenc.c put_be32(pb, stream->frame_rate_index); put_be32 262 libavformat/gxfenc.c put_be32(pb, stream->lines_index); put_be32 267 libavformat/gxfenc.c put_be32(pb, stream->fields); put_be32 294 libavformat/gxfenc.c put_be32(pb, 0); put_be32 299 libavformat/gxfenc.c put_be32(pb, ctx->nb_fields); put_be32 304 libavformat/gxfenc.c put_be32(pb, 0); put_be32 308 libavformat/gxfenc.c put_be32(pb, ctx->nb_fields); put_be32 313 libavformat/gxfenc.c put_be32(pb, url_fsize(pb) / 1024); put_be32 461 libavformat/gxfenc.c put_be32(pb, 0); /* drop frame flag */ put_be32 462 libavformat/gxfenc.c put_be32(pb, 0); /* reserved */ put_be32 463 libavformat/gxfenc.c put_be32(pb, 0); /* reserved */ put_be32 464 libavformat/gxfenc.c put_be32(pb, 0); /* reserved */ put_be32 465 libavformat/gxfenc.c put_be32(pb, 0); /* reserved */ put_be32 466 libavformat/gxfenc.c put_be32(pb, 0); /* reserved */ put_be32 467 libavformat/gxfenc.c put_be32(pb, 0); /* reserved */ put_be32 468 libavformat/gxfenc.c put_be32(pb, 0); /* reserved */ put_be32 477 libavformat/gxfenc.c put_be32(pb, 0); put_be32 580 libavformat/gxfenc.c put_be32(pb, ctx->umf_length); /* data length */ put_be32 743 libavformat/gxfenc.c put_be32(pb, field_nb); put_be32 764 libavformat/gxfenc.c put_be32(pb, size); put_be32 765 libavformat/gxfenc.c put_be32(pb, field_nb); put_be32 369 libavformat/img2.c put_be32(pb[0], 12); put_be32 371 libavformat/img2.c put_be32(pb[0], 0x0D0A870A); // signature put_be32 372 libavformat/img2.c put_be32(pb[0], 20); put_be32 375 libavformat/img2.c put_be32(pb[0], 0); put_be32 56 libavformat/mmf.c put_be32(pb, (uint32_t)(pos - start)); put_be32 74 libavformat/mmf.c put_be32(pb, 0); put_be32 85 libavformat/mmf.c put_be32(pb, 0); put_be32 95 libavformat/mmf.c put_be32(pb, 16); put_be32 90 libavformat/movenc.c put_be32(pb, curpos - pos); /* rewrite size */ put_be32 102 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 108 libavformat/movenc.c put_be32(pb, 0); /* version & flags */ put_be32 109 libavformat/movenc.c put_be32(pb, track->entry); /* entry count */ put_be32 114 libavformat/movenc.c put_be32(pb, track->cluster[i].pos); put_be32 126 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 128 libavformat/movenc.c put_be32(pb, 0); /* version & flags */ put_be32 140 libavformat/movenc.c put_be32(pb, sSize); // sample size put_be32 141 libavformat/movenc.c put_be32(pb, entries); // sample count put_be32 144 libavformat/movenc.c put_be32(pb, 0); // sample size put_be32 145 libavformat/movenc.c put_be32(pb, entries); // sample count put_be32 148 libavformat/movenc.c put_be32(pb, track->cluster[i].size / put_be32 163 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 165 libavformat/movenc.c put_be32(pb, 0); // version & flags put_be32 167 libavformat/movenc.c put_be32(pb, track->entry); // entry count put_be32 171 libavformat/movenc.c put_be32(pb, i+1); // first chunk put_be32 172 libavformat/movenc.c put_be32(pb, track->cluster[i].samplesInChunk); // samples per chunk put_be32 173 libavformat/movenc.c put_be32(pb, 0x1); // sample description index put_be32 180 libavformat/movenc.c put_be32(pb, index); // rewrite size put_be32 192 libavformat/movenc.c put_be32(pb, 0); // size put_be32 194 libavformat/movenc.c put_be32(pb, 0); // version & flags put_be32 196 libavformat/movenc.c put_be32(pb, track->entry); // entry count put_be32 199 libavformat/movenc.c put_be32(pb, i+1); put_be32 205 libavformat/movenc.c put_be32(pb, index); // rewrite size put_be32 212 libavformat/movenc.c put_be32(pb, 0x11); /* size */ put_be32 234 libavformat/movenc.c put_be32(pb, 11); put_be32 280 libavformat/movenc.c put_be32(pb, 10); put_be32 307 libavformat/movenc.c put_be32(pb, 0); // size put_be32 309 libavformat/movenc.c put_be32(pb, 0); // Version put_be32 338 libavformat/movenc.c put_be32(pb, FFMAX(track->enc->bit_rate, track->enc->rc_max_rate)); // maxbitrate (FIXME should be max rate in any 1 sec window) put_be32 340 libavformat/movenc.c put_be32(pb, 0); // vbr put_be32 342 libavformat/movenc.c put_be32(pb, track->enc->rc_max_rate); // avg bitrate put_be32 360 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 363 libavformat/movenc.c put_be32(pb, 12); /* size */ put_be32 369 libavformat/movenc.c put_be32(pb, 12); /* size */ put_be32 371 libavformat/movenc.c put_be32(pb, 0); put_be32 384 libavformat/movenc.c put_be32(pb, 8); /* size */ put_be32 385 libavformat/movenc.c put_be32(pb, 0); /* null tag */ put_be32 392 libavformat/movenc.c put_be32(pb, track->vosLen+8); put_be32 406 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 408 libavformat/movenc.c put_be32(pb, 0); /* Reserved */ put_be32 415 libavformat/movenc.c put_be32(pb, 0); /* Reserved */ put_be32 436 libavformat/movenc.c put_be32(pb, track->enc->frame_size); /* Samples per packet */ put_be32 437 libavformat/movenc.c put_be32(pb, track->sampleSize / track->enc->channels); /* Bytes per packet */ put_be32 438 libavformat/movenc.c put_be32(pb, track->sampleSize); /* Bytes per frame */ put_be32 439 libavformat/movenc.c put_be32(pb, 2); /* Bytes per sample */ put_be32 466 libavformat/movenc.c put_be32(pb, 0xf); /* size */ put_be32 479 libavformat/movenc.c put_be32(pb, 0x15); put_be32 482 libavformat/movenc.c put_be32(pb, 0x5); put_be32 483 libavformat/movenc.c put_be32(pb, 0xe2c0211d); put_be32 484 libavformat/movenc.c put_be32(pb, 0xc0000000); put_be32 493 libavformat/movenc.c put_be32(pb, 0); put_be32 503 libavformat/movenc.c put_be32(pb, 24); /* size */ put_be32 507 libavformat/movenc.c put_be32(pb, 1); /* yuv 1 / rgb 2 ? */ put_be32 508 libavformat/movenc.c put_be32(pb, 0); /* unknown */ put_be32 510 libavformat/movenc.c put_be32(pb, 24); /* size */ put_be32 514 libavformat/movenc.c put_be32(pb, 1); /* unknown */ put_be32 515 libavformat/movenc.c put_be32(pb, 0); /* unknown */ put_be32 517 libavformat/movenc.c put_be32(pb, 120); /* size */ put_be32 521 libavformat/movenc.c put_be32(pb, AV_RB32(track->vosData + 0x28)); /* dnxhd cid, some id ? */ put_be32 522 libavformat/movenc.c put_be32(pb, track->enc->width); put_be32 525 libavformat/movenc.c put_be32(pb, track->enc->height/2); put_be32 526 libavformat/movenc.c put_be32(pb, 2); /* unknown */ put_be32 527 libavformat/movenc.c put_be32(pb, 0); /* unknown */ put_be32 528 libavformat/movenc.c put_be32(pb, 4); /* unknown */ put_be32 530 libavformat/movenc.c put_be32(pb, track->enc->height); put_be32 531 libavformat/movenc.c put_be32(pb, 1); /* unknown */ put_be32 532 libavformat/movenc.c put_be32(pb, 0); /* unknown */ put_be32 534 libavformat/movenc.c put_be32(pb, 5); /* unknown */ put_be32 536 libavformat/movenc.c put_be32(pb, 6); /* unknown */ put_be32 543 libavformat/movenc.c put_be32(pb, 0); put_be32 642 libavformat/movenc.c put_be32(pb, 28); put_be32 644 libavformat/movenc.c put_be32(pb, 0x6b6840f2); put_be32 645 libavformat/movenc.c put_be32(pb, 0x5f244fc5); put_be32 646 libavformat/movenc.c put_be32(pb, 0xba39a51b); put_be32 647 libavformat/movenc.c put_be32(pb, 0xcf0323f3); put_be32 648 libavformat/movenc.c put_be32(pb, 0x0); put_be32 655 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 657 libavformat/movenc.c put_be32(pb, 0); /* Reserved */ put_be32 672 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 674 libavformat/movenc.c put_be32(pb, 0); /* Reserved */ put_be32 683 libavformat/movenc.c put_be32(pb, 0); /* Temporal Quality */ put_be32 684 libavformat/movenc.c put_be32(pb, 0x400); /* Spatial Quality = lossless*/ put_be32 686 libavformat/movenc.c put_be32(pb, 0x200); /* Temporal Quality = normal */ put_be32 687 libavformat/movenc.c put_be32(pb, 0x200); /* Spatial Quality = normal */ put_be32 690 libavformat/movenc.c put_be32(pb, 0); /* Reserved */ put_be32 691 libavformat/movenc.c put_be32(pb, 0); /* Reserved */ put_be32 692 libavformat/movenc.c put_be32(pb, 0); /* Reserved */ put_be32 696 libavformat/movenc.c put_be32(pb, 0x00480000); /* Horizontal resolution 72dpi */ put_be32 697 libavformat/movenc.c put_be32(pb, 0x00480000); /* Vertical resolution 72dpi */ put_be32 698 libavformat/movenc.c put_be32(pb, 0); /* Data size (= 0) */ put_be32 734 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 736 libavformat/movenc.c put_be32(pb, 0); /* version & flags */ put_be32 737 libavformat/movenc.c put_be32(pb, 1); /* entry count */ put_be32 768 libavformat/movenc.c put_be32(pb, atom_size); /* size */ put_be32 770 libavformat/movenc.c put_be32(pb, 0); /* version & flags */ put_be32 771 libavformat/movenc.c put_be32(pb, entries); /* entry count */ put_be32 773 libavformat/movenc.c put_be32(pb, ctts_entries[i].count); put_be32 774 libavformat/movenc.c put_be32(pb, ctts_entries[i].duration); put_be32 810 libavformat/movenc.c put_be32(pb, atom_size); /* size */ put_be32 812 libavformat/movenc.c put_be32(pb, 0); /* version & flags */ put_be32 813 libavformat/movenc.c put_be32(pb, entries); /* entry count */ put_be32 815 libavformat/movenc.c put_be32(pb, stts_entries[i].count); put_be32 816 libavformat/movenc.c put_be32(pb, stts_entries[i].duration); put_be32 824 libavformat/movenc.c put_be32(pb, 28); /* size */ put_be32 826 libavformat/movenc.c put_be32(pb, 0); /* version & flags */ put_be32 827 libavformat/movenc.c put_be32(pb, 1); /* entry count */ put_be32 829 libavformat/movenc.c put_be32(pb, 0xc); /* size */ put_be32 831 libavformat/movenc.c put_be32(pb, 1); /* version & flags */ put_be32 839 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 858 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 866 libavformat/movenc.c put_be32(pb, 12); put_be32 868 libavformat/movenc.c put_be32(pb, 0); put_be32 874 libavformat/movenc.c put_be32(pb, 0x20); /* size */ put_be32 876 libavformat/movenc.c put_be32(pb, 0x18); /* gmin size */ put_be32 878 libavformat/movenc.c put_be32(pb, 0); /* version & flags */ put_be32 890 libavformat/movenc.c put_be32(pb, 16); /* size */ put_be32 892 libavformat/movenc.c put_be32(pb, 0); /* version & flags */ put_be32 900 libavformat/movenc.c put_be32(pb, 0x14); /* size (always 0x14) */ put_be32 902 libavformat/movenc.c put_be32(pb, 0x01); /* version & flags */ put_be32 931 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 933 libavformat/movenc.c put_be32(pb, 0); /* Version & flags */ put_be32 936 libavformat/movenc.c put_be32(pb ,0); /* reserved */ put_be32 937 libavformat/movenc.c put_be32(pb ,0); /* reserved */ put_be32 938 libavformat/movenc.c put_be32(pb ,0); /* reserved */ put_be32 947 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 968 libavformat/movenc.c (version == 1) ? put_be32(pb, 44) : put_be32(pb, 32); /* size */ put_be32 976 libavformat/movenc.c put_be32(pb, track->time); /* creation time */ put_be32 977 libavformat/movenc.c put_be32(pb, track->time); /* modification time */ put_be32 979 libavformat/movenc.c put_be32(pb, track->timescale); /* time scale (sample rate for audio) */ put_be32 980 libavformat/movenc.c (version == 1) ? put_be64(pb, track->trackDuration) : put_be32(pb, track->trackDuration); /* duration */ put_be32 997 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 1010 libavformat/movenc.c (version == 1) ? put_be32(pb, 104) : put_be32(pb, 92); /* size */ put_be32 1018 libavformat/movenc.c put_be32(pb, track->time); /* creation time */ put_be32 1019 libavformat/movenc.c put_be32(pb, track->time); /* modification time */ put_be32 1021 libavformat/movenc.c put_be32(pb, track->trackID); /* track-id */ put_be32 1022 libavformat/movenc.c put_be32(pb, 0); /* reserved */ put_be32 1023 libavformat/movenc.c (version == 1) ? put_be64(pb, duration) : put_be32(pb, duration); put_be32 1025 libavformat/movenc.c put_be32(pb, 0); /* reserved */ put_be32 1026 libavformat/movenc.c put_be32(pb, 0); /* reserved */ put_be32 1027 libavformat/movenc.c put_be32(pb, 0x0); /* reserved (Layer & Alternate group) */ put_be32 1036 libavformat/movenc.c put_be32(pb, 0x00010000); /* reserved */ put_be32 1037 libavformat/movenc.c put_be32(pb, 0x0); /* reserved */ put_be32 1038 libavformat/movenc.c put_be32(pb, 0x0); /* reserved */ put_be32 1039 libavformat/movenc.c put_be32(pb, 0x0); /* reserved */ put_be32 1040 libavformat/movenc.c put_be32(pb, 0x00010000); /* reserved */ put_be32 1041 libavformat/movenc.c put_be32(pb, 0x0); /* reserved */ put_be32 1042 libavformat/movenc.c put_be32(pb, 0x0); /* reserved */ put_be32 1043 libavformat/movenc.c put_be32(pb, 0x0); /* reserved */ put_be32 1044 libavformat/movenc.c put_be32(pb, 0x40000000); /* reserved */ put_be32 1052 libavformat/movenc.c put_be32(pb, sample_aspect_ratio * track->enc->width*0x10000); put_be32 1053 libavformat/movenc.c put_be32(pb, track->height*0x10000); put_be32 1056 libavformat/movenc.c put_be32(pb, 0); put_be32 1057 libavformat/movenc.c put_be32(pb, 0); put_be32 1065 libavformat/movenc.c put_be32(pb, 0x24); /* size */ put_be32 1067 libavformat/movenc.c put_be32(pb, 0x1c); /* size */ put_be32 1069 libavformat/movenc.c put_be32(pb, 0x0); put_be32 1070 libavformat/movenc.c put_be32(pb, 0x1); put_be32 1072 libavformat/movenc.c put_be32(pb, av_rescale_rnd(track->trackDuration, globalTimescale, track->timescale, AV_ROUND_UP)); /* duration ... doesn't seem to effect psp */ put_be32 1074 libavformat/movenc.c put_be32(pb, track->cluster[0].cts); /* first pts is cts since dts is 0 */ put_be32 1075 libavformat/movenc.c put_be32(pb, 0x00010000); put_be32 1082 libavformat/movenc.c put_be32(pb, 0x34); /* size ... reports as 28 in mp4box! */ put_be32 1085 libavformat/movenc.c put_be32(pb, 0x21d24fce); put_be32 1086 libavformat/movenc.c put_be32(pb, 0xbb88695c); put_be32 1087 libavformat/movenc.c put_be32(pb, 0xfac9c740); put_be32 1088 libavformat/movenc.c put_be32(pb, 0x1c); // another size here! put_be32 1090 libavformat/movenc.c put_be32(pb, 0x00010012); put_be32 1091 libavformat/movenc.c put_be32(pb, 0x0a); put_be32 1092 libavformat/movenc.c put_be32(pb, 0x55c40000); put_be32 1093 libavformat/movenc.c put_be32(pb, 0x1); put_be32 1094 libavformat/movenc.c put_be32(pb, 0x0); put_be32 1101 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 1116 libavformat/movenc.c put_be32(pb, 0x15); /* size */ put_be32 1118 libavformat/movenc.c put_be32(pb, 0); /* version & flags */ put_be32 1145 libavformat/movenc.c (version == 1) ? put_be32(pb, 120) : put_be32(pb, 108); /* size */ put_be32 1153 libavformat/movenc.c put_be32(pb, mov->time); /* creation time */ put_be32 1154 libavformat/movenc.c put_be32(pb, mov->time); /* modification time */ put_be32 1156 libavformat/movenc.c put_be32(pb, mov->timescale); /* timescale */ put_be32 1157 libavformat/movenc.c (version == 1) ? put_be64(pb, maxTrackLen) : put_be32(pb, maxTrackLen); /* duration of longest track */ put_be32 1159 libavformat/movenc.c put_be32(pb, 0x00010000); /* reserved (preferred rate) 1.0 = normal */ put_be32 1162 libavformat/movenc.c put_be32(pb, 0); /* reserved */ put_be32 1163 libavformat/movenc.c put_be32(pb, 0); /* reserved */ put_be32 1166 libavformat/movenc.c put_be32(pb, 0x00010000); /* reserved */ put_be32 1167 libavformat/movenc.c put_be32(pb, 0x0); /* reserved */ put_be32 1168 libavformat/movenc.c put_be32(pb, 0x0); /* reserved */ put_be32 1169 libavformat/movenc.c put_be32(pb, 0x0); /* reserved */ put_be32 1170 libavformat/movenc.c put_be32(pb, 0x00010000); /* reserved */ put_be32 1171 libavformat/movenc.c put_be32(pb, 0x0); /* reserved */ put_be32 1172 libavformat/movenc.c put_be32(pb, 0x0); /* reserved */ put_be32 1173 libavformat/movenc.c put_be32(pb, 0x0); /* reserved */ put_be32 1174 libavformat/movenc.c put_be32(pb, 0x40000000); /* reserved */ put_be32 1176 libavformat/movenc.c put_be32(pb, 0); /* reserved (preview time) */ put_be32 1177 libavformat/movenc.c put_be32(pb, 0); /* reserved (preview duration) */ put_be32 1178 libavformat/movenc.c put_be32(pb, 0); /* reserved (poster time) */ put_be32 1179 libavformat/movenc.c put_be32(pb, 0); /* reserved (selection time) */ put_be32 1180 libavformat/movenc.c put_be32(pb, 0); /* reserved (selection duration) */ put_be32 1181 libavformat/movenc.c put_be32(pb, 0); /* reserved (current time) */ put_be32 1182 libavformat/movenc.c put_be32(pb, maxTrackID+1); /* Next track id */ put_be32 1190 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 1192 libavformat/movenc.c put_be32(pb, 0); put_be32 1193 libavformat/movenc.c put_be32(pb, 0); put_be32 1196 libavformat/movenc.c put_be32(pb, 0); put_be32 1197 libavformat/movenc.c put_be32(pb, 0); put_be32 1207 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 1209 libavformat/movenc.c put_be32(pb, 1); put_be32 1210 libavformat/movenc.c put_be32(pb, 0); put_be32 1225 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 1265 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 1269 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 1271 libavformat/movenc.c put_be32(pb, 0); // 8 bytes empty put_be32 1272 libavformat/movenc.c put_be32(pb, 0); put_be32 1289 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 1310 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 1312 libavformat/movenc.c put_be32(pb, 0); put_be32 1353 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 1355 libavformat/movenc.c put_be32(pb, 0); /* version + flags */ put_be32 1407 libavformat/movenc.c put_be32(pb, size+8); put_be32 1423 libavformat/movenc.c put_be32(pb, type); /* type */ put_be32 1436 libavformat/movenc.c put_be32(pb, 0); /* size placeholder*/ put_be32 1439 libavformat/movenc.c put_be32(pb, 0x21d24fce); /* 96 bit UUID */ put_be32 1440 libavformat/movenc.c put_be32(pb, 0xbb88695c); put_be32 1441 libavformat/movenc.c put_be32(pb, 0xfac9c740); put_be32 1444 libavformat/movenc.c put_be32(pb, 0); /* size placeholder*/ put_be32 1450 libavformat/movenc.c put_be32(pb, 0x0B); /* type */ put_be32 1472 libavformat/movenc.c put_be32(pb, 0); /* size placeholder*/ put_be32 1501 libavformat/movenc.c put_be32(pb, 8); // placeholder for extended size field (64 bit) put_be32 1505 libavformat/movenc.c put_be32(pb, 0); /* size placeholder*/ put_be32 1527 libavformat/movenc.c put_be32(pb, 0); /* size */ put_be32 1545 libavformat/movenc.c put_be32(pb, minor); put_be32 1576 libavformat/movenc.c put_be32(pb, 0x94); /* size */ put_be32 1580 libavformat/movenc.c put_be32(pb, 0x21d24fce); /* 96 bit UUID */ put_be32 1581 libavformat/movenc.c put_be32(pb, 0xbb88695c); put_be32 1582 libavformat/movenc.c put_be32(pb, 0xfac9c740); put_be32 1584 libavformat/movenc.c put_be32(pb, 0x0); /* ? */ put_be32 1585 libavformat/movenc.c put_be32(pb, 0x3); /* 3 sections ? */ put_be32 1587 libavformat/movenc.c put_be32(pb, 0x14); /* size */ put_be32 1589 libavformat/movenc.c put_be32(pb, 0x0); /* ? */ put_be32 1590 libavformat/movenc.c put_be32(pb, 0x0); /* ? */ put_be32 1591 libavformat/movenc.c put_be32(pb, 0x0); /* ? */ put_be32 1593 libavformat/movenc.c put_be32(pb, 0x2c); /* size */ put_be32 1595 libavformat/movenc.c put_be32(pb, 0x0); put_be32 1596 libavformat/movenc.c put_be32(pb, 0x2); /* TrackID */ put_be32 1598 libavformat/movenc.c put_be32(pb, 0x20f); put_be32 1599 libavformat/movenc.c put_be32(pb, 0x0); put_be32 1600 libavformat/movenc.c put_be32(pb, audio_kbitrate); put_be32 1601 libavformat/movenc.c put_be32(pb, audio_kbitrate); put_be32 1602 libavformat/movenc.c put_be32(pb, AudioRate); put_be32 1603 libavformat/movenc.c put_be32(pb, AudioCodec->channels); put_be32 1605 libavformat/movenc.c put_be32(pb, 0x34); /* size */ put_be32 1607 libavformat/movenc.c put_be32(pb, 0x0); put_be32 1608 libavformat/movenc.c put_be32(pb, 0x1); /* TrackID */ put_be32 1618 libavformat/movenc.c put_be32(pb, 0x0); put_be32 1619 libavformat/movenc.c put_be32(pb, video_kbitrate); put_be32 1620 libavformat/movenc.c put_be32(pb, video_kbitrate); put_be32 1621 libavformat/movenc.c put_be32(pb, FrameRate); put_be32 1622 libavformat/movenc.c put_be32(pb, FrameRate); put_be32 1625 libavformat/movenc.c put_be32(pb, 0x010001); /* ? */ put_be32 1825 libavformat/movenc.c put_be32(pb, mov->mdat_size+8); put_be32 1829 libavformat/movenc.c put_be32(pb, 1); /* special value: real atom size will be 64 bit value after tag field */ put_be32 590 libavformat/mp3.c put_be32(s->pb, tag); put_be32 628 libavformat/mp3.c put_be32(s->pb, MKBETAG('I', 'D', '3', 0x04)); /* ID3v2.4 */ put_be32 612 libavformat/mpegenc.c put_be32(pb, PADDING_STREAM); put_be32 695 libavformat/mpegenc.c put_be32(ctx->pb, PRIVATE_STREAM_2); put_be32 701 libavformat/mpegenc.c put_be32(ctx->pb, PRIVATE_STREAM_2); put_be32 833 libavformat/mpegenc.c put_be32(ctx->pb, startcode); put_be32 318 libavformat/mxfenc.c put_be32(pb, ref_count); put_be32 319 libavformat/mxfenc.c put_be32(pb, 16); put_be32 379 libavformat/mxfenc.c put_be32(pb, local_tag_number); // local_tag num put_be32 380 libavformat/mxfenc.c put_be32(pb, 18); // item size, always 18 according to the specs put_be32 571 libavformat/mxfenc.c put_be32(pb, st->index+2); put_be32 576 libavformat/mxfenc.c put_be32(pb, 0); // track number of material package is 0 put_be32 581 libavformat/mxfenc.c put_be32(pb, mxf->time_base.den); put_be32 582 libavformat/mxfenc.c put_be32(pb, mxf->time_base.num); put_be32 701 libavformat/mxfenc.c put_be32(pb, 0); put_be32 703 libavformat/mxfenc.c put_be32(pb, st->index+2); put_be32 723 libavformat/mxfenc.c put_be32(pb, mxf->time_base.den); put_be32 724 libavformat/mxfenc.c put_be32(pb, mxf->time_base.num); put_be32 756 libavformat/mxfenc.c put_be32(pb, st->index+2); put_be32 759 libavformat/mxfenc.c put_be32(pb, mxf->time_base.den); put_be32 760 libavformat/mxfenc.c put_be32(pb, mxf->time_base.num); put_be32 783 libavformat/mxfenc.c put_be32(pb, st->codec->width); put_be32 786 libavformat/mxfenc.c put_be32(pb, stored_height>>sc->interlaced); put_be32 789 libavformat/mxfenc.c put_be32(pb, st->codec->width); put_be32 799 libavformat/mxfenc.c put_be32(pb, display_height>>sc->interlaced); put_be32 803 libavformat/mxfenc.c put_be32(pb, 8); put_be32 807 libavformat/mxfenc.c put_be32(pb, 2); put_be32 830 libavformat/mxfenc.c put_be32(pb, sc->interlaced ? 2 : 1); put_be32 831 libavformat/mxfenc.c put_be32(pb, 4); put_be32 832 libavformat/mxfenc.c put_be32(pb, f1); put_be32 834 libavformat/mxfenc.c put_be32(pb, f2); put_be32 837 libavformat/mxfenc.c put_be32(pb, sc->aspect_ratio.num); put_be32 838 libavformat/mxfenc.c put_be32(pb, sc->aspect_ratio.den); put_be32 857 libavformat/mxfenc.c put_be32(pb, st->codec->bit_rate); put_be32 872 libavformat/mxfenc.c put_be32(pb, st->codec->sample_rate); put_be32 873 libavformat/mxfenc.c put_be32(pb, 1); put_be32 876 libavformat/mxfenc.c put_be32(pb, st->codec->channels); put_be32 879 libavformat/mxfenc.c put_be32(pb, av_get_bits_per_sample(st->codec->codec_id)); put_be32 893 libavformat/mxfenc.c put_be32(pb, st->codec->block_align*st->codec->sample_rate); put_be32 996 libavformat/mxfenc.c put_be32(pb, 1); put_be32 999 libavformat/mxfenc.c put_be32(pb, 2); put_be32 1052 libavformat/mxfenc.c put_be32(pb, mxf->time_base.den); put_be32 1053 libavformat/mxfenc.c put_be32(pb, mxf->time_base.num); put_be32 1065 libavformat/mxfenc.c put_be32(pb, mxf->edit_unit_byte_count); put_be32 1069 libavformat/mxfenc.c put_be32(pb, 2); put_be32 1073 libavformat/mxfenc.c put_be32(pb, 1); put_be32 1082 libavformat/mxfenc.c put_be32(pb, s->nb_streams+1); // num of entries put_be32 1083 libavformat/mxfenc.c put_be32(pb, 6); // size of one entry put_be32 1087 libavformat/mxfenc.c put_be32(pb, 0); // element delta put_be32 1096 libavformat/mxfenc.c put_be32(pb, KAG_SIZE); // system item size including klv fill put_be32 1101 libavformat/mxfenc.c put_be32(pb, (i-1)*audio_frame_size); // element delta put_be32 1106 libavformat/mxfenc.c put_be32(pb, mxf->edit_units_count); // num of entries put_be32 1107 libavformat/mxfenc.c put_be32(pb, 11+mxf->slice_count*4); // size of one entry put_be32 1143 libavformat/mxfenc.c put_be32(pb, mxf->index_entries[i].slice_offset); put_be32 1202 libavformat/mxfenc.c put_be32(pb, KAG_SIZE); // KAGSize put_be32 1221 libavformat/mxfenc.c put_be32(pb, index_byte_count ? indexsid : 0); // indexSID put_be32 1229 libavformat/mxfenc.c put_be32(pb, bodysid); // bodySID put_be32 1549 libavformat/mxfenc.c put_be32(pb, time_code); put_be32 1550 libavformat/mxfenc.c put_be32(pb, 0); // binary group data put_be32 1712 libavformat/mxfenc.c put_be32(pb, 1); // BodySID of header partition put_be32 1714 libavformat/mxfenc.c put_be32(pb, 0); put_be32 1718 libavformat/mxfenc.c put_be32(pb, 1); // BodySID put_be32 1722 libavformat/mxfenc.c put_be32(pb, 0); // BodySID of footer partition put_be32 1725 libavformat/mxfenc.c put_be32(pb, url_ftell(pb) - pos + 4); put_be32 46 libavformat/oggenc.c put_be32(s->pb, checksum); put_be32 78 libavformat/rmenc.c put_be32(s,18); /* header size */ put_be32 80 libavformat/rmenc.c put_be32(s,0); put_be32 81 libavformat/rmenc.c put_be32(s,4 + ctx->nb_streams); /* num headers */ put_be32 84 libavformat/rmenc.c put_be32(s, 50); put_be32 103 libavformat/rmenc.c put_be32(s, bit_rate); /* max bit rate */ put_be32 104 libavformat/rmenc.c put_be32(s, bit_rate); /* avg bit rate */ put_be32 105 libavformat/rmenc.c put_be32(s, packet_max_size); /* max packet size */ put_be32 110 libavformat/rmenc.c put_be32(s, packet_avg_size); /* avg packet size */ put_be32 111 libavformat/rmenc.c put_be32(s, nb_packets); /* num packets */ put_be32 112 libavformat/rmenc.c put_be32(s, duration); /* duration */ put_be32 113 libavformat/rmenc.c put_be32(s, BUFFER_DURATION); /* preroll */ put_be32 114 libavformat/rmenc.c put_be32(s, index_pos); /* index offset */ put_be32 117 libavformat/rmenc.c put_be32(s, 0); /* data offset : will be patched after */ put_be32 132 libavformat/rmenc.c put_be32(s,size); put_be32 156 libavformat/rmenc.c put_be32(s, size); put_be32 160 libavformat/rmenc.c put_be32(s, stream->bit_rate); /* max bit rate */ put_be32 161 libavformat/rmenc.c put_be32(s, stream->bit_rate); /* avg bit rate */ put_be32 162 libavformat/rmenc.c put_be32(s, stream->packet_max_size); /* max packet size */ put_be32 168 libavformat/rmenc.c put_be32(s, packet_avg_size); /* avg packet size */ put_be32 169 libavformat/rmenc.c put_be32(s, 0); /* start time */ put_be32 170 libavformat/rmenc.c put_be32(s, BUFFER_DURATION); /* preroll */ put_be32 173 libavformat/rmenc.c put_be32(s, (int)(3600 * 1000)); put_be32 175 libavformat/rmenc.c put_be32(s, (int)(stream->total_frames * 1000 / stream->frame_rate)); put_be32 178 libavformat/rmenc.c put_be32(s, codec_data_size); put_be32 188 libavformat/rmenc.c put_be32(s, 0x00040000); /* version */ put_be32 190 libavformat/rmenc.c put_be32(s, 0x01b53530); /* stream length */ put_be32 192 libavformat/rmenc.c put_be32(s, 0x39); /* header size */ put_be32 216 libavformat/rmenc.c put_be32(s, coded_frame_size); /* frame length */ put_be32 217 libavformat/rmenc.c put_be32(s, 0x51540); /* unknown */ put_be32 218 libavformat/rmenc.c put_be32(s, 0x249f0); /* unknown */ put_be32 219 libavformat/rmenc.c put_be32(s, 0x249f0); /* unknown */ put_be32 223 libavformat/rmenc.c put_be32(s, 0); /* unknown */ put_be32 225 libavformat/rmenc.c put_be32(s, 0x10); /* unknown */ put_be32 235 libavformat/rmenc.c put_be32(s,34); /* size */ put_be32 243 libavformat/rmenc.c put_be32(s,0); /* unknown meaning */ put_be32 245 libavformat/rmenc.c put_be32(s,0); /* unknown meaning */ put_be32 251 libavformat/rmenc.c put_be32(s,0x10000000); put_be32 253 libavformat/rmenc.c put_be32(s,0x20103001); put_be32 268 libavformat/rmenc.c put_be32(s,data_size + 10 + 8); put_be32 271 libavformat/rmenc.c put_be32(s, nb_packets); /* number of packets */ put_be32 272 libavformat/rmenc.c put_be32(s,0); /* next data header */ put_be32 290 libavformat/rmenc.c put_be32(s, timestamp); /* timestamp */ put_be32 386 libavformat/rmenc.c put_be32(pb, size); /* total frame size */ put_be32 387 libavformat/rmenc.c put_be32(pb, size); /* offset from the start or the end */ put_be32 430 libavformat/rmenc.c put_be32(pb, 10 + 10 * s->nb_streams); put_be32 434 libavformat/rmenc.c put_be32(pb, 0); /* zero indexes */ put_be32 436 libavformat/rmenc.c put_be32(pb, 0); /* next index */ put_be32 439 libavformat/rmenc.c put_be32(pb, 0); put_be32 440 libavformat/rmenc.c put_be32(pb, 0); put_be32 448 libavformat/rmenc.c put_be32(pb, 0); put_be32 449 libavformat/rmenc.c put_be32(pb, 0); put_be32 204 libavformat/rtpdec.c put_be32(pb, s->ssrc); // our own SSRC put_be32 205 libavformat/rtpdec.c put_be32(pb, s->ssrc); // XXX: should be the server's here! put_be32 222 libavformat/rtpdec.c put_be32(pb, fraction); /* 8 bits of fraction, 24 bits of total packets lost */ put_be32 223 libavformat/rtpdec.c put_be32(pb, extended_max); /* max sequence received */ put_be32 224 libavformat/rtpdec.c put_be32(pb, stats->jitter>>4); /* jitter */ put_be32 228 libavformat/rtpdec.c put_be32(pb, 0); /* last SR timestamp */ put_be32 229 libavformat/rtpdec.c put_be32(pb, 0); /* delay since last SR */ put_be32 234 libavformat/rtpdec.c put_be32(pb, middle_32_bits); /* last SR timestamp */ put_be32 235 libavformat/rtpdec.c put_be32(pb, delay_since_last); /* delay since last SR */ put_be32 243 libavformat/rtpdec.c put_be32(pb, s->ssrc); put_be32 133 libavformat/rtpenc.c put_be32(s1->pb, s->ssrc); put_be32 134 libavformat/rtpenc.c put_be32(s1->pb, ntp_time / 1000000); put_be32 135 libavformat/rtpenc.c put_be32(s1->pb, ((ntp_time % 1000000) << 32) / 1000000); put_be32 136 libavformat/rtpenc.c put_be32(s1->pb, rtp_ts); put_be32 137 libavformat/rtpenc.c put_be32(s1->pb, s->packet_count); put_be32 138 libavformat/rtpenc.c put_be32(s1->pb, s->octet_count); put_be32 154 libavformat/rtpenc.c put_be32(s1->pb, s->timestamp); put_be32 155 libavformat/rtpenc.c put_be32(s1->pb, s->ssrc); put_be32 399 libavformat/swfenc.c put_be32(pb, 0xffd8ffd9);