Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(748)

Unified Diff: third_party/libwebp/dsp/enc_avx2.c

Issue 421003002: libwebp: update to 0.4.1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 0.4.1-final Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libwebp/dsp/enc.c ('k') | third_party/libwebp/dsp/enc_mips32.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libwebp/dsp/enc_avx2.c
diff --git a/third_party/libwebp/dec/layer.c b/third_party/libwebp/dsp/enc_avx2.c
similarity index 58%
rename from third_party/libwebp/dec/layer.c
rename to third_party/libwebp/dsp/enc_avx2.c
index dacb9e23cd3553e2cb78ccb3de1cc3339caa46d3..372e6169d6dcd4594c133f4a321fbfb10a5895e8 100644
--- a/third_party/libwebp/dec/layer.c
+++ b/third_party/libwebp/dsp/enc_avx2.c
@@ -1,4 +1,4 @@
-// Copyright 2011 Google Inc. All Rights Reserved.
+// Copyright 2014 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
@@ -7,24 +7,18 @@
// be found in the AUTHORS file in the root of the source tree.
// -----------------------------------------------------------------------------
//
-// Enhancement layer (for YUV444/422)
-//
-// Author: Skal (pascal.massimino@gmail.com)
+// AVX2 version of speed-critical encoding functions.
-#include <assert.h>
-#include <stdlib.h>
+#include "./dsp.h"
-#include "./vp8i.h"
+#if defined(WEBP_USE_AVX2)
-//------------------------------------------------------------------------------
+#endif // WEBP_USE_AVX2
-int VP8DecodeLayer(VP8Decoder* const dec) {
- assert(dec);
- assert(dec->layer_data_size_ > 0);
- (void)dec;
+//------------------------------------------------------------------------------
+// Entry point
- // TODO: handle enhancement layer here.
+extern void VP8EncDspInitAVX2(void);
- return 1;
+void VP8EncDspInitAVX2(void) {
}
-
« no previous file with comments | « third_party/libwebp/dsp/enc.c ('k') | third_party/libwebp/dsp/enc_mips32.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698