libpostproc: Split version.h

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2022-02-23 14:28:03 +02:00
parent 884c597659
commit 0f8b0b9ce2
7 changed files with 38 additions and 2 deletions

View File

@ -39,6 +39,7 @@
#include "libswscale/swscale.h"
#include "libswresample/swresample.h"
#include "libpostproc/postprocess.h"
#include "libpostproc/version.h"
#include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"

View File

@ -57,6 +57,7 @@
#include "libswscale/swscale.h"
#include "libswresample/swresample.h"
#include "libpostproc/postprocess.h"
#include "libpostproc/version.h"
#include "cmdutils.h"
#include "libavutil/thread.h"

View File

@ -4,6 +4,7 @@ FFLIBS = avutil
HEADERS = postprocess.h \
version.h \
version_major.h \
OBJS = postprocess.o

View File

@ -89,6 +89,7 @@ try to unroll inner for(x=0 ... loop to avoid these damn if(x ... checks
//#define DEBUG_BRIGHTNESS
#include "postprocess.h"
#include "postprocess_internal.h"
#include "version.h"
#include "libavutil/avstring.h"
#include "libavutil/ppc/util_altivec.h"

View File

@ -34,7 +34,7 @@
* @{
*/
#include "libpostproc/version.h"
#include "libpostproc/version_major.h"
/**
* Return the LIBPOSTPROC_VERSION_INT constant.

View File

@ -28,7 +28,8 @@
#include "libavutil/version.h"
#define LIBPOSTPROC_VERSION_MAJOR 56
#include "version_major.h"
#define LIBPOSTPROC_VERSION_MINOR 4
#define LIBPOSTPROC_VERSION_MICRO 100

View File

@ -0,0 +1,31 @@
/*
* Version macros.
*
* 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 POSTPROC_VERSION_MAJOR_H
#define POSTPROC_VERSION_MAJOR_H
/**
* @file
* Libpostproc version macros
*/
#define LIBPOSTPROC_VERSION_MAJOR 56
#endif /* POSTPROC_VERSION_MAJOR_H */