1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/libvpx/vp9/encoder/vp9_subexp.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,35 @@ 1.4 +/* 1.5 + * Copyright (c) 2013 The WebM project authors. All Rights Reserved. 1.6 + * 1.7 + * Use of this source code is governed by a BSD-style license 1.8 + * that can be found in the LICENSE file in the root of the source 1.9 + * tree. An additional intellectual property rights grant can be found 1.10 + * in the file PATENTS. All contributing project authors may 1.11 + * be found in the AUTHORS file in the root of the source tree. 1.12 + */ 1.13 + 1.14 + 1.15 +#ifndef VP9_DECODER_VP9_SUBEXP_H_ 1.16 +#define VP9_DECODER_VP9_SUBEXP_H_ 1.17 + 1.18 +void vp9_compute_update_table(); 1.19 + 1.20 + 1.21 +void vp9_write_prob_diff_update(vp9_writer *w, 1.22 + vp9_prob newp, vp9_prob oldp); 1.23 + 1.24 +void vp9_cond_prob_diff_update(vp9_writer *w, vp9_prob *oldp, 1.25 + unsigned int *ct); 1.26 + 1.27 +int vp9_prob_diff_update_savings_search(const unsigned int *ct, 1.28 + vp9_prob oldp, vp9_prob *bestp, 1.29 + vp9_prob upd); 1.30 + 1.31 + 1.32 +int vp9_prob_diff_update_savings_search_model(const unsigned int *ct, 1.33 + const vp9_prob *oldp, 1.34 + vp9_prob *bestp, 1.35 + vp9_prob upd, 1.36 + int b, int r); 1.37 + 1.38 +#endif // VP9_DECODER_VP9_SUBEXP_H_