Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
a2baab8b
Commit
a2baab8b
authored
Feb 03, 2014
by
Dmitry Kovalev
Browse files
Moving MBGRAPH_{MB, FRAME}_STATS structs to vp9_mbgraph.h.
Change-Id: I424c79735a7f3bbf6bf9c1391ff53aa78abae624
parent
f7c17b89
Changes
2
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_mbgraph.h
View file @
a2baab8b
...
...
@@ -15,7 +15,23 @@
extern
"C"
{
#endif
void
vp9_update_mbgraph_stats
(
VP9_COMP
*
cpi
);
typedef
struct
{
struct
{
int
err
;
union
{
int_mv
mv
;
MB_PREDICTION_MODE
mode
;
}
m
;
}
ref
[
MAX_REF_FRAMES
];
}
MBGRAPH_MB_STATS
;
typedef
struct
{
MBGRAPH_MB_STATS
*
mb_stats
;
}
MBGRAPH_FRAME_STATS
;
struct
VP9_COMP
;
void
vp9_update_mbgraph_stats
(
struct
VP9_COMP
*
cpi
);
#ifdef __cplusplus
}
// extern "C"
...
...
vp9/encoder/vp9_onyx_int.h
View file @
a2baab8b
...
...
@@ -24,6 +24,7 @@
#include
"vp9/encoder/vp9_encodemb.h"
#include
"vp9/encoder/vp9_lookahead.h"
#include
"vp9/encoder/vp9_mbgraph.h"
#include
"vp9/encoder/vp9_mcomp.h"
#include
"vp9/encoder/vp9_quantize.h"
#include
"vp9/encoder/vp9_ratectrl.h"
...
...
@@ -100,20 +101,6 @@ typedef struct {
double
count
;
}
FIRSTPASS_STATS
;
typedef
struct
{
struct
{
int
err
;
union
{
int_mv
mv
;
MB_PREDICTION_MODE
mode
;
}
m
;
}
ref
[
MAX_REF_FRAMES
];
}
MBGRAPH_MB_STATS
;
typedef
struct
{
MBGRAPH_MB_STATS
*
mb_stats
;
}
MBGRAPH_FRAME_STATS
;
// This enumerator type needs to be kept aligned with the mode order in
// const MODE_DEFINITION vp9_mode_order[MAX_MODES] used in the rd code.
typedef
enum
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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