Move frame allocations out of vp8_decode_frame()

in order to make it easier to implement the frame-base multithreading.

Change-Id: Iea2fd05be34fa704848fdc7669bf167f2ed229c5
This commit is contained in:
Scott LaVarnway
2012-09-24 12:44:45 -07:00
parent e278673c8e
commit f4316f39a1
5 changed files with 186 additions and 143 deletions

View File

@@ -37,6 +37,8 @@ typedef struct VP8D_COMP
{
DECLARE_ALIGNED(16, MACROBLOCKD, mb);
YV12_BUFFER_CONFIG *dec_fb_ref[NUM_YV12_BUFFERS];
DECLARE_ALIGNED(16, VP8_COMMON, common);
vp8_reader bc, bc2;