2010-05-18 17:58:33 +02:00
|
|
|
/*
|
2010-09-09 14:16:39 +02:00
|
|
|
* Copyright (c) 2010 The WebM project authors. All Rights Reserved.
|
2010-05-18 17:58:33 +02:00
|
|
|
*
|
2010-06-18 18:39:21 +02:00
|
|
|
* Use of this source code is governed by a BSD-style license
|
2010-06-04 22:19:40 +02:00
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
2010-06-18 18:39:21 +02:00
|
|
|
* in the file PATENTS. All contributing project authors may
|
2010-06-04 22:19:40 +02:00
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
2010-05-18 17:58:33 +02:00
|
|
|
*/
|
|
|
|
|
2013-12-16 03:25:05 +01:00
|
|
|
#ifndef VP8_ENCODER_BITSTREAM_H_
|
|
|
|
#define VP8_ENCODER_BITSTREAM_H_
|
2010-05-18 17:58:33 +02:00
|
|
|
|
2014-01-18 21:16:11 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2017-06-16 10:45:11 +02:00
|
|
|
#include "vp8/encoder/treewriter.h"
|
|
|
|
#include "vp8/encoder/tokenize.h"
|
|
|
|
|
2014-07-31 23:19:31 +02:00
|
|
|
void vp8_pack_tokens(vp8_writer *w, const TOKENEXTRA *p, int xcount);
|
2017-06-16 10:45:11 +02:00
|
|
|
void vp8_convert_rfct_to_prob(struct VP8_COMP *const cpi);
|
|
|
|
void vp8_calc_ref_frame_costs(int *ref_frame_cost, int prob_intra,
|
|
|
|
int prob_last, int prob_garf);
|
|
|
|
int vp8_estimate_entropy_savings(struct VP8_COMP *cpi);
|
|
|
|
void vp8_update_coef_probs(struct VP8_COMP *cpi);
|
2011-11-10 12:07:37 +01:00
|
|
|
|
2014-01-18 21:16:11 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} // extern "C"
|
|
|
|
#endif
|
|
|
|
|
2013-12-16 03:25:05 +01:00
|
|
|
#endif // VP8_ENCODER_BITSTREAM_H_
|