Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
external
libvpx
Commits
5510e379
Commit
5510e379
authored
11 years ago
by
Marco Paniconi
Browse files
Options
Download
Patches
Plain Diff
Fix to a static warning.
Change-Id: I398decf319c8f4d1b3abe1f276e009840e61b684
parent
ac5bdc0e
v1.14.0-linphone
1.4.X
feature/update_to_v1.9.0-linphone
feature/uwp_nuget
frame_parallel
highbitdepth
indianrunnerduck
javanwhistlingduck
khakicampbell
linphone
linphone-android
linphone-old
longtailedduck
m49-2623
m52-2743
m54-2840
m56-2924
m66-3359
m68-3440
mandarinduck
nextgen
nextgenv2
playground
sandbox/Jingning/experimental
sandbox/Jingning/transcode
sandbox/Jingning/vpx
sandbox/aconverse@google.com/ansbench
sandbox/hkuang/frame_parallel
sandbox/hkuang@google.com/decode
sandbox/jimbankoski@google.com/proposed-aom
sandbox/jingning@google.com/decoder_test_suite
sandbox/jingning@google.com/experimental
sandbox/jzern@google.com/test
sandbox/wangch@google.com/vp9
sandbox/yaowu@google.com/mergeaom
v1.12.0-linphone
v1.6.1_linphone
v1.7.0-linphone
v1.9.0-linphone
v1.9.0
v1.9.0-rc1
v1.8.2
v1.8.1
v1.8.0
v1.7.0
v1.6.1
v1.6.0
v1.5.0
v1.4.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vp9/encoder/vp9_aq_cyclicrefresh.c
+2
-2
vp9/encoder/vp9_aq_cyclicrefresh.c
with
2 additions
and
2 deletions
vp9/encoder/vp9_aq_cyclicrefresh.c
+
2
−
2
View file @
5510e379
...
@@ -150,7 +150,7 @@ void vp9_setup_cyclic_refresh_aq(VP9_COMP *const cpi) {
...
@@ -150,7 +150,7 @@ void vp9_setup_cyclic_refresh_aq(VP9_COMP *const cpi) {
int
qindex_delta
=
0
;
int
qindex_delta
=
0
;
int
mbs_in_frame
=
cm
->
mi_rows
*
cm
->
mi_cols
;
int
mbs_in_frame
=
cm
->
mi_rows
*
cm
->
mi_cols
;
int
i
,
x
,
y
,
block_count
,
bl_index
,
bl_index2
;
int
i
,
x
,
y
,
block_count
,
bl_index
,
bl_index2
;
int
sum_map
,
new_value
,
mi_row
,
mi_col
,
xmis
,
ymis
,
qindex2
;
int
sum_map
,
mi_row
,
mi_col
,
xmis
,
ymis
,
qindex2
;
// Rate target ratio to set q delta.
// Rate target ratio to set q delta.
float
rate_ratio_qdelta
=
2
.
0
;
float
rate_ratio_qdelta
=
2
.
0
;
...
@@ -249,9 +249,9 @@ void vp9_setup_cyclic_refresh_aq(VP9_COMP *const cpi) {
...
@@ -249,9 +249,9 @@ void vp9_setup_cyclic_refresh_aq(VP9_COMP *const cpi) {
bl_index2
=
bl_index
+
y
*
cm
->
mi_cols
+
x
;
bl_index2
=
bl_index
+
y
*
cm
->
mi_cols
+
x
;
sum_map
+=
seg_map
[
bl_index2
];
sum_map
+=
seg_map
[
bl_index2
];
}
}
new_value
=
0
;
// If segment is partial over superblock, reset.
// If segment is partial over superblock, reset.
if
(
sum_map
>
0
&&
sum_map
<
xmis
*
ymis
)
{
if
(
sum_map
>
0
&&
sum_map
<
xmis
*
ymis
)
{
int
new_value
;
if
(
sum_map
<
xmis
*
ymis
/
2
)
if
(
sum_map
<
xmis
*
ymis
/
2
)
new_value
=
0
;
new_value
=
0
;
else
else
...
...
This diff is collapsed.
Click to expand it.
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!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets