Home
last modified time | relevance | path

Searched refs:frame_header (Results 1 – 4 of 4) sorted by relevance

/external/chromium-trace/catapult/telemetry/third_party/websocket-client/
Dwebsocket.py305 frame_header = chr(self.fin << 7
309 frame_header += chr(self.mask << 7 | length)
311 frame_header += chr(self.mask << 7 | 0x7e)
312 frame_header += struct.pack("!H", length)
314 frame_header += chr(self.mask << 7 | 0x7f)
315 frame_header += struct.pack("!Q", length)
318 return frame_header + self.data
321 return frame_header + self._get_masked(mask_key)
/external/webrtc/webrtc/examples/objc/AppRTCDemo/third_party/SocketRocket/
DSRWebSocket.m70 } frame_header; typedef
889 - (void)_handleFrameHeader:(frame_header)frame_header curData:(NSData *)curData; argument
891 assert(frame_header.opcode != 0);
898 …BOOL isControlFrame = (frame_header.opcode == SROpCodePing || frame_header.opcode == SROpCodePong …
900 if (isControlFrame && !frame_header.fin) {
905 if (isControlFrame && frame_header.payload_length >= 126) {
911 _currentFrameOpcode = frame_header.opcode;
915 if (frame_header.payload_length == 0) {
917 [self _handleFrameWithData:curData opCode:frame_header.opcode];
919 if (frame_header.fin) {
[all …]
/external/flac/libFLAC/
Dstream_encoder.c146 const FLAC__FrameHeader *frame_header,
3123 FLAC__FrameHeader frame_header; in process_subframes_() local
3142 frame_header.blocksize = encoder->protected_->blocksize; in process_subframes_()
3143 frame_header.sample_rate = encoder->protected_->sample_rate; in process_subframes_()
3144 frame_header.channels = encoder->protected_->channels; in process_subframes_()
3145frame_header.channel_assignment = FLAC__CHANNEL_ASSIGNMENT_INDEPENDENT; /* the default unless the … in process_subframes_()
3146 frame_header.bits_per_sample = encoder->protected_->bits_per_sample; in process_subframes_()
3147 frame_header.number_type = FLAC__FRAME_NUMBER_TYPE_FRAME_NUMBER; in process_subframes_()
3148 frame_header.number.frame_number = encoder->private_->current_frame_number; in process_subframes_()
3205 &frame_header, in process_subframes_()
[all …]
/external/webrtc/webrtc/tools/frame_analyzer/
Dvideo_quality_analysis.cc143 char frame_header[Y4M_FILE_HEADER_MAX_SIZE]; in ExtractFrameFromY4mFile() local
145 fread(frame_header, 1, Y4M_FILE_HEADER_MAX_SIZE, input_file); in ExtractFrameFromY4mFile()
152 std::string header_contents(frame_header); in ExtractFrameFromY4mFile()