Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
61a50f73
Commit
61a50f73
authored
Oct 24, 2016
by
Jingning Han
Committed by
Gerrit Code Review
Oct 24, 2016
Browse files
Merge "Simplify variable defs in av1_encode_block_intra" into nextgenv2
parents
8d6eaec1
62a2b9e1
Changes
1
Show whitespace changes
Inline
Side-by-side
av1/encoder/encodemb.c
View file @
61a50f73
...
...
@@ -1067,15 +1067,14 @@ void av1_encode_block_intra(int plane, int block, int blk_row, int blk_col,
PLANE_TYPE
plane_type
=
(
plane
==
0
)
?
PLANE_TYPE_Y
:
PLANE_TYPE_UV
;
const
TX_TYPE
tx_type
=
get_tx_type
(
plane_type
,
xd
,
block
,
tx_size
);
PREDICTION_MODE
mode
;
const
int
bwl
=
b_width_log2_lookup
[
plane_bsize
];
const
int
diff_stride
=
4
*
(
1
<<
bwl
);
const
int
diff_stride
=
block_size_wide
[
plane_bsize
];
uint8_t
*
src
,
*
dst
;
int16_t
*
src_diff
;
uint16_t
*
eob
=
&
p
->
eobs
[
block
];
const
int
src_stride
=
p
->
src
.
stride
;
const
int
dst_stride
=
pd
->
dst
.
stride
;
const
int
tx1d_width
=
num_4x4_blocks_wide_txsize_lookup
[
tx_size
]
<<
2
;
const
int
tx1d_height
=
num_4x4_blocks_high_txsize_lookup
[
tx_size
]
<<
2
;
const
int
tx1d_width
=
tx_size_wide
[
tx_size
];
const
int
tx1d_height
=
tx_size_high
[
tx_size
];
ENTROPY_CONTEXT
*
a
=
NULL
,
*
l
=
NULL
;
int
ctx
;
...
...
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