Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
64a5260c
Commit
64a5260c
authored
7 years ago
by
Mark Thompson
Browse files
Options
Downloads
Patches
Plain Diff
lavc: Add flag to allow profile mismatch with hardware decoding
parent
6af014f4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/APIchanges
+3
-0
3 additions, 0 deletions
doc/APIchanges
libavcodec/avcodec.h
+14
-0
14 additions, 0 deletions
libavcodec/avcodec.h
libavcodec/version.h
+1
-1
1 addition, 1 deletion
libavcodec/version.h
with
18 additions
and
1 deletion
doc/APIchanges
+
3
−
0
View file @
64a5260c
...
...
@@ -13,6 +13,9 @@ libavutil: 2017-03-23
API changes, most recent first:
2017-04-26 - xxxxxxx - lavc 58.3.1 - avcodec.h
Add AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH.
2017-03-xx - xxxxxxx - lavc 57.37.0 - avcodec.h
Add AVCodecContext.hwaccel_flags field. This will control some hwaccels at
a later point.
...
...
This diff is collapsed.
Click to expand it.
libavcodec/avcodec.h
+
14
−
0
View file @
64a5260c
...
...
@@ -3005,6 +3005,20 @@ typedef struct AVHWAccel {
*/
#define AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH (1 << 1)
/**
* Hardware acceleration should still be attempted for decoding when the
* codec profile does not match the reported capabilities of the hardware.
*
* For example, this can be used to try to decode baseline profile H.264
* streams in hardware - it will often succeed, because many streams marked
* as baseline profile actually conform to constrained baseline profile.
*
* @warning If the stream is actually not supported then the behaviour is
* undefined, and may include returning entirely incorrect output
* while indicating success.
*/
#define AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH (1 << 2)
/**
* @}
*/
...
...
This diff is collapsed.
Click to expand it.
libavcodec/version.h
+
1
−
1
View file @
64a5260c
...
...
@@ -29,7 +29,7 @@
#define LIBAVCODEC_VERSION_MAJOR 58
#define LIBAVCODEC_VERSION_MINOR 3
#define LIBAVCODEC_VERSION_MICRO
0
#define LIBAVCODEC_VERSION_MICRO
1
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment