aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python/convert_from_tensorflow.py
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2019-08-26 14:29:59 -0300
committerJames Almer <jamrial@gmail.com>2019-08-27 15:24:21 -0300
commitd70bbdc5fa05e1c0ce381eacc6e987b5e0701d1c (patch)
treecc0a25aad251e7fe2d9cf6fb6149a510c735570f /tools/python/convert_from_tensorflow.py
parent8b71cc3363b5d5b01a56f334e8b6318374192076 (diff)
downloadffmpeg-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