Changeset 715f6323 in ffmpeg
- Timestamp:
-
Sep 9, 2021, 1:48:00 AM
(3 years ago)
- Author:
- James Zern <jzern@google.com>
- Branches:
- master
- Children:
- e8aec714
- Parents:
- 3008a93b
- git-author:
- Adam Chelminski <chelminski.adam@gmail.com> (09/03/21 08:32:06)
- git-committer:
- James Zern <jzern@google.com> (09/09/21 01:48:00)
- Message:
-
avcodec/libvpxenc: Apply codec options to alpha codec context
When encoding yuva420 (alpha) frames, the vpx encoder uses a second
vpx_codec_ctx to encode the alpha stream. However, codec options were
only being applied to the primary encoder. This patch updates
codecctl_int and codecctl_intp to also apply codec options to the alpha
codec context when encoding frames with alpha.
This is necessary to take advantage of libvpx speed optimizations
such as 'row-mt' and 'cpu-used' when encoding videos with alpha.
Without this patch, the speed optimizations are only applied to the
primary stream encoding, and the overall encoding is just as slow
as it would be without the options specified.
Signed-off-by: Adam Chelminski <chelminski.adam@gmail.com>
Signed-off-by: James Zern <jzern@google.com>
-
(No files)
-