Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aom-rav1e
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
aom-rav1e
Commits
dca86af8
Commit
dca86af8
authored
Feb 27, 2016
by
Jingning Han
Committed by
Gerrit Code Review
Feb 27, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Unify frame border extension operation" into nextgenv2
parents
7ded038a
d1d11fc6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
7 deletions
+8
-7
vp10/common/reconinter.c
vp10/common/reconinter.c
+1
-0
vp10/decoder/decodeframe.c
vp10/decoder/decodeframe.c
+4
-6
vp10/decoder/decoder.c
vp10/decoder/decoder.c
+2
-0
vpx_scale/yv12config.h
vpx_scale/yv12config.h
+1
-1
No files found.
vp10/common/reconinter.c
View file @
dca86af8
...
...
@@ -123,6 +123,7 @@ void build_inter_predictors(MACROBLOCKD *xd, int plane,
scaled_mv
.
col
=
mv_q4
.
col
;
xs
=
ys
=
16
;
}
subpel_x
=
scaled_mv
.
col
&
SUBPEL_MASK
;
subpel_y
=
scaled_mv
.
row
&
SUBPEL_MASK
;
pre
+=
(
scaled_mv
.
row
>>
SUBPEL_BITS
)
*
pre_buf
->
stride
...
...
vp10/decoder/decodeframe.c
View file @
dca86af8
...
...
@@ -493,6 +493,7 @@ static int reconstruct_inter_block(MACROBLOCKD *const xd,
return
eob
;
}
#if (CONFIG_SUPERTX || CONFIG_OBMC)
static
void
build_mc_border
(
const
uint8_t
*
src
,
int
src_stride
,
uint8_t
*
dst
,
int
dst_stride
,
int
x
,
int
y
,
int
b_w
,
int
b_h
,
int
w
,
int
h
)
{
...
...
@@ -581,9 +582,7 @@ static void high_build_mc_border(const uint8_t *src8, int src_stride,
ref_row
+=
src_stride
;
}
while
(
--
b_h
);
}
#endif // CONFIG_VP9_HIGHBITDEPTH
#if CONFIG_VP9_HIGHBITDEPTH
static
void
extend_and_predict
(
const
uint8_t
*
buf_ptr1
,
int
pre_buf_stride
,
int
x0
,
int
y0
,
int
b_w
,
int
b_h
,
int
frame_width
,
int
frame_height
,
...
...
@@ -616,9 +615,7 @@ static void extend_and_predict(const uint8_t *buf_ptr1, int pre_buf_stride,
subpel_y
,
sf
,
w
,
h
,
ref
,
interp_filter
,
xs
,
ys
);
}
}
#else
static
void
extend_and_predict
(
const
uint8_t
*
buf_ptr1
,
int
pre_buf_stride
,
int
x0
,
int
y0
,
int
b_w
,
int
b_h
,
int
frame_width
,
int
frame_height
,
...
...
@@ -639,7 +636,6 @@ static void extend_and_predict(const uint8_t *buf_ptr1, int pre_buf_stride,
subpel_y
,
sf
,
w
,
h
,
ref
,
interp_filter
,
xs
,
ys
);
}
#endif // CONFIG_VP9_HIGHBITDEPTH
static
void
dec_build_inter_predictors
(
VP10Decoder
*
const
pbi
,
MACROBLOCKD
*
xd
,
int
plane
,
int
bw
,
int
bh
,
int
x
,
int
y
,
int
w
,
int
h
,
int
mi_x
,
int
mi_y
,
...
...
@@ -883,6 +879,7 @@ static void dec_build_inter_predictors_sb(VP10Decoder *const pbi,
sb_type
);
#endif // CONFIG_EXT_INTER
}
#endif // (CONFIG_SUPERTX || CONFIG_OBMC)
#if CONFIG_SUPERTX
static
void
dec_build_inter_predictors_sb_sub8x8
(
VP10Decoder
*
const
pbi
,
...
...
@@ -1868,7 +1865,8 @@ static void decode_block(VP10Decoder *const pbi, MACROBLOCKD *const xd,
}
}
else
{
// Prediction
dec_build_inter_predictors_sb
(
pbi
,
xd
,
mi_row
,
mi_col
);
vp10_build_inter_predictors_sb
(
xd
,
mi_row
,
mi_col
,
VPXMAX
(
bsize
,
BLOCK_8X8
));
#if CONFIG_OBMC
if
(
mbmi
->
obmc
)
{
#if CONFIG_VP9_HIGHBITDEPTH
...
...
vp10/decoder/decoder.c
View file @
dca86af8
...
...
@@ -395,6 +395,8 @@ int vp10_receive_compressed_data(VP10Decoder *pbi,
swap_frame_buffers
(
pbi
);
vpx_extend_frame_inner_borders
(
cm
->
frame_to_show
);
vpx_clear_system_state
();
if
(
!
cm
->
show_existing_frame
)
{
...
...
vpx_scale/yv12config.h
View file @
dca86af8
...
...
@@ -24,7 +24,7 @@ extern "C" {
#define VP9INNERBORDERINPIXELS 96
#define VP9_INTERP_EXTEND 4
#define VP9_ENC_BORDER_IN_PIXELS 160
#define VP9_DEC_BORDER_IN_PIXELS
32
#define VP9_DEC_BORDER_IN_PIXELS
160
typedef
struct
yv12_buffer_config
{
int
y_width
;
...
...
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