diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-16 01:38:41 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-19 12:03:34 +0100 |
commit | d328467dd3007116dcc41aba7af0f560a022b456 (patch) | |
tree | be1bc2081b1492f24a317f40ff7b154043f81b0b /libavfilter/vulkan_filter.h | |
parent | b177fca06b98f5ca2a2a9f178b49256b32e243e7 (diff) | |
download | ffmpeg-d328467dd3007116dcc41aba7af0f560a022b456.tar.gz |
avformat/matroskaenc: Avoid temporary buffers when reformatting H.2645
Do this by using the new NALUList API. This avoids an allocation
of a dynamic buffer per packet as well as the (re)allocation
of the actual buffer as well as copying the data around.
This improves performance: The time for one call to write_packet
decreased from 703501 to 357900 decicyles when remuxing a 5min
14000 kb/s H.264 transport stream.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vulkan_filter.h')
0 files changed, 0 insertions, 0 deletions