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
dd04ff50
Commit
dd04ff50
authored
11 years ago
by
Yaowu Xu
Committed by
Gerrit Code Review
11 years ago
Browse files
Options
Download
Plain Diff
Merge "Move vp9_setup_interp_filter() to encoder"
parents
a944deae
df78fea1
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
mcw
mcw2
nextgen
nextgenv2
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
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
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
vp9/common/vp9_reconinter.c
+0
-19
vp9/common/vp9_reconinter.c
vp9/common/vp9_reconinter.h
+0
-4
vp9/common/vp9_reconinter.h
vp9/encoder/vp9_encodemb.c
+20
-0
vp9/encoder/vp9_encodemb.c
vp9/encoder/vp9_encodemb.h
+3
-1
vp9/encoder/vp9_encodemb.h
with
23 additions
and
24 deletions
vp9/common/vp9_reconinter.c
+
0
−
19
View file @
dd04ff50
...
@@ -20,25 +20,6 @@
...
@@ -20,25 +20,6 @@
#include
"vp9/common/vp9_reconinter.h"
#include
"vp9/common/vp9_reconinter.h"
#include
"vp9/common/vp9_reconintra.h"
#include
"vp9/common/vp9_reconintra.h"
void
vp9_setup_interp_filters
(
MACROBLOCKD
*
xd
,
INTERPOLATION_TYPE
mcomp_filter_type
,
VP9_COMMON
*
cm
)
{
if
(
xd
->
mi_8x8
&&
xd
->
mi_8x8
[
0
])
{
MB_MODE_INFO
*
const
mbmi
=
&
xd
->
mi_8x8
[
0
]
->
mbmi
;
set_scale_factors
(
xd
,
mbmi
->
ref_frame
[
0
]
-
LAST_FRAME
,
mbmi
->
ref_frame
[
1
]
-
LAST_FRAME
,
cm
->
active_ref_scale
);
}
else
{
set_scale_factors
(
xd
,
-
1
,
-
1
,
cm
->
active_ref_scale
);
}
xd
->
subpix
.
filter_x
=
xd
->
subpix
.
filter_y
=
vp9_get_filter_kernel
(
mcomp_filter_type
==
SWITCHABLE
?
EIGHTTAP
:
mcomp_filter_type
);
assert
(((
intptr_t
)
xd
->
subpix
.
filter_x
&
0xff
)
==
0
);
}
static
void
inter_predictor
(
const
uint8_t
*
src
,
int
src_stride
,
static
void
inter_predictor
(
const
uint8_t
*
src
,
int
src_stride
,
uint8_t
*
dst
,
int
dst_stride
,
uint8_t
*
dst
,
int
dst_stride
,
...
...
This diff is collapsed.
Click to expand it.
vp9/common/vp9_reconinter.h
+
0
−
4
View file @
dd04ff50
...
@@ -24,10 +24,6 @@ void vp9_build_inter_predictors_sbuv(MACROBLOCKD *xd, int mi_row, int mi_col,
...
@@ -24,10 +24,6 @@ void vp9_build_inter_predictors_sbuv(MACROBLOCKD *xd, int mi_row, int mi_col,
void
vp9_build_inter_predictors_sb
(
MACROBLOCKD
*
xd
,
int
mi_row
,
int
mi_col
,
void
vp9_build_inter_predictors_sb
(
MACROBLOCKD
*
xd
,
int
mi_row
,
int
mi_col
,
BLOCK_SIZE
bsize
);
BLOCK_SIZE
bsize
);
void
vp9_setup_interp_filters
(
MACROBLOCKD
*
xd
,
INTERPOLATION_TYPE
filter
,
VP9_COMMON
*
cm
);
void
vp9_build_inter_predictor
(
const
uint8_t
*
src
,
int
src_stride
,
void
vp9_build_inter_predictor
(
const
uint8_t
*
src
,
int
src_stride
,
uint8_t
*
dst
,
int
dst_stride
,
uint8_t
*
dst
,
int
dst_stride
,
const
MV
*
mv_q3
,
const
MV
*
mv_q3
,
...
...
This diff is collapsed.
Click to expand it.
vp9/encoder/vp9_encodemb.c
+
20
−
0
View file @
dd04ff50
...
@@ -25,6 +25,26 @@
...
@@ -25,6 +25,26 @@
#include
"vp9/encoder/vp9_rdopt.h"
#include
"vp9/encoder/vp9_rdopt.h"
#include
"vp9/encoder/vp9_tokenize.h"
#include
"vp9/encoder/vp9_tokenize.h"
void
vp9_setup_interp_filters
(
MACROBLOCKD
*
xd
,
INTERPOLATION_TYPE
mcomp_filter_type
,
VP9_COMMON
*
cm
)
{
if
(
xd
->
mi_8x8
&&
xd
->
mi_8x8
[
0
])
{
MB_MODE_INFO
*
const
mbmi
=
&
xd
->
mi_8x8
[
0
]
->
mbmi
;
set_scale_factors
(
xd
,
mbmi
->
ref_frame
[
0
]
-
LAST_FRAME
,
mbmi
->
ref_frame
[
1
]
-
LAST_FRAME
,
cm
->
active_ref_scale
);
}
else
{
set_scale_factors
(
xd
,
-
1
,
-
1
,
cm
->
active_ref_scale
);
}
xd
->
subpix
.
filter_x
=
xd
->
subpix
.
filter_y
=
vp9_get_filter_kernel
(
mcomp_filter_type
==
SWITCHABLE
?
EIGHTTAP
:
mcomp_filter_type
);
assert
(((
intptr_t
)
xd
->
subpix
.
filter_x
&
0xff
)
==
0
);
}
void
vp9_subtract_block_c
(
int
rows
,
int
cols
,
void
vp9_subtract_block_c
(
int
rows
,
int
cols
,
int16_t
*
diff_ptr
,
ptrdiff_t
diff_stride
,
int16_t
*
diff_ptr
,
ptrdiff_t
diff_stride
,
const
uint8_t
*
src_ptr
,
ptrdiff_t
src_stride
,
const
uint8_t
*
src_ptr
,
ptrdiff_t
src_stride
,
...
...
This diff is collapsed.
Click to expand it.
vp9/encoder/vp9_encodemb.h
+
3
−
1
View file @
dd04ff50
...
@@ -54,5 +54,7 @@ void vp9_encode_intra_block_y(MACROBLOCK *x, BLOCK_SIZE bsize);
...
@@ -54,5 +54,7 @@ void vp9_encode_intra_block_y(MACROBLOCK *x, BLOCK_SIZE bsize);
void
vp9_encode_intra_block_uv
(
MACROBLOCK
*
x
,
BLOCK_SIZE
bsize
);
void
vp9_encode_intra_block_uv
(
MACROBLOCK
*
x
,
BLOCK_SIZE
bsize
);
int
vp9_encode_intra
(
MACROBLOCK
*
x
,
int
use_16x16_pred
);
int
vp9_encode_intra
(
MACROBLOCK
*
x
,
int
use_16x16_pred
);
void
vp9_setup_interp_filters
(
MACROBLOCKD
*
xd
,
INTERPOLATION_TYPE
mcomp_filter_type
,
VP9_COMMON
*
cm
);
#endif // VP9_ENCODER_VP9_ENCODEMB_H_
#endif // VP9_ENCODER_VP9_ENCODEMB_H_
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