put_le32 232 libavformat/aiff.c put_le32(pb, enc->codec_tag); put_le32 254 libavformat/asfenc.c put_le32(pb, asf->seqno);//sequence number put_le32 308 libavformat/asfenc.c put_le32(pb, 3 + has_title + !!metadata_count + s->nb_streams); /* number of chunks in header */ put_le32 323 libavformat/asfenc.c put_le32(pb, (asf->is_streamed || url_is_streamed(pb)) ? 3 : 2); /* ??? */ put_le32 324 libavformat/asfenc.c put_le32(pb, s->packet_size); /* packet size */ put_le32 325 libavformat/asfenc.c put_le32(pb, s->packet_size); /* packet size */ put_le32 326 libavformat/asfenc.c put_le32(pb, bit_rate); /* Nominal data rate in bps */ put_le32 332 libavformat/asfenc.c put_le32(pb, 6); put_le32 401 libavformat/asfenc.c put_le32(pb, extra_size); /* wav header len */ put_le32 402 libavformat/asfenc.c put_le32(pb, extra_size2); /* additional data len */ put_le32 404 libavformat/asfenc.c put_le32(pb, 0); /* ??? */ put_le32 419 libavformat/asfenc.c put_le32(pb, wavsize); /* wav header len */ put_le32 434 libavformat/asfenc.c put_le32(pb, enc->width); put_le32 435 libavformat/asfenc.c put_le32(pb, enc->height); put_le32 449 libavformat/asfenc.c put_le32(pb, s->nb_streams); put_le32 476 libavformat/asfenc.c put_le32(pb, enc->codec_tag); put_le32 597 libavformat/asfenc.c put_le32(pb, sendtime); put_le32 661 libavformat/asfenc.c put_le32(pb, m_obj_offset); //Offset Into Media Object put_le32 670 libavformat/asfenc.c put_le32(pb, m_obj_size); //Replicated Data - Media Object Size put_le32 671 libavformat/asfenc.c put_le32(pb, presentation_time);//Replicated Data - Presentation Time put_le32 800 libavformat/asfenc.c put_le32(pb, max); put_le32 801 libavformat/asfenc.c put_le32(pb, count); put_le32 803 libavformat/asfenc.c put_le32(pb, index[i].packet_number); put_le32 98 libavformat/avienc.c put_le32(pb, len); put_le32 129 libavformat/avienc.c put_le32(pb, avi->packet_count[n]); put_le32 131 libavformat/avienc.c put_le32(pb, avi->audio_strm_length[n] / au_ssize); put_le32 139 libavformat/avienc.c put_le32(pb, nb_frames); put_le32 160 libavformat/avienc.c put_le32(pb, 14 * 4); put_le32 174 libavformat/avienc.c put_le32(pb, (uint32_t)(INT64_C(1000000) * video_enc->time_base.num / video_enc->time_base.den)); put_le32 176 libavformat/avienc.c put_le32(pb, 0); put_le32 178 libavformat/avienc.c put_le32(pb, bitrate / 8); /* XXX: not quite exact */ put_le32 179 libavformat/avienc.c put_le32(pb, 0); /* padding */ put_le32 181 libavformat/avienc.c put_le32(pb, AVIF_TRUSTCKTYPE | AVIF_ISINTERLEAVED); /* flags */ put_le32 183 libavformat/avienc.c put_le32(pb, AVIF_TRUSTCKTYPE | AVIF_HASINDEX | AVIF_ISINTERLEAVED); /* flags */ put_le32 185 libavformat/avienc.c put_le32(pb, nb_frames); /* nb frames, filled later */ put_le32 186 libavformat/avienc.c put_le32(pb, 0); /* initial frame */ put_le32 187 libavformat/avienc.c put_le32(pb, s->nb_streams); /* nb streams */ put_le32 188 libavformat/avienc.c put_le32(pb, 1024 * 1024); /* suggested buffer size */ put_le32 190 libavformat/avienc.c put_le32(pb, video_enc->width); put_le32 191 libavformat/avienc.c put_le32(pb, video_enc->height); put_le32 193 libavformat/avienc.c put_le32(pb, 0); put_le32 194 libavformat/avienc.c put_le32(pb, 0); put_le32 196 libavformat/avienc.c put_le32(pb, 0); /* reserved */ put_le32 197 libavformat/avienc.c put_le32(pb, 0); /* reserved */ put_le32 198 libavformat/avienc.c put_le32(pb, 0); /* reserved */ put_le32 199 libavformat/avienc.c put_le32(pb, 0); /* reserved */ put_le32 217 libavformat/avienc.c put_le32(pb, stream->codec_tag); put_le32 219 libavformat/avienc.c put_le32(pb, 1); put_le32 220 libavformat/avienc.c put_le32(pb, 0); /* flags */ put_le32 223 libavformat/avienc.c put_le32(pb, 0); /* initial frame */ put_le32 227 libavformat/avienc.c put_le32(pb, au_scale); /* scale */ put_le32 228 libavformat/avienc.c put_le32(pb, au_byterate); /* rate */ put_le32 231 libavformat/avienc.c put_le32(pb, 0); /* start */ put_le32 234 libavformat/avienc.c put_le32(pb, AVI_MAX_RIFF_SIZE); /* FIXME: this may be broken, but who cares */ put_le32 236 libavformat/avienc.c put_le32(pb, 0); /* length, XXX: filled later */ put_le32 240 libavformat/avienc.c put_le32(pb, 1024 * 1024); put_le32 242 libavformat/avienc.c put_le32(pb, 12 * 1024); put_le32 244 libavformat/avienc.c put_le32(pb, 0); put_le32 245 libavformat/avienc.c put_le32(pb, -1); /* quality */ put_le32 246 libavformat/avienc.c put_le32(pb, au_ssize); /* sample size */ put_le32 247 libavformat/avienc.c put_le32(pb, 0); put_le32 283 libavformat/avienc.c put_le32(pb, 0); /* nEntriesInUse (will fill out later on) */ put_le32 302 libavformat/avienc.c put_le32(pb, 0); //video format = unknown put_le32 303 libavformat/avienc.c put_le32(pb, 0); //video standard= unknown put_le32 304 libavformat/avienc.c put_le32(pb, lrintf(1.0/av_q2d(stream->time_base))); put_le32 305 libavformat/avienc.c put_le32(pb, stream->width ); put_le32 306 libavformat/avienc.c put_le32(pb, stream->height); put_le32 309 libavformat/avienc.c put_le32(pb, stream->width ); put_le32 310 libavformat/avienc.c put_le32(pb, stream->height); put_le32 311 libavformat/avienc.c put_le32(pb, 1); //progressive FIXME put_le32 313 libavformat/avienc.c put_le32(pb, stream->height); put_le32 314 libavformat/avienc.c put_le32(pb, stream->width ); put_le32 315 libavformat/avienc.c put_le32(pb, stream->height); put_le32 316 libavformat/avienc.c put_le32(pb, stream->width ); put_le32 317 libavformat/avienc.c put_le32(pb, 0); put_le32 318 libavformat/avienc.c put_le32(pb, 0); put_le32 320 libavformat/avienc.c put_le32(pb, 0); put_le32 321 libavformat/avienc.c put_le32(pb, 0); put_le32 333 libavformat/avienc.c put_le32(pb, 248); put_le32 335 libavformat/avienc.c put_le32(pb, 0); put_le32 357 libavformat/avienc.c put_le32(pb, 0); put_le32 390 libavformat/avienc.c put_le32(pb, avi->indexes[i].entry * 8 + 24); put_le32 395 libavformat/avienc.c put_le32(pb, avi->indexes[i].entry); put_le32 399 libavformat/avienc.c put_le32(pb, 0); /* dwReserved_3 (must be 0) */ put_le32 403 libavformat/avienc.c put_le32(pb, ie->pos + 8); put_le32 404 libavformat/avienc.c put_le32(pb, ((uint32_t)ie->len & ~0x80000000) | put_le32 414 libavformat/avienc.c put_le32(pb, avi->riff_id); /* nEntriesInUse */ put_le32 417 libavformat/avienc.c put_le32(pb, pos - ix); /* dwSize */ put_le32 418 libavformat/avienc.c put_le32(pb, avi->indexes[i].entry); /* dwDuration */ put_le32 457 libavformat/avienc.c put_le32(pb, ie->flags); put_le32 458 libavformat/avienc.c put_le32(pb, ie->pos); put_le32 459 libavformat/avienc.c put_le32(pb, ie->len); put_le32 535 libavformat/avienc.c put_le32(pb, size); put_le32 578 libavformat/avienc.c put_le32(pb, nb_frames); put_le32 222 libavformat/avio.h void put_le32(ByteIOContext *s, unsigned int val); put_le32 258 libavformat/aviobuf.c put_le32(s, (uint32_t)(val & 0xffffffff)); put_le32 259 libavformat/aviobuf.c put_le32(s, (uint32_t)(val >> 32)); put_le32 94 libavformat/ffmenc.c put_le32(pb, MKTAG('F', 'F', 'M', '1')); put_le32 354 libavformat/gxfenc.c put_le32(pb, 1000); /* number of fields */ put_le32 355 libavformat/gxfenc.c put_le32(pb, 0); /* number of active flt entries */ put_le32 358 libavformat/gxfenc.c put_le32(pb, 0); put_le32 373 libavformat/gxfenc.c put_le32(pb, ctx->flags); put_le32 374 libavformat/gxfenc.c put_le32(pb, ctx->nb_fields); /* length of the longest track */ put_le32 375 libavformat/gxfenc.c put_le32(pb, ctx->nb_fields); /* length of the shortest track */ put_le32 376 libavformat/gxfenc.c put_le32(pb, 0); /* mark in */ put_le32 377 libavformat/gxfenc.c put_le32(pb, ctx->nb_fields); /* mark out */ put_le32 378 libavformat/gxfenc.c put_le32(pb, 0); /* timecode mark in */ put_le32 379 libavformat/gxfenc.c put_le32(pb, timecode); /* timecode mark out */ put_le32 393 libavformat/gxfenc.c put_le32(pb, ctx->umf_length); /* total length of the umf data */ put_le32 394 libavformat/gxfenc.c put_le32(pb, 3); /* version */ put_le32 395 libavformat/gxfenc.c put_le32(pb, ctx->fc->nb_streams); put_le32 396 libavformat/gxfenc.c put_le32(pb, ctx->umf_track_offset); /* umf track section offset */ put_le32 397 libavformat/gxfenc.c put_le32(pb, ctx->umf_track_size); put_le32 398 libavformat/gxfenc.c put_le32(pb, ctx->fc->nb_streams); put_le32 399 libavformat/gxfenc.c put_le32(pb, ctx->umf_media_offset); put_le32 400 libavformat/gxfenc.c put_le32(pb, ctx->umf_media_size); put_le32 401 libavformat/gxfenc.c put_le32(pb, ctx->umf_user_data_offset); /* user data offset */ put_le32 402 libavformat/gxfenc.c put_le32(pb, ctx->umf_user_data_size); /* user data size */ put_le32 403 libavformat/gxfenc.c put_le32(pb, 0); /* reserved */ put_le32 404 libavformat/gxfenc.c put_le32(pb, 0); /* reserved */ put_le32 440 libavformat/gxfenc.c put_le32(pb, 2); put_le32 442 libavformat/gxfenc.c put_le32(pb, 1); /* default to 420 */ put_le32 443 libavformat/gxfenc.c put_le32(pb, stream->first_gop_closed == 1); /* closed = 1, open = 0, unknown = 255 */ put_le32 444 libavformat/gxfenc.c put_le32(pb, 3); /* top = 1, bottom = 2, frame = 3, unknown = 0 */ put_le32 445 libavformat/gxfenc.c put_le32(pb, 1); /* I picture per GOP */ put_le32 446 libavformat/gxfenc.c put_le32(pb, stream->p_per_gop); put_le32 447 libavformat/gxfenc.c put_le32(pb, stream->b_per_i_or_p); put_le32 449 libavformat/gxfenc.c put_le32(pb, 2); put_le32 451 libavformat/gxfenc.c put_le32(pb, 1); put_le32 453 libavformat/gxfenc.c put_le32(pb, 0); put_le32 454 libavformat/gxfenc.c put_le32(pb, 0); /* reserved */ put_le32 486 libavformat/gxfenc.c put_le32(pb, 0); /* number of fields over which to ramp up sound level */ put_le32 487 libavformat/gxfenc.c put_le32(pb, 0); /* number of fields over which to ramp down sound level */ put_le32 488 libavformat/gxfenc.c put_le32(pb, 0); /* reserved */ put_le32 489 libavformat/gxfenc.c put_le32(pb, 0); /* reserved */ put_le32 523 libavformat/gxfenc.c put_le32(pb, ctx->nb_fields); put_le32 524 libavformat/gxfenc.c put_le32(pb, 0); /* attributes rw, ro */ put_le32 525 libavformat/gxfenc.c put_le32(pb, 0); /* mark in */ put_le32 526 libavformat/gxfenc.c put_le32(pb, ctx->nb_fields); /* mark out */ put_le32 531 libavformat/gxfenc.c put_le32(pb, sc->track_type); put_le32 532 libavformat/gxfenc.c put_le32(pb, sc->sample_rate); put_le32 533 libavformat/gxfenc.c put_le32(pb, sc->sample_size); put_le32 534 libavformat/gxfenc.c put_le32(pb, 0); /* reserved */ put_le32 560 libavformat/gxfenc.c put_le32(pb, 20); put_le32 561 libavformat/gxfenc.c put_le32(pb, 0); put_le32 564 libavformat/gxfenc.c put_le32(pb, 0); put_le32 1320 libavformat/matroskadec.c put_le32(&b, track->audio.out_samplerate); put_le32 1321 libavformat/matroskadec.c put_le32(&b, matroska->ctx->duration * track->audio.out_samplerate); put_le32 365 libavformat/movenc.c put_le32(pb, track->tag); put_le32 407 libavformat/movenc.c put_le32(pb, track->tag); // store it byteswapped put_le32 656 libavformat/movenc.c put_le32(pb, track->tag); // store it byteswapped put_le32 673 libavformat/movenc.c put_le32(pb, track->tag); // store it byteswapped put_le32 1616 libavformat/mxfenc.c put_le32(pb, sample | i); put_le32 1619 libavformat/mxfenc.c put_le32(pb, i); put_le32 311 libavformat/nutenc.c put_le32(bc, get_checksum(bc)); put_le32 317 libavformat/nutenc.c put_le32(bc, get_checksum(bc)); put_le32 404 libavformat/nutenc.c put_le32(bc, codec->codec_tag); put_le32 780 libavformat/nutenc.c if(flags & FLAG_CHECKSUM) put_le32(bc, get_checksum(bc)); put_le32 70 libavformat/oggenc.c put_le32(s->pb, stream_index); put_le32 71 libavformat/oggenc.c put_le32(s->pb, oggstream->page_counter++); put_le32 73 libavformat/oggenc.c put_le32(s->pb, 0); // crc put_le32 263 libavformat/riff.c put_le32(pb, 0); put_le32 273 libavformat/riff.c put_le32(pb, (uint32_t)(pos - start)); put_le32 289 libavformat/riff.c put_le32(pb, enc->sample_rate); put_le32 321 libavformat/riff.c put_le32(pb, bytespersec); /* bytes per second */ put_le32 328 libavformat/riff.c put_le32(pb, 2); /* fdwFlags */ put_le32 336 libavformat/riff.c put_le32(pb, enc->bit_rate); /* dwHeadBitrate */ put_le32 341 libavformat/riff.c put_le32(pb, 0); /* dwPTSLow */ put_le32 342 libavformat/riff.c put_le32(pb, 0); /* dwPTSHigh */ put_le32 369 libavformat/riff.c put_le32(pb, 40 + enc->extradata_size); /* size */ put_le32 370 libavformat/riff.c put_le32(pb, enc->width); put_le32 372 libavformat/riff.c put_le32(pb, enc->codec_tag ? enc->height : -enc->height); put_le32 377 libavformat/riff.c put_le32(pb, enc->codec_tag); put_le32 378 libavformat/riff.c put_le32(pb, enc->width * enc->height * 3); put_le32 379 libavformat/riff.c put_le32(pb, 0); put_le32 380 libavformat/riff.c put_le32(pb, 0); put_le32 381 libavformat/riff.c put_le32(pb, 0); put_le32 382 libavformat/riff.c put_le32(pb, 0); put_le32 37 libavformat/swfenc.c put_le32(pb, 0); put_le32 57 libavformat/swfenc.c put_le32(pb, tag_len - 4); put_le32 242 libavformat/swfenc.c put_le32(pb, DUMMY_FILE_SIZE); /* dummy size put_le32 253 libavformat/swfenc.c put_le32(pb, 1<<3); /* set ActionScript v3/AVM2 flag */ put_le32 496 libavformat/swfenc.c put_le32(pb, file_size); put_le32 38 libavformat/vc1testenc.c put_le32(pb, 4); put_le32 40 libavformat/vc1testenc.c put_le32(pb, avc->height); put_le32 41 libavformat/vc1testenc.c put_le32(pb, avc->width); put_le32 42 libavformat/vc1testenc.c put_le32(pb, 0xC); put_le32 45 libavformat/vc1testenc.c put_le32(pb, 0); // hrd_rate put_le32 47 libavformat/vc1testenc.c put_le32(pb, s->streams[0]->r_frame_rate.den); put_le32 49 libavformat/vc1testenc.c put_le32(pb, 0xFFFFFFFF); //variable framerate put_le32 61 libavformat/vc1testenc.c put_le32(pb, pkt->size | ((pkt->flags & PKT_FLAG_KEY) ? 0x80000000 : 0)); put_le32 62 libavformat/vc1testenc.c put_le32(pb, pkt->pts); put_le32 57 libavformat/vocenc.c put_le32(pb, enc->sample_rate); put_le32 61 libavformat/vocenc.c put_le32(pb, 0); put_le32 41 libavformat/wav.c put_le32(pb, 0); /* file length */ put_le32 57 libavformat/wav.c put_le32(pb, 0); put_le32 99 libavformat/wav.c put_le32(pb, (uint32_t)(file_size - 8)); put_le32 111 libavformat/wav.c put_le32(pb, number_of_samples);