aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vaapi_encode_h265.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-16 13:40:26 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-23 23:53:38 +0200
commit477a398c3ea9b84cb3c8139becadbb821e234ceb (patch)
tree911067f8124f8b1ce2549021dcc3160aa8c5204a /libavcodec/vaapi_encode_h265.c
parentcd7e25b14a2a27b73874b5f79a04ae5db738f7f6 (diff)
downloadffmpeg-477a398c3ea9b84cb3c8139becadbb821e234ceb.tar.gz
avcodec/elbg: Also allocate buffers for recursion only once
This is possible because the number of elements needed in each recursion step decreases geometrically, so the geometric series provides an upper bound for the sum of number of elements of the needed buffers. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/vaapi_encode_h265.c')
0 files changed, 0 insertions, 0 deletions