Skip to content
GitLab
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
710d10c5
Commit
710d10c5
authored
Jul 11, 2013
by
Paul Wilkins
Browse files
Block index variables in MACROBLOCKD reduced to chars.
Change-Id: I9a4df095732d561807de01a41dcb1a1960726a3c
parent
13253d61
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/common/vp9_blockd.h
View file @
710d10c5
...
...
@@ -269,15 +269,16 @@ typedef struct macroblockd {
int
corrupted
;
int
sb_index
;
// index of 32x32 block inside the 64x64 block
int
mb_index
;
// index of 16x16 block inside the 32x32 block
int
b_index
;
// index of 8x8 block inside the 16x16 block
int
ab_index
;
// index of 4x4 block inside the 8x8 block
unsigned
char
sb_index
;
// index of 32x32 block inside the 64x64 block
unsigned
char
mb_index
;
// index of 16x16 block inside the 32x32 block
unsigned
char
b_index
;
// index of 8x8 block inside the 16x16 block
unsigned
char
ab_index
;
// index of 4x4 block inside the 8x8 block
int
q_index
;
}
MACROBLOCKD
;
static
INLINE
int
*
get_sb_index
(
MACROBLOCKD
*
xd
,
BLOCK_SIZE_TYPE
subsize
)
{
static
INLINE
unsigned
char
*
get_sb_index
(
MACROBLOCKD
*
xd
,
BLOCK_SIZE_TYPE
subsize
)
{
switch
(
subsize
)
{
case
BLOCK_SIZE_SB64X64
:
case
BLOCK_SIZE_SB64X32
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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