From 416dc9a5e81729e3313bcc13aebc5faa082c63a3 Mon Sep 17 00:00:00 2001 From: Ruiling Song Date: Wed, 28 Nov 2018 10:27:38 +0800 Subject: lavf: add transpose_opencl filter Signed-off-by: Ruiling Song Signed-off-by: Mark Thompson --- libavfilter/transpose.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 libavfilter/transpose.h (limited to 'libavfilter/transpose.h') diff --git a/libavfilter/transpose.h b/libavfilter/transpose.h new file mode 100644 index 0000000000..d4bb4da1ae --- /dev/null +++ b/libavfilter/transpose.h @@ -0,0 +1,34 @@ +/* + * 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 AVFILTER_TRANSPOSE_H +#define AVFILTER_TRANSPOSE_H + +enum PassthroughType { + TRANSPOSE_PT_TYPE_NONE, + TRANSPOSE_PT_TYPE_LANDSCAPE, + TRANSPOSE_PT_TYPE_PORTRAIT, +}; + +enum TransposeDir { + TRANSPOSE_CCLOCK_FLIP, + TRANSPOSE_CLOCK, + TRANSPOSE_CCLOCK, + TRANSPOSE_CLOCK_FLIP, +}; + +#endif -- cgit v1.2.3