6 |
7 | and the rest of the Xiph.Org Foundation.
8 |
--------------------------------------------------------------------------------
/project/libogg/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 |
4 | #AUTOMAKE_OPTIONS = foreign 1.6 dist-zip
5 | AUTOMAKE_OPTIONS = foreign 1.11 dist-zip dist-xz
6 |
7 | SUBDIRS = src include doc
8 |
9 | m4datadir = $(datadir)/aclocal
10 | m4data_DATA = ogg.m4
11 |
12 | pkgconfigdir = $(libdir)/pkgconfig
13 | pkgconfig_DATA = ogg.pc
14 |
15 | EXTRA_DIST = README AUTHORS CHANGES COPYING \
16 | libogg.spec libogg.spec.in \
17 | ogg.m4 ogg.pc.in ogg-uninstalled.pc.in \
18 | macosx win32
19 |
20 | dist-hook:
21 | for item in $(EXTRA_DIST); do \
22 | if test -d $$item; then \
23 | echo -n "cleaning dir $$item for distribution..."; \
24 | rm -rf `find $(distdir)/$$item -name .svn`; \
25 | echo "OK"; \
26 | fi; \
27 | done
28 | debug:
29 | $(MAKE) all CFLAGS="@DEBUG@"
30 |
31 | profile:
32 | $(MAKE) all CFLAGS="@PROFILE@"
33 |
--------------------------------------------------------------------------------
/project/libogg/doc/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this with automake to create Makefile.in
2 |
3 | SUBDIRS = libogg
4 |
5 | docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
6 |
7 | doc_DATA = framing.html index.html oggstream.html ogg-multiplex.html \
8 | stream.png vorbisword2.png white-ogg.png white-xifish.png \
9 | rfc3533.txt rfc5334.txt skeleton.html
10 |
11 | EXTRA_DIST = $(doc_DATA)
12 |
--------------------------------------------------------------------------------
/project/libogg/doc/libogg/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | libogg - Documentation
5 |
6 |
7 |
8 |
9 |
10 |
11 | libogg documentation |
12 | libogg release 1.3.0 - 20110804 |
13 |
14 |
15 |
16 | Libogg Documentation
17 |
18 |
19 | Libogg contains necessary functionality to create, decode, and work with Ogg bitstreams.
20 |
This document explains how to use the libogg API in detail.
21 |
22 | libogg api overview
23 | libogg api reference
24 |
25 |
26 |
27 |
28 |
29 | copyright © 2000-2011 Xiph.Org |
30 | Ogg Container Format |
31 |
32 | libogg documentation |
33 | libogg release 1.3.0 - 20110804 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/project/libogg/doc/libogg/overview.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | libogg - API Overview
5 |
6 |
7 |
8 |
9 |
10 |
11 | libogg documentation |
12 | libogg release 1.3.0 - 20110804 |
13 |
14 |
15 |
16 | Libogg API Overview
17 |
18 |
19 | The libogg API consists of the following functional categories:
20 |
21 |
29 |
30 |
31 |
32 |
33 |
34 | copyright © 2000-2011 Xiph.Org |
35 | Ogg Container Format |
36 |
37 | libogg documentation |
38 | libogg release 1.3.0 - 20110804 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/project/libogg/doc/libogg/style.css:
--------------------------------------------------------------------------------
1 | BODY { font-family: Helvetica, sans-serif }
2 | TD { font-family: Helvetica, sans-serif }
3 | P { font-family: Helvetica, sans-serif }
4 | H1 { font-family: Helvetica, sans-serif }
5 | H2 { font-family: Helvetica, sans-serif }
6 | H4 { font-family: Helvetica, sans-serif }
7 | P.tiny { font-size: 8pt }
8 |
--------------------------------------------------------------------------------
/project/libogg/doc/stream.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libogg/doc/stream.png
--------------------------------------------------------------------------------
/project/libogg/doc/vorbisword2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libogg/doc/vorbisword2.png
--------------------------------------------------------------------------------
/project/libogg/doc/white-ogg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libogg/doc/white-ogg.png
--------------------------------------------------------------------------------
/project/libogg/doc/white-xifish.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libogg/doc/white-xifish.png
--------------------------------------------------------------------------------
/project/libogg/include/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 | SUBDIRS = ogg
4 |
--------------------------------------------------------------------------------
/project/libogg/include/ogg/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 | oggincludedir = $(includedir)/ogg
4 |
5 | ogginclude_HEADERS = ogg.h os_types.h
6 | nodist_ogginclude_HEADERS = config_types.h
7 |
--------------------------------------------------------------------------------
/project/libogg/include/ogg/config_types.h:
--------------------------------------------------------------------------------
1 | #ifndef __CONFIG_TYPES_H__
2 | #define __CONFIG_TYPES_H__
3 |
4 | /* these are filled in by configure */
5 | #define INCLUDE_INTTYPES_H 1
6 | #define INCLUDE_STDINT_H 1
7 | #define INCLUDE_SYS_TYPES_H 1
8 |
9 | #if INCLUDE_INTTYPES_H
10 | # include
11 | #endif
12 | #if INCLUDE_STDINT_H
13 | # include
14 | #endif
15 | #if INCLUDE_SYS_TYPES_H
16 | # include
17 | #endif
18 |
19 | typedef short ogg_int16_t;
20 | typedef unsigned short ogg_uint16_t;
21 | typedef int ogg_int32_t;
22 | typedef unsigned int ogg_uint32_t;
23 | typedef long long ogg_int64_t;
24 |
25 | #endif
26 |
--------------------------------------------------------------------------------
/project/libogg/include/ogg/config_types.h.in:
--------------------------------------------------------------------------------
1 | #ifndef __CONFIG_TYPES_H__
2 | #define __CONFIG_TYPES_H__
3 |
4 | /* these are filled in by configure */
5 | #define INCLUDE_INTTYPES_H @INCLUDE_INTTYPES_H@
6 | #define INCLUDE_STDINT_H @INCLUDE_STDINT_H@
7 | #define INCLUDE_SYS_TYPES_H @INCLUDE_SYS_TYPES_H@
8 |
9 | #if INCLUDE_INTTYPES_H
10 | # include
11 | #endif
12 | #if INCLUDE_STDINT_H
13 | # include
14 | #endif
15 | #if INCLUDE_SYS_TYPES_H
16 | # include
17 | #endif
18 |
19 | typedef @SIZE16@ ogg_int16_t;
20 | typedef @USIZE16@ ogg_uint16_t;
21 | typedef @SIZE32@ ogg_int32_t;
22 | typedef @USIZE32@ ogg_uint32_t;
23 | typedef @SIZE64@ ogg_int64_t;
24 |
25 | #endif
26 |
--------------------------------------------------------------------------------
/project/libogg/macosx/English.lproj/InfoPlist.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libogg/macosx/English.lproj/InfoPlist.strings
--------------------------------------------------------------------------------
/project/libogg/macosx/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | English
7 | CFBundleExecutable
8 | Ogg
9 | CFBundleGetInfoString
10 | Ogg framework 1.1.4, Copyright © 1994-2009 Xiph.Org Foundation
11 | CFBundleIconFile
12 |
13 | CFBundleIdentifier
14 | org.xiph.ogg
15 | CFBundleInfoDictionaryVersion
16 | 6.0
17 | CFBundlePackageType
18 | FMWK
19 | CFBundleShortVersionString
20 | 1.1.4
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | 1.1.4
25 | NSHumanReadableCopyright
26 | Ogg framework 1.1.4, Copyright © 1994-2009 Xiph.Org Foundation
27 | CSResourcesFileMapped
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/project/libogg/macosx/Ogg_Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header for all source files of the 'Ogg' target in the 'Ogg' project.
3 | //
4 |
5 | #include
6 |
--------------------------------------------------------------------------------
/project/libogg/ogg-uninstalled.pc.in:
--------------------------------------------------------------------------------
1 | # ogg uninstalled pkg-config file
2 |
3 | prefix=
4 | exec_prefix=
5 | libdir=${pcfiledir}/src
6 | includedir=${pcfiledir}/include
7 |
8 | Name: ogg
9 | Description: ogg is a library for manipulating ogg bitstreams (not installed)
10 | Version: @VERSION@
11 | Requires:
12 | Conflicts:
13 | Libs: ${libdir}/libogg.la
14 | Cflags: -I${includedir}
15 |
--------------------------------------------------------------------------------
/project/libogg/ogg.pc.in:
--------------------------------------------------------------------------------
1 | # ogg pkg-config file
2 |
3 | prefix=@prefix@
4 | exec_prefix=@exec_prefix@
5 | libdir=@libdir@
6 | includedir=@includedir@
7 |
8 | Name: ogg
9 | Description: ogg is a library for manipulating ogg bitstreams
10 | Version: @VERSION@
11 | Requires:
12 | Conflicts:
13 | Libs: -L${libdir} -logg
14 | Cflags: -I${includedir}
15 |
--------------------------------------------------------------------------------
/project/libogg/src/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 | INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include
4 |
5 | lib_LTLIBRARIES = libogg.la
6 |
7 | libogg_la_SOURCES = framing.c bitwise.c
8 | libogg_la_LDFLAGS = -no-undefined -version-info @LIB_CURRENT@:@LIB_REVISION@:@LIB_AGE@
9 |
10 | # build and run the self tests on 'make check'
11 |
12 | noinst_PROGRAMS = test_bitwise test_framing
13 |
14 | test_bitwise_SOURCES = bitwise.c
15 | test_bitwise_CFLAGS = -D_V_SELFTEST
16 |
17 | test_framing_SOURCES = framing.c
18 | test_framing_CFLAGS = -D_V_SELFTEST
19 |
20 | check: $(noinst_PROGRAMS)
21 | ./test_bitwise$(EXEEXT)
22 | ./test_framing$(EXEEXT)
23 |
24 | debug:
25 | $(MAKE) all CFLAGS="@DEBUG@"
26 |
27 | profile:
28 | $(MAKE) all CFLAGS="@PROFILE@"
29 |
--------------------------------------------------------------------------------
/project/libogg/win32/VS6/build_ogg_dynamic.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | echo ---+++--- Building Ogg (Dynamic) ---+++---
3 |
4 | if .%SRCROOT%==. set SRCROOT=i:\xiph
5 |
6 | set OLDPATH=%PATH%
7 | set OLDINCLUDE=%INCLUDE%
8 | set OLDLIB=%LIB%
9 |
10 | call "c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat"
11 | echo Setting include paths for Ogg
12 | set INCLUDE=%INCLUDE%;%SRCROOT%\ogg\include
13 | echo Compiling...
14 | msdev ogg_dynamic.dsp /useenv /make "ogg_dynamic - Win32 Release" /rebuild
15 |
16 | set PATH=%OLDPATH%
17 | set INCLUDE=%OLDINCLUDE%
18 | set LIB=%OLDLIB%
19 |
--------------------------------------------------------------------------------
/project/libogg/win32/VS6/build_ogg_dynamic_debug.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | echo ---+++--- Building Ogg (Dynamic) ---+++---
3 |
4 | if .%SRCROOT%==. set SRCROOT=i:\xiph
5 |
6 | set OLDPATH=%PATH%
7 | set OLDINCLUDE=%INCLUDE%
8 | set OLDLIB=%LIB%
9 |
10 | call "c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat"
11 | echo Setting include paths for Ogg
12 | set INCLUDE=%INCLUDE%;%SRCROOT%\ogg\include
13 | echo Compiling...
14 | msdev ogg_dynamic.dsp /useenv /make "ogg_dynamic - Win32 Debug" /rebuild
15 |
16 | set PATH=%OLDPATH%
17 | set INCLUDE=%OLDINCLUDE%
18 | set LIB=%OLDLIB%
19 |
--------------------------------------------------------------------------------
/project/libogg/win32/VS6/build_ogg_static.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | echo ---+++--- Building Ogg (Static) ---+++---
3 |
4 | if .%SRCROOT%==. set SRCROOT=i:\xiph
5 |
6 | set OLDPATH=%PATH%
7 | set OLDINCLUDE=%INCLUDE%
8 | set OLDLIB=%LIB%
9 |
10 | call "c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat"
11 | echo Setting include paths for Ogg
12 | set INCLUDE=%INCLUDE%;%SRCROOT%\ogg\include
13 | echo Compiling...
14 | msdev ogg_static.dsp /useenv /make "ogg_static - Win32 Release" /rebuild
15 |
16 | set PATH=%OLDPATH%
17 | set INCLUDE=%OLDINCLUDE%
18 | set LIB=%OLDLIB%
19 |
--------------------------------------------------------------------------------
/project/libogg/win32/VS6/build_ogg_static_debug.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | echo ---+++--- Building Ogg (Static) ---+++---
3 |
4 | if .%SRCROOT%==. set SRCROOT=i:\xiph
5 |
6 | set OLDPATH=%PATH%
7 | set OLDINCLUDE=%INCLUDE%
8 | set OLDLIB=%LIB%
9 |
10 | call "c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat"
11 | echo Setting include paths for Ogg
12 | set INCLUDE=%INCLUDE%;%SRCROOT%\ogg\include
13 | echo Compiling...
14 | msdev ogg_static.dsp /useenv /make "ogg_static - Win32 Debug" /rebuild
15 |
16 | set PATH=%OLDPATH%
17 | set INCLUDE=%OLDINCLUDE%
18 | set LIB=%OLDLIB%
19 |
--------------------------------------------------------------------------------
/project/libogg/win32/VS6/ogg.dsw:
--------------------------------------------------------------------------------
1 | Microsoft Developer Studio Workspace File, Format Version 6.00
2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
3 |
4 | ###############################################################################
5 |
6 | Project: "ogg_dynamic"=.\ogg_dynamic.dsp - Package Owner=<4>
7 |
8 | Package=<5>
9 | {{{
10 | }}}
11 |
12 | Package=<4>
13 | {{{
14 | }}}
15 |
16 | ###############################################################################
17 |
18 | Project: "ogg_static"=.\ogg_static.dsp - Package Owner=<4>
19 |
20 | Package=<5>
21 | {{{
22 | }}}
23 |
24 | Package=<4>
25 | {{{
26 | }}}
27 |
28 | ###############################################################################
29 |
30 | Global:
31 |
32 | Package=<5>
33 | {{{
34 | }}}
35 |
36 | Package=<3>
37 | {{{
38 | }}}
39 |
40 | ###############################################################################
41 |
42 |
--------------------------------------------------------------------------------
/project/libvorbis/AUTHORS:
--------------------------------------------------------------------------------
1 | Monty
2 |
3 | and the rest of the Xiph.org Foundation.
4 |
--------------------------------------------------------------------------------
/project/libvorbis/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 | #AUTOMAKE_OPTIONS = 1.7 foreign dist-zip dist-bzip2
4 | AUTOMAKE_OPTIONS = foreign 1.11 dist-zip dist-xz
5 |
6 | SUBDIRS = m4 include vq lib test doc
7 |
8 | if BUILD_EXAMPLES
9 | SUBDIRS += examples
10 | endif
11 |
12 | m4datadir = $(datadir)/aclocal
13 | m4data_DATA = vorbis.m4
14 |
15 | pkgconfigdir = $(libdir)/pkgconfig
16 | pkgconfig_DATA = vorbis.pc vorbisenc.pc vorbisfile.pc
17 |
18 | EXTRA_DIST = \
19 | CHANGES COPYING \
20 | todo.txt autogen.sh \
21 | libvorbis.spec libvorbis.spec.in \
22 | vorbis.m4 \
23 | vorbis.pc.in vorbisenc.pc.in vorbisfile.pc.in \
24 | vorbis-uninstalled.pc.in \
25 | vorbisenc-uninstalled.pc.in \
26 | vorbisfile-uninstalled.pc.in \
27 | symbian \
28 | macos macosx win32
29 |
30 |
31 | DISTCHECK_CONFIGURE_FLAGS = --enable-docs
32 |
33 | dist-hook:
34 | for item in $(EXTRA_DIST); do \
35 | if test -d $$item; then \
36 | echo -n "cleaning $$item dir for distribution..."; \
37 | rm -rf `find $(distdir)/$$item -name .svn`; \
38 | echo "OK"; \
39 | fi; \
40 | done
41 |
42 | debug:
43 | $(MAKE) all CFLAGS="@DEBUG@"
44 |
45 | profile:
46 | $(MAKE) all CFLAGS="@PROFILE@"
47 |
--------------------------------------------------------------------------------
/project/libvorbis/doc/Vorbis_I_spec.cfg:
--------------------------------------------------------------------------------
1 | \Preamble{html}
2 | \begin{document}
3 | \DeclareGraphicsExtensions{.png}
4 | \EndPreamble
5 |
--------------------------------------------------------------------------------
/project/libvorbis/doc/Vorbis_I_spec.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/Vorbis_I_spec.html
--------------------------------------------------------------------------------
/project/libvorbis/doc/Vorbis_I_spec.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/Vorbis_I_spec.pdf
--------------------------------------------------------------------------------
/project/libvorbis/doc/a2-encapsulation-rtp.tex:
--------------------------------------------------------------------------------
1 | % -*- mode: latex; TeX-master: "Vorbis_I_spec"; -*-
2 | %!TEX root = Vorbis_I_spec.tex
3 | % $Id$
4 | \section{Vorbis encapsulation in RTP} \label{vorbis:over:rtp}
5 |
6 | % TODO: Include draft-rtp.xml somehow?
7 |
8 | Please consult RFC 5215 \textit{``RTP Payload Format for Vorbis Encoded
9 | Audio''} for description of how to embed Vorbis audio in an RTP stream.
10 |
--------------------------------------------------------------------------------
/project/libvorbis/doc/components.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/components.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/eightphase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/eightphase.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/evenlsp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/evenlsp.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/fish_xiph_org.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/fish_xiph_org.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/floor1-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/floor1-1.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/floor1-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/floor1-2.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/floor1-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/floor1-3.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/floor1-4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/floor1-4.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/floorval.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/floorval.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/fourphase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/fourphase.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/hufftree-under.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/hufftree-under.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/hufftree.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/hufftree.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/libvorbis/style.css:
--------------------------------------------------------------------------------
1 | BODY { font-family: Helvetica, sans-serif }
2 | TD { font-family: Helvetica, sans-serif }
3 | P { font-family: Helvetica, sans-serif }
4 | H1 { font-family: Helvetica, sans-serif }
5 | H2 { font-family: Helvetica, sans-serif }
6 | H4 { font-family: Helvetica, sans-serif }
7 | P.tiny { font-size: 8pt }
8 |
--------------------------------------------------------------------------------
/project/libvorbis/doc/lspmap.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/lspmap.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/oddlsp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/oddlsp.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/residue-pack.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/residue-pack.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/residue2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/residue2.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/squarepolar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/squarepolar.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/stream.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/stream.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/vorbisenc/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 | docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/vorbisenc
4 |
5 | doc_DATA = changes.html examples.html index.html ovectl_ratemanage2_arg.html \
6 | ovectl_ratemanage_arg.html overview.html reference.html style.css\
7 | vorbis_encode_ctl.html vorbis_encode_init.html vorbis_encode_setup_init.html \
8 | vorbis_encode_setup_managed.html vorbis_encode_setup_vbr.html \
9 | vorbis_encode_init_vbr.html
10 |
11 | EXTRA_DIST = $(doc_DATA)
12 |
--------------------------------------------------------------------------------
/project/libvorbis/doc/vorbisenc/style.css:
--------------------------------------------------------------------------------
1 | BODY { font-family: Helvetica, sans-serif }
2 | TD { font-family: Helvetica, sans-serif }
3 | P { font-family: Helvetica, sans-serif }
4 | H1 { font-family: Helvetica, sans-serif }
5 | H2 { font-family: Helvetica, sans-serif }
6 | H4 { font-family: Helvetica, sans-serif }
7 | P.tiny { font-size: 8pt }
8 |
--------------------------------------------------------------------------------
/project/libvorbis/doc/vorbisfile/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 | docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/vorbisfile
4 |
5 | doc_DATA = OggVorbis_File.html callbacks.html chaining_example_c.html\
6 | chainingexample.html crosslap.html datastructures.html decoding.html\
7 | example.html exampleindex.html fileinfo.html index.html\
8 | initialization.html ov_bitrate.html ov_bitrate_instant.html\
9 | ov_callbacks.html ov_clear.html ov_comment.html ov_crosslap.html\
10 | ov_fopen.html\
11 | ov_info.html ov_open.html ov_open_callbacks.html ov_pcm_seek.html\
12 | ov_pcm_seek_lap.html ov_pcm_seek_page.html ov_pcm_seek_page_lap.html\
13 | ov_pcm_tell.html ov_pcm_total.html ov_raw_seek.html\
14 | ov_raw_seek_lap.html ov_raw_tell.html ov_raw_total.html ov_read.html\
15 | ov_read_float.html ov_read_filter.html\
16 | ov_seekable.html ov_serialnumber.html\
17 | ov_streams.html ov_test.html ov_test_callbacks.html ov_test_open.html\
18 | ov_time_seek.html ov_time_seek_lap.html ov_time_seek_page.html\
19 | ov_time_seek_page_lap.html ov_time_tell.html ov_time_total.html\
20 | overview.html reference.html seekexample.html seeking.html\
21 | seeking_example_c.html seeking_test_c.html seekingexample.html\
22 | style.css threads.html\
23 | vorbisfile_example_c.html
24 |
25 | EXTRA_DIST = $(doc_DATA)
26 |
--------------------------------------------------------------------------------
/project/libvorbis/doc/vorbisfile/exampleindex.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | vorbisfile - Documentation
5 |
6 |
7 |
8 |
9 |
10 |
11 | Vorbisfile documentation |
12 | vorbisfile version 1.3.2 - 20101101 |
13 |
14 |
15 |
16 | VorbisFile Example Code
17 |
18 |
19 | Three sample programs are included with the vorbisfile distribution.
20 |
21 | vorbisfile decoding
22 | vorbisfile seeking
23 | vorbisfile bitstream chaining
24 |
25 |
26 |
27 |
28 |
29 | copyright © 2000-2010 Xiph.Org |
30 | Ogg Vorbis |
31 |
32 | Vorbisfile documentation |
33 | vorbisfile version 1.3.2 - 20101101 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/project/libvorbis/doc/vorbisfile/style.css:
--------------------------------------------------------------------------------
1 | BODY { font-family: Helvetica, sans-serif }
2 | TD { font-family: Helvetica, sans-serif }
3 | P { font-family: Helvetica, sans-serif }
4 | H1 { font-family: Helvetica, sans-serif }
5 | H2 { font-family: Helvetica, sans-serif }
6 | H4 { font-family: Helvetica, sans-serif }
7 | P.tiny { font-size: 8pt }
8 |
--------------------------------------------------------------------------------
/project/libvorbis/doc/vorbisword2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/vorbisword2.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/wait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/wait.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/white-xifish.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/white-xifish.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/window1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/window1.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/window2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/window2.png
--------------------------------------------------------------------------------
/project/libvorbis/doc/xifish.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/doc/xifish.pdf
--------------------------------------------------------------------------------
/project/libvorbis/examples/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 | AUTOMAKE_OPTIONS = foreign
4 |
5 | INCLUDES = -I$(top_srcdir)/include @OGG_CFLAGS@
6 |
7 | noinst_PROGRAMS = decoder_example encoder_example chaining_example\
8 | vorbisfile_example seeking_example
9 |
10 | EXTRA_DIST = frameview.pl
11 |
12 | # uncomment to build static executables from the example code
13 | #LDFLAGS = -all-static
14 |
15 | decoder_example_SOURCES = decoder_example.c
16 | decoder_example_LDADD = $(top_builddir)/lib/libvorbis.la
17 |
18 | encoder_example_SOURCES = encoder_example.c
19 | encoder_example_LDADD = $(top_builddir)/lib/libvorbisenc.la $(top_builddir)/lib/libvorbis.la
20 |
21 | chaining_example_SOURCES = chaining_example.c
22 | chaining_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la
23 |
24 | vorbisfile_example_SOURCES = vorbisfile_example.c
25 | vorbisfile_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la
26 |
27 | seeking_example_SOURCES = seeking_example.c
28 | seeking_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la
29 |
30 | debug:
31 | $(MAKE) all CFLAGS="@DEBUG@"
32 |
33 | profile:
34 | $(MAKE) all CFLAGS="@PROFILE@"
35 |
--------------------------------------------------------------------------------
/project/libvorbis/include/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 | SUBDIRS = vorbis
4 |
--------------------------------------------------------------------------------
/project/libvorbis/include/vorbis/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 | vorbisincludedir = $(includedir)/vorbis
4 |
5 | vorbisinclude_HEADERS = codec.h vorbisfile.h vorbisenc.h
6 |
7 |
8 |
--------------------------------------------------------------------------------
/project/libvorbis/lib/books/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 | SUBDIRS = coupled uncoupled floor
4 |
--------------------------------------------------------------------------------
/project/libvorbis/lib/books/coupled/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 | EXTRA_DIST = res_books_stereo.h res_books_51.h
4 |
--------------------------------------------------------------------------------
/project/libvorbis/lib/books/floor/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 | EXTRA_DIST = floor_books.h
4 |
--------------------------------------------------------------------------------
/project/libvorbis/lib/books/uncoupled/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 | EXTRA_DIST = res_books_uncoupled.h
4 |
--------------------------------------------------------------------------------
/project/libvorbis/lib/lpc.h:
--------------------------------------------------------------------------------
1 | /********************************************************************
2 | * *
3 | * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
4 | * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
5 | * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6 | * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
7 | * *
8 | * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007 *
9 | * by the Xiph.Org Foundation http://www.xiph.org/ *
10 | * *
11 | ********************************************************************
12 |
13 | function: LPC low level routines
14 | last mod: $Id: lpc.h 16037 2009-05-26 21:10:58Z xiphmont $
15 |
16 | ********************************************************************/
17 |
18 | #ifndef _V_LPC_H_
19 | #define _V_LPC_H_
20 |
21 | #include "vorbis/codec.h"
22 |
23 | /* simple linear scale LPC code */
24 | extern float vorbis_lpc_from_data(float *data,float *lpc,int n,int m);
25 |
26 | extern void vorbis_lpc_predict(float *coeff,float *prime,int m,
27 | float *data,long n);
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/project/libvorbis/lib/lsp.h:
--------------------------------------------------------------------------------
1 | /********************************************************************
2 | * *
3 | * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
4 | * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
5 | * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6 | * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
7 | * *
8 | * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 *
9 | * by the Xiph.Org Foundation http://www.xiph.org/ *
10 | * *
11 | ********************************************************************
12 |
13 | function: LSP (also called LSF) conversion routines
14 | last mod: $Id: lsp.h 16227 2009-07-08 06:58:46Z xiphmont $
15 |
16 | ********************************************************************/
17 |
18 |
19 | #ifndef _V_LSP_H_
20 | #define _V_LSP_H_
21 |
22 | extern int vorbis_lpc_to_lsp(float *lpc,float *lsp,int m);
23 |
24 | extern void vorbis_lsp_to_curve(float *curve,int *map,int n,int ln,
25 | float *lsp,int m,
26 | float amp,float ampoffset);
27 |
28 | #endif
29 |
--------------------------------------------------------------------------------
/project/libvorbis/lib/modes/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 | EXTRA_DIST = floor_all.h psych_44.h residue_44.h setup_11.h setup_32.h \
4 | setup_8.h psych_11.h psych_8.h residue_44u.h setup_16.h \
5 | setup_44.h setup_X.h psych_16.h residue_16.h residue_8.h \
6 | setup_22.h setup_44u.h setup_44p51.h residue_44p51.h
7 |
--------------------------------------------------------------------------------
/project/libvorbis/lib/tone.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 | #include
5 |
6 | void usage(){
7 | fprintf(stderr,"tone ,[] [,[]...]\n");
8 | exit(1);
9 | }
10 |
11 | int main (int argc,char *argv[]){
12 | int i,j;
13 | double *f;
14 | double *amp;
15 |
16 | if(argc<2)usage();
17 |
18 | f=alloca(sizeof(*f)*(argc-1));
19 | amp=alloca(sizeof(*amp)*(argc-1));
20 |
21 | i=0;
22 | while(argv[i+1]){
23 | char *pos=strchr(argv[i+1],',');
24 |
25 | f[i]=atof(argv[i+1]);
26 | if(pos)
27 | amp[i]=atof(pos+1)*32767.f;
28 | else
29 | amp[i]=32767.f;
30 |
31 | fprintf(stderr,"%g Hz, %g amp\n",f[i],amp[i]);
32 |
33 | i++;
34 | }
35 |
36 | for(i=0;i<44100*10;i++){
37 | float val=0;
38 | int ival;
39 | for(j=0;j32767.f)ival=32767.f;
44 | if(ival<-32768.f)ival=-32768.f;
45 |
46 | fprintf(stdout,"%c%c%c%c",
47 | (char)(ival&0xff),
48 | (char)((ival>>8)&0xff),
49 | (char)(ival&0xff),
50 | (char)((ival>>8)&0xff));
51 | }
52 | return(0);
53 | }
54 |
55 |
--------------------------------------------------------------------------------
/project/libvorbis/lib/window.h:
--------------------------------------------------------------------------------
1 | /********************************************************************
2 | * *
3 | * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
4 | * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
5 | * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6 | * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
7 | * *
8 | * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007 *
9 | * by the Xiph.Org Foundation http://www.xiph.org/ *
10 | * *
11 | ********************************************************************
12 |
13 | function: window functions
14 | last mod: $Id: window.h 13293 2007-07-24 00:09:47Z xiphmont $
15 |
16 | ********************************************************************/
17 |
18 | #ifndef _V_WINDOW_
19 | #define _V_WINDOW_
20 |
21 | extern float *_vorbis_window_get(int n);
22 | extern void _vorbis_apply_window(float *d,int *winno,long *blocksizes,
23 | int lW,int W,int nW);
24 |
25 |
26 | #endif
27 |
--------------------------------------------------------------------------------
/project/libvorbis/m4/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 | EXTRA_DIST = add_cflags.m4 ogg.m4 pkg.m4
4 |
5 |
--------------------------------------------------------------------------------
/project/libvorbis/m4/add_cflags.m4:
--------------------------------------------------------------------------------
1 | dnl @synopsis AC_ADD_CFLAGS
2 | dnl
3 | dnl Add the given option to CFLAGS, if it doesn't break the compiler
4 |
5 | AC_DEFUN([AC_ADD_CFLAGS],
6 | [AC_MSG_CHECKING([if $CC accepts $1])
7 | ac_add_cflags__old_cflags="$CFLAGS"
8 | CFLAGS="$CFLAGS $1"
9 | AC_TRY_LINK([#include ],
10 | [puts("Hello, World!"); return 0;],
11 | AC_MSG_RESULT([yes]),
12 | AC_MSG_RESULT([no])
13 | CFLAGS="$ac_add_cflags__old_cflags")
14 | ])
15 | ])# AC_ADD_CFLAGS
16 |
--------------------------------------------------------------------------------
/project/libvorbis/macos/compat/strdup.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 | #include
5 |
6 | char *strdup(const char *inStr)
7 | {
8 | char *outStr = NULL;
9 |
10 | if (inStr == NULL) {
11 | return NULL;
12 | }
13 |
14 | outStr = _ogg_malloc(strlen(inStr) + 1);
15 |
16 | if (outStr != NULL) {
17 | strcpy(outStr, inStr);
18 | }
19 |
20 | return outStr;
21 | }
22 |
--------------------------------------------------------------------------------
/project/libvorbis/macos/compat/sys/types.h:
--------------------------------------------------------------------------------
1 | #ifndef __SYS_TYPES_H__
#define __SYS_TYPES_H__ 1
#include
#include
#include
typedef short int16_t;
typedef long int32_t;
typedef long long int64_t;
#define vorbis_size32_t long
#if defined(__cplusplus)
extern "C" {
#endif
#pragma options align=power
char *strdup(const char *inStr);
#pragma options align=reset
#if defined(__cplusplus)
}
#endif
#endif /* __SYS_TYPES_H__ */
--------------------------------------------------------------------------------
/project/libvorbis/macos/decoder_example.mcp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/macos/decoder_example.mcp
--------------------------------------------------------------------------------
/project/libvorbis/macos/encoder_example.mcp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/macos/encoder_example.mcp
--------------------------------------------------------------------------------
/project/libvorbis/macos/libvorbis.mcp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/macos/libvorbis.mcp
--------------------------------------------------------------------------------
/project/libvorbis/macos/libvorbis.mcp.exp:
--------------------------------------------------------------------------------
1 | ### From "vorbis/codec.h"
2 |
3 | # Vorbis PRIMITIVES: general
4 |
5 | vorbis_info_init
6 | vorbis_info_clear
7 | vorbis_info_blocksize
8 | vorbis_comment_init
9 | vorbis_comment_add
10 | vorbis_comment_add_tag
11 | vorbis_comment_query
12 | vorbis_comment_query_count
13 | vorbis_comment_clear
14 |
15 | vorbis_block_init
16 | vorbis_block_clear
17 | vorbis_dsp_clear
18 | vorbis_granule_time
19 |
20 | # Vorbis PRIMITIVES: analysis/DSP layer
21 |
22 | vorbis_analysis_init
23 | vorbis_commentheader_out
24 | vorbis_analysis_headerout
25 | vorbis_analysis_buffer
26 | vorbis_analysis_wrote
27 | vorbis_analysis_blockout
28 | vorbis_analysis
29 | vorbis_bitrate_addblock
30 | vorbis_bitrate_flushpacket
31 |
32 | # Vorbis PRIMITIVES: synthesis layer
33 |
34 | vorbis_synthesis_headerin
35 | vorbis_synthesis_init
36 | vorbis_synthesis_restart
37 | vorbis_synthesis
38 | vorbis_synthesis_trackonly
39 | vorbis_synthesis_blockin
40 | vorbis_synthesis_pcmout
41 | vorbis_synthesis_lapout
42 | vorbis_synthesis_read
43 | vorbis_packet_blocksize
44 | vorbis_synthesis_halfrate
45 | vorbis_synthesis_halfrate_p
46 |
--------------------------------------------------------------------------------
/project/libvorbis/macos/libvorbisenc.mcp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/macos/libvorbisenc.mcp
--------------------------------------------------------------------------------
/project/libvorbis/macos/libvorbisenc.mcp.exp:
--------------------------------------------------------------------------------
1 | ### From "vorbis/vorbisenc.h"
2 |
3 | vorbis_encode_init
4 | vorbis_encode_setup_managed
5 | vorbis_encode_setup_vbr
6 | vorbis_encode_init_vbr
7 | vorbis_encode_setup_init
8 | vorbis_encode_ctl
9 |
--------------------------------------------------------------------------------
/project/libvorbis/macos/libvorbisfile.mcp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/macos/libvorbisfile.mcp
--------------------------------------------------------------------------------
/project/libvorbis/macos/libvorbisfile.mcp.exp:
--------------------------------------------------------------------------------
1 | ### From "vorbis/vorbisfile.h"
2 |
3 | ov_clear
4 | ov_open
5 | ov_open_callbacks
6 |
7 | ov_test
8 | ov_test_callbacks
9 | ov_test_open
10 |
11 | ov_bitrate
12 | ov_bitrate_instant
13 | ov_streams
14 | ov_seekable
15 | ov_serialnumber
16 |
17 | ov_raw_total
18 | ov_pcm_total
19 | ov_time_total
20 |
21 | ov_raw_seek
22 | ov_pcm_seek
23 | ov_pcm_seek_page
24 | ov_time_seek
25 | ov_time_seek_page
26 |
27 | ov_raw_seek_lap
28 | ov_pcm_seek_lap
29 | ov_pcm_seek_page_lap
30 | ov_time_seek_lap
31 | ov_time_seek_page_lap
32 |
33 | ov_raw_tell
34 | ov_pcm_tell
35 | ov_time_tell
36 |
37 | ov_info
38 | ov_comment
39 |
40 | ov_read
41 | ov_read_float
42 |
43 | ov_crosslap
44 | ov_halfrate
45 | ov_halfrate_p
--------------------------------------------------------------------------------
/project/libvorbis/macos/vorbis.mcp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/macos/vorbis.mcp
--------------------------------------------------------------------------------
/project/libvorbis/macosx/English.lproj/InfoPlist.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvorbis/macosx/English.lproj/InfoPlist.strings
--------------------------------------------------------------------------------
/project/libvorbis/macosx/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | English
7 | CFBundleExecutable
8 | Vorbis
9 | CFBundleGetInfoString
10 | Vorbis framework 1.2.3, Copyright © 1994-2009 Xiph.Org Foundation
11 | CFBundleIconFile
12 |
13 | CFBundleIdentifier
14 | org.xiph.vorbis
15 | CFBundleInfoDictionaryVersion
16 | 6.0
17 | CFBundlePackageType
18 | FMWK
19 | CFBundleShortVersionString
20 | 1.2.3
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | 1.2.3
25 | NSHumanReadableCopyright
26 | Vorbis framework 1.2.3, Copyright © 1994-2009 Xiph.Org Foundation
27 | CSResourcesFileMapped
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/project/libvorbis/test/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 | AUTOMAKE_OPTIONS = foreign
4 |
5 | INCLUDES = -I$(top_srcdir)/include @OGG_CFLAGS@
6 |
7 | check_PROGRAMS = test
8 |
9 | check: $(check_PROGRAMS)
10 | ./test$(EXEEXT)
11 |
12 | test_SOURCES = util.c util.h write_read.c write_read.h test.c
13 | test_LDADD = ../lib/libvorbisenc.la ../lib/libvorbis.la @OGG_LIBS@
14 |
15 | debug:
16 | $(MAKE) all CFLAGS="@DEBUG@"
17 |
18 | profile:
19 | $(MAKE) all CFLAGS="@PROFILE@"
20 |
--------------------------------------------------------------------------------
/project/libvorbis/test/util.h:
--------------------------------------------------------------------------------
1 | /********************************************************************
2 | * *
3 | * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
4 | * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
5 | * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6 | * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
7 | * *
8 | * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007 *
9 | * by the Xiph.Org Foundation http://www.xiph.org/ *
10 | * *
11 | ********************************************************************
12 |
13 | function: utility functions for vorbis codec test suite.
14 | last mod: $Id: util.c 13293 2007-07-24 00:09:47Z erikd $
15 |
16 | ********************************************************************/
17 |
18 | #define ARRAY_LEN(x) (sizeof(x)/sizeof(x[0]))
19 |
20 | /* Create simple test data consisting of a windowed sine wave. */
21 | void gen_windowed_sine (float *data, int len, float maximum) ;
22 |
23 | /* Set len values of data array to given value. */
24 | void set_data_in (float * data, unsigned len, float value) ;
25 |
--------------------------------------------------------------------------------
/project/libvorbis/todo.txt:
--------------------------------------------------------------------------------
1 | Open project list for further development:
2 |
3 | libvorbis:
4 |
5 | Meaningful error code returns
6 |
7 | still some padding at EOS
8 |
9 | Option for brute-forcing vq search on maptype 2 (helps on undertrained
10 | sets).
11 |
12 | encoder switch interface for binary compat through changes; ioctl()-like?
13 |
14 | API changes:
15 | break up some of the more monolithic calls (eg, allow access
16 | to MDCT domain data, additional low level framing capability)
17 | convenience calls for text comments
18 |
19 | other:
20 |
21 | command line suite
22 | 'crashme'
23 |
--------------------------------------------------------------------------------
/project/libvorbis/vorbis-uninstalled.pc.in:
--------------------------------------------------------------------------------
1 | # vorbis uninstalled pkg-config file
2 |
3 | prefix=
4 | exec_prefix=
5 | libdir=${pcfiledir}/lib
6 | includedir=${pcfiledir}/include
7 |
8 | Name: vorbis
9 | Description: vorbis is the primary Ogg Vorbis library (uninstalled)
10 | Version: @VERSION@
11 | Requires: ogg
12 | Conflicts:
13 | Libs: @VORBIS_LIBS@ ${libdir}/libvorbis.la
14 | Cflags: -I${includedir}
15 |
--------------------------------------------------------------------------------
/project/libvorbis/vorbis.pc.in:
--------------------------------------------------------------------------------
1 | # libvorbis pkg-config source file
2 |
3 | prefix=@prefix@
4 | exec_prefix=@exec_prefix@
5 | libdir=@libdir@
6 | includedir=@includedir@
7 |
8 | Name: vorbis
9 | Description: vorbis is the primary Ogg Vorbis library
10 | Version: @VERSION@
11 | Requires: ogg
12 | Conflicts:
13 | Libs: -L${libdir} -lvorbis -lm
14 | Cflags: -I${includedir}
15 |
--------------------------------------------------------------------------------
/project/libvorbis/vorbisenc-uninstalled.pc.in:
--------------------------------------------------------------------------------
1 | # vorbisenc uninstalled pkg-config file
2 |
3 | prefix=
4 | exec_prefix=
5 | libdir=${pcfiledir}/lib
6 | includedir=${pcfiledir}/include
7 |
8 | Name: vorbisenc
9 | Description: vorbisenc is a library that provides a convenient API for setting up an encoding environment using libvorbis (uninstalled)
10 | Version: @VERSION@
11 | Requires: vorbis
12 | Conflicts:
13 | Libs: ${libdir}/libvorbisenc.la
14 | Cflags: -I${includedir}
15 |
--------------------------------------------------------------------------------
/project/libvorbis/vorbisenc.pc.in:
--------------------------------------------------------------------------------
1 | # libvorbisenc pkg-config source file
2 |
3 | prefix=@prefix@
4 | exec_prefix=@exec_prefix@
5 | libdir=@libdir@
6 | includedir=@includedir@
7 |
8 | Name: vorbisenc
9 | Description: vorbisenc is a library that provides a convenient API for setting up an encoding environment using libvorbis
10 | Version: @VERSION@
11 | Requires: vorbis
12 | Conflicts:
13 | Libs: -L${libdir} -lvorbisenc
14 | Cflags: -I${includedir}
15 |
--------------------------------------------------------------------------------
/project/libvorbis/vorbisfile-uninstalled.pc.in:
--------------------------------------------------------------------------------
1 | # vorbisfile uninstalled pkg-config file
2 |
3 | prefix=
4 | exec_prefix=
5 | libdir=${pcfiledir}/lib
6 | includedir=${pcfiledir}/include
7 |
8 | Name: vorbisfile
9 | Description: vorbisfile is a library that provides a convenient high-level API for decoding and basic manipulation of all Vorbis I audio streams (uninstalled)
10 | Version: @VERSION@
11 | Requires: vorbis
12 | Conflicts:
13 | Libs: ${libdir}/libvorbisfile.la
14 | Cflags: -I${includedir}
15 |
--------------------------------------------------------------------------------
/project/libvorbis/vorbisfile.pc.in:
--------------------------------------------------------------------------------
1 | # libvorbisfile pkg-config source file
2 |
3 | prefix=@prefix@
4 | exec_prefix=@exec_prefix@
5 | libdir=@libdir@
6 | includedir=@includedir@
7 |
8 | Name: vorbisfile
9 | Description: vorbisfile is a library that provides a convenient high-level API for decoding and basic manipulation of all Vorbis I audio streams
10 | Version: @VERSION@
11 | Requires: vorbis
12 | Conflicts:
13 | Libs: -L${libdir} -lvorbisfile
14 | Cflags: -I${includedir}
15 |
--------------------------------------------------------------------------------
/project/libvorbis/vq/44u0.vqs:
--------------------------------------------------------------------------------
1 | GO
2 |
3 | >_44u0_ noninterleaved
4 | haux 44u0/resaux_0.vqd _44u0__short 0,16,2 8
5 |
6 | >_44u0_ noninterleaved
7 | haux 44u0/resaux_1.vqd _44u0__long 0,64,2 8
8 |
9 | #iter 0
10 |
11 |
12 |
13 | # 0 1 1 2 2 4 32 +
14 | # 25 0 45 0 0 0 0
15 | #
16 | # 0 1 2 3 4 5 6 7
17 | # 1 . .
18 | # 2 . .
19 | # 4 . . . . . .
20 |
21 | :_p1_0 44u0/res_part1_pass2.vqd, 4, nonseq cull, 0 +- 1
22 | :_p2_0 44u0/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1
23 | :_p3_0 44u0/res_part3_pass2.vqd, 4, nonseq cull, 0 +- 1 2
24 | :_p4_0 44u0/res_part4_pass2.vqd, 4, nonseq cull, 0 +- 1 2
25 | :_p5_0 44u0/res_part5_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4
26 |
27 | :_p6_0 44u0/res_part6_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30
28 | :_p6_1 44u0/res_part6_pass1.vqd, 2, nonseq cull, 0 +- 1 2
29 |
30 | :_p7_0 44u0/res_part7_pass0.vqd, 4, nonseq, 0 +- 169 338
31 | :_p7_1 44u0/res_part7_pass1.vqd, 2, nonseq, 0 +- 13 26 39 52 65 78
32 | :_p7_2 44u0/res_part7_pass2.vqd, 2, nonseq, 0 +- 1 2 3 4 5 6
33 |
34 |
--------------------------------------------------------------------------------
/project/libvorbis/vq/44u1.vqs:
--------------------------------------------------------------------------------
1 | GO
2 |
3 | >_44u1_ noninterleaved
4 | haux 44u1/resaux_0.vqd _44u1__short 0,16,2 8
5 |
6 | >_44u1_ noninterleaved
7 | haux 44u1/resaux_1.vqd _44u1__long 0,64,2 8
8 |
9 | #iter 0
10 |
11 |
12 |
13 | # 0 1 1 2 2 4 32 +
14 | # 25 0 45 0 0 0 0
15 | #
16 | # 0 1 2 3 4 5 6 7
17 | # 1 . .
18 | # 2 . .
19 | # 4 . . . . . .
20 |
21 | :_p1_0 44u1/res_part1_pass2.vqd, 4, nonseq cull, 0 +- 1
22 | :_p2_0 44u1/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1
23 | :_p3_0 44u1/res_part3_pass2.vqd, 4, nonseq cull, 0 +- 1 2
24 | :_p4_0 44u1/res_part4_pass2.vqd, 4, nonseq cull, 0 +- 1 2
25 | :_p5_0 44u1/res_part5_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4
26 |
27 | :_p6_0 44u1/res_part6_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30
28 | :_p6_1 44u1/res_part6_pass1.vqd, 2, nonseq cull, 0 +- 1 2
29 |
30 | :_p7_0 44u1/res_part7_pass0.vqd, 2, nonseq, 0 +- 169 338 507
31 | :_p7_1 44u1/res_part7_pass1.vqd, 2, nonseq, 0 +- 13 26 39 52 65 78
32 | :_p7_2 44u1/res_part7_pass2.vqd, 2, nonseq, 0 +- 1 2 3 4 5 6
33 |
34 |
--------------------------------------------------------------------------------
/project/libvorbis/vq/44u2.vqs:
--------------------------------------------------------------------------------
1 | GO
2 |
3 | >_44u2_ noninterleaved
4 | haux 44u2/resaux_0.vqd _44u2__short 0,16,2 8
5 |
6 | >_44u2_ noninterleaved
7 | haux 44u2/resaux_1.vqd _44u2__long 0,64,2 8
8 |
9 | #iter 0
10 |
11 |
12 |
13 | # 0 1 1 2 2 4 32 +
14 | # 25 0 45 0 0 0 0
15 | #
16 | # 0 1 2 3 4 5 6 7
17 | # 1 . .
18 | # 2 . .
19 | # 4 . . . . . .
20 |
21 | :_p1_0 44u2/res_part1_pass2.vqd, 4, nonseq cull, 0 +- 1
22 | :_p2_0 44u2/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1
23 | :_p3_0 44u2/res_part3_pass2.vqd, 4, nonseq cull, 0 +- 1 2
24 | :_p4_0 44u2/res_part4_pass2.vqd, 4, nonseq cull, 0 +- 1 2
25 | :_p5_0 44u2/res_part5_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4
26 |
27 | :_p6_0 44u2/res_part6_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30
28 | :_p6_1 44u2/res_part6_pass1.vqd, 2, nonseq cull, 0 +- 1 2
29 |
30 | :_p7_0 44u2/res_part7_pass0.vqd, 2, nonseq, 0 +- 169 338 507 676
31 | :_p7_1 44u2/res_part7_pass1.vqd, 2, nonseq, 0 +- 13 26 39 52 65 78
32 | :_p7_2 44u2/res_part7_pass2.vqd, 2, nonseq, 0 +- 1 2 3 4 5 6
33 |
--------------------------------------------------------------------------------
/project/libvorbis/vq/44u3.vqs:
--------------------------------------------------------------------------------
1 |
2 | GO
3 |
4 | >_44u3_ noninterleaved
5 | haux 44u3/resaux_0.vqd _44u3__short 0,16,2 8
6 |
7 | >_44u3_ noninterleaved
8 | haux 44u3/resaux_1.vqd _44u3__long 0,64,2 8
9 |
10 | #iter 0
11 |
12 |
13 |
14 | # 0 1 1 2 2 4 32 +
15 | # 25 0 45 0 0 0 0
16 | #
17 | # 0 1 2 3 4 5 6 7
18 | # 1 . .
19 | # 2 . .
20 | # 4 . . . . . .
21 |
22 | :_p1_0 44u3/res_part1_pass2.vqd, 4, nonseq cull, 0 +- 1
23 | :_p2_0 44u3/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1
24 | :_p3_0 44u3/res_part3_pass2.vqd, 4, nonseq cull, 0 +- 1 2
25 | :_p4_0 44u3/res_part4_pass2.vqd, 4, nonseq cull, 0 +- 1 2
26 | :_p5_0 44u3/res_part5_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4
27 |
28 | :_p6_0 44u3/res_part6_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30
29 | :_p6_1 44u3/res_part6_pass1.vqd, 2, nonseq cull, 0 +- 1 2
30 |
31 | :_p7_0 44u3/res_part7_pass0.vqd, 2, nonseq, 0 +- 255 510 765 1020
32 | :_p7_1 44u3/res_part7_pass1.vqd, 2, nonseq, 0 +- 17 34 51 68 85 102 119
33 | :_p7_2 44u3/res_part7_pass2.vqd, 2, nonseq, 0 +- 1 2 3 4 5 6 7 8
34 |
--------------------------------------------------------------------------------
/project/libvorbis/vq/44u4.vqs:
--------------------------------------------------------------------------------
1 |
2 | GO
3 |
4 | >_44u4_ noninterleaved
5 | haux 44u4/resaux_0.vqd _44u4__short 0,16,2 8
6 |
7 | >_44u4_ noninterleaved
8 | haux 44u4/resaux_1.vqd _44u4__long 0,64,2 8
9 |
10 | #iter 0
11 |
12 |
13 |
14 | # 0 1 1 2 2 4 32 +
15 | # 25 0 45 0 0 0 0
16 | #
17 | # 0 1 2 3 4 5 6 7
18 | # 1 . .
19 | # 2 . .
20 | # 4 . . . . . .
21 |
22 | :_p1_0 44u4/res_part1_pass2.vqd, 4, nonseq cull, 0 +- 1
23 | :_p2_0 44u4/res_part2_pass2.vqd, 4, nonseq cull, 0 +- 1
24 | :_p3_0 44u4/res_part3_pass2.vqd, 4, nonseq cull, 0 +- 1 2
25 | :_p4_0 44u4/res_part4_pass2.vqd, 4, nonseq cull, 0 +- 1 2
26 | :_p5_0 44u4/res_part5_pass2.vqd, 2, nonseq cull, 0 +- 1 2 3 4
27 |
28 | :_p6_0 44u4/res_part6_pass0.vqd, 2, nonseq cull, 0 +- 5 10 15 20 25 30
29 | :_p6_1 44u4/res_part6_pass1.vqd, 2, nonseq cull, 0 +- 1 2
30 |
31 | :_p7_0 44u4/res_part7_pass0.vqd, 2, nonseq, 0 +- 255 510 765 1020 1275 1530
32 | :_p7_1 44u4/res_part7_pass1.vqd, 2, nonseq, 0 +- 17 34 51 68 85 102 119
33 | :_p7_2 44u4/res_part7_pass2.vqd, 2, nonseq, 0 +- 1 2 3 4 5 6 7 8
34 |
--------------------------------------------------------------------------------
/project/libvorbis/vq/floor_11.vqs:
--------------------------------------------------------------------------------
1 | GO
2 | >floor_11
3 | =8-11c0_s 8-11c1_s
4 |
5 | build line_256x4_class0 0-256
6 | build line_256x4_0sub0 0-4
7 | build line_256x4_0sub1 4-10
8 | build line_256x4_0sub2 10-25
9 | build line_256x4_0sub3 25-64
10 |
11 |
--------------------------------------------------------------------------------
/project/libvorbis/vq/floor_22.vqs:
--------------------------------------------------------------------------------
1 | GO
2 | >floor_22
3 | =22c0_s 22c1_s 22c2_s
4 |
5 | build line_256x7_class0 0-64
6 | build line_256x7_class1 0-256
7 | build line_256x7_0sub1 1-9
8 | build line_256x7_0sub2 9-25
9 | build line_256x7_0sub3 25-64
10 | build line_256x7_1sub1 1-9
11 | build line_256x7_1sub2 9-25
12 | build line_256x7_1sub3 25-64
13 |
14 | build line_512x17_class1 0-8
15 | build line_512x17_class2 0-64
16 | build line_512x17_class3 0-64
17 | build line_512x17_0sub0 0-128
18 | build line_512x17_1sub0 0-32
19 | build line_512x17_1sub1 32-128
20 | build line_512x17_2sub1 1-18
21 | build line_512x17_2sub2 18-50
22 | build line_512x17_2sub3 50-128
23 | build line_512x17_3sub1 1-18
24 | build line_512x17_3sub2 18-50
25 | build line_512x17_3sub3 50-128
26 |
27 |
28 |
--------------------------------------------------------------------------------
/project/libvorbis/win32/VS2005/README:
--------------------------------------------------------------------------------
1 | libvorbis has libogg as a dependency, you need to have libogg
2 | compiled beforehand.
3 |
4 | Lets say you have libogg and libvorbis in the same directory:
5 |
6 | libogg-1.1.3
7 | libvorbis-1.2.0
8 |
9 | Because there is no automatic library detection you have to,
10 | either:
11 |
12 | 1. Rename libogg-1.1.3 to libogg
13 |
14 | 2. Open libogg.vsprops with a text editor (even notepad.exe
15 | will suffice) and see if LIBOGG_VERSION is set to the correct
16 | version, in this case "1.1.3"
17 |
--------------------------------------------------------------------------------
/project/libvorbis/win32/VS2005/libogg.vsprops:
--------------------------------------------------------------------------------
1 |
2 |
7 |
11 |
15 |
19 |
20 |
--------------------------------------------------------------------------------
/project/libvorbis/win32/VS2008/README:
--------------------------------------------------------------------------------
1 | libvorbis has libogg as a dependency, you need to have libogg
2 | compiled beforehand.
3 |
4 | Lets say you have libogg and libvorbis in the same directory:
5 |
6 | libogg-1.1.3
7 | libvorbis-1.2.0
8 |
9 | Because there is no automatic library detection you have to,
10 | either:
11 |
12 | 1. Rename libogg-1.1.3 to libogg
13 |
14 | 2. Open libogg.vsprops with a text editor (even notepad.exe
15 | will suffice) and see if LIBOGG_VERSION is set to the correct
16 | version, in this case "1.1.3"
17 |
--------------------------------------------------------------------------------
/project/libvorbis/win32/VS2008/libogg.vsprops:
--------------------------------------------------------------------------------
1 |
2 |
7 |
11 |
15 |
19 |
20 |
--------------------------------------------------------------------------------
/project/libvorbis/win32/VS2010/README:
--------------------------------------------------------------------------------
1 | libvorbis has libogg as a dependency, you need to have libogg
2 | compiled beforehand.
3 |
4 | Lets say you have libogg and libvorbis in the same directory:
5 |
6 | libogg-1.1.3
7 | libvorbis-1.2.0
8 |
9 | Because there is no automatic library detection you have to,
10 | either:
11 |
12 | 1. Rename libogg-1.1.3 to libogg
13 |
14 | 2. Open libogg.props with a text editor (even notepad.exe
15 | will suffice) and see if LIBOGG_VERSION is set to the correct
16 | version, in this case "1.1.3"
17 |
--------------------------------------------------------------------------------
/project/libvorbis/win32/VS2010/libogg.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 1.2.0
5 |
6 |
7 | <_ProjectFileVersion>10.0.30319.1
8 |
9 |
10 |
11 | ..\..\..\..\libogg-$(LIBOGG_VERSION)\include;..\..\..\..\ogg\include;..\..\..\..\..\..\..\core\ogg\libogg\include;%(AdditionalIncludeDirectories)
12 |
13 |
14 | ..\..\..\..\libogg-$(LIBOGG_VERSION)\win32\VS2010\$(PlatformName)\$(ConfigurationName);..\..\..\..\ogg\win32\VS2010\$(PlatformName)\$(ConfigurationName);..\..\..\..\..\..\..\core\ogg\libogg\win32\VS2010\$(PlatformName)\$(ConfigurationName)
15 |
16 |
17 |
18 |
19 | $(LIBOGG_VERSION)
20 |
21 |
22 |
--------------------------------------------------------------------------------
/project/libvorbis/win32/vorbisenc.def:
--------------------------------------------------------------------------------
1 | ;
2 | ; $Id: vorbisenc.def 7187 2004-07-20 07:24:27Z xiphmont $
3 | ;
4 | LIBRARY
5 |
6 | EXPORTS
7 | vorbis_encode_init
8 | vorbis_encode_setup_managed
9 | vorbis_encode_setup_vbr
10 | vorbis_encode_init_vbr
11 | vorbis_encode_setup_init
12 | vorbis_encode_ctl
13 |
14 |
--------------------------------------------------------------------------------
/project/libvorbis/win32/vorbisfile.def:
--------------------------------------------------------------------------------
1 | ;
2 | ; vorbisfile.def
3 | ;
4 | ; last modified: $Id: vorbisfile.def 15566 2008-12-08 09:07:12Z conrad $
5 | ;
6 | LIBRARY
7 | EXPORTS
8 | ov_clear
9 | ov_open
10 | ov_open_callbacks
11 | ov_bitrate
12 | ov_bitrate_instant
13 | ov_streams
14 | ov_seekable
15 | ov_serialnumber
16 | ov_raw_total
17 | ov_pcm_total
18 | ov_time_total
19 | ov_raw_seek
20 | ov_pcm_seek
21 | ov_pcm_seek_page
22 | ov_time_seek
23 | ov_time_seek_page
24 | ov_raw_seek_lap
25 | ov_pcm_seek_lap
26 | ov_pcm_seek_page_lap
27 | ov_time_seek_lap
28 | ov_time_seek_page_lap
29 | ov_raw_tell
30 | ov_pcm_tell
31 | ov_time_tell
32 | ov_info
33 | ov_comment
34 | ov_read
35 | ov_read_float
36 | ov_test
37 | ov_test_callbacks
38 | ov_test_open
39 | ov_crosslap
40 | ov_halfrate
41 | ov_halfrate_p
42 | ov_fopen
43 |
--------------------------------------------------------------------------------
/project/libvpx-generic/.gitattributes:
--------------------------------------------------------------------------------
1 | *.[chs] filter=fixtabswsp
2 | *.[ch]pp filter=fixtabswsp
3 | *.[ch]xx filter=fixtabswsp
4 | *.asm filter=fixtabswsp
5 | *.php filter=fixtabswsp
6 | *.pl filter=fixtabswsp
7 | *.sh filter=fixtabswsp
8 | *.txt filter=fixwsp
9 | [Mm]akefile filter=fixwsp
10 | *.mk filter=fixwsp
11 | *.rc -crlf
12 | *.ds[pw] -crlf
13 | *.bat -crlf
14 | *.mmp -crlf
15 | *.dpj -crlf
16 | *.pjt -crlf
17 | *.vcp -crlf
18 | *.inf -crlf
19 |
--------------------------------------------------------------------------------
/project/libvpx-generic/.gitignore:
--------------------------------------------------------------------------------
1 | *.a
2 | *.asm.s
3 | *.d
4 | *.o
5 | *~
6 | /*-*.mk
7 | /*.asm
8 | /*.doxy
9 | /.bins
10 | /.deps
11 | /.docs
12 | /.install-*
13 | /.libs
14 | /Makefile
15 | /config.err
16 | /config.mk
17 | /decode_to_md5
18 | /decode_to_md5.c
19 | /decode_to_md5.dox
20 | /decode_with_drops
21 | /decode_with_drops.c
22 | /decode_with_drops.dox
23 | /docs/
24 | /doxyfile
25 | /error_resilient
26 | /error_resilient.c
27 | /error_resilient.dox
28 | /force_keyframe
29 | /force_keyframe.c
30 | /force_keyframe.dox
31 | /ivfdec
32 | /ivfdec.dox
33 | /ivfenc
34 | /ivfenc.dox
35 | /libvpx.so*
36 | /libvpx.ver
37 | /obj_int_extract
38 | /postproc
39 | /postproc.c
40 | /postproc.dox
41 | /samples.dox
42 | /simple_decoder
43 | /simple_decoder.c
44 | /simple_decoder.dox
45 | /simple_encoder
46 | /simple_encoder.c
47 | /simple_encoder.dox
48 | /test_libvpx
49 | /twopass_encoder
50 | /twopass_encoder.c
51 | /twopass_encoder.dox
52 | /vp8_api1_migration.dox
53 | /vp8_scalable_patterns
54 | /vp8_scalable_patterns.dox
55 | /vp8_set_maps
56 | /vp8_set_maps.c
57 | /vp8_set_maps.dox
58 | /vp8cx_set_ref
59 | /vp8cx_set_ref.c
60 | /vp8cx_set_ref.dox
61 | /vpx.pc
62 | /vpx_config.c
63 | /vpx_config.h
64 | /vpx_rtcd.h
65 | /vpx_version.h
66 | /vpxdec
67 | /vpxenc
68 | TAGS
69 | .cproject
70 | .project
71 | .settings
72 |
--------------------------------------------------------------------------------
/project/libvpx-generic/.mailmap:
--------------------------------------------------------------------------------
1 | Adrian Grange
2 | Johann Koenig
3 | Tero Rintaluoma
4 | Tom Finegan
5 | Ralph Giles
6 | Ralph Giles
7 | Alpha Lam
8 | Deb Mukherjee
9 |
--------------------------------------------------------------------------------
/project/libvpx-generic/build/.gitattributes:
--------------------------------------------------------------------------------
1 | *-vs8/*.rules -crlf
2 | *-msvs/*.rules -crlf
3 |
--------------------------------------------------------------------------------
/project/libvpx-generic/build/.gitignore:
--------------------------------------------------------------------------------
1 | x86*-win32-vs*
2 |
--------------------------------------------------------------------------------
/project/libvpx-generic/build/x86-msvs/obj_int_extract.bat:
--------------------------------------------------------------------------------
1 | REM Copyright (c) 2011 The WebM project authors. All Rights Reserved.
2 | REM
3 | REM Use of this source code is governed by a BSD-style license
4 | REM that can be found in the LICENSE file in the root of the source
5 | REM tree. An additional intellectual property rights grant can be found
6 | REM in the file PATENTS. All contributing project authors may
7 | REM be found in the AUTHORS file in the root of the source tree.
8 | echo on
9 |
10 | cl /I "./" /I "%1" /nologo /c "%1/vp8/common/asm_com_offsets.c"
11 | cl /I "./" /I "%1" /nologo /c "%1/vp8/decoder/asm_dec_offsets.c"
12 | cl /I "./" /I "%1" /nologo /c "%1/vp8/encoder/asm_enc_offsets.c"
13 | obj_int_extract.exe rvds "asm_com_offsets.obj" > "asm_com_offsets.asm"
14 | obj_int_extract.exe rvds "asm_dec_offsets.obj" > "asm_dec_offsets.asm"
15 | obj_int_extract.exe rvds "asm_enc_offsets.obj" > "asm_enc_offsets.asm"
16 |
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/error_resilient.txt:
--------------------------------------------------------------------------------
1 | @TEMPLATE encoder_tmpl.c
2 | Error Resiliency Features
3 | =========================
4 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INTRODUCTION
5 | This is an example demonstrating how to enable the error resiliency
6 | features of the codec.
7 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INTRODUCTION
8 |
9 |
10 | Configuration
11 | -------------
12 | Error resiliency is controlled by the g_error_resilient member of the
13 | configuration structure.
14 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ENC_SET_CFG2
15 |
16 | /* Enable error resilient mode */
17 | cfg.g_error_resilient = 1;
18 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ENC_SET_CFG2
19 |
20 |
21 | Observing The Effects
22 | ---------------------
23 | Use the `decode_with_drops` example to decode with frames 5-10 dropped.
24 | Compare the output for a file encoded with this example versus one
25 | encoded with the `simple_encoder` example.
26 |
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/force_keyframe.txt:
--------------------------------------------------------------------------------
1 | @TEMPLATE encoder_tmpl.c
2 | Forcing A Keyframe
3 | ==================
4 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INTRODUCTION
5 | This is an example demonstrating how to control placement of keyframes
6 | on a frame-by-frame basis.
7 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INTRODUCTION
8 |
9 |
10 | Configuration
11 | -------------
12 | Keyframes can be forced by setting the VPX_EFLAG_FORCE_KF bit of the
13 | flags passed to `vpx_codec_control()`. In this example, we force a
14 | keyframe every 8 frames.
15 |
16 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PER_FRAME_CFG
17 | if(!(frame_cnt & 7))
18 | flags |= VPX_EFLAG_FORCE_KF;
19 | else
20 | flags &= ~VPX_EFLAG_FORCE_KF;
21 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PER_FRAME_CFG
22 |
23 |
24 | Observing The Effects
25 | ---------------------
26 | The output of the encoder examples shows a 'K' rather than a dot '.'
27 | when the encoder generates a keyframe. Note that every 8 frames a 'K'
28 | is output.
29 |
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/HTML-Toc-0.91/.gitattributes:
--------------------------------------------------------------------------------
1 | * -crlf
2 |
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/HTML-Toc-0.91/Changes:
--------------------------------------------------------------------------------
1 | Revision history for Perl extension HTML::Toc.
2 |
3 | 2001-09-03 Freddy Vulto
4 |
5 | Release 0.91
6 |
7 | - Tested on Cygwin.
8 | - Used Unix file type for source files.
9 | - Updated documentation.
10 | - Prohibited call with undefined parameter to HTML::Parser->parse() from
11 | HTML::_tokenTocEndParser->parse() which caused havoc with version 3.25
12 | of HTML::Parser.
13 | - Specified 'HTML::Parser' as module that needs to be available in order
14 | to use HTML::Toc.
15 | - Added protected method HTML::TocGenerator::_setActiveAnchorName().
16 | This method replaces the incongruous access of
17 | 'HTML::TocUpdator::_doDeleteTokens' by HTML::TocGenerator.
18 | HTML::TocUpdator now overrides '_setActiveAnchorName()' to allow
19 | the ancestor call to HTML::TocGenerator only when '_doDeleteTokens'
20 | equals false.
21 |
22 | 2001-08-09 Freddy Vulto
23 |
24 | Release 0.90
25 |
26 | - First release.
27 |
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/HTML-Toc-0.91/MANIFEST:
--------------------------------------------------------------------------------
1 | Changes
2 | Toc.pod
3 | Toc.pm
4 | TocGenerator.pm
5 | TocInsertor.pm
6 | TocUpdator.pm
7 | Makefile.PL
8 | MANIFEST
9 | t/extend.t
10 | t/format.t
11 | t/generate.t
12 | t/insert.t
13 | t/manualTest.t
14 | t/options.t
15 | t/podExamples.t
16 | t/propagate.t
17 | t/siteMap.t
18 | t/update.t
19 | t/ManualTest/manualTest1.htm
20 | t/SiteMap/index.htm
21 | t/SiteMap/SubDir1/index.htm
22 | t/SiteMap/SubDir1/SubSubDir1/index.htm
23 | t/SiteMap/SubDir2/index.htm
24 | t/SiteMap/SubDir2/SubSubDir1/index.htm
25 | t/SiteMap/SubDir2/SubSubDir2/index.htm
26 | t/SiteMap/SubDir3/index.htm
27 |
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/HTML-Toc-0.91/Makefile.PL:
--------------------------------------------------------------------------------
1 | use ExtUtils::MakeMaker;
2 |
3 | WriteMakefile(
4 | 'NAME' => 'HTML::Toc',
5 | 'VERSION_FROM' => 'Toc.pm',
6 | 'PREREQ_PM' => {'HTML::Parser' => 0},
7 | 'MAN3PODS' => {},
8 | );
9 |
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/HTML-Toc-0.91/t/SiteMap/SubDir1/SubSubDir1/index.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | SubSub1
4 |
5 |
6 |
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/HTML-Toc-0.91/t/SiteMap/SubDir1/index.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | Sub1
4 |
5 |
6 |
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/HTML-Toc-0.91/t/SiteMap/SubDir2/SubSubDir1/index.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | SubSub1
4 |
5 |
6 |
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/HTML-Toc-0.91/t/SiteMap/SubDir2/SubSubDir2/index.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | SubSub2
4 |
5 |
6 |
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/HTML-Toc-0.91/t/SiteMap/SubDir2/index.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | Sub2
4 |
5 |
6 |
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/HTML-Toc-0.91/t/SiteMap/SubDir3/index.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | Sub3
4 |
5 |
6 |
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/HTML-Toc-0.91/t/SiteMap/index.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | Main
4 |
5 |
6 |
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/blank.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | GeSHi 1.0.8
4 |
5 |
6 |
7 |
8 | GeSHi 1.0.8
9 | Welcome to geshi!
10 |
11 | This documentation was generated by phpDocumentor v1.4.2
12 |
13 |
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/classtrees_geshi.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | Root class GeSHi
17 |
19 |
20 |
21 | Documentation generated on Thu, 25 Dec 2008 14:34:34 +0100 by phpDocumentor 1.4.2
22 |
23 |
24 |
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/errors.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | phpDocumentor Parser Errors and Warnings
7 |
8 |
9 |
10 |
11 | Post-parsing
12 |
13 | geshi.php
14 | Errors:
15 | Error on line 569 - DocBlock has multiple @access tags, illegal. ignoring additional tag "@access private"
16 |
17 | Documentation generated on Thu, 25 Dec 2008 14:34:53 +0100 by phpDocumentor 1.4.2
18 |
19 |
20 |
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/index.html:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 | GeSHi 1.0.8
9 |
10 |
11 |
12 |
24 |
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/banner.css:
--------------------------------------------------------------------------------
1 | body
2 | {
3 | background-color: #EEEEEE;
4 | margin: 0px;
5 | padding: 0px;
6 | }
7 |
8 | /* Banner (top bar) classes */
9 |
10 | .banner { }
11 |
12 | .banner-menu
13 | {
14 | text-align: right;
15 | clear: both;
16 | padding: .5em;
17 | border-top: 2px solid #AAAAAA;
18 | }
19 |
20 | .banner-title
21 | {
22 | text-align: right;
23 | font-size: 20pt;
24 | font-weight: bold;
25 | margin: .2em;
26 | }
27 |
28 | .package-selector
29 | {
30 | background-color: #DDDDDD;
31 | border: 1px solid #AAAAAA;
32 | color: #000090;
33 | }
34 |
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/AbstractClass.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/AbstractClass.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/AbstractClass_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/AbstractClass_logo.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/AbstractMethod.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/AbstractMethod.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/AbstractPrivateClass.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/AbstractPrivateClass.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/AbstractPrivateClass_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/AbstractPrivateClass_logo.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/AbstractPrivateMethod.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/AbstractPrivateMethod.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Class.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Class.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Class_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Class_logo.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Constant.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Constant.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Constructor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Constructor.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Destructor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Destructor.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Function.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Function.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Global.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Global.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/I.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/I.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Index.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Index.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Interface.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Interface.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Interface_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Interface_logo.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/L.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/L.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Lminus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Lminus.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Lplus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Lplus.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Method.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Method.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Page.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Page.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Page_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Page_logo.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/PrivateClass.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/PrivateClass.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/PrivateClass_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/PrivateClass_logo.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/PrivateMethod.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/PrivateMethod.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/PrivateVariable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/PrivateVariable.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/StaticMethod.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/StaticMethod.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/StaticVariable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/StaticVariable.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/T.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/T.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Tminus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Tminus.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Tplus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Tplus.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Variable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/Variable.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/blank.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/blank.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/class_folder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/class_folder.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/empty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/empty.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/file.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/file.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/folder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/folder.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/function_folder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/function_folder.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/next_button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/next_button.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/next_button_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/next_button_disabled.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/package.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/package.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/package_folder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/package_folder.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/previous_button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/previous_button.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/previous_button_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/previous_button_disabled.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/private_class_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/private_class_logo.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/tutorial.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/tutorial.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/tutorial_folder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/tutorial_folder.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/up_button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/examples/includes/geshi/docs/api/media/images/up_button.png
--------------------------------------------------------------------------------
/project/libvpx-generic/examples/includes/geshi/docs/api/packages.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
28 |
29 |
--------------------------------------------------------------------------------
/project/libvpx-generic/libmkv/EbmlBufferWriter.h:
--------------------------------------------------------------------------------
1 | #ifndef EBMLBUFFERWRITER_HPP
2 | #define EBMLBUFFERWRITER_HPP
3 |
4 | typedef struct
5 | {
6 | unsigned long long offset;
7 | } EbmlLoc;
8 |
9 | typedef struct
10 | {
11 | unsigned char *buf;
12 | unsigned int length;
13 | unsigned int offset;
14 | } EbmlGlobal;
15 |
16 |
17 | void Ebml_StartSubElement(EbmlGlobal *glob, EbmlLoc *ebmlLoc, unsigned long class_id);
18 | void Ebml_EndSubElement(EbmlGlobal *glob, EbmlLoc *ebmlLoc);
19 |
20 |
21 | #endif
22 |
--------------------------------------------------------------------------------
/project/libvpx-generic/libmkv/Makefile:
--------------------------------------------------------------------------------
1 | #Variables
2 | CC=gcc
3 | LINKER=gcc
4 | FLAGS=
5 |
6 |
7 | #Build Targets
8 | EbmlWriter.o: EbmlWriter.c EbmlWriter.h
9 | $(CC) $(FLAGS) -c EbmlWriter.c
10 |
11 | EbmlBufferWriter.o: EbmlBufferWriter.c EbmlBufferWriter.h
12 | $(CC) $(FLAGS) -c EbmlBufferWriter.c
13 |
14 | MkvElement.o: MkvElement.c WebMElement.h
15 | $(CC) $(FLAGS) -c MkvElement.c
16 |
17 | testlibmkv.o: testlibmkv.c
18 | $(CC) $(FLAGS) -c testlibmkv.c
19 |
20 | testlibmkv: testlibmkv.o MkvElement.o EbmlBufferWriter.o EbmlWriter.o
21 | $(LINKER) $(FLAGS) testlibmkv.o MkvElement.o EbmlBufferWriter.o EbmlWriter.o -o testlibmkv
22 |
23 | clean:
24 | rm -rf *.o testlibmkv
25 |
--------------------------------------------------------------------------------
/project/libvpx-generic/nestegg/.gitignore:
--------------------------------------------------------------------------------
1 | *.lo
2 | *.o
3 | *.swp
4 | *~
5 | .deps
6 | .dirstamp
7 | .libs
8 | Makefile
9 | Makefile.in
10 | _stdint.h
11 | aclocal.m4
12 | autom4te.cache
13 | compile
14 | config.guess
15 | config.h
16 | config.h.in
17 | config.log
18 | config.status
19 | config.sub
20 | configure
21 | depcomp
22 | docs/Doxyfile
23 | docs/doxygen-build.stamp
24 | docs/html
25 | install-sh
26 | libtool
27 | ltmain.sh
28 | m4/libtool.m4
29 | m4/ltoptions.m4
30 | m4/ltsugar.m4
31 | m4/ltversion.m4
32 | m4/lt~obsolete.m4
33 | missing
34 | nestegg-uninstalled.pc
35 | nestegg.pc
36 | src/.dirstamp
37 | src/libnestegg.la
38 | stamp-h1
39 | test/test
40 | include/nestegg/nestegg-stdint.h
41 |
--------------------------------------------------------------------------------
/project/libvpx-generic/nestegg/AUTHORS:
--------------------------------------------------------------------------------
1 | Matthew Gregan
2 |
--------------------------------------------------------------------------------
/project/libvpx-generic/nestegg/INSTALL:
--------------------------------------------------------------------------------
1 | Build instructions for libnestegg
2 | =================================
3 |
4 | 0. Change directory into the source directory.
5 | 1. Run |autoreconf --install| to generate configure.
6 | 2. Run |./configure| to configure the build.
7 | 3. Run |make| to build.
8 | 4. Run |make check| to run the test suite.
9 |
--------------------------------------------------------------------------------
/project/libvpx-generic/nestegg/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright © 2010 Mozilla Foundation
2 |
3 | Permission to use, copy, modify, and distribute this software for any
4 | purpose with or without fee is hereby granted, provided that the above
5 | copyright notice and this permission notice appear in all copies.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14 |
--------------------------------------------------------------------------------
/project/libvpx-generic/nestegg/README:
--------------------------------------------------------------------------------
1 | See INSTALL for build instructions.
2 |
3 | Licensed under an ISC-style license. See LICENSE for details.
4 |
5 | The source under the halloc/ directory is licensed under a BSD license. See
6 | halloc/halloc.h for details.
7 |
--------------------------------------------------------------------------------
/project/libvpx-generic/nestegg/TODO:
--------------------------------------------------------------------------------
1 | - Document when read, seek, tell callbacks are used.
2 | - Add an automated testsuite.
3 | - Test (and fix, if necessary) support for unknown sizes.
4 | - Test (and fix, if necessary) support for large files.
5 | - Read past unknown elements rather than seeking.
6 | - Try to handle unknown elements with unknown sizes.
7 | - Formalize handling of default element values.
8 | - Try to resynchronize stream when read_block fails so that failure to parse
9 | a single block can be treated as non-fatal.
10 | - Make logging more useful to API users.
11 | - Avoid reparsing Cues and ignore any SeekHead at end of file.
12 | - Optionally build a Cue index as Clusters are parsed.
13 | - Support seeking without Cues.
14 | - Avoid building a list of Clusters as they are parsed and retain only the
15 | last one parsed.
16 | - Add an asynchronous error code to struct nestegg and ensure that API calls
17 | continue to fail safely one a fatal error has been returned.
18 | - Modify parser/data structures to provide a clean separation. Perhaps the
19 | parser should return a generic tree of nodes that a second pass uses to
20 | initialize the main data structures.
21 | - Use pool allocator for all allocations.
22 |
--------------------------------------------------------------------------------
/project/libvpx-generic/nestegg/docs/Makefile.am:
--------------------------------------------------------------------------------
1 | doc_DATA = doxygen-build.stamp
2 |
3 | EXTRA_DIST = Doxyfile.in
4 |
5 | if HAVE_DOXYGEN
6 | doxygen-build.stamp: Doxyfile
7 | doxygen
8 | touch doxygen-build.stamp
9 | else
10 | doxygen-build.stamp:
11 | echo "*** Warning: Doxygen not found; documentation will not be built."
12 | touch doxygen-build.stamp
13 | endif
14 |
15 | dist_docdir = $(distdir)/libnestegg
16 |
17 | dist-hook:
18 | if test -d html; then \
19 | mkdir $(dist_docdir); \
20 | echo -n "copying built documenation..."; \
21 | cp -rp html $(dist_docdir)/html; \
22 | echo "OK"; \
23 | fi
24 |
25 |
26 | install-data-local: doxygen-build.stamp
27 | $(mkinstalldirs) $(DESTDIR)$(docdir)
28 | if test -d html; then \
29 | cp -rp html $(DESTDIR)$(docdir)/html; \
30 | fi
31 |
32 | uninstall-local:
33 | rm -rf $(DESTDIR)$(docdir)
34 |
35 | clean-local:
36 | if test -d html; then rm -rf html; fi
37 | if test -f doxygen-build.stamp; then rm -f doxygen-build.stamp; fi
38 |
39 |
--------------------------------------------------------------------------------
/project/libvpx-generic/nestegg/halloc/halloc.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2004-2010 Alex Pankratov. All rights reserved.
3 | *
4 | * Hierarchical memory allocator, 1.2.1
5 | * http://swapped.cc/halloc
6 | */
7 |
8 | /*
9 | * The program is distributed under terms of BSD license.
10 | * You can obtain the copy of the license by visiting:
11 | *
12 | * http://www.opensource.org/licenses/bsd-license.php
13 | */
14 |
15 | #ifndef _LIBP_HALLOC_H_
16 | #define _LIBP_HALLOC_H_
17 |
18 | #include /* size_t */
19 |
20 | /*
21 | * Core API
22 | */
23 | void * halloc (void * block, size_t len);
24 | void hattach(void * block, void * parent);
25 |
26 | /*
27 | * standard malloc/free api
28 | */
29 | void * h_malloc (size_t len);
30 | void * h_calloc (size_t n, size_t len);
31 | void * h_realloc(void * p, size_t len);
32 | void h_free (void * p);
33 | char * h_strdup (const char * str);
34 |
35 | /*
36 | * the underlying allocator
37 | */
38 | typedef void * (* realloc_t)(void * ptr, size_t len);
39 |
40 | extern realloc_t halloc_allocator;
41 |
42 | #endif
43 |
44 |
--------------------------------------------------------------------------------
/project/libvpx-generic/nestegg/halloc/src/align.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2004-2010 Alex Pankratov. All rights reserved.
3 | *
4 | * Hierarchical memory allocator, 1.2.1
5 | * http://swapped.cc/halloc
6 | */
7 |
8 | /*
9 | * The program is distributed under terms of BSD license.
10 | * You can obtain the copy of the license by visiting:
11 | *
12 | * http://www.opensource.org/licenses/bsd-license.php
13 | */
14 |
15 | #ifndef _LIBP_ALIGN_H_
16 | #define _LIBP_ALIGN_H_
17 |
18 | /*
19 | * a type with the most strict alignment requirements
20 | */
21 | union max_align
22 | {
23 | char c;
24 | short s;
25 | long l;
26 | int i;
27 | float f;
28 | double d;
29 | void * v;
30 | void (*q)(void);
31 | };
32 |
33 | typedef union max_align max_align_t;
34 |
35 | #endif
36 |
37 |
--------------------------------------------------------------------------------
/project/libvpx-generic/nestegg/halloc/src/macros.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2004-2010 Alex Pankratov. All rights reserved.
3 | *
4 | * Hierarchical memory allocator, 1.2.1
5 | * http://swapped.cc/halloc
6 | */
7 |
8 | /*
9 | * The program is distributed under terms of BSD license.
10 | * You can obtain the copy of the license by visiting:
11 | *
12 | * http://www.opensource.org/licenses/bsd-license.php
13 | */
14 |
15 | #ifndef _LIBP_MACROS_H_
16 | #define _LIBP_MACROS_H_
17 |
18 | #include /* offsetof */
19 |
20 | /*
21 | restore pointer to the structure by a pointer to its field
22 | */
23 | #define structof(p,t,f) ((t*)(- offsetof(t,f) + (char*)(p)))
24 |
25 | /*
26 | * redefine for the target compiler
27 | */
28 | #ifdef _WIN32
29 | #define static_inline static __inline
30 | #else
31 | #define static_inline static __inline__
32 | #endif
33 |
34 |
35 | #endif
36 |
37 |
--------------------------------------------------------------------------------
/project/libvpx-generic/nestegg/m4/as-ac-expand.m4:
--------------------------------------------------------------------------------
1 | dnl as-ac-expand.m4 0.2.0
2 | dnl autostars m4 macro for expanding directories using configure's prefix
3 | dnl thomas@apestaart.org
4 |
5 | dnl AS_AC_EXPAND(VAR, CONFIGURE_VAR)
6 | dnl example
7 | dnl AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)
8 | dnl will set SYSCONFDIR to /usr/local/etc if prefix=/usr/local
9 |
10 | AC_DEFUN([AS_AC_EXPAND],
11 | [
12 | EXP_VAR=[$1]
13 | FROM_VAR=[$2]
14 |
15 | dnl first expand prefix and exec_prefix if necessary
16 | prefix_save=$prefix
17 | exec_prefix_save=$exec_prefix
18 |
19 | dnl if no prefix given, then use /usr/local, the default prefix
20 | if test "x$prefix" = "xNONE"; then
21 | prefix="$ac_default_prefix"
22 | fi
23 | dnl if no exec_prefix given, then use prefix
24 | if test "x$exec_prefix" = "xNONE"; then
25 | exec_prefix=$prefix
26 | fi
27 |
28 | full_var="$FROM_VAR"
29 | dnl loop until it doesn't change anymore
30 | while true; do
31 | new_full_var="`eval echo $full_var`"
32 | if test "x$new_full_var" = "x$full_var"; then break; fi
33 | full_var=$new_full_var
34 | done
35 |
36 | dnl clean up
37 | full_var=$new_full_var
38 | AC_SUBST([$1], "$full_var")
39 |
40 | dnl restore prefix and exec_prefix
41 | prefix=$prefix_save
42 | exec_prefix=$exec_prefix_save
43 | ])
44 |
--------------------------------------------------------------------------------
/project/libvpx-generic/nestegg/nestegg-uninstalled.pc.in:
--------------------------------------------------------------------------------
1 | # nestegg uninstalled pkg-config file
2 |
3 | prefix=@prefix@
4 | exec_prefix=@exec_prefix@
5 | libdir=@libdir@
6 | includedir=@includedir@
7 |
8 | Name: nestegg
9 | Description: WebM/Matroska demuxer
10 | Version: @VERSION@
11 | Conflicts:
12 | Libs: -L${libdir} -lnestegg
13 | Cflags: -I${includedir}
14 |
--------------------------------------------------------------------------------
/project/libvpx-generic/nestegg/nestegg.pc.in:
--------------------------------------------------------------------------------
1 | # nestegg installed pkg-config file
2 |
3 | prefix=@prefix@
4 | exec_prefix=@exec_prefix@
5 | libdir=@libdir@
6 | includedir=@includedir@
7 |
8 | Name: nestegg
9 | Description: WebM/Matroska demuxer
10 | Version: @VERSION@
11 | Conflicts:
12 | Libs: -L${libdir} -lnestegg
13 | Cflags: -I${includedir}
14 |
--------------------------------------------------------------------------------
/project/libvpx-generic/solution.mk:
--------------------------------------------------------------------------------
1 | ##
2 | ## Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | ##
4 | ## Use of this source code is governed by a BSD-style license
5 | ## that can be found in the LICENSE file in the root of the source
6 | ## tree. An additional intellectual property rights grant can be found
7 | ## in the file PATENTS. All contributing project authors may
8 | ## be found in the AUTHORS file in the root of the source tree.
9 | ##
10 |
11 | # libvpx reverse dependencies (targets that depend on libvpx)
12 | VPX_NONDEPS=$(addsuffix .vcproj,vpx gtest obj_int_extract)
13 | VPX_RDEPS=$(foreach vcp,\
14 | $(filter-out $(VPX_NONDEPS),$^), --dep=$(vcp:.vcproj=):vpx)
15 |
16 | vpx.sln: $(wildcard *.vcproj)
17 | @echo " [CREATE] $@"
18 | $(SRC_PATH_BARE)/build/make/gen_msvs_sln.sh \
19 | $(if $(filter vpx.vcproj,$^),$(VPX_RDEPS)) \
20 | --dep=vpx:obj_int_extract \
21 | --dep=test_libvpx:gtest \
22 | --ver=$(CONFIG_VS_VERSION)\
23 | --out=$@ $^
24 | vpx.sln.mk: vpx.sln
25 | @true
26 |
27 | PROJECTS-yes += vpx.sln vpx.sln.mk
28 | -include vpx.sln.mk
29 |
30 | # Always install this file, as it is an unconditional post-build rule.
31 | INSTALL_MAPS += src/% $(SRC_PATH_BARE)/%
32 | INSTALL-SRCS-yes += $(target).mk
33 |
--------------------------------------------------------------------------------
/project/libvpx-generic/test/acm_random.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2012 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 | #ifndef LIBVPX_TEST_ACM_RANDOM_H_
12 | #define LIBVPX_TEST_ACM_RANDOM_H_
13 |
14 | #include
15 |
16 | #include "vpx/vpx_integer.h"
17 |
18 | namespace libvpx_test {
19 |
20 | class ACMRandom {
21 | public:
22 | ACMRandom() {
23 | Reset(DeterministicSeed());
24 | }
25 |
26 | explicit ACMRandom(int seed) {
27 | Reset(seed);
28 | }
29 |
30 | void Reset(int seed) {
31 | srand(seed);
32 | }
33 |
34 | uint8_t Rand8(void) {
35 | return (rand() >> 8) & 0xff;
36 | }
37 |
38 | int PseudoUniform(int range) {
39 | return (rand() >> 8) % range;
40 | }
41 |
42 | int operator()(int n) {
43 | return PseudoUniform(n);
44 | }
45 |
46 | static int DeterministicSeed(void) {
47 | return 0xbaba;
48 | }
49 | };
50 |
51 | } // namespace libvpx_test
52 |
53 | #endif // LIBVPX_TEST_ACM_RANDOM_H_
54 |
--------------------------------------------------------------------------------
/project/libvpx-generic/test/decode_test_driver.cc:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2012 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 | #include "test/decode_test_driver.h"
11 | #include "third_party/googletest/src/include/gtest/gtest.h"
12 |
13 | namespace libvpx_test {
14 | #if CONFIG_VP8_DECODER
15 | void Decoder::DecodeFrame(const uint8_t *cxdata, int size) {
16 | if(!decoder_.priv) {
17 | const vpx_codec_err_t res_init = vpx_codec_dec_init(&decoder_,
18 | &vpx_codec_vp8_dx_algo,
19 | &cfg_, 0);
20 | ASSERT_EQ(VPX_CODEC_OK, res_init) << DecodeError();
21 | }
22 |
23 | const vpx_codec_err_t res_dec = vpx_codec_decode(&decoder_,
24 | cxdata, size, NULL, 0);
25 | ASSERT_EQ(VPX_CODEC_OK, res_dec) << DecodeError();
26 | }
27 | #endif
28 | } // namespace libvpx_test
29 |
--------------------------------------------------------------------------------
/project/libvpx-generic/test/test-data.sha1:
--------------------------------------------------------------------------------
1 | d5dfb0151c9051f8c85999255645d7a23916d3c0 hantro_collage_w352h288.yuv
2 |
--------------------------------------------------------------------------------
/project/libvpx-generic/test/util.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2012 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 | #ifndef TEST_UTIL_H_
12 | #define TEST_UTIL_H_
13 |
14 | // Macros
15 | #define PARAMS(...) ::testing::TestWithParam< std::tr1::tuple< __VA_ARGS__ > >
16 | #define GET_PARAM(k) std::tr1::get< k >(GetParam())
17 |
18 | #endif // TEST_UTIL_H_
19 |
--------------------------------------------------------------------------------
/project/libvpx-generic/third_party/googletest/README.webm:
--------------------------------------------------------------------------------
1 | URL: http://code.google.com/p/googletest/
2 | Version: 1.6.0
3 | License: BSD
4 | License File: COPYING
5 |
6 | Description:
7 | Google's framework for writing C++ tests on a variety of platforms
8 | (Linux, Mac OS X, Windows, Windows CE, Symbian, etc). Based on the
9 | xUnit architecture. Supports automatic test discovery, a rich set of
10 | assertions, user-defined assertions, death tests, fatal and non-fatal
11 | failures, various options for running the tests, and XML test report
12 | generation.
13 |
14 | Local Modifications:
15 | None.
--------------------------------------------------------------------------------
/project/libvpx-generic/third_party/googletest/gtest.mk:
--------------------------------------------------------------------------------
1 | GTEST_SRCS-yes += src/gtest-all.cc
2 |
--------------------------------------------------------------------------------
/project/libvpx-generic/third_party/googletest/src/build-aux/.keep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/project/libvpx-generic/third_party/googletest/src/build-aux/.keep
--------------------------------------------------------------------------------
/project/libvpx-generic/third_party/googletest/src/xcode/Config/DebugProject.xcconfig:
--------------------------------------------------------------------------------
1 | //
2 | // DebugProject.xcconfig
3 | //
4 | // These are Debug Configuration project settings for the gtest framework and
5 | // examples. It is set in the "Based On:" dropdown in the "Project" info
6 | // dialog.
7 | // This file is based on the Xcode Configuration files in:
8 | // http://code.google.com/p/google-toolbox-for-mac/
9 | //
10 |
11 | #include "General.xcconfig"
12 |
13 | // No optimization
14 | GCC_OPTIMIZATION_LEVEL = 0
15 |
16 | // Deployment postprocessing is what triggers Xcode to strip, turn it off
17 | DEPLOYMENT_POSTPROCESSING = NO
18 |
19 | // Dead code stripping off
20 | DEAD_CODE_STRIPPING = NO
21 |
22 | // Debug symbols should be on obviously
23 | GCC_GENERATE_DEBUGGING_SYMBOLS = YES
24 |
25 | // Define the DEBUG macro in all debug builds
26 | OTHER_CFLAGS = $(OTHER_CFLAGS) -DDEBUG=1
27 |
28 | // These are turned off to avoid STL incompatibilities with client code
29 | // // Turns on special C++ STL checks to "encourage" good STL use
30 | // GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS) _GLIBCXX_DEBUG_PEDANTIC _GLIBCXX_DEBUG _GLIBCPP_CONCEPT_CHECKS
31 |
--------------------------------------------------------------------------------
/project/libvpx-generic/third_party/googletest/src/xcode/Config/FrameworkTarget.xcconfig:
--------------------------------------------------------------------------------
1 | //
2 | // FrameworkTarget.xcconfig
3 | //
4 | // These are Framework target settings for the gtest framework and examples. It
5 | // is set in the "Based On:" dropdown in the "Target" info dialog.
6 | // This file is based on the Xcode Configuration files in:
7 | // http://code.google.com/p/google-toolbox-for-mac/
8 | //
9 |
10 | // Dynamic libs need to be position independent
11 | GCC_DYNAMIC_NO_PIC = NO
12 |
13 | // Dynamic libs should not have their external symbols stripped.
14 | STRIP_STYLE = non-global
15 |
16 | // Let the user install by specifying the $DSTROOT with xcodebuild
17 | SKIP_INSTALL = NO
18 |
--------------------------------------------------------------------------------
/project/libvpx-generic/third_party/googletest/src/xcode/Config/ReleaseProject.xcconfig:
--------------------------------------------------------------------------------
1 | //
2 | // ReleaseProject.xcconfig
3 | //
4 | // These are Release Configuration project settings for the gtest framework
5 | // and examples. It is set in the "Based On:" dropdown in the "Project" info
6 | // dialog.
7 | // This file is based on the Xcode Configuration files in:
8 | // http://code.google.com/p/google-toolbox-for-mac/
9 | //
10 |
11 | #include "General.xcconfig"
12 |
13 | // subconfig/Release.xcconfig
14 |
15 | // Optimize for space and size (Apple recommendation)
16 | GCC_OPTIMIZATION_LEVEL = s
17 |
18 | // Deploment postprocessing is what triggers Xcode to strip
19 | DEPLOYMENT_POSTPROCESSING = YES
20 |
21 | // No symbols
22 | GCC_GENERATE_DEBUGGING_SYMBOLS = NO
23 |
24 | // Dead code strip does not affect ObjC code but can help for C
25 | DEAD_CODE_STRIPPING = YES
26 |
27 | // NDEBUG is used by things like assert.h, so define it for general compat.
28 | // ASSERT going away in release tends to create unused vars.
29 | OTHER_CFLAGS = $(OTHER_CFLAGS) -DNDEBUG=1 -Wno-unused-variable
30 |
31 | // When we strip we want to strip all symbols in release, but save externals.
32 | STRIP_STYLE = all
33 |
--------------------------------------------------------------------------------
/project/libvpx-generic/third_party/googletest/src/xcode/Config/StaticLibraryTarget.xcconfig:
--------------------------------------------------------------------------------
1 | //
2 | // StaticLibraryTarget.xcconfig
3 | //
4 | // These are static library target settings for libgtest.a. It
5 | // is set in the "Based On:" dropdown in the "Target" info dialog.
6 | // This file is based on the Xcode Configuration files in:
7 | // http://code.google.com/p/google-toolbox-for-mac/
8 | //
9 |
10 | // Static libs can be included in bundles so make them position independent
11 | GCC_DYNAMIC_NO_PIC = NO
12 |
13 | // Static libs should not have their internal globals or external symbols
14 | // stripped.
15 | STRIP_STYLE = debugging
16 |
17 | // Let the user install by specifying the $DSTROOT with xcodebuild
18 | SKIP_INSTALL = NO
19 |
--------------------------------------------------------------------------------
/project/libvpx-generic/third_party/googletest/src/xcode/Config/TestTarget.xcconfig:
--------------------------------------------------------------------------------
1 | //
2 | // TestTarget.xcconfig
3 | //
4 | // These are Test target settings for the gtest framework and examples. It
5 | // is set in the "Based On:" dropdown in the "Target" info dialog.
6 |
7 | PRODUCT_NAME = $(TARGET_NAME)
8 | HEADER_SEARCH_PATHS = ../include
9 |
--------------------------------------------------------------------------------
/project/libvpx-generic/third_party/googletest/src/xcode/Resources/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | English
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIconFile
10 |
11 | CFBundleIdentifier
12 | com.google.${PRODUCT_NAME}
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleSignature
18 | ????
19 | CFBundleVersion
20 | GTEST_VERSIONINFO_LONG
21 | CFBundleShortVersionString
22 | GTEST_VERSIONINFO_SHORT
23 | CFBundleGetInfoString
24 | ${PRODUCT_NAME} GTEST_VERSIONINFO_LONG, ${GTEST_VERSIONINFO_ABOUT}
25 | NSHumanReadableCopyright
26 | ${GTEST_VERSIONINFO_ABOUT}
27 | CSResourcesFileMapped
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/project/libvpx-generic/third_party/googletest/src/xcode/Samples/FrameworkSample/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | English
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIconFile
10 |
11 | CFBundleIdentifier
12 | com.google.gtest.${PRODUCT_NAME:identifier}
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | ${PRODUCT_NAME}
17 | CFBundlePackageType
18 | FMWK
19 | CFBundleShortVersionString
20 | 1.0
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | 1.0
25 | CSResourcesFileMapped
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/project/libvpx-generic/third_party/libyuv/README.webm:
--------------------------------------------------------------------------------
1 | Name: libyuv
2 | URL: http://code.google.com/p/libyuv/
3 | Version: 102
4 | License: BSD
5 | License File: LICENSE
6 |
7 | Description:
8 | libyuv is an open source project that includes YUV conversion and scaling
9 | functionality.
10 |
11 | The optimized scaler in libyuv is used in multiple resolution encoder example,
12 | which down-samples the original input video (f.g. 1280x720) a number of times
13 | in order to encode multiple resolution bit streams.
14 |
15 | Local Modifications:
16 | Modified the original scaler code from C++ to C to fit in our current build
17 | system. This is a temporal solution, and will be improved later.
--------------------------------------------------------------------------------
/project/libvpx-generic/tools/author_first_release.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | ##
3 | ## List the release each author first contributed to.
4 | ##
5 | ## Usage: author_first_release.sh [TAGS]
6 | ##
7 | ## If the TAGS arguments are unspecified, all tags reported by `git tag`
8 | ## will be considered.
9 | ##
10 | tags=${@:-$(git tag)}
11 | for tag in $tags; do
12 | git shortlog -n -e -s $tag |
13 | cut -f2- |
14 | awk "{print \"${tag#v}\t\"\$0}"
15 | done | sort -k2 | uniq -f2
16 |
--------------------------------------------------------------------------------
/project/libvpx-generic/tools/gen_authors.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # Add organization names manually.
4 |
5 | cat <" | sort | uniq)
10 | Google Inc.
11 | The Mozilla Foundation
12 | The Xiph.Org Foundation
13 | EOF
14 |
--------------------------------------------------------------------------------
/project/libvpx-generic/tools_common.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 | #include
11 | #include "tools_common.h"
12 | #if defined(_WIN32) || defined(__OS2__)
13 | #include
14 | #include
15 |
16 | #ifdef __OS2__
17 | #define _setmode setmode
18 | #define _fileno fileno
19 | #define _O_BINARY O_BINARY
20 | #endif
21 | #endif
22 |
23 | FILE* set_binary_mode(FILE *stream)
24 | {
25 | (void)stream;
26 | #if defined(_WIN32) || defined(__OS2__)
27 | _setmode(_fileno(stream), _O_BINARY);
28 | #endif
29 | return stream;
30 | }
31 |
--------------------------------------------------------------------------------
/project/libvpx-generic/tools_common.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 | #ifndef TOOLS_COMMON_H
11 | #define TOOLS_COMMON_H
12 |
13 | /* Sets a stdio stream into binary mode */
14 | FILE* set_binary_mode(FILE *stream);
15 |
16 | #endif
17 |
--------------------------------------------------------------------------------
/project/libvpx-generic/usage_cx.dox:
--------------------------------------------------------------------------------
1 | /*! \page usage_encode Encode
2 |
3 | The vpx_codec_encode() function is at the core of the encode loop. It
4 | processes raw images passed by the application, producing packets of
5 | compressed data. The deadline
parameter controls the amount
6 | of time in microseconds the encoder should spend working on the frame. For
7 | more information on the deadline
parameter, see
8 | \ref usage_deadline.
9 |
10 |
11 | \ref samples
12 |
13 | */
14 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/alloccommon.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef __INC_ALLOCCOMMON_H
13 | #define __INC_ALLOCCOMMON_H
14 |
15 | #include "onyxc_int.h"
16 |
17 | void vp8_create_common(VP8_COMMON *oci);
18 | void vp8_remove_common(VP8_COMMON *oci);
19 | void vp8_de_alloc_frame_buffers(VP8_COMMON *oci);
20 | int vp8_alloc_frame_buffers(VP8_COMMON *oci, int width, int height);
21 | void vp8_setup_version(VP8_COMMON *oci);
22 |
23 | #endif
24 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/arm/bilinearfilter_arm.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2011 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef BILINEARFILTER_ARM_H
13 | #define BILINEARFILTER_ARM_H
14 |
15 | extern void vp8_filter_block2d_bil_first_pass_armv6
16 | (
17 | const unsigned char *src_ptr,
18 | unsigned short *dst_ptr,
19 | unsigned int src_pitch,
20 | unsigned int height,
21 | unsigned int width,
22 | const short *vp8_filter
23 | );
24 |
25 | extern void vp8_filter_block2d_bil_second_pass_armv6
26 | (
27 | const unsigned short *src_ptr,
28 | unsigned char *dst_ptr,
29 | int dst_pitch,
30 | unsigned int height,
31 | unsigned int width,
32 | const short *vp8_filter
33 | );
34 |
35 | #endif /* BILINEARFILTER_ARM_H */
36 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/arm/dequantize_arm.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #include "vpx_config.h"
13 | #include "vp8/common/blockd.h"
14 |
15 | #if HAVE_NEON
16 | extern void vp8_dequantize_b_loop_neon(short *Q, short *DQC, short *DQ);
17 | #endif
18 |
19 | #if HAVE_MEDIA
20 | extern void vp8_dequantize_b_loop_v6(short *Q, short *DQC, short *DQ);
21 | #endif
22 |
23 | #if HAVE_NEON
24 |
25 | void vp8_dequantize_b_neon(BLOCKD *d, short *DQC)
26 | {
27 | short *DQ = d->dqcoeff;
28 | short *Q = d->qcoeff;
29 |
30 | vp8_dequantize_b_loop_neon(Q, DQC, DQ);
31 | }
32 | #endif
33 |
34 | #if HAVE_MEDIA
35 | void vp8_dequantize_b_v6(BLOCKD *d, short *DQC)
36 | {
37 | short *DQ = d->dqcoeff;
38 | short *Q = d->qcoeff;
39 |
40 | vp8_dequantize_b_loop_v6(Q, DQC, DQ);
41 | }
42 | #endif
43 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/arm/neon/copymem8x4_neon.asm:
--------------------------------------------------------------------------------
1 | ;
2 | ; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | ;
4 | ; Use of this source code is governed by a BSD-style license
5 | ; that can be found in the LICENSE file in the root of the source
6 | ; tree. An additional intellectual property rights grant can be found
7 | ; in the file PATENTS. All contributing project authors may
8 | ; be found in the AUTHORS file in the root of the source tree.
9 | ;
10 |
11 |
12 | EXPORT |vp8_copy_mem8x4_neon|
13 | ; ARM
14 | ; REQUIRE8
15 | ; PRESERVE8
16 |
17 | AREA Block, CODE, READONLY ; name this block of code
18 | ;void copy_mem8x4_neon( unsigned char *src, int src_stride, unsigned char *dst, int dst_stride)
19 | ;-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
20 | |vp8_copy_mem8x4_neon| PROC
21 | vld1.u8 {d0}, [r0], r1
22 | vld1.u8 {d1}, [r0], r1
23 | vst1.u8 {d0}, [r2], r3
24 | vld1.u8 {d2}, [r0], r1
25 | vst1.u8 {d1}, [r2], r3
26 | vld1.u8 {d3}, [r0], r1
27 | vst1.u8 {d2}, [r2], r3
28 | vst1.u8 {d3}, [r2], r3
29 |
30 | mov pc, lr
31 |
32 | ENDP ; |vp8_copy_mem8x4_neon|
33 |
34 | END
35 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/arm/neon/dequantizeb_neon.asm:
--------------------------------------------------------------------------------
1 | ;
2 | ; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | ;
4 | ; Use of this source code is governed by a BSD-style license
5 | ; that can be found in the LICENSE file in the root of the source
6 | ; tree. An additional intellectual property rights grant can be found
7 | ; in the file PATENTS. All contributing project authors may
8 | ; be found in the AUTHORS file in the root of the source tree.
9 | ;
10 |
11 |
12 | EXPORT |vp8_dequantize_b_loop_neon|
13 | ARM
14 | REQUIRE8
15 | PRESERVE8
16 |
17 | AREA ||.text||, CODE, READONLY, ALIGN=2
18 | ; r0 short *Q,
19 | ; r1 short *DQC
20 | ; r2 short *DQ
21 | |vp8_dequantize_b_loop_neon| PROC
22 | vld1.16 {q0, q1}, [r0]
23 | vld1.16 {q2, q3}, [r1]
24 |
25 | vmul.i16 q4, q0, q2
26 | vmul.i16 q5, q1, q3
27 |
28 | vst1.16 {q4, q5}, [r2]
29 |
30 | bx lr
31 |
32 | ENDP
33 |
34 | END
35 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/arm/neon/save_reg_neon.asm:
--------------------------------------------------------------------------------
1 | ;
2 | ; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | ;
4 | ; Use of this source code is governed by a BSD-style license
5 | ; that can be found in the LICENSE file in the root of the source
6 | ; tree. An additional intellectual property rights grant can be found
7 | ; in the file PATENTS. All contributing project authors may
8 | ; be found in the AUTHORS file in the root of the source tree.
9 | ;
10 |
11 |
12 | EXPORT |vp8_push_neon|
13 | EXPORT |vp8_pop_neon|
14 |
15 | ARM
16 | REQUIRE8
17 | PRESERVE8
18 |
19 | AREA ||.text||, CODE, READONLY, ALIGN=2
20 |
21 | |vp8_push_neon| PROC
22 | vst1.i64 {d8, d9, d10, d11}, [r0]!
23 | vst1.i64 {d12, d13, d14, d15}, [r0]!
24 | bx lr
25 |
26 | ENDP
27 |
28 | |vp8_pop_neon| PROC
29 | vld1.i64 {d8, d9, d10, d11}, [r0]!
30 | vld1.i64 {d12, d13, d14, d15}, [r0]!
31 | bx lr
32 |
33 | ENDP
34 |
35 | END
36 |
37 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/blockd.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #include "blockd.h"
13 | #include "vpx_mem/vpx_mem.h"
14 |
15 | const unsigned char vp8_block2left[25] =
16 | {
17 | 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8
18 | };
19 | const unsigned char vp8_block2above[25] =
20 | {
21 | 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 4, 5, 4, 5, 6, 7, 6, 7, 8
22 | };
23 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/common.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef common_h
13 | #define common_h 1
14 |
15 | #include
16 |
17 | /* Interface header for common constant data structures and lookup tables */
18 |
19 | #include "vpx_mem/vpx_mem.h"
20 |
21 | /* Only need this for fixed-size arrays, for structs just assign. */
22 |
23 | #define vp8_copy( Dest, Src) { \
24 | assert( sizeof( Dest) == sizeof( Src)); \
25 | vpx_memcpy( Dest, Src, sizeof( Src)); \
26 | }
27 |
28 | /* Use this for variably-sized arrays. */
29 |
30 | #define vp8_copy_array( Dest, Src, N) { \
31 | assert( sizeof( *Dest) == sizeof( *Src)); \
32 | vpx_memcpy( Dest, Src, N * sizeof( *Src)); \
33 | }
34 |
35 | #define vp8_zero( Dest) vpx_memset( &Dest, 0, sizeof( Dest));
36 |
37 | #define vp8_zero_array( Dest, N) vpx_memset( Dest, 0, N * sizeof( *Dest));
38 |
39 |
40 | #endif /* common_h */
41 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/dequantize.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #include "vpx_config.h"
13 | #include "vpx_rtcd.h"
14 | #include "vp8/common/blockd.h"
15 | #include "vpx_mem/vpx_mem.h"
16 |
17 | void vp8_dequantize_b_c(BLOCKD *d, short *DQC)
18 | {
19 | int i;
20 | short *DQ = d->dqcoeff;
21 | short *Q = d->qcoeff;
22 |
23 | for (i = 0; i < 16; i++)
24 | {
25 | DQ[i] = Q[i] * DQC[i];
26 | }
27 | }
28 |
29 | void vp8_dequant_idct_add_c(short *input, short *dq,
30 | unsigned char *dest, int stride)
31 | {
32 | int i;
33 |
34 | for (i = 0; i < 16; i++)
35 | {
36 | input[i] = dq[i] * input[i];
37 | }
38 |
39 | vp8_short_idct4x4llm_c(input, dest, stride, dest, stride);
40 |
41 | vpx_memset(input, 0, 32);
42 |
43 | }
44 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/extend.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef __INC_EXTEND_H
13 | #define __INC_EXTEND_H
14 |
15 | #include "vpx_scale/yv12config.h"
16 |
17 | void vp8_extend_mb_row(YV12_BUFFER_CONFIG *ybf, unsigned char *YPtr, unsigned char *UPtr, unsigned char *VPtr);
18 | void vp8_copy_and_extend_frame(YV12_BUFFER_CONFIG *src,
19 | YV12_BUFFER_CONFIG *dst);
20 | void vp8_copy_and_extend_frame_with_rect(YV12_BUFFER_CONFIG *src,
21 | YV12_BUFFER_CONFIG *dst,
22 | int srcy, int srcx,
23 | int srch, int srcw);
24 |
25 | #endif
26 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/filter.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2011 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef FILTER_H
13 | #define FILTER_H
14 |
15 | #define BLOCK_HEIGHT_WIDTH 4
16 | #define VP8_FILTER_WEIGHT 128
17 | #define VP8_FILTER_SHIFT 7
18 |
19 | extern const short vp8_bilinear_filters[8][2];
20 | extern const short vp8_sub_pel_filters[8][6];
21 |
22 | #endif
23 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/header.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef __INC_HEADER_H
13 | #define __INC_HEADER_H
14 |
15 | /* 24 bits total */
16 | typedef struct
17 | {
18 | unsigned int type: 1;
19 | unsigned int version: 3;
20 | unsigned int show_frame: 1;
21 |
22 | /* Allow 2^20 bytes = 8 megabits for first partition */
23 |
24 | unsigned int first_partition_length_in_bytes: 19;
25 |
26 | #ifdef PACKET_TESTING
27 | unsigned int frame_number;
28 | unsigned int update_gold: 1;
29 | unsigned int uses_gold: 1;
30 | unsigned int update_last: 1;
31 | unsigned int uses_last: 1;
32 | #endif
33 |
34 | } VP8_HEADER;
35 |
36 | #ifdef PACKET_TESTING
37 | #define VP8_HEADER_SIZE 8
38 | #else
39 | #define VP8_HEADER_SIZE 3
40 | #endif
41 |
42 |
43 | #endif
44 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/mips/dspr2/dequantize_dspr2.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2012 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #include "vpx_config.h"
13 | #include "vpx_rtcd.h"
14 | #include "vpx_mem/vpx_mem.h"
15 |
16 | #if HAVE_DSPR2
17 | void vp8_dequant_idct_add_dspr2(short *input, short *dq,
18 | unsigned char *dest, int stride)
19 | {
20 | int i;
21 |
22 | for (i = 0; i < 16; i++)
23 | {
24 | input[i] = dq[i] * input[i];
25 | }
26 |
27 | vp8_short_idct4x4llm_dspr2(input, dest, stride, dest, stride);
28 |
29 | vpx_memset(input, 0, 32);
30 |
31 | }
32 |
33 | #endif
34 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/modecont.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #include "entropy.h"
13 |
14 | const int vp8_mode_contexts[6][4] =
15 | {
16 | {
17 | /* 0 */
18 | 7, 1, 1, 143,
19 | },
20 | {
21 | /* 1 */
22 | 14, 18, 14, 107,
23 | },
24 | {
25 | /* 2 */
26 | 135, 64, 57, 68,
27 | },
28 | {
29 | /* 3 */
30 | 60, 56, 128, 65,
31 | },
32 | {
33 | /* 4 */
34 | 159, 134, 128, 34,
35 | },
36 | {
37 | /* 5 */
38 | 234, 188, 128, 28,
39 | },
40 | };
41 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/modecont.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef __INC_MODECONT_H
13 | #define __INC_MODECONT_H
14 |
15 | extern const int vp8_mode_contexts[6][4];
16 |
17 | #endif
18 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/mv.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef __INC_MV_H
13 | #define __INC_MV_H
14 | #include "vpx/vpx_integer.h"
15 |
16 | typedef struct
17 | {
18 | short row;
19 | short col;
20 | } MV;
21 |
22 | typedef union int_mv
23 | {
24 | uint32_t as_int;
25 | MV as_mv;
26 | } int_mv; /* facilitates faster equality tests and copies */
27 |
28 | #endif
29 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/pragmas.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 |
13 |
14 | #ifdef __INTEL_COMPILER
15 | #pragma warning(disable:997 1011 170)
16 | #endif
17 | #ifdef _MSC_VER
18 | #pragma warning(disable:4799)
19 | #endif
20 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/quant_common.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #include "string.h"
13 | #include "blockd.h"
14 | #include "onyxc_int.h"
15 |
16 | extern int vp8_ac_yquant(int QIndex);
17 | extern int vp8_dc_quant(int QIndex, int Delta);
18 | extern int vp8_dc2quant(int QIndex, int Delta);
19 | extern int vp8_ac2quant(int QIndex, int Delta);
20 | extern int vp8_dc_uv_quant(int QIndex, int Delta);
21 | extern int vp8_ac_uv_quant(int QIndex, int Delta);
22 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/reconintra4x4.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef __INC_RECONINTRA4x4_H
13 | #define __INC_RECONINTRA4x4_H
14 | #include "vp8/common/blockd.h"
15 |
16 | static void intra_prediction_down_copy(MACROBLOCKD *xd,
17 | unsigned char *above_right_src)
18 | {
19 | int dst_stride = xd->dst.y_stride;
20 | unsigned char *above_right_dst = xd->dst.y_buffer - dst_stride + 16;
21 |
22 | unsigned int *src_ptr = (unsigned int *)above_right_src;
23 | unsigned int *dst_ptr0 = (unsigned int *)(above_right_dst + 4 * dst_stride);
24 | unsigned int *dst_ptr1 = (unsigned int *)(above_right_dst + 8 * dst_stride);
25 | unsigned int *dst_ptr2 = (unsigned int *)(above_right_dst + 12 * dst_stride);
26 |
27 | *dst_ptr0 = *src_ptr;
28 | *dst_ptr1 = *src_ptr;
29 | *dst_ptr2 = *src_ptr;
30 | }
31 |
32 | #endif
33 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/setupintrarecon.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #include "vpx_scale/yv12config.h"
13 | extern void vp8_setup_intra_recon(YV12_BUFFER_CONFIG *ybf);
14 | extern void vp8_setup_intra_recon_top_line(YV12_BUFFER_CONFIG *ybf);
15 |
16 | static
17 | void setup_intra_recon_left(unsigned char *y_buffer,
18 | unsigned char *u_buffer,
19 | unsigned char *v_buffer,
20 | int y_stride,
21 | int uv_stride)
22 | {
23 | int i;
24 |
25 | for (i = 0; i < 16; i++)
26 | y_buffer[y_stride *i] = (unsigned char) 129;
27 |
28 | for (i = 0; i < 8; i++)
29 | u_buffer[uv_stride *i] = (unsigned char) 129;
30 |
31 | for (i = 0; i < 8; i++)
32 | v_buffer[uv_stride *i] = (unsigned char) 129;
33 | }
34 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/swapyv12buffer.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #include "swapyv12buffer.h"
13 |
14 | void vp8_swap_yv12_buffer(YV12_BUFFER_CONFIG *new_frame, YV12_BUFFER_CONFIG *last_frame)
15 | {
16 | unsigned char *temp;
17 |
18 | temp = last_frame->buffer_alloc;
19 | last_frame->buffer_alloc = new_frame->buffer_alloc;
20 | new_frame->buffer_alloc = temp;
21 |
22 | temp = last_frame->y_buffer;
23 | last_frame->y_buffer = new_frame->y_buffer;
24 | new_frame->y_buffer = temp;
25 |
26 | temp = last_frame->u_buffer;
27 | last_frame->u_buffer = new_frame->u_buffer;
28 | new_frame->u_buffer = temp;
29 |
30 | temp = last_frame->v_buffer;
31 | last_frame->v_buffer = new_frame->v_buffer;
32 | new_frame->v_buffer = temp;
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/swapyv12buffer.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef SWAPYV12_BUFFER_H
13 | #define SWAPYV12_BUFFER_H
14 |
15 | #include "vpx_scale/yv12config.h"
16 |
17 | void vp8_swap_yv12_buffer(YV12_BUFFER_CONFIG *new_frame, YV12_BUFFER_CONFIG *last_frame);
18 |
19 | #endif
20 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/systemdependent.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #include "vpx_config.h"
13 | #if ARCH_X86 || ARCH_X86_64
14 | void vpx_reset_mmx_state(void);
15 | #define vp8_clear_system_state() vpx_reset_mmx_state()
16 | #else
17 | #define vp8_clear_system_state()
18 | #endif
19 |
20 | struct VP8Common;
21 | void vp8_machine_specific_config(struct VP8Common *);
22 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/x86/filter_x86.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2011 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 | #ifndef FILTER_X86_H
12 | #define FILTER_X86_H
13 |
14 | /* x86 assembly specific copy of vp8/common/filter.c:vp8_bilinear_filters with
15 | * duplicated values */
16 | extern const short vp8_bilinear_filters_x86_4[8][8]; /* duplicated 4x */
17 | extern const short vp8_bilinear_filters_x86_8[8][16]; /* duplicated 8x */
18 |
19 | #endif /* FILTER_X86_H */
20 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/common/x86/postproc_x86.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2012 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 | /* On Android NDK, rand is inlined function, but postproc needs rand symbol */
12 | #if defined(__ANDROID__)
13 | #define rand __rand
14 | #include
15 | #undef rand
16 |
17 | extern int rand(void)
18 | {
19 | return __rand();
20 | }
21 | #else
22 | /* ISO C forbids an empty translation unit. */
23 | int vp8_unused;
24 | #endif
25 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/decoder/asm_dec_offsets.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2011 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #include "vpx_ports/asm_offsets.h"
13 | #include "onyxd_int.h"
14 |
15 | BEGIN
16 |
17 | DEFINE(bool_decoder_user_buffer_end, offsetof(BOOL_DECODER, user_buffer_end));
18 | DEFINE(bool_decoder_user_buffer, offsetof(BOOL_DECODER, user_buffer));
19 | DEFINE(bool_decoder_value, offsetof(BOOL_DECODER, value));
20 | DEFINE(bool_decoder_count, offsetof(BOOL_DECODER, count));
21 | DEFINE(bool_decoder_range, offsetof(BOOL_DECODER, range));
22 |
23 | END
24 |
25 | /* add asserts for any offset that is not supported by assembly code */
26 | /* add asserts for any size that is not supported by assembly code */
27 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/decoder/decodemv.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #include "onyxd_int.h"
13 |
14 | void vp8_decode_mode_mvs(VP8D_COMP *);
15 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/decoder/decoderthreading.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 |
13 |
14 |
15 | #ifndef _DECODER_THREADING_H
16 | #define _DECODER_THREADING_H
17 |
18 | #if CONFIG_MULTITHREAD
19 | extern void vp8mt_decode_mb_rows(VP8D_COMP *pbi, MACROBLOCKD *xd);
20 | extern void vp8_decoder_remove_threads(VP8D_COMP *pbi);
21 | extern void vp8_decoder_create_threads(VP8D_COMP *pbi);
22 | extern void vp8mt_alloc_temp_buffers(VP8D_COMP *pbi, int width, int prev_mb_rows);
23 | extern void vp8mt_de_alloc_temp_buffers(VP8D_COMP *pbi, int mb_rows);
24 | #endif
25 |
26 | #endif
27 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/decoder/detokenize.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef DETOKENIZE_H
13 | #define DETOKENIZE_H
14 |
15 | #include "onyxd_int.h"
16 |
17 | void vp8_reset_mb_tokens_context(MACROBLOCKD *x);
18 | int vp8_decode_mb_tokens(VP8D_COMP *, MACROBLOCKD *);
19 |
20 | #endif /* DETOKENIZE_H */
21 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/decoder/treereader.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef tree_reader_h
13 | #define tree_reader_h 1
14 |
15 | #include "vp8/common/treecoder.h"
16 |
17 | #include "dboolhuff.h"
18 |
19 | typedef BOOL_DECODER vp8_reader;
20 |
21 | #define vp8_read vp8dx_decode_bool
22 | #define vp8_read_literal vp8_decode_value
23 | #define vp8_read_bit( R) vp8_read( R, vp8_prob_half)
24 |
25 |
26 | /* Intent of tree data structure is to make decoding trivial. */
27 |
28 | static int vp8_treed_read(
29 | vp8_reader *const r, /* !!! must return a 0 or 1 !!! */
30 | vp8_tree t,
31 | const vp8_prob *const p
32 | )
33 | {
34 | register vp8_tree_index i = 0;
35 |
36 | while ((i = t[ i + vp8_read(r, p[i>>1])]) > 0) ;
37 |
38 | return -i;
39 | }
40 |
41 | #endif /* tree_reader_h */
42 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/encoder/arm/dct_arm.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2011 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 | #include "vpx_config.h"
12 | #include "vpx_rtcd.h"
13 |
14 | #if HAVE_MEDIA
15 |
16 | void vp8_short_fdct8x4_armv6(short *input, short *output, int pitch)
17 | {
18 | vp8_short_fdct4x4_armv6(input, output, pitch);
19 | vp8_short_fdct4x4_armv6(input + 4, output + 16, pitch);
20 | }
21 |
22 | #endif /* HAVE_MEDIA */
23 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/encoder/encodeframe.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2012 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 | #ifndef ENCODEFRAME_H
11 | #define ENCODEFRAME_H
12 | extern void vp8_activity_masking(VP8_COMP *cpi, MACROBLOCK *x);
13 |
14 | extern void vp8_build_block_offsets(MACROBLOCK *x);
15 |
16 | extern void vp8_setup_block_ptrs(MACROBLOCK *x);
17 |
18 | extern void vp8_encode_frame(VP8_COMP *cpi);
19 |
20 | extern int vp8cx_encode_inter_macroblock(VP8_COMP *cpi, MACROBLOCK *x,
21 | TOKENEXTRA **t,
22 | int recon_yoffset, int recon_uvoffset,
23 | int mb_row, int mb_col);
24 |
25 | extern int vp8cx_encode_intra_macroblock(VP8_COMP *cpi, MACROBLOCK *x,
26 | TOKENEXTRA **t);
27 | #endif
28 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/encoder/encodeintra.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef _ENCODEINTRA_H_
13 | #define _ENCODEINTRA_H_
14 | #include "onyx_int.h"
15 |
16 | int vp8_encode_intra(VP8_COMP *cpi, MACROBLOCK *x, int use_dc_pred);
17 | void vp8_encode_intra16x16mby(MACROBLOCK *x);
18 | void vp8_encode_intra16x16mbuv(MACROBLOCK *x);
19 | void vp8_encode_intra4x4mby(MACROBLOCK *mb);
20 | void vp8_encode_intra4x4block(MACROBLOCK *x, int ib);
21 | #endif
22 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/encoder/encodemb.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef __INC_ENCODEMB_H
13 | #define __INC_ENCODEMB_H
14 |
15 | #include "onyx_int.h"
16 | void vp8_encode_inter16x16(MACROBLOCK *x);
17 |
18 | void vp8_build_dcblock(MACROBLOCK *b);
19 | void vp8_transform_mb(MACROBLOCK *mb);
20 | void vp8_transform_mbuv(MACROBLOCK *x);
21 | void vp8_transform_intra_mby(MACROBLOCK *x);
22 |
23 | void vp8_optimize_mby(MACROBLOCK *x);
24 | void vp8_optimize_mbuv(MACROBLOCK *x);
25 | void vp8_encode_inter16x16y(MACROBLOCK *x);
26 | #endif
27 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/encoder/encodemv.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef __INC_ENCODEMV_H
13 | #define __INC_ENCODEMV_H
14 |
15 | #include "onyx_int.h"
16 |
17 | void vp8_write_mvprobs(VP8_COMP *);
18 | void vp8_encode_motion_vector(vp8_writer *, const MV *, const MV_CONTEXT *);
19 | void vp8_build_component_cost_table(int *mvcost[2], const MV_CONTEXT *mvc, int mvc_flag[2]);
20 |
21 | #endif
22 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/encoder/firstpass.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #if !defined __INC_FIRSTPASS_H
13 | #define __INC_FIRSTPASS_H
14 |
15 | extern void vp8_init_first_pass(VP8_COMP *cpi);
16 | extern void vp8_first_pass(VP8_COMP *cpi);
17 | extern void vp8_end_first_pass(VP8_COMP *cpi);
18 |
19 | extern void vp8_init_second_pass(VP8_COMP *cpi);
20 | extern void vp8_second_pass(VP8_COMP *cpi);
21 | extern void vp8_end_second_pass(VP8_COMP *cpi);
22 |
23 | extern size_t vp8_firstpass_stats_sz(unsigned int mb_count);
24 | #endif
25 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/encoder/modecosts.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef __INC_MODECOSTS_H
13 | #define __INC_MODECOSTS_H
14 |
15 | void vp8_init_mode_costs(VP8_COMP *x);
16 |
17 | #endif
18 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/encoder/mr_dissim.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef __INC_MR_DISSIM_H
13 | #define __INC_MR_DISSIM_H
14 | #include "vpx_config.h"
15 |
16 | extern void vp8_cal_low_res_mb_cols(VP8_COMP *cpi);
17 | extern void vp8_cal_dissimilarity(VP8_COMP *cpi);
18 | extern void vp8_store_drop_frame_info(VP8_COMP *cpi);
19 |
20 | #endif
21 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/encoder/pickinter.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef __INC_PICKINTER_H
13 | #define __INC_PICKINTER_H
14 | #include "vpx_config.h"
15 | #include "vp8/common/onyxc_int.h"
16 |
17 | extern void vp8_pick_inter_mode(VP8_COMP *cpi, MACROBLOCK *x, int recon_yoffset,
18 | int recon_uvoffset, int *returnrate,
19 | int *returndistortion, int *returnintra,
20 | int mb_row, int mb_col);
21 | extern void vp8_pick_intra_mode(VP8_COMP *cpi, MACROBLOCK *x, int *rate);
22 |
23 | extern int vp8_get_inter_mbpred_error(MACROBLOCK *mb,
24 | const vp8_variance_fn_ptr_t *vfp,
25 | unsigned int *sse,
26 | int_mv this_mv);
27 | #endif
28 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/encoder/psnr.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #include "vpx_scale/yv12config.h"
13 | #include "math.h"
14 | #include "vp8/common/systemdependent.h" /* for vp8_clear_system_state() */
15 |
16 | #define MAX_PSNR 60
17 |
18 | double vp8_mse2psnr(double Samples, double Peak, double Mse)
19 | {
20 | double psnr;
21 |
22 | if ((double)Mse > 0.0)
23 | psnr = 10.0 * log10(Peak * Peak * Samples / Mse);
24 | else
25 | psnr = MAX_PSNR; /* Limit to prevent / 0 */
26 |
27 | if (psnr > MAX_PSNR)
28 | psnr = MAX_PSNR;
29 |
30 | return psnr;
31 | }
32 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/encoder/psnr.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef __INC_PSNR_H
13 | #define __INC_PSNR_H
14 |
15 | extern double vp8_mse2psnr(double Samples, double Peak, double Mse);
16 |
17 | #endif
18 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/encoder/quantize.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef __INC_QUANTIZE_H
13 | #define __INC_QUANTIZE_H
14 |
15 | struct VP8_COMP;
16 | struct macroblock;
17 | extern void vp8_set_quantizer(struct VP8_COMP *cpi, int Q);
18 | extern void vp8cx_frame_init_quantizer(struct VP8_COMP *cpi);
19 | extern void vp8_update_zbin_extra(struct VP8_COMP *cpi, struct macroblock *x);
20 | extern void vp8cx_mb_init_quantizer(struct VP8_COMP *cpi, struct macroblock *x, int ok_to_skip);
21 | extern void vp8cx_init_quantizer(struct VP8_COMP *cpi);
22 |
23 | #endif
24 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/encoder/ratectrl.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #if !defined __INC_RATECTRL_H
13 |
14 | #include "onyx_int.h"
15 |
16 | extern void vp8_save_coding_context(VP8_COMP *cpi);
17 | extern void vp8_restore_coding_context(VP8_COMP *cpi);
18 |
19 | extern void vp8_setup_key_frame(VP8_COMP *cpi);
20 | extern void vp8_update_rate_correction_factors(VP8_COMP *cpi, int damp_var);
21 | extern int vp8_regulate_q(VP8_COMP *cpi, int target_bits_per_frame);
22 | extern void vp8_adjust_key_frame_context(VP8_COMP *cpi);
23 | extern void vp8_compute_frame_size_bounds(VP8_COMP *cpi, int *frame_under_shoot_limit, int *frame_over_shoot_limit);
24 |
25 | /* return of 0 means drop frame */
26 | extern int vp8_pick_frame_size(VP8_COMP *cpi);
27 |
28 | #endif
29 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/encoder/segmentation.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #include "string.h"
13 | #include "vp8/common/blockd.h"
14 | #include "onyx_int.h"
15 |
16 | extern void vp8_update_gf_useage_maps(VP8_COMP *cpi, VP8_COMMON *cm, MACROBLOCK *x);
17 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/encoder/treewriter.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #include "treewriter.h"
13 |
14 | static void cost(
15 | int *const C,
16 | vp8_tree T,
17 | const vp8_prob *const P,
18 | int i,
19 | int c
20 | )
21 | {
22 | const vp8_prob p = P [i>>1];
23 |
24 | do
25 | {
26 | const vp8_tree_index j = T[i];
27 | const int d = c + vp8_cost_bit(p, i & 1);
28 |
29 | if (j <= 0)
30 | C[-j] = d;
31 | else
32 | cost(C, T, P, j, d);
33 | }
34 | while (++i & 1);
35 | }
36 | void vp8_cost_tokens(int *c, const vp8_prob *p, vp8_tree t)
37 | {
38 | cost(c, t, p, 0, 0);
39 | }
40 | void vp8_cost_tokens2(int *c, const vp8_prob *p, vp8_tree t,int start)
41 | {
42 | cost(c, t, p, start, 0);
43 | }
44 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/exports_dec:
--------------------------------------------------------------------------------
1 | data vpx_codec_vp8_dx_algo
2 | text vpx_codec_vp8_dx
3 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vp8/exports_enc:
--------------------------------------------------------------------------------
1 | data vpx_codec_vp8_cx_algo
2 | text vpx_codec_vp8_cx
3 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vpx/exports_com:
--------------------------------------------------------------------------------
1 | text vpx_codec_build_config
2 | text vpx_codec_control_
3 | text vpx_codec_destroy
4 | text vpx_codec_err_to_string
5 | text vpx_codec_error
6 | text vpx_codec_error_detail
7 | text vpx_codec_get_caps
8 | text vpx_codec_iface_name
9 | text vpx_codec_version
10 | text vpx_codec_version_extra_str
11 | text vpx_codec_version_str
12 | text vpx_img_alloc
13 | text vpx_img_flip
14 | text vpx_img_free
15 | text vpx_img_set_rect
16 | text vpx_img_wrap
17 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vpx/exports_dec:
--------------------------------------------------------------------------------
1 | text vpx_codec_dec_init_ver
2 | text vpx_codec_decode
3 | text vpx_codec_get_frame
4 | text vpx_codec_get_mem_map
5 | text vpx_codec_get_stream_info
6 | text vpx_codec_peek_stream_info
7 | text vpx_codec_register_put_frame_cb
8 | text vpx_codec_register_put_slice_cb
9 | text vpx_codec_set_mem_map
10 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vpx/exports_enc:
--------------------------------------------------------------------------------
1 | text vpx_codec_enc_config_default
2 | text vpx_codec_enc_config_set
3 | text vpx_codec_enc_init_ver
4 | text vpx_codec_encode
5 | text vpx_codec_get_cx_data
6 | text vpx_codec_get_global_headers
7 | text vpx_codec_get_preview_frame
8 | text vpx_codec_set_cx_data_buf
9 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vpx/vpx_codec.mk:
--------------------------------------------------------------------------------
1 | ##
2 | ## Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | ##
4 | ## Use of this source code is governed by a BSD-style license
5 | ## that can be found in the LICENSE file in the root of the source
6 | ## tree. An additional intellectual property rights grant can be found
7 | ## in the file PATENTS. All contributing project authors may
8 | ## be found in the AUTHORS file in the root of the source tree.
9 | ##
10 |
11 |
12 | API_EXPORTS += exports
13 |
14 | API_SRCS-yes += src/vpx_decoder.c
15 | API_SRCS-yes += vpx_decoder.h
16 | API_SRCS-yes += src/vpx_encoder.c
17 | API_SRCS-yes += vpx_encoder.h
18 | API_SRCS-yes += internal/vpx_codec_internal.h
19 | API_SRCS-yes += src/vpx_codec.c
20 | API_SRCS-yes += src/vpx_image.c
21 | API_SRCS-yes += vpx_codec.h
22 | API_SRCS-yes += vpx_codec.mk
23 | API_SRCS-yes += vpx_codec_impl_bottom.h
24 | API_SRCS-yes += vpx_codec_impl_top.h
25 | API_SRCS-yes += vpx_image.h
26 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vpx/vpx_codec_impl_bottom.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | /*
13 | * This file is to be included at the bottom of the header files defining the
14 | * interface to individual codecs and contains matching blocks to those defined
15 | * in vpx_codec_impl_top.h
16 | */
17 | #ifdef __cplusplus
18 | }
19 | #endif
20 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vpx/vpx_codec_impl_top.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | /*
13 | * This file is to be included at the top of the header files defining the
14 | * interface to individual codecs and contains various workarounds common
15 | * to all codec implementations.
16 | */
17 | #ifdef __cplusplus
18 | extern "C" {
19 | #endif
20 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vpx_config.c:
--------------------------------------------------------------------------------
1 | /* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
2 | /* */
3 | /* Use of this source code is governed by a BSD-style license */
4 | /* that can be found in the LICENSE file in the root of the source */
5 | /* tree. An additional intellectual property rights grant can be found */
6 | /* in the file PATENTS. All contributing project authors may */
7 | /* be found in the AUTHORS file in the root of the source tree. */
8 | static const char* const cfg = "--target=generic-gnu --disable-examples --disable-docs --disable-unit-tests --disable-vp8-encoder";
9 | const char *vpx_codec_build_config(void) {return cfg;}
10 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vpx_mem/memory_manager/hmm_true.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | /* This code is in the public domain.
13 | ** Version: 1.1 Author: Walt Karas
14 | */
15 |
16 | #include "hmm_intrnl.h"
17 |
18 | U(size_aau) U(true_size)(void *payload_ptr)
19 | {
20 | register head_record *head_ptr = PTR_REC_TO_HEAD(payload_ptr);
21 |
22 | #ifdef HMM_AUDIT_FAIL
23 | AUDIT_BLOCK(head_ptr)
24 | #endif
25 |
26 | /* Convert block size from BAUs to AAUs. Subtract head size, leaving
27 | ** payload size.
28 | */
29 | return(
30 | (BLOCK_BAUS(head_ptr) * ((U(size_aau)) HMM_BLOCK_ALIGN_UNIT)) -
31 | HEAD_AAUS);
32 | }
33 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vpx_mem/vpx_mem.mk:
--------------------------------------------------------------------------------
1 | MEM_SRCS-yes += vpx_mem.mk
2 | MEM_SRCS-yes += vpx_mem.c
3 | MEM_SRCS-yes += vpx_mem.h
4 | MEM_SRCS-yes += include/vpx_mem_intrnl.h
5 |
6 | MEM_SRCS-$(CONFIG_MEM_TRACKER) += vpx_mem_tracker.c
7 | MEM_SRCS-$(CONFIG_MEM_TRACKER) += include/vpx_mem_tracker.h
8 |
9 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/hmm_true.c
10 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/hmm_resize.c
11 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/hmm_shrink.c
12 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/hmm_largest.c
13 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/hmm_dflt_abort.c
14 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/hmm_base.c
15 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/include
16 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/include/hmm_intrnl.h
17 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/include/cavl_if.h
18 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/include/hmm_cnfg.h
19 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/include/heapmm.h
20 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/include/cavl_impl.h
21 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/hmm_grow.c
22 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/hmm_alloc.c
23 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vpx_ports/arm.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef VPX_PORTS_ARM_H
13 | #define VPX_PORTS_ARM_H
14 | #include
15 | #include "vpx_config.h"
16 |
17 | /*ARMv5TE "Enhanced DSP" instructions.*/
18 | #define HAS_EDSP 0x01
19 | /*ARMv6 "Parallel" or "Media" instructions.*/
20 | #define HAS_MEDIA 0x02
21 | /*ARMv7 optional NEON instructions.*/
22 | #define HAS_NEON 0x04
23 |
24 | int arm_cpu_caps(void);
25 |
26 | #endif
27 |
28 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vpx_ports/asm_offsets.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2011 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef VPX_PORTS_ASM_OFFSETS_H
13 | #define VPX_PORTS_ASM_OFFSETS_H
14 |
15 | #include
16 |
17 | #define ct_assert(name,cond) \
18 | static void assert_##name(void) UNUSED;\
19 | static void assert_##name(void) {switch(0){case 0:case !!(cond):;}}
20 |
21 | #if INLINE_ASM
22 | #define DEFINE(sym, val) asm("\n" #sym " EQU %0" : : "i" (val))
23 | #define BEGIN int main(void) {
24 | #define END return 0; }
25 | #else
26 | #define DEFINE(sym, val) const int sym = val
27 | #define BEGIN
28 | #define END
29 | #endif
30 |
31 | #endif /* VPX_PORTS_ASM_OFFSETS_H */
32 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vpx_ports/emms.asm:
--------------------------------------------------------------------------------
1 | ;
2 | ; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | ;
4 | ; Use of this source code is governed by a BSD-style license
5 | ; that can be found in the LICENSE file in the root of the source
6 | ; tree. An additional intellectual property rights grant can be found
7 | ; in the file PATENTS. All contributing project authors may
8 | ; be found in the AUTHORS file in the root of the source tree.
9 | ;
10 |
11 |
12 | %include "vpx_ports/x86_abi_support.asm"
13 |
14 | section .text
15 | global sym(vpx_reset_mmx_state) PRIVATE
16 | sym(vpx_reset_mmx_state):
17 | emms
18 | ret
19 |
20 |
21 | %ifidn __OUTPUT_FORMAT__,x64
22 | global sym(vpx_winx64_fldcw) PRIVATE
23 | sym(vpx_winx64_fldcw):
24 | sub rsp, 8
25 | mov [rsp], rcx ; win x64 specific
26 | fldcw [rsp]
27 | add rsp, 8
28 | ret
29 |
30 |
31 | global sym(vpx_winx64_fstcw) PRIVATE
32 | sym(vpx_winx64_fstcw):
33 | sub rsp, 8
34 | fstcw [rsp]
35 | mov rax, [rsp]
36 | add rsp, 8
37 | ret
38 | %endif
39 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vpx_scale/arm/neon/yv12extend_arm.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 | #include "vpx_rtcd.h"
12 |
13 | extern void vp8_yv12_copy_frame_func_neon(struct yv12_buffer_config *src_ybc,
14 | struct yv12_buffer_config *dst_ybc);
15 |
16 | void vp8_yv12_copy_frame_neon(struct yv12_buffer_config *src_ybc,
17 | struct yv12_buffer_config *dst_ybc)
18 | {
19 | vp8_yv12_copy_frame_func_neon(src_ybc, dst_ybc);
20 |
21 | vp8_yv12_extend_frame_borders_neon(dst_ybc);
22 | }
23 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vpx_scale/generic/yv12extend_generic.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef YV12_EXTEND_GENERIC_H
13 | #define YV12_EXTEND_GENERIC_H
14 |
15 | #include "vpx_scale/yv12config.h"
16 |
17 | void vp8_yv12_extend_frame_borders(YV12_BUFFER_CONFIG *ybf);
18 |
19 | /* Copy Y,U,V buffer data from src to dst, filling border of dst as well. */
20 | void vp8_yv12_copy_frame(YV12_BUFFER_CONFIG *src_ybc, YV12_BUFFER_CONFIG *dst_ybc);
21 |
22 | /* Copy Y buffer data from src_ybc to dst_ybc without filling border data */
23 | void vp8_yv12_copy_y_c(YV12_BUFFER_CONFIG *src_ybc, YV12_BUFFER_CONFIG *dst_ybc);
24 |
25 | #endif /* YV12_EXTEND_GENERIC_H */
26 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vpx_scale/scale_mode.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | /****************************************************************************
13 | *
14 | *****************************************************************************
15 | */
16 |
17 | #ifndef SCALE_MODE_H
18 | #define SCALE_MODE_H
19 |
20 | typedef enum
21 | {
22 | MAINTAIN_ASPECT_RATIO = 0x0,
23 | SCALE_TO_FIT = 0x1,
24 | CENTER = 0x2,
25 | OTHER = 0x3
26 | } SCALE_MODE;
27 |
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vpx_scale/vpx_scale.mk:
--------------------------------------------------------------------------------
1 | SCALE_SRCS-yes += vpx_scale.mk
2 | SCALE_SRCS-yes += scale_mode.h
3 | SCALE_SRCS-yes += yv12config.h
4 | SCALE_SRCS-yes += vpxscale.h
5 | SCALE_SRCS-yes += generic/vpxscale.c
6 | SCALE_SRCS-yes += generic/yv12config.c
7 | SCALE_SRCS-yes += generic/yv12extend.c
8 | SCALE_SRCS-yes += generic/yv12extend_generic.h
9 | SCALE_SRCS-$(CONFIG_SPATIAL_RESAMPLING) += generic/gen_scalers.c
10 |
11 | #neon
12 | SCALE_SRCS-$(HAVE_NEON) += arm/neon/vp8_vpxyv12_copyframe_func_neon$(ASM)
13 | SCALE_SRCS-$(HAVE_NEON) += arm/neon/vp8_vpxyv12_copy_y_neon$(ASM)
14 | SCALE_SRCS-$(HAVE_NEON) += arm/neon/vp8_vpxyv12_copysrcframe_func_neon$(ASM)
15 | SCALE_SRCS-$(HAVE_NEON) += arm/neon/vp8_vpxyv12_extendframeborders_neon$(ASM)
16 | SCALE_SRCS-$(HAVE_NEON) += arm/neon/yv12extend_arm.c
17 |
18 | SCALE_SRCS-no += $(SCALE_SRCS_REMOVE-yes)
19 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vpx_scale/vpxscale.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 | *
4 | * Use of this source code is governed by a BSD-style license
5 | * that can be found in the LICENSE file in the root of the source
6 | * tree. An additional intellectual property rights grant can be found
7 | * in the file PATENTS. All contributing project authors may
8 | * be found in the AUTHORS file in the root of the source tree.
9 | */
10 |
11 |
12 | #ifndef VPXSCALE_H
13 | #define VPXSCALE_H
14 |
15 | #include "vpx_scale/yv12config.h"
16 |
17 | extern void vp8_yv12_scale_or_center
18 | (
19 | YV12_BUFFER_CONFIG *src_yuv_config,
20 | YV12_BUFFER_CONFIG *dst_yuv_config,
21 | int expanded_frame_width,
22 | int expanded_frame_height,
23 | int scaling_mode,
24 | int HScale,
25 | int HRatio,
26 | int VScale,
27 | int VRatio
28 | );
29 | extern void vp8_scale_frame
30 | (
31 | YV12_BUFFER_CONFIG *src,
32 | YV12_BUFFER_CONFIG *dst,
33 | unsigned char *temp_area,
34 | unsigned char temp_height,
35 | unsigned int hscale,
36 | unsigned int hratio,
37 | unsigned int vscale,
38 | unsigned int vratio,
39 | unsigned int interlaced
40 | );
41 |
42 | #endif
43 |
--------------------------------------------------------------------------------
/project/libvpx-generic/vpx_version.h:
--------------------------------------------------------------------------------
1 | #define VERSION_MAJOR 1
2 | #define VERSION_MINOR 1
3 | #define VERSION_PATCH 0
4 | #define VERSION_EXTRA "311-g83e8f2f"
5 | #define VERSION_PACKED ((VERSION_MAJOR<<16)|(VERSION_MINOR<<8)|(VERSION_PATCH))
6 | #define VERSION_STRING_NOSP "v1.1.0-311-g83e8f2f"
7 | #define VERSION_STRING " v1.1.0-311-g83e8f2f"
8 |
--------------------------------------------------------------------------------
/project/libwebm/.gitattributes:
--------------------------------------------------------------------------------
1 | *.sln eol=crlf
2 | *.vcproj eol=crlf
3 | *.vsprops eol=crlf
4 | *.vcxproj eol=crlf
5 |
--------------------------------------------------------------------------------
/project/libwebm/.gitignore:
--------------------------------------------------------------------------------
1 | *.mkv
2 | *.MKV
3 | core
4 | *.a
5 | *.so*
6 | *.o
7 | *~
8 | *.swp
9 | *.ncb
10 | *.user
11 | *.suo
12 | *.exe
13 | *.webm
14 | Debug
15 | Release
16 | *.sdf
17 | *.opensdf
18 | ipch
--------------------------------------------------------------------------------
/project/libwebm/AUTHORS.TXT:
--------------------------------------------------------------------------------
1 | # Names should be added to this file like so:
2 | # Name or Organization
3 |
4 | Google Inc.
5 |
--------------------------------------------------------------------------------
/project/libwebm/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH:= $(call my-dir)
2 |
3 | include $(CLEAR_VARS)
4 | LOCAL_MODULE:= libmkvparser
5 | LOCAL_SRC_FILES:= mkvparser.cpp \
6 | mkvreader.cpp
7 | include $(BUILD_STATIC_LIBRARY)
8 |
9 | include $(CLEAR_VARS)
10 | LOCAL_MODULE:= mkvparser
11 | LOCAL_SRC_FILES:= sample.cpp
12 | LOCAL_STATIC_LIBRARIES:= libmkvparser
13 | include $(BUILD_EXECUTABLE)
14 |
--------------------------------------------------------------------------------
/project/libwebm/Makefile:
--------------------------------------------------------------------------------
1 | CXX := g++
2 | CXXFLAGS := -W -Wall -g
3 | LIBWEBMA := libwebm.a
4 | LIBWEBMSO := libwebm.so
5 | WEBMOBJS := mkvparser.o mkvreader.o mkvmuxer.o mkvmuxerutil.o mkvwriter.o
6 | OBJSA := $(WEBMOBJS:.o=_a.o)
7 | OBJSSO := $(WEBMOBJS:.o=_so.o)
8 | OBJECTS1 := sample.o
9 | OBJECTS2 := sample_muxer.o vttreader.o webvttparser.o sample_muxer_metadata.o
10 | OBJECTS3 := dumpvtt.o vttreader.o webvttparser.o
11 | OBJECTS4 := vttdemux.o webvttparser.o
12 | INCLUDES := -I.
13 | EXES := samplemuxer sample dumpvtt vttdemux
14 |
15 | all: $(EXES)
16 |
17 | sample: sample.o $(LIBWEBMA)
18 | $(CXX) $^ -o $@
19 |
20 | samplemuxer: $(OBJECTS2) $(LIBWEBMA)
21 | $(CXX) $^ -o $@
22 |
23 | dumpvtt: $(OBJECTS3)
24 | $(CXX) $^ -o $@
25 |
26 | shared: $(LIBWEBMSO)
27 |
28 | vttdemux: $(OBJECTS4) $(LIBWEBMA)
29 | $(CXX) $^ -o $@
30 |
31 | libwebm.a: $(OBJSA)
32 | $(AR) rcs $@ $^
33 |
34 | libwebm.so: $(OBJSSO)
35 | $(CXX) $(CXXFLAGS) -shared $(OBJSSO) -o $(LIBWEBMSO)
36 |
37 | %.o: %.cpp
38 | $(CXX) -c $(CXXFLAGS) $(INCLUDES) $< -o $@
39 |
40 | %_a.o: %.cpp
41 | $(CXX) -c $(CXXFLAGS) $(INCLUDES) $< -o $@
42 |
43 | %_so.o: %.cpp
44 | $(CXX) -c $(CXXFLAGS) -fPIC $(INCLUDES) $< -o $@
45 |
46 | clean:
47 | $(RM) -f $(OBJECTS1) $(OBJECTS2) $(OBJECTS3) $(OBJECTS4) $(OBJSA) $(OBJSSO) $(LIBWEBMA) $(LIBWEBMSO) $(EXES) Makefile.bak
48 |
--------------------------------------------------------------------------------
/project/libwebm/RELEASE.TXT:
--------------------------------------------------------------------------------
1 | 1.0.0.5
2 | * Handled case when no duration
3 | * Handled empty clusters
4 | * Handled empty clusters when seeking
5 | * Implemented check lacing bits
6 |
7 | 1.0.0.4
8 | * Made Cues member variables mutables
9 | * Defined against badly-formatted cue points
10 | * Segment::GetCluster returns CuePoint too
11 | * Separated cue-based searches
12 |
13 | 1.0.0.3
14 | * Added Block::GetOffset() to get a frame's offset in a block
15 | * Changed cluster count type from size_t to long
16 | * Parsed SeekHead to find cues
17 | * Allowed seeking beyond end of cluster cache
18 | * Added not to attempt to reparse cues element
19 | * Restructured Segment::LoadCluster
20 | * Marked position of cues without parsing cues element
21 | * Allowed cue points to be loaded incrementally
22 | * Implemented to load lazily cue points as they're searched
23 | * Merged Cues::LoadCuePoint into Cues::Find
24 | * Lazy init cues
25 | * Loaded cue point during find
26 |
27 | 1.0.0.2
28 | * added support for Cues element
29 | * seeking was improved
30 |
31 | 1.0.0.1
32 | * fixed item 141
33 | * added item 142
34 | * added this file, RELEASE.TXT, to repository
35 |
--------------------------------------------------------------------------------
/project/libwebm/mkvmuxertypes.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 The WebM project authors. All Rights Reserved.
2 | //
3 | // Use of this source code is governed by a BSD-style license
4 | // that can be found in the LICENSE file in the root of the source
5 | // tree. An additional intellectual property rights grant can be found
6 | // in the file PATENTS. All contributing project authors may
7 | // be found in the AUTHORS file in the root of the source tree.
8 |
9 | #ifndef MKVMUXERTYPES_HPP
10 | #define MKVMUXERTYPES_HPP
11 |
12 | // Copied from Chromium basictypes.h
13 | // A macro to disallow the copy constructor and operator= functions
14 | // This should be used in the private: declarations for a class
15 | #define LIBWEBM_DISALLOW_COPY_AND_ASSIGN(TypeName) \
16 | TypeName(const TypeName&); \
17 | void operator=(const TypeName&)
18 |
19 | namespace mkvmuxer {
20 |
21 | typedef unsigned char uint8;
22 | typedef short int16;
23 | typedef int int32;
24 | typedef unsigned int uint32;
25 | typedef long long int64;
26 | typedef unsigned long long uint64;
27 |
28 | } //end namespace mkvmuxer
29 |
30 | #endif // MKVMUXERTYPES_HPP
31 |
--------------------------------------------------------------------------------
/project/libwebm/mkvreader.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2010 The WebM project authors. All Rights Reserved.
2 | //
3 | // Use of this source code is governed by a BSD-style license
4 | // that can be found in the LICENSE file in the root of the source
5 | // tree. An additional intellectual property rights grant can be found
6 | // in the file PATENTS. All contributing project authors may
7 | // be found in the AUTHORS file in the root of the source tree.
8 |
9 | #ifndef MKVREADER_HPP
10 | #define MKVREADER_HPP
11 |
12 | #include "mkvparser.hpp"
13 | #include
14 |
15 | namespace mkvparser
16 | {
17 |
18 | class MkvReader : public IMkvReader
19 | {
20 | MkvReader(const MkvReader&);
21 | MkvReader& operator=(const MkvReader&);
22 | public:
23 | MkvReader();
24 | virtual ~MkvReader();
25 |
26 | int Open(const char*);
27 | void Close();
28 | bool IsOpen() const;
29 |
30 | virtual int Read(long long position, long length, unsigned char* buffer);
31 | virtual int Length(long long* total, long long* available);
32 | private:
33 | long long m_length;
34 | FILE* m_file;
35 | };
36 |
37 | } //end namespace mkvparser
38 |
39 | #endif //MKVREADER_HPP
40 |
--------------------------------------------------------------------------------
/project/libwebm/sample_2010.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/project/libwebm/sample_muxer_2010.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/set_dev_directory.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | haxelib dev nme-webm %~dp0.
--------------------------------------------------------------------------------
/tools/7z.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/tools/7z.dll
--------------------------------------------------------------------------------
/tools/7z.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soywiz-archive/haxe-openfl-webm/3ce46682723a54786b93ca1067a2730518b81553/tools/7z.exe
--------------------------------------------------------------------------------
/webm/WebmIo.hx:
--------------------------------------------------------------------------------
1 | package webm;
2 |
3 | class WebmIo {
4 | public var io:Dynamic;
5 | }
--------------------------------------------------------------------------------
/webm/WebmIoByteArray.hx:
--------------------------------------------------------------------------------
1 | package webm;
2 | import haxe.io.BytesData;
3 | import sys.io.File;
4 | import sys.io.FileInput;
5 |
6 | class WebmIoByteArray extends WebmIo {
7 | var data:ByteArray;
8 | var fileInput:FileInput;
9 |
10 | public function new(data:ByteArray) {
11 | this.data = data;
12 | this.io = Webm.createIo(this.read, this.seek, this.tell);
13 | }
14 |
15 | private function read(count:Int):BytesData {
16 | var out:ByteArray = new ByteArray();
17 | this.data.readBytes(out, 0, count);
18 | return out.getData();
19 | }
20 |
21 | private function seek(offset:Float, whence:Int):Int {
22 | switch (whence) {
23 | case 0: this.data.position = Std.int(offset);
24 | case 1: this.data.position = Std.int(this.data.position + offset);
25 | case 2: this.data.position = Std.int(this.data.length + offset);
26 | }
27 | return 0;
28 | }
29 |
30 | private function tell():Float {
31 | return this.data.position;
32 | }
33 | }
--------------------------------------------------------------------------------
/webm/WebmIoFile.hx:
--------------------------------------------------------------------------------
1 | package webm;
2 | import haxe.io.BytesData;
3 | import sys.io.File;
4 | import sys.io.FileInput;
5 |
6 | class WebmIoFile extends WebmIo {
7 | var filePath:String;
8 | var fileInput:FileInput;
9 |
10 | public function new(filePath:String) {
11 | this.filePath = filePath;
12 | this.fileInput = File.read(filePath, true);
13 | this.io = Webm.createIo(this.read, this.seek, this.tell);
14 | }
15 |
16 | private function read(count:Int):BytesData {
17 | return this.fileInput.read(count).getData();
18 | }
19 |
20 | private function seek(offset:Float, whence:Int):Int {
21 | this.fileInput.seek(Std.int(offset), switch (whence) {
22 | case 0: SeekBegin;
23 | case 1: SeekCur;
24 | case 2: SeekEnd;
25 | default: SeekCur;
26 | });
27 | return 0;
28 | }
29 |
30 | private function tell():Float {
31 | return this.fileInput.tell();
32 | }
33 | }
--------------------------------------------------------------------------------
/webm/internal/WebmUtils.hx:
--------------------------------------------------------------------------------
1 | package webm.internal;
2 | import haxe.Timer;
3 | import flash.display.Bitmap;
4 | import flash.display.BitmapData;
5 | import flash.display.PixelSnapping;
6 | import flash.display.Sprite;
7 |
8 | class WebmUtils {
9 | static public function replaceSpriteWithBitmapData(sprite:Sprite, bitmapData:BitmapData):Void {
10 | while (sprite.numChildren > 0) sprite.removeChildAt(0);
11 | sprite.addChild(new Bitmap(bitmapData, PixelSnapping.AUTO, true));
12 | }
13 |
14 | static public function measureTime(action:Void -> Void):Float {
15 | var start:Float = Timer.stamp();
16 | action();
17 | var end:Float = Timer.stamp();
18 | return end - start;
19 | }
20 | }
--------------------------------------------------------------------------------