Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
00c48ae0
Commit
00c48ae0
authored
Feb 10, 2014
by
Jim Bankoski
Committed by
Gerrit Code Review
Feb 10, 2014
Browse files
Merge "Converted functions in header to INLINE..."
parents
adc84cf9
6a9e58cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/common/vp9_pred_common.h
View file @
00c48ae0
...
...
@@ -98,8 +98,8 @@ static INLINE vp9_prob vp9_get_pred_prob_single_ref_p2(const VP9_COMMON *cm,
int
vp9_get_tx_size_context
(
const
MACROBLOCKD
*
xd
);
static
const
vp9_prob
*
get_tx_probs
(
TX_SIZE
max_tx_size
,
int
ctx
,
const
struct
tx_probs
*
tx_probs
)
{
static
INLINE
const
vp9_prob
*
get_tx_probs
(
TX_SIZE
max_tx_size
,
int
ctx
,
const
struct
tx_probs
*
tx_probs
)
{
switch
(
max_tx_size
)
{
case
TX_8X8
:
return
tx_probs
->
p8x8
[
ctx
];
...
...
@@ -113,13 +113,14 @@ static const vp9_prob *get_tx_probs(TX_SIZE max_tx_size, int ctx,
}
}
static
const
vp9_prob
*
get_tx_probs2
(
TX_SIZE
max_tx_size
,
const
MACROBLOCKD
*
xd
,
const
struct
tx_probs
*
tx_probs
)
{
static
INLINE
const
vp9_prob
*
get_tx_probs2
(
TX_SIZE
max_tx_size
,
const
MACROBLOCKD
*
xd
,
const
struct
tx_probs
*
tx_probs
)
{
return
get_tx_probs
(
max_tx_size
,
vp9_get_tx_size_context
(
xd
),
tx_probs
);
}
static
unsigned
int
*
get_tx_counts
(
TX_SIZE
max_tx_size
,
int
ctx
,
struct
tx_counts
*
tx_counts
)
{
static
INLINE
unsigned
int
*
get_tx_counts
(
TX_SIZE
max_tx_size
,
int
ctx
,
struct
tx_counts
*
tx_counts
)
{
switch
(
max_tx_size
)
{
case
TX_8X8
:
return
tx_counts
->
p8x8
[
ctx
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment