avcodec/vdpau: Re-factor pre-hwaccel helper functions into separate header
authorPhilip Langdale <philipl@overt.org>
Mon, 25 May 2015 16:42:14 +0000 (09:42 -0700)
committerPhilip Langdale <philipl@overt.org>
Tue, 26 May 2015 02:50:41 +0000 (19:50 -0700)
commit9ae766d1c6983e6deec4a7bf783d1ef09ca5f3ad
tree9801e82f27ce4570ed88294eb5d49703acb92519
parent7ed5d78d619e45b46ba003e8014767b05b73b7d2
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>
libavcodec/h263dec.c
libavcodec/h264.c
libavcodec/h264_picture.c
libavcodec/mpeg12dec.c
libavcodec/vc1dec.c
libavcodec/vdpau.c
libavcodec/vdpau_compat.h [new file with mode: 0644]
libavcodec/vdpau_internal.h