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
990e4a66
Commit
990e4a66
authored
Feb 11, 2015
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a QSV decoding example.
parent
ea1d0b7e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
492 additions
and
0 deletions
+492
-0
configure
configure
+7
-0
Makefile
doc/Makefile
+1
-0
qsvdec.c
doc/examples/qsvdec.c
+484
-0
No files found.
configure
View file @
990e4a66
...
...
@@ -1137,6 +1137,7 @@ EXAMPLE_LIST="
filter_audio_example
metadata_example
output_example
qsvdec_example
transcode_aac_example
"
...
...
@@ -1550,6 +1551,7 @@ HAVE_LIST="
sdl
section_data_rel_ro
threads
vaapi_x11
vdpau_x11
xlib
"
...
...
@@ -2187,6 +2189,7 @@ avcodec_example_deps="avcodec avutil"
filter_audio_example_deps
=
"avfilter avutil"
metadata_example_deps
=
"avformat avutil"
output_example_deps
=
"avcodec avformat avutil swscale"
qsvdec_example_deps
=
"avcodec avutil libmfx h264_qsv_decoder vaapi_x11"
transcode_aac_example_deps
=
"avcodec avformat avresample"
# libraries, in linking order
...
...
@@ -4330,6 +4333,10 @@ if enabled x11grab; then
require Xfixes X11/extensions/Xfixes.h XFixesGetCursorImage
-lXfixes
fi
enabled vaapi
&&
enabled xlib
&&
check_lib2
"va/va.h va/va_x11.h"
vaGetDisplay
-lva
-lva-x11
&&
enable
vaapi_x11
enabled vdpau
&&
check_cpp_condition vdpau/vdpau.h
"defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP"
||
disable vdpau
...
...
doc/Makefile
View file @
990e4a66
...
...
@@ -19,6 +19,7 @@ DOC_EXAMPLES-$(CONFIG_AVCODEC_EXAMPLE) += avcodec
DOC_EXAMPLES-$(CONFIG_FILTER_AUDIO_EXAMPLE)
+=
filter_audio
DOC_EXAMPLES-$(CONFIG_METADATA_EXAMPLE)
+=
metadata
DOC_EXAMPLES-$(CONFIG_OUTPUT_EXAMPLE)
+=
output
DOC_EXAMPLES-$(CONFIG_QSVDEC_EXAMPLE)
+=
qsvdec
DOC_EXAMPLES-$(CONFIG_TRANSCODE_AAC_EXAMPLE)
+=
transcode_aac
ALL_DOC_EXAMPLES
=
avcodec filter_audio metadata output transcode_aac
...
...
doc/examples/qsvdec.c
0 → 100644
View file @
990e4a66
This diff is collapsed.
Click to expand it.
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