Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
b2c8dff7
Commit
b2c8dff7
authored
Jan 05, 2012
by
Scott LaVarnway
Committed by
Gerrit Code Review
Jan 05, 2012
Browse files
Merge "Removed unused diff buffer"
parents
89cdfdb2
c4aa1d50
Changes
2
Hide whitespace changes
Inline
Side-by-side
vp8/common/blockd.h
View file @
b2c8dff7
...
...
@@ -184,7 +184,6 @@ typedef struct
short
*
qcoeff
;
short
*
dqcoeff
;
unsigned
char
*
predictor
;
short
*
diff
;
short
*
dequant
;
/* 16 Y blocks, 4 U blocks, 4 V blocks each with 16 entries */
...
...
@@ -203,7 +202,6 @@ typedef struct
typedef
struct
MacroBlockD
{
DECLARE_ALIGNED
(
16
,
short
,
diff
[
400
]);
/* from idct diff */
DECLARE_ALIGNED
(
16
,
unsigned
char
,
predictor
[
384
]);
DECLARE_ALIGNED
(
16
,
short
,
qcoeff
[
400
]);
DECLARE_ALIGNED
(
16
,
short
,
dqcoeff
[
400
]);
...
...
vp8/common/mbpitch.c
View file @
b2c8dff7
...
...
@@ -87,7 +87,6 @@ void vp8_setup_block_dptrs(MACROBLOCKD *x)
{
for
(
c
=
0
;
c
<
4
;
c
++
)
{
x
->
block
[
r
*
4
+
c
].
diff
=
&
x
->
diff
[
r
*
4
*
16
+
c
*
4
];
x
->
block
[
r
*
4
+
c
].
predictor
=
x
->
predictor
+
r
*
4
*
16
+
c
*
4
;
}
}
...
...
@@ -96,7 +95,6 @@ void vp8_setup_block_dptrs(MACROBLOCKD *x)
{
for
(
c
=
0
;
c
<
2
;
c
++
)
{
x
->
block
[
16
+
r
*
2
+
c
].
diff
=
&
x
->
diff
[
256
+
r
*
4
*
8
+
c
*
4
];
x
->
block
[
16
+
r
*
2
+
c
].
predictor
=
x
->
predictor
+
256
+
r
*
4
*
8
+
c
*
4
;
}
...
...
@@ -106,14 +104,11 @@ void vp8_setup_block_dptrs(MACROBLOCKD *x)
{
for
(
c
=
0
;
c
<
2
;
c
++
)
{
x
->
block
[
20
+
r
*
2
+
c
].
diff
=
&
x
->
diff
[
320
+
r
*
4
*
8
+
c
*
4
];
x
->
block
[
20
+
r
*
2
+
c
].
predictor
=
x
->
predictor
+
320
+
r
*
4
*
8
+
c
*
4
;
}
}
x
->
block
[
24
].
diff
=
&
x
->
diff
[
384
];
for
(
r
=
0
;
r
<
25
;
r
++
)
{
x
->
block
[
r
].
qcoeff
=
x
->
qcoeff
+
r
*
16
;
...
...
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