summaryrefslogtreecommitdiff
path: root/drivers/webpold/dec/layer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/webpold/dec/layer.c')
-rw-r--r--drivers/webpold/dec/layer.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/drivers/webpold/dec/layer.c b/drivers/webpold/dec/layer.c
new file mode 100644
index 0000000000..a3a5bdcfe8
--- /dev/null
+++ b/drivers/webpold/dec/layer.c
@@ -0,0 +1,35 @@
+// Copyright 2011 Google Inc. All Rights Reserved.
+//
+// This code is licensed under the same terms as WebM:
+// Software License Agreement: http://www.webmproject.org/license/software/
+// Additional IP Rights Grant: http://www.webmproject.org/license/additional/
+// -----------------------------------------------------------------------------
+//
+// Enhancement layer (for YUV444/422)
+//
+// Author: Skal (pascal.massimino@gmail.com)
+
+#include <assert.h>
+#include <stdlib.h>
+
+#include "./vp8i.h"
+
+#if defined(__cplusplus) || defined(c_plusplus)
+extern "C" {
+#endif
+
+//------------------------------------------------------------------------------
+
+int VP8DecodeLayer(VP8Decoder* const dec) {
+ assert(dec);
+ assert(dec->layer_data_size_ > 0);
+ (void)dec;
+
+ // TODO: handle enhancement layer here.
+
+ return 1;
+}
+
+#if defined(__cplusplus) || defined(c_plusplus)
+} // extern "C"
+#endif