Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
44f116c8
Commit
44f116c8
authored
Mar 04, 2012
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VAAPI-XCB: Include vaapi.h and vasub.h only once.
Include the headerfiles vaaph.h and vasub.h only once.
parent
f68270b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
modules/codec/avcodec/vaapi.h
modules/codec/avcodec/vaapi.h
+4
-0
modules/codec/avcodec/vasub.h
modules/codec/avcodec/vasub.h
+3
-0
No files found.
modules/codec/avcodec/vaapi.h
View file @
44f116c8
...
...
@@ -17,6 +17,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
****************************************************************************/
#ifndef VLC_VAAPI_H
#define VLC_VAAPI_H 1
#ifdef HAVE_AVCODEC_VAAPI
/* VA API connection shared structure
...
...
@@ -97,3 +100,4 @@ struct picture_sys_t
};
#endif
#endif
modules/codec/avcodec/vasub.h
View file @
44f116c8
...
...
@@ -20,6 +20,7 @@
#ifndef VLC_VAAPI_VASUB_H
#define VLC_VAAPI_VASUB_H 1
#ifdef HAVE_AVCODEC_VAAPI
/* Check if subtitle format is supported by VA API */
int
VASubtitleFourCC
(
vlc_va_conn_t
*
vaconn
,
const
unsigned
int
vafourcc
,
VAImageFormat
*
sub_fmt
,
int
*
flags
);
int
FindVAFourCC
(
vlc_va_conn_t
*
vaconn
,
VAImageFormat
*
fmt
,
vlc_fourcc_t
*
i_chroma
,
int32_t
*
i_bits_per_pixel
);
...
...
@@ -56,3 +57,5 @@ subpicture_cache_t *RenderDirectSubpicture(vlc_object_t *obj, vlc_va_conn_t *vac
int
RenderCachedSubpictures
(
vlc_object_t
*
obj
,
vlc_va_conn_t
*
vaconn
,
vlc_array_t
*
cache_array
,
const
int
cache_id
,
picture_t
*
picture
,
subpicture_t
*
subpicture
);
#endif
#endif
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