-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avcodec/utils: Introduce
avcodec_align_dimensions3
, which returns a…
… single linesize alignment value `avcodec_align_dimensions2` returns an array of linesize alignment values even though all the values are the same. This API is less friendly to a custom `AVFrame` buffer allocator because some non-FFmpeg image libraries only accept a single linesize alignment value for all the planes (e.g. Core Video). Therefore, introduce `avcodec_align_dimensions3`, which returns a single linesize alignment value.
- Loading branch information
Darren Mo
committed
Dec 1, 2019
1 parent
aa69a3b
commit ccb34cd
Showing
5 changed files
with
28 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters