[x264-devel] cli: Use memory-mapped input frames for yuv and y4m
Henrik Gramner
git at videolan.org
Sun Jan 17 22:17:55 CET 2016
x264 | branch: master | Henrik Gramner <henrik at gramner.com> | Mon Oct 26 19:54:20 2015 +0100| [3d972062c8a37d1a19586e2351e889b0a70beb40] | committer: Henrik Gramner
cli: Use memory-mapped input frames for yuv and y4m
Improves performance by avoiding extraneous memory copying.
Most beneficial on fast settings.
On average around 5-10% faster overall on ultrafast but the
performance improvement can be even larger in some cases.
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=3d972062c8a37d1a19586e2351e889b0a70beb40
---
configure | 6 ++-
filters/video/source.c | 4 +-
input/avs.c | 4 +-
input/ffms.c | 4 +-
input/input.c | 104 ++++++++++++++++++++++++++++++++++++++++++++----
input/input.h | 24 +++++++++--
input/lavf.c | 8 ++--
input/raw.c | 56 +++++++++++++++++++++++---
input/thread.c | 20 +++++++---
input/timecode.c | 16 ++++++--
input/y4m.c | 99 +++++++++++++++++++++++++++++++++++----------
11 files changed, 287 insertions(+), 58 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=3d972062c8a37d1a19586e2351e889b0a70beb40
More information about the x264-devel
mailing list