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
1a0d5ea0
Commit
1a0d5ea0
authored
Feb 22, 2017
by
Nathan E. Egge
Committed by
Nathan Egge
Mar 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add analyzer to build system.
Change-Id: I93da53eae42d91419cc5bb4d55e7ce87eadd2551
parent
4bfd72ee
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
0 deletions
+32
-0
CMakeLists.txt
CMakeLists.txt
+10
-0
build/make/configure.sh
build/make/configure.sh
+4
-0
configure
configure
+1
-0
examples.mk
examples.mk
+17
-0
No files found.
CMakeLists.txt
View file @
1a0d5ea0
...
...
@@ -204,6 +204,16 @@ add_executable(aomenc
$<TARGET_OBJECTS:aom_encoder_app_util>
$<TARGET_OBJECTS:aom_encoder_stats>
)
if
(
CONFIG_ANALYZER
)
add_executable
(
analyzer
"
${
AOM_ROOT
}
/examples/analyzer.cc"
$<TARGET_OBJECTS:aom_common_app_util>
$<TARGET_OBJECTS:aom_decoder_app_util>
)
set
(
AOM_APP_TARGETS
${
AOM_APP_TARGETS
}
analyzer
)
append_cxx_flag
(
"$ENV{WX_CXXFLAGS}"
)
append_exe_linker_flag
(
"$ENV{WX_LDFLAGS}"
)
endif
()
add_executable
(
decode_to_md5
"
${
AOM_ROOT
}
/examples/decode_to_md5.c"
$<TARGET_OBJECTS:aom_common_app_util>
...
...
build/make/configure.sh
View file @
1a0d5ea0
...
...
@@ -1148,6 +1148,10 @@ EOF
enabled pic
&&
add_asflags
--apcs
=
/fpic
enabled shared
&&
add_cflags
--shared
fi
if
enabled analyzer
;
then
add_cxxflags
${
WX_CXXFLAGS
}
add_extralibs
${
WX_LDFLAGS
}
fi
;;
esac
;;
...
...
configure
View file @
1a0d5ea0
...
...
@@ -362,6 +362,7 @@ CONFIG_LIST="
size_limit
aom_qm
${
EXPERIMENT_LIST
}
analyzer
"
CMDLINE_SELECT
=
"
dependency_tracking
...
...
examples.mk
View file @
1a0d5ea0
...
...
@@ -62,6 +62,12 @@ ifeq ($(CONFIG_WEBM_IO),yes)
INC_PATH-yes
+=
$(SRC_PATH_BARE)
/third_party/libwebm
endif
# TODO(tomfinegan): Figure out why add_{c,cpp}flags/add_extralibs doesn't work
# for CXX examples.
ifeq
($(CONFIG_ANALYZER),yes)
CXXFLAGS
+=
${WX_CXXFLAGS}
extralibs
+=
${WX_LDFLAGS}
endif
# List of examples to build. UTILS are tools meant for distribution
# while EXAMPLES demonstrate specific portions of the API.
...
...
@@ -111,6 +117,17 @@ endif
aomenc.GUID
=
548DEC74-7A15-4B2B-AFC3-AA102E7C25C1
aomenc.DESCRIPTION
=
Full featured encoder
ifeq
($(CONFIG_ANALYZER),yes)
EXAMPLES-$(CONFIG_DECODERS)
+=
analyzer.cc
analyzer.GUID
=
83827a8c-e3c3-4b19-8832-0cfc206c4496
analyzer.SRCS
+=
ivfdec.h ivfdec.c
analyzer.SRCS
+=
av1/decoder/inspection.h
analyzer.SRCS
+=
av1/decoder/inspection.c
analyzer.SRCS
+=
video_reader.h video_reader.c
analyzer.SRCS
+=
tools_common.h tools_common.c
analyzer.DESCRIPTION
=
Bitstream analyzer
endif
ifeq
($(CONFIG_INSPECTION),yes)
EXAMPLES-$(CONFIG_DECODERS)
+=
inspect.c
inspect.GUID
=
FA46A420-3356-441F-B0FD-60AA1345C181
...
...
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