| 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) {
|
| }
|
| -
|
|
|