summaryrefslogtreecommitdiffstats
path: root/doc/README-Fileinput
diff options
context:
space:
mode:
authorMatthias P. Braendli (think) <matthias@mpb.li>2013-11-10 22:24:36 +0100
committerMatthias P. Braendli (think) <matthias@mpb.li>2013-11-10 22:24:36 +0100
commitdf26d1ef3104371c8b66e0ba652547d1ae9cbe94 (patch)
treeb333e44faaa68d3be25e68233e0e38a1ee75fe9d /doc/README-Fileinput
parent5d965e80be2e6ab62bc82fb2e0d4d472153ad241 (diff)
downloaddabmod-df26d1ef3104371c8b66e0ba652547d1ae9cbe94.tar.gz
dabmod-df26d1ef3104371c8b66e0ba652547d1ae9cbe94.tar.bz2
dabmod-df26d1ef3104371c8b66e0ba652547d1ae9cbe94.zip
update READMEs and such, and ChangeLog for r8r8
Diffstat (limited to 'doc/README-Fileinput')
-rw-r--r--doc/README-Fileinput26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/README-Fileinput b/doc/README-Fileinput
new file mode 100644
index 0000000..f8e9ab2
--- /dev/null
+++ b/doc/README-Fileinput
@@ -0,0 +1,26 @@
+The file input support three file formats:
+
+ Framed format is used for file recording. It is the default format. The
+ padding can be removed from data. Format:
+ uint32_t nbFrames
+ for each frame
+ uint16_t frameSize
+ uint8_t data[frameSize]
+
+ Streamed format is used for streamed applications. As the total number of
+ frames is unknown before end of transmission, the corresponding field is
+ removed. The padding can be removed from data. Format:
+ for each frame
+ uint16_t frameSize
+ uint8_t data[frameSize]
+
+ Raw format is a bit-by-bit (but byte aligned on sync) recording of a G.703
+ data stream. The padding is always present. Format:
+ for each frame
+ uint8_t data[6144]
+
+ Please note that our raw format can also be referred to as ETI(NI, G.703) or ETI(NI).
+
+
+All numbers are little-endian.
+This description has been taken from the CRC mmbTools forum.