Skip to content
GitLab
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
4c1cb1f7
Commit
4c1cb1f7
authored
Oct 04, 2017
by
Debargha Mukherjee
Browse files
Silence some static analysis warnings
Change-Id: I067127a2cd75d038c8f769310028a438c253db5a
parent
25550653
Changes
2
Hide whitespace changes
Inline
Side-by-side
aom_dsp/daalaboolreader.h
View file @
4c1cb1f7
...
...
@@ -109,6 +109,7 @@ static INLINE int aom_daala_reader_has_error(daala_reader *r) {
static
INLINE
int
daala_read_symbol
(
daala_reader
*
r
,
const
aom_cdf_prob
*
cdf
,
int
nsymbs
)
{
int
symb
;
assert
(
cdf
!=
NULL
);
symb
=
od_ec_decode_cdf_q15
(
&
r
->
ec
,
cdf
,
nsymbs
);
#if CONFIG_BITSTREAM_DEBUG
...
...
av1/common/onyxc_int.h
View file @
4c1cb1f7
...
...
@@ -937,6 +937,7 @@ static INLINE BLOCK_SIZE scale_chroma_bsize(BLOCK_SIZE bsize, int subsampling_x,
static
INLINE
aom_cdf_prob
cdf_element_prob
(
const
aom_cdf_prob
*
cdf
,
size_t
element
)
{
assert
(
cdf
!=
NULL
);
#if !CONFIG_ANS
return
(
element
>
0
?
cdf
[
element
-
1
]
:
CDF_PROB_TOP
)
-
cdf
[
element
];
#else
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment