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

Side by Side Diff: source/libvpx/vp9/common/vp9_pred_common.h

Issue 11555023: libvpx: Add VP9 decoder. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 8 years 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2012 The WebM project authors. All Rights Reserved.
3 *
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.
9 */
10
11 #include "vp9/common/vp9_type_aliases.h"
12 #include "vp9/common/vp9_onyxc_int.h"
13 #include "vp9/common/vp9_blockd.h"
14
15 #ifndef VP9_COMMON_VP9_PRED_COMMON_H_
16 #define VP9_COMMON_VP9_PRED_COMMON_H_
17
18
19 // Predicted items
20 typedef enum {
21 PRED_SEG_ID = 0, // Segment identifier
22 PRED_REF = 1,
23 PRED_COMP = 2,
24 PRED_MBSKIP = 3,
25 PRED_SWITCHABLE_INTERP = 4
26 } PRED_ID;
27
28 extern unsigned char vp9_get_pred_context(const VP9_COMMON *const cm,
29 const MACROBLOCKD *const xd,
30 PRED_ID pred_id);
31
32 extern vp9_prob vp9_get_pred_prob(const VP9_COMMON *const cm,
33 const MACROBLOCKD *const xd,
34 PRED_ID pred_id);
35
36 extern const vp9_prob *vp9_get_pred_probs(const VP9_COMMON *const cm,
37 const MACROBLOCKD *const xd,
38 PRED_ID pred_id);
39
40 extern unsigned char vp9_get_pred_flag(const MACROBLOCKD *const xd,
41 PRED_ID pred_id);
42
43 extern void vp9_set_pred_flag(MACROBLOCKD *const xd,
44 PRED_ID pred_id,
45 unsigned char pred_flag);
46
47
48 extern unsigned char vp9_get_pred_mb_segid(const VP9_COMMON *const cm,
49 const MACROBLOCKD *const xd,
50 int MbIndex);
51
52 extern MV_REFERENCE_FRAME vp9_get_pred_ref(const VP9_COMMON *const cm,
53 const MACROBLOCKD *const xd);
54 extern void vp9_compute_mod_refprobs(VP9_COMMON *const cm);
55
56 #endif /* __INC_PRED_COMMON_H__ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698