diff options
author | Andreas Rheinhardt <andreas.rheinhardt@googlemail.com> | 2018-11-04 05:48:40 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-11-11 19:22:52 +0000 |
commit | 6df9020f45eaff66ba2c2bac98cda9ddaacb03f3 (patch) | |
tree | 9eff811332dcc440242cdb5e66d28b0ab8710b67 /libavfilter/avfilterres.rc | |
parent | 252e79663de802d8d0b38fbfdfeeda2d86b4e611 (diff) | |
download | ffmpeg-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 'libavfilter/avfilterres.rc')
0 files changed, 0 insertions, 0 deletions