Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Hugo Beauzée-Luyssen
flac
Commits
1ab8a51c
Commit
1ab8a51c
authored
Jun 11, 2017
by
Ruud van Asseldonk
Committed by
Erik de Castro Lopo
Jun 12, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: Add notes about subframe sample size
parent
bb750734
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
doc/html/format.html
doc/html/format.html
+8
-1
No files found.
doc/html/format.html
View file @
1ab8a51c
...
...
@@ -1267,7 +1267,7 @@
<
3
>
</td>
<td>
Sample size in bits:
<br
/>
Sample size in bits:
<a
href=
"#frame_header_notes"
>
[5]
</a>
<br
/>
<ul>
<li>
<tt>
000
</tt>
: get from STREAMINFO metadata block
...
...
@@ -1367,6 +1367,11 @@
<li>
The "UTF-8" coding used for the sample/frame number is the same variable length code used to store compressed UCS-2, extended to handle larger input.
</li>
<li>
For subframes that encode a difference channel,
the sample size is one bit larger than the sample size of the frame,
in order to be able to encode the difference between extreme values.
</li>
</ol>
</td>
</tr>
...
...
@@ -1489,6 +1494,8 @@
<tt>
1
</tt>
: k wasted bits-per-sample in source subblock, k-1 follows, unary coded; e.g. k=3 =
>
001 follows, k=7 =
>
0000001 follows.
</li>
</ul>
The size of the samples stored in the subframe is the subframe sample size reduced by k bits.
Decoded samples must be shifted left by k bits.
</td>
</tr>
</table>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment