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
af05edc6
Commit
af05edc6
authored
Aug 11, 2013
by
Reimar Döffinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vdpau: Add an allocation function for AVVDPAUContext.
Signed-off-by:
Reimar Döffinger
<
Reimar.Doeffinger@gmx.de
>
parent
d87f9da5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
2 deletions
+19
-2
APIchanges
doc/APIchanges
+4
-0
vdpau.c
libavcodec/vdpau.c
+5
-0
vdpau.h
libavcodec/vdpau.h
+9
-1
version.h
libavcodec/version.h
+1
-1
No files found.
doc/APIchanges
View file @
af05edc6
...
...
@@ -15,6 +15,10 @@ libavutil: 2012-10-22
API changes, most recent first:
2013-08-xx - xxxxxxx - lavc 55.26.100 - vdpau.h
Add allocation function for AVVDPAUContext, allowing
to extend it in the future without breaking ABI/API.
2013-08-xx - xxxxxxx - lavc 55.16.0 - avcodec.h
Extend AVPacket API with av_packet_unref, av_packet_ref,
av_packet_move_ref, av_packet_copy_props, av_packet_free_side_data.
...
...
libavcodec/vdpau.c
View file @
af05edc6
...
...
@@ -38,6 +38,11 @@
* @{
*/
AVVDPAUContext
*
av_alloc_vdpaucontext
(
void
)
{
return
av_mallocz
(
sizeof
(
AVVDPAUContext
));
}
int
ff_vdpau_common_start_frame
(
Picture
*
pic
,
av_unused
const
uint8_t
*
buffer
,
av_unused
uint32_t
size
)
...
...
libavcodec/vdpau.h
View file @
af05edc6
...
...
@@ -73,7 +73,8 @@ union AVVDPAUPictureInfo {
/**
* This structure is used to share data between the libavcodec library and
* the client video application.
* The user shall zero-allocate the structure and make it available as
* The user shall allocate the structure via the av_alloc_vdpau_hwaccel
* function and make it available as
* AVCodecContext.hwaccel_context. Members can be set by the user once
* during initialization or through each AVCodecContext.get_buffer()
* function call. In any case, they must be valid prior to calling
...
...
@@ -130,6 +131,13 @@ typedef struct AVVDPAUContext {
#endif
}
AVVDPAUContext
;
/**
* @brief allocation function for AVVDPAUContext
*
* Allows extending the struct without breaking API/ABI
*/
AVVDPAUContext
*
av_alloc_vdpaucontext
(
void
);
#if FF_API_CAP_VDPAU
/** @brief The videoSurface is used for rendering. */
#define FF_VDPAU_STATE_USED_FOR_RENDER 1
...
...
libavcodec/version.h
View file @
af05edc6
...
...
@@ -29,7 +29,7 @@
#include "libavutil/avutil.h"
#define LIBAVCODEC_VERSION_MAJOR 55
#define LIBAVCODEC_VERSION_MINOR 2
5
#define LIBAVCODEC_VERSION_MINOR 2
6
#define LIBAVCODEC_VERSION_MICRO 100
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
...
...
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