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

Side by Side Diff: third_party/libwebp/dec/layer.c

Issue 10832153: libwebp: update snapshot to v0.2.0-rc1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 Google Inc. 1 // Copyright 2011 Google Inc. All Rights Reserved.
2 // 2 //
3 // This code is licensed under the same terms as WebM: 3 // This code is licensed under the same terms as WebM:
4 // Software License Agreement: http://www.webmproject.org/license/software/ 4 // Software License Agreement: http://www.webmproject.org/license/software/
5 // Additional IP Rights Grant: http://www.webmproject.org/license/additional/ 5 // Additional IP Rights Grant: http://www.webmproject.org/license/additional/
6 // ----------------------------------------------------------------------------- 6 // -----------------------------------------------------------------------------
7 // 7 //
8 // Enhancement layer (for YUV444/422) 8 // Enhancement layer (for YUV444/422)
9 // 9 //
10 // Author: Skal (pascal.massimino@gmail.com) 10 // Author: Skal (pascal.massimino@gmail.com)
11 11
12 #include <assert.h> 12 #include <assert.h>
13 #include <stdlib.h> 13 #include <stdlib.h>
14 #include "vp8i.h" 14
15 #include "./vp8i.h"
15 16
16 #if defined(__cplusplus) || defined(c_plusplus) 17 #if defined(__cplusplus) || defined(c_plusplus)
17 extern "C" { 18 extern "C" {
18 #endif 19 #endif
19 20
20 //------------------------------------------------------------------------------ 21 //------------------------------------------------------------------------------
21 22
22 int VP8DecodeLayer(VP8Decoder* const dec) { 23 int VP8DecodeLayer(VP8Decoder* const dec) {
23 assert(dec); 24 assert(dec);
24 assert(dec->layer_data_size_ > 0); 25 assert(dec->layer_data_size_ > 0);
25 (void)dec; 26 (void)dec;
26 27
27 // TODO: handle enhancement layer here. 28 // TODO: handle enhancement layer here.
28 29
29 return 1; 30 return 1;
30 } 31 }
31 32
32 #if defined(__cplusplus) || defined(c_plusplus) 33 #if defined(__cplusplus) || defined(c_plusplus)
33 } // extern "C" 34 } // extern "C"
34 #endif 35 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698