diff options
author | Adam Chelminski <[email protected]> | 2021-09-03 10:32:06 +0200 |
---|---|---|
committer | James Zern <[email protected]> | 2021-09-08 18:48:00 -0700 |
commit | 715f63232fc91f69b7505832437d3ef245fc6232 (patch) | |
tree | 5329e182f74198cb445e65c62df7e40351db51c3 /libavformat/tls_mbedtls.c | |
parent | 3008a93b4deb4b453d908e90a651f17af578cf0d (diff) |
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 <[email protected]>
Signed-off-by: James Zern <[email protected]>
Diffstat (limited to 'libavformat/tls_mbedtls.c')
0 files changed, 0 insertions, 0 deletions