Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
libvpx
Commits
b43c27ab
Commit
b43c27ab
authored
Dec 04, 2014
by
James Zern
Committed by
Gerrit Code Review
Dec 04, 2014
Browse files
Merge "vp9_reader: reorder struct members"
parents
4bfde107
e1f55e04
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
vp9/decoder/vp9_reader.h
vp9/decoder/vp9_reader.h
+5
-4
No files found.
vp9/decoder/vp9_reader.h
View file @
b43c27ab
...
...
@@ -30,14 +30,15 @@ typedef size_t BD_VALUE;
#define BD_VALUE_SIZE ((int)sizeof(BD_VALUE) * CHAR_BIT)
typedef
struct
{
const
uint8_t
*
buffer_end
;
const
uint8_t
*
buffer
;
uint8_t
clear_buffer
[
sizeof
(
BD_VALUE
)
+
1
];
// Be careful when reordering this struct, it may impact the cache negatively.
BD_VALUE
value
;
int
count
;
unsigned
int
range
;
int
count
;
const
uint8_t
*
buffer_end
;
const
uint8_t
*
buffer
;
vpx_decrypt_cb
decrypt_cb
;
void
*
decrypt_state
;
uint8_t
clear_buffer
[
sizeof
(
BD_VALUE
)
+
1
];
}
vp9_reader
;
int
vp9_reader_init
(
vp9_reader
*
r
,
...
...
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