| 1 |
/* Copyright (C) 2008 Vincent Penquerc'h. |
| 2 |
This file is part of the Kate codec library. |
| 3 |
Written by Vincent Penquerc'h. |
| 4 |
|
| 5 |
Use, distribution and reproduction of this library is governed |
| 6 |
by a BSD style source license included with this source in the |
| 7 |
file 'COPYING'. Please read these terms before distributing. */ |
| 8 |
|
| 9 |
|
| 10 |
/** |
| 11 |
|
| 12 |
\page format_motion Format - motion |
| 13 |
|
| 14 |
A motion definition consists of: |
| 15 |
|
| 16 |
\li a \ref format_32v "variable length integer" for the number of curves in this motion. |
| 17 |
|
| 18 |
Then, for each of those curves: |
| 19 |
|
| 20 |
\li 1 bit indicating if the curve is predefined (1) or not (0). |
| 21 |
|
| 22 |
Then, if the bit is 1: |
| 23 |
|
| 24 |
\li a \ref format_32v "variable length integer" representing the index of the curve. |
| 25 |
|
| 26 |
If the bit is 0: |
| 27 |
|
| 28 |
\li a \ref format_curve "curve definition". |
| 29 |
|
| 30 |
Then, in all cases: |
| 31 |
|
| 32 |
\li a stream of \ref format_fp "floating point values" representing the lengths of those curves. |
| 33 |
\li 8 bits for the mapping for the x coordinates. |
| 34 |
\li 8 bits for the mapping for the y coordinates. |
| 35 |
\li 8 bits for the semantics of this motion. |
| 36 |
\li 1 bit for a flag representing whether this motion is periodic or not. |
| 37 |
|
| 38 |
Next, a \ref format_warp "warp". |
| 39 |
|
| 40 |
Kate bitstream 0.6 makes use of this warp to add: |
| 41 |
|
| 42 |
\li a \ref format_metadata "metadata" set. |
| 43 |
|
| 44 |
Next, the data ends. |
| 45 |
|
| 46 |
|
| 47 |
*/ |
| 48 |
|