Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
75299cf3
Commit
75299cf3
authored
Sep 26, 2016
by
Błażej Szczygieł
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes in Theora SCsub
- properly pass x86 assembly define to the compiler, - don't compile unnecessary/encoder files.
parent
73a7b914
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
23 deletions
+21
-23
SCsub
drivers/theora/SCsub
+21
-23
No files found.
drivers/theora/SCsub
View file @
75299cf3
Import('env')
sources = [
"theora/analyze.c",
"theora/apiwrapper.c",
#
"theora/analyze.c",
#
"theora/apiwrapper.c",
"theora/bitpack.c",
"theora/cpu.c",
"theora/decapiwrapper.c",
#
"theora/decapiwrapper.c",
"theora/decinfo.c",
"theora/decode.c",
"theora/dequant.c",
...
...
@@ -13,55 +13,53 @@ sources = [
#"theora/encfrag.c",
#"theora/encinfo.c",
#"theora/encode.c",
"theora/encoder_disabled.c",
"theora/enquant.c",
"theora/fdct.c",
#
"theora/encoder_disabled.c",
#
"theora/enquant.c",
#
"theora/fdct.c",
"theora/fragment.c",
"theora/huffdec.c",
"theora/huffenc.c",
#
"theora/huffenc.c",
"theora/idct.c",
"theora/info.c",
"theora/internal.c",
"theora/mathops.c",
"theora/mcenc.c",
#
"theora/mathops.c",
#
"theora/mcenc.c",
"theora/quant.c",
"theora/rate.c",
#
"theora/rate.c",
"theora/state.c",
"theora/tokenize.c",
#
"theora/tokenize.c",
"theora/video_stream_theora.cpp",
]
sources_x86 = [
"theora/x86/mmxencfrag.c",
"theora/x86/mmxfdct.c",
#
"theora/x86/mmxencfrag.c",
#
"theora/x86/mmxfdct.c",
"theora/x86/mmxfrag.c",
"theora/x86/mmxidct.c",
"theora/x86/mmxstate.c",
"theora/x86/sse2fdct.c",
"theora/x86/x86enc.c",
#
"theora/x86/sse2fdct.c",
#
"theora/x86/x86enc.c",
"theora/x86/x86state.c",
]
sources_x86_vc = [
"theora/x86_vc/mmxencfrag.c",
"theora/x86_vc/mmxfdct.c",
#
"theora/x86_vc/mmxencfrag.c",
#
"theora/x86_vc/mmxfdct.c",
"theora/x86_vc/mmxfrag.c",
"theora/x86_vc/mmxidct.c",
"theora/x86_vc/mmxstate.c",
"theora/x86_vc/x86enc.c",
#
"theora/x86_vc/x86enc.c",
"theora/x86_vc/x86state.c",
]
env.drivers_sources += sources
if (env["x86_opt_gcc"]):
env.Append(CCFLAGS=["-DOC_X86_ASM"])
env.drivers_sources += sources_x86
if (env["x86_opt_vc"]):
env.Append(CCFLAGS=["-DOC_X86_ASM"])
env.drivers_sources += sources_x86_vc
if (env["x86_opt_gcc"] or env["x86_opt_vc"]):
Import('env_drivers')
env_drivers.Append(CCFLAGS=["-DOC_X86_ASM"])
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