mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
Add build system for Android
This commit is contained in:
parent
bf979b0036
commit
b813e7d8a6
23 changed files with 9658 additions and 0 deletions
17
Android.mk
Normal file
17
Android.mk
Normal file
|
@ -0,0 +1,17 @@
|
|||
# This file is the top android makefile for all sub-modules.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
GSTREAMER_TOP := $(LOCAL_PATH)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
include $(GSTREAMER_TOP)/android/gst.mk
|
||||
include $(GSTREAMER_TOP)/android/base.mk
|
||||
include $(GSTREAMER_TOP)/android/controller.mk
|
||||
include $(GSTREAMER_TOP)/android/dataprotocol.mk
|
||||
include $(GSTREAMER_TOP)/android/net.mk
|
||||
include $(GSTREAMER_TOP)/android/elements.mk
|
||||
include $(GSTREAMER_TOP)/android/indexers.mk
|
||||
include $(GSTREAMER_TOP)/android/tools.mk
|
||||
|
481
android/NOTICE
Normal file
481
android/NOTICE
Normal file
|
@ -0,0 +1,481 @@
|
|||
GNU LIBRARY GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1991 Free Software Foundation, Inc.
|
||||
675 Mass Ave, Cambridge, MA 02139, USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
[This is the first released version of the library GPL. It is
|
||||
numbered 2 because it goes with version 2 of the ordinary GPL.]
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
Licenses are intended to guarantee your freedom to share and change
|
||||
free software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Library General Public License, applies to some
|
||||
specially designated Free Software Foundation software, and to any
|
||||
other libraries whose authors decide to use it. You can use it for
|
||||
your libraries, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if
|
||||
you distribute copies of the library, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis
|
||||
or for a fee, you must give the recipients all the rights that we gave
|
||||
you. You must make sure that they, too, receive or can get the source
|
||||
code. If you link a program with the library, you must provide
|
||||
complete object files to the recipients so that they can relink them
|
||||
with the library, after making changes to the library and recompiling
|
||||
it. And you must show them these terms so they know their rights.
|
||||
|
||||
Our method of protecting your rights has two steps: (1) copyright
|
||||
the library, and (2) offer you this license which gives you legal
|
||||
permission to copy, distribute and/or modify the library.
|
||||
|
||||
Also, for each distributor's protection, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
library. If the library is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original
|
||||
version, so that any problems introduced by others will not reflect on
|
||||
the original authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that companies distributing free
|
||||
software will individually obtain patent licenses, thus in effect
|
||||
transforming the program into proprietary software. To prevent this,
|
||||
we have made it clear that any patent must be licensed for everyone's
|
||||
free use or not licensed at all.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the ordinary
|
||||
GNU General Public License, which was designed for utility programs. This
|
||||
license, the GNU Library General Public License, applies to certain
|
||||
designated libraries. This license is quite different from the ordinary
|
||||
one; be sure to read it in full, and don't assume that anything in it is
|
||||
the same as in the ordinary license.
|
||||
|
||||
The reason we have a separate public license for some libraries is that
|
||||
they blur the distinction we usually make between modifying or adding to a
|
||||
program and simply using it. Linking a program with a library, without
|
||||
changing the library, is in some sense simply using the library, and is
|
||||
analogous to running a utility program or application program. However, in
|
||||
a textual and legal sense, the linked executable is a combined work, a
|
||||
derivative of the original library, and the ordinary General Public License
|
||||
treats it as such.
|
||||
|
||||
Because of this blurred distinction, using the ordinary General
|
||||
Public License for libraries did not effectively promote software
|
||||
sharing, because most developers did not use the libraries. We
|
||||
concluded that weaker conditions might promote sharing better.
|
||||
|
||||
However, unrestricted linking of non-free programs would deprive the
|
||||
users of those programs of all benefit from the free status of the
|
||||
libraries themselves. This Library General Public License is intended to
|
||||
permit developers of non-free programs to use free libraries, while
|
||||
preserving your freedom as a user of such programs to change the free
|
||||
libraries that are incorporated in them. (We have not seen how to achieve
|
||||
this as regards changes in header files, but we have achieved it as regards
|
||||
changes in the actual functions of the Library.) The hope is that this
|
||||
will lead to faster development of free libraries.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow. Pay close attention to the difference between a
|
||||
"work based on the library" and a "work that uses the library". The
|
||||
former contains code derived from the library, while the latter only
|
||||
works together with the library.
|
||||
|
||||
Note that it is possible for a library to be covered by the ordinary
|
||||
General Public License rather than by this special one.
|
||||
|
||||
GNU LIBRARY GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License Agreement applies to any software library which
|
||||
contains a notice placed by the copyright holder or other authorized
|
||||
party saying it may be distributed under the terms of this Library
|
||||
General Public License (also called "this License"). Each licensee is
|
||||
addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data
|
||||
prepared so as to be conveniently linked with application programs
|
||||
(which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work
|
||||
which has been distributed under these terms. A "work based on the
|
||||
Library" means either the Library or any derivative work under
|
||||
copyright law: that is to say, a work containing the Library or a
|
||||
portion of it, either verbatim or with modifications and/or translated
|
||||
straightforwardly into another language. (Hereinafter, translation is
|
||||
included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for
|
||||
making modifications to it. For a library, complete source code means
|
||||
all the source code for all modules it contains, plus any associated
|
||||
interface definition files, plus the scripts used to control compilation
|
||||
and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running a program using the Library is not restricted, and output from
|
||||
such a program is covered only if its contents constitute a work based
|
||||
on the Library (independent of the use of the Library in a tool for
|
||||
writing it). Whether that is true depends on what the Library does
|
||||
and what the program that uses the Library does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Library's
|
||||
complete source code as you receive it, in any medium, provided that
|
||||
you conspicuously and appropriately publish on each copy an
|
||||
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||
all the notices that refer to this License and to the absence of any
|
||||
warranty; and distribute a copy of this License along with the
|
||||
Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy,
|
||||
and you may at your option offer warranty protection in exchange for a
|
||||
fee.
|
||||
|
||||
2. You may modify your copy or copies of the Library or any portion
|
||||
of it, thus forming a work based on the Library, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) The modified work must itself be a software library.
|
||||
|
||||
b) You must cause the files modified to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
c) You must cause the whole of the work to be licensed at no
|
||||
charge to all third parties under the terms of this License.
|
||||
|
||||
d) If a facility in the modified Library refers to a function or a
|
||||
table of data to be supplied by an application program that uses
|
||||
the facility, other than as an argument passed when the facility
|
||||
is invoked, then you must make a good faith effort to ensure that,
|
||||
in the event an application does not supply such function or
|
||||
table, the facility still operates, and performs whatever part of
|
||||
its purpose remains meaningful.
|
||||
|
||||
(For example, a function in a library to compute square roots has
|
||||
a purpose that is entirely well-defined independent of the
|
||||
application. Therefore, Subsection 2d requires that any
|
||||
application-supplied function or table used by this function must
|
||||
be optional: if the application does not supply it, the square
|
||||
root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Library,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Library, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote
|
||||
it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library
|
||||
with the Library (or with a work based on the Library) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||
License instead of this License to a given copy of the Library. To do
|
||||
this, you must alter all the notices that refer to this License, so
|
||||
that they refer to the ordinary GNU General Public License, version 2,
|
||||
instead of to this License. (If a newer version than version 2 of the
|
||||
ordinary GNU General Public License has appeared, then you can specify
|
||||
that version instead if you wish.) Do not make any other change in
|
||||
these notices.
|
||||
|
||||
Once this change is made in a given copy, it is irreversible for
|
||||
that copy, so the ordinary GNU General Public License applies to all
|
||||
subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of
|
||||
the Library into a program that is not a library.
|
||||
|
||||
4. You may copy and distribute the Library (or a portion or
|
||||
derivative of it, under Section 2) in object code or executable form
|
||||
under the terms of Sections 1 and 2 above provided that you accompany
|
||||
it with the complete corresponding machine-readable source code, which
|
||||
must be distributed under the terms of Sections 1 and 2 above on a
|
||||
medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy
|
||||
from a designated place, then offering equivalent access to copy the
|
||||
source code from the same place satisfies the requirement to
|
||||
distribute the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
5. A program that contains no derivative of any portion of the
|
||||
Library, but is designed to work with the Library by being compiled or
|
||||
linked with it, is called a "work that uses the Library". Such a
|
||||
work, in isolation, is not a derivative work of the Library, and
|
||||
therefore falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library
|
||||
creates an executable that is a derivative of the Library (because it
|
||||
contains portions of the Library), rather than a "work that uses the
|
||||
library". The executable is therefore covered by this License.
|
||||
Section 6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file
|
||||
that is part of the Library, the object code for the work may be a
|
||||
derivative work of the Library even though the source code is not.
|
||||
Whether this is true is especially significant if the work can be
|
||||
linked without the Library, or if the work is itself a library. The
|
||||
threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data
|
||||
structure layouts and accessors, and small macros and small inline
|
||||
functions (ten lines or less in length), then the use of the object
|
||||
file is unrestricted, regardless of whether it is legally a derivative
|
||||
work. (Executables containing this object code plus portions of the
|
||||
Library will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may
|
||||
distribute the object code for the work under the terms of Section 6.
|
||||
Any executables containing that work also fall under Section 6,
|
||||
whether or not they are linked directly with the Library itself.
|
||||
|
||||
6. As an exception to the Sections above, you may also compile or
|
||||
link a "work that uses the Library" with the Library to produce a
|
||||
work containing portions of the Library, and distribute that work
|
||||
under terms of your choice, provided that the terms permit
|
||||
modification of the work for the customer's own use and reverse
|
||||
engineering for debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the
|
||||
Library is used in it and that the Library and its use are covered by
|
||||
this License. You must supply a copy of this License. If the work
|
||||
during execution displays copyright notices, you must include the
|
||||
copyright notice for the Library among them, as well as a reference
|
||||
directing the user to the copy of this License. Also, you must do one
|
||||
of these things:
|
||||
|
||||
a) Accompany the work with the complete corresponding
|
||||
machine-readable source code for the Library including whatever
|
||||
changes were used in the work (which must be distributed under
|
||||
Sections 1 and 2 above); and, if the work is an executable linked
|
||||
with the Library, with the complete machine-readable "work that
|
||||
uses the Library", as object code and/or source code, so that the
|
||||
user can modify the Library and then relink to produce a modified
|
||||
executable containing the modified Library. (It is understood
|
||||
that the user who changes the contents of definitions files in the
|
||||
Library will not necessarily be able to recompile the application
|
||||
to use the modified definitions.)
|
||||
|
||||
b) Accompany the work with a written offer, valid for at
|
||||
least three years, to give the same user the materials
|
||||
specified in Subsection 6a, above, for a charge no more
|
||||
than the cost of performing this distribution.
|
||||
|
||||
c) If distribution of the work is made by offering access to copy
|
||||
from a designated place, offer equivalent access to copy the above
|
||||
specified materials from the same place.
|
||||
|
||||
d) Verify that the user has already received a copy of these
|
||||
materials or that you have already sent this user a copy.
|
||||
|
||||
For an executable, the required form of the "work that uses the
|
||||
Library" must include any data and utility programs needed for
|
||||
reproducing the executable from it. However, as a special exception,
|
||||
the source code distributed need not include anything that is normally
|
||||
distributed (in either source or binary form) with the major
|
||||
components (compiler, kernel, and so on) of the operating system on
|
||||
which the executable runs, unless that component itself accompanies
|
||||
the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license
|
||||
restrictions of other proprietary libraries that do not normally
|
||||
accompany the operating system. Such a contradiction means you cannot
|
||||
use both them and the Library together in an executable that you
|
||||
distribute.
|
||||
|
||||
7. You may place library facilities that are a work based on the
|
||||
Library side-by-side in a single library together with other library
|
||||
facilities not covered by this License, and distribute such a combined
|
||||
library, provided that the separate distribution of the work based on
|
||||
the Library and of the other library facilities is otherwise
|
||||
permitted, and provided that you do these two things:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work
|
||||
based on the Library, uncombined with any other library
|
||||
facilities. This must be distributed under the terms of the
|
||||
Sections above.
|
||||
|
||||
b) Give prominent notice with the combined library of the fact
|
||||
that part of it is a work based on the Library, and explaining
|
||||
where to find the accompanying uncombined form of the same work.
|
||||
|
||||
8. You may not copy, modify, sublicense, link with, or distribute
|
||||
the Library except as expressly provided under this License. Any
|
||||
attempt otherwise to copy, modify, sublicense, link with, or
|
||||
distribute the Library is void, and will automatically terminate your
|
||||
rights under this License. However, parties who have received copies,
|
||||
or rights, from you under this License will not have their licenses
|
||||
terminated so long as such parties remain in full compliance.
|
||||
|
||||
9. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Library or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Library (or any work based on the
|
||||
Library), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Library or works based on it.
|
||||
|
||||
10. Each time you redistribute the Library (or any work based on the
|
||||
Library), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute, link with or modify the Library
|
||||
subject to these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
11. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Library at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Library by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any
|
||||
particular circumstance, the balance of the section is intended to apply,
|
||||
and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
12. If the distribution and/or use of the Library is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Library under this License may add
|
||||
an explicit geographical distribution limitation excluding those countries,
|
||||
so that distribution is permitted only in or among countries not thus
|
||||
excluded. In such case, this License incorporates the limitation as if
|
||||
written in the body of this License.
|
||||
|
||||
13. The Free Software Foundation may publish revised and/or new
|
||||
versions of the Library General Public License from time to time.
|
||||
Such new versions will be similar in spirit to the present version,
|
||||
but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library
|
||||
specifies a version number of this License which applies to it and
|
||||
"any later version", you have the option of following the terms and
|
||||
conditions either of that version or of any later version published by
|
||||
the Free Software Foundation. If the Library does not specify a
|
||||
license version number, you may choose any version ever published by
|
||||
the Free Software Foundation.
|
||||
|
||||
14. If you wish to incorporate parts of the Library into other free
|
||||
programs whose distribution conditions are incompatible with these,
|
||||
write to the author to ask for permission. For software which is
|
||||
copyrighted by the Free Software Foundation, write to the Free
|
||||
Software Foundation; we sometimes make exceptions for this. Our
|
||||
decision will be guided by the two goals of preserving the free status
|
||||
of all derivatives of our free software and of promoting the sharing
|
||||
and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
Appendix: How to Apply These Terms to Your New Libraries
|
||||
|
||||
If you develop a new library, and you want it to be of the greatest
|
||||
possible use to the public, we recommend making it free software that
|
||||
everyone can redistribute and change. You can do so by permitting
|
||||
redistribution under these terms (or, alternatively, under the terms of the
|
||||
ordinary General Public License).
|
||||
|
||||
To apply these terms, attach the following notices to the library. It is
|
||||
safest to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least the
|
||||
"copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the library's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Library General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Library General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Library General Public
|
||||
License along with this library; if not, write to the Free
|
||||
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the library, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
||||
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1990
|
||||
Ty Coon, President of Vice
|
||||
|
||||
That's all there is to it!
|
77
android/base.mk
Normal file
77
android/base.mk
Normal file
|
@ -0,0 +1,77 @@
|
|||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
#------------------------------------
|
||||
# include section
|
||||
#-----------------------------------
|
||||
gst_base_COPY_HEADERS_TO := gstreamer-0.10/gst/base
|
||||
gst_base_COPY_HEADERS := \
|
||||
../libs/gst/base/gstadapter.h \
|
||||
../libs/gst/base/gstbasesink.h \
|
||||
../libs/gst/base/gstbasesrc.h \
|
||||
../libs/gst/base/gstbasetransform.h \
|
||||
../libs/gst/base/gstbitreader.h \
|
||||
../libs/gst/base/gstbytereader.h \
|
||||
../libs/gst/base/gstbytewriter.h \
|
||||
../libs/gst/base/gstcollectpads.h \
|
||||
../libs/gst/base/gstdataqueue.h \
|
||||
../libs/gst/base/gstpushsrc.h \
|
||||
../libs/gst/base/gsttypefindhelper.h
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
|
||||
GST_MAJORMINOR:= 0.10
|
||||
|
||||
base_LOCAL_SRC_FILES:= \
|
||||
libs/gst/base/gstadapter.c \
|
||||
libs/gst/base/gstbasesink.c \
|
||||
libs/gst/base/gstbasesrc.c \
|
||||
libs/gst/base/gstbasetransform.c \
|
||||
libs/gst/base/gstbitreader.c \
|
||||
libs/gst/base/gstbytereader.c \
|
||||
libs/gst/base/gstbytewriter.c \
|
||||
libs/gst/base/gstcollectpads.c \
|
||||
libs/gst/base/gstpushsrc.c \
|
||||
libs/gst/base/gsttypefindhelper.c \
|
||||
libs/gst/base/gstdataqueue.c
|
||||
|
||||
LOCAL_SRC_FILES:= $(addprefix ../,$(base_LOCAL_SRC_FILES))
|
||||
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libgstreamer-0.10 \
|
||||
libglib-2.0 \
|
||||
libgthread-2.0 \
|
||||
libgmodule-2.0 \
|
||||
libgobject-2.0
|
||||
|
||||
LOCAL_MODULE:= libgstbase-$(GST_MAJORMINOR)
|
||||
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(LOCAL_PATH) \
|
||||
$(LOCAL_PATH)/gst \
|
||||
$(LOCAL_PATH)/../libs/gst/base \
|
||||
$(LOCAL_PATH)/.. \
|
||||
$(LOCAL_PATH)/../gst \
|
||||
$(LOCAL_PATH)/../libs \
|
||||
$(TARGET_OUT_HEADERS)/glib-2.0 \
|
||||
$(TARGET_OUT_HEADERS)/glib-2.0/glib \
|
||||
external/libxml2/include
|
||||
|
||||
ifeq ($(STECONF_ANDROID_VERSION),"FROYO")
|
||||
LOCAL_SHARED_LIBRARIES += libicuuc
|
||||
LOCAL_C_INCLUDES += external/icu4c/common
|
||||
endif
|
||||
|
||||
LOCAL_CFLAGS := -DHAVE_CONFIG_H
|
||||
#
|
||||
# define LOCAL_PRELINK_MODULE to false to not use pre-link map
|
||||
#
|
||||
LOCAL_PRELINK_MODULE := false
|
||||
|
||||
LOCAL_COPY_HEADERS_TO := $(gst_base_COPY_HEADERS_TO)
|
||||
LOCAL_COPY_HEADERS := $(gst_base_COPY_HEADERS)
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
64
android/controller.mk
Normal file
64
android/controller.mk
Normal file
|
@ -0,0 +1,64 @@
|
|||
LOCAL_PATH:= $(call my-dir)
|
||||
#------------------------------------
|
||||
# include section
|
||||
#-----------------------------------
|
||||
gst_controller_COPY_HEADERS_TO := gstreamer-0.10/gst/controller
|
||||
gst_controller_COPY_HEADERS := \
|
||||
../libs/gst/controller/gstcontroller.h \
|
||||
../libs/gst/controller/gstcontrolsource.h \
|
||||
../libs/gst/controller/gstinterpolationcontrolsource.h \
|
||||
../libs/gst/controller/gstlfocontrolsource.h
|
||||
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
|
||||
GST_MAJORMINOR:= 0.10
|
||||
|
||||
controller_LOCAL_SRC_FILES:= \
|
||||
libs/gst/controller/lib.c \
|
||||
libs/gst/controller/gstcontroller.c \
|
||||
libs/gst/controller/gstinterpolation.c \
|
||||
libs/gst/controller/gsthelper.c \
|
||||
libs/gst/controller/gstcontrolsource.c \
|
||||
libs/gst/controller/gstinterpolationcontrolsource.c \
|
||||
libs/gst/controller/gstlfocontrolsource.c
|
||||
|
||||
LOCAL_SRC_FILES:= $(addprefix ../,$(controller_LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libgstreamer-0.10 \
|
||||
libglib-2.0 \
|
||||
libgthread-2.0 \
|
||||
libgmodule-2.0 \
|
||||
libgobject-2.0
|
||||
|
||||
LOCAL_MODULE:= libgstcontroller-$(GST_MAJORMINOR)
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(LOCAL_PATH)/../libs \
|
||||
$(LOCAL_PATH)/.. \
|
||||
$(LOCAL_PATH)/../gst \
|
||||
$(LOCAL_PATH) \
|
||||
$(LOCAL_PATH)/gst \
|
||||
$(LOCAL_PATH)/gst/parse \
|
||||
$(TARGET_OUT_HEADERS)/glib-2.0 \
|
||||
$(TARGET_OUT_HEADERS)/glib-2.0/glib \
|
||||
external/libxml2/include
|
||||
|
||||
ifeq ($(STECONF_ANDROID_VERSION),"FROYO")
|
||||
LOCAL_SHARED_LIBRARIES += libicuuc
|
||||
LOCAL_C_INCLUDES += external/icu4c/common
|
||||
endif
|
||||
|
||||
LOCAL_CFLAGS := -DHAVE_CONFIG_H
|
||||
#
|
||||
# define LOCAL_PRELINK_MODULE to false to not use pre-link map
|
||||
#
|
||||
LOCAL_PRELINK_MODULE := false
|
||||
|
||||
LOCAL_COPY_HEADERS_TO := $(gst_controller_COPY_HEADERS_TO)
|
||||
LOCAL_COPY_HEADERS := $(gst_controller_COPY_HEADERS)
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
57
android/dataprotocol.mk
Normal file
57
android/dataprotocol.mk
Normal file
|
@ -0,0 +1,57 @@
|
|||
LOCAL_PATH:= $(call my-dir)
|
||||
#------------------------------------
|
||||
# include section
|
||||
#-----------------------------------
|
||||
gst_dataprotocol_COPY_HEADERS_TO := gstreamer-0.10/gst/dataprotocol
|
||||
gst_dataprotocol_COPY_HEADERS := \
|
||||
../libs/gst/dataprotocol/dataprotocol.h
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
|
||||
GST_MAJORMINOR:= 0.10
|
||||
|
||||
dataprotocol_LOCAL_SRC_FILES:= \
|
||||
libs/gst/dataprotocol/dataprotocol.c
|
||||
|
||||
LOCAL_SRC_FILES:= $(addprefix ../,$(dataprotocol_LOCAL_SRC_FILES))
|
||||
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libgstreamer-0.10 \
|
||||
libglib-2.0 \
|
||||
libgthread-2.0 \
|
||||
libgmodule-2.0 \
|
||||
libgobject-2.0
|
||||
|
||||
LOCAL_MODULE:= libgstdataprotocol-$(GST_MAJORMINOR)
|
||||
|
||||
LOCAL_TOP_PATH := $(LOCAL_PATH)/../../../..
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(LOCAL_PATH)/.. \
|
||||
$(LOCAL_PATH)/../libs \
|
||||
$(LOCAL_PATH)/../gst \
|
||||
$(LOCAL_PATH) \
|
||||
$(LOCAL_PATH)/gst \
|
||||
$(LOCAL_PATH)/gst/parse \
|
||||
$(TARGET_OUT_HEADERS)/glib-2.0 \
|
||||
$(TARGET_OUT_HEADERS)/glib-2.0/glib \
|
||||
external/libxml2/include
|
||||
|
||||
ifeq ($(STECONF_ANDROID_VERSION),"FROYO")
|
||||
LOCAL_SHARED_LIBRARIES += libicuuc
|
||||
LOCAL_C_INCLUDES += external/icu4c/common
|
||||
endif
|
||||
|
||||
LOCAL_CFLAGS := -DHAVE_CONFIG_H
|
||||
#
|
||||
# define LOCAL_PRELINK_MODULE to false to not use pre-link map
|
||||
#
|
||||
LOCAL_PRELINK_MODULE := false
|
||||
|
||||
LOCAL_COPY_HEADERS_TO := $(gst_dataprotocol_COPY_HEADERS_TO)
|
||||
LOCAL_COPY_HEADERS := $(gst_dataprotocol_COPY_HEADERS)
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
62
android/elements.mk
Normal file
62
android/elements.mk
Normal file
|
@ -0,0 +1,62 @@
|
|||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
|
||||
GST_MAJORMINOR:= 0.10
|
||||
|
||||
elements_LOCAL_SRC_FILES:= \
|
||||
plugins/elements/gstcapsfilter.c \
|
||||
plugins/elements/gstelements.c \
|
||||
plugins/elements/gstfakesrc.c \
|
||||
plugins/elements/gstfakesink.c \
|
||||
plugins/elements/gstfdsrc.c \
|
||||
plugins/elements/gstfdsink.c \
|
||||
plugins/elements/gstfilesink.c \
|
||||
plugins/elements/gstfilesrc.c \
|
||||
plugins/elements/gstidentity.c \
|
||||
plugins/elements/gstqueue.c \
|
||||
plugins/elements/gstqueue2.c \
|
||||
plugins/elements/gsttee.c \
|
||||
plugins/elements/gsttypefindelement.c \
|
||||
plugins/elements/gstmultiqueue.c
|
||||
|
||||
LOCAL_SRC_FILES:= $(addprefix ../,$(elements_LOCAL_SRC_FILES))
|
||||
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libgstbase-0.10 \
|
||||
libgstreamer-0.10 \
|
||||
libglib-2.0 \
|
||||
libgthread-2.0 \
|
||||
libgmodule-2.0 \
|
||||
libgobject-2.0
|
||||
|
||||
LOCAL_MODULE:= libgstcoreelements
|
||||
#It's a gstreamer plugins, and it must be installed on ..../lib/gstreamer-0.10
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT)/lib/gstreamer-0.10
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(LOCAL_PATH)/.. \
|
||||
$(LOCAL_PATH)/../libs \
|
||||
$(LOCAL_PATH)/../gst \
|
||||
$(LOCAL_PATH)/ \
|
||||
$(LOCAL_PATH)/gst \
|
||||
$(LOCAL_PATH)/gst/parse \
|
||||
$(TARGET_OUT_HEADERS)/glib-2.0 \
|
||||
$(TARGET_OUT_HEADERS)/glib-2.0/glib \
|
||||
external/libxml2/include
|
||||
|
||||
ifeq ($(STECONF_ANDROID_VERSION),"FROYO")
|
||||
LOCAL_SHARED_LIBRARIES += libicuuc
|
||||
LOCAL_C_INCLUDES += external/icu4c/common
|
||||
endif
|
||||
|
||||
LOCAL_CFLAGS := -DHAVE_CONFIG_H
|
||||
#
|
||||
# define LOCAL_PRELINK_MODULE to false to not use pre-link map
|
||||
#
|
||||
LOCAL_PRELINK_MODULE := false
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
39
android/gst-inspect.mk
Normal file
39
android/gst-inspect.mk
Normal file
|
@ -0,0 +1,39 @@
|
|||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
|
||||
GST_MAJORMINOR:= 0.10
|
||||
|
||||
LOCAL_SRC_FILES:= ../tools/gst-inspect.c
|
||||
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libgstreamer-0.10 \
|
||||
libglib-2.0 \
|
||||
libgthread-2.0 \
|
||||
libgmodule-2.0 \
|
||||
libgobject-2.0
|
||||
|
||||
LOCAL_MODULE:= gst-inspect
|
||||
|
||||
LOCAL_TOP_PATH := $(LOCAL_PATH)/../..
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(LOCAL_PATH) \
|
||||
$(LOCAL_PATH)/.. \
|
||||
$(LOCAL_PATH)/../tools \
|
||||
$(TARGET_OUT_HEADERS)/gstreamer-0.10 \
|
||||
$(TARGET_OUT_HEADERS)/glib-2.0 \
|
||||
$(TARGET_OUT_HEADERS)/glib-2.0/glib \
|
||||
external/libxml2/include
|
||||
|
||||
ifeq ($(STECONF_ANDROID_VERSION),"FROYO")
|
||||
LOCAL_SHARED_LIBRARIES += libicuuc
|
||||
LOCAL_C_INCLUDES += external/icu4c/common
|
||||
endif
|
||||
|
||||
LOCAL_CFLAGS := -DHAVE_CONFIG_H
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
38
android/gst-launch.mk
Normal file
38
android/gst-launch.mk
Normal file
|
@ -0,0 +1,38 @@
|
|||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
|
||||
GST_MAJORMINOR:= 0.10
|
||||
|
||||
LOCAL_SRC_FILES:= ../tools/gst-launch.c
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libgstreamer-0.10 \
|
||||
libglib-2.0 \
|
||||
libgthread-2.0 \
|
||||
libgmodule-2.0 \
|
||||
libgobject-2.0
|
||||
|
||||
LOCAL_MODULE:= gst-launch
|
||||
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(LOCAL_PATH) \
|
||||
$(LOCAL_PATH)/.. \
|
||||
$(LOCAL_PATH)/../tools \
|
||||
$(TARGET_OUT_HEADERS)/gstreamer-0.10 \
|
||||
$(TARGET_OUT_HEADERS)/glib-2.0 \
|
||||
$(TARGET_OUT_HEADERS)/glib-2.0/glib \
|
||||
external/libxml2/include
|
||||
|
||||
ifeq ($(STECONF_ANDROID_VERSION),"FROYO")
|
||||
LOCAL_SHARED_LIBRARIES += libicuuc
|
||||
LOCAL_C_INCLUDES += external/icu4c/common
|
||||
endif
|
||||
|
||||
LOCAL_CFLAGS := \
|
||||
-DHAVE_CONFIG_H
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
38
android/gst-plugin-scanner.mk
Normal file
38
android/gst-plugin-scanner.mk
Normal file
|
@ -0,0 +1,38 @@
|
|||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
|
||||
GST_MAJORMINOR:= 0.10
|
||||
|
||||
LOCAL_SRC_FILES:= ../libs/gst/helpers/gst-plugin-scanner.c
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libgstreamer-0.10 \
|
||||
libglib-2.0 \
|
||||
libgthread-2.0 \
|
||||
libgmodule-2.0 \
|
||||
libgobject-2.0
|
||||
|
||||
LOCAL_MODULE:= gst-plugin-scanner
|
||||
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(LOCAL_PATH) \
|
||||
$(LOCAL_PATH)/.. \
|
||||
$(LOCAL_PATH)/../tools \
|
||||
$(TARGET_OUT_HEADERS)/gstreamer-0.10 \
|
||||
$(TARGET_OUT_HEADERS)/glib-2.0 \
|
||||
$(TARGET_OUT_HEADERS)/glib-2.0/glib \
|
||||
external/libxml2/include
|
||||
|
||||
ifeq ($(STECONF_ANDROID_VERSION),"FROYO")
|
||||
LOCAL_SHARED_LIBRARIES += libicuuc
|
||||
LOCAL_C_INCLUDES += external/icu4c/common
|
||||
endif
|
||||
|
||||
LOCAL_CFLAGS := \
|
||||
-DHAVE_CONFIG_H
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
185
android/gst.mk
Normal file
185
android/gst.mk
Normal file
|
@ -0,0 +1,185 @@
|
|||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
#------------------------------------
|
||||
# include section
|
||||
#-----------------------------------
|
||||
gst_COPY_HEADERS_TO := gstreamer-0.10/gst
|
||||
gst_COPY_HEADERS_BASE := \
|
||||
glib-compat.h \
|
||||
gst.h \
|
||||
gstbin.h \
|
||||
gstbuffer.h \
|
||||
gstbufferlist.h \
|
||||
gstbus.h \
|
||||
gstcaps.h \
|
||||
gstchildproxy.h \
|
||||
gstclock.h \
|
||||
gstcompat.h \
|
||||
gstdebugutils.h \
|
||||
gstelement.h \
|
||||
gstelementfactory.h \
|
||||
gsterror.h \
|
||||
gstevent.h \
|
||||
gstfilter.h \
|
||||
gstformat.h \
|
||||
gstghostpad.h \
|
||||
gstindex.h \
|
||||
gstindexfactory.h \
|
||||
gstinfo.h \
|
||||
gstinterface.h \
|
||||
gstiterator.h \
|
||||
gstmacros.h \
|
||||
gstmessage.h \
|
||||
gstminiobject.h \
|
||||
gstobject.h \
|
||||
gstpad.h \
|
||||
gstpadtemplate.h \
|
||||
gstparamspecs.h \
|
||||
gstparse.h \
|
||||
gstpipeline.h \
|
||||
gstplugin.h \
|
||||
gstpluginfeature.h \
|
||||
gstpluginloader.h \
|
||||
gstpoll.h \
|
||||
gstpreset.h \
|
||||
gstquery.h \
|
||||
gstregistry.h \
|
||||
gstregistrychunks.h \
|
||||
gstsegment.h \
|
||||
gststructure.h \
|
||||
gstsystemclock.h \
|
||||
gsttaglist.h \
|
||||
gsttagsetter.h \
|
||||
gsttask.h \
|
||||
gsttaskpool.h \
|
||||
gsttrace.h \
|
||||
gsttypefind.h \
|
||||
gsttypefindfactory.h \
|
||||
gsturi.h \
|
||||
gstutils.h \
|
||||
gstvalue.h \
|
||||
gstxml.h
|
||||
|
||||
gst_COPY_HEADERS_ANDROID := \
|
||||
gstconfig.h \
|
||||
gstversion.h \
|
||||
gstenumtypes.h \
|
||||
gstmarshal.h
|
||||
|
||||
gst_COPY_HEADERS := $(addprefix ../gst/,$(gst_COPY_HEADERS_BASE)) \
|
||||
$(addprefix ../android/gst/,$(gst_COPY_HEADERS_ANDROID))
|
||||
|
||||
#------------------------------------
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
|
||||
GST_MAJORMINOR:= 0.10
|
||||
|
||||
gst_LOCAL_SRC_FILES_BASE:= \
|
||||
gst.c \
|
||||
gstobject.c \
|
||||
gstbin.c \
|
||||
gstbuffer.c \
|
||||
gstbufferlist.c \
|
||||
gstbus.c \
|
||||
gstcaps.c \
|
||||
gstchildproxy.c \
|
||||
gstclock.c \
|
||||
gstdebugutils.c \
|
||||
gstelement.c \
|
||||
gstelementfactory.c \
|
||||
gsterror.c \
|
||||
gstevent.c \
|
||||
gstfilter.c \
|
||||
gstformat.c \
|
||||
gstghostpad.c \
|
||||
gstindex.c \
|
||||
gstindexfactory.c \
|
||||
gstinfo.c \
|
||||
gstinterface.c \
|
||||
gstiterator.c \
|
||||
gstmessage.c \
|
||||
gstminiobject.c \
|
||||
gstpad.c \
|
||||
gstpadtemplate.c \
|
||||
gstparamspecs.c \
|
||||
gstpipeline.c \
|
||||
gstplugin.c \
|
||||
gstpluginfeature.c \
|
||||
gstpluginloader.c \
|
||||
gstpoll.c \
|
||||
gstpreset.c \
|
||||
gstquark.c \
|
||||
gstquery.c \
|
||||
gstregistry.c \
|
||||
gstregistrychunks.c \
|
||||
gstsegment.c \
|
||||
gststructure.c \
|
||||
gstsystemclock.c \
|
||||
gsttaglist.c \
|
||||
gsttagsetter.c \
|
||||
gsttask.c \
|
||||
gsttaskpool.c \
|
||||
gsttrace.c \
|
||||
gsttypefind.c \
|
||||
gsttypefindfactory.c \
|
||||
gsturi.c \
|
||||
gstutils.c \
|
||||
gstvalue.c \
|
||||
gstparse.c \
|
||||
gstregistrybinary.c \
|
||||
gstxml.c
|
||||
|
||||
|
||||
gst_LOCAL_SRC_FILES_ANDROID:= \
|
||||
gstenumtypes.c \
|
||||
gstmarshal.c \
|
||||
parse/grammar.tab.c \
|
||||
parse/lex._gst_parse_yy.c
|
||||
|
||||
LOCAL_SRC_FILES:= $(addprefix ../gst/,$(gst_LOCAL_SRC_FILES_BASE)) \
|
||||
$(addprefix ../android/gst/,$(gst_LOCAL_SRC_FILES_ANDROID))
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := libxml2
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libglib-2.0 \
|
||||
libgthread-2.0 \
|
||||
libgmodule-2.0 \
|
||||
libgobject-2.0
|
||||
|
||||
LOCAL_MODULE:= libgstreamer-$(GST_MAJORMINOR)
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(LOCAL_PATH) \
|
||||
$(LOCAL_PATH)/gst \
|
||||
$(LOCAL_PATH)/gst/parse \
|
||||
$(LOCAL_PATH)/../gst \
|
||||
$(LOCAL_PATH)/.. \
|
||||
$(LOCAL_PATH)/../gst/parse \
|
||||
$(TARGET_OUT_HEADERS)/glib-2.0 \
|
||||
$(TARGET_OUT_HEADERS)/glib-2.0/glib \
|
||||
external/libxml2/include
|
||||
|
||||
ifeq ($(STECONF_ANDROID_VERSION),"FROYO")
|
||||
LOCAL_SHARED_LIBRARIES += libicuuc
|
||||
LOCAL_C_INCLUDES += external/icu4c/common
|
||||
endif
|
||||
|
||||
LOCAL_CFLAGS := \
|
||||
-D_GNU_SOURCE \
|
||||
-DG_LOG_DOMAIN=g_log_domain_gstreamer \
|
||||
-DGST_MAJORMINOR=\""$(GST_MAJORMINOR)"\" \
|
||||
-DGST_DISABLE_DEPRECATED \
|
||||
-DHAVE_CONFIG_H
|
||||
|
||||
#
|
||||
# define LOCAL_PRELINK_MODULE to false to not use pre-link map
|
||||
#
|
||||
LOCAL_PRELINK_MODULE := false
|
||||
|
||||
LOCAL_COPY_HEADERS_TO := $(gst_COPY_HEADERS_TO)
|
||||
LOCAL_COPY_HEADERS := $(gst_COPY_HEADERS)
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
231
android/gst/gstconfig.h
Normal file
231
android/gst/gstconfig.h
Normal file
|
@ -0,0 +1,231 @@
|
|||
/* GStreamer
|
||||
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
|
||||
* 2004,2005 Wim Taymans <wim@fluendo.com>
|
||||
*
|
||||
* gstconfig.h: GST_DISABLE_* macros for build configuration
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Library General Public
|
||||
* License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/**
|
||||
* SECTION:gstconfig
|
||||
* @short_description: Build configuration options
|
||||
*
|
||||
* This describes the configuration options for GStreamer. When building
|
||||
* GStreamer there are a lot of parts (known internally as "subsystems" ) that
|
||||
* can be disabled for various reasons. The most common reasons are speed and
|
||||
* size, which is important because GStreamer is designed to run on embedded
|
||||
* systems.
|
||||
*
|
||||
* If a subsystem is disabled, most of this changes are done in an API
|
||||
* compatible way, so you don't need to adapt your code in most cases. It is
|
||||
* never done in an ABI compatible way though. So if you want to disable a
|
||||
* suybsystem, you have to rebuild all programs depending on GStreamer, too.
|
||||
*
|
||||
* If a subsystem is disabled in GStreamer, a value is defined in
|
||||
* <gst/gst.h>. You can check this if you do subsystem-specific stuff.
|
||||
* <example id="example-gstconfig">
|
||||
* <title>Doing subsystem specific things</title>
|
||||
* <programlisting>
|
||||
* &hash;ifndef GST_DISABLE_GST_DEBUG
|
||||
* // do stuff specific to the debugging subsystem
|
||||
* &hash;endif // GST_DISABLE_GST_DEBUG
|
||||
* </programlisting>
|
||||
* </example>
|
||||
*/
|
||||
|
||||
#ifndef __GST_CONFIG_H__
|
||||
#define __GST_CONFIG_H__
|
||||
|
||||
/* trick gtk-doc into believing these symbols are defined (yes, it's ugly) */
|
||||
|
||||
#if 0
|
||||
#define GST_DISABLE_GST_DEBUG 1
|
||||
#define GST_DISABLE_LOADSAVE 1
|
||||
#define GST_DISABLE_PARSE 1
|
||||
#define GST_DISABLE_TRACE 1
|
||||
#define GST_DISABLE_ALLOC_TRACE 1
|
||||
#define GST_DISABLE_REGISTRY 1
|
||||
#define GST_DISABLE_PLUGIN 1
|
||||
#define GST_DISABLE_XML 1
|
||||
#define GST_DISABLE_LOADSAVE_REGISTRY 1
|
||||
#define GST_HAVE_GLIB_2_8 1
|
||||
#endif
|
||||
|
||||
/***** default padding of structures *****/
|
||||
#define GST_PADDING 4
|
||||
#define GST_PADDING_INIT { NULL }
|
||||
|
||||
/***** padding for very extensible base classes *****/
|
||||
#define GST_PADDING_LARGE 20
|
||||
|
||||
/***** disabling of subsystems *****/
|
||||
|
||||
/**
|
||||
* GST_DISABLE_GST_DEBUG:
|
||||
*
|
||||
* Configures the inclusion of the debugging subsystem
|
||||
*/
|
||||
/* #undef GST_DISABLE_GST_DEBUG */
|
||||
|
||||
/**
|
||||
* GST_DISABLE_LOADSAVE:
|
||||
*
|
||||
* Configures the inclusion of the plugin graph xml-serialisation
|
||||
* (was used in 0.8 by gst-editor)
|
||||
*/
|
||||
/* #undef GST_DISABLE_LOADSAVE */
|
||||
|
||||
/**
|
||||
* GST_DISABLE_PARSE:
|
||||
*
|
||||
* Configures the inclusion of the gst-lauch parser
|
||||
*/
|
||||
/* #undef GST_DISABLE_PARSE */
|
||||
|
||||
/**
|
||||
* GST_DISABLE_TRACE:
|
||||
*
|
||||
* Configures the inclusion of a resource tracing facillity
|
||||
* (seems to be unused)
|
||||
*/
|
||||
/* #undef GST_DISABLE_TRACE */
|
||||
|
||||
/**
|
||||
* GST_DISABLE_ALLOC_TRACE:
|
||||
*
|
||||
* Configures the use of a memory tracer based on the resource tracer
|
||||
* if TRACE is disabled, ALLOC_TRACE is disabled as well
|
||||
*/
|
||||
/* #undef GST_DISABLE_ALLOC_TRACE */
|
||||
|
||||
/**
|
||||
* GST_DISABLE_REGISTRY:
|
||||
*
|
||||
* Configures the use of the plugin registry.
|
||||
* If one disables this, required plugins need to be loaded and registered
|
||||
* manually
|
||||
*/
|
||||
/* #undef GST_DISABLE_REGISTRY */
|
||||
|
||||
/**
|
||||
* GST_DISABLE_XML:
|
||||
*
|
||||
* Configures the use libxml2. This setting is derived from the settings of
|
||||
* %GST_DISABLE_LOADSAVE and %GST_DISABLE_REGISTRY (in the xml registry case).
|
||||
*/
|
||||
/* #undef GST_DISABLE_XML */
|
||||
|
||||
/* FIXME: test and document these! */
|
||||
/* Configures the use of external plugins */
|
||||
/* #undef GST_DISABLE_PLUGIN */
|
||||
|
||||
/* printf extension format */
|
||||
/**
|
||||
* GST_PTR_FORMAT:
|
||||
*
|
||||
* printf format type used to debug GStreamer types.
|
||||
* This can only be used on types whose size is >= sizeof(gpointer).
|
||||
*/
|
||||
#define GST_PTR_FORMAT "P"
|
||||
/**
|
||||
* GST_SEGMENT_FORMAT:
|
||||
*
|
||||
* printf format type used to debug GStreamer segments.
|
||||
* This can only be used on pointers to GstSegment structures.
|
||||
*
|
||||
* Since: 0.10.10
|
||||
*/
|
||||
#define GST_SEGMENT_FORMAT "Q"
|
||||
|
||||
/* whether or not GST_PTR_FORMAT or GST_SEGMENT_FORMAT are using
|
||||
* the printf extension mechanism. This is for internal use in our
|
||||
* header files so we know whether we can use G_GNUC_PRINTF or not */
|
||||
#define GST_USING_PRINTF_EXTENSION
|
||||
|
||||
/* GST_DISABLE_PRINTF_EXTENSION:
|
||||
*
|
||||
* Define this to debug your debug log messages and make gcc spew warnings
|
||||
* if printf format string and arguments don't match up (this is usually
|
||||
* not the case when libc and gcc are used because printf format warnings
|
||||
* have to be disabled when the printf extension mechanism is in use).
|
||||
*
|
||||
* Note that using this option disables 'pretty logging' of GStreamer objects
|
||||
* like caps, tags, structures, events, pads etc., so that only their address
|
||||
* will be printed in the log.
|
||||
*
|
||||
* This define only disables use of the special registered printf format
|
||||
* extensions in the code compiled with it defined. It does not stop
|
||||
* GStreamer from registering these extensions in the first place if it
|
||||
* was compiled against a libc that supports this.
|
||||
*
|
||||
* (not official API)
|
||||
*/
|
||||
#ifdef GST_DISABLE_PRINTF_EXTENSION
|
||||
#undef GST_PTR_FORMAT
|
||||
#define GST_PTR_FORMAT "p"
|
||||
#undef GST_SEGMENT_FORMAT
|
||||
#define GST_SEGMENT_FORMAT "p"
|
||||
#undef GST_USING_PRINTF_EXTENSION
|
||||
#endif
|
||||
|
||||
/* whether or not the CPU supports unaligned access */
|
||||
#define GST_HAVE_UNALIGNED_ACCESS 0
|
||||
|
||||
/* FIXME: 0.11 (remove)
|
||||
* whether or not we are using glib 2.8 api, e.g. atomic gobject
|
||||
* refcounting */
|
||||
#define GST_HAVE_GLIB_2_8 1
|
||||
|
||||
/***** Deal with XML stuff, we have to handle both loadsave and registry *****/
|
||||
/* FIXME: move include to where we need it */
|
||||
/*#if (! (defined(GST_DISABLE_LOADSAVE) && defined(GST_DISABLE_REGISTRY)) )*/
|
||||
#ifndef GST_DISABLE_XML
|
||||
# include <libxml/parser.h>
|
||||
#else
|
||||
/* FIXME: 0.11 (replace by GST_DISABLE_XML) */
|
||||
# define GST_DISABLE_LOADSAVE_REGISTRY
|
||||
#endif
|
||||
|
||||
/**
|
||||
* GST_EXPORT:
|
||||
*
|
||||
* Export the given variable from the built shared object.
|
||||
*
|
||||
* On Windows, this exports the variable from the DLL.
|
||||
* On other platforms, this gets defined to "extern".
|
||||
*/
|
||||
/**
|
||||
* GST_PLUGIN_EXPORT:
|
||||
*
|
||||
* Export the plugin's definition.
|
||||
*
|
||||
* On Windows, this exports the plugin definition from the DLL.
|
||||
* On other platforms, this gets defined as a no-op.
|
||||
*/
|
||||
#ifdef _MSC_VER
|
||||
#define GST_PLUGIN_EXPORT __declspec(dllexport) extern
|
||||
#ifdef GST_EXPORTS
|
||||
#define GST_EXPORT __declspec(dllexport) extern
|
||||
#else
|
||||
#define GST_EXPORT __declspec(dllimport) extern
|
||||
#endif
|
||||
#else /* not _MSC_VER */
|
||||
#define GST_PLUGIN_EXPORT
|
||||
#define GST_EXPORT extern
|
||||
#endif
|
||||
|
||||
#endif /* __GST_CONFIG_H__ */
|
1501
android/gst/gstenumtypes.c
Normal file
1501
android/gst/gstenumtypes.c
Normal file
File diff suppressed because it is too large
Load diff
203
android/gst/gstenumtypes.h
Normal file
203
android/gst/gstenumtypes.h
Normal file
|
@ -0,0 +1,203 @@
|
|||
|
||||
/* Generated data (by glib-mkenums) */
|
||||
|
||||
#ifndef __GST_ENUM_TYPES_H__
|
||||
#define __GST_ENUM_TYPES_H__
|
||||
|
||||
#include <glib-object.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/* enumerations from "gstobject.h" */
|
||||
GType gst_object_flags_get_type (void);
|
||||
#define GST_TYPE_OBJECT_FLAGS (gst_object_flags_get_type())
|
||||
|
||||
/* enumerations from "gstbin.h" */
|
||||
GType gst_bin_flags_get_type (void);
|
||||
#define GST_TYPE_BIN_FLAGS (gst_bin_flags_get_type())
|
||||
|
||||
/* enumerations from "gstbuffer.h" */
|
||||
GType gst_buffer_flag_get_type (void);
|
||||
#define GST_TYPE_BUFFER_FLAG (gst_buffer_flag_get_type())
|
||||
GType gst_buffer_copy_flags_get_type (void);
|
||||
#define GST_TYPE_BUFFER_COPY_FLAGS (gst_buffer_copy_flags_get_type())
|
||||
|
||||
/* enumerations from "gstbufferlist.h" */
|
||||
GType gst_buffer_list_item_get_type (void);
|
||||
#define GST_TYPE_BUFFER_LIST_ITEM (gst_buffer_list_item_get_type())
|
||||
|
||||
/* enumerations from "gstbus.h" */
|
||||
GType gst_bus_flags_get_type (void);
|
||||
#define GST_TYPE_BUS_FLAGS (gst_bus_flags_get_type())
|
||||
GType gst_bus_sync_reply_get_type (void);
|
||||
#define GST_TYPE_BUS_SYNC_REPLY (gst_bus_sync_reply_get_type())
|
||||
|
||||
/* enumerations from "gstcaps.h" */
|
||||
GType gst_caps_flags_get_type (void);
|
||||
#define GST_TYPE_CAPS_FLAGS (gst_caps_flags_get_type())
|
||||
|
||||
/* enumerations from "gstclock.h" */
|
||||
GType gst_clock_return_get_type (void);
|
||||
#define GST_TYPE_CLOCK_RETURN (gst_clock_return_get_type())
|
||||
GType gst_clock_entry_type_get_type (void);
|
||||
#define GST_TYPE_CLOCK_ENTRY_TYPE (gst_clock_entry_type_get_type())
|
||||
GType gst_clock_flags_get_type (void);
|
||||
#define GST_TYPE_CLOCK_FLAGS (gst_clock_flags_get_type())
|
||||
|
||||
/* enumerations from "gstdebugutils.h" */
|
||||
GType gst_debug_graph_details_get_type (void);
|
||||
#define GST_TYPE_DEBUG_GRAPH_DETAILS (gst_debug_graph_details_get_type())
|
||||
|
||||
/* enumerations from "gstelement.h" */
|
||||
GType gst_state_get_type (void);
|
||||
#define GST_TYPE_STATE (gst_state_get_type())
|
||||
GType gst_state_change_return_get_type (void);
|
||||
#define GST_TYPE_STATE_CHANGE_RETURN (gst_state_change_return_get_type())
|
||||
GType gst_state_change_get_type (void);
|
||||
#define GST_TYPE_STATE_CHANGE (gst_state_change_get_type())
|
||||
GType gst_element_flags_get_type (void);
|
||||
#define GST_TYPE_ELEMENT_FLAGS (gst_element_flags_get_type())
|
||||
|
||||
/* enumerations from "gsterror.h" */
|
||||
GType gst_core_error_get_type (void);
|
||||
#define GST_TYPE_CORE_ERROR (gst_core_error_get_type())
|
||||
GType gst_library_error_get_type (void);
|
||||
#define GST_TYPE_LIBRARY_ERROR (gst_library_error_get_type())
|
||||
GType gst_resource_error_get_type (void);
|
||||
#define GST_TYPE_RESOURCE_ERROR (gst_resource_error_get_type())
|
||||
GType gst_stream_error_get_type (void);
|
||||
#define GST_TYPE_STREAM_ERROR (gst_stream_error_get_type())
|
||||
|
||||
/* enumerations from "gstevent.h" */
|
||||
GType gst_event_type_flags_get_type (void);
|
||||
#define GST_TYPE_EVENT_TYPE_FLAGS (gst_event_type_flags_get_type())
|
||||
GType gst_event_type_get_type (void);
|
||||
#define GST_TYPE_EVENT_TYPE (gst_event_type_get_type())
|
||||
GType gst_seek_type_get_type (void);
|
||||
#define GST_TYPE_SEEK_TYPE (gst_seek_type_get_type())
|
||||
GType gst_seek_flags_get_type (void);
|
||||
#define GST_TYPE_SEEK_FLAGS (gst_seek_flags_get_type())
|
||||
|
||||
/* enumerations from "gstformat.h" */
|
||||
GType gst_format_get_type (void);
|
||||
#define GST_TYPE_FORMAT (gst_format_get_type())
|
||||
|
||||
/* enumerations from "gstindex.h" */
|
||||
GType gst_index_certainty_get_type (void);
|
||||
#define GST_TYPE_INDEX_CERTAINTY (gst_index_certainty_get_type())
|
||||
GType gst_index_entry_type_get_type (void);
|
||||
#define GST_TYPE_INDEX_ENTRY_TYPE (gst_index_entry_type_get_type())
|
||||
GType gst_index_lookup_method_get_type (void);
|
||||
#define GST_TYPE_INDEX_LOOKUP_METHOD (gst_index_lookup_method_get_type())
|
||||
GType gst_assoc_flags_get_type (void);
|
||||
#define GST_TYPE_ASSOC_FLAGS (gst_assoc_flags_get_type())
|
||||
GType gst_index_resolver_method_get_type (void);
|
||||
#define GST_TYPE_INDEX_RESOLVER_METHOD (gst_index_resolver_method_get_type())
|
||||
GType gst_index_flags_get_type (void);
|
||||
#define GST_TYPE_INDEX_FLAGS (gst_index_flags_get_type())
|
||||
|
||||
/* enumerations from "gstinfo.h" */
|
||||
GType gst_debug_level_get_type (void);
|
||||
#define GST_TYPE_DEBUG_LEVEL (gst_debug_level_get_type())
|
||||
GType gst_debug_color_flags_get_type (void);
|
||||
#define GST_TYPE_DEBUG_COLOR_FLAGS (gst_debug_color_flags_get_type())
|
||||
|
||||
/* enumerations from "gstiterator.h" */
|
||||
GType gst_iterator_result_get_type (void);
|
||||
#define GST_TYPE_ITERATOR_RESULT (gst_iterator_result_get_type())
|
||||
GType gst_iterator_item_get_type (void);
|
||||
#define GST_TYPE_ITERATOR_ITEM (gst_iterator_item_get_type())
|
||||
|
||||
/* enumerations from "gstmessage.h" */
|
||||
GType gst_message_type_get_type (void);
|
||||
#define GST_TYPE_MESSAGE_TYPE (gst_message_type_get_type())
|
||||
GType gst_structure_change_type_get_type (void);
|
||||
#define GST_TYPE_STRUCTURE_CHANGE_TYPE (gst_structure_change_type_get_type())
|
||||
GType gst_stream_status_type_get_type (void);
|
||||
#define GST_TYPE_STREAM_STATUS_TYPE (gst_stream_status_type_get_type())
|
||||
|
||||
/* enumerations from "gstminiobject.h" */
|
||||
GType gst_mini_object_flags_get_type (void);
|
||||
#define GST_TYPE_MINI_OBJECT_FLAGS (gst_mini_object_flags_get_type())
|
||||
|
||||
/* enumerations from "gstpad.h" */
|
||||
GType gst_pad_link_return_get_type (void);
|
||||
#define GST_TYPE_PAD_LINK_RETURN (gst_pad_link_return_get_type())
|
||||
GType gst_flow_return_get_type (void);
|
||||
#define GST_TYPE_FLOW_RETURN (gst_flow_return_get_type())
|
||||
GType gst_activate_mode_get_type (void);
|
||||
#define GST_TYPE_ACTIVATE_MODE (gst_activate_mode_get_type())
|
||||
GType gst_pad_direction_get_type (void);
|
||||
#define GST_TYPE_PAD_DIRECTION (gst_pad_direction_get_type())
|
||||
GType gst_pad_flags_get_type (void);
|
||||
#define GST_TYPE_PAD_FLAGS (gst_pad_flags_get_type())
|
||||
|
||||
/* enumerations from "gstpadtemplate.h" */
|
||||
GType gst_pad_presence_get_type (void);
|
||||
#define GST_TYPE_PAD_PRESENCE (gst_pad_presence_get_type())
|
||||
GType gst_pad_template_flags_get_type (void);
|
||||
#define GST_TYPE_PAD_TEMPLATE_FLAGS (gst_pad_template_flags_get_type())
|
||||
|
||||
/* enumerations from "gstpipeline.h" */
|
||||
GType gst_pipeline_flags_get_type (void);
|
||||
#define GST_TYPE_PIPELINE_FLAGS (gst_pipeline_flags_get_type())
|
||||
|
||||
/* enumerations from "gstplugin.h" */
|
||||
GType gst_plugin_error_get_type (void);
|
||||
#define GST_TYPE_PLUGIN_ERROR (gst_plugin_error_get_type())
|
||||
GType gst_plugin_flags_get_type (void);
|
||||
#define GST_TYPE_PLUGIN_FLAGS (gst_plugin_flags_get_type())
|
||||
GType gst_plugin_dependency_flags_get_type (void);
|
||||
#define GST_TYPE_PLUGIN_DEPENDENCY_FLAGS (gst_plugin_dependency_flags_get_type())
|
||||
|
||||
/* enumerations from "gstpluginfeature.h" */
|
||||
GType gst_rank_get_type (void);
|
||||
#define GST_TYPE_RANK (gst_rank_get_type())
|
||||
|
||||
/* enumerations from "gstquery.h" */
|
||||
GType gst_query_type_get_type (void);
|
||||
#define GST_TYPE_QUERY_TYPE (gst_query_type_get_type())
|
||||
GType gst_buffering_mode_get_type (void);
|
||||
#define GST_TYPE_BUFFERING_MODE (gst_buffering_mode_get_type())
|
||||
|
||||
/* enumerations from "gstsystemclock.h" */
|
||||
GType gst_clock_type_get_type (void);
|
||||
#define GST_TYPE_CLOCK_TYPE (gst_clock_type_get_type())
|
||||
|
||||
/* enumerations from "gsttaglist.h" */
|
||||
GType gst_tag_merge_mode_get_type (void);
|
||||
#define GST_TYPE_TAG_MERGE_MODE (gst_tag_merge_mode_get_type())
|
||||
GType gst_tag_flag_get_type (void);
|
||||
#define GST_TYPE_TAG_FLAG (gst_tag_flag_get_type())
|
||||
|
||||
/* enumerations from "gsttask.h" */
|
||||
GType gst_task_state_get_type (void);
|
||||
#define GST_TYPE_TASK_STATE (gst_task_state_get_type())
|
||||
|
||||
/* enumerations from "gsttrace.h" */
|
||||
GType gst_alloc_trace_flags_get_type (void);
|
||||
#define GST_TYPE_ALLOC_TRACE_FLAGS (gst_alloc_trace_flags_get_type())
|
||||
|
||||
/* enumerations from "gsttypefind.h" */
|
||||
GType gst_type_find_probability_get_type (void);
|
||||
#define GST_TYPE_TYPE_FIND_PROBABILITY (gst_type_find_probability_get_type())
|
||||
|
||||
/* enumerations from "gsturi.h" */
|
||||
GType gst_uri_type_get_type (void);
|
||||
#define GST_TYPE_URI_TYPE (gst_uri_type_get_type())
|
||||
|
||||
/* enumerations from "gstutils.h" */
|
||||
GType gst_search_mode_get_type (void);
|
||||
#define GST_TYPE_SEARCH_MODE (gst_search_mode_get_type())
|
||||
|
||||
/* enumerations from "gstparse.h" */
|
||||
GType gst_parse_error_get_type (void);
|
||||
#define GST_TYPE_PARSE_ERROR (gst_parse_error_get_type())
|
||||
GType gst_parse_flags_get_type (void);
|
||||
#define GST_TYPE_PARSE_FLAGS (gst_parse_flags_get_type())
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_ENUM_TYPES_H__ */
|
||||
|
||||
/* Generated data ends here */
|
||||
|
586
android/gst/gstmarshal.c
Normal file
586
android/gst/gstmarshal.c
Normal file
|
@ -0,0 +1,586 @@
|
|||
#include "gst_private.h"
|
||||
#include "glib-object.h"
|
||||
#include "gstmarshal.h"
|
||||
|
||||
#include <glib-object.h>
|
||||
|
||||
|
||||
#ifdef G_ENABLE_DEBUG
|
||||
#define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
|
||||
#define g_marshal_value_peek_char(v) g_value_get_char (v)
|
||||
#define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
|
||||
#define g_marshal_value_peek_int(v) g_value_get_int (v)
|
||||
#define g_marshal_value_peek_uint(v) g_value_get_uint (v)
|
||||
#define g_marshal_value_peek_long(v) g_value_get_long (v)
|
||||
#define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
|
||||
#define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
|
||||
#define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
|
||||
#define g_marshal_value_peek_enum(v) g_value_get_enum (v)
|
||||
#define g_marshal_value_peek_flags(v) g_value_get_flags (v)
|
||||
#define g_marshal_value_peek_float(v) g_value_get_float (v)
|
||||
#define g_marshal_value_peek_double(v) g_value_get_double (v)
|
||||
#define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
|
||||
#define g_marshal_value_peek_param(v) g_value_get_param (v)
|
||||
#define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
|
||||
#define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
|
||||
#define g_marshal_value_peek_object(v) g_value_get_object (v)
|
||||
#else /* !G_ENABLE_DEBUG */
|
||||
/* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
|
||||
* Do not access GValues directly in your code. Instead, use the
|
||||
* g_value_get_*() functions
|
||||
*/
|
||||
#define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
|
||||
#define g_marshal_value_peek_char(v) (v)->data[0].v_int
|
||||
#define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
|
||||
#define g_marshal_value_peek_int(v) (v)->data[0].v_int
|
||||
#define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
|
||||
#define g_marshal_value_peek_long(v) (v)->data[0].v_long
|
||||
#define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
|
||||
#define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
|
||||
#define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
|
||||
#define g_marshal_value_peek_enum(v) (v)->data[0].v_long
|
||||
#define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
|
||||
#define g_marshal_value_peek_float(v) (v)->data[0].v_float
|
||||
#define g_marshal_value_peek_double(v) (v)->data[0].v_double
|
||||
#define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
|
||||
#define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
|
||||
#define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
|
||||
#define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
|
||||
#define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
|
||||
#endif /* !G_ENABLE_DEBUG */
|
||||
|
||||
|
||||
/* VOID:VOID (./gstmarshal.list:1) */
|
||||
|
||||
/* VOID:BOOLEAN (./gstmarshal.list:2) */
|
||||
|
||||
/* VOID:INT (./gstmarshal.list:3) */
|
||||
|
||||
/* VOID:STRING (./gstmarshal.list:4) */
|
||||
|
||||
/* VOID:BOXED (./gstmarshal.list:5) */
|
||||
|
||||
/* VOID:BOXED,OBJECT (./gstmarshal.list:6) */
|
||||
void
|
||||
gst_marshal_VOID__BOXED_OBJECT (GClosure * closure,
|
||||
GValue * return_value G_GNUC_UNUSED,
|
||||
guint n_param_values,
|
||||
const GValue * param_values,
|
||||
gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data)
|
||||
{
|
||||
typedef void (*GMarshalFunc_VOID__BOXED_OBJECT) (gpointer data1,
|
||||
gpointer arg_1, gpointer arg_2, gpointer data2);
|
||||
register GMarshalFunc_VOID__BOXED_OBJECT callback;
|
||||
register GCClosure *cc = (GCClosure *) closure;
|
||||
register gpointer data1, data2;
|
||||
|
||||
g_return_if_fail (n_param_values == 3);
|
||||
|
||||
if (G_CCLOSURE_SWAP_DATA (closure)) {
|
||||
data1 = closure->data;
|
||||
data2 = g_value_peek_pointer (param_values + 0);
|
||||
} else {
|
||||
data1 = g_value_peek_pointer (param_values + 0);
|
||||
data2 = closure->data;
|
||||
}
|
||||
callback =
|
||||
(GMarshalFunc_VOID__BOXED_OBJECT) (marshal_data ? marshal_data :
|
||||
cc->callback);
|
||||
|
||||
callback (data1,
|
||||
g_marshal_value_peek_boxed (param_values + 1),
|
||||
g_marshal_value_peek_object (param_values + 2), data2);
|
||||
}
|
||||
|
||||
/* VOID:POINTER (./gstmarshal.list:7) */
|
||||
|
||||
/* VOID:POINTER,OBJECT (./gstmarshal.list:8) */
|
||||
void
|
||||
gst_marshal_VOID__POINTER_OBJECT (GClosure * closure,
|
||||
GValue * return_value G_GNUC_UNUSED,
|
||||
guint n_param_values,
|
||||
const GValue * param_values,
|
||||
gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data)
|
||||
{
|
||||
typedef void (*GMarshalFunc_VOID__POINTER_OBJECT) (gpointer data1,
|
||||
gpointer arg_1, gpointer arg_2, gpointer data2);
|
||||
register GMarshalFunc_VOID__POINTER_OBJECT callback;
|
||||
register GCClosure *cc = (GCClosure *) closure;
|
||||
register gpointer data1, data2;
|
||||
|
||||
g_return_if_fail (n_param_values == 3);
|
||||
|
||||
if (G_CCLOSURE_SWAP_DATA (closure)) {
|
||||
data1 = closure->data;
|
||||
data2 = g_value_peek_pointer (param_values + 0);
|
||||
} else {
|
||||
data1 = g_value_peek_pointer (param_values + 0);
|
||||
data2 = closure->data;
|
||||
}
|
||||
callback =
|
||||
(GMarshalFunc_VOID__POINTER_OBJECT) (marshal_data ? marshal_data :
|
||||
cc->callback);
|
||||
|
||||
callback (data1,
|
||||
g_marshal_value_peek_pointer (param_values + 1),
|
||||
g_marshal_value_peek_object (param_values + 2), data2);
|
||||
}
|
||||
|
||||
/* VOID:OBJECT (./gstmarshal.list:9) */
|
||||
|
||||
/* VOID:OBJECT,OBJECT (./gstmarshal.list:10) */
|
||||
void
|
||||
gst_marshal_VOID__OBJECT_OBJECT (GClosure * closure,
|
||||
GValue * return_value G_GNUC_UNUSED,
|
||||
guint n_param_values,
|
||||
const GValue * param_values,
|
||||
gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data)
|
||||
{
|
||||
typedef void (*GMarshalFunc_VOID__OBJECT_OBJECT) (gpointer data1,
|
||||
gpointer arg_1, gpointer arg_2, gpointer data2);
|
||||
register GMarshalFunc_VOID__OBJECT_OBJECT callback;
|
||||
register GCClosure *cc = (GCClosure *) closure;
|
||||
register gpointer data1, data2;
|
||||
|
||||
g_return_if_fail (n_param_values == 3);
|
||||
|
||||
if (G_CCLOSURE_SWAP_DATA (closure)) {
|
||||
data1 = closure->data;
|
||||
data2 = g_value_peek_pointer (param_values + 0);
|
||||
} else {
|
||||
data1 = g_value_peek_pointer (param_values + 0);
|
||||
data2 = closure->data;
|
||||
}
|
||||
callback =
|
||||
(GMarshalFunc_VOID__OBJECT_OBJECT) (marshal_data ? marshal_data :
|
||||
cc->callback);
|
||||
|
||||
callback (data1,
|
||||
g_marshal_value_peek_object (param_values + 1),
|
||||
g_marshal_value_peek_object (param_values + 2), data2);
|
||||
}
|
||||
|
||||
/* VOID:OBJECT,PARAM (./gstmarshal.list:11) */
|
||||
void
|
||||
gst_marshal_VOID__OBJECT_PARAM (GClosure * closure,
|
||||
GValue * return_value G_GNUC_UNUSED,
|
||||
guint n_param_values,
|
||||
const GValue * param_values,
|
||||
gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data)
|
||||
{
|
||||
typedef void (*GMarshalFunc_VOID__OBJECT_PARAM) (gpointer data1,
|
||||
gpointer arg_1, gpointer arg_2, gpointer data2);
|
||||
register GMarshalFunc_VOID__OBJECT_PARAM callback;
|
||||
register GCClosure *cc = (GCClosure *) closure;
|
||||
register gpointer data1, data2;
|
||||
|
||||
g_return_if_fail (n_param_values == 3);
|
||||
|
||||
if (G_CCLOSURE_SWAP_DATA (closure)) {
|
||||
data1 = closure->data;
|
||||
data2 = g_value_peek_pointer (param_values + 0);
|
||||
} else {
|
||||
data1 = g_value_peek_pointer (param_values + 0);
|
||||
data2 = closure->data;
|
||||
}
|
||||
callback =
|
||||
(GMarshalFunc_VOID__OBJECT_PARAM) (marshal_data ? marshal_data :
|
||||
cc->callback);
|
||||
|
||||
callback (data1,
|
||||
g_marshal_value_peek_object (param_values + 1),
|
||||
g_marshal_value_peek_param (param_values + 2), data2);
|
||||
}
|
||||
|
||||
/* VOID:OBJECT,POINTER (./gstmarshal.list:12) */
|
||||
void
|
||||
gst_marshal_VOID__OBJECT_POINTER (GClosure * closure,
|
||||
GValue * return_value G_GNUC_UNUSED,
|
||||
guint n_param_values,
|
||||
const GValue * param_values,
|
||||
gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data)
|
||||
{
|
||||
typedef void (*GMarshalFunc_VOID__OBJECT_POINTER) (gpointer data1,
|
||||
gpointer arg_1, gpointer arg_2, gpointer data2);
|
||||
register GMarshalFunc_VOID__OBJECT_POINTER callback;
|
||||
register GCClosure *cc = (GCClosure *) closure;
|
||||
register gpointer data1, data2;
|
||||
|
||||
g_return_if_fail (n_param_values == 3);
|
||||
|
||||
if (G_CCLOSURE_SWAP_DATA (closure)) {
|
||||
data1 = closure->data;
|
||||
data2 = g_value_peek_pointer (param_values + 0);
|
||||
} else {
|
||||
data1 = g_value_peek_pointer (param_values + 0);
|
||||
data2 = closure->data;
|
||||
}
|
||||
callback =
|
||||
(GMarshalFunc_VOID__OBJECT_POINTER) (marshal_data ? marshal_data :
|
||||
cc->callback);
|
||||
|
||||
callback (data1,
|
||||
g_marshal_value_peek_object (param_values + 1),
|
||||
g_marshal_value_peek_pointer (param_values + 2), data2);
|
||||
}
|
||||
|
||||
/* VOID:OBJECT,BOXED (./gstmarshal.list:13) */
|
||||
void
|
||||
gst_marshal_VOID__OBJECT_BOXED (GClosure * closure,
|
||||
GValue * return_value G_GNUC_UNUSED,
|
||||
guint n_param_values,
|
||||
const GValue * param_values,
|
||||
gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data)
|
||||
{
|
||||
typedef void (*GMarshalFunc_VOID__OBJECT_BOXED) (gpointer data1,
|
||||
gpointer arg_1, gpointer arg_2, gpointer data2);
|
||||
register GMarshalFunc_VOID__OBJECT_BOXED callback;
|
||||
register GCClosure *cc = (GCClosure *) closure;
|
||||
register gpointer data1, data2;
|
||||
|
||||
g_return_if_fail (n_param_values == 3);
|
||||
|
||||
if (G_CCLOSURE_SWAP_DATA (closure)) {
|
||||
data1 = closure->data;
|
||||
data2 = g_value_peek_pointer (param_values + 0);
|
||||
} else {
|
||||
data1 = g_value_peek_pointer (param_values + 0);
|
||||
data2 = closure->data;
|
||||
}
|
||||
callback =
|
||||
(GMarshalFunc_VOID__OBJECT_BOXED) (marshal_data ? marshal_data :
|
||||
cc->callback);
|
||||
|
||||
callback (data1,
|
||||
g_marshal_value_peek_object (param_values + 1),
|
||||
g_marshal_value_peek_boxed (param_values + 2), data2);
|
||||
}
|
||||
|
||||
/* VOID:OBJECT,BOXED,STRING (./gstmarshal.list:14) */
|
||||
void
|
||||
gst_marshal_VOID__OBJECT_BOXED_STRING (GClosure * closure,
|
||||
GValue * return_value G_GNUC_UNUSED,
|
||||
guint n_param_values,
|
||||
const GValue * param_values,
|
||||
gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data)
|
||||
{
|
||||
typedef void (*GMarshalFunc_VOID__OBJECT_BOXED_STRING) (gpointer data1,
|
||||
gpointer arg_1, gpointer arg_2, gpointer arg_3, gpointer data2);
|
||||
register GMarshalFunc_VOID__OBJECT_BOXED_STRING callback;
|
||||
register GCClosure *cc = (GCClosure *) closure;
|
||||
register gpointer data1, data2;
|
||||
|
||||
g_return_if_fail (n_param_values == 4);
|
||||
|
||||
if (G_CCLOSURE_SWAP_DATA (closure)) {
|
||||
data1 = closure->data;
|
||||
data2 = g_value_peek_pointer (param_values + 0);
|
||||
} else {
|
||||
data1 = g_value_peek_pointer (param_values + 0);
|
||||
data2 = closure->data;
|
||||
}
|
||||
callback =
|
||||
(GMarshalFunc_VOID__OBJECT_BOXED_STRING) (marshal_data ? marshal_data :
|
||||
cc->callback);
|
||||
|
||||
callback (data1,
|
||||
g_marshal_value_peek_object (param_values + 1),
|
||||
g_marshal_value_peek_boxed (param_values + 2),
|
||||
g_marshal_value_peek_string (param_values + 3), data2);
|
||||
}
|
||||
|
||||
/* VOID:OBJECT,OBJECT,STRING (./gstmarshal.list:15) */
|
||||
void
|
||||
gst_marshal_VOID__OBJECT_OBJECT_STRING (GClosure * closure,
|
||||
GValue * return_value G_GNUC_UNUSED,
|
||||
guint n_param_values,
|
||||
const GValue * param_values,
|
||||
gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data)
|
||||
{
|
||||
typedef void (*GMarshalFunc_VOID__OBJECT_OBJECT_STRING) (gpointer data1,
|
||||
gpointer arg_1, gpointer arg_2, gpointer arg_3, gpointer data2);
|
||||
register GMarshalFunc_VOID__OBJECT_OBJECT_STRING callback;
|
||||
register GCClosure *cc = (GCClosure *) closure;
|
||||
register gpointer data1, data2;
|
||||
|
||||
g_return_if_fail (n_param_values == 4);
|
||||
|
||||
if (G_CCLOSURE_SWAP_DATA (closure)) {
|
||||
data1 = closure->data;
|
||||
data2 = g_value_peek_pointer (param_values + 0);
|
||||
} else {
|
||||
data1 = g_value_peek_pointer (param_values + 0);
|
||||
data2 = closure->data;
|
||||
}
|
||||
callback =
|
||||
(GMarshalFunc_VOID__OBJECT_OBJECT_STRING) (marshal_data ? marshal_data :
|
||||
cc->callback);
|
||||
|
||||
callback (data1,
|
||||
g_marshal_value_peek_object (param_values + 1),
|
||||
g_marshal_value_peek_object (param_values + 2),
|
||||
g_marshal_value_peek_string (param_values + 3), data2);
|
||||
}
|
||||
|
||||
/* VOID:OBJECT,STRING (./gstmarshal.list:16) */
|
||||
void
|
||||
gst_marshal_VOID__OBJECT_STRING (GClosure * closure,
|
||||
GValue * return_value G_GNUC_UNUSED,
|
||||
guint n_param_values,
|
||||
const GValue * param_values,
|
||||
gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data)
|
||||
{
|
||||
typedef void (*GMarshalFunc_VOID__OBJECT_STRING) (gpointer data1,
|
||||
gpointer arg_1, gpointer arg_2, gpointer data2);
|
||||
register GMarshalFunc_VOID__OBJECT_STRING callback;
|
||||
register GCClosure *cc = (GCClosure *) closure;
|
||||
register gpointer data1, data2;
|
||||
|
||||
g_return_if_fail (n_param_values == 3);
|
||||
|
||||
if (G_CCLOSURE_SWAP_DATA (closure)) {
|
||||
data1 = closure->data;
|
||||
data2 = g_value_peek_pointer (param_values + 0);
|
||||
} else {
|
||||
data1 = g_value_peek_pointer (param_values + 0);
|
||||
data2 = closure->data;
|
||||
}
|
||||
callback =
|
||||
(GMarshalFunc_VOID__OBJECT_STRING) (marshal_data ? marshal_data :
|
||||
cc->callback);
|
||||
|
||||
callback (data1,
|
||||
g_marshal_value_peek_object (param_values + 1),
|
||||
g_marshal_value_peek_string (param_values + 2), data2);
|
||||
}
|
||||
|
||||
/* VOID:INT,INT (./gstmarshal.list:17) */
|
||||
void
|
||||
gst_marshal_VOID__INT_INT (GClosure * closure,
|
||||
GValue * return_value G_GNUC_UNUSED,
|
||||
guint n_param_values,
|
||||
const GValue * param_values,
|
||||
gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data)
|
||||
{
|
||||
typedef void (*GMarshalFunc_VOID__INT_INT) (gpointer data1,
|
||||
gint arg_1, gint arg_2, gpointer data2);
|
||||
register GMarshalFunc_VOID__INT_INT callback;
|
||||
register GCClosure *cc = (GCClosure *) closure;
|
||||
register gpointer data1, data2;
|
||||
|
||||
g_return_if_fail (n_param_values == 3);
|
||||
|
||||
if (G_CCLOSURE_SWAP_DATA (closure)) {
|
||||
data1 = closure->data;
|
||||
data2 = g_value_peek_pointer (param_values + 0);
|
||||
} else {
|
||||
data1 = g_value_peek_pointer (param_values + 0);
|
||||
data2 = closure->data;
|
||||
}
|
||||
callback =
|
||||
(GMarshalFunc_VOID__INT_INT) (marshal_data ? marshal_data : cc->callback);
|
||||
|
||||
callback (data1,
|
||||
g_marshal_value_peek_int (param_values + 1),
|
||||
g_marshal_value_peek_int (param_values + 2), data2);
|
||||
}
|
||||
|
||||
/* VOID:INT64 (./gstmarshal.list:18) */
|
||||
void
|
||||
gst_marshal_VOID__INT64 (GClosure * closure,
|
||||
GValue * return_value G_GNUC_UNUSED,
|
||||
guint n_param_values,
|
||||
const GValue * param_values,
|
||||
gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data)
|
||||
{
|
||||
typedef void (*GMarshalFunc_VOID__INT64) (gpointer data1,
|
||||
gint64 arg_1, gpointer data2);
|
||||
register GMarshalFunc_VOID__INT64 callback;
|
||||
register GCClosure *cc = (GCClosure *) closure;
|
||||
register gpointer data1, data2;
|
||||
|
||||
g_return_if_fail (n_param_values == 2);
|
||||
|
||||
if (G_CCLOSURE_SWAP_DATA (closure)) {
|
||||
data1 = closure->data;
|
||||
data2 = g_value_peek_pointer (param_values + 0);
|
||||
} else {
|
||||
data1 = g_value_peek_pointer (param_values + 0);
|
||||
data2 = closure->data;
|
||||
}
|
||||
callback =
|
||||
(GMarshalFunc_VOID__INT64) (marshal_data ? marshal_data : cc->callback);
|
||||
|
||||
callback (data1, g_marshal_value_peek_int64 (param_values + 1), data2);
|
||||
}
|
||||
|
||||
/* VOID:UINT,BOXED (./gstmarshal.list:19) */
|
||||
void
|
||||
gst_marshal_VOID__UINT_BOXED (GClosure * closure,
|
||||
GValue * return_value G_GNUC_UNUSED,
|
||||
guint n_param_values,
|
||||
const GValue * param_values,
|
||||
gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data)
|
||||
{
|
||||
typedef void (*GMarshalFunc_VOID__UINT_BOXED) (gpointer data1,
|
||||
guint arg_1, gpointer arg_2, gpointer data2);
|
||||
register GMarshalFunc_VOID__UINT_BOXED callback;
|
||||
register GCClosure *cc = (GCClosure *) closure;
|
||||
register gpointer data1, data2;
|
||||
|
||||
g_return_if_fail (n_param_values == 3);
|
||||
|
||||
if (G_CCLOSURE_SWAP_DATA (closure)) {
|
||||
data1 = closure->data;
|
||||
data2 = g_value_peek_pointer (param_values + 0);
|
||||
} else {
|
||||
data1 = g_value_peek_pointer (param_values + 0);
|
||||
data2 = closure->data;
|
||||
}
|
||||
callback =
|
||||
(GMarshalFunc_VOID__UINT_BOXED) (marshal_data ? marshal_data :
|
||||
cc->callback);
|
||||
|
||||
callback (data1,
|
||||
g_marshal_value_peek_uint (param_values + 1),
|
||||
g_marshal_value_peek_boxed (param_values + 2), data2);
|
||||
}
|
||||
|
||||
/* VOID:UINT,POINTER (./gstmarshal.list:20) */
|
||||
|
||||
/* BOOLEAN:VOID (./gstmarshal.list:21) */
|
||||
void
|
||||
gst_marshal_BOOLEAN__VOID (GClosure * closure,
|
||||
GValue * return_value G_GNUC_UNUSED,
|
||||
guint n_param_values,
|
||||
const GValue * param_values,
|
||||
gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data)
|
||||
{
|
||||
typedef gboolean (*GMarshalFunc_BOOLEAN__VOID) (gpointer data1,
|
||||
gpointer data2);
|
||||
register GMarshalFunc_BOOLEAN__VOID callback;
|
||||
register GCClosure *cc = (GCClosure *) closure;
|
||||
register gpointer data1, data2;
|
||||
gboolean v_return;
|
||||
|
||||
g_return_if_fail (return_value != NULL);
|
||||
g_return_if_fail (n_param_values == 1);
|
||||
|
||||
if (G_CCLOSURE_SWAP_DATA (closure)) {
|
||||
data1 = closure->data;
|
||||
data2 = g_value_peek_pointer (param_values + 0);
|
||||
} else {
|
||||
data1 = g_value_peek_pointer (param_values + 0);
|
||||
data2 = closure->data;
|
||||
}
|
||||
callback =
|
||||
(GMarshalFunc_BOOLEAN__VOID) (marshal_data ? marshal_data : cc->callback);
|
||||
|
||||
v_return = callback (data1, data2);
|
||||
|
||||
g_value_set_boolean (return_value, v_return);
|
||||
}
|
||||
|
||||
/* BOOLEAN:POINTER (./gstmarshal.list:22) */
|
||||
void
|
||||
gst_marshal_BOOLEAN__POINTER (GClosure * closure,
|
||||
GValue * return_value G_GNUC_UNUSED,
|
||||
guint n_param_values,
|
||||
const GValue * param_values,
|
||||
gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data)
|
||||
{
|
||||
typedef gboolean (*GMarshalFunc_BOOLEAN__POINTER) (gpointer data1,
|
||||
gpointer arg_1, gpointer data2);
|
||||
register GMarshalFunc_BOOLEAN__POINTER callback;
|
||||
register GCClosure *cc = (GCClosure *) closure;
|
||||
register gpointer data1, data2;
|
||||
gboolean v_return;
|
||||
|
||||
g_return_if_fail (return_value != NULL);
|
||||
g_return_if_fail (n_param_values == 2);
|
||||
|
||||
if (G_CCLOSURE_SWAP_DATA (closure)) {
|
||||
data1 = closure->data;
|
||||
data2 = g_value_peek_pointer (param_values + 0);
|
||||
} else {
|
||||
data1 = g_value_peek_pointer (param_values + 0);
|
||||
data2 = closure->data;
|
||||
}
|
||||
callback =
|
||||
(GMarshalFunc_BOOLEAN__POINTER) (marshal_data ? marshal_data :
|
||||
cc->callback);
|
||||
|
||||
v_return = callback (data1,
|
||||
g_marshal_value_peek_pointer (param_values + 1), data2);
|
||||
|
||||
g_value_set_boolean (return_value, v_return);
|
||||
}
|
||||
|
||||
/* POINTER:POINTER (./gstmarshal.list:23) */
|
||||
void
|
||||
gst_marshal_POINTER__POINTER (GClosure * closure,
|
||||
GValue * return_value G_GNUC_UNUSED,
|
||||
guint n_param_values,
|
||||
const GValue * param_values,
|
||||
gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data)
|
||||
{
|
||||
typedef gpointer (*GMarshalFunc_POINTER__POINTER) (gpointer data1,
|
||||
gpointer arg_1, gpointer data2);
|
||||
register GMarshalFunc_POINTER__POINTER callback;
|
||||
register GCClosure *cc = (GCClosure *) closure;
|
||||
register gpointer data1, data2;
|
||||
gpointer v_return;
|
||||
|
||||
g_return_if_fail (return_value != NULL);
|
||||
g_return_if_fail (n_param_values == 2);
|
||||
|
||||
if (G_CCLOSURE_SWAP_DATA (closure)) {
|
||||
data1 = closure->data;
|
||||
data2 = g_value_peek_pointer (param_values + 0);
|
||||
} else {
|
||||
data1 = g_value_peek_pointer (param_values + 0);
|
||||
data2 = closure->data;
|
||||
}
|
||||
callback =
|
||||
(GMarshalFunc_POINTER__POINTER) (marshal_data ? marshal_data :
|
||||
cc->callback);
|
||||
|
||||
v_return = callback (data1,
|
||||
g_marshal_value_peek_pointer (param_values + 1), data2);
|
||||
|
||||
g_value_set_pointer (return_value, v_return);
|
||||
}
|
||||
|
||||
/* BOXED:BOXED (./gstmarshal.list:24) */
|
||||
void
|
||||
gst_marshal_BOXED__BOXED (GClosure * closure,
|
||||
GValue * return_value G_GNUC_UNUSED,
|
||||
guint n_param_values,
|
||||
const GValue * param_values,
|
||||
gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data)
|
||||
{
|
||||
typedef gpointer (*GMarshalFunc_BOXED__BOXED) (gpointer data1,
|
||||
gpointer arg_1, gpointer data2);
|
||||
register GMarshalFunc_BOXED__BOXED callback;
|
||||
register GCClosure *cc = (GCClosure *) closure;
|
||||
register gpointer data1, data2;
|
||||
gpointer v_return;
|
||||
|
||||
g_return_if_fail (return_value != NULL);
|
||||
g_return_if_fail (n_param_values == 2);
|
||||
|
||||
if (G_CCLOSURE_SWAP_DATA (closure)) {
|
||||
data1 = closure->data;
|
||||
data2 = g_value_peek_pointer (param_values + 0);
|
||||
} else {
|
||||
data1 = g_value_peek_pointer (param_values + 0);
|
||||
data2 = closure->data;
|
||||
}
|
||||
callback =
|
||||
(GMarshalFunc_BOXED__BOXED) (marshal_data ? marshal_data : cc->callback);
|
||||
|
||||
v_return = callback (data1,
|
||||
g_marshal_value_peek_boxed (param_values + 1), data2);
|
||||
|
||||
g_value_take_boxed (return_value, v_return);
|
||||
}
|
164
android/gst/gstmarshal.h
Normal file
164
android/gst/gstmarshal.h
Normal file
|
@ -0,0 +1,164 @@
|
|||
|
||||
#ifndef __gst_marshal_MARSHAL_H__
|
||||
#define __gst_marshal_MARSHAL_H__
|
||||
|
||||
#include <glib-object.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/* VOID:VOID (./gstmarshal.list:1) */
|
||||
#define gst_marshal_VOID__VOID g_cclosure_marshal_VOID__VOID
|
||||
|
||||
/* VOID:BOOLEAN (./gstmarshal.list:2) */
|
||||
#define gst_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN
|
||||
|
||||
/* VOID:INT (./gstmarshal.list:3) */
|
||||
#define gst_marshal_VOID__INT g_cclosure_marshal_VOID__INT
|
||||
|
||||
/* VOID:STRING (./gstmarshal.list:4) */
|
||||
#define gst_marshal_VOID__STRING g_cclosure_marshal_VOID__STRING
|
||||
|
||||
/* VOID:BOXED (./gstmarshal.list:5) */
|
||||
#define gst_marshal_VOID__BOXED g_cclosure_marshal_VOID__BOXED
|
||||
|
||||
/* VOID:BOXED,OBJECT (./gstmarshal.list:6) */
|
||||
extern void gst_marshal_VOID__BOXED_OBJECT (GClosure *closure,
|
||||
GValue *return_value,
|
||||
guint n_param_values,
|
||||
const GValue *param_values,
|
||||
gpointer invocation_hint,
|
||||
gpointer marshal_data);
|
||||
|
||||
/* VOID:POINTER (./gstmarshal.list:7) */
|
||||
#define gst_marshal_VOID__POINTER g_cclosure_marshal_VOID__POINTER
|
||||
|
||||
/* VOID:POINTER,OBJECT (./gstmarshal.list:8) */
|
||||
extern void gst_marshal_VOID__POINTER_OBJECT (GClosure *closure,
|
||||
GValue *return_value,
|
||||
guint n_param_values,
|
||||
const GValue *param_values,
|
||||
gpointer invocation_hint,
|
||||
gpointer marshal_data);
|
||||
|
||||
/* VOID:OBJECT (./gstmarshal.list:9) */
|
||||
#define gst_marshal_VOID__OBJECT g_cclosure_marshal_VOID__OBJECT
|
||||
|
||||
/* VOID:OBJECT,OBJECT (./gstmarshal.list:10) */
|
||||
extern void gst_marshal_VOID__OBJECT_OBJECT (GClosure *closure,
|
||||
GValue *return_value,
|
||||
guint n_param_values,
|
||||
const GValue *param_values,
|
||||
gpointer invocation_hint,
|
||||
gpointer marshal_data);
|
||||
|
||||
/* VOID:OBJECT,PARAM (./gstmarshal.list:11) */
|
||||
extern void gst_marshal_VOID__OBJECT_PARAM (GClosure *closure,
|
||||
GValue *return_value,
|
||||
guint n_param_values,
|
||||
const GValue *param_values,
|
||||
gpointer invocation_hint,
|
||||
gpointer marshal_data);
|
||||
|
||||
/* VOID:OBJECT,POINTER (./gstmarshal.list:12) */
|
||||
extern void gst_marshal_VOID__OBJECT_POINTER (GClosure *closure,
|
||||
GValue *return_value,
|
||||
guint n_param_values,
|
||||
const GValue *param_values,
|
||||
gpointer invocation_hint,
|
||||
gpointer marshal_data);
|
||||
|
||||
/* VOID:OBJECT,BOXED (./gstmarshal.list:13) */
|
||||
extern void gst_marshal_VOID__OBJECT_BOXED (GClosure *closure,
|
||||
GValue *return_value,
|
||||
guint n_param_values,
|
||||
const GValue *param_values,
|
||||
gpointer invocation_hint,
|
||||
gpointer marshal_data);
|
||||
|
||||
/* VOID:OBJECT,BOXED,STRING (./gstmarshal.list:14) */
|
||||
extern void gst_marshal_VOID__OBJECT_BOXED_STRING (GClosure *closure,
|
||||
GValue *return_value,
|
||||
guint n_param_values,
|
||||
const GValue *param_values,
|
||||
gpointer invocation_hint,
|
||||
gpointer marshal_data);
|
||||
|
||||
/* VOID:OBJECT,OBJECT,STRING (./gstmarshal.list:15) */
|
||||
extern void gst_marshal_VOID__OBJECT_OBJECT_STRING (GClosure *closure,
|
||||
GValue *return_value,
|
||||
guint n_param_values,
|
||||
const GValue *param_values,
|
||||
gpointer invocation_hint,
|
||||
gpointer marshal_data);
|
||||
|
||||
/* VOID:OBJECT,STRING (./gstmarshal.list:16) */
|
||||
extern void gst_marshal_VOID__OBJECT_STRING (GClosure *closure,
|
||||
GValue *return_value,
|
||||
guint n_param_values,
|
||||
const GValue *param_values,
|
||||
gpointer invocation_hint,
|
||||
gpointer marshal_data);
|
||||
|
||||
/* VOID:INT,INT (./gstmarshal.list:17) */
|
||||
extern void gst_marshal_VOID__INT_INT (GClosure *closure,
|
||||
GValue *return_value,
|
||||
guint n_param_values,
|
||||
const GValue *param_values,
|
||||
gpointer invocation_hint,
|
||||
gpointer marshal_data);
|
||||
|
||||
/* VOID:INT64 (./gstmarshal.list:18) */
|
||||
extern void gst_marshal_VOID__INT64 (GClosure *closure,
|
||||
GValue *return_value,
|
||||
guint n_param_values,
|
||||
const GValue *param_values,
|
||||
gpointer invocation_hint,
|
||||
gpointer marshal_data);
|
||||
|
||||
/* VOID:UINT,BOXED (./gstmarshal.list:19) */
|
||||
extern void gst_marshal_VOID__UINT_BOXED (GClosure *closure,
|
||||
GValue *return_value,
|
||||
guint n_param_values,
|
||||
const GValue *param_values,
|
||||
gpointer invocation_hint,
|
||||
gpointer marshal_data);
|
||||
|
||||
/* VOID:UINT,POINTER (./gstmarshal.list:20) */
|
||||
#define gst_marshal_VOID__UINT_POINTER g_cclosure_marshal_VOID__UINT_POINTER
|
||||
|
||||
/* BOOLEAN:VOID (./gstmarshal.list:21) */
|
||||
extern void gst_marshal_BOOLEAN__VOID (GClosure *closure,
|
||||
GValue *return_value,
|
||||
guint n_param_values,
|
||||
const GValue *param_values,
|
||||
gpointer invocation_hint,
|
||||
gpointer marshal_data);
|
||||
|
||||
/* BOOLEAN:POINTER (./gstmarshal.list:22) */
|
||||
extern void gst_marshal_BOOLEAN__POINTER (GClosure *closure,
|
||||
GValue *return_value,
|
||||
guint n_param_values,
|
||||
const GValue *param_values,
|
||||
gpointer invocation_hint,
|
||||
gpointer marshal_data);
|
||||
|
||||
/* POINTER:POINTER (./gstmarshal.list:23) */
|
||||
extern void gst_marshal_POINTER__POINTER (GClosure *closure,
|
||||
GValue *return_value,
|
||||
guint n_param_values,
|
||||
const GValue *param_values,
|
||||
gpointer invocation_hint,
|
||||
gpointer marshal_data);
|
||||
|
||||
/* BOXED:BOXED (./gstmarshal.list:24) */
|
||||
extern void gst_marshal_BOXED__BOXED (GClosure *closure,
|
||||
GValue *return_value,
|
||||
guint n_param_values,
|
||||
const GValue *param_values,
|
||||
gpointer invocation_hint,
|
||||
gpointer marshal_data);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __gst_marshal_MARSHAL_H__ */
|
||||
|
88
android/gst/gstversion.h
Normal file
88
android/gst/gstversion.h
Normal file
|
@ -0,0 +1,88 @@
|
|||
/* GStreamer
|
||||
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
|
||||
* 2000 Wim Taymans <wtay@chello.be>
|
||||
*
|
||||
* gstversion.h: Version information for GStreamer
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Library General Public
|
||||
* License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/**
|
||||
* SECTION:gstversion
|
||||
* @short_description: GStreamer version macros.
|
||||
*
|
||||
* Use the GST_VERSION_* macros e.g. when defining own plugins. The GStreamer
|
||||
* runtime checks if these plugin and core version match and refuses to use a
|
||||
* plugin compiled against a different version of GStreamer.
|
||||
* You can also use the macros to keep the GStreamer version information in
|
||||
* your application.
|
||||
*
|
||||
* Use the gst_version() function if you want to know which version of
|
||||
* GStreamer you are currently linked against.
|
||||
*
|
||||
* The version macros get defined by including "gst/gst.h".
|
||||
*/
|
||||
|
||||
#ifndef __GST_VERSION_H__
|
||||
#define __GST_VERSION_H__
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/**
|
||||
* GST_VERSION_MAJOR:
|
||||
*
|
||||
* The major version of GStreamer at compile time:
|
||||
*/
|
||||
#define GST_VERSION_MAJOR (0)
|
||||
/**
|
||||
* GST_VERSION_MINOR:
|
||||
*
|
||||
* The minor version of GStreamer at compile time:
|
||||
*/
|
||||
#define GST_VERSION_MINOR (10)
|
||||
/**
|
||||
* GST_VERSION_MICRO:
|
||||
*
|
||||
* The micro version of GStreamer at compile time:
|
||||
*/
|
||||
#define GST_VERSION_MICRO (26)
|
||||
/**
|
||||
* GST_VERSION_NANO:
|
||||
*
|
||||
* The nano version of GStreamer at compile time:
|
||||
* Actual releases have 0, GIT versions have 1, prerelease versions have 2-...
|
||||
*/
|
||||
#define GST_VERSION_NANO (0)
|
||||
|
||||
/**
|
||||
* GST_CHECK_VERSION:
|
||||
* @major: a number indicating the major version
|
||||
* @minor: a number indicating the minor version
|
||||
* @micro: a number indicating the micro version
|
||||
*
|
||||
* Check whether a GStreamer version equal to or greater than
|
||||
* major.minor.micro is present.
|
||||
*
|
||||
* Since: 0.10.18
|
||||
*/
|
||||
#define GST_CHECK_VERSION(major,minor,micro) \
|
||||
(GST_VERSION_MAJOR > (major) || \
|
||||
(GST_VERSION_MAJOR == (major) && GST_VERSION_MINOR > (minor)) || \
|
||||
(GST_VERSION_MAJOR == (major) && GST_VERSION_MINOR == (minor) && \
|
||||
GST_VERSION_MICRO >= (micro)))
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_VERSION_H__ */
|
759
android/gst/parse/grammar.output
Normal file
759
android/gst/parse/grammar.output
Normal file
|
@ -0,0 +1,759 @@
|
|||
Terminals which are not used
|
||||
|
||||
'.'
|
||||
'!'
|
||||
'='
|
||||
|
||||
|
||||
State 15 conflicts: 7 shift/reduce, 1 reduce/reduce
|
||||
State 22 conflicts: 2 shift/reduce
|
||||
State 23 conflicts: 6 shift/reduce, 1 reduce/reduce
|
||||
State 24 conflicts: 7 shift/reduce, 1 reduce/reduce
|
||||
State 26 conflicts: 6 shift/reduce, 1 reduce/reduce
|
||||
State 27 conflicts: 1 shift/reduce
|
||||
State 28 conflicts: 7 shift/reduce, 1 reduce/reduce
|
||||
State 37 conflicts: 1 shift/reduce
|
||||
|
||||
|
||||
Grammar
|
||||
|
||||
0 $accept: graph $end
|
||||
|
||||
1 element: IDENTIFIER
|
||||
2 | element ASSIGNMENT
|
||||
|
||||
3 assignments: /* empty */
|
||||
4 | assignments ASSIGNMENT
|
||||
|
||||
5 bin: '(' assignments chain ')'
|
||||
6 | BINREF assignments chain ')'
|
||||
7 | BINREF assignments ')'
|
||||
8 | BINREF assignments error ')'
|
||||
|
||||
9 pads: PADREF
|
||||
10 | PADREF padlist
|
||||
|
||||
11 padlist: ',' IDENTIFIER
|
||||
12 | ',' IDENTIFIER padlist
|
||||
|
||||
13 reference: REF
|
||||
14 | REF padlist
|
||||
|
||||
15 linkpart: reference
|
||||
16 | pads
|
||||
17 | /* empty */
|
||||
|
||||
18 link: linkpart LINK linkpart
|
||||
|
||||
19 linklist: link
|
||||
20 | link linklist
|
||||
21 | linklist error
|
||||
|
||||
22 chain: element
|
||||
23 | bin
|
||||
24 | chain chain
|
||||
25 | chain linklist
|
||||
26 | chain error
|
||||
27 | link chain
|
||||
28 | PARSE_URL chain
|
||||
29 | link PARSE_URL
|
||||
|
||||
30 graph: /* empty */
|
||||
31 | chain
|
||||
|
||||
|
||||
Terminals, with rules where they appear
|
||||
|
||||
$end (0) 0
|
||||
'!' (33)
|
||||
'(' (40) 5
|
||||
')' (41) 5 6 7 8
|
||||
',' (44) 11 12
|
||||
'.' (46)
|
||||
'=' (61)
|
||||
error (256) 8 21 26
|
||||
PARSE_URL (258) 28 29
|
||||
IDENTIFIER (259) 1 11 12
|
||||
BINREF (260) 6 7 8
|
||||
PADREF (261) 9 10
|
||||
REF (262) 13 14
|
||||
ASSIGNMENT (263) 2 4
|
||||
LINK (264) 18
|
||||
|
||||
|
||||
Nonterminals, with rules where they appear
|
||||
|
||||
$accept (16)
|
||||
on left: 0
|
||||
element (17)
|
||||
on left: 1 2, on right: 2 22
|
||||
assignments (18)
|
||||
on left: 3 4, on right: 4 5 6 7 8
|
||||
bin (19)
|
||||
on left: 5 6 7 8, on right: 23
|
||||
pads (20)
|
||||
on left: 9 10, on right: 16
|
||||
padlist (21)
|
||||
on left: 11 12, on right: 10 12 14
|
||||
reference (22)
|
||||
on left: 13 14, on right: 15
|
||||
linkpart (23)
|
||||
on left: 15 16 17, on right: 18
|
||||
link (24)
|
||||
on left: 18, on right: 19 20 27 29
|
||||
linklist (25)
|
||||
on left: 19 20 21, on right: 20 21 25
|
||||
chain (26)
|
||||
on left: 22 23 24 25 26 27 28 29, on right: 5 6 24 25 26 27 28
|
||||
31
|
||||
graph (27)
|
||||
on left: 30 31, on right: 0
|
||||
|
||||
|
||||
state 0
|
||||
|
||||
0 $accept: . graph $end
|
||||
|
||||
PARSE_URL shift, and go to state 1
|
||||
IDENTIFIER shift, and go to state 2
|
||||
BINREF shift, and go to state 3
|
||||
PADREF shift, and go to state 4
|
||||
REF shift, and go to state 5
|
||||
'(' shift, and go to state 6
|
||||
|
||||
$end reduce using rule 30 (graph)
|
||||
$default reduce using rule 17 (linkpart)
|
||||
|
||||
element go to state 7
|
||||
bin go to state 8
|
||||
pads go to state 9
|
||||
reference go to state 10
|
||||
linkpart go to state 11
|
||||
link go to state 12
|
||||
chain go to state 13
|
||||
graph go to state 14
|
||||
|
||||
|
||||
state 1
|
||||
|
||||
28 chain: PARSE_URL . chain
|
||||
|
||||
PARSE_URL shift, and go to state 1
|
||||
IDENTIFIER shift, and go to state 2
|
||||
BINREF shift, and go to state 3
|
||||
PADREF shift, and go to state 4
|
||||
REF shift, and go to state 5
|
||||
'(' shift, and go to state 6
|
||||
|
||||
$default reduce using rule 17 (linkpart)
|
||||
|
||||
element go to state 7
|
||||
bin go to state 8
|
||||
pads go to state 9
|
||||
reference go to state 10
|
||||
linkpart go to state 11
|
||||
link go to state 12
|
||||
chain go to state 15
|
||||
|
||||
|
||||
state 2
|
||||
|
||||
1 element: IDENTIFIER .
|
||||
|
||||
$default reduce using rule 1 (element)
|
||||
|
||||
|
||||
state 3
|
||||
|
||||
6 bin: BINREF . assignments chain ')'
|
||||
7 | BINREF . assignments ')'
|
||||
8 | BINREF . assignments error ')'
|
||||
|
||||
$default reduce using rule 3 (assignments)
|
||||
|
||||
assignments go to state 16
|
||||
|
||||
|
||||
state 4
|
||||
|
||||
9 pads: PADREF .
|
||||
10 | PADREF . padlist
|
||||
|
||||
',' shift, and go to state 17
|
||||
|
||||
$default reduce using rule 9 (pads)
|
||||
|
||||
padlist go to state 18
|
||||
|
||||
|
||||
state 5
|
||||
|
||||
13 reference: REF .
|
||||
14 | REF . padlist
|
||||
|
||||
',' shift, and go to state 17
|
||||
|
||||
$default reduce using rule 13 (reference)
|
||||
|
||||
padlist go to state 19
|
||||
|
||||
|
||||
state 6
|
||||
|
||||
5 bin: '(' . assignments chain ')'
|
||||
|
||||
$default reduce using rule 3 (assignments)
|
||||
|
||||
assignments go to state 20
|
||||
|
||||
|
||||
state 7
|
||||
|
||||
2 element: element . ASSIGNMENT
|
||||
22 chain: element .
|
||||
|
||||
ASSIGNMENT shift, and go to state 21
|
||||
|
||||
$default reduce using rule 22 (chain)
|
||||
|
||||
|
||||
state 8
|
||||
|
||||
23 chain: bin .
|
||||
|
||||
$default reduce using rule 23 (chain)
|
||||
|
||||
|
||||
state 9
|
||||
|
||||
16 linkpart: pads .
|
||||
|
||||
$default reduce using rule 16 (linkpart)
|
||||
|
||||
|
||||
state 10
|
||||
|
||||
15 linkpart: reference .
|
||||
|
||||
$default reduce using rule 15 (linkpart)
|
||||
|
||||
|
||||
state 11
|
||||
|
||||
18 link: linkpart . LINK linkpart
|
||||
|
||||
LINK shift, and go to state 22
|
||||
|
||||
|
||||
state 12
|
||||
|
||||
27 chain: link . chain
|
||||
29 | link . PARSE_URL
|
||||
|
||||
PARSE_URL shift, and go to state 23
|
||||
IDENTIFIER shift, and go to state 2
|
||||
BINREF shift, and go to state 3
|
||||
PADREF shift, and go to state 4
|
||||
REF shift, and go to state 5
|
||||
'(' shift, and go to state 6
|
||||
|
||||
$default reduce using rule 17 (linkpart)
|
||||
|
||||
element go to state 7
|
||||
bin go to state 8
|
||||
pads go to state 9
|
||||
reference go to state 10
|
||||
linkpart go to state 11
|
||||
link go to state 12
|
||||
chain go to state 24
|
||||
|
||||
|
||||
state 13
|
||||
|
||||
24 chain: chain . chain
|
||||
25 | chain . linklist
|
||||
26 | chain . error
|
||||
31 graph: chain .
|
||||
|
||||
error shift, and go to state 25
|
||||
PARSE_URL shift, and go to state 1
|
||||
IDENTIFIER shift, and go to state 2
|
||||
BINREF shift, and go to state 3
|
||||
PADREF shift, and go to state 4
|
||||
REF shift, and go to state 5
|
||||
'(' shift, and go to state 6
|
||||
|
||||
$end reduce using rule 31 (graph)
|
||||
LINK reduce using rule 17 (linkpart)
|
||||
|
||||
element go to state 7
|
||||
bin go to state 8
|
||||
pads go to state 9
|
||||
reference go to state 10
|
||||
linkpart go to state 11
|
||||
link go to state 26
|
||||
linklist go to state 27
|
||||
chain go to state 28
|
||||
|
||||
|
||||
state 14
|
||||
|
||||
0 $accept: graph . $end
|
||||
|
||||
$end shift, and go to state 29
|
||||
|
||||
|
||||
state 15
|
||||
|
||||
24 chain: chain . chain
|
||||
25 | chain . linklist
|
||||
26 | chain . error
|
||||
28 | PARSE_URL chain .
|
||||
|
||||
error shift, and go to state 25
|
||||
PARSE_URL shift, and go to state 1
|
||||
IDENTIFIER shift, and go to state 2
|
||||
BINREF shift, and go to state 3
|
||||
PADREF shift, and go to state 4
|
||||
REF shift, and go to state 5
|
||||
'(' shift, and go to state 6
|
||||
|
||||
$end reduce using rule 28 (chain)
|
||||
error [reduce using rule 28 (chain)]
|
||||
PARSE_URL [reduce using rule 28 (chain)]
|
||||
IDENTIFIER [reduce using rule 28 (chain)]
|
||||
BINREF [reduce using rule 28 (chain)]
|
||||
PADREF [reduce using rule 28 (chain)]
|
||||
REF [reduce using rule 28 (chain)]
|
||||
LINK reduce using rule 17 (linkpart)
|
||||
LINK [reduce using rule 28 (chain)]
|
||||
'(' [reduce using rule 28 (chain)]
|
||||
')' reduce using rule 28 (chain)
|
||||
|
||||
element go to state 7
|
||||
bin go to state 8
|
||||
pads go to state 9
|
||||
reference go to state 10
|
||||
linkpart go to state 11
|
||||
link go to state 26
|
||||
linklist go to state 27
|
||||
chain go to state 28
|
||||
|
||||
|
||||
state 16
|
||||
|
||||
4 assignments: assignments . ASSIGNMENT
|
||||
6 bin: BINREF assignments . chain ')'
|
||||
7 | BINREF assignments . ')'
|
||||
8 | BINREF assignments . error ')'
|
||||
|
||||
error shift, and go to state 30
|
||||
PARSE_URL shift, and go to state 1
|
||||
IDENTIFIER shift, and go to state 2
|
||||
BINREF shift, and go to state 3
|
||||
PADREF shift, and go to state 4
|
||||
REF shift, and go to state 5
|
||||
ASSIGNMENT shift, and go to state 31
|
||||
'(' shift, and go to state 6
|
||||
')' shift, and go to state 32
|
||||
|
||||
LINK reduce using rule 17 (linkpart)
|
||||
|
||||
element go to state 7
|
||||
bin go to state 8
|
||||
pads go to state 9
|
||||
reference go to state 10
|
||||
linkpart go to state 11
|
||||
link go to state 12
|
||||
chain go to state 33
|
||||
|
||||
|
||||
state 17
|
||||
|
||||
11 padlist: ',' . IDENTIFIER
|
||||
12 | ',' . IDENTIFIER padlist
|
||||
|
||||
IDENTIFIER shift, and go to state 34
|
||||
|
||||
|
||||
state 18
|
||||
|
||||
10 pads: PADREF padlist .
|
||||
|
||||
$default reduce using rule 10 (pads)
|
||||
|
||||
|
||||
state 19
|
||||
|
||||
14 reference: REF padlist .
|
||||
|
||||
$default reduce using rule 14 (reference)
|
||||
|
||||
|
||||
state 20
|
||||
|
||||
4 assignments: assignments . ASSIGNMENT
|
||||
5 bin: '(' assignments . chain ')'
|
||||
|
||||
PARSE_URL shift, and go to state 1
|
||||
IDENTIFIER shift, and go to state 2
|
||||
BINREF shift, and go to state 3
|
||||
PADREF shift, and go to state 4
|
||||
REF shift, and go to state 5
|
||||
ASSIGNMENT shift, and go to state 31
|
||||
'(' shift, and go to state 6
|
||||
|
||||
$default reduce using rule 17 (linkpart)
|
||||
|
||||
element go to state 7
|
||||
bin go to state 8
|
||||
pads go to state 9
|
||||
reference go to state 10
|
||||
linkpart go to state 11
|
||||
link go to state 12
|
||||
chain go to state 35
|
||||
|
||||
|
||||
state 21
|
||||
|
||||
2 element: element ASSIGNMENT .
|
||||
|
||||
$default reduce using rule 2 (element)
|
||||
|
||||
|
||||
state 22
|
||||
|
||||
18 link: linkpart LINK . linkpart
|
||||
|
||||
PADREF shift, and go to state 4
|
||||
REF shift, and go to state 5
|
||||
|
||||
PADREF [reduce using rule 17 (linkpart)]
|
||||
REF [reduce using rule 17 (linkpart)]
|
||||
$default reduce using rule 17 (linkpart)
|
||||
|
||||
pads go to state 9
|
||||
reference go to state 10
|
||||
linkpart go to state 36
|
||||
|
||||
|
||||
state 23
|
||||
|
||||
28 chain: PARSE_URL . chain
|
||||
29 | link PARSE_URL .
|
||||
|
||||
PARSE_URL shift, and go to state 1
|
||||
IDENTIFIER shift, and go to state 2
|
||||
BINREF shift, and go to state 3
|
||||
PADREF shift, and go to state 4
|
||||
REF shift, and go to state 5
|
||||
'(' shift, and go to state 6
|
||||
|
||||
PARSE_URL [reduce using rule 29 (chain)]
|
||||
IDENTIFIER [reduce using rule 29 (chain)]
|
||||
BINREF [reduce using rule 29 (chain)]
|
||||
PADREF [reduce using rule 29 (chain)]
|
||||
REF [reduce using rule 29 (chain)]
|
||||
LINK reduce using rule 17 (linkpart)
|
||||
LINK [reduce using rule 29 (chain)]
|
||||
'(' [reduce using rule 29 (chain)]
|
||||
$default reduce using rule 29 (chain)
|
||||
|
||||
element go to state 7
|
||||
bin go to state 8
|
||||
pads go to state 9
|
||||
reference go to state 10
|
||||
linkpart go to state 11
|
||||
link go to state 12
|
||||
chain go to state 15
|
||||
|
||||
|
||||
state 24
|
||||
|
||||
24 chain: chain . chain
|
||||
25 | chain . linklist
|
||||
26 | chain . error
|
||||
27 | link chain .
|
||||
|
||||
error shift, and go to state 25
|
||||
PARSE_URL shift, and go to state 1
|
||||
IDENTIFIER shift, and go to state 2
|
||||
BINREF shift, and go to state 3
|
||||
PADREF shift, and go to state 4
|
||||
REF shift, and go to state 5
|
||||
'(' shift, and go to state 6
|
||||
|
||||
$end reduce using rule 27 (chain)
|
||||
error [reduce using rule 27 (chain)]
|
||||
PARSE_URL [reduce using rule 27 (chain)]
|
||||
IDENTIFIER [reduce using rule 27 (chain)]
|
||||
BINREF [reduce using rule 27 (chain)]
|
||||
PADREF [reduce using rule 27 (chain)]
|
||||
REF [reduce using rule 27 (chain)]
|
||||
LINK reduce using rule 17 (linkpart)
|
||||
LINK [reduce using rule 27 (chain)]
|
||||
'(' [reduce using rule 27 (chain)]
|
||||
')' reduce using rule 27 (chain)
|
||||
|
||||
element go to state 7
|
||||
bin go to state 8
|
||||
pads go to state 9
|
||||
reference go to state 10
|
||||
linkpart go to state 11
|
||||
link go to state 26
|
||||
linklist go to state 27
|
||||
chain go to state 28
|
||||
|
||||
|
||||
state 25
|
||||
|
||||
26 chain: chain error .
|
||||
|
||||
$default reduce using rule 26 (chain)
|
||||
|
||||
|
||||
state 26
|
||||
|
||||
19 linklist: link .
|
||||
20 | link . linklist
|
||||
27 chain: link . chain
|
||||
29 | link . PARSE_URL
|
||||
|
||||
PARSE_URL shift, and go to state 23
|
||||
IDENTIFIER shift, and go to state 2
|
||||
BINREF shift, and go to state 3
|
||||
PADREF shift, and go to state 4
|
||||
REF shift, and go to state 5
|
||||
'(' shift, and go to state 6
|
||||
|
||||
PARSE_URL [reduce using rule 19 (linklist)]
|
||||
IDENTIFIER [reduce using rule 19 (linklist)]
|
||||
BINREF [reduce using rule 19 (linklist)]
|
||||
PADREF [reduce using rule 19 (linklist)]
|
||||
REF [reduce using rule 19 (linklist)]
|
||||
LINK reduce using rule 17 (linkpart)
|
||||
LINK [reduce using rule 19 (linklist)]
|
||||
'(' [reduce using rule 19 (linklist)]
|
||||
$default reduce using rule 19 (linklist)
|
||||
|
||||
element go to state 7
|
||||
bin go to state 8
|
||||
pads go to state 9
|
||||
reference go to state 10
|
||||
linkpart go to state 11
|
||||
link go to state 26
|
||||
linklist go to state 37
|
||||
chain go to state 24
|
||||
|
||||
|
||||
state 27
|
||||
|
||||
21 linklist: linklist . error
|
||||
25 chain: chain linklist .
|
||||
|
||||
error shift, and go to state 38
|
||||
|
||||
$end reduce using rule 25 (chain)
|
||||
error [reduce using rule 25 (chain)]
|
||||
PARSE_URL reduce using rule 25 (chain)
|
||||
IDENTIFIER reduce using rule 25 (chain)
|
||||
BINREF reduce using rule 25 (chain)
|
||||
PADREF reduce using rule 25 (chain)
|
||||
REF reduce using rule 25 (chain)
|
||||
LINK reduce using rule 25 (chain)
|
||||
'(' reduce using rule 25 (chain)
|
||||
')' reduce using rule 25 (chain)
|
||||
|
||||
|
||||
state 28
|
||||
|
||||
24 chain: chain . chain
|
||||
24 | chain chain .
|
||||
25 | chain . linklist
|
||||
26 | chain . error
|
||||
|
||||
error shift, and go to state 25
|
||||
PARSE_URL shift, and go to state 1
|
||||
IDENTIFIER shift, and go to state 2
|
||||
BINREF shift, and go to state 3
|
||||
PADREF shift, and go to state 4
|
||||
REF shift, and go to state 5
|
||||
'(' shift, and go to state 6
|
||||
|
||||
$end reduce using rule 24 (chain)
|
||||
error [reduce using rule 24 (chain)]
|
||||
PARSE_URL [reduce using rule 24 (chain)]
|
||||
IDENTIFIER [reduce using rule 24 (chain)]
|
||||
BINREF [reduce using rule 24 (chain)]
|
||||
PADREF [reduce using rule 24 (chain)]
|
||||
REF [reduce using rule 24 (chain)]
|
||||
LINK reduce using rule 17 (linkpart)
|
||||
LINK [reduce using rule 24 (chain)]
|
||||
'(' [reduce using rule 24 (chain)]
|
||||
')' reduce using rule 24 (chain)
|
||||
|
||||
element go to state 7
|
||||
bin go to state 8
|
||||
pads go to state 9
|
||||
reference go to state 10
|
||||
linkpart go to state 11
|
||||
link go to state 26
|
||||
linklist go to state 27
|
||||
chain go to state 28
|
||||
|
||||
|
||||
state 29
|
||||
|
||||
0 $accept: graph $end .
|
||||
|
||||
$default accept
|
||||
|
||||
|
||||
state 30
|
||||
|
||||
8 bin: BINREF assignments error . ')'
|
||||
|
||||
')' shift, and go to state 39
|
||||
|
||||
|
||||
state 31
|
||||
|
||||
4 assignments: assignments ASSIGNMENT .
|
||||
|
||||
$default reduce using rule 4 (assignments)
|
||||
|
||||
|
||||
state 32
|
||||
|
||||
7 bin: BINREF assignments ')' .
|
||||
|
||||
$default reduce using rule 7 (bin)
|
||||
|
||||
|
||||
state 33
|
||||
|
||||
6 bin: BINREF assignments chain . ')'
|
||||
24 chain: chain . chain
|
||||
25 | chain . linklist
|
||||
26 | chain . error
|
||||
|
||||
error shift, and go to state 25
|
||||
PARSE_URL shift, and go to state 1
|
||||
IDENTIFIER shift, and go to state 2
|
||||
BINREF shift, and go to state 3
|
||||
PADREF shift, and go to state 4
|
||||
REF shift, and go to state 5
|
||||
'(' shift, and go to state 6
|
||||
')' shift, and go to state 40
|
||||
|
||||
LINK reduce using rule 17 (linkpart)
|
||||
|
||||
element go to state 7
|
||||
bin go to state 8
|
||||
pads go to state 9
|
||||
reference go to state 10
|
||||
linkpart go to state 11
|
||||
link go to state 26
|
||||
linklist go to state 27
|
||||
chain go to state 28
|
||||
|
||||
|
||||
state 34
|
||||
|
||||
11 padlist: ',' IDENTIFIER .
|
||||
12 | ',' IDENTIFIER . padlist
|
||||
|
||||
',' shift, and go to state 17
|
||||
|
||||
$default reduce using rule 11 (padlist)
|
||||
|
||||
padlist go to state 41
|
||||
|
||||
|
||||
state 35
|
||||
|
||||
5 bin: '(' assignments chain . ')'
|
||||
24 chain: chain . chain
|
||||
25 | chain . linklist
|
||||
26 | chain . error
|
||||
|
||||
error shift, and go to state 25
|
||||
PARSE_URL shift, and go to state 1
|
||||
IDENTIFIER shift, and go to state 2
|
||||
BINREF shift, and go to state 3
|
||||
PADREF shift, and go to state 4
|
||||
REF shift, and go to state 5
|
||||
'(' shift, and go to state 6
|
||||
')' shift, and go to state 42
|
||||
|
||||
LINK reduce using rule 17 (linkpart)
|
||||
|
||||
element go to state 7
|
||||
bin go to state 8
|
||||
pads go to state 9
|
||||
reference go to state 10
|
||||
linkpart go to state 11
|
||||
link go to state 26
|
||||
linklist go to state 27
|
||||
chain go to state 28
|
||||
|
||||
|
||||
state 36
|
||||
|
||||
18 link: linkpart LINK linkpart .
|
||||
|
||||
$default reduce using rule 18 (link)
|
||||
|
||||
|
||||
state 37
|
||||
|
||||
20 linklist: link linklist .
|
||||
21 | linklist . error
|
||||
|
||||
error shift, and go to state 38
|
||||
|
||||
$end reduce using rule 20 (linklist)
|
||||
error [reduce using rule 20 (linklist)]
|
||||
PARSE_URL reduce using rule 20 (linklist)
|
||||
IDENTIFIER reduce using rule 20 (linklist)
|
||||
BINREF reduce using rule 20 (linklist)
|
||||
PADREF reduce using rule 20 (linklist)
|
||||
REF reduce using rule 20 (linklist)
|
||||
LINK reduce using rule 20 (linklist)
|
||||
'(' reduce using rule 20 (linklist)
|
||||
')' reduce using rule 20 (linklist)
|
||||
|
||||
|
||||
state 38
|
||||
|
||||
21 linklist: linklist error .
|
||||
|
||||
$default reduce using rule 21 (linklist)
|
||||
|
||||
|
||||
state 39
|
||||
|
||||
8 bin: BINREF assignments error ')' .
|
||||
|
||||
$default reduce using rule 8 (bin)
|
||||
|
||||
|
||||
state 40
|
||||
|
||||
6 bin: BINREF assignments chain ')' .
|
||||
|
||||
$default reduce using rule 6 (bin)
|
||||
|
||||
|
||||
state 41
|
||||
|
||||
12 padlist: ',' IDENTIFIER padlist .
|
||||
|
||||
$default reduce using rule 12 (padlist)
|
||||
|
||||
|
||||
state 42
|
||||
|
||||
5 bin: '(' assignments chain ')' .
|
||||
|
||||
$default reduce using rule 5 (bin)
|
2403
android/gst/parse/grammar.tab.c
Normal file
2403
android/gst/parse/grammar.tab.c
Normal file
File diff suppressed because it is too large
Load diff
72
android/gst/parse/grammar.tab.h
Normal file
72
android/gst/parse/grammar.tab.h
Normal file
|
@ -0,0 +1,72 @@
|
|||
/* A Bison parser, made by GNU Bison 1.875d. */
|
||||
|
||||
/* Skeleton parser for Yacc-like parsing with Bison,
|
||||
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2, or (at your option)
|
||||
any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* As a special exception, when this file is copied by Bison into a
|
||||
Bison output file, you may use that output file without restriction.
|
||||
This special exception was added by the Free Software Foundation
|
||||
in version 1.24 of Bison. */
|
||||
|
||||
/* Tokens. */
|
||||
#ifndef YYTOKENTYPE
|
||||
# define YYTOKENTYPE
|
||||
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
||||
know about them. */
|
||||
enum yytokentype {
|
||||
PARSE_URL = 258,
|
||||
IDENTIFIER = 259,
|
||||
BINREF = 260,
|
||||
PADREF = 261,
|
||||
REF = 262,
|
||||
ASSIGNMENT = 263,
|
||||
LINK = 264
|
||||
};
|
||||
#endif
|
||||
#define PARSE_URL 258
|
||||
#define IDENTIFIER 259
|
||||
#define BINREF 260
|
||||
#define PADREF 261
|
||||
#define REF 262
|
||||
#define ASSIGNMENT 263
|
||||
#define LINK 264
|
||||
|
||||
|
||||
|
||||
|
||||
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
|
||||
#line 566 "./grammar.y"
|
||||
typedef union YYSTYPE {
|
||||
gchar *s;
|
||||
chain_t *c;
|
||||
link_t *l;
|
||||
GstElement *e;
|
||||
GSList *p;
|
||||
graph_t *g;
|
||||
} YYSTYPE;
|
||||
/* Line 1241 of yacc.c. */
|
||||
#line 64 "grammar.tab.h"
|
||||
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
||||
# define YYSTYPE_IS_DECLARED 1
|
||||
# define YYSTYPE_IS_TRIVIAL 1
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
2473
android/gst/parse/lex._gst_parse_yy.c
Normal file
2473
android/gst/parse/lex._gst_parse_yy.c
Normal file
File diff suppressed because it is too large
Load diff
54
android/indexers.mk
Normal file
54
android/indexers.mk
Normal file
|
@ -0,0 +1,54 @@
|
|||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
|
||||
GST_MAJORMINOR:= 0.10
|
||||
|
||||
indexers_LOCAL_SRC_FILES:= \
|
||||
plugins/indexers/gstindexers.c \
|
||||
plugins/indexers/gstmemindex.c \
|
||||
plugins/indexers/gstfileindex.c
|
||||
|
||||
LOCAL_SRC_FILES:= $(addprefix ../,$(indexers_LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libxml2
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libgstbase-0.10 \
|
||||
libgstreamer-0.10 \
|
||||
libglib-2.0 \
|
||||
libgthread-2.0 \
|
||||
libgmodule-2.0 \
|
||||
libgobject-2.0
|
||||
|
||||
LOCAL_MODULE:= libgstcoreindexers
|
||||
#It's a gstreamer plugins, and it must be installed on ..../lib/gstreamer-0.10
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT)/lib/gstreamer-0.10
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(LOCAL_PATH)/.. \
|
||||
$(LOCAL_PATH)/../libs \
|
||||
$(LOCAL_PATH)/../gst \
|
||||
$(LOCAL_PATH) \
|
||||
$(LOCAL_PATH)/gst \
|
||||
$(LOCAL_PATH)/gst/parse \
|
||||
$(TARGET_OUT_HEADERS)/glib-2.0 \
|
||||
$(TARGET_OUT_HEADERS)/glib-2.0/glib \
|
||||
external/libxml2/include
|
||||
|
||||
ifeq ($(STECONF_ANDROID_VERSION),"FROYO")
|
||||
LOCAL_SHARED_LIBRARIES += libicuuc
|
||||
LOCAL_C_INCLUDES += external/icu4c/common
|
||||
endif
|
||||
|
||||
LOCAL_CFLAGS := -DHAVE_CONFIG_H
|
||||
#
|
||||
# define LOCAL_PRELINK_MODULE to false to not use pre-link map
|
||||
#
|
||||
LOCAL_PRELINK_MODULE := false
|
||||
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
57
android/net.mk
Normal file
57
android/net.mk
Normal file
|
@ -0,0 +1,57 @@
|
|||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
gst_net_COPY_HEADERS_TO := gstreamer-0.10/gst/net
|
||||
gst_net_COPY_HEADERS := \
|
||||
../libs/gst/net/gstnet.h \
|
||||
../libs/gst/net/gstnetclientclock.h \
|
||||
../libs/gst/net/gstnettimepacket.h \
|
||||
../libs/gst/net/gstnettimeprovider.h
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
|
||||
GST_MAJORMINOR:= 0.10
|
||||
|
||||
net_LOCAL_SRC_FILES:= \
|
||||
libs/gst/net/gstnetclientclock.c \
|
||||
libs/gst/net/gstnettimepacket.c \
|
||||
libs/gst/net/gstnettimeprovider.c
|
||||
|
||||
LOCAL_SRC_FILES:= $(addprefix ../,$(net_LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libgstreamer-0.10 \
|
||||
libglib-2.0 \
|
||||
libgthread-2.0 \
|
||||
libgmodule-2.0 \
|
||||
libgobject-2.0
|
||||
|
||||
LOCAL_MODULE:= libgstnet-$(GST_MAJORMINOR)
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(LOCAL_PATH)/../libs \
|
||||
$(LOCAL_PATH)/.. \
|
||||
$(LOCAL_PATH)/../gst \
|
||||
$(LOCAL_PATH)/ \
|
||||
$(LOCAL_PATH)/gst \
|
||||
$(LOCAL_PATH)/gst/parse \
|
||||
$(TARGET_OUT_HEADERS)/glib-2.0 \
|
||||
$(TARGET_OUT_HEADERS)/glib-2.0/glib \
|
||||
external/libxml2/include
|
||||
|
||||
ifeq ($(STECONF_ANDROID_VERSION),"FROYO")
|
||||
LOCAL_SHARED_LIBRARIES += libicuuc
|
||||
LOCAL_C_INCLUDES += external/icu4c/common
|
||||
endif
|
||||
|
||||
LOCAL_CFLAGS := -DHAVE_CONFIG_H
|
||||
#
|
||||
# define LOCAL_PRELINK_MODULE to false to not use pre-link map
|
||||
#
|
||||
LOCAL_PRELINK_MODULE := false
|
||||
|
||||
LOCAL_COPY_HEADERS_TO := $(gst_net_COPY_HEADERS_TO)
|
||||
LOCAL_COPY_HEADERS := $(gst_net_COPY_HEADERS)
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
9
android/tools.mk
Normal file
9
android/tools.mk
Normal file
|
@ -0,0 +1,9 @@
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
GSTREAMER_TOP := $(LOCAL_PATH)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
include $(GSTREAMER_TOP)/gst-inspect.mk
|
||||
include $(GSTREAMER_TOP)/gst-launch.mk
|
||||
include $(GSTREAMER_TOP)/gst-plugin-scanner.mk
|
Loading…
Reference in a new issue