[x264-devel] commit: Make MV costs global instead of static (Jason Garrett-Glaser )
git version control
git at videolan.org
Mon Sep 14 22:00:03 CEST 2009
x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Sun Sep 13 01:02:37 2009 -0700| [935488e22376c33fbdc38909d9a119ac092e8878] | committer: Jason Garrett-Glaser
Make MV costs global instead of static
Fixes some extremely rare threading race conditions and makes the code cleaner.
Downside: slightly higher memory usage when calling multiple encoders from the same application.
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=935488e22376c33fbdc38909d9a119ac092e8878
---
common/common.h | 8 ++++
common/osdep.h | 2 +
encoder/analyse.c | 92 ++++++++++++++++++++++++++----------------------
encoder/analyse.h | 5 ++-
encoder/encoder.c | 20 +++++-----
encoder/me.c | 24 ++++++------
encoder/me.h | 2 +-
encoder/ratecontrol.c | 2 +
encoder/slicetype.c | 14 ++------
x264.c | 5 ++-
10 files changed, 94 insertions(+), 80 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=935488e22376c33fbdc38909d9a119ac092e8878
More information about the x264-devel
mailing list