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
8618c706
Commit
8618c706
authored
Feb 13, 2014
by
Paul Wilkins
Committed by
James Zern
Feb 14, 2014
Browse files
A couple more V.S. warnings silenced.
Change-Id: Ica1b583d69810182f621de757d2543b2a3b35566
parent
43785036
Changes
2
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_quantize.c
View file @
8618c706
...
...
@@ -26,7 +26,7 @@ void vp9_quantize_b_c(const int16_t *coeff_ptr, intptr_t count,
const
int16_t
*
dequant_ptr
,
int
zbin_oq_value
,
uint16_t
*
eob_ptr
,
const
int16_t
*
scan
,
const
int16_t
*
iscan
)
{
int
i
,
non_zero_count
=
count
,
eob
=
-
1
;
int
i
,
non_zero_count
=
(
int
)
count
,
eob
=
-
1
;
const
int
zbins
[
2
]
=
{
zbin_ptr
[
0
]
+
zbin_oq_value
,
zbin_ptr
[
1
]
+
zbin_oq_value
};
const
int
nzbins
[
2
]
=
{
zbins
[
0
]
*
-
1
,
...
...
@@ -37,7 +37,7 @@ void vp9_quantize_b_c(const int16_t *coeff_ptr, intptr_t count,
if
(
!
skip_block
)
{
// Pre-scan pass
for
(
i
=
count
-
1
;
i
>=
0
;
i
--
)
{
for
(
i
=
(
int
)
count
-
1
;
i
>=
0
;
i
--
)
{
const
int
rc
=
scan
[
i
];
const
int
coeff
=
coeff_ptr
[
rc
];
...
...
vp9/encoder/vp9_tokenize.c
View file @
8618c706
...
...
@@ -257,7 +257,8 @@ static void tokenize_b(int plane, int block, BLOCK_SIZE plane_bsize,
add_token
(
&
t
,
coef_probs
[
band
[
c
]][
pt
],
vp9_dct_value_tokens_ptr
[
v
].
extra
,
vp9_dct_value_tokens_ptr
[
v
].
token
,
skip_eob
,
(
uint8_t
)
vp9_dct_value_tokens_ptr
[
v
].
token
,
(
uint8_t
)
skip_eob
,
counts
[
band
[
c
]][
pt
]);
eob_branch
[
band
[
c
]][
pt
]
+=
!
skip_eob
;
...
...
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