put_le16 209 libavformat/asfenc.c put_le16(s,strlen(tag) + 1); put_le16 219 libavformat/asfenc.c put_le16(s, c); put_le16 252 libavformat/asfenc.c put_le16(pb, type); put_le16 253 libavformat/asfenc.c put_le16(pb, length); //size put_le16 255 libavformat/asfenc.c put_le16(pb, flags); /* unknown bytes */ put_le16 256 libavformat/asfenc.c put_le16(pb, length); //size_confirm put_le16 333 libavformat/asfenc.c put_le16(pb, 0); put_le16 339 libavformat/asfenc.c put_le16(pb, title ? 2 * (strlen(title->value ) + 1) : 0); put_le16 340 libavformat/asfenc.c put_le16(pb, author ? 2 * (strlen(author->value ) + 1) : 0); put_le16 341 libavformat/asfenc.c put_le16(pb, copyright ? 2 * (strlen(copyright->value) + 1) : 0); put_le16 342 libavformat/asfenc.c put_le16(pb, comment ? 2 * (strlen(comment->value ) + 1) : 0); put_le16 343 libavformat/asfenc.c put_le16(pb, 0); put_le16 353 libavformat/asfenc.c put_le16(pb, metadata_count); put_le16 355 libavformat/asfenc.c put_le16(pb, 2*(strlen(tag->key) + 3) + 1); put_le16 356 libavformat/asfenc.c put_le16(pb, 'W'); put_le16 357 libavformat/asfenc.c put_le16(pb, 'M'); put_le16 358 libavformat/asfenc.c put_le16(pb, '/'); put_le16 360 libavformat/asfenc.c put_le16(pb, 0); put_le16 361 libavformat/asfenc.c put_le16(pb, 2*strlen(tag->value) + 1); put_le16 403 libavformat/asfenc.c put_le16(pb, n + 1); /* stream number */ put_le16 411 libavformat/asfenc.c put_le16(pb, 0); put_le16 425 libavformat/asfenc.c put_le16(pb, 0x0190); put_le16 426 libavformat/asfenc.c put_le16(pb, 0x0190); put_le16 428 libavformat/asfenc.c put_le16(pb, enc->block_align); put_le16 429 libavformat/asfenc.c put_le16(pb, enc->block_align); put_le16 431 libavformat/asfenc.c put_le16(pb, 0x01); put_le16 437 libavformat/asfenc.c put_le16(pb, 40 + enc->extradata_size); /* size */ put_le16 457 libavformat/asfenc.c put_le16(pb, 2); put_le16 459 libavformat/asfenc.c put_le16(pb, 1); put_le16 461 libavformat/asfenc.c put_le16(pb, -1); put_le16 467 libavformat/asfenc.c put_le16(pb, 0); /* no parameters */ put_le16 472 libavformat/asfenc.c put_le16(pb, 2); put_le16 473 libavformat/asfenc.c put_le16(pb, enc->codec_tag); put_le16 475 libavformat/asfenc.c put_le16(pb, 4); put_le16 491 libavformat/asfenc.c put_le16(pb, header_size); put_le16 493 libavformat/asfenc.c put_le16(pb, header_size); put_le16 593 libavformat/asfenc.c put_le16(pb, padsize - 2); put_le16 598 libavformat/asfenc.c put_le16(pb, duration); put_le16 674 libavformat/asfenc.c put_le16(pb, payload_len); //payload length put_le16 804 libavformat/asfenc.c put_le16(pb, index[i].packet_count); put_le16 221 libavformat/avienc.c put_le16(pb, 0); /* priority */ put_le16 222 libavformat/avienc.c put_le16(pb, 0); /* language */ put_le16 248 libavformat/avienc.c put_le16(pb, stream->width); put_le16 249 libavformat/avienc.c put_le16(pb, stream->height); put_le16 280 libavformat/avienc.c put_le16(pb, 4); /* wLongsPerEntry */ put_le16 307 libavformat/avienc.c put_le16(pb, den); put_le16 308 libavformat/avienc.c put_le16(pb, num); put_le16 392 libavformat/avienc.c put_le16(pb, 2); /* wLongsPerEntry */ put_le16 226 libavformat/avio.h void put_le16(ByteIOContext *s, unsigned int val); put_le16 282 libavformat/aviobuf.c put_le16(s, val & 0xffff); put_le16 161 libavformat/ffmenc.c put_le16(pb, codec->channels); put_le16 162 libavformat/ffmenc.c put_le16(pb, codec->frame_size); put_le16 119 libavformat/gif.c put_le16(pb, width); put_le16 120 libavformat/gif.c put_le16(pb, height); put_le16 168 libavformat/gif.c put_le16(pb, (uint16_t)loop_count); put_le16 193 libavformat/gif.c put_le16(pb, x1); put_le16 194 libavformat/gif.c put_le16(pb, y1); put_le16 195 libavformat/gif.c put_le16(pb, width); put_le16 196 libavformat/gif.c put_le16(pb, height); put_le16 317 libavformat/gif.c put_le16(pb, jiffies); put_le16 382 libavformat/gxfenc.c put_le16(pb, 0); /* reserved */ put_le16 383 libavformat/gxfenc.c put_le16(pb, 0); /* reserved */ put_le16 384 libavformat/gxfenc.c put_le16(pb, ctx->audio_tracks); put_le16 385 libavformat/gxfenc.c put_le16(pb, 0); /* timecode track count */ put_le16 386 libavformat/gxfenc.c put_le16(pb, 0); /* reserved */ put_le16 387 libavformat/gxfenc.c put_le16(pb, ctx->mpeg_tracks); put_le16 431 libavformat/gxfenc.c put_le16(pb, sc->media_info); put_le16 432 libavformat/gxfenc.c put_le16(pb, 1); put_le16 519 libavformat/gxfenc.c put_le16(pb, 0); /* length */ put_le16 520 libavformat/gxfenc.c put_le16(pb, sc->media_info); put_le16 521 libavformat/gxfenc.c put_le16(pb, 0); /* reserved */ put_le16 522 libavformat/gxfenc.c put_le16(pb, 0); /* reserved */ put_le16 550 libavformat/gxfenc.c put_le16(pb, curpos - startpos); put_le16 562 libavformat/gxfenc.c put_le16(pb, 0); put_le16 563 libavformat/gxfenc.c put_le16(pb, 0); put_le16 1317 libavformat/matroskadec.c put_le16(&b, 1); put_le16 1318 libavformat/matroskadec.c put_le16(&b, track->audio.channels); put_le16 1319 libavformat/matroskadec.c put_le16(&b, track->audio.bitdepth); put_le16 1603 libavformat/mxfenc.c put_le16(pb, frame_size); put_le16 287 libavformat/riff.c put_le16(pb, enc->codec_tag); put_le16 288 libavformat/riff.c put_le16(pb, enc->channels); put_le16 322 libavformat/riff.c put_le16(pb, blkalign); /* block align */ put_le16 323 libavformat/riff.c put_le16(pb, bps); /* bits per sample */ put_le16 325 libavformat/riff.c put_le16(pb, 12); /* wav_extra_size */ put_le16 327 libavformat/riff.c put_le16(pb, 1); /* wID */ put_le16 329 libavformat/riff.c put_le16(pb, 1152); /* nBlockSize */ put_le16 330 libavformat/riff.c put_le16(pb, 1); /* nFramesPerBlock */ put_le16 331 libavformat/riff.c put_le16(pb, 1393); /* nCodecDelay */ put_le16 333 libavformat/riff.c put_le16(pb, 22); /* wav_extra_size */ put_le16 335 libavformat/riff.c put_le16(pb, 2); /* fwHeadLayer */ put_le16 337 libavformat/riff.c put_le16(pb, enc->channels == 2 ? 1 : 8); /* fwHeadMode */ put_le16 338 libavformat/riff.c put_le16(pb, 0); /* fwHeadModeExt */ put_le16 339 libavformat/riff.c put_le16(pb, 1); /* wHeadEmphasis */ put_le16 340 libavformat/riff.c put_le16(pb, 16); /* fwHeadFlags */ put_le16 344 libavformat/riff.c put_le16(pb, 2); /* wav_extra_size */ put_le16 346 libavformat/riff.c put_le16(pb, enc->frame_size); /* wSamplesPerBlock */ put_le16 348 libavformat/riff.c put_le16(pb, 2); /* wav_extra_size */ put_le16 350 libavformat/riff.c put_le16(pb, enc->frame_size); /* wSamplesPerBlock */ put_le16 352 libavformat/riff.c put_le16(pb, enc->extradata_size); put_le16 373 libavformat/riff.c put_le16(pb, 1); /* planes */ put_le16 375 libavformat/riff.c put_le16(pb, enc->bits_per_coded_sample ? enc->bits_per_coded_sample : 24); /* depth */ put_le16 36 libavformat/swfenc.c put_le16(pb, 0); put_le16 39 libavformat/swfenc.c put_le16(pb, 0); put_le16 56 libavformat/swfenc.c put_le16(pb, (tag << 6) | 0x3f); put_le16 60 libavformat/swfenc.c put_le16(pb, (tag << 6) | tag_len); put_le16 246 libavformat/swfenc.c put_le16(pb, (rate * 256) / rate_base); /* frame rate */ put_le16 248 libavformat/swfenc.c put_le16(pb, (uint16_t)(DUMMY_DURATION * (int64_t)rate / rate_base)); /* frame count */ put_le16 261 libavformat/swfenc.c put_le16(pb, SHAPE_ID); /* ID of shape */ put_le16 267 libavformat/swfenc.c put_le16(pb, BITMAP_ID); /* bitmap ID */ put_le16 321 libavformat/swfenc.c put_le16(s->pb, swf->samples_per_frame); /* avg samples per frame */ put_le16 322 libavformat/swfenc.c put_le16(s->pb, 0); put_le16 346 libavformat/swfenc.c put_le16(pb, VIDEO_ID); put_le16 348 libavformat/swfenc.c put_le16(pb, 15000); /* hard flash player limit */ put_le16 349 libavformat/swfenc.c put_le16(pb, enc->width); put_le16 350 libavformat/swfenc.c put_le16(pb, enc->height); put_le16 358 libavformat/swfenc.c put_le16(pb, 1); put_le16 359 libavformat/swfenc.c put_le16(pb, VIDEO_ID); put_le16 361 libavformat/swfenc.c put_le16(pb, swf->video_frame_number); put_le16 369 libavformat/swfenc.c put_le16(pb, 1); put_le16 370 libavformat/swfenc.c put_le16(pb, swf->video_frame_number); put_le16 376 libavformat/swfenc.c put_le16(pb, VIDEO_ID); put_le16 377 libavformat/swfenc.c put_le16(pb, swf->video_frame_number++); put_le16 384 libavformat/swfenc.c put_le16(pb, SHAPE_ID); /* shape ID */ put_le16 385 libavformat/swfenc.c put_le16(pb, 1); /* depth */ put_le16 390 libavformat/swfenc.c put_le16(pb, BITMAP_ID); put_le16 396 libavformat/swfenc.c put_le16(pb, BITMAP_ID); /* ID of the image */ put_le16 408 libavformat/swfenc.c put_le16(pb, SHAPE_ID); /* shape ID */ put_le16 409 libavformat/swfenc.c put_le16(pb, 1); /* depth */ put_le16 420 libavformat/swfenc.c put_le16(pb, swf->sound_samples); put_le16 421 libavformat/swfenc.c put_le16(pb, 0); // seek samples put_le16 498 libavformat/swfenc.c put_le16(pb, swf->video_frame_number); put_le16 500 libavformat/swfenc.c put_le16(pb, swf->video_frame_number); put_le16 40 libavformat/vocenc.c put_le16(pb, header_size); put_le16 41 libavformat/vocenc.c put_le16(pb, version); put_le16 42 libavformat/vocenc.c put_le16(pb, ~version + 0x1234); put_le16 60 libavformat/vocenc.c put_le16(pb, enc->codec_tag); put_le16 66 libavformat/vocenc.c put_le16(pb, 65536-256000000/(enc->sample_rate*enc->channels));