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
9dcbbe3d
Commit
9dcbbe3d
authored
11 years ago
by
Deb Mukherjee
Committed by
Gerrit Code Review
11 years ago
Browse files
Options
Download
Plain Diff
Merge "Turning model based reverse update on for coefs" into experimental
parents
d8a120c1
040eeed9
v1.14.0-linphone
1.4.X
experimental
feature/update_to_v1.9.0-linphone
feature/uwp_nuget
forest
frame_parallel
highbitdepth
indianrunnerduck
javanwhistlingduck
khakicampbell
linphone
linphone-android
linphone-old
longtailedduck
m29-baseline
m31-baseline
m49-2623
m52-2743
m54-2840
m56-2924
m66-3359
m68-3440
mandarinduck
mcw
mcw2
nextgen
nextgenv2
pcs-2013
playground
sandbox/Jingning/experimental
sandbox/Jingning/transcode
sandbox/Jingning/vpx
sandbox/aconverse@google.com/ansbench
sandbox/debargha/playground
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
stable-vp9-decoder
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
v1.3.0
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vp9/common/vp9_entropy.c
+2
-0
vp9/common/vp9_entropy.c
vp9/common/vp9_entropy.h
+4
-1
vp9/common/vp9_entropy.h
with
6 additions
and
1 deletion
vp9/common/vp9_entropy.c
+
2
−
0
View file @
9dcbbe3d
...
@@ -1555,6 +1555,7 @@ static void adapt_coef_probs(vp9_coeff_probs *dst_coef_probs,
...
@@ -1555,6 +1555,7 @@ static void adapt_coef_probs(vp9_coeff_probs *dst_coef_probs,
}
}
void
vp9_adapt_coef_probs
(
VP9_COMMON
*
cm
)
{
void
vp9_adapt_coef_probs
(
VP9_COMMON
*
cm
)
{
#ifndef DISABLE_COEF_ADAPT
int
count_sat
;
int
count_sat
;
int
update_factor
;
/* denominator 256 */
int
update_factor
;
/* denominator 256 */
...
@@ -1585,6 +1586,7 @@ void vp9_adapt_coef_probs(VP9_COMMON *cm) {
...
@@ -1585,6 +1586,7 @@ void vp9_adapt_coef_probs(VP9_COMMON *cm) {
cm
->
base_qindex
,
cm
->
fc
.
coef_counts_32x32
,
cm
->
base_qindex
,
cm
->
fc
.
coef_counts_32x32
,
cm
->
fc
.
eob_branch_counts
[
TX_32X32
],
cm
->
fc
.
eob_branch_counts
[
TX_32X32
],
count_sat
,
update_factor
);
count_sat
,
update_factor
);
#endif
}
}
#if CONFIG_CODE_ZEROGROUP
#if CONFIG_CODE_ZEROGROUP
...
...
This diff is collapsed.
Click to expand it.
vp9/common/vp9_entropy.h
+
4
−
1
View file @
9dcbbe3d
...
@@ -84,6 +84,9 @@ extern vp9_extra_bit vp9_extra_bits[12]; /* indexed by token value */
...
@@ -84,6 +84,9 @@ extern vp9_extra_bit vp9_extra_bits[12]; /* indexed by token value */
/*# define DC_TOKEN_CONTEXTS 3*/
/* 00, 0!0, !0!0 */
/*# define DC_TOKEN_CONTEXTS 3*/
/* 00, 0!0, !0!0 */
#define PREV_COEF_CONTEXTS 6
#define PREV_COEF_CONTEXTS 6
// Disables backward coef probs adaption
// #define DISABLE_COEF_ADAPT
typedef
unsigned
int
vp9_coeff_count
[
REF_TYPES
][
COEF_BANDS
][
PREV_COEF_CONTEXTS
]
typedef
unsigned
int
vp9_coeff_count
[
REF_TYPES
][
COEF_BANDS
][
PREV_COEF_CONTEXTS
]
[
MAX_ENTROPY_TOKENS
];
[
MAX_ENTROPY_TOKENS
];
typedef
unsigned
int
vp9_coeff_stats
[
REF_TYPES
][
COEF_BANDS
][
PREV_COEF_CONTEXTS
]
typedef
unsigned
int
vp9_coeff_stats
[
REF_TYPES
][
COEF_BANDS
][
PREV_COEF_CONTEXTS
]
...
@@ -158,7 +161,7 @@ const int *vp9_get_coef_neighbors_handle(const int *scan, int *pad);
...
@@ -158,7 +161,7 @@ const int *vp9_get_coef_neighbors_handle(const int *scan, int *pad);
// if model-based how many nodes are unconstrained
// if model-based how many nodes are unconstrained
#define UNCONSTRAINED_UPDATE_NODES 3
#define UNCONSTRAINED_UPDATE_NODES 3
// whether backward updates are model-based
// whether backward updates are model-based
#define MODEL_BASED_ADAPT
0
#define MODEL_BASED_ADAPT
1
#define UNCONSTRAINED_ADAPT_NODES 3
#define UNCONSTRAINED_ADAPT_NODES 3
typedef
vp9_prob
vp9_coeff_probs_model
[
REF_TYPES
][
COEF_BANDS
]
typedef
vp9_prob
vp9_coeff_probs_model
[
REF_TYPES
][
COEF_BANDS
]
...
...
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