mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-14 21:09:55 +02:00
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:
@ -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);
|
||||
|
Reference in New Issue
Block a user