Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yushin Cho
aom-rav1e
Commits
4f34df4b
Commit
4f34df4b
authored
Feb 13, 2014
by
Jim Bankoski
Committed by
Gerrit Code Review
Feb 13, 2014
Browse files
Merge "vp9_temporal_filter.c static analysis issue resolution"
parents
6a6797f5
677b5375
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_temporal_filter.c
View file @
4f34df4b
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
#include "vpx_scale/vpx_scale.h"
#include "vpx_scale/vpx_scale.h"
#define ALT_REF_MC_ENABLED 1 // dis/enable MC in AltRef filtering
#define ALT_REF_MC_ENABLED 1 // dis/enable MC in AltRef filtering
#define ALT_REF_SUBPEL_ENABLED 1 // dis/enable subpel in MC AltRef filtering
static
void
temporal_filter_predictors_mb_c
(
MACROBLOCKD
*
xd
,
static
void
temporal_filter_predictors_mb_c
(
MACROBLOCKD
*
xd
,
uint8_t
*
y_mb_ptr
,
uint8_t
*
y_mb_ptr
,
...
@@ -160,11 +159,9 @@ static int temporal_filter_find_matching_mb_c(VP9_COMP *cpi,
...
@@ -160,11 +159,9 @@ static int temporal_filter_find_matching_mb_c(VP9_COMP *cpi,
/*cpi->sf.search_method == HEX*/
/*cpi->sf.search_method == HEX*/
// Ignore mv costing by sending NULL pointer instead of cost arrays
// Ignore mv costing by sending NULL pointer instead of cost arrays
bestsme
=
vp9_hex_search
(
x
,
&
best_ref_mv1_full
,
step_param
,
sadpb
,
1
,
vp9_hex_search
(
x
,
&
best_ref_mv1_full
,
step_param
,
sadpb
,
1
,
&
cpi
->
fn_ptr
[
BLOCK_16X16
],
&
cpi
->
fn_ptr
[
BLOCK_16X16
],
0
,
&
best_ref_mv1
,
ref_mv
);
0
,
&
best_ref_mv1
,
ref_mv
);
#if ALT_REF_SUBPEL_ENABLED
// Try sub-pixel MC?
// Try sub-pixel MC?
// if (bestsme > error_thresh && bestsme < INT_MAX)
// if (bestsme > error_thresh && bestsme < INT_MAX)
{
{
...
@@ -180,7 +177,6 @@ static int temporal_filter_find_matching_mb_c(VP9_COMP *cpi,
...
@@ -180,7 +177,6 @@ static int temporal_filter_find_matching_mb_c(VP9_COMP *cpi,
NULL
,
NULL
,
NULL
,
NULL
,
&
distortion
,
&
sse
);
&
distortion
,
&
sse
);
}
}
#endif
// Restore input state
// Restore input state
x
->
plane
[
0
].
src
=
src
;
x
->
plane
[
0
].
src
=
src
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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