Searched refs:frame_header (Results 1 – 4 of 4) sorted by relevance
213 frame_header = chr(self.fin << 7217 frame_header += chr(self.mask << 7 | length)218 frame_header = six.b(frame_header)220 frame_header += chr(self.mask << 7 | 0x7e)221 frame_header = six.b(frame_header)222 frame_header += struct.pack("!H", length)224 frame_header += chr(self.mask << 7 | 0x7f)225 frame_header = six.b(frame_header)226 frame_header += struct.pack("!Q", length)229 return frame_header + self.data[all …]
70 } frame_header; typedef889 - (void)_handleFrameHeader:(frame_header)frame_header curData:(NSData *)curData; argument891 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 …]
146 const FLAC__FrameHeader *frame_header,3122 FLAC__FrameHeader frame_header; in process_subframes_() local3141 frame_header.blocksize = encoder->protected_->blocksize; in process_subframes_()3142 frame_header.sample_rate = encoder->protected_->sample_rate; in process_subframes_()3143 frame_header.channels = encoder->protected_->channels; in process_subframes_()3144 …frame_header.channel_assignment = FLAC__CHANNEL_ASSIGNMENT_INDEPENDENT; /* the default unless the … in process_subframes_()3145 frame_header.bits_per_sample = encoder->protected_->bits_per_sample; in process_subframes_()3146 frame_header.number_type = FLAC__FRAME_NUMBER_TYPE_FRAME_NUMBER; in process_subframes_()3147 frame_header.number.frame_number = encoder->private_->current_frame_number; in process_subframes_()3204 &frame_header, in process_subframes_()[all …]
143 char frame_header[Y4M_FILE_HEADER_MAX_SIZE]; in ExtractFrameFromY4mFile() local145 fread(frame_header, 1, Y4M_FILE_HEADER_MAX_SIZE, input_file); in ExtractFrameFromY4mFile()152 std::string header_contents(frame_header); in ExtractFrameFromY4mFile()