summaryrefslogtreecommitdiff
path: root/libavcodec/rv10.h
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-06-10 14:29:06 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-06-12 12:26:54 +0100
commite7af52a68dde9144b273a9598b60bf0f56e1323b (patch)
tree02d50284df085ec579aceceb4bea916a2e4b6b65 /libavcodec/rv10.h
parente3d0f49abb20a551bf6d885f75c354d6d0bbeb9d (diff)
mpegvideo: rv10: Move function declaration to a separate header
Diffstat (limited to 'libavcodec/rv10.h')
-rw-r--r--libavcodec/rv10.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/libavcodec/rv10.h b/libavcodec/rv10.h
new file mode 100644
index 0000000000..b44bc1f1c3
--- /dev/null
+++ b/libavcodec/rv10.h
@@ -0,0 +1,33 @@
+/*
+ * RV10/RV20 decoder
+ *
+ * This file is part of Libav.
+ *
+ * Libav is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * Libav is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with Libav; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef AVCODEC_RV10_H
+#define AVCODEC_RV10_H
+
+#include <stdint.h>
+
+#include "mpegvideo.h"
+
+int ff_rv_decode_dc(MpegEncContext *s, int n);
+
+int ff_rv10_encode_picture_header(MpegEncContext *s, int picture_number);
+void ff_rv20_encode_picture_header(MpegEncContext *s, int picture_number);
+
+#endif /* AVCODEC_RV10_H */