diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2016-08-25 17:28:17 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2018-03-12 08:12:43 +0100 |
commit | c438899a706422b8362a13714580e988be4d638b (patch) | |
tree | bea6aea4621eaf12adbe0430d5bffd67f2211abd /libavcodec/libaom.h | |
parent | 44a1731011e87fbf4180d026aefb8bfe85d8c7dc (diff) | |
download | ffmpeg-streaming-c438899a706422b8362a13714580e988be4d638b.zip ffmpeg-streaming-c438899a706422b8362a13714580e988be4d638b.tar.gz |
Add AV1 video decoding support through libaom
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/libaom.h')
-rw-r--r-- | libavcodec/libaom.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/libavcodec/libaom.h b/libavcodec/libaom.h new file mode 100644 index 0000000..d3d52f7 --- /dev/null +++ b/libavcodec/libaom.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2013 Guillaume Martres <smarter@ubuntu.com> + * + * 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_LIBAOM_H +#define AVCODEC_LIBAOM_H + +#include <aom/aom_codec.h> + +#include "libavutil/pixfmt.h" + +enum AVPixelFormat ff_aom_imgfmt_to_pixfmt(aom_img_fmt_t img, int depth); +aom_img_fmt_t ff_aom_pixfmt_to_imgfmt(enum AVPixelFormat pix); + +#endif /* AVCODEC_LIBAOM_H */ |