Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
70cbf334
Commit
70cbf334
authored
Nov 04, 2013
by
Diego Biurrun
Committed by
Anton Khirnov
Nov 04, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vdpau: Add missing #includes to fix standalone header compilation
Signed-off-by:
Anton Khirnov
<
anton@khirnov.net
>
parent
e2b5b097
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
vdpau.h
libavcodec/vdpau.h
+4
-0
vdpau_internal.h
libavcodec/vdpau_internal.h
+5
-1
No files found.
libavcodec/vdpau.h
View file @
70cbf334
...
@@ -52,6 +52,10 @@
...
@@ -52,6 +52,10 @@
#include <vdpau/vdpau.h>
#include <vdpau/vdpau.h>
#include <vdpau/vdpau_x11.h>
#include <vdpau/vdpau_x11.h>
#include "libavutil/attributes.h"
#include "version.h"
#if FF_API_BUFS_VDPAU
#if FF_API_BUFS_VDPAU
union
AVVDPAUPictureInfo
{
union
AVVDPAUPictureInfo
{
VdpPictureInfoH264
h264
;
VdpPictureInfoH264
h264
;
...
...
libavcodec/vdpau_internal.h
View file @
70cbf334
...
@@ -26,8 +26,10 @@
...
@@ -26,8 +26,10 @@
#include <stdint.h>
#include <stdint.h>
#include <vdpau/vdpau.h>
#include <vdpau/vdpau.h>
#include "h264.h"
#include "avcodec.h"
#include "mpegvideo.h"
#include "mpegvideo.h"
#include "version.h"
/** Extract VdpVideoSurface from a Picture */
/** Extract VdpVideoSurface from a Picture */
static
inline
uintptr_t
ff_vdpau_get_surface_id
(
Picture
*
pic
)
static
inline
uintptr_t
ff_vdpau_get_surface_id
(
Picture
*
pic
)
...
@@ -42,6 +44,8 @@ union AVVDPAUPictureInfo {
...
@@ -42,6 +44,8 @@ union AVVDPAUPictureInfo {
VdpPictureInfoVC1
vc1
;
VdpPictureInfoVC1
vc1
;
VdpPictureInfoMPEG4Part2
mpeg4
;
VdpPictureInfoMPEG4Part2
mpeg4
;
};
};
#else
#include "vdpau.h"
#endif
#endif
struct
vdpau_picture_context
{
struct
vdpau_picture_context
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment