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
f551c2d1
Commit
f551c2d1
authored
Apr 13, 2013
by
Ronald S. Bultje
Browse files
Fix width/height switch-up in U/V SB quantize code.
Change-Id: I697514efd6024e1b4153bbde58ae5e323b030981
parent
aa53ae05
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_quantize.c
View file @
f551c2d1
...
...
@@ -477,7 +477,7 @@ void vp9_quantize_sbuv_32x32(MACROBLOCK *x, BLOCK_SIZE_TYPE bsize) {
void
vp9_quantize_sbuv_16x16
(
MACROBLOCK
*
x
,
BLOCK_SIZE_TYPE
bsize
)
{
const
int
bwl
=
mb_width_log2
(
bsize
);
const
int
bhl
=
mb_
width
_log2
(
bsize
);
const
int
bhl
=
mb_
height
_log2
(
bsize
);
const
int
uoff
=
16
<<
(
bhl
+
bwl
);
int
i
;
...
...
@@ -487,7 +487,7 @@ void vp9_quantize_sbuv_16x16(MACROBLOCK *x, BLOCK_SIZE_TYPE bsize) {
void
vp9_quantize_sbuv_8x8
(
MACROBLOCK
*
x
,
BLOCK_SIZE_TYPE
bsize
)
{
const
int
bwl
=
mb_width_log2
(
bsize
);
const
int
bhl
=
mb_
width
_log2
(
bsize
);
const
int
bhl
=
mb_
height
_log2
(
bsize
);
const
int
uoff
=
16
<<
(
bhl
+
bwl
);
int
i
;
...
...
@@ -497,7 +497,7 @@ void vp9_quantize_sbuv_8x8(MACROBLOCK *x, BLOCK_SIZE_TYPE bsize) {
void
vp9_quantize_sbuv_4x4
(
MACROBLOCK
*
x
,
BLOCK_SIZE_TYPE
bsize
)
{
const
int
bwl
=
mb_width_log2
(
bsize
);
const
int
bhl
=
mb_
width
_log2
(
bsize
);
const
int
bhl
=
mb_
height
_log2
(
bsize
);
const
int
uoff
=
16
<<
(
bhl
+
bwl
);
int
i
;
...
...
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