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
4e7a7a96
Commit
4e7a7a96
authored
Oct 29, 2016
by
Mark Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qsvdec: Avoid probing with qsv decoders
Set the AV_CODEC_CAP_AVOID_PROBING flag on all of the qsv decoders.
parent
1f26a231
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
qsvdec_h2645.c
libavcodec/qsvdec_h2645.c
+2
-2
qsvdec_mpeg2.c
libavcodec/qsvdec_mpeg2.c
+1
-1
qsvdec_vc1.c
libavcodec/qsvdec_vc1.c
+1
-1
No files found.
libavcodec/qsvdec_h2645.c
View file @
4e7a7a96
...
@@ -266,7 +266,7 @@ AVCodec ff_hevc_qsv_decoder = {
...
@@ -266,7 +266,7 @@ AVCodec ff_hevc_qsv_decoder = {
.
decode
=
qsv_decode_frame
,
.
decode
=
qsv_decode_frame
,
.
flush
=
qsv_decode_flush
,
.
flush
=
qsv_decode_flush
,
.
close
=
qsv_decode_close
,
.
close
=
qsv_decode_close
,
.
capabilities
=
AV_CODEC_CAP_DELAY
|
AV_CODEC_CAP_DR1
,
.
capabilities
=
AV_CODEC_CAP_DELAY
|
AV_CODEC_CAP_DR1
|
AV_CODEC_CAP_AVOID_PROBING
,
.
priv_class
=
&
hevc_class
,
.
priv_class
=
&
hevc_class
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[]){
AV_PIX_FMT_NV12
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[]){
AV_PIX_FMT_NV12
,
AV_PIX_FMT_QSV
,
AV_PIX_FMT_QSV
,
...
@@ -304,7 +304,7 @@ AVCodec ff_h264_qsv_decoder = {
...
@@ -304,7 +304,7 @@ AVCodec ff_h264_qsv_decoder = {
.
decode
=
qsv_decode_frame
,
.
decode
=
qsv_decode_frame
,
.
flush
=
qsv_decode_flush
,
.
flush
=
qsv_decode_flush
,
.
close
=
qsv_decode_close
,
.
close
=
qsv_decode_close
,
.
capabilities
=
AV_CODEC_CAP_DELAY
|
AV_CODEC_CAP_DR1
,
.
capabilities
=
AV_CODEC_CAP_DELAY
|
AV_CODEC_CAP_DR1
|
AV_CODEC_CAP_AVOID_PROBING
,
.
priv_class
=
&
class
,
.
priv_class
=
&
class
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[]){
AV_PIX_FMT_NV12
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[]){
AV_PIX_FMT_NV12
,
AV_PIX_FMT_QSV
,
AV_PIX_FMT_QSV
,
...
...
libavcodec/qsvdec_mpeg2.c
View file @
4e7a7a96
...
@@ -171,7 +171,7 @@ AVCodec ff_mpeg2_qsv_decoder = {
...
@@ -171,7 +171,7 @@ AVCodec ff_mpeg2_qsv_decoder = {
.
decode
=
qsv_decode_frame
,
.
decode
=
qsv_decode_frame
,
.
flush
=
qsv_decode_flush
,
.
flush
=
qsv_decode_flush
,
.
close
=
qsv_decode_close
,
.
close
=
qsv_decode_close
,
.
capabilities
=
AV_CODEC_CAP_DELAY
|
AV_CODEC_CAP_DR1
,
.
capabilities
=
AV_CODEC_CAP_DELAY
|
AV_CODEC_CAP_DR1
|
AV_CODEC_CAP_AVOID_PROBING
,
.
priv_class
=
&
class
,
.
priv_class
=
&
class
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[]){
AV_PIX_FMT_NV12
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[]){
AV_PIX_FMT_NV12
,
AV_PIX_FMT_QSV
,
AV_PIX_FMT_QSV
,
...
...
libavcodec/qsvdec_vc1.c
View file @
4e7a7a96
...
@@ -168,7 +168,7 @@ AVCodec ff_vc1_qsv_decoder = {
...
@@ -168,7 +168,7 @@ AVCodec ff_vc1_qsv_decoder = {
.
decode
=
qsv_decode_frame
,
.
decode
=
qsv_decode_frame
,
.
flush
=
qsv_decode_flush
,
.
flush
=
qsv_decode_flush
,
.
close
=
qsv_decode_close
,
.
close
=
qsv_decode_close
,
.
capabilities
=
AV_CODEC_CAP_DELAY
|
AV_CODEC_CAP_DR1
,
.
capabilities
=
AV_CODEC_CAP_DELAY
|
AV_CODEC_CAP_DR1
|
AV_CODEC_CAP_AVOID_PROBING
,
.
priv_class
=
&
class
,
.
priv_class
=
&
class
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[]){
AV_PIX_FMT_NV12
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[]){
AV_PIX_FMT_NV12
,
AV_PIX_FMT_QSV
,
AV_PIX_FMT_QSV
,
...
...
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