| OLD | NEW |
| 1 // Copyright 2011 Google Inc. All Rights Reserved. | 1 // Copyright 2011 Google Inc. All Rights Reserved. |
| 2 // | 2 // |
| 3 // Use of this source code is governed by a BSD-style license | 3 // Use of this source code is governed by a BSD-style license |
| 4 // that can be found in the COPYING file in the root of the source | 4 // that can be found in the COPYING file in the root of the source |
| 5 // tree. An additional intellectual property rights grant can be found | 5 // tree. An additional intellectual property rights grant can be found |
| 6 // in the file PATENTS. All contributing project authors may | 6 // in the file PATENTS. All contributing project authors may |
| 7 // be found in the AUTHORS file in the root of the source tree. | 7 // be found in the AUTHORS file in the root of the source tree. |
| 8 // ----------------------------------------------------------------------------- | 8 // ----------------------------------------------------------------------------- |
| 9 // | 9 // |
| 10 // Enhancement layer (for YUV444/422) | 10 // Enhancement layer (for YUV444/422) |
| 11 // | 11 // |
| 12 // Author: Skal (pascal.massimino@gmail.com) | 12 // Author: Skal (pascal.massimino@gmail.com) |
| 13 | 13 |
| 14 #include <assert.h> | 14 #include <assert.h> |
| 15 #include <stdlib.h> | 15 #include <stdlib.h> |
| 16 | 16 |
| 17 #include "./vp8i.h" | 17 #include "./vp8i.h" |
| 18 | 18 |
| 19 #if defined(__cplusplus) || defined(c_plusplus) | |
| 20 extern "C" { | |
| 21 #endif | |
| 22 | |
| 23 //------------------------------------------------------------------------------ | 19 //------------------------------------------------------------------------------ |
| 24 | 20 |
| 25 int VP8DecodeLayer(VP8Decoder* const dec) { | 21 int VP8DecodeLayer(VP8Decoder* const dec) { |
| 26 assert(dec); | 22 assert(dec); |
| 27 assert(dec->layer_data_size_ > 0); | 23 assert(dec->layer_data_size_ > 0); |
| 28 (void)dec; | 24 (void)dec; |
| 29 | 25 |
| 30 // TODO: handle enhancement layer here. | 26 // TODO: handle enhancement layer here. |
| 31 | 27 |
| 32 return 1; | 28 return 1; |
| 33 } | 29 } |
| 34 | 30 |
| 35 #if defined(__cplusplus) || defined(c_plusplus) | |
| 36 } // extern "C" | |
| 37 #endif | |
| OLD | NEW |