diff options
author | James Almer <jamrial@gmail.com> | 2019-08-26 14:29:59 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-08-27 15:24:21 -0300 |
commit | d70bbdc5fa05e1c0ce381eacc6e987b5e0701d1c (patch) | |
tree | cc0a25aad251e7fe2d9cf6fb6149a510c735570f /tools/python/convert_from_tensorflow.py | |
parent | 8b71cc3363b5d5b01a56f334e8b6318374192076 (diff) | |
download | ffmpeg-d70bbdc5fa05e1c0ce381eacc6e987b5e0701d1c.tar.gz |
avcodec/qtrle: call ff_reget_buffer() only when the picture data is going to change
ff_reget_buffer() will attempt to create a writable copy of the frame,
which is not needed when the decoder intends to return a reference to
the same buffer as the previous frame.
Should reduce data copy, hopefully achieving a similar speed up as
a9dacdeea6168787a142209bd19fdd74aefc9dd6 without dropping frames.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tools/python/convert_from_tensorflow.py')
0 files changed, 0 insertions, 0 deletions