libavcodec/hwconfig.h currently contains HWACCEL_CAP_* flags as well as the definition of AVCodecHWConfigInternal and some macros to create them. The users of these two are nearly disjoint: The flags are used by files providing AVHWAccels whereas AVCodecHWConfigInternal is used by files providing codecs (for FFCodec.hw_configs). This patch therefore moves these flags to a new file hwaccel_internal.h. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>pull/390/head
parent
428133a3ed
commit
dcc1847b18
20 changed files with 47 additions and 25 deletions
@ -0,0 +1,29 @@ |
||||
/*
|
||||
* 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 |
||||
*/ |
||||
|
||||
/**
|
||||
* Header providing the internals of AVHWAccel. |
||||
*/ |
||||
|
||||
#ifndef AVCODEC_HWACCEL_INTERNAL_H |
||||
#define AVCODEC_HWACCEL_INTERNAL_H |
||||
|
||||
#define HWACCEL_CAP_ASYNC_SAFE (1 << 0) |
||||
#define HWACCEL_CAP_THREAD_SAFE (1 << 1) |
||||
|
||||
#endif /* AVCODEC_HWACCEL_INTERNAL */ |
Loading…
Reference in new issue