Lines Matching refs:put_byte
132 put_byte(pb, AMF_DATA_TYPE_NUMBER);
137 put_byte(pb, AMF_DATA_TYPE_BOOL);
138 put_byte(pb, !!b);
171 put_byte(pb,1);
172 put_byte(pb, FLV_HEADER_FLAG_HASAUDIO * !!audio_enc
179 put_byte(pb,8); // message type
189 put_byte(pb, 18); // tag type META
198 put_byte(pb, AMF_DATA_TYPE_STRING);
202 put_byte(pb, AMF_DATA_TYPE_MIXEDARRAY);
248 put_byte(pb, AMF_END_OF_OBJECT);
261 put_byte(pb, enc->codec_type == CODEC_TYPE_VIDEO ?
265 put_byte(pb, 0); // ts ext
269 put_byte(pb, get_audio_flags(enc));
270 put_byte(pb, 0); // AAC sequence header
273 put_byte(pb, enc->codec_tag | FLV_FRAME_KEY); // flags
274 put_byte(pb, 0); // AVC sequence header
329 put_byte(pb, FLV_TAG_TYPE_VIDEO);
344 put_byte(pb, FLV_TAG_TYPE_AUDIO);
360 put_byte(pb,(ts >> 24) & 0x7F); // timestamps are 32bits _signed_
362 put_byte(pb,flags);
364 put_byte(pb,0);
366 put_byte(pb, enc->extradata_size ? enc->extradata[0] : 0);
368 put_byte(pb,1); // AAC raw
370 put_byte(pb,1); // AVC NALU