• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/libvorbis-1.2.3/doc/

Lines Matching refs:varname

62 \varname{[vorbis_version]} is to read '0' in order to be compatible
63 with this document. Both \varname{[audio_channels]} and
64 \varname{[audio_sample_rate]} must read greater than zero. Allowed final
66 Vorbis I. \varname{[blocksize_0]} must be less than or equal to
67 \varname{[blocksize_1]}. The framing bit must be nonzero. Failure to
110 \item \varname{[vorbis_codebook_count]} = read eight bits as unsigned integer and add one
111 \item Decode \varname{[vorbis_codebook_count]} codebooks in order as defined
114 codebook configurations \varname{[vorbis_codebook_configurations]}.
126 \item \varname{[vorbis_time_count]} = read 6 bits as unsigned integer and add one
127 \item read \varname{[vorbis_time_count]} 16 bit values; each value should be zero. If any value is nonzero, this is an error condition and the stream is undecodable.
138 \item \varname{[vorbis_floor_count]} = read 6 bits as unsigned integer and add one
139 \item For each \varname{[i]} of \varname{[vorbis_floor_count]} floor numbers:
141 \item read the floor type: vector \varname{[vorbis_floor_types]} element \varname{[i]} =
146 configuration in slot \varname{[i]} of the floor configuration array \varname{[vorbis_floor_configurations]}.
148 decode the floor configuration as defined in \xref{vorbis:spec:floor1}; save this configuration in slot \varname{[i]} of the floor configuration array \varname{[vorbis_floor_configurations]}.
162 \item \varname{[vorbis_residue_count]} = read 6 bits as unsigned integer and add one
164 \item For each of \varname{[vorbis_residue_count]} residue numbers:
166 \item read the residue type; vector \varname{[vorbis_residue_types]} element \varname{[i]} = read 16 bits as unsigned integer
168 one or two, decode the residue configuration as defined in \xref{vorbis:spec:residue}; save this configuration in slot \varname{[i]} of the residue configuration array \varname{[vorbis_residue_configurations]}.
187 \item \varname{[vorbis_mapping_count]} = read 6 bits as unsigned integer and add one
188 \item For each \varname{[i]} of \varname{[vorbis_mapping_count]} mapping numbers:
196 \item if set, \varname{[vorbis_mapping_submaps]} = read 4 bits as unsigned integer and add one
197 \item if unset, \varname{[vorbis_mapping_submaps]} = 1
205 \item \varname{[vorbis_mapping_coupling_steps]} = read 8 bits as unsigned integer and add one
206 \item for \varname{[j]} each of \varname{[vorbis_mapping_coupling_steps]} steps:
208 \item vector \varname{[vorbis_mapping_magnitude]} element \varname{[j]}= read \link{vorbis:spec:ilog}{ilog}(\varname{[audio_channels]} - 1) bits as unsigned integer
209 \item vector \varname{[vorbis_mapping_angle]} element \varname{[j]}= read \link{vorbis:spec:ilog}{ilog}(\varname{[audio_channels]} - 1) bits as unsigned integer
210 \item the numbers read in the above two steps are channel numbers representing the channel to treat as magnitude and the channel to treat as angle, respectively. If for any coupling step the angle channel number equals the magnitude channel number, the magnitude channel number is greater than \varname{[audio_channels]}-1, or the angle channel is greater than \varname{[audio_channels]}-1, the stream is undecodable.
217 \item if unset, \varname{[vorbis_mapping_coupling_steps]} = 0
222 \item if \varname{[vorbis_mapping_submaps]} is greater than one, we read channel multiplex settings. For each \varname{[j]} of \varname{[audio_channels]} channels:
224 \item vector \varname{[vorbis_mapping_mux]} element \varname{[j]} = read 4 bits as unsigned integer
225 \item if the value is greater than the highest numbered submap (\varname{[vorbis_mapping_submaps]} - 1), this in an error condition rendering the stream undecodable
228 \item for each submap \varname{[j]} of \varname{[vorbis_mapping_submaps]} submaps, read the floor and residue numbers for use in decoding that submap:
231 \item read 8 bits as unsigned integer for the floor number; save in vector \varname{[vorbis_mapping_submap_floor]} element \varname{[j]}
233 \item read 8 bits as unsigned integer for the residue number; save in vector \varname{[vorbis_mapping_submap_residue]} element \varname{[j]}
237 \item save this mapping configuration in slot \varname{[i]} of the mapping configuration array \varname{[vorbis_mapping_configurations]}.
249 \item \varname{[vorbis_mode_count]} = read 6 bits as unsigned integer and add one
250 \item For each of \varname{[vorbis_mode_count]} mode numbers:
252 \item \varname{[vorbis_mode_blockflag]} = read 1 bit
253 \item \varname{[vorbis_mode_windowtype]} = read 16 bits as unsigned integer
254 \item \varname{[vorbis_mode_transformtype]} = read 16 bits as unsigned integer
255 \item \varname{[vorbis_mode_mapping]} = read 8 bits as unsigned integer
257 \varname{[vorbis_mode_windowtype]}
258 and \varname{[vorbis_mode_transformtype]}. \varname{[vorbis_mode_mapping]} must not be greater than the highest number mapping in use. Any illegal values render the stream undecodable.
259 \item save this mode configuration in slot \varname{[i]} of the mode configuration array
260 \varname{[vorbis_mode_configurations]}.
288 \item read 1 bit \varname{[packet_type]}; check that packet type is 0 (audio)
290 \varname{[mode_number]}
291 \item decode blocksize \varname{[n]} is equal to \varname{[blocksize_0]} if
292 \varname{[vorbis_mode_blockflag]} is 0, else \varname{[n]} is equal to \varname{[blocksize_1]}.
295 \item if this is a long window (the \varname{[vorbis_mode_blockflag]} flag of this mode is
298 \item read 1 bit for \varname{[previous_window_flag]}
299 \item read 1 bit for \varname{[next_window_flag]}
300 \item if \varname{[previous_window_flag]} is not set, the left half
306 \item if \varname{[next_window_flag]} is not set, the right half of
326 \item \varname{[window_center]} = \varname{[n]} / 2
327 \item if (\varname{[vorbis_mode_blockflag]} is set and \varname{[previous_window_flag]} is
330 \item \varname{[left_window_start]} = \varname{[n]}/4 -
331 \varname{[blocksize_0]}/4
332 \item \varname{[left_window_end]} = \varname{[n]}/4 + \varname{[blocksize_0]}/4
333 \item \varname{[left_n]} = \varname{[blocksize_0]}/2
337 \item \varname{[left_window_start]} = 0
338 \item \varname{[left_window_end]} = \varname{[window_center]}
339 \item \varname{[left_n]} = \varname{[n]}/2
342 \item if (\varname{[vorbis_mode_blockflag]} is set and \varname{[next_window_flag]} is not
345 \item \varname{[right_window_start]} = \varname{[n]*3}/4 -
346 \varname{[blocksize_0]}/4
347 \item \varname{[right_window_end]} = \varname{[n]*3}/4 +
348 \varname{[blocksize_0]}/4
349 \item \varname{[right_n]} = \varname{[blocksize_0]}/2
353 \item \varname{[right_window_start]} = \varname{[window_center]}
354 \item \varname{[right_window_end]} = \varname{[n]}
355 \item \varname{[right_n]} = \varname{[n]}/2
358 \item window from range 0 ... \varname{[left_window_start]}-1 inclusive is zero
359 \item for \varname{[i]} in range \varname{[left_window_start]} ...
360 \varname{[left_window_end]}-1, window(\varname{[i]}) = $\sin(\frac{\pi}{2} * \sin^2($ (\varname{[i]}-\varname{[left_window_start]}+0.5) / \varname{[left_n]} $* \frac{\pi}{2})$ )
361 \item window from range \varname{[left_window_end]} ... \varname{[right_window_start]}-1
362 inclusive is one\item for \varname{[i]} in range \varname{[right_window_start]} ... \varname{[right_window_end]}-1, window(\varname{[i]}) = $\sin(\frac{\pi}{2} * \sin^2($ (\varname{[i]}-\varname{[right_window_start]}+0.5) / \varname{[right_n]} $ * \frac{\pi}{2} + \frac{\pi}{2})$ )
363 \item window from range \varname{[right_window_start]} ... \varname{[n]}-1 is
377 \varname{[mode_number]} from configuration array
378 \varname{[vorbis_mode_configurations]} and the map number
379 \varname{[vorbis_mode_mapping]} (specified by the current mode) taken
381 \varname{[vorbis_mapping_configurations]}.
385 For each floor \varname{[i]} of \varname{[audio_channels]}
387 \item \varname{[submap_number]} = element \varname{[i]} of vector [vorbis_mapping_mux]
388 \item \varname{[floor_number]} = element \varname{[submap_number]} of vector
391 floor (vector \varname{[vorbis_floor_types]} element
392 \varname{[floor_number]}) is zero then decode the floor for
393 channel \varname{[i]} according to the
396 is one then decode the floor for channel \varname{[i]} according
399 \item if the decoded floor returned 'unused', set vector \varname{[no_residue]} element
400 \varname{[i]} to true, else set vector \varname{[no_residue]} element \varname{[i]} to
420 for each \varname{[i]} from 0 ... \varname{[vorbis_mapping_coupling_steps]}-1
423 \item if either \varname{[no_residue]} entry for channel
424 (\varname{[vorbis_mapping_magnitude]} element \varname{[i]})
426 (\varname{[vorbis_mapping_angle]} element \varname{[i]})
440 for each submap \varname{[i]} in order from 0 ... \varname{[vorbis_mapping_submaps]}-1
443 \item \varname{[ch]} = 0
444 \item for each channel \varname{[j]} in order from 0 ... \varname{[audio_channels]} - 1
446 \item if channel \varname{[j]} in submap \varname{[i]} (vector \varname{[vorbis_mapping_mux]} element \varname{[j]} is equal to \varname{[i]})
448 \item if vector \varname{[no_residue]} element \varname{[j]} is true
450 \item vector \varname{[do_not_decode_flag]} element \varname{[ch]} is set
454 \item vector \varname{[do_not_decode_flag]} element \varname{[ch]} is unset
457 \item increment \varname{[ch]}
461 \item \varname{[residue_number]} = vector \varname{[vorbis_mapping_submap_residue]} element \varname{[i]}
462 \item \varname{[residue_type]} = vector \varname{[vorbis_residue_types]} element \varname{[residue_number]}
463 \item decode \varname{[ch]} vectors using residue \varname{[residue_number]}, according to type \varname{[residue_type]}, also passing vector \varname{[do_not_decode_flag]} to indicate which vectors in the bundle should not be decoded. Correct per-vector decode length is \varname{[n]}/2.
464 \item \varname{[ch]} = 0
465 \item for each channel \varname{[j]} in order from 0 ... \varname{[audio_channels]}
467 \item if channel \varname{[j]} is in submap \varname{[i]} (vector \varname{[vorbis_mapping_mux]} element \varname{[j]} is equal to \varname{[i]})
469 \item residue vector for channel \varname{[j]} is set to decoded residue vector \varname{[ch]}
470 \item increment \varname{[ch]}
481 for each \varname{[i]} from \varname{[vorbis_mapping_coupling_steps]}-1 descending to 0
484 \item \varname{[magnitude_vector]} = the residue vector for channel
485 (vector \varname{[vorbis_mapping_magnitude]} element \varname{[i]})
486 \item \varname{[angle_vector]} = the residue vector for channel (vector
487 \varname{[vorbis_mapping_angle]} element \varname{[i]})
488 \item for each scalar value \varname{[M]} in vector \varname{[magnitude_vector]} and the corresponding scalar value \varname{[A]} in vector \varname{[angle_vector]}:
490 \item if (\varname{[M]} is greater than zero)
492 \item if (\varname{[A]} is greater than zero)
494 \item \varname{[new_M]} = \varname{[M]}
495 \item \varname{[new_A]} = \varname{[M]}-\varname{[A]}
499 \item \varname{[new_A]} = \varname{[M]}
500 \item \varname{[new_M]} = \varname{[M]}+\varname{[A]}
506 \item if (\varname{[A]} is greater than zero)
508 \item \varname{[new_M]} = \varname{[M]}
509 \item \varname{[new_A]} = \varname{[M]}+\varname{[A]}
513 \item \varname{[new_A]} = \varname{[M]}
514 \item \varname{[new_M]} = \varname{[M]}-\varname{[A]}
519 \item set scalar value \varname{[M]} in vector \varname{[magnitude_vector]} to \varname{[new_M]}
520 \item set scalar value \varname{[A]} in vector \varname{[angle_vector]} to \varname{[new_A]}
532 length for floor computation is \varname{[n]}/2.
537 vectors are the length \varname{[n]}/2 audio spectrum for each