aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/flashsv.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-07-05 19:25:10 +0200
committerDiego Biurrun <diego@biurrun.de>2011-07-06 13:21:26 +0200
commitbc35ab3f7d453e94df81c3145bdc77982f14ae9e (patch)
tree3ed219af11b3b2be42f6b2dc02803e039c68c9a0 /libavcodec/flashsv.c
parent9b576e4d124474272c2abeb322df3fd5602f00b8 (diff)
downloadffmpeg-bc35ab3f7d453e94df81c3145bdc77982f14ae9e.tar.gz
flashsv: replace bitstream description by a link to the specification
An official specification now exists and it is both more detailed and easier to understand than the incomplete notes available here. Also remove ideas on how to implement an encoder; these notes are already present in the encoder.
Diffstat (limited to 'libavcodec/flashsv.c')
-rw-r--r--libavcodec/flashsv.c22
1 files changed, 3 insertions, 19 deletions
diff --git a/libavcodec/flashsv.c b/libavcodec/flashsv.c
index e3ddb74cee..4d8762c993 100644
--- a/libavcodec/flashsv.c
+++ b/libavcodec/flashsv.c
@@ -25,26 +25,10 @@
* Flash Screen Video decoder
* @author Alex Beregszaszi
* @author Benjamin Larsson
- */
-
-/* Bitstream description
- * The picture is divided into blocks that are zlib compressed.
- *
- * The decoder is fed complete frames, the frameheader contains:
- * 4bits of block width
- * 12bits of frame width
- * 4bits of block height
- * 12bits of frame height
- *
- * Directly after the header are the compressed blocks. The blocks
- * have their compressed size represented with 16bits in the beginnig.
- * If the size = 0 then the block is unchanged from the previous frame.
- * All blocks are decompressed until the buffer is consumed.
*
- * Encoding ideas, a basic encoder would just use a fixed block size.
- * Block sizes can be multipels of 16, from 16 to 256. The blocks don't
- * have to be quadratic. A brute force search with a set of diffrent
- * block sizes should give a better result then to just use a fixed size.
+ * A description of the bitstream format for Flash Screen Video version 1/2
+ * is part of the SWF File Format Specification (version 10), which can be
+ * downloaded from http://www.adobe.com/devnet/swf.html.
*/
#include <stdio.h>