Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
7a63e644
Commit
7a63e644
authored
Jul 20, 2015
by
Yaowu Xu
Committed by
Gerrit Code Review
Jul 20, 2015
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Move bit writer files to vpx_dsp/"
parents
f987e644
c5ad31e5
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
15 additions
and
13 deletions
+15
-13
test/vp9_boolcoder_test.cc
test/vp9_boolcoder_test.cc
+1
-2
vp9/encoder/vp9_bitstream.c
vp9/encoder/vp9_bitstream.c
+1
-1
vp9/encoder/vp9_subexp.c
vp9/encoder/vp9_subexp.c
+1
-2
vp9/encoder/vp9_treewriter.h
vp9/encoder/vp9_treewriter.h
+1
-1
vp9/vp9cx.mk
vp9/vp9cx.mk
+0
-4
vpx_dsp/vp9_write_bit_buffer.c
vpx_dsp/vp9_write_bit_buffer.c
+2
-1
vpx_dsp/vp9_write_bit_buffer.h
vpx_dsp/vp9_write_bit_buffer.h
+0
-0
vpx_dsp/vp9_writer.c
vpx_dsp/vp9_writer.c
+2
-2
vpx_dsp/vp9_writer.h
vpx_dsp/vp9_writer.h
+0
-0
vpx_dsp/vpx_dsp.mk
vpx_dsp/vpx_dsp.mk
+7
-0
No files found.
test/vp9_boolcoder_test.cc
View file @
7a63e644
...
...
@@ -16,8 +16,7 @@
#include "vpx/vpx_integer.h"
#include "vpx_dsp/bitreader.h"
#include "vp9/encoder/vp9_writer.h"
#include "vpx_dsp/vp9_writer.h"
#include "test/acm_random.h"
...
...
vp9/encoder/vp9_bitstream.c
View file @
7a63e644
...
...
@@ -13,6 +13,7 @@
#include <limits.h>
#include "vpx/vpx_encoder.h"
#include "vpx_dsp/vp9_write_bit_buffer.h"
#include "vpx_mem/vpx_mem.h"
#include "vpx_ports/mem_ops.h"
...
...
@@ -32,7 +33,6 @@
#include "vp9/encoder/vp9_segmentation.h"
#include "vp9/encoder/vp9_subexp.h"
#include "vp9/encoder/vp9_tokenize.h"
#include "vp9/encoder/vp9_write_bit_buffer.h"
static
const
struct
vp9_token
intra_mode_encodings
[
INTRA_MODES
]
=
{
{
0
,
1
},
{
6
,
3
},
{
28
,
5
},
{
30
,
5
},
{
58
,
6
},
{
59
,
6
},
{
126
,
7
},
{
127
,
7
},
...
...
vp9/encoder/vp9_subexp.c
View file @
7a63e644
...
...
@@ -7,13 +7,12 @@
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#include "vpx_dsp/vp9_writer.h"
#include "vp9/common/vp9_common.h"
#include "vp9/common/vp9_entropy.h"
#include "vp9/encoder/vp9_cost.h"
#include "vp9/encoder/vp9_subexp.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 @
7a63e644
...
...
@@ -11,7 +11,7 @@
#ifndef VP9_ENCODER_VP9_TREEWRITER_H_
#define VP9_ENCODER_VP9_TREEWRITER_H_
#include "vp
9/encoder
/vp9_writer.h"
#include "vp
x_dsp
/vp9_writer.h"
#ifdef __cplusplus
extern
"C"
{
...
...
vp9/vp9cx.mk
View file @
7a63e644
...
...
@@ -37,10 +37,6 @@ VP9_CX_SRCS-yes += encoder/vp9_extend.c
VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS)
+=
encoder/vp9_fastssim.c
VP9_CX_SRCS-yes
+=
encoder/vp9_firstpass.c
VP9_CX_SRCS-yes
+=
encoder/vp9_block.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.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
VP9_CX_SRCS-yes
+=
encoder/vp9_encodemv.h
...
...
vp
9/encoder
/vp9_write_bit_buffer.c
→
vp
x_dsp
/vp9_write_bit_buffer.c
View file @
7a63e644
...
...
@@ -9,7 +9,8 @@
*/
#include <limits.h>
#include "vp9/encoder/vp9_write_bit_buffer.h"
#include "./vp9_write_bit_buffer.h"
size_t
vp9_wb_bytes_written
(
const
struct
vp9_write_bit_buffer
*
wb
)
{
return
wb
->
bit_offset
/
CHAR_BIT
+
(
wb
->
bit_offset
%
CHAR_BIT
>
0
);
...
...
vp
9/encoder
/vp9_write_bit_buffer.h
→
vp
x_dsp
/vp9_write_bit_buffer.h
View file @
7a63e644
File moved
vp
9/encoder
/vp9_writer.c
→
vp
x_dsp
/vp9_writer.c
View file @
7a63e644
...
...
@@ -9,8 +9,8 @@
*/
#include <assert.h>
#include "vp9/encoder/vp9_writer.h"
#include "
vp9/common/vp9_entropy
.h"
#include "
./vp9_writer
.h"
void
vp9_start_encode
(
vp9_writer
*
br
,
uint8_t
*
source
)
{
br
->
lowvalue
=
0
;
...
...
vp
9/encoder
/vp9_writer.h
→
vp
x_dsp
/vp9_writer.h
View file @
7a63e644
File moved
vpx_dsp/vpx_dsp.mk
View file @
7a63e644
...
...
@@ -17,6 +17,13 @@ DSP_SRCS-$(HAVE_MSA) += mips/macros_msa.h
DSP_SRCS-yes
+=
prob.h
DSP_SRCS-yes
+=
prob.c
ifeq
($(CONFIG_ENCODERS),yes)
DSP_SRCS-yes
+=
vp9_writer.h
DSP_SRCS-yes
+=
vp9_writer.c
DSP_SRCS-yes
+=
vp9_write_bit_buffer.c
DSP_SRCS-yes
+=
vp9_write_bit_buffer.h
endif
ifeq
($(CONFIG_DECODERS),yes)
DSP_SRCS-yes
+=
bitreader.h
DSP_SRCS-yes
+=
bitreader.c
...
...
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