New comit of SDL2
[supertux.git] / src / SDL2 / external / libwebp-0.3.0 / src / dec / layer.c
1 // Copyright 2011 Google Inc. All Rights Reserved.
2 //
3 // This code is licensed under the same terms as WebM:
4 //  Software License Agreement:  http://www.webmproject.org/license/software/
5 //  Additional IP Rights Grant:  http://www.webmproject.org/license/additional/
6 // -----------------------------------------------------------------------------
7 //
8 // Enhancement layer (for YUV444/422)
9 //
10 // Author: Skal (pascal.massimino@gmail.com)
11
12 #include <assert.h>
13 #include <stdlib.h>
14
15 #include "./vp8i.h"
16
17 #if defined(__cplusplus) || defined(c_plusplus)
18 extern "C" {
19 #endif
20
21 //------------------------------------------------------------------------------
22
23 int VP8DecodeLayer(VP8Decoder* const dec) {
24   assert(dec);
25   assert(dec->layer_data_size_ > 0);
26   (void)dec;
27
28   // TODO: handle enhancement layer here.
29
30   return 1;
31 }
32
33 #if defined(__cplusplus) || defined(c_plusplus)
34 }    // extern "C"
35 #endif