store prediction mode array as uint8_t[16], not int[16].

This allow faster copy and gives a little bit of speed-up

Change-Id: I5f478229766098630b53b8a4982442fe29290ee6
This commit is contained in:
Pascal Massimino
2012-01-27 03:17:41 -08:00
parent 1336fa719d
commit 7b67881a23
4 changed files with 8 additions and 10 deletions

View File

@ -253,7 +253,7 @@ static int MBAnalyzeBestIntra16Mode(VP8EncIterator* const it) {
static int MBAnalyzeBestIntra4Mode(VP8EncIterator* const it,
int best_alpha) {
int modes[16];
uint8_t modes[16];
const int max_mode = (it->enc_->method_ >= 3) ? MAX_INTRA4_MODE : NUM_BMODES;
int i4_alpha = 0;
VP8IteratorStartI4(it);