Make MV costs global instead of static
authorFiona Glaser <fiona@x264.com>
Sun, 13 Sep 2009 08:02:37 +0000 (01:02 -0700)
committerFiona Glaser <fiona@x264.com>
Mon, 14 Sep 2009 19:27:38 +0000 (12:27 -0700)
commitb1eac26510d0532ae9202249767e5f3ba22443ef
treed9993ecb653f14c6d77559acad318bad71a63b22
parentc8c060798aa0a43cd334f78b62fd23720024de9f
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.
common/common.h
common/osdep.h
encoder/analyse.c
encoder/analyse.h
encoder/encoder.c
encoder/me.c
encoder/me.h
encoder/ratecontrol.c
encoder/slicetype.c
x264.c