Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(758)

Side by Side Diff: source/libvpx/vp9/encoder/vp9_subexp.h

Issue 1162573005: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_ssim.c ('k') | source/libvpx/vp9/encoder/vp9_subexp.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebM project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 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 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 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 11
12 #ifndef VP9_ENCODER_VP9_SUBEXP_H_ 12 #ifndef VP9_ENCODER_VP9_SUBEXP_H_
13 #define VP9_ENCODER_VP9_SUBEXP_H_ 13 #define VP9_ENCODER_VP9_SUBEXP_H_
14 14
15 #ifdef __cplusplus 15 #ifdef __cplusplus
16 extern "C" { 16 extern "C" {
17 #endif 17 #endif
18 18
19 void vp9_write_prob_diff_update(vp9_writer *w, 19 #include "vp9/common/vp9_prob.h"
20
21 struct vp9_writer;
22
23 void vp9_write_prob_diff_update(struct vp9_writer *w,
20 vp9_prob newp, vp9_prob oldp); 24 vp9_prob newp, vp9_prob oldp);
21 25
22 void vp9_cond_prob_diff_update(vp9_writer *w, vp9_prob *oldp, 26 void vp9_cond_prob_diff_update(struct vp9_writer *w, vp9_prob *oldp,
23 unsigned int *ct); 27 const unsigned int ct[2]);
24 28
25 int vp9_prob_diff_update_savings_search(const unsigned int *ct, 29 int vp9_prob_diff_update_savings_search(const unsigned int *ct,
26 vp9_prob oldp, vp9_prob *bestp, 30 vp9_prob oldp, vp9_prob *bestp,
27 vp9_prob upd); 31 vp9_prob upd);
28 32
29 33
30 int vp9_prob_diff_update_savings_search_model(const unsigned int *ct, 34 int vp9_prob_diff_update_savings_search_model(const unsigned int *ct,
31 const vp9_prob *oldp, 35 const vp9_prob *oldp,
32 vp9_prob *bestp, 36 vp9_prob *bestp,
33 vp9_prob upd, 37 vp9_prob upd,
34 int stepsize); 38 int stepsize);
35 39
36 #ifdef __cplusplus 40 #ifdef __cplusplus
37 } // extern "C" 41 } // extern "C"
38 #endif 42 #endif
39 43
40 #endif // VP9_ENCODER_VP9_SUBEXP_H_ 44 #endif // VP9_ENCODER_VP9_SUBEXP_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_ssim.c ('k') | source/libvpx/vp9/encoder/vp9_subexp.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698