Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
f2b87bd3
Commit
f2b87bd3
authored
May 18, 2017
by
Jingning Han
Browse files
Remove unused macro defs
Change-Id: I33e78f2677083df7b7385f4a2989e9d599bbf5c7
parent
110f7d4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/encoder/bitstream.c
View file @
f2b87bd3
...
...
@@ -252,10 +252,9 @@ static void write_inter_mode(aom_writer *w, PREDICTION_MODE mode,
const
int16_t
newmv_ctx
=
mode_ctx
&
NEWMV_CTX_MASK
;
const
aom_prob
newmv_prob
=
ec_ctx
->
newmv_prob
[
newmv_ctx
];
#define IS_NEWMV_MODE(mode) ((mode) == NEWMV)
aom_write
(
w
,
!
IS_NEWMV_MODE
(
mode
),
newmv_prob
);
aom_write
(
w
,
mode
!=
NEWMV
,
newmv_prob
);
if
(
!
IS_NEWMV_MODE
(
mode
)
)
{
if
(
mode
!=
NEWMV
)
{
const
int16_t
zeromv_ctx
=
(
mode_ctx
>>
ZEROMV_OFFSET
)
&
ZEROMV_CTX_MASK
;
const
aom_prob
zeromv_prob
=
ec_ctx
->
zeromv_prob
[
zeromv_ctx
];
...
...
@@ -278,8 +277,6 @@ static void write_inter_mode(aom_writer *w, PREDICTION_MODE mode,
aom_write
(
w
,
mode
!=
NEARESTMV
,
refmv_prob
);
}
}
#undef IS_NEWMV_MODE
}
static
void
write_drl_idx
(
const
AV1_COMMON
*
cm
,
const
MB_MODE_INFO
*
mbmi
,
...
...
Write
Preview
Markdown
is supported
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