Move firstpass motion map to stats packet
authorJohn Koleszar <jkoleszar@google.com>
Thu, 14 Oct 2010 20:40:12 +0000 (16:40 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Thu, 21 Oct 2010 18:04:20 +0000 (14:04 -0400)
commitbb7dd5b1baed31b15c6d39fc0c8981b852518b71
treee55484af3355162b1773b8a08c289c04453994eb
parentbdf469c91e5e47fcae53e00be03af5adcbf6ac6d
Move firstpass motion map to stats packet

The first implementation of the firstpass motion map for motion
compensated temporal filtering created a file, fpmotionmap.stt,
in the current working directory. This was not safe for multiple
encoder instances. This patch merges this data into the first pass
stats packet interface, so that it is handled like the other
(numerical) firstpass stats.

The new stats packet is defined as follows:
    Numerical Stats (16 doubles) -- 128 bytes
    Motion Map                   -- 1 byte / Macroblock
    Padding                      -- to align packet to 8 bytes

The fpmotionmap.stt file can still be generated for debugging
purposes in the same way that the textual version of the stats
are available (defining OUTPUT_FPF in firstpass.c)

Change-Id: I083ffbfd95e7d6a42bb4039ba0e81f678c8183ca
vp8/encoder/firstpass.c
vp8/encoder/firstpass.h
vp8/encoder/onyx_if.c
vp8/encoder/onyx_int.h
vp8/vp8_cx_iface.c