aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/h264_intrapred_10bit.asm
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-06 08:23:27 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-11-01 20:13:01 +0100
commite01e30ede1d0a06df90c0c7816cb51941bcd3bc9 (patch)
tree5a24c89e36e944fbb069117a5b2328b1a7716751 /libavcodec/x86/h264_intrapred_10bit.asm
parentfd2e65871c6fdc79cba5e3eef877a81ec83d57c6 (diff)
downloadffmpeg-e01e30ede1d0a06df90c0c7816cb51941bcd3bc9.tar.gz
avcodec/nvdec: Use RefStruct-pool API for decoder pool
It involves less allocations, in particular no allocations after the entry has been created. Therefore creating a new reference from an existing one can't fail and therefore need not be checked. It also avoids indirections and casts. Also note that nvdec_decoder_frame_init() (the callback to initialize new entries from the pool) does not use atomics to read and replace the number of entries currently used by the pool. This relies on nvdec (like most other hwaccels) not being run in a truely frame-threaded way. Tested-by: Timo Rothenpieler <timo@rothenpieler.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/x86/h264_intrapred_10bit.asm')
0 files changed, 0 insertions, 0 deletions