mirror of
https://github.com/webmproject/libwebp.git
synced 2025-02-07 12:33:04 +01:00
35 lines
868 B
C
35 lines
868 B
C
|
// Copyright 2011 Google Inc.
|
||
|
//
|
||
|
// 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
|