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
0d3f31e8
Commit
0d3f31e8
authored
Jun 01, 2012
by
Scott LaVarnway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused dr from VP8D_COMP
Code cleanup Change-Id: Ic90a9a566de9a05b5ebabd19565557627aa9d419
parent
cd0bf0e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
42 deletions
+0
-42
vp8/decoder/onyxd_if.c
vp8/decoder/onyxd_if.c
+0
-33
vp8/decoder/onyxd_int.h
vp8/decoder/onyxd_int.h
+0
-9
No files found.
vp8/decoder/onyxd_if.c
View file @
0d3f31e8
...
...
@@ -510,39 +510,6 @@ int vp8dx_receive_compressed_data(VP8D_COMP *pbi, unsigned long size, const unsi
pbi
->
last_time_stamp
=
time_stamp
;
pbi
->
num_fragments
=
0
;
#if 0
{
int i;
int64_t earliest_time = pbi->dr[0].time_stamp;
int64_t latest_time = pbi->dr[0].time_stamp;
int64_t time_diff = 0;
int bytes = 0;
pbi->dr[pbi->common.current_video_frame&0xf].size = pbi->bc.pos + pbi->bc2.pos + 4;;
pbi->dr[pbi->common.current_video_frame&0xf].time_stamp = time_stamp;
for (i = 0; i < 16; i++)
{
bytes += pbi->dr[i].size;
if (pbi->dr[i].time_stamp < earliest_time)
earliest_time = pbi->dr[i].time_stamp;
if (pbi->dr[i].time_stamp > latest_time)
latest_time = pbi->dr[i].time_stamp;
}
time_diff = latest_time - earliest_time;
if (time_diff > 0)
{
pbi->common.bitrate = 80000.00 * bytes / time_diff ;
pbi->common.framerate = 160000000.00 / time_diff ;
}
}
#endif
#if HAVE_NEON
#if CONFIG_RUNTIME_CPU_DETECT
...
...
vp8/decoder/onyxd_int.h
View file @
0d3f31e8
...
...
@@ -33,13 +33,6 @@ typedef struct
MACROBLOCKD
mbd
;
}
MB_ROW_DEC
;
typedef
struct
{
int64_t
time_stamp
;
int
size
;
}
DATARATE
;
typedef
struct
VP8D_COMP
{
DECLARE_ALIGNED
(
16
,
MACROBLOCKD
,
mb
);
...
...
@@ -88,8 +81,6 @@ typedef struct VP8D_COMP
int64_t
last_time_stamp
;
int
ready_for_new_data
;
DATARATE
dr
[
16
];
vp8_prob
prob_intra
;
vp8_prob
prob_last
;
vp8_prob
prob_gf
;
...
...
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