summaryrefslogtreecommitdiff
path: root/libavfilter/scene_sad.h
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 /libavfilter/scene_sad.h
parent252e79663de802d8d0b38fbfdfeeda2d86b4e611 (diff)
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/scene_sad.h')
0 files changed, 0 insertions, 0 deletions