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
Xiph.Org
aom-rav1e
Commits
61c33d0a
Commit
61c33d0a
authored
Aug 07, 2013
by
Dmitry Kovalev
Browse files
Removing plane_block_{width, height}_log2by4 functions.
Change-Id: I040b82b8e32aee272d10cbb021c7ba1c76343d7a
parent
82d7c6fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
vp9/common/vp9_blockd.h
View file @
61c33d0a
...
...
@@ -450,16 +450,6 @@ static INLINE int plane_block_height(BLOCK_SIZE_TYPE bsize,
return
4
<<
(
b_height_log2
(
bsize
)
-
plane
->
subsampling_y
);
}
static
INLINE
int
plane_block_width_log2by4
(
BLOCK_SIZE_TYPE
bsize
,
const
struct
macroblockd_plane
*
plane
)
{
return
(
b_width_log2
(
bsize
)
-
plane
->
subsampling_x
);
}
static
INLINE
int
plane_block_height_log2by4
(
BLOCK_SIZE_TYPE
bsize
,
const
struct
macroblockd_plane
*
plane
)
{
return
(
b_height_log2
(
bsize
)
-
plane
->
subsampling_y
);
}
typedef
void
(
*
foreach_transformed_block_visitor
)(
int
plane
,
int
block
,
BLOCK_SIZE_TYPE
bsize
,
int
ss_txfrm_size
,
...
...
vp9/encoder/vp9_encodemb.c
View file @
61c33d0a
...
...
@@ -459,10 +459,10 @@ void xform_quant(int plane, int block, BLOCK_SIZE_TYPE bsize,
int16_t
*
coeff
=
BLOCK_OFFSET
(
p
->
coeff
,
block
,
16
);
int16_t
*
qcoeff
=
BLOCK_OFFSET
(
pd
->
qcoeff
,
block
,
16
);
int16_t
*
dqcoeff
=
BLOCK_OFFSET
(
pd
->
dqcoeff
,
block
,
16
);
const
TX_SIZE
tx_size
=
(
TX_SIZE
)(
ss_txfrm_size
/
2
);
const
int16_t
*
scan
,
*
iscan
;
uint16_t
*
eob
=
&
pd
->
eobs
[
block
];
const
int
bwl
=
plane_block_width_log2by4
(
bsize
,
pd
),
bw
=
1
<<
bwl
;
const
TX_SIZE
tx_size
=
(
TX_SIZE
)(
ss_txfrm_size
/
2
);
const
int
bwl
=
b_width_log2
(
bsize
)
-
pd
->
subsampling_x
,
bw
=
1
<<
bwl
;
const
int
twl
=
bwl
-
tx_size
,
twmask
=
(
1
<<
twl
)
-
1
;
int
xoff
,
yoff
;
int16_t
*
src_diff
;
...
...
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