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
Guillaume Martres
aom-rav1e
Commits
1d9e2b50
Commit
1d9e2b50
authored
Aug 11, 2014
by
James Zern
Committed by
Gerrit Code Review
Aug 11, 2014
Browse files
Merge "remove unused fields from BOOL_CODER / vp9_writer"
parents
c0ade1ce
8c3886df
Changes
3
Hide whitespace changes
Inline
Side-by-side
vp8/encoder/boolhuff.h
View file @
1d9e2b50
...
...
@@ -35,10 +35,6 @@ typedef struct
unsigned
char
*
buffer
;
unsigned
char
*
buffer_end
;
struct
vpx_internal_error_info
*
error
;
/* Variables used to track bit costs without outputing to the bitstream */
unsigned
int
measure_cost
;
unsigned
long
bit_counter
;
}
BOOL_CODER
;
extern
void
vp8_start_encode
(
BOOL_CODER
*
bc
,
unsigned
char
*
buffer
,
unsigned
char
*
buffer_end
);
...
...
vp9/encoder/vp9_writer.c
View file @
1d9e2b50
...
...
@@ -15,7 +15,6 @@
void
vp9_start_encode
(
vp9_writer
*
br
,
uint8_t
*
source
)
{
br
->
lowvalue
=
0
;
br
->
range
=
255
;
br
->
value
=
0
;
br
->
count
=
-
24
;
br
->
buffer
=
source
;
br
->
pos
=
0
;
...
...
vp9/encoder/vp9_writer.h
View file @
1d9e2b50
...
...
@@ -22,14 +22,9 @@ extern "C" {
typedef
struct
{
unsigned
int
lowvalue
;
unsigned
int
range
;
unsigned
int
value
;
int
count
;
unsigned
int
pos
;
uint8_t
*
buffer
;
// Variables used to track bit costs without outputing to the bitstream
unsigned
int
measure_cost
;
uint64_t
bit_counter
;
}
vp9_writer
;
void
vp9_start_encode
(
vp9_writer
*
bc
,
uint8_t
*
buffer
);
...
...
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