Lines Matching refs:substr

63 		if (substr($filedata, 0, 4) == 'fLaC') {
69 } elseif (substr($filedata, 1, 6) == 'vorbis') {
73 } elseif (substr($filedata, 0, 8) == 'OpusHead') {
79 } elseif (substr($filedata, 0, 8) == 'Speex ') {
88 …['page_seqno']]['speex_string'] = substr($filedata, $fileda…
90 …['page_seqno']]['speex_version'] = substr($filedata, $fileda…
92 …['page_seqno']]['speex_version_id'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
94 …['page_seqno']]['header_size'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
96 …['page_seqno']]['rate'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
98 …['page_seqno']]['mode'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
100 …['page_seqno']]['mode_bitstream_version'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
102 …['page_seqno']]['nb_channels'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
104 …['page_seqno']]['bitrate'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
106 …['page_seqno']]['framesize'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
108 …['page_seqno']]['vbr'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
110 …['page_seqno']]['frames_per_packet'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
112 …['page_seqno']]['extra_headers'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
114 …['page_seqno']]['reserved1'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
116 …['page_seqno']]['reserved2'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
131 } elseif (substr($filedata, 0, 7) == "\x80".'theora') {
135 …ader']['theora']['theora_magic'] = substr($filedata, $fileda…
137 …ader']['theora']['version_major'] = getid3_lib::BigEndian2Int(substr($filedata, $fileda…
139 …ader']['theora']['version_minor'] = getid3_lib::BigEndian2Int(substr($filedata, $fileda…
141 …ader']['theora']['version_revision'] = getid3_lib::BigEndian2Int(substr($filedata, $fileda…
143 …ader']['theora']['frame_width_macroblocks'] = getid3_lib::BigEndian2Int(substr($filedata, $fileda…
145 …ader']['theora']['frame_height_macroblocks'] = getid3_lib::BigEndian2Int(substr($filedata, $fileda…
147 …ader']['theora']['resolution_x'] = getid3_lib::BigEndian2Int(substr($filedata, $fileda…
149 …ader']['theora']['resolution_y'] = getid3_lib::BigEndian2Int(substr($filedata, $fileda…
151 …ader']['theora']['picture_offset_x'] = getid3_lib::BigEndian2Int(substr($filedata, $fileda…
153 …ader']['theora']['picture_offset_y'] = getid3_lib::BigEndian2Int(substr($filedata, $fileda…
155 …ader']['theora']['frame_rate_numerator'] = getid3_lib::BigEndian2Int(substr($filedata, $fileda…
157 …ader']['theora']['frame_rate_denominator'] = getid3_lib::BigEndian2Int(substr($filedata, $fileda…
159 …ader']['theora']['pixel_aspect_numerator'] = getid3_lib::BigEndian2Int(substr($filedata, $fileda…
161 …ader']['theora']['pixel_aspect_denominator'] = getid3_lib::BigEndian2Int(substr($filedata, $fileda…
163 …ader']['theora']['color_space_id'] = getid3_lib::BigEndian2Int(substr($filedata, $fileda…
165 …ader']['theora']['nominal_bitrate'] = getid3_lib::BigEndian2Int(substr($filedata, $fileda…
167 …ader']['theora']['flags'] = getid3_lib::BigEndian2Int(substr($filedata, $fileda…
192 } elseif (substr($filedata, 0, 8) == "fishead\x00") {
197 …']['raw']['version_major'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
199 …']['raw']['version_minor'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
201 …']['raw']['presentationtime_numerator'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
203 …']['raw']['presentationtime_denominator'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
205 …']['raw']['basetime_numerator'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
207 …']['raw']['basetime_denominator'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
209 …']['raw']['utc'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
225 if (substr($filedata, 0, 8) == "fisbone\x00") {
228 …sbone']['raw']['message_header_offset'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
230 …sbone']['raw']['serial_number'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
232 …sbone']['raw']['number_header_packets'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
234 …sbone']['raw']['granulerate_numerator'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
236 …sbone']['raw']['granulerate_denominator'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
238 …sbone']['raw']['basegranule'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
240 …sbone']['raw']['preroll'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
242 …sbone']['raw']['granuleshift'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
244 …sbone']['raw']['padding'] = substr($filedata, $fileda…
247 } elseif (substr($filedata, 1, 6) == 'theora') {
253 } elseif (substr($filedata, 1, 6) == 'vorbis') {
262 } while (($oggpageinfo['page_seqno'] == 0) && (substr($filedata, 0, 8) != "fisbone\x00"));
269 } elseif (substr($filedata, 0, 5) == "\x7F".'FLAC') {
276 …$info['ogg']['flac']['header']['version_major'] = ord(substr($filedata, …
277 …$info['ogg']['flac']['header']['version_minor'] = ord(substr($filedata, …
278 …$info['ogg']['flac']['header']['header_packets'] = getid3_lib::BigEndian2Int(substr($filedata, …
279 …$info['ogg']['flac']['header']['magic'] = substr($filedata, …
284 …$info['ogg']['flac']['header']['STREAMINFO_bytes'] = getid3_lib::BigEndian2Int(substr($filedata, 1…
285 $info['flac']['STREAMINFO'] = getid3_flac::parseSTREAMINFOdata(substr($filedata, 17, 34));
296 …ad", "vorbis", "fishhead", "theora", "fLaC" identifier strings, found "'.substr($filedata, 0, 8).'…
310 …$oggpageinfo['page_seqno']]['packet_type'] = getid3_lib::LittleEndian2Int(substr($filedata, 0, 1));
311 …oggpageinfo['page_seqno']]['stream_type'] = substr($filedata, 1, 6); …
332 …$info['ogg']['pageheader'][$oggpageinfo['page_seqno']]['stream_type'] = substr($filedata, 0, 8); /…
333 if(substr($filedata, 0, 8) != 'OpusTags') {
334 $this->error('Expected "OpusTags" as header but got "'.substr($filedata, 0, 8).'"');
425 …oggpageinfo['page_seqno']]['packet_type'] = getid3_lib::LittleEndian2Int(substr($filedata, $fileda…
427 …$info['ogg']['pageheader'][$oggpageinfo['page_seqno']]['stream_type'] = substr($filedata, $filedat…
429 …$info['ogg']['bitstreamversion'] = getid3_lib::LittleEndian2Int(substr($filedata, $filedataoffset,…
431 …$info['ogg']['numberofchannels'] = getid3_lib::LittleEndian2Int(substr($filedata, $filedataoffset,…
434 …$info['ogg']['samplerate'] = getid3_lib::LittleEndian2Int(substr($filedata, $filedataoffset,…
443 …$info['ogg']['bitrate_max'] = getid3_lib::LittleEndian2Int(substr($filedata, $filedataoffset,…
445 …$info['ogg']['bitrate_nominal'] = getid3_lib::LittleEndian2Int(substr($filedata, $filedataoffset,…
447 …$info['ogg']['bitrate_min'] = getid3_lib::LittleEndian2Int(substr($filedata, $filedataoffset,…
449 …$info['ogg']['blocksize_small'] = pow(2, getid3_lib::LittleEndian2Int(substr($filedata, $filedat…
450 …$info['ogg']['blocksize_large'] = pow(2, (getid3_lib::LittleEndian2Int(substr($filedata, $filedat…
451 …$info['ogg']['stop_bit'] = getid3_lib::LittleEndian2Int(substr($filedata, $filedataoffset,…
487 …$info['ogg']['pageheader']['opus']['opus_magic'] = substr($filedata, $filedataoffset, 8); // hard-…
489 …$info['ogg']['pageheader']['opus']['version'] = getid3_lib::LittleEndian2Int(substr($filedata, …
497 …$info['ogg']['pageheader']['opus']['out_channel_count'] = getid3_lib::LittleEndian2Int(substr($fil…
505 …$info['ogg']['pageheader']['opus']['pre_skip'] = getid3_lib::LittleEndian2Int(substr($filedata, $f…
508 …$info['ogg']['pageheader']['opus']['input_sample_rate'] = getid3_lib::LittleEndian2Int(substr($fil…
536 while ((substr($filedata, $filedataoffset++, 4) != 'OggS')) {
550 …$oggheader['stream_structver'] = getid3_lib::LittleEndian2Int(substr($filedata, $filedataoffset, …
552 …$oggheader['flags_raw'] = getid3_lib::LittleEndian2Int(substr($filedata, $filedataoffset, …
558 …$oggheader['pcm_abs_position'] = getid3_lib::LittleEndian2Int(substr($filedata, $filedataoffset, …
560 …$oggheader['stream_serialno'] = getid3_lib::LittleEndian2Int(substr($filedata, $filedataoffset, …
562 …$oggheader['page_seqno'] = getid3_lib::LittleEndian2Int(substr($filedata, $filedataoffset, …
564 …$oggheader['page_checksum'] = getid3_lib::LittleEndian2Int(substr($filedata, $filedataoffset, …
566 …$oggheader['page_segments'] = getid3_lib::LittleEndian2Int(substr($filedata, $filedataoffset, …
570 …$oggheader['segment_table'][$i] = getid3_lib::LittleEndian2Int(substr($filedata, $filedataoffset, …
623 $VendorSize = getid3_lib::LittleEndian2Int(substr($commentdata, $commentdataoffset, 4));
626 $info['ogg']['vendor'] = substr($commentdata, $commentdataoffset, $VendorSize);
629 $CommentsCount = getid3_lib::LittleEndian2Int(substr($commentdata, $commentdataoffset, 4));
652 $AsYetUnusedData = substr($commentdata, $commentdataoffset);
655 $commentdata = substr($commentdata, 0, $commentdataoffset);
669 …$ThisFileInfo_ogg_comments_raw[$i]['size'] = getid3_lib::LittleEndian2Int(substr($commentdata, $co…
687 $AsYetUnusedData = substr($commentdata, $commentdataoffset);
690 $commentdata = substr($commentdata, 0, $commentdataoffset);
714 …$commentstring = substr($commentdata, $commentdataoffset, $ThisFileInfo_ogg_comments_raw[$i]['size…