diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-10-17 10:29:45 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-10-17 12:35:23 -0300 |
commit | ba191c0ce044a71e49b5bef97dd84d00aa37f4e4 (patch) | |
tree | 8fcad3bce0fd9e8a2a2bec218535ae8800c8baaa /tests/ref/fate/filter-hue3 | |
parent | 0279e727e99282dfa6c7019f468cb217543be243 (diff) | |
download | ffmpeg-ba191c0ce044a71e49b5bef97dd84d00aa37f4e4.tar.gz |
vp9_superframe: Avoid allocations and copies of packet structures
Up until now, the vp9_superframe bsf used distinct packets for input and
output. But at no point in the bsf are the input and output packets used
at the same time (except during a call to av_packet_move_ref()), so that
one can avoid using two packets if one switches to ff_bsf_get_packet_ref
at the same time. This also saves one malloc+free of an AVPacket
structure per filtered packet.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/ref/fate/filter-hue3')
0 files changed, 0 insertions, 0 deletions