summaryrefslogtreecommitdiff
path: root/doc/html/format.html
diff options
context:
space:
mode:
authorJosh Coalson <jcoalson@users.sourceforce.net>2006-10-07 06:50:08 +0000
committerJosh Coalson <jcoalson@users.sourceforce.net>2006-10-07 06:50:08 +0000
commitd0edb97a4637eaffbe51c5092e84bf056caabf0f (patch)
treea23c5a7deee937fdfe005d567616df993bb876cc /doc/html/format.html
parent20ad84aa61ff3a44a40ea0458ddb637a7e07ecd5 (diff)
downloadflac-d0edb97a4637eaffbe51c5092e84bf056caabf0f.tar.gz
limit subset further if sample rate is <=48kHz: max blocksize is 4608 and max LPC order is 12
Diffstat (limited to 'doc/html/format.html')
-rw-r--r--doc/html/format.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/html/format.html b/doc/html/format.html
index 415d0461..dc9e3acc 100644
--- a/doc/html/format.html
+++ b/doc/html/format.html
@@ -286,7 +286,7 @@
<a name="subset" />FLAC specifies a subset of itself as the Subset format. The purpose of this is to ensure that any streams encoded according to the Subset are truly "streamable", meaning that a decoder that cannot seek within the stream can still pick up in the middle of the stream and start decoding. It also makes hardware decoder implementations more practical by limiting the encoding parameters such that decoder buffer sizes and other resource requirements can be easily determined. "flac" generates Subset streams by default unless the "--lax" command-line option is used. The Subset makes the following limitations on what may be used in the stream:
<ul>
<li>
- The blocksize bits in the <a href="#frame_header">frame header</a> must be 0001-0101 or 1000-1110, specifying a fixed-blocksize stream (the exception being the last block as described in the table) and a few allowable blocksizes. This also means that the STREAMINFO metadata block must specify equal mininum and maximum blocksizes.
+ The blocksize bits in the <a href="#frame_header">frame header</a> must be 0001-0101 or 1000-1110, specifying a fixed-blocksize stream (the exception being the last block as described in the table) and a few allowable blocksizes. This also means that the STREAMINFO metadata block must specify equal mininum and maximum blocksizes. If the sample rate is &lt;= 48000Hz, the blocksize must be &lt;=4608, i.e. blocksize bits 0001-0101 or 1000-1100.
</li>
<li>
The sample rate bits in the <a href="#frame_header">frame header</a> must be 0001-1011.
@@ -295,6 +295,9 @@
The bits-per-sample bits in the <a href="#frame_header">frame header</a> must be 001-111.
</li>
<li>
+ If the sample rate is &lt;= 48000Hz, the filter order in <a href="#subframe_lpc">LPC subframes</a> must be less than or equal to 12, i.e. the subframe type bits in the <a href="#subframe_header">subframe header</a> may not be 101100-111111.
+ </li>
+ <li>
The Rice partition order in a <a href="#partitioned_rice">Rice-coded residual section</a> must be less than or equal to 8.
</li>
</ul>