Jingning Han
72033fcff8
Make memory alloc in pick_mode_context bsize aware
...
This commit makes the buffer allocation of zcoeff_blk array in
pick_mode_context block size aware. It calculates the number of
4x4 blocks in the partition and assigns the memory space accordingly.
This process (and the uninitialization) is done once for each encoding
pass. It allows memory copy of smaller buffer when possible.
For football at 600kbps, the runtimes improve by about 1%:
speed 1, 45961ms -> 45472ms
speed 2, 23863ms -> 23598ms
Change-Id: Id2ca24906fa89f46fa5fe742ec4b8efc2a61f877
2013-10-18 12:42:44 -07:00
..
2013-10-17 13:02:28 -07:00
2013-10-18 11:02:32 -07:00
2013-06-07 16:00:26 -07:00
2013-10-18 12:42:44 -07:00
2013-10-04 17:20:58 -07:00
2013-05-20 16:23:19 -07:00
2013-10-17 13:02:28 -07:00
2013-10-18 12:42:44 -07:00
2013-10-01 11:54:10 -07:00
2013-10-04 14:35:01 -07:00
2013-08-27 11:05:08 -07:00
2013-10-17 13:02:28 -07:00
2013-10-03 11:36:49 -07:00
2013-10-09 09:23:52 -07:00
2013-09-24 15:55:49 -07:00
2013-10-17 14:04:41 -07:00
2013-10-07 13:57:20 -07:00
2013-10-04 14:24:19 -07:00
2013-07-15 19:26:30 -07:00
2013-10-17 14:02:04 -07:00
2013-02-28 13:18:02 -08:00
2013-10-17 14:02:04 -07:00
2013-10-17 14:02:04 -07:00
2013-10-10 17:16:20 -07:00
2012-12-18 15:31:19 -08:00
2013-10-18 12:42:44 -07:00
2013-10-16 11:55:13 +01:00
2013-10-04 17:08:41 -07:00
2013-08-09 07:37:08 -07:00
2013-10-04 11:01:49 -07:00
2013-02-21 10:34:33 -08:00
2013-10-16 16:24:03 -07:00
2013-09-24 15:13:09 -07:00
2013-10-07 19:16:53 -07:00
2013-09-24 15:13:09 -07:00
2013-10-18 12:42:44 -07:00
2013-10-16 11:55:13 +01:00
2013-06-25 12:57:28 -07:00
2013-10-16 16:24:03 -07:00
2013-04-19 22:16:28 +01:00
2013-10-04 14:08:37 -07:00
2013-10-11 10:47:22 -07:00
2013-10-11 10:47:22 -07:00
2013-10-17 14:02:04 -07:00
2013-04-16 15:58:27 -07:00
2013-10-16 17:05:39 -07:00
2013-08-27 11:05:08 -07:00
2013-04-30 16:39:07 -07:00
2013-05-07 18:19:50 -07:00
2013-10-17 14:04:41 -07:00
2013-10-16 11:55:13 +01:00
2013-10-16 13:13:14 -07:00
2013-10-16 11:55:13 +01:00
2013-06-07 13:41:44 -07:00