mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 14:34:33 +02:00
SSE2 version of simple in-loop filtering
~10% faster decoding Patch by Somnath Banerjee (somnath at google dot com) Change-Id: I200db408272b4f61cda9d9261d2d4370a698d6c4
This commit is contained in:
@ -40,6 +40,8 @@ extern "C" {
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
extern void* VP8DecGetCPUInfo; // opaque forward declaration.
|
||||
|
||||
static int verbose = 0;
|
||||
|
||||
#ifdef _WIN32
|
||||
@ -233,6 +235,7 @@ static void Help(void) {
|
||||
" file with IMC4 layout.\n"
|
||||
" -version: print version number and exit.\n"
|
||||
"Use -v for verbose (e.g. print encoding/decoding times)\n"
|
||||
"Use -noasm to disable all assembly optimizations.\n"
|
||||
);
|
||||
}
|
||||
|
||||
@ -265,6 +268,8 @@ int main(int argc, const char *argv[]) {
|
||||
format = PGM;
|
||||
} else if (!strcmp(argv[c], "-v")) {
|
||||
verbose = 1;
|
||||
} else if (!strcmp(argv[c], "-noasm")) {
|
||||
VP8DecGetCPUInfo = NULL;
|
||||
} else if (argv[c][0] == '-') {
|
||||
printf("Unknown option '%s'\n", argv[c]);
|
||||
Help();
|
||||
|
Reference in New Issue
Block a user