From 246f86a4d6cb456746fe64249cdd15e5da3bcfd7 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Mon, 23 Oct 2006 00:10:18 +0000 Subject: [PATCH] document the extradata protocol for VP6F Originally committed as revision 6772 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vp6.c | 5 +++++ libavformat/flvdec.c | 6 ++++++ 2 files changed, 11 insertions(+) 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 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"