2 * Copyright (c) 2013 The WebM project authors. All Rights Reserved.
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
12 #ifndef VP9_ENCODER_VP9_SUBEXP_H_
13 #define VP9_ENCODER_VP9_SUBEXP_H_
19 #include "vpx_dsp/prob.h"
23 void vp10_write_prob_diff_update(struct vpx_writer *w,
24 vpx_prob newp, vpx_prob oldp);
26 void vp10_cond_prob_diff_update(struct vpx_writer *w, vpx_prob *oldp,
27 const unsigned int ct[2]);
29 int vp10_prob_diff_update_savings_search(const unsigned int *ct,
30 vpx_prob oldp, vpx_prob *bestp,
34 int vp10_prob_diff_update_savings_search_model(const unsigned int *ct,
44 #endif // VP9_ENCODER_VP9_SUBEXP_H_