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
7d058ef8
Commit
7d058ef8
authored
Aug 27, 2013
by
Frank Galligan
Committed by
Gerrit Code Review
Aug 27, 2013
Browse files
Merge "Fix winodws warning."
parents
3a679e56
f1560ce0
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/common/vp9_loopfilter.c
View file @
7d058ef8
...
...
@@ -39,7 +39,7 @@ static void lf_init_lut(loop_filter_info_n *lfi) {
lfi
->
mode_lf_lut
[
NEWMV
]
=
1
;
}
static
void
update_sharpness
(
loop_filter_info_n
*
const
lfi
,
int
sharpness_lvl
)
{
static
void
update_sharpness
(
loop_filter_info_n
*
lfi
,
int
sharpness_lvl
)
{
int
lvl
;
// For each possible value for the loop filter fill out limits
...
...
@@ -78,7 +78,7 @@ void vp9_loop_filter_init(VP9_COMMON *cm) {
vpx_memset
(
lfi
->
hev_thr
[
i
],
i
,
SIMD_WIDTH
);
}
void
vp9_loop_filter_frame_init
(
VP9_COMMON
*
const
cm
,
int
default_filt_lvl
)
{
void
vp9_loop_filter_frame_init
(
VP9_COMMON
*
cm
,
int
default_filt_lvl
)
{
int
seg_id
;
// n_shift is the a multiplier for lf_deltas
// the multiplier is 1 for when filter_lvl is between 0 and 31;
...
...
@@ -124,9 +124,9 @@ void vp9_loop_filter_frame_init(VP9_COMMON *const cm, int default_filt_lvl) {
}
}
static
int
build_lfi
(
const
loop_filter_info_n
*
const
lfi_n
,
const
MB_MODE_INFO
*
const
mbmi
,
struct
loop_filter_info
*
const
lfi
)
{
static
int
build_lfi
(
const
loop_filter_info_n
*
lfi_n
,
const
MB_MODE_INFO
*
mbmi
,
struct
loop_filter_info
*
lfi
)
{
const
int
seg
=
mbmi
->
segment_id
;
const
int
ref
=
mbmi
->
ref_frame
[
0
];
const
int
mode
=
lfi_n
->
mode_lf_lut
[
mbmi
->
mode
];
...
...
@@ -236,8 +236,8 @@ static void filter_selectively_horiz(uint8_t *s, int pitch,
}
}
static
void
filter_block_plane
(
VP9_COMMON
*
const
cm
,
struct
macroblockd_plane
*
const
plane
,
static
void
filter_block_plane
(
VP9_COMMON
*
cm
,
struct
macroblockd_plane
*
plane
,
const
MODE_INFO
*
mi
,
int
mi_row
,
int
mi_col
)
{
const
int
ss_x
=
plane
->
subsampling_x
;
...
...
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