Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
aom-rav1e
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiph.Org
aom-rav1e
Commits
2697d6c8
Commit
2697d6c8
authored
11 years ago
by
Jim Bankoski
Committed by
Gerrit Code Review
11 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Converted short static functions to inline."
parents
812bacc9
3a3aa3f4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vp9/common/vp9_entropy.h
+5
-5
5 additions, 5 deletions
vp9/common/vp9_entropy.h
with
5 additions
and
5 deletions
vp9/common/vp9_entropy.h
+
5
−
5
View file @
2697d6c8
...
...
@@ -119,7 +119,7 @@ static INLINE void reset_skip_context(MACROBLOCKD *xd, BLOCK_SIZE bsize) {
extern
DECLARE_ALIGNED
(
16
,
const
uint8_t
,
vp9_coefband_trans_8x8plus
[
1024
]);
extern
DECLARE_ALIGNED
(
16
,
const
uint8_t
,
vp9_coefband_trans_4x4
[
16
]);
static
const
uint8_t
*
get_band_translate
(
TX_SIZE
tx_size
)
{
static
INLINE
const
uint8_t
*
get_band_translate
(
TX_SIZE
tx_size
)
{
return
tx_size
==
TX_4X4
?
vp9_coefband_trans_4x4
:
vp9_coefband_trans_8x8plus
;
}
...
...
@@ -146,8 +146,8 @@ typedef unsigned int vp9_coeff_count_model[REF_TYPES][COEF_BANDS]
void
vp9_model_to_full_probs
(
const
vp9_prob
*
model
,
vp9_prob
*
full
);
static
int
get_entropy_context
(
TX_SIZE
tx_size
,
const
ENTROPY_CONTEXT
*
a
,
const
ENTROPY_CONTEXT
*
l
)
{
static
INLINE
int
get_entropy_context
(
TX_SIZE
tx_size
,
const
ENTROPY_CONTEXT
*
a
,
const
ENTROPY_CONTEXT
*
l
)
{
ENTROPY_CONTEXT
above_ec
=
0
,
left_ec
=
0
;
switch
(
tx_size
)
{
...
...
@@ -174,8 +174,8 @@ static int get_entropy_context(TX_SIZE tx_size, const ENTROPY_CONTEXT *a,
return
combine_entropy_contexts
(
above_ec
,
left_ec
);
}
static
const
scan_order
*
get_scan
(
const
MACROBLOCKD
*
xd
,
TX_SIZE
tx_size
,
PLANE_TYPE
type
,
int
block_idx
)
{
static
const
INLINE
scan_order
*
get_scan
(
const
MACROBLOCKD
*
xd
,
TX_SIZE
tx_size
,
PLANE_TYPE
type
,
int
block_idx
)
{
const
MODE_INFO
*
const
mi
=
xd
->
mi_8x8
[
0
];
const
MB_MODE_INFO
*
const
mbmi
=
&
mi
->
mbmi
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment