summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2006-10-23 00:10:18 +0000
committerAurelien Jacobs <aurel@gnuage.org>2006-10-23 00:10:18 +0000
commit246f86a4d6cb456746fe64249cdd15e5da3bcfd7 (patch)
tree3c4fb21f7dd57b1e93ef9bb3c4b310084efb5af5
parentfa73604f61e9f067feb24078128a4a3f915d628c (diff)
document the extradata protocol for VP6F
Originally committed as revision 6772 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/vp6.c5
-rw-r--r--libavformat/flvdec.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/libavcodec/vp6.c b/libavcodec/vp6.c
index 6d5d46b0f0..139105de19 100644
--- a/libavcodec/vp6.c
+++ b/libavcodec/vp6.c
@@ -19,6 +19,11 @@
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ *
+ * The VP6F decoder accept an optional 1 byte extradata. It is composed of:
+ * - upper 4bits: difference between encoded width and visible width
+ * - lower 4bits: difference between encoded height and visible height
*/
#include <stdlib.h>
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 87984b576d..ae89850eca 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -17,6 +17,12 @@
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ *
+ * This demuxer will generate a 1 byte extradata for VP6F content.
+ * It is composed of:
+ * - upper 4bits: difference between encoded width and visible width
+ * - lower 4bits: difference between encoded height and visible height
*/
#include "avformat.h"