summaryrefslogtreecommitdiff
path: root/libavcodec/vaapi_encode.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@googlemail.com>2018-11-28 01:24:10 +0100
committerMark Thompson <sw@jkqxz.net>2019-01-23 22:33:45 +0000
commit8ca55a2b9e95e79956ae0a9069f08e72c63fde16 (patch)
tree4abc534f3d4471343074988536d564747361e386 /libavcodec/vaapi_encode.c
parent992532ee3122d7938a7581988eea401b57de8189 (diff)
cbs_h2645: Avoid memcpy when splitting fragment #2
Now memcpy can be avoided for NAL units containing escapes, too. Particularly improves performance for files with hardcoded black bars. For such a file, time spent in cbs_h2645_split_fragment went down from 369410 decicycles to 327677 decicycles. (It were 379114 decicycles when every NAL unit was copied.) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com>
Diffstat (limited to 'libavcodec/vaapi_encode.c')
0 files changed, 0 insertions, 0 deletions