Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
40845665
Commit
40845665
authored
Dec 20, 2013
by
Dmitry Kovalev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renaming vp9_boolcoder.{h, c} to vp9_writer.{h, c}.
Change-Id: I9b9a5fcce8530284df0f270706ee060a0edc1517
parent
c67ee5ea
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
18 deletions
+10
-18
test/vp9_boolcoder_test.cc
test/vp9_boolcoder_test.cc
+1
-1
vp9/encoder/vp9_subexp.c
vp9/encoder/vp9_subexp.c
+1
-1
vp9/encoder/vp9_treewriter.h
vp9/encoder/vp9_treewriter.h
+1
-1
vp9/encoder/vp9_writer.c
vp9/encoder/vp9_writer.c
+1
-1
vp9/encoder/vp9_writer.h
vp9/encoder/vp9_writer.h
+4
-12
vp9/vp9cx.mk
vp9/vp9cx.mk
+2
-2
No files found.
test/vp9_boolcoder_test.cc
View file @
40845665
...
...
@@ -15,8 +15,8 @@
#include "third_party/googletest/src/include/gtest/gtest.h"
extern
"C"
{
#include "vp9/encoder/vp9_boolhuff.h"
#include "vp9/decoder/vp9_dboolhuff.h"
#include "vp9/encoder/vp9_writer.h"
}
#include "test/acm_random.h"
...
...
vp9/encoder/vp9_subexp.c
View file @
40845665
...
...
@@ -11,8 +11,8 @@
#include "vp9/common/vp9_common.h"
#include "vp9/common/vp9_entropy.h"
#include "vp9/encoder/vp9_boolhuff.h"
#include "vp9/encoder/vp9_treewriter.h"
#include "vp9/encoder/vp9_writer.h"
#define vp9_cost_upd256 ((int)(vp9_cost_one(upd) - vp9_cost_zero(upd)))
...
...
vp9/encoder/vp9_treewriter.h
View file @
40845665
...
...
@@ -11,7 +11,7 @@
#ifndef VP9_ENCODER_VP9_TREEWRITER_H_
#define VP9_ENCODER_VP9_TREEWRITER_H_
#include "vp9/encoder/vp9_
boolhuff.h"
/* for now */
#include "vp9/encoder/vp9_
writer.h"
#define vp9_cost_zero(prob) (vp9_prob_cost[prob])
...
...
vp9/encoder/vp9_
boolhuff
.c
→
vp9/encoder/vp9_
writer
.c
View file @
40845665
...
...
@@ -9,7 +9,7 @@
*/
#include <assert.h>
#include "vp9/encoder/vp9_
boolhuff
.h"
#include "vp9/encoder/vp9_
writer
.h"
#include "vp9/common/vp9_entropy.h"
#if defined(SECTIONBITS_OUTPUT)
...
...
vp9/encoder/vp9_
boolhuff
.h
→
vp9/encoder/vp9_
writer
.h
View file @
40845665
...
...
@@ -8,16 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
/****************************************************************************
*
* Module Title : vp9_boolhuff.h
*
* Description : Bool Coder header file.
*
****************************************************************************/
#ifndef VP9_ENCODER_VP9_BOOLHUFF_H_
#define VP9_ENCODER_VP9_BOOLHUFF_H_
#ifndef VP9_ENCODER_VP9_WRITER_H_
#define VP9_ENCODER_VP9_WRITER_H_
#include "vpx_ports/mem.h"
...
...
@@ -33,7 +25,7 @@ typedef struct {
// Variables used to track bit costs without outputing to the bitstream
unsigned
int
measure_cost
;
u
nsigned
long
bit_counter
;
u
int64_t
bit_counter
;
}
vp9_writer
;
extern
const
unsigned
int
vp9_prob_cost
[
256
];
...
...
@@ -113,4 +105,4 @@ static void vp9_write_literal(vp9_writer *w, int data, int bits) {
#define vp9_write_prob(w, v) vp9_write_literal((w), (v), 8)
#endif // VP9_ENCODER_VP9_
BOOLHUFF
_H_
#endif // VP9_ENCODER_VP9_
WRITER
_H_
vp9/vp9cx.mk
View file @
40845665
...
...
@@ -18,7 +18,6 @@ VP9_CX_SRCS_REMOVE-no += $(VP9_COMMON_SRCS_REMOVE-no)
VP9_CX_SRCS-yes
+=
vp9_cx_iface.c
VP9_CX_SRCS-yes
+=
encoder/vp9_bitstream.c
VP9_CX_SRCS-yes
+=
encoder/vp9_boolhuff.c
VP9_CX_SRCS-yes
+=
encoder/vp9_dct.c
VP9_CX_SRCS-yes
+=
encoder/vp9_dct.h
VP9_CX_SRCS-yes
+=
encoder/vp9_encodeframe.c
...
...
@@ -28,7 +27,8 @@ VP9_CX_SRCS-yes += encoder/vp9_encodemv.c
VP9_CX_SRCS-yes
+=
encoder/vp9_extend.c
VP9_CX_SRCS-yes
+=
encoder/vp9_firstpass.c
VP9_CX_SRCS-yes
+=
encoder/vp9_block.h
VP9_CX_SRCS-yes
+=
encoder/vp9_boolhuff.h
VP9_CX_SRCS-yes
+=
encoder/vp9_writer.h
VP9_CX_SRCS-yes
+=
encoder/vp9_writer.c
VP9_CX_SRCS-yes
+=
encoder/vp9_write_bit_buffer.h
VP9_CX_SRCS-yes
+=
encoder/vp9_bitstream.h
VP9_CX_SRCS-yes
+=
encoder/vp9_encodemb.h
...
...
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