put_be16 212 libavformat/aiff.c put_be16(pb, enc->channels); /* Number of channels */ put_be16 226 libavformat/aiff.c put_be16(pb, enc->bits_per_coded_sample); /* Sample size */ put_be16 233 libavformat/aiff.c put_be16(pb, 0); put_be16 137 libavformat/avc.c put_be16(pb, sps_size); put_be16 140 libavformat/avc.c put_be16(pb, pps_size); put_be16 227 libavformat/avio.h void put_be16(ByteIOContext *s, unsigned int val); put_be16 288 libavformat/aviobuf.c put_be16(s, val >> 8); put_be16 60 libavformat/daud.c put_be16(s->pb, pkt->size); put_be16 61 libavformat/daud.c put_be16(s->pb, 0x8010); // unknown put_be16 39 libavformat/ffmenc.c put_be16(pb, PACKET_ID); put_be16 40 libavformat/ffmenc.c put_be16(pb, fill_size); put_be16 45 libavformat/ffmenc.c put_be16(pb, h); put_be16 126 libavformat/ffmenc.c put_be16(pb, codec->width); put_be16 127 libavformat/ffmenc.c put_be16(pb, codec->height); put_be16 128 libavformat/ffmenc.c put_be16(pb, codec->gop_size); put_be16 133 libavformat/ffmenc.c put_be16(pb, (int) (codec->qcompress * 10000.0)); put_be16 134 libavformat/ffmenc.c put_be16(pb, (int) (codec->qblur * 10000.0)); put_be16 126 libavformat/flvenc.c put_be16(pb, len); put_be16 153 libavformat/gxfenc.c put_be16(pb, curpos - pos - 2); put_be16 227 libavformat/gxfenc.c put_be16(pb, 0); /* size */ put_be16 233 libavformat/gxfenc.c put_be16(pb, stream->media_info); put_be16 278 libavformat/gxfenc.c put_be16(pb, 0); /* size */ put_be16 324 libavformat/gxfenc.c put_be16(pb, 0); /* size */ put_be16 529 libavformat/gxfenc.c put_be16(pb, sc->media_info); put_be16 745 libavformat/gxfenc.c put_be16(pb, 0); put_be16 746 libavformat/gxfenc.c put_be16(pb, size / 2); put_be16 754 libavformat/matroskaenc.c put_be16(pb, pkt->pts - mkv->cluster_pts); put_be16 786 libavformat/matroskaenc.c put_be16(pb, pkt->pts - mkv->cluster_pts); put_be16 218 libavformat/movenc.c put_be16(pb, 0x81FF); /* Mode set (all modes for AMR_NB) */ put_be16 282 libavformat/movenc.c put_be16(pb, 1); /* little endian */ put_be16 314 libavformat/movenc.c put_be16(pb, track->trackID); put_be16 336 libavformat/movenc.c put_be16(pb, (track->enc->rc_buffer_size>>3)&0xFFFF); // Buffersize DB put_be16 409 libavformat/movenc.c put_be16(pb, 0); /* Reserved */ put_be16 410 libavformat/movenc.c put_be16(pb, 1); /* Data-reference index, XXX == 1 */ put_be16 413 libavformat/movenc.c put_be16(pb, version); /* Version */ put_be16 414 libavformat/movenc.c put_be16(pb, 0); /* Revision level */ put_be16 418 libavformat/movenc.c put_be16(pb, track->enc->channels); put_be16 421 libavformat/movenc.c put_be16(pb, 8); /* bits per sample */ put_be16 423 libavformat/movenc.c put_be16(pb, 16); put_be16 424 libavformat/movenc.c put_be16(pb, track->audio_vbr ? -2 : 0); /* compression ID */ put_be16 426 libavformat/movenc.c put_be16(pb, 2); put_be16 427 libavformat/movenc.c put_be16(pb, 16); put_be16 428 libavformat/movenc.c put_be16(pb, 0); put_be16 431 libavformat/movenc.c put_be16(pb, 0); /* packet size (= 0) */ put_be16 432 libavformat/movenc.c put_be16(pb, track->timescale); /* Time scale */ put_be16 433 libavformat/movenc.c put_be16(pb, 0); /* Reserved */ put_be16 658 libavformat/movenc.c put_be16(pb, 0); /* Reserved */ put_be16 659 libavformat/movenc.c put_be16(pb, 1); /* Data-reference index */ put_be16 675 libavformat/movenc.c put_be16(pb, 0); /* Reserved */ put_be16 676 libavformat/movenc.c put_be16(pb, 1); /* Data-reference index */ put_be16 678 libavformat/movenc.c put_be16(pb, 0); /* Codec stream version */ put_be16 679 libavformat/movenc.c put_be16(pb, 0); /* Codec stream revision (=0) */ put_be16 694 libavformat/movenc.c put_be16(pb, track->enc->width); /* Video width */ put_be16 695 libavformat/movenc.c put_be16(pb, track->height); /* Video height */ put_be16 699 libavformat/movenc.c put_be16(pb, 1); /* Frame count (= 1) */ put_be16 709 libavformat/movenc.c put_be16(pb, track->enc->bits_per_coded_sample); put_be16 711 libavformat/movenc.c put_be16(pb, 0x18); /* Reserved */ put_be16 712 libavformat/movenc.c put_be16(pb, 0xffff); /* Reserved */ put_be16 879 libavformat/movenc.c put_be16(pb, 0x40); /* graphics mode = */ put_be16 880 libavformat/movenc.c put_be16(pb, 0x8000); /* opColor (r?) */ put_be16 881 libavformat/movenc.c put_be16(pb, 0x8000); /* opColor (g?) */ put_be16 882 libavformat/movenc.c put_be16(pb, 0x8000); /* opColor (b?) */ put_be16 883 libavformat/movenc.c put_be16(pb, 0); /* balance */ put_be16 884 libavformat/movenc.c put_be16(pb, 0); /* reserved */ put_be16 893 libavformat/movenc.c put_be16(pb, 0); /* reserved (balance, normally = 0) */ put_be16 894 libavformat/movenc.c put_be16(pb, 0); /* reserved */ put_be16 981 libavformat/movenc.c put_be16(pb, track->language); /* language */ put_be16 982 libavformat/movenc.c put_be16(pb, 0); /* reserved (quality) */ put_be16 1030 libavformat/movenc.c put_be16(pb, 0x0100); put_be16 1032 libavformat/movenc.c put_be16(pb, 0); put_be16 1033 libavformat/movenc.c put_be16(pb, 0); /* reserved */ put_be16 1119 libavformat/movenc.c put_be16(pb, 0x1007); put_be16 1121 libavformat/movenc.c put_be16(pb, 0x4fff); put_be16 1122 libavformat/movenc.c put_be16(pb, 0xfffe); put_be16 1123 libavformat/movenc.c put_be16(pb, 0x01ff); put_be16 1160 libavformat/movenc.c put_be16(pb, 0x0100); /* reserved (preferred volume) 1.0 = normal */ put_be16 1161 libavformat/movenc.c put_be16(pb, 0); /* reserved */ put_be16 1198 libavformat/movenc.c put_be16(pb, 0); put_be16 1214 libavformat/movenc.c put_be16(pb, strlen(data)); /* string length */ put_be16 1215 libavformat/movenc.c put_be16(pb, lang); put_be16 1273 libavformat/movenc.c put_be16(pb, 0); // empty put_be16 1274 libavformat/movenc.c put_be16(pb, track); // track number put_be16 1275 libavformat/movenc.c put_be16(pb, 0); // total track number put_be16 1276 libavformat/movenc.c put_be16(pb, 0); // empty put_be16 1335 libavformat/movenc.c put_be16(pb, val); put_be16 1337 libavformat/movenc.c put_be16(pb, 0x00); put_be16 1357 libavformat/movenc.c put_be16(pb, atoi(t->value)); put_be16 1359 libavformat/movenc.c put_be16(pb, language_code("eng")); /* language */ put_be16 1422 libavformat/movenc.c put_be16(pb, len*2+10); /* size */ put_be16 1424 libavformat/movenc.c put_be16(pb, language_code(lang)); /* language */ put_be16 1425 libavformat/movenc.c put_be16(pb, 0x01); /* ? */ put_be16 1446 libavformat/movenc.c put_be16(pb, 4); put_be16 1449 libavformat/movenc.c put_be16(pb, 0x0C); /* size */ put_be16 1451 libavformat/movenc.c put_be16(pb, language_code("und")); /* language */ put_be16 1452 libavformat/movenc.c put_be16(pb, 0x0); /* ? */ put_be16 1453 libavformat/movenc.c put_be16(pb, 0x021C); /* data */ put_be16 1611 libavformat/movenc.c put_be16(pb, 0x014D); put_be16 1612 libavformat/movenc.c put_be16(pb, 0x0015); put_be16 1615 libavformat/movenc.c put_be16(pb, 0x0000); put_be16 1616 libavformat/movenc.c put_be16(pb, 0x0103); put_be16 1623 libavformat/movenc.c put_be16(pb, VideoCodec->width); put_be16 1624 libavformat/movenc.c put_be16(pb, VideoCodec->height); put_be16 592 libavformat/mp3.c put_be16(s->pb, 0); put_be16 491 libavformat/mpegenc.c put_be16(pb, (uint16_t)((((timestamp >> 15) & 0x7fff) << 1) | 1)); put_be16 492 libavformat/mpegenc.c put_be16(pb, (uint16_t)((((timestamp ) & 0x7fff) << 1) | 1)); put_be16 613 libavformat/mpegenc.c put_be16(pb, packet_bytes - 6); put_be16 696 libavformat/mpegenc.c put_be16(ctx->pb, 0x03d4); // length put_be16 702 libavformat/mpegenc.c put_be16(ctx->pb, 0x03fa); // length put_be16 835 libavformat/mpegenc.c put_be16(ctx->pb, packet_size); put_be16 872 libavformat/mpegenc.c put_be16(ctx->pb, 0x4000 | stream->max_buffer_size/ 128); put_be16 874 libavformat/mpegenc.c put_be16(ctx->pb, 0x6000 | stream->max_buffer_size/1024); put_be16 904 libavformat/mpegenc.c put_be16(ctx->pb, 4); /* skip 3 header bytes */ put_be16 911 libavformat/mpegenc.c put_be16(ctx->pb, trailer_size+1); put_be16 306 libavformat/mxfenc.c put_be16(pb, type); put_be16 307 libavformat/mxfenc.c put_be16(pb, value); put_be16 383 libavformat/mxfenc.c put_be16(pb, mxf_local_tag_batch[i].local_tag); put_be16 390 libavformat/mxfenc.c put_be16(pb, tag); put_be16 391 libavformat/mxfenc.c put_be16(pb, size); put_be16 455 libavformat/mxfenc.c put_be16(pb, 258); // v1.2 put_be16 487 libavformat/mxfenc.c put_be16(pb, value[i]); put_be16 663 libavformat/mxfenc.c put_be16(pb, mxf->timecode_base); put_be16 889 libavformat/mxfenc.c put_be16(pb, st->codec->block_align); put_be16 1200 libavformat/mxfenc.c put_be16(pb, 1); // majorVersion put_be16 1201 libavformat/mxfenc.c put_be16(pb, 2); // minorVersion put_be16 1535 libavformat/mxfenc.c put_be16(pb, 0x00); // channel handle put_be16 1536 libavformat/mxfenc.c put_be16(pb, frame); // continuity count put_be16 1557 libavformat/mxfenc.c put_be16(pb, 0x20); put_be16 49 libavformat/rmenc.c put_be16(s,strlen(tag)); put_be16 79 libavformat/rmenc.c put_be16(s,0); put_be16 85 libavformat/rmenc.c put_be16(s, 0); put_be16 118 libavformat/rmenc.c put_be16(s, ctx->nb_streams); /* num streams */ put_be16 122 libavformat/rmenc.c put_be16(s, flags); put_be16 133 libavformat/rmenc.c put_be16(s,0); put_be16 157 libavformat/rmenc.c put_be16(s, 0); put_be16 159 libavformat/rmenc.c put_be16(s, i); /* stream number */ put_be16 191 libavformat/rmenc.c put_be16(s, 4); /* unknown */ put_be16 211 libavformat/rmenc.c put_be16(s, fscode); /* codec additional info, for AC-3, seems put_be16 220 libavformat/rmenc.c put_be16(s, 0x01); put_be16 222 libavformat/rmenc.c put_be16(s, coded_frame_size); put_be16 224 libavformat/rmenc.c put_be16(s, stream->enc->sample_rate); /* sample rate */ put_be16 226 libavformat/rmenc.c put_be16(s, stream->enc->channels); put_be16 229 libavformat/rmenc.c put_be16(s, 0); /* title length */ put_be16 230 libavformat/rmenc.c put_be16(s, 0); /* author length */ put_be16 231 libavformat/rmenc.c put_be16(s, 0); /* copyright length */ put_be16 240 libavformat/rmenc.c put_be16(s, stream->enc->width); put_be16 241 libavformat/rmenc.c put_be16(s, stream->enc->height); put_be16 242 libavformat/rmenc.c put_be16(s, (int) stream->frame_rate); /* frames per seconds ? */ put_be16 244 libavformat/rmenc.c put_be16(s, (int) stream->frame_rate); /* unknown meaning */ put_be16 246 libavformat/rmenc.c put_be16(s, 8); /* unknown meaning */ put_be16 269 libavformat/rmenc.c put_be16(s,0); put_be16 286 libavformat/rmenc.c put_be16(s,0); /* version */ put_be16 287 libavformat/rmenc.c put_be16(s,length + 12); put_be16 288 libavformat/rmenc.c put_be16(s, stream->num); /* stream number */ put_be16 389 libavformat/rmenc.c put_be16(pb, 0x4000 | size); /* total frame size */ put_be16 390 libavformat/rmenc.c put_be16(pb, 0x4000 | size); /* offset from the start or the end */ put_be16 396 libavformat/rmenc.c put_be16(pb, 0x4000 + size); /* total frame size */ put_be16 397 libavformat/rmenc.c put_be16(pb, 0x4000 + packet_number * 126); /* position in stream */ put_be16 431 libavformat/rmenc.c put_be16(pb, 0); put_be16 435 libavformat/rmenc.c put_be16(pb, i); /* stream number */ put_be16 203 libavformat/rtpdec.c put_be16(pb, 7); /* length in words - 1 */ put_be16 242 libavformat/rtpdec.c put_be16(pb, (6 + len + 3) / 4); /* length in words - 1 */ put_be16 132 libavformat/rtpenc.c put_be16(s1->pb, 6); /* length in words - 1 */ put_be16 153 libavformat/rtpenc.c put_be16(s1->pb, s->seq);