Skip to content
GitLab
Menu
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
2c2e5616
Commit
2c2e5616
authored
Apr 06, 2017
by
Michael Bebenita
Browse files
Add tile support to inspection API
Change-Id: I7b6847adb031d1c866742eec0c512ef9cc26f2c8
parent
8636da61
Changes
3
Hide whitespace changes
Inline
Side-by-side
av1/decoder/inspection.c
View file @
2c2e5616
...
...
@@ -39,6 +39,8 @@ int ifd_inspect(insp_frame_data *fd, void *decoder) {
fd
->
show_frame
=
cm
->
show_frame
;
fd
->
frame_type
=
cm
->
frame_type
;
fd
->
base_qindex
=
cm
->
base_qindex
;
fd
->
tile_mi_cols
=
cm
->
tile_width
;
fd
->
tile_mi_rows
=
cm
->
tile_height
;
#if CONFIG_ACCOUNTING
fd
->
accounting
=
&
pbi
->
accounting
;
#endif
...
...
av1/decoder/inspection.h
View file @
2c2e5616
...
...
@@ -58,6 +58,8 @@ struct insp_frame_data {
int
base_qindex
;
int
mi_rows
;
int
mi_cols
;
int
tile_mi_rows
;
int
tile_mi_cols
;
int16_t
y_dequant
[
MAX_SEGMENTS
][
2
];
int16_t
uv_dequant
[
MAX_SEGMENTS
][
2
];
#if CONFIG_CDEF
...
...
examples/inspect.c
View file @
2c2e5616
...
...
@@ -461,6 +461,10 @@ void inspect(void *pbi, void *data) {
frame_data
.
frame_type
);
buf
+=
snprintf
(
buf
,
MAX_BUFFER
,
"
\"
baseQIndex
\"
: %d,
\n
"
,
frame_data
.
base_qindex
);
buf
+=
snprintf
(
buf
,
MAX_BUFFER
,
"
\"
tileCols
\"
: %d,
\n
"
,
frame_data
.
tile_mi_cols
);
buf
+=
snprintf
(
buf
,
MAX_BUFFER
,
"
\"
tileRows
\"
: %d,
\n
"
,
frame_data
.
tile_mi_rows
);
buf
+=
put_str
(
buf
,
"
\"
config
\"
: {"
);
buf
+=
put_map
(
buf
,
config_map
);
buf
+=
put_str
(
buf
,
"},
\n
"
);
...
...
Write
Preview
Supports
Markdown
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