aboutsummaryrefslogtreecommitdiffstats
path: root/libavresample/utils.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@googlemail.com>2018-11-04 05:48:40 +0100
committerMark Thompson <sw@jkqxz.net>2018-11-11 19:22:52 +0000
commit6df9020f45eaff66ba2c2bac98cda9ddaacb03f3 (patch)
tree9eff811332dcc440242cdb5e66d28b0ab8710b67 /libavresample/utils.c
parent252e79663de802d8d0b38fbfdfeeda2d86b4e611 (diff)
downloadffmpeg-6df9020f45eaff66ba2c2bac98cda9ddaacb03f3.tar.gz
cbs_mpeg2: Improve performance of writing slices
Instead of using a combination of bitreader and -writer for copying data, one can byte-align the (obsolete and removed) bitreader to improve performance. One can even use memcpy in the normal case. This improved the time needed for writing the slicedata from 33618 to 2370 decicycles when tested on a video originating from a DVD (4194394 runs). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
Diffstat (limited to 'libavresample/utils.c')
0 files changed, 0 insertions, 0 deletions