On 3/26/2020 11:30 AM, Anton Khirnov wrote: > Quoting James Almer (2020-03-06 01:09:39) >> Signed-off-by: James Almer <jamr...@gmail.com> >> --- >> libavcodec/vp9.c | 13 ++++++++++++- >> libavcodec/vp9dec.h | 4 ++++ >> 2 files changed, 16 insertions(+), 1 deletion(-) >> > > Looks reasonable. Any measurable performance difference?
Very noticeable when i use the START_TIMER/STOP_TIMER macros within the function, of course, but despite only allocating about three buffers for the entire decoding process instead of one per frame, i didn't notice any reduction in overall decoding time. Someone better at benchmarking may want to give it a try, though. Will apply, thanks. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".