[SCM] libav/experimental: document the extradata protocol for VP6F
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:52:32 UTC 2013
The following commit has been merged in the experimental branch:
commit 246f86a4d6cb456746fe64249cdd15e5da3bcfd7
Author: Aurelien Jacobs <aurel at gnuage.org>
Date: Mon Oct 23 00:10:18 2006 +0000
document the extradata protocol for VP6F
Originally committed as revision 6772 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/vp6.c b/libavcodec/vp6.c
index 6d5d46b..139105d 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 87984b5..ae89850 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"
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list