separate block-parsing into a visible VP8DecodeMB()

This is to prepare for incremental decoding.

Change-Id: Ifc7e2df3e18eb56af3752cba8dfe08d370036d7f
This commit is contained in:
Pascal Massimino
2011-03-09 21:29:36 -08:00
parent a871de0255
commit 3db6525574
2 changed files with 44 additions and 40 deletions

View File

@ -265,6 +265,8 @@ void VP8ReconstructBlock(VP8Decoder* const dec);
void VP8StoreBlock(VP8Decoder* const dec);
// Finalize and transmit a complete row. Return false in case of user-abort.
int VP8FinishRow(VP8Decoder* const dec, VP8Io* io);
// Decode one macroblock. Returns false if there is not enough data.
int VP8DecodeMB(VP8Decoder* const dec, VP8BitReader* const token_br);
// in dsp.c
typedef void (*VP8Idct)(const int16_t* coeffs, uint8_t* dst);