avcodec/vdpau: Re-factor pre-hwaccel helper functions into separate header

h264.h and hevc.h are mutually exclusive due to defining some of the same
names. As such, we need to avoid forcing h264.h to be included if we want
hevc decode acceleration to be possible.

However, some of the pre-hwaccel helper functions need h264.h. To avoid
messy collisions, let's move the declaration of all those helpers to
a separate header which we will exclude for the hevc support (which will
be hwaccel-only).

Signed-off-by: Philip Langdale <philipl@overt.org>
This commit is contained in:
Philip Langdale
2015-05-25 09:42:14 -07:00
parent 7ed5d78d61
commit 9ae766d1c6
8 changed files with 54 additions and 24 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
#include "mpegvideo.h"
#include "msmpeg4.h"
#include "qpeldsp.h"
#include "vdpau_internal.h"
#include "vdpau_compat.h"
#include "thread.h"
static enum AVPixelFormat h263_get_format(AVCodecContext *avctx)