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
aa706c15
Commit
aa706c15
authored
May 10, 2013
by
Jingning Han
Committed by
Gerrit Code Review
May 10, 2013
Browse files
Merge "Enable recursive partition type search" into experimental
parents
4a559d34
e44678c0
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
vp9/decoder/vp9_decodframe.c
View file @
aa706c15
...
...
@@ -811,12 +811,12 @@ static void decode_tile(VP9D_COMP *pbi, vp9_reader *r) {
int
mi_row
,
mi_col
;
for
(
mi_row
=
pc
->
cur_tile_mi_row_start
;
mi_row
<
pc
->
cur_tile_mi_row_end
;
mi_row
+=
8
)
{
mi_row
<
pc
->
cur_tile_mi_row_end
;
mi_row
+=
64
/
MI_SIZE
)
{
// For a SB there are 2 left contexts, each pertaining to a MB row within
vpx_memset
(
&
pc
->
left_context
,
0
,
sizeof
(
pc
->
left_context
));
vpx_memset
(
pc
->
left_seg_context
,
0
,
sizeof
(
pc
->
left_seg_context
));
for
(
mi_col
=
pc
->
cur_tile_mi_col_start
;
mi_col
<
pc
->
cur_tile_mi_col_end
;
mi_col
+=
8
)
mi_col
<
pc
->
cur_tile_mi_col_end
;
mi_col
+=
64
/
MI_SIZE
)
decode_modes_sb
(
pbi
,
mi_row
,
mi_col
,
r
,
BLOCK_SIZE_SB64X64
);
}
}
...
...
vp9/encoder/vp9_block.h
View file @
aa706c15
...
...
@@ -138,8 +138,8 @@ struct macroblock {
int
optimize
;
//
Structure to hold context for each of the 4 MBs within a SB:
//
when encoded as 4 independent MBs:
//
TODO(jingning): Need to refactor the structure arrays that buffers the
//
coding mode decisions of each partition type.
PICK_MODE_CONTEXT
sb8_context
[
4
][
4
][
4
];
PICK_MODE_CONTEXT
sb8x16_context
[
4
][
4
][
2
];
PICK_MODE_CONTEXT
sb16x8_context
[
4
][
4
][
2
];
...
...
@@ -153,6 +153,10 @@ struct macroblock {
PICK_MODE_CONTEXT
sb64_context
;
int
partition_cost
[
NUM_PARTITION_CONTEXTS
][
PARTITION_TYPES
];
BLOCK_SIZE_TYPE
mb_partitioning
[
4
][
4
];
BLOCK_SIZE_TYPE
sb_partitioning
[
4
];
BLOCK_SIZE_TYPE
sb64_partitioning
;
void
(
*
fwd_txm4x4
)(
int16_t
*
input
,
int16_t
*
output
,
int
pitch
);
void
(
*
fwd_txm8x4
)(
int16_t
*
input
,
int16_t
*
output
,
int
pitch
);
void
(
*
fwd_txm8x8
)(
int16_t
*
input
,
int16_t
*
output
,
int
pitch
);
...
...
vp9/encoder/vp9_encodeframe.c
View file @
aa706c15
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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