libswscale: Split version.h

Signed-off-by: Martin Storsjö <martin@martin.st>
release/5.1
Martin Storsjö 3 years ago
parent 4332d6c4d5
commit 6cd2ac388d
  1. 1
      fftools/cmdutils.c
  2. 1
      fftools/ffprobe.c
  3. 1
      libswscale/Makefile
  4. 2
      libswscale/swscale.h
  5. 1
      libswscale/utils.c
  6. 9
      libswscale/version.h
  7. 35
      libswscale/version_major.h

@ -37,6 +37,7 @@
#include "libavdevice/avdevice.h" #include "libavdevice/avdevice.h"
#include "libavdevice/version.h" #include "libavdevice/version.h"
#include "libswscale/swscale.h" #include "libswscale/swscale.h"
#include "libswscale/version.h"
#include "libswresample/swresample.h" #include "libswresample/swresample.h"
#include "libswresample/version.h" #include "libswresample/version.h"
#include "libpostproc/postprocess.h" #include "libpostproc/postprocess.h"

@ -55,6 +55,7 @@
#include "libavdevice/avdevice.h" #include "libavdevice/avdevice.h"
#include "libavdevice/version.h" #include "libavdevice/version.h"
#include "libswscale/swscale.h" #include "libswscale/swscale.h"
#include "libswscale/version.h"
#include "libswresample/swresample.h" #include "libswresample/swresample.h"
#include "libswresample/version.h" #include "libswresample/version.h"
#include "libpostproc/postprocess.h" #include "libpostproc/postprocess.h"

@ -3,6 +3,7 @@ DESC = FFmpeg image rescaling library
HEADERS = swscale.h \ HEADERS = swscale.h \
version.h \ version.h \
version_major.h \
OBJS = alphablend.o \ OBJS = alphablend.o \
hscale.o \ hscale.o \

@ -33,7 +33,7 @@
#include "libavutil/frame.h" #include "libavutil/frame.h"
#include "libavutil/log.h" #include "libavutil/log.h"
#include "libavutil/pixfmt.h" #include "libavutil/pixfmt.h"
#include "version.h" #include "version_major.h"
/** /**
* @defgroup libsws libswscale * @defgroup libsws libswscale

@ -59,6 +59,7 @@
#include "rgb2rgb.h" #include "rgb2rgb.h"
#include "swscale.h" #include "swscale.h"
#include "swscale_internal.h" #include "swscale_internal.h"
#include "version.h"
static SwsVector *sws_getIdentityVec(void); static SwsVector *sws_getIdentityVec(void);
static void sws_addVec(SwsVector *a, SwsVector *b); static void sws_addVec(SwsVector *a, SwsVector *b);

@ -26,7 +26,8 @@
#include "libavutil/version.h" #include "libavutil/version.h"
#define LIBSWSCALE_VERSION_MAJOR 6 #include "version_major.h"
#define LIBSWSCALE_VERSION_MINOR 5 #define LIBSWSCALE_VERSION_MINOR 5
#define LIBSWSCALE_VERSION_MICRO 100 #define LIBSWSCALE_VERSION_MICRO 100
@ -40,10 +41,4 @@
#define LIBSWSCALE_IDENT "SwS" AV_STRINGIFY(LIBSWSCALE_VERSION) #define LIBSWSCALE_IDENT "SwS" AV_STRINGIFY(LIBSWSCALE_VERSION)
/**
* FF_API_* defines may be placed below to indicate public API that will be
* dropped at a future version bump. The defines themselves are not part of
* the public API and may change, break or disappear at any time.
*/
#endif /* SWSCALE_VERSION_H */ #endif /* SWSCALE_VERSION_H */

@ -0,0 +1,35 @@
/*
* 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 SWSCALE_VERSION_MAJOR_H
#define SWSCALE_VERSION_MAJOR_H
/**
* @file
* swscale version macros
*/
#define LIBSWSCALE_VERSION_MAJOR 6
/**
* FF_API_* defines may be placed below to indicate public API that will be
* dropped at a future version bump. The defines themselves are not part of
* the public API and may change, break or disappear at any time.
*/
#endif /* SWSCALE_VERSION_MAJOR_H */
Loading…
Cancel
Save