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
6e4b9b8a
Commit
6e4b9b8a
authored
Aug 17, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: fix compilation without vdpau
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
a0c6c8e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
vdpau_internal.h
libavcodec/vdpau_internal.h
+5
-1
No files found.
libavcodec/vdpau_internal.h
View file @
6e4b9b8a
...
...
@@ -25,10 +25,12 @@
#define AVCODEC_VDPAU_INTERNAL_H
#include <stdint.h>
#if CONFIG_VDPAU
#include <vdpau/vdpau.h>
#include "vdpau.h"
#endif
#include "h264.h"
#include "mpegvideo.h"
#include "vdpau.h"
/** Extract VdpVideoSurface from a Picture */
static
inline
uintptr_t
ff_vdpau_get_surface_id
(
Picture
*
pic
)
...
...
@@ -36,6 +38,7 @@ static inline uintptr_t ff_vdpau_get_surface_id(Picture *pic)
return
(
uintptr_t
)
pic
->
f
.
data
[
3
];
}
#if CONFIG_VDPAU
#if !FF_API_BUFS_VDPAU
union
AVVDPAUPictureInfo
{
VdpPictureInfoH264
h264
;
...
...
@@ -66,6 +69,7 @@ struct vdpau_picture_context {
*/
VdpBitstreamBuffer
*
bitstream_buffers
;
};
#endif
int
ff_vdpau_common_start_frame
(
Picture
*
pic
,
const
uint8_t
*
buffer
,
uint32_t
size
);
...
...
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