2012-11-02 11:22:57 -07: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-15 12:48:43 -08:00
|
|
|
#ifndef VP9_DECODER_VP9_DECODEFRAME_H_
|
|
|
|
#define VP9_DECODER_VP9_DECODEFRAME_H_
|
2012-11-02 11:22:57 -07:00
|
|
|
|
2014-01-18 12:16:11 -08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2013-04-26 12:30:20 -07:00
|
|
|
struct VP9Common;
|
2014-04-08 11:41:12 -07:00
|
|
|
struct VP9Decoder;
|
2014-06-09 15:22:17 -07:00
|
|
|
struct vp9_read_bit_buffer;
|
2012-11-02 11:22:57 -07:00
|
|
|
|
2013-08-22 20:03:08 -07:00
|
|
|
void vp9_init_dequantizer(struct VP9Common *cm);
|
2014-03-20 15:01:37 -07:00
|
|
|
|
2014-05-21 15:51:40 -07:00
|
|
|
void vp9_decode_frame(struct VP9Decoder *pbi,
|
|
|
|
const uint8_t *data, const uint8_t *data_end,
|
|
|
|
const uint8_t **p_data_end);
|
2012-11-02 11:22:57 -07:00
|
|
|
|
2014-06-09 15:22:17 -07:00
|
|
|
int vp9_read_sync_code(struct vp9_read_bit_buffer *const rb);
|
|
|
|
void vp9_read_frame_size(struct vp9_read_bit_buffer *rb,
|
|
|
|
int *width, int *height);
|
2014-07-15 01:54:29 -07:00
|
|
|
BITSTREAM_PROFILE vp9_read_profile(struct vp9_read_bit_buffer *rb);
|
2014-06-09 15:22:17 -07:00
|
|
|
|
2014-01-18 12:16:11 -08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} // extern "C"
|
|
|
|
#endif
|
|
|
|
|
2013-11-15 12:48:43 -08:00
|
|
|
#endif // VP9_DECODER_VP9_DECODEFRAME_H_
|