2012-11-02 22:22:57 +04:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2010 The WebM project authors. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by a BSD-style license
|
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
|
|
|
* in the file PATENTS. All contributing project authors may
|
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2013-11-16 00:48:43 +04:00
|
|
|
#ifndef VP9_DECODER_VP9_DECODEFRAME_H_
|
|
|
|
#define VP9_DECODER_VP9_DECODEFRAME_H_
|
2012-11-02 22:22:57 +04:00
|
|
|
|
2014-01-19 00:16:11 +04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2014-04-08 22:41:12 +04:00
|
|
|
struct VP9Decoder;
|
2015-07-20 23:49:15 +03:00
|
|
|
struct vpx_read_bit_buffer;
|
2012-11-02 22:22:57 +04:00
|
|
|
|
2015-07-20 23:49:15 +03:00
|
|
|
int vp9_read_sync_code(struct vpx_read_bit_buffer *const rb);
|
|
|
|
void vp9_read_frame_size(struct vpx_read_bit_buffer *rb,
|
2014-06-10 02:22:17 +04:00
|
|
|
int *width, int *height);
|
2015-07-20 23:49:15 +03:00
|
|
|
BITSTREAM_PROFILE vp9_read_profile(struct vpx_read_bit_buffer *rb);
|
2014-06-10 02:22:17 +04:00
|
|
|
|
2015-06-11 01:47:57 +03:00
|
|
|
void vp9_decode_frame(struct VP9Decoder *pbi,
|
|
|
|
const uint8_t *data, const uint8_t *data_end,
|
|
|
|
const uint8_t **p_data_end);
|
|
|
|
|
2014-01-19 00:16:11 +04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} // extern "C"
|
|
|
|
#endif
|
|
|
|
|
2013-11-16 00:48:43 +04:00
|
|
|
#endif // VP9_DECODER_VP9_DECODEFRAME_H_
|