Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
741b352b
Commit
741b352b
authored
Jul 21, 2015
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qsvdec: list supported pixel formats
This is useful for detecting QSV-enabled decoders.
parent
ae25413d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
qsvdec_h2645.c
libavcodec/qsvdec_h2645.c
+6
-0
qsvdec_mpeg2.c
libavcodec/qsvdec_mpeg2.c
+3
-0
No files found.
libavcodec/qsvdec_h2645.c
View file @
741b352b
...
...
@@ -243,6 +243,9 @@ AVCodec ff_hevc_qsv_decoder = {
.
close
=
qsv_decode_close
,
.
capabilities
=
CODEC_CAP_DELAY
|
CODEC_CAP_DR1
,
.
priv_class
=
&
hevc_class
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[]){
AV_PIX_FMT_NV12
,
AV_PIX_FMT_QSV
,
AV_PIX_FMT_NONE
},
};
#endif
...
...
@@ -278,5 +281,8 @@ AVCodec ff_h264_qsv_decoder = {
.
close
=
qsv_decode_close
,
.
capabilities
=
AV_CODEC_CAP_DELAY
|
AV_CODEC_CAP_DR1
,
.
priv_class
=
&
class
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[]){
AV_PIX_FMT_NV12
,
AV_PIX_FMT_QSV
,
AV_PIX_FMT_NONE
},
};
#endif
libavcodec/qsvdec_mpeg2.c
View file @
741b352b
...
...
@@ -175,4 +175,7 @@ AVCodec ff_mpeg2_qsv_decoder = {
.
close
=
qsv_decode_close
,
.
capabilities
=
CODEC_CAP_DELAY
|
CODEC_CAP_DR1
,
.
priv_class
=
&
class
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[]){
AV_PIX_FMT_NV12
,
AV_PIX_FMT_QSV
,
AV_PIX_FMT_NONE
},
};
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