aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rv10.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-06-12 21:05:09 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-12 21:05:57 +0200
commitb5c71fba594353b0676fa41c1f279d42adb6e716 (patch)
tree8608e7b1529f50deb737289b32b6b34415305b80 /libavcodec/rv10.h
parent218f58a16a3dd6c1b3eecef18bb45c04439c7799 (diff)
parente7af52a68dde9144b273a9598b60bf0f56e1323b (diff)
downloadffmpeg-b5c71fba594353b0676fa41c1f279d42adb6e716.tar.gz
Merge commit 'e7af52a68dde9144b273a9598b60bf0f56e1323b'
* commit 'e7af52a68dde9144b273a9598b60bf0f56e1323b': mpegvideo: rv10: Move function declaration to a separate header Merged-by: Michael Niedermayer <michaelni@gmx.at>
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..364270e76a
--- /dev/null
+++ b/libavcodec/rv10.h
@@ -0,0 +1,33 @@
+/*
+ * RV10/RV20 decoder
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg 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.
+ *
+ * FFmpeg 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 FFmpeg; 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 */