From f9199147e1d78e81571479bca090a444ad11b969 Mon Sep 17 00:00:00 2001 From: Stephan Vedder Date: Tue, 10 May 2022 16:29:56 +0200 Subject: Remove unused libraries --- Libraries/GL/GlU32.Lib | Bin 12672 -> 0 bytes Libraries/GL/OpenGL32.Lib | Bin 76924 -> 0 bytes Libraries/GL/gl.h | 2261 ------ Libraries/GL/gl_mangle.h | 1472 ---- Libraries/GL/glext.h | 8395 -------------------- Libraries/GL/glu.h | 340 - Libraries/GL/glu_mangle.h | 86 - Libraries/GL/glut.h | 767 -- Libraries/GL/glx.h | 551 -- Libraries/GL/glx_mangle.h | 55 - Libraries/GL/glxext.h | 693 -- Libraries/GL/glxint.h | 129 - Libraries/GL/glxmd.h | 58 - Libraries/GL/glxproto.h | 2384 ------ Libraries/GL/glxtokens.h | 244 - Libraries/GL/osmesa.h | 280 - Libraries/Linux/lib/libfreeimage-3.13.1.so | Bin 3581538 -> 0 bytes Libraries/Linux/lib/libfreeimage.so | 1 - Libraries/Linux/lib/libfreeimage.so.3 | 1 - Libraries/Linux/lib64/libfreeimage-3.13.1.so | Bin 3161088 -> 0 bytes Libraries/Linux/lib64/libfreeimage.so | 1 - Libraries/Linux/lib64/libfreeimage.so.3 | 1 - .../TheoraPlayer/Demo/OpenAL_AudioInterface.cpp | 202 - .../TheoraPlayer/Demo/OpenAL_AudioInterface.h | 76 - .../Source/TheoraPlayer/Demo/demo_basecode.h | 384 - .../Source/TheoraPlayer/Demo/tv_room.cpp | 171 - .../TheoraPlayer/Source/TheoraPlayer/Endianess.h | 34 - .../Source/TheoraPlayer/TheoraAsync.cpp | 115 - .../TheoraPlayer/Source/TheoraPlayer/TheoraAsync.h | 74 - .../Source/TheoraPlayer/TheoraAudioInterface.cpp | 33 - .../Source/TheoraPlayer/TheoraAudioInterface.h | 67 - .../Source/TheoraPlayer/TheoraDataSource.cpp | 110 - .../Source/TheoraPlayer/TheoraDataSource.h | 95 - .../Source/TheoraPlayer/TheoraException.cpp | 29 - .../Source/TheoraPlayer/TheoraException.h | 57 - .../Source/TheoraPlayer/TheoraExport.h | 41 - .../Source/TheoraPlayer/TheoraFrameQueue.cpp | 131 - .../Source/TheoraPlayer/TheoraFrameQueue.h | 88 - .../Source/TheoraPlayer/TheoraPlayer.h | 29 - .../Source/TheoraPlayer/TheoraTimer.cpp | 79 - .../TheoraPlayer/Source/TheoraPlayer/TheoraTimer.h | 81 - .../Source/TheoraPlayer/TheoraUtil.cpp | 46 - .../TheoraPlayer/Source/TheoraPlayer/TheoraUtil.h | 39 - .../Source/TheoraPlayer/TheoraVideoClip.cpp | 912 --- .../Source/TheoraPlayer/TheoraVideoClip.h | 251 - .../Source/TheoraPlayer/TheoraVideoFrame.cpp | 313 - .../Source/TheoraPlayer/TheoraVideoFrame.h | 65 - .../Source/TheoraPlayer/TheoraVideoManager.cpp | 240 - .../Source/TheoraPlayer/TheoraVideoManager.h | 112 - .../Source/TheoraPlayer/TheoraWorkerThread.cpp | 62 - .../Source/TheoraPlayer/TheoraWorkerThread.h | 44 - Libraries/theora/bin/x64/libtheora.dll | Bin 197632 -> 0 bytes Libraries/theora/bin/x86/libtheora.dll | Bin 192000 -> 0 bytes Libraries/theora/include/theora/codec.h | 591 -- Libraries/theora/include/theora/theora.h | 784 -- Libraries/theora/include/theora/theoradec.h | 325 - Libraries/theora/include/theora/theoraenc.h | 486 -- Libraries/theora/lib/x64/libtheora.lib | Bin 13304 -> 0 bytes Libraries/theora/lib/x86/libtheora.lib | Bin 13554 -> 0 bytes Libraries/theora/maclib/libtheoradec.a | Bin 228224 -> 0 bytes 60 files changed, 23885 deletions(-) delete mode 100644 Libraries/GL/GlU32.Lib delete mode 100644 Libraries/GL/OpenGL32.Lib delete mode 100644 Libraries/GL/gl.h delete mode 100644 Libraries/GL/gl_mangle.h delete mode 100644 Libraries/GL/glext.h delete mode 100644 Libraries/GL/glu.h delete mode 100644 Libraries/GL/glu_mangle.h delete mode 100644 Libraries/GL/glut.h delete mode 100644 Libraries/GL/glx.h delete mode 100644 Libraries/GL/glx_mangle.h delete mode 100644 Libraries/GL/glxext.h delete mode 100644 Libraries/GL/glxint.h delete mode 100644 Libraries/GL/glxmd.h delete mode 100644 Libraries/GL/glxproto.h delete mode 100644 Libraries/GL/glxtokens.h delete mode 100644 Libraries/GL/osmesa.h delete mode 100644 Libraries/Linux/lib/libfreeimage-3.13.1.so delete mode 120000 Libraries/Linux/lib/libfreeimage.so delete mode 120000 Libraries/Linux/lib/libfreeimage.so.3 delete mode 100644 Libraries/Linux/lib64/libfreeimage-3.13.1.so delete mode 120000 Libraries/Linux/lib64/libfreeimage.so delete mode 120000 Libraries/Linux/lib64/libfreeimage.so.3 delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/Demo/OpenAL_AudioInterface.cpp delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/Demo/OpenAL_AudioInterface.h delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/Demo/demo_basecode.h delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/Demo/tv_room.cpp delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/Endianess.h delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraAsync.cpp delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraAsync.h delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraAudioInterface.cpp delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraAudioInterface.h delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraDataSource.cpp delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraDataSource.h delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraException.cpp delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraException.h delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraExport.h delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraFrameQueue.cpp delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraFrameQueue.h delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraPlayer.h delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraTimer.cpp delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraTimer.h delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraUtil.cpp delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraUtil.h delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoClip.cpp delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoClip.h delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoFrame.cpp delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoFrame.h delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoManager.cpp delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoManager.h delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraWorkerThread.cpp delete mode 100644 Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraWorkerThread.h delete mode 100644 Libraries/theora/bin/x64/libtheora.dll delete mode 100644 Libraries/theora/bin/x86/libtheora.dll delete mode 100644 Libraries/theora/include/theora/codec.h delete mode 100644 Libraries/theora/include/theora/theora.h delete mode 100644 Libraries/theora/include/theora/theoradec.h delete mode 100644 Libraries/theora/include/theora/theoraenc.h delete mode 100644 Libraries/theora/lib/x64/libtheora.lib delete mode 100644 Libraries/theora/lib/x86/libtheora.lib delete mode 100644 Libraries/theora/maclib/libtheoradec.a diff --git a/Libraries/GL/GlU32.Lib b/Libraries/GL/GlU32.Lib deleted file mode 100644 index 298f6c73..00000000 Binary files a/Libraries/GL/GlU32.Lib and /dev/null differ diff --git a/Libraries/GL/OpenGL32.Lib b/Libraries/GL/OpenGL32.Lib deleted file mode 100644 index ba089e8e..00000000 Binary files a/Libraries/GL/OpenGL32.Lib and /dev/null differ diff --git a/Libraries/GL/gl.h b/Libraries/GL/gl.h deleted file mode 100644 index 1ea97f39..00000000 --- a/Libraries/GL/gl.h +++ /dev/null @@ -1,2261 +0,0 @@ -/* - * Mesa 3-D graphics library - * Version: 6.3 - * - * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included - * in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - - -#ifndef __gl_h_ -#define __gl_h_ - -#if defined(USE_MGL_NAMESPACE) -#include "gl_mangle.h" -#endif - - -/********************************************************************** - * Begin system-specific stuff. Do not do any of this when building - * for SciTech SNAP, as this is all done before this header file is - * included. - */ -#if !defined(__SCITECH_SNAP__) - -#if defined(__BEOS__) -#include /* to get some BeOS-isms */ -#endif - -#if !defined(OPENSTEP) && (defined(NeXT) || defined(NeXT_PDO)) -#define OPENSTEP -#endif - -#if defined(_WIN32) && !defined(__WIN32__) && !defined(__CYGWIN__) -#define __WIN32__ -#endif - -#if !defined(OPENSTEP) && (defined(__WIN32__) && !defined(__CYGWIN__)) -# if (defined(_MSC_VER) || defined(__MINGW32__)) && defined(BUILD_GL32) /* tag specify we're building mesa as a DLL */ -# define GLAPI __declspec(dllexport) -# elif (defined(_MSC_VER) || defined(__MINGW32__)) && defined(_DLL) /* tag specifying we're building for DLL runtime support */ -# define GLAPI __declspec(dllimport) -# else /* for use with static link lib build of Win32 edition only */ -# define GLAPI extern -# endif /* _STATIC_MESA support */ -# define GLAPIENTRY __stdcall -#elif defined(__CYGWIN__) && defined(USE_OPENGL32) /* use native windows opengl32 */ -# define GLAPI extern -# define GLAPIENTRY __stdcall -#elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303 -# define GLAPI __attribute__((visibility("default"))) -# define GLAPIENTRY -#endif /* WIN32 && !CYGWIN */ - -#if (defined(__BEOS__) && defined(__POWERPC__)) || defined(__QUICKDRAW__) -# define PRAGMA_EXPORT_SUPPORTED 1 -#endif - -/* - * WINDOWS: Include windows.h here to define APIENTRY. - * It is also useful when applications include this file by - * including only glut.h, since glut.h depends on windows.h. - * Applications needing to include windows.h with parms other - * than "WIN32_LEAN_AND_MEAN" may include windows.h before - * glut.h or gl.h. - */ -#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) -#define WIN32_LEAN_AND_MEAN 1 -#include -#endif - -#if defined(_WIN32) && !defined(_WINGDI_) && !defined(_GNU_H_WINDOWS32_DEFINES) && !defined(OPENSTEP) && !defined(__CYGWIN__) -#include -#endif - -#if defined(macintosh) && PRAGMA_IMPORT_SUPPORTED -#pragma import on -#endif - -#ifndef GLAPI -#define GLAPI extern -#endif - -#ifndef GLAPIENTRY -#define GLAPIENTRY -#endif - -#ifndef APIENTRY -#define APIENTRY GLAPIENTRY -#endif - -/* "P" suffix to be used for a pointer to a function */ -#ifndef APIENTRYP -#define APIENTRYP APIENTRY * -#endif - -#ifndef GLAPIENTRYP -#define GLAPIENTRYP GLAPIENTRY * -#endif - -#ifdef CENTERLINE_CLPP -#define signed -#endif - -#if defined(PRAGMA_EXPORT_SUPPORTED) -#pragma export on -#endif - -#endif /* !__SCITECH_SNAP__ */ -/* - * End system-specific stuff. - **********************************************************************/ - - - -#ifdef __cplusplus -extern "C" { -#endif - - - -#define GL_VERSION_1_1 1 -#define GL_VERSION_1_2 1 -#define GL_VERSION_1_3 1 -#define GL_ARB_imaging 1 - - -/* - * Datatypes - */ -typedef unsigned int GLenum; -typedef unsigned char GLboolean; -typedef unsigned int GLbitfield; -typedef void GLvoid; -typedef signed char GLbyte; /* 1-byte signed */ -typedef short GLshort; /* 2-byte signed */ -typedef int GLint; /* 4-byte signed */ -typedef unsigned char GLubyte; /* 1-byte unsigned */ -typedef unsigned short GLushort; /* 2-byte unsigned */ -typedef unsigned int GLuint; /* 4-byte unsigned */ -typedef int GLsizei; /* 4-byte signed */ -typedef float GLfloat; /* single precision float */ -typedef float GLclampf; /* single precision float in [0,1] */ -typedef double GLdouble; /* double precision float */ -typedef double GLclampd; /* double precision float in [0,1] */ - - - -/* - * Constants - */ - -/* Boolean values */ -#define GL_FALSE 0x0 -#define GL_TRUE 0x1 - -/* Data types */ -#define GL_BYTE 0x1400 -#define GL_UNSIGNED_BYTE 0x1401 -#define GL_SHORT 0x1402 -#define GL_UNSIGNED_SHORT 0x1403 -#define GL_INT 0x1404 -#define GL_UNSIGNED_INT 0x1405 -#define GL_FLOAT 0x1406 -#define GL_2_BYTES 0x1407 -#define GL_3_BYTES 0x1408 -#define GL_4_BYTES 0x1409 -#define GL_DOUBLE 0x140A - -/* Primitives */ -#define GL_POINTS 0x0000 -#define GL_LINES 0x0001 -#define GL_LINE_LOOP 0x0002 -#define GL_LINE_STRIP 0x0003 -#define GL_TRIANGLES 0x0004 -#define GL_TRIANGLE_STRIP 0x0005 -#define GL_TRIANGLE_FAN 0x0006 -#define GL_QUADS 0x0007 -#define GL_QUAD_STRIP 0x0008 -#define GL_POLYGON 0x0009 - -/* Vertex Arrays */ -#define GL_VERTEX_ARRAY 0x8074 -#define GL_NORMAL_ARRAY 0x8075 -#define GL_COLOR_ARRAY 0x8076 -#define GL_INDEX_ARRAY 0x8077 -#define GL_TEXTURE_COORD_ARRAY 0x8078 -#define GL_EDGE_FLAG_ARRAY 0x8079 -#define GL_VERTEX_ARRAY_SIZE 0x807A -#define GL_VERTEX_ARRAY_TYPE 0x807B -#define GL_VERTEX_ARRAY_STRIDE 0x807C -#define GL_NORMAL_ARRAY_TYPE 0x807E -#define GL_NORMAL_ARRAY_STRIDE 0x807F -#define GL_COLOR_ARRAY_SIZE 0x8081 -#define GL_COLOR_ARRAY_TYPE 0x8082 -#define GL_COLOR_ARRAY_STRIDE 0x8083 -#define GL_INDEX_ARRAY_TYPE 0x8085 -#define GL_INDEX_ARRAY_STRIDE 0x8086 -#define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088 -#define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089 -#define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A -#define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C -#define GL_VERTEX_ARRAY_POINTER 0x808E -#define GL_NORMAL_ARRAY_POINTER 0x808F -#define GL_COLOR_ARRAY_POINTER 0x8090 -#define GL_INDEX_ARRAY_POINTER 0x8091 -#define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092 -#define GL_EDGE_FLAG_ARRAY_POINTER 0x8093 -#define GL_V2F 0x2A20 -#define GL_V3F 0x2A21 -#define GL_C4UB_V2F 0x2A22 -#define GL_C4UB_V3F 0x2A23 -#define GL_C3F_V3F 0x2A24 -#define GL_N3F_V3F 0x2A25 -#define GL_C4F_N3F_V3F 0x2A26 -#define GL_T2F_V3F 0x2A27 -#define GL_T4F_V4F 0x2A28 -#define GL_T2F_C4UB_V3F 0x2A29 -#define GL_T2F_C3F_V3F 0x2A2A -#define GL_T2F_N3F_V3F 0x2A2B -#define GL_T2F_C4F_N3F_V3F 0x2A2C -#define GL_T4F_C4F_N3F_V4F 0x2A2D - -/* Matrix Mode */ -#define GL_MATRIX_MODE 0x0BA0 -#define GL_MODELVIEW 0x1700 -#define GL_PROJECTION 0x1701 -#define GL_TEXTURE 0x1702 - -/* Points */ -#define GL_POINT_SMOOTH 0x0B10 -#define GL_POINT_SIZE 0x0B11 -#define GL_POINT_SIZE_GRANULARITY 0x0B13 -#define GL_POINT_SIZE_RANGE 0x0B12 - -/* Lines */ -#define GL_LINE_SMOOTH 0x0B20 -#define GL_LINE_STIPPLE 0x0B24 -#define GL_LINE_STIPPLE_PATTERN 0x0B25 -#define GL_LINE_STIPPLE_REPEAT 0x0B26 -#define GL_LINE_WIDTH 0x0B21 -#define GL_LINE_WIDTH_GRANULARITY 0x0B23 -#define GL_LINE_WIDTH_RANGE 0x0B22 - -/* Polygons */ -#define GL_POINT 0x1B00 -#define GL_LINE 0x1B01 -#define GL_FILL 0x1B02 -#define GL_CW 0x0900 -#define GL_CCW 0x0901 -#define GL_FRONT 0x0404 -#define GL_BACK 0x0405 -#define GL_POLYGON_MODE 0x0B40 -#define GL_POLYGON_SMOOTH 0x0B41 -#define GL_POLYGON_STIPPLE 0x0B42 -#define GL_EDGE_FLAG 0x0B43 -#define GL_CULL_FACE 0x0B44 -#define GL_CULL_FACE_MODE 0x0B45 -#define GL_FRONT_FACE 0x0B46 -#define GL_POLYGON_OFFSET_FACTOR 0x8038 -#define GL_POLYGON_OFFSET_UNITS 0x2A00 -#define GL_POLYGON_OFFSET_POINT 0x2A01 -#define GL_POLYGON_OFFSET_LINE 0x2A02 -#define GL_POLYGON_OFFSET_FILL 0x8037 - -/* Display Lists */ -#define GL_COMPILE 0x1300 -#define GL_COMPILE_AND_EXECUTE 0x1301 -#define GL_LIST_BASE 0x0B32 -#define GL_LIST_INDEX 0x0B33 -#define GL_LIST_MODE 0x0B30 - -/* Depth buffer */ -#define GL_NEVER 0x0200 -#define GL_LESS 0x0201 -#define GL_EQUAL 0x0202 -#define GL_LEQUAL 0x0203 -#define GL_GREATER 0x0204 -#define GL_NOTEQUAL 0x0205 -#define GL_GEQUAL 0x0206 -#define GL_ALWAYS 0x0207 -#define GL_DEPTH_TEST 0x0B71 -#define GL_DEPTH_BITS 0x0D56 -#define GL_DEPTH_CLEAR_VALUE 0x0B73 -#define GL_DEPTH_FUNC 0x0B74 -#define GL_DEPTH_RANGE 0x0B70 -#define GL_DEPTH_WRITEMASK 0x0B72 -#define GL_DEPTH_COMPONENT 0x1902 - -/* Lighting */ -#define GL_LIGHTING 0x0B50 -#define GL_LIGHT0 0x4000 -#define GL_LIGHT1 0x4001 -#define GL_LIGHT2 0x4002 -#define GL_LIGHT3 0x4003 -#define GL_LIGHT4 0x4004 -#define GL_LIGHT5 0x4005 -#define GL_LIGHT6 0x4006 -#define GL_LIGHT7 0x4007 -#define GL_SPOT_EXPONENT 0x1205 -#define GL_SPOT_CUTOFF 0x1206 -#define GL_CONSTANT_ATTENUATION 0x1207 -#define GL_LINEAR_ATTENUATION 0x1208 -#define GL_QUADRATIC_ATTENUATION 0x1209 -#define GL_AMBIENT 0x1200 -#define GL_DIFFUSE 0x1201 -#define GL_SPECULAR 0x1202 -#define GL_SHININESS 0x1601 -#define GL_EMISSION 0x1600 -#define GL_POSITION 0x1203 -#define GL_SPOT_DIRECTION 0x1204 -#define GL_AMBIENT_AND_DIFFUSE 0x1602 -#define GL_COLOR_INDEXES 0x1603 -#define GL_LIGHT_MODEL_TWO_SIDE 0x0B52 -#define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51 -#define GL_LIGHT_MODEL_AMBIENT 0x0B53 -#define GL_FRONT_AND_BACK 0x0408 -#define GL_SHADE_MODEL 0x0B54 -#define GL_FLAT 0x1D00 -#define GL_SMOOTH 0x1D01 -#define GL_COLOR_MATERIAL 0x0B57 -#define GL_COLOR_MATERIAL_FACE 0x0B55 -#define GL_COLOR_MATERIAL_PARAMETER 0x0B56 -#define GL_NORMALIZE 0x0BA1 - -/* User clipping planes */ -#define GL_CLIP_PLANE0 0x3000 -#define GL_CLIP_PLANE1 0x3001 -#define GL_CLIP_PLANE2 0x3002 -#define GL_CLIP_PLANE3 0x3003 -#define GL_CLIP_PLANE4 0x3004 -#define GL_CLIP_PLANE5 0x3005 - -/* Accumulation buffer */ -#define GL_ACCUM_RED_BITS 0x0D58 -#define GL_ACCUM_GREEN_BITS 0x0D59 -#define GL_ACCUM_BLUE_BITS 0x0D5A -#define GL_ACCUM_ALPHA_BITS 0x0D5B -#define GL_ACCUM_CLEAR_VALUE 0x0B80 -#define GL_ACCUM 0x0100 -#define GL_ADD 0x0104 -#define GL_LOAD 0x0101 -#define GL_MULT 0x0103 -#define GL_RETURN 0x0102 - -/* Alpha testing */ -#define GL_ALPHA_TEST 0x0BC0 -#define GL_ALPHA_TEST_REF 0x0BC2 -#define GL_ALPHA_TEST_FUNC 0x0BC1 - -/* Blending */ -#define GL_BLEND 0x0BE2 -#define GL_BLEND_SRC 0x0BE1 -#define GL_BLEND_DST 0x0BE0 -#define GL_ZERO 0x0 -#define GL_ONE 0x1 -#define GL_SRC_COLOR 0x0300 -#define GL_ONE_MINUS_SRC_COLOR 0x0301 -#define GL_SRC_ALPHA 0x0302 -#define GL_ONE_MINUS_SRC_ALPHA 0x0303 -#define GL_DST_ALPHA 0x0304 -#define GL_ONE_MINUS_DST_ALPHA 0x0305 -#define GL_DST_COLOR 0x0306 -#define GL_ONE_MINUS_DST_COLOR 0x0307 -#define GL_SRC_ALPHA_SATURATE 0x0308 - -/* Render Mode */ -#define GL_FEEDBACK 0x1C01 -#define GL_RENDER 0x1C00 -#define GL_SELECT 0x1C02 - -/* Feedback */ -#define GL_2D 0x0600 -#define GL_3D 0x0601 -#define GL_3D_COLOR 0x0602 -#define GL_3D_COLOR_TEXTURE 0x0603 -#define GL_4D_COLOR_TEXTURE 0x0604 -#define GL_POINT_TOKEN 0x0701 -#define GL_LINE_TOKEN 0x0702 -#define GL_LINE_RESET_TOKEN 0x0707 -#define GL_POLYGON_TOKEN 0x0703 -#define GL_BITMAP_TOKEN 0x0704 -#define GL_DRAW_PIXEL_TOKEN 0x0705 -#define GL_COPY_PIXEL_TOKEN 0x0706 -#define GL_PASS_THROUGH_TOKEN 0x0700 -#define GL_FEEDBACK_BUFFER_POINTER 0x0DF0 -#define GL_FEEDBACK_BUFFER_SIZE 0x0DF1 -#define GL_FEEDBACK_BUFFER_TYPE 0x0DF2 - -/* Selection */ -#define GL_SELECTION_BUFFER_POINTER 0x0DF3 -#define GL_SELECTION_BUFFER_SIZE 0x0DF4 - -/* Fog */ -#define GL_FOG 0x0B60 -#define GL_FOG_MODE 0x0B65 -#define GL_FOG_DENSITY 0x0B62 -#define GL_FOG_COLOR 0x0B66 -#define GL_FOG_INDEX 0x0B61 -#define GL_FOG_START 0x0B63 -#define GL_FOG_END 0x0B64 -#define GL_LINEAR 0x2601 -#define GL_EXP 0x0800 -#define GL_EXP2 0x0801 - -/* Logic Ops */ -#define GL_LOGIC_OP 0x0BF1 -#define GL_INDEX_LOGIC_OP 0x0BF1 -#define GL_COLOR_LOGIC_OP 0x0BF2 -#define GL_LOGIC_OP_MODE 0x0BF0 -#define GL_CLEAR 0x1500 -#define GL_SET 0x150F -#define GL_COPY 0x1503 -#define GL_COPY_INVERTED 0x150C -#define GL_NOOP 0x1505 -#define GL_INVERT 0x150A -#define GL_AND 0x1501 -#define GL_NAND 0x150E -#define GL_OR 0x1507 -#define GL_NOR 0x1508 -#define GL_XOR 0x1506 -#define GL_EQUIV 0x1509 -#define GL_AND_REVERSE 0x1502 -#define GL_AND_INVERTED 0x1504 -#define GL_OR_REVERSE 0x150B -#define GL_OR_INVERTED 0x150D - -/* Stencil */ -#define GL_STENCIL_TEST 0x0B90 -#define GL_STENCIL_WRITEMASK 0x0B98 -#define GL_STENCIL_BITS 0x0D57 -#define GL_STENCIL_FUNC 0x0B92 -#define GL_STENCIL_VALUE_MASK 0x0B93 -#define GL_STENCIL_REF 0x0B97 -#define GL_STENCIL_FAIL 0x0B94 -#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 -#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 -#define GL_STENCIL_CLEAR_VALUE 0x0B91 -#define GL_STENCIL_INDEX 0x1901 -#define GL_KEEP 0x1E00 -#define GL_REPLACE 0x1E01 -#define GL_INCR 0x1E02 -#define GL_DECR 0x1E03 - -/* Buffers, Pixel Drawing/Reading */ -#define GL_NONE 0x0 -#define GL_LEFT 0x0406 -#define GL_RIGHT 0x0407 -/*GL_FRONT 0x0404 */ -/*GL_BACK 0x0405 */ -/*GL_FRONT_AND_BACK 0x0408 */ -#define GL_FRONT_LEFT 0x0400 -#define GL_FRONT_RIGHT 0x0401 -#define GL_BACK_LEFT 0x0402 -#define GL_BACK_RIGHT 0x0403 -#define GL_AUX0 0x0409 -#define GL_AUX1 0x040A -#define GL_AUX2 0x040B -#define GL_AUX3 0x040C -#define GL_COLOR_INDEX 0x1900 -#define GL_RED 0x1903 -#define GL_GREEN 0x1904 -#define GL_BLUE 0x1905 -#define GL_ALPHA 0x1906 -#define GL_LUMINANCE 0x1909 -#define GL_LUMINANCE_ALPHA 0x190A -#define GL_ALPHA_BITS 0x0D55 -#define GL_RED_BITS 0x0D52 -#define GL_GREEN_BITS 0x0D53 -#define GL_BLUE_BITS 0x0D54 -#define GL_INDEX_BITS 0x0D51 -#define GL_SUBPIXEL_BITS 0x0D50 -#define GL_AUX_BUFFERS 0x0C00 -#define GL_READ_BUFFER 0x0C02 -#define GL_DRAW_BUFFER 0x0C01 -#define GL_DOUBLEBUFFER 0x0C32 -#define GL_STEREO 0x0C33 -#define GL_BITMAP 0x1A00 -#define GL_COLOR 0x1800 -#define GL_DEPTH 0x1801 -#define GL_STENCIL 0x1802 -#define GL_DITHER 0x0BD0 -#define GL_RGB 0x1907 -#define GL_RGBA 0x1908 - -/* Implementation limits */ -#define GL_MAX_LIST_NESTING 0x0B31 -#define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35 -#define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36 -#define GL_MAX_NAME_STACK_DEPTH 0x0D37 -#define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38 -#define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39 -#define GL_MAX_EVAL_ORDER 0x0D30 -#define GL_MAX_LIGHTS 0x0D31 -#define GL_MAX_CLIP_PLANES 0x0D32 -#define GL_MAX_TEXTURE_SIZE 0x0D33 -#define GL_MAX_PIXEL_MAP_TABLE 0x0D34 -#define GL_MAX_VIEWPORT_DIMS 0x0D3A -#define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B - -/* Gets */ -#define GL_ATTRIB_STACK_DEPTH 0x0BB0 -#define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1 -#define GL_COLOR_CLEAR_VALUE 0x0C22 -#define GL_COLOR_WRITEMASK 0x0C23 -#define GL_CURRENT_INDEX 0x0B01 -#define GL_CURRENT_COLOR 0x0B00 -#define GL_CURRENT_NORMAL 0x0B02 -#define GL_CURRENT_RASTER_COLOR 0x0B04 -#define GL_CURRENT_RASTER_DISTANCE 0x0B09 -#define GL_CURRENT_RASTER_INDEX 0x0B05 -#define GL_CURRENT_RASTER_POSITION 0x0B07 -#define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06 -#define GL_CURRENT_RASTER_POSITION_VALID 0x0B08 -#define GL_CURRENT_TEXTURE_COORDS 0x0B03 -#define GL_INDEX_CLEAR_VALUE 0x0C20 -#define GL_INDEX_MODE 0x0C30 -#define GL_INDEX_WRITEMASK 0x0C21 -#define GL_MODELVIEW_MATRIX 0x0BA6 -#define GL_MODELVIEW_STACK_DEPTH 0x0BA3 -#define GL_NAME_STACK_DEPTH 0x0D70 -#define GL_PROJECTION_MATRIX 0x0BA7 -#define GL_PROJECTION_STACK_DEPTH 0x0BA4 -#define GL_RENDER_MODE 0x0C40 -#define GL_RGBA_MODE 0x0C31 -#define GL_TEXTURE_MATRIX 0x0BA8 -#define GL_TEXTURE_STACK_DEPTH 0x0BA5 -#define GL_VIEWPORT 0x0BA2 - -/* Evaluators */ -#define GL_AUTO_NORMAL 0x0D80 -#define GL_MAP1_COLOR_4 0x0D90 -#define GL_MAP1_INDEX 0x0D91 -#define GL_MAP1_NORMAL 0x0D92 -#define GL_MAP1_TEXTURE_COORD_1 0x0D93 -#define GL_MAP1_TEXTURE_COORD_2 0x0D94 -#define GL_MAP1_TEXTURE_COORD_3 0x0D95 -#define GL_MAP1_TEXTURE_COORD_4 0x0D96 -#define GL_MAP1_VERTEX_3 0x0D97 -#define GL_MAP1_VERTEX_4 0x0D98 -#define GL_MAP2_COLOR_4 0x0DB0 -#define GL_MAP2_INDEX 0x0DB1 -#define GL_MAP2_NORMAL 0x0DB2 -#define GL_MAP2_TEXTURE_COORD_1 0x0DB3 -#define GL_MAP2_TEXTURE_COORD_2 0x0DB4 -#define GL_MAP2_TEXTURE_COORD_3 0x0DB5 -#define GL_MAP2_TEXTURE_COORD_4 0x0DB6 -#define GL_MAP2_VERTEX_3 0x0DB7 -#define GL_MAP2_VERTEX_4 0x0DB8 -#define GL_MAP1_GRID_DOMAIN 0x0DD0 -#define GL_MAP1_GRID_SEGMENTS 0x0DD1 -#define GL_MAP2_GRID_DOMAIN 0x0DD2 -#define GL_MAP2_GRID_SEGMENTS 0x0DD3 -#define GL_COEFF 0x0A00 -#define GL_DOMAIN 0x0A02 -#define GL_ORDER 0x0A01 - -/* Hints */ -#define GL_FOG_HINT 0x0C54 -#define GL_LINE_SMOOTH_HINT 0x0C52 -#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 -#define GL_POINT_SMOOTH_HINT 0x0C51 -#define GL_POLYGON_SMOOTH_HINT 0x0C53 -#define GL_DONT_CARE 0x1100 -#define GL_FASTEST 0x1101 -#define GL_NICEST 0x1102 - -/* Scissor box */ -#define GL_SCISSOR_TEST 0x0C11 -#define GL_SCISSOR_BOX 0x0C10 - -/* Pixel Mode / Transfer */ -#define GL_MAP_COLOR 0x0D10 -#define GL_MAP_STENCIL 0x0D11 -#define GL_INDEX_SHIFT 0x0D12 -#define GL_INDEX_OFFSET 0x0D13 -#define GL_RED_SCALE 0x0D14 -#define GL_RED_BIAS 0x0D15 -#define GL_GREEN_SCALE 0x0D18 -#define GL_GREEN_BIAS 0x0D19 -#define GL_BLUE_SCALE 0x0D1A -#define GL_BLUE_BIAS 0x0D1B -#define GL_ALPHA_SCALE 0x0D1C -#define GL_ALPHA_BIAS 0x0D1D -#define GL_DEPTH_SCALE 0x0D1E -#define GL_DEPTH_BIAS 0x0D1F -#define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1 -#define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0 -#define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2 -#define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3 -#define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4 -#define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5 -#define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6 -#define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7 -#define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8 -#define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9 -#define GL_PIXEL_MAP_S_TO_S 0x0C71 -#define GL_PIXEL_MAP_I_TO_I 0x0C70 -#define GL_PIXEL_MAP_I_TO_R 0x0C72 -#define GL_PIXEL_MAP_I_TO_G 0x0C73 -#define GL_PIXEL_MAP_I_TO_B 0x0C74 -#define GL_PIXEL_MAP_I_TO_A 0x0C75 -#define GL_PIXEL_MAP_R_TO_R 0x0C76 -#define GL_PIXEL_MAP_G_TO_G 0x0C77 -#define GL_PIXEL_MAP_B_TO_B 0x0C78 -#define GL_PIXEL_MAP_A_TO_A 0x0C79 -#define GL_PACK_ALIGNMENT 0x0D05 -#define GL_PACK_LSB_FIRST 0x0D01 -#define GL_PACK_ROW_LENGTH 0x0D02 -#define GL_PACK_SKIP_PIXELS 0x0D04 -#define GL_PACK_SKIP_ROWS 0x0D03 -#define GL_PACK_SWAP_BYTES 0x0D00 -#define GL_UNPACK_ALIGNMENT 0x0CF5 -#define GL_UNPACK_LSB_FIRST 0x0CF1 -#define GL_UNPACK_ROW_LENGTH 0x0CF2 -#define GL_UNPACK_SKIP_PIXELS 0x0CF4 -#define GL_UNPACK_SKIP_ROWS 0x0CF3 -#define GL_UNPACK_SWAP_BYTES 0x0CF0 -#define GL_ZOOM_X 0x0D16 -#define GL_ZOOM_Y 0x0D17 - -/* Texture mapping */ -#define GL_TEXTURE_ENV 0x2300 -#define GL_TEXTURE_ENV_MODE 0x2200 -#define GL_TEXTURE_1D 0x0DE0 -#define GL_TEXTURE_2D 0x0DE1 -#define GL_TEXTURE_WRAP_S 0x2802 -#define GL_TEXTURE_WRAP_T 0x2803 -#define GL_TEXTURE_MAG_FILTER 0x2800 -#define GL_TEXTURE_MIN_FILTER 0x2801 -#define GL_TEXTURE_ENV_COLOR 0x2201 -#define GL_TEXTURE_GEN_S 0x0C60 -#define GL_TEXTURE_GEN_T 0x0C61 -#define GL_TEXTURE_GEN_MODE 0x2500 -#define GL_TEXTURE_BORDER_COLOR 0x1004 -#define GL_TEXTURE_WIDTH 0x1000 -#define GL_TEXTURE_HEIGHT 0x1001 -#define GL_TEXTURE_BORDER 0x1005 -#define GL_TEXTURE_COMPONENTS 0x1003 -#define GL_TEXTURE_RED_SIZE 0x805C -#define GL_TEXTURE_GREEN_SIZE 0x805D -#define GL_TEXTURE_BLUE_SIZE 0x805E -#define GL_TEXTURE_ALPHA_SIZE 0x805F -#define GL_TEXTURE_LUMINANCE_SIZE 0x8060 -#define GL_TEXTURE_INTENSITY_SIZE 0x8061 -#define GL_NEAREST_MIPMAP_NEAREST 0x2700 -#define GL_NEAREST_MIPMAP_LINEAR 0x2702 -#define GL_LINEAR_MIPMAP_NEAREST 0x2701 -#define GL_LINEAR_MIPMAP_LINEAR 0x2703 -#define GL_OBJECT_LINEAR 0x2401 -#define GL_OBJECT_PLANE 0x2501 -#define GL_EYE_LINEAR 0x2400 -#define GL_EYE_PLANE 0x2502 -#define GL_SPHERE_MAP 0x2402 -#define GL_DECAL 0x2101 -#define GL_MODULATE 0x2100 -#define GL_NEAREST 0x2600 -#define GL_REPEAT 0x2901 -#define GL_CLAMP 0x2900 -#define GL_S 0x2000 -#define GL_T 0x2001 -#define GL_R 0x2002 -#define GL_Q 0x2003 -#define GL_TEXTURE_GEN_R 0x0C62 -#define GL_TEXTURE_GEN_Q 0x0C63 - -/* Utility */ -#define GL_VENDOR 0x1F00 -#define GL_RENDERER 0x1F01 -#define GL_VERSION 0x1F02 -#define GL_EXTENSIONS 0x1F03 - -/* Errors */ -#define GL_NO_ERROR 0x0 -#define GL_INVALID_VALUE 0x0501 -#define GL_INVALID_ENUM 0x0500 -#define GL_INVALID_OPERATION 0x0502 -#define GL_STACK_OVERFLOW 0x0503 -#define GL_STACK_UNDERFLOW 0x0504 -#define GL_OUT_OF_MEMORY 0x0505 - -/* glPush/PopAttrib bits */ -#define GL_CURRENT_BIT 0x00000001 -#define GL_POINT_BIT 0x00000002 -#define GL_LINE_BIT 0x00000004 -#define GL_POLYGON_BIT 0x00000008 -#define GL_POLYGON_STIPPLE_BIT 0x00000010 -#define GL_PIXEL_MODE_BIT 0x00000020 -#define GL_LIGHTING_BIT 0x00000040 -#define GL_FOG_BIT 0x00000080 -#define GL_DEPTH_BUFFER_BIT 0x00000100 -#define GL_ACCUM_BUFFER_BIT 0x00000200 -#define GL_STENCIL_BUFFER_BIT 0x00000400 -#define GL_VIEWPORT_BIT 0x00000800 -#define GL_TRANSFORM_BIT 0x00001000 -#define GL_ENABLE_BIT 0x00002000 -#define GL_COLOR_BUFFER_BIT 0x00004000 -#define GL_HINT_BIT 0x00008000 -#define GL_EVAL_BIT 0x00010000 -#define GL_LIST_BIT 0x00020000 -#define GL_TEXTURE_BIT 0x00040000 -#define GL_SCISSOR_BIT 0x00080000 -#define GL_ALL_ATTRIB_BITS 0x000FFFFF - - -/* OpenGL 1.1 */ -#define GL_PROXY_TEXTURE_1D 0x8063 -#define GL_PROXY_TEXTURE_2D 0x8064 -#define GL_TEXTURE_PRIORITY 0x8066 -#define GL_TEXTURE_RESIDENT 0x8067 -#define GL_TEXTURE_BINDING_1D 0x8068 -#define GL_TEXTURE_BINDING_2D 0x8069 -#define GL_TEXTURE_INTERNAL_FORMAT 0x1003 -#define GL_ALPHA4 0x803B -#define GL_ALPHA8 0x803C -#define GL_ALPHA12 0x803D -#define GL_ALPHA16 0x803E -#define GL_LUMINANCE4 0x803F -#define GL_LUMINANCE8 0x8040 -#define GL_LUMINANCE12 0x8041 -#define GL_LUMINANCE16 0x8042 -#define GL_LUMINANCE4_ALPHA4 0x8043 -#define GL_LUMINANCE6_ALPHA2 0x8044 -#define GL_LUMINANCE8_ALPHA8 0x8045 -#define GL_LUMINANCE12_ALPHA4 0x8046 -#define GL_LUMINANCE12_ALPHA12 0x8047 -#define GL_LUMINANCE16_ALPHA16 0x8048 -#define GL_INTENSITY 0x8049 -#define GL_INTENSITY4 0x804A -#define GL_INTENSITY8 0x804B -#define GL_INTENSITY12 0x804C -#define GL_INTENSITY16 0x804D -#define GL_R3_G3_B2 0x2A10 -#define GL_RGB4 0x804F -#define GL_RGB5 0x8050 -#define GL_RGB8 0x8051 -#define GL_RGB10 0x8052 -#define GL_RGB12 0x8053 -#define GL_RGB16 0x8054 -#define GL_RGBA2 0x8055 -#define GL_RGBA4 0x8056 -#define GL_RGB5_A1 0x8057 -#define GL_RGBA8 0x8058 -#define GL_RGB10_A2 0x8059 -#define GL_RGBA12 0x805A -#define GL_RGBA16 0x805B -#define GL_CLIENT_PIXEL_STORE_BIT 0x00000001 -#define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002 -#define GL_ALL_CLIENT_ATTRIB_BITS 0xFFFFFFFF -#define GL_CLIENT_ALL_ATTRIB_BITS 0xFFFFFFFF - - - -/* - * Miscellaneous - */ - -GLAPI void GLAPIENTRY glClearIndex( GLfloat c ); - -GLAPI void GLAPIENTRY glClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ); - -GLAPI void GLAPIENTRY glClear( GLbitfield mask ); - -GLAPI void GLAPIENTRY glIndexMask( GLuint mask ); - -GLAPI void GLAPIENTRY glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ); - -GLAPI void GLAPIENTRY glAlphaFunc( GLenum func, GLclampf ref ); - -GLAPI void GLAPIENTRY glBlendFunc( GLenum sfactor, GLenum dfactor ); - -GLAPI void GLAPIENTRY glLogicOp( GLenum opcode ); - -GLAPI void GLAPIENTRY glCullFace( GLenum mode ); - -GLAPI void GLAPIENTRY glFrontFace( GLenum mode ); - -GLAPI void GLAPIENTRY glPointSize( GLfloat size ); - -GLAPI void GLAPIENTRY glLineWidth( GLfloat width ); - -GLAPI void GLAPIENTRY glLineStipple( GLint factor, GLushort pattern ); - -GLAPI void GLAPIENTRY glPolygonMode( GLenum face, GLenum mode ); - -GLAPI void GLAPIENTRY glPolygonOffset( GLfloat factor, GLfloat units ); - -GLAPI void GLAPIENTRY glPolygonStipple( const GLubyte *mask ); - -GLAPI void GLAPIENTRY glGetPolygonStipple( GLubyte *mask ); - -GLAPI void GLAPIENTRY glEdgeFlag( GLboolean flag ); - -GLAPI void GLAPIENTRY glEdgeFlagv( const GLboolean *flag ); - -GLAPI void GLAPIENTRY glScissor( GLint x, GLint y, GLsizei width, GLsizei height); - -GLAPI void GLAPIENTRY glClipPlane( GLenum plane, const GLdouble *equation ); - -GLAPI void GLAPIENTRY glGetClipPlane( GLenum plane, GLdouble *equation ); - -GLAPI void GLAPIENTRY glDrawBuffer( GLenum mode ); - -GLAPI void GLAPIENTRY glReadBuffer( GLenum mode ); - -GLAPI void GLAPIENTRY glEnable( GLenum cap ); - -GLAPI void GLAPIENTRY glDisable( GLenum cap ); - -GLAPI GLboolean GLAPIENTRY glIsEnabled( GLenum cap ); - - -GLAPI void GLAPIENTRY glEnableClientState( GLenum cap ); /* 1.1 */ - -GLAPI void GLAPIENTRY glDisableClientState( GLenum cap ); /* 1.1 */ - - -GLAPI void GLAPIENTRY glGetBooleanv( GLenum pname, GLboolean *params ); - -GLAPI void GLAPIENTRY glGetDoublev( GLenum pname, GLdouble *params ); - -GLAPI void GLAPIENTRY glGetFloatv( GLenum pname, GLfloat *params ); - -GLAPI void GLAPIENTRY glGetIntegerv( GLenum pname, GLint *params ); - - -GLAPI void GLAPIENTRY glPushAttrib( GLbitfield mask ); - -GLAPI void GLAPIENTRY glPopAttrib( void ); - - -GLAPI void GLAPIENTRY glPushClientAttrib( GLbitfield mask ); /* 1.1 */ - -GLAPI void GLAPIENTRY glPopClientAttrib( void ); /* 1.1 */ - - -GLAPI GLint GLAPIENTRY glRenderMode( GLenum mode ); - -GLAPI GLenum GLAPIENTRY glGetError( void ); - -GLAPI const GLubyte * GLAPIENTRY glGetString( GLenum name ); - -GLAPI void GLAPIENTRY glFinish( void ); - -GLAPI void GLAPIENTRY glFlush( void ); - -GLAPI void GLAPIENTRY glHint( GLenum target, GLenum mode ); - - -/* - * Depth Buffer - */ - -GLAPI void GLAPIENTRY glClearDepth( GLclampd depth ); - -GLAPI void GLAPIENTRY glDepthFunc( GLenum func ); - -GLAPI void GLAPIENTRY glDepthMask( GLboolean flag ); - -GLAPI void GLAPIENTRY glDepthRange( GLclampd near_val, GLclampd far_val ); - - -/* - * Accumulation Buffer - */ - -GLAPI void GLAPIENTRY glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ); - -GLAPI void GLAPIENTRY glAccum( GLenum op, GLfloat value ); - - -/* - * Transformation - */ - -GLAPI void GLAPIENTRY glMatrixMode( GLenum mode ); - -GLAPI void GLAPIENTRY glOrtho( GLdouble left, GLdouble right, - GLdouble bottom, GLdouble top, - GLdouble near_val, GLdouble far_val ); - -GLAPI void GLAPIENTRY glFrustum( GLdouble left, GLdouble right, - GLdouble bottom, GLdouble top, - GLdouble near_val, GLdouble far_val ); - -GLAPI void GLAPIENTRY glViewport( GLint x, GLint y, - GLsizei width, GLsizei height ); - -GLAPI void GLAPIENTRY glPushMatrix( void ); - -GLAPI void GLAPIENTRY glPopMatrix( void ); - -GLAPI void GLAPIENTRY glLoadIdentity( void ); - -GLAPI void GLAPIENTRY glLoadMatrixd( const GLdouble *m ); -GLAPI void GLAPIENTRY glLoadMatrixf( const GLfloat *m ); - -GLAPI void GLAPIENTRY glMultMatrixd( const GLdouble *m ); -GLAPI void GLAPIENTRY glMultMatrixf( const GLfloat *m ); - -GLAPI void GLAPIENTRY glRotated( GLdouble angle, - GLdouble x, GLdouble y, GLdouble z ); -GLAPI void GLAPIENTRY glRotatef( GLfloat angle, - GLfloat x, GLfloat y, GLfloat z ); - -GLAPI void GLAPIENTRY glScaled( GLdouble x, GLdouble y, GLdouble z ); -GLAPI void GLAPIENTRY glScalef( GLfloat x, GLfloat y, GLfloat z ); - -GLAPI void GLAPIENTRY glTranslated( GLdouble x, GLdouble y, GLdouble z ); -GLAPI void GLAPIENTRY glTranslatef( GLfloat x, GLfloat y, GLfloat z ); - - -/* - * Display Lists - */ - -GLAPI GLboolean GLAPIENTRY glIsList( GLuint list ); - -GLAPI void GLAPIENTRY glDeleteLists( GLuint list, GLsizei range ); - -GLAPI GLuint GLAPIENTRY glGenLists( GLsizei range ); - -GLAPI void GLAPIENTRY glNewList( GLuint list, GLenum mode ); - -GLAPI void GLAPIENTRY glEndList( void ); - -GLAPI void GLAPIENTRY glCallList( GLuint list ); - -GLAPI void GLAPIENTRY glCallLists( GLsizei n, GLenum type, - const GLvoid *lists ); - -GLAPI void GLAPIENTRY glListBase( GLuint base ); - - -/* - * Drawing Functions - */ - -GLAPI void GLAPIENTRY glBegin( GLenum mode ); - -GLAPI void GLAPIENTRY glEnd( void ); - - -GLAPI void GLAPIENTRY glVertex2d( GLdouble x, GLdouble y ); -GLAPI void GLAPIENTRY glVertex2f( GLfloat x, GLfloat y ); -GLAPI void GLAPIENTRY glVertex2i( GLint x, GLint y ); -GLAPI void GLAPIENTRY glVertex2s( GLshort x, GLshort y ); - -GLAPI void GLAPIENTRY glVertex3d( GLdouble x, GLdouble y, GLdouble z ); -GLAPI void GLAPIENTRY glVertex3f( GLfloat x, GLfloat y, GLfloat z ); -GLAPI void GLAPIENTRY glVertex3i( GLint x, GLint y, GLint z ); -GLAPI void GLAPIENTRY glVertex3s( GLshort x, GLshort y, GLshort z ); - -GLAPI void GLAPIENTRY glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ); -GLAPI void GLAPIENTRY glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ); -GLAPI void GLAPIENTRY glVertex4i( GLint x, GLint y, GLint z, GLint w ); -GLAPI void GLAPIENTRY glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w ); - -GLAPI void GLAPIENTRY glVertex2dv( const GLdouble *v ); -GLAPI void GLAPIENTRY glVertex2fv( const GLfloat *v ); -GLAPI void GLAPIENTRY glVertex2iv( const GLint *v ); -GLAPI void GLAPIENTRY glVertex2sv( const GLshort *v ); - -GLAPI void GLAPIENTRY glVertex3dv( const GLdouble *v ); -GLAPI void GLAPIENTRY glVertex3fv( const GLfloat *v ); -GLAPI void GLAPIENTRY glVertex3iv( const GLint *v ); -GLAPI void GLAPIENTRY glVertex3sv( const GLshort *v ); - -GLAPI void GLAPIENTRY glVertex4dv( const GLdouble *v ); -GLAPI void GLAPIENTRY glVertex4fv( const GLfloat *v ); -GLAPI void GLAPIENTRY glVertex4iv( const GLint *v ); -GLAPI void GLAPIENTRY glVertex4sv( const GLshort *v ); - - -GLAPI void GLAPIENTRY glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz ); -GLAPI void GLAPIENTRY glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz ); -GLAPI void GLAPIENTRY glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz ); -GLAPI void GLAPIENTRY glNormal3i( GLint nx, GLint ny, GLint nz ); -GLAPI void GLAPIENTRY glNormal3s( GLshort nx, GLshort ny, GLshort nz ); - -GLAPI void GLAPIENTRY glNormal3bv( const GLbyte *v ); -GLAPI void GLAPIENTRY glNormal3dv( const GLdouble *v ); -GLAPI void GLAPIENTRY glNormal3fv( const GLfloat *v ); -GLAPI void GLAPIENTRY glNormal3iv( const GLint *v ); -GLAPI void GLAPIENTRY glNormal3sv( const GLshort *v ); - - -GLAPI void GLAPIENTRY glIndexd( GLdouble c ); -GLAPI void GLAPIENTRY glIndexf( GLfloat c ); -GLAPI void GLAPIENTRY glIndexi( GLint c ); -GLAPI void GLAPIENTRY glIndexs( GLshort c ); -GLAPI void GLAPIENTRY glIndexub( GLubyte c ); /* 1.1 */ - -GLAPI void GLAPIENTRY glIndexdv( const GLdouble *c ); -GLAPI void GLAPIENTRY glIndexfv( const GLfloat *c ); -GLAPI void GLAPIENTRY glIndexiv( const GLint *c ); -GLAPI void GLAPIENTRY glIndexsv( const GLshort *c ); -GLAPI void GLAPIENTRY glIndexubv( const GLubyte *c ); /* 1.1 */ - -GLAPI void GLAPIENTRY glColor3b( GLbyte red, GLbyte green, GLbyte blue ); -GLAPI void GLAPIENTRY glColor3d( GLdouble red, GLdouble green, GLdouble blue ); -GLAPI void GLAPIENTRY glColor3f( GLfloat red, GLfloat green, GLfloat blue ); -GLAPI void GLAPIENTRY glColor3i( GLint red, GLint green, GLint blue ); -GLAPI void GLAPIENTRY glColor3s( GLshort red, GLshort green, GLshort blue ); -GLAPI void GLAPIENTRY glColor3ub( GLubyte red, GLubyte green, GLubyte blue ); -GLAPI void GLAPIENTRY glColor3ui( GLuint red, GLuint green, GLuint blue ); -GLAPI void GLAPIENTRY glColor3us( GLushort red, GLushort green, GLushort blue ); - -GLAPI void GLAPIENTRY glColor4b( GLbyte red, GLbyte green, - GLbyte blue, GLbyte alpha ); -GLAPI void GLAPIENTRY glColor4d( GLdouble red, GLdouble green, - GLdouble blue, GLdouble alpha ); -GLAPI void GLAPIENTRY glColor4f( GLfloat red, GLfloat green, - GLfloat blue, GLfloat alpha ); -GLAPI void GLAPIENTRY glColor4i( GLint red, GLint green, - GLint blue, GLint alpha ); -GLAPI void GLAPIENTRY glColor4s( GLshort red, GLshort green, - GLshort blue, GLshort alpha ); -GLAPI void GLAPIENTRY glColor4ub( GLubyte red, GLubyte green, - GLubyte blue, GLubyte alpha ); -GLAPI void GLAPIENTRY glColor4ui( GLuint red, GLuint green, - GLuint blue, GLuint alpha ); -GLAPI void GLAPIENTRY glColor4us( GLushort red, GLushort green, - GLushort blue, GLushort alpha ); - - -GLAPI void GLAPIENTRY glColor3bv( const GLbyte *v ); -GLAPI void GLAPIENTRY glColor3dv( const GLdouble *v ); -GLAPI void GLAPIENTRY glColor3fv( const GLfloat *v ); -GLAPI void GLAPIENTRY glColor3iv( const GLint *v ); -GLAPI void GLAPIENTRY glColor3sv( const GLshort *v ); -GLAPI void GLAPIENTRY glColor3ubv( const GLubyte *v ); -GLAPI void GLAPIENTRY glColor3uiv( const GLuint *v ); -GLAPI void GLAPIENTRY glColor3usv( const GLushort *v ); - -GLAPI void GLAPIENTRY glColor4bv( const GLbyte *v ); -GLAPI void GLAPIENTRY glColor4dv( const GLdouble *v ); -GLAPI void GLAPIENTRY glColor4fv( const GLfloat *v ); -GLAPI void GLAPIENTRY glColor4iv( const GLint *v ); -GLAPI void GLAPIENTRY glColor4sv( const GLshort *v ); -GLAPI void GLAPIENTRY glColor4ubv( const GLubyte *v ); -GLAPI void GLAPIENTRY glColor4uiv( const GLuint *v ); -GLAPI void GLAPIENTRY glColor4usv( const GLushort *v ); - - -GLAPI void GLAPIENTRY glTexCoord1d( GLdouble s ); -GLAPI void GLAPIENTRY glTexCoord1f( GLfloat s ); -GLAPI void GLAPIENTRY glTexCoord1i( GLint s ); -GLAPI void GLAPIENTRY glTexCoord1s( GLshort s ); - -GLAPI void GLAPIENTRY glTexCoord2d( GLdouble s, GLdouble t ); -GLAPI void GLAPIENTRY glTexCoord2f( GLfloat s, GLfloat t ); -GLAPI void GLAPIENTRY glTexCoord2i( GLint s, GLint t ); -GLAPI void GLAPIENTRY glTexCoord2s( GLshort s, GLshort t ); - -GLAPI void GLAPIENTRY glTexCoord3d( GLdouble s, GLdouble t, GLdouble r ); -GLAPI void GLAPIENTRY glTexCoord3f( GLfloat s, GLfloat t, GLfloat r ); -GLAPI void GLAPIENTRY glTexCoord3i( GLint s, GLint t, GLint r ); -GLAPI void GLAPIENTRY glTexCoord3s( GLshort s, GLshort t, GLshort r ); - -GLAPI void GLAPIENTRY glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q ); -GLAPI void GLAPIENTRY glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q ); -GLAPI void GLAPIENTRY glTexCoord4i( GLint s, GLint t, GLint r, GLint q ); -GLAPI void GLAPIENTRY glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q ); - -GLAPI void GLAPIENTRY glTexCoord1dv( const GLdouble *v ); -GLAPI void GLAPIENTRY glTexCoord1fv( const GLfloat *v ); -GLAPI void GLAPIENTRY glTexCoord1iv( const GLint *v ); -GLAPI void GLAPIENTRY glTexCoord1sv( const GLshort *v ); - -GLAPI void GLAPIENTRY glTexCoord2dv( const GLdouble *v ); -GLAPI void GLAPIENTRY glTexCoord2fv( const GLfloat *v ); -GLAPI void GLAPIENTRY glTexCoord2iv( const GLint *v ); -GLAPI void GLAPIENTRY glTexCoord2sv( const GLshort *v ); - -GLAPI void GLAPIENTRY glTexCoord3dv( const GLdouble *v ); -GLAPI void GLAPIENTRY glTexCoord3fv( const GLfloat *v ); -GLAPI void GLAPIENTRY glTexCoord3iv( const GLint *v ); -GLAPI void GLAPIENTRY glTexCoord3sv( const GLshort *v ); - -GLAPI void GLAPIENTRY glTexCoord4dv( const GLdouble *v ); -GLAPI void GLAPIENTRY glTexCoord4fv( const GLfloat *v ); -GLAPI void GLAPIENTRY glTexCoord4iv( const GLint *v ); -GLAPI void GLAPIENTRY glTexCoord4sv( const GLshort *v ); - - -GLAPI void GLAPIENTRY glRasterPos2d( GLdouble x, GLdouble y ); -GLAPI void GLAPIENTRY glRasterPos2f( GLfloat x, GLfloat y ); -GLAPI void GLAPIENTRY glRasterPos2i( GLint x, GLint y ); -GLAPI void GLAPIENTRY glRasterPos2s( GLshort x, GLshort y ); - -GLAPI void GLAPIENTRY glRasterPos3d( GLdouble x, GLdouble y, GLdouble z ); -GLAPI void GLAPIENTRY glRasterPos3f( GLfloat x, GLfloat y, GLfloat z ); -GLAPI void GLAPIENTRY glRasterPos3i( GLint x, GLint y, GLint z ); -GLAPI void GLAPIENTRY glRasterPos3s( GLshort x, GLshort y, GLshort z ); - -GLAPI void GLAPIENTRY glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ); -GLAPI void GLAPIENTRY glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ); -GLAPI void GLAPIENTRY glRasterPos4i( GLint x, GLint y, GLint z, GLint w ); -GLAPI void GLAPIENTRY glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w ); - -GLAPI void GLAPIENTRY glRasterPos2dv( const GLdouble *v ); -GLAPI void GLAPIENTRY glRasterPos2fv( const GLfloat *v ); -GLAPI void GLAPIENTRY glRasterPos2iv( const GLint *v ); -GLAPI void GLAPIENTRY glRasterPos2sv( const GLshort *v ); - -GLAPI void GLAPIENTRY glRasterPos3dv( const GLdouble *v ); -GLAPI void GLAPIENTRY glRasterPos3fv( const GLfloat *v ); -GLAPI void GLAPIENTRY glRasterPos3iv( const GLint *v ); -GLAPI void GLAPIENTRY glRasterPos3sv( const GLshort *v ); - -GLAPI void GLAPIENTRY glRasterPos4dv( const GLdouble *v ); -GLAPI void GLAPIENTRY glRasterPos4fv( const GLfloat *v ); -GLAPI void GLAPIENTRY glRasterPos4iv( const GLint *v ); -GLAPI void GLAPIENTRY glRasterPos4sv( const GLshort *v ); - - -GLAPI void GLAPIENTRY glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 ); -GLAPI void GLAPIENTRY glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 ); -GLAPI void GLAPIENTRY glRecti( GLint x1, GLint y1, GLint x2, GLint y2 ); -GLAPI void GLAPIENTRY glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 ); - - -GLAPI void GLAPIENTRY glRectdv( const GLdouble *v1, const GLdouble *v2 ); -GLAPI void GLAPIENTRY glRectfv( const GLfloat *v1, const GLfloat *v2 ); -GLAPI void GLAPIENTRY glRectiv( const GLint *v1, const GLint *v2 ); -GLAPI void GLAPIENTRY glRectsv( const GLshort *v1, const GLshort *v2 ); - - -/* - * Vertex Arrays (1.1) - */ - -GLAPI void GLAPIENTRY glVertexPointer( GLint size, GLenum type, - GLsizei stride, const GLvoid *ptr ); - -GLAPI void GLAPIENTRY glNormalPointer( GLenum type, GLsizei stride, - const GLvoid *ptr ); - -GLAPI void GLAPIENTRY glColorPointer( GLint size, GLenum type, - GLsizei stride, const GLvoid *ptr ); - -GLAPI void GLAPIENTRY glIndexPointer( GLenum type, GLsizei stride, - const GLvoid *ptr ); - -GLAPI void GLAPIENTRY glTexCoordPointer( GLint size, GLenum type, - GLsizei stride, const GLvoid *ptr ); - -GLAPI void GLAPIENTRY glEdgeFlagPointer( GLsizei stride, const GLvoid *ptr ); - -GLAPI void GLAPIENTRY glGetPointerv( GLenum pname, GLvoid **params ); - -GLAPI void GLAPIENTRY glArrayElement( GLint i ); - -GLAPI void GLAPIENTRY glDrawArrays( GLenum mode, GLint first, GLsizei count ); - -GLAPI void GLAPIENTRY glDrawElements( GLenum mode, GLsizei count, - GLenum type, const GLvoid *indices ); - -GLAPI void GLAPIENTRY glInterleavedArrays( GLenum format, GLsizei stride, - const GLvoid *pointer ); - -/* - * Lighting - */ - -GLAPI void GLAPIENTRY glShadeModel( GLenum mode ); - -GLAPI void GLAPIENTRY glLightf( GLenum light, GLenum pname, GLfloat param ); -GLAPI void GLAPIENTRY glLighti( GLenum light, GLenum pname, GLint param ); -GLAPI void GLAPIENTRY glLightfv( GLenum light, GLenum pname, - const GLfloat *params ); -GLAPI void GLAPIENTRY glLightiv( GLenum light, GLenum pname, - const GLint *params ); - -GLAPI void GLAPIENTRY glGetLightfv( GLenum light, GLenum pname, - GLfloat *params ); -GLAPI void GLAPIENTRY glGetLightiv( GLenum light, GLenum pname, - GLint *params ); - -GLAPI void GLAPIENTRY glLightModelf( GLenum pname, GLfloat param ); -GLAPI void GLAPIENTRY glLightModeli( GLenum pname, GLint param ); -GLAPI void GLAPIENTRY glLightModelfv( GLenum pname, const GLfloat *params ); -GLAPI void GLAPIENTRY glLightModeliv( GLenum pname, const GLint *params ); - -GLAPI void GLAPIENTRY glMaterialf( GLenum face, GLenum pname, GLfloat param ); -GLAPI void GLAPIENTRY glMateriali( GLenum face, GLenum pname, GLint param ); -GLAPI void GLAPIENTRY glMaterialfv( GLenum face, GLenum pname, const GLfloat *params ); -GLAPI void GLAPIENTRY glMaterialiv( GLenum face, GLenum pname, const GLint *params ); - -GLAPI void GLAPIENTRY glGetMaterialfv( GLenum face, GLenum pname, GLfloat *params ); -GLAPI void GLAPIENTRY glGetMaterialiv( GLenum face, GLenum pname, GLint *params ); - -GLAPI void GLAPIENTRY glColorMaterial( GLenum face, GLenum mode ); - - -/* - * Raster functions - */ - -GLAPI void GLAPIENTRY glPixelZoom( GLfloat xfactor, GLfloat yfactor ); - -GLAPI void GLAPIENTRY glPixelStoref( GLenum pname, GLfloat param ); -GLAPI void GLAPIENTRY glPixelStorei( GLenum pname, GLint param ); - -GLAPI void GLAPIENTRY glPixelTransferf( GLenum pname, GLfloat param ); -GLAPI void GLAPIENTRY glPixelTransferi( GLenum pname, GLint param ); - -GLAPI void GLAPIENTRY glPixelMapfv( GLenum map, GLsizei mapsize, - const GLfloat *values ); -GLAPI void GLAPIENTRY glPixelMapuiv( GLenum map, GLsizei mapsize, - const GLuint *values ); -GLAPI void GLAPIENTRY glPixelMapusv( GLenum map, GLsizei mapsize, - const GLushort *values ); - -GLAPI void GLAPIENTRY glGetPixelMapfv( GLenum map, GLfloat *values ); -GLAPI void GLAPIENTRY glGetPixelMapuiv( GLenum map, GLuint *values ); -GLAPI void GLAPIENTRY glGetPixelMapusv( GLenum map, GLushort *values ); - -GLAPI void GLAPIENTRY glBitmap( GLsizei width, GLsizei height, - GLfloat xorig, GLfloat yorig, - GLfloat xmove, GLfloat ymove, - const GLubyte *bitmap ); - -GLAPI void GLAPIENTRY glReadPixels( GLint x, GLint y, - GLsizei width, GLsizei height, - GLenum format, GLenum type, - GLvoid *pixels ); - -GLAPI void GLAPIENTRY glDrawPixels( GLsizei width, GLsizei height, - GLenum format, GLenum type, - const GLvoid *pixels ); - -GLAPI void GLAPIENTRY glCopyPixels( GLint x, GLint y, - GLsizei width, GLsizei height, - GLenum type ); - -/* - * Stenciling - */ - -GLAPI void GLAPIENTRY glStencilFunc( GLenum func, GLint ref, GLuint mask ); - -GLAPI void GLAPIENTRY glStencilMask( GLuint mask ); - -GLAPI void GLAPIENTRY glStencilOp( GLenum fail, GLenum zfail, GLenum zpass ); - -GLAPI void GLAPIENTRY glClearStencil( GLint s ); - - - -/* - * Texture mapping - */ - -GLAPI void GLAPIENTRY glTexGend( GLenum coord, GLenum pname, GLdouble param ); -GLAPI void GLAPIENTRY glTexGenf( GLenum coord, GLenum pname, GLfloat param ); -GLAPI void GLAPIENTRY glTexGeni( GLenum coord, GLenum pname, GLint param ); - -GLAPI void GLAPIENTRY glTexGendv( GLenum coord, GLenum pname, const GLdouble *params ); -GLAPI void GLAPIENTRY glTexGenfv( GLenum coord, GLenum pname, const GLfloat *params ); -GLAPI void GLAPIENTRY glTexGeniv( GLenum coord, GLenum pname, const GLint *params ); - -GLAPI void GLAPIENTRY glGetTexGendv( GLenum coord, GLenum pname, GLdouble *params ); -GLAPI void GLAPIENTRY glGetTexGenfv( GLenum coord, GLenum pname, GLfloat *params ); -GLAPI void GLAPIENTRY glGetTexGeniv( GLenum coord, GLenum pname, GLint *params ); - - -GLAPI void GLAPIENTRY glTexEnvf( GLenum target, GLenum pname, GLfloat param ); -GLAPI void GLAPIENTRY glTexEnvi( GLenum target, GLenum pname, GLint param ); - -GLAPI void GLAPIENTRY glTexEnvfv( GLenum target, GLenum pname, const GLfloat *params ); -GLAPI void GLAPIENTRY glTexEnviv( GLenum target, GLenum pname, const GLint *params ); - -GLAPI void GLAPIENTRY glGetTexEnvfv( GLenum target, GLenum pname, GLfloat *params ); -GLAPI void GLAPIENTRY glGetTexEnviv( GLenum target, GLenum pname, GLint *params ); - - -GLAPI void GLAPIENTRY glTexParameterf( GLenum target, GLenum pname, GLfloat param ); -GLAPI void GLAPIENTRY glTexParameteri( GLenum target, GLenum pname, GLint param ); - -GLAPI void GLAPIENTRY glTexParameterfv( GLenum target, GLenum pname, - const GLfloat *params ); -GLAPI void GLAPIENTRY glTexParameteriv( GLenum target, GLenum pname, - const GLint *params ); - -GLAPI void GLAPIENTRY glGetTexParameterfv( GLenum target, - GLenum pname, GLfloat *params); -GLAPI void GLAPIENTRY glGetTexParameteriv( GLenum target, - GLenum pname, GLint *params ); - -GLAPI void GLAPIENTRY glGetTexLevelParameterfv( GLenum target, GLint level, - GLenum pname, GLfloat *params ); -GLAPI void GLAPIENTRY glGetTexLevelParameteriv( GLenum target, GLint level, - GLenum pname, GLint *params ); - - -GLAPI void GLAPIENTRY glTexImage1D( GLenum target, GLint level, - GLint internalFormat, - GLsizei width, GLint border, - GLenum format, GLenum type, - const GLvoid *pixels ); - -GLAPI void GLAPIENTRY glTexImage2D( GLenum target, GLint level, - GLint internalFormat, - GLsizei width, GLsizei height, - GLint border, GLenum format, GLenum type, - const GLvoid *pixels ); - -GLAPI void GLAPIENTRY glGetTexImage( GLenum target, GLint level, - GLenum format, GLenum type, - GLvoid *pixels ); - - -/* 1.1 functions */ - -GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); - -GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); - -GLAPI void GLAPIENTRY glBindTexture( GLenum target, GLuint texture ); - -GLAPI void GLAPIENTRY glPrioritizeTextures( GLsizei n, - const GLuint *textures, - const GLclampf *priorities ); - -GLAPI GLboolean GLAPIENTRY glAreTexturesResident( GLsizei n, - const GLuint *textures, - GLboolean *residences ); - -GLAPI GLboolean GLAPIENTRY glIsTexture( GLuint texture ); - - -GLAPI void GLAPIENTRY glTexSubImage1D( GLenum target, GLint level, - GLint xoffset, - GLsizei width, GLenum format, - GLenum type, const GLvoid *pixels ); - - -GLAPI void GLAPIENTRY glTexSubImage2D( GLenum target, GLint level, - GLint xoffset, GLint yoffset, - GLsizei width, GLsizei height, - GLenum format, GLenum type, - const GLvoid *pixels ); - - -GLAPI void GLAPIENTRY glCopyTexImage1D( GLenum target, GLint level, - GLenum internalformat, - GLint x, GLint y, - GLsizei width, GLint border ); - - -GLAPI void GLAPIENTRY glCopyTexImage2D( GLenum target, GLint level, - GLenum internalformat, - GLint x, GLint y, - GLsizei width, GLsizei height, - GLint border ); - - -GLAPI void GLAPIENTRY glCopyTexSubImage1D( GLenum target, GLint level, - GLint xoffset, GLint x, GLint y, - GLsizei width ); - - -GLAPI void GLAPIENTRY glCopyTexSubImage2D( GLenum target, GLint level, - GLint xoffset, GLint yoffset, - GLint x, GLint y, - GLsizei width, GLsizei height ); - - -/* - * Evaluators - */ - -GLAPI void GLAPIENTRY glMap1d( GLenum target, GLdouble u1, GLdouble u2, - GLint stride, - GLint order, const GLdouble *points ); -GLAPI void GLAPIENTRY glMap1f( GLenum target, GLfloat u1, GLfloat u2, - GLint stride, - GLint order, const GLfloat *points ); - -GLAPI void GLAPIENTRY glMap2d( GLenum target, - GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, - GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, - const GLdouble *points ); -GLAPI void GLAPIENTRY glMap2f( GLenum target, - GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, - GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, - const GLfloat *points ); - -GLAPI void GLAPIENTRY glGetMapdv( GLenum target, GLenum query, GLdouble *v ); -GLAPI void GLAPIENTRY glGetMapfv( GLenum target, GLenum query, GLfloat *v ); -GLAPI void GLAPIENTRY glGetMapiv( GLenum target, GLenum query, GLint *v ); - -GLAPI void GLAPIENTRY glEvalCoord1d( GLdouble u ); -GLAPI void GLAPIENTRY glEvalCoord1f( GLfloat u ); - -GLAPI void GLAPIENTRY glEvalCoord1dv( const GLdouble *u ); -GLAPI void GLAPIENTRY glEvalCoord1fv( const GLfloat *u ); - -GLAPI void GLAPIENTRY glEvalCoord2d( GLdouble u, GLdouble v ); -GLAPI void GLAPIENTRY glEvalCoord2f( GLfloat u, GLfloat v ); - -GLAPI void GLAPIENTRY glEvalCoord2dv( const GLdouble *u ); -GLAPI void GLAPIENTRY glEvalCoord2fv( const GLfloat *u ); - -GLAPI void GLAPIENTRY glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 ); -GLAPI void GLAPIENTRY glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 ); - -GLAPI void GLAPIENTRY glMapGrid2d( GLint un, GLdouble u1, GLdouble u2, - GLint vn, GLdouble v1, GLdouble v2 ); -GLAPI void GLAPIENTRY glMapGrid2f( GLint un, GLfloat u1, GLfloat u2, - GLint vn, GLfloat v1, GLfloat v2 ); - -GLAPI void GLAPIENTRY glEvalPoint1( GLint i ); - -GLAPI void GLAPIENTRY glEvalPoint2( GLint i, GLint j ); - -GLAPI void GLAPIENTRY glEvalMesh1( GLenum mode, GLint i1, GLint i2 ); - -GLAPI void GLAPIENTRY glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 ); - - -/* - * Fog - */ - -GLAPI void GLAPIENTRY glFogf( GLenum pname, GLfloat param ); - -GLAPI void GLAPIENTRY glFogi( GLenum pname, GLint param ); - -GLAPI void GLAPIENTRY glFogfv( GLenum pname, const GLfloat *params ); - -GLAPI void GLAPIENTRY glFogiv( GLenum pname, const GLint *params ); - - -/* - * Selection and Feedback - */ - -GLAPI void GLAPIENTRY glFeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer ); - -GLAPI void GLAPIENTRY glPassThrough( GLfloat token ); - -GLAPI void GLAPIENTRY glSelectBuffer( GLsizei size, GLuint *buffer ); - -GLAPI void GLAPIENTRY glInitNames( void ); - -GLAPI void GLAPIENTRY glLoadName( GLuint name ); - -GLAPI void GLAPIENTRY glPushName( GLuint name ); - -GLAPI void GLAPIENTRY glPopName( void ); - - - -/* - * OpenGL 1.2 - */ - -#define GL_RESCALE_NORMAL 0x803A -#define GL_CLAMP_TO_EDGE 0x812F -#define GL_MAX_ELEMENTS_VERTICES 0x80E8 -#define GL_MAX_ELEMENTS_INDICES 0x80E9 -#define GL_BGR 0x80E0 -#define GL_BGRA 0x80E1 -#define GL_UNSIGNED_BYTE_3_3_2 0x8032 -#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 -#define GL_UNSIGNED_SHORT_5_6_5 0x8363 -#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 -#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 -#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 -#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 -#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 -#define GL_UNSIGNED_INT_8_8_8_8 0x8035 -#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 -#define GL_UNSIGNED_INT_10_10_10_2 0x8036 -#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 -#define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 -#define GL_SINGLE_COLOR 0x81F9 -#define GL_SEPARATE_SPECULAR_COLOR 0x81FA -#define GL_TEXTURE_MIN_LOD 0x813A -#define GL_TEXTURE_MAX_LOD 0x813B -#define GL_TEXTURE_BASE_LEVEL 0x813C -#define GL_TEXTURE_MAX_LEVEL 0x813D -#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 -#define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 -#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 -#define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 -#define GL_ALIASED_POINT_SIZE_RANGE 0x846D -#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E -#define GL_PACK_SKIP_IMAGES 0x806B -#define GL_PACK_IMAGE_HEIGHT 0x806C -#define GL_UNPACK_SKIP_IMAGES 0x806D -#define GL_UNPACK_IMAGE_HEIGHT 0x806E -#define GL_TEXTURE_3D 0x806F -#define GL_PROXY_TEXTURE_3D 0x8070 -#define GL_TEXTURE_DEPTH 0x8071 -#define GL_TEXTURE_WRAP_R 0x8072 -#define GL_MAX_3D_TEXTURE_SIZE 0x8073 -#define GL_TEXTURE_BINDING_3D 0x806A - -GLAPI void GLAPIENTRY glDrawRangeElements( GLenum mode, GLuint start, - GLuint end, GLsizei count, GLenum type, const GLvoid *indices ); - -GLAPI void GLAPIENTRY glTexImage3D( GLenum target, GLint level, - GLint internalFormat, - GLsizei width, GLsizei height, - GLsizei depth, GLint border, - GLenum format, GLenum type, - const GLvoid *pixels ); - -GLAPI void GLAPIENTRY glTexSubImage3D( GLenum target, GLint level, - GLint xoffset, GLint yoffset, - GLint zoffset, GLsizei width, - GLsizei height, GLsizei depth, - GLenum format, - GLenum type, const GLvoid *pixels); - -GLAPI void GLAPIENTRY glCopyTexSubImage3D( GLenum target, GLint level, - GLint xoffset, GLint yoffset, - GLint zoffset, GLint x, - GLint y, GLsizei width, - GLsizei height ); - -typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); -typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); - - -/* - * GL_ARB_imaging - */ - -#define GL_CONSTANT_COLOR 0x8001 -#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 -#define GL_CONSTANT_ALPHA 0x8003 -#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 -#define GL_COLOR_TABLE 0x80D0 -#define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 -#define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 -#define GL_PROXY_COLOR_TABLE 0x80D3 -#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 -#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 -#define GL_COLOR_TABLE_SCALE 0x80D6 -#define GL_COLOR_TABLE_BIAS 0x80D7 -#define GL_COLOR_TABLE_FORMAT 0x80D8 -#define GL_COLOR_TABLE_WIDTH 0x80D9 -#define GL_COLOR_TABLE_RED_SIZE 0x80DA -#define GL_COLOR_TABLE_GREEN_SIZE 0x80DB -#define GL_COLOR_TABLE_BLUE_SIZE 0x80DC -#define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD -#define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE -#define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF -#define GL_CONVOLUTION_1D 0x8010 -#define GL_CONVOLUTION_2D 0x8011 -#define GL_SEPARABLE_2D 0x8012 -#define GL_CONVOLUTION_BORDER_MODE 0x8013 -#define GL_CONVOLUTION_FILTER_SCALE 0x8014 -#define GL_CONVOLUTION_FILTER_BIAS 0x8015 -#define GL_REDUCE 0x8016 -#define GL_CONVOLUTION_FORMAT 0x8017 -#define GL_CONVOLUTION_WIDTH 0x8018 -#define GL_CONVOLUTION_HEIGHT 0x8019 -#define GL_MAX_CONVOLUTION_WIDTH 0x801A -#define GL_MAX_CONVOLUTION_HEIGHT 0x801B -#define GL_POST_CONVOLUTION_RED_SCALE 0x801C -#define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D -#define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E -#define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F -#define GL_POST_CONVOLUTION_RED_BIAS 0x8020 -#define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021 -#define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022 -#define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023 -#define GL_CONSTANT_BORDER 0x8151 -#define GL_REPLICATE_BORDER 0x8153 -#define GL_CONVOLUTION_BORDER_COLOR 0x8154 -#define GL_COLOR_MATRIX 0x80B1 -#define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2 -#define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3 -#define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4 -#define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5 -#define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6 -#define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7 -#define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8 -#define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9 -#define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA -#define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB -#define GL_HISTOGRAM 0x8024 -#define GL_PROXY_HISTOGRAM 0x8025 -#define GL_HISTOGRAM_WIDTH 0x8026 -#define GL_HISTOGRAM_FORMAT 0x8027 -#define GL_HISTOGRAM_RED_SIZE 0x8028 -#define GL_HISTOGRAM_GREEN_SIZE 0x8029 -#define GL_HISTOGRAM_BLUE_SIZE 0x802A -#define GL_HISTOGRAM_ALPHA_SIZE 0x802B -#define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C -#define GL_HISTOGRAM_SINK 0x802D -#define GL_MINMAX 0x802E -#define GL_MINMAX_FORMAT 0x802F -#define GL_MINMAX_SINK 0x8030 -#define GL_TABLE_TOO_LARGE 0x8031 -#define GL_BLEND_EQUATION 0x8009 -#define GL_MIN 0x8007 -#define GL_MAX 0x8008 -#define GL_FUNC_ADD 0x8006 -#define GL_FUNC_SUBTRACT 0x800A -#define GL_FUNC_REVERSE_SUBTRACT 0x800B -#define GL_BLEND_COLOR 0x8005 - - -GLAPI void GLAPIENTRY glColorTable( GLenum target, GLenum internalformat, - GLsizei width, GLenum format, - GLenum type, const GLvoid *table ); - -GLAPI void GLAPIENTRY glColorSubTable( GLenum target, - GLsizei start, GLsizei count, - GLenum format, GLenum type, - const GLvoid *data ); - -GLAPI void GLAPIENTRY glColorTableParameteriv(GLenum target, GLenum pname, - const GLint *params); - -GLAPI void GLAPIENTRY glColorTableParameterfv(GLenum target, GLenum pname, - const GLfloat *params); - -GLAPI void GLAPIENTRY glCopyColorSubTable( GLenum target, GLsizei start, - GLint x, GLint y, GLsizei width ); - -GLAPI void GLAPIENTRY glCopyColorTable( GLenum target, GLenum internalformat, - GLint x, GLint y, GLsizei width ); - -GLAPI void GLAPIENTRY glGetColorTable( GLenum target, GLenum format, - GLenum type, GLvoid *table ); - -GLAPI void GLAPIENTRY glGetColorTableParameterfv( GLenum target, GLenum pname, - GLfloat *params ); - -GLAPI void GLAPIENTRY glGetColorTableParameteriv( GLenum target, GLenum pname, - GLint *params ); - -GLAPI void GLAPIENTRY glBlendEquation( GLenum mode ); - -GLAPI void GLAPIENTRY glBlendColor( GLclampf red, GLclampf green, - GLclampf blue, GLclampf alpha ); - -GLAPI void GLAPIENTRY glHistogram( GLenum target, GLsizei width, - GLenum internalformat, GLboolean sink ); - -GLAPI void GLAPIENTRY glResetHistogram( GLenum target ); - -GLAPI void GLAPIENTRY glGetHistogram( GLenum target, GLboolean reset, - GLenum format, GLenum type, - GLvoid *values ); - -GLAPI void GLAPIENTRY glGetHistogramParameterfv( GLenum target, GLenum pname, - GLfloat *params ); - -GLAPI void GLAPIENTRY glGetHistogramParameteriv( GLenum target, GLenum pname, - GLint *params ); - -GLAPI void GLAPIENTRY glMinmax( GLenum target, GLenum internalformat, - GLboolean sink ); - -GLAPI void GLAPIENTRY glResetMinmax( GLenum target ); - -GLAPI void GLAPIENTRY glGetMinmax( GLenum target, GLboolean reset, - GLenum format, GLenum types, - GLvoid *values ); - -GLAPI void GLAPIENTRY glGetMinmaxParameterfv( GLenum target, GLenum pname, - GLfloat *params ); - -GLAPI void GLAPIENTRY glGetMinmaxParameteriv( GLenum target, GLenum pname, - GLint *params ); - -GLAPI void GLAPIENTRY glConvolutionFilter1D( GLenum target, - GLenum internalformat, GLsizei width, GLenum format, GLenum type, - const GLvoid *image ); - -GLAPI void GLAPIENTRY glConvolutionFilter2D( GLenum target, - GLenum internalformat, GLsizei width, GLsizei height, GLenum format, - GLenum type, const GLvoid *image ); - -GLAPI void GLAPIENTRY glConvolutionParameterf( GLenum target, GLenum pname, - GLfloat params ); - -GLAPI void GLAPIENTRY glConvolutionParameterfv( GLenum target, GLenum pname, - const GLfloat *params ); - -GLAPI void GLAPIENTRY glConvolutionParameteri( GLenum target, GLenum pname, - GLint params ); - -GLAPI void GLAPIENTRY glConvolutionParameteriv( GLenum target, GLenum pname, - const GLint *params ); - -GLAPI void GLAPIENTRY glCopyConvolutionFilter1D( GLenum target, - GLenum internalformat, GLint x, GLint y, GLsizei width ); - -GLAPI void GLAPIENTRY glCopyConvolutionFilter2D( GLenum target, - GLenum internalformat, GLint x, GLint y, GLsizei width, - GLsizei height); - -GLAPI void GLAPIENTRY glGetConvolutionFilter( GLenum target, GLenum format, - GLenum type, GLvoid *image ); - -GLAPI void GLAPIENTRY glGetConvolutionParameterfv( GLenum target, GLenum pname, - GLfloat *params ); - -GLAPI void GLAPIENTRY glGetConvolutionParameteriv( GLenum target, GLenum pname, - GLint *params ); - -GLAPI void GLAPIENTRY glSeparableFilter2D( GLenum target, - GLenum internalformat, GLsizei width, GLsizei height, GLenum format, - GLenum type, const GLvoid *row, const GLvoid *column ); - -GLAPI void GLAPIENTRY glGetSeparableFilter( GLenum target, GLenum format, - GLenum type, GLvoid *row, GLvoid *column, GLvoid *span ); - -typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); -typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); -typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); -typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); -typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); -typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); -typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); -typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); -typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); -typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink); -typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target); -typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target); - - - -/* - * OpenGL 1.3 - */ - -/* multitexture */ -#define GL_TEXTURE0 0x84C0 -#define GL_TEXTURE1 0x84C1 -#define GL_TEXTURE2 0x84C2 -#define GL_TEXTURE3 0x84C3 -#define GL_TEXTURE4 0x84C4 -#define GL_TEXTURE5 0x84C5 -#define GL_TEXTURE6 0x84C6 -#define GL_TEXTURE7 0x84C7 -#define GL_TEXTURE8 0x84C8 -#define GL_TEXTURE9 0x84C9 -#define GL_TEXTURE10 0x84CA -#define GL_TEXTURE11 0x84CB -#define GL_TEXTURE12 0x84CC -#define GL_TEXTURE13 0x84CD -#define GL_TEXTURE14 0x84CE -#define GL_TEXTURE15 0x84CF -#define GL_TEXTURE16 0x84D0 -#define GL_TEXTURE17 0x84D1 -#define GL_TEXTURE18 0x84D2 -#define GL_TEXTURE19 0x84D3 -#define GL_TEXTURE20 0x84D4 -#define GL_TEXTURE21 0x84D5 -#define GL_TEXTURE22 0x84D6 -#define GL_TEXTURE23 0x84D7 -#define GL_TEXTURE24 0x84D8 -#define GL_TEXTURE25 0x84D9 -#define GL_TEXTURE26 0x84DA -#define GL_TEXTURE27 0x84DB -#define GL_TEXTURE28 0x84DC -#define GL_TEXTURE29 0x84DD -#define GL_TEXTURE30 0x84DE -#define GL_TEXTURE31 0x84DF -#define GL_ACTIVE_TEXTURE 0x84E0 -#define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 -#define GL_MAX_TEXTURE_UNITS 0x84E2 -/* texture_cube_map */ -#define GL_NORMAL_MAP 0x8511 -#define GL_REFLECTION_MAP 0x8512 -#define GL_TEXTURE_CUBE_MAP 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A -#define GL_PROXY_TEXTURE_CUBE_MAP 0x851B -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C -/* texture_compression */ -#define GL_COMPRESSED_ALPHA 0x84E9 -#define GL_COMPRESSED_LUMINANCE 0x84EA -#define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB -#define GL_COMPRESSED_INTENSITY 0x84EC -#define GL_COMPRESSED_RGB 0x84ED -#define GL_COMPRESSED_RGBA 0x84EE -#define GL_TEXTURE_COMPRESSION_HINT 0x84EF -#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 -#define GL_TEXTURE_COMPRESSED 0x86A1 -#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 -#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 -/* multisample */ -#define GL_MULTISAMPLE 0x809D -#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE 0x809F -#define GL_SAMPLE_COVERAGE 0x80A0 -#define GL_SAMPLE_BUFFERS 0x80A8 -#define GL_SAMPLES 0x80A9 -#define GL_SAMPLE_COVERAGE_VALUE 0x80AA -#define GL_SAMPLE_COVERAGE_INVERT 0x80AB -#define GL_MULTISAMPLE_BIT 0x20000000 -/* transpose_matrix */ -#define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3 -#define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4 -#define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5 -#define GL_TRANSPOSE_COLOR_MATRIX 0x84E6 -/* texture_env_combine */ -#define GL_COMBINE 0x8570 -#define GL_COMBINE_RGB 0x8571 -#define GL_COMBINE_ALPHA 0x8572 -#define GL_SOURCE0_RGB 0x8580 -#define GL_SOURCE1_RGB 0x8581 -#define GL_SOURCE2_RGB 0x8582 -#define GL_SOURCE0_ALPHA 0x8588 -#define GL_SOURCE1_ALPHA 0x8589 -#define GL_SOURCE2_ALPHA 0x858A -#define GL_OPERAND0_RGB 0x8590 -#define GL_OPERAND1_RGB 0x8591 -#define GL_OPERAND2_RGB 0x8592 -#define GL_OPERAND0_ALPHA 0x8598 -#define GL_OPERAND1_ALPHA 0x8599 -#define GL_OPERAND2_ALPHA 0x859A -#define GL_RGB_SCALE 0x8573 -#define GL_ADD_SIGNED 0x8574 -#define GL_INTERPOLATE 0x8575 -#define GL_SUBTRACT 0x84E7 -#define GL_CONSTANT 0x8576 -#define GL_PRIMARY_COLOR 0x8577 -#define GL_PREVIOUS 0x8578 -/* texture_env_dot3 */ -#define GL_DOT3_RGB 0x86AE -#define GL_DOT3_RGBA 0x86AF -/* texture_border_clamp */ -#define GL_CLAMP_TO_BORDER 0x812D - -GLAPI void GLAPIENTRY glActiveTexture( GLenum texture ); - -GLAPI void GLAPIENTRY glClientActiveTexture( GLenum texture ); - -GLAPI void GLAPIENTRY glCompressedTexImage1D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data ); - -GLAPI void GLAPIENTRY glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data ); - -GLAPI void GLAPIENTRY glCompressedTexImage3D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data ); - -GLAPI void GLAPIENTRY glCompressedTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data ); - -GLAPI void GLAPIENTRY glCompressedTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data ); - -GLAPI void GLAPIENTRY glCompressedTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data ); - -GLAPI void GLAPIENTRY glGetCompressedTexImage( GLenum target, GLint lod, GLvoid *img ); - -GLAPI void GLAPIENTRY glMultiTexCoord1d( GLenum target, GLdouble s ); - -GLAPI void GLAPIENTRY glMultiTexCoord1dv( GLenum target, const GLdouble *v ); - -GLAPI void GLAPIENTRY glMultiTexCoord1f( GLenum target, GLfloat s ); - -GLAPI void GLAPIENTRY glMultiTexCoord1fv( GLenum target, const GLfloat *v ); - -GLAPI void GLAPIENTRY glMultiTexCoord1i( GLenum target, GLint s ); - -GLAPI void GLAPIENTRY glMultiTexCoord1iv( GLenum target, const GLint *v ); - -GLAPI void GLAPIENTRY glMultiTexCoord1s( GLenum target, GLshort s ); - -GLAPI void GLAPIENTRY glMultiTexCoord1sv( GLenum target, const GLshort *v ); - -GLAPI void GLAPIENTRY glMultiTexCoord2d( GLenum target, GLdouble s, GLdouble t ); - -GLAPI void GLAPIENTRY glMultiTexCoord2dv( GLenum target, const GLdouble *v ); - -GLAPI void GLAPIENTRY glMultiTexCoord2f( GLenum target, GLfloat s, GLfloat t ); - -GLAPI void GLAPIENTRY glMultiTexCoord2fv( GLenum target, const GLfloat *v ); - -GLAPI void GLAPIENTRY glMultiTexCoord2i( GLenum target, GLint s, GLint t ); - -GLAPI void GLAPIENTRY glMultiTexCoord2iv( GLenum target, const GLint *v ); - -GLAPI void GLAPIENTRY glMultiTexCoord2s( GLenum target, GLshort s, GLshort t ); - -GLAPI void GLAPIENTRY glMultiTexCoord2sv( GLenum target, const GLshort *v ); - -GLAPI void GLAPIENTRY glMultiTexCoord3d( GLenum target, GLdouble s, GLdouble t, GLdouble r ); - -GLAPI void GLAPIENTRY glMultiTexCoord3dv( GLenum target, const GLdouble *v ); - -GLAPI void GLAPIENTRY glMultiTexCoord3f( GLenum target, GLfloat s, GLfloat t, GLfloat r ); - -GLAPI void GLAPIENTRY glMultiTexCoord3fv( GLenum target, const GLfloat *v ); - -GLAPI void GLAPIENTRY glMultiTexCoord3i( GLenum target, GLint s, GLint t, GLint r ); - -GLAPI void GLAPIENTRY glMultiTexCoord3iv( GLenum target, const GLint *v ); - -GLAPI void GLAPIENTRY glMultiTexCoord3s( GLenum target, GLshort s, GLshort t, GLshort r ); - -GLAPI void GLAPIENTRY glMultiTexCoord3sv( GLenum target, const GLshort *v ); - -GLAPI void GLAPIENTRY glMultiTexCoord4d( GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q ); - -GLAPI void GLAPIENTRY glMultiTexCoord4dv( GLenum target, const GLdouble *v ); - -GLAPI void GLAPIENTRY glMultiTexCoord4f( GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q ); - -GLAPI void GLAPIENTRY glMultiTexCoord4fv( GLenum target, const GLfloat *v ); - -GLAPI void GLAPIENTRY glMultiTexCoord4i( GLenum target, GLint s, GLint t, GLint r, GLint q ); - -GLAPI void GLAPIENTRY glMultiTexCoord4iv( GLenum target, const GLint *v ); - -GLAPI void GLAPIENTRY glMultiTexCoord4s( GLenum target, GLshort s, GLshort t, GLshort r, GLshort q ); - -GLAPI void GLAPIENTRY glMultiTexCoord4sv( GLenum target, const GLshort *v ); - - -GLAPI void GLAPIENTRY glLoadTransposeMatrixd( const GLdouble m[16] ); - -GLAPI void GLAPIENTRY glLoadTransposeMatrixf( const GLfloat m[16] ); - -GLAPI void GLAPIENTRY glMultTransposeMatrixd( const GLdouble m[16] ); - -GLAPI void GLAPIENTRY glMultTransposeMatrixf( const GLfloat m[16] ); - -GLAPI void GLAPIENTRY glSampleCoverage( GLclampf value, GLboolean invert ); - -typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); -typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m); -typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m); -typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m); -typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m); -typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img); - - -/* - * GL_ARB_multitexture (ARB extension 1 and OpenGL 1.2.1) - */ -#ifndef GL_ARB_multitexture -#define GL_ARB_multitexture 1 - -#define GL_TEXTURE0_ARB 0x84C0 -#define GL_TEXTURE1_ARB 0x84C1 -#define GL_TEXTURE2_ARB 0x84C2 -#define GL_TEXTURE3_ARB 0x84C3 -#define GL_TEXTURE4_ARB 0x84C4 -#define GL_TEXTURE5_ARB 0x84C5 -#define GL_TEXTURE6_ARB 0x84C6 -#define GL_TEXTURE7_ARB 0x84C7 -#define GL_TEXTURE8_ARB 0x84C8 -#define GL_TEXTURE9_ARB 0x84C9 -#define GL_TEXTURE10_ARB 0x84CA -#define GL_TEXTURE11_ARB 0x84CB -#define GL_TEXTURE12_ARB 0x84CC -#define GL_TEXTURE13_ARB 0x84CD -#define GL_TEXTURE14_ARB 0x84CE -#define GL_TEXTURE15_ARB 0x84CF -#define GL_TEXTURE16_ARB 0x84D0 -#define GL_TEXTURE17_ARB 0x84D1 -#define GL_TEXTURE18_ARB 0x84D2 -#define GL_TEXTURE19_ARB 0x84D3 -#define GL_TEXTURE20_ARB 0x84D4 -#define GL_TEXTURE21_ARB 0x84D5 -#define GL_TEXTURE22_ARB 0x84D6 -#define GL_TEXTURE23_ARB 0x84D7 -#define GL_TEXTURE24_ARB 0x84D8 -#define GL_TEXTURE25_ARB 0x84D9 -#define GL_TEXTURE26_ARB 0x84DA -#define GL_TEXTURE27_ARB 0x84DB -#define GL_TEXTURE28_ARB 0x84DC -#define GL_TEXTURE29_ARB 0x84DD -#define GL_TEXTURE30_ARB 0x84DE -#define GL_TEXTURE31_ARB 0x84DF -#define GL_ACTIVE_TEXTURE_ARB 0x84E0 -#define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1 -#define GL_MAX_TEXTURE_UNITS_ARB 0x84E2 - -GLAPI void GLAPIENTRY glActiveTextureARB(GLenum texture); -GLAPI void GLAPIENTRY glClientActiveTextureARB(GLenum texture); -GLAPI void GLAPIENTRY glMultiTexCoord1dARB(GLenum target, GLdouble s); -GLAPI void GLAPIENTRY glMultiTexCoord1dvARB(GLenum target, const GLdouble *v); -GLAPI void GLAPIENTRY glMultiTexCoord1fARB(GLenum target, GLfloat s); -GLAPI void GLAPIENTRY glMultiTexCoord1fvARB(GLenum target, const GLfloat *v); -GLAPI void GLAPIENTRY glMultiTexCoord1iARB(GLenum target, GLint s); -GLAPI void GLAPIENTRY glMultiTexCoord1ivARB(GLenum target, const GLint *v); -GLAPI void GLAPIENTRY glMultiTexCoord1sARB(GLenum target, GLshort s); -GLAPI void GLAPIENTRY glMultiTexCoord1svARB(GLenum target, const GLshort *v); -GLAPI void GLAPIENTRY glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t); -GLAPI void GLAPIENTRY glMultiTexCoord2dvARB(GLenum target, const GLdouble *v); -GLAPI void GLAPIENTRY glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t); -GLAPI void GLAPIENTRY glMultiTexCoord2fvARB(GLenum target, const GLfloat *v); -GLAPI void GLAPIENTRY glMultiTexCoord2iARB(GLenum target, GLint s, GLint t); -GLAPI void GLAPIENTRY glMultiTexCoord2ivARB(GLenum target, const GLint *v); -GLAPI void GLAPIENTRY glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t); -GLAPI void GLAPIENTRY glMultiTexCoord2svARB(GLenum target, const GLshort *v); -GLAPI void GLAPIENTRY glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r); -GLAPI void GLAPIENTRY glMultiTexCoord3dvARB(GLenum target, const GLdouble *v); -GLAPI void GLAPIENTRY glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r); -GLAPI void GLAPIENTRY glMultiTexCoord3fvARB(GLenum target, const GLfloat *v); -GLAPI void GLAPIENTRY glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r); -GLAPI void GLAPIENTRY glMultiTexCoord3ivARB(GLenum target, const GLint *v); -GLAPI void GLAPIENTRY glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r); -GLAPI void GLAPIENTRY glMultiTexCoord3svARB(GLenum target, const GLshort *v); -GLAPI void GLAPIENTRY glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); -GLAPI void GLAPIENTRY glMultiTexCoord4dvARB(GLenum target, const GLdouble *v); -GLAPI void GLAPIENTRY glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); -GLAPI void GLAPIENTRY glMultiTexCoord4fvARB(GLenum target, const GLfloat *v); -GLAPI void GLAPIENTRY glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q); -GLAPI void GLAPIENTRY glMultiTexCoord4ivARB(GLenum target, const GLint *v); -GLAPI void GLAPIENTRY glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); -GLAPI void GLAPIENTRY glMultiTexCoord4svARB(GLenum target, const GLshort *v); - -typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture); -typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v); - -#endif /* GL_ARB_multitexture */ - - - -/* - * Define this token if you want "old-style" header file behaviour (extensions - * defined in gl.h). Otherwise, extensions will be included from glext.h. - */ -#if defined(GL_GLEXT_LEGACY) - -/* All extensions that used to be here are now found in glext.h */ - -#else /* GL_GLEXT_LEGACY */ - -#include - -#endif /* GL_GLEXT_LEGACY */ - - - -/* - * ???. GL_MESA_trace - * XXX obsolete - */ -#ifndef GL_MESA_trace -#define GL_MESA_trace 1 - -#define GL_TRACE_ALL_BITS_MESA 0xFFFF -#define GL_TRACE_OPERATIONS_BIT_MESA 0x0001 -#define GL_TRACE_PRIMITIVES_BIT_MESA 0x0002 -#define GL_TRACE_ARRAYS_BIT_MESA 0x0004 -#define GL_TRACE_TEXTURES_BIT_MESA 0x0008 -#define GL_TRACE_PIXELS_BIT_MESA 0x0010 -#define GL_TRACE_ERRORS_BIT_MESA 0x0020 -#define GL_TRACE_MASK_MESA 0x8755 -#define GL_TRACE_NAME_MESA 0x8756 - -GLAPI void GLAPIENTRY glEnableTraceMESA( GLbitfield mask ); -GLAPI void GLAPIENTRY glDisableTraceMESA( GLbitfield mask ); -GLAPI void GLAPIENTRY glNewTraceMESA( GLbitfield mask, const GLubyte * traceName ); -GLAPI void GLAPIENTRY glEndTraceMESA( void ); -GLAPI void GLAPIENTRY glTraceAssertAttribMESA( GLbitfield attribMask ); -GLAPI void GLAPIENTRY glTraceCommentMESA( const GLubyte * comment ); -GLAPI void GLAPIENTRY glTraceTextureMESA( GLuint name, const GLubyte* comment ); -GLAPI void GLAPIENTRY glTraceListMESA( GLuint name, const GLubyte* comment ); -GLAPI void GLAPIENTRY glTracePointerMESA( GLvoid* pointer, const GLubyte* comment ); -GLAPI void GLAPIENTRY glTracePointerRangeMESA( const GLvoid* first, const GLvoid* last, const GLubyte* comment ); - -#endif /* GL_MESA_trace */ - - -/* - * ???. GL_MESA_packed_depth_stencil - * XXX obsolete - */ -#ifndef GL_MESA_packed_depth_stencil -#define GL_MESA_packed_depth_stencil 1 - -#define GL_DEPTH_STENCIL_MESA 0x8750 -#define GL_UNSIGNED_INT_24_8_MESA 0x8751 -#define GL_UNSIGNED_INT_8_24_REV_MESA 0x8752 -#define GL_UNSIGNED_SHORT_15_1_MESA 0x8753 -#define GL_UNSIGNED_SHORT_1_15_REV_MESA 0x8754 - -#endif /* GL_MESA_packed_depth_stencil */ - - -#ifndef GL_MESA_program_debug -#define GL_MESA_program_debug 1 - -#define GL_FRAGMENT_PROGRAM_POSITION_MESA 0x8bb0 -#define GL_FRAGMENT_PROGRAM_CALLBACK_MESA 0x8bb1 -#define GL_FRAGMENT_PROGRAM_CALLBACK_FUNC_MESA 0x8bb2 -#define GL_FRAGMENT_PROGRAM_CALLBACK_DATA_MESA 0x8bb3 -#define GL_VERTEX_PROGRAM_POSITION_MESA 0x8bb4 -#define GL_VERTEX_PROGRAM_CALLBACK_MESA 0x8bb5 -#define GL_VERTEX_PROGRAM_CALLBACK_FUNC_MESA 0x8bb6 -#define GL_VERTEX_PROGRAM_CALLBACK_DATA_MESA 0x8bb7 - -typedef void (*GLprogramcallbackMESA)(GLenum target, GLvoid *data); - -GLAPI void GLAPIENTRY glProgramCallbackMESA(GLenum target, GLprogramcallbackMESA callback, GLvoid *data); - -GLAPI void GLAPIENTRY glGetProgramRegisterfvMESA(GLenum target, GLsizei len, const GLubyte *name, GLfloat *v); - -#endif /* GL_MESA_program_debug */ - - -#ifndef GL_ATI_blend_equation_separate -#define GL_ATI_blend_equation_separate 1 - -#define GL_ALPHA_BLEND_EQUATION_ATI 0x883D - -GLAPI void GLAPIENTRY glBlendEquationSeparateATI( GLenum modeRGB, GLenum modeA ); -typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEATIPROC) (GLenum modeRGB, GLenum modeA); - -#endif /* GL_ATI_blend_equation_separate */ - - -/** - ** NOTE!!!!! If you add new functions to this file, or update - ** glext.h be sure to regenerate the gl_mangle.h file. See comments - ** in that file for details. - **/ - - - -/********************************************************************** - * Begin system-specific stuff - */ -#if defined(PRAGMA_EXPORT_SUPPORTED) -#pragma export off -#endif - -#if defined(macintosh) && PRAGMA_IMPORT_SUPPORTED -#pragma import off -#endif -/* - * End system-specific stuff - **********************************************************************/ - - -#ifdef __cplusplus -} -#endif - -#endif /* __gl_h_ */ diff --git a/Libraries/GL/gl_mangle.h b/Libraries/GL/gl_mangle.h deleted file mode 100644 index c1b443c6..00000000 --- a/Libraries/GL/gl_mangle.h +++ /dev/null @@ -1,1472 +0,0 @@ -#if 0 -#define GL_MANGLE_C1 "DO NOT EDIT!!! - TO REGENERATE from gl.h, EXECUTE THIS FILE IN SHELL (/bin/sh) and save the output" -#define GL_MANGLE_C2 "This file is used to create GL function protypes and aliases for the function names" - files="gl.h glext.h" -#define GL_MANGLE_C3 "get regeneration header - copy everything in this file above the 'REGENERATE_TO_END' line" - awk '!done; /^\/\*REGENERATE_TO_END/ {done=1}' $0 - echo "" -#define GL_MANGLE_C4 get aliases - grep '^GLAPI' $files | sed -e 's/.*ENTRY gl\([^( ]*\).*$/#define gl\1 MANGLE(\1)/' | sort | uniq - echo "" - echo "#endif /* GL_MANGLE_H */" - exit -#endif /* REGENERATION */ - -/* - * If you compile Mesa with USE_MGL_NAMESPACE defined then you can link - * your application both with OpenGL and Mesa. The Mesa functions will - * be redefined so they are prefixed with "mgl" instead of "gl". - * Mgl contributed by Randy Frank (rfrank@rsinc.com) - * Regneration code contributed by Ray Tice (rayt@ma.ultra.net) - */ - -#ifndef GL_MANGLE_H -#define GL_MANGLE_H - -#ifndef MANGLE -#define MANGLE(x) mgl##x -#endif /*MANGLE*/ - -/* Internal symbols which may collide with other OpenGL implementations. */ -#define __glCoreCreateContext __mglCoreCreateContext -#define __glCoreNopDispatch __mglCoreNopDispatch - -/*REGENERATE_TO_END-----------ALL LINES BELOW HERE GET REPLACED ON REGENERATION */ - -#define glAccum MANGLE(Accum) -#define glActiveStencilFaceEXT MANGLE(ActiveStencilFaceEXT) -#define glActiveTextureARB MANGLE(ActiveTextureARB) -#define glActiveTexture MANGLE(ActiveTexture) -#define glAlphaFragmentOp1ATI MANGLE(AlphaFragmentOp1ATI) -#define glAlphaFragmentOp2ATI MANGLE(AlphaFragmentOp2ATI) -#define glAlphaFragmentOp3ATI MANGLE(AlphaFragmentOp3ATI) -#define glAlphaFunc MANGLE(AlphaFunc) -#define glApplyTextureEXT MANGLE(ApplyTextureEXT) -#define glAreProgramsResidentNV MANGLE(AreProgramsResidentNV) -#define glAreTexturesResidentEXT MANGLE(AreTexturesResidentEXT) -#define glAreTexturesResident MANGLE(AreTexturesResident) -#define glArrayElementEXT MANGLE(ArrayElementEXT) -#define glArrayElement MANGLE(ArrayElement) -#define glArrayObjectATI MANGLE(ArrayObjectATI) -#define glAsyncMarkerSGIX MANGLE(AsyncMarkerSGIX) -#define glAttachObjectARB MANGLE(AttachObjectARB) -#define glAttachShader MANGLE(AttachShader) -#define glBeginFragmentShaderATI MANGLE(BeginFragmentShaderATI) -#define glBegin MANGLE(Begin) -#define glBeginOcclusionQueryNV MANGLE(BeginOcclusionQueryNV) -#define glBeginQueryARB MANGLE(BeginQueryARB) -#define glBeginQuery MANGLE(BeginQuery) -#define glBeginVertexShaderEXT MANGLE(BeginVertexShaderEXT) -#define glBindAttribLocationARB MANGLE(BindAttribLocationARB) -#define glBindAttribLocation MANGLE(BindAttribLocation) -#define glBindBufferARB MANGLE(BindBufferARB) -#define glBindBuffer MANGLE(BindBuffer) -#define glBindFragmentShaderATI MANGLE(BindFragmentShaderATI) -#define glBindFramebufferEXT MANGLE(BindFramebufferEXT) -#define glBindLightParameterEXT MANGLE(BindLightParameterEXT) -#define glBindMaterialParameterEXT MANGLE(BindMaterialParameterEXT) -#define glBindParameterEXT MANGLE(BindParameterEXT) -#define glBindProgramARB MANGLE(BindProgramARB) -#define glBindProgramNV MANGLE(BindProgramNV) -#define glBindRenderbufferEXT MANGLE(BindRenderbufferEXT) -#define glBindTexGenParameterEXT MANGLE(BindTexGenParameterEXT) -#define glBindTextureEXT MANGLE(BindTextureEXT) -#define glBindTexture MANGLE(BindTexture) -#define glBindTextureUnitParameterEXT MANGLE(BindTextureUnitParameterEXT) -#define glBindVertexArrayAPPLE MANGLE(BindVertexArrayAPPLE) -#define glBindVertexShaderEXT MANGLE(BindVertexShaderEXT) -#define glBinormal3bEXT MANGLE(Binormal3bEXT) -#define glBinormal3bvEXT MANGLE(Binormal3bvEXT) -#define glBinormal3dEXT MANGLE(Binormal3dEXT) -#define glBinormal3dvEXT MANGLE(Binormal3dvEXT) -#define glBinormal3fEXT MANGLE(Binormal3fEXT) -#define glBinormal3fvEXT MANGLE(Binormal3fvEXT) -#define glBinormal3iEXT MANGLE(Binormal3iEXT) -#define glBinormal3ivEXT MANGLE(Binormal3ivEXT) -#define glBinormal3sEXT MANGLE(Binormal3sEXT) -#define glBinormal3svEXT MANGLE(Binormal3svEXT) -#define glBinormalPointerEXT MANGLE(BinormalPointerEXT) -#define glBitmap MANGLE(Bitmap) -#define glBlendColorEXT MANGLE(BlendColorEXT) -#define glBlendColor MANGLE(BlendColor) -#define glBlendEquationEXT MANGLE(BlendEquationEXT) -#define glBlendEquation MANGLE(BlendEquation) -#define glBlendEquationSeparateATI MANGLE(BlendEquationSeparateATI) -#define glBlendEquationSeparateEXT MANGLE(BlendEquationSeparateEXT) -#define glBlendEquationSeparate MANGLE(BlendEquationSeparate) -#define glBlendFunc MANGLE(BlendFunc) -#define glBlendFuncSeparateEXT MANGLE(BlendFuncSeparateEXT) -#define glBlendFuncSeparateINGR MANGLE(BlendFuncSeparateINGR) -#define glBlendFuncSeparate MANGLE(BlendFuncSeparate) -#define glBufferDataARB MANGLE(BufferDataARB) -#define glBufferData MANGLE(BufferData) -#define glBufferSubDataARB MANGLE(BufferSubDataARB) -#define glBufferSubData MANGLE(BufferSubData) -#define glCallList MANGLE(CallList) -#define glCallLists MANGLE(CallLists) -#define glCheckFramebufferStatusEXT MANGLE(CheckFramebufferStatusEXT) -#define glClampColorARB MANGLE(ClampColorARB) -#define glClearAccum MANGLE(ClearAccum) -#define glClearColor MANGLE(ClearColor) -#define glClearDepth MANGLE(ClearDepth) -#define glClearIndex MANGLE(ClearIndex) -#define glClear MANGLE(Clear) -#define glClearStencil MANGLE(ClearStencil) -#define glClientActiveTextureARB MANGLE(ClientActiveTextureARB) -#define glClientActiveTexture MANGLE(ClientActiveTexture) -#define glClientActiveVertexStreamATI MANGLE(ClientActiveVertexStreamATI) -#define glClipPlane MANGLE(ClipPlane) -#define glColor3b MANGLE(Color3b) -#define glColor3bv MANGLE(Color3bv) -#define glColor3d MANGLE(Color3d) -#define glColor3dv MANGLE(Color3dv) -#define glColor3f MANGLE(Color3f) -#define glColor3fVertex3fSUN MANGLE(Color3fVertex3fSUN) -#define glColor3fVertex3fvSUN MANGLE(Color3fVertex3fvSUN) -#define glColor3fv MANGLE(Color3fv) -#define glColor3hNV MANGLE(Color3hNV) -#define glColor3hvNV MANGLE(Color3hvNV) -#define glColor3i MANGLE(Color3i) -#define glColor3iv MANGLE(Color3iv) -#define glColor3s MANGLE(Color3s) -#define glColor3sv MANGLE(Color3sv) -#define glColor3ub MANGLE(Color3ub) -#define glColor3ubv MANGLE(Color3ubv) -#define glColor3ui MANGLE(Color3ui) -#define glColor3uiv MANGLE(Color3uiv) -#define glColor3us MANGLE(Color3us) -#define glColor3usv MANGLE(Color3usv) -#define glColor4b MANGLE(Color4b) -#define glColor4bv MANGLE(Color4bv) -#define glColor4d MANGLE(Color4d) -#define glColor4dv MANGLE(Color4dv) -#define glColor4f MANGLE(Color4f) -#define glColor4fNormal3fVertex3fSUN MANGLE(Color4fNormal3fVertex3fSUN) -#define glColor4fNormal3fVertex3fvSUN MANGLE(Color4fNormal3fVertex3fvSUN) -#define glColor4fv MANGLE(Color4fv) -#define glColor4hNV MANGLE(Color4hNV) -#define glColor4hvNV MANGLE(Color4hvNV) -#define glColor4i MANGLE(Color4i) -#define glColor4iv MANGLE(Color4iv) -#define glColor4s MANGLE(Color4s) -#define glColor4sv MANGLE(Color4sv) -#define glColor4ub MANGLE(Color4ub) -#define glColor4ubVertex2fSUN MANGLE(Color4ubVertex2fSUN) -#define glColor4ubVertex2fvSUN MANGLE(Color4ubVertex2fvSUN) -#define glColor4ubVertex3fSUN MANGLE(Color4ubVertex3fSUN) -#define glColor4ubVertex3fvSUN MANGLE(Color4ubVertex3fvSUN) -#define glColor4ubv MANGLE(Color4ubv) -#define glColor4ui MANGLE(Color4ui) -#define glColor4uiv MANGLE(Color4uiv) -#define glColor4us MANGLE(Color4us) -#define glColor4usv MANGLE(Color4usv) -#define glColorFragmentOp1ATI MANGLE(ColorFragmentOp1ATI) -#define glColorFragmentOp2ATI MANGLE(ColorFragmentOp2ATI) -#define glColorFragmentOp3ATI MANGLE(ColorFragmentOp3ATI) -#define glColorMask MANGLE(ColorMask) -#define glColorMaterial MANGLE(ColorMaterial) -#define glColorPointerEXT MANGLE(ColorPointerEXT) -#define glColorPointerListIBM MANGLE(ColorPointerListIBM) -#define glColorPointer MANGLE(ColorPointer) -#define glColorPointervINTEL MANGLE(ColorPointervINTEL) -#define glColorSubTableEXT MANGLE(ColorSubTableEXT) -#define glColorSubTable MANGLE(ColorSubTable) -#define glColorTableEXT MANGLE(ColorTableEXT) -#define glColorTable MANGLE(ColorTable) -#define glColorTableParameterfv MANGLE(ColorTableParameterfv) -#define glColorTableParameterfvSGI MANGLE(ColorTableParameterfvSGI) -#define glColorTableParameteriv MANGLE(ColorTableParameteriv) -#define glColorTableParameterivSGI MANGLE(ColorTableParameterivSGI) -#define glColorTableSGI MANGLE(ColorTableSGI) -#define glCombinerInputNV MANGLE(CombinerInputNV) -#define glCombinerOutputNV MANGLE(CombinerOutputNV) -#define glCombinerParameterfNV MANGLE(CombinerParameterfNV) -#define glCombinerParameterfvNV MANGLE(CombinerParameterfvNV) -#define glCombinerParameteriNV MANGLE(CombinerParameteriNV) -#define glCombinerParameterivNV MANGLE(CombinerParameterivNV) -#define glCombinerStageParameterfvNV MANGLE(CombinerStageParameterfvNV) -#define glCompileShaderARB MANGLE(CompileShaderARB) -#define glCompileShader MANGLE(CompileShader) -#define glCompressedTexImage1DARB MANGLE(CompressedTexImage1DARB) -#define glCompressedTexImage1D MANGLE(CompressedTexImage1D) -#define glCompressedTexImage2DARB MANGLE(CompressedTexImage2DARB) -#define glCompressedTexImage2D MANGLE(CompressedTexImage2D) -#define glCompressedTexImage3DARB MANGLE(CompressedTexImage3DARB) -#define glCompressedTexImage3D MANGLE(CompressedTexImage3D) -#define glCompressedTexSubImage1DARB MANGLE(CompressedTexSubImage1DARB) -#define glCompressedTexSubImage1D MANGLE(CompressedTexSubImage1D) -#define glCompressedTexSubImage2DARB MANGLE(CompressedTexSubImage2DARB) -#define glCompressedTexSubImage2D MANGLE(CompressedTexSubImage2D) -#define glCompressedTexSubImage3DARB MANGLE(CompressedTexSubImage3DARB) -#define glCompressedTexSubImage3D MANGLE(CompressedTexSubImage3D) -#define glConvolutionFilter1DEXT MANGLE(ConvolutionFilter1DEXT) -#define glConvolutionFilter1D MANGLE(ConvolutionFilter1D) -#define glConvolutionFilter2DEXT MANGLE(ConvolutionFilter2DEXT) -#define glConvolutionFilter2D MANGLE(ConvolutionFilter2D) -#define glConvolutionParameterfEXT MANGLE(ConvolutionParameterfEXT) -#define glConvolutionParameterf MANGLE(ConvolutionParameterf) -#define glConvolutionParameterfvEXT MANGLE(ConvolutionParameterfvEXT) -#define glConvolutionParameterfv MANGLE(ConvolutionParameterfv) -#define glConvolutionParameteriEXT MANGLE(ConvolutionParameteriEXT) -#define glConvolutionParameteri MANGLE(ConvolutionParameteri) -#define glConvolutionParameterivEXT MANGLE(ConvolutionParameterivEXT) -#define glConvolutionParameteriv MANGLE(ConvolutionParameteriv) -#define glCopyColorSubTableEXT MANGLE(CopyColorSubTableEXT) -#define glCopyColorSubTable MANGLE(CopyColorSubTable) -#define glCopyColorTable MANGLE(CopyColorTable) -#define glCopyColorTableSGI MANGLE(CopyColorTableSGI) -#define glCopyConvolutionFilter1DEXT MANGLE(CopyConvolutionFilter1DEXT) -#define glCopyConvolutionFilter1D MANGLE(CopyConvolutionFilter1D) -#define glCopyConvolutionFilter2DEXT MANGLE(CopyConvolutionFilter2DEXT) -#define glCopyConvolutionFilter2D MANGLE(CopyConvolutionFilter2D) -#define glCopyPixels MANGLE(CopyPixels) -#define glCopyTexImage1DEXT MANGLE(CopyTexImage1DEXT) -#define glCopyTexImage1D MANGLE(CopyTexImage1D) -#define glCopyTexImage2DEXT MANGLE(CopyTexImage2DEXT) -#define glCopyTexImage2D MANGLE(CopyTexImage2D) -#define glCopyTexSubImage1DEXT MANGLE(CopyTexSubImage1DEXT) -#define glCopyTexSubImage1D MANGLE(CopyTexSubImage1D) -#define glCopyTexSubImage2DEXT MANGLE(CopyTexSubImage2DEXT) -#define glCopyTexSubImage2D MANGLE(CopyTexSubImage2D) -#define glCopyTexSubImage3DEXT MANGLE(CopyTexSubImage3DEXT) -#define glCopyTexSubImage3D MANGLE(CopyTexSubImage3D) -#define glCreateProgram MANGLE(CreateProgram) -#define glCreateProgramObjectARB MANGLE(CreateProgramObjectARB) -#define glCreateShader MANGLE(CreateShader) -#define glCreateShaderObjectARB MANGLE(CreateShaderObjectARB) -#define glCullFace MANGLE(CullFace) -#define glCullParameterdvEXT MANGLE(CullParameterdvEXT) -#define glCullParameterfvEXT MANGLE(CullParameterfvEXT) -#define glCurrentPaletteMatrixARB MANGLE(CurrentPaletteMatrixARB) -#define glDeformationMap3dSGIX MANGLE(DeformationMap3dSGIX) -#define glDeformationMap3fSGIX MANGLE(DeformationMap3fSGIX) -#define glDeformSGIX MANGLE(DeformSGIX) -#define glDeleteAsyncMarkersSGIX MANGLE(DeleteAsyncMarkersSGIX) -#define glDeleteBuffersARB MANGLE(DeleteBuffersARB) -#define glDeleteBuffers MANGLE(DeleteBuffers) -#define glDeleteFencesAPPLE MANGLE(DeleteFencesAPPLE) -#define glDeleteFencesNV MANGLE(DeleteFencesNV) -#define glDeleteFragmentShaderATI MANGLE(DeleteFragmentShaderATI) -#define glDeleteFramebuffersEXT MANGLE(DeleteFramebuffersEXT) -#define glDeleteLists MANGLE(DeleteLists) -#define glDeleteObjectARB MANGLE(DeleteObjectARB) -#define glDeleteOcclusionQueriesNV MANGLE(DeleteOcclusionQueriesNV) -#define glDeleteProgram MANGLE(DeleteProgram) -#define glDeleteProgramsARB MANGLE(DeleteProgramsARB) -#define glDeleteProgramsNV MANGLE(DeleteProgramsNV) -#define glDeleteQueriesARB MANGLE(DeleteQueriesARB) -#define glDeleteQueries MANGLE(DeleteQueries) -#define glDeleteRenderbuffersEXT MANGLE(DeleteRenderbuffersEXT) -#define glDeleteShader MANGLE(DeleteShader) -#define glDeleteTexturesEXT MANGLE(DeleteTexturesEXT) -#define glDeleteTextures MANGLE(DeleteTextures) -#define glDeleteVertexArraysAPPLE MANGLE(DeleteVertexArraysAPPLE) -#define glDeleteVertexShaderEXT MANGLE(DeleteVertexShaderEXT) -#define glDepthBoundsEXT MANGLE(DepthBoundsEXT) -#define glDepthFunc MANGLE(DepthFunc) -#define glDepthMask MANGLE(DepthMask) -#define glDepthRange MANGLE(DepthRange) -#define glDetachObjectARB MANGLE(DetachObjectARB) -#define glDetachShader MANGLE(DetachShader) -#define glDetailTexFuncSGIS MANGLE(DetailTexFuncSGIS) -#define glDisableClientState MANGLE(DisableClientState) -#define glDisable MANGLE(Disable) -#define glDisableTraceMESA MANGLE(DisableTraceMESA) -#define glDisableVariantClientStateEXT MANGLE(DisableVariantClientStateEXT) -#define glDisableVertexAttribArrayARB MANGLE(DisableVertexAttribArrayARB) -#define glDisableVertexAttribArray MANGLE(DisableVertexAttribArray) -#define glDrawArraysEXT MANGLE(DrawArraysEXT) -#define glDrawArrays MANGLE(DrawArrays) -#define glDrawBuffer MANGLE(DrawBuffer) -#define glDrawBuffersARB MANGLE(DrawBuffersARB) -#define glDrawBuffersATI MANGLE(DrawBuffersATI) -#define glDrawBuffers MANGLE(DrawBuffers) -#define glDrawElementArrayAPPLE MANGLE(DrawElementArrayAPPLE) -#define glDrawElementArrayATI MANGLE(DrawElementArrayATI) -#define glDrawElements MANGLE(DrawElements) -#define glDrawMeshArraysSUN MANGLE(DrawMeshArraysSUN) -#define glDrawPixels MANGLE(DrawPixels) -#define glDrawRangeElementArrayAPPLE MANGLE(DrawRangeElementArrayAPPLE) -#define glDrawRangeElementArrayATI MANGLE(DrawRangeElementArrayATI) -#define glDrawRangeElementsEXT MANGLE(DrawRangeElementsEXT) -#define glDrawRangeElements MANGLE(DrawRangeElements) -#define glEdgeFlag MANGLE(EdgeFlag) -#define glEdgeFlagPointerEXT MANGLE(EdgeFlagPointerEXT) -#define glEdgeFlagPointerListIBM MANGLE(EdgeFlagPointerListIBM) -#define glEdgeFlagPointer MANGLE(EdgeFlagPointer) -#define glEdgeFlagv MANGLE(EdgeFlagv) -#define glElementPointerAPPLE MANGLE(ElementPointerAPPLE) -#define glElementPointerATI MANGLE(ElementPointerATI) -#define glEnableClientState MANGLE(EnableClientState) -#define glEnable MANGLE(Enable) -#define glEnableTraceMESA MANGLE(EnableTraceMESA) -#define glEnableVariantClientStateEXT MANGLE(EnableVariantClientStateEXT) -#define glEnableVertexAttribArrayARB MANGLE(EnableVertexAttribArrayARB) -#define glEnableVertexAttribArray MANGLE(EnableVertexAttribArray) -#define glEndFragmentShaderATI MANGLE(EndFragmentShaderATI) -#define glEndList MANGLE(EndList) -#define glEnd MANGLE(End) -#define glEndOcclusionQueryNV MANGLE(EndOcclusionQueryNV) -#define glEndQueryARB MANGLE(EndQueryARB) -#define glEndQuery MANGLE(EndQuery) -#define glEndTraceMESA MANGLE(EndTraceMESA) -#define glEndVertexShaderEXT MANGLE(EndVertexShaderEXT) -#define glEvalCoord1d MANGLE(EvalCoord1d) -#define glEvalCoord1dv MANGLE(EvalCoord1dv) -#define glEvalCoord1f MANGLE(EvalCoord1f) -#define glEvalCoord1fv MANGLE(EvalCoord1fv) -#define glEvalCoord2d MANGLE(EvalCoord2d) -#define glEvalCoord2dv MANGLE(EvalCoord2dv) -#define glEvalCoord2f MANGLE(EvalCoord2f) -#define glEvalCoord2fv MANGLE(EvalCoord2fv) -#define glEvalMapsNV MANGLE(EvalMapsNV) -#define glEvalMesh1 MANGLE(EvalMesh1) -#define glEvalMesh2 MANGLE(EvalMesh2) -#define glEvalPoint1 MANGLE(EvalPoint1) -#define glEvalPoint2 MANGLE(EvalPoint2) -#define glExecuteProgramNV MANGLE(ExecuteProgramNV) -#define glExtractComponentEXT MANGLE(ExtractComponentEXT) -#define glFeedbackBuffer MANGLE(FeedbackBuffer) -#define glFinalCombinerInputNV MANGLE(FinalCombinerInputNV) -#define glFinishAsyncSGIX MANGLE(FinishAsyncSGIX) -#define glFinishFenceAPPLE MANGLE(FinishFenceAPPLE) -#define glFinishFenceNV MANGLE(FinishFenceNV) -#define glFinish MANGLE(Finish) -#define glFinishObjectAPPLE MANGLE(FinishObjectAPPLE) -#define glFinishTextureSUNX MANGLE(FinishTextureSUNX) -#define glFlush MANGLE(Flush) -#define glFlushPixelDataRangeNV MANGLE(FlushPixelDataRangeNV) -#define glFlushRasterSGIX MANGLE(FlushRasterSGIX) -#define glFlushVertexArrayRangeAPPLE MANGLE(FlushVertexArrayRangeAPPLE) -#define glFlushVertexArrayRangeNV MANGLE(FlushVertexArrayRangeNV) -#define glFogCoorddEXT MANGLE(FogCoorddEXT) -#define glFogCoordd MANGLE(FogCoordd) -#define glFogCoorddvEXT MANGLE(FogCoorddvEXT) -#define glFogCoorddv MANGLE(FogCoorddv) -#define glFogCoordfEXT MANGLE(FogCoordfEXT) -#define glFogCoordf MANGLE(FogCoordf) -#define glFogCoordfvEXT MANGLE(FogCoordfvEXT) -#define glFogCoordfv MANGLE(FogCoordfv) -#define glFogCoordhNV MANGLE(FogCoordhNV) -#define glFogCoordhvNV MANGLE(FogCoordhvNV) -#define glFogCoordPointerEXT MANGLE(FogCoordPointerEXT) -#define glFogCoordPointerListIBM MANGLE(FogCoordPointerListIBM) -#define glFogCoordPointer MANGLE(FogCoordPointer) -#define glFogf MANGLE(Fogf) -#define glFogFuncSGIS MANGLE(FogFuncSGIS) -#define glFogfv MANGLE(Fogfv) -#define glFogi MANGLE(Fogi) -#define glFogiv MANGLE(Fogiv) -#define glFragmentColorMaterialSGIX MANGLE(FragmentColorMaterialSGIX) -#define glFragmentLightfSGIX MANGLE(FragmentLightfSGIX) -#define glFragmentLightfvSGIX MANGLE(FragmentLightfvSGIX) -#define glFragmentLightiSGIX MANGLE(FragmentLightiSGIX) -#define glFragmentLightivSGIX MANGLE(FragmentLightivSGIX) -#define glFragmentLightModelfSGIX MANGLE(FragmentLightModelfSGIX) -#define glFragmentLightModelfvSGIX MANGLE(FragmentLightModelfvSGIX) -#define glFragmentLightModeliSGIX MANGLE(FragmentLightModeliSGIX) -#define glFragmentLightModelivSGIX MANGLE(FragmentLightModelivSGIX) -#define glFragmentMaterialfSGIX MANGLE(FragmentMaterialfSGIX) -#define glFragmentMaterialfvSGIX MANGLE(FragmentMaterialfvSGIX) -#define glFragmentMaterialiSGIX MANGLE(FragmentMaterialiSGIX) -#define glFragmentMaterialivSGIX MANGLE(FragmentMaterialivSGIX) -#define glFramebufferRenderbufferEXT MANGLE(FramebufferRenderbufferEXT) -#define glFramebufferTexture1DEXT MANGLE(FramebufferTexture1DEXT) -#define glFramebufferTexture2DEXT MANGLE(FramebufferTexture2DEXT) -#define glFramebufferTexture3DEXT MANGLE(FramebufferTexture3DEXT) -#define glFrameZoomSGIX MANGLE(FrameZoomSGIX) -#define glFreeObjectBufferATI MANGLE(FreeObjectBufferATI) -#define glFrontFace MANGLE(FrontFace) -#define glFrustum MANGLE(Frustum) -#define glGenAsyncMarkersSGIX MANGLE(GenAsyncMarkersSGIX) -#define glGenBuffersARB MANGLE(GenBuffersARB) -#define glGenBuffers MANGLE(GenBuffers) -#define glGenerateMipmapEXT MANGLE(GenerateMipmapEXT) -#define glGenFencesAPPLE MANGLE(GenFencesAPPLE) -#define glGenFencesNV MANGLE(GenFencesNV) -#define glGenFragmentShadersATI MANGLE(GenFragmentShadersATI) -#define glGenFramebuffersEXT MANGLE(GenFramebuffersEXT) -#define glGenLists MANGLE(GenLists) -#define glGenOcclusionQueriesNV MANGLE(GenOcclusionQueriesNV) -#define glGenProgramsARB MANGLE(GenProgramsARB) -#define glGenProgramsNV MANGLE(GenProgramsNV) -#define glGenQueriesARB MANGLE(GenQueriesARB) -#define glGenQueries MANGLE(GenQueries) -#define glGenRenderbuffersEXT MANGLE(GenRenderbuffersEXT) -#define glGenSymbolsEXT MANGLE(GenSymbolsEXT) -#define glGenTexturesEXT MANGLE(GenTexturesEXT) -#define glGenTextures MANGLE(GenTextures) -#define glGenVertexArraysAPPLE MANGLE(GenVertexArraysAPPLE) -#define glGenVertexShadersEXT MANGLE(GenVertexShadersEXT) -#define glGetActiveAttribARB MANGLE(GetActiveAttribARB) -#define glGetActiveAttrib MANGLE(GetActiveAttrib) -#define glGetActiveUniformARB MANGLE(GetActiveUniformARB) -#define glGetActiveUniform MANGLE(GetActiveUniform) -#define glGetArrayObjectfvATI MANGLE(GetArrayObjectfvATI) -#define glGetArrayObjectivATI MANGLE(GetArrayObjectivATI) -#define glGetAttachedObjectsARB MANGLE(GetAttachedObjectsARB) -#define glGetAttachedShaders MANGLE(GetAttachedShaders) -#define glGetAttribLocationARB MANGLE(GetAttribLocationARB) -#define glGetAttribLocation MANGLE(GetAttribLocation) -#define glGetBooleanv MANGLE(GetBooleanv) -#define glGetBufferParameterivARB MANGLE(GetBufferParameterivARB) -#define glGetBufferParameteriv MANGLE(GetBufferParameteriv) -#define glGetBufferPointervARB MANGLE(GetBufferPointervARB) -#define glGetBufferPointerv MANGLE(GetBufferPointerv) -#define glGetBufferSubDataARB MANGLE(GetBufferSubDataARB) -#define glGetBufferSubData MANGLE(GetBufferSubData) -#define glGetClipPlane MANGLE(GetClipPlane) -#define glGetColorTableEXT MANGLE(GetColorTableEXT) -#define glGetColorTable MANGLE(GetColorTable) -#define glGetColorTableParameterfvEXT MANGLE(GetColorTableParameterfvEXT) -#define glGetColorTableParameterfv MANGLE(GetColorTableParameterfv) -#define glGetColorTableParameterfvSGI MANGLE(GetColorTableParameterfvSGI) -#define glGetColorTableParameterivEXT MANGLE(GetColorTableParameterivEXT) -#define glGetColorTableParameteriv MANGLE(GetColorTableParameteriv) -#define glGetColorTableParameterivSGI MANGLE(GetColorTableParameterivSGI) -#define glGetColorTableSGI MANGLE(GetColorTableSGI) -#define glGetCombinerInputParameterfvNV MANGLE(GetCombinerInputParameterfvNV) -#define glGetCombinerInputParameterivNV MANGLE(GetCombinerInputParameterivNV) -#define glGetCombinerOutputParameterfvNV MANGLE(GetCombinerOutputParameterfvNV) -#define glGetCombinerOutputParameterivNV MANGLE(GetCombinerOutputParameterivNV) -#define glGetCombinerStageParameterfvNV MANGLE(GetCombinerStageParameterfvNV) -#define glGetCompressedTexImageARB MANGLE(GetCompressedTexImageARB) -#define glGetCompressedTexImage MANGLE(GetCompressedTexImage) -#define glGetConvolutionFilterEXT MANGLE(GetConvolutionFilterEXT) -#define glGetConvolutionFilter MANGLE(GetConvolutionFilter) -#define glGetConvolutionParameterfvEXT MANGLE(GetConvolutionParameterfvEXT) -#define glGetConvolutionParameterfv MANGLE(GetConvolutionParameterfv) -#define glGetConvolutionParameterivEXT MANGLE(GetConvolutionParameterivEXT) -#define glGetConvolutionParameteriv MANGLE(GetConvolutionParameteriv) -#define glGetDetailTexFuncSGIS MANGLE(GetDetailTexFuncSGIS) -#define glGetDoublev MANGLE(GetDoublev) -#define glGetError MANGLE(GetError) -#define glGetFenceivNV MANGLE(GetFenceivNV) -#define glGetFinalCombinerInputParameterfvNV MANGLE(GetFinalCombinerInputParameterfvNV) -#define glGetFinalCombinerInputParameterivNV MANGLE(GetFinalCombinerInputParameterivNV) -#define glGetFloatv MANGLE(GetFloatv) -#define glGetFogFuncSGIS MANGLE(GetFogFuncSGIS) -#define glGetFragmentLightfvSGIX MANGLE(GetFragmentLightfvSGIX) -#define glGetFragmentLightivSGIX MANGLE(GetFragmentLightivSGIX) -#define glGetFragmentMaterialfvSGIX MANGLE(GetFragmentMaterialfvSGIX) -#define glGetFragmentMaterialivSGIX MANGLE(GetFragmentMaterialivSGIX) -#define glGetFramebufferAttachmentParameterivEXT MANGLE(GetFramebufferAttachmentParameterivEXT) -#define glGetHandleARB MANGLE(GetHandleARB) -#define glGetHistogramEXT MANGLE(GetHistogramEXT) -#define glGetHistogram MANGLE(GetHistogram) -#define glGetHistogramParameterfvEXT MANGLE(GetHistogramParameterfvEXT) -#define glGetHistogramParameterfv MANGLE(GetHistogramParameterfv) -#define glGetHistogramParameterivEXT MANGLE(GetHistogramParameterivEXT) -#define glGetHistogramParameteriv MANGLE(GetHistogramParameteriv) -#define glGetImageTransformParameterfvHP MANGLE(GetImageTransformParameterfvHP) -#define glGetImageTransformParameterivHP MANGLE(GetImageTransformParameterivHP) -#define glGetInfoLogARB MANGLE(GetInfoLogARB) -#define glGetInstrumentsSGIX MANGLE(GetInstrumentsSGIX) -#define glGetIntegerv MANGLE(GetIntegerv) -#define glGetInvariantBooleanvEXT MANGLE(GetInvariantBooleanvEXT) -#define glGetInvariantFloatvEXT MANGLE(GetInvariantFloatvEXT) -#define glGetInvariantIntegervEXT MANGLE(GetInvariantIntegervEXT) -#define glGetLightfv MANGLE(GetLightfv) -#define glGetLightiv MANGLE(GetLightiv) -#define glGetListParameterfvSGIX MANGLE(GetListParameterfvSGIX) -#define glGetListParameterivSGIX MANGLE(GetListParameterivSGIX) -#define glGetLocalConstantBooleanvEXT MANGLE(GetLocalConstantBooleanvEXT) -#define glGetLocalConstantFloatvEXT MANGLE(GetLocalConstantFloatvEXT) -#define glGetLocalConstantIntegervEXT MANGLE(GetLocalConstantIntegervEXT) -#define glGetMapAttribParameterfvNV MANGLE(GetMapAttribParameterfvNV) -#define glGetMapAttribParameterivNV MANGLE(GetMapAttribParameterivNV) -#define glGetMapControlPointsNV MANGLE(GetMapControlPointsNV) -#define glGetMapdv MANGLE(GetMapdv) -#define glGetMapfv MANGLE(GetMapfv) -#define glGetMapiv MANGLE(GetMapiv) -#define glGetMapParameterfvNV MANGLE(GetMapParameterfvNV) -#define glGetMapParameterivNV MANGLE(GetMapParameterivNV) -#define glGetMaterialfv MANGLE(GetMaterialfv) -#define glGetMaterialiv MANGLE(GetMaterialiv) -#define glGetMinmaxEXT MANGLE(GetMinmaxEXT) -#define glGetMinmax MANGLE(GetMinmax) -#define glGetMinmaxParameterfvEXT MANGLE(GetMinmaxParameterfvEXT) -#define glGetMinmaxParameterfv MANGLE(GetMinmaxParameterfv) -#define glGetMinmaxParameterivEXT MANGLE(GetMinmaxParameterivEXT) -#define glGetMinmaxParameteriv MANGLE(GetMinmaxParameteriv) -#define glGetObjectBufferfvATI MANGLE(GetObjectBufferfvATI) -#define glGetObjectBufferivATI MANGLE(GetObjectBufferivATI) -#define glGetObjectParameterfvARB MANGLE(GetObjectParameterfvARB) -#define glGetObjectParameterivARB MANGLE(GetObjectParameterivARB) -#define glGetOcclusionQueryivNV MANGLE(GetOcclusionQueryivNV) -#define glGetOcclusionQueryuivNV MANGLE(GetOcclusionQueryuivNV) -#define glGetPixelMapfv MANGLE(GetPixelMapfv) -#define glGetPixelMapuiv MANGLE(GetPixelMapuiv) -#define glGetPixelMapusv MANGLE(GetPixelMapusv) -#define glGetPixelTexGenParameterfvSGIS MANGLE(GetPixelTexGenParameterfvSGIS) -#define glGetPixelTexGenParameterivSGIS MANGLE(GetPixelTexGenParameterivSGIS) -#define glGetPointervEXT MANGLE(GetPointervEXT) -#define glGetPointerv MANGLE(GetPointerv) -#define glGetPolygonStipple MANGLE(GetPolygonStipple) -#define glGetProgramEnvParameterdvARB MANGLE(GetProgramEnvParameterdvARB) -#define glGetProgramEnvParameterfvARB MANGLE(GetProgramEnvParameterfvARB) -#define glGetProgramInfoLog MANGLE(GetProgramInfoLog) -#define glGetProgramivARB MANGLE(GetProgramivARB) -#define glGetProgramiv MANGLE(GetProgramiv) -#define glGetProgramivNV MANGLE(GetProgramivNV) -#define glGetProgramLocalParameterdvARB MANGLE(GetProgramLocalParameterdvARB) -#define glGetProgramLocalParameterfvARB MANGLE(GetProgramLocalParameterfvARB) -#define glGetProgramNamedParameterdvNV MANGLE(GetProgramNamedParameterdvNV) -#define glGetProgramNamedParameterfvNV MANGLE(GetProgramNamedParameterfvNV) -#define glGetProgramParameterdvNV MANGLE(GetProgramParameterdvNV) -#define glGetProgramParameterfvNV MANGLE(GetProgramParameterfvNV) -#define glGetProgramRegisterfvMESA MANGLE(GetProgramRegisterfvMESA) -#define glGetProgramStringARB MANGLE(GetProgramStringARB) -#define glGetProgramStringNV MANGLE(GetProgramStringNV) -#define glGetQueryivARB MANGLE(GetQueryivARB) -#define glGetQueryiv MANGLE(GetQueryiv) -#define glGetQueryObjectivARB MANGLE(GetQueryObjectivARB) -#define glGetQueryObjectiv MANGLE(GetQueryObjectiv) -#define glGetQueryObjectuivARB MANGLE(GetQueryObjectuivARB) -#define glGetQueryObjectuiv MANGLE(GetQueryObjectuiv) -#define glGetRenderbufferParameterivEXT MANGLE(GetRenderbufferParameterivEXT) -#define glGetSeparableFilterEXT MANGLE(GetSeparableFilterEXT) -#define glGetSeparableFilter MANGLE(GetSeparableFilter) -#define glGetShaderInfoLog MANGLE(GetShaderInfoLog) -#define glGetShaderiv MANGLE(GetShaderiv) -#define glGetShaderSourceARB MANGLE(GetShaderSourceARB) -#define glGetShaderSource MANGLE(GetShaderSource) -#define glGetSharpenTexFuncSGIS MANGLE(GetSharpenTexFuncSGIS) -#define glGetString MANGLE(GetString) -#define glGetTexBumpParameterfvATI MANGLE(GetTexBumpParameterfvATI) -#define glGetTexBumpParameterivATI MANGLE(GetTexBumpParameterivATI) -#define glGetTexEnvfv MANGLE(GetTexEnvfv) -#define glGetTexEnviv MANGLE(GetTexEnviv) -#define glGetTexFilterFuncSGIS MANGLE(GetTexFilterFuncSGIS) -#define glGetTexGendv MANGLE(GetTexGendv) -#define glGetTexGenfv MANGLE(GetTexGenfv) -#define glGetTexGeniv MANGLE(GetTexGeniv) -#define glGetTexImage MANGLE(GetTexImage) -#define glGetTexLevelParameterfv MANGLE(GetTexLevelParameterfv) -#define glGetTexLevelParameteriv MANGLE(GetTexLevelParameteriv) -#define glGetTexParameterfv MANGLE(GetTexParameterfv) -#define glGetTexParameteriv MANGLE(GetTexParameteriv) -#define glGetTrackMatrixivNV MANGLE(GetTrackMatrixivNV) -#define glGetUniformfvARB MANGLE(GetUniformfvARB) -#define glGetUniformfv MANGLE(GetUniformfv) -#define glGetUniformivARB MANGLE(GetUniformivARB) -#define glGetUniformiv MANGLE(GetUniformiv) -#define glGetUniformLocationARB MANGLE(GetUniformLocationARB) -#define glGetUniformLocation MANGLE(GetUniformLocation) -#define glGetVariantArrayObjectfvATI MANGLE(GetVariantArrayObjectfvATI) -#define glGetVariantArrayObjectivATI MANGLE(GetVariantArrayObjectivATI) -#define glGetVariantBooleanvEXT MANGLE(GetVariantBooleanvEXT) -#define glGetVariantFloatvEXT MANGLE(GetVariantFloatvEXT) -#define glGetVariantIntegervEXT MANGLE(GetVariantIntegervEXT) -#define glGetVariantPointervEXT MANGLE(GetVariantPointervEXT) -#define glGetVertexAttribArrayObjectfvATI MANGLE(GetVertexAttribArrayObjectfvATI) -#define glGetVertexAttribArrayObjectivATI MANGLE(GetVertexAttribArrayObjectivATI) -#define glGetVertexAttribdvARB MANGLE(GetVertexAttribdvARB) -#define glGetVertexAttribdv MANGLE(GetVertexAttribdv) -#define glGetVertexAttribdvNV MANGLE(GetVertexAttribdvNV) -#define glGetVertexAttribfvARB MANGLE(GetVertexAttribfvARB) -#define glGetVertexAttribfv MANGLE(GetVertexAttribfv) -#define glGetVertexAttribfvNV MANGLE(GetVertexAttribfvNV) -#define glGetVertexAttribivARB MANGLE(GetVertexAttribivARB) -#define glGetVertexAttribiv MANGLE(GetVertexAttribiv) -#define glGetVertexAttribivNV MANGLE(GetVertexAttribivNV) -#define glGetVertexAttribPointervARB MANGLE(GetVertexAttribPointervARB) -#define glGetVertexAttribPointerv MANGLE(GetVertexAttribPointerv) -#define glGetVertexAttribPointervNV MANGLE(GetVertexAttribPointervNV) -#define glGlobalAlphaFactorbSUN MANGLE(GlobalAlphaFactorbSUN) -#define glGlobalAlphaFactordSUN MANGLE(GlobalAlphaFactordSUN) -#define glGlobalAlphaFactorfSUN MANGLE(GlobalAlphaFactorfSUN) -#define glGlobalAlphaFactoriSUN MANGLE(GlobalAlphaFactoriSUN) -#define glGlobalAlphaFactorsSUN MANGLE(GlobalAlphaFactorsSUN) -#define glGlobalAlphaFactorubSUN MANGLE(GlobalAlphaFactorubSUN) -#define glGlobalAlphaFactoruiSUN MANGLE(GlobalAlphaFactoruiSUN) -#define glGlobalAlphaFactorusSUN MANGLE(GlobalAlphaFactorusSUN) -#define glHint MANGLE(Hint) -#define glHintPGI MANGLE(HintPGI) -#define glHistogramEXT MANGLE(HistogramEXT) -#define glHistogram MANGLE(Histogram) -#define glIglooInterfaceSGIX MANGLE(IglooInterfaceSGIX) -#define glImageTransformParameterfHP MANGLE(ImageTransformParameterfHP) -#define glImageTransformParameterfvHP MANGLE(ImageTransformParameterfvHP) -#define glImageTransformParameteriHP MANGLE(ImageTransformParameteriHP) -#define glImageTransformParameterivHP MANGLE(ImageTransformParameterivHP) -#define glIndexd MANGLE(Indexd) -#define glIndexdv MANGLE(Indexdv) -#define glIndexf MANGLE(Indexf) -#define glIndexFuncEXT MANGLE(IndexFuncEXT) -#define glIndexfv MANGLE(Indexfv) -#define glIndexi MANGLE(Indexi) -#define glIndexiv MANGLE(Indexiv) -#define glIndexMask MANGLE(IndexMask) -#define glIndexMaterialEXT MANGLE(IndexMaterialEXT) -#define glIndexPointerEXT MANGLE(IndexPointerEXT) -#define glIndexPointerListIBM MANGLE(IndexPointerListIBM) -#define glIndexPointer MANGLE(IndexPointer) -#define glIndexs MANGLE(Indexs) -#define glIndexsv MANGLE(Indexsv) -#define glIndexub MANGLE(Indexub) -#define glIndexubv MANGLE(Indexubv) -#define glInitNames MANGLE(InitNames) -#define glInsertComponentEXT MANGLE(InsertComponentEXT) -#define glInstrumentsBufferSGIX MANGLE(InstrumentsBufferSGIX) -#define glInterleavedArrays MANGLE(InterleavedArrays) -#define glIsAsyncMarkerSGIX MANGLE(IsAsyncMarkerSGIX) -#define glIsBufferARB MANGLE(IsBufferARB) -#define glIsBuffer MANGLE(IsBuffer) -#define glIsEnabled MANGLE(IsEnabled) -#define glIsFenceAPPLE MANGLE(IsFenceAPPLE) -#define glIsFenceNV MANGLE(IsFenceNV) -#define glIsFramebufferEXT MANGLE(IsFramebufferEXT) -#define glIsList MANGLE(IsList) -#define glIsObjectBufferATI MANGLE(IsObjectBufferATI) -#define glIsOcclusionQueryNV MANGLE(IsOcclusionQueryNV) -#define glIsProgramARB MANGLE(IsProgramARB) -#define glIsProgram MANGLE(IsProgram) -#define glIsProgramNV MANGLE(IsProgramNV) -#define glIsQueryARB MANGLE(IsQueryARB) -#define glIsQuery MANGLE(IsQuery) -#define glIsRenderbufferEXT MANGLE(IsRenderbufferEXT) -#define glIsShader MANGLE(IsShader) -#define glIsTextureEXT MANGLE(IsTextureEXT) -#define glIsTexture MANGLE(IsTexture) -#define glIsVariantEnabledEXT MANGLE(IsVariantEnabledEXT) -#define glIsVertexArrayAPPLE MANGLE(IsVertexArrayAPPLE) -#define glLightEnviSGIX MANGLE(LightEnviSGIX) -#define glLightf MANGLE(Lightf) -#define glLightfv MANGLE(Lightfv) -#define glLighti MANGLE(Lighti) -#define glLightiv MANGLE(Lightiv) -#define glLightModelf MANGLE(LightModelf) -#define glLightModelfv MANGLE(LightModelfv) -#define glLightModeli MANGLE(LightModeli) -#define glLightModeliv MANGLE(LightModeliv) -#define glLineStipple MANGLE(LineStipple) -#define glLineWidth MANGLE(LineWidth) -#define glLinkProgramARB MANGLE(LinkProgramARB) -#define glLinkProgram MANGLE(LinkProgram) -#define glListBase MANGLE(ListBase) -#define glListParameterfSGIX MANGLE(ListParameterfSGIX) -#define glListParameterfvSGIX MANGLE(ListParameterfvSGIX) -#define glListParameteriSGIX MANGLE(ListParameteriSGIX) -#define glListParameterivSGIX MANGLE(ListParameterivSGIX) -#define glLoadIdentityDeformationMapSGIX MANGLE(LoadIdentityDeformationMapSGIX) -#define glLoadIdentity MANGLE(LoadIdentity) -#define glLoadMatrixd MANGLE(LoadMatrixd) -#define glLoadMatrixf MANGLE(LoadMatrixf) -#define glLoadName MANGLE(LoadName) -#define glLoadProgramNV MANGLE(LoadProgramNV) -#define glLoadTransposeMatrixdARB MANGLE(LoadTransposeMatrixdARB) -#define glLoadTransposeMatrixd MANGLE(LoadTransposeMatrixd) -#define glLoadTransposeMatrixfARB MANGLE(LoadTransposeMatrixfARB) -#define glLoadTransposeMatrixf MANGLE(LoadTransposeMatrixf) -#define glLockArraysEXT MANGLE(LockArraysEXT) -#define glLogicOp MANGLE(LogicOp) -#define glMap1d MANGLE(Map1d) -#define glMap1f MANGLE(Map1f) -#define glMap2d MANGLE(Map2d) -#define glMap2f MANGLE(Map2f) -#define glMapBufferARB MANGLE(MapBufferARB) -#define glMapBuffer MANGLE(MapBuffer) -#define glMapControlPointsNV MANGLE(MapControlPointsNV) -#define glMapGrid1d MANGLE(MapGrid1d) -#define glMapGrid1f MANGLE(MapGrid1f) -#define glMapGrid2d MANGLE(MapGrid2d) -#define glMapGrid2f MANGLE(MapGrid2f) -#define glMapObjectBufferATI MANGLE(MapObjectBufferATI) -#define glMapParameterfvNV MANGLE(MapParameterfvNV) -#define glMapParameterivNV MANGLE(MapParameterivNV) -#define glMaterialf MANGLE(Materialf) -#define glMaterialfv MANGLE(Materialfv) -#define glMateriali MANGLE(Materiali) -#define glMaterialiv MANGLE(Materialiv) -#define glMatrixIndexPointerARB MANGLE(MatrixIndexPointerARB) -#define glMatrixIndexubvARB MANGLE(MatrixIndexubvARB) -#define glMatrixIndexuivARB MANGLE(MatrixIndexuivARB) -#define glMatrixIndexusvARB MANGLE(MatrixIndexusvARB) -#define glMatrixMode MANGLE(MatrixMode) -#define glMinmaxEXT MANGLE(MinmaxEXT) -#define glMinmax MANGLE(Minmax) -#define glMultiDrawArraysEXT MANGLE(MultiDrawArraysEXT) -#define glMultiDrawArrays MANGLE(MultiDrawArrays) -#define glMultiDrawElementArrayAPPLE MANGLE(MultiDrawElementArrayAPPLE) -#define glMultiDrawElementsEXT MANGLE(MultiDrawElementsEXT) -#define glMultiDrawElements MANGLE(MultiDrawElements) -#define glMultiDrawRangeElementArrayAPPLE MANGLE(MultiDrawRangeElementArrayAPPLE) -#define glMultiModeDrawArraysIBM MANGLE(MultiModeDrawArraysIBM) -#define glMultiModeDrawElementsIBM MANGLE(MultiModeDrawElementsIBM) -#define glMultiTexCoord1dARB MANGLE(MultiTexCoord1dARB) -#define glMultiTexCoord1d MANGLE(MultiTexCoord1d) -#define glMultiTexCoord1dvARB MANGLE(MultiTexCoord1dvARB) -#define glMultiTexCoord1dv MANGLE(MultiTexCoord1dv) -#define glMultiTexCoord1fARB MANGLE(MultiTexCoord1fARB) -#define glMultiTexCoord1f MANGLE(MultiTexCoord1f) -#define glMultiTexCoord1fvARB MANGLE(MultiTexCoord1fvARB) -#define glMultiTexCoord1fv MANGLE(MultiTexCoord1fv) -#define glMultiTexCoord1hNV MANGLE(MultiTexCoord1hNV) -#define glMultiTexCoord1hvNV MANGLE(MultiTexCoord1hvNV) -#define glMultiTexCoord1iARB MANGLE(MultiTexCoord1iARB) -#define glMultiTexCoord1i MANGLE(MultiTexCoord1i) -#define glMultiTexCoord1ivARB MANGLE(MultiTexCoord1ivARB) -#define glMultiTexCoord1iv MANGLE(MultiTexCoord1iv) -#define glMultiTexCoord1sARB MANGLE(MultiTexCoord1sARB) -#define glMultiTexCoord1s MANGLE(MultiTexCoord1s) -#define glMultiTexCoord1svARB MANGLE(MultiTexCoord1svARB) -#define glMultiTexCoord1sv MANGLE(MultiTexCoord1sv) -#define glMultiTexCoord2dARB MANGLE(MultiTexCoord2dARB) -#define glMultiTexCoord2d MANGLE(MultiTexCoord2d) -#define glMultiTexCoord2dvARB MANGLE(MultiTexCoord2dvARB) -#define glMultiTexCoord2dv MANGLE(MultiTexCoord2dv) -#define glMultiTexCoord2fARB MANGLE(MultiTexCoord2fARB) -#define glMultiTexCoord2f MANGLE(MultiTexCoord2f) -#define glMultiTexCoord2fvARB MANGLE(MultiTexCoord2fvARB) -#define glMultiTexCoord2fv MANGLE(MultiTexCoord2fv) -#define glMultiTexCoord2hNV MANGLE(MultiTexCoord2hNV) -#define glMultiTexCoord2hvNV MANGLE(MultiTexCoord2hvNV) -#define glMultiTexCoord2iARB MANGLE(MultiTexCoord2iARB) -#define glMultiTexCoord2i MANGLE(MultiTexCoord2i) -#define glMultiTexCoord2ivARB MANGLE(MultiTexCoord2ivARB) -#define glMultiTexCoord2iv MANGLE(MultiTexCoord2iv) -#define glMultiTexCoord2sARB MANGLE(MultiTexCoord2sARB) -#define glMultiTexCoord2s MANGLE(MultiTexCoord2s) -#define glMultiTexCoord2svARB MANGLE(MultiTexCoord2svARB) -#define glMultiTexCoord2sv MANGLE(MultiTexCoord2sv) -#define glMultiTexCoord3dARB MANGLE(MultiTexCoord3dARB) -#define glMultiTexCoord3d MANGLE(MultiTexCoord3d) -#define glMultiTexCoord3dvARB MANGLE(MultiTexCoord3dvARB) -#define glMultiTexCoord3dv MANGLE(MultiTexCoord3dv) -#define glMultiTexCoord3fARB MANGLE(MultiTexCoord3fARB) -#define glMultiTexCoord3f MANGLE(MultiTexCoord3f) -#define glMultiTexCoord3fvARB MANGLE(MultiTexCoord3fvARB) -#define glMultiTexCoord3fv MANGLE(MultiTexCoord3fv) -#define glMultiTexCoord3hNV MANGLE(MultiTexCoord3hNV) -#define glMultiTexCoord3hvNV MANGLE(MultiTexCoord3hvNV) -#define glMultiTexCoord3iARB MANGLE(MultiTexCoord3iARB) -#define glMultiTexCoord3i MANGLE(MultiTexCoord3i) -#define glMultiTexCoord3ivARB MANGLE(MultiTexCoord3ivARB) -#define glMultiTexCoord3iv MANGLE(MultiTexCoord3iv) -#define glMultiTexCoord3sARB MANGLE(MultiTexCoord3sARB) -#define glMultiTexCoord3s MANGLE(MultiTexCoord3s) -#define glMultiTexCoord3svARB MANGLE(MultiTexCoord3svARB) -#define glMultiTexCoord3sv MANGLE(MultiTexCoord3sv) -#define glMultiTexCoord4dARB MANGLE(MultiTexCoord4dARB) -#define glMultiTexCoord4d MANGLE(MultiTexCoord4d) -#define glMultiTexCoord4dvARB MANGLE(MultiTexCoord4dvARB) -#define glMultiTexCoord4dv MANGLE(MultiTexCoord4dv) -#define glMultiTexCoord4fARB MANGLE(MultiTexCoord4fARB) -#define glMultiTexCoord4f MANGLE(MultiTexCoord4f) -#define glMultiTexCoord4fvARB MANGLE(MultiTexCoord4fvARB) -#define glMultiTexCoord4fv MANGLE(MultiTexCoord4fv) -#define glMultiTexCoord4hNV MANGLE(MultiTexCoord4hNV) -#define glMultiTexCoord4hvNV MANGLE(MultiTexCoord4hvNV) -#define glMultiTexCoord4iARB MANGLE(MultiTexCoord4iARB) -#define glMultiTexCoord4i MANGLE(MultiTexCoord4i) -#define glMultiTexCoord4ivARB MANGLE(MultiTexCoord4ivARB) -#define glMultiTexCoord4iv MANGLE(MultiTexCoord4iv) -#define glMultiTexCoord4sARB MANGLE(MultiTexCoord4sARB) -#define glMultiTexCoord4s MANGLE(MultiTexCoord4s) -#define glMultiTexCoord4svARB MANGLE(MultiTexCoord4svARB) -#define glMultiTexCoord4sv MANGLE(MultiTexCoord4sv) -#define glMultMatrixd MANGLE(MultMatrixd) -#define glMultMatrixf MANGLE(MultMatrixf) -#define glMultTransposeMatrixdARB MANGLE(MultTransposeMatrixdARB) -#define glMultTransposeMatrixd MANGLE(MultTransposeMatrixd) -#define glMultTransposeMatrixfARB MANGLE(MultTransposeMatrixfARB) -#define glMultTransposeMatrixf MANGLE(MultTransposeMatrixf) -#define glNewList MANGLE(NewList) -#define glNewObjectBufferATI MANGLE(NewObjectBufferATI) -#define glNewTraceMESA MANGLE(NewTraceMESA) -#define glNormal3b MANGLE(Normal3b) -#define glNormal3bv MANGLE(Normal3bv) -#define glNormal3d MANGLE(Normal3d) -#define glNormal3dv MANGLE(Normal3dv) -#define glNormal3f MANGLE(Normal3f) -#define glNormal3fVertex3fSUN MANGLE(Normal3fVertex3fSUN) -#define glNormal3fVertex3fvSUN MANGLE(Normal3fVertex3fvSUN) -#define glNormal3fv MANGLE(Normal3fv) -#define glNormal3hNV MANGLE(Normal3hNV) -#define glNormal3hvNV MANGLE(Normal3hvNV) -#define glNormal3i MANGLE(Normal3i) -#define glNormal3iv MANGLE(Normal3iv) -#define glNormal3s MANGLE(Normal3s) -#define glNormal3sv MANGLE(Normal3sv) -#define glNormalPointerEXT MANGLE(NormalPointerEXT) -#define glNormalPointerListIBM MANGLE(NormalPointerListIBM) -#define glNormalPointer MANGLE(NormalPointer) -#define glNormalPointervINTEL MANGLE(NormalPointervINTEL) -#define glNormalStream3bATI MANGLE(NormalStream3bATI) -#define glNormalStream3bvATI MANGLE(NormalStream3bvATI) -#define glNormalStream3dATI MANGLE(NormalStream3dATI) -#define glNormalStream3dvATI MANGLE(NormalStream3dvATI) -#define glNormalStream3fATI MANGLE(NormalStream3fATI) -#define glNormalStream3fvATI MANGLE(NormalStream3fvATI) -#define glNormalStream3iATI MANGLE(NormalStream3iATI) -#define glNormalStream3ivATI MANGLE(NormalStream3ivATI) -#define glNormalStream3sATI MANGLE(NormalStream3sATI) -#define glNormalStream3svATI MANGLE(NormalStream3svATI) -#define glOrtho MANGLE(Ortho) -#define glPassTexCoordATI MANGLE(PassTexCoordATI) -#define glPassThrough MANGLE(PassThrough) -#define glPixelDataRangeNV MANGLE(PixelDataRangeNV) -#define glPixelMapfv MANGLE(PixelMapfv) -#define glPixelMapuiv MANGLE(PixelMapuiv) -#define glPixelMapusv MANGLE(PixelMapusv) -#define glPixelStoref MANGLE(PixelStoref) -#define glPixelStorei MANGLE(PixelStorei) -#define glPixelTexGenParameterfSGIS MANGLE(PixelTexGenParameterfSGIS) -#define glPixelTexGenParameterfvSGIS MANGLE(PixelTexGenParameterfvSGIS) -#define glPixelTexGenParameteriSGIS MANGLE(PixelTexGenParameteriSGIS) -#define glPixelTexGenParameterivSGIS MANGLE(PixelTexGenParameterivSGIS) -#define glPixelTexGenSGIX MANGLE(PixelTexGenSGIX) -#define glPixelTransferf MANGLE(PixelTransferf) -#define glPixelTransferi MANGLE(PixelTransferi) -#define glPixelTransformParameterfEXT MANGLE(PixelTransformParameterfEXT) -#define glPixelTransformParameterfvEXT MANGLE(PixelTransformParameterfvEXT) -#define glPixelTransformParameteriEXT MANGLE(PixelTransformParameteriEXT) -#define glPixelTransformParameterivEXT MANGLE(PixelTransformParameterivEXT) -#define glPixelZoom MANGLE(PixelZoom) -#define glPNTrianglesfATI MANGLE(PNTrianglesfATI) -#define glPNTrianglesiATI MANGLE(PNTrianglesiATI) -#define glPointParameterfARB MANGLE(PointParameterfARB) -#define glPointParameterfEXT MANGLE(PointParameterfEXT) -#define glPointParameterf MANGLE(PointParameterf) -#define glPointParameterfSGIS MANGLE(PointParameterfSGIS) -#define glPointParameterfvARB MANGLE(PointParameterfvARB) -#define glPointParameterfvEXT MANGLE(PointParameterfvEXT) -#define glPointParameterfv MANGLE(PointParameterfv) -#define glPointParameterfvSGIS MANGLE(PointParameterfvSGIS) -#define glPointParameteri MANGLE(PointParameteri) -#define glPointParameteriNV MANGLE(PointParameteriNV) -#define glPointParameteriv MANGLE(PointParameteriv) -#define glPointParameterivNV MANGLE(PointParameterivNV) -#define glPointSize MANGLE(PointSize) -#define glPollAsyncSGIX MANGLE(PollAsyncSGIX) -#define glPollInstrumentsSGIX MANGLE(PollInstrumentsSGIX) -#define glPolygonMode MANGLE(PolygonMode) -#define glPolygonOffsetEXT MANGLE(PolygonOffsetEXT) -#define glPolygonOffset MANGLE(PolygonOffset) -#define glPolygonStipple MANGLE(PolygonStipple) -#define glPopAttrib MANGLE(PopAttrib) -#define glPopClientAttrib MANGLE(PopClientAttrib) -#define glPopMatrix MANGLE(PopMatrix) -#define glPopName MANGLE(PopName) -#define glPrimitiveRestartIndexNV MANGLE(PrimitiveRestartIndexNV) -#define glPrimitiveRestartNV MANGLE(PrimitiveRestartNV) -#define glPrioritizeTexturesEXT MANGLE(PrioritizeTexturesEXT) -#define glPrioritizeTextures MANGLE(PrioritizeTextures) -#define glProgramCallbackMESA MANGLE(ProgramCallbackMESA) -#define glProgramEnvParameter4dARB MANGLE(ProgramEnvParameter4dARB) -#define glProgramEnvParameter4dvARB MANGLE(ProgramEnvParameter4dvARB) -#define glProgramEnvParameter4fARB MANGLE(ProgramEnvParameter4fARB) -#define glProgramEnvParameter4fvARB MANGLE(ProgramEnvParameter4fvARB) -#define glProgramLocalParameter4dARB MANGLE(ProgramLocalParameter4dARB) -#define glProgramLocalParameter4dvARB MANGLE(ProgramLocalParameter4dvARB) -#define glProgramLocalParameter4fARB MANGLE(ProgramLocalParameter4fARB) -#define glProgramLocalParameter4fvARB MANGLE(ProgramLocalParameter4fvARB) -#define glProgramNamedParameter4dNV MANGLE(ProgramNamedParameter4dNV) -#define glProgramNamedParameter4dvNV MANGLE(ProgramNamedParameter4dvNV) -#define glProgramNamedParameter4fNV MANGLE(ProgramNamedParameter4fNV) -#define glProgramNamedParameter4fvNV MANGLE(ProgramNamedParameter4fvNV) -#define glProgramParameter4dNV MANGLE(ProgramParameter4dNV) -#define glProgramParameter4dvNV MANGLE(ProgramParameter4dvNV) -#define glProgramParameter4fNV MANGLE(ProgramParameter4fNV) -#define glProgramParameter4fvNV MANGLE(ProgramParameter4fvNV) -#define glProgramParameters4dvNV MANGLE(ProgramParameters4dvNV) -#define glProgramParameters4fvNV MANGLE(ProgramParameters4fvNV) -#define glProgramStringARB MANGLE(ProgramStringARB) -#define glPushAttrib MANGLE(PushAttrib) -#define glPushClientAttrib MANGLE(PushClientAttrib) -#define glPushMatrix MANGLE(PushMatrix) -#define glPushName MANGLE(PushName) -#define glRasterPos2d MANGLE(RasterPos2d) -#define glRasterPos2dv MANGLE(RasterPos2dv) -#define glRasterPos2f MANGLE(RasterPos2f) -#define glRasterPos2fv MANGLE(RasterPos2fv) -#define glRasterPos2i MANGLE(RasterPos2i) -#define glRasterPos2iv MANGLE(RasterPos2iv) -#define glRasterPos2s MANGLE(RasterPos2s) -#define glRasterPos2sv MANGLE(RasterPos2sv) -#define glRasterPos3d MANGLE(RasterPos3d) -#define glRasterPos3dv MANGLE(RasterPos3dv) -#define glRasterPos3f MANGLE(RasterPos3f) -#define glRasterPos3fv MANGLE(RasterPos3fv) -#define glRasterPos3i MANGLE(RasterPos3i) -#define glRasterPos3iv MANGLE(RasterPos3iv) -#define glRasterPos3s MANGLE(RasterPos3s) -#define glRasterPos3sv MANGLE(RasterPos3sv) -#define glRasterPos4d MANGLE(RasterPos4d) -#define glRasterPos4dv MANGLE(RasterPos4dv) -#define glRasterPos4f MANGLE(RasterPos4f) -#define glRasterPos4fv MANGLE(RasterPos4fv) -#define glRasterPos4i MANGLE(RasterPos4i) -#define glRasterPos4iv MANGLE(RasterPos4iv) -#define glRasterPos4s MANGLE(RasterPos4s) -#define glRasterPos4sv MANGLE(RasterPos4sv) -#define glReadBuffer MANGLE(ReadBuffer) -#define glReadInstrumentsSGIX MANGLE(ReadInstrumentsSGIX) -#define glReadPixels MANGLE(ReadPixels) -#define glRectd MANGLE(Rectd) -#define glRectdv MANGLE(Rectdv) -#define glRectf MANGLE(Rectf) -#define glRectfv MANGLE(Rectfv) -#define glRecti MANGLE(Recti) -#define glRectiv MANGLE(Rectiv) -#define glRects MANGLE(Rects) -#define glRectsv MANGLE(Rectsv) -#define glReferencePlaneSGIX MANGLE(ReferencePlaneSGIX) -#define glRenderbufferStorageEXT MANGLE(RenderbufferStorageEXT) -#define glRenderMode MANGLE(RenderMode) -#define glReplacementCodePointerSUN MANGLE(ReplacementCodePointerSUN) -#define glReplacementCodeubSUN MANGLE(ReplacementCodeubSUN) -#define glReplacementCodeubvSUN MANGLE(ReplacementCodeubvSUN) -#define glReplacementCodeuiColor3fVertex3fSUN MANGLE(ReplacementCodeuiColor3fVertex3fSUN) -#define glReplacementCodeuiColor3fVertex3fvSUN MANGLE(ReplacementCodeuiColor3fVertex3fvSUN) -#define glReplacementCodeuiColor4fNormal3fVertex3fSUN MANGLE(ReplacementCodeuiColor4fNormal3fVertex3fSUN) -#define glReplacementCodeuiColor4fNormal3fVertex3fvSUN MANGLE(ReplacementCodeuiColor4fNormal3fVertex3fvSUN) -#define glReplacementCodeuiColor4ubVertex3fSUN MANGLE(ReplacementCodeuiColor4ubVertex3fSUN) -#define glReplacementCodeuiColor4ubVertex3fvSUN MANGLE(ReplacementCodeuiColor4ubVertex3fvSUN) -#define glReplacementCodeuiNormal3fVertex3fSUN MANGLE(ReplacementCodeuiNormal3fVertex3fSUN) -#define glReplacementCodeuiNormal3fVertex3fvSUN MANGLE(ReplacementCodeuiNormal3fVertex3fvSUN) -#define glReplacementCodeuiSUN MANGLE(ReplacementCodeuiSUN) -#define glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN MANGLE(ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN) -#define glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN MANGLE(ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN) -#define glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN MANGLE(ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN) -#define glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN MANGLE(ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN) -#define glReplacementCodeuiTexCoord2fVertex3fSUN MANGLE(ReplacementCodeuiTexCoord2fVertex3fSUN) -#define glReplacementCodeuiTexCoord2fVertex3fvSUN MANGLE(ReplacementCodeuiTexCoord2fVertex3fvSUN) -#define glReplacementCodeuiVertex3fSUN MANGLE(ReplacementCodeuiVertex3fSUN) -#define glReplacementCodeuiVertex3fvSUN MANGLE(ReplacementCodeuiVertex3fvSUN) -#define glReplacementCodeuivSUN MANGLE(ReplacementCodeuivSUN) -#define glReplacementCodeusSUN MANGLE(ReplacementCodeusSUN) -#define glReplacementCodeusvSUN MANGLE(ReplacementCodeusvSUN) -#define glRequestResidentProgramsNV MANGLE(RequestResidentProgramsNV) -#define glResetHistogramEXT MANGLE(ResetHistogramEXT) -#define glResetHistogram MANGLE(ResetHistogram) -#define glResetMinmaxEXT MANGLE(ResetMinmaxEXT) -#define glResetMinmax MANGLE(ResetMinmax) -#define glResizeBuffersMESA MANGLE(ResizeBuffersMESA) -#define glRotated MANGLE(Rotated) -#define glRotatef MANGLE(Rotatef) -#define glSampleCoverageARB MANGLE(SampleCoverageARB) -#define glSampleCoverage MANGLE(SampleCoverage) -#define glSampleMapATI MANGLE(SampleMapATI) -#define glSampleMaskEXT MANGLE(SampleMaskEXT) -#define glSampleMaskSGIS MANGLE(SampleMaskSGIS) -#define glSamplePatternEXT MANGLE(SamplePatternEXT) -#define glSamplePatternSGIS MANGLE(SamplePatternSGIS) -#define glScaled MANGLE(Scaled) -#define glScalef MANGLE(Scalef) -#define glScissor MANGLE(Scissor) -#define glSecondaryColor3bEXT MANGLE(SecondaryColor3bEXT) -#define glSecondaryColor3b MANGLE(SecondaryColor3b) -#define glSecondaryColor3bvEXT MANGLE(SecondaryColor3bvEXT) -#define glSecondaryColor3bv MANGLE(SecondaryColor3bv) -#define glSecondaryColor3dEXT MANGLE(SecondaryColor3dEXT) -#define glSecondaryColor3d MANGLE(SecondaryColor3d) -#define glSecondaryColor3dvEXT MANGLE(SecondaryColor3dvEXT) -#define glSecondaryColor3dv MANGLE(SecondaryColor3dv) -#define glSecondaryColor3fEXT MANGLE(SecondaryColor3fEXT) -#define glSecondaryColor3f MANGLE(SecondaryColor3f) -#define glSecondaryColor3fvEXT MANGLE(SecondaryColor3fvEXT) -#define glSecondaryColor3fv MANGLE(SecondaryColor3fv) -#define glSecondaryColor3hNV MANGLE(SecondaryColor3hNV) -#define glSecondaryColor3hvNV MANGLE(SecondaryColor3hvNV) -#define glSecondaryColor3iEXT MANGLE(SecondaryColor3iEXT) -#define glSecondaryColor3i MANGLE(SecondaryColor3i) -#define glSecondaryColor3ivEXT MANGLE(SecondaryColor3ivEXT) -#define glSecondaryColor3iv MANGLE(SecondaryColor3iv) -#define glSecondaryColor3sEXT MANGLE(SecondaryColor3sEXT) -#define glSecondaryColor3s MANGLE(SecondaryColor3s) -#define glSecondaryColor3svEXT MANGLE(SecondaryColor3svEXT) -#define glSecondaryColor3sv MANGLE(SecondaryColor3sv) -#define glSecondaryColor3ubEXT MANGLE(SecondaryColor3ubEXT) -#define glSecondaryColor3ub MANGLE(SecondaryColor3ub) -#define glSecondaryColor3ubvEXT MANGLE(SecondaryColor3ubvEXT) -#define glSecondaryColor3ubv MANGLE(SecondaryColor3ubv) -#define glSecondaryColor3uiEXT MANGLE(SecondaryColor3uiEXT) -#define glSecondaryColor3ui MANGLE(SecondaryColor3ui) -#define glSecondaryColor3uivEXT MANGLE(SecondaryColor3uivEXT) -#define glSecondaryColor3uiv MANGLE(SecondaryColor3uiv) -#define glSecondaryColor3usEXT MANGLE(SecondaryColor3usEXT) -#define glSecondaryColor3us MANGLE(SecondaryColor3us) -#define glSecondaryColor3usvEXT MANGLE(SecondaryColor3usvEXT) -#define glSecondaryColor3usv MANGLE(SecondaryColor3usv) -#define glSecondaryColorPointerEXT MANGLE(SecondaryColorPointerEXT) -#define glSecondaryColorPointerListIBM MANGLE(SecondaryColorPointerListIBM) -#define glSecondaryColorPointer MANGLE(SecondaryColorPointer) -#define glSelectBuffer MANGLE(SelectBuffer) -#define glSeparableFilter2DEXT MANGLE(SeparableFilter2DEXT) -#define glSeparableFilter2D MANGLE(SeparableFilter2D) -#define glSetFenceAPPLE MANGLE(SetFenceAPPLE) -#define glSetFenceNV MANGLE(SetFenceNV) -#define glSetFragmentShaderConstantATI MANGLE(SetFragmentShaderConstantATI) -#define glSetInvariantEXT MANGLE(SetInvariantEXT) -#define glSetLocalConstantEXT MANGLE(SetLocalConstantEXT) -#define glShadeModel MANGLE(ShadeModel) -#define glShaderOp1EXT MANGLE(ShaderOp1EXT) -#define glShaderOp2EXT MANGLE(ShaderOp2EXT) -#define glShaderOp3EXT MANGLE(ShaderOp3EXT) -#define glShaderSourceARB MANGLE(ShaderSourceARB) -#define glShaderSource MANGLE(ShaderSource) -#define glSharpenTexFuncSGIS MANGLE(SharpenTexFuncSGIS) -#define glSpriteParameterfSGIX MANGLE(SpriteParameterfSGIX) -#define glSpriteParameterfvSGIX MANGLE(SpriteParameterfvSGIX) -#define glSpriteParameteriSGIX MANGLE(SpriteParameteriSGIX) -#define glSpriteParameterivSGIX MANGLE(SpriteParameterivSGIX) -#define glStartInstrumentsSGIX MANGLE(StartInstrumentsSGIX) -#define glStencilFunc MANGLE(StencilFunc) -#define glStencilFuncSeparateATI MANGLE(StencilFuncSeparateATI) -#define glStencilFuncSeparate MANGLE(StencilFuncSeparate) -#define glStencilMask MANGLE(StencilMask) -#define glStencilMaskSeparate MANGLE(StencilMaskSeparate) -#define glStencilOp MANGLE(StencilOp) -#define glStencilOpSeparateATI MANGLE(StencilOpSeparateATI) -#define glStencilOpSeparate MANGLE(StencilOpSeparate) -#define glStopInstrumentsSGIX MANGLE(StopInstrumentsSGIX) -#define glStringMarkerGREMEDY MANGLE(StringMarkerGREMEDY) -#define glSwizzleEXT MANGLE(SwizzleEXT) -#define glTagSampleBufferSGIX MANGLE(TagSampleBufferSGIX) -#define glTangent3bEXT MANGLE(Tangent3bEXT) -#define glTangent3bvEXT MANGLE(Tangent3bvEXT) -#define glTangent3dEXT MANGLE(Tangent3dEXT) -#define glTangent3dvEXT MANGLE(Tangent3dvEXT) -#define glTangent3fEXT MANGLE(Tangent3fEXT) -#define glTangent3fvEXT MANGLE(Tangent3fvEXT) -#define glTangent3iEXT MANGLE(Tangent3iEXT) -#define glTangent3ivEXT MANGLE(Tangent3ivEXT) -#define glTangent3sEXT MANGLE(Tangent3sEXT) -#define glTangent3svEXT MANGLE(Tangent3svEXT) -#define glTangentPointerEXT MANGLE(TangentPointerEXT) -#define glTbufferMask3DFX MANGLE(TbufferMask3DFX) -#define glTestFenceAPPLE MANGLE(TestFenceAPPLE) -#define glTestFenceNV MANGLE(TestFenceNV) -#define glTestObjectAPPLE MANGLE(TestObjectAPPLE) -#define glTexBumpParameterfvATI MANGLE(TexBumpParameterfvATI) -#define glTexBumpParameterivATI MANGLE(TexBumpParameterivATI) -#define glTexCoord1d MANGLE(TexCoord1d) -#define glTexCoord1dv MANGLE(TexCoord1dv) -#define glTexCoord1f MANGLE(TexCoord1f) -#define glTexCoord1fv MANGLE(TexCoord1fv) -#define glTexCoord1hNV MANGLE(TexCoord1hNV) -#define glTexCoord1hvNV MANGLE(TexCoord1hvNV) -#define glTexCoord1i MANGLE(TexCoord1i) -#define glTexCoord1iv MANGLE(TexCoord1iv) -#define glTexCoord1s MANGLE(TexCoord1s) -#define glTexCoord1sv MANGLE(TexCoord1sv) -#define glTexCoord2d MANGLE(TexCoord2d) -#define glTexCoord2dv MANGLE(TexCoord2dv) -#define glTexCoord2fColor3fVertex3fSUN MANGLE(TexCoord2fColor3fVertex3fSUN) -#define glTexCoord2fColor3fVertex3fvSUN MANGLE(TexCoord2fColor3fVertex3fvSUN) -#define glTexCoord2fColor4fNormal3fVertex3fSUN MANGLE(TexCoord2fColor4fNormal3fVertex3fSUN) -#define glTexCoord2fColor4fNormal3fVertex3fvSUN MANGLE(TexCoord2fColor4fNormal3fVertex3fvSUN) -#define glTexCoord2fColor4ubVertex3fSUN MANGLE(TexCoord2fColor4ubVertex3fSUN) -#define glTexCoord2fColor4ubVertex3fvSUN MANGLE(TexCoord2fColor4ubVertex3fvSUN) -#define glTexCoord2f MANGLE(TexCoord2f) -#define glTexCoord2fNormal3fVertex3fSUN MANGLE(TexCoord2fNormal3fVertex3fSUN) -#define glTexCoord2fNormal3fVertex3fvSUN MANGLE(TexCoord2fNormal3fVertex3fvSUN) -#define glTexCoord2fVertex3fSUN MANGLE(TexCoord2fVertex3fSUN) -#define glTexCoord2fVertex3fvSUN MANGLE(TexCoord2fVertex3fvSUN) -#define glTexCoord2fv MANGLE(TexCoord2fv) -#define glTexCoord2hNV MANGLE(TexCoord2hNV) -#define glTexCoord2hvNV MANGLE(TexCoord2hvNV) -#define glTexCoord2i MANGLE(TexCoord2i) -#define glTexCoord2iv MANGLE(TexCoord2iv) -#define glTexCoord2s MANGLE(TexCoord2s) -#define glTexCoord2sv MANGLE(TexCoord2sv) -#define glTexCoord3d MANGLE(TexCoord3d) -#define glTexCoord3dv MANGLE(TexCoord3dv) -#define glTexCoord3f MANGLE(TexCoord3f) -#define glTexCoord3fv MANGLE(TexCoord3fv) -#define glTexCoord3hNV MANGLE(TexCoord3hNV) -#define glTexCoord3hvNV MANGLE(TexCoord3hvNV) -#define glTexCoord3i MANGLE(TexCoord3i) -#define glTexCoord3iv MANGLE(TexCoord3iv) -#define glTexCoord3s MANGLE(TexCoord3s) -#define glTexCoord3sv MANGLE(TexCoord3sv) -#define glTexCoord4d MANGLE(TexCoord4d) -#define glTexCoord4dv MANGLE(TexCoord4dv) -#define glTexCoord4fColor4fNormal3fVertex4fSUN MANGLE(TexCoord4fColor4fNormal3fVertex4fSUN) -#define glTexCoord4fColor4fNormal3fVertex4fvSUN MANGLE(TexCoord4fColor4fNormal3fVertex4fvSUN) -#define glTexCoord4f MANGLE(TexCoord4f) -#define glTexCoord4fVertex4fSUN MANGLE(TexCoord4fVertex4fSUN) -#define glTexCoord4fVertex4fvSUN MANGLE(TexCoord4fVertex4fvSUN) -#define glTexCoord4fv MANGLE(TexCoord4fv) -#define glTexCoord4hNV MANGLE(TexCoord4hNV) -#define glTexCoord4hvNV MANGLE(TexCoord4hvNV) -#define glTexCoord4i MANGLE(TexCoord4i) -#define glTexCoord4iv MANGLE(TexCoord4iv) -#define glTexCoord4s MANGLE(TexCoord4s) -#define glTexCoord4sv MANGLE(TexCoord4sv) -#define glTexCoordPointerEXT MANGLE(TexCoordPointerEXT) -#define glTexCoordPointerListIBM MANGLE(TexCoordPointerListIBM) -#define glTexCoordPointer MANGLE(TexCoordPointer) -#define glTexCoordPointervINTEL MANGLE(TexCoordPointervINTEL) -#define glTexEnvf MANGLE(TexEnvf) -#define glTexEnvfv MANGLE(TexEnvfv) -#define glTexEnvi MANGLE(TexEnvi) -#define glTexEnviv MANGLE(TexEnviv) -#define glTexFilterFuncSGIS MANGLE(TexFilterFuncSGIS) -#define glTexGend MANGLE(TexGend) -#define glTexGendv MANGLE(TexGendv) -#define glTexGenf MANGLE(TexGenf) -#define glTexGenfv MANGLE(TexGenfv) -#define glTexGeni MANGLE(TexGeni) -#define glTexGeniv MANGLE(TexGeniv) -#define glTexImage1D MANGLE(TexImage1D) -#define glTexImage2D MANGLE(TexImage2D) -#define glTexImage3DEXT MANGLE(TexImage3DEXT) -#define glTexImage3D MANGLE(TexImage3D) -#define glTexImage4DSGIS MANGLE(TexImage4DSGIS) -#define glTexParameterf MANGLE(TexParameterf) -#define glTexParameterfv MANGLE(TexParameterfv) -#define glTexParameteri MANGLE(TexParameteri) -#define glTexParameteriv MANGLE(TexParameteriv) -#define glTexSubImage1DEXT MANGLE(TexSubImage1DEXT) -#define glTexSubImage1D MANGLE(TexSubImage1D) -#define glTexSubImage2DEXT MANGLE(TexSubImage2DEXT) -#define glTexSubImage2D MANGLE(TexSubImage2D) -#define glTexSubImage3DEXT MANGLE(TexSubImage3DEXT) -#define glTexSubImage3D MANGLE(TexSubImage3D) -#define glTexSubImage4DSGIS MANGLE(TexSubImage4DSGIS) -#define glTextureColorMaskSGIS MANGLE(TextureColorMaskSGIS) -#define glTextureLightEXT MANGLE(TextureLightEXT) -#define glTextureMaterialEXT MANGLE(TextureMaterialEXT) -#define glTextureNormalEXT MANGLE(TextureNormalEXT) -#define glTraceAssertAttribMESA MANGLE(TraceAssertAttribMESA) -#define glTraceCommentMESA MANGLE(TraceCommentMESA) -#define glTraceListMESA MANGLE(TraceListMESA) -#define glTracePointerMESA MANGLE(TracePointerMESA) -#define glTracePointerRangeMESA MANGLE(TracePointerRangeMESA) -#define glTraceTextureMESA MANGLE(TraceTextureMESA) -#define glTrackMatrixNV MANGLE(TrackMatrixNV) -#define glTranslated MANGLE(Translated) -#define glTranslatef MANGLE(Translatef) -#define glUniform1fARB MANGLE(Uniform1fARB) -#define glUniform1f MANGLE(Uniform1f) -#define glUniform1fvARB MANGLE(Uniform1fvARB) -#define glUniform1fv MANGLE(Uniform1fv) -#define glUniform1iARB MANGLE(Uniform1iARB) -#define glUniform1i MANGLE(Uniform1i) -#define glUniform1ivARB MANGLE(Uniform1ivARB) -#define glUniform1iv MANGLE(Uniform1iv) -#define glUniform2fARB MANGLE(Uniform2fARB) -#define glUniform2f MANGLE(Uniform2f) -#define glUniform2fvARB MANGLE(Uniform2fvARB) -#define glUniform2fv MANGLE(Uniform2fv) -#define glUniform2iARB MANGLE(Uniform2iARB) -#define glUniform2i MANGLE(Uniform2i) -#define glUniform2ivARB MANGLE(Uniform2ivARB) -#define glUniform2iv MANGLE(Uniform2iv) -#define glUniform3fARB MANGLE(Uniform3fARB) -#define glUniform3f MANGLE(Uniform3f) -#define glUniform3fvARB MANGLE(Uniform3fvARB) -#define glUniform3fv MANGLE(Uniform3fv) -#define glUniform3iARB MANGLE(Uniform3iARB) -#define glUniform3i MANGLE(Uniform3i) -#define glUniform3ivARB MANGLE(Uniform3ivARB) -#define glUniform3iv MANGLE(Uniform3iv) -#define glUniform4fARB MANGLE(Uniform4fARB) -#define glUniform4f MANGLE(Uniform4f) -#define glUniform4fvARB MANGLE(Uniform4fvARB) -#define glUniform4fv MANGLE(Uniform4fv) -#define glUniform4iARB MANGLE(Uniform4iARB) -#define glUniform4i MANGLE(Uniform4i) -#define glUniform4ivARB MANGLE(Uniform4ivARB) -#define glUniform4iv MANGLE(Uniform4iv) -#define glUniformMatrix2fvARB MANGLE(UniformMatrix2fvARB) -#define glUniformMatrix2fv MANGLE(UniformMatrix2fv) -#define glUniformMatrix3fvARB MANGLE(UniformMatrix3fvARB) -#define glUniformMatrix3fv MANGLE(UniformMatrix3fv) -#define glUniformMatrix4fvARB MANGLE(UniformMatrix4fvARB) -#define glUniformMatrix4fv MANGLE(UniformMatrix4fv) -#define glUnlockArraysEXT MANGLE(UnlockArraysEXT) -#define glUnmapBufferARB MANGLE(UnmapBufferARB) -#define glUnmapBuffer MANGLE(UnmapBuffer) -#define glUnmapObjectBufferATI MANGLE(UnmapObjectBufferATI) -#define glUpdateObjectBufferATI MANGLE(UpdateObjectBufferATI) -#define glUseProgram MANGLE(UseProgram) -#define glUseProgramObjectARB MANGLE(UseProgramObjectARB) -#define glValidateProgramARB MANGLE(ValidateProgramARB) -#define glValidateProgram MANGLE(ValidateProgram) -#define glVariantArrayObjectATI MANGLE(VariantArrayObjectATI) -#define glVariantbvEXT MANGLE(VariantbvEXT) -#define glVariantdvEXT MANGLE(VariantdvEXT) -#define glVariantfvEXT MANGLE(VariantfvEXT) -#define glVariantivEXT MANGLE(VariantivEXT) -#define glVariantPointerEXT MANGLE(VariantPointerEXT) -#define glVariantsvEXT MANGLE(VariantsvEXT) -#define glVariantubvEXT MANGLE(VariantubvEXT) -#define glVariantuivEXT MANGLE(VariantuivEXT) -#define glVariantusvEXT MANGLE(VariantusvEXT) -#define glVertex2d MANGLE(Vertex2d) -#define glVertex2dv MANGLE(Vertex2dv) -#define glVertex2f MANGLE(Vertex2f) -#define glVertex2fv MANGLE(Vertex2fv) -#define glVertex2hNV MANGLE(Vertex2hNV) -#define glVertex2hvNV MANGLE(Vertex2hvNV) -#define glVertex2i MANGLE(Vertex2i) -#define glVertex2iv MANGLE(Vertex2iv) -#define glVertex2s MANGLE(Vertex2s) -#define glVertex2sv MANGLE(Vertex2sv) -#define glVertex3d MANGLE(Vertex3d) -#define glVertex3dv MANGLE(Vertex3dv) -#define glVertex3f MANGLE(Vertex3f) -#define glVertex3fv MANGLE(Vertex3fv) -#define glVertex3hNV MANGLE(Vertex3hNV) -#define glVertex3hvNV MANGLE(Vertex3hvNV) -#define glVertex3i MANGLE(Vertex3i) -#define glVertex3iv MANGLE(Vertex3iv) -#define glVertex3s MANGLE(Vertex3s) -#define glVertex3sv MANGLE(Vertex3sv) -#define glVertex4d MANGLE(Vertex4d) -#define glVertex4dv MANGLE(Vertex4dv) -#define glVertex4f MANGLE(Vertex4f) -#define glVertex4fv MANGLE(Vertex4fv) -#define glVertex4hNV MANGLE(Vertex4hNV) -#define glVertex4hvNV MANGLE(Vertex4hvNV) -#define glVertex4i MANGLE(Vertex4i) -#define glVertex4iv MANGLE(Vertex4iv) -#define glVertex4s MANGLE(Vertex4s) -#define glVertex4sv MANGLE(Vertex4sv) -#define glVertexArrayParameteriAPPLE MANGLE(VertexArrayParameteriAPPLE) -#define glVertexArrayRangeAPPLE MANGLE(VertexArrayRangeAPPLE) -#define glVertexArrayRangeNV MANGLE(VertexArrayRangeNV) -#define glVertexAttrib1dARB MANGLE(VertexAttrib1dARB) -#define glVertexAttrib1d MANGLE(VertexAttrib1d) -#define glVertexAttrib1dNV MANGLE(VertexAttrib1dNV) -#define glVertexAttrib1dvARB MANGLE(VertexAttrib1dvARB) -#define glVertexAttrib1dv MANGLE(VertexAttrib1dv) -#define glVertexAttrib1dvNV MANGLE(VertexAttrib1dvNV) -#define glVertexAttrib1fARB MANGLE(VertexAttrib1fARB) -#define glVertexAttrib1f MANGLE(VertexAttrib1f) -#define glVertexAttrib1fNV MANGLE(VertexAttrib1fNV) -#define glVertexAttrib1fvARB MANGLE(VertexAttrib1fvARB) -#define glVertexAttrib1fv MANGLE(VertexAttrib1fv) -#define glVertexAttrib1fvNV MANGLE(VertexAttrib1fvNV) -#define glVertexAttrib1hNV MANGLE(VertexAttrib1hNV) -#define glVertexAttrib1hvNV MANGLE(VertexAttrib1hvNV) -#define glVertexAttrib1sARB MANGLE(VertexAttrib1sARB) -#define glVertexAttrib1s MANGLE(VertexAttrib1s) -#define glVertexAttrib1sNV MANGLE(VertexAttrib1sNV) -#define glVertexAttrib1svARB MANGLE(VertexAttrib1svARB) -#define glVertexAttrib1sv MANGLE(VertexAttrib1sv) -#define glVertexAttrib1svNV MANGLE(VertexAttrib1svNV) -#define glVertexAttrib2dARB MANGLE(VertexAttrib2dARB) -#define glVertexAttrib2d MANGLE(VertexAttrib2d) -#define glVertexAttrib2dNV MANGLE(VertexAttrib2dNV) -#define glVertexAttrib2dvARB MANGLE(VertexAttrib2dvARB) -#define glVertexAttrib2dv MANGLE(VertexAttrib2dv) -#define glVertexAttrib2dvNV MANGLE(VertexAttrib2dvNV) -#define glVertexAttrib2fARB MANGLE(VertexAttrib2fARB) -#define glVertexAttrib2f MANGLE(VertexAttrib2f) -#define glVertexAttrib2fNV MANGLE(VertexAttrib2fNV) -#define glVertexAttrib2fvARB MANGLE(VertexAttrib2fvARB) -#define glVertexAttrib2fv MANGLE(VertexAttrib2fv) -#define glVertexAttrib2fvNV MANGLE(VertexAttrib2fvNV) -#define glVertexAttrib2hNV MANGLE(VertexAttrib2hNV) -#define glVertexAttrib2hvNV MANGLE(VertexAttrib2hvNV) -#define glVertexAttrib2sARB MANGLE(VertexAttrib2sARB) -#define glVertexAttrib2s MANGLE(VertexAttrib2s) -#define glVertexAttrib2sNV MANGLE(VertexAttrib2sNV) -#define glVertexAttrib2svARB MANGLE(VertexAttrib2svARB) -#define glVertexAttrib2sv MANGLE(VertexAttrib2sv) -#define glVertexAttrib2svNV MANGLE(VertexAttrib2svNV) -#define glVertexAttrib3dARB MANGLE(VertexAttrib3dARB) -#define glVertexAttrib3d MANGLE(VertexAttrib3d) -#define glVertexAttrib3dNV MANGLE(VertexAttrib3dNV) -#define glVertexAttrib3dvARB MANGLE(VertexAttrib3dvARB) -#define glVertexAttrib3dv MANGLE(VertexAttrib3dv) -#define glVertexAttrib3dvNV MANGLE(VertexAttrib3dvNV) -#define glVertexAttrib3fARB MANGLE(VertexAttrib3fARB) -#define glVertexAttrib3f MANGLE(VertexAttrib3f) -#define glVertexAttrib3fNV MANGLE(VertexAttrib3fNV) -#define glVertexAttrib3fvARB MANGLE(VertexAttrib3fvARB) -#define glVertexAttrib3fv MANGLE(VertexAttrib3fv) -#define glVertexAttrib3fvNV MANGLE(VertexAttrib3fvNV) -#define glVertexAttrib3hNV MANGLE(VertexAttrib3hNV) -#define glVertexAttrib3hvNV MANGLE(VertexAttrib3hvNV) -#define glVertexAttrib3sARB MANGLE(VertexAttrib3sARB) -#define glVertexAttrib3s MANGLE(VertexAttrib3s) -#define glVertexAttrib3sNV MANGLE(VertexAttrib3sNV) -#define glVertexAttrib3svARB MANGLE(VertexAttrib3svARB) -#define glVertexAttrib3sv MANGLE(VertexAttrib3sv) -#define glVertexAttrib3svNV MANGLE(VertexAttrib3svNV) -#define glVertexAttrib4bvARB MANGLE(VertexAttrib4bvARB) -#define glVertexAttrib4bv MANGLE(VertexAttrib4bv) -#define glVertexAttrib4dARB MANGLE(VertexAttrib4dARB) -#define glVertexAttrib4d MANGLE(VertexAttrib4d) -#define glVertexAttrib4dNV MANGLE(VertexAttrib4dNV) -#define glVertexAttrib4dvARB MANGLE(VertexAttrib4dvARB) -#define glVertexAttrib4dv MANGLE(VertexAttrib4dv) -#define glVertexAttrib4dvNV MANGLE(VertexAttrib4dvNV) -#define glVertexAttrib4fARB MANGLE(VertexAttrib4fARB) -#define glVertexAttrib4f MANGLE(VertexAttrib4f) -#define glVertexAttrib4fNV MANGLE(VertexAttrib4fNV) -#define glVertexAttrib4fvARB MANGLE(VertexAttrib4fvARB) -#define glVertexAttrib4fv MANGLE(VertexAttrib4fv) -#define glVertexAttrib4fvNV MANGLE(VertexAttrib4fvNV) -#define glVertexAttrib4hNV MANGLE(VertexAttrib4hNV) -#define glVertexAttrib4hvNV MANGLE(VertexAttrib4hvNV) -#define glVertexAttrib4ivARB MANGLE(VertexAttrib4ivARB) -#define glVertexAttrib4iv MANGLE(VertexAttrib4iv) -#define glVertexAttrib4NbvARB MANGLE(VertexAttrib4NbvARB) -#define glVertexAttrib4Nbv MANGLE(VertexAttrib4Nbv) -#define glVertexAttrib4NivARB MANGLE(VertexAttrib4NivARB) -#define glVertexAttrib4Niv MANGLE(VertexAttrib4Niv) -#define glVertexAttrib4NsvARB MANGLE(VertexAttrib4NsvARB) -#define glVertexAttrib4Nsv MANGLE(VertexAttrib4Nsv) -#define glVertexAttrib4NubARB MANGLE(VertexAttrib4NubARB) -#define glVertexAttrib4Nub MANGLE(VertexAttrib4Nub) -#define glVertexAttrib4NubvARB MANGLE(VertexAttrib4NubvARB) -#define glVertexAttrib4Nubv MANGLE(VertexAttrib4Nubv) -#define glVertexAttrib4NuivARB MANGLE(VertexAttrib4NuivARB) -#define glVertexAttrib4Nuiv MANGLE(VertexAttrib4Nuiv) -#define glVertexAttrib4NusvARB MANGLE(VertexAttrib4NusvARB) -#define glVertexAttrib4Nusv MANGLE(VertexAttrib4Nusv) -#define glVertexAttrib4sARB MANGLE(VertexAttrib4sARB) -#define glVertexAttrib4s MANGLE(VertexAttrib4s) -#define glVertexAttrib4sNV MANGLE(VertexAttrib4sNV) -#define glVertexAttrib4svARB MANGLE(VertexAttrib4svARB) -#define glVertexAttrib4sv MANGLE(VertexAttrib4sv) -#define glVertexAttrib4svNV MANGLE(VertexAttrib4svNV) -#define glVertexAttrib4ubNV MANGLE(VertexAttrib4ubNV) -#define glVertexAttrib4ubvARB MANGLE(VertexAttrib4ubvARB) -#define glVertexAttrib4ubv MANGLE(VertexAttrib4ubv) -#define glVertexAttrib4ubvNV MANGLE(VertexAttrib4ubvNV) -#define glVertexAttrib4uivARB MANGLE(VertexAttrib4uivARB) -#define glVertexAttrib4uiv MANGLE(VertexAttrib4uiv) -#define glVertexAttrib4usvARB MANGLE(VertexAttrib4usvARB) -#define glVertexAttrib4usv MANGLE(VertexAttrib4usv) -#define glVertexAttribArrayObjectATI MANGLE(VertexAttribArrayObjectATI) -#define glVertexAttribPointerARB MANGLE(VertexAttribPointerARB) -#define glVertexAttribPointer MANGLE(VertexAttribPointer) -#define glVertexAttribPointerNV MANGLE(VertexAttribPointerNV) -#define glVertexAttribs1dvNV MANGLE(VertexAttribs1dvNV) -#define glVertexAttribs1fvNV MANGLE(VertexAttribs1fvNV) -#define glVertexAttribs1hvNV MANGLE(VertexAttribs1hvNV) -#define glVertexAttribs1svNV MANGLE(VertexAttribs1svNV) -#define glVertexAttribs2dvNV MANGLE(VertexAttribs2dvNV) -#define glVertexAttribs2fvNV MANGLE(VertexAttribs2fvNV) -#define glVertexAttribs2hvNV MANGLE(VertexAttribs2hvNV) -#define glVertexAttribs2svNV MANGLE(VertexAttribs2svNV) -#define glVertexAttribs3dvNV MANGLE(VertexAttribs3dvNV) -#define glVertexAttribs3fvNV MANGLE(VertexAttribs3fvNV) -#define glVertexAttribs3hvNV MANGLE(VertexAttribs3hvNV) -#define glVertexAttribs3svNV MANGLE(VertexAttribs3svNV) -#define glVertexAttribs4dvNV MANGLE(VertexAttribs4dvNV) -#define glVertexAttribs4fvNV MANGLE(VertexAttribs4fvNV) -#define glVertexAttribs4hvNV MANGLE(VertexAttribs4hvNV) -#define glVertexAttribs4svNV MANGLE(VertexAttribs4svNV) -#define glVertexAttribs4ubvNV MANGLE(VertexAttribs4ubvNV) -#define glVertexBlendARB MANGLE(VertexBlendARB) -#define glVertexBlendEnvfATI MANGLE(VertexBlendEnvfATI) -#define glVertexBlendEnviATI MANGLE(VertexBlendEnviATI) -#define glVertexPointerEXT MANGLE(VertexPointerEXT) -#define glVertexPointerListIBM MANGLE(VertexPointerListIBM) -#define glVertexPointer MANGLE(VertexPointer) -#define glVertexPointervINTEL MANGLE(VertexPointervINTEL) -#define glVertexStream1dATI MANGLE(VertexStream1dATI) -#define glVertexStream1dvATI MANGLE(VertexStream1dvATI) -#define glVertexStream1fATI MANGLE(VertexStream1fATI) -#define glVertexStream1fvATI MANGLE(VertexStream1fvATI) -#define glVertexStream1iATI MANGLE(VertexStream1iATI) -#define glVertexStream1ivATI MANGLE(VertexStream1ivATI) -#define glVertexStream1sATI MANGLE(VertexStream1sATI) -#define glVertexStream1svATI MANGLE(VertexStream1svATI) -#define glVertexStream2dATI MANGLE(VertexStream2dATI) -#define glVertexStream2dvATI MANGLE(VertexStream2dvATI) -#define glVertexStream2fATI MANGLE(VertexStream2fATI) -#define glVertexStream2fvATI MANGLE(VertexStream2fvATI) -#define glVertexStream2iATI MANGLE(VertexStream2iATI) -#define glVertexStream2ivATI MANGLE(VertexStream2ivATI) -#define glVertexStream2sATI MANGLE(VertexStream2sATI) -#define glVertexStream2svATI MANGLE(VertexStream2svATI) -#define glVertexStream3dATI MANGLE(VertexStream3dATI) -#define glVertexStream3dvATI MANGLE(VertexStream3dvATI) -#define glVertexStream3fATI MANGLE(VertexStream3fATI) -#define glVertexStream3fvATI MANGLE(VertexStream3fvATI) -#define glVertexStream3iATI MANGLE(VertexStream3iATI) -#define glVertexStream3ivATI MANGLE(VertexStream3ivATI) -#define glVertexStream3sATI MANGLE(VertexStream3sATI) -#define glVertexStream3svATI MANGLE(VertexStream3svATI) -#define glVertexStream4dATI MANGLE(VertexStream4dATI) -#define glVertexStream4dvATI MANGLE(VertexStream4dvATI) -#define glVertexStream4fATI MANGLE(VertexStream4fATI) -#define glVertexStream4fvATI MANGLE(VertexStream4fvATI) -#define glVertexStream4iATI MANGLE(VertexStream4iATI) -#define glVertexStream4ivATI MANGLE(VertexStream4ivATI) -#define glVertexStream4sATI MANGLE(VertexStream4sATI) -#define glVertexStream4svATI MANGLE(VertexStream4svATI) -#define glVertexWeightfEXT MANGLE(VertexWeightfEXT) -#define glVertexWeightfvEXT MANGLE(VertexWeightfvEXT) -#define glVertexWeighthNV MANGLE(VertexWeighthNV) -#define glVertexWeighthvNV MANGLE(VertexWeighthvNV) -#define glVertexWeightPointerEXT MANGLE(VertexWeightPointerEXT) -#define glViewport MANGLE(Viewport) -#define glWeightbvARB MANGLE(WeightbvARB) -#define glWeightdvARB MANGLE(WeightdvARB) -#define glWeightfvARB MANGLE(WeightfvARB) -#define glWeightivARB MANGLE(WeightivARB) -#define glWeightPointerARB MANGLE(WeightPointerARB) -#define glWeightsvARB MANGLE(WeightsvARB) -#define glWeightubvARB MANGLE(WeightubvARB) -#define glWeightuivARB MANGLE(WeightuivARB) -#define glWeightusvARB MANGLE(WeightusvARB) -#define glWindowPos2dARB MANGLE(WindowPos2dARB) -#define glWindowPos2d MANGLE(WindowPos2d) -#define glWindowPos2dMESA MANGLE(WindowPos2dMESA) -#define glWindowPos2dvARB MANGLE(WindowPos2dvARB) -#define glWindowPos2dv MANGLE(WindowPos2dv) -#define glWindowPos2dvMESA MANGLE(WindowPos2dvMESA) -#define glWindowPos2fARB MANGLE(WindowPos2fARB) -#define glWindowPos2f MANGLE(WindowPos2f) -#define glWindowPos2fMESA MANGLE(WindowPos2fMESA) -#define glWindowPos2fvARB MANGLE(WindowPos2fvARB) -#define glWindowPos2fv MANGLE(WindowPos2fv) -#define glWindowPos2fvMESA MANGLE(WindowPos2fvMESA) -#define glWindowPos2iARB MANGLE(WindowPos2iARB) -#define glWindowPos2i MANGLE(WindowPos2i) -#define glWindowPos2iMESA MANGLE(WindowPos2iMESA) -#define glWindowPos2ivARB MANGLE(WindowPos2ivARB) -#define glWindowPos2iv MANGLE(WindowPos2iv) -#define glWindowPos2ivMESA MANGLE(WindowPos2ivMESA) -#define glWindowPos2sARB MANGLE(WindowPos2sARB) -#define glWindowPos2s MANGLE(WindowPos2s) -#define glWindowPos2sMESA MANGLE(WindowPos2sMESA) -#define glWindowPos2svARB MANGLE(WindowPos2svARB) -#define glWindowPos2sv MANGLE(WindowPos2sv) -#define glWindowPos2svMESA MANGLE(WindowPos2svMESA) -#define glWindowPos3dARB MANGLE(WindowPos3dARB) -#define glWindowPos3d MANGLE(WindowPos3d) -#define glWindowPos3dMESA MANGLE(WindowPos3dMESA) -#define glWindowPos3dvARB MANGLE(WindowPos3dvARB) -#define glWindowPos3dv MANGLE(WindowPos3dv) -#define glWindowPos3dvMESA MANGLE(WindowPos3dvMESA) -#define glWindowPos3fARB MANGLE(WindowPos3fARB) -#define glWindowPos3f MANGLE(WindowPos3f) -#define glWindowPos3fMESA MANGLE(WindowPos3fMESA) -#define glWindowPos3fvARB MANGLE(WindowPos3fvARB) -#define glWindowPos3fv MANGLE(WindowPos3fv) -#define glWindowPos3fvMESA MANGLE(WindowPos3fvMESA) -#define glWindowPos3iARB MANGLE(WindowPos3iARB) -#define glWindowPos3i MANGLE(WindowPos3i) -#define glWindowPos3iMESA MANGLE(WindowPos3iMESA) -#define glWindowPos3ivARB MANGLE(WindowPos3ivARB) -#define glWindowPos3iv MANGLE(WindowPos3iv) -#define glWindowPos3ivMESA MANGLE(WindowPos3ivMESA) -#define glWindowPos3sARB MANGLE(WindowPos3sARB) -#define glWindowPos3s MANGLE(WindowPos3s) -#define glWindowPos3sMESA MANGLE(WindowPos3sMESA) -#define glWindowPos3svARB MANGLE(WindowPos3svARB) -#define glWindowPos3sv MANGLE(WindowPos3sv) -#define glWindowPos3svMESA MANGLE(WindowPos3svMESA) -#define glWindowPos4dMESA MANGLE(WindowPos4dMESA) -#define glWindowPos4dvMESA MANGLE(WindowPos4dvMESA) -#define glWindowPos4fMESA MANGLE(WindowPos4fMESA) -#define glWindowPos4fvMESA MANGLE(WindowPos4fvMESA) -#define glWindowPos4iMESA MANGLE(WindowPos4iMESA) -#define glWindowPos4ivMESA MANGLE(WindowPos4ivMESA) -#define glWindowPos4sMESA MANGLE(WindowPos4sMESA) -#define glWindowPos4svMESA MANGLE(WindowPos4svMESA) -#define glWriteMaskEXT MANGLE(WriteMaskEXT) - -#endif /* GL_MANGLE_H */ diff --git a/Libraries/GL/glext.h b/Libraries/GL/glext.h deleted file mode 100644 index 4255fa86..00000000 --- a/Libraries/GL/glext.h +++ /dev/null @@ -1,8395 +0,0 @@ -#ifndef __glext_h_ -#define __glext_h_ - -#ifdef __cplusplus -extern "C" { -#endif - -/* -** Copyright (c) 2007 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ - -#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) -#define WIN32_LEAN_AND_MEAN 1 -#include -#endif - -#ifndef APIENTRY -#define APIENTRY -#endif -#ifndef APIENTRYP -#define APIENTRYP APIENTRY * -#endif -#ifndef GLAPI -#define GLAPI extern -#endif - -/*************************************************************/ - -/* Header file version number, required by OpenGL ABI for Linux */ -/* glext.h last updated 2008/10/09 */ -/* Current version at http://www.opengl.org/registry/ */ -#define GL_GLEXT_VERSION 43 - -#ifndef GL_VERSION_1_2 -#define GL_UNSIGNED_BYTE_3_3_2 0x8032 -#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 -#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 -#define GL_UNSIGNED_INT_8_8_8_8 0x8035 -#define GL_UNSIGNED_INT_10_10_10_2 0x8036 -#define GL_RESCALE_NORMAL 0x803A -#define GL_TEXTURE_BINDING_3D 0x806A -#define GL_PACK_SKIP_IMAGES 0x806B -#define GL_PACK_IMAGE_HEIGHT 0x806C -#define GL_UNPACK_SKIP_IMAGES 0x806D -#define GL_UNPACK_IMAGE_HEIGHT 0x806E -#define GL_TEXTURE_3D 0x806F -#define GL_PROXY_TEXTURE_3D 0x8070 -#define GL_TEXTURE_DEPTH 0x8071 -#define GL_TEXTURE_WRAP_R 0x8072 -#define GL_MAX_3D_TEXTURE_SIZE 0x8073 -#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 -#define GL_UNSIGNED_SHORT_5_6_5 0x8363 -#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 -#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 -#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 -#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 -#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 -#define GL_BGR 0x80E0 -#define GL_BGRA 0x80E1 -#define GL_MAX_ELEMENTS_VERTICES 0x80E8 -#define GL_MAX_ELEMENTS_INDICES 0x80E9 -#define GL_CLAMP_TO_EDGE 0x812F -#define GL_TEXTURE_MIN_LOD 0x813A -#define GL_TEXTURE_MAX_LOD 0x813B -#define GL_TEXTURE_BASE_LEVEL 0x813C -#define GL_TEXTURE_MAX_LEVEL 0x813D -#define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 -#define GL_SINGLE_COLOR 0x81F9 -#define GL_SEPARATE_SPECULAR_COLOR 0x81FA -#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 -#define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 -#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 -#define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 -#define GL_ALIASED_POINT_SIZE_RANGE 0x846D -#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E -#endif - -#ifndef GL_ARB_imaging -#define GL_CONSTANT_COLOR 0x8001 -#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 -#define GL_CONSTANT_ALPHA 0x8003 -#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 -#define GL_BLEND_COLOR 0x8005 -#define GL_FUNC_ADD 0x8006 -#define GL_MIN 0x8007 -#define GL_MAX 0x8008 -#define GL_BLEND_EQUATION 0x8009 -#define GL_FUNC_SUBTRACT 0x800A -#define GL_FUNC_REVERSE_SUBTRACT 0x800B -#define GL_CONVOLUTION_1D 0x8010 -#define GL_CONVOLUTION_2D 0x8011 -#define GL_SEPARABLE_2D 0x8012 -#define GL_CONVOLUTION_BORDER_MODE 0x8013 -#define GL_CONVOLUTION_FILTER_SCALE 0x8014 -#define GL_CONVOLUTION_FILTER_BIAS 0x8015 -#define GL_REDUCE 0x8016 -#define GL_CONVOLUTION_FORMAT 0x8017 -#define GL_CONVOLUTION_WIDTH 0x8018 -#define GL_CONVOLUTION_HEIGHT 0x8019 -#define GL_MAX_CONVOLUTION_WIDTH 0x801A -#define GL_MAX_CONVOLUTION_HEIGHT 0x801B -#define GL_POST_CONVOLUTION_RED_SCALE 0x801C -#define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D -#define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E -#define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F -#define GL_POST_CONVOLUTION_RED_BIAS 0x8020 -#define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021 -#define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022 -#define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023 -#define GL_HISTOGRAM 0x8024 -#define GL_PROXY_HISTOGRAM 0x8025 -#define GL_HISTOGRAM_WIDTH 0x8026 -#define GL_HISTOGRAM_FORMAT 0x8027 -#define GL_HISTOGRAM_RED_SIZE 0x8028 -#define GL_HISTOGRAM_GREEN_SIZE 0x8029 -#define GL_HISTOGRAM_BLUE_SIZE 0x802A -#define GL_HISTOGRAM_ALPHA_SIZE 0x802B -#define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C -#define GL_HISTOGRAM_SINK 0x802D -#define GL_MINMAX 0x802E -#define GL_MINMAX_FORMAT 0x802F -#define GL_MINMAX_SINK 0x8030 -#define GL_TABLE_TOO_LARGE 0x8031 -#define GL_COLOR_MATRIX 0x80B1 -#define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2 -#define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3 -#define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4 -#define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5 -#define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6 -#define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7 -#define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8 -#define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9 -#define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA -#define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB -#define GL_COLOR_TABLE 0x80D0 -#define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 -#define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 -#define GL_PROXY_COLOR_TABLE 0x80D3 -#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 -#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 -#define GL_COLOR_TABLE_SCALE 0x80D6 -#define GL_COLOR_TABLE_BIAS 0x80D7 -#define GL_COLOR_TABLE_FORMAT 0x80D8 -#define GL_COLOR_TABLE_WIDTH 0x80D9 -#define GL_COLOR_TABLE_RED_SIZE 0x80DA -#define GL_COLOR_TABLE_GREEN_SIZE 0x80DB -#define GL_COLOR_TABLE_BLUE_SIZE 0x80DC -#define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD -#define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE -#define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF -#define GL_CONSTANT_BORDER 0x8151 -#define GL_REPLICATE_BORDER 0x8153 -#define GL_CONVOLUTION_BORDER_COLOR 0x8154 -#endif - -#ifndef GL_VERSION_1_3 -#define GL_TEXTURE0 0x84C0 -#define GL_TEXTURE1 0x84C1 -#define GL_TEXTURE2 0x84C2 -#define GL_TEXTURE3 0x84C3 -#define GL_TEXTURE4 0x84C4 -#define GL_TEXTURE5 0x84C5 -#define GL_TEXTURE6 0x84C6 -#define GL_TEXTURE7 0x84C7 -#define GL_TEXTURE8 0x84C8 -#define GL_TEXTURE9 0x84C9 -#define GL_TEXTURE10 0x84CA -#define GL_TEXTURE11 0x84CB -#define GL_TEXTURE12 0x84CC -#define GL_TEXTURE13 0x84CD -#define GL_TEXTURE14 0x84CE -#define GL_TEXTURE15 0x84CF -#define GL_TEXTURE16 0x84D0 -#define GL_TEXTURE17 0x84D1 -#define GL_TEXTURE18 0x84D2 -#define GL_TEXTURE19 0x84D3 -#define GL_TEXTURE20 0x84D4 -#define GL_TEXTURE21 0x84D5 -#define GL_TEXTURE22 0x84D6 -#define GL_TEXTURE23 0x84D7 -#define GL_TEXTURE24 0x84D8 -#define GL_TEXTURE25 0x84D9 -#define GL_TEXTURE26 0x84DA -#define GL_TEXTURE27 0x84DB -#define GL_TEXTURE28 0x84DC -#define GL_TEXTURE29 0x84DD -#define GL_TEXTURE30 0x84DE -#define GL_TEXTURE31 0x84DF -#define GL_ACTIVE_TEXTURE 0x84E0 -#define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 -#define GL_MAX_TEXTURE_UNITS 0x84E2 -#define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3 -#define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4 -#define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5 -#define GL_TRANSPOSE_COLOR_MATRIX 0x84E6 -#define GL_MULTISAMPLE 0x809D -#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE 0x809F -#define GL_SAMPLE_COVERAGE 0x80A0 -#define GL_SAMPLE_BUFFERS 0x80A8 -#define GL_SAMPLES 0x80A9 -#define GL_SAMPLE_COVERAGE_VALUE 0x80AA -#define GL_SAMPLE_COVERAGE_INVERT 0x80AB -#define GL_MULTISAMPLE_BIT 0x20000000 -#define GL_NORMAL_MAP 0x8511 -#define GL_REFLECTION_MAP 0x8512 -#define GL_TEXTURE_CUBE_MAP 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A -#define GL_PROXY_TEXTURE_CUBE_MAP 0x851B -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C -#define GL_COMPRESSED_ALPHA 0x84E9 -#define GL_COMPRESSED_LUMINANCE 0x84EA -#define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB -#define GL_COMPRESSED_INTENSITY 0x84EC -#define GL_COMPRESSED_RGB 0x84ED -#define GL_COMPRESSED_RGBA 0x84EE -#define GL_TEXTURE_COMPRESSION_HINT 0x84EF -#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 -#define GL_TEXTURE_COMPRESSED 0x86A1 -#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 -#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 -#define GL_CLAMP_TO_BORDER 0x812D -#define GL_COMBINE 0x8570 -#define GL_COMBINE_RGB 0x8571 -#define GL_COMBINE_ALPHA 0x8572 -#define GL_SOURCE0_RGB 0x8580 -#define GL_SOURCE1_RGB 0x8581 -#define GL_SOURCE2_RGB 0x8582 -#define GL_SOURCE0_ALPHA 0x8588 -#define GL_SOURCE1_ALPHA 0x8589 -#define GL_SOURCE2_ALPHA 0x858A -#define GL_OPERAND0_RGB 0x8590 -#define GL_OPERAND1_RGB 0x8591 -#define GL_OPERAND2_RGB 0x8592 -#define GL_OPERAND0_ALPHA 0x8598 -#define GL_OPERAND1_ALPHA 0x8599 -#define GL_OPERAND2_ALPHA 0x859A -#define GL_RGB_SCALE 0x8573 -#define GL_ADD_SIGNED 0x8574 -#define GL_INTERPOLATE 0x8575 -#define GL_SUBTRACT 0x84E7 -#define GL_CONSTANT 0x8576 -#define GL_PRIMARY_COLOR 0x8577 -#define GL_PREVIOUS 0x8578 -#define GL_DOT3_RGB 0x86AE -#define GL_DOT3_RGBA 0x86AF -#endif - -#ifndef GL_VERSION_1_4 -#define GL_BLEND_DST_RGB 0x80C8 -#define GL_BLEND_SRC_RGB 0x80C9 -#define GL_BLEND_DST_ALPHA 0x80CA -#define GL_BLEND_SRC_ALPHA 0x80CB -#define GL_POINT_SIZE_MIN 0x8126 -#define GL_POINT_SIZE_MAX 0x8127 -#define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 -#define GL_POINT_DISTANCE_ATTENUATION 0x8129 -#define GL_GENERATE_MIPMAP 0x8191 -#define GL_GENERATE_MIPMAP_HINT 0x8192 -#define GL_DEPTH_COMPONENT16 0x81A5 -#define GL_DEPTH_COMPONENT24 0x81A6 -#define GL_DEPTH_COMPONENT32 0x81A7 -#define GL_MIRRORED_REPEAT 0x8370 -#define GL_FOG_COORDINATE_SOURCE 0x8450 -#define GL_FOG_COORDINATE 0x8451 -#define GL_FRAGMENT_DEPTH 0x8452 -#define GL_CURRENT_FOG_COORDINATE 0x8453 -#define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454 -#define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455 -#define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456 -#define GL_FOG_COORDINATE_ARRAY 0x8457 -#define GL_COLOR_SUM 0x8458 -#define GL_CURRENT_SECONDARY_COLOR 0x8459 -#define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A -#define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B -#define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C -#define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D -#define GL_SECONDARY_COLOR_ARRAY 0x845E -#define GL_MAX_TEXTURE_LOD_BIAS 0x84FD -#define GL_TEXTURE_FILTER_CONTROL 0x8500 -#define GL_TEXTURE_LOD_BIAS 0x8501 -#define GL_INCR_WRAP 0x8507 -#define GL_DECR_WRAP 0x8508 -#define GL_TEXTURE_DEPTH_SIZE 0x884A -#define GL_DEPTH_TEXTURE_MODE 0x884B -#define GL_TEXTURE_COMPARE_MODE 0x884C -#define GL_TEXTURE_COMPARE_FUNC 0x884D -#define GL_COMPARE_R_TO_TEXTURE 0x884E -#endif - -#ifndef GL_VERSION_1_5 -#define GL_BUFFER_SIZE 0x8764 -#define GL_BUFFER_USAGE 0x8765 -#define GL_QUERY_COUNTER_BITS 0x8864 -#define GL_CURRENT_QUERY 0x8865 -#define GL_QUERY_RESULT 0x8866 -#define GL_QUERY_RESULT_AVAILABLE 0x8867 -#define GL_ARRAY_BUFFER 0x8892 -#define GL_ELEMENT_ARRAY_BUFFER 0x8893 -#define GL_ARRAY_BUFFER_BINDING 0x8894 -#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 -#define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 -#define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 -#define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 -#define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899 -#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A -#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B -#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C -#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D -#define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E -#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F -#define GL_READ_ONLY 0x88B8 -#define GL_WRITE_ONLY 0x88B9 -#define GL_READ_WRITE 0x88BA -#define GL_BUFFER_ACCESS 0x88BB -#define GL_BUFFER_MAPPED 0x88BC -#define GL_BUFFER_MAP_POINTER 0x88BD -#define GL_STREAM_DRAW 0x88E0 -#define GL_STREAM_READ 0x88E1 -#define GL_STREAM_COPY 0x88E2 -#define GL_STATIC_DRAW 0x88E4 -#define GL_STATIC_READ 0x88E5 -#define GL_STATIC_COPY 0x88E6 -#define GL_DYNAMIC_DRAW 0x88E8 -#define GL_DYNAMIC_READ 0x88E9 -#define GL_DYNAMIC_COPY 0x88EA -#define GL_SAMPLES_PASSED 0x8914 -#define GL_FOG_COORD_SRC GL_FOG_COORDINATE_SOURCE -#define GL_FOG_COORD GL_FOG_COORDINATE -#define GL_CURRENT_FOG_COORD GL_CURRENT_FOG_COORDINATE -#define GL_FOG_COORD_ARRAY_TYPE GL_FOG_COORDINATE_ARRAY_TYPE -#define GL_FOG_COORD_ARRAY_STRIDE GL_FOG_COORDINATE_ARRAY_STRIDE -#define GL_FOG_COORD_ARRAY_POINTER GL_FOG_COORDINATE_ARRAY_POINTER -#define GL_FOG_COORD_ARRAY GL_FOG_COORDINATE_ARRAY -#define GL_FOG_COORD_ARRAY_BUFFER_BINDING GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING -#define GL_SRC0_RGB GL_SOURCE0_RGB -#define GL_SRC1_RGB GL_SOURCE1_RGB -#define GL_SRC2_RGB GL_SOURCE2_RGB -#define GL_SRC0_ALPHA GL_SOURCE0_ALPHA -#define GL_SRC1_ALPHA GL_SOURCE1_ALPHA -#define GL_SRC2_ALPHA GL_SOURCE2_ALPHA -#endif - -#ifndef GL_VERSION_2_0 -#define GL_BLEND_EQUATION_RGB GL_BLEND_EQUATION -#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 -#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 -#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 -#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 -#define GL_CURRENT_VERTEX_ATTRIB 0x8626 -#define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 -#define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643 -#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 -#define GL_STENCIL_BACK_FUNC 0x8800 -#define GL_STENCIL_BACK_FAIL 0x8801 -#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 -#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 -#define GL_MAX_DRAW_BUFFERS 0x8824 -#define GL_DRAW_BUFFER0 0x8825 -#define GL_DRAW_BUFFER1 0x8826 -#define GL_DRAW_BUFFER2 0x8827 -#define GL_DRAW_BUFFER3 0x8828 -#define GL_DRAW_BUFFER4 0x8829 -#define GL_DRAW_BUFFER5 0x882A -#define GL_DRAW_BUFFER6 0x882B -#define GL_DRAW_BUFFER7 0x882C -#define GL_DRAW_BUFFER8 0x882D -#define GL_DRAW_BUFFER9 0x882E -#define GL_DRAW_BUFFER10 0x882F -#define GL_DRAW_BUFFER11 0x8830 -#define GL_DRAW_BUFFER12 0x8831 -#define GL_DRAW_BUFFER13 0x8832 -#define GL_DRAW_BUFFER14 0x8833 -#define GL_DRAW_BUFFER15 0x8834 -#define GL_BLEND_EQUATION_ALPHA 0x883D -#define GL_POINT_SPRITE 0x8861 -#define GL_COORD_REPLACE 0x8862 -#define GL_MAX_VERTEX_ATTRIBS 0x8869 -#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A -#define GL_MAX_TEXTURE_COORDS 0x8871 -#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 -#define GL_FRAGMENT_SHADER 0x8B30 -#define GL_VERTEX_SHADER 0x8B31 -#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 -#define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A -#define GL_MAX_VARYING_FLOATS 0x8B4B -#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C -#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D -#define GL_SHADER_TYPE 0x8B4F -#define GL_FLOAT_VEC2 0x8B50 -#define GL_FLOAT_VEC3 0x8B51 -#define GL_FLOAT_VEC4 0x8B52 -#define GL_INT_VEC2 0x8B53 -#define GL_INT_VEC3 0x8B54 -#define GL_INT_VEC4 0x8B55 -#define GL_BOOL 0x8B56 -#define GL_BOOL_VEC2 0x8B57 -#define GL_BOOL_VEC3 0x8B58 -#define GL_BOOL_VEC4 0x8B59 -#define GL_FLOAT_MAT2 0x8B5A -#define GL_FLOAT_MAT3 0x8B5B -#define GL_FLOAT_MAT4 0x8B5C -#define GL_SAMPLER_1D 0x8B5D -#define GL_SAMPLER_2D 0x8B5E -#define GL_SAMPLER_3D 0x8B5F -#define GL_SAMPLER_CUBE 0x8B60 -#define GL_SAMPLER_1D_SHADOW 0x8B61 -#define GL_SAMPLER_2D_SHADOW 0x8B62 -#define GL_DELETE_STATUS 0x8B80 -#define GL_COMPILE_STATUS 0x8B81 -#define GL_LINK_STATUS 0x8B82 -#define GL_VALIDATE_STATUS 0x8B83 -#define GL_INFO_LOG_LENGTH 0x8B84 -#define GL_ATTACHED_SHADERS 0x8B85 -#define GL_ACTIVE_UNIFORMS 0x8B86 -#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 -#define GL_SHADER_SOURCE_LENGTH 0x8B88 -#define GL_ACTIVE_ATTRIBUTES 0x8B89 -#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A -#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B -#define GL_SHADING_LANGUAGE_VERSION 0x8B8C -#define GL_CURRENT_PROGRAM 0x8B8D -#define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0 -#define GL_LOWER_LEFT 0x8CA1 -#define GL_UPPER_LEFT 0x8CA2 -#define GL_STENCIL_BACK_REF 0x8CA3 -#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 -#define GL_STENCIL_BACK_WRITEMASK 0x8CA5 -#endif - -#ifndef GL_VERSION_2_1 -#define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F -#define GL_PIXEL_PACK_BUFFER 0x88EB -#define GL_PIXEL_UNPACK_BUFFER 0x88EC -#define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED -#define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF -#define GL_FLOAT_MAT2x3 0x8B65 -#define GL_FLOAT_MAT2x4 0x8B66 -#define GL_FLOAT_MAT3x2 0x8B67 -#define GL_FLOAT_MAT3x4 0x8B68 -#define GL_FLOAT_MAT4x2 0x8B69 -#define GL_FLOAT_MAT4x3 0x8B6A -#define GL_SRGB 0x8C40 -#define GL_SRGB8 0x8C41 -#define GL_SRGB_ALPHA 0x8C42 -#define GL_SRGB8_ALPHA8 0x8C43 -#define GL_SLUMINANCE_ALPHA 0x8C44 -#define GL_SLUMINANCE8_ALPHA8 0x8C45 -#define GL_SLUMINANCE 0x8C46 -#define GL_SLUMINANCE8 0x8C47 -#define GL_COMPRESSED_SRGB 0x8C48 -#define GL_COMPRESSED_SRGB_ALPHA 0x8C49 -#define GL_COMPRESSED_SLUMINANCE 0x8C4A -#define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B -#endif - -#ifndef GL_VERSION_3_0 -#define GL_COMPARE_REF_TO_TEXTURE GL_COMPARE_R_TO_TEXTURE_ARB -#define GL_CLIP_DISTANCE0 GL_CLIP_PLANE0 -#define GL_CLIP_DISTANCE1 GL_CLIP_PLANE1 -#define GL_CLIP_DISTANCE2 GL_CLIP_PLANE2 -#define GL_CLIP_DISTANCE3 GL_CLIP_PLANE3 -#define GL_CLIP_DISTANCE4 GL_CLIP_PLANE4 -#define GL_CLIP_DISTANCE5 GL_CLIP_PLANE5 -#define GL_MAX_CLIP_DISTANCES GL_MAX_CLIP_PLANES -#define GL_MAJOR_VERSION 0x821B -#define GL_MINOR_VERSION 0x821C -#define GL_NUM_EXTENSIONS 0x821D -#define GL_CONTEXT_FLAGS 0x821E -#define GL_DEPTH_BUFFER 0x8223 -#define GL_STENCIL_BUFFER 0x8224 -#define GL_COMPRESSED_RED 0x8225 -#define GL_COMPRESSED_RG 0x8226 -#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001 -#define GL_RGBA32F 0x8814 -#define GL_RGB32F 0x8815 -#define GL_RGBA16F 0x881A -#define GL_RGB16F 0x881B -#define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD -#define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF -#define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 -#define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 -#define GL_CLAMP_VERTEX_COLOR 0x891A -#define GL_CLAMP_FRAGMENT_COLOR 0x891B -#define GL_CLAMP_READ_COLOR 0x891C -#define GL_FIXED_ONLY 0x891D -#define GL_MAX_VARYING_COMPONENTS GL_MAX_VARYING_FLOATS -#define GL_TEXTURE_RED_TYPE 0x8C10 -#define GL_TEXTURE_GREEN_TYPE 0x8C11 -#define GL_TEXTURE_BLUE_TYPE 0x8C12 -#define GL_TEXTURE_ALPHA_TYPE 0x8C13 -#define GL_TEXTURE_LUMINANCE_TYPE 0x8C14 -#define GL_TEXTURE_INTENSITY_TYPE 0x8C15 -#define GL_TEXTURE_DEPTH_TYPE 0x8C16 -#define GL_UNSIGNED_NORMALIZED 0x8C17 -#define GL_TEXTURE_1D_ARRAY 0x8C18 -#define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19 -#define GL_TEXTURE_2D_ARRAY 0x8C1A -#define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B -#define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C -#define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D -#define GL_R11F_G11F_B10F 0x8C3A -#define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B -#define GL_RGB9_E5 0x8C3D -#define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E -#define GL_TEXTURE_SHARED_SIZE 0x8C3F -#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 -#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 -#define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 -#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 -#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 -#define GL_PRIMITIVES_GENERATED 0x8C87 -#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 -#define GL_RASTERIZER_DISCARD 0x8C89 -#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B -#define GL_INTERLEAVED_ATTRIBS 0x8C8C -#define GL_SEPARATE_ATTRIBS 0x8C8D -#define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E -#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F -#define GL_RGBA32UI 0x8D70 -#define GL_RGB32UI 0x8D71 -#define GL_RGBA16UI 0x8D76 -#define GL_RGB16UI 0x8D77 -#define GL_RGBA8UI 0x8D7C -#define GL_RGB8UI 0x8D7D -#define GL_RGBA32I 0x8D82 -#define GL_RGB32I 0x8D83 -#define GL_RGBA16I 0x8D88 -#define GL_RGB16I 0x8D89 -#define GL_RGBA8I 0x8D8E -#define GL_RGB8I 0x8D8F -#define GL_RED_INTEGER 0x8D94 -#define GL_GREEN_INTEGER 0x8D95 -#define GL_BLUE_INTEGER 0x8D96 -#define GL_ALPHA_INTEGER 0x8D97 -#define GL_RGB_INTEGER 0x8D98 -#define GL_RGBA_INTEGER 0x8D99 -#define GL_BGR_INTEGER 0x8D9A -#define GL_BGRA_INTEGER 0x8D9B -#define GL_SAMPLER_1D_ARRAY 0x8DC0 -#define GL_SAMPLER_2D_ARRAY 0x8DC1 -#define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3 -#define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 -#define GL_SAMPLER_CUBE_SHADOW 0x8DC5 -#define GL_UNSIGNED_INT_VEC2 0x8DC6 -#define GL_UNSIGNED_INT_VEC3 0x8DC7 -#define GL_UNSIGNED_INT_VEC4 0x8DC8 -#define GL_INT_SAMPLER_1D 0x8DC9 -#define GL_INT_SAMPLER_2D 0x8DCA -#define GL_INT_SAMPLER_3D 0x8DCB -#define GL_INT_SAMPLER_CUBE 0x8DCC -#define GL_INT_SAMPLER_1D_ARRAY 0x8DCE -#define GL_INT_SAMPLER_2D_ARRAY 0x8DCF -#define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1 -#define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 -#define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 -#define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 -#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6 -#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 -#define GL_QUERY_WAIT 0x8E13 -#define GL_QUERY_NO_WAIT 0x8E14 -#define GL_QUERY_BY_REGION_WAIT 0x8E15 -#define GL_QUERY_BY_REGION_NO_WAIT 0x8E16 -/* Reuse tokens from ARB_depth_buffer_float */ -/* reuse GL_DEPTH_COMPONENT32F */ -/* reuse GL_DEPTH32F_STENCIL8 */ -/* reuse GL_FLOAT_32_UNSIGNED_INT_24_8_REV */ -/* Reuse tokens from ARB_framebuffer_object */ -/* reuse GL_INVALID_FRAMEBUFFER_OPERATION */ -/* reuse GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING */ -/* reuse GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE */ -/* reuse GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE */ -/* reuse GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE */ -/* reuse GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE */ -/* reuse GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE */ -/* reuse GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE */ -/* reuse GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE */ -/* reuse GL_FRAMEBUFFER_DEFAULT */ -/* reuse GL_FRAMEBUFFER_UNDEFINED */ -/* reuse GL_DEPTH_STENCIL_ATTACHMENT */ -/* reuse GL_INDEX */ -/* reuse GL_MAX_RENDERBUFFER_SIZE */ -/* reuse GL_DEPTH_STENCIL */ -/* reuse GL_UNSIGNED_INT_24_8 */ -/* reuse GL_DEPTH24_STENCIL8 */ -/* reuse GL_TEXTURE_STENCIL_SIZE */ -/* reuse GL_TEXTURE_RED_TYPE */ -/* reuse GL_TEXTURE_GREEN_TYPE */ -/* reuse GL_TEXTURE_BLUE_TYPE */ -/* reuse GL_TEXTURE_ALPHA_TYPE */ -/* reuse GL_TEXTURE_LUMINANCE_TYPE */ -/* reuse GL_TEXTURE_INTENSITY_TYPE */ -/* reuse GL_TEXTURE_DEPTH_TYPE */ -/* reuse GL_UNSIGNED_NORMALIZED */ -/* reuse GL_FRAMEBUFFER_BINDING */ -/* reuse GL_DRAW_FRAMEBUFFER_BINDING */ -/* reuse GL_RENDERBUFFER_BINDING */ -/* reuse GL_READ_FRAMEBUFFER */ -/* reuse GL_DRAW_FRAMEBUFFER */ -/* reuse GL_READ_FRAMEBUFFER_BINDING */ -/* reuse GL_RENDERBUFFER_SAMPLES */ -/* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE */ -/* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME */ -/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL */ -/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE */ -/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */ -/* reuse GL_FRAMEBUFFER_COMPLETE */ -/* reuse GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT */ -/* reuse GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT */ -/* reuse GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER */ -/* reuse GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER */ -/* reuse GL_FRAMEBUFFER_UNSUPPORTED */ -/* reuse GL_MAX_COLOR_ATTACHMENTS */ -/* reuse GL_COLOR_ATTACHMENT0 */ -/* reuse GL_COLOR_ATTACHMENT1 */ -/* reuse GL_COLOR_ATTACHMENT2 */ -/* reuse GL_COLOR_ATTACHMENT3 */ -/* reuse GL_COLOR_ATTACHMENT4 */ -/* reuse GL_COLOR_ATTACHMENT5 */ -/* reuse GL_COLOR_ATTACHMENT6 */ -/* reuse GL_COLOR_ATTACHMENT7 */ -/* reuse GL_COLOR_ATTACHMENT8 */ -/* reuse GL_COLOR_ATTACHMENT9 */ -/* reuse GL_COLOR_ATTACHMENT10 */ -/* reuse GL_COLOR_ATTACHMENT11 */ -/* reuse GL_COLOR_ATTACHMENT12 */ -/* reuse GL_COLOR_ATTACHMENT13 */ -/* reuse GL_COLOR_ATTACHMENT14 */ -/* reuse GL_COLOR_ATTACHMENT15 */ -/* reuse GL_DEPTH_ATTACHMENT */ -/* reuse GL_STENCIL_ATTACHMENT */ -/* reuse GL_FRAMEBUFFER */ -/* reuse GL_RENDERBUFFER */ -/* reuse GL_RENDERBUFFER_WIDTH */ -/* reuse GL_RENDERBUFFER_HEIGHT */ -/* reuse GL_RENDERBUFFER_INTERNAL_FORMAT */ -/* reuse GL_STENCIL_INDEX1 */ -/* reuse GL_STENCIL_INDEX4 */ -/* reuse GL_STENCIL_INDEX8 */ -/* reuse GL_STENCIL_INDEX16 */ -/* reuse GL_RENDERBUFFER_RED_SIZE */ -/* reuse GL_RENDERBUFFER_GREEN_SIZE */ -/* reuse GL_RENDERBUFFER_BLUE_SIZE */ -/* reuse GL_RENDERBUFFER_ALPHA_SIZE */ -/* reuse GL_RENDERBUFFER_DEPTH_SIZE */ -/* reuse GL_RENDERBUFFER_STENCIL_SIZE */ -/* reuse GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE */ -/* reuse GL_MAX_SAMPLES */ -/* Reuse tokens from ARB_framebuffer_sRGB */ -/* reuse GL_FRAMEBUFFER_SRGB */ -/* Reuse tokens from ARB_half_float_vertex */ -/* reuse GL_HALF_FLOAT */ -/* Reuse tokens from ARB_map_buffer_range */ -/* reuse GL_MAP_READ_BIT */ -/* reuse GL_MAP_WRITE_BIT */ -/* reuse GL_MAP_INVALIDATE_RANGE_BIT */ -/* reuse GL_MAP_INVALIDATE_BUFFER_BIT */ -/* reuse GL_MAP_FLUSH_EXPLICIT_BIT */ -/* reuse GL_MAP_UNSYNCHRONIZED_BIT */ -/* Reuse tokens from ARB_texture_compression_rgtc */ -/* reuse GL_COMPRESSED_RED_RGTC1 */ -/* reuse GL_COMPRESSED_SIGNED_RED_RGTC1 */ -/* reuse GL_COMPRESSED_RG_RGTC2 */ -/* reuse GL_COMPRESSED_SIGNED_RG_RGTC2 */ -/* Reuse tokens from ARB_texture_rg */ -/* reuse GL_RG */ -/* reuse GL_RG_INTEGER */ -/* reuse GL_R8 */ -/* reuse GL_R16 */ -/* reuse GL_RG8 */ -/* reuse GL_RG16 */ -/* reuse GL_R16F */ -/* reuse GL_R32F */ -/* reuse GL_RG16F */ -/* reuse GL_RG32F */ -/* reuse GL_R8I */ -/* reuse GL_R8UI */ -/* reuse GL_R16I */ -/* reuse GL_R16UI */ -/* reuse GL_R32I */ -/* reuse GL_R32UI */ -/* reuse GL_RG8I */ -/* reuse GL_RG8UI */ -/* reuse GL_RG16I */ -/* reuse GL_RG16UI */ -/* reuse GL_RG32I */ -/* reuse GL_RG32UI */ -/* Reuse tokens from ARB_vertex_array_object */ -/* reuse GL_VERTEX_ARRAY_BINDING */ -#endif - -#ifndef GL_ARB_multitexture -#define GL_TEXTURE0_ARB 0x84C0 -#define GL_TEXTURE1_ARB 0x84C1 -#define GL_TEXTURE2_ARB 0x84C2 -#define GL_TEXTURE3_ARB 0x84C3 -#define GL_TEXTURE4_ARB 0x84C4 -#define GL_TEXTURE5_ARB 0x84C5 -#define GL_TEXTURE6_ARB 0x84C6 -#define GL_TEXTURE7_ARB 0x84C7 -#define GL_TEXTURE8_ARB 0x84C8 -#define GL_TEXTURE9_ARB 0x84C9 -#define GL_TEXTURE10_ARB 0x84CA -#define GL_TEXTURE11_ARB 0x84CB -#define GL_TEXTURE12_ARB 0x84CC -#define GL_TEXTURE13_ARB 0x84CD -#define GL_TEXTURE14_ARB 0x84CE -#define GL_TEXTURE15_ARB 0x84CF -#define GL_TEXTURE16_ARB 0x84D0 -#define GL_TEXTURE17_ARB 0x84D1 -#define GL_TEXTURE18_ARB 0x84D2 -#define GL_TEXTURE19_ARB 0x84D3 -#define GL_TEXTURE20_ARB 0x84D4 -#define GL_TEXTURE21_ARB 0x84D5 -#define GL_TEXTURE22_ARB 0x84D6 -#define GL_TEXTURE23_ARB 0x84D7 -#define GL_TEXTURE24_ARB 0x84D8 -#define GL_TEXTURE25_ARB 0x84D9 -#define GL_TEXTURE26_ARB 0x84DA -#define GL_TEXTURE27_ARB 0x84DB -#define GL_TEXTURE28_ARB 0x84DC -#define GL_TEXTURE29_ARB 0x84DD -#define GL_TEXTURE30_ARB 0x84DE -#define GL_TEXTURE31_ARB 0x84DF -#define GL_ACTIVE_TEXTURE_ARB 0x84E0 -#define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1 -#define GL_MAX_TEXTURE_UNITS_ARB 0x84E2 -#endif - -#ifndef GL_ARB_transpose_matrix -#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3 -#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4 -#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5 -#define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6 -#endif - -#ifndef GL_ARB_multisample -#define GL_MULTISAMPLE_ARB 0x809D -#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F -#define GL_SAMPLE_COVERAGE_ARB 0x80A0 -#define GL_SAMPLE_BUFFERS_ARB 0x80A8 -#define GL_SAMPLES_ARB 0x80A9 -#define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA -#define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB -#define GL_MULTISAMPLE_BIT_ARB 0x20000000 -#endif - -#ifndef GL_ARB_texture_env_add -#endif - -#ifndef GL_ARB_texture_cube_map -#define GL_NORMAL_MAP_ARB 0x8511 -#define GL_REFLECTION_MAP_ARB 0x8512 -#define GL_TEXTURE_CUBE_MAP_ARB 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A -#define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C -#endif - -#ifndef GL_ARB_texture_compression -#define GL_COMPRESSED_ALPHA_ARB 0x84E9 -#define GL_COMPRESSED_LUMINANCE_ARB 0x84EA -#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB -#define GL_COMPRESSED_INTENSITY_ARB 0x84EC -#define GL_COMPRESSED_RGB_ARB 0x84ED -#define GL_COMPRESSED_RGBA_ARB 0x84EE -#define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF -#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0 -#define GL_TEXTURE_COMPRESSED_ARB 0x86A1 -#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2 -#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3 -#endif - -#ifndef GL_ARB_texture_border_clamp -#define GL_CLAMP_TO_BORDER_ARB 0x812D -#endif - -#ifndef GL_ARB_point_parameters -#define GL_POINT_SIZE_MIN_ARB 0x8126 -#define GL_POINT_SIZE_MAX_ARB 0x8127 -#define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128 -#define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129 -#endif - -#ifndef GL_ARB_vertex_blend -#define GL_MAX_VERTEX_UNITS_ARB 0x86A4 -#define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5 -#define GL_WEIGHT_SUM_UNITY_ARB 0x86A6 -#define GL_VERTEX_BLEND_ARB 0x86A7 -#define GL_CURRENT_WEIGHT_ARB 0x86A8 -#define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9 -#define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA -#define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB -#define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC -#define GL_WEIGHT_ARRAY_ARB 0x86AD -#define GL_MODELVIEW0_ARB 0x1700 -#define GL_MODELVIEW1_ARB 0x850A -#define GL_MODELVIEW2_ARB 0x8722 -#define GL_MODELVIEW3_ARB 0x8723 -#define GL_MODELVIEW4_ARB 0x8724 -#define GL_MODELVIEW5_ARB 0x8725 -#define GL_MODELVIEW6_ARB 0x8726 -#define GL_MODELVIEW7_ARB 0x8727 -#define GL_MODELVIEW8_ARB 0x8728 -#define GL_MODELVIEW9_ARB 0x8729 -#define GL_MODELVIEW10_ARB 0x872A -#define GL_MODELVIEW11_ARB 0x872B -#define GL_MODELVIEW12_ARB 0x872C -#define GL_MODELVIEW13_ARB 0x872D -#define GL_MODELVIEW14_ARB 0x872E -#define GL_MODELVIEW15_ARB 0x872F -#define GL_MODELVIEW16_ARB 0x8730 -#define GL_MODELVIEW17_ARB 0x8731 -#define GL_MODELVIEW18_ARB 0x8732 -#define GL_MODELVIEW19_ARB 0x8733 -#define GL_MODELVIEW20_ARB 0x8734 -#define GL_MODELVIEW21_ARB 0x8735 -#define GL_MODELVIEW22_ARB 0x8736 -#define GL_MODELVIEW23_ARB 0x8737 -#define GL_MODELVIEW24_ARB 0x8738 -#define GL_MODELVIEW25_ARB 0x8739 -#define GL_MODELVIEW26_ARB 0x873A -#define GL_MODELVIEW27_ARB 0x873B -#define GL_MODELVIEW28_ARB 0x873C -#define GL_MODELVIEW29_ARB 0x873D -#define GL_MODELVIEW30_ARB 0x873E -#define GL_MODELVIEW31_ARB 0x873F -#endif - -#ifndef GL_ARB_matrix_palette -#define GL_MATRIX_PALETTE_ARB 0x8840 -#define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841 -#define GL_MAX_PALETTE_MATRICES_ARB 0x8842 -#define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843 -#define GL_MATRIX_INDEX_ARRAY_ARB 0x8844 -#define GL_CURRENT_MATRIX_INDEX_ARB 0x8845 -#define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846 -#define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847 -#define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848 -#define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849 -#endif - -#ifndef GL_ARB_texture_env_combine -#define GL_COMBINE_ARB 0x8570 -#define GL_COMBINE_RGB_ARB 0x8571 -#define GL_COMBINE_ALPHA_ARB 0x8572 -#define GL_SOURCE0_RGB_ARB 0x8580 -#define GL_SOURCE1_RGB_ARB 0x8581 -#define GL_SOURCE2_RGB_ARB 0x8582 -#define GL_SOURCE0_ALPHA_ARB 0x8588 -#define GL_SOURCE1_ALPHA_ARB 0x8589 -#define GL_SOURCE2_ALPHA_ARB 0x858A -#define GL_OPERAND0_RGB_ARB 0x8590 -#define GL_OPERAND1_RGB_ARB 0x8591 -#define GL_OPERAND2_RGB_ARB 0x8592 -#define GL_OPERAND0_ALPHA_ARB 0x8598 -#define GL_OPERAND1_ALPHA_ARB 0x8599 -#define GL_OPERAND2_ALPHA_ARB 0x859A -#define GL_RGB_SCALE_ARB 0x8573 -#define GL_ADD_SIGNED_ARB 0x8574 -#define GL_INTERPOLATE_ARB 0x8575 -#define GL_SUBTRACT_ARB 0x84E7 -#define GL_CONSTANT_ARB 0x8576 -#define GL_PRIMARY_COLOR_ARB 0x8577 -#define GL_PREVIOUS_ARB 0x8578 -#endif - -#ifndef GL_ARB_texture_env_crossbar -#endif - -#ifndef GL_ARB_texture_env_dot3 -#define GL_DOT3_RGB_ARB 0x86AE -#define GL_DOT3_RGBA_ARB 0x86AF -#endif - -#ifndef GL_ARB_texture_mirrored_repeat -#define GL_MIRRORED_REPEAT_ARB 0x8370 -#endif - -#ifndef GL_ARB_depth_texture -#define GL_DEPTH_COMPONENT16_ARB 0x81A5 -#define GL_DEPTH_COMPONENT24_ARB 0x81A6 -#define GL_DEPTH_COMPONENT32_ARB 0x81A7 -#define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A -#define GL_DEPTH_TEXTURE_MODE_ARB 0x884B -#endif - -#ifndef GL_ARB_shadow -#define GL_TEXTURE_COMPARE_MODE_ARB 0x884C -#define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D -#define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E -#endif - -#ifndef GL_ARB_shadow_ambient -#define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF -#endif - -#ifndef GL_ARB_window_pos -#endif - -#ifndef GL_ARB_vertex_program -#define GL_COLOR_SUM_ARB 0x8458 -#define GL_VERTEX_PROGRAM_ARB 0x8620 -#define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622 -#define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623 -#define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624 -#define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625 -#define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626 -#define GL_PROGRAM_LENGTH_ARB 0x8627 -#define GL_PROGRAM_STRING_ARB 0x8628 -#define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E -#define GL_MAX_PROGRAM_MATRICES_ARB 0x862F -#define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640 -#define GL_CURRENT_MATRIX_ARB 0x8641 -#define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642 -#define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643 -#define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645 -#define GL_PROGRAM_ERROR_POSITION_ARB 0x864B -#define GL_PROGRAM_BINDING_ARB 0x8677 -#define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869 -#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A -#define GL_PROGRAM_ERROR_STRING_ARB 0x8874 -#define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875 -#define GL_PROGRAM_FORMAT_ARB 0x8876 -#define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0 -#define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1 -#define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2 -#define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3 -#define GL_PROGRAM_TEMPORARIES_ARB 0x88A4 -#define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5 -#define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6 -#define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7 -#define GL_PROGRAM_PARAMETERS_ARB 0x88A8 -#define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9 -#define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA -#define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB -#define GL_PROGRAM_ATTRIBS_ARB 0x88AC -#define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD -#define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE -#define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF -#define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0 -#define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1 -#define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2 -#define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3 -#define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4 -#define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5 -#define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6 -#define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7 -#define GL_MATRIX0_ARB 0x88C0 -#define GL_MATRIX1_ARB 0x88C1 -#define GL_MATRIX2_ARB 0x88C2 -#define GL_MATRIX3_ARB 0x88C3 -#define GL_MATRIX4_ARB 0x88C4 -#define GL_MATRIX5_ARB 0x88C5 -#define GL_MATRIX6_ARB 0x88C6 -#define GL_MATRIX7_ARB 0x88C7 -#define GL_MATRIX8_ARB 0x88C8 -#define GL_MATRIX9_ARB 0x88C9 -#define GL_MATRIX10_ARB 0x88CA -#define GL_MATRIX11_ARB 0x88CB -#define GL_MATRIX12_ARB 0x88CC -#define GL_MATRIX13_ARB 0x88CD -#define GL_MATRIX14_ARB 0x88CE -#define GL_MATRIX15_ARB 0x88CF -#define GL_MATRIX16_ARB 0x88D0 -#define GL_MATRIX17_ARB 0x88D1 -#define GL_MATRIX18_ARB 0x88D2 -#define GL_MATRIX19_ARB 0x88D3 -#define GL_MATRIX20_ARB 0x88D4 -#define GL_MATRIX21_ARB 0x88D5 -#define GL_MATRIX22_ARB 0x88D6 -#define GL_MATRIX23_ARB 0x88D7 -#define GL_MATRIX24_ARB 0x88D8 -#define GL_MATRIX25_ARB 0x88D9 -#define GL_MATRIX26_ARB 0x88DA -#define GL_MATRIX27_ARB 0x88DB -#define GL_MATRIX28_ARB 0x88DC -#define GL_MATRIX29_ARB 0x88DD -#define GL_MATRIX30_ARB 0x88DE -#define GL_MATRIX31_ARB 0x88DF -#endif - -#ifndef GL_ARB_fragment_program -#define GL_FRAGMENT_PROGRAM_ARB 0x8804 -#define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805 -#define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806 -#define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807 -#define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808 -#define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809 -#define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A -#define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B -#define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C -#define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D -#define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E -#define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F -#define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810 -#define GL_MAX_TEXTURE_COORDS_ARB 0x8871 -#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872 -#endif - -#ifndef GL_ARB_vertex_buffer_object -#define GL_BUFFER_SIZE_ARB 0x8764 -#define GL_BUFFER_USAGE_ARB 0x8765 -#define GL_ARRAY_BUFFER_ARB 0x8892 -#define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893 -#define GL_ARRAY_BUFFER_BINDING_ARB 0x8894 -#define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895 -#define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896 -#define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897 -#define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898 -#define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899 -#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A -#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B -#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C -#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D -#define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E -#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F -#define GL_READ_ONLY_ARB 0x88B8 -#define GL_WRITE_ONLY_ARB 0x88B9 -#define GL_READ_WRITE_ARB 0x88BA -#define GL_BUFFER_ACCESS_ARB 0x88BB -#define GL_BUFFER_MAPPED_ARB 0x88BC -#define GL_BUFFER_MAP_POINTER_ARB 0x88BD -#define GL_STREAM_DRAW_ARB 0x88E0 -#define GL_STREAM_READ_ARB 0x88E1 -#define GL_STREAM_COPY_ARB 0x88E2 -#define GL_STATIC_DRAW_ARB 0x88E4 -#define GL_STATIC_READ_ARB 0x88E5 -#define GL_STATIC_COPY_ARB 0x88E6 -#define GL_DYNAMIC_DRAW_ARB 0x88E8 -#define GL_DYNAMIC_READ_ARB 0x88E9 -#define GL_DYNAMIC_COPY_ARB 0x88EA -#endif - -#ifndef GL_ARB_occlusion_query -#define GL_QUERY_COUNTER_BITS_ARB 0x8864 -#define GL_CURRENT_QUERY_ARB 0x8865 -#define GL_QUERY_RESULT_ARB 0x8866 -#define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867 -#define GL_SAMPLES_PASSED_ARB 0x8914 -#endif - -#ifndef GL_ARB_shader_objects -#define GL_PROGRAM_OBJECT_ARB 0x8B40 -#define GL_SHADER_OBJECT_ARB 0x8B48 -#define GL_OBJECT_TYPE_ARB 0x8B4E -#define GL_OBJECT_SUBTYPE_ARB 0x8B4F -#define GL_FLOAT_VEC2_ARB 0x8B50 -#define GL_FLOAT_VEC3_ARB 0x8B51 -#define GL_FLOAT_VEC4_ARB 0x8B52 -#define GL_INT_VEC2_ARB 0x8B53 -#define GL_INT_VEC3_ARB 0x8B54 -#define GL_INT_VEC4_ARB 0x8B55 -#define GL_BOOL_ARB 0x8B56 -#define GL_BOOL_VEC2_ARB 0x8B57 -#define GL_BOOL_VEC3_ARB 0x8B58 -#define GL_BOOL_VEC4_ARB 0x8B59 -#define GL_FLOAT_MAT2_ARB 0x8B5A -#define GL_FLOAT_MAT3_ARB 0x8B5B -#define GL_FLOAT_MAT4_ARB 0x8B5C -#define GL_SAMPLER_1D_ARB 0x8B5D -#define GL_SAMPLER_2D_ARB 0x8B5E -#define GL_SAMPLER_3D_ARB 0x8B5F -#define GL_SAMPLER_CUBE_ARB 0x8B60 -#define GL_SAMPLER_1D_SHADOW_ARB 0x8B61 -#define GL_SAMPLER_2D_SHADOW_ARB 0x8B62 -#define GL_SAMPLER_2D_RECT_ARB 0x8B63 -#define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64 -#define GL_OBJECT_DELETE_STATUS_ARB 0x8B80 -#define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81 -#define GL_OBJECT_LINK_STATUS_ARB 0x8B82 -#define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83 -#define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84 -#define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85 -#define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86 -#define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87 -#define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88 -#endif - -#ifndef GL_ARB_vertex_shader -#define GL_VERTEX_SHADER_ARB 0x8B31 -#define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A -#define GL_MAX_VARYING_FLOATS_ARB 0x8B4B -#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C -#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D -#define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89 -#define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A -#endif - -#ifndef GL_ARB_fragment_shader -#define GL_FRAGMENT_SHADER_ARB 0x8B30 -#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49 -#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B -#endif - -#ifndef GL_ARB_shading_language_100 -#define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C -#endif - -#ifndef GL_ARB_texture_non_power_of_two -#endif - -#ifndef GL_ARB_point_sprite -#define GL_POINT_SPRITE_ARB 0x8861 -#define GL_COORD_REPLACE_ARB 0x8862 -#endif - -#ifndef GL_ARB_fragment_program_shadow -#endif - -#ifndef GL_ARB_draw_buffers -#define GL_MAX_DRAW_BUFFERS_ARB 0x8824 -#define GL_DRAW_BUFFER0_ARB 0x8825 -#define GL_DRAW_BUFFER1_ARB 0x8826 -#define GL_DRAW_BUFFER2_ARB 0x8827 -#define GL_DRAW_BUFFER3_ARB 0x8828 -#define GL_DRAW_BUFFER4_ARB 0x8829 -#define GL_DRAW_BUFFER5_ARB 0x882A -#define GL_DRAW_BUFFER6_ARB 0x882B -#define GL_DRAW_BUFFER7_ARB 0x882C -#define GL_DRAW_BUFFER8_ARB 0x882D -#define GL_DRAW_BUFFER9_ARB 0x882E -#define GL_DRAW_BUFFER10_ARB 0x882F -#define GL_DRAW_BUFFER11_ARB 0x8830 -#define GL_DRAW_BUFFER12_ARB 0x8831 -#define GL_DRAW_BUFFER13_ARB 0x8832 -#define GL_DRAW_BUFFER14_ARB 0x8833 -#define GL_DRAW_BUFFER15_ARB 0x8834 -#endif - -#ifndef GL_ARB_texture_rectangle -#define GL_TEXTURE_RECTANGLE_ARB 0x84F5 -#define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6 -#define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7 -#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8 -#endif - -#ifndef GL_ARB_color_buffer_float -#define GL_RGBA_FLOAT_MODE_ARB 0x8820 -#define GL_CLAMP_VERTEX_COLOR_ARB 0x891A -#define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B -#define GL_CLAMP_READ_COLOR_ARB 0x891C -#define GL_FIXED_ONLY_ARB 0x891D -#endif - -#ifndef GL_ARB_half_float_pixel -#define GL_HALF_FLOAT_ARB 0x140B -#endif - -#ifndef GL_ARB_texture_float -#define GL_TEXTURE_RED_TYPE_ARB 0x8C10 -#define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11 -#define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12 -#define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13 -#define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14 -#define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15 -#define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16 -#define GL_UNSIGNED_NORMALIZED_ARB 0x8C17 -#define GL_RGBA32F_ARB 0x8814 -#define GL_RGB32F_ARB 0x8815 -#define GL_ALPHA32F_ARB 0x8816 -#define GL_INTENSITY32F_ARB 0x8817 -#define GL_LUMINANCE32F_ARB 0x8818 -#define GL_LUMINANCE_ALPHA32F_ARB 0x8819 -#define GL_RGBA16F_ARB 0x881A -#define GL_RGB16F_ARB 0x881B -#define GL_ALPHA16F_ARB 0x881C -#define GL_INTENSITY16F_ARB 0x881D -#define GL_LUMINANCE16F_ARB 0x881E -#define GL_LUMINANCE_ALPHA16F_ARB 0x881F -#endif - -#ifndef GL_ARB_pixel_buffer_object -#define GL_PIXEL_PACK_BUFFER_ARB 0x88EB -#define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC -#define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED -#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF -#endif - -#ifndef GL_ARB_depth_buffer_float -#define GL_DEPTH_COMPONENT32F 0x8CAC -#define GL_DEPTH32F_STENCIL8 0x8CAD -#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD -#endif - -#ifndef GL_ARB_draw_instanced -#endif - -#ifndef GL_ARB_framebuffer_object -#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 -#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 -#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 -#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 -#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 -#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 -#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 -#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 -#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 -#define GL_FRAMEBUFFER_DEFAULT 0x8218 -#define GL_FRAMEBUFFER_UNDEFINED 0x8219 -#define GL_DEPTH_STENCIL_ATTACHMENT 0x821A -#define GL_INDEX 0x8222 -#define GL_MAX_RENDERBUFFER_SIZE 0x84E8 -#define GL_DEPTH_STENCIL 0x84F9 -#define GL_UNSIGNED_INT_24_8 0x84FA -#define GL_DEPTH24_STENCIL8 0x88F0 -#define GL_TEXTURE_STENCIL_SIZE 0x88F1 -#define GL_FRAMEBUFFER_BINDING 0x8CA6 -#define GL_DRAW_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING -#define GL_RENDERBUFFER_BINDING 0x8CA7 -#define GL_READ_FRAMEBUFFER 0x8CA8 -#define GL_DRAW_FRAMEBUFFER 0x8CA9 -#define GL_READ_FRAMEBUFFER_BINDING 0x8CAA -#define GL_RENDERBUFFER_SAMPLES 0x8CAB -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 -#define GL_FRAMEBUFFER_COMPLETE 0x8CD5 -#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 -#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 -#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB -#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC -#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD -#define GL_MAX_COLOR_ATTACHMENTS 0x8CDF -#define GL_COLOR_ATTACHMENT0 0x8CE0 -#define GL_COLOR_ATTACHMENT1 0x8CE1 -#define GL_COLOR_ATTACHMENT2 0x8CE2 -#define GL_COLOR_ATTACHMENT3 0x8CE3 -#define GL_COLOR_ATTACHMENT4 0x8CE4 -#define GL_COLOR_ATTACHMENT5 0x8CE5 -#define GL_COLOR_ATTACHMENT6 0x8CE6 -#define GL_COLOR_ATTACHMENT7 0x8CE7 -#define GL_COLOR_ATTACHMENT8 0x8CE8 -#define GL_COLOR_ATTACHMENT9 0x8CE9 -#define GL_COLOR_ATTACHMENT10 0x8CEA -#define GL_COLOR_ATTACHMENT11 0x8CEB -#define GL_COLOR_ATTACHMENT12 0x8CEC -#define GL_COLOR_ATTACHMENT13 0x8CED -#define GL_COLOR_ATTACHMENT14 0x8CEE -#define GL_COLOR_ATTACHMENT15 0x8CEF -#define GL_DEPTH_ATTACHMENT 0x8D00 -#define GL_STENCIL_ATTACHMENT 0x8D20 -#define GL_FRAMEBUFFER 0x8D40 -#define GL_RENDERBUFFER 0x8D41 -#define GL_RENDERBUFFER_WIDTH 0x8D42 -#define GL_RENDERBUFFER_HEIGHT 0x8D43 -#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 -#define GL_STENCIL_INDEX1 0x8D46 -#define GL_STENCIL_INDEX4 0x8D47 -#define GL_STENCIL_INDEX8 0x8D48 -#define GL_STENCIL_INDEX16 0x8D49 -#define GL_RENDERBUFFER_RED_SIZE 0x8D50 -#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 -#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 -#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 -#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 -#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 -#define GL_MAX_SAMPLES 0x8D57 -#endif - -#ifndef GL_ARB_framebuffer_sRGB -#define GL_FRAMEBUFFER_SRGB 0x8DB9 -#endif - -#ifndef GL_ARB_geometry_shader4 -#define GL_LINES_ADJACENCY_ARB 0x000A -#define GL_LINE_STRIP_ADJACENCY_ARB 0x000B -#define GL_TRIANGLES_ADJACENCY_ARB 0x000C -#define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D -#define GL_PROGRAM_POINT_SIZE_ARB 0x8642 -#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29 -#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9 -#define GL_GEOMETRY_SHADER_ARB 0x8DD9 -#define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA -#define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB -#define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC -#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD -#define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE -#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF -#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0 -#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1 -/* reuse GL_MAX_VARYING_COMPONENTS */ -/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */ -#endif - -#ifndef GL_ARB_half_float_vertex -#define GL_HALF_FLOAT 0x140B -#endif - -#ifndef GL_ARB_instanced_arrays -#endif - -#ifndef GL_ARB_map_buffer_range -#define GL_MAP_READ_BIT 0x0001 -#define GL_MAP_WRITE_BIT 0x0002 -#define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 -#define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 -#define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 -#define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 -#endif - -#ifndef GL_ARB_texture_buffer_object -#define GL_TEXTURE_BUFFER_ARB 0x8C2A -#define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B -#define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C -#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D -#define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E -#endif - -#ifndef GL_ARB_texture_compression_rgtc -#define GL_COMPRESSED_RED_RGTC1 0x8DBB -#define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC -#define GL_COMPRESSED_RG_RGTC2 0x8DBD -#define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE -#endif - -#ifndef GL_ARB_texture_rg -#define GL_RG 0x8227 -#define GL_RG_INTEGER 0x8228 -#define GL_R8 0x8229 -#define GL_R16 0x822A -#define GL_RG8 0x822B -#define GL_RG16 0x822C -#define GL_R16F 0x822D -#define GL_R32F 0x822E -#define GL_RG16F 0x822F -#define GL_RG32F 0x8230 -#define GL_R8I 0x8231 -#define GL_R8UI 0x8232 -#define GL_R16I 0x8233 -#define GL_R16UI 0x8234 -#define GL_R32I 0x8235 -#define GL_R32UI 0x8236 -#define GL_RG8I 0x8237 -#define GL_RG8UI 0x8238 -#define GL_RG16I 0x8239 -#define GL_RG16UI 0x823A -#define GL_RG32I 0x823B -#define GL_RG32UI 0x823C -#endif - -#ifndef GL_ARB_vertex_array_object -#define GL_VERTEX_ARRAY_BINDING 0x85B5 -#endif - -#ifndef GL_EXT_abgr -#define GL_ABGR_EXT 0x8000 -#endif - -#ifndef GL_EXT_blend_color -#define GL_CONSTANT_COLOR_EXT 0x8001 -#define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002 -#define GL_CONSTANT_ALPHA_EXT 0x8003 -#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004 -#define GL_BLEND_COLOR_EXT 0x8005 -#endif - -#ifndef GL_EXT_polygon_offset -#define GL_POLYGON_OFFSET_EXT 0x8037 -#define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038 -#define GL_POLYGON_OFFSET_BIAS_EXT 0x8039 -#endif - -#ifndef GL_EXT_texture -#define GL_ALPHA4_EXT 0x803B -#define GL_ALPHA8_EXT 0x803C -#define GL_ALPHA12_EXT 0x803D -#define GL_ALPHA16_EXT 0x803E -#define GL_LUMINANCE4_EXT 0x803F -#define GL_LUMINANCE8_EXT 0x8040 -#define GL_LUMINANCE12_EXT 0x8041 -#define GL_LUMINANCE16_EXT 0x8042 -#define GL_LUMINANCE4_ALPHA4_EXT 0x8043 -#define GL_LUMINANCE6_ALPHA2_EXT 0x8044 -#define GL_LUMINANCE8_ALPHA8_EXT 0x8045 -#define GL_LUMINANCE12_ALPHA4_EXT 0x8046 -#define GL_LUMINANCE12_ALPHA12_EXT 0x8047 -#define GL_LUMINANCE16_ALPHA16_EXT 0x8048 -#define GL_INTENSITY_EXT 0x8049 -#define GL_INTENSITY4_EXT 0x804A -#define GL_INTENSITY8_EXT 0x804B -#define GL_INTENSITY12_EXT 0x804C -#define GL_INTENSITY16_EXT 0x804D -#define GL_RGB2_EXT 0x804E -#define GL_RGB4_EXT 0x804F -#define GL_RGB5_EXT 0x8050 -#define GL_RGB8_EXT 0x8051 -#define GL_RGB10_EXT 0x8052 -#define GL_RGB12_EXT 0x8053 -#define GL_RGB16_EXT 0x8054 -#define GL_RGBA2_EXT 0x8055 -#define GL_RGBA4_EXT 0x8056 -#define GL_RGB5_A1_EXT 0x8057 -#define GL_RGBA8_EXT 0x8058 -#define GL_RGB10_A2_EXT 0x8059 -#define GL_RGBA12_EXT 0x805A -#define GL_RGBA16_EXT 0x805B -#define GL_TEXTURE_RED_SIZE_EXT 0x805C -#define GL_TEXTURE_GREEN_SIZE_EXT 0x805D -#define GL_TEXTURE_BLUE_SIZE_EXT 0x805E -#define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F -#define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060 -#define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061 -#define GL_REPLACE_EXT 0x8062 -#define GL_PROXY_TEXTURE_1D_EXT 0x8063 -#define GL_PROXY_TEXTURE_2D_EXT 0x8064 -#define GL_TEXTURE_TOO_LARGE_EXT 0x8065 -#endif - -#ifndef GL_EXT_texture3D -#define GL_PACK_SKIP_IMAGES_EXT 0x806B -#define GL_PACK_IMAGE_HEIGHT_EXT 0x806C -#define GL_UNPACK_SKIP_IMAGES_EXT 0x806D -#define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E -#define GL_TEXTURE_3D_EXT 0x806F -#define GL_PROXY_TEXTURE_3D_EXT 0x8070 -#define GL_TEXTURE_DEPTH_EXT 0x8071 -#define GL_TEXTURE_WRAP_R_EXT 0x8072 -#define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073 -#endif - -#ifndef GL_SGIS_texture_filter4 -#define GL_FILTER4_SGIS 0x8146 -#define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147 -#endif - -#ifndef GL_EXT_subtexture -#endif - -#ifndef GL_EXT_copy_texture -#endif - -#ifndef GL_EXT_histogram -#define GL_HISTOGRAM_EXT 0x8024 -#define GL_PROXY_HISTOGRAM_EXT 0x8025 -#define GL_HISTOGRAM_WIDTH_EXT 0x8026 -#define GL_HISTOGRAM_FORMAT_EXT 0x8027 -#define GL_HISTOGRAM_RED_SIZE_EXT 0x8028 -#define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029 -#define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A -#define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B -#define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C -#define GL_HISTOGRAM_SINK_EXT 0x802D -#define GL_MINMAX_EXT 0x802E -#define GL_MINMAX_FORMAT_EXT 0x802F -#define GL_MINMAX_SINK_EXT 0x8030 -#define GL_TABLE_TOO_LARGE_EXT 0x8031 -#endif - -#ifndef GL_EXT_convolution -#define GL_CONVOLUTION_1D_EXT 0x8010 -#define GL_CONVOLUTION_2D_EXT 0x8011 -#define GL_SEPARABLE_2D_EXT 0x8012 -#define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013 -#define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014 -#define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015 -#define GL_REDUCE_EXT 0x8016 -#define GL_CONVOLUTION_FORMAT_EXT 0x8017 -#define GL_CONVOLUTION_WIDTH_EXT 0x8018 -#define GL_CONVOLUTION_HEIGHT_EXT 0x8019 -#define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A -#define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B -#define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C -#define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D -#define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E -#define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F -#define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020 -#define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021 -#define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022 -#define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023 -#endif - -#ifndef GL_SGI_color_matrix -#define GL_COLOR_MATRIX_SGI 0x80B1 -#define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2 -#define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3 -#define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4 -#define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5 -#define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6 -#define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7 -#define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8 -#define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9 -#define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA -#define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB -#endif - -#ifndef GL_SGI_color_table -#define GL_COLOR_TABLE_SGI 0x80D0 -#define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1 -#define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2 -#define GL_PROXY_COLOR_TABLE_SGI 0x80D3 -#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4 -#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5 -#define GL_COLOR_TABLE_SCALE_SGI 0x80D6 -#define GL_COLOR_TABLE_BIAS_SGI 0x80D7 -#define GL_COLOR_TABLE_FORMAT_SGI 0x80D8 -#define GL_COLOR_TABLE_WIDTH_SGI 0x80D9 -#define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA -#define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB -#define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC -#define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD -#define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE -#define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF -#endif - -#ifndef GL_SGIS_pixel_texture -#define GL_PIXEL_TEXTURE_SGIS 0x8353 -#define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354 -#define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355 -#define GL_PIXEL_GROUP_COLOR_SGIS 0x8356 -#endif - -#ifndef GL_SGIX_pixel_texture -#define GL_PIXEL_TEX_GEN_SGIX 0x8139 -#define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B -#endif - -#ifndef GL_SGIS_texture4D -#define GL_PACK_SKIP_VOLUMES_SGIS 0x8130 -#define GL_PACK_IMAGE_DEPTH_SGIS 0x8131 -#define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132 -#define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133 -#define GL_TEXTURE_4D_SGIS 0x8134 -#define GL_PROXY_TEXTURE_4D_SGIS 0x8135 -#define GL_TEXTURE_4DSIZE_SGIS 0x8136 -#define GL_TEXTURE_WRAP_Q_SGIS 0x8137 -#define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138 -#define GL_TEXTURE_4D_BINDING_SGIS 0x814F -#endif - -#ifndef GL_SGI_texture_color_table -#define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC -#define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD -#endif - -#ifndef GL_EXT_cmyka -#define GL_CMYK_EXT 0x800C -#define GL_CMYKA_EXT 0x800D -#define GL_PACK_CMYK_HINT_EXT 0x800E -#define GL_UNPACK_CMYK_HINT_EXT 0x800F -#endif - -#ifndef GL_EXT_texture_object -#define GL_TEXTURE_PRIORITY_EXT 0x8066 -#define GL_TEXTURE_RESIDENT_EXT 0x8067 -#define GL_TEXTURE_1D_BINDING_EXT 0x8068 -#define GL_TEXTURE_2D_BINDING_EXT 0x8069 -#define GL_TEXTURE_3D_BINDING_EXT 0x806A -#endif - -#ifndef GL_SGIS_detail_texture -#define GL_DETAIL_TEXTURE_2D_SGIS 0x8095 -#define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096 -#define GL_LINEAR_DETAIL_SGIS 0x8097 -#define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098 -#define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099 -#define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A -#define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B -#define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C -#endif - -#ifndef GL_SGIS_sharpen_texture -#define GL_LINEAR_SHARPEN_SGIS 0x80AD -#define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE -#define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF -#define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0 -#endif - -#ifndef GL_EXT_packed_pixels -#define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032 -#define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033 -#define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034 -#define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035 -#define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036 -#endif - -#ifndef GL_SGIS_texture_lod -#define GL_TEXTURE_MIN_LOD_SGIS 0x813A -#define GL_TEXTURE_MAX_LOD_SGIS 0x813B -#define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C -#define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D -#endif - -#ifndef GL_SGIS_multisample -#define GL_MULTISAMPLE_SGIS 0x809D -#define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F -#define GL_SAMPLE_MASK_SGIS 0x80A0 -#define GL_1PASS_SGIS 0x80A1 -#define GL_2PASS_0_SGIS 0x80A2 -#define GL_2PASS_1_SGIS 0x80A3 -#define GL_4PASS_0_SGIS 0x80A4 -#define GL_4PASS_1_SGIS 0x80A5 -#define GL_4PASS_2_SGIS 0x80A6 -#define GL_4PASS_3_SGIS 0x80A7 -#define GL_SAMPLE_BUFFERS_SGIS 0x80A8 -#define GL_SAMPLES_SGIS 0x80A9 -#define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA -#define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB -#define GL_SAMPLE_PATTERN_SGIS 0x80AC -#endif - -#ifndef GL_EXT_rescale_normal -#define GL_RESCALE_NORMAL_EXT 0x803A -#endif - -#ifndef GL_EXT_vertex_array -#define GL_VERTEX_ARRAY_EXT 0x8074 -#define GL_NORMAL_ARRAY_EXT 0x8075 -#define GL_COLOR_ARRAY_EXT 0x8076 -#define GL_INDEX_ARRAY_EXT 0x8077 -#define GL_TEXTURE_COORD_ARRAY_EXT 0x8078 -#define GL_EDGE_FLAG_ARRAY_EXT 0x8079 -#define GL_VERTEX_ARRAY_SIZE_EXT 0x807A -#define GL_VERTEX_ARRAY_TYPE_EXT 0x807B -#define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C -#define GL_VERTEX_ARRAY_COUNT_EXT 0x807D -#define GL_NORMAL_ARRAY_TYPE_EXT 0x807E -#define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F -#define GL_NORMAL_ARRAY_COUNT_EXT 0x8080 -#define GL_COLOR_ARRAY_SIZE_EXT 0x8081 -#define GL_COLOR_ARRAY_TYPE_EXT 0x8082 -#define GL_COLOR_ARRAY_STRIDE_EXT 0x8083 -#define GL_COLOR_ARRAY_COUNT_EXT 0x8084 -#define GL_INDEX_ARRAY_TYPE_EXT 0x8085 -#define GL_INDEX_ARRAY_STRIDE_EXT 0x8086 -#define GL_INDEX_ARRAY_COUNT_EXT 0x8087 -#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088 -#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089 -#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A -#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B -#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C -#define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D -#define GL_VERTEX_ARRAY_POINTER_EXT 0x808E -#define GL_NORMAL_ARRAY_POINTER_EXT 0x808F -#define GL_COLOR_ARRAY_POINTER_EXT 0x8090 -#define GL_INDEX_ARRAY_POINTER_EXT 0x8091 -#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092 -#define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093 -#endif - -#ifndef GL_EXT_misc_attribute -#endif - -#ifndef GL_SGIS_generate_mipmap -#define GL_GENERATE_MIPMAP_SGIS 0x8191 -#define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192 -#endif - -#ifndef GL_SGIX_clipmap -#define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170 -#define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171 -#define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172 -#define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173 -#define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174 -#define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175 -#define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176 -#define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177 -#define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178 -#define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D -#define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E -#define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F -#endif - -#ifndef GL_SGIX_shadow -#define GL_TEXTURE_COMPARE_SGIX 0x819A -#define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B -#define GL_TEXTURE_LEQUAL_R_SGIX 0x819C -#define GL_TEXTURE_GEQUAL_R_SGIX 0x819D -#endif - -#ifndef GL_SGIS_texture_edge_clamp -#define GL_CLAMP_TO_EDGE_SGIS 0x812F -#endif - -#ifndef GL_SGIS_texture_border_clamp -#define GL_CLAMP_TO_BORDER_SGIS 0x812D -#endif - -#ifndef GL_EXT_blend_minmax -#define GL_FUNC_ADD_EXT 0x8006 -#define GL_MIN_EXT 0x8007 -#define GL_MAX_EXT 0x8008 -#define GL_BLEND_EQUATION_EXT 0x8009 -#endif - -#ifndef GL_EXT_blend_subtract -#define GL_FUNC_SUBTRACT_EXT 0x800A -#define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B -#endif - -#ifndef GL_EXT_blend_logic_op -#endif - -#ifndef GL_SGIX_interlace -#define GL_INTERLACE_SGIX 0x8094 -#endif - -#ifndef GL_SGIX_pixel_tiles -#define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E -#define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F -#define GL_PIXEL_TILE_WIDTH_SGIX 0x8140 -#define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141 -#define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142 -#define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143 -#define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144 -#define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145 -#endif - -#ifndef GL_SGIS_texture_select -#define GL_DUAL_ALPHA4_SGIS 0x8110 -#define GL_DUAL_ALPHA8_SGIS 0x8111 -#define GL_DUAL_ALPHA12_SGIS 0x8112 -#define GL_DUAL_ALPHA16_SGIS 0x8113 -#define GL_DUAL_LUMINANCE4_SGIS 0x8114 -#define GL_DUAL_LUMINANCE8_SGIS 0x8115 -#define GL_DUAL_LUMINANCE12_SGIS 0x8116 -#define GL_DUAL_LUMINANCE16_SGIS 0x8117 -#define GL_DUAL_INTENSITY4_SGIS 0x8118 -#define GL_DUAL_INTENSITY8_SGIS 0x8119 -#define GL_DUAL_INTENSITY12_SGIS 0x811A -#define GL_DUAL_INTENSITY16_SGIS 0x811B -#define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C -#define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D -#define GL_QUAD_ALPHA4_SGIS 0x811E -#define GL_QUAD_ALPHA8_SGIS 0x811F -#define GL_QUAD_LUMINANCE4_SGIS 0x8120 -#define GL_QUAD_LUMINANCE8_SGIS 0x8121 -#define GL_QUAD_INTENSITY4_SGIS 0x8122 -#define GL_QUAD_INTENSITY8_SGIS 0x8123 -#define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124 -#define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125 -#endif - -#ifndef GL_SGIX_sprite -#define GL_SPRITE_SGIX 0x8148 -#define GL_SPRITE_MODE_SGIX 0x8149 -#define GL_SPRITE_AXIS_SGIX 0x814A -#define GL_SPRITE_TRANSLATION_SGIX 0x814B -#define GL_SPRITE_AXIAL_SGIX 0x814C -#define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D -#define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E -#endif - -#ifndef GL_SGIX_texture_multi_buffer -#define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E -#endif - -#ifndef GL_EXT_point_parameters -#define GL_POINT_SIZE_MIN_EXT 0x8126 -#define GL_POINT_SIZE_MAX_EXT 0x8127 -#define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128 -#define GL_DISTANCE_ATTENUATION_EXT 0x8129 -#endif - -#ifndef GL_SGIS_point_parameters -#define GL_POINT_SIZE_MIN_SGIS 0x8126 -#define GL_POINT_SIZE_MAX_SGIS 0x8127 -#define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128 -#define GL_DISTANCE_ATTENUATION_SGIS 0x8129 -#endif - -#ifndef GL_SGIX_instruments -#define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180 -#define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181 -#endif - -#ifndef GL_SGIX_texture_scale_bias -#define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179 -#define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A -#define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B -#define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C -#endif - -#ifndef GL_SGIX_framezoom -#define GL_FRAMEZOOM_SGIX 0x818B -#define GL_FRAMEZOOM_FACTOR_SGIX 0x818C -#define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D -#endif - -#ifndef GL_SGIX_tag_sample_buffer -#endif - -#ifndef GL_FfdMaskSGIX -#define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001 -#define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002 -#endif - -#ifndef GL_SGIX_polynomial_ffd -#define GL_GEOMETRY_DEFORMATION_SGIX 0x8194 -#define GL_TEXTURE_DEFORMATION_SGIX 0x8195 -#define GL_DEFORMATIONS_MASK_SGIX 0x8196 -#define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197 -#endif - -#ifndef GL_SGIX_reference_plane -#define GL_REFERENCE_PLANE_SGIX 0x817D -#define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E -#endif - -#ifndef GL_SGIX_flush_raster -#endif - -#ifndef GL_SGIX_depth_texture -#define GL_DEPTH_COMPONENT16_SGIX 0x81A5 -#define GL_DEPTH_COMPONENT24_SGIX 0x81A6 -#define GL_DEPTH_COMPONENT32_SGIX 0x81A7 -#endif - -#ifndef GL_SGIS_fog_function -#define GL_FOG_FUNC_SGIS 0x812A -#define GL_FOG_FUNC_POINTS_SGIS 0x812B -#define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C -#endif - -#ifndef GL_SGIX_fog_offset -#define GL_FOG_OFFSET_SGIX 0x8198 -#define GL_FOG_OFFSET_VALUE_SGIX 0x8199 -#endif - -#ifndef GL_HP_image_transform -#define GL_IMAGE_SCALE_X_HP 0x8155 -#define GL_IMAGE_SCALE_Y_HP 0x8156 -#define GL_IMAGE_TRANSLATE_X_HP 0x8157 -#define GL_IMAGE_TRANSLATE_Y_HP 0x8158 -#define GL_IMAGE_ROTATE_ANGLE_HP 0x8159 -#define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A -#define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B -#define GL_IMAGE_MAG_FILTER_HP 0x815C -#define GL_IMAGE_MIN_FILTER_HP 0x815D -#define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E -#define GL_CUBIC_HP 0x815F -#define GL_AVERAGE_HP 0x8160 -#define GL_IMAGE_TRANSFORM_2D_HP 0x8161 -#define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162 -#define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163 -#endif - -#ifndef GL_HP_convolution_border_modes -#define GL_IGNORE_BORDER_HP 0x8150 -#define GL_CONSTANT_BORDER_HP 0x8151 -#define GL_REPLICATE_BORDER_HP 0x8153 -#define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154 -#endif - -#ifndef GL_INGR_palette_buffer -#endif - -#ifndef GL_SGIX_texture_add_env -#define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE -#endif - -#ifndef GL_EXT_color_subtable -#endif - -#ifndef GL_PGI_vertex_hints -#define GL_VERTEX_DATA_HINT_PGI 0x1A22A -#define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B -#define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C -#define GL_MAX_VERTEX_HINT_PGI 0x1A22D -#define GL_COLOR3_BIT_PGI 0x00010000 -#define GL_COLOR4_BIT_PGI 0x00020000 -#define GL_EDGEFLAG_BIT_PGI 0x00040000 -#define GL_INDEX_BIT_PGI 0x00080000 -#define GL_MAT_AMBIENT_BIT_PGI 0x00100000 -#define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000 -#define GL_MAT_DIFFUSE_BIT_PGI 0x00400000 -#define GL_MAT_EMISSION_BIT_PGI 0x00800000 -#define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000 -#define GL_MAT_SHININESS_BIT_PGI 0x02000000 -#define GL_MAT_SPECULAR_BIT_PGI 0x04000000 -#define GL_NORMAL_BIT_PGI 0x08000000 -#define GL_TEXCOORD1_BIT_PGI 0x10000000 -#define GL_TEXCOORD2_BIT_PGI 0x20000000 -#define GL_TEXCOORD3_BIT_PGI 0x40000000 -#define GL_TEXCOORD4_BIT_PGI 0x80000000 -#define GL_VERTEX23_BIT_PGI 0x00000004 -#define GL_VERTEX4_BIT_PGI 0x00000008 -#endif - -#ifndef GL_PGI_misc_hints -#define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8 -#define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD -#define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE -#define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202 -#define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203 -#define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204 -#define GL_ALWAYS_FAST_HINT_PGI 0x1A20C -#define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D -#define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E -#define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F -#define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210 -#define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211 -#define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216 -#define GL_STRICT_LIGHTING_HINT_PGI 0x1A217 -#define GL_STRICT_SCISSOR_HINT_PGI 0x1A218 -#define GL_FULL_STIPPLE_HINT_PGI 0x1A219 -#define GL_CLIP_NEAR_HINT_PGI 0x1A220 -#define GL_CLIP_FAR_HINT_PGI 0x1A221 -#define GL_WIDE_LINE_HINT_PGI 0x1A222 -#define GL_BACK_NORMALS_HINT_PGI 0x1A223 -#endif - -#ifndef GL_EXT_paletted_texture -#define GL_COLOR_INDEX1_EXT 0x80E2 -#define GL_COLOR_INDEX2_EXT 0x80E3 -#define GL_COLOR_INDEX4_EXT 0x80E4 -#define GL_COLOR_INDEX8_EXT 0x80E5 -#define GL_COLOR_INDEX12_EXT 0x80E6 -#define GL_COLOR_INDEX16_EXT 0x80E7 -#define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED -#endif - -#ifndef GL_EXT_clip_volume_hint -#define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0 -#endif - -#ifndef GL_SGIX_list_priority -#define GL_LIST_PRIORITY_SGIX 0x8182 -#endif - -#ifndef GL_SGIX_ir_instrument1 -#define GL_IR_INSTRUMENT1_SGIX 0x817F -#endif - -#ifndef GL_SGIX_calligraphic_fragment -#define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183 -#endif - -#ifndef GL_SGIX_texture_lod_bias -#define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E -#define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F -#define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190 -#endif - -#ifndef GL_SGIX_shadow_ambient -#define GL_SHADOW_AMBIENT_SGIX 0x80BF -#endif - -#ifndef GL_EXT_index_texture -#endif - -#ifndef GL_EXT_index_material -#define GL_INDEX_MATERIAL_EXT 0x81B8 -#define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9 -#define GL_INDEX_MATERIAL_FACE_EXT 0x81BA -#endif - -#ifndef GL_EXT_index_func -#define GL_INDEX_TEST_EXT 0x81B5 -#define GL_INDEX_TEST_FUNC_EXT 0x81B6 -#define GL_INDEX_TEST_REF_EXT 0x81B7 -#endif - -#ifndef GL_EXT_index_array_formats -#define GL_IUI_V2F_EXT 0x81AD -#define GL_IUI_V3F_EXT 0x81AE -#define GL_IUI_N3F_V2F_EXT 0x81AF -#define GL_IUI_N3F_V3F_EXT 0x81B0 -#define GL_T2F_IUI_V2F_EXT 0x81B1 -#define GL_T2F_IUI_V3F_EXT 0x81B2 -#define GL_T2F_IUI_N3F_V2F_EXT 0x81B3 -#define GL_T2F_IUI_N3F_V3F_EXT 0x81B4 -#endif - -#ifndef GL_EXT_compiled_vertex_array -#define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8 -#define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9 -#endif - -#ifndef GL_EXT_cull_vertex -#define GL_CULL_VERTEX_EXT 0x81AA -#define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB -#define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC -#endif - -#ifndef GL_SGIX_ycrcb -#define GL_YCRCB_422_SGIX 0x81BB -#define GL_YCRCB_444_SGIX 0x81BC -#endif - -#ifndef GL_SGIX_fragment_lighting -#define GL_FRAGMENT_LIGHTING_SGIX 0x8400 -#define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401 -#define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402 -#define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403 -#define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404 -#define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405 -#define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406 -#define GL_LIGHT_ENV_MODE_SGIX 0x8407 -#define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408 -#define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409 -#define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A -#define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B -#define GL_FRAGMENT_LIGHT0_SGIX 0x840C -#define GL_FRAGMENT_LIGHT1_SGIX 0x840D -#define GL_FRAGMENT_LIGHT2_SGIX 0x840E -#define GL_FRAGMENT_LIGHT3_SGIX 0x840F -#define GL_FRAGMENT_LIGHT4_SGIX 0x8410 -#define GL_FRAGMENT_LIGHT5_SGIX 0x8411 -#define GL_FRAGMENT_LIGHT6_SGIX 0x8412 -#define GL_FRAGMENT_LIGHT7_SGIX 0x8413 -#endif - -#ifndef GL_IBM_rasterpos_clip -#define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262 -#endif - -#ifndef GL_HP_texture_lighting -#define GL_TEXTURE_LIGHTING_MODE_HP 0x8167 -#define GL_TEXTURE_POST_SPECULAR_HP 0x8168 -#define GL_TEXTURE_PRE_SPECULAR_HP 0x8169 -#endif - -#ifndef GL_EXT_draw_range_elements -#define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8 -#define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9 -#endif - -#ifndef GL_WIN_phong_shading -#define GL_PHONG_WIN 0x80EA -#define GL_PHONG_HINT_WIN 0x80EB -#endif - -#ifndef GL_WIN_specular_fog -#define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC -#endif - -#ifndef GL_EXT_light_texture -#define GL_FRAGMENT_MATERIAL_EXT 0x8349 -#define GL_FRAGMENT_NORMAL_EXT 0x834A -#define GL_FRAGMENT_COLOR_EXT 0x834C -#define GL_ATTENUATION_EXT 0x834D -#define GL_SHADOW_ATTENUATION_EXT 0x834E -#define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F -#define GL_TEXTURE_LIGHT_EXT 0x8350 -#define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351 -#define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352 -/* reuse GL_FRAGMENT_DEPTH_EXT */ -#endif - -#ifndef GL_SGIX_blend_alpha_minmax -#define GL_ALPHA_MIN_SGIX 0x8320 -#define GL_ALPHA_MAX_SGIX 0x8321 -#endif - -#ifndef GL_SGIX_impact_pixel_texture -#define GL_PIXEL_TEX_GEN_Q_CEILING_SGIX 0x8184 -#define GL_PIXEL_TEX_GEN_Q_ROUND_SGIX 0x8185 -#define GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX 0x8186 -#define GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX 0x8187 -#define GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX 0x8188 -#define GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX 0x8189 -#define GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX 0x818A -#endif - -#ifndef GL_EXT_bgra -#define GL_BGR_EXT 0x80E0 -#define GL_BGRA_EXT 0x80E1 -#endif - -#ifndef GL_SGIX_async -#define GL_ASYNC_MARKER_SGIX 0x8329 -#endif - -#ifndef GL_SGIX_async_pixel -#define GL_ASYNC_TEX_IMAGE_SGIX 0x835C -#define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D -#define GL_ASYNC_READ_PIXELS_SGIX 0x835E -#define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F -#define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360 -#define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361 -#endif - -#ifndef GL_SGIX_async_histogram -#define GL_ASYNC_HISTOGRAM_SGIX 0x832C -#define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D -#endif - -#ifndef GL_INTEL_texture_scissor -#endif - -#ifndef GL_INTEL_parallel_arrays -#define GL_PARALLEL_ARRAYS_INTEL 0x83F4 -#define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5 -#define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6 -#define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7 -#define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8 -#endif - -#ifndef GL_HP_occlusion_test -#define GL_OCCLUSION_TEST_HP 0x8165 -#define GL_OCCLUSION_TEST_RESULT_HP 0x8166 -#endif - -#ifndef GL_EXT_pixel_transform -#define GL_PIXEL_TRANSFORM_2D_EXT 0x8330 -#define GL_PIXEL_MAG_FILTER_EXT 0x8331 -#define GL_PIXEL_MIN_FILTER_EXT 0x8332 -#define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333 -#define GL_CUBIC_EXT 0x8334 -#define GL_AVERAGE_EXT 0x8335 -#define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336 -#define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337 -#define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338 -#endif - -#ifndef GL_EXT_pixel_transform_color_table -#endif - -#ifndef GL_EXT_shared_texture_palette -#define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB -#endif - -#ifndef GL_EXT_separate_specular_color -#define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8 -#define GL_SINGLE_COLOR_EXT 0x81F9 -#define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA -#endif - -#ifndef GL_EXT_secondary_color -#define GL_COLOR_SUM_EXT 0x8458 -#define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459 -#define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A -#define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B -#define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C -#define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D -#define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E -#endif - -#ifndef GL_EXT_texture_perturb_normal -#define GL_PERTURB_EXT 0x85AE -#define GL_TEXTURE_NORMAL_EXT 0x85AF -#endif - -#ifndef GL_EXT_multi_draw_arrays -#endif - -#ifndef GL_EXT_fog_coord -#define GL_FOG_COORDINATE_SOURCE_EXT 0x8450 -#define GL_FOG_COORDINATE_EXT 0x8451 -#define GL_FRAGMENT_DEPTH_EXT 0x8452 -#define GL_CURRENT_FOG_COORDINATE_EXT 0x8453 -#define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454 -#define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455 -#define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456 -#define GL_FOG_COORDINATE_ARRAY_EXT 0x8457 -#endif - -#ifndef GL_REND_screen_coordinates -#define GL_SCREEN_COORDINATES_REND 0x8490 -#define GL_INVERTED_SCREEN_W_REND 0x8491 -#endif - -#ifndef GL_EXT_coordinate_frame -#define GL_TANGENT_ARRAY_EXT 0x8439 -#define GL_BINORMAL_ARRAY_EXT 0x843A -#define GL_CURRENT_TANGENT_EXT 0x843B -#define GL_CURRENT_BINORMAL_EXT 0x843C -#define GL_TANGENT_ARRAY_TYPE_EXT 0x843E -#define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F -#define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440 -#define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441 -#define GL_TANGENT_ARRAY_POINTER_EXT 0x8442 -#define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443 -#define GL_MAP1_TANGENT_EXT 0x8444 -#define GL_MAP2_TANGENT_EXT 0x8445 -#define GL_MAP1_BINORMAL_EXT 0x8446 -#define GL_MAP2_BINORMAL_EXT 0x8447 -#endif - -#ifndef GL_EXT_texture_env_combine -#define GL_COMBINE_EXT 0x8570 -#define GL_COMBINE_RGB_EXT 0x8571 -#define GL_COMBINE_ALPHA_EXT 0x8572 -#define GL_RGB_SCALE_EXT 0x8573 -#define GL_ADD_SIGNED_EXT 0x8574 -#define GL_INTERPOLATE_EXT 0x8575 -#define GL_CONSTANT_EXT 0x8576 -#define GL_PRIMARY_COLOR_EXT 0x8577 -#define GL_PREVIOUS_EXT 0x8578 -#define GL_SOURCE0_RGB_EXT 0x8580 -#define GL_SOURCE1_RGB_EXT 0x8581 -#define GL_SOURCE2_RGB_EXT 0x8582 -#define GL_SOURCE0_ALPHA_EXT 0x8588 -#define GL_SOURCE1_ALPHA_EXT 0x8589 -#define GL_SOURCE2_ALPHA_EXT 0x858A -#define GL_OPERAND0_RGB_EXT 0x8590 -#define GL_OPERAND1_RGB_EXT 0x8591 -#define GL_OPERAND2_RGB_EXT 0x8592 -#define GL_OPERAND0_ALPHA_EXT 0x8598 -#define GL_OPERAND1_ALPHA_EXT 0x8599 -#define GL_OPERAND2_ALPHA_EXT 0x859A -#endif - -#ifndef GL_APPLE_specular_vector -#define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0 -#endif - -#ifndef GL_APPLE_transform_hint -#define GL_TRANSFORM_HINT_APPLE 0x85B1 -#endif - -#ifndef GL_SGIX_fog_scale -#define GL_FOG_SCALE_SGIX 0x81FC -#define GL_FOG_SCALE_VALUE_SGIX 0x81FD -#endif - -#ifndef GL_SUNX_constant_data -#define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5 -#define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6 -#endif - -#ifndef GL_SUN_global_alpha -#define GL_GLOBAL_ALPHA_SUN 0x81D9 -#define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA -#endif - -#ifndef GL_SUN_triangle_list -#define GL_RESTART_SUN 0x0001 -#define GL_REPLACE_MIDDLE_SUN 0x0002 -#define GL_REPLACE_OLDEST_SUN 0x0003 -#define GL_TRIANGLE_LIST_SUN 0x81D7 -#define GL_REPLACEMENT_CODE_SUN 0x81D8 -#define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0 -#define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1 -#define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2 -#define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3 -#define GL_R1UI_V3F_SUN 0x85C4 -#define GL_R1UI_C4UB_V3F_SUN 0x85C5 -#define GL_R1UI_C3F_V3F_SUN 0x85C6 -#define GL_R1UI_N3F_V3F_SUN 0x85C7 -#define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8 -#define GL_R1UI_T2F_V3F_SUN 0x85C9 -#define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA -#define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB -#endif - -#ifndef GL_SUN_vertex -#endif - -#ifndef GL_EXT_blend_func_separate -#define GL_BLEND_DST_RGB_EXT 0x80C8 -#define GL_BLEND_SRC_RGB_EXT 0x80C9 -#define GL_BLEND_DST_ALPHA_EXT 0x80CA -#define GL_BLEND_SRC_ALPHA_EXT 0x80CB -#endif - -#ifndef GL_INGR_color_clamp -#define GL_RED_MIN_CLAMP_INGR 0x8560 -#define GL_GREEN_MIN_CLAMP_INGR 0x8561 -#define GL_BLUE_MIN_CLAMP_INGR 0x8562 -#define GL_ALPHA_MIN_CLAMP_INGR 0x8563 -#define GL_RED_MAX_CLAMP_INGR 0x8564 -#define GL_GREEN_MAX_CLAMP_INGR 0x8565 -#define GL_BLUE_MAX_CLAMP_INGR 0x8566 -#define GL_ALPHA_MAX_CLAMP_INGR 0x8567 -#endif - -#ifndef GL_INGR_interlace_read -#define GL_INTERLACE_READ_INGR 0x8568 -#endif - -#ifndef GL_EXT_stencil_wrap -#define GL_INCR_WRAP_EXT 0x8507 -#define GL_DECR_WRAP_EXT 0x8508 -#endif - -#ifndef GL_EXT_422_pixels -#define GL_422_EXT 0x80CC -#define GL_422_REV_EXT 0x80CD -#define GL_422_AVERAGE_EXT 0x80CE -#define GL_422_REV_AVERAGE_EXT 0x80CF -#endif - -#ifndef GL_NV_texgen_reflection -#define GL_NORMAL_MAP_NV 0x8511 -#define GL_REFLECTION_MAP_NV 0x8512 -#endif - -#ifndef GL_EXT_texture_cube_map -#define GL_NORMAL_MAP_EXT 0x8511 -#define GL_REFLECTION_MAP_EXT 0x8512 -#define GL_TEXTURE_CUBE_MAP_EXT 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A -#define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C -#endif - -#ifndef GL_SUN_convolution_border_modes -#define GL_WRAP_BORDER_SUN 0x81D4 -#endif - -#ifndef GL_EXT_texture_env_add -#endif - -#ifndef GL_EXT_texture_lod_bias -#define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD -#define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500 -#define GL_TEXTURE_LOD_BIAS_EXT 0x8501 -#endif - -#ifndef GL_EXT_texture_filter_anisotropic -#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE -#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF -#endif - -#ifndef GL_EXT_vertex_weighting -#define GL_MODELVIEW0_STACK_DEPTH_EXT GL_MODELVIEW_STACK_DEPTH -#define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502 -#define GL_MODELVIEW0_MATRIX_EXT GL_MODELVIEW_MATRIX -#define GL_MODELVIEW1_MATRIX_EXT 0x8506 -#define GL_VERTEX_WEIGHTING_EXT 0x8509 -#define GL_MODELVIEW0_EXT GL_MODELVIEW -#define GL_MODELVIEW1_EXT 0x850A -#define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B -#define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C -#define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D -#define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E -#define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F -#define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510 -#endif - -#ifndef GL_NV_light_max_exponent -#define GL_MAX_SHININESS_NV 0x8504 -#define GL_MAX_SPOT_EXPONENT_NV 0x8505 -#endif - -#ifndef GL_NV_vertex_array_range -#define GL_VERTEX_ARRAY_RANGE_NV 0x851D -#define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E -#define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F -#define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520 -#define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521 -#endif - -#ifndef GL_NV_register_combiners -#define GL_REGISTER_COMBINERS_NV 0x8522 -#define GL_VARIABLE_A_NV 0x8523 -#define GL_VARIABLE_B_NV 0x8524 -#define GL_VARIABLE_C_NV 0x8525 -#define GL_VARIABLE_D_NV 0x8526 -#define GL_VARIABLE_E_NV 0x8527 -#define GL_VARIABLE_F_NV 0x8528 -#define GL_VARIABLE_G_NV 0x8529 -#define GL_CONSTANT_COLOR0_NV 0x852A -#define GL_CONSTANT_COLOR1_NV 0x852B -#define GL_PRIMARY_COLOR_NV 0x852C -#define GL_SECONDARY_COLOR_NV 0x852D -#define GL_SPARE0_NV 0x852E -#define GL_SPARE1_NV 0x852F -#define GL_DISCARD_NV 0x8530 -#define GL_E_TIMES_F_NV 0x8531 -#define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532 -#define GL_UNSIGNED_IDENTITY_NV 0x8536 -#define GL_UNSIGNED_INVERT_NV 0x8537 -#define GL_EXPAND_NORMAL_NV 0x8538 -#define GL_EXPAND_NEGATE_NV 0x8539 -#define GL_HALF_BIAS_NORMAL_NV 0x853A -#define GL_HALF_BIAS_NEGATE_NV 0x853B -#define GL_SIGNED_IDENTITY_NV 0x853C -#define GL_SIGNED_NEGATE_NV 0x853D -#define GL_SCALE_BY_TWO_NV 0x853E -#define GL_SCALE_BY_FOUR_NV 0x853F -#define GL_SCALE_BY_ONE_HALF_NV 0x8540 -#define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541 -#define GL_COMBINER_INPUT_NV 0x8542 -#define GL_COMBINER_MAPPING_NV 0x8543 -#define GL_COMBINER_COMPONENT_USAGE_NV 0x8544 -#define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545 -#define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546 -#define GL_COMBINER_MUX_SUM_NV 0x8547 -#define GL_COMBINER_SCALE_NV 0x8548 -#define GL_COMBINER_BIAS_NV 0x8549 -#define GL_COMBINER_AB_OUTPUT_NV 0x854A -#define GL_COMBINER_CD_OUTPUT_NV 0x854B -#define GL_COMBINER_SUM_OUTPUT_NV 0x854C -#define GL_MAX_GENERAL_COMBINERS_NV 0x854D -#define GL_NUM_GENERAL_COMBINERS_NV 0x854E -#define GL_COLOR_SUM_CLAMP_NV 0x854F -#define GL_COMBINER0_NV 0x8550 -#define GL_COMBINER1_NV 0x8551 -#define GL_COMBINER2_NV 0x8552 -#define GL_COMBINER3_NV 0x8553 -#define GL_COMBINER4_NV 0x8554 -#define GL_COMBINER5_NV 0x8555 -#define GL_COMBINER6_NV 0x8556 -#define GL_COMBINER7_NV 0x8557 -/* reuse GL_TEXTURE0_ARB */ -/* reuse GL_TEXTURE1_ARB */ -/* reuse GL_ZERO */ -/* reuse GL_NONE */ -/* reuse GL_FOG */ -#endif - -#ifndef GL_NV_fog_distance -#define GL_FOG_DISTANCE_MODE_NV 0x855A -#define GL_EYE_RADIAL_NV 0x855B -#define GL_EYE_PLANE_ABSOLUTE_NV 0x855C -/* reuse GL_EYE_PLANE */ -#endif - -#ifndef GL_NV_texgen_emboss -#define GL_EMBOSS_LIGHT_NV 0x855D -#define GL_EMBOSS_CONSTANT_NV 0x855E -#define GL_EMBOSS_MAP_NV 0x855F -#endif - -#ifndef GL_NV_blend_square -#endif - -#ifndef GL_NV_texture_env_combine4 -#define GL_COMBINE4_NV 0x8503 -#define GL_SOURCE3_RGB_NV 0x8583 -#define GL_SOURCE3_ALPHA_NV 0x858B -#define GL_OPERAND3_RGB_NV 0x8593 -#define GL_OPERAND3_ALPHA_NV 0x859B -#endif - -#ifndef GL_MESA_resize_buffers -#endif - -#ifndef GL_MESA_window_pos -#endif - -#ifndef GL_EXT_texture_compression_s3tc -#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 -#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 -#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 -#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 -#endif - -#ifndef GL_IBM_cull_vertex -#define GL_CULL_VERTEX_IBM 103050 -#endif - -#ifndef GL_IBM_multimode_draw_arrays -#endif - -#ifndef GL_IBM_vertex_array_lists -#define GL_VERTEX_ARRAY_LIST_IBM 103070 -#define GL_NORMAL_ARRAY_LIST_IBM 103071 -#define GL_COLOR_ARRAY_LIST_IBM 103072 -#define GL_INDEX_ARRAY_LIST_IBM 103073 -#define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074 -#define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075 -#define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076 -#define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077 -#define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080 -#define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081 -#define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082 -#define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083 -#define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084 -#define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085 -#define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086 -#define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087 -#endif - -#ifndef GL_SGIX_subsample -#define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0 -#define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1 -#define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2 -#define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3 -#define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4 -#endif - -#ifndef GL_SGIX_ycrcb_subsample -#endif - -#ifndef GL_SGIX_ycrcba -#define GL_YCRCB_SGIX 0x8318 -#define GL_YCRCBA_SGIX 0x8319 -#endif - -#ifndef GL_SGI_depth_pass_instrument -#define GL_DEPTH_PASS_INSTRUMENT_SGIX 0x8310 -#define GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX 0x8311 -#define GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX 0x8312 -#endif - -#ifndef GL_3DFX_texture_compression_FXT1 -#define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0 -#define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1 -#endif - -#ifndef GL_3DFX_multisample -#define GL_MULTISAMPLE_3DFX 0x86B2 -#define GL_SAMPLE_BUFFERS_3DFX 0x86B3 -#define GL_SAMPLES_3DFX 0x86B4 -#define GL_MULTISAMPLE_BIT_3DFX 0x20000000 -#endif - -#ifndef GL_3DFX_tbuffer -#endif - -#ifndef GL_EXT_multisample -#define GL_MULTISAMPLE_EXT 0x809D -#define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F -#define GL_SAMPLE_MASK_EXT 0x80A0 -#define GL_1PASS_EXT 0x80A1 -#define GL_2PASS_0_EXT 0x80A2 -#define GL_2PASS_1_EXT 0x80A3 -#define GL_4PASS_0_EXT 0x80A4 -#define GL_4PASS_1_EXT 0x80A5 -#define GL_4PASS_2_EXT 0x80A6 -#define GL_4PASS_3_EXT 0x80A7 -#define GL_SAMPLE_BUFFERS_EXT 0x80A8 -#define GL_SAMPLES_EXT 0x80A9 -#define GL_SAMPLE_MASK_VALUE_EXT 0x80AA -#define GL_SAMPLE_MASK_INVERT_EXT 0x80AB -#define GL_SAMPLE_PATTERN_EXT 0x80AC -#define GL_MULTISAMPLE_BIT_EXT 0x20000000 -#endif - -#ifndef GL_SGIX_vertex_preclip -#define GL_VERTEX_PRECLIP_SGIX 0x83EE -#define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF -#endif - -#ifndef GL_SGIX_convolution_accuracy -#define GL_CONVOLUTION_HINT_SGIX 0x8316 -#endif - -#ifndef GL_SGIX_resample -#define GL_PACK_RESAMPLE_SGIX 0x842C -#define GL_UNPACK_RESAMPLE_SGIX 0x842D -#define GL_RESAMPLE_REPLICATE_SGIX 0x842E -#define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F -#define GL_RESAMPLE_DECIMATE_SGIX 0x8430 -#endif - -#ifndef GL_SGIS_point_line_texgen -#define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0 -#define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1 -#define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2 -#define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3 -#define GL_EYE_POINT_SGIS 0x81F4 -#define GL_OBJECT_POINT_SGIS 0x81F5 -#define GL_EYE_LINE_SGIS 0x81F6 -#define GL_OBJECT_LINE_SGIS 0x81F7 -#endif - -#ifndef GL_SGIS_texture_color_mask -#define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF -#endif - -#ifndef GL_EXT_texture_env_dot3 -#define GL_DOT3_RGB_EXT 0x8740 -#define GL_DOT3_RGBA_EXT 0x8741 -#endif - -#ifndef GL_ATI_texture_mirror_once -#define GL_MIRROR_CLAMP_ATI 0x8742 -#define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743 -#endif - -#ifndef GL_NV_fence -#define GL_ALL_COMPLETED_NV 0x84F2 -#define GL_FENCE_STATUS_NV 0x84F3 -#define GL_FENCE_CONDITION_NV 0x84F4 -#endif - -#ifndef GL_IBM_texture_mirrored_repeat -#define GL_MIRRORED_REPEAT_IBM 0x8370 -#endif - -#ifndef GL_NV_evaluators -#define GL_EVAL_2D_NV 0x86C0 -#define GL_EVAL_TRIANGULAR_2D_NV 0x86C1 -#define GL_MAP_TESSELLATION_NV 0x86C2 -#define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3 -#define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4 -#define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5 -#define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6 -#define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7 -#define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8 -#define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9 -#define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA -#define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB -#define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC -#define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD -#define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE -#define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF -#define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0 -#define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1 -#define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2 -#define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3 -#define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4 -#define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5 -#define GL_MAX_MAP_TESSELLATION_NV 0x86D6 -#define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7 -#endif - -#ifndef GL_NV_packed_depth_stencil -#define GL_DEPTH_STENCIL_NV 0x84F9 -#define GL_UNSIGNED_INT_24_8_NV 0x84FA -#endif - -#ifndef GL_NV_register_combiners2 -#define GL_PER_STAGE_CONSTANTS_NV 0x8535 -#endif - -#ifndef GL_NV_texture_compression_vtc -#endif - -#ifndef GL_NV_texture_rectangle -#define GL_TEXTURE_RECTANGLE_NV 0x84F5 -#define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6 -#define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7 -#define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8 -#endif - -#ifndef GL_NV_texture_shader -#define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C -#define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D -#define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E -#define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9 -#define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA -#define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB -#define GL_DSDT_MAG_INTENSITY_NV 0x86DC -#define GL_SHADER_CONSISTENT_NV 0x86DD -#define GL_TEXTURE_SHADER_NV 0x86DE -#define GL_SHADER_OPERATION_NV 0x86DF -#define GL_CULL_MODES_NV 0x86E0 -#define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1 -#define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2 -#define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3 -#define GL_OFFSET_TEXTURE_2D_MATRIX_NV GL_OFFSET_TEXTURE_MATRIX_NV -#define GL_OFFSET_TEXTURE_2D_SCALE_NV GL_OFFSET_TEXTURE_SCALE_NV -#define GL_OFFSET_TEXTURE_2D_BIAS_NV GL_OFFSET_TEXTURE_BIAS_NV -#define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4 -#define GL_CONST_EYE_NV 0x86E5 -#define GL_PASS_THROUGH_NV 0x86E6 -#define GL_CULL_FRAGMENT_NV 0x86E7 -#define GL_OFFSET_TEXTURE_2D_NV 0x86E8 -#define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9 -#define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA -#define GL_DOT_PRODUCT_NV 0x86EC -#define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED -#define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE -#define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0 -#define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1 -#define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2 -#define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3 -#define GL_HILO_NV 0x86F4 -#define GL_DSDT_NV 0x86F5 -#define GL_DSDT_MAG_NV 0x86F6 -#define GL_DSDT_MAG_VIB_NV 0x86F7 -#define GL_HILO16_NV 0x86F8 -#define GL_SIGNED_HILO_NV 0x86F9 -#define GL_SIGNED_HILO16_NV 0x86FA -#define GL_SIGNED_RGBA_NV 0x86FB -#define GL_SIGNED_RGBA8_NV 0x86FC -#define GL_SIGNED_RGB_NV 0x86FE -#define GL_SIGNED_RGB8_NV 0x86FF -#define GL_SIGNED_LUMINANCE_NV 0x8701 -#define GL_SIGNED_LUMINANCE8_NV 0x8702 -#define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703 -#define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704 -#define GL_SIGNED_ALPHA_NV 0x8705 -#define GL_SIGNED_ALPHA8_NV 0x8706 -#define GL_SIGNED_INTENSITY_NV 0x8707 -#define GL_SIGNED_INTENSITY8_NV 0x8708 -#define GL_DSDT8_NV 0x8709 -#define GL_DSDT8_MAG8_NV 0x870A -#define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B -#define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C -#define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D -#define GL_HI_SCALE_NV 0x870E -#define GL_LO_SCALE_NV 0x870F -#define GL_DS_SCALE_NV 0x8710 -#define GL_DT_SCALE_NV 0x8711 -#define GL_MAGNITUDE_SCALE_NV 0x8712 -#define GL_VIBRANCE_SCALE_NV 0x8713 -#define GL_HI_BIAS_NV 0x8714 -#define GL_LO_BIAS_NV 0x8715 -#define GL_DS_BIAS_NV 0x8716 -#define GL_DT_BIAS_NV 0x8717 -#define GL_MAGNITUDE_BIAS_NV 0x8718 -#define GL_VIBRANCE_BIAS_NV 0x8719 -#define GL_TEXTURE_BORDER_VALUES_NV 0x871A -#define GL_TEXTURE_HI_SIZE_NV 0x871B -#define GL_TEXTURE_LO_SIZE_NV 0x871C -#define GL_TEXTURE_DS_SIZE_NV 0x871D -#define GL_TEXTURE_DT_SIZE_NV 0x871E -#define GL_TEXTURE_MAG_SIZE_NV 0x871F -#endif - -#ifndef GL_NV_texture_shader2 -#define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF -#endif - -#ifndef GL_NV_vertex_array_range2 -#define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533 -#endif - -#ifndef GL_NV_vertex_program -#define GL_VERTEX_PROGRAM_NV 0x8620 -#define GL_VERTEX_STATE_PROGRAM_NV 0x8621 -#define GL_ATTRIB_ARRAY_SIZE_NV 0x8623 -#define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624 -#define GL_ATTRIB_ARRAY_TYPE_NV 0x8625 -#define GL_CURRENT_ATTRIB_NV 0x8626 -#define GL_PROGRAM_LENGTH_NV 0x8627 -#define GL_PROGRAM_STRING_NV 0x8628 -#define GL_MODELVIEW_PROJECTION_NV 0x8629 -#define GL_IDENTITY_NV 0x862A -#define GL_INVERSE_NV 0x862B -#define GL_TRANSPOSE_NV 0x862C -#define GL_INVERSE_TRANSPOSE_NV 0x862D -#define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E -#define GL_MAX_TRACK_MATRICES_NV 0x862F -#define GL_MATRIX0_NV 0x8630 -#define GL_MATRIX1_NV 0x8631 -#define GL_MATRIX2_NV 0x8632 -#define GL_MATRIX3_NV 0x8633 -#define GL_MATRIX4_NV 0x8634 -#define GL_MATRIX5_NV 0x8635 -#define GL_MATRIX6_NV 0x8636 -#define GL_MATRIX7_NV 0x8637 -#define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640 -#define GL_CURRENT_MATRIX_NV 0x8641 -#define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642 -#define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643 -#define GL_PROGRAM_PARAMETER_NV 0x8644 -#define GL_ATTRIB_ARRAY_POINTER_NV 0x8645 -#define GL_PROGRAM_TARGET_NV 0x8646 -#define GL_PROGRAM_RESIDENT_NV 0x8647 -#define GL_TRACK_MATRIX_NV 0x8648 -#define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649 -#define GL_VERTEX_PROGRAM_BINDING_NV 0x864A -#define GL_PROGRAM_ERROR_POSITION_NV 0x864B -#define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650 -#define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651 -#define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652 -#define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653 -#define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654 -#define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655 -#define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656 -#define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657 -#define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658 -#define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659 -#define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A -#define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B -#define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C -#define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D -#define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E -#define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F -#define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660 -#define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661 -#define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662 -#define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663 -#define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664 -#define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665 -#define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666 -#define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667 -#define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668 -#define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669 -#define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A -#define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B -#define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C -#define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D -#define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E -#define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F -#define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670 -#define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671 -#define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672 -#define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673 -#define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674 -#define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675 -#define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676 -#define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677 -#define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678 -#define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679 -#define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A -#define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B -#define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C -#define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D -#define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E -#define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F -#endif - -#ifndef GL_SGIX_texture_coordinate_clamp -#define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369 -#define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A -#define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B -#endif - -#ifndef GL_SGIX_scalebias_hint -#define GL_SCALEBIAS_HINT_SGIX 0x8322 -#endif - -#ifndef GL_OML_interlace -#define GL_INTERLACE_OML 0x8980 -#define GL_INTERLACE_READ_OML 0x8981 -#endif - -#ifndef GL_OML_subsample -#define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982 -#define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983 -#endif - -#ifndef GL_OML_resample -#define GL_PACK_RESAMPLE_OML 0x8984 -#define GL_UNPACK_RESAMPLE_OML 0x8985 -#define GL_RESAMPLE_REPLICATE_OML 0x8986 -#define GL_RESAMPLE_ZERO_FILL_OML 0x8987 -#define GL_RESAMPLE_AVERAGE_OML 0x8988 -#define GL_RESAMPLE_DECIMATE_OML 0x8989 -#endif - -#ifndef GL_NV_copy_depth_to_color -#define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E -#define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F -#endif - -#ifndef GL_ATI_envmap_bumpmap -#define GL_BUMP_ROT_MATRIX_ATI 0x8775 -#define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776 -#define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777 -#define GL_BUMP_TEX_UNITS_ATI 0x8778 -#define GL_DUDV_ATI 0x8779 -#define GL_DU8DV8_ATI 0x877A -#define GL_BUMP_ENVMAP_ATI 0x877B -#define GL_BUMP_TARGET_ATI 0x877C -#endif - -#ifndef GL_ATI_fragment_shader -#define GL_FRAGMENT_SHADER_ATI 0x8920 -#define GL_REG_0_ATI 0x8921 -#define GL_REG_1_ATI 0x8922 -#define GL_REG_2_ATI 0x8923 -#define GL_REG_3_ATI 0x8924 -#define GL_REG_4_ATI 0x8925 -#define GL_REG_5_ATI 0x8926 -#define GL_REG_6_ATI 0x8927 -#define GL_REG_7_ATI 0x8928 -#define GL_REG_8_ATI 0x8929 -#define GL_REG_9_ATI 0x892A -#define GL_REG_10_ATI 0x892B -#define GL_REG_11_ATI 0x892C -#define GL_REG_12_ATI 0x892D -#define GL_REG_13_ATI 0x892E -#define GL_REG_14_ATI 0x892F -#define GL_REG_15_ATI 0x8930 -#define GL_REG_16_ATI 0x8931 -#define GL_REG_17_ATI 0x8932 -#define GL_REG_18_ATI 0x8933 -#define GL_REG_19_ATI 0x8934 -#define GL_REG_20_ATI 0x8935 -#define GL_REG_21_ATI 0x8936 -#define GL_REG_22_ATI 0x8937 -#define GL_REG_23_ATI 0x8938 -#define GL_REG_24_ATI 0x8939 -#define GL_REG_25_ATI 0x893A -#define GL_REG_26_ATI 0x893B -#define GL_REG_27_ATI 0x893C -#define GL_REG_28_ATI 0x893D -#define GL_REG_29_ATI 0x893E -#define GL_REG_30_ATI 0x893F -#define GL_REG_31_ATI 0x8940 -#define GL_CON_0_ATI 0x8941 -#define GL_CON_1_ATI 0x8942 -#define GL_CON_2_ATI 0x8943 -#define GL_CON_3_ATI 0x8944 -#define GL_CON_4_ATI 0x8945 -#define GL_CON_5_ATI 0x8946 -#define GL_CON_6_ATI 0x8947 -#define GL_CON_7_ATI 0x8948 -#define GL_CON_8_ATI 0x8949 -#define GL_CON_9_ATI 0x894A -#define GL_CON_10_ATI 0x894B -#define GL_CON_11_ATI 0x894C -#define GL_CON_12_ATI 0x894D -#define GL_CON_13_ATI 0x894E -#define GL_CON_14_ATI 0x894F -#define GL_CON_15_ATI 0x8950 -#define GL_CON_16_ATI 0x8951 -#define GL_CON_17_ATI 0x8952 -#define GL_CON_18_ATI 0x8953 -#define GL_CON_19_ATI 0x8954 -#define GL_CON_20_ATI 0x8955 -#define GL_CON_21_ATI 0x8956 -#define GL_CON_22_ATI 0x8957 -#define GL_CON_23_ATI 0x8958 -#define GL_CON_24_ATI 0x8959 -#define GL_CON_25_ATI 0x895A -#define GL_CON_26_ATI 0x895B -#define GL_CON_27_ATI 0x895C -#define GL_CON_28_ATI 0x895D -#define GL_CON_29_ATI 0x895E -#define GL_CON_30_ATI 0x895F -#define GL_CON_31_ATI 0x8960 -#define GL_MOV_ATI 0x8961 -#define GL_ADD_ATI 0x8963 -#define GL_MUL_ATI 0x8964 -#define GL_SUB_ATI 0x8965 -#define GL_DOT3_ATI 0x8966 -#define GL_DOT4_ATI 0x8967 -#define GL_MAD_ATI 0x8968 -#define GL_LERP_ATI 0x8969 -#define GL_CND_ATI 0x896A -#define GL_CND0_ATI 0x896B -#define GL_DOT2_ADD_ATI 0x896C -#define GL_SECONDARY_INTERPOLATOR_ATI 0x896D -#define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E -#define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F -#define GL_NUM_PASSES_ATI 0x8970 -#define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971 -#define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972 -#define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973 -#define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974 -#define GL_COLOR_ALPHA_PAIRING_ATI 0x8975 -#define GL_SWIZZLE_STR_ATI 0x8976 -#define GL_SWIZZLE_STQ_ATI 0x8977 -#define GL_SWIZZLE_STR_DR_ATI 0x8978 -#define GL_SWIZZLE_STQ_DQ_ATI 0x8979 -#define GL_SWIZZLE_STRQ_ATI 0x897A -#define GL_SWIZZLE_STRQ_DQ_ATI 0x897B -#define GL_RED_BIT_ATI 0x00000001 -#define GL_GREEN_BIT_ATI 0x00000002 -#define GL_BLUE_BIT_ATI 0x00000004 -#define GL_2X_BIT_ATI 0x00000001 -#define GL_4X_BIT_ATI 0x00000002 -#define GL_8X_BIT_ATI 0x00000004 -#define GL_HALF_BIT_ATI 0x00000008 -#define GL_QUARTER_BIT_ATI 0x00000010 -#define GL_EIGHTH_BIT_ATI 0x00000020 -#define GL_SATURATE_BIT_ATI 0x00000040 -#define GL_COMP_BIT_ATI 0x00000002 -#define GL_NEGATE_BIT_ATI 0x00000004 -#define GL_BIAS_BIT_ATI 0x00000008 -#endif - -#ifndef GL_ATI_pn_triangles -#define GL_PN_TRIANGLES_ATI 0x87F0 -#define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1 -#define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2 -#define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3 -#define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4 -#define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5 -#define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6 -#define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7 -#define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8 -#endif - -#ifndef GL_ATI_vertex_array_object -#define GL_STATIC_ATI 0x8760 -#define GL_DYNAMIC_ATI 0x8761 -#define GL_PRESERVE_ATI 0x8762 -#define GL_DISCARD_ATI 0x8763 -#define GL_OBJECT_BUFFER_SIZE_ATI 0x8764 -#define GL_OBJECT_BUFFER_USAGE_ATI 0x8765 -#define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766 -#define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767 -#endif - -#ifndef GL_EXT_vertex_shader -#define GL_VERTEX_SHADER_EXT 0x8780 -#define GL_VERTEX_SHADER_BINDING_EXT 0x8781 -#define GL_OP_INDEX_EXT 0x8782 -#define GL_OP_NEGATE_EXT 0x8783 -#define GL_OP_DOT3_EXT 0x8784 -#define GL_OP_DOT4_EXT 0x8785 -#define GL_OP_MUL_EXT 0x8786 -#define GL_OP_ADD_EXT 0x8787 -#define GL_OP_MADD_EXT 0x8788 -#define GL_OP_FRAC_EXT 0x8789 -#define GL_OP_MAX_EXT 0x878A -#define GL_OP_MIN_EXT 0x878B -#define GL_OP_SET_GE_EXT 0x878C -#define GL_OP_SET_LT_EXT 0x878D -#define GL_OP_CLAMP_EXT 0x878E -#define GL_OP_FLOOR_EXT 0x878F -#define GL_OP_ROUND_EXT 0x8790 -#define GL_OP_EXP_BASE_2_EXT 0x8791 -#define GL_OP_LOG_BASE_2_EXT 0x8792 -#define GL_OP_POWER_EXT 0x8793 -#define GL_OP_RECIP_EXT 0x8794 -#define GL_OP_RECIP_SQRT_EXT 0x8795 -#define GL_OP_SUB_EXT 0x8796 -#define GL_OP_CROSS_PRODUCT_EXT 0x8797 -#define GL_OP_MULTIPLY_MATRIX_EXT 0x8798 -#define GL_OP_MOV_EXT 0x8799 -#define GL_OUTPUT_VERTEX_EXT 0x879A -#define GL_OUTPUT_COLOR0_EXT 0x879B -#define GL_OUTPUT_COLOR1_EXT 0x879C -#define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D -#define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E -#define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F -#define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0 -#define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1 -#define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2 -#define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3 -#define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4 -#define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5 -#define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6 -#define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7 -#define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8 -#define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9 -#define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA -#define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB -#define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC -#define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD -#define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE -#define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF -#define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0 -#define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1 -#define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2 -#define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3 -#define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4 -#define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5 -#define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6 -#define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7 -#define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8 -#define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9 -#define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA -#define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB -#define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC -#define GL_OUTPUT_FOG_EXT 0x87BD -#define GL_SCALAR_EXT 0x87BE -#define GL_VECTOR_EXT 0x87BF -#define GL_MATRIX_EXT 0x87C0 -#define GL_VARIANT_EXT 0x87C1 -#define GL_INVARIANT_EXT 0x87C2 -#define GL_LOCAL_CONSTANT_EXT 0x87C3 -#define GL_LOCAL_EXT 0x87C4 -#define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5 -#define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6 -#define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7 -#define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8 -#define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9 -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE -#define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF -#define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0 -#define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1 -#define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2 -#define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3 -#define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4 -#define GL_X_EXT 0x87D5 -#define GL_Y_EXT 0x87D6 -#define GL_Z_EXT 0x87D7 -#define GL_W_EXT 0x87D8 -#define GL_NEGATIVE_X_EXT 0x87D9 -#define GL_NEGATIVE_Y_EXT 0x87DA -#define GL_NEGATIVE_Z_EXT 0x87DB -#define GL_NEGATIVE_W_EXT 0x87DC -#define GL_ZERO_EXT 0x87DD -#define GL_ONE_EXT 0x87DE -#define GL_NEGATIVE_ONE_EXT 0x87DF -#define GL_NORMALIZED_RANGE_EXT 0x87E0 -#define GL_FULL_RANGE_EXT 0x87E1 -#define GL_CURRENT_VERTEX_EXT 0x87E2 -#define GL_MVP_MATRIX_EXT 0x87E3 -#define GL_VARIANT_VALUE_EXT 0x87E4 -#define GL_VARIANT_DATATYPE_EXT 0x87E5 -#define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6 -#define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7 -#define GL_VARIANT_ARRAY_EXT 0x87E8 -#define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9 -#define GL_INVARIANT_VALUE_EXT 0x87EA -#define GL_INVARIANT_DATATYPE_EXT 0x87EB -#define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC -#define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED -#endif - -#ifndef GL_ATI_vertex_streams -#define GL_MAX_VERTEX_STREAMS_ATI 0x876B -#define GL_VERTEX_STREAM0_ATI 0x876C -#define GL_VERTEX_STREAM1_ATI 0x876D -#define GL_VERTEX_STREAM2_ATI 0x876E -#define GL_VERTEX_STREAM3_ATI 0x876F -#define GL_VERTEX_STREAM4_ATI 0x8770 -#define GL_VERTEX_STREAM5_ATI 0x8771 -#define GL_VERTEX_STREAM6_ATI 0x8772 -#define GL_VERTEX_STREAM7_ATI 0x8773 -#define GL_VERTEX_SOURCE_ATI 0x8774 -#endif - -#ifndef GL_ATI_element_array -#define GL_ELEMENT_ARRAY_ATI 0x8768 -#define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769 -#define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A -#endif - -#ifndef GL_SUN_mesh_array -#define GL_QUAD_MESH_SUN 0x8614 -#define GL_TRIANGLE_MESH_SUN 0x8615 -#endif - -#ifndef GL_SUN_slice_accum -#define GL_SLICE_ACCUM_SUN 0x85CC -#endif - -#ifndef GL_NV_multisample_filter_hint -#define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534 -#endif - -#ifndef GL_NV_depth_clamp -#define GL_DEPTH_CLAMP_NV 0x864F -#endif - -#ifndef GL_NV_occlusion_query -#define GL_PIXEL_COUNTER_BITS_NV 0x8864 -#define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865 -#define GL_PIXEL_COUNT_NV 0x8866 -#define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867 -#endif - -#ifndef GL_NV_point_sprite -#define GL_POINT_SPRITE_NV 0x8861 -#define GL_COORD_REPLACE_NV 0x8862 -#define GL_POINT_SPRITE_R_MODE_NV 0x8863 -#endif - -#ifndef GL_NV_texture_shader3 -#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850 -#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851 -#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852 -#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853 -#define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854 -#define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855 -#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856 -#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857 -#define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858 -#define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859 -#define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A -#define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B -#define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C -#define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D -#define GL_HILO8_NV 0x885E -#define GL_SIGNED_HILO8_NV 0x885F -#define GL_FORCE_BLUE_TO_ONE_NV 0x8860 -#endif - -#ifndef GL_NV_vertex_program1_1 -#endif - -#ifndef GL_EXT_shadow_funcs -#endif - -#ifndef GL_EXT_stencil_two_side -#define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910 -#define GL_ACTIVE_STENCIL_FACE_EXT 0x8911 -#endif - -#ifndef GL_ATI_text_fragment_shader -#define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200 -#endif - -#ifndef GL_APPLE_client_storage -#define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2 -#endif - -#ifndef GL_APPLE_element_array -#define GL_ELEMENT_ARRAY_APPLE 0x8768 -#define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8769 -#define GL_ELEMENT_ARRAY_POINTER_APPLE 0x876A -#endif - -#ifndef GL_APPLE_fence -#define GL_DRAW_PIXELS_APPLE 0x8A0A -#define GL_FENCE_APPLE 0x8A0B -#endif - -#ifndef GL_APPLE_vertex_array_object -#define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5 -#endif - -#ifndef GL_APPLE_vertex_array_range -#define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D -#define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E -#define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F -#define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521 -#define GL_STORAGE_CACHED_APPLE 0x85BE -#define GL_STORAGE_SHARED_APPLE 0x85BF -#endif - -#ifndef GL_APPLE_ycbcr_422 -#define GL_YCBCR_422_APPLE 0x85B9 -#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA -#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB -#endif - -#ifndef GL_S3_s3tc -#define GL_RGB_S3TC 0x83A0 -#define GL_RGB4_S3TC 0x83A1 -#define GL_RGBA_S3TC 0x83A2 -#define GL_RGBA4_S3TC 0x83A3 -#endif - -#ifndef GL_ATI_draw_buffers -#define GL_MAX_DRAW_BUFFERS_ATI 0x8824 -#define GL_DRAW_BUFFER0_ATI 0x8825 -#define GL_DRAW_BUFFER1_ATI 0x8826 -#define GL_DRAW_BUFFER2_ATI 0x8827 -#define GL_DRAW_BUFFER3_ATI 0x8828 -#define GL_DRAW_BUFFER4_ATI 0x8829 -#define GL_DRAW_BUFFER5_ATI 0x882A -#define GL_DRAW_BUFFER6_ATI 0x882B -#define GL_DRAW_BUFFER7_ATI 0x882C -#define GL_DRAW_BUFFER8_ATI 0x882D -#define GL_DRAW_BUFFER9_ATI 0x882E -#define GL_DRAW_BUFFER10_ATI 0x882F -#define GL_DRAW_BUFFER11_ATI 0x8830 -#define GL_DRAW_BUFFER12_ATI 0x8831 -#define GL_DRAW_BUFFER13_ATI 0x8832 -#define GL_DRAW_BUFFER14_ATI 0x8833 -#define GL_DRAW_BUFFER15_ATI 0x8834 -#endif - -#ifndef GL_ATI_pixel_format_float -#define GL_TYPE_RGBA_FLOAT_ATI 0x8820 -#define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835 -#endif - -#ifndef GL_ATI_texture_env_combine3 -#define GL_MODULATE_ADD_ATI 0x8744 -#define GL_MODULATE_SIGNED_ADD_ATI 0x8745 -#define GL_MODULATE_SUBTRACT_ATI 0x8746 -#endif - -#ifndef GL_ATI_texture_float -#define GL_RGBA_FLOAT32_ATI 0x8814 -#define GL_RGB_FLOAT32_ATI 0x8815 -#define GL_ALPHA_FLOAT32_ATI 0x8816 -#define GL_INTENSITY_FLOAT32_ATI 0x8817 -#define GL_LUMINANCE_FLOAT32_ATI 0x8818 -#define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819 -#define GL_RGBA_FLOAT16_ATI 0x881A -#define GL_RGB_FLOAT16_ATI 0x881B -#define GL_ALPHA_FLOAT16_ATI 0x881C -#define GL_INTENSITY_FLOAT16_ATI 0x881D -#define GL_LUMINANCE_FLOAT16_ATI 0x881E -#define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F -#endif - -#ifndef GL_NV_float_buffer -#define GL_FLOAT_R_NV 0x8880 -#define GL_FLOAT_RG_NV 0x8881 -#define GL_FLOAT_RGB_NV 0x8882 -#define GL_FLOAT_RGBA_NV 0x8883 -#define GL_FLOAT_R16_NV 0x8884 -#define GL_FLOAT_R32_NV 0x8885 -#define GL_FLOAT_RG16_NV 0x8886 -#define GL_FLOAT_RG32_NV 0x8887 -#define GL_FLOAT_RGB16_NV 0x8888 -#define GL_FLOAT_RGB32_NV 0x8889 -#define GL_FLOAT_RGBA16_NV 0x888A -#define GL_FLOAT_RGBA32_NV 0x888B -#define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C -#define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D -#define GL_FLOAT_RGBA_MODE_NV 0x888E -#endif - -#ifndef GL_NV_fragment_program -#define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868 -#define GL_FRAGMENT_PROGRAM_NV 0x8870 -#define GL_MAX_TEXTURE_COORDS_NV 0x8871 -#define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872 -#define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873 -#define GL_PROGRAM_ERROR_STRING_NV 0x8874 -#endif - -#ifndef GL_NV_half_float -#define GL_HALF_FLOAT_NV 0x140B -#endif - -#ifndef GL_NV_pixel_data_range -#define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878 -#define GL_READ_PIXEL_DATA_RANGE_NV 0x8879 -#define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A -#define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B -#define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C -#define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D -#endif - -#ifndef GL_NV_primitive_restart -#define GL_PRIMITIVE_RESTART_NV 0x8558 -#define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559 -#endif - -#ifndef GL_NV_texture_expand_normal -#define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F -#endif - -#ifndef GL_NV_vertex_program2 -#endif - -#ifndef GL_ATI_map_object_buffer -#endif - -#ifndef GL_ATI_separate_stencil -#define GL_STENCIL_BACK_FUNC_ATI 0x8800 -#define GL_STENCIL_BACK_FAIL_ATI 0x8801 -#define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802 -#define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803 -#endif - -#ifndef GL_ATI_vertex_attrib_array_object -#endif - -#ifndef GL_OES_read_format -#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A -#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B -#endif - -#ifndef GL_EXT_depth_bounds_test -#define GL_DEPTH_BOUNDS_TEST_EXT 0x8890 -#define GL_DEPTH_BOUNDS_EXT 0x8891 -#endif - -#ifndef GL_EXT_texture_mirror_clamp -#define GL_MIRROR_CLAMP_EXT 0x8742 -#define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743 -#define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912 -#endif - -#ifndef GL_EXT_blend_equation_separate -#define GL_BLEND_EQUATION_RGB_EXT GL_BLEND_EQUATION -#define GL_BLEND_EQUATION_ALPHA_EXT 0x883D -#endif - -#ifndef GL_MESA_pack_invert -#define GL_PACK_INVERT_MESA 0x8758 -#endif - -#ifndef GL_MESA_ycbcr_texture -#define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA -#define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB -#define GL_YCBCR_MESA 0x8757 -#endif - -#ifndef GL_EXT_pixel_buffer_object -#define GL_PIXEL_PACK_BUFFER_EXT 0x88EB -#define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC -#define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED -#define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF -#endif - -#ifndef GL_NV_fragment_program_option -#endif - -#ifndef GL_NV_fragment_program2 -#define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4 -#define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5 -#define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6 -#define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7 -#define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8 -#endif - -#ifndef GL_NV_vertex_program2_option -/* reuse GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV */ -/* reuse GL_MAX_PROGRAM_CALL_DEPTH_NV */ -#endif - -#ifndef GL_NV_vertex_program3 -/* reuse GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB */ -#endif - -#ifndef GL_EXT_framebuffer_object -#define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506 -#define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8 -#define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6 -#define GL_RENDERBUFFER_BINDING_EXT 0x8CA7 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4 -#define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5 -#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6 -#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7 -#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9 -#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA -#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB -#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC -#define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD -#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF -#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 -#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 -#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 -#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 -#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 -#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 -#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 -#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 -#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 -#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 -#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA -#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB -#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC -#define GL_COLOR_ATTACHMENT13_EXT 0x8CED -#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE -#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF -#define GL_DEPTH_ATTACHMENT_EXT 0x8D00 -#define GL_STENCIL_ATTACHMENT_EXT 0x8D20 -#define GL_FRAMEBUFFER_EXT 0x8D40 -#define GL_RENDERBUFFER_EXT 0x8D41 -#define GL_RENDERBUFFER_WIDTH_EXT 0x8D42 -#define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43 -#define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44 -#define GL_STENCIL_INDEX1_EXT 0x8D46 -#define GL_STENCIL_INDEX4_EXT 0x8D47 -#define GL_STENCIL_INDEX8_EXT 0x8D48 -#define GL_STENCIL_INDEX16_EXT 0x8D49 -#define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50 -#define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51 -#define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52 -#define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53 -#define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54 -#define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55 -#endif - -#ifndef GL_GREMEDY_string_marker -#endif - -#ifndef GL_EXT_packed_depth_stencil -#define GL_DEPTH_STENCIL_EXT 0x84F9 -#define GL_UNSIGNED_INT_24_8_EXT 0x84FA -#define GL_DEPTH24_STENCIL8_EXT 0x88F0 -#define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1 -#endif - -#ifndef GL_EXT_stencil_clear_tag -#define GL_STENCIL_TAG_BITS_EXT 0x88F2 -#define GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3 -#endif - -#ifndef GL_EXT_texture_sRGB -#define GL_SRGB_EXT 0x8C40 -#define GL_SRGB8_EXT 0x8C41 -#define GL_SRGB_ALPHA_EXT 0x8C42 -#define GL_SRGB8_ALPHA8_EXT 0x8C43 -#define GL_SLUMINANCE_ALPHA_EXT 0x8C44 -#define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45 -#define GL_SLUMINANCE_EXT 0x8C46 -#define GL_SLUMINANCE8_EXT 0x8C47 -#define GL_COMPRESSED_SRGB_EXT 0x8C48 -#define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49 -#define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A -#define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B -#define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C -#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D -#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E -#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F -#endif - -#ifndef GL_EXT_framebuffer_blit -#define GL_READ_FRAMEBUFFER_EXT 0x8CA8 -#define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9 -#define GL_DRAW_FRAMEBUFFER_BINDING_EXT GL_FRAMEBUFFER_BINDING_EXT -#define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA -#endif - -#ifndef GL_EXT_framebuffer_multisample -#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 -#define GL_MAX_SAMPLES_EXT 0x8D57 -#endif - -#ifndef GL_MESAX_texture_stack -#define GL_TEXTURE_1D_STACK_MESAX 0x8759 -#define GL_TEXTURE_2D_STACK_MESAX 0x875A -#define GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B -#define GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C -#define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D -#define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E -#endif - -#ifndef GL_EXT_timer_query -#define GL_TIME_ELAPSED_EXT 0x88BF -#endif - -#ifndef GL_EXT_gpu_program_parameters -#endif - -#ifndef GL_APPLE_flush_buffer_range -#define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12 -#define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13 -#endif - -#ifndef GL_NV_gpu_program4 -#define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904 -#define GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905 -#define GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906 -#define GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907 -#define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908 -#define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909 -#define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5 -#define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6 -#endif - -#ifndef GL_NV_geometry_program4 -#define GL_LINES_ADJACENCY_EXT 0x000A -#define GL_LINE_STRIP_ADJACENCY_EXT 0x000B -#define GL_TRIANGLES_ADJACENCY_EXT 0x000C -#define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D -#define GL_GEOMETRY_PROGRAM_NV 0x8C26 -#define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27 -#define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28 -#define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA -#define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB -#define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC -#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29 -#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4 -#define GL_PROGRAM_POINT_SIZE_EXT 0x8642 -#endif - -#ifndef GL_EXT_geometry_shader4 -#define GL_GEOMETRY_SHADER_EXT 0x8DD9 -/* reuse GL_GEOMETRY_VERTICES_OUT_EXT */ -/* reuse GL_GEOMETRY_INPUT_TYPE_EXT */ -/* reuse GL_GEOMETRY_OUTPUT_TYPE_EXT */ -/* reuse GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT */ -#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD -#define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE -#define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B -#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF -#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0 -#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1 -/* reuse GL_LINES_ADJACENCY_EXT */ -/* reuse GL_LINE_STRIP_ADJACENCY_EXT */ -/* reuse GL_TRIANGLES_ADJACENCY_EXT */ -/* reuse GL_TRIANGLE_STRIP_ADJACENCY_EXT */ -/* reuse GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT */ -/* reuse GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT */ -/* reuse GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT */ -/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */ -/* reuse GL_PROGRAM_POINT_SIZE_EXT */ -#endif - -#ifndef GL_NV_vertex_program4 -#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD -#endif - -#ifndef GL_EXT_gpu_shader4 -#define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0 -#define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1 -#define GL_SAMPLER_BUFFER_EXT 0x8DC2 -#define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3 -#define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4 -#define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5 -#define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6 -#define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7 -#define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8 -#define GL_INT_SAMPLER_1D_EXT 0x8DC9 -#define GL_INT_SAMPLER_2D_EXT 0x8DCA -#define GL_INT_SAMPLER_3D_EXT 0x8DCB -#define GL_INT_SAMPLER_CUBE_EXT 0x8DCC -#define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD -#define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE -#define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF -#define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0 -#define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1 -#define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2 -#define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3 -#define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4 -#define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5 -#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6 -#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7 -#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8 -#endif - -#ifndef GL_EXT_draw_instanced -#endif - -#ifndef GL_EXT_packed_float -#define GL_R11F_G11F_B10F_EXT 0x8C3A -#define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B -#define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C -#endif - -#ifndef GL_EXT_texture_array -#define GL_TEXTURE_1D_ARRAY_EXT 0x8C18 -#define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19 -#define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A -#define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B -#define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C -#define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D -#define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF -#define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E -/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */ -#endif - -#ifndef GL_EXT_texture_buffer_object -#define GL_TEXTURE_BUFFER_EXT 0x8C2A -#define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B -#define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C -#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D -#define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E -#endif - -#ifndef GL_EXT_texture_compression_latc -#define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70 -#define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71 -#define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72 -#define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73 -#endif - -#ifndef GL_EXT_texture_compression_rgtc -#define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB -#define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC -#define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD -#define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE -#endif - -#ifndef GL_EXT_texture_shared_exponent -#define GL_RGB9_E5_EXT 0x8C3D -#define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E -#define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F -#endif - -#ifndef GL_NV_depth_buffer_float -#define GL_DEPTH_COMPONENT32F_NV 0x8DAB -#define GL_DEPTH32F_STENCIL8_NV 0x8DAC -#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD -#define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF -#endif - -#ifndef GL_NV_fragment_program4 -#endif - -#ifndef GL_NV_framebuffer_multisample_coverage -#define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB -#define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10 -#define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11 -#define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12 -#endif - -#ifndef GL_EXT_framebuffer_sRGB -#define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 -#define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA -#endif - -#ifndef GL_NV_geometry_shader4 -#endif - -#ifndef GL_NV_parameter_buffer_object -#define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0 -#define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1 -#define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2 -#define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3 -#define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4 -#endif - -#ifndef GL_EXT_draw_buffers2 -#endif - -#ifndef GL_NV_transform_feedback -#define GL_BACK_PRIMARY_COLOR_NV 0x8C77 -#define GL_BACK_SECONDARY_COLOR_NV 0x8C78 -#define GL_TEXTURE_COORD_NV 0x8C79 -#define GL_CLIP_DISTANCE_NV 0x8C7A -#define GL_VERTEX_ID_NV 0x8C7B -#define GL_PRIMITIVE_ID_NV 0x8C7C -#define GL_GENERIC_ATTRIB_NV 0x8C7D -#define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E -#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80 -#define GL_ACTIVE_VARYINGS_NV 0x8C81 -#define GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82 -#define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83 -#define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84 -#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85 -#define GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86 -#define GL_PRIMITIVES_GENERATED_NV 0x8C87 -#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88 -#define GL_RASTERIZER_DISCARD_NV 0x8C89 -#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_ATTRIBS_NV 0x8C8A -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B -#define GL_INTERLEAVED_ATTRIBS_NV 0x8C8C -#define GL_SEPARATE_ATTRIBS_NV 0x8C8D -#define GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E -#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F -#endif - -#ifndef GL_EXT_bindable_uniform -#define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2 -#define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3 -#define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4 -#define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED -#define GL_UNIFORM_BUFFER_EXT 0x8DEE -#define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF -#endif - -#ifndef GL_EXT_texture_integer -#define GL_RGBA32UI_EXT 0x8D70 -#define GL_RGB32UI_EXT 0x8D71 -#define GL_ALPHA32UI_EXT 0x8D72 -#define GL_INTENSITY32UI_EXT 0x8D73 -#define GL_LUMINANCE32UI_EXT 0x8D74 -#define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75 -#define GL_RGBA16UI_EXT 0x8D76 -#define GL_RGB16UI_EXT 0x8D77 -#define GL_ALPHA16UI_EXT 0x8D78 -#define GL_INTENSITY16UI_EXT 0x8D79 -#define GL_LUMINANCE16UI_EXT 0x8D7A -#define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B -#define GL_RGBA8UI_EXT 0x8D7C -#define GL_RGB8UI_EXT 0x8D7D -#define GL_ALPHA8UI_EXT 0x8D7E -#define GL_INTENSITY8UI_EXT 0x8D7F -#define GL_LUMINANCE8UI_EXT 0x8D80 -#define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81 -#define GL_RGBA32I_EXT 0x8D82 -#define GL_RGB32I_EXT 0x8D83 -#define GL_ALPHA32I_EXT 0x8D84 -#define GL_INTENSITY32I_EXT 0x8D85 -#define GL_LUMINANCE32I_EXT 0x8D86 -#define GL_LUMINANCE_ALPHA32I_EXT 0x8D87 -#define GL_RGBA16I_EXT 0x8D88 -#define GL_RGB16I_EXT 0x8D89 -#define GL_ALPHA16I_EXT 0x8D8A -#define GL_INTENSITY16I_EXT 0x8D8B -#define GL_LUMINANCE16I_EXT 0x8D8C -#define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D -#define GL_RGBA8I_EXT 0x8D8E -#define GL_RGB8I_EXT 0x8D8F -#define GL_ALPHA8I_EXT 0x8D90 -#define GL_INTENSITY8I_EXT 0x8D91 -#define GL_LUMINANCE8I_EXT 0x8D92 -#define GL_LUMINANCE_ALPHA8I_EXT 0x8D93 -#define GL_RED_INTEGER_EXT 0x8D94 -#define GL_GREEN_INTEGER_EXT 0x8D95 -#define GL_BLUE_INTEGER_EXT 0x8D96 -#define GL_ALPHA_INTEGER_EXT 0x8D97 -#define GL_RGB_INTEGER_EXT 0x8D98 -#define GL_RGBA_INTEGER_EXT 0x8D99 -#define GL_BGR_INTEGER_EXT 0x8D9A -#define GL_BGRA_INTEGER_EXT 0x8D9B -#define GL_LUMINANCE_INTEGER_EXT 0x8D9C -#define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D -#define GL_RGBA_INTEGER_MODE_EXT 0x8D9E -#endif - -#ifndef GL_GREMEDY_frame_terminator -#endif - -#ifndef GL_NV_conditional_render -#define GL_QUERY_WAIT_NV 0x8E13 -#define GL_QUERY_NO_WAIT_NV 0x8E14 -#define GL_QUERY_BY_REGION_WAIT_NV 0x8E15 -#define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16 -#endif - -#ifndef GL_NV_present_video -#define GL_FRAME_NV 0x8E26 -#define GL_FIELDS_NV 0x8E27 -#define GL_CURRENT_TIME_NV 0x8E28 -#define GL_NUM_FILL_STREAMS_NV 0x8E29 -#define GL_PRESENT_TIME_NV 0x8E2A -#define GL_PRESENT_DURATION_NV 0x8E2B -#endif - -#ifndef GL_EXT_transform_feedback -#define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E -#define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84 -#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85 -#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F -#define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C -#define GL_SEPARATE_ATTRIBS_EXT 0x8C8D -#define GL_PRIMITIVES_GENERATED_EXT 0x8C87 -#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88 -#define GL_RASTERIZER_DISCARD_EXT 0x8C89 -#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80 -#define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83 -#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F -#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76 -#endif - -#ifndef GL_EXT_direct_state_access -#define GL_PROGRAM_MATRIX_EXT 0x8E2D -#define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E -#define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F -#endif - -#ifndef GL_EXT_vertex_array_bgra -/* reuse GL_BGRA */ -#endif - - -/*************************************************************/ - -#include -#ifndef GL_VERSION_2_0 -/* GL type for program/shader text */ -typedef char GLchar; /* native character */ -#endif - -#ifndef GL_VERSION_1_5 -/* GL types for handling large vertex buffer objects */ -typedef ptrdiff_t GLintptr; -typedef ptrdiff_t GLsizeiptr; -#endif - -#ifndef GL_ARB_vertex_buffer_object -/* GL types for handling large vertex buffer objects */ -typedef ptrdiff_t GLintptrARB; -typedef ptrdiff_t GLsizeiptrARB; -#endif - -#ifndef GL_ARB_shader_objects -/* GL types for handling shader object handles and program/shader text */ -typedef char GLcharARB; /* native character */ -typedef unsigned int GLhandleARB; /* shader object handle */ -#endif - -/* GL types for "half" precision (s10e5) float data in host memory */ -#ifndef GL_ARB_half_float_pixel -typedef unsigned short GLhalfARB; -#endif - -#ifndef GL_NV_half_float -typedef unsigned short GLhalfNV; -#endif - -#ifndef GLEXT_64_TYPES_DEFINED -/* This code block is duplicated in glxext.h, so must be protected */ -#define GLEXT_64_TYPES_DEFINED -/* Define int32_t, int64_t, and uint64_t types for UST/MSC */ -/* (as used in the GL_EXT_timer_query extension). */ -#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L -#include -#elif defined(__sun__) || defined(__digital__) -#include -#if defined(__STDC__) -#if defined(__arch64__) || defined(_LP64) -typedef long int int64_t; -typedef unsigned long int uint64_t; -#else -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#endif /* __arch64__ */ -#endif /* __STDC__ */ -#elif defined( __VMS ) || defined(__sgi) -#include -#elif defined(__SCO__) || defined(__USLC__) -#include -#elif defined(__UNIXOS2__) || defined(__SOL64__) -typedef long int int32_t; -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#elif defined(_WIN32) && defined(__GNUC__) -#include -#elif defined(_WIN32) -typedef __int32 int32_t; -typedef __int64 int64_t; -typedef unsigned __int64 uint64_t; -#else -#include /* Fallback option */ -#endif -#endif - -#ifndef GL_EXT_timer_query -typedef int64_t GLint64EXT; -typedef uint64_t GLuint64EXT; -#endif - -#ifndef GL_VERSION_1_2 -#define GL_VERSION_1_2 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendColor (GLclampf, GLclampf, GLclampf, GLclampf); -GLAPI void APIENTRY glBlendEquation (GLenum); -GLAPI void APIENTRY glDrawRangeElements (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *); -GLAPI void APIENTRY glColorTable (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glColorTableParameterfv (GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glColorTableParameteriv (GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glCopyColorTable (GLenum, GLenum, GLint, GLint, GLsizei); -GLAPI void APIENTRY glGetColorTable (GLenum, GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetColorTableParameterfv (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetColorTableParameteriv (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glColorSubTable (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glCopyColorSubTable (GLenum, GLsizei, GLint, GLint, GLsizei); -GLAPI void APIENTRY glConvolutionFilter1D (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glConvolutionFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glConvolutionParameterf (GLenum, GLenum, GLfloat); -GLAPI void APIENTRY glConvolutionParameterfv (GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glConvolutionParameteri (GLenum, GLenum, GLint); -GLAPI void APIENTRY glConvolutionParameteriv (GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum, GLenum, GLint, GLint, GLsizei); -GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei); -GLAPI void APIENTRY glGetConvolutionFilter (GLenum, GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetSeparableFilter (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *); -GLAPI void APIENTRY glSeparableFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *); -GLAPI void APIENTRY glGetHistogram (GLenum, GLboolean, GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetHistogramParameterfv (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetHistogramParameteriv (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetMinmax (GLenum, GLboolean, GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glHistogram (GLenum, GLsizei, GLenum, GLboolean); -GLAPI void APIENTRY glMinmax (GLenum, GLenum, GLboolean); -GLAPI void APIENTRY glResetHistogram (GLenum); -GLAPI void APIENTRY glResetMinmax (GLenum); -GLAPI void APIENTRY glTexImage3D (GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glCopyTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); -typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); -typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); -typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); -typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); -typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); -typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); -typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); -typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); -typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); -typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink); -typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target); -typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target); -typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -#endif - -#ifndef GL_VERSION_1_3 -#define GL_VERSION_1_3 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glActiveTexture (GLenum); -GLAPI void APIENTRY glClientActiveTexture (GLenum); -GLAPI void APIENTRY glMultiTexCoord1d (GLenum, GLdouble); -GLAPI void APIENTRY glMultiTexCoord1dv (GLenum, const GLdouble *); -GLAPI void APIENTRY glMultiTexCoord1f (GLenum, GLfloat); -GLAPI void APIENTRY glMultiTexCoord1fv (GLenum, const GLfloat *); -GLAPI void APIENTRY glMultiTexCoord1i (GLenum, GLint); -GLAPI void APIENTRY glMultiTexCoord1iv (GLenum, const GLint *); -GLAPI void APIENTRY glMultiTexCoord1s (GLenum, GLshort); -GLAPI void APIENTRY glMultiTexCoord1sv (GLenum, const GLshort *); -GLAPI void APIENTRY glMultiTexCoord2d (GLenum, GLdouble, GLdouble); -GLAPI void APIENTRY glMultiTexCoord2dv (GLenum, const GLdouble *); -GLAPI void APIENTRY glMultiTexCoord2f (GLenum, GLfloat, GLfloat); -GLAPI void APIENTRY glMultiTexCoord2fv (GLenum, const GLfloat *); -GLAPI void APIENTRY glMultiTexCoord2i (GLenum, GLint, GLint); -GLAPI void APIENTRY glMultiTexCoord2iv (GLenum, const GLint *); -GLAPI void APIENTRY glMultiTexCoord2s (GLenum, GLshort, GLshort); -GLAPI void APIENTRY glMultiTexCoord2sv (GLenum, const GLshort *); -GLAPI void APIENTRY glMultiTexCoord3d (GLenum, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glMultiTexCoord3dv (GLenum, const GLdouble *); -GLAPI void APIENTRY glMultiTexCoord3f (GLenum, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glMultiTexCoord3fv (GLenum, const GLfloat *); -GLAPI void APIENTRY glMultiTexCoord3i (GLenum, GLint, GLint, GLint); -GLAPI void APIENTRY glMultiTexCoord3iv (GLenum, const GLint *); -GLAPI void APIENTRY glMultiTexCoord3s (GLenum, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glMultiTexCoord3sv (GLenum, const GLshort *); -GLAPI void APIENTRY glMultiTexCoord4d (GLenum, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glMultiTexCoord4dv (GLenum, const GLdouble *); -GLAPI void APIENTRY glMultiTexCoord4f (GLenum, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glMultiTexCoord4fv (GLenum, const GLfloat *); -GLAPI void APIENTRY glMultiTexCoord4i (GLenum, GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glMultiTexCoord4iv (GLenum, const GLint *); -GLAPI void APIENTRY glMultiTexCoord4s (GLenum, GLshort, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glMultiTexCoord4sv (GLenum, const GLshort *); -GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *); -GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *); -GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *); -GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *); -GLAPI void APIENTRY glSampleCoverage (GLclampf, GLboolean); -GLAPI void APIENTRY glCompressedTexImage3D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTexImage2D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTexImage1D (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glGetCompressedTexImage (GLenum, GLint, GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); -typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m); -typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m); -typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m); -typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m); -typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img); -#endif - -#ifndef GL_VERSION_1_4 -#define GL_VERSION_1_4 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendFuncSeparate (GLenum, GLenum, GLenum, GLenum); -GLAPI void APIENTRY glFogCoordf (GLfloat); -GLAPI void APIENTRY glFogCoordfv (const GLfloat *); -GLAPI void APIENTRY glFogCoordd (GLdouble); -GLAPI void APIENTRY glFogCoorddv (const GLdouble *); -GLAPI void APIENTRY glFogCoordPointer (GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glMultiDrawArrays (GLenum, GLint *, GLsizei *, GLsizei); -GLAPI void APIENTRY glMultiDrawElements (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei); -GLAPI void APIENTRY glPointParameterf (GLenum, GLfloat); -GLAPI void APIENTRY glPointParameterfv (GLenum, const GLfloat *); -GLAPI void APIENTRY glPointParameteri (GLenum, GLint); -GLAPI void APIENTRY glPointParameteriv (GLenum, const GLint *); -GLAPI void APIENTRY glSecondaryColor3b (GLbyte, GLbyte, GLbyte); -GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *); -GLAPI void APIENTRY glSecondaryColor3d (GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *); -GLAPI void APIENTRY glSecondaryColor3f (GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *); -GLAPI void APIENTRY glSecondaryColor3i (GLint, GLint, GLint); -GLAPI void APIENTRY glSecondaryColor3iv (const GLint *); -GLAPI void APIENTRY glSecondaryColor3s (GLshort, GLshort, GLshort); -GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *); -GLAPI void APIENTRY glSecondaryColor3ub (GLubyte, GLubyte, GLubyte); -GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *); -GLAPI void APIENTRY glSecondaryColor3ui (GLuint, GLuint, GLuint); -GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *); -GLAPI void APIENTRY glSecondaryColor3us (GLushort, GLushort, GLushort); -GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *); -GLAPI void APIENTRY glSecondaryColorPointer (GLint, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glWindowPos2d (GLdouble, GLdouble); -GLAPI void APIENTRY glWindowPos2dv (const GLdouble *); -GLAPI void APIENTRY glWindowPos2f (GLfloat, GLfloat); -GLAPI void APIENTRY glWindowPos2fv (const GLfloat *); -GLAPI void APIENTRY glWindowPos2i (GLint, GLint); -GLAPI void APIENTRY glWindowPos2iv (const GLint *); -GLAPI void APIENTRY glWindowPos2s (GLshort, GLshort); -GLAPI void APIENTRY glWindowPos2sv (const GLshort *); -GLAPI void APIENTRY glWindowPos3d (GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glWindowPos3dv (const GLdouble *); -GLAPI void APIENTRY glWindowPos3f (GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glWindowPos3fv (const GLfloat *); -GLAPI void APIENTRY glWindowPos3i (GLint, GLint, GLint); -GLAPI void APIENTRY glWindowPos3iv (const GLint *); -GLAPI void APIENTRY glWindowPos3s (GLshort, GLshort, GLshort); -GLAPI void APIENTRY glWindowPos3sv (const GLshort *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord); -typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord); -typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord); -typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord); -typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); -typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y); -typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z); -typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v); -#endif - -#ifndef GL_VERSION_1_5 -#define GL_VERSION_1_5 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGenQueries (GLsizei, GLuint *); -GLAPI void APIENTRY glDeleteQueries (GLsizei, const GLuint *); -GLAPI GLboolean APIENTRY glIsQuery (GLuint); -GLAPI void APIENTRY glBeginQuery (GLenum, GLuint); -GLAPI void APIENTRY glEndQuery (GLenum); -GLAPI void APIENTRY glGetQueryiv (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetQueryObjectiv (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetQueryObjectuiv (GLuint, GLenum, GLuint *); -GLAPI void APIENTRY glBindBuffer (GLenum, GLuint); -GLAPI void APIENTRY glDeleteBuffers (GLsizei, const GLuint *); -GLAPI void APIENTRY glGenBuffers (GLsizei, GLuint *); -GLAPI GLboolean APIENTRY glIsBuffer (GLuint); -GLAPI void APIENTRY glBufferData (GLenum, GLsizeiptr, const GLvoid *, GLenum); -GLAPI void APIENTRY glBufferSubData (GLenum, GLintptr, GLsizeiptr, const GLvoid *); -GLAPI void APIENTRY glGetBufferSubData (GLenum, GLintptr, GLsizeiptr, GLvoid *); -GLAPI GLvoid* APIENTRY glMapBuffer (GLenum, GLenum); -GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum); -GLAPI void APIENTRY glGetBufferParameteriv (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetBufferPointerv (GLenum, GLenum, GLvoid* *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids); -typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids); -typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id); -typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id); -typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target); -typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params); -typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); -typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); -typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); -typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage); -typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data); -typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data); -typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access); -typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target); -typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params); -#endif - -#ifndef GL_VERSION_2_0 -#define GL_VERSION_2_0 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendEquationSeparate (GLenum, GLenum); -GLAPI void APIENTRY glDrawBuffers (GLsizei, const GLenum *); -GLAPI void APIENTRY glStencilOpSeparate (GLenum, GLenum, GLenum, GLenum); -GLAPI void APIENTRY glStencilFuncSeparate (GLenum, GLenum, GLint, GLuint); -GLAPI void APIENTRY glStencilMaskSeparate (GLenum, GLuint); -GLAPI void APIENTRY glAttachShader (GLuint, GLuint); -GLAPI void APIENTRY glBindAttribLocation (GLuint, GLuint, const GLchar *); -GLAPI void APIENTRY glCompileShader (GLuint); -GLAPI GLuint APIENTRY glCreateProgram (void); -GLAPI GLuint APIENTRY glCreateShader (GLenum); -GLAPI void APIENTRY glDeleteProgram (GLuint); -GLAPI void APIENTRY glDeleteShader (GLuint); -GLAPI void APIENTRY glDetachShader (GLuint, GLuint); -GLAPI void APIENTRY glDisableVertexAttribArray (GLuint); -GLAPI void APIENTRY glEnableVertexAttribArray (GLuint); -GLAPI void APIENTRY glGetActiveAttrib (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *); -GLAPI void APIENTRY glGetActiveUniform (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *); -GLAPI void APIENTRY glGetAttachedShaders (GLuint, GLsizei, GLsizei *, GLuint *); -GLAPI GLint APIENTRY glGetAttribLocation (GLuint, const GLchar *); -GLAPI void APIENTRY glGetProgramiv (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetProgramInfoLog (GLuint, GLsizei, GLsizei *, GLchar *); -GLAPI void APIENTRY glGetShaderiv (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetShaderInfoLog (GLuint, GLsizei, GLsizei *, GLchar *); -GLAPI void APIENTRY glGetShaderSource (GLuint, GLsizei, GLsizei *, GLchar *); -GLAPI GLint APIENTRY glGetUniformLocation (GLuint, const GLchar *); -GLAPI void APIENTRY glGetUniformfv (GLuint, GLint, GLfloat *); -GLAPI void APIENTRY glGetUniformiv (GLuint, GLint, GLint *); -GLAPI void APIENTRY glGetVertexAttribdv (GLuint, GLenum, GLdouble *); -GLAPI void APIENTRY glGetVertexAttribfv (GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetVertexAttribiv (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint, GLenum, GLvoid* *); -GLAPI GLboolean APIENTRY glIsProgram (GLuint); -GLAPI GLboolean APIENTRY glIsShader (GLuint); -GLAPI void APIENTRY glLinkProgram (GLuint); -GLAPI void APIENTRY glShaderSource (GLuint, GLsizei, const GLchar* *, const GLint *); -GLAPI void APIENTRY glUseProgram (GLuint); -GLAPI void APIENTRY glUniform1f (GLint, GLfloat); -GLAPI void APIENTRY glUniform2f (GLint, GLfloat, GLfloat); -GLAPI void APIENTRY glUniform3f (GLint, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glUniform4f (GLint, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glUniform1i (GLint, GLint); -GLAPI void APIENTRY glUniform2i (GLint, GLint, GLint); -GLAPI void APIENTRY glUniform3i (GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glUniform4i (GLint, GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glUniform1fv (GLint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glUniform2fv (GLint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glUniform3fv (GLint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glUniform4fv (GLint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glUniform1iv (GLint, GLsizei, const GLint *); -GLAPI void APIENTRY glUniform2iv (GLint, GLsizei, const GLint *); -GLAPI void APIENTRY glUniform3iv (GLint, GLsizei, const GLint *); -GLAPI void APIENTRY glUniform4iv (GLint, GLsizei, const GLint *); -GLAPI void APIENTRY glUniformMatrix2fv (GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glUniformMatrix3fv (GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glUniformMatrix4fv (GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glValidateProgram (GLuint); -GLAPI void APIENTRY glVertexAttrib1d (GLuint, GLdouble); -GLAPI void APIENTRY glVertexAttrib1dv (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib1f (GLuint, GLfloat); -GLAPI void APIENTRY glVertexAttrib1fv (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib1s (GLuint, GLshort); -GLAPI void APIENTRY glVertexAttrib1sv (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib2d (GLuint, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexAttrib2dv (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib2f (GLuint, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexAttrib2fv (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib2s (GLuint, GLshort, GLshort); -GLAPI void APIENTRY glVertexAttrib2sv (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib3d (GLuint, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexAttrib3dv (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib3f (GLuint, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexAttrib3fv (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib3s (GLuint, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glVertexAttrib3sv (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint, const GLbyte *); -GLAPI void APIENTRY glVertexAttrib4Niv (GLuint, const GLint *); -GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib4Nub (GLuint, GLubyte, GLubyte, GLubyte, GLubyte); -GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint, const GLubyte *); -GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint, const GLuint *); -GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint, const GLushort *); -GLAPI void APIENTRY glVertexAttrib4bv (GLuint, const GLbyte *); -GLAPI void APIENTRY glVertexAttrib4d (GLuint, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexAttrib4dv (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib4f (GLuint, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexAttrib4fv (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib4iv (GLuint, const GLint *); -GLAPI void APIENTRY glVertexAttrib4s (GLuint, GLshort, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glVertexAttrib4sv (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib4ubv (GLuint, const GLubyte *); -GLAPI void APIENTRY glVertexAttrib4uiv (GLuint, const GLuint *); -GLAPI void APIENTRY glVertexAttrib4usv (GLuint, const GLushort *); -GLAPI void APIENTRY glVertexAttribPointer (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha); -typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs); -typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); -typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask); -typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); -typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); -typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader); -typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void); -typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type); -typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program); -typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader); -typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); -typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); -typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); -typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj); -typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); -typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); -typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name); -typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); -typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, GLvoid* *pointer); -typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program); -typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader); -typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program); -typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length); -typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program); -typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); -typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); -typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0); -typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); -typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); -typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); -#endif - -#ifndef GL_VERSION_2_1 -#define GL_VERSION_2_1 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glUniformMatrix2x3fv (GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glUniformMatrix3x2fv (GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glUniformMatrix2x4fv (GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glUniformMatrix4x2fv (GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glUniformMatrix3x4fv (GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glUniformMatrix4x3fv (GLint, GLsizei, GLboolean, const GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -#endif - -#ifndef GL_VERSION_3_0 -#define GL_VERSION_3_0 1 -/* OpenGL 3.0 also reuses entry points from these extensions: */ -/* ARB_framebuffer_object */ -/* ARB_map_buffer_range */ -/* ARB_vertex_array_object */ -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glColorMaski (GLuint, GLboolean, GLboolean, GLboolean, GLboolean); -GLAPI void APIENTRY glGetBooleani_v (GLenum, GLuint, GLboolean *); -GLAPI void APIENTRY glGetIntegeri_v (GLenum, GLuint, GLint *); -GLAPI void APIENTRY glEnablei (GLenum, GLuint); -GLAPI void APIENTRY glDisablei (GLenum, GLuint); -GLAPI GLboolean APIENTRY glIsEnabledi (GLenum, GLuint); -GLAPI void APIENTRY glBeginTransformFeedback (GLenum); -GLAPI void APIENTRY glEndTransformFeedback (void); -GLAPI void APIENTRY glBindBufferRange (GLenum, GLuint, GLuint, GLintptr, GLsizeiptr); -GLAPI void APIENTRY glBindBufferBase (GLenum, GLuint, GLuint); -GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint, GLsizei, const GLint *, GLenum); -GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint, GLuint, GLint *); -GLAPI void APIENTRY glClampColor (GLenum, GLenum); -GLAPI void APIENTRY glBeginConditionalRender (GLuint, GLenum); -GLAPI void APIENTRY glEndConditionalRender (void); -GLAPI void APIENTRY glVertexAttribI1i (GLuint, GLint); -GLAPI void APIENTRY glVertexAttribI2i (GLuint, GLint, GLint); -GLAPI void APIENTRY glVertexAttribI3i (GLuint, GLint, GLint, GLint); -GLAPI void APIENTRY glVertexAttribI4i (GLuint, GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glVertexAttribI1ui (GLuint, GLuint); -GLAPI void APIENTRY glVertexAttribI2ui (GLuint, GLuint, GLuint); -GLAPI void APIENTRY glVertexAttribI3ui (GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glVertexAttribI4ui (GLuint, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glVertexAttribI1iv (GLuint, const GLint *); -GLAPI void APIENTRY glVertexAttribI2iv (GLuint, const GLint *); -GLAPI void APIENTRY glVertexAttribI3iv (GLuint, const GLint *); -GLAPI void APIENTRY glVertexAttribI4iv (GLuint, const GLint *); -GLAPI void APIENTRY glVertexAttribI1uiv (GLuint, const GLuint *); -GLAPI void APIENTRY glVertexAttribI2uiv (GLuint, const GLuint *); -GLAPI void APIENTRY glVertexAttribI3uiv (GLuint, const GLuint *); -GLAPI void APIENTRY glVertexAttribI4uiv (GLuint, const GLuint *); -GLAPI void APIENTRY glVertexAttribI4bv (GLuint, const GLbyte *); -GLAPI void APIENTRY glVertexAttribI4sv (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttribI4ubv (GLuint, const GLubyte *); -GLAPI void APIENTRY glVertexAttribI4usv (GLuint, const GLushort *); -GLAPI void APIENTRY glVertexAttribIPointer (GLuint, GLint, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glGetVertexAttribIiv (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint, GLenum, GLuint *); -GLAPI void APIENTRY glGetUniformuiv (GLuint, GLint, GLuint *); -GLAPI void APIENTRY glBindFragDataLocation (GLuint, GLuint, const GLchar *); -GLAPI GLint APIENTRY glGetFragDataLocation (GLuint, const GLchar *); -GLAPI void APIENTRY glUniform1ui (GLint, GLuint); -GLAPI void APIENTRY glUniform2ui (GLint, GLuint, GLuint); -GLAPI void APIENTRY glUniform3ui (GLint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glUniform4ui (GLint, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glUniform1uiv (GLint, GLsizei, const GLuint *); -GLAPI void APIENTRY glUniform2uiv (GLint, GLsizei, const GLuint *); -GLAPI void APIENTRY glUniform3uiv (GLint, GLsizei, const GLuint *); -GLAPI void APIENTRY glUniform4uiv (GLint, GLsizei, const GLuint *); -GLAPI void APIENTRY glTexParameterIiv (GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glTexParameterIuiv (GLenum, GLenum, const GLuint *); -GLAPI void APIENTRY glGetTexParameterIiv (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetTexParameterIuiv (GLenum, GLenum, GLuint *); -GLAPI void APIENTRY glClearBufferiv (GLenum, GLint, const GLint *); -GLAPI void APIENTRY glClearBufferuiv (GLenum, GLint, const GLuint *); -GLAPI void APIENTRY glClearBufferfv (GLenum, GLint, const GLfloat *); -GLAPI void APIENTRY glClearBufferfi (GLenum, GLint, GLfloat, GLint); -GLAPI const GLubyte * APIENTRY glGetStringi (GLenum, GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); -typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data); -typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data); -typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index); -typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index); -typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index); -typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode); -typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void); -typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); -typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode); -typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLint *location); -typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp); -typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode); -typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params); -typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params); -typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name); -typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name); -typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0); -typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1); -typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2); -typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params); -typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params); -typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value); -typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value); -typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value); -typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); -typedef const GLubyte * (APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index); -#endif - -#ifndef GL_ARB_multitexture -#define GL_ARB_multitexture 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glActiveTextureARB (GLenum); -GLAPI void APIENTRY glClientActiveTextureARB (GLenum); -GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum, GLdouble); -GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum, const GLdouble *); -GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum, GLfloat); -GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum, const GLfloat *); -GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum, GLint); -GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum, const GLint *); -GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum, GLshort); -GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum, const GLshort *); -GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum, GLdouble, GLdouble); -GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum, const GLdouble *); -GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum, GLfloat, GLfloat); -GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum, const GLfloat *); -GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum, GLint, GLint); -GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum, const GLint *); -GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum, GLshort, GLshort); -GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum, const GLshort *); -GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum, const GLdouble *); -GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum, const GLfloat *); -GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum, GLint, GLint, GLint); -GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum, const GLint *); -GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum, const GLshort *); -GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum, const GLdouble *); -GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum, const GLfloat *); -GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum, GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum, const GLint *); -GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum, GLshort, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum, const GLshort *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture); -typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v); -#endif - -#ifndef GL_ARB_transpose_matrix -#define GL_ARB_transpose_matrix 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *); -GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *); -GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *); -GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m); -typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m); -typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m); -typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m); -#endif - -#ifndef GL_ARB_multisample -#define GL_ARB_multisample 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glSampleCoverageARB (GLclampf, GLboolean); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert); -#endif - -#ifndef GL_ARB_texture_env_add -#define GL_ARB_texture_env_add 1 -#endif - -#ifndef GL_ARB_texture_cube_map -#define GL_ARB_texture_cube_map 1 -#endif - -#ifndef GL_ARB_texture_compression -#define GL_ARB_texture_compression 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum, GLint, GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, GLvoid *img); -#endif - -#ifndef GL_ARB_texture_border_clamp -#define GL_ARB_texture_border_clamp 1 -#endif - -#ifndef GL_ARB_point_parameters -#define GL_ARB_point_parameters 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPointParameterfARB (GLenum, GLfloat); -GLAPI void APIENTRY glPointParameterfvARB (GLenum, const GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params); -#endif - -#ifndef GL_ARB_vertex_blend -#define GL_ARB_vertex_blend 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glWeightbvARB (GLint, const GLbyte *); -GLAPI void APIENTRY glWeightsvARB (GLint, const GLshort *); -GLAPI void APIENTRY glWeightivARB (GLint, const GLint *); -GLAPI void APIENTRY glWeightfvARB (GLint, const GLfloat *); -GLAPI void APIENTRY glWeightdvARB (GLint, const GLdouble *); -GLAPI void APIENTRY glWeightubvARB (GLint, const GLubyte *); -GLAPI void APIENTRY glWeightusvARB (GLint, const GLushort *); -GLAPI void APIENTRY glWeightuivARB (GLint, const GLuint *); -GLAPI void APIENTRY glWeightPointerARB (GLint, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glVertexBlendARB (GLint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights); -typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights); -typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights); -typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights); -typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights); -typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights); -typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights); -typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights); -typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count); -#endif - -#ifndef GL_ARB_matrix_palette -#define GL_ARB_matrix_palette 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint); -GLAPI void APIENTRY glMatrixIndexubvARB (GLint, const GLubyte *); -GLAPI void APIENTRY glMatrixIndexusvARB (GLint, const GLushort *); -GLAPI void APIENTRY glMatrixIndexuivARB (GLint, const GLuint *); -GLAPI void APIENTRY glMatrixIndexPointerARB (GLint, GLenum, GLsizei, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index); -typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices); -typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices); -typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices); -typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -#endif - -#ifndef GL_ARB_texture_env_combine -#define GL_ARB_texture_env_combine 1 -#endif - -#ifndef GL_ARB_texture_env_crossbar -#define GL_ARB_texture_env_crossbar 1 -#endif - -#ifndef GL_ARB_texture_env_dot3 -#define GL_ARB_texture_env_dot3 1 -#endif - -#ifndef GL_ARB_texture_mirrored_repeat -#define GL_ARB_texture_mirrored_repeat 1 -#endif - -#ifndef GL_ARB_depth_texture -#define GL_ARB_depth_texture 1 -#endif - -#ifndef GL_ARB_shadow -#define GL_ARB_shadow 1 -#endif - -#ifndef GL_ARB_shadow_ambient -#define GL_ARB_shadow_ambient 1 -#endif - -#ifndef GL_ARB_window_pos -#define GL_ARB_window_pos 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glWindowPos2dARB (GLdouble, GLdouble); -GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *); -GLAPI void APIENTRY glWindowPos2fARB (GLfloat, GLfloat); -GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *); -GLAPI void APIENTRY glWindowPos2iARB (GLint, GLint); -GLAPI void APIENTRY glWindowPos2ivARB (const GLint *); -GLAPI void APIENTRY glWindowPos2sARB (GLshort, GLshort); -GLAPI void APIENTRY glWindowPos2svARB (const GLshort *); -GLAPI void APIENTRY glWindowPos3dARB (GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *); -GLAPI void APIENTRY glWindowPos3fARB (GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *); -GLAPI void APIENTRY glWindowPos3iARB (GLint, GLint, GLint); -GLAPI void APIENTRY glWindowPos3ivARB (const GLint *); -GLAPI void APIENTRY glWindowPos3sARB (GLshort, GLshort, GLshort); -GLAPI void APIENTRY glWindowPos3svARB (const GLshort *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y); -typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z); -typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v); -#endif - -#ifndef GL_ARB_vertex_program -#define GL_ARB_vertex_program 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexAttrib1dARB (GLuint, GLdouble); -GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib1fARB (GLuint, GLfloat); -GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib1sARB (GLuint, GLshort); -GLAPI void APIENTRY glVertexAttrib1svARB (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib2dARB (GLuint, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib2fARB (GLuint, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib2sARB (GLuint, GLshort, GLshort); -GLAPI void APIENTRY glVertexAttrib2svARB (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib3dARB (GLuint, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib3fARB (GLuint, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib3sARB (GLuint, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glVertexAttrib3svARB (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint, const GLbyte *); -GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint, const GLint *); -GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint, GLubyte, GLubyte, GLubyte, GLubyte); -GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint, const GLubyte *); -GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint, const GLuint *); -GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint, const GLushort *); -GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint, const GLbyte *); -GLAPI void APIENTRY glVertexAttrib4dARB (GLuint, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib4fARB (GLuint, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint, const GLint *); -GLAPI void APIENTRY glVertexAttrib4sARB (GLuint, GLshort, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glVertexAttrib4svARB (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint, const GLubyte *); -GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint, const GLuint *); -GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint, const GLushort *); -GLAPI void APIENTRY glVertexAttribPointerARB (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *); -GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint); -GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint); -GLAPI void APIENTRY glProgramStringARB (GLenum, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glBindProgramARB (GLenum, GLuint); -GLAPI void APIENTRY glDeleteProgramsARB (GLsizei, const GLuint *); -GLAPI void APIENTRY glGenProgramsARB (GLsizei, GLuint *); -GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum, GLuint, const GLdouble *); -GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum, GLuint, const GLfloat *); -GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum, GLuint, const GLdouble *); -GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum, GLuint, const GLfloat *); -GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum, GLuint, GLdouble *); -GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum, GLuint, GLfloat *); -GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum, GLuint, GLdouble *); -GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum, GLuint, GLfloat *); -GLAPI void APIENTRY glGetProgramivARB (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetProgramStringARB (GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint, GLenum, GLdouble *); -GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetVertexAttribivARB (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint, GLenum, GLvoid* *); -GLAPI GLboolean APIENTRY glIsProgramARB (GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index); -typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index); -typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const GLvoid *string); -typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program); -typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs); -typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params); -typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params); -typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params); -typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params); -typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params); -typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, GLvoid *string); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid* *pointer); -typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program); -#endif - -#ifndef GL_ARB_fragment_program -#define GL_ARB_fragment_program 1 -/* All ARB_fragment_program entry points are shared with ARB_vertex_program. */ -#endif - -#ifndef GL_ARB_vertex_buffer_object -#define GL_ARB_vertex_buffer_object 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBindBufferARB (GLenum, GLuint); -GLAPI void APIENTRY glDeleteBuffersARB (GLsizei, const GLuint *); -GLAPI void APIENTRY glGenBuffersARB (GLsizei, GLuint *); -GLAPI GLboolean APIENTRY glIsBufferARB (GLuint); -GLAPI void APIENTRY glBufferDataARB (GLenum, GLsizeiptrARB, const GLvoid *, GLenum); -GLAPI void APIENTRY glBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid *); -GLAPI void APIENTRY glGetBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, GLvoid *); -GLAPI GLvoid* APIENTRY glMapBufferARB (GLenum, GLenum); -GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum); -GLAPI void APIENTRY glGetBufferParameterivARB (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetBufferPointervARB (GLenum, GLenum, GLvoid* *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer); -typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers); -typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers); -typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage); -typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data); -typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data); -typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access); -typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target); -typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, GLvoid* *params); -#endif - -#ifndef GL_ARB_occlusion_query -#define GL_ARB_occlusion_query 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGenQueriesARB (GLsizei, GLuint *); -GLAPI void APIENTRY glDeleteQueriesARB (GLsizei, const GLuint *); -GLAPI GLboolean APIENTRY glIsQueryARB (GLuint); -GLAPI void APIENTRY glBeginQueryARB (GLenum, GLuint); -GLAPI void APIENTRY glEndQueryARB (GLenum); -GLAPI void APIENTRY glGetQueryivARB (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetQueryObjectivARB (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint, GLenum, GLuint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids); -typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids); -typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id); -typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id); -typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target); -typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params); -#endif - -#ifndef GL_ARB_shader_objects -#define GL_ARB_shader_objects 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB); -GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum); -GLAPI void APIENTRY glDetachObjectARB (GLhandleARB, GLhandleARB); -GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum); -GLAPI void APIENTRY glShaderSourceARB (GLhandleARB, GLsizei, const GLcharARB* *, const GLint *); -GLAPI void APIENTRY glCompileShaderARB (GLhandleARB); -GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void); -GLAPI void APIENTRY glAttachObjectARB (GLhandleARB, GLhandleARB); -GLAPI void APIENTRY glLinkProgramARB (GLhandleARB); -GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB); -GLAPI void APIENTRY glValidateProgramARB (GLhandleARB); -GLAPI void APIENTRY glUniform1fARB (GLint, GLfloat); -GLAPI void APIENTRY glUniform2fARB (GLint, GLfloat, GLfloat); -GLAPI void APIENTRY glUniform3fARB (GLint, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glUniform4fARB (GLint, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glUniform1iARB (GLint, GLint); -GLAPI void APIENTRY glUniform2iARB (GLint, GLint, GLint); -GLAPI void APIENTRY glUniform3iARB (GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glUniform4iARB (GLint, GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glUniform1fvARB (GLint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glUniform2fvARB (GLint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glUniform3fvARB (GLint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glUniform4fvARB (GLint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glUniform1ivARB (GLint, GLsizei, const GLint *); -GLAPI void APIENTRY glUniform2ivARB (GLint, GLsizei, const GLint *); -GLAPI void APIENTRY glUniform3ivARB (GLint, GLsizei, const GLint *); -GLAPI void APIENTRY glUniform4ivARB (GLint, GLsizei, const GLint *); -GLAPI void APIENTRY glUniformMatrix2fvARB (GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glUniformMatrix3fvARB (GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glUniformMatrix4fvARB (GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB, GLenum, GLfloat *); -GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB, GLenum, GLint *); -GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *); -GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB, GLsizei, GLsizei *, GLhandleARB *); -GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB, const GLcharARB *); -GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *); -GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB, GLint, GLfloat *); -GLAPI void APIENTRY glGetUniformivARB (GLhandleARB, GLint, GLint *); -GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj); -typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname); -typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj); -typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType); -typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length); -typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj); -typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void); -typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj); -typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj); -typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj); -typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj); -typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0); -typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1); -typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0); -typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1); -typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2); -typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog); -typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj); -typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name); -typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); -typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params); -typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params); -typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source); -#endif - -#ifndef GL_ARB_vertex_shader -#define GL_ARB_vertex_shader 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB, GLuint, const GLcharARB *); -GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *); -GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB, const GLcharARB *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name); -typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); -typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name); -#endif - -#ifndef GL_ARB_fragment_shader -#define GL_ARB_fragment_shader 1 -#endif - -#ifndef GL_ARB_shading_language_100 -#define GL_ARB_shading_language_100 1 -#endif - -#ifndef GL_ARB_texture_non_power_of_two -#define GL_ARB_texture_non_power_of_two 1 -#endif - -#ifndef GL_ARB_point_sprite -#define GL_ARB_point_sprite 1 -#endif - -#ifndef GL_ARB_fragment_program_shadow -#define GL_ARB_fragment_program_shadow 1 -#endif - -#ifndef GL_ARB_draw_buffers -#define GL_ARB_draw_buffers 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawBuffersARB (GLsizei, const GLenum *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs); -#endif - -#ifndef GL_ARB_texture_rectangle -#define GL_ARB_texture_rectangle 1 -#endif - -#ifndef GL_ARB_color_buffer_float -#define GL_ARB_color_buffer_float 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glClampColorARB (GLenum, GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp); -#endif - -#ifndef GL_ARB_half_float_pixel -#define GL_ARB_half_float_pixel 1 -#endif - -#ifndef GL_ARB_texture_float -#define GL_ARB_texture_float 1 -#endif - -#ifndef GL_ARB_pixel_buffer_object -#define GL_ARB_pixel_buffer_object 1 -#endif - -#ifndef GL_ARB_depth_buffer_float -#define GL_ARB_depth_buffer_float 1 -#endif - -#ifndef GL_ARB_draw_instanced -#define GL_ARB_draw_instanced 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum, GLint, GLsizei, GLsizei); -GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum, GLsizei, GLenum, const GLvoid *, GLsizei); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); -typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount); -#endif - -#ifndef GL_ARB_framebuffer_object -#define GL_ARB_framebuffer_object 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint); -GLAPI void APIENTRY glBindRenderbuffer (GLenum, GLuint); -GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei, const GLuint *); -GLAPI void APIENTRY glGenRenderbuffers (GLsizei, GLuint *); -GLAPI void APIENTRY glRenderbufferStorage (GLenum, GLenum, GLsizei, GLsizei); -GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum, GLenum, GLint *); -GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint); -GLAPI void APIENTRY glBindFramebuffer (GLenum, GLuint); -GLAPI void APIENTRY glDeleteFramebuffers (GLsizei, const GLuint *); -GLAPI void APIENTRY glGenFramebuffers (GLsizei, GLuint *); -GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum); -GLAPI void APIENTRY glFramebufferTexture1D (GLenum, GLenum, GLenum, GLuint, GLint); -GLAPI void APIENTRY glFramebufferTexture2D (GLenum, GLenum, GLenum, GLuint, GLint); -GLAPI void APIENTRY glFramebufferTexture3D (GLenum, GLenum, GLenum, GLuint, GLint, GLint); -GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum, GLenum, GLenum, GLuint); -GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum, GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGenerateMipmap (GLenum); -GLAPI void APIENTRY glBlitFramebuffer (GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum); -GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum, GLsizei, GLenum, GLsizei, GLsizei); -GLAPI void APIENTRY glFramebufferTextureLayer (GLenum, GLenum, GLuint, GLint, GLint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer); -typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer); -typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers); -typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers); -typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer); -typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer); -typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers); -typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers); -typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target); -typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -#endif - -#ifndef GL_ARB_framebuffer_sRGB -#define GL_ARB_framebuffer_sRGB 1 -#endif - -#ifndef GL_ARB_geometry_shader4 -#define GL_ARB_geometry_shader4 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glProgramParameteriARB (GLuint, GLenum, GLint); -GLAPI void APIENTRY glFramebufferTextureARB (GLenum, GLenum, GLuint, GLint); -GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum, GLenum, GLuint, GLint, GLint); -GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum, GLenum, GLuint, GLint, GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); -#endif - -#ifndef GL_ARB_half_float_vertex -#define GL_ARB_half_float_vertex 1 -#endif - -#ifndef GL_ARB_instanced_arrays -#define GL_ARB_instanced_arrays 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexAttribDivisor (GLuint, GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor); -#endif - -#ifndef GL_ARB_map_buffer_range -#define GL_ARB_map_buffer_range 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMapBufferRange (GLenum, GLintptr, GLsizeiptr, GLbitfield); -GLAPI void APIENTRY glFlushMappedBufferRange (GLenum, GLintptr, GLsizeiptr); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); -typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length); -#endif - -#ifndef GL_ARB_texture_buffer_object -#define GL_ARB_texture_buffer_object 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexBufferARB (GLenum, GLenum, GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer); -#endif - -#ifndef GL_ARB_texture_compression_rgtc -#define GL_ARB_texture_compression_rgtc 1 -#endif - -#ifndef GL_ARB_texture_rg -#define GL_ARB_texture_rg 1 -#endif - -#ifndef GL_ARB_vertex_array_object -#define GL_ARB_vertex_array_object 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBindVertexArray (GLuint); -GLAPI void APIENTRY glDeleteVertexArrays (GLsizei, const GLuint *); -GLAPI void APIENTRY glGenVertexArrays (GLsizei, GLuint *); -GLAPI GLboolean APIENTRY glIsVertexArray (GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array); -typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays); -typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays); -typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array); -#endif - -#ifndef GL_EXT_abgr -#define GL_EXT_abgr 1 -#endif - -#ifndef GL_EXT_blend_color -#define GL_EXT_blend_color 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendColorEXT (GLclampf, GLclampf, GLclampf, GLclampf); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); -#endif - -#ifndef GL_EXT_polygon_offset -#define GL_EXT_polygon_offset 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat, GLfloat); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias); -#endif - -#ifndef GL_EXT_texture -#define GL_EXT_texture 1 -#endif - -#ifndef GL_EXT_texture3D -#define GL_EXT_texture3D 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexImage3DEXT (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); -#endif - -#ifndef GL_SGIS_texture_filter4 -#define GL_SGIS_texture_filter4 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum, GLenum, GLsizei, const GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights); -typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights); -#endif - -#ifndef GL_EXT_subtexture -#define GL_EXT_subtexture 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexSubImage1DEXT (GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); -#endif - -#ifndef GL_EXT_copy_texture -#define GL_EXT_copy_texture 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint); -GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint); -GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei); -GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); -GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); -typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -#endif - -#ifndef GL_EXT_histogram -#define GL_EXT_histogram 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGetHistogramEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetMinmaxEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glHistogramEXT (GLenum, GLsizei, GLenum, GLboolean); -GLAPI void APIENTRY glMinmaxEXT (GLenum, GLenum, GLboolean); -GLAPI void APIENTRY glResetHistogramEXT (GLenum); -GLAPI void APIENTRY glResetMinmaxEXT (GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); -typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); -typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); -typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink); -typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target); -typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target); -#endif - -#ifndef GL_EXT_convolution -#define GL_EXT_convolution 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum, GLenum, GLfloat); -GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum, GLenum, GLint); -GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum, GLenum, GLint, GLint, GLsizei); -GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei); -GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum, GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *); -GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); -typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); -typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); -#endif - -#ifndef GL_SGI_color_matrix -#define GL_SGI_color_matrix 1 -#endif - -#ifndef GL_SGI_color_table -#define GL_SGI_color_table 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glColorTableSGI (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glColorTableParameterivSGI (GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glCopyColorTableSGI (GLenum, GLenum, GLint, GLint, GLsizei); -GLAPI void APIENTRY glGetColorTableSGI (GLenum, GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum, GLenum, GLint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); -typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params); -#endif - -#ifndef GL_SGIX_pixel_texture -#define GL_SGIX_pixel_texture 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPixelTexGenSGIX (GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode); -#endif - -#ifndef GL_SGIS_pixel_texture -#define GL_SGIS_pixel_texture 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum, GLint); -GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum, const GLint *); -GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum, GLfloat); -GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum, const GLfloat *); -GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum, GLint *); -GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum, GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params); -#endif - -#ifndef GL_SGIS_texture4D -#define GL_SGIS_texture4D 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexImage4DSGIS (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels); -#endif - -#ifndef GL_SGI_texture_color_table -#define GL_SGI_texture_color_table 1 -#endif - -#ifndef GL_EXT_cmyka -#define GL_EXT_cmyka 1 -#endif - -#ifndef GL_EXT_texture_object -#define GL_EXT_texture_object 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei, const GLuint *, GLboolean *); -GLAPI void APIENTRY glBindTextureEXT (GLenum, GLuint); -GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei, const GLuint *); -GLAPI void APIENTRY glGenTexturesEXT (GLsizei, GLuint *); -GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint); -GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei, const GLuint *, const GLclampf *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences); -typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture); -typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures); -typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures); -typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture); -typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities); -#endif - -#ifndef GL_SGIS_detail_texture -#define GL_SGIS_detail_texture 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum, GLsizei, const GLfloat *); -GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum, GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points); -typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points); -#endif - -#ifndef GL_SGIS_sharpen_texture -#define GL_SGIS_sharpen_texture 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum, GLsizei, const GLfloat *); -GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum, GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points); -typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points); -#endif - -#ifndef GL_EXT_packed_pixels -#define GL_EXT_packed_pixels 1 -#endif - -#ifndef GL_SGIS_texture_lod -#define GL_SGIS_texture_lod 1 -#endif - -#ifndef GL_SGIS_multisample -#define GL_SGIS_multisample 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glSampleMaskSGIS (GLclampf, GLboolean); -GLAPI void APIENTRY glSamplePatternSGIS (GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert); -typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern); -#endif - -#ifndef GL_EXT_rescale_normal -#define GL_EXT_rescale_normal 1 -#endif - -#ifndef GL_EXT_vertex_array -#define GL_EXT_vertex_array 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glArrayElementEXT (GLint); -GLAPI void APIENTRY glColorPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *); -GLAPI void APIENTRY glDrawArraysEXT (GLenum, GLint, GLsizei); -GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei, GLsizei, const GLboolean *); -GLAPI void APIENTRY glGetPointervEXT (GLenum, GLvoid* *); -GLAPI void APIENTRY glIndexPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *); -GLAPI void APIENTRY glNormalPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *); -GLAPI void APIENTRY glTexCoordPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *); -GLAPI void APIENTRY glVertexPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i); -typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count); -typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer); -typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params); -typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); -#endif - -#ifndef GL_EXT_misc_attribute -#define GL_EXT_misc_attribute 1 -#endif - -#ifndef GL_SGIS_generate_mipmap -#define GL_SGIS_generate_mipmap 1 -#endif - -#ifndef GL_SGIX_clipmap -#define GL_SGIX_clipmap 1 -#endif - -#ifndef GL_SGIX_shadow -#define GL_SGIX_shadow 1 -#endif - -#ifndef GL_SGIS_texture_edge_clamp -#define GL_SGIS_texture_edge_clamp 1 -#endif - -#ifndef GL_SGIS_texture_border_clamp -#define GL_SGIS_texture_border_clamp 1 -#endif - -#ifndef GL_EXT_blend_minmax -#define GL_EXT_blend_minmax 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendEquationEXT (GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode); -#endif - -#ifndef GL_EXT_blend_subtract -#define GL_EXT_blend_subtract 1 -#endif - -#ifndef GL_EXT_blend_logic_op -#define GL_EXT_blend_logic_op 1 -#endif - -#ifndef GL_SGIX_interlace -#define GL_SGIX_interlace 1 -#endif - -#ifndef GL_SGIX_pixel_tiles -#define GL_SGIX_pixel_tiles 1 -#endif - -#ifndef GL_SGIX_texture_select -#define GL_SGIX_texture_select 1 -#endif - -#ifndef GL_SGIX_sprite -#define GL_SGIX_sprite 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum, GLfloat); -GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum, const GLfloat *); -GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum, GLint); -GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum, const GLint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params); -#endif - -#ifndef GL_SGIX_texture_multi_buffer -#define GL_SGIX_texture_multi_buffer 1 -#endif - -#ifndef GL_EXT_point_parameters -#define GL_EXT_point_parameters 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPointParameterfEXT (GLenum, GLfloat); -GLAPI void APIENTRY glPointParameterfvEXT (GLenum, const GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params); -#endif - -#ifndef GL_SGIS_point_parameters -#define GL_SGIS_point_parameters 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPointParameterfSGIS (GLenum, GLfloat); -GLAPI void APIENTRY glPointParameterfvSGIS (GLenum, const GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params); -#endif - -#ifndef GL_SGIX_instruments -#define GL_SGIX_instruments 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLint APIENTRY glGetInstrumentsSGIX (void); -GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei, GLint *); -GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *); -GLAPI void APIENTRY glReadInstrumentsSGIX (GLint); -GLAPI void APIENTRY glStartInstrumentsSGIX (void); -GLAPI void APIENTRY glStopInstrumentsSGIX (GLint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void); -typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer); -typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p); -typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker); -typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void); -typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker); -#endif - -#ifndef GL_SGIX_texture_scale_bias -#define GL_SGIX_texture_scale_bias 1 -#endif - -#ifndef GL_SGIX_framezoom -#define GL_SGIX_framezoom 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFrameZoomSGIX (GLint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor); -#endif - -#ifndef GL_SGIX_tag_sample_buffer -#define GL_SGIX_tag_sample_buffer 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTagSampleBufferSGIX (void); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void); -#endif - -#ifndef GL_SGIX_polynomial_ffd -#define GL_SGIX_polynomial_ffd 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *); -GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *); -GLAPI void APIENTRY glDeformSGIX (GLbitfield); -GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLDEFORMATIONMAP3DSGIXPROC) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points); -typedef void (APIENTRYP PFNGLDEFORMATIONMAP3FSGIXPROC) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points); -typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask); -typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask); -#endif - -#ifndef GL_SGIX_reference_plane -#define GL_SGIX_reference_plane 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation); -#endif - -#ifndef GL_SGIX_flush_raster -#define GL_SGIX_flush_raster 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFlushRasterSGIX (void); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void); -#endif - -#ifndef GL_SGIX_depth_texture -#define GL_SGIX_depth_texture 1 -#endif - -#ifndef GL_SGIS_fog_function -#define GL_SGIS_fog_function 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFogFuncSGIS (GLsizei, const GLfloat *); -GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points); -typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points); -#endif - -#ifndef GL_SGIX_fog_offset -#define GL_SGIX_fog_offset 1 -#endif - -#ifndef GL_HP_image_transform -#define GL_HP_image_transform 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glImageTransformParameteriHP (GLenum, GLenum, GLint); -GLAPI void APIENTRY glImageTransformParameterfHP (GLenum, GLenum, GLfloat); -GLAPI void APIENTRY glImageTransformParameterivHP (GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum, GLenum, GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params); -#endif - -#ifndef GL_HP_convolution_border_modes -#define GL_HP_convolution_border_modes 1 -#endif - -#ifndef GL_SGIX_texture_add_env -#define GL_SGIX_texture_add_env 1 -#endif - -#ifndef GL_EXT_color_subtable -#define GL_EXT_color_subtable 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glColorSubTableEXT (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum, GLsizei, GLint, GLint, GLsizei); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); -#endif - -#ifndef GL_PGI_vertex_hints -#define GL_PGI_vertex_hints 1 -#endif - -#ifndef GL_PGI_misc_hints -#define GL_PGI_misc_hints 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glHintPGI (GLenum, GLint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode); -#endif - -#ifndef GL_EXT_paletted_texture -#define GL_EXT_paletted_texture 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glColorTableEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glGetColorTableEXT (GLenum, GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum, GLenum, GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); -typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *data); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); -#endif - -#ifndef GL_EXT_clip_volume_hint -#define GL_EXT_clip_volume_hint 1 -#endif - -#ifndef GL_SGIX_list_priority -#define GL_SGIX_list_priority 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetListParameterivSGIX (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glListParameterfSGIX (GLuint, GLenum, GLfloat); -GLAPI void APIENTRY glListParameterfvSGIX (GLuint, GLenum, const GLfloat *); -GLAPI void APIENTRY glListParameteriSGIX (GLuint, GLenum, GLint); -GLAPI void APIENTRY glListParameterivSGIX (GLuint, GLenum, const GLint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params); -#endif - -#ifndef GL_SGIX_ir_instrument1 -#define GL_SGIX_ir_instrument1 1 -#endif - -#ifndef GL_SGIX_calligraphic_fragment -#define GL_SGIX_calligraphic_fragment 1 -#endif - -#ifndef GL_SGIX_texture_lod_bias -#define GL_SGIX_texture_lod_bias 1 -#endif - -#ifndef GL_SGIX_shadow_ambient -#define GL_SGIX_shadow_ambient 1 -#endif - -#ifndef GL_EXT_index_texture -#define GL_EXT_index_texture 1 -#endif - -#ifndef GL_EXT_index_material -#define GL_EXT_index_material 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glIndexMaterialEXT (GLenum, GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode); -#endif - -#ifndef GL_EXT_index_func -#define GL_EXT_index_func 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glIndexFuncEXT (GLenum, GLclampf); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref); -#endif - -#ifndef GL_EXT_index_array_formats -#define GL_EXT_index_array_formats 1 -#endif - -#ifndef GL_EXT_compiled_vertex_array -#define GL_EXT_compiled_vertex_array 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glLockArraysEXT (GLint, GLsizei); -GLAPI void APIENTRY glUnlockArraysEXT (void); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count); -typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void); -#endif - -#ifndef GL_EXT_cull_vertex -#define GL_EXT_cull_vertex 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCullParameterdvEXT (GLenum, GLdouble *); -GLAPI void APIENTRY glCullParameterfvEXT (GLenum, GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params); -typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params); -#endif - -#ifndef GL_SGIX_ycrcb -#define GL_SGIX_ycrcb 1 -#endif - -#ifndef GL_SGIX_fragment_lighting -#define GL_SGIX_fragment_lighting 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum, GLenum); -GLAPI void APIENTRY glFragmentLightfSGIX (GLenum, GLenum, GLfloat); -GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glFragmentLightiSGIX (GLenum, GLenum, GLint); -GLAPI void APIENTRY glFragmentLightivSGIX (GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum, GLfloat); -GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum, const GLfloat *); -GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum, GLint); -GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum, const GLint *); -GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum, GLenum, GLfloat); -GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum, GLenum, GLint); -GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glLightEnviSGIX (GLenum, GLint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param); -#endif - -#ifndef GL_IBM_rasterpos_clip -#define GL_IBM_rasterpos_clip 1 -#endif - -#ifndef GL_HP_texture_lighting -#define GL_HP_texture_lighting 1 -#endif - -#ifndef GL_EXT_draw_range_elements -#define GL_EXT_draw_range_elements 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); -#endif - -#ifndef GL_WIN_phong_shading -#define GL_WIN_phong_shading 1 -#endif - -#ifndef GL_WIN_specular_fog -#define GL_WIN_specular_fog 1 -#endif - -#ifndef GL_EXT_light_texture -#define GL_EXT_light_texture 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glApplyTextureEXT (GLenum); -GLAPI void APIENTRY glTextureLightEXT (GLenum); -GLAPI void APIENTRY glTextureMaterialEXT (GLenum, GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode); -typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname); -typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode); -#endif - -#ifndef GL_SGIX_blend_alpha_minmax -#define GL_SGIX_blend_alpha_minmax 1 -#endif - -#ifndef GL_EXT_bgra -#define GL_EXT_bgra 1 -#endif - -#ifndef GL_SGIX_async -#define GL_SGIX_async 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint); -GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *); -GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *); -GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei); -GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint, GLsizei); -GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker); -typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp); -typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp); -typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range); -typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range); -typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker); -#endif - -#ifndef GL_SGIX_async_pixel -#define GL_SGIX_async_pixel 1 -#endif - -#ifndef GL_SGIX_async_histogram -#define GL_SGIX_async_histogram 1 -#endif - -#ifndef GL_INTEL_parallel_arrays -#define GL_INTEL_parallel_arrays 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexPointervINTEL (GLint, GLenum, const GLvoid* *); -GLAPI void APIENTRY glNormalPointervINTEL (GLenum, const GLvoid* *); -GLAPI void APIENTRY glColorPointervINTEL (GLint, GLenum, const GLvoid* *); -GLAPI void APIENTRY glTexCoordPointervINTEL (GLint, GLenum, const GLvoid* *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer); -typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const GLvoid* *pointer); -typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer); -typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer); -#endif - -#ifndef GL_HP_occlusion_test -#define GL_HP_occlusion_test 1 -#endif - -#ifndef GL_EXT_pixel_transform -#define GL_EXT_pixel_transform 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum, GLenum, GLint); -GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum, GLenum, GLfloat); -GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum, GLenum, const GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params); -#endif - -#ifndef GL_EXT_pixel_transform_color_table -#define GL_EXT_pixel_transform_color_table 1 -#endif - -#ifndef GL_EXT_shared_texture_palette -#define GL_EXT_shared_texture_palette 1 -#endif - -#ifndef GL_EXT_separate_specular_color -#define GL_EXT_separate_specular_color 1 -#endif - -#ifndef GL_EXT_secondary_color -#define GL_EXT_secondary_color 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte, GLbyte, GLbyte); -GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *); -GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *); -GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *); -GLAPI void APIENTRY glSecondaryColor3iEXT (GLint, GLint, GLint); -GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *); -GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort, GLshort, GLshort); -GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *); -GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte, GLubyte, GLubyte); -GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *); -GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint, GLuint, GLuint); -GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *); -GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort, GLushort, GLushort); -GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *); -GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint, GLenum, GLsizei, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -#endif - -#ifndef GL_EXT_texture_perturb_normal -#define GL_EXT_texture_perturb_normal 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTextureNormalEXT (GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode); -#endif - -#ifndef GL_EXT_multi_draw_arrays -#define GL_EXT_multi_draw_arrays 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum, GLint *, GLsizei *, GLsizei); -GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); -#endif - -#ifndef GL_EXT_fog_coord -#define GL_EXT_fog_coord 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFogCoordfEXT (GLfloat); -GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *); -GLAPI void APIENTRY glFogCoorddEXT (GLdouble); -GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *); -GLAPI void APIENTRY glFogCoordPointerEXT (GLenum, GLsizei, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord); -typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord); -typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord); -typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord); -typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); -#endif - -#ifndef GL_REND_screen_coordinates -#define GL_REND_screen_coordinates 1 -#endif - -#ifndef GL_EXT_coordinate_frame -#define GL_EXT_coordinate_frame 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTangent3bEXT (GLbyte, GLbyte, GLbyte); -GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *); -GLAPI void APIENTRY glTangent3dEXT (GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *); -GLAPI void APIENTRY glTangent3fEXT (GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *); -GLAPI void APIENTRY glTangent3iEXT (GLint, GLint, GLint); -GLAPI void APIENTRY glTangent3ivEXT (const GLint *); -GLAPI void APIENTRY glTangent3sEXT (GLshort, GLshort, GLshort); -GLAPI void APIENTRY glTangent3svEXT (const GLshort *); -GLAPI void APIENTRY glBinormal3bEXT (GLbyte, GLbyte, GLbyte); -GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *); -GLAPI void APIENTRY glBinormal3dEXT (GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *); -GLAPI void APIENTRY glBinormal3fEXT (GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *); -GLAPI void APIENTRY glBinormal3iEXT (GLint, GLint, GLint); -GLAPI void APIENTRY glBinormal3ivEXT (const GLint *); -GLAPI void APIENTRY glBinormal3sEXT (GLshort, GLshort, GLshort); -GLAPI void APIENTRY glBinormal3svEXT (const GLshort *); -GLAPI void APIENTRY glTangentPointerEXT (GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glBinormalPointerEXT (GLenum, GLsizei, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz); -typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v); -typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz); -typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz); -typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz); -typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz); -typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz); -typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v); -typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz); -typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz); -typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz); -typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz); -typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); -#endif - -#ifndef GL_EXT_texture_env_combine -#define GL_EXT_texture_env_combine 1 -#endif - -#ifndef GL_APPLE_specular_vector -#define GL_APPLE_specular_vector 1 -#endif - -#ifndef GL_APPLE_transform_hint -#define GL_APPLE_transform_hint 1 -#endif - -#ifndef GL_SGIX_fog_scale -#define GL_SGIX_fog_scale 1 -#endif - -#ifndef GL_SUNX_constant_data -#define GL_SUNX_constant_data 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFinishTextureSUNX (void); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void); -#endif - -#ifndef GL_SUN_global_alpha -#define GL_SUN_global_alpha 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte); -GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort); -GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint); -GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat); -GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble); -GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte); -GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort); -GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor); -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor); -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor); -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor); -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor); -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor); -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor); -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor); -#endif - -#ifndef GL_SUN_triangle_list -#define GL_SUN_triangle_list 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint); -GLAPI void APIENTRY glReplacementCodeusSUN (GLushort); -GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte); -GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *); -GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *); -GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *); -GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum, GLsizei, const GLvoid* *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const GLvoid* *pointer); -#endif - -#ifndef GL_SUN_vertex -#define GL_SUN_vertex 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat); -GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *, const GLfloat *); -GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *, const GLfloat *); -GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat, GLfloat, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *, const GLubyte *, const GLfloat *); -GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *, const GLfloat *); -GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *, const GLubyte *, const GLfloat *); -GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v); -typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v); -typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v); -typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v); -typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v); -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v); -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v); -typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); -#endif - -#ifndef GL_EXT_blend_func_separate -#define GL_EXT_blend_func_separate 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum, GLenum, GLenum, GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -#endif - -#ifndef GL_INGR_blend_func_separate -#define GL_INGR_blend_func_separate 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum, GLenum, GLenum, GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -#endif - -#ifndef GL_INGR_color_clamp -#define GL_INGR_color_clamp 1 -#endif - -#ifndef GL_INGR_interlace_read -#define GL_INGR_interlace_read 1 -#endif - -#ifndef GL_EXT_stencil_wrap -#define GL_EXT_stencil_wrap 1 -#endif - -#ifndef GL_EXT_422_pixels -#define GL_EXT_422_pixels 1 -#endif - -#ifndef GL_NV_texgen_reflection -#define GL_NV_texgen_reflection 1 -#endif - -#ifndef GL_SUN_convolution_border_modes -#define GL_SUN_convolution_border_modes 1 -#endif - -#ifndef GL_EXT_texture_env_add -#define GL_EXT_texture_env_add 1 -#endif - -#ifndef GL_EXT_texture_lod_bias -#define GL_EXT_texture_lod_bias 1 -#endif - -#ifndef GL_EXT_texture_filter_anisotropic -#define GL_EXT_texture_filter_anisotropic 1 -#endif - -#ifndef GL_EXT_vertex_weighting -#define GL_EXT_vertex_weighting 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexWeightfEXT (GLfloat); -GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *); -GLAPI void APIENTRY glVertexWeightPointerEXT (GLsizei, GLenum, GLsizei, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight); -typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight); -typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer); -#endif - -#ifndef GL_NV_light_max_exponent -#define GL_NV_light_max_exponent 1 -#endif - -#ifndef GL_NV_vertex_array_range -#define GL_NV_vertex_array_range 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFlushVertexArrayRangeNV (void); -GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void); -typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const GLvoid *pointer); -#endif - -#ifndef GL_NV_register_combiners -#define GL_NV_register_combiners 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCombinerParameterfvNV (GLenum, const GLfloat *); -GLAPI void APIENTRY glCombinerParameterfNV (GLenum, GLfloat); -GLAPI void APIENTRY glCombinerParameterivNV (GLenum, const GLint *); -GLAPI void APIENTRY glCombinerParameteriNV (GLenum, GLint); -GLAPI void APIENTRY glCombinerInputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum); -GLAPI void APIENTRY glCombinerOutputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean); -GLAPI void APIENTRY glFinalCombinerInputNV (GLenum, GLenum, GLenum, GLenum); -GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum, GLenum, GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum, GLenum, GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum, GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum, GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum, GLenum, GLint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); -typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); -typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); -typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params); -#endif - -#ifndef GL_NV_fog_distance -#define GL_NV_fog_distance 1 -#endif - -#ifndef GL_NV_texgen_emboss -#define GL_NV_texgen_emboss 1 -#endif - -#ifndef GL_NV_blend_square -#define GL_NV_blend_square 1 -#endif - -#ifndef GL_NV_texture_env_combine4 -#define GL_NV_texture_env_combine4 1 -#endif - -#ifndef GL_MESA_resize_buffers -#define GL_MESA_resize_buffers 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glResizeBuffersMESA (void); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void); -#endif - -#ifndef GL_MESA_window_pos -#define GL_MESA_window_pos 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glWindowPos2dMESA (GLdouble, GLdouble); -GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *); -GLAPI void APIENTRY glWindowPos2fMESA (GLfloat, GLfloat); -GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *); -GLAPI void APIENTRY glWindowPos2iMESA (GLint, GLint); -GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *); -GLAPI void APIENTRY glWindowPos2sMESA (GLshort, GLshort); -GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *); -GLAPI void APIENTRY glWindowPos3dMESA (GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *); -GLAPI void APIENTRY glWindowPos3fMESA (GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *); -GLAPI void APIENTRY glWindowPos3iMESA (GLint, GLint, GLint); -GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *); -GLAPI void APIENTRY glWindowPos3sMESA (GLshort, GLshort, GLshort); -GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *); -GLAPI void APIENTRY glWindowPos4dMESA (GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *); -GLAPI void APIENTRY glWindowPos4fMESA (GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *); -GLAPI void APIENTRY glWindowPos4iMESA (GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *); -GLAPI void APIENTRY glWindowPos4sMESA (GLshort, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y); -typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z); -typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w); -typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v); -#endif - -#ifndef GL_IBM_cull_vertex -#define GL_IBM_cull_vertex 1 -#endif - -#ifndef GL_IBM_multimode_draw_arrays -#define GL_IBM_multimode_draw_arrays 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *, const GLint *, const GLsizei *, GLsizei, GLint); -GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *, const GLsizei *, GLenum, const GLvoid* const *, GLsizei, GLint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride); -typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, GLint modestride); -#endif - -#ifndef GL_IBM_vertex_array_lists -#define GL_IBM_vertex_array_lists 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint); -GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint); -GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint, const GLboolean* *, GLint); -GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum, GLint, const GLvoid* *, GLint); -GLAPI void APIENTRY glIndexPointerListIBM (GLenum, GLint, const GLvoid* *, GLint); -GLAPI void APIENTRY glNormalPointerListIBM (GLenum, GLint, const GLvoid* *, GLint); -GLAPI void APIENTRY glTexCoordPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint); -GLAPI void APIENTRY glVertexPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); -typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); -typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean* *pointer, GLint ptrstride); -typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); -typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); -typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); -typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); -typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); -#endif - -#ifndef GL_SGIX_subsample -#define GL_SGIX_subsample 1 -#endif - -#ifndef GL_SGIX_ycrcba -#define GL_SGIX_ycrcba 1 -#endif - -#ifndef GL_SGIX_ycrcb_subsample -#define GL_SGIX_ycrcb_subsample 1 -#endif - -#ifndef GL_SGIX_depth_pass_instrument -#define GL_SGIX_depth_pass_instrument 1 -#endif - -#ifndef GL_3DFX_texture_compression_FXT1 -#define GL_3DFX_texture_compression_FXT1 1 -#endif - -#ifndef GL_3DFX_multisample -#define GL_3DFX_multisample 1 -#endif - -#ifndef GL_3DFX_tbuffer -#define GL_3DFX_tbuffer 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTbufferMask3DFX (GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask); -#endif - -#ifndef GL_EXT_multisample -#define GL_EXT_multisample 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glSampleMaskEXT (GLclampf, GLboolean); -GLAPI void APIENTRY glSamplePatternEXT (GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert); -typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern); -#endif - -#ifndef GL_SGIX_vertex_preclip -#define GL_SGIX_vertex_preclip 1 -#endif - -#ifndef GL_SGIX_convolution_accuracy -#define GL_SGIX_convolution_accuracy 1 -#endif - -#ifndef GL_SGIX_resample -#define GL_SGIX_resample 1 -#endif - -#ifndef GL_SGIS_point_line_texgen -#define GL_SGIS_point_line_texgen 1 -#endif - -#ifndef GL_SGIS_texture_color_mask -#define GL_SGIS_texture_color_mask 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean, GLboolean, GLboolean, GLboolean); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -#endif - -#ifndef GL_SGIX_igloo_interface -#define GL_SGIX_igloo_interface 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const GLvoid *params); -#endif - -#ifndef GL_EXT_texture_env_dot3 -#define GL_EXT_texture_env_dot3 1 -#endif - -#ifndef GL_ATI_texture_mirror_once -#define GL_ATI_texture_mirror_once 1 -#endif - -#ifndef GL_NV_fence -#define GL_NV_fence 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDeleteFencesNV (GLsizei, const GLuint *); -GLAPI void APIENTRY glGenFencesNV (GLsizei, GLuint *); -GLAPI GLboolean APIENTRY glIsFenceNV (GLuint); -GLAPI GLboolean APIENTRY glTestFenceNV (GLuint); -GLAPI void APIENTRY glGetFenceivNV (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glFinishFenceNV (GLuint); -GLAPI void APIENTRY glSetFenceNV (GLuint, GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); -typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); -typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); -typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); -typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); -typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); -#endif - -#ifndef GL_NV_evaluators -#define GL_NV_evaluators 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei, GLsizei, GLint, GLint, GLboolean, const GLvoid *); -GLAPI void APIENTRY glMapParameterivNV (GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glMapParameterfvNV (GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glGetMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei, GLsizei, GLboolean, GLvoid *); -GLAPI void APIENTRY glGetMapParameterivNV (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetMapParameterfvNV (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum, GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum, GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glEvalMapsNV (GLenum, GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points); -typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points); -typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode); -#endif - -#ifndef GL_NV_packed_depth_stencil -#define GL_NV_packed_depth_stencil 1 -#endif - -#ifndef GL_NV_register_combiners2 -#define GL_NV_register_combiners2 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum, GLenum, GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params); -#endif - -#ifndef GL_NV_texture_compression_vtc -#define GL_NV_texture_compression_vtc 1 -#endif - -#ifndef GL_NV_texture_rectangle -#define GL_NV_texture_rectangle 1 -#endif - -#ifndef GL_NV_texture_shader -#define GL_NV_texture_shader 1 -#endif - -#ifndef GL_NV_texture_shader2 -#define GL_NV_texture_shader2 1 -#endif - -#ifndef GL_NV_vertex_array_range2 -#define GL_NV_vertex_array_range2 1 -#endif - -#ifndef GL_NV_vertex_program -#define GL_NV_vertex_program 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei, const GLuint *, GLboolean *); -GLAPI void APIENTRY glBindProgramNV (GLenum, GLuint); -GLAPI void APIENTRY glDeleteProgramsNV (GLsizei, const GLuint *); -GLAPI void APIENTRY glExecuteProgramNV (GLenum, GLuint, const GLfloat *); -GLAPI void APIENTRY glGenProgramsNV (GLsizei, GLuint *); -GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum, GLuint, GLenum, GLdouble *); -GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum, GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetProgramivNV (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetProgramStringNV (GLuint, GLenum, GLubyte *); -GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum, GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint, GLenum, GLdouble *); -GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetVertexAttribivNV (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint, GLenum, GLvoid* *); -GLAPI GLboolean APIENTRY glIsProgramNV (GLuint); -GLAPI void APIENTRY glLoadProgramNV (GLenum, GLuint, GLsizei, const GLubyte *); -GLAPI void APIENTRY glProgramParameter4dNV (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glProgramParameter4dvNV (GLenum, GLuint, const GLdouble *); -GLAPI void APIENTRY glProgramParameter4fNV (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glProgramParameter4fvNV (GLenum, GLuint, const GLfloat *); -GLAPI void APIENTRY glProgramParameters4dvNV (GLenum, GLuint, GLuint, const GLdouble *); -GLAPI void APIENTRY glProgramParameters4fvNV (GLenum, GLuint, GLuint, const GLfloat *); -GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei, const GLuint *); -GLAPI void APIENTRY glTrackMatrixNV (GLenum, GLuint, GLenum, GLenum); -GLAPI void APIENTRY glVertexAttribPointerNV (GLuint, GLint, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glVertexAttrib1dNV (GLuint, GLdouble); -GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib1fNV (GLuint, GLfloat); -GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib1sNV (GLuint, GLshort); -GLAPI void APIENTRY glVertexAttrib1svNV (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib2dNV (GLuint, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib2fNV (GLuint, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib2sNV (GLuint, GLshort, GLshort); -GLAPI void APIENTRY glVertexAttrib2svNV (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib3dNV (GLuint, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib3fNV (GLuint, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib3sNV (GLuint, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glVertexAttrib3svNV (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib4dNV (GLuint, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib4fNV (GLuint, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib4sNV (GLuint, GLshort, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glVertexAttrib4svNV (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint, GLubyte, GLubyte, GLubyte, GLubyte); -GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint, const GLubyte *); -GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint, GLsizei, const GLdouble *); -GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glVertexAttribs1svNV (GLuint, GLsizei, const GLshort *); -GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint, GLsizei, const GLdouble *); -GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glVertexAttribs2svNV (GLuint, GLsizei, const GLshort *); -GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint, GLsizei, const GLdouble *); -GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glVertexAttribs3svNV (GLuint, GLsizei, const GLshort *); -GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint, GLsizei, const GLdouble *); -GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glVertexAttribs4svNV (GLuint, GLsizei, const GLshort *); -GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint, GLsizei, const GLubyte *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences); -typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id); -typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs); -typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params); -typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs); -typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params); -typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program); -typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, GLvoid* *pointer); -typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id); -typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program); -typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLuint count, const GLdouble *v); -typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLuint count, const GLfloat *v); -typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs); -typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform); -typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v); -#endif - -#ifndef GL_SGIX_texture_coordinate_clamp -#define GL_SGIX_texture_coordinate_clamp 1 -#endif - -#ifndef GL_SGIX_scalebias_hint -#define GL_SGIX_scalebias_hint 1 -#endif - -#ifndef GL_OML_interlace -#define GL_OML_interlace 1 -#endif - -#ifndef GL_OML_subsample -#define GL_OML_subsample 1 -#endif - -#ifndef GL_OML_resample -#define GL_OML_resample 1 -#endif - -#ifndef GL_NV_copy_depth_to_color -#define GL_NV_copy_depth_to_color 1 -#endif - -#ifndef GL_ATI_envmap_bumpmap -#define GL_ATI_envmap_bumpmap 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexBumpParameterivATI (GLenum, const GLint *); -GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum, const GLfloat *); -GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum, GLint *); -GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum, GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param); -typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param); -typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param); -typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param); -#endif - -#ifndef GL_ATI_fragment_shader -#define GL_ATI_fragment_shader 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint); -GLAPI void APIENTRY glBindFragmentShaderATI (GLuint); -GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint); -GLAPI void APIENTRY glBeginFragmentShaderATI (void); -GLAPI void APIENTRY glEndFragmentShaderATI (void); -GLAPI void APIENTRY glPassTexCoordATI (GLuint, GLuint, GLenum); -GLAPI void APIENTRY glSampleMapATI (GLuint, GLuint, GLenum); -GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glColorFragmentOp3ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glAlphaFragmentOp3ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint, const GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range); -typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id); -typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id); -typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void); -typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void); -typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle); -typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle); -typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); -typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); -typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); -typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); -typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); -typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); -typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value); -#endif - -#ifndef GL_ATI_pn_triangles -#define GL_ATI_pn_triangles 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPNTrianglesiATI (GLenum, GLint); -GLAPI void APIENTRY glPNTrianglesfATI (GLenum, GLfloat); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param); -#endif - -#ifndef GL_ATI_vertex_array_object -#define GL_ATI_vertex_array_object 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei, const GLvoid *, GLenum); -GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint); -GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint, GLuint, GLsizei, const GLvoid *, GLenum); -GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetObjectBufferivATI (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glFreeObjectBufferATI (GLuint); -GLAPI void APIENTRY glArrayObjectATI (GLenum, GLint, GLenum, GLsizei, GLuint, GLuint); -GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetArrayObjectivATI (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glVariantArrayObjectATI (GLuint, GLenum, GLsizei, GLuint, GLuint); -GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint, GLenum, GLint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const GLvoid *pointer, GLenum usage); -typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve); -typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); -typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); -typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params); -#endif - -#ifndef GL_EXT_vertex_shader -#define GL_EXT_vertex_shader 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBeginVertexShaderEXT (void); -GLAPI void APIENTRY glEndVertexShaderEXT (void); -GLAPI void APIENTRY glBindVertexShaderEXT (GLuint); -GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint); -GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint); -GLAPI void APIENTRY glShaderOp1EXT (GLenum, GLuint, GLuint); -GLAPI void APIENTRY glShaderOp2EXT (GLenum, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glShaderOp3EXT (GLenum, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glSwizzleEXT (GLuint, GLuint, GLenum, GLenum, GLenum, GLenum); -GLAPI void APIENTRY glWriteMaskEXT (GLuint, GLuint, GLenum, GLenum, GLenum, GLenum); -GLAPI void APIENTRY glInsertComponentEXT (GLuint, GLuint, GLuint); -GLAPI void APIENTRY glExtractComponentEXT (GLuint, GLuint, GLuint); -GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum, GLenum, GLenum, GLuint); -GLAPI void APIENTRY glSetInvariantEXT (GLuint, GLenum, const GLvoid *); -GLAPI void APIENTRY glSetLocalConstantEXT (GLuint, GLenum, const GLvoid *); -GLAPI void APIENTRY glVariantbvEXT (GLuint, const GLbyte *); -GLAPI void APIENTRY glVariantsvEXT (GLuint, const GLshort *); -GLAPI void APIENTRY glVariantivEXT (GLuint, const GLint *); -GLAPI void APIENTRY glVariantfvEXT (GLuint, const GLfloat *); -GLAPI void APIENTRY glVariantdvEXT (GLuint, const GLdouble *); -GLAPI void APIENTRY glVariantubvEXT (GLuint, const GLubyte *); -GLAPI void APIENTRY glVariantusvEXT (GLuint, const GLushort *); -GLAPI void APIENTRY glVariantuivEXT (GLuint, const GLuint *); -GLAPI void APIENTRY glVariantPointerEXT (GLuint, GLenum, GLuint, const GLvoid *); -GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint); -GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint); -GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum, GLenum); -GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum, GLenum); -GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum, GLenum, GLenum); -GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum, GLenum); -GLAPI GLuint APIENTRY glBindParameterEXT (GLenum); -GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint, GLenum); -GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint, GLenum, GLboolean *); -GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetVariantPointervEXT (GLuint, GLenum, GLvoid* *); -GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint, GLenum, GLboolean *); -GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint, GLenum, GLboolean *); -GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint, GLenum, GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void); -typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void); -typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id); -typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range); -typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id); -typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1); -typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2); -typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3); -typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); -typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); -typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num); -typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num); -typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components); -typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr); -typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr); -typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr); -typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr); -typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr); -typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr); -typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr); -typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr); -typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr); -typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr); -typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const GLvoid *addr); -typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id); -typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id); -typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value); -typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value); -typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value); -typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value); -typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value); -typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap); -typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); -typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); -typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); -typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, GLvoid* *data); -typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); -typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); -typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); -typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); -typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); -typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); -#endif - -#ifndef GL_ATI_vertex_streams -#define GL_ATI_vertex_streams 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexStream1sATI (GLenum, GLshort); -GLAPI void APIENTRY glVertexStream1svATI (GLenum, const GLshort *); -GLAPI void APIENTRY glVertexStream1iATI (GLenum, GLint); -GLAPI void APIENTRY glVertexStream1ivATI (GLenum, const GLint *); -GLAPI void APIENTRY glVertexStream1fATI (GLenum, GLfloat); -GLAPI void APIENTRY glVertexStream1fvATI (GLenum, const GLfloat *); -GLAPI void APIENTRY glVertexStream1dATI (GLenum, GLdouble); -GLAPI void APIENTRY glVertexStream1dvATI (GLenum, const GLdouble *); -GLAPI void APIENTRY glVertexStream2sATI (GLenum, GLshort, GLshort); -GLAPI void APIENTRY glVertexStream2svATI (GLenum, const GLshort *); -GLAPI void APIENTRY glVertexStream2iATI (GLenum, GLint, GLint); -GLAPI void APIENTRY glVertexStream2ivATI (GLenum, const GLint *); -GLAPI void APIENTRY glVertexStream2fATI (GLenum, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexStream2fvATI (GLenum, const GLfloat *); -GLAPI void APIENTRY glVertexStream2dATI (GLenum, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexStream2dvATI (GLenum, const GLdouble *); -GLAPI void APIENTRY glVertexStream3sATI (GLenum, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glVertexStream3svATI (GLenum, const GLshort *); -GLAPI void APIENTRY glVertexStream3iATI (GLenum, GLint, GLint, GLint); -GLAPI void APIENTRY glVertexStream3ivATI (GLenum, const GLint *); -GLAPI void APIENTRY glVertexStream3fATI (GLenum, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexStream3fvATI (GLenum, const GLfloat *); -GLAPI void APIENTRY glVertexStream3dATI (GLenum, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexStream3dvATI (GLenum, const GLdouble *); -GLAPI void APIENTRY glVertexStream4sATI (GLenum, GLshort, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glVertexStream4svATI (GLenum, const GLshort *); -GLAPI void APIENTRY glVertexStream4iATI (GLenum, GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glVertexStream4ivATI (GLenum, const GLint *); -GLAPI void APIENTRY glVertexStream4fATI (GLenum, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexStream4fvATI (GLenum, const GLfloat *); -GLAPI void APIENTRY glVertexStream4dATI (GLenum, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexStream4dvATI (GLenum, const GLdouble *); -GLAPI void APIENTRY glNormalStream3bATI (GLenum, GLbyte, GLbyte, GLbyte); -GLAPI void APIENTRY glNormalStream3bvATI (GLenum, const GLbyte *); -GLAPI void APIENTRY glNormalStream3sATI (GLenum, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glNormalStream3svATI (GLenum, const GLshort *); -GLAPI void APIENTRY glNormalStream3iATI (GLenum, GLint, GLint, GLint); -GLAPI void APIENTRY glNormalStream3ivATI (GLenum, const GLint *); -GLAPI void APIENTRY glNormalStream3fATI (GLenum, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glNormalStream3fvATI (GLenum, const GLfloat *); -GLAPI void APIENTRY glNormalStream3dATI (GLenum, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glNormalStream3dvATI (GLenum, const GLdouble *); -GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum); -GLAPI void APIENTRY glVertexBlendEnviATI (GLenum, GLint); -GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum, GLfloat); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x); -typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x); -typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x); -typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x); -typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords); -typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz); -typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords); -typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz); -typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords); -typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz); -typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords); -typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz); -typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords); -typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz); -typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords); -typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream); -typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param); -#endif - -#ifndef GL_ATI_element_array -#define GL_ATI_element_array 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glElementPointerATI (GLenum, const GLvoid *); -GLAPI void APIENTRY glDrawElementArrayATI (GLenum, GLsizei); -GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum, GLuint, GLuint, GLsizei); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count); -typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count); -#endif - -#ifndef GL_SUN_mesh_array -#define GL_SUN_mesh_array 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum, GLint, GLsizei, GLsizei); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width); -#endif - -#ifndef GL_SUN_slice_accum -#define GL_SUN_slice_accum 1 -#endif - -#ifndef GL_NV_multisample_filter_hint -#define GL_NV_multisample_filter_hint 1 -#endif - -#ifndef GL_NV_depth_clamp -#define GL_NV_depth_clamp 1 -#endif - -#ifndef GL_NV_occlusion_query -#define GL_NV_occlusion_query 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei, GLuint *); -GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei, const GLuint *); -GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint); -GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint); -GLAPI void APIENTRY glEndOcclusionQueryNV (void); -GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint, GLenum, GLuint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids); -typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids); -typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id); -typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id); -typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void); -typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params); -#endif - -#ifndef GL_NV_point_sprite -#define GL_NV_point_sprite 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPointParameteriNV (GLenum, GLint); -GLAPI void APIENTRY glPointParameterivNV (GLenum, const GLint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params); -#endif - -#ifndef GL_NV_texture_shader3 -#define GL_NV_texture_shader3 1 -#endif - -#ifndef GL_NV_vertex_program1_1 -#define GL_NV_vertex_program1_1 1 -#endif - -#ifndef GL_EXT_shadow_funcs -#define GL_EXT_shadow_funcs 1 -#endif - -#ifndef GL_EXT_stencil_two_side -#define GL_EXT_stencil_two_side 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face); -#endif - -#ifndef GL_ATI_text_fragment_shader -#define GL_ATI_text_fragment_shader 1 -#endif - -#ifndef GL_APPLE_client_storage -#define GL_APPLE_client_storage 1 -#endif - -#ifndef GL_APPLE_element_array -#define GL_APPLE_element_array 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glElementPointerAPPLE (GLenum, const GLvoid *); -GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum, GLint, GLsizei); -GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum, GLuint, GLuint, GLint, GLsizei); -GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum, const GLint *, const GLsizei *, GLsizei); -GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum, GLuint, GLuint, const GLint *, const GLsizei *, GLsizei); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count); -typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); -typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount); -#endif - -#ifndef GL_APPLE_fence -#define GL_APPLE_fence 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGenFencesAPPLE (GLsizei, GLuint *); -GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei, const GLuint *); -GLAPI void APIENTRY glSetFenceAPPLE (GLuint); -GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint); -GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint); -GLAPI void APIENTRY glFinishFenceAPPLE (GLuint); -GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum, GLuint); -GLAPI void APIENTRY glFinishObjectAPPLE (GLenum, GLint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences); -typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences); -typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence); -typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence); -typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence); -typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence); -typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name); -typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name); -#endif - -#ifndef GL_APPLE_vertex_array_object -#define GL_APPLE_vertex_array_object 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint); -GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei, const GLuint *); -GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei, GLuint *); -GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array); -typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays); -typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays); -typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array); -#endif - -#ifndef GL_APPLE_vertex_array_range -#define GL_APPLE_vertex_array_range 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei, GLvoid *); -GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei, GLvoid *); -GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum, GLint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer); -typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer); -typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param); -#endif - -#ifndef GL_APPLE_ycbcr_422 -#define GL_APPLE_ycbcr_422 1 -#endif - -#ifndef GL_S3_s3tc -#define GL_S3_s3tc 1 -#endif - -#ifndef GL_ATI_draw_buffers -#define GL_ATI_draw_buffers 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawBuffersATI (GLsizei, const GLenum *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs); -#endif - -#ifndef GL_ATI_pixel_format_float -#define GL_ATI_pixel_format_float 1 -/* This is really a WGL extension, but defines some associated GL enums. - * ATI does not export "GL_ATI_pixel_format_float" in the GL_EXTENSIONS string. - */ -#endif - -#ifndef GL_ATI_texture_env_combine3 -#define GL_ATI_texture_env_combine3 1 -#endif - -#ifndef GL_ATI_texture_float -#define GL_ATI_texture_float 1 -#endif - -#ifndef GL_NV_float_buffer -#define GL_NV_float_buffer 1 -#endif - -#ifndef GL_NV_fragment_program -#define GL_NV_fragment_program 1 -/* Some NV_fragment_program entry points are shared with ARB_vertex_program. */ -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint, GLsizei, const GLubyte *, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint, GLsizei, const GLubyte *, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint, GLsizei, const GLubyte *, const GLfloat *); -GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint, GLsizei, const GLubyte *, const GLdouble *); -GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint, GLsizei, const GLubyte *, GLfloat *); -GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint, GLsizei, const GLubyte *, GLdouble *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v); -typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v); -typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params); -typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params); -#endif - -#ifndef GL_NV_half_float -#define GL_NV_half_float 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertex2hNV (GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *); -GLAPI void APIENTRY glVertex3hNV (GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *); -GLAPI void APIENTRY glVertex4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *); -GLAPI void APIENTRY glNormal3hNV (GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *); -GLAPI void APIENTRY glColor3hNV (GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *); -GLAPI void APIENTRY glColor4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *); -GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV); -GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *); -GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *); -GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *); -GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *); -GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum, GLhalfNV); -GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum, const GLhalfNV *); -GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum, const GLhalfNV *); -GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum, GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum, const GLhalfNV *); -GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum, GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum, const GLhalfNV *); -GLAPI void APIENTRY glFogCoordhNV (GLhalfNV); -GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *); -GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *); -GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV); -GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *); -GLAPI void APIENTRY glVertexAttrib1hNV (GLuint, GLhalfNV); -GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint, const GLhalfNV *); -GLAPI void APIENTRY glVertexAttrib2hNV (GLuint, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint, const GLhalfNV *); -GLAPI void APIENTRY glVertexAttrib3hNV (GLuint, GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint, const GLhalfNV *); -GLAPI void APIENTRY glVertexAttrib4hNV (GLuint, GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint, const GLhalfNV *); -GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint, GLsizei, const GLhalfNV *); -GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint, GLsizei, const GLhalfNV *); -GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint, GLsizei, const GLhalfNV *); -GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint, GLsizei, const GLhalfNV *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y); -typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z); -typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); -typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz); -typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue); -typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha); -typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s); -typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t); -typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r); -typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); -typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog); -typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight); -typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); -#endif - -#ifndef GL_NV_pixel_data_range -#define GL_NV_pixel_data_range 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPixelDataRangeNV (GLenum, GLsizei, GLvoid *); -GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, GLvoid *pointer); -typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target); -#endif - -#ifndef GL_NV_primitive_restart -#define GL_NV_primitive_restart 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPrimitiveRestartNV (void); -GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void); -typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index); -#endif - -#ifndef GL_NV_texture_expand_normal -#define GL_NV_texture_expand_normal 1 -#endif - -#ifndef GL_NV_vertex_program2 -#define GL_NV_vertex_program2 1 -#endif - -#ifndef GL_ATI_map_object_buffer -#define GL_ATI_map_object_buffer 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLvoid* APIENTRY glMapObjectBufferATI (GLuint); -GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef GLvoid* (APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer); -#endif - -#ifndef GL_ATI_separate_stencil -#define GL_ATI_separate_stencil 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glStencilOpSeparateATI (GLenum, GLenum, GLenum, GLenum); -GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum, GLenum, GLint, GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); -#endif - -#ifndef GL_ATI_vertex_attrib_array_object -#define GL_ATI_vertex_attrib_array_object 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint, GLint, GLenum, GLboolean, GLsizei, GLuint, GLuint); -GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint, GLenum, GLint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params); -#endif - -#ifndef GL_OES_read_format -#define GL_OES_read_format 1 -#endif - -#ifndef GL_EXT_depth_bounds_test -#define GL_EXT_depth_bounds_test 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDepthBoundsEXT (GLclampd, GLclampd); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax); -#endif - -#ifndef GL_EXT_texture_mirror_clamp -#define GL_EXT_texture_mirror_clamp 1 -#endif - -#ifndef GL_EXT_blend_equation_separate -#define GL_EXT_blend_equation_separate 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum, GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha); -#endif - -#ifndef GL_MESA_pack_invert -#define GL_MESA_pack_invert 1 -#endif - -#ifndef GL_MESA_ycbcr_texture -#define GL_MESA_ycbcr_texture 1 -#endif - -#ifndef GL_EXT_pixel_buffer_object -#define GL_EXT_pixel_buffer_object 1 -#endif - -#ifndef GL_NV_fragment_program_option -#define GL_NV_fragment_program_option 1 -#endif - -#ifndef GL_NV_fragment_program2 -#define GL_NV_fragment_program2 1 -#endif - -#ifndef GL_NV_vertex_program2_option -#define GL_NV_vertex_program2_option 1 -#endif - -#ifndef GL_NV_vertex_program3 -#define GL_NV_vertex_program3 1 -#endif - -#ifndef GL_EXT_framebuffer_object -#define GL_EXT_framebuffer_object 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint); -GLAPI void APIENTRY glBindRenderbufferEXT (GLenum, GLuint); -GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei, const GLuint *); -GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei, GLuint *); -GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum, GLenum, GLsizei, GLsizei); -GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum, GLenum, GLint *); -GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint); -GLAPI void APIENTRY glBindFramebufferEXT (GLenum, GLuint); -GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei, const GLuint *); -GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei, GLuint *); -GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum); -GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum, GLenum, GLenum, GLuint, GLint); -GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum, GLenum, GLenum, GLuint, GLint); -GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum, GLenum, GLenum, GLuint, GLint, GLint); -GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum, GLenum, GLenum, GLuint); -GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum, GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGenerateMipmapEXT (GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer); -typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer); -typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers); -typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers); -typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer); -typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer); -typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers); -typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers); -typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target); -#endif - -#ifndef GL_GREMEDY_string_marker -#define GL_GREMEDY_string_marker 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const GLvoid *string); -#endif - -#ifndef GL_EXT_packed_depth_stencil -#define GL_EXT_packed_depth_stencil 1 -#endif - -#ifndef GL_EXT_stencil_clear_tag -#define GL_EXT_stencil_clear_tag 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glStencilClearTagEXT (GLsizei, GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag); -#endif - -#ifndef GL_EXT_texture_sRGB -#define GL_EXT_texture_sRGB 1 -#endif - -#ifndef GL_EXT_framebuffer_blit -#define GL_EXT_framebuffer_blit 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlitFramebufferEXT (GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -#endif - -#ifndef GL_EXT_framebuffer_multisample -#define GL_EXT_framebuffer_multisample 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum, GLsizei, GLenum, GLsizei, GLsizei); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -#endif - -#ifndef GL_MESAX_texture_stack -#define GL_MESAX_texture_stack 1 -#endif - -#ifndef GL_EXT_timer_query -#define GL_EXT_timer_query 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint, GLenum, GLint64EXT *); -GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint, GLenum, GLuint64EXT *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64EXT *params); -typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64EXT *params); -#endif - -#ifndef GL_EXT_gpu_program_parameters -#define GL_EXT_gpu_program_parameters 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum, GLuint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum, GLuint, GLsizei, const GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params); -#endif - -#ifndef GL_APPLE_flush_buffer_range -#define GL_APPLE_flush_buffer_range 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum, GLenum, GLint); -GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum, GLintptr, GLsizeiptr); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size); -#endif - -#ifndef GL_NV_gpu_program4 -#define GL_NV_gpu_program4 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum, GLuint, GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum, GLuint, const GLint *); -GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum, GLuint, GLsizei, const GLint *); -GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum, GLuint, const GLuint *); -GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum, GLuint, GLsizei, const GLuint *); -GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum, GLuint, GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum, GLuint, const GLint *); -GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum, GLuint, GLsizei, const GLint *); -GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum, GLuint, const GLuint *); -GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum, GLuint, GLsizei, const GLuint *); -GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum, GLuint, GLint *); -GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum, GLuint, GLuint *); -GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum, GLuint, GLint *); -GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum, GLuint, GLuint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params); -typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params); -typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params); -typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params); -typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params); -#endif - -#ifndef GL_NV_geometry_program4 -#define GL_NV_geometry_program4 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glProgramVertexLimitNV (GLenum, GLint); -GLAPI void APIENTRY glFramebufferTextureEXT (GLenum, GLenum, GLuint, GLint); -GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum, GLenum, GLuint, GLint, GLint); -GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum, GLenum, GLuint, GLint, GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); -#endif - -#ifndef GL_EXT_geometry_shader4 -#define GL_EXT_geometry_shader4 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glProgramParameteriEXT (GLuint, GLenum, GLint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value); -#endif - -#ifndef GL_NV_vertex_program4 -#define GL_NV_vertex_program4 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint, GLint); -GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint, GLint, GLint); -GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint, GLint, GLint, GLint); -GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint, GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint, GLuint); -GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint, GLuint, GLuint); -GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint, const GLint *); -GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint, const GLint *); -GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint, const GLint *); -GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint, const GLint *); -GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint, const GLuint *); -GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint, const GLuint *); -GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint, const GLuint *); -GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint, const GLuint *); -GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint, const GLbyte *); -GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint, const GLubyte *); -GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint, const GLushort *); -GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint, GLint, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint, GLenum, GLuint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params); -#endif - -#ifndef GL_EXT_gpu_shader4 -#define GL_EXT_gpu_shader4 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGetUniformuivEXT (GLuint, GLint, GLuint *); -GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint, GLuint, const GLchar *); -GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint, const GLchar *); -GLAPI void APIENTRY glUniform1uiEXT (GLint, GLuint); -GLAPI void APIENTRY glUniform2uiEXT (GLint, GLuint, GLuint); -GLAPI void APIENTRY glUniform3uiEXT (GLint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glUniform4uiEXT (GLint, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glUniform1uivEXT (GLint, GLsizei, const GLuint *); -GLAPI void APIENTRY glUniform2uivEXT (GLint, GLsizei, const GLuint *); -GLAPI void APIENTRY glUniform3uivEXT (GLint, GLsizei, const GLuint *); -GLAPI void APIENTRY glUniform4uivEXT (GLint, GLsizei, const GLuint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params); -typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name); -typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name); -typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0); -typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1); -typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2); -typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); -#endif - -#ifndef GL_EXT_draw_instanced -#define GL_EXT_draw_instanced 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum, GLint, GLsizei, GLsizei); -GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum, GLsizei, GLenum, const GLvoid *, GLsizei); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount); -typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount); -#endif - -#ifndef GL_EXT_packed_float -#define GL_EXT_packed_float 1 -#endif - -#ifndef GL_EXT_texture_array -#define GL_EXT_texture_array 1 -#endif - -#ifndef GL_EXT_texture_buffer_object -#define GL_EXT_texture_buffer_object 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexBufferEXT (GLenum, GLenum, GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer); -#endif - -#ifndef GL_EXT_texture_compression_latc -#define GL_EXT_texture_compression_latc 1 -#endif - -#ifndef GL_EXT_texture_compression_rgtc -#define GL_EXT_texture_compression_rgtc 1 -#endif - -#ifndef GL_EXT_texture_shared_exponent -#define GL_EXT_texture_shared_exponent 1 -#endif - -#ifndef GL_NV_depth_buffer_float -#define GL_NV_depth_buffer_float 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDepthRangedNV (GLdouble, GLdouble); -GLAPI void APIENTRY glClearDepthdNV (GLdouble); -GLAPI void APIENTRY glDepthBoundsdNV (GLdouble, GLdouble); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar); -typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth); -typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax); -#endif - -#ifndef GL_NV_fragment_program4 -#define GL_NV_fragment_program4 1 -#endif - -#ifndef GL_NV_framebuffer_multisample_coverage -#define GL_NV_framebuffer_multisample_coverage 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum, GLsizei, GLsizei, GLenum, GLsizei, GLsizei); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); -#endif - -#ifndef GL_EXT_framebuffer_sRGB -#define GL_EXT_framebuffer_sRGB 1 -#endif - -#ifndef GL_NV_geometry_shader4 -#define GL_NV_geometry_shader4 1 -#endif - -#ifndef GL_NV_parameter_buffer_object -#define GL_NV_parameter_buffer_object 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum, GLuint, GLuint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum, GLuint, GLuint, GLsizei, const GLint *); -GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum, GLuint, GLuint, GLsizei, const GLuint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params); -typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLint *params); -typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLuint *params); -#endif - -#ifndef GL_EXT_draw_buffers2 -#define GL_EXT_draw_buffers2 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint, GLboolean, GLboolean, GLboolean, GLboolean); -GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum, GLuint, GLboolean *); -GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum, GLuint, GLint *); -GLAPI void APIENTRY glEnableIndexedEXT (GLenum, GLuint); -GLAPI void APIENTRY glDisableIndexedEXT (GLenum, GLuint); -GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum, GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); -typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data); -typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data); -typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index); -typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index); -typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index); -#endif - -#ifndef GL_NV_transform_feedback -#define GL_NV_transform_feedback 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum); -GLAPI void APIENTRY glEndTransformFeedbackNV (void); -GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLuint, const GLint *, GLenum); -GLAPI void APIENTRY glBindBufferRangeNV (GLenum, GLuint, GLuint, GLintptr, GLsizeiptr); -GLAPI void APIENTRY glBindBufferOffsetNV (GLenum, GLuint, GLuint, GLintptr); -GLAPI void APIENTRY glBindBufferBaseNV (GLenum, GLuint, GLuint); -GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint, GLsizei, const GLint *, GLenum); -GLAPI void APIENTRY glActiveVaryingNV (GLuint, const GLchar *); -GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint, const GLchar *); -GLAPI void APIENTRY glGetActiveVaryingNV (GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *); -GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint, GLuint, GLint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode); -typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void); -typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode); -typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset); -typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer); -typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode); -typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name); -typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name); -typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); -typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location); -#endif - -#ifndef GL_EXT_bindable_uniform -#define GL_EXT_bindable_uniform 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glUniformBufferEXT (GLuint, GLint, GLuint); -GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint, GLint); -GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint, GLint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer); -typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location); -typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location); -#endif - -#ifndef GL_EXT_texture_integer -#define GL_EXT_texture_integer 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexParameterIivEXT (GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glTexParameterIuivEXT (GLenum, GLenum, const GLuint *); -GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum, GLenum, GLuint *); -GLAPI void APIENTRY glClearColorIiEXT (GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glClearColorIuiEXT (GLuint, GLuint, GLuint, GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params); -typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params); -typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha); -typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha); -#endif - -#ifndef GL_GREMEDY_frame_terminator -#define GL_GREMEDY_frame_terminator 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFrameTerminatorGREMEDY (void); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void); -#endif - -#ifndef GL_NV_conditional_render -#define GL_NV_conditional_render 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint, GLenum); -GLAPI void APIENTRY glEndConditionalRenderNV (void); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode); -typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void); -#endif - -#ifndef GL_NV_present_video -#define GL_NV_present_video 1 -#endif - -#ifndef GL_EXT_transform_feedback -#define GL_EXT_transform_feedback 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum); -GLAPI void APIENTRY glEndTransformFeedbackEXT (void); -GLAPI void APIENTRY glBindBufferRangeEXT (GLenum, GLuint, GLuint, GLintptr, GLsizeiptr); -GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum, GLuint, GLuint, GLintptr); -GLAPI void APIENTRY glBindBufferBaseEXT (GLenum, GLuint, GLuint); -GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint, GLsizei, const GLint *, GLenum); -GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint, GLuint, GLint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode); -typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void); -typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset); -typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer); -typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode); -typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLint *location); -#endif - -#ifndef GL_EXT_direct_state_access -#define GL_EXT_direct_state_access 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield); -GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield); -GLAPI void APIENTRY glMatrixLoadfEXT (GLenum, const GLfloat *); -GLAPI void APIENTRY glMatrixLoaddEXT (GLenum, const GLdouble *); -GLAPI void APIENTRY glMatrixMultfEXT (GLenum, const GLfloat *); -GLAPI void APIENTRY glMatrixMultdEXT (GLenum, const GLdouble *); -GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum); -GLAPI void APIENTRY glMatrixRotatefEXT (GLenum, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glMatrixRotatedEXT (GLenum, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glMatrixScalefEXT (GLenum, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glMatrixScaledEXT (GLenum, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glMatrixFrustumEXT (GLenum, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glMatrixOrthoEXT (GLenum, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glMatrixPopEXT (GLenum); -GLAPI void APIENTRY glMatrixPushEXT (GLenum); -GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum, const GLfloat *); -GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum, const GLdouble *); -GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum, const GLfloat *); -GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum, const GLdouble *); -GLAPI void APIENTRY glTextureParameterfEXT (GLuint, GLenum, GLenum, GLfloat); -GLAPI void APIENTRY glTextureParameterfvEXT (GLuint, GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glTextureParameteriEXT (GLuint, GLenum, GLenum, GLint); -GLAPI void APIENTRY glTextureParameterivEXT (GLuint, GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glTextureImage1DEXT (GLuint, GLenum, GLint, GLenum, GLsizei, GLint, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glTextureImage2DEXT (GLuint, GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint, GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint, GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint); -GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint, GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint); -GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint, GLenum, GLint, GLint, GLint, GLint, GLsizei); -GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint, GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); -GLAPI void APIENTRY glGetTextureImageEXT (GLuint, GLenum, GLint, GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint, GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint, GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint, GLenum, GLint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint, GLenum, GLint, GLenum, GLint *); -GLAPI void APIENTRY glTextureImage3DEXT (GLuint, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glTextureSubImage3DEXT (GLuint, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint, GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); -GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum, GLenum, GLenum, GLfloat); -GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum, GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum, GLenum, GLenum, GLint); -GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum, GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum, GLenum, GLint, GLenum, GLsizei, GLint, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glMultiTexImage2DEXT (GLenum, GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum, GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum, GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint); -GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum, GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint); -GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum, GLenum, GLint, GLint, GLint, GLint, GLsizei); -GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum, GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); -GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum, GLenum, GLint, GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum, GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum, GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum, GLenum, GLint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum, GLenum, GLint, GLenum, GLint *); -GLAPI void APIENTRY glMultiTexImage3DEXT (GLenum, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glMultiTexSubImage3DEXT (GLenum, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum, GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); -GLAPI void APIENTRY glBindMultiTextureEXT (GLenum, GLenum, GLuint); -GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum, GLuint); -GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum, GLuint); -GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum, GLint, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum, GLenum, GLenum, GLfloat); -GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum, GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glMultiTexEnviEXT (GLenum, GLenum, GLenum, GLint); -GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum, GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glMultiTexGendEXT (GLenum, GLenum, GLenum, GLdouble); -GLAPI void APIENTRY glMultiTexGendvEXT (GLenum, GLenum, GLenum, const GLdouble *); -GLAPI void APIENTRY glMultiTexGenfEXT (GLenum, GLenum, GLenum, GLfloat); -GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum, GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glMultiTexGeniEXT (GLenum, GLenum, GLenum, GLint); -GLAPI void APIENTRY glMultiTexGenivEXT (GLenum, GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum, GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum, GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum, GLenum, GLenum, GLdouble *); -GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum, GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum, GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum, GLuint, GLfloat *); -GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum, GLuint, GLdouble *); -GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum, GLuint, GLvoid* *); -GLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint, GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint, GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTextureSubImage3DEXT (GLuint, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint, GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint, GLenum, GLint, GLvoid *); -GLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum, GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum, GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedMultiTexSubImage3DEXT (GLenum, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum, GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum, GLenum, GLint, GLvoid *); -GLAPI void APIENTRY glNamedProgramStringEXT (GLuint, GLenum, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint, GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint, GLenum, GLuint, const GLdouble *); -GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint, GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint, GLenum, GLuint, const GLfloat *); -GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint, GLenum, GLuint, GLdouble *); -GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint, GLenum, GLuint, GLfloat *); -GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint, GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint, GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint, GLenum, GLuint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint, GLenum, GLuint, GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint, GLenum, GLuint, const GLint *); -GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint, GLenum, GLuint, GLsizei, const GLint *); -GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint, GLenum, GLuint, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint, GLenum, GLuint, const GLuint *); -GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint, GLenum, GLuint, GLsizei, const GLuint *); -GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint, GLenum, GLuint, GLint *); -GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint, GLenum, GLuint, GLuint *); -GLAPI void APIENTRY glTextureParameterIivEXT (GLuint, GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint, GLenum, GLenum, const GLuint *); -GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint, GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint, GLenum, GLenum, GLuint *); -GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum, GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum, GLenum, GLenum, const GLuint *); -GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum, GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum, GLenum, GLenum, GLuint *); -GLAPI void APIENTRY glProgramUniform1fEXT (GLuint, GLint, GLfloat); -GLAPI void APIENTRY glProgramUniform2fEXT (GLuint, GLint, GLfloat, GLfloat); -GLAPI void APIENTRY glProgramUniform3fEXT (GLuint, GLint, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glProgramUniform4fEXT (GLuint, GLint, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glProgramUniform1iEXT (GLuint, GLint, GLint); -GLAPI void APIENTRY glProgramUniform2iEXT (GLuint, GLint, GLint, GLint); -GLAPI void APIENTRY glProgramUniform3iEXT (GLuint, GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glProgramUniform4iEXT (GLuint, GLint, GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint, GLint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint, GLint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint, GLint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint, GLint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint, GLint, GLsizei, const GLint *); -GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint, GLint, GLsizei, const GLint *); -GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint, GLint, GLsizei, const GLint *); -GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint, GLint, GLsizei, const GLint *); -GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint, GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint, GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint, GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint, GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint, GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint, GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint, GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint, GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint, GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint, GLint, GLuint); -GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint, GLint, GLuint, GLuint); -GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint, GLint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint, GLint, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint, GLint, GLsizei, const GLuint *); -GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint, GLint, GLsizei, const GLuint *); -GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint, GLint, GLsizei, const GLuint *); -GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint, GLint, GLsizei, const GLuint *); -GLAPI void APIENTRY glNamedBufferDataEXT (GLuint, GLsizeiptr, const GLvoid *, GLenum); -GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint, GLintptr, GLsizeiptr, const GLvoid *); -GLAPI GLvoid* APIENTRY glMapNamedBufferEXT (GLuint, GLenum); -GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint); -GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint, GLenum, GLvoid* *); -GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint, GLintptr, GLsizeiptr, GLvoid *); -GLAPI void APIENTRY glTextureBufferEXT (GLuint, GLenum, GLenum, GLuint); -GLAPI void APIENTRY glMultiTexBufferEXT (GLenum, GLenum, GLenum, GLuint); -GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint, GLenum, GLsizei, GLsizei); -GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint, GLenum, GLint *); -GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint, GLenum); -GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint, GLenum, GLenum, GLuint, GLint); -GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint, GLenum, GLenum, GLuint, GLint); -GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint, GLenum, GLenum, GLuint, GLint, GLint); -GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint, GLenum, GLenum, GLuint); -GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint, GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint, GLenum); -GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum, GLenum); -GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint, GLenum); -GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint, GLsizei, const GLenum *); -GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint, GLenum); -GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint, GLsizei, GLenum, GLsizei, GLsizei); -GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint, GLsizei, GLsizei, GLenum, GLsizei, GLsizei); -GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint, GLenum, GLuint, GLint); -GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint, GLenum, GLuint, GLint, GLint); -GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint, GLenum, GLuint, GLint, GLenum); -GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint, GLenum, GLuint); -GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum, GLenum, GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask); -typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask); -typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m); -typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m); -typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m); -typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m); -typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode); -typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); -typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); -typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode); -typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode); -typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m); -typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m); -typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m); -typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); -typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels); -typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); -typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels); -typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture); -typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index); -typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index); -typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param); -typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params); -typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params); -typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data); -typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data); -typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLvoid* *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *bits); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits); -typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, GLvoid *img); -typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits); -typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits); -typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits); -typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *bits); -typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits); -typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits); -typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, GLvoid *img); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const GLvoid *string); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params); -typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params); -typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params); -typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, GLvoid *string); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params); -typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params); -typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params); -typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params); -typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params); -typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const GLvoid *data, GLenum usage); -typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const GLvoid *data); -typedef GLvoid* (APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access); -typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, GLvoid* *params); -typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLvoid *data); -typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer); -typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer); -typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params); -typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target); -typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target); -typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode); -typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs); -typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode); -typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face); -typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer); -typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer); -#endif - -#ifndef GL_EXT_vertex_array_bgra -#define GL_EXT_vertex_array_bgra 1 -#endif - - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/Libraries/GL/glu.h b/Libraries/GL/glu.h deleted file mode 100644 index c0bac75a..00000000 --- a/Libraries/GL/glu.h +++ /dev/null @@ -1,340 +0,0 @@ -/* -** License Applicability. Except to the extent portions of this file are -** made subject to an alternative license as permitted in the SGI Free -** Software License B, Version 1.1 (the "License"), the contents of this -** file are subject only to the provisions of the License. You may not use -** this file except in compliance with the License. You may obtain a copy -** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 -** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: -** -** http://oss.sgi.com/projects/FreeB -** -** Note that, as provided in the License, the Software is distributed on an -** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS -** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND -** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A -** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. -** -** Original Code. The Original Code is: OpenGL Sample Implementation, -** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, -** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. -** Copyright in any portions created by third parties is as indicated -** elsewhere herein. All Rights Reserved. -** -** Additional Notice Provisions: This software was created using the -** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has -** not been independently verified as being compliant with the OpenGL(R) -** version 1.2.1 Specification. -*/ - -#ifndef __glu_h__ -#define __glu_h__ - -#if defined(USE_MGL_NAMESPACE) -#include "glu_mangle.h" -#endif - -#include - -#ifndef GLAPIENTRY -#define GLAPIENTRY -#endif - -#ifndef GLAPIENTRYP -#define GLAPIENTRYP GLAPIENTRY * -#endif - -#ifndef GLAPI -#define GLAPI -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/*************************************************************/ - -/* Extensions */ -#define GLU_EXT_object_space_tess 1 -#define GLU_EXT_nurbs_tessellator 1 - -/* Boolean */ -#define GLU_FALSE 0 -#define GLU_TRUE 1 - -/* Version */ -#define GLU_VERSION_1_1 1 -#define GLU_VERSION_1_2 1 -#define GLU_VERSION_1_3 1 - -/* StringName */ -#define GLU_VERSION 100800 -#define GLU_EXTENSIONS 100801 - -/* ErrorCode */ -#define GLU_INVALID_ENUM 100900 -#define GLU_INVALID_VALUE 100901 -#define GLU_OUT_OF_MEMORY 100902 -#define GLU_INCOMPATIBLE_GL_VERSION 100903 -#define GLU_INVALID_OPERATION 100904 - -/* NurbsDisplay */ -/* GLU_FILL */ -#define GLU_OUTLINE_POLYGON 100240 -#define GLU_OUTLINE_PATCH 100241 - -/* NurbsCallback */ -#define GLU_NURBS_ERROR 100103 -#define GLU_ERROR 100103 -#define GLU_NURBS_BEGIN 100164 -#define GLU_NURBS_BEGIN_EXT 100164 -#define GLU_NURBS_VERTEX 100165 -#define GLU_NURBS_VERTEX_EXT 100165 -#define GLU_NURBS_NORMAL 100166 -#define GLU_NURBS_NORMAL_EXT 100166 -#define GLU_NURBS_COLOR 100167 -#define GLU_NURBS_COLOR_EXT 100167 -#define GLU_NURBS_TEXTURE_COORD 100168 -#define GLU_NURBS_TEX_COORD_EXT 100168 -#define GLU_NURBS_END 100169 -#define GLU_NURBS_END_EXT 100169 -#define GLU_NURBS_BEGIN_DATA 100170 -#define GLU_NURBS_BEGIN_DATA_EXT 100170 -#define GLU_NURBS_VERTEX_DATA 100171 -#define GLU_NURBS_VERTEX_DATA_EXT 100171 -#define GLU_NURBS_NORMAL_DATA 100172 -#define GLU_NURBS_NORMAL_DATA_EXT 100172 -#define GLU_NURBS_COLOR_DATA 100173 -#define GLU_NURBS_COLOR_DATA_EXT 100173 -#define GLU_NURBS_TEXTURE_COORD_DATA 100174 -#define GLU_NURBS_TEX_COORD_DATA_EXT 100174 -#define GLU_NURBS_END_DATA 100175 -#define GLU_NURBS_END_DATA_EXT 100175 - -/* NurbsError */ -#define GLU_NURBS_ERROR1 100251 -#define GLU_NURBS_ERROR2 100252 -#define GLU_NURBS_ERROR3 100253 -#define GLU_NURBS_ERROR4 100254 -#define GLU_NURBS_ERROR5 100255 -#define GLU_NURBS_ERROR6 100256 -#define GLU_NURBS_ERROR7 100257 -#define GLU_NURBS_ERROR8 100258 -#define GLU_NURBS_ERROR9 100259 -#define GLU_NURBS_ERROR10 100260 -#define GLU_NURBS_ERROR11 100261 -#define GLU_NURBS_ERROR12 100262 -#define GLU_NURBS_ERROR13 100263 -#define GLU_NURBS_ERROR14 100264 -#define GLU_NURBS_ERROR15 100265 -#define GLU_NURBS_ERROR16 100266 -#define GLU_NURBS_ERROR17 100267 -#define GLU_NURBS_ERROR18 100268 -#define GLU_NURBS_ERROR19 100269 -#define GLU_NURBS_ERROR20 100270 -#define GLU_NURBS_ERROR21 100271 -#define GLU_NURBS_ERROR22 100272 -#define GLU_NURBS_ERROR23 100273 -#define GLU_NURBS_ERROR24 100274 -#define GLU_NURBS_ERROR25 100275 -#define GLU_NURBS_ERROR26 100276 -#define GLU_NURBS_ERROR27 100277 -#define GLU_NURBS_ERROR28 100278 -#define GLU_NURBS_ERROR29 100279 -#define GLU_NURBS_ERROR30 100280 -#define GLU_NURBS_ERROR31 100281 -#define GLU_NURBS_ERROR32 100282 -#define GLU_NURBS_ERROR33 100283 -#define GLU_NURBS_ERROR34 100284 -#define GLU_NURBS_ERROR35 100285 -#define GLU_NURBS_ERROR36 100286 -#define GLU_NURBS_ERROR37 100287 - -/* NurbsProperty */ -#define GLU_AUTO_LOAD_MATRIX 100200 -#define GLU_CULLING 100201 -#define GLU_SAMPLING_TOLERANCE 100203 -#define GLU_DISPLAY_MODE 100204 -#define GLU_PARAMETRIC_TOLERANCE 100202 -#define GLU_SAMPLING_METHOD 100205 -#define GLU_U_STEP 100206 -#define GLU_V_STEP 100207 -#define GLU_NURBS_MODE 100160 -#define GLU_NURBS_MODE_EXT 100160 -#define GLU_NURBS_TESSELLATOR 100161 -#define GLU_NURBS_TESSELLATOR_EXT 100161 -#define GLU_NURBS_RENDERER 100162 -#define GLU_NURBS_RENDERER_EXT 100162 - -/* NurbsSampling */ -#define GLU_OBJECT_PARAMETRIC_ERROR 100208 -#define GLU_OBJECT_PARAMETRIC_ERROR_EXT 100208 -#define GLU_OBJECT_PATH_LENGTH 100209 -#define GLU_OBJECT_PATH_LENGTH_EXT 100209 -#define GLU_PATH_LENGTH 100215 -#define GLU_PARAMETRIC_ERROR 100216 -#define GLU_DOMAIN_DISTANCE 100217 - -/* NurbsTrim */ -#define GLU_MAP1_TRIM_2 100210 -#define GLU_MAP1_TRIM_3 100211 - -/* QuadricDrawStyle */ -#define GLU_POINT 100010 -#define GLU_LINE 100011 -#define GLU_FILL 100012 -#define GLU_SILHOUETTE 100013 - -/* QuadricCallback */ -/* GLU_ERROR */ - -/* QuadricNormal */ -#define GLU_SMOOTH 100000 -#define GLU_FLAT 100001 -#define GLU_NONE 100002 - -/* QuadricOrientation */ -#define GLU_OUTSIDE 100020 -#define GLU_INSIDE 100021 - -/* TessCallback */ -#define GLU_TESS_BEGIN 100100 -#define GLU_BEGIN 100100 -#define GLU_TESS_VERTEX 100101 -#define GLU_VERTEX 100101 -#define GLU_TESS_END 100102 -#define GLU_END 100102 -#define GLU_TESS_ERROR 100103 -#define GLU_TESS_EDGE_FLAG 100104 -#define GLU_EDGE_FLAG 100104 -#define GLU_TESS_COMBINE 100105 -#define GLU_TESS_BEGIN_DATA 100106 -#define GLU_TESS_VERTEX_DATA 100107 -#define GLU_TESS_END_DATA 100108 -#define GLU_TESS_ERROR_DATA 100109 -#define GLU_TESS_EDGE_FLAG_DATA 100110 -#define GLU_TESS_COMBINE_DATA 100111 - -/* TessContour */ -#define GLU_CW 100120 -#define GLU_CCW 100121 -#define GLU_INTERIOR 100122 -#define GLU_EXTERIOR 100123 -#define GLU_UNKNOWN 100124 - -/* TessProperty */ -#define GLU_TESS_WINDING_RULE 100140 -#define GLU_TESS_BOUNDARY_ONLY 100141 -#define GLU_TESS_TOLERANCE 100142 - -/* TessError */ -#define GLU_TESS_ERROR1 100151 -#define GLU_TESS_ERROR2 100152 -#define GLU_TESS_ERROR3 100153 -#define GLU_TESS_ERROR4 100154 -#define GLU_TESS_ERROR5 100155 -#define GLU_TESS_ERROR6 100156 -#define GLU_TESS_ERROR7 100157 -#define GLU_TESS_ERROR8 100158 -#define GLU_TESS_MISSING_BEGIN_POLYGON 100151 -#define GLU_TESS_MISSING_BEGIN_CONTOUR 100152 -#define GLU_TESS_MISSING_END_POLYGON 100153 -#define GLU_TESS_MISSING_END_CONTOUR 100154 -#define GLU_TESS_COORD_TOO_LARGE 100155 -#define GLU_TESS_NEED_COMBINE_CALLBACK 100156 - -/* TessWinding */ -#define GLU_TESS_WINDING_ODD 100130 -#define GLU_TESS_WINDING_NONZERO 100131 -#define GLU_TESS_WINDING_POSITIVE 100132 -#define GLU_TESS_WINDING_NEGATIVE 100133 -#define GLU_TESS_WINDING_ABS_GEQ_TWO 100134 - -/*************************************************************/ - - -#ifdef __cplusplus -class GLUnurbs; -class GLUquadric; -class GLUtesselator; -#else -typedef struct GLUnurbs GLUnurbs; -typedef struct GLUquadric GLUquadric; -typedef struct GLUtesselator GLUtesselator; -#endif - -typedef GLUnurbs GLUnurbsObj; -typedef GLUquadric GLUquadricObj; -typedef GLUtesselator GLUtesselatorObj; -typedef GLUtesselator GLUtriangulatorObj; - -#define GLU_TESS_MAX_COORD 1.0e150 - -/* Internal convenience typedefs */ -typedef void (GLAPIENTRYP _GLUfuncptr)(); - -GLAPI void GLAPIENTRY gluBeginCurve (GLUnurbs* nurb); -GLAPI void GLAPIENTRY gluBeginPolygon (GLUtesselator* tess); -GLAPI void GLAPIENTRY gluBeginSurface (GLUnurbs* nurb); -GLAPI void GLAPIENTRY gluBeginTrim (GLUnurbs* nurb); -GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data); -GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data); -GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data); -GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data); -GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data); -GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data); -GLAPI GLboolean GLAPIENTRY gluCheckExtension (const GLubyte *extName, const GLubyte *extString); -GLAPI void GLAPIENTRY gluCylinder (GLUquadric* quad, GLdouble base, GLdouble top, GLdouble height, GLint slices, GLint stacks); -GLAPI void GLAPIENTRY gluDeleteNurbsRenderer (GLUnurbs* nurb); -GLAPI void GLAPIENTRY gluDeleteQuadric (GLUquadric* quad); -GLAPI void GLAPIENTRY gluDeleteTess (GLUtesselator* tess); -GLAPI void GLAPIENTRY gluDisk (GLUquadric* quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops); -GLAPI void GLAPIENTRY gluEndCurve (GLUnurbs* nurb); -GLAPI void GLAPIENTRY gluEndPolygon (GLUtesselator* tess); -GLAPI void GLAPIENTRY gluEndSurface (GLUnurbs* nurb); -GLAPI void GLAPIENTRY gluEndTrim (GLUnurbs* nurb); -GLAPI const GLubyte * GLAPIENTRY gluErrorString (GLenum error); -GLAPI void GLAPIENTRY gluGetNurbsProperty (GLUnurbs* nurb, GLenum property, GLfloat* data); -GLAPI const GLubyte * GLAPIENTRY gluGetString (GLenum name); -GLAPI void GLAPIENTRY gluGetTessProperty (GLUtesselator* tess, GLenum which, GLdouble* data); -GLAPI void GLAPIENTRY gluLoadSamplingMatrices (GLUnurbs* nurb, const GLfloat *model, const GLfloat *perspective, const GLint *view); -GLAPI void GLAPIENTRY gluLookAt (GLdouble eyeX, GLdouble eyeY, GLdouble eyeZ, GLdouble centerX, GLdouble centerY, GLdouble centerZ, GLdouble upX, GLdouble upY, GLdouble upZ); -GLAPI GLUnurbs* GLAPIENTRY gluNewNurbsRenderer (void); -GLAPI GLUquadric* GLAPIENTRY gluNewQuadric (void); -GLAPI GLUtesselator* GLAPIENTRY gluNewTess (void); -GLAPI void GLAPIENTRY gluNextContour (GLUtesselator* tess, GLenum type); -GLAPI void GLAPIENTRY gluNurbsCallback (GLUnurbs* nurb, GLenum which, _GLUfuncptr CallBackFunc); -GLAPI void GLAPIENTRY gluNurbsCallbackData (GLUnurbs* nurb, GLvoid* userData); -GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData); -GLAPI void GLAPIENTRY gluNurbsCurve (GLUnurbs* nurb, GLint knotCount, GLfloat *knots, GLint stride, GLfloat *control, GLint order, GLenum type); -GLAPI void GLAPIENTRY gluNurbsProperty (GLUnurbs* nurb, GLenum property, GLfloat value); -GLAPI void GLAPIENTRY gluNurbsSurface (GLUnurbs* nurb, GLint sKnotCount, GLfloat* sKnots, GLint tKnotCount, GLfloat* tKnots, GLint sStride, GLint tStride, GLfloat* control, GLint sOrder, GLint tOrder, GLenum type); -GLAPI void GLAPIENTRY gluOrtho2D (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top); -GLAPI void GLAPIENTRY gluPartialDisk (GLUquadric* quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops, GLdouble start, GLdouble sweep); -GLAPI void GLAPIENTRY gluPerspective (GLdouble fovy, GLdouble aspect, GLdouble zNear, GLdouble zFar); -GLAPI void GLAPIENTRY gluPickMatrix (GLdouble x, GLdouble y, GLdouble delX, GLdouble delY, GLint *viewport); -GLAPI GLint GLAPIENTRY gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ); -GLAPI void GLAPIENTRY gluPwlCurve (GLUnurbs* nurb, GLint count, GLfloat* data, GLint stride, GLenum type); -GLAPI void GLAPIENTRY gluQuadricCallback (GLUquadric* quad, GLenum which, _GLUfuncptr CallBackFunc); -GLAPI void GLAPIENTRY gluQuadricDrawStyle (GLUquadric* quad, GLenum draw); -GLAPI void GLAPIENTRY gluQuadricNormals (GLUquadric* quad, GLenum normal); -GLAPI void GLAPIENTRY gluQuadricOrientation (GLUquadric* quad, GLenum orientation); -GLAPI void GLAPIENTRY gluQuadricTexture (GLUquadric* quad, GLboolean texture); -GLAPI GLint GLAPIENTRY gluScaleImage (GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void *dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid* dataOut); -GLAPI void GLAPIENTRY gluSphere (GLUquadric* quad, GLdouble radius, GLint slices, GLint stacks); -GLAPI void GLAPIENTRY gluTessBeginContour (GLUtesselator* tess); -GLAPI void GLAPIENTRY gluTessBeginPolygon (GLUtesselator* tess, GLvoid* data); -GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); -GLAPI void GLAPIENTRY gluTessEndContour (GLUtesselator* tess); -GLAPI void GLAPIENTRY gluTessEndPolygon (GLUtesselator* tess); -GLAPI void GLAPIENTRY gluTessNormal (GLUtesselator* tess, GLdouble valueX, GLdouble valueY, GLdouble valueZ); -GLAPI void GLAPIENTRY gluTessProperty (GLUtesselator* tess, GLenum which, GLdouble data); -GLAPI void GLAPIENTRY gluTessVertex (GLUtesselator* tess, GLdouble *location, GLvoid* data); -GLAPI GLint GLAPIENTRY gluUnProject (GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* objX, GLdouble* objY, GLdouble* objZ); -GLAPI GLint GLAPIENTRY gluUnProject4 (GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble nearVal, GLdouble farVal, GLdouble* objX, GLdouble* objY, GLdouble* objZ, GLdouble* objW); - -#ifdef __cplusplus -} -#endif - -#endif /* __glu_h__ */ diff --git a/Libraries/GL/glu_mangle.h b/Libraries/GL/glu_mangle.h deleted file mode 100644 index 9c25aa86..00000000 --- a/Libraries/GL/glu_mangle.h +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Mesa 3-D graphics library - * Version: 3.0 - * Copyright (C) 1995-1998 Brian Paul - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#ifndef GLU_MANGLE_H -#define GLU_MANGLE_H - - -#define gluLookAt mgluLookAt -#define gluOrtho2D mgluOrtho2D -#define gluPerspective mgluPerspective -#define gluPickMatrix mgluPickMatrix -#define gluProject mgluProject -#define gluUnProject mgluUnProject -#define gluErrorString mgluErrorString -#define gluScaleImage mgluScaleImage -#define gluBuild1DMipmaps mgluBuild1DMipmaps -#define gluBuild2DMipmaps mgluBuild2DMipmaps -#define gluNewQuadric mgluNewQuadric -#define gluDeleteQuadric mgluDeleteQuadric -#define gluQuadricDrawStyle mgluQuadricDrawStyle -#define gluQuadricOrientation mgluQuadricOrientation -#define gluQuadricNormals mgluQuadricNormals -#define gluQuadricTexture mgluQuadricTexture -#define gluQuadricCallback mgluQuadricCallback -#define gluCylinder mgluCylinder -#define gluSphere mgluSphere -#define gluDisk mgluDisk -#define gluPartialDisk mgluPartialDisk -#define gluNewNurbsRenderer mgluNewNurbsRenderer -#define gluDeleteNurbsRenderer mgluDeleteNurbsRenderer -#define gluLoadSamplingMatrices mgluLoadSamplingMatrices -#define gluNurbsProperty mgluNurbsProperty -#define gluGetNurbsProperty mgluGetNurbsProperty -#define gluBeginCurve mgluBeginCurve -#define gluEndCurve mgluEndCurve -#define gluNurbsCurve mgluNurbsCurve -#define gluBeginSurface mgluBeginSurface -#define gluEndSurface mgluEndSurface -#define gluNurbsSurface mgluNurbsSurface -#define gluBeginTrim mgluBeginTrim -#define gluEndTrim mgluEndTrim -#define gluPwlCurve mgluPwlCurve -#define gluNurbsCallback mgluNurbsCallback -#define gluNewTess mgluNewTess -#define gluDeleteTess mgluDeleteTess -#define gluTessBeginPolygon mgluTessBeginPolygon -#define gluTessBeginContour mgluTessBeginContour -#define gluTessVertex mgluTessVertex -#define gluTessEndPolygon mgluTessEndPolygon -#define gluTessEndContour mgluTessEndContour -#define gluTessProperty mgluTessProperty -#define gluTessNormal mgluTessNormal -#define gluTessCallback mgluTessCallback -#define gluGetTessProperty mgluGetTessProperty -#define gluBeginPolygon mgluBeginPolygon -#define gluNextContour mgluNextContour -#define gluEndPolygon mgluEndPolygon -#define gluGetString mgluGetString -#define gluBuild1DMipmapLevels mgluBuild1DMipmapLevels -#define gluBuild2DMipmapLevels mgluBuild2DMipmapLevels -#define gluBuild3DMipmapLevels mgluBuild3DMipmapLevels -#define gluBuild3DMipmaps mgluBuild3DMipmaps -#define gluCheckExtension mgluCheckExtension -#define gluUnProject4 mgluUnProject4 -#define gluNurbsCallbackData mgluNurbsCallbackData -#define gluNurbsCallbackDataEXT mgluNurbsCallbackDataEXT - -#endif diff --git a/Libraries/GL/glut.h b/Libraries/GL/glut.h deleted file mode 100644 index 3897dab5..00000000 --- a/Libraries/GL/glut.h +++ /dev/null @@ -1,767 +0,0 @@ -#ifndef __glut_h__ -#define __glut_h__ - -/* Copyright (c) Mark J. Kilgard, 1994, 1995, 1996, 1998. */ - -/* This program is freely distributable without licensing fees and is - provided without guarantee or warrantee expressed or implied. This - program is -not- in the public domain. */ - -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -#if defined(_WIN32) - -/* GLUT 3.7 now tries to avoid including - to avoid name space pollution, but Win32's - needs APIENTRY and WINGDIAPI defined properly. - - tjump@spgs.com contributes: - If users are building glut code on MS Windows, then they should - make sure they include windows.h early, let's not get into a - header definitions war since MS has proven it's capability to - change header dependencies w/o publishing they have done so. - - So, let's not include windows.h here, as it's not really required and - MS own gl/gl.h *should* include it if the dependency is there. */ - -/* To disable automatic library usage for GLUT, define GLUT_NO_LIB_PRAGMA - in your compile preprocessor options. */ -# if !defined(GLUT_BUILDING_LIB) && !defined(GLUT_NO_LIB_PRAGMA) -# pragma comment (lib, "winmm.lib") /* link with Windows MultiMedia lib */ -/* To enable automatic SGI OpenGL for Windows library usage for GLUT, - define GLUT_USE_SGI_OPENGL in your compile preprocessor options. */ -# ifdef GLUT_USE_SGI_OPENGL -# pragma comment (lib, "opengl.lib") /* link with SGI OpenGL for Windows lib */ -# pragma comment (lib, "glu.lib") /* link with SGI OpenGL Utility lib */ -# pragma comment (lib, "glut.lib") /* link with Win32 GLUT for SGI OpenGL lib */ -# else -# pragma comment (lib, "opengl32.lib") /* link with Microsoft OpenGL lib */ -# pragma comment (lib, "glu32.lib") /* link with Microsoft OpenGL Utility lib */ -# pragma comment (lib, "glut32.lib") /* link with Win32 GLUT lib */ -# endif -# endif - -/* To disable supression of annoying warnings about floats being promoted - to doubles, define GLUT_NO_WARNING_DISABLE in your compile preprocessor - options. */ -# ifndef GLUT_NO_WARNING_DISABLE -# pragma warning (disable:4244) /* Disable bogus VC++ 4.2 conversion warnings. */ -# pragma warning (disable:4305) /* VC++ 5.0 version of above warning. */ -# endif - -/* Win32 has an annoying issue where there are multiple C run-time - libraries (CRTs). If the executable is linked with a different CRT - from the GLUT DLL, the GLUT DLL will not share the same CRT static - data seen by the executable. In particular, atexit callbacks registered - in the executable will not be called if GLUT calls its (different) - exit routine). GLUT is typically built with the - "/MD" option (the CRT with multithreading DLL support), but the Visual - C++ linker default is "/ML" (the single threaded CRT). - - One workaround to this issue is requiring users to always link with - the same CRT as GLUT is compiled with. That requires users supply a - non-standard option. GLUT 3.7 has its own built-in workaround where - the executable's "exit" function pointer is covertly passed to GLUT. - GLUT then calls the executable's exit function pointer to ensure that - any "atexit" calls registered by the application are called if GLUT - needs to exit. - - Note that the __glut*WithExit routines should NEVER be called directly. - To avoid the atexit workaround, #define GLUT_DISABLE_ATEXIT_HACK. */ - -/* XXX This is from Win32's */ -# if !defined(_MSC_VER) && !defined(__cdecl) - /* Define __cdecl for non-Microsoft compilers. */ -# define __cdecl -# define GLUT_DEFINED___CDECL -# endif -# ifndef _CRTIMP -# ifdef _NTSDK - /* Definition compatible with NT SDK */ -# define _CRTIMP -# else - /* Current definition */ -# ifdef _DLL -# define _CRTIMP __declspec(dllimport) -# else -# define _CRTIMP -# endif -# endif -# define GLUT_DEFINED__CRTIMP -# endif -# ifndef GLUT_BUILDING_LIB -extern _CRTIMP void __cdecl exit(int); -# endif - -/* GLUT callback calling convention for Win32. */ -# define GLUTCALLBACK __cdecl - -/* for callback/function pointer defs */ -# define GLUTAPIENTRYV __cdecl - -/* glut-win32 specific macros, defined to prevent collision with - and redifinition of Windows system defs, also removes requirement of - pretty much any standard windows header from this file */ - -#if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__CYGWIN32__) -# define GLUTAPIENTRY __stdcall -#else -# define GLUTAPIENTRY -#endif - -/* GLUT API entry point declarations for Win32. */ -#if defined(GLUT_BUILDING_LIB) && defined(_DLL) -# define GLUTAPI __declspec(dllexport) -#elif defined(_DLL) -# define GLUTAPI __declspec(dllimport) -#else -# define GLUTAPI extern -#endif - -#if defined(_WIN32) && !defined(_WINDEF_) && !defined(MESA) -# if !defined(MESA_MINWARN) -# pragma message( "note: WINDOWS.H not included, providing Mesa definition of CALLBACK macro" ) -# pragma message( "----: and PROC typedef. If you receive compiler warnings about either ") -# pragma message( "----: being multiply defined you should include WINDOWS.H priot to gl/glut.h" ) -# endif -# define CALLBACK __stdcall -typedef int (GLUTAPIENTRY *PROC)(); -typedef void *HGLRC; -typedef void *HDC; -typedef unsigned long COLORREF; -#endif - -#if defined(_WIN32) && !defined(_WINGDI_) && !defined(MESA) -# if !defined(MESA_MINWARN) -# pragma message( "note: WINDOWS.H not included, providing Mesa definition of wgl functions" ) -# pragma message( "----: and macros. If you receive compiler warnings about any being multiply ") -# pragma message( "----: defined you should include WINDOWS.H priot to gl/glut.h" ) -# endif -# define WGL_FONT_LINES 0 -# define WGL_FONT_POLYGONS 1 -# ifdef UNICODE -# define wglUseFontBitmaps wglUseFontBitmapsW -# define wglUseFontOutlines wglUseFontOutlinesW -# else -# define wglUseFontBitmaps wglUseFontBitmapsA -# define wglUseFontOutlines wglUseFontOutlinesA -# endif /* !UNICODE */ -typedef struct tagLAYERPLANEDESCRIPTOR LAYERPLANEDESCRIPTOR, *PLAYERPLANEDESCRIPTOR, *LPLAYERPLANEDESCRIPTOR; -typedef struct _GLYPHMETRICSFLOAT GLYPHMETRICSFLOAT, *PGLYPHMETRICSFLOAT, *LPGLYPHMETRICSFLOAT; -# pragma warning( push ) -# pragma warning( disable : 4273 ) /* 'function' : inconsistent DLL linkage. dllexport assumed. */ -# define WGLAPI __declspec(dllimport) -WGLAPI int GLAPIENTRY wglDeleteContext(HGLRC); -WGLAPI int GLAPIENTRY wglMakeCurrent(HDC,HGLRC); -WGLAPI int GLAPIENTRY wglSetPixelFormat(HDC, int, const PIXELFORMATDESCRIPTOR *); -WGLAPI int GLAPIENTRY wglSwapBuffers(HDC hdc); -WGLAPI HDC GLAPIENTRY wglGetCurrentDC(void); -WGLAPI HGLRC GLAPIENTRY wglCreateContext(HDC); -WGLAPI HGLRC GLAPIENTRY wglCreateLayerContext(HDC,int); -WGLAPI HGLRC GLAPIENTRY wglGetCurrentContext(void); -WGLAPI PROC GLAPIENTRY wglGetProcAddress(const char*); -WGLAPI int GLAPIENTRY wglChoosePixelFormat(HDC, const PIXELFORMATDESCRIPTOR *); -WGLAPI int GLAPIENTRY wglCopyContext(HGLRC, HGLRC, unsigned int); -WGLAPI int GLAPIENTRY wglDeleteContext(HGLRC); -WGLAPI int GLAPIENTRY wglDescribeLayerPlane(HDC, int, int, unsigned int,LPLAYERPLANEDESCRIPTOR); -WGLAPI int GLAPIENTRY wglDescribePixelFormat(HDC,int, unsigned int, LPPIXELFORMATDESCRIPTOR); -WGLAPI int GLAPIENTRY wglGetLayerPaletteEntries(HDC, int, int, int,COLORREF *); -WGLAPI int GLAPIENTRY wglGetPixelFormat(HDC hdc); -WGLAPI int GLAPIENTRY wglMakeCurrent(HDC, HGLRC); -WGLAPI int GLAPIENTRY wglRealizeLayerPalette(HDC, int, int); -WGLAPI int GLAPIENTRY wglSetLayerPaletteEntries(HDC, int, int, int,const COLORREF *); -WGLAPI int GLAPIENTRY wglShareLists(HGLRC, HGLRC); -WGLAPI int GLAPIENTRY wglSwapLayerBuffers(HDC, unsigned int); -WGLAPI int GLAPIENTRY wglUseFontBitmapsA(HDC, unsigned long, unsigned long, unsigned long); -WGLAPI int GLAPIENTRY wglUseFontBitmapsW(HDC, unsigned long, unsigned long, unsigned long); -WGLAPI int GLAPIENTRY wglUseFontOutlinesA(HDC, unsigned long, unsigned long, unsigned long, float,float, int, LPGLYPHMETRICSFLOAT); -WGLAPI int GLAPIENTRY wglUseFontOutlinesW(HDC, unsigned long, unsigned long, unsigned long, float,float, int, LPGLYPHMETRICSFLOAT); -WGLAPI int GLAPIENTRY SwapBuffers(HDC); -WGLAPI int GLAPIENTRY ChoosePixelFormat(HDC,const PIXELFORMATDESCRIPTOR *); -WGLAPI int GLAPIENTRY DescribePixelFormat(HDC,int,unsigned int,LPPIXELFORMATDESCRIPTOR); -WGLAPI int GLAPIENTRY GetPixelFormat(HDC); -WGLAPI int GLAPIENTRY SetPixelFormat(HDC,int,const PIXELFORMATDESCRIPTOR *); -# undef WGLAPI -# pragma warning( pop ) -#endif - -#else /* _WIN32 not defined */ - -/* Define GLUTAPIENTRY and GLUTCALLBACK to nothing if we aren't on Win32. */ -# define GLUTAPIENTRY -# define GLUTAPIENTRYV -# define GLUT_APIENTRY_DEFINED -# define GLUTCALLBACK -# define GLUTAPI extern -/* Prototype exit for the non-Win32 case (see above). */ -/*extern void exit(int); this screws up gcc -ansi -pedantic! */ -#endif - - -/** - GLUT API revision history: - - GLUT_API_VERSION is updated to reflect incompatible GLUT - API changes (interface changes, semantic changes, deletions, - or additions). - - GLUT_API_VERSION=1 First public release of GLUT. 11/29/94 - - GLUT_API_VERSION=2 Added support for OpenGL/GLX multisampling, - extension. Supports new input devices like tablet, dial and button - box, and Spaceball. Easy to query OpenGL extensions. - - GLUT_API_VERSION=3 glutMenuStatus added. - - GLUT_API_VERSION=4 glutInitDisplayString, glutWarpPointer, - glutBitmapLength, glutStrokeLength, glutWindowStatusFunc, dynamic - video resize subAPI, glutPostWindowRedisplay, glutKeyboardUpFunc, - glutSpecialUpFunc, glutIgnoreKeyRepeat, glutSetKeyRepeat, - glutJoystickFunc, glutForceJoystickFunc (NOT FINALIZED!). -**/ -#ifndef GLUT_API_VERSION /* allow this to be overriden */ -#define GLUT_API_VERSION 3 -#endif - -/** - GLUT implementation revision history: - - GLUT_XLIB_IMPLEMENTATION is updated to reflect both GLUT - API revisions and implementation revisions (ie, bug fixes). - - GLUT_XLIB_IMPLEMENTATION=1 mjk's first public release of - GLUT Xlib-based implementation. 11/29/94 - - GLUT_XLIB_IMPLEMENTATION=2 mjk's second public release of - GLUT Xlib-based implementation providing GLUT version 2 - interfaces. - - GLUT_XLIB_IMPLEMENTATION=3 mjk's GLUT 2.2 images. 4/17/95 - - GLUT_XLIB_IMPLEMENTATION=4 mjk's GLUT 2.3 images. 6/?/95 - - GLUT_XLIB_IMPLEMENTATION=5 mjk's GLUT 3.0 images. 10/?/95 - - GLUT_XLIB_IMPLEMENTATION=7 mjk's GLUT 3.1+ with glutWarpPoitner. 7/24/96 - - GLUT_XLIB_IMPLEMENTATION=8 mjk's GLUT 3.1+ with glutWarpPoitner - and video resize. 1/3/97 - - GLUT_XLIB_IMPLEMENTATION=9 mjk's GLUT 3.4 release with early GLUT 4 routines. - - GLUT_XLIB_IMPLEMENTATION=11 Mesa 2.5's GLUT 3.6 release. - - GLUT_XLIB_IMPLEMENTATION=12 mjk's GLUT 3.6 release with early GLUT 4 routines + signal handling. - - GLUT_XLIB_IMPLEMENTATION=13 mjk's GLUT 3.7 beta with GameGLUT support. - - GLUT_XLIB_IMPLEMENTATION=14 mjk's GLUT 3.7 beta with f90gl friend interface. - - GLUT_XLIB_IMPLEMENTATION=15 mjk's GLUT 3.7 beta sync'ed with Mesa -**/ -#ifndef GLUT_XLIB_IMPLEMENTATION /* Allow this to be overriden. */ -#define GLUT_XLIB_IMPLEMENTATION 15 -#endif - -/* Display mode bit masks. */ -#define GLUT_RGB 0 -#define GLUT_RGBA GLUT_RGB -#define GLUT_INDEX 1 -#define GLUT_SINGLE 0 -#define GLUT_DOUBLE 2 -#define GLUT_ACCUM 4 -#define GLUT_ALPHA 8 -#define GLUT_DEPTH 16 -#define GLUT_STENCIL 32 -#if (GLUT_API_VERSION >= 2) -#define GLUT_MULTISAMPLE 128 -#define GLUT_STEREO 256 -#endif -#if (GLUT_API_VERSION >= 3) -#define GLUT_LUMINANCE 512 -#endif - -/* Mouse buttons. */ -#define GLUT_LEFT_BUTTON 0 -#define GLUT_MIDDLE_BUTTON 1 -#define GLUT_RIGHT_BUTTON 2 - -/* Mouse button state. */ -#define GLUT_DOWN 0 -#define GLUT_UP 1 - -#if (GLUT_API_VERSION >= 2) -/* function keys */ -#define GLUT_KEY_F1 1 -#define GLUT_KEY_F2 2 -#define GLUT_KEY_F3 3 -#define GLUT_KEY_F4 4 -#define GLUT_KEY_F5 5 -#define GLUT_KEY_F6 6 -#define GLUT_KEY_F7 7 -#define GLUT_KEY_F8 8 -#define GLUT_KEY_F9 9 -#define GLUT_KEY_F10 10 -#define GLUT_KEY_F11 11 -#define GLUT_KEY_F12 12 -/* directional keys */ -#define GLUT_KEY_LEFT 100 -#define GLUT_KEY_UP 101 -#define GLUT_KEY_RIGHT 102 -#define GLUT_KEY_DOWN 103 -#define GLUT_KEY_PAGE_UP 104 -#define GLUT_KEY_PAGE_DOWN 105 -#define GLUT_KEY_HOME 106 -#define GLUT_KEY_END 107 -#define GLUT_KEY_INSERT 108 -#endif - -/* Entry/exit state. */ -#define GLUT_LEFT 0 -#define GLUT_ENTERED 1 - -/* Menu usage state. */ -#define GLUT_MENU_NOT_IN_USE 0 -#define GLUT_MENU_IN_USE 1 - -/* Visibility state. */ -#define GLUT_NOT_VISIBLE 0 -#define GLUT_VISIBLE 1 - -/* Window status state. */ -#define GLUT_HIDDEN 0 -#define GLUT_FULLY_RETAINED 1 -#define GLUT_PARTIALLY_RETAINED 2 -#define GLUT_FULLY_COVERED 3 - -/* Color index component selection values. */ -#define GLUT_RED 0 -#define GLUT_GREEN 1 -#define GLUT_BLUE 2 - -/* Layers for use. */ -#define GLUT_NORMAL 0 -#define GLUT_OVERLAY 1 - -#if defined(_WIN32) -/* Stroke font constants (use these in GLUT program). */ -#define GLUT_STROKE_ROMAN ((void*)0) -#define GLUT_STROKE_MONO_ROMAN ((void*)1) - -/* Bitmap font constants (use these in GLUT program). */ -#define GLUT_BITMAP_9_BY_15 ((void*)2) -#define GLUT_BITMAP_8_BY_13 ((void*)3) -#define GLUT_BITMAP_TIMES_ROMAN_10 ((void*)4) -#define GLUT_BITMAP_TIMES_ROMAN_24 ((void*)5) -#if (GLUT_API_VERSION >= 3) -#define GLUT_BITMAP_HELVETICA_10 ((void*)6) -#define GLUT_BITMAP_HELVETICA_12 ((void*)7) -#define GLUT_BITMAP_HELVETICA_18 ((void*)8) -#endif -#else -/* Stroke font opaque addresses (use constants instead in source code). */ -GLUTAPI void *glutStrokeRoman; -GLUTAPI void *glutStrokeMonoRoman; - -/* Stroke font constants (use these in GLUT program). */ -#define GLUT_STROKE_ROMAN (&glutStrokeRoman) -#define GLUT_STROKE_MONO_ROMAN (&glutStrokeMonoRoman) - -/* Bitmap font opaque addresses (use constants instead in source code). */ -GLUTAPI void *glutBitmap9By15; -GLUTAPI void *glutBitmap8By13; -GLUTAPI void *glutBitmapTimesRoman10; -GLUTAPI void *glutBitmapTimesRoman24; -GLUTAPI void *glutBitmapHelvetica10; -GLUTAPI void *glutBitmapHelvetica12; -GLUTAPI void *glutBitmapHelvetica18; - -/* Bitmap font constants (use these in GLUT program). */ -#define GLUT_BITMAP_9_BY_15 (&glutBitmap9By15) -#define GLUT_BITMAP_8_BY_13 (&glutBitmap8By13) -#define GLUT_BITMAP_TIMES_ROMAN_10 (&glutBitmapTimesRoman10) -#define GLUT_BITMAP_TIMES_ROMAN_24 (&glutBitmapTimesRoman24) -#if (GLUT_API_VERSION >= 3) -#define GLUT_BITMAP_HELVETICA_10 (&glutBitmapHelvetica10) -#define GLUT_BITMAP_HELVETICA_12 (&glutBitmapHelvetica12) -#define GLUT_BITMAP_HELVETICA_18 (&glutBitmapHelvetica18) -#endif -#endif - -/* glutGet parameters. */ -#define GLUT_WINDOW_X 100 -#define GLUT_WINDOW_Y 101 -#define GLUT_WINDOW_WIDTH 102 -#define GLUT_WINDOW_HEIGHT 103 -#define GLUT_WINDOW_BUFFER_SIZE 104 -#define GLUT_WINDOW_STENCIL_SIZE 105 -#define GLUT_WINDOW_DEPTH_SIZE 106 -#define GLUT_WINDOW_RED_SIZE 107 -#define GLUT_WINDOW_GREEN_SIZE 108 -#define GLUT_WINDOW_BLUE_SIZE 109 -#define GLUT_WINDOW_ALPHA_SIZE 110 -#define GLUT_WINDOW_ACCUM_RED_SIZE 111 -#define GLUT_WINDOW_ACCUM_GREEN_SIZE 112 -#define GLUT_WINDOW_ACCUM_BLUE_SIZE 113 -#define GLUT_WINDOW_ACCUM_ALPHA_SIZE 114 -#define GLUT_WINDOW_DOUBLEBUFFER 115 -#define GLUT_WINDOW_RGBA 116 -#define GLUT_WINDOW_PARENT 117 -#define GLUT_WINDOW_NUM_CHILDREN 118 -#define GLUT_WINDOW_COLORMAP_SIZE 119 -#if (GLUT_API_VERSION >= 2) -#define GLUT_WINDOW_NUM_SAMPLES 120 -#define GLUT_WINDOW_STEREO 121 -#endif -#if (GLUT_API_VERSION >= 3) -#define GLUT_WINDOW_CURSOR 122 -#endif -#define GLUT_SCREEN_WIDTH 200 -#define GLUT_SCREEN_HEIGHT 201 -#define GLUT_SCREEN_WIDTH_MM 202 -#define GLUT_SCREEN_HEIGHT_MM 203 -#define GLUT_MENU_NUM_ITEMS 300 -#define GLUT_DISPLAY_MODE_POSSIBLE 400 -#define GLUT_INIT_WINDOW_X 500 -#define GLUT_INIT_WINDOW_Y 501 -#define GLUT_INIT_WINDOW_WIDTH 502 -#define GLUT_INIT_WINDOW_HEIGHT 503 -#define GLUT_INIT_DISPLAY_MODE 504 -#if (GLUT_API_VERSION >= 2) -#define GLUT_ELAPSED_TIME 700 -#endif -#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 13) -#define GLUT_WINDOW_FORMAT_ID 123 -#endif - -#if (GLUT_API_VERSION >= 2) -/* glutDeviceGet parameters. */ -#define GLUT_HAS_KEYBOARD 600 -#define GLUT_HAS_MOUSE 601 -#define GLUT_HAS_SPACEBALL 602 -#define GLUT_HAS_DIAL_AND_BUTTON_BOX 603 -#define GLUT_HAS_TABLET 604 -#define GLUT_NUM_MOUSE_BUTTONS 605 -#define GLUT_NUM_SPACEBALL_BUTTONS 606 -#define GLUT_NUM_BUTTON_BOX_BUTTONS 607 -#define GLUT_NUM_DIALS 608 -#define GLUT_NUM_TABLET_BUTTONS 609 -#endif -#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 13) -#define GLUT_DEVICE_IGNORE_KEY_REPEAT 610 -#define GLUT_DEVICE_KEY_REPEAT 611 -#define GLUT_HAS_JOYSTICK 612 -#define GLUT_OWNS_JOYSTICK 613 -#define GLUT_JOYSTICK_BUTTONS 614 -#define GLUT_JOYSTICK_AXES 615 -#define GLUT_JOYSTICK_POLL_RATE 616 -#endif - -#if (GLUT_API_VERSION >= 3) -/* glutLayerGet parameters. */ -#define GLUT_OVERLAY_POSSIBLE 800 -#define GLUT_LAYER_IN_USE 801 -#define GLUT_HAS_OVERLAY 802 -#define GLUT_TRANSPARENT_INDEX 803 -#define GLUT_NORMAL_DAMAGED 804 -#define GLUT_OVERLAY_DAMAGED 805 - -#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9) -/* glutVideoResizeGet parameters. */ -#define GLUT_VIDEO_RESIZE_POSSIBLE 900 -#define GLUT_VIDEO_RESIZE_IN_USE 901 -#define GLUT_VIDEO_RESIZE_X_DELTA 902 -#define GLUT_VIDEO_RESIZE_Y_DELTA 903 -#define GLUT_VIDEO_RESIZE_WIDTH_DELTA 904 -#define GLUT_VIDEO_RESIZE_HEIGHT_DELTA 905 -#define GLUT_VIDEO_RESIZE_X 906 -#define GLUT_VIDEO_RESIZE_Y 907 -#define GLUT_VIDEO_RESIZE_WIDTH 908 -#define GLUT_VIDEO_RESIZE_HEIGHT 909 -#endif - -/* glutUseLayer parameters. */ -#define GLUT_NORMAL 0 -#define GLUT_OVERLAY 1 - -/* glutGetModifiers return mask. */ -#define GLUT_ACTIVE_SHIFT 1 -#define GLUT_ACTIVE_CTRL 2 -#define GLUT_ACTIVE_ALT 4 - -/* glutSetCursor parameters. */ -/* Basic arrows. */ -#define GLUT_CURSOR_RIGHT_ARROW 0 -#define GLUT_CURSOR_LEFT_ARROW 1 -/* Symbolic cursor shapes. */ -#define GLUT_CURSOR_INFO 2 -#define GLUT_CURSOR_DESTROY 3 -#define GLUT_CURSOR_HELP 4 -#define GLUT_CURSOR_CYCLE 5 -#define GLUT_CURSOR_SPRAY 6 -#define GLUT_CURSOR_WAIT 7 -#define GLUT_CURSOR_TEXT 8 -#define GLUT_CURSOR_CROSSHAIR 9 -/* Directional cursors. */ -#define GLUT_CURSOR_UP_DOWN 10 -#define GLUT_CURSOR_LEFT_RIGHT 11 -/* Sizing cursors. */ -#define GLUT_CURSOR_TOP_SIDE 12 -#define GLUT_CURSOR_BOTTOM_SIDE 13 -#define GLUT_CURSOR_LEFT_SIDE 14 -#define GLUT_CURSOR_RIGHT_SIDE 15 -#define GLUT_CURSOR_TOP_LEFT_CORNER 16 -#define GLUT_CURSOR_TOP_RIGHT_CORNER 17 -#define GLUT_CURSOR_BOTTOM_RIGHT_CORNER 18 -#define GLUT_CURSOR_BOTTOM_LEFT_CORNER 19 -/* Inherit from parent window. */ -#define GLUT_CURSOR_INHERIT 100 -/* Blank cursor. */ -#define GLUT_CURSOR_NONE 101 -/* Fullscreen crosshair (if available). */ -#define GLUT_CURSOR_FULL_CROSSHAIR 102 -#endif - -/* GLUT initialization sub-API. */ -GLUTAPI void GLUTAPIENTRY glutInit(int *argcp, char **argv); -#if defined(_WIN32) && !defined(GLUT_DISABLE_ATEXIT_HACK) -GLUTAPI void GLUTAPIENTRY __glutInitWithExit(int *argcp, char **argv, void (__cdecl *exitfunc)(int)); -#ifndef GLUT_BUILDING_LIB -static void GLUTAPIENTRY glutInit_ATEXIT_HACK(int *argcp, char **argv) { __glutInitWithExit(argcp, argv, exit); } -#define glutInit glutInit_ATEXIT_HACK -#endif -#endif -GLUTAPI void GLUTAPIENTRY glutInitDisplayMode(unsigned int mode); -#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9) -GLUTAPI void GLUTAPIENTRY glutInitDisplayString(const char *string); -#endif -GLUTAPI void GLUTAPIENTRY glutInitWindowPosition(int x, int y); -GLUTAPI void GLUTAPIENTRY glutInitWindowSize(int width, int height); -GLUTAPI void GLUTAPIENTRY glutMainLoop(void); - -/* GLUT window sub-API. */ -GLUTAPI int GLUTAPIENTRY glutCreateWindow(const char *title); -#if defined(_WIN32) && !defined(GLUT_DISABLE_ATEXIT_HACK) -GLUTAPI int GLUTAPIENTRY __glutCreateWindowWithExit(const char *title, void (__cdecl *exitfunc)(int)); -#ifndef GLUT_BUILDING_LIB -static int GLUTAPIENTRY glutCreateWindow_ATEXIT_HACK(const char *title) { return __glutCreateWindowWithExit(title, exit); } -#define glutCreateWindow glutCreateWindow_ATEXIT_HACK -#endif -#endif -GLUTAPI int GLUTAPIENTRY glutCreateSubWindow(int win, int x, int y, int width, int height); -GLUTAPI void GLUTAPIENTRY glutDestroyWindow(int win); -GLUTAPI void GLUTAPIENTRY glutPostRedisplay(void); -#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 11) -GLUTAPI void GLUTAPIENTRY glutPostWindowRedisplay(int win); -#endif -GLUTAPI void GLUTAPIENTRY glutSwapBuffers(void); -GLUTAPI int GLUTAPIENTRY glutGetWindow(void); -GLUTAPI void GLUTAPIENTRY glutSetWindow(int win); -GLUTAPI void GLUTAPIENTRY glutSetWindowTitle(const char *title); -GLUTAPI void GLUTAPIENTRY glutSetIconTitle(const char *title); -GLUTAPI void GLUTAPIENTRY glutPositionWindow(int x, int y); -GLUTAPI void GLUTAPIENTRY glutReshapeWindow(int width, int height); -GLUTAPI void GLUTAPIENTRY glutPopWindow(void); -GLUTAPI void GLUTAPIENTRY glutPushWindow(void); -GLUTAPI void GLUTAPIENTRY glutIconifyWindow(void); -GLUTAPI void GLUTAPIENTRY glutShowWindow(void); -GLUTAPI void GLUTAPIENTRY glutHideWindow(void); -#if (GLUT_API_VERSION >= 3) -GLUTAPI void GLUTAPIENTRY glutFullScreen(void); -GLUTAPI void GLUTAPIENTRY glutSetCursor(int cursor); -#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9) -GLUTAPI void GLUTAPIENTRY glutWarpPointer(int x, int y); -#endif - -/* GLUT overlay sub-API. */ -GLUTAPI void GLUTAPIENTRY glutEstablishOverlay(void); -GLUTAPI void GLUTAPIENTRY glutRemoveOverlay(void); -GLUTAPI void GLUTAPIENTRY glutUseLayer(GLenum layer); -GLUTAPI void GLUTAPIENTRY glutPostOverlayRedisplay(void); -#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 11) -GLUTAPI void GLUTAPIENTRY glutPostWindowOverlayRedisplay(int win); -#endif -GLUTAPI void GLUTAPIENTRY glutShowOverlay(void); -GLUTAPI void GLUTAPIENTRY glutHideOverlay(void); -#endif - -/* GLUT menu sub-API. */ -GLUTAPI int GLUTAPIENTRY glutCreateMenu(void (GLUTCALLBACK *func)(int)); -#if defined(_WIN32) && !defined(GLUT_DISABLE_ATEXIT_HACK) -GLUTAPI int GLUTAPIENTRY __glutCreateMenuWithExit(void (GLUTCALLBACK *func)(int), void (__cdecl *exitfunc)(int)); -#ifndef GLUT_BUILDING_LIB -static int GLUTAPIENTRY glutCreateMenu_ATEXIT_HACK(void (GLUTCALLBACK *func)(int)) { return __glutCreateMenuWithExit(func, exit); } -#define glutCreateMenu glutCreateMenu_ATEXIT_HACK -#endif -#endif -GLUTAPI void GLUTAPIENTRY glutDestroyMenu(int menu); -GLUTAPI int GLUTAPIENTRY glutGetMenu(void); -GLUTAPI void GLUTAPIENTRY glutSetMenu(int menu); -GLUTAPI void GLUTAPIENTRY glutAddMenuEntry(const char *label, int value); -GLUTAPI void GLUTAPIENTRY glutAddSubMenu(const char *label, int submenu); -GLUTAPI void GLUTAPIENTRY glutChangeToMenuEntry(int item, const char *label, int value); -GLUTAPI void GLUTAPIENTRY glutChangeToSubMenu(int item, const char *label, int submenu); -GLUTAPI void GLUTAPIENTRY glutRemoveMenuItem(int item); -GLUTAPI void GLUTAPIENTRY glutAttachMenu(int button); -GLUTAPI void GLUTAPIENTRY glutDetachMenu(int button); - -/* GLUT window callback sub-API. */ -GLUTAPI void GLUTAPIENTRY glutDisplayFunc(void (GLUTCALLBACK *func)(void)); -GLUTAPI void GLUTAPIENTRY glutReshapeFunc(void (GLUTCALLBACK *func)(int width, int height)); -GLUTAPI void GLUTAPIENTRY glutKeyboardFunc(void (GLUTCALLBACK *func)(unsigned char key, int x, int y)); -GLUTAPI void GLUTAPIENTRY glutMouseFunc(void (GLUTCALLBACK *func)(int button, int state, int x, int y)); -GLUTAPI void GLUTAPIENTRY glutMotionFunc(void (GLUTCALLBACK *func)(int x, int y)); -GLUTAPI void GLUTAPIENTRY glutPassiveMotionFunc(void (GLUTCALLBACK *func)(int x, int y)); -GLUTAPI void GLUTAPIENTRY glutEntryFunc(void (GLUTCALLBACK *func)(int state)); -GLUTAPI void GLUTAPIENTRY glutVisibilityFunc(void (GLUTCALLBACK *func)(int state)); -GLUTAPI void GLUTAPIENTRY glutIdleFunc(void (GLUTCALLBACK *func)(void)); -GLUTAPI void GLUTAPIENTRY glutTimerFunc(unsigned int millis, void (GLUTCALLBACK *func)(int value), int value); -GLUTAPI void GLUTAPIENTRY glutMenuStateFunc(void (GLUTCALLBACK *func)(int state)); -#if (GLUT_API_VERSION >= 2) -GLUTAPI void GLUTAPIENTRY glutSpecialFunc(void (GLUTCALLBACK *func)(int key, int x, int y)); -GLUTAPI void GLUTAPIENTRY glutSpaceballMotionFunc(void (GLUTCALLBACK *func)(int x, int y, int z)); -GLUTAPI void GLUTAPIENTRY glutSpaceballRotateFunc(void (GLUTCALLBACK *func)(int x, int y, int z)); -GLUTAPI void GLUTAPIENTRY glutSpaceballButtonFunc(void (GLUTCALLBACK *func)(int button, int state)); -GLUTAPI void GLUTAPIENTRY glutButtonBoxFunc(void (GLUTCALLBACK *func)(int button, int state)); -GLUTAPI void GLUTAPIENTRY glutDialsFunc(void (GLUTCALLBACK *func)(int dial, int value)); -GLUTAPI void GLUTAPIENTRY glutTabletMotionFunc(void (GLUTCALLBACK *func)(int x, int y)); -GLUTAPI void GLUTAPIENTRY glutTabletButtonFunc(void (GLUTCALLBACK *func)(int button, int state, int x, int y)); -#if (GLUT_API_VERSION >= 3) -GLUTAPI void GLUTAPIENTRY glutMenuStatusFunc(void (GLUTCALLBACK *func)(int status, int x, int y)); -GLUTAPI void GLUTAPIENTRY glutOverlayDisplayFunc(void (GLUTCALLBACK *func)(void)); -#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9) -GLUTAPI void GLUTAPIENTRY glutWindowStatusFunc(void (GLUTCALLBACK *func)(int state)); -#endif -#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 13) -GLUTAPI void GLUTAPIENTRY glutKeyboardUpFunc(void (GLUTCALLBACK *func)(unsigned char key, int x, int y)); -GLUTAPI void GLUTAPIENTRY glutSpecialUpFunc(void (GLUTCALLBACK *func)(int key, int x, int y)); -GLUTAPI void GLUTAPIENTRY glutJoystickFunc(void (GLUTCALLBACK *func)(unsigned int buttonMask, int x, int y, int z), int pollInterval); -#endif -#endif -#endif - -/* GLUT color index sub-API. */ -GLUTAPI void GLUTAPIENTRY glutSetColor(int, GLfloat red, GLfloat green, GLfloat blue); -GLUTAPI GLfloat GLUTAPIENTRY glutGetColor(int ndx, int component); -GLUTAPI void GLUTAPIENTRY glutCopyColormap(int win); - -/* GLUT state retrieval sub-API. */ -GLUTAPI int GLUTAPIENTRY glutGet(GLenum type); -GLUTAPI int GLUTAPIENTRY glutDeviceGet(GLenum type); -#if (GLUT_API_VERSION >= 2) -/* GLUT extension support sub-API */ -GLUTAPI int GLUTAPIENTRY glutExtensionSupported(const char *name); -#endif -#if (GLUT_API_VERSION >= 3) -GLUTAPI int GLUTAPIENTRY glutGetModifiers(void); -GLUTAPI int GLUTAPIENTRY glutLayerGet(GLenum type); -#endif - -/* GLUT font sub-API */ -GLUTAPI void GLUTAPIENTRY glutBitmapCharacter(void *font, int character); -GLUTAPI int GLUTAPIENTRY glutBitmapWidth(void *font, int character); -GLUTAPI void GLUTAPIENTRY glutStrokeCharacter(void *font, int character); -GLUTAPI int GLUTAPIENTRY glutStrokeWidth(void *font, int character); -#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9) -GLUTAPI int GLUTAPIENTRY glutBitmapLength(void *font, const unsigned char *string); -GLUTAPI int GLUTAPIENTRY glutStrokeLength(void *font, const unsigned char *string); -#endif - -/* GLUT pre-built models sub-API */ -GLUTAPI void GLUTAPIENTRY glutWireSphere(GLdouble radius, GLint slices, GLint stacks); -GLUTAPI void GLUTAPIENTRY glutSolidSphere(GLdouble radius, GLint slices, GLint stacks); -GLUTAPI void GLUTAPIENTRY glutWireCone(GLdouble base, GLdouble height, GLint slices, GLint stacks); -GLUTAPI void GLUTAPIENTRY glutSolidCone(GLdouble base, GLdouble height, GLint slices, GLint stacks); -GLUTAPI void GLUTAPIENTRY glutWireCube(GLdouble size); -GLUTAPI void GLUTAPIENTRY glutSolidCube(GLdouble size); -GLUTAPI void GLUTAPIENTRY glutWireTorus(GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings); -GLUTAPI void GLUTAPIENTRY glutSolidTorus(GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings); -GLUTAPI void GLUTAPIENTRY glutWireDodecahedron(void); -GLUTAPI void GLUTAPIENTRY glutSolidDodecahedron(void); -GLUTAPI void GLUTAPIENTRY glutWireTeapot(GLdouble size); -GLUTAPI void GLUTAPIENTRY glutSolidTeapot(GLdouble size); -GLUTAPI void GLUTAPIENTRY glutWireOctahedron(void); -GLUTAPI void GLUTAPIENTRY glutSolidOctahedron(void); -GLUTAPI void GLUTAPIENTRY glutWireTetrahedron(void); -GLUTAPI void GLUTAPIENTRY glutSolidTetrahedron(void); -GLUTAPI void GLUTAPIENTRY glutWireIcosahedron(void); -GLUTAPI void GLUTAPIENTRY glutSolidIcosahedron(void); - -#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9) -/* GLUT video resize sub-API. */ -GLUTAPI int GLUTAPIENTRY glutVideoResizeGet(GLenum param); -GLUTAPI void GLUTAPIENTRY glutSetupVideoResizing(void); -GLUTAPI void GLUTAPIENTRY glutStopVideoResizing(void); -GLUTAPI void GLUTAPIENTRY glutVideoResize(int x, int y, int width, int height); -GLUTAPI void GLUTAPIENTRY glutVideoPan(int x, int y, int width, int height); - -/* GLUT debugging sub-API. */ -GLUTAPI void GLUTAPIENTRY glutReportErrors(void); -#endif - -#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 13) -/* GLUT device control sub-API. */ -/* glutSetKeyRepeat modes. */ -#define GLUT_KEY_REPEAT_OFF 0 -#define GLUT_KEY_REPEAT_ON 1 -#define GLUT_KEY_REPEAT_DEFAULT 2 - -/* Joystick button masks. */ -#define GLUT_JOYSTICK_BUTTON_A 1 -#define GLUT_JOYSTICK_BUTTON_B 2 -#define GLUT_JOYSTICK_BUTTON_C 4 -#define GLUT_JOYSTICK_BUTTON_D 8 - -GLUTAPI void GLUTAPIENTRY glutIgnoreKeyRepeat(int ignore); -GLUTAPI void GLUTAPIENTRY glutSetKeyRepeat(int repeatMode); -GLUTAPI void GLUTAPIENTRY glutForceJoystickFunc(void); - -/* GLUT game mode sub-API. */ -/* glutGameModeGet. */ -#define GLUT_GAME_MODE_ACTIVE 0 -#define GLUT_GAME_MODE_POSSIBLE 1 -#define GLUT_GAME_MODE_WIDTH 2 -#define GLUT_GAME_MODE_HEIGHT 3 -#define GLUT_GAME_MODE_PIXEL_DEPTH 4 -#define GLUT_GAME_MODE_REFRESH_RATE 5 -#define GLUT_GAME_MODE_DISPLAY_CHANGED 6 - -GLUTAPI void GLUTAPIENTRY glutGameModeString(const char *string); -GLUTAPI int GLUTAPIENTRY glutEnterGameMode(void); -GLUTAPI void GLUTAPIENTRY glutLeaveGameMode(void); -GLUTAPI int GLUTAPIENTRY glutGameModeGet(GLenum mode); -#endif - -#ifdef __cplusplus -} -#endif - -#if 0 -#ifdef GLUT_APIENTRY_DEFINED -# undef GLUT_APIENTRY_DEFINED -# undef APIENTRY -#endif - -#ifdef GLUT_WINGDIAPI_DEFINED -# undef GLUT_WINGDIAPI_DEFINED -# undef WINGDIAPI -#endif - -#ifdef GLUT_DEFINED___CDECL -# undef GLUT_DEFINED___CDECL -# undef __cdecl -#endif - -#ifdef GLUT_DEFINED__CRTIMP -# undef GLUT_DEFINED__CRTIMP -# undef _CRTIMP -#endif -#endif - -#endif /* __glut_h__ */ - diff --git a/Libraries/GL/glx.h b/Libraries/GL/glx.h deleted file mode 100644 index ab0467c1..00000000 --- a/Libraries/GL/glx.h +++ /dev/null @@ -1,551 +0,0 @@ -/* - * Mesa 3-D graphics library - * Version: 6.3 - * - * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included - * in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - - -#ifndef GLX_H -#define GLX_H - - -#ifdef __VMS -#include -# ifdef __cplusplus -/* VMS Xlib.h gives problems with C++. - * this avoids a bunch of trivial warnings */ -#pragma message disable nosimpint -#endif -#endif -#include -#include -#ifdef __VMS -# ifdef __cplusplus -#pragma message enable nosimpint -#endif -#endif -#include - - -#if defined(USE_MGL_NAMESPACE) -#include "glx_mangle.h" -#endif - - -#ifdef __cplusplus -extern "C" { -#endif - - -#define GLX_VERSION_1_1 1 -#define GLX_VERSION_1_2 1 -#define GLX_VERSION_1_3 1 -#define GLX_VERSION_1_4 1 - -#define GLX_EXTENSION_NAME "GLX" - - - -/* - * Tokens for glXChooseVisual and glXGetConfig: - */ -#define GLX_USE_GL 1 -#define GLX_BUFFER_SIZE 2 -#define GLX_LEVEL 3 -#define GLX_RGBA 4 -#define GLX_DOUBLEBUFFER 5 -#define GLX_STEREO 6 -#define GLX_AUX_BUFFERS 7 -#define GLX_RED_SIZE 8 -#define GLX_GREEN_SIZE 9 -#define GLX_BLUE_SIZE 10 -#define GLX_ALPHA_SIZE 11 -#define GLX_DEPTH_SIZE 12 -#define GLX_STENCIL_SIZE 13 -#define GLX_ACCUM_RED_SIZE 14 -#define GLX_ACCUM_GREEN_SIZE 15 -#define GLX_ACCUM_BLUE_SIZE 16 -#define GLX_ACCUM_ALPHA_SIZE 17 - - -/* - * Error codes returned by glXGetConfig: - */ -#define GLX_BAD_SCREEN 1 -#define GLX_BAD_ATTRIBUTE 2 -#define GLX_NO_EXTENSION 3 -#define GLX_BAD_VISUAL 4 -#define GLX_BAD_CONTEXT 5 -#define GLX_BAD_VALUE 6 -#define GLX_BAD_ENUM 7 - - -/* - * GLX 1.1 and later: - */ -#define GLX_VENDOR 1 -#define GLX_VERSION 2 -#define GLX_EXTENSIONS 3 - - -/* - * GLX 1.3 and later: - */ -#define GLX_CONFIG_CAVEAT 0x20 -#define GLX_DONT_CARE 0xFFFFFFFF -#define GLX_X_VISUAL_TYPE 0x22 -#define GLX_TRANSPARENT_TYPE 0x23 -#define GLX_TRANSPARENT_INDEX_VALUE 0x24 -#define GLX_TRANSPARENT_RED_VALUE 0x25 -#define GLX_TRANSPARENT_GREEN_VALUE 0x26 -#define GLX_TRANSPARENT_BLUE_VALUE 0x27 -#define GLX_TRANSPARENT_ALPHA_VALUE 0x28 -#define GLX_WINDOW_BIT 0x00000001 -#define GLX_PIXMAP_BIT 0x00000002 -#define GLX_PBUFFER_BIT 0x00000004 -#define GLX_AUX_BUFFERS_BIT 0x00000010 -#define GLX_FRONT_LEFT_BUFFER_BIT 0x00000001 -#define GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002 -#define GLX_BACK_LEFT_BUFFER_BIT 0x00000004 -#define GLX_BACK_RIGHT_BUFFER_BIT 0x00000008 -#define GLX_DEPTH_BUFFER_BIT 0x00000020 -#define GLX_STENCIL_BUFFER_BIT 0x00000040 -#define GLX_ACCUM_BUFFER_BIT 0x00000080 -#define GLX_NONE 0x8000 -#define GLX_SLOW_CONFIG 0x8001 -#define GLX_TRUE_COLOR 0x8002 -#define GLX_DIRECT_COLOR 0x8003 -#define GLX_PSEUDO_COLOR 0x8004 -#define GLX_STATIC_COLOR 0x8005 -#define GLX_GRAY_SCALE 0x8006 -#define GLX_STATIC_GRAY 0x8007 -#define GLX_TRANSPARENT_RGB 0x8008 -#define GLX_TRANSPARENT_INDEX 0x8009 -#define GLX_VISUAL_ID 0x800B -#define GLX_SCREEN 0x800C -#define GLX_NON_CONFORMANT_CONFIG 0x800D -#define GLX_DRAWABLE_TYPE 0x8010 -#define GLX_RENDER_TYPE 0x8011 -#define GLX_X_RENDERABLE 0x8012 -#define GLX_FBCONFIG_ID 0x8013 -#define GLX_RGBA_TYPE 0x8014 -#define GLX_COLOR_INDEX_TYPE 0x8015 -#define GLX_MAX_PBUFFER_WIDTH 0x8016 -#define GLX_MAX_PBUFFER_HEIGHT 0x8017 -#define GLX_MAX_PBUFFER_PIXELS 0x8018 -#define GLX_PRESERVED_CONTENTS 0x801B -#define GLX_LARGEST_PBUFFER 0x801C -#define GLX_WIDTH 0x801D -#define GLX_HEIGHT 0x801E -#define GLX_EVENT_MASK 0x801F -#define GLX_DAMAGED 0x8020 -#define GLX_SAVED 0x8021 -#define GLX_WINDOW 0x8022 -#define GLX_PBUFFER 0x8023 -#define GLX_PBUFFER_HEIGHT 0x8040 -#define GLX_PBUFFER_WIDTH 0x8041 -#define GLX_RGBA_BIT 0x00000001 -#define GLX_COLOR_INDEX_BIT 0x00000002 -#define GLX_PBUFFER_CLOBBER_MASK 0x08000000 - - -/* - * GLX 1.4 and later: - */ -#define GLX_SAMPLE_BUFFERS 0x186a0 /*100000*/ -#define GLX_SAMPLES 0x186a1 /*100001*/ - - - -typedef struct __GLXcontextRec *GLXContext; -typedef XID GLXPixmap; -typedef XID GLXDrawable; -/* GLX 1.3 and later */ -typedef struct __GLXFBConfigRec *GLXFBConfig; -typedef XID GLXFBConfigID; -typedef XID GLXContextID; -typedef XID GLXWindow; -typedef XID GLXPbuffer; - - - -extern XVisualInfo* glXChooseVisual( Display *dpy, int screen, - int *attribList ); - -extern GLXContext glXCreateContext( Display *dpy, XVisualInfo *vis, - GLXContext shareList, Bool direct ); - -extern void glXDestroyContext( Display *dpy, GLXContext ctx ); - -extern Bool glXMakeCurrent( Display *dpy, GLXDrawable drawable, - GLXContext ctx); - -extern void glXCopyContext( Display *dpy, GLXContext src, GLXContext dst, - unsigned long mask ); - -extern void glXSwapBuffers( Display *dpy, GLXDrawable drawable ); - -extern GLXPixmap glXCreateGLXPixmap( Display *dpy, XVisualInfo *visual, - Pixmap pixmap ); - -extern void glXDestroyGLXPixmap( Display *dpy, GLXPixmap pixmap ); - -extern Bool glXQueryExtension( Display *dpy, int *errorb, int *event ); - -extern Bool glXQueryVersion( Display *dpy, int *maj, int *min ); - -extern Bool glXIsDirect( Display *dpy, GLXContext ctx ); - -extern int glXGetConfig( Display *dpy, XVisualInfo *visual, - int attrib, int *value ); - -extern GLXContext glXGetCurrentContext( void ); - -extern GLXDrawable glXGetCurrentDrawable( void ); - -extern void glXWaitGL( void ); - -extern void glXWaitX( void ); - -extern void glXUseXFont( Font font, int first, int count, int list ); - - - -/* GLX 1.1 and later */ -extern const char *glXQueryExtensionsString( Display *dpy, int screen ); - -extern const char *glXQueryServerString( Display *dpy, int screen, int name ); - -extern const char *glXGetClientString( Display *dpy, int name ); - - -/* GLX 1.2 and later */ -extern Display *glXGetCurrentDisplay( void ); - - -/* GLX 1.3 and later */ -extern GLXFBConfig *glXChooseFBConfig( Display *dpy, int screen, - const int *attribList, int *nitems ); - -extern int glXGetFBConfigAttrib( Display *dpy, GLXFBConfig config, - int attribute, int *value ); - -extern GLXFBConfig *glXGetFBConfigs( Display *dpy, int screen, - int *nelements ); - -extern XVisualInfo *glXGetVisualFromFBConfig( Display *dpy, - GLXFBConfig config ); - -extern GLXWindow glXCreateWindow( Display *dpy, GLXFBConfig config, - Window win, const int *attribList ); - -extern void glXDestroyWindow( Display *dpy, GLXWindow window ); - -extern GLXPixmap glXCreatePixmap( Display *dpy, GLXFBConfig config, - Pixmap pixmap, const int *attribList ); - -extern void glXDestroyPixmap( Display *dpy, GLXPixmap pixmap ); - -extern GLXPbuffer glXCreatePbuffer( Display *dpy, GLXFBConfig config, - const int *attribList ); - -extern void glXDestroyPbuffer( Display *dpy, GLXPbuffer pbuf ); - -extern void glXQueryDrawable( Display *dpy, GLXDrawable draw, int attribute, - unsigned int *value ); - -extern GLXContext glXCreateNewContext( Display *dpy, GLXFBConfig config, - int renderType, GLXContext shareList, - Bool direct ); - -extern Bool glXMakeContextCurrent( Display *dpy, GLXDrawable draw, - GLXDrawable read, GLXContext ctx ); - -extern GLXDrawable glXGetCurrentReadDrawable( void ); - -extern int glXQueryContext( Display *dpy, GLXContext ctx, int attribute, - int *value ); - -extern void glXSelectEvent( Display *dpy, GLXDrawable drawable, - unsigned long mask ); - -extern void glXGetSelectedEvent( Display *dpy, GLXDrawable drawable, - unsigned long *mask ); - - -/* GLX 1.4 and later */ -extern void (*glXGetProcAddress(const GLubyte *procname))( void ); - - -#ifndef GLX_GLXEXT_LEGACY - -#include - -#else - - -/* - * 28. GLX_EXT_visual_info extension - */ -#ifndef GLX_EXT_visual_info -#define GLX_EXT_visual_info 1 - -#define GLX_X_VISUAL_TYPE_EXT 0x22 -#define GLX_TRANSPARENT_TYPE_EXT 0x23 -#define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24 -#define GLX_TRANSPARENT_RED_VALUE_EXT 0x25 -#define GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26 -#define GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27 -#define GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28 -#define GLX_TRUE_COLOR_EXT 0x8002 -#define GLX_DIRECT_COLOR_EXT 0x8003 -#define GLX_PSEUDO_COLOR_EXT 0x8004 -#define GLX_STATIC_COLOR_EXT 0x8005 -#define GLX_GRAY_SCALE_EXT 0x8006 -#define GLX_STATIC_GRAY_EXT 0x8007 -#define GLX_NONE_EXT 0x8000 -#define GLX_TRANSPARENT_RGB_EXT 0x8008 -#define GLX_TRANSPARENT_INDEX_EXT 0x8009 - -#endif /* 28. GLX_EXT_visual_info extension */ - - - -/* - * 41. GLX_SGI_video_sync - */ -#ifndef GLX_SGI_video_sync -#define GLX_SGI_video_sync 1 - -extern int glXGetVideoSyncSGI(unsigned int *count); -extern int glXWaitVideoSyncSGI(int divisor, int remainder, unsigned int *count); - -#endif /* GLX_SGI_video_sync */ - - - -/* - * 42. GLX_EXT_visual_rating - */ -#ifndef GLX_EXT_visual_rating -#define GLX_EXT_visual_rating 1 - -#define GLX_VISUAL_CAVEAT_EXT 0x20 -/*#define GLX_NONE_EXT 0x8000*/ -#define GLX_SLOW_VISUAL_EXT 0x8001 -#define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D - -#endif /* GLX_EXT_visual_rating */ - - - -/* - * 47. GLX_EXT_import_context - */ -#ifndef GLX_EXT_import_context -#define GLX_EXT_import_context 1 - -#define GLX_SHARE_CONTEXT_EXT 0x800A -#define GLX_VISUAL_ID_EXT 0x800B -#define GLX_SCREEN_EXT 0x800C - -extern void glXFreeContextEXT(Display *dpy, GLXContext context); - -extern GLXContextID glXGetContextIDEXT(const GLXContext context); - -extern Display *glXGetCurrentDisplayEXT(void); - -extern GLXContext glXImportContextEXT(Display *dpy, GLXContextID contextID); - -extern int glXQueryContextInfoEXT(Display *dpy, GLXContext context, - int attribute,int *value); - -#endif /* GLX_EXT_import_context */ - - - -/* - * 215. GLX_MESA_copy_sub_buffer - */ -#ifndef GLX_MESA_copy_sub_buffer -#define GLX_MESA_copy_sub_buffer 1 - -extern void glXCopySubBufferMESA( Display *dpy, GLXDrawable drawable, - int x, int y, int width, int height ); - -#endif - - - -/* - * 216. GLX_MESA_pixmap_colormap - */ -#ifndef GLX_MESA_pixmap_colormap -#define GLX_MESA_pixmap_colormap 1 - -extern GLXPixmap glXCreateGLXPixmapMESA( Display *dpy, XVisualInfo *visual, - Pixmap pixmap, Colormap cmap ); - -#endif /* GLX_MESA_pixmap_colormap */ - - - -/* - * 217. GLX_MESA_release_buffers - */ -#ifndef GLX_MESA_release_buffers -#define GLX_MESA_release_buffers 1 - -extern Bool glXReleaseBuffersMESA( Display *dpy, GLXDrawable d ); - -#endif /* GLX_MESA_release_buffers */ - - - -/* - * 218. GLX_MESA_set_3dfx_mode - */ -#ifndef GLX_MESA_set_3dfx_mode -#define GLX_MESA_set_3dfx_mode 1 - -#define GLX_3DFX_WINDOW_MODE_MESA 0x1 -#define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2 - -extern Bool glXSet3DfxModeMESA( int mode ); - -#endif /* GLX_MESA_set_3dfx_mode */ - - - -/* - * ARB 2. GLX_ARB_get_proc_address - */ -#ifndef GLX_ARB_get_proc_address -#define GLX_ARB_get_proc_address 1 - -extern void (*glXGetProcAddressARB(const GLubyte *procName))(); - -#endif /* GLX_ARB_get_proc_address */ - - - -#endif /* GLX_GLXEXT_LEGACY */ - - -/** - ** The following aren't in glxext.h yet. - **/ - - -/* - * ???. GLX_NV_vertex_array_range - */ -#ifndef GLX_NV_vertex_array_range -#define GLX_NV_vertex_array_range - -extern void *glXAllocateMemoryNV(GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority); -extern void glXFreeMemoryNV(GLvoid *pointer); -typedef void * ( * PFNGLXALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority); -typedef void ( * PFNGLXFREEMEMORYNVPROC) (GLvoid *pointer); - -#endif /* GLX_NV_vertex_array_range */ - - - -/* - * ???. GLX_MESA_agp_offset - */ -#ifndef GLX_MESA_agp_offset -#define GLX_MESA_agp_offset 1 - -extern GLuint glXGetAGPOffsetMESA(const GLvoid *pointer); -typedef GLuint (* PFNGLXGETAGPOFFSETMESAPROC) (const GLvoid *pointer); - -#endif /* GLX_MESA_agp_offset */ - - -/* - * ???. GLX_MESA_allocate_memory - */ -#ifndef GLX_MESA_allocate_memory -#define GLX_MESA_allocate_memory 1 - -extern void *glXAllocateMemoryMESA(Display *dpy, int scrn, size_t size, float readfreq, float writefreq, float priority); -extern void glXFreeMemoryMESA(Display *dpy, int scrn, void *pointer); -extern GLuint glXGetMemoryOffsetMESA(Display *dpy, int scrn, const void *pointer); -typedef void * ( * PFNGLXALLOCATEMEMORYMESAPROC) (Display *dpy, int scrn, size_t size, float readfreq, float writefreq, float priority); -typedef void ( * PFNGLXFREEMEMORYMESAPROC) (Display *dpy, int scrn, void *pointer); -typedef GLuint (* PFNGLXGETMEMORYOFFSETMESAPROC) (Display *dpy, int scrn, const void *pointer); - -#endif /* GLX_MESA_allocate_memory */ - -/* - * ARB ?. GLX_ARB_render_texture - */ -#ifndef GLX_ARB_render_texture -#define GLX_ARB_render_texture 1 - -extern Bool glXBindTexImageARB(Display *dpy, GLXPbuffer pbuffer, int buffer); -extern Bool glXReleaseTexImageARB(Display *dpy, GLXPbuffer pbuffer, int buffer); -extern Bool glXDrawableAttribARB(Display *dpy, GLXDrawable draw, const int *attribList); - -#endif /* GLX_ARB_render_texture */ - - -/* - * Remove this when glxext.h is updated. - */ -#ifndef GLX_NV_float_buffer -#define GLX_NV_float_buffer 1 - -#define GLX_FLOAT_COMPONENTS_NV 0x20B0 - -#endif /* GLX_NV_float_buffer */ - - -/*** Should these go here, or in another header? */ -/* -** GLX Events -*/ -typedef struct { - int event_type; /* GLX_DAMAGED or GLX_SAVED */ - int draw_type; /* GLX_WINDOW or GLX_PBUFFER */ - unsigned long serial; /* # of last request processed by server */ - Bool send_event; /* true if this came for SendEvent request */ - Display *display; /* display the event was read from */ - GLXDrawable drawable; /* XID of Drawable */ - unsigned int buffer_mask; /* mask indicating which buffers are affected */ - unsigned int aux_buffer; /* which aux buffer was affected */ - int x, y; - int width, height; - int count; /* if nonzero, at least this many more */ -} GLXPbufferClobberEvent; - -typedef union __GLXEvent { - GLXPbufferClobberEvent glxpbufferclobber; - long pad[24]; -} GLXEvent; - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/Libraries/GL/glx_mangle.h b/Libraries/GL/glx_mangle.h deleted file mode 100644 index d0b47d94..00000000 --- a/Libraries/GL/glx_mangle.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Mesa 3-D graphics library - * Version: 4.1 - * Copyright (C) 1995-1998 Brian Paul - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#ifndef GLX_MANGLE_H -#define GLX_MANGLE_H - -#define glXChooseVisual mglXChooseVisual -#define glXCreateContext mglXCreateContext -#define glXDestroyContext mglXDestroyContext -#define glXMakeCurrent mglXMakeCurrent -#define glXCopyContext mglXCopyContext -#define glXSwapBuffers mglXSwapBuffers -#define glXCreateGLXPixmap mglXCreateGLXPixmap -#define glXDestroyGLXPixmap mglXDestroyGLXPixmap -#define glXQueryExtension mglXQueryExtension -#define glXQueryVersion mglXQueryVersion -#define glXIsDirect mglXIsDirect -#define glXGetConfig mglXGetConfig -#define glXGetCurrentContext mglXGetCurrentContext -#define glXGetCurrentDrawable mglXGetCurrentDrawable -#define glXWaitGL mglXWaitGL -#define glXWaitX mglXWaitX -#define glXUseXFont mglXUseXFont -#define glXQueryExtensionsString mglXQueryExtensionsString -#define glXQueryServerString mglXQueryServerString -#define glXGetClientString mglXGetClientString -#define glXCreateGLXPixmapMESA mglXCreateGLXPixmapMESA -#define glXReleaseBuffersMESA mglXReleaseBuffersMESA -#define glXCopySubBufferMESA mglXCopySubBufferMESA -#define glXGetVideoSyncSGI mglXGetVideoSyncSGI -#define glXWaitVideoSyncSGI mglXWaitVideoSyncSGI - -/* GLX 1.4 */ -#define glXGetProcAddress mglXGetProcAddress - - -#endif diff --git a/Libraries/GL/glxext.h b/Libraries/GL/glxext.h deleted file mode 100644 index 589d1ef3..00000000 --- a/Libraries/GL/glxext.h +++ /dev/null @@ -1,693 +0,0 @@ -#ifndef __glxext_h_ -#define __glxext_h_ - -#ifdef __cplusplus -extern "C" { -#endif - -/* -** License Applicability. Except to the extent portions of this file are -** made subject to an alternative license as permitted in the SGI Free -** Software License B, Version 1.1 (the "License"), the contents of this -** file are subject only to the provisions of the License. You may not use -** this file except in compliance with the License. You may obtain a copy -** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 -** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: -** -** http://oss.sgi.com/projects/FreeB -** -** Note that, as provided in the License, the Software is distributed on an -** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS -** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND -** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A -** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. -** -** Original Code. The Original Code is: OpenGL Sample Implementation, -** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, -** Inc. The Original Code is Copyright (c) 1991-2004 Silicon Graphics, Inc. -** Copyright in any portions created by third parties is as indicated -** elsewhere herein. All Rights Reserved. -** -** Additional Notice Provisions: This software was created using the -** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has -** not been independently verified as being compliant with the OpenGL(R) -** version 1.2.1 Specification. -*/ - -#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) -#define WIN32_LEAN_AND_MEAN 1 -#include -#endif - -#ifndef APIENTRY -#define APIENTRY -#endif -#ifndef APIENTRYP -#define APIENTRYP APIENTRY * -#endif -#ifndef GLAPI -#define GLAPI extern -#endif - -/*************************************************************/ - -/* Header file version number, required by OpenGL ABI for Linux */ -/* glxext.h last updated 2004/07/26 */ -/* Current version at http://oss.sgi.com/projects/ogl-sample/registry/ */ -#define GLX_GLXEXT_VERSION 6 - -#ifndef GLX_VERSION_1_3 -#define GLX_WINDOW_BIT 0x00000001 -#define GLX_PIXMAP_BIT 0x00000002 -#define GLX_PBUFFER_BIT 0x00000004 -#define GLX_RGBA_BIT 0x00000001 -#define GLX_COLOR_INDEX_BIT 0x00000002 -#define GLX_PBUFFER_CLOBBER_MASK 0x08000000 -#define GLX_FRONT_LEFT_BUFFER_BIT 0x00000001 -#define GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002 -#define GLX_BACK_LEFT_BUFFER_BIT 0x00000004 -#define GLX_BACK_RIGHT_BUFFER_BIT 0x00000008 -#define GLX_AUX_BUFFERS_BIT 0x00000010 -#define GLX_DEPTH_BUFFER_BIT 0x00000020 -#define GLX_STENCIL_BUFFER_BIT 0x00000040 -#define GLX_ACCUM_BUFFER_BIT 0x00000080 -#define GLX_CONFIG_CAVEAT 0x20 -#define GLX_X_VISUAL_TYPE 0x22 -#define GLX_TRANSPARENT_TYPE 0x23 -#define GLX_TRANSPARENT_INDEX_VALUE 0x24 -#define GLX_TRANSPARENT_RED_VALUE 0x25 -#define GLX_TRANSPARENT_GREEN_VALUE 0x26 -#define GLX_TRANSPARENT_BLUE_VALUE 0x27 -#define GLX_TRANSPARENT_ALPHA_VALUE 0x28 -#define GLX_DONT_CARE 0xFFFFFFFF -#define GLX_NONE 0x8000 -#define GLX_SLOW_CONFIG 0x8001 -#define GLX_TRUE_COLOR 0x8002 -#define GLX_DIRECT_COLOR 0x8003 -#define GLX_PSEUDO_COLOR 0x8004 -#define GLX_STATIC_COLOR 0x8005 -#define GLX_GRAY_SCALE 0x8006 -#define GLX_STATIC_GRAY 0x8007 -#define GLX_TRANSPARENT_RGB 0x8008 -#define GLX_TRANSPARENT_INDEX 0x8009 -#define GLX_VISUAL_ID 0x800B -#define GLX_SCREEN 0x800C -#define GLX_NON_CONFORMANT_CONFIG 0x800D -#define GLX_DRAWABLE_TYPE 0x8010 -#define GLX_RENDER_TYPE 0x8011 -#define GLX_X_RENDERABLE 0x8012 -#define GLX_FBCONFIG_ID 0x8013 -#define GLX_RGBA_TYPE 0x8014 -#define GLX_COLOR_INDEX_TYPE 0x8015 -#define GLX_MAX_PBUFFER_WIDTH 0x8016 -#define GLX_MAX_PBUFFER_HEIGHT 0x8017 -#define GLX_MAX_PBUFFER_PIXELS 0x8018 -#define GLX_PRESERVED_CONTENTS 0x801B -#define GLX_LARGEST_PBUFFER 0x801C -#define GLX_WIDTH 0x801D -#define GLX_HEIGHT 0x801E -#define GLX_EVENT_MASK 0x801F -#define GLX_DAMAGED 0x8020 -#define GLX_SAVED 0x8021 -#define GLX_WINDOW 0x8022 -#define GLX_PBUFFER 0x8023 -#define GLX_PBUFFER_HEIGHT 0x8040 -#define GLX_PBUFFER_WIDTH 0x8041 -#endif - -#ifndef GLX_VERSION_1_4 -#define GLX_SAMPLE_BUFFERS 100000 -#define GLX_SAMPLES 100001 -#endif - -#ifndef GLX_ARB_get_proc_address -#endif - -#ifndef GLX_ARB_multisample -#define GLX_SAMPLE_BUFFERS_ARB 100000 -#define GLX_SAMPLES_ARB 100001 -#endif - -#ifndef GLX_SGIS_multisample -#define GLX_SAMPLE_BUFFERS_SGIS 100000 -#define GLX_SAMPLES_SGIS 100001 -#endif - -#ifndef GLX_EXT_visual_info -#define GLX_X_VISUAL_TYPE_EXT 0x22 -#define GLX_TRANSPARENT_TYPE_EXT 0x23 -#define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24 -#define GLX_TRANSPARENT_RED_VALUE_EXT 0x25 -#define GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26 -#define GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27 -#define GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28 -#define GLX_NONE_EXT 0x8000 -#define GLX_TRUE_COLOR_EXT 0x8002 -#define GLX_DIRECT_COLOR_EXT 0x8003 -#define GLX_PSEUDO_COLOR_EXT 0x8004 -#define GLX_STATIC_COLOR_EXT 0x8005 -#define GLX_GRAY_SCALE_EXT 0x8006 -#define GLX_STATIC_GRAY_EXT 0x8007 -#define GLX_TRANSPARENT_RGB_EXT 0x8008 -#define GLX_TRANSPARENT_INDEX_EXT 0x8009 -#endif - -#ifndef GLX_SGI_swap_control -#endif - -#ifndef GLX_SGI_video_sync -#endif - -#ifndef GLX_SGI_make_current_read -#endif - -#ifndef GLX_SGIX_video_source -#endif - -#ifndef GLX_EXT_visual_rating -#define GLX_VISUAL_CAVEAT_EXT 0x20 -#define GLX_SLOW_VISUAL_EXT 0x8001 -#define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D -/* reuse GLX_NONE_EXT */ -#endif - -#ifndef GLX_EXT_import_context -#define GLX_SHARE_CONTEXT_EXT 0x800A -#define GLX_VISUAL_ID_EXT 0x800B -#define GLX_SCREEN_EXT 0x800C -#endif - -#ifndef GLX_SGIX_fbconfig -#define GLX_WINDOW_BIT_SGIX 0x00000001 -#define GLX_PIXMAP_BIT_SGIX 0x00000002 -#define GLX_RGBA_BIT_SGIX 0x00000001 -#define GLX_COLOR_INDEX_BIT_SGIX 0x00000002 -#define GLX_DRAWABLE_TYPE_SGIX 0x8010 -#define GLX_RENDER_TYPE_SGIX 0x8011 -#define GLX_X_RENDERABLE_SGIX 0x8012 -#define GLX_FBCONFIG_ID_SGIX 0x8013 -#define GLX_RGBA_TYPE_SGIX 0x8014 -#define GLX_COLOR_INDEX_TYPE_SGIX 0x8015 -/* reuse GLX_SCREEN_EXT */ -#endif - -#ifndef GLX_SGIX_pbuffer -#define GLX_PBUFFER_BIT_SGIX 0x00000004 -#define GLX_BUFFER_CLOBBER_MASK_SGIX 0x08000000 -#define GLX_FRONT_LEFT_BUFFER_BIT_SGIX 0x00000001 -#define GLX_FRONT_RIGHT_BUFFER_BIT_SGIX 0x00000002 -#define GLX_BACK_LEFT_BUFFER_BIT_SGIX 0x00000004 -#define GLX_BACK_RIGHT_BUFFER_BIT_SGIX 0x00000008 -#define GLX_AUX_BUFFERS_BIT_SGIX 0x00000010 -#define GLX_DEPTH_BUFFER_BIT_SGIX 0x00000020 -#define GLX_STENCIL_BUFFER_BIT_SGIX 0x00000040 -#define GLX_ACCUM_BUFFER_BIT_SGIX 0x00000080 -#define GLX_SAMPLE_BUFFERS_BIT_SGIX 0x00000100 -#define GLX_MAX_PBUFFER_WIDTH_SGIX 0x8016 -#define GLX_MAX_PBUFFER_HEIGHT_SGIX 0x8017 -#define GLX_MAX_PBUFFER_PIXELS_SGIX 0x8018 -#define GLX_OPTIMAL_PBUFFER_WIDTH_SGIX 0x8019 -#define GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX 0x801A -#define GLX_PRESERVED_CONTENTS_SGIX 0x801B -#define GLX_LARGEST_PBUFFER_SGIX 0x801C -#define GLX_WIDTH_SGIX 0x801D -#define GLX_HEIGHT_SGIX 0x801E -#define GLX_EVENT_MASK_SGIX 0x801F -#define GLX_DAMAGED_SGIX 0x8020 -#define GLX_SAVED_SGIX 0x8021 -#define GLX_WINDOW_SGIX 0x8022 -#define GLX_PBUFFER_SGIX 0x8023 -#endif - -#ifndef GLX_SGI_cushion -#endif - -#ifndef GLX_SGIX_video_resize -#define GLX_SYNC_FRAME_SGIX 0x00000000 -#define GLX_SYNC_SWAP_SGIX 0x00000001 -#endif - -#ifndef GLX_SGIX_dmbuffer -#define GLX_DIGITAL_MEDIA_PBUFFER_SGIX 0x8024 -#endif - -#ifndef GLX_SGIX_swap_group -#endif - -#ifndef GLX_SGIX_swap_barrier -#endif - -#ifndef GLX_SGIS_blended_overlay -#define GLX_BLENDED_RGBA_SGIS 0x8025 -#endif - -#ifndef GLX_SGIS_shared_multisample -#define GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026 -#define GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027 -#endif - -#ifndef GLX_SUN_get_transparent_index -#endif - -#ifndef GLX_3DFX_multisample -#define GLX_SAMPLE_BUFFERS_3DFX 0x8050 -#define GLX_SAMPLES_3DFX 0x8051 -#endif - -#ifndef GLX_MESA_copy_sub_buffer -#endif - -#ifndef GLX_MESA_pixmap_colormap -#endif - -#ifndef GLX_MESA_release_buffers -#endif - -#ifndef GLX_MESA_set_3dfx_mode -#define GLX_3DFX_WINDOW_MODE_MESA 0x1 -#define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2 -#endif - -#ifndef GLX_SGIX_visual_select_group -#define GLX_VISUAL_SELECT_GROUP_SGIX 0x8028 -#endif - -#ifndef GLX_OML_swap_method -#define GLX_SWAP_METHOD_OML 0x8060 -#define GLX_SWAP_EXCHANGE_OML 0x8061 -#define GLX_SWAP_COPY_OML 0x8062 -#define GLX_SWAP_UNDEFINED_OML 0x8063 -#endif - -#ifndef GLX_OML_sync_control -#endif - -#ifndef GLX_SGIX_hyperpipe_group -#define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX 80 -#define GLX_BAD_HYPERPIPE_CONFIG_SGIX 91 -#define GLX_BAD_HYPERPIPE_SGIX 92 -#define GLX_HYPERPIPE_DISPLAY_PIPE_SGIX 0x00000001 -#define GLX_HYPERPIPE_RENDER_PIPE_SGIX 0x00000002 -#define GLX_PIPE_RECT_SGIX 0x00000001 -#define GLX_PIPE_RECT_LIMITS_SGIX 0x00000002 -#define GLX_HYPERPIPE_STEREO_SGIX 0x00000003 -#define GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX 0x00000004 -#define GLX_HYPERPIPE_ID_SGIX 0x8030 -#endif - -#ifndef GLX_MESA_agp_offset -#endif - - -/*************************************************************/ - -#ifndef GLX_ARB_get_proc_address -typedef void (*__GLXextFuncPtr)(void); -#endif - -#ifndef GLX_SGIX_video_source -typedef XID GLXVideoSourceSGIX; -#endif - -#ifndef GLX_SGIX_fbconfig -typedef XID GLXFBConfigIDSGIX; -typedef struct __GLXFBConfigRec *GLXFBConfigSGIX; -#endif - -#ifndef GLX_SGIX_pbuffer -typedef XID GLXPbufferSGIX; -typedef struct { - int type; - unsigned long serial; /* # of last request processed by server */ - Bool send_event; /* true if this came for SendEvent request */ - Display *display; /* display the event was read from */ - GLXDrawable drawable; /* i.d. of Drawable */ - int event_type; /* GLX_DAMAGED_SGIX or GLX_SAVED_SGIX */ - int draw_type; /* GLX_WINDOW_SGIX or GLX_PBUFFER_SGIX */ - unsigned int mask; /* mask indicating which buffers are affected*/ - int x, y; - int width, height; - int count; /* if nonzero, at least this many more */ -} GLXBufferClobberEventSGIX; -#endif - -#if defined(__sun__) -#include -#if defined(__STDC__) -#if defined(__arch64__) -typedef long int int64_t; -#else -typedef long long int int64_t; -#endif /* __arch64__ */ -#endif /* __STDC__ */ -#elif defined(__UNIXOS2__) || defined(__SOL64__) -typedef long int int32_t; -typedef long long int int64_t; -#elif defined( __VMS ) -#include -#elif defined(__SCO__) || defined(__USLC__) -#include -#elif defined(WIN32) && defined(__GNUC__) -#include -#endif - -#ifndef GLX_VERSION_1_3 -#define GLX_VERSION_1_3 1 -#ifdef GLX_GLXEXT_PROTOTYPES -extern GLXFBConfig * glXGetFBConfigs (Display *, int, int *); -extern GLXFBConfig * glXChooseFBConfig (Display *, int, const int *, int *); -extern int glXGetFBConfigAttrib (Display *, GLXFBConfig, int, int *); -extern XVisualInfo * glXGetVisualFromFBConfig (Display *, GLXFBConfig); -extern GLXWindow glXCreateWindow (Display *, GLXFBConfig, Window, const int *); -extern void glXDestroyWindow (Display *, GLXWindow); -extern GLXPixmap glXCreatePixmap (Display *, GLXFBConfig, Pixmap, const int *); -extern void glXDestroyPixmap (Display *, GLXPixmap); -extern GLXPbuffer glXCreatePbuffer (Display *, GLXFBConfig, const int *); -extern void glXDestroyPbuffer (Display *, GLXPbuffer); -extern void glXQueryDrawable (Display *, GLXDrawable, int, unsigned int *); -extern GLXContext glXCreateNewContext (Display *, GLXFBConfig, int, GLXContext, Bool); -extern Bool glXMakeContextCurrent (Display *, GLXDrawable, GLXDrawable, GLXContext); -extern GLXDrawable glXGetCurrentReadDrawable (void); -extern Display * glXGetCurrentDisplay (void); -extern int glXQueryContext (Display *, GLXContext, int, int *); -extern void glXSelectEvent (Display *, GLXDrawable, unsigned long); -extern void glXGetSelectedEvent (Display *, GLXDrawable, unsigned long *); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef GLXFBConfig * ( * PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements); -typedef GLXFBConfig * ( * PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements); -typedef int ( * PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value); -typedef XVisualInfo * ( * PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config); -typedef GLXWindow ( * PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list); -typedef void ( * PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win); -typedef GLXPixmap ( * PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list); -typedef void ( * PFNGLXDESTROYPIXMAPPROC) (Display *dpy, GLXPixmap pixmap); -typedef GLXPbuffer ( * PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list); -typedef void ( * PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf); -typedef void ( * PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); -typedef GLXContext ( * PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct); -typedef Bool ( * PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); -typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLEPROC) (void); -typedef Display * ( * PFNGLXGETCURRENTDISPLAYPROC) (void); -typedef int ( * PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value); -typedef void ( * PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask); -typedef void ( * PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_mask); -#endif - -#ifndef GLX_VERSION_1_4 -#define GLX_VERSION_1_4 1 -#ifdef GLX_GLXEXT_PROTOTYPES -extern __GLXextFuncPtr glXGetProcAddress (const GLubyte *); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSPROC) (const GLubyte *procName); -#endif - -#ifndef GLX_ARB_get_proc_address -#define GLX_ARB_get_proc_address 1 -#ifdef GLX_GLXEXT_PROTOTYPES -extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSARBPROC) (const GLubyte *procName); -#endif - -#ifndef GLX_ARB_multisample -#define GLX_ARB_multisample 1 -#endif - -#ifndef GLX_SGIS_multisample -#define GLX_SGIS_multisample 1 -#endif - -#ifndef GLX_EXT_visual_info -#define GLX_EXT_visual_info 1 -#endif - -#ifndef GLX_SGI_swap_control -#define GLX_SGI_swap_control 1 -#ifdef GLX_GLXEXT_PROTOTYPES -extern int glXSwapIntervalSGI (int); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef int ( * PFNGLXSWAPINTERVALSGIPROC) (int interval); -#endif - -#ifndef GLX_SGI_video_sync -#define GLX_SGI_video_sync 1 -#ifdef GLX_GLXEXT_PROTOTYPES -extern int glXGetVideoSyncSGI (unsigned int *); -extern int glXWaitVideoSyncSGI (int, int, unsigned int *); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef int ( * PFNGLXGETVIDEOSYNCSGIPROC) (unsigned int *count); -typedef int ( * PFNGLXWAITVIDEOSYNCSGIPROC) (int divisor, int remainder, unsigned int *count); -#endif - -#ifndef GLX_SGI_make_current_read -#define GLX_SGI_make_current_read 1 -#ifdef GLX_GLXEXT_PROTOTYPES -extern Bool glXMakeCurrentReadSGI (Display *, GLXDrawable, GLXDrawable, GLXContext); -extern GLXDrawable glXGetCurrentReadDrawableSGI (void); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef Bool ( * PFNGLXMAKECURRENTREADSGIPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); -typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLESGIPROC) (void); -#endif - -#ifndef GLX_SGIX_video_source -#define GLX_SGIX_video_source 1 -#ifdef _VL_H -#ifdef GLX_GLXEXT_PROTOTYPES -extern GLXVideoSourceSGIX glXCreateGLXVideoSourceSGIX (Display *, int, VLServer, VLPath, int, VLNode); -extern void glXDestroyGLXVideoSourceSGIX (Display *, GLXVideoSourceSGIX); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef GLXVideoSourceSGIX ( * PFNGLXCREATEGLXVIDEOSOURCESGIXPROC) (Display *display, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode); -typedef void ( * PFNGLXDESTROYGLXVIDEOSOURCESGIXPROC) (Display *dpy, GLXVideoSourceSGIX glxvideosource); -#endif /* _VL_H */ -#endif - -#ifndef GLX_EXT_visual_rating -#define GLX_EXT_visual_rating 1 -#endif - -#ifndef GLX_EXT_import_context -#define GLX_EXT_import_context 1 -#ifdef GLX_GLXEXT_PROTOTYPES -extern Display * glXGetCurrentDisplayEXT (void); -extern int glXQueryContextInfoEXT (Display *, GLXContext, int, int *); -extern GLXContextID glXGetContextIDEXT (const GLXContext); -extern GLXContext glXImportContextEXT (Display *, GLXContextID); -extern void glXFreeContextEXT (Display *, GLXContext); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef Display * ( * PFNGLXGETCURRENTDISPLAYEXTPROC) (void); -typedef int ( * PFNGLXQUERYCONTEXTINFOEXTPROC) (Display *dpy, GLXContext context, int attribute, int *value); -typedef GLXContextID ( * PFNGLXGETCONTEXTIDEXTPROC) (const GLXContext context); -typedef GLXContext ( * PFNGLXIMPORTCONTEXTEXTPROC) (Display *dpy, GLXContextID contextID); -typedef void ( * PFNGLXFREECONTEXTEXTPROC) (Display *dpy, GLXContext context); -#endif - -#ifndef GLX_SGIX_fbconfig -#define GLX_SGIX_fbconfig 1 -#ifdef GLX_GLXEXT_PROTOTYPES -extern int glXGetFBConfigAttribSGIX (Display *, GLXFBConfigSGIX, int, int *); -extern GLXFBConfigSGIX * glXChooseFBConfigSGIX (Display *, int, int *, int *); -extern GLXPixmap glXCreateGLXPixmapWithConfigSGIX (Display *, GLXFBConfigSGIX, Pixmap); -extern GLXContext glXCreateContextWithConfigSGIX (Display *, GLXFBConfigSGIX, int, GLXContext, Bool); -extern XVisualInfo * glXGetVisualFromFBConfigSGIX (Display *, GLXFBConfigSGIX); -extern GLXFBConfigSGIX glXGetFBConfigFromVisualSGIX (Display *, XVisualInfo *); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef int ( * PFNGLXGETFBCONFIGATTRIBSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int attribute, int *value); -typedef GLXFBConfigSGIX * ( * PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, int *attrib_list, int *nelements); -typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap); -typedef GLXContext ( * PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct); -typedef XVisualInfo * ( * PFNGLXGETVISUALFROMFBCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config); -typedef GLXFBConfigSGIX ( * PFNGLXGETFBCONFIGFROMVISUALSGIXPROC) (Display *dpy, XVisualInfo *vis); -#endif - -#ifndef GLX_SGIX_pbuffer -#define GLX_SGIX_pbuffer 1 -#ifdef GLX_GLXEXT_PROTOTYPES -extern GLXPbufferSGIX glXCreateGLXPbufferSGIX (Display *, GLXFBConfigSGIX, unsigned int, unsigned int, int *); -extern void glXDestroyGLXPbufferSGIX (Display *, GLXPbufferSGIX); -extern int glXQueryGLXPbufferSGIX (Display *, GLXPbufferSGIX, int, unsigned int *); -extern void glXSelectEventSGIX (Display *, GLXDrawable, unsigned long); -extern void glXGetSelectedEventSGIX (Display *, GLXDrawable, unsigned long *); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef GLXPbufferSGIX ( * PFNGLXCREATEGLXPBUFFERSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list); -typedef void ( * PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf); -typedef int ( * PFNGLXQUERYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value); -typedef void ( * PFNGLXSELECTEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long mask); -typedef void ( * PFNGLXGETSELECTEDEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long *mask); -#endif - -#ifndef GLX_SGI_cushion -#define GLX_SGI_cushion 1 -#ifdef GLX_GLXEXT_PROTOTYPES -extern void glXCushionSGI (Display *, Window, float); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef void ( * PFNGLXCUSHIONSGIPROC) (Display *dpy, Window window, float cushion); -#endif - -#ifndef GLX_SGIX_video_resize -#define GLX_SGIX_video_resize 1 -#ifdef GLX_GLXEXT_PROTOTYPES -extern int glXBindChannelToWindowSGIX (Display *, int, int, Window); -extern int glXChannelRectSGIX (Display *, int, int, int, int, int, int); -extern int glXQueryChannelRectSGIX (Display *, int, int, int *, int *, int *, int *); -extern int glXQueryChannelDeltasSGIX (Display *, int, int, int *, int *, int *, int *); -extern int glXChannelRectSyncSGIX (Display *, int, int, GLenum); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef int ( * PFNGLXBINDCHANNELTOWINDOWSGIXPROC) (Display *display, int screen, int channel, Window window); -typedef int ( * PFNGLXCHANNELRECTSGIXPROC) (Display *display, int screen, int channel, int x, int y, int w, int h); -typedef int ( * PFNGLXQUERYCHANNELRECTSGIXPROC) (Display *display, int screen, int channel, int *dx, int *dy, int *dw, int *dh); -typedef int ( * PFNGLXQUERYCHANNELDELTASSGIXPROC) (Display *display, int screen, int channel, int *x, int *y, int *w, int *h); -typedef int ( * PFNGLXCHANNELRECTSYNCSGIXPROC) (Display *display, int screen, int channel, GLenum synctype); -#endif - -#ifndef GLX_SGIX_dmbuffer -#define GLX_SGIX_dmbuffer 1 -#ifdef _DM_BUFFER_H_ -#ifdef GLX_GLXEXT_PROTOTYPES -extern Bool glXAssociateDMPbufferSGIX (Display *, GLXPbufferSGIX, DMparams *, DMbuffer); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef Bool ( * PFNGLXASSOCIATEDMPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer); -#endif /* _DM_BUFFER_H_ */ -#endif - -#ifndef GLX_SGIX_swap_group -#define GLX_SGIX_swap_group 1 -#ifdef GLX_GLXEXT_PROTOTYPES -extern void glXJoinSwapGroupSGIX (Display *, GLXDrawable, GLXDrawable); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef void ( * PFNGLXJOINSWAPGROUPSGIXPROC) (Display *dpy, GLXDrawable drawable, GLXDrawable member); -#endif - -#ifndef GLX_SGIX_swap_barrier -#define GLX_SGIX_swap_barrier 1 -#ifdef GLX_GLXEXT_PROTOTYPES -extern void glXBindSwapBarrierSGIX (Display *, GLXDrawable, int); -extern Bool glXQueryMaxSwapBarriersSGIX (Display *, int, int *); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef void ( * PFNGLXBINDSWAPBARRIERSGIXPROC) (Display *dpy, GLXDrawable drawable, int barrier); -typedef Bool ( * PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC) (Display *dpy, int screen, int *max); -#endif - -#ifndef GLX_SUN_get_transparent_index -#define GLX_SUN_get_transparent_index 1 -#ifdef GLX_GLXEXT_PROTOTYPES -extern Status glXGetTransparentIndexSUN (Display *, Window, Window, long *); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef Status ( * PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display *dpy, Window overlay, Window underlay, long *pTransparentIndex); -#endif - -#ifndef GLX_MESA_copy_sub_buffer -#define GLX_MESA_copy_sub_buffer 1 -#ifdef GLX_GLXEXT_PROTOTYPES -extern void glXCopySubBufferMESA (Display *, GLXDrawable, int, int, int, int); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef void ( * PFNGLXCOPYSUBBUFFERMESAPROC) (Display *dpy, GLXDrawable drawable, int x, int y, int width, int height); -#endif - -#ifndef GLX_MESA_pixmap_colormap -#define GLX_MESA_pixmap_colormap 1 -#ifdef GLX_GLXEXT_PROTOTYPES -extern GLXPixmap glXCreateGLXPixmapMESA (Display *, XVisualInfo *, Pixmap, Colormap); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPMESAPROC) (Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap); -#endif - -#ifndef GLX_MESA_release_buffers -#define GLX_MESA_release_buffers 1 -#ifdef GLX_GLXEXT_PROTOTYPES -extern Bool glXReleaseBuffersMESA (Display *, GLXDrawable); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef Bool ( * PFNGLXRELEASEBUFFERSMESAPROC) (Display *dpy, GLXDrawable drawable); -#endif - -#ifndef GLX_MESA_set_3dfx_mode -#define GLX_MESA_set_3dfx_mode 1 -#ifdef GLX_GLXEXT_PROTOTYPES -extern Bool glXSet3DfxModeMESA (int); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef Bool ( * PFNGLXSET3DFXMODEMESAPROC) (int mode); -#endif - -#ifndef GLX_SGIX_visual_select_group -#define GLX_SGIX_visual_select_group 1 -#endif - -#ifndef GLX_OML_swap_method -#define GLX_OML_swap_method 1 -#endif - -#ifndef GLX_OML_sync_control -#define GLX_OML_sync_control 1 -#ifdef GLX_GLXEXT_PROTOTYPES -extern Bool glXGetSyncValuesOML (Display *, GLXDrawable, int64_t *, int64_t *, int64_t *); -extern Bool glXGetMscRateOML (Display *, GLXDrawable, int32_t *, int32_t *); -extern int64_t glXSwapBuffersMscOML (Display *, GLXDrawable, int64_t, int64_t, int64_t); -extern Bool glXWaitForMscOML (Display *, GLXDrawable, int64_t, int64_t, int64_t, int64_t *, int64_t *, int64_t *); -extern Bool glXWaitForSbcOML (Display *, GLXDrawable, int64_t, int64_t *, int64_t *, int64_t *); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef Bool ( * PFNGLXGETSYNCVALUESOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc); -typedef Bool ( * PFNGLXGETMSCRATEOMLPROC) (Display *dpy, GLXDrawable drawable, int32_t *numerator, int32_t *denominator); -typedef int64_t ( * PFNGLXSWAPBUFFERSMSCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder); -typedef Bool ( * PFNGLXWAITFORMSCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t *ust, int64_t *msc, int64_t *sbc); -typedef Bool ( * PFNGLXWAITFORSBCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_sbc, int64_t *ust, int64_t *msc, int64_t *sbc); -#endif - -#ifndef GLX_SGIX_hyperpipe_group -#define GLX_SGIX_hyperpipe_group 1 - -typedef struct { - char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; - int networkId; -} GLXHyperpipeNetworkSGIX; - -typedef struct { - char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; - int channel; - unsigned int - participationType; - int timeSlice; -} GLXHyperpipeConfigSGIX; - -typedef struct { - char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; - int srcXOrigin, srcYOrigin, srcWidth, srcHeight; - int destXOrigin, destYOrigin, destWidth, destHeight; -} GLXPipeRect; - -typedef struct { - char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; - int XOrigin, YOrigin, maxHeight, maxWidth; -} GLXPipeRectLimits; - -#ifdef GLX_GLXEXT_PROTOTYPES -extern GLXHyperpipeNetworkSGIX * glXQueryHyperpipeNetworkSGIX (Display *, int *); -extern int glXHyperpipeConfigSGIX (Display *, int, int, GLXHyperpipeConfigSGIX *, int *); -extern GLXHyperpipeConfigSGIX * glXQueryHyperpipeConfigSGIX (Display *, int, int *); -extern int glXDestroyHyperpipeConfigSGIX (Display *, int); -extern int glXBindHyperpipeSGIX (Display *, int); -extern int glXQueryHyperpipeBestAttribSGIX (Display *, int, int, int, void *, void *); -extern int glXHyperpipeAttribSGIX (Display *, int, int, int, void *); -extern int glXQueryHyperpipeAttribSGIX (Display *, int, int, int, void *); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef GLXHyperpipeNetworkSGIX * ( * PFNGLXQUERYHYPERPIPENETWORKSGIXPROC) (Display *dpy, int *npipes); -typedef int ( * PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId); -typedef GLXHyperpipeConfigSGIX * ( * PFNGLXQUERYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId, int *npipes); -typedef int ( * PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId); -typedef int ( * PFNGLXBINDHYPERPIPESGIXPROC) (Display *dpy, int hpId); -typedef int ( * PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList); -typedef int ( * PFNGLXHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList); -typedef int ( * PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList); -#endif - -#ifndef GLX_MESA_agp_offset -#define GLX_MESA_agp_offset 1 -#ifdef GLX_GLXEXT_PROTOTYPES -extern unsigned int glXGetAGPOffsetMESA (const void *); -#endif /* GLX_GLXEXT_PROTOTYPES */ -typedef unsigned int ( * PFNGLXGETAGPOFFSETMESAPROC) (const void *pointer); -#endif - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/Libraries/GL/glxint.h b/Libraries/GL/glxint.h deleted file mode 100644 index d9e2581b..00000000 --- a/Libraries/GL/glxint.h +++ /dev/null @@ -1,129 +0,0 @@ -#ifndef __GLX_glxint_h__ -#define __GLX_glxint_h__ - -/* $XFree86: xc/include/GL/glxint.h,v 1.3 2000/11/18 19:37:04 tsi Exp $ */ -/* -** The contents of this file are subject to the GLX Public License Version 1.0 -** (the "License"). You may not use this file except in compliance with the -** License. You may obtain a copy of the License at Silicon Graphics, Inc., -** attn: Legal Services, 2011 N. Shoreline Blvd., Mountain View, CA 94043 -** or at http://www.sgi.com/software/opensource/glx/license.html. -** -** Software distributed under the License is distributed on an "AS IS" -** basis. ALL WARRANTIES ARE DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY -** IMPLIED WARRANTIES OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR -** PURPOSE OR OF NON- INFRINGEMENT. See the License for the specific -** language governing rights and limitations under the License. -** -** The Original Software is GLX version 1.2 source code, released February, -** 1999. The developer of the Original Software is Silicon Graphics, Inc. -** Those portions of the Subject Software created by Silicon Graphics, Inc. -** are Copyright (c) 1991-9 Silicon Graphics, Inc. All Rights Reserved. -** -** $SGI$ -*/ - -#include -#include -#include "GL/gl.h" - -typedef struct __GLXvisualConfigRec __GLXvisualConfig; -typedef struct __GLXFBConfigRec __GLXFBConfig; - -struct __GLXvisualConfigRec { - VisualID vid; - int class; - Bool rgba; - int redSize, greenSize, blueSize, alphaSize; - unsigned long redMask, greenMask, blueMask, alphaMask; - int accumRedSize, accumGreenSize, accumBlueSize, accumAlphaSize; - Bool doubleBuffer; - Bool stereo; - int bufferSize; - int depthSize; - int stencilSize; - int auxBuffers; - int level; - /* Start of Extended Visual Properties */ - int visualRating; /* visual_rating extension */ - int transparentPixel; /* visual_info extension */ - /* colors are floats scaled to ints */ - int transparentRed, transparentGreen, transparentBlue, transparentAlpha; - int transparentIndex; - int multiSampleSize; - int nMultiSampleBuffers; - int visualSelectGroup; -}; - -#define __GLX_MIN_CONFIG_PROPS 18 -#define __GLX_MAX_CONFIG_PROPS 500 - -#define __GLX_EXT_CONFIG_PROPS 10 - -/* -** Since we send all non-core visual properties as token, value pairs, -** we require 2 words across the wire. In order to maintain backwards -** compatibility, we need to send the total number of words that the -** VisualConfigs are sent back in so old libraries can simply "ignore" -** the new properties. -*/ -#define __GLX_TOTAL_CONFIG (__GLX_MIN_CONFIG_PROPS + \ - 2 * __GLX_EXT_CONFIG_PROPS) - -struct __GLXFBConfigRec { - int visualType; - int transparentType; - /* colors are floats scaled to ints */ - int transparentRed, transparentGreen, transparentBlue, transparentAlpha; - int transparentIndex; - - int visualCaveat; - - int associatedVisualId; - int screen; - - int drawableType; - int renderType; - - int maxPbufferWidth, maxPbufferHeight, maxPbufferPixels; - int optimalPbufferWidth, optimalPbufferHeight; /* for SGIX_pbuffer */ - - int visualSelectGroup; /* visuals grouped by select priority */ - - unsigned int id; - - GLboolean rgbMode; - GLboolean colorIndexMode; - GLboolean doubleBufferMode; - GLboolean stereoMode; - GLboolean haveAccumBuffer; - GLboolean haveDepthBuffer; - GLboolean haveStencilBuffer; - - /* The number of bits present in various buffers */ - GLint accumRedBits, accumGreenBits, accumBlueBits, accumAlphaBits; - GLint depthBits; - GLint stencilBits; - GLint indexBits; - GLint redBits, greenBits, blueBits, alphaBits; - GLuint redMask, greenMask, blueMask, alphaMask; - - GLuint multiSampleSize; /* Number of samples per pixel (0 if no ms) */ - - GLuint nMultiSampleBuffers; /* Number of availble ms buffers */ - GLint maxAuxBuffers; - - /* frame buffer level */ - GLint level; - - /* color ranges (for SGI_color_range) */ - GLboolean extendedRange; - GLdouble minRed, maxRed; - GLdouble minGreen, maxGreen; - GLdouble minBlue, maxBlue; - GLdouble minAlpha, maxAlpha; -}; - -#define __GLX_TOTAL_FBCONFIG_PROPS 35 - -#endif /* !__GLX_glxint_h__ */ diff --git a/Libraries/GL/glxmd.h b/Libraries/GL/glxmd.h deleted file mode 100644 index ddb03c38..00000000 --- a/Libraries/GL/glxmd.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef _GLX_glxmd_h_ -#define _GLX_glxmd_h_ - -/* $XFree86: xc/include/GL/glxmd.h,v 1.2 1999/06/14 07:23:28 dawes Exp $ */ -/* -** License Applicability. Except to the extent portions of this file are -** made subject to an alternative license as permitted in the SGI Free -** Software License B, Version 1.1 (the "License"), the contents of this -** file are subject only to the provisions of the License. You may not use -** this file except in compliance with the License. You may obtain a copy -** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 -** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: -** -** http://oss.sgi.com/projects/FreeB -** -** Note that, as provided in the License, the Software is distributed on an -** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS -** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND -** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A -** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. -** -** Original Code. The Original Code is: OpenGL Sample Implementation, -** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, -** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. -** Copyright in any portions created by third parties is as indicated -** elsewhere herein. All Rights Reserved. -** -** Additional Notice Provisions: The application programming interfaces -** established by SGI in conjunction with the Original Code are The -** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released -** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version -** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X -** Window System(R) (Version 1.3), released October 19, 1998. This software -** was created using the OpenGL(R) version 1.2.1 Sample Implementation -** published by SGI, but has not been independently verified as being -** compliant with the OpenGL(R) version 1.2.1 Specification. -*/ - -/* -** Machine dependent declarations. -*/ - -/* -** Define floating point wire types. These are in IEEE format on the wire. -*/ -typedef float FLOAT32; -typedef double FLOAT64; - -/* -** Like B32, but this is used to store floats in a request. -** -** NOTE: Machines that have a native 32-bit IEEE float can define this as -** nothing. Machines that don't might mimic the float with an integer, -** and then define this to :32. -*/ -#define F32 - -#endif /* _GLX_glxmd_h_ */ diff --git a/Libraries/GL/glxproto.h b/Libraries/GL/glxproto.h deleted file mode 100644 index 3ac95860..00000000 --- a/Libraries/GL/glxproto.h +++ /dev/null @@ -1,2384 +0,0 @@ -#ifndef _GLX_glxproto_h_ -#define _GLX_glxproto_h_ - -/* $XFree86: xc/include/GL/glxproto.h,v 1.6 2003/09/28 20:14:58 alanh Exp $ */ -/* -** License Applicability. Except to the extent portions of this file are -** made subject to an alternative license as permitted in the SGI Free -** Software License B, Version 1.1 (the "License"), the contents of this -** file are subject only to the provisions of the License. You may not use -** this file except in compliance with the License. You may obtain a copy -** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 -** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: -** -** http://oss.sgi.com/projects/FreeB -** -** Note that, as provided in the License, the Software is distributed on an -** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS -** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND -** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A -** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. -** -** Original Code. The Original Code is: OpenGL Sample Implementation, -** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, -** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. -** Copyright in any portions created by third parties is as indicated -** elsewhere herein. All Rights Reserved. -** -** Additional Notice Provisions: The application programming interfaces -** established by SGI in conjunction with the Original Code are The -** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released -** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version -** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X -** Window System(R) (Version 1.3), released October 19, 1998. This software -** was created using the OpenGL(R) version 1.2.1 Sample Implementation -** published by SGI, but has not been independently verified as being -** compliant with the OpenGL(R) version 1.2.1 Specification. -*/ - -#include - -/*****************************************************************************/ - -/* -** Errrors. -*/ -#define GLXBadContext 0 -#define GLXBadContextState 1 -#define GLXBadDrawable 2 -#define GLXBadPixmap 3 -#define GLXBadContextTag 4 -#define GLXBadCurrentWindow 5 -#define GLXBadRenderRequest 6 -#define GLXBadLargeRequest 7 -#define GLXUnsupportedPrivateRequest 8 -#define GLXBadFBConfig 9 -#define GLXBadPbuffer 10 -#define GLXBadCurrentDrawable 11 -#define GLXBadWindow 12 - -#define __GLX_NUMBER_ERRORS 12 - -/* -** Events. -** __GLX_NUMBER_EVENTS is set to 17 to account for the BufferClobberSGIX -** event - this helps initialization if the server supports the pbuffer -** extension and the client doesn't. -*/ -#define GLX_PbufferClobber 0 - -#define __GLX_NUMBER_EVENTS 17 - -#define GLX_EXTENSION_NAME "GLX" -#define GLX_EXTENSION_ALIAS "SGI-GLX" - -#define __GLX_MAX_CONTEXT_PROPS 3 - -#ifndef GLX_VENDOR -#define GLX_VENDOR 0x1 -#endif -#ifndef GLX_VERSION -#define GLX_VERSION 0x2 -#endif -#ifndef GLX_EXTENSIONS -#define GLX_EXTENSIONS 0x3 -#endif - -/*****************************************************************************/ - -/* -** For the structure definitions in this file, we must redefine these types in -** terms of Xmd.h types, which may include bitfields. All of these are -** undef'ed at the end of this file, restoring the definitions in glx.h. -*/ -#define GLXContextID CARD32 -#define GLXPixmap CARD32 -#define GLXDrawable CARD32 -#define GLXPbuffer CARD32 -#define GLXWindow CARD32 -#define GLXFBConfigID CARD32 -#define GLXFBConfigIDSGIX CARD32 -#define GLXPbufferSGIX CARD32 - -/* -** ContextTag is not exposed to the API. -*/ -typedef CARD32 GLXContextTag; - -/*****************************************************************************/ - -/* -** Sizes of basic wire types. -*/ -#define __GLX_SIZE_INT8 1 -#define __GLX_SIZE_INT16 2 -#define __GLX_SIZE_INT32 4 -#define __GLX_SIZE_CARD8 1 -#define __GLX_SIZE_CARD16 2 -#define __GLX_SIZE_CARD32 4 -#define __GLX_SIZE_FLOAT32 4 -#define __GLX_SIZE_FLOAT64 8 - -/*****************************************************************************/ - -/* Requests */ - -/* -** Render command request. A bunch of rendering commands are packed into -** a single X extension request. -*/ -typedef struct GLXRender { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - GLXContextTag contextTag B32; -} xGLXRenderReq; -#define sz_xGLXRenderReq 8 - -/* -** The maximum size that a GLXRender command can be. The value must fit -** in 16 bits and should be a multiple of 4. -*/ -#define __GLX_MAX_RENDER_CMD_SIZE 64000 - -/* -** Large render command request. A single large rendering command -** is output in multiple X extension requests. The first packet -** contains an opcode dependent header (see below) that describes -** the data that follows. -*/ -typedef struct GLXRenderLarge { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - GLXContextTag contextTag B32; - CARD16 requestNumber B16; - CARD16 requestTotal B16; - CARD32 dataBytes B32; -} xGLXRenderLargeReq; -#define sz_xGLXRenderLargeReq 16 - -/* -** GLX single request. Commands that go over as single GLX protocol -** requests use this structure. The glxCode will be one of the X_GLsop -** opcodes. -*/ -typedef struct GLXSingle { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - GLXContextTag contextTag B32; -} xGLXSingleReq; -#define sz_xGLXSingleReq 8 - -/* -** glXQueryVersion request -*/ -typedef struct GLXQueryVersion { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - CARD32 majorVersion B32; - CARD32 minorVersion B32; -} xGLXQueryVersionReq; -#define sz_xGLXQueryVersionReq 12 - -/* -** glXIsDirect request -*/ -typedef struct GLXIsDirect { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - GLXContextID context B32; -} xGLXIsDirectReq; -#define sz_xGLXIsDirectReq 8 - -/* -** glXCreateContext request -*/ -typedef struct GLXCreateContext { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - GLXContextID context B32; - CARD32 visual B32; - CARD32 screen B32; - GLXContextID shareList B32; - BOOL isDirect; - CARD8 reserved1; - CARD16 reserved2 B16; -} xGLXCreateContextReq; -#define sz_xGLXCreateContextReq 24 - -/* -** glXDestroyContext request -*/ -typedef struct GLXDestroyContext { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - GLXContextID context B32; -} xGLXDestroyContextReq; -#define sz_xGLXDestroyContextReq 8 - -/* -** glXMakeCurrent request -*/ -typedef struct GLXMakeCurrent { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - GLXDrawable drawable B32; - GLXContextID context B32; - GLXContextTag oldContextTag B32; -} xGLXMakeCurrentReq; -#define sz_xGLXMakeCurrentReq 16 - -/* -** glXWaitGL request -*/ -typedef struct GLXWaitGL { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - GLXContextTag contextTag B32; -} xGLXWaitGLReq; -#define sz_xGLXWaitGLReq 8 - -/* -** glXWaitX request -*/ -typedef struct GLXWaitX { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - GLXContextTag contextTag B32; -} xGLXWaitXReq; -#define sz_xGLXWaitXReq 8 - -/* -** glXCopyContext request -*/ -typedef struct GLXCopyContext { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - GLXContextID source B32; - GLXContextID dest B32; - CARD32 mask B32; - GLXContextTag contextTag B32; -} xGLXCopyContextReq; -#define sz_xGLXCopyContextReq 20 - -/* -** glXSwapBuffers request -*/ -typedef struct GLXSwapBuffers { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - GLXContextTag contextTag B32; - GLXDrawable drawable B32; -} xGLXSwapBuffersReq; -#define sz_xGLXSwapBuffersReq 12 - -/* -** glXUseXFont request -*/ -typedef struct GLXUseXFont { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - GLXContextTag contextTag B32; - CARD32 font B32; - CARD32 first B32; - CARD32 count B32; - CARD32 listBase B32; -} xGLXUseXFontReq; -#define sz_xGLXUseXFontReq 24 - -/* -** glXCreateGLXPixmap request -*/ -typedef struct GLXCreateGLXPixmap { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - CARD32 screen B32; - CARD32 visual B32; - CARD32 pixmap B32; - GLXPixmap glxpixmap B32; -} xGLXCreateGLXPixmapReq; -#define sz_xGLXCreateGLXPixmapReq 20 - -/* -** glXDestroyGLXPixmap request -*/ -typedef struct GLXDestroyGLXPixmap { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - GLXPixmap glxpixmap B32; -} xGLXDestroyGLXPixmapReq; -#define sz_xGLXDestroyGLXPixmapReq 8 - -/* -** glXGetVisualConfigs request -*/ -typedef struct GLXGetVisualConfigs { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - CARD32 screen B32; -} xGLXGetVisualConfigsReq; -#define sz_xGLXGetVisualConfigsReq 8 - -/* -** glXVendorPrivate request. -*/ -typedef struct GLXVendorPrivate { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - CARD32 vendorCode B32; /* vendor-specific opcode */ - GLXContextTag contextTag B32; - /* - ** More data may follow; this is just the header. - */ -} xGLXVendorPrivateReq; -#define sz_xGLXVendorPrivateReq 12 - -/* -** glXVendorPrivateWithReply request -*/ -typedef struct GLXVendorPrivateWithReply { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - CARD32 vendorCode B32; /* vendor-specific opcode */ - GLXContextTag contextTag B32; - /* - ** More data may follow; this is just the header. - */ -} xGLXVendorPrivateWithReplyReq; -#define sz_xGLXVendorPrivateWithReplyReq 12 - -/* -** glXQueryExtensionsString request -*/ -typedef struct GLXQueryExtensionsString { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - CARD32 screen B32; -} xGLXQueryExtensionsStringReq; -#define sz_xGLXQueryExtensionsStringReq 8 - -/* -** glXQueryServerString request -*/ -typedef struct GLXQueryServerString { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - CARD32 screen B32; - CARD32 name B32; -} xGLXQueryServerStringReq; -#define sz_xGLXQueryServerStringReq 12 - -/* -** glXClientInfo request -*/ -typedef struct GLXClientInfo { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - CARD32 major B32; - CARD32 minor B32; - CARD32 numbytes B32; -} xGLXClientInfoReq; -#define sz_xGLXClientInfoReq 16 - -/*** Start of GLX 1.3 requests */ - -/* -** glXGetFBConfigs request -*/ -typedef struct GLXGetFBConfigs { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - CARD32 screen B32; -} xGLXGetFBConfigsReq; -#define sz_xGLXGetFBConfigsReq 8 - -/* -** glXCreatePixmap request -*/ -typedef struct GLXCreatePixmap { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - CARD32 screen B32; - GLXFBConfigID fbconfig B32; - CARD32 pixmap B32; - GLXPixmap glxpixmap B32; - CARD32 numAttribs B32; - /* followed by attribute list */ -} xGLXCreatePixmapReq; -#define sz_xGLXCreatePixmapReq 24 - -/* -** glXDestroyPixmap request -*/ -typedef struct GLXDestroyPixmap { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - GLXPixmap glxpixmap B32; -} xGLXDestroyPixmapReq; -#define sz_xGLXDestroyPixmapReq 8 - -/* -** glXCreateNewContext request -*/ -typedef struct GLXCreateNewContext { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - GLXContextID context B32; - GLXFBConfigID fbconfig B32; - CARD32 screen B32; - CARD32 renderType; - GLXContextID shareList B32; - BOOL isDirect; - CARD8 reserved1; - CARD16 reserved2 B16; -} xGLXCreateNewContextReq; -#define sz_xGLXCreateNewContextReq 28 - -/* -** glXQueryContext request -*/ -typedef struct GLXQueryContext { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - GLXContextID context B32; -} xGLXQueryContextReq; -#define sz_xGLXQueryContextReq 8 - -/* -** glXMakeContextCurrent request -*/ -typedef struct GLXMakeContextCurrent { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - GLXContextTag oldContextTag B32; - GLXDrawable drawable B32; - GLXDrawable readdrawable B32; - GLXContextID context B32; -} xGLXMakeContextCurrentReq; -#define sz_xGLXMakeContextCurrentReq 20 - -/* -** glXCreatePbuffer request -*/ -typedef struct GLXCreatePbuffer { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - CARD32 screen B32; - GLXFBConfigID fbconfig B32; - GLXPbuffer pbuffer B32; - CARD32 numAttribs B32; - /* followed by attribute list */ -} xGLXCreatePbufferReq; -#define sz_xGLXCreatePbufferReq 20 - -/* -** glXDestroyPbuffer request -*/ -typedef struct GLXDestroyPbuffer { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - GLXPbuffer pbuffer B32; -} xGLXDestroyPbufferReq; -#define sz_xGLXDestroyPbufferReq 8 - -/* -** glXGetDrawableAttributes request -*/ -typedef struct GLXGetDrawableAttributes { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - GLXDrawable drawable B32; -} xGLXGetDrawableAttributesReq; -#define sz_xGLXGetDrawableAttributesReq 8 - -/* -** glXChangeDrawableAttributes request -*/ -typedef struct GLXChangeDrawableAttributes { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - GLXDrawable drawable B32; - CARD32 numAttribs B32; - /* followed by attribute list */ -} xGLXChangeDrawableAttributesReq; -#define sz_xGLXChangeDrawableAttributesReq 12 - -/* -** glXCreateWindow request -*/ -typedef struct GLXCreateWindow { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - CARD32 screen B32; - GLXFBConfigID fbconfig B32; - CARD32 window B32; - GLXWindow glxwindow B32; - CARD32 numAttribs B32; - /* followed by attribute list */ -} xGLXCreateWindowReq; -#define sz_xGLXCreateWindowReq 24 - -/* -** glXDestroyWindow request -*/ -typedef struct GLXDestroyWindow { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - GLXWindow glxwindow B32; -} xGLXDestroyWindowReq; -#define sz_xGLXDestroyWindowReq 8 - -/* Replies */ - -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 error B32; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXGetErrorReply; -#define sz_xGLXGetErrorReply 32 - -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - GLXContextTag contextTag B32; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXMakeCurrentReply; -#define sz_xGLXMakeCurrentReply 32 - -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 pad1 B32; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXReadPixelsReply; -#define sz_xGLXReadPixelsReply 32 - -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 pad1 B32; - CARD32 pad2 B32; - CARD32 width B32; - CARD32 height B32; - CARD32 depth B32; - CARD32 pad6 B32; -} xGLXGetTexImageReply; -#define sz_xGLXGetTexImageReply 32 - -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 pad1 B32; - CARD32 pad2 B32; - CARD32 width B32; - CARD32 height B32; - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXGetSeparableFilterReply; -#define sz_xGLXGetSeparableFilterReply 32 - -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 pad1 B32; - CARD32 pad2 B32; - CARD32 width B32; - CARD32 height B32; - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXGetConvolutionFilterReply; -#define sz_xGLXGetConvolutionFilterReply 32 - -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 pad1 B32; - CARD32 pad2 B32; - CARD32 width B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXGetHistogramReply; -#define sz_xGLXGetHistogramReply 32 - -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 pad1 B32; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXGetMinmaxReply; -#define sz_xGLXGetMinmaxReply 32 - -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 retval B32; - CARD32 size B32; - CARD32 newMode B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXRenderModeReply; -#define sz_xGLXRenderModeReply 32 - -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 majorVersion B32; - CARD32 minorVersion B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXQueryVersionReply; -#define sz_xGLXQueryVersionReply 32 - -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 numVisuals B32; - CARD32 numProps B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXGetVisualConfigsReply; -#define sz_xGLXGetVisualConfigsReply 32 - -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - BOOL isDirect; - CARD8 pad1; - CARD16 pad2 B16; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; - CARD32 pad7 B32; -} xGLXIsDirectReply; -#define sz_xGLXIsDirectReply 32 - -/* -** This reply structure is used for all single replies. Single replies -** ship either 1 piece of data or N pieces of data. In these cases -** size indicates how much data is to be returned. -*/ -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 retval B32; - CARD32 size B32; - CARD32 pad3 B32; /* NOTE: may hold a single value */ - CARD32 pad4 B32; /* NOTE: may hold half a double */ - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXSingleReply; -#define sz_xGLXSingleReply 32 - -/* -** This reply structure is used for all Vendor Private replies. Vendor -** Private replies can ship up to 24 bytes within the header or can -** be variable sized, in which case, the reply length field indicates -** the number of words of data which follow the header. -*/ -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 retval B32; - CARD32 size B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXVendorPrivReply; -#define sz_xGLXVendorPrivReply 32 - -/* -** QueryExtensionsStringReply -** n indicates the number of bytes to be returned. -*/ -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 pad1 B32; - CARD32 n B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXQueryExtensionsStringReply; -#define sz_xGLXQueryExtensionsStringReply 32 - -/* -** QueryServerString Reply struct -** n indicates the number of bytes to be returned. -*/ -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 pad1 B32; - CARD32 n B32; - CARD32 pad3 B32; /* NOTE: may hold a single value */ - CARD32 pad4 B32; /* NOTE: may hold half a double */ - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXQueryServerStringReply; -#define sz_xGLXQueryServerStringReply 32 - -/*** Start of GLX 1.3 replies */ - -/* -** glXGetFBConfigs reply -*/ -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 numFBConfigs B32; - CARD32 numAttribs B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXGetFBConfigsReply; -#define sz_xGLXGetFBConfigsReply 32 - -/* -** glXQueryContext reply -*/ -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 n B32; /* number of attribute/value pairs */ - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXQueryContextReply; -#define sz_xGLXQueryContextReply 32 - -/* -** glXMakeContextCurrent reply -*/ -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - GLXContextTag contextTag B32; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXMakeContextCurrentReply; -#define sz_xGLXMakeContextCurrentReply 32 - -/* -** glXCreateGLXPbuffer reply -** This is used only in the direct rendering case on SGIs - otherwise -** CreateGLXPbuffer has no reply. It is not part of GLX 1.3. -*/ -typedef struct { - BYTE type; /* X_Reply */ - CARD8 success; - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 pad1 B32; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXCreateGLXPbufferReply; -#define sz_xGLXCreateGLXPbufferReply 32 - -/* -** glXGetDrawableAttributes reply -*/ -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 numAttribs B32; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXGetDrawableAttributesReply; -#define sz_xGLXGetDrawableAttributesReply 32 - -/* -** glXGetColorTable reply -*/ -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 pad1 B32; - CARD32 pad2 B32; - CARD32 width B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXGetColorTableReply; -#define sz_xGLXGetColorTableReply 32 - -/************************************************************************/ - -/* GLX extension requests and replies */ - -/* -** glXQueryContextInfoEXT request -*/ -typedef struct GLXQueryContextInfoEXT { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - CARD32 vendorCode B32; /* vendor-specific opcode */ - CARD32 pad1 B32; /* unused; corresponds to contextTag in header */ - GLXContextID context B32; -} xGLXQueryContextInfoEXTReq; -#define sz_xGLXQueryContextInfoEXTReq 16 - -/* -** glXQueryContextInfoEXT reply -*/ -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 n B32; /* number of attribute/value pairs */ - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXQueryContextInfoEXTReply; -#define sz_xGLXQueryContextInfoEXTReply 32 - -/* -** glXMakeCurrentReadSGI request -*/ -typedef struct GLXMakeCurrentReadSGI { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - CARD32 vendorCode B32; /* vendor-specific opcode */ - GLXContextTag oldContextTag B32; - GLXDrawable drawable B32; - GLXDrawable readable B32; - GLXContextID context B32; -} xGLXMakeCurrentReadSGIReq; -#define sz_xGLXMakeCurrentReadSGIReq 24 - -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - GLXContextTag contextTag B32; - CARD32 writeVid B32; - CARD32 writeType B32; - CARD32 readVid B32; - CARD32 readType B32; - CARD32 pad6 B32; -} xGLXMakeCurrentReadSGIReply; -#define sz_xGLXMakeCurrentReadSGIReply 32 - -/* -** glXGetFBConfigsSGIX request -*/ -typedef struct GLXGetFBConfigsSGIX { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - CARD32 vendorCode B32; /* vendor-specific opcode */ - CARD32 pad1 B32; /* unused; corresponds to contextTag in header */ - CARD32 screen B32; -} xGLXGetFBConfigsSGIXReq; -#define sz_xGLXGetFBConfigsSGIXReq 16 - -/* -** glXCreateContextWithConfigSGIX request -*/ - -typedef struct GLXCreateContextWithConfigSGIX { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - CARD32 vendorCode B32; /* vendor-specific opcode */ - CARD32 pad1 B32; /* unused; corresponds to contextTag in header */ - GLXContextID context B32; - GLXFBConfigID fbconfig B32; - CARD32 screen B32; - CARD32 renderType; - GLXContextID shareList B32; - BOOL isDirect; - CARD8 reserved1; - CARD16 reserved2 B16; -} xGLXCreateContextWithConfigSGIXReq; -#define sz_xGLXCreateContextWithConfigSGIXReq 36 - -/* -** glXCreatePixmapWithConfigSGIX request -*/ - -typedef struct GLXCreateGLXPixmapWithConfigSGIX { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - CARD32 vendorCode B32; /* vendor-specific opcode */ - CARD32 pad1 B32; /* unused; corresponds to contextTag in header */ - CARD32 screen B32; - GLXFBConfigID fbconfig B32; - CARD32 pixmap B32; - GLXPixmap glxpixmap B32; -} xGLXCreateGLXPixmapWithConfigSGIXReq; -#define sz_xGLXCreateGLXPixmapWithConfigSGIXReq 28 - -/* -** glXJoinSwapGroupSGIX request -*/ -typedef struct GLXJoinSwapGroupSGIX { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - CARD32 vendorCode B32; /* vendor-specific opcode */ - CARD32 unused B32; /* corresponds to contextTag in hdr */ - GLXDrawable drawable B32; - GLXDrawable member B32; -} xGLXJoinSwapGroupSGIXReq; -#define sz_xGLXJoinSwapGroupSGIXReq 20 - -/* -** glXBindSwapBarrierSGIX request -*/ -typedef struct GLXBindSwapBarrierSGIX { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - CARD32 vendorCode B32; /* vendor-specific opcode */ - CARD32 unused B32; /* corresponds to contextTag in hdr */ - GLXDrawable drawable B32; - CARD32 barrier B32; -} xGLXBindSwapBarrierSGIXReq; -#define sz_xGLXBindSwapBarrierSGIXReq 20 - -/* -** glXQueryMaxSwapBarriersSGIX request -*/ -typedef struct GLXQueryMaxSwapBarriersSGIX { - CARD8 reqType; - CARD8 glxCode; - CARD16 length B16; - CARD32 vendorCode B32; /* vendor-specific opcode */ - CARD32 unused B32; /* corresponds to contextTag in hdr */ - CARD32 screen B32; -} xGLXQueryMaxSwapBarriersSGIXReq; -#define sz_xGLXQueryMaxSwapBarriersSGIXReq 16 - -typedef struct { - BYTE type; /* X_Reply */ - CARD8 unused; /* not used */ - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 max B32; - CARD32 size B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; -} xGLXQueryMaxSwapBarriersSGIXReply; -#define sz_xGLXQueryMaxSwapBarriersSGIXReply 32 - -/************************************************************************/ - -/* -** Events -*/ - -typedef struct { - BYTE type; - BYTE pad; - CARD16 sequenceNumber B16; - CARD16 event_type B16; /*** was clobber_class */ - CARD16 draw_type B16; - CARD32 drawable B32; - CARD32 buffer_mask B32; /*** was mask */ - CARD16 aux_buffer B16; - CARD16 x B16; - CARD16 y B16; - CARD16 width B16; - CARD16 height B16; - CARD16 count B16; - CARD32 unused2 B32; -} xGLXPbufferClobberEvent; - -/************************************************************************/ - -/* -** Size of the standard X request header. -*/ -#define __GLX_SINGLE_HDR_SIZE sz_xGLXSingleReq -#define __GLX_VENDPRIV_HDR_SIZE sz_xGLXVendorPrivateReq - -#define __GLX_RENDER_HDR \ - CARD16 length B16; \ - CARD16 opcode B16 - -#define __GLX_RENDER_HDR_SIZE 4 - -typedef struct { - __GLX_RENDER_HDR; -} __GLXrenderHeader; - -#define __GLX_RENDER_LARGE_HDR \ - CARD32 length B32; \ - CARD32 opcode B32 - -#define __GLX_RENDER_LARGE_HDR_SIZE 8 - -typedef struct { - __GLX_RENDER_LARGE_HDR; -} __GLXrenderLargeHeader; - -/* -** The glBitmap, glPolygonStipple, glTexImage[12]D, glTexSubImage[12]D -** and glDrawPixels calls all have a pixel header transmitted after the -** Render or RenderLarge header and before their own opcode specific -** headers. -*/ -#define __GLX_PIXEL_HDR \ - BOOL swapBytes; \ - BOOL lsbFirst; \ - CARD8 reserved0; \ - CARD8 reserved1; \ - CARD32 rowLength B32; \ - CARD32 skipRows B32; \ - CARD32 skipPixels B32; \ - CARD32 alignment B32 - -#define __GLX_PIXEL_HDR_SIZE 20 - -typedef struct { - __GLX_PIXEL_HDR; -} __GLXpixelHeader; - -/* -** glTexImage[34]D and glTexSubImage[34]D calls -** all have a pixel header transmitted after the Render or RenderLarge -** header and before their own opcode specific headers. -*/ -#define __GLX_PIXEL_3D_HDR \ - BOOL swapBytes; \ - BOOL lsbFirst; \ - CARD8 reserved0; \ - CARD8 reserved1; \ - CARD32 rowLength B32; \ - CARD32 imageHeight B32; \ - CARD32 imageDepth B32; \ - CARD32 skipRows B32; \ - CARD32 skipImages B32; \ - CARD32 skipVolumes B32; \ - CARD32 skipPixels B32; \ - CARD32 alignment B32 - -#define __GLX_PIXEL_3D_HDR_SIZE 36 - -/* -** Data that is specific to a glBitmap call. The data is sent in the -** following order: -** Render or RenderLarge header -** Pixel header -** Bitmap header -*/ -#define __GLX_BITMAP_HDR \ - CARD32 width B32; \ - CARD32 height B32; \ - FLOAT32 xorig F32; \ - FLOAT32 yorig F32; \ - FLOAT32 xmove F32; \ - FLOAT32 ymove F32 - -typedef struct { - __GLX_RENDER_HDR; - __GLX_PIXEL_HDR; - __GLX_BITMAP_HDR; -} __GLXbitmapHeader; - -typedef struct { - __GLX_RENDER_LARGE_HDR; - __GLX_PIXEL_HDR; - __GLX_BITMAP_HDR; -} __GLXbitmapLargeHeader; - -typedef struct { - __GLX_PIXEL_HDR; - __GLX_BITMAP_HDR; -} __GLXdispatchBitmapHeader; - -#define __GLX_BITMAP_HDR_SIZE 24 - -#define __GLX_BITMAP_CMD_HDR_SIZE \ - (__GLX_RENDER_HDR_SIZE + __GLX_PIXEL_HDR_SIZE + __GLX_BITMAP_HDR_SIZE) - -#define __GLX_BITMAP_CMD_DISPATCH_HDR_SIZE \ - (__GLX_PIXEL_HDR_SIZE + __GLX_BITMAP_HDR_SIZE) - -typedef struct { - __GLX_RENDER_HDR; - __GLX_PIXEL_HDR; -} __GLXpolygonStippleHeader; - -#define __GLX_POLYGONSTIPPLE_CMD_HDR_SIZE \ - (__GLX_RENDER_HDR_SIZE + __GLX_PIXEL_HDR_SIZE) - -/* -** Data that is specific to a glTexImage1D or glTexImage2D call. The -** data is sent in the following order: -** Render or RenderLarge header -** Pixel header -** TexImage header -** When a glTexImage1D call the height field is unexamined by the server. -*/ -#define __GLX_TEXIMAGE_HDR \ - CARD32 target B32; \ - CARD32 level B32; \ - CARD32 components B32; \ - CARD32 width B32; \ - CARD32 height B32; \ - CARD32 border B32; \ - CARD32 format B32; \ - CARD32 type B32 - -#define __GLX_TEXIMAGE_HDR_SIZE 32 - -#define __GLX_TEXIMAGE_CMD_HDR_SIZE \ - (__GLX_RENDER_HDR_SIZE + __GLX_PIXEL_HDR_SIZE + __GLX_TEXIMAGE_HDR_SIZE) - -#define __GLX_TEXIMAGE_CMD_DISPATCH_HDR_SIZE \ - (__GLX_PIXEL_HDR_SIZE + __GLX_TEXIMAGE_HDR_SIZE) - -typedef struct { - __GLX_RENDER_HDR; - __GLX_PIXEL_HDR; - __GLX_TEXIMAGE_HDR; -} __GLXtexImageHeader; - -typedef struct { - __GLX_RENDER_LARGE_HDR; - __GLX_PIXEL_HDR; - __GLX_TEXIMAGE_HDR; -} __GLXtexImageLargeHeader; - -typedef struct { - __GLX_PIXEL_HDR; - __GLX_TEXIMAGE_HDR; -} __GLXdispatchTexImageHeader; - -/* -** Data that is specific to a glTexImage3D or glTexImage4D call. The -** data is sent in the following order: -** Render or RenderLarge header -** Pixel 3D header -** TexImage 3D header -** When a glTexImage3D call the size4d and woffset fields are unexamined -** by the server. -** Could be used by all TexImage commands and perhaps should be in the -** future. -*/ -#define __GLX_TEXIMAGE_3D_HDR \ - CARD32 target B32; \ - CARD32 level B32; \ - CARD32 internalformat B32; \ - CARD32 width B32; \ - CARD32 height B32; \ - CARD32 depth B32; \ - CARD32 size4d B32; \ - CARD32 border B32; \ - CARD32 format B32; \ - CARD32 type B32; \ - CARD32 nullimage B32 - -#define __GLX_TEXIMAGE_3D_HDR_SIZE 44 - -#define __GLX_TEXIMAGE_3D_CMD_HDR_SIZE \ - (__GLX_RENDER_HDR_SIZE + __GLX_PIXEL_3D_HDR_SIZE + \ - __GLX_TEXIMAGE_3D_HDR_SIZE) - -#define __GLX_TEXIMAGE_3D_CMD_DISPATCH_HDR_SIZE \ - (__GLX_PIXEL_3D_HDR_SIZE + __GLX_TEXIMAGE_3D_HDR_SIZE) - -typedef struct { - __GLX_RENDER_HDR; - __GLX_PIXEL_3D_HDR; - __GLX_TEXIMAGE_3D_HDR; -} __GLXtexImage3DHeader; - -typedef struct { - __GLX_RENDER_LARGE_HDR; - __GLX_PIXEL_3D_HDR; - __GLX_TEXIMAGE_3D_HDR; -} __GLXtexImage3DLargeHeader; - -typedef struct { - __GLX_PIXEL_3D_HDR; - __GLX_TEXIMAGE_3D_HDR; -} __GLXdispatchTexImage3DHeader; - -/* -** Data that is specific to a glTexSubImage1D or glTexSubImage2D call. The -** data is sent in the following order: -** Render or RenderLarge header -** Pixel header -** TexSubImage header -** When a glTexSubImage1D call is made, the yoffset and height fields -** are unexamined by the server and are considered to be padding. -*/ -#define __GLX_TEXSUBIMAGE_HDR \ - CARD32 target B32; \ - CARD32 level B32; \ - CARD32 xoffset B32; \ - CARD32 yoffset B32; \ - CARD32 width B32; \ - CARD32 height B32; \ - CARD32 format B32; \ - CARD32 type B32; \ - CARD32 nullImage \ - -#define __GLX_TEXSUBIMAGE_HDR_SIZE 36 - -#define __GLX_TEXSUBIMAGE_CMD_HDR_SIZE \ - (__GLX_RENDER_HDR_SIZE + __GLX_PIXEL_HDR_SIZE + __GLX_TEXSUBIMAGE_HDR_SIZE) - -#define __GLX_TEXSUBIMAGE_CMD_DISPATCH_HDR_SIZE \ - (__GLX_PIXEL_HDR_SIZE + __GLX_TEXSUBIMAGE_HDR_SIZE) - -typedef struct { - __GLX_RENDER_HDR; - __GLX_PIXEL_HDR; - __GLX_TEXSUBIMAGE_HDR; -} __GLXtexSubImageHeader; - -typedef struct { - __GLX_RENDER_LARGE_HDR; - __GLX_PIXEL_HDR; - __GLX_TEXSUBIMAGE_HDR; -} __GLXtexSubImageLargeHeader; - -typedef struct { - __GLX_PIXEL_HDR; - __GLX_TEXSUBIMAGE_HDR; -} __GLXdispatchTexSubImageHeader; - -/* -** Data that is specific to a glTexSubImage3D and 4D calls. The -** data is sent in the following order: -** Render or RenderLarge header -** Pixel 3D header -** TexSubImage 3D header -** When a glTexSubImage3D call is made, the woffset and size4d fields -** are unexamined by the server and are considered to be padding. -*/ -#define __GLX_TEXSUBIMAGE_3D_HDR \ - CARD32 target B32; \ - CARD32 level B32; \ - CARD32 xoffset B32; \ - CARD32 yoffset B32; \ - CARD32 zoffset B32; \ - CARD32 woffset B32; \ - CARD32 width B32; \ - CARD32 height B32; \ - CARD32 depth B32; \ - CARD32 size4d B32; \ - CARD32 format B32; \ - CARD32 type B32; \ - CARD32 nullImage \ - -#define __GLX_TEXSUBIMAGE_3D_HDR_SIZE 52 - -#define __GLX_TEXSUBIMAGE_3D_CMD_HDR_SIZE \ - (__GLX_RENDER_HDR_SIZE + __GLX_PIXEL_3D_HDR_SIZE + \ - __GLX_TEXSUBIMAGE_3D_HDR_SIZE) - -#define __GLX_TEXSUBIMAGE_3D_CMD_DISPATCH_HDR_SIZE \ - (__GLX_PIXEL_3D_HDR_SIZE + __GLX_TEXSUBIMAGE_3D_HDR_SIZE) - -typedef struct { - __GLX_RENDER_HDR; - __GLX_PIXEL_3D_HDR; - __GLX_TEXSUBIMAGE_3D_HDR; -} __GLXtexSubImage3DHeader; - -typedef struct { - __GLX_RENDER_LARGE_HDR; - __GLX_PIXEL_3D_HDR; - __GLX_TEXSUBIMAGE_3D_HDR; -} __GLXtexSubImage3DLargeHeader; - -typedef struct { - __GLX_PIXEL_3D_HDR; - __GLX_TEXSUBIMAGE_3D_HDR; -} __GLXdispatchTexSubImage3DHeader; - -/** - * Data that is specific to a \c glCompressedTexImage1D or - * \c glCompressedTexImage2D call. The data is sent in the following - * order: - * - Render or RenderLarge header - * - CompressedTexImage header - * - * When a \c glCompressedTexImage1D call is made, the \c height field is - * not examined by the server and is considered padding. - */ - -#define __GLX_COMPRESSED_TEXIMAGE_HDR \ - CARD32 target B32; \ - CARD32 level B32; \ - CARD32 internalFormat B32; \ - CARD32 width B32; \ - CARD32 height B32; \ - CARD32 border B32; \ - CARD32 imageSize B32 - -#define __GLX_COMPRESSED_TEXIMAGE_HDR_SIZE 28 - -#define __GLX_COMPRESSED_TEXIMAGE_CMD_HDR_SIZE \ - (__GLX_RENDER_HDR_SIZE + __GLX_COMPRESSED_TEXIMAGE_HDR_SIZE) - -#define __GLX_COMPRESSED_TEXIMAGE_DISPATCH_HDR_SIZE \ - (__GLX_COMPRESSED_TEXIMAGE_HDR_SIZE) - -typedef struct { - __GLX_RENDER_HDR; - __GLX_COMPRESSED_TEXIMAGE_HDR; -} __GLXcompressedTexImageHeader; - -typedef struct { - __GLX_RENDER_LARGE_HDR; - __GLX_COMPRESSED_TEXIMAGE_HDR; -} __GLXcompressedTexImageLargeHeader; - -typedef struct { - __GLX_COMPRESSED_TEXIMAGE_HDR; -} __GLXdispatchCompressedTexImageHeader; - -/** - * Data that is specifi to a \c glCompressedTexSubImage1D or - * \c glCompressedTexSubImage2D call. The data is sent in the following - * order: - * - Render or RenderLarge header - * - CompressedTexSubImage header - * - * When a \c glCompressedTexSubImage1D call is made, the \c yoffset and - * \c height fields are not examined by the server and are considered padding. - */ - -#define __GLX_COMPRESSED_TEXSUBIMAGE_HDR \ - CARD32 target B32; \ - CARD32 level B32; \ - CARD32 xoffset B32; \ - CARD32 yoffset B32; \ - CARD32 width B32; \ - CARD32 height B32; \ - CARD32 format B32; \ - CARD32 imageSize B32 - -#define __GLX_COMPRESSED_TEXSUBIMAGE_HDR_SIZE 32 - -#define __GLX_COMPRESSED_TEXSUBIMAGE_CMD_HDR_SIZE \ - (__GLX_RENDER_HDR_SIZE + __GLX_COMPRESSED_TEXSUBIMAGE_HDR_SIZE) - -#define __GLX_COMPRESSED_TEXSUBIMAGE_DISPATCH_HDR_SIZE \ - (__GLX_COMPRESSED_TEXSUBIMAGE_HDR_SIZE) - -typedef struct { - __GLX_RENDER_HDR; - __GLX_COMPRESSED_TEXSUBIMAGE_HDR; -} __GLXcompressedTexSubImageHeader; - -typedef struct { - __GLX_RENDER_LARGE_HDR; - __GLX_COMPRESSED_TEXSUBIMAGE_HDR; -} __GLXcompressedTexSubImageLargeHeader; - -typedef struct { - __GLX_COMPRESSED_TEXSUBIMAGE_HDR; -} __GLXdispatchCompressedTexSubImageHeader; - -/** - * Data that is specific to a \c glCompressedTexImage3D call. The data is - * sent in the following order: - * - Render or RenderLarge header - * - CompressedTexImage3D header - */ - -#define __GLX_COMPRESSED_TEXIMAGE_3D_HDR \ - CARD32 target B32; \ - CARD32 level B32; \ - CARD32 internalFormat B32; \ - CARD32 width B32; \ - CARD32 height B32; \ - CARD32 depth B32; \ - CARD32 border B32; \ - CARD32 imageSize B32 - -#define __GLX_COMPRESSED_TEXIMAGE_3D_HDR_SIZE 32 - -#define __GLX_COMPRESSED_TEXIMAGE_3D_CMD_HDR_SIZE \ - (__GLX_RENDER_HDR_SIZE + __GLX_COMPRESSED_TEXIMAGE_3D_HDR_SIZE) - -#define __GLX_COMPRESSED_TEXIMAGE_3D_DISPATCH_HDR_SIZE \ - (__GLX_COMPRESSED_TEXIMAGE_3D_HDR_SIZE) - -typedef struct { - __GLX_RENDER_HDR; - __GLX_COMPRESSED_TEXIMAGE_3D_HDR; -} __GLXcompressedTexImage3DHeader; - -typedef struct { - __GLX_RENDER_LARGE_HDR; - __GLX_COMPRESSED_TEXIMAGE_3D_HDR; -} __GLXcompressedTexImage3DLargeHeader; - -typedef struct { - __GLX_COMPRESSED_TEXIMAGE_3D_HDR; -} __GLXdispatchCompressedTexImage3DHeader; - -/** - * Data that is specifi to a \c glCompressedTexSubImage3D call. The data is - * sent in the following order: - * - Render or RenderLarge header - * - CompressedTexSubImage3D header - */ - -#define __GLX_COMPRESSED_TEXSUBIMAGE_3D_HDR \ - CARD32 target B32; \ - CARD32 level B32; \ - CARD32 xoffset B32; \ - CARD32 yoffset B32; \ - CARD32 zoffset B32; \ - CARD32 width B32; \ - CARD32 height B32; \ - CARD32 depth B32; \ - CARD32 format B32; \ - CARD32 imageSize B32 - -#define __GLX_COMPRESSED_TEXSUBIMAGE_3D_HDR_SIZE 32 - -#define __GLX_COMPRESSED_TEXSUBIMAGE_3D_CMD_HDR_SIZE \ - (__GLX_RENDER_HDR_SIZE + __GLX_COMPRESSED_TEXSUBIMAGE_3D_HDR_SIZE) - -#define __GLX_COMPRESSED_TEXSUBIMAGE_3D_DISPATCH_HDR_SIZE \ - (__GLX_COMPRESSED_TEXSUBIMAGE_3D_HDR_SIZE) - -typedef struct { - __GLX_RENDER_HDR; - __GLX_COMPRESSED_TEXSUBIMAGE_3D_HDR; -} __GLXcompressedTexSubImage3DHeader; - -typedef struct { - __GLX_RENDER_LARGE_HDR; - __GLX_COMPRESSED_TEXSUBIMAGE_3D_HDR; -} __GLXcompressedTexSubImage3DLargeHeader; - -typedef struct { - __GLX_COMPRESSED_TEXSUBIMAGE_3D_HDR; -} __GLXdispatchCompressedTexSubImage3DHeader; - -/* -** Data that is specific to a glDrawPixels call. The data is sent in the -** following order: -** Render or RenderLarge header -** Pixel header -** DrawPixels header -*/ -#define __GLX_DRAWPIXELS_HDR \ - CARD32 width B32; \ - CARD32 height B32; \ - CARD32 format B32; \ - CARD32 type B32 - -#define __GLX_DRAWPIXELS_HDR_SIZE 16 - -#define __GLX_DRAWPIXELS_CMD_HDR_SIZE \ - (__GLX_RENDER_HDR_SIZE + __GLX_PIXEL_HDR_SIZE + __GLX_DRAWPIXELS_HDR_SIZE) - -#define __GLX_DRAWPIXELS_CMD_DISPATCH_HDR_SIZE \ - (__GLX_PIXEL_HDR_SIZE + __GLX_DRAWPIXELS_HDR_SIZE) - -typedef struct { - __GLX_RENDER_HDR; - __GLX_PIXEL_HDR; - __GLX_DRAWPIXELS_HDR; -} __GLXdrawPixelsHeader; - -typedef struct { - __GLX_RENDER_LARGE_HDR; - __GLX_PIXEL_HDR; - __GLX_DRAWPIXELS_HDR; -} __GLXdrawPixelsLargeHeader; - -typedef struct { - __GLX_PIXEL_HDR; - __GLX_DRAWPIXELS_HDR; -} __GLXdispatchDrawPixelsHeader; - -/* -** Data that is specific to a glConvolutionFilter1D or glConvolutionFilter2D -** call. The data is sent in the following order: -** Render or RenderLarge header -** Pixel header -** ConvolutionFilter header -** When a glConvolutionFilter1D call the height field is unexamined by the server. -*/ -#define __GLX_CONV_FILT_HDR \ - CARD32 target B32; \ - CARD32 internalformat B32; \ - CARD32 width B32; \ - CARD32 height B32; \ - CARD32 format B32; \ - CARD32 type B32 - -#define __GLX_CONV_FILT_HDR_SIZE 24 - -#define __GLX_CONV_FILT_CMD_HDR_SIZE \ - (__GLX_RENDER_HDR_SIZE + __GLX_PIXEL_HDR_SIZE + __GLX_CONV_FILT_HDR_SIZE) - -#define __GLX_CONV_FILT_CMD_DISPATCH_HDR_SIZE \ - (__GLX_PIXEL_HDR_SIZE + __GLX_CONV_FILT_HDR_SIZE) -typedef struct { - __GLX_RENDER_HDR; - __GLX_PIXEL_HDR; - __GLX_CONV_FILT_HDR; -} __GLXConvolutionFilterHeader; - -typedef struct { - __GLX_RENDER_LARGE_HDR; - __GLX_PIXEL_HDR; - __GLX_CONV_FILT_HDR; -} __GLXConvolutionFilterLargeHeader; - -typedef struct { - __GLX_PIXEL_HDR; - __GLX_CONV_FILT_HDR; -} __GLXdispatchConvolutionFilterHeader; - -/* -** Data that is specific to a glDrawArraysEXT call. The data is sent in the -** following order: -** Render or RenderLarge header -** Draw Arrays header -** a variable number of Component headers -** vertex data for each component type -*/ - -#define __GLX_DRAWARRAYS_HDR \ - CARD32 numVertexes B32; \ - CARD32 numComponents B32; \ - CARD32 primType B32 - -#define __GLX_DRAWARRAYS_HDR_SIZE 12 - -#define __GLX_DRAWARRAYS_CMD_HDR_SIZE \ - (__GLX_RENDER_HDR_SIZE + __GLX_DRAWARRAYS_HDR_SIZE) - -typedef struct { - __GLX_RENDER_HDR; - __GLX_DRAWARRAYS_HDR; -} __GLXdrawArraysHeader; - -typedef struct { - __GLX_RENDER_LARGE_HDR; - __GLX_DRAWARRAYS_HDR; -} __GLXdrawArraysLargeHeader; - -typedef struct { - __GLX_DRAWARRAYS_HDR; -} __GLXdispatchDrawArraysHeader; - -#define __GLX_COMPONENT_HDR \ - CARD32 datatype B32; \ - INT32 numVals B32; \ - CARD32 component B32 - -typedef struct { - __GLX_COMPONENT_HDR; -} __GLXdispatchDrawArraysComponentHeader; - -#define __GLX_COMPONENT_HDR_SIZE 12 - -/* -** Data that is specific to a glColorTable call -** The data is sent in the following order: -** Render or RenderLarge header -** Pixel header -** ColorTable header -*/ - -#define __GLX_COLOR_TABLE_HDR \ - CARD32 target B32; \ - CARD32 internalformat B32; \ - CARD32 width B32; \ - CARD32 format B32; \ - CARD32 type B32 - -#define __GLX_COLOR_TABLE_HDR_SIZE 20 - -#define __GLX_COLOR_TABLE_CMD_HDR_SIZE \ - (__GLX_RENDER_HDR_SIZE + __GLX_PIXEL_HDR_SIZE + __GLX_COLOR_TABLE_HDR_SIZE) - -typedef struct { - __GLX_RENDER_HDR; - __GLX_PIXEL_HDR; - __GLX_COLOR_TABLE_HDR; -} __GLXColorTableHeader; - -typedef struct { - __GLX_RENDER_LARGE_HDR; - __GLX_PIXEL_HDR; - __GLX_COLOR_TABLE_HDR; -} __GLXColorTableLargeHeader; - -typedef struct { - __GLX_PIXEL_HDR; - __GLX_COLOR_TABLE_HDR; -} __GLXdispatchColorTableHeader; - -/* -** Data that is specific to a glColorSubTable call -** The data is sent in the following order: -** Render or RenderLarge header -** Pixel header -** ColorTable header -*/ - -#define __GLX_COLOR_SUBTABLE_HDR \ - CARD32 target B32; \ - CARD32 start B32; \ - CARD32 count B32; \ - CARD32 format B32; \ - CARD32 type B32 - -#define __GLX_COLOR_SUBTABLE_HDR_SIZE 20 - -#define __GLX_COLOR_SUBTABLE_CMD_HDR_SIZE \ - (__GLX_RENDER_HDR_SIZE + __GLX_PIXEL_HDR_SIZE + \ - __GLX_COLOR_SUBTABLE_HDR_SIZE) - -typedef struct { - __GLX_RENDER_HDR; - __GLX_PIXEL_HDR; - __GLX_COLOR_SUBTABLE_HDR; -} __GLXColorSubTableHeader; - -typedef struct { - __GLX_RENDER_LARGE_HDR; - __GLX_PIXEL_HDR; - __GLX_COLOR_SUBTABLE_HDR; -} __GLXColorSubTableLargeHeader; - -typedef struct { - __GLX_PIXEL_HDR; - __GLX_COLOR_SUBTABLE_HDR; -} __GLXdispatchColorSubTableHeader; - -#define GLX_WINDOW_TYPE 1 -#define GLX_PIXMAP_TYPE 2 -#define GLX_VIDEO_SOURCE_TYPE 3 -#define GLX_PBUFFER_TYPE 4 -/* 5 is for DM_PBUFFER */ -#define GLX_GLXWINDOW_TYPE 6 - -/*****************************************************************************/ - -/* -** Restore these definitions back to the typedefs in glx.h -*/ -#undef GLXContextID -#undef GLXPixmap -#undef GLXDrawable -#undef GLXPbuffer -#undef GLXWindow -#undef GLXFBConfigID -#undef GLXFBConfigIDSGIX -#undef GLXPbufferSGIX - - -/* Opcodes for GLX commands */ - -#define X_GLXRender 1 -#define X_GLXRenderLarge 2 -#define X_GLXCreateContext 3 -#define X_GLXDestroyContext 4 -#define X_GLXMakeCurrent 5 -#define X_GLXIsDirect 6 -#define X_GLXQueryVersion 7 -#define X_GLXWaitGL 8 -#define X_GLXWaitX 9 -#define X_GLXCopyContext 10 -#define X_GLXSwapBuffers 11 -#define X_GLXUseXFont 12 -#define X_GLXCreateGLXPixmap 13 -#define X_GLXGetVisualConfigs 14 -#define X_GLXDestroyGLXPixmap 15 -#define X_GLXVendorPrivate 16 -#define X_GLXVendorPrivateWithReply 17 -#define X_GLXQueryExtensionsString 18 -#define X_GLXQueryServerString 19 -#define X_GLXClientInfo 20 -#define X_GLXGetFBConfigs 21 -#define X_GLXCreatePixmap 22 -#define X_GLXDestroyPixmap 23 -#define X_GLXCreateNewContext 24 -#define X_GLXQueryContext 25 -#define X_GLXMakeContextCurrent 26 -#define X_GLXCreatePbuffer 27 -#define X_GLXDestroyPbuffer 28 -#define X_GLXGetDrawableAttributes 29 -#define X_GLXChangeDrawableAttributes 30 -#define X_GLXCreateWindow 31 -#define X_GLXDestroyWindow 32 - - -/* Opcodes for single commands (part of GLX command space) */ - -#define X_GLsop_NewList 101 -#define X_GLsop_EndList 102 -#define X_GLsop_DeleteLists 103 -#define X_GLsop_GenLists 104 -#define X_GLsop_FeedbackBuffer 105 -#define X_GLsop_SelectBuffer 106 -#define X_GLsop_RenderMode 107 -#define X_GLsop_Finish 108 -#define X_GLsop_Flush 142 -#define X_GLsop_PixelStoref 109 -#define X_GLsop_PixelStorei 110 -#define X_GLsop_ReadPixels 111 -#define X_GLsop_GetBooleanv 112 -#define X_GLsop_GetClipPlane 113 -#define X_GLsop_GetDoublev 114 -#define X_GLsop_GetError 115 -#define X_GLsop_GetFloatv 116 -#define X_GLsop_GetIntegerv 117 -#define X_GLsop_GetLightfv 118 -#define X_GLsop_GetLightiv 119 -#define X_GLsop_GetMapdv 120 -#define X_GLsop_GetMapfv 121 -#define X_GLsop_GetMapiv 122 -#define X_GLsop_GetMaterialfv 123 -#define X_GLsop_GetMaterialiv 124 -#define X_GLsop_GetPixelMapfv 125 -#define X_GLsop_GetPixelMapuiv 126 -#define X_GLsop_GetPixelMapusv 127 -#define X_GLsop_GetPolygonStipple 128 -#define X_GLsop_GetString 129 -#define X_GLsop_GetTexEnvfv 130 -#define X_GLsop_GetTexEnviv 131 -#define X_GLsop_GetTexGendv 132 -#define X_GLsop_GetTexGenfv 133 -#define X_GLsop_GetTexGeniv 134 -#define X_GLsop_GetTexImage 135 -#define X_GLsop_GetTexParameterfv 136 -#define X_GLsop_GetTexParameteriv 137 -#define X_GLsop_GetTexLevelParameterfv 138 -#define X_GLsop_GetTexLevelParameteriv 139 -#define X_GLsop_IsEnabled 140 -#define X_GLsop_IsList 141 -#define X_GLsop_AreTexturesResident 143 -#define X_GLsop_DeleteTextures 144 -#define X_GLsop_GenTextures 145 -#define X_GLsop_IsTexture 146 -#define X_GLsop_GetColorTable 147 -#define X_GLsop_GetColorTableParameterfv 148 -#define X_GLsop_GetColorTableParameteriv 149 -#define X_GLsop_GetConvolutionFilter 150 -#define X_GLsop_GetConvolutionParameterfv 151 -#define X_GLsop_GetConvolutionParameteriv 152 -#define X_GLsop_GetSeparableFilter 153 -#define X_GLsop_GetHistogram 154 -#define X_GLsop_GetHistogramParameterfv 155 -#define X_GLsop_GetHistogramParameteriv 156 -#define X_GLsop_GetMinmax 157 -#define X_GLsop_GetMinmaxParameterfv 158 -#define X_GLsop_GetMinmaxParameteriv 159 -#define X_GLsop_GetCompressedTexImage 160 - - -/* Opcodes for rendering commands */ - -#define X_GLrop_CallList 1 -#define X_GLrop_CallLists 2 -#define X_GLrop_ListBase 3 -#define X_GLrop_Begin 4 -#define X_GLrop_Bitmap 5 -#define X_GLrop_Color3bv 6 -#define X_GLrop_Color3dv 7 -#define X_GLrop_Color3fv 8 -#define X_GLrop_Color3iv 9 -#define X_GLrop_Color3sv 10 -#define X_GLrop_Color3ubv 11 -#define X_GLrop_Color3uiv 12 -#define X_GLrop_Color3usv 13 -#define X_GLrop_Color4bv 14 -#define X_GLrop_Color4dv 15 -#define X_GLrop_Color4fv 16 -#define X_GLrop_Color4iv 17 -#define X_GLrop_Color4sv 18 -#define X_GLrop_Color4ubv 19 -#define X_GLrop_Color4uiv 20 -#define X_GLrop_Color4usv 21 -#define X_GLrop_EdgeFlagv 22 -#define X_GLrop_End 23 -#define X_GLrop_Indexdv 24 -#define X_GLrop_Indexfv 25 -#define X_GLrop_Indexiv 26 -#define X_GLrop_Indexsv 27 -#define X_GLrop_Normal3bv 28 -#define X_GLrop_Normal3dv 29 -#define X_GLrop_Normal3fv 30 -#define X_GLrop_Normal3iv 31 -#define X_GLrop_Normal3sv 32 -#define X_GLrop_RasterPos2dv 33 -#define X_GLrop_RasterPos2fv 34 -#define X_GLrop_RasterPos2iv 35 -#define X_GLrop_RasterPos2sv 36 -#define X_GLrop_RasterPos3dv 37 -#define X_GLrop_RasterPos3fv 38 -#define X_GLrop_RasterPos3iv 39 -#define X_GLrop_RasterPos3sv 40 -#define X_GLrop_RasterPos4dv 41 -#define X_GLrop_RasterPos4fv 42 -#define X_GLrop_RasterPos4iv 43 -#define X_GLrop_RasterPos4sv 44 -#define X_GLrop_Rectdv 45 -#define X_GLrop_Rectfv 46 -#define X_GLrop_Rectiv 47 -#define X_GLrop_Rectsv 48 -#define X_GLrop_TexCoord1dv 49 -#define X_GLrop_TexCoord1fv 50 -#define X_GLrop_TexCoord1iv 51 -#define X_GLrop_TexCoord1sv 52 -#define X_GLrop_TexCoord2dv 53 -#define X_GLrop_TexCoord2fv 54 -#define X_GLrop_TexCoord2iv 55 -#define X_GLrop_TexCoord2sv 56 -#define X_GLrop_TexCoord3dv 57 -#define X_GLrop_TexCoord3fv 58 -#define X_GLrop_TexCoord3iv 59 -#define X_GLrop_TexCoord3sv 60 -#define X_GLrop_TexCoord4dv 61 -#define X_GLrop_TexCoord4fv 62 -#define X_GLrop_TexCoord4iv 63 -#define X_GLrop_TexCoord4sv 64 -#define X_GLrop_Vertex2dv 65 -#define X_GLrop_Vertex2fv 66 -#define X_GLrop_Vertex2iv 67 -#define X_GLrop_Vertex2sv 68 -#define X_GLrop_Vertex3dv 69 -#define X_GLrop_Vertex3fv 70 -#define X_GLrop_Vertex3iv 71 -#define X_GLrop_Vertex3sv 72 -#define X_GLrop_Vertex4dv 73 -#define X_GLrop_Vertex4fv 74 -#define X_GLrop_Vertex4iv 75 -#define X_GLrop_Vertex4sv 76 -#define X_GLrop_ClipPlane 77 -#define X_GLrop_ColorMaterial 78 -#define X_GLrop_CullFace 79 -#define X_GLrop_Fogf 80 -#define X_GLrop_Fogfv 81 -#define X_GLrop_Fogi 82 -#define X_GLrop_Fogiv 83 -#define X_GLrop_FrontFace 84 -#define X_GLrop_Hint 85 -#define X_GLrop_Lightf 86 -#define X_GLrop_Lightfv 87 -#define X_GLrop_Lighti 88 -#define X_GLrop_Lightiv 89 -#define X_GLrop_LightModelf 90 -#define X_GLrop_LightModelfv 91 -#define X_GLrop_LightModeli 92 -#define X_GLrop_LightModeliv 93 -#define X_GLrop_LineStipple 94 -#define X_GLrop_LineWidth 95 -#define X_GLrop_Materialf 96 -#define X_GLrop_Materialfv 97 -#define X_GLrop_Materiali 98 -#define X_GLrop_Materialiv 99 -#define X_GLrop_PointSize 100 -#define X_GLrop_PolygonMode 101 -#define X_GLrop_PolygonStipple 102 -#define X_GLrop_Scissor 103 -#define X_GLrop_ShadeModel 104 -#define X_GLrop_TexParameterf 105 -#define X_GLrop_TexParameterfv 106 -#define X_GLrop_TexParameteri 107 -#define X_GLrop_TexParameteriv 108 -#define X_GLrop_TexImage1D 109 -#define X_GLrop_TexImage2D 110 -#define X_GLrop_TexEnvf 111 -#define X_GLrop_TexEnvfv 112 -#define X_GLrop_TexEnvi 113 -#define X_GLrop_TexEnviv 114 -#define X_GLrop_TexGend 115 -#define X_GLrop_TexGendv 116 -#define X_GLrop_TexGenf 117 -#define X_GLrop_TexGenfv 118 -#define X_GLrop_TexGeni 119 -#define X_GLrop_TexGeniv 120 -#define X_GLrop_InitNames 121 -#define X_GLrop_LoadName 122 -#define X_GLrop_PassThrough 123 -#define X_GLrop_PopName 124 -#define X_GLrop_PushName 125 -#define X_GLrop_DrawBuffer 126 -#define X_GLrop_Clear 127 -#define X_GLrop_ClearAccum 128 -#define X_GLrop_ClearIndex 129 -#define X_GLrop_ClearColor 130 -#define X_GLrop_ClearStencil 131 -#define X_GLrop_ClearDepth 132 -#define X_GLrop_StencilMask 133 -#define X_GLrop_ColorMask 134 -#define X_GLrop_DepthMask 135 -#define X_GLrop_IndexMask 136 -#define X_GLrop_Accum 137 -#define X_GLrop_Disable 138 -#define X_GLrop_Enable 139 -#define X_GLrop_PopAttrib 141 -#define X_GLrop_PushAttrib 142 -#define X_GLrop_Map1d 143 -#define X_GLrop_Map1f 144 -#define X_GLrop_Map2d 145 -#define X_GLrop_Map2f 146 -#define X_GLrop_MapGrid1d 147 -#define X_GLrop_MapGrid1f 148 -#define X_GLrop_MapGrid2d 149 -#define X_GLrop_MapGrid2f 150 -#define X_GLrop_EvalCoord1dv 151 -#define X_GLrop_EvalCoord1fv 152 -#define X_GLrop_EvalCoord2dv 153 -#define X_GLrop_EvalCoord2fv 154 -#define X_GLrop_EvalMesh1 155 -#define X_GLrop_EvalPoint1 156 -#define X_GLrop_EvalMesh2 157 -#define X_GLrop_EvalPoint2 158 -#define X_GLrop_AlphaFunc 159 -#define X_GLrop_BlendFunc 160 -#define X_GLrop_LogicOp 161 -#define X_GLrop_StencilFunc 162 -#define X_GLrop_StencilOp 163 -#define X_GLrop_DepthFunc 164 -#define X_GLrop_PixelZoom 165 -#define X_GLrop_PixelTransferf 166 -#define X_GLrop_PixelTransferi 167 -#define X_GLrop_PixelMapfv 168 -#define X_GLrop_PixelMapuiv 169 -#define X_GLrop_PixelMapusv 170 -#define X_GLrop_ReadBuffer 171 -#define X_GLrop_CopyPixels 172 -#define X_GLrop_DrawPixels 173 -#define X_GLrop_DepthRange 174 -#define X_GLrop_Frustum 175 -#define X_GLrop_LoadIdentity 176 -#define X_GLrop_LoadMatrixf 177 -#define X_GLrop_LoadMatrixd 178 -#define X_GLrop_MatrixMode 179 -#define X_GLrop_MultMatrixf 180 -#define X_GLrop_MultMatrixd 181 -#define X_GLrop_Ortho 182 -#define X_GLrop_PopMatrix 183 -#define X_GLrop_PushMatrix 184 -#define X_GLrop_Rotated 185 -#define X_GLrop_Rotatef 186 -#define X_GLrop_Scaled 187 -#define X_GLrop_Scalef 188 -#define X_GLrop_Translated 189 -#define X_GLrop_Translatef 190 -#define X_GLrop_Viewport 191 -#define X_GLrop_DrawArrays 193 -#define X_GLrop_PolygonOffset 192 -#define X_GLrop_CopyTexImage1D 4119 -#define X_GLrop_CopyTexImage2D 4120 -#define X_GLrop_CopyTexSubImage1D 4121 -#define X_GLrop_CopyTexSubImage2D 4122 -#define X_GLrop_TexSubImage1D 4099 -#define X_GLrop_TexSubImage2D 4100 -#define X_GLrop_BindTexture 4117 -#define X_GLrop_PrioritizeTextures 4118 -#define X_GLrop_Indexubv 194 -#define X_GLrop_BlendColor 4096 -#define X_GLrop_BlendEquation 4097 -#define X_GLrop_ColorTable 2053 -#define X_GLrop_ColorTableParameterfv 2054 -#define X_GLrop_ColorTableParameteriv 2055 -#define X_GLrop_CopyColorTable 2056 -#define X_GLrop_ColorSubTable 195 -#define X_GLrop_CopyColorSubTable 196 -#define X_GLrop_ConvolutionFilter1D 4101 -#define X_GLrop_ConvolutionFilter2D 4102 -#define X_GLrop_ConvolutionParameterf 4103 -#define X_GLrop_ConvolutionParameterfv 4104 -#define X_GLrop_ConvolutionParameteri 4105 -#define X_GLrop_ConvolutionParameteriv 4106 -#define X_GLrop_CopyConvolutionFilter1D 4107 -#define X_GLrop_CopyConvolutionFilter2D 4108 -#define X_GLrop_SeparableFilter2D 4109 -#define X_GLrop_Histogram 4110 -#define X_GLrop_Minmax 4111 -#define X_GLrop_ResetHistogram 4112 -#define X_GLrop_ResetMinmax 4113 -#define X_GLrop_TexImage3D 4114 -#define X_GLrop_TexSubImage3D 4115 -#define X_GLrop_CopyTexSubImage3D 4123 -#define X_GLrop_DrawArraysEXT 4116 - -/* Added for core GL version 1.3 */ - -#define X_GLrop_ActiveTextureARB 197 -#define X_GLrop_MultiTexCoord1dvARB 198 -#define X_GLrop_MultiTexCoord1fvARB 199 -#define X_GLrop_MultiTexCoord1ivARB 200 -#define X_GLrop_MultiTexCoord1svARB 201 -#define X_GLrop_MultiTexCoord2dvARB 202 -#define X_GLrop_MultiTexCoord2fvARB 203 -#define X_GLrop_MultiTexCoord2ivARB 204 -#define X_GLrop_MultiTexCoord2svARB 205 -#define X_GLrop_MultiTexCoord3dvARB 206 -#define X_GLrop_MultiTexCoord3fvARB 207 -#define X_GLrop_MultiTexCoord3ivARB 208 -#define X_GLrop_MultiTexCoord3svARB 209 -#define X_GLrop_MultiTexCoord4dvARB 210 -#define X_GLrop_MultiTexCoord4fvARB 211 -#define X_GLrop_MultiTexCoord4ivARB 212 -#define X_GLrop_MultiTexCoord4svARB 213 -#define X_GLrop_CompressedTexImage1D 214 -#define X_GLrop_CompressedTexImage2D 215 -#define X_GLrop_CompressedTexImage3D 216 -#define X_GLrop_CompressedTexSubImage1D 217 -#define X_GLrop_CompressedTexSubImage2D 218 -#define X_GLrop_CompressedTexSubImage3D 219 -#define X_GLrop_SampleCoverageARB 229 - -/* Added for core GL version 1.4 */ - -#define X_GLrop_WindowPos3fARB 230 -#define X_GLrop_FogCoordfv 4124 -#define X_GLrop_FogCoorddv 4125 -#define X_GLrop_PointParameterfARB 2065 -#define X_GLrop_PointParameterfvARB 2066 -#define X_GLrop_SecondaryColor3bv 4126 -#define X_GLrop_SecondaryColor3sv 4127 -#define X_GLrop_SecondaryColor3iv 4128 -#define X_GLrop_SecondaryColor3fv 4129 -#define X_GLrop_SecondaryColor3dv 4130 -#define X_GLrop_SecondaryColor3ubv 4131 -#define X_GLrop_SecondaryColor3usv 4132 -#define X_GLrop_SecondaryColor3uiv 4133 -#define X_GLrop_BlendFuncSeparate 4134 -#define X_GLrop_PointParameteri 4221 -#define X_GLrop_PointParameteriv 4222 - -/* Added for core GL version 1.5 */ -/* XXX opcodes not defined in the spec */ - -/* Opcodes for Vendor Private commands */ - - -#define X_GLvop_GetConvolutionFilterEXT 1 -#define X_GLvop_GetConvolutionParameterfvEXT 2 -#define X_GLvop_GetConvolutionParameterivEXT 3 -#define X_GLvop_GetSeparableFilterEXT 4 -#define X_GLvop_GetHistogramEXT 5 -#define X_GLvop_GetHistogramParameterfvEXT 6 -#define X_GLvop_GetHistogramParameterivEXT 7 -#define X_GLvop_GetMinmaxEXT 8 -#define X_GLvop_GetMinmaxParameterfvEXT 9 -#define X_GLvop_GetMinmaxParameterivEXT 10 -#define X_GLvop_AreTexturesResidentEXT 11 -#define X_GLvop_DeleteTexturesEXT 12 -#define X_GLvop_GenTexturesEXT 13 -#define X_GLvop_IsTextureEXT 14 -#define X_GLvop_GetCombinerInputParameterfvNV 1270 -#define X_GLvop_GetCombinerInputParameterivNV 1271 -#define X_GLvop_GetCombinerOutputParameterfvNV 1272 -#define X_GLvop_GetCombinerOutputParameterivNV 1273 -#define X_GLvop_GetFinalCombinerOutputParameterfvNV 1274 -#define X_GLvop_GetFinalCombinerOutputParameterivNV 1275 -#define X_GLvop_DeleteFenceNV 1276 -#define X_GLvop_GenFencesNV 1277 -#define X_GLvop_IsFenceNV 1278 -#define X_GLvop_TestFenceNV 1279 -#define X_GLvop_GetFenceivNV 1280 -#define X_GLvop_AreProgramsResidentNV 1293 -#define X_GLvop_DeleteProgramARB 1294 -#define X_GLvop_GenProgramsARB 1295 -#define X_GLvop_GetProgramEnvParameterfvARB 1296 -#define X_GLvop_GetProgramEnvParameterdvARB 1297 -#define X_GLvop_GetProgramEnvParameterivNV 1298 -#define X_GLvop_GetProgramStringNV 1299 -#define X_GLvop_GetTrackMatrixivNV 1300 -#define X_GLvop_GetVetrexAttribdvARB 1301 -#define X_GLvop_GetVetrexAttribfvARB 1302 -#define X_GLvop_GetVetrexAttribivARB 1303 -#define X_GLvop_IsProgramARB 1304 -#define X_GLvop_GetProgramLocalParameterfvARB 1305 -#define X_GLvop_GetProgramLocalParameterdvARB 1306 -#define X_GLvop_GetProgramivARB 1307 -#define X_GLvop_GetProgramStringARB 1308 -#define X_GLvop_GetProgramNamedParameter4fvNV 1310 -#define X_GLvop_GetProgramNamedParameter4dvNV 1311 -#define X_GLvop_SampleMaskSGIS 2048 -#define X_GLvop_SamplePatternSGIS 2049 -#define X_GLvop_GetDetailTexFuncSGIS 4096 -#define X_GLvop_GetSharpenTexFuncSGIS 4097 -#define X_GLvop_GetColorTableSGI 4098 -#define X_GLvop_GetColorTableParameterfvSGI 4099 -#define X_GLvop_GetColorTableParameterivSGI 4100 -#define X_GLvop_GetTexFilterFuncSGIS 4101 -#define X_GLvop_GetInstrumentsSGIX 4102 -#define X_GLvop_InstrumentsBufferSGIX 4103 -#define X_GLvop_PollInstrumentsSGIX 4104 -#define X_GLvop_FlushRasterSGIX 4105 - -/* Opcodes for GLX vendor private commands */ - -#define X_GLXvop_QueryContextInfoEXT 1024 -#define X_GLXvop_SwapIntervalSGI 65536 -#define X_GLXvop_MakeCurrentReadSGI 65537 -#define X_GLXvop_CreateGLXVideoSourceSGIX 65538 -#define X_GLXvop_DestroyGLXVideoSourceSGIX 65539 -#define X_GLXvop_GetFBConfigsSGIX 65540 -#define X_GLXvop_CreateContextWithConfigSGIX 65541 -#define X_GLXvop_CreateGLXPixmapWithConfigSGIX 65542 -#define X_GLXvop_CreateGLXPbufferSGIX 65543 -#define X_GLXvop_DestroyGLXPbufferSGIX 65544 -#define X_GLXvop_ChangeDrawableAttributesSGIX 65545 -#define X_GLXvop_GetDrawableAttributesSGIX 65546 -#define X_GLXvop_JoinSwapGroupSGIX 65547 -#define X_GLXvop_BindSwapBarrierSGIX 65548 -#define X_GLXvop_QueryMaxSwapBarriersSGIX 65549 -#define X_GLXvop_QueryHyperpipeNetworkSGIX 65550 -#define X_GLXvop_QueryHyperpipeConfigSGIX 65551 -#define X_GLXvop_HyperpipeConfigSGIX 65552 -#define X_GLXvop_DestroyHyperpipeConfigSGIX 65553 - - -/* ARB extension opcodes */ - -/* 1. GL_ARB_multitexture - see GL 1.2 opcodes */ -/* 5. GL_ARB_multisample - see GL 1.3 opcodes */ -/* 12. GL_ARB_texture_compression - see GL 1.3 opcodes */ -/* 14. GL_ARB_point_parameters - see GL 1.4 opcodees */ - -/* 15. GL_ARB_vertex_blend */ -#define X_GLrop_WeightbvARB 220 -#define X_GLrop_WeightubvARB 221 -#define X_GLrop_WeightsvARB 222 -#define X_GLrop_WeightusvARB 223 -#define X_GLrop_WeightivARB 224 -#define X_GLrop_WeightuivARB 225 -#define X_GLrop_VertexBlendARB 226 -#define X_GLrop_WeightfvARB 227 -#define X_GLrop_WeightdvARB 228 - -/* 16. GL_ARB_matrix_palette */ -/* XXX opcodes not defined in the spec */ - -/* 25. GL_ARB_window_pos - see GL 1.4 opcodes */ - -/* 26. GL_ARB_vertex_program */ -#define X_GLrop_BindProgramARB 4180 -#define X_GLrop_ProgramEnvParameter4fvARB 4184 -#define X_GLrop_ProgramEnvParameter4dvARB 4185 -#define X_GLrop_VertexAttrib1svARB 4189 -#define X_GLrop_VertexAttrib2svARB 4190 -#define X_GLrop_VertexAttrib3svARB 4191 -#define X_GLrop_VertexAttrib4svARB 4192 -#define X_GLrop_VertexAttrib1fvARB 4193 -#define X_GLrop_VertexAttrib2fvARB 4194 -#define X_GLrop_VertexAttrib3fvARB 4195 -#define X_GLrop_VertexAttrib4fvARB 4196 -#define X_GLrop_VertexAttrib1dvARB 4197 -#define X_GLrop_VertexAttrib2dvARB 4198 -#define X_GLrop_VertexAttrib3dvARB 4199 -#define X_GLrop_ProgramLocalParameter4fvARB 4215 -#define X_GLrop_ProgramLocalParameter4dvARB 4216 -#define X_GLrop_ProgramStringARB 4217 -#define X_GLrop_VertexAttrib4dvARB 4200 -#define X_GLrop_VertexAttrib4NubvARB 4201 -#define X_GLrop_VertexAttrib4bvARB 4230 -#define X_GLrop_VertexAttrib4ivARB 4231 -#define X_GLrop_VertexAttrib4ubvARB 4232 -#define X_GLrop_VertexAttrib4usvARB 4233 -#define X_GLrop_VertexAttrib4uivARB 4234 -#define X_GLrop_VertexAttrib4NbvARB 4235 -#define X_GLrop_VertexAttrib4NsvARB 4236 -#define X_GLrop_VertexAttrib4NivARB 4237 -#define X_GLrop_VertexAttrib4NusvARB 4238 -#define X_GLrop_VertexAttrib4NuivARB 4239 - -/* 27. GL_ARB_fragment_program - see GL_ARB_vertex_program opcodes */ - -/* 29. GL_ARB_occlusion_query */ -/* XXX opcodes not defined in the spec */ - - -/* New extension opcodes */ - -/* 145. GL_EXT_secondary_color - see GL 1.4 opcodes */ - -/* 188. GL_EXT_vertex_weighting */ -#define X_GLrop_VertexWeightfvEXT 4135 - -/* 191. GL_NV_register_combiners */ -#define X_GLrop_CombinerParameterfNV 4136 -#define X_GLrop_CombinerParameterfvNV 4137 -#define X_GLrop_CombinerParameteriNV 4138 -#define X_GLrop_CombinerParameterivNV 4139 -#define X_GLrop_CombinerInputNV 4140 -#define X_GLrop_CombinerOutputNV 4141 -#define X_GLrop_FinalCombinerInputNV 4142 - -/* 222. GL_NV_fence */ -#define X_GLrop_SetFenceNV 4143 -#define X_GLrop_FinishFenceNV 4144 - -/* 227. GL_NV_register_combiners2 */ -/* XXX opcodes not defined in the spec */ - -/* 233. GL_NV_vertex_program - see also GL_ARB_vertex_program opcodes */ -#define X_GLrop_ExecuteProgramNV 4181 -#define X_GLrop_RequestResidentProgramsNV 4182 -#define X_GLrop_LoadProgamNV 4183 -#define X_GLrop_ProgramParameters4fvNV 4186 -#define X_GLrop_ProgramParameters4dvNV 4187 -#define X_GLrop_TrackMatrixNV 4188 -#define X_GLrop_VertexAttribs1svNV 4202 -#define X_GLrop_VertexAttribs2svNV 4203 -#define X_GLrop_VertexAttribs3svNV 4204 -#define X_GLrop_VertexAttribs4svNV 4205 -#define X_GLrop_VertexAttribs1fvNV 4206 -#define X_GLrop_VertexAttribs2fvNV 4207 -#define X_GLrop_VertexAttribs3fvNV 4208 -#define X_GLrop_VertexAttribs4fvNV 4209 -#define X_GLrop_VertexAttribs1dvNV 4210 -#define X_GLrop_VertexAttribs2dvNV 4211 -#define X_GLrop_VertexAttribs3dvNV 4212 -#define X_GLrop_VertexAttribs4dvNV 4213 -#define X_GLrop_VertexAttribs4ubvNV 4214 - -/* 261. GL_NV_occlusion_query */ -/* XXX opcodes not defined in the spec */ - -/* 262. GL_NV_point_sprite - see GL 1.4 opcodes */ - -/* 268. GL_EXT_stencil_two_side */ -#define X_GLrop_ActiveStencilFaceEXT 4220 - -/* 282. GL_NV_fragment_program - see also GL_NV_vertex_program and GL_ARB_vertex_program opcodes */ -#define X_GLrop_ProgramNamedParameter4fvNV 4218 -#define X_GLrop_ProgramNamedParameter4dvNV 4219 - -/* 285. GL_NV_primitive_restart */ -/* XXX opcodes not defined in the spec */ - -/* 297. GL_EXT_depth_bounds_test */ -#define X_GLrop_DepthBoundsEXT 4229 - -/* 299. GL_EXT_blend_equation_separate */ -#define X_GLrop_BlendEquationSeparateEXT 4228 - -#endif /* _GLX_glxproto_h_ */ diff --git a/Libraries/GL/glxtokens.h b/Libraries/GL/glxtokens.h deleted file mode 100644 index cc720209..00000000 --- a/Libraries/GL/glxtokens.h +++ /dev/null @@ -1,244 +0,0 @@ -#ifndef __GLX_glxtokens_h__ -#define __GLX_glxtokens_h__ - -/* $XFree86: xc/include/GL/glxtokens.h,v 1.5 2001/03/21 15:51:38 dawes Exp $ */ -/* -** License Applicability. Except to the extent portions of this file are -** made subject to an alternative license as permitted in the SGI Free -** Software License B, Version 1.1 (the "License"), the contents of this -** file are subject only to the provisions of the License. You may not use -** this file except in compliance with the License. You may obtain a copy -** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 -** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: -** -** http://oss.sgi.com/projects/FreeB -** -** Note that, as provided in the License, the Software is distributed on an -** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS -** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND -** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A -** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. -** -** Original Code. The Original Code is: OpenGL Sample Implementation, -** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, -** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. -** Copyright in any portions created by third parties is as indicated -** elsewhere herein. All Rights Reserved. -** -** Additional Notice Provisions: The application programming interfaces -** established by SGI in conjunction with the Original Code are The -** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released -** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version -** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X -** Window System(R) (Version 1.3), released October 19, 1998. This software -** was created using the OpenGL(R) version 1.2.1 Sample Implementation -** published by SGI, but has not been independently verified as being -** compliant with the OpenGL(R) version 1.2.1 Specification. -*/ - -#ifdef __cplusplus -extern "C" { -#endif - -#define GLX_VERSION_1_1 1 -#define GLX_VERSION_1_2 1 -#define GLX_VERSION_1_3 1 -#define GLX_VERSION_1_4 1 - -/* -** Visual Config Attributes (glXGetConfig, glXGetFBConfigAttrib) -*/ -#define GLX_USE_GL 1 /* support GLX rendering */ -#define GLX_BUFFER_SIZE 2 /* depth of the color buffer */ -#define GLX_LEVEL 3 /* level in plane stacking */ -#define GLX_RGBA 4 /* true if RGBA mode */ -#define GLX_DOUBLEBUFFER 5 /* double buffering supported */ -#define GLX_STEREO 6 /* stereo buffering supported */ -#define GLX_AUX_BUFFERS 7 /* number of aux buffers */ -#define GLX_RED_SIZE 8 /* number of red component bits */ -#define GLX_GREEN_SIZE 9 /* number of green component bits */ -#define GLX_BLUE_SIZE 10 /* number of blue component bits */ -#define GLX_ALPHA_SIZE 11 /* number of alpha component bits */ -#define GLX_DEPTH_SIZE 12 /* number of depth bits */ -#define GLX_STENCIL_SIZE 13 /* number of stencil bits */ -#define GLX_ACCUM_RED_SIZE 14 /* number of red accum bits */ -#define GLX_ACCUM_GREEN_SIZE 15 /* number of green accum bits */ -#define GLX_ACCUM_BLUE_SIZE 16 /* number of blue accum bits */ -#define GLX_ACCUM_ALPHA_SIZE 17 /* number of alpha accum bits */ -/* -** FBConfig-specific attributes -*/ -#define GLX_X_VISUAL_TYPE 0x22 -#define GLX_CONFIG_CAVEAT 0x20 /* Like visual_info VISUAL_CAVEAT_EXT */ -#define GLX_TRANSPARENT_TYPE 0x23 -#define GLX_TRANSPARENT_INDEX_VALUE 0x24 -#define GLX_TRANSPARENT_RED_VALUE 0x25 -#define GLX_TRANSPARENT_GREEN_VALUE 0x26 -#define GLX_TRANSPARENT_BLUE_VALUE 0x27 -#define GLX_TRANSPARENT_ALPHA_VALUE 0x28 -#define GLX_DRAWABLE_TYPE 0x8010 -#define GLX_RENDER_TYPE 0x8011 -#define GLX_X_RENDERABLE 0x8012 -#define GLX_FBCONFIG_ID 0x8013 -#define GLX_MAX_PBUFFER_WIDTH 0x8016 -#define GLX_MAX_PBUFFER_HEIGHT 0x8017 -#define GLX_MAX_PBUFFER_PIXELS 0x8018 -#define GLX_VISUAL_ID 0x800B - -/* FBConfigSGIX Attributes */ -#define GLX_OPTIMAL_PBUFFER_WIDTH_SGIX 0x8019 -#define GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX 0x801A - -/* -** Error return values from glXGetConfig. Success is indicated by -** a value of 0. -*/ -#define GLX_BAD_SCREEN 1 /* screen # is bad */ -#define GLX_BAD_ATTRIBUTE 2 /* attribute to get is bad */ -#define GLX_NO_EXTENSION 3 /* no glx extension on server */ -#define GLX_BAD_VISUAL 4 /* visual # not known by GLX */ -#define GLX_BAD_CONTEXT 5 /* returned only by import_context EXT? */ -#define GLX_BAD_VALUE 6 /* returned only by glXSwapIntervalSGI? */ -#define GLX_BAD_ENUM 7 /* unused? */ - -/* FBConfig attribute values */ - -/* -** Generic "don't care" value for glX ChooseFBConfig attributes (except -** GLX_LEVEL) -*/ -#define GLX_DONT_CARE 0xFFFFFFFF - -/* GLX_RENDER_TYPE bits */ -#define GLX_RGBA_BIT 0x00000001 -#define GLX_COLOR_INDEX_BIT 0x00000002 - -/* GLX_DRAWABLE_TYPE bits */ -#define GLX_WINDOW_BIT 0x00000001 -#define GLX_PIXMAP_BIT 0x00000002 -#define GLX_PBUFFER_BIT 0x00000004 - -/* GLX_CONFIG_CAVEAT attribute values */ -#define GLX_NONE 0x8000 -#define GLX_SLOW_CONFIG 0x8001 -#define GLX_NON_CONFORMANT_CONFIG 0x800D - -/* GLX_X_VISUAL_TYPE attribute values */ -#define GLX_TRUE_COLOR 0x8002 -#define GLX_DIRECT_COLOR 0x8003 -#define GLX_PSEUDO_COLOR 0x8004 -#define GLX_STATIC_COLOR 0x8005 -#define GLX_GRAY_SCALE 0x8006 -#define GLX_STATIC_GRAY 0x8007 - -/* GLX_TRANSPARENT_TYPE attribute values */ -/* #define GLX_NONE 0x8000 */ -#define GLX_TRANSPARENT_RGB 0x8008 -#define GLX_TRANSPARENT_INDEX 0x8009 - -/* glXCreateGLXPbuffer attributes */ -#define GLX_PRESERVED_CONTENTS 0x801B -#define GLX_LARGEST_PBUFFER 0x801C -#define GLX_PBUFFER_HEIGHT 0x8040 /* New for GLX 1.3 */ -#define GLX_PBUFFER_WIDTH 0x8041 /* New for GLX 1.3 */ - -/* glXQueryGLXPBuffer attributes */ -#define GLX_WIDTH 0x801D -#define GLX_HEIGHT 0x801E -#define GLX_EVENT_MASK 0x801F - -/* glXCreateNewContext render_type attribute values */ -#define GLX_RGBA_TYPE 0x8014 -#define GLX_COLOR_INDEX_TYPE 0x8015 - -/* glXQueryContext attributes */ -/* #define GLX_FBCONFIG_ID 0x8013 */ -/* #define GLX_RENDER_TYPE 0x8011 */ -#define GLX_SCREEN 0x800C - -/* glXSelectEvent event mask bits */ -#define GLX_PBUFFER_CLOBBER_MASK 0x08000000 - -/* GLXPbufferClobberEvent event_type values */ -#define GLX_DAMAGED 0x8020 -#define GLX_SAVED 0x8021 - -/* GLXPbufferClobberEvent draw_type values */ -#define GLX_WINDOW 0x8022 -#define GLX_PBUFFER 0x8023 - -/* GLXPbufferClobberEvent buffer_mask bits */ -#define GLX_FRONT_LEFT_BUFFER_BIT 0x00000001 -#define GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002 -#define GLX_BACK_LEFT_BUFFER_BIT 0x00000004 -#define GLX_BACK_RIGHT_BUFFER_BIT 0x00000008 -#define GLX_AUX_BUFFERS_BIT 0x00000010 -#define GLX_DEPTH_BUFFER_BIT 0x00000020 -#define GLX_STENCIL_BUFFER_BIT 0x00000040 -#define GLX_ACCUM_BUFFER_BIT 0x00000080 - -/* -** Extension return values from glXGetConfig. These are also -** accepted as parameter values for glXChooseVisual. -*/ - -#define GLX_X_VISUAL_TYPE_EXT 0x22 /* visual_info extension type */ -#define GLX_TRANSPARENT_TYPE_EXT 0x23 /* visual_info extension */ -#define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24 /* visual_info extension */ -#define GLX_TRANSPARENT_RED_VALUE_EXT 0x25 /* visual_info extension */ -#define GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26 /* visual_info extension */ -#define GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27 /* visual_info extension */ -#define GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28 /* visual_info extension */ - -/* Property values for visual_type */ -#define GLX_TRUE_COLOR_EXT 0x8002 -#define GLX_DIRECT_COLOR_EXT 0x8003 -#define GLX_PSEUDO_COLOR_EXT 0x8004 -#define GLX_STATIC_COLOR_EXT 0x8005 -#define GLX_GRAY_SCALE_EXT 0x8006 -#define GLX_STATIC_GRAY_EXT 0x8007 - -/* Property values for transparent pixel */ -#define GLX_NONE_EXT 0x8000 -#define GLX_TRANSPARENT_RGB_EXT 0x8008 -#define GLX_TRANSPARENT_INDEX_EXT 0x8009 - -/* Property values for visual_rating */ -#define GLX_VISUAL_CAVEAT_EXT 0x20 /* visual_rating extension type */ -#define GLX_SLOW_VISUAL_EXT 0x8001 -#define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D - -/* Property values for swap method (GLX_OML_swap_method) */ -#define GLX_SWAP_METHOD_OML 0x8060 -#define GLX_SWAP_EXCHANGE_OML 0x8061 -#define GLX_SWAP_COPY_OML 0x8062 -#define GLX_SWAP_UNDEFINED_OML 0x8063 - -/* Property values for multi-sampling */ -#define GLX_VISUAL_SELECT_GROUP_SGIX 0x8028 /* visuals grouped by select priority */ - -/* -** Names for attributes to glXGetClientString. -*/ -#define GLX_VENDOR 0x1 -#define GLX_VERSION 0x2 -#define GLX_EXTENSIONS 0x3 - -/* -** Names for attributes to glXQueryContextInfoEXT. -*/ -#define GLX_SHARE_CONTEXT_EXT 0x800A /* id of share context */ -#define GLX_VISUAL_ID_EXT 0x800B /* id of context's visual */ -#define GLX_SCREEN_EXT 0x800C /* screen number */ - -/* - * GLX 1.4 and later: - */ -#define GLX_SAMPLE_BUFFERS_SGIS 100000 -#define GLX_SAMPLES_SGIS 100001 - -#ifdef __cplusplus -} -#endif - -#endif /* !__GLX_glxtokens_h__ */ diff --git a/Libraries/GL/osmesa.h b/Libraries/GL/osmesa.h deleted file mode 100644 index ef645905..00000000 --- a/Libraries/GL/osmesa.h +++ /dev/null @@ -1,280 +0,0 @@ -/* - * Mesa 3-D graphics library - * Version: 6.3 - * - * Copyright (C) 1999-2003 Brian Paul All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included - * in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - - -/* - * Mesa Off-Screen rendering interface. - * - * This is an operating system and window system independent interface to - * Mesa which allows one to render images into a client-supplied buffer in - * main memory. Such images may manipulated or saved in whatever way the - * client wants. - * - * These are the API functions: - * OSMesaCreateContext - create a new Off-Screen Mesa rendering context - * OSMesaMakeCurrent - bind an OSMesaContext to a client's image buffer - * and make the specified context the current one. - * OSMesaDestroyContext - destroy an OSMesaContext - * OSMesaGetCurrentContext - return thread's current context ID - * OSMesaPixelStore - controls how pixels are stored in image buffer - * OSMesaGetIntegerv - return OSMesa state parameters - * - * - * The limits on the width and height of an image buffer are MAX_WIDTH and - * MAX_HEIGHT as defined in Mesa/src/config.h. Defaults are 1280 and 1024. - * You can increase them as needed but beware that many temporary arrays in - * Mesa are dimensioned by MAX_WIDTH or MAX_HEIGHT. - */ - - -#ifndef OSMESA_H -#define OSMESA_H - - -#ifdef __cplusplus -extern "C" { -#endif - - -#include - - -#define OSMESA_MAJOR_VERSION 6 -#define OSMESA_MINOR_VERSION 3 -#define OSMESA_PATCH_VERSION 0 - - - -/* - * Values for the format parameter of OSMesaCreateContext() - * New in version 2.0. - */ -#define OSMESA_COLOR_INDEX GL_COLOR_INDEX -#define OSMESA_RGBA GL_RGBA -#define OSMESA_BGRA 0x1 -#define OSMESA_ARGB 0x2 -#define OSMESA_RGB GL_RGB -#define OSMESA_BGR 0x4 -#define OSMESA_RGB_565 0x5 - - -/* - * OSMesaPixelStore() parameters: - * New in version 2.0. - */ -#define OSMESA_ROW_LENGTH 0x10 -#define OSMESA_Y_UP 0x11 - - -/* - * Accepted by OSMesaGetIntegerv: - */ -#define OSMESA_WIDTH 0x20 -#define OSMESA_HEIGHT 0x21 -#define OSMESA_FORMAT 0x22 -#define OSMESA_TYPE 0x23 -#define OSMESA_MAX_WIDTH 0x24 /* new in 4.0 */ -#define OSMESA_MAX_HEIGHT 0x25 /* new in 4.0 */ - - -typedef struct osmesa_context *OSMesaContext; - - -#if defined(__BEOS__) || defined(__QUICKDRAW__) -#pragma export on -#endif - - -/* - * Create an Off-Screen Mesa rendering context. The only attribute needed is - * an RGBA vs Color-Index mode flag. - * - * Input: format - one of OSMESA_COLOR_INDEX, OSMESA_RGBA, OSMESA_BGRA, - * OSMESA_ARGB, OSMESA_RGB, or OSMESA_BGR. - * sharelist - specifies another OSMesaContext with which to share - * display lists. NULL indicates no sharing. - * Return: an OSMesaContext or 0 if error - */ -GLAPI OSMesaContext GLAPIENTRY -OSMesaCreateContext( GLenum format, OSMesaContext sharelist ); - - - -/* - * Create an Off-Screen Mesa rendering context and specify desired - * size of depth buffer, stencil buffer and accumulation buffer. - * If you specify zero for depthBits, stencilBits, accumBits you - * can save some memory. - * - * New in Mesa 3.5 - */ -GLAPI OSMesaContext GLAPIENTRY -OSMesaCreateContextExt( GLenum format, GLint depthBits, GLint stencilBits, - GLint accumBits, OSMesaContext sharelist); - - -/* - * Destroy an Off-Screen Mesa rendering context. - * - * Input: ctx - the context to destroy - */ -GLAPI void GLAPIENTRY -OSMesaDestroyContext( OSMesaContext ctx ); - - - -/* - * Bind an OSMesaContext to an image buffer. The image buffer is just a - * block of memory which the client provides. Its size must be at least - * as large as width*height*sizeof(type). Its address should be a multiple - * of 4 if using RGBA mode. - * - * Image data is stored in the order of glDrawPixels: row-major order - * with the lower-left image pixel stored in the first array position - * (ie. bottom-to-top). - * - * Since the only type initially supported is GL_UNSIGNED_BYTE, if the - * context is in RGBA mode, each pixel will be stored as a 4-byte RGBA - * value. If the context is in color indexed mode, each pixel will be - * stored as a 1-byte value. - * - * If the context's viewport hasn't been initialized yet, it will now be - * initialized to (0,0,width,height). - * - * Input: ctx - the rendering context - * buffer - the image buffer memory - * type - data type for pixel components, only GL_UNSIGNED_BYTE - * supported now - * width, height - size of image buffer in pixels, at least 1 - * Return: GL_TRUE if success, GL_FALSE if error because of invalid ctx, - * invalid buffer address, type!=GL_UNSIGNED_BYTE, width<1, height<1, - * width>internal limit or height>internal limit. - */ -GLAPI GLboolean GLAPIENTRY -OSMesaMakeCurrent( OSMesaContext ctx, void *buffer, GLenum type, - GLsizei width, GLsizei height ); - - - - -/* - * Return the current Off-Screen Mesa rendering context handle. - */ -GLAPI OSMesaContext GLAPIENTRY -OSMesaGetCurrentContext( void ); - - - -/* - * Set pixel store/packing parameters for the current context. - * This is similar to glPixelStore. - * Input: pname - OSMESA_ROW_LENGTH - * specify actual pixels per row in image buffer - * 0 = same as image width (default) - * OSMESA_Y_UP - * zero = Y coordinates increase downward - * non-zero = Y coordinates increase upward (default) - * value - the value for the parameter pname - * - * New in version 2.0. - */ -GLAPI void GLAPIENTRY -OSMesaPixelStore( GLint pname, GLint value ); - - - -/* - * Return an integer value like glGetIntegerv. - * Input: pname - - * OSMESA_WIDTH return current image width - * OSMESA_HEIGHT return current image height - * OSMESA_FORMAT return image format - * OSMESA_TYPE return color component data type - * OSMESA_ROW_LENGTH return row length in pixels - * OSMESA_Y_UP returns 1 or 0 to indicate Y axis direction - * value - pointer to integer in which to return result. - */ -GLAPI void GLAPIENTRY -OSMesaGetIntegerv( GLint pname, GLint *value ); - - - -/* - * Return the depth buffer associated with an OSMesa context. - * Input: c - the OSMesa context - * Output: width, height - size of buffer in pixels - * bytesPerValue - bytes per depth value (2 or 4) - * buffer - pointer to depth buffer values - * Return: GL_TRUE or GL_FALSE to indicate success or failure. - * - * New in Mesa 2.4. - */ -GLAPI GLboolean GLAPIENTRY -OSMesaGetDepthBuffer( OSMesaContext c, GLint *width, GLint *height, - GLint *bytesPerValue, void **buffer ); - - - -/* - * Return the color buffer associated with an OSMesa context. - * Input: c - the OSMesa context - * Output: width, height - size of buffer in pixels - * format - buffer format (OSMESA_FORMAT) - * buffer - pointer to depth buffer values - * Return: GL_TRUE or GL_FALSE to indicate success or failure. - * - * New in Mesa 3.3. - */ -GLAPI GLboolean GLAPIENTRY -OSMesaGetColorBuffer( OSMesaContext c, GLint *width, GLint *height, - GLint *format, void **buffer ); - - - -/** - * This typedef is new in Mesa 6.3. - */ -typedef void (*OSMESAproc)(); - - -/* - * Return pointer to the named function. - * New in Mesa 4.1 - * Return OSMESAproc in 6.3. - */ -GLAPI OSMESAproc GLAPIENTRY -OSMesaGetProcAddress( const char *funcName ); - - -#if defined(__BEOS__) || defined(__QUICKDRAW__) -#pragma export off -#endif - - -#ifdef __cplusplus -} -#endif - - -#endif diff --git a/Libraries/Linux/lib/libfreeimage-3.13.1.so b/Libraries/Linux/lib/libfreeimage-3.13.1.so deleted file mode 100644 index 132ab926..00000000 Binary files a/Libraries/Linux/lib/libfreeimage-3.13.1.so and /dev/null differ diff --git a/Libraries/Linux/lib/libfreeimage.so b/Libraries/Linux/lib/libfreeimage.so deleted file mode 120000 index 9a46e1ed..00000000 --- a/Libraries/Linux/lib/libfreeimage.so +++ /dev/null @@ -1 +0,0 @@ -libfreeimage.so.3 \ No newline at end of file diff --git a/Libraries/Linux/lib/libfreeimage.so.3 b/Libraries/Linux/lib/libfreeimage.so.3 deleted file mode 120000 index 5f4b53d6..00000000 --- a/Libraries/Linux/lib/libfreeimage.so.3 +++ /dev/null @@ -1 +0,0 @@ -libfreeimage-3.13.1.so \ No newline at end of file diff --git a/Libraries/Linux/lib64/libfreeimage-3.13.1.so b/Libraries/Linux/lib64/libfreeimage-3.13.1.so deleted file mode 100644 index 832814b4..00000000 Binary files a/Libraries/Linux/lib64/libfreeimage-3.13.1.so and /dev/null differ diff --git a/Libraries/Linux/lib64/libfreeimage.so b/Libraries/Linux/lib64/libfreeimage.so deleted file mode 120000 index 9a46e1ed..00000000 --- a/Libraries/Linux/lib64/libfreeimage.so +++ /dev/null @@ -1 +0,0 @@ -libfreeimage.so.3 \ No newline at end of file diff --git a/Libraries/Linux/lib64/libfreeimage.so.3 b/Libraries/Linux/lib64/libfreeimage.so.3 deleted file mode 120000 index 5f4b53d6..00000000 --- a/Libraries/Linux/lib64/libfreeimage.so.3 +++ /dev/null @@ -1 +0,0 @@ -libfreeimage-3.13.1.so \ No newline at end of file diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/Demo/OpenAL_AudioInterface.cpp b/Libraries/TheoraPlayer/Source/TheoraPlayer/Demo/OpenAL_AudioInterface.cpp deleted file mode 100644 index a5d9b1b4..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/Demo/OpenAL_AudioInterface.cpp +++ /dev/null @@ -1,202 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ -#include -#include "OpenAL_AudioInterface.h" - -ALCdevice* gDevice=0; -ALCcontext* gContext=0; - - -short float2short(float f) -{ - if (f > 1) f= 1; - else if (f < -1) f=-1; - return (short) (f*32767); -} - -OpenAL_AudioInterface::OpenAL_AudioInterface(TheoraVideoClip* owner,int nChannels,int freq) : - TheoraAudioInterface(owner,nChannels,freq), TheoraTimer() -{ - mMaxBuffSize=freq*mNumChannels*2; - mBuffSize=0; - mNumProcessedSamples=0; - mTimeOffset=0; - - mTempBuffer=new short[mMaxBuffSize]; - alGenSources(1,&mSource); - owner->setTimer(this); - mNumPlayedSamples=0; -} - -void OpenAL_AudioInterface::destroy() -{ - // todo -} - -OpenAL_AudioInterface::~OpenAL_AudioInterface() -{ - // todo: delete buffers and source - if (mTempBuffer) delete mTempBuffer; -} - -void OpenAL_AudioInterface::insertData(float** data,int nSamples) -{ - printf("got %d bytes, %d buffers queued\n",nSamples,(int)mBufferQueue.size()); - for (int i=0;i 0) printf("%.2f\n",mTimeOffset); - - float duration=mClip->getDuration(); - if (mTime > duration) mTime=duration; -} - -void OpenAL_AudioInterface::pause() -{ - alSourcePause(mSource); - TheoraTimer::pause(); -} - -void OpenAL_AudioInterface::play() -{ - alSourcePlay(mSource); - TheoraTimer::play(); -} - -void OpenAL_AudioInterface::seek(float time) -{ - OpenAL_Buffer buff; - - alSourceStop(mSource); - while (!mBufferQueue.empty()) - { - buff=mBufferQueue.front(); - mBufferQueue.pop(); - alSourceUnqueueBuffers(mSource,1,&buff.id); - alDeleteBuffers(1,&buff.id); - } -// int nProcessed; -// alGetSourcei(mSource,AL_BUFFERS_PROCESSED,&nProcessed); -// if (nProcessed != 0) -// nProcessed=nProcessed; - mBuffSize=0; - mTimeOffset=0; - - mNumPlayedSamples=mNumProcessedSamples=(int) time*mFreq; -} - -OpenAL_AudioInterfaceFactory::OpenAL_AudioInterfaceFactory() -{ - // openal init is here used only to simplify samples for this plugin - // if you want to use this interface in your own program, you'll - // probably want to remove the openal init/destory lines - gDevice = alcOpenDevice(""); - if (alcGetError(gDevice) != ALC_NO_ERROR) goto Fail; - gContext = alcCreateContext(gDevice, NULL); - if (alcGetError(gDevice) != ALC_NO_ERROR) goto Fail; - alcMakeContextCurrent(gContext); - if (alcGetError(gDevice) != ALC_NO_ERROR) goto Fail; - - return; -Fail: - gDevice=NULL; - gContext=NULL; -} - -OpenAL_AudioInterfaceFactory::~OpenAL_AudioInterfaceFactory() -{ - if (gDevice) - { - alcMakeContextCurrent(NULL); - alcDestroyContext(gContext); - alcCloseDevice(gDevice); - } -} - -OpenAL_AudioInterface* OpenAL_AudioInterfaceFactory::createInstance(TheoraVideoClip* owner,int nChannels,int freq) -{ - return new OpenAL_AudioInterface(owner,nChannels,freq); -} diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/Demo/OpenAL_AudioInterface.h b/Libraries/TheoraPlayer/Source/TheoraPlayer/Demo/OpenAL_AudioInterface.h deleted file mode 100644 index 9a4b7cd4..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/Demo/OpenAL_AudioInterface.h +++ /dev/null @@ -1,76 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ -#ifndef _OpenAL_AudioInterface_h -#define _OpenAL_AudioInterface_h - -#include "TheoraAudioInterface.h" -#include "TheoraVideoClip.h" -#include "TheoraTimer.h" - -#ifndef __APPLE__ -#include -#include -#else -#include -#include -#endif -#include - -class OpenAL_AudioInterface : public TheoraAudioInterface, TheoraTimer -{ - int mMaxBuffSize; - int mBuffSize; - short *mTempBuffer; - float mTimeOffset; - - struct OpenAL_Buffer - { - ALuint id; - int nSamples; - }mBuffers[1000]; - std::queue mBufferQueue; - - ALuint mSource; - int mNumProcessedSamples,mNumPlayedSamples; -public: - OpenAL_AudioInterface(TheoraVideoClip* owner,int nChannels,int freq); - ~OpenAL_AudioInterface(); - void insertData(float** data,int nSamples); - void destroy(); - - void update(float time_increase); - - void pause(); - void play(); - void seek(float time); -}; - - - -class OpenAL_AudioInterfaceFactory : public TheoraAudioInterfaceFactory -{ -public: - OpenAL_AudioInterfaceFactory(); - ~OpenAL_AudioInterfaceFactory(); - OpenAL_AudioInterface* createInstance(TheoraVideoClip* owner,int nChannels,int freq); -}; - -#endif diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/Demo/demo_basecode.h b/Libraries/TheoraPlayer/Source/TheoraPlayer/Demo/demo_basecode.h deleted file mode 100644 index e9f7378e..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/Demo/demo_basecode.h +++ /dev/null @@ -1,384 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ -#ifdef _WIN32 -#include -#endif -#include -#include - -#ifndef __APPLE__ -#include -#include -#include -#else -#include -#include -#include -#endif - - -#ifndef _WIN32 -#ifndef __APPLE__ -#include -#endif - -#include -unsigned long GetTickCount() -{ - struct timeval tv; - if (gettimeofday(&tv, NULL) != 0) return 0; - return (tv.tv_sec * 1000) + (tv.tv_usec / 1000); -} -#endif - -#include -#include "TheoraVideoManager.h" -#ifdef _WIN32 -#pragma warning( disable: 4996 ) // MSVC++ -#endif -extern std::string window_name; -extern int window_w,window_h; - -float mx=0,my=0; - -bool shader_on=0; -#define USE_SHADERS -#ifdef USE_SHADERS - -#if defined(_WIN32) -#define pglGetProcAddress(func) wglGetProcAddress(func) -#elif defined(__APPLE__) -#define pglGetProcAddress(func) glXGetProcAddress((GLubyte*) func) -#endif - -#ifndef __APPLE__ -#include -PFNGLCREATEPROGRAMPROC glCreateProgram=0; -PFNGLCREATESHADERPROC glCreateShader=0; -PFNGLLINKPROGRAMPROC glLinkProgram=0; -PFNGLSHADERSOURCEPROC glShaderSource=0; -PFNGLUSEPROGRAMPROC glUseProgram=0; -PFNGLCOMPILESHADERPROC glCompileShader=0; -PFNGLATTACHSHADERPROC glAttachShader=0; - -#else -#include -#endif - -unsigned int program,shader; -#endif - - - -void init(); -void destroy(); -void update(float); -void draw(); -void setDebugTitle(char* out); -void OnKeyPress(int key); -void OnClick(float x,float y); - -void psleep(int milliseconds) -{ -#ifdef _WIN32 - Sleep(milliseconds); -#else - usleep(milliseconds*1000); -#endif -} - -int nextPow2(int x) -{ - int y; - for (y=1;y - -unsigned int loadTexture(const char* name) -{ - unsigned int texid,image; - ilGenImages(1, &texid); - ilBindImage(texid); - ilLoadImage(name); - - int w=ilGetInteger(IL_IMAGE_WIDTH); - int h=ilGetInteger(IL_IMAGE_HEIGHT); - glGenTextures(1, &image); - glBindTexture(GL_TEXTURE_2D, image); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); - glTexImage2D(GL_TEXTURE_2D, 0, ilGetInteger(IL_IMAGE_BPP), w,h, 0, ilGetInteger(IL_IMAGE_FORMAT), GL_UNSIGNED_BYTE,ilGetData()); - ilDeleteImages(1, &texid); - - return image; -} - -#endif - - -unsigned int createTexture(int w,int h,unsigned int format=GL_RGB) -{ - unsigned int tex_id; - glGenTextures(1,&tex_id); - glBindTexture(GL_TEXTURE_2D,tex_id); - unsigned char* b=new unsigned char[w*h*4]; - memset(b,0,w*h*4); - - glTexImage2D(GL_TEXTURE_2D,0,(format == GL_RGB) ? 3 : 4,w,h,0,format,GL_UNSIGNED_BYTE,b); - glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR); - glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR); - delete b; - return tex_id; -} - -void display() -{ -#ifdef __ZBUFFER - glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT); -#else - glClear(GL_COLOR_BUFFER_BIT); -#endif - - draw(); - - glutSwapBuffers(); - - static unsigned long time=GetTickCount(); - unsigned long t=GetTickCount(); - - float diff=(t-time)/1000.0f; - if (diff > 0.25f) - diff=0.05f; // prevent spikes (usually happen on app load) - update(diff); - - static unsigned int fps_timer=time,fps_counter=0; - if (t-fps_timer >= 250) - { - char title[512],debug[256]=""; - - setDebugTitle(debug); - sprintf(title,"%s: %d FPS; %s",window_name.c_str(),fps_counter*4,debug); - glutSetWindowTitle(title); - fps_counter=0; - fps_timer=t; - } - else fps_counter++; - - time=t; - -} - -void reshape(int w,int h) -{ - glMatrixMode(GL_PROJECTION); - glLoadIdentity(); - glViewport(0, 0, w, h); -#ifdef __3D_PROJECTION - gluPerspective(45,(float) window_w/window_h,10,10000); - glMatrixMode(GL_MODELVIEW); - glLoadIdentity(); -#else - gluOrtho2D(0,800,600,0); - glMatrixMode(GL_MODELVIEW); - glLoadIdentity(); -#endif - -} - -void keyboard(unsigned char key,int x,int y) -{ - if (key == 27) // esc - { - destroy(); - exit(0); - } - else OnKeyPress(key); -} - -void keyboard_special(int key,int x,int y) -{ - if (key == 10) toggle_YUV2RGB_shader(); // F10 - OnKeyPress(key); -} - -void mouse(int button,int state, int x, int y) -{ - if (state == GLUT_UP && button == GLUT_LEFT_BUTTON) - { - mx=((float) x/glutGet(GLUT_WINDOW_WIDTH))*window_w; - my=((float) y/glutGet(GLUT_WINDOW_HEIGHT))*window_h; - OnClick(mx,my*window_h); - } -} - -void motion(int x,int y) -{ - mx=((float) x/glutGet(GLUT_WINDOW_WIDTH))*window_w; - my=((float) y/glutGet(GLUT_WINDOW_HEIGHT))*window_h; -} - -void getCursorPos(float* xout,float* yout) -{ - *xout=mx; - *yout=my; -} - -int main(int argc,char** argv) -{ - glutInit(&argc, argv); -#ifdef __ZBUFFER - glutInitDisplayMode( GLUT_DOUBLE|GLUT_RGBA|GLUT_DEPTH); -#else - glutInitDisplayMode( GLUT_DOUBLE|GLUT_RGBA); -#endif - glutInitWindowPosition((glutGet(GLUT_SCREEN_WIDTH)-window_w)/2,(glutGet(GLUT_SCREEN_HEIGHT)-window_h)/2); - glutInitWindowSize(window_w,window_h); - glutCreateWindow(window_name.c_str()); - glShadeModel(GL_SMOOTH); - glClearColor(0.0f, 0.0f, 0.0f, 0.5f); - glEnable(GL_TEXTURE_2D); - glPixelStorei(GL_UNPACK_ALIGNMENT,1); -#ifdef __DEV_IL - ilInit(); - ilutRenderer(ILUT_OPENGL); -#endif - init(); - glutDisplayFunc(display); - glutReshapeFunc(reshape); - glutKeyboardFunc(keyboard); - glutMouseFunc(mouse); - glutPassiveMotionFunc(motion); - glutSpecialFunc(keyboard_special); - glutIdleFunc(display); - - try { glutMainLoop(); } - catch (void*) {} - - destroy(); - - glutDestroyWindow(0); - - return 0; -} - - - - diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/Demo/tv_room.cpp b/Libraries/TheoraPlayer/Source/TheoraPlayer/Demo/tv_room.cpp deleted file mode 100644 index 1e8cf3f6..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/Demo/tv_room.cpp +++ /dev/null @@ -1,171 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ - -/************************************************************************************ -COPYRIGHT INFO: The room 3D models and textures are licensed under the terms of the - GNU General Public License (GPL). -*************************************************************************************/ -#define __3D_PROJECTION -#define __DEV_IL -#define __ZBUFFER -#include "../demo_basecode.h" -#include "TheoraPlayer.h" -#include "TheoraDataSource.h" -#include "../ObjModel.h" -#include - -unsigned int tex_id; -TheoraVideoManager* mgr; -TheoraVideoClip* clip; -std::string window_name="tv_room"; -bool started=1; -int window_w=800,window_h=600; - -ObjModel chair1,chair2,tv,room,table; -float anglex=0,angley=0; -unsigned int r=0,g=0,b=0; -void draw() -{ - glBindTexture(GL_TEXTURE_2D,tex_id); - - glLoadIdentity(); - gluLookAt(sin(anglex)*400-200,angley,cos(anglex)*400, -200,150,0, 0,1,0); - - TheoraVideoFrame* f=clip->getNextFrame(); - if (f) - { - unsigned char* data=f->getBuffer(); - unsigned int n=clip->getWidth()*f->getHeight(); - - r=g=b=0; - for (unsigned int i=0;igetWidth(),f->getHeight(),GL_RGB,GL_UNSIGNED_BYTE,f->getBuffer()); - clip->popFrame(); - } - - - float w=clip->getWidth(),h=clip->getHeight(); - float tw=nextPow2(w),th=nextPow2(h); - - glEnable(GL_TEXTURE_2D); - if (shader_on) enable_shader(); - glColor3f(1,1,1); - - - glPushMatrix(); - glRotatef(90,0,1,0); - glTranslatef(0,0,-415); - drawTexturedQuad(-2*30,190,4*30,-3*25,w/tw,h/th); - glPopMatrix(); - - if (shader_on) disable_shader(); - glColor3f(0.2f+0.8f*(r/255.0f), - 0.2f+0.8f*(g/255.0f), - 0.2f+0.8f*(b/255.0f)); - - chair1.draw(); - chair2.draw(); - table.draw(); - tv.draw(); - glEnable(GL_CULL_FACE); - room.draw(); - glDisable(GL_CULL_FACE); - -} - -void update(float time_increase) -{ - float x,y; - getCursorPos(&x,&y); - anglex=-4*3.14f*x/window_w; - angley=1500*(y-300)/window_h; - - if (started) - { - // let's wait until the system caches up a few frames on startup - if (clip->getNumReadyFrames() < clip->getNumPrecachedFrames()*0.5f) - return; - started=0; - } - mgr->update(time_increase); -} - -void OnKeyPress(int key) -{ - if (key == ' ') - { if (clip->isPaused()) clip->play(); else clip->pause(); } - - if (key == 5) clip->setOutputMode(TH_RGB); - if (key == 6) clip->setOutputMode(TH_YUV); - if (key == 7) clip->setOutputMode(TH_GREY3); -} - -void OnClick(float x,float y) -{ - if (y > 570) - clip->seek((x/window_w)*clip->getDuration()); -} - -void setDebugTitle(char* out) -{ - int nDropped=clip->getNumDroppedFrames(),nDisplayed=clip->getNumDisplayedFrames(); - float percent=100*((float) nDropped/nDisplayed); - sprintf(out," (%dx%d) %d precached, %d displayed, %d dropped (%.1f %%)",clip->getWidth(), - clip->getHeight(), - clip->getNumReadyFrames(), - nDisplayed, - nDropped, - percent); -} - -void init() -{ - mgr=new TheoraVideoManager(); - clip=mgr->createVideoClip("../media/bunny.ogg",TH_RGB); -// use this if you want to preload the file into ram and stream from there -// clip=mgr->createVideoClip(new TheoraMemoryFileDataSource("../media/short.ogg"),TH_RGB); - clip->setAutoRestart(1); - - tex_id=createTexture(nextPow2(clip->getWidth()),nextPow2(clip->getHeight())); - - chair1.load("../media/chair1.obj",loadTexture("../media/chair1.jpg")); - chair2.load("../media/chair2.obj",loadTexture("../media/chair2.jpg")); - room.load("../media/room.obj",loadTexture("../media/room.jpg")); - table.load("../media/table.obj",loadTexture("../media/table.jpg")); - tv.load("../media/tv.obj",loadTexture("../media/tv.jpg")); - - glDisable(GL_CULL_FACE); - glCullFace(GL_BACK); - glEnable(GL_DEPTH_TEST); - glDepthFunc(GL_LESS); - glEnable(GL_COLOR_MATERIAL); -} - -void destroy() -{ - delete mgr; -} diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/Endianess.h b/Libraries/TheoraPlayer/Source/TheoraPlayer/Endianess.h deleted file mode 100644 index f02a08a3..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/Endianess.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef NORMALIZE_ENDIAN - -#ifdef __BIG_ENDIAN__ - // ppc & friends need convert from littleendian to their bigendian - #define NORMALIZE_ENDIAN(variable) \ - /*printf("normalizing " #variable "(%d) - %d\n", sizeof(variable), - variable);*/ \ - variable=(sizeof(variable)==1 ? \ - (variable) : \ - sizeof(variable)==2 ? \ - ((variable & 0xFF) << 8) | \ - ((variable & 0xFF00) >> 8) : \ - sizeof(variable)==4 ? \ - ((variable & 0xFF) << 24) | \ - ((variable & 0xFF00) << 8) | \ - ((variable & 0xFF0000) >> 8) | \ - ((variable & 0xFF000000) >> 24) : \ - \ - throw("Unsupported sizeof(" #variable ")\n") \ - ); - #define NORMALIZE_FLOAT_ENDIAN(variable) \ - { \ - uint32_t _var = *(uint32_t*)&variable; \ - NORMALIZE_ENDIAN(_var); \ - variable = *(float*)&_var; \ - } - -#else - // i386 & friends do a noop - #define NORMALIZE_ENDIAN(variable) - #define NORMALIZE_FLOAT_ENDIAN(variable) -#endif - -#endif diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraAsync.cpp b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraAsync.cpp deleted file mode 100644 index 9759b10a..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraAsync.cpp +++ /dev/null @@ -1,115 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ -#include -#include "TheoraAsync.h" - -#ifdef _WIN32 -#include - -unsigned long WINAPI theoraAsync_Call(void* param) -{ -#else -void *theoraAsync_Call(void* param) -{ -#endif - - TheoraThread* t=(TheoraThread*) param; - t->executeThread(); -#ifndef _WIN32 - pthread_exit(NULL); -#endif - return 0; -} - - -TheoraMutex::TheoraMutex() -{ -#ifdef _WIN32 - mHandle=0; -#else - pthread_mutex_init(&mHandle,0); -#endif -} - -TheoraMutex::~TheoraMutex() -{ -#ifdef _WIN32 - if (mHandle) CloseHandle(mHandle); -#else - pthread_mutex_destroy(&mHandle); -#endif -} - -void TheoraMutex::lock() -{ -#ifdef _WIN32 - if (!mHandle) mHandle=CreateMutex(0,0,0); - WaitForSingleObject(mHandle,INFINITE); -#else - pthread_mutex_lock(&mHandle); -#endif -} - -void TheoraMutex::unlock() -{ -#ifdef _WIN32 - ReleaseMutex(mHandle); -#else - pthread_mutex_unlock(&mHandle); -#endif -} - - -TheoraThread::TheoraThread() -{ - mThreadRunning=false; - mHandle=0; -} - -TheoraThread::~TheoraThread() -{ -#ifdef _WIN32 - if (mHandle) CloseHandle(mHandle); -#endif -} - -void TheoraThread::startThread() -{ - mThreadRunning=true; - -#ifdef _WIN32 - mHandle=CreateThread(0,0,&theoraAsync_Call,this,0,0); -#else - int ret=pthread_create(&mHandle,NULL,&theoraAsync_Call,this); - if (ret) printf("ERROR: Unable to create thread!\n"); -#endif -} - -void TheoraThread::waitforThread() -{ - mThreadRunning=false; -#ifdef _WIN32 - WaitForSingleObject(mHandle,INFINITE); - if (mHandle) { CloseHandle(mHandle); mHandle=0; } -#else - pthread_join(mHandle,0); -#endif -} diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraAsync.h b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraAsync.h deleted file mode 100644 index 8be6463b..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraAsync.h +++ /dev/null @@ -1,74 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ -#ifndef _TheoraAsync_h -#define _TheoraAsync_h - -#ifndef _WIN32 -#include -#endif - -/** - This is a Mutex object, used in thread syncronization. - */ -class TheoraMutex -{ -protected: -#ifdef _WIN32 - void* mHandle; -#else - pthread_mutex_t mHandle; -#endif -public: - TheoraMutex(); - ~TheoraMutex(); - //! Lock the mutex. If another thread has lock, the caller thread will wait until the previous thread unlocks it - void lock(); - //! Unlock the mutex. Use this when you're done with thread-safe sections of your code - void unlock(); -}; - -/** - This is a Mutex object, used in thread syncronization. - */ -class TheoraThread -{ -protected: -#ifdef _WIN32 - void* mHandle; -#else - pthread_t mHandle; -#endif - //! Indicates whether the thread is running. As long as this is true, the thread runs in a loop - volatile bool mThreadRunning; -public: - TheoraThread(); - virtual ~TheoraThread(); - - //! Creates the thread object and runs it - void startThread(); - //! The main thread loop function - virtual void executeThread()=0; - //! sets mThreadRunning to false and waits for the thread to complete the last cycle - void waitforThread(); - -}; - -#endif diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraAudioInterface.cpp b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraAudioInterface.cpp deleted file mode 100644 index 441dfec2..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraAudioInterface.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ -#include "TheoraAudioInterface.h" - -TheoraAudioInterface::TheoraAudioInterface(TheoraVideoClip* owner,int nChannels,int freq) -{ - mFreq=freq; - mNumChannels=nChannels; - mClip=owner; -} - -TheoraAudioInterface::~TheoraAudioInterface() -{ - -} \ No newline at end of file diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraAudioInterface.h b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraAudioInterface.h deleted file mode 100644 index 76d924b6..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraAudioInterface.h +++ /dev/null @@ -1,67 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ -#ifndef _TheoraAudioInterface_h -#define _TheoraAudioInterface_h - -#include "TheoraExport.h" - -class TheoraVideoClip; - - -/** - This is the class that serves as an interface between the library's audio - output and the audio playback library of your choice. - The class gets mono or stereo PCM data in in floating point data - */ -class TheoraPlayerExport TheoraAudioInterface -{ -public: - //! PCM frequency, usualy 44100 Hz - int mFreq; - //! Mono or stereo - int mNumChannels; - //! Pointer to the parent TheoraVideoClip object - TheoraVideoClip* mClip; - - TheoraAudioInterface(TheoraVideoClip* owner,int nChannels,int freq); - virtual ~TheoraAudioInterface(); - - //! A function that the TheoraVideoClip object calls once more audio packets are decoded - /*! - \param data contains one or two channels of float PCM data in the range [-1,1] - \param nSamples contains the number of samples that the data parameter contains in each channel - */ - virtual void insertData(float** data,int nSamples)=0; - - virtual void destroy() = 0; - -}; - -class TheoraPlayerExport TheoraAudioInterfaceFactory -{ -public: - //! VideoManager calls this when creating a new TheoraVideoClip object - virtual TheoraAudioInterface* createInstance(TheoraVideoClip* owner,int nChannels,int freq)=0; -}; - - -#endif - diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraDataSource.cpp b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraDataSource.cpp deleted file mode 100644 index fde299b0..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraDataSource.cpp +++ /dev/null @@ -1,110 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ -#define _CRT_SECURE_NO_WARNINGS // MSVC++ -#include -#include -#include "TheoraDataSource.h" -#include "TheoraException.h" - -TheoraDataSource::~TheoraDataSource() -{ - -} - -TheoraFileDataSource::TheoraFileDataSource(std::string filename) -{ - mFilename=filename; - mFilePtr=fopen(filename.c_str(),"rb"); - if (!mFilePtr) throw TheoraGenericException("Can't open video file: "+filename); - fseek(mFilePtr,0,SEEK_END); - mSize=ftell(mFilePtr); - fseek(mFilePtr,0,SEEK_SET); -} - -TheoraFileDataSource::~TheoraFileDataSource() -{ - if (mFilePtr) fclose(mFilePtr); -} - -int TheoraFileDataSource::read(void* output,int nBytes) -{ - int n=fread(output,1,nBytes,mFilePtr); - return n; -} - -void TheoraFileDataSource::seek(unsigned long byte_index) -{ - fseek(mFilePtr,byte_index,SEEK_SET); -} - -unsigned long TheoraFileDataSource::size() -{ - return mSize; -} - -unsigned long TheoraFileDataSource::tell() -{ - return ftell(mFilePtr); -} - -TheoraMemoryFileDataSource::TheoraMemoryFileDataSource(std::string filename) : - mReadPointer(0), - mData(0) -{ - mFilename=filename; - FILE* f=fopen(filename.c_str(),"rb"); - if (!f) throw TheoraGenericException("Can't open video file: "+filename); - fseek(f,0,SEEK_END); - mSize=ftell(f); - fseek(f,0,SEEK_SET); - mData=new unsigned char[mSize]; - fread(mData,1,mSize,f); - fclose(f); -} - -TheoraMemoryFileDataSource::~TheoraMemoryFileDataSource() -{ - if (mData) delete [] mData; -} - -int TheoraMemoryFileDataSource::read(void* output,int nBytes) -{ - int n=(mReadPointer+nBytes <= mSize) ? nBytes : mSize-mReadPointer; - if (!n) return 0; - memcpy(output,mData+mReadPointer,n); - mReadPointer+=n; - return n; -} - -void TheoraMemoryFileDataSource::seek(unsigned long byte_index) -{ - mReadPointer=byte_index; -} - -unsigned long TheoraMemoryFileDataSource::size() -{ - return mSize; -} - -unsigned long TheoraMemoryFileDataSource::tell() -{ - return mReadPointer; -} diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraDataSource.h b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraDataSource.h deleted file mode 100644 index 04054d5a..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraDataSource.h +++ /dev/null @@ -1,95 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ -#ifndef _TheoraDataSource_h -#define _TheoraDataSource_h - -#include -#include -#include "TheoraExport.h" - -/** - This is a simple class that provides abstracted data feeding. You can use the - TheoraFileDataSource for regular file playback or you can implement your own - internet streaming solution, or a class that uses encrypted datafiles etc. - The sky is the limit -*/ -class TheoraPlayerExport TheoraDataSource -{ -public: - - virtual ~TheoraDataSource(); - /** - Reads nBytes bytes from data source and returns number of read bytes. - if function returns less bytes then nBytes, the system assumes EOF is reached. - */ - virtual int read(void* output,int nBytes)=0; - //! returns a string representation of the DataSource, eg 'File: source.ogg' - virtual std::string repr()=0; - //! position the source pointer to byte_index from the start of the source - virtual void seek(unsigned long byte_index)=0; - //! return the size of the stream in bytes - virtual unsigned long size()=0; - //! return the current position of the source pointer - virtual unsigned long tell()=0; -}; - - -/** - provides standard file IO -*/ -class TheoraPlayerExport TheoraFileDataSource : public TheoraDataSource -{ - FILE* mFilePtr; - std::string mFilename; - unsigned long mSize; -public: - TheoraFileDataSource(std::string filename); - ~TheoraFileDataSource(); - - int read(void* output,int nBytes); - void seek(unsigned long byte_index); - std::string repr() { return mFilename; } - unsigned long size(); - unsigned long tell(); -}; - -/** - Pre-loads the entire file and streams from memory. - Very useful if you're continuously displaying a video and want to avoid disk reads. - Not very practical for large files. -*/ -class TheoraPlayerExport TheoraMemoryFileDataSource : public TheoraDataSource -{ - std::string mFilename; - unsigned long mSize,mReadPointer; - unsigned char* mData; -public: - TheoraMemoryFileDataSource(std::string filename); - ~TheoraMemoryFileDataSource(); - - int read(void* output,int nBytes); - void seek(unsigned long byte_index); - std::string repr() { return "MEM:"+mFilename; } - unsigned long size(); - unsigned long tell(); -}; - -#endif diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraException.cpp b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraException.cpp deleted file mode 100644 index 639ae897..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraException.cpp +++ /dev/null @@ -1,29 +0,0 @@ -#include "TheoraException.h" -#include "TheoraUtil.h" -#include "TheoraVideoManager.h" -#include - -_TheoraGenericException::_TheoraGenericException(const std::string& errorText,std::string type,std::string file,int line) -{ - mErrText = errorText; - int src=file.find("src"); - if (src >= 0) file=file.substr(src+4,1000); - mLineNumber=line; - mFile=file; -} - - -std::string _TheoraGenericException::repr() -{ - std::string text=getType(); - if (text != "") text+=": "; - - if (mFile != "") text+="["+mFile+":"+str(mLineNumber)+"] - "; - - return text + getErrorText(); -} - -void _TheoraGenericException::writeOutput() -{ - th_writelog("----------------\nException Error!\n\n"+repr()+"\n----------------"); -} diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraException.h b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraException.h deleted file mode 100644 index 1c2e81da..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraException.h +++ /dev/null @@ -1,57 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ -#ifndef EXCEPTION_H -#define EXCEPTION_H - -#include - -class _TheoraGenericException -{ -public: - std::string mErrText,mFile,mType; - int mLineNumber; - - _TheoraGenericException(const std::string& errorText,std::string type="",std::string file="",int line=0); - virtual ~_TheoraGenericException() {} - - virtual std::string repr(); - - void writeOutput(); - - virtual const std::string& getErrorText() { return mErrText; } - - const std::string getType(){ return mType; } -}; - -#define TheoraGenericException(msg) _TheoraGenericException(msg,"TheoraGenericException",__FILE__,__LINE__) - - -#define exception_cls(name) class name : public _TheoraGenericException \ -{ \ -public: \ - name(const std::string& errorText,std::string type="",std::string file="",int line=0) : \ - _TheoraGenericException(errorText,type,file,line){} \ -} - -exception_cls(_KeyException); - - -#endif diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraExport.h b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraExport.h deleted file mode 100644 index 98ed651e..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraExport.h +++ /dev/null @@ -1,41 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ -#ifndef _theoraVideoExport_H -#define _theoraVideoExport_H - -#define THEORAVIDEO_STATIC - -#ifdef _WIN32 - #ifdef THEORAVIDEO_STATIC - #define TheoraPlayerExport - #else - #ifdef THEORAVIDEO_EXPORTS - #define TheoraPlayerExport __declspec(dllexport) - #else - #define TheoraPlayerExport __declspec(dllimport) - #endif - #endif -#else - #define TheoraPlayerExport __attribute__ ((visibility("default"))) -#endif - -#endif - diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraFrameQueue.cpp b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraFrameQueue.cpp deleted file mode 100644 index 73aaf2a4..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraFrameQueue.cpp +++ /dev/null @@ -1,131 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ -#include "TheoraFrameQueue.h" -#include "TheoraVideoFrame.h" -#include "TheoraUtil.h" - - -TheoraFrameQueue::TheoraFrameQueue(int n,TheoraVideoClip* parent) -{ - mParent=parent; - setSize(n); -} - -TheoraFrameQueue::~TheoraFrameQueue() -{ - foreach_l(TheoraVideoFrame*,mQueue) - delete (*it); - mQueue.clear(); -} - -void TheoraFrameQueue::setSize(int n) -{ - mMutex.lock(); - if (mQueue.size() > 0) - { - foreach_l(TheoraVideoFrame*,mQueue) - delete (*it); - mQueue.clear(); - } -for (int i=0;imReady) frame=mQueue.front(); - mMutex.unlock(); - return frame; -} - -void TheoraFrameQueue::clear() -{ - mMutex.lock(); - foreach_l(TheoraVideoFrame*,mQueue) - (*it)->clear(); - mMutex.unlock(); -} - -void TheoraFrameQueue::pop() -{ - mMutex.lock(); - TheoraVideoFrame* first=mQueue.front(); - first->clear(); - mQueue.pop_front(); - mQueue.push_back(first); - mMutex.unlock(); -} - -TheoraVideoFrame* TheoraFrameQueue::requestEmptyFrame() -{ - TheoraVideoFrame* frame=0; - mMutex.lock(); - foreach_l(TheoraVideoFrame*,mQueue) - { - if (!(*it)->mInUse) - { - (*it)->mInUse=true; - (*it)->mReady=false; - frame=(*it); - break; - } - } - mMutex.unlock(); - return frame; -} - -int TheoraFrameQueue::getUsedCount() -{ - mMutex.lock(); - int n=0; - foreach_l(TheoraVideoFrame*,mQueue) - if ((*it)->mInUse) n++; - mMutex.unlock(); - return n; -} - -int TheoraFrameQueue::getReadyCount() -{ - mMutex.lock(); - int n=0; - foreach_l(TheoraVideoFrame*,mQueue) - if ((*it)->mReady) n++; - mMutex.unlock(); - return n; -} -void TheoraFrameQueue::lock() -{ - mMutex.lock(); -} - -void TheoraFrameQueue::unlock() -{ - mMutex.unlock(); -} \ No newline at end of file diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraFrameQueue.h b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraFrameQueue.h deleted file mode 100644 index 748252da..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraFrameQueue.h +++ /dev/null @@ -1,88 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ - -#ifndef _TheoraFrameQueue_h -#define _TheoraFrameQueue_h - -#include "TheoraAsync.h" -#include - -class TheoraVideoFrame; -class TheoraVideoClip; - -/** - This class handles the frame queue. contains frames and handles their alloctation/deallocation - it is designed to be thread-safe -*/ -class TheoraFrameQueue -{ - std::list mQueue; - TheoraVideoClip* mParent; - TheoraMutex mMutex; -public: - TheoraFrameQueue(int n,TheoraVideoClip* parent); - ~TheoraFrameQueue(); - - /** - \brief Returns the first available frame in the queue or NULL if no frames are available. - - This function DOES NOT remove the frame from the queue, you have to do it manually - when you want to mark the frame as used by calling the pop() function. - */ - TheoraVideoFrame* getFirstAvailableFrame(); - - //! return the number of used (not ready) frames - int getUsedCount(); - - //! return the number of ready frames - int getReadyCount(); - - /** - \brief remove the first available frame from the queue. - - Use this every time you display a frame so you can get the next one when the time comes. - This function marks the frame on the front of the queue as unused and it's memory then - get's used again in the decoding process. - If you don't call this, the frame queue will fill up with precached frames up to the - specified amount in the TheoraVideoManager class and you won't be able to advance the video. - */ - void pop(); - //! frees all decoded frames for reuse (does not destroy memory, just marks them as free) - void clear(); - //! Called by WorkerThreads when they need to unload frame data, do not call directly! - TheoraVideoFrame* requestEmptyFrame(); - - /** - \brief set's the size of the frame queue. - - Beware, currently stored ready frames will be lost upon this call - */ - void setSize(int n); - //! return the size of the queue - int getSize(); - - //! lock the queue's mutex manually - void lock(); - //! unlock the queue's mutex manually - void unlock(); -}; - -#endif diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraPlayer.h b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraPlayer.h deleted file mode 100644 index 4c67f5d4..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraPlayer.h +++ /dev/null @@ -1,29 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ -#ifndef _TheoraPlayer_h -#define _TheoraPlayer_h - -#include "TheoraVideoManager.h" -#include "TheoraVideoClip.h" -#include "TheoraVideoFrame.h" - -#endif - diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraTimer.cpp b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraTimer.cpp deleted file mode 100644 index 5610dfd0..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraTimer.cpp +++ /dev/null @@ -1,79 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ -#include "TheoraTimer.h" - -TheoraTimer::TheoraTimer() -{ - mTime=0; - mPaused=0; - mSpeed=1.0f; -} - -TheoraTimer::~TheoraTimer() -{ - -} - -void TheoraTimer::update(float time_increase) -{ - mTime+=time_increase*mSpeed; -} - -float TheoraTimer::getTime() -{ - return mTime; -} - -void TheoraTimer::pause() -{ - mPaused=true; -} - -void TheoraTimer::play() -{ - mPaused=false; -} - - -bool TheoraTimer::isPaused() -{ - return mPaused; -} - -void TheoraTimer::stop() -{ - -} - -void TheoraTimer::seek(float time) -{ - mTime=time; -} - -void TheoraTimer::setSpeed(float speed) -{ - mSpeed=speed; -} - -float TheoraTimer::getSpeed() -{ - return mSpeed; -} diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraTimer.h b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraTimer.h deleted file mode 100644 index 5b72bc61..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraTimer.h +++ /dev/null @@ -1,81 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ - -#ifndef _TheoraTimer_h -#define _TheoraTimer_h - -#include "TheoraExport.h" - -/** - This is a Timer object, it is used to control the playback of a TheoraVideoClip. - - You can inherit this class and make a timer that eg. plays twice as fast, - or playbacks an audio track and uses it's time offset for syncronizing Video etc. - */ -class TheoraPlayerExport TheoraTimer -{ -protected: - //! Current time in seconds - float mTime,mSpeed; - //! Is the timer paused or not - bool mPaused; -public: - TheoraTimer(); - virtual ~TheoraTimer(); - - virtual float getTime(); - /** - \brief advance the time. - - If you're using another synronization system, eg. an audio track, - then you can ignore this call or use it to perform other updates. - - NOTE: this is called by TheoraVideoManager from the main thread - */ - virtual void update(float time_increase); - - virtual void pause(); - virtual void play(); - virtual bool isPaused(); - virtual void stop(); - /** - \brief set's playback speed - - 1.0 is the default. The speed factor multiplies time advance, thus - setting the value higher will increase playback speed etc. - - NOTE: depending on Timer implementation, it may not support setting the speed - - */ - virtual void setSpeed(float speed); - //! return the update speed 1.0 is the default - virtual float getSpeed(); - - /** - \brief change the current time. - - if you're using another syncronization mechanism, make sure to adjust - the time offset there - */ - virtual void seek(float time); -}; -#endif - diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraUtil.cpp b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraUtil.cpp deleted file mode 100644 index 823c7e87..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraUtil.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include -#include -#include -#include -#include "TheoraUtil.h" -#include "TheoraException.h" - -#ifdef _WIN32 -#include -#pragma warning( disable: 4996 ) // MSVC++ -#endif - -#ifndef _WIN32 -#include -#endif - -std::string str(int i) -{ - char s[32]; - sprintf(s,"%d",i); - return std::string(s); -} - -std::string strf(float i) -{ - char s[32]; - sprintf(s,"%.3f",i); - return std::string(s); -} - -void _psleep(int milliseconds) -{ -#ifndef _WIN32 - usleep(milliseconds*1000); -#else - Sleep(milliseconds); -#endif -} - - -int _nextPow2(int x) -{ - int y; - for (y=1;y -#include - -#define foreach(type,lst) for (std::vector::iterator it=lst.begin();it != lst.end(); it++) -#define foreach_l(type,lst) for (std::list::iterator it=lst.begin();it != lst.end(); it++) -#define foreach_r(type,lst) for (std::vector::reverse_iterator it=lst.rbegin();it != lst.rend(); it++) -#define foreach_in_map(type,list) for (std::map::iterator it=list.begin();it != list.end(); it++) - -#define th_writelog(x) TheoraVideoManager::getSingleton().logMessage(x) - -std::string str(int i); -std::string strf(float i); -void _psleep(int milliseconds); -int _nextPow2(int x); - -#endif \ No newline at end of file diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoClip.cpp b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoClip.cpp deleted file mode 100644 index 52a0796d..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoClip.cpp +++ /dev/null @@ -1,912 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ -#include -#include -#include -#include -#include -#include "TheoraVideoClip.h" -#include "TheoraVideoManager.h" -#include "TheoraVideoFrame.h" -#include "TheoraFrameQueue.h" -#include "TheoraAudioInterface.h" -#include "TheoraTimer.h" -#include "TheoraDataSource.h" -#include "TheoraUtil.h" -#include "TheoraException.h" - -class TheoraInfoStruct -{ -public: - // ogg/vorbis/theora variables - ogg_sync_state OggSyncState; - ogg_page OggPage; - ogg_stream_state VorbisStreamState; - ogg_stream_state TheoraStreamState; - //Theora State - th_info TheoraInfo; - th_comment TheoraComment; - th_setup_info* TheoraSetup; - th_dec_ctx* TheoraDecoder; - //Vorbis State - vorbis_info VorbisInfo; - vorbis_dsp_state VorbisDSPState; - vorbis_block VorbisBlock; - vorbis_comment VorbisComment; - - TheoraInfoStruct() - { - TheoraDecoder=0; - TheoraSetup=0; - } -}; - -//! clears a portion of memory with an unsign -void memset_uint(void* buffer,unsigned int colour,unsigned int size_in_bytes) -{ - unsigned int* data=(unsigned int*) buffer; - for (unsigned int i=0;irepr()), - mStride(usePower2Stride), - mAudioGain(1), - mOutputMode(output_mode), - mRequestedOutputMode(output_mode), - mAutoRestart(0), - mEndOfFile(0), - mRestarted(0), - mIteration(0), - mLastIteration(0) -{ - mAudioMutex=new TheoraMutex; - - mTimer=mDefaultTimer=new TheoraTimer(); - - mFrameQueue=NULL; - mAssignedWorkerThread=NULL; - mNumPrecachedFrames=nPrecachedFrames; - - mInfo=new TheoraInfoStruct; - - load(data_source); -} - -TheoraVideoClip::~TheoraVideoClip() -{ - // wait untill a worker thread is done decoding the frame - while (mAssignedWorkerThread) - { - _psleep(1); - } - - delete mDefaultTimer; - - if (!mStream) delete mStream; - - - if (mFrameQueue) delete mFrameQueue; - - if (mInfo->TheoraDecoder) - th_decode_free(mInfo->TheoraDecoder); - - if (mInfo->TheoraSetup) - th_setup_free(mInfo->TheoraSetup); - delete mInfo; - - if (mAudioInterface) - { - mAudioMutex->lock(); // ensure a thread isn't using this mutex - - // probably not necesarry because all it does is memset to 0 - // ogg_stream_clear(&mInfo->VorbisStreamState); - // vorbis_block_clear(&mInfo->VorbisBlock); - // vorbis_dsp_clear(&mInfo->VorbisDSPState); - // vorbis_comment_clear(&mInfo->VorbisComment); - // vorbis_info_clear(&mInfo->VorbisInfo); - mAudioInterface->destroy(); // notify audio interface it's time to call it a day - } - delete mAudioMutex; - - //ogg_sync_clear(&mInfo->OggSyncState); -} - -TheoraTimer* TheoraVideoClip::getTimer() -{ - return mTimer; -} - -void TheoraVideoClip::setTimer(TheoraTimer* timer) -{ - if (!timer) mTimer=mDefaultTimer; - else mTimer=timer; -} - -bool TheoraVideoClip::_readData() -{ - int audio_eos=0; - float audio_time=0; - float time=mTimer->getTime(); - if (mRestarted) time=0; - - for (;;) - { - char *buffer = ogg_sync_buffer( &mInfo->OggSyncState, 4096); - int bytesRead = mStream->read( buffer, 4096 ); - ogg_sync_wrote(&mInfo->OggSyncState, bytesRead); - - if (bytesRead < 4096) - { - if (bytesRead == 0) - { - if (mAutoRestart) _restart(); - else mEndOfFile=true; - return 0; - } - } - while ( ogg_sync_pageout( &mInfo->OggSyncState, &mInfo->OggPage ) > 0 ) - { - ogg_stream_pagein(&mInfo->TheoraStreamState,&mInfo->OggPage); - if (mAudioInterface && - ogg_page_serialno(&mInfo->OggPage) == mInfo->VorbisStreamState.serialno) - { - ogg_int64_t g=ogg_page_granulepos(&mInfo->OggPage); - audio_time=(float) vorbis_granule_time(&mInfo->VorbisDSPState,g); - audio_eos=ogg_page_eos(&mInfo->OggPage); - - if (mSeekPos == -2 && !mAudioSkipSeekFlag) - { - - if (g > -1) { mAudioSkipSeekFlag=1; continue; } - if (g == -1) continue; - } - mAudioMutex->lock(); - ogg_stream_pagein(&mInfo->VorbisStreamState,&mInfo->OggPage); - mAudioMutex->unlock(); - } - } - if (!(mAudioInterface && !audio_eos && audio_time < time+1.0f)) - break; - } - return 1; -} - -void TheoraVideoClip::decodeNextFrame() -{ - if (mEndOfFile) return; - - TheoraVideoFrame* frame=mFrameQueue->requestEmptyFrame(); - if (!frame) return; // max number of precached frames reached - long nSeekSkippedFrames=0; - ogg_packet opTheora; - ogg_int64_t granulePos; - th_ycbcr_buffer buff; - - //writelog("Decoding video "+mName); - - for(;;) - { - int ret=ogg_stream_packetout(&mInfo->TheoraStreamState,&opTheora); - - if (ret > 0) - { - - if (mSeekPos == -2) // searching for next keyframe - { - int keyframe=th_packet_iskeyframe(&opTheora); - if (!keyframe) { nSeekSkippedFrames++; continue; } - mSeekPos=-1; - if (nSeekSkippedFrames > 0) - th_writelog(mName+"[seek]: skipped "+str(nSeekSkippedFrames)+" frames while searching for keyframe"); - } - if (th_decode_packetin(mInfo->TheoraDecoder, &opTheora,&granulePos ) != 0) continue; // 0 means success - float time=(float) th_granule_time(mInfo->TheoraDecoder,granulePos); - unsigned long frame_number=(unsigned long) th_granule_frame(mInfo->TheoraDecoder,granulePos); - if (time > mDuration) - mDuration=time; // duration corrections - - - if (time < mTimer->getTime() && !mRestarted) - { -#ifdef _DEBUG - th_writelog(mName+": pre-dropped frame "+str(frame_number)); -#endif - mNumDisplayedFrames++; - mNumDroppedFrames++; - continue; // drop frame - } - frame->mTimeToDisplay=time; - frame->mIteration=mIteration; - frame->_setFrameNumber(frame_number); - th_decode_ycbcr_out(mInfo->TheoraDecoder,buff); - frame->decode(buff); - //_psleep(rand()%20); // temp - break; - } - else - { - if (!_readData()) - { - frame->mInUse=0; - return; - } - } - } -} - -void TheoraVideoClip::_restart() -{ - long granule=0; - th_decode_ctl(mInfo->TheoraDecoder,TH_DECCTL_SET_GRANPOS,&granule,sizeof(granule)); - th_decode_free(mInfo->TheoraDecoder); - mInfo->TheoraDecoder=th_decode_alloc(&mInfo->TheoraInfo,mInfo->TheoraSetup); - ogg_stream_reset(&mInfo->TheoraStreamState); - if (mAudioInterface) - { - // empty the DSP buffer - //float **pcm; - //int len = vorbis_synthesis_pcmout(&mInfo->VorbisDSPState,&pcm); - //if (len) vorbis_synthesis_read(&mInfo->VorbisDSPState,len); - ogg_packet opVorbis; - while (ogg_stream_packetout(&mInfo->VorbisStreamState,&opVorbis) > 0) - { - if (vorbis_synthesis(&mInfo->VorbisBlock,&opVorbis) == 0) - vorbis_synthesis_blockin(&mInfo->VorbisDSPState,&mInfo->VorbisBlock); - } - ogg_stream_reset(&mInfo->VorbisStreamState); - } - - ogg_sync_reset(&mInfo->OggSyncState); - mStream->seek(0); - //mTimer->seek(0); - mEndOfFile=false; - - mRestarted=1; -} - -void TheoraVideoClip::restart() -{ - bool end=mEndOfFile; - mEndOfFile=1; //temp, to prevent threads to decode while restarting - while (mAssignedWorkerThread) _psleep(1); // wait for assigned thread to do it's work - _restart(); - mTimer->seek(0); - mFrameQueue->clear(); - mEndOfFile=0; - mIteration=0; - mRestarted=0; - mSeekPos=-1; -} - -void TheoraVideoClip::update(float time_increase) -{ - if (mTimer->isPaused() && mSeekPos != -3) return; - mTimer->update(time_increase); - float time=mTimer->getTime(); - if (time >= mDuration) - { - if (mAutoRestart && mRestarted) - { - mIteration=!mIteration; - mTimer->seek(time-mDuration); - mRestarted=0; - int n=0; - for (;;) - { - TheoraVideoFrame* f=mFrameQueue->getFirstAvailableFrame(); - if (!f) break; - if (f->mTimeToDisplay > 0.5f) - { - if (n == 0) - { - f->mTimeToDisplay=time-mDuration; - f->mIteration=!f->mIteration; - } - else - popFrame(); - n++; - } - else break; - } - if (n > 0) th_writelog("dropped "+str(n)+" end frames"); - } - else return; - } -} - -float TheoraVideoClip::updateToNextFrame() -{ - TheoraVideoFrame* f=mFrameQueue->getFirstAvailableFrame(); - if (!f) return 0; - - float time=f->mTimeToDisplay-mTimer->getTime(); - update(time); - return time; -} - -void TheoraVideoClip::popFrame() -{ - mNumDisplayedFrames++; - mFrameQueue->pop(); // after transfering frame data to the texture, free the frame - // so it can be used again -} - -TheoraVideoFrame* TheoraVideoClip::getNextFrame() -{ - TheoraVideoFrame* frame; - float time=mTimer->getTime(); - for (;;) - { - frame=mFrameQueue->getFirstAvailableFrame(); - if (!frame) return 0; - if (frame->mTimeToDisplay > time) return 0; - if (frame->mTimeToDisplay < time-0.1) - { - if (mRestarted && frame->mTimeToDisplay < 2) return 0; -#ifdef _DEBUG - th_writelog(mName+": dropped frame "+str(frame->getFrameNumber())); -#endif - mNumDroppedFrames++; - mNumDisplayedFrames++; - mFrameQueue->pop(); - } - else break; - } - - mLastIteration=frame->mIteration; - return frame; - -} - -void TheoraVideoClip::decodedAudioCheck() -{ - if (!mAudioInterface || mTimer->isPaused()) return; - - mAudioMutex->lock(); - - ogg_packet opVorbis; - float **pcm; - int len=0; - while (1) - { - len = vorbis_synthesis_pcmout(&mInfo->VorbisDSPState,&pcm); - if (!len) - { - if (mRestarted) break; - if (ogg_stream_packetout(&mInfo->VorbisStreamState,&opVorbis) > 0) - { - if (vorbis_synthesis(&mInfo->VorbisBlock,&opVorbis) == 0) - vorbis_synthesis_blockin(&mInfo->VorbisDSPState,&mInfo->VorbisBlock); - continue; - } - else break; - } - if (mAudioGain < 1) - { - // gain applied, let's attenuate the samples - for (int i=0;iVorbisInfo.channels;j++) - { - pcm[j][i]*=mAudioGain; - } - } - } - mAudioInterface->insertData(pcm,len); - vorbis_synthesis_read(&mInfo->VorbisDSPState,len); - } - - mAudioMutex->unlock(); -} - -void TheoraVideoClip::load(TheoraDataSource* source) -{ - mStream=source; - readTheoraVorbisHeaders(); - - - mInfo->TheoraDecoder=th_decode_alloc(&mInfo->TheoraInfo,mInfo->TheoraSetup); - - mWidth=mInfo->TheoraInfo.frame_width; - mHeight=mInfo->TheoraInfo.frame_height; - mStride=(mStride == 1) ? mStride=_nextPow2(mWidth) : mWidth; - - mFrameQueue=new TheoraFrameQueue(mNumPrecachedFrames,this); - - - // find out the duration of the file by seeking to the end - // having ogg decode pages, extract the granule pos from - // the last theora page and seek back to beginning of the file - for (int i=1;i<=10;i++) - { - ogg_sync_reset(&mInfo->OggSyncState); - mStream->seek(mStream->size()-4096*i); - - char *buffer = ogg_sync_buffer(&mInfo->OggSyncState, 4096*i); - int bytesRead = mStream->read(buffer, 4096*i); - ogg_sync_wrote(&mInfo->OggSyncState, bytesRead ); - ogg_sync_pageseek(&mInfo->OggSyncState,&mInfo->OggPage); - - while (1) - { - int ret=ogg_sync_pageout( &mInfo->OggSyncState, &mInfo->OggPage ); - if (ret == 0) break; - // if page is not a theora page, skip it - if (ogg_page_serialno(&mInfo->OggPage) != mInfo->TheoraStreamState.serialno) continue; - - unsigned long granule=(unsigned long) ogg_page_granulepos(&mInfo->OggPage); - if (granule >= 0) - { - mDuration=(float) th_granule_time(mInfo->TheoraDecoder,granule); - mNumFrames=(unsigned long) th_granule_frame(mInfo->TheoraDecoder,granule)+1; - } - } - if (mDuration > 0) break; - - } - if (mDuration < 0) - th_writelog(mName+": unable to determine file duration!"); - else - th_writelog(mName+": file duration is "+strf(mDuration)+" seconds"); - // restore to beginning of stream. - ogg_sync_reset(&mInfo->OggSyncState); - mStream->seek(0); - mTheoraStreams=mVorbisStreams=0; - readTheoraVorbisHeaders(); - - if (mVorbisStreams) // if there is no audio interface factory defined, even though the video - // clip might have audio, it will be ignored - { - vorbis_synthesis_init(&mInfo->VorbisDSPState,&mInfo->VorbisInfo); - vorbis_block_init(&mInfo->VorbisDSPState,&mInfo->VorbisBlock); - // create an audio interface instance if available - TheoraAudioInterfaceFactory* audio_factory=TheoraVideoManager::getSingleton().getAudioInterfaceFactory(); - if (audio_factory) setAudioInterface(audio_factory->createInstance(this,mInfo->VorbisInfo.channels,mInfo->VorbisInfo.rate)); - } -} - -void TheoraVideoClip::readTheoraVorbisHeaders() -{ - ogg_packet tempOggPacket; - bool done = false; - bool decode_audio=TheoraVideoManager::getSingleton().getAudioInterfaceFactory() != NULL; - //init Vorbis/Theora Layer - //Ensure all structures get cleared out. - memset(&mInfo->OggSyncState, 0, sizeof(ogg_sync_state)); - memset(&mInfo->OggPage, 0, sizeof(ogg_page)); - memset(&mInfo->VorbisStreamState, 0, sizeof(ogg_stream_state)); - memset(&mInfo->TheoraStreamState, 0, sizeof(ogg_stream_state)); - memset(&mInfo->TheoraInfo, 0, sizeof(th_info)); - memset(&mInfo->TheoraComment, 0, sizeof(th_comment)); - memset(&mInfo->VorbisInfo, 0, sizeof(vorbis_info)); - memset(&mInfo->VorbisDSPState, 0, sizeof(vorbis_dsp_state)); - memset(&mInfo->VorbisBlock, 0, sizeof(vorbis_block)); - memset(&mInfo->VorbisComment, 0, sizeof(vorbis_comment)); - - ogg_sync_init(&mInfo->OggSyncState); - th_comment_init(&mInfo->TheoraComment); - th_info_init(&mInfo->TheoraInfo); - vorbis_info_init(&mInfo->VorbisInfo); - vorbis_comment_init(&mInfo->VorbisComment); - - while (!done) - { - char *buffer = ogg_sync_buffer( &mInfo->OggSyncState, 4096); - int bytesRead = mStream->read( buffer, 4096 ); - ogg_sync_wrote( &mInfo->OggSyncState, bytesRead ); - - if( bytesRead == 0 ) - break; - - while( ogg_sync_pageout( &mInfo->OggSyncState, &mInfo->OggPage ) > 0 ) - { - ogg_stream_state OggStateTest; - - //is this an initial header? If not, stop - if( !ogg_page_bos( &mInfo->OggPage ) ) - { - //This is done blindly, because stream only accept them selfs - if (mTheoraStreams) - ogg_stream_pagein( &mInfo->TheoraStreamState, &mInfo->OggPage ); - if (mVorbisStreams) - ogg_stream_pagein( &mInfo->VorbisStreamState, &mInfo->OggPage ); - - done=true; - break; - } - - ogg_stream_init( &OggStateTest, ogg_page_serialno( &mInfo->OggPage ) ); - ogg_stream_pagein( &OggStateTest, &mInfo->OggPage ); - ogg_stream_packetout( &OggStateTest, &tempOggPacket ); - - //identify the codec - int ret; - if( !mTheoraStreams) - { - ret=th_decode_headerin( &mInfo->TheoraInfo, &mInfo->TheoraComment, &mInfo->TheoraSetup, &tempOggPacket); - - if (ret > 0) - { - //This is the Theora Header - memcpy( &mInfo->TheoraStreamState, &OggStateTest, sizeof(OggStateTest)); - mTheoraStreams = 1; - continue; - } - } - if (decode_audio && !mVorbisStreams && - vorbis_synthesis_headerin(&mInfo->VorbisInfo, &mInfo->VorbisComment, &tempOggPacket) >=0 ) - { - //This is vorbis header - memcpy( &mInfo->VorbisStreamState, &OggStateTest, sizeof(OggStateTest)); - mVorbisStreams = 1; - continue; - } - //Hmm. I guess it's not a header we support, so erase it - ogg_stream_clear(&OggStateTest); - } - } - - while ((mTheoraStreams && (mTheoraStreams < 3)) || - (mVorbisStreams && (mVorbisStreams < 3)) ) - { - //Check 2nd'dary headers... Theora First - int iSuccess; - while( mTheoraStreams && - ( mTheoraStreams < 3) && - ( iSuccess = ogg_stream_packetout( &mInfo->TheoraStreamState, &tempOggPacket)) ) - { - if( iSuccess < 0 ) - throw TheoraGenericException("Error parsing Theora stream headers."); - - if( !th_decode_headerin(&mInfo->TheoraInfo, &mInfo->TheoraComment, &mInfo->TheoraSetup, &tempOggPacket) ) - throw TheoraGenericException("invalid theora stream"); - - mTheoraStreams++; - } //end while looking for more theora headers - - //look 2nd vorbis header packets - while(// mVorbisStreams && - ( mVorbisStreams < 3 ) && - ( iSuccess=ogg_stream_packetout( &mInfo->VorbisStreamState, &tempOggPacket))) - { - if(iSuccess < 0) - throw TheoraGenericException("Error parsing vorbis stream headers"); - - if(vorbis_synthesis_headerin( &mInfo->VorbisInfo, &mInfo->VorbisComment,&tempOggPacket)) - throw TheoraGenericException("invalid stream"); - - mVorbisStreams++; - } //end while looking for more vorbis headers - - //Not finished with Headers, get some more file data - if( ogg_sync_pageout( &mInfo->OggSyncState, &mInfo->OggPage ) > 0 ) - { - if(mTheoraStreams) - ogg_stream_pagein( &mInfo->TheoraStreamState, &mInfo->OggPage ); - if(mVorbisStreams) - ogg_stream_pagein( &mInfo->VorbisStreamState, &mInfo->OggPage ); - } - else - { - char *buffer = ogg_sync_buffer( &mInfo->OggSyncState, 4096); - int bytesRead = mStream->read( buffer, 4096 ); - ogg_sync_wrote( &mInfo->OggSyncState, bytesRead ); - - if( bytesRead == 0 ) - throw TheoraGenericException("End of file found prematurely"); - } - } //end while looking for all headers -// writelog("Vorbis Headers: " + str(mVorbisHeaders) + " Theora Headers : " + str(mTheoraHeaders)); -} - -std::string TheoraVideoClip::getName() -{ - return mName; -} - -bool TheoraVideoClip::isBusy() -{ - return mAssignedWorkerThread || mOutputMode != mRequestedOutputMode; -} - -TheoraOutputMode TheoraVideoClip::getOutputMode() -{ - return mOutputMode; -} - -void TheoraVideoClip::setOutputMode(TheoraOutputMode mode) -{ - if (mOutputMode == mode) return; - mRequestedOutputMode=mode; - while (mAssignedWorkerThread) _psleep(1); - // discard current frames and recreate them - mFrameQueue->setSize(mFrameQueue->getSize()); - mOutputMode=mRequestedOutputMode; -} - -float TheoraVideoClip::getTimePosition() -{ - return mTimer->getTime(); -} -int TheoraVideoClip::getNumPrecachedFrames() -{ - return mFrameQueue->getSize(); -} - -void TheoraVideoClip::setNumPrecachedFrames(int n) -{ - if (mFrameQueue->getSize() != n) - mFrameQueue->setSize(n); -} - -int TheoraVideoClip::getNumReadyFrames() -{ - return mFrameQueue->getReadyCount(); -} - -float TheoraVideoClip::getDuration() -{ - return mDuration; -} - -int TheoraVideoClip::getFPS() -{ - return mInfo->TheoraInfo.fps_numerator; -} - -void TheoraVideoClip::play() -{ - mTimer->play(); -} - -void TheoraVideoClip::pause() -{ - mTimer->pause(); -} - -bool TheoraVideoClip::isPaused() -{ - return mTimer->isPaused(); -} - -bool TheoraVideoClip::isDone() -{ - return mEndOfFile && !mFrameQueue->getFirstAvailableFrame(); -} - -void TheoraVideoClip::stop() -{ - pause(); - seek(0); -} - -void TheoraVideoClip::setPlaybackSpeed(float speed) -{ - mTimer->setSpeed(speed); -} - -float TheoraVideoClip::getPlaybackSpeed() -{ - return mTimer->getSpeed(); -} - -long TheoraVideoClip::seekPage(long targetFrame,bool return_keyframe) -{ - int i,seek_min=0, seek_max=mStream->size(); - long frame; - ogg_int64_t granule=0; - bool fineseek=0; - - for (i=0;i<100;i++) - { - ogg_sync_reset( &mInfo->OggSyncState ); - mStream->seek((seek_min+seek_max)/2); - memset(&mInfo->OggPage, 0, sizeof(ogg_page)); - ogg_sync_pageseek(&mInfo->OggSyncState,&mInfo->OggPage); - - for (;;) - { - int ret=ogg_sync_pageout( &mInfo->OggSyncState, &mInfo->OggPage ); - if (ret == 1) - { - int serno=ogg_page_serialno(&mInfo->OggPage); - if (serno == mInfo->TheoraStreamState.serialno) - { - granule=ogg_page_granulepos(&mInfo->OggPage); - if (granule >= 0) - { - frame=(long) th_granule_frame(mInfo->TheoraDecoder,granule); - if (frame < targetFrame-1 && targetFrame-frame < 10) - { - fineseek=1; - if (!return_keyframe) break; - } - if (fineseek && frame >= targetFrame) - break; - - if (fineseek) continue; - if (targetFrame-1 > frame) seek_min=(seek_min+seek_max)/2; - else seek_max=(seek_min+seek_max)/2; - break; - } - } - } - else - { - char *buffer = ogg_sync_buffer( &mInfo->OggSyncState, 4096); - int bytesRead = mStream->read( buffer, 4096); - if (bytesRead == 0) break; - ogg_sync_wrote( &mInfo->OggSyncState, bytesRead ); - } - } - if (fineseek) break; - } - if (return_keyframe) return (long) (granule >> mInfo->TheoraInfo.keyframe_granule_shift); - - ogg_stream_pagein(&mInfo->TheoraStreamState,&mInfo->OggPage); - //granule=frame << mInfo->TheoraInfo.keyframe_granule_shift; - th_decode_ctl(mInfo->TheoraDecoder,TH_DECCTL_SET_GRANPOS,&granule,sizeof(granule)); - - return -1; -} - -void TheoraVideoClip::doSeek() -{ - int frame,targetFrame=(int) (mNumFrames*mSeekPos/mDuration); - - if (targetFrame == 0) - { - _restart(); - mTimer->seek(0); - mFrameQueue->clear(); - return; - } - - mEndOfFile=0; - mRestarted=0; - - mFrameQueue->clear(); - ogg_stream_reset(&mInfo->TheoraStreamState); - th_decode_free(mInfo->TheoraDecoder); - mInfo->TheoraDecoder=th_decode_alloc(&mInfo->TheoraInfo,mInfo->TheoraSetup); - - if (mAudioInterface) - { - mAudioMutex->lock(); - ogg_stream_reset(&mInfo->VorbisStreamState); - vorbis_synthesis_restart(&mInfo->VorbisDSPState); - } - - // first seek to desired frame, then figure out the location of the - // previous keyframe and seek to it. - // then by setting the correct time, the decoder will skip N frames untill - // we get the frame we want. - frame=seekPage(targetFrame,1); - if (frame != -1) seekPage(std::max(0,frame),0); - - float time=((float) targetFrame/mNumFrames)*mDuration; - - if (mAudioInterface) - { - // let's decode some pages and seek to the appropriate PCM sample - ogg_int64_t granule=0; - float last_page_time=time; - for (;;) - { - int ret=ogg_sync_pageout( &mInfo->OggSyncState, &mInfo->OggPage ); - if (ret == 1) - { - int serno=ogg_page_serialno(&mInfo->OggPage); - if (serno == mInfo->VorbisStreamState.serialno) - { - granule=ogg_page_granulepos(&mInfo->OggPage); - float g_time=(float) vorbis_granule_time(&mInfo->VorbisDSPState,granule); - if (g_time > time) - { - float **pcm; - int len = vorbis_synthesis_pcmout(&mInfo->VorbisDSPState,&pcm); - if (len > 0) - break; - //ogg_stream_pagein(&mInfo->VorbisStreamState,&mInfo->OggPage); - time=g_time; - break; - } - last_page_time=g_time; - } - else ogg_stream_pagein(&mInfo->TheoraStreamState,&mInfo->OggPage); - } - else - { - char *buffer = ogg_sync_buffer( &mInfo->OggSyncState, 4096); - int bytesRead = mStream->read( buffer, 4096); - if (bytesRead == 0) break; - ogg_sync_wrote( &mInfo->OggSyncState, bytesRead ); - } - } - } - - mTimer->seek(time); - mSeekPos=-2; // tell the decoder to discard frames until the keyframe is found - if (mAudioInterface) mAudioMutex->unlock(); -} - -void TheoraVideoClip::seek(float time) -{ - mSeekPos=time; - mEndOfFile=false; -} - -float TheoraVideoClip::getPriority() -{ - // TODO - return getNumPrecachedFrames()*10.0f; -} - -float TheoraVideoClip::getPriorityIndex() -{ - float priority=(float) getNumReadyFrames(); - if (mTimer->isPaused()) priority+=getNumPrecachedFrames()/2; - return priority; -} - -void TheoraVideoClip::setAudioInterface(TheoraAudioInterface* iface) -{ - mAudioInterface=iface; -} - -TheoraAudioInterface* TheoraVideoClip::getAudioInterface() -{ - return mAudioInterface; -} - -void TheoraVideoClip::setAudioGain(float gain) -{ - if (gain > 1) mAudioGain=1; - if (gain < 0) mAudioGain=0; - else mAudioGain=gain; -} - -float TheoraVideoClip::getAudioGain() -{ - return mAudioGain; -} - -void TheoraVideoClip::setAutoRestart(bool value) -{ - mAutoRestart=value; - if (value) mEndOfFile=false; -} diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoClip.h b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoClip.h deleted file mode 100644 index 25d16b42..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoClip.h +++ /dev/null @@ -1,251 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ - -#ifndef _TheoraVideoClip_h -#define _TheoraVideoClip_h - -#include -#include "TheoraExport.h" - -// forward class declarations -class TheoraInfoStruct; -class TheoraMutex; -class TheoraFrameQueue; -class TheoraTimer; -class TheoraAudioInterface; -class TheoraWorkerThread; -class TheoraDataSource; -class TheoraVideoFrame; - -/** - format of the TheoraVideoFrame pixels. Affects decoding time - */ -enum TheoraOutputMode -{ - // A= full alpha (255), order of letters represents the byte order for a pixel - TH_RGB=1, - TH_RGBA=2, - TH_ARGB=3, - TH_BGR=4, - TH_BGRA=5, - TH_ABGR=6, - TH_GREY=7, - TH_GREY3=8, // RGB but all three components are luma - TH_GREY3A=9, - TH_AGREY3=10, - TH_YUV=11, - TH_YUVA=12, - TH_AYUV=13 -}; - -/** - This object contains all data related to video playback, eg. the open source file, - the frame queue etc. -*/ -class TheoraPlayerExport TheoraVideoClip -{ - friend class TheoraWorkerThread; - friend class TheoraVideoFrame; - friend class TheoraVideoManager; - - TheoraFrameQueue* mFrameQueue; - TheoraAudioInterface* mAudioInterface; - TheoraDataSource* mStream; - - TheoraTimer *mTimer,*mDefaultTimer; - - TheoraWorkerThread* mAssignedWorkerThread; - - // benchmark vars - int mNumDroppedFrames,mNumDisplayedFrames; - - int mTheoraStreams, mVorbisStreams; // Keeps track of Theora and Vorbis Streams - - int mNumPrecachedFrames; - int mAudioSkipSeekFlag; - - float mSeekPos; //! stores desired seek position. next worker thread will do the seeking and reset this var to -1 - float mDuration; - std::string mName; - int mWidth,mHeight,mStride; - unsigned long mNumFrames; - - float mAudioGain; //! multiplier for audio samples. between 0 and 1 - TheoraOutputMode mOutputMode,mRequestedOutputMode; - bool mAutoRestart; - bool mEndOfFile,mRestarted; - int mIteration,mLastIteration; //! used to detect when the video restarted - - float mUserPriority; - - TheoraInfoStruct* mInfo; // a pointer is used to avoid having to include theora & vorbis headers - - TheoraMutex* mAudioMutex; //! syncs audio decoding and extraction - - /** - * Get the priority of a video clip. based on a forumula that includes user - * priority factor, whether the video is paused or not, how many precached - * frames it has etc. - * This function is used in TheoraVideoManager to efficiently distribute job - * assignments among worker threads - * @return priority number of this video clip - */ - int calculatePriority(); - void readTheoraVorbisHeaders(); - long seekPage(long targetFrame,bool return_keyframe); - void doSeek(); //! called by WorkerThread to seek to mSeekPos - bool _readData(); - bool isBusy(); - - void load(TheoraDataSource* source); - - void _restart(); // resets the decoder and stream but leaves the frame queue intact -public: - TheoraVideoClip(TheoraDataSource* data_source, - TheoraOutputMode output_mode, - int nPrecachedFrames, - bool usePower2Stride); - ~TheoraVideoClip(); - - std::string getName(); - - //! benchmark function - int getNumDisplayedFrames() { return mNumDisplayedFrames; } - //! benchmark function - int getNumDroppedFrames() { return mNumDroppedFrames; } - - //! return width in pixels of the video clip - int getWidth() { return mWidth; } - //! return height in pixels of the video clip - int getHeight() { return mHeight; } - /** - \brief return stride in pixels - - If you've specified usePower2Stride when creating the TheoraVideoClip object - then this value will be the next power of two size compared to width, - eg: w=376, stride=512. - - Otherwise, stride will be equal to width - */ - int getStride() { return mStride; } - - //! retur the timer objet associated with this object - TheoraTimer* getTimer(); - //! replace the timer object with a new one - void setTimer(TheoraTimer* timer); - - //! used by TheoraWorkerThread, do not call directly - void decodeNextFrame(); - - //! advance time. TheoraVideoManager calls this - void update(float time_increase); - /** - \brief update timer to the display time of the next frame - - useful if you want to grab frames instead of regular display - \return time advanced. 0 if no frames are ready - */ - float updateToNextFrame(); - - /** - \brief pop the frame from the front of the FrameQueue - - see TheoraFrameQueue::pop() for more details - */ - void popFrame(); - - /** - \brief Returns the first available frame in the queue or NULL if no frames are available. - - see TheoraFrameQueue::getFirstAvailableFrame() for more details - */ - TheoraVideoFrame* getNextFrame(); - /** - check if there is enough audio data decoded to submit to the audio interface - - TheoraWorkerThread calls this - */ - void decodedAudioCheck(); - - void setAudioInterface(TheoraAudioInterface* iface); - TheoraAudioInterface* getAudioInterface(); - - /** - \brief resize the frame queues - - Warning: this call discards ready frames in the frame queue - */ - void setNumPrecachedFrames(int n); - //! returns the size of the frame queue - int getNumPrecachedFrames(); - //! returns the number of ready frames in the frame queue - int getNumReadyFrames(); - - //! if you want to adjust the audio gain. range [0,1] - void setAudioGain(float gain); - float getAudioGain(); - - //! if you want the video to automatically and smoothly restart when the last frame is reached - void setAutoRestart(bool value); - bool getAutoRestart() { return mAutoRestart; } - - - - /** - TODO: user priority. Useful only when more than one video is being decoded - */ - void setPriority(float priority); - float getPriority(); - - //! Used by TheoraVideoManager to schedule work - float getPriorityIndex(); - - //! get the current time index from the timer object - float getTimePosition(); - //! get the duration of the movie in seconds - float getDuration(); - //! return the clips' frame rate - int getFPS(); - //! get the number of frames in this movie - int getNumFrames() { return mNumFrames; } - - //! return the current output mode for this video object - TheoraOutputMode getOutputMode(); - /** - set a new output mode - - Warning: this discards the frame queue. ready frames will be lost. - */ - void setOutputMode(TheoraOutputMode mode); - - bool isDone(); - void play(); - void pause(); - void restart(); - bool isPaused(); - void stop(); - void setPlaybackSpeed(float speed); - float getPlaybackSpeed(); - //! seek to a given time position - void seek(float time); -}; - -#endif diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoFrame.cpp b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoFrame.cpp deleted file mode 100644 index 737c158a..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoFrame.cpp +++ /dev/null @@ -1,313 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ -#include -#include -#include "TheoraVideoFrame.h" -#include "TheoraVideoClip.h" - -// clips a value between [0,255] using fast bitwise operations -#define CLIP_RGB_COLOR(x) ((x & 0xFFFFFF00) == 0 ? x : (x & 0x80000000 ? 0 : 255)) - -int YTable [256]; -int BUTable[256]; -int GUTable[256]; -int GVTable[256]; -int RVTable[256]; - -void _decodeRGB(th_img_plane* yuv,unsigned char* out,int stride,int nBytes) -{ - // BGR differs from RGB conversion fuction only in byte order - // So if you make changes to the RGB function, make sure to mirror those - // changes in the BGR function as well - int rgbY,rV,gUV,bU,t,y; - unsigned char cv,cu; - unsigned char *ySrc=yuv[0].data,*yLineEnd, - *uSrc=yuv[1].data, - *vSrc=yuv[2].data, - *out2=out+stride; - stride+=stride-yuv[0].width*nBytes; - - for (y=0;y> 13); - out[1] = CLIP_RGB_COLOR((rgbY - gUV) >> 13); - out[2] = CLIP_RGB_COLOR((rgbY + bU ) >> 13); - - rgbY=YTable[*(ySrc+yuv[0].stride)]; - out2[0] = CLIP_RGB_COLOR((rgbY + rV ) >> 13); - out2[1] = CLIP_RGB_COLOR((rgbY - gUV) >> 13); - out2[2] = CLIP_RGB_COLOR((rgbY + bU ) >> 13); - } - out+=stride; out2+=stride; - ySrc+=yuv[0].stride*2-yuv[0].width; - uSrc+=yuv[1].stride-yuv[1].width; - vSrc+=yuv[2].stride-yuv[2].width; - } -} - -void _decodeBGR(th_img_plane* yuv,unsigned char* out,int stride,int nBytes) -{ - // BGR differs from RGB conversion fuction only in byte order - // So if you make changes to the RGB function, make sure to mirror those - // changes in the BGR function as well - int rgbY,rV,gUV,bU,t,y; - unsigned char cv,cu; - unsigned char *ySrc=yuv[0].data,*yLineEnd, - *uSrc=yuv[1].data, - *vSrc=yuv[2].data, - *out2=out+stride; - stride+=stride-yuv[0].width*nBytes; - - for (y=0;y> 13); - out[1] = CLIP_RGB_COLOR((rgbY - gUV) >> 13); - out[0] = CLIP_RGB_COLOR((rgbY + bU ) >> 13); - - rgbY=YTable[*(ySrc+yuv[0].stride)]; - out2[2] = CLIP_RGB_COLOR((rgbY + rV ) >> 13); - out2[1] = CLIP_RGB_COLOR((rgbY - gUV) >> 13); - out2[0] = CLIP_RGB_COLOR((rgbY + bU ) >> 13); - } - out+=stride; out2+=stride; - ySrc+=yuv[0].stride*2-yuv[0].width; - uSrc+=yuv[1].stride-yuv[1].width; - vSrc+=yuv[2].stride-yuv[2].width; - } -} - -void decodeRGB(th_img_plane* yuv,unsigned char* out,int stride) -{ - _decodeRGB(yuv,out,stride*3,3); -} - -void decodeRGBA(th_img_plane* yuv,unsigned char* out,int stride) -{ - _decodeRGB(yuv,out,stride*4,4); -} - -void decodeARGB(th_img_plane* yuv,unsigned char* out,int stride) -{ - _decodeRGB(yuv,out+1,stride*4,4); -} - -void decodeBGR(th_img_plane* yuv,unsigned char* out,int stride) -{ - _decodeBGR(yuv,out,stride*3,3); -} - -void decodeBGRA(th_img_plane* yuv,unsigned char* out,int stride) -{ - _decodeBGR(yuv,out,stride*4,4); -} - -void decodeABGR(th_img_plane* yuv,unsigned char* out,int stride) -{ - _decodeBGR(yuv,out+1,stride*4,4); -} - -void decodeGrey(th_img_plane* yuv,unsigned char* out,int stride) -{ - unsigned char *ySrc=yuv[0].data,*yLineEnd; - for (int y=0;ymStride * mParent->mHeight * bytemap[mParent->getOutputMode()]; - mBuffer=new unsigned char[size]; - memset(mBuffer,255,size); -} - -TheoraVideoFrame::~TheoraVideoFrame() -{ - if (mBuffer) delete [] mBuffer; -} - -int TheoraVideoFrame::getWidth() -{ - return mParent->mWidth; -} - -int TheoraVideoFrame::getStride() -{ - return mParent->mStride; -} - -int TheoraVideoFrame::getHeight() -{ - return mParent->mHeight; -} - -unsigned char* TheoraVideoFrame::getBuffer() -{ - return mBuffer; -} - -void TheoraVideoFrame::decode(void* yuv) -{ - conversion_functions[mParent->getOutputMode()]((th_img_plane*) yuv,mBuffer,mParent->mStride); - mReady=true; -} - -void TheoraVideoFrame::clear() -{ - mInUse=mReady=false; -} - -void createYUVtoRGBtables() -{ - //used to bring the table into the high side (scale up) so we - //can maintain high precision and not use floats (FIXED POINT) - -// this is the pseudocode for yuv->rgb conversion -// r = 1.164*(*ySrc - 16) + 1.596*(cv - 128); -// b = 1.164*(*ySrc - 16) + 2.018*(cu - 128); -// g = 1.164*(*ySrc - 16) - 0.813*(cv - 128) - 0.391*(cu - 128); - - double scale = 1L << 13, temp; - - for (int i = 0; i < 256; i++) - { - temp = i - 128; - - YTable[i] = (int)((1.164 * scale + 0.5) * (i - 16)); //Calc Y component - RVTable[i] = (int)((1.596 * scale + 0.5) * temp); //Calc R component - GUTable[i] = (int)((0.391 * scale + 0.5) * temp); //Calc G u & v components - GVTable[i] = (int)((0.813 * scale + 0.5) * temp); - BUTable[i] = (int)((2.018 * scale + 0.5) * temp); //Calc B component - } -} diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoFrame.h b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoFrame.h deleted file mode 100644 index ce7e7cda..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoFrame.h +++ /dev/null @@ -1,65 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ -#ifndef _TheoraVideoFrame_h -#define _TheoraVideoFrame_h - -#include "TheoraExport.h" - -class TheoraVideoClip; -/** - -*/ -class TheoraPlayerExport TheoraVideoFrame -{ - TheoraVideoClip* mParent; - unsigned char* mBuffer; - unsigned long mFrameNumber; - -public: - //! global time in seconds this frame should be displayed on - float mTimeToDisplay; - //! whether the frame is ready for display or not - bool mReady; - //! indicates the frame is being used by TheoraWorkerThread instance - bool mInUse; - //! used to detect when the video restarted to ensure smooth playback - int mIteration; - - TheoraVideoFrame(TheoraVideoClip* parent); - ~TheoraVideoFrame(); - - //! internal function, do not use directly - void _setFrameNumber(int number) { mFrameNumber=number; } - //! returns the frame number of this frame in the theora stream - int getFrameNumber() { return mFrameNumber; } - - void clear(); - - int getWidth(); - int getStride(); - int getHeight(); - - unsigned char* getBuffer(); - - //! Called by TheoraVideoClip to decode a YUV buffer onto itself - void decode(void* yuv); -}; -#endif diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoManager.cpp b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoManager.cpp deleted file mode 100644 index 71d9f583..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoManager.cpp +++ /dev/null @@ -1,240 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ -#include "TheoraVideoManager.h" -#include "TheoraWorkerThread.h" -#include "TheoraVideoClip.h" -#include "TheoraAudioInterface.h" -#include "TheoraUtil.h" -#include "TheoraDataSource.h" - -TheoraVideoManager* g_ManagerSingleton=0; -// declaring function prototype here so I don't have to put it in a header file -// it only needs to be used by this plugin and called once -void createYUVtoRGBtables(); - -void theora_writelog(std::string output) -{ - printf("%s\n",output.c_str()); -} - -void (*g_LogFuction)(std::string)=theora_writelog; - -void TheoraVideoManager::setLogFunction(void (*fn)(std::string)) -{ - g_LogFuction=fn; -} - -TheoraVideoManager* TheoraVideoManager::getSingletonPtr() -{ - return g_ManagerSingleton; -} - -TheoraVideoManager& TheoraVideoManager::getSingleton() -{ - return *g_ManagerSingleton; -} - -TheoraVideoManager::TheoraVideoManager(int num_worker_threads) : - mDefaultNumPrecachedFrames(16) -{ - g_ManagerSingleton=this; - - logMessage("Initializing Theora Playback Library ("+this->getVersionString()+")"); - - mAudioFactory = NULL; - mWorkMutex=new TheoraMutex(); - - // for CPU yuv2rgb decoding - createYUVtoRGBtables(); - createWorkerThreads(num_worker_threads); -} - -TheoraVideoManager::~TheoraVideoManager() -{ - destroyWorkerThreads(); - - ClipList::iterator ci; - for (ci=mClips.begin(); ci != mClips.end();ci++) - delete (*ci); - mClips.clear(); - delete mWorkMutex; -} - -void TheoraVideoManager::logMessage(std::string msg) -{ - g_LogFuction(msg); -} - -TheoraVideoClip* TheoraVideoManager::getVideoClipByName(std::string name) -{ - foreach(TheoraVideoClip*,mClips) - if ((*it)->getName() == name) return *it; - - return 0; -} - -void TheoraVideoManager::setAudioInterfaceFactory(TheoraAudioInterfaceFactory* factory) -{ - mAudioFactory=factory; -} - -TheoraAudioInterfaceFactory* TheoraVideoManager::getAudioInterfaceFactory() -{ - return mAudioFactory; -} - -TheoraVideoClip* TheoraVideoManager::createVideoClip(std::string filename, - TheoraOutputMode output_mode, - int numPrecachedOverride, - bool usePower2Stride) -{ - TheoraDataSource* src=new TheoraFileDataSource(filename); - return createVideoClip(src,output_mode,numPrecachedOverride,usePower2Stride); -} - -TheoraVideoClip* TheoraVideoManager::createVideoClip(TheoraDataSource* data_source, - TheoraOutputMode output_mode, - int numPrecachedOverride, - bool usePower2Stride) -{ - mWorkMutex->lock(); - - TheoraVideoClip* clip = NULL; - int nPrecached = numPrecachedOverride ? numPrecachedOverride : mDefaultNumPrecachedFrames; - logMessage("Creating video from data source: "+data_source->repr()); - clip = new TheoraVideoClip(data_source,output_mode,nPrecached,usePower2Stride); - mClips.push_back(clip); - mWorkMutex->unlock(); - return clip; -} - -void TheoraVideoManager::destroyVideoClip(TheoraVideoClip* clip) -{ - if (clip) - { - th_writelog("Destroying video clip: "+clip->getName()); - mWorkMutex->lock(); - bool reported=0; - while (clip->mAssignedWorkerThread) - { - if (!reported) { th_writelog("Waiting for WorkerThread to finish decoding in order to destroy"); reported=1; } - _psleep(1); - } - if (reported) th_writelog("WorkerThread done, destroying.."); - foreach(TheoraVideoClip*,mClips) - if ((*it) == clip) - { - mClips.erase(it); - break; - } - delete clip; - th_writelog("Destroyed video."); - mWorkMutex->unlock(); - } -} - -TheoraVideoClip* TheoraVideoManager::requestWork(TheoraWorkerThread* caller) -{ - if (!mWorkMutex) return NULL; - mWorkMutex->lock(); - TheoraVideoClip* c=NULL; - - float priority,last_priority=100000; - - foreach(TheoraVideoClip*,mClips) - { - if ((*it)->isBusy()) continue; - priority=(*it)->getPriorityIndex(); - if (priority < last_priority) - { - last_priority=priority; - c=*it; - } - } - if (c) c->mAssignedWorkerThread=caller; - - mWorkMutex->unlock(); - return c; -} - -void TheoraVideoManager::update(float time_increase) -{ - foreach(TheoraVideoClip*,mClips) - { - (*it)->update(time_increase); - (*it)->decodedAudioCheck(); - } -} - -int TheoraVideoManager::getNumWorkerThreads() -{ - return (int)mWorkerThreads.size(); -} - -void TheoraVideoManager::createWorkerThreads(int n) -{ - TheoraWorkerThread* t; - for (int i=0;istartThread(); - mWorkerThreads.push_back(t); - } -} - -void TheoraVideoManager::destroyWorkerThreads() -{ - foreach(TheoraWorkerThread*,mWorkerThreads) - { - (*it)->waitforThread(); - delete (*it); - } - mWorkerThreads.clear(); -} - -void TheoraVideoManager::setNumWorkerThreads(int n) -{ - if (n == getNumWorkerThreads()) return; - th_writelog("changing number of worker threats to: "+str(n)); - - destroyWorkerThreads(); - createWorkerThreads(n); -} - -std::string TheoraVideoManager::getVersionString() -{ - int a,b,c; - getVersion(&a,&b,&c); - std::string out=str(a)+"."+str(b); - if (c != 0) - { - if (c < 0) out+=" RC"+str(-c); - else out+="."+str(c); - } - return out; -} - -void TheoraVideoManager::getVersion(int* a,int* b,int* c) -{ - *a=1; - *b=0; - *c=-2; -} diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoManager.h b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoManager.h deleted file mode 100644 index f9ee2c34..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraVideoManager.h +++ /dev/null @@ -1,112 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ - -#ifndef _TheoraVideoManager_h -#define _TheoraVideoManager_h - -#include -#include -#include "TheoraExport.h" -#include "TheoraVideoClip.h" -#ifdef _WIN32 -#pragma warning( disable: 4251 ) // MSVC++ -#endif -// forward class declarations -class TheoraWorkerThread; -class TheoraMutex; -class TheoraDataSource; -class TheoraAudioInterfaceFactory; -/** - This is the main singleton class that handles all playback/sync operations -*/ -class TheoraPlayerExport TheoraVideoManager -{ -protected: - friend class TheoraWorkerThread; - typedef std::vector ClipList; - typedef std::vector ThreadList; - - //! stores pointers to worker threads which are decoding video and audio - ThreadList mWorkerThreads; - //! stores pointers to created video clips - ClipList mClips; - int mDefaultNumPrecachedFrames; - - TheoraMutex* mWorkMutex; - TheoraAudioInterfaceFactory* mAudioFactory; - - void createWorkerThreads(int n); - void destroyWorkerThreads(); - - /** - * Called by TheoraWorkerThread to request a TheoraVideoClip instance to work on decoding - */ - TheoraVideoClip* requestWork(TheoraWorkerThread* caller); -public: - TheoraVideoManager(int num_worker_threads=1); - virtual ~TheoraVideoManager(); - - //! get the global reference to the manager instance - static TheoraVideoManager& getSingleton(); - //! get the global pointer to the manager instance - static TheoraVideoManager* getSingletonPtr(); - - //! search registered clips by name - TheoraVideoClip* getVideoClipByName(std::string name); - - TheoraVideoClip* createVideoClip(std::string filename,TheoraOutputMode output_mode=TH_RGB,int numPrecachedOverride=0,bool usePower2Stride=0); - TheoraVideoClip* createVideoClip(TheoraDataSource* data_source,TheoraOutputMode output_mode=TH_RGB,int numPrecachedOverride=0,bool usePower2Stride=0); - - void update(float time_increase); - - void destroyVideoClip(TheoraVideoClip* clip); - - void setAudioInterfaceFactory(TheoraAudioInterfaceFactory* factory); - TheoraAudioInterfaceFactory* getAudioInterfaceFactory(); - - int getNumWorkerThreads(); - void setNumWorkerThreads(int n); - - void setDefaultNumPrecachedFrames(int n) { mDefaultNumPrecachedFrames=n; } - int getDefaultNumPrecachedFrames() { return mDefaultNumPrecachedFrames; } - - //! used by libtheoraplayer functions - void logMessage(std::string msg); - - /** - \brief you can set your own log function to recieve theora's log calls - - This way you can integrate libtheoraplayer's log messages in your own - logging system, prefix them, mute them or whatever you want - */ - static void setLogFunction(void (*fn)(std::string)); - - //! get nicely formated version string - std::string getVersionString(); - /** - \brief get version numbers - - if c is negative, it means it's a release candidate -c - */ - void getVersion(int* a,int* b,int* c); -}; -#endif - diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraWorkerThread.cpp b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraWorkerThread.cpp deleted file mode 100644 index 0e659012..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraWorkerThread.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ -#ifdef _WIN32 -#pragma warning( disable: 4251 ) // MSVC++ -#endif -#include "TheoraWorkerThread.h" -#include "TheoraVideoManager.h" -#include "TheoraVideoClip.h" -#include "TheoraUtil.h" - - -TheoraWorkerThread::TheoraWorkerThread() : TheoraThread() -{ - mClip=NULL; -} - -TheoraWorkerThread::~TheoraWorkerThread() -{ - -} - -void TheoraWorkerThread::executeThread() -{ - mThreadRunning = true; - while (mThreadRunning) - { - mClip=TheoraVideoManager::getSingleton().requestWork(this); - if (!mClip) - { - _psleep(250); - continue; - } - - - // if user requested seeking, do that then. - if (mClip->mSeekPos >= 0) mClip->doSeek(); - - mClip->decodeNextFrame(); - - mClip->mAssignedWorkerThread=NULL; - mClip=0; - _psleep(1); - } -} diff --git a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraWorkerThread.h b/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraWorkerThread.h deleted file mode 100644 index 1323903f..00000000 --- a/Libraries/TheoraPlayer/Source/TheoraPlayer/TheoraWorkerThread.h +++ /dev/null @@ -1,44 +0,0 @@ -/************************************************************************************ -This source file is part of the Theora Video Playback Library -For latest info, see http://libtheoraplayer.sourceforge.net/ -************************************************************************************* -Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com) - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License (LGPL) as published by the -Free Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA, or go to -http://www.gnu.org/copyleft/lesser.txt. -*************************************************************************************/ -#ifndef _TheoraWorkerThread_h -#define _TheoraWorkerThread_h - -#include "TheoraAsync.h" - -class TheoraVideoClip; - -/** - This is the worker thread, requests work from TheoraVideoManager - and decodes assigned TheoraVideoClip objects -*/ -class TheoraWorkerThread : public TheoraThread -{ - TheoraVideoClip* mClip; -public: - TheoraWorkerThread(); - ~TheoraWorkerThread(); - - TheoraVideoClip* getAssignedClip() { return mClip; } - - //! Main Thread Body - do not call directly! - void executeThread(); -}; -#endif diff --git a/Libraries/theora/bin/x64/libtheora.dll b/Libraries/theora/bin/x64/libtheora.dll deleted file mode 100644 index 6a2a319c..00000000 Binary files a/Libraries/theora/bin/x64/libtheora.dll and /dev/null differ diff --git a/Libraries/theora/bin/x86/libtheora.dll b/Libraries/theora/bin/x86/libtheora.dll deleted file mode 100644 index b7cb0c72..00000000 Binary files a/Libraries/theora/bin/x86/libtheora.dll and /dev/null differ diff --git a/Libraries/theora/include/theora/codec.h b/Libraries/theora/include/theora/codec.h deleted file mode 100644 index 5c266963..00000000 --- a/Libraries/theora/include/theora/codec.h +++ /dev/null @@ -1,591 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: theora.h,v 1.8 2004/03/15 22:17:32 derf Exp $ - - ********************************************************************/ - -/**\mainpage - * - * \section intro Introduction - * - * This is the documentation for libtheora C API. - * The current reference - * implementation for Theora, a free, - * patent-unencumbered video codec. - * Theora is derived from On2's VP3 codec with additional features and - * integration with Ogg multimedia formats by - * the Xiph.Org Foundation. - * Complete documentation of the format itself is available in - * the Theora - * specification. - * - * \subsection Organization - * - * The functions documented here are actually subdivided into three - * separate libraries: - * - libtheoraenc contains the encoder interface, - * described in \ref encfuncs. - * - libtheoradec contains the decoder interface and - * routines shared with the encoder. - * You must also link to this if you link to libtheoraenc. - * The routines in this library are described in \ref decfuncs and - * \ref basefuncs. - * - libtheora contains the \ref oldfuncs. - * - * New code should link to libtheoradec and, if using encoder - * features, libtheoraenc. Together these two export both - * the standard and the legacy API, so this is all that is needed by - * any code. The older libtheora library is provided just for - * compatibility with older build configurations. - * - * In general the recommended 1.x API symbols can be distinguished - * by their th_ or TH_ namespace prefix. - * The older, legacy API uses theora_ or OC_ - * prefixes instead. - */ - -/**\file - * The shared libtheoradec and libtheoraenc C API. - * You don't need to include this directly.*/ - -#if !defined(_O_THEORA_CODEC_H_) -# define _O_THEORA_CODEC_H_ (1) -# include - -#if defined(__cplusplus) -extern "C" { -#endif - - - -/**\name Return codes*/ -/*@{*/ -/**An invalid pointer was provided.*/ -#define TH_EFAULT (-1) -/**An invalid argument was provided.*/ -#define TH_EINVAL (-10) -/**The contents of the header were incomplete, invalid, or unexpected.*/ -#define TH_EBADHEADER (-20) -/**The header does not belong to a Theora stream.*/ -#define TH_ENOTFORMAT (-21) -/**The bitstream version is too high.*/ -#define TH_EVERSION (-22) -/**The specified function is not implemented.*/ -#define TH_EIMPL (-23) -/**There were errors in the video data packet.*/ -#define TH_EBADPACKET (-24) -/**The decoded packet represented a dropped frame. - The player can continue to display the current frame, as the contents of the - decoded frame buffer have not changed.*/ -#define TH_DUPFRAME (1) -/*@}*/ - -/**The currently defined color space tags. - * See the Theora - * specification, Chapter 4, for exact details on the meaning - * of each of these color spaces.*/ -typedef enum{ - /**The color space was not specified at the encoder. - It may be conveyed by an external means.*/ - TH_CS_UNSPECIFIED, - /**A color space designed for NTSC content.*/ - TH_CS_ITU_REC_470M, - /**A color space designed for PAL/SECAM content.*/ - TH_CS_ITU_REC_470BG, - /**The total number of currently defined color spaces.*/ - TH_CS_NSPACES -}th_colorspace; - -/**The currently defined pixel format tags. - * See the Theora - * specification, Section 4.4, for details on the precise sample - * locations.*/ -typedef enum{ - /**Chroma decimation by 2 in both the X and Y directions (4:2:0). - The Cb and Cr chroma planes are half the width and half the - height of the luma plane.*/ - TH_PF_420, - /**Currently reserved.*/ - TH_PF_RSVD, - /**Chroma decimation by 2 in the X direction (4:2:2). - The Cb and Cr chroma planes are half the width of the luma plane, but full - height.*/ - TH_PF_422, - /**No chroma decimation (4:4:4). - The Cb and Cr chroma planes are full width and full height.*/ - TH_PF_444, - /**The total number of currently defined pixel formats.*/ - TH_PF_NFORMATS -}th_pixel_fmt; - - - -/**A buffer for a single color plane in an uncompressed image. - * This contains the image data in a left-to-right, top-down format. - * Each row of pixels is stored contiguously in memory, but successive - * rows need not be. - * Use \a stride to compute the offset of the next row. - * The encoder accepts both positive \a stride values (top-down in memory) - * and negative (bottom-up in memory). - * The decoder currently always generates images with positive strides.*/ -typedef struct{ - /**The width of this plane.*/ - int width; - /**The height of this plane.*/ - int height; - /**The offset in bytes between successive rows.*/ - int stride; - /**A pointer to the beginning of the first row.*/ - unsigned char *data; -}th_img_plane; - -/**A complete image buffer for an uncompressed frame. - * The chroma planes may be decimated by a factor of two in either - * direction, as indicated by th_info#pixel_fmt. - * The width and height of the Y' plane must be multiples of 16. - * They may need to be cropped for display, using the rectangle - * specified by th_info#pic_x, th_info#pic_y, th_info#pic_width, - * and th_info#pic_height. - * All samples are 8 bits. - * \note The term YUV often used to describe a colorspace is ambiguous. - * The exact parameters of the RGB to YUV conversion process aside, in - * many contexts the U and V channels actually have opposite meanings. - * To avoid this confusion, we are explicit: the name of the color - * channels are Y'CbCr, and they appear in that order, always. - * The prime symbol denotes that the Y channel is non-linear. - * Cb and Cr stand for "Chroma blue" and "Chroma red", respectively.*/ -typedef th_img_plane th_ycbcr_buffer[3]; - -/**Theora bitstream information. - * This contains the basic playback parameters for a stream, and corresponds to - * the initial 'info' header packet. - * To initialize an encoder, the application fills in this structure and - * passes it to th_encode_alloc(). - * A default encoding mode is chosen based on the values of the #quality and - * #target_bitrate fields. - * On decode, it is filled in by th_decode_headerin(), and then passed to - * th_decode_alloc(). - * - * Encoded Theora frames must be a multiple of 16 in size; - * this is what the #frame_width and #frame_height members represent. - * To handle arbitrary picture sizes, a crop rectangle is specified in the - * #pic_x, #pic_y, #pic_width and #pic_height members. - * - * All frame buffers contain pointers to the full, padded frame. - * However, the current encoder will not reference pixels outside of - * the cropped picture region, and the application does not need to fill them - * in. - * The decoder will allocate storage for a full frame, but the - * application should not rely on the padding containing sensible - * data. - * - * It is also generally recommended that the offsets and sizes should still be - * multiples of 2 to avoid chroma sampling shifts when chroma is sub-sampled. - * See the Theora - * specification, Section 4.4, for more details. - * - * Frame rate, in frames per second, is stored as a rational fraction, as is - * the pixel aspect ratio. - * Note that this refers to the aspect ratio of the individual pixels, not of - * the overall frame itself. - * The frame aspect ratio can be computed from pixel aspect ratio using the - * image dimensions.*/ -typedef struct{ - /**\name Theora version - * Bitstream version information.*/ - /*@{*/ - unsigned char version_major; - unsigned char version_minor; - unsigned char version_subminor; - /*@}*/ - /**The encoded frame width. - * This must be a multiple of 16, and less than 1048576.*/ - ogg_uint32_t frame_width; - /**The encoded frame height. - * This must be a multiple of 16, and less than 1048576.*/ - ogg_uint32_t frame_height; - /**The displayed picture width. - * This must be no larger than width.*/ - ogg_uint32_t pic_width; - /**The displayed picture height. - * This must be no larger than height.*/ - ogg_uint32_t pic_height; - /**The X offset of the displayed picture. - * This must be no larger than #frame_width-#pic_width or 255, whichever is - * smaller.*/ - ogg_uint32_t pic_x; - /**The Y offset of the displayed picture. - * This must be no larger than #frame_height-#pic_height, and - * #frame_height-#pic_height-#pic_y must be no larger than 255. - * This slightly funny restriction is due to the fact that the offset is - * specified from the top of the image for consistency with the standard - * graphics left-handed coordinate system used throughout this API, while - * it is stored in the encoded stream as an offset from the bottom.*/ - ogg_uint32_t pic_y; - /**\name Frame rate - * The frame rate, as a fraction. - * If either is 0, the frame rate is undefined.*/ - /*@{*/ - ogg_uint32_t fps_numerator; - ogg_uint32_t fps_denominator; - /*@}*/ - /**\name Aspect ratio - * The aspect ratio of the pixels. - * If either value is zero, the aspect ratio is undefined. - * If not specified by any external means, 1:1 should be assumed. - * The aspect ratio of the full picture can be computed as - * \code - * aspect_numerator*pic_width/(aspect_denominator*pic_height). - * \endcode */ - /*@{*/ - ogg_uint32_t aspect_numerator; - ogg_uint32_t aspect_denominator; - /*@}*/ - /**The color space.*/ - th_colorspace colorspace; - /**The pixel format.*/ - th_pixel_fmt pixel_fmt; - /**The target bit-rate in bits per second. - If initializing an encoder with this struct, set this field to a non-zero - value to activate CBR encoding by default.*/ - int target_bitrate; - /**The target quality level. - Valid values range from 0 to 63, inclusive, with higher values giving - higher quality. - If initializing an encoder with this struct, and #target_bitrate is set - to zero, VBR encoding at this quality will be activated by default.*/ - /*Currently this is set so that a qi of 0 corresponds to distortions of 24 - times the JND, and each increase by 16 halves that value. - This gives us fine discrimination at low qualities, yet effective rate - control at high qualities. - The qi value 63 is special, however. - For this, the highest quality, we use one half of a JND for our threshold. - Due to the lower bounds placed on allowable quantizers in Theora, we will - not actually be able to achieve quality this good, but this should - provide as close to visually lossless quality as Theora is capable of. - We could lift the quantizer restrictions without breaking VP3.1 - compatibility, but this would result in quantized coefficients that are - too large for the current bitstream to be able to store. - We'd have to redesign the token syntax to store these large coefficients, - which would make transcoding complex.*/ - int quality; - /**The amount to shift to extract the last keyframe number from the granule - * position. - * This can be at most 31. - * th_info_init() will set this to a default value (currently 6, - * which is good for streaming applications), but you can set it to 0 to - * make every frame a keyframe. - * The maximum distance between key frames is - * 1<<#keyframe_granule_shift. - * The keyframe frequency can be more finely controlled with - * #TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE, which can also be adjusted - * during encoding (for example, to force the next frame to be a keyframe), - * but it cannot be set larger than the amount permitted by this field after - * the headers have been output.*/ - int keyframe_granule_shift; -}th_info; - -/**The comment information. - * - * This structure holds the in-stream metadata corresponding to - * the 'comment' header packet. - * The comment header is meant to be used much like someone jotting a quick - * note on the label of a video. - * It should be a short, to the point text note that can be more than a couple - * words, but not more than a short paragraph. - * - * The metadata is stored as a series of (tag, value) pairs, in - * length-encoded string vectors. - * The first occurrence of the '=' character delimits the tag and value. - * A particular tag may occur more than once, and order is significant. - * The character set encoding for the strings is always UTF-8, but the tag - * names are limited to ASCII, and treated as case-insensitive. - * See the Theora - * specification, Section 6.3.3 for details. - * - * In filling in this structure, th_decode_headerin() will null-terminate - * the user_comment strings for safety. - * However, the bitstream format itself treats them as 8-bit clean vectors, - * possibly containing null characters, and so the length array should be - * treated as their authoritative length. - */ -typedef struct th_comment{ - /**The array of comment string vectors.*/ - char **user_comments; - /**An array of the corresponding length of each vector, in bytes.*/ - int *comment_lengths; - /**The total number of comment strings.*/ - int comments; - /**The null-terminated vendor string. - This identifies the software used to encode the stream.*/ - char *vendor; -}th_comment; - - - -/**A single base matrix.*/ -typedef unsigned char th_quant_base[64]; - -/**A set of \a qi ranges.*/ -typedef struct{ - /**The number of ranges in the set.*/ - int nranges; - /**The size of each of the #nranges ranges. - These must sum to 63.*/ - const int *sizes; - /**#nranges +1 base matrices. - Matrices \a i and i+1 form the endpoints of range \a i.*/ - const th_quant_base *base_matrices; -}th_quant_ranges; - -/**A complete set of quantization parameters. - The quantizer for each coefficient is calculated as: - \code - Q=MAX(MIN(qmin[qti][ci!=0],scale[ci!=0][qi]*base[qti][pli][qi][ci]/100), - 1024). - \endcode - - \a qti is the quantization type index: 0 for intra, 1 for inter. - ci!=0 is 0 for the DC coefficient and 1 for AC coefficients. - \a qi is the quality index, ranging between 0 (low quality) and 63 (high - quality). - \a pli is the color plane index: 0 for Y', 1 for Cb, 2 for Cr. - \a ci is the DCT coefficient index. - Coefficient indices correspond to the normal 2D DCT block - ordering--row-major with low frequencies first--\em not zig-zag order. - - Minimum quantizers are constant, and are given by: - \code - qmin[2][2]={{4,2},{8,4}}. - \endcode - - Parameters that can be stored in the bitstream are as follows: - - The two scale matrices ac_scale and dc_scale. - \code - scale[2][64]={dc_scale,ac_scale}. - \endcode - - The base matrices for each \a qi, \a qti and \a pli (up to 384 in all). - In order to avoid storing a full 384 base matrices, only a sparse set of - matrices are stored, and the rest are linearly interpolated. - This is done as follows. - For each \a qti and \a pli, a series of \a n \a qi ranges is defined. - The size of each \a qi range can vary arbitrarily, but they must sum to - 63. - Then, n+1 matrices are specified, one for each endpoint of the - ranges. - For interpolation purposes, each range's endpoints are the first \a qi - value it contains and one past the last \a qi value it contains. - Fractional values are rounded to the nearest integer, with ties rounded - away from zero. - - Base matrices are stored by reference, so if the same matrices are used - multiple times, they will only appear once in the bitstream. - The bitstream is also capable of omitting an entire set of ranges and - its associated matrices if they are the same as either the previous - set (indexed in row-major order) or if the inter set is the same as the - intra set. - - - Loop filter limit values. - The same limits are used for the loop filter in all color planes, despite - potentially differing levels of quantization in each. - - For the current encoder, scale[ci!=0][qi] must be no greater - than scale[ci!=0][qi-1] and base[qti][pli][qi][ci] must - be no greater than base[qti][pli][qi-1][ci]. - These two conditions ensure that the actual quantizer for a given \a qti, - \a pli, and \a ci does not increase as \a qi increases. - This is not required by the decoder.*/ -typedef struct{ - /**The DC scaling factors.*/ - ogg_uint16_t dc_scale[64]; - /**The AC scaling factors.*/ - ogg_uint16_t ac_scale[64]; - /**The loop filter limit values.*/ - unsigned char loop_filter_limits[64]; - /**The \a qi ranges for each \a ci and \a pli.*/ - th_quant_ranges qi_ranges[2][3]; -}th_quant_info; - - - -/**The number of Huffman tables used by Theora.*/ -#define TH_NHUFFMAN_TABLES (80) -/**The number of DCT token values in each table.*/ -#define TH_NDCT_TOKENS (32) - -/**A Huffman code for a Theora DCT token. - * Each set of Huffman codes in a given table must form a complete, prefix-free - * code. - * There is no requirement that all the tokens in a table have a valid code, - * but the current encoder is not optimized to take advantage of this. - * If each of the five grouops of 16 tables does not contain at least one table - * with a code for every token, then the encoder may fail to encode certain - * frames. - * The complete table in the first group of 16 does not have to be in the same - * place as the complete table in the other groups, but the complete tables in - * the remaining four groups must all be in the same place.*/ -typedef struct{ - /**The bit pattern for the code, with the LSbit of the pattern aligned in - * the LSbit of the word.*/ - ogg_uint32_t pattern; - /**The number of bits in the code. - * This must be between 0 and 32, inclusive.*/ - int nbits; -}th_huff_code; - - - -/**\defgroup basefuncs Functions Shared by Encode and Decode*/ -/*@{*/ -/**\name Basic shared functions*/ -/*@{*/ -/**Retrieves a human-readable string to identify the library vendor and - * version. - * \return the version string.*/ -extern const char *th_version_string(void); -/**Retrieves the library version number. - * This is the highest bitstream version that the encoder library will produce, - * or that the decoder library can decode. - * This number is composed of a 16-bit major version, 8-bit minor version - * and 8 bit sub-version, composed as follows: - * \code - * (VERSION_MAJOR<<16)+(VERSION_MINOR<<8)+(VERSION_SUBMINOR) - * \endcode - * \return the version number.*/ -extern ogg_uint32_t th_version_number(void); -/**Converts a granule position to an absolute frame index, starting at - * 0. - * The granule position is interpreted in the context of a given - * #th_enc_ctx or #th_dec_ctx handle (either will suffice). - * \param _encdec A previously allocated #th_enc_ctx or #th_dec_ctx - * handle. - * \param _granpos The granule position to convert. - * \returns The absolute frame index corresponding to \a _granpos. - * \retval -1 The given granule position was invalid (i.e. negative).*/ -extern ogg_int64_t th_granule_frame(void *_encdec,ogg_int64_t _granpos); -/**Converts a granule position to an absolute time in seconds. - * The granule position is interpreted in the context of a given - * #th_enc_ctx or #th_dec_ctx handle (either will suffice). - * \param _encdec A previously allocated #th_enc_ctx or #th_dec_ctx - * handle. - * \param _granpos The granule position to convert. - * \return The absolute time in seconds corresponding to \a _granpos. - * This is the "end time" for the frame, or the latest time it should - * be displayed. - * It is not the presentation time. - * \retval -1 The given granule position was invalid (i.e. negative).*/ -extern double th_granule_time(void *_encdec,ogg_int64_t _granpos); -/**Determines whether a Theora packet is a header or not. - * This function does no verification beyond checking the packet type bit, so - * it should not be used for bitstream identification; use - * th_decode_headerin() for that. - * As per the Theora specification, an empty (0-byte) packet is treated as a - * data packet (a delta frame with no coded blocks). - * \param _op An ogg_packet containing encoded Theora data. - * \retval 1 The packet is a header packet - * \retval 0 The packet is a video data packet.*/ -extern int th_packet_isheader(ogg_packet *_op); -/**Determines whether a theora packet is a key frame or not. - * This function does no verification beyond checking the packet type and - * key frame bits, so it should not be used for bitstream identification; use - * th_decode_headerin() for that. - * As per the Theora specification, an empty (0-byte) packet is treated as a - * delta frame (with no coded blocks). - * \param _op An ogg_packet containing encoded Theora data. - * \retval 1 The packet contains a key frame. - * \retval 0 The packet contains a delta frame. - * \retval -1 The packet is not a video data packet.*/ -extern int th_packet_iskeyframe(ogg_packet *_op); -/*@}*/ - - -/**\name Functions for manipulating header data*/ -/*@{*/ -/**Initializes a th_info structure. - * This should be called on a freshly allocated #th_info structure before - * attempting to use it. - * \param _info The #th_info struct to initialize.*/ -extern void th_info_init(th_info *_info); -/**Clears a #th_info structure. - * This should be called on a #th_info structure after it is no longer - * needed. - * \param _info The #th_info struct to clear.*/ -extern void th_info_clear(th_info *_info); - -/**Initialize a #th_comment structure. - * This should be called on a freshly allocated #th_comment structure - * before attempting to use it. - * \param _tc The #th_comment struct to initialize.*/ -extern void th_comment_init(th_comment *_tc); -/**Add a comment to an initialized #th_comment structure. - * \note Neither th_comment_add() nor th_comment_add_tag() support - * comments containing null values, although the bitstream format does - * support them. - * To add such comments you will need to manipulate the #th_comment - * structure directly. - * \param _tc The #th_comment struct to add the comment to. - * \param _comment Must be a null-terminated UTF-8 string containing the - * comment in "TAG=the value" form.*/ -extern void th_comment_add(th_comment *_tc, char *_comment); -/**Add a comment to an initialized #th_comment structure. - * \note Neither th_comment_add() nor th_comment_add_tag() support - * comments containing null values, although the bitstream format does - * support them. - * To add such comments you will need to manipulate the #th_comment - * structure directly. - * \param _tc The #th_comment struct to add the comment to. - * \param _tag A null-terminated string containing the tag associated with - * the comment. - * \param _val The corresponding value as a null-terminated string.*/ -extern void th_comment_add_tag(th_comment *_tc,char *_tag,char *_val); -/**Look up a comment value by its tag. - * \param _tc An initialized #th_comment structure. - * \param _tag The tag to look up. - * \param _count The instance of the tag. - * The same tag can appear multiple times, each with a distinct - * value, so an index is required to retrieve them all. - * The order in which these values appear is significant and - * should be preserved. - * Use th_comment_query_count() to get the legal range for - * the \a _count parameter. - * \return A pointer to the queried tag's value. - * This points directly to data in the #th_comment structure. - * It should not be modified or freed by the application, and - * modifications to the structure may invalidate the pointer. - * \retval NULL If no matching tag is found.*/ -extern char *th_comment_query(th_comment *_tc,char *_tag,int _count); -/**Look up the number of instances of a tag. - * Call this first when querying for a specific tag and then iterate over the - * number of instances with separate calls to th_comment_query() to - * retrieve all the values for that tag in order. - * \param _tc An initialized #th_comment structure. - * \param _tag The tag to look up. - * \return The number on instances of this particular tag.*/ -extern int th_comment_query_count(th_comment *_tc,char *_tag); -/**Clears a #th_comment structure. - * This should be called on a #th_comment structure after it is no longer - * needed. - * It will free all memory used by the structure members. - * \param _tc The #th_comment struct to clear.*/ -extern void th_comment_clear(th_comment *_tc); -/*@}*/ -/*@}*/ - - - -#if defined(__cplusplus) -} -#endif - -#endif diff --git a/Libraries/theora/include/theora/theora.h b/Libraries/theora/include/theora/theora.h deleted file mode 100644 index af6eb6f3..00000000 --- a/Libraries/theora/include/theora/theora.h +++ /dev/null @@ -1,784 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: theora.h,v 1.17 2003/12/06 18:06:19 arc Exp $ - - ********************************************************************/ - -#ifndef _O_THEORA_H_ -#define _O_THEORA_H_ - -#ifdef __cplusplus -extern "C" -{ -#endif /* __cplusplus */ - -#include /* for size_t */ - -#include - -/** \file - * The libtheora pre-1.0 legacy C API. - * - * \ingroup oldfuncs - * - * \section intro Introduction - * - * This is the documentation for the libtheora legacy C API, declared in - * the theora.h header, which describes the old interface used before - * the 1.0 release. This API was widely deployed for several years and - * remains supported, but for new code we recommend the cleaner API - * declared in theoradec.h and theoraenc.h. - * - * libtheora is the reference implementation for - * Theora, a free video codec. - * Theora is derived from On2's VP3 codec with improved integration with - * Ogg multimedia formats by Xiph.Org. - * - * \section overview Overview - * - * This library will both decode and encode theora packets to/from raw YUV - * frames. In either case, the packets will most likely either come from or - * need to be embedded in an Ogg stream. Use - * libogg or - * liboggz - * to extract/package these packets. - * - * \section decoding Decoding Process - * - * Decoding can be separated into the following steps: - * -# initialise theora_info and theora_comment structures using - * theora_info_init() and theora_comment_init(): - \verbatim - theora_info info; - theora_comment comment; - - theora_info_init(&info); - theora_comment_init(&comment); - \endverbatim - * -# retrieve header packets from Ogg stream (there should be 3) and decode - * into theora_info and theora_comment structures using - * theora_decode_header(). See \ref identification for more information on - * identifying which packets are theora packets. - \verbatim - int i; - for (i = 0; i < 3; i++) - { - (get a theora packet "op" from the Ogg stream) - theora_decode_header(&info, &comment, op); - } - \endverbatim - * -# initialise the decoder based on the information retrieved into the - * theora_info struct by theora_decode_header(). You will need a - * theora_state struct. - \verbatim - theora_state state; - - theora_decode_init(&state, &info); - \endverbatim - * -# pass in packets and retrieve decoded frames! See the yuv_buffer - * documentation for information on how to retrieve raw YUV data. - \verbatim - yuf_buffer buffer; - while (last packet was not e_o_s) { - (get a theora packet "op" from the Ogg stream) - theora_decode_packetin(&state, op); - theora_decode_YUVout(&state, &buffer); - } - \endverbatim - * - * - * \subsection identification Identifying Theora Packets - * - * All streams inside an Ogg file have a unique serial_no attached to the - * stream. Typically, you will want to - * - retrieve the serial_no for each b_o_s (beginning of stream) page - * encountered within the Ogg file; - * - test the first (only) packet on that page to determine if it is a theora - * packet; - * - once you have found a theora b_o_s page then use the retrieved serial_no - * to identify future packets belonging to the same theora stream. - * - * Note that you \e cannot use theora_packet_isheader() to determine if a - * packet is a theora packet or not, as this function does not perform any - * checking beyond whether a header bit is present. Instead, use the - * theora_decode_header() function and check the return value; or examine the - * header bytes at the beginning of the Ogg page. - */ - - -/** \defgroup oldfuncs Legacy pre-1.0 C API */ -/* @{ */ - -/** - * A YUV buffer for passing uncompressed frames to and from the codec. - * This holds a Y'CbCr frame in planar format. The CbCr planes can be - * subsampled and have their own separate dimensions and row stride - * offsets. Note that the strides may be negative in some - * configurations. For theora the width and height of the largest plane - * must be a multiple of 16. The actual meaningful picture size and - * offset are stored in the theora_info structure; frames returned by - * the decoder may need to be cropped for display. - * - * All samples are 8 bits. Within each plane samples are ordered by - * row from the top of the frame to the bottom. Within each row samples - * are ordered from left to right. - * - * During decode, the yuv_buffer struct is allocated by the user, but all - * fields (including luma and chroma pointers) are filled by the library. - * These pointers address library-internal memory and their contents should - * not be modified. - * - * Conversely, during encode the user allocates the struct and fills out all - * fields. The user also manages the data addressed by the luma and chroma - * pointers. See the encoder_example.c and dump_video.c example files in - * theora/examples/ for more information. - */ -typedef struct { - int y_width; /**< Width of the Y' luminance plane */ - int y_height; /**< Height of the luminance plane */ - int y_stride; /**< Offset in bytes between successive rows */ - - int uv_width; /**< Width of the Cb and Cr chroma planes */ - int uv_height; /**< Height of the chroma planes */ - int uv_stride; /**< Offset between successive chroma rows */ - unsigned char *y; /**< Pointer to start of luminance data */ - unsigned char *u; /**< Pointer to start of Cb data */ - unsigned char *v; /**< Pointer to start of Cr data */ - -} yuv_buffer; - -/** - * A Colorspace. - */ -typedef enum { - OC_CS_UNSPECIFIED, /**< The colorspace is unknown or unspecified */ - OC_CS_ITU_REC_470M, /**< This is the best option for 'NTSC' content */ - OC_CS_ITU_REC_470BG, /**< This is the best option for 'PAL' content */ - OC_CS_NSPACES /**< This marks the end of the defined colorspaces */ -} theora_colorspace; - -/** - * A Chroma subsampling - * - * These enumerate the available chroma subsampling options supported - * by the theora format. See Section 4.4 of the specification for - * exact definitions. - */ -typedef enum { - OC_PF_420, /**< Chroma subsampling by 2 in each direction (4:2:0) */ - OC_PF_RSVD, /**< Reserved value */ - OC_PF_422, /**< Horizonatal chroma subsampling by 2 (4:2:2) */ - OC_PF_444, /**< No chroma subsampling at all (4:4:4) */ -} theora_pixelformat; - -/** - * Theora bitstream info. - * Contains the basic playback parameters for a stream, - * corresponding to the initial 'info' header packet. - * - * Encoded theora frames must be a multiple of 16 in width and height. - * To handle other frame sizes, a crop rectangle is specified in - * frame_height and frame_width, offset_x and * offset_y. The offset - * and size should still be a multiple of 2 to avoid chroma sampling - * shifts. Offset values in this structure are measured from the - * upper left of the image. - * - * Frame rate, in frames per second, is stored as a rational - * fraction. Aspect ratio is also stored as a rational fraction, and - * refers to the aspect ratio of the frame pixels, not of the - * overall frame itself. - * - * See - * examples/encoder_example.c for usage examples of the - * other paramters and good default settings for the encoder parameters. - */ -typedef struct { - ogg_uint32_t width; /**< encoded frame width */ - ogg_uint32_t height; /**< encoded frame height */ - ogg_uint32_t frame_width; /**< display frame width */ - ogg_uint32_t frame_height; /**< display frame height */ - ogg_uint32_t offset_x; /**< horizontal offset of the displayed frame */ - ogg_uint32_t offset_y; /**< vertical offset of the displayed frame */ - ogg_uint32_t fps_numerator; /**< frame rate numerator **/ - ogg_uint32_t fps_denominator; /**< frame rate denominator **/ - ogg_uint32_t aspect_numerator; /**< pixel aspect ratio numerator */ - ogg_uint32_t aspect_denominator; /**< pixel aspect ratio denominator */ - theora_colorspace colorspace; /**< colorspace */ - int target_bitrate; /**< nominal bitrate in bits per second */ - int quality; /**< Nominal quality setting, 0-63 */ - int quick_p; /**< Quick encode/decode */ - - /* decode only */ - unsigned char version_major; - unsigned char version_minor; - unsigned char version_subminor; - - void *codec_setup; - - /* encode only */ - int dropframes_p; - int keyframe_auto_p; - ogg_uint32_t keyframe_frequency; - ogg_uint32_t keyframe_frequency_force; /* also used for decode init to - get granpos shift correct */ - ogg_uint32_t keyframe_data_target_bitrate; - ogg_int32_t keyframe_auto_threshold; - ogg_uint32_t keyframe_mindistance; - ogg_int32_t noise_sensitivity; - ogg_int32_t sharpness; - - theora_pixelformat pixelformat; /**< chroma subsampling mode to expect */ - -} theora_info; - -/** Codec internal state and context. - */ -typedef struct{ - theora_info *i; - ogg_int64_t granulepos; - - void *internal_encode; - void *internal_decode; - -} theora_state; - -/** - * Comment header metadata. - * - * This structure holds the in-stream metadata corresponding to - * the 'comment' header packet. - * - * Meta data is stored as a series of (tag, value) pairs, in - * length-encoded string vectors. The first occurence of the - * '=' character delimits the tag and value. A particular tag - * may occur more than once. The character set encoding for - * the strings is always UTF-8, but the tag names are limited - * to case-insensitive ASCII. See the spec for details. - * - * In filling in this structure, theora_decode_header() will - * null-terminate the user_comment strings for safety. However, - * the bitstream format itself treats them as 8-bit clean, - * and so the length array should be treated as authoritative - * for their length. - */ -typedef struct theora_comment{ - char **user_comments; /**< An array of comment string vectors */ - int *comment_lengths; /**< An array of corresponding string vector lengths in bytes */ - int comments; /**< The total number of comment string vectors */ - char *vendor; /**< The vendor string identifying the encoder, null terminated */ - -} theora_comment; - - -/**\name theora_control() codes */ -/* \anchor decctlcodes_old - * These are the available request codes for theora_control() - * when called with a decoder instance. - * By convention decoder control codes are odd, to distinguish - * them from \ref encctlcodes_old "encoder control codes" which - * are even. - * - * Note that since the 1.0 release, both the legacy and the final - * implementation accept all the same control codes, but only the - * final API declares the newer codes. - * - * Keep any experimental or vendor-specific values above \c 0x8000.*/ - -/*@{*/ - -/**Get the maximum post-processing level. - * The decoder supports a post-processing filter that can improve - * the appearance of the decoded images. This returns the highest - * level setting for this post-processor, corresponding to maximum - * improvement and computational expense. - */ -#define TH_DECCTL_GET_PPLEVEL_MAX (1) - -/**Set the post-processing level. - * Sets the level of post-processing to use when decoding the - * compressed stream. This must be a value between zero (off) - * and the maximum returned by TH_DECCTL_GET_PPLEVEL_MAX. - */ -#define TH_DECCTL_SET_PPLEVEL (3) - -/**Sets the maximum distance between key frames. - * This can be changed during an encode, but will be bounded by - * 1<. - * If it is set before encoding begins, th_info#keyframe_granule_shift will - * be enlarged appropriately. - * - * \param[in] buf ogg_uint32_t: The maximum distance between key - * frames. - * \param[out] buf ogg_uint32_t: The actual maximum distance set. - * \retval OC_FAULT \a theora_state or \a buf is NULL. - * \retval OC_EINVAL \a buf_sz is not sizeof(ogg_uint32_t). - * \retval OC_IMPL Not supported by this implementation.*/ -#define TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE (4) - -/**Set the granule position. - * Call this after a seek, to update the internal granulepos - * in the decoder, to insure that subsequent frames are marked - * properly. If you track timestamps yourself and do not use - * the granule postion returned by the decoder, then you do - * not need to use this control. - */ -#define TH_DECCTL_SET_GRANPOS (5) - -/**\anchor encctlcodes_old */ - -/**Sets the quantization parameters to use. - * The parameters are copied, not stored by reference, so they can be freed - * after this call. - * NULL may be specified to revert to the default parameters. - * - * \param[in] buf #th_quant_info - * \retval OC_FAULT \a theora_state is NULL. - * \retval OC_EINVAL Encoding has already begun, the quantization parameters - * are not acceptable to this version of the encoder, - * \a buf is NULL and \a buf_sz is not zero, - * or \a buf is non-NULL and \a buf_sz is - * not sizeof(#th_quant_info). - * \retval OC_IMPL Not supported by this implementation.*/ -#define TH_ENCCTL_SET_QUANT_PARAMS (2) - -/**Disables any encoder features that would prevent lossless transcoding back - * to VP3. - * This primarily means disabling block-level QI values and not using 4MV mode - * when any of the luma blocks in a macro block are not coded. - * It also includes using the VP3 quantization tables and Huffman codes; if you - * set them explicitly after calling this function, the resulting stream will - * not be VP3-compatible. - * If you enable VP3-compatibility when encoding 4:2:2 or 4:4:4 source - * material, or when using a picture region smaller than the full frame (e.g. - * a non-multiple-of-16 width or height), then non-VP3 bitstream features will - * still be disabled, but the stream will still not be VP3-compatible, as VP3 - * was not capable of encoding such formats. - * If you call this after encoding has already begun, then the quantization - * tables and codebooks cannot be changed, but the frame-level features will - * be enabled or disabled as requested. - * - * \param[in] buf int: a non-zero value to enable VP3 compatibility, - * or 0 to disable it (the default). - * \param[out] buf int: 1 if all bitstream features required for - * VP3-compatibility could be set, and 0 otherwise. - * The latter will be returned if the pixel format is not - * 4:2:0, the picture region is smaller than the full frame, - * or if encoding has begun, preventing the quantization - * tables and codebooks from being set. - * \retval OC_FAULT \a theora_state or \a buf is NULL. - * \retval OC_EINVAL \a buf_sz is not sizeof(int). - * \retval OC_IMPL Not supported by this implementation.*/ -#define TH_ENCCTL_SET_VP3_COMPATIBLE (10) - -/**Gets the maximum speed level. - * Higher speed levels favor quicker encoding over better quality per bit. - * Depending on the encoding mode, and the internal algorithms used, quality - * may actually improve, but in this case bitrate will also likely increase. - * In any case, overall rate/distortion performance will probably decrease. - * The maximum value, and the meaning of each value, may change depending on - * the current encoding mode (VBR vs. CQI, etc.). - * - * \param[out] buf int: The maximum encoding speed level. - * \retval OC_FAULT \a theora_state or \a buf is NULL. - * \retval OC_EINVAL \a buf_sz is not sizeof(int). - * \retval OC_IMPL Not supported by this implementation in the current - * encoding mode.*/ -#define TH_ENCCTL_GET_SPLEVEL_MAX (12) - -/**Sets the speed level. - * By default a speed value of 1 is used. - * - * \param[in] buf int: The new encoding speed level. - * 0 is slowest, larger values use less CPU. - * \retval OC_FAULT \a theora_state or \a buf is NULL. - * \retval OC_EINVAL \a buf_sz is not sizeof(int), or the - * encoding speed level is out of bounds. - * The maximum encoding speed level may be - * implementation- and encoding mode-specific, and can be - * obtained via #TH_ENCCTL_GET_SPLEVEL_MAX. - * \retval OC_IMPL Not supported by this implementation in the current - * encoding mode.*/ -#define TH_ENCCTL_SET_SPLEVEL (14) - -/*@}*/ - -#define OC_FAULT -1 /**< General failure */ -#define OC_EINVAL -10 /**< Library encountered invalid internal data */ -#define OC_DISABLED -11 /**< Requested action is disabled */ -#define OC_BADHEADER -20 /**< Header packet was corrupt/invalid */ -#define OC_NOTFORMAT -21 /**< Packet is not a theora packet */ -#define OC_VERSION -22 /**< Bitstream version is not handled */ -#define OC_IMPL -23 /**< Feature or action not implemented */ -#define OC_BADPACKET -24 /**< Packet is corrupt */ -#define OC_NEWPACKET -25 /**< Packet is an (ignorable) unhandled extension */ -#define OC_DUPFRAME 1 /**< Packet is a dropped frame */ - -/** - * Retrieve a human-readable string to identify the encoder vendor and version. - * \returns A version string. - */ -extern const char *theora_version_string(void); - -/** - * Retrieve a 32-bit version number. - * This number is composed of a 16-bit major version, 8-bit minor version - * and 8 bit sub-version, composed as follows: -
-   (VERSION_MAJOR<<16) + (VERSION_MINOR<<8) + (VERSION_SUB)
-
-* \returns The version number. -*/ -extern ogg_uint32_t theora_version_number(void); - -/** - * Initialize the theora encoder. - * \param th The theora_state handle to initialize for encoding. - * \param ti A theora_info struct filled with the desired encoding parameters. - * \retval 0 Success - */ -extern int theora_encode_init(theora_state *th, theora_info *ti); - -/** - * Submit a YUV buffer to the theora encoder. - * \param t A theora_state handle previously initialized for encoding. - * \param yuv A buffer of YUV data to encode. Note that both the yuv_buffer - * struct and the luma/chroma buffers within should be allocated by - * the user. - * \retval OC_EINVAL Encoder is not ready, or is finished. - * \retval -1 The size of the given frame differs from those previously input - * \retval 0 Success - */ -extern int theora_encode_YUVin(theora_state *t, yuv_buffer *yuv); - -/** - * Request the next packet of encoded video. - * The encoded data is placed in a user-provided ogg_packet structure. - * \param t A theora_state handle previously initialized for encoding. - * \param last_p whether this is the last packet the encoder should produce. - * \param op An ogg_packet structure to fill. libtheora will set all - * elements of this structure, including a pointer to encoded - * data. The memory for the encoded data is owned by libtheora. - * \retval 0 No internal storage exists OR no packet is ready - * \retval -1 The encoding process has completed - * \retval 1 Success - */ -extern int theora_encode_packetout( theora_state *t, int last_p, - ogg_packet *op); - -/** - * Request a packet containing the initial header. - * A pointer to the header data is placed in a user-provided ogg_packet - * structure. - * \param t A theora_state handle previously initialized for encoding. - * \param op An ogg_packet structure to fill. libtheora will set all - * elements of this structure, including a pointer to the header - * data. The memory for the header data is owned by libtheora. - * \retval 0 Success - */ -extern int theora_encode_header(theora_state *t, ogg_packet *op); - -/** - * Request a comment header packet from provided metadata. - * A pointer to the comment data is placed in a user-provided ogg_packet - * structure. - * \param tc A theora_comment structure filled with the desired metadata - * \param op An ogg_packet structure to fill. libtheora will set all - * elements of this structure, including a pointer to the encoded - * comment data. The memory for the comment data is owned by - * libtheora. - * \retval 0 Success - */ -extern int theora_encode_comment(theora_comment *tc, ogg_packet *op); - -/** - * Request a packet containing the codebook tables for the stream. - * A pointer to the codebook data is placed in a user-provided ogg_packet - * structure. - * \param t A theora_state handle previously initialized for encoding. - * \param op An ogg_packet structure to fill. libtheora will set all - * elements of this structure, including a pointer to the codebook - * data. The memory for the header data is owned by libtheora. - * \retval 0 Success - */ -extern int theora_encode_tables(theora_state *t, ogg_packet *op); - -/** - * Decode an Ogg packet, with the expectation that the packet contains - * an initial header, comment data or codebook tables. - * - * \param ci A theora_info structure to fill. This must have been previously - * initialized with theora_info_init(). If \a op contains an initial - * header, theora_decode_header() will fill \a ci with the - * parsed header values. If \a op contains codebook tables, - * theora_decode_header() will parse these and attach an internal - * representation to \a ci->codec_setup. - * \param cc A theora_comment structure to fill. If \a op contains comment - * data, theora_decode_header() will fill \a cc with the parsed - * comments. - * \param op An ogg_packet structure which you expect contains an initial - * header, comment data or codebook tables. - * - * \retval OC_BADHEADER \a op is NULL; OR the first byte of \a op->packet - * has the signature of an initial packet, but op is - * not a b_o_s packet; OR this packet has the signature - * of an initial header packet, but an initial header - * packet has already been seen; OR this packet has the - * signature of a comment packet, but the initial header - * has not yet been seen; OR this packet has the signature - * of a comment packet, but contains invalid data; OR - * this packet has the signature of codebook tables, - * but the initial header or comments have not yet - * been seen; OR this packet has the signature of codebook - * tables, but contains invalid data; - * OR the stream being decoded has a compatible version - * but this packet does not have the signature of a - * theora initial header, comments, or codebook packet - * \retval OC_VERSION The packet data of \a op is an initial header with - * a version which is incompatible with this version of - * libtheora. - * \retval OC_NEWPACKET the stream being decoded has an incompatible (future) - * version and contains an unknown signature. - * \retval 0 Success - * - * \note The normal usage is that theora_decode_header() be called on the - * first three packets of a theora logical bitstream in succession. - */ -extern int theora_decode_header(theora_info *ci, theora_comment *cc, - ogg_packet *op); - -/** - * Initialize a theora_state handle for decoding. - * \param th The theora_state handle to initialize. - * \param c A theora_info struct filled with the desired decoding parameters. - * This is of course usually obtained from a previous call to - * theora_decode_header(). - * \retval 0 Success - */ -extern int theora_decode_init(theora_state *th, theora_info *c); - -/** - * Input a packet containing encoded data into the theora decoder. - * \param th A theora_state handle previously initialized for decoding. - * \param op An ogg_packet containing encoded theora data. - * \retval 0 Success - * \retval OC_BADPACKET \a op does not contain encoded video data - */ -extern int theora_decode_packetin(theora_state *th,ogg_packet *op); - -/** - * Output the next available frame of decoded YUV data. - * \param th A theora_state handle previously initialized for decoding. - * \param yuv A yuv_buffer in which libtheora should place the decoded data. - * Note that the buffer struct itself is allocated by the user, but - * that the luma and chroma pointers will be filled in by the - * library. Also note that these luma and chroma regions should be - * considered read-only by the user. - * \retval 0 Success - */ -extern int theora_decode_YUVout(theora_state *th,yuv_buffer *yuv); - -/** - * Report whether a theora packet is a header or not - * This function does no verification beyond checking the header - * flag bit so it should not be used for bitstream identification; - * use theora_decode_header() for that. - * - * \param op An ogg_packet containing encoded theora data. - * \retval 1 The packet is a header packet - * \retval 0 The packet is not a header packet (and so contains frame data) - * - * Thus function was added in the 1.0alpha4 release. - */ -extern int theora_packet_isheader(ogg_packet *op); - -/** - * Report whether a theora packet is a keyframe or not - * - * \param op An ogg_packet containing encoded theora data. - * \retval 1 The packet contains a keyframe image - * \retval 0 The packet is contains an interframe delta - * \retval -1 The packet is not an image data packet at all - * - * Thus function was added in the 1.0alpha4 release. - */ -extern int theora_packet_iskeyframe(ogg_packet *op); - -/** - * Report the granulepos shift radix - * - * When embedded in Ogg, Theora uses a two-part granulepos, - * splitting the 64-bit field into two pieces. The more-significant - * section represents the frame count at the last keyframe, - * and the less-significant section represents the count of - * frames since the last keyframe. In this way the overall - * field is still non-decreasing with time, but usefully encodes - * a pointer to the last keyframe, which is necessary for - * correctly restarting decode after a seek. - * - * This function reports the number of bits used to represent - * the distance to the last keyframe, and thus how the granulepos - * field must be shifted or masked to obtain the two parts. - * - * Since libtheora returns compressed data in an ogg_packet - * structure, this may be generally useful even if the Theora - * packets are not being used in an Ogg container. - * - * \param ti A previously initialized theora_info struct - * \returns The bit shift dividing the two granulepos fields - * - * This function was added in the 1.0alpha5 release. - */ -int theora_granule_shift(theora_info *ti); - -/** - * Convert a granulepos to an absolute frame index, starting at 0. - * The granulepos is interpreted in the context of a given theora_state handle. - * - * Note that while the granulepos encodes the frame count (i.e. starting - * from 1) this call returns the frame index, starting from zero. Thus - * One can calculate the presentation time by multiplying the index by - * the rate. - * - * \param th A previously initialized theora_state handle (encode or decode) - * \param granulepos The granulepos to convert. - * \returns The frame index corresponding to \a granulepos. - * \retval -1 The given granulepos is undefined (i.e. negative) - * - * Thus function was added in the 1.0alpha4 release. - */ -extern ogg_int64_t theora_granule_frame(theora_state *th,ogg_int64_t granulepos); - -/** - * Convert a granulepos to absolute time in seconds. The granulepos is - * interpreted in the context of a given theora_state handle, and gives - * the end time of a frame's presentation as used in Ogg mux ordering. - * - * \param th A previously initialized theora_state handle (encode or decode) - * \param granulepos The granulepos to convert. - * \returns The absolute time in seconds corresponding to \a granulepos. - * This is the "end time" for the frame, or the latest time it should - * be displayed. - * It is not the presentation time. - * \retval -1. The given granulepos is undefined (i.e. negative), or - * \retval -1. The function has been disabled because floating - * point support is not available. - */ -extern double theora_granule_time(theora_state *th,ogg_int64_t granulepos); - -/** - * Initialize a theora_info structure. All values within the given theora_info - * structure are initialized, and space is allocated within libtheora for - * internal codec setup data. - * \param c A theora_info struct to initialize. - */ -extern void theora_info_init(theora_info *c); - -/** - * Clear a theora_info structure. All values within the given theora_info - * structure are cleared, and associated internal codec setup data is freed. - * \param c A theora_info struct to initialize. - */ -extern void theora_info_clear(theora_info *c); - -/** - * Free all internal data associated with a theora_state handle. - * \param t A theora_state handle. - */ -extern void theora_clear(theora_state *t); - -/** - * Initialize an allocated theora_comment structure - * \param tc An allocated theora_comment structure - **/ -extern void theora_comment_init(theora_comment *tc); - -/** - * Add a comment to an initialized theora_comment structure - * \param tc A previously initialized theora comment structure - * \param comment A null-terminated string encoding the comment in the form - * "TAG=the value" - * - * Neither theora_comment_add() nor theora_comment_add_tag() support - * comments containing null values, although the bitstream format - * supports this. To add such comments you will need to manipulate - * the theora_comment structure directly. - **/ - -extern void theora_comment_add(theora_comment *tc, char *comment); - -/** - * Add a comment to an initialized theora_comment structure. - * \param tc A previously initialized theora comment structure - * \param tag A null-terminated string containing the tag - * associated with the comment. - * \param value The corresponding value as a null-terminated string - * - * Neither theora_comment_add() nor theora_comment_add_tag() support - * comments containing null values, although the bitstream format - * supports this. To add such comments you will need to manipulate - * the theora_comment structure directly. - **/ -extern void theora_comment_add_tag(theora_comment *tc, - char *tag, char *value); - -/** - * Look up a comment value by tag. - * \param tc Tn initialized theora_comment structure - * \param tag The tag to look up - * \param count The instance of the tag. The same tag can appear multiple - * times, each with a distinct and ordered value, so an index - * is required to retrieve them all. - * \returns A pointer to the queried tag's value - * \retval NULL No matching tag is found - * - * \note Use theora_comment_query_count() to get the legal range for the - * count parameter. - **/ - -extern char *theora_comment_query(theora_comment *tc, char *tag, int count); - -/** Look up the number of instances of a tag. - * \param tc An initialized theora_comment structure - * \param tag The tag to look up - * \returns The number on instances of a particular tag. - * - * Call this first when querying for a specific tag and then interate - * over the number of instances with separate calls to - * theora_comment_query() to retrieve all instances in order. - **/ -extern int theora_comment_query_count(theora_comment *tc, char *tag); - -/** - * Clear an allocated theora_comment struct so that it can be freed. - * \param tc An allocated theora_comment structure. - **/ -extern void theora_comment_clear(theora_comment *tc); - -/**Encoder control function. - * This is used to provide advanced control the encoding process. - * \param th A #theora_state handle. - * \param req The control code to process. - * See \ref encctlcodes_old "the list of available - * control codes" for details. - * \param buf The parameters for this control code. - * \param buf_sz The size of the parameter buffer.*/ -extern int theora_control(theora_state *th,int req,void *buf,size_t buf_sz); - -/* @} */ /* end oldfuncs doxygen group */ - -#ifdef __cplusplus -} -#endif /* __cplusplus */ - -#endif /* _O_THEORA_H_ */ diff --git a/Libraries/theora/include/theora/theoradec.h b/Libraries/theora/include/theora/theoradec.h deleted file mode 100644 index b20f0e3a..00000000 --- a/Libraries/theora/include/theora/theoradec.h +++ /dev/null @@ -1,325 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: theora.h,v 1.8 2004/03/15 22:17:32 derf Exp $ - - ********************************************************************/ - -/**\file - * The libtheoradec C decoding API.*/ - -#if !defined(_O_THEORA_THEORADEC_H_) -# define _O_THEORA_THEORADEC_H_ (1) -# include -# include -# include "codec.h" - -#if defined(__cplusplus) -extern "C" { -#endif - - - -/**\name th_decode_ctl() codes - * \anchor decctlcodes - * These are the available request codes for th_decode_ctl(). - * By convention, these are odd, to distinguish them from the - * \ref encctlcodes "encoder control codes". - * Keep any experimental or vendor-specific values above \c 0x8000.*/ -/*@{*/ -/**Gets the maximum post-processing level. - * The decoder supports a post-processing filter that can improve - * the appearance of the decoded images. This returns the highest - * level setting for this post-processor, corresponding to maximum - * improvement and computational expense. - * - * \param[out] _buf int: The maximum post-processing level. - * \retval TH_EFAULT \a _dec_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(int). - * \retval TH_EIMPL Not supported by this implementation.*/ -#define TH_DECCTL_GET_PPLEVEL_MAX (1) -/**Sets the post-processing level. - * By default, post-processing is disabled. - * - * Sets the level of post-processing to use when decoding the - * compressed stream. This must be a value between zero (off) - * and the maximum returned by TH_DECCTL_GET_PPLEVEL_MAX. - * - * \param[in] _buf int: The new post-processing level. - * 0 to disable; larger values use more CPU. - * \retval TH_EFAULT \a _dec_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(int), or the - * post-processing level is out of bounds. - * The maximum post-processing level may be - * implementation-specific, and can be obtained via - * #TH_DECCTL_GET_PPLEVEL_MAX. - * \retval TH_EIMPL Not supported by this implementation.*/ -#define TH_DECCTL_SET_PPLEVEL (3) -/**Sets the granule position. - * Call this after a seek, before decoding the first frame, to ensure that the - * proper granule position is returned for all subsequent frames. - * If you track timestamps yourself and do not use the granule position - * returned by the decoder, then you need not call this function. - * - * \param[in] _buf ogg_int64_t: The granule position of the next - * frame. - * \retval TH_EFAULT \a _dec_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(ogg_int64_t), or the - * granule position is negative.*/ -#define TH_DECCTL_SET_GRANPOS (5) -/**Sets the striped decode callback function. - * If set, this function will be called as each piece of a frame is fully - * decoded in th_decode_packetin(). - * You can pass in a #th_stripe_callback with - * th_stripe_callback#stripe_decoded set to NULL to disable the - * callbacks at any point. - * Enabling striped decode does not prevent you from calling - * th_decode_ycbcr_out() after the frame is fully decoded. - * - * \param[in] _buf #th_stripe_callback: The callback parameters. - * \retval TH_EFAULT \a _dec_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not - * sizeof(th_stripe_callback).*/ -#define TH_DECCTL_SET_STRIPE_CB (7) - -/**Enables telemetry and sets the macroblock display mode */ -#define TH_DECCTL_SET_TELEMETRY_MBMODE (9) -/**Enables telemetry and sets the motion vector display mode */ -#define TH_DECCTL_SET_TELEMETRY_MV (11) -/**Enables telemetry and sets the adaptive quantization display mode */ -#define TH_DECCTL_SET_TELEMETRY_QI (13) -/**Enables telemetry and sets the bitstream breakdown visualization mode */ -#define TH_DECCTL_SET_TELEMETRY_BITS (15) -/*@}*/ - - - -/**A callback function for striped decode. - * This is a function pointer to an application-provided function that will be - * called each time a section of the image is fully decoded in - * th_decode_packetin(). - * This allows the application to process the section immediately, while it is - * still in cache. - * Note that the frame is decoded bottom to top, so \a _yfrag0 will steadily - * decrease with each call until it reaches 0, at which point the full frame - * is decoded. - * The number of fragment rows made available in each call depends on the pixel - * format and the number of post-processing filters enabled, and may not even - * be constant for the entire frame. - * If a non-NULL \a _granpos pointer is passed to - * th_decode_packetin(), the granule position for the frame will be stored - * in it before the first callback is made. - * If an entire frame is dropped (a 0-byte packet), then no callbacks will be - * made at all for that frame. - * \param _ctx An application-provided context pointer. - * \param _buf The image buffer for the decoded frame. - * \param _yfrag0 The Y coordinate of the first row of 8x8 fragments - * decoded. - * Multiply this by 8 to obtain the pixel row number in the - * luma plane. - * If the chroma planes are subsampled in the Y direction, - * this will always be divisible by two. - * \param _yfrag_end The Y coordinate of the first row of 8x8 fragments past - * the newly decoded section. - * If the chroma planes are subsampled in the Y direction, - * this will always be divisible by two. - * I.e., this section contains fragment rows - * \a _yfrag0 ...\a _yfrag_end -1.*/ -typedef void (*th_stripe_decoded_func)(void *_ctx,th_ycbcr_buffer _buf, - int _yfrag0,int _yfrag_end); - -/**The striped decode callback data to pass to #TH_DECCTL_SET_STRIPE_CB.*/ -typedef struct{ - /**An application-provided context pointer. - * This will be passed back verbatim to the application.*/ - void *ctx; - /**The callback function pointer.*/ - th_stripe_decoded_func stripe_decoded; -}th_stripe_callback; - - - -/**\name Decoder state - The following data structures are opaque, and their contents are not - publicly defined by this API. - Referring to their internals directly is unsupported, and may break without - warning.*/ -/*@{*/ -/**The decoder context.*/ -typedef struct th_dec_ctx th_dec_ctx; -/**Setup information. - This contains auxiliary information (Huffman tables and quantization - parameters) decoded from the setup header by th_decode_headerin() to be - passed to th_decode_alloc(). - It can be re-used to initialize any number of decoders, and can be freed - via th_setup_free() at any time.*/ -typedef struct th_setup_info th_setup_info; -/*@}*/ - - - -/**\defgroup decfuncs Functions for Decoding*/ -/*@{*/ -/**\name Functions for decoding - * You must link to libtheoradec if you use any of the - * functions in this section. - * - * The functions are listed in the order they are used in a typical decode. - * The basic steps are: - * - Parse the header packets by repeatedly calling th_decode_headerin(). - * - Allocate a #th_dec_ctx handle with th_decode_alloc(). - * - Call th_setup_free() to free any memory used for codec setup - * information. - * - Perform any additional decoder configuration with th_decode_ctl(). - * - For each video data packet: - * - Submit the packet to the decoder via th_decode_packetin(). - * - Retrieve the uncompressed video data via th_decode_ycbcr_out(). - * - Call th_decode_free() to release all decoder memory.*/ -/*@{*/ -/**Decodes the header packets of a Theora stream. - * This should be called on the initial packets of the stream, in succession, - * until it returns 0, indicating that all headers have been - * processed, or an error is encountered. - * At least three header packets are required, and additional optional header - * packets may follow. - * This can be used on the first packet of any logical stream to determine if - * that stream is a Theora stream. - * \param _info A #th_info structure to fill in. - * This must have been previously initialized with - * th_info_init(). - * The application may immediately begin using the contents of - * this structure after the first header is decoded, though it - * must continue to be passed in on all subsequent calls. - * \param _tc A #th_comment structure to fill in. - * The application may immediately begin using the contents of - * this structure after the second header is decoded, though it - * must continue to be passed in on all subsequent calls. - * \param _setup Returns a pointer to additional, private setup information - * needed by the decoder. - * The contents of this pointer must be initialized to - * NULL on the first call, and the returned value must - * continue to be passed in on all subsequent calls. - * \param _op An ogg_packet structure which contains one of the - * initial packets of an Ogg logical stream. - * \return A positive value indicates that a Theora header was successfully - * processed. - * \retval 0 The first video data packet was encountered after all - * required header packets were parsed. - * The packet just passed in on this call should be saved - * and fed to th_decode_packetin() to begin decoding - * video data. - * \retval TH_EFAULT One of \a _info, \a _tc, or \a _setup was - * NULL. - * \retval TH_EBADHEADER \a _op was NULL, the packet was not the next - * header packet in the expected sequence, or the format - * of the header data was invalid. - * \retval TH_EVERSION The packet data was a Theora info header, but for a - * bitstream version not decodable with this version of - * libtheoradec. - * \retval TH_ENOTFORMAT The packet was not a Theora header. - */ -extern int th_decode_headerin(th_info *_info,th_comment *_tc, - th_setup_info **_setup,ogg_packet *_op); -/**Allocates a decoder instance. - * - * Security Warning: The Theora format supports very large frame sizes, - * potentially even larger than the address space of a 32-bit machine, and - * creating a decoder context allocates the space for several frames of data. - * If the allocation fails here, your program will crash, possibly at some - * future point because the OS kernel returned a valid memory range and will - * only fail when it tries to map the pages in it the first time they are - * used. - * Even if it succeeds, you may experience a denial of service if the frame - * size is large enough to cause excessive paging. - * If you are integrating libtheora in a larger application where such things - * are undesirable, it is highly recommended that you check the frame size in - * \a _info before calling this function and refuse to decode streams where it - * is larger than some reasonable maximum. - * libtheora will not check this for you, because there may be machines that - * can handle such streams and applications that wish to. - * \param _info A #th_info struct filled via th_decode_headerin(). - * \param _setup A #th_setup_info handle returned via - * th_decode_headerin(). - * \return The initialized #th_dec_ctx handle. - * \retval NULL If the decoding parameters were invalid.*/ -extern th_dec_ctx *th_decode_alloc(const th_info *_info, - const th_setup_info *_setup); -/**Releases all storage used for the decoder setup information. - * This should be called after you no longer want to create any decoders for - * a stream whose headers you have parsed with th_decode_headerin(). - * \param _setup The setup information to free. - * This can safely be NULL.*/ -extern void th_setup_free(th_setup_info *_setup); -/**Decoder control function. - * This is used to provide advanced control of the decoding process. - * \param _dec A #th_dec_ctx handle. - * \param _req The control code to process. - * See \ref decctlcodes "the list of available control codes" - * for details. - * \param _buf The parameters for this control code. - * \param _buf_sz The size of the parameter buffer.*/ -extern int th_decode_ctl(th_dec_ctx *_dec,int _req,void *_buf, - size_t _buf_sz); -/**Submits a packet containing encoded video data to the decoder. - * \param _dec A #th_dec_ctx handle. - * \param _op An ogg_packet containing encoded video data. - * \param _granpos Returns the granule position of the decoded packet. - * If non-NULL, the granule position for this specific - * packet is stored in this location. - * This is computed incrementally from previously decoded - * packets. - * After a seek, the correct granule position must be set via - * #TH_DECCTL_SET_GRANPOS for this to work properly. - * \retval 0 Success. - * A new decoded frame can be retrieved by calling - * th_decode_ycbcr_out(). - * \retval TH_DUPFRAME The packet represented a dropped (0-byte) frame. - * The player can skip the call to th_decode_ycbcr_out(), - * as the contents of the decoded frame buffer have not - * changed. - * \retval TH_EFAULT \a _dec or \a _op was NULL. - * \retval TH_EBADPACKET \a _op does not contain encoded video data. - * \retval TH_EIMPL The video data uses bitstream features which this - * library does not support.*/ -extern int th_decode_packetin(th_dec_ctx *_dec,const ogg_packet *_op, - ogg_int64_t *_granpos); -/**Outputs the next available frame of decoded Y'CbCr data. - * If a striped decode callback has been set with #TH_DECCTL_SET_STRIPE_CB, - * then the application does not need to call this function. - * \param _dec A #th_dec_ctx handle. - * \param _ycbcr A video buffer structure to fill in. - * libtheoradec will fill in all the members of this - * structure, including the pointers to the uncompressed video - * data. - * The memory for this video data is owned by - * libtheoradec. - * It may be freed or overwritten without notification when - * subsequent frames are decoded. - * \retval 0 Success - * \retval TH_EFAULT \a _dec or \a _ycbcr was NULL. - */ -extern int th_decode_ycbcr_out(th_dec_ctx *_dec, - th_ycbcr_buffer _ycbcr); -/**Frees an allocated decoder instance. - * \param _dec A #th_dec_ctx handle.*/ -extern void th_decode_free(th_dec_ctx *_dec); -/*@}*/ -/*@}*/ - - - -#if defined(__cplusplus) -} -#endif - -#endif diff --git a/Libraries/theora/include/theora/theoraenc.h b/Libraries/theora/include/theora/theoraenc.h deleted file mode 100644 index fdf2ab21..00000000 --- a/Libraries/theora/include/theora/theoraenc.h +++ /dev/null @@ -1,486 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: theora.h,v 1.8 2004/03/15 22:17:32 derf Exp $ - - ********************************************************************/ - -/**\file - * The libtheoraenc C encoding API.*/ - -#if !defined(_O_THEORA_THEORAENC_H_) -# define _O_THEORA_THEORAENC_H_ (1) -# include -# include -# include "codec.h" - -#if defined(__cplusplus) -extern "C" { -#endif - - - -/**\name th_encode_ctl() codes - * \anchor encctlcodes - * These are the available request codes for th_encode_ctl(). - * By convention, these are even, to distinguish them from the - * \ref decctlcodes "decoder control codes". - * Keep any experimental or vendor-specific values above \c 0x8000.*/ -/*@{*/ -/**Sets the Huffman tables to use. - * The tables are copied, not stored by reference, so they can be freed after - * this call. - * NULL may be specified to revert to the default tables. - * - * \param[in] _buf #th_huff_code[#TH_NHUFFMAN_TABLES][#TH_NDCT_TOKENS] - * \retval TH_EFAULT \a _enc_ctx is NULL. - * \retval TH_EINVAL Encoding has already begun or one or more of the given - * tables is not full or prefix-free, \a _buf is - * NULL and \a _buf_sz is not zero, or \a _buf is - * non-NULL and \a _buf_sz is not - * sizeof(#th_huff_code)*#TH_NHUFFMAN_TABLES*#TH_NDCT_TOKENS. - * \retval TH_EIMPL Not supported by this implementation.*/ -#define TH_ENCCTL_SET_HUFFMAN_CODES (0) -/**Sets the quantization parameters to use. - * The parameters are copied, not stored by reference, so they can be freed - * after this call. - * NULL may be specified to revert to the default parameters. - * - * \param[in] _buf #th_quant_info - * \retval TH_EFAULT \a _enc_ctx is NULL. - * \retval TH_EINVAL Encoding has already begun, \a _buf is - * NULL and \a _buf_sz is not zero, - * or \a _buf is non-NULL and - * \a _buf_sz is not sizeof(#th_quant_info). - * \retval TH_EIMPL Not supported by this implementation.*/ -#define TH_ENCCTL_SET_QUANT_PARAMS (2) -/**Sets the maximum distance between key frames. - * This can be changed during an encode, but will be bounded by - * 1<. - * If it is set before encoding begins, th_info#keyframe_granule_shift will - * be enlarged appropriately. - * - * \param[in] _buf ogg_uint32_t: The maximum distance between key - * frames. - * \param[out] _buf ogg_uint32_t: The actual maximum distance set. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(ogg_uint32_t). - * \retval TH_EIMPL Not supported by this implementation.*/ -#define TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE (4) -/**Disables any encoder features that would prevent lossless transcoding back - * to VP3. - * This primarily means disabling block-adaptive quantization and always coding - * all four luma blocks in a macro block when 4MV is used. - * It also includes using the VP3 quantization tables and Huffman codes; if you - * set them explicitly after calling this function, the resulting stream will - * not be VP3-compatible. - * If you enable VP3-compatibility when encoding 4:2:2 or 4:4:4 source - * material, or when using a picture region smaller than the full frame (e.g. - * a non-multiple-of-16 width or height), then non-VP3 bitstream features will - * still be disabled, but the stream will still not be VP3-compatible, as VP3 - * was not capable of encoding such formats. - * If you call this after encoding has already begun, then the quantization - * tables and codebooks cannot be changed, but the frame-level features will - * be enabled or disabled as requested. - * - * \param[in] _buf int: a non-zero value to enable VP3 compatibility, - * or 0 to disable it (the default). - * \param[out] _buf int: 1 if all bitstream features required for - * VP3-compatibility could be set, and 0 otherwise. - * The latter will be returned if the pixel format is not - * 4:2:0, the picture region is smaller than the full frame, - * or if encoding has begun, preventing the quantization - * tables and codebooks from being set. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(int). - * \retval TH_EIMPL Not supported by this implementation.*/ -#define TH_ENCCTL_SET_VP3_COMPATIBLE (10) -/**Gets the maximum speed level. - * Higher speed levels favor quicker encoding over better quality per bit. - * Depending on the encoding mode, and the internal algorithms used, quality - * may actually improve, but in this case bitrate will also likely increase. - * In any case, overall rate/distortion performance will probably decrease. - * The maximum value, and the meaning of each value, may change depending on - * the current encoding mode (VBR vs. constant quality, etc.). - * - * \param[out] _buf int: The maximum encoding speed level. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(int). - * \retval TH_EIMPL Not supported by this implementation in the current - * encoding mode.*/ -#define TH_ENCCTL_GET_SPLEVEL_MAX (12) -/**Sets the speed level. - * The current speed level may be retrieved using #TH_ENCCTL_GET_SPLEVEL. - * - * \param[in] _buf int: The new encoding speed level. - * 0 is slowest, larger values use less CPU. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(int), or the - * encoding speed level is out of bounds. - * The maximum encoding speed level may be - * implementation- and encoding mode-specific, and can be - * obtained via #TH_ENCCTL_GET_SPLEVEL_MAX. - * \retval TH_EIMPL Not supported by this implementation in the current - * encoding mode.*/ -#define TH_ENCCTL_SET_SPLEVEL (14) -/**Gets the current speed level. - * The default speed level may vary according to encoder implementation, but if - * this control code is not supported (it returns #TH_EIMPL), the default may - * be assumed to be the slowest available speed (0). - * The maximum encoding speed level may be implementation- and encoding - * mode-specific, and can be obtained via #TH_ENCCTL_GET_SPLEVEL_MAX. - * - * \param[out] _buf int: The current encoding speed level. - * 0 is slowest, larger values use less CPU. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(int). - * \retval TH_EIMPL Not supported by this implementation in the current - * encoding mode.*/ -#define TH_ENCCTL_GET_SPLEVEL (16) -/**Sets the number of duplicates of the next frame to produce. - * Although libtheora can encode duplicate frames very cheaply, it costs some - * amount of CPU to detect them, and a run of duplicates cannot span a - * keyframe boundary. - * This control code tells the encoder to produce the specified number of extra - * duplicates of the next frame. - * This allows the encoder to make smarter keyframe placement decisions and - * rate control decisions, and reduces CPU usage as well, when compared to - * just submitting the same frame for encoding multiple times. - * This setting only applies to the next frame submitted for encoding. - * You MUST call th_encode_packetout() repeatedly until it returns 0, or the - * extra duplicate frames will be lost. - * - * \param[in] _buf int: The number of duplicates to produce. - * If this is negative or zero, no duplicates will be produced. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(int), or the - * number of duplicates is greater than or equal to the - * maximum keyframe interval. - * In the latter case, NO duplicate frames will be produced. - * You must ensure that the maximum keyframe interval is set - * larger than the maximum number of duplicates you will - * ever wish to insert prior to encoding. - * \retval TH_EIMPL Not supported by this implementation in the current - * encoding mode.*/ -#define TH_ENCCTL_SET_DUP_COUNT (18) -/**Modifies the default bitrate management behavior. - * Use to allow or disallow frame dropping, and to enable or disable capping - * bit reservoir overflows and underflows. - * See \ref encctlcodes "the list of available flags". - * The flags are set by default to - * #TH_RATECTL_DROP_FRAMES|#TH_RATECTL_CAP_OVERFLOW. - * - * \param[in] _buf int: Any combination of - * \ref ratectlflags "the available flags": - * - #TH_RATECTL_DROP_FRAMES: Enable frame dropping. - * - #TH_RATECTL_CAP_OVERFLOW: Don't bank excess bits for later - * use. - * - #TH_RATECTL_CAP_UNDERFLOW: Don't try to make up shortfalls - * later. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(int) or rate control - * is not enabled. - * \retval TH_EIMPL Not supported by this implementation in the current - * encoding mode.*/ -#define TH_ENCCTL_SET_RATE_FLAGS (20) -/**Sets the size of the bitrate management bit reservoir as a function - * of number of frames. - * The reservoir size affects how quickly bitrate management reacts to - * instantaneous changes in the video complexity. - * Larger reservoirs react more slowly, and provide better overall quality, but - * require more buffering by a client, adding more latency to live streams. - * By default, libtheora sets the reservoir to the maximum distance between - * keyframes, subject to a minimum and maximum limit. - * This call may be used to increase or decrease the reservoir, increasing or - * decreasing the allowed temporary variance in bitrate. - * An implementation may impose some limits on the size of a reservoir it can - * handle, in which case the actual reservoir size may not be exactly what was - * requested. - * The actual value set will be returned. - * - * \param[in] _buf int: Requested size of the reservoir measured in - * frames. - * \param[out] _buf int: The actual size of the reservoir set. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(int), or rate control - * is not enabled. The buffer has an implementation - * defined minimum and maximum size and the value in _buf - * will be adjusted to match the actual value set. - * \retval TH_EIMPL Not supported by this implementation in the current - * encoding mode.*/ -#define TH_ENCCTL_SET_RATE_BUFFER (22) -/**Enable pass 1 of two-pass encoding mode and retrieve the first pass metrics. - * Pass 1 mode must be enabled before the first frame is encoded, and a target - * bitrate must have already been specified to the encoder. - * Although this does not have to be the exact rate that will be used in the - * second pass, closer values may produce better results. - * The first call returns the size of the two-pass header data, along with some - * placeholder content, and sets the encoder into pass 1 mode implicitly. - * This call sets the encoder to pass 1 mode implicitly. - * Then, a subsequent call must be made after each call to - * th_encode_ycbcr_in() to retrieve the metrics for that frame. - * An additional, final call must be made to retrieve the summary data, - * containing such information as the total number of frames, etc. - * This must be stored in place of the placeholder data that was returned - * in the first call, before the frame metrics data. - * All of this data must be presented back to the encoder during pass 2 using - * #TH_ENCCTL_2PASS_IN. - * - * \param[out] char *_buf: Returns a pointer to internal storage - * containing the two pass metrics data. - * This storage is only valid until the next call, or until the - * encoder context is freed, and must be copied by the - * application. - * \retval >=0 The number of bytes of metric data available in the - * returned buffer. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(char *), no target - * bitrate has been set, or the first call was made after - * the first frame was submitted for encoding. - * \retval TH_EIMPL Not supported by this implementation.*/ -#define TH_ENCCTL_2PASS_OUT (24) -/**Submits two-pass encoding metric data collected the first encoding pass to - * the second pass. - * The first call must be made before the first frame is encoded, and a target - * bitrate must have already been specified to the encoder. - * It sets the encoder to pass 2 mode implicitly; this cannot be disabled. - * The encoder may require reading data from some or all of the frames in - * advance, depending on, e.g., the reservoir size used in the second pass. - * You must call this function repeatedly before each frame to provide data - * until either a) it fails to consume all of the data presented or b) all of - * the pass 1 data has been consumed. - * In the first case, you must save the remaining data to be presented after - * the next frame. - * You can call this function with a NULL argument to get an upper bound on - * the number of bytes that will be required before the next frame. - * - * When pass 2 is first enabled, the default bit reservoir is set to the entire - * file; this gives maximum flexibility but can lead to very high peak rates. - * You can subsequently set it to another value with #TH_ENCCTL_SET_RATE_BUFFER - * (e.g., to set it to the keyframe interval for non-live streaming), however, - * you may then need to provide more data before the next frame. - * - * \param[in] _buf char[]: A buffer containing the data returned by - * #TH_ENCCTL_2PASS_OUT in pass 1. - * You may pass NULL for \a _buf to return an upper - * bound on the number of additional bytes needed before the - * next frame. - * The summary data returned at the end of pass 1 must be at - * the head of the buffer on the first call with a - * non-NULL \a _buf, and the placeholder data - * returned at the start of pass 1 should be omitted. - * After each call you should advance this buffer by the number - * of bytes consumed. - * \retval >0 The number of bytes of metric data required/consumed. - * \retval 0 No more data is required before the next frame. - * \retval TH_EFAULT \a _enc_ctx is NULL. - * \retval TH_EINVAL No target bitrate has been set, or the first call was - * made after the first frame was submitted for - * encoding. - * \retval TH_ENOTFORMAT The data did not appear to be pass 1 from a compatible - * implementation of this library. - * \retval TH_EBADHEADER The data was invalid; this may be returned when - * attempting to read an aborted pass 1 file that still - * has the placeholder data in place of the summary - * data. - * \retval TH_EIMPL Not supported by this implementation.*/ -#define TH_ENCCTL_2PASS_IN (26) -/**Sets the current encoding quality. - * This is only valid so long as no bitrate has been specified, either through - * the #th_info struct used to initialize the encoder or through - * #TH_ENCCTL_SET_BITRATE (this restriction may be relaxed in a future - * version). - * If it is set before the headers are emitted, the target quality encoded in - * them will be updated. - * - * \param[in] _buf int: The new target quality, in the range 0...63, - * inclusive. - * \retval 0 Success. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL A target bitrate has already been specified, or the - * quality index was not in the range 0...63. - * \retval TH_EIMPL Not supported by this implementation.*/ -#define TH_ENCCTL_SET_QUALITY (28) -/**Sets the current encoding bitrate. - * Once a bitrate is set, the encoder must use a rate-controlled mode for all - * future frames (this restriction may be relaxed in a future version). - * If it is set before the headers are emitted, the target bitrate encoded in - * them will be updated. - * Due to the buffer delay, the exact bitrate of each section of the encode is - * not guaranteed. - * The encoder may have already used more bits than allowed for the frames it - * has encoded, expecting to make them up in future frames, or it may have - * used fewer, holding the excess in reserve. - * The exact transition between the two bitrates is not well-defined by this - * API, but may be affected by flags set with #TH_ENCCTL_SET_RATE_FLAGS. - * After a number of frames equal to the buffer delay, one may expect further - * output to average at the target bitrate. - * - * \param[in] _buf long: The new target bitrate, in bits per second. - * \retval 0 Success. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL The target bitrate was not positive. - * \retval TH_EIMPL Not supported by this implementation.*/ -#define TH_ENCCTL_SET_BITRATE (30) - -/*@}*/ - - -/**\name TH_ENCCTL_SET_RATE_FLAGS flags - * \anchor ratectlflags - * These are the flags available for use with #TH_ENCCTL_SET_RATE_FLAGS.*/ -/*@{*/ -/**Drop frames to keep within bitrate buffer constraints. - * This can have a severe impact on quality, but is the only way to ensure that - * bitrate targets are met at low rates during sudden bursts of activity.*/ -#define TH_RATECTL_DROP_FRAMES (0x1) -/**Ignore bitrate buffer overflows. - * If the encoder uses so few bits that the reservoir of available bits - * overflows, ignore the excess. - * The encoder will not try to use these extra bits in future frames. - * At high rates this may cause the result to be undersized, but allows a - * client to play the stream using a finite buffer; it should normally be - * enabled.*/ -#define TH_RATECTL_CAP_OVERFLOW (0x2) -/**Ignore bitrate buffer underflows. - * If the encoder uses so many bits that the reservoir of available bits - * underflows, ignore the deficit. - * The encoder will not try to make up these extra bits in future frames. - * At low rates this may cause the result to be oversized; it should normally - * be disabled.*/ -#define TH_RATECTL_CAP_UNDERFLOW (0x4) -/*@}*/ - - - -/**The quantization parameters used by VP3.*/ -extern const th_quant_info TH_VP31_QUANT_INFO; - -/**The Huffman tables used by VP3.*/ -extern const th_huff_code - TH_VP31_HUFF_CODES[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS]; - - - -/**\name Encoder state - The following data structure is opaque, and its contents are not publicly - defined by this API. - Referring to its internals directly is unsupported, and may break without - warning.*/ -/*@{*/ -/**The encoder context.*/ -typedef struct th_enc_ctx th_enc_ctx; -/*@}*/ - - - -/**\defgroup encfuncs Functions for Encoding*/ -/*@{*/ -/**\name Functions for encoding - * You must link to libtheoraenc and libtheoradec - * if you use any of the functions in this section. - * - * The functions are listed in the order they are used in a typical encode. - * The basic steps are: - * - Fill in a #th_info structure with details on the format of the video you - * wish to encode. - * - Allocate a #th_enc_ctx handle with th_encode_alloc(). - * - Perform any additional encoder configuration required with - * th_encode_ctl(). - * - Repeatedly call th_encode_flushheader() to retrieve all the header - * packets. - * - For each uncompressed frame: - * - Submit the uncompressed frame via th_encode_ycbcr_in() - * - Repeatedly call th_encode_packetout() to retrieve any video data packets - * that are ready. - * - Call th_encode_free() to release all encoder memory.*/ -/*@{*/ -/**Allocates an encoder instance. - * \param _info A #th_info struct filled with the desired encoding parameters. - * \return The initialized #th_enc_ctx handle. - * \retval NULL If the encoding parameters were invalid.*/ -extern th_enc_ctx *th_encode_alloc(const th_info *_info); -/**Encoder control function. - * This is used to provide advanced control the encoding process. - * \param _enc A #th_enc_ctx handle. - * \param _req The control code to process. - * See \ref encctlcodes "the list of available control codes" - * for details. - * \param _buf The parameters for this control code. - * \param _buf_sz The size of the parameter buffer.*/ -extern int th_encode_ctl(th_enc_ctx *_enc,int _req,void *_buf,size_t _buf_sz); -/**Outputs the next header packet. - * This should be called repeatedly after encoder initialization until it - * returns 0 in order to get all of the header packets, in order, before - * encoding actual video data. - * \param _enc A #th_enc_ctx handle. - * \param _comments The metadata to place in the comment header, when it is - * encoded. - * \param _op An ogg_packet structure to fill. - * All of the elements of this structure will be set, - * including a pointer to the header data. - * The memory for the header data is owned by - * libtheoraenc, and may be invalidated when the - * next encoder function is called. - * \return A positive value indicates that a header packet was successfully - * produced. - * \retval 0 No packet was produced, and no more header packets remain. - * \retval TH_EFAULT \a _enc, \a _comments, or \a _op was NULL.*/ -extern int th_encode_flushheader(th_enc_ctx *_enc, - th_comment *_comments,ogg_packet *_op); -/**Submits an uncompressed frame to the encoder. - * \param _enc A #th_enc_ctx handle. - * \param _ycbcr A buffer of Y'CbCr data to encode. - * \retval 0 Success. - * \retval TH_EFAULT \a _enc or \a _ycbcr is NULL. - * \retval TH_EINVAL The buffer size does not match the frame size the encoder - * was initialized with, or encoding has already - * completed.*/ -extern int th_encode_ycbcr_in(th_enc_ctx *_enc,th_ycbcr_buffer _ycbcr); -/**Retrieves encoded video data packets. - * This should be called repeatedly after each frame is submitted to flush any - * encoded packets, until it returns 0. - * The encoder will not buffer these packets as subsequent frames are - * compressed, so a failure to do so will result in lost video data. - * \note Currently the encoder operates in a one-frame-in, one-packet-out - * manner. - * However, this may be changed in the future. - * \param _enc A #th_enc_ctx handle. - * \param _last Set this flag to a non-zero value if no more uncompressed - * frames will be submitted. - * This ensures that a proper EOS flag is set on the last packet. - * \param _op An ogg_packet structure to fill. - * All of the elements of this structure will be set, including a - * pointer to the video data. - * The memory for the video data is owned by - * libtheoraenc, and may be invalidated when the next - * encoder function is called. - * \return A positive value indicates that a video data packet was successfully - * produced. - * \retval 0 No packet was produced, and no more encoded video data - * remains. - * \retval TH_EFAULT \a _enc or \a _op was NULL.*/ -extern int th_encode_packetout(th_enc_ctx *_enc,int _last,ogg_packet *_op); -/**Frees an allocated encoder instance. - * \param _enc A #th_enc_ctx handle.*/ -extern void th_encode_free(th_enc_ctx *_enc); -/*@}*/ -/*@}*/ - - - -#if defined(__cplusplus) -} -#endif - -#endif diff --git a/Libraries/theora/lib/x64/libtheora.lib b/Libraries/theora/lib/x64/libtheora.lib deleted file mode 100644 index 3ccb5bc3..00000000 Binary files a/Libraries/theora/lib/x64/libtheora.lib and /dev/null differ diff --git a/Libraries/theora/lib/x86/libtheora.lib b/Libraries/theora/lib/x86/libtheora.lib deleted file mode 100644 index 80df6dab..00000000 Binary files a/Libraries/theora/lib/x86/libtheora.lib and /dev/null differ diff --git a/Libraries/theora/maclib/libtheoradec.a b/Libraries/theora/maclib/libtheoradec.a deleted file mode 100644 index 2a241c88..00000000 Binary files a/Libraries/theora/maclib/libtheoradec.a and /dev/null differ -- cgit v1.2.3 From 869ba7a99ba37b12411c717f875e8d58cdad34f8 Mon Sep 17 00:00:00 2001 From: Stephan Vedder Date: Tue, 10 May 2022 16:35:07 +0200 Subject: Remove libtheora --- Libraries/libtheora-1.1.1/AUTHORS | 49 - Libraries/libtheora-1.1.1/CHANGES | 231 - Libraries/libtheora-1.1.1/COPYING | 28 - Libraries/libtheora-1.1.1/LICENSE | 18 - Libraries/libtheora-1.1.1/Makefile.am | 35 - Libraries/libtheora-1.1.1/Makefile.in | 597 - Libraries/libtheora-1.1.1/README | 152 - Libraries/libtheora-1.1.1/SConstruct | 225 - Libraries/libtheora-1.1.1/aclocal.m4 | 10370 --------- Libraries/libtheora-1.1.1/autogen.sh | 129 - Libraries/libtheora-1.1.1/compile | 99 - Libraries/libtheora-1.1.1/config.guess | 1354 -- Libraries/libtheora-1.1.1/config.h.in | 86 - Libraries/libtheora-1.1.1/config.sub | 1460 -- Libraries/libtheora-1.1.1/configure | 16495 --------------- Libraries/libtheora-1.1.1/configure.ac | 516 - Libraries/libtheora-1.1.1/depcomp | 423 - Libraries/libtheora-1.1.1/doc/Doxyfile.in | 1142 - Libraries/libtheora-1.1.1/doc/Makefile.am | 74 - Libraries/libtheora-1.1.1/doc/Makefile.in | 508 - Libraries/libtheora-1.1.1/doc/color.html | 602 - .../doc/draft-ietf-avt-rtp-theora-00.txt | 1400 -- .../doc/draft-ietf-avt-rtp-theora-00.xml | 1146 - .../doc/libtheora/html/annotated.html | 46 - .../doc/libtheora/html/classes.html | 38 - .../doc/libtheora/html/codec_8h.html | 411 - .../doc/libtheora/html/codec_8h_source.html | 195 - .../libtheora-1.1.1/doc/libtheora/html/doxygen.css | 498 - .../libtheora-1.1.1/doc/libtheora/html/doxygen.png | Bin 1281 -> 0 bytes .../libtheora-1.1.1/doc/libtheora/html/files.html | 39 - .../doc/libtheora/html/functions.html | 353 - .../doc/libtheora/html/functions_vars.html | 353 - .../doc/libtheora/html/globals.html | 464 - .../doc/libtheora/html/globals_defs.html | 215 - .../doc/libtheora/html/globals_enum.html | 58 - .../doc/libtheora/html/globals_eval.html | 97 - .../doc/libtheora/html/globals_func.html | 215 - .../doc/libtheora/html/globals_type.html | 64 - .../doc/libtheora/html/globals_vars.html | 52 - .../doc/libtheora/html/group__basefuncs.html | 542 - .../doc/libtheora/html/group__decfuncs.html | 367 - .../doc/libtheora/html/group__encfuncs.html | 317 - .../doc/libtheora/html/group__oldfuncs.html | 1606 -- .../libtheora-1.1.1/doc/libtheora/html/index.html | 40 - .../doc/libtheora/html/modules.html | 33 - .../doc/libtheora/html/structth__comment.html | 119 - .../doc/libtheora/html/structth__huff__code.html | 83 - .../doc/libtheora/html/structth__img__plane.html | 116 - .../doc/libtheora/html/structth__info.html | 358 - .../doc/libtheora/html/structth__quant__info.html | 132 - .../libtheora/html/structth__quant__ranges.html | 100 - .../libtheora/html/structth__stripe__callback.html | 82 - .../doc/libtheora/html/structtheora__comment.html | 121 - .../doc/libtheora/html/structtheora__info.html | 491 - .../doc/libtheora/html/structtheora__state.html | 106 - .../doc/libtheora/html/structyuv__buffer.html | 207 - .../libtheora-1.1.1/doc/libtheora/html/tab_b.gif | Bin 35 -> 0 bytes .../libtheora-1.1.1/doc/libtheora/html/tab_l.gif | Bin 706 -> 0 bytes .../libtheora-1.1.1/doc/libtheora/html/tab_r.gif | Bin 2585 -> 0 bytes .../libtheora-1.1.1/doc/libtheora/html/tabs.css | 105 - .../doc/libtheora/html/theora_8h.html | 212 - .../doc/libtheora/html/theora_8h_source.html | 245 - .../doc/libtheora/html/theoradec_8h.html | 361 - .../doc/libtheora/html/theoradec_8h_source.html | 108 - .../doc/libtheora/html/theoraenc_8h.html | 674 - .../doc/libtheora/html/theoraenc_8h_source.html | 117 - .../libtheora-1.1.1/doc/libtheora/latex/Makefile | 39 - .../doc/libtheora/latex/annotated.tex | 14 - .../doc/libtheora/latex/codec_8h.tex | 233 - .../doc/libtheora/latex/doxygen.sty | 351 - .../libtheora-1.1.1/doc/libtheora/latex/files.tex | 7 - .../doc/libtheora/latex/group__basefuncs.tex | 190 - .../doc/libtheora/latex/group__decfuncs.tex | 111 - .../doc/libtheora/latex/group__encfuncs.tex | 107 - .../doc/libtheora/latex/group__oldfuncs.tex | 611 - .../libtheora-1.1.1/doc/libtheora/latex/index.tex | 12 - .../doc/libtheora/latex/modules.tex | 7 - .../libtheora-1.1.1/doc/libtheora/latex/refman.tex | 64 - .../doc/libtheora/latex/structth__comment.tex | 53 - .../doc/libtheora/latex/structth__huff__code.tex | 35 - .../doc/libtheora/latex/structth__img__plane.tex | 49 - .../doc/libtheora/latex/structth__info.tex | 164 - .../doc/libtheora/latex/structth__quant__info.tex | 81 - .../libtheora/latex/structth__quant__ranges.tex | 42 - .../libtheora/latex/structth__stripe__callback.tex | 35 - .../doc/libtheora/latex/structtheora__comment.tex | 53 - .../doc/libtheora/latex/structtheora__info.tex | 197 - .../doc/libtheora/latex/structtheora__state.tex | 41 - .../doc/libtheora/latex/structyuv__buffer.tex | 90 - .../doc/libtheora/latex/theora_8h.tex | 185 - .../doc/libtheora/latex/theoradec_8h.tex | 194 - .../doc/libtheora/latex/theoraenc_8h.tex | 343 - Libraries/libtheora-1.1.1/doc/spec/Makefile.am | 83 - Libraries/libtheora-1.1.1/doc/spec/Makefile.in | 498 - Libraries/libtheora-1.1.1/doc/spec/Theora.pdf | 20770 ------------------- Libraries/libtheora-1.1.1/doc/spec/fdct.fig | 371 - .../libtheora-1.1.1/doc/spec/hilbert-block.fig | 104 - Libraries/libtheora-1.1.1/doc/spec/hilbert-mb.fig | 32 - Libraries/libtheora-1.1.1/doc/spec/idct.fig | 369 - Libraries/libtheora-1.1.1/doc/spec/lflim.fig | 23 - Libraries/libtheora-1.1.1/doc/spec/ltablex.sty | 237 - Libraries/libtheora-1.1.1/doc/spec/macroblock.fig | 37 - Libraries/libtheora-1.1.1/doc/spec/pic-frame.fig | 75 - Libraries/libtheora-1.1.1/doc/spec/pic_even.fig | 102 - .../libtheora-1.1.1/doc/spec/pic_even_odd.fig | 88 - Libraries/libtheora-1.1.1/doc/spec/pic_odd.fig | 90 - .../libtheora-1.1.1/doc/spec/pic_odd_even.fig | 84 - Libraries/libtheora-1.1.1/doc/spec/pixel420.fig | 56 - Libraries/libtheora-1.1.1/doc/spec/pixel422.fig | 70 - Libraries/libtheora-1.1.1/doc/spec/pixel444.fig | 44 - .../libtheora-1.1.1/doc/spec/raster-block.fig | 91 - .../libtheora-1.1.1/doc/spec/reference-frames.fig | 46 - Libraries/libtheora-1.1.1/doc/spec/spec.bib | 120 - Libraries/libtheora-1.1.1/doc/spec/spec.tex | 8171 -------- Libraries/libtheora-1.1.1/doc/spec/superblock.fig | 72 - Libraries/libtheora-1.1.1/doc/spec/vp3huff.c | 918 - Libraries/libtheora-1.1.1/doc/spec/xifish.fig | 85 - Libraries/libtheora-1.1.1/doc/vp3-format.txt | 1305 -- Libraries/libtheora-1.1.1/examples/Makefile.am | 41 - Libraries/libtheora-1.1.1/examples/Makefile.in | 580 - Libraries/libtheora-1.1.1/examples/dump_psnr.c | 1201 -- Libraries/libtheora-1.1.1/examples/dump_video.c | 496 - .../libtheora-1.1.1/examples/encoder_example.c | 1826 -- Libraries/libtheora-1.1.1/examples/getopt.c | 1055 - Libraries/libtheora-1.1.1/examples/getopt.h | 180 - Libraries/libtheora-1.1.1/examples/getopt1.c | 188 - .../libtheora-1.1.1/examples/player_example.c | 857 - Libraries/libtheora-1.1.1/examples/png2theora.c | 912 - Libraries/libtheora-1.1.1/include/Makefile.am | 3 - Libraries/libtheora-1.1.1/include/Makefile.in | 414 - .../libtheora-1.1.1/include/theora/Makefile.am | 7 - .../libtheora-1.1.1/include/theora/Makefile.in | 355 - Libraries/libtheora-1.1.1/include/theora/codec.h | 591 - Libraries/libtheora-1.1.1/include/theora/theora.h | 784 - .../libtheora-1.1.1/include/theora/theoradec.h | 325 - .../libtheora-1.1.1/include/theora/theoraenc.h | 486 - Libraries/libtheora-1.1.1/install-sh | 251 - Libraries/libtheora-1.1.1/lib/Makefile.am | 173 - Libraries/libtheora-1.1.1/lib/Makefile.in | 845 - Libraries/libtheora-1.1.1/lib/Version_script | 53 - Libraries/libtheora-1.1.1/lib/Version_script-dec | 82 - Libraries/libtheora-1.1.1/lib/Version_script-enc | 43 - Libraries/libtheora-1.1.1/lib/analyze.c | 2709 --- Libraries/libtheora-1.1.1/lib/apiwrapper.c | 166 - Libraries/libtheora-1.1.1/lib/apiwrapper.h | 54 - Libraries/libtheora-1.1.1/lib/bitpack.c | 111 - Libraries/libtheora-1.1.1/lib/bitpack.h | 59 - Libraries/libtheora-1.1.1/lib/cpu.c | 226 - Libraries/libtheora-1.1.1/lib/cpu.h | 34 - Libraries/libtheora-1.1.1/lib/dct.h | 31 - Libraries/libtheora-1.1.1/lib/decapiwrapper.c | 193 - Libraries/libtheora-1.1.1/lib/decinfo.c | 246 - Libraries/libtheora-1.1.1/lib/decint.h | 107 - Libraries/libtheora-1.1.1/lib/decode.c | 2943 --- Libraries/libtheora-1.1.1/lib/dequant.c | 182 - Libraries/libtheora-1.1.1/lib/dequant.h | 27 - Libraries/libtheora-1.1.1/lib/encapiwrapper.c | 168 - Libraries/libtheora-1.1.1/lib/encfrag.c | 388 - Libraries/libtheora-1.1.1/lib/encinfo.c | 121 - Libraries/libtheora-1.1.1/lib/encint.h | 493 - Libraries/libtheora-1.1.1/lib/encode.c | 1615 -- Libraries/libtheora-1.1.1/lib/encoder_disabled.c | 67 - Libraries/libtheora-1.1.1/lib/enquant.c | 274 - Libraries/libtheora-1.1.1/lib/enquant.h | 27 - Libraries/libtheora-1.1.1/lib/fdct.c | 422 - Libraries/libtheora-1.1.1/lib/fragment.c | 87 - Libraries/libtheora-1.1.1/lib/huffdec.c | 489 - Libraries/libtheora-1.1.1/lib/huffdec.h | 92 - Libraries/libtheora-1.1.1/lib/huffenc.c | 910 - Libraries/libtheora-1.1.1/lib/huffenc.h | 19 - Libraries/libtheora-1.1.1/lib/huffman.h | 70 - Libraries/libtheora-1.1.1/lib/idct.c | 335 - Libraries/libtheora-1.1.1/lib/info.c | 131 - Libraries/libtheora-1.1.1/lib/internal.c | 262 - Libraries/libtheora-1.1.1/lib/internal.h | 509 - Libraries/libtheora-1.1.1/lib/mac64/libtheoradec.a | Bin 96144 -> 0 bytes Libraries/libtheora-1.1.1/lib/mathops.c | 296 - Libraries/libtheora-1.1.1/lib/mathops.h | 141 - Libraries/libtheora-1.1.1/lib/mcenc.c | 767 - Libraries/libtheora-1.1.1/lib/modedec.h | 4027 ---- Libraries/libtheora-1.1.1/lib/ocintrin.h | 128 - Libraries/libtheora-1.1.1/lib/quant.c | 119 - Libraries/libtheora-1.1.1/lib/quant.h | 33 - Libraries/libtheora-1.1.1/lib/rate.c | 1137 - Libraries/libtheora-1.1.1/lib/state.c | 1227 -- Libraries/libtheora-1.1.1/lib/theora.exp | 55 - Libraries/libtheora-1.1.1/lib/theoradec.exp | 43 - Libraries/libtheora-1.1.1/lib/theoraenc.exp | 15 - Libraries/libtheora-1.1.1/lib/tokenize.c | 1072 - Libraries/libtheora-1.1.1/lib/x86/mmxencfrag.c | 900 - Libraries/libtheora-1.1.1/lib/x86/mmxfdct.c | 665 - Libraries/libtheora-1.1.1/lib/x86/mmxfrag.c | 293 - Libraries/libtheora-1.1.1/lib/x86/mmxfrag.h | 64 - Libraries/libtheora-1.1.1/lib/x86/mmxidct.c | 564 - Libraries/libtheora-1.1.1/lib/x86/mmxloop.h | 215 - Libraries/libtheora-1.1.1/lib/x86/mmxstate.c | 188 - Libraries/libtheora-1.1.1/lib/x86/sse2fdct.c | 523 - Libraries/libtheora-1.1.1/lib/x86/x86enc.c | 49 - Libraries/libtheora-1.1.1/lib/x86/x86enc.h | 47 - Libraries/libtheora-1.1.1/lib/x86/x86int.h | 42 - Libraries/libtheora-1.1.1/lib/x86/x86state.c | 62 - Libraries/libtheora-1.1.1/lib/x86_vc/mmxencfrag.c | 969 - Libraries/libtheora-1.1.1/lib/x86_vc/mmxfdct.c | 670 - Libraries/libtheora-1.1.1/lib/x86_vc/mmxfrag.c | 337 - Libraries/libtheora-1.1.1/lib/x86_vc/mmxfrag.h | 61 - Libraries/libtheora-1.1.1/lib/x86_vc/mmxidct.c | 562 - Libraries/libtheora-1.1.1/lib/x86_vc/mmxloop.h | 219 - Libraries/libtheora-1.1.1/lib/x86_vc/mmxstate.c | 211 - Libraries/libtheora-1.1.1/lib/x86_vc/x86enc.c | 49 - Libraries/libtheora-1.1.1/lib/x86_vc/x86enc.h | 47 - Libraries/libtheora-1.1.1/lib/x86_vc/x86int.h | 42 - Libraries/libtheora-1.1.1/lib/x86_vc/x86state.c | 62 - Libraries/libtheora-1.1.1/libtheora.spec | 82 - Libraries/libtheora-1.1.1/libtheora.spec.in | 82 - Libraries/libtheora-1.1.1/ltmain.sh | 8406 -------- Libraries/libtheora-1.1.1/m4/Makefile.am | 6 - Libraries/libtheora-1.1.1/m4/Makefile.in | 298 - Libraries/libtheora-1.1.1/m4/as-ac-expand.m4 | 43 - Libraries/libtheora-1.1.1/m4/ogg.m4 | 116 - Libraries/libtheora-1.1.1/m4/pkg.m4 | 157 - Libraries/libtheora-1.1.1/m4/sdl.m4 | 180 - Libraries/libtheora-1.1.1/m4/vorbis.m4 | 122 - .../macosx/English.lproj/InfoPlist.strings | Bin 142 -> 0 bytes Libraries/libtheora-1.1.1/macosx/Info.plist | 30 - .../macosx/Theora.xcodeproj/project.pbxproj | 864 - Libraries/libtheora-1.1.1/macosx/Theora_Prefix.pch | 5 - Libraries/libtheora-1.1.1/missing | 336 - Libraries/libtheora-1.1.1/mkinstalldirs | 99 - Libraries/libtheora-1.1.1/symbian/bld.inf | 35 - Libraries/libtheora-1.1.1/symbian/config.h | 57 - Libraries/libtheora-1.1.1/symbian/theora.mmp | 41 - Libraries/libtheora-1.1.1/tests/Makefile.am | 69 - Libraries/libtheora-1.1.1/tests/Makefile.in | 787 - Libraries/libtheora-1.1.1/tests/comment.c | 91 - Libraries/libtheora-1.1.1/tests/comment_theora.c | 91 - Libraries/libtheora-1.1.1/tests/granulepos.c | 149 - .../libtheora-1.1.1/tests/granulepos_theora.c | 154 - Libraries/libtheora-1.1.1/tests/noop.c | 119 - Libraries/libtheora-1.1.1/tests/noop_theora.c | 88 - Libraries/libtheora-1.1.1/tests/tests.h | 33 - Libraries/libtheora-1.1.1/theora-uninstalled.pc.in | 14 - Libraries/libtheora-1.1.1/theora.pc.in | 14 - .../libtheora-1.1.1/theoradec-uninstalled.pc.in | 14 - Libraries/libtheora-1.1.1/theoradec.pc.in | 14 - .../libtheora-1.1.1/theoraenc-uninstalled.pc.in | 14 - Libraries/libtheora-1.1.1/theoraenc.pc.in | 14 - Libraries/libtheora-1.1.1/win32/VS2005/README | 22 - .../VS2005/dump_video/dump_video_dynamic.vcproj | 188 - .../VS2005/dump_video/dump_video_static.vcproj | 188 - .../encoder_example/encoder_example_dynamic.vcproj | 184 - .../encoder_example/encoder_example_static.vcproj | 184 - .../libtheora-1.1.1/win32/VS2005/libogg.vsprops | 19 - .../VS2005/libtheora/libtheora_dynamic.vcproj | 882 - .../win32/VS2005/libtheora/libtheora_static.vcproj | 872 - .../win32/VS2005/libtheora_dynamic.sln | 146 - .../win32/VS2005/libtheora_static.sln | 146 - .../libtheora-1.1.1/win32/VS2005/libvorbis.vsprops | 19 - Libraries/libtheora-1.1.1/win32/VS2008/README | 22 - .../VS2008/dump_video/dump_video_dynamic.vcproj | 180 - .../VS2008/dump_video/dump_video_static.vcproj | 180 - .../encoder_example/encoder_example_dynamic.vcproj | 176 - .../encoder_example/encoder_example_static.vcproj | 176 - .../libtheora-1.1.1/win32/VS2008/libogg.vsprops | 19 - .../VS2008/libtheora/libtheora_dynamic.vcproj | 766 - .../win32/VS2008/libtheora/libtheora_static.vcproj | 748 - .../win32/VS2008/libtheora_dynamic.sln | 146 - .../win32/VS2008/libtheora_static.sln | 146 - .../libtheora-1.1.1/win32/VS2008/libvorbis.vsprops | 19 - .../libtheora-1.1.1/win32/build_theora_static.bat | 18 - .../win32/build_theora_static_debug.bat | 18 - .../win32/experimental/dumpvid/dumpvid.dsp | 121 - .../win32/experimental/encoderwin/ReadMe.txt | 13 - .../win32/experimental/encoderwin/encoderwin.dsp | 121 - .../experimental/transcoder/avi2vp3/avi2vp3.c | 82 - .../win32/experimental/transcoder/avi2vp3/avilib.c | 1839 -- .../win32/experimental/transcoder/avi2vp3/avilib.h | 309 - .../experimental/transcoder/avi2vp3/outfile.vp3 | Bin 233132 -> 0 bytes .../win32/experimental/transcoder/avi2vp3/vp31.avi | Bin 299724 -> 0 bytes .../win32/experimental/transcoder/readme.txt | 17 - .../win32/experimental/transcoder/transcoder.dsp | 121 - .../experimental/transcoder/transcoder_example.c | 926 - .../win32/experimental/wincompat/README.txt | 1 - .../win32/experimental/wincompat/getopt.c | 122 - .../win32/experimental/wincompat/getopt.h | 110 - .../win32/experimental/wincompat/getopt_long.c | 547 - .../win32/experimental/wincompat/unistd.h | 0 Libraries/libtheora-1.1.1/win32/getopt.c | 1047 - Libraries/libtheora-1.1.1/win32/getopt1.c | 188 - Libraries/libtheora-1.1.1/win32/getopt_win.h | 169 - Libraries/libtheora-1.1.1/win32/theora_static.dsp | 336 - Libraries/libtheora-1.1.1/win32/xmingw32/Makefile | 393 - .../win32/xmingw32/libtheoradec-all.def | 58 - .../win32/xmingw32/libtheoradec-all.rc | 39 - .../libtheora-1.1.1/win32/xmingw32/libtheoradec.rc | 3 - .../win32/xmingw32/libtheoradec70.rc | 3 - .../win32/xmingw32/libtheoradec70d.rc | 3 - .../win32/xmingw32/libtheoradec71.rc | 3 - .../win32/xmingw32/libtheoradec71d.rc | 3 - .../win32/xmingw32/libtheoradec80.rc | 3 - .../win32/xmingw32/libtheoradec80d.rc | 3 - .../win32/xmingw32/libtheoradecd.rc | 3 - .../win32/xmingw32/libtheoraenc-all.def | 17 - .../win32/xmingw32/libtheoraenc-all.rc | 39 - .../libtheora-1.1.1/win32/xmingw32/libtheoraenc.rc | 3 - .../win32/xmingw32/libtheoraenc70.rc | 3 - .../win32/xmingw32/libtheoraenc70d.rc | 3 - .../win32/xmingw32/libtheoraenc71.rc | 3 - .../win32/xmingw32/libtheoraenc71d.rc | 3 - .../win32/xmingw32/libtheoraenc80.rc | 3 - .../win32/xmingw32/libtheoraenc80d.rc | 3 - .../win32/xmingw32/libtheoraencd.rc | 3 - 311 files changed, 150095 deletions(-) delete mode 100644 Libraries/libtheora-1.1.1/AUTHORS delete mode 100644 Libraries/libtheora-1.1.1/CHANGES delete mode 100644 Libraries/libtheora-1.1.1/COPYING delete mode 100644 Libraries/libtheora-1.1.1/LICENSE delete mode 100644 Libraries/libtheora-1.1.1/Makefile.am delete mode 100644 Libraries/libtheora-1.1.1/Makefile.in delete mode 100644 Libraries/libtheora-1.1.1/README delete mode 100644 Libraries/libtheora-1.1.1/SConstruct delete mode 100644 Libraries/libtheora-1.1.1/aclocal.m4 delete mode 100644 Libraries/libtheora-1.1.1/autogen.sh delete mode 100644 Libraries/libtheora-1.1.1/compile delete mode 100644 Libraries/libtheora-1.1.1/config.guess delete mode 100644 Libraries/libtheora-1.1.1/config.h.in delete mode 100644 Libraries/libtheora-1.1.1/config.sub delete mode 100644 Libraries/libtheora-1.1.1/configure delete mode 100644 Libraries/libtheora-1.1.1/configure.ac delete mode 100644 Libraries/libtheora-1.1.1/depcomp delete mode 100644 Libraries/libtheora-1.1.1/doc/Doxyfile.in delete mode 100644 Libraries/libtheora-1.1.1/doc/Makefile.am delete mode 100644 Libraries/libtheora-1.1.1/doc/Makefile.in delete mode 100644 Libraries/libtheora-1.1.1/doc/color.html delete mode 100644 Libraries/libtheora-1.1.1/doc/draft-ietf-avt-rtp-theora-00.txt delete mode 100644 Libraries/libtheora-1.1.1/doc/draft-ietf-avt-rtp-theora-00.xml delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/annotated.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/classes.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/codec_8h.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/codec_8h_source.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/doxygen.css delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/doxygen.png delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/files.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/functions.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/functions_vars.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/globals.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/globals_defs.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/globals_enum.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/globals_eval.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/globals_func.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/globals_type.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/globals_vars.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/group__basefuncs.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/group__decfuncs.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/group__encfuncs.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/group__oldfuncs.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/index.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/modules.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/structth__comment.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/structth__huff__code.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/structth__img__plane.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/structth__info.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/structth__quant__info.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/structth__quant__ranges.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/structth__stripe__callback.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/structtheora__comment.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/structtheora__info.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/structtheora__state.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/structyuv__buffer.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/tab_b.gif delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/tab_l.gif delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/tab_r.gif delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/tabs.css delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/theora_8h.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/theora_8h_source.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/theoradec_8h.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/theoradec_8h_source.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/theoraenc_8h.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/html/theoraenc_8h_source.html delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/Makefile delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/annotated.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/codec_8h.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/doxygen.sty delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/files.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/group__basefuncs.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/group__decfuncs.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/group__encfuncs.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/group__oldfuncs.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/index.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/modules.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/refman.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__comment.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__huff__code.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__img__plane.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__info.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__quant__info.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__quant__ranges.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__stripe__callback.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/structtheora__comment.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/structtheora__info.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/structtheora__state.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/structyuv__buffer.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/theora_8h.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/theoradec_8h.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/libtheora/latex/theoraenc_8h.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/Makefile.am delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/Makefile.in delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/Theora.pdf delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/fdct.fig delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/hilbert-block.fig delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/hilbert-mb.fig delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/idct.fig delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/lflim.fig delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/ltablex.sty delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/macroblock.fig delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/pic-frame.fig delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/pic_even.fig delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/pic_even_odd.fig delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/pic_odd.fig delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/pic_odd_even.fig delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/pixel420.fig delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/pixel422.fig delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/pixel444.fig delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/raster-block.fig delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/reference-frames.fig delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/spec.bib delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/spec.tex delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/superblock.fig delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/vp3huff.c delete mode 100644 Libraries/libtheora-1.1.1/doc/spec/xifish.fig delete mode 100644 Libraries/libtheora-1.1.1/doc/vp3-format.txt delete mode 100644 Libraries/libtheora-1.1.1/examples/Makefile.am delete mode 100644 Libraries/libtheora-1.1.1/examples/Makefile.in delete mode 100644 Libraries/libtheora-1.1.1/examples/dump_psnr.c delete mode 100644 Libraries/libtheora-1.1.1/examples/dump_video.c delete mode 100644 Libraries/libtheora-1.1.1/examples/encoder_example.c delete mode 100644 Libraries/libtheora-1.1.1/examples/getopt.c delete mode 100644 Libraries/libtheora-1.1.1/examples/getopt.h delete mode 100644 Libraries/libtheora-1.1.1/examples/getopt1.c delete mode 100644 Libraries/libtheora-1.1.1/examples/player_example.c delete mode 100644 Libraries/libtheora-1.1.1/examples/png2theora.c delete mode 100644 Libraries/libtheora-1.1.1/include/Makefile.am delete mode 100644 Libraries/libtheora-1.1.1/include/Makefile.in delete mode 100644 Libraries/libtheora-1.1.1/include/theora/Makefile.am delete mode 100644 Libraries/libtheora-1.1.1/include/theora/Makefile.in delete mode 100644 Libraries/libtheora-1.1.1/include/theora/codec.h delete mode 100644 Libraries/libtheora-1.1.1/include/theora/theora.h delete mode 100644 Libraries/libtheora-1.1.1/include/theora/theoradec.h delete mode 100644 Libraries/libtheora-1.1.1/include/theora/theoraenc.h delete mode 100644 Libraries/libtheora-1.1.1/install-sh delete mode 100644 Libraries/libtheora-1.1.1/lib/Makefile.am delete mode 100644 Libraries/libtheora-1.1.1/lib/Makefile.in delete mode 100644 Libraries/libtheora-1.1.1/lib/Version_script delete mode 100644 Libraries/libtheora-1.1.1/lib/Version_script-dec delete mode 100644 Libraries/libtheora-1.1.1/lib/Version_script-enc delete mode 100644 Libraries/libtheora-1.1.1/lib/analyze.c delete mode 100644 Libraries/libtheora-1.1.1/lib/apiwrapper.c delete mode 100644 Libraries/libtheora-1.1.1/lib/apiwrapper.h delete mode 100644 Libraries/libtheora-1.1.1/lib/bitpack.c delete mode 100644 Libraries/libtheora-1.1.1/lib/bitpack.h delete mode 100644 Libraries/libtheora-1.1.1/lib/cpu.c delete mode 100644 Libraries/libtheora-1.1.1/lib/cpu.h delete mode 100644 Libraries/libtheora-1.1.1/lib/dct.h delete mode 100644 Libraries/libtheora-1.1.1/lib/decapiwrapper.c delete mode 100644 Libraries/libtheora-1.1.1/lib/decinfo.c delete mode 100644 Libraries/libtheora-1.1.1/lib/decint.h delete mode 100644 Libraries/libtheora-1.1.1/lib/decode.c delete mode 100644 Libraries/libtheora-1.1.1/lib/dequant.c delete mode 100644 Libraries/libtheora-1.1.1/lib/dequant.h delete mode 100644 Libraries/libtheora-1.1.1/lib/encapiwrapper.c delete mode 100644 Libraries/libtheora-1.1.1/lib/encfrag.c delete mode 100644 Libraries/libtheora-1.1.1/lib/encinfo.c delete mode 100644 Libraries/libtheora-1.1.1/lib/encint.h delete mode 100644 Libraries/libtheora-1.1.1/lib/encode.c delete mode 100644 Libraries/libtheora-1.1.1/lib/encoder_disabled.c delete mode 100644 Libraries/libtheora-1.1.1/lib/enquant.c delete mode 100644 Libraries/libtheora-1.1.1/lib/enquant.h delete mode 100644 Libraries/libtheora-1.1.1/lib/fdct.c delete mode 100644 Libraries/libtheora-1.1.1/lib/fragment.c delete mode 100644 Libraries/libtheora-1.1.1/lib/huffdec.c delete mode 100644 Libraries/libtheora-1.1.1/lib/huffdec.h delete mode 100644 Libraries/libtheora-1.1.1/lib/huffenc.c delete mode 100644 Libraries/libtheora-1.1.1/lib/huffenc.h delete mode 100644 Libraries/libtheora-1.1.1/lib/huffman.h delete mode 100644 Libraries/libtheora-1.1.1/lib/idct.c delete mode 100644 Libraries/libtheora-1.1.1/lib/info.c delete mode 100644 Libraries/libtheora-1.1.1/lib/internal.c delete mode 100644 Libraries/libtheora-1.1.1/lib/internal.h delete mode 100644 Libraries/libtheora-1.1.1/lib/mac64/libtheoradec.a delete mode 100644 Libraries/libtheora-1.1.1/lib/mathops.c delete mode 100644 Libraries/libtheora-1.1.1/lib/mathops.h delete mode 100644 Libraries/libtheora-1.1.1/lib/mcenc.c delete mode 100644 Libraries/libtheora-1.1.1/lib/modedec.h delete mode 100644 Libraries/libtheora-1.1.1/lib/ocintrin.h delete mode 100644 Libraries/libtheora-1.1.1/lib/quant.c delete mode 100644 Libraries/libtheora-1.1.1/lib/quant.h delete mode 100644 Libraries/libtheora-1.1.1/lib/rate.c delete mode 100644 Libraries/libtheora-1.1.1/lib/state.c delete mode 100644 Libraries/libtheora-1.1.1/lib/theora.exp delete mode 100644 Libraries/libtheora-1.1.1/lib/theoradec.exp delete mode 100644 Libraries/libtheora-1.1.1/lib/theoraenc.exp delete mode 100644 Libraries/libtheora-1.1.1/lib/tokenize.c delete mode 100644 Libraries/libtheora-1.1.1/lib/x86/mmxencfrag.c delete mode 100644 Libraries/libtheora-1.1.1/lib/x86/mmxfdct.c delete mode 100644 Libraries/libtheora-1.1.1/lib/x86/mmxfrag.c delete mode 100644 Libraries/libtheora-1.1.1/lib/x86/mmxfrag.h delete mode 100644 Libraries/libtheora-1.1.1/lib/x86/mmxidct.c delete mode 100644 Libraries/libtheora-1.1.1/lib/x86/mmxloop.h delete mode 100644 Libraries/libtheora-1.1.1/lib/x86/mmxstate.c delete mode 100644 Libraries/libtheora-1.1.1/lib/x86/sse2fdct.c delete mode 100644 Libraries/libtheora-1.1.1/lib/x86/x86enc.c delete mode 100644 Libraries/libtheora-1.1.1/lib/x86/x86enc.h delete mode 100644 Libraries/libtheora-1.1.1/lib/x86/x86int.h delete mode 100644 Libraries/libtheora-1.1.1/lib/x86/x86state.c delete mode 100644 Libraries/libtheora-1.1.1/lib/x86_vc/mmxencfrag.c delete mode 100644 Libraries/libtheora-1.1.1/lib/x86_vc/mmxfdct.c delete mode 100644 Libraries/libtheora-1.1.1/lib/x86_vc/mmxfrag.c delete mode 100644 Libraries/libtheora-1.1.1/lib/x86_vc/mmxfrag.h delete mode 100644 Libraries/libtheora-1.1.1/lib/x86_vc/mmxidct.c delete mode 100644 Libraries/libtheora-1.1.1/lib/x86_vc/mmxloop.h delete mode 100644 Libraries/libtheora-1.1.1/lib/x86_vc/mmxstate.c delete mode 100644 Libraries/libtheora-1.1.1/lib/x86_vc/x86enc.c delete mode 100644 Libraries/libtheora-1.1.1/lib/x86_vc/x86enc.h delete mode 100644 Libraries/libtheora-1.1.1/lib/x86_vc/x86int.h delete mode 100644 Libraries/libtheora-1.1.1/lib/x86_vc/x86state.c delete mode 100644 Libraries/libtheora-1.1.1/libtheora.spec delete mode 100644 Libraries/libtheora-1.1.1/libtheora.spec.in delete mode 100644 Libraries/libtheora-1.1.1/ltmain.sh delete mode 100644 Libraries/libtheora-1.1.1/m4/Makefile.am delete mode 100644 Libraries/libtheora-1.1.1/m4/Makefile.in delete mode 100644 Libraries/libtheora-1.1.1/m4/as-ac-expand.m4 delete mode 100644 Libraries/libtheora-1.1.1/m4/ogg.m4 delete mode 100644 Libraries/libtheora-1.1.1/m4/pkg.m4 delete mode 100644 Libraries/libtheora-1.1.1/m4/sdl.m4 delete mode 100644 Libraries/libtheora-1.1.1/m4/vorbis.m4 delete mode 100644 Libraries/libtheora-1.1.1/macosx/English.lproj/InfoPlist.strings delete mode 100644 Libraries/libtheora-1.1.1/macosx/Info.plist delete mode 100644 Libraries/libtheora-1.1.1/macosx/Theora.xcodeproj/project.pbxproj delete mode 100644 Libraries/libtheora-1.1.1/macosx/Theora_Prefix.pch delete mode 100644 Libraries/libtheora-1.1.1/missing delete mode 100644 Libraries/libtheora-1.1.1/mkinstalldirs delete mode 100644 Libraries/libtheora-1.1.1/symbian/bld.inf delete mode 100644 Libraries/libtheora-1.1.1/symbian/config.h delete mode 100644 Libraries/libtheora-1.1.1/symbian/theora.mmp delete mode 100644 Libraries/libtheora-1.1.1/tests/Makefile.am delete mode 100644 Libraries/libtheora-1.1.1/tests/Makefile.in delete mode 100644 Libraries/libtheora-1.1.1/tests/comment.c delete mode 100644 Libraries/libtheora-1.1.1/tests/comment_theora.c delete mode 100644 Libraries/libtheora-1.1.1/tests/granulepos.c delete mode 100644 Libraries/libtheora-1.1.1/tests/granulepos_theora.c delete mode 100644 Libraries/libtheora-1.1.1/tests/noop.c delete mode 100644 Libraries/libtheora-1.1.1/tests/noop_theora.c delete mode 100644 Libraries/libtheora-1.1.1/tests/tests.h delete mode 100644 Libraries/libtheora-1.1.1/theora-uninstalled.pc.in delete mode 100644 Libraries/libtheora-1.1.1/theora.pc.in delete mode 100644 Libraries/libtheora-1.1.1/theoradec-uninstalled.pc.in delete mode 100644 Libraries/libtheora-1.1.1/theoradec.pc.in delete mode 100644 Libraries/libtheora-1.1.1/theoraenc-uninstalled.pc.in delete mode 100644 Libraries/libtheora-1.1.1/theoraenc.pc.in delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2005/README delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2005/dump_video/dump_video_dynamic.vcproj delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2005/dump_video/dump_video_static.vcproj delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2005/encoder_example/encoder_example_dynamic.vcproj delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2005/encoder_example/encoder_example_static.vcproj delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2005/libogg.vsprops delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2005/libtheora/libtheora_dynamic.vcproj delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2005/libtheora/libtheora_static.vcproj delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2005/libtheora_dynamic.sln delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2005/libtheora_static.sln delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2005/libvorbis.vsprops delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2008/README delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2008/dump_video/dump_video_dynamic.vcproj delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2008/dump_video/dump_video_static.vcproj delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2008/encoder_example/encoder_example_dynamic.vcproj delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2008/encoder_example/encoder_example_static.vcproj delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2008/libogg.vsprops delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2008/libtheora/libtheora_dynamic.vcproj delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2008/libtheora/libtheora_static.vcproj delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2008/libtheora_dynamic.sln delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2008/libtheora_static.sln delete mode 100644 Libraries/libtheora-1.1.1/win32/VS2008/libvorbis.vsprops delete mode 100644 Libraries/libtheora-1.1.1/win32/build_theora_static.bat delete mode 100644 Libraries/libtheora-1.1.1/win32/build_theora_static_debug.bat delete mode 100644 Libraries/libtheora-1.1.1/win32/experimental/dumpvid/dumpvid.dsp delete mode 100644 Libraries/libtheora-1.1.1/win32/experimental/encoderwin/ReadMe.txt delete mode 100644 Libraries/libtheora-1.1.1/win32/experimental/encoderwin/encoderwin.dsp delete mode 100644 Libraries/libtheora-1.1.1/win32/experimental/transcoder/avi2vp3/avi2vp3.c delete mode 100644 Libraries/libtheora-1.1.1/win32/experimental/transcoder/avi2vp3/avilib.c delete mode 100644 Libraries/libtheora-1.1.1/win32/experimental/transcoder/avi2vp3/avilib.h delete mode 100644 Libraries/libtheora-1.1.1/win32/experimental/transcoder/avi2vp3/outfile.vp3 delete mode 100644 Libraries/libtheora-1.1.1/win32/experimental/transcoder/avi2vp3/vp31.avi delete mode 100644 Libraries/libtheora-1.1.1/win32/experimental/transcoder/readme.txt delete mode 100644 Libraries/libtheora-1.1.1/win32/experimental/transcoder/transcoder.dsp delete mode 100644 Libraries/libtheora-1.1.1/win32/experimental/transcoder/transcoder_example.c delete mode 100644 Libraries/libtheora-1.1.1/win32/experimental/wincompat/README.txt delete mode 100644 Libraries/libtheora-1.1.1/win32/experimental/wincompat/getopt.c delete mode 100644 Libraries/libtheora-1.1.1/win32/experimental/wincompat/getopt.h delete mode 100644 Libraries/libtheora-1.1.1/win32/experimental/wincompat/getopt_long.c delete mode 100644 Libraries/libtheora-1.1.1/win32/experimental/wincompat/unistd.h delete mode 100644 Libraries/libtheora-1.1.1/win32/getopt.c delete mode 100644 Libraries/libtheora-1.1.1/win32/getopt1.c delete mode 100644 Libraries/libtheora-1.1.1/win32/getopt_win.h delete mode 100644 Libraries/libtheora-1.1.1/win32/theora_static.dsp delete mode 100644 Libraries/libtheora-1.1.1/win32/xmingw32/Makefile delete mode 100644 Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec-all.def delete mode 100644 Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec-all.rc delete mode 100644 Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec.rc delete mode 100644 Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec70.rc delete mode 100644 Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec70d.rc delete mode 100644 Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec71.rc delete mode 100644 Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec71d.rc delete mode 100644 Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec80.rc delete mode 100644 Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec80d.rc delete mode 100644 Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradecd.rc delete mode 100644 Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc-all.def delete mode 100644 Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc-all.rc delete mode 100644 Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc.rc delete mode 100644 Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc70.rc delete mode 100644 Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc70d.rc delete mode 100644 Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc71.rc delete mode 100644 Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc71d.rc delete mode 100644 Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc80.rc delete mode 100644 Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc80d.rc delete mode 100644 Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraencd.rc diff --git a/Libraries/libtheora-1.1.1/AUTHORS b/Libraries/libtheora-1.1.1/AUTHORS deleted file mode 100644 index 493eef38..00000000 --- a/Libraries/libtheora-1.1.1/AUTHORS +++ /dev/null @@ -1,49 +0,0 @@ -Monty - - Original VP3 port - -Ralph Giles -Timothy B. Terriberry -Monty - - Ongoing development - -Dan B. Miller - - Pre alpha3 development - -Rudolf Marek -Wim Tayman -Dan Lenski -Nils Pipenbrinck -Monty - - MMX optimized functions - -Aaron Colwell -Thomas Vander Stichele -Jan Gerber -Conrad Parker -Cristian Adam -Sebastian Pippin -Simon Hosie - - Bug fixes, enhancements, build systems. - -Mauricio Piacentini - - Original win32 projects and example ports - - VP3->Theora transcoder - -Silvia Pfeiffer - - Figures for the spec - -Michael Smith -Andre Pang -calc -Chris Cheney -Brendan Cully -Edward Hervey -Adam Moss -Colin Ward -Jeremy C. Reed -Arc Riley -Rodolphe Ortalo - - Bug fixes - - -and other Xiph.org contributors diff --git a/Libraries/libtheora-1.1.1/CHANGES b/Libraries/libtheora-1.1.1/CHANGES deleted file mode 100644 index b30327e6..00000000 --- a/Libraries/libtheora-1.1.1/CHANGES +++ /dev/null @@ -1,231 +0,0 @@ -libtheora 1.1.1 (2009 October 1) - - - Fix problems with MSVC inline assembly - - Add the missing encoder_disabled.c to the distribution - - build updates: autogen.sh should work better after switching systems - and the MSVC project now defaults to the dynamic runtime library - - Namespace some variables to avoid conflicts on wince. - -libtheora 1.1.0 (2009 September 24) - - - Fix various small issues with the example and telemetry code - - Fix handing a zero-byte packet as the first frame - - Documentation cleanup - - Two minor build fixes - -libtheora 1.1beta3 (2009 August 22) - - - Rate control fixes to smooth quality - - MSVC build now exports all of the 1.0 api - - Assorted small bug fixes - -libtheora 1.1beta2 (2009 August 12) - - - Fix a rate control problem with difficult input - - Build fixes for OpenBSD and Apple Xcode - - Examples now all use the 1.0 api - - TH_ENCCTL_SET_SPLEVEL works again - - Various bug fixes and source tree rearrangement - -libtheora 1.1beta1 (2009 August 5) - - - Support for two-pass encoding - - Performance optimization of both encoder and decoder - - Encoder supports dynamic adjustment of quality and - bitrate targets - - Encoder is generally more configurable, and all - rate control modes perform better - - Encoder now accepts 4:2:2 and 4:4:4 chroma sampling - - Decoder telemetry output shows quantization choice - and a breakdown of bitrate usage in the frame - - MSVC assembly optimizations up to date and functional - -libtheora 1.1alpha2 (2009 May 26) - - - Reduce lambda for small quantizers. - - New encoder fDCT does better on smooth gradients - - Use SATD for mode decisions (1-2% bitrate reduction) - - Assembly rewrite for new features and general speed up - - Share code between the encoder and decoder for performance - - Fix 4:2:2 decoding and telemetry - - MSVC project files updated, but assembly is disabled. - - New configure option --disable-spec to work around toolchain - detection failures. - - Limit symbol exports on MacOS X. - - Port remaining unit tests from the 1.0 release. - -libtheora 1.1alpha1 (2009 March 27) - - - Encoder rewrite with much improved vbr quality/bitrate and - better tracking of the target rate in cbr mode. - - MSVC project files do not work in this release. - -libtheora 1.0 (2008 November 3) - - - Merge x86 assembly for forward DCT from Thusnelda branch. - - Update 32 bit MMX with loop filter fix. - - Check for an uninitialized state before dereferencing in propagating - decode calls. - - Remove all TH_DEBUG statements. - - Rename the bitpacker source files copied from libogg to avoid - confusing simple build systems using both libraries. - - Declare bitfield entries to be explicitly signed for Solaris cc. - - Set quantization parameters to default values when an empty buffer is - passed with TH_ENCCTL_SET_QUANT_PARAMS. - - Split encoder and decoder tests depending on configure settings. - - Return lstylex.sty to the distribution. - - Disable inline assembly on gcc versions prior to 3.1. - - Remove extern references for OC_*_QUANT_MIN. - - Make various data tables static const so they can be read-only. - - Remove ENCCTL codes from the old encoder API. - - Implement TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE ctl. - - Fix segfault when exactly one of the width or height is not a multiple - of 16, but the other is. - - Compute the correct vertical offset for chroma. - - cpuid assembly fix for MSVC. - - Add VS2008 project files. - - Build updates for 64-bit platforms, Mingw32, VS and XCode. - - Do not clobber the cropping rectangle. - - Declare ourselves 1.0final to pkg-config to sort after beta releases. - - Fix the scons build to include asm in libtheoradec/enc. - -libtheora 1.0beta3 (2008 April 16) - - - Build new libtheoradec and libtheoraenc libraries - supporting the new API from theora-exp. This API should - not be considered stable yet. - - Change granule_frame() to return an index as documented. - This is a change of behaviour from 1.0beta1. - - Document that granule_time() returns the end of the - presentation interval. - - Use a custom copy of the libogg bitpacker in the decoder - to avoid function call overhead. - - MMX code improved and ported to MSVC. - - Fix a problem with the MMX code on SELinux. - - Fix a problem with decoder quantizer initialization. - - Fix a page queue problem with png2theora. - - Improved robustness. - - Updated VS2005 project files. - - Dropped build support for Microsoft VS2003. - - Dropped build support for the unreleased libogg2. - - Added the specification to the autotools build. - - Specification corrections. - -libtheora 1.0beta2 (2007 October 12) - - - Fix a crash bug on char-is-unsigned architectures (PowerPC) - - Fix a buffer sizing issue that caused rare encoder crashes - - Fix a buffer alignment issue - - Build fixes for MingW32, MSVC - - Improved format documentation. - -libtheora 1.0beta1 (2007 September 22) - - - Granulepos scheme modified to match other codecs. This bumps - the bitstream revision to 3.2.1. Bitstreams marked 3.2.0 are - handled correctly by this decoder. Older decoders will show - a one frame sync error in the less noticable direction. - -libtheora 1.0alpha8 (2007 September 18) - - - Switch to new spec compliant decoder from theora-exp branch. - Written by Dr. Timothy Terriberry. - - Add support to the encoder for using quantization settings - provided by the application. - - more assembly optimizations - -libtheora 1.0alpha7 (2006 June 20) - - - Enable mmx assembly by default - - Avoid some relocations that caused problems on SELinux - - Other build fixes - - time testing mode (-f) for the dump_video example - -libtheora 1.0alpha6 (2006 May 30) - - * Merge theora-mmx simd acceleration (x86_32 and x86_64) - * Major RTP payload specification update - * Minor format specification updates - * Fix some spurious calls to free() instead of _ogg_free() - * Fix invalid array indexing in PixelLineSearch() - * Improve robustness against invalid input - * General warning cleanup - * The offset_y member now means what every application thought it meant - (offset from the top). This will mean some old files (those with a - non-centered image created with a buggy encoder) will display differently. - -libtheora 1.0alpha5 (2005 August 20) - - * Fixed bitrate management bugs that caused popping and encode - errors - * Fixed a crash problem with the theora_state internals not - being intialized properly. - * new utility function: - - theora_granule_shift() - * dump_video example now makes YUV4MPEG files by default, so - the results can be fed back to encoder_example and similar - tools. The old behavior is restored through the '-r' switch. - * ./configure now prints a summary - * simple unit test of the comment api under 'make check' - * misc code cleanup, warning and leak fixes - -libtheora 1.0alpha4 (2004 December 15) - - * first draft of the Theora I Format Specification - * API documentation generated from theora.h with Doxygen - * fix a double-update bug in the motion analysis - * apply the loop filter before filling motion vector border - in the reference frame - * new utility functions: - - theora_packet_isheader(), - - theora_packet_iskeyframe() - - theora_granule_frame() - * optional support for building without floating point - * optional support for building without encode support - * various build and packaging fixes - * pkg-config support - * SymbianOS build support - -libtheora 1.0alpha3 (2004 March 20) - - UPDATE: on 2004 July 1 the Theora I bitstream format was frozen. Files - produced by the libtheora 1.0alpha3 reference encoder will always be - decodable by the Theora I spec. - - * Bitstream info header FORMAT CHANGES: - - move the granulepos shift field to maintain byte alignment longer. - - reserve 5 additional bits for subsampling and interlace flags. - * Bitstream setup header FORMAT CHANGES: - - support for a range of interpolated quant matricies. - - include the in-loop block filter coeff. - * Bitsteam data packet FORMAT CHANGES: - - Reserve a bit for per-block Q index selection. - - Flip the coded image orientation for compatibility with VP3. - This allows lossless transcoding of VP3 content, but files - encoded with earlier theora releases would play upside down. - * example VP3 lossless transcoder - * optional support for libogg2 - * timing improvements in the example player - * packaging and build system updates and fixes - -libtheora 1.0alpha2 (2003 June 9) - - * bitstream FORMAT CHANGES: - - store the quant tables in a third setup header for - future encoder flexibility - - store the huffman tables in the third setup header - - add a field for marking the colorspace to the info header - - add crop parameters for non-multiple-of-16 frame sizes - - add a second vorbiscomment-style metadata header - * API changes to handle multiple headers with a single - theora_decode_header() call, like libvorbis - * code cleanup and minor fixes - * new dump_video code example/utility - * experimental win32 code examples - -libtheora 1.0alpha1 (2002 September 25) - - * First release of the theora reference implementation - * Port of the newly opened VP3 code to the Ogg container - * Rewrite of the code for portability and to use the libogg bitpacker - diff --git a/Libraries/libtheora-1.1.1/COPYING b/Libraries/libtheora-1.1.1/COPYING deleted file mode 100644 index c8ccce4f..00000000 --- a/Libraries/libtheora-1.1.1/COPYING +++ /dev/null @@ -1,28 +0,0 @@ -Copyright (C) 2002-2009 Xiph.org Foundation - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -- Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - -- Redistributions in binary form must reproduce the above copyright -notice, this list of conditions and the following disclaimer in the -documentation and/or other materials provided with the distribution. - -- Neither the name of the Xiph.org Foundation nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION -OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Libraries/libtheora-1.1.1/LICENSE b/Libraries/libtheora-1.1.1/LICENSE deleted file mode 100644 index 5e5ec084..00000000 --- a/Libraries/libtheora-1.1.1/LICENSE +++ /dev/null @@ -1,18 +0,0 @@ -Please see the file COPYING for the copyright license for this software. - -In addition to and irrespective of the copyright license associated -with this software, On2 Technologies, Inc. makes the following statement -regarding technology used in this software: - - On2 represents and warrants that it shall not assert any rights - relating to infringement of On2's registered patents, nor initiate - any litigation asserting such rights, against any person who, or - entity which utilizes the On2 VP3 Codec Software, including any - use, distribution, and sale of said Software; which make changes, - modifications, and improvements in said Software; and to use, - distribute, and sell said changes as well as applications for other - fields of use. - -This reference implementation is originally derived from the On2 VP3 -Codec Software, and the Theora video format is essentially compatible -with the VP3 video format, consisting of a backward-compatible superset. diff --git a/Libraries/libtheora-1.1.1/Makefile.am b/Libraries/libtheora-1.1.1/Makefile.am deleted file mode 100644 index d833491e..00000000 --- a/Libraries/libtheora-1.1.1/Makefile.am +++ /dev/null @@ -1,35 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AUTOMAKE_OPTIONS = foreign 1.6 dist-zip dist-bzip2 - -if THEORA_ENABLE_EXAMPLES -EXAMPLES_DIR = examples -else -EXAMPLES_DIR = -endif - -SUBDIRS = lib include doc tests m4 $(EXAMPLES_DIR) - - -# we include the whole debian/ dir in EXTRA_DIST because there's a problem -# with autotools and HFS+ MacOSX file systems that caused debian/Makefile.am -# to pick up on the lowercase changelog file and add ChangeLog to DIST_COMMON -# because of it, breaking make dist. This works just as well. -EXTRA_DIST = \ - README CHANGES COPYING LICENSE \ - autogen.sh win32 macosx symbian SConstruct \ - libtheora.spec libtheora.spec.in \ - theora-uninstalled.pc.in - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = theora.pc theoradec.pc theoraenc.pc - -# Remove the .svn folders included in the tarball -dist-hook: - find $(distdir) -type d -name '.svn' | xargs rm -rf - -debug: - $(MAKE) all CFLAGS="@DEBUG@" - -profile: - $(MAKE) all CFLAGS="@PROFILE@" diff --git a/Libraries/libtheora-1.1.1/Makefile.in b/Libraries/libtheora-1.1.1/Makefile.in deleted file mode 100644 index 524f0cb1..00000000 --- a/Libraries/libtheora-1.1.1/Makefile.in +++ /dev/null @@ -1,597 +0,0 @@ -# Makefile.in generated by automake 1.6.3 from Makefile.am. -# @configure_input@ - -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 -# Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -SHELL = @SHELL@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = . - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_HEADER = $(INSTALL_DATA) -transform = @program_transform_name@ -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_alias = @host_alias@ -host_triplet = @host@ - -EXEEXT = @EXEEXT@ -OBJEXT = @OBJEXT@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ -AMTAR = @AMTAR@ -AR = @AR@ -ARGZ_H = @ARGZ_H@ -AS = @AS@ -AWK = @AWK@ -BUILDABLE_EXAMPLES = @BUILDABLE_EXAMPLES@ -CAIRO_CFLAGS = @CAIRO_CFLAGS@ -CAIRO_LIBS = @CAIRO_LIBS@ -CC = @CC@ -CPP = @CPP@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -DEBUG = @DEBUG@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -F77 = @F77@ -GCJ = @GCJ@ -GCJFLAGS = @GCJFLAGS@ -GETOPT_OBJS = @GETOPT_OBJS@ -GREP = @GREP@ -HAVE_BIBTEX = @HAVE_BIBTEX@ -HAVE_DOXYGEN = @HAVE_DOXYGEN@ -HAVE_PDFLATEX = @HAVE_PDFLATEX@ -HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@ -HAVE_TRANSFIG = @HAVE_TRANSFIG@ -HAVE_VALGRIND = @HAVE_VALGRIND@ -INCLTDL = @INCLTDL@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LD = @LD@ -LIBADD_DL = @LIBADD_DL@ -LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ -LIBADD_DLOPEN = @LIBADD_DLOPEN@ -LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ -LIBLTDL = @LIBLTDL@ -LIBM = @LIBM@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTDLDEPS = @LTDLDEPS@ -LTDLINCL = @LTDLINCL@ -LTDLOPEN = @LTDLOPEN@ -LT_CONFIG_H = @LT_CONFIG_H@ -LT_DLLOADERS = @LT_DLLOADERS@ -LT_DLPREOPEN = @LT_DLPREOPEN@ -MAINT = @MAINT@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OGG_CFLAGS = @OGG_CFLAGS@ -OGG_LIBS = @OGG_LIBS@ -OSS_LIBS = @OSS_LIBS@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PKG_CONFIG = @PKG_CONFIG@ -PNG_CFLAGS = @PNG_CFLAGS@ -PNG_LIBS = @PNG_LIBS@ -PROFILE = @PROFILE@ -RANLIB = @RANLIB@ -RC = @RC@ -SDL_CFLAGS = @SDL_CFLAGS@ -SDL_CONFIG = @SDL_CONFIG@ -SDL_LIBS = @SDL_LIBS@ -SED = @SED@ -STRIP = @STRIP@ -THDEC_LIB_AGE = @THDEC_LIB_AGE@ -THDEC_LIB_CURRENT = @THDEC_LIB_CURRENT@ -THDEC_LIB_REVISION = @THDEC_LIB_REVISION@ -THENC_LIB_AGE = @THENC_LIB_AGE@ -THENC_LIB_CURRENT = @THENC_LIB_CURRENT@ -THENC_LIB_REVISION = @THENC_LIB_REVISION@ -THEORADEC_LDFLAGS = @THEORADEC_LDFLAGS@ -THEORAENC_LDFLAGS = @THEORAENC_LDFLAGS@ -THEORA_LDFLAGS = @THEORA_LDFLAGS@ -TH_LIB_AGE = @TH_LIB_AGE@ -TH_LIB_CURRENT = @TH_LIB_CURRENT@ -TH_LIB_REVISION = @TH_LIB_REVISION@ -VALGRIND_ENVIRONMENT = @VALGRIND_ENVIRONMENT@ -VERSION = @VERSION@ -VORBISENC_LIBS = @VORBISENC_LIBS@ -VORBISFILE_LIBS = @VORBISFILE_LIBS@ -VORBIS_CFLAGS = @VORBIS_CFLAGS@ -VORBIS_LIBS = @VORBIS_LIBS@ -am__include = @am__include@ -am__quote = @am__quote@ -install_sh = @install_sh@ -lt_ECHO = @lt_ECHO@ -ltdl_LIBOBJS = @ltdl_LIBOBJS@ -ltdl_LTLIBOBJS = @ltdl_LTLIBOBJS@ -sys_symbol_underscore = @sys_symbol_underscore@ - -AUTOMAKE_OPTIONS = foreign 1.6 dist-zip dist-bzip2 - -@THEORA_ENABLE_EXAMPLES_TRUE@EXAMPLES_DIR = examples -@THEORA_ENABLE_EXAMPLES_FALSE@EXAMPLES_DIR = - -SUBDIRS = lib include doc tests m4 $(EXAMPLES_DIR) - -# we include the whole debian/ dir in EXTRA_DIST because there's a problem -# with autotools and HFS+ MacOSX file systems that caused debian/Makefile.am -# to pick up on the lowercase changelog file and add ChangeLog to DIST_COMMON -# because of it, breaking make dist. This works just as well. -EXTRA_DIST = \ - README CHANGES COPYING LICENSE \ - autogen.sh win32 macosx symbian SConstruct \ - libtheora.spec libtheora.spec.in \ - theora-uninstalled.pc.in - - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = theora.pc theoradec.pc theoraenc.pc -subdir = . -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = config.h -CONFIG_CLEAN_FILES = libtheora.spec theora.pc theora-uninstalled.pc \ - theoradec.pc theoradec-uninstalled.pc theoraenc.pc \ - theoraenc-uninstalled.pc -DIST_SOURCES = -DATA = $(pkgconfig_DATA) - - -RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \ - uninstall-info-recursive all-recursive install-data-recursive \ - install-exec-recursive installdirs-recursive install-recursive \ - uninstall-recursive check-recursive installcheck-recursive -DIST_COMMON = README AUTHORS COPYING Makefile.am Makefile.in aclocal.m4 \ - compile config.guess config.h.in config.sub configure \ - configure.ac depcomp install-sh libtheora.spec.in ltmain.sh \ - missing mkinstalldirs theora-uninstalled.pc.in theora.pc.in \ - theoradec-uninstalled.pc.in theoradec.pc.in \ - theoraenc-uninstalled.pc.in theoraenc.pc.in -DIST_SUBDIRS = lib include doc tests m4 examples -all: config.h - $(MAKE) $(AM_MAKEFLAGS) all-recursive - -.SUFFIXES: - -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ - configure.lineno -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) - cd $(top_srcdir) && \ - $(AUTOMAKE) --foreign Makefile -Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe) - -$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - $(SHELL) ./config.status --recheck -$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) - cd $(srcdir) && $(AUTOCONF) - -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.ac - cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) - -config.h: stamp-h1 - @if test ! -f $@; then \ - rm -f stamp-h1; \ - $(MAKE) stamp-h1; \ - else :; fi - -stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status - @rm -f stamp-h1 - cd $(top_builddir) && $(SHELL) ./config.status config.h - -$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(top_srcdir)/configure.ac $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOHEADER) - touch $(srcdir)/config.h.in - -distclean-hdr: - -rm -f config.h stamp-h1 -libtheora.spec: $(top_builddir)/config.status libtheora.spec.in - cd $(top_builddir) && $(SHELL) ./config.status $@ -theora.pc: $(top_builddir)/config.status theora.pc.in - cd $(top_builddir) && $(SHELL) ./config.status $@ -theora-uninstalled.pc: $(top_builddir)/config.status theora-uninstalled.pc.in - cd $(top_builddir) && $(SHELL) ./config.status $@ -theoradec.pc: $(top_builddir)/config.status theoradec.pc.in - cd $(top_builddir) && $(SHELL) ./config.status $@ -theoradec-uninstalled.pc: $(top_builddir)/config.status theoradec-uninstalled.pc.in - cd $(top_builddir) && $(SHELL) ./config.status $@ -theoraenc.pc: $(top_builddir)/config.status theoraenc.pc.in - cd $(top_builddir) && $(SHELL) ./config.status $@ -theoraenc-uninstalled.pc: $(top_builddir)/config.status theoraenc-uninstalled.pc.in - cd $(top_builddir) && $(SHELL) ./config.status $@ - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: -pkgconfigDATA_INSTALL = $(INSTALL_DATA) -install-pkgconfigDATA: $(pkgconfig_DATA) - @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir) - @list='$(pkgconfig_DATA)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f="`echo $$p | sed -e 's|^.*/||'`"; \ - echo " $(pkgconfigDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgconfigdir)/$$f"; \ - $(pkgconfigDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgconfigdir)/$$f; \ - done - -uninstall-pkgconfigDATA: - @$(NORMAL_UNINSTALL) - @list='$(pkgconfig_DATA)'; for p in $$list; do \ - f="`echo $$p | sed -e 's|^.*/||'`"; \ - echo " rm -f $(DESTDIR)$(pkgconfigdir)/$$f"; \ - rm -f $(DESTDIR)$(pkgconfigdir)/$$f; \ - done - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @set fnord $$MAKEFLAGS; amf=$$2; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: - @set fnord $$MAKEFLAGS; amf=$$2; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done - -ETAGS = etags -ETAGSFLAGS = - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique - -TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$tags$$unique" \ - || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) - -top_distdir = . -distdir = $(PACKAGE)-$(VERSION) - -am__remove_distdir = \ - { test ! -d $(distdir) \ - || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ - && rm -fr $(distdir); }; } - -GZIP_ENV = --best -distcleancheck_listfiles = find . -type f -print - -distdir: $(DISTFILES) - $(am__remove_distdir) - mkdir $(distdir) - $(mkinstalldirs) $(distdir)/. $(distdir)/doc - @list='$(DISTFILES)'; for file in $$list; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkinstalldirs) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d $(distdir)/$$subdir \ - || mkdir $(distdir)/$$subdir \ - || exit 1; \ - (cd $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$(top_distdir)" \ - distdir=../$(distdir)/$$subdir \ - distdir) \ - || exit 1; \ - fi; \ - done - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="${top_distdir}" distdir="$(distdir)" \ - dist-hook - -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ - ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ - || chmod -R a+r $(distdir) -dist-gzip: distdir - $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__remove_distdir) - -dist-bzip2: distdir - $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2 - $(am__remove_distdir) - -dist-zip: distdir - -rm -f $(distdir).zip - zip -rq $(distdir).zip $(distdir) - $(am__remove_distdir) - -dist dist-all: distdir - $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2 - -rm -f $(distdir).zip - zip -rq $(distdir).zip $(distdir) - $(am__remove_distdir) - -# This target untars the dist file and tries a VPATH configuration. Then -# it guarantees that the distribution is self-contained by making another -# tarfile. -distcheck: dist - $(am__remove_distdir) - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/=build - mkdir $(distdir)/=inst - chmod a-w $(distdir) - dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \ - && cd $(distdir)/=build \ - && ../configure --srcdir=.. --prefix=$$dc_install_base \ - $(DISTCHECK_CONFIGURE_FLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) dvi \ - && $(MAKE) $(AM_MAKEFLAGS) check \ - && $(MAKE) $(AM_MAKEFLAGS) install \ - && $(MAKE) $(AM_MAKEFLAGS) installcheck \ - && $(MAKE) $(AM_MAKEFLAGS) uninstall \ - && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \ - || { echo "ERROR: files left after uninstall:" ; \ - find $$dc_install_base -type f -print ; \ - exit 1; } >&2 ) \ - && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \ - && rm -f $(distdir).tar.gz \ - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck - $(am__remove_distdir) - @echo "$(distdir).tar.gz is ready for distribution" | \ - sed 'h;s/./=/g;p;x;p;x' -distcleancheck: distclean - if test '$(srcdir)' = . ; then \ - echo "ERROR: distcleancheck can only run from a VPATH build" ; \ - exit 1 ; \ - fi - test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ - || { echo "ERROR: files left after distclean:" ; \ - $(distcleancheck_listfiles) ; \ - exit 1; } >&2 -check-am: all-am -check: check-recursive -all-am: Makefile $(DATA) config.h -installdirs: installdirs-recursive -installdirs-am: - $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir) - -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-recursive - -rm -f $(am__CONFIG_DISTCLEAN_FILES) -distclean-am: clean-am distclean-generic distclean-hdr distclean-libtool \ - distclean-tags - -dvi: dvi-recursive - -dvi-am: - -info: info-recursive - -info-am: - -install-data-am: install-pkgconfigDATA - -install-exec-am: - -install-info: install-info-recursive - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf autom4te.cache -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -uninstall-am: uninstall-info-am uninstall-pkgconfigDATA - -uninstall-info: uninstall-info-recursive - -.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \ - clean-generic clean-libtool clean-recursive dist dist-all \ - dist-bzip2 dist-gzip dist-zip distcheck distclean \ - distclean-generic distclean-hdr distclean-libtool \ - distclean-recursive distclean-tags distcleancheck distdir dvi \ - dvi-am dvi-recursive info info-am info-recursive install \ - install-am install-data install-data-am install-data-recursive \ - install-exec install-exec-am install-exec-recursive \ - install-info install-info-am install-info-recursive install-man \ - install-pkgconfigDATA install-recursive install-strip \ - installcheck installcheck-am installdirs installdirs-am \ - installdirs-recursive maintainer-clean maintainer-clean-generic \ - maintainer-clean-recursive mostlyclean mostlyclean-generic \ - mostlyclean-libtool mostlyclean-recursive tags tags-recursive \ - uninstall uninstall-am uninstall-info-am \ - uninstall-info-recursive uninstall-pkgconfigDATA \ - uninstall-recursive - - -# Remove the .svn folders included in the tarball -dist-hook: - find $(distdir) -type d -name '.svn' | xargs rm -rf - -debug: - $(MAKE) all CFLAGS="@DEBUG@" - -profile: - $(MAKE) all CFLAGS="@PROFILE@" -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/Libraries/libtheora-1.1.1/README b/Libraries/libtheora-1.1.1/README deleted file mode 100644 index 135c62dd..00000000 --- a/Libraries/libtheora-1.1.1/README +++ /dev/null @@ -1,152 +0,0 @@ -------------------------------------------------------------------------- - The Xiph.org Foundation's libtheora 1.1 -------------------------------------------------------------------------- - -*** What is Theora? - -Theora is Xiph.Org's first publicly released video codec, intended -for use within the Foundation's Ogg multimedia streaming system. -Theora is derived directly from On2's VP3 codec, adds new features -while allow it a longer useful lifetime as an competitive codec. - -The 1.0 release decoder supported all the new features, but the -encoder is nearly identical to the VP3 code. - -The 1.1 release features a completely rewritten encoder, offering -better performance and compression, and making more complete use -of the format's feature set. Files produced by both encoders can -be decoded by either release. - -*** Where is Theora? - -Theora's main site is www.theora.org. Theora and related libraries -can be gotten from www.theora.org or the main Xiph.Org site at -www.xiph.org. Development source is kept in an open subversion -repository, see http://theora.org/svn/ for instructions. - -------------------------------------------------------------------------- -Getting started with the code -------------------------------------------------------------------------- - -*** What do I need to build the source? - -Requirements summary: - - For libtheora: - - libogg 1.1 or newer. - - For example encoder: - - as above, - - libvorbis and libvorbisenc 1.0.1 or newer. - - For creating a source distribution package: - - as above, - - Doxygen to build the API documentation, - pdflatex and fig2dev to build the format specification - (transfig package in Ubuntu). - - For the player only: - - as above, - - SDL (Simple Direct media Layer) libraries and headers, - OSS audio driver and development headers. - -The provided build system is the GNU automake/autoconf system, and -the main library, libtheora, should already build smoothly on any -system. Failure of libtheora to build on a GNU-enabled system is -considered a bug; please report problems to theora-dev@xiph.org. - -Windows build support is included in the win32 directory. - -Project files for Apple XCode are included in the macosx directory. - -There is also an experimental scons build. - -*** How do I use the sample encoder? - -The sample encoder takes raw video in YUV4MPEG2 format, as used by -lavtools, mjpeg-tools and other packages. The encoder expects audio, -if any, in a separate wave WAV file. Try 'encoder_example -h' for a -complete list of options. - -An easy way to get raw video and audio files is to use MPlayer as an -export utility. The options " -ao pcm -vo yuv4mpeg " will export a -wav file named audiodump.wav and a YUV video file in the correct -format for encoder_example as stream.yuv. Be careful when exporting -video alone; MPlayer may drop frames to 'keep up' with the audio -timer. The example encoder can't properly synchronize input audio and -video file that aren't in sync to begin with. - -The encoder will also take video or audio on stdin if '-' is specified -as the input file name. - -There is also a 'png2theora' example which accepts a set of image -files in that format. - -*** How do I use the sample player? - -The sample player takes an Ogg file on standard in; the file may be -audio alone, video alone or video with audio. - -*** What other tools are available? - -The programs in the examples directory are intended as tutorial source -for developers using the library. As such they sacrifice features and -robustness in the interests of comprehension and should not be -considered serious applications. - -If you're wanting to just use theora, consider the programs linked -from http://www.theora.org/. There is playback support in a number -of common free players, and plugins for major media frameworks. -Jan Gerber's ffmpeg2theora is an excellent encoding front end. - -------------------------------------------------------------------------- -Troubleshooting the build process -------------------------------------------------------------------------- - -*** Compile error, such as: - -encoder_internal.h:664: parse error before `ogg_uint16_t' - -This means you have version of libogg prior to 1.1. A *complete* new Ogg -install, libs and headers is needed. - -Also be sure that there aren't multiple copies of Ogg installed in -/usr and /usr/local; an older one might be first on the search path -for libs and headers. - -*** Link error, such as: - -undefined reference to `oggpackB_stream' - -See above; you need libogg 1.1 or later. - -*** Link error, such as: - -undefined reference to `vorbis_granule_time' - -You need libvorbis and libvorbisenc from the 1.0.1 release or later. - -*** Link error, such as: - -/usr/lib/libSDL.a(SDL_esdaudio.lo): In function `ESD_OpenAudio': -SDL_esdaudio.lo(.text+0x25d): undefined reference to `esd_play_stream' - -Be sure to use an SDL that's built to work with OSS. If you use an -SDL that is also built with ESD and/or ALSA support, it will try to -suck in all those extra libraries at link time too. That will only -work if the extra libraries are also installed. - -*** Link warning, such as: - -libtool: link: warning: library `/usr/lib/libogg.la' was moved. -libtool: link: warning: library `/usr/lib/libogg.la' was moved. - -Re-run theora/autogen.sh after an Ogg or Vorbis rebuild/reinstall - diff --git a/Libraries/libtheora-1.1.1/SConstruct b/Libraries/libtheora-1.1.1/SConstruct deleted file mode 100644 index 01bcfb46..00000000 --- a/Libraries/libtheora-1.1.1/SConstruct +++ /dev/null @@ -1,225 +0,0 @@ -# see http://www.scons.org if you do not have this tool -from os.path import join -import SCons - -# TODO: should use lamda and map to work on python 1.5 -def path(prefix, list): return [join(prefix, x) for x in list] - -encoder_sources = """ - apiwrapper.c - fragment.c - idct.c - internal.c - state.c - quant.c - analyze.c - encfrag.c - encapiwrapper.c - encinfo.c - encode.c - enquant.c - fdct.c - huffenc.c - mathops.c - mcenc.c - rate.c - tokenize.c -""" - -decoder_sources = """ - apiwrapper.c - bitpack.c - decapiwrapper.c - decinfo.c - decode.c - dequant.c - fragment.c - huffdec.c - idct.c - info.c - internal.c - quant.c - state.c -""" - -env = Environment() -if env['CC'] == 'gcc': - env.Append(CCFLAGS=["-g", "-O2", "-Wall", "-Wno-parentheses"]) - -def CheckPKGConfig(context, version): - context.Message( 'Checking for pkg-config... ' ) - ret = context.TryAction('pkg-config --atleast-pkgconfig-version=%s' % version)[0] - context.Result( ret ) - return ret - -def CheckPKG(context, name): - context.Message( 'Checking for %s... ' % name ) - ret = context.TryAction('pkg-config --exists %s' % name)[0] - context.Result( ret ) - return ret - -def CheckSDL(context): - name = "sdl-config" - context.Message( 'Checking for %s... ' % name ) - ret = SCons.Util.WhereIs('sdl-config') - context.Result( ret ) - return ret - -# check for appropriate inline asm support -host_x86_32_test = """ - int main(int argc, char **argv) { -#if !defined(__i386__) - #error not an x86 host: preprocessor macro __i386__ not defined -#endif - return 0; - } - """ -def CheckHost_x86_32(context): - context.Message('Checking for an x86 host...') - result = context.TryCompile(host_x86_32_test, '.c') - context.Result(result) - return result - -host_x86_64_test = """ - int main(int argc, char **argv) { -#if !defined(__x86_64__) - #error not an x86_64 host: preprocessor macro __x86_64__ not defined -#endif - return 0; - } - """ -def CheckHost_x86_64(context): - context.Message('Checking for an x86_64 host...') - result = context.TryCompile(host_x86_64_test, '.c') - context.Result(result) - return result - -conf = Configure(env, custom_tests = { - 'CheckPKGConfig' : CheckPKGConfig, - 'CheckPKG' : CheckPKG, - 'CheckSDL' : CheckSDL, - 'CheckHost_x86_32' : CheckHost_x86_32, - 'CheckHost_x86_64' : CheckHost_x86_64, - }) - -if not conf.CheckPKGConfig('0.15.0'): - print 'pkg-config >= 0.15.0 not found.' - Exit(1) - -if not conf.CheckPKG('ogg'): - print 'libogg not found.' - Exit(1) - -if conf.CheckPKG('vorbis vorbisenc'): - have_vorbis=True -else: - have_vorbis=False - -if conf.CheckPKG('libpng'): - have_libpng=True -else: - have_libpng=False - -build_player_example=True -if not conf.CheckHeader('sys/soundcard.h'): - build_player_example=False -if build_player_example and not conf.CheckSDL(): - build_player_example=False - -if conf.CheckHost_x86_32(): - env.Append(CPPDEFINES='OC_X86_ASM') - decoder_sources += """ - x86/mmxidct.c - x86/mmxfrag.c - x86/mmxstate.c - x86/x86state.c - """ - encoder_sources += """ - x86/mmxencfrag.c - x86/mmxfdct.c - x86/x86enc.c - x86/mmxfrag.c - x86/mmxidct.c - x86/mmxstate.c - x86/x86state.c - """ -elif conf.CheckHost_x86_64(): - env.Append(CPPDEFINES=['OC_X86_ASM', 'OC_X86_64_ASM']) - decoder_sources += """ - x86/mmxidct.c - x86/mmxfrag.c - x86/mmxstate.c - x86/x86state.c - """ - encoder_sources += """ - x86/mmxencfrag.c - x86/mmxfdct.c - x86/x86enc.c - x86/sse2fdct.c - x86/mmxfrag.c - x86/mmxidct.c - x86/mmxstate.c - x86/x86state.c - """ - -env = conf.Finish() - -env.Append(CPPPATH=['include']) -env.ParseConfig('pkg-config --cflags --libs ogg') - -libtheoradec_Sources = Split(decoder_sources) -libtheoraenc_Sources = Split(encoder_sources) - -libtheoradec_a = env.Library('lib/theoradec', - path('lib', libtheoradec_Sources)) -libtheoradec_so = env.SharedLibrary('lib/theoradec', - path('lib', libtheoradec_Sources)) - -libtheoraenc_a = env.Library('lib/theoraenc', - path('lib', libtheoraenc_Sources)) -libtheoraenc_so = env.SharedLibrary('lib/theoraenc', - path('lib', libtheoraenc_Sources) + [libtheoradec_so]) - -#installing -prefix='/usr' -lib_dir = prefix + '/lib' -env.Alias('install', prefix) -env.Install(lib_dir, [libtheoradec_a, libtheoradec_so]) -env.Install(lib_dir, [libtheoraenc_a, libtheoraenc_so]) - -# example programs -dump_video = env.Clone() -dump_video_Sources = Split("""dump_video.c ../lib/libtheoradec.a""") -dump_video.Program('examples/dump_video', path('examples', dump_video_Sources)) - -dump_psnr = env.Clone() -dump_psnr.Append(LIBS='m') -dump_psnr_Sources = Split("""dump_psnr.c ../lib/libtheoradec.a""") -dump_psnr.Program('examples/dump_psnr', path('examples', dump_psnr_Sources)) - -if have_vorbis: - encex = dump_video.Clone() - encex.ParseConfig('pkg-config --cflags --libs vorbisenc vorbis') - encex_Sources = Split(""" - encoder_example.c - ../lib/libtheoraenc.a - ../lib/libtheoradec.a - """) - encex.Program('examples/encoder_example', path('examples', encex_Sources)) - - if build_player_example: - plyex = encex.Clone() - plyex_Sources = Split(""" - player_example.c - ../lib/libtheoradec.a - """) - plyex.ParseConfig('sdl-config --cflags --libs') - plyex.Program('examples/player_example', path('examples', plyex_Sources)) - -png2theora = env.Clone() -png2theora_Sources = Split("""png2theora.c - ../lib/libtheoraenc.a - ../lib/libtheoradec.a -""") -png2theora.ParseConfig('pkg-config --cflags --libs libpng') -png2theora.Program('examples/png2theora', path('examples', png2theora_Sources)) diff --git a/Libraries/libtheora-1.1.1/aclocal.m4 b/Libraries/libtheora-1.1.1/aclocal.m4 deleted file mode 100644 index a050e7ea..00000000 --- a/Libraries/libtheora-1.1.1/aclocal.m4 +++ /dev/null @@ -1,10370 +0,0 @@ -# aclocal.m4 generated automatically by aclocal 1.6.3 -*- Autoconf -*- - -# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 -# Free Software Foundation, Inc. -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*- - -# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -AC_PREREQ([2.52]) - -# serial 6 - -# When config.status generates a header, we must update the stamp-h file. -# This file resides in the same directory as the config header -# that is generated. We must strip everything past the first ":", -# and everything past the last "/". - -# _AM_DIRNAME(PATH) -# ----------------- -# Like AS_DIRNAME, only do it during macro expansion -AC_DEFUN([_AM_DIRNAME], - [m4_if(regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1, - m4_if(regexp([$1], [^//\([^/]\|$\)]), -1, - m4_if(regexp([$1], [^/.*]), -1, - [.], - patsubst([$1], [^\(/\).*], [\1])), - patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])), - patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl -])# _AM_DIRNAME - - -# The stamp files are numbered to have different names. -# We could number them on a directory basis, but that's additional -# complications, let's have a unique counter. -m4_define([_AM_STAMP_Count], [0]) - - -# _AM_STAMP(HEADER) -# ----------------- -# The name of the stamp file for HEADER. -AC_DEFUN([_AM_STAMP], -[m4_define([_AM_STAMP_Count], m4_incr(_AM_STAMP_Count))dnl -AS_ESCAPE(_AM_DIRNAME(patsubst([$1], - [:.*])))/stamp-h[]_AM_STAMP_Count]) - - -# _AM_CONFIG_HEADER(HEADER[:SOURCES], COMMANDS, INIT-COMMANDS) -# ------------------------------------------------------------ -# We used to try to get a real timestamp in stamp-h. But the fear is that -# that will cause unnecessary cvs conflicts. -AC_DEFUN([_AM_CONFIG_HEADER], -[# Add the stamp file to the list of files AC keeps track of, -# along with our hook. -AC_CONFIG_HEADERS([$1], - [# update the timestamp -echo 'timestamp for $1' >"_AM_STAMP([$1])" -$2], - [$3]) -])# _AM_CONFIG_HEADER - - -# AM_CONFIG_HEADER(HEADER[:SOURCES]..., COMMANDS, INIT-COMMANDS) -# -------------------------------------------------------------- -AC_DEFUN([AM_CONFIG_HEADER], -[AC_FOREACH([_AM_File], [$1], [_AM_CONFIG_HEADER(_AM_File, [$2], [$3])]) -])# AM_CONFIG_HEADER - -# Do all the work for Automake. -*- Autoconf -*- - -# This macro actually does too much some checks are only needed if -# your package does certain things. But this isn't really a big deal. - -# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 -# Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# serial 8 - -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be -# written in clear, in which case automake, when reading aclocal.m4, -# will think it sees a *use*, and therefore will trigger all it's -# C support machinery. Also note that it means that autoscan, seeing -# CC etc. in the Makefile, will ask for an AC_PROG_CC use... - - -AC_PREREQ([2.52]) - -# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow -# the ones we care about. -m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl - -# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) -# AM_INIT_AUTOMAKE([OPTIONS]) -# ----------------------------------------------- -# The call with PACKAGE and VERSION arguments is the old style -# call (pre autoconf-2.50), which is being phased out. PACKAGE -# and VERSION should now be passed to AC_INIT and removed from -# the call to AM_INIT_AUTOMAKE. -# We support both call styles for the transition. After -# the next Automake release, Autoconf can make the AC_INIT -# arguments mandatory, and then we can depend on a new Autoconf -# release and drop the old call support. -AC_DEFUN([AM_INIT_AUTOMAKE], -[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl - AC_REQUIRE([AC_PROG_INSTALL])dnl -# test to see if srcdir already configured -if test "`cd $srcdir && pwd`" != "`pwd`" && - test -f $srcdir/config.status; then - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) -fi - -# Define the identity of the package. -dnl Distinguish between old-style and new-style calls. -m4_ifval([$2], -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl - AC_SUBST([PACKAGE], [$1])dnl - AC_SUBST([VERSION], [$2])], -[_AM_SET_OPTIONS([$1])dnl - AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl - AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl - -_AM_IF_OPTION([no-define],, -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl - -# Some tools Automake needs. -AC_REQUIRE([AM_SANITY_CHECK])dnl -AC_REQUIRE([AC_ARG_PROGRAM])dnl -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) -AM_MISSING_PROG(AUTOCONF, autoconf) -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) -AM_MISSING_PROG(AUTOHEADER, autoheader) -AM_MISSING_PROG(MAKEINFO, makeinfo) -AM_MISSING_PROG(AMTAR, tar) -AM_PROG_INSTALL_SH -AM_PROG_INSTALL_STRIP -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. -AC_REQUIRE([AC_PROG_AWK])dnl -AC_REQUIRE([AC_PROG_MAKE_SET])dnl - -_AM_IF_OPTION([no-dependencies],, -[AC_PROVIDE_IFELSE([AC_PROG_][CC], - [_AM_DEPENDENCIES(CC)], - [define([AC_PROG_][CC], - defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl -AC_PROVIDE_IFELSE([AC_PROG_][CXX], - [_AM_DEPENDENCIES(CXX)], - [define([AC_PROG_][CXX], - defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl -]) -]) - -# Copyright 2002 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - -# AM_AUTOMAKE_VERSION(VERSION) -# ---------------------------- -# Automake X.Y traces this macro to ensure aclocal.m4 has been -# generated from the m4 files accompanying Automake X.Y. -AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.6"]) - -# AM_SET_CURRENT_AUTOMAKE_VERSION -# ------------------------------- -# Call AM_AUTOMAKE_VERSION so it can be traced. -# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], - [AM_AUTOMAKE_VERSION([1.6.3])]) - -# Helper functions for option handling. -*- Autoconf -*- - -# Copyright 2001, 2002 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# serial 2 - -# _AM_MANGLE_OPTION(NAME) -# ----------------------- -AC_DEFUN([_AM_MANGLE_OPTION], -[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) - -# _AM_SET_OPTION(NAME) -# ------------------------------ -# Set option NAME. Presently that only means defining a flag for this option. -AC_DEFUN([_AM_SET_OPTION], -[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) - -# _AM_SET_OPTIONS(OPTIONS) -# ---------------------------------- -# OPTIONS is a space-separated list of Automake options. -AC_DEFUN([_AM_SET_OPTIONS], -[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) - -# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) -# ------------------------------------------- -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. -AC_DEFUN([_AM_IF_OPTION], -[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) - -# -# Check to make sure that the build environment is sane. -# - -# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# serial 3 - -# AM_SANITY_CHECK -# --------------- -AC_DEFUN([AM_SANITY_CHECK], -[AC_MSG_CHECKING([whether build environment is sane]) -# Just in case -sleep 1 -echo timestamp > conftest.file -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` - if test "$[*]" = "X"; then - # -L didn't work. - set X `ls -t $srcdir/configure conftest.file` - fi - rm -f conftest.file - if test "$[*]" != "X $srcdir/configure conftest.file" \ - && test "$[*]" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken -alias in your environment]) - fi - - test "$[2]" = conftest.file - ) -then - # Ok. - : -else - AC_MSG_ERROR([newly created file is older than distributed files! -Check your system clock]) -fi -AC_MSG_RESULT(yes)]) - -# -*- Autoconf -*- - - -# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# serial 3 - -# AM_MISSING_PROG(NAME, PROGRAM) -# ------------------------------ -AC_DEFUN([AM_MISSING_PROG], -[AC_REQUIRE([AM_MISSING_HAS_RUN]) -$1=${$1-"${am_missing_run}$2"} -AC_SUBST($1)]) - - -# AM_MISSING_HAS_RUN -# ------------------ -# Define MISSING if not defined so far and test if it supports --run. -# If it does, set am_missing_run to use it, otherwise, to nothing. -AC_DEFUN([AM_MISSING_HAS_RUN], -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" -# Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " -else - am_missing_run= - AC_MSG_WARN([`missing' script is too old or missing]) -fi -]) - -# AM_AUX_DIR_EXPAND - -# Copyright 2001 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to -# `$srcdir', `$srcdir/..', or `$srcdir/../..'. -# -# Of course, Automake must honor this variable whenever it calls a -# tool from the auxiliary directory. The problem is that $srcdir (and -# therefore $ac_aux_dir as well) can be either absolute or relative, -# depending on how configure is run. This is pretty annoying, since -# it makes $ac_aux_dir quite unusable in subdirectories: in the top -# source directory, any form will work fine, but in subdirectories a -# relative path needs to be adjusted first. -# -# $ac_aux_dir/missing -# fails when called from a subdirectory if $ac_aux_dir is relative -# $top_srcdir/$ac_aux_dir/missing -# fails if $ac_aux_dir is absolute, -# fails when called from a subdirectory in a VPATH build with -# a relative $ac_aux_dir -# -# The reason of the latter failure is that $top_srcdir and $ac_aux_dir -# are both prefixed by $srcdir. In an in-source build this is usually -# harmless because $srcdir is `.', but things will broke when you -# start a VPATH build or use an absolute $srcdir. -# -# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, -# iff we strip the leading $srcdir from $ac_aux_dir. That would be: -# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` -# and then we would define $MISSING as -# MISSING="\${SHELL} $am_aux_dir/missing" -# This will work as long as MISSING is not called from configure, because -# unfortunately $(top_srcdir) has no meaning in configure. -# However there are other variables, like CC, which are often used in -# configure, and could therefore not use this "fixed" $ac_aux_dir. -# -# Another solution, used here, is to always expand $ac_aux_dir to an -# absolute PATH. The drawback is that using absolute paths prevent a -# configured tree to be moved without reconfiguration. - -# Rely on autoconf to set up CDPATH properly. -AC_PREREQ([2.50]) - -AC_DEFUN([AM_AUX_DIR_EXPAND], [ -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` -]) - -# AM_PROG_INSTALL_SH -# ------------------ -# Define $install_sh. - -# Copyright 2001 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -AC_DEFUN([AM_PROG_INSTALL_SH], -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -install_sh=${install_sh-"$am_aux_dir/install-sh"} -AC_SUBST(install_sh)]) - -# AM_PROG_INSTALL_STRIP - -# Copyright 2001 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# One issue with vendor `install' (even GNU) is that you can't -# specify the program used to strip binaries. This is especially -# annoying in cross-compiling environments, where the build's strip -# is unlikely to handle the host's binaries. -# Fortunately install-sh will honor a STRIPPROG variable, so we -# always use install-sh in `make install-strip', and initialize -# STRIPPROG with the value of the STRIP variable (set by the user). -AC_DEFUN([AM_PROG_INSTALL_STRIP], -[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -dnl Don't test for $cross_compiling = yes, because it might be `maybe'. -if test "$cross_compiling" != no; then - AC_CHECK_TOOL([STRIP], [strip], :) -fi -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" -AC_SUBST([INSTALL_STRIP_PROGRAM])]) - -# serial 4 -*- Autoconf -*- - -# Copyright 1999, 2000, 2001 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - - -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be -# written in clear, in which case automake, when reading aclocal.m4, -# will think it sees a *use*, and therefore will trigger all it's -# C support machinery. Also note that it means that autoscan, seeing -# CC etc. in the Makefile, will ask for an AC_PROG_CC use... - - - -# _AM_DEPENDENCIES(NAME) -# ---------------------- -# See how the compiler implements dependency checking. -# NAME is "CC", "CXX", "GCJ", or "OBJC". -# We try a few techniques and use that to set a single cache variable. -# -# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was -# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular -# dependency, and given that the user is not expected to run this macro, -# just rely on AC_PROG_CC. -AC_DEFUN([_AM_DEPENDENCIES], -[AC_REQUIRE([AM_SET_DEPDIR])dnl -AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl -AC_REQUIRE([AM_MAKE_INCLUDE])dnl -AC_REQUIRE([AM_DEP_TRACK])dnl - -ifelse([$1], CC, [depcc="$CC" am_compiler_list=], - [$1], CXX, [depcc="$CXX" am_compiler_list=], - [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], - [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], - [depcc="$$1" am_compiler_list=]) - -AC_CACHE_CHECK([dependency style of $depcc], - [am_cv_$1_dependencies_compiler_type], -[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - - am_cv_$1_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` - fi - for depmode in $am_compiler_list; do - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - echo '#include "conftest.h"' > conftest.c - echo 'int i;' > conftest.h - echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf - - case $depmode in - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - none) break ;; - esac - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. - if depmode=$depmode \ - source=conftest.c object=conftest.o \ - depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && - grep conftest.h conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_$1_dependencies_compiler_type=$depmode - break - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_$1_dependencies_compiler_type=none -fi -]) -AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) -]) - - -# AM_SET_DEPDIR -# ------------- -# Choose a directory name for dependency files. -# This macro is AC_REQUIREd in _AM_DEPENDENCIES -AC_DEFUN([AM_SET_DEPDIR], -[rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null -AC_SUBST([DEPDIR]) -]) - - -# AM_DEP_TRACK -# ------------ -AC_DEFUN([AM_DEP_TRACK], -[AC_ARG_ENABLE(dependency-tracking, -[ --disable-dependency-tracking Speeds up one-time builds - --enable-dependency-tracking Do not reject slow dependency extractors]) -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' -fi -AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) -AC_SUBST([AMDEPBACKSLASH]) -]) - -# Generate code to set up dependency tracking. -*- Autoconf -*- - -# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -#serial 2 - -# _AM_OUTPUT_DEPENDENCY_COMMANDS -# ------------------------------ -AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], -[for mf in $CONFIG_FILES; do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # So let's grep whole file. - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then - dirpart=`AS_DIRNAME("$mf")` - else - continue - fi - grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue - # Extract the definition of DEP_FILES from the Makefile without - # running `make'. - DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` - test -z "$DEPDIR" && continue - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n -e '/^U = / s///p' < "$mf"` - test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" - # We invoke sed twice because it is the simplest approach to - # changing $(DEPDIR) to its actual value in the expansion. - for file in `sed -n -e ' - /^DEP_FILES = .*\\\\$/ { - s/^DEP_FILES = // - :loop - s/\\\\$// - p - n - /\\\\$/ b loop - p - } - /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`AS_DIRNAME(["$file"])` - AS_MKDIR_P([$dirpart/$fdir]) - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done -done -])# _AM_OUTPUT_DEPENDENCY_COMMANDS - - -# AM_OUTPUT_DEPENDENCY_COMMANDS -# ----------------------------- -# This macro should only be invoked once -- use via AC_REQUIRE. -# -# This code is only required when automatic dependency tracking -# is enabled. FIXME. This creates each `.P' file that we will -# need in order to bootstrap the dependency handling code. -AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], -[AC_CONFIG_COMMANDS([depfiles], - [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], - [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) -]) - -# Copyright 2001 Free Software Foundation, Inc. -*- Autoconf -*- - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# serial 2 - -# AM_MAKE_INCLUDE() -# ----------------- -# Check to see how make treats includes. -AC_DEFUN([AM_MAKE_INCLUDE], -[am_make=${MAKE-make} -cat > confinc << 'END' -doit: - @echo done -END -# If we don't find an include directive, just comment out the code. -AC_MSG_CHECKING([for style of include used by $am_make]) -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# We grep out `Entering directory' and `Leaving directory' -# messages which can occur if `w' ends up in MAKEFLAGS. -# In particular we don't look at `^make:' because GNU make might -# be invoked under some other name (usually "gmake"), in which -# case it prints its new name instead of `make'. -if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then - am__include=include - am__quote= - _am_result=GNU -fi -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then - am__include=.include - am__quote="\"" - _am_result=BSD - fi -fi -AC_SUBST(am__include) -AC_SUBST(am__quote) -AC_MSG_RESULT($_am_result) -rm -f confinc confmf -]) - -# AM_CONDITIONAL -*- Autoconf -*- - -# Copyright 1997, 2000, 2001 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# serial 5 - -AC_PREREQ(2.52) - -# AM_CONDITIONAL(NAME, SHELL-CONDITION) -# ------------------------------------- -# Define a conditional. -AC_DEFUN([AM_CONDITIONAL], -[ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl -AC_SUBST([$1_TRUE]) -AC_SUBST([$1_FALSE]) -if $2; then - $1_TRUE= - $1_FALSE='#' -else - $1_TRUE='#' - $1_FALSE= -fi -AC_CONFIG_COMMANDS_PRE( -[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then - AC_MSG_ERROR([conditional \"$1\" was never defined. -Usually this means the macro was only invoked conditionally.]) -fi])]) - -# Add --enable-maintainer-mode option to configure. -# From Jim Meyering - -# Copyright 1996, 1998, 2000, 2001 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# serial 1 - -AC_DEFUN([AM_MAINTAINER_MODE], -[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) - dnl maintainer-mode is disabled by default - AC_ARG_ENABLE(maintainer-mode, -[ --enable-maintainer-mode enable make rules and dependencies not useful - (and sometimes confusing) to the casual installer], - USE_MAINTAINER_MODE=$enableval, - USE_MAINTAINER_MODE=no) - AC_MSG_RESULT([$USE_MAINTAINER_MODE]) - AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) - MAINT=$MAINTAINER_MODE_TRUE - AC_SUBST(MAINT)dnl -] -) - -# serial 2 - -# AM_PROG_CC_C_O -# -------------- -# Like AC_PROG_CC_C_O, but changed for automake. - -# Copyright 1999, 2000, 2001 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -AC_DEFUN([AM_PROG_CC_C_O], -[AC_REQUIRE([AC_PROG_CC_C_O])dnl -AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -# FIXME: we rely on the cache variable name because -# there is no other way. -set dummy $CC -ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` -if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then - # Losing compiler, so override with the script. - # FIXME: It is wrong to rewrite CC. - # But if we don't then we get into trouble of one sort or another. - # A longer-term fix would be to have automake use am__CC in this case, - # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" - CC="$am_aux_dir/compile $CC" -fi -]) - -# Helper functions for option handling. -*- Autoconf -*- -# -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. -# Written by Gary V. Vaughan, 2004 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# serial 6 ltoptions.m4 - -# This is to help aclocal find these macros, as it can't see m4_define. -AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) - - -# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) -# ------------------------------------------ -m4_define([_LT_MANGLE_OPTION], -[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) - - -# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) -# --------------------------------------- -# Set option OPTION-NAME for macro MACRO-NAME, and if there is a -# matching handler defined, dispatch to it. Other OPTION-NAMEs are -# saved as a flag. -m4_define([_LT_SET_OPTION], -[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl -m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), - _LT_MANGLE_DEFUN([$1], [$2]), - [m4_warning([Unknown $1 option `$2'])])[]dnl -]) - - -# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) -# ------------------------------------------------------------ -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. -m4_define([_LT_IF_OPTION], -[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) - - -# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) -# ------------------------------------------------------- -# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME -# are set. -m4_define([_LT_UNLESS_OPTIONS], -[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), - [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), - [m4_define([$0_found])])])[]dnl -m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 -])[]dnl -]) - - -# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) -# ---------------------------------------- -# OPTION-LIST is a space-separated list of Libtool options associated -# with MACRO-NAME. If any OPTION has a matching handler declared with -# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about -# the unknown option and exit. -m4_defun([_LT_SET_OPTIONS], -[# Set options -m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), - [_LT_SET_OPTION([$1], _LT_Option)]) - -m4_if([$1],[LT_INIT],[ - dnl - dnl Simply set some default values (i.e off) if boolean options were not - dnl specified: - _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no - ]) - _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no - ]) - dnl - dnl If no reference was made to various pairs of opposing options, then - dnl we run the default mode handler for the pair. For example, if neither - dnl `shared' nor `disable-shared' was passed, we enable building of shared - dnl archives by default: - _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) - _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) - _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) - _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], - [_LT_ENABLE_FAST_INSTALL]) - ]) -])# _LT_SET_OPTIONS - - - -# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) -# ----------------------------------------- -m4_define([_LT_MANGLE_DEFUN], -[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) - - -# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) -# ----------------------------------------------- -m4_define([LT_OPTION_DEFINE], -[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl -])# LT_OPTION_DEFINE - - -# dlopen -# ------ -LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes -]) - -AU_DEFUN([AC_LIBTOOL_DLOPEN], -[_LT_SET_OPTION([LT_INIT], [dlopen]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you -put the `dlopen' option into LT_INIT's first parameter.]) -]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) - - -# win32-dll -# --------- -# Declare package support for building win32 dll's. -LT_OPTION_DEFINE([LT_INIT], [win32-dll], -[enable_win32_dll=yes - -case $host in -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) - AC_CHECK_TOOL(AS, as, false) - AC_CHECK_TOOL(DLLTOOL, dlltool, false) - AC_CHECK_TOOL(OBJDUMP, objdump, false) - ;; -esac - -test -z "$AS" && AS=as -_LT_DECL([], [AS], [0], [Assembler program])dnl - -test -z "$DLLTOOL" && DLLTOOL=dlltool -_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl - -test -z "$OBJDUMP" && OBJDUMP=objdump -_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl -])# win32-dll - -AU_DEFUN([AC_LIBTOOL_WIN32_DLL], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -_LT_SET_OPTION([LT_INIT], [win32-dll]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you -put the `win32-dll' option into LT_INIT's first parameter.]) -]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) - - -# _LT_ENABLE_SHARED([DEFAULT]) -# ---------------------------- -# implement the --enable-shared flag, and supports the `shared' and -# `disable-shared' LT_INIT options. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -m4_define([_LT_ENABLE_SHARED], -[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl -AC_ARG_ENABLE([shared], - [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], - [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_shared=yes ;; - no) enable_shared=no ;; - *) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) - - _LT_DECL([build_libtool_libs], [enable_shared], [0], - [Whether or not to build shared libraries]) -])# _LT_ENABLE_SHARED - -LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) -LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) - -# Old names: -AC_DEFUN([AC_ENABLE_SHARED], -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) -]) - -AC_DEFUN([AC_DISABLE_SHARED], -[_LT_SET_OPTION([LT_INIT], [disable-shared]) -]) - -AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) -AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AM_ENABLE_SHARED], []) -dnl AC_DEFUN([AM_DISABLE_SHARED], []) - - - -# _LT_ENABLE_STATIC([DEFAULT]) -# ---------------------------- -# implement the --enable-static flag, and support the `static' and -# `disable-static' LT_INIT options. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -m4_define([_LT_ENABLE_STATIC], -[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl -AC_ARG_ENABLE([static], - [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], - [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_static=yes ;; - no) enable_static=no ;; - *) - enable_static=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_static=]_LT_ENABLE_STATIC_DEFAULT) - - _LT_DECL([build_old_libs], [enable_static], [0], - [Whether or not to build static libraries]) -])# _LT_ENABLE_STATIC - -LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) -LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) - -# Old names: -AC_DEFUN([AC_ENABLE_STATIC], -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) -]) - -AC_DEFUN([AC_DISABLE_STATIC], -[_LT_SET_OPTION([LT_INIT], [disable-static]) -]) - -AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) -AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AM_ENABLE_STATIC], []) -dnl AC_DEFUN([AM_DISABLE_STATIC], []) - - - -# _LT_ENABLE_FAST_INSTALL([DEFAULT]) -# ---------------------------------- -# implement the --enable-fast-install flag, and support the `fast-install' -# and `disable-fast-install' LT_INIT options. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -m4_define([_LT_ENABLE_FAST_INSTALL], -[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl -AC_ARG_ENABLE([fast-install], - [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], - [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_fast_install=yes ;; - no) enable_fast_install=no ;; - *) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) - -_LT_DECL([fast_install], [enable_fast_install], [0], - [Whether or not to optimize for fast installation])dnl -])# _LT_ENABLE_FAST_INSTALL - -LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) -LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) - -# Old names: -AU_DEFUN([AC_ENABLE_FAST_INSTALL], -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you put -the `fast-install' option into LT_INIT's first parameter.]) -]) - -AU_DEFUN([AC_DISABLE_FAST_INSTALL], -[_LT_SET_OPTION([LT_INIT], [disable-fast-install]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you put -the `disable-fast-install' option into LT_INIT's first parameter.]) -]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) -dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) - - -# _LT_WITH_PIC([MODE]) -# -------------------- -# implement the --with-pic flag, and support the `pic-only' and `no-pic' -# LT_INIT options. -# MODE is either `yes' or `no'. If omitted, it defaults to `both'. -m4_define([_LT_WITH_PIC], -[AC_ARG_WITH([pic], - [AS_HELP_STRING([--with-pic], - [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], - [pic_mode="$withval"], - [pic_mode=default]) - -test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) - -_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl -])# _LT_WITH_PIC - -LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) -LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) - -# Old name: -AU_DEFUN([AC_LIBTOOL_PICMODE], -[_LT_SET_OPTION([LT_INIT], [pic-only]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you -put the `pic-only' option into LT_INIT's first parameter.]) -]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) - - -m4_define([_LTDL_MODE], []) -LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], - [m4_define([_LTDL_MODE], [nonrecursive])]) -LT_OPTION_DEFINE([LTDL_INIT], [recursive], - [m4_define([_LTDL_MODE], [recursive])]) -LT_OPTION_DEFINE([LTDL_INIT], [subproject], - [m4_define([_LTDL_MODE], [subproject])]) - -m4_define([_LTDL_TYPE], []) -LT_OPTION_DEFINE([LTDL_INIT], [installable], - [m4_define([_LTDL_TYPE], [installable])]) -LT_OPTION_DEFINE([LTDL_INIT], [convenience], - [m4_define([_LTDL_TYPE], [convenience])]) - -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- -# -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -# 2006, 2007, 2008 Free Software Foundation, Inc. -# Written by Gordon Matzigkeit, 1996 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -m4_define([_LT_COPYING], [dnl -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -# 2006, 2007, 2008 Free Software Foundation, Inc. -# Written by Gordon Matzigkeit, 1996 -# -# This file is part of GNU Libtool. -# -# GNU Libtool is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of -# the License, or (at your option) any later version. -# -# As a special exception to the GNU General Public License, -# if you distribute this file as part of a program or library that -# is built using GNU Libtool, you may include this file under the -# same distribution terms that you use for the rest of that program. -# -# GNU Libtool is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Libtool; see the file COPYING. If not, a copy -# can be downloaded from http://www.gnu.org/licenses/gpl.html, or -# obtained by writing to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -]) - -# serial 56 LT_INIT - - -# LT_PREREQ(VERSION) -# ------------------ -# Complain and exit if this libtool version is less that VERSION. -m4_defun([LT_PREREQ], -[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, - [m4_default([$3], - [m4_fatal([Libtool version $1 or higher is required], - 63)])], - [$2])]) - - -# _LT_CHECK_BUILDDIR -# ------------------ -# Complain if the absolute build directory name contains unusual characters -m4_defun([_LT_CHECK_BUILDDIR], -[case `pwd` in - *\ * | *\ *) - AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; -esac -]) - - -# LT_INIT([OPTIONS]) -# ------------------ -AC_DEFUN([LT_INIT], -[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT -AC_BEFORE([$0], [LT_LANG])dnl -AC_BEFORE([$0], [LT_OUTPUT])dnl -AC_BEFORE([$0], [LTDL_INIT])dnl -m4_require([_LT_CHECK_BUILDDIR])dnl - -dnl Autoconf doesn't catch unexpanded LT_ macros by default: -m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl -m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl -dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 -dnl unless we require an AC_DEFUNed macro: -AC_REQUIRE([LTOPTIONS_VERSION])dnl -AC_REQUIRE([LTSUGAR_VERSION])dnl -AC_REQUIRE([LTVERSION_VERSION])dnl -AC_REQUIRE([LTOBSOLETE_VERSION])dnl -m4_require([_LT_PROG_LTMAIN])dnl - -dnl Parse OPTIONS -_LT_SET_OPTIONS([$0], [$1]) - -# This can be used to rebuild libtool when needed -LIBTOOL_DEPS="$ltmain" - -# Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' -AC_SUBST(LIBTOOL)dnl - -_LT_SETUP - -# Only expand once: -m4_define([LT_INIT]) -])# LT_INIT - -# Old names: -AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) -AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_PROG_LIBTOOL], []) -dnl AC_DEFUN([AM_PROG_LIBTOOL], []) - - -# _LT_CC_BASENAME(CC) -# ------------------- -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. -m4_defun([_LT_CC_BASENAME], -[for cc_temp in $1""; do - case $cc_temp in - compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; - distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` -]) - - -# _LT_FILEUTILS_DEFAULTS -# ---------------------- -# It is okay to use these file commands and assume they have been set -# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. -m4_defun([_LT_FILEUTILS_DEFAULTS], -[: ${CP="cp -f"} -: ${MV="mv -f"} -: ${RM="rm -f"} -])# _LT_FILEUTILS_DEFAULTS - - -# _LT_SETUP -# --------- -m4_defun([_LT_SETUP], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -_LT_DECL([], [host_alias], [0], [The host system])dnl -_LT_DECL([], [host], [0])dnl -_LT_DECL([], [host_os], [0])dnl -dnl -_LT_DECL([], [build_alias], [0], [The build system])dnl -_LT_DECL([], [build], [0])dnl -_LT_DECL([], [build_os], [0])dnl -dnl -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([LT_PATH_LD])dnl -AC_REQUIRE([LT_PATH_NM])dnl -dnl -AC_REQUIRE([AC_PROG_LN_S])dnl -test -z "$LN_S" && LN_S="ln -s" -_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl -dnl -AC_REQUIRE([LT_CMD_MAX_LEN])dnl -_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl -_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl -dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_CHECK_SHELL_FEATURES])dnl -m4_require([_LT_CMD_RELOAD])dnl -m4_require([_LT_CHECK_MAGIC_METHOD])dnl -m4_require([_LT_CMD_OLD_ARCHIVE])dnl -m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl - -_LT_CONFIG_LIBTOOL_INIT([ -# See if we are running on zsh, and set the options which allow our -# commands through without removal of \ escapes INIT. -if test -n "\${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST -fi -]) -if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST -fi - -_LT_CHECK_OBJDIR - -m4_require([_LT_TAG_COMPILER])dnl -_LT_PROG_ECHO_BACKSLASH - -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES - fi - ;; -esac - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' - -# Same as above, but do not quote variable references. -double_quote_subst='s/\([["`\\]]\)/\\\1/g' - -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' - -# Sed substitution to delay expansion of an escaped single quote. -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' - -# Sed substitution to avoid accidental globbing in evaled expressions -no_glob_subst='s/\*/\\\*/g' - -# Global variables: -ofile=libtool -can_build_shared=yes - -# All known linkers require a `.a' archive for static linking (except MSVC, -# which needs '.lib'). -libext=a - -with_gnu_ld="$lt_cv_prog_gnu_ld" - -old_CC="$CC" -old_CFLAGS="$CFLAGS" - -# Set sane defaults for various variables -test -z "$CC" && CC=cc -test -z "$LTCC" && LTCC=$CC -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS -test -z "$LD" && LD=ld -test -z "$ac_objext" && ac_objext=o - -_LT_CC_BASENAME([$compiler]) - -# Only perform the check for file, if the check method requires it -test -z "$MAGIC_CMD" && MAGIC_CMD=file -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - _LT_PATH_MAGIC - fi - ;; -esac - -# Use C for the default configuration in the libtool script -LT_SUPPORTED_TAG([CC]) -_LT_LANG_C_CONFIG -_LT_LANG_DEFAULT_CONFIG -_LT_CONFIG_COMMANDS -])# _LT_SETUP - - -# _LT_PROG_LTMAIN -# --------------- -# Note that this code is called both from `configure', and `config.status' -# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, -# `config.status' has no value for ac_aux_dir unless we are using Automake, -# so we pass a copy along to make sure it has a sensible value anyway. -m4_defun([_LT_PROG_LTMAIN], -[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl -_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) -ltmain="$ac_aux_dir/ltmain.sh" -])# _LT_PROG_LTMAIN - - - -# So that we can recreate a full libtool script including additional -# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS -# in macros and then make a single call at the end using the `libtool' -# label. - - -# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) -# ---------------------------------------- -# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. -m4_define([_LT_CONFIG_LIBTOOL_INIT], -[m4_ifval([$1], - [m4_append([_LT_OUTPUT_LIBTOOL_INIT], - [$1 -])])]) - -# Initialize. -m4_define([_LT_OUTPUT_LIBTOOL_INIT]) - - -# _LT_CONFIG_LIBTOOL([COMMANDS]) -# ------------------------------ -# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. -m4_define([_LT_CONFIG_LIBTOOL], -[m4_ifval([$1], - [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], - [$1 -])])]) - -# Initialize. -m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) - - -# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) -# ----------------------------------------------------- -m4_defun([_LT_CONFIG_SAVE_COMMANDS], -[_LT_CONFIG_LIBTOOL([$1]) -_LT_CONFIG_LIBTOOL_INIT([$2]) -]) - - -# _LT_FORMAT_COMMENT([COMMENT]) -# ----------------------------- -# Add leading comment marks to the start of each line, and a trailing -# full-stop to the whole comment if one is not present already. -m4_define([_LT_FORMAT_COMMENT], -[m4_ifval([$1], [ -m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], - [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) -)]) - - - - - -# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) -# ------------------------------------------------------------------- -# CONFIGNAME is the name given to the value in the libtool script. -# VARNAME is the (base) name used in the configure script. -# VALUE may be 0, 1 or 2 for a computed quote escaped value based on -# VARNAME. Any other value will be used directly. -m4_define([_LT_DECL], -[lt_if_append_uniq([lt_decl_varnames], [$2], [, ], - [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], - [m4_ifval([$1], [$1], [$2])]) - lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) - m4_ifval([$4], - [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) - lt_dict_add_subkey([lt_decl_dict], [$2], - [tagged?], [m4_ifval([$5], [yes], [no])])]) -]) - - -# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) -# -------------------------------------------------------- -m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) - - -# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) -# ------------------------------------------------ -m4_define([lt_decl_tag_varnames], -[_lt_decl_filter([tagged?], [yes], $@)]) - - -# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) -# --------------------------------------------------------- -m4_define([_lt_decl_filter], -[m4_case([$#], - [0], [m4_fatal([$0: too few arguments: $#])], - [1], [m4_fatal([$0: too few arguments: $#: $1])], - [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], - [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], - [lt_dict_filter([lt_decl_dict], $@)])[]dnl -]) - - -# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) -# -------------------------------------------------- -m4_define([lt_decl_quote_varnames], -[_lt_decl_filter([value], [1], $@)]) - - -# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) -# --------------------------------------------------- -m4_define([lt_decl_dquote_varnames], -[_lt_decl_filter([value], [2], $@)]) - - -# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) -# --------------------------------------------------- -m4_define([lt_decl_varnames_tagged], -[m4_assert([$# <= 2])dnl -_$0(m4_quote(m4_default([$1], [[, ]])), - m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), - m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) -m4_define([_lt_decl_varnames_tagged], -[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) - - -# lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) -# ------------------------------------------------ -m4_define([lt_decl_all_varnames], -[_$0(m4_quote(m4_default([$1], [[, ]])), - m4_if([$2], [], - m4_quote(lt_decl_varnames), - m4_quote(m4_shift($@))))[]dnl -]) -m4_define([_lt_decl_all_varnames], -[lt_join($@, lt_decl_varnames_tagged([$1], - lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl -]) - - -# _LT_CONFIG_STATUS_DECLARE([VARNAME]) -# ------------------------------------ -# Quote a variable value, and forward it to `config.status' so that its -# declaration there will have the same value as in `configure'. VARNAME -# must have a single quote delimited value for this to work. -m4_define([_LT_CONFIG_STATUS_DECLARE], -[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`']) - - -# _LT_CONFIG_STATUS_DECLARATIONS -# ------------------------------ -# We delimit libtool config variables with single quotes, so when -# we write them to config.status, we have to be sure to quote all -# embedded single quotes properly. In configure, this macro expands -# each variable declared with _LT_DECL (and _LT_TAGDECL) into: -# -# ='`$ECHO "X$" | $Xsed -e "$delay_single_quote_subst"`' -m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], -[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), - [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) - - -# _LT_LIBTOOL_TAGS -# ---------------- -# Output comment and list of tags supported by the script -m4_defun([_LT_LIBTOOL_TAGS], -[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl -available_tags="_LT_TAGS"dnl -]) - - -# _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) -# ----------------------------------- -# Extract the dictionary values for VARNAME (optionally with TAG) and -# expand to a commented shell variable setting: -# -# # Some comment about what VAR is for. -# visible_name=$lt_internal_name -m4_define([_LT_LIBTOOL_DECLARE], -[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], - [description])))[]dnl -m4_pushdef([_libtool_name], - m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl -m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), - [0], [_libtool_name=[$]$1], - [1], [_libtool_name=$lt_[]$1], - [2], [_libtool_name=$lt_[]$1], - [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl -m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl -]) - - -# _LT_LIBTOOL_CONFIG_VARS -# ----------------------- -# Produce commented declarations of non-tagged libtool config variables -# suitable for insertion in the LIBTOOL CONFIG section of the `libtool' -# script. Tagged libtool config variables (even for the LIBTOOL CONFIG -# section) are produced by _LT_LIBTOOL_TAG_VARS. -m4_defun([_LT_LIBTOOL_CONFIG_VARS], -[m4_foreach([_lt_var], - m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), - [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) - - -# _LT_LIBTOOL_TAG_VARS(TAG) -# ------------------------- -m4_define([_LT_LIBTOOL_TAG_VARS], -[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), - [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) - - -# _LT_TAGVAR(VARNAME, [TAGNAME]) -# ------------------------------ -m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) - - -# _LT_CONFIG_COMMANDS -# ------------------- -# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of -# variables for single and double quote escaping we saved from calls -# to _LT_DECL, we can put quote escaped variables declarations -# into `config.status', and then the shell code to quote escape them in -# for loops in `config.status'. Finally, any additional code accumulated -# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. -m4_defun([_LT_CONFIG_COMMANDS], -[AC_PROVIDE_IFELSE([LT_OUTPUT], - dnl If the libtool generation code has been placed in $CONFIG_LT, - dnl instead of duplicating it all over again into config.status, - dnl then we will have config.status run $CONFIG_LT later, so it - dnl needs to know what name is stored there: - [AC_CONFIG_COMMANDS([libtool], - [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], - dnl If the libtool generation code is destined for config.status, - dnl expand the accumulated commands and init code now: - [AC_CONFIG_COMMANDS([libtool], - [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) -])#_LT_CONFIG_COMMANDS - - -# Initialize. -m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], -[ - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -sed_quote_subst='$sed_quote_subst' -double_quote_subst='$double_quote_subst' -delay_variable_subst='$delay_variable_subst' -_LT_CONFIG_STATUS_DECLARATIONS -LTCC='$LTCC' -LTCFLAGS='$LTCFLAGS' -compiler='$compiler_DEFAULT' - -# Quote evaled strings. -for var in lt_decl_all_varnames([[ \ -]], lt_decl_quote_varnames); do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in - *[[\\\\\\\`\\"\\\$]]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" - ;; - *) - eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" - ;; - esac -done - -# Double-quote double-evaled strings. -for var in lt_decl_all_varnames([[ \ -]], lt_decl_dquote_varnames); do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in - *[[\\\\\\\`\\"\\\$]]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" - ;; - *) - eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" - ;; - esac -done - -# Fix-up fallback echo if it was mangled by the above quoting rules. -case \$lt_ECHO in -*'\\\[$]0 --fallback-echo"')dnl " - lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\` - ;; -esac - -_LT_OUTPUT_LIBTOOL_INIT -]) - - -# LT_OUTPUT -# --------- -# This macro allows early generation of the libtool script (before -# AC_OUTPUT is called), incase it is used in configure for compilation -# tests. -AC_DEFUN([LT_OUTPUT], -[: ${CONFIG_LT=./config.lt} -AC_MSG_NOTICE([creating $CONFIG_LT]) -cat >"$CONFIG_LT" <<_LTEOF -#! $SHELL -# Generated by $as_me. -# Run this file to recreate a libtool stub with the current configuration. - -lt_cl_silent=false -SHELL=\${CONFIG_SHELL-$SHELL} -_LTEOF - -cat >>"$CONFIG_LT" <<\_LTEOF -AS_SHELL_SANITIZE -_AS_PREPARE - -exec AS_MESSAGE_FD>&1 -exec AS_MESSAGE_LOG_FD>>config.log -{ - echo - AS_BOX([Running $as_me.]) -} >&AS_MESSAGE_LOG_FD - -lt_cl_help="\ -\`$as_me' creates a local libtool stub from the current configuration, -for use in further configure time tests before the real libtool is -generated. - -Usage: $[0] [[OPTIONS]] - - -h, --help print this help, then exit - -V, --version print version number, then exit - -q, --quiet do not print progress messages - -d, --debug don't remove temporary files - -Report bugs to ." - -lt_cl_version="\ -m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl -m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) -configured by $[0], generated by m4_PACKAGE_STRING. - -Copyright (C) 2008 Free Software Foundation, Inc. -This config.lt script is free software; the Free Software Foundation -gives unlimited permision to copy, distribute and modify it." - -while test $[#] != 0 -do - case $[1] in - --version | --v* | -V ) - echo "$lt_cl_version"; exit 0 ;; - --help | --h* | -h ) - echo "$lt_cl_help"; exit 0 ;; - --debug | --d* | -d ) - debug=: ;; - --quiet | --q* | --silent | --s* | -q ) - lt_cl_silent=: ;; - - -*) AC_MSG_ERROR([unrecognized option: $[1] -Try \`$[0] --help' for more information.]) ;; - - *) AC_MSG_ERROR([unrecognized argument: $[1] -Try \`$[0] --help' for more information.]) ;; - esac - shift -done - -if $lt_cl_silent; then - exec AS_MESSAGE_FD>/dev/null -fi -_LTEOF - -cat >>"$CONFIG_LT" <<_LTEOF -_LT_OUTPUT_LIBTOOL_COMMANDS_INIT -_LTEOF - -cat >>"$CONFIG_LT" <<\_LTEOF -AC_MSG_NOTICE([creating $ofile]) -_LT_OUTPUT_LIBTOOL_COMMANDS -AS_EXIT(0) -_LTEOF -chmod +x "$CONFIG_LT" - -# configure is writing to config.log, but config.lt does its own redirection, -# appending to config.log, which fails on DOS, as config.log is still kept -# open by configure. Here we exec the FD to /dev/null, effectively closing -# config.log, so it can be properly (re)opened and appended to by config.lt. -if test "$no_create" != yes; then - lt_cl_success=: - test "$silent" = yes && - lt_config_lt_args="$lt_config_lt_args --quiet" - exec AS_MESSAGE_LOG_FD>/dev/null - $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false - exec AS_MESSAGE_LOG_FD>>config.log - $lt_cl_success || AS_EXIT(1) -fi -])# LT_OUTPUT - - -# _LT_CONFIG(TAG) -# --------------- -# If TAG is the built-in tag, create an initial libtool script with a -# default configuration from the untagged config vars. Otherwise add code -# to config.status for appending the configuration named by TAG from the -# matching tagged config vars. -m4_defun([_LT_CONFIG], -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl -_LT_CONFIG_SAVE_COMMANDS([ - m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl - m4_if(_LT_TAG, [C], [ - # See if we are running on zsh, and set the options which allow our - # commands through without removal of \ escapes. - if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST - fi - - cfgfile="${ofile}T" - trap "$RM \"$cfgfile\"; exit 1" 1 2 15 - $RM "$cfgfile" - - cat <<_LT_EOF >> "$cfgfile" -#! $SHELL - -# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -_LT_COPYING -_LT_LIBTOOL_TAGS - -# ### BEGIN LIBTOOL CONFIG -_LT_LIBTOOL_CONFIG_VARS -_LT_LIBTOOL_TAG_VARS -# ### END LIBTOOL CONFIG - -_LT_EOF - - case $host_os in - aix3*) - cat <<\_LT_EOF >> "$cfgfile" -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES -fi -_LT_EOF - ;; - esac - - _LT_PROG_LTMAIN - - # We use sed instead of cat because bash on DJGPP gets confused if - # if finds mixed CR/LF and LF-only lines. Since sed operates in - # text mode, it properly converts lines to CR/LF. This bash problem - # is reportedly fixed, but why not run on old versions too? - sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ - || (rm -f "$cfgfile"; exit 1) - - _LT_PROG_XSI_SHELLFNS - - sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ - || (rm -f "$cfgfile"; exit 1) - - mv -f "$cfgfile" "$ofile" || - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") - chmod +x "$ofile" -], -[cat <<_LT_EOF >> "$ofile" - -dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded -dnl in a comment (ie after a #). -# ### BEGIN LIBTOOL TAG CONFIG: $1 -_LT_LIBTOOL_TAG_VARS(_LT_TAG) -# ### END LIBTOOL TAG CONFIG: $1 -_LT_EOF -])dnl /m4_if -], -[m4_if([$1], [], [ - PACKAGE='$PACKAGE' - VERSION='$VERSION' - TIMESTAMP='$TIMESTAMP' - RM='$RM' - ofile='$ofile'], []) -])dnl /_LT_CONFIG_SAVE_COMMANDS -])# _LT_CONFIG - - -# LT_SUPPORTED_TAG(TAG) -# --------------------- -# Trace this macro to discover what tags are supported by the libtool -# --tag option, using: -# autoconf --trace 'LT_SUPPORTED_TAG:$1' -AC_DEFUN([LT_SUPPORTED_TAG], []) - - -# C support is built-in for now -m4_define([_LT_LANG_C_enabled], []) -m4_define([_LT_TAGS], []) - - -# LT_LANG(LANG) -# ------------- -# Enable libtool support for the given language if not already enabled. -AC_DEFUN([LT_LANG], -[AC_BEFORE([$0], [LT_OUTPUT])dnl -m4_case([$1], - [C], [_LT_LANG(C)], - [C++], [_LT_LANG(CXX)], - [Java], [_LT_LANG(GCJ)], - [Fortran 77], [_LT_LANG(F77)], - [Fortran], [_LT_LANG(FC)], - [Windows Resource], [_LT_LANG(RC)], - [m4_ifdef([_LT_LANG_]$1[_CONFIG], - [_LT_LANG($1)], - [m4_fatal([$0: unsupported language: "$1"])])])dnl -])# LT_LANG - - -# _LT_LANG(LANGNAME) -# ------------------ -m4_defun([_LT_LANG], -[m4_ifdef([_LT_LANG_]$1[_enabled], [], - [LT_SUPPORTED_TAG([$1])dnl - m4_append([_LT_TAGS], [$1 ])dnl - m4_define([_LT_LANG_]$1[_enabled], [])dnl - _LT_LANG_$1_CONFIG($1)])dnl -])# _LT_LANG - - -# _LT_LANG_DEFAULT_CONFIG -# ----------------------- -m4_defun([_LT_LANG_DEFAULT_CONFIG], -[AC_PROVIDE_IFELSE([AC_PROG_CXX], - [LT_LANG(CXX)], - [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) - -AC_PROVIDE_IFELSE([AC_PROG_F77], - [LT_LANG(F77)], - [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) - -AC_PROVIDE_IFELSE([AC_PROG_FC], - [LT_LANG(FC)], - [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) - -dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal -dnl pulling things in needlessly. -AC_PROVIDE_IFELSE([AC_PROG_GCJ], - [LT_LANG(GCJ)], - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], - [LT_LANG(GCJ)], - [AC_PROVIDE_IFELSE([LT_PROG_GCJ], - [LT_LANG(GCJ)], - [m4_ifdef([AC_PROG_GCJ], - [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) - m4_ifdef([A][M_PROG_GCJ], - [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) - m4_ifdef([LT_PROG_GCJ], - [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) - -AC_PROVIDE_IFELSE([LT_PROG_RC], - [LT_LANG(RC)], - [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) -])# _LT_LANG_DEFAULT_CONFIG - -# Obsolete macros: -AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) -AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) -AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) -AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_CXX], []) -dnl AC_DEFUN([AC_LIBTOOL_F77], []) -dnl AC_DEFUN([AC_LIBTOOL_FC], []) -dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) - - -# _LT_TAG_COMPILER -# ---------------- -m4_defun([_LT_TAG_COMPILER], -[AC_REQUIRE([AC_PROG_CC])dnl - -_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl -_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl -_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl -_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC -])# _LT_TAG_COMPILER - - -# _LT_COMPILER_BOILERPLATE -# ------------------------ -# Check for compiler boilerplate output or warnings with -# the simple compiler test code. -m4_defun([_LT_COMPILER_BOILERPLATE], -[m4_require([_LT_DECL_SED])dnl -ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$RM conftest* -])# _LT_COMPILER_BOILERPLATE - - -# _LT_LINKER_BOILERPLATE -# ---------------------- -# Check for linker boilerplate output or warnings with -# the simple link test code. -m4_defun([_LT_LINKER_BOILERPLATE], -[m4_require([_LT_DECL_SED])dnl -ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$RM -r conftest* -])# _LT_LINKER_BOILERPLATE - -# _LT_REQUIRED_DARWIN_CHECKS -# ------------------------- -m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ - case $host_os in - rhapsody* | darwin*) - AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) - AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) - AC_CHECK_TOOL([LIPO], [lipo], [:]) - AC_CHECK_TOOL([OTOOL], [otool], [:]) - AC_CHECK_TOOL([OTOOL64], [otool64], [:]) - _LT_DECL([], [DSYMUTIL], [1], - [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) - _LT_DECL([], [NMEDIT], [1], - [Tool to change global to local symbols on Mac OS X]) - _LT_DECL([], [LIPO], [1], - [Tool to manipulate fat objects and archives on Mac OS X]) - _LT_DECL([], [OTOOL], [1], - [ldd/readelf like tool for Mach-O binaries on Mac OS X]) - _LT_DECL([], [OTOOL64], [1], - [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) - - AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], - [lt_cv_apple_cc_single_mod=no - if test -z "${LT_MULTI_MODULE}"; then - # By default we will add the -single_module flag. You can override - # by either setting the environment variable LT_MULTI_MODULE - # non-empty at configure time, or by adding -multi_module to the - # link flags. - rm -rf libconftest.dylib* - echo "int foo(void){return 1;}" > conftest.c - echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ --dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD - $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ - -dynamiclib -Wl,-single_module conftest.c 2>conftest.err - _lt_result=$? - if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then - lt_cv_apple_cc_single_mod=yes - else - cat conftest.err >&AS_MESSAGE_LOG_FD - fi - rm -rf libconftest.dylib* - rm -f conftest.* - fi]) - AC_CACHE_CHECK([for -exported_symbols_list linker flag], - [lt_cv_ld_exported_symbols_list], - [lt_cv_ld_exported_symbols_list=no - save_LDFLAGS=$LDFLAGS - echo "_main" > conftest.sym - LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" - AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], - [lt_cv_ld_exported_symbols_list=yes], - [lt_cv_ld_exported_symbols_list=no]) - LDFLAGS="$save_LDFLAGS" - ]) - case $host_os in - rhapsody* | darwin1.[[012]]) - _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; - darwin1.*) - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; - darwin*) # darwin 5.x on - # if running on 10.5 or later, the deployment target defaults - # to the OS version, if on x86, and 10.4, the deployment - # target defaults to 10.4. Don't you love it? - case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in - 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; - 10.[[012]]*) - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; - 10.*) - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; - esac - ;; - esac - if test "$lt_cv_apple_cc_single_mod" = "yes"; then - _lt_dar_single_mod='$single_module' - fi - if test "$lt_cv_ld_exported_symbols_list" = "yes"; then - _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' - else - _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' - fi - if test "$DSYMUTIL" != ":"; then - _lt_dsymutil='~$DSYMUTIL $lib || :' - else - _lt_dsymutil= - fi - ;; - esac -]) - - -# _LT_DARWIN_LINKER_FEATURES -# -------------------------- -# Checks for linker and compiler features on darwin -m4_defun([_LT_DARWIN_LINKER_FEATURES], -[ - m4_require([_LT_REQUIRED_DARWIN_CHECKS]) - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_automatic, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_TAGVAR(whole_archive_flag_spec, $1)='' - _LT_TAGVAR(link_all_deplibs, $1)=yes - _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" - case $cc_basename in - ifort*) _lt_dar_can_shared=yes ;; - *) _lt_dar_can_shared=$GCC ;; - esac - if test "$_lt_dar_can_shared" = "yes"; then - output_verbose_link_cmd=echo - _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" - _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" - _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" - _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" - m4_if([$1], [CXX], -[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then - _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" - _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" - fi -],[]) - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi -]) - -# _LT_SYS_MODULE_PATH_AIX -# ----------------------- -# Links a minimal program and checks the executable -# for the system default hardcoded library path. In most cases, -# this is /usr/lib:/lib, but when the MPI compilers are used -# the location of the communication and MPI libs are included too. -# If we don't find anything, use the default library path according -# to the aix ld manual. -m4_defun([_LT_SYS_MODULE_PATH_AIX], -[m4_require([_LT_DECL_SED])dnl -AC_LINK_IFELSE(AC_LANG_PROGRAM,[ -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi],[]) -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi -])# _LT_SYS_MODULE_PATH_AIX - - -# _LT_SHELL_INIT(ARG) -# ------------------- -m4_define([_LT_SHELL_INIT], -[ifdef([AC_DIVERSION_NOTICE], - [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], - [AC_DIVERT_PUSH(NOTICE)]) -$1 -AC_DIVERT_POP -])# _LT_SHELL_INIT - - -# _LT_PROG_ECHO_BACKSLASH -# ----------------------- -# Add some code to the start of the generated configure script which -# will find an echo command which doesn't interpret backslashes. -m4_defun([_LT_PROG_ECHO_BACKSLASH], -[_LT_SHELL_INIT([ -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} - -case X$lt_ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` - ;; -esac - -ECHO=${lt_ECHO-echo} -if test "X[$]1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X[$]1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then - # Yippee, $ECHO works! - : -else - # Restart under the correct shell. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} -fi - -if test "X[$]1" = X--fallback-echo; then - # used as fallback echo - shift - cat <<_LT_EOF -[$]* -_LT_EOF - exit 0 -fi - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -if test -z "$lt_ECHO"; then - if test "X${echo_test_string+set}" != Xset; then - # find a string as large as possible, as long as the shell can cope with it - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... - if { echo_test_string=`eval $cmd`; } 2>/dev/null && - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null - then - break - fi - done - fi - - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - : - else - # The Solaris, AIX, and Digital Unix default echo programs unquote - # backslashes. This makes it impossible to quote backslashes using - # echo "$something" | sed 's/\\/\\\\/g' - # - # So, first we look for a working echo in the user's PATH. - - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for dir in $PATH /usr/ucb; do - IFS="$lt_save_ifs" - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - ECHO="$dir/echo" - break - fi - done - IFS="$lt_save_ifs" - - if test "X$ECHO" = Xecho; then - # We didn't find a better echo, so look for alternatives. - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # This shell has a builtin print -r that does the trick. - ECHO='print -r' - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && - test "X$CONFIG_SHELL" != X/bin/ksh; then - # If we have ksh, try running configure again with it. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} - export ORIGINAL_CONFIG_SHELL - CONFIG_SHELL=/bin/ksh - export CONFIG_SHELL - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} - else - # Try using printf. - ECHO='printf %s\n' - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # Cool, printf works - : - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL - export CONFIG_SHELL - SHELL="$CONFIG_SHELL" - export SHELL - ECHO="$CONFIG_SHELL [$]0 --fallback-echo" - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - ECHO="$CONFIG_SHELL [$]0 --fallback-echo" - else - # maybe with a smaller string... - prev=: - - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null - then - break - fi - prev="$cmd" - done - - if test "$prev" != 'sed 50q "[$]0"'; then - echo_test_string=`eval $prev` - export echo_test_string - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} - else - # Oops. We lost completely, so just stick with echo. - ECHO=echo - fi - fi - fi - fi - fi -fi - -# Copy echo and quote the copy suitably for passing to libtool from -# the Makefile, instead of quoting the original, which is used later. -lt_ECHO=$ECHO -if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then - lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" -fi - -AC_SUBST(lt_ECHO) -]) -_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) -_LT_DECL([], [ECHO], [1], - [An echo program that does not interpret backslashes]) -])# _LT_PROG_ECHO_BACKSLASH - - -# _LT_ENABLE_LOCK -# --------------- -m4_defun([_LT_ENABLE_LOCK], -[AC_ARG_ENABLE([libtool-lock], - [AS_HELP_STRING([--disable-libtool-lock], - [avoid locking (might break parallel builds)])]) -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes - -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -ia64-*-hpux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *ELF-32*) - HPUX_IA64_MODE="32" - ;; - *ELF-64*) - HPUX_IA64_MODE="64" - ;; - esac - fi - rm -rf conftest* - ;; -*-*-irix6*) - # Find out which ABI we are using. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - if test "$lt_cv_prog_gnu_ld" = yes; then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -melf32bsmip" - ;; - *N32*) - LD="${LD-ld} -melf32bmipn32" - ;; - *64-bit*) - LD="${LD-ld} -melf64bmip" - ;; - esac - else - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - fi - rm -rf conftest* - ;; - -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ -s390*-*linux*|s390*-*tpf*|sparc*-*linux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.o` in - *32-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_i386_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_i386" - ;; - ppc64-*linux*|powerpc64-*linux*) - LD="${LD-ld} -m elf32ppclinux" - ;; - s390x-*linux*) - LD="${LD-ld} -m elf_s390" - ;; - sparc64-*linux*) - LD="${LD-ld} -m elf32_sparc" - ;; - esac - ;; - *64-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_x86_64_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_x86_64" - ;; - ppc*-*linux*|powerpc*-*linux*) - LD="${LD-ld} -m elf64ppc" - ;; - s390*-*linux*|s390*-*tpf*) - LD="${LD-ld} -m elf64_s390" - ;; - sparc*-*linux*) - LD="${LD-ld} -m elf64_sparc" - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; - -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, - [AC_LANG_PUSH(C) - AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) - AC_LANG_POP]) - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; -sparc*-*solaris*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.o` in - *64-bit*) - case $lt_cv_prog_gnu_ld in - yes*) LD="${LD-ld} -m elf64_sparc" ;; - *) - if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then - LD="${LD-ld} -64" - fi - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; -esac - -need_locks="$enable_libtool_lock" -])# _LT_ENABLE_LOCK - - -# _LT_CMD_OLD_ARCHIVE -# ------------------- -m4_defun([_LT_CMD_OLD_ARCHIVE], -[AC_CHECK_TOOL(AR, ar, false) -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -_LT_DECL([], [AR], [1], [The archiver]) -_LT_DECL([], [AR_FLAGS], [1]) - -AC_CHECK_TOOL(STRIP, strip, :) -test -z "$STRIP" && STRIP=: -_LT_DECL([], [STRIP], [1], [A symbol stripping program]) - -AC_CHECK_TOOL(RANLIB, ranlib, :) -test -z "$RANLIB" && RANLIB=: -_LT_DECL([], [RANLIB], [1], - [Commands used to install an old-style archive]) - -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= - -if test -n "$RANLIB"; then - case $host_os in - openbsd*) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" - ;; - *) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" -fi -_LT_DECL([], [old_postinstall_cmds], [2]) -_LT_DECL([], [old_postuninstall_cmds], [2]) -_LT_TAGDECL([], [old_archive_cmds], [2], - [Commands used to build an old-style archive]) -])# _LT_CMD_OLD_ARCHIVE - - -# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, -# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) -# ---------------------------------------------------------------- -# Check whether the given compiler option works -AC_DEFUN([_LT_COMPILER_OPTION], -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_DECL_SED])dnl -AC_CACHE_CHECK([$1], [$2], - [$2=no - m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$3" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - $2=yes - fi - fi - $RM conftest* -]) - -if test x"[$]$2" = xyes; then - m4_if([$5], , :, [$5]) -else - m4_if([$6], , :, [$6]) -fi -])# _LT_COMPILER_OPTION - -# Old name: -AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) - - -# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, -# [ACTION-SUCCESS], [ACTION-FAILURE]) -# ---------------------------------------------------- -# Check whether the given linker option works -AC_DEFUN([_LT_LINKER_OPTION], -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_DECL_SED])dnl -AC_CACHE_CHECK([$1], [$2], - [$2=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $3" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&AS_MESSAGE_LOG_FD - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - $2=yes - fi - else - $2=yes - fi - fi - $RM -r conftest* - LDFLAGS="$save_LDFLAGS" -]) - -if test x"[$]$2" = xyes; then - m4_if([$4], , :, [$4]) -else - m4_if([$5], , :, [$5]) -fi -])# _LT_LINKER_OPTION - -# Old name: -AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) - - -# LT_CMD_MAX_LEN -#--------------- -AC_DEFUN([LT_CMD_MAX_LEN], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -# find the maximum length of command line arguments -AC_MSG_CHECKING([the maximum length of command line arguments]) -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl - i=0 - teststring="ABCD" - - case $build_os in - msdosdjgpp*) - # On DJGPP, this test can blow up pretty badly due to problems in libc - # (any single argument exceeding 2000 bytes causes a buffer overrun - # during glob expansion). Even if it were fixed, the result of this - # check would be larger than it should be. - lt_cv_sys_max_cmd_len=12288; # 12K is about right - ;; - - gnu*) - # Under GNU Hurd, this test is not required because there is - # no limit to the length of command line arguments. - # Libtool will interpret -1 as no limit whatsoever - lt_cv_sys_max_cmd_len=-1; - ;; - - cygwin* | mingw* | cegcc*) - # On Win9x/ME, this test blows up -- it succeeds, but takes - # about 5 minutes as the teststring grows exponentially. - # Worse, since 9x/ME are not pre-emptively multitasking, - # you end up with a "frozen" computer, even though with patience - # the test eventually succeeds (with a max line length of 256k). - # Instead, let's just punt: use the minimum linelength reported by - # all of the supported platforms: 8192 (on NT/2K/XP). - lt_cv_sys_max_cmd_len=8192; - ;; - - amigaos*) - # On AmigaOS with pdksh, this test takes hours, literally. - # So we just punt and use a minimum line length of 8192. - lt_cv_sys_max_cmd_len=8192; - ;; - - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) - # This has been around since 386BSD, at least. Likely further. - if test -x /sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` - elif test -x /usr/sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` - else - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs - fi - # And add a safety zone - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - ;; - - interix*) - # We know the value 262144 and hardcode it with a safety zone (like BSD) - lt_cv_sys_max_cmd_len=196608 - ;; - - osf*) - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not - # nice to cause kernel panics so lets avoid the loop below. - # First set a reasonable default. - lt_cv_sys_max_cmd_len=16384 - # - if test -x /sbin/sysconfig; then - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in - *1*) lt_cv_sys_max_cmd_len=-1 ;; - esac - fi - ;; - sco3.2v5*) - lt_cv_sys_max_cmd_len=102400 - ;; - sysv5* | sco5v6* | sysv4.2uw2*) - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` - if test -n "$kargmax"; then - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` - else - lt_cv_sys_max_cmd_len=32768 - fi - ;; - *) - lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` - if test -n "$lt_cv_sys_max_cmd_len"; then - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - else - # Make teststring a little bigger before we do anything with it. - # a 1K string should be a reasonable start. - for i in 1 2 3 4 5 6 7 8 ; do - teststring=$teststring$teststring - done - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} - # If test is not a shell built-in, we'll probably end up computing a - # maximum length that is only half of the actual maximum length, but - # we can't tell. - while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ - = "XX$teststring$teststring"; } >/dev/null 2>&1 && - test $i != 17 # 1/2 MB should be enough - do - i=`expr $i + 1` - teststring=$teststring$teststring - done - # Only check the string length outside the loop. - lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` - teststring= - # Add a significant safety factor because C++ compilers can tack on - # massive amounts of additional arguments before passing them to the - # linker. It appears as though 1/2 is a usable value. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` - fi - ;; - esac -]) -if test -n $lt_cv_sys_max_cmd_len ; then - AC_MSG_RESULT($lt_cv_sys_max_cmd_len) -else - AC_MSG_RESULT(none) -fi -max_cmd_len=$lt_cv_sys_max_cmd_len -_LT_DECL([], [max_cmd_len], [0], - [What is the maximum length of a command?]) -])# LT_CMD_MAX_LEN - -# Old name: -AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) - - -# _LT_HEADER_DLFCN -# ---------------- -m4_defun([_LT_HEADER_DLFCN], -[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl -])# _LT_HEADER_DLFCN - - -# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, -# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) -# ---------------------------------------------------------------- -m4_defun([_LT_TRY_DLOPEN_SELF], -[m4_require([_LT_HEADER_DLFCN])dnl -if test "$cross_compiling" = yes; then : - [$4] -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF -[#line __oline__ "configure" -#include "confdefs.h" - -#if HAVE_DLFCN_H -#include -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -void fnord() { int i=42;} -int main () -{ - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ - } - else - puts (dlerror ()); - - return status; -}] -_LT_EOF - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) $1 ;; - x$lt_dlneed_uscore) $2 ;; - x$lt_dlunknown|x*) $3 ;; - esac - else : - # compilation failed - $3 - fi -fi -rm -fr conftest* -])# _LT_TRY_DLOPEN_SELF - - -# LT_SYS_DLOPEN_SELF -# ------------------ -AC_DEFUN([LT_SYS_DLOPEN_SELF], -[m4_require([_LT_HEADER_DLFCN])dnl -if test "x$enable_dlopen" != xyes; then - enable_dlopen=unknown - enable_dlopen_self=unknown - enable_dlopen_self_static=unknown -else - lt_cv_dlopen=no - lt_cv_dlopen_libs= - - case $host_os in - beos*) - lt_cv_dlopen="load_add_on" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ;; - - mingw* | pw32* | cegcc*) - lt_cv_dlopen="LoadLibrary" - lt_cv_dlopen_libs= - ;; - - cygwin*) - lt_cv_dlopen="dlopen" - lt_cv_dlopen_libs= - ;; - - darwin*) - # if libdl is installed we need to link against it - AC_CHECK_LIB([dl], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ - lt_cv_dlopen="dyld" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ]) - ;; - - *) - AC_CHECK_FUNC([shl_load], - [lt_cv_dlopen="shl_load"], - [AC_CHECK_LIB([dld], [shl_load], - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], - [AC_CHECK_FUNC([dlopen], - [lt_cv_dlopen="dlopen"], - [AC_CHECK_LIB([dl], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], - [AC_CHECK_LIB([svld], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], - [AC_CHECK_LIB([dld], [dld_link], - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) - ]) - ]) - ]) - ]) - ]) - ;; - esac - - if test "x$lt_cv_dlopen" != xno; then - enable_dlopen=yes - else - enable_dlopen=no - fi - - case $lt_cv_dlopen in - dlopen) - save_CPPFLAGS="$CPPFLAGS" - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" - - save_LDFLAGS="$LDFLAGS" - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" - - save_LIBS="$LIBS" - LIBS="$lt_cv_dlopen_libs $LIBS" - - AC_CACHE_CHECK([whether a program can dlopen itself], - lt_cv_dlopen_self, [dnl - _LT_TRY_DLOPEN_SELF( - lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, - lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) - ]) - - if test "x$lt_cv_dlopen_self" = xyes; then - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" - AC_CACHE_CHECK([whether a statically linked program can dlopen itself], - lt_cv_dlopen_self_static, [dnl - _LT_TRY_DLOPEN_SELF( - lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, - lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) - ]) - fi - - CPPFLAGS="$save_CPPFLAGS" - LDFLAGS="$save_LDFLAGS" - LIBS="$save_LIBS" - ;; - esac - - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac - - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; - esac -fi -_LT_DECL([dlopen_support], [enable_dlopen], [0], - [Whether dlopen is supported]) -_LT_DECL([dlopen_self], [enable_dlopen_self], [0], - [Whether dlopen of programs is supported]) -_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], - [Whether dlopen of statically linked programs is supported]) -])# LT_SYS_DLOPEN_SELF - -# Old name: -AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) - - -# _LT_COMPILER_C_O([TAGNAME]) -# --------------------------- -# Check to see if options -c and -o are simultaneously supported by compiler. -# This macro does not hard code the compiler like AC_PROG_CC_C_O. -m4_defun([_LT_COMPILER_C_O], -[m4_require([_LT_DECL_SED])dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_TAG_COMPILER])dnl -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], - [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], - [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes - fi - fi - chmod u+w . 2>&AS_MESSAGE_LOG_FD - $RM conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files - $RM out/* && rmdir out - cd .. - $RM -r conftest - $RM conftest* -]) -_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], - [Does compiler simultaneously support -c and -o options?]) -])# _LT_COMPILER_C_O - - -# _LT_COMPILER_FILE_LOCKS([TAGNAME]) -# ---------------------------------- -# Check to see if we can do hard links to lock some files if needed -m4_defun([_LT_COMPILER_FILE_LOCKS], -[m4_require([_LT_ENABLE_LOCK])dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -_LT_COMPILER_C_O([$1]) - -hard_links="nottested" -if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - AC_MSG_CHECKING([if we can lock with hard links]) - hard_links=yes - $RM conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - AC_MSG_RESULT([$hard_links]) - if test "$hard_links" = no; then - AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) - need_locks=warn - fi -else - need_locks=no -fi -_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) -])# _LT_COMPILER_FILE_LOCKS - - -# _LT_CHECK_OBJDIR -# ---------------- -m4_defun([_LT_CHECK_OBJDIR], -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], -[rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - lt_cv_objdir=.libs -else - # MS-DOS does not allow filenames that begin with a dot. - lt_cv_objdir=_libs -fi -rmdir .libs 2>/dev/null]) -objdir=$lt_cv_objdir -_LT_DECL([], [objdir], [0], - [The name of the directory that contains temporary libtool files])dnl -m4_pattern_allow([LT_OBJDIR])dnl -AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/", - [Define to the sub-directory in which libtool stores uninstalled libraries.]) -])# _LT_CHECK_OBJDIR - - -# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) -# -------------------------------------- -# Check hardcoding attributes. -m4_defun([_LT_LINKER_HARDCODE_LIBPATH], -[AC_MSG_CHECKING([how to hardcode library paths into programs]) -_LT_TAGVAR(hardcode_action, $1)= -if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || - test -n "$_LT_TAGVAR(runpath_var, $1)" || - test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then - - # We can hardcode non-existent directories. - if test "$_LT_TAGVAR(hardcode_direct, $1)" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no && - test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then - # Linking always hardcodes the temporary library directory. - _LT_TAGVAR(hardcode_action, $1)=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - _LT_TAGVAR(hardcode_action, $1)=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - _LT_TAGVAR(hardcode_action, $1)=unsupported -fi -AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) - -if test "$_LT_TAGVAR(hardcode_action, $1)" = relink || - test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi -_LT_TAGDECL([], [hardcode_action], [0], - [How to hardcode a shared library path into an executable]) -])# _LT_LINKER_HARDCODE_LIBPATH - - -# _LT_CMD_STRIPLIB -# ---------------- -m4_defun([_LT_CMD_STRIPLIB], -[m4_require([_LT_DECL_EGREP]) -striplib= -old_striplib= -AC_MSG_CHECKING([whether stripping libraries is possible]) -if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - AC_MSG_RESULT([yes]) -else -# FIXME - insert some real tests, host_os isn't really good enough - case $host_os in - darwin*) - if test -n "$STRIP" ; then - striplib="$STRIP -x" - old_striplib="$STRIP -S" - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - fi - ;; - *) - AC_MSG_RESULT([no]) - ;; - esac -fi -_LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) -_LT_DECL([], [striplib], [1]) -])# _LT_CMD_STRIPLIB - - -# _LT_SYS_DYNAMIC_LINKER([TAG]) -# ----------------------------- -# PORTME Fill in your ld.so characteristics -m4_defun([_LT_SYS_DYNAMIC_LINKER], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -m4_require([_LT_DECL_EGREP])dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_DECL_OBJDUMP])dnl -m4_require([_LT_DECL_SED])dnl -AC_MSG_CHECKING([dynamic linker characteristics]) -m4_if([$1], - [], [ -if test "$GCC" = yes; then - case $host_os in - darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; - *) lt_awk_arg="/^libraries:/" ;; - esac - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then - # if the path contains ";" then we assume it to be the separator - # otherwise default to the standard path separator (i.e. ":") - it is - # assumed that no part of a normal pathname contains ";" but that should - # okay in the real world where ";" in dirpaths is itself problematic. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` - else - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - # Ok, now we have the path, separated by spaces, we can step through it - # and add multilib dir if necessary. - lt_tmp_lt_search_path_spec= - lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` - for lt_sys_path in $lt_search_path_spec; do - if test -d "$lt_sys_path/$lt_multi_os_dir"; then - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" - else - test -d "$lt_sys_path" && \ - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" - fi - done - lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' -BEGIN {RS=" "; FS="/|\n";} { - lt_foo=""; - lt_count=0; - for (lt_i = NF; lt_i > 0; lt_i--) { - if ($lt_i != "" && $lt_i != ".") { - if ($lt_i == "..") { - lt_count++; - } else { - if (lt_count == 0) { - lt_foo="/" $lt_i lt_foo; - } else { - lt_count--; - } - } - } - } - if (lt_foo != "") { lt_freq[[lt_foo]]++; } - if (lt_freq[[lt_foo]] == 1) { print lt_foo; } -}'` - sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` -else - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" -fi]) -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=".so" -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -need_lib_prefix=unknown -hardcode_into_libs=no - -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown - -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}${shared_ext}$major' - ;; - -aix[[4-9]]*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[[01]] | aix4.[[01]].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}${shared_ext}$major' - fi - shlibpath_var=LIBPATH - fi - ;; - -amigaos*) - case $host_cpu in - powerpc) - # Since July 2007 AmigaOS4 officially supports .so libraries. - # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - ;; - m68k) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; - esac - ;; - -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi[[45]]*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; - -cygwin* | mingw* | pw32* | cegcc*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname~ - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; - fi' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $RM \$dlpath' - shlibpath_overrides_runpath=yes - - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; - mingw* | cegcc*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - ;; - esac - ;; - - *) - library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' - soname_spec='${libname}${release}${major}$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' -m4_if([$1], [],[ - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[[123]]*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[[01]]* | freebsdelf3.[[01]]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ - freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - if test "X$HPUX_IA64_MODE" = X32; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - fi - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - -interix[[3-9]]*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - hardcode_into_libs=yes - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # Some binutils ld are patched to set DT_RUNPATH - save_LDFLAGS=$LDFLAGS - save_libdir=$libdir - eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ - LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" - AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], - [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], - [shlibpath_overrides_runpath=yes])]) - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir - - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # Add ABI-specific directories to the system library path. - sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" - - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" - fi - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; - -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - -newsos6) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -*nto* | *qnx*) - version_type=qnx - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='ldqnx.so' - ;; - -openbsd*) - version_type=sunos - sys_lib_dlsearch_path_spec="/usr/lib" - need_lib_prefix=no - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. - case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; - esac - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case $host_os in - openbsd2.[[89]] | openbsd2.[[89]].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - ;; - -os2*) - libname_spec='$name' - shrext_cmds=".dll" - need_lib_prefix=no - library_names_spec='$libname${shared_ext} $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; - -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - ;; - -rdos*) - dynamic_linker=no - ;; - -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; - -sysv4 | sysv4.3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; - -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' - soname_spec='$libname${shared_ext}.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=freebsd-elf - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - if test "$with_gnu_ld" = yes; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - -tpf*) - # TPF is a cross-target only. Preferred cross-host = GNU/Linux. - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -uts4*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -*) - dynamic_linker=no - ;; -esac -AC_MSG_RESULT([$dynamic_linker]) -test "$dynamic_linker" = no && can_build_shared=no - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then - sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" -fi -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then - sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" -fi - -_LT_DECL([], [variables_saved_for_relink], [1], - [Variables whose values should be saved in libtool wrapper scripts and - restored at link time]) -_LT_DECL([], [need_lib_prefix], [0], - [Do we need the "lib" prefix for modules?]) -_LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) -_LT_DECL([], [version_type], [0], [Library versioning type]) -_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) -_LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) -_LT_DECL([], [shlibpath_overrides_runpath], [0], - [Is shlibpath searched before the hard-coded library search path?]) -_LT_DECL([], [libname_spec], [1], [Format of library name prefix]) -_LT_DECL([], [library_names_spec], [1], - [[List of archive names. First name is the real one, the rest are links. - The last name is the one that the linker finds with -lNAME]]) -_LT_DECL([], [soname_spec], [1], - [[The coded name of the library, if different from the real name]]) -_LT_DECL([], [postinstall_cmds], [2], - [Command to use after installation of a shared archive]) -_LT_DECL([], [postuninstall_cmds], [2], - [Command to use after uninstallation of a shared archive]) -_LT_DECL([], [finish_cmds], [2], - [Commands used to finish a libtool library installation in a directory]) -_LT_DECL([], [finish_eval], [1], - [[As "finish_cmds", except a single script fragment to be evaled but - not shown]]) -_LT_DECL([], [hardcode_into_libs], [0], - [Whether we should hardcode library paths into libraries]) -_LT_DECL([], [sys_lib_search_path_spec], [2], - [Compile-time system search path for libraries]) -_LT_DECL([], [sys_lib_dlsearch_path_spec], [2], - [Run-time system search path for libraries]) -])# _LT_SYS_DYNAMIC_LINKER - - -# _LT_PATH_TOOL_PREFIX(TOOL) -# -------------------------- -# find a file program which can recognize shared library -AC_DEFUN([_LT_PATH_TOOL_PREFIX], -[m4_require([_LT_DECL_EGREP])dnl -AC_MSG_CHECKING([for $1]) -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, -[case $MAGIC_CMD in -[[\\/*] | ?:[\\/]*]) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; -*) - lt_save_MAGIC_CMD="$MAGIC_CMD" - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -dnl $ac_dummy forces splitting on constant user-supplied paths. -dnl POSIX.2 word splitting is done only on the output of word expansions, -dnl not every word. This closes a longstanding sh security hole. - ac_dummy="m4_if([$2], , $PATH, [$2])" - for ac_dir in $ac_dummy; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$1; then - lt_cv_path_MAGIC_CMD="$ac_dir/$1" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - $EGREP "$file_magic_regex" > /dev/null; then - : - else - cat <<_LT_EOF 1>&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -_LT_EOF - fi ;; - esac - fi - break - fi - done - IFS="$lt_save_ifs" - MAGIC_CMD="$lt_save_MAGIC_CMD" - ;; -esac]) -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - AC_MSG_RESULT($MAGIC_CMD) -else - AC_MSG_RESULT(no) -fi -_LT_DECL([], [MAGIC_CMD], [0], - [Used to examine libraries when file_magic_cmd begins with "file"])dnl -])# _LT_PATH_TOOL_PREFIX - -# Old name: -AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) - - -# _LT_PATH_MAGIC -# -------------- -# find a file program which can recognize a shared library -m4_defun([_LT_PATH_MAGIC], -[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) - else - MAGIC_CMD=: - fi -fi -])# _LT_PATH_MAGIC - - -# LT_PATH_LD -# ---------- -# find the pathname to the GNU or non-GNU linker -AC_DEFUN([LT_PATH_LD], -[AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -m4_require([_LT_DECL_SED])dnl -m4_require([_LT_DECL_EGREP])dnl - -AC_ARG_WITH([gnu-ld], - [AS_HELP_STRING([--with-gnu-ld], - [assume the C compiler uses GNU ld @<:@default=no@:>@])], - [test "$withval" = no || with_gnu_ld=yes], - [with_gnu_ld=no])dnl - -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - AC_MSG_CHECKING([for ld used by $CC]) - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [[\\/]]* | ?:[[\\/]]*) - re_direlt='/[[^/]][[^/]]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` - while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do - ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - AC_MSG_CHECKING([for GNU ld]) -else - AC_MSG_CHECKING([for non-GNU ld]) -fi -AC_CACHE_VAL(lt_cv_path_LD, -[if test -z "$LD"; then - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null 2>&1; then - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd='func_win32_libid' - else - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' - fi - ;; - -cegcc) - # use the weaker test based on 'objdump'. See mingw*. - lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' - ;; - -darwin* | rhapsody*) - lt_cv_deplibs_check_method=pass_all - ;; - -freebsd* | dragonfly*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - ;; - esac - else - lt_cv_deplibs_check_method=pass_all - fi - ;; - -gnu*) - lt_cv_deplibs_check_method=pass_all - ;; - -hpux10.20* | hpux11*) - lt_cv_file_magic_cmd=/usr/bin/file - case $host_cpu in - ia64*) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so - ;; - hppa*64*) - [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl - ;; - *) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; - esac - ;; - -interix[[3-9]]*) - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' - ;; - -irix5* | irix6* | nonstopux*) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - lt_cv_deplibs_check_method=pass_all - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - lt_cv_deplibs_check_method=pass_all - ;; - -netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' - fi - ;; - -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; - -*nto* | *qnx*) - lt_cv_deplibs_check_method=pass_all - ;; - -openbsd*) - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' - fi - ;; - -osf3* | osf4* | osf5*) - lt_cv_deplibs_check_method=pass_all - ;; - -rdos*) - lt_cv_deplibs_check_method=pass_all - ;; - -solaris*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv4 | sysv4.3*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` - ;; - ncr) - lt_cv_deplibs_check_method=pass_all - ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' - ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=pass_all - ;; - pc) - lt_cv_deplibs_check_method=pass_all - ;; - esac - ;; - -tpf*) - lt_cv_deplibs_check_method=pass_all - ;; -esac -]) -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method -test -z "$deplibs_check_method" && deplibs_check_method=unknown - -_LT_DECL([], [deplibs_check_method], [1], - [Method to check whether dependent libraries are shared objects]) -_LT_DECL([], [file_magic_cmd], [1], - [Command to use when deplibs_check_method == "file_magic"]) -])# _LT_CHECK_MAGIC_METHOD - - -# LT_PATH_NM -# ---------- -# find the pathname to a BSD- or MS-compatible name lister -AC_DEFUN([LT_PATH_NM], -[AC_REQUIRE([AC_PROG_CC])dnl -AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, -[if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM="$NM" -else - lt_nm_to_check="${ac_tool_prefix}nm" - if test -n "$ac_tool_prefix" && test "$build" = "$host"; then - lt_nm_to_check="$lt_nm_to_check nm" - fi - for lt_tmp_nm in $lt_nm_to_check; do - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - tmp_nm="$ac_dir/$lt_tmp_nm" - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the `sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in - */dev/null* | *'Invalid file or object type'*) - lt_cv_path_NM="$tmp_nm -B" - break - ;; - *) - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in - */dev/null*) - lt_cv_path_NM="$tmp_nm -p" - break - ;; - *) - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - ;; - esac - ;; - esac - fi - done - IFS="$lt_save_ifs" - done - : ${lt_cv_path_NM=no} -fi]) -if test "$lt_cv_path_NM" != "no"; then - NM="$lt_cv_path_NM" -else - # Didn't find any BSD compatible name lister, look for dumpbin. - AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :) - AC_SUBST([DUMPBIN]) - if test "$DUMPBIN" != ":"; then - NM="$DUMPBIN" - fi -fi -test -z "$NM" && NM=nm -AC_SUBST([NM]) -_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl - -AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], - [lt_cv_nm_interface="BSD nm" - echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$ac_compile" 2>conftest.err) - cat conftest.err >&AS_MESSAGE_LOG_FD - (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) - (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) - cat conftest.err >&AS_MESSAGE_LOG_FD - (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD) - cat conftest.out >&AS_MESSAGE_LOG_FD - if $GREP 'External.*some_variable' conftest.out > /dev/null; then - lt_cv_nm_interface="MS dumpbin" - fi - rm -f conftest*]) -])# LT_PATH_NM - -# Old names: -AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) -AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AM_PROG_NM], []) -dnl AC_DEFUN([AC_PROG_NM], []) - - -# LT_LIB_M -# -------- -# check for math library -AC_DEFUN([LT_LIB_M], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -LIBM= -case $host in -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) - # These system don't have libm, or don't need it - ;; -*-ncr-sysv4.3*) - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") - AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") - ;; -*) - AC_CHECK_LIB(m, cos, LIBM="-lm") - ;; -esac -AC_SUBST([LIBM]) -])# LT_LIB_M - -# Old name: -AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_CHECK_LIBM], []) - - -# _LT_COMPILER_NO_RTTI([TAGNAME]) -# ------------------------------- -m4_defun([_LT_COMPILER_NO_RTTI], -[m4_require([_LT_TAG_COMPILER])dnl - -_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= - -if test "$GCC" = yes; then - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' - - _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], - lt_cv_prog_compiler_rtti_exceptions, - [-fno-rtti -fno-exceptions], [], - [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) -fi -_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], - [Compiler flag to turn off builtin functions]) -])# _LT_COMPILER_NO_RTTI - - -# _LT_CMD_GLOBAL_SYMBOLS -# ---------------------- -m4_defun([_LT_CMD_GLOBAL_SYMBOLS], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([LT_PATH_NM])dnl -AC_REQUIRE([LT_PATH_LD])dnl -m4_require([_LT_DECL_SED])dnl -m4_require([_LT_DECL_EGREP])dnl -m4_require([_LT_TAG_COMPILER])dnl - -# Check for command to grab the raw symbol name followed by C symbol from nm. -AC_MSG_CHECKING([command to parse $NM output from $compiler object]) -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], -[ -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] - -# Character class describing NM global symbol codes. -symcode='[[BCDEGRST]]' - -# Regexp to match symbols that can be accessed directly from C. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' - -# Define system-specific variables. -case $host_os in -aix*) - symcode='[[BCDT]]' - ;; -cygwin* | mingw* | pw32* | cegcc*) - symcode='[[ABCDGISTW]]' - ;; -hpux*) - if test "$host_cpu" = ia64; then - symcode='[[ABCDEGRST]]' - fi - ;; -irix* | nonstopux*) - symcode='[[BCDEGRST]]' - ;; -osf*) - symcode='[[BCDEGQRST]]' - ;; -solaris*) - symcode='[[BDRT]]' - ;; -sco3.2v5*) - symcode='[[DT]]' - ;; -sysv4.2uw2*) - symcode='[[DT]]' - ;; -sysv5* | sco5v6* | unixware* | OpenUNIX*) - symcode='[[ABDT]]' - ;; -sysv4) - symcode='[[DFNSTU]]' - ;; -esac - -# If we're using GNU nm, then use its standard symbol codes. -case `$NM -V 2>&1` in -*GNU* | *'with BFD'*) - symcode='[[ABCDGIRSTW]]' ;; -esac - -# Transform an extracted symbol line into a proper C declaration. -# Some systems (esp. on ia64) link data and code symbols differently, -# so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'" -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'" - -# Handle CRLF in mingw tool chain -opt_cr= -case $build_os in -mingw*) - opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac - -# Try without a prefix underscore, then with it. -for ac_symprfx in "" "_"; do - - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. - symxfrm="\\1 $ac_symprfx\\2 \\2" - - # Write the raw and C identifiers. - if test "$lt_cv_nm_interface" = "MS dumpbin"; then - # Fake it for dumpbin and say T for any non-static function - # and D for any global variable. - # Also find C++ and __fastcall symbols from MSVC++, - # which start with @ or ?. - lt_cv_sys_global_symbol_pipe="$AWK ['"\ -" {last_section=section; section=\$ 3};"\ -" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ -" \$ 0!~/External *\|/{next};"\ -" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ -" {if(hide[section]) next};"\ -" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ -" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ -" s[1]~/^[@?]/{print s[1], s[1]; next};"\ -" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ -" ' prfx=^$ac_symprfx]" - else - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" - fi - - # Check to see that the pipe works correctly. - pipe_works=no - - rm -f conftest* - cat > conftest.$ac_ext <<_LT_EOF -#ifdef __cplusplus -extern "C" { -#endif -char nm_test_var; -void nm_test_func(void); -void nm_test_func(void){} -#ifdef __cplusplus -} -#endif -int main(){nm_test_var='a';nm_test_func();return(0);} -_LT_EOF - - if AC_TRY_EVAL(ac_compile); then - # Now try to grab the symbols. - nlist=conftest.nm - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if $GREP ' nm_test_var$' "$nlist" >/dev/null; then - if $GREP ' nm_test_func$' "$nlist" >/dev/null; then - cat <<_LT_EOF > conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -_LT_EOF - # Now generate the symbol file. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' - - cat <<_LT_EOF >> conftest.$ac_ext - -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - void *address; -} -lt__PROGRAM__LTX_preloaded_symbols[[]] = -{ - { "@PROGRAM@", (void *) 0 }, -_LT_EOF - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext - cat <<\_LT_EOF >> conftest.$ac_ext - {0, (void *) 0} -}; - -/* This works around a problem in FreeBSD linker */ -#ifdef FREEBSD_WORKAROUND -static const void *lt_preloaded_setup() { - return lt__PROGRAM__LTX_preloaded_symbols; -} -#endif - -#ifdef __cplusplus -} -#endif -_LT_EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - lt_save_LIBS="$LIBS" - lt_save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then - pipe_works=yes - fi - LIBS="$lt_save_LIBS" - CFLAGS="$lt_save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD - fi - else - echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD - fi - else - echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD - cat conftest.$ac_ext >&5 - fi - rm -rf conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done -]) -if test -z "$lt_cv_sys_global_symbol_pipe"; then - lt_cv_sys_global_symbol_to_cdecl= -fi -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then - AC_MSG_RESULT(failed) -else - AC_MSG_RESULT(ok) -fi - -_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], - [Take the output of nm and produce a listing of raw symbols and C names]) -_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], - [Transform the output of nm in a proper C declaration]) -_LT_DECL([global_symbol_to_c_name_address], - [lt_cv_sys_global_symbol_to_c_name_address], [1], - [Transform the output of nm in a C name address pair]) -_LT_DECL([global_symbol_to_c_name_address_lib_prefix], - [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], - [Transform the output of nm in a C name address pair when lib prefix is needed]) -]) # _LT_CMD_GLOBAL_SYMBOLS - - -# _LT_COMPILER_PIC([TAGNAME]) -# --------------------------- -m4_defun([_LT_COMPILER_PIC], -[m4_require([_LT_TAG_COMPILER])dnl -_LT_TAGVAR(lt_prog_compiler_wl, $1)= -_LT_TAGVAR(lt_prog_compiler_pic, $1)= -_LT_TAGVAR(lt_prog_compiler_static, $1)= - -AC_MSG_CHECKING([for $compiler option to produce PIC]) -m4_if([$1], [CXX], [ - # C++ specific cases for pic, static, wl, etc. - if test "$GXX" = yes; then - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - m68k) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' - ;; - esac - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - mingw* | cygwin* | os2* | pw32* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - m4_if([$1], [GCJ], [], - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' - ;; - *djgpp*) - # DJGPP does not support shared libraries at all - _LT_TAGVAR(lt_prog_compiler_pic, $1)= - ;; - interix[[3-9]]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - sysv4*MP*) - if test -d /usr/nec; then - _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic - fi - ;; - hpux*) - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag - # sets the default TLS model and affects inlining. - case $host_cpu in - hppa*64*) - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - ;; - *qnx* | *nto*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - else - case $host_os in - aix[[4-9]]*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - else - _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' - fi - ;; - chorus*) - case $cc_basename in - cxch68*) - # Green Hills C++ Compiler - # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" - ;; - esac - ;; - dgux*) - case $cc_basename in - ec++*) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - ;; - ghcx*) - # Green Hills C++ Compiler - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - *) - ;; - esac - ;; - freebsd* | dragonfly*) - # FreeBSD uses GNU C++ - ;; - hpux9* | hpux10* | hpux11*) - case $cc_basename in - CC*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - if test "$host_cpu" != ia64; then - _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - fi - ;; - aCC*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - ;; - esac - ;; - *) - ;; - esac - ;; - interix*) - # This is c89, which is MS Visual C++ (no shared libs) - # Anyone wants to do a port? - ;; - irix5* | irix6* | nonstopux*) - case $cc_basename in - CC*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - # CC pic flag -KPIC is the default. - ;; - *) - ;; - esac - ;; - linux* | k*bsd*-gnu) - case $cc_basename in - KCC*) - # KAI C++ Compiler - _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - ecpc* ) - # old Intel C++ for x86_64 which still supported -KPIC. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - icpc* ) - # Intel C++, used to be incompatible with GCC. - # ICC 10 doesn't accept -KPIC any more. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - cxx*) - # Compaq C++ - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - _LT_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - xlc* | xlC*) - # IBM XL 8.0 on PPC - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - ;; - esac - ;; - esac - ;; - lynxos*) - ;; - m88k*) - ;; - mvs*) - case $cc_basename in - cxx*) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' - ;; - *) - ;; - esac - ;; - netbsd*) - ;; - *qnx* | *nto*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' - ;; - osf3* | osf4* | osf5*) - case $cc_basename in - KCC*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' - ;; - RCC*) - # Rational C++ 2.4.1 - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - cxx*) - # Digital/Compaq C++ - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - _LT_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - *) - ;; - esac - ;; - psos*) - ;; - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - ;; - gcx*) - # Green Hills C++ Compiler - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' - ;; - *) - ;; - esac - ;; - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - lcc*) - # Lucid - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - *) - ;; - esac - ;; - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - case $cc_basename in - CC*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - esac - ;; - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - ;; - *) - ;; - esac - ;; - vxworks*) - ;; - *) - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - esac - fi -], -[ - if test "$GCC" = yes; then - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - m68k) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' - ;; - esac - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - - mingw* | cygwin* | pw32* | os2* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - m4_if([$1], [GCJ], [], - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) - ;; - - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' - ;; - - hpux*) - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag - # sets the default TLS model and affects inlining. - case $host_cpu in - hppa*64*) - # +Z the default - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - ;; - - interix[[3-9]]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - - msdosdjgpp*) - # Just because we use GCC doesn't mean we suddenly get shared libraries - # on systems that don't support them. - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - enable_shared=no - ;; - - *nto* | *qnx*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic - fi - ;; - - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - else - # PORTME Check for flag to pass linker flags through the system compiler. - case $host_os in - aix*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - else - _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' - fi - ;; - - mingw* | cygwin* | pw32* | os2* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - m4_if([$1], [GCJ], [], - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) - ;; - - hpux9* | hpux10* | hpux11*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - ;; - esac - # Is there a better lt_prog_compiler_static that works with the bundled CC? - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - ;; - - irix5* | irix6* | nonstopux*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # PIC (with -KPIC) is the default. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - linux* | k*bsd*-gnu) - case $cc_basename in - # old Intel for x86_64 which still supported -KPIC. - ecc*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - # icc used to be incompatible with GCC. - # ICC 10 doesn't accept -KPIC any more. - icc* | ifort*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - # Lahey Fortran 8.1. - lf95*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' - _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' - ;; - pgcc* | pgf77* | pgf90* | pgf95*) - # Portland Group compilers (*not* the Pentium gcc compiler, - # which looks to be a dead project) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - ccc*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # All Alpha code is PIC. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - xl*) - # IBM XL C 8.0/Fortran 10.1 on PPC - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C 5.9 - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - ;; - *Sun\ F*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_TAGVAR(lt_prog_compiler_wl, $1)='' - ;; - esac - ;; - esac - ;; - - newsos6) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - *nto* | *qnx*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' - ;; - - osf3* | osf4* | osf5*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # All OSF/1 code is PIC. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - rdos*) - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - solaris*) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - case $cc_basename in - f77* | f90* | f95*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; - *) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; - esac - ;; - - sunos4*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - sysv4 | sysv4.2uw2* | sysv4.3*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - sysv4*MP*) - if test -d /usr/nec ;then - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - unicos*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - - uts4*) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - *) - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - esac - fi -]) -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - _LT_TAGVAR(lt_prog_compiler_pic, $1)= - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" - ;; -esac -AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) -_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], - [How to pass a linker flag through the compiler]) - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then - _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], - [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], - [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], - [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in - "" | " "*) ;; - *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; - esac], - [_LT_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) -fi -_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], - [Additional compiler flags for building library objects]) - -# -# Check to make sure the static flag actually works. -# -wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" -_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], - _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), - $lt_tmp_static_flag, - [], - [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) -_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], - [Compiler flag to prevent dynamic linking]) -])# _LT_COMPILER_PIC - - -# _LT_LINKER_SHLIBS([TAGNAME]) -# ---------------------------- -# See if the linker supports building shared libraries. -m4_defun([_LT_LINKER_SHLIBS], -[AC_REQUIRE([LT_PATH_LD])dnl -AC_REQUIRE([LT_PATH_NM])dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_DECL_EGREP])dnl -m4_require([_LT_DECL_SED])dnl -m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl -m4_require([_LT_TAG_COMPILER])dnl -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) -m4_if([$1], [CXX], [ - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - case $host_os in - aix[[4-9]]*) - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - else - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - fi - ;; - pw32*) - _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" - ;; - cygwin* | mingw* | cegcc*) - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' - ;; - *) - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - ;; - esac - _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] -], [ - runpath_var= - _LT_TAGVAR(allow_undefined_flag, $1)= - _LT_TAGVAR(always_export_symbols, $1)=no - _LT_TAGVAR(archive_cmds, $1)= - _LT_TAGVAR(archive_expsym_cmds, $1)= - _LT_TAGVAR(compiler_needs_object, $1)=no - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no - _LT_TAGVAR(export_dynamic_flag_spec, $1)= - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - _LT_TAGVAR(hardcode_automatic, $1)=no - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_direct_absolute, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= - _LT_TAGVAR(hardcode_libdir_separator, $1)= - _LT_TAGVAR(hardcode_minus_L, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_TAGVAR(inherit_rpath, $1)=no - _LT_TAGVAR(link_all_deplibs, $1)=unknown - _LT_TAGVAR(module_cmds, $1)= - _LT_TAGVAR(module_expsym_cmds, $1)= - _LT_TAGVAR(old_archive_from_new_cmds, $1)= - _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= - _LT_TAGVAR(thread_safe_flag_spec, $1)= - _LT_TAGVAR(whole_archive_flag_spec, $1)= - # include_expsyms should be a list of space-separated symbols to be *always* - # included in the symbol list - _LT_TAGVAR(include_expsyms, $1)= - # exclude_expsyms can be an extended regexp of symbols to exclude - # it will be wrapped by ` (' and `)$', so one must not match beginning or - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', - # as well as any symbol that contains `d'. - _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out - # platforms (ab)use it in PIC code, but their linkers get confused if - # the symbol is explicitly referenced. Since portable code cannot - # rely on this symbol name, it's probably fine to never include it in - # preloaded symbol tables. - # Exclude shared library initialization/finalization symbols. -dnl Note also adjust exclude_expsyms for C++ above. - extract_expsyms_cmds= - - case $host_os in - cygwin* | mingw* | pw32* | cegcc*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no - fi - ;; - interix*) - # we just hope/assume this is gcc and not c89 (= MSVC++) - with_gnu_ld=yes - ;; - openbsd*) - with_gnu_ld=no - ;; - esac - - _LT_TAGVAR(ld_shlibs, $1)=yes - if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' - - # Set some defaults for GNU ld with shared library support. These - # are reset later if shared libraries are not supported. Putting them - # here allows them to be overridden if necessary. - runpath_var=LD_RUN_PATH - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - _LT_TAGVAR(whole_archive_flag_spec, $1)= - fi - supports_anon_versioning=no - case `$LD -v 2>&1` in - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... - *\ 2.11.*) ;; # other 2.11 versions - *) supports_anon_versioning=yes ;; - esac - - # See if GNU ld supports shared libraries. - case $host_os in - aix[[3-9]]*) - # On AIX/PPC, the GNU linker is very broken - if test "$host_cpu" != ia64; then - _LT_TAGVAR(ld_shlibs, $1)=no - cat <<_LT_EOF 1>&2 - -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. - -_LT_EOF - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='' - ;; - m68k) - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_minus_L, $1)=yes - ;; - esac - ;; - - beos*) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, - # as there is no search path for DLLs. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_TAGVAR(always_export_symbols, $1)=no - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' - - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - interix[[3-9]]*) - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - - gnu* | linux* | tpf* | k*bsd*-gnu) - tmp_diet=no - if test "$host_os" = linux-dietlibc; then - case $cc_basename in - diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) - esac - fi - if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ - && test "$tmp_diet" = no - then - tmp_addflag= - tmp_sharedflag='-shared' - case $cc_basename,$host_cpu in - pgcc*) # Portland Group C compiler - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag' - ;; - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag -Mnomain' ;; - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 - tmp_addflag=' -i_dynamic' ;; - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 - tmp_addflag=' -i_dynamic -nofor_main' ;; - ifc* | ifort*) # Intel Fortran compiler - tmp_addflag=' -nofor_main' ;; - lf95*) # Lahey Fortran 8.1 - _LT_TAGVAR(whole_archive_flag_spec, $1)= - tmp_sharedflag='--shared' ;; - xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) - tmp_sharedflag='-qmkshrobj' - tmp_addflag= ;; - esac - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) # Sun C 5.9 - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - _LT_TAGVAR(compiler_needs_object, $1)=yes - tmp_sharedflag='-G' ;; - *Sun\ F*) # Sun Fortran 8.3 - tmp_sharedflag='-G' ;; - esac - _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - - if test "x$supports_anon_versioning" = xyes; then - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - - case $cc_basename in - xlf*) - # IBM XL Fortran 10.1 on PPC cannot create shared libs itself - _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' - _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' - if test "x$supports_anon_versioning" = xyes; then - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' - fi - ;; - esac - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; - - solaris*) - if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then - _LT_TAGVAR(ld_shlibs, $1)=no - cat <<_LT_EOF 1>&2 - -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) - case `$LD -v 2>&1` in - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) - _LT_TAGVAR(ld_shlibs, $1)=no - cat <<_LT_EOF 1>&2 - -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not -*** reliably create shared libraries on SCO systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - ;; - *) - # For security reasons, it is highly recommended that you always - # use absolute paths for naming shared libraries, and exclude the - # DT_RUNPATH tag from executables and libraries. But doing so - # requires that you compile everything twice, which is a pain. - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - - sunos4*) - _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - *) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - - if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then - runpath_var= - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_TAGVAR(export_dynamic_flag_spec, $1)= - _LT_TAGVAR(whole_archive_flag_spec, $1)= - fi - else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_TAGVAR(always_export_symbols, $1)=yes - _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - _LT_TAGVAR(hardcode_minus_L, $1)=yes - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - _LT_TAGVAR(hardcode_direct, $1)=unsupported - fi - ;; - - aix[[4-9]]*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - else - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - fi - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) - for ld_flag in $LDFLAGS; do - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then - aix_use_runtimelinking=yes - break - fi - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - _LT_TAGVAR(archive_cmds, $1)='' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_TAGVAR(link_all_deplibs, $1)=yes - _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' - - if test "$GCC" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && - strings "$collect2name" | $GREP resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - _LT_TAGVAR(hardcode_direct, $1)=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - _LT_TAGVAR(always_export_symbols, $1)=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - _LT_TAGVAR(allow_undefined_flag, $1)='-berok' - # Determine the default libpath from the value encoded in an - # empty executable. - _LT_SYS_MODULE_PATH_AIX - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' - _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an - # empty executable. - _LT_SYS_MODULE_PATH_AIX - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes - # This is similar to how AIX traditionally builds its shared libraries. - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='' - ;; - m68k) - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_minus_L, $1)=yes - ;; - esac - ;; - - bsdi[[45]]*) - _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=".dll" - # FIXME: Setting linknames here is a bad hack. - _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' - # FIXME: Should let the user specify the lib program. - _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' - _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - ;; - - darwin* | rhapsody*) - _LT_DARWIN_LINKER_FEATURES($1) - ;; - - dgux*) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - freebsd1*) - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | dragonfly*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - hpux9*) - if test "$GCC" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - fi - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(hardcode_direct, $1)=yes - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - ;; - - hpux10*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' - fi - if test "$with_gnu_ld" = no; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_TAGVAR(hardcode_minus_L, $1)=yes - fi - ;; - - hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - case $host_cpu in - hppa*64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - else - case $host_cpu in - hppa*64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - fi - if test "$with_gnu_ld" = no; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - case $host_cpu in - hppa*64*|ia64*) - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - *) - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_TAGVAR(hardcode_minus_L, $1)=yes - ;; - esac - fi - ;; - - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - # Try to use the -exported_symbol ld option, if it does not - # work, assume that -exports_file does not work either and - # implicitly export all symbols. - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" - AC_LINK_IFELSE(int foo(void) {}, - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' - ) - LDFLAGS="$save_LDFLAGS" - else - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' - fi - _LT_TAGVAR(archive_cmds_need_lc, $1)='no' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(inherit_rpath, $1)=yes - _LT_TAGVAR(link_all_deplibs, $1)=yes - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - newsos6) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - *nto* | *qnx*) - ;; - - openbsd*) - if test -f /usr/libexec/ld.so; then - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - else - case $host_os in - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - ;; - esac - fi - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - os2*) - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; - - osf3*) - if test "$GCC" = yes; then - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - fi - _LT_TAGVAR(archive_cmds_need_lc, $1)='no' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - else - _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ - $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' - - # Both c and cxx compiler support -rpath directly - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - fi - _LT_TAGVAR(archive_cmds_need_lc, $1)='no' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - - solaris*) - _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' - if test "$GCC" = yes; then - wlarc='${wl}' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' - else - case `$CC -V 2>&1` in - *"Compilers 5.0"*) - wlarc='' - _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' - ;; - *) - wlarc='${wl}' - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' - ;; - esac - fi - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. GCC discards it without `$wl', - # but is careful enough not to reorder. - # Supported since Solaris 2.6 (maybe 2.5.1?) - if test "$GCC" = yes; then - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - else - _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' - fi - ;; - esac - _LT_TAGVAR(link_all_deplibs, $1)=yes - ;; - - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - sysv4) - case $host_vendor in - sni) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' - _LT_TAGVAR(hardcode_direct, $1)=no - ;; - motorola) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - sysv4.3*) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - _LT_TAGVAR(ld_shlibs, $1)=yes - fi - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_TAGVAR(link_all_deplibs, $1)=yes - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - uts4*) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - *) - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - - if test x$host_vendor = xsni; then - case $host in - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym' - ;; - esac - fi - fi -]) -AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) -test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no - -_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld - -_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl -_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl -_LT_DECL([], [extract_expsyms_cmds], [2], - [The commands to extract the exported symbol list from a shared archive]) - -# -# Do we need to explicitly link libc? -# -case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in -x|xyes) - # Assume -lc should be added - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes - - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $_LT_TAGVAR(archive_cmds, $1) in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - AC_MSG_CHECKING([whether -lc should be explicitly linked in]) - $RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) - pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) - _LT_TAGVAR(allow_undefined_flag, $1)= - if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) - then - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - else - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes - fi - _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $RM conftest* - AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)]) - ;; - esac - fi - ;; -esac - -_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], - [Whether or not to add -lc for building shared libraries]) -_LT_TAGDECL([allow_libtool_libs_with_static_runtimes], - [enable_shared_with_static_runtimes], [0], - [Whether or not to disallow shared libs when runtime libs are static]) -_LT_TAGDECL([], [export_dynamic_flag_spec], [1], - [Compiler flag to allow reflexive dlopens]) -_LT_TAGDECL([], [whole_archive_flag_spec], [1], - [Compiler flag to generate shared objects directly from archives]) -_LT_TAGDECL([], [compiler_needs_object], [1], - [Whether the compiler copes with passing no objects directly]) -_LT_TAGDECL([], [old_archive_from_new_cmds], [2], - [Create an old-style archive from a shared archive]) -_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], - [Create a temporary old-style archive to link instead of a shared archive]) -_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) -_LT_TAGDECL([], [archive_expsym_cmds], [2]) -_LT_TAGDECL([], [module_cmds], [2], - [Commands used to build a loadable module if different from building - a shared archive.]) -_LT_TAGDECL([], [module_expsym_cmds], [2]) -_LT_TAGDECL([], [with_gnu_ld], [1], - [Whether we are building with GNU ld or not]) -_LT_TAGDECL([], [allow_undefined_flag], [1], - [Flag that allows shared libraries with undefined symbols to be built]) -_LT_TAGDECL([], [no_undefined_flag], [1], - [Flag that enforces no undefined symbols]) -_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], - [Flag to hardcode $libdir into a binary during linking. - This must work even if $libdir does not exist]) -_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1], - [[If ld is used when linking, flag to hardcode $libdir into a binary - during linking. This must work even if $libdir does not exist]]) -_LT_TAGDECL([], [hardcode_libdir_separator], [1], - [Whether we need a single "-rpath" flag with a separated argument]) -_LT_TAGDECL([], [hardcode_direct], [0], - [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes - DIR into the resulting binary]) -_LT_TAGDECL([], [hardcode_direct_absolute], [0], - [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes - DIR into the resulting binary and the resulting library dependency is - "absolute", i.e impossible to change by setting ${shlibpath_var} if the - library is relocated]) -_LT_TAGDECL([], [hardcode_minus_L], [0], - [Set to "yes" if using the -LDIR flag during linking hardcodes DIR - into the resulting binary]) -_LT_TAGDECL([], [hardcode_shlibpath_var], [0], - [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR - into the resulting binary]) -_LT_TAGDECL([], [hardcode_automatic], [0], - [Set to "yes" if building a shared library automatically hardcodes DIR - into the library and all subsequent libraries and executables linked - against it]) -_LT_TAGDECL([], [inherit_rpath], [0], - [Set to yes if linker adds runtime paths of dependent libraries - to runtime path list]) -_LT_TAGDECL([], [link_all_deplibs], [0], - [Whether libtool must link a program against all its dependency libraries]) -_LT_TAGDECL([], [fix_srcfile_path], [1], - [Fix the shell variable $srcfile for the compiler]) -_LT_TAGDECL([], [always_export_symbols], [0], - [Set to "yes" if exported symbols are required]) -_LT_TAGDECL([], [export_symbols_cmds], [2], - [The commands to list exported symbols]) -_LT_TAGDECL([], [exclude_expsyms], [1], - [Symbols that should not be listed in the preloaded symbols]) -_LT_TAGDECL([], [include_expsyms], [1], - [Symbols that must always be exported]) -_LT_TAGDECL([], [prelink_cmds], [2], - [Commands necessary for linking programs (against libraries) with templates]) -_LT_TAGDECL([], [file_list_spec], [1], - [Specify filename containing input files]) -dnl FIXME: Not yet implemented -dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], -dnl [Compiler flag to generate thread safe objects]) -])# _LT_LINKER_SHLIBS - - -# _LT_LANG_C_CONFIG([TAG]) -# ------------------------ -# Ensure that the configuration variables for a C compiler are suitably -# defined. These variables are subsequently used by _LT_CONFIG to write -# the compiler configuration to `libtool'. -m4_defun([_LT_LANG_C_CONFIG], -[m4_require([_LT_DECL_EGREP])dnl -lt_save_CC="$CC" -AC_LANG_PUSH(C) - -# Source file extension for C test sources. -ac_ext=c - -# Object file extension for compiled C test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;" - -# Code to be used in simple link tests -lt_simple_link_test_code='int main(){return(0);}' - -_LT_TAG_COMPILER -# Save the default compiler, since it gets overwritten when the other -# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. -compiler_DEFAULT=$CC - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -if test -n "$compiler"; then - _LT_COMPILER_NO_RTTI($1) - _LT_COMPILER_PIC($1) - _LT_COMPILER_C_O($1) - _LT_COMPILER_FILE_LOCKS($1) - _LT_LINKER_SHLIBS($1) - _LT_SYS_DYNAMIC_LINKER($1) - _LT_LINKER_HARDCODE_LIBPATH($1) - LT_SYS_DLOPEN_SELF - _LT_CMD_STRIPLIB - - # Report which library types will actually be built - AC_MSG_CHECKING([if libtool supports shared libraries]) - AC_MSG_RESULT([$can_build_shared]) - - AC_MSG_CHECKING([whether to build shared libraries]) - test "$can_build_shared" = "no" && enable_shared=no - - # On AIX, shared libraries and static libraries use the same namespace, and - # are all built from PIC. - case $host_os in - aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - - aix[[4-9]]*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; - esac - AC_MSG_RESULT([$enable_shared]) - - AC_MSG_CHECKING([whether to build static libraries]) - # Make sure either enable_shared or enable_static is yes. - test "$enable_shared" = yes || enable_static=yes - AC_MSG_RESULT([$enable_static]) - - _LT_CONFIG($1) -fi -AC_LANG_POP -CC="$lt_save_CC" -])# _LT_LANG_C_CONFIG - - -# _LT_PROG_CXX -# ------------ -# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++ -# compiler, we have our own version here. -m4_defun([_LT_PROG_CXX], -[ -pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes]) -AC_PROG_CXX -if test -n "$CXX" && ( test "X$CXX" != "Xno" && - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - AC_PROG_CXXCPP -else - _lt_caught_CXX_error=yes -fi -popdef([AC_MSG_ERROR]) -])# _LT_PROG_CXX - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([_LT_PROG_CXX], []) - - -# _LT_LANG_CXX_CONFIG([TAG]) -# -------------------------- -# Ensure that the configuration variables for a C++ compiler are suitably -# defined. These variables are subsequently used by _LT_CONFIG to write -# the compiler configuration to `libtool'. -m4_defun([_LT_LANG_CXX_CONFIG], -[AC_REQUIRE([_LT_PROG_CXX])dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_DECL_EGREP])dnl - -AC_LANG_PUSH(C++) -_LT_TAGVAR(archive_cmds_need_lc, $1)=no -_LT_TAGVAR(allow_undefined_flag, $1)= -_LT_TAGVAR(always_export_symbols, $1)=no -_LT_TAGVAR(archive_expsym_cmds, $1)= -_LT_TAGVAR(compiler_needs_object, $1)=no -_LT_TAGVAR(export_dynamic_flag_spec, $1)= -_LT_TAGVAR(hardcode_direct, $1)=no -_LT_TAGVAR(hardcode_direct_absolute, $1)=no -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= -_LT_TAGVAR(hardcode_libdir_separator, $1)= -_LT_TAGVAR(hardcode_minus_L, $1)=no -_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported -_LT_TAGVAR(hardcode_automatic, $1)=no -_LT_TAGVAR(inherit_rpath, $1)=no -_LT_TAGVAR(module_cmds, $1)= -_LT_TAGVAR(module_expsym_cmds, $1)= -_LT_TAGVAR(link_all_deplibs, $1)=unknown -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_TAGVAR(no_undefined_flag, $1)= -_LT_TAGVAR(whole_archive_flag_spec, $1)= -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no - -# Source file extension for C++ test sources. -ac_ext=cpp - -# Object file extension for compiled C++ test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# No sense in running all these tests if we already determined that -# the CXX compiler isn't working. Some variables (like enable_shared) -# are currently assumed to apply to all compilers on this platform, -# and will be corrupted by setting them based on a non-working compiler. -if test "$_lt_caught_CXX_error" != yes; then - # Code to be used in simple compile tests - lt_simple_compile_test_code="int some_variable = 0;" - - # Code to be used in simple link tests - lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' - - # ltmain only uses $CC for tagged configurations so make sure $CC is set. - _LT_TAG_COMPILER - - # save warnings/boilerplate of simple test code - _LT_COMPILER_BOILERPLATE - _LT_LINKER_BOILERPLATE - - # Allow CC to be a program name with arguments. - lt_save_CC=$CC - lt_save_LD=$LD - lt_save_GCC=$GCC - GCC=$GXX - lt_save_with_gnu_ld=$with_gnu_ld - lt_save_path_LD=$lt_cv_path_LD - if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx - else - $as_unset lt_cv_prog_gnu_ld - fi - if test -n "${lt_cv_path_LDCXX+set}"; then - lt_cv_path_LD=$lt_cv_path_LDCXX - else - $as_unset lt_cv_path_LD - fi - test -z "${LDCXX+set}" || LD=$LDCXX - CC=${CXX-"c++"} - compiler=$CC - _LT_TAGVAR(compiler, $1)=$CC - _LT_CC_BASENAME([$compiler]) - - if test -n "$compiler"; then - # We don't want -fno-exception when compiling C++ code, so set the - # no_builtin_flag separately - if test "$GXX" = yes; then - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' - else - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= - fi - - if test "$GXX" = yes; then - # Set up default GNU C++ configuration - - LT_PATH_LD - - # Check if GNU C++ uses GNU ld as the underlying linker, since the - # archiving commands below assume that GNU ld is being used. - if test "$with_gnu_ld" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - - # If archive_cmds runs LD, not CC, wlarc should be empty - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to - # investigate it a little bit more. (MM) - wlarc='${wl}' - - # ancient GNU ld didn't support --whole-archive et. al. - if eval "`$CC -print-prog-name=ld` --help 2>&1" | - $GREP 'no-whole-archive' > /dev/null; then - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - _LT_TAGVAR(whole_archive_flag_spec, $1)= - fi - else - with_gnu_ld=no - wlarc= - - # A generic and very simple default shared library creation - # command for GNU C++ for the case where it uses the native - # linker, instead of GNU ld. If possible, this setting should - # overridden to take advantage of the native linker features on - # the platform it is being used on. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - fi - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' - - else - GXX=no - with_gnu_ld=no - wlarc= - fi - - # PORTME: fill in a description of your system's C++ link characteristics - AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) - _LT_TAGVAR(ld_shlibs, $1)=yes - case $host_os in - aix3*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - aix[[4-9]]*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - _LT_TAGVAR(archive_cmds, $1)='' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_TAGVAR(link_all_deplibs, $1)=yes - _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' - - if test "$GXX" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && - strings "$collect2name" | $GREP resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - _LT_TAGVAR(hardcode_direct, $1)=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)= - fi - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to - # export. - _LT_TAGVAR(always_export_symbols, $1)=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - _LT_TAGVAR(allow_undefined_flag, $1)='-berok' - # Determine the default libpath from the value encoded in an empty - # executable. - _LT_SYS_MODULE_PATH_AIX - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' - _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an - # empty executable. - _LT_SYS_MODULE_PATH_AIX - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes - # This is similar to how AIX traditionally builds its shared - # libraries. - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - beos*) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - chorus*) - case $cc_basename in - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, - # as there is no search path for DLLs. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_TAGVAR(always_export_symbols, $1)=no - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - darwin* | rhapsody*) - _LT_DARWIN_LINKER_FEATURES($1) - ;; - - dgux*) - case $cc_basename in - ec++*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - ghcx*) - # Green Hills C++ Compiler - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - freebsd[[12]]*) - # C++ shared libraries reported to be fairly broken before - # switch to ELF - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - freebsd-elf*) - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - ;; - - freebsd* | dragonfly*) - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF - # conventions - _LT_TAGVAR(ld_shlibs, $1)=yes - ;; - - gnu*) - ;; - - hpux9*) - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, - # but as the default - # location of the library. - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - aCC*) - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - ;; - *) - if test "$GXX" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - - hpux10*|hpux11*) - if test $with_gnu_ld = no; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - case $host_cpu in - hppa*64*|ia64*) - ;; - *) - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - ;; - esac - fi - case $host_cpu in - hppa*64*|ia64*) - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - *) - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, - # but as the default - # location of the library. - ;; - esac - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - aCC*) - case $host_cpu in - hppa*64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - ;; - *) - if test "$GXX" = yes; then - if test $with_gnu_ld = no; then - case $host_cpu in - hppa*64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - fi - else - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - - interix[[3-9]]*) - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - irix5* | irix6*) - case $cc_basename in - CC*) - # SGI C++ - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - - # Archives containing C++ object files must be created using - # "CC -ar", where "CC" is the IRIX C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' - ;; - *) - if test "$GXX" = yes; then - if test "$with_gnu_ld" = no; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib' - fi - fi - _LT_TAGVAR(link_all_deplibs, $1)=yes - ;; - esac - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(inherit_rpath, $1)=yes - ;; - - linux* | k*bsd*-gnu) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' - ;; - icpc* | ecpc* ) - # Intel C++ - with_gnu_ld=yes - # version 8.0 and above of icpc choke on multiply defined symbols - # if we add $predep_objects and $postdep_objects, however 7.1 and - # earlier do not add the objects themselves. - case `$CC -V 2>&1` in - *"Version 7."*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - *) # Version 8.0 or newer - tmp_idyn= - case $host_cpu in - ia64*) tmp_idyn=' -i_dynamic';; - esac - _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - esac - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' - ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler - case `$CC -V` in - *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*) - _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ - compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' - _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ - $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ - $RANLIB $oldlib' - _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' - ;; - *) # Version 6 will use weak symbols - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' - ;; - esac - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - ;; - cxx*) - # Compaq C++ - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' - - runpath_var=LD_RUN_PATH - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - ;; - xl*) - # IBM XL 8.0 on PPC, with GNU ld - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - if test "x$supports_anon_versioning" = xyes; then - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - _LT_TAGVAR(compiler_needs_object, $1)=yes - - # Not sure whether something based on - # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 - # would be better. - output_verbose_link_cmd='echo' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' - ;; - esac - ;; - esac - ;; - - lynxos*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - m88k*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - mvs*) - case $cc_basename in - cxx*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' - wlarc= - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - fi - # Workaround some broken pre-1.5 toolchains - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' - ;; - - *nto* | *qnx*) - _LT_TAGVAR(ld_shlibs, $1)=yes - ;; - - openbsd2*) - # C++ shared libraries are fairly broken - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - openbsd*) - if test -f /usr/libexec/ld.so; then - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - fi - output_verbose_link_cmd=echo - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - osf3* | osf4* | osf5*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - # Archives containing C++ object files must be created using - # the KAI C++ compiler. - case $host in - osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; - *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; - esac - ;; - RCC*) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - cxx*) - case $host in - osf3*) - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - ;; - *) - _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ - echo "-hidden">> $lib.exp~ - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~ - $RM $lib.exp' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - ;; - esac - - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - ;; - *) - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - case $host in - osf3*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - ;; - esac - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' - - else - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - - psos*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - lcc*) - # Lucid - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - _LT_TAGVAR(archive_cmds_need_lc,$1)=yes - _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. - # Supported since Solaris 2.6 (maybe 2.5.1?) - _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' - ;; - esac - _LT_TAGVAR(link_all_deplibs, $1)=yes - - output_verbose_link_cmd='echo' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' - ;; - gcx*) - # Green Hills C++ Compiler - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - - # The C++ compiler must be used to create the archive. - _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' - ;; - *) - # GNU C++ compiler with Solaris linker - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' - if $CC --version | $GREP -v '^2\.7' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' - else - # g++ 2.7 appears to require `-G' NOT `-shared' on this - # platform. - _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' - fi - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - ;; - esac - fi - ;; - esac - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_TAGVAR(link_all_deplibs, $1)=yes - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - vxworks*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - - AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) - test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no - - _LT_TAGVAR(GCC, $1)="$GXX" - _LT_TAGVAR(LD, $1)="$LD" - - ## CAVEAT EMPTOR: - ## There is no encapsulation within the following macros, do not change - ## the running order or otherwise move them around unless you know exactly - ## what you are doing... - _LT_SYS_HIDDEN_LIBDEPS($1) - _LT_COMPILER_PIC($1) - _LT_COMPILER_C_O($1) - _LT_COMPILER_FILE_LOCKS($1) - _LT_LINKER_SHLIBS($1) - _LT_SYS_DYNAMIC_LINKER($1) - _LT_LINKER_HARDCODE_LIBPATH($1) - - _LT_CONFIG($1) - fi # test -n "$compiler" - - CC=$lt_save_CC - LDCXX=$LD - LD=$lt_save_LD - GCC=$lt_save_GCC - with_gnu_ld=$lt_save_with_gnu_ld - lt_cv_path_LDCXX=$lt_cv_path_LD - lt_cv_path_LD=$lt_save_path_LD - lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld - lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld -fi # test "$_lt_caught_CXX_error" != yes - -AC_LANG_POP -])# _LT_LANG_CXX_CONFIG - - -# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) -# --------------------------------- -# Figure out "hidden" library dependencies from verbose -# compiler output when linking a shared library. -# Parse the compiler output and extract the necessary -# objects, libraries and library flags. -m4_defun([_LT_SYS_HIDDEN_LIBDEPS], -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl -# Dependencies to place before and after the object being linked: -_LT_TAGVAR(predep_objects, $1)= -_LT_TAGVAR(postdep_objects, $1)= -_LT_TAGVAR(predeps, $1)= -_LT_TAGVAR(postdeps, $1)= -_LT_TAGVAR(compiler_lib_search_path, $1)= - -dnl we can't use the lt_simple_compile_test_code here, -dnl because it contains code intended for an executable, -dnl not a library. It's possible we should let each -dnl tag define a new lt_????_link_test_code variable, -dnl but it's only used here... -m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF -int a; -void foo (void) { a = 0; } -_LT_EOF -], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF -class Foo -{ -public: - Foo (void) { a = 0; } -private: - int a; -}; -_LT_EOF -], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF - subroutine foo - implicit none - integer*4 a - a=0 - return - end -_LT_EOF -], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF - subroutine foo - implicit none - integer a - a=0 - return - end -_LT_EOF -], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF -public class foo { - private int a; - public void bar (void) { - a = 0; - } -}; -_LT_EOF -]) -dnl Parse the compiler output and extract the necessary -dnl objects, libraries and library flags. -if AC_TRY_EVAL(ac_compile); then - # Parse the compiler output and extract the necessary - # objects, libraries and library flags. - - # Sentinel used to keep track of whether or not we are before - # the conftest object file. - pre_test_object_deps_done=no - - for p in `eval "$output_verbose_link_cmd"`; do - case $p in - - -L* | -R* | -l*) - # Some compilers place space between "-{L,R}" and the path. - # Remove the space. - if test $p = "-L" || - test $p = "-R"; then - prev=$p - continue - else - prev= - fi - - if test "$pre_test_object_deps_done" = no; then - case $p in - -L* | -R*) - # Internal compiler library paths should come after those - # provided the user. The postdeps already come after the - # user supplied libs so there is no need to process them. - if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then - _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}" - else - _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}" - fi - ;; - # The "-l" case would never come before the object being - # linked, so don't bother handling this case. - esac - else - if test -z "$_LT_TAGVAR(postdeps, $1)"; then - _LT_TAGVAR(postdeps, $1)="${prev}${p}" - else - _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}" - fi - fi - ;; - - *.$objext) - # This assumes that the test object file only shows up - # once in the compiler output. - if test "$p" = "conftest.$objext"; then - pre_test_object_deps_done=yes - continue - fi - - if test "$pre_test_object_deps_done" = no; then - if test -z "$_LT_TAGVAR(predep_objects, $1)"; then - _LT_TAGVAR(predep_objects, $1)="$p" - else - _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" - fi - else - if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then - _LT_TAGVAR(postdep_objects, $1)="$p" - else - _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" - fi - fi - ;; - - *) ;; # Ignore the rest. - - esac - done - - # Clean up. - rm -f a.out a.exe -else - echo "libtool.m4: error: problem compiling $1 test program" -fi - -$RM -f confest.$objext - -# PORTME: override above test on systems where it is broken -m4_if([$1], [CXX], -[case $host_os in -interix[[3-9]]*) - # Interix 3.5 installs completely hosed .la files for C++, so rather than - # hack all around it, let's just trust "g++" to DTRT. - _LT_TAGVAR(predep_objects,$1)= - _LT_TAGVAR(postdep_objects,$1)= - _LT_TAGVAR(postdeps,$1)= - ;; - -linux*) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - - # The more standards-conforming stlport4 library is - # incompatible with the Cstd library. Avoid specifying - # it if it's in CXXFLAGS. Ignore libCrun as - # -library=stlport4 depends on it. - case " $CXX $CXXFLAGS " in - *" -library=stlport4 "*) - solaris_use_stlport4=yes - ;; - esac - - if test "$solaris_use_stlport4" != yes; then - _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' - fi - ;; - esac - ;; - -solaris*) - case $cc_basename in - CC*) - # The more standards-conforming stlport4 library is - # incompatible with the Cstd library. Avoid specifying - # it if it's in CXXFLAGS. Ignore libCrun as - # -library=stlport4 depends on it. - case " $CXX $CXXFLAGS " in - *" -library=stlport4 "*) - solaris_use_stlport4=yes - ;; - esac - - # Adding this requires a known-good setup of shared libraries for - # Sun compiler versions before 5.6, else PIC objects from an old - # archive will be linked into the output, leading to subtle bugs. - if test "$solaris_use_stlport4" != yes; then - _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' - fi - ;; - esac - ;; -esac -]) - -case " $_LT_TAGVAR(postdeps, $1) " in -*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; -esac - _LT_TAGVAR(compiler_lib_search_dirs, $1)= -if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then - _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` -fi -_LT_TAGDECL([], [compiler_lib_search_dirs], [1], - [The directories searched by this compiler when creating a shared library]) -_LT_TAGDECL([], [predep_objects], [1], - [Dependencies to place before and after the objects being linked to - create a shared library]) -_LT_TAGDECL([], [postdep_objects], [1]) -_LT_TAGDECL([], [predeps], [1]) -_LT_TAGDECL([], [postdeps], [1]) -_LT_TAGDECL([], [compiler_lib_search_path], [1], - [The library search path used internally by the compiler when linking - a shared library]) -])# _LT_SYS_HIDDEN_LIBDEPS - - -# _LT_PROG_F77 -# ------------ -# Since AC_PROG_F77 is broken, in that it returns the empty string -# if there is no fortran compiler, we have our own version here. -m4_defun([_LT_PROG_F77], -[ -pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes]) -AC_PROG_F77 -if test -z "$F77" || test "X$F77" = "Xno"; then - _lt_disable_F77=yes -fi -popdef([AC_MSG_ERROR]) -])# _LT_PROG_F77 - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([_LT_PROG_F77], []) - - -# _LT_LANG_F77_CONFIG([TAG]) -# -------------------------- -# Ensure that the configuration variables for a Fortran 77 compiler are -# suitably defined. These variables are subsequently used by _LT_CONFIG -# to write the compiler configuration to `libtool'. -m4_defun([_LT_LANG_F77_CONFIG], -[AC_REQUIRE([_LT_PROG_F77])dnl -AC_LANG_PUSH(Fortran 77) - -_LT_TAGVAR(archive_cmds_need_lc, $1)=no -_LT_TAGVAR(allow_undefined_flag, $1)= -_LT_TAGVAR(always_export_symbols, $1)=no -_LT_TAGVAR(archive_expsym_cmds, $1)= -_LT_TAGVAR(export_dynamic_flag_spec, $1)= -_LT_TAGVAR(hardcode_direct, $1)=no -_LT_TAGVAR(hardcode_direct_absolute, $1)=no -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= -_LT_TAGVAR(hardcode_libdir_separator, $1)= -_LT_TAGVAR(hardcode_minus_L, $1)=no -_LT_TAGVAR(hardcode_automatic, $1)=no -_LT_TAGVAR(inherit_rpath, $1)=no -_LT_TAGVAR(module_cmds, $1)= -_LT_TAGVAR(module_expsym_cmds, $1)= -_LT_TAGVAR(link_all_deplibs, $1)=unknown -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_TAGVAR(no_undefined_flag, $1)= -_LT_TAGVAR(whole_archive_flag_spec, $1)= -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no - -# Source file extension for f77 test sources. -ac_ext=f - -# Object file extension for compiled f77 test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# No sense in running all these tests if we already determined that -# the F77 compiler isn't working. Some variables (like enable_shared) -# are currently assumed to apply to all compilers on this platform, -# and will be corrupted by setting them based on a non-working compiler. -if test "$_lt_disable_F77" != yes; then - # Code to be used in simple compile tests - lt_simple_compile_test_code="\ - subroutine t - return - end -" - - # Code to be used in simple link tests - lt_simple_link_test_code="\ - program t - end -" - - # ltmain only uses $CC for tagged configurations so make sure $CC is set. - _LT_TAG_COMPILER - - # save warnings/boilerplate of simple test code - _LT_COMPILER_BOILERPLATE - _LT_LINKER_BOILERPLATE - - # Allow CC to be a program name with arguments. - lt_save_CC="$CC" - lt_save_GCC=$GCC - CC=${F77-"f77"} - compiler=$CC - _LT_TAGVAR(compiler, $1)=$CC - _LT_CC_BASENAME([$compiler]) - GCC=$G77 - if test -n "$compiler"; then - AC_MSG_CHECKING([if libtool supports shared libraries]) - AC_MSG_RESULT([$can_build_shared]) - - AC_MSG_CHECKING([whether to build shared libraries]) - test "$can_build_shared" = "no" && enable_shared=no - - # On AIX, shared libraries and static libraries use the same namespace, and - # are all built from PIC. - case $host_os in - aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - aix[[4-9]]*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; - esac - AC_MSG_RESULT([$enable_shared]) - - AC_MSG_CHECKING([whether to build static libraries]) - # Make sure either enable_shared or enable_static is yes. - test "$enable_shared" = yes || enable_static=yes - AC_MSG_RESULT([$enable_static]) - - _LT_TAGVAR(GCC, $1)="$G77" - _LT_TAGVAR(LD, $1)="$LD" - - ## CAVEAT EMPTOR: - ## There is no encapsulation within the following macros, do not change - ## the running order or otherwise move them around unless you know exactly - ## what you are doing... - _LT_COMPILER_PIC($1) - _LT_COMPILER_C_O($1) - _LT_COMPILER_FILE_LOCKS($1) - _LT_LINKER_SHLIBS($1) - _LT_SYS_DYNAMIC_LINKER($1) - _LT_LINKER_HARDCODE_LIBPATH($1) - - _LT_CONFIG($1) - fi # test -n "$compiler" - - GCC=$lt_save_GCC - CC="$lt_save_CC" -fi # test "$_lt_disable_F77" != yes - -AC_LANG_POP -])# _LT_LANG_F77_CONFIG - - -# _LT_PROG_FC -# ----------- -# Since AC_PROG_FC is broken, in that it returns the empty string -# if there is no fortran compiler, we have our own version here. -m4_defun([_LT_PROG_FC], -[ -pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes]) -AC_PROG_FC -if test -z "$FC" || test "X$FC" = "Xno"; then - _lt_disable_FC=yes -fi -popdef([AC_MSG_ERROR]) -])# _LT_PROG_FC - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([_LT_PROG_FC], []) - - -# _LT_LANG_FC_CONFIG([TAG]) -# ------------------------- -# Ensure that the configuration variables for a Fortran compiler are -# suitably defined. These variables are subsequently used by _LT_CONFIG -# to write the compiler configuration to `libtool'. -m4_defun([_LT_LANG_FC_CONFIG], -[AC_REQUIRE([_LT_PROG_FC])dnl -AC_LANG_PUSH(Fortran) - -_LT_TAGVAR(archive_cmds_need_lc, $1)=no -_LT_TAGVAR(allow_undefined_flag, $1)= -_LT_TAGVAR(always_export_symbols, $1)=no -_LT_TAGVAR(archive_expsym_cmds, $1)= -_LT_TAGVAR(export_dynamic_flag_spec, $1)= -_LT_TAGVAR(hardcode_direct, $1)=no -_LT_TAGVAR(hardcode_direct_absolute, $1)=no -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= -_LT_TAGVAR(hardcode_libdir_separator, $1)= -_LT_TAGVAR(hardcode_minus_L, $1)=no -_LT_TAGVAR(hardcode_automatic, $1)=no -_LT_TAGVAR(inherit_rpath, $1)=no -_LT_TAGVAR(module_cmds, $1)= -_LT_TAGVAR(module_expsym_cmds, $1)= -_LT_TAGVAR(link_all_deplibs, $1)=unknown -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_TAGVAR(no_undefined_flag, $1)= -_LT_TAGVAR(whole_archive_flag_spec, $1)= -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no - -# Source file extension for fc test sources. -ac_ext=${ac_fc_srcext-f} - -# Object file extension for compiled fc test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# No sense in running all these tests if we already determined that -# the FC compiler isn't working. Some variables (like enable_shared) -# are currently assumed to apply to all compilers on this platform, -# and will be corrupted by setting them based on a non-working compiler. -if test "$_lt_disable_FC" != yes; then - # Code to be used in simple compile tests - lt_simple_compile_test_code="\ - subroutine t - return - end -" - - # Code to be used in simple link tests - lt_simple_link_test_code="\ - program t - end -" - - # ltmain only uses $CC for tagged configurations so make sure $CC is set. - _LT_TAG_COMPILER - - # save warnings/boilerplate of simple test code - _LT_COMPILER_BOILERPLATE - _LT_LINKER_BOILERPLATE - - # Allow CC to be a program name with arguments. - lt_save_CC="$CC" - lt_save_GCC=$GCC - CC=${FC-"f95"} - compiler=$CC - GCC=$ac_cv_fc_compiler_gnu - - _LT_TAGVAR(compiler, $1)=$CC - _LT_CC_BASENAME([$compiler]) - - if test -n "$compiler"; then - AC_MSG_CHECKING([if libtool supports shared libraries]) - AC_MSG_RESULT([$can_build_shared]) - - AC_MSG_CHECKING([whether to build shared libraries]) - test "$can_build_shared" = "no" && enable_shared=no - - # On AIX, shared libraries and static libraries use the same namespace, and - # are all built from PIC. - case $host_os in - aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - aix[[4-9]]*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; - esac - AC_MSG_RESULT([$enable_shared]) - - AC_MSG_CHECKING([whether to build static libraries]) - # Make sure either enable_shared or enable_static is yes. - test "$enable_shared" = yes || enable_static=yes - AC_MSG_RESULT([$enable_static]) - - _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu" - _LT_TAGVAR(LD, $1)="$LD" - - ## CAVEAT EMPTOR: - ## There is no encapsulation within the following macros, do not change - ## the running order or otherwise move them around unless you know exactly - ## what you are doing... - _LT_SYS_HIDDEN_LIBDEPS($1) - _LT_COMPILER_PIC($1) - _LT_COMPILER_C_O($1) - _LT_COMPILER_FILE_LOCKS($1) - _LT_LINKER_SHLIBS($1) - _LT_SYS_DYNAMIC_LINKER($1) - _LT_LINKER_HARDCODE_LIBPATH($1) - - _LT_CONFIG($1) - fi # test -n "$compiler" - - GCC=$lt_save_GCC - CC="$lt_save_CC" -fi # test "$_lt_disable_FC" != yes - -AC_LANG_POP -])# _LT_LANG_FC_CONFIG - - -# _LT_LANG_GCJ_CONFIG([TAG]) -# -------------------------- -# Ensure that the configuration variables for the GNU Java Compiler compiler -# are suitably defined. These variables are subsequently used by _LT_CONFIG -# to write the compiler configuration to `libtool'. -m4_defun([_LT_LANG_GCJ_CONFIG], -[AC_REQUIRE([LT_PROG_GCJ])dnl -AC_LANG_SAVE - -# Source file extension for Java test sources. -ac_ext=java - -# Object file extension for compiled Java test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="class foo {}" - -# Code to be used in simple link tests -lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_TAG_COMPILER - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -# Allow CC to be a program name with arguments. -lt_save_CC="$CC" -lt_save_GCC=$GCC -GCC=yes -CC=${GCJ-"gcj"} -compiler=$CC -_LT_TAGVAR(compiler, $1)=$CC -_LT_TAGVAR(LD, $1)="$LD" -_LT_CC_BASENAME([$compiler]) - -# GCJ did not exist at the time GCC didn't implicitly link libc in. -_LT_TAGVAR(archive_cmds_need_lc, $1)=no - -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds - -if test -n "$compiler"; then - _LT_COMPILER_NO_RTTI($1) - _LT_COMPILER_PIC($1) - _LT_COMPILER_C_O($1) - _LT_COMPILER_FILE_LOCKS($1) - _LT_LINKER_SHLIBS($1) - _LT_LINKER_HARDCODE_LIBPATH($1) - - _LT_CONFIG($1) -fi - -AC_LANG_RESTORE - -GCC=$lt_save_GCC -CC="$lt_save_CC" -])# _LT_LANG_GCJ_CONFIG - - -# _LT_LANG_RC_CONFIG([TAG]) -# ------------------------- -# Ensure that the configuration variables for the Windows resource compiler -# are suitably defined. These variables are subsequently used by _LT_CONFIG -# to write the compiler configuration to `libtool'. -m4_defun([_LT_LANG_RC_CONFIG], -[AC_REQUIRE([LT_PROG_RC])dnl -AC_LANG_SAVE - -# Source file extension for RC test sources. -ac_ext=rc - -# Object file extension for compiled RC test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' - -# Code to be used in simple link tests -lt_simple_link_test_code="$lt_simple_compile_test_code" - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_TAG_COMPILER - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -# Allow CC to be a program name with arguments. -lt_save_CC="$CC" -lt_save_GCC=$GCC -GCC= -CC=${RC-"windres"} -compiler=$CC -_LT_TAGVAR(compiler, $1)=$CC -_LT_CC_BASENAME([$compiler]) -_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes - -if test -n "$compiler"; then - : - _LT_CONFIG($1) -fi - -GCC=$lt_save_GCC -AC_LANG_RESTORE -CC="$lt_save_CC" -])# _LT_LANG_RC_CONFIG - - -# LT_PROG_GCJ -# ----------- -AC_DEFUN([LT_PROG_GCJ], -[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], - [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], - [AC_CHECK_TOOL(GCJ, gcj,) - test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" - AC_SUBST(GCJFLAGS)])])[]dnl -]) - -# Old name: -AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([LT_AC_PROG_GCJ], []) - - -# LT_PROG_RC -# ---------- -AC_DEFUN([LT_PROG_RC], -[AC_CHECK_TOOL(RC, windres,) -]) - -# Old name: -AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([LT_AC_PROG_RC], []) - - -# _LT_DECL_EGREP -# -------------- -# If we don't have a new enough Autoconf to choose the best grep -# available, choose the one first in the user's PATH. -m4_defun([_LT_DECL_EGREP], -[AC_REQUIRE([AC_PROG_EGREP])dnl -AC_REQUIRE([AC_PROG_FGREP])dnl -test -z "$GREP" && GREP=grep -_LT_DECL([], [GREP], [1], [A grep program that handles long lines]) -_LT_DECL([], [EGREP], [1], [An ERE matcher]) -_LT_DECL([], [FGREP], [1], [A literal string matcher]) -dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too -AC_SUBST([GREP]) -]) - - -# _LT_DECL_OBJDUMP -# -------------- -# If we don't have a new enough Autoconf to choose the best objdump -# available, choose the one first in the user's PATH. -m4_defun([_LT_DECL_OBJDUMP], -[AC_CHECK_TOOL(OBJDUMP, objdump, false) -test -z "$OBJDUMP" && OBJDUMP=objdump -_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) -AC_SUBST([OBJDUMP]) -]) - - -# _LT_DECL_SED -# ------------ -# Check for a fully-functional sed program, that truncates -# as few characters as possible. Prefer GNU sed if found. -m4_defun([_LT_DECL_SED], -[AC_PROG_SED -test -z "$SED" && SED=sed -Xsed="$SED -e 1s/^X//" -_LT_DECL([], [SED], [1], [A sed program that does not truncate output]) -_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], - [Sed that helps us avoid accidentally triggering echo(1) options like -n]) -])# _LT_DECL_SED - -m4_ifndef([AC_PROG_SED], [ -# NOTE: This macro has been submitted for inclusion into # -# GNU Autoconf as AC_PROG_SED. When it is available in # -# a released version of Autoconf we should remove this # -# macro and use it instead. # - -m4_defun([AC_PROG_SED], -[AC_MSG_CHECKING([for a sed that does not truncate output]) -AC_CACHE_VAL(lt_cv_path_SED, -[# Loop through the user's path and test for sed and gsed. -# Then use that list of sed's as ones to test for truncation. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for lt_ac_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" - fi - done - done -done -IFS=$as_save_IFS -lt_ac_max=0 -lt_ac_count=0 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris -# along with /bin/sed that truncates output. -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do - test ! -f $lt_ac_sed && continue - cat /dev/null > conftest.in - lt_ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >conftest.in - # Check for GNU sed and select it if it is found. - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then - lt_cv_path_SED=$lt_ac_sed - break - fi - while true; do - cat conftest.in conftest.in >conftest.tmp - mv conftest.tmp conftest.in - cp conftest.in conftest.nl - echo >>conftest.nl - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break - cmp -s conftest.out conftest.nl || break - # 10000 chars as input seems more than enough - test $lt_ac_count -gt 10 && break - lt_ac_count=`expr $lt_ac_count + 1` - if test $lt_ac_count -gt $lt_ac_max; then - lt_ac_max=$lt_ac_count - lt_cv_path_SED=$lt_ac_sed - fi - done -done -]) -SED=$lt_cv_path_SED -AC_SUBST([SED]) -AC_MSG_RESULT([$SED]) -])#AC_PROG_SED -])#m4_ifndef - -# Old name: -AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([LT_AC_PROG_SED], []) - - -# _LT_CHECK_SHELL_FEATURES -# ------------------------ -# Find out whether the shell is Bourne or XSI compatible, -# or has some other useful features. -m4_defun([_LT_CHECK_SHELL_FEATURES], -[AC_MSG_CHECKING([whether the shell understands some XSI constructs]) -# Try some XSI features -xsi_shell=no -( _lt_dummy="a/b/c" - test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ - = c,a/b,, \ - && eval 'test $(( 1 + 1 )) -eq 2 \ - && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ - && xsi_shell=yes -AC_MSG_RESULT([$xsi_shell]) -_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell']) - -AC_MSG_CHECKING([whether the shell understands "+="]) -lt_shell_append=no -( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \ - >/dev/null 2>&1 \ - && lt_shell_append=yes -AC_MSG_RESULT([$lt_shell_append]) -_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append']) - -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - lt_unset=unset -else - lt_unset=false -fi -_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl - -# test EBCDIC or ASCII -case `echo X|tr X '\101'` in - A) # ASCII based system - # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr - lt_SP2NL='tr \040 \012' - lt_NL2SP='tr \015\012 \040\040' - ;; - *) # EBCDIC based system - lt_SP2NL='tr \100 \n' - lt_NL2SP='tr \r\n \100\100' - ;; -esac -_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl -_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl -])# _LT_CHECK_SHELL_FEATURES - - -# _LT_PROG_XSI_SHELLFNS -# --------------------- -# Bourne and XSI compatible variants of some useful shell functions. -m4_defun([_LT_PROG_XSI_SHELLFNS], -[case $xsi_shell in - yes) - cat << \_LT_EOF >> "$cfgfile" - -# func_dirname file append nondir_replacement -# Compute the dirname of FILE. If nonempty, add APPEND to the result, -# otherwise set result to NONDIR_REPLACEMENT. -func_dirname () -{ - case ${1} in - */*) func_dirname_result="${1%/*}${2}" ;; - * ) func_dirname_result="${3}" ;; - esac -} - -# func_basename file -func_basename () -{ - func_basename_result="${1##*/}" -} - -# func_dirname_and_basename file append nondir_replacement -# perform func_basename and func_dirname in a single function -# call: -# dirname: Compute the dirname of FILE. If nonempty, -# add APPEND to the result, otherwise set result -# to NONDIR_REPLACEMENT. -# value returned in "$func_dirname_result" -# basename: Compute filename of FILE. -# value retuned in "$func_basename_result" -# Implementation must be kept synchronized with func_dirname -# and func_basename. For efficiency, we do not delegate to -# those functions but instead duplicate the functionality here. -func_dirname_and_basename () -{ - case ${1} in - */*) func_dirname_result="${1%/*}${2}" ;; - * ) func_dirname_result="${3}" ;; - esac - func_basename_result="${1##*/}" -} - -# func_stripname prefix suffix name -# strip PREFIX and SUFFIX off of NAME. -# PREFIX and SUFFIX must not contain globbing or regex special -# characters, hashes, percent signs, but SUFFIX may contain a leading -# dot (in which case that matches only a dot). -func_stripname () -{ - # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are - # positional parameters, so assign one to ordinary parameter first. - func_stripname_result=${3} - func_stripname_result=${func_stripname_result#"${1}"} - func_stripname_result=${func_stripname_result%"${2}"} -} - -# func_opt_split -func_opt_split () -{ - func_opt_split_opt=${1%%=*} - func_opt_split_arg=${1#*=} -} - -# func_lo2o object -func_lo2o () -{ - case ${1} in - *.lo) func_lo2o_result=${1%.lo}.${objext} ;; - *) func_lo2o_result=${1} ;; - esac -} - -# func_xform libobj-or-source -func_xform () -{ - func_xform_result=${1%.*}.lo -} - -# func_arith arithmetic-term... -func_arith () -{ - func_arith_result=$(( $[*] )) -} - -# func_len string -# STRING may not start with a hyphen. -func_len () -{ - func_len_result=${#1} -} - -_LT_EOF - ;; - *) # Bourne compatible functions. - cat << \_LT_EOF >> "$cfgfile" - -# func_dirname file append nondir_replacement -# Compute the dirname of FILE. If nonempty, add APPEND to the result, -# otherwise set result to NONDIR_REPLACEMENT. -func_dirname () -{ - # Extract subdirectory from the argument. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` - if test "X$func_dirname_result" = "X${1}"; then - func_dirname_result="${3}" - else - func_dirname_result="$func_dirname_result${2}" - fi -} - -# func_basename file -func_basename () -{ - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` -} - -dnl func_dirname_and_basename -dnl A portable version of this function is already defined in general.m4sh -dnl so there is no need for it here. - -# func_stripname prefix suffix name -# strip PREFIX and SUFFIX off of NAME. -# PREFIX and SUFFIX must not contain globbing or regex special -# characters, hashes, percent signs, but SUFFIX may contain a leading -# dot (in which case that matches only a dot). -# func_strip_suffix prefix name -func_stripname () -{ - case ${2} in - .*) func_stripname_result=`$ECHO "X${3}" \ - | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; - *) func_stripname_result=`$ECHO "X${3}" \ - | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; - esac -} - -# sed scripts: -my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q' -my_sed_long_arg='1s/^-[[^=]]*=//' - -# func_opt_split -func_opt_split () -{ - func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` - func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` -} - -# func_lo2o object -func_lo2o () -{ - func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` -} - -# func_xform libobj-or-source -func_xform () -{ - func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'` -} - -# func_arith arithmetic-term... -func_arith () -{ - func_arith_result=`expr "$[@]"` -} - -# func_len string -# STRING may not start with a hyphen. -func_len () -{ - func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len` -} - -_LT_EOF -esac - -case $lt_shell_append in - yes) - cat << \_LT_EOF >> "$cfgfile" - -# func_append var value -# Append VALUE to the end of shell variable VAR. -func_append () -{ - eval "$[1]+=\$[2]" -} -_LT_EOF - ;; - *) - cat << \_LT_EOF >> "$cfgfile" - -# func_append var value -# Append VALUE to the end of shell variable VAR. -func_append () -{ - eval "$[1]=\$$[1]\$[2]" -} - -_LT_EOF - ;; - esac -]) - -# ltdl.m4 - Configure ltdl for the target system. -*-Autoconf-*- -# -# Copyright (C) 1999-2006, 2007, 2008 Free Software Foundation, Inc. -# Written by Thomas Tanner, 1999 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# serial 17 LTDL_INIT - -# LT_CONFIG_LTDL_DIR(DIRECTORY, [LTDL-MODE]) -# ------------------------------------------ -# DIRECTORY contains the libltdl sources. It is okay to call this -# function multiple times, as long as the same DIRECTORY is always given. -AC_DEFUN([LT_CONFIG_LTDL_DIR], -[AC_BEFORE([$0], [LTDL_INIT]) -_$0($*) -])# LT_CONFIG_LTDL_DIR - -# We break this out into a separate macro, so that we can call it safely -# internally without being caught accidentally by the sed scan in libtoolize. -m4_defun([_LT_CONFIG_LTDL_DIR], -[dnl remove trailing slashes -m4_pushdef([_ARG_DIR], m4_bpatsubst([$1], [/*$])) -m4_case(_LTDL_DIR, - [], [dnl only set lt_ltdl_dir if _ARG_DIR is not simply `.' - m4_if(_ARG_DIR, [.], - [], - [m4_define([_LTDL_DIR], _ARG_DIR) - _LT_SHELL_INIT([lt_ltdl_dir=']_ARG_DIR['])])], - [m4_if(_ARG_DIR, _LTDL_DIR, - [], - [m4_fatal([multiple libltdl directories: `]_LTDL_DIR[', `]_ARG_DIR['])])]) -m4_popdef([_ARG_DIR]) -])# _LT_CONFIG_LTDL_DIR - -# Initialise: -m4_define([_LTDL_DIR], []) - - -# _LT_BUILD_PREFIX -# ---------------- -# If Autoconf is new enough, expand to `${top_build_prefix}', otherwise -# to `${top_builddir}/'. -m4_define([_LT_BUILD_PREFIX], -[m4_ifdef([AC_AUTOCONF_VERSION], - [m4_if(m4_version_compare(m4_defn([AC_AUTOCONF_VERSION]), [2.62]), - [-1], [m4_ifdef([_AC_HAVE_TOP_BUILD_PREFIX], - [${top_build_prefix}], - [${top_builddir}/])], - [${top_build_prefix}])], - [${top_builddir}/])[]dnl -]) - - -# LTDL_CONVENIENCE -# ---------------- -# sets LIBLTDL to the link flags for the libltdl convenience library and -# LTDLINCL to the include flags for the libltdl header and adds -# --enable-ltdl-convenience to the configure arguments. Note that -# AC_CONFIG_SUBDIRS is not called here. LIBLTDL will be prefixed with -# '${top_build_prefix}' if available, otherwise with '${top_builddir}/', -# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single -# quotes!). If your package is not flat and you're not using automake, -# define top_build_prefix, top_builddir, and top_srcdir appropriately -# in your Makefiles. -AC_DEFUN([LTDL_CONVENIENCE], -[AC_BEFORE([$0], [LTDL_INIT])dnl -dnl Although the argument is deprecated and no longer documented, -dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one -dnl here make sure it is the same as any other declaration of libltdl's -dnl location! This also ensures lt_ltdl_dir is set when configure.ac is -dnl not yet using an explicit LT_CONFIG_LTDL_DIR. -m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl -_$0() -])# LTDL_CONVENIENCE - -# AC_LIBLTDL_CONVENIENCE accepted a directory argument in older libtools, -# now we have LT_CONFIG_LTDL_DIR: -AU_DEFUN([AC_LIBLTDL_CONVENIENCE], -[_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) -_LTDL_CONVENIENCE]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBLTDL_CONVENIENCE], []) - - -# _LTDL_CONVENIENCE -# ----------------- -# Code shared by LTDL_CONVENIENCE and LTDL_INIT([convenience]). -m4_defun([_LTDL_CONVENIENCE], -[case $enable_ltdl_convenience in - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; - "") enable_ltdl_convenience=yes - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; -esac -LIBLTDL='_LT_BUILD_PREFIX'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la" -LTDLDEPS=$LIBLTDL -LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}" - -AC_SUBST([LIBLTDL]) -AC_SUBST([LTDLDEPS]) -AC_SUBST([LTDLINCL]) - -# For backwards non-gettext consistent compatibility... -INCLTDL="$LTDLINCL" -AC_SUBST([INCLTDL]) -])# _LTDL_CONVENIENCE - - -# LTDL_INSTALLABLE -# ---------------- -# sets LIBLTDL to the link flags for the libltdl installable library -# and LTDLINCL to the include flags for the libltdl header and adds -# --enable-ltdl-install to the configure arguments. Note that -# AC_CONFIG_SUBDIRS is not called from here. If an installed libltdl -# is not found, LIBLTDL will be prefixed with '${top_build_prefix}' if -# available, otherwise with '${top_builddir}/', and LTDLINCL will be -# prefixed with '${top_srcdir}/' (note the single quotes!). If your -# package is not flat and you're not using automake, define top_build_prefix, -# top_builddir, and top_srcdir appropriately in your Makefiles. -# In the future, this macro may have to be called after LT_INIT. -AC_DEFUN([LTDL_INSTALLABLE], -[AC_BEFORE([$0], [LTDL_INIT])dnl -dnl Although the argument is deprecated and no longer documented, -dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one -dnl here make sure it is the same as any other declaration of libltdl's -dnl location! This also ensures lt_ltdl_dir is set when configure.ac is -dnl not yet using an explicit LT_CONFIG_LTDL_DIR. -m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl -_$0() -])# LTDL_INSTALLABLE - -# AC_LIBLTDL_INSTALLABLE accepted a directory argument in older libtools, -# now we have LT_CONFIG_LTDL_DIR: -AU_DEFUN([AC_LIBLTDL_INSTALLABLE], -[_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) -_LTDL_INSTALLABLE]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBLTDL_INSTALLABLE], []) - - -# _LTDL_INSTALLABLE -# ----------------- -# Code shared by LTDL_INSTALLABLE and LTDL_INIT([installable]). -m4_defun([_LTDL_INSTALLABLE], -[if test -f $prefix/lib/libltdl.la; then - lt_save_LDFLAGS="$LDFLAGS" - LDFLAGS="-L$prefix/lib $LDFLAGS" - AC_CHECK_LIB([ltdl], [lt_dlinit], [lt_lib_ltdl=yes]) - LDFLAGS="$lt_save_LDFLAGS" - if test x"${lt_lib_ltdl-no}" = xyes; then - if test x"$enable_ltdl_install" != xyes; then - # Don't overwrite $prefix/lib/libltdl.la without --enable-ltdl-install - AC_MSG_WARN([not overwriting libltdl at $prefix, force with `--enable-ltdl-install']) - enable_ltdl_install=no - fi - elif test x"$enable_ltdl_install" = xno; then - AC_MSG_WARN([libltdl not installed, but installation disabled]) - fi -fi - -# If configure.ac declared an installable ltdl, and the user didn't override -# with --disable-ltdl-install, we will install the shipped libltdl. -case $enable_ltdl_install in - no) ac_configure_args="$ac_configure_args --enable-ltdl-install=no" - LIBLTDL="-lltdl" - LTDLDEPS= - LTDLINCL= - ;; - *) enable_ltdl_install=yes - ac_configure_args="$ac_configure_args --enable-ltdl-install" - LIBLTDL='_LT_BUILD_PREFIX'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdl.la" - LTDLDEPS=$LIBLTDL - LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}" - ;; -esac - -AC_SUBST([LIBLTDL]) -AC_SUBST([LTDLDEPS]) -AC_SUBST([LTDLINCL]) - -# For backwards non-gettext consistent compatibility... -INCLTDL="$LTDLINCL" -AC_SUBST([INCLTDL]) -])# LTDL_INSTALLABLE - - -# _LTDL_MODE_DISPATCH -# ------------------- -m4_define([_LTDL_MODE_DISPATCH], -[dnl If _LTDL_DIR is `.', then we are configuring libltdl itself: -m4_if(_LTDL_DIR, [], - [], - dnl if _LTDL_MODE was not set already, the default value is `subproject': - [m4_case(m4_default(_LTDL_MODE, [subproject]), - [subproject], [AC_CONFIG_SUBDIRS(_LTDL_DIR) - _LT_SHELL_INIT([lt_dlopen_dir="$lt_ltdl_dir"])], - [nonrecursive], [_LT_SHELL_INIT([lt_dlopen_dir="$lt_ltdl_dir"; lt_libobj_prefix="$lt_ltdl_dir/"])], - [recursive], [], - [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])dnl -dnl Be careful not to expand twice: -m4_define([$0], []) -])# _LTDL_MODE_DISPATCH - - -# _LT_LIBOBJ(MODULE_NAME) -# ----------------------- -# Like AC_LIBOBJ, except that MODULE_NAME goes into _LT_LIBOBJS instead -# of into LIBOBJS. -AC_DEFUN([_LT_LIBOBJ], [ - m4_pattern_allow([^_LT_LIBOBJS$]) - _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext" -])# _LT_LIBOBJS - - -# LTDL_INIT([OPTIONS]) -# -------------------- -# Clients of libltdl can use this macro to allow the installer to -# choose between a shipped copy of the ltdl sources or a preinstalled -# version of the library. If the shipped ltdl sources are not in a -# subdirectory named libltdl, the directory name must be given by -# LT_CONFIG_LTDL_DIR. -AC_DEFUN([LTDL_INIT], -[dnl Parse OPTIONS -_LT_SET_OPTIONS([$0], [$1]) - -dnl We need to keep our own list of libobjs separate from our parent project, -dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while -dnl we look for our own LIBOBJs. -m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ])) -m4_pushdef([AC_LIBSOURCES]) - -dnl If not otherwise defined, default to the 1.5.x compatible subproject mode: -m4_if(_LTDL_MODE, [], - [m4_define([_LTDL_MODE], m4_default([$2], [subproject])) - m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])], - [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])]) - -AC_ARG_WITH([included_ltdl], - [AS_HELP_STRING([--with-included-ltdl], - [use the GNU ltdl sources included here])]) - -if test "x$with_included_ltdl" != xyes; then - # We are not being forced to use the included libltdl sources, so - # decide whether there is a useful installed version we can use. - AC_CHECK_HEADER([ltdl.h], - [AC_CHECK_DECL([lt_dlinterface_register], - [AC_CHECK_LIB([ltdl], [lt_dladvise_preload], - [with_included_ltdl=no], - [with_included_ltdl=yes])], - [with_included_ltdl=yes], - [AC_INCLUDES_DEFAULT - #include ])], - [with_included_ltdl=yes], - [AC_INCLUDES_DEFAULT] - ) -fi - -dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE -dnl was called yet, then for old times' sake, we assume libltdl is in an -dnl eponymous directory: -AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])]) - -AC_ARG_WITH([ltdl_include], - [AS_HELP_STRING([--with-ltdl-include=DIR], - [use the ltdl headers installed in DIR])]) - -if test -n "$with_ltdl_include"; then - if test -f "$with_ltdl_include/ltdl.h"; then : - else - AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include']) - fi -else - with_ltdl_include=no -fi - -AC_ARG_WITH([ltdl_lib], - [AS_HELP_STRING([--with-ltdl-lib=DIR], - [use the libltdl.la installed in DIR])]) - -if test -n "$with_ltdl_lib"; then - if test -f "$with_ltdl_lib/libltdl.la"; then : - else - AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib']) - fi -else - with_ltdl_lib=no -fi - -case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in - ,yes,no,no,) - m4_case(m4_default(_LTDL_TYPE, [convenience]), - [convenience], [_LTDL_CONVENIENCE], - [installable], [_LTDL_INSTALLABLE], - [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)]) - ;; - ,no,no,no,) - # If the included ltdl is not to be used, then use the - # preinstalled libltdl we found. - AC_DEFINE([HAVE_LTDL], [1], - [Define this if a modern libltdl is already installed]) - LIBLTDL=-lltdl - LTDLDEPS= - LTDLINCL= - ;; - ,no*,no,*) - AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together]) - ;; - *) with_included_ltdl=no - LIBLTDL="-L$with_ltdl_lib -lltdl" - LTDLDEPS= - LTDLINCL="-I$with_ltdl_include" - ;; -esac -INCLTDL="$LTDLINCL" - -# Report our decision... -AC_MSG_CHECKING([where to find libltdl headers]) -AC_MSG_RESULT([$LTDLINCL]) -AC_MSG_CHECKING([where to find libltdl library]) -AC_MSG_RESULT([$LIBLTDL]) - -_LTDL_SETUP - -dnl restore autoconf definition. -m4_popdef([AC_LIBOBJ]) -m4_popdef([AC_LIBSOURCES]) - -AC_CONFIG_COMMANDS_PRE([ - _ltdl_libobjs= - _ltdl_ltlibobjs= - if test -n "$_LT_LIBOBJS"; then - # Remove the extension. - _lt_sed_drop_objext='s/\.o$//;s/\.obj$//' - for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do - _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext" - _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo" - done - fi - AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs]) - AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs]) -]) - -# Only expand once: -m4_define([LTDL_INIT]) -])# LTDL_INIT - -# Old names: -AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)]) -AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)]) -AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIB_LTDL], []) -dnl AC_DEFUN([AC_WITH_LTDL], []) -dnl AC_DEFUN([LT_WITH_LTDL], []) - - -# _LTDL_SETUP -# ----------- -# Perform all the checks necessary for compilation of the ltdl objects -# -- including compiler checks and header checks. This is a public -# interface mainly for the benefit of libltdl's own configure.ac, most -# other users should call LTDL_INIT instead. -AC_DEFUN([_LTDL_SETUP], -[AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([LT_SYS_MODULE_EXT])dnl -AC_REQUIRE([LT_SYS_MODULE_PATH])dnl -AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl -AC_REQUIRE([LT_LIB_DLLOAD])dnl -AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl -AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl -AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl -AC_REQUIRE([gl_FUNC_ARGZ])dnl - -m4_require([_LT_CHECK_OBJDIR])dnl -m4_require([_LT_HEADER_DLFCN])dnl -m4_require([_LT_CHECK_DLPREOPEN])dnl -m4_require([_LT_DECL_SED])dnl - -dnl Don't require this, or it will be expanded earlier than the code -dnl that sets the variables it relies on: -_LT_ENABLE_INSTALL - -dnl _LTDL_MODE specific code must be called at least once: -_LTDL_MODE_DISPATCH - -# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS -# the user used. This is so that ltdl.h can pick up the parent projects -# config.h file, The first file in AC_CONFIG_HEADERS must contain the -# definitions required by ltdl.c. -# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility). -AC_CONFIG_COMMANDS_PRE([dnl -m4_pattern_allow([^LT_CONFIG_H$])dnl -m4_ifset([AH_HEADER], - [LT_CONFIG_H=AH_HEADER], - [m4_ifset([AC_LIST_HEADERS], - [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ :]].*$,,'`], - [])])]) -AC_SUBST([LT_CONFIG_H]) - -AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h], - [], [], [AC_INCLUDES_DEFAULT]) - -AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])]) -AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])]) - -AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension]) - -name=ltdl -LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""` -AC_SUBST([LTDLOPEN]) -])# _LTDL_SETUP - - -# _LT_ENABLE_INSTALL -# ------------------ -m4_define([_LT_ENABLE_INSTALL], -[AC_ARG_ENABLE([ltdl-install], - [AS_HELP_STRING([--enable-ltdl-install], [install libltdl])]) - -case ,${enable_ltdl_install},${enable_ltdl_convenience} in - *yes*) ;; - *) enable_ltdl_convenience=yes ;; -esac - -m4_ifdef([AM_CONDITIONAL], -[AM_CONDITIONAL(INSTALL_LTDL, test x"${enable_ltdl_install-no}" != xno) - AM_CONDITIONAL(CONVENIENCE_LTDL, test x"${enable_ltdl_convenience-no}" != xno)]) -])# _LT_ENABLE_INSTALL - - -# LT_SYS_DLOPEN_DEPLIBS -# --------------------- -AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_CACHE_CHECK([whether deplibs are loaded by dlopen], - [lt_cv_sys_dlopen_deplibs], - [# PORTME does your system automatically load deplibs for dlopen? - # or its logical equivalent (e.g. shl_load for HP-UX < 11) - # For now, we just catch OSes we know something about -- in the - # future, we'll try test this programmatically. - lt_cv_sys_dlopen_deplibs=unknown - case $host_os in - aix3*|aix4.1.*|aix4.2.*) - # Unknown whether this is true for these versions of AIX, but - # we want this `case' here to explicitly catch those versions. - lt_cv_sys_dlopen_deplibs=unknown - ;; - aix[[4-9]]*) - lt_cv_sys_dlopen_deplibs=yes - ;; - amigaos*) - case $host_cpu in - powerpc) - lt_cv_sys_dlopen_deplibs=no - ;; - esac - ;; - darwin*) - # Assuming the user has installed a libdl from somewhere, this is true - # If you are looking for one http://www.opendarwin.org/projects/dlcompat - lt_cv_sys_dlopen_deplibs=yes - ;; - freebsd* | dragonfly*) - lt_cv_sys_dlopen_deplibs=yes - ;; - gnu* | linux* | k*bsd*-gnu) - # GNU and its variants, using gnu ld.so (Glibc) - lt_cv_sys_dlopen_deplibs=yes - ;; - hpux10*|hpux11*) - lt_cv_sys_dlopen_deplibs=yes - ;; - interix*) - lt_cv_sys_dlopen_deplibs=yes - ;; - irix[[12345]]*|irix6.[[01]]*) - # Catch all versions of IRIX before 6.2, and indicate that we don't - # know how it worked for any of those versions. - lt_cv_sys_dlopen_deplibs=unknown - ;; - irix*) - # The case above catches anything before 6.2, and it's known that - # at 6.2 and later dlopen does load deplibs. - lt_cv_sys_dlopen_deplibs=yes - ;; - netbsd*) - lt_cv_sys_dlopen_deplibs=yes - ;; - openbsd*) - lt_cv_sys_dlopen_deplibs=yes - ;; - osf[[1234]]*) - # dlopen did load deplibs (at least at 4.x), but until the 5.x series, - # it did *not* use an RPATH in a shared library to find objects the - # library depends on, so we explicitly say `no'. - lt_cv_sys_dlopen_deplibs=no - ;; - osf5.0|osf5.0a|osf5.1) - # dlopen *does* load deplibs and with the right loader patch applied - # it even uses RPATH in a shared library to search for shared objects - # that the library depends on, but there's no easy way to know if that - # patch is installed. Since this is the case, all we can really - # say is unknown -- it depends on the patch being installed. If - # it is, this changes to `yes'. Without it, it would be `no'. - lt_cv_sys_dlopen_deplibs=unknown - ;; - osf*) - # the two cases above should catch all versions of osf <= 5.1. Read - # the comments above for what we know about them. - # At > 5.1, deplibs are loaded *and* any RPATH in a shared library - # is used to find them so we can finally say `yes'. - lt_cv_sys_dlopen_deplibs=yes - ;; - qnx*) - lt_cv_sys_dlopen_deplibs=yes - ;; - solaris*) - lt_cv_sys_dlopen_deplibs=yes - ;; - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - libltdl_cv_sys_dlopen_deplibs=yes - ;; - esac - ]) -if test "$lt_cv_sys_dlopen_deplibs" != yes; then - AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1], - [Define if the OS needs help to load dependent libraries for dlopen().]) -fi -])# LT_SYS_DLOPEN_DEPLIBS - -# Old name: -AU_ALIAS([AC_LTDL_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], []) - - -# LT_SYS_MODULE_EXT -# ----------------- -AC_DEFUN([LT_SYS_MODULE_EXT], -[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl -AC_CACHE_CHECK([which extension is used for runtime loadable modules], - [libltdl_cv_shlibext], -[ -module=yes -eval libltdl_cv_shlibext=$shrext_cmds - ]) -if test -n "$libltdl_cv_shlibext"; then - m4_pattern_allow([LT_MODULE_EXT])dnl - AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"], - [Define to the extension used for runtime loadable modules, say, ".so".]) -fi -])# LT_SYS_MODULE_EXT - -# Old name: -AU_ALIAS([AC_LTDL_SHLIBEXT], [LT_SYS_MODULE_EXT]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LTDL_SHLIBEXT], []) - - -# LT_SYS_MODULE_PATH -# ------------------ -AC_DEFUN([LT_SYS_MODULE_PATH], -[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl -AC_CACHE_CHECK([which variable specifies run-time module search path], - [lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"]) -if test -n "$lt_cv_module_path_var"; then - m4_pattern_allow([LT_MODULE_PATH_VAR])dnl - AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"], - [Define to the name of the environment variable that determines the run-time module search path.]) -fi -])# LT_SYS_MODULE_PATH - -# Old name: -AU_ALIAS([AC_LTDL_SHLIBPATH], [LT_SYS_MODULE_PATH]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LTDL_SHLIBPATH], []) - - -# LT_SYS_DLSEARCH_PATH -# -------------------- -AC_DEFUN([LT_SYS_DLSEARCH_PATH], -[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl -AC_CACHE_CHECK([for the default library search path], - [lt_cv_sys_dlsearch_path], - [lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"]) -if test -n "$lt_cv_sys_dlsearch_path"; then - sys_dlsearch_path= - for dir in $lt_cv_sys_dlsearch_path; do - if test -z "$sys_dlsearch_path"; then - sys_dlsearch_path="$dir" - else - sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir" - fi - done - m4_pattern_allow([LT_DLSEARCH_PATH])dnl - AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"], - [Define to the system default library search path.]) -fi -])# LT_SYS_DLSEARCH_PATH - -# Old name: -AU_ALIAS([AC_LTDL_SYSSEARCHPATH], [LT_SYS_DLSEARCH_PATH]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LTDL_SYSSEARCHPATH], []) - - -# _LT_CHECK_DLPREOPEN -# ------------------- -m4_defun([_LT_CHECK_DLPREOPEN], -[m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl -AC_CACHE_CHECK([whether libtool supports -dlopen/-dlpreopen], - [libltdl_cv_preloaded_symbols], - [if test -n "$lt_cv_sys_global_symbol_pipe"; then - libltdl_cv_preloaded_symbols=yes - else - libltdl_cv_preloaded_symbols=no - fi - ]) -if test x"$libltdl_cv_preloaded_symbols" = xyes; then - AC_DEFINE([HAVE_PRELOADED_SYMBOLS], [1], - [Define if libtool can extract symbol lists from object files.]) -fi -])# _LT_CHECK_DLPREOPEN - - -# LT_LIB_DLLOAD -# ------------- -AC_DEFUN([LT_LIB_DLLOAD], -[m4_pattern_allow([^LT_DLLOADERS$]) -LT_DLLOADERS= -AC_SUBST([LT_DLLOADERS]) - -AC_LANG_PUSH([C]) - -LIBADD_DLOPEN= -AC_SEARCH_LIBS([dlopen], [dl], - [AC_DEFINE([HAVE_LIBDL], [1], - [Define if you have the libdl library or equivalent.]) - if test "$ac_cv_search_dlopen" != "none required" ; then - LIBADD_DLOPEN="-ldl" - fi - libltdl_cv_lib_dl_dlopen="yes" - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], - [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H -# include -#endif - ]], [[dlopen(0, 0);]])], - [AC_DEFINE([HAVE_LIBDL], [1], - [Define if you have the libdl library or equivalent.]) - libltdl_cv_func_dlopen="yes" - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], - [AC_CHECK_LIB([svld], [dlopen], - [AC_DEFINE([HAVE_LIBDL], [1], - [Define if you have the libdl library or equivalent.]) - LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes" - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])]) -if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes -then - lt_save_LIBS="$LIBS" - LIBS="$LIBS $LIBADD_DLOPEN" - AC_CHECK_FUNCS([dlerror]) - LIBS="$lt_save_LIBS" -fi -AC_SUBST([LIBADD_DLOPEN]) - -LIBADD_SHL_LOAD= -AC_CHECK_FUNC([shl_load], - [AC_DEFINE([HAVE_SHL_LOAD], [1], - [Define if you have the shl_load function.]) - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"], - [AC_CHECK_LIB([dld], [shl_load], - [AC_DEFINE([HAVE_SHL_LOAD], [1], - [Define if you have the shl_load function.]) - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" - LIBADD_SHL_LOAD="-ldld"])]) -AC_SUBST([LIBADD_SHL_LOAD]) - -case $host_os in -darwin[[1567]].*) -# We only want this for pre-Mac OS X 10.4. - AC_CHECK_FUNC([_dyld_func_lookup], - [AC_DEFINE([HAVE_DYLD], [1], - [Define if you have the _dyld_func_lookup function.]) - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"]) - ;; -beos*) - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la" - ;; -cygwin* | mingw* | os2* | pw32*) - AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include ]]) - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la" - ;; -esac - -AC_CHECK_LIB([dld], [dld_link], - [AC_DEFINE([HAVE_DLD], [1], - [Define if you have the GNU dld library.]) - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"]) -AC_SUBST([LIBADD_DLD_LINK]) - -m4_pattern_allow([^LT_DLPREOPEN$]) -LT_DLPREOPEN= -if test -n "$LT_DLLOADERS" -then - for lt_loader in $LT_DLLOADERS; do - LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader " - done - AC_DEFINE([HAVE_LIBDLLOADER], [1], - [Define if libdlloader will be built on this platform]) -fi -AC_SUBST([LT_DLPREOPEN]) - -dnl This isn't used anymore, but set it for backwards compatibility -LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD" -AC_SUBST([LIBADD_DL]) - -AC_LANG_POP -])# LT_LIB_DLLOAD - -# Old name: -AU_ALIAS([AC_LTDL_DLLIB], [LT_LIB_DLLOAD]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LTDL_DLLIB], []) - - -# LT_SYS_SYMBOL_USCORE -# -------------------- -# does the compiler prefix global symbols with an underscore? -AC_DEFUN([LT_SYS_SYMBOL_USCORE], -[m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl -AC_CACHE_CHECK([for _ prefix in compiled symbols], - [lt_cv_sys_symbol_underscore], - [lt_cv_sys_symbol_underscore=no - cat > conftest.$ac_ext <<_LT_EOF -void nm_test_func(){} -int main(){nm_test_func;return 0;} -_LT_EOF - if AC_TRY_EVAL(ac_compile); then - # Now try to grab the symbols. - ac_nlist=conftest.nm - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then - # See whether the symbols have a leading underscore. - if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then - lt_cv_sys_symbol_underscore=yes - else - if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then - : - else - echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD - fi - fi - else - echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD - fi - else - echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD - cat conftest.c >&AS_MESSAGE_LOG_FD - fi - rm -rf conftest* - ]) - sys_symbol_underscore=$lt_cv_sys_symbol_underscore - AC_SUBST([sys_symbol_underscore]) -])# LT_SYS_SYMBOL_USCORE - -# Old name: -AU_ALIAS([AC_LTDL_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LTDL_SYMBOL_USCORE], []) - - -# LT_FUNC_DLSYM_USCORE -# -------------------- -AC_DEFUN([LT_FUNC_DLSYM_USCORE], -[AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl -if test x"$lt_cv_sys_symbol_underscore" = xyes; then - if test x"$libltdl_cv_func_dlopen" = xyes || - test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then - AC_CACHE_CHECK([whether we have to add an underscore for dlsym], - [libltdl_cv_need_uscore], - [libltdl_cv_need_uscore=unknown - save_LIBS="$LIBS" - LIBS="$LIBS $LIBADD_DLOPEN" - _LT_TRY_DLOPEN_SELF( - [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes], - [], [libltdl_cv_need_uscore=cross]) - LIBS="$save_LIBS" - ]) - fi -fi - -if test x"$libltdl_cv_need_uscore" = xyes; then - AC_DEFINE([NEED_USCORE], [1], - [Define if dlsym() requires a leading underscore in symbol names.]) -fi -])# LT_FUNC_DLSYM_USCORE - -# Old name: -AU_ALIAS([AC_LTDL_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LTDL_DLSYM_USCORE], []) - -# Portability macros for glibc argz. -*- Autoconf -*- -# -# Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation, Inc. -# Written by Gary V. Vaughan -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# serial 5 argz.m4 - -AC_DEFUN([gl_FUNC_ARGZ], -[gl_PREREQ_ARGZ - -AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT]) - -AC_CHECK_TYPES([error_t], - [], - [AC_DEFINE([error_t], [int], - [Define to a type to use for `error_t' if it is not otherwise available.]) - AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h - does not typedef error_t.])], - [#if defined(HAVE_ARGZ_H) -# include -#endif]) - -ARGZ_H= -AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \ - argz_next argz_stringify], [], [ARGZ_H=argz.h; AC_LIBOBJ([argz])]) - -dnl if have system argz functions, allow forced use of -dnl libltdl-supplied implementation (and default to do so -dnl on "known bad" systems). Could use a runtime check, but -dnl (a) detecting malloc issues is notoriously unreliable -dnl (b) only known system that declares argz functions, -dnl provides them, yet they are broken, is cygwin -dnl releases prior to 16-Mar-2007 (1.5.24 and earlier) -dnl So, it's more straightforward simply to special case -dnl this for known bad systems. -AS_IF([test -z "$ARGZ_H"], - [AC_CACHE_CHECK( - [if argz actually works], - [lt_cv_sys_argz_works], - [[case $host_os in #( - *cygwin*) - lt_cv_sys_argz_works=no - if test "$cross_compiling" != no; then - lt_cv_sys_argz_works="guessing no" - else - lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/' - save_IFS=$IFS - IFS=-. - set x `uname -r | sed -e "$lt_sed_extract_leading_digits"` - IFS=$save_IFS - lt_os_major=${2-0} - lt_os_minor=${3-0} - lt_os_micro=${4-0} - if test "$lt_os_major" -gt 1 \ - || { test "$lt_os_major" -eq 1 \ - && { test "$lt_os_minor" -gt 5 \ - || { test "$lt_os_minor" -eq 5 \ - && test "$lt_os_micro" -gt 24; }; }; }; then - lt_cv_sys_argz_works=yes - fi - fi - ;; #( - *) lt_cv_sys_argz_works=yes ;; - esac]]) - AS_IF([test $lt_cv_sys_argz_works = yes], - [AC_DEFINE([HAVE_WORKING_ARGZ], 1, - [This value is set to 1 to indicate that the system argz facility works])], - [ARGZ_H=argz.h - AC_LIBOBJ([argz])])]) - -AC_SUBST([ARGZ_H]) -]) - -# Prerequisites of lib/argz.c. -AC_DEFUN([gl_PREREQ_ARGZ], [:]) - -# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- -# -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. -# Written by Gary V. Vaughan, 2004 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# serial 6 ltsugar.m4 - -# This is to help aclocal find these macros, as it can't see m4_define. -AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) - - -# lt_join(SEP, ARG1, [ARG2...]) -# ----------------------------- -# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their -# associated separator. -# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier -# versions in m4sugar had bugs. -m4_define([lt_join], -[m4_if([$#], [1], [], - [$#], [2], [[$2]], - [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) -m4_define([_lt_join], -[m4_if([$#$2], [2], [], - [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) - - -# lt_car(LIST) -# lt_cdr(LIST) -# ------------ -# Manipulate m4 lists. -# These macros are necessary as long as will still need to support -# Autoconf-2.59 which quotes differently. -m4_define([lt_car], [[$1]]) -m4_define([lt_cdr], -[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], - [$#], 1, [], - [m4_dquote(m4_shift($@))])]) -m4_define([lt_unquote], $1) - - -# lt_append(MACRO-NAME, STRING, [SEPARATOR]) -# ------------------------------------------ -# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'. -# Note that neither SEPARATOR nor STRING are expanded; they are appended -# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). -# No SEPARATOR is output if MACRO-NAME was previously undefined (different -# than defined and empty). -# -# This macro is needed until we can rely on Autoconf 2.62, since earlier -# versions of m4sugar mistakenly expanded SEPARATOR but not STRING. -m4_define([lt_append], -[m4_define([$1], - m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) - - - -# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) -# ---------------------------------------------------------- -# Produce a SEP delimited list of all paired combinations of elements of -# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list -# has the form PREFIXmINFIXSUFFIXn. -# Needed until we can rely on m4_combine added in Autoconf 2.62. -m4_define([lt_combine], -[m4_if(m4_eval([$# > 3]), [1], - [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl -[[m4_foreach([_Lt_prefix], [$2], - [m4_foreach([_Lt_suffix], - ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, - [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) - - -# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) -# ----------------------------------------------------------------------- -# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited -# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. -m4_define([lt_if_append_uniq], -[m4_ifdef([$1], - [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], - [lt_append([$1], [$2], [$3])$4], - [$5])], - [lt_append([$1], [$2], [$3])$4])]) - - -# lt_dict_add(DICT, KEY, VALUE) -# ----------------------------- -m4_define([lt_dict_add], -[m4_define([$1($2)], [$3])]) - - -# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) -# -------------------------------------------- -m4_define([lt_dict_add_subkey], -[m4_define([$1($2:$3)], [$4])]) - - -# lt_dict_fetch(DICT, KEY, [SUBKEY]) -# ---------------------------------- -m4_define([lt_dict_fetch], -[m4_ifval([$3], - m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), - m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) - - -# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) -# ----------------------------------------------------------------- -m4_define([lt_if_dict_fetch], -[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], - [$5], - [$6])]) - - -# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) -# -------------------------------------------------------------- -m4_define([lt_dict_filter], -[m4_if([$5], [], [], - [lt_join(m4_quote(m4_default([$4], [[, ]])), - lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), - [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl -]) - -# ltversion.m4 -- version numbers -*- Autoconf -*- -# -# Copyright (C) 2004 Free Software Foundation, Inc. -# Written by Scott James Remnant, 2004 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# Generated from ltversion.in. - -# serial 3012 ltversion.m4 -# This file is part of GNU Libtool - -m4_define([LT_PACKAGE_VERSION], [2.2.6]) -m4_define([LT_PACKAGE_REVISION], [1.3012]) - -AC_DEFUN([LTVERSION_VERSION], -[macro_version='2.2.6' -macro_revision='1.3012' -_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) -_LT_DECL(, macro_revision, 0) -]) - -# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- -# -# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. -# Written by Scott James Remnant, 2004. -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# serial 4 lt~obsolete.m4 - -# These exist entirely to fool aclocal when bootstrapping libtool. -# -# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN) -# which have later been changed to m4_define as they aren't part of the -# exported API, or moved to Autoconf or Automake where they belong. -# -# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN -# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us -# using a macro with the same name in our local m4/libtool.m4 it'll -# pull the old libtool.m4 in (it doesn't see our shiny new m4_define -# and doesn't know about Autoconf macros at all.) -# -# So we provide this file, which has a silly filename so it's always -# included after everything else. This provides aclocal with the -# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything -# because those macros already exist, or will be overwritten later. -# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. -# -# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. -# Yes, that means every name once taken will need to remain here until -# we give up compatibility with versions before 1.7, at which point -# we need to keep only those names which we still refer to. - -# This is to help aclocal find these macros, as it can't see m4_define. -AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) - -m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) -m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) -m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) -m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) -m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) -m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) -m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) -m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) -m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) -m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) -m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) -m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) -m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) -m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) -m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) -m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) -m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) -m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) -m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) -m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) -m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) -m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) -m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) -m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) -m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) -m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) -m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) -m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) -m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) -m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) -m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) -m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) -m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) -m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) -m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) -m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) -m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) -m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) -m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) -m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) -m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) -m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])]) -m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) -m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) -m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) -m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) -m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) -m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) -m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) -m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) -m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) -m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) -m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) -m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) - -# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- -# -# Copyright © 2004 Scott James Remnant . -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# PKG_PROG_PKG_CONFIG([MIN-VERSION]) -# ---------------------------------- -AC_DEFUN([PKG_PROG_PKG_CONFIG], -[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) -m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) -AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=m4_default([$1], [0.9.0]) - AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - PKG_CONFIG="" - fi - -fi[]dnl -])# PKG_PROG_PKG_CONFIG - -# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -# -# Check to see whether a particular set of modules exists. Similar -# to PKG_CHECK_MODULES(), but does not set variables or print errors. -# -# -# Similar to PKG_CHECK_MODULES, make sure that the first instance of -# this or PKG_CHECK_MODULES is called, or make sure to call -# PKG_CHECK_EXISTS manually -# -------------------------------------------------------------- -AC_DEFUN([PKG_CHECK_EXISTS], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -if test -n "$PKG_CONFIG" && \ - AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then - m4_ifval([$2], [$2], [:]) -m4_ifvaln([$3], [else - $3])dnl -fi]) - - -# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) -# --------------------------------------------- -m4_define([_PKG_CONFIG], -[if test -n "$PKG_CONFIG"; then - if test -n "$$1"; then - pkg_cv_[]$1="$$1" - else - PKG_CHECK_EXISTS([$3], - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], - [pkg_failed=yes]) - fi -else - pkg_failed=untried -fi[]dnl -])# _PKG_CONFIG - -# _PKG_SHORT_ERRORS_SUPPORTED -# ----------------------------- -AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi[]dnl -])# _PKG_SHORT_ERRORS_SUPPORTED - - -# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], -# [ACTION-IF-NOT-FOUND]) -# -# -# Note that if there is a possibility the first call to -# PKG_CHECK_MODULES might not happen, you should be sure to include an -# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac -# -# -# -------------------------------------------------------------- -AC_DEFUN([PKG_CHECK_MODULES], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl -AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl - -pkg_failed=no -AC_MSG_CHECKING([for $1]) - -_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) -_PKG_CONFIG([$1][_LIBS], [libs], [$2]) - -m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS -and $1[]_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details.]) - -if test $pkg_failed = yes; then - _PKG_SHORT_ERRORS_SUPPORTED - if test $_pkg_short_errors_supported = yes; then - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` - else - $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` - fi - # Put the nasty error message in config.log where it belongs - echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD - - ifelse([$4], , [AC_MSG_ERROR(dnl -[Package requirements ($2) were not met: - -$$1_PKG_ERRORS - -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -_PKG_TEXT -])], - [AC_MSG_RESULT([no]) - $4]) -elif test $pkg_failed = untried; then - ifelse([$4], , [AC_MSG_FAILURE(dnl -[The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. - -_PKG_TEXT - -To get pkg-config, see .])], - [$4]) -else - $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS - $1[]_LIBS=$pkg_cv_[]$1[]_LIBS - AC_MSG_RESULT([yes]) - ifelse([$3], , :, [$3]) -fi[]dnl -])# PKG_CHECK_MODULES - -# Configure paths for libogg -# Jack Moffitt 10-21-2000 -# Shamelessly stolen from Owen Taylor and Manish Singh - -dnl XIPH_PATH_OGG([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) -dnl Test for libogg, and define OGG_CFLAGS and OGG_LIBS -dnl -AC_DEFUN([XIPH_PATH_OGG], -[dnl -dnl Get the cflags and libraries -dnl -AC_ARG_WITH(ogg,AC_HELP_STRING([--with-ogg=PFX],[Prefix where libogg is installed (optional)]), ogg_prefix="$withval", ogg_prefix="") -AC_ARG_WITH(ogg-libraries,AC_HELP_STRING([--with-ogg-libraries=DIR],[Directory where libogg library is installed (optional)]), ogg_libraries="$withval", ogg_libraries="") -AC_ARG_WITH(ogg-includes,AC_HELP_STRING([--with-ogg-includes=DIR],[Directory where libogg header files are installed (optional)]), ogg_includes="$withval", ogg_includes="") -AC_ARG_ENABLE(oggtest,AC_HELP_STRING([--disable-oggtest],[Do not try to compile and run a test Ogg program]),, enable_oggtest=yes) - - if test "x$ogg_libraries" != "x" ; then - OGG_LIBS="-L$ogg_libraries" - elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then - OGG_LIBS="" - elif test "x$ogg_prefix" != "x" ; then - OGG_LIBS="-L$ogg_prefix/lib" - elif test "x$prefix" != "xNONE" ; then - OGG_LIBS="-L$libdir" - fi - - if test "x$ogg_prefix" != "xno" ; then - OGG_LIBS="$OGG_LIBS -logg" - fi - - if test "x$ogg_includes" != "x" ; then - OGG_CFLAGS="-I$ogg_includes" - elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then - OGG_CFLAGS="" - elif test "x$ogg_prefix" != "x" ; then - OGG_CFLAGS="-I$ogg_prefix/include" - elif test "x$prefix" != "xNONE"; then - OGG_CFLAGS="" - fi - - AC_MSG_CHECKING(for Ogg) - if test "x$ogg_prefix" = "xno" ; then - no_ogg="disabled" - enable_oggtest="no" - else - no_ogg="" - fi - - - if test "x$enable_oggtest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $OGG_CFLAGS" - LIBS="$LIBS $OGG_LIBS" -dnl -dnl Now check if the installed Ogg is sufficiently new. -dnl - rm -f conf.oggtest - AC_TRY_RUN([ -#include -#include -#include -#include - -int main () -{ - system("touch conf.oggtest"); - return 0; -} - -],, no_ogg=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - - if test "x$no_ogg" = "xdisabled" ; then - AC_MSG_RESULT(no) - ifelse([$2], , :, [$2]) - elif test "x$no_ogg" = "x" ; then - AC_MSG_RESULT(yes) - ifelse([$1], , :, [$1]) - else - AC_MSG_RESULT(no) - if test -f conf.oggtest ; then - : - else - echo "*** Could not run Ogg test program, checking why..." - CFLAGS="$CFLAGS $OGG_CFLAGS" - LIBS="$LIBS $OGG_LIBS" - AC_TRY_LINK([ -#include -#include -], [ return 0; ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding Ogg or finding the wrong" - echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means Ogg was incorrectly installed" - echo "*** or that you have moved Ogg since it was installed." ]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - OGG_CFLAGS="" - OGG_LIBS="" - ifelse([$2], , :, [$2]) - fi - AC_SUBST(OGG_CFLAGS) - AC_SUBST(OGG_LIBS) - rm -f conf.oggtest -]) - -# Configure paths for libvorbis -# Jack Moffitt 10-21-2000 -# Shamelessly stolen from Owen Taylor and Manish Singh -# thomasvs added check for vorbis_bitrate_addblock which is new in rc3 - -dnl XIPH_PATH_VORBIS([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) -dnl Test for libvorbis, and define VORBIS_CFLAGS and VORBIS_LIBS -dnl -AC_DEFUN([XIPH_PATH_VORBIS], -[dnl -dnl Get the cflags and libraries -dnl -AC_ARG_WITH(vorbis,[ --with-vorbis=PFX Prefix where libvorbis is installed (optional)], vorbis_prefix="$withval", vorbis_prefix="") -AC_ARG_WITH(vorbis-libraries,[ --with-vorbis-libraries=DIR Directory where libvorbis library is installed (optional)], vorbis_libraries="$withval", vorbis_libraries="") -AC_ARG_WITH(vorbis-includes,[ --with-vorbis-includes=DIR Directory where libvorbis header files are installed (optional)], vorbis_includes="$withval", vorbis_includes="") -AC_ARG_ENABLE(vorbistest, [ --disable-vorbistest Do not try to compile and run a test Vorbis program],, enable_vorbistest=yes) - - if test "x$vorbis_libraries" != "x" ; then - VORBIS_LIBS="-L$vorbis_libraries" - elif test "x$vorbis_prefix" != "x" ; then - VORBIS_LIBS="-L$vorbis_prefix/lib" - elif test "x$prefix" != "xNONE"; then - VORBIS_LIBS="-L$libdir" - fi - - VORBIS_LIBS="$VORBIS_LIBS -lvorbis -lm" - VORBISFILE_LIBS="-lvorbisfile" - VORBISENC_LIBS="-lvorbisenc" - - if test "x$vorbis_includes" != "x" ; then - VORBIS_CFLAGS="-I$vorbis_includes" - elif test "x$vorbis_prefix" != "x" ; then - VORBIS_CFLAGS="-I$vorbis_prefix/include" - elif test "x$prefix" != "xNONE"; then - VORBIS_CFLAGS="" - fi - - - AC_MSG_CHECKING(for Vorbis) - no_vorbis="" - - - if test "x$enable_vorbistest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $VORBIS_CFLAGS $OGG_CFLAGS" - LIBS="$LIBS $VORBIS_LIBS $VORBISENC_LIBS $OGG_LIBS" -dnl -dnl Now check if the installed Vorbis is sufficiently new. -dnl - rm -f conf.vorbistest - AC_TRY_RUN([ -#include -#include -#include -#include -#include - -int main () -{ - vorbis_block vb; - vorbis_dsp_state vd; - vorbis_info vi; - - vorbis_info_init (&vi); - vorbis_encode_init (&vi, 2, 44100, -1, 128000, -1); - vorbis_analysis_init (&vd, &vi); - vorbis_block_init (&vd, &vb); - /* this function was added in 1.0rc3, so this is what we're testing for */ - vorbis_bitrate_addblock (&vb); - - system("touch conf.vorbistest"); - return 0; -} - -],, no_vorbis=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - - if test "x$no_vorbis" = "x" ; then - AC_MSG_RESULT(yes) - ifelse([$1], , :, [$1]) - else - AC_MSG_RESULT(no) - if test -f conf.vorbistest ; then - : - else - echo "*** Could not run Vorbis test program, checking why..." - CFLAGS="$CFLAGS $VORBIS_CFLAGS" - LIBS="$LIBS $VORBIS_LIBS $OGG_LIBS" - AC_TRY_LINK([ -#include -#include -], [ return 0; ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding Vorbis or finding the wrong" - echo "*** version of Vorbis. If it is not finding Vorbis, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means Vorbis was incorrectly installed" - echo "*** or that you have moved Vorbis since it was installed." ]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - VORBIS_CFLAGS="" - VORBIS_LIBS="" - VORBISFILE_LIBS="" - VORBISENC_LIBS="" - ifelse([$2], , :, [$2]) - fi - AC_SUBST(VORBIS_CFLAGS) - AC_SUBST(VORBIS_LIBS) - AC_SUBST(VORBISFILE_LIBS) - AC_SUBST(VORBISENC_LIBS) - rm -f conf.vorbistest -]) - -# Configure paths for SDL -# Sam Lantinga 9/21/99 -# stolen from Manish Singh -# stolen back from Frank Belew -# stolen from Manish Singh -# Shamelessly stolen from Owen Taylor - -dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) -dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS -dnl -AC_DEFUN([AM_PATH_SDL], -[dnl -dnl Get the cflags and libraries from the sdl-config script -dnl -AC_ARG_WITH(sdl-prefix,[ --with-sdl-prefix=PFX Prefix where SDL is installed (optional)], - sdl_prefix="$withval", sdl_prefix="") -AC_ARG_WITH(sdl-exec-prefix,[ --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)], - sdl_exec_prefix="$withval", sdl_exec_prefix="") -AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run a test SDL program], - , enable_sdltest=yes) - - if test x$sdl_exec_prefix != x ; then - sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix" - if test x${SDL_CONFIG+set} != xset ; then - SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config - fi - fi - if test x$sdl_prefix != x ; then - sdl_args="$sdl_args --prefix=$sdl_prefix" - if test x${SDL_CONFIG+set} != xset ; then - SDL_CONFIG=$sdl_prefix/bin/sdl-config - fi - fi - - AC_REQUIRE([AC_CANONICAL_TARGET]) - PATH="$prefix/bin:$prefix/usr/bin:$PATH" - AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH]) - min_sdl_version=ifelse([$1], ,0.11.0,$1) - AC_MSG_CHECKING(for SDL - version >= $min_sdl_version) - no_sdl="" - if test "$SDL_CONFIG" = "no" ; then - no_sdl=yes - else - SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags` - SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs` - - sdl_major_version=`$SDL_CONFIG $sdl_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` - if test "x$enable_sdltest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_CXXFLAGS="$CXXFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $SDL_CFLAGS" - CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" - LIBS="$LIBS $SDL_LIBS" -dnl -dnl Now check if the installed SDL is sufficiently new. (Also sanity -dnl checks the results of sdl-config to some extent -dnl - rm -f conf.sdltest - AC_TRY_RUN([ -#include -#include -#include -#include "SDL.h" - -char* -my_strdup (char *str) -{ - char *new_str; - - if (str) - { - new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); - strcpy (new_str, str); - } - else - new_str = NULL; - - return new_str; -} - -int main (int argc, char *argv[]) -{ - int major, minor, micro; - char *tmp_version; - - /* This hangs on some systems (?) - system ("touch conf.sdltest"); - */ - { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); } - - /* HP/UX 9 (%@#!) writes to sscanf strings */ - tmp_version = my_strdup("$min_sdl_version"); - if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { - printf("%s, bad version string\n", "$min_sdl_version"); - exit(1); - } - - if (($sdl_major_version > major) || - (($sdl_major_version == major) && ($sdl_minor_version > minor)) || - (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro))) - { - return 0; - } - else - { - printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version); - printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro); - printf("*** best to upgrade to the required version.\n"); - printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n"); - printf("*** to point to the correct copy of sdl-config, and remove the file\n"); - printf("*** config.cache before re-running configure\n"); - return 1; - } -} - -],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - CXXFLAGS="$ac_save_CXXFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - if test "x$no_sdl" = x ; then - AC_MSG_RESULT(yes) - ifelse([$2], , :, [$2]) - else - AC_MSG_RESULT(no) - if test "$SDL_CONFIG" = "no" ; then - echo "*** The sdl-config script installed by SDL could not be found" - echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in" - echo "*** your path, or set the SDL_CONFIG environment variable to the" - echo "*** full path to sdl-config." - else - if test -f conf.sdltest ; then - : - else - echo "*** Could not run SDL test program, checking why..." - CFLAGS="$CFLAGS $SDL_CFLAGS" - CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" - LIBS="$LIBS $SDL_LIBS" - AC_TRY_LINK([ -#include -#include "SDL.h" - -int main(int argc, char *argv[]) -{ return 0; } -#undef main -#define main K_and_R_C_main -], [ return 0; ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding SDL or finding the wrong" - echo "*** version of SDL. If it is not finding SDL, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means SDL was incorrectly installed" - echo "*** or that you have moved SDL since it was installed. In the latter case, you" - echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ]) - CFLAGS="$ac_save_CFLAGS" - CXXFLAGS="$ac_save_CXXFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - SDL_CFLAGS="" - SDL_LIBS="" - ifelse([$3], , :, [$3]) - fi - AC_SUBST(SDL_CFLAGS) - AC_SUBST(SDL_LIBS) - rm -f conf.sdltest -]) - -dnl as-ac-expand.m4 0.2.0 -dnl autostars m4 macro for expanding directories using configure's prefix -dnl thomas@apestaart.org - -dnl AS_AC_EXPAND(VAR, CONFIGURE_VAR) -dnl example -dnl AS_AC_EXPAND(SYSCONFDIR, $sysconfdir) -dnl will set SYSCONFDIR to /usr/local/etc if prefix=/usr/local - -AC_DEFUN([AS_AC_EXPAND], -[ - EXP_VAR=[$1] - FROM_VAR=[$2] - - dnl first expand prefix and exec_prefix if necessary - prefix_save=$prefix - exec_prefix_save=$exec_prefix - - dnl if no prefix given, then use /usr/local, the default prefix - if test "x$prefix" = "xNONE"; then - prefix="$ac_default_prefix" - fi - dnl if no exec_prefix given, then use prefix - if test "x$exec_prefix" = "xNONE"; then - exec_prefix=$prefix - fi - - full_var="$FROM_VAR" - dnl loop until it doesn't change anymore - while true; do - new_full_var="`eval echo $full_var`" - if test "x$new_full_var" = "x$full_var"; then break; fi - full_var=$new_full_var - done - - dnl clean up - full_var=$new_full_var - AC_SUBST([$1], "$full_var") - - dnl restore prefix and exec_prefix - prefix=$prefix_save - exec_prefix=$exec_prefix_save -]) - diff --git a/Libraries/libtheora-1.1.1/autogen.sh b/Libraries/libtheora-1.1.1/autogen.sh deleted file mode 100644 index bbca69dc..00000000 --- a/Libraries/libtheora-1.1.1/autogen.sh +++ /dev/null @@ -1,129 +0,0 @@ -#!/bin/sh -# Run this to set up the build system: configure, makefiles, etc. -# (based on the version in enlightenment's cvs) - -package="theora" - -ACLOCAL_FLAGS="-I m4" - -olddir=`pwd` -srcdir=`dirname $0` -test -z "$srcdir" && srcdir=. - -cd "$srcdir" -DIE=0 - -echo "checking for autoconf... " -(autoconf --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "You must have autoconf installed to compile $package." - echo "Download the appropriate package for your distribution," - echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" - DIE=1 -} - -VERSIONGREP="sed -e s/.*[^0-9\.]\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/" -VERSIONMKMAJ="sed -e s/\([0-9][0-9]*\)[^0-9].*/\\1/" -VERSIONMKMIN="sed -e s/.*[0-9][0-9]*\.//" - -# do we need automake? -if test -r Makefile.am; then - AM_OPTIONS=`fgrep AUTOMAKE_OPTIONS Makefile.am` - AM_NEEDED=`echo $AM_OPTIONS | $VERSIONGREP` - if test x"$AM_NEEDED" = "x$AM_OPTIONS"; then - AM_NEEDED="" - fi - if test -z $AM_NEEDED; then - echo -n "checking for automake... " - AUTOMAKE=automake - ACLOCAL=aclocal - if ($AUTOMAKE --version < /dev/null > /dev/null 2>&1); then - echo "yes" - else - echo "no" - AUTOMAKE= - fi - else - echo -n "checking for automake $AM_NEEDED or later... " - majneeded=`echo $AM_NEEDED | $VERSIONMKMAJ` - minneeded=`echo $AM_NEEDED | $VERSIONMKMIN` - for am in automake-$AM_NEEDED automake$AM_NEEDED \ - automake automake-1.7 automake-1.8 automake-1.9 automake-1.10; do - ($am --version < /dev/null > /dev/null 2>&1) || continue - ver=`$am --version < /dev/null | head -n 1 | $VERSIONGREP` - maj=`echo $ver | $VERSIONMKMAJ` - min=`echo $ver | $VERSIONMKMIN` - if test $maj -eq $majneeded -a $min -ge $minneeded; then - AUTOMAKE=$am - echo $AUTOMAKE - break - fi - done - test -z $AUTOMAKE && echo "no" - echo -n "checking for aclocal $AM_NEEDED or later... " - for ac in aclocal-$AM_NEEDED aclocal$AM_NEEDED \ - aclocal aclocal-1.7 aclocal-1.8 aclocal-1.9 aclocal-1.10; do - ($ac --version < /dev/null > /dev/null 2>&1) || continue - ver=`$ac --version < /dev/null | head -n 1 | $VERSIONGREP` - maj=`echo $ver | $VERSIONMKMAJ` - min=`echo $ver | $VERSIONMKMIN` - if test $maj -eq $majneeded -a $min -ge $minneeded; then - ACLOCAL=$ac - echo $ACLOCAL - break - fi - done - test -z $ACLOCAL && echo "no" - fi - test -z $AUTOMAKE || test -z $ACLOCAL && { - echo - echo "You must have automake installed to compile $package." - echo "Download the appropriate package for your distribution," - echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" - exit 1 - } -fi - -echo -n "checking for libtool... " -for LIBTOOLIZE in libtoolize glibtoolize nope; do - ($LIBTOOLIZE --version) < /dev/null > /dev/null 2>&1 && break -done -if test x$LIBTOOLIZE = xnope; then - echo "nope." - LIBTOOLIZE=libtoolize -else - echo $LIBTOOLIZE -fi -($LIBTOOLIZE --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "You must have libtool installed to compile $package." - echo "Download the appropriate package for your system," - echo "or get the source from one of the GNU ftp sites" - echo "listed in http://www.gnu.org/order/ftp.html" - DIE=1 -} - -if test "$DIE" -eq 1; then - exit 1 -fi - -if test -z "$*"; then - echo "I am going to run ./configure with no arguments - if you wish " - echo "to pass any to it, please specify them on the $0 command line." -fi - -echo "Generating configuration files for $package, please wait...." - -echo " $ACLOCAL $ACLOCAL_FLAGS" -$ACLOCAL $ACLOCAL_FLAGS || exit 1 -echo " $LIBTOOLIZE --automake --force" -$LIBTOOLIZE --automake --force || exit 1 -echo " autoheader" -autoheader || exit 1 -echo " $AUTOMAKE --add-missing $AUTOMAKE_FLAGS" -$AUTOMAKE --add-missing $AUTOMAKE_FLAGS || exit 1 -echo " autoconf" -autoconf || exit 1 - -cd $olddir -$srcdir/configure --enable-maintainer-mode "$@" && echo diff --git a/Libraries/libtheora-1.1.1/compile b/Libraries/libtheora-1.1.1/compile deleted file mode 100644 index 9bb997a6..00000000 --- a/Libraries/libtheora-1.1.1/compile +++ /dev/null @@ -1,99 +0,0 @@ -#! /bin/sh - -# Wrapper for compilers which do not understand `-c -o'. - -# Copyright 1999, 2000 Free Software Foundation, Inc. -# Written by Tom Tromey . -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Usage: -# compile PROGRAM [ARGS]... -# `-o FOO.o' is removed from the args passed to the actual compile. - -prog=$1 -shift - -ofile= -cfile= -args= -while test $# -gt 0; do - case "$1" in - -o) - # configure might choose to run compile as `compile cc -o foo foo.c'. - # So we do something ugly here. - ofile=$2 - shift - case "$ofile" in - *.o | *.obj) - ;; - *) - args="$args -o $ofile" - ofile= - ;; - esac - ;; - *.c) - cfile=$1 - args="$args $1" - ;; - *) - args="$args $1" - ;; - esac - shift -done - -if test -z "$ofile" || test -z "$cfile"; then - # If no `-o' option was seen then we might have been invoked from a - # pattern rule where we don't need one. That is ok -- this is a - # normal compilation that the losing compiler can handle. If no - # `.c' file was seen then we are probably linking. That is also - # ok. - exec "$prog" $args -fi - -# Name of file we expect compiler to create. -cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'` - -# Create the lock directory. -# Note: use `[/.-]' here to ensure that we don't use the same name -# that we are using for the .o file. Also, base the name on the expected -# object file name, since that is what matters with a parallel build. -lockdir=`echo $cofile | sed -e 's|[/.-]|_|g'`.d -while true; do - if mkdir $lockdir > /dev/null 2>&1; then - break - fi - sleep 1 -done -# FIXME: race condition here if user kills between mkdir and trap. -trap "rmdir $lockdir; exit 1" 1 2 15 - -# Run the compile. -"$prog" $args -status=$? - -if test -f "$cofile"; then - mv "$cofile" "$ofile" -fi - -rmdir $lockdir -exit $status diff --git a/Libraries/libtheora-1.1.1/config.guess b/Libraries/libtheora-1.1.1/config.guess deleted file mode 100644 index fd30ab03..00000000 --- a/Libraries/libtheora-1.1.1/config.guess +++ /dev/null @@ -1,1354 +0,0 @@ -#! /bin/sh -# Attempt to guess a canonical system name. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002 Free Software Foundation, Inc. - -timestamp='2002-07-23' - -# This file is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Originally written by Per Bothner . -# Please send patches to . Submit a context -# diff and a properly formatted ChangeLog entry. -# -# This script attempts to guess a canonical system name similar to -# config.sub. If it succeeds, it prints the system name on stdout, and -# exits with 0. Otherwise, it exits with 1. -# -# The plan is that this can be called by configure scripts if you -# don't specify an explicit build system type. - -me=`echo "$0" | sed -e 's,.*/,,'` - -usage="\ -Usage: $0 [OPTION] - -Output the configuration name of the system \`$me' is run on. - -Operation modes: - -h, --help print this help, then exit - -t, --time-stamp print date of last modification, then exit - -v, --version print version number, then exit - -Report bugs and patches to ." - -version="\ -GNU config.guess ($timestamp) - -Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -Free Software Foundation, Inc. - -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." - -help=" -Try \`$me --help' for more information." - -# Parse command line -while test $# -gt 0 ; do - case $1 in - --time-stamp | --time* | -t ) - echo "$timestamp" ; exit 0 ;; - --version | -v ) - echo "$version" ; exit 0 ;; - --help | --h* | -h ) - echo "$usage"; exit 0 ;; - -- ) # Stop option processing - shift; break ;; - - ) # Use stdin as input. - break ;; - -* ) - echo "$me: invalid option $1$help" >&2 - exit 1 ;; - * ) - break ;; - esac -done - -if test $# != 0; then - echo "$me: too many arguments$help" >&2 - exit 1 -fi - -trap 'exit 1' 1 2 15 - -# CC_FOR_BUILD -- compiler used by this script. Note that the use of a -# compiler to aid in system detection is discouraged as it requires -# temporary files to be created and, as you can see below, it is a -# headache to deal with in a portable fashion. - -# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still -# use `HOST_CC' if defined, but it is deprecated. - -# This shell variable is my proudest work .. or something. --bje - -set_cc_for_build='tmpdir=${TMPDIR-/tmp}/config-guess-$$ ; -(old=`umask` && umask 077 && mkdir $tmpdir && umask $old && unset old) - || (echo "$me: cannot create $tmpdir" >&2 && exit 1) ; -dummy=$tmpdir/dummy ; -files="$dummy.c $dummy.o $dummy.rel $dummy" ; -trap '"'"'rm -f $files; rmdir $tmpdir; exit 1'"'"' 1 2 15 ; -case $CC_FOR_BUILD,$HOST_CC,$CC in - ,,) echo "int x;" > $dummy.c ; - for c in cc gcc c89 c99 ; do - if ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ; then - CC_FOR_BUILD="$c"; break ; - fi ; - done ; - rm -f $files ; - if test x"$CC_FOR_BUILD" = x ; then - CC_FOR_BUILD=no_compiler_found ; - fi - ;; - ,,*) CC_FOR_BUILD=$CC ;; - ,*,*) CC_FOR_BUILD=$HOST_CC ;; -esac ; -unset files' - -# This is needed to find uname on a Pyramid OSx when run in the BSD universe. -# (ghazi@noc.rutgers.edu 1994-08-24) -if (test -f /.attbin/uname) >/dev/null 2>&1 ; then - PATH=$PATH:/.attbin ; export PATH -fi - -UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown -UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown -UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown - -# Note: order is significant - the case branches are not exclusive. - -case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in - *:NetBSD:*:*) - # NetBSD (nbsd) targets should (where applicable) match one or - # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, - # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently - # switched to ELF, *-*-netbsd* would select the old - # object file format. This provides both forward - # compatibility and a consistent mechanism for selecting the - # object file format. - # - # Note: NetBSD doesn't particularly care about the vendor - # portion of the name. We always set it to "unknown". - sysctl="sysctl -n hw.machine_arch" - UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ - /usr/sbin/$sysctl 2>/dev/null || echo unknown)` - case "${UNAME_MACHINE_ARCH}" in - armeb) machine=armeb-unknown ;; - arm*) machine=arm-unknown ;; - sh3el) machine=shl-unknown ;; - sh3eb) machine=sh-unknown ;; - *) machine=${UNAME_MACHINE_ARCH}-unknown ;; - esac - # The Operating System including object format, if it has switched - # to ELF recently, or will in the future. - case "${UNAME_MACHINE_ARCH}" in - arm*|i386|m68k|ns32k|sh3*|sparc|vax) - eval $set_cc_for_build - if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep __ELF__ >/dev/null - then - # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). - # Return netbsd for either. FIX? - os=netbsd - else - os=netbsdelf - fi - ;; - *) - os=netbsd - ;; - esac - # The OS release - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` - # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: - # contains redundant information, the shorter form: - # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. - echo "${machine}-${os}${release}" - exit 0 ;; - amiga:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - arc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - hp300:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mac68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - macppc:OpenBSD:*:*) - echo powerpc-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme88k:OpenBSD:*:*) - echo m88k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvmeppc:OpenBSD:*:*) - echo powerpc-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - pmax:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sgi:OpenBSD:*:*) - echo mipseb-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sun3:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - wgrisc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - *:OpenBSD:*:*) - echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - alpha:OSF1:*:*) - if test $UNAME_RELEASE = "V4.0"; then - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` - fi - # A Vn.n version is a released version. - # A Tn.n version is a released field test version. - # A Xn.n version is an unreleased experimental baselevel. - # 1.2 uses "1.2" for uname -r. - eval $set_cc_for_build - cat <$dummy.s - .data -\$Lformat: - .byte 37,100,45,37,120,10,0 # "%d-%x\n" - - .text - .globl main - .align 4 - .ent main -main: - .frame \$30,16,\$26,0 - ldgp \$29,0(\$27) - .prologue 1 - .long 0x47e03d80 # implver \$0 - lda \$2,-1 - .long 0x47e20c21 # amask \$2,\$1 - lda \$16,\$Lformat - mov \$0,\$17 - not \$1,\$18 - jsr \$26,printf - ldgp \$29,0(\$26) - mov 0,\$16 - jsr \$26,exit - .end main -EOF - $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null - if test "$?" = 0 ; then - case `$dummy` in - 0-0) - UNAME_MACHINE="alpha" - ;; - 1-0) - UNAME_MACHINE="alphaev5" - ;; - 1-1) - UNAME_MACHINE="alphaev56" - ;; - 1-101) - UNAME_MACHINE="alphapca56" - ;; - 2-303) - UNAME_MACHINE="alphaev6" - ;; - 2-307) - UNAME_MACHINE="alphaev67" - ;; - 2-1307) - UNAME_MACHINE="alphaev68" - ;; - 3-1307) - UNAME_MACHINE="alphaev7" - ;; - esac - fi - rm -f $dummy.s $dummy && rmdir $tmpdir - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - exit 0 ;; - Alpha\ *:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # Should we change UNAME_MACHINE based on the output of uname instead - # of the specific Alpha model? - echo alpha-pc-interix - exit 0 ;; - 21064:Windows_NT:50:3) - echo alpha-dec-winnt3.5 - exit 0 ;; - Amiga*:UNIX_System_V:4.0:*) - echo m68k-unknown-sysv4 - exit 0;; - *:[Aa]miga[Oo][Ss]:*:*) - echo ${UNAME_MACHINE}-unknown-amigaos - exit 0 ;; - *:[Mm]orph[Oo][Ss]:*:*) - echo ${UNAME_MACHINE}-unknown-morphos - exit 0 ;; - *:OS/390:*:*) - echo i370-ibm-openedition - exit 0 ;; - arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) - echo arm-acorn-riscix${UNAME_RELEASE} - exit 0;; - SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) - echo hppa1.1-hitachi-hiuxmpp - exit 0;; - Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) - # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. - if test "`(/bin/universe) 2>/dev/null`" = att ; then - echo pyramid-pyramid-sysv3 - else - echo pyramid-pyramid-bsd - fi - exit 0 ;; - NILE*:*:*:dcosx) - echo pyramid-pyramid-svr4 - exit 0 ;; - DRS?6000:UNIX_SV:4.2*:7*) - case `/usr/bin/uname -p` in - sparc) echo sparc-icl-nx7 && exit 0 ;; - esac ;; - sun4H:SunOS:5.*:*) - echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) - echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - i86pc:SunOS:5.*:*) - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - sun4*:SunOS:6*:*) - # According to config.sub, this is the proper way to canonicalize - # SunOS6. Hard to guess exactly what SunOS6 will be like, but - # it's likely to be more like Solaris than SunOS4. - echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - sun4*:SunOS:*:*) - case "`/usr/bin/arch -k`" in - Series*|S4*) - UNAME_RELEASE=`uname -v` - ;; - esac - # Japanese Language versions have a version number like `4.1.3-JL'. - echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` - exit 0 ;; - sun3*:SunOS:*:*) - echo m68k-sun-sunos${UNAME_RELEASE} - exit 0 ;; - sun*:*:4.2BSD:*) - UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` - test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 - case "`/bin/arch`" in - sun3) - echo m68k-sun-sunos${UNAME_RELEASE} - ;; - sun4) - echo sparc-sun-sunos${UNAME_RELEASE} - ;; - esac - exit 0 ;; - aushp:SunOS:*:*) - echo sparc-auspex-sunos${UNAME_RELEASE} - exit 0 ;; - # The situation for MiNT is a little confusing. The machine name - # can be virtually everything (everything which is not - # "atarist" or "atariste" at least should have a processor - # > m68000). The system name ranges from "MiNT" over "FreeMiNT" - # to the lowercase version "mint" (or "freemint"). Finally - # the system name "TOS" denotes a system which is actually not - # MiNT. But MiNT is downward compatible to TOS, so this should - # be no problem. - atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit 0 ;; - atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit 0 ;; - *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit 0 ;; - milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) - echo m68k-milan-mint${UNAME_RELEASE} - exit 0 ;; - hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) - echo m68k-hades-mint${UNAME_RELEASE} - exit 0 ;; - *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) - echo m68k-unknown-mint${UNAME_RELEASE} - exit 0 ;; - powerpc:machten:*:*) - echo powerpc-apple-machten${UNAME_RELEASE} - exit 0 ;; - RISC*:Mach:*:*) - echo mips-dec-mach_bsd4.3 - exit 0 ;; - RISC*:ULTRIX:*:*) - echo mips-dec-ultrix${UNAME_RELEASE} - exit 0 ;; - VAX*:ULTRIX*:*:*) - echo vax-dec-ultrix${UNAME_RELEASE} - exit 0 ;; - 2020:CLIX:*:* | 2430:CLIX:*:*) - echo clipper-intergraph-clix${UNAME_RELEASE} - exit 0 ;; - mips:*:*:UMIPS | mips:*:*:RISCos) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c -#ifdef __cplusplus -#include /* for printf() prototype */ - int main (int argc, char *argv[]) { -#else - int main (argc, argv) int argc; char *argv[]; { -#endif - #if defined (host_mips) && defined (MIPSEB) - #if defined (SYSTYPE_SYSV) - printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_SVR4) - printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) - printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); - #endif - #endif - exit (-1); - } -EOF - $CC_FOR_BUILD $dummy.c -o $dummy \ - && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ - && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 - rm -f $dummy.c $dummy && rmdir $tmpdir - echo mips-mips-riscos${UNAME_RELEASE} - exit 0 ;; - Motorola:PowerMAX_OS:*:*) - echo powerpc-motorola-powermax - exit 0 ;; - Night_Hawk:*:*:PowerMAX_OS) - echo powerpc-harris-powermax - exit 0 ;; - Night_Hawk:Power_UNIX:*:*) - echo powerpc-harris-powerunix - exit 0 ;; - m88k:CX/UX:7*:*) - echo m88k-harris-cxux7 - exit 0 ;; - m88k:*:4*:R4*) - echo m88k-motorola-sysv4 - exit 0 ;; - m88k:*:3*:R3*) - echo m88k-motorola-sysv3 - exit 0 ;; - AViiON:dgux:*:*) - # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=`/usr/bin/uname -p` - if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] - then - if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ - [ ${TARGET_BINARY_INTERFACE}x = x ] - then - echo m88k-dg-dgux${UNAME_RELEASE} - else - echo m88k-dg-dguxbcs${UNAME_RELEASE} - fi - else - echo i586-dg-dgux${UNAME_RELEASE} - fi - exit 0 ;; - M88*:DolphinOS:*:*) # DolphinOS (SVR3) - echo m88k-dolphin-sysv3 - exit 0 ;; - M88*:*:R3*:*) - # Delta 88k system running SVR3 - echo m88k-motorola-sysv3 - exit 0 ;; - XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) - echo m88k-tektronix-sysv3 - exit 0 ;; - Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) - echo m68k-tektronix-bsd - exit 0 ;; - *:IRIX*:*:*) - echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` - exit 0 ;; - ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id - exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' - i*86:AIX:*:*) - echo i386-ibm-aix - exit 0 ;; - ia64:AIX:*:*) - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} - fi - echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} - exit 0 ;; - *:AIX:2:3) - if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - - main() - { - if (!__power_pc()) - exit(1); - puts("powerpc-ibm-aix3.2.5"); - exit(0); - } -EOF - $CC_FOR_BUILD $dummy.c -o $dummy && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 - rm -f $dummy.c $dummy && rmdir $tmpdir - echo rs6000-ibm-aix3.2.5 - elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then - echo rs6000-ibm-aix3.2.4 - else - echo rs6000-ibm-aix3.2 - fi - exit 0 ;; - *:AIX:*:[45]) - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` - if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then - IBM_ARCH=rs6000 - else - IBM_ARCH=powerpc - fi - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} - fi - echo ${IBM_ARCH}-ibm-aix${IBM_REV} - exit 0 ;; - *:AIX:*:*) - echo rs6000-ibm-aix - exit 0 ;; - ibmrt:4.4BSD:*|romp-ibm:BSD:*) - echo romp-ibm-bsd4.4 - exit 0 ;; - ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and - echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to - exit 0 ;; # report: romp-ibm BSD 4.3 - *:BOSX:*:*) - echo rs6000-bull-bosx - exit 0 ;; - DPX/2?00:B.O.S.:*:*) - echo m68k-bull-sysv3 - exit 0 ;; - 9000/[34]??:4.3bsd:1.*:*) - echo m68k-hp-bsd - exit 0 ;; - hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) - echo m68k-hp-bsd4.4 - exit 0 ;; - 9000/[34678]??:HP-UX:*:*) - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` - case "${UNAME_MACHINE}" in - 9000/31? ) HP_ARCH=m68000 ;; - 9000/[34]?? ) HP_ARCH=m68k ;; - 9000/[678][0-9][0-9]) - if [ -x /usr/bin/getconf ]; then - sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` - sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` - case "${sc_cpu_version}" in - 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 - 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 - 532) # CPU_PA_RISC2_0 - case "${sc_kernel_bits}" in - 32) HP_ARCH="hppa2.0n" ;; - 64) HP_ARCH="hppa2.0w" ;; - '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 - esac ;; - esac - fi - if [ "${HP_ARCH}" = "" ]; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - - #define _HPUX_SOURCE - #include - #include - - int main () - { - #if defined(_SC_KERNEL_BITS) - long bits = sysconf(_SC_KERNEL_BITS); - #endif - long cpu = sysconf (_SC_CPU_VERSION); - - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1"); break; - case CPU_PA_RISC2_0: - #if defined(_SC_KERNEL_BITS) - switch (bits) - { - case 64: puts ("hppa2.0w"); break; - case 32: puts ("hppa2.0n"); break; - default: puts ("hppa2.0"); break; - } break; - #else /* !defined(_SC_KERNEL_BITS) */ - puts ("hppa2.0"); break; - #endif - default: puts ("hppa1.0"); break; - } - exit (0); - } -EOF - (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`$dummy` - if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi - rm -f $dummy.c $dummy && rmdir $tmpdir - fi ;; - esac - echo ${HP_ARCH}-hp-hpux${HPUX_REV} - exit 0 ;; - ia64:HP-UX:*:*) - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` - echo ia64-hp-hpux${HPUX_REV} - exit 0 ;; - 3050*:HI-UX:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - int - main () - { - long cpu = sysconf (_SC_CPU_VERSION); - /* The order matters, because CPU_IS_HP_MC68K erroneously returns - true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct - results, however. */ - if (CPU_IS_PA_RISC (cpu)) - { - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; - case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; - default: puts ("hppa-hitachi-hiuxwe2"); break; - } - } - else if (CPU_IS_HP_MC68K (cpu)) - puts ("m68k-hitachi-hiuxwe2"); - else puts ("unknown-hitachi-hiuxwe2"); - exit (0); - } -EOF - $CC_FOR_BUILD $dummy.c -o $dummy && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 - rm -f $dummy.c $dummy && rmdir $tmpdir - echo unknown-hitachi-hiuxwe2 - exit 0 ;; - 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) - echo hppa1.1-hp-bsd - exit 0 ;; - 9000/8??:4.3bsd:*:*) - echo hppa1.0-hp-bsd - exit 0 ;; - *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) - echo hppa1.0-hp-mpeix - exit 0 ;; - hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) - echo hppa1.1-hp-osf - exit 0 ;; - hp8??:OSF1:*:*) - echo hppa1.0-hp-osf - exit 0 ;; - i*86:OSF1:*:*) - if [ -x /usr/sbin/sysversion ] ; then - echo ${UNAME_MACHINE}-unknown-osf1mk - else - echo ${UNAME_MACHINE}-unknown-osf1 - fi - exit 0 ;; - parisc*:Lites*:*:*) - echo hppa1.1-hp-lites - exit 0 ;; - C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) - echo c1-convex-bsd - exit 0 ;; - C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit 0 ;; - C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) - echo c34-convex-bsd - exit 0 ;; - C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) - echo c38-convex-bsd - exit 0 ;; - C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) - echo c4-convex-bsd - exit 0 ;; - CRAY*Y-MP:*:*:*) - echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY*[A-Z]90:*:*:*) - echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ - | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ - -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY*TS:*:*:*) - echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY*T3D:*:*:*) - echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY*T3E:*:*:*) - echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY*SV1:*:*:*) - echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; - F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) - FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit 0 ;; - i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) - echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} - exit 0 ;; - sparc*:BSD/OS:*:*) - echo sparc-unknown-bsdi${UNAME_RELEASE} - exit 0 ;; - *:BSD/OS:*:*) - echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} - exit 0 ;; - *:FreeBSD:*:*) - # Determine whether the default compiler uses glibc. - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - #if __GLIBC__ >= 2 - LIBC=gnu - #else - LIBC= - #endif -EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` - rm -f $dummy.c && rmdir $tmpdir - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} - exit 0 ;; - i*:CYGWIN*:*) - echo ${UNAME_MACHINE}-pc-cygwin - exit 0 ;; - i*:MINGW*:*) - echo ${UNAME_MACHINE}-pc-mingw32 - exit 0 ;; - i*:PW*:*) - echo ${UNAME_MACHINE}-pc-pw32 - exit 0 ;; - x86:Interix*:3*) - echo i386-pc-interix3 - exit 0 ;; - i*:Windows_NT*:* | Pentium*:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we - # UNAME_MACHINE based on the output of uname instead of i386? - echo i386-pc-interix - exit 0 ;; - i*:UWIN*:*) - echo ${UNAME_MACHINE}-pc-uwin - exit 0 ;; - p*:CYGWIN*:*) - echo powerpcle-unknown-cygwin - exit 0 ;; - prep*:SunOS:5.*:*) - echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - *:GNU:*:*) - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` - exit 0 ;; - i*86:Minix:*:*) - echo ${UNAME_MACHINE}-pc-minix - exit 0 ;; - arm*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; - ia64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; - m68*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; - mips:Linux:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #undef CPU - #undef mips - #undef mipsel - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mipsel - #else - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips - #else - CPU= - #endif - #endif -EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` - rm -f $dummy.c && rmdir $tmpdir - test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0 - ;; - ppc:Linux:*:*) - echo powerpc-unknown-linux-gnu - exit 0 ;; - ppc64:Linux:*:*) - echo powerpc64-unknown-linux-gnu - exit 0 ;; - alpha:Linux:*:*) - case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in - EV5) UNAME_MACHINE=alphaev5 ;; - EV56) UNAME_MACHINE=alphaev56 ;; - PCA56) UNAME_MACHINE=alphapca56 ;; - PCA57) UNAME_MACHINE=alphapca56 ;; - EV6) UNAME_MACHINE=alphaev6 ;; - EV67) UNAME_MACHINE=alphaev67 ;; - EV68*) UNAME_MACHINE=alphaev68 ;; - esac - objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} - exit 0 ;; - parisc:Linux:*:* | hppa:Linux:*:*) - # Look for CPU level - case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in - PA7*) echo hppa1.1-unknown-linux-gnu ;; - PA8*) echo hppa2.0-unknown-linux-gnu ;; - *) echo hppa-unknown-linux-gnu ;; - esac - exit 0 ;; - parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-gnu - exit 0 ;; - s390:Linux:*:* | s390x:Linux:*:*) - echo ${UNAME_MACHINE}-ibm-linux - exit 0 ;; - sh*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; - sparc:Linux:*:* | sparc64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; - x86_64:Linux:*:*) - echo x86_64-unknown-linux-gnu - exit 0 ;; - i*86:Linux:*:*) - # The BFD linker knows what the default object file format is, so - # first see if it will tell us. cd to the root directory to prevent - # problems with other programs or directories called `ld' in the path. - # Set LC_ALL=C to ensure ld outputs messages in English. - ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ - | sed -ne '/supported targets:/!d - s/[ ][ ]*/ /g - s/.*supported targets: *// - s/ .*// - p'` - case "$ld_supported_targets" in - elf32-i386) - TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" - ;; - a.out-i386-linux) - echo "${UNAME_MACHINE}-pc-linux-gnuaout" - exit 0 ;; - coff-i386) - echo "${UNAME_MACHINE}-pc-linux-gnucoff" - exit 0 ;; - "") - # Either a pre-BFD a.out linker (linux-gnuoldld) or - # one that does not give us useful --help. - echo "${UNAME_MACHINE}-pc-linux-gnuoldld" - exit 0 ;; - esac - # Determine whether the default compiler is a.out or elf - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - #ifdef __ELF__ - # ifdef __GLIBC__ - # if __GLIBC__ >= 2 - LIBC=gnu - # else - LIBC=gnulibc1 - # endif - # else - LIBC=gnulibc1 - # endif - #else - #ifdef __INTEL_COMPILER - LIBC=gnu - #else - LIBC=gnuaout - #endif - #endif -EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` - rm -f $dummy.c && rmdir $tmpdir - test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 - test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 - ;; - i*86:DYNIX/ptx:4*:*) - # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. - # earlier versions are messed up and put the nodename in both - # sysname and nodename. - echo i386-sequent-sysv4 - exit 0 ;; - i*86:UNIX_SV:4.2MP:2.*) - # Unixware is an offshoot of SVR4, but it has its own version - # number series starting with 2... - # I am not positive that other SVR4 systems won't match this, - # I just have to hope. -- rms. - # Use sysv4.2uw... so that sysv4* matches it. - echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} - exit 0 ;; - i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) - UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` - if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then - echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} - else - echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} - fi - exit 0 ;; - i*86:*:5:[78]*) - case `/bin/uname -X | grep "^Machine"` in - *486*) UNAME_MACHINE=i486 ;; - *Pentium) UNAME_MACHINE=i586 ;; - *Pent*|*Celeron) UNAME_MACHINE=i686 ;; - esac - echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} - exit 0 ;; - i*86:*:3.2:*) - if test -f /usr/options/cb.name; then - UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then - UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` - (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 - (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ - && UNAME_MACHINE=i586 - (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ - && UNAME_MACHINE=i686 - (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ - && UNAME_MACHINE=i686 - echo ${UNAME_MACHINE}-pc-sco$UNAME_REL - else - echo ${UNAME_MACHINE}-pc-sysv32 - fi - exit 0 ;; - i*86:*DOS:*:*) - echo ${UNAME_MACHINE}-pc-msdosdjgpp - exit 0 ;; - pc:*:*:*) - # Left here for compatibility: - # uname -m prints for DJGPP always 'pc', but it prints nothing about - # the processor, so we play safe by assuming i386. - echo i386-pc-msdosdjgpp - exit 0 ;; - Intel:Mach:3*:*) - echo i386-pc-mach3 - exit 0 ;; - paragon:*:*:*) - echo i860-intel-osf1 - exit 0 ;; - i860:*:4.*:*) # i860-SVR4 - if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then - echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 - else # Add other i860-SVR4 vendors below as they are discovered. - echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 - fi - exit 0 ;; - mini*:CTIX:SYS*5:*) - # "miniframe" - echo m68010-convergent-sysv - exit 0 ;; - M68*:*:R3V[567]*:*) - test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; - 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0) - OS_REL='' - test -r /etc/.relid \ - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4.3${OS_REL} && exit 0 - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ - && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; - 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4 && exit 0 ;; - m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) - echo m68k-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - mc68030:UNIX_System_V:4.*:*) - echo m68k-atari-sysv4 - exit 0 ;; - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) - echo i386-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - TSUNAMI:LynxOS:2.*:*) - echo sparc-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - rs6000:LynxOS:2.*:*) - echo rs6000-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) - echo powerpc-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - SM[BE]S:UNIX_SV:*:*) - echo mips-dde-sysv${UNAME_RELEASE} - exit 0 ;; - RM*:ReliantUNIX-*:*:*) - echo mips-sni-sysv4 - exit 0 ;; - RM*:SINIX-*:*:*) - echo mips-sni-sysv4 - exit 0 ;; - *:SINIX-*:*:*) - if uname -p 2>/dev/null >/dev/null ; then - UNAME_MACHINE=`(uname -p) 2>/dev/null` - echo ${UNAME_MACHINE}-sni-sysv4 - else - echo ns32k-sni-sysv - fi - exit 0 ;; - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says - echo i586-unisys-sysv4 - exit 0 ;; - *:UNIX_System_V:4*:FTX*) - # From Gerald Hewes . - # How about differentiating between stratus architectures? -djm - echo hppa1.1-stratus-sysv4 - exit 0 ;; - *:*:*:FTX*) - # From seanf@swdc.stratus.com. - echo i860-stratus-sysv4 - exit 0 ;; - *:VOS:*:*) - # From Paul.Green@stratus.com. - echo hppa1.1-stratus-vos - exit 0 ;; - mc68*:A/UX:*:*) - echo m68k-apple-aux${UNAME_RELEASE} - exit 0 ;; - news*:NEWS-OS:6*:*) - echo mips-sony-newsos6 - exit 0 ;; - R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) - if [ -d /usr/nec ]; then - echo mips-nec-sysv${UNAME_RELEASE} - else - echo mips-unknown-sysv${UNAME_RELEASE} - fi - exit 0 ;; - BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. - echo powerpc-be-beos - exit 0 ;; - BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. - echo powerpc-apple-beos - exit 0 ;; - BePC:BeOS:*:*) # BeOS running on Intel PC compatible. - echo i586-pc-beos - exit 0 ;; - SX-4:SUPER-UX:*:*) - echo sx4-nec-superux${UNAME_RELEASE} - exit 0 ;; - SX-5:SUPER-UX:*:*) - echo sx5-nec-superux${UNAME_RELEASE} - exit 0 ;; - Power*:Rhapsody:*:*) - echo powerpc-apple-rhapsody${UNAME_RELEASE} - exit 0 ;; - *:Rhapsody:*:*) - echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} - exit 0 ;; - *:Darwin:*:*) - echo `uname -p`-apple-darwin${UNAME_RELEASE} - exit 0 ;; - *:procnto*:*:* | *:QNX:[0123456789]*:*) - UNAME_PROCESSOR=`uname -p` - if test "$UNAME_PROCESSOR" = "x86"; then - UNAME_PROCESSOR=i386 - UNAME_MACHINE=pc - fi - echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} - exit 0 ;; - *:QNX:*:4*) - echo i386-pc-qnx - exit 0 ;; - NSR-[GKLNPTVW]:NONSTOP_KERNEL:*:*) - echo nsr-tandem-nsk${UNAME_RELEASE} - exit 0 ;; - *:NonStop-UX:*:*) - echo mips-compaq-nonstopux - exit 0 ;; - BS2000:POSIX*:*:*) - echo bs2000-siemens-sysv - exit 0 ;; - DS/*:UNIX_System_V:*:*) - echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} - exit 0 ;; - *:Plan9:*:*) - # "uname -m" is not consistent, so use $cputype instead. 386 - # is converted to i386 for consistency with other x86 - # operating systems. - if test "$cputype" = "386"; then - UNAME_MACHINE=i386 - else - UNAME_MACHINE="$cputype" - fi - echo ${UNAME_MACHINE}-unknown-plan9 - exit 0 ;; - i*86:OS/2:*:*) - # If we were able to find `uname', then EMX Unix compatibility - # is probably installed. - echo ${UNAME_MACHINE}-pc-os2-emx - exit 0 ;; - *:TOPS-10:*:*) - echo pdp10-unknown-tops10 - exit 0 ;; - *:TENEX:*:*) - echo pdp10-unknown-tenex - exit 0 ;; - KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) - echo pdp10-dec-tops20 - exit 0 ;; - XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) - echo pdp10-xkl-tops20 - exit 0 ;; - *:TOPS-20:*:*) - echo pdp10-unknown-tops20 - exit 0 ;; - *:ITS:*:*) - echo pdp10-unknown-its - exit 0 ;; - i*86:XTS-300:*:STOP) - echo ${UNAME_MACHINE}-unknown-stop - exit 0 ;; - i*86:atheos:*:*) - echo ${UNAME_MACHINE}-unknown-atheos - exit 0 ;; -esac - -#echo '(No uname command or uname output not recognized.)' 1>&2 -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 - -eval $set_cc_for_build -cat >$dummy.c < -# include -#endif -main () -{ -#if defined (sony) -#if defined (MIPSEB) - /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, - I don't know.... */ - printf ("mips-sony-bsd\n"); exit (0); -#else -#include - printf ("m68k-sony-newsos%s\n", -#ifdef NEWSOS4 - "4" -#else - "" -#endif - ); exit (0); -#endif -#endif - -#if defined (__arm) && defined (__acorn) && defined (__unix) - printf ("arm-acorn-riscix"); exit (0); -#endif - -#if defined (hp300) && !defined (hpux) - printf ("m68k-hp-bsd\n"); exit (0); -#endif - -#if defined (NeXT) -#if !defined (__ARCHITECTURE__) -#define __ARCHITECTURE__ "m68k" -#endif - int version; - version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; - if (version < 4) - printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); - else - printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); - exit (0); -#endif - -#if defined (MULTIMAX) || defined (n16) -#if defined (UMAXV) - printf ("ns32k-encore-sysv\n"); exit (0); -#else -#if defined (CMU) - printf ("ns32k-encore-mach\n"); exit (0); -#else - printf ("ns32k-encore-bsd\n"); exit (0); -#endif -#endif -#endif - -#if defined (__386BSD__) - printf ("i386-pc-bsd\n"); exit (0); -#endif - -#if defined (sequent) -#if defined (i386) - printf ("i386-sequent-dynix\n"); exit (0); -#endif -#if defined (ns32000) - printf ("ns32k-sequent-dynix\n"); exit (0); -#endif -#endif - -#if defined (_SEQUENT_) - struct utsname un; - - uname(&un); - - if (strncmp(un.version, "V2", 2) == 0) { - printf ("i386-sequent-ptx2\n"); exit (0); - } - if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ - printf ("i386-sequent-ptx1\n"); exit (0); - } - printf ("i386-sequent-ptx\n"); exit (0); - -#endif - -#if defined (vax) -# if !defined (ultrix) -# include -# if defined (BSD) -# if BSD == 43 - printf ("vax-dec-bsd4.3\n"); exit (0); -# else -# if BSD == 199006 - printf ("vax-dec-bsd4.3reno\n"); exit (0); -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# endif -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# else - printf ("vax-dec-ultrix\n"); exit (0); -# endif -#endif - -#if defined (alliant) && defined (i860) - printf ("i860-alliant-bsd\n"); exit (0); -#endif - - exit (1); -} -EOF - -$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 -rm -f $dummy.c $dummy && rmdir $tmpdir - -# Apollos put the system type in the environment. - -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } - -# Convex versions that predate uname can use getsysinfo(1) - -if [ -x /usr/convex/getsysinfo ] -then - case `getsysinfo -f cpu_type` in - c1*) - echo c1-convex-bsd - exit 0 ;; - c2*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit 0 ;; - c34*) - echo c34-convex-bsd - exit 0 ;; - c38*) - echo c38-convex-bsd - exit 0 ;; - c4*) - echo c4-convex-bsd - exit 0 ;; - esac -fi - -cat >&2 < in order to provide the needed -information to handle your system. - -config.guess timestamp = $timestamp - -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null` - -hostinfo = `(hostinfo) 2>/dev/null` -/bin/universe = `(/bin/universe) 2>/dev/null` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` -/bin/arch = `(/bin/arch) 2>/dev/null` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` - -UNAME_MACHINE = ${UNAME_MACHINE} -UNAME_RELEASE = ${UNAME_RELEASE} -UNAME_SYSTEM = ${UNAME_SYSTEM} -UNAME_VERSION = ${UNAME_VERSION} -EOF - -exit 1 - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" -# time-stamp-end: "'" -# End: diff --git a/Libraries/libtheora-1.1.1/config.h.in b/Libraries/libtheora-1.1.1/config.h.in deleted file mode 100644 index d065693d..00000000 --- a/Libraries/libtheora-1.1.1/config.h.in +++ /dev/null @@ -1,86 +0,0 @@ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* libcairo is available for visual debugging output */ -#undef HAVE_CAIRO - -/* Define to 1 if you have the header file. */ -#undef HAVE_DLFCN_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_INTTYPES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_MACHINE_SOUNDCARD_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_MEMORY_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SOUNDCARD_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDINT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDLIB_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRINGS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRING_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_SOUNDCARD_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_STAT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TYPES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_UNISTD_H - -/* Define to the sub-directory in which libtool stores uninstalled libraries. - */ -#undef LT_OBJDIR - -/* Define to 1 if your C compiler doesn't accept -c and -o together. */ -#undef NO_MINUS_C_MINUS_O - -/* make use of x86_64 asm optimization */ -#undef OC_X86_64_ASM - -/* make use of x86 asm optimization */ -#undef OC_X86_ASM - -/* Name of package */ -#undef PACKAGE - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - -/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Define to exclude encode support from the build */ -#undef THEORA_DISABLE_ENCODE - -/* Define to exclude floating point code from the build */ -#undef THEORA_DISABLE_FLOAT - -/* Version number of package */ -#undef VERSION diff --git a/Libraries/libtheora-1.1.1/config.sub b/Libraries/libtheora-1.1.1/config.sub deleted file mode 100644 index 9ff085ef..00000000 --- a/Libraries/libtheora-1.1.1/config.sub +++ /dev/null @@ -1,1460 +0,0 @@ -#! /bin/sh -# Configuration validation subroutine script. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002 Free Software Foundation, Inc. - -timestamp='2002-07-03' - -# This file is (in principle) common to ALL GNU software. -# The presence of a machine in this file suggests that SOME GNU software -# can handle that machine. It does not imply ALL GNU software can. -# -# This file is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, -# Boston, MA 02111-1307, USA. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Please send patches to . Submit a context -# diff and a properly formatted ChangeLog entry. -# -# Configuration subroutine to validate and canonicalize a configuration type. -# Supply the specified configuration type as an argument. -# If it is invalid, we print an error message on stderr and exit with code 1. -# Otherwise, we print the canonical config type on stdout and succeed. - -# This file is supposed to be the same for all GNU packages -# and recognize all the CPU types, system types and aliases -# that are meaningful with *any* GNU software. -# Each package is responsible for reporting which valid configurations -# it does not support. The user should be able to distinguish -# a failure to support a valid configuration from a meaningless -# configuration. - -# The goal of this file is to map all the various variations of a given -# machine specification into a single specification in the form: -# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM -# or in some cases, the newer four-part form: -# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM -# It is wrong to echo any other type of specification. - -me=`echo "$0" | sed -e 's,.*/,,'` - -usage="\ -Usage: $0 [OPTION] CPU-MFR-OPSYS - $0 [OPTION] ALIAS - -Canonicalize a configuration name. - -Operation modes: - -h, --help print this help, then exit - -t, --time-stamp print date of last modification, then exit - -v, --version print version number, then exit - -Report bugs and patches to ." - -version="\ -GNU config.sub ($timestamp) - -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -Free Software Foundation, Inc. - -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." - -help=" -Try \`$me --help' for more information." - -# Parse command line -while test $# -gt 0 ; do - case $1 in - --time-stamp | --time* | -t ) - echo "$timestamp" ; exit 0 ;; - --version | -v ) - echo "$version" ; exit 0 ;; - --help | --h* | -h ) - echo "$usage"; exit 0 ;; - -- ) # Stop option processing - shift; break ;; - - ) # Use stdin as input. - break ;; - -* ) - echo "$me: invalid option $1$help" - exit 1 ;; - - *local*) - # First pass through any local machine types. - echo $1 - exit 0;; - - * ) - break ;; - esac -done - -case $# in - 0) echo "$me: missing argument$help" >&2 - exit 1;; - 1) ;; - *) echo "$me: too many arguments$help" >&2 - exit 1;; -esac - -# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). -# Here we must recognize all the valid KERNEL-OS combinations. -maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` -case $maybe_os in - nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*) - os=-$maybe_os - basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` - ;; - *) - basic_machine=`echo $1 | sed 's/-[^-]*$//'` - if [ $basic_machine != $1 ] - then os=`echo $1 | sed 's/.*-/-/'` - else os=; fi - ;; -esac - -### Let's recognize common machines as not being operating systems so -### that things like config.sub decstation-3100 work. We also -### recognize some manufacturers as not being operating systems, so we -### can provide default operating systems below. -case $os in - -sun*os*) - # Prevent following clause from handling this invalid input. - ;; - -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ - -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ - -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ - -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis) - os= - basic_machine=$1 - ;; - -sim | -cisco | -oki | -wec | -winbond) - os= - basic_machine=$1 - ;; - -scout) - ;; - -wrs) - os=-vxworks - basic_machine=$1 - ;; - -chorusos*) - os=-chorusos - basic_machine=$1 - ;; - -chorusrdb) - os=-chorusrdb - basic_machine=$1 - ;; - -hiux*) - os=-hiuxwe2 - ;; - -sco5) - os=-sco3.2v5 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco4) - os=-sco3.2v4 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2.[4-9]*) - os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2v[4-9]*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco*) - os=-sco3.2v2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -udk*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -isc) - os=-isc2.2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -clix*) - basic_machine=clipper-intergraph - ;; - -isc*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -lynx*) - os=-lynxos - ;; - -ptx*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` - ;; - -windowsnt*) - os=`echo $os | sed -e 's/windowsnt/winnt/'` - ;; - -psos*) - os=-psos - ;; - -mint | -mint[0-9]*) - basic_machine=m68k-atari - os=-mint - ;; -esac - -# Decode aliases for certain CPU-COMPANY combinations. -case $basic_machine in - # Recognize the basic CPU types without company name. - # Some are omitted here because they have special meanings below. - 1750a | 580 \ - | a29k \ - | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ - | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ - | c4x | clipper \ - | d10v | d30v | dlx | dsp16xx \ - | fr30 | frv \ - | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ - | i370 | i860 | i960 | ia64 \ - | ip2k \ - | m32r | m68000 | m68k | m88k | mcore \ - | mips | mipsbe | mipseb | mipsel | mipsle \ - | mips16 \ - | mips64 | mips64el \ - | mips64orion | mips64orionel \ - | mips64vr4100 | mips64vr4100el \ - | mips64vr4300 | mips64vr4300el \ - | mips64vr5000 | mips64vr5000el \ - | mipsisa32 | mipsisa32el \ - | mipsisa64 | mipsisa64el \ - | mipsisa64sb1 | mipsisa64sb1el \ - | mipstx39 | mipstx39el \ - | mn10200 | mn10300 \ - | ns16k | ns32k \ - | openrisc | or32 \ - | pdp10 | pdp11 | pj | pjl \ - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ - | pyramid \ - | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ - | sh64 | sh64le \ - | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ - | strongarm \ - | tahoe | thumb | tic80 | tron \ - | v850 | v850e \ - | we32k \ - | x86 | xscale | xstormy16 | xtensa \ - | z8k) - basic_machine=$basic_machine-unknown - ;; - m6811 | m68hc11 | m6812 | m68hc12) - # Motorola 68HC11/12. - basic_machine=$basic_machine-unknown - os=-none - ;; - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) - ;; - - # We use `pc' rather than `unknown' - # because (1) that's what they normally are, and - # (2) the word "unknown" tends to confuse beginning users. - i*86 | x86_64) - basic_machine=$basic_machine-pc - ;; - # Object if more than one company name word. - *-*-*) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; - # Recognize the basic CPU types with company name. - 580-* \ - | a29k-* \ - | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ - | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ - | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* \ - | bs2000-* \ - | c[123]* | c30-* | [cjt]90-* | c54x-* \ - | clipper-* | cydra-* \ - | d10v-* | d30v-* | dlx-* \ - | elxsi-* \ - | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ - | h8300-* | h8500-* \ - | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ - | i*86-* | i860-* | i960-* | ia64-* \ - | ip2k-* \ - | m32r-* \ - | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | mcore-* \ - | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ - | mips16-* \ - | mips64-* | mips64el-* \ - | mips64orion-* | mips64orionel-* \ - | mips64vr4100-* | mips64vr4100el-* \ - | mips64vr4300-* | mips64vr4300el-* \ - | mips64vr5000-* | mips64vr5000el-* \ - | mipsisa32-* | mipsisa32el-* \ - | mipsisa64-* | mipsisa64el-* \ - | mipsisa64sb1-* | mipsisa64sb1el-* \ - | mipstx39 | mipstx39el \ - | none-* | np1-* | ns16k-* | ns32k-* \ - | orion-* \ - | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ - | pyramid-* \ - | romp-* | rs6000-* \ - | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \ - | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ - | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ - | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \ - | v850-* | v850e-* | vax-* \ - | we32k-* \ - | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ - | xtensa-* \ - | ymp-* \ - | z8k-*) - ;; - # Recognize the various machine names and aliases which stand - # for a CPU type and a company and sometimes even an OS. - 386bsd) - basic_machine=i386-unknown - os=-bsd - ;; - 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) - basic_machine=m68000-att - ;; - 3b*) - basic_machine=we32k-att - ;; - a29khif) - basic_machine=a29k-amd - os=-udi - ;; - adobe68k) - basic_machine=m68010-adobe - os=-scout - ;; - alliant | fx80) - basic_machine=fx80-alliant - ;; - altos | altos3068) - basic_machine=m68k-altos - ;; - am29k) - basic_machine=a29k-none - os=-bsd - ;; - amdahl) - basic_machine=580-amdahl - os=-sysv - ;; - amiga | amiga-*) - basic_machine=m68k-unknown - ;; - amigaos | amigados) - basic_machine=m68k-unknown - os=-amigaos - ;; - amigaunix | amix) - basic_machine=m68k-unknown - os=-sysv4 - ;; - apollo68) - basic_machine=m68k-apollo - os=-sysv - ;; - apollo68bsd) - basic_machine=m68k-apollo - os=-bsd - ;; - aux) - basic_machine=m68k-apple - os=-aux - ;; - balance) - basic_machine=ns32k-sequent - os=-dynix - ;; - c90) - basic_machine=c90-cray - os=-unicos - ;; - convex-c1) - basic_machine=c1-convex - os=-bsd - ;; - convex-c2) - basic_machine=c2-convex - os=-bsd - ;; - convex-c32) - basic_machine=c32-convex - os=-bsd - ;; - convex-c34) - basic_machine=c34-convex - os=-bsd - ;; - convex-c38) - basic_machine=c38-convex - os=-bsd - ;; - cray | j90) - basic_machine=j90-cray - os=-unicos - ;; - crds | unos) - basic_machine=m68k-crds - ;; - cris | cris-* | etrax*) - basic_machine=cris-axis - ;; - da30 | da30-*) - basic_machine=m68k-da30 - ;; - decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) - basic_machine=mips-dec - ;; - decsystem10* | dec10*) - basic_machine=pdp10-dec - os=-tops10 - ;; - decsystem20* | dec20*) - basic_machine=pdp10-dec - os=-tops20 - ;; - delta | 3300 | motorola-3300 | motorola-delta \ - | 3300-motorola | delta-motorola) - basic_machine=m68k-motorola - ;; - delta88) - basic_machine=m88k-motorola - os=-sysv3 - ;; - dpx20 | dpx20-*) - basic_machine=rs6000-bull - os=-bosx - ;; - dpx2* | dpx2*-bull) - basic_machine=m68k-bull - os=-sysv3 - ;; - ebmon29k) - basic_machine=a29k-amd - os=-ebmon - ;; - elxsi) - basic_machine=elxsi-elxsi - os=-bsd - ;; - encore | umax | mmax) - basic_machine=ns32k-encore - ;; - es1800 | OSE68k | ose68k | ose | OSE) - basic_machine=m68k-ericsson - os=-ose - ;; - fx2800) - basic_machine=i860-alliant - ;; - genix) - basic_machine=ns32k-ns - ;; - gmicro) - basic_machine=tron-gmicro - os=-sysv - ;; - go32) - basic_machine=i386-pc - os=-go32 - ;; - h3050r* | hiux*) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - h8300hms) - basic_machine=h8300-hitachi - os=-hms - ;; - h8300xray) - basic_machine=h8300-hitachi - os=-xray - ;; - h8500hms) - basic_machine=h8500-hitachi - os=-hms - ;; - harris) - basic_machine=m88k-harris - os=-sysv3 - ;; - hp300-*) - basic_machine=m68k-hp - ;; - hp300bsd) - basic_machine=m68k-hp - os=-bsd - ;; - hp300hpux) - basic_machine=m68k-hp - os=-hpux - ;; - hp3k9[0-9][0-9] | hp9[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hp9k2[0-9][0-9] | hp9k31[0-9]) - basic_machine=m68000-hp - ;; - hp9k3[2-9][0-9]) - basic_machine=m68k-hp - ;; - hp9k6[0-9][0-9] | hp6[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hp9k7[0-79][0-9] | hp7[0-79][0-9]) - basic_machine=hppa1.1-hp - ;; - hp9k78[0-9] | hp78[0-9]) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][13679] | hp8[0-9][13679]) - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][0-9] | hp8[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hppa-next) - os=-nextstep3 - ;; - hppaosf) - basic_machine=hppa1.1-hp - os=-osf - ;; - hppro) - basic_machine=hppa1.1-hp - os=-proelf - ;; - i370-ibm* | ibm*) - basic_machine=i370-ibm - ;; -# I'm not sure what "Sysv32" means. Should this be sysv3.2? - i*86v32) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv32 - ;; - i*86v4*) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv4 - ;; - i*86v) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv - ;; - i*86sol2) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-solaris2 - ;; - i386mach) - basic_machine=i386-mach - os=-mach - ;; - i386-vsta | vsta) - basic_machine=i386-unknown - os=-vsta - ;; - iris | iris4d) - basic_machine=mips-sgi - case $os in - -irix*) - ;; - *) - os=-irix4 - ;; - esac - ;; - isi68 | isi) - basic_machine=m68k-isi - os=-sysv - ;; - m88k-omron*) - basic_machine=m88k-omron - ;; - magnum | m3230) - basic_machine=mips-mips - os=-sysv - ;; - merlin) - basic_machine=ns32k-utek - os=-sysv - ;; - mingw32) - basic_machine=i386-pc - os=-mingw32 - ;; - miniframe) - basic_machine=m68000-convergent - ;; - *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) - basic_machine=m68k-atari - os=-mint - ;; - mips3*-*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` - ;; - mips3*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown - ;; - mmix*) - basic_machine=mmix-knuth - os=-mmixware - ;; - monitor) - basic_machine=m68k-rom68k - os=-coff - ;; - morphos) - basic_machine=powerpc-unknown - os=-morphos - ;; - msdos) - basic_machine=i386-pc - os=-msdos - ;; - mvs) - basic_machine=i370-ibm - os=-mvs - ;; - ncr3000) - basic_machine=i486-ncr - os=-sysv4 - ;; - netbsd386) - basic_machine=i386-unknown - os=-netbsd - ;; - netwinder) - basic_machine=armv4l-rebel - os=-linux - ;; - news | news700 | news800 | news900) - basic_machine=m68k-sony - os=-newsos - ;; - news1000) - basic_machine=m68030-sony - os=-newsos - ;; - news-3600 | risc-news) - basic_machine=mips-sony - os=-newsos - ;; - necv70) - basic_machine=v70-nec - os=-sysv - ;; - next | m*-next ) - basic_machine=m68k-next - case $os in - -nextstep* ) - ;; - -ns2*) - os=-nextstep2 - ;; - *) - os=-nextstep3 - ;; - esac - ;; - nh3000) - basic_machine=m68k-harris - os=-cxux - ;; - nh[45]000) - basic_machine=m88k-harris - os=-cxux - ;; - nindy960) - basic_machine=i960-intel - os=-nindy - ;; - mon960) - basic_machine=i960-intel - os=-mon960 - ;; - nonstopux) - basic_machine=mips-compaq - os=-nonstopux - ;; - np1) - basic_machine=np1-gould - ;; - nsr-tandem) - basic_machine=nsr-tandem - ;; - op50n-* | op60c-*) - basic_machine=hppa1.1-oki - os=-proelf - ;; - or32 | or32-*) - basic_machine=or32-unknown - os=-coff - ;; - OSE68000 | ose68000) - basic_machine=m68000-ericsson - os=-ose - ;; - os68k) - basic_machine=m68k-none - os=-os68k - ;; - pa-hitachi) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - paragon) - basic_machine=i860-intel - os=-osf - ;; - pbd) - basic_machine=sparc-tti - ;; - pbb) - basic_machine=m68k-tti - ;; - pc532 | pc532-*) - basic_machine=ns32k-pc532 - ;; - pentium | p5 | k5 | k6 | nexgen | viac3) - basic_machine=i586-pc - ;; - pentiumpro | p6 | 6x86 | athlon) - basic_machine=i686-pc - ;; - pentiumii | pentium2) - basic_machine=i686-pc - ;; - pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) - basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentiumpro-* | p6-* | 6x86-* | athlon-*) - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentiumii-* | pentium2-*) - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pn) - basic_machine=pn-gould - ;; - power) basic_machine=power-ibm - ;; - ppc) basic_machine=powerpc-unknown - ;; - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppcle | powerpclittle | ppc-le | powerpc-little) - basic_machine=powerpcle-unknown - ;; - ppcle-* | powerpclittle-*) - basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppc64) basic_machine=powerpc64-unknown - ;; - ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppc64le | powerpc64little | ppc64-le | powerpc64-little) - basic_machine=powerpc64le-unknown - ;; - ppc64le-* | powerpc64little-*) - basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ps2) - basic_machine=i386-ibm - ;; - pw32) - basic_machine=i586-unknown - os=-pw32 - ;; - rom68k) - basic_machine=m68k-rom68k - os=-coff - ;; - rm[46]00) - basic_machine=mips-siemens - ;; - rtpc | rtpc-*) - basic_machine=romp-ibm - ;; - s390 | s390-*) - basic_machine=s390-ibm - ;; - s390x | s390x-*) - basic_machine=s390x-ibm - ;; - sa29200) - basic_machine=a29k-amd - os=-udi - ;; - sequent) - basic_machine=i386-sequent - ;; - sh) - basic_machine=sh-hitachi - os=-hms - ;; - sparclite-wrs | simso-wrs) - basic_machine=sparclite-wrs - os=-vxworks - ;; - sps7) - basic_machine=m68k-bull - os=-sysv2 - ;; - spur) - basic_machine=spur-unknown - ;; - st2000) - basic_machine=m68k-tandem - ;; - stratus) - basic_machine=i860-stratus - os=-sysv4 - ;; - sun2) - basic_machine=m68000-sun - ;; - sun2os3) - basic_machine=m68000-sun - os=-sunos3 - ;; - sun2os4) - basic_machine=m68000-sun - os=-sunos4 - ;; - sun3os3) - basic_machine=m68k-sun - os=-sunos3 - ;; - sun3os4) - basic_machine=m68k-sun - os=-sunos4 - ;; - sun4os3) - basic_machine=sparc-sun - os=-sunos3 - ;; - sun4os4) - basic_machine=sparc-sun - os=-sunos4 - ;; - sun4sol2) - basic_machine=sparc-sun - os=-solaris2 - ;; - sun3 | sun3-*) - basic_machine=m68k-sun - ;; - sun4) - basic_machine=sparc-sun - ;; - sun386 | sun386i | roadrunner) - basic_machine=i386-sun - ;; - sv1) - basic_machine=sv1-cray - os=-unicos - ;; - symmetry) - basic_machine=i386-sequent - os=-dynix - ;; - t3d) - basic_machine=alpha-cray - os=-unicos - ;; - t3e) - basic_machine=alphaev5-cray - os=-unicos - ;; - t90) - basic_machine=t90-cray - os=-unicos - ;; - tic54x | c54x*) - basic_machine=tic54x-unknown - os=-coff - ;; - tx39) - basic_machine=mipstx39-unknown - ;; - tx39el) - basic_machine=mipstx39el-unknown - ;; - toad1) - basic_machine=pdp10-xkl - os=-tops20 - ;; - tower | tower-32) - basic_machine=m68k-ncr - ;; - udi29k) - basic_machine=a29k-amd - os=-udi - ;; - ultra3) - basic_machine=a29k-nyu - os=-sym1 - ;; - v810 | necv810) - basic_machine=v810-nec - os=-none - ;; - vaxv) - basic_machine=vax-dec - os=-sysv - ;; - vms) - basic_machine=vax-dec - os=-vms - ;; - vpp*|vx|vx-*) - basic_machine=f301-fujitsu - ;; - vxworks960) - basic_machine=i960-wrs - os=-vxworks - ;; - vxworks68) - basic_machine=m68k-wrs - os=-vxworks - ;; - vxworks29k) - basic_machine=a29k-wrs - os=-vxworks - ;; - w65*) - basic_machine=w65-wdc - os=-none - ;; - w89k-*) - basic_machine=hppa1.1-winbond - os=-proelf - ;; - windows32) - basic_machine=i386-pc - os=-windows32-msvcrt - ;; - xps | xps100) - basic_machine=xps100-honeywell - ;; - ymp) - basic_machine=ymp-cray - os=-unicos - ;; - z8k-*-coff) - basic_machine=z8k-unknown - os=-sim - ;; - none) - basic_machine=none-none - os=-none - ;; - -# Here we handle the default manufacturer of certain CPU types. It is in -# some cases the only manufacturer, in others, it is the most popular. - w89k) - basic_machine=hppa1.1-winbond - ;; - op50n) - basic_machine=hppa1.1-oki - ;; - op60c) - basic_machine=hppa1.1-oki - ;; - romp) - basic_machine=romp-ibm - ;; - rs6000) - basic_machine=rs6000-ibm - ;; - vax) - basic_machine=vax-dec - ;; - pdp10) - # there are many clones, so DEC is not a safe bet - basic_machine=pdp10-unknown - ;; - pdp11) - basic_machine=pdp11-dec - ;; - we32k) - basic_machine=we32k-att - ;; - sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele) - basic_machine=sh-unknown - ;; - sh64) - basic_machine=sh64-unknown - ;; - sparc | sparcv9 | sparcv9b) - basic_machine=sparc-sun - ;; - cydra) - basic_machine=cydra-cydrome - ;; - orion) - basic_machine=orion-highlevel - ;; - orion105) - basic_machine=clipper-highlevel - ;; - mac | mpw | mac-mpw) - basic_machine=m68k-apple - ;; - pmac | pmac-mpw) - basic_machine=powerpc-apple - ;; - c4x*) - basic_machine=c4x-none - os=-coff - ;; - *-unknown) - # Make sure to match an already-canonicalized machine name. - ;; - *) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; -esac - -# Here we canonicalize certain aliases for manufacturers. -case $basic_machine in - *-digital*) - basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` - ;; - *-commodore*) - basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` - ;; - *) - ;; -esac - -# Decode manufacturer-specific aliases for certain operating systems. - -if [ x"$os" != x"" ] -then -case $os in - # First match some system type aliases - # that might get confused with valid system types. - # -solaris* is a basic system type, with this one exception. - -solaris1 | -solaris1.*) - os=`echo $os | sed -e 's|solaris1|sunos4|'` - ;; - -solaris) - os=-solaris2 - ;; - -svr4*) - os=-sysv4 - ;; - -unixware*) - os=-sysv4.2uw - ;; - -gnu/linux*) - os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` - ;; - # First accept the basic system types. - # The portable systems comes first. - # Each alternative MUST END IN A *, to match a version number. - # -sysv* is not here because it comes later, after sysvr4. - -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* \ - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ - | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ - | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ - | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ - | -chorusos* | -chorusrdb* \ - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ - | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ - | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ - | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ - | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ - | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* | -powermax*) - # Remember, each alternative MUST END IN *, to match a version number. - ;; - -qnx*) - case $basic_machine in - x86-* | i*86-*) - ;; - *) - os=-nto$os - ;; - esac - ;; - -nto*) - os=-nto-qnx - ;; - -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ - | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ - | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) - ;; - -mac*) - os=`echo $os | sed -e 's|mac|macos|'` - ;; - -linux*) - os=`echo $os | sed -e 's|linux|linux-gnu|'` - ;; - -sunos5*) - os=`echo $os | sed -e 's|sunos5|solaris2|'` - ;; - -sunos6*) - os=`echo $os | sed -e 's|sunos6|solaris3|'` - ;; - -opened*) - os=-openedition - ;; - -wince*) - os=-wince - ;; - -osfrose*) - os=-osfrose - ;; - -osf*) - os=-osf - ;; - -utek*) - os=-bsd - ;; - -dynix*) - os=-bsd - ;; - -acis*) - os=-aos - ;; - -atheos*) - os=-atheos - ;; - -386bsd) - os=-bsd - ;; - -ctix* | -uts*) - os=-sysv - ;; - -nova*) - os=-rtmk-nova - ;; - -ns2 ) - os=-nextstep2 - ;; - -nsk*) - os=-nsk - ;; - # Preserve the version number of sinix5. - -sinix5.*) - os=`echo $os | sed -e 's|sinix|sysv|'` - ;; - -sinix*) - os=-sysv4 - ;; - -triton*) - os=-sysv3 - ;; - -oss*) - os=-sysv3 - ;; - -svr4) - os=-sysv4 - ;; - -svr3) - os=-sysv3 - ;; - -sysvr4) - os=-sysv4 - ;; - # This must come after -sysvr4. - -sysv*) - ;; - -ose*) - os=-ose - ;; - -es1800*) - os=-ose - ;; - -xenix) - os=-xenix - ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) - os=-mint - ;; - -none) - ;; - *) - # Get rid of the `-' at the beginning of $os. - os=`echo $os | sed 's/[^-]*-//'` - echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 - exit 1 - ;; -esac -else - -# Here we handle the default operating systems that come with various machines. -# The value should be what the vendor currently ships out the door with their -# machine or put another way, the most popular os provided with the machine. - -# Note that if you're going to try to match "-MANUFACTURER" here (say, -# "-sun"), then you have to tell the case statement up towards the top -# that MANUFACTURER isn't an operating system. Otherwise, code above -# will signal an error saying that MANUFACTURER isn't an operating -# system, and we'll never get to this point. - -case $basic_machine in - *-acorn) - os=-riscix1.2 - ;; - arm*-rebel) - os=-linux - ;; - arm*-semi) - os=-aout - ;; - # This must come before the *-dec entry. - pdp10-*) - os=-tops20 - ;; - pdp11-*) - os=-none - ;; - *-dec | vax-*) - os=-ultrix4.2 - ;; - m68*-apollo) - os=-domain - ;; - i386-sun) - os=-sunos4.0.2 - ;; - m68000-sun) - os=-sunos3 - # This also exists in the configure program, but was not the - # default. - # os=-sunos4 - ;; - m68*-cisco) - os=-aout - ;; - mips*-cisco) - os=-elf - ;; - mips*-*) - os=-elf - ;; - or32-*) - os=-coff - ;; - *-tti) # must be before sparc entry or we get the wrong os. - os=-sysv3 - ;; - sparc-* | *-sun) - os=-sunos4.1.1 - ;; - *-be) - os=-beos - ;; - *-ibm) - os=-aix - ;; - *-wec) - os=-proelf - ;; - *-winbond) - os=-proelf - ;; - *-oki) - os=-proelf - ;; - *-hp) - os=-hpux - ;; - *-hitachi) - os=-hiux - ;; - i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) - os=-sysv - ;; - *-cbm) - os=-amigaos - ;; - *-dg) - os=-dgux - ;; - *-dolphin) - os=-sysv3 - ;; - m68k-ccur) - os=-rtu - ;; - m88k-omron*) - os=-luna - ;; - *-next ) - os=-nextstep - ;; - *-sequent) - os=-ptx - ;; - *-crds) - os=-unos - ;; - *-ns) - os=-genix - ;; - i370-*) - os=-mvs - ;; - *-next) - os=-nextstep3 - ;; - *-gould) - os=-sysv - ;; - *-highlevel) - os=-bsd - ;; - *-encore) - os=-bsd - ;; - *-sgi) - os=-irix - ;; - *-siemens) - os=-sysv4 - ;; - *-masscomp) - os=-rtu - ;; - f30[01]-fujitsu | f700-fujitsu) - os=-uxpv - ;; - *-rom68k) - os=-coff - ;; - *-*bug) - os=-coff - ;; - *-apple) - os=-macos - ;; - *-atari*) - os=-mint - ;; - *) - os=-none - ;; -esac -fi - -# Here we handle the case where we know the os, and the CPU type, but not the -# manufacturer. We pick the logical manufacturer. -vendor=unknown -case $basic_machine in - *-unknown) - case $os in - -riscix*) - vendor=acorn - ;; - -sunos*) - vendor=sun - ;; - -aix*) - vendor=ibm - ;; - -beos*) - vendor=be - ;; - -hpux*) - vendor=hp - ;; - -mpeix*) - vendor=hp - ;; - -hiux*) - vendor=hitachi - ;; - -unos*) - vendor=crds - ;; - -dgux*) - vendor=dg - ;; - -luna*) - vendor=omron - ;; - -genix*) - vendor=ns - ;; - -mvs* | -opened*) - vendor=ibm - ;; - -ptx*) - vendor=sequent - ;; - -vxsim* | -vxworks* | -windiss*) - vendor=wrs - ;; - -aux*) - vendor=apple - ;; - -hms*) - vendor=hitachi - ;; - -mpw* | -macos*) - vendor=apple - ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) - vendor=atari - ;; - -vos*) - vendor=stratus - ;; - esac - basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` - ;; -esac - -echo $basic_machine$os -exit 0 - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" -# time-stamp-end: "'" -# End: diff --git a/Libraries/libtheora-1.1.1/configure b/Libraries/libtheora-1.1.1/configure deleted file mode 100644 index 9703bcba..00000000 --- a/Libraries/libtheora-1.1.1/configure +++ /dev/null @@ -1,16495 +0,0 @@ -#! /bin/sh -# Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.63 for libtheora 1.1.1. -# -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - - - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } -fi - -# Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - - -# Name of the executable. -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# CDPATH. -$as_unset CDPATH - - -if test "x$CONFIG_SHELL" = x; then - if (eval ":") 2>/dev/null; then - as_have_required=yes -else - as_have_required=no -fi - - if test $as_have_required = yes && (eval ": -(as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test \$exitcode = 0) || { (exit 1); exit 1; } - -( - as_lineno_1=\$LINENO - as_lineno_2=\$LINENO - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } -") 2> /dev/null; then - : -else - as_candidate_shells= - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - case $as_dir in - /*) - for as_base in sh bash ksh sh5; do - as_candidate_shells="$as_candidate_shells $as_dir/$as_base" - done;; - esac -done -IFS=$as_save_IFS - - - for as_shell in $as_candidate_shells $SHELL; do - # Try only shells that exist, to save several forks. - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { ("$as_shell") 2> /dev/null <<\_ASEOF -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - -: -_ASEOF -}; then - CONFIG_SHELL=$as_shell - as_have_required=yes - if { "$as_shell" 2> /dev/null <<\_ASEOF -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - -: -(as_func_return () { - (exit $1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = "$1" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test $exitcode = 0) || { (exit 1); exit 1; } - -( - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } - -_ASEOF -}; then - break -fi - -fi - - done - - if test "x$CONFIG_SHELL" != x; then - for as_var in BASH_ENV ENV - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var - done - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} -fi - - - if test $as_have_required = no; then - echo This script requires a shell more modern than all the - echo shells that I found on your system. Please install a - echo modern shell, or manually run the script under such a - echo shell if you do have one. - { (exit 1); exit 1; } -fi - - -fi - -fi - - - -(eval "as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test \$exitcode = 0") || { - echo No shell found that supports shell functions. - echo Please tell bug-autoconf@gnu.org about your system, - echo including any error possibly output before this message. - echo This can help us improve future autoconf versions. - echo Configuration will now proceed without shell functions. -} - - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line after each line using $LINENO; the second 'sed' - # does the real work. The second script uses 'N' to pair each - # line-number line with the line containing $LINENO, and appends - # trailing '-' during substitution so that $LINENO is not a special - # case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # scripts with optimization help from Paolo Bonzini. Blame Lee - # E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in --n*) - case `echo 'x\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - *) ECHO_C='\c';; - esac;; -*) - ECHO_N='-n';; -esac -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p=: -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - - - -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} - -case X$lt_ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` - ;; -esac - -ECHO=${lt_ECHO-echo} -if test "X$1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X$1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then - # Yippee, $ECHO works! - : -else - # Restart under the correct shell. - exec $SHELL "$0" --no-reexec ${1+"$@"} -fi - -if test "X$1" = X--fallback-echo; then - # used as fallback echo - shift - cat <<_LT_EOF -$* -_LT_EOF - exit 0 -fi - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -if test -z "$lt_ECHO"; then - if test "X${echo_test_string+set}" != Xset; then - # find a string as large as possible, as long as the shell can cope with it - for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... - if { echo_test_string=`eval $cmd`; } 2>/dev/null && - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null - then - break - fi - done - fi - - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - : - else - # The Solaris, AIX, and Digital Unix default echo programs unquote - # backslashes. This makes it impossible to quote backslashes using - # echo "$something" | sed 's/\\/\\\\/g' - # - # So, first we look for a working echo in the user's PATH. - - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for dir in $PATH /usr/ucb; do - IFS="$lt_save_ifs" - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - ECHO="$dir/echo" - break - fi - done - IFS="$lt_save_ifs" - - if test "X$ECHO" = Xecho; then - # We didn't find a better echo, so look for alternatives. - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # This shell has a builtin print -r that does the trick. - ECHO='print -r' - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && - test "X$CONFIG_SHELL" != X/bin/ksh; then - # If we have ksh, try running configure again with it. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} - export ORIGINAL_CONFIG_SHELL - CONFIG_SHELL=/bin/ksh - export CONFIG_SHELL - exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} - else - # Try using printf. - ECHO='printf %s\n' - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # Cool, printf works - : - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL - export CONFIG_SHELL - SHELL="$CONFIG_SHELL" - export SHELL - ECHO="$CONFIG_SHELL $0 --fallback-echo" - elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - ECHO="$CONFIG_SHELL $0 --fallback-echo" - else - # maybe with a smaller string... - prev=: - - for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null - then - break - fi - prev="$cmd" - done - - if test "$prev" != 'sed 50q "$0"'; then - echo_test_string=`eval $prev` - export echo_test_string - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} - else - # Oops. We lost completely, so just stick with echo. - ECHO=echo - fi - fi - fi - fi - fi -fi - -# Copy echo and quote the copy suitably for passing to libtool from -# the Makefile, instead of quoting the original, which is used later. -lt_ECHO=$ECHO -if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then - lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" -fi - - - - -exec 7<&0 &1 - -# Name of the host. -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, -# so uname gets run too. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` - -# -# Initializations. -# -ac_default_prefix=/usr/local -ac_clean_files= -ac_config_libobj_dir=. -LIBOBJS= -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} - -# Identity of this package. -PACKAGE_NAME='libtheora' -PACKAGE_TARNAME='libtheora' -PACKAGE_VERSION='1.1.1' -PACKAGE_STRING='libtheora 1.1.1' -PACKAGE_BUGREPORT='' - -ac_unique_file="lib/fdct.c" -# Factoring default headers for most tests. -ac_includes_default="\ -#include -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_STAT_H -# include -#endif -#ifdef STDC_HEADERS -# include -# include -#else -# ifdef HAVE_STDLIB_H -# include -# endif -#endif -#ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include -# endif -# include -#endif -#ifdef HAVE_STRINGS_H -# include -#endif -#ifdef HAVE_INTTYPES_H -# include -#endif -#ifdef HAVE_STDINT_H -# include -#endif -#ifdef HAVE_UNISTD_H -# include -#endif" - -ac_subst_vars='DOCDIR -BINDIR -INCLUDEDIR -LIBDIR -LTLIBOBJS -LIBOBJS -PROFILE -DEBUG -BUILDABLE_EXAMPLES -GETOPT_OBJS -THEORA_ENABLE_EXAMPLES_FALSE -THEORA_ENABLE_EXAMPLES_TRUE -THEORA_DISABLE_ENCODE_FALSE -THEORA_DISABLE_ENCODE_TRUE -THEORA_DISABLE_FLOAT_FALSE -THEORA_DISABLE_FLOAT_TRUE -CAIRO_LIBS -CAIRO_CFLAGS -PNG_LIBS -PNG_CFLAGS -OSS_LIBS -SDL_LIBS -SDL_CFLAGS -SDL_CONFIG -VORBISFILE_LIBS -VORBISENC_LIBS -VORBIS_LIBS -VORBIS_CFLAGS -OGG_LIBS -OGG_CFLAGS -PKG_CONFIG -HAVE_PKG_CONFIG -THEORA_LDFLAGS -THEORAENC_LDFLAGS -THEORADEC_LDFLAGS -CPU_x86_32_FALSE -CPU_x86_32_TRUE -CPU_x86_64_FALSE -CPU_x86_64_TRUE -VALGRIND_ENVIRONMENT -HAVE_VALGRIND -BUILD_SPEC_FALSE -BUILD_SPEC_TRUE -HAVE_TRANSFIG -HAVE_BIBTEX -HAVE_PDFLATEX -HAVE_DOXYGEN_FALSE -HAVE_DOXYGEN_TRUE -HAVE_DOXYGEN -ACLOCAL_AMFLAGS -OTOOL64 -OTOOL -LIPO -NMEDIT -DSYMUTIL -lt_ECHO -RANLIB -AR -LN_S -NM -ac_ct_DUMPBIN -DUMPBIN -LD -FGREP -EGREP -GREP -SED -LIBTOOL -OBJDUMP -DLLTOOL -AS -CPP -CCDEPMODE -AMDEPBACKSLASH -AMDEP_FALSE -AMDEP_TRUE -am__quote -am__include -DEPDIR -OBJEXT -EXEEXT -ac_ct_CC -CPPFLAGS -LDFLAGS -CFLAGS -CC -THENC_LIB_AGE -THENC_LIB_REVISION -THENC_LIB_CURRENT -THDEC_LIB_AGE -THDEC_LIB_REVISION -THDEC_LIB_CURRENT -TH_LIB_AGE -TH_LIB_REVISION -TH_LIB_CURRENT -MAINT -MAINTAINER_MODE_FALSE -MAINTAINER_MODE_TRUE -SET_MAKE -AWK -INSTALL_STRIP_PROGRAM -STRIP -install_sh -AMTAR -MAKEINFO -AUTOHEADER -AUTOMAKE -AUTOCONF -ACLOCAL -VERSION -PACKAGE -INSTALL_DATA -INSTALL_SCRIPT -INSTALL_PROGRAM -target_os -target_vendor -target_cpu -target -host_os -host_vendor -host_cpu -host -build_os -build_vendor -build_cpu -build -target_alias -host_alias -build_alias -LIBS -ECHO_T -ECHO_N -ECHO_C -DEFS -mandir -localedir -libdir -psdir -pdfdir -dvidir -htmldir -infodir -docdir -oldincludedir -includedir -localstatedir -sharedstatedir -sysconfdir -datadir -datarootdir -libexecdir -sbindir -bindir -program_transform_name -prefix -exec_prefix -PACKAGE_BUGREPORT -PACKAGE_STRING -PACKAGE_VERSION -PACKAGE_TARNAME -PACKAGE_NAME -PATH_SEPARATOR -SHELL' -ac_subst_files='' -ac_user_opts=' -enable_option_checking -enable_maintainer_mode -enable_dependency_tracking -enable_shared -enable_static -with_pic -enable_fast_install -with_gnu_ld -enable_libtool_lock -enable_spec -enable_valgrind_testing -enable_asm -with_ogg -with_ogg_libraries -with_ogg_includes -enable_oggtest -with_vorbis -with_vorbis_libraries -with_vorbis_includes -enable_vorbistest -with_sdl_prefix -with_sdl_exec_prefix -enable_sdltest -enable_telemetry -enable_float -enable_encode -enable_examples -' - ac_precious_vars='build_alias -host_alias -target_alias -CC -CFLAGS -LDFLAGS -LIBS -CPPFLAGS -CPP -PKG_CONFIG -OGG_CFLAGS -OGG_LIBS -VORBIS_CFLAGS -VORBIS_LIBS -PNG_CFLAGS -PNG_LIBS -CAIRO_CFLAGS -CAIRO_LIBS' - - -# Initialize some variables set by options. -ac_init_help= -ac_init_version=false -ac_unrecognized_opts= -ac_unrecognized_sep= -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=/dev/null -exec_prefix=NONE -no_create= -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -verbose= -x_includes=NONE -x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -# (The list follows the same order as the GNU Coding Standards.) -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datarootdir='${prefix}/share' -datadir='${datarootdir}' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -includedir='${prefix}/include' -oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' -infodir='${datarootdir}/info' -htmldir='${docdir}' -dvidir='${docdir}' -pdfdir='${docdir}' -psdir='${docdir}' -libdir='${exec_prefix}/lib' -localedir='${datarootdir}/locale' -mandir='${datarootdir}/man' - -ac_prev= -ac_dashdash= -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval $ac_prev=\$ac_option - ac_prev= - continue - fi - - case $ac_option in - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *) ac_optarg=yes ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case $ac_dashdash$ac_option in - --) - ac_dashdash=yes ;; - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; - - -datadir | --datadir | --datadi | --datad) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=*) - datadir=$ac_optarg ;; - - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ - | --dataroo | --dataro | --datar) - ac_prev=datarootdir ;; - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) - datarootdir=$ac_optarg ;; - - -disable-* | --disable-*) - ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=no ;; - - -docdir | --docdir | --docdi | --doc | --do) - ac_prev=docdir ;; - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) - docdir=$ac_optarg ;; - - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) - ac_prev=dvidir ;; - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) - dvidir=$ac_optarg ;; - - -enable-* | --enable-*) - ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=\$ac_optarg ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; - - -host | --host | --hos | --ho) - ac_prev=host_alias ;; - -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; - - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) - ac_prev=htmldir ;; - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ - | --ht=*) - htmldir=$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; - - -localedir | --localedir | --localedi | --localed | --locale) - ac_prev=localedir ;; - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) - localedir=$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst | --locals) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) - localstatedir=$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; - - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) - ac_prev=pdfdir ;; - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) - pdfdir=$ac_optarg ;; - - -psdir | --psdir | --psdi | --psd | --ps) - ac_prev=psdir ;; - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) - psdir=$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site=$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; - - -with-* | --with-*) - ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=\$ac_optarg ;; - - -without-* | --without-*) - ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=no ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries=$ac_optarg ;; - - -*) { $as_echo "$as_me: error: unrecognized option: $ac_option -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } - ;; - - *=*) - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` - # Reject names that are not valid shell variable names. - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 - { (exit 1); exit 1; }; } - eval $ac_envvar=\$ac_optarg - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - { $as_echo "$as_me: error: missing argument to $ac_option" >&2 - { (exit 1); exit 1; }; } -fi - -if test -n "$ac_unrecognized_opts"; then - case $enable_option_checking in - no) ;; - fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 - { (exit 1); exit 1; }; } ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; - esac -fi - -# Check all directory arguments for consistency. -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ - datadir sysconfdir sharedstatedir localstatedir includedir \ - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir -do - eval ac_val=\$$ac_var - # Remove trailing slashes. - case $ac_val in - */ ) - ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` - eval $ac_var=\$ac_val;; - esac - # Be sure to have absolute directory names. - case $ac_val in - [\\/$]* | ?:[\\/]* ) continue;; - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; - esac - { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 - { (exit 1); exit 1; }; } -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: To remove some day. -if test "x$host_alias" != x; then - if test "x$build_alias" = x; then - cross_compiling=maybe - $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used." >&2 - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi - -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- - -test "$silent" = yes && exec 6>/dev/null - - -ac_pwd=`pwd` && test -n "$ac_pwd" && -ac_ls_di=`ls -di .` && -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - { $as_echo "$as_me: error: working directory cannot be determined" >&2 - { (exit 1); exit 1; }; } -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 - { (exit 1); exit 1; }; } - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then the parent directory. - ac_confdir=`$as_dirname -- "$as_myself" || -$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_myself" : 'X\(//\)[^/]' \| \ - X"$as_myself" : 'X\(//\)$' \| \ - X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - srcdir=$ac_confdir - if test ! -r "$srcdir/$ac_unique_file"; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r "$srcdir/$ac_unique_file"; then - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 - { (exit 1); exit 1; }; } -fi -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" -ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 - { (exit 1); exit 1; }; } - pwd)` -# When building in place, set srcdir=. -if test "$ac_abs_confdir" = "$ac_pwd"; then - srcdir=. -fi -# Remove unnecessary trailing slashes from srcdir. -# Double slashes in file names in object file debugging info -# mess up M-x gdb in Emacs. -case $srcdir in -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; -esac -for ac_var in $ac_precious_vars; do - eval ac_env_${ac_var}_set=\${${ac_var}+set} - eval ac_env_${ac_var}_value=\$${ac_var} - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} - eval ac_cv_env_${ac_var}_value=\$${ac_var} -done - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <<_ACEOF -\`configure' configures libtheora 1.1.1 to adapt to many kinds of systems. - -Usage: $0 [OPTION]... [VAR=VALUE]... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=VALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --help=short display options specific to this package - --help=recursive display the short help of all the included packages - -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking...' messages - --cache-file=FILE cache test results in FILE [disabled] - -C, --config-cache alias for \`--cache-file=config.cache' - -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR [configure dir or \`..'] - -Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [PREFIX] - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] - --infodir=DIR info documentation [DATAROOTDIR/info] - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] - --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root [DATAROOTDIR/doc/libtheora] - --htmldir=DIR html documentation [DOCDIR] - --dvidir=DIR dvi documentation [DOCDIR] - --pdfdir=DIR pdf documentation [DOCDIR] - --psdir=DIR ps documentation [DOCDIR] -_ACEOF - - cat <<\_ACEOF - -Program names: - --program-prefix=PREFIX prepend PREFIX to installed program names - --program-suffix=SUFFIX append SUFFIX to installed program names - --program-transform-name=PROGRAM run sed PROGRAM on installed program names - -System types: - --build=BUILD configure for building on BUILD [guessed] - --host=HOST cross-compile to build programs to run on HOST [BUILD] - --target=TARGET configure for building compilers for TARGET [HOST] -_ACEOF -fi - -if test -n "$ac_init_help"; then - case $ac_init_help in - short | recursive ) echo "Configuration of libtheora 1.1.1:";; - esac - cat <<\_ACEOF - -Optional Features: - --disable-option-checking ignore unrecognized --enable/--with options - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --enable-maintainer-mode enable make rules and dependencies not useful - (and sometimes confusing) to the casual installer - --disable-dependency-tracking Speeds up one-time builds - --enable-dependency-tracking Do not reject slow dependency extractors - --enable-shared[=PKGS] build shared libraries [default=yes] - --enable-static[=PKGS] build static libraries [default=yes] - --enable-fast-install[=PKGS] - optimize for fast installation [default=yes] - --disable-libtool-lock avoid locking (might break parallel builds) - --disable-spec do not build spec - --enable-valgrind-testing enable running of tests inside Valgrind - --disable-asm disable assembly optimizations - --disable-oggtest Do not try to compile and run a test Ogg program - --disable-vorbistest Do not try to compile and run a test Vorbis program - --disable-sdltest Do not try to compile and run a test SDL program - --enable-telemetry enable debugging output controls - --disable-float disable use of floating point code - --disable-encode disable encoding support - --disable-examples disable examples - -Optional Packages: - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-pic try to use only PIC/non-PIC objects [default=use - both] - --with-gnu-ld assume the C compiler uses GNU ld [default=no] - --with-ogg=PFX Prefix where libogg is installed (optional) - --with-ogg-libraries=DIR - Directory where libogg library is installed - (optional) - --with-ogg-includes=DIR Directory where libogg header files are installed - (optional) - --with-vorbis=PFX Prefix where libvorbis is installed (optional) - --with-vorbis-libraries=DIR Directory where libvorbis library is installed (optional) - --with-vorbis-includes=DIR Directory where libvorbis header files are installed (optional) - --with-sdl-prefix=PFX Prefix where SDL is installed (optional) - --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional) - -Some influential environment variables: - CC C compiler command - CFLAGS C compiler flags - LDFLAGS linker flags, e.g. -L if you have libraries in a - nonstandard directory - LIBS libraries to pass to the linker, e.g. -l - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if - you have headers in a nonstandard directory - CPP C preprocessor - PKG_CONFIG path to pkg-config utility - OGG_CFLAGS C compiler flags for OGG, overriding pkg-config - OGG_LIBS linker flags for OGG, overriding pkg-config - VORBIS_CFLAGS - C compiler flags for VORBIS, overriding pkg-config - VORBIS_LIBS linker flags for VORBIS, overriding pkg-config - PNG_CFLAGS C compiler flags for PNG, overriding pkg-config - PNG_LIBS linker flags for PNG, overriding pkg-config - CAIRO_CFLAGS - C compiler flags for CAIRO, overriding pkg-config - CAIRO_LIBS linker flags for CAIRO, overriding pkg-config - -Use these variables to override the choices made by `configure' or to help -it to find libraries and programs with nonstandard names/locations. - -_ACEOF -ac_status=$? -fi - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || - continue - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. - if test -f "$ac_srcdir/configure.gnu"; then - echo && - $SHELL "$ac_srcdir/configure.gnu" --help=recursive - elif test -f "$ac_srcdir/configure"; then - echo && - $SHELL "$ac_srcdir/configure" --help=recursive - else - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi || ac_status=$? - cd "$ac_pwd" || { ac_status=$?; break; } - done -fi - -test -n "$ac_init_help" && exit $ac_status -if $ac_init_version; then - cat <<\_ACEOF -libtheora configure 1.1.1 -generated by GNU Autoconf 2.63 - -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -_ACEOF - exit -fi -cat >config.log <<_ACEOF -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by libtheora $as_me 1.1.1, which was -generated by GNU Autoconf 2.63. Invocation command line was - - $ $0 $@ - -_ACEOF -exec 5>>config.log -{ -cat <<_ASUNAME -## --------- ## -## Platform. ## -## --------- ## - -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` - -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` - -_ASUNAME - -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - $as_echo "PATH: $as_dir" -done -IFS=$as_save_IFS - -} >&5 - -cat >&5 <<_ACEOF - - -## ----------- ## -## Core tests. ## -## ----------- ## - -_ACEOF - - -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Strip out --silent because we don't want to record it for future runs. -# Also quote any args containing shell meta-characters. -# Make two passes to allow for proper duplicate-argument suppression. -ac_configure_args= -ac_configure_args0= -ac_configure_args1= -ac_must_keep_next=false -for ac_pass in 1 2 -do - for ac_arg - do - case $ac_arg in - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - continue ;; - *\'*) - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - case $ac_pass in - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; - 2) - ac_configure_args1="$ac_configure_args1 '$ac_arg'" - if test $ac_must_keep_next = true; then - ac_must_keep_next=false # Got value, back to normal. - else - case $ac_arg in - *=* | --config-cache | -C | -disable-* | --disable-* \ - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ - | -with-* | --with-* | -without-* | --without-* | --x) - case "$ac_configure_args0 " in - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; - esac - ;; - -* ) ac_must_keep_next=true ;; - esac - fi - ac_configure_args="$ac_configure_args '$ac_arg'" - ;; - esac - done -done -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } - -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# WARNING: Use '\'' to represent an apostrophe within the trap. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. -trap 'exit_status=$? - # Save into config.log some information that might help in debugging. - { - echo - - cat <<\_ASBOX -## ---------------- ## -## Cache variables. ## -## ---------------- ## -_ASBOX - echo - # The following way of writing the cache mishandles newlines in values, -( - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) $as_unset $ac_var ;; - esac ;; - esac - done - (set) 2>&1 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - sed -n \ - "s/'\''/'\''\\\\'\'''\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" - ;; #( - *) - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) - echo - - cat <<\_ASBOX -## ----------------- ## -## Output variables. ## -## ----------------- ## -_ASBOX - echo - for ac_var in $ac_subst_vars - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - - if test -n "$ac_subst_files"; then - cat <<\_ASBOX -## ------------------- ## -## File substitutions. ## -## ------------------- ## -_ASBOX - echo - for ac_var in $ac_subst_files - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - fi - - if test -s confdefs.h; then - cat <<\_ASBOX -## ----------- ## -## confdefs.h. ## -## ----------- ## -_ASBOX - echo - cat confdefs.h - echo - fi - test "$ac_signal" != 0 && - $as_echo "$as_me: caught signal $ac_signal" - $as_echo "$as_me: exit $exit_status" - } >&5 - rm -f core *.core core.conftest.* && - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && - exit $exit_status -' 0 -for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal -done -ac_signal=0 - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -f -r conftest* confdefs.h - -# Predefined preprocessor variables. - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF - - -# Let the site file select an alternate cache file if it wants to. -# Prefer an explicitly selected file to automatically selected ones. -ac_site_file1=NONE -ac_site_file2=NONE -if test -n "$CONFIG_SITE"; then - ac_site_file1=$CONFIG_SITE -elif test "x$prefix" != xNONE; then - ac_site_file1=$prefix/share/config.site - ac_site_file2=$prefix/etc/config.site -else - ac_site_file1=$ac_default_prefix/share/config.site - ac_site_file2=$ac_default_prefix/etc/config.site -fi -for ac_site_file in "$ac_site_file1" "$ac_site_file2" -do - test "x$ac_site_file" = xNONE && continue - if test -r "$ac_site_file"; then - { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 -$as_echo "$as_me: loading site script $ac_site_file" >&6;} - sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special - # files actually), so we avoid doing that. - if test -f "$cache_file"; then - { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 -$as_echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - [\\/]* | ?:[\\/]* ) . "$cache_file";; - *) . "./$cache_file";; - esac - fi -else - { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 -$as_echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=false -for ac_var in $ac_precious_vars; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val=\$ac_cv_env_${ac_var}_value - eval ac_new_val=\$ac_env_${ac_var}_value - case $ac_old_set,$ac_new_set in - set,) - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,set) - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,);; - *) - if test "x$ac_old_val" != "x$ac_new_val"; then - # differences in whitespace do not lead to failure. - ac_old_val_w=`echo x $ac_old_val` - ac_new_val_w=`echo x $ac_new_val` - if test "$ac_old_val_w" != "$ac_new_val_w"; then - { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - ac_cache_corrupted=: - else - { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} - eval $ac_var=\$ac_old_val - fi - { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} - fi;; - esac - # Pass precious variables to config.status. - if test "$ac_new_set" = set; then - case $ac_new_val in - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; - *) ac_arg=$ac_var=$ac_new_val ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; - esac - fi -done -if $ac_cache_corrupted; then - { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} - { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 -$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} - { (exit 1); exit 1; }; } -fi - - - - - - - - - - - - - - - - - - - - - - - - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - -ac_aux_dir= -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do - if test -f "$ac_dir/install-sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f "$ac_dir/install.sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - elif test -f "$ac_dir/shtool"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/shtool install -c" - break - fi -done -if test -z "$ac_aux_dir"; then - { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 -$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} - { (exit 1); exit 1; }; } -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - -# Make sure we can run config.sub. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 -$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} - { (exit 1); exit 1; }; } - -{ $as_echo "$as_me:$LINENO: checking build system type" >&5 -$as_echo_n "checking build system type... " >&6; } -if test "${ac_cv_build+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_build_alias=$build_alias -test "x$ac_build_alias" = x && - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` -test "x$ac_build_alias" = x && - { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 -$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} - { (exit 1); exit 1; }; } -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 -$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} - { (exit 1); exit 1; }; } - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 -$as_echo "$ac_cv_build" >&6; } -case $ac_cv_build in -*-*-*) ;; -*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 -$as_echo "$as_me: error: invalid value of canonical build" >&2;} - { (exit 1); exit 1; }; };; -esac -build=$ac_cv_build -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_build -shift -build_cpu=$1 -build_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -build_os=$* -IFS=$ac_save_IFS -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac - - -{ $as_echo "$as_me:$LINENO: checking host system type" >&5 -$as_echo_n "checking host system type... " >&6; } -if test "${ac_cv_host+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test "x$host_alias" = x; then - ac_cv_host=$ac_cv_build -else - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || - { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 -$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} - { (exit 1); exit 1; }; } -fi - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 -$as_echo "$ac_cv_host" >&6; } -case $ac_cv_host in -*-*-*) ;; -*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 -$as_echo "$as_me: error: invalid value of canonical host" >&2;} - { (exit 1); exit 1; }; };; -esac -host=$ac_cv_host -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_host -shift -host_cpu=$1 -host_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -host_os=$* -IFS=$ac_save_IFS -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac - - -{ $as_echo "$as_me:$LINENO: checking target system type" >&5 -$as_echo_n "checking target system type... " >&6; } -if test "${ac_cv_target+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test "x$target_alias" = x; then - ac_cv_target=$ac_cv_host -else - ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || - { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 -$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} - { (exit 1); exit 1; }; } -fi - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 -$as_echo "$ac_cv_target" >&6; } -case $ac_cv_target in -*-*-*) ;; -*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 -$as_echo "$as_me: error: invalid value of canonical target" >&2;} - { (exit 1); exit 1; }; };; -esac -target=$ac_cv_target -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_target -shift -target_cpu=$1 -target_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -target_os=$* -IFS=$ac_save_IFS -case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac - - -# The aliases save the names the user supplied, while $host etc. -# will get canonicalized. -test -n "$target_alias" && - test "$program_prefix$program_suffix$program_transform_name" = \ - NONENONEs,x,x, && - program_prefix=${target_alias}- - -# Add the stamp file to the list of files AC keeps track of, -# along with our hook. -ac_config_headers="$ac_config_headers config.h" - - - - -am__api_version="1.6" -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# OS/2's system install, which has a completely different semantic -# ./install, which can be erroneously created by make from ./install.sh. -# Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 -$as_echo_n "checking for a BSD-compatible install... " >&6; } -if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in - ./ | .// | /cC/* | \ - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ - /usr/ucb/* ) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then - if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : - else - rm -rf conftest.one conftest.two conftest.dir - echo one > conftest.one - echo two > conftest.two - mkdir conftest.dir - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && - test -s conftest.one && test -s conftest.two && - test -s conftest.dir/conftest.one && - test -s conftest.dir/conftest.two - then - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 - fi - fi - fi - done - done - ;; -esac - -done -IFS=$as_save_IFS - -rm -rf conftest.one conftest.two conftest.dir - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install - else - # As a last resort, use the slow shell script. Don't cache a - # value for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - INSTALL=$ac_install_sh - fi -fi -{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - -{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 -$as_echo_n "checking whether build environment is sane... " >&6; } -# Just in case -sleep 1 -echo timestamp > conftest.file -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t $srcdir/configure conftest.file` - fi - rm -f conftest.file - if test "$*" != "X $srcdir/configure conftest.file" \ - && test "$*" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken -alias in your environment" >&5 -$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken -alias in your environment" >&2;} - { (exit 1); exit 1; }; } - fi - - test "$2" = conftest.file - ) -then - # Ok. - : -else - { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! -Check your system clock" >&5 -$as_echo "$as_me: error: newly created file is older than distributed files! -Check your system clock" >&2;} - { (exit 1); exit 1; }; } -fi -{ $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } -test "$program_prefix" != NONE && - program_transform_name="s&^&$program_prefix&;$program_transform_name" -# Use a double $ so make ignores it. -test "$program_suffix" != NONE && - program_transform_name="s&\$&$program_suffix&;$program_transform_name" -# Double any \ or $. -# By default was `s,x,x', remove it if useless. -ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' -program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` - - -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` - -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" -# Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " -else - am_missing_run= - { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 -$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} -fi - -for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AWK+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { $as_echo "$as_me:$LINENO: result: $AWK" >&5 -$as_echo "$AWK" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AWK" && break -done - -{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } -set x ${MAKE-make} -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.make <<\_ACEOF -SHELL = /bin/sh -all: - @echo '@@@%%%=$(MAKE)=@@@%%%' -_ACEOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. -case `${MAKE-make} -f conftest.make 2>/dev/null` in - *@@@%%%=?*=@@@%%%*) - eval ac_cv_prog_make_${ac_make}_set=yes;; - *) - eval ac_cv_prog_make_${ac_make}_set=no;; -esac -rm -f conftest.make -fi -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - SET_MAKE= -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - SET_MAKE="MAKE=${MAKE-make}" -fi - - # test to see if srcdir already configured -if test "`cd $srcdir && pwd`" != "`pwd`" && - test -f $srcdir/config.status; then - { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 -$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} - { (exit 1); exit 1; }; } -fi - -# Define the identity of the package. - PACKAGE=libtheora - VERSION=1.1.1 - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE "$PACKAGE" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define VERSION "$VERSION" -_ACEOF - -# Some tools Automake needs. - -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} - - -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} - - -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} - - -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} - - -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} - - -AMTAR=${AMTAR-"${am_missing_run}tar"} - -install_sh=${install_sh-"$am_aux_dir/install-sh"} - -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -if test "$cross_compiling" != no; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_STRIP" = x; then - STRIP=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - STRIP=$ac_ct_STRIP - fi -else - STRIP="$ac_cv_prog_STRIP" -fi - -fi -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" - -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. - - - -{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 -$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } - # Check whether --enable-maintainer-mode was given. -if test "${enable_maintainer_mode+set}" = set; then - enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval -else - USE_MAINTAINER_MODE=no -fi - - { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 -$as_echo "$USE_MAINTAINER_MODE" >&6; } - - -if test $USE_MAINTAINER_MODE = yes; then - MAINTAINER_MODE_TRUE= - MAINTAINER_MODE_FALSE='#' -else - MAINTAINER_MODE_TRUE='#' - MAINTAINER_MODE_FALSE= -fi - - MAINT=$MAINTAINER_MODE_TRUE - - - - -TH_LIB_CURRENT=3 -TH_LIB_REVISION=10 -TH_LIB_AGE=3 - - - - -THDEC_LIB_CURRENT=2 -THDEC_LIB_REVISION=4 -THDEC_LIB_AGE=1 - - - - -THENC_LIB_CURRENT=2 -THENC_LIB_REVISION=2 -THENC_LIB_AGE=1 - - - - -THEORA_LDFLAGS="" - - -cflags_save="$CFLAGS" -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } - -# Provide some information about the compiler. -$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -{ (ac_try="$ac_compiler --version >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler --version >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -v >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler -v >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -V >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler -V >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` - -# The possible output files: -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" - -ac_rmfiles= -for ac_file in $ac_files -do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - * ) ac_rmfiles="$ac_rmfiles $ac_file";; - esac -done -rm -f $ac_rmfiles - -if { (ac_try="$ac_link_default" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link_default") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -# in a Makefile. We should not override ac_cv_exeext if it was cached, -# so that the user can short-circuit this test for compilers unknown to -# Autoconf. -for ac_file in $ac_files '' -do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) - ;; - [ab].out ) - # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; - then :; else - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - fi - # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' - # argument, so we may need to know it at that point already. - # Even if this section looks crufty: it has the advantage of - # actually working. - break;; - * ) - break;; - esac -done -test "$ac_cv_exeext" = no && ac_cv_exeext= - -else - ac_file='' -fi - -{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } -if test -z "$ac_file"; then - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: C compiler cannot create executables -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; }; } -fi - -ac_exeext=$ac_cv_exeext - -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 -# If not cross compiling, check that we can run a simple program. -if test "$cross_compiling" != yes; then - if { ac_try='./$ac_file' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } - fi - fi -fi -{ $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out -ac_clean_files=$ac_clean_files_save -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } -{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } - -{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. -for ac_file in conftest.exe conftest conftest.*; do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - break;; - * ) break;; - esac -done -else - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } -fi - -rm -f conftest$ac_cv_exeext -{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 -$as_echo "$ac_cv_exeext" >&6; } - -rm -f conftest.$ac_ext -EXEEXT=$ac_cv_exeext -ac_exeext=$EXEEXT -{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 -$as_echo_n "checking for suffix of object files... " >&6; } -if test "${ac_cv_objext+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - for ac_file in conftest.o conftest.obj conftest.*; do - test -f "$ac_file" || continue; - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } -fi - -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_compiler_gnu=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_compiler_gnu=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GCC=yes -else - GCC= -fi -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 -$as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_save_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes - ac_cv_prog_cc_g=no - CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_g=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - CFLAGS="" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_g=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=no -ac_save_CC=$CC -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#include -#include -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_c89=$ac_arg -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:$LINENO: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:$LINENO: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null - - -ac_config_commands="$ac_config_commands depfiles" - - -am_make=${MAKE-make} -cat > confinc << 'END' -doit: - @echo done -END -# If we don't find an include directive, just comment out the code. -{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 -$as_echo_n "checking for style of include used by $am_make... " >&6; } -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# We grep out `Entering directory' and `Leaving directory' -# messages which can occur if `w' ends up in MAKEFLAGS. -# In particular we don't look at `^make:' because GNU make might -# be invoked under some other name (usually "gmake"), in which -# case it prints its new name instead of `make'. -if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then - am__include=include - am__quote= - _am_result=GNU -fi -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then - am__include=.include - am__quote="\"" - _am_result=BSD - fi -fi - - -{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 -$as_echo "$_am_result" >&6; } -rm -f confinc confmf - -# Check whether --enable-dependency-tracking was given. -if test "${enable_dependency_tracking+set}" = set; then - enableval=$enable_dependency_tracking; -fi - -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' -fi - - -if test "x$enable_dependency_tracking" != xno; then - AMDEP_TRUE= - AMDEP_FALSE='#' -else - AMDEP_TRUE='#' - AMDEP_FALSE= -fi - - - - -depcc="$CC" am_compiler_list= - -{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - - am_cv_CC_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - for depmode in $am_compiler_list; do - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - echo '#include "conftest.h"' > conftest.c - echo 'int i;' > conftest.h - echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf - - case $depmode in - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - none) break ;; - esac - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. - if depmode=$depmode \ - source=conftest.c object=conftest.o \ - depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && - grep conftest.h conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_CC_dependencies_compiler_type=$depmode - break - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CC_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Broken: fails on valid input. -continue -fi - -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - # Broken: success on invalid input. -continue -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Passes both tests. -ac_preproc_ok=: -break -fi - -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 -$as_echo "$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Broken: fails on valid input. -continue -fi - -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - # Broken: success on invalid input. -continue -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Passes both tests. -ac_preproc_ok=: -break -fi - -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - : -else - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -CFLAGS="$cflags_save" - -if test "x$CC" != xcc; then - { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5 -$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } -else - { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5 -$as_echo_n "checking whether cc understands -c and -o together... " >&6; } -fi -set dummy $CC; ac_cc=`$as_echo "$2" | - sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` -if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -# Make sure it works both with $CC and with simple cc. -# We do the test twice because some compilers refuse to overwrite an -# existing .o file with -o, though they will create one. -ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' -rm -f conftest2.* -if { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - test -f conftest2.$ac_objext && { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; -then - eval ac_cv_prog_cc_${ac_cc}_c_o=yes - if test "x$CC" != xcc; then - # Test first that cc exists at all. - if { ac_try='cc -c conftest.$ac_ext >&5' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' - rm -f conftest2.* - if { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - test -f conftest2.$ac_objext && { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; - then - # cc works too. - : - else - # cc exists but doesn't like -o. - eval ac_cv_prog_cc_${ac_cc}_c_o=no - fi - fi - fi -else - eval ac_cv_prog_cc_${ac_cc}_c_o=no -fi -rm -f core conftest* - -fi -if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - -cat >>confdefs.h <<\_ACEOF -#define NO_MINUS_C_MINUS_O 1 -_ACEOF - -fi - -# FIXME: we rely on the cache variable name because -# there is no other way. -set dummy $CC -ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` -if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then - # Losing compiler, so override with the script. - # FIXME: It is wrong to rewrite CC. - # But if we don't then we get into trouble of one sort or another. - # A longer-term fix would be to have automake use am__CC in this case, - # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" - CC="$am_aux_dir/compile $CC" -fi - -enable_win32_dll=yes - -case $host in -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. -set dummy ${ac_tool_prefix}as; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AS+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$AS"; then - ac_cv_prog_AS="$AS" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AS="${ac_tool_prefix}as" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -AS=$ac_cv_prog_AS -if test -n "$AS"; then - { $as_echo "$as_me:$LINENO: result: $AS" >&5 -$as_echo "$AS" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_AS"; then - ac_ct_AS=$AS - # Extract the first word of "as", so it can be a program name with args. -set dummy as; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_AS+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AS"; then - ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_AS="as" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_AS=$ac_cv_prog_ac_ct_AS -if test -n "$ac_ct_AS"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 -$as_echo "$ac_ct_AS" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_AS" = x; then - AS="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - AS=$ac_ct_AS - fi -else - AS="$ac_cv_prog_AS" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. -set dummy ${ac_tool_prefix}dlltool; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_DLLTOOL+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$DLLTOOL"; then - ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -DLLTOOL=$ac_cv_prog_DLLTOOL -if test -n "$DLLTOOL"; then - { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5 -$as_echo "$DLLTOOL" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_DLLTOOL"; then - ac_ct_DLLTOOL=$DLLTOOL - # Extract the first word of "dlltool", so it can be a program name with args. -set dummy dlltool; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_DLLTOOL"; then - ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_DLLTOOL="dlltool" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL -if test -n "$ac_ct_DLLTOOL"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 -$as_echo "$ac_ct_DLLTOOL" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_DLLTOOL" = x; then - DLLTOOL="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - DLLTOOL=$ac_ct_DLLTOOL - fi -else - DLLTOOL="$ac_cv_prog_DLLTOOL" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. -set dummy ${ac_tool_prefix}objdump; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OBJDUMP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$OBJDUMP"; then - ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -OBJDUMP=$ac_cv_prog_OBJDUMP -if test -n "$OBJDUMP"; then - { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 -$as_echo "$OBJDUMP" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_OBJDUMP"; then - ac_ct_OBJDUMP=$OBJDUMP - # Extract the first word of "objdump", so it can be a program name with args. -set dummy objdump; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_OBJDUMP"; then - ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_OBJDUMP="objdump" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP -if test -n "$ac_ct_OBJDUMP"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 -$as_echo "$ac_ct_OBJDUMP" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_OBJDUMP" = x; then - OBJDUMP="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - OBJDUMP=$ac_ct_OBJDUMP - fi -else - OBJDUMP="$ac_cv_prog_OBJDUMP" -fi - - ;; -esac - -test -z "$AS" && AS=as - - - - - -test -z "$DLLTOOL" && DLLTOOL=dlltool - - - - - -test -z "$OBJDUMP" && OBJDUMP=objdump - - - - - - - -case `pwd` in - *\ * | *\ *) - { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 -$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; -esac - - - -macro_version='2.2.6' -macro_revision='1.3012' - - - - - - - - - - - - - -ltmain="$ac_aux_dir/ltmain.sh" - -{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 -$as_echo_n "checking for a sed that does not truncate output... " >&6; } -if test "${ac_cv_path_SED+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ - for ac_i in 1 2 3 4 5 6 7; do - ac_script="$ac_script$as_nl$ac_script" - done - echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed - $as_unset ac_script || ac_script= - if test -z "$SED"; then - ac_path_SED_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue -# Check for GNU ac_path_SED and select it if it is found. - # Check for GNU $ac_path_SED -case `"$ac_path_SED" --version 2>&1` in -*GNU*) - ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo '' >> "conftest.nl" - "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` - if test $ac_count -gt ${ac_path_SED_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_SED="$ac_path_SED" - ac_path_SED_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_SED_found && break 3 - done - done -done -IFS=$as_save_IFS - if test -z "$ac_cv_path_SED"; then - { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 -$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} - { (exit 1); exit 1; }; } - fi -else - ac_cv_path_SED=$SED -fi - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 -$as_echo "$ac_cv_path_SED" >&6; } - SED="$ac_cv_path_SED" - rm -f conftest.sed - -test -z "$SED" && SED=sed -Xsed="$SED -e 1s/^X//" - - - - - - - - - - - -{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if test "${ac_cv_path_GREP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -z "$GREP"; then - ac_path_GREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue -# Check for GNU ac_path_GREP and select it if it is found. - # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'GREP' >> "conftest.nl" - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP="$ac_path_GREP" - ac_path_GREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_GREP_found && break 3 - done - done -done -IFS=$as_save_IFS - if test -z "$ac_cv_path_GREP"; then - { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } - fi -else - ac_cv_path_GREP=$GREP -fi - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 -$as_echo "$ac_cv_path_GREP" >&6; } - GREP="$ac_cv_path_GREP" - - -{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 -$as_echo_n "checking for egrep... " >&6; } -if test "${ac_cv_path_EGREP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 - then ac_cv_path_EGREP="$GREP -E" - else - if test -z "$EGREP"; then - ac_path_EGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue -# Check for GNU ac_path_EGREP and select it if it is found. - # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'EGREP' >> "conftest.nl" - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP="$ac_path_EGREP" - ac_path_EGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_EGREP_found && break 3 - done - done -done -IFS=$as_save_IFS - if test -z "$ac_cv_path_EGREP"; then - { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } - fi -else - ac_cv_path_EGREP=$EGREP -fi - - fi -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } - EGREP="$ac_cv_path_EGREP" - - -{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5 -$as_echo_n "checking for fgrep... " >&6; } -if test "${ac_cv_path_FGREP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 - then ac_cv_path_FGREP="$GREP -F" - else - if test -z "$FGREP"; then - ac_path_FGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in fgrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue -# Check for GNU ac_path_FGREP and select it if it is found. - # Check for GNU $ac_path_FGREP -case `"$ac_path_FGREP" --version 2>&1` in -*GNU*) - ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'FGREP' >> "conftest.nl" - "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` - if test $ac_count -gt ${ac_path_FGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_FGREP="$ac_path_FGREP" - ac_path_FGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_FGREP_found && break 3 - done - done -done -IFS=$as_save_IFS - if test -z "$ac_cv_path_FGREP"; then - { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } - fi -else - ac_cv_path_FGREP=$FGREP -fi - - fi -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 -$as_echo "$ac_cv_path_FGREP" >&6; } - FGREP="$ac_cv_path_FGREP" - - -test -z "$GREP" && GREP=grep - - - - - - - - - - - - - - - - - - - -# Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -else - with_gnu_ld=no -fi - -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 -$as_echo_n "checking for ld used by $CC... " >&6; } - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [\\/]* | ?:[\\/]*) - re_direlt='/[^/][^/]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` - while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do - ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } -else - { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } -fi -if test "${lt_cv_path_LD+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -z "$LD"; then - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 &5 -$as_echo "$LD" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi -test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 -$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} - { (exit 1); exit 1; }; } -{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if test "${lt_cv_prog_gnu_ld+set}" = set; then - $as_echo_n "(cached) " >&6 -else - # I'd rather use --version here, but apparently some GNU lds only accept -v. -case `$LD -v 2>&1 &5 -$as_echo "$lt_cv_prog_gnu_ld" >&6; } -with_gnu_ld=$lt_cv_prog_gnu_ld - - - - - - - - - -{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 -$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } -if test "${lt_cv_path_NM+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM="$NM" -else - lt_nm_to_check="${ac_tool_prefix}nm" - if test -n "$ac_tool_prefix" && test "$build" = "$host"; then - lt_nm_to_check="$lt_nm_to_check nm" - fi - for lt_tmp_nm in $lt_nm_to_check; do - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - tmp_nm="$ac_dir/$lt_tmp_nm" - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the `sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in - */dev/null* | *'Invalid file or object type'*) - lt_cv_path_NM="$tmp_nm -B" - break - ;; - *) - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in - */dev/null*) - lt_cv_path_NM="$tmp_nm -p" - break - ;; - *) - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - ;; - esac - ;; - esac - fi - done - IFS="$lt_save_ifs" - done - : ${lt_cv_path_NM=no} -fi -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 -$as_echo "$lt_cv_path_NM" >&6; } -if test "$lt_cv_path_NM" != "no"; then - NM="$lt_cv_path_NM" -else - # Didn't find any BSD compatible name lister, look for dumpbin. - if test -n "$ac_tool_prefix"; then - for ac_prog in "dumpbin -symbols" "link -dump -symbols" - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_DUMPBIN+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$DUMPBIN"; then - ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -DUMPBIN=$ac_cv_prog_DUMPBIN -if test -n "$DUMPBIN"; then - { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 -$as_echo "$DUMPBIN" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$DUMPBIN" && break - done -fi -if test -z "$DUMPBIN"; then - ac_ct_DUMPBIN=$DUMPBIN - for ac_prog in "dumpbin -symbols" "link -dump -symbols" -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_DUMPBIN"; then - ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN -if test -n "$ac_ct_DUMPBIN"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 -$as_echo "$ac_ct_DUMPBIN" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_DUMPBIN" && break -done - - if test "x$ac_ct_DUMPBIN" = x; then - DUMPBIN=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - DUMPBIN=$ac_ct_DUMPBIN - fi -fi - - - if test "$DUMPBIN" != ":"; then - NM="$DUMPBIN" - fi -fi -test -z "$NM" && NM=nm - - - - - - -{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 -$as_echo_n "checking the name lister ($NM) interface... " >&6; } -if test "${lt_cv_nm_interface+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_nm_interface="BSD nm" - echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:5101: $ac_compile\"" >&5) - (eval "$ac_compile" 2>conftest.err) - cat conftest.err >&5 - (eval echo "\"\$as_me:5104: $NM \\\"conftest.$ac_objext\\\"\"" >&5) - (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) - cat conftest.err >&5 - (eval echo "\"\$as_me:5107: output\"" >&5) - cat conftest.out >&5 - if $GREP 'External.*some_variable' conftest.out > /dev/null; then - lt_cv_nm_interface="MS dumpbin" - fi - rm -f conftest* -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 -$as_echo "$lt_cv_nm_interface" >&6; } - -{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 -$as_echo_n "checking whether ln -s works... " >&6; } -LN_S=$as_ln_s -if test "$LN_S" = "ln -s"; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 -$as_echo "no, using $LN_S" >&6; } -fi - -# find the maximum length of command line arguments -{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 -$as_echo_n "checking the maximum length of command line arguments... " >&6; } -if test "${lt_cv_sys_max_cmd_len+set}" = set; then - $as_echo_n "(cached) " >&6 -else - i=0 - teststring="ABCD" - - case $build_os in - msdosdjgpp*) - # On DJGPP, this test can blow up pretty badly due to problems in libc - # (any single argument exceeding 2000 bytes causes a buffer overrun - # during glob expansion). Even if it were fixed, the result of this - # check would be larger than it should be. - lt_cv_sys_max_cmd_len=12288; # 12K is about right - ;; - - gnu*) - # Under GNU Hurd, this test is not required because there is - # no limit to the length of command line arguments. - # Libtool will interpret -1 as no limit whatsoever - lt_cv_sys_max_cmd_len=-1; - ;; - - cygwin* | mingw* | cegcc*) - # On Win9x/ME, this test blows up -- it succeeds, but takes - # about 5 minutes as the teststring grows exponentially. - # Worse, since 9x/ME are not pre-emptively multitasking, - # you end up with a "frozen" computer, even though with patience - # the test eventually succeeds (with a max line length of 256k). - # Instead, let's just punt: use the minimum linelength reported by - # all of the supported platforms: 8192 (on NT/2K/XP). - lt_cv_sys_max_cmd_len=8192; - ;; - - amigaos*) - # On AmigaOS with pdksh, this test takes hours, literally. - # So we just punt and use a minimum line length of 8192. - lt_cv_sys_max_cmd_len=8192; - ;; - - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) - # This has been around since 386BSD, at least. Likely further. - if test -x /sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` - elif test -x /usr/sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` - else - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs - fi - # And add a safety zone - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - ;; - - interix*) - # We know the value 262144 and hardcode it with a safety zone (like BSD) - lt_cv_sys_max_cmd_len=196608 - ;; - - osf*) - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not - # nice to cause kernel panics so lets avoid the loop below. - # First set a reasonable default. - lt_cv_sys_max_cmd_len=16384 - # - if test -x /sbin/sysconfig; then - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in - *1*) lt_cv_sys_max_cmd_len=-1 ;; - esac - fi - ;; - sco3.2v5*) - lt_cv_sys_max_cmd_len=102400 - ;; - sysv5* | sco5v6* | sysv4.2uw2*) - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` - if test -n "$kargmax"; then - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` - else - lt_cv_sys_max_cmd_len=32768 - fi - ;; - *) - lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` - if test -n "$lt_cv_sys_max_cmd_len"; then - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - else - # Make teststring a little bigger before we do anything with it. - # a 1K string should be a reasonable start. - for i in 1 2 3 4 5 6 7 8 ; do - teststring=$teststring$teststring - done - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} - # If test is not a shell built-in, we'll probably end up computing a - # maximum length that is only half of the actual maximum length, but - # we can't tell. - while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ - = "XX$teststring$teststring"; } >/dev/null 2>&1 && - test $i != 17 # 1/2 MB should be enough - do - i=`expr $i + 1` - teststring=$teststring$teststring - done - # Only check the string length outside the loop. - lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` - teststring= - # Add a significant safety factor because C++ compilers can tack on - # massive amounts of additional arguments before passing them to the - # linker. It appears as though 1/2 is a usable value. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` - fi - ;; - esac - -fi - -if test -n $lt_cv_sys_max_cmd_len ; then - { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 -$as_echo "$lt_cv_sys_max_cmd_len" >&6; } -else - { $as_echo "$as_me:$LINENO: result: none" >&5 -$as_echo "none" >&6; } -fi -max_cmd_len=$lt_cv_sys_max_cmd_len - - - - - - -: ${CP="cp -f"} -: ${MV="mv -f"} -: ${RM="rm -f"} - -{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 -$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } -# Try some XSI features -xsi_shell=no -( _lt_dummy="a/b/c" - test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ - = c,a/b,, \ - && eval 'test $(( 1 + 1 )) -eq 2 \ - && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ - && xsi_shell=yes -{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 -$as_echo "$xsi_shell" >&6; } - - -{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 -$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } -lt_shell_append=no -( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ - >/dev/null 2>&1 \ - && lt_shell_append=yes -{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 -$as_echo "$lt_shell_append" >&6; } - - -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - lt_unset=unset -else - lt_unset=false -fi - - - - - -# test EBCDIC or ASCII -case `echo X|tr X '\101'` in - A) # ASCII based system - # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr - lt_SP2NL='tr \040 \012' - lt_NL2SP='tr \015\012 \040\040' - ;; - *) # EBCDIC based system - lt_SP2NL='tr \100 \n' - lt_NL2SP='tr \r\n \100\100' - ;; -esac - - - - - - - - - -{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 -$as_echo_n "checking for $LD option to reload object files... " >&6; } -if test "${lt_cv_ld_reload_flag+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_ld_reload_flag='-r' -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 -$as_echo "$lt_cv_ld_reload_flag" >&6; } -reload_flag=$lt_cv_ld_reload_flag -case $reload_flag in -"" | " "*) ;; -*) reload_flag=" $reload_flag" ;; -esac -reload_cmds='$LD$reload_flag -o $output$reload_objs' -case $host_os in - darwin*) - if test "$GCC" = yes; then - reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' - else - reload_cmds='$LD$reload_flag -o $output$reload_objs' - fi - ;; -esac - - - - - - - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. -set dummy ${ac_tool_prefix}objdump; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OBJDUMP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$OBJDUMP"; then - ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -OBJDUMP=$ac_cv_prog_OBJDUMP -if test -n "$OBJDUMP"; then - { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 -$as_echo "$OBJDUMP" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_OBJDUMP"; then - ac_ct_OBJDUMP=$OBJDUMP - # Extract the first word of "objdump", so it can be a program name with args. -set dummy objdump; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_OBJDUMP"; then - ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_OBJDUMP="objdump" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP -if test -n "$ac_ct_OBJDUMP"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 -$as_echo "$ac_ct_OBJDUMP" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_OBJDUMP" = x; then - OBJDUMP="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - OBJDUMP=$ac_ct_OBJDUMP - fi -else - OBJDUMP="$ac_cv_prog_OBJDUMP" -fi - -test -z "$OBJDUMP" && OBJDUMP=objdump - - - - - - -{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 -$as_echo_n "checking how to recognize dependent libraries... " >&6; } -if test "${lt_cv_deplibs_check_method+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_file_magic_cmd='$MAGIC_CMD' -lt_cv_file_magic_test_file= -lt_cv_deplibs_check_method='unknown' -# Need to set the preceding variable on all platforms that support -# interlibrary dependencies. -# 'none' -- dependencies not supported. -# `unknown' -- same as none, but documents that we really don't know. -# 'pass_all' -- all dependencies passed with no checks. -# 'test_compile' -- check by making test program. -# 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given extended regex. -# If you have `file' or equivalent on your system and you're not sure -# whether `pass_all' will *always* work, you probably want this one. - -case $host_os in -aix[4-9]*) - lt_cv_deplibs_check_method=pass_all - ;; - -beos*) - lt_cv_deplibs_check_method=pass_all - ;; - -bsdi[45]*) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' - lt_cv_file_magic_cmd='/usr/bin/file -L' - lt_cv_file_magic_test_file=/shlib/libc.so - ;; - -cygwin*) - # func_win32_libid is a shell function defined in ltmain.sh - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd='func_win32_libid' - ;; - -mingw* | pw32*) - # Base MSYS/MinGW do not provide the 'file' command needed by - # func_win32_libid shell function, so use a weaker test based on 'objdump', - # unless we find 'file', for example because we are cross-compiling. - if ( file / ) >/dev/null 2>&1; then - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd='func_win32_libid' - else - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' - fi - ;; - -cegcc) - # use the weaker test based on 'objdump'. See mingw*. - lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' - ;; - -darwin* | rhapsody*) - lt_cv_deplibs_check_method=pass_all - ;; - -freebsd* | dragonfly*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - ;; - esac - else - lt_cv_deplibs_check_method=pass_all - fi - ;; - -gnu*) - lt_cv_deplibs_check_method=pass_all - ;; - -hpux10.20* | hpux11*) - lt_cv_file_magic_cmd=/usr/bin/file - case $host_cpu in - ia64*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so - ;; - hppa*64*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl - ;; - *) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; - esac - ;; - -interix[3-9]*) - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' - ;; - -irix5* | irix6* | nonstopux*) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - lt_cv_deplibs_check_method=pass_all - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - lt_cv_deplibs_check_method=pass_all - ;; - -netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' - fi - ;; - -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; - -*nto* | *qnx*) - lt_cv_deplibs_check_method=pass_all - ;; - -openbsd*) - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' - fi - ;; - -osf3* | osf4* | osf5*) - lt_cv_deplibs_check_method=pass_all - ;; - -rdos*) - lt_cv_deplibs_check_method=pass_all - ;; - -solaris*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv4 | sysv4.3*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` - ;; - ncr) - lt_cv_deplibs_check_method=pass_all - ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' - ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=pass_all - ;; - pc) - lt_cv_deplibs_check_method=pass_all - ;; - esac - ;; - -tpf*) - lt_cv_deplibs_check_method=pass_all - ;; -esac - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 -$as_echo "$lt_cv_deplibs_check_method" >&6; } -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method -test -z "$deplibs_check_method" && deplibs_check_method=unknown - - - - - - - - - - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. -set dummy ${ac_tool_prefix}ar; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AR+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$AR"; then - ac_cv_prog_AR="$AR" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AR="${ac_tool_prefix}ar" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -AR=$ac_cv_prog_AR -if test -n "$AR"; then - { $as_echo "$as_me:$LINENO: result: $AR" >&5 -$as_echo "$AR" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_AR"; then - ac_ct_AR=$AR - # Extract the first word of "ar", so it can be a program name with args. -set dummy ar; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AR"; then - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_AR="ar" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_AR=$ac_cv_prog_ac_ct_AR -if test -n "$ac_ct_AR"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 -$as_echo "$ac_ct_AR" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_AR" = x; then - AR="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - AR=$ac_ct_AR - fi -else - AR="$ac_cv_prog_AR" -fi - -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru - - - - - - - - - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_STRIP" = x; then - STRIP=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - STRIP=$ac_ct_STRIP - fi -else - STRIP="$ac_cv_prog_STRIP" -fi - -test -z "$STRIP" && STRIP=: - - - - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. -set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_RANLIB+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -RANLIB=$ac_cv_prog_RANLIB -if test -n "$RANLIB"; then - { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 -$as_echo "$RANLIB" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_RANLIB"; then - ac_ct_RANLIB=$RANLIB - # Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_RANLIB"; then - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_RANLIB="ranlib" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB -if test -n "$ac_ct_RANLIB"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 -$as_echo "$ac_ct_RANLIB" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_RANLIB" = x; then - RANLIB=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - RANLIB=$ac_ct_RANLIB - fi -else - RANLIB="$ac_cv_prog_RANLIB" -fi - -test -z "$RANLIB" && RANLIB=: - - - - - - -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= - -if test -n "$RANLIB"; then - case $host_os in - openbsd*) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" - ;; - *) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC - - -# Check for command to grab the raw symbol name followed by C symbol from nm. -{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 -$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then - $as_echo_n "(cached) " >&6 -else - -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] - -# Character class describing NM global symbol codes. -symcode='[BCDEGRST]' - -# Regexp to match symbols that can be accessed directly from C. -sympat='\([_A-Za-z][_A-Za-z0-9]*\)' - -# Define system-specific variables. -case $host_os in -aix*) - symcode='[BCDT]' - ;; -cygwin* | mingw* | pw32* | cegcc*) - symcode='[ABCDGISTW]' - ;; -hpux*) - if test "$host_cpu" = ia64; then - symcode='[ABCDEGRST]' - fi - ;; -irix* | nonstopux*) - symcode='[BCDEGRST]' - ;; -osf*) - symcode='[BCDEGQRST]' - ;; -solaris*) - symcode='[BDRT]' - ;; -sco3.2v5*) - symcode='[DT]' - ;; -sysv4.2uw2*) - symcode='[DT]' - ;; -sysv5* | sco5v6* | unixware* | OpenUNIX*) - symcode='[ABDT]' - ;; -sysv4) - symcode='[DFNSTU]' - ;; -esac - -# If we're using GNU nm, then use its standard symbol codes. -case `$NM -V 2>&1` in -*GNU* | *'with BFD'*) - symcode='[ABCDGIRSTW]' ;; -esac - -# Transform an extracted symbol line into a proper C declaration. -# Some systems (esp. on ia64) link data and code symbols differently, -# so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" - -# Handle CRLF in mingw tool chain -opt_cr= -case $build_os in -mingw*) - opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac - -# Try without a prefix underscore, then with it. -for ac_symprfx in "" "_"; do - - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. - symxfrm="\\1 $ac_symprfx\\2 \\2" - - # Write the raw and C identifiers. - if test "$lt_cv_nm_interface" = "MS dumpbin"; then - # Fake it for dumpbin and say T for any non-static function - # and D for any global variable. - # Also find C++ and __fastcall symbols from MSVC++, - # which start with @ or ?. - lt_cv_sys_global_symbol_pipe="$AWK '"\ -" {last_section=section; section=\$ 3};"\ -" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ -" \$ 0!~/External *\|/{next};"\ -" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ -" {if(hide[section]) next};"\ -" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ -" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ -" s[1]~/^[@?]/{print s[1], s[1]; next};"\ -" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ -" ' prfx=^$ac_symprfx" - else - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" - fi - - # Check to see that the pipe works correctly. - pipe_works=no - - rm -f conftest* - cat > conftest.$ac_ext <<_LT_EOF -#ifdef __cplusplus -extern "C" { -#endif -char nm_test_var; -void nm_test_func(void); -void nm_test_func(void){} -#ifdef __cplusplus -} -#endif -int main(){nm_test_var='a';nm_test_func();return(0);} -_LT_EOF - - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # Now try to grab the symbols. - nlist=conftest.nm - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if $GREP ' nm_test_var$' "$nlist" >/dev/null; then - if $GREP ' nm_test_func$' "$nlist" >/dev/null; then - cat <<_LT_EOF > conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -_LT_EOF - # Now generate the symbol file. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' - - cat <<_LT_EOF >> conftest.$ac_ext - -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - void *address; -} -lt__PROGRAM__LTX_preloaded_symbols[] = -{ - { "@PROGRAM@", (void *) 0 }, -_LT_EOF - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext - cat <<\_LT_EOF >> conftest.$ac_ext - {0, (void *) 0} -}; - -/* This works around a problem in FreeBSD linker */ -#ifdef FREEBSD_WORKAROUND -static const void *lt_preloaded_setup() { - return lt__PROGRAM__LTX_preloaded_symbols; -} -#endif - -#ifdef __cplusplus -} -#endif -_LT_EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - lt_save_LIBS="$LIBS" - lt_save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s conftest${ac_exeext}; then - pipe_works=yes - fi - LIBS="$lt_save_LIBS" - CFLAGS="$lt_save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&5 - fi - else - echo "cannot find nm_test_var in $nlist" >&5 - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 - fi - else - echo "$progname: failed program was:" >&5 - cat conftest.$ac_ext >&5 - fi - rm -rf conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done - -fi - -if test -z "$lt_cv_sys_global_symbol_pipe"; then - lt_cv_sys_global_symbol_to_cdecl= -fi -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then - { $as_echo "$as_me:$LINENO: result: failed" >&5 -$as_echo "failed" >&6; } -else - { $as_echo "$as_me:$LINENO: result: ok" >&5 -$as_echo "ok" >&6; } -fi - - - - - - - - - - - - - - - - - - - - - - - -# Check whether --enable-libtool-lock was given. -if test "${enable_libtool_lock+set}" = set; then - enableval=$enable_libtool_lock; -fi - -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes - -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -ia64-*-hpux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *ELF-32*) - HPUX_IA64_MODE="32" - ;; - *ELF-64*) - HPUX_IA64_MODE="64" - ;; - esac - fi - rm -rf conftest* - ;; -*-*-irix6*) - # Find out which ABI we are using. - echo '#line 6310 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - if test "$lt_cv_prog_gnu_ld" = yes; then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -melf32bsmip" - ;; - *N32*) - LD="${LD-ld} -melf32bmipn32" - ;; - *64-bit*) - LD="${LD-ld} -melf64bmip" - ;; - esac - else - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - fi - rm -rf conftest* - ;; - -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ -s390*-*linux*|s390*-*tpf*|sparc*-*linux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.o` in - *32-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_i386_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_i386" - ;; - ppc64-*linux*|powerpc64-*linux*) - LD="${LD-ld} -m elf32ppclinux" - ;; - s390x-*linux*) - LD="${LD-ld} -m elf_s390" - ;; - sparc64-*linux*) - LD="${LD-ld} -m elf32_sparc" - ;; - esac - ;; - *64-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_x86_64_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_x86_64" - ;; - ppc*-*linux*|powerpc*-*linux*) - LD="${LD-ld} -m elf64ppc" - ;; - s390*-*linux*|s390*-*tpf*) - LD="${LD-ld} -m elf64_s390" - ;; - sparc*-*linux*) - LD="${LD-ld} -m elf64_sparc" - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; - -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 -$as_echo_n "checking whether the C compiler needs -belf... " >&6; } -if test "${lt_cv_cc_needs_belf+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - lt_cv_cc_needs_belf=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - lt_cv_cc_needs_belf=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 -$as_echo "$lt_cv_cc_needs_belf" >&6; } - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; -sparc*-*solaris*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.o` in - *64-bit*) - case $lt_cv_prog_gnu_ld in - yes*) LD="${LD-ld} -m elf64_sparc" ;; - *) - if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then - LD="${LD-ld} -64" - fi - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; -esac - -need_locks="$enable_libtool_lock" - - - case $host_os in - rhapsody* | darwin*) - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. -set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_DSYMUTIL+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$DSYMUTIL"; then - ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -DSYMUTIL=$ac_cv_prog_DSYMUTIL -if test -n "$DSYMUTIL"; then - { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 -$as_echo "$DSYMUTIL" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_DSYMUTIL"; then - ac_ct_DSYMUTIL=$DSYMUTIL - # Extract the first word of "dsymutil", so it can be a program name with args. -set dummy dsymutil; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_DSYMUTIL"; then - ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL -if test -n "$ac_ct_DSYMUTIL"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 -$as_echo "$ac_ct_DSYMUTIL" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_DSYMUTIL" = x; then - DSYMUTIL=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - DSYMUTIL=$ac_ct_DSYMUTIL - fi -else - DSYMUTIL="$ac_cv_prog_DSYMUTIL" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. -set dummy ${ac_tool_prefix}nmedit; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_NMEDIT+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$NMEDIT"; then - ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -NMEDIT=$ac_cv_prog_NMEDIT -if test -n "$NMEDIT"; then - { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 -$as_echo "$NMEDIT" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_NMEDIT"; then - ac_ct_NMEDIT=$NMEDIT - # Extract the first word of "nmedit", so it can be a program name with args. -set dummy nmedit; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_NMEDIT"; then - ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_NMEDIT="nmedit" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT -if test -n "$ac_ct_NMEDIT"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 -$as_echo "$ac_ct_NMEDIT" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_NMEDIT" = x; then - NMEDIT=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - NMEDIT=$ac_ct_NMEDIT - fi -else - NMEDIT="$ac_cv_prog_NMEDIT" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. -set dummy ${ac_tool_prefix}lipo; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_LIPO+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$LIPO"; then - ac_cv_prog_LIPO="$LIPO" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_LIPO="${ac_tool_prefix}lipo" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -LIPO=$ac_cv_prog_LIPO -if test -n "$LIPO"; then - { $as_echo "$as_me:$LINENO: result: $LIPO" >&5 -$as_echo "$LIPO" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_LIPO"; then - ac_ct_LIPO=$LIPO - # Extract the first word of "lipo", so it can be a program name with args. -set dummy lipo; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_LIPO"; then - ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_LIPO="lipo" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO -if test -n "$ac_ct_LIPO"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 -$as_echo "$ac_ct_LIPO" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_LIPO" = x; then - LIPO=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - LIPO=$ac_ct_LIPO - fi -else - LIPO="$ac_cv_prog_LIPO" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. -set dummy ${ac_tool_prefix}otool; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OTOOL+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$OTOOL"; then - ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_OTOOL="${ac_tool_prefix}otool" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -OTOOL=$ac_cv_prog_OTOOL -if test -n "$OTOOL"; then - { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 -$as_echo "$OTOOL" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_OTOOL"; then - ac_ct_OTOOL=$OTOOL - # Extract the first word of "otool", so it can be a program name with args. -set dummy otool; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_OTOOL"; then - ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_OTOOL="otool" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL -if test -n "$ac_ct_OTOOL"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 -$as_echo "$ac_ct_OTOOL" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_OTOOL" = x; then - OTOOL=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - OTOOL=$ac_ct_OTOOL - fi -else - OTOOL="$ac_cv_prog_OTOOL" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. -set dummy ${ac_tool_prefix}otool64; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OTOOL64+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$OTOOL64"; then - ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -OTOOL64=$ac_cv_prog_OTOOL64 -if test -n "$OTOOL64"; then - { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 -$as_echo "$OTOOL64" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_OTOOL64"; then - ac_ct_OTOOL64=$OTOOL64 - # Extract the first word of "otool64", so it can be a program name with args. -set dummy otool64; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_OTOOL64"; then - ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_OTOOL64="otool64" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 -if test -n "$ac_ct_OTOOL64"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 -$as_echo "$ac_ct_OTOOL64" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_OTOOL64" = x; then - OTOOL64=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - OTOOL64=$ac_ct_OTOOL64 - fi -else - OTOOL64="$ac_cv_prog_OTOOL64" -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 -$as_echo_n "checking for -single_module linker flag... " >&6; } -if test "${lt_cv_apple_cc_single_mod+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_apple_cc_single_mod=no - if test -z "${LT_MULTI_MODULE}"; then - # By default we will add the -single_module flag. You can override - # by either setting the environment variable LT_MULTI_MODULE - # non-empty at configure time, or by adding -multi_module to the - # link flags. - rm -rf libconftest.dylib* - echo "int foo(void){return 1;}" > conftest.c - echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ --dynamiclib -Wl,-single_module conftest.c" >&5 - $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ - -dynamiclib -Wl,-single_module conftest.c 2>conftest.err - _lt_result=$? - if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then - lt_cv_apple_cc_single_mod=yes - else - cat conftest.err >&5 - fi - rm -rf libconftest.dylib* - rm -f conftest.* - fi -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 -$as_echo "$lt_cv_apple_cc_single_mod" >&6; } - { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 -$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } -if test "${lt_cv_ld_exported_symbols_list+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_ld_exported_symbols_list=no - save_LDFLAGS=$LDFLAGS - echo "_main" > conftest.sym - LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - lt_cv_ld_exported_symbols_list=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - lt_cv_ld_exported_symbols_list=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 -$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } - case $host_os in - rhapsody* | darwin1.[012]) - _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; - darwin1.*) - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; - darwin*) # darwin 5.x on - # if running on 10.5 or later, the deployment target defaults - # to the OS version, if on x86, and 10.4, the deployment - # target defaults to 10.4. Don't you love it? - case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in - 10.0,*86*-darwin8*|10.0,*-darwin[91]*) - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; - 10.[012]*) - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; - 10.*) - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; - esac - ;; - esac - if test "$lt_cv_apple_cc_single_mod" = "yes"; then - _lt_dar_single_mod='$single_module' - fi - if test "$lt_cv_ld_exported_symbols_list" = "yes"; then - _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' - else - _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' - fi - if test "$DSYMUTIL" != ":"; then - _lt_dsymutil='~$DSYMUTIL $lib || :' - else - _lt_dsymutil= - fi - ;; - esac - - -{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#include -#include - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_header_stdc=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_header_stdc=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then - : -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - : -else - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -ac_cv_header_stdc=no -fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - - -fi -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then - -cat >>confdefs.h <<\_ACEOF -#define STDC_HEADERS 1 -_ACEOF - -fi - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. - - - - - - - - - -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 -$as_echo_n "checking for $ac_header... " >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - -#include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - eval "$as_ac_Header=yes" -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - eval "$as_ac_Header=no" -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -ac_res=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -as_val=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - if test "x$as_val" = x""yes; then - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - - -for ac_header in dlfcn.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 -$as_echo_n "checking for $ac_header... " >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - -#include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - eval "$as_ac_Header=yes" -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - eval "$as_ac_Header=no" -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -ac_res=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -as_val=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - if test "x$as_val" = x""yes; then - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - - -# Set options - - - - enable_dlopen=no - - - - # Check whether --enable-shared was given. -if test "${enable_shared+set}" = set; then - enableval=$enable_shared; p=${PACKAGE-default} - case $enableval in - yes) enable_shared=yes ;; - no) enable_shared=no ;; - *) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac -else - enable_shared=yes -fi - - - - - - - - - - # Check whether --enable-static was given. -if test "${enable_static+set}" = set; then - enableval=$enable_static; p=${PACKAGE-default} - case $enableval in - yes) enable_static=yes ;; - no) enable_static=no ;; - *) - enable_static=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac -else - enable_static=yes -fi - - - - - - - - - - -# Check whether --with-pic was given. -if test "${with_pic+set}" = set; then - withval=$with_pic; pic_mode="$withval" -else - pic_mode=default -fi - - -test -z "$pic_mode" && pic_mode=default - - - - - - - - # Check whether --enable-fast-install was given. -if test "${enable_fast_install+set}" = set; then - enableval=$enable_fast_install; p=${PACKAGE-default} - case $enableval in - yes) enable_fast_install=yes ;; - no) enable_fast_install=no ;; - *) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac -else - enable_fast_install=yes -fi - - - - - - - - - - - -# This can be used to rebuild libtool when needed -LIBTOOL_DEPS="$ltmain" - -# Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' - - - - - - - - - - - - - - - - - - - - - - - - - -test -z "$LN_S" && LN_S="ln -s" - - - - - - - - - - - - - - -if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST -fi - -{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 -$as_echo_n "checking for objdir... " >&6; } -if test "${lt_cv_objdir+set}" = set; then - $as_echo_n "(cached) " >&6 -else - rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - lt_cv_objdir=.libs -else - # MS-DOS does not allow filenames that begin with a dot. - lt_cv_objdir=_libs -fi -rmdir .libs 2>/dev/null -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 -$as_echo "$lt_cv_objdir" >&6; } -objdir=$lt_cv_objdir - - - - - -cat >>confdefs.h <<_ACEOF -#define LT_OBJDIR "$lt_cv_objdir/" -_ACEOF - - - - - - - - - - - - - - - - - -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES - fi - ;; -esac - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -sed_quote_subst='s/\(["`$\\]\)/\\\1/g' - -# Same as above, but do not quote variable references. -double_quote_subst='s/\(["`\\]\)/\\\1/g' - -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' - -# Sed substitution to delay expansion of an escaped single quote. -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' - -# Sed substitution to avoid accidental globbing in evaled expressions -no_glob_subst='s/\*/\\\*/g' - -# Global variables: -ofile=libtool -can_build_shared=yes - -# All known linkers require a `.a' archive for static linking (except MSVC, -# which needs '.lib'). -libext=a - -with_gnu_ld="$lt_cv_prog_gnu_ld" - -old_CC="$CC" -old_CFLAGS="$CFLAGS" - -# Set sane defaults for various variables -test -z "$CC" && CC=cc -test -z "$LTCC" && LTCC=$CC -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS -test -z "$LD" && LD=ld -test -z "$ac_objext" && ac_objext=o - -for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` - - -# Only perform the check for file, if the check method requires it -test -z "$MAGIC_CMD" && MAGIC_CMD=file -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 -$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - $as_echo_n "(cached) " >&6 -else - case $MAGIC_CMD in -[\\/*] | ?:[\\/]*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; -*) - lt_save_MAGIC_CMD="$MAGIC_CMD" - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" - for ac_dir in $ac_dummy; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/${ac_tool_prefix}file; then - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - $EGREP "$file_magic_regex" > /dev/null; then - : - else - cat <<_LT_EOF 1>&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -_LT_EOF - fi ;; - esac - fi - break - fi - done - IFS="$lt_save_ifs" - MAGIC_CMD="$lt_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -$as_echo "$MAGIC_CMD" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - - - -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - { $as_echo "$as_me:$LINENO: checking for file" >&5 -$as_echo_n "checking for file... " >&6; } -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - $as_echo_n "(cached) " >&6 -else - case $MAGIC_CMD in -[\\/*] | ?:[\\/]*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; -*) - lt_save_MAGIC_CMD="$MAGIC_CMD" - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" - for ac_dir in $ac_dummy; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/file; then - lt_cv_path_MAGIC_CMD="$ac_dir/file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - $EGREP "$file_magic_regex" > /dev/null; then - : - else - cat <<_LT_EOF 1>&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -_LT_EOF - fi ;; - esac - fi - break - fi - done - IFS="$lt_save_ifs" - MAGIC_CMD="$lt_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -$as_echo "$MAGIC_CMD" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - else - MAGIC_CMD=: - fi -fi - - fi - ;; -esac - -# Use C for the default configuration in the libtool script - -lt_save_CC="$CC" -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -# Source file extension for C test sources. -ac_ext=c - -# Object file extension for compiled C test sources. -objext=o -objext=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;" - -# Code to be used in simple link tests -lt_simple_link_test_code='int main(){return(0);}' - - - - - - - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC - -# Save the default compiler, since it gets overwritten when the other -# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. -compiler_DEFAULT=$CC - -# save warnings/boilerplate of simple test code -ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$RM conftest* - -ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$RM -r conftest* - - -if test -n "$compiler"; then - -lt_prog_compiler_no_builtin_flag= - -if test "$GCC" = yes; then - lt_prog_compiler_no_builtin_flag=' -fno-builtin' - - { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_rtti_exceptions=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="-fno-rtti -fno-exceptions" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7925: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:7929: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_rtti_exceptions=yes - fi - fi - $RM conftest* - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 -$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } - -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then - lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" -else - : -fi - -fi - - - - - - - lt_prog_compiler_wl= -lt_prog_compiler_pic= -lt_prog_compiler_static= - -{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 -$as_echo_n "checking for $compiler option to produce PIC... " >&6; } - - if test "$GCC" = yes; then - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_static='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static='-Bstatic' - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - lt_prog_compiler_pic='-fPIC' - ;; - m68k) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' - ;; - esac - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - - mingw* | cygwin* | pw32* | os2* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - lt_prog_compiler_pic='-DDLL_EXPORT' - ;; - - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_prog_compiler_pic='-fno-common' - ;; - - hpux*) - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag - # sets the default TLS model and affects inlining. - case $host_cpu in - hppa*64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic='-fPIC' - ;; - esac - ;; - - interix[3-9]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - - msdosdjgpp*) - # Just because we use GCC doesn't mean we suddenly get shared libraries - # on systems that don't support them. - lt_prog_compiler_can_build_shared=no - enable_shared=no - ;; - - *nto* | *qnx*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - lt_prog_compiler_pic='-fPIC -shared' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - lt_prog_compiler_pic=-Kconform_pic - fi - ;; - - *) - lt_prog_compiler_pic='-fPIC' - ;; - esac - else - # PORTME Check for flag to pass linker flags through the system compiler. - case $host_os in - aix*) - lt_prog_compiler_wl='-Wl,' - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static='-Bstatic' - else - lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' - fi - ;; - - mingw* | cygwin* | pw32* | os2* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_prog_compiler_pic='-DDLL_EXPORT' - ;; - - hpux9* | hpux10* | hpux11*) - lt_prog_compiler_wl='-Wl,' - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic='+Z' - ;; - esac - # Is there a better lt_prog_compiler_static that works with the bundled CC? - lt_prog_compiler_static='${wl}-a ${wl}archive' - ;; - - irix5* | irix6* | nonstopux*) - lt_prog_compiler_wl='-Wl,' - # PIC (with -KPIC) is the default. - lt_prog_compiler_static='-non_shared' - ;; - - linux* | k*bsd*-gnu) - case $cc_basename in - # old Intel for x86_64 which still supported -KPIC. - ecc*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-static' - ;; - # icc used to be incompatible with GCC. - # ICC 10 doesn't accept -KPIC any more. - icc* | ifort*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-fPIC' - lt_prog_compiler_static='-static' - ;; - # Lahey Fortran 8.1. - lf95*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='--shared' - lt_prog_compiler_static='--static' - ;; - pgcc* | pgf77* | pgf90* | pgf95*) - # Portland Group compilers (*not* the Pentium gcc compiler, - # which looks to be a dead project) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-fpic' - lt_prog_compiler_static='-Bstatic' - ;; - ccc*) - lt_prog_compiler_wl='-Wl,' - # All Alpha code is PIC. - lt_prog_compiler_static='-non_shared' - ;; - xl*) - # IBM XL C 8.0/Fortran 10.1 on PPC - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-qpic' - lt_prog_compiler_static='-qstaticlink' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C 5.9 - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - lt_prog_compiler_wl='-Wl,' - ;; - *Sun\ F*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - lt_prog_compiler_wl='' - ;; - esac - ;; - esac - ;; - - newsos6) - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - ;; - - *nto* | *qnx*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - lt_prog_compiler_pic='-fPIC -shared' - ;; - - osf3* | osf4* | osf5*) - lt_prog_compiler_wl='-Wl,' - # All OSF/1 code is PIC. - lt_prog_compiler_static='-non_shared' - ;; - - rdos*) - lt_prog_compiler_static='-non_shared' - ;; - - solaris*) - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - case $cc_basename in - f77* | f90* | f95*) - lt_prog_compiler_wl='-Qoption ld ';; - *) - lt_prog_compiler_wl='-Wl,';; - esac - ;; - - sunos4*) - lt_prog_compiler_wl='-Qoption ld ' - lt_prog_compiler_pic='-PIC' - lt_prog_compiler_static='-Bstatic' - ;; - - sysv4 | sysv4.2uw2* | sysv4.3*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - ;; - - sysv4*MP*) - if test -d /usr/nec ;then - lt_prog_compiler_pic='-Kconform_pic' - lt_prog_compiler_static='-Bstatic' - fi - ;; - - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - ;; - - unicos*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_can_build_shared=no - ;; - - uts4*) - lt_prog_compiler_pic='-pic' - lt_prog_compiler_static='-Bstatic' - ;; - - *) - lt_prog_compiler_can_build_shared=no - ;; - esac - fi - -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - lt_prog_compiler_pic= - ;; - *) - lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" - ;; -esac -{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 -$as_echo "$lt_prog_compiler_pic" >&6; } - - - - - - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$lt_prog_compiler_pic"; then - { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 -$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } -if test "${lt_cv_prog_compiler_pic_works+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_pic_works=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$lt_prog_compiler_pic -DPIC" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8264: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:8268: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_pic_works=yes - fi - fi - $RM conftest* - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 -$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } - -if test x"$lt_cv_prog_compiler_pic_works" = xyes; then - case $lt_prog_compiler_pic in - "" | " "*) ;; - *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; - esac -else - lt_prog_compiler_pic= - lt_prog_compiler_can_build_shared=no -fi - -fi - - - - - - -# -# Check to make sure the static flag actually works. -# -wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" -{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -if test "${lt_cv_prog_compiler_static_works+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_static_works=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_tmp_static_flag" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&5 - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_static_works=yes - fi - else - lt_cv_prog_compiler_static_works=yes - fi - fi - $RM -r conftest* - LDFLAGS="$save_LDFLAGS" - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 -$as_echo "$lt_cv_prog_compiler_static_works" >&6; } - -if test x"$lt_cv_prog_compiler_static_works" = xyes; then - : -else - lt_prog_compiler_static= -fi - - - - - - - - { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if test "${lt_cv_prog_compiler_c_o+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_c_o=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8369: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:8373: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o=yes - fi - fi - chmod u+w . 2>&5 - $RM conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files - $RM out/* && rmdir out - cd .. - $RM -r conftest - $RM conftest* - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 -$as_echo "$lt_cv_prog_compiler_c_o" >&6; } - - - - - - - { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if test "${lt_cv_prog_compiler_c_o+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_c_o=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8424: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:8428: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o=yes - fi - fi - chmod u+w . 2>&5 - $RM conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files - $RM out/* && rmdir out - cd .. - $RM -r conftest - $RM conftest* - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 -$as_echo "$lt_cv_prog_compiler_c_o" >&6; } - - - - -hard_links="nottested" -if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 -$as_echo_n "checking if we can lock with hard links... " >&6; } - hard_links=yes - $RM conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 -$as_echo "$hard_links" >&6; } - if test "$hard_links" = no; then - { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} - need_locks=warn - fi -else - need_locks=no -fi - - - - - - - { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } - - runpath_var= - allow_undefined_flag= - always_export_symbols=no - archive_cmds= - archive_expsym_cmds= - compiler_needs_object=no - enable_shared_with_static_runtimes=no - export_dynamic_flag_spec= - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - hardcode_automatic=no - hardcode_direct=no - hardcode_direct_absolute=no - hardcode_libdir_flag_spec= - hardcode_libdir_flag_spec_ld= - hardcode_libdir_separator= - hardcode_minus_L=no - hardcode_shlibpath_var=unsupported - inherit_rpath=no - link_all_deplibs=unknown - module_cmds= - module_expsym_cmds= - old_archive_from_new_cmds= - old_archive_from_expsyms_cmds= - thread_safe_flag_spec= - whole_archive_flag_spec= - # include_expsyms should be a list of space-separated symbols to be *always* - # included in the symbol list - include_expsyms= - # exclude_expsyms can be an extended regexp of symbols to exclude - # it will be wrapped by ` (' and `)$', so one must not match beginning or - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', - # as well as any symbol that contains `d'. - exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out - # platforms (ab)use it in PIC code, but their linkers get confused if - # the symbol is explicitly referenced. Since portable code cannot - # rely on this symbol name, it's probably fine to never include it in - # preloaded symbol tables. - # Exclude shared library initialization/finalization symbols. - extract_expsyms_cmds= - - case $host_os in - cygwin* | mingw* | pw32* | cegcc*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no - fi - ;; - interix*) - # we just hope/assume this is gcc and not c89 (= MSVC++) - with_gnu_ld=yes - ;; - openbsd*) - with_gnu_ld=no - ;; - esac - - ld_shlibs=yes - if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' - - # Set some defaults for GNU ld with shared library support. These - # are reset later if shared libraries are not supported. Putting them - # here allows them to be overridden if necessary. - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - export_dynamic_flag_spec='${wl}--export-dynamic' - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec= - fi - supports_anon_versioning=no - case `$LD -v 2>&1` in - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... - *\ 2.11.*) ;; # other 2.11 versions - *) supports_anon_versioning=yes ;; - esac - - # See if GNU ld supports shared libraries. - case $host_os in - aix[3-9]*) - # On AIX/PPC, the GNU linker is very broken - if test "$host_cpu" != ia64; then - ld_shlibs=no - cat <<_LT_EOF 1>&2 - -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. - -_LT_EOF - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='' - ;; - m68k) - archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - ;; - esac - ;; - - beos*) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs=no - fi - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, - # as there is no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' - allow_undefined_flag=unsupported - always_export_symbols=no - enable_shared_with_static_runtimes=yes - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' - - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - ld_shlibs=no - fi - ;; - - interix[3-9]*) - hardcode_direct=no - hardcode_shlibpath_var=no - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - - gnu* | linux* | tpf* | k*bsd*-gnu) - tmp_diet=no - if test "$host_os" = linux-dietlibc; then - case $cc_basename in - diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) - esac - fi - if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ - && test "$tmp_diet" = no - then - tmp_addflag= - tmp_sharedflag='-shared' - case $cc_basename,$host_cpu in - pgcc*) # Portland Group C compiler - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag' - ;; - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag -Mnomain' ;; - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 - tmp_addflag=' -i_dynamic' ;; - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 - tmp_addflag=' -i_dynamic -nofor_main' ;; - ifc* | ifort*) # Intel Fortran compiler - tmp_addflag=' -nofor_main' ;; - lf95*) # Lahey Fortran 8.1 - whole_archive_flag_spec= - tmp_sharedflag='--shared' ;; - xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) - tmp_sharedflag='-qmkshrobj' - tmp_addflag= ;; - esac - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) # Sun C 5.9 - whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - compiler_needs_object=yes - tmp_sharedflag='-G' ;; - *Sun\ F*) # Sun Fortran 8.3 - tmp_sharedflag='-G' ;; - esac - archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - - if test "x$supports_anon_versioning" = xyes; then - archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - - case $cc_basename in - xlf*) - # IBM XL Fortran 10.1 on PPC cannot create shared libs itself - whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' - hardcode_libdir_flag_spec= - hardcode_libdir_flag_spec_ld='-rpath $libdir' - archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' - if test "x$supports_anon_versioning" = xyes; then - archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' - fi - ;; - esac - else - ld_shlibs=no - fi - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; - - solaris*) - if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then - ld_shlibs=no - cat <<_LT_EOF 1>&2 - -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) - case `$LD -v 2>&1` in - *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) - ld_shlibs=no - cat <<_LT_EOF 1>&2 - -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not -*** reliably create shared libraries on SCO systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - ;; - *) - # For security reasons, it is highly recommended that you always - # use absolute paths for naming shared libraries, and exclude the - # DT_RUNPATH tag from executables and libraries. But doing so - # requires that you compile everything twice, which is a pain. - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac - ;; - - sunos4*) - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - *) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac - - if test "$ld_shlibs" = no; then - runpath_var= - hardcode_libdir_flag_spec= - export_dynamic_flag_spec= - whole_archive_flag_spec= - fi - else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag=unsupported - always_export_symbols=yes - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L=yes - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct=unsupported - fi - ;; - - aix[4-9]*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - else - export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - fi - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) - for ld_flag in $LDFLAGS; do - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then - aix_use_runtimelinking=yes - break - fi - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - archive_cmds='' - hardcode_direct=yes - hardcode_direct_absolute=yes - hardcode_libdir_separator=':' - link_all_deplibs=yes - file_list_spec='${wl}-f,' - - if test "$GCC" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && - strings "$collect2name" | $GREP resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - export_dynamic_flag_spec='${wl}-bexpall' - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - always_export_symbols=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='-berok' - # Determine the default libpath from the value encoded in an - # empty executable. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" - archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-z nodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an - # empty executable. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - no_undefined_flag=' ${wl}-bernotok' - allow_undefined_flag=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec='$convenience' - archive_cmds_need_lc=yes - # This is similar to how AIX traditionally builds its shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='' - ;; - m68k) - archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - ;; - esac - ;; - - bsdi[45]*) - export_dynamic_flag_spec=-rdynamic - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=".dll" - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_from_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' - enable_shared_with_static_runtimes=yes - ;; - - darwin* | rhapsody*) - - - archive_cmds_need_lc=no - hardcode_direct=no - hardcode_automatic=yes - hardcode_shlibpath_var=unsupported - whole_archive_flag_spec='' - link_all_deplibs=yes - allow_undefined_flag="$_lt_dar_allow_undefined" - case $cc_basename in - ifort*) _lt_dar_can_shared=yes ;; - *) _lt_dar_can_shared=$GCC ;; - esac - if test "$_lt_dar_can_shared" = "yes"; then - output_verbose_link_cmd=echo - archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" - module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" - archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" - module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" - - else - ld_shlibs=no - fi - - ;; - - dgux*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; - - freebsd1*) - ld_shlibs=no - ;; - - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; - - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | dragonfly*) - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - hpux9*) - if test "$GCC" = yes; then - archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - fi - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L=yes - export_dynamic_flag_spec='${wl}-E' - ;; - - hpux10*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' - fi - if test "$with_gnu_ld" = no; then - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_flag_spec_ld='+b $libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - hardcode_direct_absolute=yes - export_dynamic_flag_spec='${wl}-E' - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L=yes - fi - ;; - - hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - case $host_cpu in - hppa*64*) - archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - else - case $host_cpu in - hppa*64*) - archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - fi - if test "$with_gnu_ld" = no; then - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - - case $host_cpu in - hppa*64*|ia64*) - hardcode_direct=no - hardcode_shlibpath_var=no - ;; - *) - hardcode_direct=yes - hardcode_direct_absolute=yes - export_dynamic_flag_spec='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L=yes - ;; - esac - fi - ;; - - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - # Try to use the -exported_symbol ld option, if it does not - # work, assume that -exports_file does not work either and - # implicitly export all symbols. - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" - cat >conftest.$ac_ext <<_ACEOF -int foo(void) {} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' - -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" - else - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' - fi - archive_cmds_need_lc='no' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - inherit_rpath=yes - link_all_deplibs=yes - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_shlibpath_var=no - ;; - - *nto* | *qnx*) - ;; - - openbsd*) - if test -f /usr/libexec/ld.so; then - hardcode_direct=yes - hardcode_shlibpath_var=no - hardcode_direct_absolute=yes - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - else - case $host_os in - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - ;; - esac - fi - else - ld_shlibs=no - fi - ;; - - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; - - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - fi - archive_cmds_need_lc='no' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - ;; - - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ - $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' - - # Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec='-rpath $libdir' - fi - archive_cmds_need_lc='no' - hardcode_libdir_separator=: - ;; - - solaris*) - no_undefined_flag=' -z defs' - if test "$GCC" = yes; then - wlarc='${wl}' - archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' - else - case `$CC -V 2>&1` in - *"Compilers 5.0"*) - wlarc='' - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' - ;; - *) - wlarc='${wl}' - archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' - ;; - esac - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_shlibpath_var=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. GCC discards it without `$wl', - # but is careful enough not to reorder. - # Supported since Solaris 2.6 (maybe 2.5.1?) - if test "$GCC" = yes; then - whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - else - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' - fi - ;; - esac - link_all_deplibs=yes - ;; - - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - hardcode_libdir_flag_spec='-L$libdir' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; - - sysv4) - case $host_vendor in - sni) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds='$CC -r -o $output$reload_objs' - hardcode_direct=no - ;; - motorola) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; - - sysv4.3*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - export_dynamic_flag_spec='-Bexport' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ld_shlibs=yes - fi - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) - no_undefined_flag='${wl}-z,text' - archive_cmds_need_lc=no - hardcode_shlibpath_var=no - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - no_undefined_flag='${wl}-z,text' - allow_undefined_flag='${wl}-z,nodefs' - archive_cmds_need_lc=no - hardcode_shlibpath_var=no - hardcode_libdir_flag_spec='${wl}-R,$libdir' - hardcode_libdir_separator=':' - link_all_deplibs=yes - export_dynamic_flag_spec='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - uts4*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; - - *) - ld_shlibs=no - ;; - esac - - if test x$host_vendor = xsni; then - case $host in - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - export_dynamic_flag_spec='${wl}-Blargedynsym' - ;; - esac - fi - fi - -{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 -$as_echo "$ld_shlibs" >&6; } -test "$ld_shlibs" = no && can_build_shared=no - -with_gnu_ld=$with_gnu_ld - - - - - - - - - - - - - - - -# -# Do we need to explicitly link libc? -# -case "x$archive_cmds_need_lc" in -x|xyes) - # Assume -lc should be added - archive_cmds_need_lc=yes - - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 -$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } - $RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl - pic_flag=$lt_prog_compiler_pic - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 - (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - then - archive_cmds_need_lc=no - else - archive_cmds_need_lc=yes - fi - allow_undefined_flag=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $RM conftest* - { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 -$as_echo "$archive_cmds_need_lc" >&6; } - ;; - esac - fi - ;; -esac - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 -$as_echo_n "checking dynamic linker characteristics... " >&6; } - -if test "$GCC" = yes; then - case $host_os in - darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; - *) lt_awk_arg="/^libraries:/" ;; - esac - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then - # if the path contains ";" then we assume it to be the separator - # otherwise default to the standard path separator (i.e. ":") - it is - # assumed that no part of a normal pathname contains ";" but that should - # okay in the real world where ";" in dirpaths is itself problematic. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` - else - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - # Ok, now we have the path, separated by spaces, we can step through it - # and add multilib dir if necessary. - lt_tmp_lt_search_path_spec= - lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` - for lt_sys_path in $lt_search_path_spec; do - if test -d "$lt_sys_path/$lt_multi_os_dir"; then - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" - else - test -d "$lt_sys_path" && \ - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" - fi - done - lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' -BEGIN {RS=" "; FS="/|\n";} { - lt_foo=""; - lt_count=0; - for (lt_i = NF; lt_i > 0; lt_i--) { - if ($lt_i != "" && $lt_i != ".") { - if ($lt_i == "..") { - lt_count++; - } else { - if (lt_count == 0) { - lt_foo="/" $lt_i lt_foo; - } else { - lt_count--; - } - } - } - } - if (lt_foo != "") { lt_freq[lt_foo]++; } - if (lt_freq[lt_foo] == 1) { print lt_foo; } -}'` - sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` -else - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" -fi -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=".so" -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -need_lib_prefix=unknown -hardcode_into_libs=no - -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown - -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}${shared_ext}$major' - ;; - -aix[4-9]*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}${shared_ext}$major' - fi - shlibpath_var=LIBPATH - fi - ;; - -amigaos*) - case $host_cpu in - powerpc) - # Since July 2007 AmigaOS4 officially supports .so libraries. - # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - ;; - m68k) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; - esac - ;; - -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi[45]*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; - -cygwin* | mingw* | pw32* | cegcc*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname~ - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; - fi' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $RM \$dlpath' - shlibpath_overrides_runpath=yes - - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; - mingw* | cegcc*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - ;; - esac - ;; - - *) - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' - soname_spec='${libname}${release}${major}$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' - - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[123]*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[01]* | freebsdelf3.[01]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - if test "X$HPUX_IA64_MODE" = X32; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - fi - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - -interix[3-9]*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - hardcode_into_libs=yes - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # Some binutils ld are patched to set DT_RUNPATH - save_LDFLAGS=$LDFLAGS - save_libdir=$libdir - eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ - LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then - shlibpath_overrides_runpath=yes -fi - -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir - - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # Add ABI-specific directories to the system library path. - sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" - - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" - fi - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; - -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - -newsos6) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -*nto* | *qnx*) - version_type=qnx - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='ldqnx.so' - ;; - -openbsd*) - version_type=sunos - sys_lib_dlsearch_path_spec="/usr/lib" - need_lib_prefix=no - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. - case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; - esac - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case $host_os in - openbsd2.[89] | openbsd2.[89].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - ;; - -os2*) - libname_spec='$name' - shrext_cmds=".dll" - need_lib_prefix=no - library_names_spec='$libname${shared_ext} $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; - -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - ;; - -rdos*) - dynamic_linker=no - ;; - -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; - -sysv4 | sysv4.3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; - -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' - soname_spec='$libname${shared_ext}.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=freebsd-elf - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - if test "$with_gnu_ld" = yes; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - -tpf*) - # TPF is a cross-target only. Preferred cross-host = GNU/Linux. - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -uts4*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -*) - dynamic_linker=no - ;; -esac -{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 -$as_echo "$dynamic_linker" >&6; } -test "$dynamic_linker" = no && can_build_shared=no - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then - sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" -fi -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then - sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 -$as_echo_n "checking how to hardcode library paths into programs... " >&6; } -hardcode_action= -if test -n "$hardcode_libdir_flag_spec" || - test -n "$runpath_var" || - test "X$hardcode_automatic" = "Xyes" ; then - - # We can hardcode non-existent directories. - if test "$hardcode_direct" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && - test "$hardcode_minus_L" != no; then - # Linking always hardcodes the temporary library directory. - hardcode_action=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action=unsupported -fi -{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 -$as_echo "$hardcode_action" >&6; } - -if test "$hardcode_action" = relink || - test "$inherit_rpath" = yes; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi - - - - - - - if test "x$enable_dlopen" != xyes; then - enable_dlopen=unknown - enable_dlopen_self=unknown - enable_dlopen_self_static=unknown -else - lt_cv_dlopen=no - lt_cv_dlopen_libs= - - case $host_os in - beos*) - lt_cv_dlopen="load_add_on" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ;; - - mingw* | pw32* | cegcc*) - lt_cv_dlopen="LoadLibrary" - lt_cv_dlopen_libs= - ;; - - cygwin*) - lt_cv_dlopen="dlopen" - lt_cv_dlopen_libs= - ;; - - darwin*) - # if libdl is installed we need to link against it - { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 -$as_echo_n "checking for dlopen in -ldl... " >&6; } -if test "${ac_cv_lib_dl_dlopen+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dlopen (); -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_lib_dl_dlopen=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_dl_dlopen=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 -$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = x""yes; then - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" -else - - lt_cv_dlopen="dyld" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - -fi - - ;; - - *) - { $as_echo "$as_me:$LINENO: checking for shl_load" >&5 -$as_echo_n "checking for shl_load... " >&6; } -if test "${ac_cv_func_shl_load+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define shl_load to an innocuous variant, in case declares shl_load. - For example, HP-UX 11i declares gettimeofday. */ -#define shl_load innocuous_shl_load - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char shl_load (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef shl_load - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char shl_load (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_shl_load || defined __stub___shl_load -choke me -#endif - -int -main () -{ -return shl_load (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_func_shl_load=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_func_shl_load=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 -$as_echo "$ac_cv_func_shl_load" >&6; } -if test "x$ac_cv_func_shl_load" = x""yes; then - lt_cv_dlopen="shl_load" -else - { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 -$as_echo_n "checking for shl_load in -ldld... " >&6; } -if test "${ac_cv_lib_dld_shl_load+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldld $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char shl_load (); -int -main () -{ -return shl_load (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_lib_dld_shl_load=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_dld_shl_load=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 -$as_echo "$ac_cv_lib_dld_shl_load" >&6; } -if test "x$ac_cv_lib_dld_shl_load" = x""yes; then - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" -else - { $as_echo "$as_me:$LINENO: checking for dlopen" >&5 -$as_echo_n "checking for dlopen... " >&6; } -if test "${ac_cv_func_dlopen+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define dlopen to an innocuous variant, in case declares dlopen. - For example, HP-UX 11i declares gettimeofday. */ -#define dlopen innocuous_dlopen - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char dlopen (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef dlopen - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dlopen (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_dlopen || defined __stub___dlopen -choke me -#endif - -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_func_dlopen=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_func_dlopen=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 -$as_echo "$ac_cv_func_dlopen" >&6; } -if test "x$ac_cv_func_dlopen" = x""yes; then - lt_cv_dlopen="dlopen" -else - { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 -$as_echo_n "checking for dlopen in -ldl... " >&6; } -if test "${ac_cv_lib_dl_dlopen+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dlopen (); -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_lib_dl_dlopen=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_dl_dlopen=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 -$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = x""yes; then - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" -else - { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 -$as_echo_n "checking for dlopen in -lsvld... " >&6; } -if test "${ac_cv_lib_svld_dlopen+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsvld $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dlopen (); -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_lib_svld_dlopen=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_svld_dlopen=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 -$as_echo "$ac_cv_lib_svld_dlopen" >&6; } -if test "x$ac_cv_lib_svld_dlopen" = x""yes; then - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" -else - { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 -$as_echo_n "checking for dld_link in -ldld... " >&6; } -if test "${ac_cv_lib_dld_dld_link+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldld $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dld_link (); -int -main () -{ -return dld_link (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_lib_dld_dld_link=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_dld_dld_link=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 -$as_echo "$ac_cv_lib_dld_dld_link" >&6; } -if test "x$ac_cv_lib_dld_dld_link" = x""yes; then - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" -fi - - -fi - - -fi - - -fi - - -fi - - -fi - - ;; - esac - - if test "x$lt_cv_dlopen" != xno; then - enable_dlopen=yes - else - enable_dlopen=no - fi - - case $lt_cv_dlopen in - dlopen) - save_CPPFLAGS="$CPPFLAGS" - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" - - save_LDFLAGS="$LDFLAGS" - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" - - save_LIBS="$LIBS" - LIBS="$lt_cv_dlopen_libs $LIBS" - - { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 -$as_echo_n "checking whether a program can dlopen itself... " >&6; } -if test "${lt_cv_dlopen_self+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - lt_cv_dlopen_self=cross -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF -#line 11227 "configure" -#include "confdefs.h" - -#if HAVE_DLFCN_H -#include -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -void fnord() { int i=42;} -int main () -{ - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ - } - else - puts (dlerror ()); - - return status; -} -_LT_EOF - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) >&5 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; - x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; - esac - else : - # compilation failed - lt_cv_dlopen_self=no - fi -fi -rm -fr conftest* - - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 -$as_echo "$lt_cv_dlopen_self" >&6; } - - if test "x$lt_cv_dlopen_self" = xyes; then - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" - { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 -$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } -if test "${lt_cv_dlopen_self_static+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - lt_cv_dlopen_self_static=cross -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF -#line 11323 "configure" -#include "confdefs.h" - -#if HAVE_DLFCN_H -#include -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -void fnord() { int i=42;} -int main () -{ - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ - } - else - puts (dlerror ()); - - return status; -} -_LT_EOF - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) >&5 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; - x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; - esac - else : - # compilation failed - lt_cv_dlopen_self_static=no - fi -fi -rm -fr conftest* - - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 -$as_echo "$lt_cv_dlopen_self_static" >&6; } - fi - - CPPFLAGS="$save_CPPFLAGS" - LDFLAGS="$save_LDFLAGS" - LIBS="$save_LIBS" - ;; - esac - - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac - - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; - esac -fi - - - - - - - - - - - - - - - - - -striplib= -old_striplib= -{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 -$as_echo_n "checking whether stripping libraries is possible... " >&6; } -if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } -else -# FIXME - insert some real tests, host_os isn't really good enough - case $host_os in - darwin*) - if test -n "$STRIP" ; then - striplib="$STRIP -x" - old_striplib="$STRIP -S" - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - fi - ;; - *) - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - ;; - esac -fi - - - - - - - - - - - - - # Report which library types will actually be built - { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 -$as_echo_n "checking if libtool supports shared libraries... " >&6; } - { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 -$as_echo "$can_build_shared" >&6; } - - { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 -$as_echo_n "checking whether to build shared libraries... " >&6; } - test "$can_build_shared" = "no" && enable_shared=no - - # On AIX, shared libraries and static libraries use the same namespace, and - # are all built from PIC. - case $host_os in - aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - - aix[4-9]*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; - esac - { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 -$as_echo "$enable_shared" >&6; } - - { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 -$as_echo_n "checking whether to build static libraries... " >&6; } - # Make sure either enable_shared or enable_static is yes. - test "$enable_shared" = yes || enable_static=yes - { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 -$as_echo "$enable_static" >&6; } - - - - -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -CC="$lt_save_CC" - - - - - - - - - - - - - - ac_config_commands="$ac_config_commands libtool" - - - - -# Only expand once: - - - -ACLOCAL_AMFLAGS="-I m4" - - -# Extract the first word of "doxygen", so it can be a program name with args. -set dummy doxygen; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_HAVE_DOXYGEN+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$HAVE_DOXYGEN"; then - ac_cv_prog_HAVE_DOXYGEN="$HAVE_DOXYGEN" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_HAVE_DOXYGEN="true" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - test -z "$ac_cv_prog_HAVE_DOXYGEN" && ac_cv_prog_HAVE_DOXYGEN="false" -fi -fi -HAVE_DOXYGEN=$ac_cv_prog_HAVE_DOXYGEN -if test -n "$HAVE_DOXYGEN"; then - { $as_echo "$as_me:$LINENO: result: $HAVE_DOXYGEN" >&5 -$as_echo "$HAVE_DOXYGEN" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - - -if $HAVE_DOXYGEN; then - HAVE_DOXYGEN_TRUE= - HAVE_DOXYGEN_FALSE='#' -else - HAVE_DOXYGEN_TRUE='#' - HAVE_DOXYGEN_FALSE= -fi - -if test $HAVE_DOXYGEN = "false"; then - { $as_echo "$as_me:$LINENO: WARNING: *** doxygen not found, API documentation will not be built" >&5 -$as_echo "$as_me: WARNING: *** doxygen not found, API documentation will not be built" >&2;} -fi - -BUILD_SPEC="false" -ac_build_spec=yes -# Check whether --enable-spec was given. -if test "${enable_spec+set}" = set; then - enableval=$enable_spec; - if test "x$enableval" = "xno"; then - ac_build_spec=$enableval - fi - -else - - ac_build_spec=yes - -fi - -if test "x$ac_build_spec" = "xyes"; then - # Extract the first word of "pdflatex", so it can be a program name with args. -set dummy pdflatex; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_HAVE_PDFLATEX+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$HAVE_PDFLATEX"; then - ac_cv_prog_HAVE_PDFLATEX="$HAVE_PDFLATEX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_HAVE_PDFLATEX="yes" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -HAVE_PDFLATEX=$ac_cv_prog_HAVE_PDFLATEX -if test -n "$HAVE_PDFLATEX"; then - { $as_echo "$as_me:$LINENO: result: $HAVE_PDFLATEX" >&5 -$as_echo "$HAVE_PDFLATEX" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - # Extract the first word of "bibtex", so it can be a program name with args. -set dummy bibtex; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_HAVE_BIBTEX+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$HAVE_BIBTEX"; then - ac_cv_prog_HAVE_BIBTEX="$HAVE_BIBTEX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_HAVE_BIBTEX="yes" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -HAVE_BIBTEX=$ac_cv_prog_HAVE_BIBTEX -if test -n "$HAVE_BIBTEX"; then - { $as_echo "$as_me:$LINENO: result: $HAVE_BIBTEX" >&5 -$as_echo "$HAVE_BIBTEX" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - # Extract the first word of "fig2dev", so it can be a program name with args. -set dummy fig2dev; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_HAVE_TRANSFIG+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$HAVE_TRANSFIG"; then - ac_cv_prog_HAVE_TRANSFIG="$HAVE_TRANSFIG" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_HAVE_TRANSFIG="yes" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -HAVE_TRANSFIG=$ac_cv_prog_HAVE_TRANSFIG -if test -n "$HAVE_TRANSFIG"; then - { $as_echo "$as_me:$LINENO: result: $HAVE_TRANSFIG" >&5 -$as_echo "$HAVE_TRANSFIG" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - if test -r doc/spec/spec.tex; then - if test "x$HAVE_PDFLATEX" = "xyes"; then - if test "x$HAVE_BIBTEX" = "xyes"; then - if test "x$HAVE_TRANSFIG" = "xyes"; then - tex_pkg_list=`fgrep usepackage doc/spec/spec.tex | grep \{ | grep -v ltablex` - tex_pkg_ok="yes" - for pkg_line in $tex_pkg_list; do - pkg_name=`echo $pkg_line | sed -e 's/.*{\(.*\)}.*/\1/'` - { $as_echo "$as_me:$LINENO: checking for Tex package $pkg_name" >&5 -$as_echo_n "checking for Tex package $pkg_name... " >&6; } - cat >conftest.tex <<_ACEOF -\\documentclass{book} -$pkg_line -\\begin{document} -Hello World. -\\end{document} -_ACEOF - if pdflatex -interaction batchmode -halt-on-error conftest < /dev/null > /dev/null 2>&1; then - { $as_echo "$as_me:$LINENO: result: ok" >&5 -$as_echo "ok" >&6; } - else - tex_pkg_ok="no" - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - fi - done - if test -w conftest.tex; then rm conftest.tex; fi - if test -w conftest.tex; then rm conftest.aux; fi - if test -w conftest.pdf; then rm conftest.pdf; fi - if test "x$tex_pkg_ok" = "xyes"; then - BUILD_SPEC="true" - fi - fi - fi - fi - fi -fi - - -if $BUILD_SPEC; then - BUILD_SPEC_TRUE= - BUILD_SPEC_FALSE='#' -else - BUILD_SPEC_TRUE='#' - BUILD_SPEC_FALSE= -fi - -if test $BUILD_SPEC = "false"; then - { $as_echo "$as_me:$LINENO: WARNING: *** Format Specification will not built." >&5 -$as_echo "$as_me: WARNING: *** Format Specification will not built." >&2;} -fi - -VALGRIND_ENVIRONMENT="" -ac_enable_valgrind=no -# Check whether --enable-valgrind-testing was given. -if test "${enable_valgrind_testing+set}" = set; then - enableval=$enable_valgrind_testing; ac_enable_valgrind=yes -else - ac_enable_valgrind=no -fi - - -if test "x${ac_enable_valgrind}" = xyes ; then - if test "x${enable_shared}" = xyes ; then - VALGRIND_ENVIRONMENT="libtool --mode=execute " - fi - - # Extract the first word of "valgrind", so it can be a program name with args. -set dummy valgrind; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_HAVE_VALGRIND+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$HAVE_VALGRIND"; then - ac_cv_prog_HAVE_VALGRIND="$HAVE_VALGRIND" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_HAVE_VALGRIND="yes" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - test -z "$ac_cv_prog_HAVE_VALGRIND" && ac_cv_prog_HAVE_VALGRIND="no" -fi -fi -HAVE_VALGRIND=$ac_cv_prog_HAVE_VALGRIND -if test -n "$HAVE_VALGRIND"; then - { $as_echo "$as_me:$LINENO: result: $HAVE_VALGRIND" >&5 -$as_echo "$HAVE_VALGRIND" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - if test "x$HAVE_VALGRIND" = xyes ; then - VALGRIND_ENVIRONMENT="$VALGRIND_ENVIRONMENT valgrind -q --leak-check=yes --show-reachable=yes --num-callers=100" - - TESTS_INFO="Type 'make check' to run test suite. Tests will be run under: - ${VALGRIND_ENVIRONMENT}" - else - TESTS_INFO="Type 'make check' to run test suite (Valgrind not found)" - fi -else - TESTS_INFO="Type 'make check' to run test suite (Valgrind testing not enabled)" -fi - - - -cflags_save="$CFLAGS" -if test -z "$GCC"; then - case $host in - *) - DEBUG="-g -DDEBUG" - CFLAGS="-O" - PROFILE="-g -p -DDEBUG" ;; - esac -else - - case $host in - *) - DEBUG="-g -Wall -Wno-parentheses -DDEBUG -D__NO_MATH_INLINES" - CFLAGS="-Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops" - PROFILE="-Wall -Wno-parentheses -pg -g -O3 -fno-inline-functions -DDEBUG";; - esac -fi -CFLAGS="$CFLAGS $cflags_save" - -cpu_x86_64=no -cpu_x86_32=no -# Check whether --enable-asm was given. -if test "${enable_asm+set}" = set; then - enableval=$enable_asm; ac_enable_asm=$enableval -else - ac_enable_asm=yes -fi - - -if test "x${ac_enable_asm}" = xyes; then - cpu_optimization="no optimization for your platform, please send a patch" - case $target_cpu in - i[3456]86) - cpu_x86_32=yes - cpu_optimization="32 bit x86" - -cat >>confdefs.h <<\_ACEOF -#define OC_X86_ASM /**/ -_ACEOF - - if test "x$target_vendor" = "xapple"; then - THEORA_LDFLAGS="$THEORA_LDFLAGS -Wl,-read_only_relocs,suppress" - fi - ;; - x86_64) - cpu_x86_64=yes - cpu_optimization="64 bit x86" - -cat >>confdefs.h <<\_ACEOF -#define OC_X86_ASM /**/ -_ACEOF - - -cat >>confdefs.h <<\_ACEOF -#define OC_X86_64_ASM /**/ -_ACEOF - - ;; - esac -else - cpu_optimization="disabled" -fi - - -if test x$cpu_x86_64 = xyes; then - CPU_x86_64_TRUE= - CPU_x86_64_FALSE='#' -else - CPU_x86_64_TRUE='#' - CPU_x86_64_FALSE= -fi - - - -if test x$cpu_x86_32 = xyes; then - CPU_x86_32_TRUE= - CPU_x86_32_FALSE='#' -else - CPU_x86_32_TRUE='#' - CPU_x86_32_FALSE= -fi - - -# Test whenever ld supports -version-script - - -# Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -else - with_gnu_ld=no -fi - -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 -$as_echo_n "checking for ld used by $CC... " >&6; } - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [\\/]* | ?:[\\/]*) - re_direlt='/[^/][^/]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` - while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do - ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } -else - { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } -fi -if test "${lt_cv_path_LD+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -z "$LD"; then - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 &5 -$as_echo "$LD" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi -test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 -$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} - { (exit 1); exit 1; }; } -{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if test "${lt_cv_prog_gnu_ld+set}" = set; then - $as_echo_n "(cached) " >&6 -else - # I'd rather use --version here, but apparently some GNU lds only accept -v. -case `$LD -v 2>&1 &5 -$as_echo "$lt_cv_prog_gnu_ld" >&6; } -with_gnu_ld=$lt_cv_prog_gnu_ld - - - - - - - -{ $as_echo "$as_me:$LINENO: checking how to control symbol export" >&5 -$as_echo_n "checking how to control symbol export... " >&6; } - -THDEC_VERSION_ARG="" -THENC_VERSION_ARG="" -TH_VERSION_ARG="" -if test "x$lt_cv_prog_gnu_ld" = "xyes"; then - case "$target_os" in - *mingw*) - THEORA_LDFLAGS="$THEORA_LDFLAGS -no-undefined" - THDEC_VERSION_ARG="-export-symbols \$(top_srcdir)/win32/xmingw32/libtheoradec-all.def" - THENC_VERSION_ARG="-export-symbols \$(top_srcdir)/win32/xmingw32/libtheoraenc-all.def" - THENC_VERSION_ARG="$THENC_VERSION_ARG -ltheoradec" - THC_VERSION_ARG="-export-symbols \$(top_srcdir)/win32/libtheora.def" - { $as_echo "$as_me:$LINENO: result: -export-symbols" >&5 -$as_echo "-export-symbols" >&6; } - ;; - linux* | solaris* ) - THDEC_VERSION_ARG='-Wl,--version-script=$(srcdir)/Version_script-dec' - THENC_VERSION_ARG='-Wl,--version-script=$(srcdir)/Version_script-enc' - TH_VERSION_ARG='-Wl,--version-script=$(srcdir)/Version_script' - { $as_echo "$as_me:$LINENO: result: --version-script" >&5 -$as_echo "--version-script" >&6; } - ;; - *) - # build without versioning - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - ;; - esac -else - case "$target_os" in - darwin*) - THDEC_VERSION_ARG='-Wl,-exported_symbols_list,$(srcdir)/theoradec.exp' - THENC_VERSION_ARG='-Wl,-exported_symbols_list,$(srcdir)/theoraenc.exp' - TH_VERSION_ARG='-Wl,-exported_symbols_list,$(srcdir)/theora.exp' - { $as_echo "$as_me:$LINENO: result: -exported_symbols_list" >&5 -$as_echo "-exported_symbols_list" >&6; } - ;; - *) - # build without versioning - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - ;; - esac -fi - -THEORADEC_LDFLAGS="$THEORA_LDFLAGS $THDEC_VERSION_ARG" -THEORAENC_LDFLAGS="$THEORA_LDFLAGS $THENC_VERSION_ARG" -THEORA_LDFLAGS="$THEORA_LDFLAGS $TH_VERSION_ARG" - - - - - -HAVE_OGG=no - - -# Extract the first word of "pkg-config", so it can be a program name with args. -set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_HAVE_PKG_CONFIG+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$HAVE_PKG_CONFIG"; then - ac_cv_prog_HAVE_PKG_CONFIG="$HAVE_PKG_CONFIG" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_HAVE_PKG_CONFIG="yes" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -HAVE_PKG_CONFIG=$ac_cv_prog_HAVE_PKG_CONFIG -if test -n "$HAVE_PKG_CONFIG"; then - { $as_echo "$as_me:$LINENO: result: $HAVE_PKG_CONFIG" >&5 -$as_echo "$HAVE_PKG_CONFIG" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -if test "x$HAVE_PKG_CONFIG" = "xyes" -then - - -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. -set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then - $as_echo_n "(cached) " >&6 -else - case $PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -PKG_CONFIG=$ac_cv_path_PKG_CONFIG -if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_path_PKG_CONFIG"; then - ac_pt_PKG_CONFIG=$PKG_CONFIG - # Extract the first word of "pkg-config", so it can be a program name with args. -set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then - $as_echo_n "(cached) " >&6 -else - case $ac_pt_PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG -if test -n "$ac_pt_PKG_CONFIG"; then - { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 -$as_echo "$ac_pt_PKG_CONFIG" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_pt_PKG_CONFIG" = x; then - PKG_CONFIG="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - PKG_CONFIG=$ac_pt_PKG_CONFIG - fi -else - PKG_CONFIG="$ac_cv_path_PKG_CONFIG" -fi - -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=0.9.0 - { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - PKG_CONFIG="" - fi - -fi - -pkg_failed=no -{ $as_echo "$as_me:$LINENO: checking for OGG" >&5 -$as_echo_n "checking for OGG... " >&6; } - -if test -n "$PKG_CONFIG"; then - if test -n "$OGG_CFLAGS"; then - pkg_cv_OGG_CFLAGS="$OGG_CFLAGS" - else - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.1\"") >&5 - ($PKG_CONFIG --exists --print-errors "ogg >= 1.1") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_OGG_CFLAGS=`$PKG_CONFIG --cflags "ogg >= 1.1" 2>/dev/null` -else - pkg_failed=yes -fi - fi -else - pkg_failed=untried -fi -if test -n "$PKG_CONFIG"; then - if test -n "$OGG_LIBS"; then - pkg_cv_OGG_LIBS="$OGG_LIBS" - else - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.1\"") >&5 - ($PKG_CONFIG --exists --print-errors "ogg >= 1.1") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_OGG_LIBS=`$PKG_CONFIG --libs "ogg >= 1.1" 2>/dev/null` -else - pkg_failed=yes -fi - fi -else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - OGG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ogg >= 1.1"` - else - OGG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ogg >= 1.1"` - fi - # Put the nasty error message in config.log where it belongs - echo "$OGG_PKG_ERRORS" >&5 - - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - HAVE_OGG=no -elif test $pkg_failed = untried; then - HAVE_OGG=no -else - OGG_CFLAGS=$pkg_cv_OGG_CFLAGS - OGG_LIBS=$pkg_cv_OGG_LIBS - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - HAVE_OGG=yes -fi -fi -if test "x$HAVE_OGG" = "xno" -then - -# Check whether --with-ogg was given. -if test "${with_ogg+set}" = set; then - withval=$with_ogg; ogg_prefix="$withval" -else - ogg_prefix="" -fi - - -# Check whether --with-ogg-libraries was given. -if test "${with_ogg_libraries+set}" = set; then - withval=$with_ogg_libraries; ogg_libraries="$withval" -else - ogg_libraries="" -fi - - -# Check whether --with-ogg-includes was given. -if test "${with_ogg_includes+set}" = set; then - withval=$with_ogg_includes; ogg_includes="$withval" -else - ogg_includes="" -fi - -# Check whether --enable-oggtest was given. -if test "${enable_oggtest+set}" = set; then - enableval=$enable_oggtest; -else - enable_oggtest=yes -fi - - - if test "x$ogg_libraries" != "x" ; then - OGG_LIBS="-L$ogg_libraries" - elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then - OGG_LIBS="" - elif test "x$ogg_prefix" != "x" ; then - OGG_LIBS="-L$ogg_prefix/lib" - elif test "x$prefix" != "xNONE" ; then - OGG_LIBS="-L$libdir" - fi - - if test "x$ogg_prefix" != "xno" ; then - OGG_LIBS="$OGG_LIBS -logg" - fi - - if test "x$ogg_includes" != "x" ; then - OGG_CFLAGS="-I$ogg_includes" - elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then - OGG_CFLAGS="" - elif test "x$ogg_prefix" != "x" ; then - OGG_CFLAGS="-I$ogg_prefix/include" - elif test "x$prefix" != "xNONE"; then - OGG_CFLAGS="" - fi - - { $as_echo "$as_me:$LINENO: checking for Ogg" >&5 -$as_echo_n "checking for Ogg... " >&6; } - if test "x$ogg_prefix" = "xno" ; then - no_ogg="disabled" - enable_oggtest="no" - else - no_ogg="" - fi - - - if test "x$enable_oggtest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $OGG_CFLAGS" - LIBS="$LIBS $OGG_LIBS" - rm -f conf.oggtest - if test "$cross_compiling" = yes; then - echo $ac_n "cross compiling; assumed OK... $ac_c" -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -#include -#include -#include -#include - -int main () -{ - system("touch conf.oggtest"); - return 0; -} - - -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - : -else - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -no_ogg=yes -fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - - - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - - if test "x$no_ogg" = "xdisabled" ; then - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - { { $as_echo "$as_me:$LINENO: error: - libogg is required to build this package! - please see http://www.xiph.org/ for how to - obtain a copy. - " >&5 -$as_echo "$as_me: error: - libogg is required to build this package! - please see http://www.xiph.org/ for how to - obtain a copy. - " >&2;} - { (exit 1); exit 1; }; } - elif test "x$no_ogg" = "x" ; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - : - else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - if test -f conf.oggtest ; then - : - else - echo "*** Could not run Ogg test program, checking why..." - CFLAGS="$CFLAGS $OGG_CFLAGS" - LIBS="$LIBS $OGG_LIBS" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -#include -#include - -int -main () -{ - return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding Ogg or finding the wrong" - echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means Ogg was incorrectly installed" - echo "*** or that you have moved Ogg since it was installed." -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - OGG_CFLAGS="" - OGG_LIBS="" - { { $as_echo "$as_me:$LINENO: error: - libogg is required to build this package! - please see http://www.xiph.org/ for how to - obtain a copy. - " >&5 -$as_echo "$as_me: error: - libogg is required to build this package! - please see http://www.xiph.org/ for how to - obtain a copy. - " >&2;} - { (exit 1); exit 1; }; } - fi - - - rm -f conf.oggtest - - cflags_save=$CFLAGS - libs_save=$LIBS - CFLAGS="$CFLAGS $OGG_CFLAGS" - LIBS="$LIBS $OGG_LIBS" - { $as_echo "$as_me:$LINENO: checking for oggpackB_read" >&5 -$as_echo_n "checking for oggpackB_read... " >&6; } -if test "${ac_cv_func_oggpackB_read+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define oggpackB_read to an innocuous variant, in case declares oggpackB_read. - For example, HP-UX 11i declares gettimeofday. */ -#define oggpackB_read innocuous_oggpackB_read - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char oggpackB_read (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef oggpackB_read - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char oggpackB_read (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_oggpackB_read || defined __stub___oggpackB_read -choke me -#endif - -int -main () -{ -return oggpackB_read (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_func_oggpackB_read=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_func_oggpackB_read=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_oggpackB_read" >&5 -$as_echo "$ac_cv_func_oggpackB_read" >&6; } -if test "x$ac_cv_func_oggpackB_read" = x""yes; then - : -else - - { { $as_echo "$as_me:$LINENO: error: newer libogg version (1.1 or later) required" >&5 -$as_echo "$as_me: error: newer libogg version (1.1 or later) required" >&2;} - { (exit 1); exit 1; }; } - -fi - - CFLAGS=$cflags_save - LIBS=$libs_save -fi - - -HAVE_VORBIS=no - - -if test "x$HAVE_PKG_CONFIG" = "xyes" -then - -pkg_failed=no -{ $as_echo "$as_me:$LINENO: checking for VORBIS" >&5 -$as_echo_n "checking for VORBIS... " >&6; } - -if test -n "$PKG_CONFIG"; then - if test -n "$VORBIS_CFLAGS"; then - pkg_cv_VORBIS_CFLAGS="$VORBIS_CFLAGS" - else - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.0.1\"") >&5 - ($PKG_CONFIG --exists --print-errors "vorbis >= 1.0.1") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_VORBIS_CFLAGS=`$PKG_CONFIG --cflags "vorbis >= 1.0.1" 2>/dev/null` -else - pkg_failed=yes -fi - fi -else - pkg_failed=untried -fi -if test -n "$PKG_CONFIG"; then - if test -n "$VORBIS_LIBS"; then - pkg_cv_VORBIS_LIBS="$VORBIS_LIBS" - else - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.0.1\"") >&5 - ($PKG_CONFIG --exists --print-errors "vorbis >= 1.0.1") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_VORBIS_LIBS=`$PKG_CONFIG --libs "vorbis >= 1.0.1" 2>/dev/null` -else - pkg_failed=yes -fi - fi -else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - VORBIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "vorbis >= 1.0.1"` - else - VORBIS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "vorbis >= 1.0.1"` - fi - # Put the nasty error message in config.log where it belongs - echo "$VORBIS_PKG_ERRORS" >&5 - - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - HAVE_VORBIS=no -elif test $pkg_failed = untried; then - HAVE_VORBIS=no -else - VORBIS_CFLAGS=$pkg_cv_VORBIS_CFLAGS - VORBIS_LIBS=$pkg_cv_VORBIS_LIBS - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - HAVE_VORBIS=yes -fi - VORBISENC_LIBS="-lvorbisenc" - -fi -if test "x$HAVE_VORBIS" = "xno" -then - -# Check whether --with-vorbis was given. -if test "${with_vorbis+set}" = set; then - withval=$with_vorbis; vorbis_prefix="$withval" -else - vorbis_prefix="" -fi - - -# Check whether --with-vorbis-libraries was given. -if test "${with_vorbis_libraries+set}" = set; then - withval=$with_vorbis_libraries; vorbis_libraries="$withval" -else - vorbis_libraries="" -fi - - -# Check whether --with-vorbis-includes was given. -if test "${with_vorbis_includes+set}" = set; then - withval=$with_vorbis_includes; vorbis_includes="$withval" -else - vorbis_includes="" -fi - -# Check whether --enable-vorbistest was given. -if test "${enable_vorbistest+set}" = set; then - enableval=$enable_vorbistest; -else - enable_vorbistest=yes -fi - - - if test "x$vorbis_libraries" != "x" ; then - VORBIS_LIBS="-L$vorbis_libraries" - elif test "x$vorbis_prefix" != "x" ; then - VORBIS_LIBS="-L$vorbis_prefix/lib" - elif test "x$prefix" != "xNONE"; then - VORBIS_LIBS="-L$libdir" - fi - - VORBIS_LIBS="$VORBIS_LIBS -lvorbis -lm" - VORBISFILE_LIBS="-lvorbisfile" - VORBISENC_LIBS="-lvorbisenc" - - if test "x$vorbis_includes" != "x" ; then - VORBIS_CFLAGS="-I$vorbis_includes" - elif test "x$vorbis_prefix" != "x" ; then - VORBIS_CFLAGS="-I$vorbis_prefix/include" - elif test "x$prefix" != "xNONE"; then - VORBIS_CFLAGS="" - fi - - - { $as_echo "$as_me:$LINENO: checking for Vorbis" >&5 -$as_echo_n "checking for Vorbis... " >&6; } - no_vorbis="" - - - if test "x$enable_vorbistest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $VORBIS_CFLAGS $OGG_CFLAGS" - LIBS="$LIBS $VORBIS_LIBS $VORBISENC_LIBS $OGG_LIBS" - rm -f conf.vorbistest - if test "$cross_compiling" = yes; then - echo $ac_n "cross compiling; assumed OK... $ac_c" -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -#include -#include -#include -#include -#include - -int main () -{ - vorbis_block vb; - vorbis_dsp_state vd; - vorbis_info vi; - - vorbis_info_init (&vi); - vorbis_encode_init (&vi, 2, 44100, -1, 128000, -1); - vorbis_analysis_init (&vd, &vi); - vorbis_block_init (&vd, &vb); - /* this function was added in 1.0rc3, so this is what we're testing for */ - vorbis_bitrate_addblock (&vb); - - system("touch conf.vorbistest"); - return 0; -} - - -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - : -else - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -no_vorbis=yes -fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - - - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - - if test "x$no_vorbis" = "x" ; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - HAVE_VORBIS=yes - else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - if test -f conf.vorbistest ; then - : - else - echo "*** Could not run Vorbis test program, checking why..." - CFLAGS="$CFLAGS $VORBIS_CFLAGS" - LIBS="$LIBS $VORBIS_LIBS $OGG_LIBS" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -#include -#include - -int -main () -{ - return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding Vorbis or finding the wrong" - echo "*** version of Vorbis. If it is not finding Vorbis, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means Vorbis was incorrectly installed" - echo "*** or that you have moved Vorbis since it was installed." -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - VORBIS_CFLAGS="" - VORBIS_LIBS="" - VORBISFILE_LIBS="" - VORBISENC_LIBS="" - HAVE_VORBIS=no - fi - - - - - rm -f conf.vorbistest - -fi - -HAVE_SDL=no - - -# Check whether --with-sdl-prefix was given. -if test "${with_sdl_prefix+set}" = set; then - withval=$with_sdl_prefix; sdl_prefix="$withval" -else - sdl_prefix="" -fi - - -# Check whether --with-sdl-exec-prefix was given. -if test "${with_sdl_exec_prefix+set}" = set; then - withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval" -else - sdl_exec_prefix="" -fi - -# Check whether --enable-sdltest was given. -if test "${enable_sdltest+set}" = set; then - enableval=$enable_sdltest; -else - enable_sdltest=yes -fi - - - if test x$sdl_exec_prefix != x ; then - sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix" - if test x${SDL_CONFIG+set} != xset ; then - SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config - fi - fi - if test x$sdl_prefix != x ; then - sdl_args="$sdl_args --prefix=$sdl_prefix" - if test x${SDL_CONFIG+set} != xset ; then - SDL_CONFIG=$sdl_prefix/bin/sdl-config - fi - fi - - - PATH="$prefix/bin:$prefix/usr/bin:$PATH" - # Extract the first word of "sdl-config", so it can be a program name with args. -set dummy sdl-config; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_SDL_CONFIG+set}" = set; then - $as_echo_n "(cached) " >&6 -else - case $SDL_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no" - ;; -esac -fi -SDL_CONFIG=$ac_cv_path_SDL_CONFIG -if test -n "$SDL_CONFIG"; then - { $as_echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5 -$as_echo "$SDL_CONFIG" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - min_sdl_version=0.11.0 - { $as_echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5 -$as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; } - no_sdl="" - if test "$SDL_CONFIG" = "no" ; then - no_sdl=yes - else - SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags` - SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs` - - sdl_major_version=`$SDL_CONFIG $sdl_args --version | \ - sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` - sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \ - sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` - sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \ - sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` - if test "x$enable_sdltest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_CXXFLAGS="$CXXFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $SDL_CFLAGS" - CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" - LIBS="$LIBS $SDL_LIBS" - rm -f conf.sdltest - if test "$cross_compiling" = yes; then - echo $ac_n "cross compiling; assumed OK... $ac_c" -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -#include -#include -#include -#include "SDL.h" - -char* -my_strdup (char *str) -{ - char *new_str; - - if (str) - { - new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); - strcpy (new_str, str); - } - else - new_str = NULL; - - return new_str; -} - -int main (int argc, char *argv[]) -{ - int major, minor, micro; - char *tmp_version; - - /* This hangs on some systems (?) - system ("touch conf.sdltest"); - */ - { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); } - - /* HP/UX 9 (%@#!) writes to sscanf strings */ - tmp_version = my_strdup("$min_sdl_version"); - if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { - printf("%s, bad version string\n", "$min_sdl_version"); - exit(1); - } - - if (($sdl_major_version > major) || - (($sdl_major_version == major) && ($sdl_minor_version > minor)) || - (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro))) - { - return 0; - } - else - { - printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version); - printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro); - printf("*** best to upgrade to the required version.\n"); - printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n"); - printf("*** to point to the correct copy of sdl-config, and remove the file\n"); - printf("*** config.cache before re-running configure\n"); - return 1; - } -} - - -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - : -else - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -no_sdl=yes -fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - - - CFLAGS="$ac_save_CFLAGS" - CXXFLAGS="$ac_save_CXXFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - if test "x$no_sdl" = x ; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - - HAVE_SDL=yes - SDL_LIBS=`$SDL_CONFIG --libs` - - else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - if test "$SDL_CONFIG" = "no" ; then - echo "*** The sdl-config script installed by SDL could not be found" - echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in" - echo "*** your path, or set the SDL_CONFIG environment variable to the" - echo "*** full path to sdl-config." - else - if test -f conf.sdltest ; then - : - else - echo "*** Could not run SDL test program, checking why..." - CFLAGS="$CFLAGS $SDL_CFLAGS" - CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" - LIBS="$LIBS $SDL_LIBS" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -#include -#include "SDL.h" - -int main(int argc, char *argv[]) -{ return 0; } -#undef main -#define main K_and_R_C_main - -int -main () -{ - return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding SDL or finding the wrong" - echo "*** version of SDL. If it is not finding SDL, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means SDL was incorrectly installed" - echo "*** or that you have moved SDL since it was installed. In the latter case, you" - echo "*** may want to edit the sdl-config script: $SDL_CONFIG" -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - CFLAGS="$ac_save_CFLAGS" - CXXFLAGS="$ac_save_CXXFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - SDL_CFLAGS="" - SDL_LIBS="" - { $as_echo "$as_me:$LINENO: WARNING: *** Unable to find SDL -- Not compiling example players ***" >&5 -$as_echo "$as_me: WARNING: *** Unable to find SDL -- Not compiling example players ***" >&2;} - fi - - - rm -f conf.sdltest - - -HAVE_OSS=no - - - -for ac_header in sys/soundcard.h soundcard.h machine/soundcard.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 -$as_echo_n "checking for $ac_header... " >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 -fi -ac_res=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 -$as_echo_n "checking $ac_header usability... " >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -#include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_header_compiler=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_compiler=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 -$as_echo_n "checking $ac_header presence... " >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include <$ac_header> -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - ac_header_preproc=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_preproc=no -fi - -rm -f conftest.err conftest.$ac_ext -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in - yes:no: ) - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} - ac_header_preproc=yes - ;; - no:yes:* ) - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} - - ;; -esac -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 -$as_echo_n "checking for $ac_header... " >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 -else - eval "$as_ac_Header=\$ac_header_preproc" -fi -ac_res=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - -fi -as_val=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - if test "x$as_val" = x""yes; then - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - - HAVE_OSS=yes - break - -fi - -done - -if test x$HAVE_OSS != xyes; then - { $as_echo "$as_me:$LINENO: WARNING: OSS audio support not found -- not compiling player_example" >&5 -$as_echo "$as_me: WARNING: OSS audio support not found -- not compiling player_example" >&2;} -fi - -OSS_LIBS= -case "$target_os" in - openbsd*) - OSS_LIBS='-lossaudio' - ;; -esac - - -HAVE_PNG=no -if test "x$HAVE_PKG_CONFIG" = "xyes" -then - -pkg_failed=no -{ $as_echo "$as_me:$LINENO: checking for PNG" >&5 -$as_echo_n "checking for PNG... " >&6; } - -if test -n "$PKG_CONFIG"; then - if test -n "$PNG_CFLAGS"; then - pkg_cv_PNG_CFLAGS="$PNG_CFLAGS" - else - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng\"") >&5 - ($PKG_CONFIG --exists --print-errors "libpng") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng" 2>/dev/null` -else - pkg_failed=yes -fi - fi -else - pkg_failed=untried -fi -if test -n "$PKG_CONFIG"; then - if test -n "$PNG_LIBS"; then - pkg_cv_PNG_LIBS="$PNG_LIBS" - else - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng\"") >&5 - ($PKG_CONFIG --exists --print-errors "libpng") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng" 2>/dev/null` -else - pkg_failed=yes -fi - fi -else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng"` - else - PNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng"` - fi - # Put the nasty error message in config.log where it belongs - echo "$PNG_PKG_ERRORS" >&5 - - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - HAVE_PNG=no -elif test $pkg_failed = untried; then - HAVE_PNG=no -else - PNG_CFLAGS=$pkg_cv_PNG_CFLAGS - PNG_LIBS=$pkg_cv_PNG_LIBS - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - HAVE_PNG=yes -fi -fi - - - -HAVE_CAIRO=no -# Check whether --enable-telemetry was given. -if test "${enable_telemetry+set}" = set; then - enableval=$enable_telemetry; ac_enable_telemetry=$enableval -else - ac_enable_telemetry=no -fi - - -if test "x${ac_enable_telemetry}" = xyes; then - if test "x$HAVE_PKG_CONFIG" = "xyes" - then - -pkg_failed=no -{ $as_echo "$as_me:$LINENO: checking for CAIRO" >&5 -$as_echo_n "checking for CAIRO... " >&6; } - -if test -n "$PKG_CONFIG"; then - if test -n "$CAIRO_CFLAGS"; then - pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS" - else - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5 - ($PKG_CONFIG --exists --print-errors "cairo") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null` -else - pkg_failed=yes -fi - fi -else - pkg_failed=untried -fi -if test -n "$PKG_CONFIG"; then - if test -n "$CAIRO_LIBS"; then - pkg_cv_CAIRO_LIBS="$CAIRO_LIBS" - else - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5 - ($PKG_CONFIG --exists --print-errors "cairo") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null` -else - pkg_failed=yes -fi - fi -else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"` - else - CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"` - fi - # Put the nasty error message in config.log where it belongs - echo "$CAIRO_PKG_ERRORS" >&5 - - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - HAVE_CAIRO=no -elif test $pkg_failed = untried; then - HAVE_CAIRO=no -else - CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS - CAIRO_LIBS=$pkg_cv_CAIRO_LIBS - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - HAVE_CAIRO=yes -fi - -cat >>confdefs.h <<\_ACEOF -#define HAVE_CAIRO /**/ -_ACEOF - - fi - if test x$HAVE_CAIRO != xyes; then - { $as_echo "$as_me:$LINENO: WARNING: libcairo not found -- not compiling telemetry output support " >&5 -$as_echo "$as_me: WARNING: libcairo not found -- not compiling telemetry output support " >&2;} - fi - - -fi - - - -ac_enable_float=yes -# Check whether --enable-float was given. -if test "${enable_float+set}" = set; then - enableval=$enable_float; ac_enable_float=$enableval -else - ac_enable_float=yes -fi - - -if test "x${ac_enable_float}" != xyes ; then - -cat >>confdefs.h <<\_ACEOF -#define THEORA_DISABLE_FLOAT /**/ -_ACEOF - -fi - - -if test "x${ac_enable_float}" != xyes; then - THEORA_DISABLE_FLOAT_TRUE= - THEORA_DISABLE_FLOAT_FALSE='#' -else - THEORA_DISABLE_FLOAT_TRUE='#' - THEORA_DISABLE_FLOAT_FALSE= -fi - - - -ac_enable_encode=yes -# Check whether --enable-encode was given. -if test "${enable_encode+set}" = set; then - enableval=$enable_encode; ac_enable_encode=$enableval -else - ac_enable_encode=yes -fi - - -if test "x${ac_enable_encode}" != xyes ; then - -cat >>confdefs.h <<\_ACEOF -#define THEORA_DISABLE_ENCODE /**/ -_ACEOF - -else - if test x$HAVE_VORBIS = xyes; then - BUILDABLE_EXAMPLES="$BUILDABLE_EXAMPLES encoder_example\$(EXEEXT)" - else - { $as_echo "$as_me:$LINENO: Vorbis missing, cannot build example encoder" >&5 -$as_echo "$as_me: Vorbis missing, cannot build example encoder" >&6;} - fi -fi - - -if test "x${ac_enable_encode}" != xyes; then - THEORA_DISABLE_ENCODE_TRUE= - THEORA_DISABLE_ENCODE_FALSE='#' -else - THEORA_DISABLE_ENCODE_TRUE='#' - THEORA_DISABLE_ENCODE_FALSE= -fi - - - -ac_enable_examples=yes -# Check whether --enable-examples was given. -if test "${enable_examples+set}" = set; then - enableval=$enable_examples; ac_enable_examples=$enableval -else - ac_enable_examples=yes -fi - - - -if test "x${ac_enable_examples}" != xno; then - THEORA_ENABLE_EXAMPLES_TRUE= - THEORA_ENABLE_EXAMPLES_FALSE='#' -else - THEORA_ENABLE_EXAMPLES_TRUE='#' - THEORA_ENABLE_EXAMPLES_FALSE= -fi - - - - - - - -{ $as_echo "$as_me:$LINENO: checking for library containing ftime" >&5 -$as_echo_n "checking for library containing ftime... " >&6; } -if test "${ac_cv_search_ftime+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char ftime (); -int -main () -{ -return ftime (); - ; - return 0; -} -_ACEOF -for ac_lib in '' compat; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_search_ftime=$ac_res -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext - if test "${ac_cv_search_ftime+set}" = set; then - break -fi -done -if test "${ac_cv_search_ftime+set}" = set; then - : -else - ac_cv_search_ftime=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_ftime" >&5 -$as_echo "$ac_cv_search_ftime" >&6; } -ac_res=$ac_cv_search_ftime -if test "$ac_res" != no; then - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - - -{ $as_echo "$as_me:$LINENO: checking for getopt_long" >&5 -$as_echo_n "checking for getopt_long... " >&6; } -if test "${ac_cv_func_getopt_long+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define getopt_long to an innocuous variant, in case declares getopt_long. - For example, HP-UX 11i declares gettimeofday. */ -#define getopt_long innocuous_getopt_long - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char getopt_long (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef getopt_long - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char getopt_long (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_getopt_long || defined __stub___getopt_long -choke me -#endif - -int -main () -{ -return getopt_long (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_func_getopt_long=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_func_getopt_long=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getopt_long" >&5 -$as_echo "$ac_cv_func_getopt_long" >&6; } -if test "x$ac_cv_func_getopt_long" = x""yes; then - GETOPT_OBJS='' -else - GETOPT_OBJS='getopt.$(OBJEXT) getopt1.$(OBJEXT)' -fi - - - -if test x$HAVE_SDL = xyes -a x$HAVE_OSS = xyes -a x$HAVE_VORBIS = xyes; then - BUILDABLE_EXAMPLES="$BUILDABLE_EXAMPLES player_example\$(EXEEXT)" -fi -if test x$HAVE_PNG = xyes; then - BUILDABLE_EXAMPLES="$BUILDABLE_EXAMPLES png2theora\$(EXEEXT)" -fi - - - - - - -ac_config_files="$ac_config_files Makefile lib/Makefile include/Makefile include/theora/Makefile examples/Makefile doc/Makefile doc/Doxyfile doc/spec/Makefile tests/Makefile m4/Makefile libtheora.spec theora.pc theora-uninstalled.pc theoradec.pc theoradec-uninstalled.pc theoraenc.pc theoraenc-uninstalled.pc" - -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) $as_unset $ac_var ;; - esac ;; - esac - done - - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \). - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && - { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} - cat confcache >$cache_file - else - { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -DEFS=-DHAVE_CONFIG_H - -ac_libobjs= -ac_ltlibobjs= -for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue - # 1. Remove the extension, and $U if already installed. - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR - # will be set to the directory where LIBOBJS objects are built. - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' -done -LIBOBJS=$ac_libobjs - -LTLIBOBJS=$ac_ltlibobjs - - -if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_DOXYGEN\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"HAVE_DOXYGEN\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${BUILD_SPEC_TRUE}" && test -z "${BUILD_SPEC_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SPEC\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"BUILD_SPEC\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${CPU_x86_64_TRUE}" && test -z "${CPU_x86_64_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"CPU_x86_64\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"CPU_x86_64\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${CPU_x86_32_TRUE}" && test -z "${CPU_x86_32_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"CPU_x86_32\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"CPU_x86_32\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${THEORA_DISABLE_FLOAT_TRUE}" && test -z "${THEORA_DISABLE_FLOAT_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"THEORA_DISABLE_FLOAT\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"THEORA_DISABLE_FLOAT\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${THEORA_DISABLE_ENCODE_TRUE}" && test -z "${THEORA_DISABLE_ENCODE_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"THEORA_DISABLE_ENCODE\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"THEORA_DISABLE_ENCODE\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${THEORA_ENABLE_EXAMPLES_TRUE}" && test -z "${THEORA_ENABLE_EXAMPLES_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"THEORA_ENABLE_EXAMPLES\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"THEORA_ENABLE_EXAMPLES\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi - -: ${CONFIG_STATUS=./config.status} -ac_write_fail=0 -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} -cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -#! $SHELL -# Generated by $as_me. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -ac_cs_recheck=false -ac_cs_silent=false -SHELL=\${CONFIG_SHELL-$SHELL} -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - - - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } -fi - -# Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - - -# Name of the executable. -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# CDPATH. -$as_unset CDPATH - - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line after each line using $LINENO; the second 'sed' - # does the real work. The second script uses 'N' to pair each - # line-number line with the line containing $LINENO, and appends - # trailing '-' during substitution so that $LINENO is not a special - # case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # scripts with optimization help from Paolo Bonzini. Blame Lee - # E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in --n*) - case `echo 'x\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - *) ECHO_C='\c';; - esac;; -*) - ECHO_N='-n';; -esac -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p=: -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -exec 6>&1 - -# Save the log message, to keep $[0] and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. -ac_log=" -This file was extended by libtheora $as_me 1.1.1, which was -generated by GNU Autoconf 2.63. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" - -_ACEOF - -case $ac_config_files in *" -"*) set x $ac_config_files; shift; ac_config_files=$*;; -esac - -case $ac_config_headers in *" -"*) set x $ac_config_headers; shift; ac_config_headers=$*;; -esac - - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# Files that config.status was made for. -config_files="$ac_config_files" -config_headers="$ac_config_headers" -config_commands="$ac_config_commands" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -ac_cs_usage="\ -\`$as_me' instantiates files from templates according to the -current configuration. - -Usage: $0 [OPTION]... [FILE]... - - -h, --help print this help, then exit - -V, --version print version number and configuration settings, then exit - -q, --quiet, --silent - do not print progress messages - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - --header=FILE[:TEMPLATE] - instantiate the configuration header FILE - -Configuration files: -$config_files - -Configuration headers: -$config_headers - -Configuration commands: -$config_commands - -Report bugs to ." - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_cs_version="\\ -libtheora config.status 1.1.1 -configured by $0, generated by GNU Autoconf 2.63, - with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" - -Copyright (C) 2008 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." - -ac_pwd='$ac_pwd' -srcdir='$srcdir' -INSTALL='$INSTALL' -AWK='$AWK' -test -n "\$AWK" || AWK=awk -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# The default lists apply if the user does not specify any file. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` - ac_shift=: - ;; - *) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift - ;; - esac - - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; - --debug | --debu | --deb | --de | --d | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" - ac_need_defaults=false;; - --header | --heade | --head | --hea ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" - ac_need_defaults=false;; - --he | --h) - # Conflict between --help and --header - { $as_echo "$as_me: error: ambiguous option: $1 -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; };; - --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) { $as_echo "$as_me: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } ;; - - *) ac_config_targets="$ac_config_targets $1" - ac_need_defaults=false ;; - - esac - shift -done - -ac_configure_extra_args= - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -if \$ac_cs_recheck; then - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion - shift - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 - CONFIG_SHELL='$SHELL' - export CONFIG_SHELL - exec "\$@" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -## Running $as_me. ## -_ASBOX - $as_echo "$ac_log" -} >&5 - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# -# INIT-COMMANDS -# -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" - - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -sed_quote_subst='$sed_quote_subst' -double_quote_subst='$double_quote_subst' -delay_variable_subst='$delay_variable_subst' -AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`' -DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`' -OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' -macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' -macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' -enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' -enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' -pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' -enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' -host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' -host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' -host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' -build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' -build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' -build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' -SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' -Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' -GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' -EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' -FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' -LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' -NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' -LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' -max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' -ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' -exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' -lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' -lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' -lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' -reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' -reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' -deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' -file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' -AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' -AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' -STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' -RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' -old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' -old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' -CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' -CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' -compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' -GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' -objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' -SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' -ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' -MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' -need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' -DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' -NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' -LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' -OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' -OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' -libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' -shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' -extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' -archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' -enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' -export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' -whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' -compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' -archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' -archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' -module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' -module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' -with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' -allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' -no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' -inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' -link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' -fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' -always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' -export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' -exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' -include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' -prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' -file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' -variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' -need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' -need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' -version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' -runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' -shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' -shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' -libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' -library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' -soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' -postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' -postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' -finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' -finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' -sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' -sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' -enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' -enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' -enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' -old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' -striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' - -LTCC='$LTCC' -LTCFLAGS='$LTCFLAGS' -compiler='$compiler_DEFAULT' - -# Quote evaled strings. -for var in SED \ -GREP \ -EGREP \ -FGREP \ -LD \ -NM \ -LN_S \ -lt_SP2NL \ -lt_NL2SP \ -reload_flag \ -deplibs_check_method \ -file_magic_cmd \ -AR \ -AR_FLAGS \ -STRIP \ -RANLIB \ -CC \ -CFLAGS \ -compiler \ -lt_cv_sys_global_symbol_pipe \ -lt_cv_sys_global_symbol_to_cdecl \ -lt_cv_sys_global_symbol_to_c_name_address \ -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ -SHELL \ -ECHO \ -lt_prog_compiler_no_builtin_flag \ -lt_prog_compiler_wl \ -lt_prog_compiler_pic \ -lt_prog_compiler_static \ -lt_cv_prog_compiler_c_o \ -need_locks \ -DSYMUTIL \ -NMEDIT \ -LIPO \ -OTOOL \ -OTOOL64 \ -shrext_cmds \ -export_dynamic_flag_spec \ -whole_archive_flag_spec \ -compiler_needs_object \ -with_gnu_ld \ -allow_undefined_flag \ -no_undefined_flag \ -hardcode_libdir_flag_spec \ -hardcode_libdir_flag_spec_ld \ -hardcode_libdir_separator \ -fix_srcfile_path \ -exclude_expsyms \ -include_expsyms \ -file_list_spec \ -variables_saved_for_relink \ -libname_spec \ -library_names_spec \ -soname_spec \ -finish_eval \ -old_striplib \ -striplib; do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in - *[\\\\\\\`\\"\\\$]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" - ;; - *) - eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" - ;; - esac -done - -# Double-quote double-evaled strings. -for var in reload_cmds \ -old_postinstall_cmds \ -old_postuninstall_cmds \ -old_archive_cmds \ -extract_expsyms_cmds \ -old_archive_from_new_cmds \ -old_archive_from_expsyms_cmds \ -archive_cmds \ -archive_expsym_cmds \ -module_cmds \ -module_expsym_cmds \ -export_symbols_cmds \ -prelink_cmds \ -postinstall_cmds \ -postuninstall_cmds \ -finish_cmds \ -sys_lib_search_path_spec \ -sys_lib_dlsearch_path_spec; do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in - *[\\\\\\\`\\"\\\$]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" - ;; - *) - eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" - ;; - esac -done - -# Fix-up fallback echo if it was mangled by the above quoting rules. -case \$lt_ECHO in -*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` - ;; -esac - -ac_aux_dir='$ac_aux_dir' -xsi_shell='$xsi_shell' -lt_shell_append='$lt_shell_append' - -# See if we are running on zsh, and set the options which allow our -# commands through without removal of \ escapes INIT. -if test -n "\${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST -fi - - - PACKAGE='$PACKAGE' - VERSION='$VERSION' - TIMESTAMP='$TIMESTAMP' - RM='$RM' - ofile='$ofile' - - - - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; - "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; - "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; - "include/theora/Makefile") CONFIG_FILES="$CONFIG_FILES include/theora/Makefile" ;; - "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; - "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; - "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;; - "doc/spec/Makefile") CONFIG_FILES="$CONFIG_FILES doc/spec/Makefile" ;; - "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; - "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; - "libtheora.spec") CONFIG_FILES="$CONFIG_FILES libtheora.spec" ;; - "theora.pc") CONFIG_FILES="$CONFIG_FILES theora.pc" ;; - "theora-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES theora-uninstalled.pc" ;; - "theoradec.pc") CONFIG_FILES="$CONFIG_FILES theoradec.pc" ;; - "theoradec-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES theoradec-uninstalled.pc" ;; - "theoraenc.pc") CONFIG_FILES="$CONFIG_FILES theoraenc.pc" ;; - "theoraenc-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES theoraenc-uninstalled.pc" ;; - - *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 -$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} - { (exit 1); exit 1; }; };; - esac -done - - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp= - trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status -' 0 - trap '{ (exit 1); exit 1; }' 1 2 13 15 -} -# Create a (secure) tmp directory for tmp files. - -{ - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || -{ - $as_echo "$as_me: cannot create a temporary directory in ." >&2 - { (exit 1); exit 1; } -} - -# Set up the scripts for CONFIG_FILES section. -# No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. -if test -n "$CONFIG_FILES"; then - - -ac_cr=' ' -ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` -if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then - ac_cs_awk_cr='\\r' -else - ac_cs_awk_cr=$ac_cr -fi - -echo 'BEGIN {' >"$tmp/subs1.awk" && -_ACEOF - - -{ - echo "cat >conf$$subs.awk <<_ACEOF" && - echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && - echo "_ACEOF" -} >conf$$subs.sh || - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } -ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - . ./conf$$subs.sh || - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } - - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` - if test $ac_delim_n = $ac_delim_num; then - break - elif $ac_last_try; then - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done -rm -f conf$$subs.sh - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -cat >>"\$tmp/subs1.awk" <<\\_ACAWK && -_ACEOF -sed -n ' -h -s/^/S["/; s/!.*/"]=/ -p -g -s/^[^!]*!// -:repl -t repl -s/'"$ac_delim"'$// -t delim -:nl -h -s/\(.\{148\}\).*/\1/ -t more1 -s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ -p -n -b repl -:more1 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t nl -:delim -h -s/\(.\{148\}\).*/\1/ -t more2 -s/["\\]/\\&/g; s/^/"/; s/$/"/ -p -b -:more2 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t delim -' >$CONFIG_STATUS || ac_write_fail=1 -rm -f conf$$subs.awk -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -_ACAWK -cat >>"\$tmp/subs1.awk" <<_ACAWK && - for (key in S) S_is_set[key] = 1 - FS = "" - -} -{ - line = $ 0 - nfields = split(line, field, "@") - substed = 0 - len = length(field[1]) - for (i = 2; i < nfields; i++) { - key = field[i] - keylen = length(key) - if (S_is_set[key]) { - value = S[key] - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) - len += length(value) + length(field[++i]) - substed = 1 - } else - len += 1 + keylen - } - - print line -} - -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -else - cat -fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ - || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 -$as_echo "$as_me: error: could not setup config files machinery" >&2;} - { (exit 1); exit 1; }; } -_ACEOF - -# VPATH may cause trouble with some makes, so we remove $(srcdir), -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and -# trailing colons and then remove the whole line if VPATH becomes empty -# (actually we leave an empty line to preserve line numbers). -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=/{ -s/:*\$(srcdir):*/:/ -s/:*\${srcdir}:*/:/ -s/:*@srcdir@:*/:/ -s/^\([^=]*=[ ]*\):*/\1/ -s/:*$// -s/^[^=]*=[ ]*$// -}' -fi - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -fi # test -n "$CONFIG_FILES" - -# Set up the scripts for CONFIG_HEADERS section. -# No need to generate them if there are no CONFIG_HEADERS. -# This happens for instance with `./config.status Makefile'. -if test -n "$CONFIG_HEADERS"; then -cat >"$tmp/defines.awk" <<\_ACAWK || -BEGIN { -_ACEOF - -# Transform confdefs.h into an awk script `defines.awk', embedded as -# here-document in config.status, that substitutes the proper values into -# config.h.in to produce config.h. - -# Create a delimiter string that does not exist in confdefs.h, to ease -# handling of long lines. -ac_delim='%!_!# ' -for ac_last_try in false false :; do - ac_t=`sed -n "/$ac_delim/p" confdefs.h` - if test -z "$ac_t"; then - break - elif $ac_last_try; then - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 -$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} - { (exit 1); exit 1; }; } - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done - -# For the awk script, D is an array of macro values keyed by name, -# likewise P contains macro parameters if any. Preserve backslash -# newline sequences. - -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* -sed -n ' -s/.\{148\}/&'"$ac_delim"'/g -t rset -:rset -s/^[ ]*#[ ]*define[ ][ ]*/ / -t def -d -:def -s/\\$// -t bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3"/p -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p -d -:bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3\\\\\\n"\\/p -t cont -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p -t cont -d -:cont -n -s/.\{148\}/&'"$ac_delim"'/g -t clear -:clear -s/\\$// -t bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/"/p -d -:bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p -b cont -' >$CONFIG_STATUS || ac_write_fail=1 - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - for (key in D) D_is_set[key] = 1 - FS = "" -} -/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { - line = \$ 0 - split(line, arg, " ") - if (arg[1] == "#") { - defundef = arg[2] - mac1 = arg[3] - } else { - defundef = substr(arg[1], 2) - mac1 = arg[2] - } - split(mac1, mac2, "(") #) - macro = mac2[1] - prefix = substr(line, 1, index(line, defundef) - 1) - if (D_is_set[macro]) { - # Preserve the white space surrounding the "#". - print prefix "define", macro P[macro] D[macro] - next - } else { - # Replace #undef with comments. This is necessary, for example, - # in the case of _POSIX_SOURCE, which is predefined and required - # on some systems where configure will not decide to define it. - if (defundef == "undef") { - print "/*", prefix defundef, macro, "*/" - next - } - } -} -{ print } -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 -$as_echo "$as_me: error: could not setup config headers machinery" >&2;} - { (exit 1); exit 1; }; } -fi # test -n "$CONFIG_HEADERS" - - -eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" -shift -for ac_tag -do - case $ac_tag in - :[FHLC]) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; - :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 -$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} - { (exit 1); exit 1; }; };; - :[FH]-) ac_tag=-:-;; - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=$IFS - IFS=: - set x $ac_tag - IFS=$ac_save_IFS - shift - ac_file=$1 - shift - - case $ac_mode in - :L) ac_source=$1;; - :[FH]) - ac_file_inputs= - for ac_f - do - case $ac_f in - -) ac_f="$tmp/stdin";; - *) # Look for the file first in the build tree, then in the source tree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || - { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 -$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} - { (exit 1); exit 1; }; };; - esac - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac - ac_file_inputs="$ac_file_inputs '$ac_f'" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input='Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' - `' by configure.' - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} - fi - # Neutralize special characters interpreted by sed in replacement strings. - case $configure_input in #( - *\&* | *\|* | *\\* ) - ac_sed_conf_input=`$as_echo "$configure_input" | - sed 's/[\\\\&|]/\\\\&/g'`;; #( - *) ac_sed_conf_input=$configure_input;; - esac - - case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin" \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } ;; - esac - ;; - esac - - ac_dir=`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - { as_dir="$ac_dir" - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 -$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} - { (exit 1); exit 1; }; }; } - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - - case $ac_mode in - :F) - # - # CONFIG_FILE - # - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; - esac -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=; ac_datarootdir_seen= - -ac_sed_dataroot=' -/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/p -/@mandir@/p -' -case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in -*datarootdir*) ac_datarootdir_seen=yes;; -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - ac_datarootdir_hack=' - s&@datadir@&$datadir&g - s&@docdir@&$docdir&g - s&@infodir@&$infodir&g - s&@localedir@&$localedir&g - s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; -esac -_ACEOF - -# Neutralize VPATH when `$srcdir' = `.'. -# Shell code in configure.ac might set extrasub. -# FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_sed_extra="$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s|@configure_input@|$ac_sed_conf_input|;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@top_build_prefix@&$ac_top_build_prefix&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -s&@INSTALL@&$ac_INSTALL&;t t -$ac_datarootdir_hack -" -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } - -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && - { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&5 -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&2;} - - rm -f "$tmp/stdin" - case $ac_file in - -) cat "$tmp/out" && rm -f "$tmp/out";; - *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; - esac \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } - ;; - :H) - # - # CONFIG_HEADER - # - if test x"$ac_file" != x-; then - { - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" - } >"$tmp/config.h" \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } - if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then - { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 -$as_echo "$as_me: $ac_file is unchanged" >&6;} - else - rm -f "$ac_file" - mv "$tmp/config.h" "$ac_file" \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } - fi - else - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ - || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 -$as_echo "$as_me: error: could not create -" >&2;} - { (exit 1); exit 1; }; } - fi - ;; - - :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 -$as_echo "$as_me: executing $ac_file commands" >&6;} - ;; - esac - - - case $ac_file$ac_mode in - "config.h":H) # update the timestamp -echo 'timestamp for config.h' >"./stamp-h1" - ;; - "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # So let's grep whole file. - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then - dirpart=`$as_dirname -- "$mf" || -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$mf" : 'X\(//\)[^/]' \| \ - X"$mf" : 'X\(//\)$' \| \ - X"$mf" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$mf" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - else - continue - fi - grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue - # Extract the definition of DEP_FILES from the Makefile without - # running `make'. - DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` - test -z "$DEPDIR" && continue - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n -e '/^U = / s///p' < "$mf"` - test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" - # We invoke sed twice because it is the simplest approach to - # changing $(DEPDIR) to its actual value in the expansion. - for file in `sed -n -e ' - /^DEP_FILES = .*\\\\$/ { - s/^DEP_FILES = // - :loop - s/\\\\$// - p - n - /\\\\$/ b loop - p - } - /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`$as_dirname -- "$file" || -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$file" : 'X\(//\)[^/]' \| \ - X"$file" : 'X\(//\)$' \| \ - X"$file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - { as_dir=$dirpart/$fdir - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 -$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} - { (exit 1); exit 1; }; }; } - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done -done - ;; - "libtool":C) - - # See if we are running on zsh, and set the options which allow our - # commands through without removal of \ escapes. - if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST - fi - - cfgfile="${ofile}T" - trap "$RM \"$cfgfile\"; exit 1" 1 2 15 - $RM "$cfgfile" - - cat <<_LT_EOF >> "$cfgfile" -#! $SHELL - -# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -# 2006, 2007, 2008 Free Software Foundation, Inc. -# Written by Gordon Matzigkeit, 1996 -# -# This file is part of GNU Libtool. -# -# GNU Libtool is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of -# the License, or (at your option) any later version. -# -# As a special exception to the GNU General Public License, -# if you distribute this file as part of a program or library that -# is built using GNU Libtool, you may include this file under the -# same distribution terms that you use for the rest of that program. -# -# GNU Libtool is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Libtool; see the file COPYING. If not, a copy -# can be downloaded from http://www.gnu.org/licenses/gpl.html, or -# obtained by writing to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -# The names of the tagged configurations supported by this script. -available_tags="" - -# ### BEGIN LIBTOOL CONFIG - -# Assembler program. -AS=$AS - -# DLL creation program. -DLLTOOL=$DLLTOOL - -# Object dumper program. -OBJDUMP=$OBJDUMP - -# Which release of libtool.m4 was used? -macro_version=$macro_version -macro_revision=$macro_revision - -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared - -# Whether or not to build static libraries. -build_old_libs=$enable_static - -# What type of objects to build. -pic_mode=$pic_mode - -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install - -# The host system. -host_alias=$host_alias -host=$host -host_os=$host_os - -# The build system. -build_alias=$build_alias -build=$build -build_os=$build_os - -# A sed program that does not truncate output. -SED=$lt_SED - -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="\$SED -e 1s/^X//" - -# A grep program that handles long lines. -GREP=$lt_GREP - -# An ERE matcher. -EGREP=$lt_EGREP - -# A literal string matcher. -FGREP=$lt_FGREP - -# A BSD- or MS-compatible name lister. -NM=$lt_NM - -# Whether we need soft or hard links. -LN_S=$lt_LN_S - -# What is the maximum length of a command? -max_cmd_len=$max_cmd_len - -# Object file suffix (normally "o"). -objext=$ac_objext - -# Executable file suffix (normally ""). -exeext=$exeext - -# whether the shell understands "unset". -lt_unset=$lt_unset - -# turn spaces into newlines. -SP2NL=$lt_lt_SP2NL - -# turn newlines into spaces. -NL2SP=$lt_lt_NL2SP - -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds - -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method - -# Command to use when deplibs_check_method == "file_magic". -file_magic_cmd=$lt_file_magic_cmd - -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS - -# A symbol stripping program. -STRIP=$lt_STRIP - -# Commands used to install an old-style archive. -RANLIB=$lt_RANLIB -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds - -# A C compiler. -LTCC=$lt_CC - -# LTCC compiler flags. -LTCFLAGS=$lt_CFLAGS - -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe - -# Transform the output of nm in a proper C declaration. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl - -# Transform the output of nm in a C name address pair. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address - -# Transform the output of nm in a C name address pair when lib prefix is needed. -global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix - -# The name of the directory that contains temporary libtool files. -objdir=$objdir - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# An echo program that does not interpret backslashes. -ECHO=$lt_ECHO - -# Used to examine libraries when file_magic_cmd begins with "file". -MAGIC_CMD=$MAGIC_CMD - -# Must we lock files when doing compilation? -need_locks=$lt_need_locks - -# Tool to manipulate archived DWARF debug symbol files on Mac OS X. -DSYMUTIL=$lt_DSYMUTIL - -# Tool to change global to local symbols on Mac OS X. -NMEDIT=$lt_NMEDIT - -# Tool to manipulate fat objects and archives on Mac OS X. -LIPO=$lt_LIPO - -# ldd/readelf like tool for Mach-O binaries on Mac OS X. -OTOOL=$lt_OTOOL - -# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. -OTOOL64=$lt_OTOOL64 - -# Old archive suffix (normally "a"). -libext=$libext - -# Shared library suffix (normally ".so"). -shrext_cmds=$lt_shrext_cmds - -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds - -# Variables whose values should be saved in libtool wrapper scripts and -# restored at link time. -variables_saved_for_relink=$lt_variables_saved_for_relink - -# Do we need the "lib" prefix for modules? -need_lib_prefix=$need_lib_prefix - -# Do we need a version for libraries? -need_version=$need_version - -# Library versioning type. -version_type=$version_type - -# Shared library runtime path variable. -runpath_var=$runpath_var - -# Shared library path variable. -shlibpath_var=$shlibpath_var - -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath - -# Format of library name prefix. -libname_spec=$lt_libname_spec - -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME -library_names_spec=$lt_library_names_spec - -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec - -# Command to use after installation of a shared archive. -postinstall_cmds=$lt_postinstall_cmds - -# Command to use after uninstallation of a shared archive. -postuninstall_cmds=$lt_postuninstall_cmds - -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds - -# As "finish_cmds", except a single script fragment to be evaled but -# not shown. -finish_eval=$lt_finish_eval - -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs - -# Compile-time system search path for libraries. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec - -# Run-time system search path for libraries. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec - -# Whether dlopen is supported. -dlopen_support=$enable_dlopen - -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self - -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static - -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib - - -# The linker used to build libraries. -LD=$lt_LD - -# Commands used to build an old-style archive. -old_archive_cmds=$lt_old_archive_cmds - -# A language specific compiler. -CC=$lt_compiler - -# Is the compiler the GNU compiler? -with_gcc=$GCC - -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag - -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl - -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic - -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_lt_prog_compiler_static - -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_lt_cv_prog_compiler_c_o - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$archive_cmds_need_lc - -# Whether or not to disallow shared libs when runtime libs are static. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes - -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec - -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec - -# Whether the compiler copes with passing no objects directly. -compiler_needs_object=$lt_compiler_needs_object - -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds - -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds - -# Commands used to build a shared archive. -archive_cmds=$lt_archive_cmds -archive_expsym_cmds=$lt_archive_expsym_cmds - -# Commands used to build a loadable module if different from building -# a shared archive. -module_cmds=$lt_module_cmds -module_expsym_cmds=$lt_module_expsym_cmds - -# Whether we are building with GNU ld or not. -with_gnu_ld=$lt_with_gnu_ld - -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag - -# Flag that enforces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag - -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec - -# If ld is used when linking, flag to hardcode \$libdir into a binary -# during linking. This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld - -# Whether we need a single "-rpath" flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator - -# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -# DIR into the resulting binary. -hardcode_direct=$hardcode_direct - -# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -# DIR into the resulting binary and the resulting library dependency is -# "absolute",i.e impossible to change by setting \${shlibpath_var} if the -# library is relocated. -hardcode_direct_absolute=$hardcode_direct_absolute - -# Set to "yes" if using the -LDIR flag during linking hardcodes DIR -# into the resulting binary. -hardcode_minus_L=$hardcode_minus_L - -# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR -# into the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var - -# Set to "yes" if building a shared library automatically hardcodes DIR -# into the library and all subsequent libraries and executables linked -# against it. -hardcode_automatic=$hardcode_automatic - -# Set to yes if linker adds runtime paths of dependent libraries -# to runtime path list. -inherit_rpath=$inherit_rpath - -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs - -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path=$lt_fix_srcfile_path - -# Set to "yes" if exported symbols are required. -always_export_symbols=$always_export_symbols - -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds - -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms - -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms - -# Commands necessary for linking programs (against libraries) with templates. -prelink_cmds=$lt_prelink_cmds - -# Specify filename containing input files. -file_list_spec=$lt_file_list_spec - -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action - -# ### END LIBTOOL CONFIG - -_LT_EOF - - case $host_os in - aix3*) - cat <<\_LT_EOF >> "$cfgfile" -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES -fi -_LT_EOF - ;; - esac - - -ltmain="$ac_aux_dir/ltmain.sh" - - - # We use sed instead of cat because bash on DJGPP gets confused if - # if finds mixed CR/LF and LF-only lines. Since sed operates in - # text mode, it properly converts lines to CR/LF. This bash problem - # is reportedly fixed, but why not run on old versions too? - sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ - || (rm -f "$cfgfile"; exit 1) - - case $xsi_shell in - yes) - cat << \_LT_EOF >> "$cfgfile" - -# func_dirname file append nondir_replacement -# Compute the dirname of FILE. If nonempty, add APPEND to the result, -# otherwise set result to NONDIR_REPLACEMENT. -func_dirname () -{ - case ${1} in - */*) func_dirname_result="${1%/*}${2}" ;; - * ) func_dirname_result="${3}" ;; - esac -} - -# func_basename file -func_basename () -{ - func_basename_result="${1##*/}" -} - -# func_dirname_and_basename file append nondir_replacement -# perform func_basename and func_dirname in a single function -# call: -# dirname: Compute the dirname of FILE. If nonempty, -# add APPEND to the result, otherwise set result -# to NONDIR_REPLACEMENT. -# value returned in "$func_dirname_result" -# basename: Compute filename of FILE. -# value retuned in "$func_basename_result" -# Implementation must be kept synchronized with func_dirname -# and func_basename. For efficiency, we do not delegate to -# those functions but instead duplicate the functionality here. -func_dirname_and_basename () -{ - case ${1} in - */*) func_dirname_result="${1%/*}${2}" ;; - * ) func_dirname_result="${3}" ;; - esac - func_basename_result="${1##*/}" -} - -# func_stripname prefix suffix name -# strip PREFIX and SUFFIX off of NAME. -# PREFIX and SUFFIX must not contain globbing or regex special -# characters, hashes, percent signs, but SUFFIX may contain a leading -# dot (in which case that matches only a dot). -func_stripname () -{ - # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are - # positional parameters, so assign one to ordinary parameter first. - func_stripname_result=${3} - func_stripname_result=${func_stripname_result#"${1}"} - func_stripname_result=${func_stripname_result%"${2}"} -} - -# func_opt_split -func_opt_split () -{ - func_opt_split_opt=${1%%=*} - func_opt_split_arg=${1#*=} -} - -# func_lo2o object -func_lo2o () -{ - case ${1} in - *.lo) func_lo2o_result=${1%.lo}.${objext} ;; - *) func_lo2o_result=${1} ;; - esac -} - -# func_xform libobj-or-source -func_xform () -{ - func_xform_result=${1%.*}.lo -} - -# func_arith arithmetic-term... -func_arith () -{ - func_arith_result=$(( $* )) -} - -# func_len string -# STRING may not start with a hyphen. -func_len () -{ - func_len_result=${#1} -} - -_LT_EOF - ;; - *) # Bourne compatible functions. - cat << \_LT_EOF >> "$cfgfile" - -# func_dirname file append nondir_replacement -# Compute the dirname of FILE. If nonempty, add APPEND to the result, -# otherwise set result to NONDIR_REPLACEMENT. -func_dirname () -{ - # Extract subdirectory from the argument. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` - if test "X$func_dirname_result" = "X${1}"; then - func_dirname_result="${3}" - else - func_dirname_result="$func_dirname_result${2}" - fi -} - -# func_basename file -func_basename () -{ - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` -} - - -# func_stripname prefix suffix name -# strip PREFIX and SUFFIX off of NAME. -# PREFIX and SUFFIX must not contain globbing or regex special -# characters, hashes, percent signs, but SUFFIX may contain a leading -# dot (in which case that matches only a dot). -# func_strip_suffix prefix name -func_stripname () -{ - case ${2} in - .*) func_stripname_result=`$ECHO "X${3}" \ - | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; - *) func_stripname_result=`$ECHO "X${3}" \ - | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; - esac -} - -# sed scripts: -my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' -my_sed_long_arg='1s/^-[^=]*=//' - -# func_opt_split -func_opt_split () -{ - func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` - func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` -} - -# func_lo2o object -func_lo2o () -{ - func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` -} - -# func_xform libobj-or-source -func_xform () -{ - func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` -} - -# func_arith arithmetic-term... -func_arith () -{ - func_arith_result=`expr "$@"` -} - -# func_len string -# STRING may not start with a hyphen. -func_len () -{ - func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` -} - -_LT_EOF -esac - -case $lt_shell_append in - yes) - cat << \_LT_EOF >> "$cfgfile" - -# func_append var value -# Append VALUE to the end of shell variable VAR. -func_append () -{ - eval "$1+=\$2" -} -_LT_EOF - ;; - *) - cat << \_LT_EOF >> "$cfgfile" - -# func_append var value -# Append VALUE to the end of shell variable VAR. -func_append () -{ - eval "$1=\$$1\$2" -} - -_LT_EOF - ;; - esac - - - sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ - || (rm -f "$cfgfile"; exit 1) - - mv -f "$cfgfile" "$ofile" || - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") - chmod +x "$ofile" - - ;; - - esac -done # for ac_tag - - -{ (exit 0); exit 0; } -_ACEOF -chmod +x $CONFIG_STATUS -ac_clean_files=$ac_clean_files_save - -test $ac_write_fail = 0 || - { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } - - -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" != yes; then - ac_cs_success=: - ac_config_status_args= - test "$silent" = yes && - ac_config_status_args="$ac_config_status_args --quiet" - exec 5>/dev/null - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false - exec 5>>config.log - # Use ||, not &&, to avoid exiting from the if with $? = 1, which - # would make configure fail if this is the last instruction. - $ac_cs_success || { (exit 1); exit 1; } -fi -if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} -fi - - - - EXP_VAR=LIBDIR - FROM_VAR=${libdir} - - prefix_save=$prefix - exec_prefix_save=$exec_prefix - - if test "x$prefix" = "xNONE"; then - prefix="$ac_default_prefix" - fi - if test "x$exec_prefix" = "xNONE"; then - exec_prefix=$prefix - fi - - full_var="$FROM_VAR" - while true; do - new_full_var="`eval echo $full_var`" - if test "x$new_full_var" = "x$full_var"; then break; fi - full_var=$new_full_var - done - - full_var=$new_full_var - LIBDIR="$full_var" - - - prefix=$prefix_save - exec_prefix=$exec_prefix_save - - - EXP_VAR=INCLUDEDIR - FROM_VAR=${includedir} - - prefix_save=$prefix - exec_prefix_save=$exec_prefix - - if test "x$prefix" = "xNONE"; then - prefix="$ac_default_prefix" - fi - if test "x$exec_prefix" = "xNONE"; then - exec_prefix=$prefix - fi - - full_var="$FROM_VAR" - while true; do - new_full_var="`eval echo $full_var`" - if test "x$new_full_var" = "x$full_var"; then break; fi - full_var=$new_full_var - done - - full_var=$new_full_var - INCLUDEDIR="$full_var" - - - prefix=$prefix_save - exec_prefix=$exec_prefix_save - - - EXP_VAR=BINDIR - FROM_VAR=${bindir} - - prefix_save=$prefix - exec_prefix_save=$exec_prefix - - if test "x$prefix" = "xNONE"; then - prefix="$ac_default_prefix" - fi - if test "x$exec_prefix" = "xNONE"; then - exec_prefix=$prefix - fi - - full_var="$FROM_VAR" - while true; do - new_full_var="`eval echo $full_var`" - if test "x$new_full_var" = "x$full_var"; then break; fi - full_var=$new_full_var - done - - full_var=$new_full_var - BINDIR="$full_var" - - - prefix=$prefix_save - exec_prefix=$exec_prefix_save - - - EXP_VAR=DOCDIR - FROM_VAR=${datadir}/doc - - prefix_save=$prefix - exec_prefix_save=$exec_prefix - - if test "x$prefix" = "xNONE"; then - prefix="$ac_default_prefix" - fi - if test "x$exec_prefix" = "xNONE"; then - exec_prefix=$prefix - fi - - full_var="$FROM_VAR" - while true; do - new_full_var="`eval echo $full_var`" - if test "x$new_full_var" = "x$full_var"; then break; fi - full_var=$new_full_var - done - - full_var=$new_full_var - DOCDIR="$full_var" - - - prefix=$prefix_save - exec_prefix=$exec_prefix_save - - -if test $HAVE_DOXYGEN = "false"; then - doc_build="no" -else - doc_build="yes" -fi -if test $BUILD_SPEC = "false"; then - spec_build="no" -else - spec_build="yes" -fi - -{ $as_echo "$as_me:$LINENO: result: ------------------------------------------------------------------------- - $PACKAGE $VERSION: Automatic configuration OK. - - General configuration: - - Encoding support: ........... ${ac_enable_encode} - Floating point support: ..... ${ac_enable_float} - Assembly optimization: ...... ${cpu_optimization} - Debugging telemetry: ........ ${ac_enable_telemetry} - Build example code: ......... ${ac_enable_examples} - API Documentation: .......... ${doc_build} - Format Documentation: ....... ${spec_build} - - Installation paths: - - libtheora: ................... ${LIBDIR} - C header files: .............. ${INCLUDEDIR}/theora - Documentation: ............... ${DOCDIR}/$PACKAGE - - Building: - - Type 'make' to compile $PACKAGE. - - Type 'make install' to install $PACKAGE. - - ${TESTS_INFO} - - Example programs will be built but not installed. ------------------------------------------------------------------------- -" >&5 -$as_echo " ------------------------------------------------------------------------- - $PACKAGE $VERSION: Automatic configuration OK. - - General configuration: - - Encoding support: ........... ${ac_enable_encode} - Floating point support: ..... ${ac_enable_float} - Assembly optimization: ...... ${cpu_optimization} - Debugging telemetry: ........ ${ac_enable_telemetry} - Build example code: ......... ${ac_enable_examples} - API Documentation: .......... ${doc_build} - Format Documentation: ....... ${spec_build} - - Installation paths: - - libtheora: ................... ${LIBDIR} - C header files: .............. ${INCLUDEDIR}/theora - Documentation: ............... ${DOCDIR}/$PACKAGE - - Building: - - Type 'make' to compile $PACKAGE. - - Type 'make install' to install $PACKAGE. - - ${TESTS_INFO} - - Example programs will be built but not installed. ------------------------------------------------------------------------- -" >&6; } - diff --git a/Libraries/libtheora-1.1.1/configure.ac b/Libraries/libtheora-1.1.1/configure.ac deleted file mode 100644 index 8260bdf7..00000000 --- a/Libraries/libtheora-1.1.1/configure.ac +++ /dev/null @@ -1,516 +0,0 @@ -dnl Process this file with autoconf to produce a configure script - -dnl ------------------------------------------------ -dnl Initialization and Versioning -dnl ------------------------------------------------ - -AC_INIT(libtheora,[1.1.1]) - -AC_CANONICAL_HOST -AC_CANONICAL_TARGET - -AM_CONFIG_HEADER([config.h]) -AC_CONFIG_SRCDIR([lib/fdct.c]) -AM_INIT_AUTOMAKE -AM_MAINTAINER_MODE - -dnl Library versioning -dnl CURRENT, REVISION, AGE -dnl - library source changed -> increment REVISION -dnl - interfaces added/removed/changed -> increment CURRENT, REVISION = 0 -dnl - interfaces added -> increment AGE -dnl - interfaces removed -> AGE = 0 - -TH_LIB_CURRENT=3 -TH_LIB_REVISION=10 -TH_LIB_AGE=3 -AC_SUBST(TH_LIB_CURRENT) -AC_SUBST(TH_LIB_REVISION) -AC_SUBST(TH_LIB_AGE) - -THDEC_LIB_CURRENT=2 -THDEC_LIB_REVISION=4 -THDEC_LIB_AGE=1 -AC_SUBST(THDEC_LIB_CURRENT) -AC_SUBST(THDEC_LIB_REVISION) -AC_SUBST(THDEC_LIB_AGE) - -THENC_LIB_CURRENT=2 -THENC_LIB_REVISION=2 -THENC_LIB_AGE=1 -AC_SUBST(THENC_LIB_CURRENT) -AC_SUBST(THENC_LIB_REVISION) -AC_SUBST(THENC_LIB_AGE) - -dnl Extra linker options (for version script) -THEORA_LDFLAGS="" - -dnl -------------------------------------------------- -dnl Check for programs -dnl -------------------------------------------------- - -dnl save $CFLAGS since AC_PROG_CC likes to insert "-g -O2" -dnl if $CFLAGS is blank -cflags_save="$CFLAGS" -AC_PROG_CC -AC_PROG_CPP -CFLAGS="$cflags_save" - -AM_PROG_CC_C_O -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL - -dnl Add parameters for aclocal -AC_SUBST(ACLOCAL_AMFLAGS, "-I m4") - -dnl Check for doxygen -AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, true, false) -AM_CONDITIONAL(HAVE_DOXYGEN,$HAVE_DOXYGEN) -if test $HAVE_DOXYGEN = "false"; then - AC_MSG_WARN([*** doxygen not found, API documentation will not be built]) -fi - -dnl Check for tools used to build the format specification -BUILD_SPEC="false" -ac_build_spec=yes -AC_ARG_ENABLE(spec, - [ --disable-spec do not build spec ], - [ - if test "x$enableval" = "xno"; then - ac_build_spec=$enableval - fi - ], [ - ac_build_spec=yes - ] ) -if test "x$ac_build_spec" = "xyes"; then - AC_CHECK_PROG(HAVE_PDFLATEX, pdflatex, yes) - AC_CHECK_PROG(HAVE_BIBTEX, bibtex, yes) - AC_CHECK_PROG(HAVE_TRANSFIG, fig2dev, yes) - if test -r doc/spec/spec.tex; then - if test "x$HAVE_PDFLATEX" = "xyes"; then - if test "x$HAVE_BIBTEX" = "xyes"; then - if test "x$HAVE_TRANSFIG" = "xyes"; then - tex_pkg_list=`fgrep usepackage doc/spec/spec.tex | grep \{ | grep -v ltablex` - tex_pkg_ok="yes" - for pkg_line in $tex_pkg_list; do - pkg_name=`echo $pkg_line | sed -e 's/.*{\(.*\)}.*/\1/'` - AC_MSG_CHECKING([for Tex package $pkg_name]) - cat >conftest.tex <<_ACEOF -\\documentclass{book} -$pkg_line -\\begin{document} -Hello World. -\\end{document} -_ACEOF - if pdflatex -interaction batchmode -halt-on-error conftest < /dev/null > /dev/null 2>&1; then - AC_MSG_RESULT([ok]) - else - tex_pkg_ok="no" - AC_MSG_RESULT([no]) - fi - done - if test -w conftest.tex; then rm conftest.tex; fi - if test -w conftest.tex; then rm conftest.aux; fi - if test -w conftest.pdf; then rm conftest.pdf; fi - if test "x$tex_pkg_ok" = "xyes"; then - BUILD_SPEC="true" - fi - fi - fi - fi - fi -fi -AM_CONDITIONAL(BUILD_SPEC, $BUILD_SPEC) -if test $BUILD_SPEC = "false"; then - AC_MSG_WARN([*** Format Specification will not built.]) -fi - -dnl Check for valgrind -VALGRIND_ENVIRONMENT="" -ac_enable_valgrind=no -AC_ARG_ENABLE(valgrind-testing, - [ --enable-valgrind-testing enable running of tests inside Valgrind ], [ ac_enable_valgrind=yes ], [ ac_enable_valgrind=no] ) - -if test "x${ac_enable_valgrind}" = xyes ; then - if test "x${enable_shared}" = xyes ; then - VALGRIND_ENVIRONMENT="libtool --mode=execute " - fi - - AC_CHECK_PROG(HAVE_VALGRIND, valgrind, yes, no) - if test "x$HAVE_VALGRIND" = xyes ; then - VALGRIND_ENVIRONMENT="$VALGRIND_ENVIRONMENT valgrind -q --leak-check=yes --show-reachable=yes --num-callers=100" - AC_SUBST(VALGRIND_ENVIRONMENT) - TESTS_INFO="Type 'make check' to run test suite. Tests will be run under: - ${VALGRIND_ENVIRONMENT}" - else - TESTS_INFO="Type 'make check' to run test suite (Valgrind not found)" - fi -else - TESTS_INFO="Type 'make check' to run test suite (Valgrind testing not enabled)" -fi - -dnl -------------------------------------------------- -dnl Set build flags based on environment -dnl -------------------------------------------------- - -dnl Set some target options - -cflags_save="$CFLAGS" -if test -z "$GCC"; then - case $host in - *) - DEBUG="-g -DDEBUG" - CFLAGS="-O" - PROFILE="-g -p -DDEBUG" ;; - esac -else - - case $host in - *) - DEBUG="-g -Wall -Wno-parentheses -DDEBUG -D__NO_MATH_INLINES" - CFLAGS="-Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops" - PROFILE="-Wall -Wno-parentheses -pg -g -O3 -fno-inline-functions -DDEBUG";; - esac -fi -CFLAGS="$CFLAGS $cflags_save" - -cpu_x86_64=no -cpu_x86_32=no -AC_ARG_ENABLE(asm, - [ --disable-asm disable assembly optimizations ], - [ ac_enable_asm=$enableval ], [ ac_enable_asm=yes] ) - -if test "x${ac_enable_asm}" = xyes; then - cpu_optimization="no optimization for your platform, please send a patch" - case $target_cpu in - i[[3456]]86) - cpu_x86_32=yes - cpu_optimization="32 bit x86" - AC_DEFINE([OC_X86_ASM], [], [make use of x86 asm optimization]) - if test "x$target_vendor" = "xapple"; then - THEORA_LDFLAGS="$THEORA_LDFLAGS -Wl,-read_only_relocs,suppress" - fi - ;; - x86_64) - cpu_x86_64=yes - cpu_optimization="64 bit x86" - AC_DEFINE([OC_X86_ASM], [], [make use of x86 asm optimization]) - AC_DEFINE([OC_X86_64_ASM], [], [make use of x86_64 asm optimization]) - ;; - esac -else - cpu_optimization="disabled" -fi -AM_CONDITIONAL([CPU_x86_64], [test x$cpu_x86_64 = xyes]) -AM_CONDITIONAL([CPU_x86_32], [test x$cpu_x86_32 = xyes]) - -# Test whenever ld supports -version-script -AC_PROG_LD -AC_PROG_LD_GNU -AC_MSG_CHECKING([how to control symbol export]) - -THDEC_VERSION_ARG="" -THENC_VERSION_ARG="" -TH_VERSION_ARG="" -if test "x$lt_cv_prog_gnu_ld" = "xyes"; then - case "$target_os" in - *mingw*) - THEORA_LDFLAGS="$THEORA_LDFLAGS -no-undefined" - THDEC_VERSION_ARG="-export-symbols \$(top_srcdir)/win32/xmingw32/libtheoradec-all.def" - THENC_VERSION_ARG="-export-symbols \$(top_srcdir)/win32/xmingw32/libtheoraenc-all.def" - THENC_VERSION_ARG="$THENC_VERSION_ARG -ltheoradec" - THC_VERSION_ARG="-export-symbols \$(top_srcdir)/win32/libtheora.def" - AC_MSG_RESULT([-export-symbols]) - ;; - linux* | solaris* ) - THDEC_VERSION_ARG='-Wl,--version-script=$(srcdir)/Version_script-dec' - THENC_VERSION_ARG='-Wl,--version-script=$(srcdir)/Version_script-enc' - TH_VERSION_ARG='-Wl,--version-script=$(srcdir)/Version_script' - AC_MSG_RESULT([--version-script]) - ;; - *) - # build without versioning - AC_MSG_RESULT([no]) - ;; - esac -else - case "$target_os" in - darwin*) - THDEC_VERSION_ARG='-Wl,-exported_symbols_list,$(srcdir)/theoradec.exp' - THENC_VERSION_ARG='-Wl,-exported_symbols_list,$(srcdir)/theoraenc.exp' - TH_VERSION_ARG='-Wl,-exported_symbols_list,$(srcdir)/theora.exp' - AC_MSG_RESULT([-exported_symbols_list]) - ;; - *) - # build without versioning - AC_MSG_RESULT([no]) - ;; - esac -fi - -THEORADEC_LDFLAGS="$THEORA_LDFLAGS $THDEC_VERSION_ARG" -THEORAENC_LDFLAGS="$THEORA_LDFLAGS $THENC_VERSION_ARG" -THEORA_LDFLAGS="$THEORA_LDFLAGS $TH_VERSION_ARG" -AC_SUBST(THEORADEC_LDFLAGS) -AC_SUBST(THEORAENC_LDFLAGS) -AC_SUBST(THEORA_LDFLAGS) - -dnl -------------------------------------------------- -dnl Checks for support libraries and headers -dnl -------------------------------------------------- - -dnl check for Ogg -HAVE_OGG=no - -dnl first check through pkg-config since it's more flexible - -dnl check for pkg-config itself so we don't try the m4 macro without pkg-config -AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, yes) -if test "x$HAVE_PKG_CONFIG" = "xyes" -then - PKG_CHECK_MODULES(OGG, ogg >= 1.1, HAVE_OGG=yes, HAVE_OGG=no) -fi -if test "x$HAVE_OGG" = "xno" -then - dnl fall back to the old school test - XIPH_PATH_OGG(, AC_MSG_ERROR([ - libogg is required to build this package! - please see http://www.xiph.org/ for how to - obtain a copy. - ])) - cflags_save=$CFLAGS - libs_save=$LIBS - CFLAGS="$CFLAGS $OGG_CFLAGS" - LIBS="$LIBS $OGG_LIBS" - AC_CHECK_FUNC(oggpackB_read, , [ - AC_MSG_ERROR([newer libogg version (1.1 or later) required]) - ]) - CFLAGS=$cflags_save - LIBS=$libs_save -fi - - -dnl check for Vorbis -HAVE_VORBIS=no - -dnl first check through pkg-config since it's more flexible - -if test "x$HAVE_PKG_CONFIG" = "xyes" -then - PKG_CHECK_MODULES(VORBIS, vorbis >= 1.0.1, HAVE_VORBIS=yes, HAVE_VORBIS=no) - dnl also set VORBISENC_LIBS since an examples needs it - dnl the old .m4 sets this to a value to use on top of VORBIS_LIBS, - dnl so we do the same here. - VORBISENC_LIBS="-lvorbisenc" - AC_SUBST(VORBISENC_LIBS) -fi -if test "x$HAVE_VORBIS" = "xno" -then - dnl fall back to the old school test - XIPH_PATH_VORBIS(HAVE_VORBIS=yes, HAVE_VORBIS=no) -fi - -dnl check for SDL -HAVE_SDL=no - -AM_PATH_SDL(,[ - HAVE_SDL=yes - SDL_LIBS=`$SDL_CONFIG --libs` -],AC_MSG_WARN([*** Unable to find SDL -- Not compiling example players ***])) - -dnl check for OSS -HAVE_OSS=no -AC_CHECK_HEADERS([sys/soundcard.h soundcard.h machine/soundcard.h],[ - HAVE_OSS=yes - break -]) -if test x$HAVE_OSS != xyes; then - AC_MSG_WARN([OSS audio support not found -- not compiling player_example]) -fi - -dnl OpenBSD needs -lossaudio to use the oss interface -OSS_LIBS= -case "$target_os" in - openbsd*) - OSS_LIBS='-lossaudio' - ;; -esac -AC_SUBST(OSS_LIBS) - -dnl check for libpng -HAVE_PNG=no -if test "x$HAVE_PKG_CONFIG" = "xyes" -then - PKG_CHECK_MODULES(PNG, libpng, HAVE_PNG=yes, HAVE_PNG=no) -fi -AC_SUBST(PNG_CFLAGS) -AC_SUBST(PNG_LIBS) - -dnl check for libcairo -HAVE_CAIRO=no -AC_ARG_ENABLE(telemetry, - [ --enable-telemetry enable debugging output controls ], - [ ac_enable_telemetry=$enableval ], [ ac_enable_telemetry=no] ) - -if test "x${ac_enable_telemetry}" = xyes; then - if test "x$HAVE_PKG_CONFIG" = "xyes" - then - PKG_CHECK_MODULES(CAIRO, cairo, HAVE_CAIRO=yes, HAVE_CAIRO=no) - AC_DEFINE([HAVE_CAIRO], [], [libcairo is available for visual debugging output]) - fi - if test x$HAVE_CAIRO != xyes; then - AC_MSG_WARN([libcairo not found -- not compiling telemetry output support ]) - fi - AC_SUBST(CAIRO_CFLAGS) - AC_SUBST(CAIRO_LIBS) -fi - -dnl -------------------------------------------------- -dnl Overall build configuration options -dnl -------------------------------------------------- - -dnl Configuration option for building of floating point code. - -ac_enable_float=yes -AC_ARG_ENABLE(float, - [ --disable-float disable use of floating point code ], - [ ac_enable_float=$enableval ], [ ac_enable_float=yes] ) - -if test "x${ac_enable_float}" != xyes ; then - AC_DEFINE([THEORA_DISABLE_FLOAT], [], - [Define to exclude floating point code from the build]) -fi -AM_CONDITIONAL(THEORA_DISABLE_FLOAT, [test "x${ac_enable_float}" != xyes]) - -dnl Configuration option for building of encoding support. - -ac_enable_encode=yes -AC_ARG_ENABLE(encode, - [ --disable-encode disable encoding support ], - [ ac_enable_encode=$enableval ], [ ac_enable_encode=yes] ) - -if test "x${ac_enable_encode}" != xyes ; then - AC_DEFINE([THEORA_DISABLE_ENCODE], [], - [Define to exclude encode support from the build]) -else - if test x$HAVE_VORBIS = xyes; then - BUILDABLE_EXAMPLES="$BUILDABLE_EXAMPLES encoder_example\$(EXEEXT)" - else - AC_MSG_NOTICE([Vorbis missing, cannot build example encoder]) - fi -fi -AM_CONDITIONAL(THEORA_DISABLE_ENCODE, [test "x${ac_enable_encode}" != xyes]) - -dnl Configuration option for examples - -ac_enable_examples=yes -AC_ARG_ENABLE(examples, - [ --disable-examples disable examples ], - [ ac_enable_examples=$enableval ], [ ac_enable_examples=yes] ) -AM_CONDITIONAL(THEORA_ENABLE_EXAMPLES, [test "x${ac_enable_examples}" != xno]) - -dnl -------------------------------------------------- -dnl Check for headers -dnl -------------------------------------------------- - -dnl none here - -dnl -------------------------------------------------- -dnl Check for typedefs, structures, etc -dnl -------------------------------------------------- - -dnl none - -dnl -------------------------------------------------- -dnl Check for library functions -dnl -------------------------------------------------- - -dnl OpenBSD needs -lcompat for ftime() used by dump_video.c -AC_SEARCH_LIBS([ftime], [compat]) - -dnl substitute the included getopt if the system doesn't support long options -AC_CHECK_FUNC(getopt_long, - [GETOPT_OBJS=''], - [GETOPT_OBJS='getopt.$(OBJEXT) getopt1.$(OBJEXT)']) -AC_SUBST(GETOPT_OBJS) - -if test x$HAVE_SDL = xyes -a x$HAVE_OSS = xyes -a x$HAVE_VORBIS = xyes; then - BUILDABLE_EXAMPLES="$BUILDABLE_EXAMPLES player_example\$(EXEEXT)" -fi -if test x$HAVE_PNG = xyes; then - BUILDABLE_EXAMPLES="$BUILDABLE_EXAMPLES png2theora\$(EXEEXT)" -fi -AC_SUBST(BUILDABLE_EXAMPLES) - -dnl -------------------------------------------------- -dnl Do substitutions -dnl -------------------------------------------------- - -AC_SUBST(DEBUG) -AC_SUBST(PROFILE) - -AC_OUTPUT([ - Makefile - lib/Makefile - include/Makefile include/theora/Makefile - examples/Makefile - doc/Makefile doc/Doxyfile doc/spec/Makefile - tests/Makefile - m4/Makefile - libtheora.spec - theora.pc - theora-uninstalled.pc - theoradec.pc - theoradec-uninstalled.pc - theoraenc.pc - theoraenc-uninstalled.pc -]) - -AS_AC_EXPAND(LIBDIR, ${libdir}) -AS_AC_EXPAND(INCLUDEDIR, ${includedir}) -AS_AC_EXPAND(BINDIR, ${bindir}) -AS_AC_EXPAND(DOCDIR, ${datadir}/doc) - -if test $HAVE_DOXYGEN = "false"; then - doc_build="no" -else - doc_build="yes" -fi -if test $BUILD_SPEC = "false"; then - spec_build="no" -else - spec_build="yes" -fi - -AC_MSG_RESULT([ ------------------------------------------------------------------------- - $PACKAGE $VERSION: Automatic configuration OK. - - General configuration: - - Encoding support: ........... ${ac_enable_encode} - Floating point support: ..... ${ac_enable_float} - Assembly optimization: ...... ${cpu_optimization} - Debugging telemetry: ........ ${ac_enable_telemetry} - Build example code: ......... ${ac_enable_examples} - API Documentation: .......... ${doc_build} - Format Documentation: ....... ${spec_build} - - Installation paths: - - libtheora: ................... ${LIBDIR} - C header files: .............. ${INCLUDEDIR}/theora - Documentation: ............... ${DOCDIR}/$PACKAGE - - Building: - - Type 'make' to compile $PACKAGE. - - Type 'make install' to install $PACKAGE. - - ${TESTS_INFO} - - Example programs will be built but not installed. ------------------------------------------------------------------------- -]) - diff --git a/Libraries/libtheora-1.1.1/depcomp b/Libraries/libtheora-1.1.1/depcomp deleted file mode 100644 index 807b991f..00000000 --- a/Libraries/libtheora-1.1.1/depcomp +++ /dev/null @@ -1,423 +0,0 @@ -#! /bin/sh - -# depcomp - compile a program generating dependencies as side-effects -# Copyright 1999, 2000 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Originally written by Alexandre Oliva . - -if test -z "$depmode" || test -z "$source" || test -z "$object"; then - echo "depcomp: Variables source, object and depmode must be set" 1>&2 - exit 1 -fi -# `libtool' can also be set to `yes' or `no'. - -if test -z "$depfile"; then - base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'` - dir=`echo "$object" | sed 's,/.*$,/,'` - if test "$dir" = "$object"; then - dir= - fi - # FIXME: should be _deps on DOS. - depfile="$dir.deps/$base" -fi - -tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} - -rm -f "$tmpdepfile" - -# Some modes work just like other modes, but use different flags. We -# parameterize here, but still list the modes in the big case below, -# to make depend.m4 easier to write. Note that we *cannot* use a case -# here, because this file can only contain one case statement. -if test "$depmode" = hp; then - # HP compiler uses -M and no extra arg. - gccflag=-M - depmode=gcc -fi - -if test "$depmode" = dashXmstdout; then - # This is just like dashmstdout with a different argument. - dashmflag=-xM - depmode=dashmstdout -fi - -case "$depmode" in -gcc3) -## gcc 3 implements dependency tracking that does exactly what -## we want. Yay! Note: for some reason libtool 1.4 doesn't like -## it if -MD -MP comes after the -MF stuff. Hmm. - "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - mv "$tmpdepfile" "$depfile" - ;; - -gcc) -## There are various ways to get dependency output from gcc. Here's -## why we pick this rather obscure method: -## - Don't want to use -MD because we'd like the dependencies to end -## up in a subdir. Having to rename by hand is ugly. -## (We might end up doing this anyway to support other compilers.) -## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like -## -MM, not -M (despite what the docs say). -## - Using -M directly means running the compiler twice (even worse -## than renaming). - if test -z "$gccflag"; then - gccflag=-MD, - fi - "$@" -Wp,"$gccflag$tmpdepfile" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - echo "$object : \\" > "$depfile" - alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz -## The second -e expression handles DOS-style file names with drive letters. - sed -e 's/^[^:]*: / /' \ - -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" -## This next piece of magic avoids the `deleted header file' problem. -## The problem is that when a header file which appears in a .P file -## is deleted, the dependency causes make to die (because there is -## typically no way to rebuild the header). We avoid this by adding -## dummy dependencies for each header file. Too bad gcc doesn't do -## this for us directly. - tr ' ' ' -' < "$tmpdepfile" | -## Some versions of gcc put a space before the `:'. On the theory -## that the space means something, we add a space to the output as -## well. -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -hp) - # This case exists only to let depend.m4 do its work. It works by - # looking at the text of this script. This case will never be run, - # since it is checked for above. - exit 1 - ;; - -sgi) - if test "$libtool" = yes; then - "$@" "-Wp,-MDupdate,$tmpdepfile" - else - "$@" -MDupdate "$tmpdepfile" - fi - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - - if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files - echo "$object : \\" > "$depfile" - - # Clip off the initial element (the dependent). Don't try to be - # clever and replace this with sed code, as IRIX sed won't handle - # lines with more than a fixed number of characters (4096 in - # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; - # the IRIX cc adds comments like `#:fec' to the end of the - # dependency line. - tr ' ' ' -' < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ - tr ' -' ' ' >> $depfile - echo >> $depfile - - # The second pass generates a dummy entry for each header file. - tr ' ' ' -' < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ - >> $depfile - else - # The sourcefile does not contain any dependencies, so just - # store a dummy comment line, to avoid errors with the Makefile - # "include basename.Plo" scheme. - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -aix) - # The C for AIX Compiler uses -M and outputs the dependencies - # in a .u file. This file always lives in the current directory. - # Also, the AIX compiler puts `$object:' at the start of each line; - # $object doesn't have directory information. - stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'` - tmpdepfile="$stripped.u" - outname="$stripped.o" - if test "$libtool" = yes; then - "$@" -Wc,-M - else - "$@" -M - fi - - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - - if test -f "$tmpdepfile"; then - # Each line is of the form `foo.o: dependent.h'. - # Do two passes, one to just change these to - # `$object: dependent.h' and one to simply `dependent.h:'. - sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile" - sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" - else - # The sourcefile does not contain any dependencies, so just - # store a dummy comment line, to avoid errors with the Makefile - # "include basename.Plo" scheme. - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -tru64) - # The Tru64 compiler uses -MD to generate dependencies as a side - # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. - # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put - # dependencies in `foo.d' instead, so we check for that too. - # Subdirectories are respected. - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - - if test "$libtool" = yes; then - tmpdepfile1="$dir.libs/$base.lo.d" - tmpdepfile2="$dir.libs/$base.d" - "$@" -Wc,-MD - else - tmpdepfile1="$dir$base.o.d" - tmpdepfile2="$dir$base.d" - "$@" -MD - fi - - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" - exit $stat - fi - - if test -f "$tmpdepfile1"; then - tmpdepfile="$tmpdepfile1" - else - tmpdepfile="$tmpdepfile2" - fi - if test -f "$tmpdepfile"; then - sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" - # That's a space and a tab in the []. - sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" - else - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -#nosideeffect) - # This comment above is used by automake to tell side-effect - # dependency tracking mechanisms from slower ones. - -dashmstdout) - # Important note: in order to support this mode, a compiler *must* - # always write the proprocessed file to stdout, regardless of -o. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test $1 != '--mode=compile'; do - shift - done - shift - fi - - # Remove `-o $object'. We will use -o /dev/null later, - # however we can't do the remplacement now because - # `-o $object' might simply not be used - IFS=" " - for arg - do - case $arg in - -o) - shift - ;; - $object) - shift - ;; - *) - set fnord "$@" "$arg" - shift # fnord - shift # $arg - ;; - esac - done - - test -z "$dashmflag" && dashmflag=-M - "$@" -o /dev/null $dashmflag | sed 's:^[^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" - rm -f "$depfile" - cat < "$tmpdepfile" > "$depfile" - tr ' ' ' -' < "$tmpdepfile" | \ -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -dashXmstdout) - # This case only exists to satisfy depend.m4. It is never actually - # run, as this mode is specially recognized in the preamble. - exit 1 - ;; - -makedepend) - "$@" || exit $? - # X makedepend - shift - cleared=no - for arg in "$@"; do - case $cleared in - no) - set ""; shift - cleared=yes ;; - esac - case "$arg" in - -D*|-I*) - set fnord "$@" "$arg"; shift ;; - -*) - ;; - *) - set fnord "$@" "$arg"; shift ;; - esac - done - obj_suffix="`echo $object | sed 's/^.*\././'`" - touch "$tmpdepfile" - ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" - rm -f "$depfile" - cat < "$tmpdepfile" > "$depfile" - sed '1,2d' "$tmpdepfile" | tr ' ' ' -' | \ -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" "$tmpdepfile".bak - ;; - -cpp) - # Important note: in order to support this mode, a compiler *must* - # always write the proprocessed file to stdout. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test $1 != '--mode=compile'; do - shift - done - shift - fi - - # Remove `-o $object'. - IFS=" " - for arg - do - case $arg in - -o) - shift - ;; - $object) - shift - ;; - *) - set fnord "$@" "$arg" - shift # fnord - shift # $arg - ;; - esac - done - - "$@" -E | - sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | - sed '$ s: \\$::' > "$tmpdepfile" - rm -f "$depfile" - echo "$object : \\" > "$depfile" - cat < "$tmpdepfile" >> "$depfile" - sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -msvisualcpp) - # Important note: in order to support this mode, a compiler *must* - # always write the proprocessed file to stdout, regardless of -o, - # because we must use -o when running libtool. - "$@" || exit $? - IFS=" " - for arg - do - case "$arg" in - "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") - set fnord "$@" - shift - shift - ;; - *) - set fnord "$@" "$arg" - shift - shift - ;; - esac - done - "$@" -E | - sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" - rm -f "$depfile" - echo "$object : \\" > "$depfile" - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" - echo " " >> "$depfile" - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -none) - exec "$@" - ;; - -*) - echo "Unknown depmode $depmode" 1>&2 - exit 1 - ;; -esac - -exit 0 diff --git a/Libraries/libtheora-1.1.1/doc/Doxyfile.in b/Libraries/libtheora-1.1.1/doc/Doxyfile.in deleted file mode 100644 index 43b5e992..00000000 --- a/Libraries/libtheora-1.1.1/doc/Doxyfile.in +++ /dev/null @@ -1,1142 +0,0 @@ -# Doxyfile 1.3.7 - -# This file describes the settings to be used by the documentation system -# doxygen (www.doxygen.org) for a project -# -# All text after a hash (#) is considered a comment and will be ignored -# The format is: -# TAG = value [value, ...] -# For lists items can also be appended using: -# TAG += value [value, ...] -# Values that contain spaces should be placed between quotes (" ") - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- - -# The PROJECT_NAME tag is a single word (or a sequence of words surrounded -# by quotes) that should identify the project. - -PROJECT_NAME = @PACKAGE@ - -# The PROJECT_NUMBER tag can be used to enter a project or revision number. -# This could be handy for archiving the generated documentation or -# if some version control system is used. - -PROJECT_NUMBER = @VERSION@ - -# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) -# base path where the generated documentation will be put. -# If a relative path is entered, it will be relative to the location -# where doxygen was started. If left blank the current directory will be used. - -OUTPUT_DIRECTORY = libtheora - -# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create -# 2 levels of 10 sub-directories under the output directory of each output -# format and will distribute the generated files over these directories. -# Enabling this option can be useful when feeding doxygen a huge amount of source -# files, where putting all generated files in the same directory would otherwise -# cause performance problems for the file system. - -CREATE_SUBDIRS = NO - -# The OUTPUT_LANGUAGE tag is used to specify the language in which all -# documentation generated by doxygen is written. Doxygen will use this -# information to generate all constant output in the proper language. -# The default language is English, other supported languages are: -# Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, Dutch, -# Finnish, French, German, Greek, Hungarian, Italian, Japanese, Japanese-en -# (Japanese with English messages), Korean, Korean-en, Norwegian, Polish, Portuguese, -# Romanian, Russian, Serbian, Slovak, Slovene, Spanish, Swedish, and Ukrainian. - -OUTPUT_LANGUAGE = English - -# This tag can be used to specify the encoding used in the generated output. -# The encoding is not always determined by the language that is chosen, -# but also whether or not the output is meant for Windows or non-Windows users. -# In case there is a difference, setting the USE_WINDOWS_ENCODING tag to YES -# forces the Windows encoding (this is the default for the Windows binary), -# whereas setting the tag to NO uses a Unix-style encoding (the default for -# all platforms other than Windows). -#This tag is now obsolete, according to doxygen 1.5.2 -#USE_WINDOWS_ENCODING = NO - -# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will -# include brief member descriptions after the members that are listed in -# the file and class documentation (similar to JavaDoc). -# Set to NO to disable this. - -BRIEF_MEMBER_DESC = YES - -# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend -# the brief description of a member or function before the detailed description. -# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the -# brief descriptions will be completely suppressed. - -REPEAT_BRIEF = YES - -# This tag implements a quasi-intelligent brief description abbreviator -# that is used to form the text in various listings. Each string -# in this list, if found as the leading text of the brief description, will be -# stripped from the text and the result after processing the whole list, is used -# as the annotated text. Otherwise, the brief description is used as-is. If left -# blank, the following values are used ("$name" is automatically replaced with the -# name of the entity): "The $name class" "The $name widget" "The $name file" -# "is" "provides" "specifies" "contains" "represents" "a" "an" "the" - -ABBREVIATE_BRIEF = - -# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then -# Doxygen will generate a detailed section even if there is only a brief -# description. - -ALWAYS_DETAILED_SEC = NO - -# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited -# members of a class in the documentation of that class as if those members were -# ordinary class members. Constructors, destructors and assignment operators of -# the base classes will not be shown. - -INLINE_INHERITED_MEMB = NO - -# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full -# path before files name in the file list and in the header files. If set -# to NO the shortest path that makes the file name unique will be used. - -FULL_PATH_NAMES = NO - -# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag -# can be used to strip a user-defined part of the path. Stripping is -# only done if one of the specified strings matches the left-hand part of -# the path. The tag can be used to show relative paths in the file list. -# If left blank the directory from which doxygen is run is used as the -# path to strip. - -STRIP_FROM_PATH = - -# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of -# the path mentioned in the documentation of a class, which tells -# the reader which header file to include in order to use a class. -# If left blank only the name of the header file containing the class -# definition is used. Otherwise one should specify the include paths that -# are normally passed to the compiler using the -I flag. - -STRIP_FROM_INC_PATH = - -# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter -# (but less readable) file names. This can be useful is your file systems -# doesn't support long names like on DOS, Mac, or CD-ROM. - -SHORT_NAMES = NO - -# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen -# will interpret the first line (until the first dot) of a JavaDoc-style -# comment as the brief description. If set to NO, the JavaDoc -# comments will behave just like the Qt-style comments (thus requiring an -# explicit @brief command for a brief description. - -JAVADOC_AUTOBRIEF = YES - -# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen -# treat a multi-line C++ special comment block (i.e. a block of //! or /// -# comments) as a brief description. This used to be the default behaviour. -# The new default is to treat a multi-line C++ comment block as a detailed -# description. Set this tag to YES if you prefer the old behaviour instead. - -MULTILINE_CPP_IS_BRIEF = NO - -# If the DETAILS_AT_TOP tag is set to YES then Doxygen -# will output the detailed description near the top, like JavaDoc. -# If set to NO, the detailed description appears after the member -# documentation. - -DETAILS_AT_TOP = NO - -# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented -# member inherits the documentation from any documented member that it -# re-implements. - -INHERIT_DOCS = YES - -# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC -# tag is set to YES, then doxygen will reuse the documentation of the first -# member in the group (if any) for the other members of the group. By default -# all members of a group must be documented explicitly. - -DISTRIBUTE_GROUP_DOC = NO - -# The TAB_SIZE tag can be used to set the number of spaces in a tab. -# Doxygen uses this value to replace tabs by spaces in code fragments. - -TAB_SIZE = 8 - -# This tag can be used to specify a number of aliases that acts -# as commands in the documentation. An alias has the form "name=value". -# For example adding "sideeffect=\par Side Effects:\n" will allow you to -# put the command \sideeffect (or @sideeffect) in the documentation, which -# will result in a user-defined paragraph with heading "Side Effects:". -# You can put \n's in the value part of an alias to insert newlines. - -ALIASES = - -# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources -# only. Doxygen will then generate output that is more tailored for C. -# For instance, some of the names that are used will be different. The list -# of all members will be omitted, etc. - -OPTIMIZE_OUTPUT_FOR_C = YES - -# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java sources -# only. Doxygen will then generate output that is more tailored for Java. -# For instance, namespaces will be presented as packages, qualified scopes -# will look different, etc. - -OPTIMIZE_OUTPUT_JAVA = NO - -# Set the SUBGROUPING tag to YES (the default) to allow class member groups of -# the same type (for instance a group of public functions) to be put as a -# subgroup of that type (e.g. under the Public Functions section). Set it to -# NO to prevent subgrouping. Alternatively, this can be done per class using -# the \nosubgrouping command. - -SUBGROUPING = YES - -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- - -# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in -# documentation are documented, even if no documentation was available. -# Private class members and static file members will be hidden unless -# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES - -EXTRACT_ALL = YES - -# If the EXTRACT_PRIVATE tag is set to YES all private members of a class -# will be included in the documentation. - -EXTRACT_PRIVATE = NO - -# If the EXTRACT_STATIC tag is set to YES all static members of a file -# will be included in the documentation. - -EXTRACT_STATIC = NO - -# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) -# defined locally in source files will be included in the documentation. -# If set to NO only classes defined in header files are included. - -EXTRACT_LOCAL_CLASSES = YES - -# This flag is only useful for Objective-C code. When set to YES local -# methods, which are defined in the implementation section but not in -# the interface are included in the documentation. -# If set to NO (the default) only methods in the interface are included. - -EXTRACT_LOCAL_METHODS = NO - -# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all -# undocumented members of documented classes, files or namespaces. -# If set to NO (the default) these members will be included in the -# various overviews, but no documentation section is generated. -# This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_MEMBERS = NO - -# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all -# undocumented classes that are normally visible in the class hierarchy. -# If set to NO (the default) these classes will be included in the various -# overviews. This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_CLASSES = NO - -# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all -# friend (class|struct|union) declarations. -# If set to NO (the default) these declarations will be included in the -# documentation. - -HIDE_FRIEND_COMPOUNDS = NO - -# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any -# documentation blocks found inside the body of a function. -# If set to NO (the default) these blocks will be appended to the -# function's detailed documentation block. - -HIDE_IN_BODY_DOCS = NO - -# The INTERNAL_DOCS tag determines if documentation -# that is typed after a \internal command is included. If the tag is set -# to NO (the default) then the documentation will be excluded. -# Set it to YES to include the internal documentation. - -INTERNAL_DOCS = NO - -# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate -# file names in lower-case letters. If set to YES upper-case letters are also -# allowed. This is useful if you have classes or files whose names only differ -# in case and if your file system supports case sensitive file names. Windows -# users are advised to set this option to NO. - -CASE_SENSE_NAMES = YES - -# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen -# will show members with their full class and namespace scopes in the -# documentation. If set to YES the scope will be hidden. - -HIDE_SCOPE_NAMES = NO - -# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen -# will put a list of the files that are included by a file in the documentation -# of that file. - -SHOW_INCLUDE_FILES = YES - -# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] -# is inserted in the documentation for inline members. - -INLINE_INFO = YES - -# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen -# will sort the (detailed) documentation of file and class members -# alphabetically by member name. If set to NO the members will appear in -# declaration order. - -SORT_MEMBER_DOCS = YES - -# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the -# brief documentation of file, namespace and class members alphabetically -# by member name. If set to NO (the default) the members will appear in -# declaration order. - -SORT_BRIEF_DOCS = NO - -# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be -# sorted by fully-qualified names, including namespaces. If set to -# NO (the default), the class list will be sorted only by class name, -# not including the namespace part. -# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. -# Note: This option applies only to the class list, not to the -# alphabetical list. - -SORT_BY_SCOPE_NAME = NO - -# The GENERATE_TODOLIST tag can be used to enable (YES) or -# disable (NO) the todo list. This list is created by putting \todo -# commands in the documentation. - -GENERATE_TODOLIST = YES - -# The GENERATE_TESTLIST tag can be used to enable (YES) or -# disable (NO) the test list. This list is created by putting \test -# commands in the documentation. - -GENERATE_TESTLIST = YES - -# The GENERATE_BUGLIST tag can be used to enable (YES) or -# disable (NO) the bug list. This list is created by putting \bug -# commands in the documentation. - -GENERATE_BUGLIST = YES - -# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or -# disable (NO) the deprecated list. This list is created by putting -# \deprecated commands in the documentation. - -GENERATE_DEPRECATEDLIST= YES - -# The ENABLED_SECTIONS tag can be used to enable conditional -# documentation sections, marked by \if sectionname ... \endif. - -ENABLED_SECTIONS = - -# The MAX_INITIALIZER_LINES tag determines the maximum number of lines -# the initial value of a variable or define consists of for it to appear in -# the documentation. If the initializer consists of more lines than specified -# here it will be hidden. Use a value of 0 to hide initializers completely. -# The appearance of the initializer of individual variables and defines in the -# documentation can be controlled using \showinitializer or \hideinitializer -# command in the documentation regardless of this setting. - -MAX_INITIALIZER_LINES = 30 - -# Set the SHOW_USED_FILES tag to NO to disable the list of files generated -# at the bottom of the documentation of classes and structs. If set to YES the -# list will mention the files that were used to generate the documentation. - -SHOW_USED_FILES = YES - -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- - -# The QUIET tag can be used to turn on/off the messages that are generated -# by doxygen. Possible values are YES and NO. If left blank NO is used. - -QUIET = NO - -# The WARNINGS tag can be used to turn on/off the warning messages that are -# generated by doxygen. Possible values are YES and NO. If left blank -# NO is used. - -WARNINGS = YES - -# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings -# for undocumented members. If EXTRACT_ALL is set to YES then this flag will -# automatically be disabled. - -WARN_IF_UNDOCUMENTED = YES - -# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for -# potential errors in the documentation, such as not documenting some -# parameters in a documented function, or documenting parameters that -# don't exist or using markup commands wrongly. - -WARN_IF_DOC_ERROR = YES - -# The WARN_FORMAT tag determines the format of the warning messages that -# doxygen can produce. The string should contain the $file, $line, and $text -# tags, which will be replaced by the file and line number from which the -# warning originated and the warning text. - -WARN_FORMAT = "$file:$line: $text" - -# The WARN_LOGFILE tag can be used to specify a file to which warning -# and error messages should be written. If left blank the output is written -# to stderr. - -WARN_LOGFILE = - -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- - -# The INPUT tag can be used to specify the files and/or directories that contain -# documented source files. You may enter file names like "myfile.cpp" or -# directories like "/usr/src/myproject". Separate the files or directories -# with spaces. - -INPUT = @top_srcdir@/include/theora - -# If the value of the INPUT tag contains directories, you can use the -# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank the following patterns are tested: -# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp -# *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm - -FILE_PATTERNS = - -# The RECURSIVE tag can be used to turn specify whether or not subdirectories -# should be searched for input files as well. Possible values are YES and NO. -# If left blank NO is used. - -RECURSIVE = NO - -# The EXCLUDE tag can be used to specify files and/or directories that should -# excluded from the INPUT source files. This way you can easily exclude a -# subdirectory from a directory tree whose root is specified with the INPUT tag. - -EXCLUDE = - -# The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories -# that are symbolic links (a Unix filesystem feature) are excluded from the input. - -EXCLUDE_SYMLINKS = NO - -# If the value of the INPUT tag contains directories, you can use the -# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude -# certain files from those directories. - -EXCLUDE_PATTERNS = - -# The EXAMPLE_PATH tag can be used to specify one or more files or -# directories that contain example code fragments that are included (see -# the \include command). - -EXAMPLE_PATH = - -# If the value of the EXAMPLE_PATH tag contains directories, you can use the -# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank all files are included. - -EXAMPLE_PATTERNS = - -# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be -# searched for input files to be used with the \include or \dontinclude -# commands irrespective of the value of the RECURSIVE tag. -# Possible values are YES and NO. If left blank NO is used. - -EXAMPLE_RECURSIVE = NO - -# The IMAGE_PATH tag can be used to specify one or more files or -# directories that contain image that are included in the documentation (see -# the \image command). - -IMAGE_PATH = - -# The INPUT_FILTER tag can be used to specify a program that doxygen should -# invoke to filter for each input file. Doxygen will invoke the filter program -# by executing (via popen()) the command , where -# is the value of the INPUT_FILTER tag, and is the name of an -# input file. Doxygen will then use the output that the filter program writes -# to standard output. - -INPUT_FILTER = - -# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using -# INPUT_FILTER) will be used to filter the input files when producing source -# files to browse (i.e. when SOURCE_BROWSER is set to YES). - -FILTER_SOURCE_FILES = NO - -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- - -# If the SOURCE_BROWSER tag is set to YES then a list of source files will -# be generated. Documented entities will be cross-referenced with these sources. -# Note: To get rid of all source code in the generated output, make sure also -# VERBATIM_HEADERS is set to NO. - -SOURCE_BROWSER = NO - -# Setting the INLINE_SOURCES tag to YES will include the body -# of functions and classes directly in the documentation. - -INLINE_SOURCES = NO - -# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct -# doxygen to hide any special comment blocks from generated source code -# fragments. Normal C and C++ comments will always remain visible. - -STRIP_CODE_COMMENTS = YES - -# If the REFERENCED_BY_RELATION tag is set to YES (the default) -# then for each documented function all documented -# functions referencing it will be listed. - -REFERENCED_BY_RELATION = YES - -# If the REFERENCES_RELATION tag is set to YES (the default) -# then for each documented function all documented entities -# called/used by that function will be listed. - -REFERENCES_RELATION = YES - -# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen -# will generate a verbatim copy of the header file for each class for -# which an include is specified. Set to NO to disable this. - -VERBATIM_HEADERS = YES - -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- - -# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index -# of all compounds will be generated. Enable this if the project -# contains a lot of classes, structs, unions or interfaces. - -ALPHABETICAL_INDEX = NO - -# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then -# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns -# in which this list will be split (can be a number in the range [1..20]) - -COLS_IN_ALPHA_INDEX = 5 - -# In case all classes in a project start with a common prefix, all -# classes will be put under the same header in the alphabetical index. -# The IGNORE_PREFIX tag can be used to specify one or more prefixes that -# should be ignored while generating the index headers. - -IGNORE_PREFIX = - -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- - -# If the GENERATE_HTML tag is set to YES (the default) Doxygen will -# generate HTML output. - -GENERATE_HTML = YES - -# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `html' will be used as the default path. - -HTML_OUTPUT = html - -# The HTML_FILE_EXTENSION tag can be used to specify the file extension for -# each generated HTML page (for example: .htm,.php,.asp). If it is left blank -# doxygen will generate files with .html extension. - -HTML_FILE_EXTENSION = .html - -# The HTML_HEADER tag can be used to specify a personal HTML header for -# each generated HTML page. If it is left blank doxygen will generate a -# standard header. - -HTML_HEADER = - -# The HTML_FOOTER tag can be used to specify a personal HTML footer for -# each generated HTML page. If it is left blank doxygen will generate a -# standard footer. - -HTML_FOOTER = - -# The HTML_STYLESHEET tag can be used to specify a user-defined cascading -# style sheet that is used by each HTML page. It can be used to -# fine-tune the look of the HTML output. If the tag is left blank doxygen -# will generate a default style sheet. Note that doxygen will try to copy -# the style sheet file to the HTML output directory, so don't put your own -# stylesheet in the HTML output directory as well, or it will be erased! - -HTML_STYLESHEET = - -# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, -# files or namespaces will be aligned in HTML using tables. If set to -# NO a bullet list will be used. - -HTML_ALIGN_MEMBERS = YES - -# If the GENERATE_HTMLHELP tag is set to YES, additional index files -# will be generated that can be used as input for tools like the -# Microsoft HTML help workshop to generate a compressed HTML help file (.chm) -# of the generated HTML documentation. - -GENERATE_HTMLHELP = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can -# be used to specify the file name of the resulting .chm file. You -# can add a path in front of the file if the result should not be -# written to the html output directory. - -CHM_FILE = - -# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can -# be used to specify the location (absolute path including file name) of -# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run -# the HTML help compiler on the generated index.hhp. - -HHC_LOCATION = - -# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag -# controls if a separate .chi index file is generated (YES) or that -# it should be included in the master .chm file (NO). - -GENERATE_CHI = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag -# controls whether a binary table of contents is generated (YES) or a -# normal table of contents (NO) in the .chm file. - -BINARY_TOC = NO - -# The TOC_EXPAND flag can be set to YES to add extra items for group members -# to the contents of the HTML help documentation and to the tree view. - -TOC_EXPAND = NO - -# The DISABLE_INDEX tag can be used to turn on/off the condensed index at -# top of each HTML page. The value NO (the default) enables the index and -# the value YES disables it. - -DISABLE_INDEX = NO - -# This tag can be used to set the number of enum values (range [1..20]) -# that doxygen will group on one line in the generated HTML documentation. - -ENUM_VALUES_PER_LINE = 4 - -# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be -# generated containing a tree-like index structure (just like the one that -# is generated for HTML Help). For this to work a browser that supports -# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, -# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are -# probably better off using the HTML help feature. - -GENERATE_TREEVIEW = NO - -# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be -# used to set the initial width (in pixels) of the frame in which the tree -# is shown. - -TREEVIEW_WIDTH = 250 - -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- - -# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will -# generate Latex output. - -GENERATE_LATEX = YES - -# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `latex' will be used as the default path. - -LATEX_OUTPUT = latex - -# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be -# invoked. If left blank `latex' will be used as the default command name. - -LATEX_CMD_NAME = latex - -# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to -# generate index for LaTeX. If left blank `makeindex' will be used as the -# default command name. - -MAKEINDEX_CMD_NAME = makeindex - -# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact -# LaTeX documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_LATEX = NO - -# The PAPER_TYPE tag can be used to set the paper type that is used -# by the printer. Possible values are: a4, a4wide, letter, legal and -# executive. If left blank a4wide will be used. - -PAPER_TYPE = a4wide - -# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX -# packages that should be included in the LaTeX output. - -EXTRA_PACKAGES = - -# The LATEX_HEADER tag can be used to specify a personal LaTeX header for -# the generated latex document. The header should contain everything until -# the first chapter. If it is left blank doxygen will generate a -# standard header. Notice: only use this tag if you know what you are doing! - -LATEX_HEADER = - -# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated -# is prepared for conversion to pdf (using ps2pdf). The pdf file will -# contain links (just like the HTML output) instead of page references -# This makes the output suitable for online browsing using a pdf viewer. - -PDF_HYPERLINKS = NO - -# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of -# plain latex in the generated Makefile. Set this option to YES to get a -# higher quality PDF documentation. - -USE_PDFLATEX = NO - -# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. -# command to the generated LaTeX files. This will instruct LaTeX to keep -# running if errors occur, instead of asking the user for help. -# This option is also used when generating formulas in HTML. - -LATEX_BATCHMODE = NO - -# If LATEX_HIDE_INDICES is set to YES then doxygen will not -# include the index chapters (such as File Index, Compound Index, etc.) -# in the output. - -LATEX_HIDE_INDICES = NO - -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- - -# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output -# The RTF output is optimized for Word 97 and may not look very pretty with -# other RTF readers or editors. - -GENERATE_RTF = NO - -# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `rtf' will be used as the default path. - -RTF_OUTPUT = rtf - -# If the COMPACT_RTF tag is set to YES Doxygen generates more compact -# RTF documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_RTF = NO - -# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated -# will contain hyperlink fields. The RTF file will -# contain links (just like the HTML output) instead of page references. -# This makes the output suitable for online browsing using WORD or other -# programs which support those fields. -# Note: wordpad (write) and others do not support links. - -RTF_HYPERLINKS = NO - -# Load stylesheet definitions from file. Syntax is similar to doxygen's -# config file, i.e. a series of assignments. You only have to provide -# replacements, missing definitions are set to their default value. - -RTF_STYLESHEET_FILE = - -# Set optional variables used in the generation of an rtf document. -# Syntax is similar to doxygen's config file. - -RTF_EXTENSIONS_FILE = - -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- - -# If the GENERATE_MAN tag is set to YES (the default) Doxygen will -# generate man pages - -GENERATE_MAN = NO - -# The MAN_OUTPUT tag is used to specify where the man pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `man' will be used as the default path. - -MAN_OUTPUT = man - -# The MAN_EXTENSION tag determines the extension that is added to -# the generated man pages (default is the subroutine's section .3) - -MAN_EXTENSION = .3 - -# If the MAN_LINKS tag is set to YES and Doxygen generates man output, -# then it will generate one additional man file for each entity -# documented in the real man page(s). These additional files -# only source the real man page, but without them the man command -# would be unable to find the correct page. The default is NO. - -MAN_LINKS = NO - -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- - -# If the GENERATE_XML tag is set to YES Doxygen will -# generate an XML file that captures the structure of -# the code including all documentation. - -GENERATE_XML = NO - -# The XML_OUTPUT tag is used to specify where the XML pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `xml' will be used as the default path. - -XML_OUTPUT = xml - -# The XML_SCHEMA tag can be used to specify an XML schema, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_SCHEMA = - -# The XML_DTD tag can be used to specify an XML DTD, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_DTD = - -# If the XML_PROGRAMLISTING tag is set to YES Doxygen will -# dump the program listings (including syntax highlighting -# and cross-referencing information) to the XML output. Note that -# enabling this will significantly increase the size of the XML output. - -XML_PROGRAMLISTING = YES - -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- - -# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will -# generate an AutoGen Definitions (see autogen.sf.net) file -# that captures the structure of the code including all -# documentation. Note that this feature is still experimental -# and incomplete at the moment. - -GENERATE_AUTOGEN_DEF = NO - -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- - -# If the GENERATE_PERLMOD tag is set to YES Doxygen will -# generate a Perl module file that captures the structure of -# the code including all documentation. Note that this -# feature is still experimental and incomplete at the -# moment. - -GENERATE_PERLMOD = NO - -# If the PERLMOD_LATEX tag is set to YES Doxygen will generate -# the necessary Makefile rules, Perl scripts and LaTeX code to be able -# to generate PDF and DVI output from the Perl module output. - -PERLMOD_LATEX = NO - -# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be -# nicely formatted so it can be parsed by a human reader. This is useful -# if you want to understand what is going on. On the other hand, if this -# tag is set to NO the size of the Perl module output will be much smaller -# and Perl will parse it just the same. - -PERLMOD_PRETTY = YES - -# The names of the make variables in the generated doxyrules.make file -# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. -# This is useful so different doxyrules.make files included by the same -# Makefile don't overwrite each other's variables. - -PERLMOD_MAKEVAR_PREFIX = - -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- - -# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will -# evaluate all C-preprocessor directives found in the sources and include -# files. - -ENABLE_PREPROCESSING = YES - -# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro -# names in the source code. If set to NO (the default) only conditional -# compilation will be performed. Macro expansion can be done in a controlled -# way by setting EXPAND_ONLY_PREDEF to YES. - -MACRO_EXPANSION = NO - -# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES -# then the macro expansion is limited to the macros specified with the -# PREDEFINED and EXPAND_AS_PREDEFINED tags. - -EXPAND_ONLY_PREDEF = NO - -# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files -# in the INCLUDE_PATH (see below) will be search if a #include is found. - -SEARCH_INCLUDES = YES - -# The INCLUDE_PATH tag can be used to specify one or more directories that -# contain include files that are not input files but should be processed by -# the preprocessor. - -INCLUDE_PATH = - -# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard -# patterns (like *.h and *.hpp) to filter out the header-files in the -# directories. If left blank, the patterns specified with FILE_PATTERNS will -# be used. - -INCLUDE_FILE_PATTERNS = - -# The PREDEFINED tag can be used to specify one or more macro names that -# are defined before the preprocessor is started (similar to the -D option of -# gcc). The argument of the tag is a list of macros of the form: name -# or name=definition (no spaces). If the definition and the = are -# omitted =1 is assumed. - -PREDEFINED = - -# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then -# this tag can be used to specify a list of macro names that should be expanded. -# The macro definition that is found in the sources will be used. -# Use the PREDEFINED tag if you want to use a different macro definition. - -EXPAND_AS_DEFINED = - -# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then -# doxygen's preprocessor will remove all function-like macros that are alone -# on a line, have an all uppercase name, and do not end with a semicolon. Such -# function macros are typically used for boiler-plate code, and will confuse the -# parser if not removed. - -SKIP_FUNCTION_MACROS = YES - -#--------------------------------------------------------------------------- -# Configuration::additions related to external references -#--------------------------------------------------------------------------- - -# The TAGFILES option can be used to specify one or more tagfiles. -# Optionally an initial location of the external documentation -# can be added for each tagfile. The format of a tag file without -# this location is as follows: -# TAGFILES = file1 file2 ... -# Adding location for the tag files is done as follows: -# TAGFILES = file1=loc1 "file2 = loc2" ... -# where "loc1" and "loc2" can be relative or absolute paths or -# URLs. If a location is present for each tag, the installdox tool -# does not have to be run to correct the links. -# Note that each tag file must have a unique name -# (where the name does NOT include the path) -# If a tag file is not located in the directory in which doxygen -# is run, you must also specify the path to the tagfile here. - -TAGFILES = - -# When a file name is specified after GENERATE_TAGFILE, doxygen will create -# a tag file that is based on the input files it reads. - -GENERATE_TAGFILE = - -# If the ALLEXTERNALS tag is set to YES all external classes will be listed -# in the class index. If set to NO only the inherited external classes -# will be listed. - -ALLEXTERNALS = NO - -# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed -# in the modules index. If set to NO, only the current project's groups will -# be listed. - -EXTERNAL_GROUPS = YES - -# The PERL_PATH should be the absolute path and name of the perl script -# interpreter (i.e. the result of `which perl'). - -PERL_PATH = /usr/bin/perl - -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- - -# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will -# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base or -# super classes. Setting the tag to NO turns the diagrams off. Note that this -# option is superseded by the HAVE_DOT option below. This is only a fallback. It is -# recommended to install and use dot, since it yields more powerful graphs. - -CLASS_DIAGRAMS = YES - -# If set to YES, the inheritance and collaboration graphs will hide -# inheritance and usage relations if the target is undocumented -# or is not a class. - -HIDE_UNDOC_RELATIONS = YES - -# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is -# available from the path. This tool is part of Graphviz, a graph visualization -# toolkit from AT&T and Lucent Bell Labs. The other options in this section -# have no effect if this option is set to NO (the default) - -HAVE_DOT = NO - -# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect inheritance relations. Setting this tag to YES will force the -# the CLASS_DIAGRAMS tag to NO. - -CLASS_GRAPH = YES - -# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect implementation dependencies (inheritance, containment, and -# class references variables) of the class with other documented classes. - -COLLABORATION_GRAPH = YES - -# If the UML_LOOK tag is set to YES doxygen will generate inheritance and -# collaboration diagrams in a style similar to the OMG's Unified Modeling -# Language. - -UML_LOOK = NO - -# If set to YES, the inheritance and collaboration graphs will show the -# relations between templates and their instances. - -TEMPLATE_RELATIONS = NO - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT -# tags are set to YES then doxygen will generate a graph for each documented -# file showing the direct and indirect include dependencies of the file with -# other documented files. - -INCLUDE_GRAPH = YES - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and -# HAVE_DOT tags are set to YES then doxygen will generate a graph for each -# documented header file showing the documented files that directly or -# indirectly include this file. - -INCLUDED_BY_GRAPH = YES - -# If the CALL_GRAPH and HAVE_DOT tags are set to YES then doxygen will -# generate a call dependency graph for every global function or class method. -# Note that enabling this option will significantly increase the time of a run. -# So in most cases it will be better to enable call graphs for selected -# functions only using the \callgraph command. - -CALL_GRAPH = NO - -# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen -# will graphical hierarchy of all classes instead of a textual one. - -GRAPHICAL_HIERARCHY = YES - -# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images -# generated by dot. Possible values are png, jpg, or gif -# If left blank png will be used. - -DOT_IMAGE_FORMAT = png - -# The tag DOT_PATH can be used to specify the path where the dot tool can be -# found. If left blank, it is assumed the dot tool can be found on the path. - -DOT_PATH = - -# The DOTFILE_DIRS tag can be used to specify one or more directories that -# contain dot files that are included in the documentation (see the -# \dotfile command). - -DOTFILE_DIRS = - -# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width -# (in pixels) of the graphs generated by dot. If a graph becomes larger than -# this value, doxygen will try to truncate the graph, so that it fits within -# the specified constraint. Beware that most browsers cannot cope with very -# large images. -#This tag is now obsolete, according to doxygen 1.5.2 -#MAX_DOT_GRAPH_WIDTH = 1024 - -# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height -# (in pixels) of the graphs generated by dot. If a graph becomes larger than -# this value, doxygen will try to truncate the graph, so that it fits within -# the specified constraint. Beware that most browsers cannot cope with very -# large images. -#This tag is now obsolete, according to doxygen 1.5.2 -#MAX_DOT_GRAPH_HEIGHT = 1024 - -# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the -# graphs generated by dot. A depth value of 3 means that only nodes reachable -# from the root by following a path via at most 3 edges will be shown. Nodes that -# lay further from the root node will be omitted. Note that setting this option to -# 1 or 2 may greatly reduce the computation time needed for large code bases. Also -# note that a graph may be further truncated if the graph's image dimensions are -# not sufficient to fit the graph (see MAX_DOT_GRAPH_WIDTH and MAX_DOT_GRAPH_HEIGHT). -# If 0 is used for the depth value (the default), the graph is not depth-constrained. -#This tag is now obsolete, according to doxygen 1.5.2 -#MAX_DOT_GRAPH_DEPTH = 0 - -# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will -# generate a legend page explaining the meaning of the various boxes and -# arrows in the dot generated graphs. - -GENERATE_LEGEND = YES - -# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will -# remove the intermediate dot files that are used to generate -# the various graphs. - -DOT_CLEANUP = YES - -#--------------------------------------------------------------------------- -# Configuration::additions related to the search engine -#--------------------------------------------------------------------------- - -# The SEARCHENGINE tag specifies whether or not a search engine should be -# used. If set to NO the values of all tags below this one will be ignored. - -SEARCHENGINE = NO diff --git a/Libraries/libtheora-1.1.1/doc/Makefile.am b/Libraries/libtheora-1.1.1/doc/Makefile.am deleted file mode 100644 index 30eaad8e..00000000 --- a/Libraries/libtheora-1.1.1/doc/Makefile.am +++ /dev/null @@ -1,74 +0,0 @@ -## Process this file with automake to produce Makefile.in - -SUBDIRS = spec - -docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION) - -static_docs = vp3-format.txt color.html \ - draft-ietf-avt-rtp-theora-00.xml \ - draft-ietf-avt-rtp-theora-00.txt - -doc_DATA = $(static_docs) doxygen-build.stamp - -EXTRA_DIST = $(static_docs) Doxyfile.in - -if HAVE_DOXYGEN -doxygen-build.stamp: Doxyfile $(top_srcdir)/include/theora/*.h - doxygen - touch doxygen-build.stamp -else -doxygen-build.stamp: - echo "*** Warning: Doxygen not found; documentation will not be built." - touch doxygen-build.stamp -endif - -dist_docdir = $(distdir)/libtheora - -dist-hook: - if test -d libtheora; then \ - mkdir $(dist_docdir); \ - echo -n "copying built documenation..."; \ - for dir in libtheora/*; do \ - b=`basename $$dir`; \ - if test $$b != ".svn"; then \ - if test -d $$dir; then \ - mkdir $(dist_docdir)/$$b; \ - for f in $$dir/*; do \ - cp -p $$f $(dist_docdir)/$$b; \ - done; \ - fi; \ - fi; \ - done; \ - echo "OK"; \ - fi - for item in $(EXTRA_DIST); do \ - if test -d $$item; then \ - echo -n "cleaning $$item dir for distribution..."; \ - rm -rf `find $(distdir)/$$item -name .svn`; \ - echo "OK"; \ - fi; \ - done - - - -install-data-local: doxygen-build.stamp - $(mkinstalldirs) $(DESTDIR)$(docdir) - if test -d libtheora; then \ - for dir in libtheora/*; do \ - if test -d $$dir; then \ - b=`basename $$dir`; \ - $(mkinstalldirs) $(DESTDIR)$(docdir)/$$b; \ - for f in $$dir/*; do \ - $(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/$$b; \ - done \ - fi \ - done \ - fi - -uninstall-local: - rm -rf $(DESTDIR)$(docdir) - -clean-local: - if test -d libtheora; then rm -rf libtheora; fi - if test -f doxygen-build.stamp; then rm -f doxygen-build.stamp; fi - diff --git a/Libraries/libtheora-1.1.1/doc/Makefile.in b/Libraries/libtheora-1.1.1/doc/Makefile.in deleted file mode 100644 index aae84ac3..00000000 --- a/Libraries/libtheora-1.1.1/doc/Makefile.in +++ /dev/null @@ -1,508 +0,0 @@ -# Makefile.in generated by automake 1.6.3 from Makefile.am. -# @configure_input@ - -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 -# Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -SHELL = @SHELL@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_HEADER = $(INSTALL_DATA) -transform = @program_transform_name@ -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_alias = @host_alias@ -host_triplet = @host@ - -EXEEXT = @EXEEXT@ -OBJEXT = @OBJEXT@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ -AMTAR = @AMTAR@ -AR = @AR@ -ARGZ_H = @ARGZ_H@ -AS = @AS@ -AWK = @AWK@ -BUILDABLE_EXAMPLES = @BUILDABLE_EXAMPLES@ -CAIRO_CFLAGS = @CAIRO_CFLAGS@ -CAIRO_LIBS = @CAIRO_LIBS@ -CC = @CC@ -CPP = @CPP@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -DEBUG = @DEBUG@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -F77 = @F77@ -GCJ = @GCJ@ -GCJFLAGS = @GCJFLAGS@ -GETOPT_OBJS = @GETOPT_OBJS@ -GREP = @GREP@ -HAVE_BIBTEX = @HAVE_BIBTEX@ -HAVE_DOXYGEN = @HAVE_DOXYGEN@ -HAVE_PDFLATEX = @HAVE_PDFLATEX@ -HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@ -HAVE_TRANSFIG = @HAVE_TRANSFIG@ -HAVE_VALGRIND = @HAVE_VALGRIND@ -INCLTDL = @INCLTDL@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LD = @LD@ -LIBADD_DL = @LIBADD_DL@ -LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ -LIBADD_DLOPEN = @LIBADD_DLOPEN@ -LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ -LIBLTDL = @LIBLTDL@ -LIBM = @LIBM@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTDLDEPS = @LTDLDEPS@ -LTDLINCL = @LTDLINCL@ -LTDLOPEN = @LTDLOPEN@ -LT_CONFIG_H = @LT_CONFIG_H@ -LT_DLLOADERS = @LT_DLLOADERS@ -LT_DLPREOPEN = @LT_DLPREOPEN@ -MAINT = @MAINT@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OGG_CFLAGS = @OGG_CFLAGS@ -OGG_LIBS = @OGG_LIBS@ -OSS_LIBS = @OSS_LIBS@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PKG_CONFIG = @PKG_CONFIG@ -PNG_CFLAGS = @PNG_CFLAGS@ -PNG_LIBS = @PNG_LIBS@ -PROFILE = @PROFILE@ -RANLIB = @RANLIB@ -RC = @RC@ -SDL_CFLAGS = @SDL_CFLAGS@ -SDL_CONFIG = @SDL_CONFIG@ -SDL_LIBS = @SDL_LIBS@ -SED = @SED@ -STRIP = @STRIP@ -THDEC_LIB_AGE = @THDEC_LIB_AGE@ -THDEC_LIB_CURRENT = @THDEC_LIB_CURRENT@ -THDEC_LIB_REVISION = @THDEC_LIB_REVISION@ -THENC_LIB_AGE = @THENC_LIB_AGE@ -THENC_LIB_CURRENT = @THENC_LIB_CURRENT@ -THENC_LIB_REVISION = @THENC_LIB_REVISION@ -THEORADEC_LDFLAGS = @THEORADEC_LDFLAGS@ -THEORAENC_LDFLAGS = @THEORAENC_LDFLAGS@ -THEORA_LDFLAGS = @THEORA_LDFLAGS@ -TH_LIB_AGE = @TH_LIB_AGE@ -TH_LIB_CURRENT = @TH_LIB_CURRENT@ -TH_LIB_REVISION = @TH_LIB_REVISION@ -VALGRIND_ENVIRONMENT = @VALGRIND_ENVIRONMENT@ -VERSION = @VERSION@ -VORBISENC_LIBS = @VORBISENC_LIBS@ -VORBISFILE_LIBS = @VORBISFILE_LIBS@ -VORBIS_CFLAGS = @VORBIS_CFLAGS@ -VORBIS_LIBS = @VORBIS_LIBS@ -am__include = @am__include@ -am__quote = @am__quote@ -install_sh = @install_sh@ -lt_ECHO = @lt_ECHO@ -ltdl_LIBOBJS = @ltdl_LIBOBJS@ -ltdl_LTLIBOBJS = @ltdl_LTLIBOBJS@ -sys_symbol_underscore = @sys_symbol_underscore@ - -SUBDIRS = spec - -docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION) - -static_docs = vp3-format.txt color.html \ - draft-ietf-avt-rtp-theora-00.xml \ - draft-ietf-avt-rtp-theora-00.txt - - -doc_DATA = $(static_docs) doxygen-build.stamp - -EXTRA_DIST = $(static_docs) Doxyfile.in - -dist_docdir = $(distdir)/libtheora -subdir = doc -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = Doxyfile -DIST_SOURCES = -DATA = $(doc_DATA) - - -RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \ - uninstall-info-recursive all-recursive install-data-recursive \ - install-exec-recursive installdirs-recursive install-recursive \ - uninstall-recursive check-recursive installcheck-recursive -DIST_COMMON = Doxyfile.in Makefile.am Makefile.in -DIST_SUBDIRS = $(SUBDIRS) -all: all-recursive - -.SUFFIXES: -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu doc/Makefile -Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) -Doxyfile: $(top_builddir)/config.status Doxyfile.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: -docDATA_INSTALL = $(INSTALL_DATA) -install-docDATA: $(doc_DATA) - @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(docdir) - @list='$(doc_DATA)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f="`echo $$p | sed -e 's|^.*/||'`"; \ - echo " $(docDATA_INSTALL) $$d$$p $(DESTDIR)$(docdir)/$$f"; \ - $(docDATA_INSTALL) $$d$$p $(DESTDIR)$(docdir)/$$f; \ - done - -uninstall-docDATA: - @$(NORMAL_UNINSTALL) - @list='$(doc_DATA)'; for p in $$list; do \ - f="`echo $$p | sed -e 's|^.*/||'`"; \ - echo " rm -f $(DESTDIR)$(docdir)/$$f"; \ - rm -f $(DESTDIR)$(docdir)/$$f; \ - done - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @set fnord $$MAKEFLAGS; amf=$$2; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: - @set fnord $$MAKEFLAGS; amf=$$2; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done - -ETAGS = etags -ETAGSFLAGS = - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$tags$$unique" \ - || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) - -top_distdir = .. -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) - -distdir: $(DISTFILES) - @list='$(DISTFILES)'; for file in $$list; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkinstalldirs) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d $(distdir)/$$subdir \ - || mkdir $(distdir)/$$subdir \ - || exit 1; \ - (cd $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$(top_distdir)" \ - distdir=../$(distdir)/$$subdir \ - distdir) \ - || exit 1; \ - fi; \ - done - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="${top_distdir}" distdir="$(distdir)" \ - dist-hook -check-am: all-am -check: check-recursive -all-am: Makefile $(DATA) -installdirs: installdirs-recursive -installdirs-am: - $(mkinstalldirs) $(DESTDIR)$(docdir) - -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic clean-libtool clean-local mostlyclean-am - -distclean: distclean-recursive - -distclean-am: clean-am distclean-generic distclean-libtool \ - distclean-tags - -dvi: dvi-recursive - -dvi-am: - -info: info-recursive - -info-am: - -install-data-am: install-data-local install-docDATA - -install-exec-am: - -install-info: install-info-recursive - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -uninstall-am: uninstall-docDATA uninstall-info-am uninstall-local - -uninstall-info: uninstall-info-recursive - -.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \ - clean-generic clean-libtool clean-local clean-recursive \ - distclean distclean-generic distclean-libtool \ - distclean-recursive distclean-tags distdir dvi dvi-am \ - dvi-recursive info info-am info-recursive install install-am \ - install-data install-data-am install-data-local \ - install-data-recursive install-docDATA install-exec \ - install-exec-am install-exec-recursive install-info \ - install-info-am install-info-recursive install-man \ - install-recursive install-strip installcheck installcheck-am \ - installdirs installdirs-am installdirs-recursive \ - maintainer-clean maintainer-clean-generic \ - maintainer-clean-recursive mostlyclean mostlyclean-generic \ - mostlyclean-libtool mostlyclean-recursive tags tags-recursive \ - uninstall uninstall-am uninstall-docDATA uninstall-info-am \ - uninstall-info-recursive uninstall-local uninstall-recursive - - -@HAVE_DOXYGEN_TRUE@doxygen-build.stamp: Doxyfile $(top_srcdir)/include/theora/*.h -@HAVE_DOXYGEN_TRUE@ doxygen -@HAVE_DOXYGEN_TRUE@ touch doxygen-build.stamp -@HAVE_DOXYGEN_FALSE@doxygen-build.stamp: -@HAVE_DOXYGEN_FALSE@ echo "*** Warning: Doxygen not found; documentation will not be built." -@HAVE_DOXYGEN_FALSE@ touch doxygen-build.stamp - -dist-hook: - if test -d libtheora; then \ - mkdir $(dist_docdir); \ - echo -n "copying built documenation..."; \ - for dir in libtheora/*; do \ - b=`basename $$dir`; \ - if test $$b != ".svn"; then \ - if test -d $$dir; then \ - mkdir $(dist_docdir)/$$b; \ - for f in $$dir/*; do \ - cp -p $$f $(dist_docdir)/$$b; \ - done; \ - fi; \ - fi; \ - done; \ - echo "OK"; \ - fi - for item in $(EXTRA_DIST); do \ - if test -d $$item; then \ - echo -n "cleaning $$item dir for distribution..."; \ - rm -rf `find $(distdir)/$$item -name .svn`; \ - echo "OK"; \ - fi; \ - done - -install-data-local: doxygen-build.stamp - $(mkinstalldirs) $(DESTDIR)$(docdir) - if test -d libtheora; then \ - for dir in libtheora/*; do \ - if test -d $$dir; then \ - b=`basename $$dir`; \ - $(mkinstalldirs) $(DESTDIR)$(docdir)/$$b; \ - for f in $$dir/*; do \ - $(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/$$b; \ - done \ - fi \ - done \ - fi - -uninstall-local: - rm -rf $(DESTDIR)$(docdir) - -clean-local: - if test -d libtheora; then rm -rf libtheora; fi - if test -f doxygen-build.stamp; then rm -f doxygen-build.stamp; fi -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/Libraries/libtheora-1.1.1/doc/color.html b/Libraries/libtheora-1.1.1/doc/color.html deleted file mode 100644 index 9bc2450f..00000000 --- a/Libraries/libtheora-1.1.1/doc/color.html +++ /dev/null @@ -1,602 +0,0 @@ - -xiph.org: Ogg Theora documentation - -

-Ogg Theora I specification: color space conventions -

-

Overview

-

-There are a large number of different color standards used in digital video. -Since Theora is a lossy codec, it restricts itself to only a few of them to - simplify playback. -Unlike the alternate method of describing all the parameters of the color - model, this allows a few dedicated routines for color conversion to be written - and heavily optimized in a decoder. -More flexible conversion functions should instead be specified in an encoder, - where additional computational complexity is more easily tolerated. -The color spaces were selected to give a fair representation of color standards - in use around the world today. -Most of the standards that do not exactly match one of these can be converted - to one fairly easily. -

-

-The Theora codec identification header contains an 8-bit value that describes - the color space. -This merely selects one of the color spaces available from an enumerated list. -Currently, only two color spaces are defined, with a third possibility that - indicates the color space is "unknown". -All of them are Y'CbCr color spaces with one luma channel - and two chroma channels. -Each channel contains 8-bit discrete values in the range 0-255, which represent - non-linear gamma pre-corrected signals. -

-

color space parameters

-

-The parameters which describe each color space are listed below. -These are the parameters needed to map colors from the encoded - Y'CbCr representation to the device-independent color - space CIE XYZ (1931). -

-
-
Y'CbCr to Y'PbPr
-
-

-This conversion takes 8-bit discrete values in the range 0-255 and maps them to - real values in the range [0,1] for Y and [-1/2,1/2] for Pb - and Pr. -Because some values may fall outside the offset and excursion defined for each - channel in the Y'CbCr space, the results may fall - outside these ranges in Y'PbPr space. -No clamping should be done at this stage. -

-

-Parameters: OffsetY,Cb,Cr, - ExcursionY,Cb,Cr, -

- - - - - - - - - - - - - - - - -
Y'out= -(Y'in-OffsetY)/ - ExcursionY -
Pb= -(Cb-OffsetCb)/ - ExcursionCb -
Pr= -(Cr-OffsetCr)/ - ExcursionCr -
-
-
Y'PbPr to R'G'B'
-
-

-This conversion takes the one luma and two chroma channel representation and - maps it to the non-linear R'G'B' space used to drive actual output devices. -Values should be clamped into the range [0,1] after this stage. -

-Parameters: Kb, Kr -

- - - - - - - - - - - - - - - - -
R'=Y' + 2(1-Kr)Pr
G'= -Y' + - 2((Kb-1)Kb/ - (1-Kb-Kr))Pb + - 2((Kr-1)Kr/ - (1-Kb-Kr))Pr -
B'=Y' + 2(1-Kb)Pb
-
-
R'G'B' to RGB (Output device gamma correction)
-
-

-This conversion takes the non-linear R'G'B' voltage levels and maps it to the - linear light levels produced by the actual output device. -Note that this conversion is only that of the output device, and its inverse is - not that used by the input device. -Because a dim viewing environment is assumed in most television standards, the - overall gamma between the input and output devices is usually around 1.1 to - 1.2, and not a strict 1.0. -

-

-For calibration with actual output devices, the model - - - - - - -
L=(E'+Δ)γ
-should be used, with Δ the free parameter and γ held - fixed to the value specified in this document. -The conversion function presented here is an idealized version with Δ=0. -

-

-Parameters: γ -

- - - - - - - - - - - - - - - - -
R=R'γ
G=G'γ
B=B'γ
-
-
RGB to R'G'B' (Input device gamma correction)
-
-

-This conversion takes linear light levels and maps them to the non-linear - voltage levels used to drive the actual output device. -This information is merely informative. -It is not required for building a decoder or for converting between the various - formats and the actual output capabilities of a particular device. -

-

-A linear segment is introduced on the low end to reduce noise in dark areas of - the image. -The rest of the scale is adjusted so that the power segment of the curve - intersects the linear segment with the proper slope, and so that it still maps - 0 to 0 and 1 to 1. -

-

-Parameters: β, α, δ, - ε -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
R'= -(1+ε)Rβ-ε -for δ ≤ R ≤ 1
R'=αRfor 0 ≤ R < δ
G'= -(1+ε)Gβ-ε -for δ ≤ G ≤ 1
G'=αGfor 0 ≤ G < δ
B'= -(1+ε)Bβ-ε -for δ ≤ B ≤ 1
B'=αBfor 0 ≤ B < δ
-
-
RGB to CIE XYZ (1931)
-
-

-This conversion maps a device-dependent linear RGB space to the - device-independent linear CIE XYZ space. -The parameters are the CIE chromaticity coordinates of the three primaries, - red, green, and blue, as well as the chromaticity coordinates of the white - point of the device. -This is how hardware manufacturers and standards typically describe a - particular RGB space. -The math required to convert these parameters into a useful transformation - matrix is reproduced below. -

-

-Parameters: xr,g,b,w, yr,g,b,w -

- - - - - - - - - - - - - - - - -
F= - - -) -
( - - - - - - - - - - - - - - - -
xr/yrxg/ygxb/yb
111
-(1-xr-yr)/yr - -(1-xg-yg)/yg - -(1-xb-yb)/yb -
- - - -
( - - - -
sr
sg
sb
)
= - - - -
F-1( - - - -
xw/yw
1
-(1-xw-yw)/yw -
)
- - - -
( - - - -
X
Y
Z
)
= - - - -
F( - - - -
srR
sgG
sbB
)
-
-
-

available color spaces

-

-These are the color spaces currently defined for use by Ogg Theora video. -Each one has a short name, with which it is referred to in this document, and - a more detailed specification of the standards from which its parameters are - derived. -Some standards do not specify all the parameters necessary. -For these unspecified parameters, this document serves as the definition of - what should be used when encoding or decoding Ogg Theora video. -

Rec 470M (Rec. ITU-R BT.470-6 System M/NTSC with Rec. ITU-R BT.601-5)

-

-This color space is used by broadcast television and DVDs in much of the - Americas, Japan, Korea, and the Union of Myanmar - [Rec470]. -This color space may also be used for System M/PAL (Brazil), with an - appropriate conversion supplied by the encoder to compensate for the - different gamma value. -See the Rec 470BG section for an appropriate gamma value to assume for M/PAL - input. -

-

-In the US, studio monitors are adjusted to a D65 white point - (xw,yw=0.313,0.329). -In Japan, studio monitors are adjusted to a D white of 9300K - (xw,yw=0.285,0.293). -

-

-Rec 470 does not specify a digital encoding of the color signals. -For Ogg Theora, Rec. ITU-R BT.601-5 is used, starting from the R'G'B' signals - specified by Rec 470 [Rec601]. -

-

-

-Rec 470 does not specify an input gamma function. -For Ogg Theora, the Rec 709 input function is used. -This is the same as that specified by SMPTE 170M, which claims to reflect - modern practice in the creation of NTSC signals (c. 1994) - [SMPTE170M]. -

-

parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OffsetY,Cb,Cr=(16,128,128)
-ExcursionY,Cb,Cr -=(219,224,224)
Kb=0.114
Kr=0.299
γ=2.2
β=0.45
α=4.5
δ=0.018
ε=0.099
xr,yr=0.67,0.33
xg,yg=0.21,0.71
xb,yb=0.14,0.08
-(Illuminant C) xw,yw -=0.310,0.316
-

-Rec 470BG (Rec. ITU-R BT.470-6 Systems B and G with Rec. ITU-R BT.601-5) -

-

-This color space is used by the PAL and SECAM systems in much of the rest of - the world [Rec470]. -This can be used directly by systems (B, B1, D, D1, G, H, I, K, N)/PAL and (B, - D, G, H, K, K1, L)/SECAM. -

-

-Note that the Rec 470BG chromaticity values are different from those specified - in Rec 470M. -When PAL and SECAM systems were first designed, they were based upon the same - primaries as NTSC. -However, as methods of making color picture tubes have changed, the primaries - used have changed as well. -The US recommends using correction circuitry to approximate the existing, - standard NTSC primaries. -Current PAL and SECAM systems have standardized on primaries in accord with - more recent technology. -

-

-Rec 470 provisionally permits the use of the NTSC chromaticity values (given - above) with legacy PAL and SECAM equipment. -In Ogg Theora, material must be decoded assuming the new PAL and SECAM - primaries. -Material intended for display on old legacy devices should be converted by the - decoder. -

-

-The official Rec 470BG specifies a gamma value of γ=2.8. -However, in practice this value is unrealistically high - [Poy97]. -Rec 470BG states that the overall system gamma should be approximately - γ/β=1.2. -However, most cameras pre-correct with a gamma value of β=0.45, - which suggests an output device gamma of approximately γ=2.67. -This is the value recommended for use with PAL systems in Ogg Theora. -

-

-Rec 470 does not specify a digital encoding of the color signals. -For Ogg Theora, Rec. ITU-R BT.601-5 is used, starting from the R'G'B' signals - specified by Rec 470 [Rec601]. -

-

-Rec 470 does not specify an input gamma function. -For Ogg Theora, the Rec 709 input function is used. -

-

parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OffsetY,Cb,Cr=(16,128,128)
-ExcursionY,Cb,Cr -=(219,224,224)
Kb=0.114
Kr=0.299
γ=2.67
β=0.45
α=4.5
δ=0.018
ε=0.099
xr,yr=0.64,0.33
xg,yg=0.29,0.60
xb,yb=0.15,0.06
-(D65) xw,yw -=0.313,0.329
-

references

-
-
[Poy97]
-
-Poynton, Charles, Frequently-Asked Questions about Gamma. - http://www.poynton.com/GammaFAQ/html, - Feb. 1997. -
-
[Rec470]
-
-Recommendation ITU-R BT.470-6, Conventional Television Systems - (1970, revised 1998). International Telecommunications Union, 1211 Geneva 20, - Switzerland. -
-
[Rec601]
-
-Recommendation ITU-R BT.601-5, Studio Encoding Parameters of - Digital Television for Standard 4:3 and Wide-Screen 16:9 Aspect Ratios - (1982, revised 1995). International Telecommunications Union, 1211 Geneva 20, - Switzerland. -
-
[Rec709]
-
-Recommendation ITU-R BT.709-5, Parameter values for the - HDTV standards for production and international programme exchange - (1990, revised 2002). International Telecommunications Union, 1211 Geneva 20, - Switzerland. -
-
[SMPTE170M]
-
-Society of Motion Picture and Television Engineers, Television — - Composite Analog Video Signal — NTSC for Studio Applications. - SMPTE-170M, 1994 -
-
[SMPTE240M]
-
-Society of Motion Picture and Television Engineers, Television — - Signal Parameters — 1125-Line High-Definition Production. - SMPTE-240M, 1999. -
-
- - diff --git a/Libraries/libtheora-1.1.1/doc/draft-ietf-avt-rtp-theora-00.txt b/Libraries/libtheora-1.1.1/doc/draft-ietf-avt-rtp-theora-00.txt deleted file mode 100644 index f759aef6..00000000 --- a/Libraries/libtheora-1.1.1/doc/draft-ietf-avt-rtp-theora-00.txt +++ /dev/null @@ -1,1400 +0,0 @@ - - - -AVT Working Group L. Barbato -Internet-Draft Xiph.Org -Expires: January 22, 2007 July 21, 2006 - - - draft-ietf-avt-rtp-theora-00 - RTP Payload Format for Theora Encoded Video - -Status of this Memo - - By submitting this Internet-Draft, each author represents that any - applicable patent or other IPR claims of which he or she is aware - have been or will be disclosed, and any of which he or she becomes - aware will be disclosed, in accordance with Section 6 of BCP 79. - - Internet-Drafts are working documents of the Internet Engineering - Task Force (IETF), its areas, and its working groups. Note that - other groups may also distribute working documents as Internet- - Drafts. - - Internet-Drafts are draft documents valid for a maximum of six months - and may be updated, replaced, or obsoleted by other documents at any - time. It is inappropriate to use Internet-Drafts as reference - material or to cite them other than as "work in progress." - - The list of current Internet-Drafts can be accessed at - http://www.ietf.org/ietf/1id-abstracts.txt. - - The list of Internet-Draft Shadow Directories can be accessed at - http://www.ietf.org/shadow.html. - - This Internet-Draft will expire on January 22, 2007. - -Copyright Notice - - Copyright (C) The Internet Society (2006). - -Abstract - - This document describes a RTP payload format for transporting Theora - encoded video. It details the RTP encapsulation mechanism for raw - Theora data and configuration headers necessary to configure the - decoder. - - Also included within the document are the necessary details for the - use of Theora with MIME and Session Description Protocol (SDP). - -Editors Note - - - -Barbato Expires January 22, 2007 [Page 1] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - - All references to RFC XXXX are to be replaced by references to the - RFC number of this memo, when published. - - -Table of Contents - - 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3 - 1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 4 - 2. Payload Format . . . . . . . . . . . . . . . . . . . . . . . . 4 - 2.1. RTP Header . . . . . . . . . . . . . . . . . . . . . . . . 4 - 2.2. Payload Header . . . . . . . . . . . . . . . . . . . . . . 5 - 2.3. Payload Data . . . . . . . . . . . . . . . . . . . . . . . 6 - 2.4. Example RTP Packet . . . . . . . . . . . . . . . . . . . . 7 - 3. Configuration Headers . . . . . . . . . . . . . . . . . . . . 8 - 3.1. In-band Header Transmission . . . . . . . . . . . . . . . 9 - 3.1.1. Packed Configuration . . . . . . . . . . . . . . . . . 9 - 3.2. Out of Band Transmission . . . . . . . . . . . . . . . . . 10 - 3.2.1. Packed Headers . . . . . . . . . . . . . . . . . . . . 11 - 3.3. Loss of Configuration Headers . . . . . . . . . . . . . . 13 - 4. Comment Headers . . . . . . . . . . . . . . . . . . . . . . . 13 - 5. Frame Packetizing . . . . . . . . . . . . . . . . . . . . . . 14 - 5.1. Example Fragmented Theora Packet . . . . . . . . . . . . . 15 - 5.2. Packet Loss . . . . . . . . . . . . . . . . . . . . . . . 17 - 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 18 - 6.1. Mapping MIME Parameters into SDP . . . . . . . . . . . . . 19 - 6.1.1. SDP Example . . . . . . . . . . . . . . . . . . . . . 20 - 6.2. Usage with the SDP Offer/Answer Model . . . . . . . . . . 20 - 7. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 - 7.1. Stream Video . . . . . . . . . . . . . . . . . . . . . . . 21 - 8. Security Considerations . . . . . . . . . . . . . . . . . . . 21 - 9. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 22 - 10. References . . . . . . . . . . . . . . . . . . . . . . . . . . 22 - 10.1. Normative References . . . . . . . . . . . . . . . . . . . 22 - 10.2. Informative References . . . . . . . . . . . . . . . . . . 23 - Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 24 - Intellectual Property and Copyright Statements . . . . . . . . . . 25 - - - - - - - - - - - - - - - -Barbato Expires January 22, 2007 [Page 2] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - -1. Introduction - - Theora is a general purpose, lossy video codec. It is based on the - VP3 video codec produced by On2 Technologies and has been donated to - the Xiph.org Foundation. - - Theora I is a block-based lossy transform codec that utilizes an 8 x - 8 Type-II Discrete Cosine Transform and block-based motion - compensation. This places it in the same class of codecs as MPEG-1, - MPEG-2, MPEG-4, and H.263. The details of how individual blocks are - organized and how DCT coefficients are stored in the bitstream differ - substantially from these codecs, however. Theora supports only intra - frames (I frames in MPEG) and inter frames (P frames in MPEG). - - Theora provides none of its own framing, synchronization, or - protection against transmission errors. Instead, the codec expects - to receive a discrete sequence of data packets. Theora is a free- - form variable bit rate (VBR) codec, and these packets have no minimum - size, maximum size, or fixed/expected size. Theora packets are thus - intended to be used with a transport mechanism that provides free- - form framing, synchronization, positioning, and error correction in - accordance with these design assumptions, such as Ogg [1] or RTP/AVP - [3]. - - Theora I currently supports progressive video data of arbitrary - dimensions at a constant frame rate in one of several Y'CbCr color - spaces. Three different chroma subsampling formats are supported: - 4:2:0, 4:2:2, and 4:4:4. The Theora I format does not support - interlaced material, variable frame rates, bit-depths larger than 8 - bits per component, nor alternate color spaces such as RGB or - arbitrary multi-channel spaces. Black and white content can be - efficiently encoded, however, because the uniform chroma planes - compress well. For performance reason, arbitrary frame sizes will be - encoded rounding both dimensions to the upper multiple of 16. The - original width and height will be encoded in the header and the - decoder will use this information to clip the decoded frame to the - right dimensions. - - Theora is similar to the Vorbis audio [10] in that the decoder reads - the probability model for the entropy coder and all quantization - parameters from special "header" packets at the start of the - compressed data. It is therefore impossible to decode any video data - without having previously fetched the codec info and codec setup - headers, although Theora can begin to decode at an arbitrary intra- - frame packet so long as the codec has been initialized with the - associated headers. - - - - - -Barbato Expires January 22, 2007 [Page 3] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - -1.1. Terminology - - The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", - "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this - document are to be interpreted as described in RFC 2119 [2]. - - -2. Payload Format - - For RTP based transportation of Theora encoded video the standard RTP - header is followed by a 4 octets payload header, then the payload - data. The payload headers are used to associate the Theora data with - its associated decoding codebooks as well as indicating if the - following packet contains fragmented Theora data and/or the number of - whole Theora data frames. The payload data contains the raw Theora - bitstream information. - - For RTP based transport of Theora encoded video the standard RTP - header is followed by a 4 octets payload header, then the payload - data. - -2.1. RTP Header - - The format of the RTP header is specified in [3] and shown in Figure - 1. This payload format uses the fields of the header in a manner - consistent with that specification. - - 0 1 2 3 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - |V=2|P|X| CC |M| PT | sequence number | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | timestamp | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | synchronization source (SSRC) identifier | - +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ - | contributing source (CSRC) identifiers | - | ... | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - - Figure 1: RTP Header - - The RTP header begins with an octet of fields (V, P, X, and CC) to - support specialized RTP uses (see [3] and [4] for details). For - Theora RTP, the following values are used. - - Version (V): 2 bits - - - - -Barbato Expires January 22, 2007 [Page 4] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - - This field identifies the version of RTP. The version used by this - specification is two (2). - - Padding (P): 1 bit - - Padding MAY be used with this payload format according to section 5.1 - of [3]. - - Extension (X): 1 bit - - The Extension bit is used in accordance with [3]. - - CSRC count (CC): 4 bits - - The CSRC count is used in accordance with [3]. - - Marker (M): 1 bit - - The Marker bit is used in accordance with [3]. - - Payload Type (PT): 7 bits - - An RTP profile for a class of applications is expected to assign a - payload type for this format, or a dynamically allocated payload type - SHOULD be chosen which designates the payload as Theora. - - Sequence number: 16 bits - - The sequence number increments by one for each RTP data packet sent, - and may be used by the receiver to detect packet loss and to restore - packet sequence. This field is detailed further in [3]. - - Timestamp: 32 bits - - A timestamp representing the presentation time of the first sample of - the first Theora packet in the RTP packet. The clock frequency MUST - be set to 90kHz. - - SSRC/CSRC identifiers: - - These two fields, 32 bits each with one SSRC field and a maximum of - 16 CSRC fields, are as defined in [3]. - -2.2. Payload Header - - The 4 octets following the RTP Header section represent the Payload - Header. This header is split into a number of bitfields detailing - the format of the following Payload Datagrams. - - - -Barbato Expires January 22, 2007 [Page 5] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - - 0 1 2 3 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Configuration Ident | F |TDT|# pkts.| - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - - +-+-+-+-+-+-+-+-+ - - Figure 2: Payload Header - - Configuration Ident: 24 bits - - This 24 bit field is used to associate the Theora data to a decoding - Packed Configuration. - - Fragment type (F): 2 bit - - This field is set according to the following list - - 0 = Not Fragmented - 1 = Start Fragment - 2 = Continuation Fragment - 3 = End Fragment - - This field must be zero if the number of packets field is non-zero. - - Theora Data Type (TDT): 2 bits - - This field sets the packet payload type for the Theora data. There - are currently three Theora payload types currently used and one - reserved for future use. - - 0 = Raw Theora payload - 1 = Theora Packed Configuration payload - 2 = Legacy Theora Comment payload - 3 = Reserved - - The packets with a TDT of value 3 MUST be ignored - - The last 4 bits represent the number of complete packets in this - payload. This provides a maximum number of 15 Theora packets in the - payload. If the packet contains fragmented data the number of - packets MUST be set to 0. - -2.3. Payload Data - - Each Theora payload section starts with a two octets length header - that is used to represent the size of the following data payload, - - - -Barbato Expires January 22, 2007 [Page 6] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - - followed by the raw Theora packet data. - - 0 1 2 3 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Payload Length | Theora Data .. - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - - Figure 3: Payload Data - - The Theora codec uses relatively unstructured raw packets containing - binary integer fields of arbitrary width that often do not fall on an - octet boundary. When a Theora encoder produces packets, unused space - in the last byte of a packet is always zeroed during the encoding - process. Thus, should this unused space be read, it will return - binary zeros. - - For payloads which consist of multiple Theora packets the payload - data consists of the payload length field followed by the first - Theora packet's data, then the payload length followed by the second - Theora packet, and so on for each of the Theora packets in the - payload. - -2.4. Example RTP Packet - - Here is an example RTP packet containing two Theora packets. - - RTP Packet Header: - - 0 1 2 3 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | 2 |0|0| 0 |0| PT | sequence number | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | timestamp | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | synchronisation source (SSRC) identifier | - +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ - | contributing source (CSRC) identifiers | - | ... | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - - Figure 4: Example RTP Packet - - Payload Data: - - - - - - -Barbato Expires January 22, 2007 [Page 7] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - - 0 1 2 3 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Configuration Ident | 0 | 0 | 2 pks | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Payload Length | .. - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - .. Theora data .. - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - .. data | Payload Length | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - .. Theora data | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - - Figure 5: Example Theora Payload Packet - - The payload portion of the packet begins with the 24 bit - Configuration ident field followed by 8 bits describing the payload. - The Fragment type field is set to 0, indicating that this packet - contains whole Theora frame data. The Data type field is set to 0 - (theora raw data). The number of whole Theora data packets is set to - 2. - - Each of the payload blocks starts with the two octets length field - followed by the variable length Theora packet data. - - -3. Configuration Headers - - To decode a Theora stream three configuration header packets are - needed. The first (Identification Header) indicates frame - dimensions, quality, blocks used and Theora encoder version. The - second (Comment Header) contains stream metadata and the third (Setup - Header) contains details of the dequantization and Huffman tables. - - Since this information must be transmitted reliably, and as the RTP - stream may change certain configuration data mid-session, there are - different methods for delivering this configuration data to a client, - both in-band and out-of-band, which are detailed below. SDP delivery - is used to set up an initial state for the client application. The - changes may be due to different dequantization and Huffman tables as - well as different bitrates of the stream. - - The delivery vectors in use are specified by an SDP attribute that - indicates the method and the optional URI where the Theora Packed - Configuration (Section 3.1.1) Packets could be fetched. Different - delivery methods MAY be advertised for the same session. The in-band - codebook delivery SHOULD be considered as baseline, out-of-band - - - -Barbato Expires January 22, 2007 [Page 8] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - - delivery methods that don't use RTP will not be described in this - document. For non chained streams, the RECOMMENDED Configuration - delivery method is inline the Packed Configuration (Section 3.1.1) in - the SDP as explained in the IANA considerations (Section 6.1) - - The 24 bit Ident field is used to map which Configuration will be - used to decode a packet. When the Ident field changes, it indicates - that a change in the stream has taken place. The client application - MUST have in advance the correct configuration and if the client - detects a change in the Ident value and does not have this - information it MUST NOT decode the raw data associated until it has - fetched the correct Configuration. - -3.1. In-band Header Transmission - - The Packed Configuration (Section 3.1.1) Payload is sent in-band with - the packet type bits set to match the payload type. Clients MUST be - capable of dealing with periodic re-transmission of the configuration - headers. - -3.1.1. Packed Configuration - - A Theora Packed Configuration is identified by a payload type field - of 1. Of the three headers, defined in the Theora I specification - [16], the identification and the setup will be packed together, while - the comment header will be completely suppressed. It is up to the - client to provide a minimal size comment header to the decoder if - required by the implementation. - - - - - - - - - - - - - - - - - - - - - - - -Barbato Expires January 22, 2007 [Page 9] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - - 0 1 2 3 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - |V=2|P|X| CC |M| PT | xxxx | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | xxxxx | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | synchronization source (SSRC) identifier | - +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ - | contributing source (CSRC) identifiers | - | ... | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Configuration Ident | 0 | 1 | 1| - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | length | Identification .. - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - .. Identification .. - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - .. Identification .. - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - .. Identification | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - .. | Setup .. - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - .. Setup .. - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - .. Setup | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - - Figure 6: Packed Configuration Figure - - The Ident field is set with the value that will be used by the Raw - Payload Packets to address this Configuration. The Fragment type is - set to 0 since the packet bears full Packed configuration, the number - of packet is set to 1. In practice, Packed Headers usually need to - be fragmented to fit the path MTU. - -3.2. Out of Band Transmission - - This section, as stated above, does not cover all the possible out- - of-band delivery methods since they rely on different protocols and - are linked to specific applications. The following packet definition - SHOULD be used in out-of-band delivery and MUST be used when - Configuration is inlined in the SDP. - - - - - - -Barbato Expires January 22, 2007 [Page 10] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - -3.2.1. Packed Headers - - As mentioned above, the recommended delivery vector for Theora - configuration data is via a retrieval method that can be performed - using a reliable transport protocol. As the RTP headers are not - required for this method of delivery the structure of the - configuration data is slightly different. The packed header starts - with a 32 bit count field which details the number of packed headers - that are contained in the bundle. Next is the Packed header payload - for each setup id. - - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Number of packed headers | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Packed header | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Packed header | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - - Figure 7: Packed Headers Overview - - Since the Configuration Ident and the Identification Header are fixed - length there is only a 16bit Length tag to define the length of the - packed headers. - - 0 1 2 3 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Configuration Ident | .. - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - .. Length | Identification Header .. - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - .. Identification Header | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Setup Header .. - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - .. Setup Header | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - - Figure 8: Packed Headers Detail - - The key difference from the in-band format is that there is no need - for the payload header octet. - - - - - - -Barbato Expires January 22, 2007 [Page 11] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - -3.2.1.1. Packed Headers IANA Considerations - - The following IANA considerations MUST only be applied to the packed - headers. - - MIME media type name: audio - - MIME subtype: theora-config - - Required Parameters: - - None - - Optional Parameters: - - None - - Encoding considerations: - - This media type contains binary data. - - Security Considerations: - - See Section 6 of RFC XXXX. - - Interoperability considerations: - - None - - Published specification: - - RFC XXXX [RFC Editor: please replace by the RFC number of this - memo, when published] - - Applications which use this media type: - - Theora encoded video, configuration data. - - Additional information: - - None - - Person & email address to contact for further information: - - Luca Barbato: - IETF Audio/Video Transport Working Group - - - - - -Barbato Expires January 22, 2007 [Page 12] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - - Intended usage: COMMON - - Restriction on usage: - - This media type does not depend on the transport. - - Author: - - Luca Barbato - - Change controller: - - IETF AVT Working Group - -3.3. Loss of Configuration Headers - - Unlike the loss of raw Theora payload data, the loss of a - configuration header can lead to a situation where it will not be - possible to successfully decode the stream. - - A loss of a Configuration Packet causes the stream decoder to halt - and SHOULD be reported to the client as well as a loss report sent - via RTCP. - - -4. Comment Headers - - When the payload type is set to 2, the packet contains comment - metadata such as artist name, track title and so on. These metadata - messages are not intended to be fully descriptive but to offer basic - title information. Clients MAY choose to completely ignore them. - The details on the comments format can be found in the Theora - documentation [16]. - - - - - - - - - - - - - - - - - - -Barbato Expires January 22, 2007 [Page 13] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - - 0 1 2 3 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - |V=2|P|X| CC |M| PT | xxxx | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | xxxxx | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | synchronization source (SSRC) identifier | - +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ - | contributing source (CSRC) identifiers | - | ... | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Configuration Ident | 0 | 2 | 1| - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | length | Comment .. - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - .. Comment .. - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - .. Comment | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - - Figure 9: Comment Packet - - The 2 byte length field is necessary since this Theora packet could - be fragmented. - - -5. Frame Packetizing - - Each RTP packet contains either one complete Theora packet, one - Theora packet fragment, or an integer number of complete Theora - packets (up to a maximum of 15 packets, since the number of packets - is defined by a 4 bit value). - - Any Theora data packet that is less than path MTU SHOULD be bundled - in the RTP packet with as many Theora packets as will fit, up to a - maximum of 15. Path MTU is detailed in [7] and [8]. - - A fragmented packet has a zero in the last four bits of the payload - header. The RTP packet containing the first fragment will set the - Fragment type to 1. Each RTP packet after the first will set the - Fragment type to 2 in the payload header. The RTP packet containing - the last fragment of the Theora packet will have the Fragment type - set to 3. If the fragmented Theora packet spans only two RTP - packets, the first will set the Fragment type field to 1 and the - second will set it to 2. To maintain the correct sequence for - fragmented packet reception the timestamp field of fragmented packets - - - -Barbato Expires January 22, 2007 [Page 14] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - - MUST be the same as the first packet sent, with the sequence number - incremented as normal for the subsequent RTP packets. - -5.1. Example Fragmented Theora Packet - - Here is an example fragmented Theora packet split over three RTP - packets. Each packet contains the standard RTP headers as well as - the 4 octets Theora headers. - - Packet 1: - - 0 1 2 3 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - |V=2|P|X| CC |M| PT | 1000 | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | xxxxx | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | synchronization source (SSRC) identifier | - +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ - | contributing source (CSRC) identifiers | - | ... | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Configuration Ident | 1 | 0 | 0| - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Payload Length | Theora data .. - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - .. Theora data .. - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - - Figure 10: Example Fragmented Packet (Packet 1) - - In this packet the initial sequence number is 1000 and the timestamp - is xxxxx. The Fragment type field is set to one, indicating it is - the start packet of a serie of fragments. The number of packets - field is set to 0, and as the payload is raw Theora data the Theora - payload type field is set to 0. - - - - - - - - - - - - - -Barbato Expires January 22, 2007 [Page 15] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - - Packet 2: - - 0 1 2 3 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - |V=2|P|X| CC |M| PT | 1001 | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | xxxxx | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | synchronization source (SSRC) identifier | - +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ - | contributing source (CSRC) identifiers | - | ... | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Configuration Ident | 2 | 0 | 0| - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Payload Length | .. - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - .. Theora data .. - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - - Figure 11: Example Fragmented Packet (Packet 2) - - The Fragment type field is set to 2 and the number of packets field - is set to 0. For large Theora fragments there can be several of - these type of payload packets. The maximum RTP packet size SHOULD be - no greater than the path MTU, including all RTP and payload headers. - The sequence number has been incremented by one but the timestamp - field remains the same as the initial packet. - - - - - - - - - - - - - - - - - - - - - -Barbato Expires January 22, 2007 [Page 16] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - - Packet 3: - - 0 1 2 3 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - |V=2|P|X| CC |M| PT | 1002 | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | xxxxx | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | synchronization source (SSRC) identifier | - +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ - | contributing source (CSRC) identifiers | - | ... | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Configuration Ident | 3 | 0 | 0| - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Payload Length | .. - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - .. Theora data .. - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - - Figure 12: Example Fragmented Packet (Packet 3) - - This is the last Theora fragment packet. The Fragment type filed is - set to 3 and the packet count remains set to 0. As in the previous - packets the timestamp remains set to the first packet in the sequence - and the sequence number has been incremented. - -5.2. Packet Loss - - As there is no error correction within the Theora stream, packet loss - will result in a loss of signal. Packet loss is more of an issue for - fragmented Theora packets as the client will have to cope with the - handling of the Fragment type field. If we use the fragmented Theora - packet example above and the first packet is lost the client MUST - detect that the next packet has the packet count field set to 0 and - the Fragment type is set to 2 and MUST drop it. The next packet, - which is the final fragmented packet, MUST be dropped in the same - manner. Feedback reports on lost and dropped packets MUST be sent - back via RTCP.[note: reordering] - - If a particular multicast session has a large number of participants - care must be taken to prevent an RTCP feedback implosion, [9], in the - event of packet loss from a large number of participants. - - Loss of any of the Configuration fragment will result in the loss of - the full Configuration packet as detailed in the Loss of - - - -Barbato Expires January 22, 2007 [Page 17] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - - Configuration Headers (Section 3.3) section. - - -6. IANA Considerations - - MIME media type name: video - - MIME subtype: theora - - Required Parameters: - - sampling: Determines the chroma subsampling format. - - width: Determines the number of pixels per line. This is an - integer between 1 and 1048561 and MUST be in multiples of 16. - - height: Determines the number of lines per frame encoded. This is - an integer between 1 and 1048561 and MUST be in multiples of - 16. - - delivery-method: indicates the delivery methods in use, the - possible values are: inline, in_band, out_band/specific_name - Where "specific_name" is the name of the out of band delivery - method. - - configuration: the base16 [11] (hexadecimal) representation of the - Packed Headers (Section 3.2.1). - - Optional Parameters: - - configuration-uri: the URI of the configuration headers in case of - out of band transmission. In the form of - "protocol://path/to/resource/". Depending on the specific - method the single ident packets could be retrived by their - number or aggregated in a single stream, aggregates MAY be - compressed using gzip [12] or bzip2 [14] and an sha1 [13] - checksum MAY be provided in the form of - "protocol://path/to/resource/aggregated.bz2!sha1hash" - - Encoding considerations: - - This media type is framed and contains binary data. - - Security Considerations: - - See Section 6 of RFC XXXX. - - - - - -Barbato Expires January 22, 2007 [Page 18] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - - Interoperability considerations: - - None - - Published specification: - - RFC XXXX [RFC Editor: please replace by the RFC number of this - memo, when published] - - Ogg Theora I specification: Codec setup and packet decode. - Available from the Xiph website, http://www.xiph.org - - Applications which use this media type: - - Audio streaming and conferencing tools - - Additional information: - - None - - Person & email address to contact for further information: - - Luca Barbato: - IETF Audio/Video Transport Working Group - - Intended usage: - - COMMON - - Restriction on usage: - - This media type depends on RTP framing, and hence is only defined - for transfer via RTP [3] - - Author: - - Luca Barbato - - Change controller: - - IETF AVT Working Group - - -6.1. Mapping MIME Parameters into SDP - - The information carried in the MIME media type specification has a - specific mapping to fields in the Session Description Protocol (SDP) - [6], which is commonly used to describe RTP sessions. When SDP is - - - -Barbato Expires January 22, 2007 [Page 19] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - - used to specify sessions the mapping are as follows: - - o The MIME type ("video") goes in SDP "m=" as the media name. - - o The MIME subtype ("theora") goes in SDP "a=rtpmap" as the encoding - name. - - o The clock rate in the "a=rtpmap" line MUST be 90000 - - o The mandated parameters "delivery-method" and "configuration" MUST - be included in the SDP "a=fmpt" attribute. - - o The optional parameter "configuration-uri", when present, MUST be - included in the SDP "a=fmpt" attribute and MUST follow the - delivery-method that applies. - - If the stream uses multiple decoder setup configurations and all of - them are known in advance, the Configuration Packet for each file - SHOULD be packaged together and passed to the client using the - configuration attribute. - - The URI specified in the configuration-uri attribute MUST point to a - location where all of the Configuration Packets needed for the life - of the session reside. - -6.1.1. SDP Example - - The following example shows a basic SDP for a single stream. The - first configuration packet is inlined in the sdp, other - configurations could be fetched at any time from the first provided - uri using or all the known configuration could be downloaded using - the second uri. The inline base16 [11] configuration string is - omitted because of the lenght. - c=IN IP4 192.0.0.1 - m=video RTP/AVP 98 - a=rtpmap:98 theora/90000 - a=fmtp:98 sampling=YCbCr-4:2:2; width=1280; height=720; delivery- - method=inline; configuration=base16string1; delivery- - method=out_band/rtsp; delivery-method=out_band/rtsp; - configuration-uri=rtsp://path/to/resource/; delivery- - method=out_band/http; configuration-uri=http://another/path/to/ - resource/aggregate.bz2!sha1hash; - -6.2. Usage with the SDP Offer/Answer Model - - The offer, as described in An Offer/Answer Model Session Description - Protocol [5], may contain a large number of delivery methods per - single fmtp attribute, the answerer MUST remove every delivery-method - - - -Barbato Expires January 22, 2007 [Page 20] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - - and configuration-uri not supported. All the parameters MUST not be - altered on answer otherwise. - - -7. Examples - - The following examples are common usage patterns that MAY be applied - in such situations, the main scope of this section is to explain - better usage of the transmission vectors. - -7.1. Stream Video - - This is one of the most common situation: one single server streaming - content in multicast, the clients may start a session at random time. - The content itself could be a mix of live stream, as the wj's voice - or studio scenes, and stored streams, as the music she plays. - - In this situation we don't know in advance how many codebooks we will - use. The clients can join anytime and users expect to start the - fruition of the content in a short time. - - On join the client will receive the current Configuration necessary - to decode the current streams inlined in the SDP so that the decoding - will start immediately after. - - When the streamed content changes the new Configuration is sent in- - band before the actual stream, and the Configuration that has to be - sent inline in the SDP updated. Since the inline method is - unreliable, an out of band fallback is provided. - - The client could choose to fetch the Configuration from the alternate - source as soon it discovers a Configuration packet got lost inline or - use selective retransmission [17], if the server supports the - feature. - - A serverside optimization would be to keep an hash list of the - Configurations per session to avoid packing all of them and send the - same Configuration with different Ident tags - - A clientside optimization would be to keep a tag list of the - Configurations per session and don't process configuration packets - already known. - - -8. Security Considerations - - RTP packets using this payload format are subject to the security - considerations discussed in the RTP specification [3]. This implies - - - -Barbato Expires January 22, 2007 [Page 21] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - - that the confidentiality of the media stream is achieved by using - encryption. Because the data compression used with this payload - format is applied end-to-end, encryption may be performed on the - compressed data. Where the size of a data block is set care MUST be - taken to prevent buffer overflows in the client applications. - - -9. Acknowledgments - - This document is a continuation of draft-kerr-avt-theora-rtp-00.txt - - Thanks to the AVT, Ogg Theora Communities / Xiph.org, Fluendo, Ralph - Giles, Mike Smith, Phil Kerr, Timothy Terriberry, Stefan Ehmann, - Alessandro Salvatori, Politecnico di Torino (LS)^3/IMG Group in - particular Federico Ridolfo, Francesco Varano, Giampaolo Mancini, - Juan Carlos De Martin. - - -10. References - -10.1. Normative References - - [1] Pfeiffer, S., "The Ogg Encapsulation Format Version 0", - RFC 3533. - - [2] Bradner, S., "Key words for use in RFCs to Indicate Requirement - Levels", RFC 2119. - - [3] Schulzrinne, H., Casner, S., Frederick, R., and V. Jacobson, - "RTP: A Transport Protocol for real-time applications", - RFC 3550. - - [4] Schulzrinne, H. and S. Casner, "RTP Profile for video and Video - Conferences with Minimal Control.", RFC 3551. - - [5] Rosenberg, J. and H. Schulzrinne, "An Offer/Answer Model with - Session Description Protocol (SDP)", RFC 3264. - - [6] Handley, M. and V. Jacobson, "SDP: Session Description - Protocol", RFC 2327. - - [7] Mogul et al., J., "Path MTU Discovery", RFC 1063. - - [8] McCann et al., J., "Path MTU Discovery for IP version 6", - RFC 1981. - - [9] Ott, J., Wenger, S., Sato, N., Burmeister, C., and J. Rey, - "Extended RTP Profile for RTCP-based Feedback (RTP/AVPF)", - - - -Barbato Expires January 22, 2007 [Page 22] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - - Internet Draft (draft-ietf-avt-rtcp-feedback-11: Work in - progress). - - [10] Barbato, L., "RTP Payload Format for Vorbis Encoded Audio - - draft-ietf-avt-vorbis-rtp-00", Internet Draft (Work in - progress). - - [11] Josefsson, S., "The Base16, Base32, and Base64 Data Encodings", - RFC 3548. - - [12] Deutsch, P., "GZIP file format specification version 4.3", - RFC 1952. - - [13] National Institute of Standards and Technology, "Secure Hash - Standard", May 1993. - - [14] Seward, J., "libbz2 and bzip2". - -10.2. Informative References - - [15] "libTheora: Available from the Xiph website, - http://www.xiph.org". - - [16] "Theora I specification: Codec setup and packet decode. - http://www.xiph.org/theora/doc/Theora_I_spec.pdf". - - [17] Friedman, T., Caceres, R., and A. Clark, "RTP Control Protocol - Extended Reports (RTCP XR)", RFC 3611, November 2003. - - [18] "ITU-T Recommendation V.42, 1994, Rev. 1. Error-correcting - Procedures for DCEs Using Asynchronous-to-Synchronous - Conversion. International Telecommunications Union. Available - from the ITU website, http://www.itu.int". - - [19] "ISO 3309, October 1984, 3rd Edition. Information Processing - Systems--Data Communication High-Level Data Link Control - Procedure--Frame Structure. International Organization for - Standardization.". - - - - - - - - - - - - - -Barbato Expires January 22, 2007 [Page 23] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - -Author's Address - - Luca Barbato - Xiph.Org - - Email: lu_zero@gentoo.org - URI: http://www.xiph.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Barbato Expires January 22, 2007 [Page 24] - -Internet-Draft draft-ietf-avt-rtp-theora-00 July 2006 - - -Intellectual Property Statement - - The IETF takes no position regarding the validity or scope of any - Intellectual Property Rights or other rights that might be claimed to - pertain to the implementation or use of the technology described in - this document or the extent to which any license under such rights - might or might not be available; nor does it represent that it has - made any independent effort to identify any such rights. Information - on the procedures with respect to rights in RFC documents can be - found in BCP 78 and BCP 79. - - Copies of IPR disclosures made to the IETF Secretariat and any - assurances of licenses to be made available, or the result of an - attempt made to obtain a general license or permission for the use of - such proprietary rights by implementers or users of this - specification can be obtained from the IETF on-line IPR repository at - http://www.ietf.org/ipr. - - The IETF invites any interested party to bring to its attention any - copyrights, patents or patent applications, or other proprietary - rights that may cover technology that may be required to implement - this standard. Please address the information to the IETF at - ietf-ipr@ietf.org. - - -Disclaimer of Validity - - This document and the information contained herein are provided on an - "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS - OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET - ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, - INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE - INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED - WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - - -Copyright Statement - - Copyright (C) The Internet Society (2006). This document is subject - to the rights, licenses and restrictions contained in BCP 78, and - except as set forth therein, the authors retain all their rights. - - -Acknowledgment - - Funding for the RFC Editor function is currently provided by the - Internet Society. - - - - -Barbato Expires January 22, 2007 [Page 25] - diff --git a/Libraries/libtheora-1.1.1/doc/draft-ietf-avt-rtp-theora-00.xml b/Libraries/libtheora-1.1.1/doc/draft-ietf-avt-rtp-theora-00.xml deleted file mode 100644 index 2f8af399..00000000 --- a/Libraries/libtheora-1.1.1/doc/draft-ietf-avt-rtp-theora-00.xml +++ /dev/null @@ -1,1146 +0,0 @@ - - - - - - - - -draft-ietf-avt-rtp-theora-00 - - -Xiph.Org -
-lu_zero@gentoo.org -http://www.xiph.org/ -
-
- - -General -AVT Working Group -I-D - -Internet-Draft -Theora -RTP - - - -This document describes a RTP payload format for transporting Theora encoded video. It details the RTP encapsulation mechanism for raw Theora data and configuration headers necessary to configure the decoder. - - - -Also included within the document are the necessary details for the use of Theora with MIME and Session Description Protocol (SDP). - - - - - - -All references to RFC XXXX are to be replaced by references to the RFC number of this memo, when published. - - - -
- - - -
- -Theora is a general purpose, lossy video codec. It is based on the VP3 video codec produced by On2 Technologies and has been donated to the Xiph.org Foundation. - - -Theora I is a block-based lossy transform codec that utilizes an 8 x 8 Type-II Discrete Cosine Transform and block-based motion compensation. This places it in the same class of codecs as MPEG-1, MPEG-2, MPEG-4, and H.263. The details of how individual blocks are organized and how DCT coefficients are stored in the bitstream differ substantially from these codecs, however. Theora supports only intra frames (I frames in MPEG) and inter frames (P frames in MPEG). - - - -Theora provides none of its own framing, synchronization, or protection against transmission errors. Instead, the codec expects to receive a discrete sequence of data packets. Theora is a free-form variable bit rate (VBR) codec, and these packets have no minimum size, maximum size, or fixed/expected size. Theora packets are thus intended to be used with a transport mechanism that provides free-form framing, synchronization, positioning, and error correction in accordance with these design assumptions, such as Ogg or RTP/AVP . - - - -Theora I currently supports progressive video data of arbitrary dimensions at a constant frame rate in one of several Y'CbCr color spaces. -Three different chroma subsampling formats are supported: 4:2:0, 4:2:2, and 4:4:4. The Theora I format does not support interlaced material, variable frame rates, bit-depths larger than 8 bits per component, nor alternate color spaces such as RGB or arbitrary multi-channel spaces. Black and white content can be efficiently encoded, however, because the uniform chroma planes compress well. For performance reason, arbitrary frame sizes will be encoded rounding both dimensions to the upper multiple of 16. The original width and height will be encoded in the header and the decoder will use this information to clip the decoded frame to the right dimensions. - - - -Theora is similar to the Vorbis audio in that the decoder reads the probability model for the entropy coder and all quantization parameters from special "header" packets at the start of the compressed data. It is therefore impossible to decode any video data without having previously fetched the codec info and codec setup headers, although Theora can begin to decode at an arbitrary intra-frame packet so long as the codec has been initialized with the associated headers. - - -
- - -The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", -and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 . - - -
-
- -
- - -For RTP based transportation of Theora encoded video the standard RTP header is followed by a 4 octets payload header, then the payload data. The payload headers are used to associate the Theora data with its associated decoding codebooks as well as indicating if the following packet contains fragmented Theora data and/or the number of whole Theora data frames. The payload data contains the raw Theora bitstream information. - - - -For RTP based transport of Theora encoded video the standard RTP header is followed by a 4 octets payload header, then the payload data. - - -
- - -The format of the RTP header is specified in and shown in Figure 1. This payload format uses the fields of the header in a manner consistent with that specification. - - -
- -
- - -The RTP header begins with an octet of fields (V, P, X, and CC) to support specialized RTP uses (see and for details). For Theora RTP, the following values are used. - - - -Version (V): 2 bits -This field identifies the version of RTP. The version used by this specification is two (2). - - - -Padding (P): 1 bit -Padding MAY be used with this payload format according to section 5.1 of . - - - -Extension (X): 1 bit -The Extension bit is used in accordance with . - - - -CSRC count (CC): 4 bits -The CSRC count is used in accordance with . - - - -Marker (M): 1 bit -The Marker bit is used in accordance with . - - - -Payload Type (PT): 7 bits -An RTP profile for a class of applications is expected to assign a payload type for this format, or a dynamically allocated payload type SHOULD be chosen which designates the payload as Theora. - - - -Sequence number: 16 bits -The sequence number increments by one for each RTP data packet sent, and may be used by the receiver to detect packet loss and to restore packet sequence. This field is detailed further in . - - - -Timestamp: 32 bits -A timestamp representing the presentation time of the first sample of the first Theora packet in the RTP packet. The clock frequency MUST be set to 90kHz. - - - -SSRC/CSRC identifiers: -These two fields, 32 bits each with one SSRC field and a maximum of 16 CSRC fields, are as defined in . - - -
- -
- - -The 4 octets following the RTP Header section represent the Payload Header. This header is split into a number of bitfields detailing the format of the following Payload Datagrams. - - -
- -
- - -Configuration Ident: 24 bits - -This 24 bit field is used to associate the Theora data to a decoding Packed Configuration. - - - -Fragment type (F): 2 bit - -This field is set according to the following list - - - - 0 = Not Fragmented - 1 = Start Fragment - 2 = Continuation Fragment - 3 = End Fragment - - -This field must be zero if the number of packets field is non-zero. - - -Theora Data Type (TDT): 2 bits - -This field sets the packet payload type for the Theora data. There are currently three Theora payload types currently used and one reserved for future use. - - - - - 0 = Raw Theora payload - 1 = Theora Packed Configuration payload - 2 = Legacy Theora Comment payload - 3 = Reserved - - - The packets with a TDT of value 3 MUST be ignored - - -The last 4 bits represent the number of complete packets in this payload. This provides a maximum number of 15 Theora packets in the payload. If the packet contains fragmented data the number of packets MUST be set to 0. - - -
- -
- - -Each Theora payload section starts with a two octets length header that is used to represent the size of the following data payload, followed by the raw Theora packet data. - - -
- -
- - -The Theora codec uses relatively unstructured raw packets containing binary integer fields of arbitrary width that often do not fall on an octet boundary. When a Theora encoder produces packets, unused space in the last byte of a packet is always zeroed during the encoding process. Thus, should this unused space be read, it will return binary zeros. - - - -For payloads which consist of multiple Theora packets the payload data consists of the payload length field followed by the first Theora packet's data, then the payload length followed by the second Theora packet, and so on for each of the Theora packets in the payload. - - -
- -
- - -Here is an example RTP packet containing two Theora packets. - - -RTP Packet Header: - - -
- -
- - - -Payload Data: - - -
- -
- - -The payload portion of the packet begins with the 24 bit Configuration ident field followed by 8 bits describing the payload. The Fragment type field is set to 0, indicating that this packet contains whole Theora frame data. The Data type field is set to 0 (theora raw data). The number of whole Theora data packets is set to 2. - - - -Each of the payload blocks starts with the two octets length field followed -by the variable length Theora packet data. - - -
-
- -
- - -To decode a Theora stream three configuration header packets are needed. The first (Identification Header) indicates frame dimensions, quality, blocks used and Theora encoder version. The second (Comment Header) contains stream metadata and the third (Setup Header) contains details of the dequantization and Huffman tables. - - - -Since this information must be transmitted reliably, and as the RTP stream may change certain configuration data mid-session, there are different methods for delivering this configuration data to a client, both in-band and out-of-band, which are detailed below. SDP delivery is used to set up an initial state for the client application. The changes may be due to different dequantization and Huffman tables as well as different bitrates of the stream. - - - -The delivery vectors in use are specified by an SDP attribute that indicates the method and the optional URI where the Theora Packed Configuration Packets could be fetched. Different delivery methods MAY be advertised for the same session. The in-band codebook delivery SHOULD be considered as baseline, out-of-band delivery methods that don't use RTP will not be described in this document. For non chained streams, the RECOMMENDED Configuration delivery method is inline the Packed Configuration in the SDP as explained in the IANA considerations - - - -The 24 bit Ident field is used to map which Configuration will be used to decode a packet. When the Ident field changes, it indicates that a change in the stream has taken place. The client application MUST have in advance the correct configuration and if the client detects a change in the Ident value and does not have this information it MUST NOT decode the raw data associated until it has fetched the correct Configuration. - - - -
- - -The Packed Configuration Payload is sent in-band with the packet type bits set to match the payload type. Clients MUST be capable of dealing with periodic re-transmission of the configuration headers. - - -
- - -A Theora Packed Configuration is identified by a payload type field of 1. Of the three headers, defined in the Theora I specification, the identification and the setup will be packed together, while the comment header will be completely suppressed. It is up to the client to provide a minimal size comment header to the decoder if required by the implementation. - - -
- -
-The Ident field is set with the value that will be used by the Raw Payload Packets to address this Configuration. The Fragment type is set to 0 since the packet bears full Packed configuration, the number of packet is set to 1. In practice, Packed Headers usually need to be fragmented to fit the path MTU. - - -
- -
- -
- - -This section, as stated above, does not cover all the possible out-of-band delivery methods since they rely on different protocols and are linked to specific applications. The following packet definition SHOULD be used in out-of-band delivery and MUST be used when Configuration is inlined in the SDP. - - -
- - -As mentioned above, the recommended delivery vector for Theora configuration data is via a retrieval method that can be performed using a reliable transport protocol. As the RTP headers are not required for this method of delivery the structure of the configuration data is slightly different. The packed header starts with a 32 bit count field which details the number of packed headers that are contained in the bundle. Next is the Packed header payload for each setup id. - - -
- -
- - -Since the Configuration Ident and the Identification Header are fixed length there is only a 16bit Length tag to define the length of the packed headers. - - -
-
- -The key difference from the in-band format is that there is no need for the payload header octet. - - -
- - -The following IANA considerations MUST only be applied to the packed headers. - - - - - - video - - - - theora-config - - - - - -None - - - - - - -None - - - - - - -This media type contains binary data. - - - - - - -See Section 6 of RFC XXXX. - - - - - - -None - - - - - - -RFC XXXX [RFC Editor: please replace by the RFC number of this memo, - when published] - - - - - - -Theora encoded video, configuration data. - - - - - - -None - - - - - - -Luca Barbato: <lu_zero@gentoo.org> - -IETF Audio/Video Transport Working Group - - - - - -COMMON - - - - - - -This media type does not depend on the transport. - - - - - - -Luca Barbato - - - - - -IETF AVT Working Group - - -
-
- -
- -
- - -Unlike the loss of raw Theora payload data, the loss of a configuration header can lead to a situation where it will not be possible to successfully decode the stream. - - - -A loss of a Configuration Packet causes the stream decoder to halt and SHOULD be reported to the client as well as a loss report sent via RTCP. - - -
- -
- -
- - -When the payload type is set to 2, the packet contains comment metadata such as artist name, track title and so on. These metadata messages are not intended to be fully descriptive but to offer basic title information. Clients MAY choose to completely ignore them. The details on the comments format can be found in the Theora documentation. - - -
- -
- -The 2 byte length field is necessary since this Theora packet could be fragmented. - -
- -
- - -Each RTP packet contains either one complete Theora packet, one Theora packet fragment, or an integer number of complete Theora packets (up to a maximum of 15 packets, since the number of packets is defined by a 4 bit value). - - - -Any Theora data packet that is less than path MTU SHOULD be bundled in the RTP packet with as many Theora packets as will fit, up to a maximum of 15. Path MTU is detailed in and . - - - -A fragmented packet has a zero in the last four bits of the payload header. The RTP packet containing the first fragment will set the Fragment type to 1. Each RTP packet after the first will set the Fragment type to 2 in the payload header. The RTP packet containing the last fragment of the Theora packet will have the Fragment type set to 3. If the fragmented Theora packet spans only two RTP packets, the first will set the Fragment type field to 1 and the second will set it to 2. To maintain the correct sequence for fragmented packet reception the timestamp field of fragmented packets MUST be the same as the first packet sent, with the sequence number incremented as normal for the subsequent RTP packets. - -
- - -Here is an example fragmented Theora packet split over three RTP packets. Each packet contains the standard RTP headers as well as the 4 octets Theora headers. - - -
- -
- - -In this packet the initial sequence number is 1000 and the timestamp is xxxxx. The Fragment type field is set to one, indicating it is the start packet of a serie of fragments. The number of packets field is set to 0, and as the payload is raw Theora data the Theora payload type field is set to 0. - - -
- -
- - -The Fragment type field is set to 2 and the number of packets field is set to 0. For large Theora fragments there can be several of these type of payload packets. The maximum RTP packet size SHOULD be no greater than the path MTU, including all RTP and payload headers. The sequence number has been incremented by one but the timestamp field remains the same as the initial packet. - - -
- -
- - -This is the last Theora fragment packet. The Fragment type filed is set to 3 and the packet count remains set to 0. As in the previous packets the timestamp remains set to the first packet in the sequence and the sequence number has been incremented. - - -
- -
- - -As there is no error correction within the Theora stream, packet loss will result in a loss of signal. Packet loss is more of an issue for fragmented Theora packets as the client will have to cope with the handling of the Fragment type field. If we use the fragmented Theora packet example above and the first packet is lost the client MUST detect that the next packet has the packet count field set to 0 and the Fragment type is set to 2 and MUST drop it. The next packet, which is the final fragmented packet, MUST be dropped in the same manner. Feedback reports on lost and dropped packets MUST be sent back via RTCP.[note: reordering] - - - -If a particular multicast session has a large number of participants care must be taken to prevent an RTCP feedback implosion, , in the event of packet loss from a large number of participants. - - - -Loss of any of the Configuration fragment will result in the loss of the full Configuration packet as detailed in the Loss of Configuration Headers section. - - -
-
- -
- - - - - video - - - - theora - - - - - - - - - - Determines the chroma subsampling format. - - - - - Determines the number of pixels per line. This is an integer between 1 and 1048561 and MUST be in multiples of 16. - - - - -Determines the number of lines per frame encoded. This is an integer between 1 and 1048561 and MUST be in multiples of 16. - - - - - indicates the delivery methods in use, the possible values are: inline, in_band, out_band/specific_name -Where "specific_name" is the name of the out of band delivery method. - - - - - the base16 (hexadecimal) representation of the Packed Headers. - - - - - - - - - - - - the URI of the configuration headers in case of out of band transmission. In the form of "protocol://path/to/resource/". Depending on the specific method the single ident packets could be retrived by their number or aggregated in a single stream, aggregates MAY be compressed using gzip or bzip2 and an sha1 checksum MAY be provided in the form of "protocol://path/to/resource/aggregated.bz2!sha1hash" - - - - - - - -This media type is framed and contains binary data. - - - - - - -See Section 6 of RFC XXXX. - - - - - -None - - - - - - - - RFC XXXX [RFC Editor: please replace by the RFC number of this memo, when published] - -Ogg Theora I specification: Codec setup and packet decode. Available from the Xiph website, http://www.xiph.org - - - - - - - -Video streaming and conferencing tools - - - - - -None - - - - - - - -Luca Barbato: <lu_zero@gentoo.org> -IETF Audio/Video Transport Working Group - - - - - - - -COMMON - - - - - -This media type depends on RTP framing, and hence is only defined for transfer via RTP - - - - -Luca Barbato - - - - IETF AVT Working Group - - - - - -
- - -The information carried in the MIME media type specification has a specific mapping to fields in the Session Description Protocol (SDP) , which is commonly used to describe RTP sessions. When SDP is used to specify sessions the mapping are as follows: - - - - - -The MIME type ("video") goes in SDP "m=" as the media name. - - -The MIME subtype ("theora") goes in SDP "a=rtpmap" as the encoding name. - - -The clock rate in the "a=rtpmap" line MUST be 90000 - - -The mandated parameters "delivery-method" and "configuration" MUST be included in the SDP "a=fmpt" attribute. - - -The optional parameter "configuration-uri", when present, MUST be included in the SDP "a=fmpt" attribute and MUST follow the delivery-method that applies. - - - - -If the stream uses multiple decoder setup configurations and all of them are known in advance, the Configuration Packet for each file SHOULD be packaged together and passed to the client using the configuration attribute. - - - -The URI specified in the configuration-uri attribute MUST point to a location where all of the Configuration Packets needed for the life of the session reside. - - -
-The following example shows a basic SDP for a single stream. The first configuration packet is inlined in the sdp, other configurations could be fetched at any time from the first provided uri using or all the known configuration could be downloaded using the second uri. The inline base16 configuration string is omitted because of the lenght. - - -c=IN IP4 192.0.0.1 -m=video RTP/AVP 98 -a=rtpmap:98 theora/90000 -a=fmtp:98 sampling=YCbCr-4:2:2; width=1280; height=720; delivery-method=inline; configuration=base16string1; delivery-method=out_band/rtsp; delivery-method=out_band/rtsp; configuration-uri=rtsp://path/to/resource/; delivery-method=out_band/http; configuration-uri=http://another/path/to/resource/aggregate.bz2!sha1hash; - -
- -
- -
- - -The offer, as described in An Offer/Answer Model Session Description Protocol, may contain a large number of delivery methods per single fmtp attribute, the answerer MUST remove every delivery-method and configuration-uri not supported. All the parameters MUST not be altered on answer otherwise. - - -
- -
- -
- - -The following examples are common usage patterns that MAY be applied in such situations, the main scope of this section is to explain better usage of the transmission vectors. - - -
- -This is one of the most common situation: one single server streaming content in multicast, the clients may start a session at random time. The content itself could be a mix of live stream, as the wj's voice or studio scenes, and stored streams, as the music she plays. - -In this situation we don't know in advance how many codebooks we will use. The clients can join anytime and users expect to start the fruition of the content in a short time. - -On join the client will receive the current Configuration necessary to decode the current streams inlined in the SDP so that the decoding will start immediately after. - -When the streamed content changes the new Configuration is sent in-band before the actual stream, and the Configuration that has to be sent inline in the SDP updated. Since the inline method is unreliable, an out of band fallback is provided. - -The client could choose to fetch the Configuration from the alternate source as soon it discovers a Configuration packet got lost inline or use selective retransmission, if the server supports the feature. - -A serverside optimization would be to keep an hash list of the Configurations per session to avoid packing all of them and send the same Configuration with different Ident tags - -A clientside optimization would be to keep a tag list of the Configurations per session and don't process configuration packets already known. - -
- -
- -
- -RTP packets using this payload format are subject to the security considerations discussed in the RTP specification . This implies that the confidentiality of the media stream is achieved by using encryption. Because the data compression used with this payload format is applied end-to-end, encryption may be performed on the compressed data. Where the size of a data block is set care MUST be taken to prevent buffer overflows in the client applications. - - -
- -
- -This document is a continuation of draft-kerr-avt-theora-rtp-00.txt - - -Thanks to the AVT, Ogg Theora Communities / Xiph.org, Fluendo, Ralph Giles, Mike Smith, Phil Kerr, Timothy Terriberry, Stefan Ehmann, Alessandro Salvatori, Politecnico di Torino (LS)³/IMG Group in particular Federico Ridolfo, Francesco Varano, Giampaolo Mancini, Juan Carlos De Martin. - - -
- -
- - - - - - - -The Ogg Encapsulation Format Version 0 - - - - - - - -Key words for use in RFCs to Indicate Requirement Levels - - - - - - - -RTP: A Transport Protocol for real-time applications - - - - - - - - - - -RTP Profile for video and Video Conferences with Minimal Control. - - - - - - - - - -An Offer/Answer Model with Session Description Protocol (SDP) - - - - - - - - -SDP: Session Description Protocol - - - - - - - - -Path MTU Discovery - - - - - - - -Path MTU Discovery for IP version 6 - - - - - - - -Extended RTP Profile for RTCP-based Feedback (RTP/AVPF) - - - - - - - - - - - -RTP Payload Format for Vorbis Encoded Audio - draft-ietf-avt-vorbis-rtp-00 - - - - - - - -The Base16, Base32, and Base64 Data Encodings - - - - - - - -GZIP file format specification version 4.3 - - - - - - - -Secure Hash Standard - -National Institute of Standards and Technology - - - - - - - -libbz2 and bzip2 - - - - - - - - - -libTheora: Available from the Xiph website, http://www.xiph.org - - - - - -Theora I specification: Codec setup and packet decode. http://www.xiph.org/theora/doc/Theora_I_spec.pdf - - - - - - -RTP Control Protocol Extended Reports (RTCP XR) - - - - - - - - - - - - - - -ITU-T Recommendation V.42, 1994, Rev. 1. Error-correcting Procedures for DCEs Using Asynchronous-to-Synchronous Conversion. International Telecommunications Union. Available from the ITU website, http://www.itu.int - - - - - - -ISO 3309, October 1984, 3rd Edition. Information Processing Systems--Data Communication High-Level Data Link Control Procedure--Frame Structure. International Organization for Standardization. - - - - - -
diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/annotated.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/annotated.html deleted file mode 100644 index 3804f957..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/annotated.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - -libtheora: Data Structures - - - - - - -
-

Data Structures

Here are the data structures with brief descriptions: - - - - - - - - - - - -
th_commentThe comment information
th_huff_codeA Huffman code for a Theora DCT token
th_img_planeA buffer for a single color plane in an uncompressed image
th_infoTheora bitstream information
th_quant_infoA complete set of quantization parameters
th_quant_rangesA set of qi ranges
th_stripe_callbackThe striped decode callback data to pass to TH_DECCTL_SET_STRIPE_CB
theora_commentComment header metadata
theora_infoTheora bitstream info
theora_stateCodec internal state and context
yuv_bufferA YUV buffer for passing uncompressed frames to and from the codec
-
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/classes.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/classes.html deleted file mode 100644 index cf3768c9..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/classes.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - -libtheora: Alphabetical List - - - - - - -
-

Data Structure Index

T | Y
- -
  T  
-
th_img_plane   th_quant_ranges   theora_info   
  Y  
-
th_comment   th_info   th_stripe_callback   theora_state   yuv_buffer   
th_huff_code   th_quant_info   theora_comment   
T | Y
-
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/codec_8h.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/codec_8h.html deleted file mode 100644 index ca85eb42..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/codec_8h.html +++ /dev/null @@ -1,411 +0,0 @@ - - - - -libtheora: codec.h File Reference - - - - - - -
-

codec.h File Reference

-

The shared libtheoradec and libtheoraenc C API. -More...

-#include <ogg/ogg.h>
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  th_img_plane
 A buffer for a single color plane in an uncompressed image. More...
struct  th_info
 Theora bitstream information. More...
struct  th_comment
 The comment information. More...
struct  th_quant_ranges
 A set of qi ranges. More...
struct  th_quant_info
 A complete set of quantization parameters. More...
struct  th_huff_code
 A Huffman code for a Theora DCT token. More...

Defines

#define _O_THEORA_CODEC_H_   (1)
#define TH_NHUFFMAN_TABLES   (80)
 The number of Huffman tables used by Theora.
#define TH_NDCT_TOKENS   (32)
 The number of DCT token values in each table.
Return codes

-

#define TH_EFAULT   (-1)
 An invalid pointer was provided.
#define TH_EINVAL   (-10)
 An invalid argument was provided.
#define TH_EBADHEADER   (-20)
 The contents of the header were incomplete, invalid, or unexpected.
#define TH_ENOTFORMAT   (-21)
 The header does not belong to a Theora stream.
#define TH_EVERSION   (-22)
 The bitstream version is too high.
#define TH_EIMPL   (-23)
 The specified function is not implemented.
#define TH_EBADPACKET   (-24)
 There were errors in the video data packet.
#define TH_DUPFRAME   (1)
 The decoded packet represented a dropped frame.

Typedefs

typedef th_img_plane th_ycbcr_buffer [3]
 A complete image buffer for an uncompressed frame.
typedef unsigned char th_quant_base [64]
 A single base matrix.

Enumerations

enum  th_colorspace { TH_CS_UNSPECIFIED, -TH_CS_ITU_REC_470M, -TH_CS_ITU_REC_470BG, -TH_CS_NSPACES - }
 

The currently defined color space tags.

- More...
enum  th_pixel_fmt {
-  TH_PF_420, -TH_PF_RSVD, -TH_PF_422, -TH_PF_444, -
-  TH_PF_NFORMATS -
- }
 

The currently defined pixel format tags.

- More...

Functions

Basic shared functions

-

const char * th_version_string (void)
 Retrieves a human-readable string to identify the library vendor and version.
ogg_uint32_t th_version_number (void)
 Retrieves the library version number.
ogg_int64_t th_granule_frame (void *_encdec, ogg_int64_t _granpos)
 Converts a granule position to an absolute frame index, starting at 0.
double th_granule_time (void *_encdec, ogg_int64_t _granpos)
 Converts a granule position to an absolute time in seconds.
int th_packet_isheader (ogg_packet *_op)
 Determines whether a Theora packet is a header or not.
int th_packet_iskeyframe (ogg_packet *_op)
 Determines whether a theora packet is a key frame or not.
Functions for manipulating header data

-

void th_info_init (th_info *_info)
 Initializes a th_info structure.
void th_info_clear (th_info *_info)
 Clears a th_info structure.
void th_comment_init (th_comment *_tc)
 Initialize a th_comment structure.
void th_comment_add (th_comment *_tc, char *_comment)
 Add a comment to an initialized th_comment structure.
void th_comment_add_tag (th_comment *_tc, char *_tag, char *_val)
 Add a comment to an initialized th_comment structure.
char * th_comment_query (th_comment *_tc, char *_tag, int _count)
 Look up a comment value by its tag.
int th_comment_query_count (th_comment *_tc, char *_tag)
 Look up the number of instances of a tag.
void th_comment_clear (th_comment *_tc)
 Clears a th_comment structure.
-

Detailed Description

-

The shared libtheoradec and libtheoraenc C API.

-

You don't need to include this directly.

-

Define Documentation

- -
-
- - - - -
#define _O_THEORA_CODEC_H_   (1)
-
-
- -
-
- -
-
- - - - -
#define TH_DUPFRAME   (1)
-
-
- -

The decoded packet represented a dropped frame.

-

The player can continue to display the current frame, as the contents of the decoded frame buffer have not changed.

- -
-
- -
-
- - - - -
#define TH_EBADHEADER   (-20)
-
-
- -

The contents of the header were incomplete, invalid, or unexpected.

- -
-
- -
-
- - - - -
#define TH_EBADPACKET   (-24)
-
-
- -

There were errors in the video data packet.

- -
-
- -
-
- - - - -
#define TH_EFAULT   (-1)
-
-
- -

An invalid pointer was provided.

- -
-
- -
-
- - - - -
#define TH_EIMPL   (-23)
-
-
- -

The specified function is not implemented.

- -
-
- -
-
- - - - -
#define TH_EINVAL   (-10)
-
-
- -

An invalid argument was provided.

- -
-
- -
-
- - - - -
#define TH_ENOTFORMAT   (-21)
-
-
- -

The header does not belong to a Theora stream.

- -
-
- -
-
- - - - -
#define TH_EVERSION   (-22)
-
-
- -

The bitstream version is too high.

- -
-
- -
-
- - - - -
#define TH_NDCT_TOKENS   (32)
-
-
- -

The number of DCT token values in each table.

- -
-
- -
-
- - - - -
#define TH_NHUFFMAN_TABLES   (80)
-
-
- -

The number of Huffman tables used by Theora.

- -
-
-

Typedef Documentation

- -
-
- - - - -
typedef unsigned char th_quant_base[64]
-
-
- -

A single base matrix.

- -
-
- -
-
- - - - -
typedef th_img_plane th_ycbcr_buffer[3]
-
-
- -

A complete image buffer for an uncompressed frame.

-

The chroma planes may be decimated by a factor of two in either direction, as indicated by th_info::pixel_fmt. The width and height of the Y' plane must be multiples of 16. They may need to be cropped for display, using the rectangle specified by th_info::pic_x, th_info::pic_y, th_info::pic_width, and th_info::pic_height. All samples are 8 bits.

-
Note:
The term YUV often used to describe a colorspace is ambiguous. The exact parameters of the RGB to YUV conversion process aside, in many contexts the U and V channels actually have opposite meanings. To avoid this confusion, we are explicit: the name of the color channels are Y'CbCr, and they appear in that order, always. The prime symbol denotes that the Y channel is non-linear. Cb and Cr stand for "Chroma blue" and "Chroma red", respectively.
- -
-
-

Enumeration Type Documentation

- -
-
- - - - -
enum th_colorspace
-
-
- -

The currently defined color space tags.

-

See the Theora specification, Chapter 4, for exact details on the meaning of each of these color spaces.

-
Enumerator:
- - - - -
TH_CS_UNSPECIFIED  -

The color space was not specified at the encoder.

-

It may be conveyed by an external means.

-
TH_CS_ITU_REC_470M  -

A color space designed for NTSC content.

-
TH_CS_ITU_REC_470BG  -

A color space designed for PAL/SECAM content.

-
TH_CS_NSPACES  -

The total number of currently defined color spaces.

-
-
-
- -
-
- -
-
- - - - -
enum th_pixel_fmt
-
-
- -

The currently defined pixel format tags.

-

See the Theora specification, Section 4.4, for details on the precise sample locations.

-
Enumerator:
- - - - - -
TH_PF_420  -

Chroma decimation by 2 in both the X and Y directions (4:2:0).

-

The Cb and Cr chroma planes are half the width and half the height of the luma plane.

-
TH_PF_RSVD  -

Currently reserved.

-
TH_PF_422  -

Chroma decimation by 2 in the X direction (4:2:2).

-

The Cb and Cr chroma planes are half the width of the luma plane, but full height.

-
TH_PF_444  -

No chroma decimation (4:4:4).

-

The Cb and Cr chroma planes are full width and full height.

-
TH_PF_NFORMATS  -

The total number of currently defined pixel formats.

-
-
-
- -
-
-
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/codec_8h_source.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/codec_8h_source.html deleted file mode 100644 index 651c3cf5..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/codec_8h_source.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - -libtheora: codec.h Source File - - - - - - -
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/doxygen.css b/Libraries/libtheora-1.1.1/doc/libtheora/html/doxygen.css deleted file mode 100644 index 9ca3cafb..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/doxygen.css +++ /dev/null @@ -1,498 +0,0 @@ -/* The standard CSS for doxygen */ - -body, table, div, p, dl { - font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif; - font-size: 12px; -} - -/* @group Heading Levels */ - -h1 { - text-align: center; - font-size: 150%; -} - -h2 { - font-size: 120%; -} - -h3 { - font-size: 100%; -} - -dt { - font-weight: bold; -} - -div.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; -} - -p.startli, p.startdd { - margin-top: 2px; -} - -p.endli { - margin-bottom: 0px; -} - -p.enddd { - margin-bottom: 4px; -} - -/* @end */ - -caption { - font-weight: bold; -} - -span.legend { - font-size: 70%; - text-align: center; -} - -div.qindex, div.navtab{ - background-color: #e8eef2; - border: 1px solid #84b0c7; - text-align: center; - margin: 2px; - padding: 2px; -} - -div.qindex, div.navpath { - width: 100%; - line-height: 140%; -} - -div.navtab { - margin-right: 15px; -} - -/* @group Link Styling */ - -a { - color: #153788; - font-weight: normal; - text-decoration: none; -} - -.contents a:visited { - color: #1b77c5; -} - -a:hover { - text-decoration: underline; -} - -a.qindex { - font-weight: bold; -} - -a.qindexHL { - font-weight: bold; - background-color: #6666cc; - color: #ffffff; - border: 1px double #9295C2; -} - -.contents a.qindexHL:visited { - color: #ffffff; -} - -a.el { - font-weight: bold; -} - -a.elRef { -} - -a.code { -} - -a.codeRef { -} - -/* @end */ - -dl.el { - margin-left: -1cm; -} - -.fragment { - font-family: monospace, fixed; - font-size: 105%; -} - -pre.fragment { - border: 1px solid #CCCCCC; - background-color: #f5f5f5; - padding: 4px 6px; - margin: 4px 8px 4px 2px; -} - -div.ah { - background-color: black; - font-weight: bold; - color: #ffffff; - margin-bottom: 3px; - margin-top: 3px -} - -div.groupHeader { - margin-left: 16px; - margin-top: 12px; - margin-bottom: 6px; - font-weight: bold; -} - -div.groupText { - margin-left: 16px; - font-style: italic; -} - -body { - background: white; - color: black; - margin-right: 20px; - margin-left: 20px; -} - -td.indexkey { - background-color: #e8eef2; - font-weight: bold; - border: 1px solid #CCCCCC; - margin: 2px 0px 2px 0; - padding: 2px 10px; -} - -td.indexvalue { - background-color: #e8eef2; - border: 1px solid #CCCCCC; - padding: 2px 10px; - margin: 2px 0px; -} - -tr.memlist { - background-color: #f0f0f0; -} - -p.formulaDsp { - text-align: center; -} - -img.formulaDsp { - -} - -img.formulaInl { - vertical-align: middle; -} - -div.center { - text-align: center; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; -} - -div.center img { - border: 0px; -} - -img.footer { - border: 0px; - vertical-align: middle; -} - -/* @group Code Colorization */ - -span.keyword { - color: #008000 -} - -span.keywordtype { - color: #604020 -} - -span.keywordflow { - color: #e08000 -} - -span.comment { - color: #800000 -} - -span.preprocessor { - color: #806020 -} - -span.stringliteral { - color: #002080 -} - -span.charliteral { - color: #008080 -} - -span.vhdldigit { - color: #ff00ff -} - -span.vhdlchar { - color: #000000 -} - -span.vhdlkeyword { - color: #700070 -} - -span.vhdllogic { - color: #ff0000 -} - -/* @end */ - -.search { - color: #003399; - font-weight: bold; -} - -form.search { - margin-bottom: 0px; - margin-top: 0px; -} - -input.search { - font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} - -td.tiny { - font-size: 75%; -} - -.dirtab { - padding: 4px; - border-collapse: collapse; - border: 1px solid #84b0c7; -} - -th.dirtab { - background: #e8eef2; - font-weight: bold; -} - -hr { - height: 0; - border: none; - border-top: 1px solid #666; -} - -/* @group Member Descriptions */ - -.mdescLeft, .mdescRight, -.memItemLeft, .memItemRight, -.memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: #FAFAFA; - border: none; - margin: 4px; - padding: 1px 0 0 8px; -} - -.mdescLeft, .mdescRight { - padding: 0px 8px 4px 8px; - color: #555; -} - -.memItemLeft, .memItemRight, .memTemplParams { - border-top: 1px solid #ccc; -} - -.memItemLeft, .memTemplItemLeft { - white-space: nowrap; -} - -.memTemplParams { - color: #606060; - white-space: nowrap; -} - -/* @end */ - -/* @group Member Details */ - -/* Styles for detailed member documentation */ - -.memtemplate { - font-size: 80%; - color: #606060; - font-weight: normal; - margin-left: 3px; -} - -.memnav { - background-color: #e8eef2; - border: 1px solid #84b0c7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} - -.memitem { - padding: 0; - margin-bottom: 10px; -} - -.memname { - white-space: nowrap; - font-weight: bold; -} - -.memproto, .memdoc { - border: 1px solid #84b0c7; -} - -.memproto { - padding: 0; - background-color: #d5e1e8; - font-weight: bold; - -webkit-border-top-left-radius: 8px; - -webkit-border-top-right-radius: 8px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -moz-border-radius-topleft: 8px; - -moz-border-radius-topright: 8px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - -} - -.memdoc { - padding: 2px 5px; - background-color: #eef3f5; - border-top-width: 0; - -webkit-border-bottom-left-radius: 8px; - -webkit-border-bottom-right-radius: 8px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -moz-border-radius-bottomleft: 8px; - -moz-border-radius-bottomright: 8px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; -} - -.paramkey { - text-align: right; -} - -.paramtype { - white-space: nowrap; -} - -.paramname { - color: #602020; - white-space: nowrap; -} -.paramname em { - font-style: normal; -} - -/* @end */ - -/* @group Directory (tree) */ - -/* for the tree view */ - -.ftvtree { - font-family: sans-serif; - margin: 0.5em; -} - -/* these are for tree view when used as main index */ - -.directory { - font-size: 9pt; - font-weight: bold; -} - -.directory h3 { - margin: 0px; - margin-top: 1em; - font-size: 11pt; -} - -/* -The following two styles can be used to replace the root node title -with an image of your choice. Simply uncomment the next two styles, -specify the name of your image and be sure to set 'height' to the -proper pixel height of your image. -*/ - -/* -.directory h3.swap { - height: 61px; - background-repeat: no-repeat; - background-image: url("yourimage.gif"); -} -.directory h3.swap span { - display: none; -} -*/ - -.directory > h3 { - margin-top: 0; -} - -.directory p { - margin: 0px; - white-space: nowrap; -} - -.directory div { - display: none; - margin: 0px; -} - -.directory img { - vertical-align: -30%; -} - -/* these are for tree view when not used as main index */ - -.directory-alt { - font-size: 100%; - font-weight: bold; -} - -.directory-alt h3 { - margin: 0px; - margin-top: 1em; - font-size: 11pt; -} - -.directory-alt > h3 { - margin-top: 0; -} - -.directory-alt p { - margin: 0px; - white-space: nowrap; -} - -.directory-alt div { - display: none; - margin: 0px; -} - -.directory-alt img { - vertical-align: -30%; -} - -/* @end */ - -address { - font-style: normal; - color: #333; -} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/doxygen.png b/Libraries/libtheora-1.1.1/doc/libtheora/html/doxygen.png deleted file mode 100644 index f0a274bb..00000000 Binary files a/Libraries/libtheora-1.1.1/doc/libtheora/html/doxygen.png and /dev/null differ diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/files.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/files.html deleted file mode 100644 index 8ea7e771..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/files.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - -libtheora: File Index - - - - - - -
-

File List

Here is a list of all files with brief descriptions: - - - - -
codec.h [code]The shared libtheoradec and libtheoraenc C API
theora.h [code]The libtheora pre-1.0 legacy C API
theoradec.h [code]The libtheoradec C decoding API
theoraenc.h [code]The libtheoraenc C encoding API
-
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/functions.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/functions.html deleted file mode 100644 index f8a85cb0..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/functions.html +++ /dev/null @@ -1,353 +0,0 @@ - - - - -libtheora: Data Fields - - - - - - -
-Here is a list of all struct and union fields with links to the structures/unions they belong to: - -

- a -

- - -

- b -

- - -

- c -

- - -

- d -

- - -

- f -

- - -

- g -

- - -

- h -

- - -

- i -

- - -

- k -

- - -

- l -

- - -

- n -

- - -

- o -

- - -

- p -

- - -

- q -

- - -

- s -

- - -

- t -

- - -

- u -

- - -

- v -

- - -

- w -

- - -

- y -

-
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/functions_vars.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/functions_vars.html deleted file mode 100644 index b2103c19..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/functions_vars.html +++ /dev/null @@ -1,353 +0,0 @@ - - - - -libtheora: Data Fields - Variables - - - - - - -
-  - -

- a -

- - -

- b -

- - -

- c -

- - -

- d -

- - -

- f -

- - -

- g -

- - -

- h -

- - -

- i -

- - -

- k -

- - -

- l -

- - -

- n -

- - -

- o -

- - -

- p -

- - -

- q -

- - -

- s -

- - -

- t -

- - -

- u -

- - -

- v -

- - -

- w -

- - -

- y -

-
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/globals.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/globals.html deleted file mode 100644 index 42641e09..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/globals.html +++ /dev/null @@ -1,464 +0,0 @@ - - - - -libtheora: Data Fields - - - - - - -
-Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to: - -

- _ -

- - -

- o -

- - -

- t -

-
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/globals_defs.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/globals_defs.html deleted file mode 100644 index c29f5cd4..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/globals_defs.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - -libtheora: Data Fields - - - - - - -
-  - -

- _ -

- - -

- o -

- - -

- t -

-
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/globals_enum.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/globals_enum.html deleted file mode 100644 index 87193ee2..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/globals_enum.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - -libtheora: Data Fields - - - - - - -
-
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/globals_eval.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/globals_eval.html deleted file mode 100644 index b145d879..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/globals_eval.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - -libtheora: Data Fields - - - - - - -
-
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/globals_func.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/globals_func.html deleted file mode 100644 index 98219c42..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/globals_func.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - -libtheora: Data Fields - - - - - - -
-  - -

- t -

-
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/globals_type.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/globals_type.html deleted file mode 100644 index d40bf26b..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/globals_type.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - -libtheora: Data Fields - - - - - - -
-
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/globals_vars.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/globals_vars.html deleted file mode 100644 index 9fffd531..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/globals_vars.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - -libtheora: Data Fields - - - - - - -
-
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/group__basefuncs.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/group__basefuncs.html deleted file mode 100644 index 08d4162b..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/group__basefuncs.html +++ /dev/null @@ -1,542 +0,0 @@ - - - - -libtheora: Functions Shared by Encode and Decode - - - - - - -
-

Functions Shared by Encode and Decode

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Basic shared functions

-

const char * th_version_string (void)
 Retrieves a human-readable string to identify the library vendor and version.
ogg_uint32_t th_version_number (void)
 Retrieves the library version number.
ogg_int64_t th_granule_frame (void *_encdec, ogg_int64_t _granpos)
 Converts a granule position to an absolute frame index, starting at 0.
double th_granule_time (void *_encdec, ogg_int64_t _granpos)
 Converts a granule position to an absolute time in seconds.
int th_packet_isheader (ogg_packet *_op)
 Determines whether a Theora packet is a header or not.
int th_packet_iskeyframe (ogg_packet *_op)
 Determines whether a theora packet is a key frame or not.

Functions for manipulating header data

-

void th_info_init (th_info *_info)
 Initializes a th_info structure.
void th_info_clear (th_info *_info)
 Clears a th_info structure.
void th_comment_init (th_comment *_tc)
 Initialize a th_comment structure.
void th_comment_add (th_comment *_tc, char *_comment)
 Add a comment to an initialized th_comment structure.
void th_comment_add_tag (th_comment *_tc, char *_tag, char *_val)
 Add a comment to an initialized th_comment structure.
char * th_comment_query (th_comment *_tc, char *_tag, int _count)
 Look up a comment value by its tag.
int th_comment_query_count (th_comment *_tc, char *_tag)
 Look up the number of instances of a tag.
void th_comment_clear (th_comment *_tc)
 Clears a th_comment structure.
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void th_comment_add (th_comment _tc,
char *  _comment 
)
-
-
- -

Add a comment to an initialized th_comment structure.

-
Note:
Neither th_comment_add() nor th_comment_add_tag() support comments containing null values, although the bitstream format does support them. To add such comments you will need to manipulate the th_comment structure directly.
-
Parameters:
- - - -
_tc The th_comment struct to add the comment to.
_comment Must be a null-terminated UTF-8 string containing the comment in "TAG=the value" form.
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void th_comment_add_tag (th_comment _tc,
char *  _tag,
char *  _val 
)
-
-
- -

Add a comment to an initialized th_comment structure.

-
Note:
Neither th_comment_add() nor th_comment_add_tag() support comments containing null values, although the bitstream format does support them. To add such comments you will need to manipulate the th_comment structure directly.
-
Parameters:
- - - - -
_tc The th_comment struct to add the comment to.
_tag A null-terminated string containing the tag associated with the comment.
_val The corresponding value as a null-terminated string.
-
-
- -
-
- -
-
- - - - - - - - - -
void th_comment_clear (th_comment _tc ) 
-
-
- -

Clears a th_comment structure.

-

This should be called on a th_comment structure after it is no longer needed. It will free all memory used by the structure members.

-
Parameters:
- - -
_tc The th_comment struct to clear.
-
-
- -
-
- -
-
- - - - - - - - - -
void th_comment_init (th_comment _tc ) 
-
-
- -

Initialize a th_comment structure.

-

This should be called on a freshly allocated th_comment structure before attempting to use it.

-
Parameters:
- - -
_tc The th_comment struct to initialize.
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
char* th_comment_query (th_comment _tc,
char *  _tag,
int  _count 
)
-
-
- -

Look up a comment value by its tag.

-
Parameters:
- - - - -
_tc An initialized th_comment structure.
_tag The tag to look up.
_count The instance of the tag. The same tag can appear multiple times, each with a distinct value, so an index is required to retrieve them all. The order in which these values appear is significant and should be preserved. Use th_comment_query_count() to get the legal range for the _count parameter.
-
-
-
Returns:
A pointer to the queried tag's value. This points directly to data in the th_comment structure. It should not be modified or freed by the application, and modifications to the structure may invalidate the pointer.
-
Return values:
- - -
NULL If no matching tag is found.
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int th_comment_query_count (th_comment _tc,
char *  _tag 
)
-
-
- -

Look up the number of instances of a tag.

-

Call this first when querying for a specific tag and then iterate over the number of instances with separate calls to th_comment_query() to retrieve all the values for that tag in order.

-
Parameters:
- - - -
_tc An initialized th_comment structure.
_tag The tag to look up.
-
-
-
Returns:
The number on instances of this particular tag.
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
ogg_int64_t th_granule_frame (void *  _encdec,
ogg_int64_t  _granpos 
)
-
-
- -

Converts a granule position to an absolute frame index, starting at 0.

-

The granule position is interpreted in the context of a given th_enc_ctx or th_dec_ctx handle (either will suffice).

-
Parameters:
- - - -
_encdec A previously allocated th_enc_ctx or th_dec_ctx handle.
_granpos The granule position to convert.
-
-
-
Returns:
The absolute frame index corresponding to _granpos.
-
Return values:
- - -
-1 The given granule position was invalid (i.e. negative).
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
double th_granule_time (void *  _encdec,
ogg_int64_t  _granpos 
)
-
-
- -

Converts a granule position to an absolute time in seconds.

-

The granule position is interpreted in the context of a given th_enc_ctx or th_dec_ctx handle (either will suffice).

-
Parameters:
- - - -
_encdec A previously allocated th_enc_ctx or th_dec_ctx handle.
_granpos The granule position to convert.
-
-
-
Returns:
The absolute time in seconds corresponding to _granpos. This is the "end time" for the frame, or the latest time it should be displayed. It is not the presentation time.
-
Return values:
- - -
-1 The given granule position was invalid (i.e. negative).
-
-
- -
-
- -
-
- - - - - - - - - -
void th_info_clear (th_info _info ) 
-
-
- -

Clears a th_info structure.

-

This should be called on a th_info structure after it is no longer needed.

-
Parameters:
- - -
_info The th_info struct to clear.
-
-
- -
-
- -
-
- - - - - - - - - -
void th_info_init (th_info _info ) 
-
-
- -

Initializes a th_info structure.

-

This should be called on a freshly allocated th_info structure before attempting to use it.

-
Parameters:
- - -
_info The th_info struct to initialize.
-
-
- -
-
- -
-
- - - - - - - - - -
int th_packet_isheader (ogg_packet *  _op ) 
-
-
- -

Determines whether a Theora packet is a header or not.

-

This function does no verification beyond checking the packet type bit, so it should not be used for bitstream identification; use th_decode_headerin() for that. As per the Theora specification, an empty (0-byte) packet is treated as a data packet (a delta frame with no coded blocks).

-
Parameters:
- - -
_op An ogg_packet containing encoded Theora data.
-
-
-
Return values:
- - - -
1 The packet is a header packet
0 The packet is a video data packet.
-
-
- -
-
- -
-
- - - - - - - - - -
int th_packet_iskeyframe (ogg_packet *  _op ) 
-
-
- -

Determines whether a theora packet is a key frame or not.

-

This function does no verification beyond checking the packet type and key frame bits, so it should not be used for bitstream identification; use th_decode_headerin() for that. As per the Theora specification, an empty (0-byte) packet is treated as a delta frame (with no coded blocks).

-
Parameters:
- - -
_op An ogg_packet containing encoded Theora data.
-
-
-
Return values:
- - - - -
1 The packet contains a key frame.
0 The packet contains a delta frame.
-1 The packet is not a video data packet.
-
-
- -
-
- -
-
- - - - - - - - - -
ogg_uint32_t th_version_number (void  ) 
-
-
- -

Retrieves the library version number.

-

This is the highest bitstream version that the encoder library will produce, or that the decoder library can decode. This number is composed of a 16-bit major version, 8-bit minor version and 8 bit sub-version, composed as follows:

-
 (VERSION_MAJOR<<16)+(VERSION_MINOR<<8)+(VERSION_SUBMINOR)
-
Returns:
the version number.
- -
-
- -
-
- - - - - - - - - -
const char* th_version_string (void  ) 
-
-
- -

Retrieves a human-readable string to identify the library vendor and version.

-
Returns:
the version string.
- -
-
-
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/group__decfuncs.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/group__decfuncs.html deleted file mode 100644 index d9e658e7..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/group__decfuncs.html +++ /dev/null @@ -1,367 +0,0 @@ - - - - -libtheora: Functions for Decoding - - - - - - -
-

Functions for Decoding

- - - - - - - - - - - - - - - - -

Functions for decoding

You must link to libtheoradec if you use any of the functions in this section.

-

The functions are listed in the order they are used in a typical decode. The basic steps are:

- -

int th_decode_headerin (th_info *_info, th_comment *_tc, th_setup_info **_setup, ogg_packet *_op)
 Decodes the header packets of a Theora stream.
th_dec_ctxth_decode_alloc (const th_info *_info, const th_setup_info *_setup)
 Allocates a decoder instance.
void th_setup_free (th_setup_info *_setup)
 Releases all storage used for the decoder setup information.
int th_decode_ctl (th_dec_ctx *_dec, int _req, void *_buf, size_t _buf_sz)
 Decoder control function.
int th_decode_packetin (th_dec_ctx *_dec, const ogg_packet *_op, ogg_int64_t *_granpos)
 Submits a packet containing encoded video data to the decoder.
int th_decode_ycbcr_out (th_dec_ctx *_dec, th_ycbcr_buffer _ycbcr)
 Outputs the next available frame of decoded Y'CbCr data.
void th_decode_free (th_dec_ctx *_dec)
 Frees an allocated decoder instance.
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
th_dec_ctx* th_decode_alloc (const th_info _info,
const th_setup_info _setup 
)
-
-
- -

Allocates a decoder instance.

-

Security Warning: The Theora format supports very large frame sizes, potentially even larger than the address space of a 32-bit machine, and creating a decoder context allocates the space for several frames of data. If the allocation fails here, your program will crash, possibly at some future point because the OS kernel returned a valid memory range and will only fail when it tries to map the pages in it the first time they are used. Even if it succeeds, you may experience a denial of service if the frame size is large enough to cause excessive paging. If you are integrating libtheora in a larger application where such things are undesirable, it is highly recommended that you check the frame size in _info before calling this function and refuse to decode streams where it is larger than some reasonable maximum. libtheora will not check this for you, because there may be machines that can handle such streams and applications that wish to.

-
Parameters:
- - - -
_info A th_info struct filled via th_decode_headerin().
_setup A th_setup_info handle returned via th_decode_headerin().
-
-
-
Returns:
The initialized th_dec_ctx handle.
-
Return values:
- - -
NULL If the decoding parameters were invalid.
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int th_decode_ctl (th_dec_ctx _dec,
int  _req,
void *  _buf,
size_t  _buf_sz 
)
-
-
- -

Decoder control function.

-

This is used to provide advanced control of the decoding process.

-
Parameters:
- - - - - -
_dec A th_dec_ctx handle.
_req The control code to process. See the list of available control codes for details.
_buf The parameters for this control code.
_buf_sz The size of the parameter buffer.
-
-
- -
-
- -
-
- - - - - - - - - -
void th_decode_free (th_dec_ctx _dec ) 
-
-
- -

Frees an allocated decoder instance.

-
Parameters:
- - -
_dec A th_dec_ctx handle.
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int th_decode_headerin (th_info _info,
th_comment _tc,
th_setup_info **  _setup,
ogg_packet *  _op 
)
-
-
- -

Decodes the header packets of a Theora stream.

-

This should be called on the initial packets of the stream, in succession, until it returns 0, indicating that all headers have been processed, or an error is encountered. At least three header packets are required, and additional optional header packets may follow. This can be used on the first packet of any logical stream to determine if that stream is a Theora stream.

-
Parameters:
- - - - - -
_info A th_info structure to fill in. This must have been previously initialized with th_info_init(). The application may immediately begin using the contents of this structure after the first header is decoded, though it must continue to be passed in on all subsequent calls.
_tc A th_comment structure to fill in. The application may immediately begin using the contents of this structure after the second header is decoded, though it must continue to be passed in on all subsequent calls.
_setup Returns a pointer to additional, private setup information needed by the decoder. The contents of this pointer must be initialized to NULL on the first call, and the returned value must continue to be passed in on all subsequent calls.
_op An ogg_packet structure which contains one of the initial packets of an Ogg logical stream.
-
-
-
Returns:
A positive value indicates that a Theora header was successfully processed.
-
Return values:
- - - - - - -
0 The first video data packet was encountered after all required header packets were parsed. The packet just passed in on this call should be saved and fed to th_decode_packetin() to begin decoding video data.
TH_EFAULT One of _info, _tc, or _setup was NULL.
TH_EBADHEADER _op was NULL, the packet was not the next header packet in the expected sequence, or the format of the header data was invalid.
TH_EVERSION The packet data was a Theora info header, but for a bitstream version not decodable with this version of libtheoradec.
TH_ENOTFORMAT The packet was not a Theora header.
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
int th_decode_packetin (th_dec_ctx _dec,
const ogg_packet *  _op,
ogg_int64_t *  _granpos 
)
-
-
- -

Submits a packet containing encoded video data to the decoder.

-
Parameters:
- - - - -
_dec A th_dec_ctx handle.
_op An ogg_packet containing encoded video data.
_granpos Returns the granule position of the decoded packet. If non-NULL, the granule position for this specific packet is stored in this location. This is computed incrementally from previously decoded packets. After a seek, the correct granule position must be set via TH_DECCTL_SET_GRANPOS for this to work properly.
-
-
-
Return values:
- - - - - - -
0 Success. A new decoded frame can be retrieved by calling th_decode_ycbcr_out().
TH_DUPFRAME The packet represented a dropped (0-byte) frame. The player can skip the call to th_decode_ycbcr_out(), as the contents of the decoded frame buffer have not changed.
TH_EFAULT _dec or _op was NULL.
TH_EBADPACKET _op does not contain encoded video data.
TH_EIMPL The video data uses bitstream features which this library does not support.
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int th_decode_ycbcr_out (th_dec_ctx _dec,
th_ycbcr_buffer  _ycbcr 
)
-
-
- -

Outputs the next available frame of decoded Y'CbCr data.

-

If a striped decode callback has been set with TH_DECCTL_SET_STRIPE_CB, then the application does not need to call this function.

-
Parameters:
- - - -
_dec A th_dec_ctx handle.
_ycbcr A video buffer structure to fill in. libtheoradec will fill in all the members of this structure, including the pointers to the uncompressed video data. The memory for this video data is owned by libtheoradec. It may be freed or overwritten without notification when subsequent frames are decoded.
-
-
-
Return values:
- - - -
0 Success
TH_EFAULT _dec or _ycbcr was NULL.
-
-
- -
-
- -
-
- - - - - - - - - -
void th_setup_free (th_setup_info _setup ) 
-
-
- -

Releases all storage used for the decoder setup information.

-

This should be called after you no longer want to create any decoders for a stream whose headers you have parsed with th_decode_headerin().

-
Parameters:
- - -
_setup The setup information to free. This can safely be NULL.
-
-
- -
-
-
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/group__encfuncs.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/group__encfuncs.html deleted file mode 100644 index a080c39f..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/group__encfuncs.html +++ /dev/null @@ -1,317 +0,0 @@ - - - - -libtheora: Functions for Encoding - - - - - - -
-

Functions for Encoding

- - - - - - - - - - - - - - -

Functions for encoding

You must link to libtheoraenc and libtheoradec if you use any of the functions in this section.

-

The functions are listed in the order they are used in a typical encode. The basic steps are:

- -

th_enc_ctxth_encode_alloc (const th_info *_info)
 Allocates an encoder instance.
int th_encode_ctl (th_enc_ctx *_enc, int _req, void *_buf, size_t _buf_sz)
 Encoder control function.
int th_encode_flushheader (th_enc_ctx *_enc, th_comment *_comments, ogg_packet *_op)
 Outputs the next header packet.
int th_encode_ycbcr_in (th_enc_ctx *_enc, th_ycbcr_buffer _ycbcr)
 Submits an uncompressed frame to the encoder.
int th_encode_packetout (th_enc_ctx *_enc, int _last, ogg_packet *_op)
 Retrieves encoded video data packets.
void th_encode_free (th_enc_ctx *_enc)
 Frees an allocated encoder instance.
-

Function Documentation

- -
-
- - - - - - - - - -
th_enc_ctx* th_encode_alloc (const th_info _info ) 
-
-
- -

Allocates an encoder instance.

-
Parameters:
- - -
_info A th_info struct filled with the desired encoding parameters.
-
-
-
Returns:
The initialized th_enc_ctx handle.
-
Return values:
- - -
NULL If the encoding parameters were invalid.
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int th_encode_ctl (th_enc_ctx _enc,
int  _req,
void *  _buf,
size_t  _buf_sz 
)
-
-
- -

Encoder control function.

-

This is used to provide advanced control the encoding process.

-
Parameters:
- - - - - -
_enc A th_enc_ctx handle.
_req The control code to process. See the list of available control codes for details.
_buf The parameters for this control code.
_buf_sz The size of the parameter buffer.
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
int th_encode_flushheader (th_enc_ctx _enc,
th_comment _comments,
ogg_packet *  _op 
)
-
-
- -

Outputs the next header packet.

-

This should be called repeatedly after encoder initialization until it returns 0 in order to get all of the header packets, in order, before encoding actual video data.

-
Parameters:
- - - - -
_enc A th_enc_ctx handle.
_comments The metadata to place in the comment header, when it is encoded.
_op An ogg_packet structure to fill. All of the elements of this structure will be set, including a pointer to the header data. The memory for the header data is owned by libtheoraenc, and may be invalidated when the next encoder function is called.
-
-
-
Returns:
A positive value indicates that a header packet was successfully produced.
-
Return values:
- - - -
0 No packet was produced, and no more header packets remain.
TH_EFAULT _enc, _comments, or _op was NULL.
-
-
- -
-
- -
-
- - - - - - - - - -
void th_encode_free (th_enc_ctx _enc ) 
-
-
- -

Frees an allocated encoder instance.

-
Parameters:
- - -
_enc A th_enc_ctx handle.
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
int th_encode_packetout (th_enc_ctx _enc,
int  _last,
ogg_packet *  _op 
)
-
-
- -

Retrieves encoded video data packets.

-

This should be called repeatedly after each frame is submitted to flush any encoded packets, until it returns 0. The encoder will not buffer these packets as subsequent frames are compressed, so a failure to do so will result in lost video data.

-
Note:
Currently the encoder operates in a one-frame-in, one-packet-out manner. However, this may be changed in the future.
-
Parameters:
- - - - -
_enc A th_enc_ctx handle.
_last Set this flag to a non-zero value if no more uncompressed frames will be submitted. This ensures that a proper EOS flag is set on the last packet.
_op An ogg_packet structure to fill. All of the elements of this structure will be set, including a pointer to the video data. The memory for the video data is owned by libtheoraenc, and may be invalidated when the next encoder function is called.
-
-
-
Returns:
A positive value indicates that a video data packet was successfully produced.
-
Return values:
- - - -
0 No packet was produced, and no more encoded video data remains.
TH_EFAULT _enc or _op was NULL.
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int th_encode_ycbcr_in (th_enc_ctx _enc,
th_ycbcr_buffer  _ycbcr 
)
-
-
- -

Submits an uncompressed frame to the encoder.

-
Parameters:
- - - -
_enc A th_enc_ctx handle.
_ycbcr A buffer of Y'CbCr data to encode.
-
-
-
Return values:
- - - - -
0 Success.
TH_EFAULT _enc or _ycbcr is NULL.
TH_EINVAL The buffer size does not match the frame size the encoder was initialized with, or encoding has already completed.
-
-
- -
-
-
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/group__oldfuncs.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/group__oldfuncs.html deleted file mode 100644 index 89cbd91f..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/group__oldfuncs.html +++ /dev/null @@ -1,1606 +0,0 @@ - - - - -libtheora: Legacy pre-1.0 C API - - - - - - -
-

Legacy pre-1.0 C API

- - - - - - - - - - - - -

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  yuv_buffer
 A YUV buffer for passing uncompressed frames to and from the codec. More...
struct  theora_info
 Theora bitstream info. More...
struct  theora_state
 Codec internal state and context. More...
struct  theora_comment
 Comment header metadata. More...

Files

file  theora.h
 

The libtheora pre-1.0 legacy C API.

-

Defines

#define OC_FAULT   -1
 General failure.
#define OC_EINVAL   -10
 Library encountered invalid internal data.
#define OC_DISABLED   -11
 Requested action is disabled.
#define OC_BADHEADER   -20
 Header packet was corrupt/invalid.
#define OC_NOTFORMAT   -21
 Packet is not a theora packet.
#define OC_VERSION   -22
 Bitstream version is not handled.
#define OC_IMPL   -23
 Feature or action not implemented.
#define OC_BADPACKET   -24
 Packet is corrupt.
#define OC_NEWPACKET   -25
 Packet is an (ignorable) unhandled extension.
#define OC_DUPFRAME   1
 Packet is a dropped frame.

Enumerations

enum  theora_colorspace { OC_CS_UNSPECIFIED, -OC_CS_ITU_REC_470M, -OC_CS_ITU_REC_470BG, -OC_CS_NSPACES - }
 

A Colorspace.

- More...
enum  theora_pixelformat { OC_PF_420, -OC_PF_RSVD, -OC_PF_422, -OC_PF_444 - }
 

A Chroma subsampling.

- More...

Functions

const char * theora_version_string (void)
 Retrieve a human-readable string to identify the encoder vendor and version.
ogg_uint32_t theora_version_number (void)
 Retrieve a 32-bit version number.
int theora_encode_init (theora_state *th, theora_info *ti)
 Initialize the theora encoder.
int theora_encode_YUVin (theora_state *t, yuv_buffer *yuv)
 Submit a YUV buffer to the theora encoder.
int theora_encode_packetout (theora_state *t, int last_p, ogg_packet *op)
 Request the next packet of encoded video.
int theora_encode_header (theora_state *t, ogg_packet *op)
 Request a packet containing the initial header.
int theora_encode_comment (theora_comment *tc, ogg_packet *op)
 Request a comment header packet from provided metadata.
int theora_encode_tables (theora_state *t, ogg_packet *op)
 Request a packet containing the codebook tables for the stream.
int theora_decode_header (theora_info *ci, theora_comment *cc, ogg_packet *op)
 Decode an Ogg packet, with the expectation that the packet contains an initial header, comment data or codebook tables.
int theora_decode_init (theora_state *th, theora_info *c)
 Initialize a theora_state handle for decoding.
int theora_decode_packetin (theora_state *th, ogg_packet *op)
 Input a packet containing encoded data into the theora decoder.
int theora_decode_YUVout (theora_state *th, yuv_buffer *yuv)
 Output the next available frame of decoded YUV data.
int theora_packet_isheader (ogg_packet *op)
 Report whether a theora packet is a header or not This function does no verification beyond checking the header flag bit so it should not be used for bitstream identification; use theora_decode_header() for that.
int theora_packet_iskeyframe (ogg_packet *op)
 Report whether a theora packet is a keyframe or not.
int theora_granule_shift (theora_info *ti)
 Report the granulepos shift radix.
ogg_int64_t theora_granule_frame (theora_state *th, ogg_int64_t granulepos)
 Convert a granulepos to an absolute frame index, starting at 0.
double theora_granule_time (theora_state *th, ogg_int64_t granulepos)
 Convert a granulepos to absolute time in seconds.
void theora_info_init (theora_info *c)
 Initialize a theora_info structure.
void theora_info_clear (theora_info *c)
 Clear a theora_info structure.
void theora_clear (theora_state *t)
 Free all internal data associated with a theora_state handle.
void theora_comment_init (theora_comment *tc)
 Initialize an allocated theora_comment structure.
void theora_comment_add (theora_comment *tc, char *comment)
 Add a comment to an initialized theora_comment structure.
void theora_comment_add_tag (theora_comment *tc, char *tag, char *value)
 Add a comment to an initialized theora_comment structure.
char * theora_comment_query (theora_comment *tc, char *tag, int count)
 Look up a comment value by tag.
int theora_comment_query_count (theora_comment *tc, char *tag)
 Look up the number of instances of a tag.
void theora_comment_clear (theora_comment *tc)
 Clear an allocated theora_comment struct so that it can be freed.
int theora_control (theora_state *th, int req, void *buf, size_t buf_sz)
 Encoder control function.

theora_control() codes

-

#define TH_DECCTL_GET_PPLEVEL_MAX   (1)
 Get the maximum post-processing level.
#define TH_DECCTL_SET_PPLEVEL   (3)
 Set the post-processing level.
#define TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE   (4)
 Sets the maximum distance between key frames.
#define TH_DECCTL_SET_GRANPOS   (5)
 Set the granule position.
#define TH_ENCCTL_SET_QUANT_PARAMS   (2)
 Sets the quantization parameters to use.
#define TH_ENCCTL_SET_VP3_COMPATIBLE   (10)
 Disables any encoder features that would prevent lossless transcoding back to VP3.
#define TH_ENCCTL_GET_SPLEVEL_MAX   (12)
 Gets the maximum speed level.
#define TH_ENCCTL_SET_SPLEVEL   (14)
 Sets the speed level.
-

Define Documentation

- -
-
- - - - -
#define OC_BADHEADER   -20
-
-
- -

Header packet was corrupt/invalid.

- -
-
- -
-
- - - - -
#define OC_BADPACKET   -24
-
-
- -

Packet is corrupt.

- -
-
- -
-
- - - - -
#define OC_DISABLED   -11
-
-
- -

Requested action is disabled.

- -
-
- -
-
- - - - -
#define OC_DUPFRAME   1
-
-
- -

Packet is a dropped frame.

- -
-
- -
-
- - - - -
#define OC_EINVAL   -10
-
-
- -

Library encountered invalid internal data.

- -
-
- -
-
- - - - -
#define OC_FAULT   -1
-
-
- -

General failure.

- -
-
- -
-
- - - - -
#define OC_IMPL   -23
-
-
- -

Feature or action not implemented.

- -
-
- -
-
- - - - -
#define OC_NEWPACKET   -25
-
-
- -

Packet is an (ignorable) unhandled extension.

- -
-
- -
-
- - - - -
#define OC_NOTFORMAT   -21
-
-
- -

Packet is not a theora packet.

- -
-
- -
-
- - - - -
#define OC_VERSION   -22
-
-
- -

Bitstream version is not handled.

- -
-
- -
-
- - - - -
#define TH_DECCTL_GET_PPLEVEL_MAX   (1)
-
-
- -

Get the maximum post-processing level.

-

The decoder supports a post-processing filter that can improve the appearance of the decoded images. This returns the highest level setting for this post-processor, corresponding to maximum improvement and computational expense.

- -
-
- -
-
- - - - -
#define TH_DECCTL_SET_GRANPOS   (5)
-
-
- -

Set the granule position.

-

Call this after a seek, to update the internal granulepos in the decoder, to insure that subsequent frames are marked properly. If you track timestamps yourself and do not use the granule postion returned by the decoder, then you do not need to use this control.

- -
-
- -
-
- - - - -
#define TH_DECCTL_SET_PPLEVEL   (3)
-
-
- -

Set the post-processing level.

-

Sets the level of post-processing to use when decoding the compressed stream. This must be a value between zero (off) and the maximum returned by TH_DECCTL_GET_PPLEVEL_MAX.

- -
-
- -
-
- - - - -
#define TH_ENCCTL_GET_SPLEVEL_MAX   (12)
-
-
- -

Gets the maximum speed level.

-

Higher speed levels favor quicker encoding over better quality per bit. Depending on the encoding mode, and the internal algorithms used, quality may actually improve, but in this case bitrate will also likely increase. In any case, overall rate/distortion performance will probably decrease. The maximum value, and the meaning of each value, may change depending on the current encoding mode (VBR vs. CQI, etc.).

-
Parameters:
- - -
[out] buf int: The maximum encoding speed level.
-
-
-
Return values:
- - - - -
OC_FAULT theora_state or buf is NULL.
OC_EINVAL buf_sz is not sizeof(int).
OC_IMPL Not supported by this implementation in the current encoding mode.
-
-
- -
-
- -
-
- - - - -
#define TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE   (4)
-
-
- -

Sets the maximum distance between key frames.

-

This can be changed during an encode, but will be bounded by 1<<th_info::keyframe_granule_shift. If it is set before encoding begins, th_info::keyframe_granule_shift will be enlarged appropriately.

-
Parameters:
- - - -
[in] buf ogg_uint32_t: The maximum distance between key frames.
[out] buf ogg_uint32_t: The actual maximum distance set.
-
-
-
Return values:
- - - - -
OC_FAULT theora_state or buf is NULL.
OC_EINVAL buf_sz is not sizeof(ogg_uint32_t).
OC_IMPL Not supported by this implementation.
-
-
- -
-
- -
-
- - - - -
#define TH_ENCCTL_SET_QUANT_PARAMS   (2)
-
-
- -

Sets the quantization parameters to use.

-

The parameters are copied, not stored by reference, so they can be freed after this call. NULL may be specified to revert to the default parameters.

-
Parameters:
- - -
[in] buf th_quant_info
-
-
-
Return values:
- - - - -
OC_FAULT theora_state is NULL.
OC_EINVAL Encoding has already begun, the quantization parameters are not acceptable to this version of the encoder, buf is NULL and buf_sz is not zero, or buf is non-NULL and buf_sz is not sizeof(th_quant_info).
OC_IMPL Not supported by this implementation.
-
-
- -
-
- -
-
- - - - -
#define TH_ENCCTL_SET_SPLEVEL   (14)
-
-
- -

Sets the speed level.

-

By default a speed value of 1 is used.

-
Parameters:
- - -
[in] buf int: The new encoding speed level. 0 is slowest, larger values use less CPU.
-
-
-
Return values:
- - - - -
OC_FAULT theora_state or buf is NULL.
OC_EINVAL buf_sz is not sizeof(int), or the encoding speed level is out of bounds. The maximum encoding speed level may be implementation- and encoding mode-specific, and can be obtained via TH_ENCCTL_GET_SPLEVEL_MAX.
OC_IMPL Not supported by this implementation in the current encoding mode.
-
-
- -
-
- -
-
- - - - -
#define TH_ENCCTL_SET_VP3_COMPATIBLE   (10)
-
-
- -

Disables any encoder features that would prevent lossless transcoding back to VP3.

-

This primarily means disabling block-level QI values and not using 4MV mode when any of the luma blocks in a macro block are not coded. It also includes using the VP3 quantization tables and Huffman codes; if you set them explicitly after calling this function, the resulting stream will not be VP3-compatible. If you enable VP3-compatibility when encoding 4:2:2 or 4:4:4 source material, or when using a picture region smaller than the full frame (e.g. a non-multiple-of-16 width or height), then non-VP3 bitstream features will still be disabled, but the stream will still not be VP3-compatible, as VP3 was not capable of encoding such formats. If you call this after encoding has already begun, then the quantization tables and codebooks cannot be changed, but the frame-level features will be enabled or disabled as requested.

-
Parameters:
- - - -
[in] buf int: a non-zero value to enable VP3 compatibility, or 0 to disable it (the default).
[out] buf int: 1 if all bitstream features required for VP3-compatibility could be set, and 0 otherwise. The latter will be returned if the pixel format is not 4:2:0, the picture region is smaller than the full frame, or if encoding has begun, preventing the quantization tables and codebooks from being set.
-
-
-
Return values:
- - - - -
OC_FAULT theora_state or buf is NULL.
OC_EINVAL buf_sz is not sizeof(int).
OC_IMPL Not supported by this implementation.
-
-
- -
-
-

Enumeration Type Documentation

- -
-
- - - - -
enum theora_colorspace
-
-
- -

A Colorspace.

-
Enumerator:
- - - - -
OC_CS_UNSPECIFIED  -

The colorspace is unknown or unspecified.

-
OC_CS_ITU_REC_470M  -

This is the best option for 'NTSC' content.

-
OC_CS_ITU_REC_470BG  -

This is the best option for 'PAL' content.

-
OC_CS_NSPACES  -

This marks the end of the defined colorspaces.

-
-
-
- -
-
- -
-
- - - - -
enum theora_pixelformat
-
-
- -

A Chroma subsampling.

-

These enumerate the available chroma subsampling options supported by the theora format. See Section 4.4 of the specification for exact definitions.

-
Enumerator:
- - - - -
OC_PF_420  -

Chroma subsampling by 2 in each direction (4:2:0).

-
OC_PF_RSVD  -

Reserved value.

-
OC_PF_422  -

Horizonatal chroma subsampling by 2 (4:2:2).

-
OC_PF_444  -

No chroma subsampling at all (4:4:4).

-
-
-
- -
-
-

Function Documentation

- -
-
- - - - - - - - - -
void theora_clear (theora_state t ) 
-
-
- -

Free all internal data associated with a theora_state handle.

-
Parameters:
- - -
t A theora_state handle.
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void theora_comment_add (theora_comment tc,
char *  comment 
)
-
-
- -

Add a comment to an initialized theora_comment structure.

-
Parameters:
- - - -
tc A previously initialized theora comment structure
comment A null-terminated string encoding the comment in the form "TAG=the value"
-
-
-

Neither theora_comment_add() nor theora_comment_add_tag() support comments containing null values, although the bitstream format supports this. To add such comments you will need to manipulate the theora_comment structure directly.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void theora_comment_add_tag (theora_comment tc,
char *  tag,
char *  value 
)
-
-
- -

Add a comment to an initialized theora_comment structure.

-
Parameters:
- - - - -
tc A previously initialized theora comment structure
tag A null-terminated string containing the tag associated with the comment.
value The corresponding value as a null-terminated string
-
-
-

Neither theora_comment_add() nor theora_comment_add_tag() support comments containing null values, although the bitstream format supports this. To add such comments you will need to manipulate the theora_comment structure directly.

- -
-
- -
-
- - - - - - - - - -
void theora_comment_clear (theora_comment tc ) 
-
-
- -

Clear an allocated theora_comment struct so that it can be freed.

-
Parameters:
- - -
tc An allocated theora_comment structure.
-
-
- -
-
- -
-
- - - - - - - - - -
void theora_comment_init (theora_comment tc ) 
-
-
- -

Initialize an allocated theora_comment structure.

-
Parameters:
- - -
tc An allocated theora_comment structure
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
char* theora_comment_query (theora_comment tc,
char *  tag,
int  count 
)
-
-
- -

Look up a comment value by tag.

-
Parameters:
- - - - -
tc Tn initialized theora_comment structure
tag The tag to look up
count The instance of the tag. The same tag can appear multiple times, each with a distinct and ordered value, so an index is required to retrieve them all.
-
-
-
Returns:
A pointer to the queried tag's value
-
Return values:
- - -
NULL No matching tag is found
-
-
-
Note:
Use theora_comment_query_count() to get the legal range for the count parameter.
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int theora_comment_query_count (theora_comment tc,
char *  tag 
)
-
-
- -

Look up the number of instances of a tag.

-
Parameters:
- - - -
tc An initialized theora_comment structure
tag The tag to look up
-
-
-
Returns:
The number on instances of a particular tag.
-

Call this first when querying for a specific tag and then interate over the number of instances with separate calls to theora_comment_query() to retrieve all instances in order.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int theora_control (theora_state th,
int  req,
void *  buf,
size_t  buf_sz 
)
-
-
- -

Encoder control function.

-

This is used to provide advanced control the encoding process.

-
Parameters:
- - - - - -
th A theora_state handle.
req The control code to process. See the list of available control codes for details.
buf The parameters for this control code.
buf_sz The size of the parameter buffer.
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
int theora_decode_header (theora_info ci,
theora_comment cc,
ogg_packet *  op 
)
-
-
- -

Decode an Ogg packet, with the expectation that the packet contains an initial header, comment data or codebook tables.

-
Parameters:
- - - - -
ci A theora_info structure to fill. This must have been previously initialized with theora_info_init(). If op contains an initial header, theora_decode_header() will fill ci with the parsed header values. If op contains codebook tables, theora_decode_header() will parse these and attach an internal representation to ci->codec_setup.
cc A theora_comment structure to fill. If op contains comment data, theora_decode_header() will fill cc with the parsed comments.
op An ogg_packet structure which you expect contains an initial header, comment data or codebook tables.
-
-
-
Return values:
- - - - - -
OC_BADHEADER op is NULL; OR the first byte of op->packet has the signature of an initial packet, but op is not a b_o_s packet; OR this packet has the signature of an initial header packet, but an initial header packet has already been seen; OR this packet has the signature of a comment packet, but the initial header has not yet been seen; OR this packet has the signature of a comment packet, but contains invalid data; OR this packet has the signature of codebook tables, but the initial header or comments have not yet been seen; OR this packet has the signature of codebook tables, but contains invalid data; OR the stream being decoded has a compatible version but this packet does not have the signature of a theora initial header, comments, or codebook packet
OC_VERSION The packet data of op is an initial header with a version which is incompatible with this version of libtheora.
OC_NEWPACKET the stream being decoded has an incompatible (future) version and contains an unknown signature.
0 Success
-
-
-
Note:
The normal usage is that theora_decode_header() be called on the first three packets of a theora logical bitstream in succession.
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int theora_decode_init (theora_state th,
theora_info c 
)
-
-
- -

Initialize a theora_state handle for decoding.

-
Parameters:
- - - -
th The theora_state handle to initialize.
c A theora_info struct filled with the desired decoding parameters. This is of course usually obtained from a previous call to theora_decode_header().
-
-
-
Return values:
- - -
0 Success
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int theora_decode_packetin (theora_state th,
ogg_packet *  op 
)
-
-
- -

Input a packet containing encoded data into the theora decoder.

-
Parameters:
- - - -
th A theora_state handle previously initialized for decoding.
op An ogg_packet containing encoded theora data.
-
-
-
Return values:
- - - -
0 Success
OC_BADPACKET op does not contain encoded video data
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int theora_decode_YUVout (theora_state th,
yuv_buffer yuv 
)
-
-
- -

Output the next available frame of decoded YUV data.

-
Parameters:
- - - -
th A theora_state handle previously initialized for decoding.
yuv A yuv_buffer in which libtheora should place the decoded data. Note that the buffer struct itself is allocated by the user, but that the luma and chroma pointers will be filled in by the library. Also note that these luma and chroma regions should be considered read-only by the user.
-
-
-
Return values:
- - -
0 Success
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int theora_encode_comment (theora_comment tc,
ogg_packet *  op 
)
-
-
- -

Request a comment header packet from provided metadata.

-

A pointer to the comment data is placed in a user-provided ogg_packet structure.

-
Parameters:
- - - -
tc A theora_comment structure filled with the desired metadata
op An ogg_packet structure to fill. libtheora will set all elements of this structure, including a pointer to the encoded comment data. The memory for the comment data is owned by libtheora.
-
-
-
Return values:
- - -
0 Success
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int theora_encode_header (theora_state t,
ogg_packet *  op 
)
-
-
- -

Request a packet containing the initial header.

-

A pointer to the header data is placed in a user-provided ogg_packet structure.

-
Parameters:
- - - -
t A theora_state handle previously initialized for encoding.
op An ogg_packet structure to fill. libtheora will set all elements of this structure, including a pointer to the header data. The memory for the header data is owned by libtheora.
-
-
-
Return values:
- - -
0 Success
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int theora_encode_init (theora_state th,
theora_info ti 
)
-
-
- -

Initialize the theora encoder.

-
Parameters:
- - - -
th The theora_state handle to initialize for encoding.
ti A theora_info struct filled with the desired encoding parameters.
-
-
-
Return values:
- - -
0 Success
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
int theora_encode_packetout (theora_state t,
int  last_p,
ogg_packet *  op 
)
-
-
- -

Request the next packet of encoded video.

-

The encoded data is placed in a user-provided ogg_packet structure.

-
Parameters:
- - - - -
t A theora_state handle previously initialized for encoding.
last_p whether this is the last packet the encoder should produce.
op An ogg_packet structure to fill. libtheora will set all elements of this structure, including a pointer to encoded data. The memory for the encoded data is owned by libtheora.
-
-
-
Return values:
- - - - -
0 No internal storage exists OR no packet is ready
-1 The encoding process has completed
1 Success
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int theora_encode_tables (theora_state t,
ogg_packet *  op 
)
-
-
- -

Request a packet containing the codebook tables for the stream.

-

A pointer to the codebook data is placed in a user-provided ogg_packet structure.

-
Parameters:
- - - -
t A theora_state handle previously initialized for encoding.
op An ogg_packet structure to fill. libtheora will set all elements of this structure, including a pointer to the codebook data. The memory for the header data is owned by libtheora.
-
-
-
Return values:
- - -
0 Success
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int theora_encode_YUVin (theora_state t,
yuv_buffer yuv 
)
-
-
- -

Submit a YUV buffer to the theora encoder.

-
Parameters:
- - - -
t A theora_state handle previously initialized for encoding.
yuv A buffer of YUV data to encode. Note that both the yuv_buffer struct and the luma/chroma buffers within should be allocated by the user.
-
-
-
Return values:
- - - - -
OC_EINVAL Encoder is not ready, or is finished.
-1 The size of the given frame differs from those previously input
0 Success
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
ogg_int64_t theora_granule_frame (theora_state th,
ogg_int64_t  granulepos 
)
-
-
- -

Convert a granulepos to an absolute frame index, starting at 0.

-

The granulepos is interpreted in the context of a given theora_state handle.

-

Note that while the granulepos encodes the frame count (i.e. starting from 1) this call returns the frame index, starting from zero. Thus One can calculate the presentation time by multiplying the index by the rate.

-
Parameters:
- - - -
th A previously initialized theora_state handle (encode or decode)
granulepos The granulepos to convert.
-
-
-
Returns:
The frame index corresponding to granulepos.
-
Return values:
- - -
-1 The given granulepos is undefined (i.e. negative)
-
-
-

Thus function was added in the 1.0alpha4 release.

- -
-
- -
-
- - - - - - - - - -
int theora_granule_shift (theora_info ti ) 
-
-
- -

Report the granulepos shift radix.

-

When embedded in Ogg, Theora uses a two-part granulepos, splitting the 64-bit field into two pieces. The more-significant section represents the frame count at the last keyframe, and the less-significant section represents the count of frames since the last keyframe. In this way the overall field is still non-decreasing with time, but usefully encodes a pointer to the last keyframe, which is necessary for correctly restarting decode after a seek.

-

This function reports the number of bits used to represent the distance to the last keyframe, and thus how the granulepos field must be shifted or masked to obtain the two parts.

-

Since libtheora returns compressed data in an ogg_packet structure, this may be generally useful even if the Theora packets are not being used in an Ogg container.

-
Parameters:
- - -
ti A previously initialized theora_info struct
-
-
-
Returns:
The bit shift dividing the two granulepos fields
-

This function was added in the 1.0alpha5 release.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
double theora_granule_time (theora_state th,
ogg_int64_t  granulepos 
)
-
-
- -

Convert a granulepos to absolute time in seconds.

-

The granulepos is interpreted in the context of a given theora_state handle, and gives the end time of a frame's presentation as used in Ogg mux ordering.

-
Parameters:
- - - -
th A previously initialized theora_state handle (encode or decode)
granulepos The granulepos to convert.
-
-
-
Returns:
The absolute time in seconds corresponding to granulepos. This is the "end time" for the frame, or the latest time it should be displayed. It is not the presentation time.
-
Return values:
- - - -
-1. The given granulepos is undefined (i.e. negative), or
-1. The function has been disabled because floating point support is not available.
-
-
- -
-
- -
-
- - - - - - - - - -
void theora_info_clear (theora_info c ) 
-
-
- -

Clear a theora_info structure.

-

All values within the given theora_info structure are cleared, and associated internal codec setup data is freed.

-
Parameters:
- - -
c A theora_info struct to initialize.
-
-
- -
-
- -
-
- - - - - - - - - -
void theora_info_init (theora_info c ) 
-
-
- -

Initialize a theora_info structure.

-

All values within the given theora_info structure are initialized, and space is allocated within libtheora for internal codec setup data.

-
Parameters:
- - -
c A theora_info struct to initialize.
-
-
- -
-
- -
-
- - - - - - - - - -
int theora_packet_isheader (ogg_packet *  op ) 
-
-
- -

Report whether a theora packet is a header or not This function does no verification beyond checking the header flag bit so it should not be used for bitstream identification; use theora_decode_header() for that.

-
Parameters:
- - -
op An ogg_packet containing encoded theora data.
-
-
-
Return values:
- - - -
1 The packet is a header packet
0 The packet is not a header packet (and so contains frame data)
-
-
-

Thus function was added in the 1.0alpha4 release.

- -
-
- -
-
- - - - - - - - - -
int theora_packet_iskeyframe (ogg_packet *  op ) 
-
-
- -

Report whether a theora packet is a keyframe or not.

-
Parameters:
- - -
op An ogg_packet containing encoded theora data.
-
-
-
Return values:
- - - - -
1 The packet contains a keyframe image
0 The packet is contains an interframe delta
-1 The packet is not an image data packet at all
-
-
-

Thus function was added in the 1.0alpha4 release.

- -
-
- -
-
- - - - - - - - - -
ogg_uint32_t theora_version_number (void  ) 
-
-
- -

Retrieve a 32-bit version number.

-

This number is composed of a 16-bit major version, 8-bit minor version and 8 bit sub-version, composed as follows:

-
-   (VERSION_MAJOR<<16) + (VERSION_MINOR<<8) + (VERSION_SUB)
-
Returns:
The version number.
- -
-
- -
-
- - - - - - - - - -
const char* theora_version_string (void  ) 
-
-
- -

Retrieve a human-readable string to identify the encoder vendor and version.

-
Returns:
A version string.
- -
-
-
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/index.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/index.html deleted file mode 100644 index b1c83c1d..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/index.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - -libtheora: Main Page - - - - - - -
-

libtheora Documentation

1.1.0+svn

-Introduction

-

This is the documentation for libtheora C API. The current reference implementation for Theora, a free, patent-unencumbered video codec. Theora is derived from On2's VP3 codec with additional features and integration with Ogg multimedia formats by the Xiph.Org Foundation. Complete documentation of the format itself is available in the Theora specification.

-

-Organization

-

The functions documented here are actually subdivided into three separate libraries:

- -

New code should link to libtheoradec and, if using encoder features, libtheoraenc. Together these two export both the standard and the legacy API, so this is all that is needed by any code. The older libtheora library is provided just for compatibility with older build configurations.

-

In general the recommended 1.x API symbols can be distinguished by their th_ or TH_ namespace prefix. The older, legacy API uses theora_ or OC_ prefixes instead.

-
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/modules.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/modules.html deleted file mode 100644 index ad587393..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/modules.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - -libtheora: Module Index - - - - - - - -
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/structth__comment.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/structth__comment.html deleted file mode 100644 index 7c6428ad..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/structth__comment.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - -libtheora: th_comment Struct Reference - - - - - - -
-

th_comment Struct Reference

-

The comment information. -More...

- -

#include <codec.h>

- - - - - - - - - - -

Data Fields

char ** user_comments
 The array of comment string vectors.
int * comment_lengths
 An array of the corresponding length of each vector, in bytes.
int comments
 The total number of comment strings.
char * vendor
 The null-terminated vendor string.
-

Detailed Description

-

The comment information.

-

This structure holds the in-stream metadata corresponding to the 'comment' header packet. The comment header is meant to be used much like someone jotting a quick note on the label of a video. It should be a short, to the point text note that can be more than a couple words, but not more than a short paragraph.

-

The metadata is stored as a series of (tag, value) pairs, in length-encoded string vectors. The first occurrence of the '=' character delimits the tag and value. A particular tag may occur more than once, and order is significant. The character set encoding for the strings is always UTF-8, but the tag names are limited to ASCII, and treated as case-insensitive. See the Theora specification, Section 6.3.3 for details.

-

In filling in this structure, th_decode_headerin() will null-terminate the user_comment strings for safety. However, the bitstream format itself treats them as 8-bit clean vectors, possibly containing null characters, and so the length array should be treated as their authoritative length.

-

Field Documentation

- -
-
- - - - -
int* th_comment::comment_lengths
-
-
- -

An array of the corresponding length of each vector, in bytes.

- -
-
- -
-
- - - - -
int th_comment::comments
-
-
- -

The total number of comment strings.

- -
-
- -
-
- - - - -
char** th_comment::user_comments
-
-
- -

The array of comment string vectors.

- -
-
- -
-
- - - - -
char* th_comment::vendor
-
-
- -

The null-terminated vendor string.

-

This identifies the software used to encode the stream.

- -
-
-
The documentation for this struct was generated from the following file: -
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/structth__huff__code.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/structth__huff__code.html deleted file mode 100644 index 866e7259..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/structth__huff__code.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - -libtheora: th_huff_code Struct Reference - - - - - - -
-

th_huff_code Struct Reference

-

A Huffman code for a Theora DCT token. -More...

- -

#include <codec.h>

- - - - - - -

Data Fields

ogg_uint32_t pattern
 The bit pattern for the code, with the LSbit of the pattern aligned in the LSbit of the word.
int nbits
 The number of bits in the code.
-

Detailed Description

-

A Huffman code for a Theora DCT token.

-

Each set of Huffman codes in a given table must form a complete, prefix-free code. There is no requirement that all the tokens in a table have a valid code, but the current encoder is not optimized to take advantage of this. If each of the five grouops of 16 tables does not contain at least one table with a code for every token, then the encoder may fail to encode certain frames. The complete table in the first group of 16 does not have to be in the same place as the complete table in the other groups, but the complete tables in the remaining four groups must all be in the same place.

-

Field Documentation

- -
-
- - - - -
int th_huff_code::nbits
-
-
- -

The number of bits in the code.

-

This must be between 0 and 32, inclusive.

- -
-
- -
-
- - - - -
ogg_uint32_t th_huff_code::pattern
-
-
- -

The bit pattern for the code, with the LSbit of the pattern aligned in the LSbit of the word.

- -
-
-
The documentation for this struct was generated from the following file: -
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/structth__img__plane.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/structth__img__plane.html deleted file mode 100644 index 00d8c39f..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/structth__img__plane.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - -libtheora: th_img_plane Struct Reference - - - - - - -
-

th_img_plane Struct Reference

-

A buffer for a single color plane in an uncompressed image. -More...

- -

#include <codec.h>

- - - - - - - - - - -

Data Fields

int width
 The width of this plane.
int height
 The height of this plane.
int stride
 The offset in bytes between successive rows.
unsigned char * data
 A pointer to the beginning of the first row.
-

Detailed Description

-

A buffer for a single color plane in an uncompressed image.

-

This contains the image data in a left-to-right, top-down format. Each row of pixels is stored contiguously in memory, but successive rows need not be. Use stride to compute the offset of the next row. The encoder accepts both positive stride values (top-down in memory) and negative (bottom-up in memory). The decoder currently always generates images with positive strides.

-

Field Documentation

- -
-
- - - - -
unsigned char* th_img_plane::data
-
-
- -

A pointer to the beginning of the first row.

- -
-
- -
-
- - - - -
int th_img_plane::height
-
-
- -

The height of this plane.

- -
-
- -
-
- - - - -
int th_img_plane::stride
-
-
- -

The offset in bytes between successive rows.

- -
-
- -
-
- - - - -
int th_img_plane::width
-
-
- -

The width of this plane.

- -
-
-
The documentation for this struct was generated from the following file: -
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/structth__info.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/structth__info.html deleted file mode 100644 index 52f4b9b7..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/structth__info.html +++ /dev/null @@ -1,358 +0,0 @@ - - - - -libtheora: th_info Struct Reference - - - - - - -
-

th_info Struct Reference

-

Theora bitstream information. -More...

- -

#include <codec.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Fields

ogg_uint32_t frame_width
 The encoded frame width.
ogg_uint32_t frame_height
 The encoded frame height.
ogg_uint32_t pic_width
 The displayed picture width.
ogg_uint32_t pic_height
 The displayed picture height.
ogg_uint32_t pic_x
 The X offset of the displayed picture.
ogg_uint32_t pic_y
 The Y offset of the displayed picture.
th_colorspace colorspace
 The color space.
th_pixel_fmt pixel_fmt
 The pixel format.
int target_bitrate
 The target bit-rate in bits per second.
int quality
 The target quality level.
int keyframe_granule_shift
 The amount to shift to extract the last keyframe number from the granule position.
Theora version

Bitstream version information.

-

unsigned char version_major
unsigned char version_minor
unsigned char version_subminor
Frame rate

The frame rate, as a fraction.

-

If either is 0, the frame rate is undefined.

-

ogg_uint32_t fps_numerator
ogg_uint32_t fps_denominator
Aspect ratio

The aspect ratio of the pixels.

-

If either value is zero, the aspect ratio is undefined. If not specified by any external means, 1:1 should be assumed. The aspect ratio of the full picture can be computed as

-

ogg_uint32_t aspect_numerator
ogg_uint32_t aspect_denominator
-

Detailed Description

-

Theora bitstream information.

-

This contains the basic playback parameters for a stream, and corresponds to the initial 'info' header packet. To initialize an encoder, the application fills in this structure and passes it to th_encode_alloc(). A default encoding mode is chosen based on the values of the quality and target_bitrate fields. On decode, it is filled in by th_decode_headerin(), and then passed to th_decode_alloc().

-

Encoded Theora frames must be a multiple of 16 in size; this is what the frame_width and frame_height members represent. To handle arbitrary picture sizes, a crop rectangle is specified in the pic_x, pic_y, pic_width and pic_height members.

-

All frame buffers contain pointers to the full, padded frame. However, the current encoder will not reference pixels outside of the cropped picture region, and the application does not need to fill them in. The decoder will allocate storage for a full frame, but the application should not rely on the padding containing sensible data.

-

It is also generally recommended that the offsets and sizes should still be multiples of 2 to avoid chroma sampling shifts when chroma is sub-sampled. See the Theora specification, Section 4.4, for more details.

-

Frame rate, in frames per second, is stored as a rational fraction, as is the pixel aspect ratio. Note that this refers to the aspect ratio of the individual pixels, not of the overall frame itself. The frame aspect ratio can be computed from pixel aspect ratio using the image dimensions.

-

Field Documentation

- -
-
- - - - -
ogg_uint32_t th_info::aspect_denominator
-
-
- -
-
- -
-
- - - - -
ogg_uint32_t th_info::aspect_numerator
-
-
- -
-
- -
- -
- -

The color space.

- -
-
- -
-
- - - - -
ogg_uint32_t th_info::fps_denominator
-
-
- -
-
- -
-
- - - - -
ogg_uint32_t th_info::fps_numerator
-
-
- -
-
- -
-
- - - - -
ogg_uint32_t th_info::frame_height
-
-
- -

The encoded frame height.

-

This must be a multiple of 16, and less than 1048576.

- -
-
- -
-
- - - - -
ogg_uint32_t th_info::frame_width
-
-
- -

The encoded frame width.

-

This must be a multiple of 16, and less than 1048576.

- -
-
- -
- -
- -

The amount to shift to extract the last keyframe number from the granule position.

-

This can be at most 31. th_info_init() will set this to a default value (currently 6, which is good for streaming applications), but you can set it to 0 to make every frame a keyframe. The maximum distance between key frames is 1<<keyframe_granule_shift. The keyframe frequency can be more finely controlled with TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE, which can also be adjusted during encoding (for example, to force the next frame to be a keyframe), but it cannot be set larger than the amount permitted by this field after the headers have been output.

- -
-
- -
-
- - - - -
ogg_uint32_t th_info::pic_height
-
-
- -

The displayed picture height.

-

This must be no larger than height.

- -
-
- -
-
- - - - -
ogg_uint32_t th_info::pic_width
-
-
- -

The displayed picture width.

-

This must be no larger than width.

- -
-
- -
-
- - - - -
ogg_uint32_t th_info::pic_x
-
-
- -

The X offset of the displayed picture.

-

This must be no larger than frame_width-pic_width or 255, whichever is smaller.

- -
-
- -
-
- - - - -
ogg_uint32_t th_info::pic_y
-
-
- -

The Y offset of the displayed picture.

-

This must be no larger than frame_height-pic_height, and frame_height-pic_height-pic_y must be no larger than 255. This slightly funny restriction is due to the fact that the offset is specified from the top of the image for consistency with the standard graphics left-handed coordinate system used throughout this API, while it is stored in the encoded stream as an offset from the bottom.

- -
-
- -
- -
- -

The pixel format.

- -
-
- -
-
- - - - -
int th_info::quality
-
-
- -

The target quality level.

-

Valid values range from 0 to 63, inclusive, with higher values giving higher quality. If initializing an encoder with this struct, and target_bitrate is set to zero, VBR encoding at this quality will be activated by default.

- -
-
- -
-
- - - - -
int th_info::target_bitrate
-
-
- -

The target bit-rate in bits per second.

-

If initializing an encoder with this struct, set this field to a non-zero value to activate CBR encoding by default.

- -
-
- -
-
- - - - -
unsigned char th_info::version_major
-
-
- -
-
- -
-
- - - - -
unsigned char th_info::version_minor
-
-
- -
-
- -
-
- - - - -
unsigned char th_info::version_subminor
-
-
- -
-
-
The documentation for this struct was generated from the following file: -
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/structth__quant__info.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/structth__quant__info.html deleted file mode 100644 index 90a64d37..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/structth__quant__info.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - -libtheora: th_quant_info Struct Reference - - - - - - -
-

th_quant_info Struct Reference

-

A complete set of quantization parameters. -More...

- -

#include <codec.h>

- - - - - - - - - - -

Data Fields

ogg_uint16_t dc_scale [64]
 The DC scaling factors.
ogg_uint16_t ac_scale [64]
 The AC scaling factors.
unsigned char loop_filter_limits [64]
 The loop filter limit values.
th_quant_ranges qi_ranges [2][3]
 The qi ranges for each ci and pli.
-

Detailed Description

-

A complete set of quantization parameters.

-

The quantizer for each coefficient is calculated as:

-
    Q=MAX(MIN(qmin[qti][ci!=0],scale[ci!=0][qi]*base[qti][pli][qi][ci]/100),
-     1024).
-

qti is the quantization type index: 0 for intra, 1 for inter. ci!=0 is 0 for the DC coefficient and 1 for AC coefficients. qi is the quality index, ranging between 0 (low quality) and 63 (high quality). pli is the color plane index: 0 for Y', 1 for Cb, 2 for Cr. ci is the DCT coefficient index. Coefficient indices correspond to the normal 2D DCT block ordering--row-major with low frequencies first--not zig-zag order.

-

Minimum quantizers are constant, and are given by:

-
   qmin[2][2]={{4,2},{8,4}}.
-

Parameters that can be stored in the bitstream are as follows:

-
    -
  • The two scale matrices ac_scale and dc_scale.
          scale[2][64]={dc_scale,ac_scale}.
    -
  • -
  • The base matrices for each qi, qti and pli (up to 384 in all). In order to avoid storing a full 384 base matrices, only a sparse set of matrices are stored, and the rest are linearly interpolated. This is done as follows. For each qti and pli, a series of n qi ranges is defined. The size of each qi range can vary arbitrarily, but they must sum to 63. Then, n+1 matrices are specified, one for each endpoint of the ranges. For interpolation purposes, each range's endpoints are the first qi value it contains and one past the last qi value it contains. Fractional values are rounded to the nearest integer, with ties rounded away from zero.
  • -
-

Base matrices are stored by reference, so if the same matrices are used multiple times, they will only appear once in the bitstream. The bitstream is also capable of omitting an entire set of ranges and its associated matrices if they are the same as either the previous set (indexed in row-major order) or if the inter set is the same as the intra set.

-
    -
  • Loop filter limit values. The same limits are used for the loop filter in all color planes, despite potentially differing levels of quantization in each.
  • -
-

For the current encoder, scale[ci!=0][qi] must be no greater than scale[ci!=0][qi-1] and base[qti][pli][qi][ci] must be no greater than base[qti][pli][qi-1][ci]. These two conditions ensure that the actual quantizer for a given qti, pli, and ci does not increase as qi increases. This is not required by the decoder.

-

Field Documentation

- -
-
- - - - -
ogg_uint16_t th_quant_info::ac_scale[64]
-
-
- -

The AC scaling factors.

- -
-
- -
-
- - - - -
ogg_uint16_t th_quant_info::dc_scale[64]
-
-
- -

The DC scaling factors.

- -
-
- -
-
- - - - -
unsigned char th_quant_info::loop_filter_limits[64]
-
-
- -

The loop filter limit values.

- -
-
- -
- -
- -

The qi ranges for each ci and pli.

- -
-
-
The documentation for this struct was generated from the following file: -
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/structth__quant__ranges.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/structth__quant__ranges.html deleted file mode 100644 index aa2620e7..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/structth__quant__ranges.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - -libtheora: th_quant_ranges Struct Reference - - - - - - -
-

th_quant_ranges Struct Reference

-

A set of qi ranges. -More...

- -

#include <codec.h>

- - - - - - - - -

Data Fields

int nranges
 The number of ranges in the set.
const int * sizes
 The size of each of the nranges ranges.
const th_quant_basebase_matrices
 nranges +1 base matrices.
-

Detailed Description

-

A set of qi ranges.

-

Field Documentation

- -
- -
- -

nranges +1 base matrices.

-

Matrices i and i+1 form the endpoints of range i.

- -
-
- -
-
- - - - -
int th_quant_ranges::nranges
-
-
- -

The number of ranges in the set.

- -
-
- -
-
- - - - -
const int* th_quant_ranges::sizes
-
-
- -

The size of each of the nranges ranges.

-

These must sum to 63.

- -
-
-
The documentation for this struct was generated from the following file: -
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/structth__stripe__callback.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/structth__stripe__callback.html deleted file mode 100644 index b801242d..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/structth__stripe__callback.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - -libtheora: th_stripe_callback Struct Reference - - - - - - -
-

th_stripe_callback Struct Reference

-

The striped decode callback data to pass to TH_DECCTL_SET_STRIPE_CB. -More...

- -

#include <theoradec.h>

- - - - - - -

Data Fields

void * ctx
 An application-provided context pointer.
th_stripe_decoded_func stripe_decoded
 The callback function pointer.
-

Detailed Description

-

The striped decode callback data to pass to TH_DECCTL_SET_STRIPE_CB.

-

Field Documentation

- -
-
- - - - -
void* th_stripe_callback::ctx
-
-
- -

An application-provided context pointer.

-

This will be passed back verbatim to the application.

- -
-
- -
- -
- -

The callback function pointer.

- -
-
-
The documentation for this struct was generated from the following file: -
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/structtheora__comment.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/structtheora__comment.html deleted file mode 100644 index 1be4297c..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/structtheora__comment.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - -libtheora: theora_comment Struct Reference - - - - - - -
-

theora_comment Struct Reference
- -[Legacy pre-1.0 C API] -

-

Comment header metadata. -More...

- -

#include <theora.h>

- - - - - - - - - - -

Data Fields

char ** user_comments
 An array of comment string vectors.
int * comment_lengths
 An array of corresponding string vector lengths in bytes.
int comments
 The total number of comment string vectors.
char * vendor
 The vendor string identifying the encoder, null terminated.
-

Detailed Description

-

Comment header metadata.

-

This structure holds the in-stream metadata corresponding to the 'comment' header packet.

-

Meta data is stored as a series of (tag, value) pairs, in length-encoded string vectors. The first occurence of the '=' character delimits the tag and value. A particular tag may occur more than once. The character set encoding for the strings is always UTF-8, but the tag names are limited to case-insensitive ASCII. See the spec for details.

-

In filling in this structure, theora_decode_header() will null-terminate the user_comment strings for safety. However, the bitstream format itself treats them as 8-bit clean, and so the length array should be treated as authoritative for their length.

-

Field Documentation

- -
- -
- -

An array of corresponding string vector lengths in bytes.

- -
-
- -
-
- - - - -
int theora_comment::comments
-
-
- -

The total number of comment string vectors.

- -
-
- -
-
- - - - -
char** theora_comment::user_comments
-
-
- -

An array of comment string vectors.

- -
-
- -
-
- - - - -
char* theora_comment::vendor
-
-
- -

The vendor string identifying the encoder, null terminated.

- -
-
-
The documentation for this struct was generated from the following file: -
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/structtheora__info.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/structtheora__info.html deleted file mode 100644 index 756ba65a..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/structtheora__info.html +++ /dev/null @@ -1,491 +0,0 @@ - - - - -libtheora: theora_info Struct Reference - - - - - - -
-

theora_info Struct Reference
- -[Legacy pre-1.0 C API] -

-

Theora bitstream info. -More...

- -

#include <theora.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Fields

ogg_uint32_t width
 encoded frame width
ogg_uint32_t height
 encoded frame height
ogg_uint32_t frame_width
 display frame width
ogg_uint32_t frame_height
 display frame height
ogg_uint32_t offset_x
 horizontal offset of the displayed frame
ogg_uint32_t offset_y
 vertical offset of the displayed frame
ogg_uint32_t fps_numerator
 frame rate numerator
ogg_uint32_t fps_denominator
 frame rate denominator
ogg_uint32_t aspect_numerator
 pixel aspect ratio numerator
ogg_uint32_t aspect_denominator
 pixel aspect ratio denominator
theora_colorspace colorspace
 colorspace
int target_bitrate
 nominal bitrate in bits per second
int quality
 Nominal quality setting, 0-63.
int quick_p
 Quick encode/decode.
unsigned char version_major
unsigned char version_minor
unsigned char version_subminor
void * codec_setup
int dropframes_p
int keyframe_auto_p
ogg_uint32_t keyframe_frequency
ogg_uint32_t keyframe_frequency_force
ogg_uint32_t keyframe_data_target_bitrate
ogg_int32_t keyframe_auto_threshold
ogg_uint32_t keyframe_mindistance
ogg_int32_t noise_sensitivity
ogg_int32_t sharpness
theora_pixelformat pixelformat
 chroma subsampling mode to expect
-

Detailed Description

-

Theora bitstream info.

-

Contains the basic playback parameters for a stream, corresponding to the initial 'info' header packet.

-

Encoded theora frames must be a multiple of 16 in width and height. To handle other frame sizes, a crop rectangle is specified in frame_height and frame_width, offset_x and * offset_y. The offset and size should still be a multiple of 2 to avoid chroma sampling shifts. Offset values in this structure are measured from the upper left of the image.

-

Frame rate, in frames per second, is stored as a rational fraction. Aspect ratio is also stored as a rational fraction, and refers to the aspect ratio of the frame pixels, not of the overall frame itself.

-

See examples/encoder_example.c for usage examples of the other paramters and good default settings for the encoder parameters.

-

Field Documentation

- -
-
- - - - -
ogg_uint32_t theora_info::aspect_denominator
-
-
- -

pixel aspect ratio denominator

- -
-
- -
-
- - - - -
ogg_uint32_t theora_info::aspect_numerator
-
-
- -

pixel aspect ratio numerator

- -
-
- -
-
- - - - -
void* theora_info::codec_setup
-
-
- -
-
- -
- -
- -

colorspace

- -
-
- -
-
- - - - -
int theora_info::dropframes_p
-
-
- -
-
- -
-
- - - - -
ogg_uint32_t theora_info::fps_denominator
-
-
- -

frame rate denominator

- -
-
- -
-
- - - - -
ogg_uint32_t theora_info::fps_numerator
-
-
- -

frame rate numerator

- -
-
- -
-
- - - - -
ogg_uint32_t theora_info::frame_height
-
-
- -

display frame height

- -
-
- -
-
- - - - -
ogg_uint32_t theora_info::frame_width
-
-
- -

display frame width

- -
-
- -
-
- - - - -
ogg_uint32_t theora_info::height
-
-
- -

encoded frame height

- -
-
- -
- -
- -
-
- -
-
- - - - -
ogg_int32_t theora_info::keyframe_auto_threshold
-
-
- -
-
- -
- -
- -
-
- -
-
- - - - -
ogg_uint32_t theora_info::keyframe_frequency
-
-
- -
-
- -
-
- - - - -
ogg_uint32_t theora_info::keyframe_frequency_force
-
-
- -
-
- -
-
- - - - -
ogg_uint32_t theora_info::keyframe_mindistance
-
-
- -
-
- -
-
- - - - -
ogg_int32_t theora_info::noise_sensitivity
-
-
- -
-
- -
-
- - - - -
ogg_uint32_t theora_info::offset_x
-
-
- -

horizontal offset of the displayed frame

- -
-
- -
-
- - - - -
ogg_uint32_t theora_info::offset_y
-
-
- -

vertical offset of the displayed frame

- -
-
- -
- -
- -

chroma subsampling mode to expect

- -
-
- -
-
- - - - -
int theora_info::quality
-
-
- -

Nominal quality setting, 0-63.

- -
-
- -
-
- - - - -
int theora_info::quick_p
-
-
- -

Quick encode/decode.

- -
-
- -
-
- - - - -
ogg_int32_t theora_info::sharpness
-
-
- -
-
- -
- -
- -

nominal bitrate in bits per second

- -
-
- -
-
- - - - -
unsigned char theora_info::version_major
-
-
- -
-
- -
-
- - - - -
unsigned char theora_info::version_minor
-
-
- -
-
- -
-
- - - - -
unsigned char theora_info::version_subminor
-
-
- -
-
- -
-
- - - - -
ogg_uint32_t theora_info::width
-
-
- -

encoded frame width

- -
-
-
The documentation for this struct was generated from the following file: -
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/structtheora__state.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/structtheora__state.html deleted file mode 100644 index 0e94be01..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/structtheora__state.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - -libtheora: theora_state Struct Reference - - - - - - -
-

theora_state Struct Reference
- -[Legacy pre-1.0 C API] -

-

Codec internal state and context. -More...

- -

#include <theora.h>

- - - - - - -

Data Fields

theora_infoi
ogg_int64_t granulepos
void * internal_encode
void * internal_decode
-

Detailed Description

-

Codec internal state and context.

-

Field Documentation

- -
-
- - - - -
ogg_int64_t theora_state::granulepos
-
-
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
-
The documentation for this struct was generated from the following file: -
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/structyuv__buffer.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/structyuv__buffer.html deleted file mode 100644 index 98d2e037..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/structyuv__buffer.html +++ /dev/null @@ -1,207 +0,0 @@ - - - - -libtheora: yuv_buffer Struct Reference - - - - - - -
-

yuv_buffer Struct Reference
- -[Legacy pre-1.0 C API] -

-

A YUV buffer for passing uncompressed frames to and from the codec. -More...

- -

#include <theora.h>

- - - - - - - - - - - - - - - - - - - - -

Data Fields

int y_width
 Width of the Y' luminance plane.
int y_height
 Height of the luminance plane.
int y_stride
 Offset in bytes between successive rows.
int uv_width
 Width of the Cb and Cr chroma planes.
int uv_height
 Height of the chroma planes.
int uv_stride
 Offset between successive chroma rows.
unsigned char * y
 Pointer to start of luminance data.
unsigned char * u
 Pointer to start of Cb data.
unsigned char * v
 Pointer to start of Cr data.
-

Detailed Description

-

A YUV buffer for passing uncompressed frames to and from the codec.

-

This holds a Y'CbCr frame in planar format. The CbCr planes can be subsampled and have their own separate dimensions and row stride offsets. Note that the strides may be negative in some configurations. For theora the width and height of the largest plane must be a multiple of 16. The actual meaningful picture size and offset are stored in the theora_info structure; frames returned by the decoder may need to be cropped for display.

-

All samples are 8 bits. Within each plane samples are ordered by row from the top of the frame to the bottom. Within each row samples are ordered from left to right.

-

During decode, the yuv_buffer struct is allocated by the user, but all fields (including luma and chroma pointers) are filled by the library. These pointers address library-internal memory and their contents should not be modified.

-

Conversely, during encode the user allocates the struct and fills out all fields. The user also manages the data addressed by the luma and chroma pointers. See the encoder_example.c and dump_video.c example files in theora/examples/ for more information.

-

Field Documentation

- -
-
- - - - -
unsigned char* yuv_buffer::u
-
-
- -

Pointer to start of Cb data.

- -
-
- -
-
- - - - -
int yuv_buffer::uv_height
-
-
- -

Height of the chroma planes.

- -
-
- -
-
- - - - -
int yuv_buffer::uv_stride
-
-
- -

Offset between successive chroma rows.

- -
-
- -
-
- - - - -
int yuv_buffer::uv_width
-
-
- -

Width of the Cb and Cr chroma planes.

- -
-
- -
-
- - - - -
unsigned char* yuv_buffer::v
-
-
- -

Pointer to start of Cr data.

- -
-
- -
-
- - - - -
unsigned char* yuv_buffer::y
-
-
- -

Pointer to start of luminance data.

- -
-
- -
-
- - - - -
int yuv_buffer::y_height
-
-
- -

Height of the luminance plane.

- -
-
- -
-
- - - - -
int yuv_buffer::y_stride
-
-
- -

Offset in bytes between successive rows.

- -
-
- -
-
- - - - -
int yuv_buffer::y_width
-
-
- -

Width of the Y' luminance plane.

- -
-
-
The documentation for this struct was generated from the following file: -
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/tab_b.gif b/Libraries/libtheora-1.1.1/doc/libtheora/html/tab_b.gif deleted file mode 100644 index 0d623483..00000000 Binary files a/Libraries/libtheora-1.1.1/doc/libtheora/html/tab_b.gif and /dev/null differ diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/tab_l.gif b/Libraries/libtheora-1.1.1/doc/libtheora/html/tab_l.gif deleted file mode 100644 index 9b1e6337..00000000 Binary files a/Libraries/libtheora-1.1.1/doc/libtheora/html/tab_l.gif and /dev/null differ diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/tab_r.gif b/Libraries/libtheora-1.1.1/doc/libtheora/html/tab_r.gif deleted file mode 100644 index ce9dd9f5..00000000 Binary files a/Libraries/libtheora-1.1.1/doc/libtheora/html/tab_r.gif and /dev/null differ diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/tabs.css b/Libraries/libtheora-1.1.1/doc/libtheora/html/tabs.css deleted file mode 100644 index a4441634..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/tabs.css +++ /dev/null @@ -1,105 +0,0 @@ -/* tabs styles, based on http://www.alistapart.com/articles/slidingdoors */ - -DIV.tabs -{ - float : left; - width : 100%; - background : url("tab_b.gif") repeat-x bottom; - margin-bottom : 4px; -} - -DIV.tabs UL -{ - margin : 0px; - padding-left : 10px; - list-style : none; -} - -DIV.tabs LI, DIV.tabs FORM -{ - display : inline; - margin : 0px; - padding : 0px; -} - -DIV.tabs FORM -{ - float : right; -} - -DIV.tabs A -{ - float : left; - background : url("tab_r.gif") no-repeat right top; - border-bottom : 1px solid #84B0C7; - font-size : 80%; - font-weight : bold; - text-decoration : none; -} - -DIV.tabs A:hover -{ - background-position: 100% -150px; -} - -DIV.tabs A:link, DIV.tabs A:visited, -DIV.tabs A:active, DIV.tabs A:hover -{ - color: #1A419D; -} - -DIV.tabs SPAN -{ - float : left; - display : block; - background : url("tab_l.gif") no-repeat left top; - padding : 5px 9px; - white-space : nowrap; -} - -DIV.tabs #MSearchBox -{ - float : right; - display : inline; - font-size : 1em; -} - -DIV.tabs TD -{ - font-size : 80%; - font-weight : bold; - text-decoration : none; -} - - - -/* Commented Backslash Hack hides rule from IE5-Mac \*/ -DIV.tabs SPAN {float : none;} -/* End IE5-Mac hack */ - -DIV.tabs A:hover SPAN -{ - background-position: 0% -150px; -} - -DIV.tabs LI.current A -{ - background-position: 100% -150px; - border-width : 0px; -} - -DIV.tabs LI.current SPAN -{ - background-position: 0% -150px; - padding-bottom : 6px; -} - -DIV.navpath -{ - background : none; - border : none; - border-bottom : 1px solid #84B0C7; - text-align : center; - margin : 2px; - padding : 2px; -} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/theora_8h.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/theora_8h.html deleted file mode 100644 index 2adc3b1b..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/theora_8h.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - -libtheora: theora.h File Reference - - - - - - -
-

theora.h File Reference

-

The libtheora pre-1.0 legacy C API. -More...

-#include <stddef.h>
-#include <ogg/ogg.h>
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  yuv_buffer
 A YUV buffer for passing uncompressed frames to and from the codec. More...
struct  theora_info
 Theora bitstream info. More...
struct  theora_state
 Codec internal state and context. More...
struct  theora_comment
 Comment header metadata. More...

Defines

#define OC_FAULT   -1
 General failure.
#define OC_EINVAL   -10
 Library encountered invalid internal data.
#define OC_DISABLED   -11
 Requested action is disabled.
#define OC_BADHEADER   -20
 Header packet was corrupt/invalid.
#define OC_NOTFORMAT   -21
 Packet is not a theora packet.
#define OC_VERSION   -22
 Bitstream version is not handled.
#define OC_IMPL   -23
 Feature or action not implemented.
#define OC_BADPACKET   -24
 Packet is corrupt.
#define OC_NEWPACKET   -25
 Packet is an (ignorable) unhandled extension.
#define OC_DUPFRAME   1
 Packet is a dropped frame.
theora_control() codes

-

#define TH_DECCTL_GET_PPLEVEL_MAX   (1)
 Get the maximum post-processing level.
#define TH_DECCTL_SET_PPLEVEL   (3)
 Set the post-processing level.
#define TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE   (4)
 Sets the maximum distance between key frames.
#define TH_DECCTL_SET_GRANPOS   (5)
 Set the granule position.
#define TH_ENCCTL_SET_QUANT_PARAMS   (2)
 Sets the quantization parameters to use.
#define TH_ENCCTL_SET_VP3_COMPATIBLE   (10)
 Disables any encoder features that would prevent lossless transcoding back to VP3.
#define TH_ENCCTL_GET_SPLEVEL_MAX   (12)
 Gets the maximum speed level.
#define TH_ENCCTL_SET_SPLEVEL   (14)
 Sets the speed level.

Enumerations

enum  theora_colorspace { OC_CS_UNSPECIFIED, -OC_CS_ITU_REC_470M, -OC_CS_ITU_REC_470BG, -OC_CS_NSPACES - }
 

A Colorspace.

- More...
enum  theora_pixelformat { OC_PF_420, -OC_PF_RSVD, -OC_PF_422, -OC_PF_444 - }
 

A Chroma subsampling.

- More...

Functions

const char * theora_version_string (void)
 Retrieve a human-readable string to identify the encoder vendor and version.
ogg_uint32_t theora_version_number (void)
 Retrieve a 32-bit version number.
int theora_encode_init (theora_state *th, theora_info *ti)
 Initialize the theora encoder.
int theora_encode_YUVin (theora_state *t, yuv_buffer *yuv)
 Submit a YUV buffer to the theora encoder.
int theora_encode_packetout (theora_state *t, int last_p, ogg_packet *op)
 Request the next packet of encoded video.
int theora_encode_header (theora_state *t, ogg_packet *op)
 Request a packet containing the initial header.
int theora_encode_comment (theora_comment *tc, ogg_packet *op)
 Request a comment header packet from provided metadata.
int theora_encode_tables (theora_state *t, ogg_packet *op)
 Request a packet containing the codebook tables for the stream.
int theora_decode_header (theora_info *ci, theora_comment *cc, ogg_packet *op)
 Decode an Ogg packet, with the expectation that the packet contains an initial header, comment data or codebook tables.
int theora_decode_init (theora_state *th, theora_info *c)
 Initialize a theora_state handle for decoding.
int theora_decode_packetin (theora_state *th, ogg_packet *op)
 Input a packet containing encoded data into the theora decoder.
int theora_decode_YUVout (theora_state *th, yuv_buffer *yuv)
 Output the next available frame of decoded YUV data.
int theora_packet_isheader (ogg_packet *op)
 Report whether a theora packet is a header or not This function does no verification beyond checking the header flag bit so it should not be used for bitstream identification; use theora_decode_header() for that.
int theora_packet_iskeyframe (ogg_packet *op)
 Report whether a theora packet is a keyframe or not.
int theora_granule_shift (theora_info *ti)
 Report the granulepos shift radix.
ogg_int64_t theora_granule_frame (theora_state *th, ogg_int64_t granulepos)
 Convert a granulepos to an absolute frame index, starting at 0.
double theora_granule_time (theora_state *th, ogg_int64_t granulepos)
 Convert a granulepos to absolute time in seconds.
void theora_info_init (theora_info *c)
 Initialize a theora_info structure.
void theora_info_clear (theora_info *c)
 Clear a theora_info structure.
void theora_clear (theora_state *t)
 Free all internal data associated with a theora_state handle.
void theora_comment_init (theora_comment *tc)
 Initialize an allocated theora_comment structure.
void theora_comment_add (theora_comment *tc, char *comment)
 Add a comment to an initialized theora_comment structure.
void theora_comment_add_tag (theora_comment *tc, char *tag, char *value)
 Add a comment to an initialized theora_comment structure.
char * theora_comment_query (theora_comment *tc, char *tag, int count)
 Look up a comment value by tag.
int theora_comment_query_count (theora_comment *tc, char *tag)
 Look up the number of instances of a tag.
void theora_comment_clear (theora_comment *tc)
 Clear an allocated theora_comment struct so that it can be freed.
int theora_control (theora_state *th, int req, void *buf, size_t buf_sz)
 Encoder control function.
-

Detailed Description

-

The libtheora pre-1.0 legacy C API.

-

-Introduction

-

This is the documentation for the libtheora legacy C API, declared in the theora.h header, which describes the old interface used before the 1.0 release. This API was widely deployed for several years and remains supported, but for new code we recommend the cleaner API declared in theoradec.h and theoraenc.h.

-

libtheora is the reference implementation for Theora, a free video codec. Theora is derived from On2's VP3 codec with improved integration with Ogg multimedia formats by Xiph.Org.

-

-Overview

-

This library will both decode and encode theora packets to/from raw YUV frames. In either case, the packets will most likely either come from or need to be embedded in an Ogg stream. Use libogg or liboggz to extract/package these packets.

-

-Decoding Process

-

Decoding can be separated into the following steps:

-
    -
  1. initialise theora_info and theora_comment structures using theora_info_init() and theora_comment_init():
    - theora_info     info;
    - theora_comment  comment;
    -   
    - theora_info_init(&info);
    - theora_comment_init(&comment);
    - 
  2. -
  3. retrieve header packets from Ogg stream (there should be 3) and decode into theora_info and theora_comment structures using theora_decode_header(). See Identifying Theora Packets for more information on identifying which packets are theora packets.
    - int i;
    - for (i = 0; i < 3; i++)
    - {
    -   (get a theora packet "op" from the Ogg stream)
    -   theora_decode_header(&info, &comment, op);
    - }
    - 
  4. -
  5. initialise the decoder based on the information retrieved into the theora_info struct by theora_decode_header(). You will need a theora_state struct.
    - theora_state state;
    - 
    - theora_decode_init(&state, &info);
    - 
  6. -
  7. pass in packets and retrieve decoded frames! See the yuv_buffer documentation for information on how to retrieve raw YUV data.
    - yuf_buffer buffer;
    - while (last packet was not e_o_s) {
    -   (get a theora packet "op" from the Ogg stream)
    -   theora_decode_packetin(&state, op);
    -   theora_decode_YUVout(&state, &buffer);
    - }
    - 
  8. -
-

-Identifying Theora Packets

-

All streams inside an Ogg file have a unique serial_no attached to the stream. Typically, you will want to

-
    -
  • retrieve the serial_no for each b_o_s (beginning of stream) page encountered within the Ogg file;
  • -
  • test the first (only) packet on that page to determine if it is a theora packet;
  • -
  • once you have found a theora b_o_s page then use the retrieved serial_no to identify future packets belonging to the same theora stream.
  • -
-

Note that you cannot use theora_packet_isheader() to determine if a packet is a theora packet or not, as this function does not perform any checking beyond whether a header bit is present. Instead, use the theora_decode_header() function and check the return value; or examine the header bytes at the beginning of the Ogg page.

-
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/theora_8h_source.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/theora_8h_source.html deleted file mode 100644 index c9549bfd..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/theora_8h_source.html +++ /dev/null @@ -1,245 +0,0 @@ - - - - -libtheora: theora.h Source File - - - - - - -
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/theoradec_8h.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/theoradec_8h.html deleted file mode 100644 index 1f5432a6..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/theoradec_8h.html +++ /dev/null @@ -1,361 +0,0 @@ - - - - -libtheora: theoradec.h File Reference - - - - - - -
-

theoradec.h File Reference

-

The libtheoradec C decoding API. -More...

-#include <stddef.h>
-#include <ogg/ogg.h>
-#include "codec.h"
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  th_stripe_callback
 The striped decode callback data to pass to TH_DECCTL_SET_STRIPE_CB. More...

Defines

#define _O_THEORA_THEORADEC_H_   (1)
th_decode_ctl() codes

These are the available request codes for th_decode_ctl(). By convention, these are odd, to distinguish them from the encoder control codes. Keep any experimental or vendor-specific values above 0x8000.

-

#define TH_DECCTL_GET_PPLEVEL_MAX   (1)
 Gets the maximum post-processing level.
#define TH_DECCTL_SET_PPLEVEL   (3)
 Sets the post-processing level.
#define TH_DECCTL_SET_GRANPOS   (5)
 Sets the granule position.
#define TH_DECCTL_SET_STRIPE_CB   (7)
 Sets the striped decode callback function.
#define TH_DECCTL_SET_TELEMETRY_MBMODE   (9)
 Enables telemetry and sets the macroblock display mode.
#define TH_DECCTL_SET_TELEMETRY_MV   (11)
 Enables telemetry and sets the motion vector display mode.
#define TH_DECCTL_SET_TELEMETRY_QI   (13)
 Enables telemetry and sets the adaptive quantization display mode.
#define TH_DECCTL_SET_TELEMETRY_BITS   (15)
 Enables telemetry and sets the bitstream breakdown visualization mode.

Typedefs

typedef void(* th_stripe_decoded_func )(void *_ctx, th_ycbcr_buffer _buf, int _yfrag0, int _yfrag_end)
 A callback function for striped decode.
Decoder state

The following data structures are opaque, and their contents are not publicly defined by this API.

-

Referring to their internals directly is unsupported, and may break without warning.

-

typedef struct th_dec_ctx th_dec_ctx
 The decoder context.
typedef struct th_setup_info th_setup_info
 Setup information.

Functions

Functions for decoding

You must link to libtheoradec if you use any of the functions in this section.

-

The functions are listed in the order they are used in a typical decode. The basic steps are:

- -

int th_decode_headerin (th_info *_info, th_comment *_tc, th_setup_info **_setup, ogg_packet *_op)
 Decodes the header packets of a Theora stream.
th_dec_ctxth_decode_alloc (const th_info *_info, const th_setup_info *_setup)
 Allocates a decoder instance.
void th_setup_free (th_setup_info *_setup)
 Releases all storage used for the decoder setup information.
int th_decode_ctl (th_dec_ctx *_dec, int _req, void *_buf, size_t _buf_sz)
 Decoder control function.
int th_decode_packetin (th_dec_ctx *_dec, const ogg_packet *_op, ogg_int64_t *_granpos)
 Submits a packet containing encoded video data to the decoder.
int th_decode_ycbcr_out (th_dec_ctx *_dec, th_ycbcr_buffer _ycbcr)
 Outputs the next available frame of decoded Y'CbCr data.
void th_decode_free (th_dec_ctx *_dec)
 Frees an allocated decoder instance.
-

Detailed Description

-

The libtheoradec C decoding API.

-

Define Documentation

- -
-
- - - - -
#define _O_THEORA_THEORADEC_H_   (1)
-
-
- -
-
- -
-
- - - - -
#define TH_DECCTL_GET_PPLEVEL_MAX   (1)
-
-
- -

Gets the maximum post-processing level.

-

The decoder supports a post-processing filter that can improve the appearance of the decoded images. This returns the highest level setting for this post-processor, corresponding to maximum improvement and computational expense.

-
Parameters:
- - -
[out] _buf int: The maximum post-processing level.
-
-
-
Return values:
- - - - -
TH_EFAULT _dec_ctx or _buf is NULL.
TH_EINVAL _buf_sz is not sizeof(int).
TH_EIMPL Not supported by this implementation.
-
-
- -
-
- -
-
- - - - -
#define TH_DECCTL_SET_GRANPOS   (5)
-
-
- -

Sets the granule position.

-

Call this after a seek, before decoding the first frame, to ensure that the proper granule position is returned for all subsequent frames. If you track timestamps yourself and do not use the granule position returned by the decoder, then you need not call this function.

-
Parameters:
- - -
[in] _buf ogg_int64_t: The granule position of the next frame.
-
-
-
Return values:
- - - -
TH_EFAULT _dec_ctx or _buf is NULL.
TH_EINVAL _buf_sz is not sizeof(ogg_int64_t), or the granule position is negative.
-
-
- -
-
- -
-
- - - - -
#define TH_DECCTL_SET_PPLEVEL   (3)
-
-
- -

Sets the post-processing level.

-

By default, post-processing is disabled.

-

Sets the level of post-processing to use when decoding the compressed stream. This must be a value between zero (off) and the maximum returned by TH_DECCTL_GET_PPLEVEL_MAX.

-
Parameters:
- - -
[in] _buf int: The new post-processing level. 0 to disable; larger values use more CPU.
-
-
-
Return values:
- - - - -
TH_EFAULT _dec_ctx or _buf is NULL.
TH_EINVAL _buf_sz is not sizeof(int), or the post-processing level is out of bounds. The maximum post-processing level may be implementation-specific, and can be obtained via TH_DECCTL_GET_PPLEVEL_MAX.
TH_EIMPL Not supported by this implementation.
-
-
- -
-
- -
-
- - - - -
#define TH_DECCTL_SET_STRIPE_CB   (7)
-
-
- -

Sets the striped decode callback function.

-

If set, this function will be called as each piece of a frame is fully decoded in th_decode_packetin(). You can pass in a th_stripe_callback with th_stripe_callback::stripe_decoded set to NULL to disable the callbacks at any point. Enabling striped decode does not prevent you from calling th_decode_ycbcr_out() after the frame is fully decoded.

-
Parameters:
- - -
[in] _buf th_stripe_callback: The callback parameters.
-
-
-
Return values:
- - - -
TH_EFAULT _dec_ctx or _buf is NULL.
TH_EINVAL _buf_sz is not sizeof(th_stripe_callback).
-
-
- -
-
- -
-
- - - - -
#define TH_DECCTL_SET_TELEMETRY_BITS   (15)
-
-
- -

Enables telemetry and sets the bitstream breakdown visualization mode.

- -
-
- -
-
- - - - -
#define TH_DECCTL_SET_TELEMETRY_MBMODE   (9)
-
-
- -

Enables telemetry and sets the macroblock display mode.

- -
-
- -
-
- - - - -
#define TH_DECCTL_SET_TELEMETRY_MV   (11)
-
-
- -

Enables telemetry and sets the motion vector display mode.

- -
-
- -
-
- - - - -
#define TH_DECCTL_SET_TELEMETRY_QI   (13)
-
-
- -

Enables telemetry and sets the adaptive quantization display mode.

- -
-
-

Typedef Documentation

- -
-
- - - - -
typedef struct th_dec_ctx th_dec_ctx
-
-
- -

The decoder context.

- -
-
- -
-
- - - - -
typedef struct th_setup_info th_setup_info
-
-
- -

Setup information.

-

This contains auxiliary information (Huffman tables and quantization parameters) decoded from the setup header by th_decode_headerin() to be passed to th_decode_alloc(). It can be re-used to initialize any number of decoders, and can be freed via th_setup_free() at any time.

- -
-
- -
-
- - - - -
typedef void(* th_stripe_decoded_func)(void *_ctx, th_ycbcr_buffer _buf, int _yfrag0, int _yfrag_end)
-
-
- -

A callback function for striped decode.

-

This is a function pointer to an application-provided function that will be called each time a section of the image is fully decoded in th_decode_packetin(). This allows the application to process the section immediately, while it is still in cache. Note that the frame is decoded bottom to top, so _yfrag0 will steadily decrease with each call until it reaches 0, at which point the full frame is decoded. The number of fragment rows made available in each call depends on the pixel format and the number of post-processing filters enabled, and may not even be constant for the entire frame. If a non-NULL _granpos pointer is passed to th_decode_packetin(), the granule position for the frame will be stored in it before the first callback is made. If an entire frame is dropped (a 0-byte packet), then no callbacks will be made at all for that frame.

-
Parameters:
- - - - - -
_ctx An application-provided context pointer.
_buf The image buffer for the decoded frame.
_yfrag0 The Y coordinate of the first row of 8x8 fragments decoded. Multiply this by 8 to obtain the pixel row number in the luma plane. If the chroma planes are subsampled in the Y direction, this will always be divisible by two.
_yfrag_end The Y coordinate of the first row of 8x8 fragments past the newly decoded section. If the chroma planes are subsampled in the Y direction, this will always be divisible by two. I.e., this section contains fragment rows _yfrag0 ..._yfrag_end -1.
-
-
- -
-
-
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/theoradec_8h_source.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/theoradec_8h_source.html deleted file mode 100644 index 4ea5a7ee..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/theoradec_8h_source.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - -libtheora: theoradec.h Source File - - - - - - -
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/theoraenc_8h.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/theoraenc_8h.html deleted file mode 100644 index ab896db7..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/theoraenc_8h.html +++ /dev/null @@ -1,674 +0,0 @@ - - - - -libtheora: theoraenc.h File Reference - - - - - - -
-

theoraenc.h File Reference

-

The libtheoraenc C encoding API. -More...

-#include <stddef.h>
-#include <ogg/ogg.h>
-#include "codec.h"
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Defines

#define _O_THEORA_THEORAENC_H_   (1)
th_encode_ctl() codes

These are the available request codes for th_encode_ctl(). By convention, these are even, to distinguish them from the decoder control codes. Keep any experimental or vendor-specific values above 0x8000.

-

#define TH_ENCCTL_SET_HUFFMAN_CODES   (0)
 Sets the Huffman tables to use.
#define TH_ENCCTL_SET_QUANT_PARAMS   (2)
 Sets the quantization parameters to use.
#define TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE   (4)
 Sets the maximum distance between key frames.
#define TH_ENCCTL_SET_VP3_COMPATIBLE   (10)
 Disables any encoder features that would prevent lossless transcoding back to VP3.
#define TH_ENCCTL_GET_SPLEVEL_MAX   (12)
 Gets the maximum speed level.
#define TH_ENCCTL_SET_SPLEVEL   (14)
 Sets the speed level.
#define TH_ENCCTL_GET_SPLEVEL   (16)
 Gets the current speed level.
#define TH_ENCCTL_SET_DUP_COUNT   (18)
 Sets the number of duplicates of the next frame to produce.
#define TH_ENCCTL_SET_RATE_FLAGS   (20)
 Modifies the default bitrate management behavior.
#define TH_ENCCTL_SET_RATE_BUFFER   (22)
 Sets the size of the bitrate management bit reservoir as a function of number of frames.
#define TH_ENCCTL_2PASS_OUT   (24)
 Enable pass 1 of two-pass encoding mode and retrieve the first pass metrics.
#define TH_ENCCTL_2PASS_IN   (26)
 Submits two-pass encoding metric data collected the first encoding pass to the second pass.
#define TH_ENCCTL_SET_QUALITY   (28)
 Sets the current encoding quality.
#define TH_ENCCTL_SET_BITRATE   (30)
 Sets the current encoding bitrate.
TH_ENCCTL_SET_RATE_FLAGS flags

These are the flags available for use with TH_ENCCTL_SET_RATE_FLAGS.

-

#define TH_RATECTL_DROP_FRAMES   (0x1)
 Drop frames to keep within bitrate buffer constraints.
#define TH_RATECTL_CAP_OVERFLOW   (0x2)
 Ignore bitrate buffer overflows.
#define TH_RATECTL_CAP_UNDERFLOW   (0x4)
 Ignore bitrate buffer underflows.

Typedefs

Encoder state

The following data structure is opaque, and its contents are not publicly defined by this API.

-

Referring to its internals directly is unsupported, and may break without warning.

-

typedef struct th_enc_ctx th_enc_ctx
 The encoder context.

Functions

Functions for encoding

You must link to libtheoraenc and libtheoradec if you use any of the functions in this section.

-

The functions are listed in the order they are used in a typical encode. The basic steps are:

- -

th_enc_ctxth_encode_alloc (const th_info *_info)
 Allocates an encoder instance.
int th_encode_ctl (th_enc_ctx *_enc, int _req, void *_buf, size_t _buf_sz)
 Encoder control function.
int th_encode_flushheader (th_enc_ctx *_enc, th_comment *_comments, ogg_packet *_op)
 Outputs the next header packet.
int th_encode_ycbcr_in (th_enc_ctx *_enc, th_ycbcr_buffer _ycbcr)
 Submits an uncompressed frame to the encoder.
int th_encode_packetout (th_enc_ctx *_enc, int _last, ogg_packet *_op)
 Retrieves encoded video data packets.
void th_encode_free (th_enc_ctx *_enc)
 Frees an allocated encoder instance.

Variables

const th_quant_info TH_VP31_QUANT_INFO
 The quantization parameters used by VP3.
const th_huff_code TH_VP31_HUFF_CODES [TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS]
 The Huffman tables used by VP3.
-

Detailed Description

-

The libtheoraenc C encoding API.

-

Define Documentation

- -
-
- - - - -
#define _O_THEORA_THEORAENC_H_   (1)
-
-
- -
-
- -
-
- - - - -
#define TH_ENCCTL_2PASS_IN   (26)
-
-
- -

Submits two-pass encoding metric data collected the first encoding pass to the second pass.

-

The first call must be made before the first frame is encoded, and a target bitrate must have already been specified to the encoder. It sets the encoder to pass 2 mode implicitly; this cannot be disabled. The encoder may require reading data from some or all of the frames in advance, depending on, e.g., the reservoir size used in the second pass. You must call this function repeatedly before each frame to provide data until either a) it fails to consume all of the data presented or b) all of the pass 1 data has been consumed. In the first case, you must save the remaining data to be presented after the next frame. You can call this function with a NULL argument to get an upper bound on the number of bytes that will be required before the next frame.

-

When pass 2 is first enabled, the default bit reservoir is set to the entire file; this gives maximum flexibility but can lead to very high peak rates. You can subsequently set it to another value with TH_ENCCTL_SET_RATE_BUFFER (e.g., to set it to the keyframe interval for non-live streaming), however, you may then need to provide more data before the next frame.

-
Parameters:
- - -
[in] _buf char[]: A buffer containing the data returned by TH_ENCCTL_2PASS_OUT in pass 1. You may pass NULL for _buf to return an upper bound on the number of additional bytes needed before the next frame. The summary data returned at the end of pass 1 must be at the head of the buffer on the first call with a non-NULL _buf, and the placeholder data returned at the start of pass 1 should be omitted. After each call you should advance this buffer by the number of bytes consumed.
-
-
-
Return values:
- - - - - - - - -
>0 The number of bytes of metric data required/consumed.
0 No more data is required before the next frame.
TH_EFAULT _enc_ctx is NULL.
TH_EINVAL No target bitrate has been set, or the first call was made after the first frame was submitted for encoding.
TH_ENOTFORMAT The data did not appear to be pass 1 from a compatible implementation of this library.
TH_EBADHEADER The data was invalid; this may be returned when attempting to read an aborted pass 1 file that still has the placeholder data in place of the summary data.
TH_EIMPL Not supported by this implementation.
-
-
- -
-
- -
-
- - - - -
#define TH_ENCCTL_2PASS_OUT   (24)
-
-
- -

Enable pass 1 of two-pass encoding mode and retrieve the first pass metrics.

-

Pass 1 mode must be enabled before the first frame is encoded, and a target bitrate must have already been specified to the encoder. Although this does not have to be the exact rate that will be used in the second pass, closer values may produce better results. The first call returns the size of the two-pass header data, along with some placeholder content, and sets the encoder into pass 1 mode implicitly. This call sets the encoder to pass 1 mode implicitly. Then, a subsequent call must be made after each call to th_encode_ycbcr_in() to retrieve the metrics for that frame. An additional, final call must be made to retrieve the summary data, containing such information as the total number of frames, etc. This must be stored in place of the placeholder data that was returned in the first call, before the frame metrics data. All of this data must be presented back to the encoder during pass 2 using TH_ENCCTL_2PASS_IN.

-
Parameters:
- - -
[out] <tt>char *_buf: Returns a pointer to internal storage containing the two pass metrics data. This storage is only valid until the next call, or until the encoder context is freed, and must be copied by the application.
-
-
-
Return values:
- - - - - -
>=0 The number of bytes of metric data available in the returned buffer.
TH_EFAULT _enc_ctx or _buf is NULL.
TH_EINVAL _buf_sz is not sizeof(char *), no target bitrate has been set, or the first call was made after the first frame was submitted for encoding.
TH_EIMPL Not supported by this implementation.
-
-
- -
-
- -
-
- - - - -
#define TH_ENCCTL_GET_SPLEVEL   (16)
-
-
- -

Gets the current speed level.

-

The default speed level may vary according to encoder implementation, but if this control code is not supported (it returns TH_EIMPL), the default may be assumed to be the slowest available speed (0). The maximum encoding speed level may be implementation- and encoding mode-specific, and can be obtained via TH_ENCCTL_GET_SPLEVEL_MAX.

-
Parameters:
- - -
[out] _buf int: The current encoding speed level. 0 is slowest, larger values use less CPU.
-
-
-
Return values:
- - - - -
TH_EFAULT _enc_ctx or _buf is NULL.
TH_EINVAL _buf_sz is not sizeof(int).
TH_EIMPL Not supported by this implementation in the current encoding mode.
-
-
- -
-
- -
-
- - - - -
#define TH_ENCCTL_GET_SPLEVEL_MAX   (12)
-
-
- -

Gets the maximum speed level.

-

Higher speed levels favor quicker encoding over better quality per bit. Depending on the encoding mode, and the internal algorithms used, quality may actually improve, but in this case bitrate will also likely increase. In any case, overall rate/distortion performance will probably decrease. The maximum value, and the meaning of each value, may change depending on the current encoding mode (VBR vs. constant quality, etc.).

-
Parameters:
- - -
[out] _buf int: The maximum encoding speed level.
-
-
-
Return values:
- - - - -
TH_EFAULT _enc_ctx or _buf is NULL.
TH_EINVAL _buf_sz is not sizeof(int).
TH_EIMPL Not supported by this implementation in the current encoding mode.
-
-
- -
-
- -
-
- - - - -
#define TH_ENCCTL_SET_BITRATE   (30)
-
-
- -

Sets the current encoding bitrate.

-

Once a bitrate is set, the encoder must use a rate-controlled mode for all future frames (this restriction may be relaxed in a future version). If it is set before the headers are emitted, the target bitrate encoded in them will be updated. Due to the buffer delay, the exact bitrate of each section of the encode is not guaranteed. The encoder may have already used more bits than allowed for the frames it has encoded, expecting to make them up in future frames, or it may have used fewer, holding the excess in reserve. The exact transition between the two bitrates is not well-defined by this API, but may be affected by flags set with TH_ENCCTL_SET_RATE_FLAGS. After a number of frames equal to the buffer delay, one may expect further output to average at the target bitrate.

-
Parameters:
- - -
[in] _buf long: The new target bitrate, in bits per second.
-
-
-
Return values:
- - - - - -
0 Success.
TH_EFAULT _enc_ctx or _buf is NULL.
TH_EINVAL The target bitrate was not positive.
TH_EIMPL Not supported by this implementation.
-
-
- -
-
- -
-
- - - - -
#define TH_ENCCTL_SET_DUP_COUNT   (18)
-
-
- -

Sets the number of duplicates of the next frame to produce.

-

Although libtheora can encode duplicate frames very cheaply, it costs some amount of CPU to detect them, and a run of duplicates cannot span a keyframe boundary. This control code tells the encoder to produce the specified number of extra duplicates of the next frame. This allows the encoder to make smarter keyframe placement decisions and rate control decisions, and reduces CPU usage as well, when compared to just submitting the same frame for encoding multiple times. This setting only applies to the next frame submitted for encoding. You MUST call th_encode_packetout() repeatedly until it returns 0, or the extra duplicate frames will be lost.

-
Parameters:
- - -
[in] _buf int: The number of duplicates to produce. If this is negative or zero, no duplicates will be produced.
-
-
-
Return values:
- - - - -
TH_EFAULT _enc_ctx or _buf is NULL.
TH_EINVAL _buf_sz is not sizeof(int), or the number of duplicates is greater than or equal to the maximum keyframe interval. In the latter case, NO duplicate frames will be produced. You must ensure that the maximum keyframe interval is set larger than the maximum number of duplicates you will ever wish to insert prior to encoding.
TH_EIMPL Not supported by this implementation in the current encoding mode.
-
-
- -
-
- -
-
- - - - -
#define TH_ENCCTL_SET_HUFFMAN_CODES   (0)
-
-
- -

Sets the Huffman tables to use.

-

The tables are copied, not stored by reference, so they can be freed after this call. NULL may be specified to revert to the default tables.

-
Parameters:
- - -
[in] _buf th_huff_code[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS]
-
-
-
Return values:
- - - - -
TH_EFAULT _enc_ctx is NULL.
TH_EINVAL Encoding has already begun or one or more of the given tables is not full or prefix-free, _buf is NULL and _buf_sz is not zero, or _buf is non-NULL and _buf_sz is not sizeof(th_huff_code)*TH_NHUFFMAN_TABLES*TH_NDCT_TOKENS.
TH_EIMPL Not supported by this implementation.
-
-
- -
-
- -
-
- - - - -
#define TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE   (4)
-
-
- -

Sets the maximum distance between key frames.

-

This can be changed during an encode, but will be bounded by 1<<th_info::keyframe_granule_shift. If it is set before encoding begins, th_info::keyframe_granule_shift will be enlarged appropriately.

-
Parameters:
- - - -
[in] _buf ogg_uint32_t: The maximum distance between key frames.
[out] _buf ogg_uint32_t: The actual maximum distance set.
-
-
-
Return values:
- - - - -
TH_EFAULT _enc_ctx or _buf is NULL.
TH_EINVAL _buf_sz is not sizeof(ogg_uint32_t).
TH_EIMPL Not supported by this implementation.
-
-
- -
-
- -
-
- - - - -
#define TH_ENCCTL_SET_QUALITY   (28)
-
-
- -

Sets the current encoding quality.

-

This is only valid so long as no bitrate has been specified, either through the th_info struct used to initialize the encoder or through TH_ENCCTL_SET_BITRATE (this restriction may be relaxed in a future version). If it is set before the headers are emitted, the target quality encoded in them will be updated.

-
Parameters:
- - -
[in] _buf int: The new target quality, in the range 0...63, inclusive.
-
-
-
Return values:
- - - - - -
0 Success.
TH_EFAULT _enc_ctx or _buf is NULL.
TH_EINVAL A target bitrate has already been specified, or the quality index was not in the range 0...63.
TH_EIMPL Not supported by this implementation.
-
-
- -
-
- -
-
- - - - -
#define TH_ENCCTL_SET_QUANT_PARAMS   (2)
-
-
- -

Sets the quantization parameters to use.

-

The parameters are copied, not stored by reference, so they can be freed after this call. NULL may be specified to revert to the default parameters.

-
Parameters:
- - -
[in] _buf th_quant_info
-
-
-
Return values:
- - - - -
TH_EFAULT _enc_ctx is NULL.
TH_EINVAL Encoding has already begun, _buf is NULL and _buf_sz is not zero, or _buf is non-NULL and _buf_sz is not sizeof(th_quant_info).
TH_EIMPL Not supported by this implementation.
-
-
- -
-
- -
-
- - - - -
#define TH_ENCCTL_SET_RATE_BUFFER   (22)
-
-
- -

Sets the size of the bitrate management bit reservoir as a function of number of frames.

-

The reservoir size affects how quickly bitrate management reacts to instantaneous changes in the video complexity. Larger reservoirs react more slowly, and provide better overall quality, but require more buffering by a client, adding more latency to live streams. By default, libtheora sets the reservoir to the maximum distance between keyframes, subject to a minimum and maximum limit. This call may be used to increase or decrease the reservoir, increasing or decreasing the allowed temporary variance in bitrate. An implementation may impose some limits on the size of a reservoir it can handle, in which case the actual reservoir size may not be exactly what was requested. The actual value set will be returned.

-
Parameters:
- - - -
[in] _buf int: Requested size of the reservoir measured in frames.
[out] _buf int: The actual size of the reservoir set.
-
-
-
Return values:
- - - - -
TH_EFAULT _enc_ctx or _buf is NULL.
TH_EINVAL _buf_sz is not sizeof(int), or rate control is not enabled. The buffer has an implementation defined minimum and maximum size and the value in _buf will be adjusted to match the actual value set.
TH_EIMPL Not supported by this implementation in the current encoding mode.
-
-
- -
-
- -
-
- - - - -
#define TH_ENCCTL_SET_RATE_FLAGS   (20)
-
-
- -

Modifies the default bitrate management behavior.

-

Use to allow or disallow frame dropping, and to enable or disable capping bit reservoir overflows and underflows. See the list of available flags. The flags are set by default to TH_RATECTL_DROP_FRAMES|TH_RATECTL_CAP_OVERFLOW.

-
Parameters:
- - -
[in] _buf int: Any combination of the available flags:

- -
-
-
-
Return values:
- - - - -
TH_EFAULT _enc_ctx or _buf is NULL.
TH_EINVAL _buf_sz is not sizeof(int) or rate control is not enabled.
TH_EIMPL Not supported by this implementation in the current encoding mode.
-
-
- -
-
- -
-
- - - - -
#define TH_ENCCTL_SET_SPLEVEL   (14)
-
-
- -

Sets the speed level.

-

The current speed level may be retrieved using TH_ENCCTL_GET_SPLEVEL.

-
Parameters:
- - -
[in] _buf int: The new encoding speed level. 0 is slowest, larger values use less CPU.
-
-
-
Return values:
- - - - -
TH_EFAULT _enc_ctx or _buf is NULL.
TH_EINVAL _buf_sz is not sizeof(int), or the encoding speed level is out of bounds. The maximum encoding speed level may be implementation- and encoding mode-specific, and can be obtained via TH_ENCCTL_GET_SPLEVEL_MAX.
TH_EIMPL Not supported by this implementation in the current encoding mode.
-
-
- -
-
- -
-
- - - - -
#define TH_ENCCTL_SET_VP3_COMPATIBLE   (10)
-
-
- -

Disables any encoder features that would prevent lossless transcoding back to VP3.

-

This primarily means disabling block-adaptive quantization and always coding all four luma blocks in a macro block when 4MV is used. It also includes using the VP3 quantization tables and Huffman codes; if you set them explicitly after calling this function, the resulting stream will not be VP3-compatible. If you enable VP3-compatibility when encoding 4:2:2 or 4:4:4 source material, or when using a picture region smaller than the full frame (e.g. a non-multiple-of-16 width or height), then non-VP3 bitstream features will still be disabled, but the stream will still not be VP3-compatible, as VP3 was not capable of encoding such formats. If you call this after encoding has already begun, then the quantization tables and codebooks cannot be changed, but the frame-level features will be enabled or disabled as requested.

-
Parameters:
- - - -
[in] _buf int: a non-zero value to enable VP3 compatibility, or 0 to disable it (the default).
[out] _buf int: 1 if all bitstream features required for VP3-compatibility could be set, and 0 otherwise. The latter will be returned if the pixel format is not 4:2:0, the picture region is smaller than the full frame, or if encoding has begun, preventing the quantization tables and codebooks from being set.
-
-
-
Return values:
- - - - -
TH_EFAULT _enc_ctx or _buf is NULL.
TH_EINVAL _buf_sz is not sizeof(int).
TH_EIMPL Not supported by this implementation.
-
-
- -
-
- -
-
- - - - -
#define TH_RATECTL_CAP_OVERFLOW   (0x2)
-
-
- -

Ignore bitrate buffer overflows.

-

If the encoder uses so few bits that the reservoir of available bits overflows, ignore the excess. The encoder will not try to use these extra bits in future frames. At high rates this may cause the result to be undersized, but allows a client to play the stream using a finite buffer; it should normally be enabled.

- -
-
- -
-
- - - - -
#define TH_RATECTL_CAP_UNDERFLOW   (0x4)
-
-
- -

Ignore bitrate buffer underflows.

-

If the encoder uses so many bits that the reservoir of available bits underflows, ignore the deficit. The encoder will not try to make up these extra bits in future frames. At low rates this may cause the result to be oversized; it should normally be disabled.

- -
-
- -
-
- - - - -
#define TH_RATECTL_DROP_FRAMES   (0x1)
-
-
- -

Drop frames to keep within bitrate buffer constraints.

-

This can have a severe impact on quality, but is the only way to ensure that bitrate targets are met at low rates during sudden bursts of activity.

- -
-
-

Typedef Documentation

- -
-
- - - - -
typedef struct th_enc_ctx th_enc_ctx
-
-
- -

The encoder context.

- -
-
-

Variable Documentation

- -
-
- - - - -
const th_huff_code TH_VP31_HUFF_CODES[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS]
-
-
- -

The Huffman tables used by VP3.

- -
-
- -
- -
- -

The quantization parameters used by VP3.

- -
-
-
-
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/html/theoraenc_8h_source.html b/Libraries/libtheora-1.1.1/doc/libtheora/html/theoraenc_8h_source.html deleted file mode 100644 index 2ead1cfd..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/html/theoraenc_8h_source.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - -libtheora: theoraenc.h Source File - - - - - - -
Generated on 28 Sep 2009 for libtheora by  - -doxygen 1.6.1
- - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/Makefile b/Libraries/libtheora-1.1.1/doc/libtheora/latex/Makefile deleted file mode 100644 index 776fcf96..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/Makefile +++ /dev/null @@ -1,39 +0,0 @@ -all: clean refman.dvi - -ps: refman.ps - -pdf: refman.pdf - -ps_2on1: refman_2on1.ps - -pdf_2on1: refman_2on1.pdf - -refman.ps: refman.dvi - dvips -o refman.ps refman.dvi - -refman.pdf: refman.ps - ps2pdf refman.ps refman.pdf - -refman.dvi: refman.tex doxygen.sty - echo "Running latex..." - latex refman.tex - echo "Running makeindex..." - makeindex refman.idx - echo "Rerunning latex...." - latex refman.tex - latex_count=5 ; \ - while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ - do \ - echo "Rerunning latex...." ;\ - latex refman.tex ;\ - latex_count=`expr $$latex_count - 1` ;\ - done - -refman_2on1.ps: refman.ps - psnup -2 refman.ps >refman_2on1.ps - -refman_2on1.pdf: refman_2on1.ps - ps2pdf refman_2on1.ps refman_2on1.pdf - -clean: - rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/annotated.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/annotated.tex deleted file mode 100644 index b1a0ed06..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/annotated.tex +++ /dev/null @@ -1,14 +0,0 @@ -\section{Data Structures} -Here are the data structures with brief descriptions:\begin{DoxyCompactList} -\item\contentsline{section}{{\bf th\_\-comment} (The comment information )}{\pageref{structth__comment}}{} -\item\contentsline{section}{{\bf th\_\-huff\_\-code} (A Huffman code for a Theora DCT token )}{\pageref{structth__huff__code}}{} -\item\contentsline{section}{{\bf th\_\-img\_\-plane} (A buffer for a single color plane in an uncompressed image )}{\pageref{structth__img__plane}}{} -\item\contentsline{section}{{\bf th\_\-info} (Theora bitstream information )}{\pageref{structth__info}}{} -\item\contentsline{section}{{\bf th\_\-quant\_\-info} (A complete set of quantization parameters )}{\pageref{structth__quant__info}}{} -\item\contentsline{section}{{\bf th\_\-quant\_\-ranges} (A set of {\itshape qi\/} ranges )}{\pageref{structth__quant__ranges}}{} -\item\contentsline{section}{{\bf th\_\-stripe\_\-callback} (The striped decode callback data to pass to \doxyref{TH\_\-DECCTL\_\-SET\_\-STRIPE\_\-CB}{p.}{theoradec_8h_ac95cc9e109474b0fa4bb920ab2cfdf1e} )}{\pageref{structth__stripe__callback}}{} -\item\contentsline{section}{{\bf theora\_\-comment} (Comment header metadata )}{\pageref{structtheora__comment}}{} -\item\contentsline{section}{{\bf theora\_\-info} (Theora bitstream info )}{\pageref{structtheora__info}}{} -\item\contentsline{section}{{\bf theora\_\-state} (Codec internal state and context )}{\pageref{structtheora__state}}{} -\item\contentsline{section}{{\bf yuv\_\-buffer} (A YUV buffer for passing uncompressed frames to and from the codec )}{\pageref{structyuv__buffer}}{} -\end{DoxyCompactList} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/codec_8h.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/codec_8h.tex deleted file mode 100644 index a84076c1..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/codec_8h.tex +++ /dev/null @@ -1,233 +0,0 @@ -\section{codec.h File Reference} -\label{codec_8h}\index{codec.h@{codec.h}} - - -The shared {\ttfamily libtheoradec} and {\ttfamily libtheoraenc} C API. -{\ttfamily \#include $<$ogg/ogg.h$>$}\par -\subsection*{Data Structures} -\begin{DoxyCompactItemize} -\item -struct {\bf th\_\-img\_\-plane} -\begin{DoxyCompactList}\small\item\em A buffer for a single color plane in an uncompressed image. \item\end{DoxyCompactList}\item -struct {\bf th\_\-info} -\begin{DoxyCompactList}\small\item\em Theora bitstream information. \item\end{DoxyCompactList}\item -struct {\bf th\_\-comment} -\begin{DoxyCompactList}\small\item\em The comment information. \item\end{DoxyCompactList}\item -struct {\bf th\_\-quant\_\-ranges} -\begin{DoxyCompactList}\small\item\em A set of {\itshape qi\/} ranges. \item\end{DoxyCompactList}\item -struct {\bf th\_\-quant\_\-info} -\begin{DoxyCompactList}\small\item\em A complete set of quantization parameters. \item\end{DoxyCompactList}\item -struct {\bf th\_\-huff\_\-code} -\begin{DoxyCompactList}\small\item\em A Huffman code for a Theora DCT token. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Defines} -\begin{DoxyCompactItemize} -\item -\#define {\bf \_\-O\_\-THEORA\_\-CODEC\_\-H\_\-}~(1) -\item -\#define {\bf TH\_\-NHUFFMAN\_\-TABLES}~(80) -\begin{DoxyCompactList}\small\item\em The number of Huffman tables used by Theora. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-NDCT\_\-TOKENS}~(32) -\begin{DoxyCompactList}\small\item\em The number of DCT token values in each table. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\begin{Indent}{\bf Return codes}\par -{\em \label{_amgrp800007e5fae550658ee577ca16693452} - }\begin{DoxyCompactItemize} -\item -\#define {\bf TH\_\-EFAULT}~(-\/1) -\begin{DoxyCompactList}\small\item\em An invalid pointer was provided. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-EINVAL}~(-\/10) -\begin{DoxyCompactList}\small\item\em An invalid argument was provided. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-EBADHEADER}~(-\/20) -\begin{DoxyCompactList}\small\item\em The contents of the header were incomplete, invalid, or unexpected. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENOTFORMAT}~(-\/21) -\begin{DoxyCompactList}\small\item\em The header does not belong to a Theora stream. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-EVERSION}~(-\/22) -\begin{DoxyCompactList}\small\item\em The bitstream version is too high. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-EIMPL}~(-\/23) -\begin{DoxyCompactList}\small\item\em The specified function is not implemented. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-EBADPACKET}~(-\/24) -\begin{DoxyCompactList}\small\item\em There were errors in the video data packet. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-DUPFRAME}~(1) -\begin{DoxyCompactList}\small\item\em The decoded packet represented a dropped frame. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\end{Indent} -\subsection*{Typedefs} -\begin{DoxyCompactItemize} -\item -typedef {\bf th\_\-img\_\-plane} {\bf th\_\-ycbcr\_\-buffer} [3] -\begin{DoxyCompactList}\small\item\em A complete image buffer for an uncompressed frame. \item\end{DoxyCompactList}\item -typedef unsigned char {\bf th\_\-quant\_\-base} [64] -\begin{DoxyCompactList}\small\item\em A single base matrix. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Enumerations} -\begin{DoxyCompactItemize} -\item -enum {\bf th\_\-colorspace} \{ {\bf TH\_\-CS\_\-UNSPECIFIED}, -{\bf TH\_\-CS\_\-ITU\_\-REC\_\-470M}, -{\bf TH\_\-CS\_\-ITU\_\-REC\_\-470BG}, -{\bf TH\_\-CS\_\-NSPACES} - \} -\begin{DoxyCompactList}\small\item\em The currently defined color space tags. \item\end{DoxyCompactList}\item -enum {\bf th\_\-pixel\_\-fmt} \{ \par -{\bf TH\_\-PF\_\-420}, -{\bf TH\_\-PF\_\-RSVD}, -{\bf TH\_\-PF\_\-422}, -{\bf TH\_\-PF\_\-444}, -\par -{\bf TH\_\-PF\_\-NFORMATS} - \} -\begin{DoxyCompactList}\small\item\em The currently defined pixel format tags. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Functions} -\begin{Indent}{\bf Basic shared functions}\par -{\em \label{_amgrpb625c22fa07613c734f71c378fe32d7a} - }\begin{DoxyCompactItemize} -\item -const char $\ast$ {\bf th\_\-version\_\-string} (void) -\begin{DoxyCompactList}\small\item\em Retrieves a human-\/readable string to identify the library vendor and version. \item\end{DoxyCompactList}\item -ogg\_\-uint32\_\-t {\bf th\_\-version\_\-number} (void) -\begin{DoxyCompactList}\small\item\em Retrieves the library version number. \item\end{DoxyCompactList}\item -ogg\_\-int64\_\-t {\bf th\_\-granule\_\-frame} (void $\ast$\_\-encdec, ogg\_\-int64\_\-t \_\-granpos) -\begin{DoxyCompactList}\small\item\em Converts a granule position to an absolute frame index, starting at {\ttfamily 0}. \item\end{DoxyCompactList}\item -double {\bf th\_\-granule\_\-time} (void $\ast$\_\-encdec, ogg\_\-int64\_\-t \_\-granpos) -\begin{DoxyCompactList}\small\item\em Converts a granule position to an absolute time in seconds. \item\end{DoxyCompactList}\item -int {\bf th\_\-packet\_\-isheader} (ogg\_\-packet $\ast$\_\-op) -\begin{DoxyCompactList}\small\item\em Determines whether a Theora packet is a header or not. \item\end{DoxyCompactList}\item -int {\bf th\_\-packet\_\-iskeyframe} (ogg\_\-packet $\ast$\_\-op) -\begin{DoxyCompactList}\small\item\em Determines whether a theora packet is a key frame or not. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\end{Indent} -\begin{Indent}{\bf Functions for manipulating header data}\par -{\em \label{_amgrp14ef5f819e97c870c128539ed1f334e3} - }\begin{DoxyCompactItemize} -\item -void {\bf th\_\-info\_\-init} ({\bf th\_\-info} $\ast$\_\-info) -\begin{DoxyCompactList}\small\item\em Initializes a \doxyref{th\_\-info}{p.}{structth__info} structure. \item\end{DoxyCompactList}\item -void {\bf th\_\-info\_\-clear} ({\bf th\_\-info} $\ast$\_\-info) -\begin{DoxyCompactList}\small\item\em Clears a \doxyref{th\_\-info}{p.}{structth__info} structure. \item\end{DoxyCompactList}\item -void {\bf th\_\-comment\_\-init} ({\bf th\_\-comment} $\ast$\_\-tc) -\begin{DoxyCompactList}\small\item\em Initialize a \doxyref{th\_\-comment}{p.}{structth__comment} structure. \item\end{DoxyCompactList}\item -void {\bf th\_\-comment\_\-add} ({\bf th\_\-comment} $\ast$\_\-tc, char $\ast$\_\-comment) -\begin{DoxyCompactList}\small\item\em Add a comment to an initialized \doxyref{th\_\-comment}{p.}{structth__comment} structure. \item\end{DoxyCompactList}\item -void {\bf th\_\-comment\_\-add\_\-tag} ({\bf th\_\-comment} $\ast$\_\-tc, char $\ast$\_\-tag, char $\ast$\_\-val) -\begin{DoxyCompactList}\small\item\em Add a comment to an initialized \doxyref{th\_\-comment}{p.}{structth__comment} structure. \item\end{DoxyCompactList}\item -char $\ast$ {\bf th\_\-comment\_\-query} ({\bf th\_\-comment} $\ast$\_\-tc, char $\ast$\_\-tag, int \_\-count) -\begin{DoxyCompactList}\small\item\em Look up a comment value by its tag. \item\end{DoxyCompactList}\item -int {\bf th\_\-comment\_\-query\_\-count} ({\bf th\_\-comment} $\ast$\_\-tc, char $\ast$\_\-tag) -\begin{DoxyCompactList}\small\item\em Look up the number of instances of a tag. \item\end{DoxyCompactList}\item -void {\bf th\_\-comment\_\-clear} ({\bf th\_\-comment} $\ast$\_\-tc) -\begin{DoxyCompactList}\small\item\em Clears a \doxyref{th\_\-comment}{p.}{structth__comment} structure. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\end{Indent} - - -\subsection{Detailed Description} -The shared {\ttfamily libtheoradec} and {\ttfamily libtheoraenc} C API. You don't need to include this directly. - -\subsection{Define Documentation} -\index{codec.h@{codec.h}!\_\-O\_\-THEORA\_\-CODEC\_\-H\_\-@{\_\-O\_\-THEORA\_\-CODEC\_\-H\_\-}} -\index{\_\-O\_\-THEORA\_\-CODEC\_\-H\_\-@{\_\-O\_\-THEORA\_\-CODEC\_\-H\_\-}!codec.h@{codec.h}} -\subsubsection[{\_\-O\_\-THEORA\_\-CODEC\_\-H\_\-}]{\setlength{\rightskip}{0pt plus 5cm}\#define \_\-O\_\-THEORA\_\-CODEC\_\-H\_\-~(1)}\label{codec_8h_a15352a6a862d25ab00a8f06ea65ee75b} -\index{codec.h@{codec.h}!TH\_\-DUPFRAME@{TH\_\-DUPFRAME}} -\index{TH\_\-DUPFRAME@{TH\_\-DUPFRAME}!codec.h@{codec.h}} -\subsubsection[{TH\_\-DUPFRAME}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-DUPFRAME~(1)}\label{codec_8h_ab10e7b64f17a02707fc9348ea9832d09} - - -The decoded packet represented a dropped frame. The player can continue to display the current frame, as the contents of the decoded frame buffer have not changed. \index{codec.h@{codec.h}!TH\_\-EBADHEADER@{TH\_\-EBADHEADER}} -\index{TH\_\-EBADHEADER@{TH\_\-EBADHEADER}!codec.h@{codec.h}} -\subsubsection[{TH\_\-EBADHEADER}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-EBADHEADER~(-\/20)}\label{codec_8h_af00f7ecc5242d12a717202537324a510} - - -The contents of the header were incomplete, invalid, or unexpected. \index{codec.h@{codec.h}!TH\_\-EBADPACKET@{TH\_\-EBADPACKET}} -\index{TH\_\-EBADPACKET@{TH\_\-EBADPACKET}!codec.h@{codec.h}} -\subsubsection[{TH\_\-EBADPACKET}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-EBADPACKET~(-\/24)}\label{codec_8h_a6efb84e9c2213a8840003eee2847b27f} - - -There were errors in the video data packet. \index{codec.h@{codec.h}!TH\_\-EFAULT@{TH\_\-EFAULT}} -\index{TH\_\-EFAULT@{TH\_\-EFAULT}!codec.h@{codec.h}} -\subsubsection[{TH\_\-EFAULT}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-EFAULT~(-\/1)}\label{codec_8h_a4d8d8e34fc5ec39ffa05d61a310a0407} - - -An invalid pointer was provided. \index{codec.h@{codec.h}!TH\_\-EIMPL@{TH\_\-EIMPL}} -\index{TH\_\-EIMPL@{TH\_\-EIMPL}!codec.h@{codec.h}} -\subsubsection[{TH\_\-EIMPL}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-EIMPL~(-\/23)}\label{codec_8h_a921c47accc17841f220af5a6afb79efe} - - -The specified function is not implemented. \index{codec.h@{codec.h}!TH\_\-EINVAL@{TH\_\-EINVAL}} -\index{TH\_\-EINVAL@{TH\_\-EINVAL}!codec.h@{codec.h}} -\subsubsection[{TH\_\-EINVAL}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-EINVAL~(-\/10)}\label{codec_8h_afbbd9f19fbf292aeb62a37792cecb870} - - -An invalid argument was provided. \index{codec.h@{codec.h}!TH\_\-ENOTFORMAT@{TH\_\-ENOTFORMAT}} -\index{TH\_\-ENOTFORMAT@{TH\_\-ENOTFORMAT}!codec.h@{codec.h}} -\subsubsection[{TH\_\-ENOTFORMAT}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENOTFORMAT~(-\/21)}\label{codec_8h_a3dc08a00a9aba231be398f3e31726d9c} - - -The header does not belong to a Theora stream. \index{codec.h@{codec.h}!TH\_\-EVERSION@{TH\_\-EVERSION}} -\index{TH\_\-EVERSION@{TH\_\-EVERSION}!codec.h@{codec.h}} -\subsubsection[{TH\_\-EVERSION}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-EVERSION~(-\/22)}\label{codec_8h_ac3a45ef2b24f75259258edc481e3a122} - - -The bitstream version is too high. \index{codec.h@{codec.h}!TH\_\-NDCT\_\-TOKENS@{TH\_\-NDCT\_\-TOKENS}} -\index{TH\_\-NDCT\_\-TOKENS@{TH\_\-NDCT\_\-TOKENS}!codec.h@{codec.h}} -\subsubsection[{TH\_\-NDCT\_\-TOKENS}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-NDCT\_\-TOKENS~(32)}\label{codec_8h_a2a44f48084e76a58cae48fb5d47cd422} - - -The number of DCT token values in each table. \index{codec.h@{codec.h}!TH\_\-NHUFFMAN\_\-TABLES@{TH\_\-NHUFFMAN\_\-TABLES}} -\index{TH\_\-NHUFFMAN\_\-TABLES@{TH\_\-NHUFFMAN\_\-TABLES}!codec.h@{codec.h}} -\subsubsection[{TH\_\-NHUFFMAN\_\-TABLES}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-NHUFFMAN\_\-TABLES~(80)}\label{codec_8h_a49bf449eae33c5320f0c308f32c6ae42} - - -The number of Huffman tables used by Theora. - -\subsection{Typedef Documentation} -\index{codec.h@{codec.h}!th\_\-quant\_\-base@{th\_\-quant\_\-base}} -\index{th\_\-quant\_\-base@{th\_\-quant\_\-base}!codec.h@{codec.h}} -\subsubsection[{th\_\-quant\_\-base}]{\setlength{\rightskip}{0pt plus 5cm}typedef unsigned char {\bf th\_\-quant\_\-base}[64]}\label{codec_8h_a6a1426d16beef8a311d7f0e9d2e96326} - - -A single base matrix. \index{codec.h@{codec.h}!th\_\-ycbcr\_\-buffer@{th\_\-ycbcr\_\-buffer}} -\index{th\_\-ycbcr\_\-buffer@{th\_\-ycbcr\_\-buffer}!codec.h@{codec.h}} -\subsubsection[{th\_\-ycbcr\_\-buffer}]{\setlength{\rightskip}{0pt plus 5cm}typedef {\bf th\_\-img\_\-plane} {\bf th\_\-ycbcr\_\-buffer}[3]}\label{codec_8h_a343f7cfabad179cc4fe527cf06873f45} - - -A complete image buffer for an uncompressed frame. The chroma planes may be decimated by a factor of two in either direction, as indicated by \doxyref{th\_\-info::pixel\_\-fmt}{p.}{structth__info_a2301388ef3755c41ab12fd144c1fc54e}. The width and height of the Y' plane must be multiples of 16. They may need to be cropped for display, using the rectangle specified by \doxyref{th\_\-info::pic\_\-x}{p.}{structth__info_a5b3f834bcf141564e7bb14f49101870f}, \doxyref{th\_\-info::pic\_\-y}{p.}{structth__info_a8aacc575cab2dfe3735001c2ad32aa14}, \doxyref{th\_\-info::pic\_\-width}{p.}{structth__info_a5048edf77b141dd3e9a92ca85e317345}, and \doxyref{th\_\-info::pic\_\-height}{p.}{structth__info_a775178474283c5990ba73f9ba7f6b88b}. All samples are 8 bits. \begin{DoxyNote}{Note} -The term YUV often used to describe a colorspace is ambiguous. The exact parameters of the RGB to YUV conversion process aside, in many contexts the U and V channels actually have opposite meanings. To avoid this confusion, we are explicit: the name of the color channels are Y'CbCr, and they appear in that order, always. The prime symbol denotes that the Y channel is non-\/linear. Cb and Cr stand for \char`\"{}Chroma blue\char`\"{} and \char`\"{}Chroma red\char`\"{}, respectively. -\end{DoxyNote} - - -\subsection{Enumeration Type Documentation} -\index{codec.h@{codec.h}!th\_\-colorspace@{th\_\-colorspace}} -\index{th\_\-colorspace@{th\_\-colorspace}!codec.h@{codec.h}} -\subsubsection[{th\_\-colorspace}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf th\_\-colorspace}}\label{codec_8h_a4ce7a695ce353b1582d29b6c1ddf31a0} - - -The currently defined color space tags. See {\tt the Theora specification}, Chapter 4, for exact details on the meaning of each of these color spaces. \begin{Desc} -\item[Enumerator: ]\par -\begin{description} -\index{TH\_\-CS\_\-UNSPECIFIED@{TH\_\-CS\_\-UNSPECIFIED}!codec.h@{codec.h}}\index{codec.h@{codec.h}!TH\_\-CS\_\-UNSPECIFIED@{TH\_\-CS\_\-UNSPECIFIED}}\item[{\em -TH\_\-CS\_\-UNSPECIFIED\label{codec_8h_a4ce7a695ce353b1582d29b6c1ddf31a0adb9a17a3283c8d490652e507db2427cf} -}]The color space was not specified at the encoder. It may be conveyed by an external means. \index{TH\_\-CS\_\-ITU\_\-REC\_\-470M@{TH\_\-CS\_\-ITU\_\-REC\_\-470M}!codec.h@{codec.h}}\index{codec.h@{codec.h}!TH\_\-CS\_\-ITU\_\-REC\_\-470M@{TH\_\-CS\_\-ITU\_\-REC\_\-470M}}\item[{\em -TH\_\-CS\_\-ITU\_\-REC\_\-470M\label{codec_8h_a4ce7a695ce353b1582d29b6c1ddf31a0a1a19346bbfb8192baa4c185df73d3397} -}]A color space designed for NTSC content. \index{TH\_\-CS\_\-ITU\_\-REC\_\-470BG@{TH\_\-CS\_\-ITU\_\-REC\_\-470BG}!codec.h@{codec.h}}\index{codec.h@{codec.h}!TH\_\-CS\_\-ITU\_\-REC\_\-470BG@{TH\_\-CS\_\-ITU\_\-REC\_\-470BG}}\item[{\em -TH\_\-CS\_\-ITU\_\-REC\_\-470BG\label{codec_8h_a4ce7a695ce353b1582d29b6c1ddf31a0a009021d50836ddb0ec6004a2803775fe} -}]A color space designed for PAL/SECAM content. \index{TH\_\-CS\_\-NSPACES@{TH\_\-CS\_\-NSPACES}!codec.h@{codec.h}}\index{codec.h@{codec.h}!TH\_\-CS\_\-NSPACES@{TH\_\-CS\_\-NSPACES}}\item[{\em -TH\_\-CS\_\-NSPACES\label{codec_8h_a4ce7a695ce353b1582d29b6c1ddf31a0a0fa8ea07f583ee57943520ddb2f6e62e} -}]The total number of currently defined color spaces. \end{description} -\end{Desc} - -\index{codec.h@{codec.h}!th\_\-pixel\_\-fmt@{th\_\-pixel\_\-fmt}} -\index{th\_\-pixel\_\-fmt@{th\_\-pixel\_\-fmt}!codec.h@{codec.h}} -\subsubsection[{th\_\-pixel\_\-fmt}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf th\_\-pixel\_\-fmt}}\label{codec_8h_a5c9e7f2f0c7ed209c9ca3ed0abd328bc} - - -The currently defined pixel format tags. See {\tt the Theora specification}, Section 4.4, for details on the precise sample locations. \begin{Desc} -\item[Enumerator: ]\par -\begin{description} -\index{TH\_\-PF\_\-420@{TH\_\-PF\_\-420}!codec.h@{codec.h}}\index{codec.h@{codec.h}!TH\_\-PF\_\-420@{TH\_\-PF\_\-420}}\item[{\em -TH\_\-PF\_\-420\label{codec_8h_a5c9e7f2f0c7ed209c9ca3ed0abd328bcafed7ad7ee4345930255827bff6055162} -}]Chroma decimation by 2 in both the X and Y directions (4:2:0). The Cb and Cr chroma planes are half the width and half the height of the luma plane. \index{TH\_\-PF\_\-RSVD@{TH\_\-PF\_\-RSVD}!codec.h@{codec.h}}\index{codec.h@{codec.h}!TH\_\-PF\_\-RSVD@{TH\_\-PF\_\-RSVD}}\item[{\em -TH\_\-PF\_\-RSVD\label{codec_8h_a5c9e7f2f0c7ed209c9ca3ed0abd328bca9e60af0159d42b20806d7eb4a8b833e6} -}]Currently reserved. \index{TH\_\-PF\_\-422@{TH\_\-PF\_\-422}!codec.h@{codec.h}}\index{codec.h@{codec.h}!TH\_\-PF\_\-422@{TH\_\-PF\_\-422}}\item[{\em -TH\_\-PF\_\-422\label{codec_8h_a5c9e7f2f0c7ed209c9ca3ed0abd328bca0271d01babf2f51512479f4a6245b9fa} -}]Chroma decimation by 2 in the X direction (4:2:2). The Cb and Cr chroma planes are half the width of the luma plane, but full height. \index{TH\_\-PF\_\-444@{TH\_\-PF\_\-444}!codec.h@{codec.h}}\index{codec.h@{codec.h}!TH\_\-PF\_\-444@{TH\_\-PF\_\-444}}\item[{\em -TH\_\-PF\_\-444\label{codec_8h_a5c9e7f2f0c7ed209c9ca3ed0abd328bca2ac50ac048ea75501a5e0f99a63c8c86} -}]No chroma decimation (4:4:4). The Cb and Cr chroma planes are full width and full height. \index{TH\_\-PF\_\-NFORMATS@{TH\_\-PF\_\-NFORMATS}!codec.h@{codec.h}}\index{codec.h@{codec.h}!TH\_\-PF\_\-NFORMATS@{TH\_\-PF\_\-NFORMATS}}\item[{\em -TH\_\-PF\_\-NFORMATS\label{codec_8h_a5c9e7f2f0c7ed209c9ca3ed0abd328bca2d6d78b9df1df086bb60f32f963a31eb} -}]The total number of currently defined pixel formats. \end{description} -\end{Desc} - diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/doxygen.sty b/Libraries/libtheora-1.1.1/doc/libtheora/latex/doxygen.sty deleted file mode 100644 index ad07649b..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/doxygen.sty +++ /dev/null @@ -1,351 +0,0 @@ -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{doxygen} - -% Packages used by this style file -\RequirePackage{alltt} -\RequirePackage{array} -\RequirePackage{calc} -\RequirePackage{color} -\RequirePackage{fancyhdr} -\RequirePackage{verbatim} - -% Setup fancy headings -\pagestyle{fancyplain} -\newcommand{\clearemptydoublepage}{% - \newpage{\pagestyle{empty}\cleardoublepage}% -} -\renewcommand{\chaptermark}[1]{% - \markboth{#1}{}% -} -\renewcommand{\sectionmark}[1]{% - \markright{\thesection\ #1}% -} -\lhead[\fancyplain{}{\bfseries\thepage}]{% - \fancyplain{}{\bfseries\rightmark}% -} -\rhead[\fancyplain{}{\bfseries\leftmark}]{% - \fancyplain{}{\bfseries\thepage}% -} -\rfoot[\fancyplain{}{\bfseries\scriptsize% - Generated on Mon Sep 28 11:02:24 2009 for libtheora by Doxygen }]{} -\lfoot[]{\fancyplain{}{\bfseries\scriptsize% - Generated on Mon Sep 28 11:02:24 2009 for libtheora by Doxygen }} -\cfoot{} - -%---------- Internal commands used in this style file ---------------- - -% Generic environment used by all paragraph-based environments defined -% below. Note that the command \title{...} needs to be defined inside -% those environments! -\newenvironment{DoxyDesc}[1]{% - \begin{list}{}% - {% - \settowidth{\labelwidth}{40pt}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\parsep}{0pt}% - \setlength{\itemsep}{-4pt}% - \renewcommand{\makelabel}{\entrylabel}% - }% - \item[#1:]% -}{% - \end{list}% -} - -%---------- Commands used by doxygen LaTeX output generator ---------- - -% Used by
 ... 
-\newenvironment{DoxyPre}{% - \small% - \begin{alltt}% -}{% - \end{alltt}% - \normalsize% -} - -% Used by @code ... @endcode -\newenvironment{DoxyCode}{% - \footnotesize% - \verbatim% -}{% - \endverbatim% - \normalsize% -} - -% Used by @example, @include, @includelineno and @dontinclude -\newenvironment{DoxyCodeInclude}{% - \DoxyCode% -}{% - \endDoxyCode% -} - -% Used by @verbatim ... @endverbatim -\newenvironment{DoxyVerb}{% - \footnotesize% - \verbatim% -}{% - \endverbatim% - \normalsize% -} - -% Used by @verbinclude -\newenvironment{DoxyVerbInclude}{% - \DoxyVerb% -}{% - \endDoxyVerb% -} - -% Used by numbered lists (using '-#' or
    ...
) -\newenvironment{DoxyEnumerate}{% - \enumerate% -}{% - \endenumerate% -} - -% Used by bullet lists (using '-', @li, @arg, or
    ...
) -\newenvironment{DoxyItemize}{% - \itemize% -}{% - \enditemize% -} - -% Used by description lists (using
...
) -\newenvironment{DoxyDescription}{% - \description% -}{% - \enddescription% -} - -% Used by @image, @dotfile, and @dot ... @enddot -% (only if caption is specified) -\newenvironment{DoxyImage}{% - \begin{figure}[H]% - \begin{center}% -}{% - \end{center}% - \end{figure}% -} - -% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc -% (only if no caption is specified) -\newenvironment{DoxyImageNoCaption}{% -}{% -} - -% Used by @attention -\newenvironment{DoxyAttention}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @author and @authors -\newenvironment{DoxyAuthor}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @date -\newenvironment{DoxyDate}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @invariant -\newenvironment{DoxyInvariant}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @note -\newenvironment{DoxyNote}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @post -\newenvironment{DoxyPostcond}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @pre -\newenvironment{DoxyPrecond}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @remark -\newenvironment{DoxyRemark}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @return -\newenvironment{DoxyReturn}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @since -\newenvironment{DoxySince}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @see -\newenvironment{DoxySeeAlso}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @version -\newenvironment{DoxyVersion}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @warning -\newenvironment{DoxyWarning}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @internal -\newenvironment{DoxyInternal}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @par and @paragraph -\newenvironment{DoxyParagraph}[1]{% - \begin{list}{}% - {% - \settowidth{\labelwidth}{40pt}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\parsep}{0pt}% - \setlength{\itemsep}{-4pt}% - \renewcommand{\makelabel}{\entrylabel}% - }% - \item[#1]% -}{% - \end{list}% -} - -% Used by parameter lists -\newenvironment{DoxyParams}[1]{% - \begin{DoxyDesc}{#1}% - \begin{description}% -}{% - \end{description}% - \end{DoxyDesc}% -} - -% Used by return value lists -\newenvironment{DoxyRetVals}[1]{% - \begin{DoxyDesc}{#1}% - \begin{description}% -}{% - \end{description}% - \end{DoxyDesc}% -} - -% Used by exception lists -\newenvironment{DoxyExceptions}[1]{% - \begin{DoxyDesc}{#1}% - \begin{description}% -}{% - \end{description}% - \end{DoxyDesc}% -} - -% Used by template parameter lists -\newenvironment{DoxyTemplParams}[1]{% - \begin{DoxyDesc}{#1}% - \begin{description}% -}{% - \end{description}% - \end{DoxyDesc}% -} - -\newcommand{\doxyref}[3]{\textbf{#1} (\textnormal{#2}\,\pageref{#3})} -\newenvironment{DoxyCompactList} -{\begin{list}{}{ - \setlength{\leftmargin}{0.5cm} - \setlength{\itemsep}{0pt} - \setlength{\parsep}{0pt} - \setlength{\topsep}{0pt} - \renewcommand{\makelabel}{\hfill}}} -{\end{list}} -\newenvironment{DoxyCompactItemize} -{ - \begin{itemize} - \setlength{\itemsep}{-3pt} - \setlength{\parsep}{0pt} - \setlength{\topsep}{0pt} - \setlength{\partopsep}{0pt} -} -{\end{itemize}} -\newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp} -\newlength{\tmplength} -\newenvironment{TabularC}[1] -{ -\setlength{\tmplength} - {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)} - \par\begin{tabular*}{\linewidth} - {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|} -} -{\end{tabular*}\par} -\newcommand{\entrylabel}[1]{ - {\parbox[b]{\labelwidth-4pt}{\makebox[0pt][l]{\textbf{#1}}\vspace{1.5\baselineskip}}}} -\newenvironment{Desc} -{\begin{list}{} - { - \settowidth{\labelwidth}{40pt} - \setlength{\leftmargin}{\labelwidth} - \setlength{\parsep}{0pt} - \setlength{\itemsep}{-4pt} - \renewcommand{\makelabel}{\entrylabel} - } -} -{\end{list}} -\newenvironment{Indent} - {\begin{list}{}{\setlength{\leftmargin}{0.5cm}} - \item[]\ignorespaces} - {\unskip\end{list}} -\setlength{\parindent}{0cm} -\setlength{\parskip}{0.2cm} -\addtocounter{secnumdepth}{1} -\sloppy -\usepackage[T1]{fontenc} -\makeatletter -\renewcommand{\paragraph}{\@startsection{paragraph}{4}{0ex}% - {-3.25ex plus -1ex minus -0.2ex}% - {1.5ex plus 0.2ex}% - {\normalfont\normalsize\bfseries}} -\makeatother -\stepcounter{secnumdepth} -\stepcounter{tocdepth} -\definecolor{comment}{rgb}{0.5,0.0,0.0} -\definecolor{keyword}{rgb}{0.0,0.5,0.0} -\definecolor{keywordtype}{rgb}{0.38,0.25,0.125} -\definecolor{keywordflow}{rgb}{0.88,0.5,0.0} -\definecolor{preprocessor}{rgb}{0.5,0.38,0.125} -\definecolor{stringliteral}{rgb}{0.0,0.125,0.25} -\definecolor{charliteral}{rgb}{0.0,0.5,0.5} -\definecolor{vhdldigit}{rgb}{1.0,0.0,1.0} -\definecolor{vhdlkeyword}{rgb}{0.43,0.0,0.43} -\definecolor{vhdllogic}{rgb}{1.0,0.0,0.0} -\definecolor{vhdlchar}{rgb}{0.0,0.0,0.0} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/files.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/files.tex deleted file mode 100644 index 8340639f..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/files.tex +++ /dev/null @@ -1,7 +0,0 @@ -\section{File List} -Here is a list of all files with brief descriptions:\begin{DoxyCompactList} -\item\contentsline{section}{{\bf codec.h} (The shared {\ttfamily libtheoradec} and {\ttfamily libtheoraenc} C API )}{\pageref{codec_8h}}{} -\item\contentsline{section}{{\bf theora.h} (The libtheora pre-\/1.0 legacy C API )}{\pageref{theora_8h}}{} -\item\contentsline{section}{{\bf theoradec.h} (The {\ttfamily libtheoradec} C decoding API )}{\pageref{theoradec_8h}}{} -\item\contentsline{section}{{\bf theoraenc.h} (The {\ttfamily libtheoraenc} C encoding API )}{\pageref{theoraenc_8h}}{} -\end{DoxyCompactList} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/group__basefuncs.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/group__basefuncs.tex deleted file mode 100644 index f7d9f20e..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/group__basefuncs.tex +++ /dev/null @@ -1,190 +0,0 @@ -\section{Functions Shared by Encode and Decode} -\label{group__basefuncs}\index{Functions Shared by Encode and Decode@{Functions Shared by Encode and Decode}} -\subsection*{Basic shared functions} -\label{_amgrpb625c22fa07613c734f71c378fe32d7a} - \begin{DoxyCompactItemize} -\item -const char $\ast$ {\bf th\_\-version\_\-string} (void) -\begin{DoxyCompactList}\small\item\em Retrieves a human-\/readable string to identify the library vendor and version. \item\end{DoxyCompactList}\item -ogg\_\-uint32\_\-t {\bf th\_\-version\_\-number} (void) -\begin{DoxyCompactList}\small\item\em Retrieves the library version number. \item\end{DoxyCompactList}\item -ogg\_\-int64\_\-t {\bf th\_\-granule\_\-frame} (void $\ast$\_\-encdec, ogg\_\-int64\_\-t \_\-granpos) -\begin{DoxyCompactList}\small\item\em Converts a granule position to an absolute frame index, starting at {\ttfamily 0}. \item\end{DoxyCompactList}\item -double {\bf th\_\-granule\_\-time} (void $\ast$\_\-encdec, ogg\_\-int64\_\-t \_\-granpos) -\begin{DoxyCompactList}\small\item\em Converts a granule position to an absolute time in seconds. \item\end{DoxyCompactList}\item -int {\bf th\_\-packet\_\-isheader} (ogg\_\-packet $\ast$\_\-op) -\begin{DoxyCompactList}\small\item\em Determines whether a Theora packet is a header or not. \item\end{DoxyCompactList}\item -int {\bf th\_\-packet\_\-iskeyframe} (ogg\_\-packet $\ast$\_\-op) -\begin{DoxyCompactList}\small\item\em Determines whether a theora packet is a key frame or not. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Functions for manipulating header data} -\label{_amgrp14ef5f819e97c870c128539ed1f334e3} - \begin{DoxyCompactItemize} -\item -void {\bf th\_\-info\_\-init} ({\bf th\_\-info} $\ast$\_\-info) -\begin{DoxyCompactList}\small\item\em Initializes a \doxyref{th\_\-info}{p.}{structth__info} structure. \item\end{DoxyCompactList}\item -void {\bf th\_\-info\_\-clear} ({\bf th\_\-info} $\ast$\_\-info) -\begin{DoxyCompactList}\small\item\em Clears a \doxyref{th\_\-info}{p.}{structth__info} structure. \item\end{DoxyCompactList}\item -void {\bf th\_\-comment\_\-init} ({\bf th\_\-comment} $\ast$\_\-tc) -\begin{DoxyCompactList}\small\item\em Initialize a \doxyref{th\_\-comment}{p.}{structth__comment} structure. \item\end{DoxyCompactList}\item -void {\bf th\_\-comment\_\-add} ({\bf th\_\-comment} $\ast$\_\-tc, char $\ast$\_\-comment) -\begin{DoxyCompactList}\small\item\em Add a comment to an initialized \doxyref{th\_\-comment}{p.}{structth__comment} structure. \item\end{DoxyCompactList}\item -void {\bf th\_\-comment\_\-add\_\-tag} ({\bf th\_\-comment} $\ast$\_\-tc, char $\ast$\_\-tag, char $\ast$\_\-val) -\begin{DoxyCompactList}\small\item\em Add a comment to an initialized \doxyref{th\_\-comment}{p.}{structth__comment} structure. \item\end{DoxyCompactList}\item -char $\ast$ {\bf th\_\-comment\_\-query} ({\bf th\_\-comment} $\ast$\_\-tc, char $\ast$\_\-tag, int \_\-count) -\begin{DoxyCompactList}\small\item\em Look up a comment value by its tag. \item\end{DoxyCompactList}\item -int {\bf th\_\-comment\_\-query\_\-count} ({\bf th\_\-comment} $\ast$\_\-tc, char $\ast$\_\-tag) -\begin{DoxyCompactList}\small\item\em Look up the number of instances of a tag. \item\end{DoxyCompactList}\item -void {\bf th\_\-comment\_\-clear} ({\bf th\_\-comment} $\ast$\_\-tc) -\begin{DoxyCompactList}\small\item\em Clears a \doxyref{th\_\-comment}{p.}{structth__comment} structure. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\index{basefuncs@{basefuncs}!th\_\-comment\_\-add@{th\_\-comment\_\-add}} -\index{th\_\-comment\_\-add@{th\_\-comment\_\-add}!basefuncs@{basefuncs}} -\subsubsection[{th\_\-comment\_\-add}]{\setlength{\rightskip}{0pt plus 5cm}void th\_\-comment\_\-add ({\bf th\_\-comment} $\ast$ {\em \_\-tc}, \/ char $\ast$ {\em \_\-comment})}\label{group__basefuncs_ga19a1f7b8032db957df151a34e5ac9272} - - -Add a comment to an initialized \doxyref{th\_\-comment}{p.}{structth__comment} structure. \begin{DoxyNote}{Note} -Neither \doxyref{th\_\-comment\_\-add()}{p.}{group__basefuncs_ga19a1f7b8032db957df151a34e5ac9272} nor \doxyref{th\_\-comment\_\-add\_\-tag()}{p.}{group__basefuncs_ga6c5edc201ca220a30787ca6c1ddcaeaf} support comments containing null values, although the bitstream format does support them. To add such comments you will need to manipulate the \doxyref{th\_\-comment}{p.}{structth__comment} structure directly. -\end{DoxyNote} - -\begin{DoxyParams}{Parameters} -\item[{\em \_\-tc}]The \doxyref{th\_\-comment}{p.}{structth__comment} struct to add the comment to. \item[{\em \_\-comment}]Must be a null-\/terminated UTF-\/8 string containing the comment in \char`\"{}TAG=the value\char`\"{} form. \end{DoxyParams} -\index{basefuncs@{basefuncs}!th\_\-comment\_\-add\_\-tag@{th\_\-comment\_\-add\_\-tag}} -\index{th\_\-comment\_\-add\_\-tag@{th\_\-comment\_\-add\_\-tag}!basefuncs@{basefuncs}} -\subsubsection[{th\_\-comment\_\-add\_\-tag}]{\setlength{\rightskip}{0pt plus 5cm}void th\_\-comment\_\-add\_\-tag ({\bf th\_\-comment} $\ast$ {\em \_\-tc}, \/ char $\ast$ {\em \_\-tag}, \/ char $\ast$ {\em \_\-val})}\label{group__basefuncs_ga6c5edc201ca220a30787ca6c1ddcaeaf} - - -Add a comment to an initialized \doxyref{th\_\-comment}{p.}{structth__comment} structure. \begin{DoxyNote}{Note} -Neither \doxyref{th\_\-comment\_\-add()}{p.}{group__basefuncs_ga19a1f7b8032db957df151a34e5ac9272} nor \doxyref{th\_\-comment\_\-add\_\-tag()}{p.}{group__basefuncs_ga6c5edc201ca220a30787ca6c1ddcaeaf} support comments containing null values, although the bitstream format does support them. To add such comments you will need to manipulate the \doxyref{th\_\-comment}{p.}{structth__comment} structure directly. -\end{DoxyNote} - -\begin{DoxyParams}{Parameters} -\item[{\em \_\-tc}]The \doxyref{th\_\-comment}{p.}{structth__comment} struct to add the comment to. \item[{\em \_\-tag}]A null-\/terminated string containing the tag associated with the comment. \item[{\em \_\-val}]The corresponding value as a null-\/terminated string. \end{DoxyParams} -\index{basefuncs@{basefuncs}!th\_\-comment\_\-clear@{th\_\-comment\_\-clear}} -\index{th\_\-comment\_\-clear@{th\_\-comment\_\-clear}!basefuncs@{basefuncs}} -\subsubsection[{th\_\-comment\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}void th\_\-comment\_\-clear ({\bf th\_\-comment} $\ast$ {\em \_\-tc})}\label{group__basefuncs_gae736c1afa514947a3feb223143af95e3} - - -Clears a \doxyref{th\_\-comment}{p.}{structth__comment} structure. This should be called on a \doxyref{th\_\-comment}{p.}{structth__comment} structure after it is no longer needed. It will free all memory used by the structure members. -\begin{DoxyParams}{Parameters} -\item[{\em \_\-tc}]The \doxyref{th\_\-comment}{p.}{structth__comment} struct to clear. \end{DoxyParams} -\index{basefuncs@{basefuncs}!th\_\-comment\_\-init@{th\_\-comment\_\-init}} -\index{th\_\-comment\_\-init@{th\_\-comment\_\-init}!basefuncs@{basefuncs}} -\subsubsection[{th\_\-comment\_\-init}]{\setlength{\rightskip}{0pt plus 5cm}void th\_\-comment\_\-init ({\bf th\_\-comment} $\ast$ {\em \_\-tc})}\label{group__basefuncs_ga6c8ab25988e7ea9d7b1e31a54cf58f09} - - -Initialize a \doxyref{th\_\-comment}{p.}{structth__comment} structure. This should be called on a freshly allocated \doxyref{th\_\-comment}{p.}{structth__comment} structure before attempting to use it. -\begin{DoxyParams}{Parameters} -\item[{\em \_\-tc}]The \doxyref{th\_\-comment}{p.}{structth__comment} struct to initialize. \end{DoxyParams} -\index{basefuncs@{basefuncs}!th\_\-comment\_\-query@{th\_\-comment\_\-query}} -\index{th\_\-comment\_\-query@{th\_\-comment\_\-query}!basefuncs@{basefuncs}} -\subsubsection[{th\_\-comment\_\-query}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ th\_\-comment\_\-query ({\bf th\_\-comment} $\ast$ {\em \_\-tc}, \/ char $\ast$ {\em \_\-tag}, \/ int {\em \_\-count})}\label{group__basefuncs_ga33c8b4f57a03217636d704c2ebb211fa} - - -Look up a comment value by its tag. -\begin{DoxyParams}{Parameters} -\item[{\em \_\-tc}]An initialized \doxyref{th\_\-comment}{p.}{structth__comment} structure. \item[{\em \_\-tag}]The tag to look up. \item[{\em \_\-count}]The instance of the tag. The same tag can appear multiple times, each with a distinct value, so an index is required to retrieve them all. The order in which these values appear is significant and should be preserved. Use \doxyref{th\_\-comment\_\-query\_\-count()}{p.}{group__basefuncs_ga81d518dc4426f63ceaedcbe2668679fc} to get the legal range for the {\itshape \_\-count\/} parameter. \end{DoxyParams} -\begin{DoxyReturn}{Returns} -A pointer to the queried tag's value. This points directly to data in the \doxyref{th\_\-comment}{p.}{structth__comment} structure. It should not be modified or freed by the application, and modifications to the structure may invalidate the pointer. -\end{DoxyReturn} - -\begin{DoxyRetVals}{Return values} -\item[{\em NULL}]If no matching tag is found. \end{DoxyRetVals} -\index{basefuncs@{basefuncs}!th\_\-comment\_\-query\_\-count@{th\_\-comment\_\-query\_\-count}} -\index{th\_\-comment\_\-query\_\-count@{th\_\-comment\_\-query\_\-count}!basefuncs@{basefuncs}} -\subsubsection[{th\_\-comment\_\-query\_\-count}]{\setlength{\rightskip}{0pt plus 5cm}int th\_\-comment\_\-query\_\-count ({\bf th\_\-comment} $\ast$ {\em \_\-tc}, \/ char $\ast$ {\em \_\-tag})}\label{group__basefuncs_ga81d518dc4426f63ceaedcbe2668679fc} - - -Look up the number of instances of a tag. Call this first when querying for a specific tag and then iterate over the number of instances with separate calls to \doxyref{th\_\-comment\_\-query()}{p.}{group__basefuncs_ga33c8b4f57a03217636d704c2ebb211fa} to retrieve all the values for that tag in order. -\begin{DoxyParams}{Parameters} -\item[{\em \_\-tc}]An initialized \doxyref{th\_\-comment}{p.}{structth__comment} structure. \item[{\em \_\-tag}]The tag to look up. \end{DoxyParams} -\begin{DoxyReturn}{Returns} -The number on instances of this particular tag. -\end{DoxyReturn} -\index{basefuncs@{basefuncs}!th\_\-granule\_\-frame@{th\_\-granule\_\-frame}} -\index{th\_\-granule\_\-frame@{th\_\-granule\_\-frame}!basefuncs@{basefuncs}} -\subsubsection[{th\_\-granule\_\-frame}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-int64\_\-t th\_\-granule\_\-frame (void $\ast$ {\em \_\-encdec}, \/ ogg\_\-int64\_\-t {\em \_\-granpos})}\label{group__basefuncs_ga95b10e76fc4c05d0240ea2dfd9fd62bd} - - -Converts a granule position to an absolute frame index, starting at {\ttfamily 0}. The granule position is interpreted in the context of a given \doxyref{th\_\-enc\_\-ctx}{p.}{theoraenc_8h_af5cc40472b925456d42526a035d66edd} or \doxyref{th\_\-dec\_\-ctx}{p.}{theoradec_8h_a843d70bb02563885a8d54b9c1a781729} handle (either will suffice). -\begin{DoxyParams}{Parameters} -\item[{\em \_\-encdec}]A previously allocated \doxyref{th\_\-enc\_\-ctx}{p.}{theoraenc_8h_af5cc40472b925456d42526a035d66edd} or \doxyref{th\_\-dec\_\-ctx}{p.}{theoradec_8h_a843d70bb02563885a8d54b9c1a781729} handle. \item[{\em \_\-granpos}]The granule position to convert. \end{DoxyParams} -\begin{DoxyReturn}{Returns} -The absolute frame index corresponding to {\itshape \_\-granpos\/}. -\end{DoxyReturn} - -\begin{DoxyRetVals}{Return values} -\item[{\em -\/1}]The given granule position was invalid (i.e. negative). \end{DoxyRetVals} -\index{basefuncs@{basefuncs}!th\_\-granule\_\-time@{th\_\-granule\_\-time}} -\index{th\_\-granule\_\-time@{th\_\-granule\_\-time}!basefuncs@{basefuncs}} -\subsubsection[{th\_\-granule\_\-time}]{\setlength{\rightskip}{0pt plus 5cm}double th\_\-granule\_\-time (void $\ast$ {\em \_\-encdec}, \/ ogg\_\-int64\_\-t {\em \_\-granpos})}\label{group__basefuncs_ga707e1e281de788af0df39ef00f3fb432} - - -Converts a granule position to an absolute time in seconds. The granule position is interpreted in the context of a given \doxyref{th\_\-enc\_\-ctx}{p.}{theoraenc_8h_af5cc40472b925456d42526a035d66edd} or \doxyref{th\_\-dec\_\-ctx}{p.}{theoradec_8h_a843d70bb02563885a8d54b9c1a781729} handle (either will suffice). -\begin{DoxyParams}{Parameters} -\item[{\em \_\-encdec}]A previously allocated \doxyref{th\_\-enc\_\-ctx}{p.}{theoraenc_8h_af5cc40472b925456d42526a035d66edd} or \doxyref{th\_\-dec\_\-ctx}{p.}{theoradec_8h_a843d70bb02563885a8d54b9c1a781729} handle. \item[{\em \_\-granpos}]The granule position to convert. \end{DoxyParams} -\begin{DoxyReturn}{Returns} -The absolute time in seconds corresponding to {\itshape \_\-granpos\/}. This is the \char`\"{}end time\char`\"{} for the frame, or the latest time it should be displayed. It is not the presentation time. -\end{DoxyReturn} - -\begin{DoxyRetVals}{Return values} -\item[{\em -\/1}]The given granule position was invalid (i.e. negative). \end{DoxyRetVals} -\index{basefuncs@{basefuncs}!th\_\-info\_\-clear@{th\_\-info\_\-clear}} -\index{th\_\-info\_\-clear@{th\_\-info\_\-clear}!basefuncs@{basefuncs}} -\subsubsection[{th\_\-info\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}void th\_\-info\_\-clear ({\bf th\_\-info} $\ast$ {\em \_\-info})}\label{group__basefuncs_gab3d6441ab4a4969859ef5fd78a9e3c1c} - - -Clears a \doxyref{th\_\-info}{p.}{structth__info} structure. This should be called on a \doxyref{th\_\-info}{p.}{structth__info} structure after it is no longer needed. -\begin{DoxyParams}{Parameters} -\item[{\em \_\-info}]The \doxyref{th\_\-info}{p.}{structth__info} struct to clear. \end{DoxyParams} -\index{basefuncs@{basefuncs}!th\_\-info\_\-init@{th\_\-info\_\-init}} -\index{th\_\-info\_\-init@{th\_\-info\_\-init}!basefuncs@{basefuncs}} -\subsubsection[{th\_\-info\_\-init}]{\setlength{\rightskip}{0pt plus 5cm}void th\_\-info\_\-init ({\bf th\_\-info} $\ast$ {\em \_\-info})}\label{group__basefuncs_ga430d9c605816a6ca0bdce3a0b965b926} - - -Initializes a \doxyref{th\_\-info}{p.}{structth__info} structure. This should be called on a freshly allocated \doxyref{th\_\-info}{p.}{structth__info} structure before attempting to use it. -\begin{DoxyParams}{Parameters} -\item[{\em \_\-info}]The \doxyref{th\_\-info}{p.}{structth__info} struct to initialize. \end{DoxyParams} -\index{basefuncs@{basefuncs}!th\_\-packet\_\-isheader@{th\_\-packet\_\-isheader}} -\index{th\_\-packet\_\-isheader@{th\_\-packet\_\-isheader}!basefuncs@{basefuncs}} -\subsubsection[{th\_\-packet\_\-isheader}]{\setlength{\rightskip}{0pt plus 5cm}int th\_\-packet\_\-isheader (ogg\_\-packet $\ast$ {\em \_\-op})}\label{group__basefuncs_ga02f3f38261a9b39452d8a5e6f8737cc1} - - -Determines whether a Theora packet is a header or not. This function does no verification beyond checking the packet type bit, so it should not be used for bitstream identification; use \doxyref{th\_\-decode\_\-headerin()}{p.}{group__decfuncs_ga006d01d36fbe64768c571e6a12b7fc50} for that. As per the Theora specification, an empty (0-\/byte) packet is treated as a data packet (a delta frame with no coded blocks). -\begin{DoxyParams}{Parameters} -\item[{\em \_\-op}]An {\ttfamily ogg\_\-packet} containing encoded Theora data. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em 1}]The packet is a header packet \item[{\em 0}]The packet is a video data packet. \end{DoxyRetVals} -\index{basefuncs@{basefuncs}!th\_\-packet\_\-iskeyframe@{th\_\-packet\_\-iskeyframe}} -\index{th\_\-packet\_\-iskeyframe@{th\_\-packet\_\-iskeyframe}!basefuncs@{basefuncs}} -\subsubsection[{th\_\-packet\_\-iskeyframe}]{\setlength{\rightskip}{0pt plus 5cm}int th\_\-packet\_\-iskeyframe (ogg\_\-packet $\ast$ {\em \_\-op})}\label{group__basefuncs_gafe95cfd06f0fef413266c9168a66248a} - - -Determines whether a theora packet is a key frame or not. This function does no verification beyond checking the packet type and key frame bits, so it should not be used for bitstream identification; use \doxyref{th\_\-decode\_\-headerin()}{p.}{group__decfuncs_ga006d01d36fbe64768c571e6a12b7fc50} for that. As per the Theora specification, an empty (0-\/byte) packet is treated as a delta frame (with no coded blocks). -\begin{DoxyParams}{Parameters} -\item[{\em \_\-op}]An {\ttfamily ogg\_\-packet} containing encoded Theora data. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em 1}]The packet contains a key frame. \item[{\em 0}]The packet contains a delta frame. \item[{\em -\/1}]The packet is not a video data packet. \end{DoxyRetVals} -\index{basefuncs@{basefuncs}!th\_\-version\_\-number@{th\_\-version\_\-number}} -\index{th\_\-version\_\-number@{th\_\-version\_\-number}!basefuncs@{basefuncs}} -\subsubsection[{th\_\-version\_\-number}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t th\_\-version\_\-number (void)}\label{group__basefuncs_gab723a75c0f95b3eb817f7f769846016b} - - -Retrieves the library version number. This is the highest bitstream version that the encoder library will produce, or that the decoder library can decode. This number is composed of a 16-\/bit major version, 8-\/bit minor version and 8 bit sub-\/version, composed as follows: -\begin{DoxyCode} - (VERSION_MAJOR<<16)+(VERSION_MINOR<<8)+(VERSION_SUBMINOR) -\end{DoxyCode} - \begin{DoxyReturn}{Returns} -the version number. -\end{DoxyReturn} -\index{basefuncs@{basefuncs}!th\_\-version\_\-string@{th\_\-version\_\-string}} -\index{th\_\-version\_\-string@{th\_\-version\_\-string}!basefuncs@{basefuncs}} -\subsubsection[{th\_\-version\_\-string}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ th\_\-version\_\-string (void)}\label{group__basefuncs_ga04846066738d9f2024fc9961162b2dbc} - - -Retrieves a human-\/readable string to identify the library vendor and version. \begin{DoxyReturn}{Returns} -the version string. -\end{DoxyReturn} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/group__decfuncs.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/group__decfuncs.tex deleted file mode 100644 index fbbda58f..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/group__decfuncs.tex +++ /dev/null @@ -1,111 +0,0 @@ -\section{Functions for Decoding} -\label{group__decfuncs}\index{Functions for Decoding@{Functions for Decoding}} -\subsection*{Functions for decoding} -\label{_amgrp9d29c94aa62f20426aa5ff062c7daedd} -You must link to {\ttfamily libtheoradec} if you use any of the functions in this section. - -The functions are listed in the order they are used in a typical decode. The basic steps are: -\begin{DoxyItemize} -\item Parse the header packets by repeatedly calling \doxyref{th\_\-decode\_\-headerin()}{p.}{group__decfuncs_ga006d01d36fbe64768c571e6a12b7fc50}. -\item Allocate a \doxyref{th\_\-dec\_\-ctx}{p.}{theoradec_8h_a843d70bb02563885a8d54b9c1a781729} handle with \doxyref{th\_\-decode\_\-alloc()}{p.}{group__decfuncs_ga0ef07a9a97849054aa606c595a2d807e}. -\item Call \doxyref{th\_\-setup\_\-free()}{p.}{group__decfuncs_gadef55431b68aaa59d0d7b32b2f118f27} to free any memory used for codec setup information. -\item Perform any additional decoder configuration with \doxyref{th\_\-decode\_\-ctl()}{p.}{group__decfuncs_ga1a8051958d75b1012573b6e3c8f670e1}. -\item For each video data packet: -\begin{DoxyItemize} -\item Submit the packet to the decoder via \doxyref{th\_\-decode\_\-packetin()}{p.}{group__decfuncs_ga31c814bf09b2232aff69c57ae20f04eb}. -\item Retrieve the uncompressed video data via \doxyref{th\_\-decode\_\-ycbcr\_\-out()}{p.}{group__decfuncs_gaa9cc8af63fa8540e0fc95572f259cdcb}. -\end{DoxyItemize} -\item Call \doxyref{th\_\-decode\_\-free()}{p.}{group__decfuncs_gafb6684ad8ba507b71112bc9de148e7d0} to release all decoder memory. -\end{DoxyItemize}\begin{DoxyCompactItemize} -\item -int {\bf th\_\-decode\_\-headerin} ({\bf th\_\-info} $\ast$\_\-info, {\bf th\_\-comment} $\ast$\_\-tc, {\bf th\_\-setup\_\-info} $\ast$$\ast$\_\-setup, ogg\_\-packet $\ast$\_\-op) -\begin{DoxyCompactList}\small\item\em Decodes the header packets of a Theora stream. \item\end{DoxyCompactList}\item -{\bf th\_\-dec\_\-ctx} $\ast$ {\bf th\_\-decode\_\-alloc} (const {\bf th\_\-info} $\ast$\_\-info, const {\bf th\_\-setup\_\-info} $\ast$\_\-setup) -\begin{DoxyCompactList}\small\item\em Allocates a decoder instance. \item\end{DoxyCompactList}\item -void {\bf th\_\-setup\_\-free} ({\bf th\_\-setup\_\-info} $\ast$\_\-setup) -\begin{DoxyCompactList}\small\item\em Releases all storage used for the decoder setup information. \item\end{DoxyCompactList}\item -int {\bf th\_\-decode\_\-ctl} ({\bf th\_\-dec\_\-ctx} $\ast$\_\-dec, int \_\-req, void $\ast$\_\-buf, size\_\-t \_\-buf\_\-sz) -\begin{DoxyCompactList}\small\item\em Decoder control function. \item\end{DoxyCompactList}\item -int {\bf th\_\-decode\_\-packetin} ({\bf th\_\-dec\_\-ctx} $\ast$\_\-dec, const ogg\_\-packet $\ast$\_\-op, ogg\_\-int64\_\-t $\ast$\_\-granpos) -\begin{DoxyCompactList}\small\item\em Submits a packet containing encoded video data to the decoder. \item\end{DoxyCompactList}\item -int {\bf th\_\-decode\_\-ycbcr\_\-out} ({\bf th\_\-dec\_\-ctx} $\ast$\_\-dec, {\bf th\_\-ycbcr\_\-buffer} \_\-ycbcr) -\begin{DoxyCompactList}\small\item\em Outputs the next available frame of decoded Y'CbCr data. \item\end{DoxyCompactList}\item -void {\bf th\_\-decode\_\-free} ({\bf th\_\-dec\_\-ctx} $\ast$\_\-dec) -\begin{DoxyCompactList}\small\item\em Frees an allocated decoder instance. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\index{decfuncs@{decfuncs}!th\_\-decode\_\-alloc@{th\_\-decode\_\-alloc}} -\index{th\_\-decode\_\-alloc@{th\_\-decode\_\-alloc}!decfuncs@{decfuncs}} -\subsubsection[{th\_\-decode\_\-alloc}]{\setlength{\rightskip}{0pt plus 5cm}{\bf th\_\-dec\_\-ctx}$\ast$ th\_\-decode\_\-alloc (const {\bf th\_\-info} $\ast$ {\em \_\-info}, \/ const {\bf th\_\-setup\_\-info} $\ast$ {\em \_\-setup})}\label{group__decfuncs_ga0ef07a9a97849054aa606c595a2d807e} - - -Allocates a decoder instance. {\bfseries Security Warning:} The Theora format supports very large frame sizes, potentially even larger than the address space of a 32-\/bit machine, and creating a decoder context allocates the space for several frames of data. If the allocation fails here, your program will crash, possibly at some future point because the OS kernel returned a valid memory range and will only fail when it tries to map the pages in it the first time they are used. Even if it succeeds, you may experience a denial of service if the frame size is large enough to cause excessive paging. If you are integrating libtheora in a larger application where such things are undesirable, it is highly recommended that you check the frame size in {\itshape \_\-info\/} before calling this function and refuse to decode streams where it is larger than some reasonable maximum. libtheora will not check this for you, because there may be machines that can handle such streams and applications that wish to. -\begin{DoxyParams}{Parameters} -\item[{\em \_\-info}]A \doxyref{th\_\-info}{p.}{structth__info} struct filled via \doxyref{th\_\-decode\_\-headerin()}{p.}{group__decfuncs_ga006d01d36fbe64768c571e6a12b7fc50}. \item[{\em \_\-setup}]A \doxyref{th\_\-setup\_\-info}{p.}{theoradec_8h_ab71cd2657455cc27d6c0127c66a89f28} handle returned via \doxyref{th\_\-decode\_\-headerin()}{p.}{group__decfuncs_ga006d01d36fbe64768c571e6a12b7fc50}. \end{DoxyParams} -\begin{DoxyReturn}{Returns} -The initialized \doxyref{th\_\-dec\_\-ctx}{p.}{theoradec_8h_a843d70bb02563885a8d54b9c1a781729} handle. -\end{DoxyReturn} - -\begin{DoxyRetVals}{Return values} -\item[{\em NULL}]If the decoding parameters were invalid. \end{DoxyRetVals} -\index{decfuncs@{decfuncs}!th\_\-decode\_\-ctl@{th\_\-decode\_\-ctl}} -\index{th\_\-decode\_\-ctl@{th\_\-decode\_\-ctl}!decfuncs@{decfuncs}} -\subsubsection[{th\_\-decode\_\-ctl}]{\setlength{\rightskip}{0pt plus 5cm}int th\_\-decode\_\-ctl ({\bf th\_\-dec\_\-ctx} $\ast$ {\em \_\-dec}, \/ int {\em \_\-req}, \/ void $\ast$ {\em \_\-buf}, \/ size\_\-t {\em \_\-buf\_\-sz})}\label{group__decfuncs_ga1a8051958d75b1012573b6e3c8f670e1} - - -Decoder control function. This is used to provide advanced control of the decoding process. -\begin{DoxyParams}{Parameters} -\item[{\em \_\-dec}]A \doxyref{th\_\-dec\_\-ctx}{p.}{theoradec_8h_a843d70bb02563885a8d54b9c1a781729} handle. \item[{\em \_\-req}]The control code to process. See \doxyref{the list of available control codes}{p.}{theoradec_8h_decctlcodes} for details. \item[{\em \_\-buf}]The parameters for this control code. \item[{\em \_\-buf\_\-sz}]The size of the parameter buffer. \end{DoxyParams} -\index{decfuncs@{decfuncs}!th\_\-decode\_\-free@{th\_\-decode\_\-free}} -\index{th\_\-decode\_\-free@{th\_\-decode\_\-free}!decfuncs@{decfuncs}} -\subsubsection[{th\_\-decode\_\-free}]{\setlength{\rightskip}{0pt plus 5cm}void th\_\-decode\_\-free ({\bf th\_\-dec\_\-ctx} $\ast$ {\em \_\-dec})}\label{group__decfuncs_gafb6684ad8ba507b71112bc9de148e7d0} - - -Frees an allocated decoder instance. -\begin{DoxyParams}{Parameters} -\item[{\em \_\-dec}]A \doxyref{th\_\-dec\_\-ctx}{p.}{theoradec_8h_a843d70bb02563885a8d54b9c1a781729} handle. \end{DoxyParams} -\index{decfuncs@{decfuncs}!th\_\-decode\_\-headerin@{th\_\-decode\_\-headerin}} -\index{th\_\-decode\_\-headerin@{th\_\-decode\_\-headerin}!decfuncs@{decfuncs}} -\subsubsection[{th\_\-decode\_\-headerin}]{\setlength{\rightskip}{0pt plus 5cm}int th\_\-decode\_\-headerin ({\bf th\_\-info} $\ast$ {\em \_\-info}, \/ {\bf th\_\-comment} $\ast$ {\em \_\-tc}, \/ {\bf th\_\-setup\_\-info} $\ast$$\ast$ {\em \_\-setup}, \/ ogg\_\-packet $\ast$ {\em \_\-op})}\label{group__decfuncs_ga006d01d36fbe64768c571e6a12b7fc50} - - -Decodes the header packets of a Theora stream. This should be called on the initial packets of the stream, in succession, until it returns {\ttfamily 0}, indicating that all headers have been processed, or an error is encountered. At least three header packets are required, and additional optional header packets may follow. This can be used on the first packet of any logical stream to determine if that stream is a Theora stream. -\begin{DoxyParams}{Parameters} -\item[{\em \_\-info}]A \doxyref{th\_\-info}{p.}{structth__info} structure to fill in. This must have been previously initialized with \doxyref{th\_\-info\_\-init()}{p.}{group__basefuncs_ga430d9c605816a6ca0bdce3a0b965b926}. The application may immediately begin using the contents of this structure after the first header is decoded, though it must continue to be passed in on all subsequent calls. \item[{\em \_\-tc}]A \doxyref{th\_\-comment}{p.}{structth__comment} structure to fill in. The application may immediately begin using the contents of this structure after the second header is decoded, though it must continue to be passed in on all subsequent calls. \item[{\em \_\-setup}]Returns a pointer to additional, private setup information needed by the decoder. The contents of this pointer must be initialized to {\ttfamily NULL} on the first call, and the returned value must continue to be passed in on all subsequent calls. \item[{\em \_\-op}]An {\ttfamily ogg\_\-packet} structure which contains one of the initial packets of an Ogg logical stream. \end{DoxyParams} -\begin{DoxyReturn}{Returns} -A positive value indicates that a Theora header was successfully processed. -\end{DoxyReturn} - -\begin{DoxyRetVals}{Return values} -\item[{\em 0}]The first video data packet was encountered after all required header packets were parsed. The packet just passed in on this call should be saved and fed to \doxyref{th\_\-decode\_\-packetin()}{p.}{group__decfuncs_ga31c814bf09b2232aff69c57ae20f04eb} to begin decoding video data. \item[{\em TH\_\-EFAULT}]One of {\itshape \_\-info\/}, {\itshape \_\-tc\/}, or {\itshape \_\-setup\/} was {\ttfamily NULL}. \item[{\em TH\_\-EBADHEADER}]{\itshape \_\-op\/} was {\ttfamily NULL}, the packet was not the next header packet in the expected sequence, or the format of the header data was invalid. \item[{\em TH\_\-EVERSION}]The packet data was a Theora info header, but for a bitstream version not decodable with this version of {\ttfamily libtheoradec}. \item[{\em TH\_\-ENOTFORMAT}]The packet was not a Theora header. \end{DoxyRetVals} -\index{decfuncs@{decfuncs}!th\_\-decode\_\-packetin@{th\_\-decode\_\-packetin}} -\index{th\_\-decode\_\-packetin@{th\_\-decode\_\-packetin}!decfuncs@{decfuncs}} -\subsubsection[{th\_\-decode\_\-packetin}]{\setlength{\rightskip}{0pt plus 5cm}int th\_\-decode\_\-packetin ({\bf th\_\-dec\_\-ctx} $\ast$ {\em \_\-dec}, \/ const ogg\_\-packet $\ast$ {\em \_\-op}, \/ ogg\_\-int64\_\-t $\ast$ {\em \_\-granpos})}\label{group__decfuncs_ga31c814bf09b2232aff69c57ae20f04eb} - - -Submits a packet containing encoded video data to the decoder. -\begin{DoxyParams}{Parameters} -\item[{\em \_\-dec}]A \doxyref{th\_\-dec\_\-ctx}{p.}{theoradec_8h_a843d70bb02563885a8d54b9c1a781729} handle. \item[{\em \_\-op}]An {\ttfamily ogg\_\-packet} containing encoded video data. \item[{\em \_\-granpos}]Returns the granule position of the decoded packet. If non-\/{\ttfamily NULL}, the granule position for this specific packet is stored in this location. This is computed incrementally from previously decoded packets. After a seek, the correct granule position must be set via \doxyref{TH\_\-DECCTL\_\-SET\_\-GRANPOS}{p.}{theoradec_8h_a1e870c654d35394f0d490045df04e0f5} for this to work properly. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em 0}]Success. A new decoded frame can be retrieved by calling \doxyref{th\_\-decode\_\-ycbcr\_\-out()}{p.}{group__decfuncs_gaa9cc8af63fa8540e0fc95572f259cdcb}. \item[{\em TH\_\-DUPFRAME}]The packet represented a dropped (0-\/byte) frame. The player can skip the call to \doxyref{th\_\-decode\_\-ycbcr\_\-out()}{p.}{group__decfuncs_gaa9cc8af63fa8540e0fc95572f259cdcb}, as the contents of the decoded frame buffer have not changed. \item[{\em TH\_\-EFAULT}]{\itshape \_\-dec\/} or {\itshape \_\-op\/} was {\ttfamily NULL}. \item[{\em TH\_\-EBADPACKET}]{\itshape \_\-op\/} does not contain encoded video data. \item[{\em TH\_\-EIMPL}]The video data uses bitstream features which this library does not support. \end{DoxyRetVals} -\index{decfuncs@{decfuncs}!th\_\-decode\_\-ycbcr\_\-out@{th\_\-decode\_\-ycbcr\_\-out}} -\index{th\_\-decode\_\-ycbcr\_\-out@{th\_\-decode\_\-ycbcr\_\-out}!decfuncs@{decfuncs}} -\subsubsection[{th\_\-decode\_\-ycbcr\_\-out}]{\setlength{\rightskip}{0pt plus 5cm}int th\_\-decode\_\-ycbcr\_\-out ({\bf th\_\-dec\_\-ctx} $\ast$ {\em \_\-dec}, \/ {\bf th\_\-ycbcr\_\-buffer} {\em \_\-ycbcr})}\label{group__decfuncs_gaa9cc8af63fa8540e0fc95572f259cdcb} - - -Outputs the next available frame of decoded Y'CbCr data. If a striped decode callback has been set with \doxyref{TH\_\-DECCTL\_\-SET\_\-STRIPE\_\-CB}{p.}{theoradec_8h_ac95cc9e109474b0fa4bb920ab2cfdf1e}, then the application does not need to call this function. -\begin{DoxyParams}{Parameters} -\item[{\em \_\-dec}]A \doxyref{th\_\-dec\_\-ctx}{p.}{theoradec_8h_a843d70bb02563885a8d54b9c1a781729} handle. \item[{\em \_\-ycbcr}]A video buffer structure to fill in. {\ttfamily libtheoradec} will fill in all the members of this structure, including the pointers to the uncompressed video data. The memory for this video data is owned by {\ttfamily libtheoradec}. It may be freed or overwritten without notification when subsequent frames are decoded. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em 0}]Success \item[{\em TH\_\-EFAULT}]{\itshape \_\-dec\/} or {\itshape \_\-ycbcr\/} was {\ttfamily NULL}. \end{DoxyRetVals} -\index{decfuncs@{decfuncs}!th\_\-setup\_\-free@{th\_\-setup\_\-free}} -\index{th\_\-setup\_\-free@{th\_\-setup\_\-free}!decfuncs@{decfuncs}} -\subsubsection[{th\_\-setup\_\-free}]{\setlength{\rightskip}{0pt plus 5cm}void th\_\-setup\_\-free ({\bf th\_\-setup\_\-info} $\ast$ {\em \_\-setup})}\label{group__decfuncs_gadef55431b68aaa59d0d7b32b2f118f27} - - -Releases all storage used for the decoder setup information. This should be called after you no longer want to create any decoders for a stream whose headers you have parsed with \doxyref{th\_\-decode\_\-headerin()}{p.}{group__decfuncs_ga006d01d36fbe64768c571e6a12b7fc50}. -\begin{DoxyParams}{Parameters} -\item[{\em \_\-setup}]The setup information to free. This can safely be {\ttfamily NULL}. \end{DoxyParams} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/group__encfuncs.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/group__encfuncs.tex deleted file mode 100644 index c2ab2e13..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/group__encfuncs.tex +++ /dev/null @@ -1,107 +0,0 @@ -\section{Functions for Encoding} -\label{group__encfuncs}\index{Functions for Encoding@{Functions for Encoding}} -\subsection*{Functions for encoding} -\label{_amgrpc58fb8743a7ca83eb895d57e29e032c8} -You must link to {\ttfamily libtheoraenc} and {\ttfamily libtheoradec} if you use any of the functions in this section. - -The functions are listed in the order they are used in a typical encode. The basic steps are: -\begin{DoxyItemize} -\item Fill in a \doxyref{th\_\-info}{p.}{structth__info} structure with details on the format of the video you wish to encode. -\item Allocate a \doxyref{th\_\-enc\_\-ctx}{p.}{theoraenc_8h_af5cc40472b925456d42526a035d66edd} handle with \doxyref{th\_\-encode\_\-alloc()}{p.}{group__encfuncs_gaa91e47bc9dd5f6ee52045bd7b815e5a7}. -\item Perform any additional encoder configuration required with \doxyref{th\_\-encode\_\-ctl()}{p.}{group__encfuncs_ga3a427f6514dfdc01ea72172c469d51d9}. -\item Repeatedly call \doxyref{th\_\-encode\_\-flushheader()}{p.}{group__encfuncs_ga9439d61b566039d194ff782681fbc408} to retrieve all the header packets. -\item For each uncompressed frame: -\begin{DoxyItemize} -\item Submit the uncompressed frame via \doxyref{th\_\-encode\_\-ycbcr\_\-in()}{p.}{group__encfuncs_gadbe7dd66b411c2d61ab8153c15308750} -\item Repeatedly call \doxyref{th\_\-encode\_\-packetout()}{p.}{group__encfuncs_ga96d8ac1dda53187455352f99bbb5b04b} to retrieve any video data packets that are ready. -\end{DoxyItemize} -\item Call \doxyref{th\_\-encode\_\-free()}{p.}{group__encfuncs_ga36b23d216532231925c4107894204680} to release all encoder memory. -\end{DoxyItemize}\begin{DoxyCompactItemize} -\item -{\bf th\_\-enc\_\-ctx} $\ast$ {\bf th\_\-encode\_\-alloc} (const {\bf th\_\-info} $\ast$\_\-info) -\begin{DoxyCompactList}\small\item\em Allocates an encoder instance. \item\end{DoxyCompactList}\item -int {\bf th\_\-encode\_\-ctl} ({\bf th\_\-enc\_\-ctx} $\ast$\_\-enc, int \_\-req, void $\ast$\_\-buf, size\_\-t \_\-buf\_\-sz) -\begin{DoxyCompactList}\small\item\em Encoder control function. \item\end{DoxyCompactList}\item -int {\bf th\_\-encode\_\-flushheader} ({\bf th\_\-enc\_\-ctx} $\ast$\_\-enc, {\bf th\_\-comment} $\ast$\_\-comments, ogg\_\-packet $\ast$\_\-op) -\begin{DoxyCompactList}\small\item\em Outputs the next header packet. \item\end{DoxyCompactList}\item -int {\bf th\_\-encode\_\-ycbcr\_\-in} ({\bf th\_\-enc\_\-ctx} $\ast$\_\-enc, {\bf th\_\-ycbcr\_\-buffer} \_\-ycbcr) -\begin{DoxyCompactList}\small\item\em Submits an uncompressed frame to the encoder. \item\end{DoxyCompactList}\item -int {\bf th\_\-encode\_\-packetout} ({\bf th\_\-enc\_\-ctx} $\ast$\_\-enc, int \_\-last, ogg\_\-packet $\ast$\_\-op) -\begin{DoxyCompactList}\small\item\em Retrieves encoded video data packets. \item\end{DoxyCompactList}\item -void {\bf th\_\-encode\_\-free} ({\bf th\_\-enc\_\-ctx} $\ast$\_\-enc) -\begin{DoxyCompactList}\small\item\em Frees an allocated encoder instance. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\index{encfuncs@{encfuncs}!th\_\-encode\_\-alloc@{th\_\-encode\_\-alloc}} -\index{th\_\-encode\_\-alloc@{th\_\-encode\_\-alloc}!encfuncs@{encfuncs}} -\subsubsection[{th\_\-encode\_\-alloc}]{\setlength{\rightskip}{0pt plus 5cm}{\bf th\_\-enc\_\-ctx}$\ast$ th\_\-encode\_\-alloc (const {\bf th\_\-info} $\ast$ {\em \_\-info})}\label{group__encfuncs_gaa91e47bc9dd5f6ee52045bd7b815e5a7} - - -Allocates an encoder instance. -\begin{DoxyParams}{Parameters} -\item[{\em \_\-info}]A \doxyref{th\_\-info}{p.}{structth__info} struct filled with the desired encoding parameters. \end{DoxyParams} -\begin{DoxyReturn}{Returns} -The initialized \doxyref{th\_\-enc\_\-ctx}{p.}{theoraenc_8h_af5cc40472b925456d42526a035d66edd} handle. -\end{DoxyReturn} - -\begin{DoxyRetVals}{Return values} -\item[{\em NULL}]If the encoding parameters were invalid. \end{DoxyRetVals} -\index{encfuncs@{encfuncs}!th\_\-encode\_\-ctl@{th\_\-encode\_\-ctl}} -\index{th\_\-encode\_\-ctl@{th\_\-encode\_\-ctl}!encfuncs@{encfuncs}} -\subsubsection[{th\_\-encode\_\-ctl}]{\setlength{\rightskip}{0pt plus 5cm}int th\_\-encode\_\-ctl ({\bf th\_\-enc\_\-ctx} $\ast$ {\em \_\-enc}, \/ int {\em \_\-req}, \/ void $\ast$ {\em \_\-buf}, \/ size\_\-t {\em \_\-buf\_\-sz})}\label{group__encfuncs_ga3a427f6514dfdc01ea72172c469d51d9} - - -Encoder control function. This is used to provide advanced control the encoding process. -\begin{DoxyParams}{Parameters} -\item[{\em \_\-enc}]A \doxyref{th\_\-enc\_\-ctx}{p.}{theoraenc_8h_af5cc40472b925456d42526a035d66edd} handle. \item[{\em \_\-req}]The control code to process. See \doxyref{the list of available control codes}{p.}{theoraenc_8h_encctlcodes} for details. \item[{\em \_\-buf}]The parameters for this control code. \item[{\em \_\-buf\_\-sz}]The size of the parameter buffer. \end{DoxyParams} -\index{encfuncs@{encfuncs}!th\_\-encode\_\-flushheader@{th\_\-encode\_\-flushheader}} -\index{th\_\-encode\_\-flushheader@{th\_\-encode\_\-flushheader}!encfuncs@{encfuncs}} -\subsubsection[{th\_\-encode\_\-flushheader}]{\setlength{\rightskip}{0pt plus 5cm}int th\_\-encode\_\-flushheader ({\bf th\_\-enc\_\-ctx} $\ast$ {\em \_\-enc}, \/ {\bf th\_\-comment} $\ast$ {\em \_\-comments}, \/ ogg\_\-packet $\ast$ {\em \_\-op})}\label{group__encfuncs_ga9439d61b566039d194ff782681fbc408} - - -Outputs the next header packet. This should be called repeatedly after encoder initialization until it returns 0 in order to get all of the header packets, in order, before encoding actual video data. -\begin{DoxyParams}{Parameters} -\item[{\em \_\-enc}]A \doxyref{th\_\-enc\_\-ctx}{p.}{theoraenc_8h_af5cc40472b925456d42526a035d66edd} handle. \item[{\em \_\-comments}]The metadata to place in the comment header, when it is encoded. \item[{\em \_\-op}]An {\ttfamily ogg\_\-packet} structure to fill. All of the elements of this structure will be set, including a pointer to the header data. The memory for the header data is owned by {\ttfamily libtheoraenc}, and may be invalidated when the next encoder function is called. \end{DoxyParams} -\begin{DoxyReturn}{Returns} -A positive value indicates that a header packet was successfully produced. -\end{DoxyReturn} - -\begin{DoxyRetVals}{Return values} -\item[{\em 0}]No packet was produced, and no more header packets remain. \item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\/}, {\itshape \_\-comments\/}, or {\itshape \_\-op\/} was {\ttfamily NULL}. \end{DoxyRetVals} -\index{encfuncs@{encfuncs}!th\_\-encode\_\-free@{th\_\-encode\_\-free}} -\index{th\_\-encode\_\-free@{th\_\-encode\_\-free}!encfuncs@{encfuncs}} -\subsubsection[{th\_\-encode\_\-free}]{\setlength{\rightskip}{0pt plus 5cm}void th\_\-encode\_\-free ({\bf th\_\-enc\_\-ctx} $\ast$ {\em \_\-enc})}\label{group__encfuncs_ga36b23d216532231925c4107894204680} - - -Frees an allocated encoder instance. -\begin{DoxyParams}{Parameters} -\item[{\em \_\-enc}]A \doxyref{th\_\-enc\_\-ctx}{p.}{theoraenc_8h_af5cc40472b925456d42526a035d66edd} handle. \end{DoxyParams} -\index{encfuncs@{encfuncs}!th\_\-encode\_\-packetout@{th\_\-encode\_\-packetout}} -\index{th\_\-encode\_\-packetout@{th\_\-encode\_\-packetout}!encfuncs@{encfuncs}} -\subsubsection[{th\_\-encode\_\-packetout}]{\setlength{\rightskip}{0pt plus 5cm}int th\_\-encode\_\-packetout ({\bf th\_\-enc\_\-ctx} $\ast$ {\em \_\-enc}, \/ int {\em \_\-last}, \/ ogg\_\-packet $\ast$ {\em \_\-op})}\label{group__encfuncs_ga96d8ac1dda53187455352f99bbb5b04b} - - -Retrieves encoded video data packets. This should be called repeatedly after each frame is submitted to flush any encoded packets, until it returns 0. The encoder will not buffer these packets as subsequent frames are compressed, so a failure to do so will result in lost video data. \begin{DoxyNote}{Note} -Currently the encoder operates in a one-\/frame-\/in, one-\/packet-\/out manner. However, this may be changed in the future. -\end{DoxyNote} - -\begin{DoxyParams}{Parameters} -\item[{\em \_\-enc}]A \doxyref{th\_\-enc\_\-ctx}{p.}{theoraenc_8h_af5cc40472b925456d42526a035d66edd} handle. \item[{\em \_\-last}]Set this flag to a non-\/zero value if no more uncompressed frames will be submitted. This ensures that a proper EOS flag is set on the last packet. \item[{\em \_\-op}]An {\ttfamily ogg\_\-packet} structure to fill. All of the elements of this structure will be set, including a pointer to the video data. The memory for the video data is owned by {\ttfamily libtheoraenc}, and may be invalidated when the next encoder function is called. \end{DoxyParams} -\begin{DoxyReturn}{Returns} -A positive value indicates that a video data packet was successfully produced. -\end{DoxyReturn} - -\begin{DoxyRetVals}{Return values} -\item[{\em 0}]No packet was produced, and no more encoded video data remains. \item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\/} or {\itshape \_\-op\/} was {\ttfamily NULL}. \end{DoxyRetVals} -\index{encfuncs@{encfuncs}!th\_\-encode\_\-ycbcr\_\-in@{th\_\-encode\_\-ycbcr\_\-in}} -\index{th\_\-encode\_\-ycbcr\_\-in@{th\_\-encode\_\-ycbcr\_\-in}!encfuncs@{encfuncs}} -\subsubsection[{th\_\-encode\_\-ycbcr\_\-in}]{\setlength{\rightskip}{0pt plus 5cm}int th\_\-encode\_\-ycbcr\_\-in ({\bf th\_\-enc\_\-ctx} $\ast$ {\em \_\-enc}, \/ {\bf th\_\-ycbcr\_\-buffer} {\em \_\-ycbcr})}\label{group__encfuncs_gadbe7dd66b411c2d61ab8153c15308750} - - -Submits an uncompressed frame to the encoder. -\begin{DoxyParams}{Parameters} -\item[{\em \_\-enc}]A \doxyref{th\_\-enc\_\-ctx}{p.}{theoraenc_8h_af5cc40472b925456d42526a035d66edd} handle. \item[{\em \_\-ycbcr}]A buffer of Y'CbCr data to encode. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em 0}]Success. \item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\/} or {\itshape \_\-ycbcr\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]The buffer size does not match the frame size the encoder was initialized with, or encoding has already completed. \end{DoxyRetVals} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/group__oldfuncs.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/group__oldfuncs.tex deleted file mode 100644 index 5f4bb6f2..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/group__oldfuncs.tex +++ /dev/null @@ -1,611 +0,0 @@ -\section{Legacy pre-\/1.0 C API} -\label{group__oldfuncs}\index{Legacy pre-\/1.0 C API@{Legacy pre-\/1.0 C API}} -\subsection*{Data Structures} -\begin{DoxyCompactItemize} -\item -struct {\bf yuv\_\-buffer} -\begin{DoxyCompactList}\small\item\em A YUV buffer for passing uncompressed frames to and from the codec. \item\end{DoxyCompactList}\item -struct {\bf theora\_\-info} -\begin{DoxyCompactList}\small\item\em Theora bitstream info. \item\end{DoxyCompactList}\item -struct {\bf theora\_\-state} -\begin{DoxyCompactList}\small\item\em Codec internal state and context. \item\end{DoxyCompactList}\item -struct {\bf theora\_\-comment} -\begin{DoxyCompactList}\small\item\em Comment header metadata. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Files} -\begin{DoxyCompactItemize} -\item -file {\bf theora.h} - - -\begin{DoxyCompactList}\small\item\em The libtheora pre-\/1.0 legacy C API. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Defines} -\begin{DoxyCompactItemize} -\item -\#define {\bf OC\_\-FAULT}~-\/1 -\begin{DoxyCompactList}\small\item\em General failure. \item\end{DoxyCompactList}\item -\#define {\bf OC\_\-EINVAL}~-\/10 -\begin{DoxyCompactList}\small\item\em Library encountered invalid internal data. \item\end{DoxyCompactList}\item -\#define {\bf OC\_\-DISABLED}~-\/11 -\begin{DoxyCompactList}\small\item\em Requested action is disabled. \item\end{DoxyCompactList}\item -\#define {\bf OC\_\-BADHEADER}~-\/20 -\begin{DoxyCompactList}\small\item\em Header packet was corrupt/invalid. \item\end{DoxyCompactList}\item -\#define {\bf OC\_\-NOTFORMAT}~-\/21 -\begin{DoxyCompactList}\small\item\em Packet is not a theora packet. \item\end{DoxyCompactList}\item -\#define {\bf OC\_\-VERSION}~-\/22 -\begin{DoxyCompactList}\small\item\em Bitstream version is not handled. \item\end{DoxyCompactList}\item -\#define {\bf OC\_\-IMPL}~-\/23 -\begin{DoxyCompactList}\small\item\em Feature or action not implemented. \item\end{DoxyCompactList}\item -\#define {\bf OC\_\-BADPACKET}~-\/24 -\begin{DoxyCompactList}\small\item\em Packet is corrupt. \item\end{DoxyCompactList}\item -\#define {\bf OC\_\-NEWPACKET}~-\/25 -\begin{DoxyCompactList}\small\item\em Packet is an (ignorable) unhandled extension. \item\end{DoxyCompactList}\item -\#define {\bf OC\_\-DUPFRAME}~1 -\begin{DoxyCompactList}\small\item\em Packet is a dropped frame. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Enumerations} -\begin{DoxyCompactItemize} -\item -enum {\bf theora\_\-colorspace} \{ {\bf OC\_\-CS\_\-UNSPECIFIED}, -{\bf OC\_\-CS\_\-ITU\_\-REC\_\-470M}, -{\bf OC\_\-CS\_\-ITU\_\-REC\_\-470BG}, -{\bf OC\_\-CS\_\-NSPACES} - \} -\begin{DoxyCompactList}\small\item\em A Colorspace. \item\end{DoxyCompactList}\item -enum {\bf theora\_\-pixelformat} \{ {\bf OC\_\-PF\_\-420}, -{\bf OC\_\-PF\_\-RSVD}, -{\bf OC\_\-PF\_\-422}, -{\bf OC\_\-PF\_\-444} - \} -\begin{DoxyCompactList}\small\item\em A Chroma subsampling. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -const char $\ast$ {\bf theora\_\-version\_\-string} (void) -\begin{DoxyCompactList}\small\item\em Retrieve a human-\/readable string to identify the encoder vendor and version. \item\end{DoxyCompactList}\item -ogg\_\-uint32\_\-t {\bf theora\_\-version\_\-number} (void) -\begin{DoxyCompactList}\small\item\em Retrieve a 32-\/bit version number. \item\end{DoxyCompactList}\item -int {\bf theora\_\-encode\_\-init} ({\bf theora\_\-state} $\ast$th, {\bf theora\_\-info} $\ast$ti) -\begin{DoxyCompactList}\small\item\em Initialize the theora encoder. \item\end{DoxyCompactList}\item -int {\bf theora\_\-encode\_\-YUVin} ({\bf theora\_\-state} $\ast$t, {\bf yuv\_\-buffer} $\ast$yuv) -\begin{DoxyCompactList}\small\item\em Submit a YUV buffer to the theora encoder. \item\end{DoxyCompactList}\item -int {\bf theora\_\-encode\_\-packetout} ({\bf theora\_\-state} $\ast$t, int last\_\-p, ogg\_\-packet $\ast$op) -\begin{DoxyCompactList}\small\item\em Request the next packet of encoded video. \item\end{DoxyCompactList}\item -int {\bf theora\_\-encode\_\-header} ({\bf theora\_\-state} $\ast$t, ogg\_\-packet $\ast$op) -\begin{DoxyCompactList}\small\item\em Request a packet containing the initial header. \item\end{DoxyCompactList}\item -int {\bf theora\_\-encode\_\-comment} ({\bf theora\_\-comment} $\ast$tc, ogg\_\-packet $\ast$op) -\begin{DoxyCompactList}\small\item\em Request a comment header packet from provided metadata. \item\end{DoxyCompactList}\item -int {\bf theora\_\-encode\_\-tables} ({\bf theora\_\-state} $\ast$t, ogg\_\-packet $\ast$op) -\begin{DoxyCompactList}\small\item\em Request a packet containing the codebook tables for the stream. \item\end{DoxyCompactList}\item -int {\bf theora\_\-decode\_\-header} ({\bf theora\_\-info} $\ast$ci, {\bf theora\_\-comment} $\ast$cc, ogg\_\-packet $\ast$op) -\begin{DoxyCompactList}\small\item\em Decode an Ogg packet, with the expectation that the packet contains an initial header, comment data or codebook tables. \item\end{DoxyCompactList}\item -int {\bf theora\_\-decode\_\-init} ({\bf theora\_\-state} $\ast$th, {\bf theora\_\-info} $\ast$c) -\begin{DoxyCompactList}\small\item\em Initialize a \doxyref{theora\_\-state}{p.}{structtheora__state} handle for decoding. \item\end{DoxyCompactList}\item -int {\bf theora\_\-decode\_\-packetin} ({\bf theora\_\-state} $\ast$th, ogg\_\-packet $\ast$op) -\begin{DoxyCompactList}\small\item\em Input a packet containing encoded data into the theora decoder. \item\end{DoxyCompactList}\item -int {\bf theora\_\-decode\_\-YUVout} ({\bf theora\_\-state} $\ast$th, {\bf yuv\_\-buffer} $\ast$yuv) -\begin{DoxyCompactList}\small\item\em Output the next available frame of decoded YUV data. \item\end{DoxyCompactList}\item -int {\bf theora\_\-packet\_\-isheader} (ogg\_\-packet $\ast$op) -\begin{DoxyCompactList}\small\item\em Report whether a theora packet is a header or not This function does no verification beyond checking the header flag bit so it should not be used for bitstream identification; use \doxyref{theora\_\-decode\_\-header()}{p.}{group__oldfuncs_ga02915e63c1bd733ee291f577a8b75a82} for that. \item\end{DoxyCompactList}\item -int {\bf theora\_\-packet\_\-iskeyframe} (ogg\_\-packet $\ast$op) -\begin{DoxyCompactList}\small\item\em Report whether a theora packet is a keyframe or not. \item\end{DoxyCompactList}\item -int {\bf theora\_\-granule\_\-shift} ({\bf theora\_\-info} $\ast$ti) -\begin{DoxyCompactList}\small\item\em Report the granulepos shift radix. \item\end{DoxyCompactList}\item -ogg\_\-int64\_\-t {\bf theora\_\-granule\_\-frame} ({\bf theora\_\-state} $\ast$th, ogg\_\-int64\_\-t granulepos) -\begin{DoxyCompactList}\small\item\em Convert a granulepos to an absolute frame index, starting at 0. \item\end{DoxyCompactList}\item -double {\bf theora\_\-granule\_\-time} ({\bf theora\_\-state} $\ast$th, ogg\_\-int64\_\-t granulepos) -\begin{DoxyCompactList}\small\item\em Convert a granulepos to absolute time in seconds. \item\end{DoxyCompactList}\item -void {\bf theora\_\-info\_\-init} ({\bf theora\_\-info} $\ast$c) -\begin{DoxyCompactList}\small\item\em Initialize a \doxyref{theora\_\-info}{p.}{structtheora__info} structure. \item\end{DoxyCompactList}\item -void {\bf theora\_\-info\_\-clear} ({\bf theora\_\-info} $\ast$c) -\begin{DoxyCompactList}\small\item\em Clear a \doxyref{theora\_\-info}{p.}{structtheora__info} structure. \item\end{DoxyCompactList}\item -void {\bf theora\_\-clear} ({\bf theora\_\-state} $\ast$t) -\begin{DoxyCompactList}\small\item\em Free all internal data associated with a \doxyref{theora\_\-state}{p.}{structtheora__state} handle. \item\end{DoxyCompactList}\item -void {\bf theora\_\-comment\_\-init} ({\bf theora\_\-comment} $\ast$tc) -\begin{DoxyCompactList}\small\item\em Initialize an allocated \doxyref{theora\_\-comment}{p.}{structtheora__comment} structure. \item\end{DoxyCompactList}\item -void {\bf theora\_\-comment\_\-add} ({\bf theora\_\-comment} $\ast$tc, char $\ast$comment) -\begin{DoxyCompactList}\small\item\em Add a comment to an initialized \doxyref{theora\_\-comment}{p.}{structtheora__comment} structure. \item\end{DoxyCompactList}\item -void {\bf theora\_\-comment\_\-add\_\-tag} ({\bf theora\_\-comment} $\ast$tc, char $\ast$tag, char $\ast$value) -\begin{DoxyCompactList}\small\item\em Add a comment to an initialized \doxyref{theora\_\-comment}{p.}{structtheora__comment} structure. \item\end{DoxyCompactList}\item -char $\ast$ {\bf theora\_\-comment\_\-query} ({\bf theora\_\-comment} $\ast$tc, char $\ast$tag, int count) -\begin{DoxyCompactList}\small\item\em Look up a comment value by tag. \item\end{DoxyCompactList}\item -int {\bf theora\_\-comment\_\-query\_\-count} ({\bf theora\_\-comment} $\ast$tc, char $\ast$tag) -\begin{DoxyCompactList}\small\item\em Look up the number of instances of a tag. \item\end{DoxyCompactList}\item -void {\bf theora\_\-comment\_\-clear} ({\bf theora\_\-comment} $\ast$tc) -\begin{DoxyCompactList}\small\item\em Clear an allocated \doxyref{theora\_\-comment}{p.}{structtheora__comment} struct so that it can be freed. \item\end{DoxyCompactList}\item -int {\bf theora\_\-control} ({\bf theora\_\-state} $\ast$th, int req, void $\ast$buf, size\_\-t buf\_\-sz) -\begin{DoxyCompactList}\small\item\em Encoder control function. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{theora\_\-control() codes} -\label{_amgrp13fd61986cff4566fe89a40e30b74ad9} - \begin{DoxyCompactItemize} -\item -\#define {\bf TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX}~(1) -\begin{DoxyCompactList}\small\item\em Get the maximum post-\/processing level. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-DECCTL\_\-SET\_\-PPLEVEL}~(3) -\begin{DoxyCompactList}\small\item\em Set the post-\/processing level. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE}~(4) -\begin{DoxyCompactList}\small\item\em Sets the maximum distance between key frames. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-DECCTL\_\-SET\_\-GRANPOS}~(5) -\begin{DoxyCompactList}\small\item\em Set the granule position. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS}~(2) -\begin{DoxyCompactList}\small\item\em Sets the quantization parameters to use. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE}~(10) -\begin{DoxyCompactList}\small\item\em Disables any encoder features that would prevent lossless transcoding back to VP3. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX}~(12) -\begin{DoxyCompactList}\small\item\em Gets the maximum speed level. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-SET\_\-SPLEVEL}~(14) -\begin{DoxyCompactList}\small\item\em Sets the speed level. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Define Documentation} -\index{oldfuncs@{oldfuncs}!OC\_\-BADHEADER@{OC\_\-BADHEADER}} -\index{OC\_\-BADHEADER@{OC\_\-BADHEADER}!oldfuncs@{oldfuncs}} -\subsubsection[{OC\_\-BADHEADER}]{\setlength{\rightskip}{0pt plus 5cm}\#define OC\_\-BADHEADER~-\/20}\label{group__oldfuncs_ga809cbad2eb36be17a235a3cadfb737ba} - - -Header packet was corrupt/invalid. \index{oldfuncs@{oldfuncs}!OC\_\-BADPACKET@{OC\_\-BADPACKET}} -\index{OC\_\-BADPACKET@{OC\_\-BADPACKET}!oldfuncs@{oldfuncs}} -\subsubsection[{OC\_\-BADPACKET}]{\setlength{\rightskip}{0pt plus 5cm}\#define OC\_\-BADPACKET~-\/24}\label{group__oldfuncs_ga117774c062a63dfad2a5b4d092fa2bb1} - - -Packet is corrupt. \index{oldfuncs@{oldfuncs}!OC\_\-DISABLED@{OC\_\-DISABLED}} -\index{OC\_\-DISABLED@{OC\_\-DISABLED}!oldfuncs@{oldfuncs}} -\subsubsection[{OC\_\-DISABLED}]{\setlength{\rightskip}{0pt plus 5cm}\#define OC\_\-DISABLED~-\/11}\label{group__oldfuncs_ga38b9fa0af856d5930c534db26e2ac2d1} - - -Requested action is disabled. \index{oldfuncs@{oldfuncs}!OC\_\-DUPFRAME@{OC\_\-DUPFRAME}} -\index{OC\_\-DUPFRAME@{OC\_\-DUPFRAME}!oldfuncs@{oldfuncs}} -\subsubsection[{OC\_\-DUPFRAME}]{\setlength{\rightskip}{0pt plus 5cm}\#define OC\_\-DUPFRAME~1}\label{group__oldfuncs_ga84a8d2f5080ad62b415a4e7551941cbb} - - -Packet is a dropped frame. \index{oldfuncs@{oldfuncs}!OC\_\-EINVAL@{OC\_\-EINVAL}} -\index{OC\_\-EINVAL@{OC\_\-EINVAL}!oldfuncs@{oldfuncs}} -\subsubsection[{OC\_\-EINVAL}]{\setlength{\rightskip}{0pt plus 5cm}\#define OC\_\-EINVAL~-\/10}\label{group__oldfuncs_ga43d15091b1a03a734a124e9a04d3be55} - - -Library encountered invalid internal data. \index{oldfuncs@{oldfuncs}!OC\_\-FAULT@{OC\_\-FAULT}} -\index{OC\_\-FAULT@{OC\_\-FAULT}!oldfuncs@{oldfuncs}} -\subsubsection[{OC\_\-FAULT}]{\setlength{\rightskip}{0pt plus 5cm}\#define OC\_\-FAULT~-\/1}\label{group__oldfuncs_gaa4370e13ed3aea6441ccf69dcab2506e} - - -General failure. \index{oldfuncs@{oldfuncs}!OC\_\-IMPL@{OC\_\-IMPL}} -\index{OC\_\-IMPL@{OC\_\-IMPL}!oldfuncs@{oldfuncs}} -\subsubsection[{OC\_\-IMPL}]{\setlength{\rightskip}{0pt plus 5cm}\#define OC\_\-IMPL~-\/23}\label{group__oldfuncs_ga895dc2597b3bf9c97bf7701c6eff5b0c} - - -Feature or action not implemented. \index{oldfuncs@{oldfuncs}!OC\_\-NEWPACKET@{OC\_\-NEWPACKET}} -\index{OC\_\-NEWPACKET@{OC\_\-NEWPACKET}!oldfuncs@{oldfuncs}} -\subsubsection[{OC\_\-NEWPACKET}]{\setlength{\rightskip}{0pt plus 5cm}\#define OC\_\-NEWPACKET~-\/25}\label{group__oldfuncs_ga60be4dc92c933eac3542bce3ce076496} - - -Packet is an (ignorable) unhandled extension. \index{oldfuncs@{oldfuncs}!OC\_\-NOTFORMAT@{OC\_\-NOTFORMAT}} -\index{OC\_\-NOTFORMAT@{OC\_\-NOTFORMAT}!oldfuncs@{oldfuncs}} -\subsubsection[{OC\_\-NOTFORMAT}]{\setlength{\rightskip}{0pt plus 5cm}\#define OC\_\-NOTFORMAT~-\/21}\label{group__oldfuncs_ga9558d6d9eacd2273c8da27f945d725ad} - - -Packet is not a theora packet. \index{oldfuncs@{oldfuncs}!OC\_\-VERSION@{OC\_\-VERSION}} -\index{OC\_\-VERSION@{OC\_\-VERSION}!oldfuncs@{oldfuncs}} -\subsubsection[{OC\_\-VERSION}]{\setlength{\rightskip}{0pt plus 5cm}\#define OC\_\-VERSION~-\/22}\label{group__oldfuncs_ga4611cfd61160405721d1e2ab0ec2564b} - - -Bitstream version is not handled. \index{oldfuncs@{oldfuncs}!TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX@{TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX}} -\index{TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX@{TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX}!oldfuncs@{oldfuncs}} -\subsubsection[{TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX~(1)}\label{group__oldfuncs_gab31f251c9319f2140d247585d30b3d07} - - -Get the maximum post-\/processing level. The decoder supports a post-\/processing filter that can improve the appearance of the decoded images. This returns the highest level setting for this post-\/processor, corresponding to maximum improvement and computational expense. \index{oldfuncs@{oldfuncs}!TH\_\-DECCTL\_\-SET\_\-GRANPOS@{TH\_\-DECCTL\_\-SET\_\-GRANPOS}} -\index{TH\_\-DECCTL\_\-SET\_\-GRANPOS@{TH\_\-DECCTL\_\-SET\_\-GRANPOS}!oldfuncs@{oldfuncs}} -\subsubsection[{TH\_\-DECCTL\_\-SET\_\-GRANPOS}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-DECCTL\_\-SET\_\-GRANPOS~(5)}\label{group__oldfuncs_ga1e870c654d35394f0d490045df04e0f5} - - -Set the granule position. Call this after a seek, to update the internal granulepos in the decoder, to insure that subsequent frames are marked properly. If you track timestamps yourself and do not use the granule postion returned by the decoder, then you do not need to use this control. \index{oldfuncs@{oldfuncs}!TH\_\-DECCTL\_\-SET\_\-PPLEVEL@{TH\_\-DECCTL\_\-SET\_\-PPLEVEL}} -\index{TH\_\-DECCTL\_\-SET\_\-PPLEVEL@{TH\_\-DECCTL\_\-SET\_\-PPLEVEL}!oldfuncs@{oldfuncs}} -\subsubsection[{TH\_\-DECCTL\_\-SET\_\-PPLEVEL}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-DECCTL\_\-SET\_\-PPLEVEL~(3)}\label{group__oldfuncs_ga87774c35e1a755a84e2d705b38ebef0d} - - -Set the post-\/processing level. Sets the level of post-\/processing to use when decoding the compressed stream. This must be a value between zero (off) and the maximum returned by TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX. \index{oldfuncs@{oldfuncs}!TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX@{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX}} -\index{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX@{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX}!oldfuncs@{oldfuncs}} -\subsubsection[{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX~(12)}\label{group__oldfuncs_ga9baf5bdd206e80c78a8fd44687e89783} - - -Gets the maximum speed level. Higher speed levels favor quicker encoding over better quality per bit. Depending on the encoding mode, and the internal algorithms used, quality may actually improve, but in this case bitrate will also likely increase. In any case, overall rate/distortion performance will probably decrease. The maximum value, and the meaning of each value, may change depending on the current encoding mode (VBR vs. CQI, etc.). - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\rightarrow$} {\em buf}]int: The maximum encoding speed level. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em OC\_\-FAULT}]{\itshape \doxyref{theora\_\-state}{p.}{structtheora__state}\/} or {\itshape buf\/} is {\ttfamily NULL}. \item[{\em OC\_\-EINVAL}]{\itshape buf\_\-sz\/} is not {\ttfamily sizeof(int)}. \item[{\em OC\_\-IMPL}]Not supported by this implementation in the current encoding mode. \end{DoxyRetVals} -\index{oldfuncs@{oldfuncs}!TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE@{TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE}} -\index{TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE@{TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE}!oldfuncs@{oldfuncs}} -\subsubsection[{TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE~(4)}\label{group__oldfuncs_ga27e755e15b4b5604c54974b304037a49} - - -Sets the maximum distance between key frames. This can be changed during an encode, but will be bounded by {\ttfamily 1$<$$<$\doxyref{th\_\-info::keyframe\_\-granule\_\-shift}{p.}{structth__info_a693ca4ab11fbc0c3f32594b4bb8766ed}}. If it is set before encoding begins, \doxyref{th\_\-info::keyframe\_\-granule\_\-shift}{p.}{structth__info_a693ca4ab11fbc0c3f32594b4bb8766ed} will be enlarged appropriately. - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\leftarrow$} {\em buf}]{\ttfamily ogg\_\-uint32\_\-t}: The maximum distance between key frames. \item[\mbox{$\rightarrow$} {\em buf}]{\ttfamily ogg\_\-uint32\_\-t}: The actual maximum distance set. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em OC\_\-FAULT}]{\itshape \doxyref{theora\_\-state}{p.}{structtheora__state}\/} or {\itshape buf\/} is {\ttfamily NULL}. \item[{\em OC\_\-EINVAL}]{\itshape buf\_\-sz\/} is not {\ttfamily sizeof(ogg\_\-uint32\_\-t)}. \item[{\em OC\_\-IMPL}]Not supported by this implementation. \end{DoxyRetVals} -\index{oldfuncs@{oldfuncs}!TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS@{TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS}} -\index{TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS@{TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS}!oldfuncs@{oldfuncs}} -\subsubsection[{TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS~(2)}\label{group__oldfuncs_ga3befcdd66678f8d27034f9c4b16d1b9c} - - -Sets the quantization parameters to use. \label{group__oldfuncs_encctlcodes_old} - The parameters are copied, not stored by reference, so they can be freed after this call. {\ttfamily NULL} may be specified to revert to the default parameters. - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\leftarrow$} {\em buf}]\doxyref{th\_\-quant\_\-info}{p.}{structth__quant__info} \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em OC\_\-FAULT}]{\itshape \doxyref{theora\_\-state}{p.}{structtheora__state}\/} is {\ttfamily NULL}. \item[{\em OC\_\-EINVAL}]Encoding has already begun, the quantization parameters are not acceptable to this version of the encoder, {\itshape buf\/} is {\ttfamily NULL} and {\itshape buf\_\-sz\/} is not zero, or {\itshape buf\/} is non-\/{\ttfamily NULL} and {\itshape buf\_\-sz\/} is not {\ttfamily sizeof(\doxyref{th\_\-quant\_\-info}{p.}{structth__quant__info})}. \item[{\em OC\_\-IMPL}]Not supported by this implementation. \end{DoxyRetVals} -\index{oldfuncs@{oldfuncs}!TH\_\-ENCCTL\_\-SET\_\-SPLEVEL@{TH\_\-ENCCTL\_\-SET\_\-SPLEVEL}} -\index{TH\_\-ENCCTL\_\-SET\_\-SPLEVEL@{TH\_\-ENCCTL\_\-SET\_\-SPLEVEL}!oldfuncs@{oldfuncs}} -\subsubsection[{TH\_\-ENCCTL\_\-SET\_\-SPLEVEL}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-SPLEVEL~(14)}\label{group__oldfuncs_gabd9fbcb6a25a77d991d3620164fe59d6} - - -Sets the speed level. By default a speed value of 1 is used. - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\leftarrow$} {\em buf}]int: The new encoding speed level. 0 is slowest, larger values use less CPU. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em OC\_\-FAULT}]{\itshape \doxyref{theora\_\-state}{p.}{structtheora__state}\/} or {\itshape buf\/} is {\ttfamily NULL}. \item[{\em OC\_\-EINVAL}]{\itshape buf\_\-sz\/} is not {\ttfamily sizeof(int)}, or the encoding speed level is out of bounds. The maximum encoding speed level may be implementation-\/ and encoding mode-\/specific, and can be obtained via \doxyref{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX}{p.}{theoraenc_8h_a9baf5bdd206e80c78a8fd44687e89783}. \item[{\em OC\_\-IMPL}]Not supported by this implementation in the current encoding mode. \end{DoxyRetVals} -\index{oldfuncs@{oldfuncs}!TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE@{TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE}} -\index{TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE@{TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE}!oldfuncs@{oldfuncs}} -\subsubsection[{TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE~(10)}\label{group__oldfuncs_ga382d685a39a34d8e6ba76b00d804efd8} - - -Disables any encoder features that would prevent lossless transcoding back to VP3. This primarily means disabling block-\/level QI values and not using 4MV mode when any of the luma blocks in a macro block are not coded. It also includes using the VP3 quantization tables and Huffman codes; if you set them explicitly after calling this function, the resulting stream will not be VP3-\/compatible. If you enable VP3-\/compatibility when encoding 4:2:2 or 4:4:4 source material, or when using a picture region smaller than the full frame (e.g. a non-\/multiple-\/of-\/16 width or height), then non-\/VP3 bitstream features will still be disabled, but the stream will still not be VP3-\/compatible, as VP3 was not capable of encoding such formats. If you call this after encoding has already begun, then the quantization tables and codebooks cannot be changed, but the frame-\/level features will be enabled or disabled as requested. - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\leftarrow$} {\em buf}]{\ttfamily int}: a non-\/zero value to enable VP3 compatibility, or 0 to disable it (the default). \item[\mbox{$\rightarrow$} {\em buf}]{\ttfamily int}: 1 if all bitstream features required for VP3-\/compatibility could be set, and 0 otherwise. The latter will be returned if the pixel format is not 4:2:0, the picture region is smaller than the full frame, or if encoding has begun, preventing the quantization tables and codebooks from being set. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em OC\_\-FAULT}]{\itshape \doxyref{theora\_\-state}{p.}{structtheora__state}\/} or {\itshape buf\/} is {\ttfamily NULL}. \item[{\em OC\_\-EINVAL}]{\itshape buf\_\-sz\/} is not {\ttfamily sizeof(int)}. \item[{\em OC\_\-IMPL}]Not supported by this implementation. \end{DoxyRetVals} - - -\subsection{Enumeration Type Documentation} -\index{oldfuncs@{oldfuncs}!theora\_\-colorspace@{theora\_\-colorspace}} -\index{theora\_\-colorspace@{theora\_\-colorspace}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-colorspace}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf theora\_\-colorspace}}\label{group__oldfuncs_gaa567da4ce591f7373149ce3ef3acdac9} - - -A Colorspace. \begin{Desc} -\item[Enumerator: ]\par -\begin{description} -\index{OC\_\-CS\_\-UNSPECIFIED@{OC\_\-CS\_\-UNSPECIFIED}!oldfuncs@{oldfuncs}}\index{oldfuncs@{oldfuncs}!OC\_\-CS\_\-UNSPECIFIED@{OC\_\-CS\_\-UNSPECIFIED}}\item[{\em -OC\_\-CS\_\-UNSPECIFIED\label{group__oldfuncs_ggaa567da4ce591f7373149ce3ef3acdac9abf217cf83d7d7cbf73295e6689f5cf5f} -}]The colorspace is unknown or unspecified. \index{OC\_\-CS\_\-ITU\_\-REC\_\-470M@{OC\_\-CS\_\-ITU\_\-REC\_\-470M}!oldfuncs@{oldfuncs}}\index{oldfuncs@{oldfuncs}!OC\_\-CS\_\-ITU\_\-REC\_\-470M@{OC\_\-CS\_\-ITU\_\-REC\_\-470M}}\item[{\em -OC\_\-CS\_\-ITU\_\-REC\_\-470M\label{group__oldfuncs_ggaa567da4ce591f7373149ce3ef3acdac9ab20c9851a21ab148fef0bf2c00c0a294} -}]This is the best option for 'NTSC' content. \index{OC\_\-CS\_\-ITU\_\-REC\_\-470BG@{OC\_\-CS\_\-ITU\_\-REC\_\-470BG}!oldfuncs@{oldfuncs}}\index{oldfuncs@{oldfuncs}!OC\_\-CS\_\-ITU\_\-REC\_\-470BG@{OC\_\-CS\_\-ITU\_\-REC\_\-470BG}}\item[{\em -OC\_\-CS\_\-ITU\_\-REC\_\-470BG\label{group__oldfuncs_ggaa567da4ce591f7373149ce3ef3acdac9a04f8fa2da26f9ec513f514163705666a} -}]This is the best option for 'PAL' content. \index{OC\_\-CS\_\-NSPACES@{OC\_\-CS\_\-NSPACES}!oldfuncs@{oldfuncs}}\index{oldfuncs@{oldfuncs}!OC\_\-CS\_\-NSPACES@{OC\_\-CS\_\-NSPACES}}\item[{\em -OC\_\-CS\_\-NSPACES\label{group__oldfuncs_ggaa567da4ce591f7373149ce3ef3acdac9a640b572f11fa7102d434e1c605aaa186} -}]This marks the end of the defined colorspaces. \end{description} -\end{Desc} - -\index{oldfuncs@{oldfuncs}!theora\_\-pixelformat@{theora\_\-pixelformat}} -\index{theora\_\-pixelformat@{theora\_\-pixelformat}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-pixelformat}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf theora\_\-pixelformat}}\label{group__oldfuncs_gae169da05bfaaf4e964a6866552d45079} - - -A Chroma subsampling. These enumerate the available chroma subsampling options supported by the theora format. See Section 4.4 of the specification for exact definitions. \begin{Desc} -\item[Enumerator: ]\par -\begin{description} -\index{OC\_\-PF\_\-420@{OC\_\-PF\_\-420}!oldfuncs@{oldfuncs}}\index{oldfuncs@{oldfuncs}!OC\_\-PF\_\-420@{OC\_\-PF\_\-420}}\item[{\em -OC\_\-PF\_\-420\label{group__oldfuncs_ggae169da05bfaaf4e964a6866552d45079a4e451af01be2645511b0e431f5225d2b} -}]Chroma subsampling by 2 in each direction (4:2:0). \index{OC\_\-PF\_\-RSVD@{OC\_\-PF\_\-RSVD}!oldfuncs@{oldfuncs}}\index{oldfuncs@{oldfuncs}!OC\_\-PF\_\-RSVD@{OC\_\-PF\_\-RSVD}}\item[{\em -OC\_\-PF\_\-RSVD\label{group__oldfuncs_ggae169da05bfaaf4e964a6866552d45079a7d21c63341ad299766839c83ed1216eb} -}]Reserved value. \index{OC\_\-PF\_\-422@{OC\_\-PF\_\-422}!oldfuncs@{oldfuncs}}\index{oldfuncs@{oldfuncs}!OC\_\-PF\_\-422@{OC\_\-PF\_\-422}}\item[{\em -OC\_\-PF\_\-422\label{group__oldfuncs_ggae169da05bfaaf4e964a6866552d45079a36a88c55b7ddd5aedeac2d61d57fee5b} -}]Horizonatal chroma subsampling by 2 (4:2:2). \index{OC\_\-PF\_\-444@{OC\_\-PF\_\-444}!oldfuncs@{oldfuncs}}\index{oldfuncs@{oldfuncs}!OC\_\-PF\_\-444@{OC\_\-PF\_\-444}}\item[{\em -OC\_\-PF\_\-444\label{group__oldfuncs_ggae169da05bfaaf4e964a6866552d45079a1d5c6d1b0365e06b4a87880b7825f044} -}]No chroma subsampling at all (4:4:4). \end{description} -\end{Desc} - - - -\subsection{Function Documentation} -\index{oldfuncs@{oldfuncs}!theora\_\-clear@{theora\_\-clear}} -\index{theora\_\-clear@{theora\_\-clear}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}void theora\_\-clear ({\bf theora\_\-state} $\ast$ {\em t})}\label{group__oldfuncs_gab252d5d81b925136dda72e8f1c09c5eb} - - -Free all internal data associated with a \doxyref{theora\_\-state}{p.}{structtheora__state} handle. -\begin{DoxyParams}{Parameters} -\item[{\em t}]A \doxyref{theora\_\-state}{p.}{structtheora__state} handle. \end{DoxyParams} -\index{oldfuncs@{oldfuncs}!theora\_\-comment\_\-add@{theora\_\-comment\_\-add}} -\index{theora\_\-comment\_\-add@{theora\_\-comment\_\-add}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-comment\_\-add}]{\setlength{\rightskip}{0pt plus 5cm}void theora\_\-comment\_\-add ({\bf theora\_\-comment} $\ast$ {\em tc}, \/ char $\ast$ {\em comment})}\label{group__oldfuncs_ga650642ed23894e41109bbc42ec393ed4} - - -Add a comment to an initialized \doxyref{theora\_\-comment}{p.}{structtheora__comment} structure. -\begin{DoxyParams}{Parameters} -\item[{\em tc}]A previously initialized theora comment structure \item[{\em comment}]A null-\/terminated string encoding the comment in the form \char`\"{}TAG=the value\char`\"{}\end{DoxyParams} -Neither \doxyref{theora\_\-comment\_\-add()}{p.}{group__oldfuncs_ga650642ed23894e41109bbc42ec393ed4} nor \doxyref{theora\_\-comment\_\-add\_\-tag()}{p.}{group__oldfuncs_ga339bd80b5bf4bb168b7052d8ec0b5a92} support comments containing null values, although the bitstream format supports this. To add such comments you will need to manipulate the \doxyref{theora\_\-comment}{p.}{structtheora__comment} structure directly. \index{oldfuncs@{oldfuncs}!theora\_\-comment\_\-add\_\-tag@{theora\_\-comment\_\-add\_\-tag}} -\index{theora\_\-comment\_\-add\_\-tag@{theora\_\-comment\_\-add\_\-tag}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-comment\_\-add\_\-tag}]{\setlength{\rightskip}{0pt plus 5cm}void theora\_\-comment\_\-add\_\-tag ({\bf theora\_\-comment} $\ast$ {\em tc}, \/ char $\ast$ {\em tag}, \/ char $\ast$ {\em value})}\label{group__oldfuncs_ga339bd80b5bf4bb168b7052d8ec0b5a92} - - -Add a comment to an initialized \doxyref{theora\_\-comment}{p.}{structtheora__comment} structure. -\begin{DoxyParams}{Parameters} -\item[{\em tc}]A previously initialized theora comment structure \item[{\em tag}]A null-\/terminated string containing the tag associated with the comment. \item[{\em value}]The corresponding value as a null-\/terminated string\end{DoxyParams} -Neither \doxyref{theora\_\-comment\_\-add()}{p.}{group__oldfuncs_ga650642ed23894e41109bbc42ec393ed4} nor \doxyref{theora\_\-comment\_\-add\_\-tag()}{p.}{group__oldfuncs_ga339bd80b5bf4bb168b7052d8ec0b5a92} support comments containing null values, although the bitstream format supports this. To add such comments you will need to manipulate the \doxyref{theora\_\-comment}{p.}{structtheora__comment} structure directly. \index{oldfuncs@{oldfuncs}!theora\_\-comment\_\-clear@{theora\_\-comment\_\-clear}} -\index{theora\_\-comment\_\-clear@{theora\_\-comment\_\-clear}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-comment\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}void theora\_\-comment\_\-clear ({\bf theora\_\-comment} $\ast$ {\em tc})}\label{group__oldfuncs_ga04c07c2eefba3a433e43f9fbde14719f} - - -Clear an allocated \doxyref{theora\_\-comment}{p.}{structtheora__comment} struct so that it can be freed. -\begin{DoxyParams}{Parameters} -\item[{\em tc}]An allocated \doxyref{theora\_\-comment}{p.}{structtheora__comment} structure. \end{DoxyParams} -\index{oldfuncs@{oldfuncs}!theora\_\-comment\_\-init@{theora\_\-comment\_\-init}} -\index{theora\_\-comment\_\-init@{theora\_\-comment\_\-init}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-comment\_\-init}]{\setlength{\rightskip}{0pt plus 5cm}void theora\_\-comment\_\-init ({\bf theora\_\-comment} $\ast$ {\em tc})}\label{group__oldfuncs_ga811b92785df3bdbbebb3de612d9d6ce0} - - -Initialize an allocated \doxyref{theora\_\-comment}{p.}{structtheora__comment} structure. -\begin{DoxyParams}{Parameters} -\item[{\em tc}]An allocated \doxyref{theora\_\-comment}{p.}{structtheora__comment} structure \end{DoxyParams} -\index{oldfuncs@{oldfuncs}!theora\_\-comment\_\-query@{theora\_\-comment\_\-query}} -\index{theora\_\-comment\_\-query@{theora\_\-comment\_\-query}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-comment\_\-query}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ theora\_\-comment\_\-query ({\bf theora\_\-comment} $\ast$ {\em tc}, \/ char $\ast$ {\em tag}, \/ int {\em count})}\label{group__oldfuncs_ga4361f6001abb5c83c36a2ddfb648a8dc} - - -Look up a comment value by tag. -\begin{DoxyParams}{Parameters} -\item[{\em tc}]Tn initialized \doxyref{theora\_\-comment}{p.}{structtheora__comment} structure \item[{\em tag}]The tag to look up \item[{\em count}]The instance of the tag. The same tag can appear multiple times, each with a distinct and ordered value, so an index is required to retrieve them all. \end{DoxyParams} -\begin{DoxyReturn}{Returns} -A pointer to the queried tag's value -\end{DoxyReturn} - -\begin{DoxyRetVals}{Return values} -\item[{\em NULL}]No matching tag is found\end{DoxyRetVals} -\begin{DoxyNote}{Note} -Use \doxyref{theora\_\-comment\_\-query\_\-count()}{p.}{group__oldfuncs_ga10f66a3c752442a3e0c0098e0f88df8b} to get the legal range for the count parameter. -\end{DoxyNote} -\index{oldfuncs@{oldfuncs}!theora\_\-comment\_\-query\_\-count@{theora\_\-comment\_\-query\_\-count}} -\index{theora\_\-comment\_\-query\_\-count@{theora\_\-comment\_\-query\_\-count}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-comment\_\-query\_\-count}]{\setlength{\rightskip}{0pt plus 5cm}int theora\_\-comment\_\-query\_\-count ({\bf theora\_\-comment} $\ast$ {\em tc}, \/ char $\ast$ {\em tag})}\label{group__oldfuncs_ga10f66a3c752442a3e0c0098e0f88df8b} - - -Look up the number of instances of a tag. -\begin{DoxyParams}{Parameters} -\item[{\em tc}]An initialized \doxyref{theora\_\-comment}{p.}{structtheora__comment} structure \item[{\em tag}]The tag to look up \end{DoxyParams} -\begin{DoxyReturn}{Returns} -The number on instances of a particular tag. -\end{DoxyReturn} -Call this first when querying for a specific tag and then interate over the number of instances with separate calls to \doxyref{theora\_\-comment\_\-query()}{p.}{group__oldfuncs_ga4361f6001abb5c83c36a2ddfb648a8dc} to retrieve all instances in order. \index{oldfuncs@{oldfuncs}!theora\_\-control@{theora\_\-control}} -\index{theora\_\-control@{theora\_\-control}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-control}]{\setlength{\rightskip}{0pt plus 5cm}int theora\_\-control ({\bf theora\_\-state} $\ast$ {\em th}, \/ int {\em req}, \/ void $\ast$ {\em buf}, \/ size\_\-t {\em buf\_\-sz})}\label{group__oldfuncs_ga186773db3bc8cd550047e7df1b2ba2c9} - - -Encoder control function. This is used to provide advanced control the encoding process. -\begin{DoxyParams}{Parameters} -\item[{\em th}]A \doxyref{theora\_\-state}{p.}{structtheora__state} handle. \item[{\em req}]The control code to process. See \doxyref{the list of available }{p.}{group__oldfuncs_encctlcodes_old} control codes for details. \item[{\em buf}]The parameters for this control code. \item[{\em buf\_\-sz}]The size of the parameter buffer. \end{DoxyParams} -\index{oldfuncs@{oldfuncs}!theora\_\-decode\_\-header@{theora\_\-decode\_\-header}} -\index{theora\_\-decode\_\-header@{theora\_\-decode\_\-header}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-decode\_\-header}]{\setlength{\rightskip}{0pt plus 5cm}int theora\_\-decode\_\-header ({\bf theora\_\-info} $\ast$ {\em ci}, \/ {\bf theora\_\-comment} $\ast$ {\em cc}, \/ ogg\_\-packet $\ast$ {\em op})}\label{group__oldfuncs_ga02915e63c1bd733ee291f577a8b75a82} - - -Decode an Ogg packet, with the expectation that the packet contains an initial header, comment data or codebook tables. -\begin{DoxyParams}{Parameters} -\item[{\em ci}]A \doxyref{theora\_\-info}{p.}{structtheora__info} structure to fill. This must have been previously initialized with \doxyref{theora\_\-info\_\-init()}{p.}{group__oldfuncs_ga3091c87d48f1faba018c5956379a6d90}. If {\itshape op\/} contains an initial header, \doxyref{theora\_\-decode\_\-header()}{p.}{group__oldfuncs_ga02915e63c1bd733ee291f577a8b75a82} will fill {\itshape ci\/} with the parsed header values. If {\itshape op\/} contains codebook tables, \doxyref{theora\_\-decode\_\-header()}{p.}{group__oldfuncs_ga02915e63c1bd733ee291f577a8b75a82} will parse these and attach an internal representation to {\itshape ci-\/$>$codec\_\-setup\/}. \item[{\em cc}]A \doxyref{theora\_\-comment}{p.}{structtheora__comment} structure to fill. If {\itshape op\/} contains comment data, \doxyref{theora\_\-decode\_\-header()}{p.}{group__oldfuncs_ga02915e63c1bd733ee291f577a8b75a82} will fill {\itshape cc\/} with the parsed comments. \item[{\em op}]An ogg\_\-packet structure which you expect contains an initial header, comment data or codebook tables.\end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em OC\_\-BADHEADER}]{\itshape op\/} is NULL; OR the first byte of {\itshape op-\/$>$packet\/} has the signature of an initial packet, but op is not a b\_\-o\_\-s packet; OR this packet has the signature of an initial header packet, but an initial header packet has already been seen; OR this packet has the signature of a comment packet, but the initial header has not yet been seen; OR this packet has the signature of a comment packet, but contains invalid data; OR this packet has the signature of codebook tables, but the initial header or comments have not yet been seen; OR this packet has the signature of codebook tables, but contains invalid data; OR the stream being decoded has a compatible version but this packet does not have the signature of a theora initial header, comments, or codebook packet \item[{\em OC\_\-VERSION}]The packet data of {\itshape op\/} is an initial header with a version which is incompatible with this version of libtheora. \item[{\em OC\_\-NEWPACKET}]the stream being decoded has an incompatible (future) version and contains an unknown signature. \item[{\em 0}]Success\end{DoxyRetVals} -\begin{DoxyNote}{Note} -The normal usage is that \doxyref{theora\_\-decode\_\-header()}{p.}{group__oldfuncs_ga02915e63c1bd733ee291f577a8b75a82} be called on the first three packets of a theora logical bitstream in succession. -\end{DoxyNote} -\index{oldfuncs@{oldfuncs}!theora\_\-decode\_\-init@{theora\_\-decode\_\-init}} -\index{theora\_\-decode\_\-init@{theora\_\-decode\_\-init}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-decode\_\-init}]{\setlength{\rightskip}{0pt plus 5cm}int theora\_\-decode\_\-init ({\bf theora\_\-state} $\ast$ {\em th}, \/ {\bf theora\_\-info} $\ast$ {\em c})}\label{group__oldfuncs_ga264907c66003799ff77ecbd09eb33d2c} - - -Initialize a \doxyref{theora\_\-state}{p.}{structtheora__state} handle for decoding. -\begin{DoxyParams}{Parameters} -\item[{\em th}]The \doxyref{theora\_\-state}{p.}{structtheora__state} handle to initialize. \item[{\em c}]A \doxyref{theora\_\-info}{p.}{structtheora__info} struct filled with the desired decoding parameters. This is of course usually obtained from a previous call to \doxyref{theora\_\-decode\_\-header()}{p.}{group__oldfuncs_ga02915e63c1bd733ee291f577a8b75a82}. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em 0}]Success \end{DoxyRetVals} -\index{oldfuncs@{oldfuncs}!theora\_\-decode\_\-packetin@{theora\_\-decode\_\-packetin}} -\index{theora\_\-decode\_\-packetin@{theora\_\-decode\_\-packetin}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-decode\_\-packetin}]{\setlength{\rightskip}{0pt plus 5cm}int theora\_\-decode\_\-packetin ({\bf theora\_\-state} $\ast$ {\em th}, \/ ogg\_\-packet $\ast$ {\em op})}\label{group__oldfuncs_gaa65a9e53b46fd54ab344bd599fa96975} - - -Input a packet containing encoded data into the theora decoder. -\begin{DoxyParams}{Parameters} -\item[{\em th}]A \doxyref{theora\_\-state}{p.}{structtheora__state} handle previously initialized for decoding. \item[{\em op}]An ogg\_\-packet containing encoded theora data. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em 0}]Success \item[{\em OC\_\-BADPACKET}]{\itshape op\/} does not contain encoded video data \end{DoxyRetVals} -\index{oldfuncs@{oldfuncs}!theora\_\-decode\_\-YUVout@{theora\_\-decode\_\-YUVout}} -\index{theora\_\-decode\_\-YUVout@{theora\_\-decode\_\-YUVout}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-decode\_\-YUVout}]{\setlength{\rightskip}{0pt plus 5cm}int theora\_\-decode\_\-YUVout ({\bf theora\_\-state} $\ast$ {\em th}, \/ {\bf yuv\_\-buffer} $\ast$ {\em yuv})}\label{group__oldfuncs_ga09d47c80e1e94bff0a46a496816b8daa} - - -Output the next available frame of decoded YUV data. -\begin{DoxyParams}{Parameters} -\item[{\em th}]A \doxyref{theora\_\-state}{p.}{structtheora__state} handle previously initialized for decoding. \item[{\em yuv}]A \doxyref{yuv\_\-buffer}{p.}{structyuv__buffer} in which libtheora should place the decoded data. Note that the buffer struct itself is allocated by the user, but that the luma and chroma pointers will be filled in by the library. Also note that these luma and chroma regions should be considered read-\/only by the user. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em 0}]Success \end{DoxyRetVals} -\index{oldfuncs@{oldfuncs}!theora\_\-encode\_\-comment@{theora\_\-encode\_\-comment}} -\index{theora\_\-encode\_\-comment@{theora\_\-encode\_\-comment}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-encode\_\-comment}]{\setlength{\rightskip}{0pt plus 5cm}int theora\_\-encode\_\-comment ({\bf theora\_\-comment} $\ast$ {\em tc}, \/ ogg\_\-packet $\ast$ {\em op})}\label{group__oldfuncs_ga45e8db0713eaaca0f1144f3724cb834a} - - -Request a comment header packet from provided metadata. A pointer to the comment data is placed in a user-\/provided ogg\_\-packet structure. -\begin{DoxyParams}{Parameters} -\item[{\em tc}]A \doxyref{theora\_\-comment}{p.}{structtheora__comment} structure filled with the desired metadata \item[{\em op}]An ogg\_\-packet structure to fill. libtheora will set all elements of this structure, including a pointer to the encoded comment data. The memory for the comment data is owned by libtheora. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em 0}]Success \end{DoxyRetVals} -\index{oldfuncs@{oldfuncs}!theora\_\-encode\_\-header@{theora\_\-encode\_\-header}} -\index{theora\_\-encode\_\-header@{theora\_\-encode\_\-header}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-encode\_\-header}]{\setlength{\rightskip}{0pt plus 5cm}int theora\_\-encode\_\-header ({\bf theora\_\-state} $\ast$ {\em t}, \/ ogg\_\-packet $\ast$ {\em op})}\label{group__oldfuncs_ga451feb58d6bde726edbae193689887be} - - -Request a packet containing the initial header. A pointer to the header data is placed in a user-\/provided ogg\_\-packet structure. -\begin{DoxyParams}{Parameters} -\item[{\em t}]A \doxyref{theora\_\-state}{p.}{structtheora__state} handle previously initialized for encoding. \item[{\em op}]An ogg\_\-packet structure to fill. libtheora will set all elements of this structure, including a pointer to the header data. The memory for the header data is owned by libtheora. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em 0}]Success \end{DoxyRetVals} -\index{oldfuncs@{oldfuncs}!theora\_\-encode\_\-init@{theora\_\-encode\_\-init}} -\index{theora\_\-encode\_\-init@{theora\_\-encode\_\-init}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-encode\_\-init}]{\setlength{\rightskip}{0pt plus 5cm}int theora\_\-encode\_\-init ({\bf theora\_\-state} $\ast$ {\em th}, \/ {\bf theora\_\-info} $\ast$ {\em ti})}\label{group__oldfuncs_ga0f7ad4d4b2343278cb4ba8fb2bd5109a} - - -Initialize the theora encoder. -\begin{DoxyParams}{Parameters} -\item[{\em th}]The \doxyref{theora\_\-state}{p.}{structtheora__state} handle to initialize for encoding. \item[{\em ti}]A \doxyref{theora\_\-info}{p.}{structtheora__info} struct filled with the desired encoding parameters. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em 0}]Success \end{DoxyRetVals} -\index{oldfuncs@{oldfuncs}!theora\_\-encode\_\-packetout@{theora\_\-encode\_\-packetout}} -\index{theora\_\-encode\_\-packetout@{theora\_\-encode\_\-packetout}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-encode\_\-packetout}]{\setlength{\rightskip}{0pt plus 5cm}int theora\_\-encode\_\-packetout ({\bf theora\_\-state} $\ast$ {\em t}, \/ int {\em last\_\-p}, \/ ogg\_\-packet $\ast$ {\em op})}\label{group__oldfuncs_ga5f4929677a735bc2198c2309d235f1b3} - - -Request the next packet of encoded video. The encoded data is placed in a user-\/provided ogg\_\-packet structure. -\begin{DoxyParams}{Parameters} -\item[{\em t}]A \doxyref{theora\_\-state}{p.}{structtheora__state} handle previously initialized for encoding. \item[{\em last\_\-p}]whether this is the last packet the encoder should produce. \item[{\em op}]An ogg\_\-packet structure to fill. libtheora will set all elements of this structure, including a pointer to encoded data. The memory for the encoded data is owned by libtheora. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em 0}]No internal storage exists OR no packet is ready \item[{\em -\/1}]The encoding process has completed \item[{\em 1}]Success \end{DoxyRetVals} -\index{oldfuncs@{oldfuncs}!theora\_\-encode\_\-tables@{theora\_\-encode\_\-tables}} -\index{theora\_\-encode\_\-tables@{theora\_\-encode\_\-tables}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-encode\_\-tables}]{\setlength{\rightskip}{0pt plus 5cm}int theora\_\-encode\_\-tables ({\bf theora\_\-state} $\ast$ {\em t}, \/ ogg\_\-packet $\ast$ {\em op})}\label{group__oldfuncs_ga5085baf20855b283fa01fc948505d9d2} - - -Request a packet containing the codebook tables for the stream. A pointer to the codebook data is placed in a user-\/provided ogg\_\-packet structure. -\begin{DoxyParams}{Parameters} -\item[{\em t}]A \doxyref{theora\_\-state}{p.}{structtheora__state} handle previously initialized for encoding. \item[{\em op}]An ogg\_\-packet structure to fill. libtheora will set all elements of this structure, including a pointer to the codebook data. The memory for the header data is owned by libtheora. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em 0}]Success \end{DoxyRetVals} -\index{oldfuncs@{oldfuncs}!theora\_\-encode\_\-YUVin@{theora\_\-encode\_\-YUVin}} -\index{theora\_\-encode\_\-YUVin@{theora\_\-encode\_\-YUVin}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-encode\_\-YUVin}]{\setlength{\rightskip}{0pt plus 5cm}int theora\_\-encode\_\-YUVin ({\bf theora\_\-state} $\ast$ {\em t}, \/ {\bf yuv\_\-buffer} $\ast$ {\em yuv})}\label{group__oldfuncs_gac0d33d896ca70cedfc94c5986d947078} - - -Submit a YUV buffer to the theora encoder. -\begin{DoxyParams}{Parameters} -\item[{\em t}]A \doxyref{theora\_\-state}{p.}{structtheora__state} handle previously initialized for encoding. \item[{\em yuv}]A buffer of YUV data to encode. Note that both the \doxyref{yuv\_\-buffer}{p.}{structyuv__buffer} struct and the luma/chroma buffers within should be allocated by the user. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em OC\_\-EINVAL}]Encoder is not ready, or is finished. \item[{\em -\/1}]The size of the given frame differs from those previously input \item[{\em 0}]Success \end{DoxyRetVals} -\index{oldfuncs@{oldfuncs}!theora\_\-granule\_\-frame@{theora\_\-granule\_\-frame}} -\index{theora\_\-granule\_\-frame@{theora\_\-granule\_\-frame}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-granule\_\-frame}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-int64\_\-t theora\_\-granule\_\-frame ({\bf theora\_\-state} $\ast$ {\em th}, \/ ogg\_\-int64\_\-t {\em granulepos})}\label{group__oldfuncs_ga7bfa3ceb2fb4b41a282456c56e1dd269} - - -Convert a granulepos to an absolute frame index, starting at 0. The granulepos is interpreted in the context of a given \doxyref{theora\_\-state}{p.}{structtheora__state} handle. - -Note that while the granulepos encodes the frame count (i.e. starting from 1) this call returns the frame index, starting from zero. Thus One can calculate the presentation time by multiplying the index by the rate. - - -\begin{DoxyParams}{Parameters} -\item[{\em th}]A previously initialized \doxyref{theora\_\-state}{p.}{structtheora__state} handle (encode or decode) \item[{\em granulepos}]The granulepos to convert. \end{DoxyParams} -\begin{DoxyReturn}{Returns} -The frame index corresponding to {\itshape granulepos\/}. -\end{DoxyReturn} - -\begin{DoxyRetVals}{Return values} -\item[{\em -\/1}]The given granulepos is undefined (i.e. negative)\end{DoxyRetVals} -Thus function was added in the 1.0alpha4 release. \index{oldfuncs@{oldfuncs}!theora\_\-granule\_\-shift@{theora\_\-granule\_\-shift}} -\index{theora\_\-granule\_\-shift@{theora\_\-granule\_\-shift}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-granule\_\-shift}]{\setlength{\rightskip}{0pt plus 5cm}int theora\_\-granule\_\-shift ({\bf theora\_\-info} $\ast$ {\em ti})}\label{group__oldfuncs_gacd9360e6a47139c761002410af457a02} - - -Report the granulepos shift radix. When embedded in Ogg, Theora uses a two-\/part granulepos, splitting the 64-\/bit field into two pieces. The more-\/significant section represents the frame count at the last keyframe, and the less-\/significant section represents the count of frames since the last keyframe. In this way the overall field is still non-\/decreasing with time, but usefully encodes a pointer to the last keyframe, which is necessary for correctly restarting decode after a seek. - -This function reports the number of bits used to represent the distance to the last keyframe, and thus how the granulepos field must be shifted or masked to obtain the two parts. - -Since libtheora returns compressed data in an ogg\_\-packet structure, this may be generally useful even if the Theora packets are not being used in an Ogg container. - - -\begin{DoxyParams}{Parameters} -\item[{\em ti}]A previously initialized \doxyref{theora\_\-info}{p.}{structtheora__info} struct \end{DoxyParams} -\begin{DoxyReturn}{Returns} -The bit shift dividing the two granulepos fields -\end{DoxyReturn} -This function was added in the 1.0alpha5 release. \index{oldfuncs@{oldfuncs}!theora\_\-granule\_\-time@{theora\_\-granule\_\-time}} -\index{theora\_\-granule\_\-time@{theora\_\-granule\_\-time}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-granule\_\-time}]{\setlength{\rightskip}{0pt plus 5cm}double theora\_\-granule\_\-time ({\bf theora\_\-state} $\ast$ {\em th}, \/ ogg\_\-int64\_\-t {\em granulepos})}\label{group__oldfuncs_ga4376358b12b9fa23ce6fe21cb5c65ac6} - - -Convert a granulepos to absolute time in seconds. The granulepos is interpreted in the context of a given \doxyref{theora\_\-state}{p.}{structtheora__state} handle, and gives the end time of a frame's presentation as used in Ogg mux ordering. - - -\begin{DoxyParams}{Parameters} -\item[{\em th}]A previously initialized \doxyref{theora\_\-state}{p.}{structtheora__state} handle (encode or decode) \item[{\em granulepos}]The granulepos to convert. \end{DoxyParams} -\begin{DoxyReturn}{Returns} -The absolute time in seconds corresponding to {\itshape granulepos\/}. This is the \char`\"{}end time\char`\"{} for the frame, or the latest time it should be displayed. It is not the presentation time. -\end{DoxyReturn} - -\begin{DoxyRetVals}{Return values} -\item[{\em -\/1.}]The given granulepos is undefined (i.e. negative), or \item[{\em -\/1.}]The function has been disabled because floating point support is not available. \end{DoxyRetVals} -\index{oldfuncs@{oldfuncs}!theora\_\-info\_\-clear@{theora\_\-info\_\-clear}} -\index{theora\_\-info\_\-clear@{theora\_\-info\_\-clear}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-info\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}void theora\_\-info\_\-clear ({\bf theora\_\-info} $\ast$ {\em c})}\label{group__oldfuncs_gaba7022d58edbc4825cacad03f68b3e0d} - - -Clear a \doxyref{theora\_\-info}{p.}{structtheora__info} structure. All values within the given \doxyref{theora\_\-info}{p.}{structtheora__info} structure are cleared, and associated internal codec setup data is freed. -\begin{DoxyParams}{Parameters} -\item[{\em c}]A \doxyref{theora\_\-info}{p.}{structtheora__info} struct to initialize. \end{DoxyParams} -\index{oldfuncs@{oldfuncs}!theora\_\-info\_\-init@{theora\_\-info\_\-init}} -\index{theora\_\-info\_\-init@{theora\_\-info\_\-init}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-info\_\-init}]{\setlength{\rightskip}{0pt plus 5cm}void theora\_\-info\_\-init ({\bf theora\_\-info} $\ast$ {\em c})}\label{group__oldfuncs_ga3091c87d48f1faba018c5956379a6d90} - - -Initialize a \doxyref{theora\_\-info}{p.}{structtheora__info} structure. All values within the given \doxyref{theora\_\-info}{p.}{structtheora__info} structure are initialized, and space is allocated within libtheora for internal codec setup data. -\begin{DoxyParams}{Parameters} -\item[{\em c}]A \doxyref{theora\_\-info}{p.}{structtheora__info} struct to initialize. \end{DoxyParams} -\index{oldfuncs@{oldfuncs}!theora\_\-packet\_\-isheader@{theora\_\-packet\_\-isheader}} -\index{theora\_\-packet\_\-isheader@{theora\_\-packet\_\-isheader}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-packet\_\-isheader}]{\setlength{\rightskip}{0pt plus 5cm}int theora\_\-packet\_\-isheader (ogg\_\-packet $\ast$ {\em op})}\label{group__oldfuncs_gab969f9d0407683f0e5abe73d0839a25b} - - -Report whether a theora packet is a header or not This function does no verification beyond checking the header flag bit so it should not be used for bitstream identification; use \doxyref{theora\_\-decode\_\-header()}{p.}{group__oldfuncs_ga02915e63c1bd733ee291f577a8b75a82} for that. -\begin{DoxyParams}{Parameters} -\item[{\em op}]An ogg\_\-packet containing encoded theora data. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em 1}]The packet is a header packet \item[{\em 0}]The packet is not a header packet (and so contains frame data)\end{DoxyRetVals} -Thus function was added in the 1.0alpha4 release. \index{oldfuncs@{oldfuncs}!theora\_\-packet\_\-iskeyframe@{theora\_\-packet\_\-iskeyframe}} -\index{theora\_\-packet\_\-iskeyframe@{theora\_\-packet\_\-iskeyframe}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-packet\_\-iskeyframe}]{\setlength{\rightskip}{0pt plus 5cm}int theora\_\-packet\_\-iskeyframe (ogg\_\-packet $\ast$ {\em op})}\label{group__oldfuncs_ga39ccc8f847a748d7074c926b4fdd12b2} - - -Report whether a theora packet is a keyframe or not. -\begin{DoxyParams}{Parameters} -\item[{\em op}]An ogg\_\-packet containing encoded theora data. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em 1}]The packet contains a keyframe image \item[{\em 0}]The packet is contains an interframe delta \item[{\em -\/1}]The packet is not an image data packet at all\end{DoxyRetVals} -Thus function was added in the 1.0alpha4 release. \index{oldfuncs@{oldfuncs}!theora\_\-version\_\-number@{theora\_\-version\_\-number}} -\index{theora\_\-version\_\-number@{theora\_\-version\_\-number}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-version\_\-number}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t theora\_\-version\_\-number (void)}\label{group__oldfuncs_gad181f4b19d455dcc2bef2533530b84c8} - - -Retrieve a 32-\/bit version number. This number is composed of a 16-\/bit major version, 8-\/bit minor version and 8 bit sub-\/version, composed as follows: -\begin{DoxyPre} - (VERSION\_MAJOR<<16) + (VERSION\_MINOR<<8) + (VERSION\_SUB) -\end{DoxyPre} - \begin{DoxyReturn}{Returns} -The version number. -\end{DoxyReturn} -\index{oldfuncs@{oldfuncs}!theora\_\-version\_\-string@{theora\_\-version\_\-string}} -\index{theora\_\-version\_\-string@{theora\_\-version\_\-string}!oldfuncs@{oldfuncs}} -\subsubsection[{theora\_\-version\_\-string}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ theora\_\-version\_\-string (void)}\label{group__oldfuncs_ga5a3da8fd262a60f055f96536eec06df2} - - -Retrieve a human-\/readable string to identify the encoder vendor and version. \begin{DoxyReturn}{Returns} -A version string. -\end{DoxyReturn} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/index.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/index.tex deleted file mode 100644 index 6a36a670..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/index.tex +++ /dev/null @@ -1,12 +0,0 @@ -\section{Introduction}\label{index_intro} -This is the documentation for {\ttfamily libtheora} C API. The current reference implementation for {\tt Theora}, a free, patent-\/unencumbered video codec. Theora is derived from On2's VP3 codec with additional features and integration with Ogg multimedia formats by {\tt the Xiph.Org Foundation}. Complete documentation of the format itself is available in {\tt the Theora specification}.\subsection{Organization}\label{index_Organization} -The functions documented here are actually subdivided into three separate libraries: -\begin{DoxyItemize} -\item {\ttfamily libtheoraenc} contains the encoder interface, described in \doxyref{Functions for Encoding}{p.}{group__encfuncs}. -\item {\ttfamily libtheoradec} contains the decoder interface and routines shared with the encoder. You must also link to this if you link to {\ttfamily libtheoraenc}. The routines in this library are described in \doxyref{Functions for Decoding}{p.}{group__decfuncs} and \doxyref{Functions Shared by Encode and Decode}{p.}{group__basefuncs}. -\item {\ttfamily libtheora} contains the \doxyref{Legacy pre-\/1.0 C API}{p.}{group__oldfuncs}. -\end{DoxyItemize} - -New code should link to {\ttfamily libtheoradec} and, if using encoder features, {\ttfamily libtheoraenc}. Together these two export both the standard and the legacy API, so this is all that is needed by any code. The older {\ttfamily libtheora} library is provided just for compatibility with older build configurations. - -In general the recommended 1.x API symbols can be distinguished by their {\ttfamily th\_\-} or {\ttfamily TH\_\-} namespace prefix. The older, legacy API uses {\ttfamily theora\_\-} or {\ttfamily OC\_\-} prefixes instead. \ No newline at end of file diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/modules.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/modules.tex deleted file mode 100644 index 7e83e096..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/modules.tex +++ /dev/null @@ -1,7 +0,0 @@ -\section{Modules} -Here is a list of all modules:\begin{DoxyCompactList} -\item \contentsline{section}{Functions Shared by Encode and Decode}{\pageref{group__basefuncs}}{} -\item \contentsline{section}{Legacy pre-\/1.0 C API}{\pageref{group__oldfuncs}}{} -\item \contentsline{section}{Functions for Decoding}{\pageref{group__decfuncs}}{} -\item \contentsline{section}{Functions for Encoding}{\pageref{group__encfuncs}}{} -\end{DoxyCompactList} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/refman.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/refman.tex deleted file mode 100644 index 4bbc465c..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/refman.tex +++ /dev/null @@ -1,64 +0,0 @@ -\documentclass[a4paper]{book} -\usepackage{a4wide} -\usepackage{makeidx} -\usepackage{graphicx} -\usepackage{multicol} -\usepackage{float} -\usepackage{listings} -\usepackage{color} -\usepackage{textcomp} -\usepackage{alltt} -\usepackage[utf8]{inputenc} -\usepackage{doxygen} -\lstset{language=C++,inputencoding=utf8,basicstyle=\footnotesize,breaklines=true,breakatwhitespace=true,tabsize=8,numbers=left } -\makeindex -\setcounter{tocdepth}{3} -\renewcommand{\footrulewidth}{0.4pt} -\begin{document} -\begin{titlepage} -\vspace*{7cm} -\begin{center} -{\Large libtheora \\[1ex]\large 1.1.0+svn }\\ -\vspace*{1cm} -{\large Generated by Doxygen 1.6.1}\\ -\vspace*{0.5cm} -{\small Mon Sep 28 11:02:24 2009}\\ -\end{center} -\end{titlepage} -\clearemptydoublepage -\pagenumbering{roman} -\tableofcontents -\clearemptydoublepage -\pagenumbering{arabic} -\chapter{Main Page} -\label{index}\input{index} -\chapter{Module Index} -\input{modules} -\chapter{Data Structure Index} -\input{annotated} -\chapter{File Index} -\input{files} -\chapter{Module Documentation} -\input{group__basefuncs} -\include{group__oldfuncs} -\include{group__decfuncs} -\include{group__encfuncs} -\chapter{Data Structure Documentation} -\input{structth__comment} -\include{structth__huff__code} -\include{structth__img__plane} -\include{structth__info} -\include{structth__quant__info} -\include{structth__quant__ranges} -\include{structth__stripe__callback} -\include{structtheora__comment} -\include{structtheora__info} -\include{structtheora__state} -\include{structyuv__buffer} -\chapter{File Documentation} -\input{codec_8h} -\include{theora_8h} -\include{theoradec_8h} -\include{theoraenc_8h} -\printindex -\end{document} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__comment.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__comment.tex deleted file mode 100644 index 9ce92b6b..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__comment.tex +++ /dev/null @@ -1,53 +0,0 @@ -\section{th\_\-comment Struct Reference} -\label{structth__comment}\index{th\_\-comment@{th\_\-comment}} - - -The comment information. - - -{\ttfamily \#include $<$codec.h$>$}\subsection*{Data Fields} -\begin{DoxyCompactItemize} -\item -char $\ast$$\ast$ {\bf user\_\-comments} -\begin{DoxyCompactList}\small\item\em The array of comment string vectors. \item\end{DoxyCompactList}\item -int $\ast$ {\bf comment\_\-lengths} -\begin{DoxyCompactList}\small\item\em An array of the corresponding length of each vector, in bytes. \item\end{DoxyCompactList}\item -int {\bf comments} -\begin{DoxyCompactList}\small\item\em The total number of comment strings. \item\end{DoxyCompactList}\item -char $\ast$ {\bf vendor} -\begin{DoxyCompactList}\small\item\em The null-\/terminated vendor string. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -The comment information. This structure holds the in-\/stream metadata corresponding to the 'comment' header packet. The comment header is meant to be used much like someone jotting a quick note on the label of a video. It should be a short, to the point text note that can be more than a couple words, but not more than a short paragraph. - -The metadata is stored as a series of (tag, value) pairs, in length-\/encoded string vectors. The first occurrence of the '=' character delimits the tag and value. A particular tag may occur more than once, and order is significant. The character set encoding for the strings is always UTF-\/8, but the tag names are limited to ASCII, and treated as case-\/insensitive. See {\tt the Theora specification}, Section 6.3.3 for details. - -In filling in this structure, \doxyref{th\_\-decode\_\-headerin()}{p.}{group__decfuncs_ga006d01d36fbe64768c571e6a12b7fc50} will null-\/terminate the user\_\-comment strings for safety. However, the bitstream format itself treats them as 8-\/bit clean vectors, possibly containing null characters, and so the length array should be treated as their authoritative length. - -\subsection{Field Documentation} -\index{th\_\-comment@{th\_\-comment}!comment\_\-lengths@{comment\_\-lengths}} -\index{comment\_\-lengths@{comment\_\-lengths}!th_comment@{th\_\-comment}} -\subsubsection[{comment\_\-lengths}]{\setlength{\rightskip}{0pt plus 5cm}int$\ast$ {\bf th\_\-comment::comment\_\-lengths}}\label{structth__comment_a723dc6fdf75757e70e28eea864b10898} - - -An array of the corresponding length of each vector, in bytes. \index{th\_\-comment@{th\_\-comment}!comments@{comments}} -\index{comments@{comments}!th_comment@{th\_\-comment}} -\subsubsection[{comments}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf th\_\-comment::comments}}\label{structth__comment_a5990c34932376f070ad0fc314daaeb78} - - -The total number of comment strings. \index{th\_\-comment@{th\_\-comment}!user\_\-comments@{user\_\-comments}} -\index{user\_\-comments@{user\_\-comments}!th_comment@{th\_\-comment}} -\subsubsection[{user\_\-comments}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$$\ast$ {\bf th\_\-comment::user\_\-comments}}\label{structth__comment_ad72830e183e707bb0df423eb73b00de4} - - -The array of comment string vectors. \index{th\_\-comment@{th\_\-comment}!vendor@{vendor}} -\index{vendor@{vendor}!th_comment@{th\_\-comment}} -\subsubsection[{vendor}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf th\_\-comment::vendor}}\label{structth__comment_a93fbe894d23603f56843be15b0cbdba0} - - -The null-\/terminated vendor string. This identifies the software used to encode the stream. - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -{\bf codec.h}\end{DoxyCompactItemize} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__huff__code.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__huff__code.tex deleted file mode 100644 index 6c761bbe..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__huff__code.tex +++ /dev/null @@ -1,35 +0,0 @@ -\section{th\_\-huff\_\-code Struct Reference} -\label{structth__huff__code}\index{th\_\-huff\_\-code@{th\_\-huff\_\-code}} - - -A Huffman code for a Theora DCT token. - - -{\ttfamily \#include $<$codec.h$>$}\subsection*{Data Fields} -\begin{DoxyCompactItemize} -\item -ogg\_\-uint32\_\-t {\bf pattern} -\begin{DoxyCompactList}\small\item\em The bit pattern for the code, with the LSbit of the pattern aligned in the LSbit of the word. \item\end{DoxyCompactList}\item -int {\bf nbits} -\begin{DoxyCompactList}\small\item\em The number of bits in the code. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -A Huffman code for a Theora DCT token. Each set of Huffman codes in a given table must form a complete, prefix-\/free code. There is no requirement that all the tokens in a table have a valid code, but the current encoder is not optimized to take advantage of this. If each of the five grouops of 16 tables does not contain at least one table with a code for every token, then the encoder may fail to encode certain frames. The complete table in the first group of 16 does not have to be in the same place as the complete table in the other groups, but the complete tables in the remaining four groups must all be in the same place. - -\subsection{Field Documentation} -\index{th\_\-huff\_\-code@{th\_\-huff\_\-code}!nbits@{nbits}} -\index{nbits@{nbits}!th_huff_code@{th\_\-huff\_\-code}} -\subsubsection[{nbits}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf th\_\-huff\_\-code::nbits}}\label{structth__huff__code_aaf97b8f2f90042f7bc136a7b2bc35e35} - - -The number of bits in the code. This must be between 0 and 32, inclusive. \index{th\_\-huff\_\-code@{th\_\-huff\_\-code}!pattern@{pattern}} -\index{pattern@{pattern}!th_huff_code@{th\_\-huff\_\-code}} -\subsubsection[{pattern}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf th\_\-huff\_\-code::pattern}}\label{structth__huff__code_a6dd29e3aa5a0c5a2dd5ce1f45b1162b4} - - -The bit pattern for the code, with the LSbit of the pattern aligned in the LSbit of the word. - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -{\bf codec.h}\end{DoxyCompactItemize} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__img__plane.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__img__plane.tex deleted file mode 100644 index 25668585..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__img__plane.tex +++ /dev/null @@ -1,49 +0,0 @@ -\section{th\_\-img\_\-plane Struct Reference} -\label{structth__img__plane}\index{th\_\-img\_\-plane@{th\_\-img\_\-plane}} - - -A buffer for a single color plane in an uncompressed image. - - -{\ttfamily \#include $<$codec.h$>$}\subsection*{Data Fields} -\begin{DoxyCompactItemize} -\item -int {\bf width} -\begin{DoxyCompactList}\small\item\em The width of this plane. \item\end{DoxyCompactList}\item -int {\bf height} -\begin{DoxyCompactList}\small\item\em The height of this plane. \item\end{DoxyCompactList}\item -int {\bf stride} -\begin{DoxyCompactList}\small\item\em The offset in bytes between successive rows. \item\end{DoxyCompactList}\item -unsigned char $\ast$ {\bf data} -\begin{DoxyCompactList}\small\item\em A pointer to the beginning of the first row. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -A buffer for a single color plane in an uncompressed image. This contains the image data in a left-\/to-\/right, top-\/down format. Each row of pixels is stored contiguously in memory, but successive rows need not be. Use {\itshape stride\/} to compute the offset of the next row. The encoder accepts both positive {\itshape stride\/} values (top-\/down in memory) and negative (bottom-\/up in memory). The decoder currently always generates images with positive strides. - -\subsection{Field Documentation} -\index{th\_\-img\_\-plane@{th\_\-img\_\-plane}!data@{data}} -\index{data@{data}!th_img_plane@{th\_\-img\_\-plane}} -\subsubsection[{data}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char$\ast$ {\bf th\_\-img\_\-plane::data}}\label{structth__img__plane_af8133681516ce88b5a201c1b4b7e6ba2} - - -A pointer to the beginning of the first row. \index{th\_\-img\_\-plane@{th\_\-img\_\-plane}!height@{height}} -\index{height@{height}!th_img_plane@{th\_\-img\_\-plane}} -\subsubsection[{height}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf th\_\-img\_\-plane::height}}\label{structth__img__plane_a21aea1367894468de489d529d7eaf44d} - - -The height of this plane. \index{th\_\-img\_\-plane@{th\_\-img\_\-plane}!stride@{stride}} -\index{stride@{stride}!th_img_plane@{th\_\-img\_\-plane}} -\subsubsection[{stride}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf th\_\-img\_\-plane::stride}}\label{structth__img__plane_ab1100f071ffee3b37e07e3222f819bad} - - -The offset in bytes between successive rows. \index{th\_\-img\_\-plane@{th\_\-img\_\-plane}!width@{width}} -\index{width@{width}!th_img_plane@{th\_\-img\_\-plane}} -\subsubsection[{width}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf th\_\-img\_\-plane::width}}\label{structth__img__plane_a58cc297a99cd4594c3d30e56f2ed6b74} - - -The width of this plane. - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -{\bf codec.h}\end{DoxyCompactItemize} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__info.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__info.tex deleted file mode 100644 index 998cd477..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__info.tex +++ /dev/null @@ -1,164 +0,0 @@ -\section{th\_\-info Struct Reference} -\label{structth__info}\index{th\_\-info@{th\_\-info}} - - -Theora bitstream information. - - -{\ttfamily \#include $<$codec.h$>$}\subsection*{Data Fields} -\begin{DoxyCompactItemize} -\item -ogg\_\-uint32\_\-t {\bf frame\_\-width} -\begin{DoxyCompactList}\small\item\em The encoded frame width. \item\end{DoxyCompactList}\item -ogg\_\-uint32\_\-t {\bf frame\_\-height} -\begin{DoxyCompactList}\small\item\em The encoded frame height. \item\end{DoxyCompactList}\item -ogg\_\-uint32\_\-t {\bf pic\_\-width} -\begin{DoxyCompactList}\small\item\em The displayed picture width. \item\end{DoxyCompactList}\item -ogg\_\-uint32\_\-t {\bf pic\_\-height} -\begin{DoxyCompactList}\small\item\em The displayed picture height. \item\end{DoxyCompactList}\item -ogg\_\-uint32\_\-t {\bf pic\_\-x} -\begin{DoxyCompactList}\small\item\em The X offset of the displayed picture. \item\end{DoxyCompactList}\item -ogg\_\-uint32\_\-t {\bf pic\_\-y} -\begin{DoxyCompactList}\small\item\em The Y offset of the displayed picture. \item\end{DoxyCompactList}\item -{\bf th\_\-colorspace} {\bf colorspace} -\begin{DoxyCompactList}\small\item\em The color space. \item\end{DoxyCompactList}\item -{\bf th\_\-pixel\_\-fmt} {\bf pixel\_\-fmt} -\begin{DoxyCompactList}\small\item\em The pixel format. \item\end{DoxyCompactList}\item -int {\bf target\_\-bitrate} -\begin{DoxyCompactList}\small\item\em The target bit-\/rate in bits per second. \item\end{DoxyCompactList}\item -int {\bf quality} -\begin{DoxyCompactList}\small\item\em The target quality level. \item\end{DoxyCompactList}\item -int {\bf keyframe\_\-granule\_\-shift} -\begin{DoxyCompactList}\small\item\em The amount to shift to extract the last keyframe number from the granule position. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\begin{Indent}{\bf Theora version}\par -{\em \label{_amgrpf735645ddddaaf44dc0647da0e883f6c} -Bitstream version information.}\begin{DoxyCompactItemize} -\item -unsigned char {\bf version\_\-major} -\item -unsigned char {\bf version\_\-minor} -\item -unsigned char {\bf version\_\-subminor} -\end{DoxyCompactItemize} -\end{Indent} -\begin{Indent}{\bf Frame rate}\par -{\em \label{_amgrp801309c4a0e25a4db3fe5739b322b0a7} -The frame rate, as a fraction. - -If either is 0, the frame rate is undefined. }\begin{DoxyCompactItemize} -\item -ogg\_\-uint32\_\-t {\bf fps\_\-numerator} -\item -ogg\_\-uint32\_\-t {\bf fps\_\-denominator} -\end{DoxyCompactItemize} -\end{Indent} -\begin{Indent}{\bf Aspect ratio}\par -{\em \label{_amgrpdeca19914b5126815a2220f15d067c9b} -The aspect ratio of the pixels. - -If either value is zero, the aspect ratio is undefined. If not specified by any external means, 1:1 should be assumed. The aspect ratio of the full picture can be computed as -\begin{DoxyCode} - aspect_numerator*pic_width/(aspect_denominator*pic_height). -\end{DoxyCode} - }\begin{DoxyCompactItemize} -\item -ogg\_\-uint32\_\-t {\bf aspect\_\-numerator} -\item -ogg\_\-uint32\_\-t {\bf aspect\_\-denominator} -\end{DoxyCompactItemize} -\end{Indent} - - -\subsection{Detailed Description} -Theora bitstream information. This contains the basic playback parameters for a stream, and corresponds to the initial 'info' header packet. To initialize an encoder, the application fills in this structure and passes it to \doxyref{th\_\-encode\_\-alloc()}{p.}{group__encfuncs_gaa91e47bc9dd5f6ee52045bd7b815e5a7}. A default encoding mode is chosen based on the values of the \doxyref{quality}{p.}{structth__info_aa4cdcf96cb46b256821993e9a830ee02} and \doxyref{target\_\-bitrate}{p.}{structth__info_a1d9c8d768a4ae623269f5bd8f6f7a015} fields. On decode, it is filled in by \doxyref{th\_\-decode\_\-headerin()}{p.}{group__decfuncs_ga006d01d36fbe64768c571e6a12b7fc50}, and then passed to \doxyref{th\_\-decode\_\-alloc()}{p.}{group__decfuncs_ga0ef07a9a97849054aa606c595a2d807e}. - -Encoded Theora frames must be a multiple of 16 in size; this is what the \doxyref{frame\_\-width}{p.}{structth__info_a6b8087a4d831da53011a43b8d74087a0} and \doxyref{frame\_\-height}{p.}{structth__info_a6b1adc3a16a8336a72692b0a5937214c} members represent. To handle arbitrary picture sizes, a crop rectangle is specified in the \doxyref{pic\_\-x}{p.}{structth__info_a5b3f834bcf141564e7bb14f49101870f}, \doxyref{pic\_\-y}{p.}{structth__info_a8aacc575cab2dfe3735001c2ad32aa14}, \doxyref{pic\_\-width}{p.}{structth__info_a5048edf77b141dd3e9a92ca85e317345} and \doxyref{pic\_\-height}{p.}{structth__info_a775178474283c5990ba73f9ba7f6b88b} members. - -All frame buffers contain pointers to the full, padded frame. However, the current encoder {\itshape will not\/} reference pixels outside of the cropped picture region, and the application does not need to fill them in. The decoder {\itshape will\/} allocate storage for a full frame, but the application {\itshape should not\/} rely on the padding containing sensible data. - -It is also generally recommended that the offsets and sizes should still be multiples of 2 to avoid chroma sampling shifts when chroma is sub-\/sampled. See {\tt the Theora specification}, Section 4.4, for more details. - -Frame rate, in frames per second, is stored as a rational fraction, as is the pixel aspect ratio. Note that this refers to the aspect ratio of the individual pixels, not of the overall frame itself. The frame aspect ratio can be computed from pixel aspect ratio using the image dimensions. - -\subsection{Field Documentation} -\index{th\_\-info@{th\_\-info}!aspect\_\-denominator@{aspect\_\-denominator}} -\index{aspect\_\-denominator@{aspect\_\-denominator}!th_info@{th\_\-info}} -\subsubsection[{aspect\_\-denominator}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf th\_\-info::aspect\_\-denominator}}\label{structth__info_a04c0bd477222d747a76085d8720322e2} -\index{th\_\-info@{th\_\-info}!aspect\_\-numerator@{aspect\_\-numerator}} -\index{aspect\_\-numerator@{aspect\_\-numerator}!th_info@{th\_\-info}} -\subsubsection[{aspect\_\-numerator}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf th\_\-info::aspect\_\-numerator}}\label{structth__info_a5be65dac9f75e37864cf73dd543570cd} -\index{th\_\-info@{th\_\-info}!colorspace@{colorspace}} -\index{colorspace@{colorspace}!th_info@{th\_\-info}} -\subsubsection[{colorspace}]{\setlength{\rightskip}{0pt plus 5cm}{\bf th\_\-colorspace} {\bf th\_\-info::colorspace}}\label{structth__info_a8c7828cd0e023e9d21108160d53659a6} - - -The color space. \index{th\_\-info@{th\_\-info}!fps\_\-denominator@{fps\_\-denominator}} -\index{fps\_\-denominator@{fps\_\-denominator}!th_info@{th\_\-info}} -\subsubsection[{fps\_\-denominator}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf th\_\-info::fps\_\-denominator}}\label{structth__info_aa619408f70c03935529f1d3eda7a3ec2} -\index{th\_\-info@{th\_\-info}!fps\_\-numerator@{fps\_\-numerator}} -\index{fps\_\-numerator@{fps\_\-numerator}!th_info@{th\_\-info}} -\subsubsection[{fps\_\-numerator}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf th\_\-info::fps\_\-numerator}}\label{structth__info_a20606e61676f585a7e59cfc96de190a5} -\index{th\_\-info@{th\_\-info}!frame\_\-height@{frame\_\-height}} -\index{frame\_\-height@{frame\_\-height}!th_info@{th\_\-info}} -\subsubsection[{frame\_\-height}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf th\_\-info::frame\_\-height}}\label{structth__info_a6b1adc3a16a8336a72692b0a5937214c} - - -The encoded frame height. This must be a multiple of 16, and less than 1048576. \index{th\_\-info@{th\_\-info}!frame\_\-width@{frame\_\-width}} -\index{frame\_\-width@{frame\_\-width}!th_info@{th\_\-info}} -\subsubsection[{frame\_\-width}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf th\_\-info::frame\_\-width}}\label{structth__info_a6b8087a4d831da53011a43b8d74087a0} - - -The encoded frame width. This must be a multiple of 16, and less than 1048576. \index{th\_\-info@{th\_\-info}!keyframe\_\-granule\_\-shift@{keyframe\_\-granule\_\-shift}} -\index{keyframe\_\-granule\_\-shift@{keyframe\_\-granule\_\-shift}!th_info@{th\_\-info}} -\subsubsection[{keyframe\_\-granule\_\-shift}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf th\_\-info::keyframe\_\-granule\_\-shift}}\label{structth__info_a693ca4ab11fbc0c3f32594b4bb8766ed} - - -The amount to shift to extract the last keyframe number from the granule position. This can be at most 31. \doxyref{th\_\-info\_\-init()}{p.}{group__basefuncs_ga430d9c605816a6ca0bdce3a0b965b926} will set this to a default value (currently {\ttfamily 6}, which is good for streaming applications), but you can set it to 0 to make every frame a keyframe. The maximum distance between key frames is {\ttfamily 1$<$$<$\doxyref{keyframe\_\-granule\_\-shift}{p.}{structth__info_a693ca4ab11fbc0c3f32594b4bb8766ed}}. The keyframe frequency can be more finely controlled with \doxyref{TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE}{p.}{theoraenc_8h_a27e755e15b4b5604c54974b304037a49}, which can also be adjusted during encoding (for example, to force the next frame to be a keyframe), but it cannot be set larger than the amount permitted by this field after the headers have been output. \index{th\_\-info@{th\_\-info}!pic\_\-height@{pic\_\-height}} -\index{pic\_\-height@{pic\_\-height}!th_info@{th\_\-info}} -\subsubsection[{pic\_\-height}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf th\_\-info::pic\_\-height}}\label{structth__info_a775178474283c5990ba73f9ba7f6b88b} - - -The displayed picture height. This must be no larger than height. \index{th\_\-info@{th\_\-info}!pic\_\-width@{pic\_\-width}} -\index{pic\_\-width@{pic\_\-width}!th_info@{th\_\-info}} -\subsubsection[{pic\_\-width}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf th\_\-info::pic\_\-width}}\label{structth__info_a5048edf77b141dd3e9a92ca85e317345} - - -The displayed picture width. This must be no larger than width. \index{th\_\-info@{th\_\-info}!pic\_\-x@{pic\_\-x}} -\index{pic\_\-x@{pic\_\-x}!th_info@{th\_\-info}} -\subsubsection[{pic\_\-x}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf th\_\-info::pic\_\-x}}\label{structth__info_a5b3f834bcf141564e7bb14f49101870f} - - -The X offset of the displayed picture. This must be no larger than \doxyref{frame\_\-width}{p.}{structth__info_a6b8087a4d831da53011a43b8d74087a0}-\/\doxyref{pic\_\-width}{p.}{structth__info_a5048edf77b141dd3e9a92ca85e317345} or 255, whichever is smaller. \index{th\_\-info@{th\_\-info}!pic\_\-y@{pic\_\-y}} -\index{pic\_\-y@{pic\_\-y}!th_info@{th\_\-info}} -\subsubsection[{pic\_\-y}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf th\_\-info::pic\_\-y}}\label{structth__info_a8aacc575cab2dfe3735001c2ad32aa14} - - -The Y offset of the displayed picture. This must be no larger than \doxyref{frame\_\-height}{p.}{structth__info_a6b1adc3a16a8336a72692b0a5937214c}-\/\doxyref{pic\_\-height}{p.}{structth__info_a775178474283c5990ba73f9ba7f6b88b}, and \doxyref{frame\_\-height}{p.}{structth__info_a6b1adc3a16a8336a72692b0a5937214c}-\/\doxyref{pic\_\-height}{p.}{structth__info_a775178474283c5990ba73f9ba7f6b88b}-\/\doxyref{pic\_\-y}{p.}{structth__info_a8aacc575cab2dfe3735001c2ad32aa14} must be no larger than 255. This slightly funny restriction is due to the fact that the offset is specified from the top of the image for consistency with the standard graphics left-\/handed coordinate system used throughout this API, while it is stored in the encoded stream as an offset from the bottom. \index{th\_\-info@{th\_\-info}!pixel\_\-fmt@{pixel\_\-fmt}} -\index{pixel\_\-fmt@{pixel\_\-fmt}!th_info@{th\_\-info}} -\subsubsection[{pixel\_\-fmt}]{\setlength{\rightskip}{0pt plus 5cm}{\bf th\_\-pixel\_\-fmt} {\bf th\_\-info::pixel\_\-fmt}}\label{structth__info_a2301388ef3755c41ab12fd144c1fc54e} - - -The pixel format. \index{th\_\-info@{th\_\-info}!quality@{quality}} -\index{quality@{quality}!th_info@{th\_\-info}} -\subsubsection[{quality}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf th\_\-info::quality}}\label{structth__info_aa4cdcf96cb46b256821993e9a830ee02} - - -The target quality level. Valid values range from 0 to 63, inclusive, with higher values giving higher quality. If initializing an encoder with this struct, and \doxyref{target\_\-bitrate}{p.}{structth__info_a1d9c8d768a4ae623269f5bd8f6f7a015} is set to zero, VBR encoding at this quality will be activated by default. \index{th\_\-info@{th\_\-info}!target\_\-bitrate@{target\_\-bitrate}} -\index{target\_\-bitrate@{target\_\-bitrate}!th_info@{th\_\-info}} -\subsubsection[{target\_\-bitrate}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf th\_\-info::target\_\-bitrate}}\label{structth__info_a1d9c8d768a4ae623269f5bd8f6f7a015} - - -The target bit-\/rate in bits per second. If initializing an encoder with this struct, set this field to a non-\/zero value to activate CBR encoding by default. \index{th\_\-info@{th\_\-info}!version\_\-major@{version\_\-major}} -\index{version\_\-major@{version\_\-major}!th_info@{th\_\-info}} -\subsubsection[{version\_\-major}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf th\_\-info::version\_\-major}}\label{structth__info_a60b3e2cac006fee0e105a918d6a5a9f9} -\index{th\_\-info@{th\_\-info}!version\_\-minor@{version\_\-minor}} -\index{version\_\-minor@{version\_\-minor}!th_info@{th\_\-info}} -\subsubsection[{version\_\-minor}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf th\_\-info::version\_\-minor}}\label{structth__info_abb1d4887a8079c6c5aaa6d7229f243d7} -\index{th\_\-info@{th\_\-info}!version\_\-subminor@{version\_\-subminor}} -\index{version\_\-subminor@{version\_\-subminor}!th_info@{th\_\-info}} -\subsubsection[{version\_\-subminor}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf th\_\-info::version\_\-subminor}}\label{structth__info_abfacc79b7cabae12b6ac2484f76602d3} - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -{\bf codec.h}\end{DoxyCompactItemize} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__quant__info.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__quant__info.tex deleted file mode 100644 index 8bb50202..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__quant__info.tex +++ /dev/null @@ -1,81 +0,0 @@ -\section{th\_\-quant\_\-info Struct Reference} -\label{structth__quant__info}\index{th\_\-quant\_\-info@{th\_\-quant\_\-info}} - - -A complete set of quantization parameters. - - -{\ttfamily \#include $<$codec.h$>$}\subsection*{Data Fields} -\begin{DoxyCompactItemize} -\item -ogg\_\-uint16\_\-t {\bf dc\_\-scale} [64] -\begin{DoxyCompactList}\small\item\em The DC scaling factors. \item\end{DoxyCompactList}\item -ogg\_\-uint16\_\-t {\bf ac\_\-scale} [64] -\begin{DoxyCompactList}\small\item\em The AC scaling factors. \item\end{DoxyCompactList}\item -unsigned char {\bf loop\_\-filter\_\-limits} [64] -\begin{DoxyCompactList}\small\item\em The loop filter limit values. \item\end{DoxyCompactList}\item -{\bf th\_\-quant\_\-ranges} {\bf qi\_\-ranges} [2][3] -\begin{DoxyCompactList}\small\item\em The {\itshape qi\/} ranges for each {\itshape ci\/} and {\itshape pli\/}. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -A complete set of quantization parameters. The quantizer for each coefficient is calculated as: -\begin{DoxyCode} - Q=MAX(MIN(qmin[qti][ci!=0],scale[ci!=0][qi]*base[qti][pli][qi][ci]/100), - 1024). -\end{DoxyCode} - - -{\itshape qti\/} is the quantization type index: 0 for intra, 1 for inter. {\ttfamily ci!=0} is 0 for the DC coefficient and 1 for AC coefficients. {\itshape qi\/} is the quality index, ranging between 0 (low quality) and 63 (high quality). {\itshape pli\/} is the color plane index: 0 for Y', 1 for Cb, 2 for Cr. {\itshape ci\/} is the DCT coefficient index. Coefficient indices correspond to the normal 2D DCT block ordering-\/-\/row-\/major with low frequencies first-\/-\/{\itshape not\/} zig-\/zag order. - -Minimum quantizers are constant, and are given by: -\begin{DoxyCode} - qmin[2][2]={{4,2},{8,4}}. -\end{DoxyCode} - - -Parameters that can be stored in the bitstream are as follows: -\begin{DoxyItemize} -\item The two scale matrices ac\_\-scale and dc\_\-scale. -\begin{DoxyCode} - scale[2][64]={dc_scale,ac_scale}. -\end{DoxyCode} - -\item The base matrices for each {\itshape qi\/}, {\itshape qti\/} and {\itshape pli\/} (up to 384 in all). In order to avoid storing a full 384 base matrices, only a sparse set of matrices are stored, and the rest are linearly interpolated. This is done as follows. For each {\itshape qti\/} and {\itshape pli\/}, a series of {\itshape n\/} {\itshape qi\/} ranges is defined. The size of each {\itshape qi\/} range can vary arbitrarily, but they must sum to 63. Then, {\ttfamily n+1} matrices are specified, one for each endpoint of the ranges. For interpolation purposes, each range's endpoints are the first {\itshape qi\/} value it contains and one past the last {\itshape qi\/} value it contains. Fractional values are rounded to the nearest integer, with ties rounded away from zero. -\end{DoxyItemize} - -Base matrices are stored by reference, so if the same matrices are used multiple times, they will only appear once in the bitstream. The bitstream is also capable of omitting an entire set of ranges and its associated matrices if they are the same as either the previous set (indexed in row-\/major order) or if the inter set is the same as the intra set. - - -\begin{DoxyItemize} -\item Loop filter limit values. The same limits are used for the loop filter in all color planes, despite potentially differing levels of quantization in each. -\end{DoxyItemize} - -For the current encoder, {\ttfamily scale[ci!=0][qi]} must be no greater than {\ttfamily scale[ci!=0][qi-\/1]} and {\ttfamily base[qti][pli][qi][ci]} must be no greater than {\ttfamily base[qti][pli][qi-\/1][ci]}. These two conditions ensure that the actual quantizer for a given {\itshape qti\/}, {\itshape pli\/}, and {\itshape ci\/} does not increase as {\itshape qi\/} increases. This is not required by the decoder. - -\subsection{Field Documentation} -\index{th\_\-quant\_\-info@{th\_\-quant\_\-info}!ac\_\-scale@{ac\_\-scale}} -\index{ac\_\-scale@{ac\_\-scale}!th_quant_info@{th\_\-quant\_\-info}} -\subsubsection[{ac\_\-scale}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint16\_\-t {\bf th\_\-quant\_\-info::ac\_\-scale}[64]}\label{structth__quant__info_a102f079c8f4a135dc0895c10768aeb06} - - -The AC scaling factors. \index{th\_\-quant\_\-info@{th\_\-quant\_\-info}!dc\_\-scale@{dc\_\-scale}} -\index{dc\_\-scale@{dc\_\-scale}!th_quant_info@{th\_\-quant\_\-info}} -\subsubsection[{dc\_\-scale}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint16\_\-t {\bf th\_\-quant\_\-info::dc\_\-scale}[64]}\label{structth__quant__info_ad5c1c0d1aa4127fcf864ae747d732ed9} - - -The DC scaling factors. \index{th\_\-quant\_\-info@{th\_\-quant\_\-info}!loop\_\-filter\_\-limits@{loop\_\-filter\_\-limits}} -\index{loop\_\-filter\_\-limits@{loop\_\-filter\_\-limits}!th_quant_info@{th\_\-quant\_\-info}} -\subsubsection[{loop\_\-filter\_\-limits}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf th\_\-quant\_\-info::loop\_\-filter\_\-limits}[64]}\label{structth__quant__info_a4ac56bf0a45b5743b36daf85d5cd9e33} - - -The loop filter limit values. \index{th\_\-quant\_\-info@{th\_\-quant\_\-info}!qi\_\-ranges@{qi\_\-ranges}} -\index{qi\_\-ranges@{qi\_\-ranges}!th_quant_info@{th\_\-quant\_\-info}} -\subsubsection[{qi\_\-ranges}]{\setlength{\rightskip}{0pt plus 5cm}{\bf th\_\-quant\_\-ranges} {\bf th\_\-quant\_\-info::qi\_\-ranges}[2][3]}\label{structth__quant__info_a6feacf4b365e305a7df7b93d87ee7bb8} - - -The {\itshape qi\/} ranges for each {\itshape ci\/} and {\itshape pli\/}. - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -{\bf codec.h}\end{DoxyCompactItemize} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__quant__ranges.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__quant__ranges.tex deleted file mode 100644 index d1c6ce0a..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__quant__ranges.tex +++ /dev/null @@ -1,42 +0,0 @@ -\section{th\_\-quant\_\-ranges Struct Reference} -\label{structth__quant__ranges}\index{th\_\-quant\_\-ranges@{th\_\-quant\_\-ranges}} - - -A set of {\itshape qi\/} ranges. - - -{\ttfamily \#include $<$codec.h$>$}\subsection*{Data Fields} -\begin{DoxyCompactItemize} -\item -int {\bf nranges} -\begin{DoxyCompactList}\small\item\em The number of ranges in the set. \item\end{DoxyCompactList}\item -const int $\ast$ {\bf sizes} -\begin{DoxyCompactList}\small\item\em The size of each of the \doxyref{nranges}{p.}{structth__quant__ranges_a53e5a3d7f7a112100b4b670929b3ebab} ranges. \item\end{DoxyCompactList}\item -const {\bf th\_\-quant\_\-base} $\ast$ {\bf base\_\-matrices} -\begin{DoxyCompactList}\small\item\em \doxyref{nranges}{p.}{structth__quant__ranges_a53e5a3d7f7a112100b4b670929b3ebab} {\ttfamily +1} base matrices. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -A set of {\itshape qi\/} ranges. - -\subsection{Field Documentation} -\index{th\_\-quant\_\-ranges@{th\_\-quant\_\-ranges}!base\_\-matrices@{base\_\-matrices}} -\index{base\_\-matrices@{base\_\-matrices}!th_quant_ranges@{th\_\-quant\_\-ranges}} -\subsubsection[{base\_\-matrices}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf th\_\-quant\_\-base}$\ast$ {\bf th\_\-quant\_\-ranges::base\_\-matrices}}\label{structth__quant__ranges_a52cb432f034737087492ea448de20bdb} - - -\doxyref{nranges}{p.}{structth__quant__ranges_a53e5a3d7f7a112100b4b670929b3ebab} {\ttfamily +1} base matrices. Matrices {\itshape i\/} and {\ttfamily i+1} form the endpoints of range {\itshape i\/}. \index{th\_\-quant\_\-ranges@{th\_\-quant\_\-ranges}!nranges@{nranges}} -\index{nranges@{nranges}!th_quant_ranges@{th\_\-quant\_\-ranges}} -\subsubsection[{nranges}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf th\_\-quant\_\-ranges::nranges}}\label{structth__quant__ranges_a53e5a3d7f7a112100b4b670929b3ebab} - - -The number of ranges in the set. \index{th\_\-quant\_\-ranges@{th\_\-quant\_\-ranges}!sizes@{sizes}} -\index{sizes@{sizes}!th_quant_ranges@{th\_\-quant\_\-ranges}} -\subsubsection[{sizes}]{\setlength{\rightskip}{0pt plus 5cm}const int$\ast$ {\bf th\_\-quant\_\-ranges::sizes}}\label{structth__quant__ranges_af3188a373bc0b8ffaa330d0ab4c1a194} - - -The size of each of the \doxyref{nranges}{p.}{structth__quant__ranges_a53e5a3d7f7a112100b4b670929b3ebab} ranges. These must sum to 63. - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -{\bf codec.h}\end{DoxyCompactItemize} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__stripe__callback.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__stripe__callback.tex deleted file mode 100644 index 2cf1261a..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structth__stripe__callback.tex +++ /dev/null @@ -1,35 +0,0 @@ -\section{th\_\-stripe\_\-callback Struct Reference} -\label{structth__stripe__callback}\index{th\_\-stripe\_\-callback@{th\_\-stripe\_\-callback}} - - -The striped decode callback data to pass to \doxyref{TH\_\-DECCTL\_\-SET\_\-STRIPE\_\-CB}{p.}{theoradec_8h_ac95cc9e109474b0fa4bb920ab2cfdf1e}. - - -{\ttfamily \#include $<$theoradec.h$>$}\subsection*{Data Fields} -\begin{DoxyCompactItemize} -\item -void $\ast$ {\bf ctx} -\begin{DoxyCompactList}\small\item\em An application-\/provided context pointer. \item\end{DoxyCompactList}\item -{\bf th\_\-stripe\_\-decoded\_\-func} {\bf stripe\_\-decoded} -\begin{DoxyCompactList}\small\item\em The callback function pointer. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -The striped decode callback data to pass to \doxyref{TH\_\-DECCTL\_\-SET\_\-STRIPE\_\-CB}{p.}{theoradec_8h_ac95cc9e109474b0fa4bb920ab2cfdf1e}. - -\subsection{Field Documentation} -\index{th\_\-stripe\_\-callback@{th\_\-stripe\_\-callback}!ctx@{ctx}} -\index{ctx@{ctx}!th_stripe_callback@{th\_\-stripe\_\-callback}} -\subsubsection[{ctx}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ {\bf th\_\-stripe\_\-callback::ctx}}\label{structth__stripe__callback_ab895162ce29a411fa98e0ba9661f47d4} - - -An application-\/provided context pointer. This will be passed back verbatim to the application. \index{th\_\-stripe\_\-callback@{th\_\-stripe\_\-callback}!stripe\_\-decoded@{stripe\_\-decoded}} -\index{stripe\_\-decoded@{stripe\_\-decoded}!th_stripe_callback@{th\_\-stripe\_\-callback}} -\subsubsection[{stripe\_\-decoded}]{\setlength{\rightskip}{0pt plus 5cm}{\bf th\_\-stripe\_\-decoded\_\-func} {\bf th\_\-stripe\_\-callback::stripe\_\-decoded}}\label{structth__stripe__callback_a977c725680a37e3446e459f063b1f4a5} - - -The callback function pointer. - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -{\bf theoradec.h}\end{DoxyCompactItemize} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structtheora__comment.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/structtheora__comment.tex deleted file mode 100644 index 7ff63386..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structtheora__comment.tex +++ /dev/null @@ -1,53 +0,0 @@ -\section{theora\_\-comment Struct Reference} -\label{structtheora__comment}\index{theora\_\-comment@{theora\_\-comment}} - - -Comment header metadata. - - -{\ttfamily \#include $<$theora.h$>$}\subsection*{Data Fields} -\begin{DoxyCompactItemize} -\item -char $\ast$$\ast$ {\bf user\_\-comments} -\begin{DoxyCompactList}\small\item\em An array of comment string vectors. \item\end{DoxyCompactList}\item -int $\ast$ {\bf comment\_\-lengths} -\begin{DoxyCompactList}\small\item\em An array of corresponding string vector lengths in bytes. \item\end{DoxyCompactList}\item -int {\bf comments} -\begin{DoxyCompactList}\small\item\em The total number of comment string vectors. \item\end{DoxyCompactList}\item -char $\ast$ {\bf vendor} -\begin{DoxyCompactList}\small\item\em The vendor string identifying the encoder, null terminated. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -Comment header metadata. This structure holds the in-\/stream metadata corresponding to the 'comment' header packet. - -Meta data is stored as a series of (tag, value) pairs, in length-\/encoded string vectors. The first occurence of the '=' character delimits the tag and value. A particular tag may occur more than once. The character set encoding for the strings is always UTF-\/8, but the tag names are limited to case-\/insensitive ASCII. See the spec for details. - -In filling in this structure, \doxyref{theora\_\-decode\_\-header()}{p.}{group__oldfuncs_ga02915e63c1bd733ee291f577a8b75a82} will null-\/terminate the user\_\-comment strings for safety. However, the bitstream format itself treats them as 8-\/bit clean, and so the length array should be treated as authoritative for their length. - -\subsection{Field Documentation} -\index{theora\_\-comment@{theora\_\-comment}!comment\_\-lengths@{comment\_\-lengths}} -\index{comment\_\-lengths@{comment\_\-lengths}!theora_comment@{theora\_\-comment}} -\subsubsection[{comment\_\-lengths}]{\setlength{\rightskip}{0pt plus 5cm}int$\ast$ {\bf theora\_\-comment::comment\_\-lengths}}\label{structtheora__comment_a5ab4a376d3c217282a684577c9c9f49a} - - -An array of corresponding string vector lengths in bytes. \index{theora\_\-comment@{theora\_\-comment}!comments@{comments}} -\index{comments@{comments}!theora_comment@{theora\_\-comment}} -\subsubsection[{comments}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf theora\_\-comment::comments}}\label{structtheora__comment_a122393035c8352ff9be42d69e73aee00} - - -The total number of comment string vectors. \index{theora\_\-comment@{theora\_\-comment}!user\_\-comments@{user\_\-comments}} -\index{user\_\-comments@{user\_\-comments}!theora_comment@{theora\_\-comment}} -\subsubsection[{user\_\-comments}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$$\ast$ {\bf theora\_\-comment::user\_\-comments}}\label{structtheora__comment_a1e236fd180dfce19be89081399444cf5} - - -An array of comment string vectors. \index{theora\_\-comment@{theora\_\-comment}!vendor@{vendor}} -\index{vendor@{vendor}!theora_comment@{theora\_\-comment}} -\subsubsection[{vendor}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf theora\_\-comment::vendor}}\label{structtheora__comment_adb371baf8f0daed42af8b875cf8430ef} - - -The vendor string identifying the encoder, null terminated. - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -{\bf theora.h}\end{DoxyCompactItemize} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structtheora__info.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/structtheora__info.tex deleted file mode 100644 index 8d6866e3..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structtheora__info.tex +++ /dev/null @@ -1,197 +0,0 @@ -\section{theora\_\-info Struct Reference} -\label{structtheora__info}\index{theora\_\-info@{theora\_\-info}} - - -Theora bitstream info. - - -{\ttfamily \#include $<$theora.h$>$}\subsection*{Data Fields} -\begin{DoxyCompactItemize} -\item -ogg\_\-uint32\_\-t {\bf width} -\begin{DoxyCompactList}\small\item\em encoded frame width \item\end{DoxyCompactList}\item -ogg\_\-uint32\_\-t {\bf height} -\begin{DoxyCompactList}\small\item\em encoded frame height \item\end{DoxyCompactList}\item -ogg\_\-uint32\_\-t {\bf frame\_\-width} -\begin{DoxyCompactList}\small\item\em display frame width \item\end{DoxyCompactList}\item -ogg\_\-uint32\_\-t {\bf frame\_\-height} -\begin{DoxyCompactList}\small\item\em display frame height \item\end{DoxyCompactList}\item -ogg\_\-uint32\_\-t {\bf offset\_\-x} -\begin{DoxyCompactList}\small\item\em horizontal offset of the displayed frame \item\end{DoxyCompactList}\item -ogg\_\-uint32\_\-t {\bf offset\_\-y} -\begin{DoxyCompactList}\small\item\em vertical offset of the displayed frame \item\end{DoxyCompactList}\item -ogg\_\-uint32\_\-t {\bf fps\_\-numerator} -\begin{DoxyCompactList}\small\item\em frame rate numerator \item\end{DoxyCompactList}\item -ogg\_\-uint32\_\-t {\bf fps\_\-denominator} -\begin{DoxyCompactList}\small\item\em frame rate denominator \item\end{DoxyCompactList}\item -ogg\_\-uint32\_\-t {\bf aspect\_\-numerator} -\begin{DoxyCompactList}\small\item\em pixel aspect ratio numerator \item\end{DoxyCompactList}\item -ogg\_\-uint32\_\-t {\bf aspect\_\-denominator} -\begin{DoxyCompactList}\small\item\em pixel aspect ratio denominator \item\end{DoxyCompactList}\item -{\bf theora\_\-colorspace} {\bf colorspace} -\begin{DoxyCompactList}\small\item\em colorspace \item\end{DoxyCompactList}\item -int {\bf target\_\-bitrate} -\begin{DoxyCompactList}\small\item\em nominal bitrate in bits per second \item\end{DoxyCompactList}\item -int {\bf quality} -\begin{DoxyCompactList}\small\item\em Nominal quality setting, 0-\/63. \item\end{DoxyCompactList}\item -int {\bf quick\_\-p} -\begin{DoxyCompactList}\small\item\em Quick encode/decode. \item\end{DoxyCompactList}\item -unsigned char {\bf version\_\-major} -\item -unsigned char {\bf version\_\-minor} -\item -unsigned char {\bf version\_\-subminor} -\item -void $\ast$ {\bf codec\_\-setup} -\item -int {\bf dropframes\_\-p} -\item -int {\bf keyframe\_\-auto\_\-p} -\item -ogg\_\-uint32\_\-t {\bf keyframe\_\-frequency} -\item -ogg\_\-uint32\_\-t {\bf keyframe\_\-frequency\_\-force} -\item -ogg\_\-uint32\_\-t {\bf keyframe\_\-data\_\-target\_\-bitrate} -\item -ogg\_\-int32\_\-t {\bf keyframe\_\-auto\_\-threshold} -\item -ogg\_\-uint32\_\-t {\bf keyframe\_\-mindistance} -\item -ogg\_\-int32\_\-t {\bf noise\_\-sensitivity} -\item -ogg\_\-int32\_\-t {\bf sharpness} -\item -{\bf theora\_\-pixelformat} {\bf pixelformat} -\begin{DoxyCompactList}\small\item\em chroma subsampling mode to expect \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -Theora bitstream info. Contains the basic playback parameters for a stream, corresponding to the initial 'info' header packet. - -Encoded theora frames must be a multiple of 16 in width and height. To handle other frame sizes, a crop rectangle is specified in frame\_\-height and frame\_\-width, offset\_\-x and $\ast$ offset\_\-y. The offset and size should still be a multiple of 2 to avoid chroma sampling shifts. Offset values in this structure are measured from the upper left of the image. - -Frame rate, in frames per second, is stored as a rational fraction. Aspect ratio is also stored as a rational fraction, and refers to the aspect ratio of the frame pixels, not of the overall frame itself. - -See {\tt examples/encoder\_\-example.c} for usage examples of the other paramters and good default settings for the encoder parameters. - -\subsection{Field Documentation} -\index{theora\_\-info@{theora\_\-info}!aspect\_\-denominator@{aspect\_\-denominator}} -\index{aspect\_\-denominator@{aspect\_\-denominator}!theora_info@{theora\_\-info}} -\subsubsection[{aspect\_\-denominator}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf theora\_\-info::aspect\_\-denominator}}\label{structtheora__info_afebc4d0cbfb34b68c833a8c79e83ae12} - - -pixel aspect ratio denominator \index{theora\_\-info@{theora\_\-info}!aspect\_\-numerator@{aspect\_\-numerator}} -\index{aspect\_\-numerator@{aspect\_\-numerator}!theora_info@{theora\_\-info}} -\subsubsection[{aspect\_\-numerator}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf theora\_\-info::aspect\_\-numerator}}\label{structtheora__info_a5a3ed8c79815fba1aa06c3f7d8e48b35} - - -pixel aspect ratio numerator \index{theora\_\-info@{theora\_\-info}!codec\_\-setup@{codec\_\-setup}} -\index{codec\_\-setup@{codec\_\-setup}!theora_info@{theora\_\-info}} -\subsubsection[{codec\_\-setup}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ {\bf theora\_\-info::codec\_\-setup}}\label{structtheora__info_a719a1d77a4a3bfeab79aa5747dbbb04c} -\index{theora\_\-info@{theora\_\-info}!colorspace@{colorspace}} -\index{colorspace@{colorspace}!theora_info@{theora\_\-info}} -\subsubsection[{colorspace}]{\setlength{\rightskip}{0pt plus 5cm}{\bf theora\_\-colorspace} {\bf theora\_\-info::colorspace}}\label{structtheora__info_a5eaba99c96706d47b426ab7b7602dc5d} - - -colorspace \index{theora\_\-info@{theora\_\-info}!dropframes\_\-p@{dropframes\_\-p}} -\index{dropframes\_\-p@{dropframes\_\-p}!theora_info@{theora\_\-info}} -\subsubsection[{dropframes\_\-p}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf theora\_\-info::dropframes\_\-p}}\label{structtheora__info_af294db65a8363a0bcf43f4727763b291} -\index{theora\_\-info@{theora\_\-info}!fps\_\-denominator@{fps\_\-denominator}} -\index{fps\_\-denominator@{fps\_\-denominator}!theora_info@{theora\_\-info}} -\subsubsection[{fps\_\-denominator}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf theora\_\-info::fps\_\-denominator}}\label{structtheora__info_a9aa7e826e0323a4ae8cd8646a6cfbfea} - - -frame rate denominator \index{theora\_\-info@{theora\_\-info}!fps\_\-numerator@{fps\_\-numerator}} -\index{fps\_\-numerator@{fps\_\-numerator}!theora_info@{theora\_\-info}} -\subsubsection[{fps\_\-numerator}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf theora\_\-info::fps\_\-numerator}}\label{structtheora__info_a3478199aa5ab213816c1819f70085ad7} - - -frame rate numerator \index{theora\_\-info@{theora\_\-info}!frame\_\-height@{frame\_\-height}} -\index{frame\_\-height@{frame\_\-height}!theora_info@{theora\_\-info}} -\subsubsection[{frame\_\-height}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf theora\_\-info::frame\_\-height}}\label{structtheora__info_a287e4c194f1d2e6deb39d59f1748ea48} - - -display frame height \index{theora\_\-info@{theora\_\-info}!frame\_\-width@{frame\_\-width}} -\index{frame\_\-width@{frame\_\-width}!theora_info@{theora\_\-info}} -\subsubsection[{frame\_\-width}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf theora\_\-info::frame\_\-width}}\label{structtheora__info_a8f28f4018a25634d40e4ae861fbbccfa} - - -display frame width \index{theora\_\-info@{theora\_\-info}!height@{height}} -\index{height@{height}!theora_info@{theora\_\-info}} -\subsubsection[{height}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf theora\_\-info::height}}\label{structtheora__info_ae6f0274fc4a7f285c422d91abb35f9c6} - - -encoded frame height \index{theora\_\-info@{theora\_\-info}!keyframe\_\-auto\_\-p@{keyframe\_\-auto\_\-p}} -\index{keyframe\_\-auto\_\-p@{keyframe\_\-auto\_\-p}!theora_info@{theora\_\-info}} -\subsubsection[{keyframe\_\-auto\_\-p}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf theora\_\-info::keyframe\_\-auto\_\-p}}\label{structtheora__info_a23648173369174f687085c0ce85ef30e} -\index{theora\_\-info@{theora\_\-info}!keyframe\_\-auto\_\-threshold@{keyframe\_\-auto\_\-threshold}} -\index{keyframe\_\-auto\_\-threshold@{keyframe\_\-auto\_\-threshold}!theora_info@{theora\_\-info}} -\subsubsection[{keyframe\_\-auto\_\-threshold}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-int32\_\-t {\bf theora\_\-info::keyframe\_\-auto\_\-threshold}}\label{structtheora__info_a95cb8958e29ad3d24047ee8f9e7fd99b} -\index{theora\_\-info@{theora\_\-info}!keyframe\_\-data\_\-target\_\-bitrate@{keyframe\_\-data\_\-target\_\-bitrate}} -\index{keyframe\_\-data\_\-target\_\-bitrate@{keyframe\_\-data\_\-target\_\-bitrate}!theora_info@{theora\_\-info}} -\subsubsection[{keyframe\_\-data\_\-target\_\-bitrate}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf theora\_\-info::keyframe\_\-data\_\-target\_\-bitrate}}\label{structtheora__info_a588942d1ee90a26a7effdf6a0e98b9ce} -\index{theora\_\-info@{theora\_\-info}!keyframe\_\-frequency@{keyframe\_\-frequency}} -\index{keyframe\_\-frequency@{keyframe\_\-frequency}!theora_info@{theora\_\-info}} -\subsubsection[{keyframe\_\-frequency}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf theora\_\-info::keyframe\_\-frequency}}\label{structtheora__info_a03e1b3e337af5f9dabaaaeb9050f145a} -\index{theora\_\-info@{theora\_\-info}!keyframe\_\-frequency\_\-force@{keyframe\_\-frequency\_\-force}} -\index{keyframe\_\-frequency\_\-force@{keyframe\_\-frequency\_\-force}!theora_info@{theora\_\-info}} -\subsubsection[{keyframe\_\-frequency\_\-force}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf theora\_\-info::keyframe\_\-frequency\_\-force}}\label{structtheora__info_ad9d2e22c44a53473010e6d1042dfe0d8} -\index{theora\_\-info@{theora\_\-info}!keyframe\_\-mindistance@{keyframe\_\-mindistance}} -\index{keyframe\_\-mindistance@{keyframe\_\-mindistance}!theora_info@{theora\_\-info}} -\subsubsection[{keyframe\_\-mindistance}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf theora\_\-info::keyframe\_\-mindistance}}\label{structtheora__info_aa79ca8c0e77a884d4487fd627fae32e9} -\index{theora\_\-info@{theora\_\-info}!noise\_\-sensitivity@{noise\_\-sensitivity}} -\index{noise\_\-sensitivity@{noise\_\-sensitivity}!theora_info@{theora\_\-info}} -\subsubsection[{noise\_\-sensitivity}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-int32\_\-t {\bf theora\_\-info::noise\_\-sensitivity}}\label{structtheora__info_ac4789034f547b57d1075e035050eeed9} -\index{theora\_\-info@{theora\_\-info}!offset\_\-x@{offset\_\-x}} -\index{offset\_\-x@{offset\_\-x}!theora_info@{theora\_\-info}} -\subsubsection[{offset\_\-x}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf theora\_\-info::offset\_\-x}}\label{structtheora__info_af5949a02bef29512f2705e6f6c944e3b} - - -horizontal offset of the displayed frame \index{theora\_\-info@{theora\_\-info}!offset\_\-y@{offset\_\-y}} -\index{offset\_\-y@{offset\_\-y}!theora_info@{theora\_\-info}} -\subsubsection[{offset\_\-y}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf theora\_\-info::offset\_\-y}}\label{structtheora__info_a91c3922097ba32a85acd584a01dc2c93} - - -vertical offset of the displayed frame \index{theora\_\-info@{theora\_\-info}!pixelformat@{pixelformat}} -\index{pixelformat@{pixelformat}!theora_info@{theora\_\-info}} -\subsubsection[{pixelformat}]{\setlength{\rightskip}{0pt plus 5cm}{\bf theora\_\-pixelformat} {\bf theora\_\-info::pixelformat}}\label{structtheora__info_a65ab4376ab5242ee82e06c78fb7008ab} - - -chroma subsampling mode to expect \index{theora\_\-info@{theora\_\-info}!quality@{quality}} -\index{quality@{quality}!theora_info@{theora\_\-info}} -\subsubsection[{quality}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf theora\_\-info::quality}}\label{structtheora__info_a71a4748a5f31bd58d0e403b7806c980d} - - -Nominal quality setting, 0-\/63. \index{theora\_\-info@{theora\_\-info}!quick\_\-p@{quick\_\-p}} -\index{quick\_\-p@{quick\_\-p}!theora_info@{theora\_\-info}} -\subsubsection[{quick\_\-p}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf theora\_\-info::quick\_\-p}}\label{structtheora__info_a2dfae4fd175dbd19254eaf0697778ff5} - - -Quick encode/decode. \index{theora\_\-info@{theora\_\-info}!sharpness@{sharpness}} -\index{sharpness@{sharpness}!theora_info@{theora\_\-info}} -\subsubsection[{sharpness}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-int32\_\-t {\bf theora\_\-info::sharpness}}\label{structtheora__info_a3fb695de2b2f56dd0203b9e2eb0df1cc} -\index{theora\_\-info@{theora\_\-info}!target\_\-bitrate@{target\_\-bitrate}} -\index{target\_\-bitrate@{target\_\-bitrate}!theora_info@{theora\_\-info}} -\subsubsection[{target\_\-bitrate}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf theora\_\-info::target\_\-bitrate}}\label{structtheora__info_a0cfba041767ae2416dd190a406afe713} - - -nominal bitrate in bits per second \index{theora\_\-info@{theora\_\-info}!version\_\-major@{version\_\-major}} -\index{version\_\-major@{version\_\-major}!theora_info@{theora\_\-info}} -\subsubsection[{version\_\-major}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf theora\_\-info::version\_\-major}}\label{structtheora__info_a7c5ebb9e6700aaef87f29f7c6074e474} -\index{theora\_\-info@{theora\_\-info}!version\_\-minor@{version\_\-minor}} -\index{version\_\-minor@{version\_\-minor}!theora_info@{theora\_\-info}} -\subsubsection[{version\_\-minor}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf theora\_\-info::version\_\-minor}}\label{structtheora__info_a75eda4f30270d833c7b9dba43932a06a} -\index{theora\_\-info@{theora\_\-info}!version\_\-subminor@{version\_\-subminor}} -\index{version\_\-subminor@{version\_\-subminor}!theora_info@{theora\_\-info}} -\subsubsection[{version\_\-subminor}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf theora\_\-info::version\_\-subminor}}\label{structtheora__info_aa07967ecd6e20bd2928ead42b6397b3d} -\index{theora\_\-info@{theora\_\-info}!width@{width}} -\index{width@{width}!theora_info@{theora\_\-info}} -\subsubsection[{width}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-uint32\_\-t {\bf theora\_\-info::width}}\label{structtheora__info_a17c2fc651bb3329f1ea6b13ff1d3957b} - - -encoded frame width - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -{\bf theora.h}\end{DoxyCompactItemize} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structtheora__state.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/structtheora__state.tex deleted file mode 100644 index ef57a04d..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structtheora__state.tex +++ /dev/null @@ -1,41 +0,0 @@ -\section{theora\_\-state Struct Reference} -\label{structtheora__state}\index{theora\_\-state@{theora\_\-state}} - - -Codec internal state and context. - - -{\ttfamily \#include $<$theora.h$>$}\subsection*{Data Fields} -\begin{DoxyCompactItemize} -\item -{\bf theora\_\-info} $\ast$ {\bf i} -\item -ogg\_\-int64\_\-t {\bf granulepos} -\item -void $\ast$ {\bf internal\_\-encode} -\item -void $\ast$ {\bf internal\_\-decode} -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -Codec internal state and context. - -\subsection{Field Documentation} -\index{theora\_\-state@{theora\_\-state}!granulepos@{granulepos}} -\index{granulepos@{granulepos}!theora_state@{theora\_\-state}} -\subsubsection[{granulepos}]{\setlength{\rightskip}{0pt plus 5cm}ogg\_\-int64\_\-t {\bf theora\_\-state::granulepos}}\label{structtheora__state_a5dd344a3f79ea7501b18c756772fab7b} -\index{theora\_\-state@{theora\_\-state}!i@{i}} -\index{i@{i}!theora_state@{theora\_\-state}} -\subsubsection[{i}]{\setlength{\rightskip}{0pt plus 5cm}{\bf theora\_\-info}$\ast$ {\bf theora\_\-state::i}}\label{structtheora__state_a0efc7ac581ef260b0ca17f518ace0731} -\index{theora\_\-state@{theora\_\-state}!internal\_\-decode@{internal\_\-decode}} -\index{internal\_\-decode@{internal\_\-decode}!theora_state@{theora\_\-state}} -\subsubsection[{internal\_\-decode}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ {\bf theora\_\-state::internal\_\-decode}}\label{structtheora__state_ad20c4eebbc5ed9764cf03ba8b90e796e} -\index{theora\_\-state@{theora\_\-state}!internal\_\-encode@{internal\_\-encode}} -\index{internal\_\-encode@{internal\_\-encode}!theora_state@{theora\_\-state}} -\subsubsection[{internal\_\-encode}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ {\bf theora\_\-state::internal\_\-encode}}\label{structtheora__state_a1fbfd82fb7210cbcc4233cb680ec2af6} - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -{\bf theora.h}\end{DoxyCompactItemize} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structyuv__buffer.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/structyuv__buffer.tex deleted file mode 100644 index 08d9d28d..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/structyuv__buffer.tex +++ /dev/null @@ -1,90 +0,0 @@ -\section{yuv\_\-buffer Struct Reference} -\label{structyuv__buffer}\index{yuv\_\-buffer@{yuv\_\-buffer}} - - -A YUV buffer for passing uncompressed frames to and from the codec. - - -{\ttfamily \#include $<$theora.h$>$}\subsection*{Data Fields} -\begin{DoxyCompactItemize} -\item -int {\bf y\_\-width} -\begin{DoxyCompactList}\small\item\em Width of the Y' luminance plane. \item\end{DoxyCompactList}\item -int {\bf y\_\-height} -\begin{DoxyCompactList}\small\item\em Height of the luminance plane. \item\end{DoxyCompactList}\item -int {\bf y\_\-stride} -\begin{DoxyCompactList}\small\item\em Offset in bytes between successive rows. \item\end{DoxyCompactList}\item -int {\bf uv\_\-width} -\begin{DoxyCompactList}\small\item\em Width of the Cb and Cr chroma planes. \item\end{DoxyCompactList}\item -int {\bf uv\_\-height} -\begin{DoxyCompactList}\small\item\em Height of the chroma planes. \item\end{DoxyCompactList}\item -int {\bf uv\_\-stride} -\begin{DoxyCompactList}\small\item\em Offset between successive chroma rows. \item\end{DoxyCompactList}\item -unsigned char $\ast$ {\bf y} -\begin{DoxyCompactList}\small\item\em Pointer to start of luminance data. \item\end{DoxyCompactList}\item -unsigned char $\ast$ {\bf u} -\begin{DoxyCompactList}\small\item\em Pointer to start of Cb data. \item\end{DoxyCompactList}\item -unsigned char $\ast$ {\bf v} -\begin{DoxyCompactList}\small\item\em Pointer to start of Cr data. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -A YUV buffer for passing uncompressed frames to and from the codec. This holds a Y'CbCr frame in planar format. The CbCr planes can be subsampled and have their own separate dimensions and row stride offsets. Note that the strides may be negative in some configurations. For theora the width and height of the largest plane must be a multiple of 16. The actual meaningful picture size and offset are stored in the \doxyref{theora\_\-info}{p.}{structtheora__info} structure; frames returned by the decoder may need to be cropped for display. - -All samples are 8 bits. Within each plane samples are ordered by row from the top of the frame to the bottom. Within each row samples are ordered from left to right. - -During decode, the \doxyref{yuv\_\-buffer}{p.}{structyuv__buffer} struct is allocated by the user, but all fields (including luma and chroma pointers) are filled by the library. These pointers address library-\/internal memory and their contents should not be modified. - -Conversely, during encode the user allocates the struct and fills out all fields. The user also manages the data addressed by the luma and chroma pointers. See the encoder\_\-example.c and dump\_\-video.c example files in theora/examples/ for more information. - -\subsection{Field Documentation} -\index{yuv\_\-buffer@{yuv\_\-buffer}!u@{u}} -\index{u@{u}!yuv_buffer@{yuv\_\-buffer}} -\subsubsection[{u}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char$\ast$ {\bf yuv\_\-buffer::u}}\label{structyuv__buffer_a8b1857afe3ffac28f259499a57a559e1} - - -Pointer to start of Cb data. \index{yuv\_\-buffer@{yuv\_\-buffer}!uv\_\-height@{uv\_\-height}} -\index{uv\_\-height@{uv\_\-height}!yuv_buffer@{yuv\_\-buffer}} -\subsubsection[{uv\_\-height}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf yuv\_\-buffer::uv\_\-height}}\label{structyuv__buffer_a640f1a0b456d3807f9f0538b22f10097} - - -Height of the chroma planes. \index{yuv\_\-buffer@{yuv\_\-buffer}!uv\_\-stride@{uv\_\-stride}} -\index{uv\_\-stride@{uv\_\-stride}!yuv_buffer@{yuv\_\-buffer}} -\subsubsection[{uv\_\-stride}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf yuv\_\-buffer::uv\_\-stride}}\label{structyuv__buffer_ab265cc24ffb5650bf52daf223b0debb9} - - -Offset between successive chroma rows. \index{yuv\_\-buffer@{yuv\_\-buffer}!uv\_\-width@{uv\_\-width}} -\index{uv\_\-width@{uv\_\-width}!yuv_buffer@{yuv\_\-buffer}} -\subsubsection[{uv\_\-width}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf yuv\_\-buffer::uv\_\-width}}\label{structyuv__buffer_a8c59a57c35af0be519ee47f15e49fe2b} - - -Width of the Cb and Cr chroma planes. \index{yuv\_\-buffer@{yuv\_\-buffer}!v@{v}} -\index{v@{v}!yuv_buffer@{yuv\_\-buffer}} -\subsubsection[{v}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char$\ast$ {\bf yuv\_\-buffer::v}}\label{structyuv__buffer_aa429491dd112adb0254672c59ef55075} - - -Pointer to start of Cr data. \index{yuv\_\-buffer@{yuv\_\-buffer}!y@{y}} -\index{y@{y}!yuv_buffer@{yuv\_\-buffer}} -\subsubsection[{y}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char$\ast$ {\bf yuv\_\-buffer::y}}\label{structyuv__buffer_a725727c70eeced6b8c90866973399ac1} - - -Pointer to start of luminance data. \index{yuv\_\-buffer@{yuv\_\-buffer}!y\_\-height@{y\_\-height}} -\index{y\_\-height@{y\_\-height}!yuv_buffer@{yuv\_\-buffer}} -\subsubsection[{y\_\-height}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf yuv\_\-buffer::y\_\-height}}\label{structyuv__buffer_a5a8b60e012247e2caffcbbaca99414e0} - - -Height of the luminance plane. \index{yuv\_\-buffer@{yuv\_\-buffer}!y\_\-stride@{y\_\-stride}} -\index{y\_\-stride@{y\_\-stride}!yuv_buffer@{yuv\_\-buffer}} -\subsubsection[{y\_\-stride}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf yuv\_\-buffer::y\_\-stride}}\label{structyuv__buffer_a9cdf61834c11b2351640a4a243ad0549} - - -Offset in bytes between successive rows. \index{yuv\_\-buffer@{yuv\_\-buffer}!y\_\-width@{y\_\-width}} -\index{y\_\-width@{y\_\-width}!yuv_buffer@{yuv\_\-buffer}} -\subsubsection[{y\_\-width}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf yuv\_\-buffer::y\_\-width}}\label{structyuv__buffer_aaa6c06c071da933231647238418d5fc0} - - -Width of the Y' luminance plane. - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -{\bf theora.h}\end{DoxyCompactItemize} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/theora_8h.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/theora_8h.tex deleted file mode 100644 index 3bb3b172..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/theora_8h.tex +++ /dev/null @@ -1,185 +0,0 @@ -\section{theora.h File Reference} -\label{theora_8h}\index{theora.h@{theora.h}} - - -The libtheora pre-\/1.0 legacy C API. -{\ttfamily \#include $<$stddef.h$>$}\par -{\ttfamily \#include $<$ogg/ogg.h$>$}\par -\subsection*{Data Structures} -\begin{DoxyCompactItemize} -\item -struct {\bf yuv\_\-buffer} -\begin{DoxyCompactList}\small\item\em A YUV buffer for passing uncompressed frames to and from the codec. \item\end{DoxyCompactList}\item -struct {\bf theora\_\-info} -\begin{DoxyCompactList}\small\item\em Theora bitstream info. \item\end{DoxyCompactList}\item -struct {\bf theora\_\-state} -\begin{DoxyCompactList}\small\item\em Codec internal state and context. \item\end{DoxyCompactList}\item -struct {\bf theora\_\-comment} -\begin{DoxyCompactList}\small\item\em Comment header metadata. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Defines} -\begin{DoxyCompactItemize} -\item -\#define {\bf OC\_\-FAULT}~-\/1 -\begin{DoxyCompactList}\small\item\em General failure. \item\end{DoxyCompactList}\item -\#define {\bf OC\_\-EINVAL}~-\/10 -\begin{DoxyCompactList}\small\item\em Library encountered invalid internal data. \item\end{DoxyCompactList}\item -\#define {\bf OC\_\-DISABLED}~-\/11 -\begin{DoxyCompactList}\small\item\em Requested action is disabled. \item\end{DoxyCompactList}\item -\#define {\bf OC\_\-BADHEADER}~-\/20 -\begin{DoxyCompactList}\small\item\em Header packet was corrupt/invalid. \item\end{DoxyCompactList}\item -\#define {\bf OC\_\-NOTFORMAT}~-\/21 -\begin{DoxyCompactList}\small\item\em Packet is not a theora packet. \item\end{DoxyCompactList}\item -\#define {\bf OC\_\-VERSION}~-\/22 -\begin{DoxyCompactList}\small\item\em Bitstream version is not handled. \item\end{DoxyCompactList}\item -\#define {\bf OC\_\-IMPL}~-\/23 -\begin{DoxyCompactList}\small\item\em Feature or action not implemented. \item\end{DoxyCompactList}\item -\#define {\bf OC\_\-BADPACKET}~-\/24 -\begin{DoxyCompactList}\small\item\em Packet is corrupt. \item\end{DoxyCompactList}\item -\#define {\bf OC\_\-NEWPACKET}~-\/25 -\begin{DoxyCompactList}\small\item\em Packet is an (ignorable) unhandled extension. \item\end{DoxyCompactList}\item -\#define {\bf OC\_\-DUPFRAME}~1 -\begin{DoxyCompactList}\small\item\em Packet is a dropped frame. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\begin{Indent}{\bf theora\_\-control() codes}\par -{\em \label{_amgrp13fd61986cff4566fe89a40e30b74ad9} - }\begin{DoxyCompactItemize} -\item -\#define {\bf TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX}~(1) -\begin{DoxyCompactList}\small\item\em Get the maximum post-\/processing level. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-DECCTL\_\-SET\_\-PPLEVEL}~(3) -\begin{DoxyCompactList}\small\item\em Set the post-\/processing level. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE}~(4) -\begin{DoxyCompactList}\small\item\em Sets the maximum distance between key frames. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-DECCTL\_\-SET\_\-GRANPOS}~(5) -\begin{DoxyCompactList}\small\item\em Set the granule position. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS}~(2) -\begin{DoxyCompactList}\small\item\em Sets the quantization parameters to use. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE}~(10) -\begin{DoxyCompactList}\small\item\em Disables any encoder features that would prevent lossless transcoding back to VP3. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX}~(12) -\begin{DoxyCompactList}\small\item\em Gets the maximum speed level. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-SET\_\-SPLEVEL}~(14) -\begin{DoxyCompactList}\small\item\em Sets the speed level. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\end{Indent} -\subsection*{Enumerations} -\begin{DoxyCompactItemize} -\item -enum {\bf theora\_\-colorspace} \{ {\bf OC\_\-CS\_\-UNSPECIFIED}, -{\bf OC\_\-CS\_\-ITU\_\-REC\_\-470M}, -{\bf OC\_\-CS\_\-ITU\_\-REC\_\-470BG}, -{\bf OC\_\-CS\_\-NSPACES} - \} -\begin{DoxyCompactList}\small\item\em A Colorspace. \item\end{DoxyCompactList}\item -enum {\bf theora\_\-pixelformat} \{ {\bf OC\_\-PF\_\-420}, -{\bf OC\_\-PF\_\-RSVD}, -{\bf OC\_\-PF\_\-422}, -{\bf OC\_\-PF\_\-444} - \} -\begin{DoxyCompactList}\small\item\em A Chroma subsampling. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -const char $\ast$ {\bf theora\_\-version\_\-string} (void) -\begin{DoxyCompactList}\small\item\em Retrieve a human-\/readable string to identify the encoder vendor and version. \item\end{DoxyCompactList}\item -ogg\_\-uint32\_\-t {\bf theora\_\-version\_\-number} (void) -\begin{DoxyCompactList}\small\item\em Retrieve a 32-\/bit version number. \item\end{DoxyCompactList}\item -int {\bf theora\_\-encode\_\-init} ({\bf theora\_\-state} $\ast$th, {\bf theora\_\-info} $\ast$ti) -\begin{DoxyCompactList}\small\item\em Initialize the theora encoder. \item\end{DoxyCompactList}\item -int {\bf theora\_\-encode\_\-YUVin} ({\bf theora\_\-state} $\ast$t, {\bf yuv\_\-buffer} $\ast$yuv) -\begin{DoxyCompactList}\small\item\em Submit a YUV buffer to the theora encoder. \item\end{DoxyCompactList}\item -int {\bf theora\_\-encode\_\-packetout} ({\bf theora\_\-state} $\ast$t, int last\_\-p, ogg\_\-packet $\ast$op) -\begin{DoxyCompactList}\small\item\em Request the next packet of encoded video. \item\end{DoxyCompactList}\item -int {\bf theora\_\-encode\_\-header} ({\bf theora\_\-state} $\ast$t, ogg\_\-packet $\ast$op) -\begin{DoxyCompactList}\small\item\em Request a packet containing the initial header. \item\end{DoxyCompactList}\item -int {\bf theora\_\-encode\_\-comment} ({\bf theora\_\-comment} $\ast$tc, ogg\_\-packet $\ast$op) -\begin{DoxyCompactList}\small\item\em Request a comment header packet from provided metadata. \item\end{DoxyCompactList}\item -int {\bf theora\_\-encode\_\-tables} ({\bf theora\_\-state} $\ast$t, ogg\_\-packet $\ast$op) -\begin{DoxyCompactList}\small\item\em Request a packet containing the codebook tables for the stream. \item\end{DoxyCompactList}\item -int {\bf theora\_\-decode\_\-header} ({\bf theora\_\-info} $\ast$ci, {\bf theora\_\-comment} $\ast$cc, ogg\_\-packet $\ast$op) -\begin{DoxyCompactList}\small\item\em Decode an Ogg packet, with the expectation that the packet contains an initial header, comment data or codebook tables. \item\end{DoxyCompactList}\item -int {\bf theora\_\-decode\_\-init} ({\bf theora\_\-state} $\ast$th, {\bf theora\_\-info} $\ast$c) -\begin{DoxyCompactList}\small\item\em Initialize a \doxyref{theora\_\-state}{p.}{structtheora__state} handle for decoding. \item\end{DoxyCompactList}\item -int {\bf theora\_\-decode\_\-packetin} ({\bf theora\_\-state} $\ast$th, ogg\_\-packet $\ast$op) -\begin{DoxyCompactList}\small\item\em Input a packet containing encoded data into the theora decoder. \item\end{DoxyCompactList}\item -int {\bf theora\_\-decode\_\-YUVout} ({\bf theora\_\-state} $\ast$th, {\bf yuv\_\-buffer} $\ast$yuv) -\begin{DoxyCompactList}\small\item\em Output the next available frame of decoded YUV data. \item\end{DoxyCompactList}\item -int {\bf theora\_\-packet\_\-isheader} (ogg\_\-packet $\ast$op) -\begin{DoxyCompactList}\small\item\em Report whether a theora packet is a header or not This function does no verification beyond checking the header flag bit so it should not be used for bitstream identification; use \doxyref{theora\_\-decode\_\-header()}{p.}{group__oldfuncs_ga02915e63c1bd733ee291f577a8b75a82} for that. \item\end{DoxyCompactList}\item -int {\bf theora\_\-packet\_\-iskeyframe} (ogg\_\-packet $\ast$op) -\begin{DoxyCompactList}\small\item\em Report whether a theora packet is a keyframe or not. \item\end{DoxyCompactList}\item -int {\bf theora\_\-granule\_\-shift} ({\bf theora\_\-info} $\ast$ti) -\begin{DoxyCompactList}\small\item\em Report the granulepos shift radix. \item\end{DoxyCompactList}\item -ogg\_\-int64\_\-t {\bf theora\_\-granule\_\-frame} ({\bf theora\_\-state} $\ast$th, ogg\_\-int64\_\-t granulepos) -\begin{DoxyCompactList}\small\item\em Convert a granulepos to an absolute frame index, starting at 0. \item\end{DoxyCompactList}\item -double {\bf theora\_\-granule\_\-time} ({\bf theora\_\-state} $\ast$th, ogg\_\-int64\_\-t granulepos) -\begin{DoxyCompactList}\small\item\em Convert a granulepos to absolute time in seconds. \item\end{DoxyCompactList}\item -void {\bf theora\_\-info\_\-init} ({\bf theora\_\-info} $\ast$c) -\begin{DoxyCompactList}\small\item\em Initialize a \doxyref{theora\_\-info}{p.}{structtheora__info} structure. \item\end{DoxyCompactList}\item -void {\bf theora\_\-info\_\-clear} ({\bf theora\_\-info} $\ast$c) -\begin{DoxyCompactList}\small\item\em Clear a \doxyref{theora\_\-info}{p.}{structtheora__info} structure. \item\end{DoxyCompactList}\item -void {\bf theora\_\-clear} ({\bf theora\_\-state} $\ast$t) -\begin{DoxyCompactList}\small\item\em Free all internal data associated with a \doxyref{theora\_\-state}{p.}{structtheora__state} handle. \item\end{DoxyCompactList}\item -void {\bf theora\_\-comment\_\-init} ({\bf theora\_\-comment} $\ast$tc) -\begin{DoxyCompactList}\small\item\em Initialize an allocated \doxyref{theora\_\-comment}{p.}{structtheora__comment} structure. \item\end{DoxyCompactList}\item -void {\bf theora\_\-comment\_\-add} ({\bf theora\_\-comment} $\ast$tc, char $\ast$comment) -\begin{DoxyCompactList}\small\item\em Add a comment to an initialized \doxyref{theora\_\-comment}{p.}{structtheora__comment} structure. \item\end{DoxyCompactList}\item -void {\bf theora\_\-comment\_\-add\_\-tag} ({\bf theora\_\-comment} $\ast$tc, char $\ast$tag, char $\ast$value) -\begin{DoxyCompactList}\small\item\em Add a comment to an initialized \doxyref{theora\_\-comment}{p.}{structtheora__comment} structure. \item\end{DoxyCompactList}\item -char $\ast$ {\bf theora\_\-comment\_\-query} ({\bf theora\_\-comment} $\ast$tc, char $\ast$tag, int count) -\begin{DoxyCompactList}\small\item\em Look up a comment value by tag. \item\end{DoxyCompactList}\item -int {\bf theora\_\-comment\_\-query\_\-count} ({\bf theora\_\-comment} $\ast$tc, char $\ast$tag) -\begin{DoxyCompactList}\small\item\em Look up the number of instances of a tag. \item\end{DoxyCompactList}\item -void {\bf theora\_\-comment\_\-clear} ({\bf theora\_\-comment} $\ast$tc) -\begin{DoxyCompactList}\small\item\em Clear an allocated \doxyref{theora\_\-comment}{p.}{structtheora__comment} struct so that it can be freed. \item\end{DoxyCompactList}\item -int {\bf theora\_\-control} ({\bf theora\_\-state} $\ast$th, int req, void $\ast$buf, size\_\-t buf\_\-sz) -\begin{DoxyCompactList}\small\item\em Encoder control function. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -The libtheora pre-\/1.0 legacy C API. \subsection{Introduction}\label{index_intro} -This is the documentation for the libtheora legacy C API, declared in the \doxyref{theora.h}{p.}{theora_8h} header, which describes the old interface used before the 1.0 release. This API was widely deployed for several years and remains supported, but for new code we recommend the cleaner API declared in \doxyref{theoradec.h}{p.}{theoradec_8h} and \doxyref{theoraenc.h}{p.}{theoraenc_8h}. - -libtheora is the reference implementation for {\tt Theora}, a free video codec. Theora is derived from On2's VP3 codec with improved integration with Ogg multimedia formats by {\tt Xiph.Org}.\subsection{Overview}\label{theora_8h_overview} -This library will both decode and encode theora packets to/from raw YUV frames. In either case, the packets will most likely either come from or need to be embedded in an Ogg stream. Use {\tt libogg} or {\tt liboggz} to extract/package these packets.\subsection{Decoding Process}\label{theora_8h_decoding} -Decoding can be separated into the following steps: -\begin{DoxyEnumerate} -\item initialise \doxyref{theora\_\-info}{p.}{structtheora__info} and \doxyref{theora\_\-comment}{p.}{structtheora__comment} structures using \doxyref{theora\_\-info\_\-init()}{p.}{group__oldfuncs_ga3091c87d48f1faba018c5956379a6d90} and \doxyref{theora\_\-comment\_\-init()}{p.}{group__oldfuncs_ga811b92785df3bdbbebb3de612d9d6ce0}: \begin{DoxyVerb} - theora_info info; - theora_comment comment; - - theora_info_init(&info); - theora_comment_init(&comment); - \end{DoxyVerb} - -\item retrieve header packets from Ogg stream (there should be 3) and decode into \doxyref{theora\_\-info}{p.}{structtheora__info} and \doxyref{theora\_\-comment}{p.}{structtheora__comment} structures using \doxyref{theora\_\-decode\_\-header()}{p.}{group__oldfuncs_ga02915e63c1bd733ee291f577a8b75a82}. See \doxyref{Identifying Theora Packets}{p.}{theora_8h_identification} for more information on identifying which packets are theora packets. \begin{DoxyVerb} - int i; - for (i = 0; i < 3; i++) - { - (get a theora packet "op" from the Ogg stream) - theora_decode_header(&info, &comment, op); - } - \end{DoxyVerb} - -\item initialise the decoder based on the information retrieved into the \doxyref{theora\_\-info}{p.}{structtheora__info} struct by \doxyref{theora\_\-decode\_\-header()}{p.}{group__oldfuncs_ga02915e63c1bd733ee291f577a8b75a82}. You will need a \doxyref{theora\_\-state}{p.}{structtheora__state} struct. \begin{DoxyVerb} - theora_state state; - - theora_decode_init(&state, &info); - \end{DoxyVerb} - -\item pass in packets and retrieve decoded frames! See the \doxyref{yuv\_\-buffer}{p.}{structyuv__buffer} documentation for information on how to retrieve raw YUV data. \begin{DoxyVerb} - yuf_buffer buffer; - while (last packet was not e_o_s) { - (get a theora packet "op" from the Ogg stream) - theora_decode_packetin(&state, op); - theora_decode_YUVout(&state, &buffer); - } - \end{DoxyVerb} - -\end{DoxyEnumerate}\subsubsection{Identifying Theora Packets}\label{theora_8h_identification} -All streams inside an Ogg file have a unique serial\_\-no attached to the stream. Typically, you will want to -\begin{DoxyItemize} -\item retrieve the serial\_\-no for each b\_\-o\_\-s (beginning of stream) page encountered within the Ogg file; -\item test the first (only) packet on that page to determine if it is a theora packet; -\item once you have found a theora b\_\-o\_\-s page then use the retrieved serial\_\-no to identify future packets belonging to the same theora stream. -\end{DoxyItemize} - -Note that you {\itshape cannot\/} use \doxyref{theora\_\-packet\_\-isheader()}{p.}{group__oldfuncs_gab969f9d0407683f0e5abe73d0839a25b} to determine if a packet is a theora packet or not, as this function does not perform any checking beyond whether a header bit is present. Instead, use the \doxyref{theora\_\-decode\_\-header()}{p.}{group__oldfuncs_ga02915e63c1bd733ee291f577a8b75a82} function and check the return value; or examine the header bytes at the beginning of the Ogg page. \ No newline at end of file diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/theoradec_8h.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/theoradec_8h.tex deleted file mode 100644 index f19d902a..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/theoradec_8h.tex +++ /dev/null @@ -1,194 +0,0 @@ -\section{theoradec.h File Reference} -\label{theoradec_8h}\index{theoradec.h@{theoradec.h}} - - -The {\ttfamily libtheoradec} C decoding API. -{\ttfamily \#include $<$stddef.h$>$}\par -{\ttfamily \#include $<$ogg/ogg.h$>$}\par -{\ttfamily \#include \char`\"{}codec.h\char`\"{}}\par -\subsection*{Data Structures} -\begin{DoxyCompactItemize} -\item -struct {\bf th\_\-stripe\_\-callback} -\begin{DoxyCompactList}\small\item\em The striped decode callback data to pass to \doxyref{TH\_\-DECCTL\_\-SET\_\-STRIPE\_\-CB}{p.}{theoradec_8h_ac95cc9e109474b0fa4bb920ab2cfdf1e}. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Defines} -\begin{DoxyCompactItemize} -\item -\#define {\bf \_\-O\_\-THEORA\_\-THEORADEC\_\-H\_\-}~(1) -\end{DoxyCompactItemize} -\begin{Indent}{\bf th\_\-decode\_\-ctl() codes}\par -{\em \label{_amgrp638dfd34390d0a936dbf76caf938d78d} -\label{theoradec_8h_decctlcodes} - These are the available request codes for \doxyref{th\_\-decode\_\-ctl()}{p.}{group__decfuncs_ga1a8051958d75b1012573b6e3c8f670e1}. By convention, these are odd, to distinguish them from the \doxyref{encoder control codes}{p.}{theoraenc_8h_encctlcodes}. Keep any experimental or vendor-\/specific values above {\ttfamily 0x8000}. }\begin{DoxyCompactItemize} -\item -\#define {\bf TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX}~(1) -\begin{DoxyCompactList}\small\item\em Gets the maximum post-\/processing level. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-DECCTL\_\-SET\_\-PPLEVEL}~(3) -\begin{DoxyCompactList}\small\item\em Sets the post-\/processing level. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-DECCTL\_\-SET\_\-GRANPOS}~(5) -\begin{DoxyCompactList}\small\item\em Sets the granule position. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-DECCTL\_\-SET\_\-STRIPE\_\-CB}~(7) -\begin{DoxyCompactList}\small\item\em Sets the striped decode callback function. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MBMODE}~(9) -\begin{DoxyCompactList}\small\item\em Enables telemetry and sets the macroblock display mode. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MV}~(11) -\begin{DoxyCompactList}\small\item\em Enables telemetry and sets the motion vector display mode. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-QI}~(13) -\begin{DoxyCompactList}\small\item\em Enables telemetry and sets the adaptive quantization display mode. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-BITS}~(15) -\begin{DoxyCompactList}\small\item\em Enables telemetry and sets the bitstream breakdown visualization mode. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\end{Indent} -\subsection*{Typedefs} -\begin{DoxyCompactItemize} -\item -typedef void($\ast$ {\bf th\_\-stripe\_\-decoded\_\-func} )(void $\ast$\_\-ctx, {\bf th\_\-ycbcr\_\-buffer} \_\-buf, int \_\-yfrag0, int \_\-yfrag\_\-end) -\begin{DoxyCompactList}\small\item\em A callback function for striped decode. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\begin{Indent}{\bf Decoder state}\par -{\em \label{_amgrp20ad7456b6a1ebc1cb57f3e51d4d7bc3} -The following data structures are opaque, and their contents are not publicly defined by this API. - -Referring to their internals directly is unsupported, and may break without warning. }\begin{DoxyCompactItemize} -\item -typedef struct {\bf th\_\-dec\_\-ctx} {\bf th\_\-dec\_\-ctx} -\begin{DoxyCompactList}\small\item\em The decoder context. \item\end{DoxyCompactList}\item -typedef struct {\bf th\_\-setup\_\-info} {\bf th\_\-setup\_\-info} -\begin{DoxyCompactList}\small\item\em Setup information. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\end{Indent} -\subsection*{Functions} -\begin{Indent}{\bf Functions for decoding}\par -{\em \label{_amgrp9d29c94aa62f20426aa5ff062c7daedd} -You must link to {\ttfamily libtheoradec} if you use any of the functions in this section. - -The functions are listed in the order they are used in a typical decode. The basic steps are: -\begin{DoxyItemize} -\item Parse the header packets by repeatedly calling \doxyref{th\_\-decode\_\-headerin()}{p.}{group__decfuncs_ga006d01d36fbe64768c571e6a12b7fc50}. -\item Allocate a \doxyref{th\_\-dec\_\-ctx}{p.}{theoradec_8h_a843d70bb02563885a8d54b9c1a781729} handle with \doxyref{th\_\-decode\_\-alloc()}{p.}{group__decfuncs_ga0ef07a9a97849054aa606c595a2d807e}. -\item Call \doxyref{th\_\-setup\_\-free()}{p.}{group__decfuncs_gadef55431b68aaa59d0d7b32b2f118f27} to free any memory used for codec setup information. -\item Perform any additional decoder configuration with \doxyref{th\_\-decode\_\-ctl()}{p.}{group__decfuncs_ga1a8051958d75b1012573b6e3c8f670e1}. -\item For each video data packet: -\begin{DoxyItemize} -\item Submit the packet to the decoder via \doxyref{th\_\-decode\_\-packetin()}{p.}{group__decfuncs_ga31c814bf09b2232aff69c57ae20f04eb}. -\item Retrieve the uncompressed video data via \doxyref{th\_\-decode\_\-ycbcr\_\-out()}{p.}{group__decfuncs_gaa9cc8af63fa8540e0fc95572f259cdcb}. -\end{DoxyItemize} -\item Call \doxyref{th\_\-decode\_\-free()}{p.}{group__decfuncs_gafb6684ad8ba507b71112bc9de148e7d0} to release all decoder memory. -\end{DoxyItemize}}\begin{DoxyCompactItemize} -\item -int {\bf th\_\-decode\_\-headerin} ({\bf th\_\-info} $\ast$\_\-info, {\bf th\_\-comment} $\ast$\_\-tc, {\bf th\_\-setup\_\-info} $\ast$$\ast$\_\-setup, ogg\_\-packet $\ast$\_\-op) -\begin{DoxyCompactList}\small\item\em Decodes the header packets of a Theora stream. \item\end{DoxyCompactList}\item -{\bf th\_\-dec\_\-ctx} $\ast$ {\bf th\_\-decode\_\-alloc} (const {\bf th\_\-info} $\ast$\_\-info, const {\bf th\_\-setup\_\-info} $\ast$\_\-setup) -\begin{DoxyCompactList}\small\item\em Allocates a decoder instance. \item\end{DoxyCompactList}\item -void {\bf th\_\-setup\_\-free} ({\bf th\_\-setup\_\-info} $\ast$\_\-setup) -\begin{DoxyCompactList}\small\item\em Releases all storage used for the decoder setup information. \item\end{DoxyCompactList}\item -int {\bf th\_\-decode\_\-ctl} ({\bf th\_\-dec\_\-ctx} $\ast$\_\-dec, int \_\-req, void $\ast$\_\-buf, size\_\-t \_\-buf\_\-sz) -\begin{DoxyCompactList}\small\item\em Decoder control function. \item\end{DoxyCompactList}\item -int {\bf th\_\-decode\_\-packetin} ({\bf th\_\-dec\_\-ctx} $\ast$\_\-dec, const ogg\_\-packet $\ast$\_\-op, ogg\_\-int64\_\-t $\ast$\_\-granpos) -\begin{DoxyCompactList}\small\item\em Submits a packet containing encoded video data to the decoder. \item\end{DoxyCompactList}\item -int {\bf th\_\-decode\_\-ycbcr\_\-out} ({\bf th\_\-dec\_\-ctx} $\ast$\_\-dec, {\bf th\_\-ycbcr\_\-buffer} \_\-ycbcr) -\begin{DoxyCompactList}\small\item\em Outputs the next available frame of decoded Y'CbCr data. \item\end{DoxyCompactList}\item -void {\bf th\_\-decode\_\-free} ({\bf th\_\-dec\_\-ctx} $\ast$\_\-dec) -\begin{DoxyCompactList}\small\item\em Frees an allocated decoder instance. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\end{Indent} - - -\subsection{Detailed Description} -The {\ttfamily libtheoradec} C decoding API. - -\subsection{Define Documentation} -\index{theoradec.h@{theoradec.h}!\_\-O\_\-THEORA\_\-THEORADEC\_\-H\_\-@{\_\-O\_\-THEORA\_\-THEORADEC\_\-H\_\-}} -\index{\_\-O\_\-THEORA\_\-THEORADEC\_\-H\_\-@{\_\-O\_\-THEORA\_\-THEORADEC\_\-H\_\-}!theoradec.h@{theoradec.h}} -\subsubsection[{\_\-O\_\-THEORA\_\-THEORADEC\_\-H\_\-}]{\setlength{\rightskip}{0pt plus 5cm}\#define \_\-O\_\-THEORA\_\-THEORADEC\_\-H\_\-~(1)}\label{theoradec_8h_a0d78767a326c34dbf84d5b845cba7b4a} -\index{theoradec.h@{theoradec.h}!TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX@{TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX}} -\index{TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX@{TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX}!theoradec.h@{theoradec.h}} -\subsubsection[{TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX~(1)}\label{theoradec_8h_ab31f251c9319f2140d247585d30b3d07} - - -Gets the maximum post-\/processing level. The decoder supports a post-\/processing filter that can improve the appearance of the decoded images. This returns the highest level setting for this post-\/processor, corresponding to maximum improvement and computational expense. - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\rightarrow$} {\em \_\-buf}]int: The maximum post-\/processing level. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em TH\_\-EFAULT}]{\itshape \_\-dec\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(int)}. \item[{\em TH\_\-EIMPL}]Not supported by this implementation. \end{DoxyRetVals} -\index{theoradec.h@{theoradec.h}!TH\_\-DECCTL\_\-SET\_\-GRANPOS@{TH\_\-DECCTL\_\-SET\_\-GRANPOS}} -\index{TH\_\-DECCTL\_\-SET\_\-GRANPOS@{TH\_\-DECCTL\_\-SET\_\-GRANPOS}!theoradec.h@{theoradec.h}} -\subsubsection[{TH\_\-DECCTL\_\-SET\_\-GRANPOS}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-DECCTL\_\-SET\_\-GRANPOS~(5)}\label{theoradec_8h_a1e870c654d35394f0d490045df04e0f5} - - -Sets the granule position. Call this after a seek, before decoding the first frame, to ensure that the proper granule position is returned for all subsequent frames. If you track timestamps yourself and do not use the granule position returned by the decoder, then you need not call this function. - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily ogg\_\-int64\_\-t}: The granule position of the next frame. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em TH\_\-EFAULT}]{\itshape \_\-dec\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(ogg\_\-int64\_\-t)}, or the granule position is negative. \end{DoxyRetVals} -\index{theoradec.h@{theoradec.h}!TH\_\-DECCTL\_\-SET\_\-PPLEVEL@{TH\_\-DECCTL\_\-SET\_\-PPLEVEL}} -\index{TH\_\-DECCTL\_\-SET\_\-PPLEVEL@{TH\_\-DECCTL\_\-SET\_\-PPLEVEL}!theoradec.h@{theoradec.h}} -\subsubsection[{TH\_\-DECCTL\_\-SET\_\-PPLEVEL}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-DECCTL\_\-SET\_\-PPLEVEL~(3)}\label{theoradec_8h_a87774c35e1a755a84e2d705b38ebef0d} - - -Sets the post-\/processing level. By default, post-\/processing is disabled. - -Sets the level of post-\/processing to use when decoding the compressed stream. This must be a value between zero (off) and the maximum returned by TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX. - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\leftarrow$} {\em \_\-buf}]int: The new post-\/processing level. 0 to disable; larger values use more CPU. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em TH\_\-EFAULT}]{\itshape \_\-dec\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(int)}, or the post-\/processing level is out of bounds. The maximum post-\/processing level may be implementation-\/specific, and can be obtained via \doxyref{TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX}{p.}{theoradec_8h_ab31f251c9319f2140d247585d30b3d07}. \item[{\em TH\_\-EIMPL}]Not supported by this implementation. \end{DoxyRetVals} -\index{theoradec.h@{theoradec.h}!TH\_\-DECCTL\_\-SET\_\-STRIPE\_\-CB@{TH\_\-DECCTL\_\-SET\_\-STRIPE\_\-CB}} -\index{TH\_\-DECCTL\_\-SET\_\-STRIPE\_\-CB@{TH\_\-DECCTL\_\-SET\_\-STRIPE\_\-CB}!theoradec.h@{theoradec.h}} -\subsubsection[{TH\_\-DECCTL\_\-SET\_\-STRIPE\_\-CB}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-DECCTL\_\-SET\_\-STRIPE\_\-CB~(7)}\label{theoradec_8h_ac95cc9e109474b0fa4bb920ab2cfdf1e} - - -Sets the striped decode callback function. If set, this function will be called as each piece of a frame is fully decoded in \doxyref{th\_\-decode\_\-packetin()}{p.}{group__decfuncs_ga31c814bf09b2232aff69c57ae20f04eb}. You can pass in a \doxyref{th\_\-stripe\_\-callback}{p.}{structth__stripe__callback} with \doxyref{th\_\-stripe\_\-callback::stripe\_\-decoded}{p.}{structth__stripe__callback_a977c725680a37e3446e459f063b1f4a5} set to {\ttfamily NULL} to disable the callbacks at any point. Enabling striped decode does not prevent you from calling \doxyref{th\_\-decode\_\-ycbcr\_\-out()}{p.}{group__decfuncs_gaa9cc8af63fa8540e0fc95572f259cdcb} after the frame is fully decoded. - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\leftarrow$} {\em \_\-buf}]\doxyref{th\_\-stripe\_\-callback}{p.}{structth__stripe__callback}: The callback parameters. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em TH\_\-EFAULT}]{\itshape \_\-dec\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(th\_\-stripe\_\-callback)}. \end{DoxyRetVals} -\index{theoradec.h@{theoradec.h}!TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-BITS@{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-BITS}} -\index{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-BITS@{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-BITS}!theoradec.h@{theoradec.h}} -\subsubsection[{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-BITS}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-BITS~(15)}\label{theoradec_8h_a7f43fec07486f8a5f00e92aab7d44a25} - - -Enables telemetry and sets the bitstream breakdown visualization mode. \index{theoradec.h@{theoradec.h}!TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MBMODE@{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MBMODE}} -\index{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MBMODE@{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MBMODE}!theoradec.h@{theoradec.h}} -\subsubsection[{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MBMODE}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MBMODE~(9)}\label{theoradec_8h_a8d5e0b9b4c8898f93f241acbeb7e7ffb} - - -Enables telemetry and sets the macroblock display mode. \index{theoradec.h@{theoradec.h}!TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MV@{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MV}} -\index{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MV@{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MV}!theoradec.h@{theoradec.h}} -\subsubsection[{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MV}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MV~(11)}\label{theoradec_8h_a829285a03d24832c583f33c6357df8aa} - - -Enables telemetry and sets the motion vector display mode. \index{theoradec.h@{theoradec.h}!TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-QI@{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-QI}} -\index{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-QI@{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-QI}!theoradec.h@{theoradec.h}} -\subsubsection[{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-QI}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-QI~(13)}\label{theoradec_8h_ae3e2f7674ad92fe67b63915d48c9df5b} - - -Enables telemetry and sets the adaptive quantization display mode. - -\subsection{Typedef Documentation} -\index{theoradec.h@{theoradec.h}!th\_\-dec\_\-ctx@{th\_\-dec\_\-ctx}} -\index{th\_\-dec\_\-ctx@{th\_\-dec\_\-ctx}!theoradec.h@{theoradec.h}} -\subsubsection[{th\_\-dec\_\-ctx}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf th\_\-dec\_\-ctx} {\bf th\_\-dec\_\-ctx}}\label{theoradec_8h_a843d70bb02563885a8d54b9c1a781729} - - -The decoder context. \index{theoradec.h@{theoradec.h}!th\_\-setup\_\-info@{th\_\-setup\_\-info}} -\index{th\_\-setup\_\-info@{th\_\-setup\_\-info}!theoradec.h@{theoradec.h}} -\subsubsection[{th\_\-setup\_\-info}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf th\_\-setup\_\-info} {\bf th\_\-setup\_\-info}}\label{theoradec_8h_ab71cd2657455cc27d6c0127c66a89f28} - - -Setup information. This contains auxiliary information (Huffman tables and quantization parameters) decoded from the setup header by \doxyref{th\_\-decode\_\-headerin()}{p.}{group__decfuncs_ga006d01d36fbe64768c571e6a12b7fc50} to be passed to \doxyref{th\_\-decode\_\-alloc()}{p.}{group__decfuncs_ga0ef07a9a97849054aa606c595a2d807e}. It can be re-\/used to initialize any number of decoders, and can be freed via \doxyref{th\_\-setup\_\-free()}{p.}{group__decfuncs_gadef55431b68aaa59d0d7b32b2f118f27} at any time. \index{theoradec.h@{theoradec.h}!th\_\-stripe\_\-decoded\_\-func@{th\_\-stripe\_\-decoded\_\-func}} -\index{th\_\-stripe\_\-decoded\_\-func@{th\_\-stripe\_\-decoded\_\-func}!theoradec.h@{theoradec.h}} -\subsubsection[{th\_\-stripe\_\-decoded\_\-func}]{\setlength{\rightskip}{0pt plus 5cm}typedef void($\ast$ {\bf th\_\-stripe\_\-decoded\_\-func})(void $\ast$\_\-ctx, {\bf th\_\-ycbcr\_\-buffer} \_\-buf, int \_\-yfrag0, int \_\-yfrag\_\-end)}\label{theoradec_8h_a25dfc8713157545abd81eda476ca4b54} - - -A callback function for striped decode. This is a function pointer to an application-\/provided function that will be called each time a section of the image is fully decoded in \doxyref{th\_\-decode\_\-packetin()}{p.}{group__decfuncs_ga31c814bf09b2232aff69c57ae20f04eb}. This allows the application to process the section immediately, while it is still in cache. Note that the frame is decoded bottom to top, so {\itshape \_\-yfrag0\/} will steadily decrease with each call until it reaches 0, at which point the full frame is decoded. The number of fragment rows made available in each call depends on the pixel format and the number of post-\/processing filters enabled, and may not even be constant for the entire frame. If a non-\/{\ttfamily NULL} {\itshape \_\-granpos\/} pointer is passed to \doxyref{th\_\-decode\_\-packetin()}{p.}{group__decfuncs_ga31c814bf09b2232aff69c57ae20f04eb}, the granule position for the frame will be stored in it before the first callback is made. If an entire frame is dropped (a 0-\/byte packet), then no callbacks will be made at all for that frame. -\begin{DoxyParams}{Parameters} -\item[{\em \_\-ctx}]An application-\/provided context pointer. \item[{\em \_\-buf}]The image buffer for the decoded frame. \item[{\em \_\-yfrag0}]The Y coordinate of the first row of 8x8 fragments decoded. Multiply this by 8 to obtain the pixel row number in the luma plane. If the chroma planes are subsampled in the Y direction, this will always be divisible by two. \item[{\em \_\-yfrag\_\-end}]The Y coordinate of the first row of 8x8 fragments past the newly decoded section. If the chroma planes are subsampled in the Y direction, this will always be divisible by two. I.e., this section contains fragment rows {\ttfamily {\itshape \_\-yfrag0\/} ...{\itshape \_\-yfrag\_\-end\/} -\/1}. \end{DoxyParams} diff --git a/Libraries/libtheora-1.1.1/doc/libtheora/latex/theoraenc_8h.tex b/Libraries/libtheora-1.1.1/doc/libtheora/latex/theoraenc_8h.tex deleted file mode 100644 index d4c0b3cc..00000000 --- a/Libraries/libtheora-1.1.1/doc/libtheora/latex/theoraenc_8h.tex +++ /dev/null @@ -1,343 +0,0 @@ -\section{theoraenc.h File Reference} -\label{theoraenc_8h}\index{theoraenc.h@{theoraenc.h}} - - -The {\ttfamily libtheoraenc} C encoding API. -{\ttfamily \#include $<$stddef.h$>$}\par -{\ttfamily \#include $<$ogg/ogg.h$>$}\par -{\ttfamily \#include \char`\"{}codec.h\char`\"{}}\par -\subsection*{Defines} -\begin{DoxyCompactItemize} -\item -\#define {\bf \_\-O\_\-THEORA\_\-THEORAENC\_\-H\_\-}~(1) -\end{DoxyCompactItemize} -\begin{Indent}{\bf th\_\-encode\_\-ctl() codes}\par -{\em \label{_amgrp652c8d6bf1cea216ce117704a398b5f8} -\label{theoraenc_8h_encctlcodes} - These are the available request codes for \doxyref{th\_\-encode\_\-ctl()}{p.}{group__encfuncs_ga3a427f6514dfdc01ea72172c469d51d9}. By convention, these are even, to distinguish them from the \doxyref{decoder control codes}{p.}{theoradec_8h_decctlcodes}. Keep any experimental or vendor-\/specific values above {\ttfamily 0x8000}. }\begin{DoxyCompactItemize} -\item -\#define {\bf TH\_\-ENCCTL\_\-SET\_\-HUFFMAN\_\-CODES}~(0) -\begin{DoxyCompactList}\small\item\em Sets the Huffman tables to use. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS}~(2) -\begin{DoxyCompactList}\small\item\em Sets the quantization parameters to use. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE}~(4) -\begin{DoxyCompactList}\small\item\em Sets the maximum distance between key frames. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE}~(10) -\begin{DoxyCompactList}\small\item\em Disables any encoder features that would prevent lossless transcoding back to VP3. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX}~(12) -\begin{DoxyCompactList}\small\item\em Gets the maximum speed level. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-SET\_\-SPLEVEL}~(14) -\begin{DoxyCompactList}\small\item\em Sets the speed level. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-GET\_\-SPLEVEL}~(16) -\begin{DoxyCompactList}\small\item\em Gets the current speed level. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-SET\_\-DUP\_\-COUNT}~(18) -\begin{DoxyCompactList}\small\item\em Sets the number of duplicates of the next frame to produce. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-SET\_\-RATE\_\-FLAGS}~(20) -\begin{DoxyCompactList}\small\item\em Modifies the default bitrate management behavior. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-SET\_\-RATE\_\-BUFFER}~(22) -\begin{DoxyCompactList}\small\item\em Sets the size of the bitrate management bit reservoir as a function of number of frames. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-2PASS\_\-OUT}~(24) -\begin{DoxyCompactList}\small\item\em Enable pass 1 of two-\/pass encoding mode and retrieve the first pass metrics. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-2PASS\_\-IN}~(26) -\begin{DoxyCompactList}\small\item\em Submits two-\/pass encoding metric data collected the first encoding pass to the second pass. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-SET\_\-QUALITY}~(28) -\begin{DoxyCompactList}\small\item\em Sets the current encoding quality. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-ENCCTL\_\-SET\_\-BITRATE}~(30) -\begin{DoxyCompactList}\small\item\em Sets the current encoding bitrate. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\end{Indent} -\begin{Indent}{\bf TH\_\-ENCCTL\_\-SET\_\-RATE\_\-FLAGS flags}\par -{\em \label{_amgrp6d70796e675cce22589d15a73cb3a16b} -\label{theoraenc_8h_ratectlflags} - These are the flags available for use with \doxyref{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-FLAGS}{p.}{theoraenc_8h_a026502e08fbe1af0a1063f39bd18129c}. }\begin{DoxyCompactItemize} -\item -\#define {\bf TH\_\-RATECTL\_\-DROP\_\-FRAMES}~(0x1) -\begin{DoxyCompactList}\small\item\em Drop frames to keep within bitrate buffer constraints. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-RATECTL\_\-CAP\_\-OVERFLOW}~(0x2) -\begin{DoxyCompactList}\small\item\em Ignore bitrate buffer overflows. \item\end{DoxyCompactList}\item -\#define {\bf TH\_\-RATECTL\_\-CAP\_\-UNDERFLOW}~(0x4) -\begin{DoxyCompactList}\small\item\em Ignore bitrate buffer underflows. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\end{Indent} -\subsection*{Typedefs} -\begin{Indent}{\bf Encoder state}\par -{\em \label{_amgrp4ebc85bd8522a8b6128225c02b31c8b7} -The following data structure is opaque, and its contents are not publicly defined by this API. - -Referring to its internals directly is unsupported, and may break without warning. }\begin{DoxyCompactItemize} -\item -typedef struct {\bf th\_\-enc\_\-ctx} {\bf th\_\-enc\_\-ctx} -\begin{DoxyCompactList}\small\item\em The encoder context. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\end{Indent} -\subsection*{Functions} -\begin{Indent}{\bf Functions for encoding}\par -{\em \label{_amgrpc58fb8743a7ca83eb895d57e29e032c8} -You must link to {\ttfamily libtheoraenc} and {\ttfamily libtheoradec} if you use any of the functions in this section. - -The functions are listed in the order they are used in a typical encode. The basic steps are: -\begin{DoxyItemize} -\item Fill in a \doxyref{th\_\-info}{p.}{structth__info} structure with details on the format of the video you wish to encode. -\item Allocate a \doxyref{th\_\-enc\_\-ctx}{p.}{theoraenc_8h_af5cc40472b925456d42526a035d66edd} handle with \doxyref{th\_\-encode\_\-alloc()}{p.}{group__encfuncs_gaa91e47bc9dd5f6ee52045bd7b815e5a7}. -\item Perform any additional encoder configuration required with \doxyref{th\_\-encode\_\-ctl()}{p.}{group__encfuncs_ga3a427f6514dfdc01ea72172c469d51d9}. -\item Repeatedly call \doxyref{th\_\-encode\_\-flushheader()}{p.}{group__encfuncs_ga9439d61b566039d194ff782681fbc408} to retrieve all the header packets. -\item For each uncompressed frame: -\begin{DoxyItemize} -\item Submit the uncompressed frame via \doxyref{th\_\-encode\_\-ycbcr\_\-in()}{p.}{group__encfuncs_gadbe7dd66b411c2d61ab8153c15308750} -\item Repeatedly call \doxyref{th\_\-encode\_\-packetout()}{p.}{group__encfuncs_ga96d8ac1dda53187455352f99bbb5b04b} to retrieve any video data packets that are ready. -\end{DoxyItemize} -\item Call \doxyref{th\_\-encode\_\-free()}{p.}{group__encfuncs_ga36b23d216532231925c4107894204680} to release all encoder memory. -\end{DoxyItemize}}\begin{DoxyCompactItemize} -\item -{\bf th\_\-enc\_\-ctx} $\ast$ {\bf th\_\-encode\_\-alloc} (const {\bf th\_\-info} $\ast$\_\-info) -\begin{DoxyCompactList}\small\item\em Allocates an encoder instance. \item\end{DoxyCompactList}\item -int {\bf th\_\-encode\_\-ctl} ({\bf th\_\-enc\_\-ctx} $\ast$\_\-enc, int \_\-req, void $\ast$\_\-buf, size\_\-t \_\-buf\_\-sz) -\begin{DoxyCompactList}\small\item\em Encoder control function. \item\end{DoxyCompactList}\item -int {\bf th\_\-encode\_\-flushheader} ({\bf th\_\-enc\_\-ctx} $\ast$\_\-enc, {\bf th\_\-comment} $\ast$\_\-comments, ogg\_\-packet $\ast$\_\-op) -\begin{DoxyCompactList}\small\item\em Outputs the next header packet. \item\end{DoxyCompactList}\item -int {\bf th\_\-encode\_\-ycbcr\_\-in} ({\bf th\_\-enc\_\-ctx} $\ast$\_\-enc, {\bf th\_\-ycbcr\_\-buffer} \_\-ycbcr) -\begin{DoxyCompactList}\small\item\em Submits an uncompressed frame to the encoder. \item\end{DoxyCompactList}\item -int {\bf th\_\-encode\_\-packetout} ({\bf th\_\-enc\_\-ctx} $\ast$\_\-enc, int \_\-last, ogg\_\-packet $\ast$\_\-op) -\begin{DoxyCompactList}\small\item\em Retrieves encoded video data packets. \item\end{DoxyCompactList}\item -void {\bf th\_\-encode\_\-free} ({\bf th\_\-enc\_\-ctx} $\ast$\_\-enc) -\begin{DoxyCompactList}\small\item\em Frees an allocated encoder instance. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\end{Indent} -\subsection*{Variables} -\begin{DoxyCompactItemize} -\item -const {\bf th\_\-quant\_\-info} {\bf TH\_\-VP31\_\-QUANT\_\-INFO} -\begin{DoxyCompactList}\small\item\em The quantization parameters used by VP3. \item\end{DoxyCompactList}\item -const {\bf th\_\-huff\_\-code} {\bf TH\_\-VP31\_\-HUFF\_\-CODES} [TH\_\-NHUFFMAN\_\-TABLES][TH\_\-NDCT\_\-TOKENS] -\begin{DoxyCompactList}\small\item\em The Huffman tables used by VP3. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -The {\ttfamily libtheoraenc} C encoding API. - -\subsection{Define Documentation} -\index{theoraenc.h@{theoraenc.h}!\_\-O\_\-THEORA\_\-THEORAENC\_\-H\_\-@{\_\-O\_\-THEORA\_\-THEORAENC\_\-H\_\-}} -\index{\_\-O\_\-THEORA\_\-THEORAENC\_\-H\_\-@{\_\-O\_\-THEORA\_\-THEORAENC\_\-H\_\-}!theoraenc.h@{theoraenc.h}} -\subsubsection[{\_\-O\_\-THEORA\_\-THEORAENC\_\-H\_\-}]{\setlength{\rightskip}{0pt plus 5cm}\#define \_\-O\_\-THEORA\_\-THEORAENC\_\-H\_\-~(1)}\label{theoraenc_8h_ab915dd90f069a2431454fd62365e9381} -\index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-2PASS\_\-IN@{TH\_\-ENCCTL\_\-2PASS\_\-IN}} -\index{TH\_\-ENCCTL\_\-2PASS\_\-IN@{TH\_\-ENCCTL\_\-2PASS\_\-IN}!theoraenc.h@{theoraenc.h}} -\subsubsection[{TH\_\-ENCCTL\_\-2PASS\_\-IN}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-2PASS\_\-IN~(26)}\label{theoraenc_8h_a4a84f982cdd9a3e3c803a29bbde9df0b} - - -Submits two-\/pass encoding metric data collected the first encoding pass to the second pass. The first call must be made before the first frame is encoded, and a target bitrate must have already been specified to the encoder. It sets the encoder to pass 2 mode implicitly; this cannot be disabled. The encoder may require reading data from some or all of the frames in advance, depending on, e.g., the reservoir size used in the second pass. You must call this function repeatedly before each frame to provide data until either a) it fails to consume all of the data presented or b) all of the pass 1 data has been consumed. In the first case, you must save the remaining data to be presented after the next frame. You can call this function with a NULL argument to get an upper bound on the number of bytes that will be required before the next frame. - -When pass 2 is first enabled, the default bit reservoir is set to the entire file; this gives maximum flexibility but can lead to very high peak rates. You can subsequently set it to another value with \doxyref{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-BUFFER}{p.}{theoraenc_8h_aaefb515876b2a180ad5c3120fc584a52} (e.g., to set it to the keyframe interval for non-\/live streaming), however, you may then need to provide more data before the next frame. - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily char[]}: A buffer containing the data returned by \doxyref{TH\_\-ENCCTL\_\-2PASS\_\-OUT}{p.}{theoraenc_8h_ac3751b9c3838888ec2e3f0b0d2823282} in pass 1. You may pass {\ttfamily NULL} for {\itshape \_\-buf\/} to return an upper bound on the number of additional bytes needed before the next frame. The summary data returned at the end of pass 1 must be at the head of the buffer on the first call with a non-\/{\ttfamily NULL} {\itshape \_\-buf\/}, and the placeholder data returned at the start of pass 1 should be omitted. After each call you should advance this buffer by the number of bytes consumed. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em $>$0}]The number of bytes of metric data required/consumed. \item[{\em 0}]No more data is required before the next frame. \item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]No target bitrate has been set, or the first call was made after the first frame was submitted for encoding. \item[{\em TH\_\-ENOTFORMAT}]The data did not appear to be pass 1 from a compatible implementation of this library. \item[{\em TH\_\-EBADHEADER}]The data was invalid; this may be returned when attempting to read an aborted pass 1 file that still has the placeholder data in place of the summary data. \item[{\em TH\_\-EIMPL}]Not supported by this implementation. \end{DoxyRetVals} -\index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-2PASS\_\-OUT@{TH\_\-ENCCTL\_\-2PASS\_\-OUT}} -\index{TH\_\-ENCCTL\_\-2PASS\_\-OUT@{TH\_\-ENCCTL\_\-2PASS\_\-OUT}!theoraenc.h@{theoraenc.h}} -\subsubsection[{TH\_\-ENCCTL\_\-2PASS\_\-OUT}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-2PASS\_\-OUT~(24)}\label{theoraenc_8h_ac3751b9c3838888ec2e3f0b0d2823282} - - -Enable pass 1 of two-\/pass encoding mode and retrieve the first pass metrics. Pass 1 mode must be enabled before the first frame is encoded, and a target bitrate must have already been specified to the encoder. Although this does not have to be the exact rate that will be used in the second pass, closer values may produce better results. The first call returns the size of the two-\/pass header data, along with some placeholder content, and sets the encoder into pass 1 mode implicitly. This call sets the encoder to pass 1 mode implicitly. Then, a subsequent call must be made after each call to \doxyref{th\_\-encode\_\-ycbcr\_\-in()}{p.}{group__encfuncs_gadbe7dd66b411c2d61ab8153c15308750} to retrieve the metrics for that frame. An additional, final call must be made to retrieve the summary data, containing such information as the total number of frames, etc. This must be stored in place of the placeholder data that was returned in the first call, before the frame metrics data. All of this data must be presented back to the encoder during pass 2 using \doxyref{TH\_\-ENCCTL\_\-2PASS\_\-IN}{p.}{theoraenc_8h_a4a84f982cdd9a3e3c803a29bbde9df0b}. - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\rightarrow$} {\em $<$tt$>$char}]$\ast$\_\-buf: Returns a pointer to internal storage containing the two pass metrics data. This storage is only valid until the next call, or until the encoder context is freed, and must be copied by the application. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em $>$=0}]The number of bytes of metric data available in the returned buffer. \item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(char $\ast$)}, no target bitrate has been set, or the first call was made after the first frame was submitted for encoding. \item[{\em TH\_\-EIMPL}]Not supported by this implementation. \end{DoxyRetVals} -\index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-GET\_\-SPLEVEL@{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL}} -\index{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL@{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL}!theoraenc.h@{theoraenc.h}} -\subsubsection[{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-GET\_\-SPLEVEL~(16)}\label{theoraenc_8h_a114b7c552f50b7b8d881a39489af1f61} - - -Gets the current speed level. The default speed level may vary according to encoder implementation, but if this control code is not supported (it returns \doxyref{TH\_\-EIMPL}{p.}{codec_8h_a921c47accc17841f220af5a6afb79efe}), the default may be assumed to be the slowest available speed (0). The maximum encoding speed level may be implementation-\/ and encoding mode-\/specific, and can be obtained via \doxyref{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX}{p.}{theoraenc_8h_a9baf5bdd206e80c78a8fd44687e89783}. - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\rightarrow$} {\em \_\-buf}]{\ttfamily int}: The current encoding speed level. 0 is slowest, larger values use less CPU. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(int)}. \item[{\em TH\_\-EIMPL}]Not supported by this implementation in the current encoding mode. \end{DoxyRetVals} -\index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX@{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX}} -\index{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX@{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX}!theoraenc.h@{theoraenc.h}} -\subsubsection[{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX~(12)}\label{theoraenc_8h_a9baf5bdd206e80c78a8fd44687e89783} - - -Gets the maximum speed level. Higher speed levels favor quicker encoding over better quality per bit. Depending on the encoding mode, and the internal algorithms used, quality may actually improve, but in this case bitrate will also likely increase. In any case, overall rate/distortion performance will probably decrease. The maximum value, and the meaning of each value, may change depending on the current encoding mode (VBR vs. constant quality, etc.). - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\rightarrow$} {\em \_\-buf}]{\ttfamily int}: The maximum encoding speed level. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(int)}. \item[{\em TH\_\-EIMPL}]Not supported by this implementation in the current encoding mode. \end{DoxyRetVals} -\index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-SET\_\-BITRATE@{TH\_\-ENCCTL\_\-SET\_\-BITRATE}} -\index{TH\_\-ENCCTL\_\-SET\_\-BITRATE@{TH\_\-ENCCTL\_\-SET\_\-BITRATE}!theoraenc.h@{theoraenc.h}} -\subsubsection[{TH\_\-ENCCTL\_\-SET\_\-BITRATE}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-BITRATE~(30)}\label{theoraenc_8h_a9b969df55ecad1acd1ae207fad42592e} - - -Sets the current encoding bitrate. Once a bitrate is set, the encoder must use a rate-\/controlled mode for all future frames (this restriction may be relaxed in a future version). If it is set before the headers are emitted, the target bitrate encoded in them will be updated. Due to the buffer delay, the exact bitrate of each section of the encode is not guaranteed. The encoder may have already used more bits than allowed for the frames it has encoded, expecting to make them up in future frames, or it may have used fewer, holding the excess in reserve. The exact transition between the two bitrates is not well-\/defined by this API, but may be affected by flags set with \doxyref{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-FLAGS}{p.}{theoraenc_8h_a026502e08fbe1af0a1063f39bd18129c}. After a number of frames equal to the buffer delay, one may expect further output to average at the target bitrate. - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily long}: The new target bitrate, in bits per second. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em 0}]Success. \item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]The target bitrate was not positive. \item[{\em TH\_\-EIMPL}]Not supported by this implementation. \end{DoxyRetVals} -\index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-SET\_\-DUP\_\-COUNT@{TH\_\-ENCCTL\_\-SET\_\-DUP\_\-COUNT}} -\index{TH\_\-ENCCTL\_\-SET\_\-DUP\_\-COUNT@{TH\_\-ENCCTL\_\-SET\_\-DUP\_\-COUNT}!theoraenc.h@{theoraenc.h}} -\subsubsection[{TH\_\-ENCCTL\_\-SET\_\-DUP\_\-COUNT}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-DUP\_\-COUNT~(18)}\label{theoraenc_8h_a8bb9b05471c42a09f8684a2583b8a1df} - - -Sets the number of duplicates of the next frame to produce. Although libtheora can encode duplicate frames very cheaply, it costs some amount of CPU to detect them, and a run of duplicates cannot span a keyframe boundary. This control code tells the encoder to produce the specified number of extra duplicates of the next frame. This allows the encoder to make smarter keyframe placement decisions and rate control decisions, and reduces CPU usage as well, when compared to just submitting the same frame for encoding multiple times. This setting only applies to the next frame submitted for encoding. You MUST call \doxyref{th\_\-encode\_\-packetout()}{p.}{group__encfuncs_ga96d8ac1dda53187455352f99bbb5b04b} repeatedly until it returns 0, or the extra duplicate frames will be lost. - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily int}: The number of duplicates to produce. If this is negative or zero, no duplicates will be produced. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(int)}, or the number of duplicates is greater than or equal to the maximum keyframe interval. In the latter case, NO duplicate frames will be produced. You must ensure that the maximum keyframe interval is set larger than the maximum number of duplicates you will ever wish to insert prior to encoding. \item[{\em TH\_\-EIMPL}]Not supported by this implementation in the current encoding mode. \end{DoxyRetVals} -\index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-SET\_\-HUFFMAN\_\-CODES@{TH\_\-ENCCTL\_\-SET\_\-HUFFMAN\_\-CODES}} -\index{TH\_\-ENCCTL\_\-SET\_\-HUFFMAN\_\-CODES@{TH\_\-ENCCTL\_\-SET\_\-HUFFMAN\_\-CODES}!theoraenc.h@{theoraenc.h}} -\subsubsection[{TH\_\-ENCCTL\_\-SET\_\-HUFFMAN\_\-CODES}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-HUFFMAN\_\-CODES~(0)}\label{theoraenc_8h_a0165348788e560a19b7c61ae8f0c2283} - - -Sets the Huffman tables to use. The tables are copied, not stored by reference, so they can be freed after this call. {\ttfamily NULL} may be specified to revert to the default tables. - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily \doxyref{th\_\-huff\_\-code}{p.}{structth__huff__code}[\doxyref{TH\_\-NHUFFMAN\_\-TABLES}{p.}{codec_8h_a49bf449eae33c5320f0c308f32c6ae42}][\doxyref{TH\_\-NDCT\_\-TOKENS}{p.}{codec_8h_a2a44f48084e76a58cae48fb5d47cd422}]} \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]Encoding has already begun or one or more of the given tables is not full or prefix-\/free, {\itshape \_\-buf\/} is {\ttfamily NULL} and {\itshape \_\-buf\_\-sz\/} is not zero, or {\itshape \_\-buf\/} is non-\/{\ttfamily NULL} and {\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(\doxyref{th\_\-huff\_\-code}{p.}{structth__huff__code})$\ast$\doxyref{TH\_\-NHUFFMAN\_\-TABLES}{p.}{codec_8h_a49bf449eae33c5320f0c308f32c6ae42}$\ast$\doxyref{TH\_\-NDCT\_\-TOKENS}{p.}{codec_8h_a2a44f48084e76a58cae48fb5d47cd422}}. \item[{\em TH\_\-EIMPL}]Not supported by this implementation. \end{DoxyRetVals} -\index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE@{TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE}} -\index{TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE@{TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE}!theoraenc.h@{theoraenc.h}} -\subsubsection[{TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE~(4)}\label{theoraenc_8h_a27e755e15b4b5604c54974b304037a49} - - -Sets the maximum distance between key frames. This can be changed during an encode, but will be bounded by {\ttfamily 1$<$$<$\doxyref{th\_\-info::keyframe\_\-granule\_\-shift}{p.}{structth__info_a693ca4ab11fbc0c3f32594b4bb8766ed}}. If it is set before encoding begins, \doxyref{th\_\-info::keyframe\_\-granule\_\-shift}{p.}{structth__info_a693ca4ab11fbc0c3f32594b4bb8766ed} will be enlarged appropriately. - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily ogg\_\-uint32\_\-t}: The maximum distance between key frames. \item[\mbox{$\rightarrow$} {\em \_\-buf}]{\ttfamily ogg\_\-uint32\_\-t}: The actual maximum distance set. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(ogg\_\-uint32\_\-t)}. \item[{\em TH\_\-EIMPL}]Not supported by this implementation. \end{DoxyRetVals} -\index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-SET\_\-QUALITY@{TH\_\-ENCCTL\_\-SET\_\-QUALITY}} -\index{TH\_\-ENCCTL\_\-SET\_\-QUALITY@{TH\_\-ENCCTL\_\-SET\_\-QUALITY}!theoraenc.h@{theoraenc.h}} -\subsubsection[{TH\_\-ENCCTL\_\-SET\_\-QUALITY}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-QUALITY~(28)}\label{theoraenc_8h_aac087983fa951b9148c9db6bc2e81ef4} - - -Sets the current encoding quality. This is only valid so long as no bitrate has been specified, either through the \doxyref{th\_\-info}{p.}{structth__info} struct used to initialize the encoder or through \doxyref{TH\_\-ENCCTL\_\-SET\_\-BITRATE}{p.}{theoraenc_8h_a9b969df55ecad1acd1ae207fad42592e} (this restriction may be relaxed in a future version). If it is set before the headers are emitted, the target quality encoded in them will be updated. - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily int}: The new target quality, in the range 0...63, inclusive. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em 0}]Success. \item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]A target bitrate has already been specified, or the quality index was not in the range 0...63. \item[{\em TH\_\-EIMPL}]Not supported by this implementation. \end{DoxyRetVals} -\index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS@{TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS}} -\index{TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS@{TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS}!theoraenc.h@{theoraenc.h}} -\subsubsection[{TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS~(2)}\label{theoraenc_8h_a3befcdd66678f8d27034f9c4b16d1b9c} - - -Sets the quantization parameters to use. The parameters are copied, not stored by reference, so they can be freed after this call. {\ttfamily NULL} may be specified to revert to the default parameters. - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\leftarrow$} {\em \_\-buf}]\doxyref{th\_\-quant\_\-info}{p.}{structth__quant__info} \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]Encoding has already begun, {\itshape \_\-buf\/} is {\ttfamily NULL} and {\itshape \_\-buf\_\-sz\/} is not zero, or {\itshape \_\-buf\/} is non-\/{\ttfamily NULL} and {\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(\doxyref{th\_\-quant\_\-info}{p.}{structth__quant__info})}. \item[{\em TH\_\-EIMPL}]Not supported by this implementation. \end{DoxyRetVals} -\index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-SET\_\-RATE\_\-BUFFER@{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-BUFFER}} -\index{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-BUFFER@{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-BUFFER}!theoraenc.h@{theoraenc.h}} -\subsubsection[{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-BUFFER}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-RATE\_\-BUFFER~(22)}\label{theoraenc_8h_aaefb515876b2a180ad5c3120fc584a52} - - -Sets the size of the bitrate management bit reservoir as a function of number of frames. The reservoir size affects how quickly bitrate management reacts to instantaneous changes in the video complexity. Larger reservoirs react more slowly, and provide better overall quality, but require more buffering by a client, adding more latency to live streams. By default, libtheora sets the reservoir to the maximum distance between keyframes, subject to a minimum and maximum limit. This call may be used to increase or decrease the reservoir, increasing or decreasing the allowed temporary variance in bitrate. An implementation may impose some limits on the size of a reservoir it can handle, in which case the actual reservoir size may not be exactly what was requested. The actual value set will be returned. - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily int}: Requested size of the reservoir measured in frames. \item[\mbox{$\rightarrow$} {\em \_\-buf}]{\ttfamily int}: The actual size of the reservoir set. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(int)}, or rate control is not enabled. The buffer has an implementation defined minimum and maximum size and the value in \_\-buf will be adjusted to match the actual value set. \item[{\em TH\_\-EIMPL}]Not supported by this implementation in the current encoding mode. \end{DoxyRetVals} -\index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-SET\_\-RATE\_\-FLAGS@{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-FLAGS}} -\index{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-FLAGS@{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-FLAGS}!theoraenc.h@{theoraenc.h}} -\subsubsection[{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-FLAGS}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-RATE\_\-FLAGS~(20)}\label{theoraenc_8h_a026502e08fbe1af0a1063f39bd18129c} - - -Modifies the default bitrate management behavior. Use to allow or disallow frame dropping, and to enable or disable capping bit reservoir overflows and underflows. See \doxyref{the list of available flags}{p.}{theoraenc_8h_encctlcodes}. The flags are set by default to {\ttfamily \doxyref{TH\_\-RATECTL\_\-DROP\_\-FRAMES}{p.}{theoraenc_8h_a3e7fab53b902b54135522ba286f45e33}$|$\doxyref{TH\_\-RATECTL\_\-CAP\_\-OVERFLOW}{p.}{theoraenc_8h_a32f9983b344a431334493cefb0b9337c}}. - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily int}: Any combination of \doxyref{the available flags}{p.}{theoraenc_8h_ratectlflags}: -\begin{DoxyItemize} -\item \doxyref{TH\_\-RATECTL\_\-DROP\_\-FRAMES}{p.}{theoraenc_8h_a3e7fab53b902b54135522ba286f45e33}: Enable frame dropping. -\item \doxyref{TH\_\-RATECTL\_\-CAP\_\-OVERFLOW}{p.}{theoraenc_8h_a32f9983b344a431334493cefb0b9337c}: Don't bank excess bits for later use. -\item \doxyref{TH\_\-RATECTL\_\-CAP\_\-UNDERFLOW}{p.}{theoraenc_8h_ad0d62d9dce542caf5296b03b97e020a6}: Don't try to make up shortfalls later. -\end{DoxyItemize}\end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(int)} or rate control is not enabled. \item[{\em TH\_\-EIMPL}]Not supported by this implementation in the current encoding mode. \end{DoxyRetVals} -\index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-SET\_\-SPLEVEL@{TH\_\-ENCCTL\_\-SET\_\-SPLEVEL}} -\index{TH\_\-ENCCTL\_\-SET\_\-SPLEVEL@{TH\_\-ENCCTL\_\-SET\_\-SPLEVEL}!theoraenc.h@{theoraenc.h}} -\subsubsection[{TH\_\-ENCCTL\_\-SET\_\-SPLEVEL}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-SPLEVEL~(14)}\label{theoraenc_8h_abd9fbcb6a25a77d991d3620164fe59d6} - - -Sets the speed level. The current speed level may be retrieved using \doxyref{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL}{p.}{theoraenc_8h_a114b7c552f50b7b8d881a39489af1f61}. - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily int}: The new encoding speed level. 0 is slowest, larger values use less CPU. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(int)}, or the encoding speed level is out of bounds. The maximum encoding speed level may be implementation-\/ and encoding mode-\/specific, and can be obtained via \doxyref{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX}{p.}{theoraenc_8h_a9baf5bdd206e80c78a8fd44687e89783}. \item[{\em TH\_\-EIMPL}]Not supported by this implementation in the current encoding mode. \end{DoxyRetVals} -\index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE@{TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE}} -\index{TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE@{TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE}!theoraenc.h@{theoraenc.h}} -\subsubsection[{TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE~(10)}\label{theoraenc_8h_a382d685a39a34d8e6ba76b00d804efd8} - - -Disables any encoder features that would prevent lossless transcoding back to VP3. This primarily means disabling block-\/adaptive quantization and always coding all four luma blocks in a macro block when 4MV is used. It also includes using the VP3 quantization tables and Huffman codes; if you set them explicitly after calling this function, the resulting stream will not be VP3-\/compatible. If you enable VP3-\/compatibility when encoding 4:2:2 or 4:4:4 source material, or when using a picture region smaller than the full frame (e.g. a non-\/multiple-\/of-\/16 width or height), then non-\/VP3 bitstream features will still be disabled, but the stream will still not be VP3-\/compatible, as VP3 was not capable of encoding such formats. If you call this after encoding has already begun, then the quantization tables and codebooks cannot be changed, but the frame-\/level features will be enabled or disabled as requested. - - -\begin{DoxyParams}{Parameters} -\item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily int}: a non-\/zero value to enable VP3 compatibility, or 0 to disable it (the default). \item[\mbox{$\rightarrow$} {\em \_\-buf}]{\ttfamily int}: 1 if all bitstream features required for VP3-\/compatibility could be set, and 0 otherwise. The latter will be returned if the pixel format is not 4:2:0, the picture region is smaller than the full frame, or if encoding has begun, preventing the quantization tables and codebooks from being set. \end{DoxyParams} - -\begin{DoxyRetVals}{Return values} -\item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(int)}. \item[{\em TH\_\-EIMPL}]Not supported by this implementation. \end{DoxyRetVals} -\index{theoraenc.h@{theoraenc.h}!TH\_\-RATECTL\_\-CAP\_\-OVERFLOW@{TH\_\-RATECTL\_\-CAP\_\-OVERFLOW}} -\index{TH\_\-RATECTL\_\-CAP\_\-OVERFLOW@{TH\_\-RATECTL\_\-CAP\_\-OVERFLOW}!theoraenc.h@{theoraenc.h}} -\subsubsection[{TH\_\-RATECTL\_\-CAP\_\-OVERFLOW}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-RATECTL\_\-CAP\_\-OVERFLOW~(0x2)}\label{theoraenc_8h_a32f9983b344a431334493cefb0b9337c} - - -Ignore bitrate buffer overflows. If the encoder uses so few bits that the reservoir of available bits overflows, ignore the excess. The encoder will not try to use these extra bits in future frames. At high rates this may cause the result to be undersized, but allows a client to play the stream using a finite buffer; it should normally be enabled. \index{theoraenc.h@{theoraenc.h}!TH\_\-RATECTL\_\-CAP\_\-UNDERFLOW@{TH\_\-RATECTL\_\-CAP\_\-UNDERFLOW}} -\index{TH\_\-RATECTL\_\-CAP\_\-UNDERFLOW@{TH\_\-RATECTL\_\-CAP\_\-UNDERFLOW}!theoraenc.h@{theoraenc.h}} -\subsubsection[{TH\_\-RATECTL\_\-CAP\_\-UNDERFLOW}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-RATECTL\_\-CAP\_\-UNDERFLOW~(0x4)}\label{theoraenc_8h_ad0d62d9dce542caf5296b03b97e020a6} - - -Ignore bitrate buffer underflows. If the encoder uses so many bits that the reservoir of available bits underflows, ignore the deficit. The encoder will not try to make up these extra bits in future frames. At low rates this may cause the result to be oversized; it should normally be disabled. \index{theoraenc.h@{theoraenc.h}!TH\_\-RATECTL\_\-DROP\_\-FRAMES@{TH\_\-RATECTL\_\-DROP\_\-FRAMES}} -\index{TH\_\-RATECTL\_\-DROP\_\-FRAMES@{TH\_\-RATECTL\_\-DROP\_\-FRAMES}!theoraenc.h@{theoraenc.h}} -\subsubsection[{TH\_\-RATECTL\_\-DROP\_\-FRAMES}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-RATECTL\_\-DROP\_\-FRAMES~(0x1)}\label{theoraenc_8h_a3e7fab53b902b54135522ba286f45e33} - - -Drop frames to keep within bitrate buffer constraints. This can have a severe impact on quality, but is the only way to ensure that bitrate targets are met at low rates during sudden bursts of activity. - -\subsection{Typedef Documentation} -\index{theoraenc.h@{theoraenc.h}!th\_\-enc\_\-ctx@{th\_\-enc\_\-ctx}} -\index{th\_\-enc\_\-ctx@{th\_\-enc\_\-ctx}!theoraenc.h@{theoraenc.h}} -\subsubsection[{th\_\-enc\_\-ctx}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf th\_\-enc\_\-ctx} {\bf th\_\-enc\_\-ctx}}\label{theoraenc_8h_af5cc40472b925456d42526a035d66edd} - - -The encoder context. - -\subsection{Variable Documentation} -\index{theoraenc.h@{theoraenc.h}!TH\_\-VP31\_\-HUFF\_\-CODES@{TH\_\-VP31\_\-HUFF\_\-CODES}} -\index{TH\_\-VP31\_\-HUFF\_\-CODES@{TH\_\-VP31\_\-HUFF\_\-CODES}!theoraenc.h@{theoraenc.h}} -\subsubsection[{TH\_\-VP31\_\-HUFF\_\-CODES}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf th\_\-huff\_\-code} {\bf TH\_\-VP31\_\-HUFF\_\-CODES}[TH\_\-NHUFFMAN\_\-TABLES][TH\_\-NDCT\_\-TOKENS]}\label{theoraenc_8h_aee1f7cb1fa0d3b7cc1d4ca0f17e6ae5e} - - -The Huffman tables used by VP3. \index{theoraenc.h@{theoraenc.h}!TH\_\-VP31\_\-QUANT\_\-INFO@{TH\_\-VP31\_\-QUANT\_\-INFO}} -\index{TH\_\-VP31\_\-QUANT\_\-INFO@{TH\_\-VP31\_\-QUANT\_\-INFO}!theoraenc.h@{theoraenc.h}} -\subsubsection[{TH\_\-VP31\_\-QUANT\_\-INFO}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf th\_\-quant\_\-info} {\bf TH\_\-VP31\_\-QUANT\_\-INFO}}\label{theoraenc_8h_a3b1b462989f4e7a5a98e6e697f1a7f7d} - - -The quantization parameters used by VP3. \ No newline at end of file diff --git a/Libraries/libtheora-1.1.1/doc/spec/Makefile.am b/Libraries/libtheora-1.1.1/doc/spec/Makefile.am deleted file mode 100644 index 3a181a2a..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/Makefile.am +++ /dev/null @@ -1,83 +0,0 @@ -## Process this file with automake to produce Makefile.in - -# makefile to generate the spec document from sources -# requires transfig and pdflatex - -docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION) - -built_docs = Theora.pdf - -if BUILD_SPEC -doc_DATA = $(built_docs) -endif - -SPEC_SRCS = spec.tex spec.bib - -FIG_SRCS = pic-frame.fig hilbert-mb.fig hilbert-block.fig xifish.fig \ - superblock.fig macroblock.fig raster-block.fig reference-frames.fig \ - pixel444.fig pixel422.fig pixel420.fig idct.fig fdct.fig \ - pic_even.fig pic_even_odd.fig pic_odd.fig pic_odd_even.fig \ - lflim.fig - -FIG_TEXS = $(FIG_SRCS:.fig=.tex) -FIG_AUXS = $(FIG_SRCS:.fig=.aux) -FIG_PDFS = $(FIG_SRCS:.fig=.pdf) - -# add any native-pdf figures here -FIG_OBJS = $(FIG_PDFS) - -EXTRA_DIST = $(built_docs) $(SPEC_SRCS) $(FIG_SRCS) ltablex.sty - -if BUILD_SPEC -# latex three times is the charm with references -# long tables require the .aux file to start from scratch -Theora.pdf : $(SPEC_SRCS) $(FIG_OBJS) vp3huff.tex spec.bib - -$(RM) spec.aux - pdflatex -interaction nonstopmode spec.tex - bibtex spec.aux - pdflatex -interaction nonstopmode spec.tex - pdflatex -interaction nonstopmode spec.tex - mv spec.pdf $@ -else -Theora.pdf : - echo "*** Warning: Missing tools; $@ will not be built." -endif - -vp3huff.tex : vp3huff - ./vp3huff > $@ - -noinst_PROGRAMS = vp3huff -vp3huff_SOURCES = vp3huff.c - -figures : $(FIG_OBJS) - -# rules to generate latex and pdf versions of the xfig figures -.fig.tex: - fig2dev -L latex $< $@ - -.fig.pdf: - fig2dev -L pdf -p 0 $< $@ - -SUFFIXES = .fig .tex .pdf - -# clean targets -clean-local: - -$(RM) $(FIG_TEXS) - -$(RM) $(FIG_AUXS) - -$(RM) $(FIG_PDFS) - -$(RM) vp3huff - -$(RM) vp3huff.tex - -$(RM) vp3huff.aux - -$(RM) spec.aux - -$(RM) spec.log - -$(RM) spec.lof - -$(RM) spec.lot - -$(RM) spec.out - -$(RM) spec.bbl - -$(RM) spec.blg - -$(RM) spec.toc - -maintainer-clean-local: - -$(RM) $(built_docs) - -maintainerclean: maintainer-clean diff --git a/Libraries/libtheora-1.1.1/doc/spec/Makefile.in b/Libraries/libtheora-1.1.1/doc/spec/Makefile.in deleted file mode 100644 index 6bde8fc2..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/Makefile.in +++ /dev/null @@ -1,498 +0,0 @@ -# Makefile.in generated by automake 1.6.3 from Makefile.am. -# @configure_input@ - -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 -# Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# makefile to generate the spec document from sources -# requires transfig and pdflatex -SHELL = @SHELL@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = ../.. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_HEADER = $(INSTALL_DATA) -transform = @program_transform_name@ -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_alias = @host_alias@ -host_triplet = @host@ - -EXEEXT = @EXEEXT@ -OBJEXT = @OBJEXT@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ -AMTAR = @AMTAR@ -AR = @AR@ -ARGZ_H = @ARGZ_H@ -AS = @AS@ -AWK = @AWK@ -BUILDABLE_EXAMPLES = @BUILDABLE_EXAMPLES@ -CAIRO_CFLAGS = @CAIRO_CFLAGS@ -CAIRO_LIBS = @CAIRO_LIBS@ -CC = @CC@ -CPP = @CPP@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -DEBUG = @DEBUG@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -F77 = @F77@ -GCJ = @GCJ@ -GCJFLAGS = @GCJFLAGS@ -GETOPT_OBJS = @GETOPT_OBJS@ -GREP = @GREP@ -HAVE_BIBTEX = @HAVE_BIBTEX@ -HAVE_DOXYGEN = @HAVE_DOXYGEN@ -HAVE_PDFLATEX = @HAVE_PDFLATEX@ -HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@ -HAVE_TRANSFIG = @HAVE_TRANSFIG@ -HAVE_VALGRIND = @HAVE_VALGRIND@ -INCLTDL = @INCLTDL@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LD = @LD@ -LIBADD_DL = @LIBADD_DL@ -LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ -LIBADD_DLOPEN = @LIBADD_DLOPEN@ -LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ -LIBLTDL = @LIBLTDL@ -LIBM = @LIBM@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTDLDEPS = @LTDLDEPS@ -LTDLINCL = @LTDLINCL@ -LTDLOPEN = @LTDLOPEN@ -LT_CONFIG_H = @LT_CONFIG_H@ -LT_DLLOADERS = @LT_DLLOADERS@ -LT_DLPREOPEN = @LT_DLPREOPEN@ -MAINT = @MAINT@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OGG_CFLAGS = @OGG_CFLAGS@ -OGG_LIBS = @OGG_LIBS@ -OSS_LIBS = @OSS_LIBS@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PKG_CONFIG = @PKG_CONFIG@ -PNG_CFLAGS = @PNG_CFLAGS@ -PNG_LIBS = @PNG_LIBS@ -PROFILE = @PROFILE@ -RANLIB = @RANLIB@ -RC = @RC@ -SDL_CFLAGS = @SDL_CFLAGS@ -SDL_CONFIG = @SDL_CONFIG@ -SDL_LIBS = @SDL_LIBS@ -SED = @SED@ -STRIP = @STRIP@ -THDEC_LIB_AGE = @THDEC_LIB_AGE@ -THDEC_LIB_CURRENT = @THDEC_LIB_CURRENT@ -THDEC_LIB_REVISION = @THDEC_LIB_REVISION@ -THENC_LIB_AGE = @THENC_LIB_AGE@ -THENC_LIB_CURRENT = @THENC_LIB_CURRENT@ -THENC_LIB_REVISION = @THENC_LIB_REVISION@ -THEORADEC_LDFLAGS = @THEORADEC_LDFLAGS@ -THEORAENC_LDFLAGS = @THEORAENC_LDFLAGS@ -THEORA_LDFLAGS = @THEORA_LDFLAGS@ -TH_LIB_AGE = @TH_LIB_AGE@ -TH_LIB_CURRENT = @TH_LIB_CURRENT@ -TH_LIB_REVISION = @TH_LIB_REVISION@ -VALGRIND_ENVIRONMENT = @VALGRIND_ENVIRONMENT@ -VERSION = @VERSION@ -VORBISENC_LIBS = @VORBISENC_LIBS@ -VORBISFILE_LIBS = @VORBISFILE_LIBS@ -VORBIS_CFLAGS = @VORBIS_CFLAGS@ -VORBIS_LIBS = @VORBIS_LIBS@ -am__include = @am__include@ -am__quote = @am__quote@ -install_sh = @install_sh@ -lt_ECHO = @lt_ECHO@ -ltdl_LIBOBJS = @ltdl_LIBOBJS@ -ltdl_LTLIBOBJS = @ltdl_LTLIBOBJS@ -sys_symbol_underscore = @sys_symbol_underscore@ - -docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION) - -built_docs = Theora.pdf - -@BUILD_SPEC_TRUE@doc_DATA = $(built_docs) - -SPEC_SRCS = spec.tex spec.bib - -FIG_SRCS = pic-frame.fig hilbert-mb.fig hilbert-block.fig xifish.fig \ - superblock.fig macroblock.fig raster-block.fig reference-frames.fig \ - pixel444.fig pixel422.fig pixel420.fig idct.fig fdct.fig \ - pic_even.fig pic_even_odd.fig pic_odd.fig pic_odd_even.fig \ - lflim.fig - - -FIG_TEXS = $(FIG_SRCS:.fig=.tex) -FIG_AUXS = $(FIG_SRCS:.fig=.aux) -FIG_PDFS = $(FIG_SRCS:.fig=.pdf) - -# add any native-pdf figures here -FIG_OBJS = $(FIG_PDFS) - -EXTRA_DIST = $(built_docs) $(SPEC_SRCS) $(FIG_SRCS) ltablex.sty - -noinst_PROGRAMS = vp3huff -vp3huff_SOURCES = vp3huff.c - -SUFFIXES = .fig .tex .pdf -subdir = doc/spec -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -noinst_PROGRAMS = vp3huff$(EXEEXT) -PROGRAMS = $(noinst_PROGRAMS) - -am_vp3huff_OBJECTS = vp3huff.$(OBJEXT) -vp3huff_OBJECTS = $(am_vp3huff_OBJECTS) -vp3huff_LDADD = $(LDADD) -vp3huff_DEPENDENCIES = -vp3huff_LDFLAGS = - -DEFS = @DEFS@ -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/vp3huff.Po -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \ - $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -CFLAGS = @CFLAGS@ -DIST_SOURCES = $(vp3huff_SOURCES) -DATA = $(doc_DATA) - -DIST_COMMON = Makefile.am Makefile.in -SOURCES = $(vp3huff_SOURCES) - -all: all-am - -.SUFFIXES: -.SUFFIXES: .fig .tex .pdf .c .lo .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu doc/spec/Makefile -Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) - -clean-noinstPROGRAMS: - @list='$(noinst_PROGRAMS)'; for p in $$list; do \ - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f $$p $$f"; \ - rm -f $$p $$f ; \ - done -vp3huff$(EXEEXT): $(vp3huff_OBJECTS) $(vp3huff_DEPENDENCIES) - @rm -f vp3huff$(EXEEXT) - $(LINK) $(vp3huff_LDFLAGS) $(vp3huff_OBJECTS) $(vp3huff_LDADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) core *.core - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vp3huff.Po@am__quote@ - -distclean-depend: - -rm -rf ./$(DEPDIR) - -.c.o: -@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< - -.c.obj: -@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(COMPILE) -c `cygpath -w $<` - -.c.lo: -@AMDEP_TRUE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< -CCDEPMODE = @CCDEPMODE@ - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: -docDATA_INSTALL = $(INSTALL_DATA) -install-docDATA: $(doc_DATA) - @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(docdir) - @list='$(doc_DATA)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f="`echo $$p | sed -e 's|^.*/||'`"; \ - echo " $(docDATA_INSTALL) $$d$$p $(DESTDIR)$(docdir)/$$f"; \ - $(docDATA_INSTALL) $$d$$p $(DESTDIR)$(docdir)/$$f; \ - done - -uninstall-docDATA: - @$(NORMAL_UNINSTALL) - @list='$(doc_DATA)'; for p in $$list; do \ - f="`echo $$p | sed -e 's|^.*/||'`"; \ - echo " rm -f $(DESTDIR)$(docdir)/$$f"; \ - rm -f $(DESTDIR)$(docdir)/$$f; \ - done - -ETAGS = etags -ETAGSFLAGS = - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$tags$$unique" \ - || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) - -top_distdir = ../.. -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) - -distdir: $(DISTFILES) - @list='$(DISTFILES)'; for file in $$list; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkinstalldirs) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(PROGRAMS) $(DATA) - -installdirs: - $(mkinstalldirs) $(DESTDIR)$(docdir) - -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool clean-local clean-noinstPROGRAMS \ - mostlyclean-am - -distclean: distclean-am - -distclean-am: clean-am distclean-compile distclean-depend \ - distclean-generic distclean-libtool distclean-tags - -dvi: dvi-am - -dvi-am: - -info: info-am - -info-am: - -install-data-am: install-docDATA - -install-exec-am: - -install-info: install-info-am - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -maintainer-clean-am: distclean-am maintainer-clean-generic \ - maintainer-clean-local - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -uninstall-am: uninstall-docDATA uninstall-info-am - -.PHONY: GTAGS all all-am check check-am clean clean-generic \ - clean-libtool clean-local clean-noinstPROGRAMS distclean \ - distclean-compile distclean-depend distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am info \ - info-am install install-am install-data install-data-am \ - install-docDATA install-exec install-exec-am install-info \ - install-info-am install-man install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic maintainer-clean-local mostlyclean \ - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ - tags uninstall uninstall-am uninstall-docDATA uninstall-info-am - - -# latex three times is the charm with references -# long tables require the .aux file to start from scratch -@BUILD_SPEC_TRUE@Theora.pdf : $(SPEC_SRCS) $(FIG_OBJS) vp3huff.tex spec.bib -@BUILD_SPEC_TRUE@ -$(RM) spec.aux -@BUILD_SPEC_TRUE@ pdflatex -interaction nonstopmode spec.tex -@BUILD_SPEC_TRUE@ bibtex spec.aux -@BUILD_SPEC_TRUE@ pdflatex -interaction nonstopmode spec.tex -@BUILD_SPEC_TRUE@ pdflatex -interaction nonstopmode spec.tex -@BUILD_SPEC_TRUE@ mv spec.pdf $@ -@BUILD_SPEC_FALSE@Theora.pdf : -@BUILD_SPEC_FALSE@ echo "*** Warning: Missing tools; $@ will not be built." - -vp3huff.tex : vp3huff - ./vp3huff > $@ - -figures : $(FIG_OBJS) - -# rules to generate latex and pdf versions of the xfig figures -.fig.tex: - fig2dev -L latex $< $@ - -.fig.pdf: - fig2dev -L pdf -p 0 $< $@ - -# clean targets -clean-local: - -$(RM) $(FIG_TEXS) - -$(RM) $(FIG_AUXS) - -$(RM) $(FIG_PDFS) - -$(RM) vp3huff - -$(RM) vp3huff.tex - -$(RM) vp3huff.aux - -$(RM) spec.aux - -$(RM) spec.log - -$(RM) spec.lof - -$(RM) spec.lot - -$(RM) spec.out - -$(RM) spec.bbl - -$(RM) spec.blg - -$(RM) spec.toc - -maintainer-clean-local: - -$(RM) $(built_docs) - -maintainerclean: maintainer-clean -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/Libraries/libtheora-1.1.1/doc/spec/Theora.pdf b/Libraries/libtheora-1.1.1/doc/spec/Theora.pdf deleted file mode 100644 index 9e1e3be4..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/Theora.pdf +++ /dev/null @@ -1,20770 +0,0 @@ -%PDF-1.4 -%ÐÔÅØ -5 0 obj -<< /S /GoTo /D (chapter.1) >> -endobj -8 0 obj -(Introduction) -endobj -9 0 obj -<< /S /GoTo /D (section.1.1) >> -endobj -12 0 obj -(VP3 and Theora) -endobj -13 0 obj -<< /S /GoTo /D (section.1.2) >> -endobj -16 0 obj -(Video Formats) -endobj -17 0 obj -<< /S /GoTo /D (section.1.3) >> -endobj -20 0 obj -(Classification) -endobj -21 0 obj -<< /S /GoTo /D (section.1.4) >> -endobj -24 0 obj -(Assumptions) -endobj -25 0 obj -<< /S /GoTo /D (section.1.5) >> -endobj -28 0 obj -(Codec Setup and Probability Model) -endobj -29 0 obj -<< /S /GoTo /D (section.1.6) >> -endobj -32 0 obj -(Format Conformance) -endobj -33 0 obj -<< /S /GoTo /D (chapter.2) >> -endobj -36 0 obj -(Coded Video Structure) -endobj -37 0 obj -<< /S /GoTo /D (section.2.1) >> -endobj -40 0 obj -(Frame Layout) -endobj -41 0 obj -<< /S /GoTo /D (section.2.2) >> -endobj -44 0 obj -(Picture Region) -endobj -45 0 obj -<< /S /GoTo /D (section.2.3) >> -endobj -48 0 obj -(Blocks and Super Blocks) -endobj -49 0 obj -<< /S /GoTo /D (section.2.4) >> -endobj -52 0 obj -(Macro Blocks) -endobj -53 0 obj -<< /S /GoTo /D (section.2.5) >> -endobj -56 0 obj -(Coding Modes and Prediction) -endobj -57 0 obj -<< /S /GoTo /D (section.2.6) >> -endobj -60 0 obj -(DCT Coefficients) -endobj -61 0 obj -<< /S /GoTo /D (chapter.3) >> -endobj -64 0 obj -(Decoding Overview) -endobj -65 0 obj -<< /S /GoTo /D (section.3.1) >> -endobj -68 0 obj -(Decoder Configuration) -endobj -69 0 obj -<< /S /GoTo /D (subsection.3.1.1) >> -endobj -72 0 obj -(Global Configuration) -endobj -73 0 obj -<< /S /GoTo /D (subsection.3.1.2) >> -endobj -76 0 obj -(Quantization Matrices) -endobj -77 0 obj -<< /S /GoTo /D (subsection.3.1.3) >> -endobj -80 0 obj -(Huffman Codebooks) -endobj -81 0 obj -<< /S /GoTo /D (section.3.2) >> -endobj -84 0 obj -(High-Level Decode Process) -endobj -85 0 obj -<< /S /GoTo /D (subsection.3.2.1) >> -endobj -88 0 obj -(Decoder Setup) -endobj -89 0 obj -<< /S /GoTo /D (subsection.3.2.2) >> -endobj -92 0 obj -(Decode Procedure) -endobj -93 0 obj -<< /S /GoTo /D (chapter.4) >> -endobj -96 0 obj -(Video Formats) -endobj -97 0 obj -<< /S /GoTo /D (section.4.1) >> -endobj -100 0 obj -(Color Space Conventions) -endobj -101 0 obj -<< /S /GoTo /D (section.4.2) >> -endobj -104 0 obj -(Color Space Conversions and Parameters) -endobj -105 0 obj -<< /S /GoTo /D (section.4.3) >> -endobj -108 0 obj -(Available Color Spaces) -endobj -109 0 obj -<< /S /GoTo /D (subsection.4.3.1) >> -endobj -112 0 obj -(Rec. 470M \(Rec. ITU-R BT.470-6 System M/NTSC with Rec. ITU-R BT.601-5\)) -endobj -113 0 obj -<< /S /GoTo /D (subsection.4.3.2) >> -endobj -116 0 obj -(Rec. 470BG \(Rec. ITU-R BT.470-6 Systems B and G with Rec. ITU-R BT.601-5\)) -endobj -117 0 obj -<< /S /GoTo /D (section.4.4) >> -endobj -120 0 obj -(Pixel Formats) -endobj -121 0 obj -<< /S /GoTo /D (subsection.4.4.1) >> -endobj -124 0 obj -(4:4:4 Subsampling) -endobj -125 0 obj -<< /S /GoTo /D (subsection.4.4.2) >> -endobj -128 0 obj -(4:2:2 Subsampling) -endobj -129 0 obj -<< /S /GoTo /D (subsection.4.4.3) >> -endobj -132 0 obj -(4:2:0 Subsampling) -endobj -133 0 obj -<< /S /GoTo /D (subsection.4.4.4) >> -endobj -136 0 obj -(Subsampling and the Picture Region) -endobj -137 0 obj -<< /S /GoTo /D (chapter.5) >> -endobj -140 0 obj -(Bitpacking Convention) -endobj -141 0 obj -<< /S /GoTo /D (section.5.1) >> -endobj -144 0 obj -(Overview) -endobj -145 0 obj -<< /S /GoTo /D (subsection.5.1.1) >> -endobj -148 0 obj -(Octets and Bytes) -endobj -149 0 obj -<< /S /GoTo /D (subsection.5.1.2) >> -endobj -152 0 obj -(Words and Byte Order) -endobj -153 0 obj -<< /S /GoTo /D (subsection.5.1.3) >> -endobj -156 0 obj -(Bit Order) -endobj -157 0 obj -<< /S /GoTo /D (section.5.2) >> -endobj -160 0 obj -(Coding Bits into Bytes) -endobj -161 0 obj -<< /S /GoTo /D (subsection.5.2.1) >> -endobj -164 0 obj -(Signedness) -endobj -165 0 obj -<< /S /GoTo /D (subsection.5.2.2) >> -endobj -168 0 obj -(Encoding Example) -endobj -169 0 obj -<< /S /GoTo /D (subsection.5.2.3) >> -endobj -172 0 obj -(Decoding Example) -endobj -173 0 obj -<< /S /GoTo /D (subsection.5.2.4) >> -endobj -176 0 obj -(End-of-Packet Alignment) -endobj -177 0 obj -<< /S /GoTo /D (subsection.5.2.5) >> -endobj -180 0 obj -(Reading Zero Bit Integers) -endobj -181 0 obj -<< /S /GoTo /D (chapter.6) >> -endobj -184 0 obj -(Bitstream Headers) -endobj -185 0 obj -<< /S /GoTo /D (section.6.1) >> -endobj -188 0 obj -(Common Header Decode) -endobj -189 0 obj -<< /S /GoTo /D (section.6.2) >> -endobj -192 0 obj -(Identification Header Decode) -endobj -193 0 obj -<< /S /GoTo /D (section.6.3) >> -endobj -196 0 obj -(Comment Header) -endobj -197 0 obj -<< /S /GoTo /D (subsection.6.3.1) >> -endobj -200 0 obj -(Comment Length Decode) -endobj -201 0 obj -<< /S /GoTo /D (subsection.6.3.2) >> -endobj -204 0 obj -(Comment Header Decode) -endobj -205 0 obj -<< /S /GoTo /D (subsection.6.3.3) >> -endobj -208 0 obj -(User Comment Format) -endobj -209 0 obj -<< /S /GoTo /D (section.6.4) >> -endobj -212 0 obj -(Setup Header) -endobj -213 0 obj -<< /S /GoTo /D (subsection.6.4.1) >> -endobj -216 0 obj -(Loop Filter Limit Table Decode) -endobj -217 0 obj -<< /S /GoTo /D (subsection.6.4.2) >> -endobj -220 0 obj -(Quantization Parameters Decode) -endobj -221 0 obj -<< /S /GoTo /D (subsection.6.4.3) >> -endobj -224 0 obj -(Computing a Quantization Matrix) -endobj -225 0 obj -<< /S /GoTo /D (subsection.6.4.4) >> -endobj -228 0 obj -(DCT Token Huffman Tables) -endobj -229 0 obj -<< /S /GoTo /D (subsection.6.4.5) >> -endobj -232 0 obj -(Setup Header Decode) -endobj -233 0 obj -<< /S /GoTo /D (chapter.7) >> -endobj -236 0 obj -(Frame Decode) -endobj -237 0 obj -<< /S /GoTo /D (section.7.1) >> -endobj -240 0 obj -(Frame Header Decode) -endobj -241 0 obj -<< /S /GoTo /D (section.7.2) >> -endobj -244 0 obj -(Run-Length Encoded Bit Strings) -endobj -245 0 obj -<< /S /GoTo /D (subsection.7.2.1) >> -endobj -248 0 obj -(Long-Run Bit String Decode) -endobj -249 0 obj -<< /S /GoTo /D (subsection.7.2.2) >> -endobj -252 0 obj -(Short-Run Bit String Decode) -endobj -253 0 obj -<< /S /GoTo /D (section.7.3) >> -endobj -256 0 obj -(Coded Block Flags Decode) -endobj -257 0 obj -<< /S /GoTo /D (section.7.4) >> -endobj -260 0 obj -(Macro Block Coding Modes) -endobj -261 0 obj -<< /S /GoTo /D (section.7.5) >> -endobj -264 0 obj -(Motion Vectors) -endobj -265 0 obj -<< /S /GoTo /D (subsection.7.5.1) >> -endobj -268 0 obj -(Motion Vector Decode) -endobj -269 0 obj -<< /S /GoTo /D (subsection.7.5.2) >> -endobj -272 0 obj -(Macro Block Motion Vector Decode) -endobj -273 0 obj -<< /S /GoTo /D (section.7.6) >> -endobj -276 0 obj -(Block-Level qi Decode) -endobj -277 0 obj -<< /S /GoTo /D (section.7.7) >> -endobj -280 0 obj -(DCT Coefficients) -endobj -281 0 obj -<< /S /GoTo /D (subsection.7.7.1) >> -endobj -284 0 obj -(EOB Token Decode) -endobj -285 0 obj -<< /S /GoTo /D (subsection.7.7.2) >> -endobj -288 0 obj -(Coefficient Token Decode) -endobj -289 0 obj -<< /S /GoTo /D (subsection.7.7.3) >> -endobj -292 0 obj -(DCT Coefficient Decode) -endobj -293 0 obj -<< /S /GoTo /D (section.7.8) >> -endobj -296 0 obj -(Undoing DC Prediction) -endobj -297 0 obj -<< /S /GoTo /D (subsection.7.8.1) >> -endobj -300 0 obj -(Computing the DC Predictor) -endobj -301 0 obj -<< /S /GoTo /D (subsection.7.8.2) >> -endobj -304 0 obj -(Inverting the DC Prediction Process) -endobj -305 0 obj -<< /S /GoTo /D (section.7.9) >> -endobj -308 0 obj -(Reconstruction) -endobj -309 0 obj -<< /S /GoTo /D (subsection.7.9.1) >> -endobj -312 0 obj -(Predictors) -endobj -313 0 obj -<< /S /GoTo /D (subsection.7.9.2) >> -endobj -316 0 obj -(Dequantization) -endobj -317 0 obj -<< /S /GoTo /D (subsection.7.9.3) >> -endobj -320 0 obj -(The Inverse DCT) -endobj -321 0 obj -<< /S /GoTo /D (subsection.7.9.4) >> -endobj -324 0 obj -(The Complete Reconstruction Algorithm) -endobj -325 0 obj -<< /S /GoTo /D (section.7.10) >> -endobj -328 0 obj -(Loop Filtering) -endobj -329 0 obj -<< /S /GoTo /D (subsection.7.10.1) >> -endobj -332 0 obj -(Horizontal Filter) -endobj -333 0 obj -<< /S /GoTo /D (subsection.7.10.2) >> -endobj -336 0 obj -(Vertical Filter) -endobj -337 0 obj -<< /S /GoTo /D (subsection.7.10.3) >> -endobj -340 0 obj -(Complete Loop Filter) -endobj -341 0 obj -<< /S /GoTo /D (section.7.11) >> -endobj -344 0 obj -(Complete Frame Decode) -endobj -345 0 obj -<< /S /GoTo /D (appendix.A) >> -endobj -348 0 obj -(Ogg Bitstream Encapsulation) -endobj -349 0 obj -<< /S /GoTo /D (section.A.1) >> -endobj -352 0 obj -(Overview) -endobj -353 0 obj -<< /S /GoTo /D (subsection.A.1.1) >> -endobj -356 0 obj -(MIME type) -endobj -357 0 obj -<< /S /GoTo /D (section.A.2) >> -endobj -360 0 obj -(Embedding in a logical bitstream) -endobj -361 0 obj -<< /S /GoTo /D (subsection.A.2.1) >> -endobj -364 0 obj -(Headers) -endobj -365 0 obj -<< /S /GoTo /D (subsection.A.2.2) >> -endobj -368 0 obj -(Frame data) -endobj -369 0 obj -<< /S /GoTo /D (subsection.A.2.3) >> -endobj -372 0 obj -(Granule position) -endobj -373 0 obj -<< /S /GoTo /D (section.A.3) >> -endobj -376 0 obj -(Multiplexed stream mapping) -endobj -377 0 obj -<< /S /GoTo /D (subsection.A.3.1) >> -endobj -380 0 obj -(Chained streams) -endobj -381 0 obj -<< /S /GoTo /D (subsection.A.3.2) >> -endobj -384 0 obj -(Grouped streams) -endobj -385 0 obj -<< /S /GoTo /D (appendix.B) >> -endobj -388 0 obj -(VP3) -endobj -389 0 obj -<< /S /GoTo /D (section.B.1) >> -endobj -392 0 obj -(VP3 Compatibility) -endobj -393 0 obj -<< /S /GoTo /D (section.B.2) >> -endobj -396 0 obj -(Loop Filter Limit Values) -endobj -397 0 obj -<< /S /GoTo /D (section.B.3) >> -endobj -400 0 obj -(Quantization Parameters) -endobj -401 0 obj -<< /S /GoTo /D (section.B.4) >> -endobj -404 0 obj -(Huffman Tables) -endobj -405 0 obj -<< /S /GoTo /D (appendix.C) >> -endobj -408 0 obj -(Colophon) -endobj -409 0 obj -<< /S /GoTo /D [410 0 R /FitH ] >> -endobj -412 0 obj << -/Length 183 -/Filter /FlateDecode ->> -stream -xÚuÏ1Â0 @ѽ§ð˜H4ØNÒ$+ ±’  Ú¶ªàþ¤tDLöòŸe„ l ü3W±XnÈ9Åd Ä;0z…ÀX«kˆ78ŠØ¤~¼ÈR#‹ý K®DªÛ’©/¯¶ïä9î2T‘ -ÖòeSg§4Zy]ÍΡÕ,eb#=‰þÝÝ&C’ø2 UJöÊž³}^é)Ù‰k¾íDg€ÍbZœà\#†©ÿùq‹eÂ=Š -endstream -endobj -410 0 obj << -/Type /Page -/Contents 412 0 R -/Resources 411 0 R -/MediaBox [0 0 612 792] -/Parent 417 0 R ->> endobj -413 0 obj << -/D [410 0 R /FitH 686.127] ->> endobj -414 0 obj << -/D [410 0 R /FitH 668.127] ->> endobj -411 0 obj << -/Font << /F15 415 0 R /F16 416 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -420 0 obj << -/Length 19 -/Filter /FlateDecode ->> -stream -xÚ3PHW0Ppç2ÀAc(á -endstream -endobj -419 0 obj << -/Type /Page -/Contents 420 0 R -/Resources 418 0 R -/MediaBox [0 0 612 792] -/Parent 417 0 R ->> endobj -421 0 obj << -/D [419 0 R /FitH 686.127] ->> endobj -418 0 obj << -/ProcSet [ /PDF ] ->> endobj -454 0 obj << -/Length 1207 -/Filter /FlateDecode ->> -stream -xÚå™Mw›8†÷ù,ŪO–3u;§™ÉÄÌlÚY[u8ƒCàtÚ_?Š ´6iNC2+>„%xîÕ}fÞÚƒÞüÚãiròê å¦aÌcä%Ÿ<£GÂc11^²ò>€Yqãji•ÿwòë RS@¯\{æär®çžE„#=ô‚‡(ŽÍ$Èfàšƒº,ü@WÛe©Ùõ„í[yAÎÔ/¾µßYÑPPê‡"»V¨VCcð×Q  -Ò•9O®eQ¦ÝEcAAè §8P!~àçOAŒS‹¯½ÛǨ ¤¡µÈp‹,[É€zã«yŠr“Z›ï,!žÓÔ  m–§U•}„ˆ.Ó!Žcüô¸ó5|$µûýI-·×UµÝÜjb}‹Ðó£s´£á‘ŽÆZGS[s°’K½E XÈz{Û†¸•¹wQWéU–gµ¯ýbnž·?Ìû[™ýL`ã@‘å¡B1!Ê|¦ÒªOúòf)»+QHž<æü&rSGƒV1‰¾¥Ña£Ã3+ÀRûŒBØF}µÊ¢.•,oË@ #.{°,c'ËÕÊt#ÑÞ§ÆQq Šmݳ§i¢G±)°“é‹ÌبÙú—r= :ò—H,I¬ÕèÓÜ„À¥v¶ªNÐ\è0ªdi®»OwÞ„ðiËRñÈ(‹LŸ§ËÒ愆K¬¹Ä\"Œ_ðf#]¯«ÚÙͺ£Æ•¹¶nH•vËU6XQƦš9C9£ÑÞÕjøÙ,1?3®%U©üL•œ -S¿ü`‘x1uÇQôŽ‘vb¤ýL.­¸wS;ÿ÷;]uËò.ÓTåçž²cH @d´´Û…°›µÏ.]B¦Ë¢õ¶,ŒÅÏ!B ÚìP:æ)ãÔI‚«†¢Ìs•¨ç­ï—ahâ êqH`Çoš|F³øc›ÞhI©³¯€‰“i]fKÙßÿ1{v½‚Xo·Êˆ*av‚¢ÞPWMp4WÅ€òr1±ºf =D&ØÝ5-6ë}›­¯ƒ÷òN«‚Ô±,7~²w\ lÒ7Yõ; ljYÉ )6&¼8P.¸œÉFB¤ÚpLm¿ [(PúKâã(õvv1§ƒ¨ÍÀl‚+W50gÑ4ÛÁéf$9ãûY5Y…kU½ ö¶0¦T :~x랺TbVäEë´·>ic+é² -L°ºá7–D@wúûõASÉÿŽ6צ.J®¬šÖk§¨‡RÝž©ÕýWCâ'ú0Û¤®à}ç«š)Íòô*woɨ‚ÿ6H,(Å“Žß#EÇ †‚åãÒDCµ Оë³|„ ª1{ÿ]ògpiN“P=Df`ñ¥ªIÞ˜ëóW¿%‹™yòsV_ë—ó -9Gê P(3ï`çV&içÖm†$Œ -˜Zõ+a>ÕÖþqv†}¿uÂto -LcmŠÓ¹>å;¶ÐW–—>½·…¾jl±©ì94Û[ŸÌͬÿ/›LT%Æ‚íoêš­ÿÊüࢣcdzé}5÷û®n12¬“vïÌÙÞ³¿$'ÿ±¹º -endstream -endobj -453 0 obj << -/Type /Page -/Contents 454 0 R -/Resources 452 0 R -/MediaBox [0 0 612 792] -/Parent 417 0 R -/Annots [ 422 0 R 423 0 R 424 0 R 425 0 R 426 0 R 427 0 R 428 0 R 429 0 R 430 0 R 431 0 R 432 0 R 433 0 R 434 0 R 435 0 R 436 0 R 437 0 R 438 0 R 439 0 R 440 0 R 441 0 R 442 0 R 443 0 R 444 0 R 445 0 R 446 0 R 447 0 R 448 0 R 459 0 R 449 0 R 460 0 R 450 0 R ] ->> endobj -422 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [105.873 515.086 185.975 523.997] -/Subtype /Link -/A << /S /GoTo /D (chapter.1) >> ->> endobj -423 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 502.885 218.672 511.796] -/Subtype /Link -/A << /S /GoTo /D (section.1.1) >> ->> endobj -424 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 490.685 209.872 499.596] -/Subtype /Link -/A << /S /GoTo /D (section.1.2) >> ->> endobj -425 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 478.484 203.396 487.395] -/Subtype /Link -/A << /S /GoTo /D (section.1.3) >> ->> endobj -426 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 464.347 201.515 475.084] -/Subtype /Link -/A << /S /GoTo /D (section.1.4) >> ->> endobj -427 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 452.146 302.802 462.995] -/Subtype /Link -/A << /S /GoTo /D (section.1.5) >> ->> endobj -428 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 441.883 238.072 450.794] -/Subtype /Link -/A << /S /GoTo /D (section.1.6) >> ->> endobj -429 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [105.873 419.557 239.725 428.468] -/Subtype /Link -/A << /S /GoTo /D (chapter.2) >> ->> endobj -430 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 405.419 206.634 416.156] -/Subtype /Link -/A << /S /GoTo /D (section.2.1) >> ->> endobj -431 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 393.219 210.785 403.956] -/Subtype /Link -/A << /S /GoTo /D (section.2.2) >> ->> endobj -432 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 381.018 253.791 391.866] -/Subtype /Link -/A << /S /GoTo /D (section.2.3) >> ->> endobj -433 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 370.755 204.891 379.666] -/Subtype /Link -/A << /S /GoTo /D (section.2.4) >> ->> endobj -434 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 356.617 276.29 367.466] -/Subtype /Link -/A << /S /GoTo /D (section.2.5) >> ->> endobj -435 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 346.354 220.914 355.265] -/Subtype /Link -/A << /S /GoTo /D (section.2.6) >> ->> endobj -436 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [105.873 322.09 220.505 332.939] -/Subtype /Link -/A << /S /GoTo /D (chapter.3) >> ->> endobj -437 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 309.89 244.437 320.738] -/Subtype /Link -/A << /S /GoTo /D (section.3.1) >> ->> endobj -438 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 297.69 269.579 308.538] -/Subtype /Link -/A << /S /GoTo /D (subsection.3.1.1) >> ->> endobj -439 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 285.489 275.1 296.227] -/Subtype /Link -/A << /S /GoTo /D (subsection.3.1.2) >> ->> endobj -440 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 275.226 266.216 284.137] -/Subtype /Link -/A << /S /GoTo /D (subsection.3.1.3) >> ->> endobj -441 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 261.088 263.615 271.937] -/Subtype /Link -/A << /S /GoTo /D (section.3.2) >> ->> endobj -442 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 248.888 241.42 259.736] -/Subtype /Link -/A << /S /GoTo /D (subsection.3.2.1) >> ->> endobj -443 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 238.625 256.807 247.536] -/Subtype /Link -/A << /S /GoTo /D (subsection.3.2.2) >> ->> endobj -444 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [105.873 216.298 196.61 225.209] -/Subtype /Link -/A << /S /GoTo /D (chapter.4) >> ->> endobj -445 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 202.161 254.289 213.009] -/Subtype /Link -/A << /S /GoTo /D (section.4.1) >> ->> endobj -446 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 189.96 324.913 200.809] -/Subtype /Link -/A << /S /GoTo /D (section.4.2) >> ->> endobj -447 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 177.76 245.433 188.608] -/Subtype /Link -/A << /S /GoTo /D (section.4.3) >> ->> endobj -448 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 165.006 451.577 176.961] -/Subtype /Link -/A << /S /GoTo /D (subsection.4.3.1) >> ->> endobj -459 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [105.873 153.051 276.262 165.006] -/Subtype /Link -/A << /S /GoTo /D (subsection.4.3.1) >> ->> endobj -449 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 140.85 451.577 152.806] -/Subtype /Link -/A << /S /GoTo /D (subsection.4.3.2) >> ->> endobj -460 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [105.873 128.895 276.262 140.85] -/Subtype /Link -/A << /S /GoTo /D (subsection.4.3.2) >> ->> endobj -450 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 119.186 206.69 128.097] -/Subtype /Link -/A << /S /GoTo /D (section.4.4) >> ->> endobj -456 0 obj << -/D [453 0 R /FitH 538.408] ->> endobj -452 0 obj << -/Font << /F48 455 0 R /F49 457 0 R /F8 458 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -506 0 obj << -/Length 1409 -/Filter /FlateDecode ->> -stream -xÚíš]s›F†ïý+¸„ û½›»Z‘“tì8µÔv¦i/ˆ´‘Kà"ä¤ýõ]Ø! F¢²:ÌÈXÑ°Þ‡sÞóž³ò­…å[oÏΧg¯.¸%yæ›Ûõê[ÉÂÒ7ok«¹ ¡.˜zé[a{ÀqÀØƯÕ?ÇEÛ“Íçu°º_†Ñbgë“Ë ±=Ç%¾„Xˆ£Ý¬öwŸc²FêÕÐóØò€%øþÏÃCþŒïÁU9• šgÈNo¥¾øÎÒMb~¹‘‹0ŽêðØLZw*:Õ‹ª\ æñ\- §6«wOW@bŸ‡é}0s´ïôÞÕýGjgê‡ìEæ—iËf¡(´ÊßïR,€=¡VÞáOrµò!´¯Èm™<„òk}‡|OÂæ#!¬ž ¤Á±ÔýëY*Óu-„ÏÿJ庫˜ ŒÈîCêÇÇo¢)JÀ¯GvœÌ׊¡ƒs:ú­ëd.“úÂÙ<ÿî2-HŠ* ’_3hÝ9Ý;BN$»p*·=½ ‘©Qì¸J§æ¦H ŒŸÉµ0Ê,I8ÄÑÐn?rhrßWêÒ$\DrÉõº¹`Ã4Ç/¿ ¨P§q4«G×ø[æHd}-Bè0±• éÁ¤§7ro&j©ÓÑ!Úƒ .ãdîÆ_Ü™Ü(ß™}—{§Tóùa©m%µ5ì<#Áz †Ä æ¥]ÿM&q©Éúâ}”ÑIåB& Ñ! L;Ø,=--ý:Md°ròšóNqjAafõ‘èmßiißGñj¥úƒüAèÕôØæo#a¶©h}FâÀh¥¥sx?7)þî< ò~ê^œ ºôaÿ`4¨¥LÑF\3=cijÍü5gÓ8º*P5§Ÿ‚ÞòƒQ‘U¼u‚¿d¥JÎÒ¸9‚¤ˆûD¬8úé2)uyËgü°æ·O}'H ù ‘^ÃI©× Øt{T1ôÂÃPO©¦&§v¥YÙ™‡¼%Yš¯úïȨǙ(¾aø§ù⎻ž`¸øÄcEŽ€a¬íA¼³ÓWÏ^ÙzT'Î ñ²é`“ªëËž†= Íd­©ìTœ‚jíÍ÷´˜¬”²ñõùwûèÇHt -ßGâ‡ÛOV™Zç{Ï£JGTy’Ob}°ÛÍŠ1,•ç¤T¼4ù”³ìG``*b7Tê?ÇÓ³Yla! -endstream -endobj -505 0 obj << -/Type /Page -/Contents 506 0 R -/Resources 504 0 R -/MediaBox [0 0 612 792] -/Parent 417 0 R -/Annots [ 451 0 R 461 0 R 462 0 R 463 0 R 464 0 R 465 0 R 466 0 R 467 0 R 468 0 R 469 0 R 470 0 R 471 0 R 472 0 R 473 0 R 474 0 R 475 0 R 476 0 R 477 0 R 478 0 R 479 0 R 480 0 R 481 0 R 482 0 R 483 0 R 484 0 R 485 0 R 486 0 R 487 0 R 488 0 R 489 0 R 490 0 R 491 0 R 492 0 R 493 0 R 494 0 R 495 0 R 496 0 R 497 0 R 498 0 R 499 0 R 500 0 R 501 0 R 502 0 R ] ->> endobj -451 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 655.231 310.606 666.079] -/Subtype /Link -/A << /S /GoTo /D (subsection.4.4.1) >> ->> endobj -461 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 643.14 310.606 653.988] -/Subtype /Link -/A << /S /GoTo /D (subsection.4.4.2) >> ->> endobj -462 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 631.049 310.606 641.897] -/Subtype /Link -/A << /S /GoTo /D (subsection.4.4.3) >> ->> endobj -463 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 618.958 391.718 629.806] -/Subtype /Link -/A << /S /GoTo /D (subsection.4.4.4) >> ->> endobj -464 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [159.671 596.814 291.053 607.662] -/Subtype /Link -/A << /S /GoTo /D (chapter.5) >> ->> endobj -465 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [174.615 586.66 240.23 595.46] -/Subtype /Link -/A << /S /GoTo /D (section.5.1) >> ->> endobj -466 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 572.632 306.925 583.48] -/Subtype /Link -/A << /S /GoTo /D (subsection.5.1.1) >> ->> endobj -467 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 560.541 331.306 571.389] -/Subtype /Link -/A << /S /GoTo /D (subsection.5.1.2) >> ->> endobj -468 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 550.387 273.937 559.298] -/Subtype /Link -/A << /S /GoTo /D (subsection.5.1.3) >> ->> endobj -469 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [174.615 536.359 299.813 547.207] -/Subtype /Link -/A << /S /GoTo /D (section.5.2) >> ->> endobj -470 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 524.268 278.005 535.116] -/Subtype /Link -/A << /S /GoTo /D (subsection.5.2.1) >> ->> endobj -471 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 512.176 313.594 523.025] -/Subtype /Link -/A << /S /GoTo /D (subsection.5.2.2) >> ->> endobj -472 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 500.085 313.318 510.934] -/Subtype /Link -/A << /S /GoTo /D (subsection.5.2.3) >> ->> endobj -473 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 487.994 341.545 498.843] -/Subtype /Link -/A << /S /GoTo /D (subsection.5.2.4) >> ->> endobj -474 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 475.903 344.423 486.752] -/Subtype /Link -/A << /S /GoTo /D (subsection.5.2.5) >> ->> endobj -475 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [159.671 455.696 270.916 464.607] -/Subtype /Link -/A << /S /GoTo /D (chapter.6) >> ->> endobj -476 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [174.615 443.605 307.893 452.516] -/Subtype /Link -/A << /S /GoTo /D (section.6.1) >> ->> endobj -477 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [174.615 431.514 326.158 440.425] -/Subtype /Link -/A << /S /GoTo /D (section.6.2) >> ->> endobj -478 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [174.615 419.423 275.93 428.334] -/Subtype /Link -/A << /S /GoTo /D (section.6.3) >> ->> endobj -479 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 405.395 342.652 416.243] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.3.1) >> ->> endobj -480 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 395.241 342.818 404.152] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.3.2) >> ->> endobj -481 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 383.15 331.831 391.951] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.3.3) >> ->> endobj -482 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [174.615 369.122 258.495 379.97] -/Subtype /Link -/A << /S /GoTo /D (section.6.4) >> ->> endobj -483 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 357.031 370.63 367.879] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.4.1) >> ->> endobj -484 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 344.94 375.695 355.788] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.4.2) >> ->> endobj -485 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 332.849 381.7 343.586] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.4.3) >> ->> endobj -486 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 322.695 355.299 331.606] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.4.4) >> ->> endobj -487 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 308.667 325.383 319.515] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.4.5) >> ->> endobj -488 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [159.671 288.46 248.56 297.371] -/Subtype /Link -/A << /S /GoTo /D (chapter.7) >> ->> endobj -489 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [174.615 276.369 295.883 285.28] -/Subtype /Link -/A << /S /GoTo /D (section.7.1) >> ->> endobj -490 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [174.615 262.341 343.51 273.189] -/Subtype /Link -/A << /S /GoTo /D (section.7.2) >> ->> endobj -491 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 250.25 356.793 261.098] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.2.1) >> ->> endobj -492 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 238.159 358.897 249.007] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.2.2) >> ->> endobj -493 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [174.615 226.068 316.777 236.916] -/Subtype /Link -/A << /S /GoTo /D (section.7.3) >> ->> endobj -494 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [174.615 213.977 320.956 224.825] -/Subtype /Link -/A << /S /GoTo /D (section.7.4) >> ->> endobj -495 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [174.615 203.823 266.299 212.623] -/Subtype /Link -/A << /S /GoTo /D (section.7.5) >> ->> endobj -496 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 191.732 329.258 200.643] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.5.1) >> ->> endobj -497 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 179.641 387.816 188.552] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.5.2) >> ->> endobj -498 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [174.615 165.612 297.147 176.461] -/Subtype /Link -/A << /S /GoTo /D (section.7.6) >> ->> endobj -499 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [174.615 155.459 274.712 164.37] -/Subtype /Link -/A << /S /GoTo /D (section.7.7) >> ->> endobj -500 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 143.368 317.607 152.279] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.7.1) >> ->> endobj -501 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 131.277 341.96 140.188] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.7.2) >> ->> endobj -502 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [197.529 119.186 337.671 128.097] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.7.3) >> ->> endobj -504 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -539 0 obj << -/Length 1090 -/Filter /FlateDecode ->> -stream -xÚÝ™Aw›8Çïùá‘4BHÇر“îkšn—ͥݱY‡÷°ñbÜÝöÓïã­cºMð^ öÃü4óŸÿb-,b]³ói–ò”` -ÿ´(žÊRx”V8·>ÚãÛwáä]ø›óGøËùTî]à{œ(¬¼0I}ͩƧøI¬|a™“Wg– Œx\ø–ËÌO:.%ŒÙ¿¯æY²Z8.Ø—c}äöû<ž'³"ÉVO†·>ºR€í9®OÈ0Û¥D‚­Ä!HŒyŠrË¥ÔS¾¿CäQ„D9·ÇÙÏìµCímQÑâvñïcƒ[–7oC¼.þ ¤ýü¬zþ7+‡ög‡I;΋]¸4<‰› -Hæ¸ø§Y¼Ù¼“Æ >®=%ä`†t¯¾ªäC<ËV›"ßvæC è@ó+Õ“Gj¬_ʨ]Êìr¡µðœƒ–£#ŒYj—Y—ñ_̮ۨ"ùuE˜¯‚>«úêdtÏ%#É@E&4âbÄGÖ⳩~¼‡Í)AˆAç`'!Õ#vx“–§u•7«¼â"]dyR<`[6oDþ¼îTöÔ\JpXÔÜ·¦ldkóDÓ$-â\—Æl̇—TÊNæ÷aJ´ - Œk\ô¯™‘—(݇٪c„–ðj>Ç[Dà š;µ[›™Ù÷Áå'^ËÙñ*Œ˜À`Ús¾µÂðîôlu -R %;©¨¾EFí‹.·§šG˺<¡—ŒæqËþüä,²8çS®öÚT—rOqDÇ•ÝFPûv¡»u”X¥âhi¾NV³h½Ù¦&ˆ -ïÃ,Z×üû]r=ûþÂ]hM fßVNâsÿÝ*…ìä ɳTŸê‚5H©¸}óæfR5šè—uð­x÷…Š:þl`n71fo²Ô˜î ¥ù|×E'•G‹Ì×4[<Ö¤û]Ž4ïÔë•ž.:œô 'V‡ÓuÍãv·(|õ̾øH›3¤¦ÚºÔµìyTD-j´Où œÄ#'0œ®rÓYoÓŠ”Q¨l“tîä?¹ö‘“ž’F’n¶i‘ ‹ù'žB»‚Œ0–ÑzÝÑs)N‡lU8í§CPëÐø!JV†¯xlÚ±"í :c…­8P+ÎUžm«ò^Šî -ŠÛ‚XŸu0òžœÏ=Ȩés!ð¤/ŸúÜú\Éì»÷ÐÚ®P„û8 ôv±£2J±%Õ£— ¡Û´Ì÷IšÖz°ÚÞPËáÈ•áK¿Õ¯–ço“%r+sýN·pQº[¡ Ü?=ƒÁ¦†Ö¯å†´|Ü6¯rt%tÂGåŽv¾m³Æ|yzºÈt#½«A]o? -˨"j[ݧíøáTœìï©¥ÿ#»õ»nTKìÇYš­Ú®Œ ®I>Ýê“ðì_.~Q§ -endstream -endobj -538 0 obj << -/Type /Page -/Contents 539 0 R -/Resources 537 0 R -/MediaBox [0 0 612 792] -/Parent 417 0 R -/Annots [ 503 0 R 509 0 R 510 0 R 511 0 R 512 0 R 513 0 R 514 0 R 515 0 R 516 0 R 517 0 R 518 0 R 519 0 R 520 0 R 521 0 R 522 0 R 523 0 R 524 0 R 525 0 R 526 0 R 527 0 R 528 0 R 529 0 R 530 0 R 531 0 R 532 0 R 533 0 R 534 0 R 535 0 R 536 0 R ] ->> endobj -503 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 655.231 248.976 666.079] -/Subtype /Link -/A << /S /GoTo /D (section.7.8) >> ->> endobj -509 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 643.276 305.514 654.124] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.8.1) >> ->> endobj -510 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 631.321 336.508 642.169] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.8.2) >> ->> endobj -511 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 621.303 211.256 630.103] -/Subtype /Link -/A << /S /GoTo /D (section.7.9) >> ->> endobj -512 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 609.347 222.132 618.258] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.9.1) >> ->> endobj -513 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 595.455 243.883 606.193] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.9.2) >> ->> endobj -514 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 585.437 253.929 594.348] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.9.3) >> ->> endobj -515 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 571.545 356.351 582.393] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.9.4) >> ->> endobj -516 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 559.59 208.571 570.438] -/Subtype /Link -/A << /S /GoTo /D (section.7.10) >> ->> endobj -517 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 549.572 250.581 558.483] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.10.1) >> ->> endobj -518 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 537.616 238.957 546.527] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.10.2) >> ->> endobj -519 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 523.724 272 534.572] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.10.3) >> ->> endobj -520 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 511.769 252.85 522.617] -/Subtype /Link -/A << /S /GoTo /D (section.7.11) >> ->> endobj -521 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [105.873 489.851 270.646 500.699] -/Subtype /Link -/A << /S /GoTo /D (appendix.A) >> ->> endobj -522 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 479.833 186.432 488.633] -/Subtype /Link -/A << /S /GoTo /D (section.A.1) >> ->> endobj -523 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 465.941 228.663 476.678] -/Subtype /Link -/A << /S /GoTo /D (subsection.A.1.1) >> ->> endobj -524 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 453.986 290.957 464.834] -/Subtype /Link -/A << /S /GoTo /D (section.A.2) >> ->> endobj -525 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 443.968 212.28 452.879] -/Subtype /Link -/A << /S /GoTo /D (subsection.A.2.1) >> ->> endobj -526 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 432.012 227.583 440.923] -/Subtype /Link -/A << /S /GoTo /D (subsection.A.2.2) >> ->> endobj -527 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 418.12 250.262 428.968] -/Subtype /Link -/A << /S /GoTo /D (subsection.A.2.3) >> ->> endobj -528 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 406.165 271.447 417.013] -/Subtype /Link -/A << /S /GoTo /D (section.A.3) >> ->> endobj -529 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 396.147 250.248 405.058] -/Subtype /Link -/A << /S /GoTo /D (subsection.A.3.1) >> ->> endobj -530 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [143.731 382.255 252.282 393.103] -/Subtype /Link -/A << /S /GoTo /D (subsection.A.3.2) >> ->> endobj -531 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [105.873 362.274 145.032 371.102] -/Subtype /Link -/A << /S /GoTo /D (appendix.B) >> ->> endobj -532 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 348.382 228.607 359.23] -/Subtype /Link -/A << /S /GoTo /D (section.B.1) >> ->> endobj -533 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 336.426 254.151 347.275] -/Subtype /Link -/A << /S /GoTo /D (section.B.2) >> ->> endobj -534 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 324.471 255.008 335.209] -/Subtype /Link -/A << /S /GoTo /D (section.B.3) >> ->> endobj -535 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 314.453 214.687 323.364] -/Subtype /Link -/A << /S /GoTo /D (section.B.4) >> ->> endobj -536 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [105.873 290.598 170.547 301.446] -/Subtype /Link -/A << /S /GoTo /D (appendix.C) >> ->> endobj -540 0 obj << -/D [538 0 R /FitH 686.127] ->> endobj -537 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -543 0 obj << -/Length 96 -/Filter /FlateDecode ->> -stream -xÚ3PHW0Ppçr -áÒw³P°Ô³432SIS043Ð333W0³0Ó342WIQˆÖÈ,ÓŒ ñÒw37FRida®ghh4¬ÆÙß/ÄÕ/$¤’Ëj<:íÂjm¢ -endstream -endobj -542 0 obj << -/Type /Page -/Contents 543 0 R -/Resources 541 0 R -/MediaBox [0 0 612 792] -/Parent 417 0 R ->> endobj -544 0 obj << -/D [542 0 R /FitH 686.127] ->> endobj -541 0 obj << -/Font << /F8 458 0 R /F73 507 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -570 0 obj << -/Length 1117 -/Filter /FlateDecode ->> -stream -xÚÝXI“›:¾Ï¯àˆIIäø’x’WsH%>e90;ÔÃà\¢‰üˆ¦–¤~D©ã1ìs&ôŠÄÇ3#BÜ«ræá.ã&+ X<ô&uWU¼IõT\$z°Í– 쬪vaˆÝµ|»ú_„—²‰ÙœµÙ\úš$w3uÔ:%bgÚ£Œ’ˆO&Qû#md­Á‘É.NìwVƒi§ãé`kýïzµMŒÜ¼Ü³uç”y^êòO=]VñÖd"ÓÔS<³M'øµþó -l7*^UµIP¯_-IÅÓ&TÿÔôÌ÷_­ŒÅ|¾]Vª€Ž«äV,"ÁŸ>€ߌNæËS¹Õ2oå3&š|µ+–2­ OÄÉÙ¸‹B‡„ãe¡'D†ù"äš›á7‹‹ßJù³ -endstream -endobj -569 0 obj << -/Type /Page -/Contents 570 0 R -/Resources 568 0 R -/MediaBox [0 0 612 792] -/Parent 576 0 R -/Annots [ 545 0 R 546 0 R 547 0 R 548 0 R 549 0 R 550 0 R 551 0 R 552 0 R 553 0 R 554 0 R 555 0 R 556 0 R 575 0 R 557 0 R 558 0 R 559 0 R 560 0 R 561 0 R 562 0 R 563 0 R 564 0 R 565 0 R 566 0 R 567 0 R ] ->> endobj -545 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 513.761 310.107 524.61] -/Subtype /Link -/A << /S /GoTo /D (figure.2.1) >> ->> endobj -546 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 501.806 370.714 512.654] -/Subtype /Link -/A << /S /GoTo /D (figure.2.2) >> ->> endobj -547 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 489.851 285.316 500.699] -/Subtype /Link -/A << /S /GoTo /D (figure.2.3) >> ->> endobj -548 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 477.896 376.774 488.744] -/Subtype /Link -/A << /S /GoTo /D (figure.2.4) >> ->> endobj -549 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 467.878 324.111 476.789] -/Subtype /Link -/A << /S /GoTo /D (figure.2.5) >> ->> endobj -550 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 453.986 406.69 464.834] -/Subtype /Link -/A << /S /GoTo /D (figure.2.6) >> ->> endobj -551 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 442.03 349.488 452.879] -/Subtype /Link -/A << /S /GoTo /D (figure.2.7) >> ->> endobj -552 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 430.075 203.341 440.923] -/Subtype /Link -/A << /S /GoTo /D (figure.2.8) >> ->> endobj -553 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 410.095 233.921 419.006] -/Subtype /Link -/A << /S /GoTo /D (figure.4.1) >> ->> endobj -554 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 398.139 233.921 407.051] -/Subtype /Link -/A << /S /GoTo /D (figure.4.2) >> ->> endobj -555 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 386.184 233.921 395.095] -/Subtype /Link -/A << /S /GoTo /D (figure.4.3) >> ->> endobj -556 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 372.292 451.577 383.14] -/Subtype /Link -/A << /S /GoTo /D (figure.4.4) >> ->> endobj -575 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [105.873 360.337 252.684 371.185] -/Subtype /Link -/A << /S /GoTo /D (figure.4.4) >> ->> endobj -557 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 348.382 434.502 359.23] -/Subtype /Link -/A << /S /GoTo /D (figure.4.5) >> ->> endobj -558 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 336.426 431.458 347.275] -/Subtype /Link -/A << /S /GoTo /D (figure.4.6) >> ->> endobj -559 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 324.471 434.502 335.32] -/Subtype /Link -/A << /S /GoTo /D (figure.4.7) >> ->> endobj -560 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 302.553 284.952 313.402] -/Subtype /Link -/A << /S /GoTo /D (figure.6.1) >> ->> endobj -561 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 292.535 269.593 301.447] -/Subtype /Link -/A << /S /GoTo /D (figure.6.2) >> ->> endobj -562 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 278.643 273.246 289.491] -/Subtype /Link -/A << /S /GoTo /D (figure.6.3) >> ->> endobj -563 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 266.688 255.756 277.536] -/Subtype /Link -/A << /S /GoTo /D (figure.6.4) >> ->> endobj -564 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 254.733 247.426 265.581] -/Subtype /Link -/A << /S /GoTo /D (figure.6.5) >> ->> endobj -565 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 232.815 335.36 243.663] -/Subtype /Link -/A << /S /GoTo /D (figure.7.1) >> ->> endobj -566 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 220.86 340.729 231.708] -/Subtype /Link -/A << /S /GoTo /D (figure.7.2) >> ->> endobj -567 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 208.905 290.625 219.753] -/Subtype /Link -/A << /S /GoTo /D (figure.7.3) >> ->> endobj -571 0 obj << -/D [569 0 R /FitH 686.127] ->> endobj -572 0 obj << -/D [569 0 R /FitH 533.793] ->> endobj -568 0 obj << -/Font << /F48 455 0 R /F8 458 0 R /F11 573 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -602 0 obj << -/Length 110 -/Filter /FlateDecode ->> -stream -xÚ3PHW0Ppçr -áÒw³P°Ô³432SIS043Ð333W0³0Ó342WIQˆÖ(ËÔŒ ñÒw37FRidjªgdd4¬ÆÇ38DS×ØØXÃß D›h¸yº‡¹ƒ´r@íC§]C¸Q¶B -endstream -endobj -601 0 obj << -/Type /Page -/Contents 602 0 R -/Resources 600 0 R -/MediaBox [0 0 612 792] -/Parent 576 0 R ->> endobj -603 0 obj << -/D [601 0 R /FitH 686.127] ->> endobj -600 0 obj << -/Font << /F8 458 0 R /F73 507 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -630 0 obj << -/Length 1137 -/Filter /FlateDecode ->> -stream -xÚÕ™ÏWÛ8Çïü>Ú‡¨ú-ùX(ÐÝ»,ÉÛº{0‰HôˆmžãðJÿúJ–ì&¶Yb6”pÁ¶¬Èžg¾3#`0`p~ýñxrôáŒÊS ¤@Áä6@É〠('Ád| /ôªŒFD°0¿uÇIÓ0¹YªUôïä÷#d–ƒA1ÜÉõ¹YW1ˆ9æժĔ#Ž€àÒ-ŠŠFbžä˼0ë^-#&™rW¿e3=õ¨ß9ø:"”† 1æ@ãø™)-“4d[£]ˆæï##Œ4ÈþZ'Y„eXêïI©óÌñšØ¡ÇûhdBò$BŽÞÅLÐ`Bt 'ÚpºVSàØP/’+K))’T•ªèaæWæ\»q"!ÞÅŸáÄXÍ ÷q:>ß”ÀôW:Æ^< óžÄñ„N«x[§ªHJ5s¬¼.T•.šã†”ï“žÀãæ;TpQ:Ði8 ƒ\éojénžEæy‘&e‡Küz‚40Š( „y ¬SKäÆ °÷ƒšÃxm…YXaFaáÆŽ—y5wjv·rƒ·µ©¤_´8Ë‘8Ž ”¯9/ Âw¡²wŒwá3HFU®¹Ô™N]9›ûR; ÿ¶'ËuWQbÄ2±¡Z+­­¾®Í;ÎvSÖˆðц• µDh?ú® -Ãÿ:Žº•Â#ü¼þ"’&¾2<É+황•»öF‹<›»³ëµŸ{¡²y¹èf.Þ,oó“¯A äâkWãE^”½$Œãu]Œ¿! >Ø+±I¦EîlsÂ+¬ðŠð®®^ª›éÚ'.ý@7ÆXL¼Á²¨Ž*Þ UCÆ{ËS*íQ#I¾wx)L†EØeÞJgjZÖ÷NòÔ‰{ž)—ýºúcFÿ·Ëô™.Ñ`Ó‰7ýôÏãºó¶•í}så9Œ×iš¯R¡½M4I:”¯,Êx -Ÿjÿ‰[è„GGžBÇy|`èz)‰Á¹ŠâÞHªÈØM6wy^䦅èKFP¼×-‹˜ v)ʬku« -•MÕFoikƶìœnô?Õɧ8ê„ÜÊUûý°$¿^†c9œ‡p<¾T’ªç /Ÿ•ñIæûòOúA¯òb»ÁòpDÝ`U«wÿø1&zY{! ?øZã‰EÕËÎÌ™¶RÞÝe”OÇŠÝÿDpxÖáÌ™‹øèF{ ùxoã¤kcÊ7VmÓjÛ’±ÎjÏðLlÒYU£m™¡â•u¢²½ ¸g½®µL¼qä§qcýýéP0þp&àæ½$@`ižY=«0BDÝ´Ö>>b¤ždŸÕ³R ˆ@õœû¥Þ2³µž˜ÕS÷PeS¤> endobj -604 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 515.699 230.904 524.61] -/Subtype /Link -/A << /S /GoTo /D (table.2.1) >> ->> endobj -605 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 491.844 261.733 502.692] -/Subtype /Link -/A << /S /GoTo /D (table.3.1) >> ->> endobj -606 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 471.863 244.631 480.663] -/Subtype /Link -/A << /S /GoTo /D (table.4.1) >> ->> endobj -607 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 459.908 250.373 468.708] -/Subtype /Link -/A << /S /GoTo /D (table.4.2) >> ->> endobj -608 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 436.053 289.518 446.901] -/Subtype /Link -/A << /S /GoTo /D (table.6.3) >> ->> endobj -609 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 426.035 294.499 434.946] -/Subtype /Link -/A << /S /GoTo /D (table.6.4) >> ->> endobj -610 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 412.143 350.539 422.991] -/Subtype /Link -/A << /S /GoTo /D (table.6.5) >> ->> endobj -611 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 402.125 322.007 411.036] -/Subtype /Link -/A << /S /GoTo /D (table.6.6) >> ->> endobj -612 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 388.232 279.445 399.08] -/Subtype /Link -/A << /S /GoTo /D (table.6.18) >> ->> endobj -613 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 366.314 230.351 377.163] -/Subtype /Link -/A << /S /GoTo /D (table.7.3) >> ->> endobj -614 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 354.359 312.875 365.207] -/Subtype /Link -/A << /S /GoTo /D (table.7.7) >> ->> endobj -615 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 342.404 314.978 353.252] -/Subtype /Link -/A << /S /GoTo /D (table.7.11) >> ->> endobj -616 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 330.449 267.157 341.297] -/Subtype /Link -/A << /S /GoTo /D (table.7.18) >> ->> endobj -617 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 320.431 268.264 329.342] -/Subtype /Link -/A << /S /GoTo /D (table.7.19) >> ->> endobj -618 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 306.539 352.061 317.387] -/Subtype /Link -/A << /S /GoTo /D (table.7.23) >> ->> endobj -619 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 294.583 242.057 305.432] -/Subtype /Link -/A << /S /GoTo /D (table.7.33) >> ->> endobj -620 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 282.628 266.41 293.476] -/Subtype /Link -/A << /S /GoTo /D (table.7.38) >> ->> endobj -621 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 270.673 245.779 281.521] -/Subtype /Link -/A << /S /GoTo /D (table.7.42) >> ->> endobj -622 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 258.718 324.498 269.566] -/Subtype /Link -/A << /S /GoTo /D (table.7.46) >> ->> endobj -623 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 246.763 416.431 257.611] -/Subtype /Link -/A << /S /GoTo /D (table.7.47) >> ->> endobj -624 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 234.808 336.37 245.656] -/Subtype /Link -/A << /S /GoTo /D (table.7.65) >> ->> endobj -625 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 222.852 351.77 233.701] -/Subtype /Link -/A << /S /GoTo /D (table.7.75) >> ->> endobj -626 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 210.897 338.503 221.745] -/Subtype /Link -/A << /S /GoTo /D (table.7.85) >> ->> endobj -627 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [120.817 198.942 404.476 209.79] -/Subtype /Link -/A << /S /GoTo /D (table.7.89) >> ->> endobj -631 0 obj << -/D [629 0 R /FitH 686.127] ->> endobj -632 0 obj << -/D [629 0 R /FitH 538.613] ->> endobj -628 0 obj << -/Font << /F48 455 0 R /F8 458 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -659 0 obj << -/Length 114 -/Filter /FlateDecode ->> -stream -xÚ3PHW0Ppçr -áÒw³P°Ô³432SIS043Ð333W0³0Ó342WIQˆÖ(ËÌÌÔŒ ñÒw37FRkTkad4¬ÊÇ38DS×ØØXÃß D›h„hZ˜h8:ù¸ƒts@-E§]C¸ „} -endstream -endobj -658 0 obj << -/Type /Page -/Contents 659 0 R -/Resources 657 0 R -/MediaBox [0 0 612 792] -/Parent 576 0 R ->> endobj -660 0 obj << -/D [658 0 R /FitH 686.127] ->> endobj -657 0 obj << -/Font << /F8 458 0 R /F73 507 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -663 0 obj << -/Length 1819 -/Filter /FlateDecode ->> -stream -xÚÍXKoÜ6¾ûW訲 )’•¶‡¶HúZ ¨âh‰^+ÕJŽ¤uìþúÎp(YÚÕºI‹½x)>æñÍÇ™¡y´‹xôÿß]^¼|£L”(–™LD—7‘à)3ié,cy–E—eô6þµìPµÍf+3Û¦¤Á÷0#E| “7õ›w—?¿|c¢œåi’¢PmuÂ’Õ–±ŒOʪ¦¬ -;¸žä·vG^Uß´uÝ¢Û=N¸v¿ÑilëCØQ‡[ú½öK$ø\&#œ´=´á@ÕØî‘ÜNs¦¸ j2Ò‹8ìñoÝ!œ*¾âšCÌ®‰Ž0N`Vx'¿G±Vç<¨“&èzý`÷wµ{uŠ`õ@e…&(V#‘=EBÁç+á×L¤jŠHO’݇ƒ­ÉM§†Q+p·Ú«³hàši`ÐHd韷\eÙsOe2Q„?œš,4¸¦VH„’‡QÅ4ʇpjf5~VãÙ–~'ùÅÏzm|˜Eì©„k6´ä³L±¤Ï­{°3ÄdìÅòIz>™F$Óÿ'“øC¦N…‚ ‰’_€ER0ˆà›š%è$ÇÜ©2tUÐwéIÕø‹ž§/ ûHKíO0êïõ¢ÂÍE¨¸2>Ì ¢ ÅãGÊ@7G9¸{†r µf¦¢s6ØB¼ >@x”:ÉÌ^j4|Ì|0*}è2§>VÞ_œ¬Þëõ†ÓO)>¼å­·+ØJ‰÷[0ó' ó fǹ Ö€šÅ:ýoÛv­¶]é: -_RØdrº$$¶êÂÜ:ì¸RXä3?p¶Búî]0®¤‡Þ_a\o›ú‘FMÛ‘ò…34Ñ¢Zˆ[g·k&ûŽÂ¬.žVÒH:ƒÈYj`RQÆg2ìšY«V¬…ÉÀNõp:-ª°,Wqm»#ic–¡(àŒ¯*íªÑž-ÞR< t ª°6í´Ï·Å¡ó¾êøè`‚fº‘p sý¡Ü¯é³h÷h ¶(‡©×B·ƒ­„‰šc“Ý¡Y³µïÑÂÁŒôd˜¡&¸rÛWÑEåô>Ògç tôGoÉ‹Ñ oL¦Â}AqOæÀ‡{¸««¢"ða[B[jîJ"0©ö^1 ‚cZÌÛ0©9—ŽÖ+Õ"ä²®²×5Ö$œò–i †ÁÞ>TûPüÄz“G} `Ãu5!s¥GÓƹ~h»`ߘ’æN„¤3ϲ)Ýmü t‚ÑÜtÄ#QñOcµwee‡pøpˆÐOÂÆŒÓÖ÷tKÏʦ™½=µ4ÀÝAå ÌÕ`O¾IåA Ì3åÔãþÔ÷¹³‚‘ÝÑáÙ­n»P l7U£P9^- -îË7b^ §TžHx…„jôžª¡ór]°«¡ MKÒtÜðþHçQ¿¬ÌI¹¶×}[·Z==e$Ý)ê7ˆZÔ×`.\±X(è]òc›Í9“ÙŠO[l$v|Æ¿ÑžE'ûj¹ñhÂ'uÀ|çy‡þ²<üDþLð€4ê$vy>Óö ±K­§ës&xÓÕ¶B ÕðšCAEíI+u–ÐBPëVAðH 4m3öþFûeYÜ–=ª/öl噽ñü¿Âf.,œTÀÏO¯<ųUñü¤òø–µÈð#O`Õõ}xïÝÚñ>wgƒ¡BÑÃéÓ/aµÊ<Ë—ÓZuØž·P¬È–ÿY÷ÙÈöðˆñ#´u4sïFÖ|Q„S¸ó:ûw#Ûa£‘€)lãÓêa± rÜßõ„i› -endstream -endobj -662 0 obj << -/Type /Page -/Contents 663 0 R -/Resources 661 0 R -/MediaBox [0 0 612 792] -/Parent 576 0 R ->> endobj -664 0 obj << -/D [662 0 R /FitH 686.127] ->> endobj -665 0 obj << -/D [662 0 R /FitH 538.126] ->> endobj -661 0 obj << -/Font << /F48 455 0 R /F8 458 0 R /F49 457 0 R /F74 666 0 R /F14 574 0 R /F11 573 0 R /F1 667 0 R /F10 668 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -671 0 obj << -/Length 2207 -/Filter /FlateDecode ->> -stream -xÚÍYMsÛȽëWà’ -X Æóý‘µ}Hjʶjݬ=Ð"$c#^²wÿ}Þ|À!HEªTN$ƒž™î~¯_iq_ÐâïW½¾zóÁŽ8Íuq}W0M‰Ö¦ÐVÆMq½)>–¿­~¾þáÍ3žÈ©!B(X S~Üv+mÊõJë²k¶íª?ÛÿbË¿mÛ¯uëì½­+šÖï?ß|`ld¼ê­WÜ`PÄ5ÖïÞ}š¼=Ý:—DZÝoèíŠÛ²«ïë¶ d¹i¾6û¸3!Êí]<ÓdYˈs¶·°Ž3ÆKX¢¬éŸò üž1ñb4íÈŒ$Ü % #šÆÓKǦ§ŸšÃïm½K¶Æ›¡D1]0I¨Lἡ‚û‰ãD*QPÂúT' ´ÐÄa½ E\QIÂú÷ƒc®¾¿¾úõŠaeZ°BHA\£…#\²âöñêãÏ´Øàá°/àÕoaê#/¸í¡ø×ÕO1'«ySÆi˜‚I¦&NLFmÁQT Û7gj"4|i MûÿnU1J)ÎÛòí±W#|Èz¼v%¡š• ÎV—/tÂÍÁ¯á<ŽèçùN=Ïwq²œP1Zön»¡\{6¥ãص§I€+b-¼ŒOï„S¨T8ê·?äpMå<ž $¯,]®#WìêÇuÓnz"¹ÛmヮŸÑ d÷”»8xá0ë€@ýÁ8”‚>ák S˾Öç|-vbÀCbÎWìd†äòÌøYF)`ÌyùKÎ'f¾™‰)ï—¡†ý Á¤Èð('̘rYId€y0jOcÞ€:àIe$qÒ-aÞ;‡üøƒ%­ˆæª?Êñ¾à mÎ9CœqäJ1PníP0¸9qÅœ '¨¤Ÿ«…àÑb(`³îðM»ò[Ó}îÇš}ÛÔ7”ɶñbáÏþ¡K8ì]½zHï†ù[?|ó°Xl¤±vÛVm}¿îš¯~8½Õ^}¨÷A†à¬HЩä5l¬Íñš@M;rÌܵöyv\ÆÇÈ"+ª¨ˆàdb¸ì,V²·þÓ,RœPD)5å8¸äëJ)¸ò)ýÜ~ê@yõ&:.ñNòÝ]Wí?7w]ÓÞÇ¡!<Ÿ¢±ýcŠÄíöñËCýXG‚ŒcÍHše|i-ÑN,r¢;„ã$'V€ª¸†8ËHvd®éödU)æÊ+ Úöd®lùåi÷ÎÅÉöõ>ÑñéúÔÅÈ>N©oŸÂ·ë>…µ,·+nʘŒ;5)–ŸûRµÅ«™ÊbQ>úßUó塉;ŽóõÊb{f½ -ëðŒ6bÔfÁ+š©…ÒEiPZäe|p7 Cryÿþ¿å€àç TŠ'»æþ³vDÉŠ• (´× ˜Óù # `h‚†±s@Ë.k_ˆ^ '°´cœ Q¹f¥Ïõ‡‡pH.ƒ -Ÿá°\ÊÀÛ}‡ý‹ñ›ÇÏh¢(Ûú[ü2òµÿ«„ÿFÓ¹Üäh=œZp‡!ÚîhÒ&Ž*EWÚT—D@",,F3» á%«ZŠoÂ[j‘%A9ö’@áuäŸ ûÔ„Ó±1ˆ1(Û=ø±à†à:È©D:ÑÃi¨˜ÑŒD,=%báxvØÅ…‰ì Åø¤ÀŽI#L:DN÷wû®^ƒXs -Q†.´Ru§ÙbFèØ$» íf„*{Z8@-㬕ßÂVÔ”ðBBäStC J…ÑŠ©Tœl:Ú¡hû=倜‚¾ãÄ»Ô@:ˆa…ÜJ ûïl÷è˜ ¡œð—æ­8‚§9Þà2o·}j77TÑæ=.eÞ¤]6Y¾øX)ô²ÿô+f’ zÿ`ðjã§XÓs ì8ánau4wvH1o:Ð]X£^CÏvñÇx U)ub½ðFS§Ý_ø¢·Ú«­µGòï Þ–NL©ëв҈Çc@ ÝÇë8ÚL ”C†!L™ì…ÔL4‡ë)éåŽK7™­I"¹yV»ytL9ð†r¾¿á<Îc9â96"”g%bž™ulãÕCÒW$1¢œ‚ É+ˆ -uŽÀÀŽ-ß‚ÅèVF^t+33RiøÈ€ªJå”΅ÞˆÆŸC!·Bú{Rý±@ÝÖö’P$DÝ^ŠXD2ÞF…“.æ!ÉBÄ'·^{ô§  vµöÅXwO»v?¹×’aÙáú*|®ãƒû$SÒÓ.M KºŒ<è/Z¾R£`jwÙaÌkò §HÈ”J¶oúm¸1 co‡‹ÐŒ£*5g£xÇæƒ'æd2Mps.˧‰“r–&oói¢&Y¡ÀTë”ܳ~äg{h*äA¿„=¤5Eß4Ó¾ì‚5–Ò]Ìv”zÊgÙÞ> endobj -672 0 obj << -/D [670 0 R /FitH 686.127] ->> endobj -669 0 obj << -/Font << /F8 458 0 R /F78 673 0 R /F11 573 0 R /F1 667 0 R /F10 668 0 R /F14 574 0 R /F70 508 0 R /F7 674 0 R /F49 457 0 R /F77 675 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -678 0 obj << -/Length 372 -/Filter /FlateDecode ->> -stream -xÚ½’=OÃ0†÷ü -ö«¿â!Eb`ÊÖ2¤J["‘D¢-ôçsΗš6¤"Ÿ}öÝóúµ9ÙN£»4šÍ­#¼‘†¤"¸g<1΀–¤9YÐçzÏŒ¥3†î‹ºb±²¸Ä(hÞ.îëêc]…Í{IŸfóÓ¦J%€ Ù´;áHÄ;}D%ö¤(–&©=N,&U[»”‚ªÇ¤fÖsŠ·z‹5]ò„+Ã^ŽÞ†`©<ë3¦·b¡Àk{%[_°Õ¯ÙîJ¶ýMbÇAù`³/:\YT¡¸}J!NH’ƒ¶¾Ge7¯±º|ô Þöç#ì"N8§éëÿRX”LZz`‚–!§i½i÷öL:ú6ë6Q…Ä¡ ã -ïäèú}7!Uh ÒèAë¥F‰4fU>Õă²ƒµ÷D†¾6œy‹¯Ö¼aŒm¼L:s³ãwæJÐÂü½¹Ù±3·l×;k@rùÎ&ÓÎöñ!¾k– -endstream -endobj -677 0 obj << -/Type /Page -/Contents 678 0 R -/Resources 676 0 R -/MediaBox [0 0 612 792] -/Parent 680 0 R ->> endobj -679 0 obj << -/D [677 0 R /FitH 686.127] ->> endobj -676 0 obj << -/Font << /F78 673 0 R /F8 458 0 R /F77 675 0 R /F11 573 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -683 0 obj << -/Length 124 -/Filter /FlateDecode ->> -stream -xÚ3PHW0Ppçr -áÒw³P°Ô³432SIS043Ð333W0³0Ó342WIQˆÖ¨ÈÌÔŒ ñÒw3GVjd`®gll -4¬È/¿DÓÌ\#QÓÌL£$3?OS×ØÈÍK1,4œóóÊRó@Å ³¸  .@§]C¸F%l -endstream -endobj -682 0 obj << -/Type /Page -/Contents 683 0 R -/Resources 681 0 R -/MediaBox [0 0 612 792] -/Parent 680 0 R ->> endobj -684 0 obj << -/D [682 0 R /FitH 686.127] ->> endobj -681 0 obj << -/Font << /F8 458 0 R /F78 673 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -688 0 obj << -/Length 1392 -/Filter /FlateDecode ->> -stream -xÚuVKsÛF ¾ûWhr)5c)|?Žvl§iýhme:$‡5¹4w,rÕ]Ò‰óë,@IL™‹`,øÐ_<-üÅûŸÿÏ7'o¯â|Æë,ςŦ^~ºÎÓb‘dù:N£Å¦Z|òþ”¯ËU”%Þ×exÚTvùeóÇÛ«|Q¬‹4LÑÐ_¬’`û ™l &iâ=/ÃÌsö)Ú‡9Ù;ösÅ76oN‘OG~xÜÞñéÞ_þýñÃýåűìá÷³ëëÿ 0> )ÖE’RHì,IRÖ»ûx}A’äHBüOÊ÷—ïînn.o/.'7gË<òþ5EWM.æ\ æÝ_›w·g×o–«8Ï<Õáîõ‚×Zb*½\A~Ê¡•&ª']a$+k<:5¹÷„ªFîŒìeEšÂÒa%miëWÓ«ï¯ÐðÝ\ÀaÐ(ò>á1à%ƒ Aâþý (Qd|Lpá—µóÄë"Ž§Nÿi$>$ŒRÏ%¢¢!NX+M¯tg™'µÌÛmE‰Q£Pwôß7|Xjz8§Ê’T×ìƒþ…Ú0ý¨z i-i'·õ© w5¯jw[9VBp|‘ï{¶ÑÃÃ*ŠC) -ì øŠÔ°Z(•]©ŽÕÐÑ>K*}#z:©Ø¨Ó=µÞn5&ëë¤!qàž‘ÿ Êì¶ëå*Íﬣc±ÛmUéžñ‚ÃÏÇØ/JÒTlá2<ËÊžÁ<æíUD®ÓÝjKP§Z›VuO𼘼yÅÿîÅHTÐpSà}öƒèÎ%-ñ6$Ô7lgwôŒR¡>½ðCŠ¼Ç] -—“Wbàn«;ñ¸•sᶲo¨ ]…Bü7ÐÜ[÷ -ä 9-Q<ˆ9‚Cà VVP…8ò½óW…4ÿsì]~·SBÁQ±ìô–™ˆ+eKa°¹ãœ‹ã1¡¹)‚ÚˆýÇY)è…+óœE>Zè¡ß ŽF0àÁ`Ù—0ìÉ$¢ïe»cC@þ<œsXƒKRN}]àL“’á@ÀúPü °¼'Ò·º•¤UÉZ Ûž˜—%Ld±¤%¾ÆÀ y†ÒÝI=°ÂÐ'ÄÁÔ±sDtˆž 01t~ ‘<®!q–ŠuÜ¥HÍœ¦•4ö”GGÕ&ÁRÈY–ÝáHÁÿJ–ŒQù‹©z…ïq9•ažbÁÉDn2 pz=4ȸñÖ ·C9 ˜<™rö>÷¹`Ídð¸óã° uÍáü¾à4ÐÃÉxž=BåFn"¶Ä=ëê}=.Q¾Ò‰ü&Ë¡—äEp×a^Iâò‡B'1-LŒ çÊLìn½Úw –—r°"РúqRÄ(ûüë¥èÆsøP€ŸE§D6œL§ Oâêk÷q:4Ñ¥qèÞjIÜ -C_`«±_cÈŸðp¢_oEÂVœbÇ¥®ãˆý.F\Ç\”í¡ ´ƒ.üC—F‡ûF?Šêýù+›² Øعyˆë}ôï>À©;Û¿®B}TP5z‹íHòšºˆ¡wIEzÒ¿¡WKglñUõ SW!²ÜþÁt¤NçÁLÛº–ä í SAWµ;@,+xrdÞáñPõP’A­Ç5—ä¼OpÓ³tí#–¨Oq‚Êñ3“}/ZãL&i~·øËûñæ>U>„ïögºÃ†DêÑ5ãиãKýÔ©ï²ux   ÷Léþžiï¦ãç_š>ßSïÏ-‹¦wîÝÌŸ|±i²ö³t± -ýx„9½ð›Rj¢w¹9ù¤Ï -endstream -endobj -687 0 obj << -/Type /Page -/Contents 688 0 R -/Resources 686 0 R -/MediaBox [0 0 612 792] -/Parent 680 0 R -/Annots [ 685 0 R ] ->> endobj -685 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 0] -/Rect [131.887 489.796 159.782 498.596] -/Subtype /Link -/A << /S /GoTo /D (cite.rfc2119) >> ->> endobj -689 0 obj << -/D [687 0 R /FitH 686.127] ->> endobj -690 0 obj << -/D [687 0 R /FitH 533.793] ->> endobj -686 0 obj << -/Font << /F48 455 0 R /F8 458 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -694 0 obj << -/Length 112 -/Filter /FlateDecode ->> -stream -xÚ3PHW0Ppçr -áÒw³P°Ô³432SIS043Ð333W0³0Ó342WIQˆÖ¨È,ÓŒ ñÒw3GVjdaTj -4¬È;µRS×ØÜB£\ÓÈH#_ÓP£(ES×P£¤•Ëj!:í -endstream -endobj -693 0 obj << -/Type /Page -/Contents 694 0 R -/Resources 692 0 R -/MediaBox [0 0 612 792] -/Parent 680 0 R ->> endobj -695 0 obj << -/D [693 0 R /FitH 686.127] ->> endobj -692 0 obj << -/Font << /F8 458 0 R /F78 673 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -703 0 obj << -/Length 1940 -/Filter /FlateDecode ->> -stream -xÚXKÛȾûWèH‡l¾ç¶vbà 61ÖƒE‚Ý=pȉ0E -Ý”Çþ÷ùêAJšá&Á`Äêbuu½«šÑf¿‰6ßDú|÷ðæîCZnLæ¹É6O›8ÊÃ2¯6Y™„IYlÚÍoÁûC}š¬Ûî’" âí“miX”ELÛ¢Í.­Â™þÓ°Mâ`r#vÄA{n¦nd[¹©Â*7¹nÊbœ–È®‡ƒ]-Ut^ž¼Lƒ½¬«{ÁÎî´Ý™"½}»Ý¥QôÛ«í.ü!úÖµv°ÁÓ”Ak›p»ËM|šny¬½m„˜üœV€_?'"âKgŒ¤ -IÇa•å"ýåˆàDÚCHhOÌ õ¸ÅÏÿ9¶e`ÀÃ0öã¾³^ÞüewÅ8-Ú|ÝÌÐßá·"½2e\$a”æxŦétw÷üüŽƒ ›ñx§œÄñ·~¨ª0)Šy/Ža¨â"$”‡z‚¤7”2ajU?“]l°vúõ3Ì”™B± ýxv4j]N#=“ ƒu§C8º½ ?yÆóÐÖCŒ«‡VHí­øŽÐÝ$XS¬2å§TÔw_þ²ë»¯dq:2J‚¾kì୽˳D5Ò îý(DǺUòzgçœýFlÄõMýØs@š8€óÙ×ø©û‰áÝ“³V˜öLÓÐqr,1Û;°Ý$˧ѭÉ.4ˆ!“ÆÁ >™÷кéëîèîwìö‡-Ì­ËCMôßTwÂŒ„ {‚?>M´÷™ÕpŠeë p% LÞ}Ûfy?ÍìÁæLã$øÇ(TÐêˆ4^Q̟؆¶é~â´Qo'p…ýÞù‰25KÙ*Œ”üÌæüÌa= Ù#GKÀ.IdÙÆ9hŽH"ŸSwÎï·„F:²iXy{QIøy ]~¶}=x’߀û±îÄIx’s2®jô¦µÀõ¾²òëN¢8Qýv•ün¯¹ÿËÇ7rB”Þd4°±Ëà3«ìˆ‘Öã“Äñõ(™!ê§NƒÿVŠd“‡U‘”DQ„UUn’0U h… ‹*ƒo.Tï•*ºa(bn¢ÇViEfsEôqr¯] 꼸fÔ`àvjJŒùD3¯Ýôá Ö;9tK¯Vn-åÐÐ-}sWˆÂÒ¬šd ›‚ÂF¨™çקº±^àZ)çì1š=&øb—‹ÔŸå ¯ó)›@@‰¨¥¶ŸXwé#$ßAÐÕëYæÇÝê¨V£Jtô$Ÿ«——‰\§‰mï·¸èA´{s½•”$Ø0œÓ ‰R6¦÷øƒÀÚ›ž‹éi!S“ˆ^‘ÐÖ¢ ]?+É:xR«¡.B/C° èœà®tÄ‹~ðu¦â]NyÉܦ#§rbè{ Äi˜®V:ªrUšB5Â[Ky¢«¹Œ6€çÙ—®<­ôAU°ä>E4ר÷%mÅ®¯åŠ -*°Á Ïm7CÈD„Ì2tW‰øY¼+ËSõñÔÊâ(@Ûµö4¼Ü ûÚíù#BE3O#À–ò±—Wó0&xjIHƒ«rF¥Àýʺ«oà:г4¹Ö"ù¼Ä 1ÒÏ¿îã;ý 0Ÿ‚’½¥oR²9Ù¹Ÿº0Ácõ …œÈ_²à]/ÑøU¿h ú©áùÐ-2¿ëè³E=¬É¼LBtK¤*”7ÝUbìÕ@È÷Ñèå]ñáôòkêó|•¡Àyè(²dq]h}‡ƒŒÞÁIÔ×ä•3û>”äËMÒAîtÉëx$ÜBÚé8AgË=Dö§<®Ñú¬Ó`ísË…ã’cq^…IŽe²ÐDóðpCóׇ7ÿ Ñüx -endstream -endobj -702 0 obj << -/Type /Page -/Contents 703 0 R -/Resources 701 0 R -/MediaBox [0 0 612 792] -/Parent 680 0 R -/Annots [ 696 0 R 697 0 R 698 0 R 699 0 R 700 0 R ] ->> endobj -696 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 1] -/Rect [278.919 466.211 380.288 478.167] -/Subtype/Link/A<
> ->> endobj -697 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 0] -/Rect [291.942 408.926 320.225 417.837] -/Subtype /Link -/A << /S /GoTo /D (cite.Mel04) >> ->> endobj -698 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [200.048 280.08 216.846 290.928] -/Subtype /Link -/A << /S /GoTo /D (section.B.1) >> ->> endobj -699 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [308.085 200.992 322.808 211.84] -/Subtype /Link -/A << /S /GoTo /D (section.4.3) >> ->> endobj -700 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [434.087 177.082 448.809 187.93] -/Subtype /Link -/A << /S /GoTo /D (section.4.4) >> ->> endobj -704 0 obj << -/D [702 0 R /FitH 686.127] ->> endobj -6 0 obj << -/D [702 0 R /FitH 668.127] ->> endobj -10 0 obj << -/D [702 0 R /FitH 380.77] ->> endobj -14 0 obj << -/D [702 0 R /FitH 265.816] ->> endobj -701 0 obj << -/Font << /F48 455 0 R /F8 458 0 R /F74 666 0 R /F11 573 0 R /F13 705 0 R /F10 668 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -711 0 obj << -/Length 2339 -/Filter /FlateDecode ->> -stream -xÚÙn9òÝ_¡·iV§ïcÞçò“m0@2ÀRÝ´DLZ²åc0¿uQG,/òÄb‘,ë.F³õ,š}¼x»¼xó¡šÕa]$Åly?‹‹(,ŠrVTE'ålÙξÉüÏå¿Þ|(Óãu¦Q -ThËõ§«Ûåû»ù"MÓ 狲¬‚›ÏË»yR_Þýûzyóå3’¹ˆäêÇ7²úˆþ".ª0­‹Ù")™ò5ŸÇIÿÊÜs&a]îy¹î­þïNx÷Ô=SU48Û¨am†5bâàÞª^ó¢U“vÿ(dzÇÍ<`%Þù=Š³®çE5´Œ|0­‘ൠ-£¤†1ë·Ûna^£tË8#á_Ök¡: â%:åbRfЖÕr?Ú^MãU@ù™ñ"3°d`ÕéÄi«:Þ²ÜèÑ*† -f²ZõŽþ!! #­Ã*AoÀF]3¿=fÏ fh€–Ã'cF6´z;mä¿Wµ­™Ì80[øêÎ/¹­"YIÇËÃ(´¶݆l9Y5‹³0ÍŠm–agÌi¦ð¾8ɃëN9gPõÂK_šMÒ0Ž*>ê…”%5±€£LWÝHÏ'QÿµXñ{q¥{fp²jp¨$ž6|¤Õ,oPyí&Ó™¿µ¿bà±bá!“ÜüJ<ã{%/ŸGa^W~OÅÔ–d ¬4½¸¡ñFÅa’•§†öÎ8Ðã„þ”'ÁõèÀîÛ™WYpx¢€å8hfÑ”(šò $Ò$v‚›±^GÚ€“G1Èœ” ;@Çhg|ÀØröÙ{päÿ5¨kÇ{AíÅ/ JÆßnß\Ä—0ɪ`‘P ôŠL&#pï§0)RŒ†I„æÁÈÖGpÎàÃÅg˜ßŒ¨ˆGxc„/h̓AÙíÈujY(‹H‚ ®Žv­0•Vðƒ'Tß]/+OÖ`óEc$~:Þ$$!6L£ez,QÄ¡Dy/˜wðeG ïFgJ1%eñmå&ÅwÕa˜ÆM÷v”í@ÔiÞÛ°‰ ..‘Å’PÂ]‰U!‹Ñ{!’8Ž¡ŽQã73æ„‚\œrnp òèæ%š#Úl‰yÆ"æe$HÁ÷ädFo Êä4Dvð]Xüˆ+H>d,<Ïê³Àãà¸ÃÈ#¤ó0ÏAsh’ñ“¬“ °2‹-hÔ4“aI2zÏ0ÀÈðÛc´¼çãŽ^Œ1oàÂБý\ìÍ$ö^9·ë·èçîõ°[îÃ.Þ’1c²ˆ1î&U~CqK«Y¼¦ð|!.ì÷÷ÛN?¡‘ÕY°uÏœÉ[ŒÛ¡.ûØ9‡Dïo²B¤rÆ%|5xÏ%§©Žq!—C¸ò¹ÞÛ¾äW_e@5È^üyê8ØZᶥQG`ŠqbŒf’%ö¢'¨Z(€«<÷<ðãí„b®¬`Ê•›&ÝøÔyÎŽ¬R­¡®phzeÆ ®7U)¬F[;Z‡±¼(ƒ+<&bȶatc§©žGVŒê¡ôÝŒÀ7⨚*.iÄ°…ÂëŒßp·È(ö°Égr8„—lVÏH W$. X²œ„”e#A‰Åq°¸öâB–ÿÕ -å;r¸Éýž3Îií­@$‚`b`ˆßéöh*ÏäœpÁº²’+)ýÈ!#”|ÅŠI¬È/=Pïi±xaÞ¾è}æPlp’$ì[ „:å¼óWO@lj÷ Öpœ6G8k XÇD‡ÇEO¸ÀbÇxU‡xŸpáw|£ÕzÁUb!ãÖ¨Uw6‚Ré™ÅÜ 0„ïëÛ;w„ßC&BA¤ÒàÖ4ÊÈ )àaîËú„Â3Žài¦ÇÅ]ÏJ…è‚„Ô®—'ër'8àö±R}Òíý$•R3qQÒÙ3Ñ£<(£#™¼8)Ì@A;È‘iK†Z¼‡´' -Ú728Ù9¿üh€•Û( li35ˆëµïÔŒë½Q¨éõsð$¤w”%fWVQ…·¤z-¼%Ð× ?Ž:  fE#uŠY 6£µin†sŠm«À³@u.b@HB ‚>3¥wÔ!û¡Æ!€¸3Ë{©O­¥ûCš)7T4fU¨î\qZœ$q×ù+Ft7¯ ÆÀâžCdI„<ô´¯ºFû#Ùˆ»É4ÊMR¨äY|À²ßŸäb€íÎ -;ŽŠ @QÀ†:D–{ýÈsý¤0Ê.*.ˆ’L+…ïÙ¾2;['æØ,ãtöûV¾cÒb_"ÜŒ¨÷l½³TÊÑ>µ,L§ÿ”ÿÌï—ÿ¢ë! -endstream -endobj -710 0 obj << -/Type /Page -/Contents 711 0 R -/Resources 709 0 R -/MediaBox [0 0 612 792] -/Parent 680 0 R -/Annots [ 707 0 R 708 0 R ] ->> endobj -707 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [242.97 212.835 252.435 223.684] -/Subtype /Link -/A << /S /GoTo /D (appendix.A) >> ->> endobj -708 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 0] -/Rect [393.624 141.159 421.354 151.896] -/Subtype /Link -/A << /S /GoTo /D (cite.vorbis) >> ->> endobj -712 0 obj << -/D [710 0 R /FitH 686.127] ->> endobj -18 0 obj << -/D [710 0 R /FitH 592.328] ->> endobj -22 0 obj << -/D [710 0 R /FitH 460.322] ->> endobj -26 0 obj << -/D [710 0 R /FitH 195.842] ->> endobj -709 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F48 455 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -716 0 obj << -/Length 1965 -/Filter /FlateDecode ->> -stream -xÚuXKsÛ6¾çWèVj&’Å·Ôœ7îc&I§UÓδ=À$$bL‚ -HÆu~}÷J”鋸ØÀ>¾]h³8.6‹_½Û¿º¹ËãÅn½Ë¢l±?,ÂM¶Þf»E¶ÍÖa”/öåâï \gëå*Ï·ÁÝ2ÚŸ~ûðv¹ƒýrÇqpûéãÈþxû~ùïþ—›»í…Î8Þ®a“ +‹q«œ`±é*ÊaAÌsJ]´Ëè,µƒoQÐWªg¦rš‰“Óa`ñ "5–¿Ÿñ¬­»7\" “`_™ŽEEkÿÙ„Éqpª7­eý¥ê•hi¶íY¤Pý×ešÊÔê¾Öx¸Ç* ×»4åÃã¾h—ϿƯ‘J‚Çʸ²bÁÐéŽÕ/QŽ—-™Í;ÔO‹Ac×kU®i·0Yï’dºå¾Ò­Sx»(hÔîEæè˜ÕWš‰N5BÁÍ—Qô®å+á -×U³¸Ô9ZO¦#ë$a,ÖG>Ø5a»²¤Q¥(ï[:éjî¨Æõ€Áï|0$4;Î8Ÿ\{¯îMmzä?1³ñfªy|hÝ•šn÷LEó@ƒw34Dad‡ŽåÊ–BÔõ•Ž/à“AÙÕœk{óM%Éâà¤س»á8!Ç#ŸÍ Œ{Ów½Óªa~>„É…Û8•(D¾‘õí¡×¢¢ÓârH†‘ÃÁ–bdæ`ź.Qw¾ÍƒŸÑEÉ–5'x9¸E„Óh5ЄæD6m»Î`8óì¿ùe²@YñJŽƒ µX¿fÙxk`>š¾j‡~rêŒO]q>{ä8‡4þjÚ¡«Ÿ8ºç¼áĈ½“ï_8!=´^û&Œ¶µ+K@)}¥ßƒ|%'™¦)l~’'.<Þ¨'òofy!Mþhúd'ÇËéxã߯Oyò—ô8Ýa(všWvH\$ù¥ˆq¤ÆÃàƒ´°Ðd|ŒÎÃÌÀ/Fùçe| *ÿ¼€Žs±âÉW0Œõðºúû`)­¼T/ðPªÍüóòýþÕÿþY0  -endstream -endobj -715 0 obj << -/Type /Page -/Contents 716 0 R -/Resources 714 0 R -/MediaBox [0 0 612 792] -/Parent 718 0 R ->> endobj -717 0 obj << -/D [715 0 R /FitH 686.127] ->> endobj -30 0 obj << -/D [715 0 R /FitH 406.096] ->> endobj -714 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F70 508 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -721 0 obj << -/Length 120 -/Filter /FlateDecode ->> -stream -xÚ]»Â0 ÷|…Çd¨ëÄ•ŒPúbhQåNˆ Áÿÿ1 N·œîž@0¸£¹ºÏP°H°D!Q,“‚Ýáê›p³sÝ+ÿ‹…‘‰ß•¯ÒŽ‡‹uk¨˜ÙG •jöÓlkHÙ/§­µi™?G¿õž¹A  -endstream -endobj -720 0 obj << -/Type /Page -/Contents 721 0 R -/Resources 719 0 R -/MediaBox [0 0 612 792] -/Parent 718 0 R ->> endobj -722 0 obj << -/D [720 0 R /FitH 686.127] ->> endobj -719 0 obj << -/Font << /F8 458 0 R /F73 507 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -727 0 obj << -/Length 1600 -/Filter /FlateDecode ->> -stream -xÚ­WKÛ6¾ï¯Ð­2³$EJTom)zH›E€"ÍAkk×Bdk+ÉÙl}¿áŒ¼ÖÚÛ$H/âCœ÷7áNn¼ºÐ2þryñãK«Už[Ÿ\^'Fç*äeâö‚K.×Éûôù¦ºë~±Ì -ŸÚŇË_™Ì©"†Èt²ôVù"‚gMº®×Ló®Y×Oߎý~5îûšÙ„¤Tenó‰‰S>Ï™Éå¦îúê‡tÚ¤õn6¤ëfwÃ[ÕnÍ“u}òﶧ"]-– „I#ãU5ÔBÛíx ¬qG -ÙÌ)r(úKk{ªu©2;¾euV |>ŠÌîZ4k>×í K—9Ø•À2YZ—©\çÉÒUzÏü†z56ÝŽ89ÌV}sY×»sÓ-`å/*>÷iòvž^÷Õ¶æi³0©0j«fͳn?>Ã,€yCd²ÝìHóQ˜°9äK|>BÀÞÇoR!@2CÏõ7Ý@â³ìŒO`~ÕËß®¿©vÍ?õZÐeœÊ\n®P¾d¦VÕXŸ¾\”.,ôéoÕ »§ì:‹/›C¹‚ùüLú¸É[4oÑÀ˜ eoàQ–#› ŸtËu³­wBUµLWõ Â¯{^Rð‰æ!ø eÞp§…mó‘ø‰øwo²gçºbàscíË´on61VË ㇟’]˜#'ª±æýá~ë-0ÏÓ»fÜð6F“Ê‘ÉxbÇø¿æVÐFŠö˶¾yÕõ;Ô‡c…%‰#ê +,0‰>†<øFôÇ] íHÂØWý=ï0mº­"&ïyu€8vý¶…Ïݦ‰Ûðr?ˆÔŠÒxrÔïÜvð É>c¼ŠË°ËöD䊿0çÑ=üÜßÞr¶œ…MqS_?¢÷rH€Ò9hˆ2küqM¤ô’±/˜&a’¡þ éçþ–Ç£üŽ´}-ÔC}[õdzLžBÏŠa©Ô©Ô­iÖbK§!¶­võpšs¸tf&"B^ ïDbÇÕ/õcqíÌÂQW‡XÇ®2ì*.ÕæXŽVYVNrþ”Y‚|/²@' -U–!A‘|©Oµµª(=´y8ôìœ,UfÙ$ê¹Ð3QÆÂåJáru*Ê)Ü&ÉÑò ±¬žŠ´^c¾$ÓÌ„ö§BQDqúè̪Û2BÆÄpêí8‰¸Š·V,\gt4™Ž€ýÎÀ»ÖÎb±ÅZ4¢^ÕÏVUÛJ6£º[¢fwÐ94›B…"Lº¶ûmE5Ù‰¬Óhe‹ìÆt6Þ€þótÈ_¾'Ai—‡ì €h¥KûMÂúsÂœŸ “´†•9_Öd.;Ÿ¶Äùs'Ìýlr(æUcÓǺ1s÷™²@–æ`Ž’"á´TÄ£ æÅC‘Ȉ߂úšW-(ªÕ047»x9fñú¦Í÷ý¶î›]Ú´õiáɺ}ýl¢cŠAZœY™Go° ‹þªv_PvꤿIxòÇ«‹ä}<êf Ž> ³ -ì¾×¸ ?£²Z£kåœt~3¥ÁÊxª”ùcm’û«µAz¸¬ÀhTVΪÁعʭýº¢’?YT€°r<)†™/JûBuO&-|¨ -¤íÒÀ)¹È³ÿ“¼þ?â‚Ì(ŠòP2{ -Îâc¬r`iB¦¼?!û'ä±sÐqøàjVœÞ' O–%½:Q´‹Ó^Sfô\]ìé1›ÚL¥Ñ‹÷d1]L?(6},)‘BJÍù}A ÷WCµ½ÅŠÖWS/I‡„}µ£ FÚ2ŒS‹û‘KС';º`b9(´t54!.y™òK­‹-#¶×M/Ï9j½›Ú_œÜÖ?ò¨×®Æi&üîš5wê%³ÆÖ¦žú~yýˆæÈ+g݃tÆzò…Qå">°ØTTM¯y!z€²ShÒ±‚b:½71´ÆTêT¥ã;ÃÄÇ(âØSøØSÄ3|Ùtïc*¯äGfìêOü‘2}ò¼¾&&Ç#=Gc‡6ÊjÁ²ŸA:ý á7ÿ -endstream -endobj -726 0 obj << -/Type /Page -/Contents 727 0 R -/Resources 725 0 R -/MediaBox [0 0 612 792] -/Parent 718 0 R -/Annots [ 723 0 R ] ->> endobj -723 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [370.603 285.708 385.325 296.556] -/Subtype /Link -/A << /S /GoTo /D (table.2.1) >> ->> endobj -728 0 obj << -/D [726 0 R /FitH 686.127] ->> endobj -34 0 obj << -/D [726 0 R /FitH 668.127] ->> endobj -38 0 obj << -/D [726 0 R /FitH 420.801] ->> endobj -633 0 obj << -/D [726 0 R /FitH 195.496] ->> endobj -725 0 obj << -/Font << /F48 455 0 R /F8 458 0 R /F14 574 0 R /F70 508 0 R /F11 573 0 R /F13 705 0 R /F10 668 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -733 0 obj << -/Length 1133 -/Filter /FlateDecode ->> -stream -xÚ}VKÛ6¾ûWèHµV|èÕ[ºd‹I·N/i\™¶ˆH¢CÉ»É¿ï ‡²µ­Q,`Îp†Ãy|üVYrH²äýê—íêæ¡Jê´.D‘l÷ /²´(ʤ¨Š”‹2Ùî’/¬Xÿ½ýõæ¡”KG©ÒB*ˆ\n?¼û´½Zo¤”L¤ëMYVìöãÝýmýùxwÿEÅþØ>­EÅ>ßn??ÝcäU³¹yPUÂU*U!ðŽÍ|ÉF”p±¤«D*ÖÎEÎ>Ùf:yaËœ=™ƒueº¬(KÀœªšÓéwÃz#„dfhHÛ™îöbwÆ‘qïuoH´ÑÛç5yÚ‘ö¼ùv²žÎK6ÅíÆò^ð'Æд¼ÚÝÔR=ÄC­±‡]§¤ÕQÒPƒùsžÖyNù÷è|ê&{ì ¦QTÌíií÷ɘá',+c½þj‡Yô@+ƒW™ƒ×î” 6Jv -AŸC;Œ'Ãô¹£65èòu$£yÁcf íµ51þÔ‚wë]¯ßÔPP ÇN˜¼¬©Ì Œ§çQ÷PÕÐS@>8 òúH÷y(Me%”1¬âyZâÄ;c¯»ª!èf Dˆ‚ÆóºÇ€¢uÎq\Š eø¹Ž¨B¦e%æã}÷PçFŠ`Ѳ ÕáœeÍFG[ÔfŽ”Uä†q"Ãå}Òxw¤„aaG‡Î.så<IÿB€§÷ÎÇ{vv²'`ñ¤×²'"ÈêEجº„EC 1’:8rq§-ïºxÎÆ3”l†˜;ƒ/Fó.¤ÙÀW3c ;.—cD/{à‡ÇxßUÆŒ]‘,Ò·õQŸ1'Ïp_á¿×ûm$Q~þã%| -•yÒô«og#þ^Û¸yìyrçV¿ÃßsvÙÌ7‹ÿùô>¶røþ𵤨¸Hññ«ŽÿŒœ•³ßbõ'OÌy®”Db ©–p‘q®ãÿöbÑ“ÂF¾[ -endstream -endobj -732 0 obj << -/Type /Page -/Contents 733 0 R -/Resources 731 0 R -/MediaBox [0 0 612 792] -/Parent 718 0 R -/Annots [ 724 0 R ] ->> endobj -729 0 obj << -/Type /XObject -/Subtype /Form -/FormType 1 -/PTEX.FileName (./pic-frame.pdf) -/PTEX.PageNumber 1 -/PTEX.InfoDict 735 0 R -/BBox [0 0 350 285] -/Resources << -/ProcSet [ /PDF /Text ] -/ExtGState << -/R7 736 0 R ->>/Font << /R8 737 0 R>> ->> -/Length 738 0 R -/Filter /FlateDecode ->> -stream -xœ­XKoä6 ¾ûWè˜]tTQõ¸èãÖfw€Ý{)²“LŠ™ɦèß/%[myMcäàÉgò#MR¥'¡$•þ¦çÝyøþƒ߆ŒŠ?O?ž†§ÆßÓãî,~Ø“xN:0Åþ~i@è(•EOÄÑ  ûópóYüzÿíðònÿç %¨h‚R9¢Øn~{¼{ùûù^'Ž]"#îè¤Gë3“ÛeïÅ.dŠß™‰÷Ãí`¥×V£øgÐÖÈ„ö¥çú¿‹ä«§áã`Œ²äw“©z"çt@E¯Ó·žƒŠýȯNÃq0•´‘ÈŒ“3iCEN Á uâoZ×H®;B¬“q&RˆƒŽN†U>ØX‰QCŠ^Óº‚ Åc3¿4•Ìz/þj!Ï‚,œEó#eH‰‡5g/é=+fïßoÅtLÕÐ'ðràûlrrj#¦äT )„T7µŠAƒ´~,Pt(Cúà"S.ô_«AKNF -Qfó(Š95$€ŒR´®!ˆÒà•tj&S™[½VÆ©"U¯j]C¦ºhö—¶–u\$YD«nªä_/Ûè=«VY¿•*•ÌJ -/‡¾OXe'·¶¢:¾¦ª@jžÙ4€ZÎW‘j³j]CÀi ó}i+Ùw´Œ¼g™@tÒ¬’G *•Ë@Z2iûk¦fjí-K-}>•£…Eñõn^4ѹÅ+ožÜ>Wòv1Þ}–xÙmE•Ýš¢W»c '뎘·eêÅyX ,`E˜zM.T“BéæL#òšf ~ÚÊ,•»O›[EhÈ’*mi%(Zl+ȤµŠ8 -'jBhò¡¹íÔÙÊö'=§Tys-’¾2Èôz¤h­"“} Z¢ÓÌÇ&3-ˆ*Zã^g!½]s¶7Ò;Ò™¥úÛŠ*ÕßJûØ÷ù鲑ÜÚˆ*/ “¦ ÇJÞXZb 9q)çœÔžKMÈ«&d:4HãI—¦`ãò€Xj:^ç ÙÓ;½ŠŒZëH°Ò%¯°NÚs[£ýQ/M¥Þç¯)L–Ž¹^‡­u¤ØÚù¸×Mf*ç*Ú_•[HoWíôŽ,ͦvºÕX7}ûØ÷ùYf#»µ Õk†‹Ú­ ¦õÒ*¦m„¯âUÖ€Òu(åxS,"­—¶$´¥ZJ­-Õ%Ò’°‚”&P“¹´ÕõÒV|Ëî:ï¥ÌÙÞHïHg–õÒ·Rñ^Ú²×G¾KÎ2¬‘¾‰‡ŸÎ¦på ¥üa:÷>Øñ¬DX£÷’ˆc'ÍBÿïÖœ—JidŒì²ËñéñëËqvµbèè‰z<Èù0^­üôüÇù ~9<>óJe¦óù¼êéØŠL¶ç›îlhî¢c™·zæÅ -sšÜCš`0‡¼2ç["#u -ò g`—×D;°iŠCдõ'ÇHàËúN}yWï€n‡¶dÇ -endstream -endobj -735 0 obj -<< -/Producer (GPL Ghostscript 8.70) -/CreationDate (D:20090924115427-07'00') -/ModDate (D:20090924115427-07'00') -/Title (pic-frame.fig) -/Creator (fig2dev Version 3.2 Patchlevel 5) -/Author (giles@snow \(Ralph Giles\)) ->> -endobj -736 0 obj -<< -/Type /ExtGState -/OPM 1 ->> -endobj -737 0 obj -<< -/BaseFont /AHFVLI#2BTimes-Roman -/FontDescriptor 739 0 R -/Type /Font -/FirstChar 32 -/LastChar 117 -/Widths [ 250 0 0 0 0 0 0 0 333 333 0 0 250 0 0 0 500 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 556 0 722 0 0 0 0 0 0 722 556 0 0 0 0 0 0 944 722 722 0 0 0 0 0 0 0 444 0 444 500 444 333 500 500 278 0 0 0 778 0 0 0 0 333 389 278 500] -/Encoding /WinAnsiEncoding -/Subtype /Type1 ->> -endobj -738 0 obj -1099 -endobj -739 0 obj -<< -/Type /FontDescriptor -/FontName /AHFVLI#2BTimes-Roman -/FontBBox [ 0 -218 932 683] -/Flags 32 -/Ascent 683 -/CapHeight 676 -/Descent -218 -/ItalicAngle 0 -/StemV 139 -/MissingWidth 500 -/XHeight 460 -/CharSet (/F/H/O/P/W/X/Y/a/c/comma/d/e/f/g/h/i/m/parenleft/parenright/r/s/space/t/u/zero) -/FontFile3 740 0 R ->> -endobj -740 0 obj -<< -/Filter /FlateDecode -/Subtype /Type1C -/Length 2964 ->> -stream -xœmV{TSg¶?1’s´HoÉdHªMÒ§:U­ÞBíÔiQÛ)ÊE -(D $@ $Èæ™@€á‘ðˆ¼T©,N[ÇjkuÚ©x{×¹µw:Ìíšï0Ÿ÷®{°wÖýãÎZguÎÙß·÷þýö޿󱈵k‹š$+”¨¶'( -³å«ïÛè,zÓú6`ùߢVö…¨R¿S’}2Gr8÷HžTV˜*Þ²u[$AD¯‰Äf"‰H&¶)Ä[Ä~âqˆ$Þ&vï¿"~MÄQ‹XG¬'6OO3äk 7ë)–’õõš’5wÙqì¹µÙkgB¢B:8\Ž’óGrŽÚCÙ×Ŭ»±îÓõ?]Ÿ¾¾{ý#º.l%¼+k¼¬•Ø•Ÿñpµ†s¥¾Ûjдò<‚…üìkqKª)ð Àë´ |þ@C~\çÖý!ÞÍÇ;qò®g-µiµ Ò{Èøf­zÁéìŸAO -üo±8xÌ-´F™µ Ö*+¥A³2¥Uמµ€“Ÿ^B¿þøž·ã£fÁjbž¶—…~»Ì^I\MN¡áÌY]5 £¥ªZ‡ŸÇ¥|¼ºÍ.pÀÝÕ6ÒØ íàh <8¨!/Öwé¿ÇÏ¢œÄÇo‘°ÛhŒ¬e‚^ó»õð…RH´•.~3à»ÌÄDÀIÿÂËúâ>ÛF?Íëjjk調­"S„›H8j2ª¢tÈä$ßn*wÂ<…JÈ‘©Yk›ÅèvëæN úœ®@°Ô+Ë–«÷ý´4¦”äUÑÂè÷ÁƒÏ¢¶ 'üOË\)­B<¤S“U{µº½@áQ1'ÐÒê¢M>k'ÕÏ©Cχ< -p¸w5äçæN=  !ÊP¹ÏÂÀ zÈ7šõ]p›Brô"ù¸t¯Qa´Àè«òÒ;¼•¾ðË×Qô§Ümè·è¯m -1pêë«MV¦3 -×e/)i.ÚøzBZLâÈÉ¥tÑ©Ñ2— - -™ùŠ4YA§O#,í¯î­œ§*pd'ÇÖÞÜÈ°Ãmƒ®ú^3ãÀð׺7ÞýháÓYUðð˜)ºuýàœÌÌÉvõ -ÃаqŽ ïDüîýî²Ó)<îÍ—Åi·6™…¦jsµÉ(IÊJ¯¨¥¸K“Ùdyêê›ê)îÍ÷ñΫCY×.MôÍ…•ŽÒârc ruþ߈Ð$É]ú3çqë KÓhÜÃúë2ººÌF„yL­á¶Ãq×Æ4Ç°†¼kr æ1‘¯«~±Jä°‡üeke'ܢРt§þ# }äyÁ)d]g\HðÒ¯¹ô]á·î£ƒ 6­šåY8ÇŒ=Ä»Hn°œ¼^×a„£®"AaÑë Ê’‚ªB ròOŸq]èwø%=y±®Kn!_¿˜öÙød·ß/œš -‰"¹±Íõ³Þ1Çå.¦Žçh~_øկі¯"¸çé¸Oxåú*‹(µ©kZ„s–A]_ÉX–çPÛß<«ö–õöõx}ÍÖ«MTßfµƒòøÎ\òË“…q$ÞñnyM–¤¤L/ƒS7-v:sqúlÏÜ¢Û™Úâ.=»ñ4ôtŒN0&üó¯yP`©.­RéÕ¥@I§§DÍ$\;;†6LS«Þ¦CYýwÙôs(’—~ O•Tä¡/ù—n}5ÖiÈmµ–Ønm|žÞ«.¼z,­,ï„èh¦âmxÂ?ýÝÄ>¦{xLèïóø‡®Q«TÏA7½>Àò?@e÷Ùè;#mž é&µÖz¨*¯†aœþˆ™½ôr©ñP¹ ‚´7´‚¨ñ6ã Ž$%#JÇIfàÈŒÈ=‡rg7ZsuÂ{á´è‰XkÁdª2´eÅF9PQI_¢'QȥϿxÿÒñÑ*¬›H>‚È1½ EñÒ÷eÉAd Ê給`ý"…95‹G -Ç2zRá(×JdÇO(÷C4……·÷ òÛ;×qNˆï¡m<ǽÓã‹°}ŠÎÝÓ¾ú1ú¿ÇX§‡~qØè¿V¢x8oÂ/àŒí#‘WâE ±ÿšó Pè(Ú„Ä(ãOò¥¤E±7_{™Á¾vf´cùWŽ oü©Eóy“oe k*³•ØùÊveKP;ÞŒ‰ŒõK>9%ÒhµåfË)ye”AiGÕÙ²ý©ÊSK¥ÜËüöνss‰a×LÀõãçÞl¼V~Jcqtƒ78ê··YmÖ&ðÔwZ[aÎ8‡ýÁ€sfaÐÒ«¡°éÑÓ¼ éKó% þ-X™¿/‡¼?8Ýkë<7+jAä] ŒÎ ”v ÝÒŽ È¡åÒŒÃÙ?\…ÅÔjãÖg÷QS«è!ïÜÌk¨Ùþ¼"|Œ„·•ñf¦R'™Ün¶ÃM -¥“?d_yíH¶êp†Í“–&YUqMb…@YRA674A PSöš,Ñ£|˜«ãk˜ýN2¾ÕØÁìgô›‰ú„sÔ‹6,‡ß[þgFæ~@1tÿ<)DÇŒYGcgCúÿ5u$Ä W»Áè$ÕRÓ¾ú›B$—NC¥<¥Z­PøÔÁ^ß`@Ý+…­xïÏ̱ÜG±«ÛC?Çël²78€h«HáV’õºD+ã±ØI¦4ê0I¡Qíí6[ï”k¨iŸ”! „Dƒ!a5¸ÚI&4è\pB-äÐTÐ=Ô¼[%Ây$$ÔÔÄ›˜E -'YÔXØXé†I:A¢õ9¾ŸVŸ,ÔÎËüÉ -}T,u‡45¦id†$ ìoû Þ• ^s6eN(Ç4œË·”Pj.2*ðSø|ÌGÿ^ßRí³6 ª{Ìp@_oû•ÕŠWCÎ[Û«Oï FóÅx¿@‡šÜµ2¾.Ûå&fI½†¼lqjÇ·£äG§ùNÚAïE»í qr–PW{±ÐÏœ£íýv¦0MÌô®¼àe]|ÀFÉx3½°(7cÿnéfÀësÇ·~óâÙô’¹üŽnþÞß(F•wT7 _À÷ðCçïý×ׇÆn/Pÿë¥?`Oà¼Ï/ ŒÏÜú—Ñï­ô“Üï^Y>q±È—:RUÁÿ2Ö/ ü²ïÇ>Ø ÏWF)ã±…y1ñ«É˜½ÿŽ"'#¸Y_ãgy7‚çáCjV:ùžT¥– ¹=ù½š±V[CC«›ÕhhØho5×ä+r“s‰­Ó¬„°ú¢Î‡ldcà$Avy®4>Q‚ÉÇxXA¼îBâxæeÕ\†)×Ø舴BÙ‘èY!¬+âÝ?Ïè»K2Å{ödþå éyÄ~ -+óÒ)^”äå ­_zbȺäÝ@ÿnÄ÷u -endstream -endobj -724 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [275.371 569.919 290.093 580.767] -/Subtype /Link -/A << /S /GoTo /D (figure.2.1) >> ->> endobj -734 0 obj << -/D [732 0 R /FitH 686.127] ->> endobj -42 0 obj << -/D [732 0 R /FitH 668.127] ->> endobj -577 0 obj << -/D [732 0 R /FitH 154.45] ->> endobj -731 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F48 455 0 R /F70 508 0 R >> -/XObject << /Im1 729 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -747 0 obj << -/Length 1406 -/Filter /FlateDecode ->> -stream -xÚ…WKsÜ6 ¾ûWèÈñÒ|‹jOucgÒvúˆÝé!éA–d¯­´•´vüï ”ö™dhÏÀq†°ÆÂCùÏÈ_…}Uµ´ÝA›”øñ÷æ>¶9ÏVe×Ú%Åúâ¿ùÿŸ#\½[«äMwñüM2'–å$q¹'2ÌôÌÁ-ŒX%=̹˜¦Ø½‚+Ð¥~Dœž%,½¡îZêIÀ—Óç±Ï×ìª2Dèizê3ÀKH£ÚÀ=q§3ÌÎ<ħ€E¹sÑöÓ1¥Lì9¸(da+C¸…þ5†‰ª:"”õG!5Ôr‹Ä‘ˆ]_Vý°ÓDÄÃâya¨©»mä(«‚\(ƒO@ÙôÑ2´`à±Þ ÏŒ9„•®—Ц¤é±{h/ðUq:Ì ñ›tí=¯|C‡þ@@N§™äNÌcö’:r½®~ÕçcˆØ<…ï÷&šˆï°Ó‰f} -.…Gȉˆ»j÷¢òò#³~ -”0\ø£Hõ4Û–Ø!þŸpN)(U—ØqhäýX·OxBîà7$Y›nN~o7ÕãH\¡ÉïsGx#-`iÔ§ì„ùmTS é`y~ºaÌÓØ9ºqÄN…„èmhJ§;´˜¨§×ƒAè©„ÚëšÙ›ð‹ -Àµ×1)4Û/ãuÛMµ Z°¢ýº PÅ/,Ûª|Š´©-D&3ŠÄj,þ3ú÷Zï¡ß˜ ž*Eblüyð;ø"æ§\Xïðá?Üt&Ô€úJ .33ÝÇ1™dïZÒXéÖÌJÓÓ^† 4ðáf1õ¤L)ÀõÞL_ruëCù8ÐbÿÀ䣶c©lÒP6°›C«üa#UîLÛUnj‡Žôf¦IÖǾèؤ¦½i“ÿ„õºnòx@¿cζÿ¥Žr -endstream -endobj -746 0 obj << -/Type /Page -/Contents 747 0 R -/Resources 745 0 R -/MediaBox [0 0 612 792] -/Parent 718 0 R -/Annots [ 730 0 R 742 0 R ] ->> endobj -741 0 obj << -/Type /XObject -/Subtype /Form -/FormType 1 -/PTEX.FileName (./superblock.pdf) -/PTEX.PageNumber 1 -/PTEX.InfoDict 749 0 R -/BBox [0 0 356 296] -/Resources << -/ProcSet [ /PDF /Text ] -/ExtGState << -/R7 750 0 R ->>/Font << /R8 751 0 R>> ->> -/Length 752 0 R -/Filter /FlateDecode ->> -stream -xœ}”ÁnÛ0 †ïz -S`aEŠ¥kmçµ¾-; iZ`kÐ5ð>þhÙŠ­.( „ ø‰üù›Ê x$ðã3ÇýÑ]ß*<þv‚ÊÂþºš‡ÛÏ.3j*ˆ¦” …Ä"ÛÏ §ƒ»sœ)KÏôˆHÄXV£—Ð3‰SP>aà|N¶žjz¨ ºIVTáNµ¥—´@‹¦3Ô4­¡IÓ(¥‚š©‡¬bgÒ]:3­ÐÊ¥Vç?'×.M²W4h­è<[ëÖ\êÉeÙ½ß}·Æôv÷Éãf½Y(µ‘cˆ3Rš ~…˜0‚o¶„÷o‰v†• –ÜŽÌ,y þýòƒâ²¯cN‹öLë™#af¹\¨5{j꣚ܲ‚¦X¡é¾Ý‹£éûöG¸ì~f0G(XáÁM÷Ö>±x3œ! —†£Ûì6þƒß]] ?Yëœ8ë`¸w›O§ïÇCMš¬`É-{û' R³w~Npóô¼ÿ »¼ÊThí…ÚnU0’reók®93Ñæ`(èÕkMÕcrn*8â1£L"M,"Ž¤‡-#½›@1Ûp -u¦™ù8¸/öü@§ø? -endstream -endobj -749 0 obj -<< -/Producer (GPL Ghostscript 8.70) -/CreationDate (D:20090924115427-07'00') -/ModDate (D:20090924115427-07'00') -/Title (superblock.fig) -/Creator (fig2dev Version 3.2 Patchlevel 5) -/Author (giles@snow \(Ralph Giles\)) ->> -endobj -750 0 obj -<< -/Type /ExtGState -/OPM 1 ->> -endobj -751 0 obj -<< -/BaseFont /IBUFPP#2BTimes-Roman -/FontDescriptor 753 0 R -/Type /Font -/FirstChar 32 -/LastChar 120 -/Widths [ 250 0 0 0 0 0 0 0 333 333 0 0 250 0 250 0 500 0 0 0 500 0 0 0 500 0 0 0 0 0 0 0 0 0 667 0 0 0 556 0 0 0 0 0 0 0 0 0 0 0 0 556 0 0 0 0 0 0 0 0 0 0 0 0 0 444 0 444 0 444 0 0 0 0 0 500 278 778 0 500 500 0 333 0 0 500 0 0 500] -/Encoding /WinAnsiEncoding -/Subtype /Type1 ->> -endobj -752 0 obj -459 -endobj -753 0 obj -<< -/Type /FontDescriptor -/FontName /IBUFPP#2BTimes-Roman -/FontBBox [ 0 -217 775 683] -/Flags 32 -/Ascent 683 -/CapHeight 676 -/Descent -217 -/ItalicAngle 0 -/StemV 116 -/MissingWidth 500 -/XHeight 460 -/CharSet (/B/F/S/a/c/comma/e/eight/four/k/l/m/o/p/parenleft/parenright/period/r/space/u/x/zero) -/FontFile3 754 0 R ->> -endobj -754 0 obj -<< -/Filter /FlateDecode -/Subtype /Type1C -/Length 2473 ->> -stream -xœeUyTSW1wu¶¼Fˆh’.îZ‘êNÕ"êhê°/¢²H ,l‚ÙÑö-„@@ö5 ¬¢ÒQQè>XméØéb§­ÎÜǹþ1Ïé™?æœwîy÷~ßïw¾å~¿Ë"œ–,Ë%T*gl VÊãKû­´'‹^³Œ^ˆX¾X¿¸Çy-!j`¯„.lèâÔ´fÅ674ó -²½„ -^&Ø,VNE«¿2U.M’d -7†GlÚ²eëÿNvøúú -ãÕ¿[„ûÅÒ$…p=ó“%–)SåbE¦ŸÐŸñ–ɤ§„I2uª$C— NX‚…ÇÉÄ)ÂR™45U™%Üè¿Ièíåµc³ì:*•Ç«2„/"Uú -EÂ`q’J—þÿ‚ V½§LM? ŠË9%I‘Éw -}6nÚú–A¼AAD±'Þ#¢ˆýÄb'!"Þ'Ž\‚EðˆåÄ -b%ññ -áÎÔŒp":‰ßXY¬;Ëü— ±ÃÙ|œj}œ?ã¸p.sh& äX1¸I›\·ÃÆœúñ@N£r~†ŒÏv#ÒJ¶-næRÖrÞXk€ûÀó@îÓé|L€JÎA_“÷álÓ@Ÿ£Ç>'à¨ú¢¬SÞžZ{¸~ÒÒTÝÒ(Yk³u`h5ròžÂûø¾ø ÷G8nthøŒöS¢Õ0,+áTfŠ:>ÿÏÓVõÐR“MUVþ(‡’!r:ÚûOá1Û®´)¯ƒöî`u~ƒê¾a£:–‹WymÁ|ìùÝzä†Üžþñ‘ûöð«’;s ^‹OÜ›Ør1K œ<ý78 ~¸43Ëg¸°Ü–Û Fò¼Úõ–ÛÝy¤Zp§ŒUôZn•¹VAÐW‘w\ð\Bƒ!°Pës‘‘¤N6{ͺø!@;Èþä–¼aЊo‘Z‡^x²9$&=,F0G‡eIt¡¹<´y/·ëºcüÎå=`ö±½þǃ]|W´­ôŸì¬{óì -z5·®¤Ê\ AkÕé.!aTAÁ=Р+y°$× -o¤"{F®´—WójøõÚšB -V[Go–]§ÈÜLð-i,W%ésx®ô°M¡ªA¦£?=s§$t:ÍEšLRï§ÖøA€×¡tNGYy;­á gج±í­zÃùy‡šË!ïZ´0< ¡A·ÇrPo#ùn©¶ÞHÖ‘_A›¦v7XjÍT°ÞmÓÖ¹ÍΣóî”θÂ5rNjÆè)ö&©Þ\rÆT›£Ö“PiÔj ©*™^ABJß°€²¡x½–œ0Õià €ËÈw&"¿¸PßÞÎqö!)QéÙ+vGÍÕ:&½À¼ÁS´G‹ÛõGhãWîÔ}ôn®VoÔ@YP7*@$œ4vjZTŽØÆ@¶í;&Ê´gŸoi²7—ž+;W!8[u®V€öžæ‹—Ûaü£$~ëýÜüX±*[+…É€ŠÆL5MNó)KDYCÖglªídLxû#.”Ïdé3´Ê3YH”}#‚RÞr •£K%vúm+ u¯B'¬Ì®—âWQ¤Ç#äÒØÞUßcæY±·†ì:[]µP¯W¥ËŒ…zµ.[k÷P«û ÖY*ºÌÀŠOiªÈ.X¯ë>þ=~Ós°¯<>¯ ÙÄÓ uVR©/³”WX-vÁôÒ?°°´°¸ò º (ù,XªÕmÚ¹“Õ:Ǧ_G^Ü耤Œ`¼Ž|‰È_¯Í~å°«åªJeƒº òÚšÏ_¸ôÇc‘ÙIñ‚¨åAøÀ«¼…Øcë»üö&ü›/x?GŠD:XôVäÃÞ«8ƒal§â†z° ÷ì4@Óœüó:Ó{äŽM0 -W‹¥ÇãS÷C_€ù·w!ò‡»71ÌÇ÷ÑVnÍý¾i8 [”– ýZ‡ÊNã!©Ýmviq§ÖÐ!‹>Ü,NQ¦Á ó`nin% zë+SVÖCf‚Ù\‹¹Ê\ Aoµ.Zð<‹‘ “Éi‚uV2Û|ªXSûyHD"!þKIQ±©ØTbâUæ•B#8s¦PÏÏÑ …•S"kŒ»Š·¡pÎöÙOfÆ;+yÖÒºb•V«å\8WSÄ\—ü3Z­žÑ7WÚ‡,*ëùA§yò|gWÔ ­¬γ™˜Ê95æZs%=ÕZFÌÒH¦Õ‰ŒLT+)*ÕWÃk€þžÁGäŠóäò\™œÖN²æ‘héc7Ò¯s-%•æÚªNG pù‡&äÑn%Ë55ð@ý$,®¬®¨h=?bë‡`´Y Àr† ÁEŒk¦• 6klp 2²k¤·a‚ ©>œDÂàüü ÆIi%ÓŠåźx‡âI´"áÖ»A‘iAa|õ i{ŒJ­Ü% Š#s¤†P ïÅ”¡ 1Bê†Æî¿;çN}GË[GÅpð§Ïƒœ >ìGR¿Ì!¿g|è#..à ô”)T ×v,ºv¸]¿p)?½çNÍ¡šäþôAÿ0ü <ô¿µ³vò:ܨøm;Ÿz‚ _•ìàêÍ"gä2÷ɯ|jÎI/ã•ßõ›Ü/"Z’`8|òäá=‘S_Ô<¯q?훆·ÀÉ…“’ŒL)ŸjJ9Ÿã(¯0›ËùTlq„fÏÊòÂüebX¢€Á˜^ù™+OO“)ZÓ;»ÛZ;»ÓÚäK·¶mÑ­ÕòYž²Q“i(ŒËM”…ˆ1ù"UV/^~)d æjƼ -GlŽþ©kƒ@´ 8/ôvç›Ò¸ócØ‹±8F¸kWÌP’Œ!ö‚À5ÛN‡ÛQ¨Óµâñº*]\7¸¬$ˆÿϳƒ -endstream -endobj -730 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [341.506 619.822 356.229 630.67] -/Subtype /Link -/A << /S /GoTo /D (figure.2.2) >> ->> endobj -742 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [308.795 177.902 323.517 188.75] -/Subtype /Link -/A << /S /GoTo /D (figure.2.3) >> ->> endobj -748 0 obj << -/D [746 0 R /FitH 686.127] ->> endobj -46 0 obj << -/D [746 0 R /FitH 668.127] ->> endobj -578 0 obj << -/D [746 0 R /FitH 230.411] ->> endobj -745 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F48 455 0 R /F70 508 0 R /F14 574 0 R >> -/XObject << /Im2 741 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -758 0 obj << -/Length 1659 -/Filter /FlateDecode ->> -stream -xÚ­XKsÛ6¾ûWðHÍD^$ÈÜÚØiÒKZGi¦“æ@K”ʼnDº$UÇýõÝÅiRª_㱸–‹o÷[\ðà:àÁ/g?/Î^¿K‚”¥±ŒƒÅ:1gql‚8‰™&X¬‚¯a2û¶øõõ;£úŠJ³Xi°bUÞ¾ÿé·ÅÅål®” -%›ÍI·Ï/ΩëçQÔá§ÅåL&áç·‹Ï—hùŒ;4Çž‹3à,’*Ð*|I°ÜýÝ âïTÇë;œWg¿ÃŸ·éUæÞâ¼gr© ã: -47Lj–wÅõ¾Î½ËêÍl®u^fM›×Ô[Õ«¼.Êk×ZS…ÄQ±DIÇÒ©èžJÂDÚú/Îå„+y) x•ŒÇ©W¸ÚV³9p°D"¾7“$s©9Ó* -æŠ3#œÓµw/æä‰ëÊ ÷LC&D2 -¿í¦(I#Ïì؆ZÍþÆêç“ï¿ÂNn*lÝâOþý­ÝÈ}O¬Ì²‚Âr™CŸ›|…N‚cs!XE䌅”È0£Çûb{åÀ´Ô³Ü×45o²œ/qîT‡Åv»oÚ:kÁ¸öæ\b`T)Íêk—Œ—ׯVG2=; ÁX¥"ü°€ZV[[œ~›•ÉŠÜFï°YVíÀ¿˜ü[V%¢o3‹Ìpk3N¡w³ÍÛœ:‰COÁ˜šð;½Q•ôl7ºq#5=ëâzƒ/´ÔlŠUÞ` `è^j²]îßêVôÍ;M ¦¥³_ÑöÑ€ýŽºo!­Hʬ£w¤2N -\}û1Qƒêº&HÐGÔWûr•ÕÎ~µÛÀøŠYxB³Të!ÆÅ,5çE—.D›¢!É{kãá/J}à‰}1k»ÀØ',EnŠùÖuÞ’;h¢\‘ íV ' v¯ª4ÜYnÖÈÅa9Â@íVšmT˜‰ÊóÛý.#éf&B—h.sv§7&HJR,}èæMM¾M$`ò{/-w 3¦¶ó¡¡NrBM'…ƒ¤!kýSŒgDuF†Õx·;–'_69® Û=ÉnIÝ6 §p#K²µòý6k0 -8af£²¡‘á´}+°þ6@MN²ã FýÖ6§HÓ×¥Ÿ 9§ŽÛGÖÕvKAí³¢\ns}3y~À¡}8ˆ%œ­ðÈÎO8láŒýú+f™J“àÖªî_|ð`|‚{hD£Áa–œ2ê|²1>ÏÁD,bx&,ö ©ÀÉ9H²“¢N¢ {à—Ò é§Bá*R€I 1ÁG…€cÎ>bé!#˜¶o=;(Ê%æ^PLê`’ñôZB ¹yÂô¼Â§êExU13žUÞ1(:)î$s‚Õ§šfõ€èáœ>? §½€˜ÎycN0úèÉ'–»’,…oÙç-w ŸŸQú¬´ˆ8‹RðIj¦´ÛÔ`aKŒB잘çiQá'2âiX¦3¢æá9ñüht9Ñ „ñY!N­óGO?A(OXÂõ‹ -uJ¹ ‘Æ=O¨8AèÓ°LÚópBŸŽÐ>!ºe.Ò„>zú1¡"Y¢_f…r¬9]N*G¤ôDâùlì®}œÑ'‚™f´æÁŒ¾@8:Fû„è¾E„>Îè㧟`4Ñ,I_d‰Š$a:!¸#TxBµ'4:AèÓ°LÚóp>Ÿ Ïg~!ºLHìãt>zöñ9Œ6â4zÌ9<¾4…0Š÷W`ïm&¥«Q€Â ÿAâ?³ÊŒíËl7®xZë»{o¹«$2@ÏÛMá+Óꨓ]é¶ß®œMD { Ôø*~²6^ q-䡬ÁV}ølýèhjì´å' -ö -b¿Ã:íÊ]¨`u…CK¬“ÜeLAzÕ¾Ák ]×ÕÎÍX:[îÖEWºY Õ‘R†%ËüG‹W¯> endobj -743 0 obj << -/Type /XObject -/Subtype /Form -/FormType 1 -/PTEX.FileName (./raster-block.pdf) -/PTEX.PageNumber 1 -/PTEX.InfoDict 760 0 R -/BBox [0 0 342 229] -/Resources << -/ProcSet [ /PDF /Text ] -/ExtGState << -/R7 761 0 R ->>/Font << /R8 762 0 R>> ->> -/Length 763 0 R -/Filter /FlateDecode ->> -stream -xœ­WËŽÔJ Ýç+²œ©ízo‘; %ÀŠ{™š XðûœJº’êÈ€7-ùÃ{ðAd¦àŸK¬Jit&†‚[L† ¯„2»"­µh½&»²¦¶„ÍZß(TÖz¼uýz„è2þ??¾ú×G\nó5‚Œ‰Ú¿w㥅áQ)xE¼²ÉÏã©û|Ç÷ë˜ïäüÔû¯Çwc„Hß=LŒq©aAAÿëîˆèþø£;Nk˸pŠ¡p^[ðPL½ t¨]OÂDrl°ˆÏ`òûî/Ãþ/ª -endstream -endobj -760 0 obj -<< -/Producer (GPL Ghostscript 8.70) -/CreationDate (D:20090924115427-07'00') -/ModDate (D:20090924115427-07'00') -/Title (raster-block.fig) -/Creator (fig2dev Version 3.2 Patchlevel 5) -/Author (giles@snow \(Ralph Giles\)) ->> -endobj -761 0 obj -<< -/Type /ExtGState -/OPM 1 ->> -endobj -762 0 obj -<< -/BaseFont /SHCMPM#2BTimes-Roman -/FontDescriptor 764 0 R -/Type /Font -/FirstChar 40 -/LastChar 110 -/Widths [ 333 333 500 0 0 564 250 0 500 500 500 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 778 500] -/Encoding 765 0 R -/Subtype /Type1 ->> -endobj -763 0 obj -933 -endobj -764 0 obj -<< -/Type /FontDescriptor -/FontName /SHCMPM#2BTimes-Roman -/FontBBox [ 0 -177 775 676] -/Flags 131104 -/Ascent 676 -/CapHeight 676 -/Descent -177 -/ItalicAngle 0 -/StemV 116 -/MissingWidth 500 -/XHeight 460 -/CharSet (/asterisk/m/minus/n/one/parenleft/parenright/period/two/zero) -/FontFile3 766 0 R ->> -endobj -765 0 obj -<< -/Type /Encoding -/BaseEncoding /WinAnsiEncoding -/Differences [ 45/minus] ->> -endobj -766 0 obj -<< -/Filter /FlateDecode -/Subtype /Type1C -/Length 1221 ->> -stream -xœeSmLSW¾— Þ "N\3ꤽÎMeŠA7#L÷a@§YÃBE ’b -½¥_”ÒööcP´ñPi liiò%+à?V¢Ža6—¸,.ê6³ Û²lQC–,;—\ìÖmÙ%''çœ÷=Ïó¼ïsŠ¤¦ (ŠfV(T2}¾X­’4%÷;˜Qfc -“‹öàJp¥0-…°5 ™©‘©O²alô¬…Îç E[}#ÅjI§h7“Û*ÅÇò¶oßñßÉ®¢¢"²Îôo„,‘é MänÑ"£Ô•¬©yYÌeS”âÙ@™4r=)‘JeÒäµ£J¦$)(…F£n!·ç‘» -våsÓžR…ªÎ 'Ÿ)'KÕE¤ˆË ”D÷ÿ‚ Mªmùy¯î,صAÞGJ‘tdÉ@V#k‘uH6²YÍõIEZÐ-¨¥ÑOSb)7°M…Í3®,Æ̆yôÁ",YÄ‚ÌK<ï¹ÞN? ÆzèB¶b‡µê ACy¯ê¢ûÀ4?ÄW¢}S€˜¦ŽYD6óñd’4€ŸðØûÀMøoµŸ¨¡Ìï½+øwºO˜Ž - ?k%Ì1æ^G—¡(9°0GÚ®;Ië±T Y/*­tùYOÀºi?¸HÀ8Üݽ>ßÈÐ¥8 .Gå…¬ -å‡8IÝÀÅô¸E@>qi*t !M¡màŠho/srIê®u«Ü¶¸È‡u8Ì~þVY•¶¬R`ZPŒV‚Z ¶Šˆ{œÞªVN/ÍÏ‚K+/¢‰% &V -yªUÚúš’×å[›Øõ3y?½òquÌp]ÙÌÙ÷¥:®¹§ÿÊq,ƒ?ú½5vkbú››DóÔÜF™I¨áÝ~ÚyÿV/a³ìAÞÝÄDlæêã˦ø|ýã×~¯Kh£Ç.Ø-9D£ò±w†ûß[Áf[¡¦T-R5—q¨®g a v0•¼N³»¥£É¦à;MgÌÀAƒæp$Žx]ý§û¶¸s–ë£÷¹¢mÓh#„°‡9ˆÆh­O(õ*û´ÁvOÎÜXØwÙ7ëí÷ƒbˆ¶Ðf›Z/ЩtƒÝy&'†ƒaï˜Òî -?±Fš6Ú»LÞAo£‡†Ë"­ÁÆiã°½ÛˆVÚbÔZmÂçÄa›ß™S§³tÔ´l7ÛŽ0œ·Eƒ=žð€`|Êãéöõöø<ñ(‘Ï9¸×-óT:-Õ4¢ŸŒŒOjc*!W¾5¶’C‡ÁþGôqöT‰¹^^V.cñgþ Slú'å3µ×ô7Á5pi`:~s~®! ¤nb_¸´¼Å+l+ceµäž=µB)”_Ø’ðïÏqãüN€‚óÿ2GÀ.H³â}W—;äèêåú×C+…Oã ±½ÙÒF·Y]’äÓàû;-½ A0ñ$Ô}fè. -YÂ5ÌåÙ<õb[ÛIÀgÛWÁý°äç_/Þßñ—ßøvsÅ1ézRA+Í%‘Ó9=™¾ð5 Ä{߬ٹw·=Ä–¥Ù™ x–q9:+WMd<\=Ñ™ù0”¹Aþ—e>¥ -endstream -endobj -744 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [373.5 361.641 388.222 372.489] -/Subtype /Link -/A << /S /GoTo /D (figure.2.4) >> ->> endobj -759 0 obj << -/D [757 0 R /FitH 686.127] ->> endobj -579 0 obj << -/D [757 0 R /FitH 419.202] ->> endobj -756 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F11 573 0 R /F14 574 0 R /F13 705 0 R /F10 668 0 R >> -/XObject << /Im3 743 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -773 0 obj << -/Length 1581 -/Filter /FlateDecode ->> -stream -xÚ…WKsÜ6 ¾ûWè¨é2"EêÑ[œ6mÚf2MÝSÚ½+{5‘Ä-%Õq}ñ eÙ«´³3+AP–Ü'YòÃÕõÍÕ«·ežÔ¢.T‘ÜÜ%2+DUÔIQBª2¹9&ŸR%´Øí˲Jß¿Þ©*}óÿ?ìöy®Óë_>¼ùù·ÝŸ7?½z[­4åy%@uÆ*j¸Ê¹_{~s%È™ÈB ¥L¢ó ©’Cõײˆÿ[ŒWïz|ç®~…_ÔEöQã~¥’°¶Zæ¥0²JtV -¥Ãý߶÷³oðº9úâÛÝ^k“þØv·»½*ÓÆOìŠÃìÿFÏQço‡{^tw̽íìªÒJ~™ùÐN§v`Ú²ü8ŸYûn/S¿µwÓ¥É>ÏD¡kxæB—’opîìÐ@ M®Ò›ÚWäiÛŸ»ö`§Ö Ö*NvbÎeùäO.Ùj»ó®çeÛuLÐAaÙú°yòšc«ü:í„ã÷RŠÚ¶ø8G×E+À'ïLj[7¿}pH3Ž‹ø85çQR©E­5hVÒ—5¿î¦“›ïOŬ¾ ‡–[Ž«£ë›©í)#³ìÃÛ $ ¹Þ©žy÷o€´<ïŽUÀË19÷̀Dzö‹±è†‚ W‡Ø Çæ {ÁŽc ˜Õ׆,ZåÐE¾Ðn2Õj™­ÓÞ`±Ö±Zm÷`Çš–ÂT2JµÓxa[Lâ|Œ¦‘OkÔÆ%×…B{Yg"W¯¥È¥Zî&•IßÛÆ8/Mz·É%Üþ>o˜)¤r‘›<·i5”/²˜—Žc`ÛadŽeaÅH½öè¯ë2zà,S—fÈ  £Š2*(õÞâ9¬œÐØ—hLr"A4% ÐÝÜ[^¥ÛŒa- -Y,1Ž¦ÕÂä:Špr‘öœ‚¹ÿÕæy)F9ÑTe.­F&Z­ªb±i8LX–ax€ÚPµ!$@æxr‡a­ÇDÔEc ÷÷é?Ì}"%Ì3k^ (‡GÏáˆ[¶o`ÏÁ¢ E™úæì›1)°*p+EñáÔ F £ Rcû…‰É±ð„²ÔºØpý… èJB±œ‰Û GÂ2”tÁtªbõ§ ‡ò˜Ý»q‹¡Y11"fÌ¡ÛÑöHŸîàŽ@¡÷À”›S6.ÏŸ±\ðSÐeIóÌ÷ü~yÉ\ÃN-' ¹¡{d5«:|v™„—)gLt½¡šE6¼ Ò„Ž®sž_c Ô²Š ‚/m]ÙBRð”éó}è–t$w7Oü!c·>"b@è! cïB¦þ†þ;LÎd½sžW–>ppR’=íB¢|u¬hƒ^nÏ´»sa–àìøz›Œ>R …LÊ(°ÝäžZ#¾‘ï»…UºzÁ¡ÃÎ@¤ð¼ƒÿèÐz³ü%ŽéJH³@àÌI‹G®»¾S÷aòibhŽAú–q™P Œ~¹æ‹íÛ!”$ÄÇƦš_e=®¾l1(Cž@8ˆuË`Ž,ógRq”@ g0ÅP¦((wH!÷N?.&âA)xçfªM¹ôD /˜Ð [ÊT ç0Yiù1öPË\ -Œ£0px•}˜úpk²!žÃÏÿÃz”Q¢¸Äú ¤x‡­µ€’‡ñøªc÷ŠàŽ|Žoaã‰5O71ÿÐÔù037SؽŒèžß/Æ-Øȳµ~š¤'wf"0|{zš_„ Ã@Ð õÀ* œkû@­>1Œf¬Æõ©¥‚r†r ÛÃtÌÐÃø%¦‚ÑC>1O<¹B´B2"{1æΣ5¦ß2FÍÃÑúG¬h˜Ìñ“ƒh•º¾¦g}€ùº9X0™¥¹\€à#‚†Eµn҆꠨Øq›ã'Ÿ¤-?z -º©…(nÙŒc™–y* œßwé[xüQ u:4¡à?z×ÎÖO­íx%¸ù/\ ×-*þ>tíç0> endobj -755 0 obj << -/Type /XObject -/Subtype /Form -/FormType 1 -/PTEX.FileName (./hilbert-block.pdf) -/PTEX.PageNumber 1 -/PTEX.InfoDict 776 0 R -/BBox [0 0 229 229] -/Resources << -/ProcSet [ /PDF /Text ] -/ExtGState << -/R7 777 0 R ->>/Font << /R8 778 0 R>> ->> -/Length 779 0 R -/Filter /FlateDecode ->> -stream -xœ­XËŽÜ6¼ë+tËìËðý¸0 ¹Ø ‡ENN¼‹`&€íƒ?ÝÙ¤HŠˆÖ‚K[ÓÝU*QÝ¢¾Ìœ‰™ã¿xütŸ~þèæ—oÓ‚ÎßÇ“¯/Ó—I¬çñðé>ÿr…p? Á”òr¾~žÖ2b––Icí, Sx¼Þ§ç xÒ†ó‹xøóúëd,³AÌñpýkºÈ‡ë?ÓSø)„x¤käùbb][Ö}*#\Œð}æçK€i8ãò"ø¤˜GåE‹Hž€ß?UŠÅ"ùúø|Šr¼^³T|w>€‹|–2ðù¾8{›–?èdùï6½NVq¦%è$ÓÖ@¸/V„ÜQ‚ƒÛ”5B·Œ ¨඙PÄäʯÓó¿“fN‚-ó÷I+ɬr”r” º(ó;\Ÿ_zÒw)[¡YÄçÇBÀYE_Aæÿ½ÞYæD˜±ŠwÈ™t> Q^y¤ì )«‹ÇàÁKXeÕTt b¤VŠqoQBLûñÞ¯¶w”6 ­ˆ†?©Ò›ðLq3{瘰µTLxOÈ-#*0å ”5@´–  ã™teŽ6§Õ#ï´à)mî(Ýehe'Ø|R¥#6+˜çºupÌá#Lˆ ’á„ ²Äœ.8ƒî'¤SL¡¨šˆLŽ‘!xTp-SªWL›hr«³ahE´œ`òI•Þd²³Ð»J½QR¶ÈšÔ¢n¯¡³mT¦ˆ­Å&ó{nÊÖ'•MýFACXúûeŽ˜›º9Ü衘‰ É3Qra3ÝHš%Z8ô"&WN316†š'aNF;bwIZi™|>«Ô¡Ù›¼°F2ƒ7—AÛ¢íw˜ÕEÖy" ü|1OrÈvö¥µ{Ï©ëꎳ¯UÚ0´"Nœ}çT:bóÒe¬ wTâXz/4Ã„Ü -Dkx @„²>{ x‚ѹ‰I•£ÏØvŠ"|™‰6÷”î3´º'ø|V©CFk­à¹Í½ŠjÃPØ0ßER·êNTÑò*"2™"©5çܲ7w„¶ŠŠM>£Î!‡1 ÞÕs—ZŒTeJHîR)kˆà+/lÍ•]Fwµ-º3\nX†Ò¦;÷Äî‘´Ò6Ýù¬R‡¼ð¼8]t*B¨/\¦‹P«jÐ,˜ÕEË«¹²×)”úsN.tOlMÒRÓ¢×'•z“×Üfmáu€×cDÁÙ")«‡vü…o”RLíu|UΞަ+¯ ±5IOHM[zýƒ¥ywÞó¶hY½\{Bh_DY#ׇÑy{USe«cà­`ê)›­`OéC+«Ü -žTéØ0\?n(Ý Á}¶Õ¢˜-’²úÈ:dðau1drL5Ó—Œ<¡ÒÇŽ4[±-I+¤¦]fâ9¥Þ2ó‡+‚ôQ*!ùÃUÊ"qÌä`5W3óç»´Ê·Ÿïzb÷HZi›Owg•B¯a~µl#¹ÇÇK<|ýBŒÓà …¡>O£ü Þ?!¤«ÁÊiÙ!-ƒ¤e?$iABÛÁ–AHÒ2 -‰Z!I‹c[¸ƒ-ƒ¤eµ B>LÿÖ¾ä -endstream -endobj -776 0 obj -<< -/Producer (GPL Ghostscript 8.70) -/CreationDate (D:20090924115427-07'00') -/ModDate (D:20090924115427-07'00') -/Title (hilbert-block.fig) -/Creator (fig2dev Version 3.2 Patchlevel 5) -/Author (giles@snow \(Ralph Giles\)) ->> -endobj -777 0 obj -<< -/Type /ExtGState -/OPM 1 ->> -endobj -778 0 obj -<< -/BaseFont /ZVTVKO#2BTimes-Roman -/FontDescriptor 780 0 R -/Type /Font -/FirstChar 48 -/LastChar 57 -/Widths [ 500 500 500 500 500 500 500 500 500 500] -/Encoding /WinAnsiEncoding -/Subtype /Type1 ->> -endobj -779 0 obj -1222 -endobj -780 0 obj -<< -/Type /FontDescriptor -/FontName /ZVTVKO#2BTimes-Roman -/FontBBox [ 0 -14 476 688] -/Flags 65569 -/Ascent 688 -/CapHeight 688 -/Descent -14 -/ItalicAngle 0 -/StemV 71 -/AvgWidth 500 -/MaxWidth 500 -/MissingWidth 500 -/CharSet (/eight/five/four/nine/one/seven/six/three/two/zero) -/FontFile3 781 0 R ->> -endobj -781 0 obj -<< -/Filter /FlateDecode -/Subtype /Type1C -/Length 1244 ->> -stream -xœeRiPSg}—å)K•øÊ¢&¯›Z¥ˆ{Ñ"¥q¡’ ò) ‰„°,ôÓâĵ,YÄ]QŒ!U‘¸W°¨DªUµ´vo§÷e>~”8Óéþ¹s÷sÎK/‚$IŸdµ–3Ì‘ë´ÊlOÂO&ù)^üT -•ðzw¬p*‘Ð@ù" -ù§°?´L„š× |A‘d¥%F§/ÌQ«2sÙëäf†„Ìþ/ͦþ[ac9ƒZ•ÍNsò8N¯å²s²1cÝz«Òê3 ¬2=K÷Œ­Wj¸,6N­Qëõºš°`Ÿâ-yÒïh9})øáêË¡)Š¢,•T«7m6~T[Øq×~ü¢oÙ *“*'G¦ÕêL+ ôd…é7ùÅV°?Xâ -Œð(fÞá“"|{4I¸Nà…bÉo.Xø»¯ºÉà -TÀK¡GÃi¾wˆ÷ ->à¿e`£¨ÕìøÂÒþ,Ðl1å•Uæ¡ Ì‰0‰Ë¶mEÛÐÖ Êšê]ÇÎV”vHAœÑý!šA‡$.[œ_d9¨•f5åîÉCtvÉ–Îa¸ÿxàP×EY§½± ¢‚Δ‹Šóò&<¾Ñú¤t’'F æ9ÅËÝË,*K*X¾KÖ`ÂÁhÞ¡¹¶”vÅ%ÃuDÄáA -“–?ÄbE^— ;! Â[iœ†Ï0ÃcðDì•ž¸bîº ´kW›µVÖXwt÷Iä+·òwï‘ü:÷,fT$Zƒ§×—Ûúö÷  ЊðÇ£#Â["Èt¿ùê(mn¿6ÿ˃+î®?y0@â/f~é>yõÑb®NÇä‚Uañ²ÿ -•Jža"Ú¨Y93ˆýºÀõVò㦠i–Ú”UÛXxöçSÇúý¸WµøÓw£"d8' ·ðÁb¿|+¿Þ -ÉVÑ‘ñO¼ìòñyÒàãKÿö…W -endstream -endobj -767 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [348.723 261.533 363.445 272.382] -/Subtype /Link -/A << /S /GoTo /D (figure.2.5) >> ->> endobj -769 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [434.087 177.024 448.809 187.872] -/Subtype /Link -/A << /S /GoTo /D (figure.2.6) >> ->> endobj -774 0 obj << -/D [772 0 R /FitH 686.127] ->> endobj -580 0 obj << -/D [772 0 R /FitH 419.202] ->> endobj -50 0 obj << -/D [772 0 R /FitH 316.593] ->> endobj -771 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F70 508 0 R /F48 455 0 R /F14 574 0 R >> -/XObject << /Im4 755 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -784 0 obj << -/Length 344 -/Filter /FlateDecode ->> -stream -xÚ’Ír‚0…÷<Å]‚Hþ±»V°ÚM[ÝtºPD›©@ž~Á€£#vœÌ$wrNÎÜûMXC΃rzÃú¨/ˆµ,$„ -„‰µ„wÞ‡zê %=uR†eUÌÁ3Ý¿¨xâù”R— Ï—2tÏQÙ«·q?×%s§jâ‘Ð Ôl×ÉNдs팕ƒ«"|lJ‰dŸC’9?G±Þ».zãŒCT8¯Õj3[‹ß&ú'‘\–H°(㨹y¨×¥IÛ‘ùç3ÆÝi¹ð|"Ý¥Þë­.r;t±²¾¹=Vfž¥VÑyMcWX!›'¦)›ª¨¤¤Ö¿¶7‘ê F$G¡€¥@”Š›‰‰«ÄÚDÿ$òò'Õ3†ï$&b#½±ÈR³³L’Òìë©ka–©Ñùúå?¨¾_½ûÔùömù}ð¥¦ëÝ­ñ•”¹ -endstream -endobj -783 0 obj << -/Type /Page -/Contents 784 0 R -/Resources 782 0 R -/MediaBox [0 0 612 792] -/Parent 775 0 R ->> endobj -768 0 obj << -/Type /XObject -/Subtype /Form -/FormType 1 -/PTEX.FileName (./macroblock.pdf) -/PTEX.PageNumber 1 -/PTEX.InfoDict 786 0 R -/BBox [0 0 367 267] -/Resources << -/ProcSet [ /PDF /Text ] -/ExtGState << -/R7 787 0 R ->>/Font << /R8 788 0 R>> ->> -/Length 789 0 R -/Filter /FlateDecode ->> -stream -xœ}RMoÔ@ ½Ï¯ð­Äº¶çËÓc%àB”Ü(‡%ݶj7, BåçãI²i"EŽ<ÏÏÏÏó „ TÏÛÎ_g¸ÿé¾@L˜ -ÃWKߺ‚!h„7 áúƒã¤Èv_jð -’Äcô ”™¡ß»ÏÆ2–̤Ösö(~®bŸÑsšãPå‰1“8]•§XFȬ‡•1°¾ÊˆŠöä‚üˆþ«ý‚ÚÏ-ʪûRá©ý¬ð_î0‰bò%#¥4™֦Ģ&<³Aó“ÃÚ8¦À¨é•°Ž—d=^ªLKÆ…)O’ÇÅõ÷îÙH‡ÿ)´\6¶v…“MÍŸƒ1 -K± ÉŒk:·¹ÙÐ[º9;k]!ÔjJí¨Z ¹u›÷ý®Û_@ûлü8ì¾ï+tkÎsÅn…)¦|µkûã·Ã±}06e©Š·^lÒsyºæhu!Cóñ”|ã͵³åô·Z&Ôm ÏGÐSþ¯&oÛÊæÔVìå²~-¡ï÷ÉÎ?w°Ì -endstream -endobj -786 0 obj -<< -/Producer (GPL Ghostscript 8.70) -/CreationDate (D:20090924115427-07'00') -/ModDate (D:20090924115427-07'00') -/Title (macroblock.fig) -/Creator (fig2dev Version 3.2 Patchlevel 5) -/Author (giles@snow \(Ralph Giles\)) ->> -endobj -787 0 obj -<< -/Type /ExtGState -/OPM 1 ->> -endobj -788 0 obj -<< -/BaseFont /MXWNJK#2BTimes-Roman -/FontDescriptor 790 0 R -/Type /Font -/FirstChar 32 -/LastChar 120 -/Widths [ 250 0 0 0 0 0 0 0 333 333 0 0 250 0 0 0 500 0 0 0 0 0 0 0 500 0 278 0 0 0 0 0 0 0 667 0 0 0 556 0 0 0 0 0 0 889 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 444 500 444 0 444 0 0 500 0 0 500 278 778 500 500 500 0 333 0 0 500 0 0 500] -/Encoding /WinAnsiEncoding -/Subtype /Type1 ->> -endobj -789 0 obj -388 -endobj -790 0 obj -<< -/Type /FontDescriptor -/FontName /MXWNJK#2BTimes-Roman -/FontBBox [ 0 -217 863 683] -/Flags 32 -/Ascent 683 -/CapHeight 662 -/Descent -217 -/ItalicAngle 0 -/StemV 129 -/MissingWidth 500 -/XHeight 460 -/CharSet (/B/F/M/a/b/c/colon/comma/e/eight/h/k/l/m/n/o/p/parenleft/parenright/r/space/u/x/zero) -/FontFile3 791 0 R ->> -endobj -791 0 obj -<< -/Filter /FlateDecode -/Subtype /Type1C -/Length 2673 ->> -stream -xœeViTSg¾1$ߧEÚ’¦—$­ûVÑÖÐZDZM©€,‚Ê"D²°C ‰Ñ/a B€d—%ˆ¬âÒª(:mµXµŠv™ÖÚiǶ3ße.?æÒvÎüè9÷Üsï÷.÷}ßç=Ïs„Û,‚Á`¸ï•ÊÅékB”ò8ÅÌûjr>ƒ\0‹\ÈD”|ê—©-¬…„¨Ž9¹3‘»[ý‚–xâ/cÇ‹¸è%‚É`äXšü•)ª4i’$C¸<,$bŪU«ÿ²ÎÏÏO¯úŸE¸Cœ.MR—ÒYb™2E.VdlúÓÞ2™ô0I¦J‘¤ ãÄ 3aáq2q²p§T&MIQf —û¯®÷ñY·†¾m’Êã3Ó…¿U. Rú EÂqR¦,.íÏ‚ ¼Û•)i;3ãrâ½/–$ËäBßËW¬ö!ˆˆEÄ"˜%–áÄvbáOì Þ vï"â}"ˆ`1›˜CÌ%^&xôä7"‹1‘ÈønVà¬~æRæ˜[ˆ[7‹ÍJg³ßeO‚àcpî…Ç৳9³Cg÷‘FÒˆì伋Œ“xÇ$³†|[V\aªD°ÕªŽP&€Bò5‘G¡Kì ²D]…\w‘¡†ªNÏ6ÊÞPb€DÚÜ}3N vUª«Bg!V§1—¶åîäßEæ(•4oÏcj-räô{rž˜õžoÄÀ‹s¸vj%—cÏ“†ª|´ Nïh›Vëk„œÃ9øKp×÷t¹:œCh ªNËÚä-)U»j.Øê+ë!GÖÔ`ï雇ÝÖRÛø~Ô×ÜаÁ¥¦Ã/§·ÍCaY ‡2’Uñ…ï!¥±vpŸ]e½Åjç²92 Æ¢×oY# §RÐJ®oe´}ƒ«¿aâb2–K½ê³ŠâSó¿[Š=±ç³a>öZû=õŠ@«äN^YE-¤X·&$6žÎ(/ä}†Æá÷g®óé\”¼6·N…å¤ÇUÏ;“8ó‰Ç`%r­& ²"Øe)Ø/˜–‘Ÿ¿G9Ks±pÖ­&m%ºñ:Ð}¸± A<ç[솗à—¾^“#˜zsX–D»7—‡Wnå¶_r ß>»…‚3j«ÿþW;ß?¡1ÞìdÜdZÈyÜêb«© -Á&k^Œ€*h_QÑn]‘çÚÑeˆ3AÇÀ¹–2«¡ ’_£©ÔÛl´×¶vf9¥qŠŒQ‚oÁž™¤Ý“Ãó ?D<Ö‡­§hD|îÅ‘é8‹Õ@·I¥Þ„ µ§±[KËZøx³Pƒºvlbñ"Öt+›3‘nëm§òÍ×n1ÀÜéï”hªÑ-ˆx øÕª«6ÂhFCœäÆZMµçø$Þ9éÅ©%ÓÏq ìù•ÃüŒZ8¹àš±ªíƒ” ¥A£ÉOÉ”éä&$wõ 8µø>µTFŒÕjtR¥àí‘ÈÏ{zkZZø,_À•;çtUž¯¦ÛÛSp9d”ônô¼ô/ÿ‹3D}ÂÍÕè j3Šª8  †6uc¦+Ö±Á5Û¢DÎìõΆ’ã¥Ç-‚cÖãåÈ[:NŸmQ„ñƒõÆû¹…±âÌl†œHÑ`ÌØ`_ý…1>ÇQZ—Õ7¿ ÕWuŸ¢MÔÚG\$3ÉÒ¥k”G²”(»%]ésṃ3#ANòM;Ÿ|°³e(»F6H½‚#½awGK{M‡‰g§Ö«Aû± -=Ò .3MfÐëTÚlÓ[Ù¯êB6Tm³´› :¤¶‚vT£=¹ÿ)µØ›bS~òø‚¢ÃFž/±¥®ÔVf±Ûœ‚ûøÅ¿S½Yô<¤*:zøØoàt/\gÜœÄÙ_1ñš©Í\ƒ9NR¸_ËS²ò@™©Y"W\°3—V)ÝÓ Œ'“X4s1´4ÚŠËg¤±Ùš- Êfr¨CÓ9Òì ܬ®D½wd.¯°XšN Ôv#8Ø ¡Ç.(4??dF 3ì Ĥ®E× .íuÃ^®KñPI´ÔÑNJ;H5ËÍÚ:ÔËÃñÏI¸úNpdjp_uYÚ†bRã+‚whUÌ¡UUÍóÀÅ4 šÖ)VÏKwncåͽw½8x€Ü?ìîG7àCÿ«Ë(ÆÆw}v9¿®ås¾¦¿LY༕÷1 »O|ò3Ÿ3&¤g©¹ß@ÕbîçI(î:xp×–ÈÑ/ÿÖÐ?z†v‚»~4i]‚£C}×o Äì Q ó F„Ž!=ô|ÌÄ&Ìdàd Wž–*S4¥µlnj;™Ú,P”ÛŸÎhšZìdŒ§>ùDŽ«Ìb2•ñ9±f B¦ùåeúÂdebXẫ¦yʳ™Ñø Ûž1±…ng/ŠËM”‡Š)ð[?ŒNjö™Ðž˜óé£è<¨uu^<…!Âs!ŽóÁ¯Q^|c*wrˆbQbJ#Ü°!æß8K†0ó‰À#ÛI†;ñ^'»}ÎãÚËÝÝ×¹Ï%ˆÿòJ3 -endstream -endobj -770 0 obj << -/Type /XObject -/Subtype /Form -/FormType 1 -/PTEX.FileName (./hilbert-mb.pdf) -/PTEX.PageNumber 1 -/PTEX.InfoDict 792 0 R -/BBox [0 0 115 115] -/Resources << -/ProcSet [ /PDF /Text ] -/ExtGState << -/R7 793 0 R ->>/Font << /R8 794 0 R>> ->> -/Length 795 0 R -/Filter /FlateDecode ->> -stream -xœ­TMk1¼çW¼£ -¾æûãZ(…Þ´ =”žlUŠ[Ðú÷;Y7k1[iA'óÞL†÷$Y‘ÌŸ~]µâfhó):”–÷ýæ°{¡Žû~YµtÛ€I)6&jjÖâØF‘ö¬÷¤]> -Ô´b"§Í;Ú9Ï>)j^ÅóDMçÖI9ÑÓ—æAô'ócbrÍ]#G_å$µ¥è~ ›îk'¶ÂÈÄQ&òF¢‹½ f¢Ò`é YbW#¥jI’a+HÜ-fà\*Ë?ÍèCXÚjG_¥ÆÍIz˜)M”gã Jq7I›ß•^m©v°žýP¿RÏ-Lþ5þ\eµ§h+(µ"‡ì¬Ý žSŒ@†ª Hö,öv•Ô)~¤íM(LX@Ú2ÙSi}Äé¯ -µ­A_©ÓbŽ&rÒšœŠì‚½ V¶.€•µ‚J#H©E\`¼ek1±±Τ†˜{fåv(í‡ýóˆÓJ¡6Qi"æ+uÊ1b0õ@ºIÁ_U~ýrx%åk] ”.Î;©ËÊB|榻 -endstream -endobj -792 0 obj -<< -/Producer (GPL Ghostscript 8.70) -/CreationDate (D:20090924115427-07'00') -/ModDate (D:20090924115427-07'00') -/Title (hilbert-mb.fig) -/Creator (fig2dev Version 3.2 Patchlevel 5) -/Author (giles@snow \(Ralph Giles\)) ->> -endobj -793 0 obj -<< -/Type /ExtGState -/OPM 1 ->> -endobj -794 0 obj -<< -/BaseFont /GNMPFG#2BTimes-Roman -/FontDescriptor 796 0 R -/Type /Font -/FirstChar 48 -/LastChar 51 -/Widths [ 500 500 500 500] -/Encoding /WinAnsiEncoding -/Subtype /Type1 ->> -endobj -795 0 obj -416 -endobj -796 0 obj -<< -/Type /FontDescriptor -/FontName /GNMPFG#2BTimes-Roman -/FontBBox [ 0 -14 476 676] -/Flags 65569 -/Ascent 676 -/CapHeight 676 -/Descent -14 -/ItalicAngle 0 -/StemV 71 -/AvgWidth 500 -/MaxWidth 500 -/MissingWidth 500 -/CharSet (/one/three/two/zero) -/FontFile3 797 0 R ->> -endobj -797 0 obj -<< -/Filter /FlateDecode -/Subtype /Type1C -/Length 672 ->> -stream -xœcd`ab`ddä ÉÌM-Ö ÊÏMÌñµ~H3þaú!ËÜ]û£à§«,ƒÏ\fÞnæn–?u…¾OüÞÁÿ½I€™‘±bÒçü‚Ê¢ÌôŒРpMmm„ˆ¡¥¥¥BR%LFÁ%µ83=OA È(KÍÉ/ÈMÍ+±VpªÎÉÉLVHÏ©,È(VHLIIMi KÌIÍVpËÌÉ,(È/SÐpÖT0200Ô¦~™¹I¥Å -`w+øå[*ø(¥¦—æ$aÊ000°10ˆ0213°ýÎÀÂÐÃð–Ñ‚±ïGߎÚõ?žú~ùVêeqá ßu¿ß=Ö½¨sqÓÉÒMAÝnæA^Žå“§ÉåέšTÕÍQRS[–±­ôâ[K·ì’ßµeéÑîsÝûªwå­*_X1=~‡ðƒ »–l8(uÇû°~d|Uvº\nAMa©ÿ¬v‰-Wv¬9ÕÍqfG¼OzMzQ‘|nn~{1ÈK --e\üúûŒ×Ìß'ý´ éN¬JË NýÍÞý›³û7ãšßœ»‚7Äï+>Ú½¯{ÛœõëŽÚø£û;/Ç÷DƒïŠ¿Åå: -EïïøÍú;õwj¼‚©iü·ï)ß3v|g~(´ {Ö3/Ígüžùùûv ¿= XkÙ§O˜Ößß;wÒœþ©Ý ¦ÔdËÿ‰dïÎj.©nªiªíHìâ¨ù¾b»MOõÔîÝ?Þ°ƒŒºþcÑUÆïÏ2ÿÈÿ.+Z7!-¨®)®[òw3Ûw›ï.O^lºÞ}Sò½Õ åðÒä4¹ìÌšì*—m›ß®_}¡›ãþ‘ sÛX=s#ùßn¿YëH±ó•Ïÿ6ÿ{È|¶•\¸WNæáy0—‡—~Ê$ -endstream -endobj -785 0 obj << -/D [783 0 R /FitH 686.127] ->> endobj -581 0 obj << -/D [783 0 R /FitH 357.87] ->> endobj -582 0 obj << -/D [783 0 R /FitH 156.41] ->> endobj -782 0 obj << -/Font << /F8 458 0 R /F73 507 0 R >> -/XObject << /Im5 768 0 R /Im6 770 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -803 0 obj << -/Length 2028 -/Filter /FlateDecode ->> -stream -xÚ­YM“Û6½Ï¯à‘ªZÁÄ7™›×3vÍVyœØÚ\œh‰ša…"Rò$ùõÛDP¢µå™¹ˆM°ÑÝè~ ,¹O²äÝÕ¿WW¯ÞZ™¬0Â$«mÂ3ÃrS$&7Œ ›¬6ÉçT0ÍKkóô͇ëÛ»w‹¥”2}ÿáú扯ï®QPéÏo®o߬n?Ü-~_ýçÕÛ<2 ŠÌª;£œ£ÊUæCI–’ç,Ït²úHÒúïP·÷h[§û‡Šœ 客¦m‡úÿ¹Nô«¿ÊÝ×Æë•_K‘§Ý~¾áOõ¯£ztzß“kjØ•ë¾#ñK‚°éz? 8†dÉ+”‚'g…ÖyÝ.–Jð´*×èæÞzçø‘^ÊvC‚?Úôq ·nKOïÅçX”̦+è¬fž:ßx‹n\N†ú¾­¼wL#›`Û5 EëK aL›z] ?M*ž7««?¯8ˆYžçŒyb²œY.“õîêóïY²àˆIøôèTw ÊY¦ÈMòéê—#²°‰. Óº¸dÔ)t²á€ƒŠi« žŒqåG(³Å’‹,K%aq2!3’¿„s!Ùù‰sœË秡~ªs®bï¹d™Sï¿eÿÆ%CÒY(2ƒéŸ‰—ȃ0[L#Q!j&Rf¥yçZ°8u®f|šð(ŸàóþhÂúsŬ‹ÏB¿e™Q`Ê2[¿CÞ-ä]\Àþó] Å™ÀLÄ®µwm. ÿi®g‘?ñýä?? ù“H„öÈæò_À¹GþÔyqù?ìsµV0ñ2 µšåÒS‘Ì#G^í³=1{VÞ³½€Ù'yž‡lìú }vŽˆ* Ö^@ìó}ÀN|çû£.gVj0‘iþ#Kµ‹[å °?»ˆé³6™‘>CÚ¸Ðé$‘<Ý¡²:} "ÝT½— ž")Dù羶µ¯»öœKUoæYòÍ‘cJ-O¸µÕ=×D 7Èýðýàù5ˆ][ya‹OÁ¸×aW6 ’dê¸ú+ôª=)B¡Í&¤GÇt½Ð@iñgýŽÞ«á|€&cVÈÐyÿPîÉç¦ÂZ"¬KÛ«²bÊ[FŠÓ!@ÁˆO“‚ëž_{H;èA, Ôk”öÄŽ-œ1º]P«¾ÕÝaípöp^^“ƹ9qå$³¹O|L» …ïÊ -âÿøÜÓpÀT7“fe7yHT ­¶=[—t¬*/Ò- Í5cØç ·F;Xn˜æCÕT2R®×]OÕsquþùà^ÓàGo¨ KJf˜%lî1@ΑsË”<)b8ÙEÐ¥óÛCÓüàœP~ÃDUý€Ó&B³ h‹èLEnÚ7þ¯Ê„®3Eg,lEøõÃ~îÀTÒ™RÃ4®›ò ž8$q.¼rp¹À Ƽ‚C< «  ?·hwß—¡?„ õQÎ03 |ï™Y[¹)Ž³ð¾k6L ç`І  È¾£:I•Ÿr)/ƒuG+—:&ÂŒ‰@•(¨ro}‰mȽT)h"$s™>>TxR÷ýöôt³£ôFÊv®8Qe>:±ëéY¶ôDM ó¿4…Io±j[j§XAˆb~Dåpný‡¦Yézp7éÀ ž¿¸Ø»›1•ðHHöç|V?é®Lp©â"ýTù¶·õý¡wÅ÷›aŸðñÝUòÙÌNoi>“3Ì~/[²U7ÍæKév+÷…n/äÙå‚_åb,È1z¼t9 n.Kï—<9Mžg¯Äjà¬ÚÓˆÖ2(Ó¶Û{áFÃßµáZ#2«BMÜ e³WÑ•Ç‘GÀB,€ƒˆB2I¼ÿ5 ¥?´€CË¿[^¥ –u ‰Rº[†ª–DØ\£ßc¾[æâ¾gÚ\•¥Eª"9ÚãAïd(–Q43õõðézÄR„šž~Þú{o$GÛòÐø51ÎkiÔ— ˜žgÀ¹”L™ãIÆø“Ìõ›qx¤AZnÖ5$^öÃÿ=±¼žá*XT+§Tv¨7‡²™ù3Á2‹ ë@{[¹q’69 -endstream -endobj -802 0 obj << -/Type /Page -/Contents 803 0 R -/Resources 801 0 R -/MediaBox [0 0 612 792] -/Parent 775 0 R -/Annots [ 798 0 R ] ->> endobj -799 0 obj << -/Type /XObject -/Subtype /Form -/FormType 1 -/PTEX.FileName (./reference-frames.pdf) -/PTEX.PageNumber 1 -/PTEX.InfoDict 805 0 R -/BBox [0 0 263 100] -/Resources << -/ProcSet [ /PDF /Text ] -/ColorSpace << -/R9 806 0 R ->>/ExtGState << -/R7 807 0 R ->>/Pattern << -/R8 808 0 R ->>/Font << /R10 809 0 R>> ->> -/Length 810 0 R -/Filter /FlateDecode ->> -stream -xœ•UKoÚ@¾ï¯˜#‰ÄdŸžÙk¥ªjoK=D9DÆPU˜ -“ª¿³‹ F°Äz¿y}óíÃ[Ðh@§g›N=ÍV;õŽ¢‡W*¢÷àŸÊÞ0û¦È0Zí P…:‚e‡>¸a$è[5WFFN}èÔÇjb)tÕlj‹×óh¤Ç¿~¥ 9ÆÊ_a¸|¼ÁIÚ€ô¤Œ.2†k E¾Ín/êÓŒa×ln ûÔ¥`! ¶wÓ¸%îeXïÏ}çj+›Áh­¡Ë»b­l劗lZ«_Ê0iŒ¼s˜rv$XFö,^†“ñòu K-kMFNk¥ú?a£<’õ6íàC‰(ªg:{ÄV-G š«ç“ˆqãÂçäî(8Ù³TæB- -Û1RÈ1F‚1È\ò<«uèàz”e@Ne¹DvTdDä1ÒA;£È? Eë•PðöR´>F(bå¨äyVë(ƇëQŒ9cLv\dDd>Ü¢r–·rGæ÷ah:øRË镩ܯ j¹ö`=a¨,AbSAÝ© ">Ô¿‡ƒÎ±M!S묒Ü„Z“‡z¡^&ß7ïýÛÃÔÈcLÓ¶ÏÓ´™‹é]ÖbúZÿBnwJNà\yÒüíûvóž˜NCÄ`KGÉÒ·ËVLM›lûLó‹|2ëeÿÖµR*Š"Ú ÓTjjd+:YŒÂ}²ú³^´›”Í";ïX²y4d)›÷ÑbýZËú=«ÿ¶s× -endstream -endobj -805 0 obj -<< -/Producer (GPL Ghostscript 8.70) -/CreationDate (D:20090924115427-07'00') -/ModDate (D:20090924115427-07'00') -/Title (reference-frames.fig) -/Creator (fig2dev Version 3.2 Patchlevel 5) -/Author (giles@snow \(Ralph Giles\)) ->> -endobj -806 0 obj -[/Pattern/DeviceRGB] -endobj -807 0 obj -<< -/Type /ExtGState -/OPM 1 ->> -endobj -808 0 obj -<< -/Filter /FlateDecode -/Type /Pattern -/PatternType 1 -/PaintType 2 -/TilingType 2 -/BBox [ -2 -4 10 5] -/Matrix [ 1 0 0 -1 -52.9 114.3] -/XStep 8 -/YStep 4 -/Resources << -/ProcSet [/PDF] ->> -/Length 64 ->> -stream -xœ3Ð3T0A(œËUÈ¥kd  kb `¤- ŠRÂò¸ÌÊ!2† -¹\† -¦ -9\Á\\Ü” † -endstream -endobj -809 0 obj -<< -/BaseFont /LQDLZE#2BTimes-Roman -/FontDescriptor 811 0 R -/Type /Font -/FirstChar 46 -/LastChar 117 -/Widths [ 250 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 333 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 444 0 444 500 444 333 500 0 0 0 0 278 778 500 500 0 0 333 0 278 500] -/Encoding /WinAnsiEncoding -/Subtype /Type1 ->> -endobj -810 0 obj -562 -endobj -811 0 obj -<< -/Type /FontDescriptor -/FontName /LQDLZE#2BTimes-Roman -/FontBBox [ 0 -218 775 683] -/Flags 34 -/Ascent 683 -/CapHeight 662 -/Descent -218 -/ItalicAngle 0 -/StemV 111 -/MissingWidth 500 -/XHeight 460 -/CharSet (/I/a/c/d/e/f/g/l/m/n/o/period/r/t/u) -/FontFile3 812 0 R ->> -endobj -812 0 obj -<< -/Filter /FlateDecode -/Subtype /Type1C -/Length 1844 ->> -stream -xœeTkP“Wþ>œ3.bKš*Zó¥þ°Z/¥¶eëÖZQ·C¼!7Q–‹„ÌK I$Dà…pO @Â5Ꭰ‚(­" »mÇZ×VíüÑÝVwgw;Ó9ŸóõÇ~éÎÎþØ™3gÎ9ï{Þ÷=Ïûœ‡¦BVQ4M‡'(T²ÂñU¦:¸ßÁn¤ÙWV±›À©Ÿ·?ߺ‰’v -Ö@¸ÂCº^A•‘äÊ‹¤e-±¿@ hº¤±ï Fk(PÈs‹$[ã“·mß¾ã'oÆÄÄH² ÿµHbe… -¹Z²…_Ë”­J¦.zWr÷V*ç$r¥A›[(ÉÌΖe¯%e*eç%‡J…V«)–l=¸M²;:úÍüôÎ1…*KW(ù¥rÉ1MŒD*‰—ÉuÊÌ‚ÿ·PµV­)(Ò}˜y.[–#WªvQÔqêuŠJ¤’¨×©¨Xêu˜:Bý–:J£ÖR/ððP!T1u‹~•¶Ó?­Š^uOðº`0‡ÈB÷…¶…Ų•l%xØ ·èÇË$vYÐÎn58[j\€ͦT†«Ao5§\Ä&’ëA)u&7Œc2Šn^ëvžéU~Èp2Ò2ãé S¶¥Ö[Ü0ƒ‰ý~û@šÒwDüÙkS -kBiŸÑ`wèïHÛwâd3DÜËÑÛ91·ñû-$’D>û‰ˆÉº7žr/1eÑòÂvnú»#ïgçô^.f4s¥_À=üôÆÒ=qyÂWÿýÕ² ‘Ý js6׸÷5—¦3œÁi»=ÎÂWe÷ #N£æ1Ñ¡á©YC³Ãæ·›]­€{=‘bŸ"S]›Êü9j“tò²%QdÈ6džG¶wtyp…4±I"áÝ-‡µT;+Äö ì6YBƙҋX¸bµWØ ²¦ÊY……w?æ> Û3˜±03Ñ;7".sm:ˆÊ1ùÿÀI$\ùgX;ñ>ö×æ¶È{Ëä0Ÿ¥ƒ-œ9ÂÒ¬®ë yÆíFÂ#ZªtÛà4æ,4³ÙªÕ)-*ÀÙçG¯2ÂòˆÛbF7+ÛL†¹z´ïfÊýK“í~¿xj*t/Jëªf}ã®Ú¢‚yŸ‡xi‚þ% ˆÐ"x¿Ì²§—Y/Šq–¶Á}Ìž@p¿­u¹{¹Ù´âp[áŽ`OØæãï°ë{#oK¶~³Nx=ö™Èh¶8L€‹ìmÓ IF0ç0õêÆ3¼'ï<*-òé{z»|ÝuÕõÕLUsu4bÿp÷å¿:Q| q»ŽË3d:½YyX˜"N_œ¾Ò5·(¶&×w_Ù8 -]î± ÞĽñ­”Ž Å–B³æB1à\ÍèS‡`áÊ8Y3ýK…_²¡tß×v3‰9$/Œ÷˜ oÝûf¼ÕšÓÂ4èš4†.ˆêïööÜ>tcOjŠ^žÅœN×}˜{ùÑ."¸v¹}h\ìïõúp°KsÐήÐþ'D¿, ³‰Èks¡íÈP]•€åå|³Ø?òÜ9c̵Å£JQSM4¾ÔlËb¸h$ÖºÎæÐ..”Û̽ôàm²êö„ïÆ(Çw!ìv‹ÍjÐØÔ€÷&<&kIèÌŸ¾úxæl|Ö]¢&hœfw½¢3û3ÔqêyÄ}¤j“Å°òOmêñ´®d8 g 2ÅÙ,m,Ä`Nüå;=}°@¨«bî!Ù!r=½´‹Ð«i}ÿç½6L2ôüÛ–xŽskyŠßñMtµÙÔâö|·­p·³g<½ÿøÑ$mZ>“Ÿ^.¯~Çœÿ3÷y|`µ *@«‡g‘Õ0ùœD :N=OÞò‘u}$o²>@¾ ¥_û6]/š|éÁäÔ7êšÖk[´õù€w8-õË>ËcJ c…#O]¦=»-Wô±ÉÚ<ÈÁIÓŸ>xØuN<1Ô1 °töê''jXŸT[Ð íàó75W7V;Á[ÕZÝ—à²gÈ?ðŒÁ, 8zÌسÿ¼A4b\1ø/#eò“û³¹Ð·NL÷4¶^eêÉ÷¢…ÀØõ¡~£ª]Ü™ëNƒl|J›v<óÓg¼ò ‡þû²Àû\ jsÕ¸kø^·˜Ï2?ç#H4—I<V’ÖYZàf@k“2ÛacTÄs/ø¦9úÉ2‘‡ÀËën«³)¨»ýÍ¥g®!ÃtªšQàAIµ&Lb2† ¶©¥±±¯gªc ðtwî!†S!8eµÆ±/ò øS,aR§F:¯žïÔîe89¯ãåå'í¼“ÆƒòkUµe0E²Yýû÷N¦äŸLæþDHy¯?à%;¥„—l¯N«&/þC¤*ÈWªû -†úû†òûUL„ÞÇ&ùH‚/lpõʯ›ÂÃW:Ã×PÔ¿uK{Å -endstream -endobj -798 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [323.815 414.524 338.537 425.372] -/Subtype /Link -/A << /S /GoTo /D (figure.2.7) >> ->> endobj -804 0 obj << -/D [802 0 R /FitH 686.127] ->> endobj -54 0 obj << -/D [802 0 R /FitH 534.204] ->> endobj -583 0 obj << -/D [802 0 R /FitH 273.426] ->> endobj -58 0 obj << -/D [802 0 R /FitH 170.234] ->> endobj -801 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F14 574 0 R /F48 455 0 R /F70 508 0 R >> -/XObject << /Im7 799 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -815 0 obj << -/Length 2097 -/Filter /FlateDecode ->> -stream -xÚ½YY“ÛÄ~Ÿ_¡[…\5½w‹û”;3a©b †ªPlÙW–Œ$“L~=çô¢±ÇŠŒÃ‹{U÷9ßYºû3MÖ M>¿úßüêÓg6ÉI®¹Næ«„iJ´6‰¶š0n’ù2y‘2>ûeþէό8œ)$ÑBÂ2nÎõO¿›ß>ŸeBˆ”“YfŒM¯¿½¹½ñ]?}ysû-VeúÃüùŒÛôÇëùÏoqå+Ä9–%‹[dÜ@§ðU ~<”ë²›eÜÚ´ØíºûÞTÛb¨ÚÆw·+,MZøæ€3^ãO›-«mÙô0³¨ýàûïvØHKßõ%ÆýBã¦ê]9„¡ë¶¯š2~ieÚM¿j»-Ae@‘Œ1’+ååop*€qs=÷•¡ø?îWö¾Y4¾´d& °9¡÷¿¤4Xâ&K¬ÊãÖìºÂéä› (wÕ›²öÕ?fJ§E½¥eÕìöClé+ÝŒ!,,öPëš¿ 8§šHÍ#9b™ &‡• Eu„Vé¢õ{I™^T¥w ?t¯¸¢¹3ƒwbzèÄ°¼&ÊÐþ›)–¢c«ÓÖµ–eW5ëSù$Ü’K5lʾ<ÐÀ*"éeíý4ì Õ%ΕM¹ kµ¾|å×ñ˜0kˆ=FÄÀël ÞŠÿrg‚‚á;ýÉ aLWh»vëjøÀøx(ûÁ÷¹Í ÜÀÄj½AÏ`OjÒUWþ¾/›ÅÝÌŠ •B#¤wþ‹¢+C¥î[ÿA»À ®³j–åÐh"8 ˜§ŒB4þmµÎÞkXJÙ{{œC)Â¥_=ñY½SN¿ñ5¾» -å³j½ïªW ¾¤I·N|åùçWÉ ÷)'ö(GÁâä¨ãa ‘ÀŽ´É›gœ®™oq*f(¡að¡`EiÊBÉC)B)C©B©Ciœ„·ó«ßƒb,áÃM'Êp"$OÛ«¿Ðd ƒ`"r›¼vS·p0h+¨×ÉWߟž\"óš°f0¨YâœfÌ#ÍE,Á!‰`‰˜ôl´0ø7‚F °Xg¦àã— ˜guþÂ@G$Þ©‹Ì5 wð!Óœðóz”ÙºŒ XèÇ!%B;<áfC„Y–ÃUQ†‹ÌÍàIbõeFæ”H™ÿ›#ÏhÉœ>Òf’Xx)Hcád`²hIKÄØc®Š±£â:'²V ¸HÈH ¯žØ“CÑE "íeà‡‹5~áç#Ø#ü1xd<3T í Ï\¨¤„§—‰iH¼—~àPÐñ¦ônŇ7•½ˆ-„‚%£-"¼bÌVñб¢¢½Ôh”úÌÅCÂÅ^Ó …ׄ}àH0gTa”hyô™$\„-ÅÔõúèÆû¾[¬ˆ&‘öŸÞˆÇ½d´ª2^KÅ@ÖüÑ7u-Žšƒ’‹,‘‘Œ oÖÀ³ÙÏà-.UúóøJ†n÷ê?ûF½«Â!xà/9¾hà­ -÷IkÂÉÿM;”ŸŠSÓQöY.IóÈDø†c$µ©#?Ú飭§?\wÕ,«ò îËr…”V‡vŠЂè|Üq娀3‘Fi³ß¾rï*.€Â9>…kÇwÓ° V‘3ƒ -’&È7-ˈĒ Ä’½§HÜwŽáÙo‘f ìM×ûÇ–Èc²@ž$›bI1 Þ6ª‘vÑ40NÔƒ•m¹m»8Ø­‹¦zÑÉéN5GqÙèÞ8îÙÈ8=ç•ÇÑ;L¤¯»jbcå&¨ í.V|é?k‡!ÎؔΦ¬ÚºŽþƒíEÛÜ‹âu¬-Ž6í1ZátœÊHY -÷» -‰[a¢â†¥]µÞ¸Õ² x#Û`8Љ=USÄo v×åÖ·¦¶+ü2û|w •£ß,¾ƒÕßQV¥_ ªvç§TÛ]]nƒž~žp†³,ÈŽJv#Á5:”wB’_«&ÛÕÅ¢ü½|l¾)Я x[)¤ýœá¥þkü°Û;'IÖÞUa²~èè‹í¤£cž¾ÚÃRC[ƒÈ×J_©šj¨œ‘¡!„ê!emÏ^vá+ÏV¶#W½ô6ªÄZ³ôf?)ºÏ…ß+§¾½¾x÷Àþ>¸ÖÁÂlçX‰„;TÀ÷yúsâp±'ÁmµÊ!ob>ñ\-ÇôúNVûÚåhnÆøF ¹ 6Ùˆ%uXªKh»LsÐîAõ./@†´ˆÇQH9.žXV—ñ£ô÷û.³ «„N( ™Ù¿‹2’°pþyß—tB$ãØjzI¥/N8,ÿqøïé !áœÏk -Ë0¿`…ªJ`×µSOúlrzJiC¬—¸¹Æ”*áüƒ#©uçRw8Ý]Ã1/Æ«ñ‡ÄÓºö{ûø€Áž.z&1pfñàÁíCvlÇÑVA“Sàeqð¯ÌÓ×éµ'ߧ”è'´Pðâ÷ZLÝCàöù'!$‰G -endstream -endobj -814 0 obj << -/Type /Page -/Contents 815 0 R -/Resources 813 0 R -/MediaBox [0 0 612 792] -/Parent 775 0 R -/Annots [ 800 0 R ] ->> endobj -800 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [318.143 607.41 332.866 618.258] -/Subtype /Link -/A << /S /GoTo /D (figure.2.8) >> ->> endobj -816 0 obj << -/D [814 0 R /FitH 686.127] ->> endobj -584 0 obj << -/D [814 0 R /FitH 394.763] ->> endobj -813 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F14 574 0 R /F70 508 0 R /F11 573 0 R /F49 457 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -821 0 obj << -/Length 1780 -/Filter /FlateDecode ->> -stream -xÚ•XYÛ6~ß_á·ÈÀZ~l7M‚E¯E")®LÛldÉ¡äÝl~}g8C[‚•&}1©á\~œ:[ìÙâõMÆã÷7ß½ÒÕBfiQÈ|q¿]ˆ¬H«b½È+•j ¤Íâmr·7ÇÁúåJ•y¢–ßÿDb:-«R X¶XéuZ M/mÝ·H6®Ý‘Ø/Kø¶þÑÙ'ÒP-ÖéºËç"­26x¿wýr%õ:ém=¸®Å*9ún)«äÑm,/Zػݞ}DÛÐ0ÖÞ£ŠuÒmiaØ["ÜïmçY :-Q¨~Áúë®íZŠ¤^®D28˜u8ka’â>Ðu!ÒuήÛÍTòà†Õzò¼‚)ÒtÒAi™Øڽ˄® y…+æÈKÆ÷Dy ïk[ -!ètÌýǬ߰Ÿ-ünA“ß_ß,Þæ<,Ç“ÇÒåJ+û%m¡#EÇHaO ¦_M6VÐÆúÓ!„LRÐUújo™œÚõý`Z:x$QÄeŒ¸E\b¨c̉€GŒßµíû[˜Yò„ñÞC¼]½„˜ì‰‘"ǘØÌÇCPg›Àõ”žÁ+tªt!|J¦E”P©‹Bæ#Gðßu-žÝîäM<‚+ K²ã‹öç1þèᇭuÀåú¡§ŒS'&.‹0† "×Ç“iqGƒûƒ p+†¸~äYÕÑC®e.Žm7üèÐ`{#”_#Êd™æëꌲ3Î^7݃i¾a¢JÕ:fJ„*“ëЪå1Z›T9A_Á+ñ”pØB’¼W±x‹)cCtÔg› ž².$‡ÿ=+éçÎjë fU øaQRj™ôîs¤]=œºk°ã|Š$8¥k­§@~Ú»XFäoÚ]”*ÙB¦ðÝ>>[ßËÀc¡Â]Á´U7§ž$åœr•·Ägâ$qrIþëFèk¿ü$6ÌëW2´o‘+,œ;Ö™4LZo¹‰eÚ¹„t0ãw—á66«PÐ!¥?ÇNø50vë\­¨ØvP$ô\Í9bšñŠS:$ó#Táü^ ïÈ™[B5.Q­™ -–Q°…·1ÍýšÑ#=ÿgìU#±B;×ßtg¼™ÃñL»DãW³—ÎÅ?"`Ò×&<³àuéÇäzgøtA[ƒ ¸@I † ?§¯s‚ù“ö$£$ÿ‡p>Mú•8<ÑÉ3ð_ -ÞN‘/Š"T9¸‹©Ìø±,Ô„éÇû›ßÔG -endstream -endobj -820 0 obj << -/Type /Page -/Contents 821 0 R -/Resources 819 0 R -/MediaBox [0 0 612 792] -/Parent 775 0 R -/Annots [ 817 0 R 818 0 R ] ->> endobj -817 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [345.229 466.937 352.203 477.785] -/Subtype /Link -/A << /S /GoTo /D (chapter.5) >> ->> endobj -818 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [187.345 167.006 202.068 175.917] -/Subtype /Link -/A << /S /GoTo /D (table.3.1) >> ->> endobj -822 0 obj << -/D [820 0 R /FitH 686.127] ->> endobj -62 0 obj << -/D [820 0 R /FitH 668.127] ->> endobj -66 0 obj << -/D [820 0 R /FitH 431.238] ->> endobj -70 0 obj << -/D [820 0 R /FitH 351.986] ->> endobj -74 0 obj << -/D [820 0 R /FitH 246.223] ->> endobj -819 0 obj << -/Font << /F48 455 0 R /F8 458 0 R /F70 508 0 R /F11 573 0 R /F13 705 0 R /F10 668 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -829 0 obj << -/Length 2852 -/Filter /FlateDecode ->> -stream -xÚYIsÛF¾ëWà6`•ˆ W4ææEIœCœ8œ¤¦ì ’0"  ­È¿~Þ AÇÎ…è½ßò½­™F÷QýpõrqõÝ÷!Ê“Ük-î"åÓÄû,òÁ'JgÑb½•ý¹øé»ï33\éòÄfŽ¡5¯~|ñËâæÝlnŒ‰M2›gYˆ_ß¼zûúÍÏ?ðèÛ™ÎâßaR:þýÍÍxêU*¤\úÞ,®>^)h¦‘Š´ÖIšùHL2GËÍÕû?Óh“?Ei’åYôDK7°4MBn¡½Ž~»úõœU­C’:y—%Úzfã×C±éï«Ïžª·Lù)ÞÍæð)gs¥Ó4þO ¸¸/‰‹i*J¤Ê”Í`ÐÇËuѶˆž¸åúŽ¿m}h–%ïÜû²©Šõ5bMÇuÃKz]àÑ7M±½/7ÝEC] ¢÷Åž9nÕ¾eÝ OÕ¡ò0$NҶ\ñ) aä|®¼K”±cp‹ºË õa¿›ÁA{éÞæõ4ÛZÁ϶³#¶MüúÕ¼­ÕvÂwá<‰Î’o„ÆVŒa‰PµÌ±Þ«í½0­ó$„lÌôþ¡)9à\oøˆzÛLÐ)ð‰-Òå¹I´„ôÛ™ƒeh &„NqgÜ:“dG Û_¼ÇËžPqõÄE&$ÁöµKºi-7}"õOÜNÙõxq: >ãA8E5-‘ÏàD> ÆPžÅ3»Ú¹6›>\9A¬Ê§CwïëWpP®DŸ -Ü庹×ÈU*8&34YJ86€ãb·[W¨XDgE_b -fé28W#Ï#hÒø–õÕJ jÁŒEsçA†c×Ó–Ëš´–åÍ¡ÜÒŒéMý%¥ £¼Wè‹™öñ+vbœÀÔ¦D•A3Š -²Ž¡¨ú«3œÑI+e×Nãëõ‘6éâ 4Er™Hv ”u‰óf ’§Wr4Dž~(O  äÙÈxÑ5¼å/é ¾=ÕQ–­ìa+9îy”}iJÆ“ú§2…»Z¢~Yˆ¯œ0¹ RF×Iúcu® <1ëW7–¹±%¹qd1X-bÀ²„ßr ± 㨸Å´…fû˜„=–2¶XÊט%â–F‰?ÚFÙÜp+8VnH„,Áøe%V’tº†¨x€vˆÔ„ʤC£Ý× ‚ ÛD¨Ïãm±?ì0õëf…ÐÂ%R—.ïÁ†ø·r‰´‘GÇd…s­æ>âÆ;HWÞÓ.H¹FÙ …HAù˜N¢pžÈâÊ]Ñ@ÞÑõ&ÓįU¡¨ -ƒÀ‚=¤ÊŽ@¡Þdzt G÷ã|÷p±1Ðô–õš`ŸÅ¶Dý™<~ªörÁadz«OàK >CmÛŠRFF‚2ã¤ð=Ê5¨èÀs ;zŠÏMcA–†/Ú†‚`Â4 U]áQNèæxï¾s½˜!+(*F¬CÞÓØ`PA?ϸ-ªmË#G¶ ”lè0\o×ÏÜ*x¦t«‚¡öp‹øà…w<Ï $Žˆ'üDŠn¾( 8ãΤÑvžÌÍ2Êqº·u£õµÎƱ±ïVBr r sÃ.qÛ.D 'þ˜v]ðoÁ™s²ùXöãäH6»Ãž‚ŒV’kQs]mË¢e¦*qéIÞU±òÊFd¼&c¼Ïb®$­%c²rhµ`¦¦”é,÷g*ЪÉDX&¸ª–Ý«ÿ(÷î<³ê ‡1ЕãÀñBRÒÔ¸õ/Äô†0žçøxkINë}µ±>ÞÖÛ¹ˆf¡Øêân+H¶#Žz@†¬3püSÕÀÍN8ˆö¹Ý—›1ËgÕÛ˜e û3ÓÝ‹¸lšºÖIv;¯¶ …g¬Y±öŠn%û.ȃðQ£v9âÔ;Y•ãšžpƒ¨ìõžŠA )=˜ûö#o:¾W–W-/£Â`xa¿ïbD£ -&w²¥^¬YaÀ´[*- [m»3*YðP7ÔrjÐÙÐ,×ôØì.õvʱf`”ªO A< -¢¼ pHbŽ÷làìkSíżd㈿Ku”@Îöú¸gìšqC'¾&YR©IRóÏ“%,Ë|ÚeKaè¡ÀÙ5PÐuuÕ¸Ä[vx…vݲȟ¸ÃÉî`–5…­j ¬mt«²>XÉ);¹‚Æe@Ub8Û|9¯AùBa‘¨“̆}%»_ @Â&ú4GJX6DL¡F%€›Ð!±Á0½&Q‰CRÚÅ?Ð=°oÉ\ü -½†BE¬ÅÜ«'Є®'Püê”V7cs¬»ÉQBñR¸r~傱[p#Í3¯RAËE r ù²Üœ>NáÄkÝ­}D”ÛÉ·B~±XÕü•7£Œ^q€3åÔOgÊàçÞëÁc.¥|2—‚H ßòˆËÊ-w‡Áû…4 -Þ?tÖÙô X[n:oµDzzÉã༠:µŽ±ER„™£3’"&„°ŸŸ.°ÍSã:+ÏãÏeSóTsØÂà„Ä!üá ¨mDµ„m²JcŽAxðr=ëíaÂãÈuïPn¶«ùÛ»ùKv™ËGØê0™oÀ:Ëf·y–¤Çýâ‡4øÚ³ª Â0Š3=†e÷ü„ VÕ§Š}Œbƒ’åÔ<Šðÿ4ã†ýû¦>ìZ^ɯ:VžÞ@´8u¬°G›:Zš¦œ_öIm÷²âøšË/| þPê‹ M€S¿3c®fäQ ‡ûG%ì•|R# ‘ÒŽ éRþÄÐÀ¹Äkž{z¨øµ¼{Í0^ò`¶èÞÕTr§7;" -¤K~*]òR(´—*ÉÑKÈ Ü'O=¾üJ¦Èá‡e>öîšbSÊKFg|1L‘ç‘înËσÉóü}äÉêø'Á©Ìå%UKm/o°‹î÷¨_è ²¸\C¬jùµuð¥‡ÆrËé­PÒöÑôå„w ø žêžýI™Hó¿jêa¤3‘ÜuE ;VBJ ‡ê,U#ø¯¬0‘‡„Å\‘%9„7–ëþ©:s'žþ¹›M+)aï|‘¤’,?þ )+ÒI -ßb¡È¶ÝãóI@¶ñÑ`MïIG—)h÷w—©ÑmÍÔ+¾¤r°ærØÔ¹øÔÜ_S¡M€?ì§OÊÅ#Ê #¢,„Kx—Å„² Ê`€P6T\HRÛ|Âh‚ ¤"?2Á¶±‰MûäB)É”‹:/0 ñÌÂTç–ˆ6ú{L9W×\å:±öä¹àŸÃVaÙð5°å?O!'<–ÍÈ…ëÝW"×}¹PßDƒ5‘k²o»¬™º,3£Ë.wê?Õ›ÅÕÿE'2V -endstream -endobj -828 0 obj << -/Type /Page -/Contents 829 0 R -/Resources 827 0 R -/MediaBox [0 0 612 792] -/Parent 775 0 R -/Annots [ 823 0 R 824 0 R 825 0 R ] ->> endobj -823 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [371.441 439.082 386.163 451.037] -/Subtype /Link -/A << /S /GoTo /D (section.2.6) >> ->> endobj -824 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [206.164 297.886 228.635 306.797] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.4.1) >> ->> endobj -825 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [284.204 297.886 306.676 306.797] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.4.2) >> ->> endobj -830 0 obj << -/D [828 0 R /FitH 686.127] ->> endobj -634 0 obj << -/D [828 0 R /FitH 606.349] ->> endobj -78 0 obj << -/D [828 0 R /FitH 284.459] ->> endobj -827 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F14 574 0 R /F70 508 0 R /F48 455 0 R /F11 573 0 R /F13 705 0 R /F10 668 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -836 0 obj << -/Length 1887 -/Filter /FlateDecode ->> -stream -xÚ½XKsÛ6¾ûWèVhÆ¢ù€ø˜žÛ‰ÝI'™ØÍ%éLa -–8‘H…$ÎäÇw_ HYrrH{Åb±Øýöù“åÄŸ¼™… 쉘ëveYú¶¶yÑȤÙNgaª€òÁtnÚ¢*y¥ºç漢Þ´,D«¼‚}‰ZØ;Ú_ñïdžÙL-â6祅]ÈÒVN4µ0ràÍgx‘É,Ð^¦5|/›ÏY}R ¯À%ýI½œðà-\ø=í=íé±%Þ+­§Ó t¢ý|0Q䥺÷ÉŽ -çêªX®f¯ìçi(»­’¹º aa™ð¦æyn›f'œ4uÂC=öx ò²jvcÛnûØÁ \˜øâºçö¾"‹j`Ñ¢\2)7hA¨;ò‰]å)Beú= r.«™ûO×_7·£­<)Ê¢-̺øFN]ÓÆ€Á]Ñ6mm͆|æ½µ²ÎAÇ!`¥®­­*Ao8xÉKm%_’ -9XdÝR% CDA(Íà ‘]Õ†—»Æ6NdmeksHÏ­ÉÝñǶ Zé÷éLk­Ì ý„±¬ýTÕöSWÔv¶ÕaL°ÅõªÙB»C9ÌÞ®Š†9ŨÇãen…ɶ¼¯ÛŠ°ÁMGªÇ¬úÆÈaa9-Q)œ›V¾å€© I[›Ù}m6–‰c |¯j&C ¡í´õá Ú´3Ì.”/>ñȇ¾=`zHuµ­ Ó¢— :侉ä - ÔöÞÖ–L„S:»áñŠnÏJ2Ŭ9‹œhgÔ Ú¥!`0¥œ‘ó-Vvñý–"h]•K €q‰ßYB¦Ç ŒÃàa§êºÜgðÕõ)Óc8 S&Òê}ëBU‚NŽd\ïâôéÜ¥cý”èëÑâÎÉT,ÆN¦t:éó3¤¶PÊ‹Ö© 6? -/$‚6ˆðDB(}­ur@¬Ð¨2íNØçÏ«Íw$ª=^Eú­dÂܼu¥±¡tÌe8]ùÈÆÉ9Œ½$c‰×¨fê³Î8¹ÚçÐ*øÃÍ¡(¾ðd Î 7ªíÁà@jëDºlŠcÓˆYäø‘]d—¹Ú"Æ*´$FqÃ62üùL@¨i´¢ã» þJ¬°y]ˆE}¨\é$íz”µ25g¨@öŠ¦-raäd°Õ©¡}W5 ‘vÐ<3T bå P×°rè¹zÆ‹íÚ¶²WÎëb+H8vE*9â)\9Piâ>Ýï{~ÔÜhhnÂc­ÍqlžsH :ál(„Ç ™%˜rÈ0G\hã¸(óuGèÀ”]¡·ö«psÏÁ"€.œü¹ÿOk–Ío0 -’|ü¸:x\ ô™>PØ=,(gij$-‡ê¾gËm¾.Ø=gëâ®6õƒãÀ‰,X®¨0t97;ƒíƒ~Xï?Ò]møÀfؾæä)B°Áru˜€IØÎ+Û`üãš+"r±Q5¢Øä#…»>ê÷‘è¤Ýw帤»˜,uâP÷ܧûy ©\ Y`ë:ªMÑö9ëe4x2?³¼‘OÎ^$É°…ÅÖÿ_ò=¬Å‡0ð÷öŒZ ¹4q1Ä÷ãg†¤(zºnûÇ?ìs³|Rµ„ªÍ³ì¨Ö?†ôÁ>üg•‰*ûÿ¥Ý­wl;yÅ¡_EQ‰ †®UÇÖ«ä .çÀQ®°'ûÍ»19Å*(À×I”Ä/¹ß!bïNzp§èÈÜ÷òöä_÷Sž^ -endstream -endobj -835 0 obj << -/Type /Page -/Contents 836 0 R -/Resources 834 0 R -/MediaBox [0 0 612 792] -/Parent 841 0 R -/Annots [ 826 0 R 831 0 R 832 0 R 833 0 R ] ->> endobj -826 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [126.352 645.213 148.823 653.859] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.4.4) >> ->> endobj -831 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [189.255 408.14 203.977 418.878] -/Subtype /Link -/A << /S /GoTo /D (section.6.2) >> ->> endobj -832 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [189.255 321.574 203.977 332.422] -/Subtype /Link -/A << /S /GoTo /D (section.6.3) >> ->> endobj -833 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [221.384 258.918 236.107 269.767] -/Subtype /Link -/A << /S /GoTo /D (section.6.4) >> ->> endobj -837 0 obj << -/D [835 0 R /FitH 686.127] ->> endobj -82 0 obj << -/D [835 0 R /FitH 630.47] ->> endobj -86 0 obj << -/D [835 0 R /FitH 599.569] ->> endobj -838 0 obj << -/D [835 0 R /FitH 457.126] ->> endobj -839 0 obj << -/D [835 0 R /FitH 394.47] ->> endobj -840 0 obj << -/D [835 0 R /FitH 307.904] ->> endobj -90 0 obj << -/D [835 0 R /FitH 245.248] ->> endobj -834 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F48 455 0 R /F49 457 0 R /F77 675 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -844 0 obj << -/Length 1949 -/Filter /FlateDecode ->> -stream -xÚ½ÉrÔFôcOZZ99¶!¤*@Á„B²ÔžQY# ÝÄùú¼¥µ9B¸Lw¿÷¦ß¾´¼Í~ãmžý¸;{ü4Ýdnñfw³ñcÏãd§±ëÉfWn~~¼ýc÷óã§I8§Œ2W&\C4?¿Ú]½Þ:aŠÐÝ:I’ŠË«‹——Ï_(×­S+»¶nñf¥¡›eãMï+&Y¸Øw³DUsÓêcŽùg|/r3òj•|­./ؾN„zçùq±u|Qm}¡pÃ~`j“7*/0|ï,×Lõånú -ù¦cΑùÅB@Ö®R“JòžJ)«4Úê$­J‰ µo¿oäµë92ÿ•Àu­Í›¹V÷Zåä«äÛøÊ÷Òì ÄSœðÃò=ã"õ¿´âZ`¬˜°Fk• ¿"6^QÍÑX.˜ýåç ÅI«²*>_\þ£Å_ƒÅÓé¾è¾0ØÌÿ*ÏE{B#Ü1ó˜7TØî'6çõÊ|_Nñ|(kè|X‚›½û@‡–ÙŒ……nfÌäEÛ©'ŸvPº2LIŠ¡…AœË(ZåZçÍ^1| ·7¼vÅÓ©“á-4i‹«,䤭)•h ëhLå dÐÌ`vÉ$¬Ð #kÉëZÁØy8Çf…"oxUæÇS­á)!Æ„Å%GulõÃþmÀlw†]^5äj¼‚²âC¥Ûæh3„®©E2yVšÈZˆ˜‡p~K–²'´N_wÈÃSn O'ØB·ýþ0,ÅåÅŽ7«‰:üµåÌÉINüi«rM°ëþB„4ûÑ9GÜÅ"¯ë¥oØ6Û4`ÙÔ÷Ĉ)G‡b¼icݪ€UdÏ=žëy­ˆ2dtÎó\¥1¸N…OT(DaˆÐZZp…"©½ãE%ãA b‘ˆX2ĨS®óNñi¯º5mä%Z[J‘kôŒDo(BD” -B&mô#9ãỄ¥{Þ÷˜ÅšDÈ`. z=/Ò÷g–“~°˜E»¯FÞZUS`ÅI"vœ˜€Àâ‚ž¶ŽÂ?A²:k+û‚¢é§°Òª¾³PPëÖ¢m9#b)í»So÷ä¹0`# É»^CˆÚ{Ø3P aúgX*jµÏkwM¬çhăü–¹-î°uŒ%!È5_̇ßVzÕ §dÇ°ÊÒ7mã E„\aËÒÌÊƪµŽó$–`<;qLÙLpˆ0«A -ë`5ÌÜ…º“¶QÊpéf^²,j5^xca2|´~‰Ð/˜›;Þ‘D°ZÞCü èkš%+ÉBXF©¾ ˆª -ㆶ>âÚÁ‹YÆw\Ê¥¡ÈØÔògò¤a(õ/ÁBOi !c÷Ô¢·d5ÔyŒõ8„¦ÇD |ÔæX¯œeæó¥ðÎ:0ae9S–j*72àr³’¤$=$þ kaÑ×¹FúÄÖxÄTØ †hÒ à- -yÃû‰˜ - éžðø˯o,b -b‰!RCÚÃùãë«­¦½¢2˜©\ñã$„ˆA_R!ð€ÓeŒZ„²\^6s0PÇÊ€ÍÆ‚4P7 Q]´Ç#¾ÈÝç -Êòª„+r€MbAR uòŽQ8GPÖáüŽ€œ—šç -ØÑx´§Ž¡Ôö>7' ™‚zJaÙNœ¦âM?HZ*SèÊjÉtùð‚®.§Än`€¦éL=©”Šõ±k¡ Nr©B³^F] 0‹K5<̱¼˜,,Å9öĶ ­æ¿žpºç—¤‚(:êdvÚ1LÊ£lô` £4ëXþ€.òï±5“¼LµÖ¸-Züt­¸­úb2Й úV6!BQ훃›ÿØB7H­MÏ˲¤¡*•'ä8)˜ä åïI xÐ|ª Ù -°é`¾íøUP‹­n,ò îx÷‘Âuø?ÄR1ÿ0 GNý{þd£¦]û’fî+p¹Ýí¨ }5´ùGÖÖfaóëÙ©® -®bçâõWóÕîìoÝ]ê¨ -endstream -endobj -843 0 obj << -/Type /Page -/Contents 844 0 R -/Resources 842 0 R -/MediaBox [0 0 612 792] -/Parent 841 0 R ->> endobj -845 0 obj << -/D [843 0 R /FitH 686.127] ->> endobj -846 0 obj << -/D [843 0 R /FitH 190.636] ->> endobj -842 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F77 675 0 R /F70 508 0 R /F11 573 0 R /F49 457 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -849 0 obj << -/Length 2780 -/Filter /FlateDecode ->> -stream -xÚ¥MsÛ¶òî_¡#5c1$Aä¼Sâ8;IÝ—xri{ )ÈâX&’ŠëüúîHP¢ÒÌô"‹Å»Øo‹‡E°øåâÍÝÅ«wZ-r?O£tq·Y„Aêgi¾H³Ô#½¸[/þð”ùË•Ö™÷þæ—÷«×_®?,WJ)ïíõÕíÛkÿþiiïöêúó2ô>/ÿºûõÕ»Ì! 8¾Žs8˜ˆ†Q.¹Ê«w°4"¯,ö*ÒT¼çÝ2O½¶x2pbœxïM±6-ßš²Qä­ÍéÑaúA–Ú£ï¶H ¼Ð‚áVhEyî•M¬ôEUw é‹÷°kî‹«zÓ´OE_>œ¹XÙsVaèçI§÷@#óšC¿\Å*õz<=VÚ+mkà¤Ìë@×AI'1ßaÜv²·ê(4RËÁÒËžsöšÝúfiä=o«q¶¼Ø jYZ''lˆ•`ÊC¿¥“cíÙoQËœh žnàíåJ0kÚYd#àß,ñnf–ä¨}kÖUÙó8¯‡ž ÷𧛻ø¦mžà±r…T¾UÍ¡Û½ð|M -×fÍÖl ˜¢—"îgt?Èü$NÄ1¨vâI6¦Ã¹"Š #¾0ŽN/ŒÐ׸â±xWºôxaT}áߺ -àê9ŒVVØ­.‘xEûÂÔÄü~Ç„IEyŒtF'¦˜èt€þ—ßÕ%&a5âZ[t=-¡ÏÁ°…‹®_¢9ĤOeæè8ÃjúŽhFË°XTË3ñ÷4l&é †ª(ÏŠpPöMAìlj:rε°á… ºÍ¿Ï7ž¤‡ Ø(õ£LÔ+›ú‘ZÄÞ›Ê%ü<2ìfš¬ZêCœÄŠÄyo ×ÜÈSUYrü"NùqµG®ê‘pByÒÈ -%r²(gNåÒ¢Ž'ƒ,˜¥D¼“ÓâcÉâtØp¨Ç- ZI‚lgô!M| ¢\&¡×àäÍø ÄtJÌÀ¬DÙiÍáûDh)úšÁšQb|ñºëÛCÙÛ›»ñ¦HKÂv9~¢’“° ˆ¡ÈL…j*Š0:2£Ž‘(ÄÁâ1rÓBVB¦–Aù) -¸à$®¸Ÿ39´ù0%Ž€lýä@9¯;>öR®‹bœ1ÿ®™&së¢/b̺ãa/‹÷ìayÒBneåMÙ|õœ ¥Œupd­¦²Ž]Yîö…×ÎËúÈ&˜,[’=‘öÍowŸ^£!Ý°ûЛfšm ¸¬Á‘µsÍ5«½x?4¨8¢"…QÆb§¶ -Àq1÷’ÐÂäG6$•-¯À4ž˜ ¬Î›àÊ’ž°NòÊ´5Å%>,<[d–Z%ʤeTG´Yzú {,…àr¯I/Œû$ú(S'ÈË®ýʶè^ôBÖÌÚ|"IõèbÕw Øž -øºÌàœ«æˆäQ;°ðïÈö=t"¦å!ës³p'p:•ª˜(¢sœ/C`¥…ú¦j….· p ”IL JlÖ=É‹`ÿ€Éò‹pû¢á…±mÀ£æàZš tžšt -Ôh*›)q w€j°“ž [vJŽº]nk¦šmå‘ð/GʇŒ:‹ -*Òb¿o›}[½aÀȲö8›C–yÎ>O»9ÈAOx˼‰¹«ì4Â)-7ç®ìLÄ£NÄsÞ–dï´’Y}­€ÙÍd©‚Äþ¸Î›Ðc(­ÃÑÞ~P¥¹§C=tƒÝ3l×öPŽÆ:E„Éa×Wûùj4 -}«éy¨±G0v¿.¹¦ég; Iä§Ùë+$hÖ€:úèÓÄ(}JNtV ‹Àæb5%Ķ]œ š£ëyr û€ \èã¨à•³…½eèç™NO™†òa[,©¹am?ö°€H|,†1é˜ÿ„æ¾½ºCתmq>Võ0ég¢A®!“뇪ÝzYB΀¾²Ž˜yæ6¹uŸña*×gZŒÄ¾'w߉&¸NtÝ)XðkŽr•‰®p ËLGM>4ÊΊkÜH½ïÕà -Oú^<0€ -SÆ‘VJÊÍ=ôg£ìTß­Ú­Ù·àY%ȬeƒdæTèðgWŸôOF?çX¹i‹ïÌ5dM ”N(‹tá<å†$™}ñ¸”5Æ®)/slB€U{ãœØ7¶†ÝtlÿÁî,u‰ho¶lèÌ“Õ5¢£)j)p•…”#Ð -LJ8%q00ƒŠÓÝ¢éé¼P¦¡¹.<–|{ vk"Nâ}7\g$gu -×P*•ì,¸3K÷amÆé4J]r.,erÒ÷``Ò>w. ä¨h¬y<¹Ûù|zÆä ÒlNþ„¨UQüþ’€qÝÔ+ÎÎöšÉ-„˜ÌTܱöã±ëy]¯W·›Õ›±¤†ôârû&xꈔŸŒÿ¿\JšòWšk9ò‡qÁzNêw R¼}Ãc<3:2/ð§×¸„èÎ’üÝŒŒB(ºmóÂûû- \åf"žšŽÿ/¶ã©“õ#ßáþÝn¿Psüïÿ,¼ -endstream -endobj -848 0 obj << -/Type /Page -/Contents 849 0 R -/Resources 847 0 R -/MediaBox [0 0 612 792] -/Parent 841 0 R ->> endobj -850 0 obj << -/D [848 0 R /FitH 686.127] ->> endobj -851 0 obj << -/D [848 0 R /FitH 668.127] ->> endobj -852 0 obj << -/D [848 0 R /FitH 500.371] ->> endobj -853 0 obj << -/D [848 0 R /FitH 436.282] ->> endobj -854 0 obj << -/D [848 0 R /FitH 326.309] ->> endobj -855 0 obj << -/D [848 0 R /FitH 254.139] ->> endobj -856 0 obj << -/D [848 0 R /FitH 202.004] ->> endobj -847 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -859 0 obj << -/Length 2860 -/Filter /FlateDecode ->> -stream -xÚ•ZIwÛ¶ÞçWxIZ 1 —mâ =§/9=~íâµ Z¢d¾H”CRIì_ß;ƒD¹ÉÆKàNøî 'WÛ«äêí‹_n_¼|“]åqî´»ºÝ\)—ÄÎù+—¹Xiu»¾ú_¤²Åß·¿¾|ã͘2Ícë5lC4¯Þýüñöæ÷ÅÒ™x±ô>‹^ß¼úðúýÞò쇅öÑ@£”Žþxó'îú"V¦|,ÃöKíaÒð!U»Xê\G‡ºÄŠv‡zËSOesàQs¬áxk’è¿õ®ú´ÐYTòʯoÞò¨¨×¼Áo0uÍsÝ}Ùȶáœ:lY~>VM¹/kÜ­ãÉÍ¡aê²X¡d÷(ˆ²T*ÎÓ”9¾ÛáY´Â?u|¦Q‰LàÄת»ç©‚'Úú¨\UÅŽöEÃ’4$[½ß0i}¨—7~ ;BNʺå÷ǪÜÉ_)l¿;–²DÜÓ‘»Ï8ˇ͜  ¶âŠ*ÿJ”[U¨u-¯U5?Q c£»Z(ÈïA~]ól'´¨c|²°4ˆÊ ²ÁêØ´1q¦lœ[ ìÙX™ŒÙ»)HèF—±`<Ây2'Nm+›UEW®yQ”Ë<1(D´+qýdìúÞÇ@\N£“²°.¿ñcoN \ª@^ WŸ:õ°nj}ôf‘à0TÕÛ]¹$Ù—Ú¦qîÕÔ8ç6!/5&¹i>Í“:`‰™å¡L‰•³è©Ú.ŸŠí aŽÎ1%«šHOÖÏijiÞ‹7ãgx—p…‘0vGîmæ„{\¦h(St(ûÅRE$Á 1JˆÏM«­êQ = i»s‹jØwAý|ðä4°ŸËcc´íx†,Î>>w°ïmwWÕEWjžœªDiQuîQH¸`% -þiɬð,¶ˆÀÙ‰ǃ‘‘VŒ ódd<Šwvc5œÚë’ëiϾ€è@ÛÀ€1G͸ ˜¶$³e™a…a çÂèë}%@ ¯®Å¶®6ጢ;9 ðº@¡fÝŒD¨Ý9PkÁ xR¸Á‡$‹R ýÉA•Úõ[ :èu®Ï,ô'|ù^õé?`„þBö -2>ÄÇÔ„7À Cp†$ ýEöðk ~áF ? À …aÏ1ÁýT‚ Ð QÑLi$àüBÓÍ#¿ŽØ°¶/G¿[B€ ˜ äQÉ ¶Ío›Dµ5O.Q4ª¶kÊbcÀldä‘Ç#nm<.e•à·wxðãɆ§:•ÅG†Á^Š -šj‹P‡êR>Ú4‡}ÌßÝrÌRY´/ ²¯ê=)I…°ZY€_5XªpØe•Ü -ÜãØðíMÄÍÔ(¢É9” ÌfDɯúèCdz&¬x7Q!^`R—BjtVP-ÙX°.U¸ßk¶ž:ÑmË“bðsj¶õ¥]|ÈÍhîЬ)ÅôpOÿĬ•åq–eSñ×eØÒ“kVz¸²¤jÍBÊN’x ØCR2æ·OÊÌTHQa06«ˆïçøið;¤d§ö#‚ ô¶æܸ^ÑŽ0üÙd!ºÂ$±wÜãß;¾J SØej„å ñU &+ñ±ëpAÆø¬3>ÇŽ%Ìtü‡ å/_Y@–ôGŒo9' ûÊqPJ K£DÛÆ™±Ó R—ߺh'Æ?£“,ε¾¨s¢Ïñí)©É€¹åBE“:˜H kyøõþЖ²ø®ç>C:ö]>ˆ|—†-ï_~>bHaâ9'Ìlì¬ù‘+IÖݱ WLCTÒ'š¤|È«ÁS—iê¸-áU_f¨¨‘zÃK„ÂÁ¦üÚgzD\Ô3VÁ^”RÏ™%7Í‚[ ù„bLL¡Ah€•p}¦ë À•ý~]² -m2Êw†–JͪfP…ÁèB5<³e_ⶠRB6·½?ùl‚VÉ ZÁÜ®¢üF¡„!¥+Ó½Ú®h:r¯U…ؾý÷ÖVËY”è[³¾U>ugœ˜Æ šêë¥ä’ΓXëì9CQ­{£ü{Ã]P”Ù…BÎirH-+Gv„j7ã}¹Š³¡ÄŸu>å.Ã$ž3)hFEÈ«´Oâ4ŸªtŽQú{S}Á™ú–|á*®y*¤08ûP4-r¢åÇ»#¤)f±IzâUNW4¥R7ÀâÌ¡žCØ s û ¸^‡“ÊÀÁNBðêã$÷Óþ°+¸ -O¥Fí ˜ T§Ñä"ÀûyUïÖù t:©Ít:8f*…|µL<§‰ÜÇÞ¨ÁZlñ…„UFŒ$ð;éó Xk­…W -ËwXß¡=ñN‘Mу.îAøíðIZµŒÅ@Ö–»rÅÝPƒõQ­ªCÑØ,7M±—’M>LH]a%Ï4(˜—LâãÓ CnGX,Ò8•°\¶(A&´ew|àá=8:éÁÁmø­¨CÁªÌ¤|#ÒÉ%Ä ^Àó¾ñaf>»Ç…Y@:‘ܯY@A‡wËÁÝ« í?³ºU±N{»Ÿµ¢5èŽÁSŒˆ%Õ¾J¡•)5À‚ 7&J¾ñ0%7¦Ø:Ø -ñ{téŽçªý¾\ã™;©Ä…¯‰@…T>´p¼ŸÆIiúxV[x8ÆU‰ø>:¶äa´Oø P‡Ýï¡dËöØ—{¸…ÌÎ÷¸Æ¾æBi[WÝq]^³“bŸP~uàH`ÌðkÆ®¬·±F¥¶b6 Í§V7>¶^~{ý - ¤uô±…®¨A{ž7šØä½ÑCÑå‚Zˆå{±8*†ÊÖ7˜:ÊGýMð6Ó±tAßnjާÑ€`µüš üMÓ’ê‰Ò)Q»¤ÿñˆS9\A]ás(Í‘î”%¤ $Õa½ûøüØv$ãZ>(Úp"N±÷Î^¶üŽæËuYAF„(Ê°~':¹¥¡% +ÀÇ~Ô¢PQX ˆ·94{î0$C?Æ-%øfE5WÇJ…ÞQ2“¨DšMIÔ-Û_IŸåš;œJ+|£×÷ü”ˆ.ËíšË¾*YÃïàuÛ5ÇK~šB²ÓÇï7U õþ#fXqAÔ;rai[HWã®ìÇ¥}è£ý¹Àõ/}Þ·êÐ¥qî¯$Mª ‹‡‡]µ*‚k2K'*€{’R^—XòcÎßžB¥u¡ŽK˜ÿʇ3YfªbçúÊøó\I¯&pLGŽ‰ €&¬ÈÏÃn|EòÓ[Úíx•$¸ÂË µÎó¸ÍiúBCos‚æ ÌI)R½~uËT—ºV“­ÖåD××ؾtÜxÈÈ¿ûÛ´³Mq:ŽšBMQ·x·¦*2=#þ\E0=n6=0Æšég¨cÅ~ǽ´>%<êSòľÏvgXícDp] ,œ0`Ì@ºxÆöÿ>¶4e{Üuñä¿ÂóæöÅ?m‚ˆä -endstream -endobj -858 0 obj << -/Type /Page -/Contents 859 0 R -/Resources 857 0 R -/MediaBox [0 0 612 792] -/Parent 841 0 R ->> endobj -860 0 obj << -/D [858 0 R /FitH 686.127] ->> endobj -861 0 obj << -/D [858 0 R /FitH 253.546] ->> endobj -862 0 obj << -/D [858 0 R /FitH 182.141] ->> endobj -857 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F70 508 0 R /F11 573 0 R /F49 457 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -865 0 obj << -/Length 314 -/Filter /FlateDecode ->> -stream -xÚe]Oƒ0†ïùWmb;úA[nÝ`Ó,™Ùˆ7Î „‚d àÿ·µ,j¼éùzÏyŸ45Á6xÈ‚Uª8ˆI,™Yh(‰–1ZÊÈJð -9aa¥4Ü=nwxŸ¼${„9çp“¬›ÄçÏGÄ<¬“¢ð„Þ²§Uª¶¢Dl¿ÒØI‚pAY¥vô#Æ75fÊ6¹ßÙ÷ÖŠÁ~@˜E¦M;›±éêÿf:$Z°›W†4‡v—1‹þ:´f6®Šàü±$£…¶)µónšÇÏb6¥_¨Æüjîm.$Ì;¯>S.š·î¦¶> endobj -866 0 obj << -/D [864 0 R /FitH 686.127] ->> endobj -867 0 obj << -/D [864 0 R /FitH 668.127] ->> endobj -863 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -870 0 obj << -/Length 132 -/Filter /FlateDecode ->> -stream -xÚ]Ž;Â0{ŸbK»ÈÆ^î]†Ä ¡ ­BèP¸ÿ ŸQ=i4=ð0˜šºO131è=2 pb $ w¸Zòº—økn3n„ÖÌÛi÷ÍIËÙU1FÑU"Év¥ºñ8|èäHì¼:!ÇryUÿ^ùß¢æ ¯m#Å -endstream -endobj -869 0 obj << -/Type /Page -/Contents 870 0 R -/Resources 868 0 R -/MediaBox [0 0 612 792] -/Parent 841 0 R ->> endobj -871 0 obj << -/D [869 0 R /FitH 686.127] ->> endobj -868 0 obj << -/Font << /F8 458 0 R /F73 507 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -874 0 obj << -/Length 2085 -/Filter /FlateDecode ->> -stream -xÚXK㸾ϯ0r’±"Š¤¹m³AÌi:A6;{ %Ú&F–IîžÎ¯O½(ÛÓÚ “,‹¥z~t¶9n²Í_>d2þùùÃ6Õ&ÏÒ¢Èíæù°QY‘VE½±•J« Híæ×äéä.³·;]ÚÄl{þ3iY• -e›U©±†ü#´~`öŸ·µI†ñìæ‰V›:­‹¼ˆÇtjŒÜó| -œ2&A%¾™ÃÐ3á^¶y•xÚ·‰cêeôM˜<ÓZ?5c¸ÜÎ ç“p¼ˆZ@;ˆJDŸOnfòóÉ£cjÔ¥q;Ô•U*­­({qûä«é"códš‡1ôÇt»«²eñvŠ,û0OóèÝ™·ð·ˆËEœNN®o»ÐoUrd‚èSTy]fy{P°`Ý—n|Î"KF? Ý•­ƒëë%ÔÉ<ðZe¦²EÆNRæÎKÊ–i])Or¿fYþÞ•*ƒx1‘G„¡%r“|¹6¨å‰/Š_ÓW$×®*þûFÏ ×±Ùwª¨ Îì£õÏÄ.Ó -œ7z/S?º=Ùc¦@ÅŒèw>ørŒ¥‘W‡Ñe¢‚'×¾Î]Óä[¦´nvq -n˜„,]`Ìk!Òúf «Z?’>:ùüÓ¶ÒÉ/¼ýáJÑ« ¹iwg˜Π·œ~Å´[üh>5…ÿĽ=Ô™´oE*ðbò©‘‰l¡ sðSJz+“ÖÆ€ò:µõ’Œ¨@i@˳ }Ëù/YUbVQ‚ÀlZÉ®û&tÇ* ×Y¶P5py™ rPÑ„¯™2œ"j™ÖÍ<ýx«hÅQĵ¿3=ç÷Ÿ¶»¢Ô|Ș<Ö¡‡q:]\CÔ -r¨ešðUÉ%|÷ÓX2”:Ii ¢¾#F .¸ðˆý'–pøcï®] Jÿ -ã1Öp~Aïú›6"ƒ%ëÄ»‰- Á<6p:w©q˜[Å4ÒODÊ+;[˜ wð÷iö;ȤwÛVŽ7.ˆ¸ØWs-¶H ”£Þ.ªÀô®<á2'#8˜8ˆZŠ¦ÜÆd±‚pÇ.ÒÅèœñÛÊ$’ØŸÏÞݼˆ¸Ý»¦3?]8ÜSúAþ»kf²5,Ã4h˜/‡^ú ãcêVüæ’žåúT;ÕxI:¶½Ö t¡†ì/‡èý}¨ù!Se·—RYßpL¶α­à‡¼Nm¾ã@"•]D‚¼ qW­’OnÁ|Ëb@3¼'&¦T»=6[än´& 7*Ù•pß/½(vZ…©ˆt¸\u­6àÔ:F¼ sòPÀðþ=«Ó¼Zin-ö4 0üb"¡.›/ï‡~0л‘YŽîÌ+ñÿŠ]3Œ£.ÜåúäºJ 2%ýÁ^2¹Y¾ŽkŒ…ÎD˜¬Š&¢‡T„ú𺇶F/7d”þ­»®çè[ÝìÎKyWØê=z¦]Ï‚~P|bÓ:þ½“eÉyi4ÁZ‘×µüëƒe]ø¸¢àäÀ#Å,[êrvKœs'”:þGÉZaèyd“]Aƒ3]J}híº0áëÏ€Ï×1bW®hV „pzH$D5‹ò¦&Ì Eã¤õè°Þ·"ŠS˜XDâ)Œ„@ -ù×Pk Ç;war«ÿ?ÀÃPÕôð"¹á(½¼×èy”|UÚ\ûo=¶þT·—ÿ á©VÀËŠFnÓ -ç‡z`úôüῃÑc -endstream -endobj -873 0 obj << -/Type /Page -/Contents 874 0 R -/Resources 872 0 R -/MediaBox [0 0 612 792] -/Parent 876 0 R ->> endobj -875 0 obj << -/D [873 0 R /FitH 686.127] ->> endobj -94 0 obj << -/D [873 0 R /FitH 668.127] ->> endobj -98 0 obj << -/D [873 0 R /FitH 343.658] ->> endobj -872 0 obj << -/Font << /F48 455 0 R /F8 458 0 R /F14 574 0 R /F11 573 0 R /F13 705 0 R /F10 668 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -879 0 obj << -/Length 2660 -/Filter /FlateDecode ->> -stream -xÚíZYsÜÆ~ç¯ØG°âaîUy°JqR‰‰åŠ"ëÚITö ÷¬Ÿ¯§%°;{Y´Tå…žéî¯Ol>¸䃗Ï®/ž¼ƒBN¹ÁõÍ@º\8ç.8!•\ï3¥.?\ÿåÉ ¯»”!­ØDšçþîõõ՛ˡÖ:3ârè}È~øþOW¯xéÅ¥òÙ«7ûî2˜ìú-1¼È›S™/ÀÖÛìí}9ªøòù|v©eö‰þT‹e=Ÿ-éÉÊÙ˜)^Ó£rQN«X¦®ð96”"(É^ß³Ñ*»x÷2û|WHœ;¾WËÑ¢þx9T!kÞXñ«2áȆGŸèÏæ`DE¯ø¬Z¯Ïñi5ã'U9¢û;¾±¼ÄoÉòÒj¹¨H:µ”¢°–O=©—«Š†¢š3MæÄì3ŒbŒ"±–?'¸p|^ZéŠJ÷³ª·ÜVs&ž–÷¼ÏÕÞ,æÓ†ì®aZÍFó(!qˆÊ–²¯íî¹ß5$zàDáu X¿-œlˆò%|aÃÕó†*ï±’°ëP -S¦ú˜àeDž«A‡h«§Å.”¼P„éMu¿€Þ#Vå - Û°RãÒš‚oŒ«Oõ¨Ö³quÏæÿƔ è²A½öüû«”nL!\®['ý'Ü2@ÓC¥tö¯ÝSÃÝtØPÿ˜Û\Zâ¿jC-µ@Tè®ÅÓ–£èè?æÒÌš§åÇåjQŽV|7-!2þÔ£rÂÔ£ŸøÆOxýf=­wÆ‹ì}Ñ9ô~7¨gqëzUM¾÷¹É ÿQ½¬àΆƹ±\ŽFkœ*YŽÔñ ´þ¹^ÝñƒÎötËžžÛÎé»^žÛ}lŒ»¸™/¦äa -A²&Phœ‰o©†–_àÔÓ†hÉkcRô´žñËx¿/LÃhÂâOërR¯:Oæ7ü`¾^ݯW¼†V/Z6Q-»d)-«'åÇ md5ôœªå²žÝÒ¢‰2úlþ߃dÈ®~Ž8 ÇÕˆßW ~+íRF¼ã6ÊkÍLc~o#®%#0‘†G°ZG5ØÑڟϺѹÖ!ia¾¨oë4¿ëNHŠnŸ±ÜIËf¾*`ÉãËë§\ÄV¢îm>”J  7¤Íð[r{Š^ì)¶=µ˜¢ks¡´ìrBÄÞÝOÒ†ú4dœ¥‚׉s;¡ w’ -zßÇÊÕ•{¬¾Ý‚EHC‹âÍ‘‰¬@öh“DôPcq’×Wå¿ãRC†k -¢F}…`Ç8ôLÖLØÄLÓø/],ÊÙmÅÏÞ'ulŒˆy+ÊP:Ïÿ ¶U#åÓ’+k?ð>(± ê¡%§Ge½0ºèLJsˆ,¡à*„&®Ó -„q­0tƒ(8a¡†.“Â@Š3…ÙàT~`Ö7±œ±4 {®˜qÿ¾ÙÒtX8àÀª‡"!oÎå;° -¢0`/TS¼Ë˜«ë‹Ÿ.$^Ír`”ÑÔ"ZFÓ‹÷òÁ®Ë0øI§ÄÈÓk“ÁÛ‹pÓÒÝmÃ)xaó¶iIhË!Jùmgè«Ë~m|qLã ó’´œ’tÍy]OŽ!ˆW ô­ÅŽ„~²égˆ€°CC0ÙÝm¨s„1ÑK¸GâØþ¼D±§——¨„Ð.{VÊu,-P-œÊùíŒzT¸jùŠãÔ*¤B_ô«Úw»Kë\8¤ï S‡2Jš+ÛNÊê ƃÉáñ®é®6Ñr÷„FÚý°ÿ.a¬zC™AƒÀð0h‘J;ÒAú† -¯¾2×Áü®è¦“ r^HíUÀŠíî·úLôÏVÀ™Š@ÞDU„'…Ámè- ]äÂB’CP ±ê=xŒ²¤…ûEP9,†ßkP™ƒ‰±äm­72žÔ!xÊ]çh{ðäôÑÐS¯Âa<¡™ÑÖœyì¹RìÂI‘µ2]4éMÀMA±‹†#@»Ö-€<7SÒo)éÚCŠH"j+VÊž^ÊÔÙÑÞI¶Sߥ·¸Â -•¢§ ^AäA²üêÜ‚)µhýo8ù4C!TnRBí“H?žD§dºž€!jC˜"9´ežŠÁŸ?<+.ÒÏêÀöŒÀÌÉ#°7I8£Î×ÁË$«—:›Õ³+ Ik—UO»¬À¦Ô kr†õîL·_„°klº˜Àé×Ó’oš9=^‹÷èϼá»ÍÅœ)íClj×cA>áõÄ'©Ä¤¼™sÅ+ÌÑžgµ£s\Ìæ³á¤žUej -!Q(ŽDžßUÈY¬öÄ'X…­|ÛcÔ|š#­¬—Õ¸¯°ñ¢fëóm9Z­y"¸ù.ý«GÉ勾=øûà2NAŠì‡K´»í¸Cº‡NMúN§†±¡ã…æq͆ŸóÛ„íÄkéñ)ÕCòkŽà\Þ¬èkí×4ŒXŒ £H–bHƒ>*˜š{,ÂP»höšÊ -K¬:DÉZ ª—'Œ]Ží•Srèý>¾ªLÅ«‰ÂM9h×ìNW{‡ë5ƒM• ‚~JqÂdMökÄd%Œ"ËÛcÓãs*<¤Íþ–7 ¬„â Ýrú?¤Ï…t -°†)¶’ÝŸÐôã„*.¨cãï›ÂÁtô›W!‡³‹<1»œZ…ìßM+´ »Fw‰Á²"ØôÜ&K'Œòçe'õíO¹ÄNq”J„âì2ïÈoz( -R<ÑP§tóÿ ÍZ¯›G·F#¾ÕIaÈ^>K <0ÕýÕä«æÇuô-’û5nînË)5åñ3ð|±¨âÏ xýaÂö$“ÿïà¦@ -endstream -endobj -878 0 obj << -/Type /Page -/Contents 879 0 R -/Resources 877 0 R -/MediaBox [0 0 612 792] -/Parent 876 0 R ->> endobj -880 0 obj << -/D [878 0 R /FitH 686.127] ->> endobj -102 0 obj << -/D [878 0 R /FitH 668.127] ->> endobj -881 0 obj << -/D [878 0 R /FitH 428.946] ->> endobj -883 0 obj << -/D [878 0 R /FitH 402.974] ->> endobj -884 0 obj << -/D [878 0 R /FitH 375.945] ->> endobj -885 0 obj << -/D [878 0 R /FitH 235.303] ->> endobj -886 0 obj << -/D [878 0 R /FitH 213.52] ->> endobj -887 0 obj << -/D [878 0 R /FitH 192.838] ->> endobj -877 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F48 455 0 R /F11 573 0 R /F13 705 0 R /F10 668 0 R /F49 457 0 R /F14 574 0 R /F7 674 0 R /F9 882 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -890 0 obj << -/Length 2196 -/Filter /FlateDecode ->> -stream -xÚÍYY“Û¸~÷¯Ð#§ÖÂâ"z“3žrjcoÙS©›ZÂÌ0+‰vvýv£Š”0‡\N9/#°Ùh4úüšÃ7 ¾¸|v~õìû×…Z”¬4Ò,®®‚fM¹0Ö0!‹ÅÕzñÏL3ÉΖEa³Wï~|÷þl©”Ê>ütfUöòLõ‚H¯Þ½ýëÅûoÞ½ý@„—oÿ„ ¯Î^¾ù—‹+`8û×ÕŸ¿m'Ç3+t Jù¥B–g<¨¹X*n™Õr±”ìQÄuu[wg@Ñ٪١Ÿðk»®²¾úåL™ëÂã­#þ]³[nê«ZREˆ© r˸´Q—÷E- + e‘¥`”QÌCLßµ°^¯‡•[é#²ÿJ»½ ‘X­ú¡Ú±ú»!È[»OõÊA¸j»·Mïâ¾*0ô5¨1ŸëšŠ!-L†1¦Ež5»Í¯D!Yžv).‚&H$Mž£&Œ¸&Žºï‚ÜÙqn<Ì»¬àSï[ÉTYÄ€Ü5ý±_…eB2°x ½Wç,WåüªCçM+ÔÞ´"šõŽ¬ ˉ5‹ìÜ­ª¡ LU`¨·´øT»Ïõî†Ý­n›Ý–ÖAÓïîºa J$üPïÈPÛ¦ó†„Ps$uôHžu=X³j×·m­¯³#)X´ÚlˆxSm·¦=~ôÑåzäúìY];:1ܹÑm Ç€SÑDÕ9? 'Æ >Tm3 ûq-RG—Ì(÷âØ»ÿfô¿ I>·àÈ”D™3mž*O>j’ŽÚQè§ëÛzÕßš- ÄÔ#Çõ”3ŠLYpVJŒÌ^þƞҴtîªÚÔÛª÷ŽGÂçªi³TJ8#܈"X¶¡¦Ä’µIyZ‹ÂL‘‚qH%¯ÏÇ—)Y®GÛý‹¡Í~æ9O:òVDÞ‹dõ/¡Óh&„~ dsjM˜¾ƒS¥„S¹€“£KøD®”P¦ræ"OT êB΄ã]4+¢`°Gi™~2Œ ®î¶6/FÆ”¢‡lܡݽ`Êè5#¼ÂÄEžÅuëÂê®j«­ë]K!ó[@Ш1´Ó·*™£‡n]T˜õ]xðÙ3UäÓYUz3¸piÉ™ÌÕ<í»;ºéªFY^Tn}ÁÂ_ßXüjMá¶bñƒš‹‹#†T¯Aúõ°[õãÓ]ë:P@ gݺ6ˆˆgAwNѵƒäùÍ…ªC-64Ë$ò qˆeÊÏ£H J#ô€‡ÜÌÑ, 8ÓÜî³#! ú‘0ƒ+ŒH5GD³grßï ni ^-·š·dÍT7(E½®Y©õ µ\Ó<ý’÷Á>ýU.™3 ¨ïø’åC—T²˜_ò¶¨JÉ.¹|Ú8’?i†ÈŸ2Žœ$ê~ß‹šÝßÀk=…n}¨×å*"¯š¶u¾V¢û_8dê¹e½ÐÊ9ΠÑQi>)Å“ - t?:Z?:âã8Áøõ~‚Ñb6/ákÂQ° aÉ »uÛ°jhõ ÌGÑÃ:>δÚF(Æ·Z­pj‚õlpBf¥U8 6ÑKB¹°Q>x.˜†8®”Kð™ú’VÞi+:ZGþ|R\òcéªMùïÚ& Ñ–Þt›Hxž4qœ>»03†¯!@©û8ãÕ›0O…²D>Ÿ4ùlNT4ˆêðSÀÑD0Pà5‡áÊžú¾]9ƒ”clšºˆEÉäÀÇ4"|œÁÆÞ#„öë"ûáXY÷£ElzÊÁ -m÷PBê'@`pœÉþ€±W æøÜ¥-¡‡ü¹ž4JA“àwÉQ‰ñýTr‹c¹h¤ K/*f‹ü}ð׉Ŭƒ 4MníA«ç)xQúO¼Å€¼Ö‰qf‚í)mN4ú±?»”Çbì½RvÀ0EÑYÊ92÷!p nôc7~ͶùéS·ɊËTF@àö±Œ(OrÎ% ¢f„*ԷψËdF€è¯‘òÔŒ(N4z2#Ìåƒ,u"äýù ˜À‰bš§Œ“ß&ÎÖò,Jɯ›p˜’!)ìI‘—Åÿ$)ô’B~ -àƒ$EñÒ&ÎÓI1ù,rBZäÌêT›P‰ -à’üâï füÌð> endobj -891 0 obj << -/D [889 0 R /FitH 686.127] ->> endobj -892 0 obj << -/D [889 0 R /FitH 576.526] ->> endobj -893 0 obj << -/D [889 0 R /FitH 494.769] ->> endobj -894 0 obj << -/D [889 0 R /FitH 479.825] ->> endobj -895 0 obj << -/D [889 0 R /FitH 464.881] ->> endobj -896 0 obj << -/D [889 0 R /FitH 252.946] ->> endobj -897 0 obj << -/D [889 0 R /FitH 224.961] ->> endobj -898 0 obj << -/D [889 0 R /FitH 196.976] ->> endobj -888 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F11 573 0 R /F13 705 0 R /F70 508 0 R /F10 668 0 R /F49 457 0 R /F1 667 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -906 0 obj << -/Length 3013 -/Filter /FlateDecode ->> -stream -xÚÍ]sã¶ñÝ¿‚ôL„#> ¤“‡ûî%½æj;™|>ð$ÚbG’:ÇüøîbAŠ”p¶ì6¾ˆÀb±Xì eÉM’%oÏ^\={cÇœ&¹ºN¸É˜1yb¬a\äÉÕ"ù9êü׫¯Ÿ½ÉåÓZ&…2çå_Ÿ¸z}q>“R¦ŠÏòܦ߿{õú[½9yúíÅûççV¥W—Hð, \LY˜q#™â:™‰€’è_-«ö|&Oçõæ\Øôþ”M[A×Ã×Å6`ôY”Ÿªy9[”[èîfQú™ ¯ªMY4Ô¾@îÞ¾ N»-æ%5»:|—ç<õ0‘.¨ÉžVsl•3ÜìeÆ9sZËÕ&¶´tÙ°´´.}ùî5I—ó±t3Ãrézéþò´é@LÈô'ÂËLX¦dìù ’^–´ä¶hŠuÙÀ¨_4a ó™#§Ë¦¦M͸Ԍ7ÝÛºèªyÕ!ænÑ‚ZüVëåSmŠ®li ¾ÆoN ! [6eI°mS­‹¦*Û?šrñÊ7Oo`tÚň-hÚÇÕ®ü£hiâ-*¬\­brGi\Ø4ú LçÈ´A¦sdºç¡Èñ„À-*M ê’ƒ8i^5hõh í-¥‚Y -èEḵáÙòF°®Ð.]‚­€üž½Þ„¶ ¿öw»Æëq‰A»íŠÍ¢h-Í mm«y±ZÝh[Öšê£ßPˆÐ(Ø l·‚å-ô€að|‹tlš†ámSÉ<Ø&GÏÿò­¦ümW)P½¿SïÂà²lÃü‰ms´>¯•0» Ï®-¯wd/³ÀmÀg]SlÚëºA#Á‚A ÚMõ;¶Uêõ°¦Ü6dê‹ÝÜs -Àäæ+Ò‹ˆ âin ¦éŒÙLÐ’oŽ¥Å3¦uÞKë«@è›DH–qÂó`@9Ó2èÃô@Ãd¶Â8ÏÃ\.­Wf™v wLr¿–Ks–KDR°¦Mfs. Þ"Î^_ývÆa•,á‰ä„ržh-˜¶É|}öó¯Y²€1àƒIg“[¹N,°‰Ñj•\žýƒÎ  OH )P“ñÿ.ÆU¦ˆ)3bꀖâ¼PY}ïþò ©›ÈþàXr óSög¬ºoF1®ÅIäÇlEv( -5·탲ÒÇãªÌÁ‘žŸ´Cžó{vˆ”4˜û‰;D¶ò[ “L‚ν)s!DOÿ•¾”¡Œx˜q ®2u¸~‰OŽ•-Þ;Ü/Y–EDl˜ƒSÞï¦8^ ÙÑÉé”ÕN¶ûc…üAHð!ðo“ç÷éRb(9Å!FäúÑÞ8V ¤)VÙ±3þ™É£®3Õ‡\÷OÐH,|hÎ4ˆý4H0ÜÈÃ*‰Æ‰NË€hfï[O׉yØKŽý`% #¤ÿH'‡‹èÄåL˜Ót"˜°î”w’N"BçLÂ_¾$@tÈdìÏ#‡¼> J2n1òX7ÈTg`B -¾üxùDGÊL(&3}œe8)¦Å$CápsÑI_ìÔ£”SÓˆ9aD±Ü -@˘2üÄnâÄ$XÖ#ˆéÏ*N"缟öª–1ñDt±/ƒ£L°ÌÉi’w”å Öý&â&9ËѬxŸî½$ÿœKF4 —|ð5 y ?AËy£µ8UËüçâmÄ ÁÌ\uu–3)ïuB Ïï Œ@Ë@¤3Ð_¿§{v>âë°iÇô!v"Ái–¡“Ë2ËÿׇÚmd%âç´CÍ<@ùƒÊzl¢,H bÕ}Ôx§yXy*× òGd·‘ªÁ² ®©{Ÿê¡¬,3jâ£!^ê{âeê ˆ›<0å½Ó9˜?ÐTP÷AÙåÇ0 ”˜ü¹)J&àr ¬ÙÞ0eŒ¥ûƒ”x H™Ã 5%£y"@œâ 2±’ò¡:vˆ( FHTpþ@ŸÔž|¶y#¤·ý|ª§“Vø]!ËÄx…q+ù$s%ÀrÅDçÁèMoô0ˆ71®'Ÿê·ôkCæËïÚ0uØ&"€˜åÔƒéjr"ƒ¿œÏ RÄ£BˆÇ+îq$?§)þt’·’ ?å"$ï"$éñ‰¢<âç$ižLñ$“Åȉ~$ÆP¨ƒ+)‡äPaøŬÜY´òáô€qX >ÿtnDZT«âãÊzuú²^Õ 5/±ÀÙ¯ .Y}¦\ÿœAÕK!B%^ÈP7È<ƒfKäüø|×4áë·8¼(ɸÚø2$t¯išÄb'A>† -=¶aͺ)áSµ(k¬Ãª,}]̱²¼$¬zSF ÒXUW—S•ÈÒvYc%!pý/”Ho+¬ä"ðvYQÙºUGÓª@¥)¯ËÆzŠ¥Zµ¡o·$¼,]P©u¾[‡û…dZlÂÔ‚f¬ë&Êö¢ì@S~ _v¨N;¯PlóPéŬÝã×ëÀ£îkçؽnê5µhc^\Ø­º€1.Bcß«‹²©¨t½`ásY¯}یׄ,ÂïÁ›º#Àžýë;*V+"ÛÈ´®ÓMIïm[4wøöæ‹ïŽkh{sIC-ݤ»MKo°JôU %çíMÙÑb ©{ÅI•+Žf´eC²h©_„/ñóÈ¢«P„Wô~„#·Ë¢'²¬w«ACåÀì1žo—e¨è—›ðNµ¨67òB -VÞóô† ƒÓÈÁi†˜áW½w[¦Õ+Ñ⢜3¤ªS•gï©…ëþîê»Ù6MúâŠÖÌÐÀå]Û•kj¿ö÷«Ë—~o -rMÈ|gpÚ;Õ__¼ßaü!ºØ -t± tMÆg£ôurÑ(Zf¸¿·*çúh¤Mi Â)ȨÚ#zéûVu|»©‹Å¼h;BîÊUù©¢W[&G†Æ+œóý«@ËG@_£«í†HâÈ-&¢êçkp7X Äÿu±-6¾mÒo Fî—]•~·!‹˜·8ø¾¿ó©Ífíßjççðl·Ÿæ&¡ÆÅÛ3X¤íìäU€¿ú;¼öa ïC»<fd7ë¢ß½­©µ7zèرEá½å`ûý³èêÏÿF]´½Mñ¯j…Æ€ÒÈUo>¸Æ&|·Û¦Þ6UÑ…U"¯î‘XÖî¶ÛUåÍÀš½Ø ¸÷À²!ˆþ€2¯×ýsyë×ÅA¿'’êi,0~˲B oŠõº æ§sâÚáK£ËDzYF¥{Yλ°‘p¡¥RÃ+5ü—²êÅúÈ@Ò–’d†ß‰Ì8Bä#êú·IœÒ¶»uÀ¾îÑXcøð¸A#Ùutx@¢â0çLôï=ï6t(’Œ¡ñÝe8Ûn·¨j®kˆªµ?žðmn±øç¬eHÔ4± î+£©§^&ŽöOßC«ŠdpÂBPÜ?þž–ùÿ÷àÛØ%ŸeÓÄÿ+ºâH©ýsb(Y4;uvø÷Ë—‘wo–›áÎ#¹Œ]rI—Y¿¥ãÂ-Ü›l?þ9&øL ¤pèóøßœL’Ñp7DHŒSƒ¹@b52À"sÁ|ko.îê}Æ1†û Xlfø€ ƒNfÙ7AÈŠÙü0­ˆZDýh?Ž žOÍ’&U×€–Ÿª%8íŸj*ùC¦r²½ÂEŸLÅ«Ëà\;9!Éæ5Ô)Ÿÿßt}ÚŠiÚŠ"L¨nª®XQç 3CÿçPþPƒpzz¢ÕÍD<`áh‡l–9¢”í‹ðï¥>^Žÿ«B¼CÂØç^Ðìs$ê=pÒ룓ž¦ùÿ¨…DÿÂd4&õMG[‚t•î"d¼‘ˆ‰¯ùÙðW®‹håß(ŽÏdüžèÚtmõ6JÊJõxR/"¤,Ë°ØxDjlbš 3¥´H™ÞÎB&÷±uÐáZ çcÈxñ¨Î36QLÿ}}uöon²U -endstream -endobj -905 0 obj << -/Type /Page -/Contents 906 0 R -/Resources 904 0 R -/MediaBox [0 0 612 792] -/Parent 876 0 R -/Annots [ 899 0 R 900 0 R 901 0 R ] ->> endobj -899 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 0] -/Rect [394.994 227.028 425.214 235.828] -/Subtype /Link -/A << /S /GoTo /D (cite.rec470) >> ->> endobj -900 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [194.541 188.671 217.012 200.627] -/Subtype /Link -/A << /S /GoTo /D (subsection.4.3.2) >> ->> endobj -901 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 0] -/Rect [257.988 131.141 288.209 139.941] -/Subtype /Link -/A << /S /GoTo /D (cite.rec601) >> ->> endobj -907 0 obj << -/D [905 0 R /FitH 686.127] ->> endobj -908 0 obj << -/D [905 0 R /FitH 550.575] ->> endobj -909 0 obj << -/D [905 0 R /FitH 506.245] ->> endobj -910 0 obj << -/D [905 0 R /FitH 464.905] ->> endobj -106 0 obj << -/D [905 0 R /FitH 398.114] ->> endobj -110 0 obj << -/D [905 0 R /FitH 284.678] ->> endobj -904 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F11 573 0 R /F1 667 0 R /F10 668 0 R /F9 882 0 R /F7 674 0 R /F13 705 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -919 0 obj << -/Length 1979 -/Filter /FlateDecode ->> -stream -xÚÕYYsÛ8~ϯà#Ue!¸H“š‡Øqï8GEÊLMeç¦h‹µ©"©q¼¿~»Ñ N8qÏNÍ‹Ðh4}áúÄ£›ˆG¯žœNŸ<}iTd™MeM¯#ÁS–¥6J³” i¢é,úk¦ØhlL? !â_Ýïó‹Ë秗磱R*>{wùî‘“÷£L¤Ìâ³óÉèé¿ž¾Ìv¦f´œr™ ÈîMŠÆJd,ãI4–¾Q$õ¡,À©x¬ 'bÖ@›ÅeGݺé‰èVÄ/ªë;âä5µU½Z{¡›|¹Ì‰¼^×E_55èׂÇ/Ñú¦¥±é¼lÚü: ûy‰\±cŒá­ÆB3«5´‚Ù$!›?yÇ8Ö¢wH|?ÅÓ\îûý)þtj½±ÈÁ4?ÐQ›wÝzYÎœ½ ˜8ð‡–ìÔIÜåËrødʽêm”þÍ….gĽ¬Ý=yó~zî¼ãû~ Ã߀Hj¿ä!|mõ‘‡Iïí¼*p¦9©)yµD ¹¡¶‰Œ1˜— tÑÓKJý¬lkb¬ÚU”ômå¹`m™û8B¯¹¦á·ÓÉYÈ¿®º©óEGÕ\Tm‘#©ca­fîƒM¶ãZÒWSœLúUÞº¸‹¸/ÛŽx×XPHä‹‚lCNÑ,hxm^w ºtÆúOg%&¨Æ )ïÊNJª Œ0FÝ%€—'¬Ùa‘¹oó¶ TmJ~ÜTbjÊšœvóA¦¸,ò+ÈÄ¢ü¤ð…fâ0ïlŸ!dÊ —°Ôa…gšæ}nª®ìiÃ:íñ~f˜Ì" ¦‘ÄÏXd”mÂEê';âvS˜Ùï~ÏŽõi¦A¡2 èðy{¸°Fø”KÅ´I7¹w矋uÛùr:”†x -óÏ ¾6}Ë”J¾9³9›¤þá胎!úzÆiÆŒÑû©ø%®ŒéTìe  al´#ãcÁC$ ¶ñò§ce’™të EÖ:(I¾Çú«ã aCH¿Éúì+Öo¼"”Ã1nAú öî¨9Òö›ÍmÅ›%Ø,4 -’è6º}£tÈ(»-±G‹•Nî±Jkyd•:Vf¡ÍUú‡­ -•°L™#£ÒÐÂHŒ|ôPq‘Ýc?Ü]Á,ªøLˆÇ7+¼Vµ†[ýB¥þX« K­¦µšìí4{ê`2Úz·ÔÀÅñX#ì·B†4†÷®ä‘ã‘š€ -ëÞ<x06“5A©àÞ‹*Û/”‡eä&hP -§ÚÃ3¢B÷3¢¹üK2"Åßž>áÅ‹ŽoÏÈUРο|ñ„|ìŒÈÿoFxæo§ -n}úh[OøÅb±^V5¼äámÒ{Ìáž{UŠ‘Ýl­KámH¬PûÝ‹ê6tNi`r×õ%ânˆxy=s¬áQcS‡ Xí7¨Ý$ñmÕωòs5Ì$Ì‘r1N¶Eíà^±äpøªr@ÈG¥z"¤IÜ­rÄA;Œ®;‡¤ßÁúu4!@^wItÄ“ó³çoˆì6ƒ~s‰YY0Ž ®²§¸-»>°8Æø DïÍjÚÅŒº_ÎlÎ@G€*âš®ä".…©ÙHÄUKåÖ/îY}ÀÆcì`Yœž}*€P<‰_xÆ b¤ñ«Róú$äòÅ Õò/'«¼Å4?…ÈkŠ¼"2Ã|H¿ðò¯|ÿõžh…¸t -]ÒØ}KÄîÖ÷’©_¿mú2°Èa#JãW9eBå«27,!`R=´ BXEÕåÍŸ£$‰óÅñZì#å>™!©Ê¶ÜìíÐ\ƒ -¢úyÓ p•Ãá«;‚1Uf©F¡õ&…» CØBÆ¿ÍK?¼-|èPø -?Û)ì¸"-=tv^œ¼í”2ž•ˆ –³Ba!`w4pë€5ô{W9Õ£Tñ½€PÓ­ à{X«¶ZæmåÀnèæ¾};Åž@9ŸÑÖ¹k›Ïê맥¹Qˆà½ÖÚ^l®sªzŽ[¥JÆËü?U}C<¿Ï {UýÚùü~}µÆËxž\ÊýâNŒy^ß`\¤²Ò鮧 -¢ç÷.@ÙF'r¨ØœNbäµäìby&=4 Ê>² # XüÍrYÖ³.d̺s+ˆOÑ´­‡Z¡/¼®úöŽ†®Æ6_­ZçÏ`}_úA7/|T~®ºTâZMLÜõPly; Mí@iXÑ|ôBÃugÝî¬Ø–¯ûcFÄP¾ÊÓ½)a;!þY¦ŒCv }ÕK¿%5 ^!,¿ÍÏ>œ)/}‹óV#¹IhÙ´þ´‡XîøgEII¬¡°nîСðîu>}ò?3E² -endstream -endobj -918 0 obj << -/Type /Page -/Contents 919 0 R -/Resources 917 0 R -/MediaBox [0 0 612 792] -/Parent 876 0 R -/Annots [ 902 0 R 903 0 R 913 0 R 914 0 R 915 0 R ] ->> endobj -902 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 0] -/Rect [108.64 645.213 138.86 654.013] -/Subtype /Link -/A << /S /GoTo /D (cite.rec709) >> ->> endobj -903 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 0] -/Rect [135.402 633.258 168.804 642.058] -/Subtype /Link -/A << /S /GoTo /D (cite.smpte170m) >> ->> endobj -913 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [419.852 606.323 434.575 617.171] -/Subtype /Link -/A << /S /GoTo /D (section.4.2) >> ->> endobj -914 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [170.907 594.368 185.63 605.216] -/Subtype /Link -/A << /S /GoTo /D (table.4.1) >> ->> endobj -915 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 0] -/Rect [163.534 241.093 193.754 249.893] -/Subtype /Link -/A << /S /GoTo /D (cite.rec470) >> ->> endobj -920 0 obj << -/D [918 0 R /FitH 686.127] ->> endobj -635 0 obj << -/D [918 0 R /FitH 345.12] ->> endobj -114 0 obj << -/D [918 0 R /FitH 301.502] ->> endobj -917 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F10 668 0 R /F9 882 0 R /F11 573 0 R /F48 455 0 R /F49 457 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -930 0 obj << -/Length 2165 -/Filter /FlateDecode ->> -stream -xÚÕYK“Û¸¾ûWèHUYX¼ˆÇºr{Ç^'qì+©Jy÷À‘8«$Q!)çߧ J”„ÏŽílåÄ4Ý_?ðÑbÄGož½œ>ûéµyæ4£éÍHÎŒ±#ã ÒŽ¦óѧLšñïÓ¿þôÚªáH瘒Ø„1¯~½ø0½¼O”R™f㉵.û×Û_.ßS×ë±´Ùû«wc§³éGdøŒG)ŽE˜«˜²n4‘:ñ¿*gÀT{žiˉØ6õXºìsÕVõ¦X­îb÷x½e³®º–zºeIÄ®D}sòçÓ¯ˆš!ÏeS¯‹®šU¶"ãÏã<ÏŠÕ®lQzS3¯5|óyNbþÆs¾¨>ã¬r;w"«ÂWfËY‚† Ø75‹Wož>…Áš)&Ž”CLñº­º%Q«rQÌîˆþ0v*»ø;5ŠÍœˆ—¯.ÞYþgWm× ˆÕsç³·Q¼é²¬›âyØ?Þ ¨ lªb…”ÙgïÚŽZ× e›•Ô˜—³:h}^Ω§hÛݺÚ,¨ÕE¶Œc7å-©U/5ôöR¹m*˜·Oàw K$[„VÙ»b’’¹—X› yÜp¹ baÏMÝ1¯Úíªè `ú®ÂP¾Wp]~®feKvYïV‘ß5a³:¬GÆoºr?æ° -â-!ô@ RØš°r—Õ¿qaf´MhF× -\ãå"Ûè³ -ë ;ôôYA«ëØ`›ìÈþ†Ü]ˆWJ%™·¶ww`šÓ¨¡ëzf÷á/ÈLf2ÁKf•ëþ|ÎG2köK9Øœ1>û5xûmÐnÔñsXPXmÈ!¥µLhµfhú¶)Àïfˆ>À[·¬Zrǽ7S“ºU¶Û4e±ªZ˜B!.«Å’~Š¾)È}‰î x™‚ŒwÞžºðïèu^F[!§h+$Û-ŠÕ-‹®5‰•ú€1´a~‚”ݵ]¹FZ¢Ñ¾¡;"»÷ˆÅF±1ôK…¾ÛM7îÈî€ ¢êÜp[ôÅ}&RÈ™ò+د*Q{BZµ †„=­ë‰`³b]6EŒÉRçLŠüXeÛ¦œÌê¦ €Q>†Q­ypèˆÊBr€ l&Aä€t%JIé2©sCwÈuÆSÜ,“¹}¬.tŽ¨7&Belw‹EÙv±Ulhkõ®Ûîâ†)€Å´å9ÓúDE=ZÈýák{p؇À!€7ùÃQÁ1mý@*™Æ„öö±aÁX zÊ@X ¾ ’Ó×RVWÇ ›€z½Žé;B:@b^Ô¢;•Ä!„´¥,sÜkkºz§Ã¥•¦d”U±Ü Ëi=•3HÌ)` Àæ¦îˆ8Dò›;ê)â„jQu˜°Qnú².v¡!ñÔĬ^á†Ój%SÈ¥Ò@qûé ‚de×.{;ýçäŠÈ—Sf¸˜äÔz LŸŸ…Gš†Ä/Ôis@¹49ÆƦ£-i›Ý@]FCbt< VZ0ÁU‘«8D $/H90Ä2£ÅH1#¢)R. Hóà!ƒQo’¬œÒœÕË+Ç8@ãœÕþÙÌ1§hEÒÈIÆŸ÷9¼Êùc ö% "6f$2ÒýÅGæ5Vy5,öÀbÿ1`ñ†$üSmBDBrP‚`óf· Õ1æz™‰ÿz@B=ÁŒ½W!ýÍåžöõ0¹L€‘\™„U騠|‹1 Î-ç_)Ú”p,Á2rN‚*™XC”Ä­ˆ;„žè®¡¯)6- ÅCI½‰Sç%z‚4Cè±_?gÀ`ÍN·æM™PhDÛð\3 uh«âzŒg’…ç‹fì¸C@ȵk&œ¤ußÃ6U[vÑmøÀmdÞ¥@LÈšFÿ$²¯h´ÁF¸æ8Zy‰ƒyn{G8ç þ•«Ñ`PŠø+äμÊiÎýÒºàÿÚ¥><" -“ ^ *›>v½8g¨™–û:@H—Ê¡d·ÇógK2¹T¨ÍÞöaÄå—Ù®i#œN¥AŸÂþÿ)_ -ŸÒ¾g€ÑÇjNJýÍÚ½öOøLŒcÖêcSü-¡.(­Œ8²@Rê¯Á˜¨ þÔì°ŸÒ$ø:0ÉŸ"ýõù‚pV4?Fz!R6„ªƒY}¢ûÿAaë…mR*°bˆt(•zèÜᘗîDªoW–Îï‘Jc¸>Ñ•J] ˆÃíA”J³Ti¡àl©ì™P&åùÑ…Å÷Qî±øix±l -òNˆï/VÚYµfÎœ˜ðKÂYsf¼&gÍBÍ;pp¬ z厱Ù]‚#\!SÓÁ+ÿÎú0)øùpãüp߯À“ -ðN>ö «T2ø£S¹§Xd‘ȨüXD¥8[DsùC,"ýŸnÓ1PŠ§Xä:)çO÷‘Sä÷¶ˆÈÿt‹pCå©÷Ì ->sþ‹Éï©¢¤ƒ£þ^ÐÇÙë6ÁÇ€;ú'{Ðm*J8Áÿ{)¡¾¹,½ÏbâÑQüøpª G ¼ß˜hHm²?Ó¹qUöo†òg¼¸ 7xF>ÜJ„{r à {8Cwû»ïöh©Ã‹"PضÒÚЃ=ÔPhÑ0‚6 L„̳Õ—2¾ñâÁë,œ³Ûó]rHâ6 öGûºÁ[cƒW°[ºõ¨›p G춥 ç(¼¯ÃÒ¨lâ;ÚÒÚøŸÎ÷ís¼ëVYYÌðòuIÿƒ%|o—Õ°{×Ò«Ô1s›u©—ƒvwÝë튞åòø†]9äx‚¼ññ“ÚÛU± ÷;@7åªèªþå!L«é~?}µ;šl]vA]ÃG.êYǸ”/§Ïþ ^Û=H -endstream -endobj -929 0 obj << -/Type /Page -/Contents 930 0 R -/Resources 928 0 R -/MediaBox [0 0 612 792] -/Parent 876 0 R -/Annots [ 916 0 R 923 0 R 924 0 R 925 0 R 926 0 R 927 0 R ] ->> endobj -916 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [237.482 642.722 259.954 654.677] -/Subtype /Link -/A << /S /GoTo /D (subsection.4.3.1) >> ->> endobj -923 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 0] -/Rect [344.378 583.5 372.8 594.237] -/Subtype /Link -/A << /S /GoTo /D (cite.Poyn97) >> ->> endobj -924 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 0] -/Rect [257.988 513.706 288.209 522.506] -/Subtype /Link -/A << /S /GoTo /D (cite.rec601) >> ->> endobj -925 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 0] -/Rect [180.704 477.841 210.924 486.641] -/Subtype /Link -/A << /S /GoTo /D (cite.rec709) >> ->> endobj -926 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [473.65 463.948 488.373 474.796] -/Subtype /Link -/A << /S /GoTo /D (section.4.2) >> ->> endobj -927 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [224.705 451.993 239.428 462.841] -/Subtype /Link -/A << /S /GoTo /D (table.4.2) >> ->> endobj -931 0 obj << -/D [929 0 R /FitH 686.127] ->> endobj -636 0 obj << -/D [929 0 R /FitH 206.548] ->> endobj -118 0 obj << -/D [929 0 R /FitH 169.953] ->> endobj -928 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F11 573 0 R /F13 705 0 R /F10 668 0 R /F9 882 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -938 0 obj << -/Length 1313 -/Filter /FlateDecode ->> -stream -xÚ•VKsÛ6¾ëWð͘0‚/ß’ÆΤÓ6©­C2NKœò¡dmwú㻋õ2S§£a ,öùí.¢`DÁûÙÛÅìò&‹ƒ‚©LƒÅC ¢”çi¤yÊ…Ì‚Å:¸gŠ+>³,gŸ>|¾þeÆqÌnæ2go}3Ïc¶¸›ÿ±øùò&?L4ß¿m¹itEìV÷¥ý eìÙ­ßž¿ ¥íû­nˆÎ„u.I`"X ¼Ùv¦{S•±ÊÁírmP’U‹–<†;0˜vAí»aEøÀ=´¦ê]”œÔÒó–¨ÌŒ~mÚ~ʲ]§AâJWX’-‡žíÒüLv({½¬|±`z·ëœOe­=\ÉEÙÉ dó` f~ 9¼ ¢CÒ l˜iÖ.2xsåbëTQÕ$)Óe5™x2Kf ³ÞAõ ,ü$HQ ¬™¾ðRøBã÷L´³ MËÒ™ìjù É|Ÿ„ C„ÐìÀÂÀÕhÂÖ‰éqÆqákh!(N@yδªZklO®ÙÀZöèh*Ùusâ(^p‘h‡jM¬ -GlüÝÇ®u¹ÖrÉ®‚|¾b_Cq¬<úpï±tý ¨#Ä£?ŠÕ-cÂjʸBL¹*×Ôô8µb•¤\b3SdÎ¥:4t02aê -~ (KØÝ°ÜWÛ‹vŽÎä<’D¼¡Î ¡ÛvÆwÖU[µíº†h‰Ö?·=ÔîÚoö´B ÇÆF‡.þÏ>ë$®|2žg«í8œBÏœ(á…’ãÌùâYâ åEçÈæȂ˜§Â§%zé«äY‘À„:0]`;M&uŠ„çb¯ò'ϨR@ø¸*¼¸åKˆ!ž![Ä•‡·n0Z©˜Ô‹ùÅkzOÔv/Õæ<Š’àˆ‡:F5Òü5J"küÇM¹:7 -gGA· ˆ¸…‰~<Cd ú{”! ®é;6Š:ÌÞÔÕ‹ÛìÇÓu ½!6q´§Mš€+ŒI癵ƒ"ˆÑÔ¦a”ñX©ÓNã½òsPÓ„‡*Âaoù‰¹çëõ»* œ"žÉ$RÁš«zömˆÿS—ê> endobj -934 0 obj << -/Type /XObject -/Subtype /Form -/FormType 1 -/PTEX.FileName (./pixel444.pdf) -/PTEX.PageNumber 1 -/PTEX.InfoDict 941 0 R -/BBox [0 0 336 267] -/Resources << -/ProcSet [ /PDF /Text ] -/ExtGState << -/R7 942 0 R ->>/Font << /R8 943 0 R>> ->> -/Length 944 0 R -/Filter /FlateDecode ->> -stream -xœ“MO1†ïýsS;N§õ¨Q¯Š{1àQÃú±ÄèÏwvÁDÓÃì¶Ï|uÞ~€Gß®•×0[¸HÂTîm{â -Ƙ¾\GCÿÊ’—Œ9r*I‘ÌjLÍÔÝ:%E5? }àíq*¨ Ù+Æ«:"jˆ¡-„(¡E 1£ŠÑ¬È”:[bYz±ÑÿAdé=Óvh•m/£\0s€¤l›; œ EÊÿ á€d’õt{!âB6°‘Ëæ üBÂŒ²Î„­H&IÚ@Êzª5f³³¥|š™ûp´ü^™q g•‰/ƒZë9Cõè–š$HÞÔç¶V`U»ÃËfTOOaüÔ¼Õ#xŸ^§pþpT½¸”MjÅ”‘‘£Íµšì ›–îQh -ôÔcN6‘?üüó—¾;há¶<{Ö©tõE$Ómb{q©ó¼~þžÎ]ä‚¢ÑܳA…ÈÝñðÐûáQ{~Q¹[?XP¿ -endstream -endobj -941 0 obj -<< -/Producer (GPL Ghostscript 8.70) -/CreationDate (D:20090924115427-07'00') -/ModDate (D:20090924115427-07'00') -/Title (pixel444.fig) -/Creator (fig2dev Version 3.2 Patchlevel 5) -/Author (giles@snow \(Ralph Giles\)) ->> -endobj -942 0 obj -<< -/Type /ExtGState -/OPM 1 ->> -endobj -943 0 obj -<< -/BaseFont /TGKBXV#2BTimes-Roman -/FontDescriptor 945 0 R -/Type /Font -/FirstChar 32 -/LastChar 120 -/Widths [ 250 0 0 0 0 0 0 333 333 333 0 0 250 0 0 0 500 0 0 0 0 0 0 0 0 0 278 0 0 0 0 0 0 0 0 667 0 0 556 0 0 0 0 0 0 0 0 0 556 0 0 0 0 0 0 0 0 722 0 0 0 0 0 0 0 444 500 444 0 444 0 0 500 278 0 0 278 778 500 500 500 0 333 389 0 500 0 0 500] -/Encoding 946 0 R -/Subtype /Type1 ->> -endobj -944 0 obj -373 -endobj -945 0 obj -<< -/Type /FontDescriptor -/FontName /TGKBXV#2BTimes-Roman -/FontBBox [ 0 -217 775 683] -/Flags 32 -/Ascent 683 -/CapHeight 676 -/Descent -217 -/ItalicAngle 0 -/StemV 116 -/MissingWidth 500 -/XHeight 460 -/CharSet (/C/F/P/Y/a/b/c/colon/comma/e/h/i/l/m/n/o/p/parenleft/parenright/quoteright/r/s/space/u/x/zero) -/FontFile3 947 0 R ->> -endobj -946 0 obj -<< -/Type /Encoding -/BaseEncoding /WinAnsiEncoding -/Differences [ 39/quoteright] ->> -endobj -947 0 obj -<< -/Filter /FlateDecode -/Subtype /Type1C -/Length 2743 ->> -stream -xœeVyTSW1ûp¡-i -)š¤ußÑj ÚŽZDÇŠ”}W IkزAàKXÂa_‰‚‚ŠÈTQ±¶V«uÑq:­µS]æ>ÎóyÑ™Ós¦ç¼óÎ{÷Þï»ßïû¾ßý]á0‡`±Xóƒ%2qæÚ@¹,.Õþ¿†rgQ çP‹Ø@Ëf›g·9."|[Ø `>æ;´-œgrÁ7^Ãm¯àâW 6‹•kêò–§åeH’’³D+BÃV®^½æ÷‘ ^^^¢ø¼ÿ͈vŠ3%I©¢ėB,•§ÉÄ©Y[EÞÌj©TrP”$ÍKKÎÅ%$ˆìf¡qRqŠh—D*IK“+D+¼WŠ6zxlX˼6ûIdñÙ™¢‘‹üä^"_Q 8)[—ñÇ‚ ÞL•Gx§eìÊÌŽË?(öO–He¢-ËW¬\ãAþÄb @ˉ`"”øˆ ¼‰Ä.b±‡øˆØGø, 'b.±€xpgòG8 -â<ë]ÖàœusŒsh¶ÉíÐí¸Þq>äœA¨}Fjr„üÑiƒ“Âit®+UêL•‚™zó<ëî Þ9Ãn¦ÞæUWÔêì­UF -i‚@­*ü0©ÄÉf^©l‰¢ñSí ƒ@ží”îÒb¾êüû¢3Š¬Ò4ÀYç¡Ç1vì—æïÝ-¸ƒŠ‘ympŸÙQ×Kmìeõ}‹›¾eã -*–G¿á±šÐîß/Ã.ØåÉoX€]×ÿ@¿.TËy3—VÓ‹hÇ»·'$vŽ(„òÉ‚¯àùÙ+×γ‰Ð:˶²ð—ÏسA³«x´<—3Yn)‚LЕh -•ôbZáF¯ÀÚf½êùÐÒT;`¬„:¨7­ô`./kR=¥ß®t°ý!‚M:Ça2_jEªø†Ä¡¯ÀŠéGÝíç*ùγëUcÔÏ#¬^L²g *”WˆŽ -Ž^Q ÉBPV(«#›#j¢Á <¥û‚}ö‰×=Öõo>xù£ïÄ?v„ŸNOß#óZvìÜ#ó¾/YcŸ•~ ˜Mâ=ßc'¼tjRqpD0b–·~D2Y£e–ü–<,Ó PΗ]nÎà쇮ܒZj¯Ö`‚Z štÑÂçÉ´Z=É]–K÷@ ÚnP×ç$Þ€†uêN‰ç~‡ðRüªÏ?VÅd„Äo!½1D‘¬ÎçãUÛyýl§oœÝF“4;r»wt ­_àŒ2ò•õÍ ÛD½Ékª¨54ÙU[#¤+DïÕ0PlF»+òÍ0Eâl40:ÑS][¢«4«êõ@vš-½ƒ -«$.5kg¤ð;Tb ÍNRûç2mñhÅÓ'píñÜV—Ÿž¹r“©L\ÀÃÊ,¤Ùš§Ü -$½gpz«ª{x!‡Éa»Ò²ìâ”âÅŽÏ{9Ü[¹è†¾Q>äsžZõ¶¦Œƒ­èO•ª&¸NâT¼Ý‹²a “N¾®]c¥ÖYÕí.ç®`¯¯\¹kð—ø Þa¼ÐQË)++,./? |=èŒÚ*’k©ÉήLw?0Ü;hààƒ(áÅCC9–LòcRäáic{®@ÑUØ¡ž" hFŽ©®ÒÈd‡ë[ MeL1,úÞžÃ-î·>»øÕDæàÇ6!M|&oVvAäHïé©~ÉÆ­Ô‹ªÉåÚ Þ5ãʵP™¼Î~mýi!~BoDÜÁ|t¥´A$­A /Q©´iÙR È„”£'…\ ¾C/S¡ñÒ&%ì'é*ôþxø×dž›{z££Žžˆë[Y6aµÕŸkb²î¯› -¼H¹uº\¸WÜs垢ü>çå«4%J ³Š›Æ„8 ÁdIŸ²3ÛÛêäÚ‘¾YÖœŽÎ6k{eyU¹IXV[^&²g }älOjˆÀÑëöåÅŠ³sT8DrÃ}Çb¦ÇN´MN ¸aU-ŠîG¡­aè83E¯¿ÏiI¡B“©’*€L–V"¸t†ŒÙ¬Ô;f>òÞoæH!§Y:F¿ŽÃÝîãù­=ý;™Þ¨DýeuzPF“!-ÑkòÔ9*«›üdÞQh„¦FS¿4Ó•µ¨šÕG¢ÓKÜhí%‹×*å+ñR3’kª«MæF«ð~埴¨RoÔƒžyŇ•Ù#a¨7ïSÖÕœóˆ×Î~À+1Æ)ÓŠ¢ÕüÔ"ÇTm¨#µ…qÂçÍHúàÐ]ìö ÏÁ‹ñ+Û/÷ HŠÌ„: Ÿ±MÞžø€v¦ÙQ{½Âtt ìu¸N9ö±ºn±©·±/Ê')3H½w1úùüµ{¶Fmb°:»FÞ’×üîöÖŽ >gÞ‹ ÏIŠFÄÈwÃû$ýÆu˜}j¤ùˆMÐÓɤæi÷{§`dcQk°'/j[lê^„ؾԩ¼ãŃeÓ$žæýU×—1 ³ío ƒˆÎK¢ãÓv‚I ®oÆ臛—0qR@ßÆkxõ·›†iè”7n"_’¶}OcHûô.À,W®Àc¼î2Ky7܆OêF;/ئás8©:žÖwplSïZ†Ì×Â0¶¨NÞ/û^‘n[ñKƾ_¡l‚¯I®”R8ô˜L=ØýJô’Uþ4ÊQŒY‚—ªåþ ëëì7ÃÆðÞÉÓý–a 'º’|„t$‚Ý:u€þ¥l…Ôékà*‰£Ð¯qŸlñËüx¿O¡’ -‰&£(¨€Ÿf/^¥¡ª€­)Š>OAà£/ (bì¥fP­k`ìñf×yæ!+^ðÌåö³wvþŠ½íúµ>ØQ‰j ÆFC-ð;_œ‰JÞ:í.»*êÌhOUQýˆK…c/-+K.oÏêíëhïëÍêH¾ðÎú× ›4^5§ÞÐ`¨r NÅœééBTjßÆ•ÖŒ|+5upž¤£ÃÆ°|±nW>#J­Lh‹&Yg°¯ýa·2JÞXQcWòîÚ‚(!]m÷¡ *g|d˜Q¨QYÃ$B`¬©3™º:F-C@Žµ'3Ù“!Òjí‘g™Q Ai+$®Bý£ƒ-§œjIóÒIÌÍ ¨( ˜Y$7£t£Ì¨na>ŽGxnÂå?„§„ò¦$=!r•§/y“¹„ç2—%ßW0xµ˜ ˜Í ©ž,#]šÚ•Ñw¤»«ïHz·LHÓcDˆºú ïfÿFùð¾<5 —ɉäáÉ™Y’”Ž\[µÉ`¨˜Œ kªõE‡äI!‰vÃÙ%VÖøC6Ÿõä툒¥'îß¹)y9ÐN@s­|´ôDTwödJC³ÛÖOåCi73¿Ð~Oá×Æ¿õ\é½Òo»~‘ü¯õ}œöáÝïï>vúÚ߇žvüzâï<‹OoиÝõíIîÝÞùçúm°«=Óüä¾²$ïÆI…ÞZð‹ övåÆÞ§ßúnÛï@¸±FÅÝŽ$EžhGB•ªºg]ºYOpã661p‚!.?19 HL£xXƒ´Ó™ c1ç2/Â9µØ†.ž?ŽIÀ Hçߢ]¥é¼™S´#-¦Å1¢Í›cþpò)Ì~(tαR¡VlåôÏ}0¯¿fþü-óÄon… -endstream -endobj -933 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [227.189 512.284 241.912 524.239] -/Subtype /Link -/A << /S /GoTo /D (figure.4.1) >> ->> endobj -939 0 obj << -/D [937 0 R /FitH 686.127] ->> endobj -122 0 obj << -/D [937 0 R /FitH 558.315] ->> endobj -585 0 obj << -/D [937 0 R /FitH 204.803] ->> endobj -126 0 obj << -/D [937 0 R /FitH 164.664] ->> endobj -936 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F48 455 0 R /F11 573 0 R /F13 705 0 R /F10 668 0 R >> -/XObject << /Im8 934 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -952 0 obj << -/Length 1325 -/Filter /FlateDecode ->> -stream -xÚVYoÛF~÷¯àã -iîÁ]Òon§)$µ…EÒJ¢%"¦û¦^½FÌd‰Cö5äªàµÖb8Û×EíTÛPÓê°j.¨‘ZbrôU f½[04É°¬¥cUwtaQ;¥Õ1èë„íúŽ Yjí?®„“ÏY³áÌi{é¤Õ6 ]šW-q\¢€Jê2µF¾¬yD›ÚœTN‡!+¿µ½ÃU(E$œ.nm¨Ðùã$À¹MËsa½V.H|GTÖtù>-Š÷±È6+xxλQÝ Ù=Å™0H P_¾5Ð-œ¸6)=Ô¨BŒ=D4#nÖØ‚®Ë[‡ìg[ò/ç‘U”LÂOÎ$¨Eqˆ†-[>PK¯™\»Dܦ‰t-/}•?õˆÔP¤EÝfm‡‡y¸ñL"ÁŒø·tá„5ãžž±OÏBÏ Ò‰lOùcGd™RqØÃŽj–MöÔç%8uõšç†jòÐïñV$X IM‹–ϧ|Œ{«?‚ǑÓ”Ê}½h–çÜE‡JL^ê” ×yu¤Óð.Ò.¯+§ùÞõZ½×å`»¼È;ç7vìg” n_¼ƒ…ˆj_Ú.+[ijÖzùÿÝÖµeCF‘ž01ü×Þ¾¼z?âïãúC™xoë«ßào9@üA¢?¹˜mB‹À(P«t •sÞM 7¶Ä öºˆ}ÎÿÊ0_Èͪ½Ë§}—ˆ»7bÕÙë;{[A³,Ah"Ê%Æõ ¨@Bĸˆ¬¬Äšˆ=ô»1‡vÞN‡œ‰0\¿¶‹á|ê! ïXŽ#Ù!BO‰‘1" Lu°*P‰ó·Te ‚Æ›`\ç¿PÆ“ 2ú¿”ñ™¶fM["gÚhè@H"åz%mWÛW‡´k‹ðd\_5H .Œ•R¹›^¾âižS¦¾©Ñ¶¡oºp7Y[=>%¸ šæ1‰YFÆD0Ì™?BÎ"“$±'=ä3\Š4Ôž?ÙÈ@[‹1í®2‰¦sÌ"óšg_fFÇ1²±¤V‹L“xˆI<™ßfh~Í(׆(: ù¼‹\^ÄÑrA¦Í¤)«‰ÕÍ?Ô9K׿èhg‚5+ Ù‘ƒ‡30;±Ã¶H·ÖºcWSÁfD;ü§ý“³§>m:Úðø°ò¬?“û 1'»,ÿ»,gØC~´Ë†+»¬wY>ßeWœv©1CM´^ÂhJ ¼é.‹çe²ÌPf,¹Ô:+ZÇ% -rjW™¹j;¸9[{ËÅZFÑëb-a‡±‹µJÌ°X#oá2]£âÓÅÚòÝb´[¬‘kÔèÚ§U:ân•^›/0Dÿ˜AuC -endstream -endobj -951 0 obj << -/Type /Page -/Contents 952 0 R -/Resources 950 0 R -/MediaBox [0 0 612 792] -/Parent 940 0 R -/Annots [ 935 0 R 949 0 R ] ->> endobj -948 0 obj << -/Type /XObject -/Subtype /Form -/FormType 1 -/PTEX.FileName (./pixel422.pdf) -/PTEX.PageNumber 1 -/PTEX.InfoDict 954 0 R -/BBox [0 0 336 267] -/Resources << -/ProcSet [ /PDF /Text ] -/ExtGState << -/R7 955 0 R ->>/Font << /R8 956 0 R>> ->> -/Length 957 0 R -/Filter /FlateDecode ->> -stream -xœ•“Mo1 †ïù¾ÑJ¬‰;Ž9R®Pæ‚(‡e»ÐNK§Bðóqfwi§ÌVE9d2~òú+¾ˆ±­Ý¾êË3…ËÛÀ¨‰“À¯0ÚáìM *˜2$®¨R²b¦2îÆÃ:¼ß3c¦y&‰DÚC*q$å;%64âyè¯Ò$RP’N”Rµyè¾Ò?Pu£W ¨zóƒ¸eÂHN˜HæŠ9£ÙT(Í3¡‡L©â'°BHZ´mU,å@K>‚ç_Œà“¿‡‹`È\ÛQòýKcl‘ZQ$Ñâj´¿¼½u÷®ˆÅ6 ,=Í%åb¨Z!¹þ¯ÇI–OõH¥ÿ¶Š•ó—ÛQ.÷füÞm«^u>ZEj…îKØNA‰î#&H™PÍM}8z=,ûõKX}®û%üØ,¯Öpòù¸ûJõ›OaÅÌ>ÝÅzhô‚Rs(°Ðˆµ0Ýç7?÷ô‡g náyî”MÆøØÛ’aAìU²2Þ|ûí÷zs;*[*O|‘}8æó£ø<ž7ûiÞùú/ì7 -endstream -endobj -954 0 obj -<< -/Producer (GPL Ghostscript 8.70) -/CreationDate (D:20090924115427-07'00') -/ModDate (D:20090924115427-07'00') -/Title (pixel422.fig) -/Creator (fig2dev Version 3.2 Patchlevel 5) -/Author (giles@snow \(Ralph Giles\)) ->> -endobj -955 0 obj -<< -/Type /ExtGState -/OPM 1 ->> -endobj -956 0 obj -<< -/BaseFont /TGKBXV#2BTimes-Roman -/FontDescriptor 958 0 R -/Type /Font -/FirstChar 32 -/LastChar 120 -/Widths [ 250 0 0 0 0 0 0 333 333 333 0 0 250 0 0 0 500 0 0 0 0 0 0 0 0 0 278 0 0 0 0 0 0 0 0 667 0 0 556 0 0 0 0 0 0 0 0 0 556 0 0 0 0 0 0 0 0 722 0 0 0 0 0 0 0 444 500 444 0 444 0 0 500 278 0 0 278 778 500 500 500 0 333 389 0 500 0 0 500] -/Encoding 959 0 R -/Subtype /Type1 ->> -endobj -957 0 obj -414 -endobj -958 0 obj -<< -/Type /FontDescriptor -/FontName /TGKBXV#2BTimes-Roman -/FontBBox [ 0 -217 775 683] -/Flags 32 -/Ascent 683 -/CapHeight 676 -/Descent -217 -/ItalicAngle 0 -/StemV 116 -/MissingWidth 500 -/XHeight 460 -/CharSet (/C/F/P/Y/a/b/c/colon/comma/e/h/i/l/m/n/o/p/parenleft/parenright/quoteright/r/s/space/u/x/zero) -/FontFile3 960 0 R ->> -endobj -959 0 obj -<< -/Type /Encoding -/BaseEncoding /WinAnsiEncoding -/Differences [ 39/quoteright] ->> -endobj -960 0 obj -<< -/Filter /FlateDecode -/Subtype /Type1C -/Length 2743 ->> -stream -xœeVyTSW1ûp¡-i -)š¤ußÑj ÚŽZDÇŠ”}W IkزAàKXÂa_‰‚‚ŠÈTQ±¶V«uÑq:­µS]æ>ÎóyÑ™Ós¦ç¼óÎ{÷Þï»ßïû¾ßý]á0‡`±Xóƒ%2qæÚ@¹,.Õþ¿†rgQ çP‹Ø@Ëf›g·9."|[Ø `>æ;´-œgrÁ7^Ãm¯àâW 6‹•kêò–§åeH’’³D+BÃV®^½æ÷‘ ^^^¢ø¼ÿ͈vŠ3%I©¢ėB,•§ÉÄ©Y[EÞÌj©TrP”$ÍKKÎÅ%$ˆìf¡qRqŠh—D*IK“+D+¼WŠ6zxlX˼6ûIdñÙ™¢‘‹üä^"_Q 8)[—ñÇ‚ ÞL•Gx§eìÊÌŽË?(öO–He¢-ËW¬\ãAþÄb @ˉ`"”øˆ ¼‰Ä.b±‡øˆØGø, 'b.±€xpgòG8 -â<ë]ÖàœusŒsh¶ÉíÐí¸Þq>äœA¨}Fjr„üÑiƒ“Âit®+UêL•‚™zó<ëî Þ9Ãn¦ÞæUWÔêì­UF -i‚@­*ü0©ÄÉf^©l‰¢ñSí ƒ@ží”îÒb¾êüû¢3Š¬Ò4ÀYç¡Ç1vì—æïÝ-¸ƒŠ‘ympŸÙQ×Kmìeõ}‹›¾eã -*–G¿á±šÐîß/Ã.ØåÉoX€]×ÿ@¿.TËy3—VÓ‹hÇ»·'$vŽ(„òÉ‚¯àùÙ+×γ‰Ð:˶²ð—ÏسA³«x´<—3Yn)‚LЕh -•ôbZáF¯ÀÚf½êùÐÒT;`¬„:¨7­ô`./kR=¥ß®t°ý!‚M:Ça2_jEªø†Ä¡¯ÀŠéGÝíç*ùγëUcÔÏ#¬^L²g *”WˆŽ -Ž^Q ÉBPV(«#›#j¢Á <¥û‚}ö‰×=Öõo>xù£ïÄ?v„ŸNOß#óZvìÜ#ó¾/YcŸ•~ ˜Mâ=ßc'¼tjRqpD0b–·~D2Y£e–ü–<,Ó PΗ]nÎà쇮ܒZj¯Ö`‚Z štÑÂçÉ´Z=É]–K÷@ ÚnP×ç$Þ€†uêN‰ç~‡ðRüªÏ?VÅd„Äo!½1D‘¬ÎçãUÛyýl§oœÝF“4;r»wt ­_àŒ2ò•õÍ ÛD½Ékª¨54ÙU[#¤+DïÕ0PlF»+òÍ0Eâl40:ÑS][¢«4«êõ@vš-½ƒ -«$.5kg¤ð;Tb ÍNRûç2mñhÅÓ'píñÜV—Ÿž¹r“©L\ÀÃÊ,¤Ùš§Ü -$½gpz«ª{x!‡Éa»Ò²ìâ”âÅŽÏ{9Ü[¹è†¾Q>äsžZõ¶¦Œƒ­èO•ª&¸NâT¼Ý‹²a “N¾®]c¥ÖYÕí.ç®`¯¯\¹kð—ø Þa¼ÐQË)++,./? |=èŒÚ*’k©ÉήLw?0Ü;hààƒ(áÅCC9–LòcRäáic{®@ÑUØ¡ž" hFŽ©®ÒÈd‡ë[ MeL1,úÞžÃ-î·>»øÕDæàÇ6!M|&oVvAäHïé©~ÉÆ­Ô‹ªÉåÚ Þ5ãʵP™¼Î~mýi!~BoDÜÁ|t¥´A$­A /Q©´iÙR È„”£'…\ ¾C/S¡ñÒ&%ì'é*ôþxø×dž›{z££Žžˆë[Y6aµÕŸkb²î¯› -¼H¹uº\¸WÜs垢ü>çå«4%J ³Š›Æ„8 ÁdIŸ²3ÛÛêäÚ‘¾YÖœŽÎ6k{eyU¹IXV[^&²g }älOjˆÀÑëöåÅŠ³sT8DrÃ}Çb¦ÇN´MN ¸aU-ŠîG¡­aè83E¯¿ÏiI¡B“©’*€L–V"¸t†ŒÙ¬Ô;f>òÞoæH!§Y:F¿ŽÃÝîãù­=ý;™Þ¨DýeuzPF“!-ÑkòÔ9*«›üdÞQh„¦FS¿4Ó•µ¨šÕG¢ÓKÜhí%‹×*å+ñR3’kª«MæF«ð~埴¨RoÔƒžyŇ•Ù#a¨7ïSÖÕœóˆ×Î~À+1Æ)ÓŠ¢ÕüÔ"ÇTm¨#µ…qÂçÍHúàÐ]ìö ÏÁ‹ñ+Û/÷ HŠÌ„: Ÿ±MÞžø€v¦ÙQ{½Âtt ìu¸N9ö±ºn±©·±/Ê')3H½w1úùüµ{¶Fmb°:»FÞ’×üîöÖŽ >gÞ‹ ÏIŠFÄÈwÃû$ýÆu˜}j¤ùˆMÐÓɤæi÷{§`dcQk°'/j[lê^„ؾԩ¼ãŃeÓ$žæýU×—1 ³ío ƒˆÎK¢ãÓv‚I ®oÆ臛—0qR@ßÆkxõ·›†iè”7n"_’¶}OcHûô.À,W®Àc¼î2Ky7܆OêF;/ئás8©:žÖwplSïZ†Ì×Â0¶¨NÞ/û^‘n[ñKƾ_¡l‚¯I®”R8ô˜L=ØýJô’Uþ4ÊQŒY‚—ªåþ ëëì7ÃÆðÞÉÓý–a 'º’|„t$‚Ý:u€þ¥l…Ôékà*‰£Ð¯qŸlñËüx¿O¡’ -‰&£(¨€Ÿf/^¥¡ª€­)Š>OAà£/ (bì¥fP­k`ìñf×yæ!+^ðÌåö³wvþŠ½íúµ>ØQ‰j ÆFC-ð;_œ‰JÞ:í.»*êÌhOUQýˆK…c/-+K.oÏêíëhïëÍêH¾ðÎú× ›4^5§ÞÐ`¨r NÅœééBTjßÆ•ÖŒ|+5upž¤£ÃÆ°|±nW>#J­Lh‹&Yg°¯ýa·2JÞXQcWòîÚ‚(!]m÷¡ *g|d˜Q¨QYÃ$B`¬©3™º:F-C@Žµ'3Ù“!Òjí‘g™Q Ai+$®Bý£ƒ-§œjIóÒIÌÍ ¨( ˜Y$7£t£Ì¨na>ŽGxnÂå?„§„ò¦$=!r•§/y“¹„ç2—%ßW0xµ˜ ˜Í ©ž,#]šÚ•Ñw¤»«ïHz·LHÓcDˆºú ïfÿFùð¾<5 —ɉäáÉ™Y’”Ž\[µÉ`¨˜Œ kªõE‡äI!‰vÃÙ%VÖøC6Ÿõä툒¥'îß¹)y9ÐN@s­|´ôDTwödJC³ÛÖOåCi73¿Ð~Oá×Æ¿õ\é½Òo»~‘ü¯õ}œöáÝïï>vúÚ߇žvüzâï<‹OoиÝõíIîÝÞùçúm°«=Óüä¾²$ïÆI…ÞZð‹ övåÆÞ§ßúnÛï@¸±FÅÝŽ$EžhGB•ªºg]ºYOpã661p‚!.?19 HL£xXƒ´Ó™ c1ç2/Â9µØ†.ž?ŽIÀ Hçߢ]¥é¼™S´#-¦Å1¢Í›cþpò)Ì~(tαR¡VlåôÏ}0¯¿fþü-óÄon… -endstream -endobj -935 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [262.354 654.677 277.077 666.633] -/Subtype /Link -/A << /S /GoTo /D (figure.4.2) >> ->> endobj -949 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [393.475 140.605 408.197 152.56] -/Subtype /Link -/A << /S /GoTo /D (figure.4.3) >> ->> endobj -953 0 obj << -/D [951 0 R /FitH 686.127] ->> endobj -586 0 obj << -/D [951 0 R /FitH 258.6] ->> endobj -130 0 obj << -/D [951 0 R /FitH 213.319] ->> endobj -950 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F48 455 0 R /F11 573 0 R /F10 668 0 R /F13 705 0 R >> -/XObject << /Im9 948 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -964 0 obj << -/Length 1276 -/Filter /FlateDecode ->> -stream -xÚ•ÉnÛFô®¯à‘BšÃ¾¹h$hP7Úm#i$ÊÍÃaçëû–¡LÅÌ¡ Î[çío"ïìEÞ»ÍO»ÍÍ}‘xUXåqîíNžˆò°Ì+//óPÄ…·;zùi˜†Û (JÿáýŸoÙI’ø÷Û¸ôýôñn[&þîóöŸÝ‡›ûr¡ -˜Â"­à"RWȲ‰ÜÕ^0Óƒ¸™„¹:Ô:µø¿ßð¯ \WDþ±gpd°ë-ÈZËî¬Þ¢Œüýä(J2¡VLÏÇ}úˆü¯SÓÓÍVêÎÝð¤m­;>k§²ï'i,˜7a•eì9>­…ÿÌ›búV"œ‚sÂ1£3„‚ÂI§HÃ*M¯ïj¸< Ô$úE$£GÙ ÆiódVÆêƒlšgGìŽ|¨{£¿Íž_ÈÅ…Êñ:8ÌJÁ‹\Oø§@‚¨§~â k4ºŸŠr¶ª*¯JðŒ²>BÓ¤Z$Y¿âsaÆÑ -êôãäh‡¦Õh°ü‹’p-s»Z»ÜÍ_‹!Çt”bÔ8íÒ¡»3ci¡:¦Qùô„!Ò=[³Žoß½aÚÇÅ™’AHÀkv ŒK–¹´%Ƽ :C@wµ2Ú*¢A ~H°k“¿cÄu¶™½7L[– c±b¦±Ö'ËX#5®C¯lÎÙf£'m(Uæ[ì¼*÷Ã%œŠ)£>w²™üTëKË8Žé¨ÿŽD¢Œ«K¦^uÀ‹¤€ÈÜ[Òê¾sêOýjÃúR¨÷ºÑTÑ®c±ÿ9q¯¯Ç:x­jÇðj¨}ÿ}»Û8Džð„ˆÂ"μ¸â©wh7"þ¯!nÞ·"ò~î7¿ÁoV:ó³Ê`¡“&úr -ÇQ ÷æ‚;¹|¯Ï“q†É-¤3ÍüýU5®òUwp©šë9½o£UooîÓÒãˆÆxe ¢8ŒŠF|æ"~Y")ô„ˆ3ÿó´_¤«p¥î¸9X¶€Oê i|½b0“e˜”έ»ÆÖýtÆ´Å©S‡“áî±Ü¾9dË#Ç24W2²cfl^šáV ¶×ú“S ÓËÍÍžõð¾)Ü Ç)—Ĺs™ìdSÖj“¯è©3á\ÊœY¯¬YßaÎe»›þ—øõŠtzhq±X{„6?`—1qW ÎÛbÅ5õ…6G‡áˆXèÀŠaš•Çв4F ’FѦ»t râÆo+ŠOh=~ÉOP–Òa'Ò2kÅr -y¸áò`Ìû—̉aáJCeÓHUŠr8û׆ï”#2Uy>ÂÀi¥¥„G0°`'Ÿ&GÂÁÎpä¢h9d¸T$é”Úi·=£A~ ‹—'¢ç'ÁêÔ3F××¼‚hNãì#í¥@^Á4õæ½ý£GÊÝÈñkwŽæ6À’{yG ƒäÒè‘‹+ÂTÒ”&*3¶ V> endobj -961 0 obj << -/Type /XObject -/Subtype /Form -/FormType 1 -/PTEX.FileName (./pixel420.pdf) -/PTEX.PageNumber 1 -/PTEX.InfoDict 966 0 R -/BBox [0 0 336 267] -/Resources << -/ProcSet [ /PDF /Text ] -/ExtGState << -/R7 967 0 R ->>/Font << /R8 968 0 R>> ->> -/Length 969 0 R -/Filter /FlateDecode ->> -stream -xœ}’Oo1 Åïù¾ÑJ¬'vs,*\¡Ìµ–í¶í:‚3;Û?êì*‡$òož3Ïï"Ķ¦}Õ‡“s…›‡À¨‰“Àß0Öáüc *˜2$®¨R²b¦2îÆÃ:|Ù1c¦y&‰_D í ƒJ EùI‰ xzTšƒD -JÒJ©Ú<ô\étN#øæ®]CæÚlTRT?IbŒÍ"+Šä´šìËÅP3TïÀuC„äúV±rÞ]LíŸÆXcš ø3ü>?¼˜ Å3,®©`1¢FÝBibdbJuËóKæQh‚¶±n½÷ÏÓ¶êá´óVP©ºë°M'A‰ngL2¡š—úpôaXöëw°ú1üê—ð{³¼[ÃûïÇÝÏPª;mžØŠ™=KÝÕzhô‚Rk(°Ðˆµ0=ç7vô×7 nÏó1S6ßÇH>¶±ÿ©•ñËO·ÿÖ›‡QÙZ}4‹ìá<–/âÛxyÜêg]øìë?ÓQÁk -endstream -endobj -966 0 obj -<< -/Producer (GPL Ghostscript 8.70) -/CreationDate (D:20090924115427-07'00') -/ModDate (D:20090924115427-07'00') -/Title (pixel420.fig) -/Creator (fig2dev Version 3.2 Patchlevel 5) -/Author (giles@snow \(Ralph Giles\)) ->> -endobj -967 0 obj -<< -/Type /ExtGState -/OPM 1 ->> -endobj -968 0 obj -<< -/BaseFont /TGKBXV#2BTimes-Roman -/FontDescriptor 970 0 R -/Type /Font -/FirstChar 32 -/LastChar 120 -/Widths [ 250 0 0 0 0 0 0 333 333 333 0 0 250 0 0 0 500 0 0 0 0 0 0 0 0 0 278 0 0 0 0 0 0 0 0 667 0 0 556 0 0 0 0 0 0 0 0 0 556 0 0 0 0 0 0 0 0 722 0 0 0 0 0 0 0 444 500 444 0 444 0 0 500 278 0 0 278 778 500 500 500 0 333 389 0 500 0 0 500] -/Encoding 971 0 R -/Subtype /Type1 ->> -endobj -969 0 obj -387 -endobj -970 0 obj -<< -/Type /FontDescriptor -/FontName /TGKBXV#2BTimes-Roman -/FontBBox [ 0 -217 775 683] -/Flags 32 -/Ascent 683 -/CapHeight 676 -/Descent -217 -/ItalicAngle 0 -/StemV 116 -/MissingWidth 500 -/XHeight 460 -/CharSet (/C/F/P/Y/a/b/c/colon/comma/e/h/i/l/m/n/o/p/parenleft/parenright/quoteright/r/s/space/u/x/zero) -/FontFile3 972 0 R ->> -endobj -971 0 obj -<< -/Type /Encoding -/BaseEncoding /WinAnsiEncoding -/Differences [ 39/quoteright] ->> -endobj -972 0 obj -<< -/Filter /FlateDecode -/Subtype /Type1C -/Length 2743 ->> -stream -xœeVyTSW1ûp¡-i -)š¤ußÑj ÚŽZDÇŠ”}W IkزAàKXÂa_‰‚‚ŠÈTQ±¶V«uÑq:­µS]æ>ÎóyÑ™Ós¦ç¼óÎ{÷Þï»ßïû¾ßý]á0‡`±Xóƒ%2qæÚ@¹,.Õþ¿†rgQ çP‹Ø@Ëf›g·9."|[Ø `>æ;´-œgrÁ7^Ãm¯àâW 6‹•kêò–§åeH’’³D+BÃV®^½æ÷‘ ^^^¢ø¼ÿ͈vŠ3%I©¢ėB,•§ÉÄ©Y[EÞÌj©TrP”$ÍKKÎÅ%$ˆìf¡qRqŠh—D*IK“+D+¼WŠ6zxlX˼6ûIdñÙ™¢‘‹üä^"_Q 8)[—ñÇ‚ ÞL•Gx§eìÊÌŽË?(öO–He¢-ËW¬\ãAþÄb @ˉ`"”øˆ ¼‰Ä.b±‡øˆØGø, 'b.±€xpgòG8 -â<ë]ÖàœusŒsh¶ÉíÐí¸Þq>äœA¨}Fjr„üÑiƒ“Âit®+UêL•‚™zó<ëî Þ9Ãn¦ÞæUWÔêì­UF -i‚@­*ü0©ÄÉf^©l‰¢ñSí ƒ@ží”îÒb¾êüû¢3Š¬Ò4ÀYç¡Ç1vì—æïÝ-¸ƒŠ‘ympŸÙQ×Kmìeõ}‹›¾eã -*–G¿á±šÐîß/Ã.ØåÉoX€]×ÿ@¿.TËy3—VÓ‹hÇ»·'$vŽ(„òÉ‚¯àùÙ+×γ‰Ð:˶²ð—ÏسA³«x´<—3Yn)‚LЕh -•ôbZáF¯ÀÚf½êùÐÒT;`¬„:¨7­ô`./kR=¥ß®t°ý!‚M:Ça2_jEªø†Ä¡¯ÀŠéGÝíç*ùγëUcÔÏ#¬^L²g *”WˆŽ -Ž^Q ÉBPV(«#›#j¢Á <¥û‚}ö‰×=Öõo>xù£ïÄ?v„ŸNOß#óZvìÜ#ó¾/YcŸ•~ ˜Mâ=ßc'¼tjRqpD0b–·~D2Y£e–ü–<,Ó PΗ]nÎà쇮ܒZj¯Ö`‚Z štÑÂçÉ´Z=É]–K÷@ ÚnP×ç$Þ€†uêN‰ç~‡ðRüªÏ?VÅd„Äo!½1D‘¬ÎçãUÛyýl§oœÝF“4;r»wt ­_àŒ2ò•õÍ ÛD½Ékª¨54ÙU[#¤+DïÕ0PlF»+òÍ0Eâl40:ÑS][¢«4«êõ@vš-½ƒ -«$.5kg¤ð;Tb ÍNRûç2mñhÅÓ'píñÜV—Ÿž¹r“©L\ÀÃÊ,¤Ùš§Ü -$½gpz«ª{x!‡Éa»Ò²ìâ”âÅŽÏ{9Ü[¹è†¾Q>äsžZõ¶¦Œƒ­èO•ª&¸NâT¼Ý‹²a “N¾®]c¥ÖYÕí.ç®`¯¯\¹kð—ø Þa¼ÐQË)++,./? |=èŒÚ*’k©ÉήLw?0Ü;hààƒ(áÅCC9–LòcRäáic{®@ÑUØ¡ž" hFŽ©®ÒÈd‡ë[ MeL1,úÞžÃ-î·>»øÕDæàÇ6!M|&oVvAäHïé©~ÉÆ­Ô‹ªÉåÚ Þ5ãʵP™¼Î~mýi!~BoDÜÁ|t¥´A$­A /Q©´iÙR È„”£'…\ ¾C/S¡ñÒ&%ì'é*ôþxø×dž›{z££Žžˆë[Y6aµÕŸkb²î¯› -¼H¹uº\¸WÜs垢ü>çå«4%J ³Š›Æ„8 ÁdIŸ²3ÛÛêäÚ‘¾YÖœŽÎ6k{eyU¹IXV[^&²g }älOjˆÀÑëöåÅŠ³sT8DrÃ}Çb¦ÇN´MN ¸aU-ŠîG¡­aè83E¯¿ÏiI¡B“©’*€L–V"¸t†ŒÙ¬Ô;f>òÞoæH!§Y:F¿ŽÃÝîãù­=ý;™Þ¨DýeuzPF“!-ÑkòÔ9*«›üdÞQh„¦FS¿4Ó•µ¨šÕG¢ÓKÜhí%‹×*å+ñR3’kª«MæF«ð~埴¨RoÔƒžyŇ•Ù#a¨7ïSÖÕœóˆ×Î~À+1Æ)ÓŠ¢ÕüÔ"ÇTm¨#µ…qÂçÍHúàÐ]ìö ÏÁ‹ñ+Û/÷ HŠÌ„: Ÿ±MÞžø€v¦ÙQ{½Âtt ìu¸N9ö±ºn±©·±/Ê')3H½w1úùüµ{¶Fmb°:»FÞ’×üîöÖŽ >gÞ‹ ÏIŠFÄÈwÃû$ýÆu˜}j¤ùˆMÐÓɤæi÷{§`dcQk°'/j[lê^„ؾԩ¼ãŃeÓ$žæýU×—1 ³ío ƒˆÎK¢ãÓv‚I ®oÆ臛—0qR@ßÆkxõ·›†iè”7n"_’¶}OcHûô.À,W®Àc¼î2Ky7܆OêF;/ئás8©:žÖwplSïZ†Ì×Â0¶¨NÞ/û^‘n[ñKƾ_¡l‚¯I®”R8ô˜L=ØýJô’Uþ4ÊQŒY‚—ªåþ ëëì7ÃÆðÞÉÓý–a 'º’|„t$‚Ý:u€þ¥l…Ôékà*‰£Ð¯qŸlñËüx¿O¡’ -‰&£(¨€Ÿf/^¥¡ª€­)Š>OAà£/ (bì¥fP­k`ìñf×yæ!+^ðÌåö³wvþŠ½íúµ>ØQ‰j ÆFC-ð;_œ‰JÞ:í.»*êÌhOUQýˆK…c/-+K.oÏêíëhïëÍêH¾ðÎú× ›4^5§ÞÐ`¨r NÅœééBTjßÆ•ÖŒ|+5upž¤£ÃÆ°|±nW>#J­Lh‹&Yg°¯ýa·2JÞXQcWòîÚ‚(!]m÷¡ *g|d˜Q¨QYÃ$B`¬©3™º:F-C@Žµ'3Ù“!Òjí‘g™Q Ai+$®Bý£ƒ-§œjIóÒIÌÍ ¨( ˜Y$7£t£Ì¨na>ŽGxnÂå?„§„ò¦$=!r•§/y“¹„ç2—%ßW0xµ˜ ˜Í ©ž,#]šÚ•Ñw¤»«ïHz·LHÓcDˆºú ïfÿFùð¾<5 —ɉäáÉ™Y’”Ž\[µÉ`¨˜Œ kªõE‡äI!‰vÃÙ%VÖøC6Ÿõä툒¥'îß¹)y9ÐN@s­|´ôDTwödJC³ÛÖOåCi73¿Ð~Oá×Æ¿õ\é½Òo»~‘ü¯õ}œöáÝïï>vúÚ߇žvüzâï<‹OoиÝõíIîÝÞùçúm°«=Óüä¾²$ïÆI…ÞZð‹ övåÆÞ§ßúnÛï@¸±FÅÝŽ$EžhGB•ªºg]ºYOpã661p‚!.?19 HL£xXƒ´Ó™ c1ç2/Â9µØ†.ž?ŽIÀ Hçߢ]¥é¼™S´#-¦Å1¢Í›cþpò)Ì~(tαR¡VlåôÏ}0¯¿fþü-óÄon… -endstream -endobj -965 0 obj << -/D [963 0 R /FitH 686.127] ->> endobj -587 0 obj << -/D [963 0 R /FitH 273.824] ->> endobj -134 0 obj << -/D [963 0 R /FitH 234.268] ->> endobj -962 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F48 455 0 R >> -/XObject << /Im10 961 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -987 0 obj << -/Length 1913 -/Filter /FlateDecode ->> -stream -xÚÙŽÛ6ð}¿Â2+¢D]yK›Ýt MS£’>h%Ú*K®$'»ýúÎEŽ6 -Öp83$ç&½Õ~å­ÞÞ|·½yy—¬R7ühµÝ­Tä¹Q¯¢$r•¯¶Åêƒx뿶?¾¼‹ƒ)e’¸ïƒ¢ùþ‡×ﶷï×› í®7qœ8¿Ý¿¹ý™Qwk?v~~ÿÓëu¢í¯(ðÆ“]Ì·°±’7~ È€å÷³Þøiêäms:˜8¦`Ì©\+'_o”ÓŸj…°5û²©>âê8Ù"ç¥0EYçÕ¹0ì\Ãv·‡5Ì»°{/r>ŒH*ÊOeQÖ{1ìêsYô›Û(å¦aÈû?˜rO2{”è9ÍŽ¿$S™ÛDZÝ>ÂÈø$ Æ¿Fòmú¬¬/¤v忲Ã/ìÎ]v¨zbÈ<ææÔ“=t¨H³ˆ.w<î-‡$PšëxÎÚ Ý<ÖZ(%«™©(ñg¹We]¿èùb5­â%–L_9AÆ2ŒÌdøŠ T<± F¨ÒlÿŠ€ ʦr K8¢ßRÕýb0³‡éÔ‰aDNŒØQA"uÍf̶¶Á­Ã„Ýqäö-ì®9’ºyŒ#Lí•A¨c|Þà ¥bÖ1æ%V1­ÜÈÖPÅKÑŽ -¢dÜLÄ -GœähÈ;x°ktY Ÿ xZs„šÈ•c×ñí8³®„˜ Y͢Υ -ÇT…“t´wzWc´=gi ªfIýÌô9ø8F‚§)x%%̳Áƒ8"Ô$u! “Â<ÅQ ºl¶ÇÖa1\.C„êÃ_¬ïl1@ RqzÇ“b1ÀŒ•¤24‚Þ«j£Ö2^VÛs­Åk­¤Â•Ç²ÊZFœZi#L×1†T§°ºVPIm—E„ÂT¬¬w0K ;3‘?”$¤´%II#¦’!.y$ý!¤:Éfé(¦Î…‰[߈r¢Ÿ†¶l“€ 7 ÔÏúTð)„¡ó'Ç”Aâ:þNëžLêrÊ©yЈÜiCckèos©PÚ üN "Z6…Mf;ÆŠK…Óæ#œF!Ì\u§0Y¨|äN’+¹x±4±?@™ÍŽÖ€ ll÷Q”UË°3Ø°UC,$‡äÁ‚‚”äLtŸÚ,ðXç“LÍ.q®×œ¯}o¢*µ{Å<£ -õ7¨P£ -Ÿ+Y2 wZ6h˜vZs:™©Ð·E - .9cÑÒÉè“$K–œ5¹:ùšONzŠ`±7 °'kxV²A†§Æõ¥; †î,»³\Q†Beo8Ì -•m‹5u©õë–7­[±Ô-Oî9^|y_ŒÈÀWí -ŒÔ\Ö(Øfð0ÊCoÉ"ÀK!≄Gó PcPx¶à¹Æmtw¨(YÕ5¶Þ|½@fø¦CÿŸòr;æä³'ZûÐœ«‚áñÛèÁt]EåÏïp Rî¡d¦(1P@?unD0e{ë5´’\áù="òí;@|«ü²”H~BùIBŠÉ@8Â~Ÿ¾Ci¢‘D,•ZDó.’„=ì ê]V!bhU|¸e³K ÕòŠöÝ„d½™›à+ »É‚O°y±Ûydï' æ½´LóZ’¤Ó‚¤|!é›é­$xÓiÖ„]‰p^ŽÑ>Í$/ ä^½‡‡ÓDáÛ' -@KáÇ× î¬«åQ‹R ŒúìoûÊ9?ˆÔ¯é&Åbºó€>d½…eíÜñðÜQëP¶¬}öí†bBÇƺ;  ËïíV‚O o*ÜÔS«üxóÏç&¾öC"™Â4i9ñòþ¨ÔêMsó üìÜÆŠÝLä>ûΩ¢Ðõ|%¯Pœ  )l ^¿Ç©ó®|4#çÉ[`tòœDúx10|Ï"7 "~EcØ6jš%‘æËçLDusÁ:Ö\8[Pl½ñ%ðŠeþ3—¬; -endstream -endobj -986 0 obj << -/Type /Page -/Contents 987 0 R -/Resources 985 0 R -/MediaBox [0 0 612 792] -/Parent 940 0 R -/Annots [ 973 0 R 974 0 R 975 0 R 976 0 R 977 0 R 978 0 R 979 0 R 980 0 R ] ->> endobj -981 0 obj << -/Type /XObject -/Subtype /Form -/FormType 1 -/PTEX.FileName (./pic_even.pdf) -/PTEX.PageNumber 1 -/PTEX.InfoDict 989 0 R -/BBox [0 0 417 168] -/Resources << -/ProcSet [ /PDF /Text ] -/ExtGState << -/R7 990 0 R ->>/Font << /R8 991 0 R>> ->> -/Length 992 0 R -/Filter /FlateDecode ->> -stream -xœTMoA ½ï¯˜c"3öØóÑ# q‚²·¦‡( Ô5‚ŸÏ›ìnº Ù´ÚÃ$;Ïöóó[?:Oì|}ús½mÞ^'wÿÔ(%Q1÷§Ùß»ë çD>GgQɼ:J3ÎDE‹Ûmš¯r¦RâyPJ…²¨3ó乂ŒTpŠ’?Á<'ú3cIøF ÅSu 8"½³ RÙ_†=³Q¦Š§h2Ê–+—Ë™zÐÅLb¦„e’ó˜£D§˜XŒJ¾Ìh½ŠfÀä'ª _ -Éë¾ØQž)FG‰NA7p#ÅÂî½k -©æjZf•ý°…)fu%†ÿI„nꃻ¨g¯³HF' -ÓÁl)ÈC:ö$<J`Åœ ³†âlL…G söòšO!øàJÁû¢—;”€b{Ï™"(J]9‘¤é;îºp±ó_ŒXôd#S©E9æõ*Ð$ù*KeëSG#cÆ<°Ï]p·xv÷ÍcÃÝïþXoÝ»‹*;L3&ŒµýÖt ŒCwNÉ°‹œ\»mfD4o6 Æ ‚waâÚ»ÑÖ ~`˜Çwìše·@‡Á î讲@‹ÐX,ê|“*dÈäÍl9óoür>_°¦^ܶŸ v öÜg Ф&(PÃ¥8,¯RÍR¯?ÿø»yxÊDèªêÙ1iÏ°gwæÓ&2vzˆ}†/Ïaœ1÷„>ìVÛÍ•[ßýÚ®Ür¦Wr…A¬ž6Ë^Zh‘ÑM “A2 -’êáP;ÏACÇ<üÞ®*ä}Û|ÁóBF_ì -endstream -endobj -989 0 obj -<< -/Producer (GPL Ghostscript 8.70) -/CreationDate (D:20090924115428-07'00') -/ModDate (D:20090924115428-07'00') -/Title (pic_even.fig) -/Creator (fig2dev Version 3.2 Patchlevel 5) -/Author (giles@snow \(Ralph Giles\)) ->> -endobj -990 0 obj -<< -/Type /ExtGState -/OPM 1 ->> -endobj -991 0 obj -<< -/BaseFont /AXDXXM#2BTimes-Roman -/FontDescriptor 993 0 R -/Type /Font -/FirstChar 32 -/LastChar 120 -/Widths [ 250 0 0 0 0 0 0 0 333 333 0 0 250 0 250 0 500 0 500 0 500 0 0 0 0 0 278 0 0 0 0 0 0 0 0 0 0 0 556 0 0 0 0 0 0 0 0 0 556 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 444 0 444 0 444 0 0 500 278 0 0 278 778 0 500 0 0 333 389 0 500 0 0 500] -/Encoding /WinAnsiEncoding -/Subtype /Type1 ->> -endobj -992 0 obj -609 -endobj -993 0 obj -<< -/Type /FontDescriptor -/FontName /AXDXXM#2BTimes-Roman -/FontBBox [ 0 -177 775 683] -/Flags 131104 -/Ascent 683 -/CapHeight 662 -/Descent -177 -/ItalicAngle 0 -/StemV 116 -/MissingWidth 500 -/XHeight 460 -/CharSet (/F/P/a/c/colon/comma/e/four/h/i/l/m/o/parenleft/parenright/period/r/s/space/two/u/x/zero) -/FontFile3 994 0 R ->> -endobj -994 0 obj -<< -/Filter /FlateDecode -/Subtype /Type1C -/Length 2332 ->> -stream -xœeUkXSG>1$sl‘nISHÑ$½Xu½©® ¶¶ËÅv¥”‘‹IH ×\M‚À$\Â-„@¸†«DQAë¢ÛÖÖmµ­Úv¥în»mÝ®ën·sØñÇh÷Ù}žóÌsÎ|ó½ó}ïÌû°‚`0É2…D½Y¬Td.}o¢ÂÔêÔ&ı‹‹{XkˆøNæ*È„Ý«WN£÷G!ë/&ƒQæìVªÊ‹eùRp}Š8uÃÆ›þ?³5**J˜Sþ¿ˆ0F¢–å -Ÿ§_J$r¥J!)ÔìFÓ«årÙa¾¼\%U ³ss%¹Kiû³å’aœL.S©”%ÂõÑ„áá[7ÓÃö™"G«.W.LPF ã…bI¾Vž]üóA!Êâ8µ6»ìˆ$Q*“+¶ w®ß°iKxA$IÄ:"™ØOüš8@ÄqÄVâuâ7ÄDÁ%D±’x„XE>ZÍF,Ø£ól%ûÙÕèYÖÃA6çVøØæÒÃXòa,€‘&Þ*² u—ëõíð‰ -ÑZð9ôèÚv’AÏÜcôR[¼†žà‹ó(êÃÎ&ôt{­f™Ø55ǬµµÇ!ÏÍSÉñ4iµõEa»ÅiÑI£G¾HÌ/õ¨¡œ—Y L“É]=eü’þc½†²‡»ØΖzÍ'¾¶×ôÚhÛ ïxgØ­«³N«ÇÞô 0qUÙ¡ë‡>Þé‘Áó3òˆ^þÒyÍŠ½ÔN¾=øúŠ[áx(õ4·Šaj=/@÷pàŒU€ùê63<@b#€Ê*½Þ¤ÒÊ -Hæœ8+àxЧøy=¸PÝ®ƒ$n»/¤}tr¢ÃçãON²"'¾¾fÚëo½ØN³žhžÏR¡}ÁïÞAë?ᜣÞçVèU:Hj¬íS” -४!]ŸÖŸÕ•ÉͯŒ×xK{ûº½=õµ µNAMsmt’¾ÑžÓ¿õ¦ðÞòF…%K¢-ÕËàQ’“?•97u¦ûÒŸãJmè,9vv·Ÿ¢Cø…;\(¯:VbTë•ÇJ )Už˜ÔxùŒ­š¢Oªz©Ý 4ò$Êp³å°´C>…Ÿ@i¡wP`—o¸cÔÎsã®i±A=4µÅò*›±ÜPª÷†*Ï–Ÿ€.ØîrÛI7>¢kðÃ0rèü\(fã(EŽÙz´š§CkÝ@ilp5:Ý.¯àSôØWXXosØ Ë­ÇÖK\Ý XCŒþ[LêÎMÍW‹!¾ï3þùÎõÏý.S^‹ QÛ¤ì,ž®ÞwcßÚq0­4?Gp S¹î&ñ“ŸnAÌs§;Fü|_]þåeÜPá(~µ ErÓ÷dîƒb˜5T8S~Ê:V3G¢9¶å=óPñ¨ÂŸÑ -ÀCåÙ¡U Œ"1ÿÆv¾ýä2"Îòñm´‰ÛzûÄÉ98û”®mäÂê9¦OÒºÿU"FGŽ£)î@§vÞ†o·Lö]õÏÁ÷áYý)ÕБ©mƒ›iÁyØ­*K‹F/«j‡Å¼Çú£ªv×éÚáG$GN•øœN -›?ôÜ/`Pª·;4Kw™ö‹°·- „&ÚŠîqÏžöL@rº??V€¸×lÙhϺAJ‹­ ~@¢tð}öÛ;³ÕofðÑ ¨ª“‹-I•<•…U êíu°’“M–,ÁÃcmÇD:_î¢Fs„Fè]u{ѪÁ·üŠVÐ÷(zÉ÷^Hfé@“½Íá²7C^ß²oéŒ6›âŽÓf7x½ÁÒ²dp¨4TÂUi4Jefp¨·ghPÓ[(XFg|·ÀìZdrÙ­ö6{$G[ô‡‹LÑâ«h(“Ä×[à;$õ 8îH­˜ã*xA‹]tik.1î. ø¥‡ÙE=ÃuÕ5Ù[!9Ð\™.ÀKº¤Z£Ø ö;t­p‚Dã:šZœÎþÞIÏ8$§z¤4{ -“L&ñRå7Ûu8O¢0<9Öy’3ªHÎPl±ˆ¬ô"¥9C'œà¡€ɽò²(­H”Â/Ÿ‘ùR`&Tê#ãÉO€Õ‘V&3%ëxËÊCë®ÒžŒÎÝ~ùVçkJN[òZJ”ÉÆ׊XûÐ ¼ pþq ízÀƯ]åb+YÑ=Vª£¹2!&²#&­¦2¹Šâ"yañÐÈ@ÿÐHÑ€B€qÀÏæèŸÌâs^Æ…»Lta1’ûjº¢(/#f›tÄ+!æœÜðçµgÒ´— -Ú:Bwý^9®úD}Ítއ߻þ蛜öߘ%Aéw™§p,÷ã Ã'Ï_ÿÓø}ˆVBôDÞß^|s¡¨'uÔXúY¼O:øJßk­{à:ø¬!R• ŒWäG‹h:›·ò_Á(|"„“u?ͽ6vn^!§¥‡¥jŒÏé.è-ó7:íöF>'Ëá„ÐÖÔh³(óRòèNêLt ßÿyã4±úÅàFß=äºÇDNºÓd˜]‘'%I0Xn•1†W¾•t2ó¢z^„“ÿøì;§ Ñ*e‡£§q¿ºˆ»p³°K2…Û·gþ€r‘ôbÞ]ÚÞ¤z?f ¯î2)%ZÃ54ä‰ ÇC¶°Ñnó—¯'nÂÛ¼û;o=›œª=’Ç/é -*bº«BOçý’ 3â/elÙ!ÀqXÄ2RO R/µß‹’½ìáG¾xt¸)0ð‹ÎÀUñ_²`‘" -endstream -endobj -973 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [459.007 570.991 473.73 582.946] -/Subtype /Link -/A << /S /GoTo /D (figure.4.4) >> ->> endobj -974 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [470.438 547.081 485.161 559.036] -/Subtype /Link -/A << /S /GoTo /D (figure.4.5) >> ->> endobj -975 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [231.587 511.215 246.31 523.171] -/Subtype /Link -/A << /S /GoTo /D (figure.4.6) >> ->> endobj -976 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [426.394 499.26 441.116 511.215] -/Subtype /Link -/A << /S /GoTo /D (figure.4.7) >> ->> endobj -977 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [395.504 463.395 410.227 475.35] -/Subtype /Link -/A << /S /GoTo /D (figure.4.4) >> ->> endobj -978 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [211.384 439.484 226.106 451.44] -/Subtype /Link -/A << /S /GoTo /D (figure.4.5) >> ->> endobj -979 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [297.797 415.574 312.52 427.529] -/Subtype /Link -/A << /S /GoTo /D (figure.4.6) >> ->> endobj -980 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [319.212 403.619 333.935 415.574] -/Subtype /Link -/A << /S /GoTo /D (figure.4.7) >> ->> endobj -988 0 obj << -/D [986 0 R /FitH 686.127] ->> endobj -588 0 obj << -/D [986 0 R /FitH 176.976] ->> endobj -985 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F70 508 0 R >> -/XObject << /Im11 981 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -997 0 obj << -/Length 352 -/Filter /FlateDecode ->> -stream -xÚ½ÒÉNÃ0à{žÂGû×Ëx 7 *Q $à€S"Ѥ´eO›¥JE7Uå{2þí|2C#ÄÐYp’½ØHÑH ’gÄ™¦VGH[M¹0(ÉÐ= -”„ÆX<Üõ/H(¥Ä1_Ý\+qrK“ó^l;Q¾‰ˆüFUˆä‹–€5[oz÷“€ûC|y% åR t¼ŒZBU-Ýqõ±]Ùzƒ1è´ ®ýÓnÐö„m|Øɯ@슇¥Z‚HQ¡xý+q>zŸºš¨:"!€ÂÃü˽ÖÅ´œNÝlBBOT™+Ò¦û3Ÿ¿Ô#÷A„Á®¨g“> endobj -982 0 obj << -/Type /XObject -/Subtype /Form -/FormType 1 -/PTEX.FileName (./pic_even_odd.pdf) -/PTEX.PageNumber 1 -/PTEX.InfoDict 999 0 R -/BBox [0 0 417 168] -/Resources << -/ProcSet [ /PDF /Text ] -/ColorSpace << -/R9 1000 0 R ->>/ExtGState << -/R7 1001 0 R ->>/Pattern << -/R8 1002 0 R ->>/Font << /R10 1003 0 R>> ->> -/Length 1004 0 R -/Filter /FlateDecode ->> -stream -xœVMoÚ@½ûWì‘He²3û99Vj+õÔ&¾%9 BÓV¡U@UûóûÛ`‚ – Þ73oÞoy5–ØØò´ër]]ß&ó¼­<%ñÌßj·on?UœÙMˆž‚õ†'Žk"õj6«ênòœI5ƒRRÊâM–,P /XÅ“}ƒ9$:ÅHž@28!—tWÄÉq­ãÔR 2Œ‰Hóqž¯ÐQ¢· {¨CQÙ6Qê øÔ0ùI@wí].¯7ŸÛe¹6ïkÇW8rL°æ9ˆax''(ƒÎ"'S¯«]Õ?«9ÊK‹M˜˜ú©·=a¦P¦µz{l Ëlæ°`½½ ˜;øhÌ‹I'V(  ÷³‡™}g®®æì“â’Ø¿x¬?Ãôp±âòœcÀÔaòKö€ -EV5‚µ8~Ùþòãßêe»¯ß“¡)ë[„Ê–!o³æ“62þ*¸Ø¶à6sKéãf±^ݘå÷ÍïõÂ<ÌüÜà0ÛUóU7›˜ÑºÑ éI¹Š\é=;ïr?æåÏzQ êê+žÿ¾êÜÜ -endstream -endobj -999 0 obj -<< -/Producer (GPL Ghostscript 8.70) -/CreationDate (D:20090924115428-07'00') -/ModDate (D:20090924115428-07'00') -/Title (pic_even_odd.fig) -/Creator (fig2dev Version 3.2 Patchlevel 5) -/Author (giles@snow \(Ralph Giles\)) ->> -endobj -1000 0 obj -[/Pattern/DeviceRGB] -endobj -1001 0 obj -<< -/Type /ExtGState -/OPM 1 ->> -endobj -1002 0 obj -<< -/Filter /FlateDecode -/Type /Pattern -/PatternType 1 -/PaintType 2 -/TilingType 2 -/BBox [ -2 -4 10 5] -/Matrix [ 1 0 0 -1 -27.4 197.8] -/XStep 8 -/YStep 4 -/Resources << -/ProcSet [/PDF] ->> -/Length 71 ->> -stream -xœ3Ð3T0A(œËUÈ¥kd  kb `¤- ŠRÂò¸ÌÊÁ2¦ -¹\†@%† -9\Áå†0QSˆ` #’c -endstream -endobj -1003 0 obj -<< -/BaseFont /AXDXXM#2BTimes-Roman -/FontDescriptor 1005 0 R -/Type /Font -/FirstChar 32 -/LastChar 120 -/Widths [ 250 0 0 0 0 0 0 0 333 333 0 0 250 0 250 0 500 0 500 0 500 0 0 0 0 0 278 0 0 0 0 0 0 0 0 0 0 0 556 0 0 0 0 0 0 0 0 0 556 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 444 0 444 0 444 0 0 500 278 0 0 278 778 0 500 0 0 333 389 0 500 0 0 500] -/Encoding /WinAnsiEncoding -/Subtype /Type1 ->> -endobj -1004 0 obj -686 -endobj -1005 0 obj -<< -/Type /FontDescriptor -/FontName /AXDXXM#2BTimes-Roman -/FontBBox [ 0 -177 775 683] -/Flags 131104 -/Ascent 683 -/CapHeight 662 -/Descent -177 -/ItalicAngle 0 -/StemV 116 -/MissingWidth 500 -/XHeight 460 -/CharSet (/F/P/a/c/colon/comma/e/four/h/i/l/m/o/parenleft/parenright/period/r/s/space/two/u/x/zero) -/FontFile3 1006 0 R ->> -endobj -1006 0 obj -<< -/Filter /FlateDecode -/Subtype /Type1C -/Length 2332 ->> -stream -xœeUkXSG>1$sl‘nISHÑ$½Xu½©® ¶¶ËÅv¥”‘‹IH ×\M‚À$\Â-„@¸†«DQAë¢ÛÖÖmµ­Úv¥în»mÝ®ën·sØñÇh÷Ù}žóÌsÎ|ó½ó}ïÌû°‚`0É2…D½Y¬Td.}o¢ÂÔêÔ&ı‹‹{XkˆøNæ*È„Ý«WN£÷G!ë/&ƒQæìVªÊ‹eùRp}Š8uÃÆ›þ?³5**J˜Sþ¿ˆ0F¢–å -Ÿ§_J$r¥J!)ÔìFÓ«årÙa¾¼\%U ³ss%¹Kiû³å’aœL.S©”%ÂõÑ„áá[7ÓÃö™"G«.W.LPF ã…bI¾Vž]üóA!Êâ8µ6»ìˆ$Q*“+¶ w®ß°iKxA$IÄ:"™ØOüš8@ÄqÄVâuâ7ÄDÁ%D±’x„XE>ZÍF,Ø£ól%ûÙÕèYÖÃA6çVøØæÒÃXòa,€‘&Þ*² u—ëõíð‰ -ÑZð9ôèÚv’AÏÜcôR[¼†žà‹ó(êÃÎ&ôt{­f™Ø55ǬµµÇ!ÏÍSÉñ4iµõEa»ÅiÑI£G¾HÌ/õ¨¡œ—Y L“É]=eü’þc½†²‡»ØΖzÍ'¾¶×ôÚhÛ ïxgØ­«³N«ÇÞô 0qUÙ¡ë‡>Þé‘Áó3òˆ^þÒyÍŠ½ÔN¾=øúŠ[áx(õ4·Šaj=/@÷pàŒU€ùê63<@b#€Ê*½Þ¤ÒÊ -Hæœ8+àxЧøy=¸PÝ®ƒ$n»/¤}tr¢ÃçãON²"'¾¾fÚëo½ØN³žhžÏR¡}ÁïÞAë?ᜣÞçVèU:Hj¬íS” -४!]ŸÖŸÕ•ÉͯŒ×xK{ûº½=õµ µNAMsmt’¾ÑžÓ¿õ¦ðÞòF…%K¢-ÕËàQ’“?•97u¦ûÒŸãJmè,9vv·Ÿ¢Cø…;\(¯:VbTë•ÇJ )Už˜ÔxùŒ­š¢Oªz©Ý 4ò$Êp³å°´C>…Ÿ@i¡wP`—o¸cÔÎsã®i±A=4µÅò*›±ÜPª÷†*Ï–Ÿ€.ØîrÛI7>¢kðÃ0rèü\(fã(EŽÙz´š§CkÝ@ilp5:Ý.¯àSôØWXXosØ Ë­ÇÖK\Ý XCŒþ[LêÎMÍW‹!¾ï3þùÎõÏý.S^‹ QÛ¤ì,ž®ÞwcßÚq0­4?Gp S¹î&ñ“ŸnAÌs§;Fü|_]þåeÜPá(~µ ErÓ÷dîƒb˜5T8S~Ê:V3G¢9¶å=óPñ¨ÂŸÑ -ÀCåÙ¡U Œ"1ÿÆv¾ýä2"Îòñm´‰ÛzûÄÉ98û”®mäÂê9¦OÒºÿU"FGŽ£)î@§vÞ†o·Lö]õÏÁ÷áYý)ÕБ©mƒ›iÁyØ­*K‹F/«j‡Å¼Çú£ªv×éÚáG$GN•øœN -›?ôÜ/`Pª·;4Kw™ö‹°·- „&ÚŠîqÏžöL@rº??V€¸×lÙhϺAJ‹­ ~@¢tð}öÛ;³ÕofðÑ ¨ª“‹-I•<•…U êíu°’“M–,ÁÃcmÇD:_î¢Fs„Fè]u{ѪÁ·üŠVÐ÷(zÉ÷^Hfé@“½Íá²7C^ß²oéŒ6›âŽÓf7x½ÁÒ²dp¨4TÂUi4Jefp¨·ghPÓ[(XFg|·ÀìZdrÙ­ö6{$G[ô‡‹LÑâ«h(“Ä×[à;$õ 8îH­˜ã*xA‹]tik.1î. ø¥‡ÙE=ÃuÕ5Ù[!9Ð\™.ÀKº¤Z£Ø ö;t­p‚Dã:šZœÎþÞIÏ8$§z¤4{ -“L&ñRå7Ûu8O¢0<9Öy’3ªHÎPl±ˆ¬ô"¥9C'œà¡€ɽò²(­H”Â/Ÿ‘ùR`&Tê#ãÉO€Õ‘V&3%ëxËÊCë®ÒžŒÎÝ~ùVçkJN[òZJ”ÉÆ׊XûÐ ¼ pþq ízÀƯ]åb+YÑ=Vª£¹2!&²#&­¦2¹Šâ"yañÐÈ@ÿÐHÑ€B€qÀÏæèŸÌâs^Æ…»Lta1’ûjº¢(/#f›tÄ+!æœÜðçµgÒ´— -Ú:Bwý^9®úD}Ítއ߻þ蛜öߘ%Aéw™§p,÷ã Ã'Ï_ÿÓø}ˆVBôDÞß^|s¡¨'uÔXúY¼O:øJßk­{à:ø¬!R• ŒWäG‹h:›·ò_Á(|"„“u?ͽ6vn^!§¥‡¥jŒÏé.è-ó7:íöF>'Ëá„ÐÖÔh³(óRòèNêLt ßÿyã4±úÅàFß=äºÇDNºÓd˜]‘'%I0Xn•1†W¾•t2ó¢z^„“ÿøì;§ Ñ*e‡£§q¿ºˆ»p³°K2…Û·gþ€r‘ôbÞ]ÚÞ¤z?f ¯î2)%ZÃ54ä‰ ÇC¶°Ñnó—¯'nÂÛ¼û;o=›œª=’Ç/é -*bº«BOçý’ 3â/elÙ!ÀqXÄ2RO R/µß‹’½ìáG¾xt¸)0ð‹ÎÀUñ_²`‘" -endstream -endobj -983 0 obj << -/Type /XObject -/Subtype /Form -/FormType 1 -/PTEX.FileName (./pic_odd.pdf) -/PTEX.PageNumber 1 -/PTEX.InfoDict 1007 0 R -/BBox [0 0 417 168] -/Resources << -/ProcSet [ /PDF /Text ] -/ColorSpace << -/R9 1008 0 R ->>/ExtGState << -/R7 1009 0 R ->>/Pattern << -/R8 1010 0 R ->>/Font << /R10 1011 0 R>> ->> -/Length 1012 0 R -/Filter /FlateDecode ->> -stream -xœUËnÛ@ ¼ë+xt€šYr¹¯ ´zjßš ÇI[Ä-b£h?¿³–ì(‰%:¬¤’á4ûHŽ…\½ºuµiÎ/Ýï㤦þ6û}ºüÔHNìr¤ƒ3o,1cM\¬ÐvÝ\A&™K‰§A)Îj‚c'Ø«»˜§D¯1‡b¢É³L0 8¾…ä“D¤§à•}*ûM¿gÖËtùâ8å+—ñLh4Ó7(ͱÝ@ÿÛ¦°Y®1Ý7¢Â1ž“*”ê‚Û¨§9ŠjFRƒ 2ÅÀ^3q¬rK!sNGÐI±$á"=ЩÑ(;KÇñ%ïY§Rð¾Øx‡êQl?ÏÀÁ=§@b’XÓpƒ-÷]¤„Ó_ƒ†è8„'åÍG}ÎëM AòU–ÊÖ¥–F.…åÀ>±×Œq÷ì»Ñ—ä[̳Ïfƒa» Œ5=] hÑ’à Y\À(…¶÷ ²*×Òƒéï`!…V»ÖXÎ/3íV¿Þ7™¦5ØÑ­‘¸iÌ$­á¡ŽÓ‹›ÆLÒþŽÆiÅMc®º#Diï»eµ¡÷ ”Æ#Ì,&¸Úâ®iÏ&!íHJäÑV”D‹M3cæ³ÅÏf.p±Ú_¦´¸ííá$üÒÇþž8ƒedšã÷ÞÒÛÛÓÀ/.1hÌ«¿% " ßf×3÷Î]ŸÍÅR¿_Ü,>à -p¾á ›cBÅÃjöª&R -á`*Õ,ëö—ÿÖ»cýž mY;Ù"¬Î ü¹]ó«62Nl»6BàB0´˜;J·ËÍú‚Vß·¿7KºžÙ…^`ËݺåÙ©›)fôSü`ö‚´º¸¯½go>÷cþl–òaÑ|Åõ=JÂq -endstream -endobj -1007 0 obj -<< -/Producer (GPL Ghostscript 8.70) -/CreationDate (D:20090924115428-07'00') -/ModDate (D:20090924115428-07'00') -/Title (pic_odd.fig) -/Creator (fig2dev Version 3.2 Patchlevel 5) -/Author (giles@snow \(Ralph Giles\)) ->> -endobj -1008 0 obj -[/Pattern/DeviceRGB] -endobj -1009 0 obj -<< -/Type /ExtGState -/OPM 1 ->> -endobj -1010 0 obj -<< -/Filter /FlateDecode -/Type /Pattern -/PatternType 1 -/PaintType 2 -/TilingType 2 -/BBox [ -2 -4 10 5] -/Matrix [ 1 0 0 -1 -27.4 197.8] -/XStep 8 -/YStep 4 -/Resources << -/ProcSet [/PDF] ->> -/Length 71 ->> -stream -xœ3Ð3T0A(œËUÈ¥kd  kb `¤- ŠRÂò¸ÌÊÁ2¦ -¹\†@%† -9\Áå†0QSˆ` #’c -endstream -endobj -1011 0 obj -<< -/BaseFont /AXDXXM#2BTimes-Roman -/FontDescriptor 1013 0 R -/Type /Font -/FirstChar 32 -/LastChar 120 -/Widths [ 250 0 0 0 0 0 0 0 333 333 0 0 250 0 250 0 500 0 500 0 500 0 0 0 0 0 278 0 0 0 0 0 0 0 0 0 0 0 556 0 0 0 0 0 0 0 0 0 556 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 444 0 444 0 444 0 0 500 278 0 0 278 778 0 500 0 0 333 389 0 500 0 0 500] -/Encoding /WinAnsiEncoding -/Subtype /Type1 ->> -endobj -1012 0 obj -666 -endobj -1013 0 obj -<< -/Type /FontDescriptor -/FontName /AXDXXM#2BTimes-Roman -/FontBBox [ 0 -177 775 683] -/Flags 131104 -/Ascent 683 -/CapHeight 662 -/Descent -177 -/ItalicAngle 0 -/StemV 116 -/MissingWidth 500 -/XHeight 460 -/CharSet (/F/P/a/c/colon/comma/e/four/h/i/l/m/o/parenleft/parenright/period/r/s/space/two/u/x/zero) -/FontFile3 1014 0 R ->> -endobj -1014 0 obj -<< -/Filter /FlateDecode -/Subtype /Type1C -/Length 2332 ->> -stream -xœeUkXSG>1$sl‘nISHÑ$½Xu½©® ¶¶ËÅv¥”‘‹IH ×\M‚À$\Â-„@¸†«DQAë¢ÛÖÖmµ­Úv¥în»mÝ®ën·sØñÇh÷Ù}žóÌsÎ|ó½ó}ïÌû°‚`0É2…D½Y¬Td.}o¢ÂÔêÔ&ı‹‹{XkˆøNæ*È„Ý«WN£÷G!ë/&ƒQæìVªÊ‹eùRp}Š8uÃÆ›þ?³5**J˜Sþ¿ˆ0F¢–å -Ÿ§_J$r¥J!)ÔìFÓ«årÙa¾¼\%U ³ss%¹Kiû³å’aœL.S©”%ÂõÑ„áá[7ÓÃö™"G«.W.LPF ã…bI¾Vž]üóA!Êâ8µ6»ìˆ$Q*“+¶ w®ß°iKxA$IÄ:"™ØOüš8@ÄqÄVâuâ7ÄDÁ%D±’x„XE>ZÍF,Ø£ól%ûÙÕèYÖÃA6çVøØæÒÃXòa,€‘&Þ*² u—ëõíð‰ -ÑZð9ôèÚv’AÏÜcôR[¼†žà‹ó(êÃÎ&ôt{­f™Ø55ǬµµÇ!ÏÍSÉñ4iµõEa»ÅiÑI£G¾HÌ/õ¨¡œ—Y L“É]=eü’þc½†²‡»ØΖzÍ'¾¶×ôÚhÛ ïxgØ­«³N«ÇÞô 0qUÙ¡ë‡>Þé‘Áó3òˆ^þÒyÍŠ½ÔN¾=øúŠ[áx(õ4·Šaj=/@÷pàŒU€ùê63<@b#€Ê*½Þ¤ÒÊ -Hæœ8+àxЧøy=¸PÝ®ƒ$n»/¤}tr¢ÃçãON²"'¾¾fÚëo½ØN³žhžÏR¡}ÁïÞAë?ᜣÞçVèU:Hj¬íS” -४!]ŸÖŸÕ•ÉͯŒ×xK{ûº½=õµ µNAMsmt’¾ÑžÓ¿õ¦ðÞòF…%K¢-ÕËàQ’“?•97u¦ûÒŸãJmè,9vv·Ÿ¢Cø…;\(¯:VbTë•ÇJ )Už˜ÔxùŒ­š¢Oªz©Ý 4ò$Êp³å°´C>…Ÿ@i¡wP`—o¸cÔÎsã®i±A=4µÅò*›±ÜPª÷†*Ï–Ÿ€.ØîrÛI7>¢kðÃ0rèü\(fã(EŽÙz´š§CkÝ@ilp5:Ý.¯àSôØWXXosØ Ë­ÇÖK\Ý XCŒþ[LêÎMÍW‹!¾ï3þùÎõÏý.S^‹ QÛ¤ì,ž®ÞwcßÚq0­4?Gp S¹î&ñ“ŸnAÌs§;Fü|_]þåeÜPá(~µ ErÓ÷dîƒb˜5T8S~Ê:V3G¢9¶å=óPñ¨ÂŸÑ -ÀCåÙ¡U Œ"1ÿÆv¾ýä2"Îòñm´‰ÛzûÄÉ98û”®mäÂê9¦OÒºÿU"FGŽ£)î@§vÞ†o·Lö]õÏÁ÷áYý)ÕБ©mƒ›iÁyØ­*K‹F/«j‡Å¼Çú£ªv×éÚáG$GN•øœN -›?ôÜ/`Pª·;4Kw™ö‹°·- „&ÚŠîqÏžöL@rº??V€¸×lÙhϺAJ‹­ ~@¢tð}öÛ;³ÕofðÑ ¨ª“‹-I•<•…U êíu°’“M–,ÁÃcmÇD:_î¢Fs„Fè]u{ѪÁ·üŠVÐ÷(zÉ÷^Hfé@“½Íá²7C^ß²oéŒ6›âŽÓf7x½ÁÒ²dp¨4TÂUi4Jefp¨·ghPÓ[(XFg|·ÀìZdrÙ­ö6{$G[ô‡‹LÑâ«h(“Ä×[à;$õ 8îH­˜ã*xA‹]tik.1î. ø¥‡ÙE=ÃuÕ5Ù[!9Ð\™.ÀKº¤Z£Ø ö;t­p‚Dã:šZœÎþÞIÏ8$§z¤4{ -“L&ñRå7Ûu8O¢0<9Öy’3ªHÎPl±ˆ¬ô"¥9C'œà¡€ɽò²(­H”Â/Ÿ‘ùR`&Tê#ãÉO€Õ‘V&3%ëxËÊCë®ÒžŒÎÝ~ùVçkJN[òZJ”ÉÆ׊XûÐ ¼ pþq ízÀƯ]åb+YÑ=Vª£¹2!&²#&­¦2¹Šâ"yañÐÈ@ÿÐHÑ€B€qÀÏæèŸÌâs^Æ…»Lta1’ûjº¢(/#f›tÄ+!æœÜðçµgÒ´— -Ú:Bwý^9®úD}Ítއ߻þ蛜öߘ%Aéw™§p,÷ã Ã'Ï_ÿÓø}ˆVBôDÞß^|s¡¨'uÔXúY¼O:øJßk­{à:ø¬!R• ŒWäG‹h:›·ò_Á(|"„“u?ͽ6vn^!§¥‡¥jŒÏé.è-ó7:íöF>'Ëá„ÐÖÔh³(óRòèNêLt ßÿyã4±úÅàFß=äºÇDNºÓd˜]‘'%I0Xn•1†W¾•t2ó¢z^„“ÿøì;§ Ñ*e‡£§q¿ºˆ»p³°K2…Û·gþ€r‘ôbÞ]ÚÞ¤z?f ¯î2)%ZÃ54ä‰ ÇC¶°Ñnó—¯'nÂÛ¼û;o=›œª=’Ç/é -*bº«BOçý’ 3â/elÙ!ÀqXÄ2RO R/µß‹’½ìáG¾xt¸)0ð‹ÎÀUñ_²`‘" -endstream -endobj -984 0 obj << -/Type /XObject -/Subtype /Form -/FormType 1 -/PTEX.FileName (./pic_odd_even.pdf) -/PTEX.PageNumber 1 -/PTEX.InfoDict 1015 0 R -/BBox [0 0 417 168] -/Resources << -/ProcSet [ /PDF /Text ] -/ColorSpace << -/R9 1016 0 R ->>/ExtGState << -/R7 1017 0 R ->>/Pattern << -/R8 1018 0 R ->>/Font << /R10 1019 0 R>> ->> -/Length 1020 0 R -/Filter /FlateDecode ->> -stream -xœVËnA¼ïWôK¡=Ýól#%‘rJì½Ù> ŒD&‘AQòù©a¯1°8â0ÀTÏTÕöLí9rõ³§óæü2Óò œ5h¤?Íjž.?5R2»’(¦ÀÑXRÁ˜Ù‚ÑbÖ\mAA -›¥ý œ‹ŠÑ±“ -Š£v;˜ç…^c6›‰fÏ2ÀH€â´ Šèª8™Ð-´Þ5Æ!”*^$èªH…S d0üΪÀj]ÜU={&ª…½éœ"{-űʆ˜BRÉ[Ð^bR¢°I´ÏeòÖªì=«ód†ÿ-W¨›­¼‹Š’çI‚dÖ|X`Ç=Á±¸ßyÉqŒäÍqŠŠ5Cä¤'òªŠ+—»ŠˆX9DLc ŒoÑ+ûl+B^wyu˜-¯=WSË8E\„»B‹‡Fƒ(fŽ,d4]vçêü²Ðrúó¤ºaÌ ­ÃŠŽÓ:V7Œ9ñIûK=¥/ZþÞJÐ vA\ð†AS¾õáœR7Œ¤õÖ‡sJÝ0æ¹Ýqe»ÿjwñ¸bêaì—Æá¾:V7Œ¦uPÑ­#uØô6F¿Õ­ê†1W뤑§Fºïëa:§÷-¶ÆOäVÊ°ö¾é"_H0’ÑC•$S;oFÌ|ÖþhÆ‚Àªúº2¥ö®7‡ÎCä ÷>õçÄte¡1®#½¹ \ùâq«ƒÆ¸FYV`á;–ôzt3rïÜÍÙÙXB6DéöÛö3¢¯ x5ã(š‡uõ ;TOÄŒ÷Vs±Nùþwö¸Üîß³¡Û6안Ts{»±¼’Qð"äÓZFŒl„k/•5¥‹É|vAÓo‹_ó ݌…^àaL–³ŽçÚÝB©@ùƒEÚ+Òؾj/>øÒ¯yü=ŸTȇ¶ùŠÏ?Ý -. -endstream -endobj -1015 0 obj -<< -/Producer (GPL Ghostscript 8.70) -/CreationDate (D:20090924115428-07'00') -/ModDate (D:20090924115428-07'00') -/Title (pic_odd_even.fig) -/Creator (fig2dev Version 3.2 Patchlevel 5) -/Author (giles@snow \(Ralph Giles\)) ->> -endobj -1016 0 obj -[/Pattern/DeviceRGB] -endobj -1017 0 obj -<< -/Type /ExtGState -/OPM 1 ->> -endobj -1018 0 obj -<< -/Filter /FlateDecode -/Type /Pattern -/PatternType 1 -/PaintType 2 -/TilingType 2 -/BBox [ -2 -4 10 5] -/Matrix [ 1 0 0 -1 -27.4 197.8] -/XStep 8 -/YStep 4 -/Resources << -/ProcSet [/PDF] ->> -/Length 71 ->> -stream -xœ3Ð3T0A(œËUÈ¥kd  kb `¤- ŠRÂò¸ÌÊÁ2¦ -¹\†@%† -9\Áå†0QSˆ` #’c -endstream -endobj -1019 0 obj -<< -/BaseFont /AXDXXM#2BTimes-Roman -/FontDescriptor 1021 0 R -/Type /Font -/FirstChar 32 -/LastChar 120 -/Widths [ 250 0 0 0 0 0 0 0 333 333 0 0 250 0 250 0 500 0 500 0 500 0 0 0 0 0 278 0 0 0 0 0 0 0 0 0 0 0 556 0 0 0 0 0 0 0 0 0 556 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 444 0 444 0 444 0 0 500 278 0 0 278 778 0 500 0 0 333 389 0 500 0 0 500] -/Encoding /WinAnsiEncoding -/Subtype /Type1 ->> -endobj -1020 0 obj -693 -endobj -1021 0 obj -<< -/Type /FontDescriptor -/FontName /AXDXXM#2BTimes-Roman -/FontBBox [ 0 -177 775 683] -/Flags 131104 -/Ascent 683 -/CapHeight 662 -/Descent -177 -/ItalicAngle 0 -/StemV 116 -/MissingWidth 500 -/XHeight 460 -/CharSet (/F/P/a/c/colon/comma/e/four/h/i/l/m/o/parenleft/parenright/period/r/s/space/two/u/x/zero) -/FontFile3 1022 0 R ->> -endobj -1022 0 obj -<< -/Filter /FlateDecode -/Subtype /Type1C -/Length 2332 ->> -stream -xœeUkXSG>1$sl‘nISHÑ$½Xu½©® ¶¶ËÅv¥”‘‹IH ×\M‚À$\Â-„@¸†«DQAë¢ÛÖÖmµ­Úv¥în»mÝ®ën·sØñÇh÷Ù}žóÌsÎ|ó½ó}ïÌû°‚`0É2…D½Y¬Td.}o¢ÂÔêÔ&ı‹‹{XkˆøNæ*È„Ý«WN£÷G!ë/&ƒQæìVªÊ‹eùRp}Š8uÃÆ›þ?³5**J˜Sþ¿ˆ0F¢–å -Ÿ§_J$r¥J!)ÔìFÓ«årÙa¾¼\%U ³ss%¹Kiû³å’aœL.S©”%ÂõÑ„áá[7ÓÃö™"G«.W.LPF ã…bI¾Vž]üóA!Êâ8µ6»ìˆ$Q*“+¶ w®ß°iKxA$IÄ:"™ØOüš8@ÄqÄVâuâ7ÄDÁ%D±’x„XE>ZÍF,Ø£ól%ûÙÕèYÖÃA6çVøØæÒÃXòa,€‘&Þ*² u—ëõíð‰ -ÑZð9ôèÚv’AÏÜcôR[¼†žà‹ó(êÃÎ&ôt{­f™Ø55ǬµµÇ!ÏÍSÉñ4iµõEa»ÅiÑI£G¾HÌ/õ¨¡œ—Y L“É]=eü’þc½†²‡»ØΖzÍ'¾¶×ôÚhÛ ïxgØ­«³N«ÇÞô 0qUÙ¡ë‡>Þé‘Áó3òˆ^þÒyÍŠ½ÔN¾=øúŠ[áx(õ4·Šaj=/@÷pàŒU€ùê63<@b#€Ê*½Þ¤ÒÊ -Hæœ8+àxЧøy=¸PÝ®ƒ$n»/¤}tr¢ÃçãON²"'¾¾fÚëo½ØN³žhžÏR¡}ÁïÞAë?ᜣÞçVèU:Hj¬íS” -४!]ŸÖŸÕ•ÉͯŒ×xK{ûº½=õµ µNAMsmt’¾ÑžÓ¿õ¦ðÞòF…%K¢-ÕËàQ’“?•97u¦ûÒŸãJmè,9vv·Ÿ¢Cø…;\(¯:VbTë•ÇJ )Už˜ÔxùŒ­š¢Oªz©Ý 4ò$Êp³å°´C>…Ÿ@i¡wP`—o¸cÔÎsã®i±A=4µÅò*›±ÜPª÷†*Ï–Ÿ€.ØîrÛI7>¢kðÃ0rèü\(fã(EŽÙz´š§CkÝ@ilp5:Ý.¯àSôØWXXosØ Ë­ÇÖK\Ý XCŒþ[LêÎMÍW‹!¾ï3þùÎõÏý.S^‹ QÛ¤ì,ž®ÞwcßÚq0­4?Gp S¹î&ñ“ŸnAÌs§;Fü|_]þåeÜPá(~µ ErÓ÷dîƒb˜5T8S~Ê:V3G¢9¶å=óPñ¨ÂŸÑ -ÀCåÙ¡U Œ"1ÿÆv¾ýä2"Îòñm´‰ÛzûÄÉ98û”®mäÂê9¦OÒºÿU"FGŽ£)î@§vÞ†o·Lö]õÏÁ÷áYý)ÕБ©mƒ›iÁyØ­*K‹F/«j‡Å¼Çú£ªv×éÚáG$GN•øœN -›?ôÜ/`Pª·;4Kw™ö‹°·- „&ÚŠîqÏžöL@rº??V€¸×lÙhϺAJ‹­ ~@¢tð}öÛ;³ÕofðÑ ¨ª“‹-I•<•…U êíu°’“M–,ÁÃcmÇD:_î¢Fs„Fè]u{ѪÁ·üŠVÐ÷(zÉ÷^Hfé@“½Íá²7C^ß²oéŒ6›âŽÓf7x½ÁÒ²dp¨4TÂUi4Jefp¨·ghPÓ[(XFg|·ÀìZdrÙ­ö6{$G[ô‡‹LÑâ«h(“Ä×[à;$õ 8îH­˜ã*xA‹]tik.1î. ø¥‡ÙE=ÃuÕ5Ù[!9Ð\™.ÀKº¤Z£Ø ö;t­p‚Dã:šZœÎþÞIÏ8$§z¤4{ -“L&ñRå7Ûu8O¢0<9Öy’3ªHÎPl±ˆ¬ô"¥9C'œà¡€ɽò²(­H”Â/Ÿ‘ùR`&Tê#ãÉO€Õ‘V&3%ëxËÊCë®ÒžŒÎÝ~ùVçkJN[òZJ”ÉÆ׊XûÐ ¼ pþq ízÀƯ]åb+YÑ=Vª£¹2!&²#&­¦2¹Šâ"yañÐÈ@ÿÐHÑ€B€qÀÏæèŸÌâs^Æ…»Lta1’ûjº¢(/#f›tÄ+!æœÜðçµgÒ´— -Ú:Bwý^9®úD}Ítއ߻þ蛜öߘ%Aéw™§p,÷ã Ã'Ï_ÿÓø}ˆVBôDÞß^|s¡¨'uÔXúY¼O:øJßk­{à:ø¬!R• ŒWäG‹h:›·ò_Á(|"„“u?ͽ6vn^!§¥‡¥jŒÏé.è-ó7:íöF>'Ëá„ÐÖÔh³(óRòèNêLt ßÿyã4±úÅàFß=äºÇDNºÓd˜]‘'%I0Xn•1†W¾•t2ó¢z^„“ÿøì;§ Ñ*e‡£§q¿ºˆ»p³°K2…Û·gþ€r‘ôbÞ]ÚÞ¤z?f ¯î2)%ZÃ54ä‰ ÇC¶°Ñnó—¯'nÂÛ¼û;o=›œª=’Ç/é -*bº«BOçý’ 3â/elÙ!ÀqXÄ2RO R/µß‹’½ìáG¾xt¸)0ð‹ÎÀUñ_²`‘" -endstream -endobj -998 0 obj << -/D [996 0 R /FitH 686.127] ->> endobj -589 0 obj << -/D [996 0 R /FitH 507.206] ->> endobj -590 0 obj << -/D [996 0 R /FitH 321.901] ->> endobj -591 0 obj << -/D [996 0 R /FitH 136.596] ->> endobj -995 0 obj << -/Font << /F73 507 0 R /F8 458 0 R >> -/XObject << /Im12 982 0 R /Im13 983 0 R /Im14 984 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1025 0 obj << -/Length 127 -/Filter /FlateDecode ->> -stream -xÚ]Ž;Â@ û=…Ko‘ÍÆŽl§ °ËGBAÁ¢Atî¾¢zÒh4zîaÚj0¤AHÀoÐIN" -b’:Rð+œ‘)^|×Vå_Ó,1Ñ3óv–›ñàeŽ 3cŸb£jxÚ®ÊôA5’â4ïÇh=úñ ùû⋇óÈ"| -endstream -endobj -1024 0 obj << -/Type /Page -/Contents 1025 0 R -/Resources 1023 0 R -/MediaBox [0 0 612 792] -/Parent 940 0 R ->> endobj -1026 0 obj << -/D [1024 0 R /FitH 686.127] ->> endobj -1023 0 obj << -/Font << /F8 458 0 R /F73 507 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1029 0 obj << -/Length 1615 -/Filter /FlateDecode ->> -stream -xÚXKÛ6¾çWø¶4«¢D½ÐS$E‹¶9Ô@M¥m®MÄ’\ŠÚóë;R+wµh/Kr43¿ù8Þtu\¥«ߤa|·}óÝGU¯²4)ˬXmV2-“ºlVE%•R«íaõ§xÒoÜz“W…(Ömf3•Tu%Ñ,]mŠ4)dÎ﬿èý:—â‹íŽl÷¾ïÖy&Qj:üë-ˆ¢3©’\•YtV'ª»‰\o¤Ì -ñ‰Ý£5OlX¯š¤)³2˜ey"³`¶=™õF¥ Nz§a.S±ï×›¬³çõ8˜µœ9ko×Y-Ìùʲ±¼÷~tæÀúàžø3V_ÈB>øÚù@æµíèø(ÛÙN»+FJ™4EÁZV6GÊ°ÊÄçT*s> ¼êxÔng½C´|²JÀw•Š_ú£Ýë3„]+ñ¿+a0¸JœXû&TÏ26Ð<€w8­ÑmøÚ…}N–LOK¡£ $´È!:ƒÐwÖ{¸_’öÙìÐúº)+ì0¬+ÏýÉ°¢éèfj¸ÇŸtwàO Ó±‚;¼î×v“>OÝš¥ {Ç›&ÙÏÙ®RŽ)L0ï×~ð¬µ3|aÁß+Y€v4üA;§»£iƒöÀÒ£ëÇK´d¡Šèo¢-9Z¼B‰n'¯§­r8éØYÏb ŒÆO!H\òV¨ú9-R>ÝÞ?ÀR"`ŠF ö«7˜êhäþdç\{?üé_¨õŽEg3 KYß÷mÛwTYE!zȶé"´¥úù`¿™’^§u(`И -¸ ¤E,si,”§‡S‰ÌÂ)Ù\ž{K•5°W¼ïÅ8á‚÷˜·TŠV_.L`° Ü¦)g.;^¼¨0ÍK -–Ó5ÓJwìN¿D'Î\œÂ4Ÿ"X.„2·!*Åœ‘ù›H•´#©æ2)ÓgR}¦U‚³4•NÞ]½IV6IÙ¢ÿ Ó,•h©@”Ì'î3í…`Ö3e¡’vÌ$ÖâT„ŽÊ•ÐlyÏÕèÍ«#?¡|¸vèH£íÇ {²xbrÚë Õ{÷v)]þ¤±fë<ÃÎYSÌËå;JT|#>"•"¦Q~]8 =(B0àȬQ—@%pMŒÍ*`¿/c3l¯Ã¶áÜìȶ—³Û¼Ò¡¶7”ò¬¼ád«ø  æéQAáDh±„3TêR¹á×.+'zĹf ¼’½k!MU&#S¾ŠÐ³ah×@0Ë#ã=® pì¬Þ!/ <À1/ÁF,æúƒÉÃØtäW*!Ôò}ËŸ©^qc>9U¶ ´5™%e¤X&šŠ•wöïÑú€·è²Ø‡ãÃÝëð¬¡.}°ôÈ 25 ïùá ðÎÉå;raæhV♢9ìÍ÷,»¿õÞ¼åk9õ5›GÜÇ8ú¢êUZqÞTZ>ó)_ð)|ÇçOŠW8l¨0Aoðö|fïÌ«à€ßŒà#àe º ðÊeqû¾ÉyMà -Ÿ…ïašÚ– ?®Õ3Ubv> endobj -1030 0 obj << -/D [1028 0 R /FitH 686.127] ->> endobj -138 0 obj << -/D [1028 0 R /FitH 668.127] ->> endobj -142 0 obj << -/D [1028 0 R /FitH 487.561] ->> endobj -146 0 obj << -/D [1028 0 R /FitH 349.981] ->> endobj -150 0 obj << -/D [1028 0 R /FitH 200.406] ->> endobj -1027 0 obj << -/Font << /F48 455 0 R /F8 458 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1034 0 obj << -/Length 2408 -/Filter /FlateDecode ->> -stream -xڵ˒۸ñî¯ÐÍTeÈ%ÀwR9Ø.ïƉ[±²9Ä©2FÄH,S¤BRžõ~}úÒ°œÚC."Ðh4ºý„âÍao~zör÷ì‡ËMU¹Î7»‡Êã(Ï‹M^æ‘ÒÅfWoþ$éöß»¿þðc‘ø˜I%y -dçÕ_^ü¼{ý÷m˜$IEÛ°(Êàå›ÝÏÛ2 ^lu¼úÛ›÷?ñú«ïyý~÷æÃ{$ü,nÜN*¼“B¥U”ªrê€ øI«øj÷µ 8RŽ¹—Í!´]ݘîÛ0MÓ é‘4x<6{äíÈ|MGËðS?N ›C×|ŠUº7b -ø~«‹àÛdy¶ïOvä!¢ãtÇtltˆž„:Ta|wÃòµ Ìt¨ã¨¬Ôïóm3M­õ$- -–4‹QÒ­ -öÈ6 -›V",,µÖ´0\“P=iaæ¤|OÚl–PbU‡ I Ü…JEU–3—¦«ÿŸJx×üjkOyôˆŅAÿÀ_–­ÇDÚ† -®µ•&A?ÔvhºÃèÍÄ#ÐK×Ëø~‚Š„Ìù"Іׯ‰.ö•†÷öˆú•+ð [Z"Ú›Éú¡±ãcø…,£žcôc2µ$"H ©3Ϙ‹q‘+ôƒáñ}3AK†,ä ˆŽàîºCÀWdɲd ) ¶ŒgVÀž,†LvŒÐ<È x׎ü8 Öœxz2]s¾„Ì¡J£*MESÂckø]V꿤=]ÅhŽ%šãNË€.‘UЂ -jZª‚–/^‰-¨.ÕU°CÐA—‘·Éá…H‰÷ÏG9CàµF°Ñˆˆ3F%íí Üö]ûíêîE¢úÂtpÊU=5§æ7dD…ißá —pýGÛ1ÚãÐÐ’Û¶ïIáµå©Xe‘#=º‰¬e”#:^2Bj–Šxq¹+±¶x@sC‡3Žv˜ý¢ã‘a¿qõ ôßö‡foZPH™(^ZÌ—'®e¡kZâÑв,Ún¹¬Nµ½]Ç[q9º@ö‹‡½½ÊñÀðßì Þ6ÑxúËáxƒGéO)?ýe:Êuâ¢NÇ(~TÊ¢ªtË/§å†u«9¯ee”ÇèœU¤$×f‘Š° -¥3H[t¿Yð„xrŠZFeRñÖ¨‡ÒfG3òÀðç‘¡ k‹^Û±öÊà³Ë0~’ž åF>ÅYüöã=|…~}•H¡‘C%Ê–ì>‘"ÑöíªÑ±  k=ñyœ©½bä!Ú0;¨îÒç£óÒÓ¹µ'Kmb˜k{@AÀ×m>Ó^äœ?(´ä$FÝú\8šŸ©PX‘`U…:éa€*|Ç*D@Æ*ƒ#¬:ÎÍÞÝÍ$ ÈnÈWª‚—¨DÔÆ$Û)ßkö{0ŠaÍË"Êâü;ô˨H ·þg*Ó‚ir"I=ˆ!âìD9cò¼6’4¯-‘ Þ€GZÏn«Åi_¡– I°'/y§ÁÊÔ œ‚àšSkéBùÉs–KÖp[sèÛ󼳶¨S²ö³,˜lo0à¾1æácSOGÞ±ø -?Œ •  #ÊUl\àÐ7ÑkæÏ2«,€åF?Š_¨ø™Fr³…-#\¹&î§"£­….›2 ¸S˜@ÀçÈŠÊÇ8€\—®6XMñ*äÁæyOYùγÁžâN±ûLT¢ü WŲ§³¿N<~yBÞMDŒ@Œ -§5YÜK-Ü~:Y(h'{S[¸’úa²·Žc)SbYøp³b|mú‹×°›\-Î¥˜ŽT•_Y`î§Ü!íœßizéÜ­’ñþŽ~±OóÚlÊà|­ê!Sʦ7·ùöŽSçRî®Dca” 9"m±uŽpàà ¥]X”YK~¢ðVœuàøZãØs-‘—'Þ+âD¨(G_/ëé*ñl1™m‘Ò³’È + ɶeŒyÇ\cgô–ö—a°‹ÑùGhïm‰è²¥¢˜q«¾Öé‘Ã%[ ¿DNǹËι „ŽýÉÛyáËœ¥Yð¢s)+Ç ‡Ô¶džyáêQŸ~E³Zî¨òÜ@Ëóï–‘ÏòCþ.ïïþñqç^Ý«>A×Æ•;Wß7ýìœm¯ ƒ=—¹yWûÒXR5—¶‘’âö#•XÇÿÙRÙV•KÔaÇ7®^÷ñ„/L#þäˆÜ<˜qøyàÝ{d‰¶œŒKÏD+\pmÃ/ˆ5J­ˆð~X»ŽKÇ8`y¡AŒ i\I‹ÈE$Î¥®€ÑuÉ¡8ÖÝ,`‚×&qišé^?§í%ÊòöºÙénù<öÜê‚(:°Æuá8óšYœŽÇþÒ’ÌÊWÌS¨ '+f”ÅI¾#Ã¥P¨ ØQ˜E`ƒù=öNJÇ$ÜÙwßsZð»;ßo2ÔÉ`-¿&rQL¶"\?›iÂ÷6þS"½úû" -=?»Ü+¥žªNý†qO½_/•N&óEž> endobj -1035 0 obj << -/D [1033 0 R /FitH 686.127] ->> endobj -154 0 obj << -/D [1033 0 R /FitH 507.081] ->> endobj -158 0 obj << -/D [1033 0 R /FitH 422.134] ->> endobj -162 0 obj << -/D [1033 0 R /FitH 199.094] ->> endobj -1032 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F77 675 0 R /F11 573 0 R /F48 455 0 R /F74 666 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1038 0 obj << -/Length 1459 -/Filter /FlateDecode ->> -stream -xÚ½YKoÛF¾ëWè!P®wö½=&µ÷ °.E ²EÛdÊ•è8þ÷á.%Ò’([¢}ÚÕ>ç›×7Kñä&áÉçÁÇÑàäÌÊÄ3o„IF× pÃœñ‰q†°Éh’|K5l˜YëÒO_ÿ<ÿòy˜I)Óç£ ê©ôüËèkûgtz1ü>úëäÌ5NÅ)f•Ç;«ó¤¦%¥89S.`^kA«³zy&,!×Bˆa tzZ\ÍñBH'Óâ;‡~ïîgùæÝÏsLyŽÝæ¸Áëôz>›Í‡Â¥á Êñ ¼!½B:«–™ty-Ã’²Þ¾,ÇeìίC;.–¹æ.»œ–Ø0uIg<•«½‹œnª6]—ù"ç?‡Â¦ùb<#$yÐJürZŒOÃLqŸN :°ÌoòÅ2ŒŒyèä•npv‚(r‚CßqǦÅÕì!(ÖVh¨3£-6½—Óy†UkÍýC;ÕÚ9É`ÓJzÅês±Þ°Eü"ÿU'AÍ¿)çaàq1­TƒÝ0¤P—“8p»š)Q/UwVÁ*ÖMyÖW6h._é'§E¼8ZaÉ*A1¯z™`VGW?]iP+ˆð•HUø] O‡b9½)òI˜m$Lÿj4îì!óć°’¼#x©U 7Ü2ª‘KÎ7Y`Tj¨ÿ¢ã£-æá9"µùÊ›Kš~Šj_$dB9湶2áà <˜ æ -MÎÀÄå¿Uá|:ü7 Ùx Á¸³‰šIÉÕÝàÛwžLp=ƒIï’Çjé-n2K.‡œÔÄ Æ1#é(”T¸p¥EdÃÞÄVÇVQ+]*©å<±…Øò-¢ -@ÍËJTP¢KT°(‚–Øß%+ÊhO4æmL9àGgäÊɤ3¯Ufʶ¶„Qm `C m´Xά\¹!ßØÐÚØr c1i›µoª-§g`m%~;³µ -âÀ”ìÇ›¸fl&zÏÖ½©S È/ž9¤°Lb7&åÞÈâRKfT?Τ-^Q:3Íñ,Ž5.3®—,)>u­y'L,.…¯jÁ>0á‹^Š~ìô64.Ò’;ŽÆ£3=(¹>Æ%Vƒo@ãÂc*ñ²cb©aݱ¶ÜËâõç‹øÎ_2·ÏÈü+"pß÷{£”xS»‡Ä‘ õÊ^—œ#ó-™Ó‰Sò<î™Æòø¥<.(¤M/iJPH×zWî°“ÇITD´‡Æ½ûi\à‘ê•$. |éƒÆ÷¿žÄw¾Ô)¹ÓÃñ0øþuÚõƒ½c³ýÉöÔïÛÊn*DüynÙô|ŒtïÕ Ê”ê ßA”ŽÙ’yÞKÆÄZ vGdÌZ G2zˆ× $§™–ºLoÃè`0Aq,£W`-ºøƒÝ)Ó?£r‚â¶cêNG3Pû.JöÝ>ò¹xöiþ­äkÝxã÷¹¤h}³‡XŸ ©Óü-IΦ›ŸI#³¯þ «[´ùÿÂt ² -endstream -endobj -1037 0 obj << -/Type /Page -/Contents 1038 0 R -/Resources 1036 0 R -/MediaBox [0 0 612 792] -/Parent 1031 0 R ->> endobj -1039 0 obj << -/D [1037 0 R /FitH 686.127] ->> endobj -166 0 obj << -/D [1037 0 R /FitH 668.127] ->> endobj -1036 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F48 455 0 R /F74 666 0 R /F14 574 0 R /F49 457 0 R /F11 573 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1042 0 obj << -/Length 1773 -/Filter /FlateDecode ->> -stream -xÚµXKoÛ8¾çWØCe`ÅòMjom7}-v»F/MUlÅ6 K]InÚ¿Cåȉdlj{1irHÎ ‡ó}#-"½9{9={þÚF)I5×Ñô:bš­M¤­&Œ›h:¾ÄBO¾Nß?mD_Rh"´„m¼Ì«·/>NÏ?M!D¬È$1ÆÆ/ßM?N¬ˆ_L¸_ýõîâ οúpñùübúîÃ…ÛøŒmž¿f²wBÂQRAëNJñœßüŠóéÙg шEœ)b­Š´”„3ÍÖg_¾Òh“ï#JDj£/ºv⌤JEEôÏÙß÷Íçœ)ÜV†X*ðH3IÀ*Ö¡U¡•¡¡å¡e¡¥÷UeF͘W•îW•YÐTrèèÊ,'ÊÚH 0_ZÔõÊyúg›;?Ë! ¶ÎœpÍu–Lïx‹Â;xë)ݶôNËFZŠ1Ö·0)‘FFIÐcÀB¶ÇBæP} ¹ 6 ñ@X8néc,ä{,¤–ÅNc¡“vØBöK-㪞~zš;T)ŒÙ;wHÇ5W‚H¾Íotû¨ÇZ¿ÁN³–PÈ_a‡K*‡bœé¢†d^¦Q–8AX˜PYqv(6,d=š ­òÉPÙò¯y„fÎ(x8R\?ºŒí\a"í\Vî1OC ž Ù+¸ ™ö÷¼§v'´EÜ´už­1Ì‹¼\´Ë ‹ÿ˜$Rzøp"Ý‚½iµæ>:4#FÛ(‘Æ‚ŠŠpâ0‡qÿ™Ï*؇ÅóU¹€hrþ#[+òû¡F=¢¦*ÄØt JJ–Æ×UQTN‹¿‡ä4ÎÃ~¾Yâlƒ[¿„š6kƒHuÝŸƒÎ%UÔ&W«: ‡ÀPƒžñ›ϸ~^:#àˆy>Ç‘UÙ…ëiv7ñ·:ÿ¾ª6 þë)«ãìºÍkoòïNo˜`q8µ*³ú' -À)0ß拼[eu8ažßªô; '=+6èf'á”éëb»Àe³¬]U%Þ°sŽk½ú.y‹#ß¼lÕéQãèuU£\X â2ÿV€GÃ\…àÅ9¾5&/¸D /΄Pù³(—…eþ&ÝO…WÝž›²Y-Ê<¬èy§¯ëj½c‰¸u½›×hðÝHvåÿWîæñ.ÈPš¤Är¯7gûXž„‡¯#)ÀÛéÓÞ=ƒwo`'E K<¸mOò(C’!BˇhË0Ésššto -fF©Ù>’ئ‘¢90É ¾ -D…z"|2€O±«ÁÀ§ -ÈXt g÷²¿¸`”ÓCø\x,I  -EíI¢ Ät‡’´_ -@4ÑM"Pž39>},+D“€/Aé¦Na“Êd¶‰=Á&ý`l²’<µ² &YCLwþ.x›4Öî{H«xJèìïÁ|w 2 eÂI»šû³«›³b“ߦy¿‡s“?Á!l(ËûÆÑ¢”woæŠ ¼P`P:e·ÏJ±@Ö|®£RV÷ëAéÓ!‘'ÆÆ ð­y0’––ž&ª€Jûï@%˜zšÚýPb¼¦¡D0‡·öH(Ô.ùI dGƒñó^àJŒØÖSÇ@‰†GUÈ!$A>Ix -¼ÜêSDO-<@1v -Ž_ %Ü -";‰MV“”Ùa›Ø©mÚ%Ü0"ÌiîÉåÖb¸p³éX,qñ‹€„$”>H¦ýª£]BÕ\©ƒj7.½CíÃ`Åq°¬…Y€Ìú½ÏÅ@Þ{å-¡”{Ûµ ø~ɽ³¤¯¿ëmÕQ´Ëj³XºbÏW8+bU›{€q N{[ò:HTõjeeQü ³õªmó'³&´8×€AEoçħôP™ ”;] Êñò°¥*nªuŽ½€Ë®;h/º* P?-•Ü¬æí²ÁÿXйVÖ(Bo þ^¹3,X_øož_R&ñÉ$QÊÆŽgu»r3³U$³˜Á:GJ€CWXoÊyV¯ò¦[™cgþ­ç0¶*±©¿·ì•¯HQÝgÝc‚Å;ŠÇÎÀºqÆ(ÔDéî©Áœw—êªe7°C†`æ_ñ gªÒÅŽë¡CòY¶iòn9rIןUa ÿ=Ä—Üw˜9þ¿ _<œð6HÜÔ‹$ÍÛ[êæB¡§-ܬV&~›ÍQp.;ú¸™&èâúþ=çÛ~÷``YݱcPº]DgCš±I·_ÅÎ׈:o7õVnCõ¦ŸM(å2sÿ»D˜K½çóò7½CaáÖ7PG2y› ‡ò¥#!Ûʘ=ÛЮÐú^~A -endstream -endobj -1041 0 obj << -/Type /Page -/Contents 1042 0 R -/Resources 1040 0 R -/MediaBox [0 0 612 792] -/Parent 1031 0 R ->> endobj -1043 0 obj << -/D [1041 0 R /FitH 686.127] ->> endobj -170 0 obj << -/D [1041 0 R /FitH 531.706] ->> endobj -1040 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F14 574 0 R /F49 457 0 R /F11 573 0 R /F48 455 0 R /F74 666 0 R /F77 675 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1046 0 obj << -/Length 1700 -/Filter /FlateDecode ->> -stream -xÚ…X[¯Û6 ~?¿"ou€&ïöc»gÀÖaM7ìT‰•Ä¨#g²ÜÓö×7Åv³½ÄEQ$E~”²Y›Å›»WÛ»¯óxQ®Ë,ÊÛÃ"Üdë"+Y‘­Ã(_l«ÅŸAºŽÖËUžÁwo¿øéÍrÇqðêaû©$xøiûVx¿oïß-ÿÞþðâu1Ò -Së<)aOÒç(r·+^¼NŠE®Ë4PzåÅWQ*âÁˆd¹ -Ã( îMµj«Ÿ—q¨=þ~\ÆQ X‘§Á˦>š³68ážZ³Y¬Âb%+Þžôr•”%ˆFEðåRïUƒŒ"è;™iüÝÕîûØÇÚY¨îduËß‹"ʃªßËê³2¤™Gµ©ô…$4P0“ÃƤiGRN¯Ú¯+´œŒ¥Ð°±~{üõè_€Q§zêN8„ÀXÍ|}Fé]U ˜Ø5Y…fãHñ¢FÙ£¶Ìzbq÷-¯Sµñ‚³ýÞõV?‡q 㞌<Í9 ÀØd &ô}{<2á¬2Ý…Œl­cÄtku†ôË¢MpÿÙikTÓ|Yq»%£’ݦKx¨Íž ÈmÚØ òâ䜭WE˜ß¿Û"Q a×cmx¬LÅ"Ú­á¯ò d bò9´½©”7’|K‹2x{pÚ.ÃtÜŽ{ïa/|&EO´$Y×7N2×ש’ïÍšÛ@0E¸g°gœ":Tµ«[ƒU†ÁKÏÀÉC‰hÌcö5‚¶Aw…k;f*h?VHÃ+¼U3{'â;FM˜íŸ'E ‹:›cNvHµw²C~ÝÝIŠà½i@}ÍˆÄ ~žßÚ]MÈÚ®“•¯OJþ¤|C\SÌ^¹onVÙ\„©ör¾,à—?¦µgE%˜g_hyE¦êÄ8BýKäb€Ó‹ÎTÊ©éj¹lv]½kéRh¦Ð9,x¹˜qƒ¡5Œ%¸£åäÒÖ¶Ô¢¯¼ØßõÜiͯé;gCœÂ¿Cð“Ê爃ÜÒàêaB²@k‰¤L"Ý Bp$(+’x˜™V ž}×ÛÞñ,›Lb›èŒQ'Šg*íl‡ån]È ¾7+4æ×”¯PÒÍ¡ ðºï «Âhº½”‰lA²Æ^s…Ÿqøáã¥çFíæÌœ6½á«ñ Ï·½¦ñ1ÇY@ œ7M„rû÷ÆFƒ±ò 4̼ñ<9ê`3|MÜ0TñG®a@Qâ"1õ%zÙ°êbõ§ºí;I+ª#¤GŠ‰Û]&‡ãú¯vU7ϧ/G‡O7ʹùÿñßûíÝ¿}« -endstream -endobj -1045 0 obj << -/Type /Page -/Contents 1046 0 R -/Resources 1044 0 R -/MediaBox [0 0 612 792] -/Parent 1031 0 R ->> endobj -1047 0 obj << -/D [1045 0 R /FitH 686.127] ->> endobj -174 0 obj << -/D [1045 0 R /FitH 668.127] ->> endobj -178 0 obj << -/D [1045 0 R /FitH 408.704] ->> endobj -1044 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1050 0 obj << -/Length 133 -/Filter /FlateDecode ->> -stream -xÚ]Ž;Â0{ŸbKoÇñÂzS&– ’¡ ¢Cpÿð-Õ+f4zîàa6£švè]ÏAoбwÌXØu!‚^álIð¢ûvŠôk;âÍ3óvÒnX5±!"»uØÄ(v,º¢0ˆM‡RçOK=åªe©¯°ñß7ÿ›Õ<+A$Î -endstream -endobj -1049 0 obj << -/Type /Page -/Contents 1050 0 R -/Resources 1048 0 R -/MediaBox [0 0 612 792] -/Parent 1031 0 R ->> endobj -1051 0 obj << -/D [1049 0 R /FitH 686.127] ->> endobj -1048 0 obj << -/Font << /F8 458 0 R /F73 507 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1054 0 obj << -/Length 1099 -/Filter /FlateDecode ->> -stream -xÚÍVßoÜ6 ~Ï_á·ù°Zµ~X¶û–vËÖ¡:àP`ØL9+9a>Û“}-ä)ÊÎ]ât+†!d(’"?}¤/On“<ùî"òõöâ啪‘3­E‘ložkVé:)*ÉS“üš¾Ù›a²~“ɲHõæ÷í¦XY•Ãò$+r–+E¯Ý4NÞš…|oMcýHUR³Z =‡ –KMa—›LÕ"Ýîmï ê2½~È„G×›LT©½uÝH†OnÚ“6í½µ´÷‘y0» „ü¹ej§‘m²Zp¼âs®ºb¹X!ç¬."ÆÛ›¬àëÞµ–ÔXA™6®»%Sè•ueÍS¬=• ÎOÇçUŽdôÐB¤éã"éF ùfZƒ~ìj3×-¢” -€àñ) ñèèùùgðlqU~Î!YñuW7’4$º¾ËnÌdZú×zßû9g,õˆ‡?^n*™þBÿĹŒ¹o»žÚ'pp7_vZ}ú“怤´[êó!JÆytÿð^†o€ˆðà×®uÓ@º{º^p™éZAŠ‡P¥‘ò­³¸@4¥#Í‘žiOßã»}ô€k yÌ-¡î¦‘À)o\‡Ãfóýg¯u¦m‘ë+p2×°ý8 ö‡·tðùóÑ&w “à9RÄx ,ÞãÓpäúÇÀgžbãÍÁN¡ô7ÔKšk‘±ä†« ¡”)bŸß"˜HKZ¨tý-+©Á<õ$ô¨Ðüà.¤Â5<ÚG)ð &9ðíñJ(1Ó*5¼Æ@„3~R¡!)ç©U€Ì)<’9’µí­OlùžqÅ$àÿ$_^•ê$_Vç °„b*¦8§¬9|kè€G)¢”k,çB_‚„$¡H$4‰’DE¢&ñ¿Ì&¶`Bžwüuö/ÿÖzlÊ‹|ù$aÓÝ`£ù™ò髨-–ý‹}°¬<Ø—-¿Xʧ»û'Õø'sbð+¾•“a 6/€fÿiÕU ÷‡»qB?»s7°eƒ«#-øÕê9dï©<]zy쨿`3'#}º!JΤ¨aYqVUtÝ•»=†] -›öÖ+üQr²·Àºì-ÐßãÞ>ûÝKöwa¡ß¡©‡]õ¹¥“àVáŠ>Ó2V!볘o·ÉV| -endstream -endobj -1053 0 obj << -/Type /Page -/Contents 1054 0 R -/Resources 1052 0 R -/MediaBox [0 0 612 792] -/Parent 1058 0 R ->> endobj -1055 0 obj << -/D [1053 0 R /FitH 686.127] ->> endobj -182 0 obj << -/D [1053 0 R /FitH 668.127] ->> endobj -1056 0 obj << -/D [1053 0 R /FitH 394.473] ->> endobj -186 0 obj << -/D [1053 0 R /FitH 330.419] ->> endobj -1057 0 obj << -/D [1053 0 R /FitH 302.192] ->> endobj -592 0 obj << -/D [1053 0 R /FitH 134.074] ->> endobj -1052 0 obj << -/Font << /F48 455 0 R /F8 458 0 R /F49 457 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1061 0 obj << -/Length 1893 -/Filter /FlateDecode ->> -stream -xÚ­XKsÛ6¾ûWðVj&Bð"æÒq»qf즶êN'ÉLh‘¶ØJ¢KRI“æÇw RÔÃvâÉE\-ÁÅ·ïxtñ藃瓃§Ç.JYj¤‰&ב0œc#ã ÒF“z?yýôت•‚q£@Œ_óâÕá›ÉÑùh¬”Š ­uñó“ÉÅäüèð”دŽ__ °<=Öé@ê¸;–˜Š„ÿºjoW-q*¾ÍêlQ´EÝ<ó‚Ž&ÿÅ#±†¯s‰‰¦‹ƒ·ïy”ÃË×g6µÑ'¿t)²„§@Ï£‹ƒßö˜"Ì©˜²Éì=k!x<I¾ÒxRj_ŒD\~p\$¸e‰v –`i’Œw<áWeÛÀSøUÊ1{×\”7Ë"ÿ$IÎã—E3­ËÛ¶¬–dÉl™#¡ãz„[Á~M[—S\ÐÜcž0gv¬¢Sw¿U6TN–#éⶸ)jP‚~Í—˜ø¬òDOfdå¸Å¥ÞÈ.¬ê:¼êÖÌŠ,GQH_‘;Æd}™2Ë·¬_.oȆy1­¼Ü¼ÈÙÝFK¬aŽëï¥=Fa g‰ —h¯¬.³«yÑ`lëxÕù³]ó¹„%2íÌwV- 7[æÐrE…=ʦh³šVö¶Aú–Þü?EK¼+²ìM¹lˆñ©lç޾ÊBha|ù¸ÇC‰ï¸ÐÅ÷½ÿ‚Ö{걂zläã+2T ?hàe^ kÑ›Pè¨*KÇR¾Õ¸|´¤g•Á@¸Ø0“&vÿŽCdkÞµ ØaZ-EßÒA3†—c{dÚ…!”f ×‡x8é=r1jÚ‚.²º}<”±ä)3Vo×2'BäÓ·Ïœ6§›0P-|P5áè@‘7®êæKZEêà‚Tx¢a”§€°! Ǧ~ jK «¥¯)¦w, U¦ñcD ‹V·! ò çsX¯šh6¨€ 2äu= 9ˆ0=hµžzœ}”À:€ð©?”°5^#+Ìt_‡Ã°Ëfýéž"S.˶̼Nö Úۑᶴ[³Â×ç…±v¶+Å°6/¨7«²™M÷ywÐY˜ëºZЫ੊˜yÖfÄ܈ï‘f?lP¼6PV¦!á@cÔhd™†y ¹ˆŸ0“z%ã7øùvzÑ~ Fª±5‘×ýf½l8ÊÑvxLÜ×á> endobj -1062 0 obj << -/D [1060 0 R /FitH 686.127] ->> endobj -1063 0 obj << -/D [1060 0 R /FitH 668.127] ->> endobj -1064 0 obj << -/D [1060 0 R /FitH 634.254] ->> endobj -1065 0 obj << -/D [1060 0 R /FitH 562.465] ->> endobj -1066 0 obj << -/D [1060 0 R /FitH 514.644] ->> endobj -1067 0 obj << -/D [1060 0 R /FitH 480.827] ->> endobj -190 0 obj << -/D [1060 0 R /FitH 320.359] ->> endobj -1068 0 obj << -/D [1060 0 R /FitH 294.498] ->> endobj -1069 0 obj << -/D [1060 0 R /FitH 266.665] ->> endobj -1070 0 obj << -/D [1060 0 R /FitH 232.736] ->> endobj -1059 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F74 666 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1074 0 obj << -/Length 1729 -/Filter /FlateDecode ->> -stream -xÚ½X[wÓ8~ï¯ð£r¶$[2/{ -i!ìR É²p€×qŸMìb;@÷×ïŒFÎ¥uJÆ}±ÆºÎ7ßh4’ïÍ<ß{~òt|òø\K/æq$"o<õ?â&Š½ÈD<ÚO¼,â‚÷úZ6œ]Œ‡çÃg§=£ØxØëìu/`½¾”Š½8;œ]¢,ÙàìÙëÁYïóøåãs³µ´q­bXßέìrâ;ÎÆ'_N}/Ø(i®Eì¥Ë“Ÿ}o/=ŸëX{ßl×¥'ÌàÀ…7:yKȶ—0<Ò‹BÍ…Šhñ‹d™¶¾4lÜšÝ\÷úP@J²QþO†Úy1êyý àqÒØO~è_åM ¥…àIà Xl»Ï(ŸÙä7°Rl6Èê´Ê¯›¼,ÈDI1!»UYÝTyŠ-µ5G·d̵¼c›ûÍÆî X:8;ŒžŽî2¥™5Qâ' k²YVÒÂ÷™h§0b¥B6ž£é¢5e“,H´ÃVKü^Aa8Ê)–ŠÕ«ëú«EiÿSò·µ°Ðýx—¼5#qZ#&KtÉŒšä}á\‚±v&¹ø)äQ'r«¹Œe7rl@äØ—jDª©m´¨bDµø´¿=â«#²ˠň⣶µÅˆ ˆËe’Ve·o“m %b+…ûføì¯Ãá -¿®1û–OÀ³š9þ k¨k{\çð“¢ç5+*W]e3Üë?tàëü{¶¨BøâheìŽ|6·ýáßÄä P6¶ƒA€i³ªÜÏ/„õþ0X`™=AH±÷XÀnûä²Î÷7¥²¡^r ‡ÜfvÝõÁÐôhŽ íá…ÿ ÚùåÅÑ‚ …qØíý*i2ÒÇE˜ jʪS-·Ø-­¿T«IV”˼8H§7½8b§?c.¡: ºHLjw¦ jš—T½1`¿cïÃÑíÍdp4 "Œ[ (vÁêÖæýýN|Œg£cmIô´\”9G}¤ÙÃÝâüp5ö;ª3£=7Ëj™4?Ö£M†_¿zzy4J1á%º0S0>ƒ\™¶þØìJ U{É„œ8K–vsL¹] ÚäThó,-‹ÉÃÉûçé‡Û=Úk÷/«d‘7Øÿ†šç4úÁ~ðûyO -ö|ôbx>>\³°S3hH‰ËU ZCÿM‰eÄêy>m«Ú¾ã´&27ûy±±2ß&÷šaʳâðŠÚ¯œAPF±´‹)?b³*¡Ø´ 'ðw—!~Ë:Çkß-qÌ’ß;¯EB+.´Ûï0Î%Už\-2t:¸ò®êlòä.;&ä¡X³sQ´ýhŸ‡&`p‡Vî¶åKÍrˆh–ÇÎq•&t3Ä–y–LZL81·¬IL¨µž—Us»£†<•rTÍÊbqC’1;‘€ e‹‰›ÑP}C9z?PÈ}?Üõù Sm µÜfg™ðüq/"iZV°/a«Í¨·&q¹ž´Mž·È¼@çTò>qiç-PµE Ø!GtK«-“;îCRÀ‰o¨¢=jˆŒâ³Aü€í¸M T;‹GÎ’nW©]áàþ_þp˺‡èýn=˜ÿ Éâß -endstream -endobj -1073 0 obj << -/Type /Page -/Contents 1074 0 R -/Resources 1072 0 R -/MediaBox [0 0 612 792] -/Parent 1058 0 R -/Annots [ 1071 0 R ] ->> endobj -1071 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [165.458 189.585 180.18 200.433] -/Subtype /Link -/A << /S /GoTo /D (section.6.1) >> ->> endobj -1075 0 obj << -/D [1073 0 R /FitH 686.127] ->> endobj -1076 0 obj << -/D [1073 0 R /FitH 286.231] ->> endobj -1077 0 obj << -/D [1073 0 R /FitH 219.569] ->> endobj -1078 0 obj << -/D [1073 0 R /FitH 175.486] ->> endobj -1079 0 obj << -/D [1073 0 R /FitH 145.295] ->> endobj -1072 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1082 0 obj << -/Length 525 -/Filter /FlateDecode ->> -stream -xÚÍ–ooÚ0Æßó)ün‰¦¸þŸ¾ ”tƒ±¶›¶IE%ëФVbTÚ >ü.±!˜Tmj6!ñ\Yw¿Ü9‰¹'Œ\ôúEï,5$¢ ÅWÂQMÀåB“bA>y¡ð¿—g©–­•œ2˜¦^3ÅÓ"Éý@Jéõ­×ÏŠY‘'ñØÚ£$&ù¬JÖcŽà¹ŠÕýêWÊ2¤‚¥`~EZyÜ©p*«š˜'àœFJí+Q¯­DX‘VB+Ê -XÑVŒ•ÈÊ™¥ºÛ@Q!Ûwü:øËß©6np¸8 ý4X_l­Ûõ+íœoGNÙ8ûÙ¡äÛÇ#šÕ‘3ßs껻Ǘ'‘_¸Ë®x69äÉ“ëÆR÷{:îßø YLj`D]|„Ï¿Üã™fƒJ©[Ðé ¹ÂúX»Bh¶§‰DM… \Â?™$Vÿp0I´>6H_šO~׸„d=8¬Í4Ó°S&u‚ixÀ4·’]ozÁ±bµÃâªSõÕÆ}wÐBP. &h¿Þ3 @×> -ј¼÷óyzôþ*~ëÈýR½I/f£,-Üå4uA^þ°ÁŸA¶N펎(cÁQc¸Í—.ïŸVåöè"Îý •—-Ê_o½üÌxx7_/Ü9¦œ/Ê•§¾ÐÞü®Zø½ú+×Ï:Þ$Eï»™ñ£ -endstream -endobj -1081 0 obj << -/Type /Page -/Contents 1082 0 R -/Resources 1080 0 R -/MediaBox [0 0 612 792] -/Parent 1058 0 R ->> endobj -1083 0 obj << -/D [1081 0 R /FitH 686.127] ->> endobj -593 0 obj << -/D [1081 0 R /FitH 244.632] ->> endobj -1080 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1091 0 obj << -/Length 2662 -/Filter /FlateDecode ->> -stream -xÚ­ZK“ÛF¾Ï¯Ð‘ª²˜~²›{s23›Ù*;‰=›]—“G¢4¬•(-Iù‘_¿@£›/÷hìl."û…FÐ(¶Ø-ØâïWßß_}wkä"OóLd‹û킳,µY¾Èl–ra÷›Åû$KEº\c“»ë›×÷w·w?¼\Z•Üß-W<ùiÉ“×Ë•”*ùñæåõÍ|—ÉõÍ?]ß,¿ÿÇw·v´Œ¥Få°¿£­$N¹bž£ð\¬¤à©6b±ÖJ?;Ì^¼_iÆ’7e±M¿¢ÆgžØÕCÕQ×¹n«]]nh ª—Â&]¹+¿¢%£‘2*Á¿¾¹ù5v4c2ÌiË’»mŒœMsmž¡fRiT˜SµÄÝ®)‹®D){v»G:¢Mø $âQ"Í„^¬8‡]4­ïK˜&2\êArØh; w ÷C’øLõ‘äRTn™IŽ§®:ÖÅž†·ÀŹ)[?ÖPoesjÊ®Ï_ãpº+táTî6G˜³Î‡Ò“í(¥‘¢{ôØžaW`¿¤æ‡¥0IÙ´°u·øTpF< ö´'G¹\W¿1®ÖŽ)Ý@²+šÍ¾lÛñb¢Šñøa©³¤ØŸKBö1¦Wгò[Pò‚l÷tdƒB°Óéž›rMòÙ{?¯X¯Í¦ªw~ý1Ð ‹ZÄÞÌ?±—••©â †¥R(bJ_2*%Qøà™7*%ÆF#S£Âq£©‘:ˆâöÕ÷ÿŠˆË¦BÚ‘Q)#“{:&~õÏ·÷ÄÁ)šºÉLüæÎDœip Ô”œ*ö²9ÝLð@73Ü”¾—Ô/Qº qæ=Ò¡g2%èÌÉÚÛ¦8ø!D5>ź9ÒëÃÞ› -î?mÏOŠÅº;£e¡ž?VÄAr &Ùo cnKè:UŸÊ}Ûã+¦"Š(…«Ñ,ÅR¥{ÿƘüRs&åyO‡gsà ¡ÀMÉ)ò²KÈË2‡€[=ø£ˆ·*~ÐBŸÞ»ý|÷CÌ -°55 (H˜ˆo½ÄF}¤g¢‡_ž* ¡¦¡‹ ˜jáR@ÈÕ3Aæ©üt\Yª­´Ûqtè×G j$sκ#n„¢rK=Eã'Á™6xs²<)? °K‚îñxÞ=Ò¤c½ÿì)±%'#áVQ^™‡5RW,KÚ3˜\¶®|,‚ÚÝ°n°¿¶Ÿi¤¨}܄ã(›.¦€gžêÑ÷ª5ÆNÔ ÷ÍQ­Y&‚Z*=3ê²ç bŒjµeCB€yRs‹qžë§Õmu8íÉ=mhàT4­ÇÚŒMœZ&¢Ç``j‰ö’%‚B>¬,ºF–hgqˆ[µBÃS>$ `…‘k@€åðqbóÞ -°·BØs°Bh8+„á™°µÂŒ?i…äöyŸ˜=ç+íMPÇ÷Kà÷¸+Ás7ÄÈÇ - ù%#p…å"ÿŸ…¦š´!åHt•…Ë ¬ ­þ(©Ë]'~ˆd—óÔd|–>Tíiï³øñQ2³ƒ©IfÀiì\¢€ïx4w1ë·…ÎÉ• mwu9•%oK?é¶Ú!EÄ%lÑìôòÆ!)Š”Ï€ëW©“—;H¨^Ä Äy;Ù{; ñ…6þàmY·o W-XÌó¦”_0%‘Sž,ròdì:×à—\EIÄ»4mbXn}üzcàñÕ*ÿŽçã¬YIŒ¯B’ -´É¶ð­±°¶…¼ô¡vŽB-8ÍfVö„mÉÔõׇ¼* `lD%ÆNîêß 52ã9€a«§0àì"´Çp G.[3Íë õ>Öü»èdžO4n@$Ô®Çj×^íz¬v=Q;(‰?¥ö'<*ÏÌsqM®Ìeµó±Ï|Rífˆg¿Fd!€‚+{æ½Å“ÞÛ@:cí·€ ½·èK "ê½EðÞð2YwËû’“)(wª”Yª ’l ífµ/·MX›Ú*–_ßo&¾ßeÁ÷;º£ÂxÈ—Cï³¾½kÌ—Ï,Í€âøÌÐø¥ØEªh™D -»¨l»¨™‹u+ⱋLs9¤Jo^GÔ©àÊÛ™é3M¤ëC``]ÔÈ­bcœÁ²4Ïy,ƒý -©ˆ‹R±$;’Jžœá& &Ÿ 橻Ǩ¢øA0×QÁh;LÞ Æö‚±cÁر`ìL06WñÚRîj9ÇÆEÎ>¸çTÖäY‚fô©Ü¬|®Œ#«òâÛ‡jSi^ ¬M–Ü¢Õã¢@Ï¥0³-0ÞÞøÞ.p8 R+UãôÀo.X_儈 œœÐýøMHšxBL`wusõ_oJ|!„N58+¡-Hœ/Ö‡«÷¿³ÅÌ~tS nM ˆ÷‹·W¿ÐWˆÉ–H+ÓhÉ”I}Y§™Z »ñiÝ6ÈŽãk* µÚŽ¾Aµ3éj”Ã`BU£C¡<…z»ê0 ÊÒ¦ZˆˆP%øTiÓvÔ5¥¨¦«œNÜBoÄMë*œ9$ÄÔ{(Cé¼jÔHœç/êqU`Ødš£ºí&ð’©õÊïŽî,˶ôu—ëMmUW]EeBãˆÅ oñþû ——*z’jÉ@0äpØ5*åÉq¾zÈ'ëÉpWë¾Àðó2Ï’—1‡(Dù(—›…KůÍ{ ɜπcˆ0VÕàüÞ÷ÓÇa LШ'öLå¾jïÃNüþã©ôßʺ¿¶Ô5\&wu\ôñ‰Cè܆/E~³W/Ñ´ßQcøÒ>T ß üÇ&–)'Åé´¯ÖýÁ8\…ñå'lÜG[lœÇ-ú2@´nî ïÇ7å¶8ï½#ÿò“©ëæȱ|ÁÃ` _¹?¼£Æð)ç¶Ü¤Ñÿ@¸ñ?ɧ“ -endstream -endobj -1090 0 obj << -/Type /Page -/Contents 1091 0 R -/Resources 1089 0 R -/MediaBox [0 0 612 792] -/Parent 1058 0 R -/Annots [ 1084 0 R 1085 0 R ] ->> endobj -1084 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [401.241 418.519 415.963 429.367] -/Subtype /Link -/A << /S /GoTo /D (figure.2.1) >> ->> endobj -1085 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [429.742 330.05 444.465 340.899] -/Subtype /Link -/A << /S /GoTo /D (figure.2.1) >> ->> endobj -1092 0 obj << -/D [1090 0 R /FitH 686.127] ->> endobj -1093 0 obj << -/D [1090 0 R /FitH 668.127] ->> endobj -1094 0 obj << -/D [1090 0 R /FitH 616.177] ->> endobj -1095 0 obj << -/D [1090 0 R /FitH 571.943] ->> endobj -1096 0 obj << -/D [1090 0 R /FitH 527.709] ->> endobj -1097 0 obj << -/D [1090 0 R /FitH 459.565] ->> endobj -1098 0 obj << -/D [1090 0 R /FitH 405.313] ->> endobj -1099 0 obj << -/D [1090 0 R /FitH 370.543] ->> endobj -1100 0 obj << -/D [1090 0 R /FitH 326.862] ->> endobj -1101 0 obj << -/D [1090 0 R /FitH 296.521] ->> endobj -1103 0 obj << -/D [1090 0 R /FitH 228.376] ->> endobj -1104 0 obj << -/D [1090 0 R /FitH 206.115] ->> endobj -1089 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F14 574 0 R /F61 1102 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1113 0 obj << -/Length 2359 -/Filter /FlateDecode ->> -stream -xÚÙrÛFò]_·«LsáØ7)+ÙÞµsHLª¶ìT-LŽDTH‚@+ޯ߾$td_8=9úîžf<qðöâjqñÝMäQžè$XÜ*‰£$Iƒ$K"¥Ó`± ->…ÖÎ~[üó»›ÔŒVª(N Ck¾wùÓâúv67Æ„I4›§i^½_Ü-n¯/?2úÝõå?®oïð°‹X(èÆ1såL”sÒðÊE£½Á§¹‹ãðÖ«Ù\'yXìxÌæ_Ê–Áî)v^”»™NÃÖ?øZv4ÌšÍG¬ñåkw¼f$'%¶[ÜZmÂźlä ¾Îœ ‹ÍÁóô¾®¶cz=•…‡­¯‹©p…7‚@iž ¢Ü9¾mS6È[¦ÃêG¶kψáÛÊMñeãùû²ÚT5¯höÅÒ7o`’ëð¡üŠüŽ¿•2.f™ i7 -[—qP? Ü’ØqY™m° R„ÐóŸ_v+ÿ9Vð7¦å( ä0³VîVåD€âË2à«hê9ȘËÝ}Uo‹¶¬ˆò4|Dí²{WµŒ- ÷&C©ÀéUw‹ ünI¨påkâ$ß·Sd~¼œe&ü7µNÂ/´Åó¤ÙólY"×hu¼pß¦Û ’¹Ÿ©p¿A~‰~Ä}- ^Uìxô¶¾Þžm}±k2«Ã÷÷r ª}ãkÖæjŠdfŸLÐKŠÙ[ÀÆŒ^ù£$sd&µ¿?4ža”"îl‘kš¶öÅ6šôún¼^\ü!–¦­]dµ \î€,·Ÿ~‹ƒ|¾À!Òà‘–n ~¨rôÔMpwñóy<ÓFE6ÖËàÌT±0~E^XJCùž­ ‰½#ëBR§IJáh}J‘ͳ¿@‘…¸™eK²È)ËÅ :•êpà/Ñ”•¬»õˈånÓX¢ëçØÅ¡ßù%™Õ“L{#©S†cÔäÝzêî«·g—Ûð,›ÂØ‹4¢A¿LCÂ4˜ž6÷4ì¥"CºP¾”벜`¢<{7OH-£ë´sOÛ‚Í0­ä¯˜güTÚÕ&ΣPIÆ·/ÈL)^qR5Gß·á5e±Hy‹R¦¬±âE(9 „É•qjÜͳŽbÈA’¤#•J ’g¯q1Å ´…Ä dµ<=æ^œ•”ä$÷Ò¦éÜ 0}YñïnÏӯ͢$MºExKyÿ­Ü=©±yÈÉT®¦ª‚†!ŒÓ`<µäÙ<âüDù D´Ý -ÃmæÂ[ÎJƦ?¤à# ƈt­— d¯CZʧ”œšŒØLÓ(360`®±I•1a 0(ëÐ\ûuŸã8ž(Hâ(vº“ˆâ‹…_€$/ iÌÃEÍÞŠpí÷µŸw25Ž%âæœT£šâЂ©üe!ý:M_qAt˜ƒŸS¥qnCÆF9\ý‚ ÊÓ~¥ëpEÙFHr‚©v›ocŽ ž®Åª…ž,È`ÉþÀ¢eq:Ù,‹ó×+,˜-9ë2“Æ`9Dà‡i¦äîEWMâX|ÀtÚ”±!dÈç -Ø2@š3Š‹2DY…É1¯ŸžÖøÉÚ‡ó½ ÿëkÉü¦+Þºô_´ò½+†õ•Ô¥„-ªÕpñ²¨G……9–T‡ ~‡æ*RFªcx®tÏ„ô¹h•;Ö ~% 8ˆT0½hÃt¤rðJèMòç_.?œ[DQpˆÁC!1±<ðà¡~ó$ìÐá9–Œ{6Öö _±§ 2ž>yc¦7Jž±ÅŠžò®0˱Œ‰JÈŒl ±/ØCId¸‡ •áÇ5¾ZVÛ=(n%‹+Ù »êf*#7d‡%½ÌœíkdH¹R‘²)¶žQ§µ¹ÊÂEÍÏ8XØ¿*žm7¯Ë‡u·rÈ"X¾œE™°ö%‡pG®‘r˜dõ «Ú,¼çÐo¡R/¶û4'N´BŒWÛŠ¡Yê5'×ù?OÀI}E¹+»ízòÁÄB7áÐɧ¤3Çî&^öX¶ëÎñ02øÚ÷†¾ßÂ…Í«|,{ÆÇlN9Ç>†àÑÇp6ò1›?U ¤*r¶÷±ÝÌŒßÞ½{³8÷5—G©>Êó§3”Ú¼îØžúªoˆÌÒRqÔÁ~«ö[Á-ÚR¨IgÙ<ÔqApAR5¨F*¡d„‡¦©èã²ì»´…Õ‰/–¨Çuw'Í~§ò¸eœD¡ŠìŸËÕ”UY”¼Ä =>ã\ø€¼¯ÙC”þ~é‹ ü@] -ÝñÀ¦häÌßÉ ¾ ÎÂÎ(-Ê Ÿ¿Pà Ì:o¦" -u\`ɯ­êî²b4µ6Ž4$áaßW€4O¦‹/J|Z—Œl -9õZS‚ó²n)gÂîãºÜø -7•()“2õäÚ,ÌkM"V;'ÅW‡–âwqAT 0©Uü€Zµ¹f­É1M¹[ú“XÙ‰²i:§6ð6Á˜ÙN†¶•r6Ò§ É°–`ÿÉØÁUBÕˆ³C"µY8Žbƒ£+/&:5TÃL¾`éÛíõÍ«"cþ\õ¡ùuƒ–êC {”øaüNÒO¾“TeZ§ÿŸn&*fÅ£¥Ÿ‡:lîž=+‹´NÏ«e o`<͈ÃaqSòbŠ:†Z|f\» ‹¦nÜ ]1NZž)$ˆa7I]ßò6÷½/ÿô¹GH®–%£žg*Æ×ôÙõââÒš¾( -endstream -endobj -1112 0 obj << -/Type /Page -/Contents 1113 0 R -/Resources 1111 0 R -/MediaBox [0 0 612 792] -/Parent 1058 0 R -/Annots [ 1086 0 R 1087 0 R 1088 0 R 1105 0 R 1109 0 R ] ->> endobj -1086 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [388.905 643.276 403.628 654.124] -/Subtype /Link -/A << /S /GoTo /D (table.6.3) >> ->> endobj -1087 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [371.239 551.976 393.71 565.924] -/Subtype /Link -/A << /S /GoTo /D (subsection.4.3.1) >> ->> endobj -1088 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [376.982 540.021 399.453 553.968] -/Subtype /Link -/A << /S /GoTo /D (subsection.4.3.2) >> ->> endobj -1105 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [460.436 205.315 475.158 216.164] -/Subtype /Link -/A << /S /GoTo /D (table.6.4) >> ->> endobj -1109 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [441.365 117.248 456.088 128.097] -/Subtype /Link -/A << /S /GoTo /D (table.6.5) >> ->> endobj -1114 0 obj << -/D [1112 0 R /FitH 686.127] ->> endobj -1115 0 obj << -/D [1112 0 R /FitH 668.127] ->> endobj -637 0 obj << -/D [1112 0 R /FitH 480.123] ->> endobj -1116 0 obj << -/D [1112 0 R /FitH 450.093] ->> endobj -1117 0 obj << -/D [1112 0 R /FitH 382.149] ->> endobj -1118 0 obj << -/D [1112 0 R /FitH 314.205] ->> endobj -1119 0 obj << -/D [1112 0 R /FitH 234.306] ->> endobj -1120 0 obj << -/D [1112 0 R /FitH 178.317] ->> endobj -1121 0 obj << -/D [1112 0 R /FitH 134.284] ->> endobj -1111 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F7 674 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1124 0 obj << -/Length 1702 -/Filter /FlateDecode ->> -stream -xÚíXÛrÛ6}×Wà‘šFî—tò§v.S»n¬ée’<Ðlq"‰*I%q¾¾ €”(‹RìD™´3L»gÏ. èô¬w4ì=<ÑYlShx…(QØ(‹”Q˜2†cô:Q˜ãþ@k“<ýíôôølØpΓçÇO~9~Õ;|ùðÄ´dÀÖ -ák!ý”©×Üõ<öþéQhDÕ{iJi¬™E£Yïõ[‚Æ0ø¬­FÂÔbT` -ïMÑEï÷hS[ª5VD %5fBE¥þ螤ӥë(#$9Ï>ºi4ëÄåÅ,­‚ÞÝzIxZq[/aÍ=ô2  -fÆDµHÀ¨f‰xįŽHÞIJç¢nnTeù<(u*®Ql¼zÖC¯Ã$昃dC±ï„Ž¥ØJ—¤õ’¯\éŠ÷}¦7îœÈZº±¯ÑÝY7¾Zþ¾fIºsÉnÿJk€wì>¼#í˜Úô3ÁJƒL 1"Z6 ü»œÖ†(,õBˆäxî]°ìÓdÔL\‘Vn'ýš•UlåWŒs˜ÖWxâŠHÜòN×yŸ2$!ZŒ¢{3°qƒá÷-ÓÃÄ")4溦øù ØEˆÉÙÅÑE‡ Å2оëR`zH”‚ŒašÕ1æ™Æ88Z#¥f±ß3ËÿbBÛ°C·óÙÉéÑŸÛI¢XHÖÌù ˆËXB=Íâ\J7( 5ÍäÇ·Åùo&°–ÑC1Q+½Þ·V­§ì5Ñ´L|Þ‘×5TÞÇDû9Ù–‰”ÂVkhl…ØXu¡&JóyäQøGóÃ8Zü‡Íã蕉;¢žÀl&õ iv¯Qÿ#êDýwvtwÔ m0aâ0QDRÔ® HnmÂ;àå -“ïL C£ÛA ým,<¾ îà‚LâîQ¬î.×%ÃJ*$8<µÝQ®Ëº\?[Î|½~ ÖÂÁ©ˆ…x,Ïáx²\@¿©ûyr4ÍÃû¨ÿÞ•±ó*¯¿rièŸÄîó®º~oYÜ`i<}Õ]§P¨|o}λOÊ2»žw8ZX¬Ö™â,Vè›1… Y‘/ú¾ïKY¨ýk:åÅ8›_Ç×*ïXÊzz®ç‚­•¨ÄDÐfƃZta¹ÎÞ{¼Üá -í«"…¦HÊìSóe5IëOÓ­…Åj¤^|ã6Â3ÝØ$ür -Gï*[„%,‰!ƒTáþ@Q– 'žËòA6”ÀÙZ‹ó_<íØ0`{â|eóq— hò–˜.oqÌÖ-'ùr:Žª^FãKéªhDjèˆ „F4?dãjRd!Ûsz  ¹Mm2qÙu°¿ŠïÙ<>>©•>Žak(\Y§ÇQ•Å‹'pn=¾ÃdØÞu+k¼xúW‡Ñ Œþ|ɤí$eNƒ÷µLž#·Ñ%>IÀP'‡a`œÖ¾‘>Ø4l•QXM%ŒˆÅÁ¬Œ}UóeéFyà †ˆ ƒ…sÛß. ~ý†«“wa©V²BV€õž~Í»€ñú1²ÖÕÓ *\:þ0 É‹*N: !XqÞŠŠ¸óà VÑ0È}¬?lY#¦Éu0+-²ËªH‹›8uæªtœVéÏ{ëƒÊ‰ÙÙ"[¬Ðj_åDÅTÓ=×|á*”j -g7Ë×÷|Š©¦†è^ŸZ‹… û*ÿÎõ7êe*Ô”pŠàju“;™LTWåO¡Â»ËN¨¾Ù–º ¨6üñAÐо¼ZÝ~D4Ìÿ - %±Ü|w4$P”ÑÕ©j"Úu±Àa¢à÷´b'ü€pƒ»O¤î>ãøËÆ…ª8·ãŒ£îrÆù¶gšVîúbuŠ· -endstream -endobj -1123 0 obj << -/Type /Page -/Contents 1124 0 R -/Resources 1122 0 R -/MediaBox [0 0 612 792] -/Parent 1129 0 R -/Annots [ 1106 0 R 1107 0 R 1108 0 R 1110 0 R ] ->> endobj -1106 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [291.566 635.706 314.037 649.653] -/Subtype /Link -/A << /S /GoTo /D (subsection.4.4.3) >> ->> endobj -1107 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [291.566 611.795 314.037 625.743] -/Subtype /Link -/A << /S /GoTo /D (subsection.4.4.2) >> ->> endobj -1108 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [291.566 599.84 314.037 613.788] -/Subtype /Link -/A << /S /GoTo /D (subsection.4.4.1) >> ->> endobj -1110 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [381.202 397.652 395.924 408.5] -/Subtype /Link -/A << /S /GoTo /D (table.6.6) >> ->> endobj -1125 0 obj << -/D [1123 0 R /FitH 686.127] ->> endobj -638 0 obj << -/D [1123 0 R /FitH 582.439] ->> endobj -639 0 obj << -/D [1123 0 R /FitH 444.634] ->> endobj -1126 0 obj << -/D [1123 0 R /FitH 410.548] ->> endobj -1127 0 obj << -/D [1123 0 R /FitH 394.394] ->> endobj -1128 0 obj << -/D [1123 0 R /FitH 363.111] ->> endobj -194 0 obj << -/D [1123 0 R /FitH 290.099] ->> endobj -640 0 obj << -/D [1123 0 R /FitH 132.137] ->> endobj -1122 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F11 573 0 R /F14 574 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1132 0 obj << -/Length 2014 -/Filter /FlateDecode ->> -stream -xÚµ]“Û¶ñý~ßJMM„‚t3Ó¹$çÆ™Ôm}j_ì<àDœ„†"’òÅýõÝÅ‚)Ó7öÅ~ÐàcWûý¦Ñ6J£¿]}·¾úæE•¬ÌE­ï#ž§,Ïu”9ãBGë*zgùê—õOß¼Ðr†ÉYšK ãq¾ÿñúŸë›×«DJçl•h]Äß½\ß®_ß\ÿ®¼¹þáæõ-»Jƒ[oÖW¿]qئ„ÔL(d¬E´Ù_½ù%*þ¥L–EôàQ÷/S¦2ücÝ^ýë‚H†D”bTy„ sV*h|`%‘I–ƒ¹*™Ìƒ‘HÇ»•ÐñûÁÒ©¶ÍvØy…g -ÉTÃõ—Er -g3Yþ½~‘$m6í*E\Ù -o²¸:׬x¼¥#cìCù2¡™*³'È·à4 ¡tö9NK?žhøìâÉ‚t}á¶ÇÎŽq'Ÿ¯’,SñÏdøEH2Á6¸Èx­Þ‡ÅØŒ’B°ŒË(¾EF|Mwç†ÎtïaÊã½LeC§;ÏÏÖm³íéLî×€ÐÛƒé † žêvë6¦ ¡³f{;3Ðí¡kQÄw®²âÐÛ¡Ä e¼àeÇÍp2‹i‚ë÷fƒDv® ¢·æÎÕn@ÀûU!cÏX QEdCX­wø·"7í~oüÇ€*~›òÌÖA]O—{k´mÀZZƒm÷Ø{Ÿ 6’;nð;º©Ý¯«3fßîmëåÐÛa ÄÐÝoGçµûÕËŸÌviZŸ˜Y· ® Ô.\ÔåÒÈ üAÀöž`†Žhû*[Vðøå@ ~×½ÞÙT±óÀ°C®\sßv{3¸ó–Ý[¯~ ÐÑ5ʶàÜÊõÀ+˸íhÌadÇ;r¥ß{×ãÆþ~¨ !ÀÛôGÌ‹Xuý_€-÷Š0ЬžÁU -’´ `$o¡Ö^õ$ìïa‡5ÅÛ×_ûÀÅÝ‚`A‹“±DÉÓ¢Õ; à/|Ü7´3„±i‡:|®vUÿ åÉã»ã@×7Ûúðð´ZºšpÀ±»`EŠÃ…Wœn0G·9ìØ’ -”X`úåáL’!í«·/¥àTx=€¡ì»ÕèvÀÜ÷ƒ   ŠØŽmÆ+ˆX¶eÏ?LÛ™œ\Ò–R.vÖTž-ì}ÖÂÚ`šŠö&ÜZNeJrHð–ózb>[`µn»ó†Hî\mj,~Kªn€‰7!Naž,•oÒãer@eôÜ`У VBo U},½AD˜f¢œ•Û 3ÌYA[ç³ h<›=)Ka*J&xoÓ4%Ìi£‚^,Õ8qâKe8¡è`Ý÷ÕÆ7c߬&zÙPª/µœ+Y»½@?²_ž³‚Ï}ïãEñE¡‡Jñ)*ëOÑM£‹©ÊŠ‡R4ØËf©C(ªÒ'…à\ýZQTá:íÛ+ª –ØÌ -ë%_ÈÁ@Ð÷½­ ¹'+É‚ñbn$㥖TÂÆÖ"D_]šíÞ5®h£ <¼l`ªÊ…ª®©Þxt/«¾pj×ûÂZøHy{­µ/xxì¡~ÕTñ8¡±P‰î=iìôT%»©ÆëÆìÇRÅ  eä2WájÌU¬Un¡ÌlœõÀà},ÇjaD5Ê =£@Ô"y†JJƒTQ’ô0µ1ˆÎ…Š¿§%ƒ &ƒì°È`• dËI¢M - Õ—ÍÁÍÂO9`p_ÿ|)nSVˆS®¾‚ƒ-POF¼D(V”!þq>Æe>Pï*©9¯]̺ԧYXˆ«ùy^x¢å,ÏT$ý,LÁ¯€5˜0O³xMó,t¯Sñ9¾uÿ£: ³¬Òå¼Ì¾MUŠî‚•{$È’ -ÝçÖm[ýgŽ¾è7;„°ïLž Å {ƒÀþ[€¦F—ÆÈ&ƒEcÌüBÄ rKÁø˜?ß¼úÐÑ@ŠC KÇð z±õ E¤©[!T!à7*¾&LE;Æö9S¦Ùðn4õѲGô9<@³Ïvþ‚¾@ Âq,ÈÿY•À¼s殶~öÎü\ýH - A¬ø‰C‘+xxþÁ8TŸ‡ê+Å¡€æ_äâ³ã°XC!ÑÇù) S0††ª>7 áVÌ£-?“ø˜êúdÔ7ƒÏ÷§)qá-ë#rqXYødé¡ä6ÕEÄÀùz5ö^:bÁˆøsØðð¨á³¡¯„’¾ýva.,t¶£ÀŽ4R ³‚éô3ò|JQ.PTðä*ŠÇ(ÂP1Áõ¼¼Š )ã]4⥲ÀW} Ý2<$a¢ßáà¦oi¥/8¸qµð Vø˾#Ü -_Y?‘8¿ûžÄìâ—U(‚ÿ…Õ -endstream -endobj -1131 0 obj << -/Type /Page -/Contents 1132 0 R -/Resources 1130 0 R -/MediaBox [0 0 612 792] -/Parent 1129 0 R ->> endobj -1133 0 obj << -/D [1131 0 R /FitH 686.127] ->> endobj -594 0 obj << -/D [1131 0 R /FitH 639.335] ->> endobj -198 0 obj << -/D [1131 0 R /FitH 452.155] ->> endobj -1134 0 obj << -/D [1131 0 R /FitH 431.386] ->> endobj -1135 0 obj << -/D [1131 0 R /FitH 405.877] ->> endobj -1136 0 obj << -/D [1131 0 R /FitH 371.949] ->> endobj -1137 0 obj << -/D [1131 0 R /FitH 312.115] ->> endobj -1138 0 obj << -/D [1131 0 R /FitH 276.25] ->> endobj -1139 0 obj << -/D [1131 0 R /FitH 166.651] ->> endobj -1140 0 obj << -/D [1131 0 R /FitH 148.718] ->> endobj -1141 0 obj << -/D [1131 0 R /FitH 130.785] ->> endobj -1142 0 obj << -/D [1131 0 R /FitH 112.853] ->> endobj -1143 0 obj << -/D [1131 0 R /FitH 94.92] ->> endobj -1130 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F7 674 0 R /F14 574 0 R /F48 455 0 R /F49 457 0 R /F11 573 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1150 0 obj << -/Length 1953 -/Filter /FlateDecode ->> -stream -xÚÅXÛŽÛ6}߯У T oâ%/EÚlÚí¦ÍŠ$^Kk ±-W’›Ë×w†¤dÉÖÚÙ¸@_V´ÈÎ Ïœ9~¹úizõä…‘%VqMï#F1ÊFÊ(¸Ž¦Yô.VDI¢µ‰~ýûï×7ÓI"„ˆ½~öüúÍäÃôÕ“¦g或vpÿ-5.¹¢aχž×Ó«¿¯ iÄ"ÎÑFDJib¹‰æë«wh”Á䫈aMôÉ-]ƒÇ‚XJ£Ut{õç‹FÒ”hˆò„XΈMÓ`Ã套61`Ê¡|\ÿL¸‰óMVV˜×MUl&,^¸páA‰Tú;<I ØHµ¼0%RÉ/Ê2K(RJCJ6˜’ÝÿÞMLOÈMyï!3/×ëÜ­jêiz¬w#Yœ_˜$ÁUê2ÜHïŽD¥Âg©—„rNÁæÑŽŒ$l°uYF˜!šñÿ$#œní÷fäÑŽŒdl¤L\˜àKepIF´t­(¼“©Ï!äDôÞt$z°ÁNÛ8Œžö»F?f ¡Ð,Rm iø^‹]•ûªWD>$R¦ñÏÆ’ϲ–$~›áÄüSîšÑ¦%Jž²(ášé·Zçë²ú‚|cã²ZÌ6Å×YS”›ðæÞ?›eŽÏ' ‹û~àì2øã¢ö ‹ —è¸)法ŸúT4K?Ù,gÍpƒ·#`ÿg“pÎÅ;´)R¿üŸ:ž­V%nÿ aîfî]:˶³ªîVÌKÇ©Yîfy½-šðÃE‡ÿ‘ï)yµÏ2ÌÞa°Í1¢¡¸Ýœ—î¿Bgó±—›šø/MÇCO¸$–jÆü2Þµ`Î îÏÆÏsŒæ oÜö…n"Z«/7ÛÚ€üBBfë¼É«úé±ð`8ŽËVxÜ”›œŒXOÚu O‰±¡w½Þ5í2¬ÂV"IŽšàˆQµÕ] K…é*è¸rÔ†‰$³DÒçØÜ°ZÅS<‚/[8v#z<ãÛ4ÆWÄ°Ëœs‡ ò=M)z OæV «¨¿æ¶XlòìG°Ä)…©çU±õuƒ•9Ûd¾,«Ùxîp"”A.”šìñÉh6'Óÿ30ÉÛë›ç¯Gd&¬Ž|4¾cÀÙŠ”ÆÓe eÌJ³¡V[Œ‚#˜¤ó&èÞÛs^¼ôU—/Î1¯‚ã¹AéÝ”nzß”²{µ¤ZÒN-á2 ->wuû8Áó -Ðij†îu’j4 Î)¡– ÿå[jÓŠ¹|VU¡-ŒŸM’TêxUÔßÇû3<Áº¢|xçD¦„Ù6õ¡,}Zíè`ßïÿL µ³Õ.¯qŠ<ŒO•f5{tµŽã“Q¢tððíÄ‚ U1»[¡2Ng'˜ƒÃåJ¨3Ìw(ÆN0ãÐ5¨à03 ¦¨Dê0ž:L ÿÕs†á 8ì·P†§ !Yz1eð8^Ÿ¡Œ‘4h:r$\âùʘÇèKŒ©G*‡vPl²ü3yhö¢U<žïªª§$D¼žq`ôr‚÷Åí |rÉ?‡Ïs˜àÀÁÐ -8SøÎGÚQ!ø±]åN0ÀÍ•ØÒ±ä,›0Ï—¡êœpg–wò# §]{K÷e«eB·Ü‹5N4À„Û–°‡d{¦ *„Ÿ‡¤áƒUkßíqƒc~Ò}éè¯|&‚ßuÛQ%6ø04ûõG§ïE+ÉÝÏ"<ŒÉC@=ƒRw+G8u™,|ZËq¨Ê{¿]ߌ B€|HÛ%GÙåÚ4ä?|£ùÅ>ât%Áϸ7\Ú1½Iüí"Þmj×À<`PGû;vúÐU•åÐS9êémì7-8÷Ÿ/¼‡f ×°Öµ‡”m -Yú«ÅÖÃ-­é>¤ >±Á²:0~R“7õqÀå…™axé7‚¥ÁŒ -Xœp¾XÖŠ7x3øðçÞ´Øï<Â>¼sØ×ûð³Ïÿ ûì<øå£À¯Fsþ¬F¤Ž8!%QJ}ƒ˜6Œè}©6ûûÔËWm?/Æö3´½ â¹€~eÌqõhÐ/üÔc*Î}SXú_ù:Ÿïš¢½Ï €D§ýýšöö1”‡’÷½†ˆÚUÛ}U®½=ê®ü¸rúxì@4Qûë7UƒÒ¶[ùžR:rùÉÝ®`¨ÄñsDì¸ÊIl>;|¨8KR•›mrôtôhω¦? -endstream -endobj -1149 0 obj << -/Type /Page -/Contents 1150 0 R -/Resources 1148 0 R -/MediaBox [0 0 612 792] -/Parent 1129 0 R -/Annots [ 1144 0 R 1145 0 R 1146 0 R ] ->> endobj -1144 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [165.458 185.137 180.18 195.985] -/Subtype /Link -/A << /S /GoTo /D (section.6.1) >> ->> endobj -1145 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [151.258 145.231 173.73 154.059] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.3.1) >> ->> endobj -1146 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [151.258 79.478 173.73 88.306] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.3.1) >> ->> endobj -1151 0 obj << -/D [1149 0 R /FitH 686.127] ->> endobj -595 0 obj << -/D [1149 0 R /FitH 590.075] ->> endobj -202 0 obj << -/D [1149 0 R /FitH 512.429] ->> endobj -1152 0 obj << -/D [1149 0 R /FitH 492.047] ->> endobj -1153 0 obj << -/D [1149 0 R /FitH 464.214] ->> endobj -1154 0 obj << -/D [1149 0 R /FitH 430.286] ->> endobj -1155 0 obj << -/D [1149 0 R /FitH 322.631] ->> endobj -1156 0 obj << -/D [1149 0 R /FitH 286.766] ->> endobj -1157 0 obj << -/D [1149 0 R /FitH 213.033] ->> endobj -1158 0 obj << -/D [1149 0 R /FitH 171.19] ->> endobj -1159 0 obj << -/D [1149 0 R /FitH 143.239] ->> endobj -1160 0 obj << -/D [1149 0 R /FitH 123.369] ->> endobj -1161 0 obj << -/D [1149 0 R /FitH 105.436] ->> endobj -1162 0 obj << -/D [1149 0 R /FitH 77.485] ->> endobj -1163 0 obj << -/D [1149 0 R /FitH 57.615] ->> endobj -1148 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F48 455 0 R /F49 457 0 R /F70 508 0 R /F74 666 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1167 0 obj << -/Length 2705 -/Filter /FlateDecode ->> -stream -xÚ•]sÛ¸ñ=¿Bs/¦fBÁo6“'vw§cË»æ2c˜„%4©#©$NïÇw»ü’è8}€ÅXì÷®ÜÅzá.þþìÕêÙ¯o’Eꤑ-V÷ ¹NÅ‹(‰áÅ‹U¾øhÉòÓ꿾‰ý ¦pÜȇc Îë·§ÿ\_-mß÷­ÈYÚqœX¯.V׫«óÓ÷~{~zv~u‡=s™‚nœ’a _8i.l/ Owüᆮ„19añÑ]×:SYµ´½ÄÊÜøV»1Ï*T¹n7¬î'›¾•íëZ•Kø®%À~)¬fi KÕôyVm·ˆ†gí]®ŽÙÕty¦ò}­¾…ˆXx -¼$ éký¯‚ã€!¥Kb̵ÊZ]•æYå.êõ‚&WæÄTß9z9nh"®"!ÓFB‘ºI'¤wç—„4æµç;~t(Îô[„‰#Â'0ƒ îÄ•’ù )ï$ƒºÌS9±u(‰}§[âϾlôºT9s $DOVkU7‡G©DÞ1ÁÙc_+¾†¤ 74m">~Dœ:ñÀ«×Þ¿?¿\]¿„i`¼l>îø­N fÆ™>>"q¢°g×'&°"ú˜PÐÞŠT—5¸¡m£äôž†_„Ú[Y«Zâ°'Aî`aî ݳƒ?š*=6 U´ÞÜÕºQ -Ûî#¦B×ÀP˜< 46ÔLаÔ2?>v'3üì³±¶#3?°EDåMYh‚Çy³Ã fÔMKÐîhܘý GŒ¨B*+¬U©jYï¯Jyç¬*'è^÷N|†;u;¹Vè.—è~ > 7—¿ÑŒØúE×UÙ_5Ûí—eÁeZÞ -ô#rÐ+[–gƒf™¦š;hժȑå : oO@9Á¤E)·ŠwK1ZVAÌovF9ÀBÙÕ*Q[ìÙƒÒ!Fæôág^²+úÛ#iÍ$~„²ªÄĦâÃÿE\ˆƒ€õ’Ç?„¬.VïÎ_ö*|@\Åz jQÕò—™ˆ6„ËÑÓš$1GÒÙÅÕùëÕ‡«—[õ ;q7t¢  ã$éDU½t.Hj8CÃ1“²u ¶Ûè–ó'Ú1"ÁÉû›ë#wÚ yýôúõ…aË#ቾ òÎÁ$ýGfŠûÍsgr–À‰áEÌvSWûõfæH?q¼žoî·ølæ(×I=Ñá<Ÿ9ò£ÄñÏ¡§OøÐgß¾u”.Ò¦“·Q#ß…lŠ£°t P;Hëöôä¿·ÿæ§IÌ^vŒKâ!: Ð($ãú`Sý¹×ìVCÂ=: ù1÷ ò:a:¼8šc¸ø'˜/Ov‡ -Ïs1ñÅ<Á¿ú³ óSϺ•À°ï†a¨Àœ–´3äu&СÃïAü.,ЂÿªJ¾­%ŸöY…ÍN"ÃwUWœÑbôSfœZ¹þ« ¹”€OËu‘·B2¾šçå”2ÎÙ.%J‘?PêEûãáfÜn´sHi´lͼ€ù}p_M/$èsø±J¨à\ñ„ƒÚጿÀsAù6± ¢²à9ÖGÌ^_˜NŸßñ’®¡Zf70y«KóÒI4HY|z‚·>H-—­¤²1GþQ¾ ¶w͹x­HÓ']š¬dÏÊXÐÉmw»2ñÙ£zc²3ä;L]sø©«ÃCMÅI+òHæ§/Í -%9!×öÉ?®¸fø7®Ò052 “/–}Ï‚Q%KJÂÍêôÉ)µ`þ‘s Aš˜Nõû2~U§ÑA¥k}z\‚o4“J&ÁÄQPÅë.?¬4ʧëVó«jГ™ëï*?yÑ•¨šÏéFÙ3#S¦ÁÒ誜ֵoÚ—}»BgºË¯}ËTqiWµŽ™ú+±dÛ÷dæd1Å=nxE— rüOUëÞaöt?Á‹ÑÜA¯ê"ïGòñ9‰O5å SÁi¥’ŸçrÊór]èfƒí1(ŽNwø$ÆZY®÷rýwÓCè¡.Ç-Ê9”“'ò-Æ…y7"–Ui´Ê§ Þ UðÉW Þ£$0È®©Jìw„šÇÝC]±í!#¾9ˆè¥8N*K •%∠&ì·²´áò‹U‚ƒR*FÝt¸²@œZ°`Ó—ê›=Ûü)¤.Muz·ïzt_uQ&} Ès²j_ƒP~œàÔÜ^ÓlàeEëA>vçœ2/Ï´W߸KÇ_ÝŽÄJœŸx¨Õ`aD†¾ ¬å_&î-˜SyýöÃÍ»3¬DøÞ¾…«¦Úšž;­ ¿ª[Z£4Mü©tΠ ¼–µ6‰¸¨/Š}KÑ2ér0Aù퇹¡}^>2ÃîDÎå7½Û8Um¢n×F€I'Ö4%IQw5×:ã^’Ѥ•h:§E™ÈÁyõ༠ÀiDdm«ZÍuR@gî÷¬,­\7Ó¤n£ŠÍÐ’º–6[„ïÈj¸s‰Nîé´À{ãt¹Œ20ã£aÞr“ŒKåŽüH¶G^¹Q×>ÅHhÖ›:žLôÿê:sÍ‹Žl(¤Â0ž’ fziÈ>rà±çàŒø+58NA惣¤¡÷*äιDjAƬ·ÆÿBAÍ(˜‡ -ãÈɉ‘Åà¢ã#LhŒ¥09SoŽ+…6Y­wì´nx&jëš@]PR ÐTà8µ.+‚ DaOLI˜pÞI†°ú€é[(ºûDz˜1•¾‡ ªÖ7°Ç¯ìz¬TbÔéÐA³Ÿs*ŠçÓ͒чVßàêTŸû·CªIéˆ3Û‡;_=ûä(wè -endstream -endobj -1166 0 obj << -/Type /Page -/Contents 1167 0 R -/Resources 1165 0 R -/MediaBox [0 0 612 792] -/Parent 1129 0 R -/Annots [ 1147 0 R 1164 0 R ] ->> endobj -1147 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [279.002 643.276 301.473 654.041] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.3.1) >> ->> endobj -1164 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 0] -/Rect [423.183 336.026 450.11 344.826] -/Subtype /Link -/A << /S /GoTo /D (cite.rfc2044) >> ->> endobj -1168 0 obj << -/D [1166 0 R /FitH 686.127] ->> endobj -1169 0 obj << -/D [1166 0 R /FitH 668.127] ->> endobj -1170 0 obj << -/D [1166 0 R /FitH 642.673] ->> endobj -1171 0 obj << -/D [1166 0 R /FitH 626.965] ->> endobj -206 0 obj << -/D [1166 0 R /FitH 532.59] ->> endobj -1172 0 obj << -/D [1166 0 R /FitH 154.11] ->> endobj -1165 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F70 508 0 R /F48 455 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1176 0 obj << -/Length 1787 -/Filter /FlateDecode ->> -stream -xÚµXKsâH ¾çWp4Uƒ?°ÍÜ2À$l1!ÎTÍ>Ý„ÞøÁÚí™Éþú•Z²²›9ì…V¿$µ¤O’îãÁÕÅÇøâý§ÐLíiàƒx?pÆÓA¶ã†ƒ8üf¶oGaYÛE|w;yžg]/.ç‹Íðø—÷Ÿ¢'`Ïý)ð7wý)¹³ÄÓq0òÜȃp0rCàáÑ­x¯HЕÊIß*D.í³üàgäDÀ€î_n†‘\¶13ù¤²<C7²dEÌÊŠ¶J}L&•ºäýbèX"Žë¿d:$ôËb³]®o@¢ë©šV:“ï`:‰¬Jæêí¨b_šÕÐèàzÓVÜÕò‡¦ÅTÕZ÷ª0Ðî7zA­Ê¢æ«{Ú4ý†Öz“æÈêÒØ Mí]k.´DʳD]ƒÍá@¢`-¥íïJhÔ¥%7 -&®µÌ™Ìe|µÐ¤"žÞ^¯ïVsº ´–ùQ£‚¢Æ€RŽ=LH+ bý‰cEU£ ૪¦ÅßÇŽ/³”–/Š‚ÆåvMQ0vh)¥÷µGKãf.Ô,Ê;Šô•èè -\~¬$)ÏRŠÔè:~®fRškOÜñŠÍGÝ#ŸDÊj=#ÃS¸x‘o­ØÜ,—^øÉHxÑ|j§æèŠÉ4´bc2<ÕŽM݈,{<¹ŠÍrŒ®×ü‘è(Ù·È)Êb„’vÔCƒ”ÕCý&sˆÙúöëfyuÝbuV‡nh=¢7ÔýiM;5x¦‹°·rµœ-n¶”Kœžµá_Ç8·ÏŽ•©Dµî h«ÜXlìûþùpǛ߰£W j8úø¦’Æ”GÑè$4Etgä8JûdsD¥v ,²•U^Ùáhöcùp.šáÑΘ}ë8˜Np~·YѼ)0Êþj¤‰!]_à$Å”ÓN¢•¼ÀZîiµ(é˜*À‰EÂgË}{ÙÄ)PÄqÏh ­ÙìF=N£€Uíi4ÂpÞ ƒcV e<…à¦Áä±Ëø¼ù@F/|ýL1äÏÔ_)V{ƒ›©bð™)]ÔÓzÿîa¾U7”­hYÐúýºÖäpuy³üõYγmu“"ÆJšbuŇžuÛì2ˆbY™¹Ë;|LXº…ú»Í °©ú”Xfßg&iÁYU¼žïÉ\{»ƒùã°;ÃP}G“¾Ï -,Ö„Ï#¶$Ÿ2}04Å"™ïLžíŸÃ6ãÞ^š£ŠM¦ÕÑ$ÍÀé­9aìÙàÞïó[ÀÝó ‰Ä±rÑI5ö1 "n¯ƒ±6³?£0æGÒ¾hÿ‰XØhíƒôÍ:¦¡pÕT‚”6ù½¤ÙÉ‹á,ªIÔNt—L( e~Ö¦m·Y"#¤2S¹ìûÏŸÊq‹íl³¼mS:p»’…¬ˆµ¬ë¤RG Ð6Ÿ5î €^iq¸ËšjgÓçœ ßöüÀź‘oO#?Ôì‰×}‚ºŽ &•º9‡pb]K‘h^|‚\ÇŽ\çIü{D×Ìȱ1t‹=®ØnÛeF3¹È.6øLCÞÀÓè<—²[¥¨$òá2ÍÒMC¬±îq_òŒÃ‰2߇B›VÕdTRÂãÖˆ:îÏgZE¹´ ãFeí C/þÕ -›¾ÜâìXjt#øáô3%xªqZ× ¼ÌËEASºK4kq¬ãJpÄ<Z¼Õ2šÏ7äèlОb5O¬2M-OηM§O–y¿Ü¾» ZT úúHPM(ñr²(i¤h2‰jJý_`:>ÈH5úÍu‚Ú›ƒè?Þè$gYÐ4©|Οê…<òêá,º9ÛÔ -úrÒRD¦î cf¬¯C.O@KQ?Òiî÷Ÿ@Ð0v[…¶öð³àÊôÕ¿Bhh´1Ð+†ñp -!I.LçXösøáH§Ï1 yÆ‹¦$pYä5¦«ªþðêÎx @÷Ûÿ~nÊâ•¿NñÅ?¤åÈ: -endstream -endobj -1175 0 obj << -/Type /Page -/Contents 1176 0 R -/Resources 1174 0 R -/MediaBox [0 0 612 792] -/Parent 1129 0 R ->> endobj -1177 0 obj << -/D [1175 0 R /FitH 686.127] ->> endobj -210 0 obj << -/D [1175 0 R /FitH 251.681] ->> endobj -214 0 obj << -/D [1175 0 R /FitH 150.582] ->> endobj -1178 0 obj << -/D [1175 0 R /FitH 129.812] ->> endobj -1174 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F48 455 0 R /F49 457 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1183 0 obj << -/Length 2078 -/Filter /FlateDecode ->> -stream -xÚ½YËrÛ6Ýû+¸¤f*o€Ýt?štÒ4µ4ݤYÐmsªW(©iûõ=x¢$ZŽÂN7 AÀ¹çž{/L“Ç„&?^¼_¼ºµIF2Íu2~H˜¦Dk“h« ã&O“©¢ƒOãŸ^ݱ7“ªÌø9Wo.?ŒoîC!DªÉ`hŒM_¿Æw7—?‡á77—×7w#gì‚Æ<÷y3¾ø|ÁðH–pe •,ÁÎHÆm2™_|üD“)¾ü)¡Dd6ùâ§Î&-¶(ñÆ,/ ÛKà®Bvy_¦o£{w‹5(Æ¥òu˜ñ°œÍàú¥Ûá—˜À{UW9Ëb¡ÁÈÁšCjßy:zÃÁ®Þ×r½]¬½ˆ4gl……“¸G;Æ]^}ꪃw®};@²Œ¥M‘Oœý§`{)*&ÛÍΗíô^Áp×¼§0’£hîš»´Å1ÀÈzÆCµœ{4FÖ2câ»úà“Ùvwrô¡¤16žVïä9¯µùà‘4¿sP÷'ÚOw™ðY‚ž®%¤Ë%¦žõ±>€§Í)ð¬¿~Œ>‘Ž½@Êñ±8 -ú,BòÛh¨Ð:½ZÎWÐåûr†ó -*•ÿÐpgNk™qþfv/ZñÚÒ÷eÔv xÏ«hà)¯¦{áÄ‚»OlÐ… ÈüzA1â>ö$cϸµ9wV1=Fª,ÚÚ ÒËUÌð‹iù×i…xMø±>¤mLòÜ!EØÄÚáNX8rã*ýÕ¥AÁÚiШôƒƒ¼©úÃص—ŒO‹oº@FCŸÕ‰ø¹æáÐ…Ô·Ñ…ï—‹¢“*õ¼À•omQСYÝ3¿¡‡‹y¨_[5š0šÆmåë^7ÆÛý c0.D - þÊ+4±×™¸D z?ñ¥W~<¹*îT»‚få¿éU†èMEsƒ ¶\®.ßÝ»å®ê¥~Ewõ+îŠ0“I{Ó] ‹f±aq´šŒï,â56-^{Üòp¥’h´¡Êîo¥ØhÌ_+÷`šûr78 ½OíÑ“²p‹¯Ã\÷£Ž¶¬Ém‚ˉܺ/§«f›ÝÒ«hHüíÕ¯û¹J½ä*õ¿¹ªCƒ¥¬]…_aJiüm¾ˆj_û+®Þqº‡½2ÄtºJ¸‹õ­®êú·õ¿ ˆ:¶ -endstream -endobj -1182 0 obj << -/Type /Page -/Contents 1183 0 R -/Resources 1181 0 R -/MediaBox [0 0 612 792] -/Parent 1129 0 R -/Annots [ 1179 0 R 1180 0 R ] ->> endobj -1179 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [337.228 226.028 359.699 236.876] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.4.1) >> ->> endobj -1180 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [312.017 126.409 328.815 137.257] -/Subtype /Link -/A << /S /GoTo /D (section.B.2) >> ->> endobj -1184 0 obj << -/D [1182 0 R /FitH 686.127] ->> endobj -596 0 obj << -/D [1182 0 R /FitH 515.953] ->> endobj -1185 0 obj << -/D [1182 0 R /FitH 482.136] ->> endobj -1186 0 obj << -/D [1182 0 R /FitH 448.263] ->> endobj -1187 0 obj << -/D [1182 0 R /FitH 376.474] ->> endobj -1188 0 obj << -/D [1182 0 R /FitH 340.608] ->> endobj -1189 0 obj << -/D [1182 0 R /FitH 221.047] ->> endobj -1190 0 obj << -/D [1182 0 R /FitH 201.122] ->> endobj -1191 0 obj << -/D [1182 0 R /FitH 179.204] ->> endobj -1192 0 obj << -/D [1182 0 R /FitH 150.762] ->> endobj -218 0 obj << -/D [1182 0 R /FitH 113.464] ->> endobj -1193 0 obj << -/D [1182 0 R /FitH 92.695] ->> endobj -1194 0 obj << -/D [1182 0 R /FitH 67.187] ->> endobj -1195 0 obj << -/D [1182 0 R /FitH 33.258] ->> endobj -1181 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F70 508 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1204 0 obj << -/Length 1688 -/Filter /FlateDecode ->> -stream -xÚÝYKsÛ6¾ëWðVj!xì¥ÇNêÌÄMlµ©ã-Ñ23zØ"'ùõÝÅ’”hѲœ‡=h °ûáÇ]ˆG“ˆG¯{{ÃÞóWNE K¬´Ñð"Ü2o“ÈzË„tÑpÆ–iÖ8ç㓃á_ïú¥TüÇÁ‹ýƒãþÙðÍóW~mhcN'0~øÖìÒãÕŒÃÞuO@‘Gb5™uÌÉ$Íz§g<C㛈3—¸è6tEJè?œF'½÷dùú´Bjf‹àǤ¶4ùQ:ËÀZgy<ìK¹êàuRèø$ÿš¡u‘0ºRÑ@–Cà†ŸçeÏàC¤<ó0ÙzŸ“|2ÏÆ¿÷Bš$ÞÏŠÑ2¿*óÅœ0Jçc,èx™å2aKðèÆA%`Æ:ñÛq´;VPz6T@ì½=Ù\*ka:[¯Ôá¼/}\f“lÙ¡e,8À%‰¡`ãá%`'}‡¾73õœ0…dÂãÅu8O‹ªë,E׳‚‘-c• -àw°Uî÷ø¸n3.o”.—)vøÒÖ™ÖúùʯÊA¿è0ÒIf…¬§^A)ô:í Ó¦±ïçrÓàöu«7WÙܤ×Ñ‚\Jóù X=0š E˱|>!†•¸ È0«¶â-…aÎûöhGïŸ q»‰ø@%6–˜zÁ4wÛ1œ)ר¢ÁVV„×€© ˜pP‡Àxe“Ü·a·ìöÝJ'ÝJûøú&%¨z™Î'YAå‹Å’ú¤-|*EšäŸð»lNž8¾æŠ4Œ'»×eÞá­fÊ6]P^6‡˜hê>WÓ®as¼í¸ - ÕÈ£ˆA«ÈÒé—¾×1#°lÂ@WÚ` /ó‚˜GO§eÅÄEQ•¬Ú@ÆÃ$¤ú‰„´ÜwR³$u;!Û5>n’0.õcˆF)Z” +}×b6"±¥!³1LXÑF €S®À%–$ÎVÅY:BL.©vÌØÈL-ËXH» ýrùÏù4è0éCä\è%ðx“¾–Cı::ETIïºËiPÌY¿'°Ï6cœu b`’Pjæ9# haÂضB}êÃfH§7Y½™—Õ¹rSdãÇìâ½·‡O¶‰“Ÿ±‰ÅC»øQƒày_íâúlêØÂw¶sCŸÏº¢¾zª_`éœâñ ÈE ƒ0lÚÏXàPðm%D ª5c% Êúêx³x¼…G-8M—8Bl'¸a+~ߣ‹ä ÖÅðÚ0º% -„ú)_©€±†T k*p—œ˜'tl żÓ;ˆƒxHÜÓ«DH.þ•%òŸI̺4‚B†á|[>6å¢;×Ñ°¤*1Îù:s•(&hþ¿û!þËÓóiP0Ð{´ä·û-‡}ú]Ù'ì™DÈ@r-û”\(Ì>=eŸa«H©Õ*ûD=Ón—äÓu'ŸŠswoò©vL>•æÌsùèä³½OëÁ$®®ÝÂ[#˜\Œ­ÜS9ÎcÑ¡èÚŠ•Vå_SòkË6¾B€|>Î>ÃŽÔâ“,£~C<ÿSJ¬؈¬okë4¬I…ÎrQáøu/: `ÑZð ëná9¼ÜQîëòãAæM$BBØF"„å„D×éBS·l숇l”÷Ø8ZLÃyV\MÓyÛ Ö†–+‡¨ÀéƒøËño¹fk×>>‘k;b}ý Poä+Ãú - ›³hôC-Ú9$#F "$£v”gMî }À>SBü°»™!ÐCv&÷Úyçòäó7­åòç,f¥áUÖ2«Û£½Ãá ž;Ú53"º«YM絎¹"•øÉ•1øɦã*Ë/õ±’Ò÷Žãèàœõý1^‹ÂtJš_MÓ 2DBÄ…·Ò«Šù(EKÊš#uK©Ï<»¥÷"«¾¢ûGy'¦íTãæÖœ¹Í§ÓŠ Í1¼Œ‘±z^E2÷¨úñ;tUâòêM®jQ»Š¥|îÁÕí¡¶Œ -k<À×Êæ{}*ÃFƒ”wqU%ÒóÊ;ª1 Ô],3ª£T -EZ7’¸u»A궄ul3‰Ñ÷]å æ…‚'gÂËú– —D[_ðë%•‹Q:­ª)ÚÂ~Ý2ÿ¦½•ÖbÿeÕÐ,1½æsz†sô“¤E5^>»ª+ëèÊ·yyI%ÈðÖO¦µ¿<þÆ¡ -endstream -endobj -1203 0 obj << -/Type /Page -/Contents 1204 0 R -/Resources 1202 0 R -/MediaBox [0 0 612 792] -/Parent 1208 0 R -/Annots [ 1200 0 R 1201 0 R ] ->> endobj -1200 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [302.884 312.858 317.607 325.356] -/Subtype /Link -/A << /S /GoTo /D (table.3.1) >> ->> endobj -1201 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [424.401 288.948 439.124 302.895] -/Subtype /Link -/A << /S /GoTo /D (table.2.1) >> ->> endobj -1205 0 obj << -/D [1203 0 R /FitH 686.127] ->> endobj -1206 0 obj << -/D [1203 0 R /FitH 405.055] ->> endobj -1207 0 obj << -/D [1203 0 R /FitH 369.19] ->> endobj -1202 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F14 574 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1211 0 obj << -/Length 2364 -/Filter /FlateDecode ->> -stream -xÚíYÝsÛ¸Ï_áGjj#Aà½99§w&sc«÷’ä’ ‰3é’tbß_ß]ì‚cçnÚÞt¦/"°»?ì øbw_üõÕ›å«×ïìE.rè‹åöBêXhm.´ÕB&æb¹¹øeÉâóòo¯ß5™)E¬°ñsÞþtýËòævq¥”Š´X\c£7?/ï–·7×ï‰üÓÍõ7·wÈìUÌL·¿ -\¯DE¼¿,2‡×.®Ò$‹\±^$6Ú_B7µQ]9¤§Ñ¶n¨}ñ$=‹.3‘¥6ˆþÏ’æLpH„µI˜Ñ €zI-÷Ž$i‹#ïÝâ–ëâÀ]X‘ኅ$aZ" /|hÝf"4hõåuÍJH$V¤„”"Ï2–ô¡¨pRWþVte]¬Ý"1ÑÓý0ÃÍ”‚}ª ­ëòÇæý¡¨@d.S‘§)î!¤æCö:©8ŽVEë[2:]S®u¤{A±QÔ˜¨qZâDòÀ`š^æíqÁ†‡±ƒ)Œ/+™wÁØùGØ´eµCô•ÔQW¬xV©ÊQ¯–É´ Žï]E­Æm]ãªu¿ÐV¨ÓµËjãC“¾m8¨a]KCõvÆÚ›‰ÜÊÞÚ´¦§IÔ,2„f(œ`–zûçEtl°(>Wœ.@ÑÚ|¢e"ˆ§Ÿ£ÊDèè íï‡Ê–çÖÔo‰—[—Û'ùº/Ù«ü6™JŽÈdæHBëAâ©ðÃ9àDgÏz)p2é™—¶ Wn®26sK“®ÉAàÌÈ+Ÿt -‹`¡’¿›`”Ÿb™B»òº)va\5‰;ž2ç±)ºˆ%±ä±*xlú 5ùå‚ÀÅG"äùeA1ÀSî‹57Ñt“D“ aïŠk ~&©‰VeGTÐ++v-Í/¯‘åW+ˆêqÃ>â†_RÐDL¸a»«iÍ*D&ì¬ëûqà ۦ>Îì¥lÝ7îKY?´‡'êoO¨[éeÕv uüyÂwEàBP þ`ËÈÄñl`÷p˜‡r]v° -CC¬¹éãñt;÷¸v÷ÝœÜož{iÚŽb–OOH]ÅVáà=5mÑÀª<ݦ,:çQÀ°Ù¸5PP/±| SÑ]y,EC:\âdˆYÛÝŒÀ3Ö™Û3ëÌ ¹|«º£91æ^©8¬à)¤%PVcAKl³–¸Óž‡yµœ1Nõ®À3g ü«´îÝšÞm°™ñzÍ–ïøpBo¾@ ðf¬—{°¦Gœðp-!w1Ñ×v"§&9×õ¼Ñë±Å­#ä{Ü1!¨± ZC_žŠ^r9ôó‡åíõI´P›k¯ÿ&d‰¹ZèfˆáÚŒCv½Ô$‹0«Õv( `¨ O[þæhdÒ†Œì+þÔDàl -s|6}ä=ª &Vth£)˜ 9äÓÙÄàF9(¡ŸÔ!ùcøÐ’Ë ž$õGjsŽ³Ãâ3¶$[`KÍPRp!­¢øÌytW4¾<ÒÄ7ÍBé¢!á>vDò; $)DÀšF»}Á£ŒÍëwRŽ‹(©LÞ×ôÕy9‘‹4éK.2´ËFJ‰<·Ïð±"1}Ýò07G’„dp¡5®˜2®˜€|š§B)k‘Z;*td‰ \“xÌèthIÿÏîA©PCýô -˦ú¼Ââ}IÖÁ’¯«a„Î,‰{+7ÞÊfÃ%jI~ͼüi³¨ž¬(¡z’/EZ$ÉÔbv®‚Z¼sìê+ý ö¡¬\ÁÅïæBLÁû¥ûÌ¢T3Ö!XK®3dÊâÝAFçªæz·4Þ-¡ô“\azë642ÜE¼” ‘1œø´OwÑó£ÔïsG ¨d"ÎìÍþˆa£,¸}Ü·í¨å‹'¯õÕTmZꕯlŽ4âñ˜Œ€:ítŒ.™Ð'lè·¤¤ »£›±v-lü’±k™Ÿ;æ,NÊI(Z°Ñ” únª_(WÀΠÀ™ÅfÓNû„€ðqÏ'»1ïõCÓ¸1‹>T+,E|ù1bI1Âúø5 §sÃÁÔ„Bó~,cÌÇ“úúÚïÿq·¤V_ÐcGcRWÖP6}6ÙÀæPøb80¤æ¶ TsEg–CB§W…Ú¿´å -ëö¹£6 -nŽêÜ9Úš.Žj.ø'¬É:÷Í‹ä/õ'E%Þ抪@-ßøf±q¯Ç!ž²­Ã%¬ýaòj‡- H×(øòYK1óñ*ƒÒÿ–®FÈ•¶K¯ü…)U[kˆ;× ¡AVºnqœF?àc__ã`ô¶º W×Ö¡æ+ì WŒéL€ß‹ÌŠýÎßmýzTÏà ¹jÝú¡+é‚Ö‹’õ¢¨ù—™Zéï° ¾©¿˜5¯ùS]ÌÖ )KrzFRa¬duù1óSœÅüÈ‹Ÿ -<ì/Ÿ:DÓW+ÍÇzåà}Ír½€(òöîíõßof_ž > S?Î=ÌxÛ{E+tÖƒøYœš®Ñ¾@šÀ¢þÇŒ—ÅNÿo¼ÿmãýñÃ5Ã;ë6\õ¬ái¦dÏnJgøÉ ÿößÃÒÛÜÈp T»l¸38X+bÓ+ðáÍû»s”ÙpËéÂ?#kO=¼eúÔƒ7Ø ÿ›âŸê •O“rðˆÑ I•¿ ™ÚôÇÈå„R£‡"èT5™Îür%ÿñ/Ø‘•=õ8€LdéÉ¡è?Ë-WÇ«ÂZ<‘/ú%:× ´©ùP·ÐBu?ÂV‹Ìô[|Šãxîz ­0E¢ÏÅ4Š³b#ÔÛ¿#üg †ˆ”ôH¬ÿÝpNs —}kðÆ©®XJñ}áÏ~G²â‡ªÙ°§¡ {§šõ©$*ÿþ˜7kžþbÔóø<Ç„þHyø§ND*íÔ~ÌŸ–:»92‘Xõ¢å|§Ë„ïÍòտͺç\ -endstream -endobj -1210 0 obj << -/Type /Page -/Contents 1211 0 R -/Resources 1209 0 R -/MediaBox [0 0 612 792] -/Parent 1208 0 R ->> endobj -1212 0 obj << -/D [1210 0 R /FitH 686.127] ->> endobj -1213 0 obj << -/D [1210 0 R /FitH 349.887] ->> endobj -1214 0 obj << -/D [1210 0 R /FitH 329.113] ->> endobj -1215 0 obj << -/D [1210 0 R /FitH 306.136] ->> endobj -1216 0 obj << -/D [1210 0 R /FitH 287.014] ->> endobj -1217 0 obj << -/D [1210 0 R /FitH 266.794] ->> endobj -1218 0 obj << -/D [1210 0 R /FitH 243.816] ->> endobj -1219 0 obj << -/D [1210 0 R /FitH 224.694] ->> endobj -1220 0 obj << -/D [1210 0 R /FitH 192.519] ->> endobj -1221 0 obj << -/D [1210 0 R /FitH 168.988] ->> endobj -1222 0 obj << -/D [1210 0 R /FitH 150.419] ->> endobj -1223 0 obj << -/D [1210 0 R /FitH 134.055] ->> endobj -1209 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F70 508 0 R /F11 573 0 R /F49 457 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1234 0 obj << -/Length 1952 -/Filter /FlateDecode ->> -stream -xÚíZ[oÛF~ϯàK -‰&œû0@°'u‰£mMò@K´Ì­L*$å4ýõ{æBñ6”­¬‹mÚ}1禙sùÎmÆQ°¢àå£ÓÅ£§/$ b "‚ÅU€#”ˆ¡ÂD‹Uð>ˆ¡Ù\J¾;[üóÍlN) <;y~v1û¸øéé ÕÙæd1ìo~Ë©^ò(r'6ß`N#†ÁœHø-µ«?DM–3¢ÂkÝcá²È«t¹«³[=˜Ú%·3ÎÃd³sÝâÊ+£.¿L"IXCív“9ÂE´YqU7v¿È]¶KžØo–/7»Êò¬ÏÇSb¢ ÁQÌìŽò1{DˆIÕò©vÄbÜãIŠ›5ÿð°!ŽE³ rÂ)ýÇñHŒd3<ŽIqÿ㜔Ê4YYù%vÏ/³Ú6wy•­óÔÍg3æ3"Ã:]§NùIe¿¯Ï~Ñ3o/"œÇÅ1Öò1+'g¿ Ï6Uú¤ÙVl5[+ØÚNÕשP‰.¨òtx6ARHw´lŽžTòœÒ; ºYe¿¿§e¡I#LŸŸÛÁÏ Â¡”®±,¶Z_²|­°‘*ŒoËô6+vÕæ‹í¯ÒfV¶Ð­ÒZ“`Àæ€fŒbÎ-ÍÅ•åðÓ.Éõ‘µå¿LòuZ;`Œ…çy#ÄM/“jzŒ$迧Š“# ÏVôÿ#!h0ÆßÅ›1ôx„@Ä}~OAžÞ´º‘'Ó¸!Lãþ©?ÀÜþhY¸,´‰†»Ä1Á[uüÛë.Þ/±<¾á@W{zÏL îqp¬»?°¨d³æCEcb$[D`PÌ©I¾r)Epm]ž‡¿9a1`RôÍÅðÉ&-Ÿî¨êp¬k‰öKtÔ…-×ZEzó*ݤËÚuöGj36 m³úÛ±Yݵ6kÛ­І?çÛ•ê³r¥c,ãÄ*¹q­e±if·›$w£Úì2ײXbŠ„—»Ú·m¼“!%ê±g!û=©³¢q4ÆËmg4„#Ç À£|`Ï'-ÏyÐIp$ãø. ó˜ €Nú@'èÔcN!¸âŒ© -“ ÍA ¬í­í±g¸›´A|`R"ÆwšT» nr´'VHñ=1ßïÛ¥Ãu:°F‰§•(•’|µURÙUŠîNy ŸÜa µ¶úãhq|Gµ¹‚£^\CÊb Nj-:{rnŠJ[…–©MolßÚ2,±éj01*&ŒÃE2gß:zìí{d q2°Ž3¯uœtÔ‰|Ï9wœÿë·ï<é?A¼ÅÉ{_D7ùÑALã.J>ú6Ó£üOúq2ó°© ÀÐfÓç?¢*>†Mÿ&¸]òq”Œ]¼¾Ú_©v bÏ Hãü_g‰hÛiˤ?“â‰ÄVñDv¼se'2Ç‚ ¨¥ãáXþCAÀ¦A 1DFܯI^  ኴ"9}u–Ö?¿õWMÍî8L*œãÿ•#PbóÀd·‡ -÷*S¢leJvé^ðù:[êðum'²|•-“ÚX—"®0Ô­¦lÕí¤„éÚ.^™ÂÕÌÙ}òô³­L! “¼ýLˆt7:FÞphJT>*QéT‰ÊïS¢žLe(`¸u’ŸJ$ÂrPݯ¶wKèÓ#éƒ ŠíãÕ§ ³“ìkÈã:ëc}ïâ¯=/\É ¯+v³MŠÇÝz°g„’¢Ö2^Ÿ¾zçÉ^)ÔŒòÎìZ½ìõ˜bL×G1÷‘ù­¹Å;7ñ™}·ž²^jîtëj@h5ßu™‚G(›i­zÝ*ÜH -æ»q“…OÔ±D$–NÒb…^VÆ ÎíÅèîVªºØ:g°hP]Õ@ÓSxÕÀ`•. í~ÂUr¹•—P_´YòPy9 sj`.ˆÄJâJ¹n9èQB‚Óv“{¡ÜÝåMFþ¹Ò¥Ÿ"ýKê‡ï‚õ…â;³ÝìªÉ blÊmvl)6ôçÝ{¸¯ñçžMÛøð¦R­ò{ÐÒs´O”Œk0ì®×ªÁ†úÆJýwùÅ -/'¿ºnHˆGÅÑ/*€<Óÿçßä1Ìs¬úÁòÇ#_}ØýÝ[Ã7iåîÁlž¡Çu‰Àº°S—öéøWçÍÝhU§[CŸFQ”ëÀ6. ¥z¥Ü¿Ng·Ï¬„C PŠˆ¢}‹8?BP±GññØçZ28œ Q·&C¶^Ãc.øñAåôÓ‘ z öW¼T^-w.ïaSÈçq‹`W` *v¹ðÏoèlΙ (n¶I]fpk”„_|\t¯è ˜žç=ºMÊä&Ùºw |•ývÈrËÔk¯ ^Xʈ–NdþE)Õþß ˆœ7²ÝÕö}]ród Ÿ·Zlw_©`ôUR—–¤þô—B4vî ßê·1ªhGÐϼÿ.s¶xôl׉š -endstream -endobj -1233 0 obj << -/Type /Page -/Contents 1234 0 R -/Resources 1232 0 R -/MediaBox [0 0 612 792] -/Parent 1208 0 R -/Annots [ 1224 0 R 1225 0 R ] ->> endobj -1224 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [347.685 256.172 383.025 268.127] -/Subtype /Link -/A << /S /GoTo /D (Item.70) >> ->> endobj -1225 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [278.697 190.979 295.496 201.827] -/Subtype /Link -/A << /S /GoTo /D (section.B.3) >> ->> endobj -1235 0 obj << -/D [1233 0 R /FitH 686.127] ->> endobj -1236 0 obj << -/D [1233 0 R /FitH 668.127] ->> endobj -1237 0 obj << -/D [1233 0 R /FitH 651.689] ->> endobj -1238 0 obj << -/D [1233 0 R /FitH 638.294] ->> endobj -1239 0 obj << -/D [1233 0 R /FitH 624.347] ->> endobj -1240 0 obj << -/D [1233 0 R /FitH 598.444] ->> endobj -1241 0 obj << -/D [1233 0 R /FitH 584.496] ->> endobj -1242 0 obj << -/D [1233 0 R /FitH 570.549] ->> endobj -1243 0 obj << -/D [1233 0 R /FitH 520.735] ->> endobj -1244 0 obj << -/D [1233 0 R /FitH 482.877] ->> endobj -1245 0 obj << -/D [1233 0 R /FitH 468.376] ->> endobj -1246 0 obj << -/D [1233 0 R /FitH 454.428] ->> endobj -1247 0 obj << -/D [1233 0 R /FitH 440.481] ->> endobj -1248 0 obj << -/D [1233 0 R /FitH 415.131] ->> endobj -1249 0 obj << -/D [1233 0 R /FitH 401.184] ->> endobj -1250 0 obj << -/D [1233 0 R /FitH 387.236] ->> endobj -1251 0 obj << -/D [1233 0 R /FitH 349.378] ->> endobj -1252 0 obj << -/D [1233 0 R /FitH 322.922] ->> endobj -1253 0 obj << -/D [1233 0 R /FitH 308.974] ->> endobj -1254 0 obj << -/D [1233 0 R /FitH 295.58] ->> endobj -1255 0 obj << -/D [1233 0 R /FitH 269.123] ->> endobj -1256 0 obj << -/D [1233 0 R /FitH 255.176] ->> endobj -1257 0 obj << -/D [1233 0 R /FitH 241.781] ->> endobj -1258 0 obj << -/D [1233 0 R /FitH 215.332] ->> endobj -222 0 obj << -/D [1233 0 R /FitH 178.034] ->> endobj -1259 0 obj << -/D [1233 0 R /FitH 157.265] ->> endobj -1232 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F70 508 0 R /F11 573 0 R /F14 574 0 R /F49 457 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1262 0 obj << -/Length 1556 -/Filter /FlateDecode ->> -stream -xÚÝXKsÛ6¾ëWðVrZ"ěȥ㇒:S»Åé¡Ž´ÄÈœÑË$•6ùõÝ(Š´(ÉNœÎ´!`÷ÛývyS/òÞN“Á«7±gˆQLyÉGªˆ(¥=+B™ö’‰wãKÜ&ï^½Ñ¼³’’HqØÆ®9ûåä÷dx„œs_‘ Ô:öO/’Qr=<¹tÓ¿ O·×#ÜlÕ “ÁÀÂ0òèöt¥‰fÆÏ7·‘7(h£½¿ìÒ¹Ç'šâgÞhð¾G!¥§¤&L('åU:Ï@­"? ˜ö?¯‚8ǨðGù— ¥ó(…Ý9÷BJ‰MìŸ?D2ºË«žÔ®â1‰£öšQ>]d“Ÿƒ2iüó¬ùªÊ— ‡@º˜¸A‘•°Æ¯Š< þØq´ÄÑ¥©n@¶p„‰ƒ#ÌŽcO±˜€þª—æ¯ùðW<…¿ ÛËæ»yŸ‰£æ°Àxp´6ƒqª©êìÛ–øÎ#Ü.ãê`é¦Ni -Sš}lèïŠÿ]ñá>sØ»%Ù:÷ž—7jžö»÷ž°À!,À:×1@*ébZ1à±gâ·‡œÄZ>!4‹ ñKDq:³ ¶ZúÑUGÔÞÛCid;,¸ð —`mºœï 1ß*äݺq¢À$‚ù´&zÍxe"7I]g+˸¦sSùb’ýírÀfå©FY­L‚Þ‘Þ¹KXÝZ(¦ž\¿x7v'´Ó¥-žA¯eŽAÀz àoz3ËSÈ^«YºÈÜl­o(aÚé§[¸…£j³oQûá+´VµNîkC9Óë–ém=Úع¿7ÄŒ v㬧7›i×4SWëjµÆÚ0^¥E:Ϫ¬(_,ÀÄ·µð€—Jñ˜h©Û-<†uMÒÁ†m¦Û-<ÃaŸohà1-Äá^JñË^c”0ù2­:¡mE]‘\žØq9¡ ¥â«š?¢'xG›?BÆuógÛøÁ¹Ö½_±ÀçNkú?fµ&¹rŠÁV}Óçg‰›îïÙOù¢OÝEZ­‹tæ,¸,&Yq€K4Žã/Ä%*ÁyÍ¥?{¥Ï1ca -u<&™×ØÓjÿ£ -endstream -endobj -1261 0 obj << -/Type /Page -/Contents 1262 0 R -/Resources 1260 0 R -/MediaBox [0 0 612 792] -/Parent 1208 0 R -/Annots [ 1230 0 R 1231 0 R ] ->> endobj -1230 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [420.568 336.826 435.29 349.324] -/Subtype /Link -/A << /S /GoTo /D (table.3.1) >> ->> endobj -1231 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [391.51 312.916 406.233 325.414] -/Subtype /Link -/A << /S /GoTo /D (table.2.1) >> ->> endobj -1263 0 obj << -/D [1261 0 R /FitH 686.127] ->> endobj -1264 0 obj << -/D [1261 0 R /FitH 668.127] ->> endobj -1266 0 obj << -/D [1261 0 R /FitH 285.504] ->> endobj -1267 0 obj << -/D [1261 0 R /FitH 249.638] ->> endobj -1268 0 obj << -/D [1261 0 R /FitH 165.894] ->> endobj -1260 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F70 508 0 R /F14 574 0 R /F83 1265 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1272 0 obj << -/Length 1973 -/Filter /FlateDecode ->> -stream -xÚíYݣȟ¿‚G,­û覿HEs·s—9åFÙµ#E™ÝÆÆ6' À;»ûקª«Á`33É%9i_ TÕõÕ¿þ5Ž‚m?]}¿¼úîG K´ÐÁrðH3«“@[͸0Ár܇šI6›cÃÅÍòï›Íã8ÿrsýöæýìãòçï~´ 0ÆŒLÀ¾{W)T¹ŠüŒ7Ë«Ç+·QÀO“iÃŒH‚Õþêþc¬aðç b&1Á“Sݱ«_,‚ÅÕ;ò|8-ç “FZ&¤¦ÉïÒ}6› #£p9&ürÀ§Ðɸ ù× ½ Ë”µÁœs–(Eï~ˆTô· \¹SŠ-³‘¡Î"ß–ÙúÏ`N˜$|›5«:?´yURŠÒr72¬³¦­óŽ4.Óiˆfâ‹4ÈľœMPX>Ÿ«ü²NJ³Øˆ®L·åLذͶY=›K-E¨1*¥Ã»Êݨp¹Ë(¬·?,)¬Ù0ûq½Ê32A:y¹Î>3šuäßÜÏ;ÊõÃþ78˜<ëàCÚdäá>…¼þm.ýúÿæÒcý?-ãã1-qQøŠÕi¹ÍÎÝšväÝíb9³qxý~f%¬¬9Qäæ6ƒ¹ùssG6,² NÁZ,×sZ•UÞ»òjC×v—Mä'Ž“‘ìÂ~œH 8lxŸ)æ†q®}Lº‹éæî-ø õlU‰¦HŒNÂ:ßî|ßmûp,…ãå‰ ÇŸ 'V,Rö¥pæÐA%z\‰aX<œè³R}ÿ DAM‡ÕAõ©º¦u¢Ï_œ†Ñ.C{^Ðk,Rj9ÏŠlŸ -˜ Œ¹ÇUEéHó2/·$óɬ_Îà×g/«}6‹´ÍÖÓké¥øßýr{‡T|VUUåÓe•0´‡ùy˜ï1 ãeü´`rú -]¦„õ8øivÒâCÔ¤;iQTèÅþPÜÍêX×'8EÁÒNÆݵóâ‡ë¿Þ€Jšç#¿„y67¤»Y¥…ƒ 5I-7½‹É„sÐÿÝf.8³<¤ÆÐ|HÎC!-ä«Ë¢ë$jJÐ*[k¯¶‚j¹›Ê=L;Þµ]·Y™ÕÐ]ô”Ò¥Ó…=bQ»Òõ5ÇåTÉ)ÇÕ¦ÂÆƱ·ù§yÂÃ’DÔSv`õ[·p¨ó³7$[UEgîP¤e'FŽq (ðQ›äE|,ŠL§ÑWÖ™µ½«CÔz°¼¿.xˆ -Œqý!­~Á -n¨Ö™ïâuæiQîyÒ"[u¶|;ÕÛ€nÞÿtÜ;%$¡bÄ%aZS¹¿«\E5®ª´Å;_':ÔPQïÌqÕ’!z¤åeÝêöŽØ‘m/!LBQ·¿O¼–7¤‚qãó±~9Ñ>¾áÝxµ;L¢’½,¥ËAêsVÐÓƒ Ç°–*ñ4†Z·SzʽÉuþ)§’€ð¡ƒlš—4p¥  ÎÚc]ú·ÛñÅræ#†ëÒ-¬˜‹ð€@úÙ¹Šp>˜¹„6\ü _ÝÛ4"°%鸂­IÚòMu¬1\“»0 UZ¡ÆŽ4¨¿AŽ&h© „f˜ -…x02—c{8¶oªŸvyoÆœ—pM‹§aP°IW-¿';(Gé®Hk‡Öø4pIR¿AÀ u»«ÊªÞ§ hµâRƒ†Àæ.§&Ñ \|¼{¿¸ýçÍⲘŽÇQÜY»ŸÈ=dT÷>¶S öß7ÄÇ)#Š©¸çý‡bÚˆâÜȨ7GFúÜœ¶/ØG_ þ\4œ ì{Ma¯Á"JüI¼ß®GAYØ‹a·žã7ŒÄü'])§ºR’y¦+G Åð<ñ­~gíÔNyèzÚeŽîZ¸ßwÜN固ÚÓ@DØù¦ú‰;ÞqLé+ZLΚ£20Í$²tœš&qׇþ;<|Íê -÷sÀçÛ×;ùM–T¸¯H"i¿#V$¦“³3TU"æ1Ä|Ç\ aç¸,”IX,ÕË{’`Võ Á=ÝÂŽÊ2ÖÝn¦vXõ"ÛŽ ÷ PäYãÝ,É{ÚüŒð‡•êX®Óú ùóK{:8:ÂÊÈ ™EÕÓéY%gp¸›øfмA£Ú“'a<'Fz6C§¼(Hz:D u›î+pÃmZ¯‹¬i¼•·p¢CN\z}Wv_¡÷»ªÉÊ3z1G¬‹‰­GOñq<`øi*—#ºzdj/×L¹/"@\¸ù¶›ÛH¼¿öuø•¯Â¯z~ù«ð«^‡ß×зWøèÉ.`?ÕüŠÈâÈÒñ¿Ñ—îó"‘ÓS7êg»Š¤±î®õïzÿÖFЃ?ÀþyÊ«× -endstream -endobj -1271 0 obj << -/Type /Page -/Contents 1272 0 R -/Resources 1270 0 R -/MediaBox [0 0 612 792] -/Parent 1208 0 R -/Annots [ 1269 0 R ] ->> endobj -1269 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [242.417 438.622 264.888 449.471] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.4.2) >> ->> endobj -1273 0 obj << -/D [1271 0 R /FitH 686.127] ->> endobj -1274 0 obj << -/D [1271 0 R /FitH 668.127] ->> endobj -1275 0 obj << -/D [1271 0 R /FitH 378.887] ->> endobj -1277 0 obj << -/D [1271 0 R /FitH 233.875] ->> endobj -1278 0 obj << -/D [1271 0 R /FitH 172.923] ->> endobj -1270 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F70 508 0 R /F83 1265 0 R /F14 574 0 R /F71 1276 0 R /F13 705 0 R /F7 674 0 R /F1 667 0 R /F49 457 0 R /F11 573 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1282 0 obj << -/Length 1737 -/Filter /FlateDecode ->> -stream -xÚíYYsÛF ~÷¯à#56{î¤ÙVjej·¶4y¨ãZ¦¶:lRJšüúb¹<¥%O¦ÓN§/æ! àÃÖ8x pðÓÑÉäèõ[d$•Áä! #)U µD„ª`rÜ„Bön'ï^¿U¬%I– Ôä2§çƒ_'Ãë^Ÿ1JÔë+¥Ã“Ñd<¹.Üëóáàlx=¶ÊŽpaAym›Ñ'\#­eЧ -^2·G­Oƒ›¾À8dYò¸(,Ä %œƒ+²4ðnž8™æ:ƒ—¤Y}Œ¡ŸzB„Ñl»/¸ij¥HQ~ru}r1o+æVIÝÍøQ¤ Î…ÀóÊcaH“JÇ­O‰@¢^åiæW"jK%­8µ”<§>%à³à•’ úk$9Ôà*Š¤ù6°~÷‚%¸ú¬}` Ø—ºù®×§”†d4BÕ I/ho{š…ËÔ…;Ž¦=ªÃö‰‡Óå"‹§ëUòɾÜB$\>xü âUù˜ú!Ȩ*ëÒåÜéÃnéÕ²(6ì•»IÓÙ:+,9Þp—0…”n{û ÁÒ‘©¹æ“ ²ó.@@T.Þ:]EÞr%Yåmзñ Ìâ‰dj©SKx;2XšRñŒÙöÚ -#k¯FÃË32f5ª¡ {r7¿«ÒÎã*Ü©†E.¦+I„µÞ¶ºµc[fŸ\xv+ˆ™ÍÚÂÅnVÝYö‰Dúð]v²9‚„C àÂÞ å°¹ÿ¼(‚¯BïGQ4Qô`«ÖۤĦ½5Ìñ•ÈÕh<±›~pÝÓ<œìÀS@AÆâ@Å~@É>DUgo€XRªþL¥‚·rÓm7Ûá»~ú: °L÷u½¿Óð!-hd iízÉ+—ß¼Ù“y/-y»s­ö¡Ùé AR)¸á“:Ìw{[aáÕÅèÒÞÑ¢q‘v{‡÷¶ãª0^¸Ç;ûðÅÝç5$º›å-îÈzŠƒô1p7×ùzV!ŒzÓû90>Š‘Þ÷t÷G·<ô}bvŸ2Þ™¥y¥D´¸÷±ƒH]iö äeÊëprô\8M ÈAÖAX!Mu0ÝÜâà~|`¤ ÎEç@ÊwÌ,]mÏhTr'7 -1^p™S`C–÷|ÀDNVž@I“Ó‹®8S’¦ -ežÖM¯;rKð†;ÜèNwÚÕ]qÄ 1¹ÆˆAè"„¼Þ/oÀa˜1 R"xÉ -mbœ÷©ãv}†±‰ôÀÝ/4Ú«¢½r«ˆµ—þÁcôBRg”pF1¯QËPûlh˜òÛtp4ÈV4â´Œ†$!£ÿD4ÈV4ZF9ˆväƒ+¥/Ø6x×Â+À-]È"ÝêJU`}ÜësÎËd‘ÌmM[Cš»°^­#gò5Z%ËbJxŸë€º˜u– úPeòz ć7¨þtWAù&(ªšgû¨øyÍ2gê×8]¾r¾D9çj|:øyØ5§l4\¢ìqQÕ ÎN‚-KT,MŸ°÷ ÛÓ¬Ò@"í4+€§Õ!½ßÒá,‹‹¹±Ž÷E û„ØU•åƒ£aGS‡—G:¼%. -Vïiõž“ƒp³ zFÂ.Ùn†˜ÃDZož’Á,˜þò"IŠãÉyôg>ßj£VÁÂêÌúÞC¡jTöÍ“…Õ•ëk ØcÐ6þ‚éÛ|@4TYù²d÷VhwQëŠ{Œw rMÌØ &Qî1¤z‹ï‹3ÇFZcvÌ PÛd]¹Ž‹üÔëL4ïVÌv!鎈µ6å,¬‘PÕh9¤¤­ááò#Ž¥Â«ó5%6 [þ3ÏVÀ°Ÿ º”KŒOë|Åþ)J£y ],;öõ@ -«râr¹ˆ‘G{¿”³í@CÒäÒ¿¬W»Vi7ÈòÀžBƒ4¬“W2Î"d7±$ÒÎj" T#^€KXJ¡XLlÏûòäˆ&¼ÓÌ„ãä«Ûš@â•mòOÉ*+Qò.®‚¦ÌêO|ÿ£u•˜ð,ΦiòT6Užóô¼"¤q¶J“©ý%ë0ñíà£Þ0´kz® ²ÍSàÅ?Î'¾Q’!RóœfRÙVò ð"M£'«ÎšõSûØ( ;Ï-xigN <àE»£L4-§^œlž(ƒ2C®¡ÎÞ÷¶ÍDiâÜ‚œàá:‹ï½Œ -lû NÎ4_ -endstream -endobj -1281 0 obj << -/Type /Page -/Contents 1282 0 R -/Resources 1280 0 R -/MediaBox [0 0 612 792] -/Parent 1208 0 R -/Annots [ 1279 0 R ] ->> endobj -1279 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [378.411 519.186 398.115 531.141] -/Subtype /Link -/A << /S /GoTo /D (table.6.18) >> ->> endobj -1283 0 obj << -/D [1281 0 R /FitH 686.127] ->> endobj -1284 0 obj << -/D [1281 0 R /FitH 668.127] ->> endobj -1285 0 obj << -/D [1281 0 R /FitH 651.689] ->> endobj -1286 0 obj << -/D [1281 0 R /FitH 631.763] ->> endobj -1287 0 obj << -/D [1281 0 R /FitH 610.399] ->> endobj -1288 0 obj << -/D [1281 0 R /FitH 533.133] ->> endobj -641 0 obj << -/D [1281 0 R /FitH 426.523] ->> endobj -1289 0 obj << -/D [1281 0 R /FitH 400.676] ->> endobj -1290 0 obj << -/D [1281 0 R /FitH 384.736] ->> endobj -1291 0 obj << -/D [1281 0 R /FitH 368.795] ->> endobj -226 0 obj << -/D [1281 0 R /FitH 318.989] ->> endobj -1292 0 obj << -/D [1281 0 R /FitH 301.098] ->> endobj -1293 0 obj << -/D [1281 0 R /FitH 273.265] ->> endobj -1294 0 obj << -/D [1281 0 R /FitH 239.337] ->> endobj -1295 0 obj << -/D [1281 0 R /FitH 167.548] ->> endobj -1280 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F70 508 0 R /F49 457 0 R /F83 1265 0 R /F14 574 0 R /F11 573 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1299 0 obj << -/Length 2432 -/Filter /FlateDecode ->> -stream -xÚ½]Û¸ñ}…ß*±N¤¾Û‡"i6ÍÞÉ]Ö}Ê8Ú¢m"²äˆÒnößù eÙk§w(Ћg†óM:šmgÑìŸ7¯–7?¼ÉãY–™ÌfËÍLDYXdå,+²PÈ|¶¬fƒ,LÂù"Ï‹àþvùïŸç‹8Žƒ··/_ß~˜ZþøÛbBÖÂ<)>íMsD¹‰ÇÛåÍ—Ãh&ŽÌ²<Ìe9[ïo>~Šf,þ8‹Â¼Ìg„ºŸÅ P¸±žÝßüÂ’OÙ -‘†y ´Ò<”IÆÌß©½ž/d’'Ár.‹àé³"@X!epo~×(ݬÌÈ/„Ë4彿Fi´2½…¯ ¤¸ ÐÈçÞl]ýÈ¥I¼ÖvÝ™CoÚ†U¤šŠ¶}gÖ¸bI—Õ—t„35$eñ'ÔàiÉ"Î,æÛWwËûùBB¯L2%JÔÌE°…©Œ¢ –p ™fÁ»Ö ^²ð„¸åq»áÍl<ð°oy ÷ãu’¢S….ßÿtû¤@fw š£×[ÝÍI‘–AJLÓçÜw­yüúKÏó3î×NÏsبêA_ä{wÿ¯Û—oqŒaxæE Ι¿©œ8Ë ß©žG¦©ÌZõÚºé¿@k§°ºN3yC”Q( N„iZòÀJ#ç„ô‰_"BƒNÓ( V€˜$¨m£\éµ#@Z­x§±—¯XCµVÎr$@dÂ뎘æIXù¿Å£@#ž¥I -aã<€N™%ÁÛá×HÄ{Õà4zµªQ­¸4X]ñ W'v»É hº許@BO> endobj -1296 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [441.094 117.248 453.603 128.097] -/Subtype /Link -/A << /S /GoTo /D (Item.90) >> ->> endobj -1300 0 obj << -/D [1298 0 R /FitH 686.127] ->> endobj -1301 0 obj << -/D [1298 0 R /FitH 668.127] ->> endobj -1302 0 obj << -/D [1298 0 R /FitH 313.558] ->> endobj -1303 0 obj << -/D [1298 0 R /FitH 290.134] ->> endobj -1304 0 obj << -/D [1298 0 R /FitH 274.072] ->> endobj -1305 0 obj << -/D [1298 0 R /FitH 249.099] ->> endobj -1306 0 obj << -/D [1298 0 R /FitH 231.1] ->> endobj -1307 0 obj << -/D [1298 0 R /FitH 213.814] ->> endobj -1308 0 obj << -/D [1298 0 R /FitH 190.618] ->> endobj -1309 0 obj << -/D [1298 0 R /FitH 174.949] ->> endobj -1310 0 obj << -/D [1298 0 R /FitH 160.664] ->> endobj -1311 0 obj << -/D [1298 0 R /FitH 143.378] ->> endobj -1312 0 obj << -/D [1298 0 R /FitH 132.137] ->> endobj -1297 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F70 508 0 R /F49 457 0 R /F11 573 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1318 0 obj << -/Length 1843 -/Filter /FlateDecode ->> -stream -xÚåY[sÛ¶~÷¯à[©i…àð¼t|KíNâ6¶æ<œ$3¥$ÚáT·P”Óôן],H‰2e;MÛ™N_Ì%-ß~ûq óä.áÉG'££/}’±ÌJ›Œna9³Ö%Ö[&¤KFÓämjüàýèÇ/êÌŒ[nœӋãŸGç׃¡R*µl0tΧ'—£›Ñõùñk¾8?>;¿¾AgG¦l‚AXë¬_¼ÔÙ.½ŒdJÃ|f) ÿþ¬àgÚ¦§Ëù*¯Ëq9+C‘Ö%ÓÏä¥S*\3otS£éÙ鈌zùk ä‚n/6ï¸Pst™Ç¡:ÏŠ5Ùyÿ!¯¦!ÇrŒ;â2-ã Æ°€2®Þ!Ù¨â~`LšÏ6Á¹BO€ -Cwå}܆àùñj–0Ëßg§ž0Ý›vÛ'–D x¨bï3 -Ò2Í   ¤IoŠzë)gÒ‹"ŸÙDr%ä³þ„gªñw¹Xmj˜íUºÊ«|^ÔEµþO_¾8óÒ4ùºZ.Š^n4ó:äøiSZåè|tô1¢$ZÕ¸î“Éüèí{žLáÙ g.sɧ0sž(­˜ø»Yrsô¦G‹gR«b:‹²pK#H–§#¬‘Ï1]¨@B§7åïiÔšSªËwÜðqY¯á*Â,åa«.ÙsSÞ-Šé÷ i2ÈÄzR•«º\FžäM‘UÈ- pUB1N‚‰Ö­ëG°1†e™ØG^‚ÓÉ9ó‰Ö@'ƒõòÕå뛇¹·ÀhS¹@æ×Åð Qà]”òªÊqB¨ù^„Ö™DuÑX P0Lz W¸·zXÌŠyAîilë,Ü¢4áuFú»\Ñ-(ƒÌfð¤•L9× ªµ¸ÏÊyYS­B•[ªò^"K|­xßõsŒjvzszüêüLöÁïëLw`¶'cEÄ ‰²Å -Çw°2V¬pxؕψØÖ1eö6µb0Ôܧ·Ë -  ‚»SŒšZÖvRÄS\|MsñG»ÛŒ•_äœõ!¶@|. oÑÂõ±ìÑpäÚWDfº gPòÝý3S\~f¶t“-0›\k»¦Øê4)‹ôl0¸=fËõfK9Ð ó§e˦å^‘^ŸÞT ÐÐ=ñˆù‚×$ ¼Ë¥Ï¤.Ý¢s4ÆÜCDσ¤Àuœ¯ã/æ9¨òä€*Äh:FØòl0´ÐÒ­vú‡D{¤“Ì -Ù¾©Ûð„ÞÍ'$À¸fÒ;ÎåÃ=Àë z‘8ÅjÄÎÅ]d¸,iKy¹ ùx£ìuV¡-ÞiFu„‡…»W„¯Þ\ÿm€÷U¶Êl*{ e%|RÁ¡õj¦(òµ£xuQ -A—á'Y+ C™tvwö¹™ãß1•=Ö´&‚+Pƒ›¼‘ ®òÅ]èoÁ¦ú‡9yFÛV·Gà ãY»åuŸ,h¦l;%§¼=7[µ6w«Y¿º8Þ"‡ß\ÐÃAµ¢ÍNêåìóÀë4¶ù6cVúý.¿Œm=]¡©¯#—ëhYõ 6Æê2^þïüIBª¿ÞϽ„Ô,Sê B®™Ø2ò¡—ŒqùEN¬Â²]^c„HDF ¡0LØ=¯¡ǯìøV”Vm[ˆ0ºCc|hLO‹Ñø7°ø§Å,p”Â)Ä£ ‰pÚ§¼ïsb`ó½ßë"aìáNëøS9›QýFÜ~½?ÿåòæúäõåWW³}ªšã„ìPÍú9Õ¼—ænmÇÍŽç}é¶Ìóv±o •NfñÄÅ)NUCmoî¶2@ü /LFiP6öÈhätiÄ€¾b†ï<Bö8× ÛRý€dðž}‘&û‘P 0Où¨ÆR4va_ñ,£§&óÎ> endobj -1314 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [494.892 629.328 507.401 640.176] -/Subtype /Link -/A << /S /GoTo /D (Item.90) >> ->> endobj -1315 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [332.496 577.529 349.294 588.378] -/Subtype /Link -/A << /S /GoTo /D (section.B.4) >> ->> endobj -1319 0 obj << -/D [1317 0 R /FitH 686.127] ->> endobj -1320 0 obj << -/D [1317 0 R /FitH 668.127] ->> endobj -1321 0 obj << -/D [1317 0 R /FitH 644.217] ->> endobj -1322 0 obj << -/D [1317 0 R /FitH 628.332] ->> endobj -1323 0 obj << -/D [1317 0 R /FitH 604.373] ->> endobj -230 0 obj << -/D [1317 0 R /FitH 564.585] ->> endobj -1324 0 obj << -/D [1317 0 R /FitH 543.816] ->> endobj -1325 0 obj << -/D [1317 0 R /FitH 518.307] ->> endobj -1326 0 obj << -/D [1317 0 R /FitH 484.379] ->> endobj -1316 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F48 455 0 R /F70 508 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1333 0 obj << -/Length 1071 -/Filter /FlateDecode ->> -stream -xÚ¥VÉrÛ8½ë+p$«†ˆ…rIy‘'N9®ÄâLUÆÉi™JTH*™ä맱ÖB/3s°Ñׯ$h‰ú}ršN^]H†4Ö MPz‡b’`•h”¨ÇT¢4G·A‚9#)U0›¦|#ÆXðvzr>½ ¿¤ï^]¨XÃ’kÀ·{…6.âOœ¦“o“L‚â‡Ã‰%Õh±šÜ~!(‡Åwˆ`©%úa]Wˆq@ÍÆ -Í&]ä»ÇÆ”ãDH˜òÄ~­ -ˆV&$HC*ƒŸ›0‚ÁÌј³òWa¢Cq 茡(Ž±ÂmþL™—] cl½˜Â -Ûõ™•Ëu‘¿ £˜ -œí¢)7]Y¯GÙ:7š¢íšraVZËÇ8LCG·‘ ²9œ\½»÷º2)6v›±?“˜UÞº_Ùba¨›0òr½ô SË°MS[Q.Š|Ûn1‡-…ô4wšÍ{¹vŠ…kôzõbŸV_ö*NÍ9ãÆ^Šä¡ªî@is¦‚Ë;—Ç=$3+{‚/yˆ"ýôa:’vŽ)U½w lÖ6;pðÜd䧳»{›E°ÜåÕpy3ׯ­ëÎ!ù®2y‚…”ý!äoE¡k:„ý›Ó‹L˜Ü/rHƒ¯Õ¶«7† -.@‘¥×Ò&[˜¸¿š6!Ý® -™ÑÝýc²=ÐVÔg¢¥>ú¼þ÷’1FåæëûidWu¶@Ìb¹*MP\ßC2¬¶ý~S¸ÎܶVÆi@„hî ù Ú”€Ï²ünX;ÏÒ ¸èH=±OKè1¯Ê¡-…‡A¡Œê‘»º¸º|?;Î>§» -9☗Jîg€=Ÿ.¹ãŠK|Ûf.ÈòWæÚ½YÞd <8‰ÖýÞ¶†Êˆ4d›}àXøf®gÙlòˆ¥G™N^Ä4×–i:Vöšùî NðDm«ÎèZèò~ª¢±% “®õ¾lhéží“Ñàlvvr5Òt¦öÊò0¿˜ªÁáü ©âã\ŸŽ©žI&äS ãcŒ -Ìô3‘ˆ>ÞŒEºe/ŒË¿¦cú‡ïÂp†O‘c@ˆ¾•ÀÓ÷—cx <Öâ±z¢„cŽ{õÄ_ÐѨö½Œó³Ô„I ê¿æßn¡¹±U¶ö«ÙŠ©rO£óè;Ù.ÚÑ«s¶¸ä\úñÿ·0þ_ZØÓšŽ©‰aFâqÂw>¤ÿ„þÐÛ -endstream -endobj -1332 0 obj << -/Type /Page -/Contents 1333 0 R -/Resources 1331 0 R -/MediaBox [0 0 612 792] -/Parent 1313 0 R -/Annots [ 1327 0 R 1328 0 R 1329 0 R 1330 0 R ] ->> endobj -1327 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [165.458 553.554 180.18 564.402] -/Subtype /Link -/A << /S /GoTo /D (section.6.1) >> ->> endobj -1328 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [151.258 511.656 173.73 520.484] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.4.1) >> ->> endobj -1329 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [151.418 477.838 173.89 488.686] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.4.2) >> ->> endobj -1330 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [151.258 435.94 173.73 444.768] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.4.4) >> ->> endobj -1334 0 obj << -/D [1332 0 R /FitH 686.127] ->> endobj -1335 0 obj << -/D [1332 0 R /FitH 620.248] ->> endobj -1336 0 obj << -/D [1332 0 R /FitH 582.446] ->> endobj -1337 0 obj << -/D [1332 0 R /FitH 538.61] ->> endobj -1338 0 obj << -/D [1332 0 R /FitH 508.667] ->> endobj -1339 0 obj << -/D [1332 0 R /FitH 462.894] ->> endobj -1331 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1342 0 obj << -/Length 122 -/Filter /FlateDecode ->> -stream -xÚ]Ž»Â0 E÷|…Çd¨ëÔ’Ž)¸$$”zClþÿx.0]éèèèÜ`&ý\`ÄQ¿AB)‚yPð+œ£Pºø¡Ÿ•ÌŒ$ü̼ÍROn-uÌS§Zâ´÷Õ›Õã/V·ÖÖW,Ð÷Áÿš‡}ƒ" -endstream -endobj -1341 0 obj << -/Type /Page -/Contents 1342 0 R -/Resources 1340 0 R -/MediaBox [0 0 612 792] -/Parent 1313 0 R ->> endobj -1343 0 obj << -/D [1341 0 R /FitH 686.127] ->> endobj -1340 0 obj << -/Font << /F8 458 0 R /F73 507 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1346 0 obj << -/Length 1181 -/Filter /FlateDecode ->> -stream -xÚ¥WKÛ6¾ûWè(Ë—D²—"M6m -tÓtE’ƒVâz…•%G’³ØþúΔcÙZ£‹œÌÇÌhß|ÓhÑè× ¿¿¬W?¾•:â”ä9Ï¢õ]ÄhNtn¢L "%UÑÇøõ}±mŸ¤Be±J>¯÷j’(­ªÑ(•†h&½ÂÛÄȸ/¶Ö«¼±e+WÖ+ëÈ“ó<¨fŒh¾µ¾¯‡Nx<Ør¬»7¨9”IÊâ>aq}›¤\Ç6È÷Ö/Ên»kìh½Æ®ïœXi«}$Z[Úa(ú§ ÙMÆK/[¹ÂŸu»iœËè%cÄdÁË; Ž$©"x,(‹Ñ/[ôsS·ài8¬Ç{\Qï+.îBvàöÞ•íÀŠïº¦Å.C FYy…[ÜSU®t¼Ì£6×|!ðò«sª»~ºõ&šPñCÚX/ÒøR+zTk¦r’r¨ÿø—úàœäl’øšdy\4ûƒ+E[y? >ÙMóä·.±¸xózí½êj_87 f­ \Ϫ8vÎÕÖ¥IÈøñ¾v‰ÀjAe Ä .öƒ+jåwüí6í0öûr ®º`'Àcj&‰9hœÒ¯ÃŒg§-ó›Å3í#ͼ8ôäÌY|×îöèŽñ®@{иÃO y¦”ä”èë®=8|l=äRžm‚Ûï÷ãs_Y]­W_VX@±I‰Ñ&*·«ŸiTÁ%@‘(£¢G'ºACÅ&ºY}ðä4GÚÊ#!(ÉhðäÚeŒKeâµëçÄñMý¯ï_“Á÷Ù¼üŸhFoëq€_æ„„†PóèXæ¦Þ´¶úÌe’A%†²¯w¾BÚjÂÀPC÷:¦rBHÏ'…ÌYR¤Ñ—“2+ÐÁe$3"ðïúŸ?¯Îk<Ë 0:!6Ú âLæ’Ç€EΡá®;·È€ÚBLtØÓ¼™ð™Y®¯?¼»y¹CüY‡Z$›ýÂkÐû‹înw8…Fð^æ£ä9ï,FÈ%‚Ÿ„øÂ^•¢ï Oóx \ ž¡1?ÍÇ«vÁ=eˆd’]Î<ׄk>ɤ¶±[ëƒÔÓìÈ·]Ì*|'ÿfc1©$ÔIRÓÀÈB‘Üðy¦„/7 Ï)¡\½˜E† ¡aþN ¸Ö×Åmƒc…Ð9¿ºÀhœB–¿‹Ñ€¸9•3ž6g4)ÎËcFFêÿ0šzŽÑT~Êhò˜ÑÍÜv؆÷ZÈs˜^¨SX^ãÝüãý_WˆÜ”q˜ffÔ œœqÕ+¼aîñ뺭ê²aŠó{xŸÝ‹®xxÚálÛõvÛBd„f'•”ÉŒdÐh³êsº ÃÂíTEÜ œÕ¼³Œðñ»1¦‘F`ÈgЭaÈF8e‡1”gÓêàƒrüÅÑP„Ûñ” ìpj­üQÛ•÷Ç‘ãH—+¨’«-ðÓì‚á'cLÐôŸ’Ùná4ôLÎf2Ìÿ’>"¿ -endstream -endobj -1345 0 obj << -/Type /Page -/Contents 1346 0 R -/Resources 1344 0 R -/MediaBox [0 0 612 792] -/Parent 1313 0 R ->> endobj -1347 0 obj << -/D [1345 0 R /FitH 686.127] ->> endobj -234 0 obj << -/D [1345 0 R /FitH 668.127] ->> endobj -238 0 obj << -/D [1345 0 R /FitH 429.01] ->> endobj -1348 0 obj << -/D [1345 0 R /FitH 403.149] ->> endobj -1349 0 obj << -/D [1345 0 R /FitH 375.315] ->> endobj -1350 0 obj << -/D [1345 0 R /FitH 341.387] ->> endobj -1351 0 obj << -/D [1345 0 R /FitH 245.688] ->> endobj -1352 0 obj << -/D [1345 0 R /FitH 209.822] ->> endobj -1344 0 obj << -/Font << /F48 455 0 R /F8 458 0 R /F70 508 0 R /F49 457 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1356 0 obj << -/Length 1961 -/Filter /FlateDecode ->> -stream -xÚ½XßsÛ6 ~Ï_¡Gù®æø›ÒÞº4Ùº»­]êõn×öA–GWÙJ%¹Ùú× (Ų•dÙíöbI4 |?‚x´‰xôãÙ«³ï.“(e©•6Z]GÂrf­‹lb™.ZчØÊŧÕÏß]:u83åL¥Äø9ç?½|»º¸Z,•R±c‹¥sI|yõò— zuqþæÕÊ9ãAùTór¸”‰Ív¬Otœ7»…tqŸU»…ˆ;4qSÒ¿uÕõ4Ô\¬ü+kŒ°~©hÎÄpÉt"‡_ÆÆY½/GEYOšîªº¦·õb)“¸¤ û® @Ÿö7UX|Ýâl±ñ¶ǘÔÅ«øG.t ØO1Ka™–ò1ÌàXøIÀw‚¥ÆaG nlÛ°‹¯›vF}š0ƒö D×3~ÓÌèå«s’ž7¤ ̳yUÂÖ%qß‘>rB¬i`]ƒhAŽ{ü¹/Y®ÀKäBWamÑìþ¾¡‘r×íÛq¡“È Cw„­–ÀÁó¶-‹*ï«f÷Òøî¦Êá ýï•Á3(Ä,¾ÁÀ—}F6Uß¼ýì-p%JßáŸMû9HʳüóÌÐy_̃æS´ž2Iã—è‰szŸ÷&¨’)€nðó§—_ñµlÃ?9`ôëÇÇ¢$ðnƒû®Úmè• ûkŽ‘ž8E‚eNNâáqàôƒxj_ÐÖI'™HÒ©3º²öžÂ¢ýrŒ$=ÖõH™$þ¼\{ÔËé(-\g]Õ±IèÁã.ÆÉœaNÍù°4œÇWe†4'Åi,–몧‘ý®«6»2ü_ÑÆ”›²k«ã××´„xSÏ&|¶£lÏ9xîšž–|+ÛɤeÜõÍ­8žZ€Ž; *“×,™DGé¸Èúà²Û,¸ÙÐY» ¢$‡ƒ¯I”|Ä#ÒiÔ <‚#÷Á?<tÄ’Æ(¸s’5—«?Þ^œRK¥l 3è i‚7P.=ÃÅÞÓáv$¾ó7ƒÿëºÍ¶aV8È} - gBÅÓ¢ ç¯(‹¨˜û󬹌7¸~*&pxµHÀûëÚ‡¥3¨yÔn"z¹ò~Ä鎩#÷¢aÖHÏDwˆÝ #% ‡ &áøIþ¯)úÈc‡øè)ôøå÷w«pb(JÑ2qʃãçÅêìK0SDàW¦A¸ “<‰òíÙ‡O<*àOÐÍÄç;?u Ñ®e…¥ŽÞýFÙÈ„6Dà ÃsÒÄ7\‰*ÒÏ8 µ‡Ã1 -¿¦ÈÛ†I7sˆé|ðO'5I ‰NBL ;«Ÿ0%Dm1o‚šÆToóp|ß\]Î#ñ|ªÝÌj§{jqï«î>¼ )]ÙϹKBæ•Œ!ü×Y)Á «æøŠ¯ \*¦7‘ÅýÂa{Wuå÷G·»e©rSË?rÃ3øÿ“hþà@ºT=‡Fâ”F)ÞxË[¦ÍY?mÎÌ&±ÜÉ2O¬ â° -¢þ½kžÃ*yâDH^5¬8Á^<„ý!rIàÒ (гbÿ+«04§ÉsX%gƒ“…Šw œRÍònv{ @ëûÒï9»£NÀÀ½ËU:=±î¡Xu -Òx£õ¤–°q#ªò’˜û’M¹8ŒdTª°I0r°Iðu°I˜ˆB²U[WÒ*XgmÂò¿Äò¿+[Ê‹°Žl‰–‹Ÿ“ºÕ#”jR4HJ•Ô1öA|ªcßP|8NƒCÅ ‡Üá@„ -¥¼Üg‰ÙÄúûTdyÞ´…ï¸lhÄï ,tþz˜I]ºeåæ¨y†…6›Ù³¥Ô,Åh*MC6úþ­6‰Ï›í-,]W5l‚’CA:¡87Œ (j©@rå}^uáãºi·¾þ‡w,ðÙ3¯Á„Á)<¾øc'C9Ïn¿îú¡ÔÏêú¯P'æI] ¹ªlCyŽl¨"PX©” æ|øÞßd»é¿`46ÌtJFàPÓV›j‡mšH½‘€¼Þؤ¯ ¿ÎZ 3;ã‘í·øÊ„–úÞ3ÂÏýŒÎ:žºå=giêÀosÐX L70ý˾j‡©ž+¸dì;ÁUé êGcñ )0~¨qŒw -ß³ºCî7ôå[þ¥¡mȪ0Ðì`óh> ª†‰*´ã6ÇŒùÑ.dÙ:9ér`q˜ˆÁÜ<Ûw¯'5¾¡‘ÓÑ'?ê~€Äô¸îìö·t’šý Z5ö{ ¿®gŒH,“&}¢á)¬›mxú®ðF„!:6è¹Pƒ7Y±ûfí¿ÐIò±Iº}cÐÈA£z¨H¾ƒÔ39îV»IúCØ­’ó¥,”S{†›¡ -endstream -endobj -1355 0 obj << -/Type /Page -/Contents 1356 0 R -/Resources 1354 0 R -/MediaBox [0 0 612 792] -/Parent 1313 0 R -/Annots [ 1353 0 R ] ->> endobj -1353 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [306.698 539.998 321.421 550.846] -/Subtype /Link -/A << /S /GoTo /D (table.7.3) >> ->> endobj -1357 0 obj << -/D [1355 0 R /FitH 686.127] ->> endobj -1358 0 obj << -/D [1355 0 R /FitH 602.014] ->> endobj -1359 0 obj << -/D [1355 0 R /FitH 569.305] ->> endobj -642 0 obj << -/D [1355 0 R /FitH 456.829] ->> endobj -1360 0 obj << -/D [1355 0 R /FitH 430.566] ->> endobj -1361 0 obj << -/D [1355 0 R /FitH 407.321] ->> endobj -1362 0 obj << -/D [1355 0 R /FitH 387.12] ->> endobj -1363 0 obj << -/D [1355 0 R /FitH 366.365] ->> endobj -1364 0 obj << -/D [1355 0 R /FitH 345.348] ->> endobj -1365 0 obj << -/D [1355 0 R /FitH 326.503] ->> endobj -1366 0 obj << -/D [1355 0 R /FitH 310.148] ->> endobj -1367 0 obj << -/D [1355 0 R /FitH 293.793] ->> endobj -1368 0 obj << -/D [1355 0 R /FitH 275.238] ->> endobj -1369 0 obj << -/D [1355 0 R /FitH 261.083] ->> endobj -1370 0 obj << -/D [1355 0 R /FitH 245.282] ->> endobj -1371 0 obj << -/D [1355 0 R /FitH 190.183] ->> endobj -1354 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F70 508 0 R /F49 457 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1375 0 obj << -/Length 1629 -/Filter /FlateDecode ->> -stream -xÚ­XKsÛ6¾ëWðVj¦Bˆ°—NR?êNF™Jj/I”ÉœH”LRqÒ_ß],(‹Ö£õ8X®öùawá$ZFItÛ{7é½¹12ÊX¦…Ž&‹ˆ'šYEÚjÆ…‰&óècl˜`ý16õ…ÿÞ_o'¿÷RÊøzøÛ‡«ë+<¨øÝÝ„¨ãÉènx;îžüñæÆh€Ì¨ ô{ÙZ"K/ ½¹Q6âŠI¥rZö0 Bî ê8i<Ú•ƒ÷®\6÷ Ö¤ñu9ÛÀŽÇs7'Ê»¢¡Í¸©ŠrY[”€pάà$|òˆN‚ÅÓøk?Mã¼*ò¦Ø”5Ñ6 Z+н -ºñì¼naâ9è!R^9ÚìjØ€Utj‚ôºÙ´ µ{Ø÷LÇ´he±©Ðt´–s–¥)YÛÜ;tOÆÓ*·ñ ­ÿB´‘B,Dü)ái!ðórN›3"À·¯¸q+ -™IqbË o³øP‡• &µm9 :ÎW;W”R­â iñ¶ -ZÝ|W¹`F×¹Ûûà½ð,eRfGAÀø"î¦>݀ă€"ÝgÂÓ·>GnV@4” P‹’Ø(°YlV Pü蓉Í}[êæôcï#¬cznú‹Aw¢ZF´Ýö¢^¾3Eç_*ø¥Ô$Ç#Òõxï‚䆀¿gƒ9¿”ô.O9nï4¡îî+ñ:ÿV¬CJ鱌óÏé®8 -Ócks»ÂýÿHÎ”Ö -endstream -endobj -1374 0 obj << -/Type /Page -/Contents 1375 0 R -/Resources 1373 0 R -/MediaBox [0 0 612 792] -/Parent 1383 0 R -/Annots [ 1372 0 R ] ->> endobj -1372 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [293.852 129.204 316.323 140.052] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.2.2) >> ->> endobj -1376 0 obj << -/D [1374 0 R /FitH 686.127] ->> endobj -242 0 obj << -/D [1374 0 R /FitH 668.127] ->> endobj -246 0 obj << -/D [1374 0 R /FitH 596.555] ->> endobj -1377 0 obj << -/D [1374 0 R /FitH 575.786] ->> endobj -1378 0 obj << -/D [1374 0 R /FitH 542.245] ->> endobj -1379 0 obj << -/D [1374 0 R /FitH 482.411] ->> endobj -1380 0 obj << -/D [1374 0 R /FitH 446.546] ->> endobj -1381 0 obj << -/D [1374 0 R /FitH 386.712] ->> endobj -1382 0 obj << -/D [1374 0 R /FitH 350.846] ->> endobj -1373 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F48 455 0 R /F70 508 0 R /F49 457 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1388 0 obj << -/Length 1758 -/Filter /FlateDecode ->> -stream -xÚÝXK“Û6 ¾ï¯Ð­ò4fø)å¶Iv›t’M»ëž’d[öjÆ–IΣ“_ õðÊv¶Í©“„@à i°hðÛÅóÙÅÓë8HH¢¸ -f«€)J”ÒŠa\³eð>TròqöûÓk-úœ %"Ñ Æò¼xuùÇìêv2B„šL¦ZÇáõíåÛ+$½¼zñîå•‘sAò¡æ)Ó‘‘¦\Q ØëI,²‘›û '(“UÝà¢ÚOÌ,S3Ȱ΋õÆqÎsÇõyEaºÙ;z^»ÍYºô»‹%îoî',>È”âðjzÅ6-¦‹r2åq¸Ì–^ÊnjL#$I¤„‘‘$ŠÐ†*«³büMÚ䥑™¨°\áhd':¬@å¾Àù¦SÏÂ5 ±T‹6,3«]ÃÄð, Œ;€¥¹OœØ °~ÃÕ¢ÜåY=Ô>… z -&à)…ž2Ñ¡-ieظr·³(²½¤¦t£ɤ ”º©àL (¤ˆ{G -,Yº0ïqµ(‹:[ì›ü³!:)î|YÒ î&,­-âÈ+–Æi#F4åd‰™uA`Nçö|3ëÊqˆpU•[äEmÂƘ¥[b•µ!À Õ1jœY^…e±ù†³ìë"Û¹x€¥=^3®pôAh曬À00Úïîã®Ê>çåÞm¯öNÞp©£Bt$ƇZtû¶é×1›oÍþ½1U©pgÝQÖu>· H&ÕëÂL\t¦-ë܇ òá“#— ¾Àe:¸18‘áëÂË88V…˜imO¢·(AQ… ¡QKëq¡Ú³UíÙz˜0Áƒ5¾܈ßlJƒî‹ÛV:MýðC'NÄ)‚£ FúKa„RdÈíÓM=‚Y+¢÷xnŽ€Žˆî:˜'>Õ7ûÊß5¸(÷Χ>6Ζ.|%AëFÀ0 M;í@®H,<Ë¡‡F9p‘uÑm[©R—N¦î&h0Ì w…ÏfØÌåé¢U€§ã':©9BÍQ—xmÞéèM¾Íp¶·ÝI“opYŽŽeØ9˜´ÕÂ'Zô¼o”jäZ»Ä[à2wãÌ4¶ÔæhP­œÜZü†M}h–+6IÀE‡}Ý¢\ùßÙrèÃñjvñÉ©eg‚p’j¢t,¶ï?Ò` ¡4ØxübY·1]4Øw>ìÕ9KçQÝ!a GPO‰ð…Qp7‡tg½qyk~gžhCÒÍ÷>ÉØ„m·@$Œ(yh€Lâ“h9fAL έsúðv0®‰ÚûÌL/Pš¹÷‰¼'ÜžA0gç¥s'9éw0ÖÛ¢áÝŽgÀ©4*|6¢\Ö]o1 -ÞS<ÖÛ³À+ðÊŸ7z Þ¬`î«Ÿ 8yàQÄjƒns6° dá#ŽŽ`†¢Ã™ü—˜™®âÐ?‚:v¨¥GÿlÔB<5;‹Z˜xæ&ž}|ù³a›ôDf£œÄT<"7Ócÿ§@v½*àÐäD-±¹l ’û·Dn)å0yË.y»Âì›Kì>%¤k×ËüŸ±Õ¢`A§)!+ò˜ˆØÿÁs²å„Rõ nšmÿíG¬’ÆX± ­íHküЫÍæs^ ¤Ê3µÙ°if>(ÏæKºX”vãF.<ÑŽTë¶'=pò°—¼ z^sû]>×9Ö;nÂn ýÝõõÝéV,>ûX¸=ûZø@#jÏWvçË95C ð±Óh’q4;üÿ +–CH¢ûGª÷ß ¸Ë½y˱^:ŠHËóÍ4OŽuÓ,ÖD$rÑqìKã‰t˜e‚s -†:zî4Ë7WJ7d2MÀæv×Û¿îf¸Ïý·„‹MV×N¬}áš¹å†b7Nר+ q@JDù©—Ž:æHˆ<Àû/°ºÃDü?^`½NþÓ8‰¤ -endstream -endobj -1387 0 obj << -/Type /Page -/Contents 1388 0 R -/Resources 1386 0 R -/MediaBox [0 0 612 792] -/Parent 1383 0 R -/Annots [ 1384 0 R 1385 0 R ] ->> endobj -1384 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [480.615 431.233 495.338 442.081] -/Subtype /Link -/A << /S /GoTo /D (table.7.7) >> ->> endobj -1385 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [432.142 243.244 446.864 254.092] -/Subtype /Link -/A << /S /GoTo /D (table.7.7) >> ->> endobj -1389 0 obj << -/D [1387 0 R /FitH 686.127] ->> endobj -1390 0 obj << -/D [1387 0 R /FitH 530.083] ->> endobj -1391 0 obj << -/D [1387 0 R /FitH 509.666] ->> endobj -1392 0 obj << -/D [1387 0 R /FitH 489.249] ->> endobj -1393 0 obj << -/D [1387 0 R /FitH 468.832] ->> endobj -1394 0 obj << -/D [1387 0 R /FitH 448.415] ->> endobj -643 0 obj << -/D [1387 0 R /FitH 286.519] ->> endobj -1395 0 obj << -/D [1387 0 R /FitH 260.426] ->> endobj -1396 0 obj << -/D [1387 0 R /FitH 229.991] ->> endobj -1397 0 obj << -/D [1387 0 R /FitH 207.637] ->> endobj -1398 0 obj << -/D [1387 0 R /FitH 186.666] ->> endobj -1399 0 obj << -/D [1387 0 R /FitH 166.803] ->> endobj -1400 0 obj << -/D [1387 0 R /FitH 136.368] ->> endobj -1386 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F74 666 0 R /F11 573 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1405 0 obj << -/Length 1579 -/Filter /FlateDecode ->> -stream -xÚ­XKsÛ6¾ûWðVj&Dð"@äÒ©c;q§c·’ÚK’-Q2g$Q!);éôÇw Ê”L»õ8–À>¾ýv!-#}89ž¼½°*rÌi¢é"̸ܰÈd† i£é<ú[&Ù(±6‹Ç#™Å^%¿_}˜~%J©øüêýõÙù¾èøôrJ³“éøòêÃdôeúëÛ‹¬w,2«œï÷6)Šœð Q÷Œ% KS%Ò·Š¤(Ò>%)çñ傃^¤Gñu—¯šÕBº74¬‹|N9Mˆä¦li¸Û4årS„õrƒ¦¶Å²¨i9»^ŽOôàQ"ÀF™=Õ ž×ímQß—Mñ¦Û<òÈÐàn”¦q¾Ú…×Ï<å‚ü)t?dV2‘eC?sÎ{Ýy8 -6G*&"ƒRqd‰´ä}Eþ!7‘Š:ž³j”ÀÄæE¼¤Ùk”€ô 49cÊÑÞ—›í·mó:_{Í;O&çÓ“¯pľÒi«"š­O>}áÑÁ‹Ì:Ý{Ñu¤4”,®¢ÉÉT6Ð#R&ŒŽ´Q,•ÁÈ+8lÌ”§>(ä©¡@€}Ä2 ÜeÆ\lÒ M{!•± Êq_fâ«ÕÏè°õ¬hfu¹mË*D*ßÌ»šVÎp¥yÆ Ú0.¹A»ìy7Db¿™Ò̈ ç”›>@[f¼‹Z¿ÜJ¨0Ê £R_U~Éuˆd/0µ -}À Q "·¢™Þ-Ø3Ns ÷K±0ì.™‘dÞõ®}*•D¿•’eÚFÊ@ê¢R"d•–Pi=*3ÙC¥ÓL÷ -TÊL™'Q©ÿ'*UÊvåA¥R]³ï†@©Àê}+pÚµ†Mà"ç ´~ØQÜ•>jzŠùüžAvÀòG¡LÁÓAÞRï2‚Zœ×%VLL€LÇÀìógpA‡L•¯Ä™eÚd‘ÄFTºœq“ýûA-àâ58s©8Æ™~)ûÉKªã,ˆ˜á W'º ŸýH†ƒÊ];’{ŒÀ&ÐÞ"¯ÙP[@— mô‘ZÔƒZI˱­5][ ¯p{¡cgeÞâÉÒ¸ø¾Ä6Gm÷ÙlW×ãuÁ{àâ°™‚ƃ…þ÷`9(L7;ùXct¤PO:rß7÷ªCÛ-ö뺟Aw=[kZ¹?YàÁi:40¤VÙC(­¥õ¡ÔÊyuP øÖÖ9MÝ@P}éÂj§H&ô׃®éEÿèYï6}/<ëßÉï_Æ#à d¸²öfØLÈÀýÑæ5Âg$Ù϶éÕ†z\ “¢'íÛ£. }Qu7rz,ñŽn æãî3jÝ5¬‡eÿØú>ÿ·ÆõÅÄX8î† &-‡Š+<¯)Zz W\'#,Á«XnIQ¨Ó%˜@> endobj -1401 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [282.046 615.38 289.02 626.229] -/Subtype /Link -/A << /S /GoTo /D (Item.123) >> ->> endobj -1406 0 obj << -/D [1404 0 R /FitH 686.127] ->> endobj -1407 0 obj << -/D [1404 0 R /FitH 668.127] ->> endobj -1408 0 obj << -/D [1404 0 R /FitH 652.242] ->> endobj -1409 0 obj << -/D [1404 0 R /FitH 631.763] ->> endobj -1410 0 obj << -/D [1404 0 R /FitH 602.436] ->> endobj -250 0 obj << -/D [1404 0 R /FitH 528.719] ->> endobj -1411 0 obj << -/D [1404 0 R /FitH 507.95] ->> endobj -1412 0 obj << -/D [1404 0 R /FitH 474.409] ->> endobj -1413 0 obj << -/D [1404 0 R /FitH 414.575] ->> endobj -1414 0 obj << -/D [1404 0 R /FitH 378.71] ->> endobj -1415 0 obj << -/D [1404 0 R /FitH 318.876] ->> endobj -1416 0 obj << -/D [1404 0 R /FitH 283.01] ->> endobj -1403 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F14 574 0 R /F49 457 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1422 0 obj << -/Length 1616 -/Filter /FlateDecode ->> -stream -xÚÅXKsÛ6¾ûWðVj!XÈÜÇNÒÉ£µÕ““-Á'©ð§ýõ]<(‰ %9­gz!€Åbñíûi° hðúìåììùU$$‘L³û$%Rª@Æ’SÁl܆RN>Ï~{~¥ø>gB OŠ±<oΟ]^O¦œóP‘ÉT©8¼º>éH¯./>¾º4rΨ߼¿óTDDă)SHäNìl•Õ(@Äá¦*'S‡s½h+íhÝ\­³<­Ì@…MéˆÍJ^Y¶Mžzáånéž7YYX”€iP-×¹~}ÜZfEž"ˆó -ˆX¨¿Ïõ¦1“¨ ‰ØI¢È©Ó¬Ò9©òèh®ÓïÙz‚ðÚµ›)&L…íµéÜ!t"/„•›/ï];/‹ZÏÛ&ûfV{iô—ÚsUŽ!ómŽ¶j¬â8km…DNñÄ—½·üÎŒFÚפdXµ…ëäºX6+×/´^ؽ°ÿ°ÒžCsw" 4<„KGM]s—5®soU0ìéÜläEZõ±uÄH¿0÷Çl˜¿ÔŽ˜ðêvcWèÊ4Ñ@‚év¨Í¬Áe(Æ0fü¥( ßCáÈîhÍDQúNšçÝœö;dMí¥x©©:(ÊC‘#PµÒquºÖÄj6vÙfÖBè{ór½ÉucG"\èõ—ŽáAš=lÓÚ-»/óÜ)\¿èßþ)# -CÆbBiâö2ðiDix^×Ù²prß]~p‚›æ·I„•·'ˆ v.™ÛÛÁ†+‘ì…!0®É.Z½|;»qLû!½"èx¶¸ô]Ïæ/7¬› - 7Ø}ª‰Ayˆà$ðQˆoïÐ_Û4¯G0+I°χ #¢vaø™“]馭 -o_t±•·iwr¯Ëî.X/Ýj7f8n@&IÌ;–¡…8EFÙ;E1j¢kz8©Ã SÒæ„;¸èFˆ¾ÑKã8†3õ׿?ѱebwÆÆíkÆMÞdkíz­ ØM–»aYxº T†så oÚOø:-ÜpkùÚ—>ûéÌ·³IŒf¸Ëõ‘¬„lŠÀ )º%ïG„Χ+<öe‘ý­}# ÛËÙÙW¿% 8a"D"£2˜¯Ïn?Ó`“Yí%|°¬ë€ñ˜àž4ȃ›³?~¬2$„±(1'ŠùT¿oÄxÑ™S3'sc-q~m¾³Žhï¡ï·]d± È:Ô TL@±¡"‰j Ä˜ -‹UáŽþèh›hëÅ€j5¸{KP$Û­xœR¹F†/Fv@­vnÇ|­&zµk,VýÛp§áò\þÔpÅi¸qáx£Þè©ñÊŸ0ïc+˜yÀê©w‰x2Å£¶±`€Æ.1&/âß‚>p-"Âd<Nƒîn†è@GO šÓ#!‡²&?4é¡'c@Öz\qB#_j첄€ l!D?¬Š]Xõ©ÀUÙعY••O±>’Š^$=”#‚©ˆ fu‘îHäñâO²ý`.L07´´XøIÔM×çN¶« k7î%Kæ“%{\²„‘dyë ÌçeåËb³{éjë½D*µáÀº]NÇ’ËW\ÃJ¨¸W*ªSußÀÚ構¡kCÿxuus¼$ŠOí×'«öO4¢ötÅ.U3ÆÂ_M³‡ùà8šdÍÆ¿ÙŠE’yæl2í_+åý¶ tw–Ú6ÂK‹ÓE-KUµ+ÂÑ?M ã؈Ë'Y$‘}€Š5§!ì™Ó ß]âUú`^ÿø@O°ÎÜ®|ÿ'ZÙ®½sqƒ\×µ½2—ÆÐŒ‹Š}høýFÍ¡ð½ýðzìÕ!%â$¢ªœÿñ5‘‰xÌkH{ ­v¾ù¿¾†Ì‹LÄN: ¿ÏÇý¯KÇûɘ *ÞŸ(Iô‰ýñ¶SjÄI§ÀQˆÈÇŸº¥‹H.0µýjûB˜ŸG]>ªÊug{½9ÆqU4ü GüIÅæ– íÄËaŠuá [Ù|ÈÁŸ¸ŠÂ—¹#Ì'øùâhWyº¬]÷•ÅnŒÜ -Œ`˜œcæÃÀÛbÓš@Qp“Vé¯Z5øy²÷ÒúqÔ -endstream -endobj -1421 0 obj << -/Type /Page -/Contents 1422 0 R -/Resources 1420 0 R -/MediaBox [0 0 612 792] -/Parent 1383 0 R -/Annots [ 1402 0 R 1417 0 R 1418 0 R 1419 0 R ] ->> endobj -1402 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [448.683 655.231 471.154 666.079] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.2.1) >> ->> endobj -1417 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [485.671 515.955 505.375 526.803] -/Subtype /Link -/A << /S /GoTo /D (table.7.11) >> ->> endobj -1418 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [428.066 344.567 447.77 355.415] -/Subtype /Link -/A << /S /GoTo /D (table.7.11) >> ->> endobj -1419 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [335.844 192.125 342.818 202.973] -/Subtype /Link -/A << /S /GoTo /D (Item.137) >> ->> endobj -1423 0 obj << -/D [1421 0 R /FitH 686.127] ->> endobj -1424 0 obj << -/D [1421 0 R /FitH 605.556] ->> endobj -1425 0 obj << -/D [1421 0 R /FitH 587.195] ->> endobj -1426 0 obj << -/D [1421 0 R /FitH 568.833] ->> endobj -1427 0 obj << -/D [1421 0 R /FitH 550.471] ->> endobj -1428 0 obj << -/D [1421 0 R /FitH 532.109] ->> endobj -644 0 obj << -/D [1421 0 R /FitH 385.006] ->> endobj -1429 0 obj << -/D [1421 0 R /FitH 360.722] ->> endobj -1430 0 obj << -/D [1421 0 R /FitH 332.342] ->> endobj -1431 0 obj << -/D [1421 0 R /FitH 312.043] ->> endobj -1432 0 obj << -/D [1421 0 R /FitH 293.128] ->> endobj -1433 0 obj << -/D [1421 0 R /FitH 275.32] ->> endobj -1434 0 obj << -/D [1421 0 R /FitH 246.94] ->> endobj -1435 0 obj << -/D [1421 0 R /FitH 226.641] ->> endobj -1436 0 obj << -/D [1421 0 R /FitH 207.726] ->> endobj -254 0 obj << -/D [1421 0 R /FitH 178.781] ->> endobj -1437 0 obj << -/D [1421 0 R /FitH 150.131] ->> endobj -1420 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F74 666 0 R /F11 573 0 R /F14 574 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1440 0 obj << -/Length 1536 -/Filter /FlateDecode ->> -stream -xÚÍXMÛ6½ï¯ÐQbFü&{)v³Ù i¤°Q HrÐÚ\[¨?¶’Ü4ýõáÐ^ÉV6ÙMPôbR$EÎÌ›÷8r‘-²"{qv1={zeeæ™7ÂdÓ›Œ†9ã3ã ãÂfÓyö>·L²ÑØZ—?{{ùür4–Ræ¯ß>û…ºW¯ÏGÂæ/&ôxù—>N_=½r½aŽYåá丫±¸ä¬H¶<ŸžýyÆ¡[düÎ c™>›­ÏÞ,²9L¾Ê -f½Í>Å¥ëL*Ø•ã‹«lrö+ùÔ=–sÜËdF[&”¡Ãß”ë0‹¢pùt$\þùž\ŽcBÉ|Rýк  ½ÏÆœ3¯5½û¡ÐÅuÕ6Ðò¸H:æ VÝ5“j± óŸ! ùehfuuÛVÛ …¨ÜÌ©S‡¦­«Î41ÃažYyåÝýa€`@+ƒ£ÉΫéïï Òœqp%!õrƒ!jÃ"Ô`µ-Šœcœ´ÉßlcGçÓe@‡T~SÇÈ¢om7°ŒéY4NÇô¢ûfr1y˜A€b.Å E«¼Ý¶å -»2¯íÖø{MfÕ4±½¡¶ÙÝöƯW¸Íg˜ß44Xm¨-#ø\6ÅQŠÄ( ºÌ](¨#Ÿå²vYúƒËÒ}Áe˜ˆ.ÃÚSa2ºmIknF<Fcž€NS l±Æ>˜­ƒiª $¸Miúv×ÞîZpÜÉü¶Äඡn~ºÇ úaþ.áˆ"2-43Žw…C¬cá°\Ý /8S 6ß fX9¸÷'Ê¡ªºpŒ[õc”CyÄבtœ¤­¬pv(mÑá¢óº.c㤅í¹èEãDhÎ7¬Nq¥ög²IH¦ß/‡UX²m4Vp³•Kâ#²Û×å"8+ˆë{PmæÕ¬l«ÍãÒ䟖U¤Ò2=¿òËE~Á¨…ãÂPË\‚ÙîÏØòx¤bÕ¤*—6–Ç0Ã÷dÑ­w‡@o®«º`*wAãü¾Â×{HÍþ›Cc(Ãß)L74ÔÒœÉg»º>à…ÇÉi>t©÷]ÿf¿å–vK¹ƒ[ŠÊ©|r únÁÀZ§®™}½r [Ûzê{ŠQ(¨ëÌw^ôœ9.3A±û?¦Ë˜TÔ¤N.„ù®F?ûÚ”¡<ß`"FC+:õ>ž”[¸sIÛÙ¾×ÆR4p5‹ê/|-¤Ñô7ÖJ#rqÿrCüæŠy¥ŽkÁH» N¯?Á¾Êãc벎FA¸Ië{«é# Çgôa™5VŠ“ øfjÓyôEØ=OæË-N}ÂíùT§x?ÇHR•®-I¾Ž¤€ÒΈ¡èJð)鮨ú¤¨Ê|‡XÍ«®'ZŠ”ã°|»ÿ°ƒ>å 0 r©š4³OQ4‡Š=2jµ@Ãø™=‚þA¿ªlOˆˆLã× K¨EŽ »çRZ¶ÿPzÙ’™ä´k mÝqÞÅÊ çaï@½vY¦wïnxHÙì¡žª"nÐïYqgMÜP@|Ä=¡ä‡pô‰It‰À㪠-½?è:Ôý ÿËãT -endstream -endobj -1439 0 obj << -/Type /Page -/Contents 1440 0 R -/Resources 1438 0 R -/MediaBox [0 0 612 792] -/Parent 1383 0 R ->> endobj -1441 0 obj << -/D [1439 0 R /FitH 686.127] ->> endobj -1442 0 obj << -/D [1439 0 R /FitH 668.127] ->> endobj -1443 0 obj << -/D [1439 0 R /FitH 572.428] ->> endobj -1444 0 obj << -/D [1439 0 R /FitH 536.562] ->> endobj -1445 0 obj << -/D [1439 0 R /FitH 452.818] ->> endobj -1446 0 obj << -/D [1439 0 R /FitH 416.953] ->> endobj -1438 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1452 0 obj << -/Length 2204 -/Filter /FlateDecode ->> -stream -xÚÝYK“Û¸¾ûWèHUYXâA‚ÌÍcÏ$NÕx]å°åõ#Qk5ℤ<ë­üøô Ҥ}æ‹4¯~|Ýh…³í,œýýÕÍòÕwwÉ,i¬âÙr3“q(âØÎâ$RÙÙr=ûÄÉüËòŸßÝY}Ê™†B§–!ž·ÿxóqyûi¾ÐZVÌÖ&Áݧ7÷·Lzwûöûw·¸Î«ÐmÞßyá\( DÍË懹J‚¦¨òý·ùBA»<6u±Î±cƒf—3õ¹X5ÇÊQ«|[”‡×Ð1iÅ`âkvåq»k'ãVV¹eeÃõ\Eý¼Ïæ0üVXÃ¥L˜·‡U LÀ“W5^.³R¤QÄg¾3OtðÜ;N‚ÎÝñ„²Î™Ø”nÐ/ÄÝúÈÜÜ{Üó(Ñ~ªa÷®ó.?Ýïÿõ°äÖ&+šÝŽ~Ü£¸Tå«ùBå¨5¶š -ÇW §Ý–÷噆Á#ÑòUvÄÛ¨$D97W%ëË©­vÔìÀ œk7 毹µ)qºMƒç*_ƒ"ËÊM,ܼÍÎìô‹Ý*{ÊQ V»ÛgÛI5 RÙlÞ‹4‰½Õ¢¾‰§ç‰ˆ•ò,ëNàk–eûÌZ­°¶šÇÊ 3/Þg¾rÅý¾H™ö²+:µ§Á¾ÈÝRÞÐÉbvŽºÕºJá5Ý|¡#‡Éàþ5{LEÁimØΑv(ù;P1s¡Ôy",4Ù£@丛4"5¦¿Ùrç8WåÓó>o܆ϕ[?_ýÞ…;Wæ¶Û”{80½Ôëá °€E i…ñ€ EŸçó" -Ãàý†ÕhÒ=*%âT{=Þ-øx;V¶Q"RÒ3ù³ý’W%ŸîÇ0 - ¶æ*ãA<Ðåð¸&Ê¢!âq~†ÌSǾC  ãW*È3oØOªÙuÉö‹¯sç90öuÅA¶?RW£ÍMØ9\L¦þ^Å„™‡"‰[üÞTå¯ò1 -WÇ |¸yàùÒœ,›Ö•~ Ãp¼‰Ö´§(‚e0ŚШØ&4g? -79Þ׎B!u«ºÏB`û¹ ðô¨µ/ΗÀ®ãÄ;SÌc·o}ädÝò r¡Q,Þ -œÕªI«ý]ó¥ðNæM "áÅSCÓq‹–ö¦®QԴ臛÷˶îѵÀÖò …H ÛBâ‡o§²T©H:sJEFVH0È ‡Œ’îÈçŽü)ÏpS?ð—¾x,©ŠÃ–ÛÎWKîá08c#7-Ý Oà mc>¡”1–:D]0ækÇQóêUU¸hˆ 5!§ Mð¯0&ЭÐ@ÃYµqãÝ™¬\ĶˆAË"rU9ź‹§HãóCc_Ô ïŒq)ÏD£Œ¢?vW|? ]’£SxkeZÒÜHƒ««ð¦#Éðf)ÊAáíØáO} ºgp-ab¼™Õ“È Õ#›ŽÙp]ʾ KÈö0 m6:¹m€Ÿa ±M4Wù´Ó»¡Î^”Ö^ b5™²=fôõŽ „y’(µµ2­Ù#ѹ4P³ÃÚ-å]ˆ~yº:èÍGÕIд˜ÿD—% ȪZdý2‚À0±´cSYÿ^|jÊ&ۻܥŠ@õ„6¥”³b’|¯X7op’rSÆ“5gÝý’Ì¢ôºQöEÆæÿ>f{wÌ9†‚L˜?šù_ š(MP ®b§Kí, 7s˜,ΦV ˜ø½ -˜Èt0‘0‘k˜Zy3‚AL­œ•ÀwãžJJ½<_é.ygãºþBf,àÉ6Öl ã ¨i5 H‹šF»¤OƒÈ9—-ÀŽà>)4ú\RIÈvÕe;µ"Ôiz|ÂßǪ‘ƒ„ßd#‘j °JV¨€¤Âmr -ùgç¿Ð{Øa”ŠýO·)«:›²îÁ°0JJ|%ã8Y¹kŽï©ØîÂÎä@²{ÙN1 a—mãÄ{r·_É»ÉØ''”ç÷¼¬)žrÂÑÐãh8­9-]ýNòPìzhõIõš¹{!ØX_6 Ì£Š“†—(Ÿ•Û·7A¦#O`ôiy%‰‚/®öÙ3}|€Ñ|½u-ºHuCôãæKA5hí²^ž‡lùËܦcƈ˜¾ƒ;N¹+ÀäOc't™É ¦ìþOžQ„mîþ׳ÍÏ(5Î -†¯OaÒ‰|´¸þtñA¸MG5¼“’Y/…À(\­óê?ÅaÿìI\QžÈ»ÃHD±úÕåŠaõ ëçqhú—,Ä`ŸÁ(a"uíqšÄ³´ :Ý‘…áðvìr&Γ|åP5c¾)‘…Âý«E64 eC¡)¤iúVçJŒT» )”Ò¿1@ÀšúðýÅ¥šðö¥2YäCþ¸"GBv™?V"K~C‰Œkƒ»®µ•Hu= Íià:/ øüÓҠʤSYìUV\.°½ætò$‹£hh¤³R# 8¦¤¬ -‰Yôfç^6ÐÞy(#<•®æB+tL-†Jÿ&§å\A߉ä°L?Lê âîX㘻wõ†ÿYQT¸£$X÷׊þ¬³‰ˆR,– -•8¬±Â€x¤Š‚ûlEõsˆ7èÃ^,søù‰io™´fGÂ=Àf=qoŽ -òc%y—÷‡ç#Š ð’ ˆÉM^ þ8ðßÛå«ÿLª` -endstream -endobj -1451 0 obj << -/Type /Page -/Contents 1452 0 R -/Resources 1450 0 R -/MediaBox [0 0 612 792] -/Parent 1383 0 R -/Annots [ 1447 0 R 1448 0 R 1449 0 R ] ->> endobj -1447 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [289.213 485.496 311.685 496.344] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.2.1) >> ->> endobj -1448 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [286.805 395.202 309.276 406.05] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.2.1) >> ->> endobj -1449 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [287.11 259.024 309.582 267.935] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.2.2) >> ->> endobj -1453 0 obj << -/D [1451 0 R /FitH 686.127] ->> endobj -1454 0 obj << -/D [1451 0 R /FitH 594.038] ->> endobj -1455 0 obj << -/D [1451 0 R /FitH 573.349] ->> endobj -1456 0 obj << -/D [1451 0 R /FitH 547.734] ->> endobj -1457 0 obj << -/D [1451 0 R /FitH 525.108] ->> endobj -1458 0 obj << -/D [1451 0 R /FitH 510.95] ->> endobj -1459 0 obj << -/D [1451 0 R /FitH 473.436] ->> endobj -1460 0 obj << -/D [1451 0 R /FitH 446.769] ->> endobj -1461 0 obj << -/D [1451 0 R /FitH 420.656] ->> endobj -1462 0 obj << -/D [1451 0 R /FitH 385.078] ->> endobj -1463 0 obj << -/D [1451 0 R /FitH 344.52] ->> endobj -1464 0 obj << -/D [1451 0 R /FitH 285.032] ->> endobj -1465 0 obj << -/D [1451 0 R /FitH 258.919] ->> endobj -1466 0 obj << -/D [1451 0 R /FitH 241.169] ->> endobj -1467 0 obj << -/D [1451 0 R /FitH 228.665] ->> endobj -1468 0 obj << -/D [1451 0 R /FitH 215.055] ->> endobj -258 0 obj << -/D [1451 0 R /FitH 177.791] ->> endobj -1469 0 obj << -/D [1451 0 R /FitH 149.693] ->> endobj -1450 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F70 508 0 R /F49 457 0 R /F14 574 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1476 0 obj << -/Length 1606 -/Filter /FlateDecode ->> -stream -xÚ­XIsÚH¾ó+tU¡Óû2—)¼d›ØÎÄÔTM%9È ƒ*€<’ˆ'óëç½n K ãäBïÝoû¾÷æ^N&ƒ—¯Œˆqšëhr1ª‰Õ.ÒVÆM4™EŸbC$ŽŒ±ñÅxÈm|ú¯†#!d|òþêôìŠøôêìíåëп¸:;¿~™¼{ùʶî‡%b¤ƒ×ýÍÚá–­å9Ÿ þ0èÒˆ=ˆ¢ 1ÜEÓÕàÓÍ`ñ]D‰q&º÷[W‘p+ÃËèzðgЫý,ãœÁ#­ áR‡Ç/“U -ÂRnâ *ôýn8‚æ¸a2¾ÎþKQ:„ ‡FŒ§T8ü™*z“U%´Ìï–Xx¬½ç:›¯ÓÙïÃsŽÇgi9-²»*Ë×ÁrÉzlU¤eUdS\)½=úí 1bÏÒÙÇíÖîñ/·`ä|5ùûÃù¾¯4'ÔšÆUo×h£*§Åp$µä1Cq¥âËÜwt\M®8Qú8[¤unÝåÅøý‡7ã“ó ZˆÒ= +*¹Ãpɲæ½´\Óx™•Uèa†ãª 'œŸæø"„A¾žüÔ…ÙË|ó`*šzüYÄξÙ@î«dݵKSaÚ©0˜&Z쨹ºÉz/ØãتÑú’n–þ‹]é•Ç©ªY›n@ëš¡¶’ë†{`¯\‡¾DŸü6CX÷Ó®}78—URT£>doñqëŸCÒG² Z‘Jö“¥#“:ähmùÖÎ#àÍ8©[p0øµ*’0ôeÿ ìó8ý6ôßÃRð’Õ‘bbŸa¿6ËÅW¿V?P†½ÈqV?üöròq\m|BÐ -eô“Pôȶ[cBrc¼aØÈ-µŽ9.Ý£l -õJ6ך`w7æqnÚ¼qÓd?)쀢°¥K-„oóuZwnC›fóEó97¶Ò@Ol<.Z"}ž¹ÑTŠ“)ö”øÄmŸv7>ѲÎÅãå2\é?a¯'œØÿNTµ¯`1 ÇЙK¬¯pîn™¬Ó²™Q”dkïæöÑ^…qgÆ}æßÃÕƾ:(K_>4>°xÑN³v›fwÒ°Úz:LªpâqöŽ¶‘ŸCuM0F_Pluç™U´Æy -w‡š¶` -Ä©u^¥õ¡²^ñàZ&ºõ¬¡mÉb„-¿‡™²Ê ¦Ž?¼x1X“UEš¬|e -dì$¡i,aÖÃâöÙ°#»­Û*´ m¼¡žX¦IYw ûIs¨Ê¨j¸~¹Y%=ßä ;Ûþ{¸–v¾‡GÊÂI[…vÄ·þtüÒƒŠ -endstream -endobj -1475 0 obj << -/Type /Page -/Contents 1476 0 R -/Resources 1474 0 R -/MediaBox [0 0 612 792] -/Parent 1483 0 R -/Annots [ 1472 0 R 1473 0 R ] ->> endobj -1472 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [400.29 230.763 419.994 241.612] -/Subtype /Link -/A << /S /GoTo /D (table.7.19) >> ->> endobj -1473 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [205.218 153.838 224.922 164.687] -/Subtype /Link -/A << /S /GoTo /D (table.7.18) >> ->> endobj -1477 0 obj << -/D [1475 0 R /FitH 686.127] ->> endobj -1478 0 obj << -/D [1475 0 R /FitH 668.127] ->> endobj -1479 0 obj << -/D [1475 0 R /FitH 524.607] ->> endobj -1480 0 obj << -/D [1475 0 R /FitH 488.742] ->> endobj -1481 0 obj << -/D [1475 0 R /FitH 404.997] ->> endobj -1482 0 obj << -/D [1475 0 R /FitH 369.132] ->> endobj -1474 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1488 0 obj << -/Length 1859 -/Filter /FlateDecode ->> -stream -xÚ­YÉrÛ8½û+x¤ªFö%7/r–Ù[™ª)'J¦mÕhñR’©ùùé@™¤©ÅeŸ ¬ïá¡Ñè¦hrŸÐäÃÑÉèèݹMqšëdt—0M‰Ö&ÑVÆM2ºMnRC{ßGŸßQé(ÎÀ2~ÌéÇã/£ÁU¯/„H éõ±éùÕñpšÎ§—g\çˆFðmå`tôσŸ4a W”X£ E wÉd~tó&·Ðù9¡ÄƒŸ~è¸ †߳äúèç›ãJ«x¢•!\ê@üÓâ6ÿÕë3Nizºìõ¹Mo§‹ûÀzrO¼›˜bD;Ù&&}1­‰6Ñ’nm Fšž~º@]Ÿá '$ŒŸ#aN _Ôð9qÖmGÜÁYë&úÅåðOMúš­}ƈS*ô²'nWÇ~mà’g°qcÞ‚<¬$L$¿‹º8•DsþÌ`%ÉEY RunßR:"˜iBþ~|= -rXNŒqM9äar(ǽ_x½¸’Ôv¿oåh@¢|»ê@=,øöæ+)ÏêÃåïgƒ‹X#ø‡7@5 ®¶MÔ§»Î¨#VDE¢ƒÔ*¢-1êM,VRʦÈëQ+Eê¨zD 1ê } •4¬´ÿƼ²º1uÈó<—_¯¶¿ -JGÙKgº-áR­d¢8^ÿh¡£ži6žåU|Áìû^_J™³I±ÄV™žÌÂk=A¾‡‘Û_ô²3§ A"“ôlGÆ­•¥éê![…_“åÛWÙtQV-ä6Ô›óã é¢Z(³°÷¡XγPœe‹¼ü *†¦ãuD[,W[æÏÖ0³ã-öëÀ2BÑtøƒ¾&{Fy¨Ô c×Ær›3J¨Ð‰/B­zÁ1A(W‰4pѬ®ù#?¯xA@)­JG¨Ñºô»a E“~¥á ëSCu‘ç·e¼ÔŠ¡ZaÁjìãI¨Üæˆ S\ÉDqÀÎî–Eè.×áÈB- ½óÊ ÛÇN<:󒲉Ý4R8¥ù“‘úzVäáG¾˜ÔÉ@˺ÜÌZ.â¨å]=½½Lº -U/Ï7Êî)/ò`µ¡¯ ;Éçy‰R;•^?µ„!4ª×±Xí°€™ðï…‘@,uoŸØRfóØTNç³Øúq”æÙ"tMžŽÍO^†QEþXäå†26­`?q‘ys–¶žãÞÇ^®¼@“áV§YÙ¸"Ñâî§?pJŽ$\0,+·ãð„ PÜ'áÇ8Œ?<’k8X…+ùýØþ9@؃O|¿Þ ®ª eý<¯²5¢¾o¨nöm+;.BGV–ÓûØL‡{@‰%çLVY4¶Lj·ÂŽšI„~Š…À“.C"¶¸ù渰¯| Œ&(ôž‘G'½Á‰ÁñtU®Š<›£ß“*ýù0å]´âÉSöŸ?¼åἑ’¥ˆ÷+x6Þ¢†~‘lV.CwÍ°ü «½?[­‡o³í¼v&j‡+šào¿]û›Ô}˜Qž…B­îÝÐQM‹|²‚…|ͳ2ˆêQ%j¨V>ÃÙØam,Ù™§7Cœá™LK¶3à”A<Ãv¤Á€oˆ –ä1\oØœ` SOŸ«óX -_2Ld|]ÅŒ) ±BÇóE!ÿw<vK£Ûœ¹sOa pÖÌíç¬a1x¬y´z\ßó‘áݹ¡õ¯,:i«¯,óiGVÄnHuLJˆÎ0²c;Â^¥ãøù§¾m£ ât-Ñ8‹ç%­•x&Õ÷¤:r?.Ù¸c¶»:wÙ² Þâ "6;{?8omPn©‹Î÷‚ë ø~tÚÚ*Ý"…Œèâ[?¾º‰ûJáå‹à÷ã«ÖßV²ˆ¯^†¿Ÿ€®¹š}%Ð/$Àö0àr‹/¬¼—òýÿ½3…Ç™pN‰²f[ -çKá†Í§®þ °´ÜùRºœp²9f\´[Òz£û -4útÔ–®¾ÈA¨ä>ýõeðüL$'ÊËâMã{MÃŽ¾QE§!Ø(²ÐsW@ íì}“d8„ Ë‘\†åp~†ƒ»8Ÿ£¦>a²¿ ¦01-óÉzcšÐø£§ -ž­cuy×õêHü 6¯Îxú|×@Ò‰ÍÃtikX†ÂçSP"ÿa¥l#ìÅðä: bõ»!4át3è¥7Òå¿*„“E¡0¦c.ö0´FM0|‡ç†Oû,†Ã¡1ÛJcBlØep r#Çðdxy6¸~ÎEÃý°›Dn:„åÄh³[VT~cL߃ÅÄ@N6Oà[¶±1ÿ%·ß2nÈ×$±Ò6­Šw^KÀ)~N˸zeºoäÅnÓÖNT–+°Ü«<»m¤Í¢g O1Y©‚Y¼<ù}à 1ƒ ~áúôã`8èŽUÁÇý.5ô -endstream -endobj -1487 0 obj << -/Type /Page -/Contents 1488 0 R -/Resources 1486 0 R -/MediaBox [0 0 612 792] -/Parent 1483 0 R -/Annots [ 1484 0 R 1485 0 R ] ->> endobj -1484 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [223.615 429.132 243.319 439.98] -/Subtype /Link -/A << /S /GoTo /D (table.7.19) >> ->> endobj -1485 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [405.497 405.222 425.201 416.07] -/Subtype /Link -/A << /S /GoTo /D (table.7.19) >> ->> endobj -1489 0 obj << -/D [1487 0 R /FitH 686.127] ->> endobj -645 0 obj << -/D [1487 0 R /FitH 534.618] ->> endobj -646 0 obj << -/D [1487 0 R /FitH 232.542] ->> endobj -1490 0 obj << -/D [1487 0 R /FitH 204.16] ->> endobj -1491 0 obj << -/D [1487 0 R /FitH 182.19] ->> endobj -1492 0 obj << -/D [1487 0 R /FitH 152.804] ->> endobj -1493 0 obj << -/D [1487 0 R /FitH 131.388] ->> endobj -1486 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F70 508 0 R /F74 666 0 R /F49 457 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1499 0 obj << -/Length 1941 -/Filter /FlateDecode ->> -stream -xÚÅXKsÓH¾çWèhWáAóÐ̈ËVa µIv‰+rPl%QKF’ Pûã·{z$K²’@AÕ^ìy©Õ¯¿îQÜaðçÞÁ|ïùk#ƒ˜ÅZè`~ðP3«ã@[͸0Á|\L ‹ØtfŒŸÎNO¦3)åäüðåüôÝÙôrþöùkÛ‘›Ì¨Þ@Os<²úw6ÿÁL†ã6fÂÀ³’N £ð -~ú³( 'G×ôêã³—oi’Uø¯&á‹þ#B3i@:X¬HxÆƤ¾žZ9)J’–&‹©°“[š-¦3>)ò)ŸT8J›:û‚û)í™FÑ$¹ÛøiÑèwúÊ+w]+¯-Ôý›g´œå‹»Må…,à‚ )À X2aÔ„wi²$¹ ‰•³«¬¦•M^e7yê÷³ßT§7iI'“Š"hÂ. ¢˜iÓ†p•íF•ã¦91ÐjÆ gÊr¯»ÇÑÁ¨îûêç·ÿ×ßoöçcJA$ÃX?©”mN\z—ߦd*DKw¢…QÚÑ[GàsÙC Brñ$OAzyŸU)ÄS(ˆ'@@ˆD…¢øŸ5 Œ; Ðñ¶ãšS)…¨ÌÒŠd×´Ñz ¸a<² )gq¤IUoj˜Uö¾/EY¦Õ[ø2Ëoš­»Í*ï#zŽ9’\Ý¥Î<åM@ƒwÎÕŒÇ/íBÃ2¡£/òð6=•î¦§2 i^õsWÉ¢,èôÕ]á tÏ|¢mç Ø[ÐÖÒ%¬å2õ/q¿ÊSVMÎÒE‡¶L ÍFsþ¥@5c "ÏDù2ýÚääª÷mñQÈ´’-à¯Æ|òæÈ€@fÆ0S #Vk{Øxè·Å43¼¥‡«ñLŒD«ºs:È'øÁa -­ï’Ü/^‹&‚­&51£šðˆ3‰G}$À¦õQú5«êŠÄW'ŒÓLHÎB÷#Uß&5‰„ŽLÎ"ÛrÑÁKà’W»o†rÙ¾yŒÔ3Ú<æH æÉ£5%ãmuÿ‘Šá"ëN)…‰“ ÿŽ§p€<¥¸˜”T_bC\‘Ò˜J Kšú«³UJ£MŽq«³;š¹_‡H»Ì²Cwö½Ù| ¹\%9Nå6]+ÚÎüú“'&ãÅ•d‡÷ÜäÙ÷t‰†Gù’x¦ÞBØ×ÿøËÊHW¤94;æ)(Ø'“½ àxÊ(t‹LŸ¨¤ÐqYùãåý»Nî¡Ø¥#¥e\ÙÇäA¹‹e¿^eÕ ,9^ì—žv¯ƒÙEM—é–ÑwJŽ’Œ~¤–s>á„j°o¬p¸m¬\ï6Vîj-<†b°åë_D‹ù‰Òp9tŠˆ4ȲȲ§Ýb#êrŒ¢ ¤ó™graÔ€¶+:„)‹ÿÔèÀÀó<‡•×ÌGŸ˜(´‰o“ª8xF<"™°ªŸˆ&¬ˆ™RÑÿÇÛÑV±ù8:™¾sq8œï}ö¬Æi4Ó:P -T36X¬ö..Ã` {oƒÉØ÷îä -T‹-–ç»àlïºæõnhÚ{¹R!‹¡ÍwꜟcÓ¼Ïlií ô5`.^§$ÈVº½B ¸º)\“4“&šœOcW¥º(«]—]Bé´P¤œ„#ÄDŒ‹Ê„¦×e²BÌÁU‘°k+ÿ*SßG¯"9eJƒMå8tŽkÕ¸ChîiÄø~ØéäÌ}õ)[SûŒ|3S†;c¤Î©¶w­’–[c ñ¿ìøê{gÙQúM¤8׺Ç*?Û¤õï°°ê”Jœ—éçMVú‡“1[Z‡DªãRš»¬€Ž›ltm2îàUÿý-"]d×ßh%ižA®Һ•„zû§ˆ"¤Øk(*ùÂO—èqº<ãâýmÖôýþÍ#V¬Ët™-êÞ=¸OD' õùmZù¤[—žwÒå¦L«æJŒÔáKSÛ"Ò-6£«–3ÝS7_š[~ØoãÚ´‰æ¬M~fm¼ýôÂÍ1š¿r°•Ëáxb™l„åë º :§u‚î,U/vù¦ù$€.Œò‰MË7€,¸ð‡‡ Åb¸Š3a| >¡H[n |[;ï¸k0„é,´}wß]\¸¡^i ¿^ÌÝ碬®šË#v"V˜ {æÌUé?Pj(ÀSÕ¢ÌÖÛø9zÀè@üáÒín{Õ#Ά4P6ÞPöõF¿ h„KÝ´Žçî»Ñn%2PÝÚËÖQïŽâÌÑ2(%'…Dˆo„Œ -[œr.ã^f»ÝmË”aWCµê£ í€ ÒúÖe¸F@ãŸʨkx¬™âþÖzº©²Ê‡–ï—0 =°…v‘C+ …ìb–ëP!f-aÖzÌJÀÚw«…û¯‰ûÝî£`Õ°JÅ£_+WŠq®X9”~ì¾ß*H—=T Nâ°öïlîãÎZ¡}›¼§¿E±j>Kù/a´î¾‚YãÁ…¶jÙnÕb#ü7óšõojç~» ~Ÿ ;Ì!ÀÿÒû»U -endstream -endobj -1498 0 obj << -/Type /Page -/Contents 1499 0 R -/Resources 1497 0 R -/MediaBox [0 0 612 792] -/Parent 1483 0 R -/Annots [ 1494 0 R 1495 0 R 1496 0 R ] ->> endobj -1494 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [365.954 583.5 385.658 594.348] -/Subtype /Link -/A << /S /GoTo /D (table.7.19) >> ->> endobj -1495 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [423.017 567.006 437.74 578.961] -/Subtype /Link -/A << /S /GoTo /D (section.2.4) >> ->> endobj -1496 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [317.292 501.806 336.996 512.654] -/Subtype /Link -/A << /S /GoTo /D (table.7.19) >> ->> endobj -1500 0 obj << -/D [1498 0 R /FitH 686.127] ->> endobj -1501 0 obj << -/D [1498 0 R /FitH 668.127] ->> endobj -1502 0 obj << -/D [1498 0 R /FitH 651.689] ->> endobj -1503 0 obj << -/D [1498 0 R /FitH 638.294] ->> endobj -1504 0 obj << -/D [1498 0 R /FitH 624.347] ->> endobj -1505 0 obj << -/D [1498 0 R /FitH 609.846] ->> endobj -1506 0 obj << -/D [1498 0 R /FitH 582.504] ->> endobj -1507 0 obj << -/D [1498 0 R /FitH 552.616] ->> endobj -1508 0 obj << -/D [1498 0 R /FitH 526.159] ->> endobj -1509 0 obj << -/D [1498 0 R /FitH 478.837] ->> endobj -1510 0 obj << -/D [1498 0 R /FitH 462.399] ->> endobj -262 0 obj << -/D [1498 0 R /FitH 423.475] ->> endobj -266 0 obj << -/D [1498 0 R /FitH 334.469] ->> endobj -1511 0 obj << -/D [1498 0 R /FitH 316.024] ->> endobj -1512 0 obj << -/D [1498 0 R /FitH 280.158] ->> endobj -1513 0 obj << -/D [1498 0 R /FitH 208.369] ->> endobj -1514 0 obj << -/D [1498 0 R /FitH 172.504] ->> endobj -1497 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F70 508 0 R /F49 457 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1521 0 obj << -/Length 1943 -/Filter /FlateDecode ->> -stream -xÚÝYËsÛ6¿û¯à‘š©P¼¹tÒÆIÓ'm¬ñ´“ö@K”ͯ”è’”óø뻋)R¢«Íôð,–À>~û€Ä£›ˆG¯Î¾_œ}û2sFšh±Ž„áÌ™Ô0!m´XEïc+g,~úö¥UCNÇ™rŽñ›Ã5:^̤?ÍD|7›Ë4²”ZÅ—ÅçŒRÉ뢹Ì% }þ;OøuÑ60 -ϤR–‚†<—ÅÍ6_} -k‘Ä/òfYwmQmÑ:ζpåŠæuÞ´u±ÄÍÆeÚÊ1«ŽŒ¡]ú 1¦Ñ,IÓ“-ªÝ.xʤS¤ïÕÌ™8«‹ìºÌÐ+Õñ®ÉWÏV(Is©þw޵ܓF‰U,árè]É ÞE×Ú ×Z–\kžàZsàZé$?t­מä×$I˜sÉ)~} RÁ ÝëHÌ‹«ËׯÞÌ%çñëí ÐÝæ7y ÂY 4Gbâ7•Ÿ$ñâ-dlÜ€~83qµ&JK[&ÞT¤'ÎïѶù²­jZ/« ÅP5÷–:æ r¶9ÉA–úß®iÉT«|YùoWùŠ=b+i˜Sê_B&a´ /©ny\lWÅ}±Úe%­÷:u’7¸!È2ÀÑÐ۶³ ž‘mirÝgàòúZÔ—Ö»¦ØÞÜ&á’-ý­¼eçB3§õØ´›¼½ 6l åeI-åR@µÐµ·5, ,1@Eá‘p?KúÐ%J™ooÚ[šÿ¸ƒ¯Õ•Àoz?}3›k¡ã›‚ôÝwس"Dg’뛈&ï^Eï=;äd5ª ˆ÷?,FqIªð4n)>À8^ÚKÓ¥íØ6ÙͶhw«°DKÒ>¤Ý@[BhÄä_»÷/í­ŠúP(aÚÕg<û| ór·ÉÂ7¥o_ýG^©ÀÜ )(`?ïÁ«fw ÌóP¹Œbº/]!šlsWúBˆŽÿè3œés`Ú%ªÃO¤Z(t’†ö}µÅ]ª8k+@»6lõ«bð/¹¸ÑƸ®Kêe<ÇŸ¡øtÕdåZ¡ ¡B]æþ‰ñH£å_ᎉéNË—'5.OÏC­—A„.|> /J(žÃ6~\V×UY’©›gc1æää9Ö£4¼à;užàfM=F%>2z]\]„_Æ@JRfÀÐ|ÜðCQŒf:— -dqûaÖ=Ez‡Ï)¥x×Ú8öHÈhÙÔhðx…’6ªm û9©×q£Æ[ñxÔêÂvè ̼_è´m¢Ó¦cõ¯¦QZ†à© Ýúœ¯¾9xÙfMhæ”Úw@}ãèW¿xs.R&M#<À¥<¼ÿÿÍÜi>ü¯eæß@ð$>´µÒÐe¤cHËÉðz‹ïŠ.¢Bà›Ûž¨ é‘ÌÉ_ØEoÿëIÈ£_%¼Æ!.Œd¸}Œÿ:Q)À°ÃÜgNª€7õt¼í5§hü¿¾ˆ"˜àö÷ˇäx½6ε¢C dÂl9šM ¤g™ÀØq3¢%K>îEFwš‘“†ýŽ¶òØP«ÿrVÊÊo“èÔ<:Á'tÈ¿&è°A©;<<Î wÇð²øëÐSÑ×Õsýô ¦œ|Ô‚€¾”ÛÓÑ—œ†¾}7øKâoнã -endstream -endobj -1520 0 obj << -/Type /Page -/Contents 1521 0 R -/Resources 1519 0 R -/MediaBox [0 0 612 792] -/Parent 1483 0 R -/Annots [ 1515 0 R 1516 0 R 1517 0 R 1518 0 R ] ->> endobj -1515 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [482.903 476.221 502.607 487.069] -/Subtype /Link -/A << /S /GoTo /D (table.7.23) >> ->> endobj -1516 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [293.171 357.816 315.642 366.727] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.9.1) >> ->> endobj -1517 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [475.692 294.408 495.396 306.363] -/Subtype /Link -/A << /S /GoTo /D (table.7.23) >> ->> endobj -1518 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [475.692 264.93 495.396 276.886] -/Subtype /Link -/A << /S /GoTo /D (table.7.23) >> ->> endobj -1522 0 obj << -/D [1520 0 R /FitH 686.127] ->> endobj -1523 0 obj << -/D [1520 0 R /FitH 620.248] ->> endobj -1524 0 obj << -/D [1520 0 R /FitH 584.383] ->> endobj -1525 0 obj << -/D [1520 0 R /FitH 336.569] ->> endobj -1526 0 obj << -/D [1520 0 R /FitH 312.633] ->> endobj -1527 0 obj << -/D [1520 0 R /FitH 281.219] ->> endobj -1528 0 obj << -/D [1520 0 R /FitH 248.958] ->> endobj -1529 0 obj << -/D [1520 0 R /FitH 225.022] ->> endobj -1530 0 obj << -/D [1520 0 R /FitH 205.009] ->> endobj -1531 0 obj << -/D [1520 0 R /FitH 187.487] ->> endobj -1532 0 obj << -/D [1520 0 R /FitH 169.965] ->> endobj -1533 0 obj << -/D [1520 0 R /FitH 152.443] ->> endobj -1534 0 obj << -/D [1520 0 R /FitH 134.921] ->> endobj -1519 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F14 574 0 R /F11 573 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1537 0 obj << -/Length 220 -/Filter /FlateDecode ->> -stream -xÚUŽËNÃ0E÷ùŠYŽvüˆ_, *R©µ²©ºˆRƒÐT!ü?ŽÜª°™ç9—Ãpx.V¡(k«À3o¤ð -‚æŒã ÒB8Á-ÓŒPk6mØ´[B•RØ­C»Û“cx)k÷çGZ2[ùDÈ×j‘üÊ,ëÊÌk-5½É©´é…º#%¡BHM?LcbZ«Ï¥8>ò¬ç÷ñœëŽø -ã0SîŸâ°H<Åì3qîF9Pá˜r>37çËÏœÔNᥟú¯8ÇéûáŸù[^‡âlßL -endstream -endobj -1536 0 obj << -/Type /Page -/Contents 1537 0 R -/Resources 1535 0 R -/MediaBox [0 0 612 792] -/Parent 1483 0 R ->> endobj -1538 0 obj << -/D [1536 0 R /FitH 686.127] ->> endobj -270 0 obj << -/D [1536 0 R /FitH 668.127] ->> endobj -1539 0 obj << -/D [1536 0 R /FitH 651.73] ->> endobj -1535 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F48 455 0 R /F49 457 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1542 0 obj << -/Length 1353 -/Filter /FlateDecode ->> -stream -xÚµXKsÛ6¾ëWðHˆàýè¥#ÛrÛLí¤±ÆOš-Ñ6§¢èRTö×w— %Q†äGâ‹ ¸ûí÷í.E£ÛˆF¿ Ž&ƒw§6rÄi®£ÉMÄ4%Z›H[M7Ñd}‰~¼wjÄöNG‰pŽiöÿ:ú8&BˆØabŒO?ÎÆþÖÉøøÃÉÏÐöåãÉàïƒ)ØæÅÚÃ]4-_¾Òh‹ï#J ¼é¡ÙZDB -b>8.œ°Œhe#­ áR{ÏÓ"S”åñdÈmüïý0îqÃd|‘ÿ—¡u£š8#£„1â”òÿI½Îë%Œ¬Ù%,±ð²í=ùí"›ýƒY¼œVù}Y\.§‹™¤Ê–u•Oë¼\,XÂpGŒx‡tö0Ò= -*àÁ-W{s?žú nga’w!ým8ÕÙmV ©%9€Å•ŠÏËf¢ãÉ]潹ϿesïáMYiMüé=;’öü´çgG/³b6E+×eÎý´ylUàïµvåÊ?é´*}Øhj]߶ëyÙ<6ÅþZzWó.’þò¦b½åŒ.Xÿȳ£3ÐÁ‹æÜÌû‰ø:®aÊ=ykª±çQMÅÙšj!ð¹ Ò²0Ó³È4H¤`ŒA²9fÖd“Šh®vS6Sé-`«4lgù4­âáõÃ]Þ‘ /wã€!­ÚLב8›‘ýi[QAd/®b´m"‰ Û–îVõý -’nŠ|¨³jùÓ~S$(Qû}Õ(â(¤DœêT*w ªà½‚ -02Ûm¸žšh{Ϧž*¦ ž¶µÔRÑRùÌB*¹vÙSH%Ãðò6£_Ž':khB ‘¡»2J˜Ö¬£îËø Ô%hœžÐä墟Më²ò\…fM…rÌïÀ<Åàˆ«¡•>›.›;&¬Nc#âiuò°:£mh¤‰—Mªƒ±(¯QHkÊؾ›hþƒ¶ùT‡¥'–ƒJÅ«@¶Çô.ý B$̘|§ÁÛ<½žcÝðj™ÍHP(†ú;%¨! ÀQœa{ -äÊÚ€ÅvKË •ö;ZZ.ß+Á¦—EŠÕžŸV¢ Zƒ—+Ñ„ÈhˆÛXûûèbňqJ÷ - Zõ“ÑFMÛbÚÞÑWÓ²½j›_ÏÓeí(Ê¥‰WµeÊ66ó—جž´Y=Ëæe6-»ðÕ¥;?ä®v¿]ü N8¡û=“†C†Pöô,<{ËÅ&­Pß© j›ˆºa0o óù…9(sÌìä—Í¡å³Ë«×Z}õVë¾ÕðÁM·{¼ Åuþ8W·Œ µ±êÐ×sØ)eßü´ùH‚±ök˜tAä+y…Þô7l}EIh^?ôu( #€HS²8Üx+É;‹qŠãXû5`t‰=4WÉ<»©ý†ùªH÷Ó¦opÿ«¯î¾x½ÓûŠÒÐA)Í–ƒ¬sPï8(D­ƒ8Eq¬ýšÛq°ÊoïZ6‹a/õ[{yŒ^ -ö(Œû½të0â´ñÒµaÄÉê¾­l] ñæ›ÇpýGÕÖVÿK}›„ -endstream -endobj -1541 0 obj << -/Type /Page -/Contents 1542 0 R -/Resources 1540 0 R -/MediaBox [0 0 612 792] -/Parent 1483 0 R ->> endobj -1543 0 obj << -/D [1541 0 R /FitH 686.127] ->> endobj -1544 0 obj << -/D [1541 0 R /FitH 668.127] ->> endobj -1545 0 obj << -/D [1541 0 R /FitH 488.742] ->> endobj -1546 0 obj << -/D [1541 0 R /FitH 452.876] ->> endobj -1547 0 obj << -/D [1541 0 R /FitH 369.132] ->> endobj -1548 0 obj << -/D [1541 0 R /FitH 333.266] ->> endobj -1540 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1551 0 obj << -/Length 1733 -/Filter /FlateDecode ->> -stream -xÚåYK“Û6 ¾ï¯ÐQž‰ñMN¶Ù¤I“Ý鮓KšƒbËMmÉ‘ì&é¯/@PkɼÖIÚ“AÈàGÎ’›$Ký<9»ÿÐÊÄ3o„I&ó„g†9ãã ãÂ&“Yò2µL³ÑØZ—>»œ<¾¼¥”é‹ó_&—W×£W“'÷ºž dVyð@_kT9Ë¢ÏóÉÙÛ3b–ð­;c™>™.Ï^¾Ê’ >I2f½MÞÕe"Xåøá"¹>ûæÞw˹`ÞòÄhË„2äü"_£±ÐÎ¥“‘p釴\ -}Rp•^—#žþ=sèIÂ|Ë”KÆœ3¯5Ùø#ÓÙërÝÂ/ZÒ1Øôu®Ë›ª˜ýÆ•郢6åj]Öa•W3š¢]7åGÚËa8¤gVîÁ¡¼û8:[Â1ðLÓ|³ÐΧ+c]ÜÍh¬¹©40w¡uzQÁ¤“7EÐNËjV¼GѧõœºÖÝØfmÆMyó&X¥‘Åf™¦^0Åw0}½¨ÃwSüâO¦ `©h:–ù´©Iê³`x|Ðò9|`¬è-ÃKËäÝ2M·LMËÔÖvËD—‰¿9ý§ošzÛ4™ÐoqòákH¤êøziMBß® Äášîa§MgE´š•Õ )†,‚_4‚²¡íUù¾XLóºYæëƒðÄ ñm–Ï€/ƷИ½¸Ò×ß2.Qùf­qÿ.‡RÆ|ã¸Ä|ù·S&?Ÿ1âb>¾•¾Ã|y ŠÞ‹¯ÄÅ|Å|O¸Ä|yŠNúæ î# ×z‰<þ½ÓÌoH3Vÿ§é×|.OñXîÿK3‡ A) ÊÓònu±àÌq™e«q4‰gu,NNÿÂÓuÝ´Ô‘7¸z§ÒúŠuÂ\I(rB—Z@NïœqpcÐ>”¾"/͇øa9‹ŽŠ÷ÓbµÞ:¢DQÌ+µC»“ó«xAÁì æÖ2¸ìâ%{…3\œÿZJ0'X2ÌóX6?{qÀ¥ÉX&í)\É2¡‡."\—ϯ ÏT¦:ø¨”åéêÝMkìÃ*óÅ‚„Ë(LëÆÅÕ"¯Š6*6q8¿8àÕqdê^½g™—Ö<‘Û°Ý0&˜‹¢Ó°UÌäm]<2Ì‚“Qp°:í6óŒzhwØÕ+ äÕ¢,b;ä(lÏIlí>`Œmæ1qTHÔ€!½Ÿƒµ‘ÃG5o€¸2Å,Ìòë1”Ž­‚%ØæǹRjøþ.5œ‘J]n¹WëpXG@4Cx„Îœ;t‡·0³ «ïªD2„6ôaQoE¡ª†zU ´:µ'SQ;ò°7ûµŽ‘<}^íšßý`ËŽ§)¦EÙM_HAü¬˜ç›Å<DRˆPnŠe^VT†C³«LAÜ{m„¾i¤‹­~»¶3÷vS†JØ «L1ö¿Ù®êP¹:(­Ø¡ÓK‘¡EÃë¦Kµ|Éh\ýD*½j›3jÑf…·ã5É›6êäÔ¦ Ž1JñžÒæá(EUSŒ%⬌UÔ8ÄsBÈ´ ÷/ÑáÒR«Š½ÝDyPIôlˆcÇ’”œY¨¥¹ èéNä†\e‚%(bÚ\âþ?5% ¨ÏÌ &dÞ«áDŽÊà_în-°dDr¸þ£®·»%|/ñ¥¡’ÒvñfË?ØÛ§ <ÆGXŸjí?AHv‡Ðú!¹ÇËÒîÓ®Ò* Š|ÑÖ4¯²š.6qQ6ÖÞÐM´ÐÿGª÷ÏÔ?jx—„ -endstream -endobj -1550 0 obj << -/Type /Page -/Contents 1551 0 R -/Resources 1549 0 R -/MediaBox [0 0 612 792] -/Parent 1553 0 R ->> endobj -1552 0 obj << -/D [1550 0 R /FitH 686.127] ->> endobj -1549 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F11 573 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1560 0 obj << -/Length 2173 -/Filter /FlateDecode ->> -stream -xÚíÉrã6öî¯à‘®j!Ø€3'¯™¤ÚvÆÖtMÊÝY¢lÖhqHÉäëç=<€EÚn·Ý9¤úbayxûJóä6áÉ{‡Ã½N]’³ÜH“ §‰0œcã Ò&ÃIrZ³ÿiøó§VmC朩Üsô¯ƒ_†'—û¥TjÙþÀZ—ž^œÐÑñÉÑÅñ âÙãx›ò "H ‡ŠÐÞÌ–ûéÒñ>üù_ ¸,O?—«;\‰t±¤“1AMŠ ígëùˆ E¼ÃÓ<Õt»º+þ £ª £1ÁT"-ðÓ9Š‡üŸ ÷~Û OD¢µd*“‰ÉSF'ãùÞõ'žLàòçrÉg:O$Ë]«Yrµ÷ï®êµÎ˜ÒÂc€ÉË~qöèÏ£ˆÈ(Éif¬µ –gYÐj R?r¡û Áª\.˜&4ËuxœùGû1ë …šöH,?ÒL ñ -‰¥Ì;ˆI&ÏÈÛ%isƵy ’N2®²6É÷WCy´˜<)»2Š m߀e À”y^våSʽIˆi%mWvI2¯ëà«G ëÐú}«‚ûÉŒ™,o»ßjYí´0é´ZÎiåQiaÓÙ¨^ÑÑ|4®–´lG7~äǘÃûí°Æý²šÚzkmQ1)J€!Ü\B»ÔQ¾;-^ Odhaâ#Äm5ÒÅÇ«Q¹ðÛ,ÑMT$®ƒ"/) Îî=éeIïËÅ-{öm0¢»¯Š‡r¹®û˜V£y‰×äbœ—y±$Õ¿ßÏÊq5y‚›ÀScÀEá9ìQDÔäç4uRìZh1Ëu€ÚäÖÇ÷Yð©ºÙ[$`ï~!D‘ÇËÚÎcÞÆ­N=p¼\a1¥_Ò%,~¼x|r¾õ8¤>Üûj€hËU‹gC<ƒ¥ë|Ñ e¨H(”º¬iu_QŠÄè žÒÕhÕkÈÑf\dw:öëõí†üŬèrp„ Âe·DÂáÝwdÖF†R=6h×Ï,½Œ´çHׂ€àw­)Gúëþ°Àº µ¼/î - lN$Ÿ­”̳\ÆFâŸÒªŒLKï9Å?bÜöZ$åuçÈ9êU1š€2(¡§ûN¡cPÊU[ 15á{\Q︢®øx¥Ì-ˤJ²Œ3+_Ó(ÎY&¤Ç”Éì‰j!,³B¿I ¸j“6Qe9Ó@@+É´Ê_5Q†ÌzLR?Q"a˜ÄÑå (Â0i´kQŒ²Ï´ÂXc%.%µì “÷…Ï2=Àú%³ôÐÿêô(ì)ñÀ1þ¨M«¨b‹—åbRŽ±©ÅSÊ_~Ùê÷ÎV}Æ7âªùÈÓk}˜áMãh¾O„E_bÂÈè´†íFºÛ¼jGÝ'ô1«ÁÑNîrš;f¤|ÖOyŸ¨Ç jeU·^D+ ZÁÔè=ðâ5„ùݹfº -(B#2¨K;iÛ‚‰ú0ø9iRüNg^L#ÚÆ€=ÃxuŸËn7²…§ -ÅÞgÑ€hVLWÈ®qéᆣžI`÷-qÓ½£h>z´w¢}¤…¥&¶Çϼiht - r§ýožö‡L„çºñßCüyÜõ hq…j<ãúàÓn›·üYTËÝxÆO~ÖÞÂ÷”ƒ^ÞŽ7¥\g@ü±i £þ,5ó8¬;ßhÆ ¾‰»³ÿ%ôÄŸü - ðƒ5b¥>"cŠ^û#M4ÁfB¬«¦Ä×㪠U?˜® =Ç~ÿXúñ1äÒê6¡Å¥”¾üfl·H¥›jDÓ²éáSMgO=6Pðƒ}89ö7 ‰Þf³>Õ¢Z»-©³L|yGê !ýÀÛmL¹a"ÏÛ>S>âÑÀiõ¹¬‹M©#Ï l©/R‡~‘:úúsã·î•í¹e2o{@ùð‚¨Î Û|iT~ê¿cT~}T¹Ì½MTãÒv™‡§Cú™ˆv9ËÜ·PEoDì`^;pk&D»N?”ß8¢¾&¢¿ôW´øë"úè5í6ÿ’~Ä‘í—E´cZÈ._ÓP¥aFøÊx$¦·†¯ŒéœYgwÒZù’ö[ &­|aXë¿cX¿¦ýVB¾>¬ãïÉpïÿ°VÌ -endstream -endobj -1559 0 obj << -/Type /Page -/Contents 1560 0 R -/Resources 1558 0 R -/MediaBox [0 0 612 792] -/Parent 1553 0 R -/Annots [ 1554 0 R 1555 0 R 1556 0 R 1557 0 R ] ->> endobj -1554 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [396.068 337.48 418.54 348.328] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.5.1) >> ->> endobj -1555 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [396.068 269.563 418.54 280.411] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.5.1) >> ->> endobj -1556 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [396.068 201.646 418.54 212.494] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.5.1) >> ->> endobj -1557 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [396.068 133.729 418.54 144.578] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.5.1) >> ->> endobj -1561 0 obj << -/D [1559 0 R /FitH 686.127] ->> endobj -1562 0 obj << -/D [1559 0 R /FitH 520.509] ->> endobj -1563 0 obj << -/D [1559 0 R /FitH 497.922] ->> endobj -1564 0 obj << -/D [1559 0 R /FitH 466.425] ->> endobj -1565 0 obj << -/D [1559 0 R /FitH 443.74] ->> endobj -1566 0 obj << -/D [1559 0 R /FitH 425.679] ->> endobj -1567 0 obj << -/D [1559 0 R /FitH 376.377] ->> endobj -1568 0 obj << -/D [1559 0 R /FitH 361.833] ->> endobj -1569 0 obj << -/D [1559 0 R /FitH 336.441] ->> endobj -1570 0 obj << -/D [1559 0 R /FitH 321.897] ->> endobj -1571 0 obj << -/D [1559 0 R /FitH 307.906] ->> endobj -1572 0 obj << -/D [1559 0 R /FitH 293.916] ->> endobj -1573 0 obj << -/D [1559 0 R /FitH 268.524] ->> endobj -1574 0 obj << -/D [1559 0 R /FitH 253.98] ->> endobj -1575 0 obj << -/D [1559 0 R /FitH 239.99] ->> endobj -1576 0 obj << -/D [1559 0 R /FitH 225.999] ->> endobj -1577 0 obj << -/D [1559 0 R /FitH 200.607] ->> endobj -1578 0 obj << -/D [1559 0 R /FitH 186.063] ->> endobj -1579 0 obj << -/D [1559 0 R /FitH 172.073] ->> endobj -1580 0 obj << -/D [1559 0 R /FitH 158.083] ->> endobj -1581 0 obj << -/D [1559 0 R /FitH 132.69] ->> endobj -1558 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F11 573 0 R /F70 508 0 R /F49 457 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1584 0 obj << -/Length 1702 -/Filter /FlateDecode ->> -stream -xÚåYKsÛ6¾ëWðHM-X¼ÓSâXŽ¤nM/®¶L§šÚR*)¯Ÿ]‚¤HŠ¤ÄDéLÝñŒàîbŸßLËŸs$#j§PÌ„d^g -oÖÁÙ]ÃypZèú×ñ¶ Â1i ß1[…#ñpP:™z -OSÙžÖe3ÌpWíY£h¯“5ҟЀª›ß†É8,ß ÑÚqÖ‚–qu6¿M>‡µÙ<,MéÎÛ${±¼M–áÑâ®öúbž¼¹oM‡øïïœ6É ÍðO Ã 2#Ëøázº\5 -–(Ø”>¾[.6n±m|–ã<™b³-<2Ì[éh‹ÅBæLy6Ýl›Ç2 2*í!Ý5póLZèÅlÙÄÌÊ -³÷÷×ód•Õ2Y½†š®gI™Éý—¡“qÝi…Å” LÕ3ž7zƳ¶@U“„è¨'Y :ª”šqn{’·Ç>9ÐHhÃPg#e(/QÔ, -C•ãѧÑF¾¡\¾ AZÁ™ð§ÛC`UüìªÁøh:zÙüŸ›Ì_uµŸš(Ízêðy£HÀ´‡]"¡É0ƒî ý :…żR½ôuÜ"†îÔ%÷R—*—›F -¥·EœLÿ (Px$"æBEZ{¦¦ƒË+ÝâÃóˆ3é]ô)Ýú‘ãjCFºÞ~ žR§Q ž¤Å˜ÌµÕ¶K;‘–à̹"@6$)Ìe*eço(Š#aæ*t ¥PÃy¶j‰'Í”s!žìžñäOYÝøÒä œÑÿr@µË¤˜%}uË”€ÿ!u}<¢Ê2Õ"Ê(•F¨ µÜQBˆŽˆÂ"a0kDÑ\WDY¬%iD‰zD¹–€*¼_‹:Nsäú2i‘'Y©Ñx¦?ˆ„*ˆ„ Òí‘àHð¡È§“qX.@$­¥åšVDΦÉ*¬Œ¤Å2Œ¤õ FÒ#‚‘ìb½&¸—ómÃŽ HJÔ ç*,¦Üq ¤q’!LP| £Òã€0ó70Ÿ1˜˜¿`¦8la>„| };ä;ÊÐõ˜OjZ†1&>¥Án~¿ ÃÆP&ƒë4ÙÊØ *\¬Êx?Þ…­ª¡Œ) ÅŒDî¹e$rÖ´ÓhõQ©ØÓë=`¶®ª¼ÊÆ,"­x(ûtO”-9B¹eKùöAŽaNaåÿ/”]‡ŽY$%=–iŒ“®"‡5 ­ÑQä¸g…—N2%³òÛ6ÂŒj)r• sÌ{U­r°‘pªÓi™sÞtÃF<„r{:á òÛË߉áp8h;q‚©M"8w¦ÛC0©pè𠘸$Ž£Owy—öp0ÈS`«0è¸w¾tî¿ ´¤KäRôij/÷H—\çùRõÊ—î‡äËGÖegé’p<õéRIÙÕeó<Á -× -«^ÏTéºS¥“>K•zwªô? U>ÚŽ3%`»Öáö©Ò[×*éÇ@—‡kØ1ÒµÈR¥Î;Æ>-#:Wý[FYnñ¯µeô{ß;bçêg<Äã£ÐÕ{Hik‚ûnÒÏüIø: œÌ†"κ“ô–Wº0ìÖ‹šp3k8)ú‹)v¤­ †+…ÐÚ¸MŠÂ¤­këA£ +võ bW߇ý:ƒ =r”O”:´µK²€Ð‰Í刨·QM‰#ø¡QEXWó Ô ì—Ëëù»ô¢'ðE)Ö‹ðky½Z§÷>"Ó[ÞŽ*Š¯†n³l|–Öñy:ªøUö»Øð: ›Ë(ü*,Nfí TÙ×[<€>è”<€HV.³ðw~™EÓ» û@}*èçËFÀ7øãð€­îÁ¥ðúQtÇgpoëÛ-}¢Ï}i˜žMK]÷¨%Ûÿ&h>ï­Eºzªä’½Û¬--¢Ù¥ªjñEO-"öú¿«´¨‘àk_’¯zª‘‡ø&5×Ô˜ˆ¶¾ ¸– -endstream -endobj -1583 0 obj << -/Type /Page -/Contents 1584 0 R -/Resources 1582 0 R -/MediaBox [0 0 612 792] -/Parent 1553 0 R ->> endobj -1585 0 obj << -/D [1583 0 R /FitH 686.127] ->> endobj -1586 0 obj << -/D [1583 0 R /FitH 668.127] ->> endobj -1587 0 obj << -/D [1583 0 R /FitH 653.672] ->> endobj -1588 0 obj << -/D [1583 0 R /FitH 639.715] ->> endobj -1589 0 obj << -/D [1583 0 R /FitH 614.356] ->> endobj -1590 0 obj << -/D [1583 0 R /FitH 493.416] ->> endobj -1591 0 obj << -/D [1583 0 R /FitH 480.455] ->> endobj -1592 0 obj << -/D [1583 0 R /FitH 431.186] ->> endobj -1593 0 obj << -/D [1583 0 R /FitH 342.923] ->> endobj -1594 0 obj << -/D [1583 0 R /FitH 256.21] ->> endobj -1595 0 obj << -/D [1583 0 R /FitH 243.249] ->> endobj -1596 0 obj << -/D [1583 0 R /FitH 193.98] ->> endobj -1597 0 obj << -/D [1583 0 R /FitH 167.514] ->> endobj -1598 0 obj << -/D [1583 0 R /FitH 141.602] ->> endobj -1582 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F11 573 0 R /F10 668 0 R /F1 667 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1603 0 obj << -/Length 2651 -/Filter /FlateDecode ->> -stream -xÚí]sÛ¸ñÝ¿‚ôL„Ã7ˆô)—8—tâäšè2½ñå–h›IÌ‘RÜô×w J$EÉnì›Ìtú`î.û '× O~9ùyzòÓË,ñÌ[i“éU",gÖºÄf– é’é<¹H]vúiú÷Ÿ^:Õ]é9SÞš°æù«g¿NÏÞŸN”R©c§ç²ôåûgçgzqöüÝ‹3ÄsÂ#ñ¶ís0R2£t2‘€ŠÐŸ±Þ§ÉÅÄpž>kšòzEÌißA¢-ÓV·¼<{>ý@˺¤´gÖ™vÕÅ«OÄj¾š T†YïÿK”o"ÊõM~=56Í›b„ÂDXË|;‚ycîAi»Å‹Ÿšd > ¸4“ÎÒª•eyL×7Ï>L%qÙV¶—ˆ"d\$çZr_ï Qõ¨é!µ?¸áçÿI"¢«ƒ&cf«‚Ó2ÛÙï§i0?ÑÚ¦Ó›²!"mÛeÂt˜¨®vó@7 -‡dmÿ°–Õº¬ÂÎ YZÌÖUc›Î‹Yô³t~*RÀ* ^ÕÕ’z‘¸Iy³¦^ûM/6Ëœð]šÍÎN¥K?Ó‚2’¯EQ^yŸÉªž5Z¨ €¢š ¥t‰H6HGùâÇ9nâ[ƒ0Á&Ó‚ùšÚE‘7±[­Š'Ð32mÊÕ,®[泺ŠßïØÍÒÏM·¨¡·åú†TnU‘Àƒ\+½€ÚC€»]àhÓD^¶b$$ü)_¿EŸ…*z6=ùóD;<‰6žq'“k>™-O.>ñdsÀ0x½,¹ +—‰ƒE§°H>œücßj+·ó´Ã·ïÎ?MU:É2¥Ð0ØÃBTûKÔÕ1zªRß–M¸öiy5âPœgÊîÔÿçsðÀ#žÄ -&²­]D_Ï;+$sv»`yYîãÆ3.Ú%Ÿð¼m°)l-5¸¡CŠ)ð›Æ¯xˆÄ®1 ðŸ_Þ½yqöv„,F;წUÌâIwÉžÄã{B»ŸrÒ@h/?Ûé§t‚¨3º^Þº„w] ŽÁæ°®h%úJÂ,tÈóù ì0,ø\þ¥G-©˜oêbÌgÌ‹fV——aY¢ŠžF¥€d ÅK’­¯ê¼ -‹çf ÉéЄcàÒ÷Í`v3,šíê÷_n#,ÅÀ¢ixÌx#5Ë2õ #ÌH0YH(¢6Ž”sÒ<I.Nè>ÉJàÙ=:<”àƒ“¾;59œ 8Î4Wwdn,8˜ í’¡¡š:˜îå:]b5!µP»9qœÜ±ÌJ1cÕ÷¥VC£Î ¸™}«žßǪrãVqæµûAÁÍÇàæ]ªhx4¸9Æ1B¨™äŒë,¤^³kå˜õ#PÔ×+ߧˆšÕF6Øz¾­Â@WˆS»~ð8¬fXâñ=Zv·Ùî)"TL MûzXüDyï袕fc\‘ÊD7Õºyá óÂÝÇÍ¿(:)–S -!ÂB 2 ‘†LgÚLûÝLÇ»LG! -È0"Èï”0ÇLI´%àÌÛ¯G¾Ô½Ì(ùŽ\^—˜S=JJ¤˜ W2þÿ±æp¬ Rø}‡êÝe醈¥ ŒXºµLkóc"²…¶Ž­yŠíÁâUyͼӉ‚â&ƒšêû-]yºCL¶U¾ƒµ”–L‚­?œ,™Inúd±l~BûO©}ý¶­¨ Ú9¡úAgúþYtÛtsgÑ/½€<ä§3¼8û~þ%@&'ÅŽý2Ãcç,8©öÞ1t‚†+ãÁ–èªhäRìßE]íi?7Œ«í¿>¤ø¯Ç"š´ÌJñ£ô<‹zîÒUµ&€£waî ògx#hyˆ’òAÊaΚ€IHu$ׂÀŠû|8IŒ¬ÎØ>É—ÐÞýö>j -¼ÕŠzWfjêy¸»‰6ÁÁ…[ÝfýËÄá ÚÈ ͜ߺ¼ÑÁÙÄmŒ—~¨¨Dõw”û4¬kñ÷N|ör ÝFÈû–’#Ï’i#ïu·¯ïRø옴2f¤p‡rØ#Å® ¹ø÷ÆËá³ä÷,Ãœ²q«£Ãúø«Â¯\ú¼Z~É×åe¹(קJ¦ßFŽ‡«'"ÁßV‹¢i(Få‹vtzUmjÑ.Â.»›§ ñ£rE-]QaÆGꄰʆé¼.hr§ßOâ%}ä¬ZííQC^P¬¶_Ö45§qÑÐ0¸\Ù È6 عSÆá!äà448UÍ„{C‚ÜFƒ¡H(ê¼;â0°È$$Vö)¶þˆ‘@¦7EUç$º‘À,%åMœA[ÍÞ„ÂErø¦Y×å,>›H‘^†š\רæéa –l_YØ{eñuDSlV=¯ø‚½¡2!,oèû¶*PÁTÛΪUS6ë‚ -‚ÅWᣌ ó#$´ÍÃÊl7¿·u€Ý䑪{8<©Àà‹¢L¾ºòt¾}ìÁ.¡wüײÚ44ºªóeœ $Çmy‚^°ý›º -§ãr‡¸Ìãã‚¡üƒ =‹ŒáD¸²(ñŸ›2DhPAòF†ÄC4‡Äáöi $¾€H±ÌfG<‚DB>E=l]íz‰p|ôƒáÞ+]8þ(CtÂä(¤ýjð.Ò  X¢e>”õØîÔ»gÕpàRš„¬HÀ¹P5¾øF3[ßßåÔ´þ §;¨Ðþ¬é«àÐnƒY’qÖxëÅà¾Îë9E:DT]iâMü~"½…0¶Š à_”¥¾ˆ@{2ÃiŠr0›ÏÖˆ«M7æMo£&¬£îmo_Åàua èùè›l Ý>Û½AùÖÉ“|ƒ°_³qEd$‹‡Hý`Ø9d6 W[þ°x) 6çòˆu@Íšú$¡fÐ ¶ÉuãI ƒ4m…ec&g.ó}UÚÅ”4hõ¢j@°£sá^JF“Áv–/f›E¾."ø&v¶'šù}tVÝåäªÑ²*ÒU>’Äa•â]z¹YYñª@ÿÛê°Å»ü}\7JGHò´ (]´77Õ Ïi/ãÅ:ÿv²¢9òÿ81Û¦o-gZ73Âï²ÈÛP‹f®¡ÝR *½>“Q¡1Ìš!_D4þ¯?¸ ·š§˜e€RÑþj…Ž½ðvþ¬Õ‹õÅúSÙ‡ÔŸN4w“PîHÉ ñÄrÿ$!ž`ÕÖ#¹µ˜` -C3¤³ƒm:ÿstc|(8D^ {Gÿ‰ÕÎî<)ýO Dð_C° -endstream -endobj -1602 0 obj << -/Type /Page -/Contents 1603 0 R -/Resources 1601 0 R -/MediaBox [0 0 612 792] -/Parent 1553 0 R -/Annots [ 1599 0 R 1600 0 R ] ->> endobj -1599 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [297.073 540.286 319.544 549.197] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.5.1) >> ->> endobj -1600 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [361.974 402.894 384.445 413.742] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.5.1) >> ->> endobj -1604 0 obj << -/D [1602 0 R /FitH 686.127] ->> endobj -1605 0 obj << -/D [1602 0 R /FitH 668.127] ->> endobj -1606 0 obj << -/D [1602 0 R /FitH 641.397] ->> endobj -1607 0 obj << -/D [1602 0 R /FitH 627.674] ->> endobj -1608 0 obj << -/D [1602 0 R /FitH 579.469] ->> endobj -1609 0 obj << -/D [1602 0 R /FitH 538.96] ->> endobj -1610 0 obj << -/D [1602 0 R /FitH 517.55] ->> endobj -1611 0 obj << -/D [1602 0 R /FitH 503.273] ->> endobj -1612 0 obj << -/D [1602 0 R /FitH 489.55] ->> endobj -1613 0 obj << -/D [1602 0 R /FitH 474.72] ->> endobj -1614 0 obj << -/D [1602 0 R /FitH 446.167] ->> endobj -1615 0 obj << -/D [1602 0 R /FitH 427.247] ->> endobj -1616 0 obj << -/D [1602 0 R /FitH 401.569] ->> endobj -1617 0 obj << -/D [1602 0 R /FitH 387.292] ->> endobj -1618 0 obj << -/D [1602 0 R /FitH 372.462] ->> endobj -1619 0 obj << -/D [1602 0 R /FitH 343.909] ->> endobj -1620 0 obj << -/D [1602 0 R /FitH 315.524] ->> endobj -1621 0 obj << -/D [1602 0 R /FitH 285.721] ->> endobj -1601 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F11 573 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1624 0 obj << -/Length 1854 -/Filter /FlateDecode ->> -stream -xÚ­XKsÛ6¾ûWðHÍT(Þ^:qâvÜz’I­é%éa‹‰RH*Ióë» €²(QŠÝä"â±XìóÛ…höÑì÷‹ËÙÅÏ¿‘9â4×Ùì>cT«]¦­&Œ›lVfïrC4™L±ùåÍ›—No®þ¾º™ü3ûÓ½ÃΡ€q8ôö:Q Øk"ÌŽäÕÕË7¯®"™Ý£âÌÊeOf’\Ð$ôÏ¿I›1I„Ô©§Bb¤Ë¦Ü ±“y2eŒ«ür¹žLËçøù0½ñŸpà—é^·Ï‹qIàöþæU$^È Q{Jøyä_úDìöT™2Ɉq„cÄrÏ\×›m‡¬È7ES¬|ç›ö— åÕìâãæ4cÞ`œP0í|uñîš•°ùGF¯É>ÒU&$áÁev{ñ6ºvߨŒs"Ï4eD)y wƒ”›|6á6ÿw3™ÂÖ¸a2¿­¾¥@F¤Ô #N©xø=Uô®êZø²@%,¨¨³}šÛê¡öå¯à -ç8ت7Õ¦«Ö5Ü*d^Ô%DÞø¶kª9î´§í ¬$TÙA:{Þ—ì˜N´pÉ—·Çq¨ÁêÖôŽ¾®ÑBðÍd*™ä¹€ã\©üõ: t>[ 9É»uW,ã0Û®ð÷.Z·‰ëûø½Ã…õ9’|hãbUÇoí/ˆâ†ö¿ÇÈ!cAÇÁ]̸ë“íÕs´Ä›éÉ‹¦)B „M£ÁÖ|àp–,‘L¢òõˆ„–&w >j|.ˆ´¬'™ú¥_ù(X ¨ØI¦hLü¾§L!†2ðá» ªº¬æEWÕˆBçŸXÞä‹4?r¬‚?fy¤-}ùtG¼~{ýÌ`Ól|<Ö wj”þ(À`lr Ҝœ:„¸T€°fçO¸¬Xn}KÎd&rì}.Bf¦„ð°ÚÆëßl»ç¥TÎ}XàZi2ÀhT 5˜{&æž ¹g¹ØË= ¡çžÒ§˜ñ>…[(}Šè“N>1é§ÄŸŸ›uvÌ#ÜËú¸¾žÝ(ph7‡B(Û·#{™’J„Ì—¾~軪uŠ[`™8GÅ°(â¸[ÇÍÀÇ# -…:g Î‘±Nb9ËòËCv°0×JÿX/ã­ï†R¥úMF’!õ®zò ‰Ü©Ž ZAì ü—8DYðÛÅ=‘Ï·MÓ[¢‡ $æhÏ'vl¡÷p§º…¤tSúfLÕ)ƒNWh5<> -8çT¶ ò‰¾j”_-_âlï k'^/ç›íÜàí®ß®¿sYµèpªÆï³Ð.mM¦LQ¸O ³³1l=„‘¬{3ï¶[T‰â±wÏ`.á¥!Äw¾¸àÉÅŒCMŠ¢Î‚Ò¹|Ó¤àñåšË°ÖBUšw‰6â¨cÖõˆ ú±îyDQ2™ßõø‰‹ˆêq9˜ -¥ÿ¸-b0U_C"÷"…Á Üy™Ššâäðm˜"ý çUª³ —ÁóáêÅz‡³ÃzÍ»Ê_½Œ›çØËe€q¤ÄA‹Uc¤–*ŒûFTSwÜÿ|5`Û:]Dèú9Êõ ÖUÃTD)ß 1K›{ßøzŽ¹!Yþ¹ - £s‘VÑøÝ4¾Œ…ç4_ùØ-uÕ®~Â5žž2Á¤x$ЫgB:"ÿžùž}9†ìåzUT5IšÈ!§¯$>LCžÁ·˜w[pöT[VТMî hZÆ»ô’ GêÄ"òØFùøx<Õ…i±kÔ’¹×‘o׋¼ÄÎßw¡t'ÞKÚcØÙXáÐaëS-Ÿ€¦YèƒôØ( ù³³3ä®D|šjx ÌúŽò™èWÅT q/LÃKpÙU›e:²)Ú¶ßíÍzû°8¸)"2Ž¢ú§_¸2GÏcŒ<gëQ&a-ÐíºÙcj–ø†MUcUîð_æ~ÓÅq -e¨,E›–@„èV¯ëY m’ıGþº¹šö: ÿž¶ -=Óªh?àDÅP‡ïq¯TÆxpª¬>U¥OkAlduôç²| X¤ÅÉç€*qáü¸'0èˆX·‰W·(ºHP8âËT†]hh|øß ñbDðoÁ£c%F°„24 \ÀCƒ³þõ6£Ø C,$g4‚8q~Àû¾Y¯âþ²èÂÿ0 2ú¨^H÷_(öÿ럕ê -endstream -endobj -1623 0 obj << -/Type /Page -/Contents 1624 0 R -/Resources 1622 0 R -/MediaBox [0 0 612 792] -/Parent 1553 0 R ->> endobj -1625 0 obj << -/D [1623 0 R /FitH 686.127] ->> endobj -274 0 obj << -/D [1623 0 R /FitH 668.127] ->> endobj -1627 0 obj << -/D [1623 0 R /FitH 645.509] ->> endobj -1628 0 obj << -/D [1623 0 R /FitH 612.433] ->> endobj -1629 0 obj << -/D [1623 0 R /FitH 492.823] ->> endobj -1630 0 obj << -/D [1623 0 R /FitH 456.958] ->> endobj -1631 0 obj << -/D [1623 0 R /FitH 385.169] ->> endobj -1632 0 obj << -/D [1623 0 R /FitH 349.303] ->> endobj -1622 0 obj << -/Font << /F73 507 0 R /F70 508 0 R /F8 458 0 R /F48 455 0 R /F89 1626 0 R /F49 457 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1636 0 obj << -/Length 1405 -/Filter /FlateDecode ->> -stream -xÚÍXKsã6 ¾çWø(ÏT\>E±·<œ6i»›xzIö ÛŠ­©-9’¼þú$%Y¶lO¦i/1 |ø†Ž–#:úéêfzõá>b"¦¯#QEzÅa\¦‹ÑsÓñçé/îµØ×4”£ÁŒÕ¹ýùúãtò8…&ãPë8¸¼þuâDw“Ûßï&hçŠúÍû;‡Ák -gv’ÌÇ<VhDÕnV¥o»4GYí o“ªr_³1 ü°L«ºÌæuºpJuáäõ*u‚Ù$`ÄZÿ³rÂ,o´ÀRê·LçEî­,Ëb·%½;Œ'Lã¡1Ìû‹è<‡ŠÒà~‹ (ÁAÚÝ f_ÆJÉvÝá¶LÅ«w9ÝsQlˆhü=ËœB/xŒhÝj¼–ÅÆ™§îÇ:~_¨ò•foµÔ„Ó¬þíæÉé0¹§ÃèðFç…Rz| -C”jÍ0ØŒý€ûê•-ó¡%¡¼EÒ§PçÁÃÓ±i.ˆÑ­íçq¢£øœb©ÖEŸ½c,*º8ìüô¯´,BòˆƒD+1hÍð ñ½x¨R€«]}A¡‡äþæ0D“pAÙžÿ-Boš‡wᦧQ`¨lQðéa‚i¢K0À$ö*aðã¡+¹!ÌÄÞ—ª1¦h‚ÚC.½v -…âЇé“Îl*§nâ‚ K» þõ -¥ûžuË8`ÀÝFÈœM9HÿÖÕ® ²=HRƒ]ò¢7ÈŠwÇv%LðKH×ï@:|—I3àr +å]žyúË‹xJçuVX*¾bp':*—#7x´÷C%(â ¨íðîà¸PB$¦+Ä *–éê­/Ê^f¯€[®³ªv"L;üui§1í´-½¨f“Å~ÞUéXb¸ Ø#¾ãð†NÜÀª‘cÕ£Šh¡ßA¦ ›¯²å*-¤€:¹<Ðü€Ú!ãý!ã*Mp‘Gµá¡$‰äYÒDvUÒUÜ€:«œñÉ -¡8qt¡Oˆ€7ÙùÁ(D©ß(¸}-jç -qŠFC.a=œ£í³tÊþ1É6Ê|»¹Ïœâsj@EGP˜3þçQgx >î32̘›ñÜv=Ôsfk$L'öWuW–kQd‹w·NµäŠB߀4±=;šZø…RJzŒ€(T,ê'$Àqü|£ÿT>2ILÒ!Xl<üÿø(àX@¢·àÌb³E?‚WgÙ< Çý>”…ŠÝ»kZ¡ü8s0˜#C°` V“:›­ÑõPƒÀõi²©°½W4(òõw§^äCl‹VwIøv¢›êšÏ.Pv·9–Y4ß´{®£G§æ òmÊ<{¡LÚG`dÜó.Š=t@ðZ&?D€¥%ÞDý -'l7I³Ö·ŒÅÖ}°h´šþÅãįt»bífº€*î·úºÊ<ÙámhŸÍ¾âêb·^¸çHV§eRû·ÉÐë…V^èÔ5<):ö5Km`6OÝšwë7,KéÂ614¶É®ü¢Ü¿0g.Ù`””þ¼eÓ¯$ع4/Â|±÷n¼>`DÕwF¿[w¤½Buð°Æ^ÌI¬ôYèÁVzz`}‘"Žòæ¿ ¯Màw• L ›$iŸúšßÉôêo‹ç.Ñ -endstream -endobj -1635 0 obj << -/Type /Page -/Contents 1636 0 R -/Resources 1634 0 R -/MediaBox [0 0 612 792] -/Parent 1553 0 R -/Annots [ 1633 0 R ] ->> endobj -1633 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [286.072 553.612 308.544 564.46] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.2.1) >> ->> endobj -1637 0 obj << -/D [1635 0 R /FitH 686.127] ->> endobj -1638 0 obj << -/D [1635 0 R /FitH 650.25] ->> endobj -1639 0 obj << -/D [1635 0 R /FitH 629.771] ->> endobj -1640 0 obj << -/D [1635 0 R /FitH 607.853] ->> endobj -1641 0 obj << -/D [1635 0 R /FitH 579.958] ->> endobj -1642 0 obj << -/D [1635 0 R /FitH 540.661] ->> endobj -1643 0 obj << -/D [1635 0 R /FitH 510.219] ->> endobj -1644 0 obj << -/D [1635 0 R /FitH 472.368] ->> endobj -1634 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F70 508 0 R /F49 457 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1647 0 obj << -/Length 804 -/Filter /FlateDecode ->> -stream -xÚ­™MO1†ïù>îÖ±½»G ý T5âøU% mõï×ÉnB¶lðŒêSeÖó>óz*¼FCjv£Î*Ò^× Q¨öŽŽ÷¿4GÓÓéQ}1;LÃÖÃ1jÛ¦…W|î#Ë{mir0Ý?>˜vaa+Ê`Ð`Ü:,à2d½è]¯ÓÙä×Ó[P˜‘†”GУº¾Ÿœ]€ºI_*ÐIýY…Þ+c¬6´Ìv§¾MNº¢lËA²|«<€vÖw¢>=ŸÚûˇº±ÖVû‹º1¡º™× €ê´¶º¼{^f‡/IGIÚètî_ÃÛ$éók”6Xí(v(WðÚ„”Ž×ôƒÅš>¤AÔ±õ›Å0·Ž,–vFLµ…õ*ØgÄí ´)ckÖA磺I“‹oejLÚãÖ†^w»ÉˆÙ*ŽpÄÊ _92ü³yå¸qîÿ”[‰rŽvÇÑ^J½“©Ïï™–§¾Ì®iEê1_{ÏRejïóêýVÒ|퉧¾LíIPûå¶Ï?0ä¯V*¢?õçË™úËÔ?Êônþ5mrâØÐ3i¤þ»?JfŒ`úQEc˜@&–À<€I;~ô `×Ù/0"ÆOÿ!€erÀÊ=àx¥zÀ ò´L€B´€]c`Hà9»ç€ÁKò&¡ $9‰xà 0JuBºÀh…ÈE(äB”!0‚B©‰`@ŠuÁ ¡Œ …ù^0†‰P¨Œ‘"ä]°\„B.Xщ„Œ¹`X£¹;U‹ ˆfswæZ.B!Z!£<¡T/x)BÞâ"rdœ¹À›ÎXl.)BÞ…ÈE(äB”HŒ¹`‰P¨,]È÷‚E.Bº|ãÿø >Hî.`ûbgp‡á¢vàRÐÑôüÏV·WwóîR‚´±ïëÆ97¼®p/×]äíâw÷æëâéÇ¢¿ÓXÝa̯Ÿºï–ÝÿLQµx˜?Ôéõ©Æê‘{•óÖ=å¨ -endstream -endobj -1646 0 obj << -/Type /Page -/Contents 1647 0 R -/Resources 1645 0 R -/MediaBox [0 0 612 792] -/Parent 1649 0 R ->> endobj -1648 0 obj << -/D [1646 0 R /FitH 686.127] ->> endobj -647 0 obj << -/D [1646 0 R /FitH 190.884] ->> endobj -1645 0 obj << -/Font << /F73 507 0 R /F70 508 0 R /F8 458 0 R /F74 666 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1652 0 obj << -/Length 120 -/Filter /FlateDecode ->> -stream -xÚ]» -Ã0 Ew…F{ˆ¢X ÙcšÈ)…Ò´•n¥ýÿ?ès(™.ç<€` ;}+P±Jð; B(¢ EpÈ -~ƒK,9]ýÐ7å³rÕWæãLûñ춦Ž™£bêTKlëx´/šm:Íöîúo×<<ï Ž -endstream -endobj -1651 0 obj << -/Type /Page -/Contents 1652 0 R -/Resources 1650 0 R -/MediaBox [0 0 612 792] -/Parent 1649 0 R ->> endobj -1653 0 obj << -/D [1651 0 R /FitH 686.127] ->> endobj -1650 0 obj << -/Font << /F8 458 0 R /F73 507 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1659 0 obj << -/Length 2052 -/Filter /FlateDecode ->> -stream -xÚ­XK“ÛÈ ¾ëWðHUE4ûÝÌ%eg6“T+]Rö(‰#1–D-IÙ»þõÁ£I‘ÎÚãÊ…ì àCèN£m”F¿ÌÞ-go²$³ÒF˧H¤6ñ6‹¬·‰.Zn¢±K\2_8çã÷7ËùB)ß|¸½»»¿¹¿}X>Î]þãÍpŠÄé ö õ^!É, »¾¹Ó>:QÚJ¤^tä 逅ê7/„&lêL|SÁ_ÄŧTØuYçÐi›çÛ§ÀI$^ -æ´Ü°ÎÊø·s~œK·å·bÃCÌkà-ý€7t€7Ì©8¯ƒMÈ6ÝúòûƒÛ‡üsyÜrÛj^zÊ›¦hx¬ÝÕÕy»ë: -Ž² -‘dÆ°¬û²iç mL\=ñ¸#öW{X£„Ÿ›¿À¨êcÁÓOUÍ"_£l;îµÕg¤½¨[7Åï]“ÿßÊíâ[¾ ›×›¢̽H㻹×qÇŦÆû›)ñûmP.éì~ÅJm}ü÷3XXê¶ùj?Hê¸Á!ÇÖÆ9ÒpW5E }ª²:p'?Thkâ±+x%pÖ5ÚG…%R6 ­G%xo‰íýùOirÚç´.Ëâü¸áFÕ0§¬ÛF‚­E\WÀ†ˆCFÔp^–á[Tê†ÛµPù㜠bZ¥ô–sqñ…¨jš±Á>°|S~)7ñ6,PÉ^M©ôTÅTÃJ¡¨ ¦æÁ-xç åµÆÇo·y ¬è^RaDb½ÀMW@RÒrr©r®ŽÓ$#Ž^NÌEPÒ¹²Ó9;-4ؽ`ÝŸÂBÀú€‹sg.0¸@ƒ}(€}%0X[^äMXÐûbÝ^sA(³"]X£êsó¸+Å —c ‰t¾‹ù~¾0"Þ3†ų¸µèÖ°Ê–Wö¸ˆ'û(§&B–ãsxª•“¼˜‡ÈJØ87ňÁ„Z8+,K(Ä@D©U¢d¯Õ_Q8xô³ð{¦’P‰ôª#W}Ø«øë®Ü!½ ±_Hc û\àÌUûXÉ •L2ø9µCŒ‹v'œä¡j ÞŽÂFÞv2HÑ€‹£'r;LcôÆ*¨þáP¸F`¸£è¬´‹Ë§n8¢l é8ÓcCpZ‚àrļ¨4ü‹oE]ñhï*0ö#WÁC8Êp*¸ üÉãqÁSŠ„ö†Lé«­—s±õ`(m™ךã¥+Mé÷©¸7Ž#0€ç²É)tœØ±€Íz·Þ…ÙazÑàÞàG}–ƒ1ì÷vÄ©‹ÛpJ‘CŽ©°f¯$м 'ÂÄ¡ªÃF¼Kv1XòµlwL x*3¡pp²ºà©‘N¸ˆuòqà×é„»€1'b"‡Qi8IßÅÕpG°ØÃΣØTÀªœ Ô0ûÀp\k` (0ƒÑÒKd§¢ÉOu /6çN‚§N¨ë‚'D·>g+(5è€oË/]µ‚]òN˜~„È\Vdƒžð4ª·7þýË,úHÄX¬ŠQ½ » iE‡p"©°ÁËúSŒb„}`¿”ö“×ûQÖw¡òN—ÆšÊkW¦“Þ…læ»<ä]€ópêK¦6LPÜÁº0þ¯J]ZüB…‹seÃq`xÿï‰Ðê¹!(âbÁOÚÊ®>w‰÷þr½¡Ö§£ŽµþržiŒ0Xïyè=Q¡5×l\ô Ÿ¨ŒyÞOçpÀN9Ʋ¶¨ -ÿ³Ûåì· …èï;Z¤p‰Ö‡ÙÇ_ÓhsQâ2}%ÊC¤ ó9J,ûèqö/¾;2‰Ä+‰T–%Þ„«ÓlM™8èª âÝ`X -?Bg!i)Ç~ñ)5éªlø“SGÊÃÅÆECšÇr{,6 Ê,+5ëº<^ÓÙ馭KB²yÙge®-¡3ÿç–aÑór)…\Îþyûð<[Èl¢OÀ÷ì–Åc²±ZƬuäaj>TÞî4Øå"¦ h„ýáe­ËdY’š+ /)‘[0Ô:c,ÂÞªCɆüh»ühÑ–ùq;yK'J(b´|]E¢;r›LøúB*“¤ÙUaôðîñuæ`^e'í+3¨Š««V 9‰–É@+Î&5ÓP¼ÉžÝJy2¤«I³ç윗:㙊Â$š+°î_¥âD¾y[×9Õ4ég¢!»¶ÇÛã„xÎ'©îAš´¼„ãì{Øp¯8ô‰Ÿï¹( ½`—,imŸ'¡H>Š …[Ÿëºg¢Ýë¡ÛÝ롘æÄ cô€åÄ„·^'øÅáÞ~ ó=,Ìk°ð*1Zý4jš¼—„º€WÝN®¿zâ ºR¨QM ù”/ñJçK·ƒÆûw™ÿ#?††|±ËùWž‘X¸x ð -!Pü_†ðrC½—°É„{†ÐCpLâ/…ŸÒTNÅ4éùÐëš±Ã#„]ªß ?¡æ721ÒŒ 5‘Qái“wižú2Çö碙~T©ù®?fÔ#ÉcThûáK>ÜÕ‹)¶ôüÆVPß…UþtÜ7ÝÙ²!î«þq›”T¸Lac€pàJÑã}wÃ= *Õ½4~WÕ»×WÓš’0AšpÊ×b°Dòr­$¬LÒÔ¾ºlœ,–„’‰P¡nüpn_,`»òºûƒhÿÁrØ3 -endstream -endobj -1658 0 obj << -/Type /Page -/Contents 1659 0 R -/Resources 1657 0 R -/MediaBox [0 0 612 792] -/Parent 1649 0 R -/Annots [ 1654 0 R 1655 0 R 1656 0 R ] ->> endobj -1654 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [207.821 489.948 230.292 500.796] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.7.1) >> ->> endobj -1655 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [363.268 489.948 385.739 500.796] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.7.2) >> ->> endobj -1656 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [426.338 477.993 448.809 488.841] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.7.3) >> ->> endobj -1660 0 obj << -/D [1658 0 R /FitH 686.127] ->> endobj -278 0 obj << -/D [1658 0 R /FitH 668.127] ->> endobj -282 0 obj << -/D [1658 0 R /FitH 465.048] ->> endobj -1661 0 obj << -/D [1658 0 R /FitH 446.604] ->> endobj -1662 0 obj << -/D [1658 0 R /FitH 410.738] ->> endobj -1663 0 obj << -/D [1658 0 R /FitH 144.766] ->> endobj -1657 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F48 455 0 R /F70 508 0 R /F11 573 0 R /F49 457 0 R /F14 574 0 R /F83 1265 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1668 0 obj << -/Length 1956 -/Filter /FlateDecode ->> -stream -xÚ­XKsÛ8¾ûWðHUEâAÈe+Žå™Lí$»±jª¶’9Ð",s#‘ %MœüúýiQ¦=ëÊTx5ÐïþšÊ’u’%?Ÿ/Ï~º4‰e¶E²¼Ix‘±¢ÐIa -Æ…N–Uò!5jöÇòן.µ<¦´“VãOóú—WÿZ.ÞÏæRÊT³Ù\k“^¾õÛ"l],^¿»XÐ;gYd¾Xž}9ã˜f ¿g\h¦…MVÛ³dI…Ã_“ŒipúêI·‰T’iN7ÉÕÙ¿'”Ðo%E®™PEïm¹uDh›.gB§ß>ÏæüWéUýÝ‘p Ï ³Ò&sΙÍópùc–g×õ~‡‘{*i˜uŽi®êuãªÌæ\«,½p»UWÞ×mô/›Š&*íÜnßÕ+:ÙysL›AZ¦å3(kž6ƒ²œi’B‚œË7WÁ›Çƒ¥8,}ù¦™ “îÝÚu^ÛllW]WÁ7ˆ@)t>2…†iE^¤o[?ÉÓWM`9’ÎdL˜çÛó ±„dÊðždî6në‚l³¹²"-½$pfX¶7aÜßÎxÜ9Wœzsuèºá™ÂÚtß~¢öü²n*wGS“Þ´]ØsåŠHn§ìq½!=Mê)>± Uç"C:Ù9^¿[\^>æŒ!±Ä$@.=Ï)œVœÂ ÉAñŸ™Q©ÛÅÕ´kÓ÷v\ÃÕØ7æÞ}³L<ÔÄ0ž«ž¤P`©$9 îéý&Tð|9”AI$cݧ™*äXÕ‹×K¤’.ÒU°»û˜ñbU.¥£?gˆ¿rs =ií)u©OYL92ämÝ„´ý^¯çßËuØl»Êuÿ¿£ïÎÿÒÍÇîçV‘EÌž˜FEº¼E¹Ò™F Ù–uS7ë°Ü¸f˜÷s²%ûÛXÏ”eY.žÈÒn¼;êÐ°Ç SŽÒgQ*ž[Ÿ' -ã‚Î õûÌÂe]]^o¼×¥‡«^>.‹2¨kJþV¨_*O”ÖÌŒ°\TÄ -Xçs5ò"u€ dJ®-¤âù)Z( X> 0F‰d{.`èl0”"'›˜ÿ}»x‰óI¼œfY»#h’8r¨°4õ¹± CHAú$ýÔSÓhút¯PÂÕ£,©1â¼²¦j<®9æ6B¥€ROdŽ’œ +~°³ÉYiÑôáú -ü‹,ݶ۲CI•y0+mRð“!Ãi³|Öu×õŸƒBy°;m/gUYéu juë$LÞÿ|–|ðä=ƨ¿ƒhès¡d‹ÛFm·/‡ò㥤Zæ >Wˆºˆ*Ž€4¹Gšh>3®·áHïoÛÃ…ZåÆ[—Ƶk\Wnh½öasÂMæm³ùf×} ¢ÕÆpÉcmA¦]¼sß¡:ågRÄ“H»i©Ä@Ð)!‰æ†£Å¸ –S²ˆ -µÑ0ûÃøÝum˜yŸ`<±—|q?G"ˆú‚fÆ«LDýɾså>ÜDŒ›ÞM>„é>„?4ý«Q¦ í±t= -žèr„Ÿ”¹#y±÷;6ŠêÓqœëV°L‰”È”ü'r] ÿµZ=‘ëÖ0e"EÁ R"tãºó»OOïNµwq·G+èÎBýnïïñÞ?}×0)½b²`CÊ_*!2Ë™Y´‹ñ{2CUÐ׌ÐB)ŸjÆø ‘˜r¤8!’SD2‰H¿fQFŒåLÍØKB†"}ù8¸Ä·‹ìÉu,]œZ­“fUEæ2277sž?Á=ÜUoébŠ=Gdæüyü‡¶^òÈ_(DM>æ2œ«\¥¶ÖFWÿê«Ìæ/ú®<6O›MØ8Ió“´~<ð…LA…gdoöØ*"7Ld*Á ^e±GÔøw‰”ÐW)uŸ¦KúJ;Â4]E€ŸªFÉœ:Q ÷à àù WñÑÆòja<ê*ÃF„RÌÚ&Þ‰ÕvôLËUÙ$Åüzø…˜l·®ªQ¾ ±hã¦ÝÀè¸úÕ+RM`|ÿí>^ÑØe¨ö¾Ë‚[EŽ¾Æ7_Ar:ÝÅV|UjÒɪÜùïYºÚ¹HíVn·óýíïã#înïš*îÝFÚ®lÖ.ìùvTØx†myWoI¶ÃvI|5ÅAÿ &UD-쥽Eã—CÝyŒQñ»´W.øàñÖJQ€Æ'z+…Ú7h;]E)€ü®\4NS…°Çå6r -09ˆº›RÇ㦉êK›¥¿´ÔQ£° Ý’½Ìozdqlãþ®»ï&éŽÿÿÄ•QÀ.2j#mÓ¿éÿº³ørDü•æý´Ñ‹ëîÊíç‹WÊÉÞ+³6Ñe:4I4®ÃÕÌ1puàé¦Í½0˜—ñ•§Þ%=|›ž·i|¹i½þÚéï†çUÂÚÈÌF`”Àœz=«ºë­¹Ú#%QQ4…Ca°±0`D2ñ”º…´ $xœŽ‹…Š]‹;#ɦ**íÿ¶œb1 -endstream -endobj -1667 0 obj << -/Type /Page -/Contents 1668 0 R -/Resources 1666 0 R -/MediaBox [0 0 612 792] -/Parent 1649 0 R -/Annots [ 1664 0 R 1665 0 R ] ->> endobj -1664 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [391.072 396.853 410.776 407.701] -/Subtype /Link -/A << /S /GoTo /D (table.7.33) >> ->> endobj -1665 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [329.909 153.114 352.38 163.962] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.2.1) >> ->> endobj -1669 0 obj << -/D [1667 0 R /FitH 686.127] ->> endobj -1670 0 obj << -/D [1667 0 R /FitH 668.127] ->> endobj -1671 0 obj << -/D [1667 0 R /FitH 524.607] ->> endobj -1672 0 obj << -/D [1667 0 R /FitH 488.742] ->> endobj -648 0 obj << -/D [1667 0 R /FitH 216.171] ->> endobj -1666 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F14 574 0 R /F70 508 0 R /F11 573 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1675 0 obj << -/Length 1605 -/Filter /FlateDecode ->> -stream -xÚíYKsÛ6¾ûWèHMC {k»ãvwµ;J‚,Ö©!©$ίï R¤DÙqv§Ó‹,Åî·ìÂtt3¢£ŸO^MN^žk1JH¢¸M#F‰U2R±"ŒëÑd>º -4Ñdj¯O'ãPœ^žŸ_œ^œ½™¼¿›üòò<îpDG œáöÇÒ.9¡þÔQØ|¹†=WUu±‡7A£Hð`‚gÈ Üæ8øíÏ·“¸pYØmÜÞ÷c®SÂA…“t}BÆH"%ê`%·ðØ󅈂)ð]‹¢4Hp*ÙN%·t±÷eQ¦kCúˆ1N˜Ö€#\0<‹í­¹ -%¥ÁÅÍèîìÁ9Q‰hÌ1¹üõìÍ¡Ñ"I„fÍ¢¬Biè /­ªì&à-)‘¢å}vùjÐ`غC«éû±”AºÚúé¾B!“œH¥`åæƒZ_ÏòCV™È*BA3¢eòE(°§Ca_ÁSF”à=ij ÀŸq? ->¢gAü¸ï§”–D= ]SISøÆ$üä>úSD”‡Ó̧ŽmnÁ5þ{–ÛäS›À…¥ßT (Ä”Í`O‰Ú¥åƒpK¨k!–DAصzLéñÓ=ŽûŽ`Ï8 RDï69€ÃUÖzãŠ9"«Ëæ10–=Êgñ­è~ßb_â\âßç\ò¿é\ñç:—zç’ßÁ¹¢ÿ뉜‹©‡½‹5ûîu(ØÀŽ¾Ä­Ô¾[%ŒPžâ:dßä>Ô -ÈÏp«ø¸[ÅDHñˆ q¸úŽ åüA—Ò*ê!ËDðÉ”…ÍL¯¹ÀpšÉÇp¯ ä ÃÀ¼]Û¿vt>%~p -ãÐt9òܙIJY!af·ÜzShÚ5E¤ILÛŸþ}(!0À5½vªÚ:¦Ë¦C‚:¬˜Š•-ÿÉÅ,&ª5ôÕ€£ºWÄ„PÝÆí;¶2•†z }(†EtàO4qí[70âÁP=Ǿ‰¤20éÌöžKœu³ uñ¡.1ÈJ[Ÿ¨”a”Ä»àX”ÅÚ¯é>pA¸Þ±ÉØ0"eÜs,ª%œÓ²{EÚïÞ¦–°=£õ%£µÇO³!£%£ Ù]BËr/TÖ/U×î !FË¡5>Ù¬A{н@”Æšõ³tBu3“Û$äys 4AÚÓߴƯý h¬Pãc’ÄâÑqx þ|és6¸VÿÉ|ýq@ÃÖH?©G1>’Ib¸aµè»c_£æwªtø³h¿ÒiÁ5¥tª]1ÄÚ"hï4W EöáÎõO—ý.Æa$YpZ¬7iM³‚wC9Q’8ÙÞi›päa&oï¾)sœ› -§yQã`[¹½IRmpå,KWHiJ™rSš: ÝsbØÈл묰wŠöw°Ž\¤±>W&¿©—H”q}ÍdMñ½8‹í_‘Õ榣ÌÀuèPl°=CS‚Æ9\½mŽ®¶Ô³(ëæ<2¥ŠN÷8 -²­S«ø*ÌmmÀ™WØ×X¾ð°õ‰æ[7PÁÚ&W¸YóÅÞ7ö7ÅŸe -‡;ÎHͲ¹A‘’å~ßÒ3p/»igOû¥‡Ngmå'eV×î9Y+åûœIópèqؚџGÀÖF¥µ—î™Yïž™cÿÌÌ!¸Wb†·µ;nEw„A¶Þ¬ÌÚk˜Zî~Xg`mTÛNÑ+aPšMé LgÆ3©‡D]¤Y½\lW«»1ø{*—Ý¢$ -¦)Ö{K9¯<ë†äö»j€®¢§;û»sW„—¶žbÍ Ë‰ äp)²9’²Úó4ݸZÝù Õ N…oÖEUcžuOíH¬²O¦êÔ™Ø_øi3X´R§ùØ|M$ŽöJbÿlºNo³üÆŽmw“›iygÑm[Ç9u•|`®)S³ <&.Èd0'QPÜZŠÉ‘ôÚù4æCw·E ÚO¹È7[Ë dÚ¤%ÈSU¿Ïk~Ï&'ÿ’fE¬ -endstream -endobj -1674 0 obj << -/Type /Page -/Contents 1675 0 R -/Resources 1673 0 R -/MediaBox [0 0 612 792] -/Parent 1649 0 R ->> endobj -1676 0 obj << -/D [1674 0 R /FitH 686.127] ->> endobj -1677 0 obj << -/D [1674 0 R /FitH 640.781] ->> endobj -1678 0 obj << -/D [1674 0 R /FitH 619.194] ->> endobj -1679 0 obj << -/D [1674 0 R /FitH 599.543] ->> endobj -1680 0 obj << -/D [1674 0 R /FitH 579.893] ->> endobj -1681 0 obj << -/D [1674 0 R /FitH 558.25] ->> endobj -1682 0 obj << -/D [1674 0 R /FitH 542.031] ->> endobj -1683 0 obj << -/D [1674 0 R /FitH 524.373] ->> endobj -1684 0 obj << -/D [1674 0 R /FitH 503.283] ->> endobj -1685 0 obj << -/D [1674 0 R /FitH 487.065] ->> endobj -1686 0 obj << -/D [1674 0 R /FitH 469.407] ->> endobj -1687 0 obj << -/D [1674 0 R /FitH 448.317] ->> endobj -1688 0 obj << -/D [1674 0 R /FitH 432.098] ->> endobj -1689 0 obj << -/D [1674 0 R /FitH 414.44] ->> endobj -1690 0 obj << -/D [1674 0 R /FitH 393.351] ->> endobj -1691 0 obj << -/D [1674 0 R /FitH 377.132] ->> endobj -1692 0 obj << -/D [1674 0 R /FitH 347.519] ->> endobj -1693 0 obj << -/D [1674 0 R /FitH 327.868] ->> endobj -1694 0 obj << -/D [1674 0 R /FitH 308.218] ->> endobj -1695 0 obj << -/D [1674 0 R /FitH 288.568] ->> endobj -1696 0 obj << -/D [1674 0 R /FitH 258.942] ->> endobj -286 0 obj << -/D [1674 0 R /FitH 173.942] ->> endobj -1697 0 obj << -/D [1674 0 R /FitH 155.498] ->> endobj -1673 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F70 508 0 R /F83 1265 0 R /F14 574 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1700 0 obj << -/Length 1491 -/Filter /FlateDecode ->> -stream -xÚÅXMsÛ6½ëWðHˆà`.Å–]§ÝÚšÎtâh‰VØÈ¢CQiã_ß]€”H‰’£8žð)ûÞbßi0 hp>x3¼:³ABÍu0¾˜¦Dkh« ã&Oƒ÷¡ÕчñÛWgF´w&”ˆÄÀcÜž“Ÿ‡¿G×Q,„ ‰bclxv=|7òS§£“«Ó>g@ë—ƃÏ]°Í‹µ!†'Áäaðþ ¦°ø6 ÄÀ›þv[!1 8n¿÷a<+ÐÊ.µ?ßeúÁI¸IÂqÄMøõ1Š¡qsL†7ùS†‡ µ$I3F¥üo©¢wyµ„–¹] è´÷Üä³E6ý)Š™‘4<Í–“2¬òbáãOSìÈ°Ì–U™Opeéàè‡A$Ĉdbà “2m ¹%pÎñÕ/£KÏg3ÀŠV5›‹ˆÛ°ÊfYÅJK*€‹+^®£ÂñGÄ:Uñ 7g ?¼ƒuå‹™O³IᦦÙÒB1 -?Í—l™ªxì|ÚjYy¸îÖ4Á ¯Á¬Ü»¡S¦‹Y½f|LH J‰eë} ähã ÍLnE³]0â·t@…|¡„C_¾¹9S˜ -Ý*ƒ‹*û®ûÙÊ¡Rc[ú…âÞ·wsð·|ZúI´é~ ïK¸½!r -·;ÄñÅQ!âkiý„úË2Å _Ý"TmTÐÞ`¶ñ.zŽg»~g/ò\iY³%ÎæÙCæÏÅ2áaêNUÀIl« }ˆ%#ë2Po²*Ëõct’´S‡ùbšýƒ]Þ¥ŸËRGËÇ5¢]â0±UŽN®FggûÈXg;?…@ÞGŠê%…ÈNac˜¥ vüYfËzÔO 'fƒûš&»ÜØ }·”òÝH,aJ6[´„WJ¤= o\zÞpåó*õABŸÖô"µè†zz2†KatXW¤ì–2=É×”âÒ—ò/¯0N;"…QžHó-DúÒäk• ŸòYü”ÎüdQN³²&ÚŠg‰¾ËŸ#yoQQÍ%Ò¾¨H¦šüÄ®Ëxh«f­“Û8±Ón©/ES“7Uþ»B­Ž 5©?Rw˜:ãhEÅh‰”# ûåWš„€nkBzÔž¥8±¦FëjU=®ðLV„)à*+—¯œ´[ióB?÷IŠ@2K¨•C^ëC¢(9‰!âÉŽ!’`ˆà2å‰$¨¹2öÇx"a‘a~@Ú4d)ãÏI›zNÚÔ1ÒDQ©¾[Ú8¸›–´áЕHhÛÒÞ’É-uïÞ#Û7‡¹£ ²ƒ…XBŒð•—^*qL¦U·ª\îÓ¸ÿƒ+ˆ’ò»Y±,i³b™EV¼JI¢¡Âu+¡/É0° +7Je|†åbµ©× 0ÿíBõ t<ã8ºlüGŽað®Ãìå'Ù¸ü=®C ?:è:…hLÛv… -2Íž€lqÆVÐvÄžH¨ñŠËmIC7+¡¼óÀÎç¡DÇyô€æéµjsÛÜhÛyà*2¶k烢Œû,y£Ñý—@ ®ÌÑAîAYÿÚ?¢b-óônîŒмZfÓ:·“pÃ^¦ƒ®Ê+èØTÛÖAx¬uØ~ô$aMw¹–Bp·Ê¼äÓ€@cõ”%þñ£•Ðö!³jcOn.Î/ »Kl»% ¥!Û¶[Ch 0…i†}0Vù$­Ü¿»b†%`à{N‘ÚKméqŽÃ€aÚ¾L½‡øË×ûƒwCÜrÑ$@m7ŽÑÐ^÷‡él‘W+T;e©;0NWÍzÇ]º‰Öáâ1> endobj -1701 0 obj << -/D [1699 0 R /FitH 686.127] ->> endobj -1702 0 obj << -/D [1699 0 R /FitH 668.127] ->> endobj -1703 0 obj << -/D [1699 0 R /FitH 464.831] ->> endobj -1704 0 obj << -/D [1699 0 R /FitH 428.966] ->> endobj -1705 0 obj << -/D [1699 0 R /FitH 261.535] ->> endobj -1706 0 obj << -/D [1699 0 R /FitH 225.67] ->> endobj -1698 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F11 573 0 R /F14 574 0 R /F83 1265 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1711 0 obj << -/Length 1824 -/Filter /FlateDecode ->> -stream -xÚÅYÝsÛ6 Ï_¡Gù®fùMªokšìãnémñ¶»¥}PlÅÖÕ¶2Inšüõ Ê–eÙYÅ}/¼ÜV‚1Ý#‡ådÀâ -‹%¶xFÐɾ¥ã»ól9­gžPàa¶ X9iØ m±Ž~U¹£Ë&øåÁª2knŸÄÙæ®$fƒ×žÇW…³žh#­‘Æ#F'¶Ë"L®œÊ&ž¤¸Î„›$½×&L9É‹€Ô‚½óWϳ{ÝÅæú˜ø ÎçwØÁz”lÝot:Î"„ŒïaÕ7AøxÊÊgËè߶ä‹ÑÙ_ÁðÙÚ±)#“,/În>Óh“À˜˜ÄDžt Þ‹¹…óèúìô’m÷Æ'VšHiN´²(­¿oÍA D¿û+7â”Æßê2Å©÷¹s>~ôjµp‹nh@1-!9HDóm\Îû]™#×ÚûÝ6õ‡¬—9X8Ø°C§©S¼‹ŠLì PàK„”wþ:„ŽÁP*cᜒÔ1Ã`û´cŽ"Æ°&Z¼´ÁFC³]˜ ÜŠupqÎ`¼žeà66!×6áLU7mƒtúÕ¤Ó¶6 ÞŸ;vºG¦$ÈD×2 µÓ…EN%¬3 …l/A5d[,m‰Ð¶‘ë¥tWvÓŽÚ Cf `f[JÆvx¢˜œô]eÆ_ED~PDx²ñÔÏðyÊWá)òT¯ÂSõòlLN¿ -O}POxò“ò4=w^-ù±þ¨Ñ!Ñ„ÊŽëf6è NªCrb?¨D”'Uîk÷eþÄËÔk÷@ŸI¡¼ãhyã6ÕIÕàìÔj}PÆëÓº9sj5´íU#xî"‡¸ç¢O’“¹”äÔz({جºa‡‡Èøq™uÓ“»b™1¤o˜OpþÖeÉ=ÚsÈ7VÏko»1œJI»ÁJIG^œb“`W(XGÜæO'Šl÷ˆl 5/rk‘±¼x7ÖÉFäY™µà­öã+k$‘›Tï%øZN8K:Âvƒ¤ -Â^ú¿ -«²#ï`³cûÀ…üÑÈ£À…¼ŸwíÁtäÕ¼á/øsñ,¾Ú­Å‘Æ ︌n0íuYÔ®Mß3òé»îÙZ "µ>Ò‹$ÿÈX8«ˆJÔ1XZð~ð?mûìwbzŽÏ*¬ÛÛý•¡ûÐ4ÇnmþíÝOÀAs œ ÀIÙ6œ‚vrÕÿ3ðÓd‡²ûˆfRtœž`K)N~)eøÇÏO}'Å~'ù‰w<šþ—Œ0þ¢ÊWSI붻µŸ⟈8œ«á71_€ö ¹Bó;WX–=,¬áUOí:ÔÒÛ¥½ÍS$6ÒýSäœ$,pÆøêê‚o¿À÷æ4ì>·K­~(<¸µ3W·u=|Y€Noýù Œ)_àDªŸ»aïêcèÜ–WœŸî4Àš±‘ rí«ÑÐõru „„B³‘{ß5Üœ -0r³1>c˜uÖmäkÎ0‡Z#yjIà6ƒácÉÈ«Y±šOÂvȺ¯àS§ë3t5`ÿÂ9} -ЛÊnS-.š¢2H6Ëðe§¢œWo\_Æi…C¨V>äU(5硽À'ÄÚvV.òPí¾]áËDØ‘†· W˜õ¾Ü•Åm2_â*¥âtžOæM>T.'qŸ”ÝÎuEzí÷í%ø‚–o« .å5$á¡®ìŠù=÷^À…Û¤ªV¤¯¦›¸ÑÞ øã…¥™åÙ:•“ˆ¨ë™ŽýÌÃâf¶Ùd\ %æÈ.¼xÊe Æ*kÊ8Dt3ø§|:|J§xaéý½»þãUtâ‹ÕÁ®&8>OkVÐõfíu6^׳{_¶`Hx÷i ˜0Üã!¯gØëãè;.ð«ˆVÃg -endstream -endobj -1710 0 obj << -/Type /Page -/Contents 1711 0 R -/Resources 1709 0 R -/MediaBox [0 0 612 792] -/Parent 1714 0 R -/Annots [ 1707 0 R 1708 0 R ] ->> endobj -1707 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [399.229 643.276 418.933 654.124] -/Subtype /Link -/A << /S /GoTo /D (table.7.38) >> ->> endobj -1708 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [332.758 116.695 355.23 128.65] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.9.2) >> ->> endobj -1712 0 obj << -/D [1710 0 R /FitH 686.127] ->> endobj -1713 0 obj << -/D [1710 0 R /FitH 573.54] ->> endobj -649 0 obj << -/D [1710 0 R /FitH 220.797] ->> endobj -1709 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F11 573 0 R /F14 574 0 R /F49 457 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1717 0 obj << -/Length 930 -/Filter /FlateDecode ->> -stream -xÚí™ISÛ0€ïü -¡Ú—Þ($”.¤¹“˜àâN–v†_ßgKqâ%a ž)¾ [~yzë'acoìaïdïÓ`ï §=ƒŒ¤ÒÜzDb$¥ò¤–ˆPå FÞ¥¯uçzð堧غ¤Áˆj2™£Ï‡?ÝóNÀóêJi¿w~ø½k§Ž»Gýãnªg»Å‹+D`$¸ôª`’Yµ£h˜tªáâC'àDúádñ³f0öC{?oîÝÌ}úå'¿‚Åo;3O¬ÐCè&ãqðŽíl<ÅÃhfŸŒ§Q8¦©©`f@2BXkæwáĺ#Y:r«îC;ÌÂÛÈ>p& ÃyœLPÁïÌC©8Œ)n¬nRº szkCR«PQŠ¤aËÈú_»gVj=ž\ ¦ÈR(ž¹Ì|,™"äYƒ›iáò}…ᩳè< -GVW<±®:ßYpÏíåb2‹Ç“hdŸƒ$p!¨6XΘóoݳrh K‹iÅVæÜl2çp–.µÒçÒrÙ©?%s¿pYIUY)J©¿o’ê.ÙQÁªjÆp“½Žf~2µ -£p˜z|gïÀáLHo—Q…×’½”®ç’5ÿYM'ÁÓ¥Àí4yp"¬Xœó\K\«EÁÕR"±&¥žÕ¨#™íê4$7j? l&CøšHȼ¯0ÆUE*ë'’åºr¨­Ô -ñãñ!ËÕVà´¡~·×»¨íbr.ëB‡”ÌÕÜÔ¸ -W*·ðú²&‡à&ÛR¨Æyì¯3¾ÔH$t™2«âyñ2ÿ1š&åv!Q)ª…:z¢_ª‘úRœÇhpZFXLêWŒ¢u˹Ë×zµ&ÏÍÞغ5FÔ¡Š(81EvÒZŒ÷ÁÉéßx–nb:ë°®`7æYX×e¬ D1ÜÙ¦_ÂuÙr½åzËõ¹N[®7ÇuÇNÖ×Í˹¾±0¸A’ë¦Z¬ ¢Øb€Äž®¯lžTò ü$Zî¾ù´Í´[3U#/12ÔT16|Nµb“oZg›ÊUpD„zÊAý¿„¿òb0¤*â7‚.‚[ví®ê«XO›XyHÝNfˆªö_K¾7%kÉ×ùD3ä#-ùv>µÑí§¶–]-»Þ»d3ì¢ÛÙ¥Zv½ö©n?µµÿ¯¶ä{'äspQͽæ7”ІŸÔ;akßNÒ×à¥ï'§'¥—’˱;ØûõÕ -endstream -endobj -1716 0 obj << -/Type /Page -/Contents 1717 0 R -/Resources 1715 0 R -/MediaBox [0 0 612 792] -/Parent 1714 0 R ->> endobj -1718 0 obj << -/D [1716 0 R /FitH 686.127] ->> endobj -1719 0 obj << -/D [1716 0 R /FitH 640.367] ->> endobj -1720 0 obj << -/D [1716 0 R /FitH 618.516] ->> endobj -1721 0 obj << -/D [1716 0 R /FitH 600.153] ->> endobj -1722 0 obj << -/D [1716 0 R /FitH 584.28] ->> endobj -1723 0 obj << -/D [1716 0 R /FitH 558.943] ->> endobj -1724 0 obj << -/D [1716 0 R /FitH 538.587] ->> endobj -1725 0 obj << -/D [1716 0 R /FitH 517.291] ->> endobj -1726 0 obj << -/D [1716 0 R /FitH 500.864] ->> endobj -1727 0 obj << -/D [1716 0 R /FitH 484.992] ->> endobj -1728 0 obj << -/D [1716 0 R /FitH 459.655] ->> endobj -1729 0 obj << -/D [1716 0 R /FitH 439.299] ->> endobj -1730 0 obj << -/D [1716 0 R /FitH 418.002] ->> endobj -1731 0 obj << -/D [1716 0 R /FitH 401.576] ->> endobj -1732 0 obj << -/D [1716 0 R /FitH 385.703] ->> endobj -1733 0 obj << -/D [1716 0 R /FitH 367.838] ->> endobj -1734 0 obj << -/D [1716 0 R /FitH 346.541] ->> endobj -1735 0 obj << -/D [1716 0 R /FitH 330.115] ->> endobj -1736 0 obj << -/D [1716 0 R /FitH 314.242] ->> endobj -1737 0 obj << -/D [1716 0 R /FitH 296.377] ->> endobj -1738 0 obj << -/D [1716 0 R /FitH 275.08] ->> endobj -1739 0 obj << -/D [1716 0 R /FitH 258.654] ->> endobj -1740 0 obj << -/D [1716 0 R /FitH 242.781] ->> endobj -1741 0 obj << -/D [1716 0 R /FitH 224.916] ->> endobj -1742 0 obj << -/D [1716 0 R /FitH 203.619] ->> endobj -1743 0 obj << -/D [1716 0 R /FitH 187.193] ->> endobj -1744 0 obj << -/D [1716 0 R /FitH 171.321] ->> endobj -1745 0 obj << -/D [1716 0 R /FitH 153.455] ->> endobj -1746 0 obj << -/D [1716 0 R /FitH 132.159] ->> endobj -1715 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F70 508 0 R /F83 1265 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1749 0 obj << -/Length 731 -/Filter /FlateDecode ->> -stream -xÚí–ËnÛ0E÷þ --e´špø²»4µ ·¨$Ú¥Y8â -(RÀvZ __ÊzXŽäÄNÓ*n,¦†ÃËË9ÂYÀ‚Qï}Ü;’,XÍu_È4mm4 § ¾ ÎB‚~DdÂGq?B„Gǃáp|4LâÓþyüñ`hjQÜ iÝ«ïͦôX±jù "Á ±AÄÉ}+òÙ_˜bî7> -Î"ÅX8¾Ê×?&Ù› ÓE>ò;™ÿx›¿N‹tv§å²¨í-pe^«M´¤/]V¶šuVL¨ËÄ´)'\¤ÍîªýŸ·…P „*g,[BPÈ«ùΖߒ|×?ûJ‡Óï7I>.`S¬-NYÔÀ­•ýºMÙc{þ+]$÷‰h5HkwÒߧ!= Wß¡¬§oÀº¥X)cÍàT÷xã8× ¸hžÀå¶8ܦ¸bÀYåÇxÜ"7Ðk±Á²wkµ‘Þ¦V[Ó3h†¾“—‡oò6̯X^šß¬¥Oö–^Z`V–ëN¶¹]I@E¯Fþ†×Q€±ä^\ÕáEч]ªLzÕ²#B U­LZ Œ êR”@ùËÉá*7´k3L·™á$™^50W£‹t™Ü\gFIŠÿÓë>7á2™¹cÂp^Î5¢n Å@)ÑôåÀÝs)Õ«qéq×1î¤ÇÇÇÝw¶Ü)»—;åq×1î”ÇÇÝëÅCfwÈþ‚wÚ]­‡áN{ܽ|Üi»Žq§ïÆñ¸ë -wäq× î°ÜÑ‹ÂÝCR™ç3Ë4>fŒne‚€Œö CqAªˆŽ6,*2‹ª‘²hÅÒµË*BÊVh\ØZ6»TJß´vÅÁìÜ $¾ø'½@û•sö— Ûns3™p6Fýgî>ç®^-Õwö®@K㻂=º‚’¼È;i Ìmï²+(Ÿƒ¸÷@(vá -endstream -endobj -1748 0 obj << -/Type /Page -/Contents 1749 0 R -/Resources 1747 0 R -/MediaBox [0 0 612 792] -/Parent 1714 0 R ->> endobj -1750 0 obj << -/D [1748 0 R /FitH 686.127] ->> endobj -1751 0 obj << -/D [1748 0 R /FitH 668.127] ->> endobj -1752 0 obj << -/D [1748 0 R /FitH 653.633] ->> endobj -1753 0 obj << -/D [1748 0 R /FitH 637.595] ->> endobj -1754 0 obj << -/D [1748 0 R /FitH 621.558] ->> endobj -1755 0 obj << -/D [1748 0 R /FitH 603.479] ->> endobj -1756 0 obj << -/D [1748 0 R /FitH 581.872] ->> endobj -1757 0 obj << -/D [1748 0 R /FitH 565.281] ->> endobj -1758 0 obj << -/D [1748 0 R /FitH 549.244] ->> endobj -1759 0 obj << -/D [1748 0 R /FitH 533.206] ->> endobj -1760 0 obj << -/D [1748 0 R /FitH 517.169] ->> endobj -1761 0 obj << -/D [1748 0 R /FitH 499.09] ->> endobj -1762 0 obj << -/D [1748 0 R /FitH 477.483] ->> endobj -1763 0 obj << -/D [1748 0 R /FitH 460.892] ->> endobj -1764 0 obj << -/D [1748 0 R /FitH 444.855] ->> endobj -1765 0 obj << -/D [1748 0 R /FitH 428.817] ->> endobj -1766 0 obj << -/D [1748 0 R /FitH 412.78] ->> endobj -1767 0 obj << -/D [1748 0 R /FitH 394.701] ->> endobj -1768 0 obj << -/D [1748 0 R /FitH 373.094] ->> endobj -1769 0 obj << -/D [1748 0 R /FitH 356.503] ->> endobj -1770 0 obj << -/D [1748 0 R /FitH 340.466] ->> endobj -1771 0 obj << -/D [1748 0 R /FitH 324.428] ->> endobj -1772 0 obj << -/D [1748 0 R /FitH 308.391] ->> endobj -1773 0 obj << -/D [1748 0 R /FitH 290.312] ->> endobj -1774 0 obj << -/D [1748 0 R /FitH 268.705] ->> endobj -1775 0 obj << -/D [1748 0 R /FitH 252.114] ->> endobj -1776 0 obj << -/D [1748 0 R /FitH 236.076] ->> endobj -1777 0 obj << -/D [1748 0 R /FitH 220.039] ->> endobj -1778 0 obj << -/D [1748 0 R /FitH 204.002] ->> endobj -1779 0 obj << -/D [1748 0 R /FitH 187.964] ->> endobj -1780 0 obj << -/D [1748 0 R /FitH 171.927] ->> endobj -1781 0 obj << -/D [1748 0 R /FitH 153.848] ->> endobj -1782 0 obj << -/D [1748 0 R /FitH 132.241] ->> endobj -1747 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F83 1265 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1785 0 obj << -/Length 689 -/Filter /FlateDecode ->> -stream -xÚíYMsÚ0½ó+|´§µ¢Õ·z£‰¡i'!“øF9@1Ô3:¤é¯¯Œlc°)´“„BtA¶¼ì>=­Vo$ìM=ìu[ïãÖEGyiA„O< !=¡"½xìõ}ƒAüñ¢#iÕRcDµ4nV6—Úwqt„”R_¢ ”RùûöMd»®¢ËÞU”ùiáü8÷‡ßó×Ì[: !þ›¬¡¾Î"l «hÄÍxšë‰ òpݽµ£MóÑþJæßßæŒYÈ«ùeº:¿ PÎo/êt¬]uºG IaÕÏ ª‰BešŒÒº ó$ua0hrÁ§¼°X6¸PˆC b°Á9Ë8Î󉩱kò¨®ó›ìâ·g"̦‹d•Z ¦õY1¹ú°*|…´ … â0®;—H²_ó’3éÏhZu&›MIÙ³ôêä\L•CŽ¯˜…„zBâÿÌÚ6º -k/„®,4įS}™q_[Ó¿g^#ÁJä·»òž3\î :úkùn(©²„kRqÒIؤ0«¬RïStÛXk¨,k{±-€~· ØEÍ6ÁeÙ0> endobj -1786 0 obj << -/D [1784 0 R /FitH 686.127] ->> endobj -1787 0 obj << -/D [1784 0 R /FitH 668.127] ->> endobj -1788 0 obj << -/D [1784 0 R /FitH 653.743] ->> endobj -1789 0 obj << -/D [1784 0 R /FitH 637.928] ->> endobj -1790 0 obj << -/D [1784 0 R /FitH 622.112] ->> endobj -1791 0 obj << -/D [1784 0 R /FitH 606.296] ->> endobj -1792 0 obj << -/D [1784 0 R /FitH 590.481] ->> endobj -1793 0 obj << -/D [1784 0 R /FitH 572.672] ->> endobj -1794 0 obj << -/D [1784 0 R /FitH 551.433] ->> endobj -1795 0 obj << -/D [1784 0 R /FitH 535.064] ->> endobj -1796 0 obj << -/D [1784 0 R /FitH 519.248] ->> endobj -1797 0 obj << -/D [1784 0 R /FitH 503.432] ->> endobj -1798 0 obj << -/D [1784 0 R /FitH 487.616] ->> endobj -1799 0 obj << -/D [1784 0 R /FitH 471.801] ->> endobj -1800 0 obj << -/D [1784 0 R /FitH 455.985] ->> endobj -1801 0 obj << -/D [1784 0 R /FitH 438.177] ->> endobj -1802 0 obj << -/D [1784 0 R /FitH 416.937] ->> endobj -1803 0 obj << -/D [1784 0 R /FitH 400.568] ->> endobj -1804 0 obj << -/D [1784 0 R /FitH 384.752] ->> endobj -1805 0 obj << -/D [1784 0 R /FitH 368.936] ->> endobj -1806 0 obj << -/D [1784 0 R /FitH 353.121] ->> endobj -1807 0 obj << -/D [1784 0 R /FitH 337.305] ->> endobj -1808 0 obj << -/D [1784 0 R /FitH 321.489] ->> endobj -1809 0 obj << -/D [1784 0 R /FitH 303.681] ->> endobj -1810 0 obj << -/D [1784 0 R /FitH 282.441] ->> endobj -1811 0 obj << -/D [1784 0 R /FitH 266.072] ->> endobj -1812 0 obj << -/D [1784 0 R /FitH 250.257] ->> endobj -1813 0 obj << -/D [1784 0 R /FitH 234.441] ->> endobj -1814 0 obj << -/D [1784 0 R /FitH 218.625] ->> endobj -1815 0 obj << -/D [1784 0 R /FitH 202.809] ->> endobj -1816 0 obj << -/D [1784 0 R /FitH 186.994] ->> endobj -1817 0 obj << -/D [1784 0 R /FitH 169.186] ->> endobj -1818 0 obj << -/D [1784 0 R /FitH 147.946] ->> endobj -1819 0 obj << -/D [1784 0 R /FitH 131.577] ->> endobj -1783 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F83 1265 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1822 0 obj << -/Length 924 -/Filter /FlateDecode ->> -stream -xÚí˜KoÚ@Çïù>.j™ìûÑ[šBD«©á–r Á¢6H@Z)Ÿ¾³øÁ6BJH}‰×d¼;þÏë44¸8ùØ99m8pšë 3Õ`µ ´ÕÀ¸ :ýàš0P«cɧóN­.„ ç—f³uÞj´;WµnçóiÓfvA 0Òáóçó&'4>5¹uA%P˃:7ø¬ˆ¬¿SEoñÏòCÁu]QJΦÓÑð!òáëYrÝÌîÂhñ«¦éýxŒoýnÞÐzCÎ9yç/‚hç€å3ê 5xQ \¸Ó/s§5ˆN¹j]´ýJ’Ñ4úä)œŒßGË^äó\%%#6sÀ5KdškZ ¦TÀ\jud£ÆÁh›ÜŒò[àʤáèm¡@ •XÌ -¶° O·X]zÑuFô829u&\¬¯Zè–é{‰'L~¦á&)éÜVJòMJš×¡äü9&³î[pxM„£4¿¹É^œø«qà\‚.ÊsÌf,ò µ—ý’6}åN«@yfñ$·Ç^/Ûª{ÙJݳ{Ì‹L«á$ße4CÁD¾†Ï—Þ–©çí²ÄW˜2ÿü¹„Ǭ±¾V.²b¶i9£AÁ;e–¾Òå—F»°Ù“¶íd.pña5(vE'#çô"z;&Ãnãļ¢qò„WF&5FƹRâöž\)Ý”©÷-ìõãaÆê7£YôÉãƒW6Œÿ?zðÝsÃIdÙ›.¦ýŠ#%àpûRà`±žåq€£`p[$=±½õ ƒZuYÐ6©ó¡îïNç¡>zX/çê¹IhŽ›gD.\rlo2Ÿòáß´-êd…%øÀóø@Að|ì…Þ*„xB؃ „Ü!š5+Èx>Ö, {·þëÚ]t·ôýÙ’q컡Y©Ð¯´GÝÇaŒÁdü³({®\ÛéX›vºÙØ;äæïU°Ó8å¦Æ¹ø²=/.M˜WȇIÒòñ€©¯7–”_÷E]Û.\íF’ùCCÿ3‹G}3p*n+c×óG®ãXຂ¬c£^AÖ‹ÈYAÖ›ƒ,QAÖkƒ¬˜cpyÆRk+À -²¶,^AVYo²ÄZ*¨ k¯r¾> endobj -1823 0 obj << -/D [1821 0 R /FitH 686.127] ->> endobj -1824 0 obj << -/D [1821 0 R /FitH 668.127] ->> endobj -1825 0 obj << -/D [1821 0 R /FitH 653.814] ->> endobj -1826 0 obj << -/D [1821 0 R /FitH 638.139] ->> endobj -1827 0 obj << -/D [1821 0 R /FitH 622.465] ->> endobj -1828 0 obj << -/D [1821 0 R /FitH 606.79] ->> endobj -1829 0 obj << -/D [1821 0 R /FitH 589.123] ->> endobj -1830 0 obj << -/D [1821 0 R /FitH 568.025] ->> endobj -1831 0 obj << -/D [1821 0 R /FitH 551.797] ->> endobj -1832 0 obj << -/D [1821 0 R /FitH 536.122] ->> endobj -1833 0 obj << -/D [1821 0 R /FitH 520.447] ->> endobj -1834 0 obj << -/D [1821 0 R /FitH 504.773] ->> endobj -1835 0 obj << -/D [1821 0 R /FitH 489.098] ->> endobj -1836 0 obj << -/D [1821 0 R /FitH 471.431] ->> endobj -1837 0 obj << -/D [1821 0 R /FitH 450.333] ->> endobj -1838 0 obj << -/D [1821 0 R /FitH 424.64] ->> endobj -1839 0 obj << -/D [1821 0 R /FitH 406.475] ->> endobj -1840 0 obj << -/D [1821 0 R /FitH 390.8] ->> endobj -1841 0 obj << -/D [1821 0 R /FitH 375.126] ->> endobj -1842 0 obj << -/D [1821 0 R /FitH 359.451] ->> endobj -1843 0 obj << -/D [1821 0 R /FitH 341.784] ->> endobj -1844 0 obj << -/D [1821 0 R /FitH 320.685] ->> endobj -1845 0 obj << -/D [1821 0 R /FitH 294.993] ->> endobj -1846 0 obj << -/D [1821 0 R /FitH 276.828] ->> endobj -1847 0 obj << -/D [1821 0 R /FitH 261.153] ->> endobj -1848 0 obj << -/D [1821 0 R /FitH 245.479] ->> endobj -1849 0 obj << -/D [1821 0 R /FitH 229.804] ->> endobj -1850 0 obj << -/D [1821 0 R /FitH 212.137] ->> endobj -1851 0 obj << -/D [1821 0 R /FitH 191.038] ->> endobj -1852 0 obj << -/D [1821 0 R /FitH 165.346] ->> endobj -1853 0 obj << -/D [1821 0 R /FitH 147.181] ->> endobj -1854 0 obj << -/D [1821 0 R /FitH 131.506] ->> endobj -1820 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F83 1265 0 R /F14 574 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1857 0 obj << -/Length 1103 -/Filter /FlateDecode ->> -stream -xÚíšËRãF†÷<…–­":Ó÷Kv„± IRŒw 3È T‚«lOR•§Ÿnµ$KVËì ¥ ²¤æèônŸ 8zŒptqòËèäÃPGŒ¤2M""1H©"©%ª¢ÑCt‹ ïF¿}*V_i00£¬™|Íù¯gŽ7qÂC -âD)†7gŸþÒÇÁùõdzs‚‹‡—Ǧ‰sÁ>)¡Ê^cÞú,pj†è6£³ù<{|ö.rS3Å `ÃKG—ŸýšÆ~5H]®¸-î×·IAÉj“÷YÛ‚ý¤L¹àÎovñ”ºý ‰ÆKCÞi0öQ¯ë¥úƒ€¦˜¹ðŒÚ£éRø‰ ¦F»«¯kQ>ûêüz0ö(8¡6mR¿—¬ŠNí´ÒVuJk¿ŠI}m75û/›§?ù=f“Àž”µÌùëßWm—¸¦H¹(›{sTý¼š1¬éœK‰qW6 cÍÐtæ j”Ž¿ÆT¡'f!\ b‚òÐ4-üW¸.—j*½BB€T!™Ì¦ÿ„¢Â@âJ†E´¢µ¬VL½KnssÄvà ælÓ’•¤y‰IÄL.X£qWظr¤«LlȈ¡LÄÛ€öë¤W¶3ÈF¥™¼ÒìB×°%ìR™€Â/Z–_^ÿ§³i«ïh R}§Öðï»’ì&?ø”{«$¹ÏþÊ·g'sZÜÏžcªÑ"}Lg~å¸ÈõÏ—W+~جªíÅ×./.'KSÞxYHn“E‰vFØ]Áö†‰fØ;’›ÊFrÛùqçw½x*+š¯F›´BmpÙù¡KäՖש§Q¶à廕3·Ax͈d`håéŒq¨\¯|mƒrjÇoG£'­Ã’–ìIëÍ’= -ié0iñHë%C0Nš•´s&„`ûÌcºó<¾ùc°ï<.Ê£2W¶ÓÔ_ZMΔ_U/Tg»U¬5?è#«B`g1G`íØ•œúÓ0ÿ „¯å_ ˜nâ_ -œóí‡ã_çRÿr0ëÍi¤rê4W¶=³˜KHÞffM¹K•¹ËßÌŽÇp¤ï#ÖycíñÙH%=ËâwkÙ+ªìeaŒV¶½ëv¢¦=À†‰Ë%i÷ ëXbó3ÀLëG÷ökÍšw«i»#h;C…Þ‹b¥°&L;"/¡XÉuO±aŠ-§%+/´‹CRÀ,ðz÷´s(ŠI´/AZv¤5? ÒÒ— -ûA‘–àMLËz¦í™ö5˜VìÉ´¬gÚži{¦Ýù»AÁɨ1—ª9 Þ ’¾ªwy?µ’'«nÝ´µYëô â}Ó';U65ÎàÄÐFlTtùÄ@s«¡f½^¡R~ *ex*Ýòuñ ç,Ôo˜Þü’S JÏÔµÇ1%€÷ãè£ü©ö@/ŸÎÜÍ þÓ`tòØñ±0 -endstream -endobj -1856 0 obj << -/Type /Page -/Contents 1857 0 R -/Resources 1855 0 R -/MediaBox [0 0 612 792] -/Parent 1714 0 R ->> endobj -1858 0 obj << -/D [1856 0 R /FitH 686.127] ->> endobj -1859 0 obj << -/D [1856 0 R /FitH 668.127] ->> endobj -1860 0 obj << -/D [1856 0 R /FitH 653.75] ->> endobj -1861 0 obj << -/D [1856 0 R /FitH 635.955] ->> endobj -1862 0 obj << -/D [1856 0 R /FitH 614.728] ->> endobj -1863 0 obj << -/D [1856 0 R /FitH 588.907] ->> endobj -1864 0 obj << -/D [1856 0 R /FitH 570.613] ->> endobj -1865 0 obj << -/D [1856 0 R /FitH 554.811] ->> endobj -1866 0 obj << -/D [1856 0 R /FitH 539.008] ->> endobj -1867 0 obj << -/D [1856 0 R /FitH 523.205] ->> endobj -1868 0 obj << -/D [1856 0 R /FitH 505.41] ->> endobj -1869 0 obj << -/D [1856 0 R /FitH 484.183] ->> endobj -1870 0 obj << -/D [1856 0 R /FitH 467.826] ->> endobj -1871 0 obj << -/D [1856 0 R /FitH 452.024] ->> endobj -1872 0 obj << -/D [1856 0 R /FitH 436.221] ->> endobj -1873 0 obj << -/D [1856 0 R /FitH 410.954] ->> endobj -1874 0 obj << -/D [1856 0 R /FitH 392.66] ->> endobj -1875 0 obj << -/D [1856 0 R /FitH 376.857] ->> endobj -1876 0 obj << -/D [1856 0 R /FitH 361.054] ->> endobj -1877 0 obj << -/D [1856 0 R /FitH 343.259] ->> endobj -1878 0 obj << -/D [1856 0 R /FitH 322.032] ->> endobj -1879 0 obj << -/D [1856 0 R /FitH 305.676] ->> endobj -1880 0 obj << -/D [1856 0 R /FitH 289.873] ->> endobj -1881 0 obj << -/D [1856 0 R /FitH 274.07] ->> endobj -1882 0 obj << -/D [1856 0 R /FitH 248.803] ->> endobj -1883 0 obj << -/D [1856 0 R /FitH 230.509] ->> endobj -1884 0 obj << -/D [1856 0 R /FitH 214.707] ->> endobj -1885 0 obj << -/D [1856 0 R /FitH 184.956] ->> endobj -1886 0 obj << -/D [1856 0 R /FitH 163.729] ->> endobj -1887 0 obj << -/D [1856 0 R /FitH 147.373] ->> endobj -1888 0 obj << -/D [1856 0 R /FitH 131.57] ->> endobj -1855 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F83 1265 0 R /F70 508 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1891 0 obj << -/Length 1506 -/Filter /FlateDecode ->> -stream -xÚÝYKwÚFÞó+´ÇÕdÞnzüLH|³s¼A¶•p…ˆOóë{çHŠ!vâÓnft5s绯ï -ÝF8zÛ;õÞœ)d$•Ñè&"X"-M$µD„ªh4‰.c…ê'JéøäxÔOcññùéÙÙàxp:]ô¯FïßœéÚ* 7°‡{ß0+ÒÃa×Õ5Jˆh%TÁ»ÌKÂOà‡l¼]&ãøp±Èog^‡‡}ªã·vÀãò.ó³_úBÄéý2 íj• ¥4>°S»ÚÜ‚ ‚U” _ë’ué2¸ñ[\ Þ½ùÂÏ|ÍŠù/þ6õ -;ˆ‘ÒD#"ø -#h ”2d%uê&£HI½¸Î›KÀªlqÕ¶„@‚‰•DÙ²ÁHÁ]8ðH’+Ä=·ÐË -z¾²ÏÈ œƒ7p4ÁúÀ>‡]ŠÇ|‘=…«H›P¥O¡ª^Upè>‰›Àº5¯-"2´ÒôƸ¹‘ªGc‡Y(§°n˜åö‰PlZ@`Äx¥ÑhЂ?øþÚg_þ~ÂqÈ×s@‹vaMŸ¯ÞG;*³/\(¤R êuÂ'au]}Øå‚Cúø1‚ MÉQIÀ2Bx¡-GÜЛ -¤ØÓf_ïøÈn;±‘Hfs ø²ôB ×. %¿i9` x•}Gç¿Ÿ[“ S•Ðª0òëvâòډuˆ¥]!ö1K'!ÝùD@’ë¼ô3Ë™õŸ,<Ïg6¨Ëì6+¼dºX§m”0‚5ýújÑžsÚëíx×Ú¯|íg/Rû“º2d&ò¨|üãtø< -R‡Ä®ÖäBõ‚l—òR´ Œ$6{è³¾æñ¼ðgéØžùÎoQSÃ>œ‡HS¸DÚ nªìQ~n­–˜VavŞmùƒ"ÎÙîE·œ{íùZ–#àßZN#AªýºÍÍ€ -H²G&eHL”ón¦›ùZTgÃz›TçsÛé4–ëRã+ dk¡7 LW([F݈X€ŒÐÝ ËóùºÂú?Ì×­s~/egˆËfr¼{>[WjäÿÔf*€¾Z­iÛ3è:ð~ÁEÃûó½é:—ˆÑŸÌÛºèýé¿©m` œ„11*f¡)ÂÞ ;²ñýÏD‚Žm<€OÅùW߆L€ÐÈM+;¶ž—‹U¨GL# ›Õe.ý €4†H‹q‘?”ù|(è,Ó"[”E>¶OßÀÏaÛ0p£¿ Ãf kQÈù„†”5è€ñºÔé3'œÆLÚ´>tì ’íÈù½QÀçÊôÞߺזSû{íÁ-üƒù¿^ßÏݼ£ª-üd>ó×ÔÃÏ ¨b6῱ŽƒZœ-¡`-¢¶¬ut|~rz²Ï)íÎxs‘âHŸ¸‡¶-æS ‰‰ˆ[St k>Û ->…R¯«Z›d÷Ù4óºúÀÿÓJ7´`rבÞ.|nâQ¾ÅìòÙ$§e>»µÁÍdüx—mwÆ sÀ,Ø¡È6ðñ3ö²“l²»!†¾ËÙh«³ÐÍ~¢ƒIân¬ÛÙÉV·³,RÎ9MÇżۻš^é[H¶~¸§¾=yîwK0 ›¦¡—,Óëû@fjöXJëW “8Ö8ÉìÙëþaçkòvè‚ ®ë :Oî6…SƒãǼ´Í£6ñòÁϸN ÆÎ0›ùê•UωºÓ1)M÷Nç­yŒHhYuø‹ä|YvV–íÿ=@µÃYý -endstream -endobj -1890 0 obj << -/Type /Page -/Contents 1891 0 R -/Resources 1889 0 R -/MediaBox [0 0 612 792] -/Parent 1910 0 R ->> endobj -1892 0 obj << -/D [1890 0 R /FitH 686.127] ->> endobj -1893 0 obj << -/D [1890 0 R /FitH 668.127] ->> endobj -1894 0 obj << -/D [1890 0 R /FitH 653.681] ->> endobj -1895 0 obj << -/D [1890 0 R /FitH 637.741] ->> endobj -1896 0 obj << -/D [1890 0 R /FitH 621.801] ->> endobj -1897 0 obj << -/D [1890 0 R /FitH 591.913] ->> endobj -1898 0 obj << -/D [1890 0 R /FitH 570.549] ->> endobj -1899 0 obj << -/D [1890 0 R /FitH 554.055] ->> endobj -1900 0 obj << -/D [1890 0 R /FitH 538.115] ->> endobj -1901 0 obj << -/D [1890 0 R /FitH 522.174] ->> endobj -1902 0 obj << -/D [1890 0 R /FitH 506.234] ->> endobj -1903 0 obj << -/D [1890 0 R /FitH 490.294] ->> endobj -1904 0 obj << -/D [1890 0 R /FitH 464.889] ->> endobj -1905 0 obj << -/D [1890 0 R /FitH 446.458] ->> endobj -1906 0 obj << -/D [1890 0 R /FitH 430.518] ->> endobj -290 0 obj << -/D [1890 0 R /FitH 390.674] ->> endobj -1907 0 obj << -/D [1890 0 R /FitH 372.783] ->> endobj -1908 0 obj << -/D [1890 0 R /FitH 336.918] ->> endobj -1909 0 obj << -/D [1890 0 R /FitH 181.443] ->> endobj -1889 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F83 1265 0 R /F14 574 0 R /F70 508 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1914 0 obj << -/Length 1615 -/Filter /FlateDecode ->> -stream -xÚÍXMsÛ6½ûWðHÎD¾öÒql9NšØm¬v¦“ä@KŒÌDŠJÿúî DR´cÇ™NOK`÷íâaÍ#=?x69xzb£”¤šëhò!bš­M¤­&Œ›h2‹ÞÆ©LÞO^>=1¢­™R"RÓ8£ÓÃß'ã7ÉH’ŒŒ±ñÉ›Ã×c/:qžO>0èÒˆíÖ†žFÓåÁÛ÷4šÁàˈ+}uªËHHA ÃÑÅÁNK˜‘V†p©½gÙ2S`îx’p»NFРŒ3_79Z1&ˆä<1FR¥üÏ諸—E½†–9-a‰xÚ:Å|•Ï~MFŒ§4>Î×Óª¸®‹r…È8[%,žù~•¯ëª˜âàÚA2 …H‰{PÈÔÞ …L÷j#Í-8„`ON.|PÛÀi:ãMHùq2ÒÅ«„Û¸Îçyå|§]l«*C…onÐ2¢SÙ†i@šÆ߉•8‹×NbâÕ7¢c²$eÛÄ:{ e²¥Ã±ðmÂCù¾7Œ‚7Ûy´앉³ -â€C - DÇå?òy“­FΉ‘âDqÙõ³† ø)¡â㣉ïLKpÄÆù;Êô´È=P8¤ã/ L-6ùz´e•Œ¤UqžMñ§+ÿu¹ð:Ù'/+V¾½)棛lî?Êj44í,¯È¢¶"L«®òÙýÒà¶ðëÁðk¢ŠÚ -<â€ÅYé:êÖ +)÷‚Þ6‹ÃÆ´¬Qå‹|¹Eܲ"» «eÃêb)%ÑÒt®¯ %ã4dcé™`DƒSºárÓ¬ ™Q¹‹š¨ Ä CrûþVŠ’”²SÝÀþ†É8¸Iaÿ•¤{U‘]. ýF¶ÝfÏ~¹ÃJ byíê”(a"iSb™jÓ.Zõi—›6í¦’X%îúz˜u¹V²ÏºX÷A”+ '‚>œríãJá Œ{ö -2Ò_§n?™°Ÿ ™$‹…ìo‘‰ËOÅb§»Yb*]zªÁŸu¤… -Ýl[{¡£ hëfšÅf™ùÓÍ’Ú´‹óõ"[åÄï–A…É‹ <&{Æ£¾´$½‹Œ°øð\b?L’©@h¢ìƒ6l}O7CGÆd×j;fO]~¯GE#¬ßµbÚÓ Ô@ýO‚eŒ©‘:}w^•›ëpªÚJÀž9ÓËb?IÝþ8H;áíÛÉ%mR »Nlëf¬ã -úeR)d×…¼`q¨n¡¦¤¶·ew8%¯—-Šu=ÂpŽü4(¶ -ŘƒEµc](p¤o;*«ßÕ°ïeµ«¡îãèÇÇ;z¸*ÁÇë[g±ÛP|æ?÷jC§íÛ–·zú@Ïê…7þá­ïœ4mÿ|©?>Ú®-àmSpû?ÄœÓUƒÜ×Hj„u%'PI€"TÒë½Ú·Zh¸hÚ¨¥´o»ÄTÂaÑ$Šõlëf¬ƒ7 -N7ÈpÈn·¦G`WÞ¦‹¯+gœæ³M•Ù¦v£á FQækšÁûXå5ö¿&n¨7ÒÐ ‚Ó†µê ãõ«Oa mUI½ÅñXTy(æ$IeïMcct8k u/R³á—µWòùªÃ1ì$\óÜ»y6áÕl§ã=¬½«IŠ0¡wß8Ÿ€0•¾0à•×^L:£ÿ¸qÐUå“ÎÅOàÝåíÀF`Ô¶.CõŠ%p£lÞûÉšµ¥[Û¿‡{[Ú]DœAòê[8ÿ:Çsß©¦ì÷Lé<¢¶Sÿ0I- -endstream -endobj -1913 0 obj << -/Type /Page -/Contents 1914 0 R -/Resources 1912 0 R -/MediaBox [0 0 612 792] -/Parent 1910 0 R ->> endobj -1915 0 obj << -/D [1913 0 R /FitH 686.127] ->> endobj -1916 0 obj << -/D [1913 0 R /FitH 668.127] ->> endobj -1917 0 obj << -/D [1913 0 R /FitH 536.562] ->> endobj -1918 0 obj << -/D [1913 0 R /FitH 500.697] ->> endobj -1912 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F14 574 0 R /F70 508 0 R /F7 674 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1923 0 obj << -/Length 2208 -/Filter /FlateDecode ->> -stream -xÚ½YKWã8Þó+¼tNµÞ’k×PPE?`¦É™ U “âîÓN§ú×Ï•®ìØŽ’Ps˜^€¹Ò}è»É4yLhòéälròã¥IF2Íu2yHÕÄê,ÑVÆM2™%w©!†ŒÆÆØôãùd4B¤ç7——WçWדÛÑ×ÉÏ?^ÚÎ.@AŒÌ€‡_Ÿ)GrB×d,˜%–ªdÌ ¬Hu]­ ØÜèt=Ï×Ø{q›†ÙÍóèÓY¾% i¿ÝÊô´,–nѺùiÓV®Uiñ2‚­Šúï¸ÃÔ‘þ‰¤÷¸çCU·\p§Ò7›rùè´JÆL’LJhÉ”B]ò%¬‘2½¸9ÃN½ 3Uí¬RÏÜF~*Çf]ýéµ^žº1(\¬žK¯³ûq:ùtÝLå¡WúV¥å*l¸¨‹|ö Î|¸}ÀÙÑ)@û¢o–‹bH®›ë<×ÅKYmütÌ·Äá«äaIŽsÏ›:,ý»¨+ì ŒX–Næe /Ö³jèѼkwŠŒ Fg Èâ[¨ŠÉüT>•SP‹7 ÊÿüKàL>mA€¦ö¢€’ Œ”„ñ繬¯–Ž§Ÿ*ŸÂ\ø1 Î âFc–vQt]Ôõ,às“}Y9*JAñéb3+p°žƒÚ¡…÷ªY„mŽ šÝõÐì®Wo`«@V†e¯ób9ì!Žx–°º¥Eî]b^„up1¼]¸a诹û÷ 'ÖÞPtŸ‹:-ÜApáÀ©#“é¼rèý/þí”°®.óz†`ucçÛŽU+LsHî€vøÒpH€±ÓžJºõ`ÔBh‘æ³Y¹.ÁŒÕ2_àÔÞCÑ<Íý!Ñj].8·*Ö8çý&ÜâJ880T›U3õ–54]lÁ|x"3+ÖEýT.ø·K·ÀXÃÕ3j1-½^03Í=g ñœEÃÙ­õ|Cä\…É6#L}̃u÷ÕÝô˜µ«}{[L½W»ŒÀ@^šÔ v~‡Üpç—AZ ¢Ÿ4îRÒŸ`œ0c ‡PµD}Ù€æn¬µ?­Våc`ýëÙ-ŠÖêõ2R%› òª(¦4È`ÌÈ¡R79íú·³ø˜ìf>M”a ÑJÅnv4„eª!‘Àn(õ˜iI,ãÐɶºñ¨n—#p -L*Õ-ÅC]=á~L2|Ÿ-¥%L›Ö”QKrEŒ’KÒˆ”PÞZ›9Sž†Ô×9¨<¹º½‹h qGVÒ­DCð5h6Ǭ Ò“±¾¿  „>>8[N âê¬8ŠZ¨#Ž –ö }òx`Ãx`¿]ð OÕòûÀ -ÊÖ®ë2zl†²x`?T¬p¨Å‡¡íœ{QÓWÍa,wGÓð*&"TÚÈ·KècìV¾Æ`ìÃîÑ*Àù˜)ÂMÖF ÿ;Ôe¸IŽ{Êñ½¯Þ`f³tçÞ ›¾z,ê¹W1£+(B·*ÍL¢a^Øà²Ò¸˜BdL÷ë®æŠ@9–thvðkÑ°#Ñ,ÜÊJMÓÅÖ[Õ<ßUn7VR“Sˆ-,œ¥Ý"í~ÒZ_’V¡/çKnÔõ%ŸÝdÇ—¤Õ{|I)b·é$ˆè0Än?Šó%ÇmO V`,}$kps4gF÷â0²h ò:/ƒEv…sÉüõ °³ó›#¥„‰Ö$±Àñg›\Þ×E¨£wËj9µ³ƒí2àsOÉ¡T}/¯â¯M¾ˆá› Ù¡Àd <üþ!Yce³å¡ÜÉÌÕZ÷Ú_ó#|7LÙc‡`¿×0!¹ÉNrÛÝŠ‡ÌŠ·i·´‚òK³7…¯«‡aöm2Á#ÜŒÖEÝHÝ”¾8ƒSq¯YÖg÷Óád,Y7KÖ5‡ÿ1+ŠÆ¶°_ÿñRð..{¡"rn’iæF5·ʤT^R´•×.´4ÖéaÝ>dIÕ1{GdŶPD uÈT†Xª·àÄ‚OY¢”èG©n9Ö-¢•ŸÄG¯.ÎŽ–~ûªWÈ B¿ƒƒa©5¬ÇFÍYþüêT—ˆ<Õn¦a -rW‡SMæ »™fÇÌ*v<<îâ7 gýZ®Š¡ÛB¡¡õ[ܶ«þçO½Ûuƒ‰ð”ãîÆy{®–Ñâ™aÄÿRÜ}¥É ~û9Á2“¼zʧDµËe‹äöäß᩹i  OæFÃ-Ní×Xjb·q lì¤Je(Ô~r(•‹V‡¤²1¡T„!‡ºZÊ0“ÒØ Hf½êRK¶MÓ.é`£1iï”pܶú)ÿxep_Óɸê³ÔïÌ’IàÉ'ð Ž©S Ð\|×–œ tšŠ_!SRÝ×”Û÷æªEà*÷ÈB~€²øíà¦Ýï)=8Qw%„‹†• G¶žÚzä÷-ÓÏ›/”‰§¦œBÙÊôS]mžW}¬h TÞ˜`´9&~3†ìÏÖÎ`|µuFWqkÓð - =,†\Ͻ´¹GÛÌöj‚~¼ƒíÄ6šÍ£OAE² ‰þu×Ú&¸BlÝø™Ì§¦#‰nLÊÃršð¬c òóô‡˜‰àú«ßë¦Ý»‚Æ’×™ûòp›ÊNÃÝeŸÑ3‡E}Ìæ&ëÛ> endobj -1911 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [420.112 571.545 442.583 582.393] -/Subtype /Link -/A << /S /GoTo /D (section*.115) >> ->> endobj -1919 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [376.065 297.204 395.769 308.052] -/Subtype /Link -/A << /S /GoTo /D (table.7.42) >> ->> endobj -1924 0 obj << -/D [1922 0 R /FitH 686.127] ->> endobj -1925 0 obj << -/D [1922 0 R /FitH 567.886] ->> endobj -1926 0 obj << -/D [1922 0 R /FitH 548.069] ->> endobj -1927 0 obj << -/D [1922 0 R /FitH 519.341] ->> endobj -1928 0 obj << -/D [1922 0 R /FitH 498.139] ->> endobj -1929 0 obj << -/D [1922 0 R /FitH 478.82] ->> endobj -1930 0 obj << -/D [1922 0 R /FitH 459.389] ->> endobj -1931 0 obj << -/D [1922 0 R /FitH 446.325] ->> endobj -1932 0 obj << -/D [1922 0 R /FitH 432.708] ->> endobj -1933 0 obj << -/D [1922 0 R /FitH 403.259] ->> endobj -1934 0 obj << -/D [1922 0 R /FitH 389.642] ->> endobj -1935 0 obj << -/D [1922 0 R /FitH 376.579] ->> endobj -1936 0 obj << -/D [1922 0 R /FitH 352.944] ->> endobj -1937 0 obj << -/D [1922 0 R /FitH 336.836] ->> endobj -1938 0 obj << -/D [1922 0 R /FitH 323.219] ->> endobj -1939 0 obj << -/D [1922 0 R /FitH 312.093] ->> endobj -650 0 obj << -/D [1922 0 R /FitH 196.237] ->> endobj -1940 0 obj << -/D [1922 0 R /FitH 169.389] ->> endobj -1941 0 obj << -/D [1922 0 R /FitH 155.218] ->> endobj -1942 0 obj << -/D [1922 0 R /FitH 141.602] ->> endobj -1921 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F14 574 0 R /F70 508 0 R /F7 674 0 R /F11 573 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1949 0 obj << -/Length 2056 -/Filter /FlateDecode ->> -stream -xÚµYIwÛF¾ëWà¾gtÐ ¹äi¡f<K‰É9äÙ>@D‹Â3IÐÅþõ©êj€ Zv–‹z+TWW}µQq° âàßWó‹nM±L Ì®c¦uh£i0/‚wa¦'æÿýá6•}Ê,f2K£¹þÏåÏóéÛI$¥ S6‰ÒÔ„·o/ßLiëfz}3E>±¿¼‡D\–HD"…MIì§lðið.Jâ8|ý8‰„áüþÓ;œÊ°lhke›†vvOù†öÒW0ª$´¿oa‹‡´ÇÓû+ÿEõq"Lhýþ¾)7Ë–|fi¾­«… -¸b‰0 8gY’¼ [ìkKß/Ëß»IÄCϲôãÌ.veµqoãð²8¨—MÞºW:±YÊøñóñ`Wy·0š°ÈwþÆùëÙ;o²¸o2£˜Éxk²‡’húÚ7L'²%øðŠTÖ££Œ~?½½rQ ã‡{ÆD,Õæ;D$P™ Uo -‚Øov“l#€OÄ%Ë”¡nG±t¿{²õsÙX‰2$ÀY%*ÌiXTNÏö}Ìõ¢xÀb‡GI2Hé!ƒS`K$€ø< ˆ€ âDBö^Õ‚Je`p|0H„€Ço”*u€A‚`pã`4H$ÿ"`2KýMˆ/!&ýI"™pŽS‘"!5R U~wN¸D1ž¤#œ™—É é¥Ò‚ŸÂ€—‘VM´)3€}øÿMQ9TÉ4 o®iü¹¶EÙAbxg ïäÌNœæDƒN»}¾Â¹›$:ÌW{KËêÑ“Ðàní!×E°#ð#Ya½g¶ ‡ ¦ùË"€ì `ábŒæx¼ke¯mƒB”xO÷ˆÇºZ;GŠ"b@ã99Ù‰ONÚ';§^o÷Ýa'x"ý¥@b7ÝûjÈlI¬A™N´D¶Üñ…Ž˜öUXmVŸi–oAØíª¤;zሰN×ÅFƒL×*È\¿ìsÚ(¿Xõ.Qâ¯~‹g EM© ç½y.EYƒ™@b#CÖ¥L©¡ŒôjɯñFu‹Â6‹º| »=ÁS…—?ÓãŽ{€°ßé8õõק­TÀ‚Â`Ý~fiRÕå²Ü\^Ȫ{úTú+ú4ÂûPõ1Ëöã¾{Àò±ªi’Óð°"æ dú‘öœýݽ®ðK„¨›íÚ+áŽt7bõ¢3ç‘BCØ5~²^ƒ¨”êa¹±åò ¯'õWµ'{~*TO´„÷AIb‰§wI~LIðç£ç¿¡±Î›ªçUMÈGÍÏÝmûæÕ˜ôµõæ¢ü‡Xs%SéA8p€ÝšxíÚS/Ž“wJO× -ƒs'Ì«öösa¼^ÐaÛKÔwêRe(jŽé<ëà {ÀK30¨õ›êKô…ýä<Rl Ïýâb–˜Ë–³m™œAc&tx;17êöáÝ¢ó¦Ú €Ô¡Õˆóîg9Šê&+Œš†‡‰)–ÀÖ³“{‚ñ–ˆ ¬0iòµË{²’Cði$óqÁÔ!yvðö¢×v™×ëxØÐWzÀÁÕ¤EnŽü.ZyÔ­F$Ô@_ÐðìD@45Ïz¹Â§ëP„&Ž/¦7$J™>Joe#eàNU3¦YžÆ,ÕŸÜïη”{H¯j™TC¥OU’‚oç´Þ/Q·m‚Aøbà€²ÔA¸+iœÅD[€þéjhd¨š¹vᱫgh§… xÃiù†AÇ0i2bûzœ>Lò€ -¡¢ù—Ó÷t~ñÉ[…w½-Ô…LA{²X_¼ûB c)ô5ÏŽt@M >‡®‚ÙÅ/#}²áPÑ ä,ŽýûîÐI"cbA¥}¦2_&¸ -gàh…¸†²ZÁý>Nâˆò0ºf/j·4èÓÌÊåÆ?‚ -t,7.ínÑ´ë„jÔfW£/;›9"ØúŠV„dI,Žµ¢2óu­ ,CÌ@-€Í8óðºÂÎÿæ¿©d\u5ÿk -Wvië±ÌrY×¹Ó©;4šé4è†cë .pçšb(ñ.7#гu7Þ]Ôú eºxÙ•]wµnb°ŒjåpË6^)Ád¬Ž-Ê“|é~…È \œóÿ%a˜ŸáxÑš¼)‚òím„€^êH–7WoÀ³ÚòÛŒ ˜6]7t÷fÌ£CÚÚ!E¬D‰ EÓú¨…Æz@ë¤Ó—Ó=n¬[6´veÖ:´¹·ÉÈÛ×ù¢®ÈCc}»~ºœÍ©êûûla(“CGÐ Š_±œ HàvRåPõòPÕ‰[=XãrQÑa^nè7.H£2Ɇ’>•¯n´BÅb)‡[XnRfÀÔ‚;…ÆP=(Ö’”â?Œ¾KÃ6ÏÕ -;*KgT†Ã¤•îHET*òž¡iIñ‘{ƒã¤3¸[ÕöÑÖ£¡aòÎ÷ˆ æÛM~î'…¡ÉÅ è(5ÿ¨éÏ8"LOâ!Wƒ Õý~ó>ŽÅد ïüY+l:ö •‘šÄõÑ0m5ŠùízN“3¿»áQ×Ì7c -óýšêÛV§m›ï4`üR.£/ù’U=ŠÙ¶%È0ökÐy‡8¥öáÓÇQMªÎPÎÂþŽS‰ui¾kÏûºn5DOÆâäHÉ' -`S«¥Úßz|÷¤zÝÓxÝÀy ¢ûžjêø¿ L -endstream -endobj -1948 0 obj << -/Type /Page -/Contents 1949 0 R -/Resources 1947 0 R -/MediaBox [0 0 612 792] -/Parent 1910 0 R -/Annots [ 1920 0 R 1944 0 R 1945 0 R 1946 0 R ] ->> endobj -1920 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [341.716 642.722 364.188 654.677] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.7.1) >> ->> endobj -1944 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [315.002 604.864 337.474 616.819] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.7.2) >> ->> endobj -1945 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [404.033 538.696 418.755 549.544] -/Subtype /Link -/A << /S /GoTo /D (section.7.7) >> ->> endobj -1946 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [358.329 431.099 373.052 441.947] -/Subtype /Link -/A << /S /GoTo /D (section.7.6) >> ->> endobj -1950 0 obj << -/D [1948 0 R /FitH 686.127] ->> endobj -1951 0 obj << -/D [1948 0 R /FitH 668.127] ->> endobj -1952 0 obj << -/D [1948 0 R /FitH 632.262] ->> endobj -294 0 obj << -/D [1948 0 R /FitH 578.892] ->> endobj -298 0 obj << -/D [1948 0 R /FitH 406.2] ->> endobj -1953 0 obj << -/D [1948 0 R /FitH 385.43] ->> endobj -1954 0 obj << -/D [1948 0 R /FitH 351.889] ->> endobj -1947 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F70 508 0 R /F49 457 0 R /F48 455 0 R /F14 574 0 R /F83 1265 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1957 0 obj << -/Length 1840 -/Filter /FlateDecode ->> -stream -xÚåXK“›F¾ï¯àTeafÈ%e{m×ú°vbÅ©”í+FZ ”íÆþõéÇ€@B¶×É-§y5=ÓÝ_¿½µz//ž..¿Ð‘—Y"o±òD˜i’yIšBjoQxï}¤Ál®uêÿz}ùúêúålE‘ùŒÇ7¿<¿¼z¶¸z}=û¸xõøE:àçVÜFœ2$¡»ÿñ 8:Ï;ê¹Ô°ñ7¯÷ínßÂUiäïr›oMkló#1z¾¸øëB¯Ð‡·—4N¼åöâýÇÐ+àð•:ÓÞ=‘n½HÁE?Üxo/~fE ß-¤ D’x‰Œ‚H»—\Ãݳ¹ŒUè/f2õ?í`•ú¸'Uä¿-?|•—‰ ÍRo.DÅ1û!ŒÃ›²m`D¥A - -Ò¼-ו)~v* ýKÓ,m¹k˺b=çUÁkšÖ–Kú(0„ðŒ50þ ŸZqRߎïoøÄÔÿ¬ú—Õ!.ƒÆ•JŽ5®T<Ô8R2`›•÷x؉Ó6î´> à|·Û|âT¤ “;ÐÓî‰nȲ‡D’ÄAzyõ"ÖrœTY$=Fç%@OÇ»à%>Ç¢¼+ "q¢ãæ@tís*ƒãf¿å5eÊV%¤Ä€sª‡5Ñô7œ¦_gú©ô«xêS$¡²Ù2ccÂVÎôæñäÄCˆ‹eAxÖÍØpäkß.ðö¦ü‰å´M£ _*|W(´ŒRgFØØæK[óÞ±œx<ˆ1ó³÷=âp*²‚Üœõ…Ó”¤iÄQG0©5‰¥s¬Æ€ÿ?imÂ#€»Î¾¢5ˆã‚ñC(ÔÃÔ†ñãŒÖÀûwax •âE ùae G,Ýre¹$K(Û”çÕyR&ºøAsâeaïn¬N8ÙvþÇçœûqŸl6‘¹¾ª¬J{íN"M`u%F˜®é@ô ;­éرA׉MBKÉw.nˆᴳNSì­q1hßnÊʸ|[£¤÷®×â=×’²`·cÚÛr Sþ -\‚Ïù h}cÎ6¤iIÝŸ{$ÒB¾ކѴáíe½…˜îƒUÞðiÎËq®e¢”#àpd`Lt¬Æ $°¢l -Ôœñ°XßÀñÞ4.©ª -ù1LV¶ÞR-ÂÓ]„$oxóPÍÒŠQ¼1sg×@ -rk Õ™v7yÛRƒI—éú -(¤áéͲ ü°ÃS NYQõ³Þ•`ÎÏ4\§±†|ÀÕt  'tO0ô3XºÛUŠtÇ æ -Bãsàz‡7™Š©ÊÕÑgëzS˜jJ3")\+%ÃÎÜ!uWÖû†WCRr‰ý†;Ë—-ÏúÑp -Ýz°&Ýw‘cH†ñÒ6mÏŽ*núÝÃW»Ô”¯ô©M±ä˜js^Ò§t=ÅËOŽ˜ß-ý¦-7ž¶Ö¸pˆ ®éqØ–`"xgd¹ìZ dqëØîö–»àº1ŽøЄÚé÷DwNKýA÷áäÔ5q—\'a¹Ž¤Sì¸Äyî.àçppBŽ–÷)—ÀØö'õ#lµáâ`Êgv)› -=%†ªI µö¹-\@ül,rýzr~ª°YßoÚqX$_!—ÁŒOˆ‘tm^­û> endobj -1958 0 obj << -/D [1956 0 R /FitH 686.127] ->> endobj -1959 0 obj << -/D [1956 0 R /FitH 668.127] ->> endobj -1960 0 obj << -/D [1956 0 R /FitH 634.254] ->> endobj -1961 0 obj << -/D [1956 0 R /FitH 562.465] ->> endobj -1962 0 obj << -/D [1956 0 R /FitH 526.6] ->> endobj -1955 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1968 0 obj << -/Length 1754 -/Filter /FlateDecode ->> -stream -xÚíYËVÛHÝóÚ|NÜé÷#;aN€ ñ̆°0¶ Nl)‘L’“¯Ÿ*uK–dc›Ä3³a‘Hên×ãVuõ­†FwÞ ^žÚȧ¹Ž“ˆiJ´6‘¶š0n¢Á8ºŽíÝ þxyjDs¥£D8bÊ5¯?|78¹êõ…±!½¾16>½:70(¼Ø<™$y’Ž’^Ÿ;Oòá<¼N |Úø¡HÆa$-Ép º¥àñÙĦ™£7ñ½ÿºá°aÌÆŸüXò}Z,Š`/•ñâ>I½xóóŸód<-²¼iNè¸ÔgŒ8¥¼å‹Ì;þ#É3Òò;bœ0ƒŽ2"ªå¬³æº¯(‹bz—ôi-)!Lº~;õkš€r -dÕ’Ò ´gšŽ“ïø*ãlâ‡ê¹ùp”g~Îdâ´O~z”¥×b8M§éëé­-3xTv¬³ÞŒ«tp,aÎb~ü‰X)Âim@þ2¹j@­k£eMüµ§T<œ=„Ï1xÖóWËüÄÏÓž±ÏQü< XÃë(›=ÌS|·µ”AÏÊxx;KJw0T4Êï"ÿrU:†Ëa7±Xöú,Öl¤!L³vÞ²SDÂÑ»óA7²2J¬bƒÂâÚß¾xȤTf3d°Ca² ™Ü28sÛKÄA’`n;d¿®±‚¬©!ã3á~3µ3fÒ1¢ô>Ò % ‚þæòíñÉŪZnrËö VPˆ€ik]–'Æ4jÅ›l6NÒ%hNae4½;h4M÷‘h(IR·#h¿¬¶­©µ‚Œ8þv…,Ôs³;dÚ­ö’g I*±uoîAcØ›-§Èx/ÿº -%s¶i{®§˜•Y5m«¡µn–ƒ¸H¥(l„²•’b†ÆLêWXe›ÖÈ@k€hçÈ4“Âÿ`‚ݾœ K†ïWפ ~ày“lð¦MÜNC‰,»1ÈÓÕΊƒ^7ÕM`H8–fygÕmYÀ³Å"›ûj± ¼ÃVkMƒ©x -f›îÅÉ:Š% §ú×–tpo<#ÀkÛ øà”¹¦‚Ëâ–Wç.Boqh;˯ÅÓX -ž"ÿ%yßGÇS é ZØ ^ÆS/îx ^žrYE”íP®šI!Ñ2Ñ{e¡, Óñ3íz¦]Ï´ë™výíjüåçöÔ( -endstream -endobj -1967 0 obj << -/Type /Page -/Contents 1968 0 R -/Resources 1966 0 R -/MediaBox [0 0 612 792] -/Parent 1910 0 R -/Annots [ 1963 0 R 1964 0 R 1965 0 R ] ->> endobj -1963 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [485.671 602.221 505.375 613.069] -/Subtype /Link -/A << /S /GoTo /D (table.7.46) >> ->> endobj -1964 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [485.671 328.593 505.375 337.504] -/Subtype /Link -/A << /S /GoTo /D (table.7.46) >> ->> endobj -1965 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [485.671 131.141 505.375 140.052] -/Subtype /Link -/A << /S /GoTo /D (table.7.46) >> ->> endobj -1969 0 obj << -/D [1967 0 R /FitH 686.127] ->> endobj -1970 0 obj << -/D [1967 0 R /FitH 640.682] ->> endobj -1971 0 obj << -/D [1967 0 R /FitH 619.044] ->> endobj -651 0 obj << -/D [1967 0 R /FitH 445.469] ->> endobj -1972 0 obj << -/D [1967 0 R /FitH 419.847] ->> endobj -1973 0 obj << -/D [1967 0 R /FitH 398.707] ->> endobj -1974 0 obj << -/D [1967 0 R /FitH 372.974] ->> endobj -1975 0 obj << -/D [1967 0 R /FitH 352.889] ->> endobj -1976 0 obj << -/D [1967 0 R /FitH 339.607] ->> endobj -1977 0 obj << -/D [1967 0 R /FitH 313.263] ->> endobj -1978 0 obj << -/D [1967 0 R /FitH 299.428] ->> endobj -1979 0 obj << -/D [1967 0 R /FitH 285.593] ->> endobj -1980 0 obj << -/D [1967 0 R /FitH 271.758] ->> endobj -1981 0 obj << -/D [1967 0 R /FitH 254.05] ->> endobj -1982 0 obj << -/D [1967 0 R /FitH 234.35] ->> endobj -1983 0 obj << -/D [1967 0 R /FitH 203.193] ->> endobj -1984 0 obj << -/D [1967 0 R /FitH 175.522] ->> endobj -1985 0 obj << -/D [1967 0 R /FitH 155.437] ->> endobj -1986 0 obj << -/D [1967 0 R /FitH 142.155] ->> endobj -1966 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F70 508 0 R /F83 1265 0 R /F49 457 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -1992 0 obj << -/Length 1329 -/Filter /FlateDecode ->> -stream -xÚíXMoã6½çWèV¨¸üIí-±“…‹ndÝöÍA¶eG­#¡²³»í¯ïP¤dQ’?Ò.ÈÅ¢¨ñðqæqæØ[zØûpv19{w%™¡HPáMÁ)yB D¨ô&sïÞ—H¡A ¥ò¹ÝŒ¯? Ƙ?šçíÝåh<œŒo®“ŸÞ]©†?øŽ$`µÒSi“3lׯž^@…@¡T0ð_f¬Ï‘cíÝ!Æþùz.3»ô=yÐ#îo3õe -?^='fž´|`ÄIè„#LÌ*‡W¹ï[§Ü´ÄÍ(RŒ"¬ª]Oï&BXÖai!t -ÈBfš¦½@oQñ5]'?\q œ×áaì°óÿNŠ¼³z„$“ð nVÿŒC<ƒr"i#‘¡A N³{lWåõûV/Ìÿ§«|PåÏðóG ‘b5Ò.A,f-Òµqœå³‡x•gËÖ&ì€ûSX\úùf“?™‰d¾´6ù¢e;3Hçâà Aù}QÄOÉûVô9°Ž7šñ.ØÃÒ³ aûΡˆ QY¸×p“yó¤0³iVãÿ¦ñGfŸðå`&ƒâ}©PH„5ÖÖÆ1ø_õO…"KÒ壞˜–Kæ…æ§~ŠT ÕîÇ*§ú CšCÑÜ$ ±¯²³z~²Õfú¼±9Ìì×Âb(gçæ%ë…¨»§vº+i@â2pж1 àʾ ÂÅðft9êF*b0ZYÝ÷„›")äÑõÏSÃ~^±ßœÏ69C -\˜}ÚÚ¢—±8ÖðŸúàõC.]Zj„Ù<ùf@¶NóŸâ$ÊÌ’R³QËϳ<Ó‰ÛÄi–VGú k)fˆo#ýâFB%äS·U§‘ì®i!µû ‰S+á5w¿Sÿ.Y$E’ÍìëÕ@S £ául#ÚÜ06^ˆ?((ÖÓUÙ=ÏÁ^±ôÌ஥͡ ,aˆ*n”Mÿ,/Šdgó:°›¼‡Ûz?®øÇ‹@îOÝ€ -‚ˆ’G“»—>п(-z'>Ç«u?(M ×9,>cÂ{\b¤©ŒÞwz¶DK'ÑÇÈ'z"ùD¿OùD_+ŸÂWË'úJùd[:Íî[ò)Ú]jä1ò B)÷ª'Š˜PŽz’•z‚A¥ždU¶`®°ÍÛšXÉTþ«0ƒÚÔÕWŽq¾hÙn‹éücå6þ>±ÅÅâ¿ZГ9 ÷J-…M9=(ÏZN™~Õ[œÔÝNéýêçaÅa'!9¤³xSgiÇZgÉJg$éVqÉ*# ¸Œ¼Š8èKávƒJ†TPVagsǘ5Ä×Ä=5²½ú+|Ó_oúëM½é¯Cú‹H±ïS±ÿ_ý -œl] N²xK²³ÚÀa„R¯»žåvÆèÜ`ÈÚ¼ßÞãÉ).oÖÊ!)U¢-”±Ô¸õ(.’z@ƒµ¦°Hf-M©p„%!n¡ õ]sO?eC;Íb«®whA*ªÕÒÏçŸ&£a×/(âêP)R/ª]±P2÷¶„í^¶´ê… ùr0U—nd«ˆu'ü˼þA­@jÚfiÙ?Ê™ÛÑøWmÍÚF†>ú}Q”*ºé§ReZË•é¦nº«L³3hV²½Ws¹ÖÓžÜÛQl}}Êý$.¥ÁcU®û1gÛ;ν EPîÈ~õ¼œœýØ[$‡ -endstream -endobj -1991 0 obj << -/Type /Page -/Contents 1992 0 R -/Resources 1990 0 R -/MediaBox [0 0 612 792] -/Parent 2022 0 R -/Annots [ 1987 0 R 1988 0 R 1989 0 R ] ->> endobj -1987 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [431.873 494.466 451.577 503.377] -/Subtype /Link -/A << /S /GoTo /D (table.7.46) >> ->> endobj -1988 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [431.873 293.843 451.577 302.754] -/Subtype /Link -/A << /S /GoTo /D (table.7.46) >> ->> endobj -1989 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [191.441 116.695 211.145 128.65] -/Subtype /Link -/A << /S /GoTo /D (table.7.47) >> ->> endobj -1993 0 obj << -/D [1991 0 R /FitH 686.127] ->> endobj -1994 0 obj << -/D [1991 0 R /FitH 668.127] ->> endobj -1995 0 obj << -/D [1991 0 R /FitH 653.619] ->> endobj -1996 0 obj << -/D [1991 0 R /FitH 639.609] ->> endobj -1997 0 obj << -/D [1991 0 R /FitH 625.599] ->> endobj -1998 0 obj << -/D [1991 0 R /FitH 607.479] ->> endobj -1999 0 obj << -/D [1991 0 R /FitH 587.305] ->> endobj -2000 0 obj << -/D [1991 0 R /FitH 565.629] ->> endobj -2001 0 obj << -/D [1991 0 R /FitH 539.547] ->> endobj -2002 0 obj << -/D [1991 0 R /FitH 518.936] ->> endobj -2003 0 obj << -/D [1991 0 R /FitH 505.48] ->> endobj -2004 0 obj << -/D [1991 0 R /FitH 478.961] ->> endobj -2005 0 obj << -/D [1991 0 R /FitH 464.951] ->> endobj -2006 0 obj << -/D [1991 0 R /FitH 450.941] ->> endobj -2007 0 obj << -/D [1991 0 R /FitH 436.932] ->> endobj -2008 0 obj << -/D [1991 0 R /FitH 418.812] ->> endobj -2009 0 obj << -/D [1991 0 R /FitH 398.638] ->> endobj -2010 0 obj << -/D [1991 0 R /FitH 366.944] ->> endobj -2011 0 obj << -/D [1991 0 R /FitH 336.987] ->> endobj -2012 0 obj << -/D [1991 0 R /FitH 318.314] ->> endobj -2013 0 obj << -/D [1991 0 R /FitH 304.857] ->> endobj -2014 0 obj << -/D [1991 0 R /FitH 278.339] ->> endobj -2015 0 obj << -/D [1991 0 R /FitH 264.329] ->> endobj -2016 0 obj << -/D [1991 0 R /FitH 250.319] ->> endobj -2017 0 obj << -/D [1991 0 R /FitH 236.309] ->> endobj -2018 0 obj << -/D [1991 0 R /FitH 218.189] ->> endobj -2019 0 obj << -/D [1991 0 R /FitH 198.015] ->> endobj -2020 0 obj << -/D [1991 0 R /FitH 165.885] ->> endobj -2021 0 obj << -/D [1991 0 R /FitH 146.147] ->> endobj -1990 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F70 508 0 R /F49 457 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2025 0 obj << -/Length 1333 -/Filter /FlateDecode ->> -stream -xÚíYKsÛ6¾ëWðHMC‹7<“ƒcÉ­3éXµ5ÍAñA±i™[J%%™é¯ï‚ %R©ÈvëL§‹ }»XÀ4šE4ú¹÷vÜ{}j"K¬b*ßF (QJGÊ(LGã›h¥ý«ñ»×§šW—ZJ¸ÕÈ'_tòËñh<¼è'œóX“~¢µ‰O/ŽúOƒáÉù`èøôh!½í9÷þìi¨‘"ÌÚµ"šÙèú¡7¹¢Ñ N¾‹(ѨÁ·|éCÄ9#BßG—½ßÖiE¨a‘’š0¡¼â£ ½rjE€–G ±Rú©TÒ÷øù<—„QUŒ&àiF@È&õ Bn ¥j‡œyrŠ*ÚuU¶±|‡˜od+kÔ[rMLúCIÍ1ˆVs"4Û¡-­¦DÀ«ÑÓZïV·é½%”ë´ùì¢ê4S5§ Î~Ï1ÆÆHóÆjùý3Œ0䡘!ˆû"ƒ0¥1m>…{vÌs¦Ý|Ž’ºµå"haÚ1ßÎö0}’¦Dˆ¢iSØÔ՘ª°OŸUÓo5>™õåD G@¤`eyýHË"\–Ä‹ù¦ú +øm`òј{[0qÞ›Še¢5Хߛ*‘ÓPËæ‚\uÉq³eæÌÃÌC0è{0ÿxmU7îáŸÀý³û¶M[^ðƒÚÇW‚~øwÑ®øB⦮i*hkë¤PБàø¤Eë4îO?ݧe_$ôºSˆøƒ›I³Ù]Ÿ™x½ró"žÎoŠn)ûš­Ë•»],ýü°ñ´Ÿ@|í¨îüìeºöƒÅ­_uüµ/U<Íî·‚'~j´Lo²ëµãÜÕ‰¡ÿ ì,,QTm7×OåÞº]9I$úúxµÊfs"a+^‘›&(ƒ48] ÍHJŽÝf¹h}W(fÈxzÿ¥xý+].H]xw[DNÂu8E¯Û=C1c|ׇ#g+ÿe¾˜'NÄ+|µ&ž¶Y„ÙC˜{MÂîF×mrR*6¹W§k@†ÀvO˽"€ØrÕOˆ ΰAòíìNB!(AðJ>ñ€X4—îtt'çÃÓÓ˦xTì&´“ÑÛ3}…Î÷»RØFJUÄ ¶ºÙ(xt ,á -~Ü@ÁË -ÚŶ‘Péþ8±ÿjB±—‹kàî×Ì'Œ†Î½°'XüÊ|°l=Xº+Xš(!Ü`ñ— ïJ*Ky#©fo§7ämÏó¤í´ÍùŠheCêŠh»YöæMS 7Ú¸Ô Òå:›ÏÜÍŠ,4ÆA~øÇgqøÏóò}ˆ¯ÓÕ*`Œ»Ç1À³ùç/îžÁðøót9}H1«£à-ÂpÜûTnòN -endstream -endobj -2024 0 obj << -/Type /Page -/Contents 2025 0 R -/Resources 2023 0 R -/MediaBox [0 0 612 792] -/Parent 2022 0 R ->> endobj -2026 0 obj << -/D [2024 0 R /FitH 686.127] ->> endobj -652 0 obj << -/D [2024 0 R /FitH 442.962] ->> endobj -2027 0 obj << -/D [2024 0 R /FitH 411.364] ->> endobj -2028 0 obj << -/D [2024 0 R /FitH 397.473] ->> endobj -2029 0 obj << -/D [2024 0 R /FitH 370.688] ->> endobj -2030 0 obj << -/D [2024 0 R /FitH 343.902] ->> endobj -2031 0 obj << -/D [2024 0 R /FitH 317.117] ->> endobj -2032 0 obj << -/D [2024 0 R /FitH 290.331] ->> endobj -2033 0 obj << -/D [2024 0 R /FitH 275.501] ->> endobj -2034 0 obj << -/D [2024 0 R /FitH 259.233] ->> endobj -2035 0 obj << -/D [2024 0 R /FitH 233.885] ->> endobj -2036 0 obj << -/D [2024 0 R /FitH 208.537] ->> endobj -302 0 obj << -/D [2024 0 R /FitH 171.719] ->> endobj -2037 0 obj << -/D [2024 0 R /FitH 151.503] ->> endobj -2023 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F14 574 0 R /F49 457 0 R /F11 573 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2040 0 obj << -/Length 1528 -/Filter /FlateDecode ->> -stream -xÚµXKsÛ6¾ëWðHÍ”Þ{éÄ–q¦±ÛZíL'ɦh™=ŠªÛüúî$EJl7Óžöõ}» æÞΦ£7—FD)I5×Ñô>bT«ÓH[M7Ñt}Œ ±dœcã߯'7W×ïƉ"žœûö—ß.&WçÓ«›ëñçéû7—¶wžà–mà6w£ ÷Œh#ÀÅtôuÄ K#¶»[bxåËÑÇÏ4šÁâûˆ“šèÉm]FBZ’JüpÝŽ~õŠôïÙá¬H+C¸ÔþòëlYŒI-§cnãÇ 40'8“ñmù­@á"Æ4I…ŽÆHª”ÿøUô®¬7Ð:"a‰õ÷Ü–óU1ûiœ0Ni<)6yU>Öåzåí”­f¾SØ×Õ˜Åeîº%t׫3NØ("%FE¦ö´Qdò.xñRŸßL.&‡®3‚0É[Ï]­Ðdu1/*§>šçmUeΦn‚G5° [s¥ãëµë¨øíÊ_9Ð2Â)kï¼>»=‹ "m·%)Ųð²eeœu’¸áúÞI”HN•û>e*›oP 4.W³2Ïêr5DZŸÀ5Ð>øå»ÅÚE‹›û² Ù « -ïßÜo3ÐŽã„¥jøñ‡³à†ÛÿÛ âenàD[ѹáCÈB¡lØ£} J¢$ÑZ ¥ß$Z«Î^Îö8±l ¸ñãûu…Yã“¾î ¼—Y^­½†Îz¹Îo../ŸõŸ€0@†¯ó#:•CHh’ÁŽ?Ǩ¨«ót€Ád¸Nµ{>QÊ5±DÁ7Í-áJÍúáš:·àô×m¶Jô_ÀõýjàK$4¤ºó©ï4ž,Y:/»xÀ¥¿ÆmÙb[±ã<,¤Üy؆ŽôsåÊ·ßÊyò-›ûÁºJBÇΊŠçTÅ¡@ô¯M4AN•2‰»÷f[?nQq+âǬ‚ÄSÕæÇã¢H-‰F>)Š †Êy,…³x$• ôsžà&}&çQÐÒË rž>’óŒ<ÈyróêªÌqåD–“B)Åé,0CØ#ÝkNC -&Í÷C[…¶h¡mŽBÛØç -ˆ…ræh35„¶D†Â…5Ý’{tà -¢Û)é`ìQnˆÜçhm£B–Úº¶{0åÁlöèº9øÚŠzhC»ƒ6 Ö•Cq"SO -? µgàÌNØÍŒSU²^Öp£ý‹qî©\,ü7w°fâæ€íc˜U²ºIíá(†ÍêWƒ9ÅB*ÉÊßüÇ8«2»[8cCÞØnŠÙ bœ’”}/±9p P}báÚª}bá¦O,© ªï¨¥¹êt-ý^á)äOþz^±‡p‹Þmhåç··S|1xV8Ö0=ÖPà9­NQŠìTU€¯ƒŽ> *5Å°Ø©^Ça¾ö‹Y¹r5ÎÕÞ!ð¸jè—ë d8˜3o^àY†A -Ý•³~ê‹+]Fÿ!’õªðDãØ;ecžfØy S¡Gû;öp£ª¸‚±¨ŠUÞÞ÷˜i‰'3–bªöÙ «Í­OòwàFÆ‚™ciá±*à‘P£!pˆ†PÆì á§8ßš<(J¾­ª‹†‹Ö}-t«>c¡B h`‚‰Çi 9pG^o³…ï»c¸î‹Ã{|ŠV¾_·ß´Éq]úŠ@Ñ„ -pCûxð »2¡=Š ¯²Ðûo¯-Uø¦+þö]—  ­ÛµÖþÆa&¼ýMì‚îK{€Wßt3}T ûš4õRM—ÿIUTU0Ûª*š´‡Sµ_3ÝËæ².Ì[$GÕì8ä0DºjJ¨êŽ!-Ñ» Asq-÷0ä+(;äë ¦Á`a{Iã<Ë÷°#ÄH!ÐÖí`œ–\pÞ‘ËQ;5¿Gr¦¦âÂþDí;®v´ s=ĽÈ’;ú¶ PiÂiW+ãŒA&ø û!×û1÷/pWÕ° -endstream -endobj -2039 0 obj << -/Type /Page -/Contents 2040 0 R -/Resources 2038 0 R -/MediaBox [0 0 612 792] -/Parent 2022 0 R ->> endobj -2041 0 obj << -/D [2039 0 R /FitH 686.127] ->> endobj -2042 0 obj << -/D [2039 0 R /FitH 668.127] ->> endobj -2043 0 obj << -/D [2039 0 R /FitH 500.697] ->> endobj -2044 0 obj << -/D [2039 0 R /FitH 464.831] ->> endobj -2045 0 obj << -/D [2039 0 R /FitH 357.177] ->> endobj -2046 0 obj << -/D [2039 0 R /FitH 321.311] ->> endobj -2038 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F14 574 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2051 0 obj << -/Length 2207 -/Filter /FlateDecode ->> -stream -xÚ­M—£¸ñÞ¿‚[ðËX+ $Á^òús3û2»“nßzç@ƒÚæƒx{f}ªTÛ˜íîIr1B*Jõýe¬ütqµºøá. R–j©ƒÕs 4gZ›@'š i‚U<†‚ËÅ—ÕÏ?Ü™è4å,J àq@׿ü¼º½_,£( - [,I»ûËO·´us{ýëÍ-â¹àþöÛÕÅ¿/,y 7kÃŒLƒ|{ñø…þpf঺ ¢8bFà‡UðpñÏ.ŒV†ÉX}¿d[»XJ¨pµIømoIˆ{FÄáCù‡Eâ‚4agFƒ©Å§¦†¦xÆ+7·>HݾÉí •ÀGÊGn·stB ôH(õSÆøÀë–®÷2ÉXBáz›åÔ噳 …{Púi”5µjfÚ6Ì%hÿ!¿W¦ì,¦Ëóp÷ýò’# XÇÇ3‹XrðkR(?›<¡Â“›Cá {÷öÙ¶¶Îýö¡pu³<ýˆ-“:¾Arßok¤*1XyJOæ#Î3l/_‰¢8ŠõT4EhÁ“iÓÔÅw´Óf.ðɘéCÚýtõ 2ߌûhq\¼ùæí2üè>gº† œê‰®bï,éfèIS<~KñX:ËI:~áA‚ ¼(Öq@h† -I‹Z*&• –B‡+ 6º?t¢>3žÒ­,‘>¯DBhê…]Ÿ­­kÚ†VXFGCzóý'=ü‡ÎfåÀÄó"ë3ÚÚeÞ¿ÁymO§›ìÐóÔ“ópë:~x-ì¡Ôsã^VÕ\3ÚoÜ°!ÅÝ¢†ë€cß G¾‘Žûtðmï)CØBŠÐ£p<¥Ñ²¶/tòŒ®‡Í·ŒÇæûpe¶ƒbÙ—0“þÓõ–2um}ħÍÝ:®'Ò}“ue÷Ö4žD|mµ‘sŸÃ^é!1JûY* ñs„GîU™†Cf…%ì}óW·³cCM×Ñ`Æ ÉÌ bÖŽUhOçÛ¬ï}M6ïðÉÁf D®d4v(èÈÜ?œnÖÔ–1©åc“¤âã& ÞÎ&R1ÖŒÎv ô¡\P@~Z„(C|>7í™tˆ²nX¢’XïáSF,%qo;˜7½:MÒþ8œˆ–¼©`Ô ­ ìqIU9mÀ­ºµ~ %÷»®‚ÚâÇcÊÍjŽËîGr飴­†©S›ù¯é@6ôýUø²iªÁœ–³R~µ8àƒ¼î Ã:”®Ñö’Ô¶F’Pl²êy9ýÖ CÁùjtJi È;<÷äÔ@V1ÑIæ†gµHw’Žþùø ×N -endstream -endobj -2050 0 obj << -/Type /Page -/Contents 2051 0 R -/Resources 2049 0 R -/MediaBox [0 0 612 792] -/Parent 2022 0 R -/Annots [ 2047 0 R 2048 0 R ] ->> endobj -2047 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [288.555 384.353 311.026 393.153] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.8.1) >> ->> endobj -2048 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [269.46 290.076 289.163 302.031] -/Subtype /Link -/A << /S /GoTo /D (table.7.46) >> ->> endobj -2052 0 obj << -/D [2050 0 R /FitH 686.127] ->> endobj -2053 0 obj << -/D [2050 0 R /FitH 516.426] ->> endobj -2054 0 obj << -/D [2050 0 R /FitH 495.253] ->> endobj -2055 0 obj << -/D [2050 0 R /FitH 479.505] ->> endobj -2056 0 obj << -/D [2050 0 R /FitH 464.309] ->> endobj -2057 0 obj << -/D [2050 0 R /FitH 449.114] ->> endobj -2058 0 obj << -/D [2050 0 R /FitH 422.835] ->> endobj -2059 0 obj << -/D [2050 0 R /FitH 406.769] ->> endobj -2060 0 obj << -/D [2050 0 R /FitH 383.729] ->> endobj -2061 0 obj << -/D [2050 0 R /FitH 367.663] ->> endobj -2062 0 obj << -/D [2050 0 R /FitH 342.687] ->> endobj -2063 0 obj << -/D [2050 0 R /FitH 328.558] ->> endobj -2064 0 obj << -/D [2050 0 R /FitH 315.536] ->> endobj -2065 0 obj << -/D [2050 0 R /FitH 289.453] ->> endobj -306 0 obj << -/D [2050 0 R /FitH 263.178] ->> endobj -310 0 obj << -/D [2050 0 R /FitH 174.492] ->> endobj -2049 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F70 508 0 R /F49 457 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2068 0 obj << -/Length 1471 -/Filter /FlateDecode ->> -stream -xÚ­XÉrÛF½ó+p«Ìñì‹/)Ųå +d@$Q!#Û_Ÿ4(XE:Í`–žÞÞë&i´‰hôËäçùäíG#"Gœæ:š¯#F5±ÚEÚj¸‰æ«è66Ä‘éÌ_xÿéòf~=å6þãýüâÓåônþÛÛ¶'BpKŒ6ð@s™QáÏLhûf4 fkÇ–ÅtBWéj:ÎÆYŽãÅåüú §ûpäÍt&™Œï·Ù.Å­d·ÃIQoÓÒO]¼˜²x‡W–^ß¿*\?Ví¥"“5Žp'»¤®Q ,ú»÷Sn✠…‹ç[œz£À cÄ)…FÜo‹]:;d_S¯ŽÖñ¡LWÙ².JüÌ*A…U»²ÆŸ†ÉºL–uVäI”µŸ)ÔVI`(~î çÿx]Ó‡÷–Å~6¦çEäiî/Ô^+!P;!ãïiY¼Á¥Æ÷Yã1øD-áÈ6Ù­;;a£ogO’·“`†H×KP‡+bFuæX+â‹|*x\—‰ÿ”ñU'5Ø`‰°/]ä‡c×ÀGÉ>…ˆUï§#£”X.C:^‚Õc*͹fŸŽõ^™|˜Oþž0K#ÖáF ¹-£å~r{G£l‚æÄ8Ý7G÷‘‚æ/ÉïÂÆL-T¤¸#ܲVox¢¦•Œç>¿ùšØ;Žn²ï˜‘Œr·ñþB]du#kN ¶š¨æ&Ûäéê'ê“í<­–evhS B™äô+œ—iU—Y“¦Õ®éƨSWHgŸvÅ ,0ˆŽÐm诮?œ?´”D».ÎüÀ -Œu)žnÒr g%$øÖléiиÀ‚C¸Ò7ÍDÅg Öl40ÙSî eƒ -_(åcùH˜ìØÑ¢°¤S£ùD¨³!}0€7(’ìŽiãu R m‡ÕBY‚µ  L -ÓÙÂ÷bÈ“äÇA•Ö§—xv~U*M$³¨øŸSÆ•Y²Ø¥âßÓÇX“‚xçePãÄB4$gD‡r‡Pcš6P³5ë¡Æ¹PW(ã^€4!Ù#¤ @Ú³`&©Ï‚g£ÌБ€ç£+QÍÅ׌ ð¸ÉÛÇÖLJcqŠ¤v*âmQfß ¼ÐÔ6X ¦Y¾J¿†©y[lèiv¶ä=ÐÖê5ÅâÛ«éÁÀÒZÖÙ2 5/”?Ùi/ZíJå¨öãF -ìñ¢|†<¶Odh ï•WÉ©×ÍÛëË+$|Ÿ]šÝ -ÇŠ~–oðc_”íåz % ¹WyKHÌ:A¡¸ ¥†ÂO`'ß8RïÇ >kÉ‹I⤆,9v™'%É—4¼çâªðýž_:˶‡©Ú=O™~gÙö4iÙÚàÚû°W&ùæä8VÑ¢ª²E}þt¶TúŒT­.µ›¾p–Å1oyÖwVdØ 1ã{a¨œ¹Aù‹?N¡ dž&Í#Ûœmah»¶õFÔÚ¥þ8|ÛÁE8±.‹=Š£øH¨,æMÈôåîXeŒw'=>TBãx -ÄsýÀI Æ׶°c»Ê;F]`áꕬãÄYSÃ(0Ù$Ö&i7%'Rñ ÍxCå͈ΦÛ«yÿ‡ÖhH¡k¢Ý3wc2QB=é8¨&´ë«îN~ œ§AüXw­aÂü ïÿÜünºj õÿwþãÄÊœ$ÒÊWi˜•„ÒaO®Œ:mN{r7/éÉ¥”c=yË+ÿ­S`Ú-÷J 9SqmD®¯>?«Ö*&yÌéh±•ÌÅ÷ÙÊÿ¼…Þ‰š‡…å±,Ó®æÀÎa—äiw¸ñ·tPIOüÝä2]§ aú㲉b¿v7•½Ïcè˜>iú®¯~}5ó…Õñ6Í6ÛÖBa þ°áO˜ |àZøé¨ôK|БZ!»þÐSy¼ -endstream -endobj -2067 0 obj << -/Type /Page -/Contents 2068 0 R -/Resources 2066 0 R -/MediaBox [0 0 612 792] -/Parent 2022 0 R ->> endobj -2069 0 obj << -/D [2067 0 R /FitH 686.127] ->> endobj -2070 0 obj << -/D [2067 0 R /FitH 601.924] ->> endobj -2071 0 obj << -/D [2067 0 R /FitH 601.924] ->> endobj -2072 0 obj << -/D [2067 0 R /FitH 574.091] ->> endobj -2073 0 obj << -/D [2067 0 R /FitH 540.163] ->> endobj -2074 0 obj << -/D [2067 0 R /FitH 468.374] ->> endobj -2075 0 obj << -/D [2067 0 R /FitH 432.508] ->> endobj -2076 0 obj << -/D [2067 0 R /FitH 314.884] ->> endobj -2077 0 obj << -/D [2067 0 R /FitH 291.029] ->> endobj -2078 0 obj << -/D [2067 0 R /FitH 272.543] ->> endobj -2079 0 obj << -/D [2067 0 R /FitH 230.748] ->> endobj -2080 0 obj << -/D [2067 0 R /FitH 230.748] ->> endobj -2081 0 obj << -/D [2067 0 R /FitH 194.883] ->> endobj -2066 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F14 574 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2084 0 obj << -/Length 1508 -/Filter /FlateDecode ->> -stream -xÚÅXMsÛ6½ëWðVj¦Bð ²—ŽËM:“Äu4i3I´DۜҒJÒ‰_ß],H‘6íDcO{@`žÝÅ>ˆGç~›<_Lž%QÊR+m´8‹„åÌZÙÄ2!]´XEcÁõôóâ÷gGNõESÎTê`/ôâåÁñb~2)¥bǦ3ç’øèäàõœ†ç/ÞÎqŸ Úç‹É?]‰f똓i´¼œ|üÌ£Lþqæ@ÓW/z)­˜¸°ŒÞMþ³Â2«MdcR[:à›ì2ŸÎ¤q&^Leßlá+‰aLI¡ãwÅ·O .X*U4ÐC‹?qÃO‹¦†Vx)•°ðé˼+Î×ùêWØUkæõ²*¶M±Y#:ÎÖ+B¢Êë¦*–8S{<ÆqP)sê:MÆA§wÜ™DV& TÓ9OæGÇäÏ>f°—¶õ¦<œÎ,8ðÕ¡jòó¼òfó!,U•y,ý$ÄŒuf€IhHcã7ß1ñiœÒ)&ÁãAõÉñK’º'#xT·2Ÿ8—# Î`b·ÑŸwÍT‚%»—(ñ÷€}x2Àœ4ñ²­)–Ž¸°à®7Úÿ.ó8¸^¿ß3À,àeFá2*¹_Æçä%^ÔR뜲“dÑDl„lhÞÌi|¹¡;Yü³l6,-ð(EMS¾ñ¬ôˆg¨ú¦‹µŒ2õëŦÌgÁ¿˜«_¦`[V^åûàùá©ðL¤º~8ÐLšþBÂqDÛÿM³šã5Só}©ÃHÉ„½ d¦6¸øíU³½¨T¢âm†wp“Wõ/œ„kìã‘,Æ1­t¤RÍ„Ócþ‹‘°»ücïa1ÊšG³å¬oŸ„ÅÀÀ½’Îy|2?É€=U?Êbì÷XŒ½Å VÀÄ]¦ë•Iï2•dHT„îR:¡Íúd>1%±ÝVùªÀ¤¢Ï.({f -‚C&Cƒš ùèªniƒ_ #¯Þt}IɼʃC‡Ù]?fJãO”g¶L¤?øûi -ÆUEvZ‚}nmX=h2užó=ÅsA‚ëŒìçhñy—Ú.Õ¤Ôj—j‰dÆ¥C<ø^°·2Mi1ši rEýK6iáÒjïds|$Ùà¡N/ÀÓë½Ê’rœÇ -p‚ÈŒ?LáÒDoú/_›—wj½âª%GØ äˆº´‚81Wãle`Ä,nX¾nžÖu»ÀâH¯bµ&¨`‚R-­×Á‡&¸=L¨öôƒ=íÝ^t|¨Æa­\pƒî(=v[|—Z²:þi2£j#á±Êo‘™öÕ¢¯–¡‘ÂIÈ =Lžêæɬ”@‚‡N‘` vƒÒ‘²%ÍØÙ½½îµqgÙxJz–§w;9Ã,c×!!É…FO¢në6 [ýš3uq¹-o¨¿Ül ·Ñ"sš5Å%-lÚ}»—-¾2º×-Šøºh/fB³TëÑ8'y´¨8}A‘‡5H¦).˜=më o„ƒƒ´ÿ©¦ÑŽ€¦ÞÓnG@±ÜõöJÐw ÃÅÎBÞ\5u±Êï—§zð.Oûügd½^ÙšF;ée¹©á -§¨àÆWpúÜÜÎWçíÔÙ­©Vã_ ]4zÚ»Œj(õŠuÝäÙ -à1Ü`ùÑm•AmY¢@]@]»p·ÁUVRÁeænAw™“î*AGç<èç×[ªcøŠ a£!(©~vöþüæî -endstream -endobj -2083 0 obj << -/Type /Page -/Contents 2084 0 R -/Resources 2082 0 R -/MediaBox [0 0 612 792] -/Parent 2022 0 R ->> endobj -2085 0 obj << -/D [2083 0 R /FitH 686.127] ->> endobj -2086 0 obj << -/D [2083 0 R /FitH 440.921] ->> endobj -2087 0 obj << -/D [2083 0 R /FitH 405.055] ->> endobj -2088 0 obj << -/D [2083 0 R /FitH 333.266] ->> endobj -2089 0 obj << -/D [2083 0 R /FitH 297.401] ->> endobj -2082 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F14 574 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2092 0 obj << -/Length 1730 -/Filter /FlateDecode ->> -stream -xÚÕYKsÛ6¾ûWðHMKO쥓‡Ý¦3u\[m“q| %ØâT&U’ŽL~|Ÿ$Ë®'Ó^,p ,°ß~»Ü…qpàৃWÓƒG’ JbÓ«€à©8 b#Be0ç¡D šDRªðôðõ»ã³é鄪ð÷×Ó·ïŽ'Ó_^© -F’±„ ìb‚…™s€›=ƒ¨QP37­¸šDŒ$a½Ð0 8,õ•.u>ÓN~U¦7Í›K³ûg'VNT”î‘Äîy•ÝëeådEîd:™… '­²¹þ:׫I2ϳüz<ýn¡á,^Ð6Àù#BP"„;s^Ôf9u‡6ƒYQ–º2J%(rJ<½Ï*7j«ÛË*½Y-õ¼‘çæ— TÝ‚ªÜœ¸ÙdµLsý5ÍçíV+‹C·‡Yé9䥵°(çÖÆzl` »ÂIëÂ=Õ‹¬‘—ú:+r4v¡ˆHã6ÐNTãݵ9ç‘À8<š(æ|º¸3~šˆ8L—·Ú½·[I<`P‚ð°%ÐåçMŽ†bÊÚWeqãÔa·Ikü¾5s¶¼­²Oæú‡5:ÓeÂ4POÐ>bSøC|Ö½¬ªì:÷œ›'(æª=Ué?7åíGu8`"˜˜ÍÝRž µÃ9!2›Å¯>x´'ˆÚÎøΣ#±×Løõ†‘\Ó0öít F w3 †k 1âp¬ˆ”ððËm€¿õ‘’¥òA°I;£¥öu©ÓÚÅe‘æ;A—"©£âéÉÏnáÓHcÑ[ŒñæYF°chCÍt+™8bÉ·áÒsšµîl -ÎV¢ñ5é={œ³%ꉽ¿¯—ºªÖýE—Eý$"a6!¡×sÈtØw›ÌžQ [P²ómÀlMªÛù“ª€äÔôòÞk‹¤â™’*E‰’#ã2ô¸dJ=öþó2Ξ'›¾÷fSÜñG6}ïͦœðýóé½7ŸrÌwæS%ᨛÏræÛ[t"wM‘Hø0¸¨P}"5.¾Ìh Þ1Ô|XõçO_ÆIéêÏ8 -ñ˜¯'R*w%R†zü6Ï``HÃ#H·V’l¥’@ý‡è9-ÛÈ¥U±â«eëêÇø:F˜°ýƒjïDjòèü]eÿ>’ýYT"ÆÄû?=˜jÆ”Hv™ñäôð¯©A’uô=÷A;lz.Œ.|:LìŸ .Ú²]¯×Ö$äâÓã‘‘ø!wÖ·0"Éþ&–~1íaB["K$ ø¨D*‰ÝÔ©…¾‘?§Ë«è$»7œÔ¾K#æáI©çÙ¬´r -1•¸ÅoóÕmí–¯RÓjBf«ÜGípzð÷¡H×sXLÔ³›ƒó Ìá%è„FBwvêMŒZ™…Ëàìà7×l,%AÃ1Яé‚m“K%ááÔvwMjZRe_\G0D –ãNÏÖÐY]µDÀR™†sÎ ôüGÐÊ°ßh·³2[Õ¦ -²½/É6™®¬ê@ƒf°ÚƒÒ 0x¢vƒ1rj§L©Ûö²Ë¦jœo•ê‚à­ë‘õµù ÂiH¡`¡RÇqaqC Iûl^/ÜÐ^8È6zäZÃm¶áî&[Ø¡ÃÃP”Œ`ïÒÕðÆ@lo,\›=h½½”& dI7ªãµÂü9Ìç8\èìzÑZÏømLH: ¤‚7ù›b v¥ª1ôÍ$Š¥á¹ -yY–©»;2/¡ï¥E‡jkáK_KHŸäÞ ¸¬äà{O½å#åb£nXKÈ}˜v§‡¦J…³Â›f¹¹2ERZîlº† Ò-hü[9©¡€ùí§ ÃÀ> endobj -2093 0 obj << -/D [2091 0 R /FitH 686.127] ->> endobj -2094 0 obj << -/D [2091 0 R /FitH 626.339] ->> endobj -2095 0 obj << -/D [2091 0 R /FitH 604.421] ->> endobj -2096 0 obj << -/D [2091 0 R /FitH 587.928] ->> endobj -2097 0 obj << -/D [2091 0 R /FitH 571.988] ->> endobj -2098 0 obj << -/D [2091 0 R /FitH 556.047] ->> endobj -2099 0 obj << -/D [2091 0 R /FitH 538.115] ->> endobj -2100 0 obj << -/D [2091 0 R /FitH 524.167] ->> endobj -2101 0 obj << -/D [2091 0 R /FitH 510.219] ->> endobj -2102 0 obj << -/D [2091 0 R /FitH 496.825] ->> endobj -2103 0 obj << -/D [2091 0 R /FitH 454.477] ->> endobj -2104 0 obj << -/D [2091 0 R /FitH 454.477] ->> endobj -2105 0 obj << -/D [2091 0 R /FitH 418.611] ->> endobj -2090 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F70 508 0 R /F49 457 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2109 0 obj << -/Length 1948 -/Filter /FlateDecode ->> -stream -xÚµX[sÛÆ~÷¯à#5'Úì•Kö¥ãÖöi:“KOf2ih‰¶9G&U’Jìüú P$eÚ‰›œq¯>|»2ºŠdôߣ_ΞŸ¥Q&²D'Ñùe¤)’ÄGIš¥}t¾Ž>ÆJ&‹¿Î~æÍxi&…É<È ‹~ýíøÍùéÛÅÒ{±XzŸÆgo_žÒÐÉ鯯ONQΑä~f³‘Àe/q©= ’ûz×mwÈHM¼Í›ü¦èŠ¦ý):=?úûH,©AucDê’husôñ/­aò÷H -‚?‡¥7‘±Fx…7Ñ»£?æÌà…56J´Ƴ&¯à¿K8Ÿ/tßm¡—Æ0f´²ñ»òKZEJj®™s´ùOéäEÙµðUa•IE -6^󮼪ŠõÏ Õ$.>)ÚUSn»²®Ð‚6Ϋ5™²)Ú®)W8Ó>béDšÜ³ƒÍÒÇí0á„„¥‘ˬ° ©ùæíé ùÃØdÖŠ$3½7è“Å2xQ¡¥ºâªhj9µÊqÓäÁ”a|.ñnb’Œ¡]¿ªCÃÅÇhŒDÁDÐ@Ù‘ -°ß¸¬WáO)õ}5• -€È½x–ïÕÝú’¾Û¦Xƒ™ë†ºŸ H¾ÙÁèÑÒX‘t -¨«‰¢][i—a7Œ¼xµŽUg]0ŸX¡ÿkÅÃœ:ŸˆTÚ'ûö § ÌIáéý~‘¶¦Ì/6‚Í"„õ#aæt"´TßfÀ¸u‘S¦ã0ƒ¿ aæ`¢4­­"-ÕÂùì[ÍÏš±j6Ðà/×Ôþ¶Xƒ Bþ©±æåL¬ÙIæ`»¸ 5#”Úûð8Ä–ÆK°xfüa9é ½óktI©ãëº)¿Ô´+ßàdÖò¶àfY­‹Û¾I;:Úzè©‚O…1ˆ%+7áäâîÇ‚€˜ù„닦+W‚ i=ÃàK`Ž x„àŸ¡¹UOàƒ–‡é+èo­7U¶i;ê2‚c › ‡šôE8á¬Ñ™ð²OBì3MqY4EµbS]â¡9 Ty ±aÞý8¤hð=Ò9Ú,â„hÈ7=e³Ж3ÀYõïA}«jíTÜ«ÏklÒ‹cL/6/5é;O¯û.z{ç¸Ó?Б Øž²‹#{/0{¢ƒ3Kvæ‹v>Cµ&Èø®cÉ;‘À8„ê«¿Xh×UÁ`H(!#ÖÝ5ó:rYh¬ê›mÈ8°³Â¤Óµ´ñÞÊiv¥±›šÏ%h“y¹ ~É‚ªº£œ>Ÿ¯ëMAa²TVdöÀ×ûLéüPÓ<Ã'ZE3¤Ì^ç›Ëåh˸*‚nP¾X.@ÕG9‡þ×·‚ã,çªÂÞ@²u’4±6CîÃAœ &zÛàÜ'´,Ûû%ùpÍ"°óx€L´÷Îl“ƒ[¼Çd& +šôµFŸÄñ°lé ß VvؾàªÛ]³«VyWVWÜ°¤ו¡~ß"ŽpM=v£”Ý°±˜š±y¨ßÖ,âKÑÔÀ¨Õ2ÜflLÿ®Í¿š!è=‚ á…(n¨•zŒ¶\65Ï£NhNe8yhEPšòb·/±Ue2íM–“Ž‡¤@ͼ£¼4û˜ÊI~cC²Yì,°u -%2%(Æf€‰†<ð“¥–JX‡Ž‰pzdö‹‡ÌþbÎUt*´~ŠÉK>°®BNiØ_®óêQË{RËxûæ·™×<íE"Ýè5OÞ×eb8…HÙCó}Ê -ÈPÿ_ŸòßÌ>Ø!áà"ƒË >züZ=p/”Vÿ‚p("ÚC¶¹ìd0+Ï“ $ÔJý_õ×X ¢r ¶ÿÂíð‘ç3© -endstream -endobj -2108 0 obj << -/Type /Page -/Contents 2109 0 R -/Resources 2107 0 R -/MediaBox [0 0 612 792] -/Parent 2106 0 R ->> endobj -2110 0 obj << -/D [2108 0 R /FitH 686.127] ->> endobj -2111 0 obj << -/D [2108 0 R /FitH 668.127] ->> endobj -2112 0 obj << -/D [2108 0 R /FitH 634.254] ->> endobj -2113 0 obj << -/D [2108 0 R /FitH 562.465] ->> endobj -2114 0 obj << -/D [2108 0 R /FitH 526.6] ->> endobj -2115 0 obj << -/D [2108 0 R /FitH 188.918] ->> endobj -2116 0 obj << -/D [2108 0 R /FitH 165.536] ->> endobj -2117 0 obj << -/D [2108 0 R /FitH 148.457] ->> endobj -2118 0 obj << -/D [2108 0 R /FitH 131.932] ->> endobj -2107 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F14 574 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2127 0 obj << -/Length 1927 -/Filter /FlateDecode ->> -stream -xÚåZ[WÛF~çWèQ>­7{ßUÒõMN ¸mRƒ0ÂÑ©±A24ðë;£•u±×2šszúº¬fw¾™ùæ44øykg°õêÀˆ "‘æ:\Œjbuh« ã&\§¡!éõ±áñþîÑáÉà¸ÇmøÛîàíÑaïlðîÕmˆÜ£ lP|̨Á5[´Üsþ;è J §&èsØ@ ·ü Uô~°ÖGÁi_Qnçy:š¸- mì©P›o™Ýóåc1Kl½dö5éõ…á]O©0ß–·¸½ûVF¥•¢ùÇ;Ÿ=â#"Ÿ¯øÁ##*”,¼ÿý³çŒ@—‹BZŠ¶„œß{ÎA‰¨ÕD IÉ>Ø…TAŸ)Éõdêo/=›ÕꮼZ’æàQ–ij$à Vˆ'¸J"¥ç2Ž?üâÖ0Ù>‰¦ªÖ˜Òå³W•G¢¢?º}ãU%%Ñ÷r¨ç)&ZŠ-š¼-—Ì} mÃÍl®‰bì F'y¾hñ‡$›ÖFèõY˜öXèµ£’DyÛ*kঋ1p2-á3ZÍAÏŠpš9I-3ÇîÑþÁÁɲÁ†FT)›ïõúÚX0vš³d™§m`¶³,Æë–Aº-T˜˜¬øŒt’w&Üö9Z«ž±îœøR+æÂÆÄ‹r/WÒzœ£%à.!¡TG-n¡]/~ßôX>Ý/™“CõÀÛ:‚«'`;^²·;À §X†„ÉÊô0MHnM•½r`—8K†»Y‚ÁYÞÀb¾ð>ÃVß½{HGý‡xäN³¾OìE’¢6àe:›ížàáîÉîö¯ûëÜ`•ùËr%^i~Ý0?‡ät8-.lÞWšUúX<$ãäªFž;‰­„·h%¥y˜㱋Oh6„ŠÚǨÒ¸—¤¶™‚›¡ä]w=Äý¦.èk³™p–»÷ø‘Ùjæã-¥%« ºI=ž‚êôZÓo*¨F˜Y0ÕÞó̤֙I}3)™äÜLpQÔ1RP×=ð‡×ªpªFsÆk&aˆ®Sã³Í¤!ëÃuë;ïŸM¨þˆÒDÕŠ(»l)Ï$'K¼fÒ÷>* H=n÷S)¤¹ºnC&åÆ4·Ã©S)N+•Pö,Äh:-­çq^VøW1fÄ$<…~<~©¶ñr/6D¤CîÁb ¸dmz¦JO kf'¸-05¦8x†ÀðrW ¶´(t¼½ÂŸç.v00dTæ9…› `|œÅ“Æ!^» ‚5±ŸQ9lžø;KUêÞÌ|±å\]Gcäé-xbU_ý!jê -‡PÈA)UUq,„’Êt|ß³2$,ͼgðuÞá¦eÏJOœæå•÷FpÆ·î¯uHñBàsH iÏëPù ±Æ!Û†?. Áá˜|„Œª.ÓO¡*P^ÍÉψîˆo*gVªhÄZäPqa¥×sÝüÓ >m83¾,œÙ½)|/þ/¾|4<¬çƒ,b2Ëg¾©…¾¨Î ^ÈûÑݾ'Öœs®oŒW£TÏ Ð[¦ô꺢æ¬Ì+·yrA¼ÿ=×?VMα -endstream -endobj -2126 0 obj << -/Type /Page -/Contents 2127 0 R -/Resources 2125 0 R -/MediaBox [0 0 612 792] -/Parent 2106 0 R ->> endobj -2128 0 obj << -/D [2126 0 R /FitH 686.127] ->> endobj -2129 0 obj << -/D [2126 0 R /FitH 668.127] ->> endobj -2130 0 obj << -/D [2126 0 R /FitH 653.681] ->> endobj -2131 0 obj << -/D [2126 0 R /FitH 637.741] ->> endobj -2132 0 obj << -/D [2126 0 R /FitH 621.801] ->> endobj -2133 0 obj << -/D [2126 0 R /FitH 603.868] ->> endobj -2134 0 obj << -/D [2126 0 R /FitH 589.92] ->> endobj -2135 0 obj << -/D [2126 0 R /FitH 564.017] ->> endobj -2136 0 obj << -/D [2126 0 R /FitH 550.623] ->> endobj -2137 0 obj << -/D [2126 0 R /FitH 536.122] ->> endobj -2138 0 obj << -/D [2126 0 R /FitH 510.219] ->> endobj -2139 0 obj << -/D [2126 0 R /FitH 496.825] ->> endobj -314 0 obj << -/D [2126 0 R /FitH 448.458] ->> endobj -2140 0 obj << -/D [2126 0 R /FitH 428.242] ->> endobj -2141 0 obj << -/D [2126 0 R /FitH 394.701] ->> endobj -2125 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F70 508 0 R /F49 457 0 R /F14 574 0 R /F11 573 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2147 0 obj << -/Length 1461 -/Filter /FlateDecode ->> -stream -xÚÕXMsÛ6½ëWðVjZ"øþè¥ãØNÚÌ$©mMg:Ž´D+œÊ’MQiã_ß]dH‰²­‰í‰ ûv÷í>ˆ&ó„&oG¯'£WolâˆÓ\'“›„iJ´6‰¶š0n’É,¹Lµã«É»WoŒè.u”g`¿èø×£ß'§çãL‘2ÎŒ±é›ó£÷§aêäôøãÉ)î3¢ñôÓÉè~Ä`Höídmˆá.™ÞŽ.¯h2ƒïJ œô·_z›)ˆaøÃEr1:@a,‘J%ZÂ¥~Èo 0ÅhšNÆܤ_ïÆîévblÍ-{‚ñgç¯ßÿvÂÜu¥Öp j‚,NÆ™†¸þ¶s›Öż¨¼7hß[yUå¸à«ÿ©¤ê¹Êë¹Ò釕¨ôö¥6åÁ&;XIXI›@P¾k%ìmk­ØÅÊÚDK4Éu°x W7aºþ\DNÐΙR„iÖ÷Æõm9p˜&–¶‡ýIŸnÖ$‰4½YUaªÈ§˜­ŸÃÛý&®÷žÍâ.½ãª|9ǤÖ6l‚ƒ<<æåüq2m×|  u®1ê¾²[ÝúSzw9ÊÚ]îå°«©m–üÁppžÒ[hŠ5òŒžÖÑúÅ×±)T`ªM?.á=SZùøÁ'Êdµ®‡2yÌéQBkÚ$ÿpv>@Á‰j_ÀæÄhû¸ïÀoλÚDÁ!òi×µÞ½‚À:þˆ“2_ž2åTúe ôÊ›bœ«ëÆEg膦E¨H˜v$Õ-ñ‡pkû>Äæë„nÌêÖ‰ä)‹DŒ×žñ`r›ÐåCj%ÎÖžqmÆ©r9+þ!¡BK`³â}«.Šf‚Ù‘_/9qŸ®BöëiY,±jÖ‡`ûA‹6áž ðL€‡õ;@„ÖÏÇx} FÅ\ +¾› *Î*xÖ͒馪¢aâzpø¦ö×~èå²ÕYÅÓªšÙ¯$ÈAÕÁòq@!ÁfÌ -+½E7õÝP à]^š¬‹jýó~S„ƒ–@ù÷)Y– -ä&'šjGÉrj*ÙX(}[禫döö!«‡…,wRz!‹!örµÕ³²§gAËNñË#ÒUh PùËHW¡0ÊM8;ÞMkØŠ±Á´PG=½j Ã -Öó1ȬøsleŠúÝ¿a‡k™‹â¶ÍsœëÊFxõ²ž³¢S -¯ž¸ðµÅÔ“ã 8~à]ß¡~[ÙÖá»ç Sþâ×›*_„wÏ“°C>½!CÀ/ -¶§Z†Þn˜=PpA´{!rgˆ¤‘„ŒAíäU‰ý=Ñ@ñò ¹ j_†…\ƒ/èÿ™…\‚Ʀâ`ÚrQŽÿœ½?Bm2ÁÛ/˜»M¸HÇGn‰C¬Ó×D¥l—p¨ý\‡p -®ßH8œÞiÄû×ÌÀTîN8ð0‹0|óÄÔ@°]¹¹¯‘“]®Å2µléÙkcÛ7H†•XϸiyH…Ëä~q"˜iŠ‹–LáS”*¸<”Ýð=[@϶®oå ^•b•¢û"ƒkT°Ê£‚©‡rž=äóç Úƒš¦zËX&YÊÝ·¶!zms`].ç‹xiiú‚‰}a¢µQÑ“›II€BTº¦¤7ÏÇ_ -endstream -endobj -2146 0 obj << -/Type /Page -/Contents 2147 0 R -/Resources 2145 0 R -/MediaBox [0 0 612 792] -/Parent 2106 0 R -/Annots [ 2123 0 R 2124 0 R 2144 0 R ] ->> endobj -2123 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [420.568 540.064 435.29 552.562] -/Subtype /Link -/A << /S /GoTo /D (table.3.1) >> ->> endobj -2124 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [391.51 516.154 406.233 528.652] -/Subtype /Link -/A << /S /GoTo /D (table.2.1) >> ->> endobj -2144 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [376.746 324.813 391.469 337.864] -/Subtype /Link -/A << /S /GoTo /D (section.2.6) >> ->> endobj -2148 0 obj << -/D [2146 0 R /FitH 686.127] ->> endobj -2149 0 obj << -/D [2146 0 R /FitH 428.966] ->> endobj -2150 0 obj << -/D [2146 0 R /FitH 393.1] ->> endobj -2151 0 obj << -/D [2146 0 R /FitH 309.356] ->> endobj -2152 0 obj << -/D [2146 0 R /FitH 273.491] ->> endobj -2145 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F14 574 0 R /F70 508 0 R /F83 1265 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2158 0 obj << -/Length 2483 -/Filter /FlateDecode ->> -stream -xÚíË’Û¸ñî¯Ð%UT•Å%>ÀTía<žIM*¶Ëí%¶#±L‘Z’òÚ®ýøt£’’0'¹%h4~ˆ›E´øÛ‹Wë¿\gb‘‡yÊÓÅú~Á¢4”i¾He2ž-Öåâc…y¸\e™ >\]¾{{»þ°ä2øír}óîíòóúï¿\Ë Áe˜¥,`&³(Gœ‘]s±L„’‹ÅŠáTÚz[õË•H£`ßµK -ŠåŠº<,YÐiÔ\Y[Ìaká¿TƒCõC—z}¹¦FAÔô§ˆ¥E¥‘(áÂp’_—I¨úàhV ÁT›Õµ!`Û•ºÃ],V,ó8†? ó$!ÞïÛñ²@ѯ¯šM­©}WãúvŸ/ªûAd ƾÓeU UÛP«z;ÕLÔÚÂMÙ6úOÕ”Ôïôpè‹kE‘¥^F£cO$Çîî<ŽÓ Q@WÕ4;GåË8¸¹'„ZuMÃmÎ × ÖG^uš¦—ÚÎ*'(?ÏE«º^×߉1»ƒlÜ€¼«÷/aP0’HÌ8È©?Ô쎂”úT@l4K[5„|GæC¾Ú4,{…\X¢†e“ :l `Ç(K rW =J6N‚Ûƒ1-!(H¶€®bˆv‡¦PƒÙ€‡–ÀŠºÈ, Xt…–B¨ï;ìí*ÊY£„°ûïÔ.«¾P] ÖM}ktÀxµÙênEnBÓ`sÔjïñŸ#`À%þÀOÛ¯Šv·¯õN“j X9oêX<â/48>¼¨‡m{Ø€8EÄKY E‘|¢Š )Z²ptï°íÀÌÞœ8ºSCWù¾kw'Óöjõp èÔNƒÿ›Ù)…øÛ¹IЃGï ¶ÕŠd m -/0n‚—r¦‚C¨Ï)ÀdÁèƒý f8¢=‚vvíþ»¶·­¾úF-[À¬1>BNï³—C¦Å!8ö8„L­ [êmm0¢×ªÑ`ê1‚‹Æ"³Æ UÄÜ–q¸š›…•?Q=Ôv]«7êÀnw„Ñ6…ö1l¤ÎQ’§Zxœ˜Y–AZŠB–Ä6{à|\%Qü†ž2_œÏS_¦¹t™ïb)xpy{yñ«ó,™Ä¡#êK±$äɈðú:™dϦóêÍí9 ž„">·ï?ÜúÒ~˜ˆç7ÿ¼òЉe(#ñt^½¹ñ‘IÃ\$'dä¼Ô/IÃHd'‰r¨Î‰aÁÂâLj%aÆs‡°¯ý4>“ÏŠç!™Ÿãq˜Ž¬ÿ^EbÀyœœ—ÄH`ã2—ùTJÙ€‡°MõÕÔP áVö«©AkG.£E·YPヱ{DJC°ÚS‡0+¶DÅ84ú%øô`DnLDÌD˜%ù±¸M^9KÈ.ÚB3Ñöa¼s±”"XŸ8ä -¼*ØËCΉ&÷úìEùh]y -¼Ðkµå2Œ²±š½|wu}í3·$d“ }ô)u^ßy ZÙhBŸ?FŸ ìn¦÷$Œ§ó)ŠÄ9 8MÃI È .ƒ:=ÊHt,'|á•ÝiØZc&Aaô.¨dTe@â§öTPLáw¨æïÔ.»v¿§r#sãj 蜔c½tÄ]t¤÷ø1½Ÿ+6/KÓ1À¾¿ôÆtRª„vMvÏ솄r*â,‚ /Ž%œü?£üd”ô?Ê(pþâç2 -¨ÿ¡Œ’„IÁneÿOæDòæ³bKTÆϱaI*Ã\žäí dÂÆu_2?›Lœ¿¦^½Æé­LzªÉσœŒ´³h.n(1£1ö>åÂÞ²Qeö !Ö¦®–º©xIª)êCouYø¯'[“¡Ìyd -˜Ÿ¢$RðaOÅÍ#Þ“jî8ûñÃÇ|®2/™O†<–ú›kÒºfÉDà‚}Æm!ÑuîlÐïáµ=}f&÷œ3Çrp¬)]û$+¡¸yƒSI’Šà*Ü„(H)&+ã°Ñ,Çfv¤Ü˜NS˜ìZ:Ô ŠÕÃZ…SHtŒ1ög¿þêõÒtDFs6s–´4º;kï°9‰çüÙúËl™Ê–e×ÕÝÿ×P„É#«š×)8Y - »"žLñî SüéÒE"L{VíÆÿ›µ›Ïk —%; ‡ 3®â«þb{üß)þ<üÆ2}¶œU³3³JL&%)ñ¤†L˜QeÂ)”AWQw¬!æ¯!6Õ€?«!‘H3:ª!Íeˆý‘G{ÊÊ“!‡ØÙæÊçËãʼíéSžß‘¦ŽŒïiE=§D&å‚„ÀMáÂ`§`x%ŸÈxºö|O‚5Åð$¸i–/K᣻Þñ²ýŒ­ÈÈQäî~qYð×ø7Á4EùŠÁ ÝÚãhO€^ïUG7œnÞBn ñÙe"Ôj¥ÂØJOsÌ$s!ì5â ô]ÿ1k;Õô÷m·£®aþx)Ü™+5è& Ï89‹ù¼J¨Í˜tbÀcskÝ<›Æí¡MeÆ)×c˜¤Kð‡¯L¯&Â,› ©•¡»ª ’ajr$ÃÔi1 úBÕæ®t>uþ0€ýÑ™Iè^ƒ)®Æ¥³#M?|ÁªkàÚA"‘6ºàˆ½…vÛ Û¶â+ÿ6ÀØKëÄU¾8ÝiÝÉ€rË DÌnš ã>ˆ¤GA÷íÇ%³¥}¸À†ñ9³8,V¤ n‚Óƒ¿êûÃÎXŠ™­ì°¢__íªZYÚŽ7\Ïñ6Râ¨w¼PF³óÜ¿CÍoâ,O­6±|¥¨®$€Q>6Ü 1]tMÒ}•ƒÀŒ—W2 -úÖá ÿØRô+«¯)Bòø#øbÈ÷ôïôï‡Ê¼–>Q»§7éB6fÎ ]zzƒÆüéMÆ3_”1UA#N;l©[VyðQ'É31ÌSš·vž±-ÃDå½Y·:âY4êˆg Îº¦ÑÓ 3‹\LÔÝÑk–6fº-ýÛ=m¬3IÉþQáˆNÑiÕ; -y #xo8¼¨ÑÚ#9ª§§î°íðå¥= ®¯mc&éHÒk 6¦‹~À1" 1…­Røø!ƒ~[Ý›W³X¤Á»¦þþhÐØÜ·±aŒ£7O¾Ë(4'aר¦?Ày¥´ç+˦ÖÊD.À´ãU¨ŒÞ[J‹Doûj—L-m¸«âj£Ð[/_­_ü 1í˜ -endstream -endobj -2157 0 obj << -/Type /Page -/Contents 2158 0 R -/Resources 2156 0 R -/MediaBox [0 0 612 792] -/Parent 2106 0 R -/Annots [ 2153 0 R 2154 0 R 2155 0 R ] ->> endobj -2153 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [360.716 503.571 383.188 514.419] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.4.3) >> ->> endobj -2154 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [359.26 402.782 381.732 413.63] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.4.3) >> ->> endobj -2155 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [374.709 339.879 389.431 351.834] -/Subtype /Link -/A << /S /GoTo /D (figure.2.8) >> ->> endobj -2159 0 obj << -/D [2157 0 R /FitH 686.127] ->> endobj -2160 0 obj << -/D [2157 0 R /FitH 534.047] ->> endobj -2161 0 obj << -/D [2157 0 R /FitH 488.98] ->> endobj -2162 0 obj << -/D [2157 0 R /FitH 469.206] ->> endobj -2163 0 obj << -/D [2157 0 R /FitH 450.54] ->> endobj -2164 0 obj << -/D [2157 0 R /FitH 430.767] ->> endobj -2165 0 obj << -/D [2157 0 R /FitH 388.191] ->> endobj -2166 0 obj << -/D [2157 0 R /FitH 366.979] ->> endobj -2167 0 obj << -/D [2157 0 R /FitH 339.236] ->> endobj -2168 0 obj << -/D [2157 0 R /FitH 324.001] ->> endobj -2169 0 obj << -/D [2157 0 R /FitH 299.302] ->> endobj -318 0 obj << -/D [2157 0 R /FitH 269.58] ->> endobj -2156 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F83 1265 0 R /F14 574 0 R /F70 508 0 R /F11 573 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2172 0 obj << -/Length 1938 -/Filter /FlateDecode ->> -stream -xÚÕX[“ã´~Ÿ_á7œ*b,É–d^¨ag–*à6uêPÀƒÆÑ$*| ²3;ï§[-;ÎLv¹Ô¾ðI­V»»õõEÉ“]’'_]}¹¹úìµNª¬’\&›û„É<“R%RËŒq•l¶ÉO)cùê—Í7Ÿ½VbÉZ器È L¯¾¾þÏæö‡ÕZ‘ªlµVJ§¯¸þö–H7·¯¾¿¹E9Wyüúù§×L•YQŠd͉½nšÕºÈuêº×éh}k·ÎŒ–¨«²LMs´­£?v5°mã²û4¾¾s#Í·ë&6oÞ–>eF×wD¿CÂ*jYU0²¬*KÒrë†Úø­ëv`,::{·Û[¿îýÖz¢À·šUa÷ÖÅ;ßþ“ÈU÷í¡±-ê¥`?Ð^ª ->/„N7{ÍÏUü9gEgÀ™BiÇ1Îïi´¦FY{\•)»!êèM7Ü÷¾¥¥&òìÞ°ìi440IîÅùä^œÏ·…uñôeÓ#WEÚš®³íãeú¦#âÁ›ztµý–Z¦îžÈ(,LÐí4{‡n÷ÓªŒ†& Û¬X`‘3™åª˜°ýsžsâZVgJ‹‰ÄqÁî 3~ôجX:ºCãêˆ&®à:M4ᇔŒ_s^dºTç>èïFã‚ÿ¸Ö3oë±yZÓÐìJÑwa‹ ŵ -W„”áW.k!BD¸IⲨŸõO´¬MS›IG`´µ=ÄC€í&@9ïðÜSô[¸Cp±Ù¯^úKeZÌûEFV Q†`?³z³G•k1,ÍwàѽHÈ#?ˆÙ"(ºÆs`ñĺ7#mµA|sv1Ka¦izŠÂ@6‘]ŒÂõZ%é<¥ !e]·Õ<ÅÅ92`îíÎ ÐvYðôÍäSDÄx(±À´1~²Èò<-ɨa¼J„kû8ÚnKÙ8D‰‹P"„§œÂSÄ rkbî5Á -ØÁ| -Þ¹Æ!¾ €IºÓK ò»>\XQM·Pè±H™U(ôlí„lŽäã`·xQò´Ç¯=Hxx9_ðý -­CÛ­QGò%R‚€Ö,E0ÝAŠ«×ïÏíóEÀ™}l¶4ð¢ÅÄ6!ËÉ*^Ì|Y0ê9ÓS»ÁŒG¿*YŠh†aû2fÊ"S|®±Æ»qßZÈz2Jp&hàôRÑvPó_,:d›®2U”çÆÅ´QªÙ6œÏ¶á"Ö6÷‚qB‰&1V¦Ìb½¥†éJq¸¡&G)!ÃX7¦=P’‰²/Ä<ˆZ0/èÌËhoŽEâÑQ ´DÀT‡­ëÎ7æ2*f^ e-/O?Äðò¥p„ž} !0žšƒgaGñ"@or…±rK{è¬'”å\rª3pn¡ÁacºIĽïÛ)–]<9èâj‡Õ¾Ž]ÁûbrŒ+c­‡qYëËX¦pÒw!á M•ã,ø`/„3Žµ(¡'}Î -Ñ@{s&ÃCü\¨Â"gY^‰E–—ªŠ*ª‰EòœÅºÂ”gyn1åÎÒEë„(Xúu?·]ö!–zð9ÆŸ ggÂ<ôN0šÃ¡y¢«ÕÌÊohŸ†Ä`8žF1]TË=ÚææÌj;%:)aò@Õ½àE-2}Ê:àÄü²g^–Ê;tD2/'žÏÁ;RÑ ax!‘‰ŒŸº#ô¤ÖG/Ò'RM4+`‚öôÒ”Jf\ª¿ÍJE¢·Ç(x쟹»›8½‡Ž²÷S;¯‘çÝ\7¼Pà>!o‡U3œa âˆPp!ßZP¶DòoG›‚ߧwP­÷½kÊ¿8mͯ‚ô ’]LÈŒ‡)‚²K‰BÛ‡ÎÁ«óˆHÅÞ‘¸]v?Ò|À^ç‰æ§J§ò´Æ°À\M­ë–XbƒÐÓÊÐAë"@tgÏ$†ÖìÚcs"Na’Ñ=ÃÅž.ÁéJ.³¸|z¹À;ApP~ GŠ›7¯6óu&tE‡ßÄœãáÝmU@õÕíæê·+ò„ÍÏc¡Š ŠmR·W?ý’'[Ø™™‚çð»ÀÚ&¢€Äð`“¼½ú不6DÔc!!@«"öIôæÉá•° eå0ljbEúÖýN«À]’=á•9^) -iøÖ’çmx}o‡¢HoìîÓcm9Äþj‹™ÚDÈu£w±8½ß…WêçÞ(*ýaoœ]' Ó |?«4'u|ß ˆ19ø›ø¯À.v9Ïtí½9UgÅ2%Ø™?Âó‰ÇØ¿†ôŠ«kpD ‰M¯m -A;¿¢lf±a‰iGW˜,£Œ:K©2QêsåNñ—}À· N‚åi|«°ÉEôí÷óô«¸ø( ç%¤ò3æ9|H ñq0Ï9^²&uÿÿO1/ÿ óòO1Ž˜?á]²À;r„®Èó¿HôvŒÄ}Ì<¯2©øÇ3ƒÆsp°é« -ÃÒ™»ÆÆ¿¨ðÍøùÙÿÓºýrçZb -endstream -endobj -2171 0 obj << -/Type /Page -/Contents 2172 0 R -/Resources 2170 0 R -/MediaBox [0 0 612 792] -/Parent 2106 0 R ->> endobj -2173 0 obj << -/D [2171 0 R /FitH 686.127] ->> endobj -2174 0 obj << -/D [2171 0 R /FitH 410.641] ->> endobj -2175 0 obj << -/D [2171 0 R /FitH 410.641] ->> endobj -2176 0 obj << -/D [2171 0 R /FitH 374.776] ->> endobj -2177 0 obj << -/D [2171 0 R /FitH 302.987] ->> endobj -2178 0 obj << -/D [2171 0 R /FitH 267.121] ->> endobj -2179 0 obj << -/D [2171 0 R /FitH 195.332] ->> endobj -2170 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F14 574 0 R /F11 573 0 R /F70 508 0 R /F49 457 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2186 0 obj << -/Length 1964 -/Filter /FlateDecode ->> -stream -xÚ¥XO“Û¶¿ûSè(ÏÔŒ(Q¤ÔK'ÝÍf¶3/™fÝét’´m³O¶JÞ$ýôRòßN߼˚!€M¢u”Dog?/g¯T•¬”©Œ–«ˆ'’²Œd!OU´l¢±b%›/”*âoîÞ¿{Z~˜§EüÛÝòñý»ùçå/¯Š#YZ0%(psΑg–xo–³/3Ë$â“:©˜J˨ÞÎ>~N¢‰¦J}u¬Û(S?l£§Ù¯dû±^ÎSVÉ\±THÒþ®Úêù"MT/Ñèï{Ø1Òñ“ùK£uQÉA~óœ¾ý”äɳzøuWˆ²‚ ë˜çɬwºù Ä•BÄ÷º¯ç Û9Í~0Ýn¾È2W»Ylu?XSãIï¼rÝYÉTvá Qÿƒ7‚,x ÐLÖ.Á -™Èøq‡¾ôZ[w1ƹ<½ýkk+ç1Ç¡8XÄO®ž¥pkÌ åqï(*~ ÷Åq±Ð­ÞjÒF¤jë¶uG‡•Ù™ÝšhÆÞb"ËËS«êƒµ£<ôèË<Ïãª=hÚv+ò¸®jdÚµ‡WªZZ·f§™“¿àEÊÒäìÞ€-/Ó-i¸°Â g±îýõ_“ÜAo)¶:[ÙïgƱۗ.iúÿ…~ÊYÁ³(—¡"< ˜+ððvßš*øLä2n´‹Ò“6–ÿóÛӒν&¾„[èoU=ÐÒ€¸ñM+Šq¤£çñãñãX^ð¶½ö. åÔã÷w—i ¦|J¸€|¢­qÙ“€DÓ¥÷Ù[d¬v@&!²ø©ÃDG¦Î3ÙŠÒÌ·!èpó07V/: NÐͤîù0ÐIˆÃäÔ\ÈáC‹,*‹·(õÐûÝ$6{ föºýN[ýå`|8xßá¹Ìâ%ÝXÂoE?Æ° kEp»aSy­Ù@ѺG\±·šž«ø€‘›‰‚rE ÛëÎYîBÁvmÍ_Îè•<ó^3¸× Šñ·ð²*'ú;mkVÉvo((§>oé %ÕÝž]³}¹ÑNÀ!rŒJL9!cOàrðL$3e+@zC Õ~o;¤3[©È‹÷ÆãðëlÃb±w)Ñw›Á«¹§ß1žų#bìÛíËÎsÕ»(Î@˜‹bŸH¸Ûè­VTõ~&ÒG_+1Ùí:¢Å‡·3y÷ô ÔI)âg ÿ\Ä}o1ά{aØqI¿¦í` ê1-À(_˜TœÊ«¡Ó4fäΦ2Ö#| È=¶¢jÆN,;ÿä;ǽ´xOsĽ/³„IÅ¡J!ËñÚ†/=áÕã–çÑ}@øë¨ ð,‚øÅ‘üK¼Ì –ÂY*s&ŽÜeÌú`}QŒÿˆ¸’»JÇCë¢é+íÞÚj¿¡j³ê¬//ƒOÏ@Ðú ¹ðRÕ™ ž‚ñ¹ü€ãY‘O5 Ö€~ùh -ì×Þ”‚‚É\XÈMNO¶‚EgC.à©Ãø…´ì ¸PÑgñ~AƒÉË—´pqéxÀ_瑉ðV–o7¡?.EìRUÅ/¦qÑ ÄA —óAÕŠh/¦?Tí”9Àí.G_7f,ý°ÝWvèO9È5@@×ôðv[¢WîõñpSe«vq-'ZzŸ[í -ˆ—f‹®õOkvµÕU¯}Ƭl·¥@hõÊw,Cç{A³ÞøB€j®¹çÍ.&u]Œ×Ø垺–®O|úÒþ´@ÒÙצØO§:R¯Ê]eÿ;I†¯Ì°!Žêö7Ý@CÇ)X0žåaHø”$ür’,w]cq)¦$UG×ÆÖ­³Zû}{è‰ìJ楶2‡þ¨œ´ñäRL bdÁèU)Ö¯ n¨¦’¤;¯‡É(8KJ„˜kJ¸Ï OAÔÓQ矗’ -@ŠqÈ¢ÐU¡ÊÀ"GtO(Ž§¡åˆIX -Nÿ¼bž´ -Ø®ã4äÇx¡ReÍ ˳4ÊX Í,]ÿS’ñËƆ1ÓR„Ý·Åyã›M90xŠô´íUG:GI -"%håòÒW%ÄZ¦‰LŽ£KC‹Þìn\MÆe‰©Tü ÑQÄ7®'Áeþo®W0™”ÿp=T¦Å¿¹žPüúõZÓ Ã:ôbK_ÁþÓM1™_uQ”ñïÔÂP_ç›>‚•Êø "â´/Úéo“R -"èÒvÄ6 !î`שD€j‰“” cl ôóÐ Ń•ô% EÖ¬ŸC÷?Á¿Œ×&tÅn{œâ˜þ‚Cé½R&äî}K¹uð%æü@(p Lðsì@E6ý×$8Ê— IS<* ­5P¨v¾˜™]ƒ½ÏqF¡'‘Ù©…÷á1§ó¡{»‚©8ûwH(;½5Ííªõþb“‰×Æé³ l_·:lí8TlWT$~¶;¬7Dö×H¦žÇuµÛu‘§á ¬gº›uÉO4×F$îüp„£f¦þé'd¢ë©p7Í–bœ-ýÔ䊖8?s²T9Ka£¿éúàS4ŒK%v-U æ[™Æ÷fµ¸Ú1òü ásîT -endstream -endobj -2185 0 obj << -/Type /Page -/Contents 2186 0 R -/Resources 2184 0 R -/MediaBox [0 0 612 792] -/Parent 2189 0 R -/Annots [ 2180 0 R 2182 0 R 2183 0 R ] ->> endobj -2181 0 obj << -/Type /XObject -/Subtype /Form -/FormType 1 -/PTEX.FileName (./idct.pdf) -/PTEX.PageNumber 1 -/PTEX.InfoDict 2190 0 R -/BBox [0 0 512 280] -/Resources << -/ProcSet [ /PDF /Text ] -/ExtGState << -/R7 2191 0 R ->>/Font << /R8 2192 0 R>> ->> -/Length 2193 0 R -/Filter /FlateDecode ->> -stream -xœÕ]ÍŽ$·‘¾×SÔm%ÝNþ“W/{Ù‹ÔìÌ ٿ¾Éøâ]Y^Lû’ Ó‘ Fðc0 ™¥ßïÇk¸ë?þûõÛí?·û/¿ý~;î±ÇýÛm1~»•A¬ßn¿Þrå5ßcÍqVÍ㨠ºõEK­Ó§Þè©žG:~½ýïî½å×rÿá8î?ÿ÷-††ê³Á>šˆ¾Ý~šu~yé\ý„ûóÞ7ôQM¿N,ßiÀPªèß„Nÿ“'ÂJ?<¯:.‹Ÿ-Æu—ÅÞµ®koµŠµ>(úóÄÃ̳h1OL^ÿùpÅèqA‡7Ïâ‹yP×›‡Û?×µ·z¼3Ï÷Š~È<Î:îÝÙlòHyCôÞ.ÙÌ’¬â{¶©ÙZ‹ï-òb°FŒÝœÑ¢Å¥àçêùæx:ü‡gâ‹÷A]giÿT×Þ*4›i¾[t™'äÖî……žlœ¨¼W+—ךü§³ýNCwsúÝ|~÷ñô:×½íù…»¹÷^ßÙ·{w¼«ÙZË»m¿KLíŠ÷Ÿ¬TŽY) 7;‡›žc{ÛÏŸ0GÆ6IÆÃn’Ž‡Y:¶ùöN×Þêû™ú½¢˜­Ù&k¶¹Zü»~ú@ŠŸ ùý4-6KËûIšýDÛÔl­åwô»Ä–5ZQwBpÁ -1Å€!~d1xD‰¡‹51°Šƒ!C¢¾¨©&×1¸âˆk@5ÀJcÚ'—bŒb劊žxV¦âÇ-87C"òn®Z2“! nó]Œ¥H+q6*,*M1 mœêh׉Ã]'ÎÞÃ"eÚGhHÖŒv²iódùîÆ°Ûµ• G+›=´×T.nú¾þûÛ/ÓÉÌ·FüÍ"ç«r¿‡^Ãk/÷Qîä‡æ߯³Fˆ¯…m¸Êô0•Ì*DÖ`æKP|ý=ìKÚØ} YléaC²zòpõyºk¢û7=]ËO=ݬbñý¢cƒ?™PŸÖY -ð#ÖßcP/À8š¡‡„t„?‘”EWÂb!€QˆâÂÐ|˜4…Žî¶KYcóÕ…'¬7Þ>Åæ¶R2Z9r²´MNÁ×’>Éi5Xù6Òƒ4œ¨§bjWê Œ×uÑÑ0¥hç¨Ý% Ï|XŠ\ È¡g 9v݈@¤} -Î`±‘.1#x‘ ›¦±Q‘ÑE60Ú1Ð<‹(.§‹ÃÔÓSlÙXÙ°ä„›)¦›¶‡ Å–v9˜“U7ËÊž·…=˺.õé¡Ø².s"PdU/Û¢^dM—úŠÇ"k¢Ó€£XPQ¶pãÁÁF¶€¢l¡ÆcOŒ’ÞÉéêMoçÐ$½CÑôvÉÕ§JKƒätµ'ZzØA±z*¦v¥¾àÁð\Ý·Á9äÿ'ùžz]Àh¤™:¿b‹fšÁÎœçˆùº5,²TÜš«¿2mÙA&~%Y€Þ᥇_mVâêê ì±®‹îƒ#’Z§IÏóe.S—©S óY÷¤ÖI÷‚™ùœ{_3‚UŽ„¦X¨w©=X’¬•’‡«Ì 0 -×BôQËgDÅg†Ï…R-ˆ@X §Fz'VªâÀ -X8•BŒ<œùÐKcq§ßÐÅ[•âÎ˹yéªky©Oó£îªPÚŽ’BO)Žõ[µ%1›²tï 39v›à±7W=`éÉK¢¬µ×çh õ(®®¾à¡±¹0º5$±w»˜ÝÎxà >¬ãhNøsÆz-—«íáZãpû0xPñê¨Ö§‡ª€¬-éÁÎAÔ£¸ºú‚džçšètx^vûšs¶/ ‡žÆhsŽrå #w¨ÙõŒØôÖFlv™#ÎíµÕ§òÆ wH†èÐÃ꩸ûú]ô,Ô×E÷A‡ÚxºèÄzhj„iä9bé–áÛ·”‰%Yj$–àE‚¦3@sžCEVºÑFˆAÍ‹ˆâÂÐ|˜4…Jt—™»ÏàÜÖvQïa¶u!=c»½8äò¢Ö~cuat:<Ïo¬Î<<ÝnNöíNåãíÖ¹°C_Áiœ¦Çh’ßj —¡VYpUƒ\²!ŠïÞHåu)‡¾w#÷!j×5ǵ ÉÅÑwœQ.µî.ó—šä§ˆvVÌæÇ©:z‹C~…µ’Ul¾Ç(N èA>HðkýuôïëÖíõ P<6×D§ÃÂßTÊ혆 ÍÐAЋ -ç N;ÌwCwö¡G,M.ÉÖž(ÛÛƒ±6ñ*‚Û݇ްtªÈP]ÛþžÝ‹tÕ%ù‡‹Ãü7Þ»{ýÜKÈCœÈ^[³¨—׸ެµ« < ·›k¥+3«¸úúUæ;“}Š‡» -уUZÔSñðõõêâò¹×E‡Ÿ8š,2^î¬6wÅÕ×ׂÉ^ ¬§ÅÃ×>pº.:5/ÀD–^Ϭ¶gÅÕ×ןÉ^o¢§yx(¾þðaÍuÑ©ñäÃEÐ!Л¬3ãЩqìsãÉ¡"v‡MèN:T$©®´Í0†±ï8uþ^&­ƒM÷òDÆAM¶ZÈøS -Ë+syî` .ʳ°kœLRsZ?Ö“hª¨~*oN ùTÃ…Ñ©ñ£Yvx5³Úš7xTž@Ö´ “;¼ÚDOÛàQysö–ïšèÄxœ™Ù6x¡H`Wª‡‡òì²&ÙÜà…2DÏððPÞœ€]±dã]ÏÒ ZëÄGdñ¡6¡9*/N@~Òä«ü| ZÓúEôD×¢•w'ЛK4]-!ÕÜ -hv¡’ùá?èKav,skGŽ–Ù‹˜kŽVDR]p.ÚÍ‹lÎï3À4sòwšÕyUQå§*ØÕh£`d/bÎFèçò*¬«m8Áh^ds‡Ÿ&]HŒùƒäH>E‹üñÃM4yR´ÈÒ¾¾FþL"žR"zpý+ZäϤ¾ß—\O>î4–üóVÙ#dFõ"ö©²Ð4b&ÒTWó(™1¼Èðïâg€‰Ï¨äKŸoL³?I†º |”j44¼HT·!4‘D\6Fñ"ö}u}˜¸ÞtSÀ4"üœªm -øWÎøë€l›‚ùàE²òBS£&’T>/ÑFˆÑ¼H‹nïò`š9ùó”ä¢4U±¢1þ¹ºá#{ Ô„Þqýª Œ 'Í‹l¡äg€Iæ<‚~C$oäóqèÆ¿æ4ºnüÓúxYêãþ$»jh¢—+Eýº[ ¨¯xø3‚Ë¢SOYÌI -IœC”7ÿ“ÅýXý¨_9€dx,PÄù”Í÷q=V¿¸„Ø…ÑáLÓ¤‹”æb© -î³^,YáMÚ××O;˜Ds"PäÖOáK?Uá1©ßüýÖë¢Sãñ=I"ËoÍü½.:2^ÒL1‘:VÉ2ÅtEˆÇ6Y¦xÒ¾¾fŠ™äæ’eŠIm²L1Cú>}atj<Ûä2Å"ßå®m²L1Á°úš)fr‡Gƒ˜4S¬êóú>}atºÚÊ7€ ‘ô‡²!üS¸Ñ/iÌè&ÂY5I|˜HQ]Å/kô(P(.[v/“ÞÅ4ÈbÓ -ÈâŸý¥ +†nAV\g„*‚ÜÕeš5‘¡ºpŒ©,CˆâÂKù `ª9åú)è²á¤}(ÿVrö8™ÑH°ßæzÃIûPÖÕ±ÐÚ+4*hm>¯èÛqEçÓ -­í£˜ë¢%$H*Ž¨$">B ÷«‰¸Î«´»<œþÎ(ŽÏ¥vaìåpb}ÊkµŒËRSqF#¸ì„Â:×±; $û]&±€iý$zÒŽrÁ¥2ìV“Øìšèt‡!—nAcA—(›–zþyüèÃxfd/’uÝ.SEŠê*>”gFó"-ºPå3ÀTsÊås¢9õ(*()‰ï7ⶥdFö"v®#ô†“’’üÿ'ض•Ìh^¤©.1çÅa~ôçy×w>¯….…ëRXª÷/ÿsû!ÿø·âú§Îf3«°L’ùi±Úügµ15þß퇰Ä{}!l¾ç´”ÎÒÿ¬«8ô×2Ö¶KߨôEŠSØk—×RÒ¸¿h~AõR_s®sÕ,R;¯âã¾0écÊåu}\ô2¨:5±Iw8õ®Hï¨/±%’ËÿB÷KÈùþ’š´ŸNû–žô-÷ ÕçÒHå%£rÛ*GéòË[ƒváô(ê›3Ç™Ñ4½ê÷ÓíŸÿf5‚ -endstream -endobj -2190 0 obj -<< -/Producer (GPL Ghostscript 8.70) -/CreationDate (D:20090924115428-07'00') -/ModDate (D:20090924115428-07'00') -/Title (idct.fig) -/Creator (fig2dev Version 3.2 Patchlevel 5) -/Author (giles@snow \(Ralph Giles\)) ->> -endobj -2191 0 obj -<< -/Type /ExtGState -/OPM 1 ->> -endobj -2192 0 obj -<< -/BaseFont /XKVMYW#2BTimes-Roman -/FontDescriptor 2194 0 R -/Type /Font -/FirstChar 45 -/LastChar 83 -/Widths [ 564 0 0 500 500 500 500 500 500 500 500 0 0 0 0 0 0 0 0 0 0 0 667 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 556] -/Encoding 2195 0 R -/Subtype /Type1 ->> -endobj -2193 0 obj -4737 -endobj -2194 0 obj -<< -/Type /FontDescriptor -/FontName /XKVMYW#2BTimes-Roman -/FontBBox [ 0 -14 633 688] -/Flags 65568 -/Ascent 688 -/CapHeight 676 -/Descent -14 -/ItalicAngle 0 -/StemV 94 -/MissingWidth 500 -/CharSet (/C/S/five/four/minus/one/seven/six/three/two/zero) -/FontFile3 2196 0 R ->> -endobj -2195 0 obj -<< -/Type /Encoding -/BaseEncoding /WinAnsiEncoding -/Differences [ 45/minus] ->> -endobj -2196 0 obj -<< -/Filter /FlateDecode -/Subtype /Type1C -/Length 1309 ->> -stream -xœeRiPSW~/¼<¨S@4yµµj) -("E´¢‘BˆKœÚäe1 ‰„e©¢W…7Ö kÁ„@+*…ªu©ŠV¤¶ÈŒZZ[kNïË\~4éL§?úçÌÙÏw¾spÌ‹ƒá8î-ÕèSˆÄ W¤yì`6ggrØY°¹|\qÜY˜¸šðÞðöªÉ]⛧ÁÒ7`áTŒÀñl{C¬Á˜“®Q©3èy%›ç¿ÿŸ',**ŠNÉù7BÇ1&*~×­˜Á¨gÒ2¢éXw¶N§ÙA«t9Fµ‰V¤¦2©ž²M -£¥×ht£Ñ`¦çÅΧÃCCÃBÜ""A£OÉ4Ñÿ§ Q´˜–0ªL"ýÿ æÄ&/Z±$2$4,ÃÞÁcÓ1ö&æ`MØ4ÌãcÞnF0/Ì‚áõø(GƹÆù“àJ¢Ý‹ÇûºÚºÙ×x3¤Æn@3×L~jÎÝ -€õ°õ³­•²²AXªÛ ]½Y,h‰è“\]÷ó@.xÙsí1•S½*.^¿ŠA²c{»ôKÝ3 -ÆÃIpÎÀ%óŽá)m…¡fåË^¶µe:XÔ©qø݃¶Wþü™l²k©ÀLîËسÇò¥ÄRFñO—+•eÚ í@nÙ™¦Öå(ÀfÝ ½‡˜K) Ì‘¼R30QkeÛbÂÅýÐW&Ì [š{’ä‹k/¯:ªöÕ¹;YÛ; -;‚ ïéÈë¤7QÀ=ÑìAE7¸Bõ_h¿î¼­:+lÕ–ïªL¤H_¶ØÖÆ>¿ê‡F˜!þ| êö×\Ï.¯¡øOîô6œ»2ãñú¯Êä­J¨7Zwe~T±/ ó¾óô7€ºé”‹UVUzºH¯7X?4¹‰*8÷»ÜáV ûóÇYÌÌa“ä$º=‘Ä]Ï hÿÕ0ŒþƒDkoP ‹à ®g‡sìÀ]w Ï~/€[ÈJPrè°½ýi@ÝjÎßkˆ!ŽòìÀþÀ½%Åe§:Šò:…§¼¼Ì£‚V.ϲØOê…ÚºŒ£f@¥Ùv§3½¦ïF‡šú.Šzœµà!Êî‘]”wKêÐäZj[3ëÕƒŸ‡%ÏVâZ)@d~RvÌ„­HD$@3Àâ¦E]²vùÓu@Á©c¿@!œóñäæ"F,j‚ÁÐ b0¬‘B)è¼`ìb,š†8© «mü.ì+kvTˆj+[œžq…öþœÝèzO0A’‰hnUa×·Õ'úA Ô“hëÄ8÷& Õ®ÙnR®Aã-œm…FÁ­‰ƒñ<ÖF—_#^ÿžxA@»û ¥@aQª“’Äh@øi4©7ùœ¼Ï4ú@WUÛÙÁþvHèCAE(| ù ‹w Fˆ‹ÄÈéˆù_0ªyNXÁ^.¿çÀ¡fŒ€Ýîhm(×Æ;^z¬¤äPµ½ªä( jXµ¢ ì,ÌÈ-°ØŠ(+ü¼‚·ì`îQðÅþêÁ -²upø|Œ` p– ¯T)É+øÄ}ÅB.ƒqOÇÏ?ÿ`øméæÌJ¡VcÕZâj÷tüÖvê F$‘Ë·-ˆ ¡5(‰»›ÁóÍr°›Pê [&?™ÒRæíý¤ÚÛÃþþÝk· -endstream -endobj -2180 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 0] -/Rect [251.415 508.073 282.603 516.874] -/Subtype /Link -/A << /S /GoTo /D (cite.CSF77) >> ->> endobj -2182 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [408.69 236.8 423.412 247.648] -/Subtype /Link -/A << /S /GoTo /D (figure.7.1) >> ->> endobj -2183 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [342.829 175.526 362.533 190.013] -/Subtype /Link -/A << /S /GoTo /D (table.7.65) >> ->> endobj -2187 0 obj << -/D [2185 0 R /FitH 686.127] ->> endobj -2188 0 obj << -/D [2185 0 R /FitH 668.127] ->> endobj -597 0 obj << -/D [2185 0 R /FitH 277.4] ->> endobj -2184 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F14 574 0 R /F11 573 0 R /F10 668 0 R /F7 674 0 R >> -/XObject << /Im15 2181 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2200 0 obj << -/Length 1361 -/Filter /FlateDecode ->> -stream -xÚÕXMoã6½ûWè(£ÃïH³I‹Ŷ±Q Èæ ÛJ¬"–]IÞmþ}‡¤èX²²Q°Ž±{E ‡|3oÞHÂÑ}„£_F?OGgW:2ÈH*£é]D$FRªHj‰UÑtÝÄ„Ðñíô·³+ÅöM FÌ(ðãŒ.~=ÿczy=Nc±BãD)_]Ÿÿ~é§Þ_^|xiýŒp³{{ë$8L¨‚IæÝÞeeVŒ©ŽkpcT|_ŽIœŽo`°¬üì*µ&öFƳq7™¿YÏê4/ÒÙCæ-·U^ÀÂ{W/³´ªÖnÙø›€låö„åëÆÌžÆ^]ÌýºÍ¶qÿþbêsŸ…ì#&rž‡ý¤<Ó°@öÛ#—ÆãR¸É/L”ùý2°æ»pZ¶Û¢ÂåÀzÝÖpbq8̇¢1Ÿ§ÍfO¼³¶ŽwaåÌÆþ±ïȳ¼NÊÌÓ£nZb2Þʆ%`á‡3àqùèÇO€ÄMí¼K9ca=d¸^Š•¨U}ÝëåtôïˆÀG$¢P‹ÊH‰˜âÑ|5º¹ÅÑx¤¢ÏÎti†¸0|ˆ&£?%…‚ %u$´@\zµð‚BÈž¡BĈ '¹7hk2l§7“ ¶óðO…¸ ÏÿkàðÃÖ1ÿô‰™.znôëÑK §oDí‚@>(ÆñD5É©R}ü¸ ÁTS,x¿) ¦¢Î é5åÁ4 ¸d¼ß48›÷Lr‚{MÃ'áÐT`Ý6•i> ¡€n£Åó© H`ú -"âçz…ƒ`®#€Œhè3SÇß&\“â'Îc"C òø|âmkõ¿|媮j—ÝJ¾ò¦¾3ÀÜźr³_ª½(aQÌáJ‘M‘vÁF7 õ8>¯ªü¾)÷é ¾íƧ±;ZŸ]ß÷ø5†… -øû°B€¤™æ¹sN)èñE)’¯pÅo;` "šÚ¾$@wv´²KN¹-æÐ¥–8Œêµ½*ûN`owÙ‚)'§À0ßRü ˜Zevã4æ—`¸K‹ðN®–Ð?²Ò7)bm:¯ËEV•¶ýªµY±”}]nÝ3 É|ˆ¨ ù@FÔ[rà ðÒª‚pC áë‹#H³ãø¹ÁNà v"nðð×u7äæÐÏ ŒˆÒGmâ-›;Ms`': ÉjH’Õ‰’LÞ2Éê4I>µÊ¿ü±ýå û„½hÙ®ÐqŠ;òÁÐZܾ}¼bˆó²N³§O.Ñó=lØu¾–Èðb1ìƒ8üþ~ƒïb…P¨õô‹Æ{¿ÚÿÂÐkä -endstream -endobj -2199 0 obj << -/Type /Page -/Contents 2200 0 R -/Resources 2198 0 R -/MediaBox [0 0 612 792] -/Parent 2189 0 R ->> endobj -2201 0 obj << -/D [2199 0 R /FitH 686.127] ->> endobj -653 0 obj << -/D [2199 0 R /FitH 475.218] ->> endobj -2202 0 obj << -/D [2199 0 R /FitH 444.355] ->> endobj -2203 0 obj << -/D [2199 0 R /FitH 424.197] ->> endobj -2204 0 obj << -/D [2199 0 R /FitH 395.128] ->> endobj -2205 0 obj << -/D [2199 0 R /FitH 373.032] ->> endobj -2206 0 obj << -/D [2199 0 R /FitH 353.428] ->> endobj -2207 0 obj << -/D [2199 0 R /FitH 324.359] ->> endobj -2208 0 obj << -/D [2199 0 R /FitH 302.263] ->> endobj -2209 0 obj << -/D [2199 0 R /FitH 282.659] ->> endobj -2210 0 obj << -/D [2199 0 R /FitH 263.054] ->> endobj -2211 0 obj << -/D [2199 0 R /FitH 243.449] ->> endobj -2212 0 obj << -/D [2199 0 R /FitH 223.845] ->> endobj -2213 0 obj << -/D [2199 0 R /FitH 204.24] ->> endobj -2214 0 obj << -/D [2199 0 R /FitH 184.636] ->> endobj -2215 0 obj << -/D [2199 0 R /FitH 165.031] ->> endobj -2216 0 obj << -/D [2199 0 R /FitH 145.426] ->> endobj -2198 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F11 573 0 R /F49 457 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2219 0 obj << -/Length 699 -/Filter /FlateDecode ->> -stream -xÚÝ—MÚ0†ïü -UñÚ^VjÑnÕv%šJ•(¶¤€TÁ*°•úïkÇ1 )„ödÇ™xfüxæ‚戠ƒéàæ^2ØH&QúQ"±–I-1e -¥34Ž68N”ÒÑènøøð%ÅLG_‡é§Ç‡x’~¾¹×•-€i¬¤²Š)g3 ¥Ï0¢ÅB1”0ë@Bi.ñž9'‚èýf³œ¯â¢t,&nÆ£í"óK¿c!£é¯—̯¹‹òjj…âúN4ƒW˜šIáÈoD+6Œ`®L0º½mîB5f¯ž)%T6„Û‰Á’ÈÒLuÈœ·d>ªíAJ%IX›QÓ°béXÙ(cÑ;?¤c99â7äf:ä&[r+üà -€«TI“‡)î׎j#Ú„rÀÜšì–å|(è4Öå/«Ó­ L˺m×nTÑÔ?R™<-·~ÉešÍüzž=çÙ&[¹2ÚN·ËõÊÛ<¹…?Þf–¯ŸŸ—«¹š®v¯T´XÎYž¸à½5ŠÚ¢!|àë|–åþ­ûMóö•ŸTÙR¼Poe'ÿGÙʬCæê̲ § ½”©—LN—;ãrƒÖ²#ý”´”]8,Ñ!hrYd² ´„MN߃.-žµò ýð¨{¤ ê1Ó ëÃô‚CÖqˆYÒÃJ»ºŒ‡è&KÐG«nì: Kµ4,€’Ë$sÞÝàôÖS7ÀNoÝRÐ[7?¤·nÝê­r¢êæ¯z[lôÖ=”zëeõ˜è¶*mHñdO.î7•KÂí·\‡[ò­y‹4–’…÷ec„À…øDh ´F_\§;Ê6úòíÒG«®JŸ^B?Pèç?ûçflÞ|ísrUúìúÄìcàôüû‚uö¼Æ>Œwéà/µÔâH -endstream -endobj -2218 0 obj << -/Type /Page -/Contents 2219 0 R -/Resources 2217 0 R -/MediaBox [0 0 612 792] -/Parent 2189 0 R ->> endobj -2220 0 obj << -/D [2218 0 R /FitH 686.127] ->> endobj -2221 0 obj << -/D [2218 0 R /FitH 668.127] ->> endobj -2222 0 obj << -/D [2218 0 R /FitH 651.848] ->> endobj -2223 0 obj << -/D [2218 0 R /FitH 632.242] ->> endobj -2224 0 obj << -/D [2218 0 R /FitH 612.635] ->> endobj -2225 0 obj << -/D [2218 0 R /FitH 593.029] ->> endobj -2226 0 obj << -/D [2218 0 R /FitH 563.958] ->> endobj -2227 0 obj << -/D [2218 0 R /FitH 541.861] ->> endobj -2228 0 obj << -/D [2218 0 R /FitH 522.254] ->> endobj -2229 0 obj << -/D [2218 0 R /FitH 502.648] ->> endobj -2230 0 obj << -/D [2218 0 R /FitH 483.041] ->> endobj -2231 0 obj << -/D [2218 0 R /FitH 463.435] ->> endobj -2232 0 obj << -/D [2218 0 R /FitH 443.828] ->> endobj -2233 0 obj << -/D [2218 0 R /FitH 424.222] ->> endobj -2234 0 obj << -/D [2218 0 R /FitH 404.615] ->> endobj -2235 0 obj << -/D [2218 0 R /FitH 385.009] ->> endobj -2236 0 obj << -/D [2218 0 R /FitH 365.402] ->> endobj -2237 0 obj << -/D [2218 0 R /FitH 345.796] ->> endobj -2238 0 obj << -/D [2218 0 R /FitH 326.189] ->> endobj -2239 0 obj << -/D [2218 0 R /FitH 297.118] ->> endobj -2240 0 obj << -/D [2218 0 R /FitH 275.021] ->> endobj -2241 0 obj << -/D [2218 0 R /FitH 255.415] ->> endobj -2242 0 obj << -/D [2218 0 R /FitH 226.344] ->> endobj -2243 0 obj << -/D [2218 0 R /FitH 204.247] ->> endobj -2244 0 obj << -/D [2218 0 R /FitH 184.64] ->> endobj -2245 0 obj << -/D [2218 0 R /FitH 155.569] ->> endobj -2246 0 obj << -/D [2218 0 R /FitH 133.472] ->> endobj -2217 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F14 574 0 R /F11 573 0 R /F49 457 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2252 0 obj << -/Length 865 -/Filter /FlateDecode ->> -stream -xÚå—MSÛ0†ïù:Ê }K’ÐÒ™–|h'p0‰ž'ØN;í¯ïJr2ù  ‰KdI«Õjßg™¢¢ècïCÞ;:±(#™æå7ˆiJ´6H[M7(Ÿ¢1fL&Wùç£#6M3JDfÀO0:þÔÿ–GI*„À†$©1ŸŒú_†qh0<> ½Ÿív_µÛ!¤Ì -Â)C)70(¢{ÉÉÖZ4N¥8O¬Àõ²š­KR®9ŦǶðÀL§×eÂp»M9«Ü4ZÔnQ»ÆU ·¸-Úr^Åñk?ð;ÚOëùbQVà`Šj=Ëñm9»uu:¯§®öA"fˆapÆH¦T<ÀuÙ6;GH×vpzÞÙIñèAû9Ê ³tÉŒh¹Vá{´Ø̧Aùj~,®¢í­óÿL”ÆÅÝÒÅñÑnŒÊA³åS1F?Ñ{·ØÞFâÜBer“).»u´—”Òý…§•I>–W{i‚P+»˜u³z+éWH ór€ø¡RÏȾ€²WH E_;@úy)öFRüUÒH¼ z(€Ì3’o õª™g´³GªQáŠØ¬S$ ý|à[‰O«Dpð?®nºÉÁqRBýÝ–›ÅŧÕbÙF‹EQ÷®…%ïÂÁ‡yï¡Ç`El}'熣5šÜ÷ÆWMa|wð_Áô ¸=úlRt‡.zçÝï5¤J!>¹íîÖ_aoP‘,yIгØ&ñEùÇ…ø3RïHzIõ²BË‚‘°ÄÂ^›6´÷à.“\3IR†kÏâ"²æE(ªiL?ØÖåÄÏ4Od¾ŒÙˆÌìÓÙØ5:³ˆ F„a1ÜÁùñ>AàŠ1½Bè4VŠ›u°Ó.)ýº.bmøIÈ mÀUÊXüH×t½~’jH¸–©»s÷]9Ʊbí2tç7±º‡e¬ÃTš†ý´!BÙíˆ<‚©€!õþ½`°»¤LOJ¿ÁmçK¯SØ×yÑ.ëâ.öca/ùä†l|¥´ ²Õ¢`õ ŇQ(c¯/'z§º½ËîÏñq­)¤PeÿMþ#Zx1)"uðÙ²ýgî~¦Bh¾¢m -endstream -endobj -2251 0 obj << -/Type /Page -/Contents 2252 0 R -/Resources 2250 0 R -/MediaBox [0 0 612 792] -/Parent 2189 0 R -/Annots [ 2249 0 R ] ->> endobj -2249 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [376.746 202.877 391.469 215.929] -/Subtype /Link -/A << /S /GoTo /D (section.2.6) >> ->> endobj -2253 0 obj << -/D [2251 0 R /FitH 686.127] ->> endobj -2254 0 obj << -/D [2251 0 R /FitH 668.127] ->> endobj -2255 0 obj << -/D [2251 0 R /FitH 642.224] ->> endobj -2256 0 obj << -/D [2251 0 R /FitH 619.808] ->> endobj -2257 0 obj << -/D [2251 0 R /FitH 599.883] ->> endobj -2258 0 obj << -/D [2251 0 R /FitH 570.493] ->> endobj -2259 0 obj << -/D [2251 0 R /FitH 548.077] ->> endobj -2260 0 obj << -/D [2251 0 R /FitH 528.152] ->> endobj -2261 0 obj << -/D [2251 0 R /FitH 498.762] ->> endobj -2262 0 obj << -/D [2251 0 R /FitH 476.346] ->> endobj -2263 0 obj << -/D [2251 0 R /FitH 456.421] ->> endobj -2264 0 obj << -/D [2251 0 R /FitH 427.031] ->> endobj -2265 0 obj << -/D [2251 0 R /FitH 404.615] ->> endobj -2266 0 obj << -/D [2251 0 R /FitH 384.69] ->> endobj -2267 0 obj << -/D [2251 0 R /FitH 355.3] ->> endobj -1943 0 obj << -/D [2251 0 R /FitH 307.03] ->> endobj -2268 0 obj << -/D [2251 0 R /FitH 307.03] ->> endobj -2269 0 obj << -/D [2251 0 R /FitH 271.164] ->> endobj -2270 0 obj << -/D [2251 0 R /FitH 187.42] ->> endobj -2250 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2275 0 obj << -/Length 1684 -/Filter /FlateDecode ->> -stream -xÚíYÍsÓ8¿÷¯ðÑ™%B’õeì°-ìÀ¡ mv¦ppcÑz6±‹í´°ý¾'ɉ¸¥¥-{ádùéùé}ÿžE4úsïÙÞÓW:‰R’*®¢ÙçˆQEŒJ#ea\G³<:‰5IÉdªµ‰^î¿=<žM¸‰ÿÚŸ½~{8ù4{óô•é‰H¸!Zi8À}̘Dž=Î|9Ûû²Ç`I#¶9Ni¢yÍ—{'Ÿh”Ã曈êèʱ.£D$D3üpï½óº÷ÏeŒ#t¤¤&\(úa¶´“)—ZÆ3TúÛ¼™h g">.þµ¨(ÂHÊ“hÊà)¥ÿø#•ô´hx2Ç•bÀ)}žã⬴ùï UØf^mQ•pB"â¬Ìq‘ĵmÚº˜ãNãü1î‡$%:ÙñƒHÍÍ~éX !p´×óèåñn¨@cª‹?˜Lùu‰žjí™­Õtè•u9WºMÈJÅÀ%L7p|˜®fqã(:~nщŽ×…‰ž2©&¦N™”ò]…!ÄJt,e©8súhÐǽÎ+¯~V”EyækÏ}”§RDª¡=¹W.)r ±‚`¬Š|•-ðÍÄŸ«Ú“QŠ[ÌWumý)c:]xysäø‡\m™B¥p~笶Ԝn¼ -ORtL‘.,ø>8¬›?»Aa ¦e¢‰J†Hw+ë~¦àAÅnS€êšLCbÂÕߣ%§Ðþî^‡šŽE†b˜…Ww^|¯ ûå7Jð8ã¸TñaåàHÌD´ÆÙZ-ÀØÕ2XZ”¹ýJü!u¦áïáúAÕ©+,Ä+ÿ²Qdëè¸À&GÚÍï°çhM’Ý¥çÄfjvÙÕ­#ek±S4¨úìÉìÀ¿û3O)Ê‹•¯uªD¦Cí.'Àœ-V¶ æ2à §[6¼ÿ‰ö&"õöâÆÆf$÷lÆW´Ÿh3>½ÍngÕN¯5Ýᢠ¶Ëžíãå$ÀFá^Í…3bX –AS¯Æì¼pí-‰/êÐtm¾ª­§e‹Â×½qá,5˜Ÿè†KÌX[7aÓ[ìuV6Ðú—á#ÈÅr-° -§øÇ°ë‡<šÒ°â\’¥ÐæË*ó˜{b@"û‘25/BÜšgPx eUέgs„ ›¹ãÎý['Ú™Š ãX–&¾jž€¦4ôBÇ@½+:ŒÃ:ƒ¹BAï4 Æ¿¸”êð ÐsW‹–¸ö]£ äöÀÏܘ•jÄ:ö%뀉~ôêaŽ‹`תqMbsÛØïáoâ¾—AÓpw|C¸’C4.Bö[w%pFøé¥>‹üâÈ™ƒé€¿ƒ$[vnw’ipò {ÑIóǪCAd"½oQ†#5WRÉ»“G‚༟߷®‘aÒÂMr´£m\$  8úûÑRÂyrŸÒ¢ÄPæÛ7åá™ÇG ÍI˜›vÿºKùXÁâö™[ú~öþ0Ý£¸ÌO-®~ ƒ ݆û_¨rªülPy´Òb¿P¥ FsYTBhªïÒAüøç¦Ë˜*YßzEäÆüçÏGâëÓ:pˆa„zÿåü> endobj -2271 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [199.19 267.779 221.661 276.579] -/Subtype /Link -/A << /S /GoTo /D (section*.111) >> ->> endobj -2272 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [199.19 153.183 221.661 161.984] -/Subtype /Link -/A << /S /GoTo /D (section*.111) >> ->> endobj -2276 0 obj << -/D [2274 0 R /FitH 686.127] ->> endobj -2277 0 obj << -/D [2274 0 R /FitH 668.127] ->> endobj -2278 0 obj << -/D [2274 0 R /FitH 584.383] ->> endobj -2279 0 obj << -/D [2274 0 R /FitH 548.517] ->> endobj -2280 0 obj << -/D [2274 0 R /FitH 346.017] ->> endobj -2281 0 obj << -/D [2274 0 R /FitH 326.185] ->> endobj -2282 0 obj << -/D [2274 0 R /FitH 305.986] ->> endobj -2283 0 obj << -/D [2274 0 R /FitH 292.113] ->> endobj -2284 0 obj << -/D [2274 0 R /FitH 266.858] ->> endobj -2285 0 obj << -/D [2274 0 R /FitH 246.658] ->> endobj -2286 0 obj << -/D [2274 0 R /FitH 230.867] ->> endobj -2287 0 obj << -/D [2274 0 R /FitH 211.59] ->> endobj -2288 0 obj << -/D [2274 0 R /FitH 191.39] ->> endobj -2289 0 obj << -/D [2274 0 R /FitH 177.517] ->> endobj -2290 0 obj << -/D [2274 0 R /FitH 152.262] ->> endobj -2291 0 obj << -/D [2274 0 R /FitH 132.062] ->> endobj -2273 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F14 574 0 R /F70 508 0 R /F11 573 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2296 0 obj << -/Length 1882 -/Filter /FlateDecode ->> -stream -xÚÕXMÛ6½ï¯Ð­2+¢H‘R/EºmŠ6I£h‘öÀµ¸6QYr)yƒô×w†CÚÒÆY èöЋE G3äÌ›7¤ód“äÉwß®.žßTIÕ²Éê.a2ϤT‰¬dÆ -•¬šä}ʘ\ü±úáùâSÕ:Ïx­ÀŽWºüþÅ›ÕõÛÅ’sžªl±TªJoÞ¾øéšDW×—¯¯®ÑÎE¼?¿õÄà2Z\ -„œì®¶ T,x‘j×ÐäÕåŠfÏËüUß-_õn§G{Z„ =ƒ×%«2^Õdûe·?Œd`¯Þ™Ñ¸ák¿ÆëÕÅ_ >ÈvŠ -+3!e²Þ]¼ÿ#O˜›™‚5𪻄 ž)†¶É»‹ŸÏEXfR”‰ÌEVWa“¯À÷bYäªLW‹¢J?îá­JQ¦˜HßÙ¿_ÍÀƒMÀ³,é[Üñ­‡ã&y•UàkªóÎn:Ó|æj!Ò+3¬K–:»`é~´}‡)©îÊ•3Ãèìg†ÏG£¬T&”z QWGc–t2V%¥’Y®-÷W‚Û4l``Áö²Ã(fcÜ1¯“í¾pNû0úIÅ2ÅÙ,L@(hü¶Ì˜!¼½¨–¦5;CN($úhÒkôw$¶A0¼_”eªÛƒ²GbVV™`å#èLÌÀ/ HCÌ^Æ/s™«¬bÅ“€YÔ*ãEý?³P58*žÌBb–%-÷·ÿÌò³`.¥$0c„N€FñÐøŠ€Æ§'R¬{ÊÚï9“KïZBŽËj¾¸µ F½(Vòi0/ -á)Ø{ÿ[vV߶¸mäÿÃ`šG@/òÔq=‘d°±Õ'^" aQwÓ ”Ë*,ýªÌ¹å_â…:Ù°Ö­¡á^½èÅóN쮞' Ø2qÐFªÆÈ’Îía„;,¦Ëš`§‹‰Ã¨$:dk7÷r4Ú{ •öƒƒhÒÎÎm!üÑÄNÕcxúÄvø{K>Ý4‚æ?oÍÝH#g gñ‚ô@íÐ…Å;oõà78áÿRÀ°ã#ƒ„/Ï,ûÄ D6+ìf;ù#ÈEzÎ5~ÿCàñ5Ðõ”®¨»áeðÁ•oÎA¡4ñ¸Z*ì“Ñ {o© á[l+8.Â?Œ‰ÌjÅ+¸Íùrc1Ó ¸‰×M¸”M¸Ô7/z7άuøþ6^ Ѽv¸…ý6½Î›`N„¾nÿô”è „ðÂX7?PøqpÐC6ù`ÆÇ'\#þ­3‰G -endstream -endobj -2295 0 obj << -/Type /Page -/Contents 2296 0 R -/Resources 2294 0 R -/MediaBox [0 0 612 792] -/Parent 2189 0 R -/Annots [ 2293 0 R ] ->> endobj -2293 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [465.995 201.085 480.717 211.933] -/Subtype /Link -/A << /S /GoTo /D (figure.7.2) >> ->> endobj -2297 0 obj << -/D [2295 0 R /FitH 686.127] ->> endobj -2298 0 obj << -/D [2295 0 R /FitH 649.24] ->> endobj -2299 0 obj << -/D [2295 0 R /FitH 649.24] ->> endobj -2300 0 obj << -/D [2295 0 R /FitH 615.865] ->> endobj -2301 0 obj << -/D [2295 0 R /FitH 544.076] ->> endobj -2302 0 obj << -/D [2295 0 R /FitH 508.21] ->> endobj -2303 0 obj << -/D [2295 0 R /FitH 436.421] ->> endobj -2304 0 obj << -/D [2295 0 R /FitH 400.556] ->> endobj -2294 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F7 674 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2307 0 obj << -/Length 979 -/Filter /FlateDecode ->> -stream -xÚ½WMoÛ8½ûWho2vÅpø)õÖMê¢{h±© -,æ Ø²-¬"¥’Ü´ÿ¾Ã¹’ã 'Lz4Î{o8¢i° hð~öw:;[h$$QLé:ªH¬’@ÅŠÓAº -®BM2´ŽÃËwçŸ>~N/ç,¿œ§>}œ_§ÿœ-âAÎb¢•Æ ìbm|fÔïùØø.Nhû$DL H,ogßf”( œ[—áÜ>ìWzÃÙ‡[PÁE=ûÿû zŸ¨ â[&†(@J"BÄ„iå°,ŠÍ®ÉççIaoæ‘2ü\lª¬tÖEYnîÝ·÷Mv·5S®ëÆÙº­îÉb‹°nîͺ¬Y9ãÅyz”5“4‚gAÄH\^õÚɠťX/ý±À¿#jIB1Œ÷*Ö¸½’>IœT&«Ý­ù¼™Gø™7îAÑz‡|“uÅwãÿ…&ÍìZí£TnÖn‹uWT÷-ók}D¤&Çú’‚†é¶Û–Åfk¢våO“5WDÅF> ‰”>ßjÙäY›·F áÒ6“e}{·ë0±Ú*Ó›ÊüGÑ™ ? y¯ëš¬j1Ÿ[[ï*üR•ÅÿÛca‰q°ÜÐÃdI}~¾`PFCJ¢B0>*º™Cˆ) I‡M¾)ÚÎ.7Ž6´g~…rjÁHTž-ö‡ë+¥ì¡¦@ ÷Ê?‡àyî]þ8cäÀ™Ëé¦ÏÝVÄ®ìŠ;”Ç¥o>jw_)¨e‘[Š¼W{/O›ë©X9iAkÔVŽµÍ*¯§4¬ÍO7†—î”n)îX;§²¶†3[a|£¡¨°ü´íMnô>¢ö›üW ‘¿ÏrNò¥Q–=]Šiï0 -Dd¬z'ì ´Ç$`1Æôxï·ÅÒàßAXfͧe”aû®ÆŒvÛ¬r½§É¿íŠ&_‘Q“ (J«0õ% >W‘Ä=߶-v=,½¢×®kí{Û÷¹D­Ë§S$£êŒ‰Lö¸þ{<6.œ1þy$&ª69”¾>i§ßŒ¢ÆÜù± á”áå «' À'@f§„Ì^²œ¦²˜™Ÿ29ÈbšÊrdqbÈGÞEŒhþ°»Ž6²³£ÃW€š@‡> endobj -2292 0 obj << -/Type /XObject -/Subtype /Form -/FormType 1 -/PTEX.FileName (./fdct.pdf) -/PTEX.PageNumber 1 -/PTEX.InfoDict 2322 0 R -/BBox [0 0 512 280] -/Resources << -/ProcSet [ /PDF /Text ] -/ExtGState << -/R7 2323 0 R ->>/Font << /R8 2324 0 R>> ->> -/Length 2325 0 R -/Filter /FlateDecode ->> -stream -xœÕ]Í®¹­Þ÷Sô.“>)ýKÛA6ÙÌyãb|IyýˆüHŠ:§:€ÏlªaÀf‰?úD•$ŠRµ½/á~Ðù÷Ë·Ûj÷Ÿÿ}ûõvÜc?Žû·1~¹•Á¬_n_o¹‡ò’ï±æ8Eó8*è_”nh•:}êŸêáylãëíï¸ÿÿ-¿”ûÇqÿ鯷Äg…}4U}½ý8e~~ éÜü„+ûçÞVôQK_'–ït`(ÕÈô/JgÿÁã -¥žWÉc̉,yìMýç¶öZ«z냪qO<–{ˆV÷ÄäíŸ?WŒlx÷_ÝYï©ÿÜÖ^ëñÆ=ß«ú!÷8ï¸wgóýÉ å Ñ[¿äå–üÎ+¾e›™­¶øÖ#ß¡öoÄØ×dD´NF)ø±zþ„1ž?ÆaÃ9…ù:û@Ö¹Eë?µµ× -ËË5ß­ú÷ô5U÷5Sw?>0¤î'¿žßø¥¯I¹×7^é~ÝÍlµåÝ#ߥö‘¡3ÜØnðŒí]<Â<¶Wx¼Aà ¡ñn m4¼±µ×úv}¯êÜ“×PÊk$ÿ&ž>0¤â_ßüv•5†ÊÛ!”ý0ØÌlµå7Ãç»ÔÈiè ׊ $Ò°ƒÊuâc ýf r)V^V±Íü„1rs½',È¡'·â°Š¼1,¥ã*X¤ ¢kx Ck‰¥,gr9`q¹Zâri3vK‹9æÈV¾ƒS˜cL±iý©¦åE.^”kÛ™!MdŽ"#[¹¶Ë¥nf¬dN]•^Ø˘µ´kÉ+@Hî…#¯rm -?É ÞÂj —Ë,ÙÂjI¸ÓŸý|ë3€A¦æër¿·^z‰÷Qîô®Í¾ÜZŠÌ£²àD L¢jfEèß)!f鉫iñ…†ÖÅѨmÑFm×ΘHÏŠ18C°¡ÜTø¤ø•›(¯ È4ÛP¬µ± ebµåÁ)±ƒFÇÚ©ÖèرCÄj6?¢b(늋¢ÓnÑY³Û`”ŽyÏù´¦5ý×9ï4;Î „ÍÀDÇÆ- -!Æù\è&(¢¾ÜÂ1" €q4§Âd‹¤˜ŽÜ*SIYm5¥´0ªS1\ÜOÏ“:,Ý-hÙfIj–¬P[î’*=`M¥>—\[½ˆž -7¯×hhÖ%j¶¢‡—£ §ÂdkJÎhžªÄª¶ˆ"[R Ý«t³E x˜ÜqýpÁ@µ…‡›pÎz•¨! tS:giÇi¤ÂtÙ=R’¶‚(çfpÃU}y¤»GjT[D9€Ñ½J7[Öq׆¹:NqV‹>¬ãÞ³´ãJY½SÃÖqïYS©Ì_bO&VãPÆÚ©!`òZrᶡ89y~à9dÇŠ¬ -ã;ƒ× -5ÏÅ\¯Ê+ô×uÑq7ål{94|#ܧ ‰Î{ZQû0…3†tÆù Þ>úèL-#9ßþø½/ýþùŸ7œŠU^jÉÙýó·ÛŸ~ÿùÿnù|ûqíhÇ\3$¢RG FÅž"ÍPgÌu+q4v ôÔÇ’&šl|¹1•€^¥éí%x§Õ2—v'ÝÕÆìˆëú ÿÇAîOÔ#ÿ×H#p¶”ˆÈÐó½À3‡,%ifý¥÷,IKŽèBðˆh„9Ô»Šhó´¯çÕ£¢R9ûü@>èç’áçøÈÍ¡qv+=èË^íXÄŽ)Ùp`u« ËÁ«±ERH¥`ÙSÞm°-Ù†h%؆NÅpaz˜Šj䩈²::)ÖC—G&u¹‹¥ÛòÈ MŒÚX’-±/tY)Ë*Ð:ˆ\l†nË# ¨¼âá¾¹0º¯œé+ŸÜÝâ}ÎÔ0ÖhT—LáŒñŠVK&›É´;€Ö/¤²ƒwŠƒ—̓ì»(üg;بy.æz»s€íY.ŒÎºGºÛ³œ3¤{°59|÷¼cL…i^år&£4(¯]UL¶ÙŠiíÁbJNžx6Ù¤Aª0ÔÏèfžŠ¹^•W<èžë¢ûà„/:ÙÿœÏôÀ4rúÒpvCy’+…¼J°ThÉa˜ -e7` i«„\½ª®5r.Ó†uŸyÄÒ£1¤`¤ÚàÒ Kf:=ƒ«.—¯`9g/gpÛt"ŒàUV:_è¾y„óö°Õ¶)Œê2ú ×긋ôŽ³#ÍíìáKO.ëšçÖùÃ#–Ì!›fB®hžÌ!g™˜Z0’SÁð©&”€æ© -¿ýlK†…V ®^U ך /ó7ΊÞÃiq¬óÐr˜‡;Á96Î_bwç/±»ó<àÌDh¦˜ -³È™8<9Üù‹@•±=L]}M-Lôˆõ*·p$ÕZø÷€õ -/Ø5ƒºr‡ -–³Š¸f€t£6 j¸©à!›G4wh*£«-¤­’¡N0õ:îâ0­ã göYÑG¬W½ÄÜ…Žæ;î„5•ZçC{怎h^“£‘Nsx£ŠŽÉ½Éa -3êp*x@º¡y¦2̼k•0£{•n¶¨Oó£Ób;0-ö·Ñ"݉ž³„m-‰Ì#¼´0¦V./±ßs¨¯X‹ý…ÒÁ\½|´­%È>Õ©v(” v -¢1ââå‹ßø^#z” “e‡×³˜íÙÃCqôòvÈ$ä¯7µÓ<</_ü¶ôºè¾ú›M©öh—¸øh½HZ£bŽ ¾uÅC%UŒ!*,à óOp å~ÊÓ½!ÜÝê0£#ŽŠ»—ïjgºðªÐø†b=ÖÝ·ên;3^åêZX·Øš)œ1^Ñd½§×WIR~‰vÒöp15Ôäé£dÜ@ù%\ßËÞ(î^¾»¹áÂè¬{^uI±s†tr_¨.ùîyǘ -…²pɃ¬Ò ¼Òv3„3ày%ùR^>ÀÉL²i(ÌmìÔ;0ÏÅT¯É+tÏuÑ}p!Miäòp{ª÷TÝ-!Ó”Þ–áÖü[ Fq·„ð€›=BãÊ©Ðe ¹'[·‰ŒîU¶ËLÏsÍpŠs»Ìôˆe³ÜX³™]fzÄ’™No÷•‘U¬=HÁÕ¶uu€ÉóC5ghFÖ–†CŒÃ»ÅÝËw·_u“«.¿|Î.BäðôŽ!3NÇAæ}.¡cpžp:®SŠƒ—zª rìs {,[¢^Íч“W»çWÀ.Ø÷•nЗ†¸`·õ zýL…ÒZ5Ý`*I—`ÉPX%Iá¥Ò}"å`Ú2œÕ'R±dI¶DªÝB†–ÌtöýC_YX[u6‘Ä­5¯šTkBÑ,¬©4Q$qk•4S–J7[Öq׆¹:®®9nå—±´ãêšçV~ùK:Î>BqYm=¥œª|¸’¶E›Å]d•‡î¶$ǾhÓ‰lá¨Ä*£{•í¾í3À\±…âÜîÛ>bilc©6l±Å{–vÜp›HIð­žn#%´6†¶•T<¸½¤$øLeØfrì»ÉaN0•]êò`®Žn{;öï{–vÜp[ܱo~ß³$êˆ1ØÂCGódå¡ÊŠÌÔZÚ…¼J[²¸Ç˜Ð ¶ð ¸¾ù¢òùeˆú‰ SôiZåóNaT¯Rm±Všë\*Élá#S«„ë Ÿ<ÌåNùHtÛq–ª¶KÝp‚Q½Jµ½ºÒ;Îbß–±ácx••C0w^&»3$û –I9‹sJÖ³{üˆŒ|fwØÙý¤½¼]³°)4µƒÏ0Ô<'/ŸÜ*at:/›xôˆN Yæ¼M;Yf“ÎÖBE*]dÎ)Û”SdÆ1éæ×ëâ,1Ø"íÂL<Öúñ¹`úº`CŠL>Øá·rçCø& ÿì.؈y.‘W<¸Ár]tæ<¹`ÃdÙáñMþ ¦ìᡸ;ù`çiBîðø& Ûi‚ƒ·®ÿ\9Oï̓ƴªx•žª¡0ºS +¹«4O«Ke˜­áQ‚!P b¸–/ÓÜ©·Ù£ VÕ¥ò _[‡ Ã…«ò°º\ãÏ¥ÒÌÖÖé`D².\ˇ‰ïVô -Z¢ÑX*LP˜Š/¿Æ’Q)Ù«¬ViTª*ªÊÏ¥aÒJÀh^e‹±Ÿ¦¹S/ƒNÎ0ìÛœ=Nad¯’í@@é gÅlSÍ«¬;Öê΋Ãä38t3R÷çQÃõ¹ŸÄoæñ¾4jxOÅÕËWÛЃ”½*µƒ\¿šçâáåí†#H\9Oîß©A‚êSôÀfThm(®^Þ2Bîð(zÀ/ÅÃËò\9O®ô0Yvx=àg³‡‡âêå-/'ä¢ØiŠ‡—.ä¹0º5låÒZt{ù52Ç>6¦²öòJ#©d*Él¥m|€1¼Ê–rx˜æN½ô¬dj‚×8üàgÜF‹0ªWY_6)½áä5N~Vt1Â^eø5ú`.wÖ5z,{©&ªÍwj¥UÐR©+ã)ôŽ³6³µ!a ¯²®ï˜;¯ s v¹E]¦i­SÕÖ¯º"0ªWY™&¥÷QDû±5öÅpè(2•-!ö 0ÙÉÝí8k>šAkH\Ñ“…fòã¾¢b¿ôûÅ~õW*U‹!š­Jˆ!P b¸àÎ'€Éç.Ç::¶ó cÅhc¾b´áO„Æ:þLHŠÚ‘C¡Ãb4 §BŠç.×E·œ'î ƒ nÀcGx(D] Ǻó®4zÌT’ÙJJzT(82\΋׆‰« –eRCØœª…¼|E!Ë—l!oNÙË[zTHé=Q(Aì äUó(n^¾¹€üÂèÌyrpÍdÙáQl‹ßÏŠ³—Ïvàr‡×õLoŠ›—oþ:ÀuÑ™óô¿ìH.}¢8cÚi…ÂÈ^e¥O”Æëž\ú¶ÒÖÅÂh^eËò<ÌåκºÛÌÕDÕþ–ÐÌ*­ÚãK%[8¥ôŽ³6³µuº0šWiÑEÏÓÎõ÷IA#0Ðs0äÿ…ˆþ M‡W9,ƒ¤4M¥˜­âÛ„‘¼Êú¹V= ¼8Ì~:_ÛË\àè7þ -_@ýs¦¨Ç=Õûçèã„Õ ’J%¡¼”’æ´%¥Ÿ^¹ø“–ÏÆnâý¥ŒÅ}¢k®³Ò%½Ì5´ß?• Ù¶ÉÎfÃÆkƒmeô¨Æ›ÇÃåñxɹ†»Ùùs:‡ž@O§Ð!*ŠCM*~ê¹òRPïŸTF»ýÿ»Û‘þªó¯éb*,“~"V›Q7¢îÀU—ƒ~&/ƒ³\M±[.j™mð•âoÿFd>Ú -endstream -endobj -2322 0 obj -<< -/Producer (GPL Ghostscript 8.70) -/CreationDate (D:20090924115428-07'00') -/ModDate (D:20090924115428-07'00') -/Title (fdct.fig) -/Creator (fig2dev Version 3.2 Patchlevel 5) -/Author (giles@snow \(Ralph Giles\)) ->> -endobj -2323 0 obj -<< -/Type /ExtGState -/OPM 1 ->> -endobj -2324 0 obj -<< -/BaseFont /XKVMYW#2BTimes-Roman -/FontDescriptor 2326 0 R -/Type /Font -/FirstChar 45 -/LastChar 83 -/Widths [ 564 0 0 500 500 500 500 500 500 500 500 0 0 0 0 0 0 0 0 0 0 0 667 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 556] -/Encoding 2327 0 R -/Subtype /Type1 ->> -endobj -2325 0 obj -4757 -endobj -2326 0 obj -<< -/Type /FontDescriptor -/FontName /XKVMYW#2BTimes-Roman -/FontBBox [ 0 -14 633 688] -/Flags 65568 -/Ascent 688 -/CapHeight 676 -/Descent -14 -/ItalicAngle 0 -/StemV 94 -/MissingWidth 500 -/CharSet (/C/S/five/four/minus/one/seven/six/three/two/zero) -/FontFile3 2328 0 R ->> -endobj -2327 0 obj -<< -/Type /Encoding -/BaseEncoding /WinAnsiEncoding -/Differences [ 45/minus] ->> -endobj -2328 0 obj -<< -/Filter /FlateDecode -/Subtype /Type1C -/Length 1309 ->> -stream -xœeRiPSW~/¼<¨S@4yµµj) -("E´¢‘BˆKœÚäe1 ‰„e©¢W…7Ö kÁ„@+*…ªu©ŠV¤¶ÈŒZZ[kNïË\~4éL§?úçÌÙÏw¾spÌ‹ƒá8î-ÕèSˆÄ W¤yì`6ggrØY°¹|\qÜY˜¸šðÞðöªÉ]⛧ÁÒ7`áTŒÀñl{C¬Á˜“®Q©3èy%›ç¿ÿŸ',**ŠNÉù7BÇ1&*~×­˜Á¨gÒ2¢éXw¶N§ÙA«t9Fµ‰V¤¦2©ž²M -£¥×ht£Ñ`¦çÅΧÃCCÃBÜ""A£OÉ4Ñÿ§ Q´˜–0ªL"ýÿ æÄ&/Z±$2$4,ÃÞÁcÓ1ö&æ`MØ4ÌãcÞnF0/Ì‚áõø(GƹÆù“àJ¢Ý‹ÇûºÚºÙ×x3¤Æn@3×L~jÎÝ -€õ°õ³­•²²AXªÛ ]½Y,h‰è“\]÷ó@.xÙsí1•S½*.^¿ŠA²c{»ôKÝ3 -ÆÃIpÎÀ%óŽá)m…¡fåË^¶µe:XÔ©qø݃¶Wþü™l²k©ÀLîËسÇò¥ÄRFñO—+•eÚ í@nÙ™¦Öå(ÀfÝ ½‡˜K) Ì‘¼R30QkeÛbÂÅýÐW&Ì [š{’ä‹k/¯:ªöÕ¹;YÛ; -;‚ ïéÈë¤7QÀ=ÑìAE7¸Bõ_h¿î¼­:+lÕ–ïªL¤H_¶ØÖÆ>¿ê‡F˜!þ| êö×\Ï.¯¡øOîô6œ»2ãñú¯Êä­J¨7Zwe~T±/ ó¾óô7€ºé”‹UVUzºH¯7X?4¹‰*8÷»ÜáV ûóÇYÌÌa“ä$º=‘Ä]Ï hÿÕ0ŒþƒDkoP ‹à ®g‡sìÀ]w Ï~/€[ÈJPrè°½ýi@ÝjÎßkˆ!ŽòìÀþÀ½%Åe§:Šò:…§¼¼Ì£‚V.ϲØOê…ÚºŒ£f@¥Ùv§3½¦ïF‡šú.Šzœµà!Êî‘]”wKêÐäZj[3ëÕƒŸ‡%ÏVâZ)@d~RvÌ„­HD$@3Àâ¦E]²vùÓu@Á©c¿@!œóñäæ"F,j‚ÁÐ b0¬‘B)è¼`ìb,š†8© «mü.ì+kvTˆj+[œžq…öþœÝèzO0A’‰hnUa×·Õ'úA Ô“hëÄ8÷& Õ®ÙnR®Aã-œm…FÁ­‰ƒñ<ÖF—_#^ÿžxA@»û ¥@aQª“’Äh@øi4©7ùœ¼Ï4ú@WUÛÙÁþvHèCAE(| ù ‹w Fˆ‹ÄÈéˆù_0ªyNXÁ^.¿çÀ¡fŒ€Ýîhm(×Æ;^z¬¤äPµ½ªä( jXµ¢ ì,ÌÈ-°ØŠ(+ü¼‚·ì`îQðÅþêÁ -²upø|Œ` p– ¯T)É+øÄ}ÅB.ƒqOÇÏ?ÿ`øméæÌJ¡VcÕZâj÷tüÖvê F$‘Ë·-ˆ ¡5(‰»›ÁóÍr°›Pê [&?™ÒRæíý¤ÚÛÃþþÝk· -endstream -endobj -2308 0 obj << -/D [2306 0 R /FitH 686.127] ->> endobj -598 0 obj << -/D [2306 0 R /FitH 460.231] ->> endobj -2309 0 obj << -/D [2306 0 R /FitH 360.127] ->> endobj -2310 0 obj << -/D [2306 0 R /FitH 339.06] ->> endobj -2311 0 obj << -/D [2306 0 R /FitH 318.547] ->> endobj -2312 0 obj << -/D [2306 0 R /FitH 298.033] ->> endobj -2313 0 obj << -/D [2306 0 R /FitH 277.52] ->> endobj -2314 0 obj << -/D [2306 0 R /FitH 257.006] ->> endobj -2315 0 obj << -/D [2306 0 R /FitH 236.493] ->> endobj -2316 0 obj << -/D [2306 0 R /FitH 215.979] ->> endobj -2317 0 obj << -/D [2306 0 R /FitH 195.466] ->> endobj -2318 0 obj << -/D [2306 0 R /FitH 174.952] ->> endobj -2319 0 obj << -/D [2306 0 R /FitH 154.439] ->> endobj -2320 0 obj << -/D [2306 0 R /FitH 133.925] ->> endobj -2305 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F74 666 0 R /F14 574 0 R /F11 573 0 R /F49 457 0 R >> -/XObject << /Im16 2292 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2331 0 obj << -/Length 1193 -/Filter /FlateDecode ->> -stream -xÚÍYÛŽâF}ç+úÑVäÞ¾_"­"Â0IVÉ&aü±<Æ3ƒÄeÖ°‰6_Ÿêns1x°'2ˆ¶]®:uNUµ1="‚~è|ŸvÞÝd±UL¡ôQE°R)£0e¥÷hQjâQúáÝ­æû¦–`n5øñF½»¿¥ýAœpÎ#ãDkݺ¿ôé›~ï×›¾óÓ!EôÍwBB ÇŒP”0 'yãÒ½h˜HB¢îj5}\„éÜJDë§,œú+–*Ͼdá|:¤£ û™pŽ…µ›L>B‚Õ>,ë±&.Ôž„ -ð¢,À”ɶh›ÖÀø 1dmŒA/ª’Æ¡è«x‘Ǽ»Äˆ̪/ª†—OD’ž¨”bÃ÷åÇÀ5¦VîL$ cÑ7áËe¨ûQèži1Xm<¼_ÃÍQÊ #3j fTa¦0#¯ÇÌà…ì)…&5gdïF #ò .Ìùµ,ŽU¬i Ûå>n;³EÖÌ–¢Ri[œ7[=_}¨‡ªÑƒ±†ƒÛŽªÙ¬gM¶(ýõØh~r?ñ‰»—‰°X‰íýÇqª[±íâ!P:QFÇ_ž+Z`»{h`°j×R.¼¢ƒO–3<8mßll‚¹hЦA·3ô‚ng ˆÿAl{Q±eS±y;b«+ˆÍÛ[^_lN.*6o:ýy;Ó_½ÝéÏÛ™þòúOœ^´FtÓÑíÔˆ~»5¢Û©‘ l ±q”Ì¿fÊ€ÊÌ¿6Æ„4¶XÄ ¥LF©—S˨·œ?ϲuq4È&ËÅj™¬§ËE8×=.óéúi^QLîG·ÁÜØá§Åó—5Üexô<ÎÇs𛯾õåÙO;Ÿ;Žv‚èöå9ƒGË8šÌ;ÃA÷pñ"Xﹿ½éq0µLÀz†î:¿W¼ˆ7RµÀžæ8>Bè8 -p¤1ÓÑ×gØtä’dTDwÓ2 -QÆÀ¹$> endobj -2332 0 obj << -/D [2330 0 R /FitH 686.127] ->> endobj -2333 0 obj << -/D [2330 0 R /FitH 668.127] ->> endobj -2334 0 obj << -/D [2330 0 R /FitH 651.689] ->> endobj -2335 0 obj << -/D [2330 0 R /FitH 631.763] ->> endobj -2336 0 obj << -/D [2330 0 R /FitH 611.838] ->> endobj -2337 0 obj << -/D [2330 0 R /FitH 591.913] ->> endobj -2338 0 obj << -/D [2330 0 R /FitH 571.988] ->> endobj -2339 0 obj << -/D [2330 0 R /FitH 552.062] ->> endobj -2340 0 obj << -/D [2330 0 R /FitH 532.137] ->> endobj -2341 0 obj << -/D [2330 0 R /FitH 512.212] ->> endobj -2342 0 obj << -/D [2330 0 R /FitH 492.286] ->> endobj -2343 0 obj << -/D [2330 0 R /FitH 472.361] ->> endobj -2344 0 obj << -/D [2330 0 R /FitH 452.436] ->> endobj -2345 0 obj << -/D [2330 0 R /FitH 432.511] ->> endobj -2346 0 obj << -/D [2330 0 R /FitH 412.585] ->> endobj -2347 0 obj << -/D [2330 0 R /FitH 392.66] ->> endobj -2348 0 obj << -/D [2330 0 R /FitH 372.735] ->> endobj -2349 0 obj << -/D [2330 0 R /FitH 352.809] ->> endobj -2350 0 obj << -/D [2330 0 R /FitH 332.884] ->> endobj -2351 0 obj << -/D [2330 0 R /FitH 312.959] ->> endobj -322 0 obj << -/D [2330 0 R /FitH 283.078] ->> endobj -2352 0 obj << -/D [2330 0 R /FitH 262.862] ->> endobj -2353 0 obj << -/D [2330 0 R /FitH 229.321] ->> endobj -2329 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F14 574 0 R /F11 573 0 R /F49 457 0 R /F48 455 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2356 0 obj << -/Length 1595 -/Filter /FlateDecode ->> -stream -xÚÍYÛrÛ6}×Wð­Ô´Bp¿8IQ$v£{ t‘JôÑ€42>[ºˆ_ú{F*Š˜i¸rÖ˜Gx—QáÖ¾ÏÓ€ˆ“fÉaKغµÑÝN–ùÈY; qIûUI–gù ¦2W·©\'¥‰x‘T¹´D7ìTD”ê¯xöá⇡-×ÑIÂbÀ,À˜oÇÖÖt5…ùµ:pÚ[€ÓÙ ¸Õ°œ?ÁAʉðrH:÷«‡…MÇkŸ…Ÿ±¼ñî’ܾ­BHI>³¹D5o–…ˆ8ñ÷³ì‹];ͽ? -w™¦‘ÔzåÑ}•|æ 8Mdlê®/32@Íj›j•¹›gA6«Õ~×±2`l ðÆ· NV`Áåñm -îqx••Öz¥>!*¯+‹eéF<–ìùÌbžþu²“œì;’Ó$'µÒÛÉ #Î[r®/¢œËÏ_C2k­=Q–áöÖÒ^-u]$¸U"Ù÷¾„càŸ›/€ÐÉÄâqëŸz:~þ%B‘¼<Ì)†H[ÿ[]î‚¢Á]ho%ã>(âmE”ÃY×4ŒJŠºŠà{úÕ£ùð¢»^Ü×ûÌ~X´ñ«ßBU©JýïlcJ¼~Ùk˜î¶Cníÿ¯%`8µQ_|峋¯Â¸îò`0[Χ`¸ï®{Óo‰|ôã S¤¥ÎñbÂwpàÇíçÕp1ÒÖÑïGB±NBìÅM›IH4ùæj÷×r­žH(GÂæÎ?ÿ”@ -endstream -endobj -2355 0 obj << -/Type /Page -/Contents 2356 0 R -/Resources 2354 0 R -/MediaBox [0 0 612 792] -/Parent 2321 0 R ->> endobj -2357 0 obj << -/D [2355 0 R /FitH 686.127] ->> endobj -2354 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F14 574 0 R /F70 508 0 R /F11 573 0 R /F13 705 0 R /F10 668 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2360 0 obj << -/Length 1371 -/Filter /FlateDecode ->> -stream -xÚíXÉrÛ8½ë+xD°ËiÊÖ’¥ÆKd•§RI4E+¬‘D‡’“Š¿~µÐ‚#Å—3Us[`èî÷ºÑ‰&‰^wŽGWl$“Ñè:¢’`)U$µÄ”©h4Ž>"ÊHüyôîÕ@ñmUC07 -æqJÝ7Gç£þ0N8çHá8QJ£Áðè¤ï‡zýîY¯oçéfõþ¨óµCA$ݬ,VÌDù¬óñ3‰Æðò]D°‚•¾;ÕYÄAÕ0ò4ºè¼x¡–ÂD2U˜ é <ÍfEœ©9ÅL¡7q㌠-tQÞÖºˆ2³ë(¡›4õ")¹*— xR§Å5ÖŸm‹r2/ÆÄ Ä‹ ^±ÈëòfYVs€l>öB],@-똢2wb b5_¸è„£Â V|'*ÂèŸG‚p\I¦1â­~}ögoØÄœ¡îÐüJÄ -dÖ‹ ¸¾ÇL£e1)j ÒŽÖQ]gVá‡{ T’*m…JCèY*Ñiå„ù•[æ*Ž¹b«¥‡çÝ7^‰Š-%.1¡|¥ô‰˜‰L6L…™þÚuT –¬t²:q¶'Fall¹·r.‘T£¼ò±ÈÊy9ŸØ1…–_ŠõË$ eá?"(Ð_Û'ƒï€Eã%Ý2NJ¬ÕÚËn£A"‰âÚ `‚5€¢1r×EÊ0ƒ×[J7ÓlîYŸJL«¶™Î.à²óÇ -“j:Ó\×E]Ìó"äàu Ù†P$Œ LÕ*½šÜ<ö/„à_úRü£)ß°æÃücœíáHÀ¡ÍDaúqÃôã¿Ä>½bÑ¡Ô”8 íÓ`ŸÂ -bc[$Ý6û T"Ž%mæ'ö¬%ptKë>ýô.ý3ž~`º©‹oeu»ðÃO"à=¦7tUðø©,”ûX(ÿ‹U·½û×iH˜§!¡Ójº¯ÒV¼ -ðÖ×ògUð÷ áð¾ ÛÛñƒ{±xþ½øåXxz|±{ÛœKR*â²aOC#‰FÖRJ¸@Ëj™Mœ"÷áíÌþ^¢Fv§ºþ[LRÖ6éjZ9åÜ~÷÷Â7Ò¥ë¬ÊüßC½l˜slÏ#½_qô1ÝI®yÀBÍð&o‚ág‹MñKŠi1kHk‹€‚±†¨ÆDphKD€A©¼¤i6±¼‘ÄÆ¢q™gK—1vèû—Ò…ùKÈá Y]x$rÿr\ŒgÛÉñ qñÜ@ðÀ€/ä:¹OOBP€ ÷§VKõ{m[öÒÎ_ªèf“Q¾܇ ôòê¶ùê„,v6ì;åK't¾ûh$䪷ÝÓ˃PÆ]š® ÚÅ4t•<Œ…àr‹Kž¶­õ•þÕ@‘öŠ‹õ~øµ ¹6-3ä“ôùtªÜ½æ½@ÛkZôöÙ‰Ï~+â‚-ae± v(Úk*w£m¯x„Ï+´ªWÂSXxïδ¾ºßºÂÿÌVÒ´ -endstream -endobj -2359 0 obj << -/Type /Page -/Contents 2360 0 R -/Resources 2358 0 R -/MediaBox [0 0 612 792] -/Parent 2321 0 R ->> endobj -2361 0 obj << -/D [2359 0 R /FitH 686.127] ->> endobj -2358 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F14 574 0 R /F11 573 0 R /F10 668 0 R /F13 705 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2367 0 obj << -/Length 1375 -/Filter /FlateDecode ->> -stream -xÚÍXKsÛF ¾ëWðH¸Ù÷£—Nì$M2;µÕ$ž8Y¢mNeÉ¥è:ͯ/°»IimUã¶ã‹„¡]àLJH³«Œf¿ FƒoŒÈqšëlt™1ª‰Õ.ÓVÆM6šf_sCÆØüäõáñÑéèdÈmþÛáèÝñÑðÛèý‹7¶s„à–màÿcÆÚ h¼óõhðÇ€H3Ö^§ 1Üe“›Á×o4›ÂÃ÷%Æ™ìÞ›ÞdBSâ¸y–~ ¾wïeB«X¦•!\êpûÑø¦R[‘†ÜäÝ øàLæ§Õ½ËçpºÍ -ƈS*üøœ*zQ5Køö1d  tmN««y9ýyX0Niþª\Nê궩s¸Aˆ|<Ÿ¡.—`“7C–×Õ ––4Â#¶àÎ>GêI”µ{c*]ŠÔîDˆùø®¹½k .@õv\ÄMY/z8eqV>êŠÄ0öHz™!~ Œ ŠònzµÓkCzm"½àˆ32¦WÿƒôêÍô:a|z1‹5d±Í²ìe¹Ù^¥qN=šÞÉÌ(‰ivÁ]¨Ï³íŠT‚p¶.HþjXh¨åwsD¬)¯ÊÚGOûäY×c©í@Õc¾¨¹ÒùÑ *nîy Ébž`Á½goƒ“ÝŽ½Æ¬Î)剓œ¶=èóvœ’¡ÕÊf¼ÈàòÉb^øP -gƒ zÑ6ãj^ͯ†…2²¤Ç¡Ù>uIáÄB<ÂrÂV˜…%…+£v-)À.ž°ƒr ,ÛØA÷ÞN„–D+¹÷vb)XøPX±b>õ°4bá›Xø…b’åœnÖòi%™Ëï«is¢õ”CUžÙ|rW×e8,("?£±GÕa*6Ú”?@h¾>ÀâBÃjW^– ™ÄçžÀA¬æÁâ¶ú^¤ÚU9[’PÝÉ+O>¾…È€½¶‡Ñó‡¢Vç×euu½òφÊG}³2èGŠŠÏ½o>´þ0Lþ®Ý¬ÖcÈŘþ¯fhxjpã›ÀîI@;“ 1#–ÚÔ .4u;>ü—¸ - YûT'ÒÄ­M Ôú& ß­Y7›¨Xul»®š"´‡>„ìž·ÍüŠ|Á{ Ýbøv}ëXßÎä׋ºúƒÏ‚VF±šOËïAôåïìjê¥y=[àI÷øQÖŬ¼lðÕb^ÏÑ|¡Î‡ŽŠnè ˆ.f ß²'hñûc?8ÛÃUþgð¶©&j"(FPô~sõ,ˆ–>}Á?Ël³Íihs*Ùå”°-Làê&‹›0(X"¿`á±_Ä2œS&ëeø{½˜•EDù}³h_Ô„LšEýXz?|:Û3:Á8žmÚô¢¦[[q ÷ÝÅ (¬x0 D'(¹+¨6e¢’Ï$gK\#§û§lý†±ó¦ño÷S{ -endstream -endobj -2366 0 obj << -/Type /Page -/Contents 2367 0 R -/Resources 2365 0 R -/MediaBox [0 0 612 792] -/Parent 2321 0 R ->> endobj -2368 0 obj << -/D [2366 0 R /FitH 686.127] ->> endobj -2369 0 obj << -/D [2366 0 R /FitH 620.248] ->> endobj -2370 0 obj << -/D [2366 0 R /FitH 584.383] ->> endobj -2371 0 obj << -/D [2366 0 R /FitH 428.908] ->> endobj -2372 0 obj << -/D [2366 0 R /FitH 393.042] ->> endobj -2365 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F14 574 0 R /F11 573 0 R /F13 705 0 R /F10 668 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2376 0 obj << -/Length 1909 -/Filter /FlateDecode ->> -stream -xÚµXMsÛ8½ûWðHU 1ø"@îeËÛ³;U™Íت­J%s )ØfE"ŠÊ$þõÛdR¢“x6{Øh4ѯ ðä>áÉ/gÿXžý|U$%+4Éò.†3clb -Ä´Ér•¼K…”‹?–¿þ|eÕXµäL•ìx¥Wÿ<³¼¼^dJ©Ô²Efm‘^]Ÿ¿¾$ÑÅå«_\¢3þ~¹<ûx& Ëñôgc™•eRoÎÞýÁ“ þšpfáOzÕM¢´bVàÄursöûœ†'&·LjC ü­Ú¸E&s›§Ë…,Ò/[ø*R))tzÓ<:\]"¸`¥TI& Ísšüžçü¶vÐ -¯¥ -V>c›æ¾u«¿ƒU­uzávußl‡¦kVíŠèÝnè›GvyTɬ:ÁA—ÅKp@[EbdÁàÏ´Ì×ÿy+™ÐB¤ÿjˆÁÝ»~‘åFË4‡ÕËܤ¿u¾P= @*O?¡ªë‡¦®Ö$©» AصŽ ‘¼»£vˆSw®ÎÚR2ë™@ÛE\þ|èÖ.Û6ŸÝšÛt=~_]ϼ©lÖÖ›ëË ôÍØTBÇXë}´ÁGœ˜ a¦ÓÎû¾ò”ð@}cóÉÖÇ°œã² ->0„¡ó­Õ1.Þs¢g²3;BF‚ŒU‡eøO#´ÛÞ­ôœ>?-`!Õzïv„ÒÌòrêÐÐjû#(ïül„MQi½ïûѶéôvÝùݬQöák(__Þ€¦äbB¤Í,È‚™R%caÀª·‹Bc\Štç%ÖÃm•…»´ búpKÈ#´­Šh[D?ëŽ|¨š¶iïéw–‡AKVäGþ¬\M€­Â»Yí1<Œ*r{ȱ3†Íò)¬ß¿¿¿>_ -ÒX& ×|ý0¥zý|„þ”ãÀ ^¤Fg¸ní6O|ù˜­¼$¶‚øã¾"­æ±òá‹ÿƒœ®ò#ŽŽxœia/ì¸Ê#ð€_yzñjI‶{Ï…©›ÃRp¨içðl«aßS²RiׯÜWSÇÅ+4)pšHdhøQw»@SŸµà@r³ióèáZÑšÅöÙÕ Dî49’U´úï§Æ˜`´ñBاð:xaý.Cô÷ÀæÎ¥}=¸™³/ð÷Š…B€‚ë˜ÆÍiüF†<]›2s|&€ CM»rŸ±ëò¢!ŽMrjLqŠ^]2žËéZÇëX‚ò͸6ezŽ?ìSLA'†„§‹¶ª0XˆúÄ4=“l#=¿‡_¹a’ ˜ "aXñ ~åLóëöóËqW󙧔éC×7±*X“l‹ Þ§EüŠ¹Éw±‡’á‡RêöËòËJ~TÉ[ MÈô8.ÅùLƒè¶ÿÏ>!#ˆc×Α¡ez8…céá¥Ãô²' t|„­ƒ[ªýçHu‰'c•}ÍMA¸¬õ÷ u®9KÞyîÃÊ'WÜçè;{ØløËÁxæääâ´)?p–‡óDCœÅÊ·ŽÊió‚n~œkå¬kå“kep-¦5(KÏ‘/uoÇž¿ŸË\2.åÿöNasf@ABºË¤•,¨Í”ö÷æpÖRзaŒêèL¯!(ÙV!ó‚ÇnZÕPQž! wé-ÓüÔtûÝúK´gY †©àÔ¬ÔzŠÛ¶ïVûÞ—òÜøë'¶£¢’¾´·¾´‡¯“j›°q&nœ9Ôx6 6ü‘kŒJ¯ð¦èï ÜÒZ¿ɼMý/?ì~š;¶ 1?ºbã'n¶pÖm¼5èïþ:*(yÜ“V é© ‚MÜú¬|Zý ˆ-ÁÂ]nñ8YC†¼ÆÃãÇÌšŸžB`Žñe‰ØÞz8ÆGwR{fñÒ?Ýì©ÐçX5t›ñ´i€ù³ húËx6\Ž—{…I•îv2Ý·c¶¢dJØ¥L«XâÃp¼– -ìHêY"&jY´ê›Ó(ÌûÃŒm €hpìC,\C`` ¤C•]ÚW/£•X5ÅM˜R¯üyE*><@øèúˆ\ÿÌÖsÒÒ&Ï ;Ú_mÈ;å+é¡Ëñæ)gÀ¤ýz a½®Â3ž‹jÝQZè«ö>tÃ9ë)‹É\3È©1ÿ øb,5šÓÚN1YnàÃÚcbÚÏq-áòåžeÀ‹£[Íñ[–¥·,seû´$3¥>5™,}°³ Ô ")¡Ž«‘õÕÎEEÔj Ššcv¡lôˆ´#I×b2Móï ^u&‚pÇâŒJñe1›£7ôÿ æ¶ -endstream -endobj -2375 0 obj << -/Type /Page -/Contents 2376 0 R -/Resources 2374 0 R -/MediaBox [0 0 612 792] -/Parent 2321 0 R -/Annots [ 2364 0 R ] ->> endobj -2364 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [367.891 300.961 382.613 313.459] -/Subtype /Link -/A << /S /GoTo /D (table.3.1) >> ->> endobj -2377 0 obj << -/D [2375 0 R /FitH 686.127] ->> endobj -2374 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F14 574 0 R /F70 508 0 R /F11 573 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2384 0 obj << -/Length 2268 -/Filter /FlateDecode ->> -stream -xÚ­YKsã6¾ûWèHU8ă™›Ÿ‰·6¶ck“Myæ@IÅŠô”'™_¿Ýh)Ú²2{دèƒÑÓ(ý|r6=ùx¥Å(öcÅÕhº±@ù‘ŠG*R>ãz4]Œ=íÇþx¢uäÝ_žßÞ½¾½žþëãU´ÃBðÈ×JÃv1ãçœnÏѤ™0áÀX šö=©Ó"O„ ¼$_@GÄ^š¹ö^p7SV†F/Χ4Z—I^-‹rMô´¢¶ú’>?'¸fbK%¼ë¼ªM² ñzåÍ '9r¯‰òœþe2bþ2C/É6…Á'Œùq’°°)04ñ’ò a±JKG›e…cŽä/´…Äv^¬Ÿ7µY8jN+ŠÜÄ}Ù• -½›¢6ÍfIÝÛ¶.7ùÜ!‡Ųa8’»6åÚ,Ò9 -Pgáp*-‹ŠˆG{Å:­­„H$•@‡ÐƒÎ§€É<ÉhnYl`ƒ}Ÿˆ:fU–>­,,ÙßDY¤°R˜ÒXÝÖnÏ|Pܲá±ðæIeP—‚ySÀÒíÊ4è"Éê;ßVu 1/jêÔ ‹¾†,Û‚Ô˜¤¹Û¼ÈQvì%Ô\œcËa(9hÏÀ¡Ôšäè±ÞzwEßIÙõså‚’) 4;μӬBvÊš‘¡9$öÌK/~õåÍ 7õYhhÓ¨”+®°HÁ¥Q²‡=[UÎVµ³Õe¡üp@ï_Rç@˜…†ýêl²f mU§YFÝ­ñ Ö*0oË—y‰› ±¡ ­ììñ\B$jm©/ùº ¥·Jðƒ@FŠðÖ‰µ]Kk¢äE>!…!?&ýXÊ.ÓÓe1AÚ#ÛHÌ…“>r¦f*¥ °0º,“µ¡%Í Ý™© ¤—†â@v[Yw,Ñçµ…£¢ez³MMf2 Z¹]RŠ“!¡ç ÚR¤›Uô±±A„GÊ‚Œ”„šÒ,1¶Î Zù?`¸RÍŒŒ´E±_Û8žY\pþíiSÕô5#3 ¸jhE±ÕEI”Ôͯ ú^™ìÙ-T烾յg2ÐbRÖé2™×•O M­¢p¤iì=³ÁµŸõp\‚IÚgA?0ù]ã>Ó˜›0€q)LoÎã$ ï´ªÒ§œòì$@RúJ©&ÿùšû9Ó¾ X3…üäë$¯d¼Ë•ûQ6K~»~àû‚µ?Ÿ{rO—>×tb?l2/>xº«qD7'Êeºl rR‘”vî‰qP·¢ÌÒaÁ´lf¸; Ø´‰öðù)ƒ!4 u ÚÕ7g ÐØv}µEìS ("¶h“ªÂfì§>f -²U8 -a&faàìã #ö•lãçl•ÐÄž]À`þ"\0ÃCR;6/2R“ôž!ÖdIîâbïÂ؇€À%KS"ï~›lãÈ™¤ç -ø¼&¿Ã‰pIc龦W¢†ŸÍùe“w蓯d–™Cé¬T}8ÈkËÒTô¶S@9Ùx.äTû΂9¡Úf?è-úýÞ²g pÇÊ ì*üåM¯ïn^ªCº–šâf’uU¨¹1`£¥«¸y˜#úÝ=Ü ¶·©EÕTË -+Ç1=ÿDÛwJ_lΑÓgêZ(PèMn‚€GQ·zOí¶| xÁûEké t¬_¸xï¦ÂÒ¤çu§þ›yÔË÷—Wwèýâþî°ré¹Oûàc§ÜýBJФì<Âà·ν¢Hªì°}‡3à4íë°w<¼ óžAž³)w&)Jmk9\ë0,Fä;,mïo„e€pš¿] 0¨F¢á«³ß^NO¾:Àø^èKÈ>9HÅr4_Ÿ<~F „ÚÜ×±}³S×#ÌáÇM²ÑÃÉoî7A7ëc¾æB[¦;Ë Ä°ìRA -ÓFc´™ñò=I6‚ÅÖJðHâ æGª/¹Œ£·%ïÞjdaaØÔ÷ t$˜7Xh -?ä­n! ürC*΀´¢±s¦°ûËþ‰'ny'º7Û±÷n7Ü;?Cdú×¹Ý|ºÇîÉÚó7RÑ?Ü“¿ÖŸoÿ}A°²8æǪºÛ±÷n×ÂJáéGŽÈÚÓÂC{> %ÔáúŸ vñE½ªÄg<ý|Ã]5:ü‰Bw2Œwø¼àj÷—NxéwãrÞeóbtÙ¼ ÜÓpµ0¦ß.Å?—¯Fèø?.Ëh -endstream -endobj -2383 0 obj << -/Type /Page -/Contents 2384 0 R -/Resources 2382 0 R -/MediaBox [0 0 612 792] -/Parent 2399 0 R -/Annots [ 2373 0 R 2378 0 R 2379 0 R 2380 0 R 2381 0 R ] ->> endobj -2373 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [141.377 595.455 156.1 606.303] -/Subtype /Link -/A << /S /GoTo /D (section.7.7) >> ->> endobj -2378 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [305.32 523.724 325.024 534.572] -/Subtype /Link -/A << /S /GoTo /D (section.7.10) >> ->> endobj -2379 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [198.725 323.548 218.429 335.503] -/Subtype /Link -/A << /S /GoTo /D (table.7.46) >> ->> endobj -2380 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [191.806 300.316 214.278 308.962] -/Subtype /Link -/A << /S /GoTo /D (section*.96) >> ->> endobj -2381 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [431.873 270.845 451.577 281.693] -/Subtype /Link -/A << /S /GoTo /D (table.7.75) >> ->> endobj -2385 0 obj << -/D [2383 0 R /FitH 686.127] ->> endobj -2386 0 obj << -/D [2383 0 R /FitH 519.466] ->> endobj -2387 0 obj << -/D [2383 0 R /FitH 499.349] ->> endobj -2388 0 obj << -/D [2383 0 R /FitH 477.792] ->> endobj -2389 0 obj << -/D [2383 0 R /FitH 462.213] ->> endobj -2390 0 obj << -/D [2383 0 R /FitH 437.17] ->> endobj -2391 0 obj << -/D [2383 0 R /FitH 409.636] ->> endobj -2392 0 obj << -/D [2383 0 R /FitH 389.755] ->> endobj -2393 0 obj << -/D [2383 0 R /FitH 376.542] ->> endobj -2394 0 obj << -/D [2383 0 R /FitH 362.221] ->> endobj -2395 0 obj << -/D [2383 0 R /FitH 349.008] ->> endobj -2396 0 obj << -/D [2383 0 R /FitH 322.732] ->> endobj -2397 0 obj << -/D [2383 0 R /FitH 299.501] ->> endobj -2398 0 obj << -/D [2383 0 R /FitH 285.734] ->> endobj -654 0 obj << -/D [2383 0 R /FitH 145.668] ->> endobj -2382 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F70 508 0 R /F49 457 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2409 0 obj << -/Length 1808 -/Filter /FlateDecode ->> -stream -xÚíZ[S7~çWìãzšUt×*™c7tJÆM“ ^`3Ä6¾¤¡¿¾GÒÞ-ÛËÔÓé%OºìñѹŸOÜ8øñàhxð²iIe0¼ ˆÄHJÈX"BU0—!¡¼s5üée_±*©Æˆi|,Q÷ÍáÙ°7èDŒ±P¡N¤Tö‡§=·uÜë¾;î>8;=ë"D„RDTÁ&sìPí§Áe$0‹ônâ8}ÿÁLx¸¼OÜÎ׎áèa•8é ¯œ"0Š)ƒ3¢Z¸3®?;B®+„ -øž)yú¾×^8ªªÌ\#©xNu™Y W((R2Î ®Óu1’‚åW™Ä8H+çXqÍÕ7Ÿ^Tˆ>ßt"Jiø c¶~*‘HâB=cÌOX`ÀN8V­ì vÙAýe;Ä>;ÄÛÌj‘Œ©Ð1—~{U ±FTR¦Wº1ÝQù&B·ŒJ‚Hï5*ÿvo¯‡+•÷p¹—°ü‡VËä{µÜOXJ$$©‡eß–'·”d¨lŸ<®F‹b“ºÙh2vŸ]Ÿç²A÷‘¾0S®‰#t‘ ³ÈŽÌéሂÉ"B™`«ØPAÃA¯l¨ŒÃÁÙ¯ˆðÐ.5,ßdŽ>ä“æG9Hší[I 7+iN‡7Ó/³ÕÒ¦è_àlÐ;vY¸Z¤“;7Í2“‡³ù8ƒd¼šgÙz—~íÀV’ås:q¤ÉÍ2N¬ œ‚ƒù]à&kqwgЈ4\6|4…YønÅüÑëÀw èü÷t‘€žB‘pÕ!!Ø“„ ª ™fRT˜…[gÖ6¿qÖfa±|cgØYÛlÖ¶NÌ…«ØÐ9€S]µ»[~0±Áv®ágõÏÌ–S7æÞ± ç3sþ¨º,+EÝÜèÕðÛ£w˜p¹ê¯iº)Á<*F¢,eo»ïzý¾§D ŽˆPûDÎ ®Éb‘û(3}ÕÐUE]×C¯¦¿äÎj(Ë¢´Ðâ°ÃhؽèþÜó*ÌXAúÂÃLBi×9Áñ>*ÞŦ 8:õØž -¸õ“Ö<Þž „¤Ùx#ØÆj¨eS¡ã†mº˜=‹ÁLñqu‰¯<€/_òü(Ó`hY$PfTÃÎ"ÓÜ@ÄŒ¦0Ü1ŠÌzýÚ¥1¢² é2Œwà<†fmÞj†Fùjr32Ç”p.†q ù0uÓ‘ˆŒ®Ó¥››HÆn>Ofód‘¸°Ì‚Òì_›'7ϧ³YÞ´!ö4çõ8uQýä¢ê>½ôMçãdî^xÀvë¿û÷–SÃJà0ݘ£îÝ -X¸¶Ëé­§Èh†8.Û©«ƒªì -·óéÇ»Á¤6$T¦úžÁæ†,¤’L›e!Ìh]†ü7¯0±f5al)£.@ºnvœ5ú©3³Ö£JÎz>ˆ£è­FÁˆ•]éÊÇcÙp¼º`8…7€JÁ«³Õi½Ê)°E£Ì$K·cæØ¡ ávX'«•ëŠ‚Èö¸¡q–±Z`Eå Ž ((WüäÜ×҉фŠuÌY­ ç'ærú8*•t ój=Ÿ5Ä'¯Ûùèy˜Òüé„~Ç”û”l¦l)ù8XŠ½RÒ]<ž…(·³Ø #«(’Å›1©`r[®×ÁòØg.çúAßµ½öŽÏ» -ÕðGÜx Ùø*¡*÷^î•°÷^s¤éó;®¿Ü^éÎlj¼­WÒ·»%}#ª™QÑ“ -îÕ¶é˜ Í•4{ ëõ˽٫Brí”4#(­cŽüµ ÕµŸíÒ[@á³íî"ÆêMr0غÏD­3JŸÙg(â¢È•ù'L¸7”IIäi5vIÖô[(R÷oºU¾ˆž?(q%Êç;ÎxþðÃÍË’™d.6;ÕW)³®¸×,Ólø -l®’Ín4d -)Qt qãÁñf:;³¡5ŒË䚺ñfß'æ iÙ¼üØ$ñã5èüšËgyÄ_VL+W-.ÎE‘BÞÿ6è þ°7° -endstream -endobj -2408 0 obj << -/Type /Page -/Contents 2409 0 R -/Resources 2407 0 R -/MediaBox [0 0 612 792] -/Parent 2399 0 R -/Annots [ 2400 0 R 2401 0 R 2402 0 R 2403 0 R 2404 0 R 2405 0 R ] ->> endobj -2400 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [435.891 460.959 458.363 471.808] -/Subtype /Link -/A << /S /GoTo /D (section*.100) >> ->> endobj -2401 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [377.997 423.226 400.469 434.074] -/Subtype /Link -/A << /S /GoTo /D (section*.104) >> ->> endobj -2402 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [311.403 371.669 333.874 382.518] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.4.3) >> ->> endobj -2403 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [404.066 200.187 426.537 211.036] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.9.2) >> ->> endobj -2404 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [262.541 176.346 285.012 184.992] -/Subtype /Link -/A << /S /GoTo /D (section*.115) >> ->> endobj -2405 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [485.671 129.204 505.375 140.052] -/Subtype /Link -/A << /S /GoTo /D (table.7.75) >> ->> endobj -2410 0 obj << -/D [2408 0 R /FitH 686.127] ->> endobj -2411 0 obj << -/D [2408 0 R /FitH 668.127] ->> endobj -2412 0 obj << -/D [2408 0 R /FitH 625.039] ->> endobj -2413 0 obj << -/D [2408 0 R /FitH 582.089] ->> endobj -2414 0 obj << -/D [2408 0 R /FitH 539.858] ->> endobj -2415 0 obj << -/D [2408 0 R /FitH 496.908] ->> endobj -2416 0 obj << -/D [2408 0 R /FitH 460.088] ->> endobj -2417 0 obj << -/D [2408 0 R /FitH 422.354] ->> endobj -2418 0 obj << -/D [2408 0 R /FitH 407.978] ->> endobj -2419 0 obj << -/D [2408 0 R /FitH 358.842] ->> endobj -2420 0 obj << -/D [2408 0 R /FitH 315.699] ->> endobj -2421 0 obj << -/D [2408 0 R /FitH 290.474] ->> endobj -2422 0 obj << -/D [2408 0 R /FitH 264.142] ->> endobj -2423 0 obj << -/D [2408 0 R /FitH 252.809] ->> endobj -2424 0 obj << -/D [2408 0 R /FitH 236.496] ->> endobj -2425 0 obj << -/D [2408 0 R /FitH 199.316] ->> endobj -2426 0 obj << -/D [2408 0 R /FitH 175.474] ->> endobj -2427 0 obj << -/D [2408 0 R /FitH 155.425] ->> endobj -2428 0 obj << -/D [2408 0 R /FitH 142.155] ->> endobj -2407 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F14 574 0 R /F49 457 0 R /F70 508 0 R /F10 668 0 R /F11 573 0 R /F83 1265 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2432 0 obj << -/Length 1187 -/Filter /FlateDecode ->> -stream -xÚ½WÛrÛ6}÷Wðš†0î—¼Õ•ºãÔª¢¶Î8yeJæTRr›¿ï‚ i’‚%ÛídÁ@Úg_ÃJ½;ׄoù½H׋AÌñ²Ý ‘]¸9EãóEÃјi‰Æ£? 5ÓŸË‘@g×ÕÒ€e²Þ&ª6L×wþ‚Rr Š(Ç„8°[)=ØY¶Úì¶Uh4>çG» -­ÕZXÛä š%w»¼Z[¤XJÖ~š®ý™Él›fëÒ¬@¢|ùÁ¸´ˆÛ €iÏTeÌ3è£gM.src0¾€1WXhùØÖXhMÑ¥+(‚~!æÐ7 Ó%¼%®ß õ¬õ÷|Ru2´¬V#TBÕbm4[|m~tÿC §+ª£wÙÉoðW ­÷ĵȸ%³ì×;ö2®´àe Sj½^ÃtQvceõƒù[蟄„þ©ZªœRW˜~&T,›—3OŠÿy]Tô[—Ý>h–]þ )ÕD -endstream -endobj -2431 0 obj << -/Type /Page -/Contents 2432 0 R -/Resources 2430 0 R -/MediaBox [0 0 612 792] -/Parent 2399 0 R -/Annots [ 2406 0 R ] ->> endobj -2429 0 obj << -/Type /XObject -/Subtype /Form -/FormType 1 -/PTEX.FileName (./lflim.pdf) -/PTEX.PageNumber 1 -/PTEX.InfoDict 2445 0 R -/BBox [0 0 291 218] -/Resources << -/ProcSet [ /PDF /Text ] -/ExtGState << -/R7 2446 0 R ->>/Font << /R8 2447 0 R>> ->> -/Length 2448 0 R -/Filter /FlateDecode ->> -stream -xœRMkA ½çWä¨âN'3;_×B)”½hzPOŠÚ²[°=ôï7óa]­…" ;ɼ$ïñ2”‚PƯœëîæwŸp‰Š¼Ä"Ð -4ÔÁ”'5’´KU*Ç]‰Iš—ªë™×i‚w,ÏØÃËßa•ÃUüm ¿’*‰óG {™Ý}œó 3.Ù]ê»Êu®*3o'—<·NÚ³–ÿºIµ#TÒnïKFÎ2Fµ6çq®úÍuÆ•ì4ï7SƒKl©ÓÝ»Ôr>÷œsÈÂÎÝÚ­ -ìùi¥Úýl4ð­©cD!îÙªä¼Ñú´…áþóâ>vl>å¸ëï[~çž/„Çv ùñG!ÂÊÀ÷¤…¶‡ÑrT©f*—ãqûF TŽÁM›iÕdÐYAÚ˜¨+ݶ{í# †JÛÒÕLK!áC°Ç Æ -[EJ[Q«Ñ|¼jŸà¡å…Ìà¹5»› -endstream -endobj -2445 0 obj -<< -/Producer (GPL Ghostscript 8.70) -/CreationDate (D:20090924115428-07'00') -/ModDate (D:20090924115428-07'00') -/Title (lflim.fig) -/Creator (fig2dev Version 3.2 Patchlevel 5) -/Author (giles@snow \(Ralph Giles\)) ->> -endobj -2446 0 obj -<< -/Type /ExtGState -/OPM 1 ->> -endobj -2447 0 obj -<< -/BaseFont /IDVWIJ#2BTimes-Roman -/FontDescriptor 2449 0 R -/Type /Font -/FirstChar 40 -/LastChar 109 -/Widths [ 333 333 0 0 250 564 0 0 500 0 500 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 611 0 0 0 0 0 667 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 333 0 0 278 0 0 278 778] -/Encoding 2450 0 R -/Subtype /Type1 ->> -endobj -2448 0 obj -358 -endobj -2449 0 obj -<< -/Type /FontDescriptor -/FontName /IDVWIJ#2BTimes-Roman -/FontBBox [ 0 -177 775 683] -/Flags 131104 -/Ascent 683 -/CapHeight 662 -/Descent -177 -/ItalicAngle 0 -/StemV 116 -/MissingWidth 500 -/XHeight 460 -/CharSet (/L/R/comma/f/i/l/m/minus/parenleft/parenright/two/zero) -/FontFile3 2451 0 R ->> -endobj -2450 0 obj -<< -/Type /Encoding -/BaseEncoding /WinAnsiEncoding -/Differences [ 45/minus] ->> -endobj -2451 0 obj -<< -/Filter /FlateDecode -/Subtype /Type1C -/Length 1322 ->> -stream -xœe’mLSWÇïåBïE¡Nº˜B¯s‰2QÇ,sSÇÛt©LÊ«aEú–¶´µ ”RDÔyZ­@­ôÕVCÉ4qe‰ÄiDqØmY¶8çpfç6—kÍ–}XrrrÎyžó{þÿó CP*«Äº¡Z%ªí×Ó+Pze€&;p*°="¸°h…¨ð¾•Â8¼Ú–Áï Šlg2Õšºr©LO®-'¯[·þ¿“ééédeÝ¿2K¬“K«É5ÁE­X©Ö¨ÄÕú­df0[©”ï'¥Ê:LGŠªªÄU¡kE"¥XAæÈ•rF]K®ÍL&7¥¦nL Ni¹rUeŽ|©œÌU§“R(–Ö(EþA$J Ê•ªµ)ÉëS7!H -ò!²ùÙä"‘Ȳ‰F–#$:ø*H8²™@w ú0 „Ý -óck0 v=<>Ʀ!  ãôTÌï ± ý-ÌàÖ‹õÆzYUA;Y¦VáàöÉ“ßµã3àw[ ›X܃sÚAv£1ãÁÙc }ø̈`C?pÒIÃP4ˆ>ŸÇà ]Äe–A‚5M=×w²¹Ú•xJÛÝÜ7år–{>Þ]¤)Óò´å-Òã[‰tÅ#f–2ÌM™G #t8ñô6s˜#à,dãìÀ@ÑÏÇ TÌÂ4A4–s?DqÅm;«?g*aGܬÃÛ=20졾—À„iL;$¾À÷¤‚bq& ø\K§d‹Ù8à77íh% ÐKáÛÚMp‡€{ñ¯­ðs#¦±8%‹¥´Ÿ;Øe?—OW¤ì­I ‰eZYëºO 6<´¹Ôéë…Ñ 1ޙ开™t—ÙPaÄí–n«ÃrÄŸ>ÑPÎcŒ8Èl6ç„,5;ñ]í-¡jçÐ%°–«ÑëÕê~ýà»hPï®æ½¤£Oç1*€q;X]–n‹ßðµ8(l4 ŽQf'.ø¬©\%è_ñ£ÖâzqsN}<;@¥%\AýóPE¿Îu´Ù-]€ðœh(å1!†1ÿxqÀ‰Y]`œ€>Xí6Û÷D_ö˲yL°õùf³0¤\ïÄ…c˜!`;îq]Ä5—†Ïc¤8¶´ä&©¸Öª²š\`<VâpIÕõmy%Ú¼ÂĺkòBPÔ|1‡¶–äæc|ðÇÞèE§üœ -𹔪´’²¬·eI€‰ g,ùÇ7/”zj®(ºOÅmýFíÓÌéfÍ÷À3ðÂñh`fpÆ;zgš`Ó7 æ&JŸ…îÍEË.ü*,õcç˜lîÝ)¯gìâí|ÏŒðUÉo›*§´ýÅÃM q²Á§wvmI`µ‰¯ÉU TÒ̼`—ÛZ{þŒ©ã±œŠï™UÜÙ‘Éà:ñ•l|ŸL§—'rúnÃh‡ÍbéHäTXmXVØ;Z[jI¡„Ǧ5z1ôôèx‚A[Ð_ÕKdyùbia"/å•_ÖMƒË`¢gÔ7}õ$Œ& (®bbi¹ó“L#fÄådZZù_° -Ê&!æ÷h÷]þìÇh5LàšÚ%BÓ¡} žiaÁ÷`ÖO¿Œß⟽{uAqÍ~I¢BnTÔgõ‰;ÿttø æ¯ ·¼_öÖ–M<&‡É‹h¢_ÃÙ{é¢^XÐËò.y¼ÔkŠz슊F¿~nW -endstream -endobj -2406 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [402.606 614.05 425.077 624.898] -/Subtype /Link -/A << /S /GoTo /D (section*.100) >> ->> endobj -2433 0 obj << -/D [2431 0 R /FitH 686.127] ->> endobj -2434 0 obj << -/D [2431 0 R /FitH 668.127] ->> endobj -2435 0 obj << -/D [2431 0 R /FitH 653.569] ->> endobj -2436 0 obj << -/D [2431 0 R /FitH 638.956] ->> endobj -2437 0 obj << -/D [2431 0 R /FitH 590.415] ->> endobj -2438 0 obj << -/D [2431 0 R /FitH 561.356] ->> endobj -2439 0 obj << -/D [2431 0 R /FitH 541.428] ->> endobj -2440 0 obj << -/D [2431 0 R /FitH 526.815] ->> endobj -2441 0 obj << -/D [2431 0 R /FitH 512.755] ->> endobj -2442 0 obj << -/D [2431 0 R /FitH 498.142] ->> endobj -2443 0 obj << -/D [2431 0 R /FitH 482.976] ->> endobj -2444 0 obj << -/D [2431 0 R /FitH 458.899] ->> endobj -326 0 obj << -/D [2431 0 R /FitH 417.111] ->> endobj -599 0 obj << -/D [2431 0 R /FitH 134.074] ->> endobj -2430 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F70 508 0 R /F49 457 0 R /F48 455 0 R >> -/XObject << /Im17 2429 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2455 0 obj << -/Length 1842 -/Filter /FlateDecode ->> -stream -xÚíXÝsÓF÷_¡GyZ÷}'JÛ¡$!tÂG“Ì´àA±• ¢ÈF¶ò×w÷V’%G’‡vúbO{{»¿ý."=ýr:ºwࣄ%VÚèô<–3k]d½eBºèt½Œ…´ãק¿Þ;pªKšp¦|ѣÇ/N÷Ç¥TìØx✎>ݧ­½ýGÏ÷ö‘ψ׷÷¯žg˜6*šH›ŠØž¾Éà¼Tq1O¤ç ü+ãW\èb•Uô2_Ò3¥Ç2¿\õ¹YvŽºx:†Ÿ·yy1Äaõ&]õy¥ËlFËyIGªuYÖç7w]¦Ejš%ZÃS°Ä’?›]€ Òd•MWá8þÅëÇ"& pc>õÞ£Œ´£A¦úè”tŸ¡<øâ¬cŠGÞ ^´¤eZÎêÅì/¸b½ÜÜÚ²\䳂¸½#i±nŽŸ!׿ƒJ¼¯LŠ8Úx•. Y‚*[.È<å2ÛkiÈrÒ™ÐWH‰ÇW—µšë"]çVº·áx>/Š×‡ñDÄ9èô’r^NŠ¼ÌÒjHþóu ˜—÷ÃK+YÂE4ÑŠ)剢aM~ùŠ~L>/DÇGgÆ7ÿè¤C ™–-ÁtÜ2Ÿ4¯áRûøÇúªnt9&à*%™r ÑûF%TuhþÔì.Þì%7Û{ÐÂ1¨Ô¾áÅ÷¯â"óÊEZ2­Qñü!À¼Ü¿ËÆX&}‹cAݽˆ3FoM 5™àç|@,Ϥ5 µàfJ̆WNÑ£9`2\3ëž·‹ä˜ÓÉu&Ìhבh€Gòë]h%¶|]l«o Éœº^Òž¶w&i¬ioy0àöÂ~›[õ$ -~¥¯É¡ÀàLÏ#†R’ƒä¥¯CÙ(ˆd{æ-ˆ:8ï‚Èß"±¢C¨ôx씄yñq2‘P¿¿£ÇIË¿—ï«Øuù£Áèíàü趠ÞÍbW\Ù¯€£ïÄÂBG'ksÙëóºø\^¿•<`o|¨m¬VB°Jɸ¨Kó!´GBHÈôB^ƒÜ`7>ºQÏC·é’¸È/sêæp:7:7ú›½[§-WóAçÃnbc±ƒ£'OO® -EظVÅ—uëÏ»:0g[œÞåC…´l)^CGh¼ŠŸ¬H¸Y†-a™Õª…¶•£¾0KßÖ/æç´„3ú“×}jšºïñ4“E oE¤‚–0ÇæšÆƒübM¡«ñ¨ºˆhqüx½ 4L{ -°gC@˜Tœû,–)Ñ·¤Ãî¼~VUZ7·(&)k66­Éën9›æ)eP)B„ 涪DÀS/³ÕzK¿ÉÒvà¸ã¾G‰p#/gÙǬÞÜtÿ[FV3»É*»ÍÞ’€E´÷yPj¹¢KÁWKvVù§Í×…–ç󊎵æÎ3ëåVO_¥—Þ$êéF%8[„E³O@ ¶;ÜÂq-ì´Ô{èM=f¡wÚiž•ˆÄj Îk5Òê" ‹‰ïMLáºó¡@÷Љy}}¤{Û¢ªçSp[b™’ÊŠsèˆM_epïyIÂÀ`ÝŒW£úˆh%^ÁÃ4í›Î2 ”š h‡ó*ÿÀ+]ÑI˜Ô®jƒ#gªaô¤\¬C4«x‘¢àÔ2ôõ£ýÓÑ»:ÂDû=Aƒg8i¢éåèåkÍà%Làº.úH/#s˜x°ˆNF¿ }›ñ44ËRKäÜ VƒìŸÏ­GSÎ…ŽOòOä<‚Ãha®t؆Ÿå«e˜ÄJyæá².ÍI~Qf³Ÿ«JD¼—-§U¾ ‡EôC0AW0…f8Ž‚uò`c¹å¡ã€¾l øëé'¢À ÆDgX3­ï?z1‹4›È”{àÔО>!Ï.²Áyùa›¢ð%l¡zt <6T¯žÍÃÂćʮbÜ´qpüâp¨ý‚Ìët§~ËF &6|~¿ª%ÖaÕfÜn†…¶o:'mÓ<|Ä ñå‰c(êÍ`Ö:ÐLÖøLñ!€rÒ2£ÍË–O•M†Ðöà+ë)U*ð¥Ê†êÍD$ŠIP¬wþàÏ™¹kÞ‰ Šäµ¡j‹YúL£¡½©ÓA€¨ ½ú+‘e”23$‰ `ý=&Ä–NÀÂ[m^ó*â‡ñ1ÁEÑÊ9,°pPTe(Oœª>> >X¤mh¥”§¡¹ /Î(]aÛ$Ålv<ÿ¼5<ÇÏj(\µ‚¤^к Šÿj@q‰*;®vjþ­€Ý O xºA818ºß;U’oh‹éEÛ?±Ý¹Êã íM«Ñ@îfÊ@^ª?=_¯nV%¦Õ­ÔE ½B¢Ý·ÔEûuÑÞm]^AÇs;eQ8´³þ¿.þWêâ—ÁÏÆòFAÔ xÍóOµr¯ -endstream -endobj -2454 0 obj << -/Type /Page -/Contents 2455 0 R -/Resources 2453 0 R -/MediaBox [0 0 612 792] -/Parent 2399 0 R -/Annots [ 2452 0 R ] ->> endobj -2452 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [293.973 518.244 308.695 529.092] -/Subtype /Link -/A << /S /GoTo /D (figure.7.3) >> ->> endobj -2456 0 obj << -/D [2454 0 R /FitH 686.127] ->> endobj -330 0 obj << -/D [2454 0 R /FitH 469.434] ->> endobj -2457 0 obj << -/D [2454 0 R /FitH 450.989] ->> endobj -2458 0 obj << -/D [2454 0 R /FitH 415.124] ->> endobj -2459 0 obj << -/D [2454 0 R /FitH 247.694] ->> endobj -2460 0 obj << -/D [2454 0 R /FitH 211.828] ->> endobj -2453 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F11 573 0 R /F49 457 0 R /F1 667 0 R /F14 574 0 R /F70 508 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2463 0 obj << -/Length 1759 -/Filter /FlateDecode ->> -stream -xÚíYÛn7}÷Wìã -©Þ/)"m¢ÔA¸¶Ð6pü°–Öö¢²¤®ä8É×w†Ü«v¥8ð¥Ü\Š;ž™9CîÐè<¢Ñ뽟Ç{OGFDŽ8Íu4>‹ÕÄji« ã&O£ãØFÉ`hŒß¾0 -!âÑþÛñøÕáþ»×ƒ“ñ›§#Û$¸%FXÆ‹Y8g+?Iט=,§¹A^ú}àtœäYr:KW°ª•ñÕ*>ó’^÷þÞc ŒF¬V[b•Ž&—{Ç'4šÂŸo"JŒ3ѵŸz )ˆaøâ,:Úû-`ÐÔœ1N¬4‘æ‚S¨ò.¹LC¦©ŒÇnã/ËÁã\Šø(ûš¢V‘åD #N©ðîGªèi¶^AËü$a‰l›sŽ²óy:ý 6)™Š_¦«Iž-×ÙbÀNæSìÈ8OWë<›à?«0PméìwÀPÈRN©ƒ–‡ „r<ÞŸ#ëô<ÍaÄP;‚Á؇ åŸÆiP;ž§a'ÓtNÖ‹<<å8•Å¦‰aK)ñÑ6€èqZšÝËŠzÙAøGÊälæé4vì°s؉“в$b@“5Q€S¯ªl÷üy¯Çs-[$Ñ ~A)á“—€äÕ8vÞ„ø¶¿ßÂòŒB {äŒZÿ(âœgTv‰€öYà ¼öä{´€“6¯&¼í*Æê˜S G8Ië9¼ƒ(`¿†3L¶9Ã>žªàrwÈ3.†K×*Œ¬/’yè}MóÅxÂrq²ògwt£ï€;Ž¤à†À~wǾ­ãæyÓÕÇ vVx‡G/ ,UV‰eÇxp•ZÆ«m7Ýf»÷ =¿ÎV)XEPggØrÔ@8hKlÏó4ñmü/˜‡áØ]¼—Bè1åD ù–4šíŽs¡î"ÎåNK"jZR3´d8XGŒÕí«D“7UãìØnZ3•²ã¦72.~Øf$§árïî?Ó"³oq±¸÷L‹\¬z¸8¤±‹ÓžÛ˜Œ:öpp®cˆ!ˆÏçÎê’Þ¹ÿmÍ -|ùqŸÖûO•áâzóÛÒ7R® D=DÆUþ0Üɸçwq1᮶g\÷>õθü3îÅÿ÷_̸ü®2®ò_½7›Ý>ãJbÅãθü¦V³Eµƒûj\–ˆdÊW{¬u*÷¬°ô#_ÉŠG™ÿRÜU?×J¥˜ýùòjÅ"/“<¹Lá­ÕŽ’‡UW·,a©dÁ5\JÞ,qÍÝfÉHp&ã#­¬1ˆx©ô-ÊF\8¶µlTÕYÖ9.:ñÝ º;‹HÌrâÄ÷‘6N:…0ÃÀÇv‹”„ÕJùËÁPc7K+=•¡yžxlCñM LÒœ`7ë0/ú> -BUÍ·¿öœLÀS±XŸLx)#x-çJ`@하¤R|‚Ç“²<’ͳùy @à?)þ?«^ÀÒdº«ðJ°MB³œ%sÿŽ¨þ©„äé°mñqd¯ÖùÕd]–ÏÎ0˜HÏ®ý1š‹ -K´mÜ*›)ªe3UšK‡²™4ºS>±¢p†Ý¢p‰$l†pƒ>¸¤óò¶v³Jºµ¸áÌxÌ!! LùµÂ¾—mÈ:7döbhÚÓ"²{<´.B¶SSÙBèý¹S`: -endstream -endobj -2462 0 obj << -/Type /Page -/Contents 2463 0 R -/Resources 2461 0 R -/MediaBox [0 0 612 792] -/Parent 2399 0 R ->> endobj -2464 0 obj << -/D [2462 0 R /FitH 686.127] ->> endobj -2465 0 obj << -/D [2462 0 R /FitH 668.127] ->> endobj -2466 0 obj << -/D [2462 0 R /FitH 634.254] ->> endobj -2467 0 obj << -/D [2462 0 R /FitH 514.693] ->> endobj -2468 0 obj << -/D [2462 0 R /FitH 492.775] ->> endobj -2469 0 obj << -/D [2462 0 R /FitH 427.365] ->> endobj -2470 0 obj << -/D [2462 0 R /FitH 412.52] ->> endobj -2471 0 obj << -/D [2462 0 R /FitH 396.58] ->> endobj -2472 0 obj << -/D [2462 0 R /FitH 371.175] ->> endobj -2473 0 obj << -/D [2462 0 R /FitH 352.745] ->> endobj -2474 0 obj << -/D [2462 0 R /FitH 336.804] ->> endobj -2475 0 obj << -/D [2462 0 R /FitH 320.864] ->> endobj -2476 0 obj << -/D [2462 0 R /FitH 295.459] ->> endobj -334 0 obj << -/D [2462 0 R /FitH 265.08] ->> endobj -2477 0 obj << -/D [2462 0 R /FitH 247.189] ->> endobj -2478 0 obj << -/D [2462 0 R /FitH 211.324] ->> endobj -2461 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F70 508 0 R /F14 574 0 R /F11 573 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2481 0 obj << -/Length 1765 -/Filter /FlateDecode ->> -stream -xÚåYÛnÛF}÷Wðq…„›½_R …ÛM‚6q¡màø–h›¨,©¤ùúÎpIŠ”(:†´E .Éáìì™9s‘Yt±èǽÆ{OŽ\ä©7ÂD㋈F±‘q†ra£ñ4:%\¸ÑÙøÕ“#+Û¢žQé-è)…ž¿Ø?žŒb)%±t[ëÈÑÉþχáÑÁáó7‡¨gU»Ž÷þÜã°d_ïl,µÂG“ë½Ó3Má嫈Q ;},E¯#©$µ?œEo÷~é;…¥ÜºÈhK…2ÁÀ×Éu:Š…žŒG‘¿–pg <“‚+ò6ûœ¢ug‚*m¢˜s굿gšgÅ -®¼”’Ž:ج-ó6»œ§ÓïA«ôœ¤«Iž-‹l1$ó).ÉGwådUäÙ¤€u‰L?"ÒS+·QÞ #¢ü–cá(X,>züÚÆN)ʯ½úrŽPéešbÍ• ‚Á…Öäõ¢\2¾‚ÓX¦È”Mó"›$³ðd 'Ë>¥Õ]6Ÿ¦ŸÂrqWIŠ« -tå)Ó¢ úl -?–Z/.ÆŬFðÅ(VŒ‘É"Ÿ£‘¸FíxEíå"i0OÀÞ“b^œÃP;ÚÀ6]ÎÕ¬HótJJŒà«dv“ÒÝ1¤Ï®weUO 2¸*[ÅЛ›byƒ–8I–I$WOL‘ZŒz‚k¡©tÿÛ×ÌÁiÔÃ\yô´ Ÿ>?¾-$ÅÁ(6«Û¡ÙC‡ý¥äÔ?+‘¤1¢A@¶§M²y6¿,[O×ÝS‡ ¢Ö”~ ËUxS&¸&x‘eÊ›%ó4ÜÕ/=y÷¡ ê!Xn&E: ÁtL ´Bè"´RŒ:Súב‡t’gÉù,]!¯¹Y¥ÓF+n¨Ö÷e4D”Ò‘b†2Ûa4l£ÑœÇɲÊØc€oCj'¨¶þK8mû9-Á÷›œVÀiز¦uÚðy€ÌÒ9ª¾3™]—¥E'û*ÈÁ -íE·„H EÌУ‘w#ðú¬¼«ê<™^Ve -¹yR,òpç `ÂyB¨mFå1e‡·”ë-÷»•ªŽåehЖn­‚Ž’µŽ]ï^5lçŸzR—¤œ›Þj*ØUu'­,`€Vãj‘gŸkÚϳÚ2XV͉d–áQQz^•â ~üÇ+¥²T+w?&X¨i U²"Âø*C*JC–yeJ:½ÉÓð,Y–I'K+™$\T\$Ë°ìvfø¤ÝM˜²Âkš”G¼ -w“ÅìæzÖ˜ÈZº7À,ó'WÔ+Õ .r!0igˆ¸€h#ðU¦:3ß958ø®Žà¶¹­Ø -/Áâ탙…³ffé‹0¸È×A ›¤`ÂyÚµ.†Šèÿ˜­ÒÇ8%8’]„ñḚ"Váz™§Ih´™¨|‰+˜MÊï\) µî´s–ZÕ©†ív¥ÓÃ}-[øA’KéïXÿÀ?Ò4÷=?ÏTYS·zwÓ¿X©´ÛvoúEîÅŸ÷v¹É˜îýÿ½û õÃØñÝð7O§·ýÿpä‹+çî-wVNM¥ÖÿLåÿžÊyÿaé–z+$¯¯[n[ÿHüO¯·Ë -endstream -endobj -2480 0 obj << -/Type /Page -/Contents 2481 0 R -/Resources 2479 0 R -/MediaBox [0 0 612 792] -/Parent 2399 0 R ->> endobj -2482 0 obj << -/D [2480 0 R /FitH 686.127] ->> endobj -2483 0 obj << -/D [2480 0 R /FitH 572.428] ->> endobj -2484 0 obj << -/D [2480 0 R /FitH 536.562] ->> endobj -2485 0 obj << -/D [2480 0 R /FitH 452.818] ->> endobj -2486 0 obj << -/D [2480 0 R /FitH 416.953] ->> endobj -2487 0 obj << -/D [2480 0 R /FitH 296.168] ->> endobj -2488 0 obj << -/D [2480 0 R /FitH 275.509] ->> endobj -2489 0 obj << -/D [2480 0 R /FitH 207.482] ->> endobj -2490 0 obj << -/D [2480 0 R /FitH 192.366] ->> endobj -2491 0 obj << -/D [2480 0 R /FitH 176.154] ->> endobj -2492 0 obj << -/D [2480 0 R /FitH 150.477] ->> endobj -2493 0 obj << -/D [2480 0 R /FitH 131.775] ->> endobj -2479 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F14 574 0 R /F70 508 0 R /F11 573 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2496 0 obj << -/Length 1610 -/Filter /FlateDecode ->> -stream -xÚÍY[SÛF~çWèq=­6{¿ô¥ ¤d(ðL›!<[MíH¢Ióë{vW²%[6vÈdxaµÒÑÑî÷}粆DãˆDïoN4,¶Š©hpQ¢°Q6RFaÊt4E7HcJp/ÖÚ ³‹‹Ë^Ì9G'§g=ÃÑàøêôü]ïvðþ͉i8âÌ`­4|Æ» Ì:›R}¹£˜Y‹•p¡áeÌ?IÆð‡¶^ŠnbI:½ï±A—nÐ(+Ât’ÕUùLóoi>û.EIQdãiX¨°Í-sƒ-UõJ¯Žû—]ÛÁŒ-ln:Ü°ævO>®» 3Åj‹_z1¥±Û._Ôb$ÔÎþîp¦°ÕjéÌhÒ°0ØH^Ü}ípA° ¢¶¸­¡Krÿö¤DÉä)]‰ÛdÄLhÌÁWL%¶bIÜÃ&â.À{þ%+R „ƒ²{72G¤‘nçiR¦y˜.Ý“Ò¿·…JF–Fü *µ0M*ÙL¥‘r+• E·Q jàv*ÁÀ–À”Z ‡b KðÏ<¿.|üº)€»J/°*¬Yc7Û‰]p¹‘%X—Yîç%$™­$Ìuט1¶$øéíñf01r;IvÝ;Å›©âC8>TƒK\-ÓD>æ\Ä r•‹K–ÆØFzæ.Ÿ0‰ú³Çù$--ÑÙ FŠfó0=É&.°Ö @3ÀU{<ΟJxòû<É“Gð—¿yÒŸª$¢‹j!‡€`Ñðñàæ–D#xø>"X[}ñ¦w&Ô½8‰®>„ÒÓ‚‡19‹$ç˜Éj!çðmX‡d zÌ ÿæ.™#wQ®³o©;¤R×´µîÔz—•E-ØÀ3PÓš6× Ñtô;€',CGi1̳y™Í¦•d: -|äiQæÙÐ=)¶à±¢!ë®ààÂh+íŒQ;#sQ•à³“³Ó?¯×E¥èr‘«N§¤2’=­Í&yžxýC¨ðJËÚ èð|æ/$z »)§“ô1÷•áÞÒ™ŸÎîÃ8™y†¼â`ú‰P1‰ý÷`©\ë•täÓ<à;ɳr% -Ü¡Ô˜Áû”¯¤µ«ËíN,©€d@ªmVûUhàÂQ‰¾d£òÁ] -¿3wË…ªÿ°×Hœ`e¹£ÊC”G®@sãL ¯p¬hµZ²¾Tè ˜Œâ†Ñ|’L«ÅÀ -|F· Œ@ÕÌç’‚@‡ Í2¦£pç>¯‚‡¢lÆyö5îF:Ùë?~Ö”¡‡4?x{7çpÊ6N!,äKkÂ:‡//‡ÔjyWýɈ÷œº D[¥nÃýVý­ ` 8ÈÅGú• iMGH¿¶Zí]GéƒjnUÔ0r‰uýs°k…%£moÿjÕšäë_5N1QÃÆ3 M¦`!_¹ÑÓé.Ztzö!™¢ÚTÔbYU#€â}Ùüqñ£­hÅ›»­i»R)Äs”Òº]œÂ– â6ŒvâT­œÊ×Äéùáõþ”rÕI)× -•³2™¸KükOîï]h~ò`ã+.Üù’«ÑÐçŠð0›†¾HXL$kÇSöê·½ûûGÇG/ì@Þ>×е¤ë¡5VËÃm'øŒcaÝÿ¢}ñAÂ`h´/nêÀt#ô+2A,Ð/j¹Ò±dÓQ6LÊl:†¼I •>dCçÇ¥S"€"Z·@˜áQ’§] ƒõ(íÎŇÓïnÕs­`e v#Âb*Ç´óÎu1ƒ™áÝLpÝbÂMCí]9\ièÜ—GòÏÙúWb -ŒÛÅq·ÚÅwõ’ÇýÏ¡ËŽz±‚žTîf½áîÚ¾åÙsÙ~QÑ<0ƒV—]Ñ'BX× Áž:Ú -! /úÙ¶NbJ,¡Äª‚ -I6õaÁ­¬º$¸¨V”á®Ï]vSO½‚â zjeº{êªVˆºVˆf­(Å‚©®b±—˜ú‡/U“zNMj5A™¥z©þ5IÊŸW“´MO]j‚ Ôb'5©Ÿ£¦ºÉ»®ÎƒÃQ`µ›tÚ¡•˜H-&ºALÒ—Šéêu¥¦×*&ùÄ´­ÕkM,(‡“ %N+)Án)™•žn©¤î_¦\N ÚãºÕÕüW,Cé -endstream -endobj -2495 0 obj << -/Type /Page -/Contents 2496 0 R -/Resources 2494 0 R -/MediaBox [0 0 612 792] -/Parent 2503 0 R ->> endobj -2497 0 obj << -/D [2495 0 R /FitH 686.127] ->> endobj -2498 0 obj << -/D [2495 0 R /FitH 668.127] ->> endobj -2499 0 obj << -/D [2495 0 R /FitH 653.681] ->> endobj -2500 0 obj << -/D [2495 0 R /FitH 628.276] ->> endobj -338 0 obj << -/D [2495 0 R /FitH 597.897] ->> endobj -2501 0 obj << -/D [2495 0 R /FitH 577.682] ->> endobj -2502 0 obj << -/D [2495 0 R /FitH 544.141] ->> endobj -2494 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F70 508 0 R /F48 455 0 R /F11 573 0 R /F13 705 0 R /F10 668 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2506 0 obj << -/Length 1374 -/Filter /FlateDecode ->> -stream -xÚí˜KsÛ6ÇïúË(1àø7½Ê„Ä0|p‘½ü‘Á0¢Ê4D˜Ésx7ÄA-ϧCnóëá.8Ç™Ì_VKŒ*cTg$äÈS*<|J=«š \™·–X¸kó²ºX–óŸ‡ „0ùA¹™Á0¯«!Ë×MµZ¢2/–ó h]nšºšáÍ=rPE¬¾%‡tö~9zKœÙL9I¤ÑOÆ'‹®rJÎt ?Ž4pðëkÊ‹²öÉÓ¾8{u]xEýM@OÕSÆ‚Ò\éüùÊT¾ÞÜ Ò@V¶¯>>:yŒ˜ì àÚlN)å OŽXÓñóêvšHÕ[7Å6~@Áå³Õrä39C˜ºABSTËjy1)Ãóæ· cx,¨“7œeùê¼µ,c:¬»0bÄa"C…õ²k-ˆf1z;µ„­ÇQqÛ¯ÅBãJú ðŠAøA]B´€ßõ¬)ç8¥òóR)®Ù’$DqÊ ×®¯P4ÞÿÑ0⦃Ñ8‰‘"n'û1J¨àOi°Î&@’²¥w‚¤UXt)²"˜õiÝò–I°mFãhB{ 1Î ¨1‚³$I†HŒjŒfß™¤ãÿIú2’”‰$Anþô¹M˜xš¢i%cúP”d°ªï@‰Š¯‹Rú”ÎfÝ3$Ip¦5í1¯?‡NÃbTÅÙ¢Ü`#óëM9¿§‘’µú‹úAK•IÁ=8þ…+£>Õ¿\|AÿÂ% ‡ýK]}~ã"™$Š«G7.6Ñ·HŠ½A»{^ÚÉ]ð}0Í$Ë9½¹·§˜d.WÍ¡€ÂÐzøpª ÷l>»®ë¸KÂHj4öÂ:ND„m”wTéÑ‹Š×¡å„»Õ2\×Õûr±!a/÷¶uðè)ÄÍ4ë9Ìß•›°:¿,«‹Ë¾°aã|Óôĉ˜ “ ªo•àd| ¦¨½³œKÜÎú[Õtîv•8UÒáóEKù€’N;%=QÑ#–ÚTE.œóf[º½\ÎpªòskÎú" -×Yw™q¢­¸vË1ýä÷Ö7¹–‘þý¿Ð³v~M‡ÕÛûPÇ}èL~¹ª«1bæ<7aX-çåû0ôÛÔÙö¤JºX¡§wø§¬G _ ÎáÜhð#•®—~Т?œó9ãDW®„6g‹•/²3´øç>ª÷O«„á*‚nªê€3QFpèãæêGÖ!qˆD8õÎê¥D„½—óÙJøZ•ØfwuYÄ©U˜9‹çlB—SÊä¢)ër~‡'Õä{²ñ]‰”üõÅPqC ‚˜¤Xž"‚«uøÙ¾(Tªþ—Å÷‰Uî¿ÂÃÅâºý1´Sšoâ]%úñpÅê}{å„NÓ ·Z\eøüÇ©¦½×ï3À¢¿µZa%¥#Tñ~¬³`>/c7¶ªçeÊ1ÍâÙß_-U®·©rRÅ©"ü\¶ I€68~¡ AÈØ`Æ3FëÏËxû¯Èö -è’e&Õ -endstream -endobj -2505 0 obj << -/Type /Page -/Contents 2506 0 R -/Resources 2504 0 R -/MediaBox [0 0 612 792] -/Parent 2503 0 R ->> endobj -2507 0 obj << -/D [2505 0 R /FitH 686.127] ->> endobj -2508 0 obj << -/D [2505 0 R /FitH 668.127] ->> endobj -2509 0 obj << -/D [2505 0 R /FitH 634.254] ->> endobj -2510 0 obj << -/D [2505 0 R /FitH 478.779] ->> endobj -2511 0 obj << -/D [2505 0 R /FitH 442.913] ->> endobj -2504 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F14 574 0 R /F11 573 0 R /F13 705 0 R /F10 668 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2517 0 obj << -/Length 2022 -/Filter /FlateDecode ->> -stream -xÚ­XKsÛ6¾ûWðHÍD^È^:µc·î¸‰k«m<Ž”˜ʢKRI“_ß]¤ø²œ´½ˆ«år±øö Ð`ÐàÇ£ãÅÑë3-‚„$Š«`q0ªH¬’@ÅŠ0®ƒE܆š0Jfs­ãðâÝ»ËÙ\ž_Ìb.N¯Îßþ8»[üüú,î(<&ZiXƪ`‚¡Ìõ+Ÿ.Žþ:b@Ò€íUšhž«Ç£Û;dðòç€èà“} „D3üp\ýêvÐ]—1Nb©iÂ¥r«¿MÍlÎ#…‹ÃÏOð/'8“áuþÅ u`# ÁœÁ3ŠÜÇhD—y]ÁÓî!1‰š®Ìu¾Þšì{Ð*¥ ߘjUæOu^l+¦ÛÌVšª.ó¾©,Ó8ˆ„h1ÂA&ña4ò$8–vv>mò±«@cªñÔùªÍÚ”³y¤$9l‹G*|[X0|@4¹ WŦ(‘ 9Ýzn¾ÍÌߎ[Ü;VÝ~±+KãVpˆË„Ðh€ørSXÿ¬PîOr(ˆK¥õ ÎHÌDÅŒhÊ‹‡¼šÍ%çÒÛb²]i§ÃÌ| Ln±›C¢(3ÍñÒº÷V‡g]ZæÅÎ綩q›:üÓ ™lݨMK¯ÛÔ¦4™…°’$‘²Ù±Y¥» -#ZÓФº÷/}·¯RŽÀ@¯ØçÖôÖVKàçŸð§pŒÆ†Ê«\ZP -”ø8ó©ü ã{ñý÷d6ŸûÑm4ËQ±‘éÙï`Š9Ä”@÷¨-Äg+Vt‹™Ì±òÇtm^Aвd/÷4c!ÉÂU^Y ‹]ý´«½âeæÛF…µPà6'LÌŒ/Û,ß®áX!•‘ƒuŒ£›0°fØ0æCQæ_üÖÒ{k˾t–5xÉ¿êà.ðô¥ñŸÕE³ŠéÙë«ž%¬;ÖÁXˆÜß -ìßG“m.¥Ïpû¡Û ’MÔgNÕƒ)½ 8â¾(ýRh¾w[G„¥/KŒŠÏŽþýR^K€L$ ’yÎ)ÔW9ÈÜÎ#Jê - -®ÓsÑ,ç­4SaºÙWèdÒÉõ;YÜTº‹³‹ó_®'ê!'‘nëáí„­­Uóëù„–±¯©·ôîn°‘9SÌj™ƒ¨Œc'È'·{†¶ðnèä6l{ a·w -#(”oI½ŽP’ˆ¶#—³ˆ…i16¶Z׬‘´1ðÊ)þ”×~å•Ïi“ÍÛ ijÿxm&8Ô¬åDŠ‰‚FྠšŒÇ`R-ìÌiÓ–‡ ßO9NC¿Í"Ç'ïÞœ¾[QóÊ zÛéÀ‹›¹óN©FÛb;ÿbÊb¸G%õˆDÔ·ëüPô­‚À•oVìõ Â„E;E×Å‹mÙh+bÿÎ7y|‡ÅÔõy{½Ê1åthîZÊC8a½Ú;Äu³)¶ë¶š ó†C¿N`°œ3hì N²õêôäò–M^]þý@„þ¯«Â(rù“#º-ÛÕß’×¹«Ô^gîŸ ÌÏt¹±%Ç)å:pÄ•5Å4‰£AÅ„ǃF¾*`Bª\§)|§Ù×ÕÖ/²Sèš?•v06‚æƒ!sO} ‡Ïþ–@Dq-ˆPqplgv(Ä¡q5ó‚PÀL¢¦ƒMÚËQªÍ-ô+Žöœ;¿r©ëÉñÐؘK¡Tš®'ÍíÙ@9¡Iˆ„‘(ñåˆNJº¦Þ€Æà«ËŒAÎ0o~orn?ì{YýÉ1*•¨ÿÄꇉȯÓÏ¿Bÿ*…ÌšÐ? ¶€.—Äú[bƒv§ýÚgÒXÀH -¸Oý}îÙ,ÀûgÀÀ¬p샙‹…Ru ÔÎ2k7­±Ð&—XÕ|Éikx,ô%û¾é¾§M÷è B¡‡¹öl* ý!°D@Dpn›ºv¸° %Ãã÷øŒ|]ÆpÒÄ—Oùßfã^7¥^ùRßýtS´s¿)çˆÏ¦ê~†¨Yq¨P[Ûï -{ŒSpŠcýxÂœê[Ðøä×·ÓaGPàtÀÝ6èm¹‡£*<¾Aó˜·ÓVûîŽ" l@6°œ… XþCµ‡M#ls_;~ ÐÝ,bÑZ:÷N…˜"ûæýÍ8I KõašFéÜ6´p¨ó™±.MZ7ǘïýíÆÄ,'TmïQö=ú‡'ù³÷ÏŽò–ã˜d7Ídï;SíñR:†©ŽSãh"šDŒ÷:~ÙlŒ£(yÖlŒ3¼3fÒ_ëdr­ß*wÚT¬b `YÂ-êý?7̀腗ÃãgÇrc £³¨âÃËw73¾fhÎ¥¸¦²3‰}Úë \ì#…‡OGÙ; x¾<.Bé‹Dò¸Èi[bÝa¤gÀðºy™½Žó³eæ¯P„²£ios¹÷èµ±7tÏOsèV{):±žË<;ÿ³æŽˆ¥ÕQÔuñè.å²ÍE°}÷n¦²º/e/dÞ祿hM¡É(ëðåtÖEà‡ÿštüpÒuÎ*ÿÖZ÷ -endstream -endobj -2516 0 obj << -/Type /Page -/Contents 2517 0 R -/Resources 2515 0 R -/MediaBox [0 0 612 792] -/Parent 2503 0 R -/Annots [ 2512 0 R 2513 0 R 2514 0 R ] ->> endobj -2512 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [431.873 441.914 451.577 452.762] -/Subtype /Link -/A << /S /GoTo /D (table.7.85) >> ->> endobj -2513 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [234.756 198.013 262.209 206.813] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.10.1) >> ->> endobj -2514 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [234.756 119.186 262.209 127.986] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.10.2) >> ->> endobj -2518 0 obj << -/D [2516 0 R /FitH 686.127] ->> endobj -2519 0 obj << -/D [2516 0 R /FitH 526.841] ->> endobj -2520 0 obj << -/D [2516 0 R /FitH 506.799] ->> endobj -2521 0 obj << -/D [2516 0 R /FitH 485.872] ->> endobj -2522 0 obj << -/D [2516 0 R /FitH 468.041] ->> endobj -2523 0 obj << -/D [2516 0 R /FitH 454.865] ->> endobj -655 0 obj << -/D [2516 0 R /FitH 352.678] ->> endobj -2524 0 obj << -/D [2516 0 R /FitH 325.493] ->> endobj -2525 0 obj << -/D [2516 0 R /FitH 301.746] ->> endobj -2526 0 obj << -/D [2516 0 R /FitH 276.062] ->> endobj -2527 0 obj << -/D [2516 0 R /FitH 260.395] ->> endobj -2528 0 obj << -/D [2516 0 R /FitH 246.113] ->> endobj -2529 0 obj << -/D [2516 0 R /FitH 232.937] ->> endobj -2530 0 obj << -/D [2516 0 R /FitH 197.235] ->> endobj -2531 0 obj << -/D [2516 0 R /FitH 181.568] ->> endobj -2532 0 obj << -/D [2516 0 R /FitH 167.839] ->> endobj -2533 0 obj << -/D [2516 0 R /FitH 153.557] ->> endobj -2515 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F70 508 0 R /F49 457 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2540 0 obj << -/Length 2326 -/Filter /FlateDecode ->> -stream -xÚ­YKs䶾ﯘ#§’¡ à÷ծäÝ”]Q)J²©µÔÁæ’£µüëÓ/pÈ¥ÝTù"  »Ñ¯£hµ[E«Þ\ܾùî*_a‘êtu{¿Ri¦i¶Jó4T:[ÝV«ÏŠõú—Û¿}w•ÅÓ­EÆE|hÓ»o¯o/oÖ›8Žƒ,\o²,®nÞþtɤ÷—ïþþþù¼‰DºÿÎUب$“oLï½ÎƒŸ#]|Zo´Šƒ¿àG9Яºž¿µ]oTÐËlx(Ý\ÿ‰ʦâ«&ÅÌ*EhâÜ_õoòž÷M57Q¦ò»>‹Í¢Éféh±»_Ÿ³(Â(+ü†_¦ÊÁ¶kÿÊÃ/¶³ üñÞa‘í” - c^¤â0örP@¢°‡ÅAl[°`T¶Ú´]e;^vMeç íýÙ‰»šl×ðç7^,«_Ë­m2ÈövÉ&:âtÕažÚ¶ÍI6l…;'E˜æñüÎÛ=äïçQ£ÂL¥°5‹$ç­oëmß»]ñ{õ ¿r]$<®M”õÑ2} >­)øà“bð1ŽÂD‘-©uñuÙÿ¯)^”}ëÚg|6Šùüžïeý³wÍXEEpsùîL%pcì…ŒéA[ô„á~Âa$ -ÂÚCÛ¹?Zö{Yó"ÇG†ñ‘a|ྟ#•Ôò¡J@Í3w:S5üE8}ËS[ídÿgÑø<æ”Fé«A§ÂØŒÉüÅ gZ:b«c'´ÊöÛÎÝÑU j*Q§¡.òùxøv;8°:ó Zu»nÈMèæ,TàÒ3>ózœ‡:1s·r¾&âè%7½ ÍC'¬úÀ·¶›FyØÚÍõ&½›™ -Slª¯ÁfþÁ樸aÓ˜×aSçú`S‡É6Ñ’™É›k寂 D=­ã3‚¥8Ä ±y–+°8ÇR¢E,U†0æõ¸Æ!;Ê;R¹EÆøÇžá%„CÆÿlȼøô -8æ8Ž¡d3`~,³oË8Á† –q\—Ox ÆKØò£lõx CÑ9»wƒÛZå®F#„IL„Å2}¡O2áLœaƒöÀÆHQ¸Á÷¹Œ˜ŒŠP§ñWj³Î‹9LÎT˜Á$g’)1NhY1Ý5‚˜Z…Æœ•„o@ʘ‘R/"å>mr ¬‚7a^ˆ ÿu¯7)øú]»?”ƒ»sµÖ±ž.eá©-¼Å+1¨;¸À"^±F¢b¾¸ZÙ-ç75VHqûCm÷’Ýh$›ÎöCç¶Ha“°´™Eö-„Ðãh;´]Ï„;$<ñØ6uÙí8zOK w MrŽ$‡H÷]¹·¼íî1[ÏÙNÈ© 4e‰zFs îw[SQë†_7ÃR†Ž¯ßòŒõSEp(«ŠEµ³;¸-¼-’$ ->h}¡K£%¨CÖÁ}ÛM9ÁàÐÙG×{ÏêjA³]ÔY, s,vóP‚:T”Á¹€ô±ëÐpH‘HÑ– Ü+éGÚOÇD¦]¡)%Š9ÔÎVp]ÓãÀÛèF¬’°ßµue›¥ œnG)á= -ˆè©:œ”^}ª1÷ +ÓU}ø"ÊÜ’Iâ, ö¶lhˆù^LdËg>Æ23µ<§ºávÔ –{ÐâÉë0L7„é€]ÞI÷?Óp¼þŽÝ‚›6†µ8‰‚2Åïéí¡ìÊÁ"8ãüÎtíþ¬åۗسáY·/}Ó9–œ>ä‡ÉÕ:O‚c§º=H@?æq`e—Ýåî§÷ÏÓ©ÅrŸv0‡ÓxjF8Af”ý£hÅÉûr;œ‰é9,rsòBÏbû´¤å¶=Öh®B¥4 Ôæ"¥rŒc‚ÄÑ8ñnô™+Ž‚+×”5ØŒ† -D’²x®ç_¢#4­ÈŠŠC9§i  Ý®1I>¸lIl R×5IÇ&ÑQA|à@ácM؈ÛÉÿx Ê5´—CX³¬ÏiscËnÓ€•[&ôÐÊY´:Z–ÄÝ3ü„uTö6‰³4Ø»~_ôÆy[šL©™uÙ<ÚR·ƒ¶¡ÖFcÐ:à¿ À¼”=Çœ—äL©’MX˜:k<ä:?8Æ醡ÌîñÃöÖãÄL/EµíJÞÓâÓäØ8@š=_‰¢ÎŽ`$È3³X2q=.Š®_„Ž)“Oó §>ßðÑTvBÄx·Æ5T.ö’&qˆðK_™sm¡¥½«… =w+& -õHžî5á¬Å‘/Ï‹5Œ`xÞ‰ ’zPIS•5¾\žNq%5'\IéùÔŒ<Ÿ¤kùõ;••w-'߇žtYÐUp¨ˆX0UIðq`ZY÷-|½)"_o -i*p[Ç©àèàE.ùÍ'ÇQ;ÀdÔ=/‚;°ÁWQËZЃqA·Úí#Vã$É 4öô“|Ïü‡$¼+~OÙ"h! +á!õàˆ“SAä:ƒÝá·u¹?ˆ”3K¦ó~0QzÞ"s¤â © _[z´Ãuk²[N-ü¦AtGb6åH%¹±/6ç‰Âæ¼xö+Kã_^:©ñ'e( Ë¿„œûNàЀë)‘8zÌ=Æ·‡Fyœå&8ò†À•“ox©¬[îy•?}jd ÿ5ãL½„´Ô~ãW -û* -–…Žº¯ý^ -c|‡9 Ç¸ÊcFâ^z^à€ŒœN£ÔEOG©ø7Àìì¼Þ"…ê-JF߶‹:û'mîŸá08`šNpfÜLvãrGå -&‡ºÜb'’DZšo:#_*û$ÁýF÷E·²qïSR˜—Á¤·!àbw3yîÉ ü¡† ¸§îŽ_9Öµ8I5¾I¬é§DboOû•6ô|¬í …èj]$>`úžÞ€1"æ»4¤Â\+fú±9éÖq€Mê˜vý÷‹ÿI¹¼}ó?w• -endstream -endobj -2539 0 obj << -/Type /Page -/Contents 2540 0 R -/Resources 2538 0 R -/MediaBox [0 0 612 792] -/Parent 2503 0 R -/Annots [ 2534 0 R 2535 0 R 2536 0 R 2537 0 R ] ->> endobj -2534 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [288.555 567.504 316.007 576.305] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.10.1) >> ->> endobj -2535 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [276.932 475.848 304.384 484.648] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.10.2) >> ->> endobj -2536 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [435.396 244.777 457.868 255.625] -/Subtype /Link -/A << /S /GoTo /D (section*.100) >> ->> endobj -2537 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [480.136 244.777 502.607 255.625] -/Subtype /Link -/A << /S /GoTo /D (section*.104) >> ->> endobj -2541 0 obj << -/D [2539 0 R /FitH 686.127] ->> endobj -2542 0 obj << -/D [2539 0 R /FitH 668.127] ->> endobj -2543 0 obj << -/D [2539 0 R /FitH 630.324] ->> endobj -2544 0 obj << -/D [2539 0 R /FitH 615.823] ->> endobj -2545 0 obj << -/D [2539 0 R /FitH 602.429] ->> endobj -2546 0 obj << -/D [2539 0 R /FitH 566.508] ->> endobj -2547 0 obj << -/D [2539 0 R /FitH 538.668] ->> endobj -2548 0 obj << -/D [2539 0 R /FitH 524.72] ->> endobj -2549 0 obj << -/D [2539 0 R /FitH 510.219] ->> endobj -2550 0 obj << -/D [2539 0 R /FitH 462.904] ->> endobj -342 0 obj << -/D [2539 0 R /FitH 182.94] ->> endobj -2551 0 obj << -/D [2539 0 R /FitH 154.289] ->> endobj -2538 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F70 508 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2554 0 obj << -/Length 1298 -/Filter /FlateDecode ->> -stream -xÚÝXË’›8Ýû+XŠªè¬¦Ü~$i»“¶§f‘΂ƸMÅ6ÀÉd¾~î•À6v5.Ïf6è-ÝsΕtµž-j½ïÜL;ï†JX¡J.­éÜbTº -H—qeMgÖ¢\Æ\ÛQ* ½ûѧ»Át`;B2|莪lлïì¯Óï†ÁÞ„‚®’ -–ÓS1!°O‡V ¦ïYj±ÝâR¹Š‡V¼ê|ùJ­4~´¨«BeýÔ]W–Ô ¹ù¥5é|6Hö×……ÜÀg–ô•Ë=iVG«Äv<2µ¹"¿^l¨œyd’þ“ uãf,p‡¾o?RŸ>¥e)Ó½Dà@Ñ~ŸIú¼Nf¿Ûã”’~RÄyúR¦ÙÚ­g&“'ô!¥ÍHžÆءд4Ó!BW‰#:¼08O‡6 z€ÆÜáèæ¯cɤ÷kÅn×6H™<'¹íøÌã„I`û’Œ3ñÉtrß#?ÓY¹0ÙlnÒ²n›ç€6Z!n]#Hº6l{¡K}~Èö*ŠóÌõ´Äu£!ß -×X|€ÎáÂs™R‡s¼ÃóÉM=€è)EIú¼ÐcLqbZšÁ!ΓøÒÊ%¶8½ -§BœªÎñäfÒ§à5άÒÓ`„š2+£¥Éêa›~Ÿ´ -84nH‹Ó€²Úp/Û! BšJC„G"Sœç°G[@¿¹lDÎ(˜QA‡ü 캀?©ìrtE¯óô5Hk¿ ñða|5À¾’fyÜ’N•U]…;É£3\fy«ûW³Zrzp”T†K’Y²ÎV©sZ›uÔÊìOv(I÷ƹwÂÅ8#/éßɲÊGEuÄ%âH³3¶oU¹Cÿj¸5Ì#ÐÕ³äŒï J-¥èµÜçö㦋³e–›íX¼Dqóþ«¦?dsØÞ ~ÒŒŠF4cžå«¨|³ãûÑÍÃÕ$•JTš,M¹jWAáÜa§/wICR”y­~Ã>â°£BÜ™”Tñd®g¢‡ÞP$q¶ž½Ý>ÿÙ½k¯‚<©Â÷M´LKöšŠEjF¿Y?†¶àäýäÃípÚÞ2¿9Ü€–h•mÖuHå2Ô‘b‘ÎëªÅ™XêŽM~ad/ê“Þ“|w±)}±)»@Ÿ'l¨úWA(mIzΣ5N°“x™'6'AV¤¸¿]лáÝí¨Õþnð¢(Ï#c=6Â+M*ßÚï ^ç]Û à.‘ž“,“U¢Ñ”¦n7Y½$wÅÖöjÖê†Ï^ +”y˲Žë–é -KSóÆ¥£å&i¾vÑ«z“^÷np)9~#9Ì•¡wð>;~º´gG¹Âõ4,âHûF >Þ²Á7VÍõ ™.NÞÃ<ùÕã¼rî4AŽã41ˆ‹íñi(O"l- aŠî1¦˜Ë©¬ûžsŠ«(¯î±•¬Q1Áï+Åúÿµ|ß«ÕÒRaYóëׯVÌô{M»06Û!äV#X8f -Ìœ‘ˆQê;§‘S÷90ý¼V'^H£ ÞŒ6ß#aHÌqøê¹€ ø"Äô)*ð¦Þg‚Ô2Oã6ÇÄp𾹘Û9ÞÞZuŽýîØJÇd¸ý±µ£™yû¿¿|—îì{¤”7`p=¶Gbè‚"ïÜ‹:*_¸p·½¢2J×éúCÒú‡ þOÐ:pxáAȵ#{ûïmïÜ¿ -ëÖi -endstream -endobj -2553 0 obj << -/Type /Page -/Contents 2554 0 R -/Resources 2552 0 R -/MediaBox [0 0 612 792] -/Parent 2503 0 R ->> endobj -2555 0 obj << -/D [2553 0 R /FitH 686.127] ->> endobj -2556 0 obj << -/D [2553 0 R /FitH 668.127] ->> endobj -2552 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F70 508 0 R /F14 574 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2559 0 obj << -/Length 1455 -/Filter /FlateDecode ->> -stream -xÚåXYoÛF~ׯà[)´Üì½Ë§Â±å8A“8²Ð"uü@Ë´L@W(ÉAúë;{"¥Õa¤NZôE\RÃÙ9¾ùf–8E8zÕy9è¼8×QŠRIe4¸ˆÄHJI-¡*ÜE×1a¼{3xóâ\±¦hŠKè±B§'—ƒ^¿›0Æb…º‰R:>í¹Gg½Ó÷g=£§ƒýî½Açs‡ÀGd½³THÑ4N:×78ºƒ?ßD)Øé‹D DSÊa=Ž®:^h…$O#)¢\:ße“¼›p©Y<èRw¸À3F ¯Š¿rc]D(í:JA©îåOXàÛb¹€+±RL# ñiÊ\£i~÷k7!ãø,_ Ëb¾,fS€lzçe¾™xYvI\ í²€ålº°Ñ G…¥H±­¨ðTï -a3¹:’T#0ćåCÿÊe·A- ý¼Ê-=ë&ÒùzÚ¥:^棼´AÀí ee™¯öO@T¢! §BÆïfv!âÐKXL„·-ÀXT|˜n[ º5I+æ”­­°·Ã™3:+¦‰µ+aqEËôb:l –$DÄö­ÕÄüÞ‚µ:Ÿí³{'ùy•9Í¡P”ÙtdÒL5ïg¥[dæ"âQñhÞ˧¾¨pÃ#¥‘ÔuM}`l;Í¡d%bPµ­&Iâšµmš‹`Ö•¶_À5A BçÎçáÒ;þÚ…Â1e 53x(À7«bábêÕ´á°txŸÌvÅcɳ Ë„BFˆRþm_®Ë×öB“=#4ñAhñ1½š°âk#J”uùx’ƒ¨÷Dx›[ƒFs5¸µ™àP7T´½_·AÂøgåÐ^64ñxpO×X¶·½¡0Z( @Hæ.û ,$Âò”¸í‡2%HÔA8 -ÂX"%7ª|® W"~?ÚPªŽ'Þì„—‹eÅ`§–µ¡aVe Vû{òŒ>3°F²Jä&¤DÀ.â !»1m‘Ç]€}6ö, 5ÂäFE¯,Š *¾ã±+éÛº‰ÂÍj‘ß=¥Â_¾}ýÝ -< 8”W°Àa²˜è=­EB›Sñ%’;‹Ú®€óˆ“ ›*Ö”U(ÝÈ?Ì&TÕjo'!HT§ÿ§…Qæ²çÔš2·{ ÐÔÚ{Í’RÏÊ0‡¹uÌa—–+Ì" åksP‰(–û«@ ¾¦Ï0s )žDÀ~ºb @õÐׂ¢µ-¶ D -æ D1é ³hPF¹ž*åÂVÿY&!‚Æ?› ‹‰–šê n‘0ªçá¯íbpX.V6Éüx¾ÌnÇ~«æ -,>ÉD¬q’óI^µJó¬)Ël{µgž",6æ¯Æ†¢ÚpaÖ|^>¸§«y¨Z–3g$£ÎBoBYTA³E© (I||^½ÿí¬ß;ÿø­ã¿GóÉN -öz›‚·MU vª­û—/ÜÊ€!X€[[š`EÓ†¢?¶ýäæ[o–•Ÿ©B ^my×8Tèæ¡Âž$qCõgL¢Ïš¡[‚‡ÃµæpB–Ö§uýúI”*˜=í™Âé!I¼…8P†àï†Ô|œMóºÅS­¶;‹ÂØÓ,F³ñn×e~Ÿ—ùtž K8`?|]˜]O_þCГCCÀ±dëöÙ¿<Ý@(æ„ðãõІ X²‚â›!(·!ˆÝáAc²‚¤föS/€[$”Àˆ§ÜÏá.£eÔúaÔ»Øß@ñÿF {áÆ4 ãiP¥Ä¥;¥»0(›³Ð.: VF0Hô5„61¨ÛuòÝXð²ßû}O þaðûW´àgFß‘MXׄÅQMøxøqšú‘`î¼Ì‹Ùjá Àú;{ã{ûß®P¸· -endstream -endobj -2558 0 obj << -/Type /Page -/Contents 2559 0 R -/Resources 2557 0 R -/MediaBox [0 0 612 792] -/Parent 2503 0 R ->> endobj -2560 0 obj << -/D [2558 0 R /FitH 686.127] ->> endobj -2557 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F14 574 0 R /F70 508 0 R /F11 573 0 R /F13 705 0 R /F10 668 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2563 0 obj << -/Length 958 -/Filter /FlateDecode ->> -stream -xÚí˜KSÛ0€ïù:Ú ½½t ´ 2í0À!$"x’Ô1íÐ_ßµe'NãÂkÊI{-íãÓîZ A;­ncc[sd±UL¡î¢Da£,RFaÊ4êÐI 1¥8Œ´6AóàËá^»Û#Îy°ÝÙüRL[íæA«žuw7¶MeAÎ ÖJÃvùR”ËL¦A - ÚÝÆ…)At¾¹ÒX3‹úד3‚ðr¬­F¿rÑkÄÁ– ˜_¡£ÆWoIu_Ê96’"%5fBùÝ÷{×.Œ„2<è†L·“0‚žqFEpÿv™vˆ2«ÝVJÿñ)‘äºâªû ToBõ^N<–ÁÙMxåFüw£ä -endstream -endobj -2562 0 obj << -/Type /Page -/Contents 2563 0 R -/Resources 2561 0 R -/MediaBox [0 0 612 792] -/Parent 2567 0 R ->> endobj -2564 0 obj << -/D [2562 0 R /FitH 686.127] ->> endobj -2565 0 obj << -/D [2562 0 R /FitH 500.697] ->> endobj -2566 0 obj << -/D [2562 0 R /FitH 464.831] ->> endobj -2561 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F14 574 0 R /F11 573 0 R /F10 668 0 R /F13 705 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2570 0 obj << -/Length 1533 -/Filter /FlateDecode ->> -stream -xÚÕXMsÛ6½ëWðHˆà`/[–šdÆŽciÜñ$9Ð-sj‘%'ÿú.J$%X²“4mO$È%°ûöa÷8˜8øcp<¼ë A‰¤2˜ÞDb$¥ -¤–ˆPLgÁ‡0}š¾}5V¬kš`ÄóX£áë£óéè"Šc¡BQ¬”ÇG§#÷èd4|w22ó p³úh:ø< p‹Ò®,R4 ²ÅàÃ'ÌàåÛ#+}µ¦‹€iB9Üß“Á{OZ!É“@ -…(—ÎÁ³t‘G1—š…ÓˆªðÛ}Þ1Jx8)sã]@(…Ùu‚!ÜDZÀ×Åj Wb­˜FðéÚLŠy™Ï~bB1OòeV÷«¢*i9s7u¾›pUG$,2{[ÀmU.-:~TX‚ÛA…'z?*Âvru ©Fàˆóúübty1_¹ wQÔ(À×ù¥'Q,!¥oʈêp•ÏóÚû@Õuj ¾Ù—À"©D% ¨S!óÊÞˆðÈ­ÜóT1D[/}q~õÚÞ1bQF×F1¦ž™àÈÔNôçnœÜðx³XZÇÖõ8QˆÁ§½èֱŒè0«iQåÜ¡u†Fg1i²K›ãéÕ¹‘Â\i ‡Qu ÉIH¶ËÁÔ0Ž1îhä¢Xu!D¾²söþͨ‰•è(³ i3u³†\¯ÁÂÒh⇅ùàÚÍ^»À'þq'Dª)"x#¬>þrßn×/,–Þ=äKçt ›a½Õۜ뚊Ú*9X‘¾uz¨ÏË[d¸Å(Îïò…Á¿©AîM;' …?x¢â­òôg‚0øÑsx à-ŽÍA Z %˜= ‡ƒz‡xpØíU+ƒÏŽ'»QQˆ»À xZè.xfèÀ b.f;;›ˆt¥I@E9+²te[‡9òõÎE@Ç[7¼¾«,#33÷_K_¡Më†Æ™3å3/ÄÍ9=>Œ'ÍQí§`Ìž‡1œ5𦿞úP}„ò£ M«AYYŠ&lƒ²€Æ¦··FÃ"kø¼¨ì¡wfš‚ßTµ»ÉS‹îmc–fuåùŸŠ},>½ §ÃbE;èÅDJ²öÙô35þeçø<[Uõ²›`hBÚÍO`Š«šŸ‰×Ž¼YQæw=L}êO -D;Ô7C#ÌuQ5 - -—â[¢³mR_̧¹û`"²mnÌM›Ó \ -ThwÈN -,d]Mm®lMåLþžÓgñ\AŸ-ò½ˆ2»ˆš¡·Ã2˜ê¶{+11‡ää©JÜtØïÁº;áðÝh<6tçÀ]ÇaeW/œ E¸W¼ûD6qdVO”Ð^Lì@ß;/PˆÝóÂÖo*7Å^r@Dénñ1CÃssýü6 -? ª=Ýfúc2L(ž §î¦©M9t™›Ô›WÑdÇ'ªM®(¦6WfÔ/MîYQš+ ‹yü˜ÎÝêžåõ¾îp¶N&”.ýsvúïu`wžp²jý#”„[ÉàWV=8»¡ëðÙý絉Í_ßÎßß¿º9c -endstream -endobj -2569 0 obj << -/Type /Page -/Contents 2570 0 R -/Resources 2568 0 R -/MediaBox [0 0 612 792] -/Parent 2567 0 R ->> endobj -2571 0 obj << -/D [2569 0 R /FitH 686.127] ->> endobj -2572 0 obj << -/D [2569 0 R /FitH 440.921] ->> endobj -2573 0 obj << -/D [2569 0 R /FitH 405.055] ->> endobj -2568 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F14 574 0 R /F11 573 0 R /F13 705 0 R /F10 668 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2583 0 obj << -/Length 2102 -/Filter /FlateDecode ->> -stream -xÚ½YK“Û6¾Ï¯à‘ª2âA€ÜËVú†qÎf1±ùööÝ¿¯׳@Jéß¼ÿñÖ ¯®/ß^]Ï~[üüÃMÜS(EÌŒ6°UÅ¥A™‹ÐYp½¸øý‚Ã0ôø~sm˜‰—=]|ü-ôrXüÙ ™IŒ÷lEŸ<©$3?\yó‹_è$ý}¹­<&”¦ÝïÒ§ÌÕ†û‹™ˆý?¶³8'¸òçåŸZçq.X¬¸À¹“(¢ £ð¾ljxr+%cD}™y¹\ù?g—*ö¯@1÷ë¬*·M¹YPé:§AUÔMUf¸R[L¦± 3ò •Ä/c¡’)V Øšl}ÿîÃÿùÒ -NÃ[ºÞ¬¦¦XÕ,ˆ¸¾2iÿnc‘¿xDüã?—yóHÃÍ>µß<´˜·ßC O$휄ô4KŒŒQ°(™æŽ¹pÂRfTì=¡í*]HQ(¦b5$²± <U±Îì«ñ*pš–Ê5ÍmË/Ūf´ûÓ<†…¡êPú~ jå?åòq–4ôn‘…ç1d¦¤>Úèh•ˆÚh-YÐB‡æï„öòûù«Šdë¯8DTñyUÉXãö¸táT.ÀZ¸–ÎØûCKcy=Œ›…,‚¸ub3>Ø­:Ü-à"b"A~ ZhÞ£yP!y’âpæ·!Æ}Ú@Äцt‡C2J;Äïw?”àíýˆñ~(A§ÂùãLj‰®zKžp¯'s”K¡øyŽ£NQ©ÿN*Mx’Êûò뉔z’HÅ`F^|ÁabƒSM»–í*8Šc%îWø½ñ3ŒŒŸ(g«„…‘p6êáÙ²Môyárï¦Ê‹ŠϺ*á@Œþ?+Îb½J ¦…mñXÖh -À]¹#ù®*hnWn5]­p |ìäkZÍ‹_C®Öx,”Áãâ³õú®ø\nvNo]dTŠà×g+^’gÀs¢Fé2CÜÓmƒ,Ê8ñ› >ÍVZH×°mNã -×Pà첆¤SšÏ6OÛUѸ/àƒÊe܇ -S‡‰ÿ¦q»¤Ÿpcë⨻&5åz»sŸgàHéj7rkG}ϺÜÖ|p6O4¢4ƒÇ"G¨_Á›‰hûÏvcdeh¶÷ÑÀq¢Õt›ìà8‘ÒþîëÍ®Ã_M^@TÃ¥¿,?w'æÒíƒÝ:«6[Wªæh+7}|íù@Îî Û*;?ÃÙúq³[9‰û®Ü…—V©ñ[–XŽ‘ kÐ''l­Š%U²:lµ=lª‚&ò²†¨d ë¸" ”C€[¡Ú$+ÓÍdi]¼rXÓLÜ[-S¼M­~ÂÛ^44gÏϦ*R‚^Š/iÖ¬þ —UI4uŽÔ†Ò…(tÀŠ¦È!qø\Ú‚Fk„Fªƒ@B(¦Kò‰¢g×Ü@`Ü@ -†< \ÕÍG"ƒ( ý7¤Ž8‡}jlE(T—ò´I]Äî`‰ Xµ°Xƒ×ÁŸEµùÇÈ"H=3IÂÚ>ûš´mjƆ] î¸iÍ0ªƒ †.ÚÅy;ªHºwE­äÍâûkä:VþÝ/oævØöD°Sôá®.×KšsÁÌÆxè ¹29Œ‹tøö&­&Žì¹ ~xNŠøÕÒ£Á{{b‚Œ<ÂQð˜ õ1˜TýîðŠÿ¡Ó(pJ‡Àa½ð+ûîæ¯ç‡ÙŠûXuÅ=`§±¯<Ú°Ñëòðݤ2 )„t(5ºL‚ãUY7t[dÁLÿ6àüð6¸”I0EŒ{i¥ËzpÝ {¿#\ÑJë}÷ßçMô³|‡Ä- h—Žvu.íò$íàQ|H{v‚v™Ä/Ðn ×ê8½»¢J*&#³§êP T-qršnѧ›«c¾1"ìD -£q9V8, ’6iO)äòa±+&]¶y(K:ï*±¬XÒÜS«¾¦÷½ïàÛíë[0vN/Îyw…$΃Îõ¼ÆiœÈgúúÖБó!Ì B%ä@XüBæ8j¶QždPQ›Ð*°QuABkÊ!çÚ§¬‰CQšB „†}^°*ˆ”ÕD“* uÓº‹¤¿Ot§XŽí­µ°MÈ¢ñ¾ýÜ$¡<±ôÙ" ÒN¡ ßN³ü͉>ɱÓ“CŽ!x˜Øÿj¢ÜdóUDOEƒÄ˜3¢AÜ÷!zÞ"Ž7¼¾ 4?-¦Í“!i&'î.ñÕ囟.ë`c­WÂ$ëL4ÌXYéz@[Úò¾§ÀÛÝåÛë››9½¸òv4Û•¸¼-ªù¡ëÀ\ßuhŸoÏOçU9Tc\iyª¸í¸£±=4ºð(wfoö¿ÐY«Kzn«"/ÝÏøÞ>ÝOy“Õ?~+¹°FÌbÖjáÔ⺟¡}îˆàº#‚ë¶ç6¿Îà\Ÿˆž*€>˜¢ä> 8Å\ÿsô:61ÙC¾ã«ç².†-_¿ú‚Èå -endstream -endobj -2582 0 obj << -/Type /Page -/Contents 2583 0 R -/Resources 2581 0 R -/MediaBox [0 0 612 792] -/Parent 2567 0 R -/Annots [ 2574 0 R 2575 0 R 2576 0 R 2577 0 R 2578 0 R 2579 0 R 2580 0 R ] ->> endobj -2574 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [271.474 348.2 286.197 359.049] -/Subtype /Link -/A << /S /GoTo /D (section.7.1) >> ->> endobj -2575 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [404.974 320.9 419.697 331.748] -/Subtype /Link -/A << /S /GoTo /D (section.7.3) >> ->> endobj -2576 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [187.567 283.582 202.289 292.382] -/Subtype /Link -/A << /S /GoTo /D (section.7.4) >> ->> endobj -2577 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [288.632 242.389 311.104 253.238] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.5.1) >> ->> endobj -2578 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [358.98 215.089 373.702 225.937] -/Subtype /Link -/A << /S /GoTo /D (section.7.6) >> ->> endobj -2579 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [187.567 177.771 210.038 186.571] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.7.3) >> ->> endobj -2580 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [173.176 138.516 195.648 147.162] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.8.2) >> ->> endobj -2584 0 obj << -/D [2582 0 R /FitH 686.127] ->> endobj -2585 0 obj << -/D [2582 0 R /FitH 398.062] ->> endobj -2586 0 obj << -/D [2582 0 R /FitH 374.802] ->> endobj -2587 0 obj << -/D [2582 0 R /FitH 347.502] ->> endobj -2588 0 obj << -/D [2582 0 R /FitH 320.201] ->> endobj -2589 0 obj << -/D [2582 0 R /FitH 282.883] ->> endobj -2590 0 obj << -/D [2582 0 R /FitH 241.691] ->> endobj -2591 0 obj << -/D [2582 0 R /FitH 214.391] ->> endobj -2592 0 obj << -/D [2582 0 R /FitH 177.072] ->> endobj -2593 0 obj << -/D [2582 0 R /FitH 135.824] ->> endobj -2581 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F11 573 0 R /F13 705 0 R /F10 668 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2599 0 obj << -/Length 1726 -/Filter /FlateDecode ->> -stream -xÚÕYIsG¾ëWÌq¨ò´{_r,¹,Yb—#ë€a$Q…@ä×çõtÏÍ&;‡\Do¼ý}ï=„£‡GïNÚÓ·=d$•Ñð>"#)U$µD„ªh8‰ncÂtënøþmO±úSƒ3 -èä:ç§×Ãn¿•0Æb…Z‰R:îõO/»îè¬ÛùxÖµtN°ç¾í³;<ùó„ÀG$¢#£tR!EM4~:¹½ÃÑ.ßG)àGþô „gkëY48¹qÚqS“™ -‰Œ‘ -Q.ä×=§]Ý –Bºõ¯;ŸA ]žçJ„…IÃ×…äFï²ÎšJ‚Œ9FTk'n%”b{G^—•#Âi!ëWŒ™{ÔÐ\!bdñ¦wÙþ¼©³ˆ(Q¼ q²DÄŒDÑù&£„0fvfî-ݧ";’sHE oJ:DX -VPÿ•’¬•JYÿ/´Üø ¬‚Gd'ÞŠA -’ MgƱ¶4‹Gßfi0ÚüÖJ8çñçédõhOy<šOÜõy:}xlQ¯Ü~qït³ÅÓÈ]ÏFótéÖ÷‹Ì=HGcûµGÿdúW:s½–æñ"{­vB˜5¬‚äMAšŠÂ¼ài|5ºMÆñér9}˜;~½á—ë®ã·zôš~o f/©;'îÔ’œÎs ÓÌëžà‰sN$FMn FBpˆF '•`ßìêæb°G®5v¬<·ŠÙøfÀëßíf±´¦^˜ádÞ§ÜëRÕ½;`%,+°¡å&µ Wÿp-L DiÎ9³oÓÍ<„X`¤xp‘çèc÷±Z¸O+f ù¸F†”ÙwÕ²˜‚²ÄÔ²„0Ðe¦k7ÀX5 ›ƒm[œÏnCjz¹KM¤(ÑæÎ+~ƒ‡QB!™%åM\sæ?i¶Xw'`¡ä¾|Š æ*³»1(&u Þ81[ -dQ¦|K”¥Ëg(Ç:NÇ«éw›éìo›1YpÇš^â;½Ä]^âÔëïŽ Û ³Ê7¹£ì¢Œ“¥Û»âXWO²…•î‡ÛX˜··U±°’¸Z•=DnÑÏe²ÏlY—Õ’/²,MróúÕ‚×[f1ŸLç>²§ˆUæE¨É¬Â¼ôɺi¡ú1Λ¶AÛþ¾´’lJM¬4e\œ¶ à:ƒÎé‡n eàˆ±%Þ„ÔAT”´ÎvЩra™òAûr°I@r0«›~€ƒ´a‡tt…5fGÐi_^„È@­`bÈC‰0SÍ<,a¿a †¸®é–"<€ç_¶/a7ðW—ŸºáÀ_u>v{½âæ -vwÕ”^ žI#òo.òÈ·o¬¸mhµ?/—µ«ÎyHm¢\Ÿä•y÷ñÃY¿Ûû²©´HH³Ûµ:å å!ßÞ¤¦ ­©:Âb“l?@–ï \Nj×ýî§-Êr@¦}Ñ[…¥'´CYÌk¦K(w­ò&Yëu©CtûAº|MJg6®Öê}–Žóå*{¯ly„·‹ñâéy–®üî>ƒh=Ù&6?ѱíqU_ ÌðŒ–Fèw;K2 º'« Y&qM4z›¡o‘´N/`9ƒ^Õ¼,o; !|¶«ŠÌ£o—ž¡æA_ÓÉKæÏ|•ö}ÐÔÒ±5æj -v]Ì·WCKB!ƒøZyÙYï=FÉ£j·Ca™¦z.B5Àv=JÖ Î8i Ç%ÜäW5¸qû0Ü(ªU⯖` ¯vã= ¸Îá[k(iñ‘JžŸ¡kJ¨ðγ‹ÙÂuÏnû>ËG¸ü•½¼z]KœtâŽü˜g—Óy0…L?¼ÂŒÓ¢€ Ü ç -DSäŠÐ´Ê•ŸÈÜLGbhkwçƒý‰F'¶/!ìx£×º4̈‹ü7SùÁÓ¥;²;©ÍõÙÈ]æ/Æ6}®“˜SC‡Õ¯¨¥FþúZzTPûË‘1 ÕðQ>vS€äõ‰.9€kU/øÚ„ÆD['¸QÛ´ÖÐå²}±O­Š‰§WŒ&P„¬b²Ù1¾~nӻ涀U9Tókz#øk{Fñ6 TõƒûZ$o†#ª>:D -ß²ÝR#Æ_^.úèð²0µUy..KîÀÉ¿ö¯š¿¬ -endstream -endobj -2598 0 obj << -/Type /Page -/Contents 2599 0 R -/Resources 2597 0 R -/MediaBox [0 0 612 792] -/Parent 2567 0 R -/Annots [ 2594 0 R 2595 0 R 2596 0 R ] ->> endobj -2594 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [456.639 436.099 476.343 446.947] -/Subtype /Link -/A << /S /GoTo /D (table.7.89) >> ->> endobj -2595 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [337.117 344.442 359.589 355.291] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.9.4) >> ->> endobj -2596 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [410.536 300.607 437.989 311.455] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.10.3) >> ->> endobj -2600 0 obj << -/D [2598 0 R /FitH 686.127] ->> endobj -656 0 obj << -/D [2598 0 R /FitH 594.394] ->> endobj -2601 0 obj << -/D [2598 0 R /FitH 560.576] ->> endobj -2602 0 obj << -/D [2598 0 R /FitH 546.13] ->> endobj -2603 0 obj << -/D [2598 0 R /FitH 530.19] ->> endobj -2604 0 obj << -/D [2598 0 R /FitH 514.25] ->> endobj -2605 0 obj << -/D [2598 0 R /FitH 486.853] ->> endobj -2606 0 obj << -/D [2598 0 R /FitH 453.035] ->> endobj -2607 0 obj << -/D [2598 0 R /FitH 421.155] ->> endobj -2608 0 obj << -/D [2598 0 R /FitH 341.454] ->> endobj -2609 0 obj << -/D [2598 0 R /FitH 297.618] ->> endobj -2610 0 obj << -/D [2598 0 R /FitH 253.782] ->> endobj -2597 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F49 457 0 R /F14 574 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2616 0 obj << -/Length 1482 -/Filter /FlateDecode ->> -stream -xÚ•WKÛ6¾ï¯ÐQj®øÒ£·¤H‚´RZ Í+Ñ6±–dHÜõn}g8”lízÑöbRÃápžßŒ³d—dɧ›,®ï77·U™ˆŒå¹ÐÉf›ð,ge^%º/’M“|Oß«µä©í÷»B§ïV?6¿ÒeÅŠ²àx9KÖZ°\Ñ­¯»ñ¾w~ôƒ5-ÞA&Q±²,‰ëCW›ãøp0ÞõÝ,”+&U.¢ÐuáQÆWkÎ…N¿>®P§áÑÙ],“ŠU¹Èã5Q°¬tm³w#hSÊ´éWkQ¦õCk»l<‘G0Q©­Ý_W62û½¥m‘÷.\µMãºÑûW‘O»OkÜ‹àƒŒ"Æ-­›½íCû£©Qê=þXŸtÝä&ÎY¥5éoPŒ”Ñ©R¥~0]Ô¹<ÑÈË,ÜVJ ¼Œ<|7 }ÆèR?8ôK‘zÛå4Œ?ê8ÿ6X G5ù²±ÍOH¨Òƒë¬‰‡Þµv}gF’\ƶZ+%ÒÏžHÇ¡_m׳º6?ºã ²,Ÿ»zè;÷wð(<¦xž†<¼;ìD$’·ƒiÏ_vP[ÒXokŠ~š«ªt´ö>© ¯¯E 5Ã=j“K²Ò“Ò)]1%HGžºoA¿6&&Üøâ2¤OôqÎ HFOœð^k^t¦—úZNõ×óq¥¡ªó§Ê’*W­&Ô6RðcYÎ#Ñ ¶½†ö”„LI@b÷¦sc;" ­©žù\ºÈûq…]ò -šf]sÒum¡°ô‡â±)H½‘VªT8é@ÆcðL€gÔ¼Tvö7ìz:ŽFÿ`×±–±ÃèáÚÎ^ïÒ m@ˆÖ#õôä9ûäGvžsÂåiÎQâ<Áœ3O:_>ù@£”Ç‘ç9NcׇÉrÍ/@RUYº³.WãÒìC‰½H”ÉtSw©"ð!•|BDèáýEió -öU>ÃËñxpu(Öôk…‹’)­/ -·‚–=«16Îdu,Öp‡/mʪW6ñ,¶ë,"9nÈ ~Î$B˜íƒ#LûE7‰#²îí%]õ‚È V(1™’ëºý -FÔB^ØŸ’ºp°UBë+¹^–AhÑz²F—“ñ»4ñq‚äš‹&èò0“±Q¤' A(©Ÿ¡çÊtñOhZ -‚Ø+e°xËžê  -í¦Úo¤’ΙªŠÙ7ýîñµÿàŸK%øÙ4/ä‚©bm ~D „.hWMÕ°ÚË?!8Êj>I‘¶®»¥{¯e¿f²ä˸{J±WªCKb}kb½á;wSöâ |Ð}1&±r¦_vãÁnÃx.å˲1‡ÃsD¥>þw¦I¹œëaVVœþ͌㾠Qöù/ƹñþ®•àp¡™È"øpY-¸>lnþCÍÇd -endstream -endobj -2615 0 obj << -/Type /Page -/Contents 2616 0 R -/Resources 2614 0 R -/MediaBox [0 0 612 792] -/Parent 2567 0 R -/Annots [ 2611 0 R 2612 0 R 2613 0 R ] ->> endobj -2611 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 1] -/Rect [149.635 305.89 371.302 317.015] -/Subtype/Link/A<
> ->> endobj -2612 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 1] -/Rect [157.036 293.935 368.242 305.06] -/Subtype/Link/A<
> ->> endobj -2613 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 0] -/Rect [200.663 284.194 226.87 293.105] -/Subtype /Link -/A << /S /GoTo /D (cite.rfc3533) >> ->> endobj -2617 0 obj << -/D [2615 0 R /FitH 686.127] ->> endobj -346 0 obj << -/D [2615 0 R /FitH 668.127] ->> endobj -350 0 obj << -/D [2615 0 R /FitH 453.419] ->> endobj -354 0 obj << -/D [2615 0 R /FitH 223.211] ->> endobj -2614 0 obj << -/Font << /F48 455 0 R /F8 458 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2622 0 obj << -/Length 2287 -/Filter /FlateDecode ->> -stream -xÚXYoã8~ϯðÛÈÀÆ­ƒº3ÛI:»Ó&n`€™–±h›hYòJrg²¿~ë"%;Jc^l²X,ëøª¨p±[„‹û«Ÿ×WïîŠE¹*³8[¬·‹( WY–/²"[Eq¾XW‹ßƒH…Ë?×ÿzw—'Ö8“ÄÏÍ—/·ŸÞ?ü¶¼N’$¸Y-¯ALðùþž ??¬׿ÞÞ|Ä© -n?ýóæËã×_n–… -ÖŸ?¡ü«P´zw§ŠE¤V‰Êb<éZŽºŽs8=‘Wñò:Šâ4¸=,“(xÉQ`ªÊ6;æi`þ×üW·;»Ñ5OžìÐѾØÔ!œ“¬Â2âs>ï@œJ£ 7GÝéÁô8 ƒao˜¾i›9Lm·LÔb°pj[¥V`Wg±º]#脨—Êœ^H1DžÑ/W«REN -œÞÛ~ KãÁ¬ÀD½m§²Jê<¸`T®2p/pU¦)‹;©¸ à–ƒÝœjÝá¼€{ÿ÷dàŠ¼Jò‘k‰—¼†ë/çþ˜¡ç5ÝT¼uÓŽµdë³öèÛö÷¸ßÔ[fÞvíQ÷×æKÂrU¤îÞÇýKïMGw’õ³+ý sªx•—¥û¼·t¡=„‰*‚ƒÆÉ OÄÔ8É—1/ M¦yÚƒ¹kä1è`a :ÞÖmkð¨Ó!–Ñž²îœ&šž]ÐËWQ8ÊïyN²Nõ`Á ™Š‰C»3¨:f($Âzo…»7›Á¶LŽ¬ÂÆþFÊ  ÌTMN9T1°Àz:õVÄÁâ–4ó»õÑŽ*¨}²h(\ -ËImY·þm»ÝÔõk=˜,q g-n´¢ß®äeD1*E(…¢©Þ‡:¤ºò ÍŒØ6 á¦kgkµ·áeÅvïš»e© èÔ(|þNõŽ‹xŒÁ¸H\ "]À»¸~¦a¶â¿æ}cÚ¤Aµ`®}EŒÅm²0Õ<ó:úFýfÅ*h¥­Ž}¾ÄêuÓˆD‚rZE÷è %eÅ[©RÓÀ4؃,Œ½.3rÅcÀð$ÙP3 §7Ð gƒr}ùÅMÃÀ7«ø®û‚²ü-r¹pQÑ#ö£9`ÈI¡Î»NÇõ#i‰­#‚ä6W=ט%™0IÅc€Ç±Ô 1\"›€P"m  -f> endobj -2619 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [389.951 152.56 404.674 164.516] -/Subtype /Link -/A << /S /GoTo /D (section.6.2) >> ->> endobj -2623 0 obj << -/D [2621 0 R /FitH 686.127] ->> endobj -358 0 obj << -/D [2621 0 R /FitH 668.127] ->> endobj -362 0 obj << -/D [2621 0 R /FitH 546.463] ->> endobj -366 0 obj << -/D [2621 0 R /FitH 359.803] ->> endobj -370 0 obj << -/D [2621 0 R /FitH 224.265] ->> endobj -2620 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F48 455 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2626 0 obj << -/Length 2445 -/Filter /FlateDecode ->> -stream -xÚ­YÝ“Û6Ï_á·hgbEß’÷®Û47Ùk¦ë¤¹»™Ðmó¢Ÿ(ïfÿûÃ%yWÛ¦3}2 ‚ ?r°:¬‚Õ»WÛ¾zûc¯6þ&‹²Õv¿ -ƒÌ/²Í*+2?ŒòÕ¶ZýË»öcÿjç…wûéÃU‘xÛ÷?ÜüvóÃÕ:ŽïnûËÍõ-ŽcïöúãÇ÷ÿ|wõŸí?ÞþXÌÇQáçYÇ’È0 ‘çU š¬ÖŽaå°)6&3I‰¿)"'ç¿ÏOŠæç V{ÿÒ@á0ò¾^E…§¯Ö¡÷¸¿ -½^54Žð r$Þ¾«ëî*ʽb­XÄ',cI-°–ŸÆÅ(6®óaé²(°ýt…?ºbô—IŠE’Jxï$¼ë¾;·bÅ?l¿Ç=­aZ^Žš©ÖxÔjæ©¿‰b„þ&Mù˜ªF¾,ðº=þ†²vèµjž½jñÌs­OWktV¸õÿκ-5ó7æpD¶wÄ*ka' Ö‰ÒÀÒø»Í“¢}²ü%qqæÇaü½g´I·ü [<ŽˆðÒâà›‹ÞC}(EÙ†Bißõ<¡GÂÁÜ+$”¢"zñ`P.Î’?+(M¡+âi¶ãß®E?bï}ëô1–G» -£øñ‰ª‹þÄ7 ]˦u. QDé¥AKðSKÈ^ƒøѵ&Ž´¦Tup†ž²Ì؃ÚÞmÛ‰r8fg‡Áχï7j@ Sowx¹ìHõA™Ö2ŸÓZf6°ˆ*—º¶ºÔÖªž° Ôëøž)ÌJ£Y`-«hx08õúÞtg˳§0‰tÚ¶¯¬VºìÈΕiLRûA÷2\RÙjýÕ§…Ð>I`5ò£\’ÂÇÞ ÿÅqÁ'ÃïÎ #vÄïžTì-Z„Öc?òq¯RƒbêI•ÈÈ,ïeÐï5³4ªÿ:fX³@\x"…ý)wþ”£?±ç8Ýçا{sïFEàíû®Á]ÎAdÚJc"$’x bu¤íè0J^ïÀäÉܺ¸ـß)Øß;IÀªÚ'bKrá3?ÅTæmjXzc9íÃæGNú—FJÄqâØðÁ´-¿=,èÇ.[¡…P&øŒj³ÈÃŽ¾r•¦žª™Ê¶ìL‚wQ–¯ÚIù=2¾‡n+¸i -ö¹;“P†Éòä¨på^j¤°Þ0øüËÍgÀÒ®'>SIŒä+9NY¸V©‹§êAäwüû%x½hýÖ° yr9«ð¾„¯á*Y€Fk%]S&ÎÑ¢Óƒ1ª,»^¢¦¬AÁ®"û*mËÞœœî°‡Åv—æ)\€,h®*9êÈè$ü%[6¬9´—âdh˜Ðåç›í©6Ó–kXx8j‘%Ï#c—Ô­4ŸzRès¦J -¦8É"ÌU°1N|W²B± ¾F©w{®sªõ7²sžNå Œu:¡9že>E~F"î·b€:I×<ŸäNýàé”:p>ÐõŠÇ !“.¶æ¸õ9ï¢vÜ‹ÌzÉ>îbIžx|F1¤€<ËR8ó*ŽçÊtÌÈØ‹D,‘B¯‡ƒÏØXtý¡çïù‡r>n¸ãKk„F\àœgâÒ`ClK‰äØÉ_àçvc -Xl ¤:Ùs­‡^·Ð¾Ð28ÑéhJñ‚=çœdîò}Mððh_NVÎ PéLÁuÍøn¡wA´`žÉBÏ2­q˜H .œqãøDÓk`:>hÄA€„"ͼŸHᇗsÒIn±sép …1§ž4‚#@o8å­ªÊ9= -ÇÈE>ô p3ô!¤ù=â]ÝiSø—[;ŸøÑ€~"TM¾9)̽»®ÑKï,•¿ -ec ÊBRªaê@6mYŸ+Gmô \Uî -á¸,»Ó”kñŽjgj.•@…‘C{b¶²±fÈAz;äˆ6~šOÐá‡?Bw v,Âê}ÞÏÅ#´.ªã¬põ@Ž¥‡eùò=yZ>Q"žP‰·Ÿî¶¼éIe.Ãtˆ8=@Ó(Áº”c‚¸3]lË‘¤-Ï}/¹“iuwÀºš'Ï]^ã¢JìΔ‹»&=¸¡\D»Á¸êõ·o]Zš•4X¸ÉÅÛjRVNGÆ ÑöL`‹Z¿Œ[nƒ7ç3 -x€žä5¡ˆsu_Ésqiì}ètQÍ2›ïÂ{n|l°Æ'šp™%O5fÿ;¸¢°2Èí’0cM ŽÕLsX‡ã§Z ‹PõzÍ~\‚[0‰J@«%~îö âysŠ¥âlÙ´’yŸ¾²8ò¹­°]‚|„b’x×xíŒÃ%¿ —lŽRL˜Beö"Ã. -,ÂθôÆZ8ìT‡ÂÊt»T¾ròˆ#ï?}øDZWuL³ÏmÓ¹ØÄ—$W» -I ¤÷¢W3Y³«…çÞŒ8“ERÆ´À½`PñÞ^Öt°Â~\¢pL{µ$3b ËkaX ->êj3iPGãÃål`ü~tXŒõfºSpKvp¸`Ê<–¿ä#ùw|ç˜k¥?ô×NA×7âàY·% $Ö¸Jêë1ØÇdüÍA¡”Õ¬öÊ›p’ýEºÍá-^óä¤ô$جvý’}µrnžDÁ„éI¸™W?8}0µ[«žpóÄU2+yò ö~§3$óXý+Z¹Ñ {ªŠCÖxóÑkà•æ°ƒs‰ï(™Åw”Š­€:f_ ¢lŸßrmĽ*±~€,byÇ -"ž½gNí@á‹N+ù>§«Õ€MM×JMÐIk Ã…ºx©†‚ÂI_Fè[®òçÐ7¶‹ß¡¤hE\s•Lø‡h5> endobj -2627 0 obj << -/D [2625 0 R /FitH 686.127] ->> endobj -374 0 obj << -/D [2625 0 R /FitH 498.005] ->> endobj -378 0 obj << -/D [2625 0 R /FitH 380.005] ->> endobj -382 0 obj << -/D [2625 0 R /FitH 237.431] ->> endobj -2624 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F14 574 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2631 0 obj << -/Length 684 -/Filter /FlateDecode ->> -stream -xÚ…TÛnÛ0 }ÏWøm6P»‘o‰Ó--:¬¬.0`0ÕVl¡ŽÉr»þýHQvb ÃžDñrD’Z:•³t®ùâürídA–†©“ï–.ƒ4]9é: X¸ròÒùî²8ô~æŸÏ/WщkžQ0Ægs¿½ýtýÍó£(r7çŒ{wuEŠ‹ëü!ÿºÝÜà5v··7÷_6Þ:vóë»[Ä_,mVó”|û®@Ñs]+0y±8ÈâxžÜf§‘–pR -¿nåŠJ¶­l+Rb²xRè‚ôÀZ˜%ÇðZðrÄ4(&€àrZϵStÓU²àIØ/cJ §òn 19]fôTª,‘–$ÝU‚†à]ʸiµmSÉ5·4S†KCKQ ê¿|F ›†j5d "sy9JÆ7œ^A'ŽCð‚ÉØ0Û˜Es¥ÆŸáeuĶ³è‹+kÝ#æÐhyhÄ äŸìŽ$Á2Çìi-‘dyœÃ8;! Ó‚,[:)+ðœÆýÄ(Û”½™,¼wÊŒ ŠOvagZîç{•Rªâ÷ _¼$¢íšâ¤%Œf* A*+EŸÁÐRÐht½¤…Æ0\pÑ”=–ÎÖPº´x;^ÈFj®Í(Cp/Ä3-\^k9‚6rx`xç° Ýà¡H(ªÆJa!Jì…ÉP÷äFŸ~PÌ—¨6=á -­ÝgÒN³4o2 éôÁŽç6_üÙ€•å -endstream -endobj -2630 0 obj << -/Type /Page -/Contents 2631 0 R -/Resources 2629 0 R -/MediaBox [0 0 612 792] -/Parent 2628 0 R ->> endobj -2632 0 obj << -/D [2630 0 R /FitH 686.127] ->> endobj -2629 0 obj << -/Font << /F8 458 0 R /F73 507 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2646 0 obj << -/Length 1067 -/Filter /FlateDecode ->> -stream -xÚÅWKsÛ6¾ëWàHv†AâAöVuä46il%‡Ú9P$daÊWHȵÓ?ß*¢šqM©3=öñíâÛÅ*D÷(D¯¡û.׋WW4AQˆ9Zo 9NxŠXa§h] [õƒ˜x².Ô#¬ó–þ§õÏV™b‘b”C° âÔ>þ¤Å1åÑ(•`ž8©%&~@HÄùÁøMÕfZmT©´~Ÿ¬™¥8åwF¢³[#ëêý€Rîõ2sžVMm7JÕkw–•¥Y¯ÙÚ ½“v!ë¼ñƒ(ñ -Ù9Ùº°²…|È€±í$Tßïe?Ê´¯2dŸœ‘»Ä2wG.;!8eÌbÏ]´å“ŸÄöƒ$Þ*Ëhrê ÁÁ·}Þ©ÍGßÊ@k: ’rÂ:SåTÈlòQ[1&A Wnw—N3Ù;`øø¶k ÎU?4f+ø¢j¡P-¢¹õr%Þï3Wï_Žj½Íº¬’úŒnD—E0·¸~Ú›®ÊtmJyl:6 @"Ûh“ùïÕykM¢OìX43£çÜV&²±­•M}t{w›± àTõý¼j0áD—$æôæízu=¯Ö‹ÏA„Óá9")Ø% åÕâöSˆ -8„yÇi‚þD+áæÊ•èfñÞη“ÞÅ¡÷À8a,ÅÄÍŽ¿~ü†ËÄÌñá28£©Ë+Söï>\Û+ÚAý¯(ážì†}3coÿu*u—¼)íÆ0þ1·Ç ÌÎéœcB’óyºœ€Jù`ðF S½ôLU‡lTü¬þ9ø›áSÐQbÚîgÕ+ŸŸaJ/h:¿Ë®ðë{½³7·z·´¸¡nç—èÿÑs>Ô4-%ׇy¿ß.óúš‹Íõ8Ù´YQ8VÇã ãþ„Ø–õÌ£>ƒÕ0’Äÿž DâSÈ K˜§n!tª -mào±Ì· -endstream -endobj -2645 0 obj << -/Type /Page -/Contents 2646 0 R -/Resources 2644 0 R -/MediaBox [0 0 612 792] -/Parent 2628 0 R -/Annots [ 2633 0 R 2634 0 R 2635 0 R 2636 0 R 2637 0 R 2638 0 R 2639 0 R 2640 0 R 2641 0 R 2642 0 R 2643 0 R ] ->> endobj -2633 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [252.02 396.687 258.993 408.643] -/Subtype /Link -/A << /S /GoTo /D (chapter.6) >> ->> endobj -2634 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [284.454 373.14 299.176 385.095] -/Subtype /Link -/A << /S /GoTo /D (section.6.2) >> ->> endobj -2635 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [312.687 290.179 335.158 302.134] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.4.1) >> ->> endobj -2636 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [321.708 275.325 344.18 287.28] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.4.2) >> ->> endobj -2637 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [279.865 260.472 302.337 272.427] -/Subtype /Link -/A << /S /GoTo /D (subsection.6.4.4) >> ->> endobj -2638 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [264.667 236.924 279.389 248.879] -/Subtype /Link -/A << /S /GoTo /D (section.7.1) >> ->> endobj -2639 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [301.833 213.377 324.304 225.332] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.2.1) >> ->> endobj -2640 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [379.879 189.829 402.351 201.784] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.5.2) >> ->> endobj -2641 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [261.669 166.281 276.392 178.236] -/Subtype /Link -/A << /S /GoTo /D (section.7.6) >> ->> endobj -2642 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [269.814 142.733 292.285 154.688] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.7.1) >> ->> endobj -2643 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[1 0 0] -/Rect [411.007 119.186 438.46 131.141] -/Subtype /Link -/A << /S /GoTo /D (subsection.7.10.3) >> ->> endobj -2647 0 obj << -/D [2645 0 R /FitH 686.127] ->> endobj -386 0 obj << -/D [2645 0 R /FitH 668.127] ->> endobj -390 0 obj << -/D [2645 0 R /FitH 491.97] ->> endobj -2644 0 obj << -/Font << /F48 455 0 R /F8 458 0 R /F77 675 0 R /F49 457 0 R /F70 508 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2650 0 obj << -/Length 1538 -/Filter /FlateDecode ->> -stream -xÚí[]oÛ6}ϯУ L,yù© {HÚdèYk¶=(±’sìÌR¶u¿~¤HÙ–c׆/S¥EŸ,ÓWçòKâÁMnšüpt2Ê®,<˜tTŽüàÄoÒq‘þN™°4ä´“Ó†þ=Òå´¿[D–V~ø¡j±ÆSÎû Âýq1ÙG¥Ãž¶±Eå¿žMìì þ©¾õ¥ˆ|¥Ë7&É8%B_ÐùÙùëŸÞ=®[HK2oWç{ÀÄêZÑ‹€ë $7ÐþÎi@`+ÍQñÝc„N[øÞ´&±<04Lô‚1eˆa`É¥ PüPBØb6Í) Á#0< M^àô0ipbl!iä:•MsÑD³!ÛØ.„E -s(Û…°úÉöçA£y8¤Š5](¨Ð|(4 -; -ùdûó ÑzDXp4]壘ͺ4€æ£G„U|ùfÒ_.èÕvô~ ß1ŒDz錟~ÔùfÞòŽ‘ØìñÖ1Ò[#ÄPždBe Ǯȗï^ŸŸ>®Pj¨ÄÚFˇCºIvr!öÝ‘ -#Â<¸Ž€!"`0<‰ÇPad@ QjÍFaB#¹,Çσ™j‰ z¦h<¡°WAlŒÇÀˆPKÑ3#B-TGŠjÁ›P×€T‡ø©]Ž†09B -±´RáwºëBJ<„8Â*„Û µ}‚¦hZ•ÁC<¾©Ñú -½¸/1I£éCàÿvBâ!ðúøK h}pƒ^\®ñ2š>8žVxüŸðBƒÖào ðMÀд2üÊ0ü-Ši<þùã°6.þþÂ6ùQvÕ©Ê× ©¼£# c"í¨|õF -½Ó…aûÚ0,cgL¿œ]m;ã'Ø]«ˆ»ë(;ôg‚ÁŸ ô†±Å†‰±Ýbô‡ÑÝæãsŠ¾;E€0ñ6PÿhBæ°s›Ïb³>bø_!`çž=Ćöè[ÄÜ`÷ -ìá[ ˜ÖÇWØ ÏbM*­ì+ì„€^ v0]ä‚û<ŸqA@Æ·ÙP³è®©ü×Ùtâq¨N ?P§7“Òû¾³Ú×cGçÅô&\ÏæþäæÅ°âÊßn?W§µkàùp?È 9ÇÓ‘+ÂêÙoC:×½«Ù¤IÁez?)¦å7þØÓô -Õ¾/I¦—EŽîŠz>þ×ÿܶÉt\ùÏ«Ù´ªÃÌüH};Ÿ=ÜÜÎê5ȦN2È„0®ÿi^6Ó¤Ý †®¥¦Ü<—«2ä^469PIÛ¦*Ù¼}7¯êîL—s¿n)pS{,*†­ZIüBx¢H®¹q!šä¹NìuƒuM§ÓŒq'še_Îb:-'>ÿìÚ¾~3|{ì '”ê.)wm˜ · }^6lðþ¬Ü‚ kèºÆìHUÚÕ ƒ¾fw²O±¾]oØÁn}r/CíPÀÀ]4‰ÈÃ,/s  (–¬Äq®§ËÉÒ‘Ü/Ù|S2¥;ÉVø®|µ ávÐÞ -¹õüs B®Yk„7­ÜD:)ªðjç8¼éÞí¬Ü_¸mº ’ã.óé[xçfÍ_w|"íi›ÈÇy•¸×T'>jµ.ÒyI¶ý<ýäWx³ -endstream -endobj -2649 0 obj << -/Type /Page -/Contents 2650 0 R -/Resources 2648 0 R -/MediaBox [0 0 612 792] -/Parent 2628 0 R ->> endobj -2651 0 obj << -/D [2649 0 R /FitH 686.127] ->> endobj -394 0 obj << -/D [2649 0 R /FitH 668.127] ->> endobj -398 0 obj << -/D [2649 0 R /FitH 477.268] ->> endobj -2648 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F48 455 0 R /F49 457 0 R /F14 574 0 R /F11 573 0 R /F13 705 0 R /F10 668 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2654 0 obj << -/Length 1398 -/Filter /FlateDecode ->> -stream -xÚí\[s£6~ϯð#ÌE÷Ëtú°™Ùt·ÓÝéÅíC/$Æ6SÛ¤@šÉ¿¯°À1^cØ8±ŸÅáÓ‘¾OÒ‘ƃɾ¿¸^\^+60ÈH*Ãñ€`‰´4©%"T †£ÁŸÞâÈ”Òއ߮¯?½ûìŒ1oèkæ½»úñý¯þßÃ.¯õ£)©l)KÂEasË‚/¯¹Y³¨ÖHk:¸±×²ÔO ¸–]Á~ç ¯Õ "+‹±Œíå $‘á|å ,¡ÈšI‘b•Å· ©Õ}BÀŒ°­ô9…YP†à !jÌ‚Tòˆ€X!*¦l‚ #dÙ¬ô -Õˆ¡`j9ÁÀÅ!Á´ gýpqˆÄ´ë­ß·F ܦ¼Z\î…<&q(0µà±‡vЦð]ÃÅ¡á•´;qèCÅAvrÛZ_ ¬¯.Ft š4Zñvc°ƒ0jUQª3}Pð”ÏTM”5 ŸYt¡5‡Ëƒt ÓÝðÁMoÔ´–‡w\­àÜ28·”t€;‚ò£yÙ¢À¿O/<~øÜиúÚ—ü¢ó˪ÁiÚó KS™LJ±…èMÒj1i¼1Æ4ì›H¤»è´‹ <ŒqxhiÌ놠;!hwnû•«CBÕ!åY=¨ÞNíîµ~ûÎœÕу:8xf‘àM±ƒªó¦Äc¶{qHH…àÄœÅqÌâgq¼fÏâèIoÙ³8Îâx»%òå_ôøš‰âc8eB5‚Ñþκ´ØÏ×»%G Š{;HpÌnœˆÐpqÈW@m{„“fvã7ïîE1†Æ =RÛþeõI3ÛŸ8ÀoGz¤¶5Âi3ÛŸ84øüÐ Q[C8if76}º;¼È(x©ÀÁ3×GpéS»qDEwp¼DôÞoi¿ÜŸ:^ŒÚ-µí‰° OÛ%²Ú5©©„J8f6A—ÜÙ§‘0,½4š‡ñ"^LÜÏ»0 çQ¥™ûÅó»Ù£K‡™Í$^ìo²(²”—O£¬š‡yßFåsyR^«rîÒäΨö¢Ôeü{.|û;/\¶vMR[]¥ábeÈÕ©öe’0ˆ1CÚ6ÔÒúóÏ¿4}ñ$5Ï~™dç«m§qÃfQMú¤å¾T}·‰S½ €ì À·LZ–°°VÄ–3Úyzl„Iƒl¢Š¬ä¶4µºùøGÓ×r‚ ¡öÎîÏÙ¥Žî¢NíKÝ×WÙåÝänçôŒ[ú1;S±Ÿ [ú‘戽ٮ>}lèFÜ …i—ýC‡Üû{÷‚¯?¼ª:LZF`€¡€BkA_~L¥Ð°ä4ê°Ít1¢0ng÷»@²ˆ>¹BZ›Õçõ6Ü%Txîÿ„ÍÃ"èUÂú†{áÍÌƺ_øƒ—a¶¦d-̦Bxãd6KŠp÷ajSÁ½ÜA,oß&.¶¡¸ËÈ݃ܛ†é(¸M–¡ó(¹Ì5‡ÜÓåíÌݾϜ¡ðn -ÔG—þý'†ü€]x•FË°×׎aZº«qé†õцûQ÷—à•‡álöM)ìEQSwï!ΧÎ:tÛvFã$]aº£eùÉ?lT>÷Ÿo×8áì¾XT5Ù0Ìjõ’kõbÌ.g’4/Ú†±§¶)òÝ2Å&æI–»ÛY> endobj -2655 0 obj << -/D [2653 0 R /FitH 686.127] ->> endobj -402 0 obj << -/D [2653 0 R /FitH 230.554] ->> endobj -2652 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F49 457 0 R /F14 574 0 R /F11 573 0 R /F48 455 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2658 0 obj << -/Length 765 -/Filter /FlateDecode ->> -stream -xÚ­˜MOÛ@†ïþ{´YvvöóXZhËQ5BH””´‡’¢VBýû]Ç„bp²ï¤9%qÆßùØÉLŒú®ŒzßΛƒã¤²ÎÁ5ÿ¦(BT!M6ªù­ºlÉ…îj~rpù™©õFÇbb£7ggG§ï>^t3fnu7+œöüŒû[óøÀ—¯GóæWCå­QTµ ªÜWÀY}]6—WFÝ–ïNTyVŽêÏÊr©È;mR.ïïÔçæÓ„ÑkvIµuaøáá‹!^^ÿ4¾½ïf6µ·‹òb}lç]âöþGW®-MÎûK×w‹•“b=éÝK±.§íb£©em¸¨uFÛ”µ7Ƙ!ì#ÇØjŠ´Žº}4áfk£‘ÎÞ?ñ¨Ê£,àÑ…Q“·kbœ6¯T÷™L#Q]% U"L®3Ø 8o“Ôù‹TRØ LÕ0$qh ·Ž ;`ëõoeõ(Wþ« ÈJ.SÄP%‹€@RHÄªÝ ‘€JÆ3MXí‘HÈq&)iJ^ ú§ÅOø -PÞ•Ÿ¨Öï éGQÙzã42¥€FAGê=¯×}‘¦ég³÷ºN”œ#¨¯°žç¼qfµuŽñ?ìadµŽµ] +Ó¾¦arÍÚ®Ÿ­]{}s·>ž>,û1ûf5€/~·˜­›ÂäÆÀåé©ÈÞÇÊÀÅ^(g?8Õ/ ñÕÂÐQ;±3<ÉÝÇÒÀ.ëT®ÀKƒE–‹/ Y¦f±:D@@¡• PèD@@a¬ó)lã/}ž'Æ:ª£H€J3WÞE.(ÊçdªJN;I®—À¶ lªhó`:ÒvÐ Tƒß D!ÉóP½”Z+‰´–ähR–$NCm/Ȉ@b™ ßŽ$i1‚´pp² nÊŠ¤¸‡¿mªL6R&k2‘wR&e¥|KLG‰w²Ä£QâÍÍnž^÷±>¬‡×=®4¹>þ -.n¢ -endstream -endobj -2657 0 obj << -/Type /Page -/Contents 2658 0 R -/Resources 2656 0 R -/MediaBox [0 0 612 792] -/Parent 2628 0 R ->> endobj -2659 0 obj << -/D [2657 0 R /FitH 686.127] ->> endobj -2656 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2662 0 obj << -/Length 811 -/Filter /FlateDecode ->> -stream -xÚ­˜MOA †ïû+æ¸{ˆÛ³óq„Š¡µ"p¡HI{()j%Ô¿ßM&6Ùeì´§|0yòúµ=±±æ»±æ}u2«Ž¦M‚äÉ›Ù7ƒÖCôÉøè)˜Ù½¹©OÀA3 !ÖgWÓéÇã‹fÂÌõ¬‰\Ÿ|8½lngçGÓøŠÃ!øÐ}Ëš€.¬ÎTvóÅ»§³êW…ÝSkÐ  Cã}€@É|]V7·ÖÜw<7B -æÏúèÒ`ë¹{ú`.«Ï9ž×2ZðÞø69Ÿµœ=}±ÈË»Ÿ9ŠwÍ„b}¿h&˜Ú£züÑtï-6G®WoÝ=<-Ö1 km|r»Z]Šoj îµXŒ€Øyï,PŒYíÜZ»o/²‡´µ—6Gz¸ÉöÐRÛ>ó°Èäà¡@ ¢ -(PH -:P 0”›ŠœwŽ¤9'~Fó™¾Ä5Q6+*'3±¬“´:‡íì1YÇäÇ«"/ 5 —”$kJc5&JŠœmˆ¢‹"ª€[%.kr¡’èI¯Uä…C¸å¦ôŠzÚ`Qpϵ‡`%6x}ÖЊꖒÞáõCÙäx’æh.ëuZ½¥N©Tp†²Ì^-H Õ\Ø¢¡Äª€åܤñ –> endobj -2663 0 obj << -/D [2661 0 R /FitH 686.127] ->> endobj -2660 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2667 0 obj << -/Length 765 -/Filter /FlateDecode ->> -stream -xÚ­˜Mo1†ïû+|Ü=Äõx¼þ8Rhª"¢ -©ôÒÀ„ -¤ˆ¿74)»ñ;!¹d“xŸ}çÃã™õMõ¶96'çQ%¼õjúU‘7Úû |ôšlPÓ{uÓ’‹Ýíôâä<ðÖRÛòS½ºº:»|óþS7aæöTw“Ìi¯¯øñÖÆ<=ðåûÙ´ùÙP¾4ŠòÃ6^åû28©/ËææÖ¨ûüÛ…ÊÏJAý^¯\*ê61åë…úØ|°#„|ÍÊ÷A[ç‹Äw«Ï†x9ûQ4¾~è&6¶÷ónB)õí´‹®}øÞÙÐΟ–\w‘ÛÙb5_1(¶'í“{)Ö¥¸_lp;jYŽÊ;£mŒEíɯâ÷ËØj -´q;õO¡ÙæM6‹&D:õý3Ì5hêí†:-k†¡T•jåR¨•BëL&!éêH¿…¤zŒ‚,FDH:Ù 3ý‘ -hõr­ Þt€Þ±$Ø‘’ dBf p½Øu'8©êH+APE 4„ThÉÖG2ˆ$å‰ZP(Ø•G  ä@ƒGd]†€:$ˆ 'Ë€Ý^D€QD2Qd3!¹CõÜñÛDà4cA:®‘@Ëad†écF{VëY§þ³Á.-«u¬íFZîö5•Îy§×v¥·žÝ-æåãåjÙåÖûn݀ϕ[ÜÞIapbàüô˜ecd༠k`記þÊ=ÆÐÀ.阿Á‡‹ ƒýýØ–``—ñP£P'!‘ªD– ðbxq|ËZäØ´ÿv -€B'P¸§à[¤àÛÖ£.Ñ‘ ·AN­'P/H ·wåŠÿL®KŽI®'‚bÄõpl/Ç5Ê˽ ”}i gÀ$¡$‹@q±8 cŽDÀún2õxûýsÈ.áéCÈy$(¥gò2âž~œùŸ‘õÄa¡á„èt‚X& ”¤BmèDL`òxãzŒÉaÓ·qrè'‡lÁ΄m¨ -endstream -endobj -2666 0 obj << -/Type /Page -/Contents 2667 0 R -/Resources 2665 0 R -/MediaBox [0 0 612 792] -/Parent 2664 0 R ->> endobj -2668 0 obj << -/D [2666 0 R /FitH 686.127] ->> endobj -2665 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2671 0 obj << -/Length 740 -/Filter /FlateDecode ->> -stream -xÚµ˜Ao1…ïû+|d8~¶wlCEmÔ*4—4‡ÐеRÔ¿ßeM6@!;CÝS˜7ïøÍõMõ¶šÌª“ip*éD–Ôì«‚!))Š¤aƒšÝ«›ÑD{]Cˆ£óOÓéûÓËzìœÍêèF§“wgWõíìâd78ÎF(´¿ÒàÓjMeÖ?¼û÷lVý¬Ð¾4 - -°Š(è`“ú²¬nnºo?¼PF‡ÔïnéR¡!í\ûòA]Us<›2`M¤¨ ÚzÊZΟ>¸åÝÅ›Çzlãè~Q‘š£zü^·ï-ÖK®WoÝ=<-ºökm )ù]­>ÅWµ¿)QíÞ{£mŒYíÜó÷öÂyíaûíuyÉnü¼h èÔ4= `1 Œ 'hg„Èa•ÖËûw2i—\ÜOÌk2‘6‰à„nƒP'D¿%•†¥î@; -©Òa¦“1‡S”v˜á¬C’upžHkd1œo'É78UƒD9e#ñ‰¬'Vd(dFꌂaøYÁÁø}tœ$f°T¡JÖSÓÈ¡œ'§e¨—;¬7¡¬û×&iÊÖhFE¶G¡àx ˜Á%1w¸öy~æ©D#PÉ©¥FÂ8ö®–œN!ü“ÏFÒÖ%e½ÓöY×õ§‘ô–çö+íGwó‡Eþ÷òi¹²ÛóΈ/~å¯Ð« ÃÞÆ¡5Ím ±DãàŒmÍ{øC/¶@ç`“ïìnçPô”VMtBYÔ¬ÜçBôBdÙ 1#Qä>¤m&çj4xNy‘õœz*ó’¦´É/m¬:$ʶ‹œÄ@âQ8¥ ´Ì°F’f ‡gRÇ°…d*•™ÓŒeÍ(Ü‚ Fi×ۃ˻Þtq×»F—1§»ùCÑùΚZvl’¡(:ƒo#í"ŠÎ2Ëy}zñúeç·¬kD2D8®yx¶¯š›H›@%›‡°·yhø7ur2 -endstream -endobj -2670 0 obj << -/Type /Page -/Contents 2671 0 R -/Resources 2669 0 R -/MediaBox [0 0 612 792] -/Parent 2664 0 R ->> endobj -2672 0 obj << -/D [2670 0 R /FitH 686.127] ->> endobj -2669 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2675 0 obj << -/Length 758 -/Filter /FlateDecode ->> -stream -xÚµ˜MoÓ@†ïþ{´ÙîÌ~)´@UV…TzHHà@BRÄßg;Uܬ½3UÈ%‰³~üÎÇÎÎD‰B‰÷Õe[]\etèDû]€SÒ9/\pЋv)j°ªylo.®½>ZŠVIŸ–¨nÑ›»»«Ûw¿43­u})›YâÔ÷wzwk¥ú¾|¿j«ß¤J@z¸—ʉt_GñmS=<*±L¿Ýˆô¬èÅßýÊk¤ -1}^‹ÏÕ§Œ^K¥ƒpÖK4®“øaûUÞÌuß>53 õr•ÞLˆuÛ]?ýlÒµU¿ä~wi¾Þ®öFdÅZ.š—bM Ób½É©5JbÚ…Ú½:ÇLÓ(ÁÃÁïûØg‡E3­="BŽè%X<}Ø­9–yŠÃƒ²Å 9Pœè˜H(«$ÄÅ! DÃI²š$(Dj`)Fƒg"Ë åwGIJ1Ð5­LY6;Ð÷5Œ‡f[–F •GÅeÒ¾·{è˜ØGË£=¶(û -l™jøTB - 3\„¢dyÁ*5pDrrÊi‘¡TaÔ}´×3‘@Ø>š^‡{f9Ë‘åK ¤8ží„„T£ý):-£÷gi¦Ñh‰i©³—ÐuɃ¾ÚìúhSÏëU÷õv»ÙµÔ‹}³½úÓÝ&§‚ìt ÓÓC’}Žñ@›(CòÿÿžÕžc>x–{2Œ¥S#Ÿl¹n~t—iÂx 3Àñþd@u¯ B‘jùÔ2Ô°¡P ÓÔ¹wÒCNКP³:Ë*§*g”CÊ(—üh@ í ©A.‹$¨tŒh“òxv—“G1’(‘FŽ@J.ØÕ rBºÑ’jE5ÐS,kðBÊà•ïåË"I°›©²LÔÀ A!ã°ÂQùHÙ„¨9ú[X”;L™”‚ÊB­‘GÊ_¯9”&’ Òw§ç˜Í駃˜’ÿ,•d£ -endstream -endobj -2674 0 obj << -/Type /Page -/Contents 2675 0 R -/Resources 2673 0 R -/MediaBox [0 0 612 792] -/Parent 2664 0 R ->> endobj -2676 0 obj << -/D [2674 0 R /FitH 686.127] ->> endobj -2673 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2679 0 obj << -/Length 717 -/Filter /FlateDecode ->> -stream -xÚÍYMsÓ0½ûWèh¢j%Ydžièt SÓKé!! ˜Éð÷±­:íÂ2‹GyÞ§]­ÞS”ø$”xYÌ›âbáˆ2:íDóQ€r2¸(\p´ÍZ<”sie5ó>”×ï‹×—·ÕÌS6U0ååüÕÕ]õØÜ\,ÂŽÑAzçÛ§ôPC7¦PÏ>½^5Å×Ú·J€PÒ{ÎyéuvÅãëöËÑ~½øÞÝ ¨£TÝS¶â®x›ø‡ष-ÚKm] -æzÿ^Ù-¿$/žª™åzÓ^bˆ‰ÖÓ窽·yrßÝZn÷›žÄt°5Híi°6†_ëíT´VIBŠv¥Òëç9ã%Ôz˜c­Óäl4±®G˜0iµcÌ0 ùˆ1ž¦Ú½çPÑÚ©‡¸îß Iµí´-—«í&}¼Ýï:-½êUöæ[úIš€³~`Òèà¥SÃèhdÜ_ô‡`|Á!ÚS_ÀÙ’”Uœ:Aò4è:'ÿH{*Þ€ÓÇÅíŽõ1ÑInÄ6âI ï1y5É•U“ ¨Àl¬{Tgíþ±•¡IzÜ"¢Õõ2¿FÁeeÜ‘•Q¼F%p,·9¢¹-`q[Çòu.£HJ‘ý< -p›Õ -ȼ~!¯x„<Ñn`ÌÈ°þ'Ö`Ц Ö`¦œÖ`ú¯‚–Á1e -endstream -endobj -2678 0 obj << -/Type /Page -/Contents 2679 0 R -/Resources 2677 0 R -/MediaBox [0 0 612 792] -/Parent 2664 0 R ->> endobj -2680 0 obj << -/D [2678 0 R /FitH 686.127] ->> endobj -2677 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2683 0 obj << -/Length 697 -/Filter /FlateDecode ->> -stream -xÚÕYMoÓ@½ûWìÑ>d;³ß{¤Ð=TAXRé!! HŸulWIêà™f+Êɉ³~ûff=ûÞÄ7âmq^g—ADr¢þ*ÐtÎ œDåE½·%ZUÝÕWg—^ï U¤OC ôj:½¸~óþS5ÑZ—粚$œòfª›G è&<¼^ÔÅÏÓG˜&7Òº(Òƒ 9Š/ëâöÄ"ýx%ÒdÑ‹ßÛ¡k6Jhæ^‰Å‡8³¶{©‚Þò½ -LEyZžò于£<õ Pžyœ‘;DÍnbI‹)°í4€çÜi§LJ¨’æyÒÉOØéh…‹I -Þ3ý ©}jdSÍ.ÁI²žsT‡´ªO7 -'8Χù„^¨fð ½NÍé†ÿDHül.hž -endstream -endobj -2682 0 obj << -/Type /Page -/Contents 2683 0 R -/Resources 2681 0 R -/MediaBox [0 0 612 792] -/Parent 2664 0 R ->> endobj -2684 0 obj << -/D [2682 0 R /FitH 686.127] ->> endobj -2681 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2687 0 obj << -/Length 717 -/Filter /FlateDecode ->> -stream -xÚݘMo1†ïû+|„ÎŒ?Æö1T¡QÔF­²Í%Í -í¡Ð¨•Pÿ~ (l–ìLd.=‹yv>¼ÃûÔê}5®«‹I°*éD†Tý]!Ž”EÒh‚ªçêa0ÖNG!ÄÁõ—Éäãåípd­ÔÃh—ãWwÃÇúæbŸq¬‰:Phî²% ·›5ìnÜ~½ª«ß6oA¡B*¢ ƒIêÛªzx5o¾¼QÍW)¨¿Û¥+…>iØÜe©îªÏ9Ÿça ’®IÇmå`®×_íjú+§ñîi82q0_4/)¦œÖÓÏasm±[r¿¹4]®Û$ºƒõ¨)¹v°.ÅWƒ ®+ZÚĘ£¼,/:£Ñº}yS^qí׌uò~OÃ~Hp žñ°—‡|BgùlÐèÍg:»E/€ØÄ~ €ÈÑXIˆØÝåV^ˆäÄiA í/§A)Mì¢ íßšÔ¥c(£SVž?kÌ°ý%ˆ¢º2Ƈ‘9½÷R$ã™O¢gžÕ!$Q‡N´§Õu “7>­ŒÈ™#¥LΆ—´(Cõa¤ ¤!Yõ”"9»3H™ŒÔe}çŒ'ÉùaïÒ £äd.ª&cÁi±jÈêB emœÕfØý'«1Kæ#‘í6¢Ú ¦³å"¼]¯6úz¶UÞ‹?ù'yžô^ÁÄ  b ¯`’×1Û+„^ál¯`’Õ>Ç+tí Þ>cžô?hñç*Ê+gF½P7œCŒ§ œÑµð܇C Î r3¸´Ì}¥ºbWBm,–wp_¥õ)œ’rmÞr:ŵy‰SêÑåo÷M¬!åD@Þ(R©{ù\HëÒ±Ö…‡-ýŒå¥ia{Çëº"YGdA -ãîèŠeÏòX§N’QΜ֮¬Ã^º–´¾Ó:4üß o -endstream -endobj -2686 0 obj << -/Type /Page -/Contents 2687 0 R -/Resources 2685 0 R -/MediaBox [0 0 612 792] -/Parent 2689 0 R ->> endobj -2688 0 obj << -/D [2686 0 R /FitH 686.127] ->> endobj -2685 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2692 0 obj << -/Length 728 -/Filter /FlateDecode ->> -stream -xÚå˜OsÓ0Åïþ:Ú‡¨ÚÕÿ#…è¡O‡™ÒCB:0“áë£Ä1'Þu5Ã\’8òÓ“V’ß/J|J¼-.ëââ:ˆ(£C'ꯜ’Îyá‚“€^Ô q_‚5ÕC}sqíõAS´JúÔD5^M§W·oÞª&ZëòRV“¤SÞMõöÖBí;|þ~U? H•€Ô¹‘ÖE‘nLÊQ|Y÷J,Ò7"u½ø½kº`£TÛ¾Wâcñ¡g>H‚pÖK4®±ønóY^Ï~4_?V åb™ÞPcYWA—ß«tm¹or·½4[m–»Aô›µ ]4ÏÍšΚõ¦ãVIkÒ¬%1¹Þ¹«ôjæ½32í%XÝN;Ø}iõ&m£ €ŒÖ> ° pàY‚Ñãú'Ñ mZEÕ+¸os,„º 6é:š0h˜6 SiXSI¨6"OqØ£VEÊ‚d šà½Ö¤õé…Òžöô“ª š%HY7LEÒ \MÂŽ±œZѨg=Q¤î*BÎ*jDIf#ß,œ83»†íä©ÃÊ®OyøLv£<뚺êš«J8žOcÚúR,AÂé[–dÇ"åÑî…!=’âéÄŠNËèýËâuXÑh‰­³”õ%4¹¹“´Í6Y›r6_-›¯·›õ6dÏwñ{ù«¹¥™Ó“ Ð Ú€4Êåmâ.ÆSÁ[φ¿f3ƒ6^ê`À€`@0Œ^ºçx)‚ ^@ -€`/¨ÜI\ ›Ô„Q;ƒ …A°—kå9—UNˆBΨB%&‡dÍÐÙ0Ä`ˆÊMJ„º(ˆü°Q™Áy‚…”ÜA<¢$ÃK\¤q[®&!usÒf£I;}Ý(]ÈÁîH2Ó“0äÀš#ݼè±W…¼,NÚûÿ'¼ào’± Ð&Õ  ÐÕœ à{A!àWj÷ -endstream -endobj -2691 0 obj << -/Type /Page -/Contents 2692 0 R -/Resources 2690 0 R -/MediaBox [0 0 612 792] -/Parent 2689 0 R ->> endobj -2693 0 obj << -/D [2691 0 R /FitH 686.127] ->> endobj -2690 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2696 0 obj << -/Length 720 -/Filter /FlateDecode ->> -stream -xÚå˜MoÚ@†ïþ{´lvf?f÷ªÐ(j£V!¹¤9@¡=µê߯Á˜Bbêºýš ‰Ø<~gvì}_õQõ²Ž‹³Y•t -Ôøƒt I…4 ©ñLÝ—Cít5 ŠååíhôúüºXkËqmy>|uqS=Œ¯ÎFqc1j -T_eCï×k -³½ðÓÏ‹qñ¥€úW£@M*Ò„I½_÷FÍê/¯TýU"õm³t©À'mÖWY¨›âmSϾ @Ðœ -ž4ºÐˆ¹\½3`—“ÏM/«Ær6¯?\òë²\ùø©B*çÛ%wëJ'‹Õ|SD·X__)¹§b]Š?[kÛS A“«›ïŒÆµS³þyÞa°¤ÁcÛa„fÉpÐ.èäýH/DBÒ¡ëvsÐIÜ®yF„^‰ ’È©Ùˆ€ýSÅ¡åcŸA²ÏÀi!J€Œ‰€ …Žsìv9ÜËÄÙ/ ûÌ~¤Yåœ68C‰$†öß9(Û"àm}8‰Ëim’ @KîoE> endobj -2697 0 obj << -/D [2695 0 R /FitH 686.127] ->> endobj -2694 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2700 0 obj << -/Length 743 -/Filter /FlateDecode ->> -stream -xÚÅXKoÓ@¾ûWìÑ>d»³ï=Rhª ¢ -©ôÐÀ„ -¤ˆ¿Ï&k—:]Ç3éFÍÅyŒ?óÌ7+Ø&Øûê|V]zx°Ò²ÙwVpk³ÞrŽÍì¶c›»ÙÕÙ¥SOL¥ÜE‘ŒÞL§×ï>~i&J©úœ7“ˆSßLÕöÖJ´Ü¿^̪ßÄ·‚A|¸æÆoŒÈ}[W·w‚-âW,>,8öwgºf`Ûg¯ØçêSÆg¸Žt­q\j›(~Ø| Ö÷¿Ç·ÍDúz±ŒL=k¼®~6ñ»øÔ­ÙMãU}¿j Þ,w¾ä9à6è}Î:øƒœî‘Üè|-¸ô>‘ž‹øJáï9¨£ºè«Ö¤‡7éŒ&<óFÁPaœ!8`Ž¡–”îó·6{x aÏ‘ðôãÛG@D¥"D""¢n$P1Ç—Žˆ ãÉ‘”äl!4-&&C†”r@T9àG%$ÞkT¶(€˜A¡I€DKCÄu¡½[PÌ2”|·¨˜Ê”äìb;NØC8??ûÀö(`DßzâÆÙj*ÛqHE„D¸NP Éßë,EÄôj !" Ž¬!ÊŒB(Rfõ†¥ª´Šç^&¯“R•ZqÙ‹ZŸCÒÌ=¥­“²¾Ÿ¯–éãõf½Ùóü^þI·¤Ú\² ƒÒÀµ°%e$W"·0¸zÙ_r›Â#Ù›‚ÒŽ+¯Ÿo -¸º@ -©ý*1‹‡ÌÈzEE¢–‡þ¬³,‡g€ÄÈÜæ8â¡A%ŸÉÇò+(:÷J…SæýÀ´ÁZˆ!HÌ¢ˆ`¶$® +pÊ¢y:^vyíP1mCWž»î)£ÂmN Âqí)Ã!†Sl9¯¡À§½tazKZø$ãµd½/.ë¥!B9l±OT}ÙCÏ¡’<þ\U<)Òy©Z`Sè”jÉM²›BôàZk -endstream -endobj -2699 0 obj << -/Type /Page -/Contents 2700 0 R -/Resources 2698 0 R -/MediaBox [0 0 612 792] -/Parent 2689 0 R ->> endobj -2701 0 obj << -/D [2699 0 R /FitH 686.127] ->> endobj -2698 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2704 0 obj << -/Length 729 -/Filter /FlateDecode ->> -stream -xÚ½˜OsÚ0Åïþ:Ú­þìJǤšÉ´™vBsIs€B{(4ÓÎ0ýú5ØPCL½KÕž€±øù­V’ß³Q_”Q¯‹«Iq1&§’NhQM>+0¨#&…5XR“¹z,¯´×Õˆ(–7Æã·—wÕÈ9WNªèÊË«7×÷ÕÓäöb;g£&¤ú.[ÚŒ)L{ããÏëIñ½€ú«Q Œ&…HšlRŸVÅã“Qóúâ­ª/%R?·CW -BÒfs—¥º/Þ7õte€äÒÖc#æfýÑ€[M¿5e¼z®F6–óEýáSØ”åË篕¥rÑyØT:]®Û"úņúNÉ‹õ)þQl­­£P“¯'ßmclÔÎŒ1/çiv?¿íÜh7h S{ôð¼ÕàüŽ—zqí˜#°F@è—xH´AD†H‹Bä°JHÃHì ‡[’Öpªv ©šU4‰ˆ  ç7Ë‘Ñj!Ì`cÜpc°K<%ôŠüvï©ÀàƳ¸À˜Y+œÙ–ÌØñp™ÁMrîð> âåÀPj¤JL1›U´+ -D}ç'Ž(g3ÁfbõÙ *fòdÄáõM’š™‡3s%Íæím+ÔÉX’(êc‘;sÚ¬Zt:ý•³n½ªõNÛ´‡wNCc™L¶oLõt¶\4?ïÖ«ªöܳ­ó^ühþÒ<9Nf„Þ¬`#i41GV°)êð³Â^l†¬`“Ó!"++œ}X±Ž{#2Íy£çpv2 ÇâÐ1çÙÿ(²Ì.·evÁ2ŸZ“”õµH1·EÁ3‰5‘2Ϲ@fÃÀÊp"OÃZ…È,^¡ã5 df3sºf­™}å?ÄÐ-ØdIUØC†¬!û78wÈî3‡ì=9sÈÞq!ëë8ýBàüè~21œÿþ“Âÿˆ ;Ïš!2ì,kÎÈàz#C]Á/¦mR -endstream -endobj -2703 0 obj << -/Type /Page -/Contents 2704 0 R -/Resources 2702 0 R -/MediaBox [0 0 612 792] -/Parent 2689 0 R ->> endobj -2705 0 obj << -/D [2703 0 R /FitH 686.127] ->> endobj -2702 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2708 0 obj << -/Length 739 -/Filter /FlateDecode ->> -stream -xÚ͘OoÓ@Åïþ{´ÙÎìÿ=Rhª ¬ªRé!! H_ŸWqâÔ3aœÒ¦ëŸßîLwß[_ˆ·Åe]\\etʉú‹@Ò9/\p•õB<”hCõXß\\{½7TY> vЫéôêöÍûûj¢µ./e5Iœònª·°{ááçU]ü(0ýÓË´.Šô`"Gñy]<<‚X¤?Þˆô²èůfèZ ¶ï^‰Å‡yx+M’묗ʸVâ»Í'@½ž}o5¾~ª&*”‹eú0Ñ–uLùô­Jߥ¯°Ü »«‚.g« -ËͲ™Ë°f‹ÒEs¨ÙÄð¢foz¢AZ“߀T!´¢çЮ~o~FIÔ¦[ü¸«Ï>mÒ™ Êhí3‡xÚK´ºã)3Ü :â¨@ψÃ3î+DÏPˆ¤Icd") ãL×câxµo1‘Õ|(:Óœƒ¥€ÝyàñVµgq¼»‚EV׎‘ó¿¢$Z‘ ‘G$‰ôL$¡4‘SqR±]$iÕÀ*£9@Ê®¬X@‚B¤WeÛ9”ó7Ð÷Œ9¾ !I˜¸c¬$©ØYDBsºiF!pÊMš¶r<•ãÅN±)=§ªrZFïÿÌ]·FU-U§,Y}‰­eîmÓëÙ|µl½Ý¬·{Þ¸ïåÏö‘ÖqžÌ ƒyA”\Ž¼ Mlì;5/xë·ÓÒ]^èg…¡ ð,6CPÐÆK )(4¡ú1ܺêØØg …/Ãj‰&p™Ä}ŸiBºù<¨;âæ± Gz1·Ç§Y<¦¯mürÎshGýîÛí»ïܹ3›“¿c賞¨ÿ­Qv{Fòº1 1Uä2ó^5옘óNä$‘ïò+x(žÿÎ’döí7¥Þ‰Ì;ò^&"é’N³"fJûŽž²Žž‡Dâ-ï°MÍ:—š3%ØÁ”fð7”j -endstream -endobj -2707 0 obj << -/Type /Page -/Contents 2708 0 R -/Resources 2706 0 R -/MediaBox [0 0 612 792] -/Parent 2689 0 R ->> endobj -2709 0 obj << -/D [2707 0 R /FitH 686.127] ->> endobj -2706 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2712 0 obj << -/Length 728 -/Filter /FlateDecode ->> -stream -xÚµ˜Ko1…÷ó+¼„Žß^†*4ŠÚ¨UH6iPh…F­„ú÷;ƒ1dèÜ›¸+c¾9÷ÚØçŒß…ï«ñ´º˜#’L^{1ý& ¼Œ> ½„bºƒ±´r8 -!®ï'“—·Ã‘1f0F3¸¸º>Mo.&ñˆct”Á‡ú.[\jÆTjwãÓ׫iõ«BýV @É ¼2è$¾®«Ç'%õÅQ_JAüÙ]‹š+Us—•¸«>çzŽeõuW—ã‚ÔÖg1×›/ -f=û™Ëx÷<é8X,ë—àB.ëùÇ°þn¹òÐ|5[m–Û"ºÅ:HŸì©X›â?ÅÛRëe°µZ«¤Ž1«+¥^öVK»ïoÊ#Z´Ñ~Ìɹ¢fÑŒ\d#´Sª N¤vkÝ : F¯`ÿÁýX×õ§Xôwü.ôkµì”*žÒ~•`©Dÿ’‚cI¤íû‰‡YeÕ[†DЉ‰ì/‘‡$4’E¤Ìµa)k²Ai¤<•"cƒ²Åæ)S ú¼@Ѧ:°4Òd&.³‹4ô-¤ Í0Λ3l+T … ø@?gAÚz`9%&Z Pw¨Ú™Bx›ÎU[#õ^ÙÃ'#‘}rËYÛÆIÛÁl¾Zæ·›ucªç[»½ü’ÏųÁ 3 è¤W±D@ÐÉɘü ±‚NFºè_Ut/U¤Í™ç7‰K—ìŠF"Êiix§eÙí‰6#–wþ4²Nì2)¥û×`Q6 ˆ«¸hÜSËÆ«µhÌ̲ъâqÀò8e#Õ.:¦EÑÔF³vœˆR4 ¤ßc"éUdFÚŸ‡b½} Š"i°%´l$fÃ#¢l$ýyX‰´g”üæ[L”|v -b/ñæ Ð¶ºjœ°÷©%sBèÌ uÛ_i: -endstream -endobj -2711 0 obj << -/Type /Page -/Contents 2712 0 R -/Resources 2710 0 R -/MediaBox [0 0 612 792] -/Parent 2714 0 R ->> endobj -2713 0 obj << -/D [2711 0 R /FitH 686.127] ->> endobj -2710 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2717 0 obj << -/Length 742 -/Filter /FlateDecode ->> -stream -xÚŘOsÓ0Åïþ:Ú‡¨»ú¯#…è¡O‡™ÒCB:0“áë£Äq¨]'ÞMÅpJë*ÏO»ªô{ñM€x[\ÖÅÅuQF§œ¨¿ -t óÂ'QyQ/Ä}™VõÍŵ×O†* Ò§!Ð z5^ݾyÿ©šh­ËKYM’Ny7ÕÛ¯°aÿóª.~˜~éåFZEúbRŽâ˺¸±H¼éeÑ‹ß»¡k6Jؾ{%>æá­4É®³^*ã‹ï6Ÿõzö£ñøú±š¨P.–éÃD[ÖU0åã÷*=K°Ü»«‚.g« -ËÍr7—aÏ¥‹¦ïÙÄpÒ³7Ó ­IÅ7 Ué9À¾úùi/Ñê¶øØ6è©Ü¤4A”ÑÚƒè%Q›V/ÊíÇôäàOY†?ÜJ¨GÃòˆÃÓî•10m"¡5n\Óu4 >=Ï縢bÍ||½9¤õ£éöH]Q†%HòéÞIŽWQqªˆ”…é#RvåxŠã5°q|§@FwŸµgôúXkº&=Ç$iƒÔLE$h¶æÖ*e)N×ÿ*¶6äôê <Þ1wN-~áŒJŒ»µ|·„ý$r½4-O“rÞ ¸ÔÈrI1Éû TóªrZFï_ÆØ ®*£¥j­%à—Ø€s·Mƒ×³ùjÙüz»YoI{¾cðå¯æ+ †M ƒ©A”\ŽÔ ­’ây©Á—ËnbŠ ³â‚6^ê`èqAQâ‚ú/qáìû$„+ -÷¨!`—<…{ƒ’YÀdð—@3äeúÁàyÑ‘ÔC‘8'°È1×éÖAðܧd?Ý€|º1Ø#s–AÒÍ…f:èAØn å([…ÏM3Ê2i†tÍåØ¢y.S\G”i€ë¶I4ÙÃÒA9OXz®œ;+!õ¾.òÝfIJ½õ€¹ƒ3¯ssþÄ+§afÍZdÍâ`dH3ø8-mÈ -endstream -endobj -2716 0 obj << -/Type /Page -/Contents 2717 0 R -/Resources 2715 0 R -/MediaBox [0 0 612 792] -/Parent 2714 0 R ->> endobj -2718 0 obj << -/D [2716 0 R /FitH 686.127] ->> endobj -2715 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2721 0 obj << -/Length 733 -/Filter /FlateDecode ->> -stream -xÚ­™OsÚ0Åïþ:Ú­þë:¡™L›i'N.iPh…fÚ¦_¿Â²Óà˜z׈ ‹Ÿßz%ù=G°ïL°÷ż..N±Àƒ•–Õß˽ ÌzËA:V¯Ùc9çšW3ç|y}¿X|¼¼­fJ©²®¼*/ç®îª§úæbá_q”ôÜYÏÒÀÂaL!Ú÷߯êâWñ£`Àw˜µŽ;Ø×]ñø$Ø:¼añPpìO3tÇÀ.gÙ²»âsªçµ €xÜÄrŒãRÛ$æzÿE€Ú-¦2Þ=W3éËõ&¾9ãRYÏ?ªøݦòpøj¹Ýoš"†Åà6è¾XüÅ:}¤Ör§£Z-¸ô>©] !Þ^_PŽƒ‘/×·r„›uƒf<󃞖”îxa׎éá`\žTyñŠ¦×xÕa#WLábÀrlß‚a tÅãTðd*ê¨Ðñéj(ÓP*5Må8Q RïÇ‹|Ñ0¸˜Žq‚‚ÃÌuÂÜêñ4"`¶Ce"„‚Å·º…Âxƒ<©A t|Y"1Ï [Q³¼G5J‚FÜâ&lÃÈŽÓŠÆ´[“ªFÝ$E$fõHK#b®¤""1G ô·p¥=˜~+ÑnsÚ­J«xpîâÌ6ø~ãæ<É£ -€ÜfMà|£&’¼a0YYzƒj¶$šýìÎ\dŽß§‚Øäç6§ö‰3B.}ZJ¯qù“‘³=]:?>tþ5C|èìkÎø0ü?†XÁ_ o¾ -endstream -endobj -2720 0 obj << -/Type /Page -/Contents 2721 0 R -/Resources 2719 0 R -/MediaBox [0 0 612 792] -/Parent 2714 0 R ->> endobj -2722 0 obj << -/D [2720 0 R /FitH 686.127] ->> endobj -2719 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2725 0 obj << -/Length 753 -/Filter /FlateDecode ->> -stream -xÚ½™OSÛ0Åïþ:Ú‡í®þXÇÒB[L:Í0ÌPФ=4)ÓÎ0ýú•ã¸$ Ä»AS8‚üóÓj¥¼gŒú®Œz_Ϊ“óVE=z5û¦Àí}P¾õ0¨Ù\ÝÔà±¹]œœÚŠÎ膘~ЛéôìòÝÇëfBDõ©n&‰S_M©»´2›>=›U¿*H?éæV;Uº0‘£úºªnnš§?^¨t³ÔŸõЕµéî½TŸ«O™yÔ­KópA£õ½Ä_ Ðêîg¯ñíC3Á¶ž/ÒKp¡ž5-Õ?šôÞb3äª{ënù¸XO"/ÖöÑ>kc{Pl°;jv6©µFcÛöjïM÷Õ~gj48êŽv³6ÛÀÉ0h £s[D` [!Æ‘ B2€$f'mQÙ²¼Í˜¼qàÆúŒ…† ˜1°è„Èhw»È ºè‰;Þîî8Öe|ìFñ’1Î8j×I éN³’hpj ¢öç#´ß¦¢'Cx§î]*ZÒ8(K_Co–wìµíì´­ïî—‹þ×ËÇUç¬ïמ{ñ»¿„ð`:Ȧ² ­ñ%R9Ôd";%Øèúiu)!pRÂ?±RÙ ©µ™”°¯3Ó¼˜±ßŒã$~ÙØȉ9‘ ¢•a¼Ž‡<8 -RrR -Rr¬f<íx IäH` [ñ ¶è#ž—¹\F[EYX(›æyé;¾>*ýèè¤0XÕIapª%“Bþÿi’-hü -endstream -endobj -2724 0 obj << -/Type /Page -/Contents 2725 0 R -/Resources 2723 0 R -/MediaBox [0 0 612 792] -/Parent 2714 0 R ->> endobj -2726 0 obj << -/D [2724 0 R /FitH 686.127] ->> endobj -2723 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2729 0 obj << -/Length 734 -/Filter /FlateDecode ->> -stream -xÚݘKOÛ@…÷þ³´æÜy/¡"E¨E­HÙPPÒ.JŠZ õï׉“ȹ—N7]%(ÃçsçÎãõMõ¶:™UGÓhUÖ9PP³¯ -&è² -)hPT³{u]Ÿh§›IŒ©>û4¾?¾h&ÖÚzÖ$[Ÿ¼;½lnfçGÓÔãXJ:†Ø>eE@°Ë1•Y?x÷ótVý¬Ð~5 - -0:F¨¢Ž”Õ—Eu}cÔ}ûã¹jÊQý^ ](ø¬Íò)ê²úØÕÓ—‚Ñ©à£&:1gOŸ ìâöGWÆ›ÇfB©¾Ÿ·.ûeY®~üÞP¬çë!WËJožæ«"ÆÅúöIÙíŠu9½(¶ÕÖS‹ £k'ßM)ujïŒ1Ïç6jxÚÎ¯í† p“Í   ³÷[@/bèHú ÐŒòÖcvx`Tl@ 8%““qX#Öȑ(i3]‰ü®´M1œ¥H‚ÆtÌч:“T'Æ×Ðê^AåpýanxÎåôŸÄs‹}Ku(9¼f*ï‚\0ƒš…T2ɇ‰üÍÐI$bßnöÝJú¾w.‡L’2í‰ÂÚH/é8 ­!Æ:‡d÷p.MÈP(9ìÁ8è³`í€se" -ÚÌDfQÑ,&)óð>Ä~·JÁêã_YëµY%g5m´]}°g¸l×¹êÛ»‡y÷çÅÓ¢iM÷ÝÊzÏuÿbÝ‹!a4,PŠ:˜T",PNÚÿ0,lÅ ”­ö)< …½3/.$±ÌõÙ %VÁ¢øÁ -4°PøPÙkèFÎî4–…`a‘I2….>E‚fßy…ÿ‹ñ°2ãQö°1ØeÃàËpJAä”Ì6µ• ™=rá4vÞpò™@‘×;}CÑ´fèÈÂ9-“Œ&Ü”×`ÞnQÊdì*íÖ%“£4‹•2®Î$‹J̗ㆵ@^ØøÕ’yÁæ…¶‚?G‹lü -endstream -endobj -2728 0 obj << -/Type /Page -/Contents 2729 0 R -/Resources 2727 0 R -/MediaBox [0 0 612 792] -/Parent 2714 0 R ->> endobj -2730 0 obj << -/D [2728 0 R /FitH 686.127] ->> endobj -2727 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2733 0 obj << -/Length 747 -/Filter /FlateDecode ->> -stream -xÚµ˜OsÓ0Åïþ:Ú‡¨Z­þXG --ÐC§ žNgJ HèÀL†¯ÅÔvÝx7¹¤IåŸß®då=)ñ](ñ¾8oŠ³ËZœv¢ù&À)霮v´ÍRÜ—àLõÐ\]zì ÕVI‡¨4èÍÍÍÅõ»wÕ ËsYÍ"§¼½ÁÝ¥…:Üpø~Ñ¿ -ˆ*ñæFZD¼0’ƒøº)î”XÆ^‰x³àÅŸýФÚÝ{->ŸFêðVš(×Y/µqIâ‡í¸™ÿLß>V3]—ËU|3Á–MU›òñG¿‹_Ayv[ÕXÎ×”ÛÕ¾–qͤ f¨Ù„ú¨foz¢•´&6ß(©ë:‰^¨øJíïˆ^‚ŶûxÒãÍÚA3¬}Â$ 8Æ3Zš–Fq‡1L× œzÔ–G¤ˆ¬§‘®‹Ò\kfí{ì¨ÜþYεX×Ä%ôWëS_Ódà“§Ÿ3݈Ár ( \¥Ó:‘5a„‰B^; Œ§uÿTV“g" K_Óg;&¡W;a]Ö,"i‡vL$¡nGß¡wHB݆#’ò#‚, ¡fÆ®Iúå`§÷ÅXá¤ß dÌ2Ðjæl@ªXU¶qÿ²[Õeðþu;™UmPêVY´û’mî™m“Ìõ|±^¥×ÛÍÎg/ö|õ;]‚îhVÍ h@ård´Z¢ -§e_®úya,,ü›!, ñkó<,ä|¼Ô‘JS²‡~¤G„Iâ1w¯IùãqfZZØ5 -Ó@¤× $+,ÛAÝž¨@Èïਮ#°¡Ãù“T?°¥¦äœ]2ä ‡pæpØ%ç ‡OdÈ‘¿‡‹"Kæh…,ç](äöö4ŸksgàØHÊóÊsâ”°`xÄÌ9ŽvÐfxÄÿ`ÇógÃt\“ã< '3ïa íè _ö­bCk[sÆ?b¸En -endstream -endobj -2732 0 obj << -/Type /Page -/Contents 2733 0 R -/Resources 2731 0 R -/MediaBox [0 0 612 792] -/Parent 2714 0 R ->> endobj -2734 0 obj << -/D [2732 0 R /FitH 686.127] ->> endobj -2731 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2737 0 obj << -/Length 730 -/Filter /FlateDecode ->> -stream -xÚ½XMsÚ0½ûWèhP´+i%C'4“i3í„ä’æ…öPh¦aú÷k0H¼ëª9cñôöCë÷dÔweÔûb8.ÎFÁª¤!©ñ7†t¤¤(’ jüpqS=Œ¯ÎF±…c1ê@¡Þeƒä×k -³ÝøùçŸøU@ýÕ(PF‡Š(è€I}]÷FÍê‡Wª~”‚ú³YºTà“6ë]ê¦øÜÄÓ¦š‚SäƒFG ™ËÕv9ùÙ„ñî±`,góúÃ%¿Ë•?* å|»änéd±šo‚8MÖ×;%÷œ¬KñU²5·[ \|g4ÆØ°cŽó 6hð¸Ë/ÚfÉÜ`·h “÷{<8‰èPƒu;Äpp»æ:)ZQ„î ÁÉ»9¢ BwMwi×M Ÿ§Æ‰_cX7á´"D ÉX=Ž½€U‡>ÀŒò¿ü-\Fç£éŘÓb©2tf‹;­3J19#%HÃç䔺Aú€Ñ²Bžœž"!dw…PT!F"%8³ -•ay„ÌŠÙJŽ:+hŒ2DFÔVõfÄ1h&!M`Ì '˜ÈÀœ˜^Ä“s ‘ÁѾ,\‘¬N!ü“ÊÞêVtVãŽÚÝ'«¡‘Ï‚Û5{2]Ì›Ÿ×«eUëïéF…Ï7±ñU¿pÒ7` šLÌá0Eíþ£oØ“Íà0Yí#½oÈ9ÿ˜"ß -E>K£z1(#ö(‹6 Ȥ¨é8³Žl#çÕ‘OÈÙ´‘óú€2dU•{`ÎÙ ÁÐm$mdÈ|Àòêáͽú§8’nb½Ä%b5»ûÏ{9ñÂÜëoX®I¦¥yÓˆ„"‹F•YôB a²^æm_Ÿ&ë%Aƒ Ù]kœ;IÍ9%—ù'Èîñ8Mä^Ö°,ÄNÂæ´餅¨#ø n r¬ -endstream -endobj -2736 0 obj << -/Type /Page -/Contents 2737 0 R -/Resources 2735 0 R -/MediaBox [0 0 612 792] -/Parent 2739 0 R ->> endobj -2738 0 obj << -/D [2736 0 R /FitH 686.127] ->> endobj -2735 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2742 0 obj << -/Length 754 -/Filter /FlateDecode ->> -stream -xÚ͘OoÚ@Åïþ{463ûM›´Í!¢*Š"¥9@¡=µê×ïÚˆagœ=ô‘õÏofvÍ{€ø.@¼¯.§ÕÅuQF§œ˜~è@:ç… N¢òbº5:7zœÞ\\{ýl©² }ZÝ¢7“ÉÕí»÷£±Öº¾”£qâÔwÝ\ZÁö†Ç¯WÓêW…éW˜nn¤uQ¤ 9Š¯ëêáÄ"ýóF¤›E/þ´K×m”ÐÜ{%>WŸzêðABÂY/•qÄ›/€z=ûÙi|û4«P/–éEiUOGA×O?Fé½åvÉ]óÖlµY¶Eô‹µ(]4ÇbM gÅzs ¤5©ë¤Jª[µsèÚ~P˜ö­Þu·KpãÝ¢1¢ŒÖîyØÃ3J¢6;^ìÅm×á"P9†@ì—xT²eó@e8@„l}¾‰î)cfu)U£ç! }d †´w4°€„š5ØhÌéÃîùCè‡igFy^áy¢F‘pj€U5’vFžÊ¦™y¥Š5òzj/IñåžÚRGdD&4ðǶýÉ’Ý@rþ€Ù!$449¯Vsû@x¦RBñœ£FúÌS, ¡hÂØ&Ñp$’¶P` @}Úº*§eôþu>»s®Êh©vÊ’é—ØèËm‹mêÙ|µìþ¼Ý¬·=o}øòww‰³‰¡79hƒÒ€+‘´URC$'mWV“<%9ìÅHÚx©ƒ!%‡áNÿôÆU‡û¬ãªŸŸ Ðp€˜Wˆ¬’1¯ðœßU/>—€dOçÀ2jdLäx‘§Ë>™) -éÉ‹¤¥çÁ¡h2n‘´„Ãsx[GJ»aà"þ®ŒÅ úž\Æ »äâž´³Ð¥sÕ)ûüŸ ÷ÃùÞÏ=ôY¹÷0;”ç$&²™e¿–øo ¾ÍüÁßäµþ -Ç$Ú£ÃÎ ]ý¦µ@fØyÖ’™{3Cªà/_»n¯ -endstream -endobj -2741 0 obj << -/Type /Page -/Contents 2742 0 R -/Resources 2740 0 R -/MediaBox [0 0 612 792] -/Parent 2739 0 R ->> endobj -2743 0 obj << -/D [2741 0 R /FitH 686.127] ->> endobj -2740 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2746 0 obj << -/Length 754 -/Filter /FlateDecode ->> -stream -xÚ­XMoÚ@½ûWìÑ>°™™]ïÇ1T¡QÔF­âä’æ…öPhÔJ¨¿6†Ä€‰gÈ^0ÈËÛ7»3o@ýT >fã*»˜x£¢ŽŽœª~(§ƒ‹Ê§‘¼ªæê1k«‹‘÷!¿¾ŸL>_Þ#cL^Áä—ãOWwÅSus1 CA{çë]6è|³&ƒíƇϫ*û“aý*DÐÞ£rÎkOQ}_eO æõËU¿Š^ýÛ,]),£†f—¥ºË¾¶öti ¡vÞ*WzMÖµd®×ßÍjú»5ãÃs1¢ÏõÃƲ1ËæÏ¿ -òùb»ä¡±tº\/6Fô“-ë¢=$kcx“lÍ­Ãö¶v¾M!´lgpì_´¤ÑØc»bm´[3BÔ±,_à°Ïx%íð ônb?Ç}LôRLdXnE–o@Yl‰äl›a`vGÀ8ì‰òO #Îq"RvgPö0F1_h‚[†­ï&Â0 -Üɉ»˜ÌJ$+ä :"ãx -’§¹Hw©àÀ7ˆÈ¹KŒ%' ?{6Œ+‰¤ŒsXŠ,g> endobj -2747 0 obj << -/D [2745 0 R /FitH 686.127] ->> endobj -2744 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2750 0 obj << -/Length 800 -/Filter /FlateDecode ->> -stream -xÚ­˜MoA †ïû+æ˜2=_G --ÐCUDT!•Z8ÐPTñ÷™dÒ*Sv2öÂióá}öµÇvìõMõv8^G§Q%¼õjùU7Úû |ôlPË;u5ç×˳£Ó€{¦Ö²‰)F¯..NÎß¼ÿ4_ âìXÏ™3»¼ÀÍ­ƒÙ=ðåõd9ü ¿4 -òÃQ£%•oÌ䤾¬‡«k£îò—g*?,õ{kºÎ¦ Ï/ïÕÇáÈ!irQy´%_$¾{ül×7?ŠÆ×ó…³»U¾XkfËy¤ÙÃ÷yþlµ5¡Ùå棛ûÇÕÖ‰q±´OôR,¥xPl *êI£±Ê“Ñ6Æ¢öÖSÂ^9†I{²OQ·¸;™}ÜâÉh “sÏ<èòÀx0¦Hû–/âv6/q ˆx}-ñý3~"µBì+ô{@†D/’‘ÄcAB?ÁIu‡êåT6LÀr¸±ÏõqUêvŠd`¥LC3 -Ö‹3­±¶f¢jF_€4‰ Ýx8Q{Æá¡ððé r¾ï³ä¯$­¦Õ½jAp.ÜÖEB•Œô‰¢P#–€"•¬Œ42$£%9Îê’>ÍëüV$‘3ìXÉakÜ íAÖæk -áߦn£e µ}Ò–W eâ®p*÷Ííýª¼=\ofïÛíT¾úUn!:¸?ŒîH ÉxÖá’6¡í:ÒÉ:þvãV{nölìÏb{ĈØ*9‚ÆH¼="hpÝz(Fœ=‚¬ìÍýņ³FÔòZkɨ<`[s8ÞHk—Iâr»9×~»¾L_C¡¯Ô‰•)ö&õbÔÀÂäÄÞäÛ#CŸ “ÈÀ q"º_\¾~~„Ì8Ck¦‰†~¨[õa4ƒ¤\“dLFÍYÍqDb_äþ? ]‰À—Øœ©+ •åêøçÂ)$#ÈëTIp&Í¿U*$ -J²½™Ô~G™ßœlDÉäüžX‘Q1"œß|äwbàymƒL#§j¼Éb{Œål½™{7ÅþÏ-ÂnÙƒ?Ì©uÿ -endstream -endobj -2749 0 obj << -/Type /Page -/Contents 2750 0 R -/Resources 2748 0 R -/MediaBox [0 0 612 792] -/Parent 2739 0 R ->> endobj -2751 0 obj << -/D [2749 0 R /FitH 686.127] ->> endobj -2748 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2754 0 obj << -/Length 743 -/Filter /FlateDecode ->> -stream -xÚµ˜MsÚ0†ïþ:Ú­$¯¤cè„f2m¦Ð\Ò Ð -Í´3Lÿ~mlpm¼k”0ßý°õ®”ø!”xŸLçÉÕÌd@bþ]€Bé1ô(A;1_‰§t*­Ì&ÎùôöËlöñú>›cÒyæMz=ýpó=Ïï®fþˆc´—]q—=0”kU߸ýy3O~'P|U€’Î@tÒé ¾m“§g%VÅÅ;Q\ -NüÝ/Ý -ȃTå]6â!ù\Ås,4HtV`X‰¹Ý}U`¶‹_Uï^²‰öéj]|Ø—aÙôåg¦]º®—<–‘.6»õ>ˆn±yq§`ÛbmðgÅÚŽÔJg‹ä[%µ÷•Ú¥Rêÿü‚qrÝäWûjÉ nÒ,šÈç ò@1xÐ¥Ïj Æ6¼Ð‰«×´q@‰ G!P‚6Š‡„Á°ípØø -Bs–DZ:Ôp¥½Ò@é`ñ)Í ˜’B€abSf äÐ0b.“¨H £u*E,òÅö¾¥×ÑKzˆÔ82¡«*2%8BqO«µr¡Ç‘ /E&$Ù±Á¨åVŽ°Ÿp3@H*³†·(Íy|I;³fÕ§ÌäðKÆ1U™Ó7çš9œMÏÓI(¸e%“4ýV£‘Á¹‹ wmaµ5R7Ê? •“>ñÞ¶òÚ‹åf]ý¼ßm³ÂŠ/÷†|ý§ú‹Å³£C硽“¨|ŒB/s€7!b#Œ:™{$£MGŸ1¸À«ªzˆò¢nS!¦‰©¡Ùr°$0Òw«#pd×uLŽ»m¿’I¦Æ‘ãø¹2Äõ]Çä8¾«ÝQ7¶º#âNð´Ó¼zEàσ\r¬1†mdÌî7»SMd ÛWͲ—´Fdž¨¸'}/ ¶[=9µ ÔÛ±™‘‡ž=4îÁ)p`žYD±éø–sÑ÷Ç$|¿“0H4F6æ á:‰"‚óuâ -endstream -endobj -2753 0 obj << -/Type /Page -/Contents 2754 0 R -/Resources 2752 0 R -/MediaBox [0 0 612 792] -/Parent 2739 0 R ->> endobj -2755 0 obj << -/D [2753 0 R /FitH 686.127] ->> endobj -2752 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2758 0 obj << -/Length 743 -/Filter /FlateDecode ->> -stream -xÚ­˜OsÚ0Åïþ:Ú­´úwlÚ¤m:õd2“æ…öPh¦aúõ+l“b0x—êDòÏo¥µôž•ø.”x_\×ÅÕmQF§¨¿ pJ:ç… N‚ö¢^ˆ§¼ªžë»«[oö†j«¤OCT;èÍtzsÿîãc51Ɣײš$Nù05ÛK ÕÝððó¦.~þTÒÍQZEº0‘£øº.žž•X¤ïDºYôâO3t-ÀF©¶÷^‰Ïŧ:¼•˜ä:ë¥F×Jü°ù¢À¬g?[o_ª‰åb™>0Ú²®–/?ªô]ú -ÊnØCL9[UPn–M-Ú-HñP3ÆpV³Çžh%-¦ÉG%u­è¹RÝì÷êC-Áànòc·>û´ÉnÌ@Fk_q0L4^‚5;¢Fvƒ0*x"¢RñTAf`Ê„q•n\¥û‡—¨Ð>žÅƒñuÇXÚ"‡Hé<â¸FŒuBцÑÞ´§Ú°€„’‘¤, x‘Ò‘‰$´£¥/5 Œn$µ7hpÛ>ã…¦o“²ýàT -׎sÝ1—ÐPš?·'ûª/Ù]2„v¾àq±†+– Ô3…Œ]hϪ判lP†$(T§ªvFFïÿÏ]·FU£‘z§,Y} ­eîmlõl¾Z¶ÿÞoÖ[=oÜ÷òw{ †³9a0/‰ÊåÈ ccß©yÁ[¿-ËìòB?+ …W±‚‚A/M@RPhC÷c¸Óô±»Í<€¢ú€† L$Œ"ÏíRšco5e“ÒÇÖ‘tXÎÚtg5…ë.âBŽãú˜›ù´Þç=U_Á%Ôº,ä4Y²ë -Y-f‹Ì›èiAϲêÎôÜ^ÐË›n©Ï‘c"!ë[& ‰D1ÓË ·„ì!7ç!Z`0¹ã(™ó-e™“€@HUk^ô lŽþ´UÍvN5gRˆƒI!UðJjÐ -endstream -endobj -2757 0 obj << -/Type /Page -/Contents 2758 0 R -/Resources 2756 0 R -/MediaBox [0 0 612 792] -/Parent 2739 0 R ->> endobj -2759 0 obj << -/D [2757 0 R /FitH 686.127] ->> endobj -2756 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2762 0 obj << -/Length 737 -/Filter /FlateDecode ->> -stream -xÚ­™KsÚ0…÷þZÚ ]½®´ ™ÐL¦Í´7›4 ´‹B3í Ó¿_?€0ñ½ 6<,>Ÿ«kYç€?„²q™]MЈ(£×^”ß(/ƒÂ/A£(çâ9K+‹bÈï¾N&Ÿ®Š‘1&/‹`òëñÇÛÇ⥼¿š„Çè Ñcu–†õ˜LmN|ø|[f¿3¨^*@IDÞ£DÅë*{~Qb^¼Õ¡ˆâo3t%ÀE©ê³,Åcö¥­§+ :îªrJm}+ænýMYMµeܼ#òù¢zB‡mYo?‹ê³ÅfÈSýÑt¹^4Eô‹u }´‡bm ïŠE»§ÖK´•Z«¤¡U;SJÏ/”àôn~7Cöp£í €ŒÎíxÐóZ‚±[^ìÅmÆà@õ+Ü'&LËfR¨î *z¤ =òÇàáfùsA°f\TÿÁ0 >x˜ -‘KžÚÀ›Z‚HǺ(]r¬²)d" u{’²LÓ ´F–Äa a,øæ&Jh6£3 ’ÒíÀe¯MoN³‡çX" ¤á4H͉$•Úó¢e @ÃÅ* ãâ¡õÚ2zM™DÐœš)kXÀá¨N;U팈—ÙêÖ¨jk¤Þ -{úl$´~yÏaÛÚQÛ|:[.Ú·ëUm®gí^üi¿âÔ»¡7(è€Ò«"(è¤ ][VvbtÁ’瘚æiéxÈ´{È©­óì;Õ©}“oæ<#Ç)–M !ij%íÀ`x.A%Ù:ºÄ46sßx¤MÂ&m>¹Ž¦á¦ -Ã}ä¤i¸N‡»ä4yØ’!å[*$N 4s>q¾ €åÞGø«Û#JÛ1±çÙR•Ú–RfXÞž´,#O#¤I]¾cïUÚÔEŠ F]œúr\¿gM¶–5edèÿO¡ªàŠ‰l¤ -endstream -endobj -2761 0 obj << -/Type /Page -/Contents 2762 0 R -/Resources 2760 0 R -/MediaBox [0 0 612 792] -/Parent 2764 0 R ->> endobj -2763 0 obj << -/D [2761 0 R /FitH 686.127] ->> endobj -2760 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2767 0 obj << -/Length 751 -/Filter /FlateDecode ->> -stream -xÚÅYMÓ0½çWø˜êõxüYØö°*"Z­´ì¡¥…-+*þ>nÒ”¦rÛ™`Ä)mêLqûh¡v_ošâGñ£'7Òº âƒ9ˆÏëâéY‰EüñNÄÉ‚¿Ú¡k6Hµ{%>ëðVšH×Y/µqÅw›O -p=ûÞq|ýRMt].–ñb‚-›ª6åË·*Þ‹· Ü {¨j,g« -ÊͲ]Kš³é‚9ælB}–³7ÒJZƒo”ÔuÝ‘ž+¥ºèÖ‡^‚Å>øw :„›ôƒ&2X»Ç -¢ã!…&x6(…+Ô#`!…k´4=n:»1§`IÁU— »2\E -g=ù2g |d¸˜<ËMaCÔlLBÆs/x&O -MËJ$²HRö‡"``¤DñÒ§‹Èž¢ÓZÉg”Ñvs_DDÅB$ÄQ*H•4#)§Â8Ì‹gä…FíY«&UóÀ„$äÆp IÉA"!’†“nIdmÉ,‡;HsvÎB8­[µC¼ÿ;­ÝÉVmPêžYþ:=ݦ“Ù³ùjÙ}½ß¬·Š{ÞjñåÏî«Ïº†¤{@Ò(—Ã= 52hKvõvYØ»‡¡sHÙ†=Ù ¶—XºmÐÛ S¶!kõk!»˜¹¸ês§’&J™£8Zb–àÎJ¾ö8¯eFK£ ehõŽŒGÒF§d(â8ztãPG‡*!³~#õxâèDÅßû èHæÆyb« eVÛƒžß<8DÎÛ<8@†<]%—@†<ýŸiÈÛú Y[w{\J”Ý\ÈÙ»ÛÁRÈZö–ÈÛ© ùà– vÒ*6ƒ‰èElN‘þë!®à7ù÷r› -endstream -endobj -2766 0 obj << -/Type /Page -/Contents 2767 0 R -/Resources 2765 0 R -/MediaBox [0 0 612 792] -/Parent 2764 0 R ->> endobj -2768 0 obj << -/D [2766 0 R /FitH 686.127] ->> endobj -2765 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2771 0 obj << -/Length 744 -/Filter /FlateDecode ->> -stream -xÚµ˜MsÓ0†ïþ:Ú‡¨ÚÕÇJdžièt ÓÐKé¡! ˜Éð÷±ã$äíw8%¨_­díûʨoʨ·ÅxZ\LȪ¤SÀ ¦_˜ cH*Ä IMçê¡k§«Q,¯?M&ï/o«‘µ¶œVÑ–—ãwWwÕãôæb8£¦@õS6 ÛŒ)ÌöÁ§ŸWÓâgõW£@M*Ò„I}YFÍëoTýS"õ{3t¥À'mš§,Õ]ñ±Ï¡ @Ðœ -ž4ºÐŠ¹^6`WO?Úi¼y®FËù¢þpÉ7Óråó÷ -©\l‡Ü73}Z®›It‹õõ“’;ëR|Ul­í@-M®.¾3clÕÎŒ1çõK<îꋶr„ítò~ÏÒ‚ ]L‡¬Û1©¹Ó…„~à¤:¡™?§¨fú5§~r8'3ª8H3ôkFBF! #Cï~‹âýÆÝtqdF™l ÖË÷×7ÈêÛt"`?Ï -xŒóËHpœ­^°ÚÍBs˜I°Ôf½lâŒ}nHe¿DàKdJ†¿2œ -&¼úó1e@NïjíqÖ_E+B2€ rNr¬3ð^jiäLƒ É º—½,«Ñ?ï­•Eg5î¤Ý°ZG}äÁ]빟fËEûçízUÕ–|¶1æ‹_í¿x÷j„èŒIsD k ND%Ðb›š(9Qb/6C”Àdµ%†÷8N϶tÃܹl+™»£„ âAn›À´×½aBÞÌ,?,9LY1FÒ‘2ùŸ×'„ƒœ¥¿ýלÙÉ€a¹#39Å”˜Ö=–uÛ‚2²'çÍídÆÉÔxñ: Ó yƒð_t¦{¨óä½ÃqfÖÛLÃÐ÷úìçþì Yƒ30ƒs缆ÒÝ=§q/^ºím†t±s·9Ó…ïLõ þ.{S -endstream -endobj -2770 0 obj << -/Type /Page -/Contents 2771 0 R -/Resources 2769 0 R -/MediaBox [0 0 612 792] -/Parent 2764 0 R ->> endobj -2772 0 obj << -/D [2770 0 R /FitH 686.127] ->> endobj -2769 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2775 0 obj << -/Length 747 -/Filter /FlateDecode ->> -stream -xÚ­˜OsÚ0Åïþ:Ú­V¬cÓ&msȤSO&3iPh…fÚ¦_¿áÄ&ï‚r!!âç§ÕJz%~ -%>—Mqq]‹ ƒÓN4?8%óÂÕN‚ö¢™‹Ç¼©žš›‹k¡Ú*é㕽»»»ºýðù¡š by)«Iä”÷w¸ùh¡vܽjŠ?Ä_•€øp#­ "~0’ƒø¾*Ÿ”˜ÇÞˆø°àÅ¿íЕ¤Ú<{)¾_æá­4Q®³^jã’ÄOëo -p5ý4¾®&º.ç‹øb‚-›ª6åó¯*¾ß‚r7쾪±œ.+(׋í\†5[.˜}Í&ÔG5{Ó­¤5±øFI]×IôLm~Rý{3D/Áb[~ívKÔNÚA¬íaœXDÐp€C<£% iyÃúvcöp0^ÁvI€HºWàxé -áPÛôkXÓk¸%&,¡5SjšNÃx%ì)• ´f´A—<¾Ü ’Ç©†O%´n`/Û¸Rä*%èô<„†µ¬å¦Ö¼²<–5mJ! ‡HØŸŠ3iÒñ œ…ÒVgu˜à¸L -´fCÇ·£f¬P.'ÏöbÍXrÒ¾á\s¤…0e<ìYµC¼?Ïg'˪ JÝ*‹¦_B2Ï=Ëm’ŞΖ‹ôçízµqÛ³­_üM±îhbLh@år$´FmÉÉA£ÞL ÛäÐO C‘áEl†È€ÆK¬ÍÛÈÕ=Þ šâž5ÉŸ|Ü;í5%|¼ÕG":rÜë]£˜å¸ë…¬'2É&h{¶M8ã%ÖOKG`Y÷ɶ#óöÍláH÷/*‘²ÜÈ#BÞHœ|açúPJ0l©[nÞ0ÜgJÃè¼qø• ™¾ÍpCèÌßgtЙ#÷ òf‡7sð•?Pz9m@"žÝÏA”!RR6±2Dëasf?˜!â þN q£ -endstream -endobj -2774 0 obj << -/Type /Page -/Contents 2775 0 R -/Resources 2773 0 R -/MediaBox [0 0 612 792] -/Parent 2764 0 R ->> endobj -2776 0 obj << -/D [2774 0 R /FitH 686.127] ->> endobj -2773 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2779 0 obj << -/Length 801 -/Filter /FlateDecode ->> -stream -xÚ­—ÁNA †ïûsÜbÆžÏÌ*R„ZÔŠ” å%í¡¤¨•P_¿»YHÙd7co+EJH†/¿ý{ÛšoÆš·Õɲ:ZDg2d&6˯-Câl81 E³¼7×õ x˜ÍcLõÙ§ÅâýñÅl—³äêã“w§—³›åùÑ"½â8J96ß²!` í™Ê>ñîóé²úYaóÒl4d †9B¤l¾¬«ëkî›Ï…˜£ù½9º6È›—æ²úØÅóZRnH!yî´œ=}¶èÖ·?º(Þ<Îæ”êûUóDdÛ¨|ýø}Ö¼·ÚñõUûÖíÃÓjðրÀÙïjõ9Ôýk± XoØ[ ”:µwÖÚýô¢÷Àä_Ò›»=ÚüåÌr[à\ö´uËòžíðpX`ŸHQG,kt:(ÐÈ:¢ ®Lä-‹6[¹Í2W²<âÖA%:•D´å IG,»BAµ pä6Ëê -QbtR9t ¤pPa3Šlq¨Ó(Ê$…×ËÁ{eð›GY+«€"nœÂ•u$šˆ”,êC”t¨0Á=Ù¥à‰dɯ”iYÿÊÓØrÒ’L¯* ‰oQ囤ƒŽ(¸~|˜%vcü§Á¢Ï†¼z‘võÁvSwo÷ÝÐ}{÷°êþ¼xZ·ó÷Ýf2_ýêþ%¤ƒ+Äà*A)Û$Z%BÇ#¢œ Šw ŸÃß]">ï®Ý%ÜÈ.±+Ø%Äöjƒ²ƒx—ì 0Ç™îÐî61Üyû@ÔGîºÒLØÙ–%ŽÍþ#±¨ -±p.ã/;ŽXy¸8R4}No Är:¥F0ÇZý8%&è©(»Š©Lær¹>YéW¤˜ì¤dHŠ6O!—S&¤%îMŒ’ŽJ8¡.$}pl´?,YÀe5·lœW'©]ÝEu§rJvÒ„]ÆYNÒ ))’(úmv Ä權îºÓÜÈѵïLÔ8#KeÔE. úñ9V²F‡înŒýŸkD\#šþ 1xš -endstream -endobj -2778 0 obj << -/Type /Page -/Contents 2779 0 R -/Resources 2777 0 R -/MediaBox [0 0 612 792] -/Parent 2764 0 R ->> endobj -2780 0 obj << -/D [2778 0 R /FitH 686.127] ->> endobj -2777 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2783 0 obj << -/Length 758 -/Filter /FlateDecode ->> -stream -xÚµ˜OoÓ@Åïþ{tÙî›ý¤Ð=TEDRé¡¥ H_ŸÐ&qíczI“¬~3;ë¼£¾)£ÞVÇ‹êè4©¬s  _‚Ñ!DRР¨wêªF ³ëÅÙÑi´Ï–’7:–%¦]ôêââäüÍûO³¹µ¶>Ö³yáÔ—v}ie67Ü=YT?+”B¹¹Ó>dU.,䬾¬ª«k£îÊ—gªÜ,Gõ»YºRðY›õ½ïÕÇêCG1i“’ ->jr¡•øîñ³]Ýüh5¾~˜Í)ÕwËòB–êÅ,Ùúáû¬|¶Ü,¹\tsÿ¸l‚èë¡Cvûb]N½b£ÛQk´w%ëÎh*ªµ·¦üµy߉̑†uÛ´ÛÍÎ<ÇÍ·kæ€ÎÞ?ñдQÃÛ-|'q³èˆaN¦ •ÖUƒ2£D&†™‡%†-2$!3ÂÍüpÑ]‰{ñZ¾>°˜$Àဠ`0Ž†yá‰Ç!&‘Bpr9§lH¢œºq‰œ A""çì–Ñ 9'²È*ãqëE;ÔR99ð#Ô‚÷è0#ÑŒZÈòkªŒ¡šÆ©ãØbšsÜF¢‡ aLáñÎ_'š‘jDq C­xÿB­É(³ð²¯¥`uŽñßLxkkÉYM[m¥#ÐhÝõŽwkÿíê›Ûûeûöüqµ¶â·I_þj/ ¦·èl+¬ƒv&LÑVXït&ÿÛŠ¿b'h+¬‹Ú&Çk+šÊ Ž™£=¥mè9`Ä1×úš_ãá˜a¥L Cûž/@‡£ïë~è°µ`%4Êt2ˆNDd“ÎŽ“Œ8¬¢íÆ‹•)vtaÊ(M8¹Ö^?GœŸë>2#¿q™‘ 2ãÈ Íy ™S¿D’çÀ™qÖ0J3£;˜Äç`LëlwИ´÷Ù '™7ín¦ žë$aä%>–=zštRÄéÈ­`RÄ™Á@4'št²îd±ÛÖNÐUl]í”]:»ŠÁÊhz— -endstream -endobj -2782 0 obj << -/Type /Page -/Contents 2783 0 R -/Resources 2781 0 R -/MediaBox [0 0 612 792] -/Parent 2764 0 R ->> endobj -2784 0 obj << -/D [2782 0 R /FitH 686.127] ->> endobj -2781 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2787 0 obj << -/Length 742 -/Filter /FlateDecode ->> -stream -xÚµ˜ÁrÓ0†ï~ -ãCT­$k¥cÃ4t:Щé¥ôÀ„Ìtx}ìȦNãÖ»Bœ’ØÊç_»+é_+ñM(ñ¶XÔÅÙ28íDýU€rÒ» œw4Šz#îf ie9Gô³ËOËåûóërnŒ™Õ¥7³óÅ»‹›ò¾¾:[úÇh/Ñaó”Û1…êüüó¢.~Ð|U€’ˆ œC‰:ˆ/ûâî^‰MsóJ4·Šß‡¡{Uª}ÊNÜã|†2@[©}3 -¥¶.Š¹|ü¬ÀìW?â4Þ<”síg›mó¡ŽÓzø^6׶ÝÛöÒj÷¸=Lb\lÒû\¬ þU±h‡jÁI´Z«Õ>ª]+u^°Z‚±}xCq›÷cæ2TUOƒiœáà`TŸA •îzœØ :%‰L$L# “qÔÓqìJr „,+zZÚN-HÉŠ¥‡ð€œÎ -h’RŽýSÉHÊÌ«i¦;bR2T±2ÔiU”Xn"yºè]’dB„Á%I¦”X•Bžæà×D[„jÓ ŠA4kH"“–OD2ˆihÊÂVIIJÝ…Õ„ºSl.Áxö¦„ _+áèEžXºðŒ2 y"Nò°ñcÊ”âT/›]íŒ ˆÿäÌ;¯«­‘ºvûÁHˆ–ûȤÛÖ”ÛÙj½ÛÆŸ×ûÖŸ¯Î}û+þÅéW{ŒÑ^C{”Nù½†QдLî?öÅfè5t0²òŽÒkŒÕÕ%çl] ¯E¦ø/Ãâ‘Žn–Ÿ&‹¡uC&ÍdX¦RšÁ0l*dí#4·ûî ™:…ì c[o7Î|öÉyê'2äöÈCtf“<@ªÃ¤¢óØÂÓú mj>E5moÃ4t&k?ŠÎlíŸÐ©uwchÈkÆèÜÝû¹}è¼/‰¯Y%A9Ÿ8ï‰+Âó46xËjKˆmθ/ÎЖô¶8g[bFÛ’fcQŒ’ -endstream -endobj -2786 0 obj << -/Type /Page -/Contents 2787 0 R -/Resources 2785 0 R -/MediaBox [0 0 612 792] -/Parent 2789 0 R ->> endobj -2788 0 obj << -/D [2786 0 R /FitH 686.127] ->> endobj -2785 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2792 0 obj << -/Length 741 -/Filter /FlateDecode ->> -stream -xÚŘOsÓ0Åïþ:Ú‡¨ZiõïH¡zè„ÁÓa¦ôÀ„Ìdøú(qâÄŽwS œÒ¦òÏO»ªôž”ø&”x[\×ÅÕmQF§¨¿ -pJ:ç… N‚ö¢ž‰Ç|¨žê»«[o†j«¤OCT3èÕx|sÿæý§jdŒ)¯e5JœòalÖjûÂãÏ›ºøY@úQ H/Gi]éÁDŽâ˲x|Rb–þx'ÒË¢¿7C—l”jýî…øX|蘇·“\g½Ôè‰ïVŸ˜åäG£ñõs5Ò¡œÍÓF[ÖUÀòù{•¾K_A¹öPSN”«ùf.Ýš-HñX3ÆpV³Ç–h%-¦â£’:„FôT)ÕT¿5?Ô Ñ¢vcF2Z»ÇAÏx Öìx:t·ƒN€0ÃÂð„#cÂyŠ.¥#0,Ð ‘%‘ÒdË#k4À!¡ŒžÞç5°yTHÇIŠœ~ï±Ã\Ç-À†Ké¾â—¶ - ^B¦´NëËÈÚ5\D†ÁþÙ Ö¡Ä-—õL(¡¬<$A#gvBãÝ_ aʆ£v˜Æ&}ÇIi˜H™¬¹HB»-¯˜„#Jqú ”YIHÇD–eì÷®Ú½™ßn¬«F#õN[2ÿݲÞØXíÉt1o~½_-×®{ºñãó_Í#Ï&‡Îa$*—#A«¥Qñ²áËy;=tE‡½Ø ÑÁ —&àitèß5eµé³Æ«jŠì BV¸frlm$Ë©y“ß‚‡«ª Uu'` H>g'ú%á˜q—2Û×Cr^ûº'g1‚ÇTB(žíxMPjàØ5È{˜S{…¬{Š¬÷ÿäš‚}Ísx©õšç¿Ý)0sjf;MûçÖÌ”—õ¾Œ–ÄLîàÄKbÙ´"›^z|ÈœIudE侌ó’lGØw ß¼fÈ;ïš3;ØÎìfð"_q -endstream -endobj -2791 0 obj << -/Type /Page -/Contents 2792 0 R -/Resources 2790 0 R -/MediaBox [0 0 612 792] -/Parent 2789 0 R ->> endobj -2793 0 obj << -/D [2791 0 R /FitH 686.127] ->> endobj -2790 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2796 0 obj << -/Length 732 -/Filter /FlateDecode ->> -stream -xÚ½˜OsÚ0Åïþ:ÚíJ^IǤšÉ´™vâæ’æ…öPh¦aúõk°NX¹Ûrñó[ý}OF}SF½Í®ªìbì­Š:’ª¾*0¤EE4 WÕL=æWÚébä}Èo>Çï/µ6¯Š`óË«w×÷ÅSu{1ŽÅ =ùú)ø¸n“™öÁÇï×Uö3ƒú£Q Œö‘×£ú²ÌŸŒšÕ?Þªú§èÕïMÓ¥‚2j³~ÊBÝg›zº2A“wŠJ¯ÑQ#æfõÙ€]N~4e¼y.FòÙ¼~s±\—åòçïú|Þ6yXW:Y¬æ›"úÅ–õ“¢;ëbxUl­­£H{Ww¾3ChÔN1§ý 5X·íßØ´8 ¶mF:–å=8ë5”¸.ÓËkñ€¡ôC Æý -J¶iD†Æò<‘öD0ð%rÅðX£lÓ€pž‰ ¤KEr*/ÏCéZcÓMʘïÉŒ5‘¡‡‘+†YËŸ†‘áìÔ !SÝ adF7ƒ@f`Ëd,ê’ Œ9fùÛ6ð±M™¶¼Õ‹> É º$"cdR¶Ö„OêFÖ¾í'°ª¶&M$g?¥DäùM _6²HVGïÿÊu·>Õ¸•öðÁjhìôwážLóæëÝjYÔ~|ºqåó_Í_ˆ^ͽ9ƒ×d‚DŽÀt ðsÄN¬@ŽÀhuè4GˆZ¸õ>eÚ—èaÕËžU{0È:¯XÖxíÀÃñ]t -–µ]{0ËӀÙÆ;*hba³%˺˜– -’¡¤a‚¨“i&—È|ˆ”=„y‹“†3C1 "îhÝ {¥²WJ`d¯”xþ7-NIÜ®tc„H.éúsÃ3Ì”¿[—vòá7@ÜÈh…ƒ ç6ò F‡±ÿ—"úBh¿ˆ[+#|oŒ¨+ø50vr -endstream -endobj -2795 0 obj << -/Type /Page -/Contents 2796 0 R -/Resources 2794 0 R -/MediaBox [0 0 612 792] -/Parent 2789 0 R ->> endobj -2797 0 obj << -/D [2795 0 R /FitH 686.127] ->> endobj -2794 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2800 0 obj << -/Length 733 -/Filter /FlateDecode ->> -stream -xÚµ˜Mo1†ïû+|Ü=Äñ·Z ‡*ˆ¨B*=$$p ¡)âïãÍnJ>¶ÝcNiﳯÇϼñM€x[]Ϊ‹ë ¢ŒN91û*ÐtÎ œDåÅl)îk Ð<Ìn.®½>ª,HŸ†@7èÕtzuûæý§f¢µ®/e3IœúnªÛG+è_xúy5«~V˜þéåFZEz0‘£ø²©î@,Ó7"½,zñ{7t#ÐF í»×âcõa`>HA8ë¥2®“ønûPoæ?:¯›‰ -õr•>”Võ¬ º~üÞ¤ïVý»ö«ùz»ÚMbX¬Eé¢9kbxQ¬7GjAZ“¢n@ª¤z§vЇýhbÚK´zuû•9ÄMöƒ&ˆ2ZûÄC -ÑòˆÃL£$j³g†Ad?f‰ã:Qsu"eú3°87wBMj z1ðõ¶d'û,2aéä‘ šc™”*<®YvÜùÞ@JŠ˜,Í$´ËDÖÐf Ç3Ð3Ï ÂÂñ„ÔŒ€ãÇ.0¦LYFÚRªB¤Ë#U8ú(»\ú‚ì¶áx ÇR‚¨A¤ÕUd)$…Ñ1‘„½myó¦¬ÆjS4"G#¨xÀñCÑ<ß×*§eôþßšð®­UFKµW–Ä®»>êÇMÛ›z¾X¯ºo·›¶_ìšôÕ¯î^´ƒ¶B”\ [¡­‘QÙÿh+žÄ°Úx©ƒ¡Û -E©Dê¼´•<¥H†Â°xX2SVœ<…"uü  -‘l£a•J RŸJt9>ŒEÙ2¥Æ<2ñ|îŒLq9S}H.Ú~€)a¶Y’)aÎHJw¡ D‚Õ¿ü“Ü/æ„IöòÐXö.çE¯z4¹z;^@,z÷Ö3Ë:_â%Hdz7(kµ€´W‘·¡°i=²˜XØ•µýyñù¦·€çØ÷¼%=GôiÐT€a -endstream -endobj -2799 0 obj << -/Type /Page -/Contents 2800 0 R -/Resources 2798 0 R -/MediaBox [0 0 612 792] -/Parent 2789 0 R ->> endobj -2801 0 obj << -/D [2799 0 R /FitH 686.127] ->> endobj -2798 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2804 0 obj << -/Length 605 -/Filter /FlateDecode ->> -stream -xÚí™ÁnÛ0 †ï~ -íCT‘’EéØ ÍŠb+6Ôë¥ë!Y¼–¬Ø€`¯?9Žƒ$ukJË€|rb3ŸR¢ÀQâ›Pâm6­²‹i᥷hEõU€²ÒY/¬³DµùTYLˆ\~ýi6{y[L´ÖyU8_Nß]ÝÕÍÅÌp4:I–Â[¶pÐÄdj÷âÓëU•ýÌ |T€’D ¬%IèÅ—uöð¨Ä2<¼á‘'ñ{ºPz©š·¬Ä]ö±ÍçP ‘èB:%I4¶s½ù¬@¯ç?Ú4Þ<tù²Ôئõô½÷ê]È}sk¾ÚÔÛ$úÅ– ­7§bw¯Š%s¨¬$ÔT»VíB)õ¼¾ IB‰]}Q·!G¸I4¾,÷<èá” MÇëÇíbNpЫï˜g¢xÃú †7ŒC>Ž“­ÆÙ=Xëkøë»Eò¨6žÚ€‡É@id&§i†fŸFfhvÃdûŒ œ:ëÍœ£˜–؃9e.“$sÊœÐ$ýŠKaJÁ©„V Û¢!3:RJÀh@TihNAU3öb4š-c±Û\ìnãdy3ˆq‡%ë,ÃH$ãDˆÛPœ=Šqg90¦2bÅ9lLƒ2äù—‡^´Zz¢¿šÐw3/-±ÓuÿAKhGï£aÝ4ùÉç‹UÝ~½Ý¬›9}±àë_íOH½ê5z=:’V¹sx­ X'û=Ç^ì<z-KgGÏ1zŽÑsŒžcô£ç=Çè9FÏ1zŽÿËstCï> endobj -2805 0 obj << -/D [2803 0 R /FitH 686.127] ->> endobj -2802 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2808 0 obj << -/Length 754 -/Filter /FlateDecode ->> -stream -xÚµYMsÓ0½ûWèh¢jõ­#…è¡O‡™ÒCB:0“áï£Xv‰'Þ5âäÄ‘ŸÞ®VÚ÷Á¾1ÁÞ×uquëYàÁJËê¯ ¬àÖ:f½å «Wì±/«§úîêÖ©ƒ¡Òî⑽šÏoîß¼ÿTÍ”Rå5¯f§|˜«ý£…h'<¾ÞÔÅÏâGÁ N®¹±Å#r`_¶Åã“`«øã‹“Ç~7C· Làb?÷†},> Äá ב®5ŽKmÅw»ÏÔvñ#q|ý\ͤ/WëxÑÁ”uåuùü½Š÷â-(Ûa•WåbSA¹[7± s6ÀmÐÇœuð9;Ý#-¸Ñ1ùZpé}"½B¤ì÷âSŽƒQ]ò¡Òƒ›uƒf<ó‚xZrPºÃ ƒpí˜#8@ð“šÀˆQ†ŽÄ`œ¢¥PO¡'Ø–å2fpx‘ûˆrƒˆº1ø &’«¥rÅ2–bcD@˜‚Œª~9ŽlE “8W¯™°~ˆ{:Ýq®šÌ³3™*¦Æ,­ƃRðˆŠ"-&‘’ˆÈ!¥æÕ=aUpY4$Žˆ4*ACDp¤œwÈDj"$‚¥£A¢9)Bkn Ç·¡'lCÜò(R™cÖ[W¯Ò*œû7ÅÄ«ÔŠËŽY”ÿ’Œî‰oÄöb¹Y§¯÷»í^w/E¾þ•qò¢wôJ×ÂæðÊh¤A{©ä>,Õyˆ¾2/d3˜¥W^Ÿš‡óûVb@yb0mIäyæ6wáT‘¿$OíC^¿„Q¹ß‘pz†Ò‘-#²žP dÞcÕHâCd"¯KDY O“ È®AQ ÿA&`¶ ¦uàdY²öØLöžàâjÞO¡ ˜SØNÈ1.$[Ù×ÿ…Înì¡3;ûè¼Ö¾†¼/’pÅ戒:ëKH@mcXҌޙF=ýÅ!༄=/f3x‰NËæôÃÿCÄþy8u -endstream -endobj -2807 0 obj << -/Type /Page -/Contents 2808 0 R -/Resources 2806 0 R -/MediaBox [0 0 612 792] -/Parent 2789 0 R ->> endobj -2809 0 obj << -/D [2807 0 R /FitH 686.127] ->> endobj -2806 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2812 0 obj << -/Length 743 -/Filter /FlateDecode ->> -stream -xÚµ˜MsÚ0†ïþ:ÂE»’VÒ1tB3™6ÓNH.i¡Ð -Í´3Lÿ~m ‰ƒw]• ”Çûeé}mÔweÔûb<-.&Áª¤!©é7†t¤¤(’ j:Wƒ±vz8 -!®ï'“—·Ã‘µv0F;¸¸º>Mo.&±Á±u P^eC€h«5…Ù^øðýjZü* üh(£CEtÀ¤¾®ŠÇ'£æå7ªü)õg³t¥À'mª«,Õ]ñ¹Î§ ÓËt|Ðè¨æzýÅ€]=ÿ¬Óx÷2aÌåZ¬Ózù1,¿[l—Õ`•B/4Lb0*Ý#óDóÀ¸‘­hX‡¾¥ÍiÒi%‹du -áŸd÷VÈ¢³w±=|²j=½§À]¥¸Ýày¶\ÔÞ®W•øžmdùâwý/Á5­FcÐdb#a ”~ˆþ£‘x 6ƒ‘ÀdµÔb$ò*LÖ)!ò%,©àeÄÌ·˜©›¬:¸ffqdô†ÌìŸ8§ (È« O6¦·,<Ùù)â%>#ÿIâó0‰LYVýÏ‘¿ â±v ’9(ÖÖcA Í£ýé -¼Í\^àhökë)2‹Ý9³Ö}%CfGø†Üæ­‰ÎìÞèÜö­‰ÎãߎЙÅI«)~hÕœŠ¼­»Næ³ÎvM›ÁRì$mNKá[-E™Á_¤Ÿxè -endstream -endobj -2811 0 obj << -/Type /Page -/Contents 2812 0 R -/Resources 2810 0 R -/MediaBox [0 0 612 792] -/Parent 2814 0 R ->> endobj -2813 0 obj << -/D [2811 0 R /FitH 686.127] ->> endobj -2810 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2817 0 obj << -/Length 744 -/Filter /FlateDecode ->> -stream -xÚµ˜KsÓ0…÷þZÚ‹¨÷ê­%…袆L‡™ÒEB :0“áï#Ûqã$n|%”U^ò§£«kåûÁ€½/®gÅÕ­cž{# ›}gh€c™q†£°l¶d%:U=Íî®n­ì ¸ C ôf:½¹÷ñK5‘R–×¼šNù0•õ¥ì&<~½™¿ oa˜\qm< ²gß6Åã°eøñŽ…ɼe›¡†Ús¨ç^³ÏŧuXÇÁ9f´åB™Vâ‡íW@¹™ÿj5¾}®&•ËUxR”³ÊÉòùg¾[í†<Ô_Í×ÛU³ˆa±¹ñêX¬òî¬X«Ô×*T]Au£vÐVý`]Jp”ª+ºßíK6éÆL¹×º£á OZŽZv<á»A'@(b…@)!Fdjc…Ž#Ý8Òô‘8¾=6nåHØq‰$¨ÔQHÐÓHj¡nR*q\#Šq¢ÙÇ»GÒ’r#B)%2¢„õŠIû¥k°4Á.bÛ{dBCÙ$Í”[ÒÈÍ>…Œ„?:×¾˜P 4);H+‡N*éZ$¢ §-¦¡ õPñäñ“MǶ¡±=1®RE©ça °5ðºÃFroíÿÙñÖà -%¹è„…lÀ±õÙÎ\ÕN\•óÅzÕ~¼ßnjS¾hìúêO{‰5gƒÅ`À -¹“#`H­¸ú‚ãEl†€!•åÒ©“€9û †Ûô@P³¯u® ˜C1@$ Ïy¹A$Ž#1‰9rßÞlo~ò¹œ×k^Àl’üµŠ‰yÃsƒlónžÀkNÁ˜ÙVíÁ”žÒIÅÈo#ð^°˜;Ót\Úm A|Ôiª1wë¡1³-~ASw\ë¡1sÙ£)ÍçÓTSnÄã.³›oƒXÖR-”rÚG÷fzgŽ¨„sÞÅV•Ô”˜Ôßy »à !¤3Á9Cˆ !aÿyb…Ž -endstream -endobj -2816 0 obj << -/Type /Page -/Contents 2817 0 R -/Resources 2815 0 R -/MediaBox [0 0 612 792] -/Parent 2814 0 R ->> endobj -2818 0 obj << -/D [2816 0 R /FitH 686.127] ->> endobj -2815 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2821 0 obj << -/Length 731 -/Filter /FlateDecode ->> -stream -xÚµ˜ËnÛ0E÷ú -.¥…Î𽌋¸AÐ-¢f“fa×nµ´@Ðß/-ɆËÑaW~ÑG—Ôpt/ûÁ{_Ìëâba%óÜ4¬þÎ@îŒgÆhY½fåœ+^ͬuåõ—Åâãåm5“R–uådy9ÿpuW=Ö7 ×ãHtÜ®ÒÀéý˜Bt~ùzU¿ o ¸µÀŒ±Ü¢gßvÅã`ëðã ?yËþ6Cw ´çb•-»+>·óéËT]˜Ž¶•iÅ\? wË_í4Þ=U3tåz^Pb;­§ŸUønÓ ¹ßµÜ>ošIŒ‹ÕÀW/Å*ï^kU_-nUP«DPíZµ+!N—r갼݈lv3à^ë ¦qƒ#ðdV‘ÄÀ$PuÆÁÒrÐx\Ðq½Ý –lFÈ0M–ÓäÍ@ÐlÒÈÍ:…L) “r²%\"&Évš|ZgVc¸Îh“Öe‡& M¨; ‰èiÕRÄ£ åŒÑTÊöƒè–M—#ÔE‚àM¨ HCu"š Z%¡){\Òm¤ìA°iª)k-ÑÕ>M¸‡2KÀFË%0#kbú‚ô§¥õDÜ}‚8Þ4£‘Ü[û&‡ßyfT’ãAÖý'É¡µî³¯öæ^•ËÕvÓ~¼}Þí}þªI›?í_¬{5«Œft–árd) D/ó3ËQl†Ì‚^rí %³¤W™ VÙ¶@r "SÅ£e -ŒÙ¥D+a::#Cñ*R)IkLÃï¨Õ2{9såñ—×± òÄ(3Σä,1j„ ™íò×.÷Ñ™cÔ'FÖ­©¹Õ´ÞfÓЙíò×.÷ÐùPj€Î{*ÕGg>– óžKÑD¤Þ¼‘„všŠ1ýž¶#\œFBƒW1 žÀƒó¾8C,9Ø✱ÄÆ’0ƒ‹š8 -endstream -endobj -2820 0 obj << -/Type /Page -/Contents 2821 0 R -/Resources 2819 0 R -/MediaBox [0 0 612 792] -/Parent 2814 0 R ->> endobj -2822 0 obj << -/D [2820 0 R /FitH 686.127] ->> endobj -2819 0 obj << -/Font << /F73 507 0 R /F8 458 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2825 0 obj << -/Length 112 -/Filter /FlateDecode ->> -stream -xÚ3PHW0Ppçr -áÒw³P°Ô³432SIS043Ð333W0³0Ó342WIQˆÖ0´0ÓŒ ñÒw37FRjdj gTbQäàêçâ¡©kll¬á¤§© 4G#,À¤•Ëj!:íÂ@lÊ -endstream -endobj -2824 0 obj << -/Type /Page -/Contents 2825 0 R -/Resources 2823 0 R -/MediaBox [0 0 612 792] -/Parent 2814 0 R ->> endobj -2826 0 obj << -/D [2824 0 R /FitH 686.127] ->> endobj -2823 0 obj << -/Font << /F8 458 0 R /F73 507 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2833 0 obj << -/Length 1213 -/Filter /FlateDecode ->> -stream -xÚVÛŽÛ6}÷Wè­41¤$ê‚>mnmÚA±F Û­DÛìJ¢JÉ›æï;álm×IŠÖù3‡g†Ñ!ÑO~_í6/ßee”žç‰ŠvûHŠœ—y©2åYª6úÄnÆq§’é¡5ÿ€T(özûçî -ÎxQƒEg/eFa¯mgÇ£ȵŒ*^åI•ä¥û8`פ`f¢ßC M ž"zˆé×MôÉ;|4ã‘[ÂÞmË”ÙÓÐÖ³¡ãÎ%}'djÝLþ³¥ßÑÙY7A©§IÛ¤d³©»à§=û”Jf÷¤{O>Ú‰4=*N]ŒçbeRòJ…ÊfÓëÖÔàX*¶w¶G)gu€(îêêY“õh§¹>èx®Ìpøqg2aÐ r(îÖž\ü=V ›A ýt§aßi&–‹guO2ÌC†ˆEš²‡-ž£GZéG,J»/øcjØÅ‘£èwtæq«~x7è‚Ó}gšcƒû…¡Wyh[•ë±nÌLHÀ=^ªìg‹|úìY¸ôbÍWˆ\‘V@‚lE¯£Š ŒÙz0Q&<@€î…³ûK7ˆõLƒÉéI»GOæ« IÝR1gGßÉ´ômP 6éE±8Òy œaùìd¡œAh´›ÍþË÷üÛ‰¯µf=4úëL_àÞW2?§§dÁ&»÷7âñ¯&†æ@‹x¡—P{„n¡Ó(õa†1Ê„ý» -…#ˇù…«úë¼~uû&î̃gô à›&(..`’쎾A±½)C=‘Û`gÒÃ¥ÂÙMXÍGãZÇ@^Üi¾ú}–\a’’Æ@¦W™.ÌÃBt‡KÑŒb÷4N1ÿ€Ï™ ûnÒpá½Ç'BÉÇ.L–,L´´ÍÛ݆f¨<¿ÄI‘r%Ò¨é7oOU.Ée-{ã/ß÷²ŒÞØÍïð·ØâeÛxµ¯ÿX¿Ï‰Hxž%QªàYRPï„©`? è(R•*…×~ôCàÒXþÙ/ŠÕ¾¾4`;AÞ%J>ÿ6©B->‰Y ÿ -:m53`µ<ç™ZñBTOï—扟âŠÝtâìÒýþeðóóÚѬjƒ?ô>L­,YfnXüáÏu÷f -ŠsZWºø?¯[\HAC¢’]è`™:{°=´¨›]Ýê¾vÁp'”¸‚n"s „¼À›ÏáÍábÏ.ÀŸ€œ¦|¾ñ¨ÇI’ðª’×çÐÿxËÙקÍ€ô2šS¿êÈŒ-fо£Éð[@*«Š´¤Ø’«DF @bú„}ŽDÆá9‚¢.N;Ÿžâ*U¨—Ë÷ïÛ•~¥þÈŸÖOsÜRf"yɲxâ-þ/y¾ðà -endstream -endobj -2832 0 obj << -/Type /Page -/Contents 2833 0 R -/Resources 2831 0 R -/MediaBox [0 0 612 792] -/Parent 2814 0 R -/Annots [ 2827 0 R 2828 0 R 2830 0 R ] ->> endobj -2829 0 obj << -/Type /XObject -/Subtype /Form -/FormType 1 -/PTEX.FileName (./xifish.pdf) -/PTEX.PageNumber 1 -/PTEX.InfoDict 2835 0 R -/BBox [0 0 199 199] -/Resources << -/ProcSet [ /PDF ] -/ExtGState << -/R7 2836 0 R ->>>> -/Length 2837 0 R -/Filter /FlateDecode ->> -stream -xœÝV»rT1 íïW¸¦X,Ù–ä/ &û ;Š¤ ü>:’ï ›…ŠL2ìY­ÇzÙ_K=Q©ø·>/Ûû;-÷߶zbfÓꬵ²¡IÊÓý6'šFåq‹|H©îß?¿s7cˆ¸‘[OeF<^8L›+[2fnÒ*'…ÞQXq¶ÞÀºº¢t‡»+j·B4iÌIÕÅc0Ou\;p¯cW§1{qÞ¡¯C -‘nSÊì’1G/ß·Èg¹ûðfÏ[È´U”ÃóR$ÝKc"¨ñŽ¨–a03žE‚‡3ÿC‹B軇&~rêyñ3’Õ8K÷³³Wß±x/÷8£±=c釾!WµÎ8»ö05‡#¼ y“#2Û.Õ®y^.Lƒ‰Z+2Ýdù•­×½O—ʦ5qÕ÷<ýçÇôb¬ Y'§YûÀqÑ•SC'7X¥¨H¸ð.UŽ9¬´œuüL ÐHŠqÝÑ„Œ=Tg +ÏÜ|ª²ÇmNle¹ $‚úhœÃõ°á„ÁèaC;ÜÛtI©’íÊá”XçÞÞÄ-[= -k!GíˆZ$™Á+)fÁëÈ‚Gfÿk|Ï«j^ Œ»Û­¨¬E nPÜlO?cè³›z祇ªi›k8^ßëùyGל³gÔ*¯«ŽeüŒ²»š§e!ÏY"§‰Øœ¾¡}jx.:Á¬²Ÿuèr‰`Öl ç ÿϦë,ǀŠóÇ4—Ü“û´À(y Üi$>™¯bŽ\ùÈÖZƒ¢­ÿ=}ŠÊ@8åZ¿Ñ¨×šóæXTHԕП·š¾ æ±àn"ݨBmzCÿ7Ò—ˆ9ªsÞ -1,7´°?¯„{»¡ÿ|Þð¾HJ'ßN¾ÏO]f†ª .[7õŸi…¦q†×lÃ_1Z}\óáà²þñ5/ƒƒÏ4ï÷¿™â—Õ˜öE1a““‡òg –#ûPcö\¶!t"¼•BÞŸ ‡ë„6ÜA9ô±y€SÜýãkNƒƒÏåê;CpË¡[|gøƒ íùû†ª`;°§+žmبc‡~)®Õê7w´e¼Ö\²oí¼¦ó -\Û2‹oø;£ï{TxÝÈìÞÔòùïÀ´ÆrÉ-»P,æºï[[·ßk»> -endobj -2836 0 obj -<< -/Type /ExtGState -/OPM 1 ->> -endobj -2837 0 obj -884 -endobj -2827 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 1] -/Rect [145.039 478.892 237.629 489.74] -/Subtype/Link/A<> ->> endobj -2828 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 1] -/Rect [234.917 454.982 375.723 465.83] -/Subtype/Link/A<> ->> endobj -2830 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 1] -/Rect [186.702 311.52 279.355 322.368] -/Subtype/Link/A<> ->> endobj -2834 0 obj << -/D [2832 0 R /FitH 686.127] ->> endobj -406 0 obj << -/D [2832 0 R /FitH 668.127] ->> endobj -2831 0 obj << -/Font << /F48 455 0 R /F8 458 0 R /F77 675 0 R /F7 674 0 R >> -/XObject << /Im18 2829 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2840 0 obj << -/Length 117 -/Filter /FlateDecode ->> -stream -xÚ3PHW0Ppçr -áÒw³P°Ô³432SIS043Ð333W0³0Ó342WIQˆÖ0´°ÐŒ ñÒw37FRjdh¨gb 4¬Æ1 ÀÕÏÅ3BS×ØØXÃYOShŒ†³¿€‡¿H;—ÔRtÚ5„ Ìn -endstream -endobj -2839 0 obj << -/Type /Page -/Contents 2840 0 R -/Resources 2838 0 R -/MediaBox [0 0 612 792] -/Parent 2814 0 R ->> endobj -2841 0 obj << -/D [2839 0 R /FitH 686.127] ->> endobj -2838 0 obj << -/Font << /F8 458 0 R /F73 507 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2850 0 obj << -/Length 1718 -/Filter /FlateDecode ->> -stream -xÚÕXMsÛ6½çWðÍ”> Â7[±7UãFŠÓ'Z‚%L$R%)Ùnûã» Y”hÇ—rˆ€»Àb÷áínH4‹Hôî ¿gã7ý ‘FL`•*ï"Jœ&:’*Å4ÑxÝ 3{»°Å¬ÌVó§è±÷müën“þEi¬–8}Å’cAS¯ysVfZ}k)D7±$&E]÷bΡinJìÄúŠìíG‰À‰” Øì÷é¢Ç45‘"F©>éÅB -ôÁ<º5…')šV~zÓFv]¿bsÿv -r`E…_æS;q›duÐùäf&væEq’bAXSŠ5Ö˜õ×Ú6Çš¥Éa+Aú­™oÌ¢ò·Úw’â˜$»;ýâ(öàDgF ƒI)4‡ÓS…¨Ö -RP"Ñ÷h;úîWboëDaÂØvëy]¯Núýûû{lM}‡‹rÖ/ï&îŸsö7¢‚`’ªp¥Ä«Öõ a¦'šnÁíøÆö"ŠÅDð€„ÁèBu#áK/åÈäñûÊ®óY/f‚¡ÁÜäà–4À~é}V–¶*r?-m=o$Àmù4,Ñ­Ê…Û¹ÌO–¢ïnUKtê?ÞeUíG“b¹Zûðò3ÉÛÑ­³Úy¶a™¢l1+J8{é§ Â˜Ô¨ž¿2µÕ¤4u˜MŠÊæ&ˆ”Y^² é ^aÊÕÖ§—ççç •j4î)…xv6q¶T>p[•–µÎAËå:ß"y«Ôc -hQ|ˆœs4ø8k¿I4ü¡'”ñ%”6ß™Um–Ρ·Î@dJ¯GµR‡H Œcgy(:¹¹Ö² -—¹Û·6e¾ó¹¤\à²0¨æ`w¯p§æûçÆ`ž* €l¿úÎäfÓ“Ò=+7g$ˆŒîmý·)ŸøÕ#…)Û…ÈÓ‚û3Ùý)€¦iàÍ\5þä†qBh,²$ÓhT¯§¶ðŸÎs¯ÜP—uoÀé^e>êKS¹ ¹· ñ;' zkg¶v.s@Mâ\¶±•7Ö<Â`TÃýîS¿"N¸(ÿ–ÜÊ;5ñhRî.iÂ.49Ñ~tZ­ž\PûµÆ)™w-9xG¶èÀ P‰äôƒT§,À­tW0S¿n¦¶ö¡öRZvpJEàÒŸp +Ø«—Èà`€ŠÄ‰Ë‘J!äHOá–N a–}ŒÀÚè± -‰.œÝ¡Yv„L)? -¡"¯ -azÂó¤ƒ3ûCÈ V0ê!Øö>IÄ6|náSD7|¡äx‰M¶X›Ê›·-‰lòP¿ppËÈ÷oÇ×>U{P¤²UùÄFë‰7έû< ’6o¹û@g ]†´g\E3wµM–ÏÌ1~¸+òôûýj뀠³‡*q€*F;DÕ6f-T Í‚ˆNT íw‡Š3á…Ú*ˆDt}ÅÝ:A·¶®êÒdK/ær{Vûq–÷vuã) °É•žÜæªô+SU¯®î8UXJÝ*ïÂcM)úm;ËW~Ëõ¢¶KpP†'ýÍŠÇ(ÁVüƒ:Ú~ø²‡Y¹«O½³Å¡³X¦ü ¼º3„y;‘ìbcáÉq%HÙ¯„ò玖7:A\rî²+‡ôçª1ÅÞÇÙÌ 96[UëÅ.A'P"†°9ùë&o–atðW˜Óä5xfE¤à)þêX åo¼PÉ»[ÿ(Œ©ë8ž­×ô4G9óÊ^4Ö?ÓÁ æY¹pü#E{➛ǒ‚Ç}nþZÿañg•\S¯ ŸªÀÌ°PæëÊb]ûù ¨$ûßȪxÌÅ,úïÜq§ày½\¼äÔ„a*+—æ¶æ¶\gåã.Å×Åõ¸>l‘FÃ+ÝÍF£@û-ž 3l -?øÏ0¾šØz]:ð§i(æ`’¡hezøxžÏ 3¨wWº -²Ïîåƒeãó˜*2ÜúRP,dÛ•Gå´ÎÿúhFšRš¡mS}ê.¤Ÿ2üÚ5Ôœ>4Ó‘ùZåi£ßÇ£A«µWO…´ÛtÕ®”c¥ê!ÇPÅlÖß47èO‹Iÿ…Ǥ5†+>CP,Å -¶…b3BC!ê–ÐùøÍß+²¸ -endstream -endobj -2849 0 obj << -/Type /Page -/Contents 2850 0 R -/Resources 2848 0 R -/MediaBox [0 0 612 792] -/Parent 2857 0 R -/Annots [ 2842 0 R 2853 0 R 2843 0 R 2854 0 R 2844 0 R 2845 0 R 2855 0 R 2846 0 R 2856 0 R ] ->> endobj -2842 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 1] -/Rect [282.213 509.6 451.577 520.725] -/Subtype/Link/A<> ->> endobj -2853 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 1] -/Rect [142.126 499.859 159.81 507.367] -/Subtype/Link/A<> ->> endobj -2843 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 1] -/Rect [423.432 272.6 451.577 284.555] -/Subtype/Link/A<> ->> endobj -2854 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 1] -/Rect [142.126 260.921 322.448 272.046] -/Subtype/Link/A<> ->> endobj -2844 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 1] -/Rect [191.652 227.923 376.706 239.048] -/Subtype/Link/A<> ->> endobj -2845 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 1] -/Rect [423.432 206.602 451.577 218.558] -/Subtype/Link/A<> ->> endobj -2855 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 1] -/Rect [142.126 194.924 306.259 206.049] -/Subtype/Link/A<> ->> endobj -2846 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 1] -/Rect [365.899 128.65 451.577 140.605] -/Subtype/Link/A<> ->> endobj -2856 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 1] -/Rect [142.126 116.972 243.495 128.097] -/Subtype/Link/A<> ->> endobj -2851 0 obj << -/D [2849 0 R /FitH 686.127] ->> endobj -2852 0 obj << -/D [2849 0 R /FitH 533.513] ->> endobj -691 0 obj << -/D [2849 0 R /FitH 536.721] ->> endobj -2197 0 obj << -/D [2849 0 R /FitH 491.767] ->> endobj -912 0 obj << -/D [2849 0 R /FitH 446.813] ->> endobj -911 0 obj << -/D [2849 0 R /FitH 389.904] ->> endobj -921 0 obj << -/D [2849 0 R /FitH 344.951] ->> endobj -706 0 obj << -/D [2849 0 R /FitH 288.042] ->> endobj -2618 0 obj << -/D [2849 0 R /FitH 255.043] ->> endobj -932 0 obj << -/D [2849 0 R /FitH 222.045] ->> endobj -922 0 obj << -/D [2849 0 R /FitH 189.046] ->> endobj -713 0 obj << -/D [2849 0 R /FitH 144.092] ->> endobj -2848 0 obj << -/Font << /F48 455 0 R /F8 458 0 R /F70 508 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2860 0 obj << -/Length 361 -/Filter /FlateDecode ->> -stream -xÚmRËNÃ0¼÷+|´%ìø¹¶{£ˆ”RQIUÕCH“R!”•ÏÇÁ 4g³;žÝ™5G;ÄÑt4ÉFIêg$ ¬B8°0!-ʶh…çd“Ý'©UP šqëÏh2›<ÎæÓÅõÓݪCø¹Gÿ6¢ýu*mHªH²^§pÙxØ 8КÇqÚU›üPÔû#¡F*ð:àweþÉÎ3òK9Ò0¢Ÿq‘ ø&\UK®õ˜PÇ=^f)˜º«P±€óhbÎǪnÞóv_b>þƸ®º®ˆ:Ïwˆ -Á¼1±Ûò°/:†º;¶%¡ZÙ@·íÀ³çyÌâìƒMpÃ,üÚFÓZàyÑÖ/$xD‡Œða9ØÙ¬N(Go¨‚éV_Ú°Õ?;^Ûöcœ$§Ó‰í˶bu³KšªH¢$á‚5”ªm¬ýjûŽn,3J÷]Ø¿¯á6}óà–ý -endstream -endobj -2859 0 obj << -/Type /Page -/Contents 2860 0 R -/Resources 2858 0 R -/MediaBox [0 0 612 792] -/Parent 2857 0 R -/Annots [ 2847 0 R 2862 0 R ] ->> endobj -2847 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 1] -/Rect [377.854 642.999 505.375 654.124] -/Subtype/Link/A<> ->> endobj -2862 0 obj << -/Type /Annot -/Border[0 0 0]/H/I/C[0 1 1] -/Rect [195.924 633.258 255.451 641.339] -/Subtype/Link/A<> ->> endobj -2861 0 obj << -/D [2859 0 R /FitH 686.127] ->> endobj -1173 0 obj << -/D [2859 0 R /FitH 670.12] ->> endobj -2858 0 obj << -/Font << /F8 458 0 R /F73 507 0 R /F70 508 0 R /F74 666 0 R >> -/ProcSet [ /PDF /Text ] ->> endobj -2863 0 obj -[300 300 450 250 800 550 500 500 450] -endobj -2864 0 obj -[368.3 368.3 544.5 309.5 955.6 661.9 603.2 603.2 544.5 500.4] -endobj -2865 0 obj -[591.1 591.1 591.1 591.1 591.1 591.1 591.1 591.1 591.1 591.1 355.6 355.6 386.1 885.5 591.1 591.1 885.5 865.5 816.7 826.7 875.5 756.7 727.2 895.3 896.1 471.7 610.6 895 697.8 1072.8 896.1 855 787.2 855 859.4 650 796.1 880.8 865.5 1160 865.5 865.5 708.9 356.1 620.6 356.1 591.1 355.6 355.6 591.1 532.2 532.2 591.1 532.2 400 532.2 591.1 355.6 355.6 532.2 296.7 944.4 650 591.1 591.1 532.2 501.7 486.9 385] -endobj -2866 0 obj -[985.1 844.4 808.9 1011.5 1002 479.4 665.5 1003.4 773.4 1215.1 1002 968.3 878.6 968.3 959.9] -endobj -2867 0 obj -[633.3 649.4 739.7 677 684 700.6 827.6 533.6 588.2 758.1 480.3 1228 880.8 702.8 739.7 658.9 671.3 670.1 563.7 846.1 722.2 1009] -endobj -2868 0 obj -[892.9 339.3 892.9 585.3 892.9 585.3 892.9 892.9 892.9 892.9 892.9 892.9 892.9 1138.9 585.3 585.3 892.9 892.9 892.9 892.9 892.9 892.9 892.9 892.9 892.9 892.9 892.9 892.9 1138.9 1138.9 892.9 892.9 1138.9 1138.9 585.3 585.3 1138.9 1138.9 1138.9 892.9 1138.9 1138.9 708.3 708.3 1138.9 1138.9 1138.9 892.9 329.4] -endobj -2869 0 obj << -/Length 163 -/Filter /FlateDecode ->> -stream -xÚ31Ô35R0P0U0V06W0¶TH1ä*ä26Š(›%’s¹œ<¹ôÃŒ ¹ô=€¢\úž¾ -%E¥©\úNÎ -@Q…h –X.Oæö8qsƒÍ憺Ì ÿê››ÿØnÿÁÿ¸ÿóïý ÿÿ10Øÿ``àÁ 6P $RR ÒÒ 2d>»@nárõä -äøED‡ -endstream -endobj -2870 0 obj << -/Length 149 -/Filter /FlateDecode ->> -stream -xÚ31Ô35R0P0Bc3cs…C®B.c46K$çr9yré‡+pé{E¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<]ä00üÿÃÀøÿûÿÿ üÿÿÿÿÿýÿÿ@¸þÿÿ0üÿÿÿ?Ä`d=0s@f‚ÌÙ² d'Èn.WO®@.Æsud -endstream -endobj -2871 0 obj << -/Length 169 -/Filter /FlateDecode ->> -stream -xÚ¥Ë= -Â@†á !uŠs7?nˆmŒà‚V"ÔRPÑÞ£å(/à â:»E¬eŠÞQjR””šËg¤r*§tÌðŠ*ãX(»ÎXk”[RÊ¥É(õŠî·Ç e½ž“© íÌÏuC ZÇ0 ¯'ôðAtÞ˜ÞÒ -Gûå0©ÏT–8b’ -QÂø±¥b‚”Ž7ãõc ûþ7øg35¹ -endstream -endobj -2872 0 obj << -/Length 420 -/Filter /FlateDecode ->> -stream -xÚµ“ÁJÃ@†wÉaa/yƒî¾€&Z#”js(èɃõèAQ衘z–ápç1ôÑ…j¼ï3 - Àäo*d‡ßø§'„ÛnÑIáêœ":÷…hà|/¿[±@„ä*Ä „oñÀó„| bUcX#æ”8ÄŒÁ‡Ü{¬wT‰¸P*L6`.° ¸쨾€ ùƒâ±\g;âpõÍaB>cÑŒÉΩ$k†…ªÇòN¨¨JáëÐciØ!hK/ÆfµˆØÍÂÕ¬±ˆ¬óLL%L;\QLgL}L“L©L¿LÕLëlø\°ia3Ä&‹ÍŸB6›ÃÄê«Rßê_cßÝ -endstream -endobj -675 0 obj << -/Type /Font -/Subtype /Type3 -/Name /F77 -/FontMatrix [0.01204 0 0 0.01204 0 0] -/FontBBox [ 0 -23 88 64 ] -/Resources << /ProcSet [ /PDF /ImageB ] >> -/FirstChar 42 -/LastChar 169 -/Widths 2873 0 R -/Encoding 2874 0 R -/CharProcs 2875 0 R ->> endobj -2873 0 obj -[41.52 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 41.52 0 0 0 0 0 0 0 0 0 0 0 0 0 0 55.36 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 92.26 ] -endobj -2874 0 obj << -/Type /Encoding -/Differences [42/a42 43/.notdef 136/a136 137/.notdef 151/a151 152/.notdef 169/a169] ->> endobj -2875 0 obj << -/a42 2869 0 R -/a136 2870 0 R -/a151 2871 0 R -/a169 2872 0 R ->> endobj -2876 0 obj -[569.5 569.5 569.5 569.5 569.5 569.5 569.5 569.5 569.5 569.5 323.4 323.4 323.4 877 538.7 538.7 877 843.3 798.6 815.5 860.1 767.9 737.1 883.9 843.3 412.7 583.3 874 706.4 1027.8 843.3 877 767.9 877 829.4 631 815.5 843.3 843.3 1150.8 843.3 843.3 692.5 323.4 569.5 323.4 569.5 323.4 323.4 569.5 631 507.9 631 507.9 354.2 569.5 631 323.4 354.2 600.2 323.4 938.5 631 569.5 631 600.2 446.4 452.6 446.4 631] -endobj -2877 0 obj -[786.1 829.2 741.7 712.5 851.4 813.9 405.6 566.7 843.1 683.3 988.9 813.9 844.4 741.7 844.4 800 611.1 786.1 813.9 813.9 1105.5 813.9 813.9 669.4 319.4 552.8 319.4 552.8 319.4 319.4 613.3 580 591.1 624.4 557.8 535.6 641.1 613.3 302.2 424.4 635.6 513.3 746.7 613.3 635.6 557.8 635.6 602.2 457.8 591.1 613.3 613.3 835.6 613.3 613.3] -endobj -2878 0 obj -[647.8 600.1 519.3 476.1 519.8 588.6 544.1 422.8 668.8 677.6 694.6 572.8 519.8 668 592.7 662 526.8 632.9 686.9 713.8 756 719.7 539.7 689.9 950 592.7 439.2 751.4 1138.9 1138.9 1138.9 1138.9 339.3 339.3 585.3 585.3 585.3 585.3 585.3 585.3 585.3 585.3 585.3 585.3 585.3 585.3 339.3 339.3 892.9 585.3 892.9 585.3 610.1 859.1 863.2 819.4 934.1 838.7 724.5 889.4 935.6 506.3 632 959.9 783.7 1089.4 904.9 868.9 727.3 899.7 860.6 701.5 674.8 778.2 674.6 1074.4 936.9 671.5 778.4 462.3 462.3 462.3 1138.9 1138.9 478.2 619.7 502.4 510.5 594.7 542 557.1 557.3 668.8 404.2 472.7 607.3 361.3 1013.7 706.2 563.9 588.9 523.6 530.4 539.2 431.6 675.4 571.4 826.4 647.8 579.4] -endobj -2879 0 obj -[472.2 472.2 472.2 472.2 583.3 583.3 472.2 472.2 333.3 555.6 577.8 577.8 597.2 597.2 736.1 736.1 527.8 527.8 583.3 583.3 583.3 583.3 750 750 750 750 1044.4 1044.4 791.7 791.7 583.3 583.3 638.9 638.9 638.9 638.9 805.6 805.6 805.6 805.6 1277.8 1277.8 811.1 811.1 875 875 666.7 666.7 666.7 666.7 666.7 666.7 888.9 888.9 888.9 888.9 888.9 888.9 888.9 666.7 875 875 875 875 611.1 611.1 833.3 1111.1 472.2 555.6 1111.1 1511.1 1111.1 1511.1 1111.1 1511.1 1055.6 944.5 472.2 833.3 833.3 833.3 833.3 833.3 1444.5 1277.8 555.6 1111.1 1111.1 1111.1 1111.1 1111.1 944.5 1277.8 555.6 1000 1444.5 555.6 1000 1444.5 472.2 472.2 527.8 527.8] -endobj -2880 0 obj -[525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525] -endobj -2881 0 obj -[777.8 277.8 777.8 500 777.8 500 777.8 777.8 777.8 777.8 777.8 777.8 777.8 1000 500 500 777.8 777.8 777.8 777.8 777.8 777.8 777.8 777.8 777.8 777.8 777.8 777.8 1000 1000 777.8 777.8 1000 1000 500 500 1000 1000 1000 777.8 1000 1000 611.1 611.1 1000 1000 1000 777.8 275 1000 666.7 666.7 888.9 888.9 0 0 555.6 555.6 666.7 500 722.2 722.2 777.8 777.8 611.1 798.5 656.8 526.5 771.4 527.8 718.7 594.9 844.5 544.5 677.8 762 689.7 1200.9 820.5 796.1 695.6 816.7 847.5 605.6 544.6 625.8 612.8 987.8 713.3 668.3 724.7 666.7 666.7 666.7 666.7 666.7 611.1 611.1 444.4 444.4 444.4 444.4 500 500 388.9 388.9 277.8] -endobj -2882 0 obj -[639.7 565.6 517.7 444.4 405.9 437.5 496.5 469.4 353.9 576.2 583.3 602.6 494 437.5 570 517 571.4 437.2 540.3 595.8 625.7 651.4 622.5 466.3 591.4 828.1 517 362.8 654.2 1000 1000 1000 1000 277.8 277.8 500 500 500 500 500 500 500 500 500 500 500 500 277.8 277.8 777.8 500 777.8 500 530.9 750 758.5 714.7 827.9 738.2 643.1 786.3 831.3 439.6 554.5 849.3 680.6 970.1 803.5 762.8 642 790.6 759.3 613.2 584.4 682.8 583.3 944.4 828.5 580.6 682.6 388.9 388.9 388.9 1000 1000 416.7 528.6 429.2 432.8 520.5 465.6 489.6 477 576.2 344.5 411.8 520.6 298.4 878 600.2 484.7 503.1 446.4 451.2 468.8 361.1 572.5 484.7 715.9 571.5 490.3] -endobj -2883 0 obj -[562.2 587.8 881.7 894.4 306.7 332.2 511.1 511.1 511.1 511.1 511.1 831.3 460 536.7 715.6 715.6 511.1 882.8 985 766.7 255.6 306.7 514.4 817.8 769.1 817.8 766.7 306.7 408.9 408.9 511.1 766.7 306.7 357.8 306.7 511.1 511.1 511.1 511.1 511.1 511.1 511.1 511.1 511.1 511.1 511.1 306.7 306.7 306.7 766.7 511.1 511.1 766.7 743.3 703.9 715.6 755 678.3 652.8 773.6 743.3 385.6 525 768.9 627.2 896.7 743.3 766.7 678.3 766.7 729.4 562.2 715.6 743.3 743.3 998.9 743.3 743.3 613.3 306.7 514.4 306.7 511.1 306.7 306.7 511.1 460 460 511.1 460 306.7 460 511.1 306.7 306.7 460 255.6 817.8 562.2 511.1 511.1 460 421.7 408.9 332.2 536.7 460 664.4 463.9 485.6 408.9 511.1 1022.2] -endobj -2884 0 obj -[333.3 277.8 500 500 500 500 500 500 500 500 500 500 500 277.8 277.8 277.8 777.8 472.2 472.2 777.8 750 708.3 722.2 763.9 680.6 652.8 784.7 750 361.1 513.9 777.8 625 916.7 750 777.8 680.6 777.8 736.1 555.6 722.2 750 750 1027.8 750 750] -endobj -2885 0 obj -[833.3 777.8 694.4 666.7 750 722.2 777.8 722.2 777.8 722.2 583.3 555.6 555.6 833.3 833.3 277.8 305.6 500 500 500 500 500 750 444.4 500 722.2 777.8 500 902.8 1013.9 777.8 277.8 277.8 500 833.3 500 833.3 777.8 277.8 388.9 388.9 500 777.8 277.8 333.3 277.8 500 500 500 500 500 500 500 500 500 500 500 277.8 277.8 277.8 777.8 472.2 472.2 777.8 750 708.3 722.2 763.9 680.6 652.8 784.7 750 361.1 513.9 777.8 625 916.7 750 777.8 680.6 777.8 736.1 555.6 722.2 750 750 1027.8 750 750 611.1 277.8 500 277.8 500 277.8 277.8 500 555.6 444.4 555.6 444.4 305.6 500 555.6 277.8 305.6 527.8 277.8 833.3 555.6 500 555.6 527.8 391.7 394.4 388.9 555.6 527.8 722.2 527.8 527.8 444.4 500 1000] -endobj -2886 0 obj -[638.9 638.9 958.3 958.3 319.4 351.4 575 575 575 575 575 869.4 511.1 597.2 830.6 894.4 575 1041.7 1169.4 894.4 319.4 350 602.8 958.3 575 958.3 894.4 319.4 447.2 447.2 575 894.4 319.4 383.3 319.4 575 575 575 575 575 575 575 575 575 575 575 319.4 319.4 350 894.4 543.1 543.1 894.4 869.4 818.1 830.6 881.9 755.6 723.6 904.2 900 436.1 594.4 901.4 691.7 1091.7 900 863.9 786.1 863.9 862.5 638.9 800 884.7 869.4 1188.9 869.4 869.4 702.8 319.4 602.8 319.4 575 319.4 319.4 559 638.9 511.1 638.9 527.1 351.4 575 638.9 319.4 351.4 606.9 319.4 958.3 638.9 575 638.9 606.9 473.6 453.6 447.2 638.9 606.9 830.6 606.9 606.9 511.1 575] -endobj -2887 0 obj -[656.2 625 625 937.5 937.5 312.5 343.7 562.5 562.5 562.5 562.5 562.5 849.5 500 574.1 812.5 875 562.5 1018.5 1143.5 875 312.5 342.6 581 937.5 562.5 937.5 875 312.5 437.5 437.5 562.5 875 312.5 375 312.5 562.5 562.5 562.5 562.5 562.5 562.5 562.5 562.5 562.5 562.5 562.5 312.5 312.5 342.6 875 531.2 531.2 875 849.5 799.8 812.5 862.3 738.4 707.2 884.3 879.6 419 581 880.8 675.9 1067.1 879.6 844.9 768.5 844.9 839.1 625 782.4 864.6 849.5 1162 849.5 849.5 687.5 312.5 581 312.5 562.5 312.5 312.5 546.9 625 500 625 513.3 343.7 562.5 625 312.5 343.7 593.7 312.5 937.5 625 562.5 625 593.7 459.5 443.8 437.5 625 593.7 812.5 593.7 593.7 500] -endobj -2888 0 obj -[272 326.4 272 489.6 489.6 489.6 489.6 489.6 489.6 489.6 489.6 489.6 489.6 489.6 272 272 272 761.6 462.4 462.4 761.6 734 693.4 707.2 747.8 666.2 639 768.3 734 353.2 503 761.2 611.8 897.2 734 761.6 666.2 761.6 720.6 544 707.2 734 734 1006 734 734 598.4 272 489.6 272 489.6 272 272 489.6 544 435.2 544 435.2 299.2 489.6 544 272 299.2 516.8 272 816 544 489.6 544 516.8 380.8 386.2 380.8 544] -endobj -2889 0 obj -[499.3 499.3 748.9 748.9 249.6 275.8 458.6 458.6 458.6 458.6 458.6 693.3 406.4 458.6 667.6 719.8 458.6 837.2 941.7 719.8 249.6 249.6 458.6 772.1 458.6 772.1 719.8 249.6 354.1 354.1 458.6 719.8 249.6 301.9 249.6 458.6 458.6 458.6 458.6 458.6 458.6 458.6 458.6 458.6 458.6 458.6 249.6 249.6 249.6 719.8 432.5 432.5 719.8 693.3 654.3 667.6 706.6 628.2 602.1 726.3 693.3 327.6 471.5 719.4 576 850 693.3 719.8 628.2 719.8 680.5 510.9 667.6 693.3 693.3 954.5 693.3 693.3 563.1 249.6 458.6 249.6 458.6 249.6 249.6 458.6 510.9 406.4 510.9 406.4 275.8 458.6 510.9 249.6 275.8 484.7 249.6 772.1 510.9 458.6 510.9 484.7 354.1 359.4 354.1] -endobj -2890 0 obj << -/Length1 1737 -/Length2 12625 -/Length3 0 -/Length 13580 -/Filter /FlateDecode ->> -stream -xÚ­–UX\Ý–®q'¸+ÜÝÝÝ]+Ü5Ü‚»CpînÁÝÝ]ƒ{ðSÿÞÝ;éîÛóT]¬wûƘs®* -e5S{c ¤½  # /@LAT›…ÀÂÈÌ,Š@A!æ4r±´·7ròXxxX’@cÐèËËÁÎË̉@³wðp²4·pP‹Ñüãı:YšÙŒ\,€¶ &F65{K ‹#@ÄÆ úO„3@è trš2"°°L-M\Æ@sK;¦4Éؙٸþ½lêêðß&7 “3H€ú_2i ‘¦öv6S “¢=¨¤åÿ‡¬ÿ\ÒÕÆFÑÈöŸôÿšÔÿ±ÙZÚxü—‡½­ƒ« Ð  `o -t²ûß®ZÀ‹µ·ù?ed\Œl,MDìÌm€æ/Y:KZ~š*[º˜XÌŒlœÿZÚ™þo  ÁýK“®ª”Œ¶.Ýíé¿ŒÊF–v.êÿIû÷¿˜åƒ¦ãdùð‰4^#èóßOúÿ«˜„‰½©¥9€•ƒ`äädä:= â|eXÚ™¿€_@Š™íì]@!ÐH¼föNÿl('€I䟥'€Iôq˜Äþ7€Iüñ˜$þC\Ì&É?Ä`’úC¬&é?Ä`’ùCì&Ù?Ò"÷‡@ZäÿH‹ÂiQüC -Jÿ!nå?Ò¢ò‡@ZTÿH‹ÚiQÿC -¤Eó´hý!í?Ò¢óâiÑýC 8£?Š3þC 8“ÿÈfboºaÿ½Â Jeú‚úþñéû÷aþ+¨9ÐÑ4r¶ø+Ô¾Ù5lffùWˆÿ Û?èöW‘ìö®N幘ÿ… „ª±ƒ&háá`ü» ÐÚ_™A±þ A]Ûü… ‘ØþAÐbú“ŠjgiüËšˆýŸê `ûÿa©wøc%s0rÚÙÍþ å¿Vþç,ÿ™Ô_m³€ºpþ£äºýÕ&ÈÝt}ÿ€¶çO:P 'à_“©qq·ÿ+Ôë_ŒÛ_êÍý¯mEÿUŒ”ÞãOK PO Ó¿sÿß×”¨¨ý—¯ l ÓÄÀ -RRÊàaçôþž&®N ™¸üëGt¤þ›Í,AïF ð ÐayÁÞ„/È*¥1¤ÄG"ªš\Ô¼)V±®k¶1p)ܦhDΑv£Vû©,ãÃô±û ¾sx»—ʸ䅿clêüÛ›áAºg ¾öuº‚ǾéCà J[ãÜí)¸ÒÌÆhI¢NAÿ÷Ë“\ejqõCØ5°îOnõÝAœ\Ú’é6ß‚k)ÙHTQSKBÙ¿­»£&ÆC­OúX}ƒk¦[½²owEʇËIxû öháü1tÑyå _(À»e³ž‹‡£'d7ë°<»±¤aB©¿k_w‹îERì‹{˽Ùnk=ÑÓ®øúp>ÿh—Q@ì’À æã|çÛ(.CõnZʵé\¬=°ðƒOâðPTPzí1z2»|<î]U¶ÂɸR¥ÿCëTLý¸ÆÌ®åýç½6Ìöþ Ð†PþȌӀ—ÍO±Fû½fsïªóÜøPÑ(Ø·š[0üR Ï -ÛÕ=VGEÌ'™¥Ü\êÆjhòv?‘«Å aµ¾l„SËt×f*0Æì¤Ûº{1¶˜`?4°h¶ð°X@2‰Û¤Y#ï”mÜPä·jþƒ±M¥F•4”!Ó.ðW$îî›`Á›µ–ù]žEfPx(núòX"rCê©[ŽV Äö¼Ã›ñîð1Œ¢]ˈÆßÝ™É?EG‡A¶*§Âfjäû(êTÒfq6²gçueÔÜÝŠ *^ ¥2ŸÀøØwRš•ëòD2\SÃÐNfhjò `zɦr /9O^0’Gˆ`H&üÐQ˜²¤SøIŒÝ7~Zß÷Aüµó - ·]MëÓ5Ëუ{…£n/Ÿ>§GSа°äÁ8?ÂÒ‡é{MÊE¶É»Úý>ñ'cx£O]þÎï¸Ð/#rhwÈÖs¯!<_½5¦b$mTÝ ÑF„†v¬3袩¦bEcgŽ4ô¸eF-Ùʶ^)9¿.í£Yæ1âEqcA8…A ¹­0~‡þ‚¹\î,2e“|‰Óë{D0G Ÿçq´;goé°MèÆ‘\4P+=Ù«•¢u¼BÌy$­ÔâkÃX° »îÛ©ÉUkƒ[öv¿,ÃŽC(‰y3Ü+„ -3f MÆ|Q)ç½’ñY¾å‹úñD¶¡¿„õ|ýðû©|û:˜E¨Bì$ÁG*ø[9 ›U¯š^ª×ȯ¦‹¬‘F°¸¼ù°Žàuù6t9׿vLb.Ý`”¸4å#’êOñÓýv‹Œá¸ió[Íñ‰B+ÔÇâQVâàgUHfõ¥4T±•á¾TN:FeªîNÞº j 'VÄ2†YDÐÓS0ö–ÌC>%kÇ~á.R9d‡Ë°ßüÙÓ5þ¼c{#ó¹BI¹$}€çAÒåÐgá8ŠœN`Žú5ÄÚAkðE 4i×Á¢Ècîiš}o®–”)@mr´Éxl®›%ãÿظøº}¶O_™ìy­Š¸ú´‹Ï1FäøùLõ÷ó¶ -0£P Z§t’_^½Ÿ8Á7KÐú ½¬¡©®¡¹A›j_˜ü…ðw¨4¤¹­Ç -¥ŠÏ›Úf”¸É}Þˆðy`·Mø Cç W«å`2¿Q_ˆ­YÅ&”—„—ºé÷7¥´±-ŒeÉêï“̬±Ÿ0‰§xìÄ Ñ1سì‰â(òõJ!òJ[ˆ¶™(ÒÑ—ïpsóö'§n'ñ= ¹ó™q´¬*[hîîÁ)­ÛQÌ9Cö]àqóE”"õ÷¤ LŽ ù;[]Q±Nh#"/a¿g ËñiBøZÚŸIÆÕ¶Knh™Gá Öæ3Ò"£x"Ðú zN!¯ ðiúsîo÷xW”¦ÔL8ÖÁ©µÁúÊ­‘\l:b€+îRÊn†=بã/à!—Ϫ^K·t?ok(GàépCÏŽçrÔ()ANéIm­8½w:úu!¥ÿ¼u‘—T°}ÙM‘yÈ)Æ#2 -˜Þº¤|á:úá-­þaEË—K§DxFÐY‚ Ù“Ychl#š9~°ý¥Ð*šc—ã †¯×öJR ½"C»#ãÃõ&7kèÉ3?Ôð®ãS-8¾"°c (˜JjJMCPw^Lw:®'ìòamLòæw’)mú$ªbð|ˆEKƒÝ¥Z!±RG¨ÄN]V|[aIÀìb¶±¾ßî²| ŽË~½G<¦•,q 7Î “Éñ÷EhúvŽZÂÈ•ê/ -°_ -ÈåË’.˜^Øf#È=Ä æfN^¼Ç­«–´,""øe¡øÍ6Ó”æ_gØÍ #¡»tHœêQ•…Q_¨í‡IªyZÃÌ›:üH¼°öB•öì®ìèmK¦O4´Ê`–¾S£Š¢)"Ëswe†ô°cF󶥜ÞZÉ䥑¶ c}‰çõn3ÆE4'Ï\øÅ Kv©*Ù«7:gZ.‹-¨-€ÑàP2ØS§Í>3Á9¡ñ!ü¨‰Ýâ£ê¯ ói¬!¬¦,3$Ö`0v²×sòÁÞGú¾¤ð™ª{´-•¥T0ƒ±²Ú„@Át4}nt´»µl‚ô¬gI#ð -~´ÉÚ˜;7qV°(Š«â9±{ù²Ò‹I…Ò*è¯ô×`Ó&Å~E`M³~)Ô­‰Rå×6ÆÖý| ÇzV+œPÌØyÂ.LÃÜÉÛKFs\Ù7͔ϑ¸µÖ½~çûÙ@<· -ųðó 8%…¬ AõIº_ïùv«ÌtØÜç$¡à^÷×;Z¹€©ª×¼2˜¼o3½ˆÚ¸&zK;´ã[ÌÈ“-Ùç‰àKªŸš|Ç€—¨œª„`Ū÷Ä8Ê%&Øt_áL=è=V‡=[zj¶æcÀæZÆDDh[ÆZ„ç)„)/+‡D€÷[ŠÏüµ·˜ ÓÑ|Øãc|ÒA[†\”‰ëŸûÔ˜~õãsºŒÁšŒ™£n¹ìW ó_Јžõ(F\-[ Ø®ýL٨ϭ,?`»ƒ¥ë# C1Œ»\°T:_õ¾ØWõDMåbÚ“}fÇÖŸûT,µwì¤`VÉX•No=ÝZä}Eck¨(s&¨Ü>äîø¹Î¹â*Ë;i¥£ë@³Cà„ª«ÂgúAö~‰Œí±W©ø+øPx -¿¹Í@È%ÇCG‘ËÅõnlµ÷R’tŒ±uKjâê2/.ɹ‰bÂV§ïÃ`ÛK‘e), ft© /8VÓ‡ª"¸T¥ Ù6ÕÈD¤ñÍ&8⼂¤q¹»)nEV=c (ÆÁ°yòKëÊPa¨)=y8Á›ƒL#Ó+å-ÇZÎ,ç1 Q“”#mï¾Så -fल_‡g1ŠÃ*¿·Ƶø»qw\—ÆsãÞŽþzœœ¹_óè‘\ ÀëÿUcYˆ²ë ËÕ8Áï ñ°""mÇõºtÚ°4¨Ã4õMj{ðRÑF‘æJtq<8Þiö¢úó l™Ì¸\pC]sõ…ÊU›P€ɱavê樂$á ·ˆÉĬÎeB’`˜GÌo6çæÎ.ht -}? Ùá÷smàè›lEïÙ €Ýt«+KwU` ;Lº×¼{„Ë\+7Þ}[uKýT(°LN†p,/ -,XÓ˜áUWq¨¢Ô ÁDÆli™yeOÛæ'kšCè9‰é $N6ly=*.D/›®ÔO=á´¤[³c[į¡ãµëÆõûa \;öÙ?þô¦tÁ}™™d¼Û‰ÃW”[ÒdÕ‰¸¢Õ3v+ùýj -NvÈî_`íðüiˆuiÔ˜ h++¡*ùLwß‹LHÖþÔ(È+·)É´kfe©¿­}³Ýb9ÅÕ9°X1º#‰¤©Ê°ð…}º5Ñïµb6ÒU@’‰í݇òIU¥ÒzF¯uÊ™‘kt‹Lë7#âH•åC|Œ}°Æ»q½«¿ò¦KºËH€XGÌ8Wy?U6÷T‹–Y8eÄXCåÇõQX‰Ø]=÷&ß žZv|´ª´Ùœ#DœeÍÐÁ ÌŒ°’óÓ×83ö¡cF¶g´w¸¢ß‹5ÍW / ùÐX,mt„A9²Ó½ƒfZ’ßÐÀÐJ¾%Ÿ\½õO®ï¶»|¡-Æœjì‚„As•ç¸ŠŸ¾=þ"þáß·?Vúæd\g}͆ëDŒX/º+@ÂœÂGRW¸z,+ -©Ÿù + µkY,ÕB6Û(Ÿ{qû£¼'!PKj™ñ ØÇÛb*@çöw ñ¼¯ê™SŸÍRÈ=±ÅŠ>Ãø»Ä°BÏÓâ%Þ ¹òò5ªR4,O»j-Tà @|ø)÷%>´pR)[FWª³JŠ -6 ÀË/ qøë -±FŒ},IïRsD>ÓvûRÙï»D¡¾JLÞéA•©`êbñ‘™ª53µUåKÕ—h‡À%’Ê2˜W´ÄÆýÉz;‘M4h#ƒë«×¨çv5¬ÝlsÝi磛Æ6Ò‹¾9?!-ˆÖ-k!ðø(gp'vÌLOç–Š.òÒ1"&f«UµÉh²‘ãǪÍåù®âLE—`NÒ%3UpòD/Hf;ÇŠsKíwE†;ð²p- òRϵºÈù¾·qÅÿ,ú8ž¶ïà&¦ ñ5áÊ›•á=ôÈÎ"B'«¤Y»×sÂ:ŸÐ&fÐ{ óoÊCÏÿV©$#Ÿ:W¯E_—¢1Fu=ÄxUômœ¤.Ÿ­~–#×ëŸQ“…q‹a²•BªDÞ1f‡'ºvbä':bgïØ),Ì)­eÙî¼a¾þ´\ÔipÕµLþ¿ë‰±jˆ‰v1QÒ~¡Y(Ð,$ÌäísÝ ðå4"6’ÆiéKOoÌ ÕÐ w÷1ˆcÜM?GŠmú!"±»–ì¬#Û~'ðX~îë&v Ð&‡{x ^—(zÝÏå‡Qõ!Ü]Ò'ž&†þxâûÙß!¥!ÆF, F³æ8Å¿×k'–}ÏÙ,«‰´)é´M;–A"4¿Né Ó–>9Q|pÅêº&_ø&^¹ƒ<Ë9HÏfà§îÈ®0)|n†\;k+—@\•táøYÕ,Ì0‡È=`Ðs÷4®AÎWöQ A¿5ÓãŒò!ä]‚pÀöF¦HŠF(8¢4XŸr ©êd¢Øçš0±üxsû>‹©…¾ö£ü~”ðwQ‘OmioÌÙ缶"BwJŒ¼ôôg®PNÛÁ7Q;~Q˜3yùbºóØ>.VŸCH»vÞN&Ur¬ÌB"£ÈÇÏn‡™”7ý‘ö\¾˜¹!+"ÒMÊlúš3©ÞGe(ú) 7´³ þ”a™ï‚pGàÉÉ Á‹ô³)@–nþf³ûÁYßi”¿bÞ‡ñ–Q ^Q¢±ïõ‰k_qO™Ð>¢µtI¾`ðYÝÂuIHCÝ IÚï Á« ßu¦m ¦ýî(>î!¬-V[S¦§*ÎAûKJÄ"Íösýa ÷ÆQ-õ*ERÂùʳL“z”˜z[×T¡>WBg´¿0hÑM8”}Èz!+Š$â·ù/•ŽŠFE›š -Ý¢ ô(ÜÛ¶Æ -p$jIÅX(ÂZðLèuÝ ü -øÒ2.¬qß5Ê;‡c’…&â:÷ŽÅ-I¾}¢~Î)ÀJ\~µ…m_…»’bçš:æ:©KÂw»ÚíZÆÌç¦'!’–ë!šns=4º!BdžŽËtɪP!%‹Õ"„öÃD–Ê8ß%ÛX>2|uÓ‰mÂv2‹·ôã,KÚÚR6ëQP×CýÀå6çÙ\e§¯ÂAñ¼HoÍz©`Ö ,MM¦øñCïc"½ærÏý®ñ•ä­°Á´+ªiüŒ;B]žYiãCR6Ž¢ýõV¬qÔc{§|Êò¬µ­zQôMKA‚ÁŠZ¼+`ÖMRçìí˜Xõz; qQ¾üͶE(äˆÿ¥¨áÏi©X§húêhªàN GÿŒêÑ¡¼cüm­Ù2šÐð\üh -ó=,c{ÉsÙg†ˆ­–¸oÝ3„¿YƒÉ›¹ïzLmžÒÊëìÌ{¯¦‹ÌÇ­—„>…W†—©{ZdŠ”žBY:¼ ¯éG ÙTyï¾N{•öH -soRY)ï|š`ÁV?™¶Âu'çyTô%÷Ržfv~­cFPê³ÿ™YIÁ¥Qåã9ørT¦L¢¸\(ÝlûÐÞ»7›Îlà.êîóijG¸–”ÍS“‰ÜGD{’Í‚“o¨Ž#YËŸ'È´J¹¾°§±ùÅ\­ @b½ÂVvÖOgYTOä„ÇFÝòpæ·ø(¢t ˆAñg†£<ߣÖS€£¾zÔð r?&¼'<èb“'»S4u Ø#9ðÄ[ 'aÈuwZ“|·&ÿú¶<Ø£™RSF%Ojç3ÅÎ&¡þ­ÔÉ2,^~™Ë/È$o#Gô®¤A^ÙÓ*NëB¾ÖÖf–îè¾cÕ“ƒüX1üzÇy{"]\Æí†êŽs‹žbPŠ; -öyÅÍù)iVUJ›ô› Z8µà=¿üÌçBnJ3íZjH¹_¯¦NŽë².Jß -y>ÃêXOk~1í‰ÄÕæxÒC¾©ç®&°¥˜€@y âè¦F‹A´–1ù¬×o!Vdº#p;o;bnÒ)áüÓZò­V‚VË9741ÖJcß\®ÿMƒ&›™¢> :Æs®5°{Ð!|~¥½{Ù“:I‹|C©žäò¦lqŸ,h¡ú¦a½ÑÐslnŒ—ÇSá–‡Z n’ÀžÊmÎÑÍ}g]è!À]„'¢DŠkÑe»—ÌäØéÏQ$ÄŠ.)_„–¡"0æbÙÙ*J‰kµs+ÎeÝQ>§ˆ:Ϙœ@®<`-n¨¾­ÖýâiÚÊ%GÂF7žÜHQ+µw`â£*Ï®A/%|#-~ ýy¡KïA9Ûëѽ›Äxˆ#àaÒ¿uýŽÁFi 0ÌÆÅï¾ÆËJ“휿zBáÝf»šZÏìWg2”mOÝÙg#›IˆMT£|ô¸rkd|]Vn,&Wý­µU"vi ì³{mNÎMMùË­Þ´|•]áʸ$]×Rù÷Bêmn^³#´kHZ*Ú_Ê>~­Äk˜Ý—¸]4?»QO¶¬T³_ë¥"fbÄ cOXKGÏ:;‡àÑtö#04)6ÂÂÚq©aŽçyÂá¿b„: .oà3e‡ô¥Ñ‘&cÊ ’ùï¾pÁž¸ôîá\òZ]œJü¸Y¥e+¿oùÖ”»/× +üÇ€v\ OrO—¢šqb‹^6ˆÒ$•V5CM+uŽBƒèXÎñš5a¥ßÍ%¶¢êvý”pº/ëÄ›ÏgásÕ«œ$õ\Œj” RÑ݆“ŒN¸0#ÏûÉÿœ{-Æ~ÔÒ¡G†VN¸¿s%骿ñwwùO÷:ò\ì#ÜÅŸdq¨å ½5»¦ D2MôŒšÓ¡r5 #Þ±½1ÍKý¤¿¡kŒã»HVî'M®1‡ºÊô¤¿s®`¼ 1÷«R®m—øzðâÛ$.'3ÉcUÝÅùNdÅÁUèI&ÀÔD|ŠßBæ ´O¾ŸoŸó öšWdd%nÍ"Øó®’X!,ÆTñ„$‹±kR7ß²¿_B’fºm!(;üî Æ0ËÖ‚û Û‘‰º¨ §$CÛÈTRŒ¼Á> ŽÔ«ÏKnÂõòE¦}p)­¸!ÿjdÙã”í+mÖïcŠK…SÛ²óý•Û#-.™n’/YÅ_½e¸ÐûàUHá)ÌOÞXPŽŠOsÆuÕyQ¿Ú·FÏþ&H4<CcrYQX¬NØ…’ -Bü¬å‹¤ß›=vÄÂ%³§-ŸJ ì^`O…ˆYgÿôµÔ¿”­FHSL/r -)@¥&œ´5 YE†¦@‹)_s*Wi¬,±&‘qI‚ž¢Ê}AR<²¹p‹®¬›ÒÌ¡q­w+X[ ­Hª[}ß`¬J aƒ³–qùpÎÒø¨˜Å)7SSm»U q3wkÿ]2$k¢j¡FDÝþ -ýHíxÙÜÿ 0­C{@d¦ë>9}{pëþñ^Ú{Ô¹üD±¸671¥>íåêJBªçVÌ%Ù¹ü¬÷N.¢Õöönª«"auLkÈIœdì‚÷Øì¸êþÍdP2«Á´—.„ƒÿ*þè¦l)úŸT¦ªeA :‡´Ÿ\y©!lž J™æLÜþ¼”E¬€ÁŽ@9úý'œ´µýÁˆëƒÝÉx'÷Ľ0jô/”\üyZõĹO,XÎF[¦ :’(Jð¦ýó}Ö® $²Û12»îìûAÒÇ´e†Šž˜ô¸R4áܨÓßM÷c$µIº?¾)—žˆ>ßYýôŠN¸ƒùlW} ß³üazuçðÌ¡R:ª¯6Þ)¼p¥w‹šW¬Ž;‚¥Ù%|ó¶ -®ý%m<×o`˜-ÀÒ_4‰aürMݳï…úXýïÍXyÿlè;nÖ¶§uçøÕ½“‚¤îyéa˜Ô«ÔoáJâ‹–Üœn ýwVÀàŽXRć½ËÄT?(¯…ün"¨>ÜZç‚죶1rv…2¤Á™Yiû^þŠkg -Ýo=]J0Ê9.ë[Ô~èîXÛjàˆž»¤x ìVX;Á¦ùVBÃ& ùÛo70±oÆ 8›z8MécÔŽ¤6®Á¾Ão •G BÀo4ëT³Ç -†iG"¬¾*Ò·¹¥8Á]íÖ#² W¢gbp³¶>Êeº†SÇ«’iÕoÙ„IÙ­C80úÍ"·/šÅÅÕ/SXÂG 7¶’e8Ô)ÃsÄ>hùX -îÛÍ£RùÞ=ÂòŽ ü/ÎrE=<Ÿ0Ÿ Þ¡1M§ûááJ½ú¹êÓ‚kš'ÍÌ”ò"Äûƒ“à†ù_´ýaü)|z|š÷>r·6Z5–U -‡ËÓ.ô!Y21 -w/ßDw³±³°¬µg1‚ytp—Œ¶fVÚ#Ýbi8yÌž]΢–‡›9tQ. Ê?Rƒr~ÁwI7÷²ó’ÇØäçÁ¼µ!Â$tø£ qþÒ| i™ý„5®®3ZŸ ×U÷Aw«ž¶÷cÉlH7}Ú8,ú+À®Ì_2ðÀ¢pœÀ² -öÄ´æUNýšÝ ­ø*9Ã"|܆TÓ;qðÌ.S¹CC ¡,¦bƒ ˆœUGÝ™Š´ RÇwij%éäßFç#ÊMŠmuÐüj&!ÍÈ{%ÚMê®yø‹lë“Tµ‰÷÷à¼z÷ zäó&­Že„CüŒ»+ìÜ¡o;\¬êÝørÆŠx(¬¥™•1Y(d¡ñÎï^-Ë×°ÌÈ·+{?L“_Öu‡§ãŸçU•ièBõÞå…¬u³yüøâø†~¾¾°‰Œ€gTFÐ餬â²`’ –k˜µ§ý†÷7yûêaÃÈm ÕáÁ‡ÈÃ=ݾM QÓmM2›Ê Üв3éæ °üÕô‚L`sØùIÑjÀL“ßœ7`ÊÈ8fºtKtà7Ã:1²|YbÄ ËóWOÈOçݴ̦‹ËOÙŽÉR -œìò‡ŒØ­îCQMSÉAyth^¡µÛI#÷½£ÓÐ+p+¿*ÂcúY1ºÅ¨vÛ/>1 x£í¶qââÖV.‰t‹ªrøôØ‚õ¾Aà‘ýˆÛi̬|BØÓâ±åDÜ=XÆÝw…HØ­¹¹ðáF} îvqìµÂ’Æœ”ñÁë±R‰Ûcšª|…s—êž®Y­-r£\ï¸(Ë ökvá4‘!)'áBkcÔJC"¬Ç&êPY<‡v1:WˆÌ.ÊáhqOü²©~€±¯+ÔðñÉé3‘>‹/ž¦ÎÔ™/ió5< ä tnlF!ŸéTƒÓŽMéaþú4ì*mÝݧ/@pn]R†kÃu×üÑVå-\ÜÉÄ'ü1ä[誷ü~¹ë#xTôê =ô‰ß´žÝA\#íµÖÓ`fU#]7÷œ+=L ðæ{k•‡“¿«©%±— 'ù*X7;ú},üŠwä;Ë æðøåZ¼íºí£G<Üq]ôüµÙ¥õ:¿ðŠóôšËþv]iÇ¡¦ØúËawUcµÝ”8v{ aÍä’õDgùàGV^"™x}ðiŸcÜ4M2DGó¾ M®ÃýêõñW "Û¨¼eò!‘ÁŒÇõÄǽ¸¾ë†$cÀesÿ‰yÑð{Îþ]=Ø@Ü ”`ê9B?اê÷ÛFÈs»Ä ´E!§®r_ÔþÈDi©jýAÌxâïníïr¹n 89‹ŽMôF“ªÚz^iÆãÞGœ˜© 0E~’ÒòpNÒeDüa6ëÞ$¾ý ¬»©Aèòž_d²Ã9pŒÿ¤ËZ8¤³;†3+Íî!®USEBÞ–(à&-kŠÚá;Ðã|7]PÉ»²±dÁÿŽ7úëpñÉm\&žGWŠÊ¥k:Eù .øg3Ø{Ж4LfÔnåäáúSëÜ9R!µÜA¶ûê[’ôNHˆ÷;N’ˆàô6]z]£ŒÔ¡Ž6'±õvÓõÎHm7 pøuä=ÉçNñå— ¹øA…#´¿ûWœ’¥à_W÷r©¿xʲ)®¿=\D솥ùû;“®†:{pµè¦‚s×GŒV¾³ä¥iÉmHÈ«¦ŸYˆÖÍȺè-q‡¡Ëò( ÈÒ Š /Ä>Ï¡Ål¾ÃàZòí/ö²t¿oÓß_ÀY³xÀ™ãu 2³J8Ž“¢?û¡ò*ì|œRßbí.í«)¾Ǻנ{}¥OíþÐÁ)¥š!)œ2òãî¬ÝXɹŽáã›{1 *Ãy–_;V -õ©ô(&D¿ìÁ± í÷A,A–ÐãÓþmšÉš —À\Ñg¥00uá¸dþ’sï“ÒË£H½j%(ÈŒPòŽí5 ŠJ0Æ©ý‘xóÝ2ÕÛìPÌ5¿RæJ p•fÁµü¢•ÝÁn°•žESQÆ>îŒk›úXÙxPQE°Ü²Iùñ¨]°ñ3·ëpœ£,çûõgm>ºŸ-äIŠCÝdÄCc÷¼–4<×¥¸ìcÖtÙ¶ŸjšŠ–1FgV`a\Ä;QÀ -ôÜ8F:/dh/·dŒÚ‚2º•Yi  vZm[-±ÐIâß4-Påë1ŸX²n®ú`«²µà7SGêintûò¤¶ž( ñgÌê³ÖÆ‹Îêœk pðØêë'ÑÌúÅ'5ŒÔ옪º5ø?Ä]„",ÏŽu&ö.`s}¦j¿vá/§õº“S5GÇðÎökVO[–¬*V®”g° -iP ¦8cVXÎFqÅW/v³öã¾ÁäipEä*œ È2^l hàˆÐeÿ®$Â(û5~V ô<,R·âݨRú=pÀ–˜pÌiû)Ã¾Õ û%.M½‡ƒ#ê`¦ %ù-«§ˆµ&EÕºöhþQùªÌð¶ÿ=”œO{?¶4yàªáëKÖ$W«y.á´{“-ÚD¾ëùËA+°õås¤$µã¨%-ÿGF±'äµb^§ƒÀÇ´Lõ g’†À ÅŽñÈBI'õ戧Ô/jÈ8±³§í‡0èG›œdñ(x 32øç‡5‘ûÏ;›Ç†òËáÈ(Ï÷;Ò†£x>m+´îÚÍ@¸KmµTÚM±óŠ^5<Úÿª)Ê,»ÿ5QÈꛤwtº‹ËJŒ¦sÿ#óxg©‡²ÇYBÇA’õÜ;üЊ§î<’ãñÔD7Ûá—1ìR§¾qc`;ÝÏ> Óä=š"ê²- ÇE–Ö-$Ò°™;'Z§²K">häWë×¥¼üÕŒ…h°}˜ý½ÍðLŽÎ¯+ oE‹‡RÑaïR¹µĆlž·á¡ÓÎIº­Þ"¯bçXNŸÌäýØéLÄÏ}Ùs‘÷‡¤ÚÒw¶“)8ž&ÝwCÖ#Á¿]™‚X­—‚wì!bÄ.Ï·:„4ÄÄS¿”Oa9ÃÓ_˜Usá\£Jå‘“í¤©|l²›uÅŒŸA^9«SZYS r)—í±&—JhÔ:9»$j`†E}Q9vž™ì&ôÌþ-èð -TÌçŠ+´¹+äe±Q@AºÎ{/Z²A¦ý(æê4';ÿìÞK5îh™¡¨¥Jñ5çªõÍçwÕ±¨ -ÔJ,lž• ,°¤@GúûˆÔÒphýW$½°bl|À5½2³€iùñGõÔÍxl‰z®37yD’·©¶±Ùþt| -{êDÁ®8L2S‰žx'áÍòL>³ñòä#7ª8èúH_;m?òâ"кPš“µ®¸ëÇjv-¼ÜR1túmóï1•#õ~q\ §‚þ³(;êQ’ßv‹¦,ãMäœ €Ë¤±lk;ø¹áÙɱKL§ÄQ;b¬)ýþc²®7»W[!r$±¯‡¹ —ÿÉ;Õ*¾ÐÖrv™âàÙøäQõX /oê.áDV’ ÿÅ?%\u‰*DÉ…”‚WÔW]MÐ-„O¥¡ìk°•ê¥U§3êPrxÞq(yÑŠå…Æ‘šûŒ`ëÐÁhÀíUd±? JåÖ¤›+)Šôo$DVäøog*s?Èô2S`šåowSèÄ5’ÍXª‡˜UÁÞKmS“ž«äZáW¬¡LØ–äv0– ÷-AæxA9…£bûà€Ù–‘oyÙ1ï´}‚½Õ=‚5ñ]³„êäaý7B0‡÷ïàÕv· *éž©¬BFÝé3Ñmä‡Åm6év©Â‹€ïoé?*'èöœä-¾‰~’>rPÏ/¥ÙÜÞlžJŽf ¶­'Ù7MÙwåÍjmìË{˜<†÷a히•nÇ˯è´aA½&æîãÏèCAÈP¯Ç‰M‰ìKÆ',ALûŠëÂï¤pb3bW—߸5íü‰Î 1—Gm| (ÌtF÷a¼åbGˆZböŽÇ§ ë­xÐ>¹xÍ>ºebLzC„®~,#>§ÙÏÔO³|}ÃGz oä°os§-Íñ·£h–.ͼŽþ[@ëC*ÕP‰÷ˆ+ ?áVza»8Àú˜„Þ9ä#ÍS‰°æ×/ž)z(ÝW‡6¹içÐEJo5ÜðHa‰µSl[Ð69VŠ±ßè{¬!Ĥ/¾Áå”ÙÅû"˜×?!ŸMðÉõóB;`ßÀ³@<òÒîHk׈²²·®fõí"9뎽áA"T¿ÂW4m©–\C=áç#´­ø9?˜¦ -endstream -endobj -2891 0 obj << -/Type /FontDescriptor -/FontName /ZRGIXZ+CMBX10 -/Flags 4 -/FontBBox [-301 -250 1164 946] -/Ascent 694 -/CapHeight 686 -/Descent -194 -/ItalicAngle 0 -/StemV 114 -/XHeight 444 -/CharSet (/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O/P/Q/R/S/T/U/V/W/X/Y/Z/a/b/c/colon/d/e/eight/endash/f/ffi/fi/five/four/g/h/hyphen/i/k/l/m/n/nine/o/one/p/parenleft/parenright/r/s/seven/six/t/three/two/u/v/w/x/y/zero) -/FontFile 2890 0 R ->> endobj -2892 0 obj << -/Length1 1752 -/Length2 11158 -/Length3 0 -/Length 12115 -/Filter /FlateDecode ->> -stream -xÚ­•c|ݶöMšÆÉŠm4¶mÛ¶mmÛn;McÛ6ßõì}ÎnÏ9_ß_¾ä?ç˜ãºÆuÏû^$rŠ4üF¶Æ"¶6N4 ´ Ai5F-=, ‰ ƒ±¾“¹­¾“1€Àïl -`¤0°r01s°0Ã’míÜÌMÍœä‚ÿ}ð[;˜êÛ¤õÌŒ­= õ­Š¶†æÆNî´~++€Â?' -ÆŽÆ.ÆF´° #sC'€±©¹ ,Ý?ŽÄmLlßþ½läl÷ß[.ÆŽ@Sr I -Т‘­•;ÀÈØ–Nƨe tòÿÃÔÿn.âle%£oýOû¥ôöõ­Í­Üÿ«ÂÖÚÎÙÉØ mkdì`ó¿KUÿmNÀÖêÿȈ;é[™òÛ˜Zèÿ½dî(bîfl$gîdh0Ñ·r4þ׺±Ñÿ¶Œí_è4”Åe%¨þëyþkSNßÜÆIÉÝî?mÿ©þ3üa`:ænMzZzz`!ðï¿ÿÓþ_bÂ6†¶Fæ6À Á -ÐwpÐw‡Þ ±<æ6FÆnc7 c:Z['à0o€‰­ì?“•@ÇÿÏÒ¿‰@'ð‡¾èÿ€Nè±è„ÿCßèt"ˆ@'ú‡tbˆ @'þ‡€ê’¨.õ‡€êÒ¨.ó‡€ê²ÿ!6 ºÜªËÿ! ºÂª+þ!fÒzQþC@/*èEõ?ÄÔÓøCÀ=ý?ôið‡€> ÿC,À=C[+à[óß+ ôÀVF!лñŸz ‡_Ñ?ÀqLþ °Üä/dþÍÿð?Å…étù«ÿ?û¶Îµ–˜þ…À†fÿAf`@fîvfÆû®ý%HÌÂò/lõÓ°þËXø­ªÑ7 Ï1®ñÐB¤¨&̤™PŽø÷^øzÓâéXò’@à,+·Yaœ½ -ò%׎ŒðçËÞ†ráDdàÀ`”„è#Ì‚Ôµ'«ÿ}óM¥xŒ0+öÓ&~2ÙÝθ;}©$)…-#¶–²6±šjDø ƒIÁÀ_CEÙ”<ƒõ“j(w®Ôå -I ‹Sá:­,¶L œ ¤Ò”/3ö -©k_’‹L•Ú@ðmö´à;(RÎÆÒ§h„=¸Œ…üR‡´N†l“dì6•HÁ¼ŒÄáï>X»ö9ôpïj&—óË::èXÄ¿Z . -Hæ|E¿e ×!Gûk]WV=[‰Òk›rE´Äêäøæ“V¨^zòxËxí þj9A gø]ºôÌ,Æüå­tg5ÛJ4›ç<ýs®’ï´n¡!ÖLæë¦z C -À·¤ÃFyê÷…CuMúwgb{KÚ/ÑÛyŽT¬dÈÙ…"cŒˆÛþ—ሴÍö¨,Á¾xDL^Îvx‰¿»{ áW}e’˜NažÐ÷Fí¸|ƒÐRƒxõ³6чE9¬±©ö¾Ðœä·ÅæëÍVµùï‹RØÉç ¯Ý—sUƈÐ×~0λŸ’UV²Ë? 5ë‡qGšš};:)Ü¥*½1äˆCÂí/»<Œ ¥BÓ6ëž Ó»¸v¨ÕpOˆ¦H` -V©ÿÅ.ñ*~oÍWs,k=Y—Aÿ<¤Ý'¡¨1ÏŒ5ŒÁ¦2ósY¸¾eÇ·q_¦6Â3uŸ4v˜Á„ï>àŒ7VÔþí÷1:‰² zö×Ö4þÙ3Ešü€¼>ÄZ·Ì±÷ÖŒ¼ÃMM ½JæžOyåò-(™ÖÑ9æ!œ¹+S‹”PghIZ£»?;®—™H6£ß Xñ,‚¢ø‚Íé‚aÞqd¦CÄ*œ÷Ž—zXêáЖÌS ù×¾8ÌtÁ˲HÁö³’½|K…˜`à¹ö5ºß=¼ð; õ$?Z!6äý5à˜C -Óç©Æ£¤¼Â­/1B°vþâÈ#|‹à¿€¡A7WÎ×M— J }^rOŽwq„¨#‡ß)ºˆoÔ™!&`ÑhеÉIöòðÃáXŠÚYãx·~÷m%ÿaÂñ.1};©¯ÔíhMtVæNÄÂjRG]‚-ÞÏÙï –.#…Õíq·¯êUÐD®ÄQ—6É1#RSɲÇqéèÿÛ,9’ú3U‡Óf ;Wúö若䈔zi¥‡vfGJ‘^xQ,Ð_rg:ÑÓ\Õ©¯€®îœmUczWéü̧yÄ׺Iœ9Îý¹ç$ó5û\/¿×ÀͳÆ,“»_+ÈÞ·°ô›×ÛRµá²®¬èÏ[R™²Âh)d—Ïmö -¶ ûŽ_™j“¤Mžo&uy×ÒùcŠ]EZ¡ô1ÞešxGÐé]ç~†„eWu‘jã«¥lÄޕЕôm§ ñ«pøki8.#Ñ„—Ý 5õh—«Œ©¬¯ßm‰ÒÙ^š¸¾ì•/‡­Ô=óœå‚Ž©X|ÃI3•†:‹ü1^þË?N&ŸðE´Ž“o¸‘p±£EFZ…@qûóÑ÷oÂ䞎Pã…ý}¼²°MŸâÙ¬í}¢n“zá‚ qMw‡Ek­Ñć>¹×Ør¦"YC8ö¤8)ìñ‚´ëá+i)©Éâî¼TâQŒ1÷B5k†Öqì—ÛSäIé±&ˆÑ¡›CìžGÎ×hëKÅ•…å¥Ù‰gwéÒiQÓxž;ø TßcüÜ^u9žChÁ÷·ÔZÛBÇÍ“ÁgÿòÃêIe°î¾ûSøÎç=ãV1Ü.3E3”f-ýrάÏjS’sS‰½H”C¥I¸ðá×÷‡\ -µ*7OÂ×M>vÞ ûÅÆoWï~ÞYyž!„*SÐÝj“’|9(¿µq´‡f™¾yBi‡äJ”pº²¤Y—• ÑŒ}»¸P*SÒøË帨ge ,0"‚smAÚ–Å`&h}Íl0¬P0ç$BÃã¦~Ü Ô$i@[K¨)1"ØÄ -M¶Dd¦'F÷½Bà#bc}‰N|ÜkV#Ç <`¹_l àB–œj‡{Jü«3‚ͼ¶ëHïj/Wn*꜂x¬âŸr&aç»âµ½’£>!²r·ÞÈÂàø<þÅÏ¿à¿Z±—Ç6ºÑê¨t•,G±dOŸ\diÃFÄ-%´¾}‡®‰`¿áš>^Slí•æCMq,²æcŽ¸ë‰Þ¨ÃåŒn™gPœ[ ½J€©9¤Ô3-ubPh\Ȫ•fúøøNQ @Ñ·a´x°¶ -¼pvkü€uk(ÔeÛ2øQßLð';{çL6+ƒ`œ¯"–äcnÉÜš\>nwoŸƒ‘o¬‘Óµæœqép¥+Ù`ŽŠ]o136ÎüϤçyç‚\L2y0›õš¢?=¸®y*O…ê nû‡Aç¿TºÑóü„/Î1ÙæË8R¿~w‘9mop•øüÅW@²«¹Øì»aŽ£€‘ª1Z—ê﹜9DéiätݦxÍB.!¼n AÞ`–õŒõúK¥çduÀýËÅ ÷ÉçŠl¬ºÉC×%ùwo1‹¹¨ûƒ®(Ë»ò÷ïÞ¡­ÂáFóxýLå/äÜKdç_Ž7`ÖiÉõ¥áÁ±·ÁyGÑ4K¸A6;jP*vN-êÄ‘ ]CŠ„µ¸9ûÞ)ËšXê š%ªó guÉæ:[f™.é JÅ$ÀÜÈ£Y5(Ä¢PúTÃîâÔÏ -D(Ü– Å#8«jyº0GÅŸëc¼w)ðw;üoº¡÷Ãâ’°’ÜÕ+Vv¦+¹&{8ƒßae5¦Ã7ñMûƒJãJW{"…äOî¡8ëωÅyR¦Ú¯>Š´"rŽîŸÐ(uÚ‚”ÜáiŽ8Û§d¾6fú¢Æ£švõ!³ž‹lÿô´ëD"ή¦±Ôè­YÝûHÝùq<4 UýXïΊnîÂ{ú*Ÿí†}·îä«ÏÚØ“¡¡=íÓTÑ6ú›áúF -tSs Ä0•¤VÑ“°F䆭JŽãIËmã»w“Cžd€#B— ά}:oßoã‰O•¥ë½'>ríÒ±K*œtä,é9ÏJ®v~æsM;‘”&ÛÖÙÁ/O ÝšŸql“°³—~ß- †hüèfÿK¡ö®,«]Ö…þ<Ð-ñ¤'SbE;©×Ž[‚‡ÔdÓ¤®+ü…b# u ¢À‚†¶Ž÷áPº1)[ͬ¤bKŸÝéú7[äÆÀR&˜ÚƒõWX†4ç÷ùIE‚e¢*‡,öY(^„™w¥«Oµ†<Ê{ƪqþj­—0‚Ô%ö¡úŪ}¾>®áþáE¾ŸÈ²ÍjáâHW#‡ÒS éN·}^Wj°®Ž’â“T{êéP¾ê9AríNò¨ï{ÅyâÕש¯q@˜Ñ1ÿd~«¾Ÿ2[Êý=]öyã@5­¢ÎeEŒãÜ2o±ëŒ6A@}FÎ>‰ 3¸šQÊ,=ÇõœºÛÊ2ôySŠÏ*4„Óö[‘òn¼ðXÛe}0>–ŸCU·Æ{·ÿ‚`'ÐyÐäEÜs$aç#~5~fƒÑ(¾5l’ „D òÓ ß/ÊŽnƒÿ6‹ žs(ÇÜPuþKèþꪟ\•HvGÉ‚s¸Ïü¤Ç¾çÓÑ6KL.£#¡ÕVðžéØÜ=¦õG !yïwö òŒ‰³.'»%_SF8ø³èM¥T’^j,ÝÀ¨'ÿçü•wgœôééˆcŽ=¾— Š£CñÜÄ Nr÷(¼r‹záò1”‘jë• ‹ë†8ŠP2¢.–sxŸ±â¾šm*0Ë2}¨ÃuÜÓ¤ìM&-Ú=jÆmÝ.³l&q¸#’ ‡AÓ’Ÿuß=#ßyÞÝ -&·!ë…Ô¯ÒÌÍnÈó¼Ì®;í‘ô?Ãn¢!÷R4Ÿ3×8m}¹öã™öÖWxerg¤výQÈþì™8a£.òµ=;$[T,”hÜ("©L“,(ÑWYÉ9s2ÝÜ[ñLÅ™ CÙu–M‘õ3Ù½7'‘Œì»E[(µsŽ´ÞÝÙ¨eÑRÿxÿä{˨…ÏÅÞ€zéÂû™·ìð¤Û ´Ùð…K™†^,w‘I4ïfÄ$ì êóϾyGâý¶HZµÒ–ͬFg­†0ºÝ&À&õ=ê×@ŒÐUƒXÿÂÈ+–~˜.Ži“+ðEi-ôAÌÕèßtUÌÁi)–O™¦›²ãÅ—ú ãžlí‹v"¼µ7ÈÓç”.•F»àäô±%;­4û¿äJ5Ñ­û®9vÆùGo™“_yƒë¼{šKœ:Ô3¦ÍS¡£P-`ÙQCXà©æ+úq§?†fwe· ÞñEœ)ñÆ ~dyU@Â[ÌcªLû„Ê*££‚¾’rälžù}pìÃêçš>8—“ÜLÑò'Ç^ÆÈL"öç°ÐYáK,. ‹¨±‚'_ õˆ®×3íÞ%`>í«ƒzZŒ©ï>OF$Õ‚mMÀ››|†ú²¥1ïZÕ|øZ* -f-Ñm´?©ÊyV5Ÿo›aÝȼN±¨Œ ¼^h’ëPàÚ@Îó÷:¨¡‡‰)œòu^®½ã|r({Î’íýˆƒ_Ë Ró‚dšÙ,jò#iWÛ“J|-TaËϪé”ùM|ã°®ŽŒ÷2Ϊ£òQ´™Gï]c1O÷'§ -§Èg°&Š8œç{gG’}:V0“ülyÂ×÷þ©aËó]yèïR×¾”•ú¼ƒAö…#Ij^®žL¨5fþ„ S%ºNÞ®Ýä…ö1æ^1V¡Ä_ØÖ¾×¼EÌçn“­ÂVàŸd¡Näõ1Buøóë`ó7”îð|¾i äÅ–ˆþlÆ´q–ã¥O¶¢¹JV­t–ˆ\\öbÖu›Œ~a:.ÊÂìy×D$½,öÔyfZÀö`Ó)p]íÇ¿¾Àh¯H¯ÞˆEª -G‰p–#%ã mzñþ»ÛFÉÕ›†7$ß«W´Â²ÿŠbŒ1PÙÛÁê3—Pâ—½Þ4î­ã©Þ+IJ»i‡)žO¹à.Ÿ›ðŒ¼GŒÜhcsò~—…›ç=I+GØL¡îJs³L)·j’ã_P3ÿ,=wïß݉ 8AR?Û:.R4/&ùMP9 ª‘Vþ;jÈÜï•YUVŒØ ‘‘¶'AÊ›Å]×ÜM;zÌ-aRSïw%âqEÕ…cRVÀëiñ"2ürö=Ìúý{¹SÅA³k Ôb¹£Êî+.º6TÃ!äò‰Ï3ßÙaµàù9Q¶ƒ|¢Ä§¯šûlB¤ÅñnXcUT(°ËÆê¬?žxn‡ø¶Ý&«à’ãäå&õ¦òrE=ƒ~2œŠÖ¿Mà¥F1á°ïÊp,ƒ}©ÉîϽcoóžñš-™¦°÷äÓÕºK,¿«nÐùÍH¦†Ç Ë=Õ¬]·cáÜrÕÛEÞ3Ž* µë‘D­/Šáp+–úA…ÖÒeö#"ÒÉ[Ös–¤—×eÍCîH6¸S[!ð®…þåmpbäÃ.a?Yyrì™—1rÙJ¸¸ÿÄ2;Ñåev8äq¿ñ^ÜkÓ7¼™ÂPàñFÓïcFË?2?÷]úÁšxIÍHïbÕë3îìAEvË#§Ö&rnœ&v.•0lZœ²lî·zÆ«BæMBæÁÌj0ئƒ$Ò²l ê&žfd¼¹õ+ÖæÇK ± Su¿äÞ`d=øPHTâÃ饕²Wm™5Úþ¸E̘)O2ÿu’›‚Xè£ sBù#ƒm-ÌQQ®tD©ÕAVÌû=ëcõDWÚ³'¨P]Þͯ¤˜KˆJ¹¯¸Ö¦|îq>…öµã›áï Õ¹cnÁà÷Ý;>«ô‰†cdÜ~û f?ï çYÁ‚ÍÂÑRú=Dd©©Ñ^VlôɯFÅx(OÚ=cZñsX<)ÂF'–é†jsg”YqÞ'ã¡ZWJ âs¼gÙ†à˜«é¹IꙃOáuGxݺO#G‚‹ ÝÎô(¦ôLOæAðͺ‡ºÅŒ •¿Žì¤ïaßKµ‰ÉQ x‹æÞ?jƒÏí§T_ôŠ9(§ÂÈþ{tßó‚»¼ÂòpC…æYC ¯|Ÿ/(«³,Ë‹cG•Ð”غ¡õ1! -CõÂS²HÞsÕº¶‘/ -[*ú~»¼6¼¹e’žaìáS[aù¡SзPïI͉÷±dš¿ÏˆûU1$WPuÍæ}±ìc 8¤B]´ó®ÆdT³1u¸_6­¬žlÅXCö‹ >ªÚ[«Qô d­ÑÙC³!¬¹$ ì£må#AJØ;•Òð™ªÍÃDwòÞÑgfÑî -Tû><ÏàGï·Š¢T€§Æ 1ÚC$ÿ ¨û¡Þ\"¤k((]ªÕ´‰µ"^9l¾P£'|4CFrF?óŽxB¾Ù^&ùàÚ¶ot°Á‚‰%kÓESê6F²"ä_i÷Åc½$åîÜþ ”v¸Ádv€Í÷ÙRÅ~”ÂÅçþ8]SínhG¦œQ¨H1»÷dmõpýÿÝ™¶€5ùÍ_ØDAýx«ÖèzšWrw{¢«ØKnM@×a4Þ,¯9\Gœ£—äBiôŽÙcZ¢û¥õuÁúF8=ƒt·j/ ¯‘6-ÍÚ÷ ÃH|?ËX:åN‹Éžsý«ì>7?ðT¡Oøå߯ÂM7ê>üD…¾ÍóW­+‘ö:2øÙÑÒ85“V3)a]Ú¿IMPÓ’Ñ]£®i“ŒÕ‰àæ?¡…‹Ê\‚ïÒœ/ǃä[Ë”Öʪ=kYQ:Ögø³ãî`œ&3ït»=žæ2.¹š»|gWŠ×ŠQZÄçWS—\ß|v>T1dË•'%,: Æãzß#5T]gÜ­3c‰t¨“ÛsÌỼZz^¨dcº’@Îàs5ômë~½ýó“hw›KÍ喇­8(hs§ÑÐ^‰5…(¯ÍŠ¹ÂU’à³ ÁïEîà”2ùÖv>4t … -ê(‹ûMÍsÝ`òøÆÑ_süU¢Æ H»Þ康#¿»^Xs"ë†ý]ß¾ÇùÙx „þ4ä â}§‚²Ouœž¡‹šEûÒ{ÜqÂVó¼ -|òÎ\-L¦@x½nïÏL9tGÕ‹ÓÔOj‰¡øñÎе̉*6¿›fmaòê~s¶ƒ6›µ|Mð}Y}Û1‹?Óa!7»ñô3:)^óè‹~M¼nOØOXR0i†ÈCÐ ®]pÍ»»>%ã -õ®pbWð{Ü­ÛÂh ê™’ë-¥1Q ö|à'U)Ò/~8gF3Ñ×/Î;\ÏΞ=Äû¢Òöz©0{ëþÉ·¤%/鸵å<ž¦ˆàtäQ÷IMLAÜ'óhsý,ZdóQéqˆÒà\ÅÝË ïäöÎ6]c5’9\•£B“4$g^¼.½ÇP‡#wÅDG ¿:F0'77±„Y·pfæ9Êî"rÆ VaÝÖ[Z™¤–ÍM¦&#¼§ë<|‚¾;Õî@âÃ'o¹6$ÍÞAA/1{Nš@ *==ø.£€}宧çç©-G•ÚîÇ›%ÚHA$¼¡0}|má z‘T³ßTI ´ ‡5Ûs›„ñ‘Ê ¤’瀹Úñ£ÊzÜšS{³/ö¯yuÔžÌ$` !^¼ÁÇ`‚@Î!IK0g ßxÑRçiQðv»¹šéKô†^ì0L8LÐey>\ú=P+ÝŸôèd¶‰ã]ðƵUÝ%îÑçq›812.uúÃ)Ž2Cfzѵ‘3½›±v^àÌ=7‹áU = š jÙ˜C|ªùí*$o€®J÷4™$esNaM£SØørÑPcP€Q=ìh §ÕòðÂ$>mí×,šYZußÁïdÂ\gB‚9Œ€ÄøK~rþ6T’Æ~j'¾g†veRxeÈž 6¿u€õ]Š8Íßã†}ïÓk[%T ñÔ¥Jítp#ì‹¿”µýñïÃÉ´ê³’ð_£z`Önm«A24#ì'Ʋ´2³urCˆ„3üÕ-sì!D,èô³úB\…—pöqÕ>óØE¤¥Ô¦áR‹ßP´O©ú‚xµ¬ŽÀ¾–Ó,¼1RqãÆBqNZ7 Q* ‰”¥"ÚWƒOì¾òyH7>®~ÆV@‡(éc6@ÿY¦aRXg‰ñµæ3wóRj6¹wægîÚEŽ4ËrN²"U ›Ÿ¶}‰»ì‚å, Ûf¶Ô«ôtuÐèdC2ЋS?TKê -Li§zãg‘ä9)EzôU@Œ(D5¸Z-”CXt&ÐÌ;’Õû¢Ã²¾~îøö¢1ÎTÉ—"a€O•Y]3 F“D“†]º7âkçyÏ*?Ú”`}ë ;g9”2]o¯Iî3§Ò ,ßq0–N¤QqF3é4£?fÝú;Tö §,Ò©²û”Ô´,Ø,â–C¾AùïÔŽ†~Ì©,us!Å1 Jþ:›±Ôõ -œ4Åé;Ò®ô¿7%n9Ñ]‘g -%¢Å‘ù&m£K%©†§Sß‹Éat Fß®NTdmºÙÄ×zݤä Ÿqx–]MB¸q|ªÌ…¡W0|*YÌ™4Ý‚=ókZCŒúçÆ5º -íèëZ{wöIîÞGG¤ÖR© øÓIä|ƒ¶ Ù¯‡Óª(îL#bfà±Åì’8¶égq ¶$Ƥ6…%aœë<ÄÅSûƒO{¿²U@I„àGfTV|òÇ}@«¤`…&҈͇Kî«ø³Ö#¶}Ï .GáPA†BtšÂmçÆ(ÒzºwŸì%åR¥(ªþÖs(êxæ!Zˆñˆì&Ý­FѦð¿¢$8V…b¡Æ­Åèmd;”§²$ºXíò—¡§NõëòÞv»ìn* -­sˆšWŸñ€~£¤Œ®ý¥ñï}ÒëZŸ¿bH¯àXÍíYœ´˜Ã»Ù™¶6Œ×;|hgì׺Z´°]ìвC¯ÝÇåš^âãWû“QRSxs"–]#¼lu=Ó -¶:yÊV×õàȸç -òQÃð2EÎ×u?[±gý‚{/P -‰BB_VOÊÓ¬baÐá(üH-ùšÿˆ÷)"“WêÝ®} ;½ÖŽz°ÔiKir€²¦È÷Ü8© })Ö½hC¦ÈdBtìg§²o -‡®ôv ,4‚À4"„etv®êElƒQb¤Ô–ÏüŒNÆØË'‡ù mbÜ QǾ°7#¬~fˆD/.D_r®Ÿ¦Ð‚¬Å±ª6 ÅŠx3ëÍNª58êLÆö½ù»£Ìµæâo)[uêŠ'Fôz’»§Œ% ¹[`Ï”&¨À-iÒÊ2?ÓI~Ô}ê ¬¡¯ÿ”1 }â’]õ±~\[nTŠƒQ[[¦’OßHó5Ñ•Y|n:#$œÌ‰Ö…„<ð!ÇÀÆ?® ‰y G|Õp/Ï0Œ\$Á¸+³ ¯Nïͳw÷IŽ”;ŸŒùñ’·5j²Ä#–·Çít}Ú\;ðâÅ=5ßPfknŸÄù¾Æ`žè­ô^5„åÑ~¬lê:0!€´€+´XƒÝ†X†‰lIáTÔSÅ¥œÒõÐàŸ6õ K¢?ìnÞ”‰™ÉBä+»k1XÏÏ•2«‹ìF„Ô ò¶n‘ôÝ„Œ*)-‚´ qñ”eíeŶ1‚†Îû -}㡼xvE­þj¸ú®È#¦£¦pg4‘¸H¦ÅÎpº¥Dÿ®»:CŸ¯© ˜\~ñÓ Ë±tNA%c¾‘|Œ·´²€›’QÞ²wUð¨ÚÞÞ8pŸBˆÃ›ž¯Pé+>#”åEmEd`€ž&]܌іSùAðÝTÇläxÍ(¾!kd § Æ ƒkh‹Ñ¤ÎhÎ-:—£`Ôüþý*Px\Ò%2QÐ~Ÿ\Ëü”RzÍ—`@åwg¬k翯^yñ ­kÈìû×þh{N'ÿŸ•þ ;PÝJ:íÓàl|ˆbù”KSP4òY·ˆ²Ã–úxK»5×G‚×¾v!bRmWžuÛb†œ'Öþ?"¥=„ ÕU¯¡™m.ö¾¿lÞ³V ⸶Œ´¤GºË#åº Ç†öñ=Á*yçÝ›Canô¡´z8ß½XÕâÀÜ$áã£G’œWV#ñÉŸ ýtnÙb»›”q–¤–1ª‚{Æd¢©Íâ iö»t«‚Š¥ÖNÁœò(Apc;ÿÚ{ŠD—T›m ï˜FµÓv oôÁâK"$€¸M׎Šö}‰]Ú_žðÓÂ:r4‹ádPO9LvØCâ“}f}&–ªR%‘¢.©ƒüö”‚ê«»»ÆfºÒâÖcþQk’Ìú*9匼á5r_s¦²¼÷³¾’‚rÏÃ’æ3ßÀíóûn–›nu…žíyþ©XyJ;A†áÅÐ Bõ-C Ç_RA2"Œqù6éžN¤ -i!Rd0uD4< Z”¸!rKt‚Õ%Žk†Ÿ­%ùŒ–]+ðä©\¥lJí‹o¸­Í†YÕÁæ3«`ó¥Âûæ,¤ö°E-KŸáe)UÕÞ­êÝK{úƒð&»ùLçg“ÚýŒÆÝé5¿/å™ÐâBЗKéÝÐò¢–ëú‚.zzü?vÅî -endstream -endobj -2893 0 obj << -/Type /FontDescriptor -/FontName /RZUIOJ+CMBX12 -/Flags 4 -/FontBBox [-53 -251 1139 750] -/Ascent 694 -/CapHeight 686 -/Descent -194 -/ItalicAngle 0 -/StemV 109 -/XHeight 444 -/CharSet (/A/B/C/D/E/F/G/H/I/K/L/M/N/O/P/Q/R/S/T/U/V/W/Z/a/b/c/colon/d/e/eight/f/ff/ffi/fi/five/four/g/h/hyphen/i/k/l/m/n/nine/o/one/p/parenleft/parenright/period/q/r/s/seven/six/slash/t/three/two/u/v/w/x/y/z/zero) -/FontFile 2892 0 R ->> endobj -2894 0 obj << -/Length1 776 -/Length2 1619 -/Length3 0 -/Length 2157 -/Filter /FlateDecode ->> -stream -xÚ­R{<“}&©žI”ätDZlffνs–ÓœB«˜íÞ̳ÝãÞEÍ9½Q« ©‡”E¥ôh**I‘Sš¨’RÎzGoÏóyëß÷sÿs_ßïõû^×ïú}uD_#• -:±!®…±ì=ìñeŒÐѱ‡A2—Á†È\ÐÀXX`B010f–Xœ¥©B°gGð`=Œ èÛ,’ð -<ÈÜ0%™A!3_6…ry(€Àd>‹'8€ÈáhŠB`0•Aá¡ !Ћ†\!À+S£"¾·¢A˜#1èKL‹T6ÄäT†@{²%Z ÄÉÿÃÔâ˜LO2kqübH?µÉ,“÷_›ÅaÀƒMaèGjøÍ››ù“Š+—ÌdP ÆßJ Ž#¤\J@#39àR„¨?Z¤¶d½sa{`Жo¯¹Ô#’×ñ÷ÔEòÆüƒ%ÙÀŒX€dŒ26ÆHˆ’ïûßî´! -›Ê€$ë€3È0Læ!${!A8 0 * €±ÃhÄæJŽ’Dö46ŒX|L3sí°XZBxcíô’ô<ÿFæ&Úg ý|Y;;vlœ‘DÒÈ'Q71·ð8̾ÿ!R¢`„¸Kk$‰ì;¦1$ƒ`,HAtw°)VIá'®¦”íw<ó伬¡´ýZ–ç•Ûm·äø]ÙÒÌsÝ" {/Δ ”Ö ÊjÆÌ©r2jã½›>ˆÌÊk_Œì­Q xð"´&ùïn^}61‚“öjím*Ë *¹'ü«á}QßÁohå ¤”ˆ]%:™d†t0ýS“/ëb‘>Šy‘ei¦©âÅœ£ËÅ-üýá©«®oéc×F­›9³ªðØB° µyGȤÛèqžüë3Y&×U&î.ÍxUèe% -éÝ8•5l¥TõÛå‰êYrÕÄm#¡.|C~‹ƒª‹·C`²sžÅ¥ó2ÅÑÑóµ¾Nñ$zÀsU‰•NãÉyuw*ÞìþÓûpÞIºØ;aD]sÝݺ>$Æe¶ón-«,ßXjÕÜœªzÇîµò¸Á²|ϳG‚é!uþWÅ›{ÎtC‰õÿ^á¿GSEÔv·h3éx?8Äj—¹˜Âšè¡sƒ8æ•=Y˜ˆï‹O ƒPúÆ}i¹G¬ÆC•ÌÒ/ÎÖ”Éó3´ÔˆôkÆ4²¡ÂEåp³ˆËç„›0fñ|\Ȳœò;à'þ4¿´\/%º›ìÓz~ÊÜþiäΦGÇ3FÞóÖy?m Vú£×h%<%8‡ })Ä_2-TÙPnx:Ò@J3¶ZÙ7†~öKWâõØ‘Ìl +Í_+ ÷Bõf…P³øÞÔËfå®'•nwÂQf_ -àì¢ÂIózí)7*2—÷É“¬Ó0ámxwo*òˆÚhÏ4Mv—ÿp¬zTeg¨x^÷àPSÚÌ©°ôLÅ[*Ô›Ä]åÓ§³×®t|Yë–a¸ÁÀx7¾÷椆n=_?èì+_›n“uTÈÒIn´dÛï†uó3G‚¿¾9£„“7Ò©-®:zøs‘Ú»è²ùF{­©ùù¸M¶ÔÏy=ÉßJ¾5ÎHÙºbŸWÞv“Â}Ó¯xÕª±]Št(÷¡¶DôC/5ìê5%ÎØ"fUc 6sýX*æêq~2ŃRþ8…! +dmÉ —7ãÙ`;lBmÙ¯±e¾}lâMh!i¾ "*Ì´]ÿåsÍ2U˜; ‘ŸSÌÏ|Øàºu{'%Žß²?2ãþêˆPŒVóhkk¿xï[gØÿP®¸¥ ™×¶©QTí4—öµÿæÞÈBJmOuù=ÑS£þý8 ÎöK=‚ï9¹>Ô£Õ¹V¿/©ˆ% —ÓR”Ã>´{úù¯ºfµŠ6Êèb>• -¯¨|æq(­)…·|ªD÷ù¹]ù1µDï’å¶Ã)üÅÂÑÑ·‚=wjöÚ`›·+×9W82ƒêò™;cèᬛ;ÕôF­~Ö+D=±zú×.šÃ™Ò6[Z/|òïLZ1?×Ða¾óÀŒå®Ì‚HäˆbŸŒûÙˆŠmƒI¦}&ØäU·Ñqr•ú­BYÔCê§=Ѷk*7©(U‘ju®ý›?SÉõ}öA‰âSxE-7©îà 2wîRKÅæ牫çצžßštǽ¾oFuºœíV}É„õë¤ ¾qÔ7¸g ª R±QêŸs·¡*0i;_‘cYgÙ-° yžwGSgMwˆ’êÜ'z°X‹¾~Œ©šÚ9ð´‘0}µL´¹. ÿ`ð󌄵ֻÛdAbo«W>ûý --[oA7Âôùœ£Òzãë3°ÍBOïdÚða_רád{{×°º1k”8ófX²ÊëO/„Úý_£Ô÷1>Ñší°-w݃7ºwe+9k;*’T9òo®‡LÛ$T‡oÒL—÷|¼ ¤{h\K—%̆ßyg5JÏ8¯ªŸJd¸ÔŽ:«Ï)weÉ4í™.,Ìц–‡b"ñŠUMbµT+™„ÖvC톋§¼·}„Ôk|gM÷óû ä˜ëꦋq/û„…'‡=òJ„J‡Ç^­ ~ÍWWÐ>Y™‡;¡tA'å¥B3¹lY×ozü²b•Awüá³ZÊu€B‹\ªM|Ëk -WÓ{úë³éGMû>~DÈWÃnâûµÅ“…Ê(½/ײŸ>[h>#Ývr¨4æ´Yimžc×ï$¦ú®v½GÃÌës) -endstream -endobj -2895 0 obj << -/Type /FontDescriptor -/FontName /ZVAJXY+CMBX7 -/Flags 4 -/FontBBox [-55 -250 1289 751] -/Ascent 694 -/CapHeight 686 -/Descent -194 -/ItalicAngle 0 -/StemV 127 -/XHeight 444 -/CharSet (/D/F/N/R) -/FontFile 2894 0 R ->> endobj -2896 0 obj << -/Length1 840 -/Length2 2153 -/Length3 0 -/Length 2721 -/Filter /FlateDecode ->> -stream -xÚ­U{<Óín¢b©DÔWNIìÀF4[¼’³Z 1Ûc6fs¬H”B…YMI†äPè€"‰œŠB&•aH$’ûz¿ÞŸçŸçºïë¾ïësÝÏçó¨)Û;icÈtOЂNcj#thkc~ÈÙ -:pI55,$2)tŽÈÑÂÈ`XÞÂ@ õôѺB€¥„1(Þ>L`VóÉÀøƒ -‰HlˆLÐ_؃D¤Ntd†é*püQ8‚A #$ëH"™Bbž 7…& û¡ÉŠæE þ“Y¥‚AFP°C(RJ$ÓiÔ0€ zIÂléÂY PÉÿCÔ¯Í-XTª-ÑÿGû?}úƒèO¡†ýÉ¡û°˜ °¡“AíW*üCž9úŸAVL"•BÂм©  ÐÓëý§YPBA²=…Iò¼ˆÔ ðg¤‘Õ!tï§ -˜ÆŽ`ç õ÷b¦í‰Ó9,àÿðbÄ?Xhƒ -¸Àuàp„(<ÝÜ~·—F¢“)4o‰Òˆ 1LRø„„D - †`¨P3L‡Fg -K¡3Ç/:CòÇ^ ˜çÐO„€£å_P˜¥þHð/¨ Àÿõóo¨', ôŸÿ:dnNÐFÚH”P/Ò@0@éû"‰Å`€4æÏ7(ôù/ìE®CA’$¿›N2Žñ½Xz*ïøÞ¬¶üUšAŠÜܘæªØ»\cÁãõŒ²Vgpë4êK)áŒ[ß„‘½Pýò¥˜£ N°ØhÃÚ š™iNâŸH×#+3êk¤ýÓÏ|äoûP¦õ©WeæmpÕª¢ý#žüøYѼ—Ý‹ÓÇý"[úùR—È*ƒI·ŒŠý©àÁá·žÍYÒ³èüœF9×´Ù%¾|Í뿾µ\£ø ›Ö'ýõ†€‰{Ï¡ª@Jïí@xâÔ%îÈÝ”/¥<4®IéÙw~⎱=†!^¥Õ­è‹-/Ë! CP•Ï à ‡¼ùºÎ3.tçã&Ã1‚ô×duÂú#¥ÇÕ¥&wÄ~¸|r•â¯;yO_Œ7³±ÿ‰;RJD³Ë ­¶d ÀëšÃ:4ÕÞ÷D‡ehˆ×j²²Ù“ßLmN"?âøŒmõ\_Ý>5õùJ}7­‚¤ÔmékŸä}%G-wWκèÇm ZÚ÷ö¬œJ‘Àê2¢à‚ÕΓ*_Ôó-^Ó•6‰µ>Ï͉¹"ȇöÓlCK®Ücrƒ›Ø׺!)³I‚¶†”bïí3ÇŠèQÚ h!¸<#>QÃõ¼&®EuKˆ›îŽ;Õ¢.öÚ¸c©ùIÕ™=b:º>ÿ»tóÍ'¸†DŽFöY ,{ð˜Àb0o"²¹âC¼Ap£:¬7FFê°M<*|?—E‡}Š¶a»wk RèZÌ -f‹3fgÈ®_Š|÷ SÅÞ8¿O6Þä:­•ªÂò·EÊy*9~$ö"Ѫv¥aÚOå¶Wë&×pª5y}u -L¯™% -DÒÑï‚Ñ1!¾»ZçGF'õ~®òÑV‰\êR-\Ýäe/¿Éõ=ÌÉj/wŒ}“ÄÁ¯F¾Ãßؘ̈́ëɳ©-Êëðƒ™|ÅY #‚¹ã±õÁb¨Õª/·Ô(Ò9Éq%OõDLJ”¹±³pÀSÖgÖÒrôÅ™ ÙMS¥š²å‹÷õñ{2fäóƒ«ÂJ’¾¹§’hI–C1)’jQrù³x;[^gu‚È°ŠYÝÁ2œ¿iq~)g£ šŸ¼ëDuôV;™S‡ìs—þïzåUð<õ<ñÕ·G©_̓žÏí9O5¦E»-«&—n{£¤üý 5Í'¤bfã JÕ‚„¨··¬_hd ‰A­TÓŽ'ˆõìÒP¶övåab…áîMuš(îÒíTi—Wñ—×.Ÿµ=>v¤³<ï`‹L‡ØO×9j¤dž\¹_vÛ|mÇïNýìcFµí CnZ‰| þHòlßù‹7g–†tî¡Ïòܾq³w4ù½¤ ³°]½<Á,éÈégú-[ ã,%û¶húîétË]‡,‘¦3’VÉação­¿lÅj¿ø®kcóí˜c²ÂPW²ÎCÅëÝ«æoïP½yºÚKóvµñý5VØ[-¨Ï©åâïF™Ô£»·¤¥`]¹ÉSI^­ö5úÊ9ò)i¿Hüµ5¸Y†þ¤kcý'h^CþõDÍ8°Q‚¿¼Himós¼z ë0×—+Êá¾T2 9 É[È4oÆ?òE›lb[‹H†!F‹‚dÇî¤òÙ¢«tãQ{y [ ‹“ž]#×8etzáÝ£°RØ“…Z_áë <>{}=ÑrÖ½ÒÚÂMŸyXÖEÿû5JlÐá##]Á€«YéJO·äb£*£¢šõº<¸&ðÊ: ;‹Ï)U¥AÏFÖùoªé88 ·Ýõðªg@b‚œ8©î†“Öw@lVn§ëoŸˆwÏRF2B•¦tÚ¿¯ïêô¹«‹ÍÀMx[¸™ñ -½ždšã³SßêÒûqðnÙƒŽ«8.ç\d«µ/5Ì™^’4ä¼ hC”^ª‡ûG×FD3¦\¾èu4\{›€ÇðØIš@üH Ä·„‘pýŽyü‹ñÌi{]ï6k‰7¡„ºsÓ÷`<ýsÛw«wyìß%·ñAY|ì«©¼.Š¢u«ãåDïUjG”‡A&Åp<…m¶I¥?+ts¨âÄîkêYµ“Ó¿/)¨"®Yk¶äþÕY·‡!q «$í–(¿|ÚTÛȪX“S9±+z…¥U°°(¯2s¢P:1¾êMwÝìŠ"~É®¶Ue¼Œ(£@ËY°¦eÍymS1ÉÝZ¤“òÒ¯óö±bœ³goQVIñƒo÷¨¨Åܳ.²Ž+ó¥5g‡«0våg¾‘9Œ›k‹æ¼®ó¡Ô˜Ž9ªèsÐGšF=°êY -¯=»rÔmN†'oΩÁœ¨ó6]ššLœNò3±´õj¬:aü–óM,‰D±óã͈F¯ûm‡]hWHž —'ðñd%nŸ‚úyEï¯ý|œ ±iwé¨ý͉T]êΩÝÇ å®U|CÝmyÑj¶\Qæ2л~ã½îüçé;iéÍßÉï¿Þ@…Á%üp}­ý‘Ȧ‹Æ ¨ðSÇ_®©º=öIŠõ¾®GÖÂVáÏ+m–ž[¨š7NÂõ"/ùXÒ Ñ±±7û"óE:eµÖ=;Ë+ßn™1Äó×Àöf…W,á–GŸ:W‡ëX‰íέ_çÍ• ª¥†ûOÍÝÚÄ‹ ¡–é*EzÊŸ*œq®9xž²¶£3§~12° -endstream -endobj -2897 0 obj << -/Type /FontDescriptor -/FontName /FAOYOQ+CMBXTI10 -/Flags 4 -/FontBBox [-29 -250 1274 754] -/Ascent 694 -/CapHeight 686 -/Descent -194 -/ItalicAngle -14 -/StemV 107 -/XHeight 444 -/CharSet (/b/i/l/p/q/t/zero) -/FontFile 2896 0 R ->> endobj -2898 0 obj << -/Length1 948 -/Length2 3439 -/Length3 0 -/Length 4056 -/Filter /FlateDecode ->> -stream -xÚ­’g\S[³ÆQ¢ô^6‘")H/Ò{ïÒÁ$@ $”ÐEé"-ô¢" ‚¼‚‚”€ ] ”`¡#]±ÐÑ=÷œãõýzûËþÏHÜ »á<‘>äp74`‰…£¸P0 ŽF?OȤ¦…Á -Ž®"=PZÈOKúw, ÷Wèûw*é@6ˆ’MŠd‹, - î´,¹’ìäÿÃÔŸÅuÑh7ŸŸåÿÓ Ü|PèÐÿ•`}|qHÀ‹@úcþ”Ú"ÿrgŒD }þÌêãÜÐ(¸:Æ …P:¨$ …ƒ{înèä¯8ƒøÓyr¿,@ -l¬MÍ%þÞ鯬™ -ƒ³ -õý§îOù/†ýËä ù£B( -…‘…äïï?§?ºicàX -ãHÉÈnþþn¡´ä×C&  0d€ ![†€1Xù@žJàŽõ§ý¹RY9¢ù3ô‹ädȦÿ%ybò‘7qû‡`P(Aü†0‚ü É…Pÿ"ùòÌoHcCiâÿ’Ïü†²÷’Mý† -$ø_”"Wý…ÿ½ lH8¹—¤” yBP99òu¡ÿGô÷Gbp¿v]ø ÆfÍæ¾îM±ì]WŸÞ«]ÇóÔ?¤.DwjÎh ½üqºÌN¬Öð0ðÚ*k>§ö˜pâÑæí–gH~Òõ6jå8©<5C0.îs¡2IÄÆg<þ›zÉ4ogËáÌȾs',^€ç9ÉkÅ#ÀŒƒ)O^`øÒºäe~ߌã´ÁÇCĨ[ÇE÷IMú ?Y •AÊŠ-vˆ¼æE¬×?AÍ€Ã'‚‹2%¿¥&ô}zužç‹÷n—LÛEOEð×þ•+@Eµt›½+”éyaX¤Îû¢>íì‰Å¾ª=µ;ç+½ {’R^ûo´{¤ÕÊ„€'ûd ên)_½G ¸òq©¸Ä˜©Zm)ÞÌÄn)>öq6ðÖ)fõŠž9Å„î:Å6Ü(Ã5ãöÝ ¯É물çвœ¸×¥[ÀêJ1ì1oßÑj¿æáåðK7ï«)Úëîz i m·\7WMìè8Þ|ZÑúÚq«"pÊ£;ÎÔ›nhžÀ÷m/lJ©arëûRFú¸—¬Øàù„®ƒ¹Àæ‚:çʇöâ±,¤‚´)Åj1‡ä4­›]Œ-󻾤‰¾![zT·¡Z—ÐüƒóBì4tã“vMñÊ4E/2ÞŠÜX¾XBe6°C3ڶأÅÐbAAÙ)‚G³q0ñÉçÞ°y´ÄüéÉ…ø¬A”ç&£>•x¬÷u6¦y)ýZq×HÉLïÄYí÷í ‹‘’t ‹ÞQŠ‹,~:O(Gyce‹TõŘŠjópE·žÔ–*ÄIƒçóãÕ|SNúâhµþŽßÉ–èéŽðueÃù|l 6Ì1û1ý'”äZém[w©ú¡âÃs}ŽË;lŠZK“Œf¦ŸB¸šNÛST£j1rõWH6ºzQþÖ)‹¡ê‚‡z¸ ‹œR=ÎÜØ&o´žÌiÁ¡7©.ðƒæÛg”Û¡Ë2ò®‚“ÓéI…Ϩù7ðĈ±ÊsÍÀ÷·ñÚÖeƒ™EÞNW¾¦e *MÕ¹æJfl„M -ÓXЫÝjû¶èJœ]-ÕÛÇÆÆ5 -8¨öáÅkÒÝm–[* ú¬­uýö&M=C“½ ƒ+9¢z OfÔüŽ¼:¦V¿®u•3bëð0+ù¨'RLbûú ^žŒA/òÚYË¿ó¶ ­¸A‚|áQŽÚfd§qT?—»ù2”æHÚ,#QÆ´½òÞ°'cÓþèÔ£®þý¡ŽÌÍ+w ”7]/‡¿ÃÂú±éÔ -ÚÚÅ«*o*éÌoj ?ÜWØf†­ ç -’ª,:ÄÊt·›?èn÷òžˆk­úr/Õ€{Dê/1ÒÕÀJfî%¶­ þà…Qú„GOÙÁ]®Ÿ./, ßyÕ “±ÈÊ.:Q–Ÿr•QÊâ ãò\ÈfÙ:¡‡ÚYZJû¥¡ü{ŸqÅ¥»ê¹g<¢a¹Ó(Õä¬`UŽ’ïè]”h^êðg]ˆ”íç’´Í׶{­•Ÿû]H“½tZ‡WÏ?fÚà;ú„ÈÌáK o“Èpp€¤i=SOµúm²¶ W‰Ê2mߕتZϽþl(~L×±ü&­a–Ògó•ÖŒ6Öyo«ñrv u8MT_°&&/Ôb @ª¾ªÉÐh–'Šf¡•É!{ Ç£Hëµ¥žÇú:åˆM߆e¹GkQ[ð¦tU@à2¨‰®§ðÔ¦NÜà¨[ÛŒÇl\îÝò:ŸÂ§ì›+?ž9á±&ÅÑ Ia³ïÏÉÖåW Çó•¹"ò¢žÆ¸IM{' -¤ê\Q˜«0°ÌãÿzšÝ‹»0°øyRjõ­šžÙnô‡åÇó•™qç3ø©dKé+/=%N‡~Z5ÜIÑÊ ?" ²ÌRxŸâ#õ¤ -ï?ÌaÚªe&ô(dLe&zžÚÙoÖ¼à9ÓJü÷ ÅìÕ¦æ^6#׋h«®â‚¦R;þ±OúSŸA§¢…sf K·ìN nc~(©¤µù> ha:˜WJÇ.* Šém¹3w{Eœ}ÿö2ƨº¸î ¶bÚÏ3/Zµ!1SkI—>,þh.Òü|šdOÄÑ‘*uÑÁßsEz¿DR²ˆKOÉbç%à¶uø¬¥Óš6Ë3´ˆ’¸â†ÉEs"¦I~¨n¨8k>çã™6J4·Zk_ðøФ©™ ÕÁ7'ÑÄçD”-“‹òQOä%Êø×ÍwšÇâè µ×‰’;@dNà¨P@’>lïYécžc¢þò™âäùÀ…*Óö\djX\á;N•±Ò«KöBXF®·F^>ßø>èþskûÛ”Å(”9NCô€i±t§ÆJ­Ð­PfÇÅÐ%1¨îJ€ÊcZ×ø¨-#'‘ü7®TÑ…1˜´™AÔçȵ§©M¸Z:7Wé$»­±•,Ø÷KO…;ºs¢å4lš“ -äízR¹ëY‹‰‰ÓÈï³E@Ã4½\R…NŒo::=è ¬tíáÉ"ñ=p€"èþ±ø›Go\, º½\Q>+%Á<Ïx=mÙJä³…sl¸l/Ê‘rÍUƒYÒ;²*/YÈ ßŸ'¾³Òží”iÍÎa¹v ·²6ÃwÜ;êɦófMy´x>¶8-ë_®ˆý<ÞIÊ&õ©ºäÎ9tÍ·”pí)ÍQ*æ¾ñkH9Ggõ¤Š äS‚X$h³»–}eˆ×E¢£ÃÊû¤9$¦ÏžÊ/dí4ÓunÈ?yUñé}èB -endstream -endobj -2899 0 obj << -/Type /FontDescriptor -/FontName /KRVUOQ+CMCSC10 -/Flags 4 -/FontBBox [14 -250 1077 750] -/Ascent 514 -/CapHeight 683 -/Descent 0 -/ItalicAngle 0 -/StemV 72 -/XHeight 431 -/CharSet (/C/K/N/a/d/e/i/n/o/r/s/t/v/w/y) -/FontFile 2898 0 R ->> endobj -2900 0 obj << -/Length1 1296 -/Length2 3183 -/Length3 0 -/Length 3906 -/Filter /FlateDecode ->> -stream -xÚ­”y<”ûÇÉ>¢BÖðØë Æ–-Œ¬‰²$eš c†1Œ-[Ù%[ˆ -Ù÷²¯]K‹„Š2(Ù%ÙŠÄor»]uÿý½žžïyŸó9Ÿ×9ßç²°’ÕEá/¡áxQ"QôÌ l! -DNA$&¦G@#ˆh”P$¸„vÆà@ò?,áœð€Êßa”·Ç?ÈMð¢˜$¸”(QxÖ@¡@òæxJ34ÅÊÿÃÕŸâpo,ÖáþC~oNÿáw ÖïgÞÝÛˆ&fxš€û3Õý·934 -ãíþ'5""°¤.΋þa¼à_4ÊCDºN¬z/ŽÆ¡þ4A™Üžù³g¬NÛJÿÜé´@`pÄ3~¿ddï!ÿž)ó!`|{Ê|!”DÊóÏ›ÃÍ pH< -ƒs Ê0A ü@”ÛC9)ƒC¡}´/ű¼O¤””¡\œðР€ü%‰¦¤QÀ^ -û∗0Îοˆ²ê~Bü‡)ì‹»cPÿì—"züÿÙÖ MüCJYé7²Ï–²Âod¿šâ/²wãöË)ÿŽöëA~Gû)®‘h ócý{#øET~‘¿;íCJ™'ü(:±(í‹ï¯€BûµT~¢½6ûÅ”÷ƒßÔÿ ûä({ó@иÿ6RûIþ[¤J)òòvwßû¡0^X„ßüïm?qï Ud¡j”»Q¢lQEzù·L¤7Ò‡¸÷3¡|4ÿœ0”OŒrýÐHÐÈ+5í™Wa*¶ð ìÙÈð*qE!ËÃéžÅQJ‘dÒá”$Zòó+A®‘Œ Òo?ã[¼Ù¶r³“wί7t?.|PûBØgêÈn%øÏá1¼(„?åE`Y§ÈªcT°@¹0)xjñý^éxW¼‰ÎLz´ÐÐéEFç…ný6k›åÑD­ÚüÕwŠ˜ÈƒÍè®Q÷¶r› mºC'³+‚%Ÿ(}VhW¬¹*ü`0Bín½¹)ãÊÌá÷Æ7W 'ÖÔL§ÍËjlpÑ´æ–óì쟢ŽºßŽ“.=däd~ƒ?W“+úa0Í:^äÐì8íV™¡²@X÷„Ÿq1FeéC,,(,gj(ö=.r¡}^ÈZœïz5$ÌÓ` bk¯® Pù‚˜_ëi25u£—å“´Ð}áÉ2:BwÅgøS“]”I.$Îþ©õÕ•Ð ;¾¶þª<;0{ð*5‚Š§¡ ^;ÙÂ$¯érÅb®Ü‚¸tò¤Ä±e×âZ®kVK²“‡ªu+3œ¨%y›TÓbÓOª#·Ú¾˜l™þ~…5ˆéÞÛt7d=\u;K(?ÎÅðo¸°µÇë[ä©2fÒzqJ·óÅCŸ7ƒk}Ÿ U^6¾ tò¤ßO8ùt^âà-ɽÑû d4ÁÁ¯h‡^ù¦›n”v³¯§«ÄAÌåk:Ò -»ÿ­ƒD~ÝôðÜÒR﮿aQ}Óß\”WüÎત¥¾ùùZŸ3ç‘·òZ…A3J/¼Ùôš¾Ê|­\@游Ù¬¿½K:a–´±"M·S·œtuý2[ywŸUè¬Wiu0²Hõñj>< Øü˜êç0Û¸©Çn¦:ôÕE)‹º‰Tgé£Î¸",›¿Œ&Ö$Ÿ®þ&¦þÓfª "g¶Û“1l0¶Kl!4°º™õ1R§qÄŽ¾§^Ú”˜vjÐþ®]»TÞƒg ë­­Ï_Dì³2Þ<448&8Ë øð…· -Ç›a­z#®kQn¶á‘þ³P·ïøÐáŽÛ]OØ›êÊìB!÷¯‡ÿ•«×a©çrN|ÌuºU§'†çCýÂÓ øáW³Í©wÒ¾ì:ýÍZ!ßöldµ0>í2»¢[™ú%µ#?î™"OÄ[‚ŠCÝǸ°qß »î¾Ýì8’[Ø¿d±WìdjTup¨\ú¼xHä¼Ç|y5 ¶ -sMynWŤËÁÒ–Uµ iõÙv@†.Ô ýD=(BýÓýæ{|îSE£Lk^ïÅGK¯3Ý+÷Üa­r­ñš©—ç*ãɈjmý²ˆãM™¸êÿ~ãÁÝ//c4÷‡ã™ÛcùƒYFù´­²í°“z³Íç¶Rùq¯¿çeæ³(*϶ÇËèï„• ƒ5@YÜ<,ØÑëPµH¥¬Qj3Ffòp.í´6DƒcÐ4Uó[=ß”©UPmæj1’$}UÌ–U¾~…ëÛæÀûojqŽŒNJ “²‡¹Î }®på°ì†o0*gl-$²ˆ`·­¬Ki¼Î‰Üõa_zóÍ‹v×ò;ᕈق6•bÚÄÍÞî*]½þµ©Oúžqa‡ïïÞö1¸È=¢æ]q“g“Äk·êxìP#V·nà¾ø–MPË™‰džW‹½]›rŠ5G*ÈùÌ\MøtMÉâ’í¤R¥¡\77ÛIí—‚N‘Yç.àóèš8èî.LJçæœ_7ó™“Ô'%¶mv„;ª¥}45Ö›N:ê’˜¢SÃÞ¾ÅÆпæ/üüúL‘z—$Kµ³°ÝØ;µ Ýï#MÑY_‹K·­OÝNŸ?—ÎæêcX»0g¼Ý¹BO¥z&úBsØÝY÷!‹çøl»b—Ä¬ü,¸þé AÙÇõyTôk¨¿ÇVvª=†¶¶9…ܹûáµÃTXÙ@sÁxÔìƒ>#£hp~…Ã\níòGž·\\°¹³™‰‚>ó#¢hº•‰Ã( ,˜)~¾À—K¹‚D»˪6jc0"´«nÈû¸æÖ<¥69w"!—–Ú_ôô%Cæ)…ÜÂtGÎ74nU*Ý™¼ãZ “`aM®þÊŠ¸ 3âûXIÖ¥Ô£ ×Ò›í¬ôYÏœ7·³‹ø²ƒá…§b£ã˜ÞAI÷iᆰð<ÒùB}—BÖ‘| šÐ~¸œöåÚnÖÒù”-úš‰E÷ CýV|£TýÛÆšCÙtG +Ë}Þ@,?ÑË}ï‘婶Þ~]wƒE1¶>µL“Û^ 롉c2RS†y…"ÛDnñ®­Ü|+ ɱ/fær†·Ê/pj4 qÌø³ññuIéÝþê1Hw2 ¥îD°þ.熌!F -Ÿ‰ñ=éá?³~WN6S/3˜'*·Ùf‹ø°Ý¿¾#Ô˜%EýJ6U^<²?ÙVôpÐ;ï)Ë -­¸õezo¼/3çq{ ´ñòv®©V'ZFÞ[ö}Ð¥^ýˆZÆC¼ ‡¨RºƒY&¬Sÿ¸Ԏ|Ò_:qß‘÷Tz@l}øEO ºµSL‹Ìnª~Uã¤è¿hZ7èbD¾ä”ün©ÿéhÀ7)A´O‘¸kù£ÊŒÉó·|²½ý -é–%êýCÑrî4ª4 -øoÓ<=¸¸Ú$uDÂ&r¹ üþ«bRO{„Äîå2MjÁbvíúQe)É -3!‡-𧾻U8S=]«FØP°þ´Î“2¹:bÃÁÇ'ÇUþ‚_Vì¡}]®Ç&+t}è¬nnëÛ2ÕD¼‚B7c_•Ô*"¤Ïz¡G–íTÏ™;óf›Šû\‰6HÎEpk AS¦­Õ¾íP«\KJ(xðÀ‰Jsƹ4—ÍÿÑÉÖ7 -endstream -endobj -2901 0 obj << -/Type /FontDescriptor -/FontName /UTSOJX+CMEX10 -/Flags 4 -/FontBBox [-24 -2960 1454 772] -/Ascent 40 -/CapHeight 0 -/Descent -600 -/ItalicAngle 0 -/StemV 47 -/XHeight 431 -/CharSet (/braceex/braceleftbigg/braceleftbt/braceleftmid/bracelefttp/bracketleftbt/bracketleftex/bracketlefttp/bracketrightbt/bracketrightex/bracketrighttp/ceilingleftbig/ceilingrightbig/floorleftBig/floorleftbig/floorleftbigg/floorrightBig/floorrightbig/floorrightbigg/parenleftbigg/parenrightbigg/summationdisplay) -/FontFile 2900 0 R ->> endobj -2902 0 obj << -/Length1 1248 -/Length2 7610 -/Length3 0 -/Length 8383 -/Filter /FlateDecode ->> -stream -xÚ­”eXÛ¶®ƒ»‚ÓX°@ãÐXp .Á!¤iÜ%¸»»CîÜÝÝ‚ww—ÃZûìu÷ù{ŸúSïÐoŽ9ª¨É”… ¬¾BÄ­,íY˜Xx"²²R,Ì€×wffdjj[ˆ¾½‰•¥¨¾=„Àq¤Ì¬lf.6.dj€ˆ•µ³­‰‘±=€V„î¯ .€ÄÖ¬o Õ·7†X¼Öë›”­À&{g&€¹9@é¯ ;€Äbû bÀ„ÌÂ00Û¾BŒL,‘i’²4´pýËlà`ýo×7ˆ­Ý«(íß2é¯" ¬,ÍCd œÕk7È«–ÿ²þ»¸¸ƒ¹¹œ¾Å_åÿžÔÿñë[˜˜;ÿo„•…µƒ=Ä ke±µüïP5È¿ÄÉB L,þÛ+e¯on²42‡YØ™˜Ùÿe7±7q‚(˜Øƒ†úæv¿íKƒÿVò:¿¿uÅ•U4Äþ÷jÿv*è›XÚ«8[CÌ¢ÿf–?ü:$['€333Ëkàëóï7ÿj&f ¶20±4°rpômmõ‘_—è•8®,KˆâôªÈdieÿšxŒ;ÀÐÊù¯{åä…ÿ2ý‹¸@‘?ÅþC\Ì øb%þøé½Ö”ùq¿æ)ü!VPéq€ê赟Æôš§ù‡^•éÿ‡^¨onmüÇz­ôõÿµËWˆý?ܯ¥Áÿ!Ž¿ÈÊÂâÙ@ˆù?2X^±¶31·²dùcdôÿ™ÈùÚÉè¯OõuÙþÅüškò|‡éŸŒ×s™Cììþá•cñ³½XþÑúz0ë×oÇÊà¯jÿÑî/©Êq¾ÎÆÎ\ßÎøÓx­èô|pþÿïÞ - [9¹2²±Y9^÷ˆ™ûõr™ÝÿŸ@°ƒ­-ÄÒþïÃëöÿ› M^?Ä FžŸ±óú™&ÖzˆeÁÑÙ'çû ·úW'ó2,óbOÛÖ©@Hϱü±LMŠ1Ž>• 9V j…Üú\•þsX}h¸t™)Ê'àm]èþŒÞN ‹ôày²Më:†“Ê«•o­på2{,\YG!°…³3Ofž#«ó(I”[ È:M2ñÏ»+QC÷‡VÙVó¹ýï´S®pžç :Oš-¡%ƒB3da~%ó?"1Ó9® ³¤š‘Í«I+ó sNþ‘ xCÈOž¬.ÐPÿIöqc‚´AžŒ:)åãž ©&¥zMT”‰ .$2ç—È%€‚Ttj¶YXvnV(ú`›UŒ³òDZX×ÅS+}¹{¢>§ -‡½ÔyxX¾y %h;»’¿Á/ƒVcàNýø–á€n˜™n*¨\Cß8vÇ^è£ä2Š`h¯ÅèÇ5·†[Y€:è—îLAå<+òÏEⲚ •õ}1ÚbNo@Ý–|kY§ûÝm¡©¬ºâ"ZË_šUfúKjÚ³EqJauúêÅų©ê­æ6„ß‘ àó¾ÅÒÞTGÌwL:E·¸asÜß‘óp¦O>òn%¨öÕås’xÀmù™E0ªÐ»rô~*ùâ<Î]RÕ7€G“h âƨ˜hV\ø©0ÀÂù „_ª8eùáÖr)Tßc˜a(§ýäyEO×K­7Xrf¥ðõ…ÉVãcs[§¥­åfÙë7Öfy=^m£çI|¥œ\×HÏ“³Yv’`=d”µ¹ µ˜K‚Ç‹ßõœ„ -–Xý°Ö¼åNQòïUІoK–%¿zé{6‚òNi„ñŒ -_Õë}û-æ -{‘ó;Ưs?3&ûžN½áüÕJ$8à z´:t€…$Ón7hH[Àð£”c× è/}mh> G™0“7ð³z(Ï…ýØ¥¾‡+Rk±Éx§N^3=âWcC&Eå1O¯ºl~tG[Ê1IØÿé[5š[ÂÚ(7{AcA ŠðKÖýh²MÓž¸ç’7BnøÒ}žÛ¾Õ׸{ëVÒÙ/K;Kïûº¼6öZFXå3©?:o1–¯ýÅ1•z7fìO‰¨É•dèyx¦Ìô»3ºœIö~䄯]¬I&ÍfúÍŽkSñ,’f?~ÔVZÄa|Ö¸WuB{û[’ 7=B¤7·bÅ * -v´iJ¶c5€ÁÈß·\T—VzáZ‚À~òÒ;øÓ!S¢§|ì:‹mù¤xu8Ñ âo¿0{Fîa”Ú¯iζÆÃWj,£†?9‡"ž7‹á…P‹`gá<³ÞÃ`%B½C‹·Ðö9¾ØÇ,$Ùe2d­]º«‹#4‰ì÷<뀩@ÞÑ£’ÈòÙœGC9¯ÍéUÜåNqb†Û¼šaS¡÷ÞÅU.„Y¼æM@—Õ†‰¯`â3Å´Ô#ô;T6½1•³]‹^Vþô†¾D­mïŽAœÊp²´n½êðm; ‰½o‡0¡fgϺ7ÿ¢l[ŽÓtÏä=f"éEeÂE4mŠnÇøj-·×›«{<Ê<ÀµŠ_LPŸ€Þ©×5µF]-áeÇœEÚSwC1N³+ì‚Z×·!숰öº]]rVU½»{¨;&7,Ù¶¼e¤3! -®ðé –YÄ¥­¿ÝoLÐù ³BÇxßÕQs©áã_í€UÆ2å5?!S9ËåDW¢ÂÍiìÇd{X¢@y¼·«–Œù%bŸXÙsñ´(ßÞIŠaÈ4-Èu"jVøYýl’ñy¦Þ<#‡¶É§}I“Y@20R#ó6Ôm‚˜¢ZTý=”oôâ".NKºªêœÈ+hl†²EÌàû¡€üñ½^[Âç4ŒD+“ _`ßa(Å"ྠIIcXo¬›þÖÐ~ôª„k×îá=T|ðMbG VFš®CÙOr˜¥À}hÑ< Å QéÉ §–ùæ^U¼ÖoiÁЯÅÔ‡&) é"rD×ñ?¥nÓ\«Æõ¢é{ÙYG÷èö¬è -íe|ÞÆ#ûì鄱Òí›(¸8À—v‡÷f“\î KºmR†x4ÙÄ¢»ž‚ç½þ‘ªd:’ˇR2§P*¬Þƒ«ù&©Ü*P±öݽ×¹Q炶K#+µ?†Ðõà/¯=ŸÿÍ(0Oœ2 “8µßÒ”7á[Bï<©¦º‘’+|÷+««ÌBÖ^õý\¢²Ùü¶„ÐQ4·‹c`/õÃÃ÷¨*êùáð<þUÑÁªÔ¯£ºá™fw÷ß ú['¼êÖJ‹éϲ¸à‡>¡ö5{M¸`‚¿¨¤žr^Ø •ž¥nª™¸±oÅÎ"<^qé,wÊÒc^ C] -ã˜XýÕ8h¤5ÛR•˜›¦ Ã|ЖýFtSÚßD- §ªÇ̘ô´­:¢—9oÂbw·ÝˆŸ7–ó‹]ç ô*ß<³‚dtÑËá¬C\t„á3ñ:‰™duJ-†49ï/U3AŸ®Ì¹¸¨b~°lVc[^6ÈîÐ1ó0Û;bÄ÷¡.¶´²Ñ(ô+yK-|íqV4߆—PWç#&ÃÔ \ÿ2×ïÓ¾K¬$HšÁåäs™Ü@ÏU˜MEûA'ŽKŠ~C ¬öm GÍä3î ɬdÆØooàÝÇE*TAiW³›@)ÕêhËU– +µv°,Qªf¿‘öaÐÀtÈ;Ñ€n^±MÿYÎKÌwÈ)ºDÆγ9õ0aÚ—¡áÛË/ì¾1Ó8áÀôwÔó¸N”çÖ(ÊF6Z>+5gl™#ß”9 ’EW@îÏ–ÀoU_ë:Gå7x#åõ¦†×j@N‚úgc6«ûï´0”8%ß‚¦CÖWús{K¡]¯kGO4xsÂSxôÃûíp;i9©Ò8CÏÒš wÜÎýW®Æe‹â£€Äk5¾æЮúhÉòúcúaQ×–a–ó™åj¼ÅÏ_cŒÞ1«WåxëyË]H×]Î \…‘¹3>ô_7.Cö0 7ÊM1KIú‹Þö?ÍEAnV Òé´YcÔæ”õ˜2 Jd`í¬׈áäò‰ÚâíQð^æ³ÅeÓc8ÁD\)":®Â açyO`óógŒ•}Øù,ë\È›0-._UÖšcÈNh-“;F†{éx(Ásq±ü“rî‚FOjhTD`ê]Ïzî„Åaêè¸Ï´†0ã2 †vx¹*k¹ i¦è*…x´P÷;aç+ŽBàÓ%&ÚiB6©,ìm‰ܧ#ê^¸·T[Oõß÷ØÞ-]‘ªtñÌ4wÁ¯Œ0¼̼Ëhý¦r?%J3ñ X]ÿýVŒµ4ŽœwcKõ^Èl­„¼,Ú–nÈ]Û™ÄyÍ' -¼)oVg!pוün -*õ±5ÖT²šåÍ&½°«iבR䇧ä@R3*QnvB=„ÀwÄ/šAçß›/ü¨ãš8– -fËèÓÅÝÕ 2Ö·J=ŒŸÝ0ÓŸÓvH ¬ŒLÅeJf‰—›æLU;ñÊAyô׶òøÀªz„S‰Íûì‹Yáü/‹³͘<–¾s·VfWv;ŒÞhòºÇtçÁ®HÍø/¢Ó»ko†=›†¡8i»Adìaé฀=ÃŒý± ·¦§ZâTgóeï°Éz –·ÓBë¤du/Yù ½qqóÝV»aÜ݇kÆåÙ'—ÙÇ•4‚Þ¬qòoקÄýjN6(ÝÜ·½) -.›;+'4P~5T™ÈæCdÌl(P­h¶%çCa1sFcÓ ©9Ø_´Îüœ`¼Õ—qõe¸p&D'*z)xL°&¾¸³òa a„°š Â.›ŸñJ·žu°2¼0ªJ> (öuw ù…œÆ¼_ÙVäP—1ŸÀ(3Qðóäܤ¡š@-Õ„ÅÉá"×ff4ÖÞWŠ‹‚¶u¢l­võûe¡šÉïbýx¶H<è­-ÚŦ®@Ôß ùú‚TØ`úXw nuãñ´iÔ·y%Çà©nZ,ó<µ‡·¥fSˆS:v­¢Â=;u;ÏŽ ¶9ƒ#þŒ¯Ål÷¸$Å>14÷¤_LÏ0ãÜ÷Þƒ=|™õ;&žwÌw'FŸ$xDœNÛ¹8ä²U®½úÞˆKUÜDððû‹]ê%$T¨Áþ¾‡ê|{Ã.H/[ë¬LiY?‰Û)¸_ÿ±WNÜD’cLèÁ½ -‚J"4Ðg¢© þF°¿ÐhÆu>¥‘»Så©1¤Ñ’dh&q4šnX㦆q°NE§|t;Ñ—õ‘CFD}8Ûy(Ðö£ôœLC@l[?à ‹ZÅã£ö´#ÊÕJF0éÕ°€˜_8°wÒ`_â¶Lüq'6>H”ëa»KØ ®À(¡OD;¸‘ñ‚¶žó¬›àÈQâUè~ƒPêÙ+5pœ¹ ó’®‹¬ˆ‡vÍà¾OTü6N„Y~¹û´œŽÚ‰—´­*tÜþ^rìæé*Ž%2R¦n?{KG>§t2#¡8Ç}Qéæ¡ç´×+¨EæÁó—P”5úáGJm|ÆÇø–º;²*£ÖŸ[B{.¥z“•þFÔu”Ø@È@ÑÃeûês%Õ -¥ÅSzšá]è½ -¡:_ä%-*Ýyù€,#Æ=Ç6¸Æ{“?„UWŸ_9dü¶0,pñR7Øô‹öº’¶ÚIéoú‡„$ ŠÂ·”5™¾¬O Wü%w±ò«ˆÎ³ì7:¾þžз{ NŠDþ furo]Z[’!ÝpÏ”í|;ö¡rÀÛ¦»Äå<À§æËï€'\ùˆ#Ž -Z ëû"LÕÇFdO;Ÿ¬b†Y$ÑÙΙ¥³C0B¾,ËKòéƒî{|ƒá ¨qQîšO)"2/PËìY\à¥Ñ0L)ИÒ×úùÃÏÔ3ó-UQ òƒÑÝ«3à‚ï{œü?ö„‚#ü; FVhšÐô*½Ž7l¿ʈÅ[B[’ËÞ—Î7òi+7…åp á8‚}i ‰§ä -‹—Üvºéæ—ÁÛÊ•µ2‡ºµú6tgÑ!V¶:ÕR£'Ú© -½ûܸóÖ‡ _‘îp •Y)-—ÜS‚Õ³‹6ñ—4qyè~ñr‚·ËG,øqóï’Œ˜G&ÇSKož(£yª1#f´D¨wY™6@ø4¿”“ʇ(±—\®©æfĶŸ% -nÑÞE¢‰Ã „ Jv¨–3IZ¾‹ØÓ¥yu´hJ)ý…g3SÁ«•oÇdÓXª¦Ú˜xãT"©¬Ì²…R{@Í[ò"\Øhåø@í§(ï– xœ¾Í5ð#më!KíœéôÂ]û@–  áË¥ÖÙ­…ƒ+!ŸàŒª³£z;Ú µkŒ;V2k1ˆ!oP~ ZíÈ2ô§ll÷k‰¤Çd‡Ù[ê.`BϺ‚‚yAaIœ8L#´ÿ>ÒãªèãÒ–Ä•sYùŽ0aÿE´ü£¡zÏ BoóÜKü -öXq#Ýz <’] fHO9¨;H3t¾41i3JQN*da-#¦aW²V+ID§TyiŽ‚5üÊ©;ó>fÝ­Ê£2MDѳNWK9 ( §¸×¹$¬øô&áðÞ‹°©GAãC/ÕŠJ>@C_ŒRuŠk²ÿelq®0Ç@¾"YˆNŽ©ÓÑm³¿ò½ J•Ia£ÔØ’L¥'BFýÀ…よsÝb¤I 5îÛ}‘ß=ý1ðkâ¬ó -V§‚F’Æè»â•ïp¸ô±R¶÷†ðeÏ1*?ï+»–g¹Š°”ªˆ:¨v®£8BŸOªd«s…£-¯–r¡æK:¦3±*m’F·É'Ó;ïD h¨ N7/hMСKs„·zø_¡«Z_Ä+ÁMeÉP†xK:ÍÎì†iÒ+~×’*©ÆÛ§\œAoZZý¤à™ êPù¹1»éÂI9MùǦí~ÖO?èÏšÔ ÉLžÕˮԄAC„™D“È3€C©ÃYþš·cCðˆ¼ðSeÁbéÆxáÛ¿vŒD{–BçŠ>~¹˜£˜ ¾† çòïáõý|£èš[¯" -ÝÖ -þ¾MÛà, uU}g:)Ù t¼kM.ÏtHRQ²´”Ñæb VyÇ܆§©B;g™K Ú+Þ9u(ŸÕÔýƒµ¶6¥ö\…<]-A™ Ë¥yß.Ü#äêk jwBñ6ÔmY%:Òµœybz…]M‡À˲Ś>O,èð½„÷3f¡ç;LmŠ–m“¡4MÌ7yz3¼(Û9Þ‰G¤Q ÇmŽ­üHŠ´ÒG õâi׊¢­˜ÀQækTKߊ1_h~ErkƒIºzÞ‰1rc[/®HW†â½\Ð_¨¡Y¯6#5ê[L£(Õm¯JÜ_:d[w6¸ÕAµK¸ –_g„þñrØÿ‹qcb¯Ñ–}>ü ‡ú’•½Ðq3@:h×Bµ’Š+h§ÖÎõWâ!ñØ>±;˜Y ×ؾå3àpBU`¶ù.c#Ž18í–Íæ@ÐPèJOx<éÄùImhâçmá꧜ }aÈ×Vµ _*¢b±ÌæçUŒö$BnÇ—43ŠË“$…‚Û;·^4óØó窋[õ_$©¥gjÖô*À†5•W™atáBŽÌ_4ý1V2ñ‘;–ö[ø 8´@+Ëã½ø¸³1ÃʼnÀ½7½Yp4âöwêª(yNõٜ⚱Á>{,k¬ð=êOt±e-_¥X„IÓ¡ülC„fào:è‡a™c©æ·fq¡kýˆÄžBqØe4{ ðA}(ù  5¬òΩSj`ÆÐOÄ£9‰ÆܯLN)oŠ²ãÓ=I«Žý8ötNî`²{ö"3ˆŠú5Y>2>‡ü>‰VWò#Í©$oÕp’&Nµ¹ŽŸƒrRËÛ£4oý¢g -[ë]³£­ŠÊS7ÜÀÕz _sà^5wMÐïz‹WUúáÙ$y{‚7Ô¿d¢[ܵxTôÛô(ÌG8^¹µòÀŽóMgøÛ[-†ÑkÁð )^žpðÝ…™Ñ -U¾+tu‚àÖ{)]K5¾/¶ª]z5¥$Ý,Pa5›Sìñ§ow«¶žòäÓÐFoß2J†+cÊL÷i– ntBíLÜ3LlfX ’þ -[ƒÃ/÷íº¬ü‡Z°ôÎ:ÑGóé%GJ—°¦%y®_rC°±nMï-žuQ£ó1ûEꢄ»{â‹OÈ9Ënüj*xÔƒõ6£YA¶ ^T8«öäoL1O¢@#Skm n±|«ÎO‚— -&M]mþ³Œ~À£uâI4ÕÏñŽòÏgô}ïq3:à3YðŠ2óç–»Tm¢sĉÈñήƒ@»Èüš¾ÁööPá)ÕÔíˆMv|×ÑÃ}-¯ÙTyˆÚV»NÐÖ7HyÅš>ÕZK%†ZÉ]ÆÝSÅ6”­Y<ûH°9¢.-ßJ[zÀ& H@ÄmõÙ\Fpš2CŽì- ÒÛð=œþ°º¾kÑwJüî‡u˜¿½-¡nã\|·§7,ûm-ìpÖòsã@ ó†É&Ò•ÁM›÷Ò/¨ó­–3vylQÈ^D)^ˆþ;m÷Ö} 3Íü[Kj¡Ñµ‘dÔ´ÐÛÀ|Êd–I' Ä1b/̵²ÚÚÅà¡ãOh^DUž¶üH*^x`o?WR[ôdó»I——(2ÚtªKÜ7 O+¬‹.þë­¶Zõñðž%‡Ù5VÌ^†»K—òÇïçWj†5¥©·~Ë Íþ°§ºº¬‡®<k`‡üÇÀ¶Ô=7jF™º‘*tv}2,Þ<›i_¦Ÿ¹Ø2™*6(§6‘[x1âj°Ùé~úïû -ºÏìE!êó••w”|'Â"ú†…hùuWƒšd7aºƒû·ÖIÙ¼maj—†µàG#Š…_˜3±zûN;+ºj«MóÚH1?=·¾à}¦ öì%kñ\ˆ š‘¦0ÝHMШì€Õ4B…m~ŽÈøò•UÌŸúÊÊcéþôykŠ«œÇG95£ŸjúŠÙl)· ~ßò(«îWη‡ –÷„5?‰½Ùy#Ñ°ë<›÷³Ø")¦íĵ×ZjË3ºâ‡g"àRX¿âäp_’ÝÕ|'k¬g)¶¥)4IgÖ øýEpfdº‰üs$½`ƒËáq 2u›½Wz_YÞ-\zW€±XþT›|˜ç‰¿’–Èò°xuîÀPEå6â«’®r’°®Ãúžp8³=ã!:bå0{ïFï뙂љSRÊ¥äí¨pÅ ίöKïæ+ea?ü¼ž®épŸÛHpQe\‡Þ¿Íò¯ó%ÊZ¬&ÿˆçæÕ—ã2NÈ6ZHŸ;صO]¨Æˆ^“Lö·gT›/%ŒD'ƒ•fÚó–Ñæ¨KûÔ.INc² æµ2h¶}eP4)2üC;wp­;ì`=ÚB·/‰NÝØÍJ1þ€¿‚…lL†4z‘Äv%æý&Þ­w=WÞv[Vì}OÁ‰ýèÔ²ÚÂjœˆ#eᬠԡ!pYÕ©/±6µ:`t+ó<ó7áA–%ㆻŒFppÛR™}žÐ”*›t ÙûãZ(Âr²Ý“ H¶Èwoäòš•,»2u/š,üÀaÜ[ï|Or?‹^©y¿¢/~âmÐIQzçU÷²Dr¸ú‘§ê8cùÉvKœ¸ßåµ%Œ/C½Ô,æ 1©J{÷¯Õû"¹uðíoú"åXO=€÷IÇ2´çeÞõ‘‰-ɃlÈf@ì ¤?—ä©îäŽi5¢Óï£:)ë¨VßI›ÉËx+ãGÑ-9lŠÓ†®Æ÷îÛÅpoS»èT5Œµ%·5}ŽàÇÂkˆ#êý!‹#o òsVªògYÚÛ¨J›Õ Â*4©0µ}sl4çqý›f9â<ÃÈYMË!Kt𜣲.ì|oüÑLËïÃþ”ÅÖˆµî²kã<–%o–Ò&,ÝÅHÝúH -O¨~Gتšáɧbª'> -º6Ü/[¾Ë=d* §"oÏjó¶%RlFtD‡TÄ~“íÔIN~N$tù„ó»ý JbòqЧmË>Oeðº`É¥Ëô ˆ1(Ôüáú‰íìj1HíØYåXßì¶=FÖ÷a-iWñ¸a¦žók3¨°µ£t¡\Y¤¤vÃéOèÖºMBo™§Õ°+Úd“D=IŇÀ12ñ³ò­,èüêaI1/Ãg&µ¨—ôöæh(XKêjèÛñZPùô‹Äpö³™ð‡-—†L~,·ŸZ]Ú`u ú™,ŸÎŒ¥4l¼î$§µjîèœë˜%õ†Ú&æ.Ú«$E‹ÎòŠG:ãýÐV­Àw÷ ‘¯=ˇßwvS†©ib‚‡›0«‰ÜtÌ¿™iíãÛ;²ež1–8?$˜*9T“P3z[<¨iäM/ƒ[ZLÇ?ÌoCrªîо] 54·láØlÇè?˜ë -a—9H]f›½îyP™¾;zü$g ~’LîáµÁn«}y„Åá#|Òïy‰˜ñ:ü&- "ë8MŽ !ZÂ(`¯àìËM* -0â6M¢ym«0öY${'údQ¤ïìf„iïˆÎM_n z®ÃUx¦Áøvòu{ueb1Û,Þ”°òÿ ;Õ”\{Šç5xiŠi÷×ñM -Ï—’¡F‹2reEÀ³TsHî/ù­@dÓg÷»z!@ùÝÈà -endstream -endobj -2903 0 obj << -/Type /FontDescriptor -/FontName /QFSTYE+CMMI10 -/Flags 4 -/FontBBox [-32 -250 1048 750] -/Ascent 694 -/CapHeight 683 -/Descent -194 -/ItalicAngle -14 -/StemV 72 -/XHeight 431 -/CharSet (/B/C/E/F/G/K/L/P/R/X/Y/Z/a/alpha/b/beta/c/comma/delta/epsilon1/gamma/greater/i/j/less/m/n/period/r/s/slash/x/y) -/FontFile 2902 0 R ->> endobj -2904 0 obj << -/Length1 789 -/Length2 1905 -/Length3 0 -/Length 2458 -/Filter /FlateDecode ->> -stream -xÚ­’y<”kÇ‘Š±$„¢<¶ef0–±Ž}0Ö±†Œ™Ç˜ŒÆ•å$"»LˆÔ‰9r&»æ8Ô§ÐèìK¢¼)‘l¡ÕrÞ¡÷|Îûvþ}?Ï?÷ïº~÷uïßý¨(¸zh¡Ô`ЖJ¡kÁµáHÀ -ƒA#¨XÑ@D¥Xãè €é¨h"Ó`†H8Î5VÔˆ8‰JÔ¬ÔwL*¤‘ð8 -€ÁÑCÁpî <Ž xPñ$§  ÈdÀ}gGàF´  à O‚A"‰î ¡)!TÀà{™ñW+¤Eq¡µ]Lu€ I RÈq @©ÜÓ@.ËÿëÇá¶Ñd²3.|güNPÿhãÂIä¸ÿ¨áÑt`¨FùÑê ~gÀRtø]4G&áQ"´àzÚ0½ïuR”-)$¸’èøP GŽwë …ð# 7¾]¨%Æ ëç¦ñýaw{®8…Ž‹Øßæ] ÿ[s#¢‘b“0m Î5r¿¿V?œeCÁS $ -ÐAè8 qGé À98@¢ÀXŒåCµ)T:w À &¡Ò ;¯jd@ƒwJ» -Ó Ä¿%\€ÒþKÐ3»òŸ÷µ´¤ÆžÓ5´tÜóuõŒ,þ|øh ¤Ðwÿ(nhé7gŒññQ*ÞøâéBvjU‚Myÿ¯ûž_ÚŒÄ3oUz1‹¾ÕÅ覿Ìhà™°UµwHª€³k'ZWMQÞõ¯ÂäRL‡¥U¾8`ùXi¬„å—«íá÷U¼Î{4Ñ{>É\¾Âc$xùpb©ã¬/&ÎZCó2Ñ:þm‘ÎA›±Ð’¼e¥ÀÛ¢lž_³•’°jWµ{:ogMIÔ~ê…ý«øJôÃí·_ó_27 §{2Îæ*eãÞH)¾LZ7|Qì¥êÏQD -¥^Z+Ø8Ç•ÈPZ(³EùÉútå6‹â•DH;P¹~r 8ð¯m©Ø؈AÝðPþÕ*–¹„VUy“oÝ×éƛƓ~ËÔwäع4I~Y(”-ÆÈÅy4DjDb¯¯v‚SŽ“Ò€ëel©7ã-Š7¾^œ½:Á»¥`¿¨mï»Ejïu÷ æÓœ2KµÄ’§›ßübç¤Ä¦dsxtxXbnŽMÉî~)VØñä9àÙ‘¦k{ÝOëx:6 ›ë.8¶Î6Té½`(üp»Ï GG*ÈÉK|Â6úeÖf)f2‚/ÖÍâû⩃¸ƒ.–íbúµ -‘˜ÄD’ïøÖpÐÞQ—?±g4\[K¤‘³…|Eò>_Wœ¼õ˜rwiÌ -®´"‘ç1©ƒÕœãlÜ°„ç½¹ÅÍÇ–zî;º¯íغ>Õ¨^+Çx$_ÁüÄH#¹^SºO3Ä«Ÿ‘¯ ~=.Š½ƒ öX’äG[ú¥F¼úª!}™™}7ÚbýþOb3ö­>οŒªp>nó*We£óN‘e ŠûÐõEå¬â¶×:sgb…؃««æÕxë–=BFË+Éå O GŸøöÀh™"m>êxU©tÍÓîY¢‡ªu5Y9ƒÞÍÓ„°þjÿS.ƒkÆ"¦çeô|c‘R™“þpM7g²×_õóïhShyå»BóG«Î–Yòð©4}xêdY÷ÑßaÀ[3.—dÊ  ý.>ïzÕ»ˆ3·¢íÅ+úËÝ­\{â“’"~•15·Ç­òñ9õ}N ámœí¤˜Q ó­`ò€q\Í=˜Ínëä™}©ôÕ¿Ng®í¿$$gÑ¿WÅQJ¿äì4¤žxäéåTéÊš¡ NÆE«ì D0B ?Å6«kß0¡5»U¿Ê8ëð*£ù'ªº¬…üâ5 S=µ—y®H&#$nêݾªœ -3anÈ£yëϳÓç•egÓ²˜göt´Îï•Wø™ -Kûæž8²iªaµdÊ$²•c®õ’;Rð„p<]kÿ¨íj}ë‘6v<®õHß‹g¢cò¹ íUZ뽕âù­•ç@B€Å‰´€ñY/ómÙ®Íʩ꙳ˆïKe”…Þ!´TûÔÿô:ÊËß,ÌC·aî½½»u@Él@Iø¥è›VkÆômÁôkŠ—»™<ø)™Ûéw«¾¬×¢?Fðó™½;)ô䥌¹vpµÝjÑÞåÄ­r¹Nxs¬²“|©äШ>æ=´¬fÿà€€¾x„…‘õ‹#ßZ»îܘ¾ž×ñÀŒ:@<µ"'Ä'n>ª_ oÇ\QxÝRžEe5ŽŽ•)Þ{Ç,tÁþ”YV¥:LÈêBiŠÄˆµUöxÆwbýëMdo[¬a‚)wWz·–<@““œüY¿Íð½Òö§Ä=k%Û&£*ŸJø¼»S=蕦$Ò5×½ù5$Ñq-óþ/Km§\$5žnÛ‰{FÉe¶Œ/Zo@¯xH¾2“}•MBño”YÌᆒ|öì:g5×{ÿ %hÅb˜k_Z,AÔ¾iŠä¬`ÞƒÎ?®[†V¶ÈŠá¨qFT5Ý¢³*ñ‹sØü ÿšoFãÑ‹b7ÒkÑGŸÃ&„>$¢ƒRc¿®Ò_vÏé|k¾ÚÛµÔÙ×p!`:è懟MØXgÎ~žëöÃânÌB zÂ&Äšß[•liOÑõÞ0RÅêu´ô òó#Ï¢$%Ç—<¡+ªÔ&¸„¯ÄÉÖ•”4ÝÉÛ >õõÈnÙŸ›\߬‹•9Í—Üx©MhðÂæ–Và·–’·Ø¢ÞÓ{ÌTx+L%ß> endobj -2906 0 obj << -/Length1 958 -/Length2 4005 -/Length3 0 -/Length 4639 -/Filter /FlateDecode ->> -stream -xÚ­“y8”mûÇm!;! Ý‘-1c,c)²“}ßEc0Œ™1c‰ì&Ú1JÖ¬…ì[¶ìÙ·ìe'•-[xÕó{–÷yÿý÷õÇõ9¿çu^ßã<¯›ÿ²±¨’#ú\‰Š‹‰Ë*ººZPàt Óðó«`á8¥ê€ƒËâ²²ÒÀ-/$‘ÀP9)‰ÓEè 1¾X„³ Rþ•”ÜáXÌè:à\àî§5`HÀ CÀq¾b€ ý:á Á=áXo¸£¸8àˆ€á€;pgŠôË’Ê @ÿ;zaþ”¼áXÏSS€Ðo›ÂÀ©IG4 -é 8Âh@zèÓÛà§^þ?lý»¸º©çàþ«ü¯FýìàŽ@úþ_Úã…ƒc]´#‹úwª9üoºpG„—û¿U-œSB9#ဨ¸¤Xò8ÂS‡; p0ÀÉé ÿ‡£ÿíä´}¿}€Œ¬ ¬tÌDþìoÍÀ™øbàøïäß,þ7Ÿ¶‹ÀÖ`10Xü4ñôûsgû¯»ÔP0´#å @¤¤,ÖÁ—|Z -"%ø‹”#Àñ§†Ab(4îôpÚ˜»€KókªÒP¤ò+ô›ddå_t:4Ãß$€îüEâS‚ãþ–¥NÂÐîîGÄÁÈùoüEÿ €ÿ@iäúBNEÌ?TqI„ýžÞçó;`„ÿŠ ßßø¿“QVFãýÁ€(Dê´QâPq*¾û_i0/,ŽÂý~ú§Óý“§ÇÃa4GÐ0ù0×ÄòˆÜ@µŒ¾¼3ž\I¯ÂºëÃK“äÅÖ¦åY†°½&pžMæpfWD>Sºv!ÈÑIjöB¹R@›¿1(|Œ¹žU8-Ù˜êlÍÆŽ¬=µµ‰Ñý9aéã¥yL…È·q¾ïú3otVÄ¡éÖïS䎎mº}˜ýHûÌ‘o!Æ6µFç)Ülyæq×Á túcVûy›äsÇ/4M ¸MÒ'ÉF§ê’zËΰ@2GøäRÞ Š gÄ -P -ï* ù]¯Ãõòö³è kѹ´å¤MRoòý‹ð´Ú÷݃ÈIzz³“ávýn›QóÌŠkí—]Æâ -T¥Ëz$W£V(†;ð†ºn{‰ÜJq0[MfÝ(ÔÔäTNvÑQV/%ùjjÖ¬üZ Š³˜Kw’}ŽU¿Œ$’ÿç2–s}E•²´µÂ“¼µ…_Z3Z%úâü,—-8¬öwœ)0nsì>R™)PiYšŒ?§Ús¬"˜|t= ^ˆa´yr Ú{»¦E=L…ϳèý©{‘ÕÒ27~=Œµf¹…JEî(yWŒ3_EÞ3 •¨6Á¯=Ó™â%£ý±3”¹Y±¶]Ég§'’“ÚJ=-‡¥þ¶+Õ(Ízm‰¨—⯸µr«Mѯ´@xûä–g¦)ØD6â -ë^Üpy³à«¯‚àéiW¶Ä¢þGg.¶JþÐI óù`ÓÎÖü‰ùaÙAß Ü0RÓ?#=ÂveëN¥•ÅˆÕC÷# …ýWÉÊø¿,“}¸†ß.Ëyž^ù>é÷°uyuµdæ”J7݉¢’2c4¼Ÿuék÷YÏv±ÎZ^Õýª´ -¿ó~¬¾\&É®zæÊj¾X“Ôœ¼ß=ZùYE¡U':¯h\ÏAF_U>Ô¿Äo{š¨ƒÝ^¹¤6ÓùÓ•½#L0UΉ:‡2AÛÇyããJK²† —;žøÐKÖeåkÛSo!Q“ ’»Ú½oªîhTY'½§ª(³Î ѹåQ¨=d•x!~4œP}ѹ7®qï‡ßǾN›Í*ÐêÑ`Ÿ):µG÷«ÀýéZ…BF{3ŽWÒïŠ]•:Ú#ÃXÝPîw›E ñ+ßVeµ ’hqÍÙbK~ZñÖ˜CîÁˆu‚PvÝD5$îyÕÎIÿ¸eYe[XÖ|žð¸ D?Sù£µÇa‹»ÏbXå‡k9T{"¢É±Ìó½”âºW>zf^!\ªY9P"qÊ}Ÿñ*c¢Â¾é*m6ã—j®»É±îúûþ5Æ2hФòùhŒÕRŒïºÚgyÛ«½þßsÔ»îÖ°:¼Ó¨ef ò눎ƒH@©¿šŽÑ}‹•ÊNðª;ñá³4WË‘„u؈‚ÅòwÞµ•øig€î9™.JëC@–_ $~S]iƒ÷Á› ˜ôÄÌ– ]×±H¡ êÏŠ;/„0$:·_µ³^×ÒŸ ÷CCP‡£%Q 4F -¡Lm -WåVîŠ3µGeKŽ…çºËŠm»i¯ßñäε]–W†bÝ Ò‰wBÒt†ÉXå;õIÏZØM­Æ†œ.@^6S.¡£ò©~Vµ}>T>vðS¼*œ++“´«7«bßÍaá‘ýß6²Ÿ¡O=,/cÆÈM~ãÒ}n3R¼!°Ü¾ß³°óBAÞ+Š÷¶ÃF„AùPFÎei›>ö©4{o¥×Ó›¥ë9Üèýýj—©÷¡*jú «8‘¼dšà¶zy -ÄÄÉÌ݆œÝA»wv‡G†ÑZ>O×ë¾.J{Úo6?ad¢¤¹Ífþ¢oÎ2$,E¨‡uס.cÙ•­"x–†mNgç×û“wi9[%&è.ú,ÇUEç6t¹õ‡XH4ÏN,d—³íÇy BÔ98dËdh¹æñÛRe)žÁäÛ ¥1=‚áîÀók7ÊÞù®Mj¤X‰Ò>Hxº2°Ä7Ã~2|‚;oòE²F€3~%à¤)|—ÐrC“GU†Ãšv‰·IÊ^'mÒF‹õYš_Kì7*37¾`óÑË¥Oµ‰ib–Õ½­3âY|`ÊÏsÞ›«õÓÛ%¨ó6rž»Në`èg›¬ZÌï3/Ø4bkòœ]¡ûêDæ3—cƒõÕØ­Æh½Z,Û¢V¨-êþŒá3Š.#.—(,y¬+oI½PB êLB•õì÷°˜nI—ÚzÂ=1Ÿ—ò”ôÙù\…îru_`ØM=ÙþÌ›,¥\Æ\ä'Q|ëÚ#Á6?håµäÍby3QToÎHi$¾ôŒ4)&v\XÀAH©PÅÒvÄ@5…오{»Ø‘®èjugéàKüÙì'9XÅ» ®d{®p’ý·êdFä$‹ Šb×¼^ -üºÕ:{3PÐ\鶅íëù*·Þ°w"È9Ííy¾‰12Ò@©÷Æ…>®p`œVVðê¸èÔ×U‚ÎÚ޻ʌ6\‰YhrN+;ÔÞ‰A€¨q€Ì”`÷ûÐûYQA…–¶dÅ™EÞÙ!Ž˜R (@t UþÄW¤À$2À3ÁÒç}ê³??Ö4æK…Ø[á}äü:yLÛÌGþš|óz´5”c¾Dâ1]ˆgi°l¤üõ«Ð>O¬:#U¬¤w«s|›;ÒQJâfâ¡2¨yûMC´Pgvª¼GKŽ_ëüx6¨ŸÈeé³Oúª…•*à&ÒÈÞ§!EÙ˜áÞÏاÜtoT¶!ÈþpÖÝƆv»_ðƒœBÐ¥¦uê`Ÿ¬L_û6¨•õR'r<_S+‹º»sH97-O¢$OóÎ!LÍwÚLg¥vúôXÒÃ]70ž³DBMbk•ïÝ¥ÆòÄÒ1ëw`C—ù"µ7H·~Ñiæ׌‡+ExÜfÚ¸|F¹s9¦©4Ø£c.²š8}Ì{=GhÞJÏQåLkHQ¯kš³»ñš,Ò<…slô¬ü„ò­÷0—“íOûEí| ,g´‰ÎÕ $Rö‰iA -øúúþ¢½W–ÂÏt¹ðë,âSÄ–{œ[oæ…v…žþ2DÇÿcÉRžP軎a6Úã*»·òÁj¸×à±ÙÑÎÆAû©Rä§T‰NƬC]Í0A_Âr:Q³(ñ8ü8²Òi4œž½{²¿•: :¼–»˜®v¢&éhšçÒÚŒ6eY¹VÍÊÄsP¶d\’“b¼}ÔÊü\ž¶¨td×0tÑóy6³“+);‹¢°—«žéËL&™ÇSçÃd„à"xoK·¾þ*~"j}tíüÛÀœ×›öª„¶\ºÄ’Í­ËÜæéœu×|L–ä2" ´&¡SƒÁ -ÌæßiÕão<ŽÍ% i™ÔÁ½µ¢L ·.‘ÐZ:1ç +7ðt#¦h(}ÎÜ º%![ÆC«Ñ\scõõžðQʇ!œ&k_‰½E÷ßðÍ·3‚ö)Îd‹E!o…ì‡â©­6¹hôt/U'•Z–TÑlã’Ô¾©¯ ö>ñ°à˜è*~›‚¸ºDmH4d„³°Î›}…~f Á‡ÀQ Š`Ýh«Bo˜sW΋¿0PŸ²°ˆd&u‚¿¼;~Ñ× ¸¼N£MRí=œ¦ajÅîÔÄ,º[Qõ¸Šôòp±›…Ê™m|UżæA67„=s·àüçé6͹òyã,lqööëí¿P«GK)5´³[Wrcïµ’¾ÔAp*ÂS ‰èzk5y==õ“\A˜îJó\°‚!‡“Í6+õþ<,{©åÈ÷-g@àµÕµéº¤=w;Pè°&c)«æäýøG“u®$DZ¿Ñ÷,/ÎÜ J|YLè¢ó`Tì¬r}~ˆ©i|äPîË×9Ì“üÜ{ä×.½F»6ÚKÖ©1o•.Ý0³,à²Æt²Þ94ï—¦~— Ð 9_øÔC‚Ø=-£Fyr+Ÿ mO‘•ÅïðW<]XéÈ2kèmnQ’ãE$ŠÊEÒ#>—ï :adY¥µ€Ê9ŽÜéüÔ*Á‡Oœ6˜Šú“§¶†2ðÏÌêrž¼·++«Jk¡¤²8 Ç+M‰;0$Æ—¬wƘÃè‚“zºC£,¹•‡„Û6ݱTÃ.±Y]Ý×™g‘ó?ä.·8Ì›np¶ôHfæµ5µ-%·¬}æB1–Å%ýºó´0HDûFô>⇠-endstream -endobj -2907 0 obj << -/Type /FontDescriptor -/FontName /RZPZLV+CMMI7 -/Flags 4 -/FontBBox [0 -250 1171 750] -/Ascent 694 -/CapHeight 683 -/Descent -194 -/ItalicAngle -14 -/StemV 81 -/XHeight 431 -/CharSet (/C/Y/a/b/beta/comma/g/gamma/i/j/pi/r/w/x/y) -/FontFile 2906 0 R ->> endobj -2908 0 obj << -/Length1 2146 -/Length2 15870 -/Length3 0 -/Length 17011 -/Filter /FlateDecode ->> -stream -xÚ¬·eTL²¶»‡àîîîî.A7w îîîwwÜÝÁ=¸|<3çL2çýû-X¬}UWWÝ]U½{AN¬¤J/l -4Híœé™˜yˆDåU˜™ˆ˜˜˜DàÈÉEFΖ@;1#g377 ‘ÀøãÃÇ/;; 9‘(ÐÞÃÑÒÜ™ˆJ”ú'N"a[€£¥‰‘‘¼‘³Àö#†‰‘ ‘*ÐÄàìÁ@$lcC¤òÏ'"€ÀÑ`ÊÇÌLdjiâLd 0·´ƒcüG’´ˆóßfSûÿ]r8:}ˆ"¢ú—Lj¢‘¦@;"S€£ð#àCËÿ²þop #ÛÂÿS¨ÿgÙÈÖÒÆ〶ö.ÎG"y )ÀÑîÿºjþ­M`jébûW¥l,M„íÌmDLÿ6Y:IXºL•,M,ˆÌŒlœÿ²ìLÿ¯ˆÊýK£¤’¢‚†&í¿{ú¯5%#K;g5ûÿDýÇù_Ìü‡?ªãhéN¤ËôQ^æÇŸÿý¤ÿr‰Û™M-í̉XØ9ˆŒ<à>¦çƒØ‰¼˜‰,íLîD÷ÁŒ v@ç-D5ñ!2:ÂýÓPv"FáLÿ&"F‘?ÄIÄ(ú‡¸ˆÅþCÌ°q6ú³ÌMÄ(þâd"b”øCÞ’ˆ…ˆQê±1Jÿ!6"F™?ô!Nö}ˆ“ûCâäÿЇ8…?ô¡Eñ?Äõ¡Eé}hQþCZTþЇÕ?ô¡Eí}hQÿCZ4þЇÍ?ô¡Eë}hÑþqhÑùCûþTûcŸñúÐiìhdb p¶˜9ÿ±³þÇþï»õŸ…D&ÿ!ö`&@›;ú¿6¶,¶¶23}¨1ý ?RþDø8"à¿20³|„Øš9YüeûÐóqþ¶qüÇÁåãbÿ ýQg³?øá`ö²ýƒ–Åüà?ÈÎúºþQÆüáOpöÜ.Žeûp0ÿ ?âÿQÇöÑH { €Ý_¶¿ò3}Ýê/üh“õ_øQÚ¿öQwÛ¿ŽöQÓ?‘Ù?¶ÚYÚý¥ýŸ³ÿˆùØ ü¯åÃØÿYþfoä°û¯`cþëëG.{€£ Àî/WŽÙ,ÚÌöQ{§¿r~Xþtïr8ýóêü.–Œ@g€©±Íiaeû³ðæ‘ãVþÛŸû¬ÿíÌüÏ üÕAæ†üQÈþ±É `kùßÍþÀõ¯>²qúøÞüÏQ?*âdó_ãÊü¡êOZöJ:[8þšúŠ;»ÿÚðÃå/üh¾ë_ø¡Ìí¯ÁýØíþ~„÷ø ?ŠèùGÜG$O€ã¿Sý¿ï‡ˆÐÝ‹žåCáǦî*÷GI¹}þËÓÄÅñc œÿõ<\Âÿe3ËG p˜À­,Mxƒ¬R›C¾ùŠN—CÒ€Š˜·Ä)4ôÎuÁ.ǃڔŒÉ:ÐlÖk=Ud|B:€< t{ÁsŠèôVž¸pˆK[x;p5<ÈðlÃÓºÎ÷Ø·'¹‡ÿ[ni‹Äx5þÇ0UøX íg ±ú˜$8:öå aU -ìz&”¸Ü&d¦J·ÙAñö{Öp!1S<Ç~ë‰"%yp’Âv\Ëýß"%\^æŸÀ”J$E ñv}÷…ê6æ¼=8;á ‡ -,Å q -{Æã;¦›ÒÜ$b%o|Ê ¦äæ-™MW[Ô8²Šìà$dÓEÑïï9ŠÞˆ–!q¬ÆjK{bÊ Õ¤=Ï•]7ä왳µ¿ò,ÌÀ4"GœInÈBÆ•Ül|Ë]õ¸×S±¨)C©ò›X¥éü.Š¸ÀÜ©pXš¤3“¾ž’¥ò˜‚ án‚x ›}>ôæÚ×Ùâ5] ¿jqŒ‰Å|Êyx#!øêSÒ†3~+Ãd–q»‹°Ð;I`EQÃA_×"צ2zë‘[¯úE²4Þ%Ž–ÔHŠ„VM—ä÷,ºñoB' °ï¤ÏeI§¨ì‚™—át 'Z<òÆdØ醦éxÀ\iäR.£'#ÅS¿~}qfHÊfõÔ€«ÈËÓÄφ¿*Õ¯L<æ,™Mò~A%p¢Fç•è6 c¥v*÷M« -áN(d~qT”9AÏâZC¢};DýöMÆR„n=#õTÚu×ÏÕ*G0ˆËbˆÃÃW>6ÿn£)£ 8ÈLu:ËÚ[µÖ˜»H¥ô 1ûEDåïyjC±Ÿ/"m3ë -Iªÿø[²ûҰͲ.µ&Õ0ò¾ÐžYÕ×±ºBÍÞ …¦>–)[2§âä -XfcÏè|ýÝöP»žøk!%›2&rÕýϨ2ÍÙšK –G¨Ï·Kæ‚£ƒþ ?£?ŸŠmS‚ôÇ°õïÒ„úú=‹™-6‡e¶äºxµ@€ål!rV­Ò`ú±>sÐDûálÁ”ÿ{‚KC¸¬|•_‚Þ·’.b©\öþ®y¸™i(ÖwxƒasÙî%´¤*ªwr¤”˜à7ëË>‡ ©09ªäÜn»p뙚}W Ls:GiíW³îˆ}°ïFifâœ0{¯cý. -Y¬|¨¤Å÷ëºtßæ™(8ÄË¢œºFèóH-üüï¡2¸ÚTB\eB7R˜'LjžáBV@i†/_l¢äƒ ÚÊx­D!juš„!p·ÑGÄ©øöîõ èZ&܇< ¡¼=êa»ÚÍ!—‘{`&O²YW’uïœà’’óðì¿&4ÁªÚ‡/W²åÙV‰ìÈ„C¼Ì,qä?NQ„êÝ)QÃÔD"'Ôy1sƒàÿ5´¬k8wÒZ$¬ß³)H½ð”×4){¤žœLaPÖI–ïø\“‰;]´ƒ_UÑß‚+ - ±öz¿C• }"P^룗u"uÖý8Ó7‰á8þí -QSŽ³é6 [j4ùÁ®¶7âQ͇ Á(Lå\¥òüžvi^8ÐbfPÉØœµ80á`“›4ë€ø˜‚ÀšK¯À…òîwÑÂY_ãË»D`®]õ‘edŽ5X«ÂíMZù׸¾£¤Es3¯X¾±øÓ çÎŒû æ -]0ëÐ'›Ïsþ·UùŸŠŸ,ì %Í• <ã׿Z/:éÂj]½O›ð—í¬y…Å·¿jü -`Øi9¬eI¹cÞ °EÒŸJÄC ³ÈÎL­&”}Ù°Q ,% - -‘uR.tz¢¦Shq"‹4ðYc#šçSªûm*+±‡Bœò€”¿,|Ëûë¤/ §æÒ‹LW™pá®Cš‚çÇ~ðó|jÁ0$¹½ÓU1Ù¥Â;j;¾˜'…W7×ò=M‘êÆ}·ùÍÖGœÂ ÅHáIHÉ“ù|±®àm|F‚­•5à‰”žÞí}{ßZ]HÞTì^#'fÈöugbc²ã9¤ñmÅœ¨{R^ñ†î®Ävh”`92¨% -M¶Ô¦†Íî'ÁNβwW‚Òg­kÙ%e—“ð$ n?~:tÊÙ5¨/Ö®ŸaŽ$Ó‰N61²ÞÔ™Wx£‘Šl…P^žÐ}:,`Ê]lPŒú7¾®·÷z“†Uý˜eʇbáü Ej/{,œ«mþ ÎphP?EF7Ki½ì¾ê>bÃÜ}Û2pž¼WySãõÖpý 9}â‹Oû¼Ä­˜‡¿Z6Ò®§ -‡êCÄ<rƒj“F›³ŽÓ6ìû±?þ”ÆtFÊÞØQOv—ÍRP«3-9BÑç”#žôŸ~,ãàÚÉ™²¯¼ m¹\[¸J‰_¾Bך>áÒW.;ØåßH•.çúºåŸ=ÝÝŠ,BBRÃ2¤Àߌ[pD@i•+[%hSyïÞ Œ¥à¿hÙ -AÝP9– jM>‹º *¤¨´ùõ_1õ»<ß 1o~½!ÖÁ7_Û&ýqg±¶¦€À¶tT¨¼“ê3Áìý)©.]‡H^I &U8E÷+fÞT†—Œ Õ=…Ö£éîÚå9}AZd¦ò*²S‰ö˜Z5b]þ3Ô;ªÿzpçµÓƒEþEZJûˆÔöˆ!ÑX¦Ÿ¼YD\Wô÷(û)Y½éíعh4Å:ñ«0!y¿~îK˜Hñ8h‘]qN+¢íw°lTdÁÃïcø»¨Ÿ™T›z«ãŒI[û“šà/Ž¦¯Ë{Ô¢ƒáéGíŸï»éh‡ã’;§6¤Owó14g_©Y1$uy]y"¶0!W ,x'„:”¼nÉôÀٶ瘫&ýCÊšÔ¸vÏÙ‰Iy©Nâ1 -!wëNå60ì'ûXHÀ9Ã:ÎO§}‚»%TѨ¶A7Mh{œò>F—È*ãFt¢P‰Hµ/Œ.ø”¹^»¦fžG z¿~0²¦ÙÜÚ[“ÈNIàØ9ÊÀÂâ\4Í*ê>tB\_ï½ÓÜT_1Ï–H ¯¢Ü¤ÑÇåi¯C9Ëd -ýá‹ëùoÿüˆ§t¢L˜'?ð#—’­Y¾º°\øŸ89µBQWã:R Aw™½´‚ôà¢A¥’ÐuŒ¶ù$ó U›,(;øýù2~‹]ÓÊFÑ_#6×¼ÇÛ€×µ Wl¾TÈ«»Ôe¸ß® ¾óà}#–pçžÉ·0›gVW·Còõcµ)³Ï2îJ‚öÓ“µ¼†h 2£CõË÷ðX\ª+Ê)û&&H]y脘´?¾‘#È Ø)²ÈÚºªœÂÙ?;ÞGbo´~>ÎP¾eÅ~Dlô6¹MþE¡ínéUØÏСÖ(»æ¦%8’)ŒD;¾Àjmh ÊÛxI'Ì?É•.'6噺:.Ér‡aÊÓª%w¢§65¦›ÓZ xâÙë¶XTˆZšåÐ×6Hý£2ü÷¼)&O]÷Üö§Ú¯Á‚SŠ“#ñþ5n-7h{lïÃ>S…^B˜‰ÁehxN}Ì”pÁ”T´79øjíï„Jº3 -ÔI^°ö¹r0©yÖ1´ŸŽlŒºfN -vkJª!Çæã«ÝxÜŠdäÛ#$Áç+M-; -ÑЭâ"j ÀDcl öùø"ž'œHàý:½+îbhXŠvpºÚípµ)í?Fît·«‡ £–¯äìBå-6$Ñ0€3ôLJßÖO9|È»­ðH¿¿´0{¸ŸÀ<6Í„ìgŒÎ¼fe+”-TN0O}Ú†-‚ƈ4zM¡Ü¾±#×N)ÙW`¤×XNxÈ® 2—ru¶öùŒ«ÉW)”ýÚJï70é.¶Z®Hrñ2²ŒàW?ÄÒ6© Œ¨•:ñåÀnžÀ*ñQ Q®@bÿäoç -(­yÈ<=è™– ’Ê(ƒ3…< O²«“|!÷2 -¬5D{q˜)c5Ï‚îrdcw‚¼­e”@\/&¾_ ÐgÌÜcätõèÚ¼ÿ¾qþüåõ®.kï >=° -s 4ª -t0ö¤4^—Ÿ•‡¶ñ œš©c`½—1¤%1êjÉ,@Ñúi¾4°øxøÂÆ "ü›}'kÁÃuZcŠ˜­­oÐsá¶Â[{1Ç)$'ô‘t ×Ñq°àlKíÕv`ljîjÍ/{¨2„\(§˜Çøsg‰ˆ©{/‰Ujö8p$~>Ë´Q|\h6©_8ȼáøïí -âÃÝ´ÂùÀížß0X½?üx©âÃLJHh«¼vº€Ó._šñ›üÁ-^T±’Ø$  œ¸Õ“Mb+çºHÿqГŽÉMùÃ×Ì­­½§²òQ :ÀoWY7÷3‰ÜnŠnýÙc«­sèë)¹p8 .Ѳˆ%J6#´oî—a‹º¾™‚fØÌwµ°¿<$¥{ ™9^ º‘æ©&ņßÖÛuKǘ‚*þÉ`S³Èñ&þ*’5uÚÊ„âCöêƒüÃÃMn˜´(SVFm`÷Ë$6#µˆ®xr_y™®WIRU²á„ÅÖăÿh²Wà¦o±®}O-šžà$)ú -í6þ'l7î’,¸k²…žP° «ÌÀŸ‘ïûéH+;KtšÿÅùOéÅ"Ö:¤{öèÁ7Æ=í¹Ù êPú—ìúG—`þW#Æ=Q‘éºy¶©XŠœBEBUL\ ¯t§\œþñi¨ YQ.ßµõ6“!pwl;µ.R -ÅBÇÊi@<Çj„ï׉HŸ¶Xü>ØÅ+ß«ëx›c äWBmïM&Âó'Â,‰kôšóœŒ/M Td3ï–3]ÊÂy_ZªôáòG‘'ûYÃÓ(_î¿_l,ao€…GônW™ÿ~úÈòlëjóªBìbw¶Ôß­\F,&|Êy}ÜͱώDÌÃæ¹-O7_¤§3îEäÉ–rÌïÔÁ[¹ˆvmkPàWôë̲0¼ïm@%·æø¨/íIPEf#ÓˆÓŸOU€*iP|Ï„€‘Ä+Áä¹áɼ•. Ñ÷ðwDæ|žŠïr~iÝÄ ¶ç òÖ‚Ža€W«Cð,z)ĉ‡£d†¡š?7ÍÆZ!»…÷Ú\ÑMÕ Ò*³ õmJÉäZ¡Ô@õ츞Cæg,¤éO­D{i6œE–x]$¯xÕf[ÿfT›ÙG…»R3ª`š YßÌïPßd–,~£Oî¤×j²¶™ÕBîË^•y5ú*Ž>‰𥞴­KAŸ6QëøDðvܨ9…ß·P@O_ùÇì*àZnÍÏ1‡£¸„…Ey¦•h$»#eN"ã®æL¯¢„¾Æ«%ä¾'æ$õâ"òTýèªÇûÇÇ5jÓ¿ -za4˜Ïhspð~Ó<ål¤ƒRÄwvˆ^4_Lþ‹ÈI`¥|Š ÿEpTDþÊÌî‚äÍf-“·t)[¨ÚϺ•Û"æÆ|«gá¡ R{ÓU'Ðê€{|ùk¿i(–„1_2Û­F j&â(®N¾~J´÷x -BÃKN¡Ñ[¡•ºwug6çJ;±QhýÜ \åE¸+“‘ÞÌtí‰\[XÿËZ~Ds’_üËG³.Õrõv»¶µì«4&³E›N ÖÈèåÔ¡èûPßa™X¨Áåi´d>ç|MÄ]Û±?{}U>O?ë }²K1éÕ¬’×P-„‰î ~°fHôìæ<Œ§cÛñ°­Ü€çû•cFõÚw} d׺N^óªkÚ:WÅón¢¬ÌônlC§}9©ÿ‰tí£îñe;ýJZ ï ’dD'Àæ’O5Yì ‚Td9±Ûqÿ zxåªxº.Ö–Ñ«u¡ #÷ˆTûÓ…ã4Yt¦èЮvF2ŒYõ•µ=¤nt„1»Vœub®–wý‚¤ë¬Kp}P! JÙ8Æ’U•p¬>×_¾ÞûÜi×é{}…_X)B1YñÚ…û¶çPâÛ´eó/›¡Fß±÷FEÄ{2kÝêô›;%À]b¶ª²…«Â~kC5žhE5²½¬¢b¼YH8ªÛïäèÂm]¥ìšN¦í¾Ë¼ŒØX-2 ‘T¨œMª.s¾Ö¥[P[ -f•xr0E² -—{ø¶6s1$®UQShÍ’qR ¥¹hl p«£¿e¹0Ëi~¬Ñ†Ÿ~é§ñÛ“Ê‹{J)éô ‚×¹IÞQé#¢›à:]|דÚ&Ø»ÇMøžâ–7 Ëw°t¦>ϬÇÏSbPUï¡r ‚:ËÙ¥ô¨Äýs”;ÑÊY¦n’—j ÇëYŒèk{BÎöæz`ýBVÂêº -!ˆjù*æn§:¿ÙósyÕ¸&o¨zkû0A??·Bª›šyžÅÕ¥ÚÓ2f¥j'+=FŠ¾¨í0ãš:+pÇYv0j;ßêÞF5–÷Á"xyŸœ~¥ä‚¼ø]¦d…GxCI+>à+ŒkP·Xé1Š2fjß/5€§îzŠ1×)€ u½í6l¢ú r¬'i'Â$ øàdªsŽ­ºS¹<£˜‚¾ö™[§¶)î)X^ÌÓOF9ðÑ"OïEØ·?t—`”þüw¼ÖæÜ»¾xC4TÝIõT;ÙϹ.Ó$AÈÖ³¤Õwšèp^u+m^–@FÃÑÁm¡UÜô1[›„ þ/9µž³r°2ÊU_¯Ãš–~åÎ{•à7Ž/ÒGÏ‹—ÁÏ'AB&&%i/¦xú~ña^çéŒ-Z"ã{¯™^J™¹¸ä’¨A0"dæ,Ý5“—ÊÅñ£&ç×ûbÛíîtBˆß4à¼sÏS¯‘˜ÄH°l.‘–É.Û5ã<þY‡ÙòZÁ\zÞmú:ÇJåùÌíÌ;î·EÃ1SVýc,Ö&Í 9Ûõ«ÿóB›ƒ÷'ãéû`I?`¥•h -Lúu}Dýø±i¯–Šé œgöˆAÂï1G*Xë¨rRšZ‹ÙH!ÅG‹5ŸÐYlDHš]¯.W¨Ynò1ILƒ1;^º>þ·ŠÓ+3ªÛâMçSãÐDEÜ+ÆÏ`Ç“ÅÆ[0ô‹k½üÎ9‹þ·iŒN¨µ`*î>eœòÛSÕ‚öÐÓ…ÏÚb—š]¾Î¯±kŸDѱ0óÔcíHC“K5ï,ƒäˆ]síFNŒ·X=f ÊÄúuÀ‚$I¾ñW‚\@ý -2CíëPÙI T0ZZ9{ÖœŒ­ñè hÃdç—ã'ÕçÅÓòÉÙHPáë!Ë«£ßrjc–ujÎÀé¸0¤Ò#C;—•\Ý÷:sÉR!õÅÛ‚*c‚sX@-tˆ ç––õßr-8TL²ÏxÕ%¨6wìs‚íf4bøÔ²šNF+ ^š/™!É2‹Uÿñ¼AI³=;øÍ F"‚pˆh6ˆfù ê­ITûÑæ —'³C‰ä²²8‡è¦ºÊÍ1£f],Nóë4XzÈâçk’3E8Kq!Ýi©¨!œ™9Â'µ—“úsœø>Ë~jÛY›~9sþ>9‰i‡Â¹!èX›ððîézlÞü{¦Ã>ò Õ¾²¤1ÐÛfX½e~3džåwe…•.ëO»yag· xH…QÙ™&4ˆFoyS=Å÷Κ°rhÜÜVýæÇb+W3PgÁå¹YA8È Q…ž%ƒ¶pÊãÖ5O»ÛŒ WhE7kr¡}y¡È3Àt™IÚ°—MîÈ°Š ëz{;kzö!|¬šT9$Ì·uÏÅv„Ýú¦z$åíTáɧwÒv8k¹M×H ”O ¼?ëÚQ -„¼^Ⱦ?/Ää±+£5YÒ^›Ue2½ElÀ’<ÍIp )@·#›Î~ƒ 'èhôc6‡0Dk= -¿ÀÛÖâÁõŒÏC«]tÜ+Þ¿{ŽØ§²«®› v¼\¦´8=H>Ã÷ÙvÃ"8m°IõD¦Ÿ…þnãWÀ`¥€kçØ&E€ËZDÏVsxÙ\éÃy}ýQN¨ -¨[¼/ØòrV·ðÊ@J.Na´ Î/H»úxŠ’¿úOqyÛPB4(øhç†h‹EŸ®U¼Úùz ž¥ï`Id–4Ǹ‡²ânÑK{ßgªæ‹xÍ)´-cÿJÆ:‹4iæ,|†b^ Ñ·O«ênFÇrµéøvK™îü|à“g4!ê–K‰ÏˆòÃatAj&ìÏÊ -³_ò!Y,`Úi:bš¶aÕ'eávèûPZ¯ì£ ˆHˆ„,—˜É‰Ë@z"?±w[o/õ­®™³p]³ÄlcÆ—•»óÏAWšo,ùÆ9…Kï{yŽœ`Z‹?Š×è•ÚÒwòxƒ5S5Zšk%à€ŒñV'P¨¶»év}ì%xR&‡.=ùÒl§}8l -þöãi9Ì=,³ó´ÙtÜÉT<¼ýå;aì1šÂRäÐDÐ,ä梨ۭŸÏS.+®òg)3¾ÊXjH; uß÷vnãö” ¢¹`§%ÑÐqåy Ì/zHÊh¬Ï iøAu®#¢e¢¡3ö¡lc§Q_²ôìºÈ÷-÷œ×m™7œ‡D0”p^g*~O‡~kO%]'û³}.ˆ ÷Ü—7ݘ9nâñÖoן@ÏÌD÷Æ!ÏÆvw¯Y|`¹D’ÄsÄQØ“!ƒ+é4€r5ÚYõEY4kô1îõåægšü'úº¶ééƒÄù‹—“Ù¬Õ’¬X1ðr+¯ÍŒœq@…Ý=Ò‰3¤Œhv)zš ÜŠŸYJÄõ€/´ébÀÈO’o—ïU[WE³éé›QµŠ¡úÇ‹_T_ýšÚmt¬ ,š¢OY\© -¾flú´¾"TÊÀ{çsa)–ÉLÚ¬÷)suIܲÄÆ{•õ;ÛcÑp#QwLìSÖ²£"¥M/…qF¥S äž°¾ë^zÑ{ l1âüËûHÐ>eòpÔKÖæ…+M ¸ïT¢kä&ºóØYg¥86·x¿{%èéfEö¾ ^xf›\̓Ñ<Ò†ŽÍƒx¢¡BWÈZâ;é›#vfÎòŒàý|VòBU-Ù_ʶ•ò`.ãy¿ib¶Cê<”§@€d•êOw3”R4lPˆAÎ<«²È÷2°òN]Ár¼¡ô»Lß´Bµ‚c¡Ž.[ê÷cúçCO–¶5Í µOyß6Í•Åhf’çäŸÀ^(0}®f¼fû”–F¼æ[J™ $†S™½ó”óªÊ»øâ^î:c]»**0§V"gûF4­/†Ë°‡8¾8« ¾›BbLÃTt஘…‚cRh¥ºRªŠuÝÒ¬ÎÌwD‚I×+^–õß'gŠàÛ‘¹%âÛä¥1²ƒžóF¢9¶õ‘å¿£h :ǯÿÀ~ EYŸáE ôhûŽPK‘]Z™%¶o±•½–[Må -O4‚?ÕìÏ,"Ö®‚ȧδþL<æ¹ìqdæv£¯Fº>3Ù²Œì·üˆý]½¿¼IL -…®REŠÁºhË0™R”v˜AÊ-.åÂ|î/Á$%½UÏ–O®lR½¡ -¹ž|”½ÅuÇßü´5ß ™ú DoYƒ3’!ŒK”¾KPŒÞѼºh‹àù¶ôÍáž“‡o!ÆïÈx }üûÿ õkï{60ò»“Ÿ~Sgƒîü­óg’²-ö‘Û´gªñîõª!íÖpp¢­åQ¸šOòc6Ûï’ˆ"epùxKèDb,³Š &Ï4N8ŽRï}³i[âƒGý­8¤{(]wùÅšInëyÕ¹‹„6·IJÂ[ âš«ÛÀ¸-‰œºÌÕ{rTB[ÌKlf<6kqXsfí@3aëê ;²²Žù9Ë7¼Jß >ÒêT="M»Pªþ_‘q?jÔ¼]sc¾ÆàÈð1»¹/¢ýÜ€å.Co!mbZtZ{¨ÆM+ï4­uºí—?ó”Ð×l¡ˆî¯BgÑÊ™Õý–õĉ|¢1®GÎ`÷EK!.{Æìëp‡)ä+ñ‰/^Åé‡Úìïf;Âç–d¶QV©ì"QÝnçöÐMfe¿ÕyD‚¤”:F ¹ê¿Ú&ë»ÜñB6ø±I$¶üF)_¦dÛ/—W>®);tsÑ™bð°ü¦d©Æ¤ /•tÁ Ñ#‘IML[áÔÆ -c@ÉÕŽ¦;eÑæ‹%1^Ö9Èzúîè»*9eè·úk>c5”b¥†Åwà ŸšRÀ¹÷>{‰wð€¡åxíÓ_Í2TØšèÊ»ÜáÆ@*³ªÕšÇ0(߯êV5Â;~¢¶j’‰OŽž,xÑPý¨GÓ3~Û dv{¸ò]œv Š¼“'#nE®f†sç$ð³: -ÊŽw\È8TŠþ“åÃÛ§ù4 !˜E ËOUÿ 8þ»×pIL‡†ä~…ŒK¼±–_öŸYY3ú¾~6逈•6~*†ÊtK#Ÿ¹F }ÉsGçˆõFu[Õ_ñVÛkƒàn0丫“M`YoÆXQó™Áè¥ÅyZ@X:qïS¼ñ™vç^°8.Ÿ2hÍAßߎ?¾Ô ';™”GQÿ;R|FXÅ\diíHZ&@u9„ô÷A¤êVMaƒ†y¿ XCë¾= :yÍ1UøŠ’2ît8)Ðc)×pw)¸"®N/$ã¼ ØBÍßN ˆ%¿¯Ú<ï÷ …¡ØB˜ýJÐs¶‹6©[k,§Ä^ÿP |W±Ðå¥èÁˆß]­P9´%­¢Ï§VñByI¡(‡a0R.5*í¶Ä­ÜFÕìêd iÒÖÔ¢VAHÇ»n­ð{8R-AŒ†²ˆâkYö¨¯ÏÚ ˜Á×í@Žy´P®êçe(¹À‹Q$©5ÑJMbI|Öcµ¯O?WŸ ׶a­AãµêÉraó$ð¤tÈx^ šÂu¨ÞIE¦ö‡øó!¤i`wö?ì„ÜËx[ÙÅ»åF8+1T,i©34… …\ª Ücµ~RÂÁ4Õ{i—”<„²TÊU×#ÆgÝÒy]§~^ ÚÒ©—5¶R¹°aO-ÞûqÊ4 Ðùw¾ÌT¯‚KÛœjI+»$>»rkd°Ësæ_ul3Eª[ÍÐreùfò™2(Ç;ŠKWçØ1_s§ìNk¡`à(jXšír/ö³£o»q>'‘¨e0‰Ü2¦M=ìYò<²Ý›ÂÒŒdTȶe­<œ'å*AÖ«0’ÒE4Ù$¾0æ±m¾§½‹8äÒVvñã”Y}¤×sØðÒºÙ&|'5®öò?¨¥ùÂöl‘ãèÞG>µ -ÛmÄ㜪ÛËþf‡ºÆ~™„VF§µ]û-,d€`ÇU_å 7˜%XŠ¯öž byÓ¶¼ûÙ¦ù``dPØqºXÀ È$È3-i©HTëÄÜ«Eðé`n6LÝ×] ¤š‡MÄo“1Ë/²jë‡bS^íP¡ênv­ZDj:å]¶§ú™V“ˆßzMºý®F&ïNRB†œ9il$œßØtÿV˽½ÇHˆÎ¸rkïyˆ€ìFšvÀa€i®c÷¢f– “ß -xß· wùÍƾ–B!ìTžÊ¸¢ñã°Nˆ¬r4YŽî¸•¯$óx…æ^C†kGãÜL>éUül[\È œò^“•ë › cÏ‹+ÖbAsBê%ôµ<'NÌe­gw: -Ù,=ãúÞ´½3 äK‘+ÝJ¢¡CFP„:£:€E2íUÀŽãÀKšåÙô‰H´ùçË(üŒ«2*5Xp ž0äT' -6Ÿw³^‘~§a ùFD¹)Æéw.0¢¹ƒ¢êKÝ}µ¤ð×CÆ eª0†à.E®*”É-ß¾~Tc Ê‚f}µ´*íð(QE -®c1„È2ÈÝW—šŸØÙ•rÑô²—ùq$ƒh—;Fm¥Ž{ -V˜ ‰¦8ßô¿–Ü+ÔwÛî€Hä‡ÅÉÕQÂó”HD -íædPÖÕ˜±5CŠG¡=™ˆqžf‰p&Ø’‘ÜJFg€]º‚+·îÚ°t:S·–0T~ãlăon‰ŒHY£8óñrgšÕ1w÷¬`;eåó0ìÝò}¥íµj’¢wÍ (yúʼ8ZÖ0¡$&àN Ž^Û…—…BåÚU%hÁ¼cÈó(6mMš J[ì3¸š¥A[ ¬‹8 ÑÕL{ªéë­/餤9¡3Év¬.1{Ë–§o—µ"¶“^õ~‹P¨pýây΃¸ªÆJÚX"o/¶FOήDà°Ð{þœ qcéu9c£Dâ€Õë“É—Y`|Ö¾r(.$óNÀî‘ÔK£p›·ïg \" Äàzö±!þ¡ÚåúõwmJléÏEµZðÅV¾œMüM°¬dG ¿ÚÏ$p¼'(ÝŠÔ{*ï?yÆåõGÀ6{ÊžjÖµiºE×înòBèö•~!¢ê´aíw(·)¹Œo”~þ{”©lñ©<ÑšÂ"…^ÛÕG FGGyÓBEYc -ï™ÝÖ€D3pæ »RtàãA±© ˜¤± ìb(CŽ¨“n˜è27`Sø…ܬjB î³ù´V@?DoÔ8Çîí77DZ=[µ’"+ñS›¡Ee¯pÚ¶a!¥Øi5n¸µ&ªxñá°`¼eÊÑI> “‡¨„¯<5üøáY½Æ^-zÄx/ŸØSÆo%ï¿Û˜kŽWhkHÓœO–ºÕD‹ zj*ZÔ=ÑCeÌ® |¯ç ³›Ö®TÌ¡K)4niø•ˆ}¯Ü# -Ž¬3õ2ËSÝko Êu]9…‹¬ù9Ãþ Ð.x -ìváú}«°ž5i¤óäû½$9ÈLû°£W—Ðy¥E"»4… `„í{tâÖvZª ˆíÚ¼­fù®Ïµ'ºvzÃÕʹ5F¬Ó/†»Àø¦»/Ìm`ž|µÜ‚5Êq›gú\ìʌİD©Äéå'ÆsÜÐo -ø$øu¯Fg¬Àþ EN²äܱ'¡¿«Jš•€þÇŸ¸xâ_\T‡ŠJ)Íó›®V ¶Pë º}"¡8¾Gfü>7H‚È@¶o@Cc^âè™ïéÑ›€¢³—³ ºÏª¦¡Bð›KŸ¦P¼CÙåÀ ]MU¥A±Ù¢TcH~2ÑêG“PW¹Ú$I"âÿÚþô+hÌ–šXëPP[Et£ÐÝZ±{æo•]Pm]VUì•”Ax®¼œÞÕæóú·–á°Üír ¯;H23*¥îb­ªË!KÚì"ì†|ÊN -×R~Ÿ/EZ<×¼™Tñ$«ŽGºâXð0×mIœåx8&M…«NîæN“†óï^ºœ€T`_ß•G$³~nÒSŠ‘`Ê7ÄòC#ñe~Ȩ[gjÚˆ'/:ḟ ¯ºû …åg—fØfKÜYB?c©Ü9ù’±4³ÜCámñu­(Ouha,Eü’*–ÝÅ©{&ùn|k -XÖIcÿµ]¬ô¾Àήö¢à2à -xyŒo;dšö©A²i™÷#Ø•¬¼8eg :l,Ö…­ŸA=(öDxû»éW:¶©3˜ù¬ÐT‰<ÅxîøÓ?±ñè˜NfÒ¸²ÜÞqÓ$¼¯ÝõŒù6›—+kZGuÂ|hŽFzl6 )³=q/ˆÝ¢Yaþ0è¦å'ëïRlzð}]ÝX¦ÆúʽÕû³AìŸP„C¯úà*ø¿¯¤(ÄLg 7Pa³´_ùÆ!cÝS¶ÒŸò\$¢²LT«}Íýñd6E0!èóÀÒŸyíCaé ÆVçtJ’¯«¹p‚Àž|D9ìJµ\y§Z² ߬É´"‡ô,^-/ðqnÀî`,XSÒÐ<ª¡Ô®û’›/áw†ýtT Ù* …Š¦Ýðz YÒÜ H!ªVbð¹›ÅŠÚÖÎY“¿Á¸ÊV{ÚQ-^ Ÿµ -êõëÜdñc½"¦˜Õmz7yºhž#£0‰>Èé–‘fâÇüV{0›óÓ|Ð,°Ì%N£qEf¦@“ÒgÇOÉì„ŒQnã©@™fL¿ˆ˜ý;žËN…£%ß´i’Q”LÌÍ%ÄWÍ8EcõqpiãÎlXøãÄ›ê®}¼Ë¥Ž£³W¦P6HÜnÕo‚©½Ç?Iò胨 -Á¼¡9ÈÒêD)KÎ;§kDòR#vkɤ‚qÏs8“86ô’ÆÀ(s0ÂW+^9ö‹=°ÛÓ%Z3©‡Š Eu[t2Ì«S¥fD •²…½(9U·~)ª)uBC¢Ñ³ió梙UÜK}›Œ­ÞôòýQ¶ÞC›Æ<³Q`Kº„‰]½±l<^~֖ýå1> '¦¼9+J㇦7úC¥y¥æŠ’¯òÐT‘»ûm ßSßò3ˆ~m÷öž§¾@g1¿aJWÀ(VC‚ ë±s6î§;ù%=²=ˆAÚ|¢Îiõ!ÀºjIžÀU¶Õ7rvªôB—P³à·øQrP -NßRð]´M_.Gý}”Éb$ˆ¢(D6ŒäZˆóþ\¶¤|Z×îSšp¬uËgªò›¢=7e—Î3FZ°Ctñwô­>3¨]_´ÍÁ@$þ©;Ì™Dh&XƒmÌü؆ÔvCSÎè»òƒáª}=HQLèRB/ÌKÆþ®ãÅxÕ‘ÅL·©Œ0˜6^‚¯Øé_G£2ƒa!Àûüñ ì¾2„“ÙP+„¢X1ÿX l¶µÀâ>úi)Œ-Ã.³-r×{\éÈA §Sü@û´}7r¨ŸDâZY<ÉêG1(º½_x¸0~ièžè9[#ÔŠ Õ#ƒøOYº-ݺ®U ¯-çê±»¡Ù‰Úwt˜ï,›ÝwAŠ%ê¢-öê!L}_y«`i)ã†í2tŠ $÷ò³bË9—jCUdr² -8]»Pi0CWxV·›O¬øf>m@ÕÚÉYöNÕUüÎÞ³;Z?&AD•Ðæº~ƒ_¸îW’ê¢_2—É]èM>&%`dƒáŽ¶6§Þ: %+\'¾4²£ºÒÆûÝ·®h}šõ½W~u~ÐAoe YrW€Ó¿kyõ÷K".àNlj† -hP§éuÈϾv2¼…qKQVÈ[)/ùÌþY½–òT*T…”ä÷7:g²ƒ˜ŠŽ¶¤¢˜Š²Ce³1[`üD×E ¨Áƒ“´š#´àìÛëÃëPlÅpåYδû¼#hñ7]GWÎRºì–í/OJ‡e܉†¯–ÔG9öÍ‚åë‚C¶Ä¿.ðù;Äœ/)Z.¾PÁ5mOÉ€J\f 0¥FNH¡5³eá¬I¦¤3ŽÛ£~“¤´„ô.åRÈwˆ'§^ð)]VqÖÞœ½æº tgÔ™9ºpôÁ’»dœFgX1®å¾ébkÿúÛCØø­ˆ™žöñ7•\ )CA$ðjZeþÝßY:¢Óöå¶fJÝŒS¯µÏ›e7y[6à˜«'¡"Eø`^{î«‚p.ÿubC UµÄr7IÉRD4gY½éä3a€ƒ6 ]°ÒeS¥)Å÷SùQ6øD²=.Ò7'4û^ýá®XÛâ»í€ÍßœZC{zFû¸#3.9Ö4‚/ê‰U±Õ±€;!øǠš!&G³t¢ŽŠ³Žz&Ø ÞD12‘LõOžXRvHVàpÂrý¥¬¦Ø±@rEyê´9­<'__‘tvÙX}?È,ˆŸ­T%Êì¡„F·F‹çÄ ®k’5ðÄñ˜åÒaiú£»¿+A'’b1Eu`f9¾ˆ`ðíë@ÆÔVçfÉÐÆ •úCÕ J’HT |IÄ»ð-Ë.]:àž@¿¦y«8ªƒÇ¶¯J.ìà2wi" 6ÿÞRÖý4Eå?¹[ÉÌO¶&x…)ÑŽ fÝ2XšáãÝ}3Øù™í3q£‰—v"Y¸qy3–çæÏ÷_âyæfêâQÓÚ‰øß -Œ¦?¹Ð]Ùn©uœÝßx… AÒì¦[h¨±Ûª}õ¤ü†‰ —zl™«±Øê™–a}^¶·ÐŽtq5ØxP 9—ùþ‚'Eš¨ÏƒÉ@}œgB$cÚ )W¾N„VlLe£!=!tJÀ™›¼ÈâZ´ßœ…àbÕoµ¤rƒ3|éëå·i'”}#ÓŠá•[ð¾á9GÖ%ÖD5.y]ï& -ÇdæÁŒTzOèðÓ·É„Q“ßÂÓÈ:Ív*KÙû”WiTÜ §Eñ£€)3ô·K«Vøï…êÁ;õ÷Ïlª®+ä°HÌ®Sé‹òm_ÌS|Ø_l0]í÷S$)…ßÝEÞ×a<øÒ9”ê`>¥|Ú¡›@rÕfmŽ¸+5œ`¨ñ‡´/†ý˜&ú…‚ø–+}¬Ïœ;Kh§ÙÏOÁÝ¡þÿïÿ0ìn/Ûn{ÓÜô$¨ÏÌÊ»¹îÀ¹ŸóÕôÚôLML±ú€Ockß^ø}+¯{:º.þ(ÑMìÀQ˜<”„ò¹úvè® /`8냥ñ÷j_ÙÃð•ïlQŒKXxõÓHwÅõ;â©*ù+½w&‹–b;T§ŒÃx¿9"¬ Ý(ö¥Úg¨|óŽÉÍÍž¹Çf6kfÙ:]Ð`nn÷Ä1åÂx¸…Ýb¿dÑõ|d,°2m¸L[×°°ÂBþ¬00â˸Û/Ü$µ°wÀ1k»¿܇¢DYäëøÜ'`JQ„ía¿¼G¨; Ó©¿¼» -¯Pf> -endstream -endobj -2909 0 obj << -/Type /FontDescriptor -/FontName /GPONVW+CMR10 -/Flags 4 -/FontBBox [-251 -250 1009 969] -/Ascent 694 -/CapHeight 683 -/Descent -194 -/ItalicAngle 0 -/StemV 69 -/XHeight 431 -/CharSet (/A/B/C/D/Delta/E/F/G/H/I/J/K/L/M/N/O/P/Q/R/S/T/U/V/W/X/Y/Z/a/b/bracketleft/bracketright/c/colon/comma/d/e/eight/emdash/endash/equal/f/ff/ffi/fi/five/fl/four/g/h/hyphen/i/j/k/l/m/n/nine/o/one/p/parenleft/parenright/percent/period/plus/q/question/quotedblleft/quotedblright/quoteleft/quoteright/r/s/semicolon/seven/six/slash/t/three/two/u/v/w/x/y/z/zero) -/FontFile 2908 0 R ->> endobj -2910 0 obj << -/Length1 1075 -/Length2 4617 -/Length3 0 -/Length 5298 -/Filter /FlateDecode ->> -stream -xÚ­“gXS붅•ª4¥(Å ‚I£ ˆTé½H7„„H!Dz•ÞÞAŠ"A@@©Ò‹‚"½©€tnÜûž­wŸ¿÷YÖû¹ÆÏüæâåÖ5–·ÅÙ TpX‚0¹ PÔÒ‡@ ˜†—W€Ð8¬Œ€¸ €HIAò®v(¿-"y,Fà PÄ9¹ãÑv(€_QàW‘@ƒÀ£á0,@ F@!0$8Ì`€ƒ£w @ÞÑ ÿë €>Â'"l4À 'lvh, èW 5,øûØÖÕé?w!…ð“B -HmqXGw€-IÒÆ‘z!HIþ?BýÛ\ÅÕÑQ†ùeÿkHÿ%Ã0hG÷ÿ-Àaœ\ <@ g‹Àcÿ]j‚ø;›ÂíŠù·ªF€9¢áòX;Gü÷ÚE톰ÕEà(æè‚øëµýwÒÜþŠRQ6V×úû>ÿÒtah,ÁÐÝé×_Å1ä7“¦ƒG»ÌÁ@0B*$=ÿy³üW/e,g‹Æ’BLÃãaî4¤Í ‘À@cmn„)0ˆÅHŸH3ñ qxš_×)&…üuôIŠ@¿Iºÿ‘nûM$Íæ€à8 æ·“Œmÿ@„øÅ çŠÿC'u¶ûI†¨?P BÿRæ7BH­°¿½I9±h,âÔ÷’š;ýŽ.N"ÒRâþ !uÿ#„TBøíOêFxø§©¡ëo?Ò`<ø¿õÿ^ œ›§°ˆ(@*!MQ !öþ?upW<%üõÇ‘vë?ŒD“6pCÀi&ÇppéGöOj‚‹}”óJÎ žQ°«Õ~Ù2ÜD8wƱ°[ÃYðSåýƒÒÔKt ç®=ì¾M)ROç&ÖRòC([‡9ÁÂU”>2¨õ1Q."Žö(Ü÷¬.`Çjïˆïîóç9Æ»ïc€50zŸ¥u¾žÅ>f%týö:1ÔA®ÆýôSuZM‡ÙO*Ïü× ÐK‹´^…«Iw˜Oί•ìoômW:ë2䀸Èî<…F>ç¾?ŽðËþJœãpÇ-‘ž³e#-aÛN‹ÚkYÛÖÂð™Ø¯gÌM¼ãü=éó¼G{Óä¾Ä¢‚„¦é/Ì:®QÓÉBd?­Ñ< -Ï+Hy¤úÀ6T\}ÅÊ6PK³ÀosB{kf‰Ä?®Ÿ´õ2½;L"¼v}nâïƒ_Þh>šƒ's Ü‘ 7œš(QUò¼Èsn§Iü2ã¡Ú˵–gëY¥Œf>ïÁßûn,R:}:?<¿mÏŸüYçˆîQ£7¨ay¯û‰Ì&†㻫Ž,cȤØ.9sîÉsͲ]\ª©IFͼ fiô ëw˜Ù²æñÔ²^íB”7¸RS -ëªß¯ZZ) þäÕ1®À¤Nq{IjjTÜÓ9\ Ÿ44LªªåUwëþÀZ H ïB‚rK÷SO8%¼£éZ>PÛØúF9ÖB謎É^%ŸÓܲ·Ê‘|EÇá-ØÉcµzvºë^Òê’›úÍãÚÔƒé|‚6kMÑ,èb~þYoNQÉ}N{”ñ×g2BÇb .zœ¼a‚ñùö¿Œ¡¨Ï\u¹e®„äåÐ1Ð¥yMewç—èKõƒÝY6(›ÚUe:¿cÈS…¤o4<·n¸I袾r÷UjéÎúPDlÔÄqò¤ÊÖîèÍ70f}H+|¡É˜Dçû@Áˆ)nbÙ²×C¡+ía„nü¼P¹·].I‹D…CÇiòcéê -ßÇ:æ){v™µð2²(|¦¸Þ¾oÜÆ`³¼]6ZU×J<QãŒÞc‡íáû;iÄÇòEØyδ±›^Û<%r“ ¤$¡müìoøºXÛv_ϲ>ÊöCð‰?RJ½w©n=aÕlÎØ œºŽ"rzèYnnâœéºåïdƶ5×é?@ß|Iq“øÆ;œZm©K¥8ιÎÅŒ aM©â³h~Òƒ2œõpÆ^ìI¾6úIV:Ù/äò -à®þîÀ}ðˆ[ê½]áŠYý\kîn¶Iu^œÆ«öuµëzqá(â¸díV'øæ1‘qÎÓAtÕ¶Ï c¯—äi'Üda"¦Ï>ÿ>rõ´ä½ìBàx8ÂK²lZÉÈðÎÎ)Äñ|ôÔ%.náB¤Aë$YSú¹”‘%³.¨¿+á§p5–¨Yì åhóJ¬lã˜Ç>‹šŒ5ÊJ* LŠ™\l¯±0aÚµÞ -¡µ®PÔw<Sa~Ý_cÜŸ!z?…¾diz¤|UsèDÁÏ«-,„ X„$[øÁDžùú<òZnQæ£Æ@yZ„[®PõkÊÓ2`³‚¥Ë ²,žô £À½¿‘‹ù;ôCú1gôö²EJ½ç3ÖJïUzø¿ûlQzð€Õìi™¢—³gÈPª¦P¾¯ZGU œúY|ÄíüÜR-–ò}îŒÑïg7âU°3 ßMüôÐÈ‘«(Å<¤ÃºƒÑ{ÅÜMpp@?Ö…V»Ur«»)}âWÈôÖ,§Ýax/ûƒüH¨P§9`­Ò%<¦ -.s¹ožöGdeÓsâæ¡sàÄ%@zi]x ¸¸Ó‚ô ¥©éƒ˜Ž@ÜòûÓ”óÍg±I]Љ%2g+:¡¦¶UŸ¼j—ÎwÔ?B‘küwV7F9ÈÉÇû;íÓMºöí¾ž0 >&Ï¿+Ù_yF†ž“Çþ[×Ö§ÅÔYó<3xß±ŽÐG×.ð´Qg‡1C‡áb™Y"0¢oF·Z+D³Cfu«¦{ò>†¹1Åyã MÖÇ…ƒhÝÂáþ)n^gÜ~ŽŠÍ³óÜ ëEÙ‚Çmá¦9‹±U!-¡Ã“ñ† EتԓBñ%£Õ¹ò çä²rEPC€¤YW}E¡µ’ oÌ‹Ù ×öB†¥-Ÿí­–.í³±<ÒS@Ú™§”‡&€®±7DÞYð ìH_+„w/Xw‹ –òÇ)1)ÚVùPŒgߣ÷ÝI™¯ŸÞ9o£‰ùÁ6ôi$I&h3¹6¸ -­4;û@™ò–å¢i%A”,Á‡é”oí¢ä¹¼”®–t©TJuH«¼fÑ9ÜFûÔPJ%›Ûؘcx|ë²ír_&=%/›©àjˇ‚¾EäίÐq¼æ>gYnñùòrOêx>K+‚(prB|‚H½‡Ÿh¢\êJeïÐ)#[_a¯H^6Õ´™±é#ïš”zJ”»ÂÅغÁþÑ_/ÚK ü€¡Ê"Eqp.­ÄŠlîž‘Ê*¥ip«PDM®Ñõ³\sà7ŽLS¡°Úà¼Ñ&õ•±-î ÚË^F~ÉÜÍàÛ ú #þƒd b-õR!f_žph}SZñT«š ).ƒØÑñ:ý¹ûž[‡Ùë`|Ï®DXì}ìÿÕW5¿D¢ÓRr8×ákæQK*žÎœ•*Êol#­ý ø3ƒÑõjÙ“l‡¶Ôk@­pÕÙƒJÏù=±]šR4BâlJÚ§,ê‰ àißÚþ×YJ~_µs·µ÷zǃ^ƒ™€æÙT̃ië¡Eµ¼Õ0šŽÀÌÚ¸}O%ãŸÓƒ@†>mÑòFZîzPE…ʃöŒù[Vh®“ð¡tÅ£Ú ½³da~r[ìs¸f©ÝÓg½1ì¦Qá5g‡¨«² ¢xgÌw}oZµ§º‚í)LTÓý¸< -Ïúg*?ÜÑ1gõ´ö§G„oP¾óiU/2Ì·~*ÑŸüâùC& Ae3øÅܧJ‚ðÚê6ý‰d°ñÌ*l©Ùª{<âL“)½ÛbáxF?w+ -ïÛ{ ËÇz««H>‡¥éaI>,°AÉzÒ¢ýÚ"•p¿w.0é2˜>2cØëí©óy’ŠRLàÔéÊþ^1µ»uÓd”ÇÇÚxõrÕIàáæ³D.ïdËsp‚Å[úÇ–>ª"gxl6‡ßÇn^]vª}ÀÏÒ® ž²ìz;G扳Ú2W„˜”_¨¸ÑÜppM·@ £ÖSz`TlBO?Á‡¥&ZÛô7—¼|Ö)Â9ë‘hâ=¦vm-74mõv%÷˜íÛÓõ -Zâç6¢²>7(.Þ˜)ˆgäÛçJGTÔÀ’Û°±wþ”,mkë^æVyr_OE™j‹Ô-Ÿã2…š™A¥¹¬÷ Óò^P`ñ\ùÔê÷ -é:õ”\Ã7’RÍ8jÆ#¿³Ôæ:&^UÊ ¶±ºnÂùjºªå-5—jétµFcþölBO!Ⱦ~JayX¥Cg|ó®Î˜ÏÚo-]Ú}‰ îú±ÊÀ()´Ë{ÿó’÷ŠÕ¾R‡‡sÑÆnöÒ`_Ò2þÞT(Ðsu+'~Üxþ²éùê‹nï¿÷‹Útµ>Úcn¹á÷­ÌZc˜ùº‰÷!íµn Ï›'K¢¬m™uÌ)Ýz—“ž»¸=Uœƒ3Õ“uý¾a\€µÆÍ¢}.Š'a½¸£tqŸÕ9§À'Ft®Jz¼ÐÝ Oœ*V„k厴²íê6 åÍ{}˜˜/ï µËÞNßxlþöÝì–§PÙçÀsaÄy¦gÑù¹zôka5„¥ðö -¦¬—/9D4Ü\KÉô£t%wíœq¦†Ù]Â¥u”|z7cP -à3H¹o_¥ŸEŸXðû­êB¾5«Wn "i|rÜBÿT¶RÙ -endstream -endobj -2911 0 obj << -/Type /FontDescriptor -/FontName /FEVBAK+CMR12 -/Flags 4 -/FontBBox [-34 -251 988 750] -/Ascent 694 -/CapHeight 683 -/Descent -194 -/ItalicAngle 0 -/StemV 65 -/XHeight 431 -/CharSet (/F/S/X/a/b/comma/d/e/four/g/h/i/m/n/nine/o/p/period/r/t/two/u/zero) -/FontFile 2910 0 R ->> endobj -2912 0 obj << -/Length1 912 -/Length2 2948 -/Length3 0 -/Length 3545 -/Filter /FlateDecode ->> -stream -xÚ­’y<ÔkÆm‘)K$•Sç'ÙfÃÂؗٲ™ÁÔ˜aŒ}©ìÙ²–l‘u,I{É’ND²EemP–B!F¼S½çœÞοïç÷Ïï{ß×s=×ç¾°°éy–ä‚Ó%)20YÐ26‡)0Y( Ö"ãÐ<‰¨¦àLY |Ü9(SDÊ#r - 0 Eò ãÝÜ)€„Öéo"%å#ã1h"`Œ¦¸ã<48OÂàq”YE æßNxæ8oÙ‡•Á`¡.87<ùÈ€èJ”~”±>žµ|qdoF(@‚ò4Àˆˆ% ç -‚˜wáIþ¡~5×õ!LÐßì¿ é_m´žð_ÉÃÓ‡‚#Æ$,ŽLüUjû‘͇ÅûxüÚ5   x ŠèFÀÐ%¼·.Þ‡5ÅS0î€+šàû^DZ¿†`Ìí{ˆ•¶–ž•¶Ô}~ñDŠE€çß®ßÄßö3¦CÆûvPY(Æ2¾¿þ~¹K‡ˆ!añDƃ€+h2b¼ Á €'bqþΟ"K$QGÆLBWômyrþ[é)‹¿‰±/úR ˜¿ ÆHÁýƒrÄÿS—aäþÂÈO]€B†é'dxyþ„ +òO¨@(ßñß3×Ô$ùÉÈË2rp( ¬””CþG‡ñ!“qDÊ÷çÌXÜ_ìŠg¬‡óÇa@c#$ŒJÄÅ›uQÔP‚þ²}’ÌšnõI&5Mf&wyINÜ·Ù.ÏäçžÛ7÷»ßŽwlK°Y¯îÇ«^Iûs¾Îs™B6k™Æ³ž§6Ãyšë†>/Á™Ï LôPÓ.>ÎYéZÌ7•Ð¶˜çx#ÌÔfç[Û–¡¨d£›I°ŒŽ¼/&/lΛáEQˆ÷ãMKaz1zƒÔëUR‹ßvÁþ¼Ô]'Ǽ|À½å}ì9…BrÕÄô‚¾›àÂÓ5v•x¾¹D¤Ä©ûP”1£çãzù óƒ{ÜYYû/½ž[~q\­ªk]âܲ*F#²Édjç" ñÆaK}!¦ -ÕBóê^£êe5cã’×o<Žà¾k7û&õÔ»{Ž`®E‘¯ðöSúVm»½\ø§¾£0ÿü{9%ïïžkªY^/˜ -QF8˜ èu”•'Öï3ð!6%~Ö©24¦ŠV<;3¬CJ”UL»h·j"›ž‘¾ùôœ?Ùê¡®¡HTÄ°xŠˆ>~aºx´òó4¢><@¨¹"iÏ€^ʪ+hô=Toå×L\¾¨™Œh]x¯ÒÆäýäG%>EF mÚ³3; x™,ÇðA²CCàŽôË£Î\¾S:ÑÂÄ„ Y«ãpt >¿]Ve }\vöΑ¬`±³/Âsš_Æj y¤¹‚!S··3NíY²Úƒuoò„ä.¯þÄÊy²åP‘R_³º†£’À±"5êš² ¾3kYò¢Ñ)Ï]åKG þ –©£.Çž72굊õhÏBô΋ŵRêîµ]Iž®þ"7B2îy±Ê%é§HuÞ”|ô»7ò B®×îStÓOkóª°ñu꣎Í+LüÂCÊ~^›_sgƒwC’S¢—bÔªMMÝÅNt2] -‘Vp½3¸ð†òå…šJ8y¬T, Jãxk­)ŠŒÜc»|–UùeÖ‘(™ÔÛH¥ÍDa -¾*w>»Þ¸µµQ°HK¼—ß±0ýúa3·Ú#R]åsí1ª0)ƒ“v½É¡3ß˾ÏìnP—}}f–µ+”I/:kQž£ÏâJ{ŸÜ×uZ-Oßsá¡iÜHµñ×ÉbTïÙ‘ -é>RÌ™3Dž a‰³°ÙÙ‹Õ{<\R8'kÖ*üGt‘’„Û<7CêZ(% 6À̧6ùª†§Lï¸á©Òí{û§ÌÓèåÇ,íÆ™-˜™¤¶N7KmŒ§úKs;otÏ…Póã«"Ù8ê Ù†’ÛáSHË­fœ—âÇ1èÔ7Vv­S“%uX]mär;ÚKØÆñûB®&ïEª%ôÉçg^TsË—Ég¿lÏ#* ëªßxëVó¶â‘‹Hõ‰ØÌ7O\r*i=š¯,1ÃC×Sl·n GÅUÀ̘#ZnÕG¯òÀÅ@iÀÆFzѹ…xuú×ñ“jïmòfW)¿A›¢›²Ù[WüOר‚ÂFWÔ2S2Å“ÆËvIƒ FböbFN4t|]ý>&Ïv£G1áF.ÂÙ'[×  9’üuMÚ¥¶§ÑCh so}}«GuaRïE'²ŒsŒÔÛV¼¡ÃŠð¾·eTY® SsýÊ8@\•ü$çlxþqáï[ÁÿKò‘gÖD¹Ÿ¤)˜®³ËX¶ôWsÚ8 -.8eŠ;è¨YaaZ´ˆœÉ¶½Ë{0õÁáãÊg¸s¨ÝS'u§ö¨v`NØk¨²"†Þs>›ÈF~ÖˆmÙˆ°½þòBÒîËÉh³)HeŽÞ£Qâý'Šº4m«™ÞçØØ@c¥×µúnTØ~Ëø†G˼fˆÔ·W’taÁ« jBÍ.²/݇:<ÿ¨#Á#Ÿ˜ÔK8¬Û,§MÃ$i) -¢³C©*?{iRc·«o4TÌk]¶öÐV -ê =n{uÂýFNBÁ'Kî8yÕØ4‰aÁ¨2S·;S2³ú6f(D¡H“&'}¼Ÿ™e¬’‹`Z‡*î}¡ø>¿¯6äÏP¼RŸ©’#Ìí³t°+ƒJ¥>Ôtñ [¨v`¯Õ _v8ž)y%Ô>–¼¸ÄÚ¯Ô¢Õ“hz%nk7uz@4÷ÛRVI¹|¥‘­·¯˜ òÀ@¦ãWÝÙº.ÿÁÖÚÀéza®èé4)8ÒM8”ýE98´H·i©±"[B³)qqå9ºÀÁ\zÉ7§ï1j½‡}GnÓr*áv[L¿ø—à>/.AŸû@¢ 4®yÔ3VPCL,¤Ní@?áïîé¹&3}׎šãÕÐÃÌ›úª¤íLDDá"0Hƒ0f>í]PÑ:rUMÅã­{Jñ³MëÄCŠñ™l”Òªbºê’Õ¹n±ù¤æôÈÎ{›{ÒùI³'#ÕÄ›/±ý±a9&ŸÛâK½â_æ«ÏŠ·+·®ÍÇ@†»8Ùˆ*ÕâJ5œFE¬›ž üa#U†fº$nëîÖ°«^×á?LrÔa[L¤dÍ›qiûŸ_¿ÓâÁïúE«Ù“JoôóºmÖbî\© ±¯ÕOêvn~tÂvŒÓ­Á³µÑYÿ5¨Ó-56{_±NèÁ/.ïV?8,2ÓÒHÖ›ßâö;,¢Ü•&£¿ÏB¥J> ¹S½„<öªì8k%¥B3]Û:ÒYûHo´è0û[n%fÝFY#$§³(ö&È Ý™­7(ÐòªG†:f£pP,©ö®UWç¤ \]TÛv@Ȥéi“Ô0ø´ÓI¬­ âDÕäÞÞmΊ†Ìò™—•†tï¸ððϬBùæ+–ª29G¥_¸ -s¹Ý±ÕZK.îL¯12‹]žá¬Ð먺hY³7^åÉcïvºNH–èÎAG|‰QºÙ$ꂘø)—AÚâþlú¥2ÃÇøˆa,AϦ ]%)n( {_ävõÎp˜˜‹Dª¾œCж•âJ­.•päö5Q[|ÙÚ¬´ ƒè6Z×ÛûM¤Tå³ìÜ„×hÒ3UWÌGy>éKÁÕè+výݳû¼V©!€Ëx3 -QÍƪzøÓoâé½GÞ)pï¹Ånê]Ãíãî^¿nRðp¾°„^õ¶í¡%³)bKýÌtßkP"ÚqÞ*›ÿ=OKZRóˆîVaõÑ9ˆ—dòjZ`{.K‡ Ð)%(žyFW(–¢õÆù®µßlÌgÒc£¢)-û”S礑҅£ïnÕ¼úÓèþùøý¼Ißò3ös§EoÖH\å‡Å}‘‡×6h5ô>Ï¡N‰cܘh½&Oõé£\ºK²](Ök5Š ”‰ùœ;O@auÑ/½ï7xHˆg{¤¼`Gì´xê~!ý Úb퀾z€=j#B dÆeì¹¾Jã"dîÓ>¨N¦¯ ÒÿDC“åÏ‘¿~ýR¹Ÿy²i©öÖ'i­¬š˜/Ž©ß«WÆðã(¿K uæé²k¦ôÞ;ø"áZýéKÀ®êó ¬°Ð/óv>§k |1•)ïÐœôµE¹ÄžT½VŠ!†Sz;«Ú{‡REPÕ¥]ÑÖUÏÿXv¦ä·e_‚¯sžU‘žå¬Oà_“âÚƒVÖ œ«ü)ÈÃýßÛ åôç±¼ƒ_>íô?u˜‰q |ƒ|s¬ÇeãIYñj~zJÌŠÄÒz´ÛXY-}P®Ç­¾ãèà³*žcÒVSwÅy}¦‚]jȶò™Lˆ¥.V«BÙCÇ£:â¡ÝÆr—_q8ÚùæÌ9 -endstream -endobj -2913 0 obj << -/Type /FontDescriptor -/FontName /VDCGVD+CMR17 -/Flags 4 -/FontBBox [-33 -250 945 749] -/Ascent 694 -/CapHeight 683 -/Descent -195 -/ItalicAngle 0 -/StemV 53 -/XHeight 430 -/CharSet (/S/T/a/c/e/fi/h/i/n/o/p/r/t) -/FontFile 2912 0 R ->> endobj -2914 0 obj << -/Length1 954 -/Length2 3046 -/Length3 0 -/Length 3673 -/Filter /FlateDecode ->> -stream -xÚ­Ry<Ôû÷–¸„쥬Ù‰Y c»„¬eßwc惙˜aÌ`ì;-„pEöPY“-B–PB "²dIè7ÕïÞî·ï¿ß×çŸÏsžsžó¼Ï9b¦²š‚¨KÀ“dar0@ÛÈ Àä LbbÚDEÂðgQ$P€)+ÃM²‡0Eye8ŒI Ð&øPˆXO ©-õ= hzƒD,…ŒP$OЛªFy4$QäM//Àü{…`úD#ǃ,š¸X<仼;@þ cÈ>Sþ Ñj -¤š”¨1¼À€îLcµHuò¿0õ»¸.ÙËËåý]ž:£ÿbQÞX/Êÿóo2 $F HÄÿžjþ´fb°dïßYÊ ‹ÖÄ{xôg맋 1¦XÚpGyù?â ó» êØ~X€Øž;«ia#óc›?(SO²¤øü#ú=÷†ýÂÔÙ±€T -…Q©ßßN¿µÒÁ£ ,žz -ŠŠHDQ˜¨wAE -@0 Àâ1` RýBäðµ Ž$p'™¾/SQ€h~ýDH¢ýB*ó¿8}ÉÔeýQ€w™øO¥ªaA€àÿ© -„ B™Šðà/5ñ£>úW:µ=éM-&yÁPÕI„PÝ“é+ ø“ÿïõhiƒeáH@N‚Áàp© ýD4™Hñ¤—O]òßØK=  ÑLc´j î¯q%a:…ƒ¥ôÒ‡´<ê’k[‡›˜£ÇSyõžó•~]c»[–ÍÅ:G?'°ÇçwéQˆY¿î§HßäÌу9׹젇|¶ëÙF”÷>§¶£—ØŒ|þ¨pÈäùë§%iv·žä®v.Ý4•Æ”žÚ§q&Å„Òºà™œÎ:´Éäýb»&ÔµÊú†°‚ÎJº ¿ÜÃoÓ}D÷yû^$ÂÍ óñ+cÁ3SÅgÅ -y½‚É­[q%VvuFõ·›ÎϱºáL¢;ó>¨Xˆr©*B I‰}S,³ÈþžrƆ·©QopAFWŽ]O_—h*(ˆ¬*™\Ú2ÕŽ¨aä,àÈ[âkÏÖ¨mRŒÈë”BÄë8×ÖSžßkÒM“©UÊ×;õÔŽÛKl²{ˆ#UËÔdsYVñÀ…Yð'lÏñq·²’\/>­óŒq -VÏ7£_y‡z‹ ˆvlöÖí²ÑKò÷„“ù·&ð•š*lFUÍ7låy3:¸!Ø¡(-D[9KÙ-U·¥IeŠC¥×Á_Ö*¦¥³ké ñÊë®q%‘‚ŽÙ†aÌ&êbÖ¡;lÌSåªhÑœ‘õ)Uq€RvË× Á–iNøc¢,lü3¡-î²ËŸŠÓ¾¥§×¶§N¾°–›´:PWLèbióç2`(CºýîAwÓÞt=¦tHÊKõ¼S˜¿%H'=ØoW»ã&‚Š¨5Òx6.¯'ÐЯ'm\<#Êè?Ѭ$›^•º¿·Äé¯0‘ 9bQ÷I)Ø6j+›;ÿþ«15Ž†'××Ásà˜Qüû–aÒ•ÒR£–Åk"šv çcM0wiŽé\ Ì}u5¯‰£Ÿ{çÇcÞv9U²`ûjõá˽²ô×÷‰Æ|Bɺçµ÷·z÷óÔ‰Tù…%–Y¸”j6ƒ¨çGŒEçNÊóüU6«è«+¼ëô$ýÂCóÄü¦A–²‡ÓÍ–-³› UÄ`qšn‹MzÄØ&3F{qtk -Ýáð)¸nŸ›1o÷}µ³ñ¤"«QŸÇ¨3ö#æø \2}`ór^b½ÃÆR|«¯…9h¾,§óÔC¥øi¸À岎¥8¿¥F9§sæ*šoó®ø, ž“¡%-Zt¦×—Eó“Ã| ÉÊí4ÆßT¬ýÈ’ÛN-f›rT s²»Ÿ"FÍÕº­å»Î¥ØC®8¸p\¡ä8ß­`¿=ˆ1'èFÝÜv4Ý€æÊó¥*ŠD”Ï l˜¬zTº‰6·!.iB7Ž‘%ƒm¥´â‚Ÿôkij-Öåæ;Ü\™ïO(`~ÆÁv·¸±V¡Ø†dt†^yu¼DLÿ3¬“Á×~hIuF†¹Ÿ*Ir!QéíñÅ…JLчÂu‘7ª÷Ô¸üz蔇]Ç<àš~»ßs€ùôÖ£²Ä‚}9¸âR⊛­2¯D,j7KWâ"ÍQJð^1£ÑhžDÅÇnz"ñ9õ†:.¥)ÎKîò‘xýÚãéâld7ÉPŒQîìZª¶ªÍœ*±Ò™1ïdÌ‚GEÌ‘_ >n¾9ï©j?iáxžŸ¦þ¤ÐøuX´i/cæÛœ„ 欣©ìõ¬åuÐgøx`÷h]âïeŒ8X¥Éb®×ßÐ,UéŒ÷çiø£ ÑÄave6u þFF}æNé¯ kF2|ÿUÂý­\®ó¡ -áND#m™Vͳ’sænÛnð0W¯LX«ÂšæÞ†ÚãCúÓUç«"æQcëòÂפ –ƒ+s»ipn^q“I]]oi\0³{g¢Ç§šB|ÛK|ŠÃ»Žs,œ¬eº-ubÆ»o¸L¶ÛÞý \ËøÖ!ÛŽXÌ8#‚”ݪ†ŸS„ÈBÒÛ´4‹´ »¦ìVO`©KöµÙÞ>/,ª«óZ -æÉhÿ*z¦ƒ…•õý–Tù§¸gnUNB­…ÏÕwâmO^(\N -jk)Ý:|P¾¢írìjØžEú…¢ÓlWiº.¨ë+d±®nPn7_@Æ–ú©¥})¯ÌŒ]¨”ÜQ±fÜZ{ÒûzÝE}T‡ÆA‡-Ï;|©Šþ\<òÖµÔòêe-ÃcF®†„Š†‡Úm2E›q«õSÞµÍìˆ>RAE^ˆê¯jÓé…6lÏõ¼å¿ŸÍ*`^ÁÚøßÆU_"Û¶6<:Õ’Í|±zçŸÅ·]kU ©|fÍ#›bnýzîlß»+ ->Ã䮤ʕâ äûî«TM‘•®d}>ofó© áöNÒsÞ -—Nyu+7Ú þ<}=-#%Uï(·Šñ(MÂÃHœ»«ä6D)?êŒúºïYMh-}¨Œ†zº÷a“ÑÂ|í:E'%Þöö;8»³§ÜBq²kè4¦wgÊÛ(·ËËŠæV9¡Xq³PçÄÊá ÇD²È¥L¾ôaÏþŒgõúõ駴Þ[­O~å舾á>P“ñmC wgÇ0„ôWv¿Ug Fx -}Þ IÇ«œä—zÂã9ü¡ÌWËÔ~-ë8?–Ù‚ý¿á^˜g˜}ãrŸf„®<í}7‰’å€4›‹ËŠ í¼Æßµd$È -âŽ×äÓs¼|s™©¿“ÜM7ÑC³b|öþ@{uQš€¨ÄípkŽùè4ûrƒQN©<¦Ù[³»ß<à¿C×ë1ñ24qç>6\(¯¯Mý¹®nÐ}ŒsÿÎXLcêÑÅÑ19PkìúSÐdÞŸs,¨÷ ccJﳘÜZÞϳÅÈ—£N±œxßKÿê.ÏóÏÍ[emë"YÓ+ºÛ: ÂÞPN‡Ý¿W³ÍÈ{Wuå«•#V«+Ï¢+|Ír?~±[úqávÙ”éÓìJ]Ò“jªìÞ¦î_TœNl¥Íïà> endobj -2916 0 obj << -/Length1 1259 -/Length2 7345 -/Length3 0 -/Length 8108 -/Filter /FlateDecode ->> -stream -xÚ­•eX\˶®‘ww:hp nÁ%¸Þ t†ÆÝÝÝ%8$¸ ÜÁ îî ~z­uöfß}þÞgþ™ï¨QãûjTÕœô¯Ô4Ù$€3,ÄΉ‹K ¥¬©ÄÅ àbçD£§—‚‚LÀ;iS'€KP ál à†ó ñp -qÃ’R{w(ØÒÊ ðZŠé¯$~€„- -67µ(›:Yla5ÌMmšs0ÈÉ acÐøk†#@䂺€€ìh\\ ØÜ `²Û¡qüåHÁÎàÿ' t¶ÿ× ê3x 3É€YBìlÜ@‡ -¦‚9ùÿaê¿‹Ë:Ûب˜ÚþUþï.ýŸqS[°ûÿf@lí@P€2‚Úýwª.èsÊ ØÙö¿GœLmÀæv–6 › ;ß?a°£,Ø T;™[,LmAÇAvÀÿ6kÞß68d¥ä”eUYþwWÿT3Û9i¹ÛƒœÏÙ3×3Ãz» 8Ù99¹`‰°ç_o†ÿ%&cg‚í`Ç‚—` -…šº£ÁÎŒxž\°ä¹Ás°ÛAœ`S°Æx, P´¿6•À!ñWèâpH>?€Cê™ÒÏ$àù7ñsÂÖúL\¹gâpÈ?Ó‡Â3ÁÔŸ ¦®ôL0uåg‚©«<L]õß$SW{&˜žÆ3Áô4Ÿ‰À¡õL0uíg‚©ë<L]÷™`êzÏSÿo‚µãŸãôïLÓìzÀ,Y@œ¡ÿðÀ”­Üí­@vÏ90A;°Ýó$˜ -ä?¦c»CàóXGËV-ÐvrþÍ°­p²‚‚þà ¬YN®ç²°¥y€ ÿþï9–”„¸y²ñqظa3¹¸¸ßÀ6ÓûÿI4w†BAvN(`·á_l†ÝÈ dŽ6?1ú˜ÚRæ#S0Qþ’É‘"½$h¤#¸>]˜ý`Yï'´i\ DuŽŒûü'åH±‚hÁ»JÚ(áÕï©É<‡ÛIÀô)CùÄüàƒÂ@n_7¶mvøÎ<õ¦}ËÉíÕŠKÇË*¥=.þ|Ò£ˆe³3>Ö¾£«óèi@Ú­4ÃÜV¥dÎîJÜðí¡¤2_4@ü!ã -ÿqž´ûפõfº`d®2âtºè=*'“›ÅÚ(W¦5õ¼^SËOTº¥—‰ôó?G¥/nRËrlº,-yF­ô¿ÄK¢,<öGÖ“ÝsP¼JÇi¿¤4s­r טê2DØÁÃãÅé&¢QUŒÝ!Æ+Ƽ¡5Ú çú‘¦ß¥?¯á󇵉“îù¡hR§¸‡%5Φ“ðI‚·ªÞÛR_…Û#[6Îßµû¢­DÁ™aø#ŠUF©œ[>úî|V×ÚAvÓÂkf±|Ê ­Ò%a¡á¼9ÇwðÒ+™¯ yzÑa3A)U;d¯×ߢy=ß0³G5\þa÷}õVVàbEÊÌÀÀ×~•kØb;8ÒÐÁè)]æ*6™ôßHrëT=´+‚Ý?ê $G5R;:¬U½²û¶©ú|T-¡:óHŠS› d5“^…[å9”~~Û \ȸǼăsËxk’é*ÍkÌoSÛŸ¤¹W¼k½{ Ãï(Œ¤ óL3>„Uõ ‡ç¯¹xhZ÷y¡ap·ë~RÞÎðÆôÏè\pÄE¨Ù_0¶Â9ño¨!§¯¡M9 )ÁÁ¢Fìå²·|ëî•~HÖ˜XÊK+S>s¹Â[m:¹=ò’k¨–ƒ»ò0þQŸl’’yիʯÀdž'çò[á×l’Ó<·–¤âÉ:°cÇk?¨©‹Ì—édž^nMˆÕM=õnºÙMíôi¬N‘äâ*tòî{tÐjíspt†ø&Wÿü™ïÞ,<{¼5ì Ü’ðßÌoDg~ “ws3ô"m¡‹sVaÈoófT÷Z¥Vá’lZ?EÂ]©|icî6û%ÙÂŽ‚³œ BídS>åTÂÉò4ѪS™*þ2Å;!+¥u ©¸oMÞ»Þk n¼Ð«Ó͈9¶Ý­ýV -ÜVÄ´ª´·ÈO3Éæ—1(è¬"Öø¨JJ#v½eªƒ<¢²zŸµ¿aã—«*½ˆEg[ó'ÅENQ¼œæûTÅY Ikô¦ŠÀ¡œ+(–ÊXû{ª˜Êœ&·úÚl¬Ý^†Ó’—­JèÓæœ-ÛÕ¡œ?­“¡Æ©ù‰ž44ƒ¶û’ºmby¿…y‹³ür&䢓ìæ"E¡*Ñ:„rri`œ>*Ða_…èÙGùßæ.¿Ú¢ ïÂè• ÷ÅÅÙs¦ÛqTIOiƒð_[Ö?ufS4]Ç8†>%)û‡ƒEÏ LZ'·uV2Ô»5ö×@\nê?à†8 ¦ØŽ %Ί\Œÿ>ö{dĶ¥ùo¾[ÖðåŠMÍJ7óòDŸéuùRìÆÍý½ KÈò8•5•\ Ž”»h¯QÂþd劔kmÖn˜¡<\FëŸêBЄñÃEgÏ|ª¸æÂg:8>»mÊ"|f—O7 -üõÎß¼Ðþ(žêGíò„=“U ŒeòC#±‰¿Ô/…ÓóћʑÎ&P¦ü\ü‡­Ë˜°”ÔŽ´§WÜ6Ý"quøÊ’@ƈʛôDDÚžoÂEÚVõÈ|—CŒÐ¸‡]‹ž/–w¥4=¨5¿½Øó#rõÓw-xŸëèI¿Š«TkįÒ.‘­”I ´ñIo¸ëØ›ÇÉá²ÞCV­AÄw‡®îÛëH¹œô£4ʘ¼T7 þOr3>€’d‘èæyö1ŠŽ§à6/JŸÄeâçS²{$olÈNf -N]ì¾+à…&XÎÖHzK&*vâ›Oa¼ªd³u@ 3øÍóG85È/Ixdù ÓXóç5S)‚¾òM¯B ßæù\î’áÚ¥nŠd2á=™@ RÒŒ¾¡Ú¥Þ֢⎔ÏÎ+¬˜=½çôpÞ9c¥ šGD¼¦=årG ÚšŸ9±ÖÃ?1wÌb¿«onߥ©Æò,Q¯õlõ,LýøÁëåd6»êX>UC‡EäX÷Gr 6=RìmnåR¹HÒøOºG³Pïë(ë ž@£(ycmâ bìG¯‘dù3ÂKuíÚiŒßË_]ì‡ôX -åúf2.Gˆ®¦NÙ«¯È -î8tñw2b -nxÅy,2 ¢ðãèý²v4×á_àHåãÜ ;î‡Zê?tÉt:“¦«=hkPNýÖN\íÇ'æ×½Ü*°Y?u-p¡5õöé[1ov±®q¯#Æ£µÕô›…M;«ÊU‰d3 )²BPSóÜBTHö~çÊ9ãÏu_t2ï J:Ô£¾YRØœÓgyü˜d÷)“œ3: RP»ç¨öJ–„¼Ûx„¢ÄD®mãàíÅžÂ_4ÉûÇÜ3±”ç~í‰H.„שg(¥g -ÂÓáÅÒ…ÝÐÝôF§—h³½ËÍ Ùñcï´)A~Ï\QF«;ÛµµcÃç…W²à`FÍ%´XìN†p0Ì»®öÕ¥ìí -©ÿ»Á$\9q×ùm -ö *DZi%,¸§Ð°§HØ"…ïÙÃ4ówã^x¡…‹ ?,¸÷Ùu]H-#¨,Xé<܉¢¿Xÿ!e}ôu}—ü ñœ žYBZ«_ÀŒ3]Q{ ÿÚ€˜rxÓj‡+_´sŸû‘²´÷µ`-‡ÖSÐ>šÂ öœÝ{Å©¨ŸÍýW2X `ý5÷ÎИÁ÷ǘ¢A#ªÇ{Ó~´;K bßÔfÎñ;íŸx•èô2Iµíu—ÈMÑ<óa©1·-,»éÍÍ2.|5^D+Ì•<‡–d37ü'´xd–ËyäþJ­Ÿ•“ºYbF+g3.©pÞÍbÁCi'¸ùãŒÌ•X¿ -:% ¨‰÷Á¿*ãòjËu„Â652=­—ltß)mUˆb­ÏgåXo$ Fîl®ÊÉaezj8±è¼¬{?ÑÚ^|ÊYêÎ`ƒÜóS%II /F¤z¶ÜÙ,q¥.—{Ђßú}YL»uÅÿüÓƒ'J°þƒ,ùö/|•¥~öíuÁS4«Os!‘¨êhã+v×#«³Æ÷Í‚|uçaúŠP§*dßjUŸø\½ôäÔ¨ -òfabkkÔÔÈÖúI;µ‚2 œü?A›»±…M;ÊÁµq$?˜š?‰¦É‡A¥ƒ¬ÞÍq)NzdÆ)ÉT‚÷§bûî™Búç¤ðæ8žZ£Ø»ÛÃo4–i¥žD’.oG{V3öú&üi«\\V’f ص'…±8†¹—кÞÚöÙ䬡ƒËÅÑÐÚý¿î¶! ñ -ú¯'Wè á%oö}.omûW‡¶b ÎüˆOõ¡Kêážè¯ø]ûÄò¤æ -L™—ˆ®€7/¢èúÔæ½ œÚ¼9‡Ø"=uÎûÄú ´ž²q½èFÃðÌ–pà †eY¡³;îþ•’ñ§wå¨UC%; ÎÑ&RÐ}s[qPª®ömÞÔ°@qO§[s+ÛÍ»S²·½ hCäõy³­šJšcä*þt;9Ÿ¿.äy‚µ¡1挌ˆj?ÍP1yTÑì©‚‡÷çî—¨®ºâ:WP ¸n=E,†pÙ±Bi·”LÒ²œÙR²}MÊÄŸñö (ž¾›$Þ'€7°z,3áñëUÀ­?Ê‘ÓÍœ$ºfdVÎY~a áUx¥N7ªÐ{¸ÒO]¸.ȼŸböFÐNC{/®;ñ¸oñöð[×ç³{a†Í¾ÄLßâmàhƒÄÕ9‘–¤yfàl¾¬™\Q8kšŠQe‘Ž6cÔÞHÿäúá™á›G¾¡ åKr'‰& -g}…Ò¦ -’òØ<—ûýžxÁŠm¿ÜÒäÕ]%0ü3EÞØ®É;–’ ÒgpŽ™NxŒš®pwòK’L1‹}ÛºëÜ»Uç½{”‚ª®ÔBÀPuömëíkA)%›‡û%ÖÈš™~ß;ÓTàPÏ›@G~ss0E`뙦MC°mÂsÓXðÍ{æï´¤rä…¼Ú¿ÛWWx‘”ƒû¹x½¨ -o¦Q ÙÌdN2äZh–ËRY±=¢-èq­«é5ß-iš¿¾±:ê,û$µ8¸&ÄW´-s‹·ï:Åmû{‚s¿iVÊè"½¨1876ðãöï©/›QMfpl˜Hßhjû\]7õ*Ë~Ç ££&¥—ß…‘¡ªz°Á)+¤·*;µ*6Üf(JÒŠe…öõ#Àþ7Áóç—r‚>Pí2‹K ºø»^d,z©÷šÒ/¾K¬^·?ÂþÁÓØ…5»/;z~ )è|á>稫X#DÏ¥6P~ }EAHa­ŒúC(¦3%”ÿöäâýÐiÎG¤Pÿ²îÄÂÖ&ÁÅøÜ!ItSÅGdƒ.áo¬Ëâeö_&ß}£I]«÷üê‚+Àêê,kL$,Ftל ¶ ¢tXÿ“¦ë•”adݶ…\nDzŽ•ÖKåÀ&“¸Êè·|…Þ)¨IP®yÔ¹Ý#dç"+c†pr˜gXB^¢ŒÔ5™ø#bM¯›pÝܘ‹Î”³+=Ôë áP¢}©æ|Å5]Nd¡ŠKð‡.3ßR·ϸòS¹[%:áñ˜À¹WZôÆrƒt–óÆ´.¶i[Ë&Ñê¼XôŸ¿ªIñ΂m+óH®x¨o9ç1/F_Rèn÷ð|R¬Ðô ÀÐMÀ<\Èy8F`z>˜1Vû•vü#±¼ØÝœ+ÐÝú*š‚]TC¢õpÏç2g>A“âúlKÌqŠ“¦\ýƒ>øgÐ*ÒÂrºSÔÍ_E@UíÒ†<°VuÕ»~µÏW;ƒ{ƒÍeAJ E‘ú½¹½^V¡<}®|y›T—FCO-Ö·ö]}“n`᥇q·‹O)kQ´í#ÂÁ¹×¦Yc2i¼¡˜'¾×v„yÔÿ×uûD$>ú#ÙëïõÑæž7˜å”3®—µ9ŒýŒê÷RûɃ5Ô£rªú©<š¹yëßûüðð›*ÏÔ6YŸ² ZR/¹úæÇëƒý®8wê|ÚoüÔ"1Á´$)kóƒ$“gfU&y!5un>K:§›l`Óëžé×W)ÆKéQoµ¾°úƽùþ5<©¡ÚˆM)ø¹ó[š¬CG©D·!³–´V¬ÜR¸Öz ¶ŽÞ -ù žÝ+2ˆ´‘•ú÷ëq6|Oà±×‡}+½Ì’·- -”’s^Ç¿12´äý>9Xuÿ9iŽ¶­øUÑb$"ýÈ`p0(Ãh× ííNÑÇÓtd›†›àÝQ>Ô[bÍ õcõòôoÐ*(ÕØ*GÄê¹h3—‘Y øk/¶ünî;oæ4_lS¶o¾'ŠP«t ¦¼„þ -D…ßœõ¥eœrœàLüú£Î½âìýóT%'Ží’yŸÅ7‘›ÓƒûÏiZ -q¯[K¹\žÅ)ûv–«|Fô»O¨Sªª!OæömM½ä˜E|@ux½7 ®U³’ØÁ!úá7÷ÙöAä[£:új,B7zºùG&³£ôÙfæn˜4ÃÕ‘S=ÆíÔ)”èMÚpo¦½Ž³f95•°ñóiÒLÄøsɬÄ:Ìé]–|TÑtÉ×tJ9ê TjØšJÌ:ó–PHÊ|ìžqOìÞÍa{ãá²¢š‘ܾ`Î"Äë¬Q9Z6!Ys”ÈœS8²¡†wþª¤¤Û®#]üØΔNY¬Pi“x Ê´uQ¢N¦œŠ‚~í=„íD-Šº/9‚¤Î…”vOÍ­.±iÛ'µ–?´à\„üðòê¯mp»ÊöÄ´k¸Eæ•6 âϯ žY™{ÈýÃÖê¬$„kÝÏj”–6Û'µRµÖì®t/3ýõ_eˆ%pNRÞkÐÈcÏ]›SuøYÄËP@öRH¼6ò$ÕÒ*T׸n”¹s†µ8ÖãÁîDg>nÛ³°{\[ÁEmdg—þ<lrÿÕ0¨nÿ!.~䉻Ð)ÒøñN®þØ–þöÂvMš:/ˆV¬‰—ɯü(ÊÏ/4µ‰*ó¬u™»ähÌI§·¹Ö A¹‘_9ü(­3)ø2â ~D&Y`@{zoî2E_q›L‡,ž@®ó&ñz@¢ZÜ“z™FE =¾:•‹Ž@h6²L$u’-ëÀYþÏ|·¢C%º2ý^[¢ï¢OOM‡¢;¦­+:uA 4- KjâwûïŸXç•ß¢X_à8ÆËt)Ç {Q1Ë(~‘D Ñ¡EÀ*¶X÷ÛS_+͈Ò'NF¹(HÈùä—HÎ,\®Éù -ý[·ŒÖÃÎø°–ÈÆÀŠî=ÛÇ£D²Ê—“+xD#&^j#7(ƒ•Vs™Û¯Gï »'B0\(iбú6„¾ ƒÉ’.ñ=·)b´mü7InZT¿WtÌÑsÙ©¢Bd Ô×yüc×^‹»ó¬Î±ȲZlQŽ1,- ßùl¨îfý³ƒU]Ž”À ¿Îí[FèêYµφ¾«™|¯ÎÍÂ#†|ç}pa¡™•—gµð•Þ­cbø“$eþ‰Ãÿíä\–(ø®öBè ÞA‡Oºøe×[B’-ðÁÒ0|ƒOÒ w5ñc‘â»H΂Þùã¦Î%‘wÙU~ïP¦žèR:Þ6«zH‹¸‡Xf€qZVÚÅH=Ú så¶A6ðšôh³½2ãeÎÁDuáª>*2Tˆ×EjãáÓªÍ a¬qsݤw› -<´œ_cïýhG³¬¿ÄU†~Ça}½{÷§ŒÇu&Žå)G­{ó03FpèÁ,x]€šø«.›|'¥Î¤O¿êë!ñ»Ï×=ª |“¨ç±rÈÚé'“Úœ`zxN§é]âTïÇã¡lɼ²ƒäÓ - &ÞÇCæ½£ÝÒVÕ‹ýœ—5»ŸÌnß U ´lgLõf]2'²8g$+„Å}UßNEŠØéÓ7)y¬‰.ôV~÷ r;´o)ýb™LNçõÊfXï8“LÊ6!ÈôŸWÁ?ÒV¯ŸnðJɱü„·d‘Õ„ÇõqNa¨çîZÒ\cˆò•èôÄ™K’–2²Þ¿bMó 4nw^³YN\„AÐÍOXäl—‘Æù9ãz{(¹’¾/.¢‹ÏÜ—VÃSScÒGé‹.°Ž ü5*µM±ºÛE’Lâh$ÔYµo˜‡Ï¬CúߧÆlgÀÇ[ÞŠIEËuÚWíâQ^„ ‡²-<ˆsê(¶ç`J] -áPš#ð¯î -}Nå#5¬])îy™Z·Pð³À2ÎΈþDóK©¶‹­oCmðàž/ÉSŸ5t­è‘ª¼¬æ¢¿ñ äÔ}|b÷ŽY(Á,¦‰GmÄ»®3ΗQÞÈÊÉÞçÍ`8"EûŒ5PFª:qŠKë!¸mµëu¨µ³ýÃ÷(æ0Šj´úû§··%‚c´{‘Ť·i²d‹óÊD 1õ‹õž™å 3‚ꌊ.箦}ÿVÂÚøÞsty#|®¸_ ‹@g‰È´6‰’È»Ó#lÍ'©A†S M÷­ Ü¬¨‡'E^þzc>}^‚$/õ+­ð.ê™-ŸS áZZìÆm°…´úÕG 3ͦº]vçãx\–¢›ûmZW%…FÜa¦Oqº#­¯}ºë5òÊù®æ~û9ÓSqçR„3¼È­oÙOÓž:|ˆw…{œ–Ç6(º›óxøƒOÔÃ3´kÙ^q´²$CÛ«§¥žÐrîF†hªý«8Á.#~Þ½X˜ëÄ—šH&  Ê(I¹~Ù–;;Ž3ƒ|+ߎ._Ί‹x˜ t÷ý¼)ä5l”oXuÑ{ïÆÇÖ˜bjäsäŠÀÆäˆ[¿àã/ÞAàôZš\ $ÚŠÛ–èÕzùæn6šåsÐ:ðª0ó]m¾Å·gkå-5ë»Ù};è‰LŸªˆ°ÐP) oåæØ0-b£o ô¨Tðê:"¬Þæ¢Õ91M;›‹‰ 4 VÕV+M!€X²Œ†5¦ÉY¸k¬°ºë¹?ÌÅTGÕuÿÌáfjvƒJ”ŠgÀ™6µ|X‘žLG¡ŠA` Z€^¤[lήõWmﵓcu›¢~ƒ«Ý -wÏñKŒÜ%s3y‡®·i2‹eÖ*–?*NÙáV®ÅÉbþ¬Q4)“ëŸ0è~û­Nâbî½þ¨_ÇeÅ8ªýA¶õ y”P³ÿ>C.áJ.ýŽAp`õgŒeìñë'¯NNŒñ{Ÿ—öîµyyÉNáBUò^~Ìeh F^ì’|ß—àªéèWQ%ßHYß“K oN#·^o|1¦X .Ýþ#´XN‡˜êPm$”<¢lïmÿÛ”Íc—°æ†C -\Ù²¹‰D%’3‚+wÜþ òÕ*n’€Ó È›4¦lÜP²€_ŠíÒÛ;åÆR_æ˜yZƒ+Šùž0„¥·Pð2ŸŠ¦¤7ÅÖ–œøØ7÷I<Õ=äFj5׺„0ìkF ˆ¤(œ)áhi»ýâl­¿CÊ›åÿ»é“ Îk9bŒ®c,éði>øªŠ{jÞ{ -Óúšæ9³ø8^ýÂî¬W!ìÙGþ`»³â$ÊOGyz|kÑàö Zúu¾Ù S´bâ׆8óž äÆçÞì]QÑæœ#M6Cü¶Yk€¢ŽÛå-‘a”B²²3†ÑSKÀÎWµ†ÃÐwõ}ª²<×9ÆÊÖ"^æô6¬…šé\ÒâÎf¯HxHíw È=:Bቇ\†CÔpUô3Ö¦ÓwÚ -$Ê€¯6ƃ‘èÈŒ·»ÅdpD8eÜW¨‰\’ð… £ë+Ó oŠ¬û¹L¾\ˆWÊD/æEr'±Læ -õò¶Õ¬õX—HHöLëæ+—»Š"®üÀÔo–%2âïGWx×LMgù?íÎÀ -endstream -endobj -2917 0 obj << -/Type /FontDescriptor -/FontName /FCGMFO+CMSL10 -/Flags 4 -/FontBBox [-62 -250 1123 750] -/Ascent 694 -/CapHeight 683 -/Descent -194 -/ItalicAngle -9 -/StemV 79 -/XHeight 431 -/CharSet (/A/B/C/D/E/F/G/H/I/K/L/M/N/O/P/R/S/T/U/V/W/X/Y/eight/five/four/hyphen/nine/one/period/seven/six/three/two/zero) -/FontFile 2916 0 R ->> endobj -2918 0 obj << -/Length1 1212 -/Length2 3333 -/Length3 0 -/Length 4087 -/Filter /FlateDecode ->> -stream -xÚ­“y<Ôû÷dzŒ¥.Æ}ÆŒ}¹)K”uŒ”04f>Æ 3c_Rd ‘¬)„¤$Š(kd)Úì)×’-[$ÛoZn÷v¿ÿþóϼŸ¯sÎûõ>ç|¤%PÖŠzx²3hD&Ñ‘p¤6``n}‰pTZÚ€bi2ÉKµ¤–ÐóqjBC[¡­¦• È^‚« 5û¤èy‚Ḵ47ГQ‡%Öd¤À="@Ë h -R|A<ŠDxŽ8ƒ®T難$2 ñã}¼þ–|A -•a -e˜”ñd1Àƒ.P% 2ã.áäÿÃÔ‹ù‰XÏoå¿wét¬'ð3‚ìéåC)€9RHÿ = þ0gâ >žÿUOаDNäJE¤*¡¢öC Pþ E áÜ,‘ -~ç ÿ_+Œö}7¢diebtÌPþç\¿‹(,D;àˆ¢¿Ÿ‘ÿœ]¢ü{@2¿¿ÿaþsÙ1ŽŒ'\e5uK¡` Œ bœÔ€ $@ áAôg8V‚“È4F -ÀhMàB¦@¿•ñ8%FÙOö#}“~P埔ºÐþ¡?)‰LaLKý—¤òSú1÷¿±ªúOL%ûÐÜüÀg0*cFªcÜ~q$‚‘㌥ü 0Ì8S°8ð73H„ÊOüû•HPÂ"áÛK@þ~OÑbpG= $ê/¬ù7ö"þ‹j1° ‘L¦üV\Kë'ý½²2ãJ×oß1H½}ÿK`˜$‚Têï”·Àx¹§‘FðbLû×;%/Æ›ÉxHúVÿKa4î›ÕJüïZêë“ýƒ•µE-uÆš ‘ꀆ†ZÈo8 -…Qúû—ÏXî¿Ï.Æ‚þ :ÐKÆéD¸§UFÞ=vóu1›Çz[ÉÇöÛªÐ,>ÄZíº•„+-:÷CEB“ Ç!œÎU>ÊCáx‹KŽ+y|w+bs -m/‡©ÕÃû­ÂcS¹·åe¦O4yŸJ¿vñƒ¨v=e,3FJa`Eê\×uü”¾Ýͺµ‘^NÞCèäC’"EìÃL‚Ó]û—ªÎ¥µÆÍwš@ RbeÞ¸èr:¯`Wÿ‚b\|ß¼‘·šÐkìžúà'„ßÜky©ÞÞV,Z2Jz±ÙºÐÿsl¨hPßs/vÁ·Ñ3ñ¹Ÿƒ-9 õbúφ_7E´~PJ 3®3Û×6¦â¶!Ò&o‘ÊïŠQa.Ÿ¨~áþ—MY)2jgŠ]¤ ôK!ÖãÚ£1ÃÙ@ï[O¯ÙƇÀM+ÓÏ|ÊÒÄÙû†ä;Ò=`¸~ƒÃ¢«lîS±šZå–0£$8>§ÚÑûÚ8,Ìs—pv°æ4Þk´ ‰o‰{æ¥Árò¢Õ‘«êÑâ3ÍÊ/Û«åÕä$­²k%ùv‚õYkt±l;ÊÝ—G%²î\Ìb²×^Ô”è[cO½¨ C¾ÌzWjO1«d~Õ©ÚµpøÜ3þsu¯˜%ΰíiðHDQg{‚Tâ81yû`³{)@™ðc꾺F¹C£V9“ó3!:ÅA¡ïæÄï0 Ü»•Á—²>à IÕ >ê(ÁϾØô¼`øà¶WdzÆǨ +ÀQ¹š]}só)lØI”ÅêÀÁÇ~®Â:¡š¤víÕÀI&‹S2Ë|Ø^EöÈ/ˆ#aóO”û×Ï|nAB<–JiÅ&.;1 Iä›Ãèwe]ÂK ©ØÖÒWœê¤ñQÌgsXJ’OüåvA‰T\P#5z¦<{ÙÒ!Jß´ùˆ¼2}`b×@¬Ô À‡:“ãÅìäN~M4*Â÷/ôVT@¤lö~Ýy´‚á¸lø\{qfKSD„R¶BŽ ³ƒxö–˜*Í&( ž÷"ZâJˬw4\+¥ á|·qöôt<¢®«Dï¾I¤¼nýЬ°§Àülû‚Ìl¢+ˆ…éx¹×Öî(ÿÅÖûEWÑÛxO6§éñ}÷Z|8S?Sæ@ OéïVþ`Fëñ· *(iÇé½v×T8ªËf4” ¯þÐÀÄœ}„VOzÔ¡§Ýnµ)Õ¨1™>åàôÕ˜ì¨ù¢WLAeb^ÁEêÅsO -RF³8|ITi¹ëÎéà¼7 -"`¨ÇeS"›C¥œns‡ûÙ…µà6\’ãñ¦¹J#,q9»ËF[ŽäÖÎe]àü:òz€Šv‹‚è|P‚³œböçMßlYz¼šgr,îÚXî8¹ú©i5]kAJöÐM;pϪ®¥„TDóôy'Z'¯³yì­7 ¨}ˆ¦Y;q›X -Û½?ÍñeOu¦OLœÑdÉõ\•–š…%ßP•„¨ƒ™Ùe{ZÓetvo-§vµ6Zªì/¨¾=7 U8¥%×M™”—ÖZ­Dû½O]öÝüX,õuoõÞþñ&4†7l³Q2Åûò­ö­Æ—z¬f‚†»wÛõª,n,˜wÝÄ_ZÃ|ª{Þ5ûVLtšÏdæ>ärMA™èPÑvhq¸Kxšs¾ÝüðÌyKe=î“ÇEkYVº›†tûÕ»ù‰/Pùrk·Ñ‡ƒÏy‚\¹?«GNkÖ½v´ÍVJÄdÞ}UXÞ>ÍÔ‘Ê|‚§ÀuÇ°ýãöe§ÎÃÛÍ›½…GË- çoa[“ó¹‹4èCl+˜¬ÅÓg4cÒÀÇ›ªùÌ|üvÛ)N•yÞ2X³&rÙ™ma®Ì稊„Þ;™ÚÙzþkHä¡4ïg Ý·ÚÕY[š|­sÖ”›µùc]·’Û¼Òdµ“|³ :>­àß[Ø–Xàÿ0CJkhÇ[6X¨Ô¹Èm~ë¹ÎS‹¶œÀ{w›<1ܸV¬û^5½¯k:tßøurÕ Pbjuîèó,™˜MSÛ§&W-­Û*lç+ }ÇT¯=²ŠL +}|ðƒÝÌEœ$«ÄÞ`rš°Ñ ¹š_mE¦óÅ"ž}š ×dKŒ!Ä´½ÊŽ4ƒÜFLi¢mÏÙuæ£îB­OÓc®£jüÚÇîÆ-^wÛûaΟæÔÜW) îowàz¦^e´ïJ…É=ž’%Äs¡A‰@T¨[li"IÁ唟®°>"â übhþ }Ÿ ¾öñ#«æŽB.·Ì“¡z»Ó¹Ý ÚeGg•ÇäZfD é³ùø8j{·ñùÒÛ°«¦ …a¶Š«^Äq>qO7ÇuöqÇÚ©rŒôÊÁqu­Ú¡lêKdKy‡åñÂéÜàtÅUzé´S¦!4Knd‰_8ÃQRóçŽË>•¼ö‚^Þó:’½ÙVØ̽\› Í8\ÊÙFù?È÷-ø€ë“Y®°éb>î. lü«S¼äì±ùŠ¥Û}ísµužäùÜŸHS=ÝdUsp–-ç*Ä»‡äAÂ|²‰F¶ÑîÀ °ÚÕÎãzÅy‰.¨‹eTU£&Élö]á(R¨– Q™ÿŠJž`[å£/¿¯ÇÌ!© -ñmr"`ÊÙFò¤¦éE¡n”j?­¿]lÚUT}EºŸE´·{çø~ÑË–I„$ÓÚ¹vô£áGÁW1ì=Îoù-æ -‹“è[3¶2=WK\ºILH–~õ.‘x”îýBGŽ‘¥X}©Á£s†5øˆ±¯p·‹xdò|”÷ã¬zÜi"!ã]2wÉÙ›CKµëH%íÊØæÈuˆ¹“õ%!•ä¸®cãBëc½S¹ªÆR±WPª;Q*;F‹Òý â? u }墻P¶ÖÇ:ÔéäÍš³}Cð0í˺Lëí‰û’rªvI.²ÃýBÐôë+5uR©wÒ -;¼Nä¢çRõ–p¤Ž÷ -éli˜`–z(KÒ‚„œþ£î®=U?e-^OúÔ¦ójk(Ìg«…Ž?UÓ YèíÍIð%85Œ•çúÚÙŸaVg½ËÖ8Zªö)vþú¼F¢3’pähѧK¦YØ`ôd¡ÉèŸÍÕ›fÅôDÌÍy¢Oø}<žŸÿÊ°eGÔ…ÿJ…7‡RJÿ–sedÑf»™ÎRœšâ¬F¶ø=G³^^©i¤aoÞ:,KúÐ{§‡÷=”/ÚÛ¸mØKåqŠêžàjYp+ñßH”æÚu«ïÀvQ²îKù›Å‹S»2?ö)–l|*L =\É^}U,!c”Cñ“é-ÇË[Ÿä§½®™ÔRK›9m¥¸Ø©"¿wŒñö^ywi—íɸ%xïÞpcsS|™s7õÀÑ~ -)¹çEŸ? ï˜OÊì±B> endobj -2920 0 obj << -/Length1 763 -/Length2 673 -/Length3 0 -/Length 1198 -/Filter /FlateDecode ->> -stream -xÚ­’}PTUÆCJaÁ tìŸûq7pÈeÅmù%©—½g—“wï]îÞÝvÝ@%5RCCE0‰”ÐDHÖb§Æ™4i„00Q Ë&²»ã„ÿ6÷Ÿû>ïsÞó;Ï9!AŠ,ž§ò` -E2<ŒI€,=ëíX€ñ…œ U ¢Èd%[¹R£`b Œ•ˆ0‰XÄ 2Jo¡‘6Ÿa²p§)HuFj ÒUL>Ô±3Ô*dQj H d:W@&4@Úq>ÃŽÔ ÈƒZDrN TRCØ97êç[&HX(ÆB†§HÂp¨áä»dIþ¨…ÃSŒ!Wéœã!=×Véaù×@éôFÒ Â!M.´n€sléGFÝÂn*£"ZJj xX4_ø†x® )È qbÔù@£" pV‡$¾…MoD°1#-;I9w«³=… -‘L¶Eð™y¶ÆžÕlF42ƒ\!_(ÄX#ûÍÿ½»`¯Õ¤šÂ©"q PѴʲ£Db1°b‘84hf|’bØ%€M¦h(šã¼T!èi48ÕY!:ô4báÊóçJJ¢ÌVûy+ÅÀDbˆþǨ6Ò4$™Ù—æ3_k›(„f¨æôݤÔñÛß;ðeYCÑ꺞S/ ÜŸ8Gû–|s¡èS„f‰di™ãcdžZ>²ûn¾î·N_åCŸ÷ß-ߥœ®õ9ÓRQs"çãbqÿV–¯¥´bÿÒ¿#CÇRíëVïZ!é ‡Ù¸Q}ÓÜ­Ï#ø½¤uí¿ÜôðŽÈܼ<¶¯~I¿Ëk¾–þ»½©°a×Ñ¡æîÝôF}˜j座#q—N4s˺¦"ë7ùµ~7¾xwv.“]‹ŸYú0Ò/ñ¬¡í]á/OÜ~"¨êWèó<<\3†ï_¸#ñjçHýᨎ¿²Y-;Mi”g”žWƒßÿ+gpLJÛSš¸µvU»•_µ¼Õv=4/·­Õ5ñ…bœïÝìøeª10ù¤ÿ†Æ¨oöXgܹë]^Í){Ócï'·ÔNT_]ÔµõQö‘M‡ -í^#òÊ×6}Vt4rÍðZM겊±Ÿ²}R¬¦Þ‡‚â½ÛG{l“V,-R_ç—•6T7¦4>p®½´¹rôGúÉþî[®;Å~W8ùm‡´M:aö›Ä«º>T*#îÕœR¢AtmàbU¥-‹ëÐع.¥Ë\ïúp›þüþpGŽl·r|[ýÚË?,ˆ¹ ×šê¿B—ŸÞ1¶OÞ–ŠÄ8§ºløÛú4ojzD[I2XÑX½ÈÃ`_¼—´E„:ÒgpfòÒ–Oüß\t›Þq¾©|_ÒXÁû?¿Rø8x[IKܨçèŠ'Ñçj+oíK´µNˆ~}qh$È´×Ôº“”ŸEnM õ¡Ž}ÅÅk„Q›„5Í X™wPým%å’i-å4uš‹¿³q;²›ÚM븉·‰sécó⯓nœõŸŸå½åòè^Šíà?sž=ö -endstream -endobj -2921 0 obj << -/Type /FontDescriptor -/FontName /ZQLTBN+CMSY7 -/Flags 4 -/FontBBox [-15 -951 1252 782] -/Ascent 750 -/CapHeight 683 -/Descent -194 -/ItalicAngle -14 -/StemV 93 -/XHeight 431 -/CharSet (/minus/prime) -/FontFile 2920 0 R ->> endobj -2922 0 obj << -/Length1 1711 -/Length2 14395 -/Length3 0 -/Length 15356 -/Filter /FlateDecode ->> -stream -xÚ­·cxeßÒîÛ¶mÛ¶m­Ø¶m³ctlÛN:¶;tðfï}žÝÿóœ¯ïµÖ‡õ£ªî»jÎ9æµÈ‰•Té…ÍLö®ôÌ Ì3Ó—}³à—Àß -_>þsþ7€å«ÀÎÌØÅòI_mšÿůss«¤|ñ_dgýºÿCä_ûnÎÿ¨÷bñü*øWíkR–^Ž–ûD|­ýCé˶õ?ðkb6ÿÀ¯±Øþ¿ff÷¿ž Æ¿•Ù¿Rí­ìÿØÿÃ_3_Éÿ×öW3Ž·¿Œ8~6ÿ˜0óWsNÿÀ¯æþÑ:óW'.åÿE÷´Êþîòõ8þMø’ø{yؿܹZ:þ1ݯ~\=þ‘ðÕ’Û?ðkîÿÀ¯†<þqé¾²ÿ!ÆòUÞëøÕ¬÷ßf¿*yœÿ#õÿžB""ž>ô̬Dô,_¦¾ç âæàöû¿"MÝœö®ÿ>꿳ÿas«¯óð˜Â¬¯8˜ò†Zg´†Wú‹ÏUS»àe•‡Nõ„5gñ2\ìð¢,9·Íªî‘í­ª‘Ò¯d¿3š™³ÿÄnöõQe [C…G£.ÌV…¼1½Ð3+@´Ë‹:Y'A$fw_QÊZS€ç,/wD·^°GåL ¾ä…Ì¿ü9^­ÖìÁ ?<·T3ú‹±9¥ -¬¸Wwâr/œY¿'÷}ôtñ”‰ršç5vɼâtÁÉlV½‰åu‰-Ø5n©pRPh’ÐÀ›6ãÛÚÓË­î-ÆcË*Œ,dú5„Zšc‡zÏYïz˜„|¦÷ÐçÔk8,2ƒúŒgp±ìÿ¦úzÝ]¾4\¼èÌËÓ€Šv´° ²EÎÁœ— z×ãKÉPgï>Ø\žÅ <’n+c˜G5’{š ùiù—·ùˆRó¶?æøàLâòð+#Ã0Þ\n#“Ï—V4„‚ý}Î;ã©Kg@ìT4˜` ìö:¹ëÕk0Cl4*!‡ZåÉ*¿Ôð:ÍTšò—åYí`±“ãsç«)¾‡\å3Œ*!™q¡‚óêw‚H@ûJ·Ü“«¡ÁèÒ÷NgfÇ¿%!îäÇ‹û:ÖÔk\¼ ’É÷•v.©ïéÛ32ã«Ì*Õ÷úÁ˜=À\u1øÔ¶Hà+CÅ¢sfüŒjY^1ÀS §…Û%|%jÔOÓ“_ c†q´aiÔ‹s¥s NcQ{UÛ¨=FXòˆðÃîZˆÏnq¯?‡ -rz‚5ZååÓ|R낼ïuÃõ£eÏËâ2nª_¡Aî™yrPxC˜¸Žr°½R=°ˆsa5¥¿µ¬½ýðû£ÉÍ»QÂ]V2˜þlÄR}¾GæãwÊË{hw–ùi`[–ÆL)J“„·m´rˆ -ž­õªnÿÀ”äÙâ‹Qn:;ÞsIi%Ö}N®u£@0½w.z½™¦Žú‹a{–»V…`KEÌþRnb_3¹ d Ò…Qµeêä´µ°p3¼áœ+R@ -÷¼Eˆôj½3õÄþºÔã{F¾yµ_8d3´q¾×½È¬Ê1V |­(³¯’ï&åy4šóÒé:æ1]æn½ôhô¼ºÑŒXqZP·º2O_¥r™ÀnH/ƒDÒîG”Dªbw|5‹³´›f°Þêó¾æ!^6å¤;RÏ:—>ÀIKŠ‰ÏÿT§‘¢/¬Á7Ñq8ÿPéE±X*ºÎØ Ùè÷ ÖG¥hÆüMåOœÑ³š0¾‰þAW®3âî%zÔ\Qt¦:‚5mú¬¸’Û°"HcK×U|#ðGglOY]ÖéYºµ[sh¡yþ ý LIQÒ­øØÎ30>›ããÕŸ0¼Ñ¡óKÎ! )Í"ÊNº5ý.iæD[> yËUœž…謌»Š¹æòs²ÍÚC7¾ M#¦µ°šßRgù;h7¤3_VÏÃÛdšGñ¤ ËŠl¨±§,*€Ívˆ"?ÌöêÐŽq<´ -B’c<Û®ÝpùõéPM&ÙÔ0„Êq²“¸%Ì9&ÕÁ‚RÛù²÷™wï:5 9ÏnüƾDƒYc]y«ZA«€Âð,Ê¢,5›0Ö¥éFI·v¨ ñ ûàê;Rçm(/ÇB)Ðr# úƒÄ§iÔÖe1œƒ_ANÊF&Iã³Ý"x5iWXB9¦ ¨m)ËÝŸýFr›Ÿ-ÂýäXL0 a9bBl»^êå9ߤ‰åcwZïÏ—ªÍý§;ÏPÈ}ßÙ†hº²A˜ësPvEI9PÖ Ü4Ð(½•g}ߎN–eoð4Ú*=B»UMµGr{C´ç×¹ãu«T*2¤U}nyý_V—Ø©×[§ Q.#¨ ¤Ý§í³`¥¢9×GÚOŸ0÷Í¡~¶*Dœc,nˆ·ß·ìºLÆUùµÇ'JÿÀ_]XôËÄØQŸxðß{ä/Dï €Ê8ao,#Ô]B5¤v,H°ïþÓ˜ö1>°ûŒ·l]9áÝû÷É\MS@_Tß™ÙàKå&ÇîðÚûàyìdìpü™>~ЗCËœCq8Ò„E“Å©\žß0D!¯È‘¯—M™0ÃþaÈlZÊ.Ù Yˆ×û¹¶D±»ßñ>–ï_`ÌCöši¸ ºvŒ -»œªœ“š~ÂÍ:Æ|Ÿ³¿øñ†µÝs¾ó–²æìù©[вà(‚tCô†Í€&X-ÙÑgoÆÙÌ£â—Áyç’N“ÔËãóð‘p-ƒ¿ž@ H¦jŒAãZ%ß=R Dë]ûR´& -¯J} R5ªˆ£4K—)f¡êGØ…‰ÔsOñŠí‘\ˆ9½&¥Ùñô>¿¢Ùø\$BÓ×Þ¶{4ìEu‹†Í™Û7d˜ÑZé©ÔZ¶E:8e3- ÙÚLãôžx,œÌ.ðoV™i¤2³KÝ™Ð;ýŽL[ÆÜß30Ûéõîa#'¦¦*”-JHScÏá™Ðƒ'™.PåDW;êw;µBÑÃ*Y?Ïgν~§ßføm³U'cU5Uûk äBŠþjLÌ|MÓ -T„˜Ÿ&Þ -÷ú¬ç ;§3ä‚gxÍÉT¡)1ÛÞi"i É âÊ0ß0J¢ò ½? -1¾´âà≣”·0¡²7ä‚^D]r­ ·T—«`1™Æ‚rÄц£©î#N7r”:{³ˆÁƒz±Ç9Ô0›Èg_E£{θ1Ò«‡€ØZ9T0Ÿ{Xô±•Ìø%¥ÿzØPL+VTø•qË.§ l¡Û½¥WµíLjø]b^¼âM¸Òvn<öéåXõóÌB¬™zxüô–¥ýuLÚ” Ó‹tCY'¦3€Á‹“ ¢Â“˜ -ç@§QZc÷úÆ%>QOïOQNÅeMv*ÆâmÑdêÈ]Žf‚¾¹ ‚ô]^ÊòFE76aÐ "”f¡Ñz;îw·à@ÿ–IßWi‹„à…£³8Á­+{ãgºkD½BŠ•ÄŒDn|ÝÓ€k²xK#ιn2Koˆ!®“s{”-êU²˜¡,DúÆb6#åno3›Ãøí­ùŒ.a̬[À3_oY -±9O¸ÅÂÌü!ÎöÌ€ÌW:ü²=3²Uí—ijNòõ/¾†¢‚‘ù$q)w”_ïüó¹Ã°4;ŠÇõø:ccƒ„nÌÒéÏfó‹öJí«=ßq¿I -`XçÍIŒF勬ÈCÓµ˜Î¶ ‹ºÏ}( -,Jžá«µûdÈÂXÈ'í©“«’«q<åÂ#_Ú3¬îåx·ˆ¢GlqAúß楯É^Ûx ŒÎD!}›$¥A|ôŽWeÙ©”á ›ü”§¼ª'Tó-Ìú'ôìc‰Ž«Nâ·ŒëS©]½P;¸¬ZÆW³ŒŒ¶Ÿï"Í6’±_˜a°`¼!Ü û,¹/4)ª&±|Œ ahëµ^Ã~B4ÿf¡í8Xβ̙*“Å[]dŸ1 -3£f|ãr>,Ùøzå4Ctx, qâ™W¾ñ)(¬3"'çÒýãÃÒ4¤¢ƒrôM9…M´ØcÚ¬–£éyòl^1*†¾¢À]|Xí±¢l -ù`v .³ù;(ÒgÛàrÅí#×wçORÞ#oƒé°þY»õÖ©Ÿ^r4ÌÖ\w)vcäÅ)Bé¦y&Ÿ1*Í£H5Úó—ÿI(·ÕãÇ|Ñ[æ¹hÕâdy°¶”ì(˜ˆ»CH,Íë¯GØ3.LÀ‡CÕ¯‹0’ëÝYºOú+ÍÙí¥ón{iÞ`ÕR¬[»àI.6‚•¹ŽçVrXÓÀÚ äðàw K tQJß…é ƒ*̬;AÈë¤ü·éS˜ÉëMµCqhˆÕƒñé²r_ñ-«ßp/…2|3ã‚õkj”¦~ä\ë¾é¾£´kP@AíÄâ2¿%³ûtñ7ZíH¶ÔíÄÒð÷+[ZÃú»\ŽÐWñÑNV-Úg—‡š}a‚C;Õ`ÐÌÎ?AOak¡²`!L.â;´¡°™Ä:D¤¾ý1º…4®p<­òûJfYêzvö=´Ç–¼=­•÷çPJµpͦžÔ“¯AäÚ—)ÓækÀÜåûQu¤ç«"Ò¶•›³¾zîÝrÂ5hÂt)ÈY—âtÔßu7ñÉfvN¯œ÷è1ÞÌã"àƒ+ò¡Ÿ)ICØEð–7þ•ÖAÔœ|—©0yÖnyÄb.Ú[Þ -U®éNÌ©Ra åþáÅzµ~ɶ°h¶ò úèó¬ïû?)‚l! •ÝrìvÑè³ õ(¹Yi@&‰×ßåK) 餻Ԉšô}ðÑhŽ¼¢iï¤äãûÈtÊÍðÅ*ŽÛóù{°µtäƒwTˆãàý0VW9f„‰¿Cß÷¨œ»1 –Õ)Ùçtî ü0þݹz´„@~ ~´LÊŠ5 úv§ÇO»~Ø}â 爗éÇé1Åô>‰LC]ªÊL®¹ -Y“5+1©6Ä¥^Æâ3*C0ÂF™`•ÐÒ{ÊŒ:æó IÔ>^)~)üjˆV Î[> 3^øÖéÝ&Ã[º}'WýÈdîŠ]¾¶SnpiŸ|Ñl9Œ|ê³É8l´]ëÚ}$¯:qÃ÷ª‹:!OM_¥ŽÅk5ƒâè”,(0ãÕè`^]sª ŽÂÝA ô±ˆÉr7 |cån¥3Én‚]ÒWKùk(%Ø' ·6l\F NX@z#uå° KϲR;ËcÆ9ê @ÂÞSÝBŸðpÖ{µxH«ýÒ‚ÒJPtŸ?—h—]q -hÀ²ß¡Of÷â*»g’œ‚­Çïò>úÔ¿7_ .£zkµ:t îdêÑBr4°:~²6Qʈ©+åvÐSê¨\¦‹2…¼.À l/±_½`Æ Tõ0Ö„¡Àв(Í™ ‰qñøæ›…¸ÞÌ%uµ}›ýƒ˜ïl:lcR\#ö¹8ë+‚ºbì˜ -3òùu“pO5Î~@èZ­Žû½>ñEuÙ„ègm· ëk½tkz¬ô¡L ;LÇV -¶dýÖ%â&èâ8èÓãîŒ5C'ƒ; óÛW¹n}ÑÒ!ç…¥3¨tß÷•ÒäÁ&pØàÓ‹…¶¨–…~àÃÛ@ ·*»2qiž“—±Â–A Â\‰+s0Qâ›4>×8ÓŽT`M#sÙ†ÞÕöºÁ«ÜQ©¡ÁæY ¨?~úœë CáìãFƒ¹‡…."ºôŒ(þ‚Ým¯ºc¾9P£¹cS°M¤­}ºLÛ¤$lÆA w`*É7avU¯ø€2~\D"¸Ú_Ê=\-O†B„ÞÌö`þêHy´³­oÆ]B‚»SÉ-=䮼ìNG)ïý‡®gC­ÊÙ87–ÊÐò7½ŒuKfŽ1ÔK¥¼ñ$”úF2“Gâg¢öv„Xå‡ü5 wÛl™è™kÎYl¸ìŸÌgxŸ§ü…?ðMrqV†¾Ø&ºM†R‘úE¦+oœZÈ;[îF‡KnVQ<Å‘èNÓss«;ˤÆÙ1R›¤ -íEÿà ËÎû^,Y®’Ó!/?”qªÇé¨È©ˆ‘°¢W2 5 •€™Ž;÷­aUJЄ¹¹ÌÐ`Ò¬2Ÿ#.7 otxST(ˆd{ÍgN34³k|œÊ÷¨Vbœ”ñÛ癿.ñ7¥ï™•у¤¯¬œ YŒ,/ÒIËv‹CNM]/ᆼÀF‹üŸ0˜KÓ˜)ÍÊ”càHQÂb¨a[<^E™uF†£ŠWÎ1Æm!J¥ìûÁÉX)Uˆ¿£b2¬ôšwݲ7‡hp -¦Hš˜2W4ŽŸrÿDüX—|ÙU(KÎC´±QÌ„LŽ„®$¥Wô5£[Ö(Ö«§ d>E°’‹É4*Uà]"MêÞ%ÐÝöœ10r†Ò‡hw‘åÙ9-Ø•ÛËÁ¸w¬¯ê÷™;_‚ƒ4’«ïê>²¥[?¶¨µ2™Qƒ5×€Á_¤8ûmŸ‹Ò_;´úCõ ªõqø–eTþÊ÷µ‰ *Ú xýÅœÄj¯ëû› ÈS»âO›¼íTEÆ8²• —áÕÒlŸ?ß•ÍÙ4cÚ3xÒ½šÙϦ×ÊÒà9¼Žÿy¦ÅBø•t¬TB7ÂÖb^r”=?…â#vºç;ÝȬ·é&Áñÿ³=û›Éáuš1?ϲ‘’ÿïöÄt „‚lsd:¡}ì3,MŒ\[–Ã]obîÛ@¡?Øk=•ìa0^á;!Y˜ÑSËÕú/5?L2»K4ê'CfWŠ8xcÈXG°»Lnw—Œ‡ª9à&¨WUôSçÉÄÏ5p~3V–èZ…oÁ‡¨M„ Šû­¹Ì$—=ÝÅv‰SÀwõ Áþiõi¦0Ôüú:ŠDãþ Ta|lˆ*­>ÍšØKØ*\"Âavá6ÍqÝžû@rYdÑ ‡'—ŠkZ¦•{ÝE×:àA -€^}s›Á¢ÞîP×7Ÿšbm»iA‚Šëc°î,Ït{RFàÎZÀpé뢤Û)–Ã/ñ³ŠfPºéEŽ±qe0Œ"Wój·k`oè±2¹i _–Ë»ôÛŒ TmöXý þF=Ùt¸W¤)æT>‰‚­K4ƒènàA~$Tí×aQàíÝÞK¦Rè²EoêÕ„@T1€8ãLâ÷Sal&·¶±w -òQY`©zÓ¥KÖŒÚöº âºë"·£¸Œf7a’ \à¿äÖ<1¨âr(âŒqÆd?Ÿ­èçäiœ7eÇY÷<·ÆNâ{•!e6û!“¼€°WMâ†ÿ4$ëþ¡`'ǟí@ Üá2 ëŒ `2t, W[ü8¬ËÅîê—*qžD»µõdV W&ý®Õm¯»gà&àäj‡c˜áö±E0ï7t'_éoª‚ÐanWíšøÄËz¯.iÞÆN¨žñ±-)§§Þpx·¡/²ç.'giœºi‰e³BmŸjËÖY$wýÔŠùâÀ×,O”½t¤ -Ué@‹tÝX+9ÀlQ´Í»|KíÁóžNî@êõóöÈ»pû|þyÅ®\%ô7y/ÞðGϧܟoŽIFÝaú¡´hH\còß'ì¹RE¢¸°æŒç™0ïL'2…Ï4`®Ìå}šÊÍÄŽÉØœ\ù¥:ã<ý‘Òá%XÞ÷u ãûçÁIÇ€{vÙÛg±2è#^G‹«žv¢U aZÇ-Ž­þxÂ#Ú<)ú ÆßR&ï¨'!Àµz»i[¯É viÕÇuŠ¶É‚ §­a‘AwÂæ(ÚëO–ÝãZ²·BÅõC87u°­àû‡]_;%"a }€—.ðØqµ£t"ë×ÿ©uó;f¸^…xv¡M냗+çCÞçýg²`“Üï€ËßENWaå{+õKʳn›@]X -„* -JÏ9çt5Bô±ŸXâ‘é—õÈ¡œ³K(»ÏEq¸¥ã9SËP‘>—6a{îÏ¡ux}=Fe‹ÑЭä3ŸhHk;13”IŠwêÅ`1Ô ™+m%·Ó=½¤/d‰A@AÔg=ÞÌUƒ\ aÇø8À‰¯Ö°œ6ª%\‹MJ/hcv"K³­"í~ÐäUhîN¿H-{"î’Utº’º¾ƒÄŸ¡€äˆ°¨[ý &–X%ºH¿~ù®¡M-3ǻԞï%¾ïŠîÜå¤F¡ædÇ‘„WÂ’pû™ ‚Äzr<«°„[Ô!wÄø–ÔGY nû­¯À{²è›Õr§ª4£áèË.—RŸððõ+…Þû¨·ðWábh2¥ïH+XW¢ìÚG1‡(U=Óñåe†©g$åH£eEÂs˜V¡é¥ñEߨ üèœ 1äOFs3N>g›OKKÇxPoøñE+!xv±Ž£·@Ûr•GrèÝžÖªDF,û 2Yq!É!;M¦j—"NYÙ s}ÕËn÷E·¶^U²Ø)Iƒªî J·û -û‡èF?MxÁÉ[+¾,Œ$(û^xì*ÔÀ¯xŽúGÒàUxú{qÛû&N‹)âÞšìü7qiÈéÛZRyöÃÙŸ» ºÅ¡Tvôó{0«Lb¬ÁÔD€6sddßo±j:7…v–ÅìÃïóÅ€·&cß³'þ(æܶ®¦;õõDø° ÙFs¨$!ê_ÿä0Já|V›ù\ÿšönåí‰ÞÚ²Pwñ=mjágجþÖ®ë_ ‰.ª>$oÛ¬­@†a&1dÌpqSG9kšr–iQ oÈŒž•ÓÀ|D¶þy-•.¬©Õõ›Ñ½K°­2ä–¤#œî5ŒI€Ì“oc»T©J8!ƒÍðFn‚Û܃LVã,ÉÆà:‚zï‡Y%{G\)0+ÁÝb'½8èÁH¶üÒHçùwRåorÆ2”eúÈÖˆg €ëB¨¾ÝÈg0¹Çi4\OØfVvä=K¥„ºY)ð±ÑÎâås"g 1.GM¢ÿF†SjÄŸp'¿Ga4«f©ýè’½Ù 8wd]“,ctüx‡/»€|°S¥ƒÕGF| !o?ñRº¨hTŠ–²5‘€Á´Kiå-v -δï~¯C RÍQu4³i&D©‰êêáqÒ -é:Žè½õ¶˜1µ±7OY¸»\÷Øšt…×3­ÊC £í’ ?bÿÃ’ÿÖJË<´ç§ ¬“!ü7Q§ëÎï™Á0å) ¥Ï"<(/o÷~8o˽J¼I¨7å‡URI8Yˆ.ÆšGäpnYŸ·\~ÞòqÒ~fcÓQˆ`R`'èůÃ{8$ñ¤?H¥UÕßkÉ¡faf¶d z|*ÛïJ¹¬£È•C§TãzCëôŸ›5Œòý}³Ñ®AÍÊs”@Ψ賀¦Vh[Ê@oñî;dQDÐS͸*Äþ>ñÁô.PZí­øúÄ¥™»l{©:.éÄù©/?¥ÀÄáåHo’ц„#éâÔÏÛ•<ãtw:’¡ ½‡«5 ;òåŸ'7©R}LlŸ²)&â€E‚{\ˆNyûÂ\òäV¸B®o–@ º -‰Qo-aKM%µ×p}3Á‹ëÝó'ó4¾í"û˜<¹wd[I¯ËœRaÝ·k_~6Ò -êØýz&<.«JKÁU9£“¥pAcõ \æ…›«KºØ®$;' ¢ó—§ˆ÷íŠLåbFNvå5a»éŽ1SM—ÿ°S¨ë6Ø?Ó)í©Ãf87‘.‘Ïç  ù„pÉ;xw jWU× -2²ú3IÜ#ÇWQƒ7ݲnëe›’iRÄå¸Zrl“àì2m—yæ™a¡ÓÇ-F›ÚŠ´žTóêŒYãø<EÊœÿÞ ‡ÏªèTb¯„hk;ÒxíÒ©ç¢úŽþ -zH»{ÎÆt¦”:IéÅ6‹¤½>–×ÓÖ³¢Âµazad.9dl¸.)=}qå¥SלÚ6Wø¶Ã¯˜”_•,˽:²ÿDäÄ{#³dÛæDzð)™¶p "¥+¥Vä(ÞY¢Éû‚+t•> -›;‚¡[/h÷¼"ÛˆpæÓŽ7êÔÑ–W—œPóÁgÙB¥T¹½„Ôl³óý>j‡eYD}.ýÛÀõ"¯ÖvƒÆ¢•1ÓO¢DÈÖŽ7t¢W‚†O„cFYUÄ Kaj(¹)ÂlÑ~DnòÑãwûÅÈ_Ûsä –%”™¼Œ¼8+£PÔü·ÍZäõÞþ7ƒ3,ªVDÀhâbÝ`ƒš;C -7¬Äˆ -vXœßãoŽyc¢_¼í×xM6 åÚ ­žªDìêÞ¹«¼_¯(¯Š½ð<[+ ùǯH€`Ê@¯\‘ (‹ž½- >¨¼õE?Î.醕iær†ñ3ÏS°_ãüx1F­ -ÍÖU{‘#¼ ¸ öðUÍ ð«Í8?’^JPæD;t &Ì7ï²õÕäç;›ìî8„—Ô/jÍ.ò.&ŒÍI¥×pÃàþø›%åØèÕ÷½×™oU (œP¸|‘“V¾T’¡4-±;#·ÓKrÊ=¦ Üù™Ü…TTwžùÇl»Èk{²×ë#è,©ŒæÜèÛÁ!,s_8Ü@g1¨Bq:™ì›7)K韪_9$öÕÔQp˜‘òL[G»âcwj«Y?Rf> ôäIÌëýªÂŒ-NóF÷3¸wb¯a ‡ÈumÅ=ëgô®ÈÚÓã·T]bàaïFhý,IË´Ù>fš¹%ÖœµÑausz$$È(6äÜÖL -!Þö¶çÉ‚õþá¨,+V·Óè8—£3f»­V‡ü>…¹—¤ßé:“=3—‡à”‹â§‚;ñû¤ôR7üáCØóè"Ê•‘€2‹ õ$ž.½ªæ¢êÍx"Ñ9ó¦ãÜL8åE»éÏ0당Ҳ0Ãjþ™§a¢VÄ°€2ÒrªBzÎ9œÃ‹&í#Ÿ~Ñ“†QÇ#ñ®£JuÕv1½"‘%œõüïßï*ñd9Ûì>â’žªl9᫬Ás£8xõ@ÁL§‡5¯í4ø¿8½‰—ÀU\I®ãAài¯–ì{Â{ }?M(UÁtì$ÃÇ £vd¾ö±.Oa²&u.Ô¥úãÖ$qåûÒº³e‹O×—„E%Aø4c,yþgëÎÁ€@ì~ ÑD·ÍÝ°±S»úòXÜ=jqFa8bG¸Éú¹5`PÓ^’;ØÐ;³1à•QåƒÖ.Û>8M ô'Fæ·®tÇöè‚Düù“P– -ž™œŸgqnœbÐÔQÆÖýZZÏ0Ç:åöØ böD¶¹€¸ƒŸ~ú½w@pöà,gàqT7L,l`‘©¼›Q>ËŸÆ¡A€üÎ=³„Sø^sŒ×ÐÌa»ðƒ½xÂqõ6~"“$Ö¾9et¾FÇ/Ø+ì'šÆ*ùVK1Í—sÀhÿäöSTUHò£>=ÞÌwÜÅAþßõ¨*ƒ´‰bú ¬“Ī5-Ï!”“éZ´RãÊ?+¨`›ˆÚqùü£º&±ë–^Ð J”C÷ ô¯?Z†è»~Ç –;j–(¯5²Õéa Êß‹Gñ€in~¿¹ ‚þEwÁÇJŒ+k…arVäù¨(:4—?n›Änâ†:˜¿^›m&BßNŸ>¹ø0Hæ¿߉L#2Qx~4¶ríEÙ×鬱ôˆé,8ƒ~ŒÔˆ(Á3^Êy"Gûð&ùç-‡7:ãùBta=âÅL \¶ˆRf4:+ŒUsž¶J+G - ©4½v¤axxYö~"y¤J/’²bÝ6#Q¦î§—È@žd“£±°§º®®jù<úsŠ.hG$CÉýýŽÙl¹¦$ë×{/¨x0Ú1ŸRÞ”YõÀ,™’“³FB.ÿí˜bqqÈ€ù‰^– »F¡½SnꢫnQ}Š‰Ø<Ñ!©ŒcdÆ­ä*‘ -9/1¦@ŸÇZ¥-ÀþÏ2Ìý­¦‘(0d¿ ƒ J¾tHPÓ«îÖXŠÏ1£Wô NÊßÿÒI3§0ÏÞ­ò–ÒïvžQ""[zeuKi£½*;Ù›æÃp,EiXÆöhR_Ec=D^-ßÏãJ-ä_¦$.šo)ùŠdéÿ2øè¤jX€l£4—Åð2þüÆ7hŠ+Ñ>JÏì‡T“Á«Zü°¼bHÆ!´mk­Ì*ÄK‰FyŽ µCÕ½pOwç(͆MÜÖ‚øí—õè­±êöµI¦É£;\¹˜æË÷ÓÓž7/wyPÝBkêŠ*–lur:Ä&8¸á¼*i7ÛÝÃ>7K© JyðôA”Óæ m»íÇAUI33….l2uÉWÈð‘ š¿ðkÚÐI&T(ŒŸ éɶ+œßT³>§ÌbGk@•“L`‘G»×u&aûE©-có¸×¨FÚvƒ\ù -™Ã_ pÀgiSq(–ÙÞ¯t­ª·¦ ¦½Vk>:ðS»îcYµÙíRµõÀ/ÙÁ9RJF·ÍQîžðˆïö!õyL¥_aÎÃΰí?fOÒú±·ö§O6³¨ß¨†ýÛ„æßúk*edV ¹ÿtû=RWJ²L* ÛÔƒáÎÊEIvÈc‹¶UFò‡€Êøì ýà—ç¿eÔJs'Ó8OŽò!ÊJYôôL‰ÏÛBmôdãüpç.cô¾ðq‰µ†Ð'»>+îÅe'¸º®HÜ“K‹À Eþ ¢¢ðƒé™…;Œ=(’Ί¼ì%ͼ֯î=Tx‡pòŽ«¶úY_4¥lyGi¹™t¸sY®·Þæm„¿p¶®T®e]r,mH(Îé‡~Õâf¡€s;±‘¤€ÆâþÙ×>Yw&<:jhË„9×_>2t6€9aJýÞfãÉËéOù³*7ãçÇOÝnuÍŒ|døõ:¨Ñ¬ÊE±•À”Rx‡¹‹í³»ÍuÍTÒ»‚-¿*ƒ¥]‰‡–ä•Bg÷ì&êtà•ðf%‚ÞO·d8µ!>W“¶S¨rˆ×ð™ú!¥Jqðü˜IwCÛE5@x™½ -¾å:›VĨtmw!c¡F7 L"žšÐíìï¯hC‹.Bpô0¸¥~h6…}K/”óæd©¡l~Ðu:×Ý%œFó“k‚ªv*zQ:séÕ¶Ä -ˆoßF²Û@j:H=¡óbÖž½îÒg˜g/±ËKNÆÄ·/A¿s/"áyh•Ú–¼¸¸²dòbiÕ(:¬ð95Œòcy÷ŸR1¯U´(m\«³€¯º1üJz%zå§2%KeÌZ?é"!âVö¶Ý8 S/yÚ“<îžw²Žö[u¼D•ôéð”Jøýî[oÕ®‰ ÃR刦=@Æ0?™’ÖŒ¯»ZÂ)X7dõç;éN-½Ü¢ ¢¬Äè¹ùìÝ]2pñüRèÌx„oiöǾàšØ¬˜‚­ÛŸ¾û´Ùn—z\KIøÔ#þF3ö_R±ƒ0›AROì3¬ôº) ¸õ·&ßƯ[,ä`üjĹKÕ«çZ úúsnaé ë:øü†Uñf Àä&ÝíA'(¥«àC°TF’Áv¦×ÚÜÀ´£{)AÎ -¦5Iž#´2§¤Bó< ßso†÷­n{e eIÔÕ%?D¯JócÓDâ!ðÝùЬԕ:„:ƒy¹È{ ·„RœÝ컡ÑëE çs Ô87í|Å $¬lá¢3gHˆQÛiª0gE7Ô -¿kËÅÂâçO™Ž,’å’p›Š^(£[Ú\Cx’Â:Ç#͹á Ò9õ¾‚Ƴl -5[ÐN):¡Ó·òíÇ£àÊ¥˜S™+t22ˆ'1=®®îÚÖÛjHpYó¬`ŽÕÒ„}„ƵHd[UqUBÄçþ0pÖÜ¥šI†>‡uD|ÅhTbJ¬foóΠØxWŽëëÓ»ùñ@¦<Ÿ5&4ØN±Q†Dy‰ÃçÿDN£”Ÿµ¤ ]øc6ðSÉ•t§OpJºmü'þóí+4AÓÆíE%ìÅ: œÒøR*vFgq‰ðã2TjˆhÇ7^*Ÿ÷8?%ÝgaóœUÕŠ8[I8þf|^‹rômØ­r¸gRà“ -ž®t©á¶})I³\Öèa*DÚÊßÒH$)f}|ó”n³TX b„š”r åIѬ)¯š¶ ìù q[NöÈyK†3Ž²ŠšqŸåœ¥}¤¬Ý Á¿qÎXÏ|¶ÊÇw$ÚÀÏéÀJo§+—‹OLJ-üÖ(R5š¾X¦§dH’aÃr„æx¶cI‡œ«7ûD‰+{ŸŠ—…ɽ÷Òtý=" ˜ô›éýbBÀ5Ž¢ ËÁÏqsVüò¥×‘E¨ÆX+…<“Dƒ,ÍäFÙwÖj57èå]õýŽ·ïdÕ…bêìßJg}k¤a1ö†Y½†ÜÃañå 3zÁXðRLà¶h 5I¶(‹= -}g›@bÄbžÆ¤ Õ·î” 'ʉÞ2¬eìag]QóB¨0 +–„Ì‚d/±öþHŒ>ýÉÔã÷T+LA"¶%&¬e¯!XCrŒð€elMëuU‰:ù³4atècWdB=–´ù¸7U±îXBSÞ“‡×姞òo·@´£ÉɽŠ² ªuèXLP[AJÉQÚÊÄ°_Å#±œ -KôMµ1 ÒªT »QÈЂ©dÛÕÇønaÅ)œ­aÊku^‰i~uzÊkþ‡µ©|š¥Fu‚^¯'_oýG6¹Kn©ÒK0mo!£M=ËŽQo­æ‹QêÅ õj™Ì ç!ל„ÃÁ—4ëuh^ÝQãN"7«Ï*×7ØɨÃî¤à~¹GoÛÉŒfœìËh<„Ùë½æZ/Bt{i«÷vµjCèbܬ܄7÷Ñç&$.S­xã»Òs…¾z7öFÖƒ,YÊaz&#ù%Byy†0`GoN ôh±¸ —\+N g¾Ž _/¹9žfèf¹9®t6UØâ‡a¾Qˆ„œ< !'e‚‡ ü¤‘›ÍÌÊ)cÌÛhó:¶æüŽ•hrroFMBK|y 2œ»O êÌêÒØÄË„@¿ãh[¿ÌAPžôò+P27¨9üå<ã©=*yK*»qnèYÉ«ÈÕ6¹LÞx~,‡6Ÿ™yö3ëë° «ïáÉêXÙá!&x©pÙÏãH$$µ8A3 (òsñŠaò|¦fIej 5å™å…JÛÈ^Q1CqHéÁ¸õÏaÝ=+K~æîuo”9 åÞ#JÉõ¶HѽDÛÝbî›(i4xŒnž¢˜˜Y1@,æ—H÷d'{éäì2·Ø™©Z=ãBÜ6Ùˆ·eõôu¾kïjÒà@ŽÊké¿Ý{bŒß Ûùû LL°~jlë.Ž²µmÞõ"CÎNßf/›}£²›ïåÓ€+“%Få6ƒÈ)OâµÌO(¿¹ln¾®½h÷ëÚXL½¸ò«åå BŒ—ÏB|à¸LTƒ;¯ì´6'žc?, -éIa]zG¡*n W8Ríðó[þI\î5ÇîyHæ­¶´ç‡s†Ú¥”뀪&Hï0&Pïì—à-Œi¥&; Lÿt.ŠM[r _"ß­ÿÁ1áødü^.*ùú0›~S_‡˜ÞÛZ®Ã,§ñÍÍÈ"Fbκ4¥¬”-ø¶lʾìfÓ“÷î÷Ëqú¯ÑˆÏë³ÛÑ×ÏQ¤Õ°´¸Øiž¡h³am½sÔòƒ¤i¨Ø8~-z7A¡·O¥æö ÜÊ|"“¹'%_d4xŽ}þ8$®ð#*Â&l¦wQ¾l_È@å?û¯#+Ö1øÎk§”!´£þþÄZks•}@¯XÁþ >קrþÒ«Í ™óªŸ}L®Æh©Æ§Gùº,jŸeÀÀ/¨~H}ÚŒ\&G?-ïí·°Åù{çQ&žp‡Ëci4ÞR9ÛL5pϬ&HDOòŸÇ6—í) |YšëD¨íAÍèóªÇV…Øv‹w«ÝM ªã•67—ë5>D‹µɪÂwì„B¶ñæ@žã/¤ã¼¦,¯Pyéë+µ¾;³gLçÏ„4¼~°Ó:ˬäFÓtLRJ€ØùÐ1ؘ&7I›êHG„ˆŠ@ß„à_G~ÊtmWdÏ ¯Sü ïå\ôÜß+rœm-U~³iâ·ëÂS6¶ -joìjn•ÔG« Ö«ââ‘]s -KxB6 (դ籒¬XT“!hÿòzÌp4Q±Ž§ý¬}Ï+ð[ýco…Ì•†˜ævŸMå÷’o׿»r–òÿp¦ -endstream -endobj -2923 0 obj << -/Type /FontDescriptor -/FontName /BMIMZO+CMTI10 -/Flags 4 -/FontBBox [-163 -250 1146 969] -/Ascent 694 -/CapHeight 683 -/Descent -194 -/ItalicAngle -14 -/StemV 68 -/XHeight 431 -/CharSet (/A/B/C/D/E/F/H/I/K/L/M/N/O/P/Q/R/S/T/U/V/W/a/b/c/colon/comma/d/e/eight/emdash/f/ffi/fi/five/four/g/h/hyphen/i/j/k/l/m/n/nine/o/one/p/period/q/r/s/seven/six/t/three/two/u/v/w/x/y/z/zero) -/FontFile 2922 0 R ->> endobj -2924 0 obj << -/Length1 760 -/Length2 1284 -/Length3 0 -/Length 1817 -/Filter /FlateDecode ->> -stream -xÚ­’{<”ùÇ+·5…48QËcå247·AͺNŒûê(lcæ1Í<ÏÜ0â§F«^l„•ûí-Z­´–e7¹S.iÖQË–œÖAå¶CÛk_Çþ{^¿žÏ÷ûù}ïçóûú`)L$tC`!–ˆ#Úδ@*Ñ â(ccg>HBìB‚öÑÎŽP¢YÑ°$Ú¬íIV(cÀáŠù+R˜9c6M6…ò!hta$È‘Ï`ÐÙ@€@¡PØlÀs‡ð ?dâPD"À„B dA0 -¿ID…#Àæ}™ÍýЊù9`&‡ÄrD&³ÅŒ@á½ùY œäÿµ}¸[4›íMçlŽßJé/}:b‹ÿp n´ä4„ òáíÖà{8È„¢9Û»T! 1(0‹ XâáÈû:$pƒD Ó2":[nÕA˜¹DžÞÞ×=ÀÇÅÙâkÝjúÒ!X(æ‚áO÷–&þ©å!ñ!pŠ€#ˆr£|}ø -Ýv˜+Ì@˜Ì,IÖϧ‹Qù(K ˆ#ÌE(’ãq0"”oäÉ$µy«D ÀC›µ÷’hày[ò¯ÿô駈(ke `-ID¹•`Ø ÿcdDóù ,Üz5òd>èH&Š@jtaS¢rӪϹ–öýK #8˜[™Ò}/õv.÷b’¼oˆ/í õÓLÕŒ‚nìÍžó¬Á3#H2ÝFJ|g\>õ±f§š¦8/@ežñ"$lWWámœ‚‹¿ŒLs¥ócF‹Ocî)Ýòš%Ú”èÎI«¬-œ;“øP6ºûÓèY6*´ð®×U0hæé•ï^º#¥Èhy×ßBòÑ룺mOÎL¨åÚ¥ÒFªþsÊýÖÕy³êúøĵöøE_……ñg­*õ3NÒ· Oâe¯¤'E-™¦­¤‚Qã’Ž³VëCó»ô¸©uSMV“§ñËZ¬—Ã;…Çÿm{ Sd²<y1<'p¢g¶DžCS? NN&˜6²ÈjÒÊçIÉMIFƒ_%Öþ£|ø«¨‚-)ï"kgWù(Zߌï²ZºeÊ(ÍâµnÞ££‰XTDô¬ý€^Ðí‡ËasŽ3÷‹Ó_,7õßãûzð‡áqS¼~Î*ŸÝÙÂ#é.µÉ~6Ý[ž´Cy3ç'/¥iK1æm!ýêµ±[ÅeqÌ´;6>»¦áBÿ éɃŸVübÄMÒyVÕ+ðóÛ=ÅäêQîûTí;é± |³²Ê‰4ܼõm°÷O‡ëÏe®ž -1|ÖªVyhH…þÀ&nòó¦KÚX¶Ú—ŽŸ†­í®‘n-ì¼ÎTÂÈ»¾†ýþFu•#±…v*Yû}“ù}µœ eòHQZ[yüMgày)TÖñ?´¢‡ ïHùȃ«÷Ä\iE)ÇoÙÑôš†ymJP·Æþ[Ûó©ßLäòÊub=ªdžº¢§@-ÖÀa'ØØ¡ì×/sÑK³Šª¶Å×.G>fÛú 1nŒC…BÂóQ•±1é±äÏœ¾÷òž½³Á~‘ŽX$e”}\Í«ï^úø€¤xÜEÂ70sü'g\¥<¬GÛ]¼Ï!7xwˆT§ÖÇné+)hJqì–„yßÔï€ÒrV•ëý[ÖÒÜòŒyy‘RÌ´Æ×—*Šd}'JÈ`bíÙ.¿ns3}ªÝóƒÀݯ˜r´=ÁDónzîYöÖdWûQ/¿§zêk©9©”Þ°âE}•Ò“Š|ñÝ…x -âåKSG“BTe1ý -¶‰íó1#eaƒø\¼$Øv5p@õˆ«Ùwâ؆D¨9[_±éÒþ}Õ&'ó×_ˆýÙη­\ý—××ÊFK\{k&ÔPKŽÒ>¡FL5d„ào'[ï¡•¶{I³T ©ðiY~PØôFýræìÁðÐ÷r§Ók†þʼÁóÍuëÒF‰à)¹º ü6¿·úNWñJCˆ†óì77®¦ýííXúì;Ý!ÅõáuSM[':À1vç -÷Pb¯c\m8Ö§ <ë±]´½ 0dq÷ët#yåbZ¤‘«‰úáß½etµ -endstream -endobj -2925 0 obj << -/Type /FontDescriptor -/FontName /PGSODC+CMTI12 -/Flags 4 -/FontBBox [-36 -251 1103 750] -/Ascent 694 -/CapHeight 683 -/Descent -194 -/ItalicAngle -14 -/StemV 63 -/XHeight 431 -/CharSet (/i/q) -/FontFile 2924 0 R ->> endobj -2926 0 obj << -/Length1 787 -/Length2 1685 -/Length3 0 -/Length 2234 -/Filter /FlateDecode ->> -stream -xÚ­’{8”ëÆ‘ŠÉ™”C|ˆ²cNƒÉ8åL,‡ŠPÓÌ7ãcÌLc†2R¡*©Cb¡¢-,,‡h¥"É\r¨T‹äصºÚ»õï¾Þ¾ûyî÷yßý¾ºZV$úQÐŽNc¢à(3ÀÆÕË  àH˜®® $° :m/š(SS`Ŧ(2CbÍP&0]À†Îà2!J Øi£¿fÂV! "h€+†g TÀ“N„@XQ©€ÇÚŽPÀ ™a C¡DdGA -Dƒ!Ö€id:€ý^&±?Za 3TìBêBDFå$ Cì£ Ï…$ÿ¨_‡Û±©Ô}„µñk!ý£M¨Ü¿ ô›2W: dÒ~µ¿³¹‚$ˆòkבE BD+… -†(#8Òè{ -µƒ8 Éb2 -~«ƒ4Ò¯$Âð¾q ܺ{99ìú~©ßzîˆÆòâ2@ùÓüM£~jaDLˆB‘H”Ð(\?¾ü9Ë–F¤“ @cŒ“IàÂÂQh ˆDr#FÀit–p & - Ó™°µ;E!1Z«ý-DÐO‰Ú Žý—4ÌoòŸ?lmMçD¢±€!#$@›X 2êŒD6“ ÒXß^”0¶š “AH„õ?§q§ƒ2ªãJx¶ù=7×뇪gî|[•‰ƒO¼Æ)ô2kº½@ùXù ¨T.ý£s‚DÆTª­Ž·Fz"bûä[¥•ôs³<7N'üÄÚ®·4ʆ\=;Þ¯9¨Ù5ùRgn(ìáz¾Ë;6Oåc‚xÉ‹ç+ñ‚£»ý›.“tFÓaþ׸\÷¿JíXü`Oϧ÷¶mñËšS\íWiü3ø•t¦iâu×u/ÂL‡ÐÏu̲ùPÅoCO-Ò Úé·ߨQû4ß°éiØÌTO}° §X÷¼éÄÌ]ù+IG¾FæˆÙCÈ¡Wˆ`5ßÓ £{óà²wVKIÕ…’Õª÷ZKó3u;ºF«Òå–µ ¶ÖáΈ©OÏ6î´4©ðÅC7µÛÃó$>—Å)u¹KÛgÈþYáÝ|ÜïÒt–ÝKáÉ¥ƒKÐD9­:ÑžÿåYýø)™ì±ióʼn6¡mQRƒ»]ýž÷»ö•K;”O(v³óüÄWÞdz?xäšÍÊh†zu=ÏPI m,?IFsQL!:ÎÐu¶?ÜSÃíܱ;Fý úW;ùJt†fÆ-I,.å -D*òcü9Þß³¸áôœ. ½FS9üÔ™Lüš¾nؼGß±cñæÝþÏ91œ×~”³YVÛ”ÚÏoŒTá`-ß -FÛ䃒nŸjÕZª˜—ÛZr@†ã#Õ‡’nX)оÎ-Œ‰wkÊ–(X.–Ž.tú{ý¡sao…Sáh4â  ò´é'S/7ØfJËÌõÇPŒ¤” jGG•Í³½G+«jêMÞI£êP÷×/–šîáÕßûà0rë‘ïö(‡Ú‹ô– t79YF“vÈ^ÀßUîHÀù«ÄSã½'ôŒŒtú¬{Rh|3L™/9VÑdV4—¬úò¢º­L±qäÖa™À=?¨5pßbù_¥•ušË{^‰¦¼\qŒO;i±èÍðÜ<Èc_(j«}¾ŠØCS(îVú=SþHae+Ncú™šéì¾ñ208ö²½š•½2X{×-1­b'-_Ð[Þ—ôÔÓô|™ÍK… -»Æ•©®}[Ąײû|‚ürVñã´Ûö"ŠŽâˆ™Ú_D7_wÏ({ÊqéÕ1Èù¬}¬®׳:¡lj5¦þVó£A®D˜Ë\ÍWyC£)…Ï)o0ð»Áy¤÷Qû!7i³ûÌ®–ó¡ëúõ½GçF)Ñ”×lÃà¼ÃSnV¬C¾QûCµc³•Œ·æ:øÿtoFÄ?± 1ÉÖ|³çÑ[ï-ÅçŽ/ÄØ6£.i¥¶>A´=®lÚÙÔR!w¯2¡2\¼ú¦Î‡Å^ùK{®öSñùË‘¤¨íÞÛÎ9GæH¶Âbx»=êÚGæß!ì_-=;ôN-ë´£jriM¨uÔ²Z˜®fxë•¿8¹-ßU÷Ü/Þï]7¨1Q×Þ}âV—¦‰^Á^¶¬|MoQ}›ÑÒaK'T䜟¢ÌŠÖøûúLæ‰,Ùî2—D·‰Ã‰þµ[Â)Îñ·†—ÉëÇVòNîs3<Ý„©ôp¹=%ˆ°×6âH&ç8—êú“¢ŒI:ªú\uÌìUO9ï ãI¾I*]¬ŽÅ¯ð"O5ÁÜ;Ös1†É=yã%³ôøOŸ§yÜZÒÅD´ìÜCÞÈóI4%°âò–‚D/Xþ ™ñ°_ºÒ䣥_Fr„@¾«_X¤QÞWpÐK+\J1žÿ…ÐÇC.vF¹˜S„5—ÞlÑY²K ¿ß9¤*&S|à 7¯«KÔ|aµH*[ÕØÂò 6“š}.o¾üÉY`dת¾Ðý,ÕÚŽ1ùÚz¨‡Š4”[’J«´¬3ß›á'ž 30y¯­ v¹oü0?cLOÈU6¬\H¸z5õºïZ1×ñ‚œßyÏçÀ˜7í÷ŒÔ%‚Rí¤*;a˱M&¢5aY¶ÌæMfó.žM¬u÷g󬥶_j*iµÚ:F§â“»]Ë'»¬{Wâ’綯”7û8)´ - p¦ü=»ÄDeŽu½ù’„ÇŸ -v“ž…wº2 töœžJ<°Ïe¢óêƒ:¶v¡¼˜}Ww³®nQ£SaÕ·*:½Um•vá§^«¾ÜíS¶àÜüÀ*–í~·îùÕî—>/z£šu"õ¾0‰D>þª9zÚ/—";òàÍù–œô-Êÿ´ÆC -endstream -endobj -2927 0 obj << -/Type /FontDescriptor -/FontName /OXPTJH+CMTI7 -/Flags 4 -/FontBBox [-27 -250 1268 750] -/Ascent 694 -/CapHeight 678 -/Descent -194 -/ItalicAngle -14 -/StemV 76 -/XHeight 431 -/CharSet (/i/j/q/r) -/FontFile 2926 0 R ->> endobj -2928 0 obj << -/Length1 1726 -/Length2 11072 -/Length3 0 -/Length 12028 -/Filter /FlateDecode ->> -stream -xÚ­¶e\ì¶ÿMwK—Cww7Ò]Ò5tÒ4HIw7ÒÝÝ¢twû̽÷9Ïþ¿}>Ëù^«~k]1P‘©¨3‰™;š¥\™Ø˜ÙøŠl¬6fVVq$** ÐÄÕÚÑAÒÄÈ`ããcˆ9ìÜ6V~Nvð@ÂÑÉ dmiå - • ûlj fY›™8M\­€öàf&vuG3k «3@ÌΠöO„ @ è¹Í™‘ØØæÖf®S ¥µË?šd,<ÿ^6wsú_“;ä ý—L:X¤¹£ƒÀhÄ¢ä®kùÿCÖ'—v³³S2±ÿ'ý¿&õÿØMì­í¼þÇÃÑÞÉÍ(:šAÿíª ü·8E ¹µ›ý[e]Mì¬ÍÄ,í€Ö/Y»H[{ÍU¬]ͬ® 7à¿–æÿ­<¹)`ù .©ª©Äð?›ú/£Š‰µƒ«†—Ó²þãý/f{cðx@Öž=Vð|ÙÀŽàÏÿ~3ø¯bRfŽæÖ–v.n€ dâ…>>`âø°¬Ìž 'X0 ³ƒ£+8ž‰À„ôÏŽrsXÄþYú7qXÄ߈À"ñF¼É7â°Hý‡xX,ÒoÄîüØ,2oÄ`‘}#N‹ÜµÈ¿X‹Âµ(¾X‹Òµ(ÿ‡xÁZTÞ¬EõÀZÔÞ¬EýÀZ4Þ¬EóÀZ´Þ¬EûÀZtÞ¬åã|äYLÞìiúbc45½™Á¡fÿ!.°³™£ø–ý'€Ü™ù_n øæ–øïýæîÖâÍÜ­…µû_ÿ˜Ý@€],ÿB°@«ÿ 'x"V^NVÀ¿׬ÿB°f»¿Üý‚oË[,x4ÖÀ¿ìà~ßʃÿ,×éÍ n× ü˜8¾ „¬ÞÉÎÍåm `g7GW Ðâm,|ÿ³ -ú¿Óbwû×,ØÀ­½¥âú‡€îõÎvwßÑÿT÷ãbgâbõW -pý·\àö\­@À¿6<WÇ¿À9ÜþBð8ÝÿB°p¿Ž8Úó/§÷zSõ‚þûÿ}ÄÅ=}˜8Lì\à+ɾ4¬~ÿÇÍÌ :¸þëå¿pÿËÖàçôš!­,:š „ؤ5…•úKåO—ÁÒCŠ[6Ç+ÕwÏ}G^N€´+•w¦ß¨Óy,Ïx‡¶ »ûÞã™È%ªÃWuBú,Ð9þËÂë®»ñn†w+‘Îe†¢×o'ò»à#ôö¦ùëc.HåÙ±ÒäYçƒGy*´’{ðëd=zî =™!Ü<:Òvšá¡uÔdj_œK#8Ãx`$'Âü˜ -ö· GhaX»pìpÃzÌGÈMz5‚x0ƒ‹bÏ^nž² -Ï`"àý¡/iùð#Æ€Q_ÔÅBešYÕ“^=ßæ°Ò~·Ú5½­ÞVÛã1ÿüÑ”~‚`oH~šÏEû¾\U æˆ_ª¹BÃÖº2X&”•½Xê/Y$SùȬ[FSÒ€éý‡D~2˜´£)/uºÓ:¨Ù0&¸ÕËXñC*éR²GéM×W®Ÿ"ñž²C\û«šãºë0áæT¶ââ±Ó·þž_W´yGT¿¸¨žHq»ýiǹ²nß‹Ûú‰Ú „ü0£QO)„.;@ØfâÍ™¡'Û·N÷ÊþDYšü9­Êѱ³lVŽuŧ„ô$€1»UÛ“ßB,í”:¦{vð8q®! H$üöêS~x¦ðÃÌ!Õë,%ü‰Î)hè$e˜6³…yG>Eí]°·8·¯£ä•¢%;<>8,á‹£qè^¡ÿÔêÙã »Æ"ç÷Tè¸XætÄ­ ¹7úT ô³êËeÃJÐæž,/‹.ì® ¢ ¶6ýù¾ülß:iç$´!jŒœ<Ç”#}Dho…ËEnuÕÛ´s^nA8_Oû÷tã3² >à;ùÚçç…94œ‡6Vå/>æ­Žîí"R×ú¼g~!<(ü%J©€¡2ÔA×÷…¯Ž1]ÆTHã4Rò]i£òñ_ƒ -@)áj'ò†^ÛaÆîÊ8†açÙ9î¡—7Pþújáõhë %Em¬½iBõoN ÅŒÎpd.Ðñ¬S´Ë­ƒš©¥ {+äÉr¼ÎÁsæQrÆù5ÃW<™< ?÷eËÚܪN~l/wYÉ -‘Ñ`”·’hŒ¦°3—ƒ¶©Ü‘‡×ÿxÅÑwõ_©'%~ÑW¨§¬ÑõF×p­+cíd~‘¡–‚Uß™u>Ší¡O,˜p¾à®¾kq_Ž‰At ‘^^úEœW’–“ ÌÁ³‡Ò¾“ïA¡3”Ù¾f1IL(¹Ú<™pùŒRm¿:ž¸à¢‹·" Æ8ú½æ{Ëm«°¤,&²>Ñ&™ùX™Ÿ…N£­d¬Ä6¦*€¿DÈo¢ÚÛÑt =ät\£ãÝnãN¹`Ë~Üñ2ìZ¶x¨J0Rcv3´¡±uÃ/#2ßvi‡£5JS÷ñ^ÊŠÄdš‰¶6tä\-D1Ã(aŠ€ ¥«ŽHsbx0Dòs¦. e6Ž–—;ã¼Á]ò–CãgÚ`ï£Í‹ÂÃ]ÞQ¿óUËìŠp[thˆÅø´]‹4‚¸e“ãÊwQ !ß> >)ä‡_G|/æ;Z²l#7$Eó½YÒmØÐà‘!‚$’×O‰ F„ÿºÁ®ð«÷¨e¶¨éé|¶%%ìHG£jÎr½þ™_GjÜËþrõðƒþ˜bòá×Í£ÇZžr“iáM½ÒA8ÇÊ9÷ÛYçiãXw.§Öò¹ÛÄØ"Y îðrï˜9/kçÁá^¶XÜ۱5Ïf PU·7ìJïÊEŽx¢»2óKGs˜»…™È .¥(Y\ÌUòÖI•ˆi<óALœ %µ*U·Õ.§É¥4P>,‘î–ccwöûÛžVÑ —ñÕÄ[Ž•o¤A.ª¸-éJtRÏÖà;|#·]ù¡ö5AÉÓõhÜ­Å8åt”)ƒñ#kÕÎ8ø#(‰8:aÇç©hÚETÀk6¶ú|è8F÷ŒœüèQ§Étt3vÊXN\2cŸÁä`ÞwˆçM°¤TcƒãçýDÔwˆ“g‰`¹¥$NBRec©˜ŽÈ÷3]Ö%ÆâÏ&ªF±ÌðùÔýy¹-ŠÃ¾ScäÜÎÊo™WQÈ™ØØ6Uh¹š4~aµ:>¦føÍ®:ÛVž† ÇS£¹¬±û?„¦:5at=‰Â °+ôÁ2NćŽîßÎE9Ù?{ƒ#ƒX9ðÛŒY±Ý™ßi@g},ãGµUá_‚…3ó¹ À§dN› ‹ÛQ˜ÑGχ©"™*¬9~6xXFÅQÞ¡OÉ&¥·ÌÐœ.µ›‹~\#Ò¶uq£RÎíÓÅ“6¶ÌÅ -î'¶ÙàÊpd¤>ÖÐg+N©4`q -¼¦@ø¿áúgÏAŠ‘‰ï‰ÜGÀ æÅâÈüþ“ÈóçÖ eçßûñ¥û>^m@Îb£™/?{´ŸèÞ b -|L¸¢ -•ÎM8fcO§ùµ`wH]R&áŠÀ‰!à)öxœDOÆ•üÄ+ßP„*“õdN+T®¸6©È¶oC+K. ¹-îÕAš[”wGîüÎøwYåXÛÕO„8V+Ž®rÃx1á&Ø®ç ñû:\<‰•÷Wi×ØÛûSJhF’<Wø®šsBØ”=ÏGÞeÙ{Íä5«ü¶Ÿ]û¹þO.åøljÖŶΑÔ5f°Öñ=X½~ª)›ó©+ Ð~êæ -#Ð7/ô“e¨ŽŸ †Å•B%j -Ì©ËÍ® å1z0^³ãÂÕ³e8—ò©[—´ÒTÉ“ éã»î¦àÇ…©0™&½c|ð-€4P˜ºþÍb*¦àÉìHÇ"2EMщ—« å™ë¿â´ÏA˜uí¾ºŒª~±“»ð,¤ÇiGí啹2ccçYlû¥oO<—/3œø¨~ïD`·Å½N$ððÁ”uŸë,TB”\n¾Þõì™™8ãý{ ÑFc†‰¼¢B@S+»$ñøFD1VѳG¢>r[‘ú§éW5ôóI‘yÊ·Ý¡Üû¾)3´LüžR"R€éÉYx÷¨ãB¹T˳2öÉŠå¶PèÝeæ£U¾"]@yãKx“§ö%܉„Í4&b­Éã@MåËiµ?Ÿt÷wÞ%¸ºÂh¼³îm¦ä£Êß­ÆúH¬õù -3¨Ó:ÅGÏ¢ébf Äšú¬â2'¹¿ÓFJ¹Ô\¡ùa…„(w¢æ’¡âdñìâç”·dtÈÁ’ŽÊ]>¶êˆÃ.¿ìW¹)ÑÝ’´èAqfíõÜRÏ…-÷ea™YÑËZѦi§ -{¶ÑÏå©ù++Ö.Hô§!ÑRäz‰Í?¾BaV陋ãà¯Ä9¯±²»Üˆáë6f÷µð~2Ž¦DMà¿I?ZÚU‡žßÍy¨Û7Ø÷ÆÈ_ž¹ž„êû)f9g$t³W7ÒàV@äÎx,¶²Wkª2q\²3BÜÏñMJÆxC~S‚t -œ‰ô}¯6<ˆyï´kù(s,⨢äÞReèdP§˜é)ʇIAuå¸QóËΑÚt*JÉ‹-Â'϶|&§Ô±ó'cš5Þ~÷í‘bÁ9þ²–»TdžAùìiE{q†èUþžaîši†IrOñLf)‚\ƒWÓ -7õå÷}¥¾ÒCqOTSŠé‘GÔ”Ð[Á„‰NÚÅŸÙ1´8íZ8˜EñYL£`ŽëŸ_àœÈ ‚aXñó`ÇÕs®~Œˆ:1] ëWe™énVÈ5O+x^ěđûS¾7À_”ÀIx¾ýÐeÑ)ê¼îÂ>8‚"£ÑJÓJ4.7„ u5ÇN‚6˜ú}N₦4WU#Qóì)Õ1hå¶Õ^÷ã|¿c¯F³à’n*ƒ±¿zµ3:ÝŠ]÷-eG ±”Îëݵ±+¯0‰ËwE"\âDgNBø$¿„¹®íe¥Q)ìý=¤“Õœê8l<9TŽnW(Äê–6­AÒ=ËRkÓ}—Î -›&C–j€Zx uOñêX8‡Žõ£›6,;ž$k˜RF%Ì& -ª:[w„/}m5Ód¥ ¨‹j¾kºìg×°~¦ŠÜ·^Ú¶ìAÙÖŽÙF·Û¸©µêrú¼¯;ó÷¶lÈÙ:ÈËCiOPªðEÕÌ£4“‚Í}ó¡|Öbp¥f£ãâ¹—Úk8׈nS^·!ùÛÂV&ÍÿéŸ‹Ú *òh”£ØñH0‹ý8§_3ï%]¢op®G6ÍÝ’/öõ~Æ~vy§˼‹[sÝe s„¨d?üZÄó¹¡Ü!€V·ŸP & î9…óRÛŠðÒ$f݃‹Áyág7Ù™:VÏ®*2þÀ ©:ŸGHÙRÆS: -%$ye2„†¯–œß%1i“ì×ÑÅÅ3›WÕ¼¶½ÛžÍ"^戻҈mß$`Û [‘)”·PbÚ£)¿{QWúû]"óÞŠ@ÛyBxí&žŠÔí{4×ë!dÍ<þ¼ŠÝŽp òá—J‹óo¡è(ÎÎwÀ(}® ¿™X=þ›æeÞºOá,­ÁZ;¼Aö¯;ìšGF$Ë%Òɘ­šÅ©,Ë -ŠI¢Ÿ¡rªÎSºžccgàxHšêÚèÊÖ@¶µ¾M.sz-WANÛå¤&V½á …5R¦çB¼´ÚÑÎ+ÛôÜ%nòïÏm;›Ï=S ê9ú™ìÇK5aj§·"œõøŽ3[êàVz-d¯ -±äæ²"n‘Úƒ¸yíFã»?H‰bnÒ`´Äº6«³.ä[ZuÂå~¤š!Û¬ÅJd¼’ˆ¾¦ä%µ­Úk\U#p6§Øu¦Mdá0$"ºHdp",¡(iì¸ R«Ùúu…WClÆ"*Ky~¤bºŽÛi§Møƒæ‘å_ïLÎT¸û€¦‹iß‘¶kÏ&á±+S¾T©Î””ºÞ™I´ãc=ïNH/; þëν­º¹QÉp•"à³›©˜<,’Ò²ÑÕO -]¿ÇN©¬å“'çaÆorÕųÕë°w^ -£ž8 ݺé#¦nKçÀýš¨Ì½áÞ ->‚P•…  Ï qš®¦‘™ävÒ@•äBdÊIzô;(TûK`,Wû¢ú•ÛiRç7baήtêå®Ø!y”Ò}7ó4 (ÔÔéul³eèfÀÖq¬$Œö#¶ \ƒ5·+QÖr# -û ‡1Ó H‚ÊJKVj(êÁÑ–6Øël%ñLª9dÌ4*·¯ÀÉÅ$‹¬³/8¸Õk ÎœT3åÆab1b0¸ŸÑåi„ê‹Ç®+¶kP­msí¯ ²AÓR-¯´‰?²Ü0u¨O¿hÅ8[Ùz?©€²Ài¬Uï ZIK:mh…hÇ2š—¼Äö\Â-–ïw|¯ÌbzýêÕ1“€Ç ×QŠ‰,즹µg¼Â8ßûàÞG ‡ìœjпÖÉ"UhGõUDn˜‰€7ÁkÄÜ™° óèãxÌwÆp~H•ŠºüJBÒz܇úѱës@Z8UÜ䯋Ê '–+¥ÃЊhÄ»}Wù¿(Š*'àžî3bZ*žÍ>ú eDÿ²˜Hé“I _ÑéÚ¶?)†7¡L#k¡ôÔ<ŸTLÞˆ¦õª™%ÜSý¢ÒÁ¨½óXè Š©%“ÿXäφ'ɼ"—VÛ«aîÉ}CÍ!1(DD.éˆl†>ÿzKcí-;´‚oNë¯ÞO½’hÞYeO]_7¹ŽWYLžá‰/‡]É!¾IU…KÁÝÍFJH•»!šd…£Z—‚¦¹§ýVo2Yx·{ e™òoË ô‚m‹9îhçÓl#H÷Óo{È0ŠBpé]`:5¢,úV½ ¹{©ŒPÂÍá}T;øPigÿ6(R -—ÅŽ4ÅuŠªCVRŸ oã¦Jì.ùYã£õ•Ç¾®ˆB-÷fÖGÒ!©N¹L< õ_+ô¹Á†È~eïSOåø‰¤ò`Ž¿\:M3td,+Ý—áÖ´-0}˜P½Gr1¬ÿ|#s›CÖ~0o‘¸EôBz‚¢ä¶F¸¦oOæ -'Xˆñ»óQX¬lì(4À¥GÊÈø¾C}×þ‡|­MGºñ´]Ëkx£5\×»(‹3ÖÔwbòï’.½N¤ƒ0Uèz¤ƒ£ÊÅu̹n²*)¬&ƒ¨hR\»à¿œ¸2:£CØÅD0…ŽF³V{d?Œ—%£D˜qÇ^íz©§:aGÛâ|?ê?j½ÿ…á§3¢Ø˜ -Ž<ŠEVÚ»$´°™!$ÿƒ¾1-xs,b¨ùÖ”ÅXxþâ©c×c—A@·uu¯¶¹†°Y·GY¦$–Áíù•Ç¹yÙÊùô¡ÂdDZˆÊ§&¶Xô+O¯Àµìp“­5%ã ÞWµ¡E|¦î²2{ã9ØųWþOhB“N×Å–Ó? /¸ïT ËÐŽ¸î=f' P7æ3ðoÓ×cÇõ ,Aµ€Ø—èÛÈ_5_ø¿ o8vŠ}KÅ=b÷MìQàû‘h4OEú:KoÆ?8îãZ-|õ"ò±ŠBტ|±GqÛäú×@á6R~ÂW¾eÆÕ©9Ž–'‚äƒ+õ|•õ6œL\ZÇu¦Çy4½Æ$çdšZtÅýÚ¯…†ê»vœÊªñ%¾ÂïŠ-~PMß÷ÓÈï[ç'½âîÐFê}¢;Ķ+0XÏ\&‹ U ¥à;rx‘¨©^½@Qt*„õ÷cCÖ<5‹ø°×-ýu̾E®H E0€:›˜Ne¬³^m;8Š²3ÅËFë§ï~§+*ß üB–Šй@bØ®óç.7ñi’v6l?É;‘â]y¡Ôáu\²¡5]F?qß+Šë¾9ôMÉãVeøìæ®cƒø¶#hÆ´ÝÖ©¡ÊI‹^¸Ó¶‹+õOÿûZL5ž˜©5Qy»2‰ ‹¶§KPµH¹Ãé9ÏÔÖÖ¬?ÚŒ‚¨A¾ÃjNhH¿•èˆ¬Þ†V™"üu›ÜÛË%y&OWâpTh76‰Mu2KÆŽ’ätòÁ›ÚËÏò±kÉ÷™4~C…EÉæ®ñ€Ž#D[踢¾ÉŽ€éŸï›¿S®›<Ö -MØê}Ö]wž¡¢àºµæF-1hµ„[™íc…%”êÖqm{߶ϖU–ûrªÇ -;÷|¡Yß“PŒœ†j£nS´¢?™#Þñ3âŸLè³›ªŽê§ºü:×sDÚ8ùqã bk©úç&Ža,¦ÅËQ×ꔕ¾},Õ®–”õê‚ÖwÓ_ï<6[›ûâ&-Ù?!÷T˜’¾üù¶‹+Ö=OÞ¥§¡˜4ƪ>çÆo‘7`îcvígÜ 7wTõ³‡^½ŠP15­ ›ÚSˆÜLÝôh±¨¨Cöõ¶ø×È/¯ÓŸŸËöv’\>”ŽÿgšoäŠ5HK¶‰”Š²<ÑÉÏÝ(~ÖÈe& ÆÒãö.w`>°aûHÝÊ–cºTb¾gwÒâ=ÍU¯à³Ó;tà¡oßQÄÿ{ÁE‚P°ËVcÞˆƒE§£”ƒ>î™Ûì6´Š«’Ü•s€íUä±cŒÚ€ÀøÌZ_„}OÀ\ø)F6œª*uE&I‚»Q»™eòêå§.ÅIÜ –aVè7ŒÜYÚÝ=¡I ²ñîúð=lFè~âàŸc.¥í0.|ò½Dþ¡=#‚´ÈOWR>ñÍ>飺¼ å·ƒ5>ÏÝáßzsvCa©½Œº|Ùé€ý:ȲMAaåæ!Îi—;®9®¢,À=Ëœ4ýÔ„ëoýØ~JcÊ-}”Ëîä*tƒx¶tÛˆ|IÛç#B¶¹;wR®|CH`JeÊæüV2ÞGܶ)Ô-X]ÙÀOÄ+-ë%„D…|æUñKn4³z'J0‹YШ`!Oç1Ú«ôšÂø”›t{H’¶ôÚÐœ´žÍ忢ʺ(ú,³n󪨀fgÓÄǺbÅ`^ïô¥…ñ‰t"­+3ADG2Ù°h@2t¦-SH”¦È;Él‡lI‰Ý±Û+ÇÞÓÀ¤¿‡\ÂV>ÈÏ”…(—úkB¤g—•2½Ùô© ÷"”ÇÝUósM¨øb‘Ńwœ45¡*Òº;¼"È_ÚÅ7³™.¨9̘5Éã_½É ¢-O?.–~”dœ³Êµ¼(ÍVh–æd¿K†QØ¿rg‹ f¥Æ?{•¤Ë+Gû~í¢åÚB(^ŸÅ°É¤5ÃeÐi'Øn˜ZwT-N6X·q$6tÌós;,ãÓhùëwÀÄ}ÜïÍ9ÕÞ`ï'˜¹¤ÓdeµUϼ‘©ûD‘ÎÅ©ÑKŽ~B]Åω†ck¿Î¾§Aê—p=këþÂYÑ-ä ˆA•¦ Vf7)ÉÎð‰o:®ýiß œÀh²=Òô¾¯ºôÇO¬ÔÈ>qÝ56²˜Â[¤7pš¼ö¸7}ôí÷K\¶ ÿ{µH×øŸFý¥*•"ïp-ª±ì¯¿­~E1ߎóQêØG -G–ÃP1Zí.ë2çàrÃobr÷W‰ÿžÊ­3ŒÔÂó;}wZ,žxÆžÁ«³}d8èpÍÔ'q5ÀÙUœï…xYÓÌ4Æ,ïý‹õöb¶ç]Áž‘­­De¡NßYÚEµó±ÑÆécpFcŽ††Þ–úv°T¥TGä -~ÿ -g«R-¾ DÚ˜ãµí«Y¶¡Ñ¥ÔχƒŸUG!Òw…g‚hEªÈÓîVò‡zpÀ]çÄvlT´N ÁM â«F+g -Åw‡Ö/Û’²ÍóÈV·óï­E[†ï0¡ ¼Ï/HÞyÇNºœÂëîÙ÷¤:÷´·ÐÕ@BR§üÃÇ—¿½¦¯H¹—J1Û>ÊøÚ™23¬ÄâÖà½.šô;„¦Ô‰ÚçõUqE É¢=›WùÛJŽ<–Ž.åp°¸—‚¦5y“cu’Ái‹à0açÏ þ‹·_ž_>>t,W)qN´~yKW:Ä$·u6ùËË‚b¯A’‹.³ï‡BñÌIR²_Ó¹æ?¢{Ûzhô$ÏU¨„Ž1€Ì÷Å.>­¤û,ã¨lê[8”ä„Nõ¸xô¢^oœñ ÑfñjšqÌu1|¤øô»aK3§MÒ{ç'¤#”K ³¬­Í×6¨»e8ŽE&E´˜î™¼’ã cBl®„A£lhn«`ÿ7SÌ…k¥^ø›f,Àà–!´ª?/ÏüqÍ°а‡ý -ïBC饮» î>kx¥7ÏÙ`Öd"³6‘)Ñͨ…çÿ–‘eWÙ@ýšÓ Â{Å’Dô¬‰ñK'¥% _ü»€3cg º‰¥Ö^ÂñªM‡é×Þêz$«$2˜hl"Ù ªEw öAâŽíÛ6}rF%~Ò§].Fn}yÎœu6¹²;åÜÞ–)bxòµÔù Û³Ž_]HôrzÝ;nýÄÃVßÖŽÛy~¬Yç;M=h>NÞÏ[­b"=ý÷äÐøpM]×8³7‹¨½T©‹þ€¶VZR¬ßs‹Bþ¬èvOÅÏ#"bc$-ì’IÉÇzë¬ú#Z,•6ÆðC ×d†Öºz¥ÅŒŽä¨¦&Ön›0ÌG°H$ôU>ÂV#¡Ú)r'ô,»!ËìD”ÏñeÌQ“ÛÑ€ÆÃÀ1ÿ™Íæ›ßrÛ ÿ{nv~ꮸ­r$*‹é–×q6lâêF¦)Š7‡Ç˜Ö°Á~¦X²¿é^1™ÊY…RË Ó'ìöé/ìRìÌNïfµb¿=<Ž²HžLÕÛÞÏeWÒ’Ûív1 -bj ŒœD‚>Z6«ÐÎ9äå\ ?¤„…_ÕšRZ$P!-s¶ýšˆ¦>e:ÙaÚGlx}çªÉW¥Ó¦æ2”fë(3ö]ÙlÞtü9·IIÀÍ ®"««ëG{mÒ™ƒÈéOúæäOü»S±™‹– ÀÃYí)áÃÂŒ8‘i¾0ï™+I¼ ꎎ/ß|L2ÙT6ÒmŽ±‚÷í”Zš>¦£G»Z _=':w™ïTÌ8¾%îyU¾SŸ~zÝP[morÂÍzjž5ŒóH¨[ƪ0·µ:2ñ%0CäšðÐsÂ'¼I*Q\ÚcúT¢¸ªÆg?\MT]…gVêó›/E¢âzÿKÃdJÃQ×´ÒÚÃS¢«'Qy ›ˆ3VÁòv&Cxxã÷I³V[aèC/r–)CD·tÂIÒÌ ˆøÏ¥™WÎ-•ÌXçÙÀòŒ‘¤³ò¾«Ñz]ÄxA¬m²QÙ0×Þ/­Ü/{|ôt“è+sbHvÐÜ ÞmÕñ'WÞd+æbžWx"d˜Äñf<=ý療Aô+r+ëù[ÚÅ®à/PÝÞé¤ù ^E´Uhº“:®jŽÖf -ÝÏ+‰£ª~j´Tž£J½È™Û“lsÔNu2kAâvmŽ%·bœ÷§¯,9Q4óó´ÅN™• (ü—H\4‹Æ‡hô…ç0t÷ÞÑýu8™87 åSÉ,¯¨Ÿ7ln<ásÃá§pv=ÒF¹¸|‰ô]b([ø:s<¸z,ïÇ•a`ÄLíûV–S%ªݽ}§/;üêªs¹‚Vó­´50¯&o¿F‘Gû(ã“qmêÓÙ ¢W>ªë©ÎÉM•˜ú¶ñóÈ{£É5™]¦ÍUg!Ï¢¶ã‰œãøëöŒÊ°—wù³ ƒùƒL‘ž¹éÏs ñ3 šá…fuŽ_É°÷º£ ¶”Y) qIã O;“¯­ùUp’Ô§V€®ç•fKÁ“øè ýj*rH÷Nî=Öj¦€ˆÍŠsØ£maDãDqî9hµ]Y øß(ÓZÊBj®±ØµRR!³Ñw­ZŠ_ó81“CŠÛK4Üuòß‘ƒÿ …àï誻-O–ŠJ|(™Ú«.Ó<3Én.áj IAÀ~³ìóÈNà ›\|Íøh{8Z†+3!=.CBmoË«¾šx±øYƒ9L†®Bé]#Çi¥•‘"ì{úªˆÙox#J?Æqb(hÕš;Ö¸VÉÙ€-+ü¨ºrÞ¡›Ì}ouroÄ9kºÔBÊvÏp“çßLœŠ™[Ú~xÂQÁÚ?Çp5Âñ§Zz[цû=fN¿G+(Î 襸ç’Júð±‹ÀüqìiOÒ—Fö<¼j …µ6Û¶Ú÷ˆž›¡ƽ_„x7´£˜9\–<ÔÛ7èŸúZæJP(à®RYZhûð˜ÍYÁ^Òñ$Xâä–z¡îøúkóã‹Lßx¹R°R}»L“G'‡ ™¢2ªû™&_j8þoÄGsÁ+i†wfÇn¼]…õ¤ÆF@ùMcìüð)Øs|ä(;íÕ™Á*ÃLPÚk"eΪóøžÁ„°~t¢IcºuT(ºÔ_jªê$î> 1ÉogÉ£f%\æ>WÞXê†W©l0úä™±îDÇg7”” •.ñ݃Lã´AnÉ×c<ªƒ‹Éó D*.xç÷ÉØçÔB÷æ/P¸c)fN#æ¹°cõƒïá!¼M °@)!;©• ‡?1м¸Uˆ~„f_ÚƒVüWr%Ú´4Ùõ WÆÄ¢‹Ë|¥¬­6êmWÔñ÷ÀýÉÔ˜s5ÐsèíÛ*”’´FùÁ~6³Ê¦#÷ì%fÝ×ÿ(…‘ªýrIödŒ{%ÎÀëWaøÔ/³ïUÖ›#­i´ŒBš¥Ë -;„Áôqü ñr ;°‡š8®òÝ‘¬sDpCÊ¡m”U“üìïW²}BFëZ·ªl"9ïkŒj}jôÍ”! q›?ÍYn“;¼n˜V’+Š®¯dK¶ø‡ì¿hâòæÓÚÚw@\]-0xßüfK¥„XË«`j¢É,·XS·Øï%+êdUÙ…ÈõM\ž9bgo c|Yq¢mwÚ9{¨ú¨¸`hkbõþl1Å@Hoðw9 þ\ˆŠI`Ärªë(I\Õù[s%# . -Zu-¯*,&!wd/…¢«j„#¬Bˆ¢2èˆ`Ca­ÐY6Ï(ËaiÊA!qänl⛵A“o­ -ñÍœ’…êu"¡õá•S‚*MO i©î¾µ¡zPجèÒ’tÕäLüß„ê3çdw{Â¥ålBü¹¸¼øCär]¬"´6&Šµf 7!âoÜê¸=ê~>ˆwÇ%—ßìæØîu]áúž`­£ï^c Æòñɶvoúí¦“ò’UÇë;{™”³˜9r0,ae¬ú#Œb¨µ¨œ/³;! ¨9(ª²ŽÖt)wf?Yâ¿ÜÖà•+ÜnN ™{Sö"Ær}–´î!ÁQVÑfD3"ñ=:¸QH´¤ äÉOkçr£„Àð‰uPuà|*cÙ%Q—w§nv  M3â®ætÊpþúW[ÚÔv®[ª^™èÎè—ÊГüýƹDÑÌ穆±÷ODø'ëÐÁ’£[FüIŽB!r¯&ÌHò’ü›» úcï¿M,¿[Âs3®Wç88ô>zˆ·î4l ;¾ma±×Er¬½Zù˜@–JÜœtMA„SQ=Å0‡âX)dòi 8×/ê¡êºW{—|!èþ1Sû©¦%:Uµ?A¹¾ç[ÔÝ:¿mxé•yĪ¥tÊW8)C¸l3= ÉûÀ)ljŒsš?‰2w†ÖÂ>|Vþ)šéxS¼§ÚwtENç¬e?¯‘'öØå}7‘ÕàâªmT“½þÔèTÙÞ{ƒôÞ.K!8ò &_Pa]ÿzefiÏ ÊÞœJln3–âFí«žÔ._r<—žyÂäÎ>?Ï~G)ÇvqìSäþ‹F¥ˆ{3ºnÑFT°Ùž†÷#ãüF7i]ÁçFÂt«ƒeáÒ¼îûz; ø=u%$èjF”P_+ý° °gFèåùÅo©¾ý¾/–3ˆ¿O4AQ2Gõ›Å' -‡‡ÙÙPNƒgâ.Éc皆BΞ½/Íg|Ñt¨&\™]t¿ž//·_¿Ó¼°û Xèpp‡í(”yȧU‘_t@ºëŠ²2Ûß壇¯Ä¤R -×=C.̆F– -CBœ`.äßyÆ Ü™ú ²O†q 4#6½?þ”o0ÕS]DýP|‰ËHŒ–-Ž]à·„Ÿew°]!Z'Cïê¿/H/]qw!%õß6a0pérB›P”¦sî|s¾Èg­õr;xOûŽZÍ?X|<­2¸?LAôõC%…¨¸Õ÷Œ/¶Äѳw†÷ϱÝ–ÏGHï Ze£AÜÊ´¥“~ -jKƒkÓ*¦†A™òZbïðص¡²Ç¬µHݺ(µ'µˆ¿àR•´ý¢¿"”¤éMØJ/TÙãmeÐÿ~ƒ²ñòdϘAÞ÷™ÌáÎgj*?Jà+Öô1/ÎŒárã§ÆqúÏÞXÜά« õV/ZIâ”+Vv½®&ûPûŸYàßu²¸¡šïUÔÇ…­ãŸ¾tyãÂ$­çZ:ˆ£„å8FbK¼^ÒÇ÷öy3ÄGθÀÄúÖ.˜U°t2¥ûTá nL²f±ð†ãŸÆDœúºÓ4ãË/ÁþZxšª -endstream -endobj -2929 0 obj << -/Type /FontDescriptor -/FontName /GSDQUN+CMTT10 -/Flags 4 -/FontBBox [-4 -235 731 800] -/Ascent 611 -/CapHeight 611 -/Descent -222 -/ItalicAngle 0 -/StemV 69 -/XHeight 431 -/CharSet (/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O/P/Q/R/S/T/U/V/W/X/Y/a/b/bar/c/colon/d/e/eight/f/five/four/g/h/hyphen/i/l/m/n/nine/o/one/p/period/plus/quoteleft/quoteright/r/s/seven/six/slash/t/three/two/u/v/w/x/y/zero) -/FontFile 2928 0 R ->> endobj -457 0 obj << -/Type /Font -/Subtype /Type1 -/BaseFont /ZRGIXZ+CMBX10 -/FontDescriptor 2891 0 R -/FirstChar 12 -/LastChar 123 -/Widths 2886 0 R ->> endobj -455 0 obj << -/Type /Font -/Subtype /Type1 -/BaseFont /RZUIOJ+CMBX12 -/FontDescriptor 2893 0 R -/FirstChar 11 -/LastChar 122 -/Widths 2887 0 R ->> endobj -1102 0 obj << -/Type /Font -/Subtype /Type1 -/BaseFont /ZVAJXY+CMBX7 -/FontDescriptor 2895 0 R -/FirstChar 68 -/LastChar 82 -/Widths 2866 0 R ->> endobj -1265 0 obj << -/Type /Font -/Subtype /Type1 -/BaseFont /FAOYOQ+CMBXTI10 -/FontDescriptor 2897 0 R -/FirstChar 48 -/LastChar 116 -/Widths 2865 0 R ->> endobj -673 0 obj << -/Type /Font -/Subtype /Type1 -/BaseFont /KRVUOQ+CMCSC10 -/FontDescriptor 2899 0 R -/FirstChar 67 -/LastChar 121 -/Widths 2877 0 R ->> endobj -667 0 obj << -/Type /Font -/Subtype /Type1 -/BaseFont /UTSOJX+CMEX10 -/FontDescriptor 2901 0 R -/FirstChar 4 -/LastChar 107 -/Widths 2879 0 R ->> endobj -573 0 obj << -/Type /Font -/Subtype /Type1 -/BaseFont /QFSTYE+CMMI10 -/FontDescriptor 2903 0 R -/FirstChar 11 -/LastChar 121 -/Widths 2882 0 R ->> endobj -882 0 obj << -/Type /Font -/Subtype /Type1 -/BaseFont /BMVTZQ+CMMI5 -/FontDescriptor 2905 0 R -/FirstChar 98 -/LastChar 119 -/Widths 2867 0 R ->> endobj -668 0 obj << -/Type /Font -/Subtype /Type1 -/BaseFont /RZPZLV+CMMI7 -/FontDescriptor 2907 0 R -/FirstChar 12 -/LastChar 121 -/Widths 2878 0 R ->> endobj -458 0 obj << -/Type /Font -/Subtype /Type1 -/BaseFont /GPONVW+CMR10 -/FontDescriptor 2909 0 R -/FirstChar 1 -/LastChar 124 -/Widths 2885 0 R ->> endobj -416 0 obj << -/Type /Font -/Subtype /Type1 -/BaseFont /FEVBAK+CMR12 -/FontDescriptor 2911 0 R -/FirstChar 44 -/LastChar 117 -/Widths 2888 0 R ->> endobj -415 0 obj << -/Type /Font -/Subtype /Type1 -/BaseFont /VDCGVD+CMR17 -/FontDescriptor 2913 0 R -/FirstChar 12 -/LastChar 116 -/Widths 2889 0 R ->> endobj -674 0 obj << -/Type /Font -/Subtype /Type1 -/BaseFont /XKDASW+CMR7 -/FontDescriptor 2915 0 R -/FirstChar 48 -/LastChar 117 -/Widths 2876 0 R ->> endobj -507 0 obj << -/Type /Font -/Subtype /Type1 -/BaseFont /FCGMFO+CMSL10 -/FontDescriptor 2917 0 R -/FirstChar 45 -/LastChar 89 -/Widths 2884 0 R ->> endobj -574 0 obj << -/Type /Font -/Subtype /Type1 -/BaseFont /OQJFED+CMSY10 -/FontDescriptor 2919 0 R -/FirstChar 0 -/LastChar 106 -/Widths 2881 0 R ->> endobj -705 0 obj << -/Type /Font -/Subtype /Type1 -/BaseFont /ZQLTBN+CMSY7 -/FontDescriptor 2921 0 R -/FirstChar 0 -/LastChar 48 -/Widths 2868 0 R ->> endobj -508 0 obj << -/Type /Font -/Subtype /Type1 -/BaseFont /BMIMZO+CMTI10 -/FontDescriptor 2923 0 R -/FirstChar 12 -/LastChar 124 -/Widths 2883 0 R ->> endobj -1626 0 obj << -/Type /Font -/Subtype /Type1 -/BaseFont /PGSODC+CMTI12 -/FontDescriptor 2925 0 R -/FirstChar 105 -/LastChar 113 -/Widths 2863 0 R ->> endobj -1276 0 obj << -/Type /Font -/Subtype /Type1 -/BaseFont /OXPTJH+CMTI7 -/FontDescriptor 2927 0 R -/FirstChar 105 -/LastChar 114 -/Widths 2864 0 R ->> endobj -666 0 obj << -/Type /Font -/Subtype /Type1 -/BaseFont /GSDQUN+CMTT10 -/FontDescriptor 2929 0 R -/FirstChar 39 -/LastChar 124 -/Widths 2880 0 R ->> endobj -417 0 obj << -/Type /Pages -/Count 6 -/Parent 2930 0 R -/Kids [410 0 R 419 0 R 453 0 R 505 0 R 538 0 R 542 0 R] ->> endobj -576 0 obj << -/Type /Pages -/Count 6 -/Parent 2930 0 R -/Kids [569 0 R 601 0 R 629 0 R 658 0 R 662 0 R 670 0 R] ->> endobj -680 0 obj << -/Type /Pages -/Count 6 -/Parent 2930 0 R -/Kids [677 0 R 682 0 R 687 0 R 693 0 R 702 0 R 710 0 R] ->> endobj -718 0 obj << -/Type /Pages -/Count 6 -/Parent 2930 0 R -/Kids [715 0 R 720 0 R 726 0 R 732 0 R 746 0 R 757 0 R] ->> endobj -775 0 obj << -/Type /Pages -/Count 6 -/Parent 2930 0 R -/Kids [772 0 R 783 0 R 802 0 R 814 0 R 820 0 R 828 0 R] ->> endobj -841 0 obj << -/Type /Pages -/Count 6 -/Parent 2930 0 R -/Kids [835 0 R 843 0 R 848 0 R 858 0 R 864 0 R 869 0 R] ->> endobj -876 0 obj << -/Type /Pages -/Count 6 -/Parent 2931 0 R -/Kids [873 0 R 878 0 R 889 0 R 905 0 R 918 0 R 929 0 R] ->> endobj -940 0 obj << -/Type /Pages -/Count 6 -/Parent 2931 0 R -/Kids [937 0 R 951 0 R 963 0 R 986 0 R 996 0 R 1024 0 R] ->> endobj -1031 0 obj << -/Type /Pages -/Count 6 -/Parent 2931 0 R -/Kids [1028 0 R 1033 0 R 1037 0 R 1041 0 R 1045 0 R 1049 0 R] ->> endobj -1058 0 obj << -/Type /Pages -/Count 6 -/Parent 2931 0 R -/Kids [1053 0 R 1060 0 R 1073 0 R 1081 0 R 1090 0 R 1112 0 R] ->> endobj -1129 0 obj << -/Type /Pages -/Count 6 -/Parent 2931 0 R -/Kids [1123 0 R 1131 0 R 1149 0 R 1166 0 R 1175 0 R 1182 0 R] ->> endobj -1208 0 obj << -/Type /Pages -/Count 6 -/Parent 2931 0 R -/Kids [1203 0 R 1210 0 R 1233 0 R 1261 0 R 1271 0 R 1281 0 R] ->> endobj -1313 0 obj << -/Type /Pages -/Count 6 -/Parent 2932 0 R -/Kids [1298 0 R 1317 0 R 1332 0 R 1341 0 R 1345 0 R 1355 0 R] ->> endobj -1383 0 obj << -/Type /Pages -/Count 6 -/Parent 2932 0 R -/Kids [1374 0 R 1387 0 R 1404 0 R 1421 0 R 1439 0 R 1451 0 R] ->> endobj -1483 0 obj << -/Type /Pages -/Count 6 -/Parent 2932 0 R -/Kids [1475 0 R 1487 0 R 1498 0 R 1520 0 R 1536 0 R 1541 0 R] ->> endobj -1553 0 obj << -/Type /Pages -/Count 6 -/Parent 2932 0 R -/Kids [1550 0 R 1559 0 R 1583 0 R 1602 0 R 1623 0 R 1635 0 R] ->> endobj -1649 0 obj << -/Type /Pages -/Count 6 -/Parent 2932 0 R -/Kids [1646 0 R 1651 0 R 1658 0 R 1667 0 R 1674 0 R 1699 0 R] ->> endobj -1714 0 obj << -/Type /Pages -/Count 6 -/Parent 2932 0 R -/Kids [1710 0 R 1716 0 R 1748 0 R 1784 0 R 1821 0 R 1856 0 R] ->> endobj -1910 0 obj << -/Type /Pages -/Count 6 -/Parent 2933 0 R -/Kids [1890 0 R 1913 0 R 1922 0 R 1948 0 R 1956 0 R 1967 0 R] ->> endobj -2022 0 obj << -/Type /Pages -/Count 6 -/Parent 2933 0 R -/Kids [1991 0 R 2024 0 R 2039 0 R 2050 0 R 2067 0 R 2083 0 R] ->> endobj -2106 0 obj << -/Type /Pages -/Count 6 -/Parent 2933 0 R -/Kids [2091 0 R 2108 0 R 2126 0 R 2146 0 R 2157 0 R 2171 0 R] ->> endobj -2189 0 obj << -/Type /Pages -/Count 6 -/Parent 2933 0 R -/Kids [2185 0 R 2199 0 R 2218 0 R 2251 0 R 2274 0 R 2295 0 R] ->> endobj -2321 0 obj << -/Type /Pages -/Count 6 -/Parent 2933 0 R -/Kids [2306 0 R 2330 0 R 2355 0 R 2359 0 R 2366 0 R 2375 0 R] ->> endobj -2399 0 obj << -/Type /Pages -/Count 6 -/Parent 2933 0 R -/Kids [2383 0 R 2408 0 R 2431 0 R 2454 0 R 2462 0 R 2480 0 R] ->> endobj -2503 0 obj << -/Type /Pages -/Count 6 -/Parent 2934 0 R -/Kids [2495 0 R 2505 0 R 2516 0 R 2539 0 R 2553 0 R 2558 0 R] ->> endobj -2567 0 obj << -/Type /Pages -/Count 6 -/Parent 2934 0 R -/Kids [2562 0 R 2569 0 R 2582 0 R 2598 0 R 2615 0 R 2621 0 R] ->> endobj -2628 0 obj << -/Type /Pages -/Count 6 -/Parent 2934 0 R -/Kids [2625 0 R 2630 0 R 2645 0 R 2649 0 R 2653 0 R 2657 0 R] ->> endobj -2664 0 obj << -/Type /Pages -/Count 6 -/Parent 2934 0 R -/Kids [2661 0 R 2666 0 R 2670 0 R 2674 0 R 2678 0 R 2682 0 R] ->> endobj -2689 0 obj << -/Type /Pages -/Count 6 -/Parent 2934 0 R -/Kids [2686 0 R 2691 0 R 2695 0 R 2699 0 R 2703 0 R 2707 0 R] ->> endobj -2714 0 obj << -/Type /Pages -/Count 6 -/Parent 2934 0 R -/Kids [2711 0 R 2716 0 R 2720 0 R 2724 0 R 2728 0 R 2732 0 R] ->> endobj -2739 0 obj << -/Type /Pages -/Count 6 -/Parent 2935 0 R -/Kids [2736 0 R 2741 0 R 2745 0 R 2749 0 R 2753 0 R 2757 0 R] ->> endobj -2764 0 obj << -/Type /Pages -/Count 6 -/Parent 2935 0 R -/Kids [2761 0 R 2766 0 R 2770 0 R 2774 0 R 2778 0 R 2782 0 R] ->> endobj -2789 0 obj << -/Type /Pages -/Count 6 -/Parent 2935 0 R -/Kids [2786 0 R 2791 0 R 2795 0 R 2799 0 R 2803 0 R 2807 0 R] ->> endobj -2814 0 obj << -/Type /Pages -/Count 6 -/Parent 2935 0 R -/Kids [2811 0 R 2816 0 R 2820 0 R 2824 0 R 2832 0 R 2839 0 R] ->> endobj -2857 0 obj << -/Type /Pages -/Count 2 -/Parent 2935 0 R -/Kids [2849 0 R 2859 0 R] ->> endobj -2930 0 obj << -/Type /Pages -/Count 36 -/Parent 2936 0 R -/Kids [417 0 R 576 0 R 680 0 R 718 0 R 775 0 R 841 0 R] ->> endobj -2931 0 obj << -/Type /Pages -/Count 36 -/Parent 2936 0 R -/Kids [876 0 R 940 0 R 1031 0 R 1058 0 R 1129 0 R 1208 0 R] ->> endobj -2932 0 obj << -/Type /Pages -/Count 36 -/Parent 2936 0 R -/Kids [1313 0 R 1383 0 R 1483 0 R 1553 0 R 1649 0 R 1714 0 R] ->> endobj -2933 0 obj << -/Type /Pages -/Count 36 -/Parent 2936 0 R -/Kids [1910 0 R 2022 0 R 2106 0 R 2189 0 R 2321 0 R 2399 0 R] ->> endobj -2934 0 obj << -/Type /Pages -/Count 36 -/Parent 2936 0 R -/Kids [2503 0 R 2567 0 R 2628 0 R 2664 0 R 2689 0 R 2714 0 R] ->> endobj -2935 0 obj << -/Type /Pages -/Count 26 -/Parent 2936 0 R -/Kids [2739 0 R 2764 0 R 2789 0 R 2814 0 R 2857 0 R] ->> endobj -2936 0 obj << -/Type /Pages -/Count 206 -/Kids [2930 0 R 2931 0 R 2932 0 R 2933 0 R 2934 0 R 2935 0 R] ->> endobj -2937 0 obj << -/Type /Outlines -/First 7 0 R -/Last 407 0 R -/Count 10 ->> endobj -407 0 obj << -/Title 408 0 R -/A 405 0 R -/Parent 2937 0 R -/Prev 387 0 R ->> endobj -403 0 obj << -/Title 404 0 R -/A 401 0 R -/Parent 387 0 R -/Prev 399 0 R ->> endobj -399 0 obj << -/Title 400 0 R -/A 397 0 R -/Parent 387 0 R -/Prev 395 0 R -/Next 403 0 R ->> endobj -395 0 obj << -/Title 396 0 R -/A 393 0 R -/Parent 387 0 R -/Prev 391 0 R -/Next 399 0 R ->> endobj -391 0 obj << -/Title 392 0 R -/A 389 0 R -/Parent 387 0 R -/Next 395 0 R ->> endobj -387 0 obj << -/Title 388 0 R -/A 385 0 R -/Parent 2937 0 R -/Prev 347 0 R -/Next 407 0 R -/First 391 0 R -/Last 403 0 R -/Count -4 ->> endobj -383 0 obj << -/Title 384 0 R -/A 381 0 R -/Parent 375 0 R -/Prev 379 0 R ->> endobj -379 0 obj << -/Title 380 0 R -/A 377 0 R -/Parent 375 0 R -/Next 383 0 R ->> endobj -375 0 obj << -/Title 376 0 R -/A 373 0 R -/Parent 347 0 R -/Prev 359 0 R -/First 379 0 R -/Last 383 0 R -/Count -2 ->> endobj -371 0 obj << -/Title 372 0 R -/A 369 0 R -/Parent 359 0 R -/Prev 367 0 R ->> endobj -367 0 obj << -/Title 368 0 R -/A 365 0 R -/Parent 359 0 R -/Prev 363 0 R -/Next 371 0 R ->> endobj -363 0 obj << -/Title 364 0 R -/A 361 0 R -/Parent 359 0 R -/Next 367 0 R ->> endobj -359 0 obj << -/Title 360 0 R -/A 357 0 R -/Parent 347 0 R -/Prev 351 0 R -/Next 375 0 R -/First 363 0 R -/Last 371 0 R -/Count -3 ->> endobj -355 0 obj << -/Title 356 0 R -/A 353 0 R -/Parent 351 0 R ->> endobj -351 0 obj << -/Title 352 0 R -/A 349 0 R -/Parent 347 0 R -/Next 359 0 R -/First 355 0 R -/Last 355 0 R -/Count -1 ->> endobj -347 0 obj << -/Title 348 0 R -/A 345 0 R -/Parent 2937 0 R -/Prev 235 0 R -/Next 387 0 R -/First 351 0 R -/Last 375 0 R -/Count -3 ->> endobj -343 0 obj << -/Title 344 0 R -/A 341 0 R -/Parent 235 0 R -/Prev 327 0 R ->> endobj -339 0 obj << -/Title 340 0 R -/A 337 0 R -/Parent 327 0 R -/Prev 335 0 R ->> endobj -335 0 obj << -/Title 336 0 R -/A 333 0 R -/Parent 327 0 R -/Prev 331 0 R -/Next 339 0 R ->> endobj -331 0 obj << -/Title 332 0 R -/A 329 0 R -/Parent 327 0 R -/Next 335 0 R ->> endobj -327 0 obj << -/Title 328 0 R -/A 325 0 R -/Parent 235 0 R -/Prev 307 0 R -/Next 343 0 R -/First 331 0 R -/Last 339 0 R -/Count -3 ->> endobj -323 0 obj << -/Title 324 0 R -/A 321 0 R -/Parent 307 0 R -/Prev 319 0 R ->> endobj -319 0 obj << -/Title 320 0 R -/A 317 0 R -/Parent 307 0 R -/Prev 315 0 R -/Next 323 0 R ->> endobj -315 0 obj << -/Title 316 0 R -/A 313 0 R -/Parent 307 0 R -/Prev 311 0 R -/Next 319 0 R ->> endobj -311 0 obj << -/Title 312 0 R -/A 309 0 R -/Parent 307 0 R -/Next 315 0 R ->> endobj -307 0 obj << -/Title 308 0 R -/A 305 0 R -/Parent 235 0 R -/Prev 295 0 R -/Next 327 0 R -/First 311 0 R -/Last 323 0 R -/Count -4 ->> endobj -303 0 obj << -/Title 304 0 R -/A 301 0 R -/Parent 295 0 R -/Prev 299 0 R ->> endobj -299 0 obj << -/Title 300 0 R -/A 297 0 R -/Parent 295 0 R -/Next 303 0 R ->> endobj -295 0 obj << -/Title 296 0 R -/A 293 0 R -/Parent 235 0 R -/Prev 279 0 R -/Next 307 0 R -/First 299 0 R -/Last 303 0 R -/Count -2 ->> endobj -291 0 obj << -/Title 292 0 R -/A 289 0 R -/Parent 279 0 R -/Prev 287 0 R ->> endobj -287 0 obj << -/Title 288 0 R -/A 285 0 R -/Parent 279 0 R -/Prev 283 0 R -/Next 291 0 R ->> endobj -283 0 obj << -/Title 284 0 R -/A 281 0 R -/Parent 279 0 R -/Next 287 0 R ->> endobj -279 0 obj << -/Title 280 0 R -/A 277 0 R -/Parent 235 0 R -/Prev 275 0 R -/Next 295 0 R -/First 283 0 R -/Last 291 0 R -/Count -3 ->> endobj -275 0 obj << -/Title 276 0 R -/A 273 0 R -/Parent 235 0 R -/Prev 263 0 R -/Next 279 0 R ->> endobj -271 0 obj << -/Title 272 0 R -/A 269 0 R -/Parent 263 0 R -/Prev 267 0 R ->> endobj -267 0 obj << -/Title 268 0 R -/A 265 0 R -/Parent 263 0 R -/Next 271 0 R ->> endobj -263 0 obj << -/Title 264 0 R -/A 261 0 R -/Parent 235 0 R -/Prev 259 0 R -/Next 275 0 R -/First 267 0 R -/Last 271 0 R -/Count -2 ->> endobj -259 0 obj << -/Title 260 0 R -/A 257 0 R -/Parent 235 0 R -/Prev 255 0 R -/Next 263 0 R ->> endobj -255 0 obj << -/Title 256 0 R -/A 253 0 R -/Parent 235 0 R -/Prev 243 0 R -/Next 259 0 R ->> endobj -251 0 obj << -/Title 252 0 R -/A 249 0 R -/Parent 243 0 R -/Prev 247 0 R ->> endobj -247 0 obj << -/Title 248 0 R -/A 245 0 R -/Parent 243 0 R -/Next 251 0 R ->> endobj -243 0 obj << -/Title 244 0 R -/A 241 0 R -/Parent 235 0 R -/Prev 239 0 R -/Next 255 0 R -/First 247 0 R -/Last 251 0 R -/Count -2 ->> endobj -239 0 obj << -/Title 240 0 R -/A 237 0 R -/Parent 235 0 R -/Next 243 0 R ->> endobj -235 0 obj << -/Title 236 0 R -/A 233 0 R -/Parent 2937 0 R -/Prev 183 0 R -/Next 347 0 R -/First 239 0 R -/Last 343 0 R -/Count -11 ->> endobj -231 0 obj << -/Title 232 0 R -/A 229 0 R -/Parent 211 0 R -/Prev 227 0 R ->> endobj -227 0 obj << -/Title 228 0 R -/A 225 0 R -/Parent 211 0 R -/Prev 223 0 R -/Next 231 0 R ->> endobj -223 0 obj << -/Title 224 0 R -/A 221 0 R -/Parent 211 0 R -/Prev 219 0 R -/Next 227 0 R ->> endobj -219 0 obj << -/Title 220 0 R -/A 217 0 R -/Parent 211 0 R -/Prev 215 0 R -/Next 223 0 R ->> endobj -215 0 obj << -/Title 216 0 R -/A 213 0 R -/Parent 211 0 R -/Next 219 0 R ->> endobj -211 0 obj << -/Title 212 0 R -/A 209 0 R -/Parent 183 0 R -/Prev 195 0 R -/First 215 0 R -/Last 231 0 R -/Count -5 ->> endobj -207 0 obj << -/Title 208 0 R -/A 205 0 R -/Parent 195 0 R -/Prev 203 0 R ->> endobj -203 0 obj << -/Title 204 0 R -/A 201 0 R -/Parent 195 0 R -/Prev 199 0 R -/Next 207 0 R ->> endobj -199 0 obj << -/Title 200 0 R -/A 197 0 R -/Parent 195 0 R -/Next 203 0 R ->> endobj -195 0 obj << -/Title 196 0 R -/A 193 0 R -/Parent 183 0 R -/Prev 191 0 R -/Next 211 0 R -/First 199 0 R -/Last 207 0 R -/Count -3 ->> endobj -191 0 obj << -/Title 192 0 R -/A 189 0 R -/Parent 183 0 R -/Prev 187 0 R -/Next 195 0 R ->> endobj -187 0 obj << -/Title 188 0 R -/A 185 0 R -/Parent 183 0 R -/Next 191 0 R ->> endobj -183 0 obj << -/Title 184 0 R -/A 181 0 R -/Parent 2937 0 R -/Prev 139 0 R -/Next 235 0 R -/First 187 0 R -/Last 211 0 R -/Count -4 ->> endobj -179 0 obj << -/Title 180 0 R -/A 177 0 R -/Parent 159 0 R -/Prev 175 0 R ->> endobj -175 0 obj << -/Title 176 0 R -/A 173 0 R -/Parent 159 0 R -/Prev 171 0 R -/Next 179 0 R ->> endobj -171 0 obj << -/Title 172 0 R -/A 169 0 R -/Parent 159 0 R -/Prev 167 0 R -/Next 175 0 R ->> endobj -167 0 obj << -/Title 168 0 R -/A 165 0 R -/Parent 159 0 R -/Prev 163 0 R -/Next 171 0 R ->> endobj -163 0 obj << -/Title 164 0 R -/A 161 0 R -/Parent 159 0 R -/Next 167 0 R ->> endobj -159 0 obj << -/Title 160 0 R -/A 157 0 R -/Parent 139 0 R -/Prev 143 0 R -/First 163 0 R -/Last 179 0 R -/Count -5 ->> endobj -155 0 obj << -/Title 156 0 R -/A 153 0 R -/Parent 143 0 R -/Prev 151 0 R ->> endobj -151 0 obj << -/Title 152 0 R -/A 149 0 R -/Parent 143 0 R -/Prev 147 0 R -/Next 155 0 R ->> endobj -147 0 obj << -/Title 148 0 R -/A 145 0 R -/Parent 143 0 R -/Next 151 0 R ->> endobj -143 0 obj << -/Title 144 0 R -/A 141 0 R -/Parent 139 0 R -/Next 159 0 R -/First 147 0 R -/Last 155 0 R -/Count -3 ->> endobj -139 0 obj << -/Title 140 0 R -/A 137 0 R -/Parent 2937 0 R -/Prev 95 0 R -/Next 183 0 R -/First 143 0 R -/Last 159 0 R -/Count -2 ->> endobj -135 0 obj << -/Title 136 0 R -/A 133 0 R -/Parent 119 0 R -/Prev 131 0 R ->> endobj -131 0 obj << -/Title 132 0 R -/A 129 0 R -/Parent 119 0 R -/Prev 127 0 R -/Next 135 0 R ->> endobj -127 0 obj << -/Title 128 0 R -/A 125 0 R -/Parent 119 0 R -/Prev 123 0 R -/Next 131 0 R ->> endobj -123 0 obj << -/Title 124 0 R -/A 121 0 R -/Parent 119 0 R -/Next 127 0 R ->> endobj -119 0 obj << -/Title 120 0 R -/A 117 0 R -/Parent 95 0 R -/Prev 107 0 R -/First 123 0 R -/Last 135 0 R -/Count -4 ->> endobj -115 0 obj << -/Title 116 0 R -/A 113 0 R -/Parent 107 0 R -/Prev 111 0 R ->> endobj -111 0 obj << -/Title 112 0 R -/A 109 0 R -/Parent 107 0 R -/Next 115 0 R ->> endobj -107 0 obj << -/Title 108 0 R -/A 105 0 R -/Parent 95 0 R -/Prev 103 0 R -/Next 119 0 R -/First 111 0 R -/Last 115 0 R -/Count -2 ->> endobj -103 0 obj << -/Title 104 0 R -/A 101 0 R -/Parent 95 0 R -/Prev 99 0 R -/Next 107 0 R ->> endobj -99 0 obj << -/Title 100 0 R -/A 97 0 R -/Parent 95 0 R -/Next 103 0 R ->> endobj -95 0 obj << -/Title 96 0 R -/A 93 0 R -/Parent 2937 0 R -/Prev 63 0 R -/Next 139 0 R -/First 99 0 R -/Last 119 0 R -/Count -4 ->> endobj -91 0 obj << -/Title 92 0 R -/A 89 0 R -/Parent 83 0 R -/Prev 87 0 R ->> endobj -87 0 obj << -/Title 88 0 R -/A 85 0 R -/Parent 83 0 R -/Next 91 0 R ->> endobj -83 0 obj << -/Title 84 0 R -/A 81 0 R -/Parent 63 0 R -/Prev 67 0 R -/First 87 0 R -/Last 91 0 R -/Count -2 ->> endobj -79 0 obj << -/Title 80 0 R -/A 77 0 R -/Parent 67 0 R -/Prev 75 0 R ->> endobj -75 0 obj << -/Title 76 0 R -/A 73 0 R -/Parent 67 0 R -/Prev 71 0 R -/Next 79 0 R ->> endobj -71 0 obj << -/Title 72 0 R -/A 69 0 R -/Parent 67 0 R -/Next 75 0 R ->> endobj -67 0 obj << -/Title 68 0 R -/A 65 0 R -/Parent 63 0 R -/Next 83 0 R -/First 71 0 R -/Last 79 0 R -/Count -3 ->> endobj -63 0 obj << -/Title 64 0 R -/A 61 0 R -/Parent 2937 0 R -/Prev 35 0 R -/Next 95 0 R -/First 67 0 R -/Last 83 0 R -/Count -2 ->> endobj -59 0 obj << -/Title 60 0 R -/A 57 0 R -/Parent 35 0 R -/Prev 55 0 R ->> endobj -55 0 obj << -/Title 56 0 R -/A 53 0 R -/Parent 35 0 R -/Prev 51 0 R -/Next 59 0 R ->> endobj -51 0 obj << -/Title 52 0 R -/A 49 0 R -/Parent 35 0 R -/Prev 47 0 R -/Next 55 0 R ->> endobj -47 0 obj << -/Title 48 0 R -/A 45 0 R -/Parent 35 0 R -/Prev 43 0 R -/Next 51 0 R ->> endobj -43 0 obj << -/Title 44 0 R -/A 41 0 R -/Parent 35 0 R -/Prev 39 0 R -/Next 47 0 R ->> endobj -39 0 obj << -/Title 40 0 R -/A 37 0 R -/Parent 35 0 R -/Next 43 0 R ->> endobj -35 0 obj << -/Title 36 0 R -/A 33 0 R -/Parent 2937 0 R -/Prev 7 0 R -/Next 63 0 R -/First 39 0 R -/Last 59 0 R -/Count -6 ->> endobj -31 0 obj << -/Title 32 0 R -/A 29 0 R -/Parent 7 0 R -/Prev 27 0 R ->> endobj -27 0 obj << -/Title 28 0 R -/A 25 0 R -/Parent 7 0 R -/Prev 23 0 R -/Next 31 0 R ->> endobj -23 0 obj << -/Title 24 0 R -/A 21 0 R -/Parent 7 0 R -/Prev 19 0 R -/Next 27 0 R ->> endobj -19 0 obj << -/Title 20 0 R -/A 17 0 R -/Parent 7 0 R -/Prev 15 0 R -/Next 23 0 R ->> endobj -15 0 obj << -/Title 16 0 R -/A 13 0 R -/Parent 7 0 R -/Prev 11 0 R -/Next 19 0 R ->> endobj -11 0 obj << -/Title 12 0 R -/A 9 0 R -/Parent 7 0 R -/Next 15 0 R ->> endobj -7 0 obj << -/Title 8 0 R -/A 5 0 R -/Parent 2937 0 R -/Next 35 0 R -/First 11 0 R -/Last 31 0 R -/Count -6 ->> endobj -2938 0 obj << -/Names [(Doc-Start) 414 0 R (Item.1) 1066 0 R (Item.10) 1097 0 R (Item.100) 1321 0 R (Item.101) 1322 0 R (Item.102) 1336 0 R] -/Limits [(Doc-Start) (Item.102)] ->> endobj -2939 0 obj << -/Names [(Item.103) 1337 0 R (Item.104) 1338 0 R (Item.105) 1339 0 R (Item.106) 1358 0 R (Item.107) 1359 0 R (Item.108) 1360 0 R] -/Limits [(Item.103) (Item.108)] ->> endobj -2940 0 obj << -/Names [(Item.109) 1361 0 R (Item.11) 1098 0 R (Item.110) 1362 0 R (Item.111) 1363 0 R (Item.112) 1364 0 R (Item.113) 1365 0 R] -/Limits [(Item.109) (Item.113)] ->> endobj -2941 0 obj << -/Names [(Item.114) 1366 0 R (Item.115) 1367 0 R (Item.116) 1368 0 R (Item.117) 1369 0 R (Item.118) 1370 0 R (Item.119) 1390 0 R] -/Limits [(Item.114) (Item.119)] ->> endobj -2942 0 obj << -/Names [(Item.12) 1099 0 R (Item.120) 1391 0 R (Item.121) 1392 0 R (Item.122) 1393 0 R (Item.123) 1394 0 R (Item.124) 1395 0 R] -/Limits [(Item.12) (Item.124)] ->> endobj -2943 0 obj << -/Names [(Item.125) 1396 0 R (Item.126) 1397 0 R (Item.127) 1398 0 R (Item.128) 1399 0 R (Item.129) 1400 0 R (Item.13) 1100 0 R] -/Limits [(Item.125) (Item.13)] ->> endobj -2944 0 obj << -/Names [(Item.130) 1407 0 R (Item.131) 1408 0 R (Item.132) 1409 0 R (Item.133) 1424 0 R (Item.134) 1425 0 R (Item.135) 1426 0 R] -/Limits [(Item.130) (Item.135)] ->> endobj -2945 0 obj << -/Names [(Item.136) 1427 0 R (Item.137) 1428 0 R (Item.138) 1429 0 R (Item.139) 1430 0 R (Item.14) 1101 0 R (Item.140) 1431 0 R] -/Limits [(Item.136) (Item.140)] ->> endobj -2946 0 obj << -/Names [(Item.141) 1432 0 R (Item.142) 1433 0 R (Item.143) 1434 0 R (Item.144) 1435 0 R (Item.145) 1436 0 R (Item.146) 1454 0 R] -/Limits [(Item.141) (Item.146)] ->> endobj -2947 0 obj << -/Names [(Item.147) 1455 0 R (Item.148) 1456 0 R (Item.149) 1457 0 R (Item.15) 1103 0 R (Item.150) 1458 0 R (Item.151) 1459 0 R] -/Limits [(Item.147) (Item.151)] ->> endobj -2948 0 obj << -/Names [(Item.152) 1460 0 R (Item.153) 1461 0 R (Item.154) 1462 0 R (Item.155) 1463 0 R (Item.156) 1464 0 R (Item.157) 1465 0 R] -/Limits [(Item.152) (Item.157)] ->> endobj -2949 0 obj << -/Names [(Item.158) 1466 0 R (Item.159) 1467 0 R (Item.16) 1104 0 R (Item.160) 1468 0 R (Item.161) 1490 0 R (Item.162) 1491 0 R] -/Limits [(Item.158) (Item.162)] ->> endobj -2950 0 obj << -/Names [(Item.163) 1492 0 R (Item.164) 1493 0 R (Item.165) 1501 0 R (Item.166) 1502 0 R (Item.167) 1503 0 R (Item.168) 1504 0 R] -/Limits [(Item.163) (Item.168)] ->> endobj -2951 0 obj << -/Names [(Item.169) 1505 0 R (Item.17) 1115 0 R (Item.170) 1506 0 R (Item.171) 1507 0 R (Item.172) 1508 0 R (Item.173) 1509 0 R] -/Limits [(Item.169) (Item.173)] ->> endobj -2952 0 obj << -/Names [(Item.174) 1510 0 R (Item.175) 1525 0 R (Item.176) 1526 0 R (Item.177) 1527 0 R (Item.178) 1528 0 R (Item.179) 1529 0 R] -/Limits [(Item.174) (Item.179)] ->> endobj -2953 0 obj << -/Names [(Item.18) 1116 0 R (Item.180) 1530 0 R (Item.181) 1531 0 R (Item.182) 1532 0 R (Item.183) 1533 0 R (Item.184) 1534 0 R] -/Limits [(Item.18) (Item.184)] ->> endobj -2954 0 obj << -/Names [(Item.185) 1562 0 R (Item.186) 1563 0 R (Item.187) 1564 0 R (Item.188) 1565 0 R (Item.189) 1566 0 R (Item.19) 1117 0 R] -/Limits [(Item.185) (Item.19)] ->> endobj -2955 0 obj << -/Names [(Item.190) 1567 0 R (Item.191) 1568 0 R (Item.192) 1569 0 R (Item.193) 1570 0 R (Item.194) 1571 0 R (Item.195) 1572 0 R] -/Limits [(Item.190) (Item.195)] ->> endobj -2956 0 obj << -/Names [(Item.196) 1573 0 R (Item.197) 1574 0 R (Item.198) 1575 0 R (Item.199) 1576 0 R (Item.2) 1067 0 R (Item.20) 1118 0 R] -/Limits [(Item.196) (Item.20)] ->> endobj -2957 0 obj << -/Names [(Item.200) 1577 0 R (Item.201) 1578 0 R (Item.202) 1579 0 R (Item.203) 1580 0 R (Item.204) 1581 0 R (Item.205) 1586 0 R] -/Limits [(Item.200) (Item.205)] ->> endobj -2958 0 obj << -/Names [(Item.206) 1587 0 R (Item.207) 1588 0 R (Item.208) 1589 0 R (Item.209) 1590 0 R (Item.21) 1119 0 R (Item.210) 1591 0 R] -/Limits [(Item.206) (Item.210)] ->> endobj -2959 0 obj << -/Names [(Item.211) 1592 0 R (Item.212) 1593 0 R (Item.213) 1594 0 R (Item.214) 1595 0 R (Item.215) 1596 0 R (Item.216) 1597 0 R] -/Limits [(Item.211) (Item.216)] ->> endobj -2960 0 obj << -/Names [(Item.217) 1598 0 R (Item.218) 1605 0 R (Item.219) 1606 0 R (Item.22) 1120 0 R (Item.220) 1607 0 R (Item.221) 1608 0 R] -/Limits [(Item.217) (Item.221)] ->> endobj -2961 0 obj << -/Names [(Item.222) 1609 0 R (Item.223) 1610 0 R (Item.224) 1611 0 R (Item.225) 1612 0 R (Item.226) 1613 0 R (Item.227) 1614 0 R] -/Limits [(Item.222) (Item.227)] ->> endobj -2962 0 obj << -/Names [(Item.228) 1615 0 R (Item.229) 1616 0 R (Item.23) 1121 0 R (Item.230) 1617 0 R (Item.231) 1618 0 R (Item.232) 1619 0 R] -/Limits [(Item.228) (Item.232)] ->> endobj -2963 0 obj << -/Names [(Item.233) 1620 0 R (Item.234) 1638 0 R (Item.235) 1639 0 R (Item.236) 1640 0 R (Item.237) 1641 0 R (Item.238) 1642 0 R] -/Limits [(Item.233) (Item.238)] ->> endobj -2964 0 obj << -/Names [(Item.239) 1643 0 R (Item.24) 1126 0 R (Item.240) 1677 0 R (Item.241) 1678 0 R (Item.242) 1679 0 R (Item.243) 1680 0 R] -/Limits [(Item.239) (Item.243)] ->> endobj -2965 0 obj << -/Names [(Item.244) 1681 0 R (Item.245) 1682 0 R (Item.246) 1683 0 R (Item.247) 1684 0 R (Item.248) 1685 0 R (Item.249) 1686 0 R] -/Limits [(Item.244) (Item.249)] ->> endobj -2966 0 obj << -/Names [(Item.25) 1127 0 R (Item.250) 1687 0 R (Item.251) 1688 0 R (Item.252) 1689 0 R (Item.253) 1690 0 R (Item.254) 1691 0 R] -/Limits [(Item.25) (Item.254)] ->> endobj -2967 0 obj << -/Names [(Item.255) 1692 0 R (Item.256) 1693 0 R (Item.257) 1694 0 R (Item.258) 1695 0 R (Item.259) 1719 0 R (Item.26) 1139 0 R] -/Limits [(Item.255) (Item.26)] ->> endobj -2968 0 obj << -/Names [(Item.260) 1720 0 R (Item.261) 1721 0 R (Item.262) 1722 0 R (Item.263) 1723 0 R (Item.264) 1724 0 R (Item.265) 1725 0 R] -/Limits [(Item.260) (Item.265)] ->> endobj -2969 0 obj << -/Names [(Item.266) 1726 0 R (Item.267) 1727 0 R (Item.268) 1728 0 R (Item.269) 1729 0 R (Item.27) 1140 0 R (Item.270) 1730 0 R] -/Limits [(Item.266) (Item.270)] ->> endobj -2970 0 obj << -/Names [(Item.271) 1731 0 R (Item.272) 1732 0 R (Item.273) 1733 0 R (Item.274) 1734 0 R (Item.275) 1735 0 R (Item.276) 1736 0 R] -/Limits [(Item.271) (Item.276)] ->> endobj -2971 0 obj << -/Names [(Item.277) 1737 0 R (Item.278) 1738 0 R (Item.279) 1739 0 R (Item.28) 1141 0 R (Item.280) 1740 0 R (Item.281) 1741 0 R] -/Limits [(Item.277) (Item.281)] ->> endobj -2972 0 obj << -/Names [(Item.282) 1742 0 R (Item.283) 1743 0 R (Item.284) 1744 0 R (Item.285) 1745 0 R (Item.286) 1746 0 R (Item.287) 1751 0 R] -/Limits [(Item.282) (Item.287)] ->> endobj -2973 0 obj << -/Names [(Item.288) 1752 0 R (Item.289) 1753 0 R (Item.29) 1142 0 R (Item.290) 1754 0 R (Item.291) 1755 0 R (Item.292) 1756 0 R] -/Limits [(Item.288) (Item.292)] ->> endobj -2974 0 obj << -/Names [(Item.293) 1757 0 R (Item.294) 1758 0 R (Item.295) 1759 0 R (Item.296) 1760 0 R (Item.297) 1761 0 R (Item.298) 1762 0 R] -/Limits [(Item.293) (Item.298)] ->> endobj -2975 0 obj << -/Names [(Item.299) 1763 0 R (Item.3) 1077 0 R (Item.30) 1143 0 R (Item.300) 1764 0 R (Item.301) 1765 0 R (Item.302) 1766 0 R] -/Limits [(Item.299) (Item.302)] ->> endobj -2976 0 obj << -/Names [(Item.303) 1767 0 R (Item.304) 1768 0 R (Item.305) 1769 0 R (Item.306) 1770 0 R (Item.307) 1771 0 R (Item.308) 1772 0 R] -/Limits [(Item.303) (Item.308)] ->> endobj -2977 0 obj << -/Names [(Item.309) 1773 0 R (Item.31) 1157 0 R (Item.310) 1774 0 R (Item.311) 1775 0 R (Item.312) 1776 0 R (Item.313) 1777 0 R] -/Limits [(Item.309) (Item.313)] ->> endobj -2978 0 obj << -/Names [(Item.314) 1778 0 R (Item.315) 1779 0 R (Item.316) 1780 0 R (Item.317) 1781 0 R (Item.318) 1782 0 R (Item.319) 1787 0 R] -/Limits [(Item.314) (Item.319)] ->> endobj -2979 0 obj << -/Names [(Item.32) 1158 0 R (Item.320) 1788 0 R (Item.321) 1789 0 R (Item.322) 1790 0 R (Item.323) 1791 0 R (Item.324) 1792 0 R] -/Limits [(Item.32) (Item.324)] ->> endobj -2980 0 obj << -/Names [(Item.325) 1793 0 R (Item.326) 1794 0 R (Item.327) 1795 0 R (Item.328) 1796 0 R (Item.329) 1797 0 R (Item.33) 1159 0 R] -/Limits [(Item.325) (Item.33)] ->> endobj -2981 0 obj << -/Names [(Item.330) 1798 0 R (Item.331) 1799 0 R (Item.332) 1800 0 R (Item.333) 1801 0 R (Item.334) 1802 0 R (Item.335) 1803 0 R] -/Limits [(Item.330) (Item.335)] ->> endobj -2982 0 obj << -/Names [(Item.336) 1804 0 R (Item.337) 1805 0 R (Item.338) 1806 0 R (Item.339) 1807 0 R (Item.34) 1160 0 R (Item.340) 1808 0 R] -/Limits [(Item.336) (Item.340)] ->> endobj -2983 0 obj << -/Names [(Item.341) 1809 0 R (Item.342) 1810 0 R (Item.343) 1811 0 R (Item.344) 1812 0 R (Item.345) 1813 0 R (Item.346) 1814 0 R] -/Limits [(Item.341) (Item.346)] ->> endobj -2984 0 obj << -/Names [(Item.347) 1815 0 R (Item.348) 1816 0 R (Item.349) 1817 0 R (Item.35) 1161 0 R (Item.350) 1818 0 R (Item.351) 1819 0 R] -/Limits [(Item.347) (Item.351)] ->> endobj -2985 0 obj << -/Names [(Item.352) 1824 0 R (Item.353) 1825 0 R (Item.354) 1826 0 R (Item.355) 1827 0 R (Item.356) 1828 0 R (Item.357) 1829 0 R] -/Limits [(Item.352) (Item.357)] ->> endobj -2986 0 obj << -/Names [(Item.358) 1830 0 R (Item.359) 1831 0 R (Item.36) 1162 0 R (Item.360) 1832 0 R (Item.361) 1833 0 R (Item.362) 1834 0 R] -/Limits [(Item.358) (Item.362)] ->> endobj -2987 0 obj << -/Names [(Item.363) 1835 0 R (Item.364) 1836 0 R (Item.365) 1837 0 R (Item.366) 1838 0 R (Item.367) 1839 0 R (Item.368) 1840 0 R] -/Limits [(Item.363) (Item.368)] ->> endobj -2988 0 obj << -/Names [(Item.369) 1841 0 R (Item.37) 1163 0 R (Item.370) 1842 0 R (Item.371) 1843 0 R (Item.372) 1844 0 R (Item.373) 1845 0 R] -/Limits [(Item.369) (Item.373)] ->> endobj -2989 0 obj << -/Names [(Item.374) 1846 0 R (Item.375) 1847 0 R (Item.376) 1848 0 R (Item.377) 1849 0 R (Item.378) 1850 0 R (Item.379) 1851 0 R] -/Limits [(Item.374) (Item.379)] ->> endobj -2990 0 obj << -/Names [(Item.38) 1169 0 R (Item.380) 1852 0 R (Item.381) 1853 0 R (Item.382) 1854 0 R (Item.383) 1859 0 R (Item.384) 1860 0 R] -/Limits [(Item.38) (Item.384)] ->> endobj -2991 0 obj << -/Names [(Item.385) 1861 0 R (Item.386) 1862 0 R (Item.387) 1863 0 R (Item.388) 1864 0 R (Item.389) 1865 0 R (Item.39) 1170 0 R] -/Limits [(Item.385) (Item.39)] ->> endobj -2992 0 obj << -/Names [(Item.390) 1866 0 R (Item.391) 1867 0 R (Item.392) 1868 0 R (Item.393) 1869 0 R (Item.394) 1870 0 R (Item.395) 1871 0 R] -/Limits [(Item.390) (Item.395)] ->> endobj -2993 0 obj << -/Names [(Item.396) 1872 0 R (Item.397) 1873 0 R (Item.398) 1874 0 R (Item.399) 1875 0 R (Item.4) 1078 0 R (Item.40) 1171 0 R] -/Limits [(Item.396) (Item.40)] ->> endobj -2994 0 obj << -/Names [(Item.400) 1876 0 R (Item.401) 1877 0 R (Item.402) 1878 0 R (Item.403) 1879 0 R (Item.404) 1880 0 R (Item.405) 1881 0 R] -/Limits [(Item.400) (Item.405)] ->> endobj -2995 0 obj << -/Names [(Item.406) 1882 0 R (Item.407) 1883 0 R (Item.408) 1884 0 R (Item.409) 1885 0 R (Item.41) 1189 0 R (Item.410) 1886 0 R] -/Limits [(Item.406) (Item.410)] ->> endobj -2996 0 obj << -/Names [(Item.411) 1887 0 R (Item.412) 1888 0 R (Item.413) 1893 0 R (Item.414) 1894 0 R (Item.415) 1895 0 R (Item.416) 1896 0 R] -/Limits [(Item.411) (Item.416)] ->> endobj -2997 0 obj << -/Names [(Item.417) 1897 0 R (Item.418) 1898 0 R (Item.419) 1899 0 R (Item.42) 1190 0 R (Item.420) 1900 0 R (Item.421) 1901 0 R] -/Limits [(Item.417) (Item.421)] ->> endobj -2998 0 obj << -/Names [(Item.422) 1902 0 R (Item.423) 1903 0 R (Item.424) 1904 0 R (Item.425) 1905 0 R (Item.426) 1906 0 R (Item.427) 1925 0 R] -/Limits [(Item.422) (Item.427)] ->> endobj -2999 0 obj << -/Names [(Item.428) 1926 0 R (Item.429) 1927 0 R (Item.43) 1191 0 R (Item.430) 1928 0 R (Item.431) 1929 0 R (Item.432) 1930 0 R] -/Limits [(Item.428) (Item.432)] ->> endobj -3000 0 obj << -/Names [(Item.433) 1931 0 R (Item.434) 1932 0 R (Item.435) 1933 0 R (Item.436) 1934 0 R (Item.437) 1935 0 R (Item.438) 1936 0 R] -/Limits [(Item.433) (Item.438)] ->> endobj -3001 0 obj << -/Names [(Item.439) 1937 0 R (Item.44) 1213 0 R (Item.440) 1938 0 R (Item.441) 1939 0 R (Item.442) 1940 0 R (Item.443) 1941 0 R] -/Limits [(Item.439) (Item.443)] ->> endobj -3002 0 obj << -/Names [(Item.444) 1942 0 R (Item.445) 1951 0 R (Item.446) 1952 0 R (Item.447) 1970 0 R (Item.448) 1971 0 R (Item.449) 1972 0 R] -/Limits [(Item.444) (Item.449)] ->> endobj -3003 0 obj << -/Names [(Item.45) 1214 0 R (Item.450) 1973 0 R (Item.451) 1974 0 R (Item.452) 1975 0 R (Item.453) 1976 0 R (Item.454) 1977 0 R] -/Limits [(Item.45) (Item.454)] ->> endobj -3004 0 obj << -/Names [(Item.455) 1978 0 R (Item.456) 1979 0 R (Item.457) 1980 0 R (Item.458) 1981 0 R (Item.459) 1982 0 R (Item.46) 1215 0 R] -/Limits [(Item.455) (Item.46)] ->> endobj -3005 0 obj << -/Names [(Item.460) 1983 0 R (Item.461) 1984 0 R (Item.462) 1985 0 R (Item.463) 1986 0 R (Item.464) 1994 0 R (Item.465) 1995 0 R] -/Limits [(Item.460) (Item.465)] ->> endobj -3006 0 obj << -/Names [(Item.466) 1996 0 R (Item.467) 1997 0 R (Item.468) 1998 0 R (Item.469) 1999 0 R (Item.47) 1216 0 R (Item.470) 2000 0 R] -/Limits [(Item.466) (Item.470)] ->> endobj -3007 0 obj << -/Names [(Item.471) 2001 0 R (Item.472) 2002 0 R (Item.473) 2003 0 R (Item.474) 2004 0 R (Item.475) 2005 0 R (Item.476) 2006 0 R] -/Limits [(Item.471) (Item.476)] ->> endobj -3008 0 obj << -/Names [(Item.477) 2007 0 R (Item.478) 2008 0 R (Item.479) 2009 0 R (Item.48) 1217 0 R (Item.480) 2010 0 R (Item.481) 2011 0 R] -/Limits [(Item.477) (Item.481)] ->> endobj -3009 0 obj << -/Names [(Item.482) 2012 0 R (Item.483) 2013 0 R (Item.484) 2014 0 R (Item.485) 2015 0 R (Item.486) 2016 0 R (Item.487) 2017 0 R] -/Limits [(Item.482) (Item.487)] ->> endobj -3010 0 obj << -/Names [(Item.488) 2018 0 R (Item.489) 2019 0 R (Item.49) 1218 0 R (Item.490) 2020 0 R (Item.491) 2021 0 R (Item.492) 2027 0 R] -/Limits [(Item.488) (Item.492)] ->> endobj -3011 0 obj << -/Names [(Item.493) 2028 0 R (Item.494) 2029 0 R (Item.495) 2030 0 R (Item.496) 2031 0 R (Item.497) 2032 0 R (Item.498) 2033 0 R] -/Limits [(Item.493) (Item.498)] ->> endobj -3012 0 obj << -/Names [(Item.499) 2034 0 R (Item.5) 1079 0 R (Item.50) 1219 0 R (Item.500) 2035 0 R (Item.501) 2036 0 R (Item.502) 2053 0 R] -/Limits [(Item.499) (Item.502)] ->> endobj -3013 0 obj << -/Names [(Item.503) 2054 0 R (Item.504) 2055 0 R (Item.505) 2056 0 R (Item.506) 2057 0 R (Item.507) 2058 0 R (Item.508) 2059 0 R] -/Limits [(Item.503) (Item.508)] ->> endobj -3014 0 obj << -/Names [(Item.509) 2060 0 R (Item.51) 1220 0 R (Item.510) 2061 0 R (Item.511) 2062 0 R (Item.512) 2063 0 R (Item.513) 2064 0 R] -/Limits [(Item.509) (Item.513)] ->> endobj -3015 0 obj << -/Names [(Item.514) 2065 0 R (Item.515) 2076 0 R (Item.516) 2077 0 R (Item.517) 2078 0 R (Item.518) 2094 0 R (Item.519) 2095 0 R] -/Limits [(Item.514) (Item.519)] ->> endobj -3016 0 obj << -/Names [(Item.52) 1221 0 R (Item.520) 2096 0 R (Item.521) 2097 0 R (Item.522) 2098 0 R (Item.523) 2099 0 R (Item.524) 2100 0 R] -/Limits [(Item.52) (Item.524)] ->> endobj -3017 0 obj << -/Names [(Item.525) 2101 0 R (Item.526) 2102 0 R (Item.527) 2115 0 R (Item.528) 2116 0 R (Item.529) 2117 0 R (Item.53) 1222 0 R] -/Limits [(Item.525) (Item.53)] ->> endobj -3018 0 obj << -/Names [(Item.530) 2118 0 R (Item.531) 2129 0 R (Item.532) 2130 0 R (Item.533) 2131 0 R (Item.534) 2132 0 R (Item.535) 2133 0 R] -/Limits [(Item.530) (Item.535)] ->> endobj -3019 0 obj << -/Names [(Item.536) 2134 0 R (Item.537) 2135 0 R (Item.538) 2136 0 R (Item.539) 2137 0 R (Item.54) 1223 0 R (Item.540) 2138 0 R] -/Limits [(Item.536) (Item.540)] ->> endobj -3020 0 obj << -/Names [(Item.541) 2139 0 R (Item.542) 2160 0 R (Item.543) 2161 0 R (Item.544) 2162 0 R (Item.545) 2163 0 R (Item.546) 2164 0 R] -/Limits [(Item.541) (Item.546)] ->> endobj -3021 0 obj << -/Names [(Item.547) 2165 0 R (Item.548) 2166 0 R (Item.549) 2167 0 R (Item.55) 1236 0 R (Item.550) 2168 0 R (Item.551) 2169 0 R] -/Limits [(Item.547) (Item.551)] ->> endobj -3022 0 obj << -/Names [(Item.552) 2202 0 R (Item.553) 2203 0 R (Item.554) 2204 0 R (Item.555) 2205 0 R (Item.556) 2206 0 R (Item.557) 2207 0 R] -/Limits [(Item.552) (Item.557)] ->> endobj -3023 0 obj << -/Names [(Item.558) 2208 0 R (Item.559) 2209 0 R (Item.56) 1237 0 R (Item.560) 2210 0 R (Item.561) 2211 0 R (Item.562) 2212 0 R] -/Limits [(Item.558) (Item.562)] ->> endobj -3024 0 obj << -/Names [(Item.563) 2213 0 R (Item.564) 2214 0 R (Item.565) 2215 0 R (Item.566) 2216 0 R (Item.567) 2221 0 R (Item.568) 2222 0 R] -/Limits [(Item.563) (Item.568)] ->> endobj -3025 0 obj << -/Names [(Item.569) 2223 0 R (Item.57) 1238 0 R (Item.570) 2224 0 R (Item.571) 2225 0 R (Item.572) 2226 0 R (Item.573) 2227 0 R] -/Limits [(Item.569) (Item.573)] ->> endobj -3026 0 obj << -/Names [(Item.574) 2228 0 R (Item.575) 2229 0 R (Item.576) 2230 0 R (Item.577) 2231 0 R (Item.578) 2232 0 R (Item.579) 2233 0 R] -/Limits [(Item.574) (Item.579)] ->> endobj -3027 0 obj << -/Names [(Item.58) 1239 0 R (Item.580) 2234 0 R (Item.581) 2235 0 R (Item.582) 2236 0 R (Item.583) 2237 0 R (Item.584) 2238 0 R] -/Limits [(Item.58) (Item.584)] ->> endobj -3028 0 obj << -/Names [(Item.585) 2239 0 R (Item.586) 2240 0 R (Item.587) 2241 0 R (Item.588) 2242 0 R (Item.589) 2243 0 R (Item.59) 1240 0 R] -/Limits [(Item.585) (Item.59)] ->> endobj -3029 0 obj << -/Names [(Item.590) 2244 0 R (Item.591) 2245 0 R (Item.592) 2246 0 R (Item.593) 2254 0 R (Item.594) 2255 0 R (Item.595) 2256 0 R] -/Limits [(Item.590) (Item.595)] ->> endobj -3030 0 obj << -/Names [(Item.596) 2257 0 R (Item.597) 2258 0 R (Item.598) 2259 0 R (Item.599) 2260 0 R (Item.6) 1093 0 R (Item.60) 1241 0 R] -/Limits [(Item.596) (Item.60)] ->> endobj -3031 0 obj << -/Names [(Item.600) 2261 0 R (Item.601) 2262 0 R (Item.602) 2263 0 R (Item.603) 2264 0 R (Item.604) 2265 0 R (Item.605) 2266 0 R] -/Limits [(Item.600) (Item.605)] ->> endobj -3032 0 obj << -/Names [(Item.606) 2267 0 R (Item.607) 2280 0 R (Item.608) 2281 0 R (Item.609) 2282 0 R (Item.61) 1242 0 R (Item.610) 2283 0 R] -/Limits [(Item.606) (Item.610)] ->> endobj -3033 0 obj << -/Names [(Item.611) 2284 0 R (Item.612) 2285 0 R (Item.613) 2286 0 R (Item.614) 2287 0 R (Item.615) 2288 0 R (Item.616) 2289 0 R] -/Limits [(Item.611) (Item.616)] ->> endobj -3034 0 obj << -/Names [(Item.617) 2290 0 R (Item.618) 2291 0 R (Item.619) 2309 0 R (Item.62) 1243 0 R (Item.620) 2310 0 R (Item.621) 2311 0 R] -/Limits [(Item.617) (Item.621)] ->> endobj -3035 0 obj << -/Names [(Item.622) 2312 0 R (Item.623) 2313 0 R (Item.624) 2314 0 R (Item.625) 2315 0 R (Item.626) 2316 0 R (Item.627) 2317 0 R] -/Limits [(Item.622) (Item.627)] ->> endobj -3036 0 obj << -/Names [(Item.628) 2318 0 R (Item.629) 2319 0 R (Item.63) 1244 0 R (Item.630) 2320 0 R (Item.631) 2333 0 R (Item.632) 2334 0 R] -/Limits [(Item.628) (Item.632)] ->> endobj -3037 0 obj << -/Names [(Item.633) 2335 0 R (Item.634) 2336 0 R (Item.635) 2337 0 R (Item.636) 2338 0 R (Item.637) 2339 0 R (Item.638) 2340 0 R] -/Limits [(Item.633) (Item.638)] ->> endobj -3038 0 obj << -/Names [(Item.639) 2341 0 R (Item.64) 1245 0 R (Item.640) 2342 0 R (Item.641) 2343 0 R (Item.642) 2344 0 R (Item.643) 2345 0 R] -/Limits [(Item.639) (Item.643)] ->> endobj -3039 0 obj << -/Names [(Item.644) 2346 0 R (Item.645) 2347 0 R (Item.646) 2348 0 R (Item.647) 2349 0 R (Item.648) 2350 0 R (Item.649) 2351 0 R] -/Limits [(Item.644) (Item.649)] ->> endobj -3040 0 obj << -/Names [(Item.65) 1246 0 R (Item.650) 2386 0 R (Item.651) 2387 0 R (Item.652) 2388 0 R (Item.653) 2389 0 R (Item.654) 2390 0 R] -/Limits [(Item.65) (Item.654)] ->> endobj -3041 0 obj << -/Names [(Item.655) 2391 0 R (Item.656) 2392 0 R (Item.657) 2393 0 R (Item.658) 2394 0 R (Item.659) 2395 0 R (Item.66) 1247 0 R] -/Limits [(Item.655) (Item.66)] ->> endobj -3042 0 obj << -/Names [(Item.660) 2396 0 R (Item.661) 2397 0 R (Item.662) 2398 0 R (Item.663) 2411 0 R (Item.664) 2412 0 R (Item.665) 2413 0 R] -/Limits [(Item.660) (Item.665)] ->> endobj -3043 0 obj << -/Names [(Item.666) 2414 0 R (Item.667) 2415 0 R (Item.668) 2416 0 R (Item.669) 2417 0 R (Item.67) 1248 0 R (Item.670) 2418 0 R] -/Limits [(Item.666) (Item.670)] ->> endobj -3044 0 obj << -/Names [(Item.671) 2419 0 R (Item.672) 2420 0 R (Item.673) 2421 0 R (Item.674) 2422 0 R (Item.675) 2423 0 R (Item.676) 2424 0 R] -/Limits [(Item.671) (Item.676)] ->> endobj -3045 0 obj << -/Names [(Item.677) 2425 0 R (Item.678) 2426 0 R (Item.679) 2427 0 R (Item.68) 1249 0 R (Item.680) 2428 0 R (Item.681) 2434 0 R] -/Limits [(Item.677) (Item.681)] ->> endobj -3046 0 obj << -/Names [(Item.682) 2435 0 R (Item.683) 2436 0 R (Item.684) 2437 0 R (Item.685) 2438 0 R (Item.686) 2439 0 R (Item.687) 2440 0 R] -/Limits [(Item.682) (Item.687)] ->> endobj -3047 0 obj << -/Names [(Item.688) 2441 0 R (Item.689) 2442 0 R (Item.69) 1250 0 R (Item.690) 2443 0 R (Item.691) 2444 0 R (Item.692) 2467 0 R] -/Limits [(Item.688) (Item.692)] ->> endobj -3048 0 obj << -/Names [(Item.693) 2468 0 R (Item.694) 2469 0 R (Item.695) 2470 0 R (Item.696) 2471 0 R (Item.697) 2472 0 R (Item.698) 2473 0 R] -/Limits [(Item.693) (Item.698)] ->> endobj -3049 0 obj << -/Names [(Item.699) 2474 0 R (Item.7) 1094 0 R (Item.70) 1251 0 R (Item.700) 2475 0 R (Item.701) 2476 0 R (Item.702) 2487 0 R] -/Limits [(Item.699) (Item.702)] ->> endobj -3050 0 obj << -/Names [(Item.703) 2488 0 R (Item.704) 2489 0 R (Item.705) 2490 0 R (Item.706) 2491 0 R (Item.707) 2492 0 R (Item.708) 2493 0 R] -/Limits [(Item.703) (Item.708)] ->> endobj -3051 0 obj << -/Names [(Item.709) 2498 0 R (Item.71) 1252 0 R (Item.710) 2499 0 R (Item.711) 2500 0 R (Item.712) 2519 0 R (Item.713) 2520 0 R] -/Limits [(Item.709) (Item.713)] ->> endobj -3052 0 obj << -/Names [(Item.714) 2521 0 R (Item.715) 2522 0 R (Item.716) 2523 0 R (Item.717) 2524 0 R (Item.718) 2525 0 R (Item.719) 2526 0 R] -/Limits [(Item.714) (Item.719)] ->> endobj -3053 0 obj << -/Names [(Item.72) 1253 0 R (Item.720) 2527 0 R (Item.721) 2528 0 R (Item.722) 2529 0 R (Item.723) 2530 0 R (Item.724) 2531 0 R] -/Limits [(Item.72) (Item.724)] ->> endobj -3054 0 obj << -/Names [(Item.725) 2532 0 R (Item.726) 2533 0 R (Item.727) 2542 0 R (Item.728) 2543 0 R (Item.729) 2544 0 R (Item.73) 1254 0 R] -/Limits [(Item.725) (Item.73)] ->> endobj -3055 0 obj << -/Names [(Item.730) 2545 0 R (Item.731) 2546 0 R (Item.732) 2547 0 R (Item.733) 2548 0 R (Item.734) 2549 0 R (Item.735) 2585 0 R] -/Limits [(Item.730) (Item.735)] ->> endobj -3056 0 obj << -/Names [(Item.736) 2586 0 R (Item.737) 2587 0 R (Item.738) 2588 0 R (Item.739) 2589 0 R (Item.74) 1255 0 R (Item.740) 2590 0 R] -/Limits [(Item.736) (Item.740)] ->> endobj -3057 0 obj << -/Names [(Item.741) 2591 0 R (Item.742) 2592 0 R (Item.743) 2593 0 R (Item.744) 2601 0 R (Item.745) 2602 0 R (Item.746) 2603 0 R] -/Limits [(Item.741) (Item.746)] ->> endobj -3058 0 obj << -/Names [(Item.747) 2604 0 R (Item.748) 2605 0 R (Item.749) 2606 0 R (Item.75) 1256 0 R (Item.750) 2607 0 R (Item.751) 2608 0 R] -/Limits [(Item.747) (Item.751)] ->> endobj -3059 0 obj << -/Names [(Item.752) 2609 0 R (Item.753) 2610 0 R (Item.76) 1257 0 R (Item.77) 1275 0 R (Item.78) 1277 0 R (Item.79) 1278 0 R] -/Limits [(Item.752) (Item.79)] ->> endobj -3060 0 obj << -/Names [(Item.8) 1095 0 R (Item.80) 1284 0 R (Item.81) 1285 0 R (Item.82) 1286 0 R (Item.83) 1287 0 R (Item.84) 1288 0 R] -/Limits [(Item.8) (Item.84)] ->> endobj -3061 0 obj << -/Names [(Item.85) 1289 0 R (Item.86) 1290 0 R (Item.87) 1291 0 R (Item.88) 1302 0 R (Item.89) 1303 0 R (Item.9) 1096 0 R] -/Limits [(Item.85) (Item.9)] ->> endobj -3062 0 obj << -/Names [(Item.90) 1304 0 R (Item.91) 1305 0 R (Item.92) 1306 0 R (Item.93) 1307 0 R (Item.94) 1308 0 R (Item.95) 1309 0 R] -/Limits [(Item.90) (Item.95)] ->> endobj -3063 0 obj << -/Names [(Item.96) 1310 0 R (Item.97) 1311 0 R (Item.98) 1312 0 R (Item.99) 1320 0 R (appendix*.139) 2852 0 R (appendix.A) 346 0 R] -/Limits [(Item.96) (appendix.A)] ->> endobj -3064 0 obj << -/Names [(appendix.B) 386 0 R (appendix.C) 406 0 R (chapter*.1) 456 0 R (chapter*.2) 572 0 R (chapter*.3) 632 0 R (chapter*.4) 665 0 R] -/Limits [(appendix.B) (chapter*.4)] ->> endobj -3065 0 obj << -/Names [(chapter*.5) 690 0 R (chapter.1) 6 0 R (chapter.2) 34 0 R (chapter.3) 62 0 R (chapter.4) 94 0 R (chapter.5) 138 0 R] -/Limits [(chapter*.5) (chapter.5)] ->> endobj -3066 0 obj << -/Names [(chapter.6) 182 0 R (chapter.7) 234 0 R (cite.CSF77) 2197 0 R (cite.Mel04) 706 0 R (cite.Poyn97) 932 0 R (cite.rec470) 911 0 R] -/Limits [(chapter.6) (cite.rec470)] ->> endobj -3067 0 obj << -/Names [(cite.rec601) 912 0 R (cite.rec709) 921 0 R (cite.rfc2044) 1173 0 R (cite.rfc2119) 691 0 R (cite.rfc3533) 2618 0 R (cite.smpte170m) 922 0 R] -/Limits [(cite.rec601) (cite.smpte170m)] ->> endobj -3068 0 obj << -/Names [(cite.vorbis) 713 0 R (equation.4.1) 881 0 R (equation.4.10) 895 0 R (equation.4.11) 896 0 R (equation.4.12) 897 0 R (equation.4.13) 898 0 R] -/Limits [(cite.vorbis) (equation.4.13)] ->> endobj -3069 0 obj << -/Names [(equation.4.14) 908 0 R (equation.4.15) 909 0 R (equation.4.16) 910 0 R (equation.4.2) 883 0 R (equation.4.3) 884 0 R (equation.4.4) 885 0 R] -/Limits [(equation.4.14) (equation.4.4)] ->> endobj -3070 0 obj << -/Names [(equation.4.5) 886 0 R (equation.4.6) 887 0 R (equation.4.7) 892 0 R (equation.4.8) 893 0 R (equation.4.9) 894 0 R (figure.2.1) 577 0 R] -/Limits [(equation.4.5) (figure.2.1)] ->> endobj -3071 0 obj << -/Names [(figure.2.2) 578 0 R (figure.2.3) 579 0 R (figure.2.4) 580 0 R (figure.2.5) 581 0 R (figure.2.6) 582 0 R (figure.2.7) 583 0 R] -/Limits [(figure.2.2) (figure.2.7)] ->> endobj -3072 0 obj << -/Names [(figure.2.8) 584 0 R (figure.4.1) 585 0 R (figure.4.2) 586 0 R (figure.4.3) 587 0 R (figure.4.4) 588 0 R (figure.4.5) 589 0 R] -/Limits [(figure.2.8) (figure.4.5)] ->> endobj -3073 0 obj << -/Names [(figure.4.6) 590 0 R (figure.4.7) 591 0 R (figure.6.1) 592 0 R (figure.6.2) 593 0 R (figure.6.3) 594 0 R (figure.6.4) 595 0 R] -/Limits [(figure.4.6) (figure.6.4)] ->> endobj -3074 0 obj << -/Names [(figure.6.5) 596 0 R (figure.7.1) 597 0 R (figure.7.2) 598 0 R (figure.7.3) 599 0 R (page.1) 704 0 R (page.10) 785 0 R] -/Limits [(figure.6.5) (page.10)] ->> endobj -3075 0 obj << -/Names [(page.100) 2026 0 R (page.101) 2041 0 R (page.102) 2052 0 R (page.103) 2069 0 R (page.104) 2085 0 R (page.105) 2093 0 R] -/Limits [(page.100) (page.105)] ->> endobj -3076 0 obj << -/Names [(page.106) 2110 0 R (page.107) 2128 0 R (page.108) 2148 0 R (page.109) 2159 0 R (page.11) 804 0 R (page.110) 2173 0 R] -/Limits [(page.106) (page.110)] ->> endobj -3077 0 obj << -/Names [(page.111) 2187 0 R (page.112) 2201 0 R (page.113) 2220 0 R (page.114) 2253 0 R (page.115) 2276 0 R (page.116) 2297 0 R] -/Limits [(page.111) (page.116)] ->> endobj -3078 0 obj << -/Names [(page.117) 2308 0 R (page.118) 2332 0 R (page.119) 2357 0 R (page.12) 816 0 R (page.120) 2361 0 R (page.121) 2368 0 R] -/Limits [(page.117) (page.121)] ->> endobj -3079 0 obj << -/Names [(page.122) 2377 0 R (page.123) 2385 0 R (page.124) 2410 0 R (page.125) 2433 0 R (page.126) 2456 0 R (page.127) 2464 0 R] -/Limits [(page.122) (page.127)] ->> endobj -3080 0 obj << -/Names [(page.128) 2482 0 R (page.129) 2497 0 R (page.13) 822 0 R (page.130) 2507 0 R (page.131) 2518 0 R (page.132) 2541 0 R] -/Limits [(page.128) (page.132)] ->> endobj -3081 0 obj << -/Names [(page.133) 2555 0 R (page.134) 2560 0 R (page.135) 2564 0 R (page.136) 2571 0 R (page.137) 2584 0 R (page.138) 2600 0 R] -/Limits [(page.133) (page.138)] ->> endobj -3082 0 obj << -/Names [(page.139) 2617 0 R (page.14) 830 0 R (page.140) 2623 0 R (page.141) 2627 0 R (page.142) 2632 0 R (page.143) 2647 0 R] -/Limits [(page.139) (page.143)] ->> endobj -3083 0 obj << -/Names [(page.144) 2651 0 R (page.145) 2655 0 R (page.146) 2659 0 R (page.147) 2663 0 R (page.148) 2668 0 R (page.149) 2672 0 R] -/Limits [(page.144) (page.149)] ->> endobj -3084 0 obj << -/Names [(page.15) 837 0 R (page.150) 2676 0 R (page.151) 2680 0 R (page.152) 2684 0 R (page.153) 2688 0 R (page.154) 2693 0 R] -/Limits [(page.15) (page.154)] ->> endobj -3085 0 obj << -/Names [(page.155) 2697 0 R (page.156) 2701 0 R (page.157) 2705 0 R (page.158) 2709 0 R (page.159) 2713 0 R (page.16) 845 0 R] -/Limits [(page.155) (page.16)] ->> endobj -3086 0 obj << -/Names [(page.160) 2718 0 R (page.161) 2722 0 R (page.162) 2726 0 R (page.163) 2730 0 R (page.164) 2734 0 R (page.165) 2738 0 R] -/Limits [(page.160) (page.165)] ->> endobj -3087 0 obj << -/Names [(page.166) 2743 0 R (page.167) 2747 0 R (page.168) 2751 0 R (page.169) 2755 0 R (page.17) 850 0 R (page.170) 2759 0 R] -/Limits [(page.166) (page.170)] ->> endobj -3088 0 obj << -/Names [(page.171) 2763 0 R (page.172) 2768 0 R (page.173) 2772 0 R (page.174) 2776 0 R (page.175) 2780 0 R (page.176) 2784 0 R] -/Limits [(page.171) (page.176)] ->> endobj -3089 0 obj << -/Names [(page.177) 2788 0 R (page.178) 2793 0 R (page.179) 2797 0 R (page.18) 860 0 R (page.180) 2801 0 R (page.181) 2805 0 R] -/Limits [(page.177) (page.181)] ->> endobj -3090 0 obj << -/Names [(page.182) 2809 0 R (page.183) 2813 0 R (page.184) 2818 0 R (page.185) 2822 0 R (page.186) 2826 0 R (page.187) 2834 0 R] -/Limits [(page.182) (page.187)] ->> endobj -3091 0 obj << -/Names [(page.188) 2841 0 R (page.189) 2851 0 R (page.19) 866 0 R (page.190) 2861 0 R (page.2) 712 0 R (page.20) 871 0 R] -/Limits [(page.188) (page.20)] ->> endobj -3092 0 obj << -/Names [(page.21) 875 0 R (page.22) 880 0 R (page.23) 891 0 R (page.24) 907 0 R (page.25) 920 0 R (page.26) 931 0 R] -/Limits [(page.21) (page.26)] ->> endobj -3093 0 obj << -/Names [(page.27) 939 0 R (page.28) 953 0 R (page.29) 965 0 R (page.3) 717 0 R (page.30) 988 0 R (page.31) 998 0 R] -/Limits [(page.27) (page.31)] ->> endobj -3094 0 obj << -/Names [(page.32) 1026 0 R (page.33) 1030 0 R (page.34) 1035 0 R (page.35) 1039 0 R (page.36) 1043 0 R (page.37) 1047 0 R] -/Limits [(page.32) (page.37)] ->> endobj -3095 0 obj << -/Names [(page.38) 1051 0 R (page.39) 1055 0 R (page.4) 722 0 R (page.40) 1062 0 R (page.41) 1075 0 R (page.42) 1083 0 R] -/Limits [(page.38) (page.42)] ->> endobj -3096 0 obj << -/Names [(page.43) 1092 0 R (page.44) 1114 0 R (page.45) 1125 0 R (page.46) 1133 0 R (page.47) 1151 0 R (page.48) 1168 0 R] -/Limits [(page.43) (page.48)] ->> endobj -3097 0 obj << -/Names [(page.49) 1177 0 R (page.5) 728 0 R (page.50) 1184 0 R (page.51) 1205 0 R (page.52) 1212 0 R (page.53) 1235 0 R] -/Limits [(page.49) (page.53)] ->> endobj -3098 0 obj << -/Names [(page.54) 1263 0 R (page.55) 1273 0 R (page.56) 1283 0 R (page.57) 1300 0 R (page.58) 1319 0 R (page.59) 1334 0 R] -/Limits [(page.54) (page.59)] ->> endobj -3099 0 obj << -/Names [(page.6) 734 0 R (page.60) 1343 0 R (page.61) 1347 0 R (page.62) 1357 0 R (page.63) 1376 0 R (page.64) 1389 0 R] -/Limits [(page.6) (page.64)] ->> endobj -3100 0 obj << -/Names [(page.65) 1406 0 R (page.66) 1423 0 R (page.67) 1441 0 R (page.68) 1453 0 R (page.69) 1477 0 R (page.7) 748 0 R] -/Limits [(page.65) (page.7)] ->> endobj -3101 0 obj << -/Names [(page.70) 1489 0 R (page.71) 1500 0 R (page.72) 1522 0 R (page.73) 1538 0 R (page.74) 1543 0 R (page.75) 1552 0 R] -/Limits [(page.70) (page.75)] ->> endobj -3102 0 obj << -/Names [(page.76) 1561 0 R (page.77) 1585 0 R (page.78) 1604 0 R (page.79) 1625 0 R (page.8) 759 0 R (page.80) 1637 0 R] -/Limits [(page.76) (page.80)] ->> endobj -3103 0 obj << -/Names [(page.81) 1648 0 R (page.82) 1653 0 R (page.83) 1660 0 R (page.84) 1669 0 R (page.85) 1676 0 R (page.86) 1701 0 R] -/Limits [(page.81) (page.86)] ->> endobj -3104 0 obj << -/Names [(page.87) 1712 0 R (page.88) 1718 0 R (page.89) 1750 0 R (page.9) 774 0 R (page.90) 1786 0 R (page.91) 1823 0 R] -/Limits [(page.87) (page.91)] ->> endobj -3105 0 obj << -/Names [(page.92) 1858 0 R (page.93) 1892 0 R (page.94) 1915 0 R (page.95) 1924 0 R (page.96) 1950 0 R (page.97) 1958 0 R] -/Limits [(page.92) (page.97)] ->> endobj -3106 0 obj << -/Names [(page.98) 1969 0 R (page.99) 1993 0 R (page.i) 413 0 R (page.ii) 421 0 R (page.iii) 540 0 R (page.iv) 544 0 R] -/Limits [(page.98) (page.iv)] ->> endobj -3107 0 obj << -/Names [(page.ix) 664 0 R (page.v) 571 0 R (page.vi) 603 0 R (page.vii) 631 0 R (page.viii) 660 0 R (page.x) 672 0 R] -/Limits [(page.ix) (page.x)] ->> endobj -3108 0 obj << -/Names [(page.xi) 679 0 R (page.xii) 684 0 R (page.xiii) 689 0 R (page.xiv) 695 0 R (section*.10) 851 0 R (section*.100) 2079 0 R] -/Limits [(page.xi) (section*.100)] ->> endobj -3109 0 obj << -/Names [(section*.101) 2080 0 R (section*.102) 2086 0 R (section*.103) 2088 0 R (section*.104) 2103 0 R (section*.105) 2104 0 R (section*.106) 2111 0 R] -/Limits [(section*.101) (section*.106)] ->> endobj -3110 0 obj << -/Names [(section*.107) 2113 0 R (section*.108) 2140 0 R (section*.109) 2149 0 R (section*.11) 852 0 R (section*.110) 2151 0 R (section*.111) 2174 0 R] -/Limits [(section*.107) (section*.111)] ->> endobj -3111 0 obj << -/Names [(section*.112) 2175 0 R (section*.113) 2177 0 R (section*.114) 2179 0 R (section*.115) 1943 0 R (section*.116) 2268 0 R (section*.117) 2270 0 R] -/Limits [(section*.112) (section*.117)] ->> endobj -3112 0 obj << -/Names [(section*.118) 2278 0 R (section*.119) 2298 0 R (section*.12) 853 0 R (section*.120) 2299 0 R (section*.121) 2301 0 R (section*.122) 2303 0 R] -/Limits [(section*.118) (section*.122)] ->> endobj -3113 0 obj << -/Names [(section*.123) 2352 0 R (section*.124) 2369 0 R (section*.125) 2371 0 R (section*.126) 2457 0 R (section*.127) 2459 0 R (section*.128) 2465 0 R] -/Limits [(section*.123) (section*.128)] ->> endobj -3114 0 obj << -/Names [(section*.129) 2477 0 R (section*.13) 854 0 R (section*.130) 2483 0 R (section*.131) 2485 0 R (section*.132) 2501 0 R (section*.133) 2508 0 R] -/Limits [(section*.129) (section*.133)] ->> endobj -3115 0 obj << -/Names [(section*.134) 2510 0 R (section*.135) 2550 0 R (section*.136) 2551 0 R (section*.137) 2565 0 R (section*.138) 2572 0 R (section*.14) 855 0 R] -/Limits [(section*.134) (section*.14)] ->> endobj -3116 0 obj << -/Names [(section*.15) 856 0 R (section*.16) 861 0 R (section*.17) 862 0 R (section*.18) 867 0 R (section*.19) 1056 0 R (section*.20) 1057 0 R] -/Limits [(section*.15) (section*.20)] ->> endobj -3117 0 obj << -/Names [(section*.21) 1063 0 R (section*.22) 1065 0 R (section*.23) 1068 0 R (section*.24) 1069 0 R (section*.25) 1076 0 R (section*.26) 1128 0 R] -/Limits [(section*.21) (section*.26)] ->> endobj -3118 0 obj << -/Names [(section*.27) 1134 0 R (section*.28) 1135 0 R (section*.29) 1137 0 R (section*.30) 1152 0 R (section*.31) 1153 0 R (section*.32) 1155 0 R] -/Limits [(section*.27) (section*.32)] ->> endobj -3119 0 obj << -/Names [(section*.33) 1172 0 R (section*.34) 1178 0 R (section*.35) 1185 0 R (section*.36) 1187 0 R (section*.37) 1192 0 R (section*.38) 1193 0 R] -/Limits [(section*.33) (section*.38)] ->> endobj -3120 0 obj << -/Names [(section*.39) 1194 0 R (section*.40) 1206 0 R (section*.41) 1258 0 R (section*.42) 1259 0 R (section*.43) 1266 0 R (section*.44) 1268 0 R] -/Limits [(section*.39) (section*.44)] ->> endobj -3121 0 obj << -/Names [(section*.45) 1292 0 R (section*.46) 1293 0 R (section*.47) 1295 0 R (section*.48) 1323 0 R (section*.49) 1324 0 R (section*.50) 1325 0 R] -/Limits [(section*.45) (section*.50)] ->> endobj -3122 0 obj << -/Names [(section*.51) 1335 0 R (section*.52) 1348 0 R (section*.53) 1349 0 R (section*.54) 1351 0 R (section*.55) 1371 0 R (section*.56) 1377 0 R] -/Limits [(section*.51) (section*.56)] ->> endobj -3123 0 obj << -/Names [(section*.57) 1379 0 R (section*.58) 1381 0 R (section*.59) 1410 0 R (section*.6) 838 0 R (section*.60) 1411 0 R (section*.61) 1413 0 R] -/Limits [(section*.57) (section*.61)] ->> endobj -3124 0 obj << -/Names [(section*.62) 1415 0 R (section*.63) 1437 0 R (section*.64) 1443 0 R (section*.65) 1445 0 R (section*.66) 1469 0 R (section*.67) 1479 0 R] -/Limits [(section*.62) (section*.67)] ->> endobj -3125 0 obj << -/Names [(section*.68) 1481 0 R (section*.69) 1511 0 R (section*.7) 839 0 R (section*.70) 1513 0 R (section*.71) 1523 0 R (section*.72) 1539 0 R] -/Limits [(section*.68) (section*.72)] ->> endobj -3126 0 obj << -/Names [(section*.73) 1545 0 R (section*.74) 1547 0 R (section*.75) 1621 0 R (section*.76) 1627 0 R (section*.77) 1629 0 R (section*.78) 1631 0 R] -/Limits [(section*.73) (section*.78)] ->> endobj -3127 0 obj << -/Names [(section*.79) 1644 0 R (section*.8) 840 0 R (section*.80) 1661 0 R (section*.81) 1663 0 R (section*.82) 1671 0 R (section*.83) 1696 0 R] -/Limits [(section*.79) (section*.83)] ->> endobj -3128 0 obj << -/Names [(section*.84) 1697 0 R (section*.85) 1703 0 R (section*.86) 1705 0 R (section*.87) 1907 0 R (section*.88) 1909 0 R (section*.89) 1917 0 R] -/Limits [(section*.84) (section*.89)] ->> endobj -3129 0 obj << -/Names [(section*.9) 846 0 R (section*.90) 1953 0 R (section*.91) 1959 0 R (section*.92) 1961 0 R (section*.93) 2037 0 R (section*.94) 2043 0 R] -/Limits [(section*.9) (section*.94)] ->> endobj -3130 0 obj << -/Names [(section*.95) 2045 0 R (section*.96) 2070 0 R (section*.97) 2071 0 R (section*.98) 2072 0 R (section*.99) 2074 0 R (section.1.1) 10 0 R] -/Limits [(section*.95) (section.1.1)] ->> endobj -3131 0 obj << -/Names [(section.1.2) 14 0 R (section.1.3) 18 0 R (section.1.4) 22 0 R (section.1.5) 26 0 R (section.1.6) 30 0 R (section.2.1) 38 0 R] -/Limits [(section.1.2) (section.2.1)] ->> endobj -3132 0 obj << -/Names [(section.2.2) 42 0 R (section.2.3) 46 0 R (section.2.4) 50 0 R (section.2.5) 54 0 R (section.2.6) 58 0 R (section.3.1) 66 0 R] -/Limits [(section.2.2) (section.3.1)] ->> endobj -3133 0 obj << -/Names [(section.3.2) 82 0 R (section.4.1) 98 0 R (section.4.2) 102 0 R (section.4.3) 106 0 R (section.4.4) 118 0 R (section.5.1) 142 0 R] -/Limits [(section.3.2) (section.5.1)] ->> endobj -3134 0 obj << -/Names [(section.5.2) 158 0 R (section.6.1) 186 0 R (section.6.2) 190 0 R (section.6.3) 194 0 R (section.6.4) 210 0 R (section.7.1) 238 0 R] -/Limits [(section.5.2) (section.7.1)] ->> endobj -3135 0 obj << -/Names [(section.7.10) 326 0 R (section.7.11) 342 0 R (section.7.2) 242 0 R (section.7.3) 254 0 R (section.7.4) 258 0 R (section.7.5) 262 0 R] -/Limits [(section.7.10) (section.7.5)] ->> endobj -3136 0 obj << -/Names [(section.7.6) 274 0 R (section.7.7) 278 0 R (section.7.8) 294 0 R (section.7.9) 306 0 R (section.A.1) 350 0 R (section.A.2) 358 0 R] -/Limits [(section.7.6) (section.A.2)] ->> endobj -3137 0 obj << -/Names [(section.A.3) 374 0 R (section.B.1) 390 0 R (section.B.2) 394 0 R (section.B.3) 398 0 R (section.B.4) 402 0 R (subsection.3.1.1) 70 0 R] -/Limits [(section.A.3) (subsection.3.1.1)] ->> endobj -3138 0 obj << -/Names [(subsection.3.1.2) 74 0 R (subsection.3.1.3) 78 0 R (subsection.3.2.1) 86 0 R (subsection.3.2.2) 90 0 R (subsection.4.3.1) 110 0 R (subsection.4.3.2) 114 0 R] -/Limits [(subsection.3.1.2) (subsection.4.3.2)] ->> endobj -3139 0 obj << -/Names [(subsection.4.4.1) 122 0 R (subsection.4.4.2) 126 0 R (subsection.4.4.3) 130 0 R (subsection.4.4.4) 134 0 R (subsection.5.1.1) 146 0 R (subsection.5.1.2) 150 0 R] -/Limits [(subsection.4.4.1) (subsection.5.1.2)] ->> endobj -3140 0 obj << -/Names [(subsection.5.1.3) 154 0 R (subsection.5.2.1) 162 0 R (subsection.5.2.2) 166 0 R (subsection.5.2.3) 170 0 R (subsection.5.2.4) 174 0 R (subsection.5.2.5) 178 0 R] -/Limits [(subsection.5.1.3) (subsection.5.2.5)] ->> endobj -3141 0 obj << -/Names [(subsection.6.3.1) 198 0 R (subsection.6.3.2) 202 0 R (subsection.6.3.3) 206 0 R (subsection.6.4.1) 214 0 R (subsection.6.4.2) 218 0 R (subsection.6.4.3) 222 0 R] -/Limits [(subsection.6.3.1) (subsection.6.4.3)] ->> endobj -3142 0 obj << -/Names [(subsection.6.4.4) 226 0 R (subsection.6.4.5) 230 0 R (subsection.7.10.1) 330 0 R (subsection.7.10.2) 334 0 R (subsection.7.10.3) 338 0 R (subsection.7.2.1) 246 0 R] -/Limits [(subsection.6.4.4) (subsection.7.2.1)] ->> endobj -3143 0 obj << -/Names [(subsection.7.2.2) 250 0 R (subsection.7.5.1) 266 0 R (subsection.7.5.2) 270 0 R (subsection.7.7.1) 282 0 R (subsection.7.7.2) 286 0 R (subsection.7.7.3) 290 0 R] -/Limits [(subsection.7.2.2) (subsection.7.7.3)] ->> endobj -3144 0 obj << -/Names [(subsection.7.8.1) 298 0 R (subsection.7.8.2) 302 0 R (subsection.7.9.1) 310 0 R (subsection.7.9.2) 314 0 R (subsection.7.9.3) 318 0 R (subsection.7.9.4) 322 0 R] -/Limits [(subsection.7.8.1) (subsection.7.9.4)] ->> endobj -3145 0 obj << -/Names [(subsection.A.1.1) 354 0 R (subsection.A.2.1) 362 0 R (subsection.A.2.2) 366 0 R (subsection.A.2.3) 370 0 R (subsection.A.3.1) 378 0 R (subsection.A.3.2) 382 0 R] -/Limits [(subsection.A.1.1) (subsection.A.3.2)] ->> endobj -3146 0 obj << -/Names [(table.2.1) 633 0 R (table.3.1) 634 0 R (table.4.1) 635 0 R (table.4.2) 636 0 R (table.6.1) 1064 0 R (table.6.10) 1156 0 R] -/Limits [(table.2.1) (table.6.10)] ->> endobj -3147 0 obj << -/Names [(table.6.11) 1186 0 R (table.6.12) 1188 0 R (table.6.13) 1195 0 R (table.6.14) 1207 0 R (table.6.15) 1264 0 R (table.6.16) 1267 0 R] -/Limits [(table.6.11) (table.6.16)] ->> endobj -3148 0 obj << -/Names [(table.6.17) 1274 0 R (table.6.18) 641 0 R (table.6.19) 1294 0 R (table.6.2) 1070 0 R (table.6.20) 1301 0 R (table.6.21) 1326 0 R] -/Limits [(table.6.17) (table.6.21)] ->> endobj -3149 0 obj << -/Names [(table.6.3) 637 0 R (table.6.4) 638 0 R (table.6.5) 639 0 R (table.6.6) 640 0 R (table.6.7) 1136 0 R (table.6.8) 1138 0 R] -/Limits [(table.6.3) (table.6.8)] ->> endobj -3150 0 obj << -/Names [(table.6.9) 1154 0 R (table.7.1) 1350 0 R (table.7.10) 1416 0 R (table.7.11) 644 0 R (table.7.12) 1442 0 R (table.7.13) 1444 0 R] -/Limits [(table.6.9) (table.7.13)] ->> endobj -3151 0 obj << -/Names [(table.7.14) 1446 0 R (table.7.15) 1478 0 R (table.7.16) 1480 0 R (table.7.17) 1482 0 R (table.7.18) 645 0 R (table.7.19) 646 0 R] -/Limits [(table.7.14) (table.7.19)] ->> endobj -3152 0 obj << -/Names [(table.7.2) 1352 0 R (table.7.20) 1512 0 R (table.7.21) 1514 0 R (table.7.22) 1524 0 R (table.7.23) 647 0 R (table.7.24) 1544 0 R] -/Limits [(table.7.2) (table.7.24)] ->> endobj -3153 0 obj << -/Names [(table.7.25) 1546 0 R (table.7.26) 1548 0 R (table.7.27) 1628 0 R (table.7.28) 1630 0 R (table.7.29) 1632 0 R (table.7.3) 642 0 R] -/Limits [(table.7.25) (table.7.3)] ->> endobj -3154 0 obj << -/Names [(table.7.30) 1662 0 R (table.7.31) 1670 0 R (table.7.32) 1672 0 R (table.7.33) 648 0 R (table.7.34) 1702 0 R (table.7.35) 1704 0 R] -/Limits [(table.7.30) (table.7.35)] ->> endobj -3155 0 obj << -/Names [(table.7.36) 1706 0 R (table.7.37) 1713 0 R (table.7.38) 649 0 R (table.7.39) 1908 0 R (table.7.4) 1378 0 R (table.7.40) 1916 0 R] -/Limits [(table.7.36) (table.7.40)] ->> endobj -3156 0 obj << -/Names [(table.7.41) 1918 0 R (table.7.42) 650 0 R (table.7.43) 1954 0 R (table.7.44) 1960 0 R (table.7.45) 1962 0 R (table.7.46) 651 0 R] -/Limits [(table.7.41) (table.7.46)] ->> endobj -3157 0 obj << -/Names [(table.7.47) 652 0 R (table.7.48) 2042 0 R (table.7.49) 2044 0 R (table.7.5) 1380 0 R (table.7.50) 2046 0 R (table.7.51) 2073 0 R] -/Limits [(table.7.47) (table.7.51)] ->> endobj -3158 0 obj << -/Names [(table.7.52) 2075 0 R (table.7.53) 2081 0 R (table.7.54) 2087 0 R (table.7.55) 2089 0 R (table.7.56) 2105 0 R (table.7.57) 2112 0 R] -/Limits [(table.7.52) (table.7.57)] ->> endobj -3159 0 obj << -/Names [(table.7.58) 2114 0 R (table.7.59) 2141 0 R (table.7.6) 1382 0 R (table.7.60) 2150 0 R (table.7.61) 2152 0 R (table.7.62) 2176 0 R] -/Limits [(table.7.58) (table.7.62)] ->> endobj -3160 0 obj << -/Names [(table.7.63) 2178 0 R (table.7.64) 2188 0 R (table.7.65) 653 0 R (table.7.66) 2269 0 R (table.7.67) 2277 0 R (table.7.68) 2279 0 R] -/Limits [(table.7.63) (table.7.68)] ->> endobj -3161 0 obj << -/Names [(table.7.69) 2300 0 R (table.7.7) 643 0 R (table.7.70) 2302 0 R (table.7.71) 2304 0 R (table.7.72) 2353 0 R (table.7.73) 2370 0 R] -/Limits [(table.7.69) (table.7.73)] ->> endobj -3162 0 obj << -/Names [(table.7.74) 2372 0 R (table.7.75) 654 0 R (table.7.76) 2458 0 R (table.7.77) 2460 0 R (table.7.78) 2466 0 R (table.7.79) 2478 0 R] -/Limits [(table.7.74) (table.7.79)] ->> endobj -3163 0 obj << -/Names [(table.7.8) 1412 0 R (table.7.80) 2484 0 R (table.7.81) 2486 0 R (table.7.82) 2502 0 R (table.7.83) 2509 0 R (table.7.84) 2511 0 R] -/Limits [(table.7.8) (table.7.84)] ->> endobj -3164 0 obj << -/Names [(table.7.85) 655 0 R (table.7.86) 2556 0 R (table.7.87) 2566 0 R (table.7.88) 2573 0 R (table.7.89) 656 0 R (table.7.9) 1414 0 R] -/Limits [(table.7.85) (table.7.9)] ->> endobj -3165 0 obj << -/Kids [2938 0 R 2939 0 R 2940 0 R 2941 0 R 2942 0 R 2943 0 R] -/Limits [(Doc-Start) (Item.13)] ->> endobj -3166 0 obj << -/Kids [2944 0 R 2945 0 R 2946 0 R 2947 0 R 2948 0 R 2949 0 R] -/Limits [(Item.130) (Item.162)] ->> endobj -3167 0 obj << -/Kids [2950 0 R 2951 0 R 2952 0 R 2953 0 R 2954 0 R 2955 0 R] -/Limits [(Item.163) (Item.195)] ->> endobj -3168 0 obj << -/Kids [2956 0 R 2957 0 R 2958 0 R 2959 0 R 2960 0 R 2961 0 R] -/Limits [(Item.196) (Item.227)] ->> endobj -3169 0 obj << -/Kids [2962 0 R 2963 0 R 2964 0 R 2965 0 R 2966 0 R 2967 0 R] -/Limits [(Item.228) (Item.26)] ->> endobj -3170 0 obj << -/Kids [2968 0 R 2969 0 R 2970 0 R 2971 0 R 2972 0 R 2973 0 R] -/Limits [(Item.260) (Item.292)] ->> endobj -3171 0 obj << -/Kids [2974 0 R 2975 0 R 2976 0 R 2977 0 R 2978 0 R 2979 0 R] -/Limits [(Item.293) (Item.324)] ->> endobj -3172 0 obj << -/Kids [2980 0 R 2981 0 R 2982 0 R 2983 0 R 2984 0 R 2985 0 R] -/Limits [(Item.325) (Item.357)] ->> endobj -3173 0 obj << -/Kids [2986 0 R 2987 0 R 2988 0 R 2989 0 R 2990 0 R 2991 0 R] -/Limits [(Item.358) (Item.39)] ->> endobj -3174 0 obj << -/Kids [2992 0 R 2993 0 R 2994 0 R 2995 0 R 2996 0 R 2997 0 R] -/Limits [(Item.390) (Item.421)] ->> endobj -3175 0 obj << -/Kids [2998 0 R 2999 0 R 3000 0 R 3001 0 R 3002 0 R 3003 0 R] -/Limits [(Item.422) (Item.454)] ->> endobj -3176 0 obj << -/Kids [3004 0 R 3005 0 R 3006 0 R 3007 0 R 3008 0 R 3009 0 R] -/Limits [(Item.455) (Item.487)] ->> endobj -3177 0 obj << -/Kids [3010 0 R 3011 0 R 3012 0 R 3013 0 R 3014 0 R 3015 0 R] -/Limits [(Item.488) (Item.519)] ->> endobj -3178 0 obj << -/Kids [3016 0 R 3017 0 R 3018 0 R 3019 0 R 3020 0 R 3021 0 R] -/Limits [(Item.52) (Item.551)] ->> endobj -3179 0 obj << -/Kids [3022 0 R 3023 0 R 3024 0 R 3025 0 R 3026 0 R 3027 0 R] -/Limits [(Item.552) (Item.584)] ->> endobj -3180 0 obj << -/Kids [3028 0 R 3029 0 R 3030 0 R 3031 0 R 3032 0 R 3033 0 R] -/Limits [(Item.585) (Item.616)] ->> endobj -3181 0 obj << -/Kids [3034 0 R 3035 0 R 3036 0 R 3037 0 R 3038 0 R 3039 0 R] -/Limits [(Item.617) (Item.649)] ->> endobj -3182 0 obj << -/Kids [3040 0 R 3041 0 R 3042 0 R 3043 0 R 3044 0 R 3045 0 R] -/Limits [(Item.65) (Item.681)] ->> endobj -3183 0 obj << -/Kids [3046 0 R 3047 0 R 3048 0 R 3049 0 R 3050 0 R 3051 0 R] -/Limits [(Item.682) (Item.713)] ->> endobj -3184 0 obj << -/Kids [3052 0 R 3053 0 R 3054 0 R 3055 0 R 3056 0 R 3057 0 R] -/Limits [(Item.714) (Item.746)] ->> endobj -3185 0 obj << -/Kids [3058 0 R 3059 0 R 3060 0 R 3061 0 R 3062 0 R 3063 0 R] -/Limits [(Item.747) (appendix.A)] ->> endobj -3186 0 obj << -/Kids [3064 0 R 3065 0 R 3066 0 R 3067 0 R 3068 0 R 3069 0 R] -/Limits [(appendix.B) (equation.4.4)] ->> endobj -3187 0 obj << -/Kids [3070 0 R 3071 0 R 3072 0 R 3073 0 R 3074 0 R 3075 0 R] -/Limits [(equation.4.5) (page.105)] ->> endobj -3188 0 obj << -/Kids [3076 0 R 3077 0 R 3078 0 R 3079 0 R 3080 0 R 3081 0 R] -/Limits [(page.106) (page.138)] ->> endobj -3189 0 obj << -/Kids [3082 0 R 3083 0 R 3084 0 R 3085 0 R 3086 0 R 3087 0 R] -/Limits [(page.139) (page.170)] ->> endobj -3190 0 obj << -/Kids [3088 0 R 3089 0 R 3090 0 R 3091 0 R 3092 0 R 3093 0 R] -/Limits [(page.171) (page.31)] ->> endobj -3191 0 obj << -/Kids [3094 0 R 3095 0 R 3096 0 R 3097 0 R 3098 0 R 3099 0 R] -/Limits [(page.32) (page.64)] ->> endobj -3192 0 obj << -/Kids [3100 0 R 3101 0 R 3102 0 R 3103 0 R 3104 0 R 3105 0 R] -/Limits [(page.65) (page.97)] ->> endobj -3193 0 obj << -/Kids [3106 0 R 3107 0 R 3108 0 R 3109 0 R 3110 0 R 3111 0 R] -/Limits [(page.98) (section*.117)] ->> endobj -3194 0 obj << -/Kids [3112 0 R 3113 0 R 3114 0 R 3115 0 R 3116 0 R 3117 0 R] -/Limits [(section*.118) (section*.26)] ->> endobj -3195 0 obj << -/Kids [3118 0 R 3119 0 R 3120 0 R 3121 0 R 3122 0 R 3123 0 R] -/Limits [(section*.27) (section*.61)] ->> endobj -3196 0 obj << -/Kids [3124 0 R 3125 0 R 3126 0 R 3127 0 R 3128 0 R 3129 0 R] -/Limits [(section*.62) (section*.94)] ->> endobj -3197 0 obj << -/Kids [3130 0 R 3131 0 R 3132 0 R 3133 0 R 3134 0 R 3135 0 R] -/Limits [(section*.95) (section.7.5)] ->> endobj -3198 0 obj << -/Kids [3136 0 R 3137 0 R 3138 0 R 3139 0 R 3140 0 R 3141 0 R] -/Limits [(section.7.6) (subsection.6.4.3)] ->> endobj -3199 0 obj << -/Kids [3142 0 R 3143 0 R 3144 0 R 3145 0 R 3146 0 R 3147 0 R] -/Limits [(subsection.6.4.4) (table.6.16)] ->> endobj -3200 0 obj << -/Kids [3148 0 R 3149 0 R 3150 0 R 3151 0 R 3152 0 R 3153 0 R] -/Limits [(table.6.17) (table.7.3)] ->> endobj -3201 0 obj << -/Kids [3154 0 R 3155 0 R 3156 0 R 3157 0 R 3158 0 R 3159 0 R] -/Limits [(table.7.30) (table.7.62)] ->> endobj -3202 0 obj << -/Kids [3160 0 R 3161 0 R 3162 0 R 3163 0 R 3164 0 R] -/Limits [(table.7.63) (table.7.9)] ->> endobj -3203 0 obj << -/Kids [3165 0 R 3166 0 R 3167 0 R 3168 0 R 3169 0 R 3170 0 R] -/Limits [(Doc-Start) (Item.292)] ->> endobj -3204 0 obj << -/Kids [3171 0 R 3172 0 R 3173 0 R 3174 0 R 3175 0 R 3176 0 R] -/Limits [(Item.293) (Item.487)] ->> endobj -3205 0 obj << -/Kids [3177 0 R 3178 0 R 3179 0 R 3180 0 R 3181 0 R 3182 0 R] -/Limits [(Item.488) (Item.681)] ->> endobj -3206 0 obj << -/Kids [3183 0 R 3184 0 R 3185 0 R 3186 0 R 3187 0 R 3188 0 R] -/Limits [(Item.682) (page.138)] ->> endobj -3207 0 obj << -/Kids [3189 0 R 3190 0 R 3191 0 R 3192 0 R 3193 0 R 3194 0 R] -/Limits [(page.139) (section*.26)] ->> endobj -3208 0 obj << -/Kids [3195 0 R 3196 0 R 3197 0 R 3198 0 R 3199 0 R 3200 0 R] -/Limits [(section*.27) (table.7.3)] ->> endobj -3209 0 obj << -/Kids [3201 0 R 3202 0 R] -/Limits [(table.7.30) (table.7.9)] ->> endobj -3210 0 obj << -/Kids [3203 0 R 3204 0 R 3205 0 R 3206 0 R 3207 0 R 3208 0 R] -/Limits [(Doc-Start) (table.7.3)] ->> endobj -3211 0 obj << -/Kids [3209 0 R] -/Limits [(table.7.30) (table.7.9)] ->> endobj -3212 0 obj << -/Kids [3210 0 R 3211 0 R] -/Limits [(Doc-Start) (table.7.9)] ->> endobj -3213 0 obj << -/Dests 3212 0 R ->> endobj -3214 0 obj << -/Type /Catalog -/Pages 2936 0 R -/Outlines 2937 0 R -/Names 3213 0 R -/PageMode/None/PageLabels << /Nums [0 << /S /r >> 2 << /S /r >> 16 << /S /D >> ] >> -/OpenAction 409 0 R ->> endobj -3215 0 obj << -/Author()/Title()/Subject()/Creator(LaTeX with hyperref package)/Producer(pdfTeX-1.40.3)/Keywords() -/CreationDate (D:20090924115430-07'00') -/ModDate (D:20090924115430-07'00') -/Trapped /False -/PTEX.Fullbanner (This is pdfTeX using libpoppler, Version 3.141592-1.40.3-2.2 (Web2C 7.5.6) kpathsea version 3.5.6) ->> endobj -xref -0 3216 -0000000001 65535 f -0000000002 00000 f -0000000003 00000 f -0000000004 00000 f -0000001196 00000 f -0000000015 00000 n -0000055298 00000 n -0000733811 00000 n -0000000060 00000 n -0000000090 00000 n -0000055346 00000 n -0000733739 00000 n -0000000137 00000 n -0000000170 00000 n -0000055394 00000 n -0000733653 00000 n -0000000218 00000 n -0000000250 00000 n -0000058495 00000 n -0000733567 00000 n -0000000298 00000 n -0000000331 00000 n -0000058544 00000 n -0000733481 00000 n -0000000379 00000 n -0000000409 00000 n -0000058593 00000 n -0000733395 00000 n -0000000457 00000 n -0000000509 00000 n -0000060973 00000 n -0000733322 00000 n -0000000557 00000 n -0000000594 00000 n -0000063607 00000 n -0000733197 00000 n -0000000640 00000 n -0000000680 00000 n -0000063656 00000 n -0000733123 00000 n -0000000728 00000 n -0000000759 00000 n -0000070936 00000 n -0000733036 00000 n -0000000807 00000 n -0000000840 00000 n -0000077512 00000 n -0000732949 00000 n -0000000888 00000 n -0000000930 00000 n -0000089546 00000 n -0000732862 00000 n -0000000978 00000 n -0000001009 00000 n -0000103888 00000 n -0000732775 00000 n -0000001057 00000 n -0000001103 00000 n -0000103987 00000 n -0000732701 00000 n -0000001151 00000 n -0000001186 00000 n -0000109240 00000 n -0000732575 00000 n -0000001232 00000 n -0000001268 00000 n -0000109289 00000 n -0000732464 00000 n -0000001316 00000 n -0000001356 00000 n -0000109338 00000 n -0000732390 00000 n -0000001409 00000 n -0000001448 00000 n -0000109387 00000 n -0000732303 00000 n -0000001501 00000 n -0000001541 00000 n -0000113225 00000 n -0000732229 00000 n -0000001594 00000 n -0000001630 00000 n -0000116230 00000 n -0000732118 00000 n -0000001678 00000 n -0000001722 00000 n -0000116278 00000 n -0000732044 00000 n -0000001775 00000 n -0000001807 00000 n -0000116476 00000 n -0000731970 00000 n -0000001860 00000 n -0000001895 00000 n -0000129276 00000 n -0000731842 00000 n -0000001941 00000 n -0000001973 00000 n -0000129325 00000 n -0000731766 00000 n -0000002021 00000 n -0000002064 00000 n -0000132413 00000 n -0000731675 00000 n -0000002113 00000 n -0000002171 00000 n -0000139820 00000 n -0000731544 00000 n -0000002220 00000 n -0000002262 00000 n -0000139870 00000 n -0000731465 00000 n -0000002316 00000 n -0000002408 00000 n -0000143183 00000 n -0000731386 00000 n -0000002462 00000 n -0000002557 00000 n -0000146821 00000 n -0000731269 00000 n -0000002606 00000 n -0000002639 00000 n -0000153395 00000 n -0000731190 00000 n -0000002693 00000 n -0000002730 00000 n -0000153495 00000 n -0000731097 00000 n -0000002784 00000 n -0000002821 00000 n -0000160346 00000 n -0000731004 00000 n -0000002875 00000 n -0000002912 00000 n -0000166790 00000 n -0000730925 00000 n -0000002966 00000 n -0000003020 00000 n -0000192772 00000 n -0000730793 00000 n -0000003067 00000 n -0000003108 00000 n -0000192823 00000 n -0000730675 00000 n -0000003157 00000 n -0000003185 00000 n -0000192874 00000 n -0000730596 00000 n -0000003239 00000 n -0000003275 00000 n -0000192925 00000 n -0000730503 00000 n -0000003329 00000 n -0000003369 00000 n -0000195719 00000 n -0000730424 00000 n -0000003423 00000 n -0000003452 00000 n -0000195770 00000 n -0000730306 00000 n -0000003501 00000 n -0000003543 00000 n -0000195821 00000 n -0000730227 00000 n -0000003597 00000 n -0000003627 00000 n -0000197731 00000 n -0000730134 00000 n -0000003681 00000 n -0000003717 00000 n -0000199955 00000 n -0000730041 00000 n -0000003771 00000 n -0000003807 00000 n -0000202119 00000 n -0000729948 00000 n -0000003861 00000 n -0000003904 00000 n -0000202170 00000 n -0000729869 00000 n -0000003958 00000 n -0000004003 00000 n -0000204136 00000 n -0000729736 00000 n -0000004050 00000 n -0000004087 00000 n -0000204239 00000 n -0000729657 00000 n -0000004136 00000 n -0000004176 00000 n -0000206907 00000 n -0000729564 00000 n -0000004225 00000 n -0000004273 00000 n -0000221451 00000 n -0000729432 00000 n -0000004322 00000 n -0000004356 00000 n -0000224005 00000 n -0000729353 00000 n -0000004410 00000 n -0000004451 00000 n -0000227485 00000 n -0000729260 00000 n -0000004505 00000 n -0000004546 00000 n -0000231763 00000 n -0000729181 00000 n -0000004600 00000 n -0000004639 00000 n -0000234038 00000 n -0000729063 00000 n -0000004688 00000 n -0000004720 00000 n -0000234089 00000 n -0000728984 00000 n -0000004774 00000 n -0000004824 00000 n -0000237443 00000 n -0000728891 00000 n -0000004878 00000 n -0000004928 00000 n -0000247328 00000 n -0000728798 00000 n -0000004982 00000 n -0000005033 00000 n -0000255510 00000 n -0000728705 00000 n -0000005087 00000 n -0000005131 00000 n -0000262170 00000 n -0000728626 00000 n -0000005185 00000 n -0000005224 00000 n -0000266771 00000 n -0000728492 00000 n -0000005271 00000 n -0000005303 00000 n -0000266822 00000 n -0000728413 00000 n -0000005352 00000 n -0000005391 00000 n -0000272577 00000 n -0000728281 00000 n -0000005440 00000 n -0000005490 00000 n -0000272628 00000 n -0000728202 00000 n -0000005544 00000 n -0000005590 00000 n -0000278414 00000 n -0000728123 00000 n -0000005644 00000 n -0000005691 00000 n -0000282156 00000 n -0000728030 00000 n -0000005740 00000 n -0000005784 00000 n -0000288315 00000 n -0000727937 00000 n -0000005833 00000 n -0000005877 00000 n -0000297219 00000 n -0000727805 00000 n -0000005926 00000 n -0000005960 00000 n -0000297270 00000 n -0000727726 00000 n -0000006014 00000 n -0000006054 00000 n -0000301733 00000 n -0000727647 00000 n -0000006108 00000 n -0000006160 00000 n -0000319414 00000 n -0000727554 00000 n -0000006209 00000 n -0000006250 00000 n -0000326742 00000 n -0000727422 00000 n -0000006299 00000 n -0000006335 00000 n -0000326793 00000 n -0000727343 00000 n -0000006389 00000 n -0000006425 00000 n -0000332950 00000 n -0000727250 00000 n -0000006479 00000 n -0000006523 00000 n -0000354767 00000 n -0000727171 00000 n -0000006577 00000 n -0000006619 00000 n -0000364303 00000 n -0000727039 00000 n -0000006668 00000 n -0000006709 00000 n -0000364354 00000 n -0000726960 00000 n -0000006763 00000 n -0000006809 00000 n -0000376426 00000 n -0000726881 00000 n -0000006863 00000 n -0000006918 00000 n -0000382304 00000 n -0000726749 00000 n -0000006967 00000 n -0000007001 00000 n -0000382355 00000 n -0000726670 00000 n -0000007055 00000 n -0000007085 00000 n -0000395301 00000 n -0000726577 00000 n -0000007139 00000 n -0000007173 00000 n -0000401921 00000 n -0000726484 00000 n -0000007227 00000 n -0000007262 00000 n -0000440342 00000 n -0000726405 00000 n -0000007316 00000 n -0000007373 00000 n -0000462540 00000 n -0000726273 00000 n -0000007423 00000 n -0000007457 00000 n -0000465063 00000 n -0000726194 00000 n -0000007512 00000 n -0000007549 00000 n -0000468115 00000 n -0000726101 00000 n -0000007604 00000 n -0000007639 00000 n -0000473159 00000 n -0000726022 00000 n -0000007694 00000 n -0000007734 00000 n -0000482952 00000 n -0000725943 00000 n -0000007784 00000 n -0000007825 00000 n -0000499908 00000 n -0000725810 00000 n -0000007873 00000 n -0000007920 00000 n -0000499959 00000 n -0000725692 00000 n -0000007969 00000 n -0000007997 00000 n -0000500010 00000 n -0000725627 00000 n -0000008051 00000 n -0000008080 00000 n -0000502871 00000 n -0000725495 00000 n -0000008129 00000 n -0000008181 00000 n -0000502922 00000 n -0000725416 00000 n -0000008235 00000 n -0000008262 00000 n -0000502973 00000 n -0000725323 00000 n -0000008316 00000 n -0000008346 00000 n -0000503024 00000 n -0000725244 00000 n -0000008400 00000 n -0000008436 00000 n -0000505881 00000 n -0000725126 00000 n -0000008485 00000 n -0000008531 00000 n -0000505932 00000 n -0000725047 00000 n -0000008585 00000 n -0000008620 00000 n -0000505983 00000 n -0000724968 00000 n -0000008674 00000 n -0000008709 00000 n -0000510326 00000 n -0000724835 00000 n -0000008757 00000 n -0000008780 00000 n -0000510377 00000 n -0000724756 00000 n -0000008829 00000 n -0000008866 00000 n -0000512339 00000 n -0000724663 00000 n -0000008915 00000 n -0000008959 00000 n -0000512390 00000 n -0000724570 00000 n -0000009008 00000 n -0000009051 00000 n -0000514252 00000 n -0000724491 00000 n -0000009100 00000 n -0000009134 00000 n -0000561939 00000 n -0000724411 00000 n -0000009182 00000 n -0000009210 00000 n -0000009527 00000 n -0000009739 00000 n -0000009263 00000 n -0000009639 00000 n -0000009689 00000 n -0000717892 00000 n -0000717747 00000 n -0000719201 00000 n -0000010086 00000 n -0000009924 00000 n -0000009824 00000 n -0000010036 00000 n -0000011787 00000 n -0000011939 00000 n -0000012093 00000 n -0000012247 00000 n -0000012401 00000 n -0000012555 00000 n -0000012709 00000 n -0000012863 00000 n -0000013015 00000 n -0000013169 00000 n -0000013323 00000 n -0000013477 00000 n -0000013631 00000 n -0000013784 00000 n -0000013938 00000 n -0000014089 00000 n -0000014242 00000 n -0000014400 00000 n -0000014557 00000 n -0000014716 00000 n -0000014870 00000 n -0000015028 00000 n -0000015187 00000 n -0000015338 00000 n -0000015492 00000 n -0000015645 00000 n -0000015798 00000 n -0000016116 00000 n -0000016432 00000 n -0000018690 00000 n -0000016635 00000 n -0000011415 00000 n -0000010127 00000 n -0000716435 00000 n -0000016585 00000 n -0000716289 00000 n -0000717603 00000 n -0000015957 00000 n -0000016274 00000 n -0000018849 00000 n -0000019007 00000 n -0000019166 00000 n -0000019325 00000 n -0000019477 00000 n -0000019628 00000 n -0000019786 00000 n -0000019945 00000 n -0000020104 00000 n -0000020258 00000 n -0000020417 00000 n -0000020576 00000 n -0000020735 00000 n -0000020894 00000 n -0000021053 00000 n -0000021205 00000 n -0000021359 00000 n -0000021513 00000 n -0000021666 00000 n -0000021825 00000 n -0000021984 00000 n -0000022142 00000 n -0000022295 00000 n -0000022453 00000 n -0000022611 00000 n -0000022768 00000 n -0000022927 00000 n -0000023086 00000 n -0000023236 00000 n -0000023389 00000 n -0000023542 00000 n -0000023700 00000 n -0000023859 00000 n -0000024013 00000 n -0000024167 00000 n -0000024321 00000 n -0000024480 00000 n -0000024639 00000 n -0000024793 00000 n -0000024946 00000 n -0000025105 00000 n -0000025263 00000 n -0000027059 00000 n -0000025422 00000 n -0000018222 00000 n -0000016732 00000 n -0000718181 00000 n -0000718614 00000 n -0000027213 00000 n -0000027372 00000 n -0000027531 00000 n -0000027685 00000 n -0000027844 00000 n -0000028003 00000 n -0000028162 00000 n -0000028321 00000 n -0000028475 00000 n -0000028635 00000 n -0000028795 00000 n -0000028951 00000 n -0000029105 00000 n -0000029258 00000 n -0000029412 00000 n -0000029571 00000 n -0000029725 00000 n -0000029883 00000 n -0000030042 00000 n -0000030200 00000 n -0000030354 00000 n -0000030513 00000 n -0000030672 00000 n -0000030825 00000 n -0000030978 00000 n -0000031132 00000 n -0000031286 00000 n -0000031440 00000 n -0000031643 00000 n -0000026703 00000 n -0000025532 00000 n -0000031593 00000 n -0000032079 00000 n -0000031917 00000 n -0000031740 00000 n -0000032029 00000 n -0000033677 00000 n -0000033829 00000 n -0000033982 00000 n -0000034135 00000 n -0000034288 00000 n -0000034441 00000 n -0000034593 00000 n -0000034745 00000 n -0000034898 00000 n -0000035051 00000 n -0000035204 00000 n -0000035357 00000 n -0000035662 00000 n -0000035814 00000 n -0000035967 00000 n -0000036119 00000 n -0000036272 00000 n -0000036425 00000 n -0000036578 00000 n -0000036731 00000 n -0000036884 00000 n -0000037036 00000 n -0000037188 00000 n -0000037441 00000 n -0000033361 00000 n -0000032163 00000 n -0000037341 00000 n -0000037391 00000 n -0000717167 00000 n -0000718326 00000 n -0000035509 00000 n -0000719319 00000 n -0000070985 00000 n -0000077561 00000 n -0000083426 00000 n -0000089496 00000 n -0000097082 00000 n -0000097131 00000 n -0000103937 00000 n -0000106699 00000 n -0000153445 00000 n -0000160298 00000 n -0000166740 00000 n -0000174790 00000 n -0000190155 00000 n -0000190205 00000 n -0000190255 00000 n -0000204342 00000 n -0000210486 00000 n -0000223954 00000 n -0000227434 00000 n -0000236976 00000 n -0000414928 00000 n -0000437072 00000 n -0000462591 00000 n -0000037904 00000 n -0000037742 00000 n -0000037551 00000 n -0000037854 00000 n -0000039522 00000 n -0000039673 00000 n -0000039825 00000 n -0000039977 00000 n -0000040129 00000 n -0000040281 00000 n -0000040433 00000 n -0000040585 00000 n -0000040737 00000 n -0000040889 00000 n -0000041041 00000 n -0000041193 00000 n -0000041346 00000 n -0000041499 00000 n -0000041652 00000 n -0000041805 00000 n -0000041958 00000 n -0000042110 00000 n -0000042263 00000 n -0000042416 00000 n -0000042569 00000 n -0000042721 00000 n -0000042873 00000 n -0000043026 00000 n -0000043278 00000 n -0000039206 00000 n -0000037988 00000 n -0000043178 00000 n -0000043228 00000 n -0000063705 00000 n -0000113175 00000 n -0000143134 00000 n -0000146771 00000 n -0000218077 00000 n -0000221193 00000 n -0000221244 00000 n -0000221502 00000 n -0000255303 00000 n -0000269732 00000 n -0000275719 00000 n -0000281691 00000 n -0000293564 00000 n -0000293615 00000 n -0000323291 00000 n -0000329869 00000 n -0000337822 00000 n -0000360859 00000 n -0000369673 00000 n -0000375855 00000 n -0000416754 00000 n -0000452900 00000 n -0000478532 00000 n -0000496912 00000 n -0000043732 00000 n -0000043570 00000 n -0000043375 00000 n -0000043682 00000 n -0000045928 00000 n -0000045716 00000 n -0000043816 00000 n -0000045828 00000 n -0000045878 00000 n -0000719055 00000 n -0000717022 00000 n -0000717458 00000 n -0000048539 00000 n -0000048377 00000 n -0000046089 00000 n -0000048489 00000 n -0000716875 00000 n -0000718037 00000 n -0000570518 00000 n -0000049340 00000 n -0000049178 00000 n -0000048725 00000 n -0000049290 00000 n -0000719437 00000 n -0000049817 00000 n -0000049655 00000 n -0000049450 00000 n -0000049767 00000 n -0000051506 00000 n -0000051761 00000 n -0000051374 00000 n -0000049901 00000 n -0000051661 00000 n -0000051711 00000 n -0000566355 00000 n -0000052200 00000 n -0000052038 00000 n -0000051845 00000 n -0000052150 00000 n -0000054469 00000 n -0000054636 00000 n -0000054789 00000 n -0000054942 00000 n -0000055095 00000 n -0000055443 00000 n -0000054305 00000 n -0000052284 00000 n -0000055248 00000 n -0000718471 00000 n -0000566611 00000 n -0000058139 00000 n -0000058291 00000 n -0000058642 00000 n -0000057999 00000 n -0000055579 00000 n -0000058445 00000 n -0000566816 00000 n -0000061022 00000 n -0000060811 00000 n -0000058765 00000 n -0000060923 00000 n -0000719555 00000 n -0000061508 00000 n -0000061346 00000 n -0000061145 00000 n -0000061458 00000 n -0000063405 00000 n -0000070733 00000 n -0000063755 00000 n -0000063273 00000 n -0000061592 00000 n -0000063557 00000 n -0000065250 00000 n -0000077158 00000 n -0000071034 00000 n -0000065118 00000 n -0000063904 00000 n -0000070886 00000 n -0000066656 00000 n -0000066891 00000 n -0000066938 00000 n -0000067333 00000 n -0000067355 00000 n -0000067677 00000 n -0000072799 00000 n -0000077310 00000 n -0000079634 00000 n -0000083225 00000 n -0000077611 00000 n -0000072659 00000 n -0000071172 00000 n -0000077462 00000 n -0000073566 00000 n -0000073802 00000 n -0000073849 00000 n -0000074244 00000 n -0000074265 00000 n -0000074593 00000 n -0000085442 00000 n -0000083476 00000 n -0000079502 00000 n -0000077762 00000 n -0000083376 00000 n -0000080877 00000 n -0000081115 00000 n -0000081162 00000 n -0000081488 00000 n -0000081509 00000 n -0000081817 00000 n -0000081912 00000 n -0000089140 00000 n -0000090283 00000 n -0000089293 00000 n -0000094775 00000 n -0000089595 00000 n -0000085302 00000 n -0000083640 00000 n -0000089446 00000 n -0000719673 00000 n -0000086975 00000 n -0000087214 00000 n -0000087261 00000 n -0000087473 00000 n -0000087495 00000 n -0000087804 00000 n -0000097180 00000 n -0000090171 00000 n -0000089746 00000 n -0000097032 00000 n -0000090979 00000 n -0000091215 00000 n -0000091262 00000 n -0000091661 00000 n -0000091682 00000 n -0000092010 00000 n -0000095499 00000 n -0000095735 00000 n -0000095782 00000 n -0000095970 00000 n -0000095991 00000 n -0000096269 00000 n -0000103685 00000 n -0000099546 00000 n -0000106497 00000 n -0000104036 00000 n -0000099414 00000 n -0000097305 00000 n -0000103838 00000 n -0000100478 00000 n -0000100720 00000 n -0000100758 00000 n -0000100805 00000 n -0000101102 00000 n -0000101449 00000 n -0000101470 00000 n -0000101749 00000 n -0000106749 00000 n -0000106365 00000 n -0000104187 00000 n -0000106649 00000 n -0000108886 00000 n -0000109038 00000 n -0000109436 00000 n -0000108746 00000 n -0000106885 00000 n -0000109190 00000 n -0000112653 00000 n -0000112807 00000 n -0000112966 00000 n -0000115560 00000 n -0000113274 00000 n -0000112505 00000 n -0000109572 00000 n -0000113125 00000 n -0000115719 00000 n -0000115872 00000 n -0000116026 00000 n -0000116525 00000 n -0000115404 00000 n -0000113436 00000 n -0000116180 00000 n -0000116327 00000 n -0000116377 00000 n -0000116426 00000 n -0000719791 00000 n -0000118890 00000 n -0000118678 00000 n -0000116648 00000 n -0000118790 00000 n -0000118840 00000 n -0000122349 00000 n -0000121887 00000 n -0000119026 00000 n -0000121999 00000 n -0000122049 00000 n -0000122099 00000 n -0000122149 00000 n -0000122199 00000 n -0000122249 00000 n -0000122299 00000 n -0000125662 00000 n -0000125400 00000 n -0000122459 00000 n -0000125512 00000 n -0000125562 00000 n -0000125612 00000 n -0000126392 00000 n -0000126180 00000 n -0000125785 00000 n -0000126292 00000 n -0000126342 00000 n -0000126864 00000 n -0000126702 00000 n -0000126489 00000 n -0000126814 00000 n -0000129374 00000 n -0000129114 00000 n -0000126948 00000 n -0000129226 00000 n -0000719909 00000 n -0000132762 00000 n -0000132251 00000 n -0000129510 00000 n -0000132363 00000 n -0000132463 00000 n -0000717313 00000 n -0000132513 00000 n -0000132563 00000 n -0000132613 00000 n -0000132663 00000 n -0000132712 00000 n -0000135737 00000 n -0000135225 00000 n -0000132948 00000 n -0000135337 00000 n -0000135387 00000 n -0000135437 00000 n -0000135487 00000 n -0000135537 00000 n -0000135587 00000 n -0000135637 00000 n -0000135687 00000 n -0000139153 00000 n -0000139307 00000 n -0000139466 00000 n -0000142316 00000 n -0000142468 00000 n -0000139920 00000 n -0000139005 00000 n -0000135911 00000 n -0000139620 00000 n -0000139670 00000 n -0000139720 00000 n -0000139770 00000 n -0000566509 00000 n -0000566458 00000 n -0000142625 00000 n -0000142779 00000 n -0000142930 00000 n -0000145799 00000 n -0000143233 00000 n -0000142152 00000 n -0000140092 00000 n -0000143084 00000 n -0000566560 00000 n -0000566765 00000 n -0000145958 00000 n -0000146108 00000 n -0000146262 00000 n -0000146416 00000 n -0000146569 00000 n -0000146871 00000 n -0000145627 00000 n -0000143381 00000 n -0000146721 00000 n -0000566714 00000 n -0000153192 00000 n -0000148545 00000 n -0000159943 00000 n -0000153545 00000 n -0000148413 00000 n -0000147019 00000 n -0000153345 00000 n -0000720027 00000 n -0000149224 00000 n -0000149458 00000 n -0000149505 00000 n -0000149899 00000 n -0000149920 00000 n -0000150257 00000 n -0000150357 00000 n -0000155255 00000 n -0000160096 00000 n -0000160396 00000 n -0000155115 00000 n -0000153709 00000 n -0000160248 00000 n -0000155975 00000 n -0000156209 00000 n -0000156256 00000 n -0000156650 00000 n -0000156671 00000 n -0000157008 00000 n -0000157108 00000 n -0000162029 00000 n -0000166840 00000 n -0000161917 00000 n -0000160560 00000 n -0000166690 00000 n -0000162722 00000 n -0000162956 00000 n -0000163003 00000 n -0000163397 00000 n -0000163418 00000 n -0000163755 00000 n -0000163855 00000 n -0000173522 00000 n -0000173674 00000 n -0000173827 00000 n -0000173979 00000 n -0000174131 00000 n -0000174283 00000 n -0000174435 00000 n -0000174587 00000 n -0000169148 00000 n -0000175511 00000 n -0000180382 00000 n -0000185225 00000 n -0000174840 00000 n -0000168960 00000 n -0000166966 00000 n -0000174740 00000 n -0000170063 00000 n -0000170297 00000 n -0000170344 00000 n -0000170741 00000 n -0000170762 00000 n -0000171098 00000 n -0000190305 00000 n -0000175399 00000 n -0000174966 00000 n -0000190105 00000 n -0000176568 00000 n -0000176806 00000 n -0000176845 00000 n -0000176893 00000 n -0000177198 00000 n -0000177597 00000 n -0000177619 00000 n -0000177957 00000 n -0000181415 00000 n -0000181649 00000 n -0000181688 00000 n -0000181736 00000 n -0000182041 00000 n -0000182440 00000 n -0000182462 00000 n -0000182800 00000 n -0000186290 00000 n -0000186529 00000 n -0000186568 00000 n -0000186616 00000 n -0000186921 00000 n -0000187320 00000 n -0000187342 00000 n -0000187680 00000 n -0000190822 00000 n -0000190655 00000 n -0000190446 00000 n -0000190770 00000 n -0000192976 00000 n -0000192604 00000 n -0000190907 00000 n -0000192720 00000 n -0000720146 00000 n -0000195872 00000 n -0000195551 00000 n -0000193061 00000 n -0000195667 00000 n -0000197782 00000 n -0000197563 00000 n -0000196022 00000 n -0000197679 00000 n -0000200006 00000 n -0000199787 00000 n -0000197932 00000 n -0000199903 00000 n -0000202221 00000 n -0000201951 00000 n -0000200169 00000 n -0000202067 00000 n -0000202702 00000 n -0000202534 00000 n -0000202319 00000 n -0000202650 00000 n -0000204393 00000 n -0000203968 00000 n -0000202787 00000 n -0000204084 00000 n -0000204187 00000 n -0000204290 00000 n -0000720271 00000 n -0000207114 00000 n -0000206479 00000 n -0000204504 00000 n -0000206595 00000 n -0000206647 00000 n -0000206699 00000 n -0000206751 00000 n -0000206803 00000 n -0000206855 00000 n -0000206958 00000 n -0000207010 00000 n -0000207062 00000 n -0000209186 00000 n -0000209600 00000 n -0000209049 00000 n -0000207238 00000 n -0000209340 00000 n -0000209392 00000 n -0000209444 00000 n -0000209496 00000 n -0000209548 00000 n -0000210537 00000 n -0000210318 00000 n -0000209711 00000 n -0000210434 00000 n -0000213525 00000 n -0000213679 00000 n -0000217195 00000 n -0000217348 00000 n -0000217507 00000 n -0000214456 00000 n -0000213379 00000 n -0000210635 00000 n -0000213832 00000 n -0000213884 00000 n -0000213936 00000 n -0000213988 00000 n -0000214040 00000 n -0000214092 00000 n -0000214144 00000 n -0000214196 00000 n -0000214248 00000 n -0000214300 00000 n -0000716581 00000 n -0000214352 00000 n -0000214404 00000 n -0000217667 00000 n -0000220511 00000 n -0000220671 00000 n -0000220831 00000 n -0000217820 00000 n -0000220990 00000 n -0000218440 00000 n -0000217022 00000 n -0000214581 00000 n -0000217973 00000 n -0000218025 00000 n -0000218128 00000 n -0000218180 00000 n -0000218232 00000 n -0000218284 00000 n -0000218336 00000 n -0000218388 00000 n -0000221553 00000 n -0000220347 00000 n -0000218563 00000 n -0000221141 00000 n -0000221295 00000 n -0000221347 00000 n -0000221399 00000 n -0000720396 00000 n -0000224573 00000 n -0000223786 00000 n -0000221690 00000 n -0000223902 00000 n -0000224056 00000 n -0000224108 00000 n -0000224160 00000 n -0000224212 00000 n -0000224264 00000 n -0000224315 00000 n -0000224367 00000 n -0000224419 00000 n -0000224471 00000 n -0000224523 00000 n -0000226912 00000 n -0000227066 00000 n -0000227225 00000 n -0000231240 00000 n -0000228157 00000 n -0000226757 00000 n -0000224722 00000 n -0000227382 00000 n -0000227536 00000 n -0000227588 00000 n -0000227640 00000 n -0000227692 00000 n -0000227744 00000 n -0000227796 00000 n -0000227848 00000 n -0000227899 00000 n -0000227951 00000 n -0000228003 00000 n -0000228055 00000 n -0000228106 00000 n -0000231400 00000 n -0000231864 00000 n -0000231094 00000 n -0000228307 00000 n -0000231555 00000 n -0000231607 00000 n -0000231659 00000 n -0000231711 00000 n -0000231813 00000 n -0000567987 00000 n -0000234192 00000 n -0000233870 00000 n -0000232001 00000 n -0000233986 00000 n -0000234140 00000 n -0000236609 00000 n -0000236769 00000 n -0000237647 00000 n -0000236463 00000 n -0000234303 00000 n -0000236924 00000 n -0000237027 00000 n -0000237079 00000 n -0000237131 00000 n -0000237183 00000 n -0000237235 00000 n -0000237287 00000 n -0000237339 00000 n -0000237391 00000 n -0000237494 00000 n -0000237545 00000 n -0000237596 00000 n -0000001197 00000 f -0000001198 00000 f -0000001199 00000 f -0000001226 00000 f -0000239687 00000 n -0000239840 00000 n -0000240148 00000 n -0000239541 00000 n -0000237771 00000 n -0000239993 00000 n -0000240045 00000 n -0000240097 00000 n -0000720521 00000 n -0000243458 00000 n -0000242718 00000 n -0000240272 00000 n -0000242834 00000 n -0000242886 00000 n -0000242938 00000 n -0000242990 00000 n -0000243042 00000 n -0000243094 00000 n -0000243146 00000 n -0000243198 00000 n -0000243250 00000 n -0000243302 00000 n -0000243354 00000 n -0000243406 00000 n -0000245775 00000 n -0000245926 00000 n -0000001227 00000 f -0000001228 00000 f -0000001229 00000 f -0000001470 00000 f -0000249365 00000 n -0000249517 00000 n -0000247431 00000 n -0000245629 00000 n -0000243595 00000 n -0000246081 00000 n -0000246133 00000 n -0000246185 00000 n -0000246237 00000 n -0000246289 00000 n -0000246341 00000 n -0000246393 00000 n -0000246445 00000 n -0000246497 00000 n -0000246549 00000 n -0000246601 00000 n -0000246653 00000 n -0000246705 00000 n -0000246757 00000 n -0000246809 00000 n -0000246861 00000 n -0000246913 00000 n -0000246965 00000 n -0000247017 00000 n -0000247069 00000 n -0000247120 00000 n -0000247172 00000 n -0000247224 00000 n -0000247276 00000 n -0000247379 00000 n -0000249929 00000 n -0000249219 00000 n -0000247581 00000 n -0000249669 00000 n -0000249721 00000 n -0000716726 00000 n -0000249773 00000 n -0000249825 00000 n -0000249877 00000 n -0000252259 00000 n -0000252679 00000 n -0000252122 00000 n -0000250067 00000 n -0000252419 00000 n -0000252471 00000 n -0000252523 00000 n -0000718908 00000 n -0000252575 00000 n -0000252627 00000 n -0000254837 00000 n -0000255769 00000 n -0000254700 00000 n -0000252881 00000 n -0000254991 00000 n -0000255043 00000 n -0000255095 00000 n -0000255147 00000 n -0000255199 00000 n -0000255251 00000 n -0000255354 00000 n -0000255406 00000 n -0000255458 00000 n -0000255561 00000 n -0000255613 00000 n -0000255665 00000 n -0000255717 00000 n -0000258584 00000 n -0000259409 00000 n -0000258447 00000 n -0000255933 00000 n -0000258735 00000 n -0000258787 00000 n -0000258839 00000 n -0000258891 00000 n -0000258943 00000 n -0000258995 00000 n -0000259047 00000 n -0000259097 00000 n -0000259149 00000 n -0000259201 00000 n -0000259253 00000 n -0000259305 00000 n -0000259357 00000 n -0000720646 00000 n -0000261604 00000 n -0000261755 00000 n -0000262377 00000 n -0000261458 00000 n -0000259533 00000 n -0000261910 00000 n -0000261962 00000 n -0000262014 00000 n -0000262066 00000 n -0000262118 00000 n -0000262221 00000 n -0000262273 00000 n -0000262325 00000 n -0000263831 00000 n -0000263985 00000 n -0000264144 00000 n -0000264303 00000 n -0000264772 00000 n -0000263667 00000 n -0000262514 00000 n -0000264461 00000 n -0000264513 00000 n -0000264565 00000 n -0000264617 00000 n -0000264668 00000 n -0000264720 00000 n -0000265255 00000 n -0000265087 00000 n -0000264883 00000 n -0000265203 00000 n -0000267132 00000 n -0000266603 00000 n -0000265340 00000 n -0000266719 00000 n -0000266872 00000 n -0000266924 00000 n -0000266976 00000 n -0000267028 00000 n -0000267080 00000 n -0000269423 00000 n -0000270406 00000 n -0000269286 00000 n -0000267243 00000 n -0000269576 00000 n -0000269628 00000 n -0000269680 00000 n -0000269783 00000 n -0000269835 00000 n -0000269887 00000 n -0000269938 00000 n -0000269990 00000 n -0000270042 00000 n -0000270094 00000 n -0000270146 00000 n -0000270198 00000 n -0000270250 00000 n -0000270302 00000 n -0000270354 00000 n -0000272365 00000 n -0000272991 00000 n -0000272228 00000 n -0000270517 00000 n -0000272525 00000 n -0000272679 00000 n -0000272731 00000 n -0000272783 00000 n -0000272835 00000 n -0000272887 00000 n -0000272939 00000 n -0000720771 00000 n -0000275101 00000 n -0000275254 00000 n -0000276082 00000 n -0000274955 00000 n -0000273115 00000 n -0000275407 00000 n -0000275459 00000 n -0000275511 00000 n -0000275563 00000 n -0000275615 00000 n -0000275667 00000 n -0000275770 00000 n -0000275822 00000 n -0000275874 00000 n -0000275926 00000 n -0000275978 00000 n -0000276030 00000 n -0000278004 00000 n -0000280760 00000 n -0000278774 00000 n -0000277867 00000 n -0000276206 00000 n -0000278154 00000 n -0000278206 00000 n -0000278258 00000 n -0000278310 00000 n -0000278362 00000 n -0000278465 00000 n -0000278516 00000 n -0000278568 00000 n -0000278620 00000 n -0000278671 00000 n -0000278723 00000 n -0000280920 00000 n -0000281074 00000 n -0000281227 00000 n -0000282259 00000 n -0000280596 00000 n -0000278898 00000 n -0000281379 00000 n -0000281431 00000 n -0000281483 00000 n -0000281535 00000 n -0000281587 00000 n -0000281639 00000 n -0000281742 00000 n -0000281794 00000 n -0000281846 00000 n -0000281898 00000 n -0000281950 00000 n -0000282001 00000 n -0000282052 00000 n -0000282104 00000 n -0000282207 00000 n -0000284455 00000 n -0000284027 00000 n -0000282409 00000 n -0000284143 00000 n -0000284195 00000 n -0000284247 00000 n -0000284299 00000 n -0000284351 00000 n -0000284403 00000 n -0000287007 00000 n -0000287167 00000 n -0000287326 00000 n -0000288418 00000 n -0000286852 00000 n -0000284566 00000 n -0000287485 00000 n -0000287537 00000 n -0000287589 00000 n -0000287641 00000 n -0000287693 00000 n -0000287745 00000 n -0000287796 00000 n -0000287848 00000 n -0000287900 00000 n -0000287952 00000 n -0000288004 00000 n -0000288055 00000 n -0000288107 00000 n -0000288159 00000 n -0000288211 00000 n -0000288263 00000 n -0000288366 00000 n -0000001471 00000 f -0000002119 00000 f -0000290389 00000 n -0000290542 00000 n -0000291008 00000 n -0000290243 00000 n -0000288555 00000 n -0000290696 00000 n -0000290748 00000 n -0000290800 00000 n -0000290852 00000 n -0000290904 00000 n -0000290956 00000 n -0000720896 00000 n -0000293206 00000 n -0000293359 00000 n -0000293872 00000 n -0000293060 00000 n -0000291119 00000 n -0000293512 00000 n -0000293666 00000 n -0000293717 00000 n -0000293768 00000 n -0000293820 00000 n -0000296187 00000 n -0000296339 00000 n -0000296493 00000 n -0000297529 00000 n -0000296032 00000 n -0000294009 00000 n -0000296647 00000 n -0000296699 00000 n -0000296751 00000 n -0000296803 00000 n -0000296855 00000 n -0000296907 00000 n -0000296959 00000 n -0000297011 00000 n -0000297063 00000 n -0000297115 00000 n -0000297167 00000 n -0000297321 00000 n -0000297373 00000 n -0000297425 00000 n -0000297477 00000 n -0000299842 00000 n -0000299996 00000 n -0000300156 00000 n -0000300310 00000 n -0000301139 00000 n -0000299678 00000 n -0000297653 00000 n -0000300463 00000 n -0000300515 00000 n -0000300567 00000 n -0000300619 00000 n -0000300671 00000 n -0000300723 00000 n -0000300775 00000 n -0000300827 00000 n -0000300879 00000 n -0000300931 00000 n -0000300983 00000 n -0000301035 00000 n -0000301087 00000 n -0000301835 00000 n -0000301565 00000 n -0000301263 00000 n -0000301681 00000 n -0000301784 00000 n -0000303809 00000 n -0000303381 00000 n -0000301946 00000 n -0000303497 00000 n -0000303549 00000 n -0000303601 00000 n -0000303653 00000 n -0000303705 00000 n -0000303757 00000 n -0000305903 00000 n -0000305735 00000 n -0000303920 00000 n -0000305851 00000 n -0000721021 00000 n -0000308420 00000 n -0000308578 00000 n -0000308737 00000 n -0000308896 00000 n -0000310143 00000 n -0000308256 00000 n -0000306001 00000 n -0000309055 00000 n -0000309107 00000 n -0000309159 00000 n -0000309211 00000 n -0000309263 00000 n -0000309314 00000 n -0000309366 00000 n -0000309418 00000 n -0000309470 00000 n -0000309522 00000 n -0000309574 00000 n -0000309626 00000 n -0000309678 00000 n -0000309730 00000 n -0000309781 00000 n -0000309832 00000 n -0000309884 00000 n -0000309936 00000 n -0000309988 00000 n -0000310040 00000 n -0000310092 00000 n -0000312906 00000 n -0000312064 00000 n -0000310280 00000 n -0000312180 00000 n -0000312232 00000 n -0000312284 00000 n -0000312336 00000 n -0000312388 00000 n -0000312440 00000 n -0000312492 00000 n -0000312544 00000 n -0000312596 00000 n -0000312648 00000 n -0000312699 00000 n -0000312751 00000 n -0000312802 00000 n -0000312854 00000 n -0000315934 00000 n -0000316094 00000 n -0000317186 00000 n -0000315788 00000 n -0000313055 00000 n -0000316254 00000 n -0000316306 00000 n -0000316358 00000 n -0000316410 00000 n -0000316462 00000 n -0000316514 00000 n -0000316565 00000 n -0000316616 00000 n -0000316668 00000 n -0000316719 00000 n -0000316770 00000 n -0000316822 00000 n -0000316874 00000 n -0000316926 00000 n -0000316978 00000 n -0000317030 00000 n -0000317082 00000 n -0000317134 00000 n -0000319777 00000 n -0000319246 00000 n -0000317310 00000 n -0000319362 00000 n -0000718760 00000 n -0000319465 00000 n -0000319517 00000 n -0000319569 00000 n -0000319621 00000 n -0000319673 00000 n -0000319725 00000 n -0000321539 00000 n -0000322113 00000 n -0000321402 00000 n -0000319915 00000 n -0000321698 00000 n -0000321750 00000 n -0000321801 00000 n -0000321853 00000 n -0000321905 00000 n -0000321957 00000 n -0000322009 00000 n -0000322061 00000 n -0000323342 00000 n -0000323123 00000 n -0000322237 00000 n -0000323239 00000 n -0000721146 00000 n -0000323836 00000 n -0000323668 00000 n -0000323466 00000 n -0000323784 00000 n -0000326210 00000 n -0000326370 00000 n -0000326530 00000 n -0000327000 00000 n -0000326055 00000 n -0000323921 00000 n -0000326690 00000 n -0000326844 00000 n -0000326896 00000 n -0000326948 00000 n -0000329348 00000 n -0000329502 00000 n -0000329920 00000 n -0000329202 00000 n -0000327164 00000 n -0000329661 00000 n -0000329713 00000 n -0000329765 00000 n -0000329817 00000 n -0000333053 00000 n -0000331744 00000 n -0000330057 00000 n -0000331860 00000 n -0000331912 00000 n -0000331964 00000 n -0000332016 00000 n -0000332068 00000 n -0000332120 00000 n -0000332171 00000 n -0000332223 00000 n -0000332275 00000 n -0000332327 00000 n -0000332379 00000 n -0000332431 00000 n -0000332483 00000 n -0000332535 00000 n -0000332586 00000 n -0000332638 00000 n -0000332690 00000 n -0000332742 00000 n -0000332794 00000 n -0000332846 00000 n -0000332898 00000 n -0000333001 00000 n -0000335204 00000 n -0000334777 00000 n -0000333204 00000 n -0000334893 00000 n -0000334945 00000 n -0000334997 00000 n -0000335049 00000 n -0000335101 00000 n -0000335153 00000 n -0000337407 00000 n -0000337561 00000 n -0000337873 00000 n -0000337261 00000 n -0000335355 00000 n -0000337719 00000 n -0000337771 00000 n -0000721271 00000 n -0000340631 00000 n -0000339009 00000 n -0000337997 00000 n -0000339125 00000 n -0000339177 00000 n -0000339229 00000 n -0000339281 00000 n -0000339333 00000 n -0000339384 00000 n -0000339436 00000 n -0000339488 00000 n -0000339540 00000 n -0000339592 00000 n -0000339644 00000 n -0000339696 00000 n -0000339748 00000 n -0000339800 00000 n -0000339852 00000 n -0000339904 00000 n -0000339956 00000 n -0000340008 00000 n -0000340060 00000 n -0000340112 00000 n -0000340164 00000 n -0000340215 00000 n -0000340267 00000 n -0000340319 00000 n -0000340371 00000 n -0000340423 00000 n -0000340475 00000 n -0000340527 00000 n -0000340579 00000 n -0000343412 00000 n -0000341582 00000 n -0000340769 00000 n -0000341698 00000 n -0000341750 00000 n -0000341802 00000 n -0000341854 00000 n -0000341906 00000 n -0000341958 00000 n -0000342010 00000 n -0000342062 00000 n -0000342114 00000 n -0000342166 00000 n -0000342218 00000 n -0000342270 00000 n -0000342321 00000 n -0000342373 00000 n -0000342425 00000 n -0000342477 00000 n -0000342529 00000 n -0000342580 00000 n -0000342632 00000 n -0000342684 00000 n -0000342736 00000 n -0000342788 00000 n -0000342840 00000 n -0000342892 00000 n -0000342944 00000 n -0000342996 00000 n -0000343048 00000 n -0000343100 00000 n -0000343152 00000 n -0000343204 00000 n -0000343256 00000 n -0000343308 00000 n -0000343360 00000 n -0000346192 00000 n -0000344308 00000 n -0000343537 00000 n -0000344424 00000 n -0000344476 00000 n -0000344528 00000 n -0000344580 00000 n -0000344632 00000 n -0000344684 00000 n -0000344736 00000 n -0000344788 00000 n -0000344840 00000 n -0000344892 00000 n -0000344944 00000 n -0000344996 00000 n -0000345048 00000 n -0000345100 00000 n -0000345152 00000 n -0000345204 00000 n -0000345256 00000 n -0000345308 00000 n -0000345360 00000 n -0000345412 00000 n -0000345464 00000 n -0000345516 00000 n -0000345568 00000 n -0000345620 00000 n -0000345672 00000 n -0000345724 00000 n -0000345776 00000 n -0000345828 00000 n -0000345880 00000 n -0000345932 00000 n -0000345984 00000 n -0000346036 00000 n -0000346088 00000 n -0000346140 00000 n -0000349099 00000 n -0000347323 00000 n -0000346317 00000 n -0000347439 00000 n -0000347491 00000 n -0000347543 00000 n -0000347595 00000 n -0000347647 00000 n -0000347699 00000 n -0000347750 00000 n -0000347802 00000 n -0000347854 00000 n -0000347906 00000 n -0000347958 00000 n -0000348010 00000 n -0000348062 00000 n -0000348114 00000 n -0000348166 00000 n -0000348218 00000 n -0000348269 00000 n -0000348321 00000 n -0000348371 00000 n -0000348423 00000 n -0000348475 00000 n -0000348527 00000 n -0000348579 00000 n -0000348631 00000 n -0000348683 00000 n -0000348735 00000 n -0000348787 00000 n -0000348839 00000 n -0000348891 00000 n -0000348943 00000 n -0000348995 00000 n -0000349047 00000 n -0000352145 00000 n -0000350422 00000 n -0000349237 00000 n -0000350538 00000 n -0000350590 00000 n -0000350642 00000 n -0000350693 00000 n -0000350745 00000 n -0000350797 00000 n -0000350849 00000 n -0000350901 00000 n -0000350953 00000 n -0000351005 00000 n -0000351057 00000 n -0000351108 00000 n -0000351160 00000 n -0000351212 00000 n -0000351264 00000 n -0000351316 00000 n -0000351368 00000 n -0000351419 00000 n -0000351471 00000 n -0000351523 00000 n -0000351575 00000 n -0000351627 00000 n -0000351679 00000 n -0000351731 00000 n -0000351782 00000 n -0000351834 00000 n -0000351886 00000 n -0000351938 00000 n -0000351990 00000 n -0000352042 00000 n -0000352094 00000 n -0000354974 00000 n -0000353871 00000 n -0000352283 00000 n -0000353987 00000 n -0000354039 00000 n -0000354091 00000 n -0000354143 00000 n -0000354195 00000 n -0000354247 00000 n -0000354299 00000 n -0000354351 00000 n -0000354403 00000 n -0000354455 00000 n -0000354507 00000 n -0000354559 00000 n -0000354611 00000 n -0000354663 00000 n -0000354715 00000 n -0000354818 00000 n -0000354870 00000 n -0000354922 00000 n -0000721396 00000 n -0000359718 00000 n -0000357146 00000 n -0000356822 00000 n -0000355125 00000 n -0000356938 00000 n -0000356990 00000 n -0000357042 00000 n -0000357094 00000 n -0000359874 00000 n -0000363517 00000 n -0000361066 00000 n -0000359572 00000 n -0000357282 00000 n -0000360028 00000 n -0000360080 00000 n -0000360132 00000 n -0000360184 00000 n -0000360236 00000 n -0000360288 00000 n -0000360339 00000 n -0000360391 00000 n -0000360443 00000 n -0000360495 00000 n -0000360547 00000 n -0000360599 00000 n -0000360651 00000 n -0000360703 00000 n -0000360755 00000 n -0000360807 00000 n -0000360910 00000 n -0000360962 00000 n -0000361014 00000 n -0000422148 00000 n -0000363677 00000 n -0000363837 00000 n -0000363992 00000 n -0000364506 00000 n -0000363353 00000 n -0000361215 00000 n -0000364147 00000 n -0000364199 00000 n -0000364251 00000 n -0000364403 00000 n -0000364454 00000 n -0000366953 00000 n -0000366579 00000 n -0000364657 00000 n -0000366695 00000 n -0000366747 00000 n -0000366799 00000 n -0000366851 00000 n -0000366903 00000 n -0000369055 00000 n -0000369209 00000 n -0000369363 00000 n -0000370502 00000 n -0000368900 00000 n -0000367064 00000 n -0000369517 00000 n -0000369569 00000 n -0000369621 00000 n -0000369724 00000 n -0000369776 00000 n -0000369828 00000 n -0000369880 00000 n -0000369932 00000 n -0000369984 00000 n -0000370036 00000 n -0000370088 00000 n -0000370140 00000 n -0000370192 00000 n -0000370243 00000 n -0000370294 00000 n -0000370346 00000 n -0000370398 00000 n -0000370450 00000 n -0000372193 00000 n -0000372347 00000 n -0000372501 00000 n -0000374161 00000 n -0000372038 00000 n -0000370627 00000 n -0000372654 00000 n -0000372706 00000 n -0000372758 00000 n -0000372810 00000 n -0000372862 00000 n -0000372914 00000 n -0000372966 00000 n -0000373018 00000 n -0000373070 00000 n -0000373122 00000 n -0000373174 00000 n -0000373225 00000 n -0000373277 00000 n -0000373329 00000 n -0000373381 00000 n -0000373433 00000 n -0000373485 00000 n -0000373537 00000 n -0000373589 00000 n -0000373641 00000 n -0000373693 00000 n -0000373745 00000 n -0000373797 00000 n -0000373849 00000 n -0000373901 00000 n -0000373953 00000 n -0000374005 00000 n -0000374057 00000 n -0000374109 00000 n -0000721521 00000 n -0000376529 00000 n -0000375687 00000 n -0000374272 00000 n -0000375803 00000 n -0000375906 00000 n -0000375958 00000 n -0000376010 00000 n -0000376062 00000 n -0000376114 00000 n -0000376166 00000 n -0000376218 00000 n -0000376270 00000 n -0000376322 00000 n -0000376374 00000 n -0000376477 00000 n -0000378704 00000 n -0000378276 00000 n -0000376666 00000 n -0000378392 00000 n -0000378444 00000 n -0000378496 00000 n -0000378548 00000 n -0000378600 00000 n -0000378652 00000 n -0000381263 00000 n -0000381423 00000 n -0000382406 00000 n -0000381117 00000 n -0000378828 00000 n -0000381576 00000 n -0000381628 00000 n -0000381680 00000 n -0000381732 00000 n -0000381784 00000 n -0000381836 00000 n -0000381888 00000 n -0000381940 00000 n -0000381992 00000 n -0000382044 00000 n -0000382096 00000 n -0000382148 00000 n -0000382200 00000 n -0000382252 00000 n -0000384875 00000 n -0000384083 00000 n -0000382530 00000 n -0000384199 00000 n -0000384251 00000 n -0000384303 00000 n -0000384355 00000 n -0000384407 00000 n -0000384459 00000 n -0000384511 00000 n -0000384563 00000 n -0000384615 00000 n -0000384667 00000 n -0000384719 00000 n -0000384771 00000 n -0000384823 00000 n -0000386965 00000 n -0000386589 00000 n -0000384999 00000 n -0000386705 00000 n -0000386757 00000 n -0000386809 00000 n -0000386861 00000 n -0000386913 00000 n -0000389693 00000 n -0000388901 00000 n -0000387089 00000 n -0000389017 00000 n -0000389069 00000 n -0000389121 00000 n -0000389173 00000 n -0000389225 00000 n -0000389277 00000 n -0000389329 00000 n -0000389381 00000 n -0000389433 00000 n -0000389485 00000 n -0000389537 00000 n -0000389589 00000 n -0000389641 00000 n -0000721646 00000 n -0000392429 00000 n -0000391847 00000 n -0000389817 00000 n -0000391963 00000 n -0000392015 00000 n -0000392067 00000 n -0000392119 00000 n -0000392171 00000 n -0000392221 00000 n -0000392273 00000 n -0000392325 00000 n -0000392377 00000 n -0000002120 00000 f -0000002121 00000 f -0000002122 00000 f -0000002142 00000 f -0000397304 00000 n -0000397456 00000 n -0000395456 00000 n -0000394562 00000 n -0000392553 00000 n -0000394678 00000 n -0000394730 00000 n -0000394782 00000 n -0000394834 00000 n -0000394886 00000 n -0000394938 00000 n -0000394990 00000 n -0000395041 00000 n -0000395093 00000 n -0000395145 00000 n -0000395197 00000 n -0000395249 00000 n -0000395352 00000 n -0000395404 00000 n -0000002143 00000 f -0000002247 00000 f -0000397608 00000 n -0000398021 00000 n -0000397149 00000 n -0000395606 00000 n -0000397763 00000 n -0000397815 00000 n -0000397867 00000 n -0000397917 00000 n -0000397969 00000 n -0000400879 00000 n -0000401039 00000 n -0000401197 00000 n -0000401971 00000 n -0000400724 00000 n -0000398159 00000 n -0000401351 00000 n -0000401403 00000 n -0000401455 00000 n -0000401506 00000 n -0000401558 00000 n -0000401609 00000 n -0000401661 00000 n -0000401713 00000 n -0000401765 00000 n -0000401817 00000 n -0000401869 00000 n -0000404635 00000 n -0000404155 00000 n -0000402135 00000 n -0000404271 00000 n -0000404323 00000 n -0000404375 00000 n -0000404427 00000 n -0000404479 00000 n -0000404531 00000 n -0000404583 00000 n -0000414365 00000 n -0000406973 00000 n -0000414519 00000 n -0000414670 00000 n -0000414977 00000 n -0000406818 00000 n -0000404772 00000 n -0000414824 00000 n -0000414876 00000 n -0000721771 00000 n -0000412017 00000 n -0000412248 00000 n -0000412296 00000 n -0000412562 00000 n -0000412585 00000 n -0000412867 00000 n -0000412963 00000 n -0000566406 00000 n -0000417584 00000 n -0000416586 00000 n -0000415143 00000 n -0000416702 00000 n -0000416805 00000 n -0000416857 00000 n -0000416909 00000 n -0000416961 00000 n -0000417013 00000 n -0000417065 00000 n -0000417117 00000 n -0000417169 00000 n -0000417221 00000 n -0000417273 00000 n -0000417325 00000 n -0000417377 00000 n -0000417428 00000 n -0000417480 00000 n -0000417532 00000 n -0000420008 00000 n -0000418489 00000 n -0000417708 00000 n -0000418605 00000 n -0000418657 00000 n -0000418709 00000 n -0000418761 00000 n -0000418813 00000 n -0000418865 00000 n -0000418917 00000 n -0000418969 00000 n -0000419021 00000 n -0000419073 00000 n -0000419125 00000 n -0000419177 00000 n -0000419229 00000 n -0000419281 00000 n -0000419333 00000 n -0000419385 00000 n -0000419437 00000 n -0000419489 00000 n -0000419541 00000 n -0000419593 00000 n -0000419645 00000 n -0000419697 00000 n -0000419749 00000 n -0000419801 00000 n -0000419853 00000 n -0000419904 00000 n -0000419956 00000 n -0000002248 00000 f -0000002362 00000 f -0000421216 00000 n -0000422353 00000 n -0000421079 00000 n -0000420132 00000 n -0000421371 00000 n -0000421423 00000 n -0000421475 00000 n -0000421527 00000 n -0000421579 00000 n -0000421631 00000 n -0000421683 00000 n -0000421735 00000 n -0000421787 00000 n -0000421839 00000 n -0000421891 00000 n -0000421943 00000 n -0000421995 00000 n -0000422047 00000 n -0000422098 00000 n -0000422199 00000 n -0000422250 00000 n -0000422302 00000 n -0000424376 00000 n -0000424531 00000 n -0000425516 00000 n -0000424230 00000 n -0000422464 00000 n -0000424686 00000 n -0000424738 00000 n -0000424790 00000 n -0000424842 00000 n -0000424894 00000 n -0000424946 00000 n -0000424998 00000 n -0000425050 00000 n -0000425102 00000 n -0000425154 00000 n -0000425206 00000 n -0000425258 00000 n -0000425309 00000 n -0000425360 00000 n -0000425412 00000 n -0000425464 00000 n -0000429608 00000 n -0000427754 00000 n -0000428321 00000 n -0000427617 00000 n -0000425653 00000 n -0000427908 00000 n -0000427960 00000 n -0000428011 00000 n -0000428062 00000 n -0000428114 00000 n -0000428166 00000 n -0000428217 00000 n -0000428269 00000 n -0000437745 00000 n -0000429492 00000 n -0000428431 00000 n -0000437020 00000 n -0000437123 00000 n -0000437175 00000 n -0000437226 00000 n -0000437278 00000 n -0000437330 00000 n -0000437381 00000 n -0000437433 00000 n -0000437485 00000 n -0000437537 00000 n -0000437589 00000 n -0000437641 00000 n -0000437693 00000 n -0000721896 00000 n -0000434672 00000 n -0000434903 00000 n -0000434951 00000 n -0000435217 00000 n -0000435240 00000 n -0000435522 00000 n -0000435618 00000 n -0000440497 00000 n -0000439187 00000 n -0000437912 00000 n -0000439303 00000 n -0000439355 00000 n -0000439407 00000 n -0000439459 00000 n -0000439511 00000 n -0000439563 00000 n -0000439615 00000 n -0000439667 00000 n -0000439719 00000 n -0000439771 00000 n -0000439823 00000 n -0000439875 00000 n -0000439927 00000 n -0000439979 00000 n -0000440031 00000 n -0000440083 00000 n -0000440134 00000 n -0000440186 00000 n -0000440238 00000 n -0000440290 00000 n -0000440393 00000 n -0000440445 00000 n -0000442492 00000 n -0000442324 00000 n -0000440647 00000 n -0000442440 00000 n -0000444276 00000 n -0000444108 00000 n -0000442655 00000 n -0000444224 00000 n -0000002363 00000 f -0000000000 00000 f -0000448550 00000 n -0000446272 00000 n -0000445896 00000 n -0000444439 00000 n -0000446012 00000 n -0000446064 00000 n -0000446116 00000 n -0000446168 00000 n -0000446220 00000 n -0000451402 00000 n -0000448755 00000 n -0000448413 00000 n -0000446422 00000 n -0000448703 00000 n -0000451555 00000 n -0000451710 00000 n -0000451864 00000 n -0000452019 00000 n -0000452951 00000 n -0000451229 00000 n -0000448879 00000 n -0000452173 00000 n -0000452225 00000 n -0000452277 00000 n -0000452329 00000 n -0000452381 00000 n -0000452433 00000 n -0000452484 00000 n -0000452536 00000 n -0000452588 00000 n -0000452640 00000 n -0000452692 00000 n -0000452744 00000 n -0000452796 00000 n -0000452848 00000 n -0000722021 00000 n -0000455147 00000 n -0000455303 00000 n -0000455459 00000 n -0000455619 00000 n -0000455779 00000 n -0000455935 00000 n -0000461761 00000 n -0000457077 00000 n -0000454965 00000 n -0000453075 00000 n -0000456089 00000 n -0000456141 00000 n -0000456193 00000 n -0000456245 00000 n -0000456297 00000 n -0000456349 00000 n -0000456401 00000 n -0000456453 00000 n -0000456505 00000 n -0000456557 00000 n -0000456609 00000 n -0000456661 00000 n -0000456713 00000 n -0000456765 00000 n -0000456817 00000 n -0000456869 00000 n -0000456921 00000 n -0000456973 00000 n -0000457025 00000 n -0000458647 00000 n -0000462642 00000 n -0000458510 00000 n -0000457241 00000 n -0000461916 00000 n -0000461968 00000 n -0000462020 00000 n -0000462072 00000 n -0000462124 00000 n -0000462176 00000 n -0000462228 00000 n -0000462280 00000 n -0000462332 00000 n -0000462384 00000 n -0000462436 00000 n -0000462488 00000 n -0000459313 00000 n -0000459545 00000 n -0000459593 00000 n -0000459924 00000 n -0000459946 00000 n -0000460250 00000 n -0000460346 00000 n -0000464857 00000 n -0000465322 00000 n -0000464720 00000 n -0000462796 00000 n -0000465011 00000 n -0000465114 00000 n -0000465166 00000 n -0000465218 00000 n -0000465270 00000 n -0000468269 00000 n -0000467325 00000 n -0000465484 00000 n -0000467441 00000 n -0000467493 00000 n -0000467545 00000 n -0000467597 00000 n -0000467649 00000 n -0000467701 00000 n -0000467753 00000 n -0000467804 00000 n -0000467855 00000 n -0000467907 00000 n -0000467959 00000 n -0000468011 00000 n -0000468063 00000 n -0000468165 00000 n -0000468217 00000 n -0000471006 00000 n -0000470266 00000 n -0000468419 00000 n -0000470382 00000 n -0000470434 00000 n -0000470486 00000 n -0000470538 00000 n -0000470590 00000 n -0000470642 00000 n -0000470694 00000 n -0000470746 00000 n -0000470798 00000 n -0000470850 00000 n -0000470902 00000 n -0000470954 00000 n -0000473314 00000 n -0000472835 00000 n -0000471143 00000 n -0000472951 00000 n -0000473003 00000 n -0000473055 00000 n -0000473107 00000 n -0000473210 00000 n -0000473262 00000 n -0000722146 00000 n -0000475322 00000 n -0000474946 00000 n -0000473490 00000 n -0000475062 00000 n -0000475114 00000 n -0000475166 00000 n -0000475218 00000 n -0000475270 00000 n -0000477744 00000 n -0000477898 00000 n -0000478059 00000 n -0000479103 00000 n -0000477589 00000 n -0000475485 00000 n -0000478220 00000 n -0000478272 00000 n -0000478324 00000 n -0000478376 00000 n -0000478428 00000 n -0000478480 00000 n -0000478583 00000 n -0000478635 00000 n -0000478687 00000 n -0000478739 00000 n -0000478791 00000 n -0000478843 00000 n -0000478895 00000 n -0000478947 00000 n -0000478999 00000 n -0000479051 00000 n -0000481799 00000 n -0000481960 00000 n -0000482121 00000 n -0000482277 00000 n -0000483054 00000 n -0000481635 00000 n -0000479227 00000 n -0000482433 00000 n -0000482485 00000 n -0000482537 00000 n -0000482589 00000 n -0000482641 00000 n -0000482693 00000 n -0000482745 00000 n -0000482797 00000 n -0000482848 00000 n -0000482900 00000 n -0000483002 00000 n -0000484778 00000 n -0000484558 00000 n -0000483178 00000 n -0000484674 00000 n -0000484726 00000 n -0000486607 00000 n -0000486439 00000 n -0000484902 00000 n -0000486555 00000 n -0000488082 00000 n -0000487810 00000 n -0000486770 00000 n -0000487926 00000 n -0000487978 00000 n -0000488030 00000 n -0000722271 00000 n -0000490119 00000 n -0000489847 00000 n -0000488232 00000 n -0000489963 00000 n -0000490015 00000 n -0000490067 00000 n -0000492657 00000 n -0000492810 00000 n -0000492963 00000 n -0000493118 00000 n -0000493278 00000 n -0000493432 00000 n -0000493592 00000 n -0000494272 00000 n -0000492466 00000 n -0000490282 00000 n -0000493752 00000 n -0000493804 00000 n -0000493856 00000 n -0000493908 00000 n -0000493960 00000 n -0000494012 00000 n -0000494064 00000 n -0000494116 00000 n -0000494168 00000 n -0000494220 00000 n -0000496385 00000 n -0000496539 00000 n -0000496699 00000 n -0000497480 00000 n -0000496230 00000 n -0000494422 00000 n -0000496860 00000 n -0000496963 00000 n -0000497015 00000 n -0000497066 00000 n -0000497117 00000 n -0000497168 00000 n -0000497220 00000 n -0000497272 00000 n -0000497324 00000 n -0000497376 00000 n -0000497428 00000 n -0000499323 00000 n -0000499513 00000 n -0000499701 00000 n -0000500061 00000 n -0000499168 00000 n -0000497604 00000 n -0000499856 00000 n -0000566662 00000 n -0000502665 00000 n -0000503075 00000 n -0000502528 00000 n -0000500159 00000 n -0000502819 00000 n -0000506034 00000 n -0000505713 00000 n -0000503186 00000 n -0000505829 00000 n -0000722396 00000 n -0000507079 00000 n -0000506911 00000 n -0000506145 00000 n -0000507027 00000 n -0000508540 00000 n -0000508692 00000 n -0000508846 00000 n -0000509006 00000 n -0000509164 00000 n -0000509324 00000 n -0000509479 00000 n -0000509639 00000 n -0000509799 00000 n -0000509954 00000 n -0000510114 00000 n -0000510427 00000 n -0000508313 00000 n -0000507164 00000 n -0000510274 00000 n -0000512441 00000 n -0000512171 00000 n -0000510551 00000 n -0000512287 00000 n -0000514303 00000 n -0000514084 00000 n -0000512604 00000 n -0000514200 00000 n -0000515455 00000 n -0000515287 00000 n -0000514440 00000 n -0000515403 00000 n -0000516614 00000 n -0000516446 00000 n -0000515553 00000 n -0000516562 00000 n -0000722521 00000 n -0000517727 00000 n -0000517559 00000 n -0000516712 00000 n -0000517675 00000 n -0000518815 00000 n -0000518647 00000 n -0000517825 00000 n -0000518763 00000 n -0000519921 00000 n -0000519753 00000 n -0000518913 00000 n -0000519869 00000 n -0000520986 00000 n -0000520818 00000 n -0000520019 00000 n -0000520934 00000 n -0000522031 00000 n -0000521863 00000 n -0000521084 00000 n -0000521979 00000 n -0000523096 00000 n -0000522928 00000 n -0000522129 00000 n -0000523044 00000 n -0000722646 00000 n -0000524172 00000 n -0000524004 00000 n -0000523194 00000 n -0000524120 00000 n -0000525240 00000 n -0000525072 00000 n -0000524270 00000 n -0000525188 00000 n -0000526331 00000 n -0000526163 00000 n -0000525338 00000 n -0000526279 00000 n -0000527408 00000 n -0000527240 00000 n -0000526429 00000 n -0000527356 00000 n -0000528495 00000 n -0000528327 00000 n -0000527506 00000 n -0000528443 00000 n -0000529571 00000 n -0000529403 00000 n -0000528593 00000 n -0000529519 00000 n -0000722771 00000 n -0000530661 00000 n -0000530493 00000 n -0000529669 00000 n -0000530609 00000 n -0000531742 00000 n -0000531574 00000 n -0000530759 00000 n -0000531690 00000 n -0000532843 00000 n -0000532675 00000 n -0000531840 00000 n -0000532791 00000 n -0000533925 00000 n -0000533757 00000 n -0000532941 00000 n -0000533873 00000 n -0000535019 00000 n -0000534851 00000 n -0000534023 00000 n -0000534967 00000 n -0000536097 00000 n -0000535929 00000 n -0000535117 00000 n -0000536045 00000 n -0000722896 00000 n -0000537199 00000 n -0000537031 00000 n -0000536195 00000 n -0000537147 00000 n -0000538301 00000 n -0000538133 00000 n -0000537297 00000 n -0000538249 00000 n -0000539449 00000 n -0000539281 00000 n -0000538399 00000 n -0000539397 00000 n -0000540540 00000 n -0000540372 00000 n -0000539547 00000 n -0000540488 00000 n -0000541631 00000 n -0000541463 00000 n -0000540638 00000 n -0000541579 00000 n -0000542716 00000 n -0000542548 00000 n -0000541729 00000 n -0000542664 00000 n -0000723021 00000 n -0000543815 00000 n -0000543647 00000 n -0000542814 00000 n -0000543763 00000 n -0000544907 00000 n -0000544739 00000 n -0000543913 00000 n -0000544855 00000 n -0000546002 00000 n -0000545834 00000 n -0000545005 00000 n -0000545950 00000 n -0000547151 00000 n -0000546983 00000 n -0000546100 00000 n -0000547099 00000 n -0000548257 00000 n -0000548089 00000 n -0000547249 00000 n -0000548205 00000 n -0000549347 00000 n -0000549179 00000 n -0000548355 00000 n -0000549295 00000 n -0000723146 00000 n -0000550436 00000 n -0000550268 00000 n -0000549445 00000 n -0000550384 00000 n -0000551516 00000 n -0000551348 00000 n -0000550534 00000 n -0000551464 00000 n -0000552597 00000 n -0000552429 00000 n -0000551614 00000 n -0000552545 00000 n -0000553550 00000 n -0000553382 00000 n -0000552695 00000 n -0000553498 00000 n -0000554652 00000 n -0000554484 00000 n -0000553648 00000 n -0000554600 00000 n -0000555743 00000 n -0000555575 00000 n -0000554750 00000 n -0000555691 00000 n -0000723271 00000 n -0000556835 00000 n -0000556667 00000 n -0000555841 00000 n -0000556783 00000 n -0000557914 00000 n -0000557746 00000 n -0000556933 00000 n -0000557862 00000 n -0000558374 00000 n -0000558206 00000 n -0000558012 00000 n -0000558322 00000 n -0000561375 00000 n -0000561542 00000 n -0000559909 00000 n -0000561720 00000 n -0000561990 00000 n -0000559754 00000 n -0000558459 00000 n -0000561887 00000 n -0000561072 00000 n -0000561305 00000 n -0000561353 00000 n -0000562497 00000 n -0000562329 00000 n -0000562130 00000 n -0000562445 00000 n -0000564591 00000 n -0000564956 00000 n -0000565330 00000 n -0000565514 00000 n -0000565884 00000 n -0000567567 00000 n -0000566867 00000 n -0000564382 00000 n -0000562582 00000 n -0000566251 00000 n -0000566303 00000 n -0000564773 00000 n -0000565142 00000 n -0000565699 00000 n -0000566067 00000 n -0000723396 00000 n -0000568038 00000 n -0000567421 00000 n -0000566978 00000 n -0000567935 00000 n -0000567751 00000 n -0000568149 00000 n -0000568205 00000 n -0000568285 00000 n -0000568705 00000 n -0000568816 00000 n -0000568962 00000 n -0000569289 00000 n -0000569534 00000 n -0000569765 00000 n -0000570016 00000 n -0000570771 00000 n -0000571064 00000 n -0000571188 00000 n -0000571271 00000 n -0000571689 00000 n -0000572036 00000 n -0000572713 00000 n -0000573357 00000 n -0000573721 00000 n -0000574340 00000 n -0000574976 00000 n -0000575653 00000 n -0000575906 00000 n -0000576597 00000 n -0000577235 00000 n -0000577883 00000 n -0000578290 00000 n -0000578936 00000 n -0000592638 00000 n -0000593056 00000 n -0000605293 00000 n -0000605717 00000 n -0000607994 00000 n -0000608222 00000 n -0000611063 00000 n -0000611305 00000 n -0000615481 00000 n -0000615728 00000 n -0000619755 00000 n -0000620279 00000 n -0000628783 00000 n -0000629115 00000 n -0000631693 00000 n -0000631921 00000 n -0000636680 00000 n -0000636941 00000 n -0000654074 00000 n -0000654645 00000 n -0000660064 00000 n -0000660348 00000 n -0000664013 00000 n -0000664258 00000 n -0000668051 00000 n -0000668319 00000 n -0000676548 00000 n -0000676879 00000 n -0000681087 00000 n -0000681540 00000 n -0000682857 00000 n -0000683090 00000 n -0000698568 00000 n -0000698975 00000 n -0000700912 00000 n -0000701138 00000 n -0000703492 00000 n -0000703721 00000 n -0000715871 00000 n -0000723485 00000 n -0000723605 00000 n -0000723729 00000 n -0000723855 00000 n -0000723981 00000 n -0000724107 00000 n -0000724224 00000 n -0000724334 00000 n -0000733921 00000 n -0000734104 00000 n -0000734289 00000 n -0000734473 00000 n -0000734658 00000 n -0000734841 00000 n -0000735024 00000 n -0000735209 00000 n -0000735393 00000 n -0000735578 00000 n -0000735762 00000 n -0000735947 00000 n -0000736131 00000 n -0000736316 00000 n -0000736500 00000 n -0000736685 00000 n -0000736868 00000 n -0000737051 00000 n -0000737236 00000 n -0000737417 00000 n -0000737602 00000 n -0000737786 00000 n -0000737971 00000 n -0000738155 00000 n -0000738340 00000 n -0000738524 00000 n -0000738709 00000 n -0000738893 00000 n -0000739078 00000 n -0000739261 00000 n -0000739444 00000 n -0000739629 00000 n -0000739813 00000 n -0000739998 00000 n -0000740182 00000 n -0000740367 00000 n -0000740551 00000 n -0000740736 00000 n -0000740918 00000 n -0000741103 00000 n -0000741287 00000 n -0000741472 00000 n -0000741655 00000 n -0000741838 00000 n -0000742023 00000 n -0000742207 00000 n -0000742392 00000 n -0000742576 00000 n -0000742761 00000 n -0000742945 00000 n -0000743130 00000 n -0000743314 00000 n -0000743499 00000 n -0000743682 00000 n -0000743865 00000 n -0000744050 00000 n -0000744231 00000 n -0000744416 00000 n -0000744600 00000 n -0000744785 00000 n -0000744969 00000 n -0000745154 00000 n -0000745338 00000 n -0000745523 00000 n -0000745707 00000 n -0000745892 00000 n -0000746075 00000 n -0000746258 00000 n -0000746443 00000 n -0000746627 00000 n -0000746812 00000 n -0000746996 00000 n -0000747181 00000 n -0000747365 00000 n -0000747550 00000 n -0000747732 00000 n -0000747917 00000 n -0000748101 00000 n -0000748286 00000 n -0000748469 00000 n -0000748652 00000 n -0000748837 00000 n -0000749021 00000 n -0000749206 00000 n -0000749390 00000 n -0000749575 00000 n -0000749759 00000 n -0000749944 00000 n -0000750128 00000 n -0000750313 00000 n -0000750496 00000 n -0000750679 00000 n -0000750864 00000 n -0000751045 00000 n -0000751230 00000 n -0000751414 00000 n -0000751599 00000 n -0000751783 00000 n -0000751968 00000 n -0000752152 00000 n -0000752337 00000 n -0000752521 00000 n -0000752706 00000 n -0000752889 00000 n -0000753072 00000 n -0000753257 00000 n -0000753441 00000 n -0000753626 00000 n -0000753810 00000 n -0000753995 00000 n -0000754179 00000 n -0000754364 00000 n -0000754546 00000 n -0000754731 00000 n -0000754915 00000 n -0000755100 00000 n -0000755283 00000 n -0000755466 00000 n -0000755651 00000 n -0000755835 00000 n -0000756020 00000 n -0000756204 00000 n -0000756384 00000 n -0000756559 00000 n -0000756734 00000 n -0000756911 00000 n -0000757099 00000 n -0000757294 00000 n -0000757478 00000 n -0000757674 00000 n -0000757888 00000 n -0000758102 00000 n -0000758317 00000 n -0000758524 00000 n -0000758719 00000 n -0000758914 00000 n -0000759109 00000 n -0000759294 00000 n -0000759479 00000 n -0000759662 00000 n -0000759847 00000 n -0000760030 00000 n -0000760215 00000 n -0000760398 00000 n -0000760583 00000 n -0000760766 00000 n -0000760951 00000 n -0000761133 00000 n -0000761315 00000 n -0000761500 00000 n -0000761683 00000 n -0000761868 00000 n -0000762051 00000 n -0000762236 00000 n -0000762413 00000 n -0000762584 00000 n -0000762754 00000 n -0000762931 00000 n -0000763106 00000 n -0000763283 00000 n -0000763458 00000 n -0000763635 00000 n -0000763809 00000 n -0000763983 00000 n -0000764160 00000 n -0000764335 00000 n -0000764512 00000 n -0000764687 00000 n -0000764864 00000 n -0000765037 00000 n -0000765208 00000 n -0000765398 00000 n -0000765615 00000 n -0000765830 00000 n -0000766047 00000 n -0000766262 00000 n -0000766479 00000 n -0000766694 00000 n -0000766908 00000 n -0000767113 00000 n -0000767322 00000 n -0000767531 00000 n -0000767740 00000 n -0000767949 00000 n -0000768158 00000 n -0000768367 00000 n -0000768574 00000 n -0000768783 00000 n -0000768990 00000 n -0000769199 00000 n -0000769406 00000 n -0000769615 00000 n -0000769821 00000 n -0000770028 00000 n -0000770225 00000 n -0000770422 00000 n -0000770623 00000 n -0000770826 00000 n -0000771032 00000 n -0000771235 00000 n -0000771447 00000 n -0000771686 00000 n -0000771929 00000 n -0000772172 00000 n -0000772415 00000 n -0000772661 00000 n -0000772904 00000 n -0000773147 00000 n -0000773390 00000 n -0000773581 00000 n -0000773782 00000 n -0000773981 00000 n -0000774170 00000 n -0000774367 00000 n -0000774566 00000 n -0000774764 00000 n -0000774962 00000 n -0000775162 00000 n -0000775361 00000 n -0000775560 00000 n -0000775759 00000 n -0000775960 00000 n -0000776160 00000 n -0000776360 00000 n -0000776559 00000 n -0000776759 00000 n -0000776958 00000 n -0000777155 00000 n -0000777273 00000 n -0000777391 00000 n -0000777509 00000 n -0000777627 00000 n -0000777744 00000 n -0000777862 00000 n -0000777980 00000 n -0000778098 00000 n -0000778215 00000 n -0000778333 00000 n -0000778451 00000 n -0000778569 00000 n -0000778687 00000 n -0000778804 00000 n -0000778922 00000 n -0000779040 00000 n -0000779158 00000 n -0000779275 00000 n -0000779393 00000 n -0000779511 00000 n -0000779631 00000 n -0000779755 00000 n -0000779877 00000 n -0000779995 00000 n -0000780113 00000 n -0000780230 00000 n -0000780346 00000 n -0000780462 00000 n -0000780583 00000 n -0000780708 00000 n -0000780832 00000 n -0000780956 00000 n -0000781080 00000 n -0000781209 00000 n -0000781337 00000 n -0000781458 00000 n -0000781580 00000 n -0000781692 00000 n -0000781811 00000 n -0000781929 00000 n -0000782047 00000 n -0000782165 00000 n -0000782286 00000 n -0000782408 00000 n -0000782493 00000 n -0000782613 00000 n -0000782689 00000 n -0000782773 00000 n -0000782813 00000 n -0000783007 00000 n -trailer -<< /Size 3216 -/Root 3214 0 R -/Info 3215 0 R -/ID [<200D38A9CFCF7E0C179520B7E57747C4> <200D38A9CFCF7E0C179520B7E57747C4>] >> -startxref -783339 -%%EOF diff --git a/Libraries/libtheora-1.1.1/doc/spec/fdct.fig b/Libraries/libtheora-1.1.1/doc/spec/fdct.fig deleted file mode 100644 index e35c758c..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/fdct.fig +++ /dev/null @@ -1,371 +0,0 @@ -#FIG 3.2 -Landscape -Center -Inches -Letter -100.00 -Single --2 -1200 2 -6 1350 4650 1650 4950 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 1500 4800 75 75 1500 4800 1500 4725 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 1450 4800 1550 4800 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 1500 4850 1500 4750 --6 -6 1350 450 1650 750 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 1500 600 75 75 1500 600 1500 525 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 1450 600 1550 600 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 1500 650 1500 550 --6 -6 1950 1050 2250 1350 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 2100 1200 75 75 2100 1200 2100 1125 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 2050 1200 2150 1200 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 2100 1250 2100 1150 --6 -6 3150 2850 3450 3150 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 3300 3000 75 75 3300 3000 3300 2925 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 3250 3000 3350 3000 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 3300 3050 3300 2950 --6 -6 3150 2250 3450 2550 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 3300 2400 75 75 3300 2400 3300 2325 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 3250 2400 3350 2400 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 3300 2450 3300 2350 --6 -6 2550 3450 2850 3750 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 2700 3600 75 75 2700 3600 2700 3525 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 2650 3600 2750 3600 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 2700 3650 2700 3550 --6 -6 2550 1650 2850 1950 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 2700 1800 75 75 2700 1800 2700 1725 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 2650 1800 2750 1800 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 2700 1850 2700 1750 --6 -6 1950 4050 2250 4350 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 2100 4200 75 75 2100 4200 2100 4125 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 2050 4200 2150 4200 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 2100 4250 2100 4150 --6 -6 2250 3600 2550 3900 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 2400 3750 75 75 2400 3750 2400 3675 -4 1 0 40 -1 0 12 0.0000 4 15 60 2400 3800 -\001 --6 -6 1650 4200 1950 4500 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 1800 4350 75 75 1800 4350 1800 4275 -4 1 0 40 -1 0 12 0.0000 4 15 60 1800 4400 -\001 --6 -6 1050 4800 1350 5100 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 1200 4950 75 75 1200 4950 1200 4875 -4 1 0 40 -1 0 12 0.0000 4 15 60 1200 5000 -\001 --6 -6 2850 3000 3150 3300 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 3000 3150 75 75 3000 3150 3000 3075 -4 1 0 40 -1 0 12 0.0000 4 15 60 3000 3200 -\001 --6 -6 4350 4050 4650 4350 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 4500 4200 75 75 4500 4200 4500 4125 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 4450 4200 4550 4200 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 4500 4250 4500 4150 --6 -6 4350 3450 4650 3750 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 4500 3600 75 75 4500 3600 4500 3525 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 4450 3600 4550 3600 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 4500 3650 4500 3550 --6 -6 4050 3300 4350 3600 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 4200 3450 75 75 4200 3450 4200 3375 -4 1 0 40 -1 0 12 0.0000 4 15 60 4200 3500 -\001 --6 -6 4350 2250 4650 2550 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 4500 2400 75 75 4500 2400 4500 2325 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 4450 2400 4550 2400 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 4500 2450 4500 2350 --6 -6 4350 450 4650 750 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 4500 600 75 75 4500 600 4500 525 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 4450 600 4550 600 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 4500 650 4500 550 --6 -6 4050 2400 4350 2700 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 4200 2550 75 75 4200 2550 4200 2475 -4 1 0 40 -1 0 12 0.0000 4 15 60 4200 2600 -\001 --6 -6 4950 1050 5250 1350 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 5100 1200 75 75 5100 1200 5100 1125 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 5050 1200 5150 1200 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 5100 1250 5100 1150 --6 -6 4950 1650 5250 1950 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 5100 1800 75 75 5100 1800 5100 1725 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 5050 1800 5150 1800 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 5100 1850 5100 1750 --6 -6 4650 1800 4950 2100 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 4800 1950 75 75 4800 1950 4800 1875 -4 1 0 40 -1 0 12 0.0000 4 15 60 4800 2000 -\001 --6 -6 4725 3525 4875 4275 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 4800 4200 25 25 4800 4200 4800 4175 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 4800 3600 25 25 4800 3600 4800 3575 --6 -6 6150 4650 6450 4950 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 6300 4800 75 75 6300 4800 6300 4725 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6250 4800 6350 4800 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6300 4850 6300 4750 --6 -6 6150 4050 6450 4350 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 6300 4200 75 75 6300 4200 6300 4125 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6250 4200 6350 4200 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6300 4250 6300 4150 --6 -6 5850 3900 6150 4200 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 6000 4050 75 75 6000 4050 6000 3975 -4 1 0 40 -1 0 12 0.0000 4 15 60 6000 4100 -\001 --6 -6 6150 2850 6450 3150 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 6300 3000 75 75 6300 3000 6300 2925 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6250 3000 6350 3000 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6300 3050 6300 2950 --6 -6 6150 3450 6450 3750 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 6300 3600 75 75 6300 3600 6300 3525 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6250 3600 6350 3600 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6300 3650 6300 3550 --6 -6 5850 3600 6150 3900 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 6000 3750 75 75 6000 3750 6000 3675 -4 1 0 40 -1 0 12 0.0000 4 15 60 6000 3800 -\001 --6 -6 6150 1050 6450 1350 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 6300 1200 75 75 6300 1200 6300 1125 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6250 1200 6350 1200 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6300 1250 6300 1150 --6 -6 6150 450 6450 750 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 6300 600 75 75 6300 600 6300 525 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6250 600 6350 600 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6300 650 6300 550 --6 -6 6150 2250 6450 2550 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 6300 2400 75 75 6300 2400 6300 2325 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6250 2400 6350 2400 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6300 2450 6300 2350 --6 -6 6150 1650 6450 1950 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 6300 1800 75 75 6300 1800 6300 1725 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6250 1800 6350 1800 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6300 1850 6300 1750 --6 -6 5850 1200 6150 1500 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 6000 1350 75 75 6000 1350 6000 1275 -4 1 0 40 -1 0 12 0.0000 4 15 60 6000 1400 -\001 --6 -6 7350 4650 7650 4950 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 7500 4800 75 75 7500 4800 7500 4725 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 7450 4800 7550 4800 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 7500 4850 7500 4750 --6 -6 7350 2850 7650 3150 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 7500 3000 75 75 7500 3000 7500 2925 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 7450 3000 7550 3000 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 7500 3050 7500 2950 --6 -6 7950 4050 8250 4350 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 8100 4200 75 75 8100 4200 8100 4125 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 8050 4200 8150 4200 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 8100 4250 8100 4150 --6 -6 7950 3450 8250 3750 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 8100 3600 75 75 8100 3600 8100 3525 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 8050 3600 8150 3600 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 8100 3650 8100 3550 --6 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 900 4800 25 25 900 4800 900 4775 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 900 600 25 25 900 600 900 575 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 1500 1200 25 25 1500 1200 1500 1175 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 2700 3000 25 25 2700 3000 2700 2975 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 2700 2400 25 25 2700 2400 2700 2375 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 2100 3600 25 25 2100 3600 2100 3575 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 1500 4200 25 25 1500 4200 1500 4175 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 3900 4200 25 25 3900 4200 3900 4175 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 3900 3600 25 25 3900 3600 3900 3575 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 3900 2400 25 25 3900 2400 3900 2375 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 3900 600 25 25 3900 600 3900 575 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 4500 1200 25 25 4500 1200 4500 1175 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 4500 1800 25 25 4500 1800 4500 1775 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 5700 4800 25 25 5700 4800 5700 4775 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 5700 4200 25 25 5700 4200 5700 4175 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 5700 3600 25 25 5700 3600 5700 3575 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 5700 3000 25 25 5700 3000 5700 2975 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 5700 1200 25 25 5700 1200 5700 1175 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 5700 600 25 25 5700 600 5700 575 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 5700 2400 25 25 5700 2400 5700 2375 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 5725 1800 25 25 5725 1800 5725 1775 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 6900 4800 25 25 6900 4800 6900 4775 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 6900 3000 25 25 6900 3000 6900 2975 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 7500 4200 25 25 7500 4200 7500 4175 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 7500 3600 25 25 7500 3600 7500 3575 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 7500 1200 25 25 7500 1200 7500 1175 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 7500 600 25 25 7500 600 7500 575 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 2100 1800 25 25 2100 1800 2100 1775 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 600 600 8400 600 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 600 2400 8400 2400 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 600 3000 8400 3000 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 600 4800 8400 4800 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 600 1200 8400 1200 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 600 3600 8400 3600 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 600 1800 8400 1800 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 600 4200 8400 4200 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 900 4800 1500 600 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 900 600 1500 4800 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 1500 1200 2100 4275 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 1500 4200 2100 1200 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 2100 3600 2700 1800 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 2700 2400 3300 3000 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 2100 1800 2700 3600 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 2700 3000 3300 2400 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 3900 3600 4500 4200 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 3900 4200 4500 3600 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 3900 600 4500 2400 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 3900 2400 4500 600 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 4500 1800 5100 1200 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 4500 1200 5100 1800 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 5700 4200 6300 4800 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 5700 3600 6300 3000 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 5700 3000 6300 3600 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 5700 4800 6300 4200 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 - 5700 1200 6300 600 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 - 5700 600 6300 1200 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 - 5700 1800 6300 2400 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 - 5700 2400 6300 1800 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 6900 3000 7500 4800 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 6900 4800 7500 3000 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 7500 4200 8100 3600 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 7500 3600 8100 4200 -4 1 0 40 -1 0 12 0.0000 4 135 210 4800 4125 C4\001 -4 1 0 40 -1 0 12 0.0000 4 135 210 4800 3525 C4\001 -4 1 0 40 -1 0 12 0.0000 4 135 210 6000 2350 C6\001 -4 1 0 40 -1 0 12 0.0000 4 135 255 6300 2275 -S6\001 -4 1 0 40 -1 0 12 0.0000 4 135 210 6000 1750 C6\001 -4 1 0 40 -1 0 12 0.0000 4 135 195 6300 2050 S6\001 -4 1 0 40 -1 0 12 0.0000 4 135 210 7200 2950 C7\001 -4 1 0 40 -1 0 12 0.0000 4 135 195 7500 3375 S7\001 -4 1 0 40 -1 0 12 0.0000 4 135 210 7200 4750 C7\001 -4 1 0 40 -1 0 12 0.0000 4 135 255 7500 4575 -S7\001 -4 1 0 40 -1 0 12 0.0000 4 135 210 7800 4150 C3\001 -4 1 0 40 -1 0 12 0.0000 4 135 255 8100 4075 -S3\001 -4 1 0 40 -1 0 12 0.0000 4 135 210 7800 3550 C3\001 -4 1 0 40 -1 0 12 0.0000 4 135 195 8100 3850 S3\001 -4 1 0 40 -1 0 12 0.0000 4 135 210 7500 1125 C4\001 -4 1 0 40 -1 0 12 0.0000 4 135 210 7500 525 C4\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 8700 675 0\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 8700 1275 4\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 8700 1875 2\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 8700 2475 6\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 8700 3675 5\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 8700 4275 3\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 8700 4875 7\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 8700 3075 1\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 300 675 0\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 300 1275 1\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 300 1875 2\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 300 2475 3\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 300 3075 4\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 300 3675 5\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 300 4275 6\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 300 4875 7\001 diff --git a/Libraries/libtheora-1.1.1/doc/spec/hilbert-block.fig b/Libraries/libtheora-1.1.1/doc/spec/hilbert-block.fig deleted file mode 100644 index 8316c5d1..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/hilbert-block.fig +++ /dev/null @@ -1,104 +0,0 @@ -#FIG 3.2 Produced by xfig version 3.2.5-alpha4 -Landscape -Center -Metric -A4 -100.00 -Single --2 -1200 2 -6 675 645 3825 3795 -4 1 0 50 0 1 12 0.0000 0 150 105 900 3660 0\001 -4 1 0 50 0 1 12 0.0000 0 150 105 1800 3660 1\001 -4 1 0 50 0 1 12 0.0000 0 150 105 1800 2760 2\001 -4 1 0 50 0 1 12 0.0000 0 150 105 900 2760 3\001 -4 1 0 50 0 1 12 0.0000 0 150 105 900 1860 4\001 -4 1 0 50 0 1 12 0.0000 0 150 105 900 960 5\001 -4 1 0 50 0 1 12 0.0000 0 150 105 1800 960 6\001 -4 1 0 50 0 1 12 0.0000 0 150 105 1800 1860 7\001 -4 1 0 50 0 1 12 0.0000 0 150 105 2700 1860 8\001 -4 1 0 50 0 1 12 0.0000 0 150 105 2700 960 9\001 -4 1 0 50 0 1 12 0.0000 0 150 210 3600 960 10\001 -4 1 0 50 0 1 12 0.0000 0 150 210 3600 1860 11\001 -4 1 0 50 0 1 12 0.0000 0 150 210 3600 2760 12\001 -4 1 0 50 0 1 12 0.0000 0 150 210 2700 2760 13\001 -4 1 0 50 0 1 12 0.0000 0 150 210 2700 3660 14\001 -4 1 0 50 0 1 12 0.0000 0 150 210 3600 3660 15\001 --6 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 1125 3600 1575 3600 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 1800 3375 1800 2925 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 1575 2700 1125 2700 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 900 2475 900 2025 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 900 1575 900 1125 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 1125 900 1575 900 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 1800 1125 1800 1575 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 2025 1800 2475 1800 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 2700 1575 2700 1125 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 2925 900 3375 900 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 3600 1125 3600 1575 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 3600 2025 3600 2475 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 3375 2700 2925 2700 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 2700 2925 2700 3375 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 2925 3600 3375 3600 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 450 450 1350 450 1350 1350 450 1350 450 450 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1350 450 2250 450 2250 1350 1350 1350 1350 450 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2250 450 3150 450 3150 1350 2250 1350 2250 450 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 3150 450 4050 450 4050 1350 3150 1350 3150 450 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 450 1350 1350 1350 1350 2250 450 2250 450 1350 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1350 1350 2250 1350 2250 2250 1350 2250 1350 1350 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2250 1350 3150 1350 3150 2250 2250 2250 2250 1350 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 3150 1350 4050 1350 4050 2250 3150 2250 3150 1350 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 450 2250 1350 2250 1350 3150 450 3150 450 2250 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1350 2250 2250 2250 2250 3150 1350 3150 1350 2250 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2250 2250 3150 2250 3150 3150 2250 3150 2250 2250 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 3150 2250 4050 2250 4050 3150 3150 3150 3150 2250 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 450 3150 1350 3150 1350 4050 450 4050 450 3150 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1350 3150 2250 3150 2250 4050 1350 4050 1350 3150 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2250 3150 3150 3150 3150 4050 2250 4050 2250 3150 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 3150 3150 4050 3150 4050 4050 3150 4050 3150 3150 diff --git a/Libraries/libtheora-1.1.1/doc/spec/hilbert-mb.fig b/Libraries/libtheora-1.1.1/doc/spec/hilbert-mb.fig deleted file mode 100644 index 0ed12a76..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/hilbert-mb.fig +++ /dev/null @@ -1,32 +0,0 @@ -#FIG 3.2 Produced by xfig version 3.2.5-alpha4 -Landscape -Center -Metric -A4 -100.00 -Single --2 -1200 2 -6 810 810 1890 1890 -4 1 0 50 0 1 12 0.0000 0 150 105 900 1860 0\001 -4 1 0 50 0 1 12 0.0000 0 150 105 900 960 1\001 -4 1 0 50 0 1 12 0.0000 0 150 105 1800 960 2\001 -4 1 0 50 0 1 12 0.0000 0 150 105 1800 1860 3\001 --6 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 900 1575 900 1125 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 1125 900 1575 900 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 1800 1125 1800 1575 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 450 450 1350 450 1350 1350 450 1350 450 450 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1350 450 2250 450 2250 1350 1350 1350 1350 450 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 450 1350 1350 1350 1350 2250 450 2250 450 1350 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1350 1350 2250 1350 2250 2250 1350 2250 1350 1350 diff --git a/Libraries/libtheora-1.1.1/doc/spec/idct.fig b/Libraries/libtheora-1.1.1/doc/spec/idct.fig deleted file mode 100644 index 2d4388c4..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/idct.fig +++ /dev/null @@ -1,369 +0,0 @@ -#FIG 3.2 -Landscape -Center -Inches -Letter -100.00 -Single --2 -1200 2 -6 3150 4650 3450 4950 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 3300 4800 75 75 3300 4800 3300 4725 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 3250 4800 3350 4800 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 3300 4850 3300 4750 --6 -6 3150 4050 3450 4350 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 3300 4200 75 75 3300 4200 3300 4125 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 3250 4200 3350 4200 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 3300 4250 3300 4150 --6 -6 2850 3900 3150 4200 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 3000 4050 75 75 3000 4050 3000 3975 -4 1 0 40 -1 0 12 0.0000 4 15 60 3000 4100 -\001 --6 -6 3150 2850 3450 3150 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 3300 3000 75 75 3300 3000 3300 2925 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 3250 3000 3350 3000 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 3300 3050 3300 2950 --6 -6 3150 3450 3450 3750 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 3300 3600 75 75 3300 3600 3300 3525 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 3250 3600 3350 3600 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 3300 3650 3300 3550 --6 -6 2850 3600 3150 3900 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 3000 3750 75 75 3000 3750 3000 3675 -4 1 0 40 -1 0 12 0.0000 4 15 60 3000 3800 -\001 --6 -6 1950 1050 2250 1350 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 2100 1200 75 75 2100 1200 2100 1125 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 2050 1200 2150 1200 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 2100 1250 2100 1150 --6 -6 1950 450 2250 750 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 2100 600 75 75 2100 600 2100 525 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 2050 600 2150 600 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 2100 650 2100 550 --6 -6 1950 2250 2250 2550 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 2100 2400 75 75 2100 2400 2100 2325 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 2050 2400 2150 2400 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 2100 2450 2100 2350 --6 -6 1950 1650 2250 1950 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 2100 1800 75 75 2100 1800 2100 1725 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 2050 1800 2150 1800 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 2100 1850 2100 1750 --6 -6 1650 1200 1950 1500 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 1800 1350 75 75 1800 1350 1800 1275 -4 1 0 40 -1 0 12 0.0000 4 15 60 1800 1400 -\001 --6 -6 6150 4650 6450 4950 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 6300 4800 75 75 6300 4800 6300 4725 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6250 4800 6350 4800 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6300 4850 6300 4750 --6 -6 6150 450 6450 750 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 6300 600 75 75 6300 600 6300 525 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6250 600 6350 600 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6300 650 6300 550 --6 -6 6750 1050 7050 1350 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 6900 1200 75 75 6900 1200 6900 1125 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6850 1200 6950 1200 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6900 1250 6900 1150 --6 -6 7950 2850 8250 3150 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 8100 3000 75 75 8100 3000 8100 2925 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 8050 3000 8150 3000 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 8100 3050 8100 2950 --6 -6 7950 2250 8250 2550 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 8100 2400 75 75 8100 2400 8100 2325 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 8050 2400 8150 2400 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 8100 2450 8100 2350 --6 -6 7350 3450 7650 3750 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 7500 3600 75 75 7500 3600 7500 3525 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 7450 3600 7550 3600 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 7500 3650 7500 3550 --6 -6 7350 1650 7650 1950 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 7500 1800 75 75 7500 1800 7500 1725 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 7450 1800 7550 1800 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 7500 1850 7500 1750 --6 -6 6750 4050 7050 4350 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 6900 4200 75 75 6900 4200 6900 4125 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6850 4200 6950 4200 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 6900 4250 6900 4150 --6 -6 7050 3600 7350 3900 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 7200 3750 75 75 7200 3750 7200 3675 -4 1 0 40 -1 0 12 0.0000 4 15 60 7200 3800 -\001 --6 -6 6450 4200 6750 4500 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 6600 4350 75 75 6600 4350 6600 4275 -4 1 0 40 -1 0 12 0.0000 4 15 60 6600 4400 -\001 --6 -6 5850 4800 6150 5100 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 6000 4950 75 75 6000 4950 6000 4875 -4 1 0 40 -1 0 12 0.0000 4 15 60 6000 5000 -\001 --6 -6 7650 3000 7950 3300 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 7800 3150 75 75 7800 3150 7800 3075 -4 1 0 40 -1 0 12 0.0000 4 15 60 7800 3200 -\001 --6 -6 4950 4050 5250 4350 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 5100 4200 75 75 5100 4200 5100 4125 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 5050 4200 5150 4200 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 5100 4250 5100 4150 --6 -6 4950 3450 5250 3750 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 5100 3600 75 75 5100 3600 5100 3525 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 5050 3600 5150 3600 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 5100 3650 5100 3550 --6 -6 4650 3300 4950 3600 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 4800 3450 75 75 4800 3450 4800 3375 -4 1 0 40 -1 0 12 0.0000 4 15 60 4800 3500 -\001 --6 -6 4350 2250 4650 2550 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 4500 2400 75 75 4500 2400 4500 2325 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 4450 2400 4550 2400 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 4500 2450 4500 2350 --6 -6 4350 450 4650 750 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 4500 600 75 75 4500 600 4500 525 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 4450 600 4550 600 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 4500 650 4500 550 --6 -6 4050 2400 4350 2700 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 4200 2550 75 75 4200 2550 4200 2475 -4 1 0 40 -1 0 12 0.0000 4 15 60 4200 2600 -\001 --6 -6 4950 1050 5250 1350 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 5100 1200 75 75 5100 1200 5100 1125 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 5050 1200 5150 1200 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 5100 1250 5100 1150 --6 -6 4950 1650 5250 1950 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 5100 1800 75 75 5100 1800 5100 1725 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 5050 1800 5150 1800 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 5100 1850 5100 1750 --6 -6 1950 4050 2250 4350 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 2100 4200 75 75 2100 4200 2100 4125 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 2050 4200 2150 4200 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 2100 4250 2100 4150 --6 -6 1950 3450 2250 3750 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 2100 3600 75 75 2100 3600 2100 3525 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 2050 3600 2150 3600 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 2100 3650 2100 3550 --6 -6 1350 4650 1650 4950 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 1500 4800 75 75 1500 4800 1500 4725 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 1450 4800 1550 4800 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 1500 4850 1500 4750 --6 -6 1350 2850 1650 3150 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 1500 3000 75 75 1500 3000 1500 2925 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 1450 3000 1550 3000 -2 1 0 1 0 7 40 -1 20 4.000 0 0 7 0 0 2 - 1500 3050 1500 2950 --6 -6 4650 1800 4950 2100 -1 3 0 1 0 7 40 -1 20 4.000 1 0.0000 4800 1950 75 75 4800 1950 4800 1875 -4 1 0 40 -1 0 12 0.0000 4 15 60 4800 2000 -\001 --6 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 2700 4800 25 25 2700 4800 2700 4775 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 2700 4200 25 25 2700 4200 2700 4175 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 2700 3600 25 25 2700 3600 2700 3575 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 2700 3000 25 25 2700 3000 2700 2975 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 1500 1200 25 25 1500 1200 1500 1175 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 1500 600 25 25 1500 600 1500 575 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 1500 2400 25 25 1500 2400 1500 2375 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 1525 1800 25 25 1525 1800 1525 1775 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 3000 1200 25 25 3000 1200 3000 1175 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 3000 600 25 25 3000 600 3000 575 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 5700 4800 25 25 5700 4800 5700 4775 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 5700 600 25 25 5700 600 5700 575 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 6300 1200 25 25 6300 1200 6300 1175 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 7500 3000 25 25 7500 3000 7500 2975 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 7500 2400 25 25 7500 2400 7500 2375 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 6900 3600 25 25 6900 3600 6900 3575 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 6300 4200 25 25 6300 4200 6300 4175 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 4500 4200 25 25 4500 4200 4500 4175 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 4500 3600 25 25 4500 3600 4500 3575 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 4200 4200 25 25 4200 4200 4200 4175 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 4200 3600 25 25 4200 3600 4200 3575 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 6900 1800 25 25 6900 1800 6900 1775 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 3900 2400 25 25 3900 2400 3900 2375 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 3900 600 25 25 3900 600 3900 575 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 1500 4200 25 25 1500 4200 1500 4175 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 1500 3600 25 25 1500 3600 1500 3575 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 900 4800 25 25 900 4800 900 4775 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 900 3000 25 25 900 3000 900 2975 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 4500 1800 25 25 4500 1800 4500 1775 -1 3 0 1 0 0 40 -1 20 4.000 1 0.0000 4500 1200 25 25 4500 1200 4500 1175 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 600 600 8400 600 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 600 2400 8400 2400 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 600 3000 8400 3000 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 600 4800 8400 4800 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 600 1200 8400 1200 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 2700 4200 3300 4800 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 2700 3600 3300 3000 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 2700 3000 3300 3600 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 600 3600 8400 3600 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 2700 4800 3300 4200 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 600 1800 8400 1800 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 600 4200 8400 4200 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 - 1500 1200 2100 600 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 - 1500 600 2100 1200 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 - 1500 1800 2100 2400 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 - 1500 2400 2100 1800 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 5700 4800 6300 600 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 5700 600 6300 4800 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 6300 1200 6900 4275 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 6300 4200 6900 1200 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 6900 3600 7500 1800 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 7500 2400 8100 3000 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 6900 1800 7500 3600 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 7500 3000 8100 2400 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 4500 3600 5100 4200 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 4500 4200 5100 3600 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 3900 2400 4500 600 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 3900 600 4500 2400 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 4500 1800 5100 1200 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 4500 1200 5100 1800 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 1500 4200 2100 3600 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 1500 3600 2100 4200 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 900 4800 1500 3000 -2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 - 900 3000 1500 4800 -4 1 0 40 -1 0 12 0.0000 4 135 90 300 675 0\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 300 1275 4\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 300 1875 2\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 300 2475 6\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 300 3675 5\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 300 4275 3\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 300 4875 7\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 300 3075 1\001 -4 1 0 40 -1 0 12 0.0000 4 135 210 1800 2350 C6\001 -4 1 0 40 -1 0 12 0.0000 4 135 195 2100 2275 S6\001 -4 1 0 40 -1 0 12 0.0000 4 135 210 1800 1750 C6\001 -4 1 0 40 -1 0 12 0.0000 4 135 255 2100 2050 -S6\001 -4 1 0 40 -1 0 12 0.0000 4 135 210 3000 1125 C4\001 -4 1 0 40 -1 0 12 0.0000 4 135 210 3000 525 C4\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 8700 675 0\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 8700 1275 1\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 8700 1875 2\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 8700 2475 3\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 8700 3075 4\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 8700 3675 5\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 8700 4275 6\001 -4 1 0 40 -1 0 12 0.0000 4 135 90 8700 4875 7\001 -4 1 0 40 -1 0 12 0.0000 4 135 210 4200 4125 C4\001 -4 1 0 40 -1 0 12 0.0000 4 135 210 4200 3525 C4\001 -4 1 0 40 -1 0 12 0.0000 4 135 210 1800 4150 C3\001 -4 1 0 40 -1 0 12 0.0000 4 135 195 2100 4075 S3\001 -4 1 0 40 -1 0 12 0.0000 4 135 210 1800 3550 C3\001 -4 1 0 40 -1 0 12 0.0000 4 135 255 2100 3850 -S3\001 -4 1 0 40 -1 0 12 0.0000 4 135 210 1200 2950 C7\001 -4 1 0 40 -1 0 12 0.0000 4 135 255 1500 3375 -S7\001 -4 1 0 40 -1 0 12 0.0000 4 135 210 1200 4750 C7\001 -4 1 0 40 -1 0 12 0.0000 4 135 195 1500 4575 S7\001 diff --git a/Libraries/libtheora-1.1.1/doc/spec/lflim.fig b/Libraries/libtheora-1.1.1/doc/spec/lflim.fig deleted file mode 100644 index c71dc7fe..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/lflim.fig +++ /dev/null @@ -1,23 +0,0 @@ -#FIG 3.2 Produced by xfig version 3.2.5 -Landscape -Center -Inches -Letter -100.00 -Single --2 -1200 2 -2 1 2 1 0 7 50 -1 -1 3.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 600 2400 5400 2400 -2 1 2 1 0 7 50 -1 -1 3.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 3000 4200 3000 600 -2 1 0 2 0 7 50 -1 -1 0.000 0 0 -1 0 0 6 - 600 2400 1200 2400 2100 3300 3900 1500 4800 2400 5400 2400 -4 1 0 50 -1 1 12 0.0000 0 195 615 1200 2325 (-2L,0)\001 -4 1 0 50 -1 1 12 0.0000 0 195 600 2100 3525 (-L,-L)\001 -4 0 0 50 -1 1 12 0.0000 0 150 360 3075 825 lflim\001 -4 1 0 50 -1 1 12 0.0000 0 195 480 3900 1425 (L,L)\001 -4 1 0 50 -1 1 12 0.0000 0 195 555 4800 2625 (2L,0)\001 -4 0 0 50 -1 1 12 0.0000 0 150 135 5250 2625 R\001 diff --git a/Libraries/libtheora-1.1.1/doc/spec/ltablex.sty b/Libraries/libtheora-1.1.1/doc/spec/ltablex.sty deleted file mode 100644 index 31a08479..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/ltablex.sty +++ /dev/null @@ -1,237 +0,0 @@ -%% -%% This is file ltablex.sty (v1.0, November 1995) -%% -%% -%% Author: Anil K. Goel (akgoel@uwaterloo.ca) -%% -%% -%% Copyright (C) QNX Software Systems Ltd. 1995 -%% All rights reserved. -%% Please send any comments/suggetions to: latex@qnx.com -%% -%% This system is distributed in the hope that it will be useful -%% to others, but WITHOUT ANY WARRANTY; without even the implied -%% warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -%% -%% -%% The file modifies the tabularx environment to -%% combine the features of the tabularx package -%% (auto-sized columns in a fixed width table) -%% with those of the longtable package -%% (multi-page tables). -%% -%% The tables are typeset using the tabularx environment -%% and the longtable environment is used internally to -%% handle multi-page tables. The \setlongtables feature -%% is used, and, therefore, the document should be -%% run through latex twice. -%% -%% Another feature that has been added is to treat the X -%% columns like 'l' columns if the table contents would allow -%% that to happen without exceeding the specified width of -%% the table. In other words, the specified width is -%% treated as the maximum allowed and not the exact width -%% of the table. This feature is the default but can be -%% disabled (or enabled) with \keepXColumns (or \convertXColumns). -%% -%% Caveats: -%% . The document needs to be latexed a couple times in general. -%% . In general, it is necessary to remove the .aux file before -%% the first latex run on the document. -%% . The table should not be larger than TeX's memory capacity -%% -%% -%% Here is a a simple usage example: -%% -%% -%% \documentclass{article} -%% -%% \usepackage{ltablex} -%% -%% \textheight=4in -%% -%% \begin{document} -%% -%% % we want a table that is \textwidth long, has 4 columns, columns 1 -%% % and 3 are auto sized with the 3rd columns being 3 times wider than -%% % the first column. -%% % -%% -%% -%% \begin{tabularx}{\linewidth}% -%% {|>{\setlength{\hsize}{.5\hsize}\raggedright\arraybackslash}X| % col 1; auto-sized ragged right -%% c| % col 2; default centered -%% >{\setlength{\hsize}{1.5\hsize}\raggedleft\arraybackslash}X|% col 3; auto-sized ragged left -%% l|} % col 4; default left-justified -%% -%% \caption*{The Table Caption}\\ -%% \hline -%% F-Head1 & F-Head2 & F-Head3 & F-Head4\\ -%% \hline -%% \hline -%% \endfirsthead -%% \hline -%% Head1 & Head2 & Head3 & Head4\\ -%% \hline -%% \hline -%% \endhead -%% -%% \hline -%% \hline -%% Foot1 & Foot2 & Foot3 & Foot4\\ -%% \hline -%% \endfoot -%% -%% -%% \hline -%% \hline -%% L-Foot1 & L-Foot2 & L-Foot3 & L-Foot4\\ -%% \hline -%% \endlastfoot -%% -%% This is a very long sentence not likely to fit& -%% not too long& -%% This is another very long sentence not likely to fit& -%% not long\\ -%% -%% \hline -%% filler & filler & filler & filler\\ -%% -%% \hline -%% This is a very long sentence not likely to fit& -%% not too long& -%% This is another very long sentence not likely to fit& -%% not long\\ -%% -%% \hline -%% This is a very long sentence not likely to fit& -%% not too long& -%% This is another very long sentence not likely to fit& -%% not long\\ -%% -%% \hline -%% This is a very long sentence not likely to fit& -%% not too long& -%% This is another very long sentence not likely to fit& -%% not long\\ -%% -%% \end{tabularx} -%% -%% \begin{tabularx}{\linewidth}{|c|X|c|} -%% \hline -%% a &convert X to l & b\\ -%% \hline -%% \end{tabularx} -%% -%% \keepXColumns -%% \begin{tabularx}{\linewidth}{|c|X|c|} -%% \hline -%% a &retain X & b\\ -%% \hline -%% \end{tabularx} -%% -%% \convertXColumns -%% \begin{tabularx}{\linewidth}{|c|X|c|} -%% \hline -%% a &convert X to l & b\\ -%% \hline -%% \end{tabularx} -%% -%% -%% \end{document} - -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{ltablex}[1995/11/06 v1.0 Modified tabularx] - -\RequirePackage{longtable}[1994/12/08] -\RequirePackage{tabularx}[1994/02/03] - -\newif\ifTX@convertX@ -\TX@convertX@true - -\newcommand\keepXColumns{ - \TX@convertX@false -} - -\newcommand\convertXColumns{ - \TX@convertX@true -} - -\renewcommand\TX@endtabularx{% - \expandafter\TX@newcol\expandafter{\tabularxcolumn{\TX@col@width}}% - \let\verb\TX@verb - \def\@elt##1{\global\value{##1}\the\value{##1}\relax}% - \edef\TX@ckpt{\cl@@ckpt}% - \let\@elt\relax - \TX@old@table=\maxdimen - \TX@col@width=\TX@target - \global\TX@cols=\@ne - \TX@typeout@ - {\@spaces Table Width\@spaces Column Width\@spaces X Columns}% - - % - % define \endhead, etc. to be \\ so that in this part - % of the process they are just rows - % - \let\savecaption\caption - \def\caption{\\} - \let\saveendhead\endhead - \def\endhead{\\} - \let\saveendfirsthead\endfirsthead - \def\endfirsthead{\\} - \let\saveendfoot\endfoot - \def\endfoot{\\} - \let\saveendlastfoot\endlastfoot - \def\endlastfoot{\\} - % - % - \ifTX@convertX@ - \TX@trial{\def\NC@rewrite@X{\NC@find l}} - \ifdim\wd\@tempboxa<\TX@target - \TX@newcol{l} - \else - \TX@convertX@false - \fi - \fi - - \ifTX@convertX@ - \relax - \else - \TX@trial{\def\NC@rewrite@X{% - \global\advance\TX@cols\@ne\NC@find p{\TX@col@width}}}% - \loop - \TX@arith - \ifTX@ - \TX@trial{}% - \repeat - \fi - {\let\@footnotetext\TX@ftntext\let\@xfootnotenext\TX@xftntext - % we may as well set \LTchunksize to be \maxdimen as the whole - % thing is already in memory anyway so we may as well do it in one - % chunk. if it is too big for one chunk we are already dead.. - \LTchunksize\maxdimen - % - % restore \endhead, etc. - % - \let\caption\savecaption - \let\endhead\saveendhead - \let\endfirsthead\saveendfirsthead - \let\endfoot\saveendfoot - \let\endlastfoot\saveendlastfoot - % - \expandafter\longtable - \the\toks@ - \endlongtable - }% - \global\TX@ftn\expandafter{\expandafter}\the\TX@ftn - \ifnum0=`{\fi}% - \end{tabularx} -} - - -% -% activate column width reading from the .aux file -% - - -\setlongtables diff --git a/Libraries/libtheora-1.1.1/doc/spec/macroblock.fig b/Libraries/libtheora-1.1.1/doc/spec/macroblock.fig deleted file mode 100644 index 3e20d932..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/macroblock.fig +++ /dev/null @@ -1,37 +0,0 @@ -#FIG 3.2 Produced by xfig version 3.2.5-alpha4 -Landscape -Center -Metric -A4 -100.00 -Single --2 -1200 2 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 702 1540 4867 1540 4867 4828 702 4828 702 1540 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 710 4828 928 4828 928 4610 710 4610 710 4828 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 914 4610 1133 4610 1133 4391 914 4391 914 4610 -2 2 0 2 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 723 4385 1133 4385 1133 4828 723 4828 723 4385 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 710 4610 928 4610 928 4391 710 4391 710 4610 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 914 4828 1133 4828 1133 4610 914 4610 914 4828 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 2068 857 6233 857 6233 4145 2068 4145 2068 857 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 1385 1198 5550 1198 5550 4487 1385 4487 1385 1198 -2 2 0 2 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2089 3702 2499 3702 2499 4145 2089 4145 2089 3702 -2 2 0 2 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1406 4043 1816 4043 1816 4487 1406 4487 1406 4043 -4 0 0 50 -1 0 5 0.0000 4 79 182 613 4943 (0,0)\001 -4 0 0 50 -1 0 5 0.0000 4 80 785 2055 833 Frame: chroma plane\001 -4 0 0 50 -1 0 5 0.0000 4 57 467 894 4009 Macroblock\001 -4 0 0 50 -1 0 5 0.0000 4 57 228 450 4521 Block\001 -4 0 0 50 -1 0 5 0.0000 4 57 228 450 4760 Block\001 -4 0 0 50 -1 0 5 0.0000 4 57 148 450 4863 8x8\001 -4 0 0 50 -1 0 5 0.0000 4 80 785 1235 1175 Frame: chroma plane\001 -4 0 0 50 -1 0 5 0.0000 4 80 694 621 1516 Frame: luma plane\001 diff --git a/Libraries/libtheora-1.1.1/doc/spec/pic-frame.fig b/Libraries/libtheora-1.1.1/doc/spec/pic-frame.fig deleted file mode 100644 index d99ec7e1..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/pic-frame.fig +++ /dev/null @@ -1,75 +0,0 @@ -#FIG 3.2 -Landscape -Center -Metric -A4 -100.00 -Single --2 -1200 2 -0 32 #7f7f7f -6 250 236 5737 4724 -6 659 4520 1068 4724 -4 1 0 50 0 0 7 0.0000 0 75 450 864 4724 X Offset\001 -4 1 0 50 0 0 7 0.0000 0 90 375 864 4596 Picture\001 --6 -6 250 3880 454 4290 -4 1 0 50 0 0 7 1.5708 0 90 375 327 4086 Picture\001 -4 1 0 50 0 0 7 1.5708 0 75 450 454 4086 Y Offset\001 --6 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2 - 608 301 608 454 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2 - 5466 301 5466 454 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 1 2 - 1 1 1.00 34.09 68.18 - 1 1 1.00 34.09 68.18 - 608 378 5466 378 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2 - 608 4392 608 4546 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2 - 1119 4392 1119 4546 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 1 2 - 1 1 1.00 34.09 68.18 - 1 1 1.00 34.09 68.18 - 608 4468 1119 4468 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 1 2 - 1 1 1.00 34.09 68.18 - 1 1 1.00 34.09 68.18 - 1119 4468 5211 4468 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2 - 5211 4392 5211 4546 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2 - 404 4340 557 4340 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2 - 404 3830 557 3830 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2 - 404 761 557 761 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 1 2 - 1 1 1.00 34.09 68.18 - 1 1 1.00 34.09 68.18 - 480 3830 480 761 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2 - 5517 4340 5671 4340 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2 - 5517 506 5671 506 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 1 2 - 1 1 1.00 34.09 68.18 - 1 1 1.00 34.09 68.18 - 5594 4340 5594 506 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 1 2 - 1 1 1.00 34.09 68.18 - 1 1 1.00 34.09 68.18 - 480 4340 480 3830 -2 2 0 1 0 7 50 0 -1 0.000 0 0 7 0 0 5 - 608 506 5466 506 5466 4340 608 4340 608 506 -2 2 0 1 0 7 50 0 -1 0.000 0 0 7 0 0 5 - 1119 761 5211 761 5211 3830 1119 3830 1119 761 -4 1 0 50 0 0 7 0.0000 0 90 720 3165 4596 Picture Width\001 -4 1 0 50 0 0 7 1.5708 0 105 690 5722 1912 Frame Height\001 -4 1 0 50 0 0 7 0.0000 0 90 660 2782 326 Frame Width\001 -4 1 0 50 0 0 7 1.5708 0 105 750 454 2295 Picture Height\001 -4 1 0 50 0 0 7 0.0000 0 75 315 2782 685 Frame\001 -4 1 0 50 0 0 7 0.0000 0 90 375 3165 2295 Picture\001 -4 0 0 50 0 0 7 0.0000 0 105 240 659 4290 (0,0)\001 --6 diff --git a/Libraries/libtheora-1.1.1/doc/spec/pic_even.fig b/Libraries/libtheora-1.1.1/doc/spec/pic_even.fig deleted file mode 100644 index 041a43a1..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/pic_even.fig +++ /dev/null @@ -1,102 +0,0 @@ -#FIG 3.2 -Landscape -Center -Metric -A4 -100.00 -Single --2 -1200 2 -6 724 2025 945 2475 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 732 2244 945 2244 945 2025 732 2025 732 2244 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 732 2475 945 2475 945 2256 732 2256 732 2475 --6 -6 1665 2070 1888 2475 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1673 2267 1888 2267 1888 2070 1673 2070 1673 2267 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1673 2475 1888 2475 1888 2278 1673 2278 1673 2475 --6 -6 724 900 945 1350 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 732 1119 945 1119 945 900 732 900 732 1119 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 732 1350 945 1350 945 1131 732 1131 732 1350 --6 -6 6300 2070 6795 2520 -6 6300 2070 6570 2295 -6 6300 2070 6570 2295 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 6335 2295 6553 2295 6553 2076 6335 2076 6335 2295 --6 --6 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 6335 2520 6553 2520 6553 2301 6335 2301 6335 2520 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 6560 2295 6778 2295 6778 2076 6560 2076 6560 2295 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 6560 2520 6778 2520 6778 2301 6560 2301 6560 2520 --6 -6 4455 2070 4950 2520 -6 4455 2070 4725 2295 -6 4455 2070 4725 2295 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4490 2295 4708 2295 4708 2076 4490 2076 4490 2295 --6 --6 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4490 2520 4708 2520 4708 2301 4490 2301 4490 2520 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4715 2295 4933 2295 4933 2076 4715 2076 4715 2295 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4715 2520 4933 2520 4933 2301 4715 2301 4715 2520 --6 -6 4455 945 4950 1395 -6 4455 945 4725 1170 -6 4455 945 4725 1170 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4490 1170 4708 1170 4708 951 4490 951 4490 1170 --6 --6 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4490 1395 4708 1395 4708 1176 4490 1176 4490 1395 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4715 1170 4933 1170 4933 951 4715 951 4715 1170 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4715 1395 4933 1395 4933 1176 4715 1176 4715 1395 --6 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 2249 1800 3736 1800 3736 2947 2249 2947 2249 1800 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2385 1935 3600 1935 3600 2745 2385 2745 2385 1935 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2397 2745 2610 2745 2610 2526 2397 2526 2397 2745 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 3375 2745 3590 2745 3590 2548 3375 2548 3375 2745 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 724 900 1888 900 1888 2475 724 2475 724 900 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 473 675 2003 675 2003 2925 473 2925 473 675 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2397 2154 2610 2154 2610 1935 2397 1935 2397 2154 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4500 945 6795 945 6795 2520 4500 2520 4500 945 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4500 945 6795 945 6795 2520 4500 2520 4500 945 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 4005 720 7020 720 7020 2970 4005 2970 4005 720 -4 0 0 50 -1 0 24 0.0000 4 30 270 2835 2655 ...\001 -4 0 0 50 -1 0 24 0.0000 4 30 270 1080 2295 ...\001 -4 0 0 50 -1 0 24 0.0000 4 30 270 765 1665 ...\001 -4 0 0 50 -1 0 24 0.0000 4 30 270 2430 2385 ...\001 -4 0 0 50 -1 0 7 0.0000 4 90 210 450 3060 (0,0)\001 -4 0 0 50 -1 0 7 0.0000 4 90 210 2205 3060 (0,0)\001 -4 0 0 50 -1 0 7 0.0000 4 90 210 3943 3098 (0,0)\001 -4 0 0 50 -1 0 7 0.0000 4 75 285 4545 2655 Pixels\001 -4 0 0 50 -1 0 24 0.0000 4 30 270 5220 2295 ...\001 -4 0 0 50 -1 0 24 0.0000 4 30 270 4680 1755 ...\001 -4 0 0 50 -1 0 9 0.0000 4 105 1335 2205 1665 Frame: chroma (4:2:0 case)\001 -4 0 0 50 -1 0 9 0.0000 4 105 1335 450 585 Frame: chroma (4:2:2 case)\001 -4 0 0 50 -1 0 9 0.0000 4 75 615 4005 630 Frame: luma\001 diff --git a/Libraries/libtheora-1.1.1/doc/spec/pic_even_odd.fig b/Libraries/libtheora-1.1.1/doc/spec/pic_even_odd.fig deleted file mode 100644 index 4b513b7f..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/pic_even_odd.fig +++ /dev/null @@ -1,88 +0,0 @@ -#FIG 3.2 -Landscape -Center -Metric -A4 -100.00 -Single --2 -1200 2 -6 724 2025 945 2475 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 732 2244 945 2244 945 2025 732 2025 732 2244 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 732 2475 945 2475 945 2256 732 2256 732 2475 --6 -6 1665 2070 1888 2475 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1673 2267 1888 2267 1888 2070 1673 2070 1673 2267 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1673 2475 1888 2475 1888 2278 1673 2278 1673 2475 --6 -6 4455 2070 4950 2520 -6 4455 2070 4725 2295 -6 4455 2070 4725 2295 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4490 2295 4708 2295 4708 2076 4490 2076 4490 2295 --6 --6 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4490 2520 4708 2520 4708 2301 4490 2301 4490 2520 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4715 2295 4933 2295 4933 2076 4715 2076 4715 2295 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4715 2520 4933 2520 4933 2301 4715 2301 4715 2520 --6 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 2249 1800 3736 1800 3736 2947 2249 2947 2249 1800 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2385 1935 3600 1935 3600 2745 2385 2745 2385 1935 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2397 2745 2610 2745 2610 2526 2397 2526 2397 2745 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 3375 2745 3590 2745 3590 2548 3375 2548 3375 2745 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 724 900 1888 900 1888 2475 724 2475 724 900 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 473 675 2003 675 2003 2925 473 2925 473 675 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2397 2154 2610 2154 2610 1935 2397 1935 2397 2154 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4500 945 6795 945 6795 2520 4500 2520 4500 945 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 4005 720 7020 720 7020 2970 4005 2970 4005 720 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4500 945 6795 945 6795 2520 4500 2520 4500 945 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4490 1170 4708 1170 4708 951 4490 951 4490 1170 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4715 1170 4933 1170 4933 951 4715 951 4715 1170 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 6560 2520 6778 2520 6778 2301 6560 2301 6560 2520 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 6560 2295 6778 2295 6778 2076 6560 2076 6560 2295 -2 2 0 1 0 11 50 -1 43 0.000 0 0 -1 0 0 5 - 4715 945 4933 945 4933 726 4715 726 4715 945 -2 2 0 1 0 11 50 -1 43 0.000 0 0 -1 0 0 5 - 4490 945 4708 945 4708 726 4490 726 4490 945 -2 2 0 1 0 11 50 -1 43 0.000 0 0 -1 0 0 5 - 6785 2295 7003 2295 7003 2076 6785 2076 6785 2295 -2 2 0 1 0 11 50 -1 43 0.000 0 0 -1 0 0 5 - 6785 2520 7003 2520 7003 2301 6785 2301 6785 2520 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 732 1125 945 1125 945 906 732 906 732 1125 -2 2 0 1 0 11 50 -1 43 0.000 0 0 -1 0 0 5 - 732 894 945 894 945 675 732 675 732 894 -4 0 0 50 -1 0 24 0.0000 4 30 270 2835 2655 ...\001 -4 0 0 50 -1 0 24 0.0000 4 30 270 1080 2295 ...\001 -4 0 0 50 -1 0 24 0.0000 4 30 270 765 1665 ...\001 -4 0 0 50 -1 0 24 0.0000 4 30 270 2430 2385 ...\001 -4 0 0 50 -1 0 7 0.0000 4 90 210 450 3060 (0,0)\001 -4 0 0 50 -1 0 7 0.0000 4 90 210 2205 3060 (0,0)\001 -4 0 0 50 -1 0 7 0.0000 4 90 210 3943 3098 (0,0)\001 -4 0 0 50 -1 0 7 0.0000 4 75 285 4545 2655 Pixels\001 -4 0 0 50 -1 0 24 0.0000 4 30 270 5220 2295 ...\001 -4 0 0 50 -1 0 24 0.0000 4 30 270 4680 1755 ...\001 -4 0 0 50 -1 0 9 0.0000 4 105 1335 2205 1665 Frame: chroma (4:2:0 case)\001 -4 0 0 50 -1 0 9 0.0000 4 105 1335 450 585 Frame: chroma (4:2:2 case)\001 -4 0 0 50 -1 0 9 0.0000 4 75 615 4005 630 Frame: luma\001 diff --git a/Libraries/libtheora-1.1.1/doc/spec/pic_odd.fig b/Libraries/libtheora-1.1.1/doc/spec/pic_odd.fig deleted file mode 100644 index da126010..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/pic_odd.fig +++ /dev/null @@ -1,90 +0,0 @@ -#FIG 3.2 -Landscape -Center -Metric -A4 -100.00 -Single --2 -1200 2 -6 724 2025 945 2475 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 732 2244 945 2244 945 2025 732 2025 732 2244 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 732 2475 945 2475 945 2256 732 2256 732 2475 --6 -6 1665 2070 1888 2475 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1673 2267 1888 2267 1888 2070 1673 2070 1673 2267 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1673 2475 1888 2475 1888 2278 1673 2278 1673 2475 --6 -6 724 900 945 1350 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 732 1119 945 1119 945 900 732 900 732 1119 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 732 1350 945 1350 945 1131 732 1131 732 1350 --6 -6 6300 2070 6795 2520 -6 6300 2070 6570 2295 -6 6300 2070 6570 2295 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 6335 2295 6553 2295 6553 2076 6335 2076 6335 2295 --6 --6 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 6335 2520 6553 2520 6553 2301 6335 2301 6335 2520 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 6560 2295 6778 2295 6778 2076 6560 2076 6560 2295 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 6560 2520 6778 2520 6778 2301 6560 2301 6560 2520 --6 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 2249 1800 3736 1800 3736 2947 2249 2947 2249 1800 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2385 1935 3600 1935 3600 2745 2385 2745 2385 1935 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2397 2745 2610 2745 2610 2526 2397 2526 2397 2745 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 3375 2745 3590 2745 3590 2548 3375 2548 3375 2745 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 724 900 1888 900 1888 2475 724 2475 724 900 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 473 675 2003 675 2003 2925 473 2925 473 675 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2397 2154 2610 2154 2610 1935 2397 1935 2397 2154 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4500 945 6795 945 6795 2520 4500 2520 4500 945 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4500 945 6795 945 6795 2520 4500 2520 4500 945 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 4005 720 7020 720 7020 2970 4005 2970 4005 720 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4490 2295 4708 2295 4708 2076 4490 2076 4490 2295 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4490 2520 4708 2520 4708 2301 4490 2301 4490 2520 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4490 1170 4708 1170 4708 951 4490 951 4490 1170 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4490 1395 4708 1395 4708 1176 4490 1176 4490 1395 -2 2 0 1 0 11 50 -1 43 0.000 0 0 -1 0 0 5 - 4265 1170 4483 1170 4483 951 4265 951 4265 1170 -2 2 0 1 0 11 50 -1 43 0.000 0 0 -1 0 0 5 - 4265 1395 4483 1395 4483 1176 4265 1176 4265 1395 -2 2 0 1 0 11 50 -1 43 0.000 0 0 -1 0 0 5 - 4265 2295 4483 2295 4483 2076 4265 2076 4265 2295 -2 2 0 1 0 11 50 -1 43 0.000 0 0 -1 0 0 5 - 4265 2520 4483 2520 4483 2301 4265 2301 4265 2520 -4 0 0 50 -1 0 24 0.0000 4 30 270 2835 2655 ...\001 -4 0 0 50 -1 0 24 0.0000 4 30 270 1080 2295 ...\001 -4 0 0 50 -1 0 24 0.0000 4 30 270 765 1665 ...\001 -4 0 0 50 -1 0 24 0.0000 4 30 270 2430 2385 ...\001 -4 0 0 50 -1 0 7 0.0000 4 90 210 450 3060 (0,0)\001 -4 0 0 50 -1 0 7 0.0000 4 90 210 2205 3060 (0,0)\001 -4 0 0 50 -1 0 7 0.0000 4 90 210 3943 3098 (0,0)\001 -4 0 0 50 -1 0 7 0.0000 4 75 285 4545 2655 Pixels\001 -4 0 0 50 -1 0 24 0.0000 4 30 270 5220 2295 ...\001 -4 0 0 50 -1 0 24 0.0000 4 30 270 4680 1755 ...\001 -4 0 0 50 -1 0 9 0.0000 4 105 1335 2205 1665 Frame: chroma (4:2:0 case)\001 -4 0 0 50 -1 0 9 0.0000 4 105 1335 450 585 Frame: chroma (4:2:2 case)\001 -4 0 0 50 -1 0 9 0.0000 4 75 615 4005 630 Frame: luma\001 diff --git a/Libraries/libtheora-1.1.1/doc/spec/pic_odd_even.fig b/Libraries/libtheora-1.1.1/doc/spec/pic_odd_even.fig deleted file mode 100644 index f1312952..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/pic_odd_even.fig +++ /dev/null @@ -1,84 +0,0 @@ -#FIG 3.2 -Landscape -Center -Metric -A4 -100.00 -Single --2 -1200 2 -6 724 2025 945 2475 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 732 2244 945 2244 945 2025 732 2025 732 2244 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 732 2475 945 2475 945 2256 732 2256 732 2475 --6 -6 1665 2070 1888 2475 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1673 2267 1888 2267 1888 2070 1673 2070 1673 2267 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1673 2475 1888 2475 1888 2278 1673 2278 1673 2475 --6 -6 724 900 945 1350 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 732 1119 945 1119 945 900 732 900 732 1119 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 732 1350 945 1350 945 1131 732 1131 732 1350 --6 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 2249 1800 3736 1800 3736 2947 2249 2947 2249 1800 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2385 1935 3600 1935 3600 2745 2385 2745 2385 1935 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2397 2745 2610 2745 2610 2526 2397 2526 2397 2745 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 3375 2745 3590 2745 3590 2548 3375 2548 3375 2745 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 724 900 1888 900 1888 2475 724 2475 724 900 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 473 675 2003 675 2003 2925 473 2925 473 675 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2397 2154 2610 2154 2610 1935 2397 1935 2397 2154 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4500 945 6795 945 6795 2520 4500 2520 4500 945 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 4005 720 7020 720 7020 2970 4005 2970 4005 720 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4490 2295 4708 2295 4708 2076 4490 2076 4490 2295 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4490 2520 4708 2520 4708 2301 4490 2301 4490 2520 -2 2 0 1 0 11 50 -1 43 0.000 0 0 -1 0 0 5 - 4265 2295 4483 2295 4483 2076 4265 2076 4265 2295 -2 2 0 1 0 11 50 -1 43 0.000 0 0 -1 0 0 5 - 4265 2520 4483 2520 4483 2301 4265 2301 4265 2520 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4500 945 6795 945 6795 2520 4500 2520 4500 945 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 6560 2520 6778 2520 6778 2301 6560 2301 6560 2520 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 6560 2295 6778 2295 6778 2076 6560 2076 6560 2295 -2 2 0 1 0 11 50 -1 43 0.000 0 0 -1 0 0 5 - 6785 2295 7003 2295 7003 2076 6785 2076 6785 2295 -2 2 0 1 0 11 50 -1 43 0.000 0 0 -1 0 0 5 - 6785 2520 7003 2520 7003 2301 6785 2301 6785 2520 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4490 1170 4708 1170 4708 951 4490 951 4490 1170 -2 2 0 1 0 11 50 -1 43 0.000 0 0 -1 0 0 5 - 4265 945 4483 945 4483 726 4265 726 4265 945 -2 2 0 1 0 11 50 -1 43 0.000 0 0 -1 0 0 5 - 4265 1170 4483 1170 4483 951 4265 951 4265 1170 -2 2 0 1 0 11 50 -1 43 0.000 0 0 -1 0 0 5 - 4490 945 4708 945 4708 726 4490 726 4490 945 -4 0 0 50 -1 0 24 0.0000 4 30 270 2835 2655 ...\001 -4 0 0 50 -1 0 24 0.0000 4 30 270 1080 2295 ...\001 -4 0 0 50 -1 0 24 0.0000 4 30 270 765 1665 ...\001 -4 0 0 50 -1 0 24 0.0000 4 30 270 2430 2385 ...\001 -4 0 0 50 -1 0 7 0.0000 4 90 210 450 3060 (0,0)\001 -4 0 0 50 -1 0 7 0.0000 4 90 210 2205 3060 (0,0)\001 -4 0 0 50 -1 0 7 0.0000 4 90 210 3943 3098 (0,0)\001 -4 0 0 50 -1 0 7 0.0000 4 75 285 4545 2655 Pixels\001 -4 0 0 50 -1 0 24 0.0000 4 30 270 5220 2295 ...\001 -4 0 0 50 -1 0 24 0.0000 4 30 270 4680 1755 ...\001 -4 0 0 50 -1 0 9 0.0000 4 105 1335 2205 1665 Frame: chroma (4:2:0 case)\001 -4 0 0 50 -1 0 9 0.0000 4 105 1335 450 585 Frame: chroma (4:2:2 case)\001 -4 0 0 50 -1 0 9 0.0000 4 75 615 4005 630 Frame: luma\001 diff --git a/Libraries/libtheora-1.1.1/doc/spec/pixel420.fig b/Libraries/libtheora-1.1.1/doc/spec/pixel420.fig deleted file mode 100644 index 56e91912..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/pixel420.fig +++ /dev/null @@ -1,56 +0,0 @@ -#FIG 3.2 -Landscape -Center -Metric -A4 -100.00 -Single --2 -1200 2 -6 675 4365 1170 4815 -6 675 4365 945 4590 -6 675 4365 945 4590 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 710 4590 928 4590 928 4371 710 4371 710 4590 --6 --6 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 710 4815 928 4815 928 4596 710 4596 710 4815 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 935 4590 1153 4590 1153 4371 935 4371 935 4590 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 935 4815 1153 4815 1153 4596 935 4596 935 4815 --6 -6 1125 4365 1646 4815 -6 1125 4365 1420 4590 -6 1125 4365 1420 4590 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1163 4590 1401 4590 1401 4371 1163 4371 1163 4590 --6 --6 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1163 4815 1401 4815 1401 4596 1163 4596 1163 4815 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1409 4590 1646 4590 1646 4371 1409 4371 1409 4590 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1409 4815 1646 4815 1646 4596 1409 4596 1409 4815 --6 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 1665 1350 4788 1350 4788 4153 1665 4153 1665 1350 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 2700 900 5823 900 5823 3703 2700 3703 2700 900 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 702 2025 3825 2025 3825 4828 702 4828 702 2025 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1800 4005 2018 4005 2018 3786 1800 3786 1800 4005 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2160 4005 2378 4005 2378 3786 2160 3786 2160 4005 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2835 3555 3053 3555 3053 3336 2835 3336 2835 3555 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 3195 3555 3413 3555 3413 3336 3195 3336 3195 3555 -4 0 0 50 -1 0 8 0.0000 4 105 1215 1485 1305 Frame: chroma plane Cb\001 -4 0 0 50 -1 0 8 0.0000 4 105 1200 2565 855 Frame: chroma plane Cr\001 -4 0 0 50 -1 0 8 0.0000 4 105 1035 540 1980 Frame: luma planeY'\001 -4 0 0 50 -1 0 7 0.0000 4 75 285 765 4320 Pixels\001 -4 0 0 50 -1 0 7 0.0000 4 90 210 613 4943 (0,0)\001 diff --git a/Libraries/libtheora-1.1.1/doc/spec/pixel422.fig b/Libraries/libtheora-1.1.1/doc/spec/pixel422.fig deleted file mode 100644 index dbe008a3..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/pixel422.fig +++ /dev/null @@ -1,70 +0,0 @@ -#FIG 3.2 -Landscape -Center -Metric -A4 -100.00 -Single --2 -1200 2 -6 675 4365 1170 4815 -6 675 4365 945 4590 -6 675 4365 945 4590 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 710 4590 928 4590 928 4371 710 4371 710 4590 --6 --6 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 710 4815 928 4815 928 4596 710 4596 710 4815 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 935 4590 1153 4590 1153 4371 935 4371 935 4590 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 935 4815 1153 4815 1153 4596 935 4596 935 4815 --6 -6 1125 4365 1646 4815 -6 1125 4365 1420 4590 -6 1125 4365 1420 4590 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1163 4590 1401 4590 1401 4371 1163 4371 1163 4590 --6 --6 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1163 4815 1401 4815 1401 4596 1163 4596 1163 4815 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1409 4590 1646 4590 1646 4371 1409 4371 1409 4590 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1409 4815 1646 4815 1646 4596 1409 4596 1409 4815 --6 -6 1800 3690 2025 4140 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1807 3909 2025 3909 2025 3690 1807 3690 1807 3909 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1807 4140 2025 4140 2025 3921 1807 3921 1807 4140 --6 -6 2160 3690 2385 4140 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2167 3909 2385 3909 2385 3690 2167 3690 2167 3909 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2167 4140 2385 4140 2385 3921 2167 3921 2167 4140 --6 -6 3195 3240 3420 3690 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 3202 3459 3420 3459 3420 3240 3202 3240 3202 3459 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 3202 3690 3420 3690 3420 3471 3202 3471 3202 3690 --6 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 1665 1350 4788 1350 4788 4153 1665 4153 1665 1350 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2842 3459 3060 3459 3060 3240 2842 3240 2842 3459 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 2700 900 5823 900 5823 3703 2700 3703 2700 900 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2842 3690 3060 3690 3060 3471 2842 3471 2842 3690 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 702 2025 3825 2025 3825 4828 702 4828 702 2025 -4 0 0 50 -1 0 8 0.0000 4 105 1215 1485 1305 Frame: chroma plane Cb\001 -4 0 0 50 -1 0 8 0.0000 4 105 1200 2565 855 Frame: chroma plane Cr\001 -4 0 0 50 -1 0 8 0.0000 4 105 1035 540 1980 Frame: luma planeY'\001 -4 0 0 50 -1 0 7 0.0000 4 75 285 765 4320 Pixels\001 -4 0 0 50 -1 0 7 0.0000 4 90 210 613 4943 (0,0)\001 diff --git a/Libraries/libtheora-1.1.1/doc/spec/pixel444.fig b/Libraries/libtheora-1.1.1/doc/spec/pixel444.fig deleted file mode 100644 index 75655e8a..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/pixel444.fig +++ /dev/null @@ -1,44 +0,0 @@ -#FIG 3.2 -Landscape -Center -Metric -A4 -100.00 -Single --2 -1200 2 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 702 2025 3825 2025 3825 4828 702 4828 702 2025 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 1665 1350 4788 1350 4788 4153 1665 4153 1665 1350 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 2700 900 5823 900 5823 3703 2700 3703 2700 900 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 710 4590 928 4590 928 4371 710 4371 710 4590 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 935 4590 1153 4590 1153 4371 935 4371 935 4590 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 935 4815 1153 4815 1153 4596 935 4596 935 4815 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 710 4815 928 4815 928 4596 710 4596 710 4815 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1700 3915 1918 3915 1918 3696 1700 3696 1700 3915 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1925 3915 2143 3915 2143 3696 1925 3696 1925 3915 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1925 4140 2143 4140 2143 3921 1925 3921 1925 4140 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1700 4140 1918 4140 1918 3921 1700 3921 1700 4140 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2735 3465 2953 3465 2953 3246 2735 3246 2735 3465 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2960 3465 3178 3465 3178 3246 2960 3246 2960 3465 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2960 3690 3178 3690 3178 3471 2960 3471 2960 3690 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2735 3690 2953 3690 2953 3471 2735 3471 2735 3690 -4 0 0 50 -1 0 8 0.0000 4 105 1215 1485 1305 Frame: chroma plane Cb\001 -4 0 0 50 -1 0 8 0.0000 4 105 1200 2565 855 Frame: chroma plane Cr\001 -4 0 0 50 -1 0 8 0.0000 4 105 1035 540 1980 Frame: luma planeY'\001 -4 0 0 50 -1 0 7 0.0000 4 75 285 765 4320 Pixels\001 -4 0 0 50 -1 0 7 0.0000 4 90 210 613 4943 (0,0)\001 diff --git a/Libraries/libtheora-1.1.1/doc/spec/raster-block.fig b/Libraries/libtheora-1.1.1/doc/spec/raster-block.fig deleted file mode 100644 index cebaf02b..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/raster-block.fig +++ /dev/null @@ -1,91 +0,0 @@ -#FIG 3.2 Produced by xfig version 3.2.5-alpha4 -Landscape -Center -Metric -A4 -100.00 -Single --2 -1200 2 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 1125 900 1575 900 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 450 450 1350 450 1350 1350 450 1350 450 450 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1350 450 2250 450 2250 1350 1350 1350 1350 450 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2250 450 3150 450 3150 1350 2250 1350 2250 450 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 3150 450 4050 450 4050 1350 3150 1350 3150 450 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 450 1350 1350 1350 1350 2250 450 2250 450 1350 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1350 1350 2250 1350 2250 2250 1350 2250 1350 1350 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2250 1350 3150 1350 3150 2250 2250 2250 2250 1350 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 3150 1350 4050 1350 4050 2250 3150 2250 3150 1350 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 450 2250 1350 2250 1350 3150 450 3150 450 2250 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1350 2250 2250 2250 2250 3150 1350 3150 1350 2250 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2250 2250 3150 2250 3150 3150 2250 3150 2250 2250 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 3150 2250 4050 2250 4050 3150 3150 3150 3150 2250 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 450 3150 1350 3150 1350 4050 450 4050 450 3150 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1350 3150 2250 3150 2250 4050 1350 4050 1350 3150 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2250 3150 3150 3150 3150 4050 2250 4050 2250 3150 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 3150 3150 4050 3150 4050 4050 3150 4050 3150 3150 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4050 450 4950 450 4950 1350 4050 1350 4050 450 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4050 1350 4950 1350 4950 2250 4050 2250 4050 1350 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4050 2250 4950 2250 4950 3150 4050 3150 4050 2250 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4050 3150 4950 3150 4950 4050 4050 4050 4050 3150 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4950 3150 5850 3150 5850 4050 4950 4050 4950 3150 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4950 2250 5850 2250 5850 3150 4950 3150 4950 2250 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4950 1350 5850 1350 5850 2250 4950 2250 4950 1350 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 4950 450 5850 450 5850 1350 4950 1350 4950 450 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 1125 3600 1575 3600 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 2925 3600 3375 3600 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 2025 3600 2475 3600 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 1125 2655 1575 2655 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 4770 3600 5220 3600 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 5445 3510 900 2880 -2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 1 0 2 - 1 1 1.00 60.00 120.00 - 5400 1800 855 1170 -4 1 0 50 0 1 12 0.0000 0 150 105 900 3660 0\001 -4 1 0 50 0 1 12 0.0000 0 150 105 1800 3660 1\001 -4 1 0 50 0 1 12 0.0000 0 150 105 2700 3660 2\001 -4 0 0 50 -1 0 20 0.0000 4 30 225 3555 3645 ...\001 -4 0 0 50 -1 0 20 0.0000 4 30 225 945 1845 ...\001 -4 0 0 50 -1 0 12 0.0000 4 150 330 5310 3645 m-1\001 -4 0 0 50 -1 0 12 0.0000 4 150 435 5175 2655 2m-1\001 -4 1 0 50 0 1 12 0.0000 0 105 165 900 2760 m\001 -4 1 0 50 0 1 12 0.0000 0 195 690 855 1035 (n-1)*m\001 -4 0 0 50 -1 0 12 0.0000 4 150 540 5085 900 n*m-1\001 diff --git a/Libraries/libtheora-1.1.1/doc/spec/reference-frames.fig b/Libraries/libtheora-1.1.1/doc/spec/reference-frames.fig deleted file mode 100644 index 8026e56e..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/reference-frames.fig +++ /dev/null @@ -1,46 +0,0 @@ -#FIG 3.2 Produced by xfig version 3.2.5-alpha4 -Landscape -Center -Metric -A4 -100.00 -Single --2 -1200 2 -2 2 1 2 0 7 50 -1 -1 4.000 0 0 -1 0 0 5 - 1980 450 2430 450 2430 900 1980 900 1980 450 -2 2 1 2 0 7 50 -1 -1 4.000 0 0 -1 0 0 5 - 2520 450 2970 450 2970 900 2520 900 2520 450 -2 2 1 2 0 7 50 -1 -1 4.000 0 0 -1 0 0 5 - 4140 450 4590 450 4590 900 4140 900 4140 450 -2 2 1 2 0 7 50 -1 -1 4.000 0 0 -1 0 0 5 - 1440 450 1890 450 1890 900 1440 900 1440 450 -2 2 1 2 0 7 50 -1 15 4.000 0 0 -1 0 0 5 - 3600 450 4050 450 4050 900 3600 900 3600 450 -2 2 1 2 0 7 50 -1 41 4.000 0 0 -1 0 0 5 - 3060 450 3510 450 3510 900 3060 900 3060 450 -2 2 0 2 0 7 50 -1 41 0.000 0 0 -1 0 0 5 - 900 450 1350 450 1350 900 900 900 900 450 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 1 2 - 0 0 1.00 60.00 120.00 - 3780 990 3780 1395 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 1 2 - 0 0 1.00 60.00 120.00 - 3240 990 3240 1395 -2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 1 2 - 0 0 1.00 60.00 120.00 - 1125 990 1125 1395 -4 0 0 50 -1 0 20 0.0000 4 30 225 4770 675 ...\001 -4 0 0 50 -1 0 12 0.0000 4 150 420 900 405 Intra\001 -4 0 0 50 -1 0 12 0.0000 4 150 420 1440 405 Inter\001 -4 0 0 50 -1 0 12 0.0000 4 150 420 1980 405 Inter\001 -4 0 0 50 -1 0 12 0.0000 4 150 420 2520 405 Inter\001 -4 0 0 50 -1 0 12 0.0000 4 150 420 3060 405 Inter\001 -4 0 0 50 -1 0 12 0.0000 4 150 420 3600 405 Inter\001 -4 0 0 50 -1 0 12 0.0000 4 150 420 4140 405 Inter\001 -4 0 0 50 -1 0 12 0.0000 4 120 630 3690 1575 current\001 -4 0 0 50 -1 0 12 0.0000 4 150 840 2745 1575 reference\001 -4 0 0 50 -1 0 12 0.0000 4 150 510 2925 1755 frame\001 -4 0 0 50 -1 0 12 0.0000 4 150 510 3690 1755 frame\001 -4 0 0 50 -1 0 12 0.0000 4 195 570 855 1575 golden\001 -4 0 0 50 -1 0 12 0.0000 4 150 510 900 1800 frame\001 diff --git a/Libraries/libtheora-1.1.1/doc/spec/spec.bib b/Libraries/libtheora-1.1.1/doc/spec/spec.bib deleted file mode 100644 index a1cad1a6..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/spec.bib +++ /dev/null @@ -1,120 +0,0 @@ -@MANUAL{rfc2044, - author="Francois Yergeau", - title="{RFC} 2044: {UTF}-8, a transformation format of Unicode and {ISO} - 10646", - month=oct, - year=1996, - note="\url{http://www.ietf.org/rfc/rfc2044.txt}" -} - -@ARTICLE{CSF77, - author="Wen-Hsiung Chen and C. Harrison Smith and S. C. Fralick", - title="A Fast Computational Algorithm for the Discrete Cosine Transform", - journal="{IEEE} Transactions on Communications", - volume="COM-25", - number=9, - pages="1004--1011", - month=sep, - year=1977 -} - -@MISC{Mel04, - author="Mike Melanson", - title="{VP3} Bitstream Format and Decoding Process", - howpublished="\url{http://www.multimedia.cx/vp3-format.txt}", - month=mar, - year=2004 -} - -@MISC{Poyn97, - author="Charles Poynton", - title="Frequently-Asked Questions about Gamma", - howpublished="\url{http://www.poynton.com/GammaFAQ.html}", - month=feb, - year=1997 -} - -@MANUAL{rec470, - key="ITU470", - title="Reccomendation {ITU-R} {BT}.470-6: Conventional Television Systems", - edition="1970, revised", - organization="International Telecommunications Union", - address="1211 Geneva 20, Switzerland", - year=1998 -} - -@MANUAL{rec601, - key="ITU601", - title="Reccomendation {ITU-R} {BT}.601-5: Studio Encoding Parameters of - Digital Television for Standard 4:3 and Wide-Screen 16:9 Aspect Ratios", - edition="1982, revised", - organization="International Telecommunications Union", - address="1211 Geneva 20, Switzerland", - year=1995 -} - -@MANUAL{rec709, - key="ITU709", - title="Recommendation {ITU-R} {BT}.709-5: Parameter values for the {HDTV} - standards for production and international programme exchange", - edition="1990, revised", - organization="International Telecommunications Union", - address="1211 Geneva 20, Switzerland", - year=2002 -} - -@MANUAL{smpte170m, - key="SMPTE170M", - title="{SMPTE-170M}: Television --- Composite Analog Video Signal --- {NTSC} - for Studio Applications", - organization="Society of Motion Pciture and Television Engineers", - year=1994 -} - -@MANUAL{smpte240m, - key="SMPTE240M", - title="{SMPTE-240M}: Television --- Signal Parameters --- 1125-Line - High-Definition Production", - organization="Society of Motion Pciture and Television Engineers", - year=1999 -} - -@MANUAL{vorbis, - title="{Vorbis~I} specification", - organization="{Xiph.org Foundation}", - year=2002, - note="\url{http://www.xiph.org/ogg/vorbis/doc/}" -} - -@MANUAL{rfc2119, - author="Scott Bradner", - title="{RFC} 2119: Key words for use in {RFC}s to Indicate Requirement - Levels", - month=mar, - year=1997, - note="\url{http://www.ietf.org/rfc/rfc2119.txt}" -} - -@MANUAL{rfc3533, - author="Silvia Pfeiffer", - title="{RFC} 3533: The {Ogg} Encapsulation Format Version 0", - month=may, - year=2003, - note="\url{http://www.ietf.org/rfc/rfc3533.txt}" -} - -@MANUAL{rfc3534, - author="Linus Walleij", - title="{RFC} 3534: The {application/ogg} Media Type", - month=may, - year=2003, - note="\url{http://www.ietf.org/rfc/rfc3534.txt}" -} - -@MANUAL{rfc3550, - author="H. Schulzrinne, S. Casner, R. Frederick, V. Jacobson", - title="RTP: A Transport Protocol for Real-Time Applications", - month=jul, - year=2003, - note="\url{http://www.ietf.org/rfc/rfc3550.txt}" -} diff --git a/Libraries/libtheora-1.1.1/doc/spec/spec.tex b/Libraries/libtheora-1.1.1/doc/spec/spec.tex deleted file mode 100644 index b29d4ef5..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/spec.tex +++ /dev/null @@ -1,8171 +0,0 @@ -\documentclass[9pt,letterpaper]{book} - -\usepackage{latexsym} -\usepackage{amssymb} -\usepackage{amsmath} -\usepackage{bm} -\usepackage{textcomp} -\usepackage{graphicx} -\usepackage{booktabs} -\usepackage{tabularx} -\usepackage{longtable} -\usepackage{ltablex} -\usepackage{wrapfig} -\usepackage[pdfpagemode=None,pdfstartview=FitH,pdfview=FitH,colorlinks=true]% - {hyperref} - -\newtheorem{theorem}{Theorem}[section] -\newcommand{\idx}[1]{{\ensuremath{\mathit{#1}}}} -\newcommand{\qti}{\idx{qti}} -\newcommand{\qtj}{\idx{qtj}} -\newcommand{\pli}{\idx{pli}} -\newcommand{\plj}{\idx{plj}} -\newcommand{\qi}{\idx{qi}} -\newcommand{\ci}{\idx{ci}} -\newcommand{\bmi}{\idx{bmi}} -\newcommand{\bmj}{\idx{bmj}} -\newcommand{\qri}{\idx{qri}} -\newcommand{\qrj}{\idx{qrj}} -\newcommand{\hti}{\idx{hti}} -\newcommand{\sbi}{\idx{sbi}} -\newcommand{\bi}{\idx{bi}} -\newcommand{\bj}{\idx{bj}} -\newcommand{\mbi}{\idx{mbi}} -\newcommand{\mbj}{\idx{mbj}} -\newcommand{\mi}{\idx{mi}} -\newcommand{\cbi}{\idx{cbi}} -\newcommand{\qii}{\idx{qii}} -\newcommand{\ti}{\idx{ti}} -\newcommand{\tj}{\idx{tj}} -\newcommand{\rfi}{\idx{rfi}} -\newcommand{\zzi}{\idx{zzi}} -\newcommand{\ri}{\idx{ri}} -%This somewhat odd construct ensures that \bitvar{\qi}, etc., will set the -% qi in bold face, even though it is in a \mathit font, yet \bitvar{VAR} will -% set VAR in a bold, roman font. -\newcommand{\bitvar}[1]{\ensuremath{\mathbf{\bm{#1}}}} -\newcommand{\locvar}[1]{\ensuremath{\mathrm{#1}}} -\newcommand{\term}[1]{{\em #1}} -\newcommand{\bin}[1]{\ensuremath{\mathtt{b#1}}} -\newcommand{\hex}[1]{\ensuremath{\mathtt{0x#1}}} -\newcommand{\ilog}{\ensuremath{\mathop{\mathrm{ilog}}\nolimits}} -\newcommand{\round}{\ensuremath{\mathop{\mathrm{round}}\nolimits}} -\newcommand{\sign}{\ensuremath{\mathop{\mathrm{sign}}\nolimits}} -\newcommand{\lflim}{\ensuremath{\mathop{\mathrm{lflim}}\nolimits}} - -%Section-based table, figure, and equation numbering. -\numberwithin{equation}{chapter} -\numberwithin{figure}{chapter} -\numberwithin{table}{chapter} - -\keepXColumns - -\pagestyle{headings} -\bibliographystyle{alpha} - -\title{Theora Specification} -\author{Xiph.org Foundation} -\date{\today} - - -\begin{document} - -\frontmatter - -\begin{titlepage} -\maketitle -\end{titlepage} -\thispagestyle{empty} -\cleardoublepage - -\pagenumbering{roman} - -\thispagestyle{plain} -\tableofcontents -\cleardoublepage - -\thispagestyle{plain} -\listoffigures -\cleardoublepage - -\thispagestyle{plain} -\listoftables -\cleardoublepage - -\thispagestyle{plain} -\markboth{{\sc Notation and Conventions}}{{\sc Notation and Conventions}} -\chapter*{Notation and Conventions} - -All parameters either passed in or out of a decoding procedure are given in - \bitvar{bold\ face}. - -The prefix \bin{} indicates that the following value is to be interpreted as a - binary number (base 2). -\begin{verse} -{\bf Example:} The value \bin{1110100} is equal to the decimal value 116. -\end{verse} - -The prefix \hex{} indicates the the following value is to be interpreted as a - hexadecimal number (base 16). -\begin{verse} -{\bf Example:} The value \hex{74} is equal to the decimal value 116. -\end{verse} - -All arithmetic defined by this specification is exact. -However, any real numbers that do arise will always be converted back to - integers again in short order. -The entire specification can be implemented using only normal integer - operations. -All operations are to be implemented with sufficiently large integers so that - overflow cannot occur. -Where the result of a computation is to be truncated to a fixed-sized binary - representation, this will be explicitly noted. -The size given for all variables is the maximum number of bits needed to store - any value in that variable. -Intermediate computations involving that variable may require more bits. - -The following operators are defined: - -\begin{description} -\item[$|a|$] -The absolute value of a number $a$. -\begin{align*} -|a| & = \left\{\begin{array}{ll} --a, & a < 0 \\ -a, & a \ge 0 -\end{array}\right. -\end{align*} - -\item[$a*b$] -Multiplication of a number $a$ by a number $b$. -\item[$\frac{a}{b}$] -Exact division of a number $a$ by a number $b$, producing a potentially - non-integer result. - -\item[$\left\lfloor a\right\rfloor$] -The largest integer less than or equal to a real number $a$. - -\item[$\left\lceil a\right\rceil$] -The smallest integer greater than or equal to a real number $a$. - -\item[$a//b$] -Integer division of $a$ by $b$. -\begin{align*} -a//b & = \left\{\begin{array}{ll} -\left\lceil\frac{a}{b}\right\rceil, & a < 0 \\ -\left\lfloor\frac{a}{b}\right\rfloor, & a \ge 0 -\end{array}\right. -\end{align*} - -\item[$a\%b$] -The remainder from the integer division of $a$ by $b$. -\begin{align*} -a\%b & = a-|b|*\left\lfloor\frac{a}{|b|}\right\rfloor -\end{align*} -Note that with this definition, the result is always non-negative and less than - $|b|$. - -\item[$a<>b$] -The value obtained by right-shifting the two's complement integer $a$ by $b$ - bits, filling in the leftmost bits of the new value with $0$ if $a$ is - non-negative and $1$ if $a$ is negative. -This is {\em not} equivalent to integer division of $a$ by $2^b$. -Instead, -\begin{align*} -a>>b & = \left\lfloor\frac{a}{2^b}\right\rfloor. -\end{align*} - -\item[$\round(a)$] -Rounds a number $a$ to the nearest integer, with ties rounded away from $0$. -\begin{align*} -\round(a) = \left\{\begin{array}{ll} -\lceil a-\frac{1}{2}\rceil & a \le 0 \\ -\lfloor a+\frac{1}{2}\rfloor & a > 0 -\end{array}\right. -\end{align*} - -\item[$\sign(a)$] -Returns the sign of a given number. -\begin{align*} -\sign(a) = \left\{\begin{array}{ll} --1 & a < 0 \\ -0 & a = 0 \\ -1 & a > 0 -\end{array}\right. -\end{align*} - -\item[$\ilog(a)$] -The minimum number of bits required to store a positive integer $a$ in - two's complement notation, or $0$ for a non-positive integer $a$. -\begin{align*} -\ilog(a) = \left\{\begin{array}{ll} -0, & a \le 0 \\ -\left\lfloor\log_2{a}\right\rfloor+1, & a > 0 -\end{array}\right. -\end{align*} - -\begin{verse} -{\bf Examples:} -\begin{itemize} -\item $\ilog(-1)=0$ -\item $\ilog(0)=0$ -\item $\ilog(1)=1$ -\item $\ilog(2)=2$ -\item $\ilog(3)=2$ -\item $\ilog(4)=3$ -\item $\ilog(7)=3$ -\end{itemize} -\end{verse} - -\item[$\min(a,b)$] -The minimum of two numbers $a$ and $b$. - -\item[$\max(a,b)$] -The maximum of two numbers $a$ and $b$. - -\end{description} -\cleardoublepage - - -\thispagestyle{plain} -\markboth{{\sc Key words}}{{\sc Key words}} -\chapter*{Key words} - -%We can't rewrite this, because this is text required by RFC 2119, so we use -% some emergency stretching to get it typeset properly. -\setlength{\emergencystretch}{2em} -The key words ``MUST'', ``MUST NOT'', ``REQUIRED'', ``SHALL'', ``SHALL NOT'', - ``SHOULD'', ``SHOULD NOT'', ``RECOMMENDED'', ``MAY'', and ``OPTIONAL'' in this - document are to be intrepreted as described in RFC 2119 \cite{rfc2119}.\par -\setlength{\emergencystretch}{0em} - -Where such assertions are placed on the contents of a Theora bitstream itself, - implementations should be prepared to encounter bitstreams that do not follow - these requirements. -An application's behavior in the presecence of such non-conforming bitstreams - is not defined by this specification, but any reasonable method of handling - them MAY be used. -By way of example, applications MAY discard the current frame, retain the - current output thus far, or attempt to continue on by assuming some default - values for the erroneous bits. -When such an error occurs in the bitstream headers, an application MAY refuse - to decode the entire stream. -An application SHOULD NOT allow such non-conformant bitstreams to overflow - buffers and potentially execute arbitrary code, as this represents a serious - security risk. - -An application MUST, however, ensure any bits marked as reserved have the value - zero, and refuse to decode the stream if they do not. -These are used as place holders for future bitstream features with which the - current bitstream is forward-compatible. -Such features may not increment the bitstream version number, and can only be - recognized by checking the value of these reserved bits. - -\cleardoublepage - - - -\mainmatter - -\pagenumbering{arabic} -\setcounter{page}{1} - -\chapter{Introduction} - -Theora is a general purpose, lossy video codec. -It is based on the VP3 video codec produced by On2 Technologies - (\url{http://www.on2.com/}). -On2 donated the VP3.1 source code to the Xiph.org Foundation and released it - under a BSD-like license. -On2 also made an irrevocable, royalty-free license grant for any patent claims - it might have over the software and any derivatives. -No formal specification exists for the VP3 format beyond this source code, - however Mike Melanson maintains a detailed description \cite{Mel04}. -Portions of this specification were adopted from that text with permission. - -\section{VP3 and Theora} - -Theora contains a superset of the features that were available in the original - VP3 codec. -Content encoded with VP3.1 can be losslessly transcoded into the Theora format. -Theora content cannot, in general, be losslessly transcoded into the VP3 - format. -If a feature is not available in the original VP3 format, this is mentioned - when that feature is defined. -A complete list of these features appears in Appendix~\ref{app:vp3-compat}. -%TODO: VP3 - theora comparison in appendix - -\section{Video Formats} - -Theora currently supports progressive video data of arbitrary dimensions at a - constant frame rate in one of several $Y'C_bC_r$ color spaces. -The precise definition the supported color spaces appears in - Section~\ref{sec:colorspaces}. -Three different chroma subsampling formats are supported: 4:2:0, 4:2:2, - and 4:4:4. -The precise details of each of these formats and their sampling locations are - described in Section~\ref{sec:pixfmts}. - -The Theora format does not support interlaced material, variable frame rates, - bit-depths larger than 8 bits per component, nor alternate color spaces such - as RGB or arbitrary multi-channel spaces. -Black and white content can be efficiently encoded, however, because the - uniform chroma planes compress well. -Support for interlaced material is planned for a future version. -\begin{verse} -{\bf Note:} Infrequently changing frame rates---as when film and video - sequences are cut together---can be supported in the Ogg container format by - chaining several Theora streams together. -\end{verse} -Support for increased bit depths or additional color spaces is not planned. - -\section{Classification} - -Theora is a block-based lossy transform codec that utilizes an - $8\times 8$ Type-II Discrete Cosine Transform and block-based motion - compensation. -This places it in the same class of codecs as MPEG-1, -2, -4, and H.263. -The details of how individual blocks are organized and how DCT coefficients are - stored in the bitstream differ substantially from these codecs, however. -Theora supports only intra frames (I frames in MPEG) and inter frames (P frames - in MPEG). -There is no equivalent to the bi-predictive frames (B frames) found in MPEG - codecs. - -\section{Assumptions} - -The Theora codec design assumes a complex, psychovisually-aware encoder and a - simple, low-complexity decoder. -%TODO: Talk more about implementation complexity. - -Theora provides none of its own framing, synchronization, or protection against - transmission errors. -An encoder is solely a method of accepting input video frames and - compressing these frames into raw, unformatted `packets'. -The decoder then accepts these raw packets in sequence, decodes them, and - synthesizes a fascimile of the original video frames. -Theora is a free-form variable bit rate (VBR) codec, and packets have no - minimum size, maximum size, or fixed/expected size. - -Theora packets are thus intended to be used with a transport mechanism that - provides free-form framing, synchronization, positioning, and error correction - in accordance with these design assumptions, such as Ogg (for file transport) - or RTP (for network multicast). -For the purposes of a few examples in this document, we will assume that Theora - is embedded in an Ogg stream specifically, although this is by no means a - requirement or fundamental assumption in the Theora design. - -The specification for embedding Theora into an Ogg transport stream is given in - Appendix~\ref{app:oggencapsulation}. - -\section{Codec Setup and Probability Model} - -Theora's heritage is the proprietary commerical codec VP3, and it retains a - fair amount of inflexibility when compared to Vorbis \cite{vorbis}, the first - Xiph.org codec, which began as a research codec. -However, to provide additional scope for encoder improvement, Theora adopts - some of the configurable aspects of decoder setup that are present in Vorbis. -This configuration data is not available in VP3, which uses hardcoded values - instead. - -Theora makes the same controversial design decision that Vorbis made to include - the entire probability model for the DCT coefficients and all the quantization - parameters in the bitstream headers. -This is often several hundred fields. -It is therefore impossible to decode any frame in the stream without - having previously fetched the codec info and codec setup headers. - -\begin{verse} -{\bf Note:} Theora {\em can} initiate decode at an arbitrary intra-frame packet - within a bitstream so long as the codec has been initialized with the setup - headers. -\end{verse} - -Thus, Theora headers are both required for decode to begin and relatively large - as bitstream headers go. -The header size is unbounded, although as a rule-of-thumb less than 16kB is - recommended, and Xiph.org's reference encoder follows this suggestion. -%TODO: Is 8kB enough? My setup header is 7.4kB, that doesn't leave much room -% for comments. -%RG: the lesson from vorbis is that as small as possible is really -% important in some applications. Practically, what's acceptable -% depends a great deal on the target bitrate. I'd leave 16 kB in the -% spec for now. fwiw more than 1k of comments is quite unusual. - -Our own design work indicates that the primary liability of the required header - is in mindshare; it is an unusual design and thus causes some amount of - complaint among engineers as this runs against current design trends and - points out limitations in some existing software/interface designs. -However, we find that it does not fundamentally limit Theora's suitable - application space. - -%silvia: renamed -%\subsection{Format Specification} -\section{Format Conformance} - -The Theora format is well-defined by its decode specification; any encoder that - produces packets that are correctly decoded by an implementation following - this specification may be considered a proper Theora encoder. -A decoder must faithfully and completely implement the specification defined - herein %, except where noted, - to be considered a conformant Theora decoder. -A decoder need not be implemented strictly as described, but the - actual decoder process MUST be {\em entirely mathematically equivalent} - to the described process. -Where appropriate, a non-normative description of encoder processes is - included. -These sections will be marked as such, and a proper Theora encoder is not - bound to follow them. - -%TODO: \subsection{Hardware Profile} - - -\chapter{Coded Video Structure} - -Theora's encoding and decoding process is based on $8\times 8$ blocks of - pixels. -This sections describes how a video frame is laid out, divided into - blocks, and how those blocks are organized. - -\section{Frame Layout} - -A video frame in Theora is a two-dimensional array of pixels. -Theora, like VP3, uses a right-handed coordinate system, with the origin in the - lower-left corner of the frame. -This is contrary to many video formats which use a left-handed coordinate - system with the origin in the upper-left corner of the frame. -%INT: This means that for interlaced material, the definition of `even fields' -%INT: and `odd fields' may be reversed between Theora and other video codecs. -%INT: This document will always refer to them as `top fields' and `bottom -%INT: fields'. - -Theora divides the pixel array up into three separate \term{color planes}, one - for each of the $Y'$, $C_b$, and $C_r$ components of the pixel. -The $Y'$ plane is also called the \term{luma plane}, and the $C_b$ and $C_r$ - planes are also called the \term{chroma planes}. -Each plane is assigned a numerical value, as shown in - Table~\ref{tab:color-planes}. - -\begin{table}[htbp] -\begin{center} -\begin{tabular}{cl}\toprule -Index & Color Plane \\\midrule -$0$ & $Y'$ \\ -$1$ & $C_b$ \\ -$2$ & $C_r$ \\ -\bottomrule\end{tabular} -\end{center} -\caption{Color Plane Indices} -\label{tab:color-planes} -\end{table} - -In some pixel formats, the chroma planes are subsampled by a factor of two - in one or both directions. -This means that the width or height of the chroma planes may be half that of - the total frame width and height. -The luma plane is never subsampled. - -\section{Picture Region} - -An encoded video frame in Theora is required to have a width and height that - are multiples of sixteen, making an integral number of blocks even when the - chroma planes are subsampled. -However, inside a frame a smaller \term{picture region} may be defined - to present material whose dimensions are not a multiple of sixteen pixels, as - shown in Figure~\ref{fig:pic-frame}. -The picture region can be offset from the lower-left corner of the frame by up - to 255 pixels in each direction, and may have an arbitrary width and height, - provided that it is contained entirely within the coded frame. -It is this picture region that contains the actual video data. -The portions of the frame which lie outside the picture region may contain - arbitrary image data, so the frame must be cropped to the picture region - before display. -The picture region plays no other role in the decode process, which operates on - the entire video frame. - -\begin{figure}[htbp] -\begin{center} -\includegraphics{pic-frame} -\end{center} -\caption{Location of frame and picture regions} -\label{fig:pic-frame} -\end{figure} - -\section{Blocks and Super Blocks} -\label{sec:blocks-and-sbs} - -Each color plane is subdivided into \term{blocks} of $8\times 8$ pixels. -Blocks are grouped into $4\times 4$ arrays called \term{super blocks} as - shown in Figure~\ref{fig:superblock}. -Each color plane has its own set of blocks and super blocks. -If the chroma planes are subsampled, they are still divided into $8\times 8$ - blocks of pixels; there are just fewer blocks than in the luma plane. -The boundaries of blocks and super blocks in the luma plane do not necessarily - coincide with those of the chroma planes, if the chroma planes have been - subsampled. - -\begin{figure}[htbp] -\begin{center} -\includegraphics{superblock} -\end{center} -\caption{Subdivision of a frame into blocks and super blocks} -\label{fig:superblock} -\end{figure} - -Blocks are accessed in two different orders in the various decoder processes. -The first is \term{raster order}, illustrated in Figure~\ref{fig:raster-block}. -This accesses each block in row-major order, starting in the lower left of the - frame and continuing along the bottom row of the entire frame, followed by the - next row up, starting on the left edge of the frame, etc. - -\begin{figure}[htbp] -\begin{center} -\includegraphics{raster-block} -\end{center} -\caption{Raster ordering of $n\times m$ blocks} -\label{fig:raster-block} -\end{figure} - -The second is \term{coded order}. -In coded order, blocks are accessed by super block. -Within each frame, super blocks are traversed in raster order, - similar to raster order for blocks. -Within each super block, however, blocks are accessed in a Hilbert curve - pattern, illustrated in Figure~\ref{fig:hilbert-block}. -If a color plane does not contain a complete super block on the top or right - sides, the same ordering is still used, simply with any blocks outside the - frame boundary ommitted. - -\begin{figure}[htbp] -\begin{center} -\includegraphics{hilbert-block} -\end{center} -\caption{Hilbert curve ordering of blocks within a super block} -\label{fig:hilbert-block} -\end{figure} - -To illustrate this ordering, consider a frame that is 240 pixels wide and - 48 pixels high. -Each row of the luma plane has 30 blocks and 8 super blocks, and there are 6 - rows of blocks and two rows of super blocks. - -%When accessed in raster order, each block in the luma plane is assigned the -% following indices: - -%\vspace{\baselineskip} -%\begin{center} -%\begin{tabular}{|ccccccc|}\hline -%150 & 151 & 152 & 153 & $\ldots$ & 178 & 179 \\ -%120 & 121 & 122 & 123 & $\ldots$ & 148 & 149 \\\hline -% 90 & 91 & 92 & 93 & $\ldots$ & 118 & 119 \\ -% 60 & 61 & 62 & 63 & $\ldots$ & 88 & 89 \\ -% 30 & 31 & 32 & 33 & $\ldots$ & 58 & 59 \\ -% 0 & 1 & 2 & 3 & $\ldots$ & 28 & 29 \\\hline -%\end{tabular} -%\end{center} -%\vspace{\baselineskip} - -When accessed in coded order, each block in the luma plane is assigned the - following indices: - -\vspace{\baselineskip} -\begin{center} -\begin{tabular}{|cccc|c|cc|}\hline -123 & 122 & 125 & 124 & $\ldots$ & 179 & 178 \\ -120 & 121 & 126 & 127 & $\ldots$ & 176 & 177 \\\hline - 5 & 6 & 9 & 10 & $\ldots$ & 117 & 118 \\ - 4 & 7 & 8 & 11 & $\ldots$ & 116 & 119 \\ - 3 & 2 & 13 & 12 & $\ldots$ & 115 & 114 \\ - 0 & 1 & 14 & 15 & $\ldots$ & 112 & 113 \\\hline -\end{tabular} -\end{center} -\vspace{\baselineskip} - -Here the index values specify the order in which the blocks would be accessed. -The indices of the blocks are numbered continuously from one color plane to the - next. -They do not reset to zero at the start of each plane. -Instead, the numbering increases continuously from the $Y'$ plane to the $C_b$ - plane to the $C_r$ plane. -The implication is that the blocks from all planes are treated as a unit during - the various processing steps. - -Although blocks are sometimes accessed in raster order, in this document the - index associated with a block is {\em always} its index in coded order. - -\section{Macro Blocks} -\label{sec:mbs} - -A macro block contains a $2\times 2$ array of blocks in the luma plane - {\em and} the co-located blocks in the chroma planes, as shown in - Figure~\ref{fig:macroblock}. -Thus macro blocks can represent anywhere from six to twelve blocks, depending - on how the chroma planes are subsampled. -This is in contrast to super blocks, which only contain blocks from a single - color plane. -% the whole super vs. macro blocks thing is a little confusing, and it can be -% hard to remember which is what initially. A figure would/will help here, -% but I tried to add some text emphasizing the difference in terms of -% functionality. -%TBT: At this point we haven't described any functionality yet. -%TBT: As far as the reader knows, the only purpose of the blocks, macro blocks -%TBT: and super blocks is for data organization---and for blocks and super -%TBT: blocks, this is essentially true. -%TBT: So lets restrict the differences we emphasize to those of data -%TBT: organization, which the sentence I just added above does. -Macro blocks contain information about coding mode and motion vectors for the - corresponding blocks in all color planes. - -\begin{figure}[htbp] - \begin{center} - \includegraphics{macroblock} - \end{center} - \caption{Subdivision of a frame into macro blocks} - \label{fig:macroblock} -\end{figure} - -Macro blocks are also accessed in a \term{coded order}. -This coded order proceeds by examining each super block in the luma plane in - raster order, and traversing the four macro blocks inside using a smaller - Hilbert curve, as shown in Figure~\ref{fig:hilbert-mb}. -%r: I rearranged the wording to make a more formal idiom here -If the luma plane does not contain a complete super block on the top or right - sides, the same ordering is still used, with any macro blocks outside - the frame boundary simply omitted. -Because the frame size is constrained to be a multiple of 16, there are never - any partial macro blocks. -Unlike blocks, macro blocks need never be accessed in a pure raster order. - -\begin{figure}[htbp] -\begin{center} -\includegraphics{hilbert-mb} -\end{center} -\caption{Hilbert curve ordering of macro blocks within a super block} -\label{fig:hilbert-mb} -\end{figure} - -Using the same frame size as the example above, there are 15 macro blocks in - each row and 3 rows of macro blocks. -The macro blocks are assigned the following indices: - -\vspace{\baselineskip} -\begin{center} -\begin{tabular}{|cc|cc|c|cc|c|}\hline -30 & 31 & 32 & 33 & $\cdots$ & 42 & 43 & 44 \\\hline - 1 & 2 & 5 & 6 & $\cdots$ & 25 & 26 & 29 \\ - 0 & 3 & 4 & 7 & $\cdots$ & 24 & 27 & 28 \\\hline -\end{tabular} -\end{center} -\vspace{\baselineskip} - -\section{Coding Modes and Prediction} - -Each block is coded using one of a small, fixed set of \term{coding modes} that - define how the block is predicted from previous frames. -A block is predicted using one of two \term{reference frames}, selected - according to the coding mode. -A reference frame is the fully decoded version of a previous frame in the - stream. -The first available reference frame is the previous intra frame, called the - \term{golden frame}. -The second available reference frame is the previous frame, whether it was an - intra frame or an inter frame. -If the previous frame was an intra frame, then both reference frames are the - same. -See Figure~\ref{fig:reference-frames} for an illustration of the reference - frames used for an intra frame that does not follow an intra frame. - -\begin{figure}[htbp] -\begin{center} -\includegraphics{reference-frames} -\end{center} -\caption{Example of reference frames for an inter frame} -\label{fig:reference-frames} -\end{figure} - -Two coding modes in particular are worth mentioning here. -The INTRA mode is used for blocks that are not predicted from either reference - frame. -This is the only coding mode allowed in intra frames. -The INTER\_NOMV coding mode uses the co-located contents of the block in the - previous frame as the predictor. -This is the default coding mode. - -\section{DCT Coefficients} -\label{sec:dct-coeffs} - -A \term{residual} is added to the predicted contents of a block to form the - final reconstruction. -The residual is stored as a set of quantized coefficients from an integer - approximation of a two-dimensional Type II Discrete Cosine Transform. -The DCT takes an $8\times 8$ array of pixel values as input and returns an - $8\times 8$ array of coefficient values. -The \term{natural ordering} of these coefficients is defined to be row-major - order, from lowest to highest frequency. -They are also often indexed in \term{zig-zag order}, as shown in - Figure~\ref{tab:zig-zag}. - -\begin{figure}[htbp] -\begin{center} -\begin{tabular}[c]{rr|c@{}c@{}c@{}c@{}c@{}c@{}c@{}c@{}c@{}c@{}c@{}c@{}c@{}c@{}c} - &\multicolumn{1}{r}{} & && &&&&&$c$&&& && && \\ - &\multicolumn{1}{r}{} &0&&1&&2&&3&&4&&5&&6&&7 \\\cline{3-17} - &0 & 0 &$\rightarrow$& 1 && 5 &$\rightarrow$& 6 && 14 &$\rightarrow$& 15 && 27 &$\rightarrow$& 28 \\[-0.5\defaultaddspace] - & & &$\swarrow$&&$\nearrow$& &$\swarrow$&&$\nearrow$& &$\swarrow$&&$\nearrow$& &$\swarrow$& \\ - &1 & 2 & & 4 && 7 & & 13 && 16 & & 26 && 29 & & 42 \\[-0.5\defaultaddspace] - & &$\downarrow$&$\nearrow$&&$\swarrow$&&$\nearrow$&&$\swarrow$&&$\nearrow$&&$\swarrow$&&$\nearrow$&$\downarrow$ \\ - &2 & 3 & & 8 && 12 & & 17 && 25 & & 30 && 41 & & 43 \\[-0.5\defaultaddspace] - & & &$\swarrow$&&$\nearrow$& &$\swarrow$&&$\nearrow$& &$\swarrow$&&$\nearrow$& &$\swarrow$& \\ - &3 & 9 & & 11 && 18 & & 24 && 31 & & 40 && 44 & & 53 \\[-0.5\defaultaddspace] -$r$&&$\downarrow$&$\nearrow$&&$\swarrow$&&$\nearrow$&&$\swarrow$&&$\nearrow$&&$\swarrow$&&$\nearrow$&$\downarrow$ \\ - &4 & 10 & & 19 && 23 & & 32 && 39 & & 45 && 52 & & 54 \\[-0.5\defaultaddspace] - & & &$\swarrow$&&$\nearrow$& &$\swarrow$&&$\nearrow$& &$\swarrow$&&$\nearrow$& &$\swarrow$& \\ - &5 & 20 & & 22 && 33 & & 38 && 46 & & 51 && 55 & & 60 \\[-0.5\defaultaddspace] - & &$\downarrow$&$\nearrow$&&$\swarrow$&&$\nearrow$&&$\swarrow$&&$\nearrow$&&$\swarrow$&&$\nearrow$&$\downarrow$ \\ - &6 & 21 & & 34 && 37 & & 47 && 50 & & 56 && 59 & & 61 \\[-0.5\defaultaddspace] - & & &$\swarrow$&&$\nearrow$& &$\swarrow$&&$\nearrow$& &$\swarrow$&&$\nearrow$& &$\swarrow$& \\ - &7 & 35 &$\rightarrow$& 36 && 48 &$\rightarrow$& 49 && 57 &$\rightarrow$& 58 && 62 &$\rightarrow$& 63 -\end{tabular} -\end{center} -\caption{Zig-zag order} -\label{tab:zig-zag} -\end{figure} - -\begin{verse} -{\bf Note:} the row and column indices refer to {\em frequency number} and not - pixel locations. -The frequency numbers are defined independently of the memory organization of - the pixels. -They have been written from top to bottom here to follow conventional notation, - despite the right-handed coordinate system Theora uses for pixel locations. -%RG: I'd rather we were internally consistent and put dc at the lower left. -Many implementations of the DCT operate `in-place'. -That is, they return DCT coefficients in the same memory buffer that the - initial pixel values were stored in. -Due to the right-handed coordinate system used for pixel locations in Theora, - one must note carefully how both pixel values and DCT coefficients are - organized in memory in such a system. -\end{verse} - -DCT coefficient $(0,0)$ is called the \term{DC coefficient}. -All the other coefficients are called \term{AC coefficients}. - - -\chapter{Decoding Overview} - -This section provides a high level description of the Theora codec's - construction. -A bit-by-bit specification appears beginning in Section~\ref{sec:bitpacking}. -The later sections assume a high-level understanding of the Theora decode - process, which is provided below. - -\section{Decoder Configuration} - -Decoder setup consists of configuration of the quantization matrices and the - Huffman codebooks for the DCT coefficients, and a table of limit values for - the deblocking filter. -The remainder of the decoding pipeline is not configurable. - -\subsection{Global Configuration} - -The global codec configuration consists of a few video related fields, such as - frame rate, frame size, picture size and offset, aspect ratio, color space, - pixel format, and a version number. -The version number is divided into a major version, a minor version, amd a - minor revision number. -%r: afaik the released vp3 codec called itself 3.1 and is compatible w/ theora -%r: even though we received the in-progress 3.2 codebase -For the format defined in this specification, these are `3', `2', and - `1', respectively, in reference to Theora's origin as a successor to - the VP3.1 format. - -\subsection{Quantization Matrices} - -Theora allows up to 384 different quantization matrices to be defined, one for - each \term{quantization type}, \term{color plane} ($Y'$, $C_b$, or $C_r$), and - \term{quantization index}, \qi, which ranges from zero to 63, inclusive. -There are currently two quantization types defined, which depend on the coding - mode of the block being dequantized, as shown in Table~\ref{tab:quant-types}. - -\begin{table}[htbp] -\begin{center} -\begin{tabular}{cl}\toprule -Quantization Type & Usage \\\midrule -$0$ & INTRA-mode blocks \\ -$1$ & Blocks in any other mode. \\ -\bottomrule\end{tabular} -\end{center} -\caption{Quantization Type Indices} -\label{tab:quant-types} -\end{table} - -%r: I think 'nominally' is more specific than 'generally' here -The quantization index, on the other hand, nominally represents a progressive - range of quality levels, from low quality near zero to high quality near 63. -However, the interpretation is arbitrary, and it is possible, for example, to - partition the scale into two completely separate ranges with 32 levels each - that are meant to represent different classes of source material, or any - other arrangement that suits the encoder's requirements. - -Each quantization matrix is an $8\times 8$ matrix of 16-bit values, which is - used to quantize the output of the $8\times 8$ DCT\@. -Quantization matrices are specified using three components: a - \term{base matrix} and two \term{scale values}. -The first scale value is the \term{DC scale}, which is applied to the DC - component of the base matrix. -The second scale value is the \term{AC scale}, which is applied to all the - other components of the base matrix. -There are 64 DC scale values and 64 AC scale values, one for each \qi\ value. - -There are 64 elements in each base matrix, one for each DCT coefficient. -They are stored in natural order (cf. Section~\ref{sec:dct-coeffs}). -There is a separate set of base matrices for each quantization type and each - color plane, with up to 64 possible base matrices in each set, one for each - \qi\ value. -%r: we will mention that the given matricies must bound the \qi range -%r: in the detailed section. it's not important at this level. -Typically the bitstream contains matrices for only a sparse subset of the - possible \qi\ values. -The base matrices for the remainder of the \qi\ values are computed using - linear interpolation. -This configuration allows the encoder to adjust the quantization matrices to - approximate the complex, non-linear response of the human visual system to - different quantization errors. - -Finally, because the in-loop deblocking filter strength depends on the strength - of the quantization matrices defined in this header, a table of 64 \term{loop - filter limit values} is defined, one for each \qi\ value. - -The precise specification of how all of this information is decoded appears in - Section~\ref{sub:loop-filter-limits} and Section~\ref{sub:quant-params}. - -\subsection{Huffman Codebooks} - -Theora uses 80 configurable binary Huffman codes to represent the 32 tokens - used to encode DCT coefficients. -Each of the 32 token values has a different semantic meaning and is used to - represent single coefficient values, zero runs, combinations of the two, and - \term{End-Of-Block markers}. - -The 80 codes are divided up into five groups of 16, with each group - corresponding to a set of DCT coefficient indices. -The first group corresponds to the DC coefficient, while the remaining four - groups correspond to different subsets of the AC coefficients. -Within each frame, two pairs of 4-bit codebook indices are stored. -The first pair selects which codebooks to use from the DC coefficient group for - the $Y'$ coefficients and the $C_b$ and $C_r$ coefficients. -The second pair selects which codebooks to use from {\em all four} of the AC - coefficient groups for the $Y'$ coefficients and the $C_b$ and $C_r$ - coefficients. - -The precise specification of how the codebooks are decoded appears in - Section~\ref{sub:huffman-tables}. - -\section{High-Level Decode Process} - -\subsection{Decoder Setup} - -Before decoding can begin, a decoder MUST be initialized using the bitstream - headers corresponding to the stream to be decoded. -Theora uses three header packets; all are required, in order, by this - specification. -Once set up, decode may begin at any intra-frame packet---or even inter-frame - packets, provided the appropriate decoded reference frames have already been - decoded and cached---belonging to the Theora stream. -In Theora I, all packets after the three initial headers are intra-frame or - inter-frame packets. - -The header packets are, in order, the identification header, the comment - header, and the setup header. - -\paragraph{Identification Header} - -The identification header identifies the stream as Theora, provides a version - number, and defines the characteristics of the video stream such as frame - size. -A complete description of the identification header appears in - Section~\ref{sec:idheader}. - -\paragraph{Comment Header} - -The comment header includes user text comments (`tags') and a vendor string - for the application/library that produced the stream. -The format of the comment header is the same as that used in the Vorbis I and - Speex codecs, with slight modifications due to the use of a different bit - packing mechanism. -A complete description of how the comment header is coded appears in - Section~\ref{sec:commentheader}, along with a suggested set of tags. - -\paragraph{Setup Header} - -The setup header includes extensive codec setup information, including the - complete set of quantization matrices and Huffman codebooks needed to decode - the DCT coefficients. -A complete description of the setup header appears in - Section~\ref{sec:setupheader}. - -\subsection{Decode Procedure} - -The decoding and synthesis procedure for all video packets is fundamentally the - same, with some steps omitted for intra frames. -\begin{itemize} -\item -Decode packet type flag. -\item -Decode frame header. -\item -Decode coded block information (inter frames only). -\item -Decode macro block mode information (inter frames only). -\item -Decode motion vectors (inter frames only). -\item -Decode block-level \qi\ information. -\item -Decode DC coefficient for each coded block. -\item -Decode 1st AC coefficient for each coded block. -\item -Decode 2nd AC coefficient for each coded block. -\item -$\ldots$ -\item -Decode 63rd AC coefficient for each coded block. -\item Perform DC coefficient prediction. -\item Reconstruct coded blocks. -\item Copy uncoded bocks. -\item Perform loop filtering. -\end{itemize} - -\begin{verse} -{\bf Note:} clever rearrangement of the steps in this process is possible. -As an example, in a memory-constrained environment, one can make multiple - passes through the DCT coefficients to avoid buffering them all in memory. -On the first pass, the starting location of each coefficient is identified, and - then 64 separate get pointers are used to read in the 64 DCT coefficients - required to reconstruct each coded block in sequence. -This operation produces entirely equivalent output and is naturally perfectly - legal. -It may even be a benefit in non-memory-constrained environments due to a - reduced cache footprint. -\end{verse} - -Theora makes equivalence easy to check by defining all decoding operations in - terms of exact integer operations. -No floating-point math is required, and in particular, the implementation of - the iDCT transform MUST be followed precisely. -This prevents the decoder mismatch problem commonly associated with codecs that - provide a less rigorous transform specification. -Such a mismatch problem would be devastating to Theora, since a single rounding - error in one frame could propagate throughout the entire succeeding frame due - to DC prediction. - -\paragraph{Packet Type Decode} - -Theora uses four packet types. -The first three packet types mark each of the three Theora headers described - above. -The fourth packet type marks a video packet. -All other packet types are reserved; packets marked with a reserved type should - be ignored. - -Additionally, zero-length packets are treated as if they were an inter -frame with no blocks coded. That is, as a duplicate frame. - -\paragraph{Frame Header Decode} - -The frame header contains some global information about the current frame. -The first is the frame type field, which specifies if this is an intra frame or - an inter frame. -Inter frames predict their contents from previously decoded reference frames. -Intra frames can be independently decoded with no established reference frames. - -The next piece of information in the frame header is the list of \qi\ values - allowed in the frame. -Theora allows from one to three different \qi\ values to be used in a single - frame, each of which selects a set of six quantization matrices, one for each - quantization type (inter or intra), and one for each color plane. -The first \qi\ value is {\em always} used when dequantizing DC coefficients. -The \qi\ value used when dequantizing AC coefficients, however, can vary from - block to block. -VP3, in contrast, only allows a single \qi\ value per frame for both the DC and - AC coefficients. - -\paragraph{Coded Block Information} - -This stage determines which blocks in the frame are coded and which are - uncoded. -A \term{coded block list} is constructed which lists all the coded blocks in - coded order. -For intra frames, every block is coded, and so no data needs to be read from - the packet. - -\paragraph{Macro Block Mode Information} - -For intra frames, every block is coded in INTRA mode, and this stage is - skipped. -In inter frames a \term{coded macro block list} is constructed from the coded - block list. -Any macro block which has at least one of its luma blocks coded is considered - coded; all other macro blocks are uncoded, even if they contain coded chroma - blocks. -A coding mode is decoded for each coded macro block, and assigned to all its - constituent coded blocks. -All coded chroma blocks in uncoded macro blocks are assigned the INTER\_NOMV - coding mode. - -\paragraph{Motion Vectors} - -Intra frames are coded entirely in INTRA mode, and so this stage is skipped. -Some inter coding modes, however, require one or more motion vectors to be - specified for each macro block. -These are decoded in this stage, and an appropriate motion vector is assigned - to each coded block in the macro block. - -\paragraph{Block-Level \qi\ Information} - -If a frame allows multiple \qi\ values, the \qi\ value assigned to each block - is decoded here. -Frames that use only a single \qi\ value have nothing to decode. - -\paragraph{DCT Coefficients} - -Finally, the quantized DCT coefficients are decoded. -A list of DCT coefficients in zig-zag order for a single block is represented - by a list of tokens. -A token can take on one of 32 different values, each with a different semantic - meaning. -A single token can represent a single DCT coefficient, a run of zero - coefficients within a single block, a combination of a run of zero - coefficients followed by a single non-zero coefficient, an - \term{End-Of-Block marker}, or a run of EOB markers. -EOB markers signify that the remainder of the block is one long zero run. -Unlike JPEG and MPEG, there is no requirement for each block to end with - a special marker. -If non-EOB tokens yield values for all 64 of the coefficients in a block, then - no EOB marker occurs. - -Each token is associated with a specific \term{token index} in a block. -For single-coefficient tokens, this index is the zig-zag index of the token in - the block. -For zero-run tokens, this index is the zig-zag index of the {\em first} - coefficient in the run. -For combination tokens, the index is again the zig-zag index of the first - coefficient in the zero run. -For EOB markers, which signify that the remainder of the block is one long zero - run, the index is the zig-zag index of the first zero coefficient in that run. -For EOB runs, the token index is that of the first EOB marker in the run. -Due to zero runs and EOB markers, a block does not have to have a token for - every zig-zag index. - -Tokens are grouped in the stream by token index, not by the block they - originate from. -This means that for each zig-zag index in turn, the tokens with that index from - {\em all} the coded blocks are coded in coded block order. -When decoding, a current token index is maintained for each coded block. -This index is advanced by the number of coefficients that are added to the - block as each token is decoded. -After fully decoding all the tokens with token index \ti, the current token - index of every coded block will be \ti\ or greater. - -If an EOB run of $n$ blocks is decoded at token index \ti, then it ends the - next $n$ blocks in coded block order whose current token index is equal to - \ti, but not greater. -If there are fewer than $n$ blocks with a current token index of \ti, then the - decoder goes through the coded block list again from the start, ending blocks - with a current token index of $\ti+1$, and so on, until $n$ blocks have been - ended. - -Tokens are read by parsing a Huffman code that depends on \ti\ and the color - plane of the next coded block whose current token index is equal to \ti, but - not greater. -The Huffman codebooks are selected on a per-frame basis from the 80 codebooks - defined in the setup header. -Many tokens have a fixed number of \term{extra bits} associated with them. -These bits are read from the packet immediately after the token is decoded. -These are used to define things such as coefficient magnitude, sign, and the - length of runs. - -\paragraph{DC Prediction} - -After the coefficients for each block are decoded, the quantized DC value of - each block is adjusted based on the DC values of its neighbors. -This adjustment is performed by scanning the blocks in raster order, not coded - block order. - -\paragraph{Reconstruction} - -Finally, using the coding mode, motion vector (if applicable), quantized - coefficient list, and \qi\ value defined for each block, all the coded blocks - are reconstructed. -The DCT coefficients are dequantized, an inverse DCT transform is applied, and - the predictor is formed from the coding mode and motion vector and added to - the result. - -\paragraph{Loop Filtering} - -To complete the reconstructed frame, an ``in-loop'' deblocking filter is - applied to the edges of all coded blocks. - - -\chapter{Video Formats} - -This section gives a precise description of the video formats that Theora is - capable of storing. -The Theora bitstream is capable of handling video at any arbitrary resolution - up to $1048560\times 1048560$. -Such video would require almost three terabytes of storage per frame for - uncompressed data, so compliant decoders MAY refuse to decode images with - sizes beyond their capabilities. -%TODO: What MUST a "compliant" decoder accept? -%TODO: What SHOULD a decoder use for an upper bound? (derive from total amount -%TODO: of memory and memory bandwidth) -%TODO: Any lower limits? -%TODO: We really need hardware device profiles, but such things should be -%TODO: developed with input from the hardware community. -%TODO: And even then sometimes they're useless - -The remainder of this section talks about two specific aspects of the video - format: the color space and the pixel format. -The first describes how color is represented and how to transform that color - representation into a device independent color space such as CIE $XYZ$ (1931). -The second describes the various schemes for sampling the color values in time - and space. - -\section{Color Space Conventions} - -There are a large number of different color standards used in digital video. -Since Theora is a lossy codec, it restricts itself to only a few of them to - simplify playback. -Unlike the alternate method of describing all the parameters of the color - model, this allows a few dedicated routines for color conversion to be written - and heavily optimized in a decoder. -More flexible conversion functions should instead be specified in an encoder, - where additional computational complexity is more easily tolerated. -The color spaces were selected to give a fair representation of color standards - in use around the world today. -Most of the standards that do not exactly match one of these can be converted - to one fairly easily. - -All Theora color spaces are $Y'C_bC_r$ color spaces with one luma channel and - two chroma channels. -Each channel contains 8-bit discrete values in the range $0\ldots255$, which - represent non-linear gamma pre-corrected signals. -The Theora identification header contains an 8-bit value that describes the - color space. -This merely selects one of the color spaces available from an enumerated list. -Currently, only two color spaces are defined, with a third possibility that - indicates the color space is ``unknown". - -\section{Color Space Conversions and Parameters} -\label{sec:color-xforms} - -The parameters which describe the conversions between each color space are - listed below. -These are the parameters needed to map colors from the encoded $Y'C_bC_r$ - representation to the device-independent color space CIE $XYZ$ (1931). -These parameters define abstract mathematical conversion functions which are - infinitely precise. -The accuracy and precision with which the conversions are performed in a real - system is determined by the quality of output desired and the available - processing power. -Exact decoder output is defined by this specification only in the original - $Y'C_bC_r$ space. - -\begin{description} -\item[$Y'C_bC_r$ to $Y'P_bP_r$:] -\vspace{\baselineskip}\hfill - -This conversion takes 8-bit discrete values in the range $[0\ldots255]$ and - maps them to real values in the range $[0\ldots1]$ for Y and - $[-\frac{1}{2}\ldots\frac{1}{2}]$ for $P_b$ and $P_r$. -Because some values may fall outside the offset and excursion defined for each - channel in the $Y'C_bC_r$ space, the results may fall outside these ranges in - $Y'P_bP_r$ space. -No clamping should be done at this stage. - -\begin{align} -Y'_\mathrm{out} & = - \frac{Y'_\mathrm{in}-\mathrm{Offset}_Y}{\mathrm{Excursion}_Y} \\ -P_b & = - \frac{C_b-\mathrm{Offset}_{C_b}}{\mathrm{Excursion}_{C_b}} \\ -P_r & = - \frac{C_r-\mathrm{Offset}_{C_r}}{\mathrm{Excursion}_{C_r}} -\end{align} - -Parameters: $\mathrm{Offset}_{Y,C_b,C_r}$, $\mathrm{Excursion}_{Y,C_b,C_r}$. - -\item[$Y'P_bP_r$ to $R'G'B'$:] -\vspace{\baselineskip}\hfill - -This conversion takes the one luma and two chroma channel representation and - maps it to the non-linear $R'G'B'$ space used to drive actual output devices. -Values should be clamped into the range $[0\ldots1]$ after this stage. - -\begin{align} -R' & = Y'+2(1-K_r)P_r \\ -G' & = Y'-2\frac{(1-K_b)K_b}{1-K_b-K_r}P_b-2\frac{(1-K_r)K_r}{1-K_b-K_r}P_r\\ -B' & = Y'+2(1-K_b)P_b -\end{align} - -Parameters: $K_b,K_r$. - -\item[$R'G'B'$ to $RGB$ (Output device gamma correction):] -\vspace{\baselineskip}\hfill - -This conversion takes the non-linear $R'G'B'$ voltage levels and maps them to - linear light levels produced by the actual output device. -Note that this conversion is only that of the output device, and its inverse is - {\em not} that used by the input device. -Because a dim viewing environment is assumed in most television standards, the - overall gamma between the input and output devices is usually around $1.1$ to - $1.2$, and not a strict $1.0$. - -For calibration with actual output devices, the model -\begin{align} -L & =(E'+\Delta)^\gamma -\end{align} - should be used, with $\Delta$ the free parameter and $\gamma$ held fixed to - the value specified in this document. -The conversion function presented here is an idealized version with $\Delta=0$. - -\begin{align} -R & = R'^\gamma \\ -G & = G'^\gamma \\ -B & = B'^\gamma -\end{align} - -Parameters: $\gamma$. - -\item[$RGB$ to $R'G'B'$ (Input device gamma correction):] -\vspace{\baselineskip}\hfill - -%TODO: Tag section as non-normative - -This conversion takes linear light levels and maps them to the non-linear - voltage levels produced in the actual input device. -This information is merely informative. -It is not required for building a decoder or for converting between the various - formats and the actual output capabilities of a particular device. - -A linear segment is introduced on the low end to reduce noise in dark areas of - the image. -The rest of the scale is adjusted so that the power segment of the curve - intersects the linear segment with the proper slope, and so that it still maps - 0 to 0 and 1 to 1. - -\begin{align} -R' & = \left\{ -\begin{array}{ll} -\alpha R, & 0\le R<\delta \\ -(1+\epsilon)R^\beta-\epsilon, & \delta\le R\le1 -\end{array}\right. \\ -G' & = \left\{ -\begin{array}{ll} -\alpha G, & 0\le G<\delta \\ -(1+\epsilon)G^\beta-\epsilon, & \delta\le G\le1 -\end{array}\right. \\ -B' & = \left\{ -\begin{array}{ll} -\alpha B, & 0\le B<\delta \\ -(1+\epsilon)B^\beta-\epsilon, & \delta\le B\le1 -\end{array}\right. -\end{align} - -Parameters: $\beta$, $\alpha$, $\delta$, $\epsilon$. - -\item[$RGB$ to CIE $XYZ$ (1931):] -\vspace{\baselineskip}\hfill - -This conversion maps a device-dependent linear RGB space to the - device-independent linear CIE $XYZ$ space. -The parameters are the CIE chromaticity coordinates of the three - primaries---red, green, and blue---as well as the chromaticity coordinates - of the white point of the device. -This is how hardware manufacturers and standards typically describe a - particular $RGB$ space. -The math required to convert these parameters into a useful transformation - matrix is reproduced below. - -\begin{align} -F & = -\left[\begin{array}{ccc} -\frac{x_r}{y_r} & \frac{x_g}{y_g} & \frac{x_b}{y_b} \\ -1 & 1 & 1 \\ -\frac{1-x_r-y_r}{y_r} & \frac{1-x_g-y_g}{y_g} & \frac{1-x_b-y_b}{y_b} -\end{array}\right] \\ -\left[\begin{array}{c} -s_r \\ -s_g \\ -s_b -\end{array}\right] & = -F^{-1}\left[\begin{array}{c} -\frac{x_w}{y_w} \\ -1 \\ -\frac{1-x_w-y_w}{y_w} -\end{array}\right] \\ -\left[\begin{array}{c} -X \\ -Y \\ -Z -\end{array}\right] & = -F\left[\begin{array}{c} -s_rR \\ -s_gG \\ -s_bB -\end{array}\right] -\end{align} -Parameters: $x_r,x_g,x_b,x_w, y_r,y_g,y_b,y_w$. - -\end{description} - -\section{Available Color Spaces} -\label{sec:colorspaces} - -These are the color spaces currently defined for use by Theora video. -Each one has a short name, with which it is referred to in this document, and - a more detailed specification of the standards from which its parameters are - derived. -Some standards do not specify all the parameters necessary. -For these unspecified parameters, this document serves as the definition of - what should be used when encoding or decoding Theora video. - -\subsection{Rec.~470M (Rec.~ITU-R~BT.470-6 System M/NTSC with - Rec.~ITU-R~BT.601-5)} -\label{sec:470m} - -This color space is used by broadcast television and DVDs in much of the - Americas, Japan, Korea, and the Union of Myanmar \cite{rec470}. -This color space may also be used for System M/PAL (Brazil), with an - appropriate conversion supplied by the encoder to compensate for the - different gamma value. -See Section~\ref{sec:470bg} for an appropriate gamma value to assume for M/PAL - input. - -In the US, studio monitors are adjusted to a D65 white point - ($x_w,y_w=0.313,0.329$). -In Japan, studio monitors are adjusted to a D white of 9300K - ($x_w,y_w=0.285,0.293$). - -Rec.~470 does not specify a digital encoding of the color signals. -For Theora, Rec.~ITU-R~BT.601-5 \cite{rec601} is used, starting from the - $R'G'B'$ signals specified by Rec.~470. - -Rec.~470 does not specify an input gamma function. -For Theora, the Rec.~709 \cite{rec709} input function is assumed. -This is the same as that specified by SMPTE 170M \cite{smpte170m}, which claims - to reflect modern practice in the creation of NTSC signals circa 1994. - -The parameters for all the color transformations defined in - Section~\ref{sec:color-xforms} are given in Table~\ref{tab:470m}. - -\begin{table}[htb] -\begin{align*} -\mathrm{Offset}_{Y,C_b,C_r} & = (16, 128, 128) \\ -\mathrm{Excursion}_{Y,C_b,C_r} & = (219, 224, 224) \\ -K_r & = 0.299 \\ -K_b & = 0.114 \\ -\gamma & = 2.2 \\ -\beta & = 0.45 \\ -\alpha & = 4.5 \\ -\delta & = 0.018 \\ -\epsilon & = 0.099 \\ -x_r,y_r & = 0.67, 0.33 \\ -x_g,y_g & = 0.21, 0.71 \\ -x_b,y_b & = 0.14, 0.08 \\ -\text{(Illuminant C) } x_w,y_w & = 0.310, 0.316 \\ -\end{align*} -\caption{Rec.~470M Parameters} -\label{tab:470m} -\end{table} - -\subsection{Rec.~470BG (Rec.~ITU-R~BT.470-6 Systems B and G with - Rec.~ITU-R~BT.601-5)} -\label{sec:470bg} - -This color space is used by the PAL and SECAM systems in much of the rest of - the world \cite{rec470} -This can be used directly by systems (B, B1, D, D1, G, H, I, K, N)/PAL and (B, - D, G, H, K, K1, L)/SECAM\@. - -\begin{verse} -{\bf Note:} the Rec.~470BG chromaticity values are different from those - specified in Rec.~470M\@. -When PAL and SECAM systems were first designed, they were based upon the same - primaries as NTSC\@. -However, as methods of making color picture tubes have changed, the primaries - used have changed as well. -The U.S. recommends using correction circuitry to approximate the existing, - standard NTSC primaries. -Current PAL and SECAM systems have standardized on primaries in accord with - more recent technology. -\end{verse} - -Rec.~470 provisionally permits the use of the NTSC chromaticity values (given - in Section~\ref{sec:470m}) with legacy PAL and SECAM equipment. -In Theora, material must be decoded assuming the new PAL and SECAM primaries. -Material intended for display on old legacy devices should be converted by the - decoder. - -The official Rec.~470BG specifies a gamma value of $\gamma=2.8$. -However, in practice this value is unrealistically high \cite{Poyn97}. -Rec.~470BG states that the overall system gamma should be approximately - $\gamma\beta=1.2$. -Since most cameras pre-correct with a gamma value of $\beta=0.45$, - this suggests an output device gamma of approximately $\gamma=2.67$. -This is the value recommended for use with PAL systems in Theora. - -Rec.~470 does not specify a digital encoding of the color signals. -For Theora, Rec.~ITU-R~BT.601-5 \cite{rec601} is used, starting from the - $R'G'B'$ signals specified by Rec.~470. - -Rec.~470 does not specify an input gamma function. -For Theora, the Rec 709 \cite{rec709} input function is assumed. - -The parameters for all the color transformations defined in - Section~\ref{sec:color-xforms} are given in Table~\ref{tab:470bg}. - -\begin{table}[htb] -\begin{align*} -\mathrm{Offset}_{Y,C_b,C_r} & = (16, 128, 128) \\ -\mathrm{Excursion}_{Y,C_b,C_r} & = (219, 224, 224) \\ -K_r & = 0.299 \\ -K_b & = 0.114 \\ -\gamma & = 2.67 \\ -\beta & = 0.45 \\ -\alpha & = 4.5 \\ -\delta & = 0.018 \\ -\epsilon & = 0.099 \\ -x_r,y_r & = 0.64, 0.33 \\ -x_g,y_g & = 0.29, 0.60 \\ -x_b,y_b & = 0.15, 0.06 \\ -\text{(D65) } x_w,y_w & = 0.313, 0.329 \\ -\end{align*} -\caption{Rec.~470BG Parameters} -\label{tab:470bg} -\end{table} - -\section{Pixel Formats} -\label{sec:pixfmts} - -Theora supports several different pixel formats, each of which uses different - subsampling for the chroma planes relative to the luma plane. -A decoder may need to recover a full resolution chroma plane with samples - co-sited with the luma plane in order to convert to RGB for display or perform - other processing. -Decoders can assume that the chroma signal satisfies the Nyquist-Shannon - sampling theorem. -The ideal low-pass reconstruction filter this implies is not practical, but any - suitable approximation can be used, depending on the available computing - power. -Decoders MAY simply use a box filter, assigning to each luma sample the chroma - sample closest to it. -Encoders would not go wrong in assuming that this will be the most common - approach. - -\subsection{4:4:4 Subsampling} -\label{sec:444} - -All three color planes are stored at full resolution---each pixel has a $Y'$, - a $C_b$ and a $C_r$ value (see Figure~\ref{fig:pixel444}). -The samples in the different planes are all at co-located sites. - -\begin{figure}[htbp] -\begin{center} -\includegraphics{pixel444} -\end{center} -\caption{Pixels encoded 4:4:4} -\label{fig:pixel444} -\end{figure} - -% Figure. -%YRB YRB -% -% -% -%YRB YRB -% -% -% - - -\subsection{4:2:2 Subsampling} -\label{sec:422} - -The $C_b$ and $C_r$ planes are stored with half the horizontal resolution of - the $Y'$ plane. -Thus, each of these planes has half the number of horizontal blocks as the luma - plane (see Figure~\ref{fig:pixel422}). -Similarly, they have half the number of horizontal super blocks, rounded up. -Macro blocks are defined across color planes, and so their number does not - change, but each macro block contains half as many chroma blocks. - -The chroma samples are vertically aligned with the luma samples, but - horizontally centered between two luma samples. -Thus, each luma sample has a unique closest chroma sample. -A horizontal phase shift may be required to produce signals which use different - horizontal chroma sampling locations for compatibility with different systems. - -\begin{figure}[htbp] -\begin{center} -\includegraphics{pixel422} -\end{center} -\caption{Pixels encoded 4:2:2} -\label{fig:pixel422} -\end{figure} - -% Figure. -%Y RB Y Y RB Y -% -% -% -%Y RB Y Y RB Y -% -% -% - -\subsection{4:2:0 Subsampling} -\label{sec:420} - -The $C_b$ and $C_r$ planes are stored with half the horizontal and half the - vertical resolution of the $Y'$ plane. -Thus, each of these planes has half the number of horizontal blocks and half - the number of vertical blocks as the luma plane, for a total of one quarter - the number of blocks (see Figure~\ref{fig:pixel420}). -Similarly, they have half the number of horizontal super blocks and half the - number of vertical super blocks, rounded up. -Macro blocks are defined across color planes, and so their number does not - change, but each macro block contains within it one quarter as many - chroma blocks. - -The chroma samples are vertically and horizontally centered between four luma - samples. -Thus, each luma sample has a unique closest chroma sample. -This is the same sub-sampling pattern used with JPEG, MJPEG, and MPEG-1, and - was inherited from VP3. -A horizontal or vertical phase shift may be required to produce signals which - use different chroma sampling locations for compatibility with different - systems. - -\begin{figure}[htbp] -\begin{center} -\includegraphics{pixel420} -\end{center} -\caption{Pixels encoded 4:2:0} -\label{fig:pixel420} -\end{figure} - -% Figure. -%Y Y Y Y -% -% RB RB -% -%Y Y Y Y -% -% -% -%Y Y Y Y -% -% RB RB -% -%Y Y Y Y -% -% -% - -\subsection{Subsampling and the Picture Region} - -Although the frame size must be an integral number of macro blocks, and thus - both the number of pixels and the number of blocks in each direction must be - even, no such requirement is made of the picture region. -Thus, when using subsampled pixel formats, careful attention must be paid to - which chroma samples correspond to which luma samples. - -As mentioned above, for each pixel format, there is a unique chroma sample that - is the closest to each luma sample. -When cropping the chroma planes to the picture region, all the chroma samples - corresponding to a luma sample in the cropped picture region must be included. -Thus, when dividing the width or height of the picture region by two to obtain - the size of the subsampled chroma planes, they must be rounded up. - -Furthermore, the sampling locations are defined relative to the frame, - {\em not} the picture region. -When using the 4:2:2 and 4:2:0 formats, the locations of chroma samples - relative to the luma samples depends on whether or not the X offset of the - picture region is odd. -If the offset is even, each column of chroma samples corresponds to two columns - of luma samples (see Figure~\ref{fig:pic_even} for an example). -The only exception is if the width is odd, in which case the last column - corresponds to only one column of luma samples (see Figure~\ref{fig:pic_even_odd}). -If the offset is odd, then the first column of chroma samples corresponds to - only one column of luma samples, while the remaining columns each correspond - to two (see Figure~\ref{fig:pic_odd}). -In this case, if the width is even, the last column again corresponds to only - one column of luma samples (see Figure~\ref{fig:pic_odd_even}). - -A similar process is followed with the rows of a picture region of odd height - encoded in the 4:2:0 format. -If the Y offset is even, each row of chroma samples corresponds to two rows of - luma samples (see Figure~\ref{fig:pic_even}), except with an odd height, where - the last row corresponds to one row of chroma luna samples only (see - Figure~\ref{fig:pic_even_odd}). -If the offset is odd, then it is the first row of chroma samples which - corresponds to only one row of luma samples, while the remaining rows each - correspond to two (Figure~\ref{fig:pic_odd}), except with an even height, - where the last row also corresponds to one (Figure~\ref{fig:pic_odd_even}). - -Encoders should be aware of these differences in the subsampling when using an - even or odd offset. -In the typical case, with an even width and height, where one expects two rows - or columns of luma samples for every row or column of chroma samples, the - encoder must take care to ensure that the offsets used are both even. - -\begin{figure}[htbp] -\begin{center} -\includegraphics[width=\textwidth]{pic_even} -\end{center} -\caption{Pixel correspondence between color planes with even picture - offset and even picture size} -\label{fig:pic_even} -\end{figure} - -\begin{figure}[htbp] -\begin{center} -\includegraphics[width=\textwidth]{pic_even_odd} -\end{center} -\caption{Pixel correspondence with even picture offset and - odd picture size} -\label{fig:pic_even_odd} -\end{figure} - -\begin{figure}[htbp] -\begin{center} -\includegraphics[width=\textwidth]{pic_odd} -\end{center} -\caption{Pixel correspondence with odd picture offset and - odd picture size} -\label{fig:pic_odd} -\end{figure} - -\begin{figure}[htbp] -\begin{center} -\includegraphics[width=\textwidth]{pic_odd_even} -\end{center} -\caption{Pixel correspondence with odd picture offset and - even picture size} -\label{fig:pic_odd_even} -\end{figure} - - -\chapter{Bitpacking Convention} -\label{sec:bitpacking} - -\section{Overview} - -The Theora codec uses relatively unstructured raw packets containing - binary integer fields of arbitrary width. -Logically, each packet is a bitstream in which bits are written one-by-one by - the encoder and then read one-by-one in the same order by the decoder. -Most current binary storage arrangements group bits into a native storage unit - of eight bits (octets), sixteen bits, thirty-two bits, or less commonly other - fixed sizes. -The Theora bitpacking convention specifies the correct mapping of the logical - packet bitstream into an actual representation in fixed-width units. - -\subsection{Octets and Bytes} - -In most contemporary architectures, a `byte' is synonymous with an `octect', - that is, eight bits. -For purposes of the bitpacking convention, a byte implies the smallest native - integer storage representation offered by a platform. -Modern file systems invariably offer bytes as the fundamental atom of storage. - -The most ubiquitous architectures today consider a `byte' to be an octet. -Note, however, that the Theora bitpacking convention is still well defined for - any native byte size; an implementation can use the native bit-width of a - given storage system. -This document assumes that a byte is one octet for purposes of example only. - -\subsection{Words and Byte Order} - -A `word' is an integer size that is a grouped multiple of the byte size. -Most architectures consider a word to be a group of two, four, or eight bytes. -Each byte in the word can be ranked by order of `significance', e.g.\ the - significance of the bits in each byte when storing a binary integer in the - word. -Several byte orderings are possible in a word. -The common ones are -\begin{itemize} -\item{Big-endian:} -in which the most significant byte comes first, e.g.\ 3-2-1-0, -\item{Little-endian:} -in which the least significant byte comes first, e.g.\ 0-1-2-3, and -\item{Mixed-endian:} -one of the less-common orderings that cannot be put into the above two - categories, e.g.\ 3-1-2-0 or 0-2-1-3. -\end{itemize} - -The Theora bitpacking convention specifies storage and bitstream manipulation - at the byte, not word, level. -Thus host word ordering is of a concern only during optimization, when writing - code that operates on a word of storage at a time rather than a byte. -Logically, bytes are always encoded and decoded in order from byte zero through - byte $n$. - -\subsection{Bit Order} - -A byte has a well-defined `least significant' bit (LSb), which is the only bit - set when the byte is storing the two's complement integer value $+1$. -A byte's `most significant' bit (MSb) is at the opposite end. -Bits in a byte are numbered from zero at the LSb to $n$ for the MSb, where - $n=7$ in an octet. - -\section{Coding Bits into Bytes} - -The Theora codec needs to encode arbitrary bit-width integers from zero to 32 - bits wide into packets. -These integer fields are not aligned to the boundaries of the byte - representation; the next field is read at the bit position immediately - after the end of the previous field. - -The decoder logically unpacks integers by first reading the MSb of a binary - integer from the logical bitstream, followed by the next most significant - bit, etc., until the required number of bits have been read. -When unpacking the bytes into bits, the decoder begins by reading the MSb of - the integer to be read from the most significant unread bit position of the - source byte, followed by the next-most significant bit position of the - destination integer, and so on up to the requested number of bits. -Note that this differs from the Vorbis I codec, which - begins decoding with the LSb of the source integer, reading it from the - LSb of the source byte. -When all the bits of the current source byte are read, decoding continues with - the MSb of the next byte. -Any unfilled bits in the last byte of the packet MUST be cleared to zero by the - encoder. - -\subsection{Signedness} - -The binary integers decoded by the above process may be either signed or - unsigned. -This varies from integer to integer, and this specification - indicates how each value should be interpreted as it is read. -That is, depending on context, the three bit binary pattern \bin{111} can be - taken to represent either `$7$' as an unsigned integer or `$-1$' as a signed, - two's complement integer. - -\subsection{Encoding Example} - -The following example shows the state of an (8-bit) byte stream after several - binary integers are encoded, including the location of the put pointer for the - next bit to write to and the total length of the stream in bytes. - -Encode the 4 bit unsigned integer value `12' (\bin{1100}) into an empty byte - stream. - -\begin{tabular}{r|ccccccccl} -\multicolumn{1}{r}{}& &&&&$\downarrow$&&&& \\ - & 7 & 6 & 5 & 4 & 3 & 2 & 1 & 0 & \\\cline{1-9} -byte 0 & \textbf{1} & \textbf{1} & \textbf{0} & \textbf{0} & - 0 & 0 & 0 & 0 & $\leftarrow$ \\ -byte 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & \\ -byte 2 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & \\ -byte 3 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & \\ -\multicolumn{1}{c|}{$\vdots$}&\multicolumn{8}{c}{$\vdots$}& \\ -byte $n$ & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & -byte stream length: 1 byte -\end{tabular} -\vspace{\baselineskip} - -Continue by encoding the 3 bit signed integer value `-1' (\bin{111}). - -\begin{tabular}{r|ccccccccl} -\multicolumn{1}{r}{} &&&&&&&&$\downarrow$& \\ - & 7 & 6 & 5 & 4 & 3 & 2 & 1 & 0 & \\\cline{1-9} -byte 0 & \textbf{1} & \textbf{1} & \textbf{0} & \textbf{0} & - \textbf{1} & \textbf{1} & \textbf{1} & 0 & $\leftarrow$ \\ -byte 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & \\ -byte 2 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & \\ -byte 3 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & \\ -\multicolumn{1}{c|}{$\vdots$}&\multicolumn{8}{c}{$\vdots$}& \\ -byte $n$ & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & -byte stream length: 1 byte -\end{tabular} -\vspace{\baselineskip} - -Continue by encoding the 7 bit integer value `17' (\bin{0010001}). - -\begin{tabular}{r|ccccccccl} -\multicolumn{1}{r}{} &&&&&&&$\downarrow$&& \\ - & 7 & 6 & 5 & 4 & 3 & 2 & 1 & 0 & \\\cline{1-9} -byte 0 & \textbf{1} & \textbf{1} & \textbf{0} & \textbf{0} & - \textbf{1} & \textbf{1} & \textbf{1} & \textbf{0} & \\ -byte 1 & \textbf{0} & \textbf{1} & \textbf{0} & \textbf{0} & - \textbf{0} & \textbf{1} & 0 & 0 & $\leftarrow$ \\ -byte 2 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & \\ -byte 3 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & \\ -\multicolumn{1}{c|}{$\vdots$}&\multicolumn{8}{c}{$\vdots$}& \\ -byte $n$ & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & -byte stream length: 2 bytes -\end{tabular} -\vspace{\baselineskip} - -Continue by encoding the 13 bit integer value `6969' (\bin{11011\ 00111001}). - -\begin{tabular}{r|ccccccccl} -\multicolumn{1}{r}{} &&&&$\downarrow$&&&&& \\ - & 7 & 6 & 5 & 4 & 3 & 2 & 1 & 0 & \\\cline{1-9} -byte 0 & \textbf{1} & \textbf{1} & \textbf{0} & \textbf{0} & - \textbf{1} & \textbf{1} & \textbf{1} & \textbf{0} & \\ -byte 1 & \textbf{0} & \textbf{1} & \textbf{0} & \textbf{0} & - \textbf{0} & \textbf{1} & \textbf{1} & \textbf{1} & \\ -byte 2 & \textbf{0} & \textbf{1} & \textbf{1} & \textbf{0} & - \textbf{0} & \textbf{1} & \textbf{1} & \textbf{1} & \\ -byte 3 & \textbf{0} & \textbf{0} & \textbf{1} & - 0 & 0 & 0 & 0 & 0 & $\leftarrow$ \\ -\multicolumn{1}{c|}{$\vdots$}&\multicolumn{8}{c}{$\vdots$}& \\ -byte $n$ & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & -byte stream length: 4 bytes -\end{tabular} -\vspace{\baselineskip} - -\subsection{Decoding Example} - -The following example shows the state of the (8-bit) byte stream encoded in the - previous example after several binary integers are decoded, including the - location of the get pointer for the next bit to read. - -Read a two bit unsigned integer from the example encoded above. - -\begin{tabular}{r|ccccccccl} -\multicolumn{1}{r}{} &&&$\downarrow$&&&&&& \\ - & 7 & 6 & 5 & 4 & 3 & 2 & 1 & 0 & \\\cline{1-9} -byte 0 & \textbf{1} & \textbf{1} & 0 & 0 & 1 & 1 & 1 & 0 & $\leftarrow$ \\ -byte 1 & 0 & 1 & 0 & 0 & 0 & 1 & 1 & 1 & \\ -byte 2 & 0 & 1 & 1 & 0 & 0 & 1 & 1 & 1 & \\ -byte 3 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & -byte stream length: 4 bytes -\end{tabular} -\vspace{\baselineskip} - -Value read: 3 (\bin{11}). - -Read another two bit unsigned integer from the example encoded above. - -\begin{tabular}{r|ccccccccl} -\multicolumn{1}{r}{} &&&&&$\downarrow$&&&& \\ - & 7 & 6 & 5 & 4 & 3 & 2 & 1 & 0 & \\\cline{1-9} -byte 0 & \textbf{1} & \textbf{1} & \textbf{0} & \textbf{0} & - 1 & 1 & 1 & 0 & $\leftarrow$ \\ -byte 1 & 0 & 1 & 0 & 0 & 0 & 1 & 1 & 1 & \\ -byte 2 & 0 & 1 & 1 & 0 & 0 & 1 & 1 & 1 & \\ -byte 3 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & -byte stream length: 4 bytes -\end{tabular} -\vspace{\baselineskip} - -Value read: 0 (\bin{00}). - -Two things are worth noting here. -\begin{itemize} -\item -Although these four bits were originally written as a single four-bit integer, - reading some other combination of bit-widths from the bitstream is well - defined. -No artificial alignment boundaries are maintained in the bitstream. -\item -The first value is the integer `$3$' only because the context stated we were - reading an unsigned integer. -Had the context stated we were reading a signed integer, the returned value - would have been the integer `$-1$'. -\end{itemize} - -\subsection{End-of-Packet Alignment} - -The typical use of bitpacking is to produce many independent byte-aligned - packets which are embedded into a larger byte-aligned container structure, - such as an Ogg transport bitstream. -Externally, each bitstream encoded as a byte stream MUST begin and end on a - byte boundary. -Often, the encoded packet bitstream is not an integer number of bytes, and so - there is unused space in the last byte of a packet. - -%r: I think the generality here is necessary to be consistent with our assertions -%r: elsewhere about being independent of transport and byte width -When a Theora encoder produces packets for embedding in a byte-aligned - container, unused space in the last byte of a packet is always zeroed during - the encoding process. -Thus, should this unused space be read, it will return binary zeroes. -There is no marker pattern or stuffing bits that will allow the decoder to - obtain the exact size, in bits, of the original bitstream. -This knowledge is not required for decoding. - -Attempting to read past the end of an encoded packet results in an - `end-of-packet' condition. -Any further read operations after an `end-of-packet' condition shall also - return `end-of-packet'. -Unlike Vorbis, Theora does not use truncated packets as a normal mode of - operation. -Therefore if a decoder encounters the `end-of-packet' condition during normal - decoding, it may attempt to use the bits that were read to recover as much of - encoded data as possible, signal a warning or error, or both. - -\subsection{Reading Zero Bit Integers} - -Reading a zero bit integer returns the value `$0$' and does not increment - the stream pointer. -Reading to the end of the packet, but not past the end, so that an - `end-of-packet' condition is not triggered, and then reading a zero bit - integer shall succeed, returning `$0$', and not trigger an `end-of-packet' - condition. -Reading a zero bit integer after a previous read sets the `end-of-packet' - condition shall fail, also returning `end-of-packet'. - -\chapter{Bitstream Headers} -\label{sec:headers} - -A Theora bitstream begins with three header packets. -The header packets are, in order, the identification header, the comment - header, and the setup header. -All are required for decode compliance. -An end-of-packet condition encountered while decoding the identification or - setup header packets renders the stream undecodable. -An end-of-packet condition encountered while decode the comment header is a - non-fatal error condition, and MAY be ignored by a decoder. - -\paragraph{VP3 Compatibility} - -VP3 relies on the headers provided by its container, usually either AVI or - Quicktime. -As such, several parameters available in these headers are not available to VP3 - streams. -These are indicated as they appear in the sections below. - -\section{Common Header Decode} -\label{sub:common-header} - -\begin{figure}[Htbp] -\begin{center} -\begin{verbatim} - 0 1 2 3 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | header type | `t' | `h' | `e' | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | `o' | `r' | `a' | data... | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | ... header-specific data ... | - | ... | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -\end{verbatim} -\end{center} -\caption{Common Header Packet Layout} -\label{fig:commonheader} -\end{figure} - - -\paragraph{Input parameters:} None. - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{HEADERTYPE} & Integer & 8 & No & The type of the header being - decoded. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:} None. -\medskip - -Each header packet begins with the same header fields, which are decoded as - follows: - -\begin{enumerate} -\item -Read an 8-bit unsigned integer as \bitvar{HEADERTYPE}. -If the most significant bit of this integer is not set, then stop. -This is not a header packet. -\item -Read 6 8-bit unsigned integers. -If these do not have the values \hex{74}, \hex{68}, \hex{65}, \hex{6F}, - \hex{72}, and \hex{61}, respectively, then stop. -This stream is not decodable by this specification. -These values correspond to the ASCII values of the characters `t', `h', `e', - `o', `r', and `a'. -\end{enumerate} - -Decode continues according to \bitvar{HEADERTYPE}. -The identification header is type \hex{80}, the comment header is type - \hex{81}, and the setup header is type \hex{82}. -These packets must occur in the order: identification, comment, setup. -%r: I clarified the initial-bit scheme here -%TBT: Dashes let the reader know they'll have to pick up the rest of the -%TBT: sentence after the explanatory phrase. -%TBT: Otherwise it just sounds like the bit must exist. -All header packets have the most significant bit of the type - field---which is the initial bit in the packet---set. -This distinguishes them from video data packets in which the first bit - is unset. -% extra header packets are a feature Dan argued for way back when for -% backward-compatible extensions (and icc colourspace for example) -% I think it's reasonable -%TBT: You can always just stick more stuff in the setup header. -Packets with other header types (\hex{83}--\hex{FF}) are reserved and MUST be - ignored. - -\section{Identification Header Decode} -\label{sec:idheader} - -\begin{figure}[Htbp] -\begin{center} -\begin{verbatim} - 0 1 2 3 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | 0x80 | `t' | `h' | `e' | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | `o' | `r' | `a' | VMAJ | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | VMIN | VREV | FMBW | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | FMBH | PICW... | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | ...PICW | PICH | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | PICX | PICY | FRN... | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | ...FRN | FRD... | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | ...FRD | PARN... | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | ...PARN | PARD | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | CS | NOMBR | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | QUAL | KFGSHIFT| PF| Res | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -\end{verbatim} -\end{center} -\caption{Identification Header Packet} -\label{fig:idheader} -\end{figure} - -\paragraph{Input parameters:} None. - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{VMAJ} & Integer & 8 & No & The major version number. \\ -\bitvar{VMIN} & Integer & 8 & No & The minor version number. \\ -\bitvar{VREV} & Integer & 8 & No & The version revision number. \\ -\bitvar{FMBW} & Integer & 16 & No & The width of the frame in macro - blocks. \\ -\bitvar{FMBH} & Integer & 16 & No & The height of the frame in macro - blocks. \\ -\bitvar{NSBS} & Integer & 32 & No & The total number of super blocks in a - frame. \\ -\bitvar{NBS} & Integer & 36 & No & The total number of blocks in a - frame. \\ -\bitvar{NMBS} & Integer & 32 & No & The total number of macro blocks in a - frame. \\ -\bitvar{PICW} & Integer & 20 & No & The width of the picture region in - pixels. \\ -\bitvar{PICH} & Integer & 20 & No & The height of the picture region in - pixels. \\ -\bitvar{PICX} & Integer & 8 & No & The X offset of the picture region in - pixels. \\ -\bitvar{PICY} & Integer & 8 & No & The Y offset of the picture region in - pixels. \\ -\bitvar{FRN} & Integer & 32 & No & The frame-rate numerator. \\ -\bitvar{FRD} & Integer & 32 & No & The frame-rate denominator. \\ -\bitvar{PARN} & Integer & 24 & No & The pixel aspect-ratio numerator. \\ -\bitvar{PARD} & Integer & 24 & No & The pixel aspect-ratio denominator. \\ -\bitvar{CS} & Integer & 8 & No & The color space. \\ -\bitvar{PF} & Integer & 2 & No & The pixel format. \\ -\bitvar{NOMBR} & Integer & 24 & No & The nominal bitrate of the stream, in - bits per second. \\ -\bitvar{QUAL} & Integer & 6 & No & The quality hint. \\ -\bitvar{KFGSHIFT} & Integer & 5 & No & The amount to shift the key frame - number by in the granule position. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:} None. -\medskip - -The identification header is a short header with only a few fields used to - declare the stream definitively as Theora and provide detailed information - about the format of the fully decoded video data. -The identification header is decoded as follows: - -\begin{enumerate} -\item -Decode the common header fields according to the procedure described in - Section~\ref{sub:common-header}. -If \bitvar{HEADERTYPE} returned by this procedure is not \hex{80}, then stop. -This packet is not the identification header. -\item -Read an 8-bit unsigned integer as \bitvar{VMAJ}. -If \bitvar{VMAJ} is not $3$, then stop. -This stream is not decodable according to this specification. -\item -Read an 8-bit unsigned integer as \bitvar{VMIN}. -If \bitvar{VMIN} is not $2$, then stop. -This stream is not decodable according to this specification. -\item -Read an 8-bit unsigned integer as \bitvar{VREV}. -If \bitvar{VREV} is greater than $1$, then this stream -may contain optional features or interpretational changes -documented in a future version of this specification. -Regardless of the value of \bitvar{VREV}, the stream is decodable -according to this specification. -\item -Read a 16-bit unsigned integer as \bitvar{FMBW}. -This MUST be greater than zero. -This specifies the width of the coded frame in macro blocks. -The actual width of the frame in pixels is $\bitvar{FMBW}*16$. -\item -Read a 16-bit unsigned integer as \bitvar{FMBH}. -This MUST be greater than zero. -This specifies the height of the coded frame in macro blocks. -The actual height of the frame in pixels is $\bitvar{FMBH}*16$. -\item -Read a 24-bit unsigned integer as \bitvar{PICW}. -This MUST be no greater than $(\bitvar{FMBW}*16)$. -Note that 24 bits are read, even though only 20 bits are sufficient to specify - any value of the picture width. -This is done to preserve octet alignment in this header, to allow for a - simplified parser implementation. -\item -Read a 24-bit unsigned integer as \bitvar{PICH}. -This MUST be no greater than $(\bitvar{FMBH}*16)$. -Together with \bitvar{PICW}, this specifies the size of the displayable picture - region within the coded frame. -See Figure~\ref{fig:pic-frame}. -Again, 24 bits are read instead of 20. -\item -Read an 8-bit unsigned integer as \bitvar{PICX}. -This MUST be no greater than $(\bitvar{FMBW}*16-\bitvar{PICX})$. -\item -Read an 8-bit unsigned integer as \bitvar{PICY}. -This MUST be no greater than $(\bitvar{FMBH}*16-\bitvar{PICY})$. -Together with \bitvar{PICX}, this specifies the location of the lower-left - corner of the displayable picture region. -See Figure~\ref{fig:pic-frame}. -\item -Read a 32-bit unsigned integer as \bitvar{FRN}. -This MUST be greater than zero. -\item -Read a 32-bit unsigned integer as \bitvar{FRD}. -This MUST be greater than zero. -Theora is a fixed-frame rate video codec. -Frames are sampled at the constant rate of $\frac{\bitvar{FRN}}{\bitvar{FRD}}$ - frames per second. -The presentation time of the first frame is at zero seconds. -No mechanism is provided to specify a non-zero offset for the initial - frame. -\item -Read a 24-bit unsigned integer as \bitvar{PARN}. -\item -Read a 24-bit unsigned integer as \bitvar{PARD}. -Together with \bitvar{PARN}, these specify the aspect ratio of the pixels - within a frame, defined as the ratio of the physical width of a pixel to its - physical height. -This is given by the ratio $\bitvar{PARN}:\bitvar{PARD}$. -If either of these fields are zero, this indicates that pixel aspect ratio - information was not available to the encoder. -In this case it MAY be specified by the application via an external means, or - a default value of $1:1$ MAY be used. -\item -Read an 8-bit unsigned integer as \bitvar{CS}. -This is a value from an enumerated list of the available color spaces, given in - Table~\ref{tab:colorspaces}. -The `Undefined' value indicates that color space information was not available - to the encoder. -It MAY be specified by the application via an external means. -If a reserved value is given, a decoder MAY refuse to decode the stream. -\begin{table}[htbp] -\begin{center} -\begin{tabular*}{215pt}{cl@{\extracolsep{\fill}}c}\toprule -Value & Color Space \\\midrule -$0$ & Undefined. \\ -$1$ & Rec.~470M (see Section~\ref{sec:470m}). \\ -$2$ & Rec.~470BG (see Section~\ref{sec:470bg}). \\ -$3$ & Reserved. \\ -$\vdots$ & \\ -$255$ & \\ -\bottomrule\end{tabular*} -\end{center} -\caption{Enumerated List of Color Spaces} -\label{tab:colorspaces} -\end{table} -\item -Read a 24-bit unsigned integer as \bitvar{NOMBR} signifying a rate in bits -per second. Rates equal to or greater than $2^{24}-1$ bits per second are -represented as $2^{24}-1$. -The \bitvar{NOMBR} field is used only as a hint. -For pure VBR streams, this value may be considerably off. -The field MAY be set to zero to indicate that the encoder did not care to -speculate. -\item -Read a 6-bit unsigned integer as \bitvar{QUAL}. -This value is used to provide a hint as to the relative quality of the stream - when compared to others produced by the same encoder. -Larger values indicate higher quality. -This can be used, for example, to select among several streams containing the - same material encoded with different settings. -\item -Read a 5-bit unsigned integer as \bitvar{KFGSHIFT}. -The \bitvar{KFGSHIFT} is used to partition the granule position associated with - each packet into two different parts. -The frame number of the last key frame, starting from zero, is stored in the - upper $64-\bitvar{KFGSHIFT}$ bits, while the lower \bitvar{KFGSHIFT} bits - contain the number of frames since the last keyframe. -Complete details on the granule position mapping are specified in Section~REF. -\item -Read a 2-bit unsigned integer as \bitvar{PF}. -The \bitvar{PF} field contains a value from an enumerated list of the available - pixel formats, given in Table~\ref{tab:pixel-formats}. -If the reserved value $1$ is given, stop. -This stream is not decodable according to this specification. - -\begin{table}[htbp] -\begin{center} -\begin{tabular*}{215pt}{cl@{\extracolsep{\fill}}c}\toprule -Value & Pixel Format \\\midrule -$0$ & 4:2:0 (see Section~\ref{sec:420}). \\ -$1$ & Reserved. \\ -$2$ & 4:2:2 (see Section~\ref{sec:422}). \\ -$3$ & 4:4:4 (see Section~\ref{sec:444}). \\ -\bottomrule\end{tabular*} -\end{center} -\caption{Enumerated List of Pixel Formats} -\label{tab:pixel-formats} -\end{table} - -\item -Read a 3-bit unsigned integer. -These bits are reserved. -If this value is not zero, then stop. -This stream is not decodable according to this specification. -\item -Assign \bitvar{NSBS} a value according to \bitvar{PF}, as given by - Table~\ref{tab:nsbs-for-pf}. - -\begin{table}[bt] -\begin{center} -\begin{tabular}{cc}\toprule -\bitvar{PF} & \bitvar{NSBS} \\\midrule -$0$ & $\begin{aligned} -&((\bitvar{FMBW}+1)//2)*((\bitvar{FMBH}+1)//2)\\ -& +2*((\bitvar{FMBW}+3)//4)*((\bitvar{FMBH}+3)//4) -\end{aligned}$ \\\midrule -$2$ & $\begin{aligned} -&((\bitvar{FMBW}+1)//2)*((\bitvar{FMBH}+1)//2)\\ -& +2*((\bitvar{FMBW}+3)//4)*((\bitvar{FMBH}+1)//2) -\end{aligned}$ \\\midrule -$3$ & $3*((\bitvar{FMBW}+1)//2)*((\bitvar{FMBH}+1)//2)$ \\ -\bottomrule\end{tabular} -\end{center} -\caption{Number of Super Blocks for each Pixel Format} -\label{tab:nsbs-for-pf} -\end{table} - -\item -Assign \bitvar{NBS} a value according to \bitvar{PF}, as given by - Table~\ref{tab:nbs-for-pf}. - -\begin{table}[tb] -\begin{center} -\begin{tabular}{cc}\toprule -\bitvar{PF} & \bitvar{NBS} \\\midrule -$0$ & $6*\bitvar{FMBW}*\bitvar{FMBH}$ \\\midrule -$2$ & $8*\bitvar{FMBW}*\bitvar{FMBH}$ \\\midrule -$3$ & $12*\bitvar{FMBW}*\bitvar{FMBH}$ \\ -\bottomrule\end{tabular} -\end{center} -\caption{Number of Blocks for each Pixel Format} -\label{tab:nbs-for-pf} -\end{table} - -\item -Assign \bitvar{NMBS} the value $(\bitvar{FMBW}*\bitvar{FMBH})$. - -\end{enumerate} - -\paragraph{VP3 Compatibility} - -VP3 does not correctly handle frame sizes that are not a multiple of 16. -Thus, \bitvar{PICW} and \bitvar{PICH} should be set to the frame width and - height in pixels, respectively, and \bitvar{PICX} and \bitvar{PICY} should be - set to zero. -VP3 headers do not specify a color space. -VP3 only supports the 4:2:0 pixel format. - -\section{Comment Header} -\label{sec:commentheader} - -The Theora comment header is the second of three header packets that begin a - Theora stream. -It is meant for short text comments, not aribtrary metadata; arbitrary metadata - belongs in a separate logical stream that provides greater structure and - machine parseability. - -%r: I tried to morph this a little more in the direction of our -% application space -The comment field is meant to be used much like someone jotting a quick note on - the label of a video. -It should be a little information to remember the disc or tape by and explain it to - others; a short, to-the-point text note that can be more than a couple words, - but isn't going to be more than a short paragraph. -The essentials, in other words, whatever they turn out to be, e.g.: - -%TODO: Example - -The comment header is stored as a logical list of eight-bit clean vectors; the - number of vectors is bounded at $2^{32}-1$ and the length of each vector is - limited to $2^{32}-1$ bytes. -The vector length is encoded; the vector contents themselves are not null - terminated. -In addition to the vector list, there is a single vector for a vendor name, - also eight-bit clean with a length encoded in 32 bits. -%TODO: The 1.0 release of libtheora sets the vendor string to ... - -\subsection{Comment Length Decode} -\label{sub:comment-len} - -\begin{figure} -\begin{center} -\begin{tabular}{ | c | c | } - \hline - 4 byte length & - UTF-8 encoded string ...\\ - \hline -\end{tabular} -\end{center} -\caption{Length encoded string layout} -\label{fig:comment-len} -\end{figure} - -\paragraph{Input parameters:} None. - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{LEN} & Integer & 32 & No & A single 32-bit length value. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{LEN0} & Integer & 8 & No & The first octet of the string length. \\ -\locvar{LEN1} & Integer & 8 & No & The second octet of the string length. \\ -\locvar{LEN2} & Integer & 8 & No & The third octet of the string length. \\ -\locvar{LEN3} & Integer & 8 & No & The fourth octet of the string - length. \\ -\bottomrule\end{tabularx} -\medskip - -A single comment vector is decoded as follows: - -\begin{enumerate} -\item -Read an 8-bit unsigned integer as \locvar{LEN0}. -\item -Read an 8-bit unsigned integer as \locvar{LEN1}. -\item -Read an 8-bit unsigned integer as \locvar{LEN2}. -\item -Read an 8-bit unsigned integer as \locvar{LEN3}. -\item -Assign \bitvar{LEN} the value $(\locvar{LEN0}+(\locvar{LEN1}<<8)+ - (\locvar{LEN2}<<16)+(\locvar{LEN3}<<24))$. -This construction is used so that on platforms with 8-bit bytes, the memory - organization of the comment header is identical with that of Vorbis I, - allowing for common parsing code despite the different bit packing - conventions. -\end{enumerate} - -\subsection{Comment Header Decode} - -\begin{figure} -\begin{center} -\begin{tabular}{ | c | } - \hline - vendor string \\ \hline - number of comments \\ \hline - comment string \\ \hline - comment string \\ \hline - ... \\ - \hline -\end{tabular} -\end{center} -\caption{Comment Header Layout} -\label{fig:commentheader} -\end{figure} - -\paragraph{Input parameters:} None. - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{VENDOR} & \multicolumn{3}{l}{String} & The vendor string. \\ -\bitvar{NCOMMENTS} & Integer & 32 & No & The number of user - comments. \\ -\bitvar{COMMENTS} & \multicolumn{3}{l}{String Array} & A list of - \bitvar{NCOMMENTS} user comment values. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{\ci} & Integer & 32 & No & The index of the current user - comment. \\ -\bottomrule\end{tabularx} -\medskip - -The complete comment header is decoded as follows: - -\begin{enumerate} -\item -Decode the common header fields according to the procedure described in - Section~\ref{sub:common-header}. -If \bitvar{HEADERTYPE} returned by this procedure is not \hex{81}, then stop. -This packet is not the comment header. -\item -Decode the length of the vendor string using the procedure given in - Section~\ref{sub:comment-len} into \bitvar{LEN}. -\item -Read \bitvar{LEN} 8-bit unsigned integers. -\item -Set the string \bitvar{VENDOR} to the contents of these octets. -\item -Decode the number of user comments using the procedure given in - Section~\ref{sub:comment-len} into \bitvar{LEN}. -\item -Assign \bitvar{NCOMMENTS} the value stored in \bitvar{LEN}. -\item -For each consecutive value of \locvar{\ci} from $0$ to - $(\bitvar{NCOMMENTS}-1)$, inclusive: -\begin{enumerate} -\item -Decode the length of the current user comment using the procedure given in - Section~\ref{sub:comment-len} into \bitvar{LEN}. -\item -Read \bitvar{LEN} 8-bit unsigned integers. -\item -Set the string $\bitvar{COMMENTS}[\locvar{\ci}]$ to the contents of these - octets. -\end{enumerate} -\end{enumerate} - -The comment header comprises the entirety of the second header packet. -Unlike the first header packet, it is not generally the only packet on the - second page and may span multiple pages. -The length of the comment header packet is (practically) unbounded. -The comment header packet is not optional; it must be present in the stream - even if it is logically empty. - -%TODO: \paragraph{VP3 Compatibility} - -\subsection{User Comment Format} - -The user comment vectors are structured similarly to a UNIX environment - variable. -That is, comment fields consist of a field name and a corresponding value and - look like: -\begin{center} -\begin{tabular}{rcl} -$\bitvar{COMMENTS}[0]$ & = & ``TITLE=the look of Theora" \\ -$\bitvar{COMMENTS}[1]$ & = & ``DIRECTOR=me" -\end{tabular} -\end{center} - -The field name is case-insensitive and MUST consist of ASCII characters - \hex{20} through \hex{7D}, \hex{3D} (`=') excluded. -ASCII \hex{41} through \hex{5A} inclusive (characters `A'--`Z') are to be - considered equivalent to ASCII \hex{61} through \hex{7A} inclusive - (characters `a'--`z'). -An entirely empty field name---one that is zero characters long---is not - disallowed. - -The field name is immediately followed by ASCII \hex{3D} (`='); this equals - sign is used to terminate the field name. - -The data immediately after \hex{3D} until the end of the vector is the eight-bit - clean value of the field contents encoded as a UTF-8 string~\cite{rfc2044}. - -Field names MUST NOT be `internationalized'; this is a concession to - simplicity, not an attempt to exclude the majority of the world that doesn't - speak English. -Applications MAY wish to present internationalized versions of the standard - field names listed below to the user, but they are not to be stored in the - bitstream. -Field {\em contents}, however, use the UTF-8 character encoding to allow easy - representation of any language. - -Individual `vendors' MAY use non-standard field names within reason. -The proper use of comment fields as human-readable notes has already been - explained. -Abuse will be discouraged. - -There is no vendor-specific prefix to `non-standard' field names. -Vendors SHOULD make some effort to avoid arbitrarily polluting the common - namespace. -%"and other bodies"? -%If you're going to be that vague, you might as well not say anything at all. -Xiph.org and other bodies will generally collect and rationalize the more - useful tags to help with standardization. - -Field names are not restricted to occur only once within a comment header. -%TODO: Example - -\paragraph{Field Names} - -%r should this be an appendix? - -Below is a proposed, minimal list of standard field names with a description of - their intended use. -No field names are mandatory; a comment header may contain one or more, all, or - none of the names in this list. - -\begin{description} -\item{TITLE:} Video name. -\item{ARTIST:} Filmmaker or other creator name. -\item{VERSION:} Subtitle, remix info, or other text distinguishing - versions of a video. -\item{DATE:} Date associated with the video. Implementations SHOULD attempt - to parse this field as an ISO 8601 date for machine interpretation and - conversion. -\item{LOCATION:} Location associated with the video. This is usually the - filming location for non-fiction works. -\item{COPYRIGHT:} Copyright statement. -\item{LICENSE:} Copyright and other licensing information. - Implementations wishing to do automatic parsing of e.g - of distribution terms SHOULD look here for a URL uniquely defining - the license. If no instance of this field is present, or if no - instance contains a parseable URL, and implementation MAY look - in the COPYRIGHT field for such a URL. -\item{ORGANIZATION:} Studio name, Publisher, or other organization - involved in the creation of the video. - -\item{DIRECTOR:} Director or Filmmaker credit, similar to ARTIST. -\item{PRODUCER:} Producer credit for the video. -\item{COMPOSER:} Music credit for the video. -\item{ACTOR:} Acting credit for the video. - -\item{TAG:} subject or category tag, keyword, or other content - classification labels. The value of each instance of this - field SHOULD be treated as a single label, with multiple - instances of the field for multiple tags. The value of - a single field SHOULD NOT be parsed into multiple tags - based on some internal delimeter. -\item{DESCRIPTION:} General description, summary, or blurb. -\end{description} - -\section{Setup Header} -\label{sec:setupheader} - -The Theora setup header contains the limit values used to drive the loop - filter, the base matrices and scale values used to build the dequantization - tables, and the Huffman tables used to unpack the DCT tokens. -Because the contents of this header are specific to Theora, no concessions have - been made to keep the fields octet-aligned for easy parsing. - -\begin{figure} -\begin{center} -\begin{tabular}{ | c | } - \hline - common header block \\ \hline - loop filter table resolution \\ \hline - loop filter table \\ \hline - scale table resolution \\ \hline - AC scale table \\ \hline - DC scale table \\ \hline - number of base matricies \\ \hline - base quatization matricies \\ \hline - ... \\ \hline - quant range interpolation table \\ \hline - DCT token Huffman tables \\ - \hline -\end{tabular} -\end{center} -\caption{Setup Header structure} -\label{fig:setupheader} -\end{figure} - -\subsection{Loop Filter Limit Table Decode} -\label{sub:loop-filter-limits} - -\paragraph{Input parameters:} None. - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{LFLIMS} & \multicolumn{1}{p{40pt}}{Integer array} & - 7 & No & A 64-element array of loop filter limit - values. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{\qi} & Integer & 6 & No & The quantization index. \\ -\locvar{NBITS} & Integer & 3 & No & The size of values being read in the - current table. \\ -\bottomrule\end{tabularx} -\medskip - -This procedure decodes the table of loop filter limit values used to drive the - loop filter, which is described in Section~\ref{sub:loop-filter-limits}. -It is decoded as follows: - -\begin{enumerate} -\item -Read a 3-bit unsigned integer as \locvar{NBITS}. -\item -For each consecutive value of \locvar{\qi} from $0$ to $63$, inclusive: -\begin{enumerate} -\item -Read an \locvar{NBITS}-bit unsigned integer as $\bitvar{LFLIMS}[\locvar{\qi}]$. -\end{enumerate} -\end{enumerate} - -\paragraph{VP3 Compatibility} - -The loop filter limit values are hardcoded in VP3. -The values used are given in Appendix~\ref{app:vp3-loop-filter-limits}. - -\subsection{Quantization Parameters Decode} -\label{sub:quant-params} - -\paragraph{Input parameters:} None. - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{ACSCALE} & \multicolumn{1}{p{40pt}}{Integer array} & - 16 & No & A 64-element array of scale values for - AC coefficients for each \qi\ value. \\ -\bitvar{DCSCALE} & \multicolumn{1}{p{40pt}}{Integer array} & - 16 & No & A 64-element array of scale values for - the DC coefficient for each \qi\ value. \\ -\bitvar{NBMS} & Integer & 10 & No & The number of base matrices. \\ -\bitvar{BMS} & \multicolumn{1}{p{50pt}}{2D Integer array} & - 8 & No & A $\bitvar{NBMS}\times 64$ array - containing the base matrices. \\ -\bitvar{NQRS} & \multicolumn{1}{p{50pt}}{2D Integer array} & - 6 & No & A $2\times 3$ array containing the - number of quant ranges for a given \qti\ and \pli, respectively. -This is at most $63$. \\ -\bitvar{QRSIZES} & \multicolumn{1}{p{50pt}}{3D Integer array} & - 6 & No & A $2\times 3\times 63$ array of the - sizes of each quant range for a given \qti\ and \pli, respectively. -Only the first $\bitvar{NQRS}[\qti][\pli]$ values are used. \\ -\bitvar{QRBMIS} & \multicolumn{1}{p{50pt}}{3D Integer array} & - 9 & No & A $2\times 3\times 64$ array of the - \bmi's used for each quant range for a given \qti\ and \pli, respectively. -Only the first $(\bitvar{NQRS}[\qti][\pli]+1)$ values are used. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{\qti} & Integer & 1 & No & A quantization type index. -See Table~\ref{tab:quant-types}.\\ -\locvar{\qtj} & Integer & 1 & No & A quantization type index. \\ -\locvar{\pli} & Integer & 2 & No & A color plane index. -See Table~\ref{tab:color-planes}.\\ -\locvar{\plj} & Integer & 2 & No & A color plane index. \\ -\locvar{\qi} & Integer & 6 & No & The quantization index. \\ -\locvar{\ci} & Integer & 6 & No & The DCT coefficient index. \\ -\locvar{\bmi} & Integer & 9 & No & The base matrix index. \\ -\locvar{\qri} & Integer & 6 & No & The quant range index. \\ -\locvar{NBITS} & Integer & 5 & No & The size of fields to read. \\ -\locvar{NEWQR} & Integer & 1 & No & Flag that indicates a new set of quant - ranges will be defined. \\ -\locvar{RPQR} & Integer & 1 & No & Flag that indicates the quant ranges to - copy will come from the same color plane. \\ -\bottomrule\end{tabularx} -\medskip - -The AC scale and DC scale values are defined in two simple tables with 64 - values each, one for each \qi\ value. -The same scale values are used for every quantization type and color plane. - -The base matrices for all quantization types and color planes are stored in a - single table. -These are then referenced by index in several sets of \term{quant ranges}. -The purpose of the quant ranges is to specify which base matrices are used for - which \qi\ values. - -A set of quant ranges is defined for each quantization type and color plane. -To save space in the header, bit flags allow a set of quant ranges to be copied - from a previously defined set instead of being specified explicitly. -Every set except the first one can be copied from the immediately preceding - set. -Similarly, if the quantization type is not $0$, the set can be copied from the - set defined for the same color plane for the preceding quantization type. -This formulation allows compact representation of, for example, the same - set of quant ranges in both chroma channels, as is done in the original VP3, - or the same set of quant ranges in INTRA and INTER modes. - -Each quant range is defined by a size and two base matrix indices, one for each - end of the range. -The base matrix for the end of one range is used as the start of the next - range, so that for $n$ ranges, $n+1$ base matrices are specified. -The base matrices for the \qi\ values between the two endpoints of the range - are generated by linear interpolation. - -%TODO: figure - -The location of the endpoints of each range is encoded by their size. -The \qi\ value for the left end-point is the sum of the sizes of all preceding - ranges, and the \qi\ value for the right end-point adds the size of the - current range. -Thus the sum of the sizes of all the ranges MUST be 63, so that the last range - falls on the last possible \qi\ value. - -The complete set of quantization parameters are decoded as follows: - -\begin{enumerate} -\item -Read a 4-bit unsigned integer. -Assign \locvar{NBITS} the value read, plus one. -\item -For each consecutive value of \locvar{\qi} from $0$ to $63$, inclusive: -\begin{enumerate} -\item -Read an \locvar{NBITS}-bit unsigned integer as - $\bitvar{ACSCALE}[\locvar{\qi}]$. -\end{enumerate} -\item -Read a 4-bit unsigned integer. -Assign \locvar{NBITS} the value read, plus one. -\item -For each consecutive value of \locvar{\qi} from $0$ to $63$, inclusive: -\begin{enumerate} -\item -Read an \locvar{NBITS}-bit unsigned integer as - $\bitvar{DCSCALE}[\locvar{\qi}]$. -\end{enumerate} -\item -Read a 9-bit unsigned integer. -Assign \bitvar{NBMS} the value decoded, plus one. -\bitvar{NBMS} MUST be no greater than 384. -\item -For each consecutive value of \locvar{\bmi} from $0$ to $(\bitvar{NBMS}-1)$, - inclusive: -\begin{enumerate} -\item -For each consecutive value of \locvar{\ci} from $0$ to $63$, inclusive: -\begin{enumerate} -\item -Read an 8-bit unsigned integer as $\bitvar{BMS}[\locvar{\bmi}][\locvar{\ci}]$. -\end{enumerate} -\end{enumerate} -\item -For each consecutive value of \locvar{\qti} from $0$ to $1$, inclusive: -\begin{enumerate} -\item -For each consecutive value of \locvar{\pli} from $0$ to $2$, inclusive: -\begin{enumerate} -\item -If $\locvar{\qti}>0$ or $\locvar{\pli}>0$, read a 1-bit unsigned integer as - \locvar{NEWQR}. -\item -Else, assign \locvar{NEWQR} the value one. -\item -If \locvar{NEWQR} is zero, then we are copying a previously defined set of - quant ranges. -In that case: -\begin{enumerate} -\item -If $\locvar{\qti}>0$, read a 1-bit unsigned integer as \locvar{RPQR}. -\item -Else, assign \locvar{RPQR} the value zero. -\item -If \locvar{RPQR} is one, assign \locvar{\qtj} the value $(\locvar{\qti}-1)$ - and assign \locvar{\plj} the value \locvar{\pli}. -This selects the set of quant ranges defined for the same color plane as this - one, but for the previous quantization type. -\item -Else assign \locvar{\qtj} the value $(3*\locvar{\qti}+\locvar{\pli}-1)//3$ and - assign \locvar{\plj} the value $(\locvar{\pli}+2)\%3$. -This selects the most recent set of quant ranges defined. -\item -Assign $\bitvar{NQRS}[\locvar{\qti}][\locvar{\pli}]$ the value - $\bitvar{NQRS}[\locvar{\qtj}][\locvar{\plj}]$. -\item -Assign $\bitvar{QRSIZES}[\locvar{\qti}][\locvar{\pli}]$ the values in - $\bitvar{QRSIZES}[\locvar{\qtj}][\locvar{\plj}]$. -\item -Assign $\bitvar{QRBMIS}[\locvar{\qti}][\locvar{\pli}]$ the values in - $\bitvar{QRBMIS}[\locvar{\qtj}][\locvar{\plj}]$. -\end{enumerate} -\item -Else, \locvar{NEWQR} is one, which indicates that we are defining a new set of - quant ranges. -In that case: -\begin{enumerate} -\item -Assign $\locvar{\qri}$ the value zero. -\item -Assign $\locvar{\qi}$ the value zero. -\item -Read an $\ilog(\bitvar{NBMS}-1)$-bit unsigned integer as\\ - $\bitvar{QRBMIS}[\locvar{\qti}][\locvar{\pli}][\locvar{\qri}]$. -If this is greater than or equal to \bitvar{NBMS}, stop. -The stream is undecodable. -\item -\label{step:qr-loop} -Read an $\ilog(62-\locvar{\qi})$-bit unsigned integer. -Assign\\ $\bitvar{QRSIZES}[\locvar{\qti}][\locvar{\pli}][\locvar{\qri}]$ the value - read, plus one. -\item -Assign \locvar{\qi} the value $\locvar{\qi}+ - \bitvar{QRSIZES}[\locvar{\qti}][\locvar{\pli}][\locvar{\qri}]$. -\item -Assign \locvar{\qri} the value $\locvar{\qri}+1$. -\item -Read an $\ilog(\bitvar{NBMS}-1)$-bit unsigned integer as\\ - $\bitvar{QRBMIS}[\locvar{\qti}][\locvar{\pli}][\locvar{\qri}]$. -\item -If \locvar{\qi} is less than 63, go back to step~\ref{step:qr-loop}. -\item -If \locvar{\qi} is greater than 63, stop. -The stream is undecodable. -\item -Assign $\bitvar{NQRS}[\locvar{\qti}][\locvar{\pli}]$ the value \locvar{\qri}. -\end{enumerate} -\end{enumerate} -\end{enumerate} -\end{enumerate} - -\paragraph{VP3 Compatibility} - -The quantization parameters are hardcoded in VP3. -The values used are given in Appendix~\ref{app:vp3-quant-params}. - -\subsection{Computing a Quantization Matrix} -\label{sub:quant-mat} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{ACSCALE} & \multicolumn{1}{p{40pt}}{Integer array} & - 16 & No & A 64-element array of scale values for - AC coefficients for each \qi\ value. \\ -\bitvar{DCSCALE} & \multicolumn{1}{p{40pt}}{Integer array} & - 16 & No & A 64-element array of scale values for - the DC coefficient for each \qi\ value. \\ -\bitvar{BMS} & \multicolumn{1}{p{50pt}}{2D Integer array} & - 8 & No & A $\bitvar{NBMS}\times 64$ array - containing the base matrices. \\ -\bitvar{NQRS} & \multicolumn{1}{p{50pt}}{2D Integer array} & - 6 & No & A $2\times 3$ array containing the - number of quant ranges for a given \qti\ and \pli, respectively. -This is at most $63$. \\ -\bitvar{QRSIZES} & \multicolumn{1}{p{50pt}}{3D Integer array} & - 6 & No & A $2\times 3\times 63$ array of the - sizes of each quant range for a given \qti\ and \pli, respectively. -Only the first $\bitvar{NQRS}[\qti][\pli]$ values are used. \\ -\bitvar{QRBMIS} & \multicolumn{1}{p{50pt}}{3D Integer array} & - 9 & No & A $2\times 3\times 64$ array of the - \bmi's used for each quant range for a given \qti\ and \pli, respectively. -Only the first $(\bitvar{NQRS}[\qti][\pli]+1)$ values are used. \\ -\bitvar{\qti} & Integer & 1 & No & A quantization type index. -See Table~\ref{tab:quant-types}.\\ -\bitvar{\pli} & Integer & 2 & No & A color plane index. -See Table~\ref{tab:color-planes}.\\ -\bitvar{\qi} & Integer & 6 & No & The quantization index. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{QMAT} & \multicolumn{1}{p{40pt}}{Integer array} & - 16 & No & A 64-element array of quantization - values for each DCT coefficient in natural order. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{\ci} & Integer & 6 & No & The DCT coefficient index. \\ -\locvar{\bmi} & Integer & 9 & No & The base matrix index. \\ -\locvar{\bmj} & Integer & 9 & No & The base matrix index. \\ -\locvar{\qri} & Integer & 6 & No & The quant range index. \\ -\locvar{QISTART} & Integer & 6 & No & The left end-point of the \qi\ range. \\ -\locvar{QIEND } & Integer & 6 & No & The right end-point of the \qi\ range. \\ -\locvar{BM} & \multicolumn{1}{p{40pt}}{Integer array} & - 8 & No & A 64-element array containing the - interpolated base matrix. \\ -\locvar{QMIN} & Integer & 16 & No & The minimum quantization value allowed - for the current coefficient. \\ -\locvar{QSCALE} & Integer & 16 & No & The current scale value. \\ -\bottomrule\end{tabularx} -\medskip - -The following procedure can be used to generate a single quantization matrix - for a given quantization type, color plane, and \qi\ value, given the - quantization parameters decoded in Section~\ref{sub:quant-params}. - -Note that the product of the scale value and the base matrix value is in units - of $100$ths of a pixel value, and thus is divided by $100$ to return it to - units of a single pixel value. -This value is then scaled by four, to match the scaling of the DCT output, - which is also a factor of four larger than the orthonormal version of the - transform. - -\begin{enumerate} -\item -Assign \locvar{\qri} the index of a quant range such that -\begin{displaymath} -\bitvar{\qi} \ge \sum_{\qrj=0}^{\locvar{\qri}-1} - \bitvar{QRSIZES}[\bitvar{\qti}][\bitvar{\pli}][\qrj], -\end{displaymath} - and -\begin{displaymath} -\bitvar{\qi} \le \sum_{\qrj=0}^{\locvar{\qri}} - \bitvar{QRSIZES}[\bitvar{\qti}][\bitvar{\pli}][\qrj], -\end{displaymath} - where summation from $0$ to $-1$ is defined to be zero. -If there is more than one such value of $\locvar{\qri}$, i.e., if \bitvar{\qi} - lies on the boundary between two quant ranges, then the output will be the - same regardless of which one is chosen. -\item -Assign \locvar{QISTART} the value -\begin{displaymath} -\sum_{\qrj=0}^{\qri-1} \bitvar{QRSIZES}[\bitvar{\qti}][\bitvar{\pli}][\qrj]. -\end{displaymath} -\item -Assign \locvar{QIEND} the value -\begin{displaymath} -\sum_{\qrj=0}^{\qri} \bitvar{QRSIZES}[\bitvar{\qti}][\bitvar{\pli}][\qrj]. -\end{displaymath} -\item -Assign \locvar{\bmi} the value - $\bitvar{QRBMIS}[\bitvar{\qti}][\bitvar{\pli}][\qri]$. -\item -Assign \locvar{\bmj} the value - $\bitvar{QRBMIS}[\bitvar{\qti}][\bitvar{\pli}][\qri+1]$. -\item -For each consecutive value of \locvar{\ci} from $0$ to $63$, inclusive: -\begin{enumerate} -\item -Assign $\locvar{BM}[\locvar{\ci}]$ the value -\begin{displaymath} -\begin{split} -(&2*(\locvar{QIEND}-\bitvar{\qi})*\bitvar{BMS}[\locvar{\bmi}][\locvar{\ci}]\\ - &+2*(\bitvar{\qi}- - \locvar{QISTART})*\bitvar{BMS}[\locvar{\bmj}][\locvar{\ci}]\\ - &+\bitvar{QRSIZES}[\bitvar{\qti}][\bitvar{\pli}][\locvar{\qri}])// - (2*\bitvar{QRSIZES}[\bitvar{\qti}][\bitvar{\pli}][\locvar{\qri}]) -\end{split} -\end{displaymath} -\item -Assign \locvar{QMIN} the value given by Table~\ref{tab:qmin} according to - \bitvar{\qti} and \locvar{\ci}. - -\begin{table}[htbp] -\begin{center} -\begin{tabular}{clr}\toprule -Coefficient & \multicolumn{1}{c}{\bitvar{\qti}} - & \locvar{QMIN} \\\midrule -$\locvar{\ci}=0$ & $0$ (Intra) & $16$ \\ -$\locvar{\ci}>0$ & $0$ (Intra) & $8$ \\ -$\locvar{\ci}=0$ & $1$ (Inter) & $32$ \\ -$\locvar{\ci}>0$ & $1$ (Inter) & $16$ \\ -\bottomrule\end{tabular} -\end{center} -\caption{Minimum Quantization Values} -\label{tab:qmin} -\end{table} - -\item -If \locvar{\ci} equals zero, assign $\locvar{QSCALE}$ the value - $\bitvar{DCSCALE}[\bitvar{\qi}]$. -\item -Else, assign $\locvar{QSCALE}$ the value - $\bitvar{ACSCALE}[\bitvar{\qi}]$. -\item -Assign $\bitvar{QMAT}[\locvar{\ci}]$ the value -\begin{displaymath} -\max(\locvar{QMIN}, - \min((\locvar{QSCALE}*\locvar{BM}[\locvar{\ci}]//100)*4,4096)). -\end{displaymath} -\end{enumerate} -\end{enumerate} - -\subsection{DCT Token Huffman Tables} -\label{sub:huffman-tables} - -\paragraph{Input parameters:} None. - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{HTS} & \multicolumn{3}{l}{Huffman table array} - & An 80-element array of Huffman tables - with up to 32 entries each. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{HBITS} & Bit string & 32 & No & A string of up to 32 bits. \\ -\locvar{TOKEN} & Integer & 5 & No & A single DCT token value. \\ -\locvar{ISLEAF} & Integer & 1 & No & Flag that indicates if the current - node of the tree being decoded is a leaf node. \\ -\bottomrule\end{tabularx} -\medskip - -The Huffman tables used to decode DCT tokens are stored in the setup header in - the form of a binary tree. -This enforces the requirements that the code be full---so that any sequence of - bits will produce a valid sequence of tokens---and that the code be - prefix-free so that there is no ambiguity when decoding. - -One more restriction is placed on the tables that is not explicitly enforced by - the bitstream syntax, but nevertheless must be obeyed by compliant encoders. -There must be no more than 32 entries in a single table. -Note that this restriction along with the fullness requirement limit the - maximum size of a single Huffman code to 32 bits. -It is probably a good idea to enforce this latter consequence explicitly when - implementing the decoding procedure as a recursive algorithm, so as to prevent - a possible stack overflow given an invalid bitstream. - -Although there are 32 different DCT tokens, and thus a normal table will have - exactly 32 entries, this is not explicitly required. -It is allowable to use a Huffman code that omits some---but not all---of the - possible token values. -It is also allowable, if not particularly useful, to specify multiple codes for - the same token value in a single table. -Note also that token values may appear in the tree in any order. -In particular, it is not safe to assume that token value zero (which ends a - single block), has a Huffman code of all zeros. - -The tree is decoded as follows: - -\begin{enumerate} -\item -For each consecutive value of \locvar{\hti} from $0$ to $79$, inclusive: -\begin{enumerate} -\item -Set \locvar{HBITS} to the empty string. -\item -\label{step:huff-tree-loop} -If \locvar{HBITS} is longer than 32 bits in length, stop. -The stream is undecodable. -\item -Read a 1-bit unsigned integer as \locvar{ISLEAF}. -\item -If \locvar{ISLEAF} is one: -\begin{enumerate} -\item -If the number of entries in table $\bitvar{HTS}[\locvar{\hti}]$ is already 32, - stop. -The stream is undecodable. -\item -Read a 5-bit unsigned integer as \locvar{TOKEN}. -\item -Add the pair $(\locvar{HBITS},\locvar{TOKEN})$ to Huffman table - $\bitvar{HTS}[\locvar{\hti}]$. -\end{enumerate} -\item -Otherwise: -\begin{enumerate} -\item -Add a `0' to the end of \locvar{HBITS}. -\item -Decode the `0' sub-tree using this procedure, starting from - step~\ref{step:huff-tree-loop}. -\item -Remove the `0' from the end of \locvar{HBITS} and add a `1' to the end of - \locvar{HBITS}. -\item -Decode the `1' sub-tree using this procedure, starting from - step~\ref{step:huff-tree-loop}. -\item -Remove the `1' from the end of \locvar{HBITS}. -\end{enumerate} -\end{enumerate} -\end{enumerate} - -\paragraph{VP3 Compatibility} - -The DCT token Huffman tables are hardcoded in VP3. -The values used are given in Appendix~\ref{app:vp3-huffman-tables}. - -\subsection{Setup Header Decode} - -\paragraph{Input parameters:} None. - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{LFLIMS} & \multicolumn{1}{p{40pt}}{Integer array} & - 7 & No & A 64-element array of loop filter limit - values. \\ -\bitvar{ACSCALE} & \multicolumn{1}{p{40pt}}{Integer array} & - 16 & No & A 64-element array of scale values for - AC coefficients for each \qi\ value. \\ -\bitvar{DCSCALE} & \multicolumn{1}{p{40pt}}{Integer array} & - 16 & No & A 64-element array of scale values for - the DC coefficient for each \qi\ value. \\ -\bitvar{NBMS} & Integer & 10 & No & The number of base matrices. \\ -\bitvar{BMS} & \multicolumn{1}{p{50pt}}{2D Integer array} & - 8 & No & A $\bitvar{NBMS}\times 64$ array - containing the base matrices. \\ -\bitvar{NQRS} & \multicolumn{1}{p{50pt}}{2D Integer array} & - 6 & No & A $2\times 3$ array containing the - number of quant ranges for a given \qti\ and \pli, respectively. -This is at most $63$. \\ -\bitvar{QRSIZES} & \multicolumn{1}{p{50pt}}{3D Integer array} & - 6 & No & A $2\times 3\times 63$ array of the - sizes of each quant range for a given \qti\ and \pli, respectively. -Only the first $\bitvar{NQRS}[\qti][\pli]$ values will be used. \\ -\bitvar{QRBMIS} & \multicolumn{1}{p{50pt}}{3D Integer array} & - 9 & No & A $2\times 3\times 64$ array of the - \bmi's used for each quant range for a given \qti\ and \pli, respectively. -Only the first $(\bitvar{NQRS}[\qti][\pli]+1)$ values will be used. \\ -\bitvar{HTS} & \multicolumn{3}{l}{Huffman table array} - & An 80-element array of Huffman tables - with up to 32 entries each. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:} None. -\medskip - -The complete setup header is decoded as follows: - -\begin{enumerate} -\item -Decode the common header fields according to the procedure described in - Section~\ref{sub:common-header}. -If \bitvar{HEADERTYPE} returned by this procedure is not \hex{82}, then stop. -This packet is not the setup header. -\item -Decode the loop filter limit value table using the procedure given in - Section~\ref{sub:loop-filter-limits} into \bitvar{LFLIMS}. -\item -Decode the quantization parameters using the procedure given in - Section~\ref{sub:quant-params}. -The results are stored in \bitvar{ACSCALE}, \bitvar{DCSCALE}, \bitvar{NBMS}, - \bitvar{BMS}, \bitvar{NQRS}, \bitvar{QRSIZES}, and \bitvar{QRBMIS}. -\item -Decode the DCT token Huffman tables using the procedure given in - Section~\ref{sub:huffman-tables} into \bitvar{HTS}. -\end{enumerate} - -\chapter{Frame Decode} - -This section describes the complete procedure necessary to decode a single - frame. -This begins with the frame header, followed by coded block flags, macro block - modes, motion vectors, block-level \qi\ values, and finally the DCT residual - tokens, which are used to reconstruct the frame. - -\section{Frame Header Decode} -\label{sub:frame-header} - -\paragraph{Input parameters:} None. - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{FTYPE} & Integer & 1 & No & The frame type. \\ -\bitvar{NQIS} & Integer & 2 & No & The number of \qi\ values. \\ -\bitvar{QIS} & \multicolumn{1}{p{40pt}}{Integer array} & - 6 & No & An \bitvar{NQIS}-element array of - \qi\ values. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{MOREQIS} & Integer & 1 & No & A flag indicating there are more - \qi\ values to be decoded. \\ -\bottomrule\end{tabularx} -\medskip - -The frame header selects which type of frame is being decoded, intra or inter, - and contains the list of \qi\ values that will be used in this frame. -The first \qi\ value will be used for {\em all} DC coefficients in all blocks. -This is done to ensure that DC prediction, which is done in the quantized - domain, works as expected. -The AC coefficients, however, can be dequantized using any \qi\ value on the - list, selected on a block-by-block basis. - -\begin{enumerate} -\item -Read a 1-bit unsigned integer. -If the value read is not zero, stop. -This is not a data packet. -\item -Read a 1-bit unsigned integer as \bitvar{FTYPE}. -This is the type of frame being decoded, as given in - Table~\ref{tab:frame-type}. -If this is the first frame being decoded, this MUST be zero. - -\begin{table}[htbp] -\begin{center} -\begin{tabular}{cl}\toprule -\bitvar{FTYPE} & Frame Type \\\midrule -$0$ & Intra frame \\ -$1$ & Inter frame \\ -\bottomrule\end{tabular} -\end{center} -\caption{Frame Type Values} -\label{tab:frame-type} -\end{table} - -\item -Read in a 6-bit unsigned integer as $\bitvar{QIS}[0]$. -\item -Read a 1-bit unsigned integer as \locvar{MOREQIS}. -\item -If \locvar{MOREQIS} is zero, set \bitvar{NQIS} to 1. -\item -Otherwise: -\begin{enumerate} -\item -Read in a 6-bit unsigned integer as $\bitvar{QIS}[1]$. -\item -Read a 1-bit unsigned integer as \locvar{MOREQIS}. -\item -If \locvar{MOREQIS} is zero, set \bitvar{NQIS} to 2. -\item -Otherwise: -\begin{enumerate} -\item -Read in a 6-bit unsigned integer as $\bitvar{QIS}[2]$. -\item -Set \bitvar{NQIS} to 3. -\end{enumerate} -\end{enumerate} -\item -If \bitvar{FTYPE} is 0, read a 3-bit unsigned integer. -These bits are reserved. -If this value is not zero, stop. -This frame is not decodable according to this specification. -\end{enumerate} - -\paragraph{VP3 Compatibility} - -The precise format of the frame header is substantially different in Theora - than in VP3. -The original VP3 format includes a larger number of unused, reserved bits that - are required to be zero. -The original VP3 frame header also can contain only a single \qi\ value, - because VP3 does not support block-level \qi\ values and uses the same - \qi\ value for all the coefficients in a frame. - -\section{Run-Length Encoded Bit Strings} - -Two variations of run-length encoding are used to store sequences of bits for - the block coded flags and the block-level \qi\ values. -The procedures to decode these bit sequences are specified in the following two - sections. - -\subsection{Long-Run Bit String Decode} -\label{sub:long-run} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{NBITS} & Integer & 36 & No & The number of bits to decode. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{BITS} & Bit string & & & The decoded bits. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{LEN} & Integer & 36 & No & The number of bits decoded so far. \\ -\locvar{BIT} & Integer & 1 & No & The value associated with the current - run. \\ -\locvar{RLEN} & Integer & 13 & No & The length of the current run. \\ -\locvar{RBITS} & Integer & 4 & No & The number of extra bits needed to - decode the run length. \\ -\locvar{RSTART} & Integer & 6 & No & The start of the possible run-length - values for a given Huffman code. \\ -\locvar{ROFFS} & Integer & 12 & No & The offset from \locvar{RSTART} of the - run-length. \\ -\bottomrule\end{tabularx} -\medskip - -There is no practical limit to the number of consecutive 0's and 1's that can - be decoded with this procedure. -In reality, the run length is limited by the number of blocks in a single - frame, because more will never be requested. -A separate procedure described in Section~\ref{sub:short-run} is used when - there is a known limit on the maximum size of the runs. - -For the first run, a single bit value is read, and then a Huffman-coded - representation of a run length is decoded, and that many copies of the bit - value are appended to the bit string. -For each consecutive run, the value of the bit is toggled instead of being read - from the bitstream. - -The only exception is if the length of the previous run was 4129, the maximum - possible length encodable by the Huffman-coded representation. -In this case another bit value is read from the stream, to allow for - consecutive runs of 0's or 1's longer than this maximum. - -Note that in both cases---for the first run and after a run of length 4129---if - no more bits are needed, then no bit value is read. - -The complete decoding procedure is as follows: - -\begin{enumerate} -\item -Assign \locvar{LEN} the value 0. -\item -Assign \bitvar{BITS} the empty string. -\item -If \locvar{LEN} equals \bitvar{NBITS}, return the completely decoded string - \bitvar{BITS}. -\item -Read a 1-bit unsigned integer as \locvar{BIT}. -\item -\label{step:long-run-loop} -Read a bit at a time until one of the Huffman codes given in - Table~\ref{tab:long-run} is recognized. - -\begin{table}[htbp] -\begin{center} -\begin{tabular}{lrrl}\toprule -Huffman Code & \locvar{RSTART} & \locvar{RBITS} & Run Lengths \\\midrule -\bin{0} & $1$ & $0$ & $1$ \\ -\bin{10} & $2$ & $1$ & $2\ldots 3$ \\ -\bin{110} & $4$ & $1$ & $4\ldots 5$ \\ -\bin{1110} & $6$ & $2$ & $6\ldots 9$ \\ -\bin{11110} & $10$ & $3$ & $10\ldots 17$ \\ -\bin{111110} & $18$ & $4$ & $18\ldots 33$ \\ -\bin{111111} & $34$ & $12$ & $34\ldots 4129$ \\ -\bottomrule\end{tabular} -\end{center} -\caption{Huffman Codes for Long Run Lengths} -\label{tab:long-run} -\end{table} - -\item -Assign \locvar{RSTART} and \locvar{RBITS} the values given in - Table~\ref{tab:long-run} according to the Huffman code read. -\item -Read an \locvar{RBITS}-bit unsigned integer as \locvar{ROFFS}. -\item -Assign \locvar{RLEN} the value $(\locvar{RSTART}+\locvar{ROFFS})$. -\item -Append \locvar{RLEN} copies of \locvar{BIT} to \bitvar{BITS}. -\item -Add \locvar{RLEN} to the value \locvar{LEN}. -\locvar{LEN} MUST be less than or equal to \bitvar{NBITS}. -\item -If \locvar{LEN} equals \bitvar{NBITS}, return the completely decoded string - \bitvar{BITS}. -\item -If \locvar{RLEN} equals 4129, read a 1-bit unsigned integer as \locvar{BIT}. -\item -Otherwise, assign \locvar{BIT} the value $(1-\locvar{BIT})$. -\item -Continue decoding runs from step~\ref{step:long-run-loop}. -\end{enumerate} - -\paragraph{VP3 Compatibility} - -VP3 does not read a new bit value after decoding a run length of 4129. -This limits the maximum number of consecutive 0's or 1's to 4129 in - VP3-compatible streams. -For reasonable video sizes of $1920\times 1080$ or less in 4:2:0 format---the - only pixel format VP3 supports---this does not pose any problems because runs - longer than 4129 are not needed. - -\subsection{Short-Run Bit String Decode} -\label{sub:short-run} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{NBITS} & Integer & 36 & No & The number of bits to decode. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{BITS} & Bit string & & & The decoded bits. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{LEN} & Integer & 36 & No & The number of bits decoded so far. \\ -\locvar{BIT} & Integer & 1 & No & The value associated with the current - run. \\ -\locvar{RLEN} & Integer & 13 & No & The length of the current run. \\ -\locvar{RBITS} & Integer & 4 & No & The number of extra bits needed to - decode the run length. \\ -\locvar{RSTART} & Integer & 6 & No & The start of the possible run-length - values for a given Huffman code. \\ -\locvar{ROFFS} & Integer & 12 & No & The offset from \locvar{RSTART} of the - run-length. \\ -\bottomrule\end{tabularx} -\medskip - -This procedure is similar to the procedure outlined in - Section~\ref{sub:long-run}, except that the maximum number of consecutive 0's - or 1's is limited to 30. -This is the maximum run length needed when encoding a bit for each of the 16 - blocks in a super block when it is known that not all the bits in a super - block are the same. - -The complete decoding procedure is as follows: - -\begin{enumerate} -\item -Assign \locvar{LEN} the value 0. -\item -Assign \bitvar{BITS} the empty string. -\item -If \locvar{LEN} equals \bitvar{NBITS}, return the completely decoded string - \bitvar{BITS}. -\item -Read a 1-bit unsigned integer as \locvar{BIT}. -\item -\label{step:short-run-loop} -Read a bit at a time until one of the Huffman codes given in - Table~\ref{tab:short-run} is recognized. - -\begin{table}[htbp] -\begin{center} -\begin{tabular}{lrrl}\toprule -Huffman Code & \locvar{RSTART} & \locvar{RBITS} & Run Lengths \\\midrule -\bin{0} & $1$ & $1$ & $1\ldots 2$ \\ -\bin{10} & $3$ & $1$ & $3\ldots 4$ \\ -\bin{110} & $5$ & $1$ & $5\ldots 6$ \\ -\bin{1110} & $7$ & $2$ & $7\ldots 10$ \\ -\bin{11110} & $11$ & $2$ & $11\ldots 14$ \\ -\bin{11111} & $15$ & $4$ & $15\ldots 30$ \\ -\bottomrule\end{tabular} -\end{center} -\caption{Huffman Codes for Short Run Lengths} -\label{tab:short-run} -\end{table} - -\item -Assign \locvar{RSTART} and \locvar{RBITS} the values given in - Table~\ref{tab:short-run} according to the Huffman code read. -\item -Read an \locvar{RBITS}-bit unsigned integer as \locvar{ROFFS}. -\item -Assign \locvar{RLEN} the value $(\locvar{RSTART}+\locvar{ROFFS})$. -\item -Append \locvar{RLEN} copies of \locvar{BIT} to \bitvar{BITS}. -\item -Add \locvar{RLEN} to the value \locvar{LEN}. -\locvar{LEN} MUST be less than or equal to \bitvar{NBITS}. -\item -If \locvar{LEN} equals \bitvar{NBITS}, return the completely decoded string - \bitvar{BITS}. -\item -Assign \locvar{BIT} the value $(1-\locvar{BIT})$. -\item -Continue decoding runs from step~\ref{step:short-run-loop}. -\end{enumerate} - -\section{Coded Block Flags Decode} -\label{sub:coded-blocks} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{FTYPE} & Integer & 1 & No & The frame type. \\ -\bitvar{NSBS} & Integer & 32 & No & The total number of super blocks in a - frame. \\ -\bitvar{NBS} & Integer & 36 & No & The total number of blocks in a - frame. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{BCODED} & \multicolumn{1}{p{40pt}}{Integer Array} & - 1 & No & An \bitvar{NBS}-element array of flags - indicating which blocks are coded. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{NBITS} & Integer & 36 & No & The length of a bit string to decode. \\ -\locvar{BITS} & Bit string & & & A decoded set of flags. \\ -\locvar{SBPCODED} & \multicolumn{1}{p{40pt}}{Integer Array} & - 1 & No & An \bitvar{NSBS}-element array of flags - indicating whether or not each super block is partially coded. \\ -\locvar{SBFCODED} & \multicolumn{1}{p{40pt}}{Integer Array} & - 1 & No & An \bitvar{NSBS}-element array of flags - indicating whether or not each non-partially coded super block is fully - coded. \\ -\locvar{\sbi} & Integer & 32 & No & The index of the current super - block. \\ -\locvar{\bi} & Integer & 36 & No & The index of the current block in coded - order. \\ -\bottomrule\end{tabularx} -\medskip - -This procedure determines which blocks are coded in a given frame. -In an intra frame, it marks all blocks coded. -In an inter frame, however, any or all of the blocks may remain uncoded. -The output is a list of bit flags, one for each block, marking it coded or not - coded. - -It is important to note that flags are still decoded for any blocks which lie - entirely outside the picture region, even though they are not displayed. -Encoders MAY choose to code such blocks. -Decoders MUST faithfully reconstruct such blocks, because their contents can be - used for predictors in future frames. -Flags are \textit{not} decoded for portions of a super block which lie outside - the full frame, as there are no blocks in those regions. - -The complete procedure is as follows: - -\begin{enumerate} -\item -If \bitvar{FTYPE} is zero (intra frame): -\begin{enumerate} -\item -For each consecutive value of \locvar{\bi} from 0 to $(\locvar{NBS}-1)$, assign - $\bitvar{BCODED}[\locvar{\bi}]$ the value one. -\end{enumerate} -\item -Otherwise (inter frame): -\begin{enumerate} -\item -Assign \locvar{NBITS} the value \bitvar{NSBS}. -\item -Read an \locvar{NBITS}-bit bit string into \locvar{BITS}, using the procedure - described in Section~\ref{sub:long-run}. -This represents the list of partially coded super blocks. -\item -For each consecutive value of \locvar{\sbi} from 0 to $(\locvar{NSBS}-1)$, - remove the bit at the head of the string \locvar{BITS} and assign it to - $\locvar{SBPCODED}[\locvar{\sbi}]$. -\item -Assign \locvar{NBITS} the total number of super blocks such that \\ - $\locvar{SBPCODED}[\locvar{\sbi}]$ equals zero. -\item -Read an \locvar{NBITS}-bit bit string into \locvar{BITS}, using the procedure - described in Section~\ref{sub:long-run}. -This represents the list of fully coded super blocks. -\item -For each consecutive value of \locvar{\sbi} from 0 to $(\locvar{NSBS}-1)$ such - that $\locvar{SBPCODED}[\locvar{\sbi}]$ equals zero, remove the bit at the - head of the string \locvar{BITS} and assign it to - $\locvar{SBFCODED}[\locvar{\sbi}]$. -\item -Assign \locvar{NBITS} the number of blocks contained in super blocks where - $\locvar{SBPCODED}[\locvar{\sbi}]$ equals one. -Note that this might {\em not} be equal to 16 times the number of partially - coded super blocks, since super blocks which overlap the edge of the frame - will have fewer than 16 blocks in them. -\item -Read an \locvar{NBITS}-bit bit string into \locvar{BITS}, using the procedure - described in Section~\ref{sub:short-run}. -\item -For each block in coded order---indexed by \locvar{\bi}: -\begin{enumerate} -\item -Assign \locvar{\sbi} the index of the super block containing block - \locvar{\bi}. -\item -If $\locvar{SBPCODED}[\locvar{\sbi}]$ is zero, assign - $\bitvar{BCODED}[\locvar{\bi}]$ the value $\locvar{SBFCODED}[\locvar{\sbi}]$. -\item -Otherwise, remove the bit at the head of the string \locvar{BITS} and assign it - to $\bitvar{BCODED}[\locvar{\bi}]$. -\end{enumerate} -\end{enumerate} -\end{enumerate} - -\section{Macro Block Coding Modes} -\label{sub:mb-modes} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{FTYPE} & Integer & 1 & No & The frame type. \\ -\bitvar{NMBS} & Integer & 32 & No & The total number of macro blocks in a - frame. \\ -\bitvar{NBS} & Integer & 36 & No & The total number of blocks in a - frame. \\ -\bitvar{BCODED} & \multicolumn{1}{p{40pt}}{Integer Array} & - 1 & No & An \bitvar{NBS}-element array of flags - indicating which blocks are coded. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{MBMODES} & \multicolumn{1}{p{40pt}}{Integer Array} & - 3 & No & An \bitvar{NMBS}-element array of coding - modes for each macro block. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{MSCHEME} & Integer & 3 & No & The mode coding scheme. \\ -\locvar{MALPHABET} & \multicolumn{1}{p{40pt}}{Integer array} - & 3 & No & The list of modes corresponding to each - Huffman code. \\ -\locvar{\mbi} & Integer & 32 & No & The index of the current macro - block. \\ -\locvar{\bi} & Integer & 36 & No & The index of the current block in - coded order. \\ -\locvar{\mi} & Integer & 3 & No & The index of a Huffman code from - Table~\ref{tab:mode-codes}, starting from $0$. \\ -\bottomrule\end{tabularx} -\medskip - -In an intra frame, every macro block marked as coded in INTRA mode. -In an inter frame, however, a macro block can be coded in one of eight coding - modes, given in Table~\ref{tab:coding-modes}. -All of the blocks in all color planes contained in a macro block will be - assigned the coding mode of that macro block. - -\begin{table}[htbp] -\begin{center} -\begin{tabular}{cl}\toprule -Index & Coding Mode \\\midrule -$0$ & INTER\_NOMV \\ -$1$ & INTRA \\ -$2$ & INTER\_MV \\ -$3$ & INTER\_MV\_LAST \\ -$4$ & INTER\_MV\_LAST2 \\ -$5$ & INTER\_GOLDEN\_NOMV \\ -$6$ & INTER\_GOLDEN\_MV \\ -$7$ & INTER\_MV\_FOUR \\ -\bottomrule\end{tabular} -\end{center} -\caption{Macro Block Coding Modes} -\label{tab:coding-modes} -\end{table} - -An important thing to note is that a coding mode is only stored in the - bitstream for a macro block if it has at least one {\em luma} block coded. -A macro block that contains coded blocks in the chroma planes, but not in the - luma plane, MUST be coded in INTER\_NOMV mode. -Thus, no coding mode needs to be decoded for such a macro block. - -Coding modes are encoded using one of eight different schemes. -Schemes 0 through 6 use the same simple Huffman code to represent the mode - numbers, as given in Table~\ref{tab:mode-codes}. -The difference in the schemes is the mode number assigned to each code. -Scheme 0 uses an assignment specified in the bitstream, while schemes 1--6 use - a fixed assignment, also given in Table~\ref{tab:mode-codes}. -Scheme 7 simply codes each mode directly in the bitstream using three bits. - -\begin{table}[htbp] -\begin{center} -\begin{tabular}{lccccccc}\toprule -Scheme & $1$ & $2$ & $3$ & $4$ & $5$ & $6$ & $7$ \\\cmidrule{2-7} -Huffman Code & \multicolumn{6}{c}{Coding Mode} & \locvar{\mi} \\\midrule -\bin{0} & $3$ & $3$ & $3$ & $3$ & $0$ & $0$ & $0$ \\ -\bin{10} & $4$ & $4$ & $2$ & $2$ & $3$ & $5$ & $1$ \\ -\bin{110} & $2$ & $0$ & $4$ & $0$ & $4$ & $3$ & $2$ \\ -\bin{1110} & $0$ & $2$ & $0$ & $4$ & $2$ & $4$ & $3$ \\ -\bin{11110} & $1$ & $1$ & $1$ & $1$ & $1$ & $2$ & $4$ \\ -\bin{111110} & $5$ & $5$ & $5$ & $5$ & $5$ & $1$ & $5$ \\ -\bin{1111110} & $6$ & $6$ & $6$ & $6$ & $6$ & $6$ & $6$ \\ -\bin{1111111} & $7$ & $7$ & $7$ & $7$ & $7$ & $7$ & $7$ \\ -\bottomrule\end{tabular} -\end{center} -\caption{Macro Block Mode Schemes} -\label{tab:mode-codes} -\end{table} - -\begin{enumerate} -\item -If \bitvar{FTYPE} is 0 (intra frame): -\begin{enumerate} -\item -For each consecutive value of \locvar{\mbi} from 0 to $(\bitvar{NMBS}-1)$, - inclusive, assign $\bitvar{MBMODES}[\mbi]$ the value 1 (INTRA). -\end{enumerate} -\item -Otherwise (inter frame): -\begin{enumerate} -\item -Read a 3-bit unsigned integer as \locvar{MSCHEME}. -\item -If \locvar{MSCHEME} is 0: -\begin{enumerate} -\item -For each consecutive value of \locvar{MODE} from 0 to 7, inclusive: -\begin{enumerate} -\item -Read a 3-bit unsigned integer as \locvar{\mi}. -\item -Assign $\locvar{MALPHABET}[\mi]$ the value \locvar{MODE}. -\end{enumerate} -\end{enumerate} -\item -Otherwise, if \locvar{MSCHEME} is not 7, assign the entries of - \locvar{MALPHABET} the values in the corresponding column of - Table~\ref{tab:mode-codes}. -\item -For each consecutive macro block in coded order (cf. - Section~\ref{sec:mbs})---indexed by \locvar{\mbi}: -\begin{enumerate} -\item -If a block \locvar{\bi} in the luma plane of macro block \locvar{\mbi} exists - such that $\bitvar{BCODED}[\locvar{\bi}]$ is 1: -\begin{enumerate} -\item -If \locvar{MSCHEME} is not 7, read one bit at a time until one of the Huffman - codes in Table~\ref{tab:mode-codes} is recognized, and assign - $\bitvar{MBMODES}[\locvar{\mbi}]$ the value - $\locvar{MALPHABET}[\locvar{\mi}]$, where \locvar{\mi} is the index of the - Huffman code decoded. -\item -Otherwise, read a 3-bit unsigned integer as $\bitvar{MBMODES}[\locvar{\mbi}]$. -\end{enumerate} -\item -Otherwise, if no luma-plane blocks in the macro block are coded, assign - $\bitvar{MBMODES}[\locvar{\mbi}]$ the value 0 (INTER\_NOMV). -\end{enumerate} -\end{enumerate} -\end{enumerate} - -\section{Motion Vectors} - -In an intra frame, no motion vectors are used, and so motion vector decoding is - skipped. -In an inter frame, however, many of the inter coding modes require a motion - vector in order to specify an offset into the reference frame from which to - predict a block. -These procedures assigns such a motion vector to every block. - -\subsection{Motion Vector Decode} -\label{sub:mv-decode} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{MVMODE} & Integer & 1 & No & The motion vector decoding method. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{MVX} & Integer & 6 & Yes & The X component of the motion - vector. \\ -\bitvar{MVY} & Integer & 6 & Yes & The Y component of the motion - vector. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{MVSIGN} & Integer & 1 & No & The sign of the motion vector component - just decoded. \\ -\bottomrule\end{tabularx} -\medskip - -The individual components of a motion vector can be coded using one of two - methods. -The first uses a variable length Huffman code, given in - Table~\ref{tab:mv-huff-codes}. -The second encodes the magnitude of the component directly in 5 bits, and the - sign in one bit. -Note that in this case there are two representations for the value zero. -For compatibility with VP3, a sign bit is read even if the magnitude read is - zero. -One scheme is chosen and used for the entire frame. - -Each component can take on integer values from $-31\ldots 31$, inclusive, at - half-pixel resolution, i.e. $-15.5\ldots 15.5$ pixels in the luma plane. -For each subsampled axis in the chroma planes, the corresponding motion vector - component is interpreted as being at quarter-pixel resolution, i.e. - $-7.75\ldots 7.75$ pixels. -The precise details of how these vectors are used to compute predictors for - each block are described in Section~\ref{sec:predictors}. - -\begin{table}[ht] -\begin{center} -\begin{tabular}{lrlr}\toprule -Huffman Code & Value & Huffman Code & Value \\\midrule -\bin{000} & $0$ \\ -\bin{001} & $1$ & \bin{010} & $-1$ \\ -\bin{0110} & $2$ & \bin{0111} & $-2$ \\ -\bin{1000} & $3$ & \bin{1001} & $-3$ \\ -\bin{101000} & $4$ & \bin{101001} & $-4$ \\ -\bin{101010} & $5$ & \bin{101011} & $-5$ \\ -\bin{101100} & $6$ & \bin{101101} & $-6$ \\ -\bin{101110} & $7$ & \bin{101111} & $-7$ \\ -\bin{1100000} & $8$ & \bin{1100001} & $-8$ \\ -\bin{1100010} & $9$ & \bin{1100011} & $-9$ \\ -\bin{1100100} & $10$ & \bin{1100101} & $-10$ \\ -\bin{1100110} & $11$ & \bin{1100111} & $-11$ \\ -\bin{1101000} & $12$ & \bin{1101001} & $-12$ \\ -\bin{1101010} & $13$ & \bin{1101011} & $-13$ \\ -\bin{1101100} & $14$ & \bin{1101101} & $-14$ \\ -\bin{1101110} & $15$ & \bin{1101111} & $-15$ \\ -\bin{11100000} & $16$ & \bin{11100001} & $-16$ \\ -\bin{11100010} & $17$ & \bin{11100011} & $-17$ \\ -\bin{11100100} & $18$ & \bin{11100101} & $-18$ \\ -\bin{11100110} & $19$ & \bin{11100111} & $-19$ \\ -\bin{11101000} & $20$ & \bin{11101001} & $-20$ \\ -\bin{11101010} & $21$ & \bin{11101011} & $-21$ \\ -\bin{11101100} & $22$ & \bin{11101101} & $-22$ \\ -\bin{11101110} & $23$ & \bin{11101111} & $-23$ \\ -\bin{11110000} & $24$ & \bin{11110001} & $-24$ \\ -\bin{11110010} & $25$ & \bin{11110011} & $-25$ \\ -\bin{11110100} & $26$ & \bin{11110101} & $-26$ \\ -\bin{11110110} & $27$ & \bin{11110111} & $-27$ \\ -\bin{11111000} & $28$ & \bin{11111001} & $-28$ \\ -\bin{11111010} & $29$ & \bin{11111011} & $-29$ \\ -\bin{11111100} & $30$ & \bin{11111101} & $-30$ \\ -\bin{11111110} & $31$ & \bin{11111111} & $-31$ \\ -\bottomrule\end{tabular} -\end{center} -\caption{Huffman Codes for Motion Vector Components} -\label{tab:mv-huff-codes} -\end{table} - -A single motion vector is decoded is follows: - -\begin{enumerate} -\item -If \bitvar{MVMODE} is 0: -\begin{enumerate} -\item -Read 1 bit at a time until one of the Huffman codes in - Table~\ref{tab:mv-huff-codes} is recognized, and assign the value to - \locvar{MVX}. -\item -Read 1 bit at a time until one of the Huffman codes in - Table~\ref{tab:mv-huff-codes} is recognized, and assign the value to - \locvar{MVY}. -\end{enumerate} -\item -Otherwise: -\begin{enumerate} -\item -Read a 5-bit unsigned integer as \bitvar{MVX}. -\item -Read a 1-bit unsigned integer as \locvar{MVSIGN}. -\item -If \locvar{MVSIGN} is 1, assign \bitvar{MVX} the value $-\bitvar{MVX}$. -\item -Read a 5-bit unsigned integer as \bitvar{MVY}. -\item -Read a 1-bit unsigned integer as \locvar{MVSIGN}. -\item -If \locvar{MVSIGN} is 1, assign \bitvar{MVY} the value $-\bitvar{MVY}$. -\end{enumerate} -\end{enumerate} - -\subsection{Macro Block Motion Vector Decode} -\label{sub:mb-mv-decode} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{PF} & Integer & 2 & No & The pixel format. \\ -\bitvar{NMBS} & Integer & 32 & No & The total number of macro blocks in a - frame. \\ -\bitvar{MBMODES} & \multicolumn{1}{p{40pt}}{Integer Array} & - 3 & No & An \bitvar{NMBS}-element array of coding - modes for each macro block. \\ -\bitvar{NBS} & Integer & 36 & No & The total number of blocks in a - frame. \\ -\bitvar{BCODED} & \multicolumn{1}{p{40pt}}{Integer Array} & - 1 & No & An \bitvar{NBS}-element array of flags - indicating which blocks are coded. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{MVECTS} & \multicolumn{1}{p{50pt}}{Array of 2D Integer Vectors} & - 6 & Yes & An \bitvar{NBS}-element array of - motion vectors for each block. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{LAST1} & \multicolumn{1}{p{50pt}}{2D Integer Vector} & - 6 & Yes & The last motion vector. \\ -\locvar{LAST2} & \multicolumn{1}{p{50pt}}{2D Integer Vector} & - 6 & Yes & The second to last motion vector. \\ -\locvar{MVX} & Integer & 6 & Yes & The X component of a motion vector. \\ -\locvar{MVY} & Integer & 6 & Yes & The Y component of a motion vector. \\ -\locvar{\mbi} & Integer & 32 & No & The index of the current macro - block. \\ -\locvar{A} & Integer & 36 & No & The index of the lower-left luma block - in the macro block. \\ -\locvar{B} & Integer & 36 & No & The index of the lower-right luma - block in the macro block. \\ -\locvar{C} & Integer & 36 & No & The index of the upper-left luma block - in the macro block. \\ -\locvar{D} & Integer & 36 & No & The index of the upper-right luma - block in the macro block. \\ -\locvar{E} & Integer & 36 & No & The index of a chroma block in the - macro block, depending on the pixel format. \\ -\locvar{F} & Integer & 36 & No & The index of a chroma block in the - macro block, depending on the pixel format. \\ -\locvar{G} & Integer & 36 & No & The index of a chroma block in the - macro block, depending on the pixel format. \\ -\locvar{H} & Integer & 36 & No & The index of a chroma block in the - macro block, depending on the pixel format. \\ -\locvar{I} & Integer & 36 & No & The index of a chroma block in the - macro block, depending on the pixel format. \\ -\locvar{J} & Integer & 36 & No & The index of a chroma block in the - macro block, depending on the pixel format. \\ -\locvar{K} & Integer & 36 & No & The index of a chroma block in the - macro block, depending on the pixel format. \\ -\locvar{L} & Integer & 36 & No & The index of a chroma block in the - macro block, depending on the pixel format. \\ -\bottomrule\end{tabularx} -\medskip - -Motion vectors are stored for each macro block. -In every mode except for INTER\_MV\_FOUR, every block in all the color planes - are assigned the same motion vector. -In INTER\_MV\_FOUR mode, all four blocks in the luma plane are assigned their - own motion vector, and motion vectors for blocks in the chroma planes are - computed from these, using averaging appropriate to the pixel format. - -For INTER\_MV and INTER\_GOLDEN\_MV modes, a single motion vector is decoded - and applied to each block. -For INTER\_MV\_FOUR macro blocks, a motion vector is decoded for each coded - luma block. -Uncoded luma blocks receive the default $(0,0)$ vector for the purposes of - computing the chroma motion vectors. - -None of the remaining macro block coding modes require decoding motion vectors - from the stream. -INTRA mode does not use a motion-compensated predictor, and so requires no - motion vector, and INTER\_NOMV and INTER\_GOLDEN\_NOMV modes use the default - vector $(0,0)$ for each block. -This also includes all macro blocks with no coded luma blocks, as they are - coded in INTER\_NOMV mode by definition. - -The modes INTER\_MV\_LAST and INTER\_MV\_LAST2 use the motion vector from the - last macro block (in coded order) and the second to last macro block, - respectively, that contained a motion vector pointing to the previous frame. -Thus no explicit motion vector needs to be decoded for these modes. -Macro blocks coded in INTRA mode or one of the GOLDEN modes are not considered - in this process. -If an insufficient number of macro blocks have been coded in one of the INTER - modes, then the $(0,0)$ vector is used instead. -For macro blocks coded in INTER\_MV\_FOUR mode, the vector from the upper-right - luma block is used, even if the upper-right block is not coded. - -The motion vectors are decoded from the stream as follows: - -\begin{enumerate} -\item -Assign \locvar{LAST1} and \locvar{LAST2} both the value $(0,0)$. -\item -Read a 1-bit unsigned integer as \locvar{MVMODE}. -Note that this value is read even if no macro blocks require a motion vector to - be decoded. -\item -For each consecutive value of \locvar{\mbi} from 0 to $(\bitvar{NMBS}-1)$: -\begin{enumerate} -\item -If $\bitvar{MBMODES}[\locvar{\mbi}]$ is 7 (INTER\_MV\_FOUR): -\begin{enumerate} -\item -Let \locvar{A}, \locvar{B}, \locvar{C}, and \locvar{D} be the indices in coded - order \locvar{\bi} of the luma blocks in macro block \locvar{\mbi}, arranged - into raster order. -Thus, \locvar{A} is the index in coded order of the block in the lower left, - \locvar{B} the lower right, \locvar{C} the upper left, and \locvar{D} the - upper right. % TODO: as shown in Figure~REF. -\item If $\bitvar{BCODED}[\locvar{A}]$ is non-zero: -\begin{enumerate} -\item Decode a single motion vector into \locvar{MVX} and \locvar{MVY} using - the procedure described in Section~\ref{sub:mv-decode}. -\item Assign $\bitvar{MVECTS}[\locvar{A}]$ the value - $(\locvar{MVX},\locvar{MVY})$. -\end{enumerate} -\item Otherwise, assign $\bitvar{MVECTS}[\locvar{A}]$ the value $(0,0)$. -\item If $\bitvar{BCODED}[\locvar{B}]$ is non-zero: -\begin{enumerate} -\item Decode a single motion vector into \locvar{MVX} and \locvar{MVY} using - the procedure described in Section~\ref{sub:mv-decode}. -\item Assign $\bitvar{MVECTS}[\locvar{B}]$ the value - $(\locvar{MVX},\locvar{MVY})$. -\end{enumerate} -\item -Otherwise assign $\bitvar{MVECTS}[\locvar{B}]$ the value $(0,0)$. -\item If $\bitvar{BCODED}[\locvar{C}]$ is non-zero: -\begin{enumerate} -\item Decode a single motion vector into \locvar{MVX} and \locvar{MVY} using - the procedure described in Section~\ref{sub:mv-decode}. -\item Assign $\bitvar{MVECTS}[\locvar{C}]$ the value - $(\locvar{MVX},\locvar{MVY})$. -\end{enumerate} -\item Otherwise assign $\bitvar{MVECTS}[\locvar{C}]$ the value $(0,0)$. -\item If $\bitvar{BCODED}[\locvar{D}]$ is non-zero: -\begin{enumerate} -\item Decode a single motion vector into \locvar{MVX} and \locvar{MVY} using - the procedure described in Section~\ref{sub:mv-decode}. -\item Assign $\bitvar{MVECTS}[\locvar{D}]$ the value - $(\locvar{MVX},\locvar{MVY})$. -\end{enumerate} -\item -Otherwise, assign $\bitvar{MVECTS}[\locvar{D}]$ the value $(0,0)$. -\item -If \bitvar{PF} is 0 (4:2:0): -\begin{enumerate} -\item -Let \locvar{E} and \locvar{F} be the index in coded order of the one block in - the macro block from the $C_b$ and $C_r$ planes, respectively. -\item -Assign $\bitvar{MVECTS}[\locvar{E}]$ and $\bitvar{MVECTS}[\locvar{F}]$ the - value -\begin{multline*} -(\round\biggl(\frac{\begin{aligned} - \bitvar{MVECTS}[\locvar{A}]_x+\bitvar{MVECTS}[\locvar{B}]_x+\\ - \bitvar{MVECTS}[\locvar{C}]_x+\bitvar{MVECTS}[\locvar{D}]_x - \end{aligned}}{4}\biggr), \\ - \round\biggl(\frac{\begin{aligned} - \bitvar{MVECTS}[\locvar{A}]_y+\bitvar{MVECTS}[\locvar{B}]_y+\\ - \bitvar{MVECTS}[\locvar{C}]_y+\bitvar{MVECTS}[\locvar{D}]_y - \end{aligned}}{4}\biggr)) -\end{multline*} -\end{enumerate} -\item -If \bitvar{PF} is 2 (4:2:2): -\begin{enumerate} -\item -Let \locvar{E} and \locvar{F} be the indices in coded order of the bottom and - top blocks in the macro block from the $C_b$ plane, respectively, and - \locvar{G} and \locvar{H} be the indices in coded order of the bottom and top - blocks in the $C_r$ plane, respectively. %TODO: as shown in Figure~REF. -\item -Assign $\bitvar{MVECTS}[\locvar{E}]$ and $\bitvar{MVECTS}[\locvar{G}]$ the - value -\begin{multline*} -(\round\left(\frac{ - \bitvar{MVECTS}[\locvar{A}]_x+\bitvar{MVECTS}[\locvar{B}]_x}{2}\right), \\ - \round\left(\frac{ - \bitvar{MVECTS}[\locvar{A}]_y+\bitvar{MVECTS}[\locvar{B}]_y}{2}\right)) -\end{multline*} -\item -Assign $\bitvar{MVECTS}[\locvar{F}]$ and $\bitvar{MVECTS}[\locvar{H}]$ the - value -\begin{multline*} -(\round\left(\frac{ - \bitvar{MVECTS}[\locvar{C}]_x+\bitvar{MVECTS}[\locvar{D}]_x}{2}\right), \\ - \round\left(\frac{ - \bitvar{MVECTS}[\locvar{C}]_y+\bitvar{MVECTS}[\locvar{D}]_y}{2}\right)) -\end{multline*} -\end{enumerate} -\item -If \bitvar{PF} is 3 (4:4:4): -\begin{enumerate} -\item -Let \locvar{E}, \locvar{F}, \locvar{G}, and \locvar{H} be the indices - \locvar{\bi} in coded order of the $C_b$ plane blocks in macro block - \locvar{\mbi}, arranged into raster order, and \locvar{I}, \locvar{J}, - \locvar{K}, and \locvar{L} be the indices \locvar{\bi} in coded order of the - $C_r$ plane blocks in macro block \locvar{\mbi}, arranged into raster order. - %TODO: as shown in Figure~REF. -\item -Assign $\bitvar{MVECTS}[\locvar{E}]$ and $\bitvar{MVECTS}[\locvar{I}]$ the - value \\ $\bitvar{MVECTS}[\locvar{A}]$. -\item -Assign $\bitvar{MVECTS}[\locvar{F}]$ and $\bitvar{MVECTS}[\locvar{J}]$ the - value \\ $\bitvar{MVECTS}[\locvar{B}]$. -\item -Assign $\bitvar{MVECTS}[\locvar{G}]$ and $\bitvar{MVECTS}[\locvar{K}]$ the - value \\ $\bitvar{MVECTS}[\locvar{C}]$. -\item -Assign $\bitvar{MVECTS}[\locvar{H}]$ and $\bitvar{MVECTS}[\locvar{L}]$ the - value \\ $\bitvar{MVECTS}[\locvar{D}]$. -\end{enumerate} -\item -Assign \locvar{LAST2} the value \locvar{LAST1}. -\item -Assign \locvar{LAST1} the value $(\locvar{MVX},\locvar{MVY})$. -This is the value of the motion vector decoded from the last coded luma block - in raster order. -There must always be at least one, since macro blocks with no coded luma blocks - must use mode 0:~INTER\_NOMV. -\end{enumerate} -\item -Otherwise, if $\bitvar{MBMODES}[\locvar{\mbi}]$ is 6 (INTER\_GOLDEN\_MV), - decode a single motion vector into \locvar{MVX} and \locvar{MVY} using the - procedure described in Section~\ref{sub:mv-decode}. -\item -Otherwise, if $\bitvar{MBMODES}[\locvar{\mbi}]$ is 4 (INTER\_MV\_LAST2): -\begin{enumerate} -\item -Assign $(\locvar{MVX},\locvar{MVY})$ the value \locvar{LAST2}. -\item -Assign \locvar{LAST2} the value \locvar{LAST1}. -\item -Assign \locvar{LAST1} the value $(\locvar{MVX},\locvar{MVY})$. -\end{enumerate} -\item -Otherwise, if $\bitvar{MBMODES}[\locvar{\mbi}]$ is 3 (INTER\_MV\_LAST), assign - $(\locvar{MVX},\locvar{MVY})$ the value \locvar{LAST1}. -\item -Otherwise, if $\bitvar{MBMODES}[\locvar{\mbi}]$ is 2 (INTER\_MV): -\begin{enumerate} -\item -Decode a single motion vector into \locvar{MVX} and \locvar{MVY} using the - procedure described in Section~\ref{sub:mv-decode}. -\item -Assign \locvar{LAST2} the value \locvar{LAST1}. -\item -Assign \locvar{LAST1} the value $(\locvar{MVX},\locvar{MVY})$. -\end{enumerate} -\item -Otherwise ($\bitvar{MBMODES}[\locvar{\mbi}]$ is 5:~INTER\_GOLDEN\_NOMV, - 1:~INTRA, or 0:~INTER\_NOMV), assign \locvar{MVX} and \locvar{MVY} the value - zero. -\item -If $\bitvar{MBMODES}[\locvar{\mbi}]$ is not 7 (not INTER\_MV\_FOUR), then for - each coded block \locvar{\bi} in macro block \locvar{\mbi}: -\begin{enumerate} -\item -Assign $\bitvar{MVECTS}[\locvar{\bi}]$ the value $(\locvar{MVX},\locvar{MVY})$. -\end{enumerate} -\end{enumerate} -\end{enumerate} - -\paragraph{VP3 Compatibility} - -Unless all four luma blocks in the macro block are coded, the VP3 encoder does - not select mode INTER\_MV\_FOUR. -Theora removes this restriction by treating the motion vector for an uncoded - luma block as the default $(0,0)$ vector. -This is consistent with the premise that the block has not changed since the - previous frame and that chroma information can be largely ignored when - estimating motion. - -No modification is required for INTER\_MV\_FOUR macro blocks in VP3 streams to - be decoded correctly by a Theora decoder. -However, regardless of how many of the luma blocks are actually coded, the VP3 - decoder always reads four motion vectors from the stream for INTER\_MV\_FOUR - mode. -The motion vectors read are used to calculate the motion vectors for the chroma - blocks, but are otherwise ignored. -Thus, care should be taken when creating Theora streams meant to be backwards - compatible with VP3 to only use INTER\_MV\_FOUR mode when all four luma - blocks are coded. - -\section{Block-Level \qi\ Decode} -\label{sub:block-qis} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{NBS} & Integer & 36 & No & The total number of blocks in a - frame. \\ -\bitvar{BCODED} & \multicolumn{1}{p{40pt}}{Integer Array} & - 1 & No & An \bitvar{NBS}-element array of flags - indicating which blocks are coded. \\ -\bitvar{NQIS} & Integer & 2 & No & The number of \qi\ values. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{QIIS} & \multicolumn{1}{p{40pt}}{Integer Array} & - 2 & No & An \bitvar{NBS}-element array of - \locvar{\qii} values for each block. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{NBITS} & Integer & 36 & No & The length of a bit string to decode. \\ -\locvar{BITS} & Bit string & & & A decoded set of flags. \\ -\locvar{\bi} & Integer & 36 & No & The index of the current block in - coded order. \\ -\locvar{\qii} & Integer & 2 & No & The index of \qi\ value in the list of - \qi\ values defined for this frame. \\ -\bottomrule\end{tabularx} -\medskip - -This procedure selects the \qi\ value to be used for dequantizing the AC - coefficients of each block. -DC coefficients all use the same \qi\ value, so as to avoid interference with - the DC prediction mechanism, which occurs in the quantized domain. - -The value is actually represented by an index \locvar{\qii} into the list of - \qi\ values defined for the frame. -The decoder makes multiple passes through the list of coded blocks, one for - each \qi\ value except the last one. -In each pass, an RLE-coded bitmask is decoded to divide the blocks into two - groups: those that use the current \qi\ value in the list, and those that use - a value from later in the list. -Each subsequent pass is restricted to the blocks in the second group. - -\begin{enumerate} -\item -For each value of \locvar{\bi} from 0 to $(\bitvar{NBS}-1)$, assign - $\bitvar{QIIS}[\locvar{\bi}]$ the value zero. -\item -For each consecutive value of \locvar{\qii} from 0 to $(\bitvar{NQIS}-2)$: -\begin{enumerate} -\item -Assign \locvar{NBITS} be the number of blocks \locvar{\bi} such that - $\bitvar{BCODED}[\locvar{\bi}]$ is non-zero and $\bitvar{QIIS}[\locvar{\bi}]$ - equals $\locvar{\qii}$. -\item -Read an \locvar{NBITS}-bit bit string into \locvar{BITS}, using the procedure - described in Section~\ref{sub:long-run}. -This represents the list of blocks that use \qi\ value \locvar{\qii} or higher. -\item -For each consecutive value of \locvar{\bi} from 0 to $(\bitvar{NBS}-1)$ such - that $\bitvar{BCODED}[\locvar{\bi}]$ is non-zero and - $\bitvar{QIIS}[\locvar{\bi}]$ equals $\locvar{\qii}$: -\begin{enumerate} -\item -Remove the bit at the head of the string \locvar{BITS} and add its value to - $\bitvar{QIIS}[\locvar{\bi}]$. -\end{enumerate} -\end{enumerate} -\end{enumerate} - -\paragraph{VP3 Compatibility} - -For VP3 compatible streams, only one \qi\ value can be specified in the frame - header, so the main loop of the above procedure, which would iterate from $0$ - to $-1$, is never executed. -Thus, no bits are read, and each block uses the one \qi\ value defined for the - frame. - -\cleardoublepage - -\section{DCT Coefficients} -\label{sec:dct-decode} - -The quantized DCT coefficients are decoded by making 64 passes through the list - of coded blocks, one for each token index in zig-zag order. -For the DC tokens, two Huffman tables are chosen from among the first 16, one - for the luma plane and one for the chroma planes. -The AC tokens, however, are divided into four different groups. -Again, two 4-bit indices are decoded, one for the luma plane, and one for the - chroma planes, but these select the codebooks for {\em all four} groups. -AC coefficients in group one use codebooks $16\ldots 31$, while group two uses - $32\ldots 47$, etc. -Note that this second set of indices is decoded even if there are no non-zero - AC coefficients in the frame. - -Tokens are divided into two major types: EOB tokens, which fill the remainder - of one or more blocks with zeros, and coefficient tokens, which fill in one or - more coefficients within a single block. -A decoding procedure for the first is given in Section~\ref{sub:eob-token}, and - for the second in Section~\ref{sub:coeff-token}. -The decoding procedure for the complete set of quantized coefficients is given - in Section~\ref{sub:dct-coeffs}. - -\subsection{EOB Token Decode} -\label{sub:eob-token} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{TOKEN} & Integer & 5 & No & The token being decoded. -This must be in the range $0\ldots 6$. \\ -\bitvar{NBS} & Integer & 36 & No & The total number of blocks in a - frame. \\ -\bitvar{TIS} & \multicolumn{1}{p{40pt}}{Integer Array} & - 7 & No & An \bitvar{NBS}-element array of the - current token index for each block. \\ -\bitvar{NCOEFFS} & \multicolumn{1}{p{40pt}}{Integer Array} & - 7 & No & An \bitvar{NBS}-element array of the - coefficient count for each block. \\ -\bitvar{COEFFS} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 16 & Yes & An $\bitvar{NBS}\times 64$ array of - quantized DCT coefficient values for each block in zig-zag order. \\ -\bitvar{\bi} & Integer & 36 & No & The index of the current block in - coded order. \\ -\bitvar{\ti} & Integer & 6 & No & The current token index. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{TIS} & \multicolumn{1}{p{40pt}}{Integer Array} & - 7 & No & An \bitvar{NBS}-element array of the - current token index for each block. \\ -\bitvar{COEFFS} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 16 & Yes & An $\bitvar{NBS}\times 64$ array of - quantized DCT coefficient values for each block in zig-zag order. \\ -\bitvar{EOBS} & Integer & 36 & No & The remaining length of the current - EOB run. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{\bj} & Integer & 36 & No & Another index of a block in coded - order. \\ -\locvar{\tj} & Integer & 6 & No & Another token index. \\ -\bottomrule\end{tabularx} -\medskip - -A summary of the EOB tokens is given in Table~\ref{tab:eob-tokens}. -An important thing to note is that token 6 does not add an offset to the - decoded run value, even though in general it should only be used for runs of - size 32 or longer. -If a value of zero is decoded for this run, it is treated as an EOB run the - size of the remaining coded blocks. - -\begin{table}[htbp] -\begin{center} -\begin{tabular}{ccl}\toprule -Token Value & Extra Bits & EOB Run Lengths \\\midrule -$0$ & $0$ & $1$ \\ -$1$ & $0$ & $2$ \\ -$2$ & $0$ & $3$ \\ -$3$ & $2$ & $4\ldots 7$ \\ -$4$ & $3$ & $8\ldots 15$ \\ -$5$ & $4$ & $16\ldots 31$ \\ -$6$ & $12$ & $1\ldots 4095$, or all remaining blocks \\ -\bottomrule\end{tabular} -\end{center} -\caption{EOB Token Summary} -\label{tab:eob-tokens} -\end{table} - -There is no restriction that one EOB token cannot be immediately followed by - another, so no special cases are necessary to extend the range of the maximum - run length as were required in Section~\ref{sub:long-run}. -Indeed, depending on the lengths of the Huffman codes, it may even cheaper to - encode, by way of example, an EOB run of length 31 followed by an EOB run of - length 1 than to encode an EOB run of length 32 directly. -There is also no restriction that an EOB run stop at the end of a color plane - or a token index. -The run MUST, however, end at or before the end of the frame. - -\begin{enumerate} -\item -If \bitvar{TOKEN} is 0, assign \bitvar{EOBS} the value 1. -\item -Otherwise, if \bitvar{TOKEN} is 1, assign \bitvar{EOBS} the value 2. -\item -Otherwise, if \bitvar{TOKEN} is 2, assign \bitvar{EOBS} the value 3. -\item -Otherwise, if \bitvar{TOKEN} is 3: -\begin{enumerate} -\item -Read a 2-bit unsigned integer as \bitvar{EOBS}. -\item -Assign \bitvar{EOBS} the value $(\bitvar{EOBS}+4)$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 4: -\begin{enumerate} -\item -Read a 3-bit unsigned integer as \bitvar{EOBS}. -\item -Assign \bitvar{EOBS} the value $(\bitvar{EOBS}+8)$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 5: -\begin{enumerate} -\item -Read a 4-bit unsigned integer as \bitvar{EOBS}. -\item -Assign \bitvar{EOBS} the value $(\bitvar{EOBS}+16)$. -\end{enumerate} -\item -Otherwise, \bitvar{TOKEN} is 6: -\begin{enumerate} -\item -Read a 12-bit unsigned integer as \bitvar{EOBS}. -\item -If \bitvar{EOBS} is zero, assign \bitvar{EOBS} to be the number of coded blocks - \locvar{\bj} such that $\bitvar{TIS}[\locvar{\bj}]$ is less than 64. -\end{enumerate} -\item -For each value of \locvar{\tj} from $\bitvar{\ti}$ to 63, assign - $\bitvar{COEFFS}[\bitvar{\bi}][\locvar{\tj}]$ the value zero. -\item -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value 64. -\item -Assign \bitvar{EOBS} the value $(\bitvar{EOBS}-1)$. -\end{enumerate} - -\paragraph{VP3 Compatibility} - -The VP3 encoder does not use the special interpretation of a zero-length EOB - run, though its decoder {\em does} support it. -That may be due more to a happy accident in the way the decoder was written - than intentional design, however, and other VP3 implementations might not - reproduce it faithfully. -For backwards compatibility, it may be wise to avoid it, especially as for most - frame sizes there are fewer than 4095 blocks, making it unnecessary. - -\subsection{Coefficient Token Decode} -\label{sub:coeff-token} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{TOKEN} & Integer & 5 & No & The token being decoded. -This must be in the range $7\ldots 31$. \\ -\bitvar{NBS} & Integer & 36 & No & The total number of blocks in a - frame. \\ -\bitvar{TIS} & \multicolumn{1}{p{40pt}}{Integer Array} & - 7 & No & An \bitvar{NBS}-element array of the - current token index for each block. \\ -\bitvar{COEFFS} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 16 & Yes & An $\bitvar{NBS}\times 64$ array of - quantized DCT coefficient values for each block in zig-zag order. \\ -\bitvar{\bi} & Integer & 36 & No & The index of the current block in - coded order. \\ -\bitvar{\ti} & Integer & 6 & No & The current token index. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{TIS} & \multicolumn{1}{p{40pt}}{Integer Array} & - 7 & No & An \bitvar{NBS}-element array of the - current token index for each block. \\ -\bitvar{NCOEFFS} & \multicolumn{1}{p{40pt}}{Integer Array} & - 7 & No & An \bitvar{NBS}-element array of the - coefficient count for each block. \\ -\bitvar{COEFFS} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 16 & Yes & An $\bitvar{NBS}\times 64$ array of - quantized DCT coefficient values for each block in zig-zag order. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{SIGN} & Integer & 1 & No & A flag indicating the sign of the - current coefficient. \\ -\locvar{MAG} & Integer & 10 & No & The magnitude of the current - coefficient. \\ -\locvar{RLEN} & Integer & 6 & No & The length of the current zero run. \\ -\locvar{\tj} & Integer & 6 & No & Another token index. \\ -\bottomrule\end{tabularx} -\medskip - -Each of these tokens decodes one or more coefficients in the current block. -A summary of the meanings of the token values is presented in - Table~\ref{tab:coeff-tokens}. -There are often several different ways to tokenize a given coefficient list. -Which one is optimal depends on the exact lengths of the Huffman codes used to - represent each token. -Note that we do not update the coefficient count for the block if we decode a - pure zero run. - -\begin{table}[htbp] -\begin{center} -\begin{tabularx}{\textwidth}{cclX}\toprule -Token Value & Extra Bits & \multicolumn{1}{p{55pt}}{Number of Coefficients} - & Description \\\midrule -$7$ & $3$ & $1\ldots 8$ & Short zero run. \\ -$8$ & $6$ & $1\ldots 64$ & Zero run. \\ -$9$ & $0$ & $1$ & $1$. \\ -$10$ & $0$ & $1$ & $-1$. \\ -$11$ & $0$ & $1$ & $2$. \\ -$12$ & $0$ & $1$ & $-2$. \\ -$13$ & $1$ & $1$ & $\pm 3$. \\ -$14$ & $1$ & $1$ & $\pm 4$. \\ -$15$ & $1$ & $1$ & $\pm 5$. \\ -$16$ & $1$ & $1$ & $\pm 6$. \\ -$17$ & $2$ & $1$ & $\pm 7\ldots 8$. \\ -$18$ & $3$ & $1$ & $\pm 9\ldots 12$. \\ -$19$ & $4$ & $1$ & $\pm 13\ldots 20$. \\ -$20$ & $5$ & $1$ & $\pm 21\ldots 36$. \\ -$21$ & $6$ & $1$ & $\pm 37\ldots 68$. \\ -$22$ & $10$ & $1$ & $\pm 69\ldots 580$. \\ -$23$ & $1$ & $2$ & One zero followed by $\pm 1$. \\ -$24$ & $1$ & $3$ & Two zeros followed by $\pm 1$. \\ -$25$ & $1$ & $4$ & Three zeros followed by - $\pm 1$. \\ -$26$ & $1$ & $5$ & Four zeros followed by - $\pm 1$. \\ -$27$ & $1$ & $6$ & Five zeros followed by - $\pm 1$. \\ -$28$ & $3$ & $7\ldots 10$ & $6\ldots 9$ zeros followed by - $\pm 1$. \\ -$29$ & $4$ & $11\ldots 18$ & $10\ldots 17$ zeros followed by - $\pm 1$.\\ -$30$ & $2$ & $2$ & One zero followed by - $\pm 2\ldots 3$. \\ -$31$ & $3$ & $3\ldots 4$ & $2\ldots 3$ zeros followed by - $\pm 2\ldots 3$. \\ -\bottomrule\end{tabularx} -\end{center} -\caption{Coefficient Token Summary} -\label{tab:coeff-tokens} -\end{table} - -For tokens which represent more than one coefficient, they MUST NOT bring the - total number of coefficients in the block to more than 64. -Care should be taken in a decoder to check for this, as otherwise it may permit - buffer overflows from invalidly formed packets. -\begin{verse} -{\bf Note:} One way to achieve this efficiently is to combine the inverse - zig-zag mapping (described later in Section~\ref{sub:dequant}) with - coefficient decode, and use a table look-up to map zig-zag indices greater - than 63 to a safe location. -\end{verse} - -\begin{enumerate} -\item -If \bitvar{TOKEN} is 7: -\begin{enumerate} -\item -Read in a 3-bit unsigned integer as \locvar{RLEN}. -\item -Assign \locvar{RLEN} the value $(\locvar{RLEN}+1)$. -\item -For each value of \locvar{\tj} from \bitvar{\ti} to - $(\bitvar{\ti}+\locvar{RLEN}-1)$, assign - $\bitvar{COEFFS}[\bitvar{\bi}][\locvar{\tj}]$ the value zero. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value - $\bitvar{TIS}[\bitvar{\bi}]+\locvar{RLEN}$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 8: -\begin{enumerate} -\item -Read in a 6-bit unsigned integer as \locvar{RLEN}. -\item -Assign \locvar{RLEN} the value $(\locvar{RLEN}+1)$. -\item -For each value of \locvar{\tj} from \bitvar{\ti} to - $(\bitvar{\ti}+\locvar{RLEN}-1)$, assign - $\bitvar{COEFFS}[\bitvar{\bi}][\locvar{\tj}]$ the value zero. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value - $\bitvar{TIS}[\bitvar{\bi}]+\locvar{RLEN}$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 9: -\begin{enumerate} -\item -Assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ the value $1$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]+1$. -\item -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 10: -\begin{enumerate} -\item -Assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ the value $-1$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]+1$. -\item -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 11: -\begin{enumerate} -\item -Assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ the value $2$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]+1$. -\item -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 12: -\begin{enumerate} -\item -Assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ the value $-2$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]+1$. -\item -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 13: -\begin{enumerate} -\item -Read a 1-bit unsigned integer as \locvar{SIGN}. -\item -If \locvar{SIGN} is zero, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ - the value $3$. -\item -Otherwise, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ the value $-3$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]+1$. -\item -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 14: -\begin{enumerate} -\item -Read a 1-bit unsigned integer as \locvar{SIGN}. -\item -If \locvar{SIGN} is zero, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ - the value $4$. -\item -Otherwise, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ the value $-4$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]+1$. -\item -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 15: -\begin{enumerate} -\item -Read a 1-bit unsigned integer as \locvar{SIGN}. -\item -If \locvar{SIGN} is zero, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ - the value $5$. -\item -Otherwise, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ the value $-5$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]+1$. -\item -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 16: -\begin{enumerate} -\item -Read a 1-bit unsigned integer as \locvar{SIGN}. -\item -If \locvar{SIGN} is zero, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ - the value $6$. -\item -Otherwise, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ the value $-6$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]+1$. -\item -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 17: -\begin{enumerate} -\item -Read a 1-bit unsigned integer as \locvar{SIGN}. -\item -Read a 1-bit unsigned integer as \locvar{MAG}. -\item -Assign \locvar{MAG} the value $(\locvar{MAG}+7)$. -\item -If \locvar{SIGN} is zero, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ - the value $\locvar{MAG}$. -\item -Otherwise, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ the value - $-\locvar{MAG}$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]+1$. -\item -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 18: -\begin{enumerate} -\item -Read a 1-bit unsigned integer as \locvar{SIGN}. -\item -Read a 2-bit unsigned integer as \locvar{MAG}. -\item -Assign \locvar{MAG} the value $(\locvar{MAG}+9)$. -\item -If \locvar{SIGN} is zero, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ - the value $\locvar{MAG}$. -\item -Otherwise, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ the value - $-\locvar{MAG}$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]+1$. -\item -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 19: -\begin{enumerate} -\item -Read a 1-bit unsigned integer as \locvar{SIGN}. -\item -Read a 3-bit unsigned integer as \locvar{MAG}. -\item -Assign \locvar{MAG} the value $(\locvar{MAG}+13)$. -\item -If \locvar{SIGN} is zero, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ - the value $\locvar{MAG}$. -\item -Otherwise, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ the value - $-\locvar{MAG}$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]+1$. -\item -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 20: -\begin{enumerate} -\item -Read a 1-bit unsigned integer as \locvar{SIGN}. -\item -Read a 4-bit unsigned integer as \locvar{MAG}. -\item -Assign \locvar{MAG} the value $(\locvar{MAG}+21)$. -\item -If \locvar{SIGN} is zero, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ - the value $\locvar{MAG}$. -\item -Otherwise, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ the value - $-\locvar{MAG}$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]+1$. -\item -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 21: -\begin{enumerate} -\item -Read a 1-bit unsigned integer as \locvar{SIGN}. -\item -Read a 5-bit unsigned integer as \locvar{MAG}. -\item -Assign \locvar{MAG} the value $(\locvar{MAG}+37)$. -\item -If \locvar{SIGN} is zero, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ - the value $\locvar{MAG}$. -\item -Otherwise, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ the value - $-\locvar{MAG}$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]+1$. -\item -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 22: -\begin{enumerate} -\item -Read a 1-bit unsigned integer as \locvar{SIGN}. -\item -Read a 9-bit unsigned integer as \locvar{MAG}. -\item -Assign \locvar{MAG} the value $(\locvar{MAG}+69)$. -\item -If \locvar{SIGN} is zero, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ - the value $\locvar{MAG}$. -\item -Otherwise, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ the value - $-\locvar{MAG}$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]+1$. -\item -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 23: -\begin{enumerate} -\item -Assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}]$ the value zero. -\item -Read a 1-bit unsigned integer as SIGN. -\item -If \locvar{SIGN} is zero, assign - $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}+1]$ the value $1$. -\item -Otherwise, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}+1]$ the value - $-1$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]+2$. -\item -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 24: -\begin{enumerate} -\item -For each value of \locvar{\tj} from \bitvar{\ti} to $(\bitvar{\ti}+1)$, assign - $\bitvar{COEFFS}[\bitvar{\bi}][\locvar{\tj}]$ the value zero. -\item -Read a 1-bit unsigned integer as SIGN. -\item -If \locvar{SIGN} is zero, assign - $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}+2]$ the value $1$. -\item -Otherwise, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}+2]$ the value - $-1$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]+3$. -\item -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 25: -\begin{enumerate} -\item -For each value of \locvar{\tj} from \bitvar{\ti} to $(\bitvar{\ti}+2)$, assign - $\bitvar{COEFFS}[\bitvar{\bi}][\locvar{\tj}]$ the value zero. -\item -Read a 1-bit unsigned integer as SIGN. -\item -If \locvar{SIGN} is zero, assign - $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}+3]$ the value $1$. -\item -Otherwise, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}+3]$ the value - $-1$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]+4$. -\item -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 26: -\begin{enumerate} -\item -For each value of \locvar{\tj} from \bitvar{\ti} to $(\bitvar{\ti}+3)$, assign - $\bitvar{COEFFS}[\bitvar{\bi}][\locvar{\tj}]$ the value zero. -\item -Read a 1-bit unsigned integer as SIGN. -\item -If \locvar{SIGN} is zero, assign - $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}+4]$ the value $1$. -\item -Otherwise, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}+4]$ the value - $-1$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]+5$. -\item -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 27: -\begin{enumerate} -\item -For each value of \locvar{\tj} from \bitvar{\ti} to $(\bitvar{\ti}+4)$, assign - $\bitvar{COEFFS}[\bitvar{\bi}][\locvar{\tj}]$ the value zero. -\item -Read a 1-bit unsigned integer as SIGN. -\item -If \locvar{SIGN} is zero, assign - $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}+5]$ the value $1$. -\item -Otherwise, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}+5]$ the value - $-1$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]+6$. -\item -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 28: -\begin{enumerate} -\item -Read a 1-bit unsigned integer as \locvar{SIGN}. -\item -Read a 2-bit unsigned integer as \locvar{RLEN}. -\item -Assign \locvar{RLEN} the value $(\locvar{RLEN}+6)$. -\item -For each value of \locvar{\tj} from \bitvar{\ti} to - $(\bitvar{\ti}+\locvar{RLEN}-1)$, assign - $\bitvar{COEFFS}[\bitvar{\bi}][\locvar{\tj}]$ the value zero. -\item -If \locvar{SIGN} is zero, assign - $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}+\locvar{RLEN}]$ the value $1$. -\item -Otherwise, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}+\locvar{RLEN}]$ - the value $-1$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value - $\bitvar{TIS}[\bitvar{\bi}]+\locvar{RLEN}+1$. -\item -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 29: -\begin{enumerate} -\item -Read a 1-bit unsigned integer as \locvar{SIGN}. -\item -Read a 3-bit unsigned integer as \locvar{RLEN}. -\item -Assign \locvar{RLEN} the value $(\locvar{RLEN}+10)$. -\item -For each value of \locvar{\tj} from \bitvar{\ti} to - $(\bitvar{\ti}+\locvar{RLEN}-1)$, assign - $\bitvar{COEFFS}[\bitvar{\bi}][\locvar{\tj}]$ the value zero. -\item -If \locvar{SIGN} is zero, assign - $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}+\locvar{RLEN}]$ the value $1$. -\item -Otherwise, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}+\locvar{RLEN}]$ - the value $-1$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value - $\bitvar{TIS}[\bitvar{\bi}]+\locvar{RLEN}+1$. -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 30: -\begin{enumerate} -\item -Assign $\bitvar{COEFFS}[\bitvar{\bi}][\locvar{\ti}]$ the value zero. -\item -Read a 1-bit unsigned integer as \locvar{SIGN}. -\item -Read a 1-bit unsigned integer as \locvar{MAG}. -\item -Assign \locvar{MAG} the value $(\locvar{MAG}+2)$. -\item -If \locvar{SIGN} is zero, assign - $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}+1]$ the value $\locvar{MAG}$. -\item -Otherwise, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}+1]$ the value - $-\locvar{MAG}$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]+2$. -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\item -Otherwise, if \bitvar{TOKEN} is 31: -\begin{enumerate} -\item -Read a 1-bit unsigned integer as \locvar{SIGN}. -\item -Read a 1-bit unsigned integer as \locvar{MAG}. -\item -Assign \locvar{MAG} the value $(\locvar{MAG}+2)$. -\item -Read a 1-bit unsigned integer as \locvar{RLEN}. -\item -Assign \locvar{RLEN} the value $(\locvar{RLEN}+2)$. -\item -For each value of \locvar{\tj} from \bitvar{\ti} to - $(\bitvar{\ti}+\locvar{RLEN}-1)$, assign - $\bitvar{COEFFS}[\bitvar{\bi}][\locvar{\tj}]$ the value zero. -\item -If \locvar{SIGN} is zero, assign - $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}+\locvar{RLEN}]$ the value - $\locvar{MAG}$. -\item -Otherwise, assign $\bitvar{COEFFS}[\bitvar{\bi}][\bitvar{\ti}+\locvar{RLEN}]$ - the value $-\locvar{MAG}$. -\item -Assign $\bitvar{TIS}[\bitvar{\bi}]$ the value - $\bitvar{TIS}[\bitvar{\bi}]+\locvar{RLEN}+1$. -Assign $\bitvar{NCOEFFS}[\bitvar{\bi}]$ the value $\bitvar{TIS}[\bitvar{\bi}]$. -\end{enumerate} -\end{enumerate} - -\subsection{DCT Coefficient Decode} -\label{sub:dct-coeffs} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{NBS} & Integer & 36 & No & The total number of blocks in a - frame. \\ -\bitvar{BCODED} & \multicolumn{1}{p{40pt}}{Integer Array} & - 1 & No & An \bitvar{NBS}-element array of flags - indicating which blocks are coded. \\ -\bitvar{NMBS} & Integer & 32 & No & The total number of macro blocks in a - frame. \\ -\bitvar{HTS} & \multicolumn{3}{l}{Huffman table array} - & An 80-element array of Huffman tables - with up to 32 entries each. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{COEFFS} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 16 & Yes & An $\bitvar{NBS}\times 64$ array of - quantized DCT coefficient values for each block in zig-zag order. \\ -\bitvar{NCOEFFS} & \multicolumn{1}{p{40pt}}{Integer Array} & - 7 & No & An \bitvar{NBS}-element array of the - coefficient count for each block. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{NLBS} & Integer & 34 & No & The number of blocks in the luma - plane. \\ -\locvar{TIS} & \multicolumn{1}{p{40pt}}{Integer Array} & - 7 & No & An \bitvar{NBS}-element array of the - current token index for each block. \\ -\locvar{EOBS} & Integer & 36 & No & The remaining length of the current - EOB run. \\ -\locvar{TOKEN} & Integer & 5 & No & The current token being decoded. \\ -\locvar{HG} & Integer & 3 & No & The current Huffman table group. \\ -\locvar{\cbi} & Integer & 36 & No & The index of the current block in the - coded block list. \\ -\locvar{\bi} & Integer & 36 & No & The index of the current block in - coded order. \\ -\locvar{\bj} & Integer & 36 & No & Another index of a block in coded - order. \\ -\locvar{\ti} & Integer & 6 & No & The current token index. \\ -\locvar{\tj} & Integer & 6 & No & Another token index. \\ -\locvar{\hti_L} & Integer & 4 & No & The index of the current Huffman table - to use for the luma plane within a group. \\ -\locvar{\hti_C} & Integer & 4 & No & The index of the current Huffman table - to use for the chroma planes within a group. \\ -\locvar{\hti} & Integer & 7 & No & The index of the current Huffman table - to use. \\ -\bottomrule\end{tabularx} -\medskip - -This procedure puts the above two procedures to work to decode the entire set - of DCT coefficients for the frame. -At the end of this procedure, \locvar{EOBS} MUST be zero, and - $\locvar{TIS}[\locvar{\bi}]$ MUST be 64 for every coded \locvar{\bi}. - -Note that we update the coefficient count of every block before continuing an - EOB run or decoding a token, despite the fact that it is already up to date - unless the previous token was a pure zero run. -This is done intentionally to mimic the VP3 accounting rules. -Thus the only time the coefficient count does not include the coefficients in a - pure zero run is when when that run reaches all the way to coefficient 63. -Note, however, that regardless of the coefficient count, any additional - coefficients are still set to zero. -The only use of the count is in determining if a special case of the inverse - DCT can be used in Section~\ref{sub:2d-idct}. - -\begin{enumerate} -\item -Assign \locvar{NLBS} the value $(\bitvar{NMBS}*4)$. -\item -For each consecutive value of \locvar{\bi} from 0 to $(\bitvar{NBS}-1)$, - assign $\locvar{TIS}[\locvar{\bi}]$ the value zero. -\item -Assign \locvar{EOBS} the value 0. -\item -For each consecutive value of \locvar{\ti} from 0 to 63: -\begin{enumerate} -\item -If \locvar{\ti} is $0$ or $1$: -\begin{enumerate} -\item -Read a 4-bit unsigned integer as \locvar{\hti_L}. -\item -Read a 4-bit unsigned integer as \locvar{\hti_C}. -\end{enumerate} -\item -For each consecutive value of \locvar{\bi} from 0 to $(\bitvar{NBS}-1)$ for - which $\bitvar{BCODED}[\locvar{\bi}]$ is non-zero and - $\locvar{TIS}[\locvar{\bi}]$ equals \locvar{\ti}: -\begin{enumerate} -\item -Assign $\bitvar{NCOEFFS}[\locvar{\bi}]$ the value \locvar{\ti}. -\item -If \locvar{EOBS} is greater than zero: -\begin{enumerate} -\item -For each value of \locvar{\tj} from $\locvar{\ti}$ to 63, assign - $\bitvar{COEFFS}[\locvar{\bi}][\locvar{\tj}]$ the value zero. -\item -Assign $\locvar{TIS}[\locvar{\bi}]$ the value 64. -\item -Assign \locvar{EOBS} the value $(\locvar{EOBS}-1)$. -\end{enumerate} -\item -Otherwise: -\begin{enumerate} -\item -Assign \locvar{HG} a value based on \locvar{\ti} from - Table~\ref{tab:huff-groups}. - -\begin{table}[htbp] -\begin{center} -\begin{tabular}{lc}\toprule -\locvar{\ti} & \locvar{HG} \\\midrule -$0$ & $0$ \\ -$1\ldots 5$ & $1$ \\ -$6\ldots 14$ & $2$ \\ -$15\ldots 27$ & $3$ \\ -$28\ldots 63$ & $4$ \\ -\bottomrule\end{tabular} -\end{center} -\caption{Huffman Table Groups} -\label{tab:huff-groups} -\end{table} - -\item -If \locvar{\bi} is less than \locvar{NLBS}, assign \locvar{\hti} the value - $(16*\locvar{HG}+\locvar{\hti_L})$. -\item -Otherwise, assign \locvar{\hti} the value - $(16*\locvar{HG}+\locvar{\hti_C})$. -\item -Read one bit at a time until one of the codes in $\bitvar{HTS}[\locvar{\hti}]$ - is recognized, and assign the value to \locvar{TOKEN}. -\item -If \locvar{TOKEN} is less than 7, expand an EOB token using the procedure given - in Section~\ref{sub:eob-token} to update $\locvar{TIS}[\locvar{\bi}]$, - $\bitvar{COEFFS}[\locvar{\bi}]$, and \locvar{EOBS}. -\item -Otherwise, expand a coefficient token using the procedure given in - Section~\ref{sub:coeff-token} to update $\locvar{TIS}[\locvar{\bi}]$, - $\bitvar{COEFFS}[\locvar{\bi}]$, and $\bitvar{NCOEFFS}[\locvar{\bi}]$. -\end{enumerate} -\end{enumerate} -\end{enumerate} -\end{enumerate} - -\section{Undoing DC Prediction} - -The actual value of a DC coefficient decoded by Section~\ref{sec:dct-decode} is - the residual from a predicted value computed by the encoder. -This prediction is only applied to DC coefficients. -Quantized AC coefficients are encoded directly. - -This section describes how to undo this prediction to recover the original - DC coefficients. -The predicted DC value for a block is computed from the DC values of its - immediate neighbors which precede the block in raster order. -Thus, reversing this prediction must procede in raster order, instead of coded - order. - -Note that this step comes before dequantizing the coefficients. -For this reason, DC coefficients are all quantized with the same \qi\ value, - regardless of the block-level \qi\ values decoded in - Section~\ref{sub:block-qis}. -Those \qi\ values are applied only to the AC coefficients. - -\subsection{Computing the DC Predictor} -\label{sub:dc-pred} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{BCODED} & \multicolumn{1}{p{40pt}}{Integer Array} & - 1 & No & An \bitvar{NBS}-element array of flags - indicating which blocks are coded. \\ -\bitvar{MBMODES} & \multicolumn{1}{p{40pt}}{Integer Array} & - 3 & No & An \bitvar{NMBS}-element array of - coding modes for each macro block. \\ -\bitvar{LASTDC} & \multicolumn{1}{p{40pt}}{Integer Array} & - 16 & Yes & A 3-element array containing the - most recently decoded DC value, one for inter mode and for each reference - frame. \\ -\bitvar{COEFFS} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 16 & Yes & An $\bitvar{NBS}\times 64$ array of - quantized DCT coefficient values for each block in zig-zag order. \\ -\bitvar{\bi} & Integer & 36 & No & The index of the current block in - coded order. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{DCPRED} & Integer & 16 & Yes & The predicted DC value for the current - block. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{P} & \multicolumn{1}{p{40pt}}{Integer Array} & - 1 & No & A 4-element array indicating which - neighbors can be used for DC prediction. \\ -\locvar{PBI} & \multicolumn{1}{p{40pt}}{Integer Array} & - 36 & No & A 4-element array containing the - coded-order block index of the current block's neighbors. \\ -\locvar{W} & \multicolumn{1}{p{40pt}}{Integer Array} & - 7 & Yes & A 4-element array of the weights to - apply to each neighboring DC value. \\ -\locvar{PDIV} & Integer & 8 & No & The valud to divide the weighted sum - by. \\ -\locvar{\bj} & Integer & 36 & No & The index of a neighboring block in - coded order. \\ -\locvar{\mbi} & Integer & 32 & No & The index of the macro block - containing block \locvar{\bi}. \\ -\locvar{\mbi} & Integer & 32 & No & The index of the macro block - containing block \locvar{\bj}. \\ -\locvar{\rfi} & Integer & 2 & No & The index of the reference frame - indicated by the coding mode for macro block \locvar{\mbi}. \\ -\bottomrule\end{tabularx} -\medskip - -This procedure outlines how a predictor is formed for a single block. - -The predictor is computed as a weighted sum of the neighboring DC values from - coded blocks which use the same reference frame. -This latter condition is determined only by checking the coding mode for the - block. -Even if the golden frame and the previous frame are in fact the same, e.g. for - the first inter frame after an intra frame, they are still treated as being - different for the purposes of DC prediction. -The weighted sum is divided by a power of two, with truncation towards zero, - and the result is checked for outranging if necessary. - -If there are no neighboring coded blocks which use the same reference frame as - the current block, then the most recent DC value of any block that used that - reference frame is used instead. -If no such block exists, then the predictor is set to zero. - -\begin{enumerate} -\item -Assign \locvar{\mbi} the index of the macro block containing block - \bitvar{\bi}. -\item -Assign \locvar{\rfi} the value of the Reference Frame Index column of - Table~\ref{tab:cm-refs} corresponding to $\bitvar{MBMODES}[\locvar{\mbi}]$. - -\begin{table}[htpb] -\begin{center} -\begin{tabular}{ll}\toprule -Coding Mode & Reference Frame Index \\\midrule -$0$ (INTER\_NOMV) & $1$ (Previous) \\ -$1$ (INTRA) & $0$ (None) \\ -$2$ (INTER\_MV) & $1$ (Previous) \\ -$3$ (INTER\_MV\_LAST) & $1$ (Previous) \\ -$4$ (INTER\_MV\_LAST2) & $1$ (Previous) \\ -$5$ (INTER\_GOLDEN\_NOMV) & $2$ (Golden) \\ -$6$ (INTER\_GOLDEN\_MV) & $2$ (Golden) \\ -$7$ (INTER\_MV\_FOUR) & $1$ (Previous) \\ -\bottomrule\end{tabular} -\end{center} -\caption{Reference Frames for Each Coding Mode} -\label{tab:cm-refs} -\end{table} - -\item -If block \locvar{\bi} is not along the left edge of the coded frame: -\begin{enumerate} -\item -Assign \locvar{\bj} the coded-order index of block \locvar{\bi}'s left - neighbor, i.e., in the same row but one column to the left. -\item -If $\bitvar{BCODED}[\bj]$ is not zero: -\begin{enumerate} -\item -Assign \locvar{\mbj} the index of the macro block containing block - \locvar{\bj}. -\item -If the value of the Reference Frame Index column of Table~\ref{tab:cm-refs} - corresonding to $\bitvar{MBMODES}[\locvar{\mbj}]$ equals \locvar{\rfi}: -\begin{enumerate} -\item -Assign $\locvar{P}[0]$ the value $1$. -\item -Assign $\locvar{PBI}[0]$ the value \locvar{\bj}. -\end{enumerate} -\item -Otherwise, assign $\locvar{P}[0]$ the value zero. -\end{enumerate} -\item -Otherwise, assign $\locvar{P}[0]$ the value zero. -\end{enumerate} -\item -Otherwise, assign $\locvar{P}[0]$ the value zero. - -\item -If block \locvar{\bi} is not along the left edge nor the bottom edge of the - coded frame: -\begin{enumerate} -\item -Assign \locvar{\bj} the coded-order index of block \locvar{\bi}'s lower-left - neighbor, i.e., one row down and one column to the left. -\item -If $\bitvar{BCODED}[\bj]$ is not zero: -\begin{enumerate} -\item -Assign \locvar{\mbj} the index of the macro block containing block - \locvar{\bj}. -\item -If the value of the Reference Frame Index column of Table~\ref{tab:cm-refs} - corresonding to $\bitvar{MBMODES}[\locvar{\mbj}]$ equals \locvar{\rfi}: -\begin{enumerate} -\item -Assign $\locvar{P}[1]$ the value $1$. -\item -Assign $\locvar{PBI}[1]$ the value \locvar{\bj}. -\end{enumerate} -\item -Otherwise, assign $\locvar{P}[1]$ the value zero. -\end{enumerate} -\item -Otherwise, assign $\locvar{P}[1]$ the value zero. -\end{enumerate} -\item -Otherwise, assign $\locvar{P}[1]$ the value zero. - -\item -If block \locvar{\bi} is not along the the bottom edge of the coded frame: -\begin{enumerate} -\item -Assign \locvar{\bj} the coded-order index of block \locvar{\bi}'s lower - neighbor, i.e., in the same column but one row down. -\item -If $\bitvar{BCODED}[\bj]$ is not zero: -\begin{enumerate} -\item -Assign \locvar{\mbj} the index of the macro block containing block - \locvar{\bj}. -\item -If the value of the Reference Frame Index column of Table~\ref{tab:cm-refs} - corresonding to $\bitvar{MBMODES}[\locvar{\mbj}]$ equals \locvar{\rfi}: -\begin{enumerate} -\item -Assign $\locvar{P}[2]$ the value $1$. -\item -Assign $\locvar{PBI}[2]$ the value \locvar{\bj}. -\end{enumerate} -\item -Otherwise, assign $\locvar{P}[2]$ the value zero. -\end{enumerate} -\item -Otherwise, assign $\locvar{P}[2]$ the value zero. -\end{enumerate} -\item -Otherwise, assign $\locvar{P}[2]$ the value zero. - -\item -If block \locvar{\bi} is not along the right edge nor the bottom edge of the - coded frame: -\begin{enumerate} -\item -Assign \locvar{\bj} the coded-order index of block \locvar{\bi}'s lower-right - neighbor, i.e., one row down and one column to the right. -\item -If $\bitvar{BCODED}[\bj]$ is not zero: -\begin{enumerate} -\item -Assign \locvar{\mbj} the index of the macro block containing block - \locvar{\bj}. -\item -If the value of the Reference Frame Index column of Table~\ref{tab:cm-refs} - corresonding to $\bitvar{MBMODES}[\locvar{\mbj}]$ equals \locvar{\rfi}: -\begin{enumerate} -\item -Assign $\locvar{P}[3]$ the value $1$. -\item -Assign $\locvar{PBI}[3]$ the value \locvar{\bj}. -\end{enumerate} -\item -Otherwise, assign $\locvar{P}[3]$ the value zero. -\end{enumerate} -\item -Otherwise, assign $\locvar{P}[3]$ the value zero. -\end{enumerate} -\item -Otherwise, assign $\locvar{P}[3]$ the value zero. - -\item -If none of the values $\locvar{P}[0]$, $\locvar{P}[1]$, $\locvar{P}[2]$, nor - $\locvar{P}[3]$ are non-zero, then assign \bitvar{DCPRED} the value - $\bitvar{LASTDC}[\locvar{\rfi}]$. -\item -Otherwise: -\begin{enumerate} -\item -Assign the array \locvar{W} and the variable \locvar{PDIV} the values from the - row of Table~\ref{tab:dc-weights} corresonding to the values of each - $\locvar{P}[\idx{i}]$. - -\begin{table}[htb] -\begin{center} -\begin{tabular}{ccccrrrrr}\toprule -\multicolumn{1}{p{25pt}}{\centering$\locvar{P}[0]$ (L)} & -\multicolumn{1}{p{25pt}}{\centering$\locvar{P}[1]$ (DL)} & -\multicolumn{1}{p{25pt}}{\centering$\locvar{P}[2]$ (D)} & -\multicolumn{1}{p{25pt}}{\centering$\locvar{P}[3]$ (DR)} & -\multicolumn{1}{p{25pt}}{\centering$\locvar{W}[3]$ (L)} & -\multicolumn{1}{p{25pt}}{\centering$\locvar{W}[1]$ (DL)} & -\multicolumn{1}{p{25pt}}{\centering$\locvar{W}[2]$ (D)} & -\multicolumn{1}{p{25pt}}{\centering$\locvar{W}[3]$ (DR)} & -\locvar{PDIV} \\\midrule -$1$ & $0$ & $0$ & $0$ & $1$ & $0$ & $0$ & $0$ & $1$ \\ -$0$ & $1$ & $0$ & $0$ & $0$ & $1$ & $0$ & $0$ & $1$ \\ -$1$ & $1$ & $0$ & $0$ & $1$ & $0$ & $0$ & $0$ & $1$ \\ -$0$ & $0$ & $1$ & $0$ & $0$ & $0$ & $1$ & $0$ & $1$ \\ -$1$ & $0$ & $1$ & $0$ & $1$ & $0$ & $1$ & $0$ & $2$ \\ -$0$ & $1$ & $1$ & $0$ & $0$ & $0$ & $1$ & $0$ & $1$ \\ -$1$ & $1$ & $1$ & $0$ & $29$ & $-26$ & $29$ & $0$ & $32$ \\ -$0$ & $0$ & $0$ & $1$ & $0$ & $0$ & $0$ & $1$ & $1$ \\ -$1$ & $0$ & $0$ & $1$ & $75$ & $0$ & $0$ & $53$ & $128$ \\ -$0$ & $1$ & $0$ & $1$ & $0$ & $1$ & $0$ & $1$ & $2$ \\ -$1$ & $1$ & $0$ & $1$ & $75$ & $0$ & $0$ & $53$ & $128$ \\ -$0$ & $0$ & $1$ & $1$ & $0$ & $0$ & $1$ & $0$ & $1$ \\ -$1$ & $0$ & $1$ & $1$ & $75$ & $0$ & $0$ & $53$ & $128$ \\ -$0$ & $1$ & $1$ & $1$ & $0$ & $3$ & $10$ & $3$ & $16$ \\ -$1$ & $1$ & $1$ & $1$ & $29$ & $-26$ & $29$ & $0$ & $32$ \\ -\bottomrule\end{tabular} -\end{center} -\caption{Weights and Divisors for Each Set of Available DC Predictors} -\label{tab:dc-weights} -\end{table} - -\item -Assign \bitvar{DCPRED} the value zero. -\item -If $\locvar{P}[0]$ is non-zero, assign \bitvar{DCPRED} the value - $(\bitvar{DCPRED}+\locvar{W}[0]*\bitvar{COEFFS}[\locvar{PBI}[0]][0])$. -\item -If $\locvar{P}[1]$ is non-zero, assign \bitvar{DCPRED} the value - $(\bitvar{DCPRED}+\locvar{W}[1]*\bitvar{COEFFS}[\locvar{PBI}[1]][0])$. -\item -If $\locvar{P}[2]$ is non-zero, assign \bitvar{DCPRED} the value - $(\bitvar{DCPRED}+\locvar{W}[2]*\bitvar{COEFFS}[\locvar{PBI}[2]][0])$. -\item -If $\locvar{P}[3]$ is non-zero, assign \bitvar{DCPRED} the value - $(\bitvar{DCPRED}+\locvar{W}[3]*\bitvar{COEFFS}[\locvar{PBI}[3]][0])$. -\item -Assign \bitvar{DCPRED} the value $(\bitvar{DCPRED}//\locvar{PDIV})$. -\item -If $\locvar{P}[0]$, $\locvar{P}[1]$, and $\locvar{P}[2]$ are all non-zero: -\begin{enumerate} -\item -If $|\bitvar{DCPRED}-\bitvar{COEFFS}[\locvar{PBI}[2]][0]|$ is greater than - $128$, assign \bitvar{DCPRED} the value $\bitvar{COEFFS}[\locvar{PBI}[2]][0]$. -\item -Otherwise, if $|\bitvar{DCPRED}-\bitvar{COEFFS}[\locvar{PBI}[0]][0]|$ is - greater than $128$, assign \bitvar{DCPRED} the value - $\bitvar{COEFFS}[\locvar{PBI}[0]][0]$. -\item -Otherwise, if $|\bitvar{DCPRED}-\bitvar{COEFFS}[\locvar{PBI}[1]][0]|$ is - greater than $128$, assign \bitvar{DCPRED} the value - $\bitvar{COEFFS}[\locvar{PBI}[1]][0]$. -\end{enumerate} -\end{enumerate} -\end{enumerate} - -\subsection{Inverting the DC Prediction Process} -\label{sub:dc-pred-undo} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{BCODED} & \multicolumn{1}{p{40pt}}{Integer Array} & - 1 & No & An \bitvar{NBS}-element array of flags - indicating which blocks are coded. \\ -\bitvar{MBMODES} & \multicolumn{1}{p{40pt}}{Integer Array} & - 3 & No & An \bitvar{NMBS}-element array of - coding modes for each macro block. \\ -\bitvar{COEFFS} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 16 & Yes & An $\bitvar{NBS}\times 64$ array of - quantized DCT coefficient values for each block in zig-zag order. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{COEFFS} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 16 & Yes & An $\bitvar{NBS}\times 64$ array of - quantized DCT coefficient values for each block in zig-zag order. The DC - value of each block will be updated. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{LASTDC} & \multicolumn{1}{p{40pt}}{Integer Array} & - 16 & Yes & A 3-element array containing the - most recently decoded DC value, one for inter mode and for each reference - frame. \\ -\locvar{DCPRED} & Integer & 11 & Yes & The predicted DC value for the current - block. \\ -\locvar{DC} & Integer & 17 & Yes & The actual DC value for the current - block. \\ -\locvar{\bi} & Integer & 36 & No & The index of the current block in - coded order. \\ -\locvar{\mbi} & Integer & 32 & No & The index of the macro block - containing block \locvar{\bi}. \\ -\locvar{\rfi} & Integer & 2 & No & The index of the reference frame - indicated by the coding mode for macro block \locvar{\mbi}. \\ -\locvar{\pli} & Integer & 2 & No & A color plane index. \\ -\bottomrule\end{tabularx} -\medskip - -This procedure describes the complete process of undoing the DC prediction to - recover the original DC values. -Because it is possible to add a value as large as $580$ to the predicted DC - coefficient value at every block, which will then be used to increase the - predictor for the next block, the reconstructed DC value could overflow a - 16-bit integer. -This is handled by truncating the result to a 16-bit signed representation, - simply throwing away any higher bits in the two's complement representation of - the number. - -\begin{enumerate} -\item -For each consecutive value of \locvar{\pli} from $0$ to $2$: -\begin{enumerate} -\item -Assign $\locvar{LASTDC}[0]$ the value zero. -\item -Assign $\locvar{LASTDC}[1]$ the value zero. -\item -Assign $\locvar{LASTDC}[2]$ the value zero. -\item -For each block of color plane \locvar{\pli} in {\em raster} order, with - coded-order index \locvar{\bi}: -\begin{enumerate} -\item -If $\bitvar{BCODED}[\locvar{\bi}]$ is non-zero: -\begin{enumerate} -\item -Compute the value \locvar{DCPRED} using the procedure outlined in - Section~\ref{sub:dc-pred}. -\item -Assign \locvar{DC} the value - $(\bitvar{COEFFS}[\locvar{\bi}][0]+\locvar{DCPRED})$. -\item -Truncate \locvar{DC} to a 16-bit representation by dropping any higher-order - bits. -\item -Assign $\bitvar{COEFFS}[\locvar{\bi}][0]$ the value \locvar{DC}. -\item -Assign \locvar{\mbi} the index of the macro block containing block - \locvar{\bi}. -\item -Assign \locvar{\rfi} the value of the Reference Frame Index column of - Table~\ref{tab:cm-refs} corresponding to $\bitvar{MBMODES}[\locvar{\mbi}]$. -\item -Assign $\locvar{LASTDC}[\rfi]$ the value $\locvar{DC}$. -\end{enumerate} -\end{enumerate} -\end{enumerate} -\end{enumerate} - -\section{Reconstruction} - -At this stage, the complete contents of the data packet have been decoded. -All that remains is to reconstruct the contents of the new frame. -This is applied on a block by block basis, and as each block is independent, - the order they are processed in does not matter. - -\subsection{Predictors} -\label{sec:predictors} - -For each block, a predictor is formed based on its coding mode and motion - vector. -There are three basic types of predictors: the intra predictor, the whole-pixel - predictor, and the half-pixel predictor. -The former is used for all blocks coded in INTRA mode, while all other blocks - use one of the latter two. -The whole-pixel predictor is used if the fractional part of both motion vector - components is zero, otherwise the half-pixel predictor is used. - -\subsubsection{The Intra Predictor} -\label{sub:predintra} - -\paragraph{Input parameters:} None. - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{PRED} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & An $8\times 8$ array of predictor - values to use for INTRA coded blocks. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{\idx{bx}} & Integer & 3 & No & The horizontal pixel index in the - block. \\ -\locvar{\idx{by}} & Integer & 3 & No & The vertical pixel index in the - block. \\ -\bottomrule\end{tabularx} -\medskip - -The intra predictor is nothing more than the constant value $128$. -This is applied for the sole purpose of centering the range of possible DC - values for INTRA blocks around zero. - -\begin{enumerate} -\item -For each value of \locvar{\idx{by}} from $0$ to $7$, inclusive: -\begin{enumerate} -\item -For each value of \locvar{\idx{bx}} from $0$ to $7$, inclusive: -\begin{enumerate} -\item -Assign $\bitvar{PRED}[\locvar{\idx{by}}][\locvar{\idx{bx}}]$ the value $128$. -\end{enumerate} -\end{enumerate} -\end{enumerate} - -\subsubsection{The Whole-Pixel Predictor} -\label{sub:predfullpel} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{RPW} & Integer & 20 & No & The width of the current plane of the - reference frame in pixels. \\ -\bitvar{RPH} & Integer & 20 & No & The height of the current plane of the - reference frame in pixels. \\ -\bitvar{REFP} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPH}\times\bitvar{RPW}$ - array containing the contents of the current plane of the reference frame. \\ -\bitvar{BX} & Integer & 20 & No & The horizontal pixel index of the - lower-left corner of the current block. \\ -\bitvar{BY} & Integer & 20 & No & The vertical pixel index of the - lower-left corner of the current block. \\ -\bitvar{MVX} & Integer & 5 & No & The horizontal component of the block - motion vector. -This is always a whole-pixel value. \\ -\bitvar{MVY} & Integer & 5 & No & The vertical component of the block - motion vector. -This is always a whole-pixel value. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{PRED} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & An $8\times 8$ array of predictor - values to use for INTER coded blocks. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{\idx{bx}} & Integer & 3 & Yes & The horizontal pixel index in the - block. \\ -\locvar{\idx{by}} & Integer & 3 & Yes & The vertical pixel index in the - block. \\ -\locvar{\idx{rx}} & Integer & 20 & No & The horizontal pixel index in the - reference frame. \\ -\locvar{\idx{ry}} & Integer & 20 & No & The vertical pixel index in the - reference frame. \\ -\bottomrule\end{tabularx} -\medskip - -The whole pixel predictor simply copies verbatim the contents of the reference - frame pointed to by the block's motion vector. -If the vector points outside the reference frame, then the closest value on the - edge of the reference frame is used instead. -In practice, this is usually implemented by expanding the size of the reference - frame by $8$ or $16$ pixels on each side---depending on whether or not the - corresponding axis is subsampled in the current plane---and copying the border - pixels into this region. - -\begin{enumerate} -\item -For each value of \locvar{\idx{by}} from $0$ to $7$, inclusive: -\begin{enumerate} -\item -Assign \locvar{\idx{ry}} the value - $(\bitvar{BY}+\bitvar{MVY}+\locvar{\idx{by}})$. -\item -If \locvar{\idx{ry}} is greater than $(\bitvar{RPH}-1)$, assign - \locvar{\idx{ry}} the value $(\bitvar{RPH}-1)$. -\item -If \locvar{\idx{ry}} is less than zero, assign \locvar{\idx{ry}} the value - zero. -\item -For each value of \locvar{\idx{bx}} from $0$ to $7$, inclusive: -\begin{enumerate} -\item -Assign \locvar{\idx{rx}} the value - $(\bitvar{BX}+\bitvar{MVX}+\locvar{\idx{bx}})$. -\item -If \locvar{\idx{rx}} is greater than $(\bitvar{RPW}-1)$, assign - \locvar{\idx{rx}} the value $(\bitvar{RPW}-1)$. -\item -If \locvar{\idx{rx}} is less than zero, assign \locvar{\idx{rx}} the value - zero. -\item -Assign $\bitvar{PRED}[\locvar{\idx{by}}][\locvar{\idx{bx}}]$ the value - $\bitvar{REFP}[\locvar{\idx{ry}}][\locvar{\idx{rx}}]$. -\end{enumerate} -\end{enumerate} -\end{enumerate} - -\subsubsection{The Half-Pixel Predictor} -\label{sub:predhalfpel} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{RPW} & Integer & 20 & No & The width of the current plane of the - reference frame in pixels. \\ -\bitvar{RPH} & Integer & 20 & No & The height of the current plane of the - reference frame in pixels. \\ -\bitvar{REFP} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPH}\times\bitvar{RPW}$ - array containing the contents of the current plane of the reference frame. \\ -\bitvar{BX} & Integer & 20 & No & The horizontal pixel index of the - lower-left corner of the current block. \\ -\bitvar{BY} & Integer & 20 & No & The vertical pixel index of the - lower-left corner of the current block. \\ -\bitvar{MVX} & Integer & 5 & No & The horizontal component of the first - whole-pixel motion vector. \\ -\bitvar{MVY} & Integer & 5 & No & The vertical component of the first - whole-pixel motion vector. \\ -\bitvar{MVX2} & Integer & 5 & No & The horizontal component of the second - whole-pixel motion vector. \\ -\bitvar{MVY2} & Integer & 5 & No & The vertical component of the second - whole-pixel motion vector. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{PRED} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & An $8\times 8$ array of predictor - values to use for INTER coded blocks. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{\idx{bx}} & Integer & 3 & Yes & The horizontal pixel index in the - block. \\ -\locvar{\idx{by}} & Integer & 3 & Yes & The vertical pixel index in the - block. \\ -\locvar{\idx{rx1}} & Integer & 20 & No & The first horizontal pixel index in - the reference frame. \\ -\locvar{\idx{ry1}} & Integer & 20 & No & The first vertical pixel index in the - reference frame. \\ -\locvar{\idx{rx2}} & Integer & 20 & No & The second horizontal pixel index in - the reference frame. \\ -\locvar{\idx{ry2}} & Integer & 20 & No & The second vertical pixel index in - the reference frame. \\ -\bottomrule\end{tabularx} -\medskip - -If one or both of the components of the block motion vector is not a - whole-pixel value, then the half-pixel predictor is used. -The half-pixel predictor converts the fractional motion vector into two - whole-pixel motion vectors. -The first is formed by truncating the values of each component towards zero, - and the second is formed by truncating them away from zero. -The contributions from the reference frame at the locations pointed to by each - vector are averaged, truncating towards negative infinity. - -Only two samples from the reference frame contribute to each predictor value, - even if both components of the motion vector have non-zero fractional - components. -Motion vector components with quarter-pixel accuracy in the chroma planes are - treated exactly the same as those with half-pixel accuracy. -Any non-zero fractional part gets rounded one way in the first vector, and the - other way in the second. - -\begin{enumerate} -\item -For each value of \locvar{\idx{by}} from $0$ to $7$, inclusive: -\begin{enumerate} -\item -Assign \locvar{\idx{ry1}} the value - $(\bitvar{BY}+\bitvar{MVY1}+\locvar{\idx{by}})$. -\item -If \locvar{\idx{ry1}} is greater than $(\bitvar{RPH}-1)$, assign - \locvar{\idx{ry1}} the value $(\bitvar{RPH}-1)$. -\item -If \locvar{\idx{ry1}} is less than zero, assign \locvar{\idx{ry1}} the value - zero. -\item -Assign \locvar{\idx{ry2}} the value - $(\bitvar{BY}+\bitvar{MVY2}+\locvar{\idx{by}})$. -\item -If \locvar{\idx{ry2}} is greater than $(\bitvar{RPH}-1)$, assign - \locvar{\idx{ry2}} the value $(\bitvar{RPH}-1)$. -\item -If \locvar{\idx{ry2}} is less than zero, assign \locvar{\idx{ry2}} the value - zero. -\item -For each value of \locvar{\idx{bx}} from $0$ to $7$, inclusive: -\begin{enumerate} -\item -Assign \locvar{\idx{rx1}} the value - $(\bitvar{BX}+\bitvar{MVX1}+\locvar{\idx{bx}})$. -\item -If \locvar{\idx{rx1}} is greater than $(\bitvar{RPW}-1)$, assign - \locvar{\idx{rx1}} the value $(\bitvar{RPW}-1)$. -\item -If \locvar{\idx{rx1}} is less than zero, assign \locvar{\idx{rx1}} the value - zero. -\item -Assign \locvar{\idx{rx2}} the value - $(\bitvar{BX}+\bitvar{MVX2}+\locvar{\idx{bx}})$. -\item -If \locvar{\idx{rx2}} is greater than $(\bitvar{RPW}-1)$, assign - \locvar{\idx{rx2}} the value $(\bitvar{RPW}-1)$. -\item -If \locvar{\idx{rx2}} is less than zero, assign \locvar{\idx{rx2}} the value - zero. -\item -Assign $\bitvar{PRED}[\locvar{\idx{by}}][\locvar{\idx{bx}}]$ the value -\begin{equation*} - (\bitvar{REFP}[\locvar{\idx{ry1}}][\locvar{\idx{rx1}}]+ - \bitvar{REFP}[\locvar{\idx{ry2}}][\locvar{\idx{rx2}}])>>1. -\end{equation*} -\end{enumerate} -\end{enumerate} -\end{enumerate} - -\subsection{Dequantization} -\label{sub:dequant} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{COEFFS} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 16 & Yes & An $\bitvar{NBS}\times 64$ array of - quantized DCT coefficient values for each block in zig-zag order. \\ -\bitvar{ACSCALE} & \multicolumn{1}{p{40pt}}{Integer array} & - 16 & No & A 64-element array of scale values for - AC coefficients for each \qi\ value. \\ -\bitvar{DCSCALE} & \multicolumn{1}{p{40pt}}{Integer array} & - 16 & No & A 64-element array of scale values for - the DC coefficient for each \qi\ value. \\ -\bitvar{BMS} & \multicolumn{1}{p{50pt}}{2D Integer array} & - 8 & No & A $\bitvar{NBMS}\times 64$ array - containing the base matrices. \\ -\bitvar{NQRS} & \multicolumn{1}{p{50pt}}{2D Integer array} & - 6 & No & A $2\times 3$ array containing the - number of quant ranges for a given \qti\ and \pli, respectively. -This is at most $63$. \\ -\bitvar{QRSIZES} & \multicolumn{1}{p{50pt}}{3D Integer array} & - 6 & No & A $2\times 3\times 63$ array of the - sizes of each quant range for a given \qti\ and \pli, respectively. -Only the first $\bitvar{NQRS}[\qti][\pli]$ values are used. \\ -\bitvar{QRBMIS} & \multicolumn{1}{p{50pt}}{3D Integer array} & - 9 & No & A $2\times 3\times 64$ array of the - \bmi's used for each quant range for a given \qti\ and \pli, respectively. -Only the first $(\bitvar{NQRS}[\qti][\pli]+1)$ values are used. \\ -\bitvar{\qti} & Integer & 1 & No & A quantization type index. -See Table~\ref{tab:quant-types}.\\ -\bitvar{\pli} & Integer & 2 & No & A color plane index. -See Table~\ref{tab:color-planes}.\\ -\bitvar{\idx{qi0}} & Integer & 6 & No & The quantization index of the DC - coefficient. \\ -\bitvar{\qi} & Integer & 6 & No & The quantization index of the AC - coefficients. \\ -\bitvar{\bi} & Integer & 36 & No & The index of the current block in - coded order. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{DQC} & \multicolumn{1}{p{40pt}}{Integer Array} & - 14 & Yes & A $64$-element array of dequantized - DCT coefficients in natural order (cf. Section~\ref{sec:dct-coeffs}). \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{QMAT} & \multicolumn{1}{p{40pt}}{Integer array} & - 16 & No & A 64-element array of quantization - values for each DCT coefficient in natural order. \\ -\locvar{\ci} & Integer & 6 & No & The DCT coefficient index in natural - order. \\ -\locvar{\zzi} & Integer & 6 & No & The DCT coefficient index in zig-zag - order. \\ -\locvar{C} & Integer & 29 & Yes & A single dequantized coefficient. \\ -\bottomrule\end{tabularx} -\medskip - -This procedure takes the quantized DCT coefficient values in zig-zag order for - a single block---after DC prediction has been undone---and returns the - dequantized values in natural order. -If large coefficient values are decoded for coarsely quantized coefficients, - the resulting dequantized value can be significantly larger than 16 bits. -Such a coefficient is truncated to a signed 16-bit representation by discarding - the higher-order bits of its twos-complement representation. - -Although this procedure recomputes the quantization matrices from the - parameters in the setup header for each block, there are at most six different - ones used for each color plane. -An efficient implementation could compute them once in advance. - -\begin{enumerate} -\item -Using \bitvar{ACSCALE}, \bitvar{DCSCALE}, \bitvar{BMS}, \bitvar{NQRS}, - \bitvar{QRSIZES}, \bitvar{QRBMIS}, \bitvar{\qti}, \bitvar{\pli}, and - \bitvar{\idx{qi0}}, use the procedure given in Section~\ref{sub:quant-mat} to - compute the DC quantization matrix \locvar{QMAT}. -\item -Assign \locvar{C} the value - $\bitvar{COEFFS}[\bitvar{\bi}][0]*\locvar{QMAT}[0]$. -\item -Truncate \locvar{C} to a 16-bit representation by dropping any higher-order - bits. -\item -Assign $\bitvar{DQC}[0]$ the value \locvar{C}. -\item -Using \bitvar{ACSCALE}, \bitvar{DCSCALE}, \bitvar{BMS}, \bitvar{NQRS}, - \bitvar{QRSIZES}, \bitvar{QRBMIS}, \bitvar{\qti}, \bitvar{\pli}, and - \bitvar{\qi}, use the procedure given in Section~\ref{sub:quant-mat} to - compute the AC quantization matrix \locvar{QMAT}. -\item -For each value of \locvar{\ci} from 1 to 63, inclusive: -\begin{enumerate} -\item -Assign \locvar{\zzi} the index in zig-zag order corresponding to \locvar{\ci}. -E.g., the value at row $(\locvar{\ci}//8)$ and column $(\locvar{\ci}\%8)$ in - Figure~\ref{tab:zig-zag} -\item -Assign \locvar{C} the value - $\bitvar{COEFFS}[\bitvar{\bi}][\locvar{\zzi}]*\locvar{QMAT}[\locvar{\ci}]$. -\item -Truncate \locvar{C} to a 16-bit representation by dropping any higher-order - bits. -\item -Assign $\bitvar{DQC}[\locvar{\ci}]$ the value \locvar{C}. -\end{enumerate} -\end{enumerate} - -\subsection{The Inverse DCT} - -The 2D inverse DCT is separated into two applications of the 1D inverse DCT. -The transform is first applied to each row, and then applied to each column of - the result. - -Each application of the 1D inverse DCT scales the values by a factor of two - relative to the orthonormal version of the transform, for a total scale factor - of four for the 2D transform. -It is assumed that a similar scale factor is applied during the forward DCT - used in the encoder, so that a division by 16 is required after the transform - has been applied in both directions. -The inclusion of this scale factor allows the integerized transform to operate - with increased precision. -All divisions throughout the transform are implemented with right shifts. -Only the final division by $16$ is rounded, with ties rounded towards positive - infinity. - -All intermediate values are truncated to a 32-bit signed representation by - discarding any higher-order bits in their two's complement representation. -The final output of each 1D transform is truncated to a 16-bit signed value in - the same manner. -In practice, if the high word of a $16\times 16$ bit multiplication can be - obtained directly, 16 bits is sufficient for every calculation except scaling - by $C4$. -Thus we truncate to 16 bits before that multiplication to allow an - implementation entirely in 16-bit registers. -Implementations using larger registers must sign-extend the 16-bit value to - maintain compatibility. - -Note that if 16-bit register are used, overflow in the additions and - subtractions should be handled using \textit{unsaturated} arithmetic. -That is, the high-order bits should be discarded and the low-order bits - retained, instead of clamping the result to the maximum or minimum value. -This allows the maximum flexibility in re-ordering these instructions without - deviating from this specification. - -The 1D transform can only overflow if input coefficients larger than $\pm 6201$ - are present. -However, the result of applying the 2D forward transform on pixel values in the - range $-255\ldots 255$ can be as large as $\pm 8157$ due to the scale factor - of four that is applied, and quantization errors could make this even larger. -Therefore, the coefficients cannot simply be clamped into a valid range before - the transform. - -\subsubsection{The 1D Inverse DCT} -\label{sub:1d-idct} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{Y} & \multicolumn{1}{p{40pt}}{Integer Array} & - 16 & Yes & An 8-element array of DCT - coefficients. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{X} & \multicolumn{1}{p{40pt}}{Integer Array} & - 16 & Yes & An 8-element array of output values. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{T} & \multicolumn{1}{p{40pt}}{Integer Array} & - 32 & Yes & An 8-element array containing the - current value of each signal line. \\ -\locvar{R} & Integer & 32 & Yes & A temporary value. \\ -\bottomrule\end{tabularx} -\medskip - -A compliant decoder MUST use the exact implementation of the inverse DCT - defined in this specification. -Some operations may be re-ordered, but the result must be precisely equivalent. -This is a design decision that limits some avenues of decoder optimization, but - prevents any drift in the prediction loop. -Theora uses a 16-bit integerized approximation of of the 8-point 1D inverse DCT - based on the Chen factorization \cite{CSF77}. -It requires 16 multiplications and 26 additions and subtractions. - -\begin{figure}[htbp] -\begin{center} -\includegraphics[width=\textwidth]{idct} -\end{center} -\caption{Signal Flow Graph for the 1D Inverse DCT} -\label{fig:idct} -\end{figure} - -A signal flow graph of the transformation is presented in - Figure~\ref{fig:idct}. -This graph provides a good visualization of which parts of the transform are - parallelizable. -Time increases from left to right. - -Each signal line is involved in an operation where the line is marked with a - dot $\cdot$ or a circled plus sign $\oplus$. -The constants $\locvar{C}i$ and $\locvar{S}j$ are the 16-bit integer - approximations of $\cos(\frac{i\pi}{16})$ and $\sin(\frac{j\pi}{16})$ listed - in Table~\ref{tab:dct-consts}. -When they appear next to a signal line, the value on that line is scaled by the - given constant. -A circled minus sign $\ominus$ next to a signal line indicates that the value - on that line is negated. - -Operations on a single signal path through the graph cannot be reordered, but - operations on different paths may be, or may be executed in parallel. -Different graphs may be obtainable using the associative, commutative, and - distributive properties of unsaturated arithmetic. -The column of numbers on the left represents an initial permutation of the - input DCT coefficients. -The column on the right represents the unpermuted output. -One can be obtained by bit-reversing the 3-bit binary representation of the - other. - -\begin{table}[htbp] -\begin{center} -\begin{tabular}{llr}\toprule -$\locvar{C}i$ & $\locvar{S}j$ & Value \\\midrule -$\locvar{C1}$ & $\locvar{S7}$ & $64277$ \\ -$\locvar{C2}$ & $\locvar{S6}$ & $60547$ \\ -$\locvar{C3}$ & $\locvar{S5}$ & $54491$ \\ -$\locvar{C4}$ & $\locvar{S4}$ & $46341$ \\ -$\locvar{C5}$ & $\locvar{S3}$ & $36410$ \\ -$\locvar{C6}$ & $\locvar{S2}$ & $25080$ \\ -$\locvar{C7}$ & $\locvar{S1}$ & $12785$ \\ -\bottomrule\end{tabular} -\end{center} -\caption{16-bit Approximations of Sines and Cosines} -\label{tab:dct-consts} -\end{table} - -\begin{enumerate} -\item -Assign $\locvar{T}[0]$ the value $\bitvar{Y}[0]+\bitvar{Y}[4]$. -\item -Truncate $\locvar{T}[0]$ to a 16-bit signed representation by dropping any - higher-order bits. -\item -Assign $\locvar{T}[0]$ the value - $\locvar{C4}*\locvar{T}[0]>>16$. -\item -Assign $\locvar{T}[1]$ the value $\bitvar{Y}[0]-\bitvar{Y}[4]$. -\item -Truncate $\locvar{T}[1]$ to a 16-bit signed representation by dropping any - higher-order bits. -\item -Assign $\locvar{T}[1]$ the value $\locvar{C4}*\locvar{T}[1]>>16$. -\item -Assign $\locvar{T}[2]$ the value $(\locvar{C6}*\bitvar{Y}[2]>>16)- - (\locvar{S6}*\bitvar{Y}[6]>>16)$. -\item -Assign $\locvar{T}[3]$ the value $(\locvar{S6}*\bitvar{Y}[2]>>16)+ - (\locvar{C6}*\bitvar{Y}[6]>>16)$. -\item -Assign $\locvar{T}[4]$ the value $(\locvar{C7}*\bitvar{Y}[1]>>16)- - (\locvar{S7}*\bitvar{Y}[7]>>16)$. -\item -Assign $\locvar{T}[5]$ the value $(\locvar{C3}*\bitvar{Y}[5]>>16)- - (\locvar{S3}*\bitvar{Y}[3]>>16)$. -\item -Assign $\locvar{T}[6]$ the value $(\locvar{S3}*\bitvar{Y}[5]>>16)+ - (\locvar{C3}*\bitvar{Y}[3]>>16)$. -\item -Assign $\locvar{T}[7]$ the value $(\locvar{S7}*\bitvar{Y}[1]>>16)+ - (\locvar{C7}*\bitvar{Y}[7]>>16)$. -\item -Assign \locvar{R} the value $\locvar{T}[4]+\locvar{T}[5]$. -\item -Assign $\locvar{T}[5]$ the value $\locvar{T}[4]-\locvar{T}[5]$. -\item -Truncate $\locvar{T}[5]$ to a 16-bit signed representation by dropping any - higher-order bits. -\item -Assign $\locvar{T}[5]$ the value $\locvar{C4}*\locvar{T}[5]>>16$. -\item -Assign $\locvar{T}[4]$ the value $\locvar{R}$. -\item -Assign \locvar{R} the value $\locvar{T}[7]+\locvar{T}[6]$. -\item -Assign $\locvar{T}[6]$ the value $\locvar{T}[7]-\locvar{T}[6]$. -\item -Truncate $\locvar{T}[6]$ to a 16-bit signed representation by dropping any - higher-order bits. -\item -Assign $\locvar{T}[6]$ the value $\locvar{C4}*\locvar{T}[6]>>16$. -\item -Assign $\locvar{T}[7]$ the value $\locvar{R}$. -\item -Assign \locvar{R} the value $\locvar{T}[0]+\locvar{T}[3]$. -\item -Assign $\locvar{T}[3]$ the value $\locvar{T}[0]-\locvar{T}[3]$. -\item -Assign $\locvar{T}[0]$ the value \locvar{R}. -\item -Assign \locvar{R} the value $\locvar{T}[1]+\locvar{T}[2]$ -\item -Assign $\locvar{T}[2]$ the value $\locvar{T}[1]-\locvar{T}[2]$ -\item -Assign $\locvar{T}[1]$ the value \locvar{R}. -\item -Assign \locvar{R} the value $\locvar{T}[6]+\locvar{T}[5]$. -\item -Assign $\locvar{T}[5]$ the value $\locvar{T}[6]-\locvar{T}[5]$. -\item -Assign $\locvar{T}[6]$ the value \locvar{R}. -\item -Assign \locvar{R} the value $\locvar{T}[0]+\locvar{T}[7]$. -\item -Truncate \locvar{R} to a 16-bit signed representation by dropping any - higher-order bits. -\item -Assign $\bitvar{X}[0]$ the value \locvar{R}. -\item -Assign \locvar{R} the value $\locvar{T}[1]+\locvar{T}[6]$. -\item -Truncate \locvar{R} to a 16-bit signed representation by dropping any - higher-order bits. -\item -Assign $\bitvar{X}[1]$ the value \locvar{R}. -\item -Assign \locvar{R} the value $\locvar{T}[2]+\locvar{T}[5]$. -\item -Truncate \locvar{R} to a 16-bit signed representation by dropping any - higher-order bits. -\item -Assign $\bitvar{X}[2]$ the value \locvar{R}. -\item -Assign \locvar{R} the value $\locvar{T}[3]+\locvar{T}[4]$. -\item -Truncate \locvar{R} to a 16-bit signed representation by dropping any - higher-order bits. -\item -Assign $\bitvar{X}[3]$ the value \locvar{R}. -\item -Assign \locvar{R} the value $\locvar{T}[3]-\locvar{T}[4]$. -\item -Truncate \locvar{R} to a 16-bit signed representation by dropping any - higher-order bits. -\item -Assign $\bitvar{X}[4]$ the value \locvar{R}. -\item -Assign \locvar{R} the value $\locvar{T}[2]-\locvar{T}[5]$. -\item -Truncate \locvar{R} to a 16-bit signed representation by dropping any - higher-order bits. -\item -Assign $\bitvar{X}[5]$ the value \locvar{R}. -\item -Assign \locvar{R} the value $\locvar{T}[1]-\locvar{T}[6]$. -\item -Truncate \locvar{R} to a 16-bit signed representation by dropping any - higher-order bits. -\item -Assign $\bitvar{X}[6]$ the value \locvar{R}. -\item -Assign \locvar{R} the value $\locvar{T}[0]-\locvar{T}[7]$. -\item -Truncate \locvar{R} to a 16-bit signed representation by dropping any - higher-order bits. -\item -Assign $\bitvar{X}[7]$ the value \locvar{R}. -\end{enumerate} - -\subsubsection{The 2D Inverse DCT} -\label{sub:2d-idct} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{DQC} & \multicolumn{1}{p{40pt}}{Integer Array} & - 14 & Yes & A $64$-element array of dequantized - DCT coefficients in natural order (cf. Section~\ref{sec:dct-coeffs}). \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{RES} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 16 & Yes & An $8\times 8$ array containing the - decoded residual for the current block. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{\ci} & Integer & 3 & No & The column index. \\ -\locvar{\ri} & Integer & 3 & No & The row index. \\ -\locvar{Y} & \multicolumn{1}{p{40pt}}{Integer Array} & - 16 & Yes & An 8-element array of 1D iDCT input - values. \\ -\locvar{X} & \multicolumn{1}{p{40pt}}{Integer Array} & - 16 & Yes & An 8-element array of 1D iDCT output - values. \\ -\bottomrule\end{tabularx} -\medskip - -This procedure applies the 1D inverse DCT transform 16 times to a block of - dequantized coefficients: once for each of the 8 rows, and once for each of - the 8 columns of the result. -Note that the coordinate system used for the columns is the same right-handed - coordinate system used by the rest of Theora. -Thus, the column is indexed from bottom to top, not top to bottom. -The final values are divided by sixteen, rounding with ties rounded towards - postive infinity. - -\begin{enumerate} -\item -For each value of \locvar{\ri} from 0 to 7: -\begin{enumerate} -\item -For each value of \locvar{\ci} from 0 to 7: -\begin{enumerate} -\item -Assign $\locvar{Y}[\locvar{\ci}]$ the value - $\bitvar{DQC}[\locvar{\ri}*8+\locvar{\ci}]$. -\end{enumerate} -\item -Compute \locvar{X}, the 1D inverse DCT of \locvar{Y} using the procedure - described in Section~\ref{sub:1d-idct}. -\item -For each value of $\locvar{\ci}$ from 0 to 7: -\begin{enumerate} -\item -Assign $\bitvar{RES}[\locvar{\ri}][\locvar{\ci}]$ the value - $\locvar{X}[\locvar{\ci}]$. -\end{enumerate} -\end{enumerate} -\item -For each value of \locvar{\ci} from 0 to 7: -\begin{enumerate} -\item -For each value of \locvar{\ri} from 0 to 7: -\begin{enumerate} -\item -Assign $\locvar{Y}[\locvar{\ri}]$ the value - $\bitvar{RES}[\locvar{\ri}][\locvar{\ci}]$. -\end{enumerate} -\item -Compute \locvar{X}, the 1D inverse DCT of \locvar{Y} using the procedure - described in Section~\ref{sub:1d-idct}. -\item -For each value of \locvar{\ri} from 0 to 7: -\begin{enumerate} -\item -Assign $\bitvar{RES}[\locvar{\ri}][\locvar{\ci}]$ the value - $(\locvar{X}[\locvar{\ri}]+8)>>4$. -\end{enumerate} -\end{enumerate} -\end{enumerate} - -\subsubsection{The 1D Forward DCT (Non-Normative)} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{X} & \multicolumn{1}{p{40pt}}{Integer Array} & - 14 & Yes & An 8-element array of input values. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{Y} & \multicolumn{1}{p{40pt}}{Integer Array} & - 16 & Yes & An 8-element array of DCT - coefficients. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{T} & \multicolumn{1}{p{40pt}}{Integer Array} & - 16 & Yes & An 8-element array containing the - current value of each signal line. \\ -\locvar{R} & Integer & 16 & Yes & A temporary value. \\ -\bottomrule\end{tabularx} -\medskip - -The forward transform used in the encoder is not mandated by this standard as - the inverse one is. -Precise equivalence in the inverse transform alone is all that is required to - guarantee that there is no mismatch in the prediction loop between encoder and - any compliant decoder implementation. -However, a forward transform is provided here as a convenience for implementing - an encoder. -This is the version of the transform used by Xiph.org's Theora encoder, which - is the same as that used by VP3. -Like the inverse DCT, it is first applied to each row, and then applied to each - column of the result. - -\begin{figure}[htbp] -\begin{center} -\includegraphics[width=\textwidth]{fdct} -\end{center} -\caption{Signal Flow Graph for the 1D Forward DCT} -\label{fig:fdct} -\end{figure} - -The signal flow graph for the forward transform is given in - Figure~\ref{fig:fdct}. -It is largely the reverse of the flow graph given for the inverse DCT. -It is important to note that the signs on the constants in the rotations have - changed, and the \locvar{C4} scale factors on one of the lower butterflies now - appear on the opposite side. -The column of numbers on the left represents the unpermuted input, and the - column on the right the permuted output DCT coefficients. - -A proper division by $2^{16}$ is done after the multiplications instead of a - shift in the forward transform. -This can be implemented quickly by adding an offset of $\hex{FFFF}$ if the - number is negative, and then shifting as before. -This slightly increases the computational complexity of the transform. -Unlike the inverse DCT, 16-bit registers and a $16\times16\rightarrow32$ bit - multiply are sufficient to avoid any overflow, so long as the input is in the - range $-6270\ldots 6270$, which is larger than required. - -\begin{enumerate} -\item -Assign $\locvar{T}[0]$ the value $\bitvar{X}[0]+\bitvar{X}[7]$. -\item -Assign $\locvar{T}[1]$ the value $\bitvar{X}[1]+\bitvar{X}[6]$. -\item -Assign $\locvar{T}[2]$ the value $\bitvar{X}[2]+\bitvar{X}[5]$. -\item -Assign $\locvar{T}[3]$ the value $\bitvar{X}[3]+\bitvar{X}[4]$. -\item -Assign $\locvar{T}[4]$ the value $\bitvar{X}[3]-\bitvar{X}[4]$. -\item -Assign $\locvar{T}[5]$ the value $\bitvar{X}[2]-\bitvar{X}[5]$. -\item -Assign $\locvar{T}[6]$ the value $\bitvar{X}[1]-\bitvar{X}[6]$. -\item -Assign $\locvar{T}[7]$ the value $\bitvar{X}[0]-\bitvar{X}[7]$. -\item -Assign \locvar{R} the value $\locvar{T}[0]+\locvar{T}[3]$. -\item -Assign $\locvar{T}[3]$ the value $\locvar{T}[0]-\locvar{T}[3]$. -\item -Assign $\locvar{T}[0]$ the value \locvar{R}. -\item -Assign \locvar{R} the value $\locvar{T}[1]+\locvar{T}[2]$. -\item -Assign $\locvar{T}[2]$ the value $\locvar{T}[1]-\locvar{T}[2]$. -\item -Assign $\locvar{T}[1]$ the value \locvar{R}. -\item -Assign \locvar{R} the value $\locvar{T}[6]-\locvar{T}[5]$. -\item -Assign $\locvar{T}[6]$ the value - $(\locvar{C4}*(\locvar{T}[6]+\locvar{T}[5]))//16$. -\item -Assign $\locvar{T}[5]$ the value $(\locvar{C4}*\locvar{R})//16$. -\item -Assign \locvar{R} the value $\locvar{T}[4]+\locvar{T}[5]$. -\item -Assign $\locvar{T}[5]$ the value $\locvar{T}[4]-\locvar{T}[5]$. -\item -Assign $\locvar{T}[4]$ the value \locvar{R}. -\item -Assign \locvar{R} the value $\locvar{T}[7]+\locvar{T}[6]$. -\item -Assign $\locvar{T}[6]$ the value $\locvar{T}[7]-\locvar{T}[6]$. -\item -Assign $\locvar{T}[7]$ the value \locvar{R}. -\item -Assign $\bitvar{Y}[0]$ the value - $(\locvar{C4}*(\locvar{T}[0]+\locvar{T}[1]))//16$. -\item -Assign $\bitvar{Y}[4]$ the value - $(\locvar{C4}*(\locvar{T}[0]-\locvar{T}[1]))//16$. -\item -Assign $\bitvar{Y}[2]$ the value - $((\locvar{S6}*\locvar{T}[3])//16)+ - ((\locvar{C6}*\locvar{T}[2])//16)$. -\item -Assign $\bitvar{Y}[6]$ the value - $((\locvar{C6}*\locvar{T}[3])//16)- - ((\locvar{S6}*\locvar{T}[2])//16)$. -\item -Assign $\bitvar{Y}[1]$ the value - $((\locvar{S7}*\locvar{T}[7])//16)+ - ((\locvar{C7}*\locvar{T}[4])//16)$. -\item -Assign $\bitvar{Y}[5]$ the value - $((\locvar{S3}*\locvar{T}[6])//16)+ - ((\locvar{C3}*\locvar{T}[5])//16)$. -\item -Assign $\bitvar{Y}[3]$ the value - $((\locvar{C3}*\locvar{T}[6])//16)- - ((\locvar{S3}*\locvar{T}[5])//16)$. -\item -Assign $\bitvar{Y}[7]$ the value - $((\locvar{C7}*\locvar{T}[7])//16)- - ((\locvar{S7}*\locvar{T}[4])//16)$. -\end{enumerate} - -\subsection{The Complete Reconstruction Algorithm} -\label{sub:recon} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{ACSCALE} & \multicolumn{1}{p{40pt}}{Integer array} & - 16 & No & A 64-element array of scale values - for AC coefficients for each \qi\ value. \\ -\bitvar{DCSCALE} & \multicolumn{1}{p{40pt}}{Integer array} & - 16 & No & A 64-element array of scale values - for the DC coefficient for each \qi\ value. \\ -\bitvar{BMS} & \multicolumn{1}{p{50pt}}{2D Integer array} & - 8 & No & A $\bitvar{NBMS}\times 64$ array - containing the base matrices. \\ -\bitvar{NQRS} & \multicolumn{1}{p{50pt}}{2D Integer array} & - 6 & No & A $2\times 3$ array containing the - number of quant ranges for a given \qti\ and \pli, respectively. -This is at most $63$. \\ -\bitvar{QRSIZES} & \multicolumn{1}{p{50pt}}{3D Integer array} & - 6 & No & A $2\times 3\times 63$ array of the - sizes of each quant range for a given \qti\ and \pli, respectively. -Only the first $\bitvar{NQRS}[\qti][\pli]$ values are used. \\ -\bitvar{QRBMIS} & \multicolumn{1}{p{50pt}}{3D Integer array} & - 9 & No & A $2\times 3\times 64$ array of the - \bmi's used for each quant range for a given \qti\ and \pli, respectively. -Only the first $(\bitvar{NQRS}[\qti][\pli]+1)$ values are used. \\ -\bitvar{RPYW} & Integer & 20 & No & The width of the $Y'$ plane of the - reference frames in pixels. \\ -\bitvar{RPYH} & Integer & 20 & No & The height of the $Y'$ plane of the - reference frames in pixels. \\ -\bitvar{RPCW} & Integer & 20 & No & The width of the $C_b$ and $C_r$ - planes of the reference frames in pixels. \\ -\bitvar{RPCH} & Integer & 20 & No & The height of the $C_b$ and $C_r$ - planes of the reference frames in pixels. \\ -\bitvar{GOLDREFY} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPYH}\times\bitvar{RPYW}$ - array containing the contents of the $Y'$ plane of the golden reference - frame. \\ -\bitvar{GOLDREFCB} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPCH}\times\bitvar{RPCW}$ - array containing the contents of the $C_b$ plane of the golden reference - frame. \\ -\bitvar{GOLDREFCR} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPCH}\times\bitvar{RPCW}$ - array containing the contents of the $C_r$ plane of the golden reference - frame. \\ -\bitvar{PREVREFY} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPYH}\times\bitvar{RPYW}$ - array containing the contents of the $Y'$ plane of the previous reference - frame. \\ -\bitvar{PREVREFCB} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPCH}\times\bitvar{RPCW}$ - array containing the contents of the $C_b$ plane of the previous reference - frame. \\ -\bitvar{PREVREFCR} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPCH}\times\bitvar{RPCW}$ - array containing the contents of the $C_r$ plane of the previous reference - frame. \\ -\bitvar{NBS} & Integer & 36 & No & The total number of blocks in a - frame. \\ -\bitvar{BCODED} & \multicolumn{1}{p{40pt}}{Integer Array} & - 1 & No & An \bitvar{NBS}-element array of - flags indicating which blocks are coded. \\ -\bitvar{MBMODES} & \multicolumn{1}{p{40pt}}{Integer Array} & - 3 & No & An \bitvar{NMBS}-element array of - coding modes for each macro block. \\ -\bitvar{MVECTS} & \multicolumn{1}{p{50pt}}{Array of 2D Integer Vectors} & - 6 & Yes & An \bitvar{NBS}-element array of - motion vectors for each block. \\ -\bitvar{COEFFS} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 16 & Yes & An $\bitvar{NBS}\times 64$ array of - quantized DCT coefficient values for each block in zig-zag order. \\ -\bitvar{NCOEFFS} & \multicolumn{1}{p{40pt}}{Integer Array} & - 7 & No & An \bitvar{NBS}-element array of the - coefficient count for each block. \\ -\bitvar{QIS} & \multicolumn{1}{p{40pt}}{Integer array} & - 6 & No & An \bitvar{NQIS}-element array of - \qi\ values. \\ -\bitvar{QIIS} & \multicolumn{1}{p{40pt}}{Integer Array} & - 2 & No & An \bitvar{NBS}-element array of - \locvar{\qii} values for each block. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{RECY} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPYH}\times\bitvar{RPYW}$ - array containing the contents of the $Y'$ plane of the reconstructed frame. \\ -\bitvar{RECCB} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPCH}\times\bitvar{RPCW}$ - array containing the contents of the $C_b$ plane of the reconstructed frame. \\ -\bitvar{RECCR} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPCH}\times\bitvar{RPCW}$ - array containing the contents of the $C_r$ plane of the reconstructed frame. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{RPW} & Integer & 20 & No & The width of the current plane of the - current reference frame in pixels. \\ -\locvar{RPH} & Integer & 20 & No & The height of the current plane of - the current reference frame in pixels. \\ -\locvar{REFP} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPH}\times\bitvar{RPW}$ - array containing the contents of the current plane of the current reference - frame. \\ -\locvar{BX} & Integer & 20 & No & The horizontal pixel index of the - lower-left corner of the current block. \\ -\locvar{BY} & Integer & 20 & No & The vertical pixel index of the - lower-left corner of the current block. \\ -\locvar{MVX} & Integer & 5 & No & The horizontal component of the first - whole-pixel motion vector. \\ -\locvar{MVY} & Integer & 5 & No & The vertical component of the first - whole-pixel motion vector. \\ -\locvar{MVX2} & Integer & 5 & No & The horizontal component of the second - whole-pixel motion vector. \\ -\locvar{MVY2} & Integer & 5 & No & The vertical component of the second - whole-pixel motion vector. \\ -\locvar{PRED} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & An $8\times 8$ array of predictor - values to use for the current block. \\ -\locvar{RES} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 16 & Yes & An $8\times 8$ array containing the - decoded residual for the current block. \\ -\locvar{QMAT} & \multicolumn{1}{p{40pt}}{Integer array} & - 16 & No & A 64-element array of quantization - values for each DCT coefficient in natural order. \\ -\locvar{DC} & Integer & 29 & Yes & The dequantized DC coefficient of a - block. \\ -\locvar{P} & Integer & 17 & Yes & A reconstructed pixel value. \\ -\locvar{\bi} & Integer & 36 & No & The index of the current block in - coded order. \\ -\locvar{\mbi} & Integer & 32 & No & The index of the macro block - containing block \locvar{\bi}. \\ -\locvar{\pli} & Integer & 2 & No & The color plane index of the current - block. \\ -\locvar{\rfi} & Integer & 2 & No & The index of the reference frame - indicated by the coding mode for macro block \locvar{\mbi}. \\ -\locvar{\idx{bx}} & Integer & 3 & No & The horizontal pixel index in the - block. \\ -\locvar{\idx{by}} & Integer & 3 & No & The vertical pixel index in the - block. \\ -\locvar{\qti} & Integer & 1 & No & A quantization type index. -See Table~\ref{tab:quant-types}.\\ -\locvar{\idx{qi0}} & Integer & 6 & No & The quantization index of the DC - coefficient. \\ -\locvar{\qi} & Integer & 6 & No & The quantization index of the AC - coefficients. \\ -\bottomrule\end{tabularx} -\medskip - -This section takes the decoded packet data and uses the previously defined - procedures to reconstruct each block of the current frame. -For coded blocks, a predictor is formed using the coding mode and, if - applicable, the motion vector, and then the residual is computed from the - quantized DCT coefficients. -For uncoded blocks, the contents of the co-located block are copied from the - previous frame and the residual is cleared to zero. -Then the predictor and residual are added, and the result clamped to the range - $0\ldots 255$ and stored in the current frame. - -In the special case that a block contains only a DC coefficient, the - dequantization and inverse DCT transform is skipped. -Instead the constant pixel value for the entire block is computed in one step. -Note that the truncation of intermediate operations is omitted and the final - rounding is slightly different in this case. -The check for whether or not the block contains only a DC coefficient is based - on the coefficient count returned from the token decode procedure of - Section~\ref{sec:dct-decode}, and not by checking to see if the remaining - coefficient values are zero. -Also note that even when the coefficient count indicates the block contains - zero coefficients, the DC coefficient is still processed, as undoing DC - prediction might have made it non-zero. - -After this procedure, the frame is completely reconstructed, but before it can - be used as a reference frame, a loop filter must be run over it to help reduce - blocking artifacts. -This is detailed in Section~\ref{sec:loopfilter}. - -\begin{enumerate} -\item -Assign \locvar{\idx{qi0}} the value $\bitvar{QIS}[0]$. -\item -For each value of \locvar{\bi} from 0 to $(\bitvar{NBS}-1)$: -\begin{enumerate} -\item -Assign \locvar{\pli} the index of the color plane block \locvar{\bi} belongs - to. -\item -Assign \locvar{BX} the horizontal pixel index of the lower-left corner of block - \locvar{\bi}. -\item -Assign \locvar{BY} the vertical pixel index of the lower-left corner of block - \locvar{\bi}. -\item -If $\bitvar{BCODED}[\locvar{\bi}]$ is non-zero: -\begin{enumerate} -\item -Assign \locvar{\mbi} the index of the macro block containing block - \locvar{\bi}. -\item -If $\bitvar{MBMODES}[\locvar{\mbi}]$ is 1 (INTRA), assign \locvar{\qti} the - value $0$. -\item -Otherwise, assign \locvar{\qti} the value $1$. -\item -Assign \locvar{\rfi} the value of the Reference Frame Index column of - Table~\ref{tab:cm-refs} corresponding to $\bitvar{MBMODES}[\locvar{\mbi}]$. -\item -If \locvar{\rfi} is zero, compute \locvar{PRED} using the procedure given in - Section~\ref{sub:predintra}. -\item -Otherwise: -\begin{enumerate} -\item -Assign \locvar{REFP}, \locvar{RPW}, and \locvar{RPH} the values given in - Table~\ref{tab:refp} corresponding to current value of \locvar{\rfi} and - \locvar{\pli}. - -\begin{table}[htbp] -\begin{center} -\begin{tabular}{cclll}\toprule -\locvar{\rfi} & \locvar{\pli} & -\locvar{REFP} & \locvar{RPW} & \locvar{RPH} \\\midrule -$1$ & $0$ & \bitvar{PREVREFY} & \bitvar{RPYW} & \bitvar{RPYH} \\ -$1$ & $1$ & \bitvar{PREVREFCB} & \bitvar{RPCW} & \bitvar{RPCH} \\ -$1$ & $2$ & \bitvar{PREVREFCR} & \bitvar{RPCW} & \bitvar{RPCH} \\ -$2$ & $0$ & \bitvar{GOLDREFY} & \bitvar{RPYW} & \bitvar{RPYH} \\ -$2$ & $1$ & \bitvar{GOLDREFCB} & \bitvar{RPCW} & \bitvar{RPCH} \\ -$2$ & $2$ & \bitvar{GOLDREFCR} & \bitvar{RPCW} & \bitvar{RPCH} \\ -\bottomrule\end{tabular} -\end{center} -\caption{Reference Planes and Sizes for Each \locvar{\rfi} and \locvar{\pli}} -\label{tab:refp} -\end{table} - -\item -Assign \locvar{MVX} the value -\begin{equation*} - \left\lfloor\lvert\bitvar{MVECTS}[\locvar{\bi}]_x\rvert\right\rfloor* - \sign(\bitvar{MVECTS}[\locvar{\bi}]_x). -\end{equation*} -\item -Assign \locvar{MVY} the value -\begin{equation*} - \left\lfloor\lvert\bitvar{MVECTS}[\locvar{\bi}]_y\rvert\right\rfloor* - \sign(\bitvar{MVECTS}[\locvar{\bi}]_y). -\end{equation*} -\item -Assign \locvar{MVX2} the value -\begin{equation*} - \left\lceil\lvert\bitvar{MVECTS}[\locvar{\bi}]_x\rvert\right\rceil* - \sign(\bitvar{MVECTS}[\locvar{\bi}]_x). -\end{equation*} -\item -Assign \locvar{MVY2} the value -\begin{equation*} - \left\lceil\lvert\bitvar{MVECTS}[\locvar{\bi}]_y\rvert\right\rceil* - \sign(\bitvar{MVECTS}[\locvar{\bi}]_y). -\end{equation*} -\item -If \locvar{MVX} equals \locvar{MVX2} and \locvar{MVY} equals \locvar{MVY2}, - use the values \locvar{REFP}, \locvar{RPW}, \locvar{RPH}, \locvar{BX}, - \locvar{BY}, \locvar{MVX}, and \locvar{MVY}, compute \locvar{PRED} using the - procedure given in Section~\ref{sub:predfullpel}. -\item -Otherwise, use the values \locvar{REFP}, \locvar{RPW}, \locvar{RPH}, - \locvar{BX}, \locvar{BY}, \locvar{MVX}, \locvar{MVY}, \locvar{MVX2}, and - \locvar{MVY2} to compute \locvar{PRED} using the procedure given in - Section~\ref{sub:predhalfpel}. -\end{enumerate} -\item -If $\bitvar{NCOEFFS}[\locvar{\bi}]$ is less than 2: -\begin{enumerate} -\item -Using \bitvar{ACSCALE}, \bitvar{DCSCALE}, \bitvar{BMS}, \bitvar{NQRS}, \\ - \bitvar{QRSIZES}, \bitvar{QRBMIS}, \locvar{\qti}, \locvar{\pli}, and - \locvar{\idx{qi0}}, use the procedure given in Section~\ref{sub:quant-mat} to - compute the DC quantization matrix \locvar{QMAT}. -\item -Assign \locvar{DC} the value -\begin{equation*} - (\bitvar{COEFFS}[\bitvar{\bi}][0]*\locvar{QMAT}[0]+15)>>5. -\end{equation*} -\item -Truncate \locvar{DC} to a 16-bit signed representation by dropping any - higher-order bits. -\item -For each value of \locvar{\idx{by}} from 0 to 7, and each value of - \locvar{\idx{bx}} from 0 to 7, assign - $\locvar{RES}[\locvar{\idx{by}}][\locvar{\idx{bx}}]$ the value \locvar{DC}. -\end{enumerate} -\item -Otherwise: -\begin{enumerate} -\item -Assign \locvar{\qi} the value $\bitvar{QIS}[\bitvar{QIIS}[\locvar{\bi}]]$. -\item -Using \bitvar{ACSCALE}, \bitvar{DCSCALE}, \bitvar{BMS}, \bitvar{NQRS}, \\ - \bitvar{QRSIZES}, \bitvar{QRBMIS}, \locvar{\qti}, \locvar{\pli}, - \locvar{\idx{qi0}}, and \locvar{\qi}, compute \locvar{DQC} using the procedure - given in Section~\ref{sub:dequant}. -\item -Using \locvar{DQC}, compute \locvar{RES} using the procedure given in - Section~\ref{sub:2d-idct}. -\end{enumerate} -\end{enumerate} -\item -Otherwise: -\begin{enumerate} -\item -Assign \locvar{\rfi} the value 1. -\item -Assign \locvar{REFP}, \locvar{RPW}, and \locvar{RPH} the values given in - Table~\ref{tab:refp} corresponding to current value of \locvar{\rfi} and - \locvar{\pli}. -\item -Assign \locvar{MVX} the value 0. -\item -Assign \locvar{MVY} the value 0. -\item -Using the values \locvar{REFP}, \locvar{RPW}, \locvar{RPH}, \locvar{BX}, - \locvar{BY}, \locvar{MVX}, and \locvar{MVY}, compute \locvar{PRED} using the - procedure given in Section~\ref{sub:predfullpel}. -This is simply a copy of the co-located block in the previous reference frame. -\item -For each value of \locvar{\idx{by}} from 0 to 7, and each value of - \locvar{\idx{bx}} from 0 to 7, assign - $\locvar{RES}[\locvar{\idx{by}}][\locvar{\idx{bx}}]$ the value 0. -\end{enumerate} -\item -For each value of \locvar{\idx{by}} from 0 to 7, and each value of - \locvar{\idx{bx}} from 0 to 7: -\begin{enumerate} -\item -Assign \locvar{P} the value - $(\locvar{PRED}[\locvar{\idx{by}}][\locvar{\idx{bx}}]+ - \locvar{RES}[\locvar{\idx{by}}][\locvar{\idx{bx}}])$. -\item -If \locvar{P} is greater than $255$, assign \locvar{P} the value $255$. -\item -If \locvar{P} is less than $0$, assign \locvar{P} the value $0$. -\item -If \locvar{\pli} equals 0, assign - $\bitvar{RECY}[\locvar{BY}+\locvar{\idx{by}}][\locvar{BX}+\locvar{\idx{bx}}]$ - the value \locvar{P}. -\item -Otherwise, if \locvar{\pli} equals 1, assign - $\bitvar{RECB}[\locvar{BY}+\locvar{\idx{by}}][\locvar{BX}+\locvar{\idx{bx}}]$ - the value \locvar{P}. -\item -Otherwise, \locvar{\pli} equals 2, so assign - $\bitvar{RECR}[\locvar{BY}+\locvar{\idx{by}}][\locvar{BX}+\locvar{\idx{bx}}]$ - the value \locvar{P}. -\end{enumerate} -\end{enumerate} -\end{enumerate} - -\section{Loop Filtering} -\label{sec:loopfilter} - -\begin{figure}[htbp] -\begin{center} -\includegraphics{lflim} -\end{center} -\caption{The loop filter response function.} -\label{fig:lflim} -\end{figure} - -The loop filter is a simple deblocking filter that is based on running a small - edge detecting filter over the coded block edges and adjusting the pixel - values by a tapered response. -The filter response is modulated by the following non-linear function: -\begin{align*} -\lflim(\locvar{R},\bitvar{L})&=\left\{\begin{array}{ll} -0, & \locvar{R}\le-2*\bitvar{L} \\ --\locvar{R}-2*\bitvar{L}, & -2*\bitvar{L}<\locvar{R}\le-\bitvar{L} \\ -\locvar{R}, & -\bitvar{L}<\locvar{R}<\bitvar{L} \\ --\locvar{R}+2*\bitvar{L}, & \bitvar{L}\le\locvar{R}<2*\bitvar{L} \\ -0, & 2*\bitvar{L}\le\locvar{R} -\end{array}\right. -\end{align*} -Here \bitvar{L} is a limiting value equal to $\bitvar{LFLIMS}[\idx{qi0}]$. -It defines the peaks of the function, illustrated in Figure~\ref{fig:lflim}. -\bitvar{LFLIMS} is an array of values specified in the setup header and is - indexed by \idx{qi0}, the first quantization index for the frame, the one used - for all the DC coefficients. -Larger values of \bitvar{L} indicate a stronger filter. - -\subsection{Horizontal Filter} -\label{sub:filth} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{RECP} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPH}\times\bitvar{RPW}$ - array containing the contents of a plane of the reconstructed frame. \\ -\bitvar{FX} & Integer & 20 & No & The horizontal pixel index of the - lower-left corner of the area to be filtered. \\ -\bitvar{FY} & Integer & 20 & No & The vertical pixel index of the - lower-left corner of the area to be filtered. \\ -\bitvar{L} & Integer & 7 & No & The loop filter limit value. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{RECP} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPH}\times\bitvar{RPW}$ - array containing the contents of a plane of the reconstructed frame. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{R} & Integer & 9 & Yes & The edge detector response. \\ -\locvar{P} & Integer & 9 & Yes & A filtered pixel value. \\ -\locvar{\idx{by}} & Integer & 20 & No & The vertical pixel index in the - block. \\ -\bottomrule\end{tabularx} -\medskip - -This procedure applies a $4$-tap horizontal filter to each row of a vertical - block edge. - -\begin{enumerate} -\item -For each value of \locvar{\idx{by}} from $0$ to $7$: -\begin{enumerate} -\item -Assign \locvar{R} the value -\begin{multline*} -(\bitvar{RECP}[\bitvar{FY}+\locvar{\idx{by}}][\bitvar{FX}]- - 3*\bitvar{RECP}[\bitvar{FY}+\locvar{\idx{by}}][\bitvar{FX}+1]+\\ - 3*\bitvar{RECP}[\bitvar{FY}+\locvar{\idx{by}}][\bitvar{FX}+2]- - \bitvar{RECP}[\bitvar{FY}+\locvar{\idx{by}}][\bitvar{FX}+3]+4)>>3 -\end{multline*} -\item -Assign \locvar{P} the value - $(\bitvar{RECP}[\bitvar{FY}+\locvar{\idx{by}}][\bitvar{FX}+1]+ - \lflim(\locvar{R},\bitvar{L}))$. -\item -If \locvar{P} is less than zero, assign - $\bitvar{RECP}[\bitvar{FY}+\locvar{\idx{by}}][\bitvar{FX}+1]$ the value zero. -\item -Otherwise, if \locvar{P} is greater than $255$, assign - $\bitvar{RECP}[\bitvar{FY}+\locvar{\idx{by}}][\bitvar{FX}+1]$ the value $255$. -\item -Otherwise, assign - $\bitvar{RECP}[\bitvar{FY}+\locvar{\idx{by}}][\bitvar{FX}+1]$ the value - \locvar{P}. -\item -Assign \locvar{P} the value - $(\bitvar{RECP}[\bitvar{FY}+\locvar{\idx{by}}][\bitvar{FX}+2]- - \lflim(\locvar{R},\bitvar{L}))$. -\item -If \locvar{P} is less than zero, assign - $\bitvar{RECP}[\bitvar{FY}+\locvar{\idx{by}}][\bitvar{FX}+2]$ the value zero. -\item -Otherwise, if \locvar{P} is greater than $255$, assign - $\bitvar{RECP}[\bitvar{FY}+\locvar{\idx{by}}][\bitvar{FX}+2]$ the value $255$. -\item -Otherwise, assign - $\bitvar{RECP}[\bitvar{FY}+\locvar{\idx{by}}][\bitvar{FX}+2]$ the value - \locvar{P}. -\end{enumerate} -\end{enumerate} - -\subsection{Vertical Filter} -\label{sub:filtv} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{RECP} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPH}\times\bitvar{RPW}$ - array containing the contents of a plane of the reconstructed frame. \\ -\bitvar{FX} & Integer & 20 & No & The horizontal pixel index of the - lower-left corner of the area to be filtered. \\ -\bitvar{FY} & Integer & 20 & No & The vertical pixel index of the - lower-left corner of the area to be filtered. \\ -\bitvar{L} & Integer & 7 & No & The loop filter limit value. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{RECP} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPH}\times\bitvar{RPW}$ - array containing the contents of a plane of the reconstructed frame. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{R} & Integer & 9 & Yes & The edge detector response. \\ -\locvar{P} & Integer & 9 & Yes & A filtered pixel value. \\ -\locvar{\idx{bx}} & Integer & 20 & No & The horizontal pixel index in the - block. \\ -\bottomrule\end{tabularx} -\medskip - -This procedure applies a $4$-tap vertical filter to each column of a horizontal - block edge. - -\begin{enumerate} -\item -For each value of \locvar{\idx{bx}} from $0$ to $7$: -\begin{enumerate} -\item -Assign \locvar{R} the value -\begin{multline*} -(\bitvar{RECP}[\bitvar{FY}][\bitvar{FX}+\locvar{\idx{bx}}]- - 3*\bitvar{RECP}[\bitvar{FY}+1][\bitvar{FX}+\locvar{\idx{bx}}]+\\ - 3*\bitvar{RECP}[\bitvar{FY}+2][\bitvar{FX}+\locvar{\idx{bx}}]- - \bitvar{RECP}[\bitvar{FY}+3][\bitvar{FX}+\locvar{\idx{bx}}]+4)>>3 -\end{multline*} -\item -Assign \locvar{P} the value - $(\bitvar{RECP}[\bitvar{FY}+1][\bitvar{FX}+\locvar{\idx{bx}}]+ - \lflim(\locvar{R},\bitvar{L}))$. -\item -If \locvar{P} is less than zero, assign - $\bitvar{RECP}[\bitvar{FY}+1][\bitvar{FX}+\locvar{\idx{bx}}]$ the value zero. -\item -Otherwise, if \locvar{P} is greater than $255$, assign - $\bitvar{RECP}[\bitvar{FY}+1][\bitvar{FX}+\locvar{\idx{bx}}]$ the value $255$. -\item -Otherwise, assign - $\bitvar{RECP}[\bitvar{FY}+1][\bitvar{FX}+\locvar{\idx{bx}}]$ the value - \locvar{P}. -\item -Assign \locvar{P} the value - $(\bitvar{RECP}[\bitvar{FY}+2][\bitvar{FX}+\locvar{\idx{bx}}]- - \lflim(\locvar{R},\bitvar{L}))$. -\item -If \locvar{P} is less than zero, assign - $\bitvar{RECP}[\bitvar{FY}+2][\bitvar{FX}+\locvar{\idx{bx}}]$ the value zero. -\item -Otherwise, if \locvar{P} is greater than $255$, assign - $\bitvar{RECP}[\bitvar{FY}+2][\bitvar{FX}+\locvar{\idx{bx}}]$ the value $255$. -\item -Otherwise, assign - $\bitvar{RECP}[\bitvar{FY}+2][\bitvar{FX}+\locvar{\idx{bx}}]$ the value - \locvar{P}. -\end{enumerate} -\end{enumerate} - -\subsection{Complete Loop Filter} -\label{sub:loop-filt} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{LFLIMS} & \multicolumn{1}{p{40pt}}{Integer array} & - 7 & No & A 64-element array of loop filter limit - values. \\ -\bitvar{RPYW} & Integer & 20 & No & The width of the $Y'$ plane of the - reconstruced frame in pixels. \\ -\bitvar{RPYH} & Integer & 20 & No & The height of the $Y'$ plane of the - reconstruced frame in pixels. \\ -\bitvar{RPCW} & Integer & 20 & No & The width of the $C_b$ and $C_r$ - planes of the reconstruced frame in pixels. \\ -\bitvar{RPCH} & Integer & 20 & No & The height of the $C_b$ and $C_r$ - planes of the reconstruced frame in pixels. \\ -\bitvar{NBS} & Integer & 36 & No & The total number of blocks in a - frame. \\ -\bitvar{BCODED} & \multicolumn{1}{p{40pt}}{Integer Array} & - 1 & No & An \bitvar{NBS}-element array of - flags indicating which blocks are coded. \\ -\bitvar{QIS} & \multicolumn{1}{p{40pt}}{Integer array} & - 6 & No & An \bitvar{NQIS}-element array of - \qi\ values. \\ -\bitvar{RECY} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPYH}\times\bitvar{RPYW}$ - array containing the contents of the $Y'$ plane of the reconstructed frame. \\ -\bitvar{RECCB} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPCH}\times\bitvar{RPCW}$ - array containing the contents of the $C_b$ plane of the reconstructed frame. \\ -\bitvar{RECCR} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPCH}\times\bitvar{RPCW}$ - array containing the contents of the $C_r$ plane of the reconstructed frame. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{RECY} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPYH}\times\bitvar{RPYW}$ - array containing the contents of the $Y'$ plane of the reconstructed frame. \\ -\bitvar{RECCB} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPCH}\times\bitvar{RPCW}$ - array containing the contents of the $C_b$ plane of the reconstructed frame. \\ -\bitvar{RECCR} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPCH}\times\bitvar{RPCW}$ - array containing the contents of the $C_r$ plane of the reconstructed frame. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{RPW} & Integer & 20 & No & The width of the current plane of the - reconstructed frame in pixels. \\ -\locvar{RPH} & Integer & 20 & No & The height of the current plane of - the reconstructed frame in pixels. \\ -\locvar{RECP} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPH}\times\bitvar{RPW}$ - array containing the contents of the current plane of the reconstruced - frame. \\ -\locvar{BX} & Integer & 20 & No & The horizontal pixel index of the - lower-left corner of the current block. \\ -\locvar{BY} & Integer & 20 & No & The vertical pixel index of the - lower-left corner of the current block. \\ -\locvar{FX} & Integer & 20 & No & The horizontal pixel index of the - lower-left corner of the area to be filtered. \\ -\locvar{FY} & Integer & 20 & No & The vertical pixel index of the - lower-left corner of the area to be filtered. \\ -\locvar{L} & Integer & 7 & No & The loop filter limit value. \\ -\locvar{\bi} & Integer & 36 & No & The index of the current block in - coded order. \\ -\locvar{\bj} & Integer & 36 & No & The index of a neighboring block in - coded order. \\ -\locvar{\pli} & Integer & 2 & No & The color plane index of the current - block. \\ -\bottomrule\end{tabularx} -\medskip - -This procedure defines the order that the various block edges are filtered. -Because each application of one of the two filters above destructively modifies - the contents of the reconstructed image, the precise output obtained differs - depending on the order that horizontal and vertical filters are applied to the - edges of a single block. -The order defined here conforms to that used by VP3. - -\begin{enumerate} -\item -Assign \locvar{L} the value $\bitvar{LFLIMS}[\bitvar{QIS}[0]]$. -\item -For each block in {\em raster} order, with coded-order index \locvar{\bi}: -\begin{enumerate} -\item -If $\bitvar{BCODED}[\locvar{\bi}]$ is non-zero: -\begin{enumerate} -\item -Assign \locvar{\pli} the index of the color plane block \locvar{\bi} belongs - to. -\item -Assign \locvar{RECP}, \locvar{RPW}, and \locvar{RPH} the values given in - Table~\ref{tab:recp} corresponding to the value of \locvar{\pli}. - -\begin{table}[htbp] -\begin{center} -\begin{tabular}{clll}\toprule -\locvar{\pli} & \locvar{RECP} & \locvar{RPW} & \locvar{RPH} \\\midrule -$0$ & \bitvar{RECY} & \bitvar{RPYW} & \bitvar{RPYH} \\ -$1$ & \bitvar{RECCB} & \bitvar{RPCW} & \bitvar{RPCH} \\ -$2$ & \bitvar{RECCR} & \bitvar{RPCW} & \bitvar{RPCH} \\ -\bottomrule\end{tabular} -\end{center} -\caption{Reconstructed Planes and Sizes for Each \locvar{\pli}} -\label{tab:recp} -\end{table} - -\item -Assign \locvar{BX} the horizontal pixel index of the lower-left corner of the - block \locvar{\bi}. -\item -Assign \locvar{BY} the vertical pixel index of the lower-left corner of the - block \locvar{\bi}. -\item -If \locvar{BX} is greater than zero: -\begin{enumerate} -\item -Assign \locvar{FX} the value $(\locvar{BX}-2)$. -\item -Assign \locvar{FY} the value \locvar{BY}. -\item -Using \locvar{RECP}, \locvar{FX}, \locvar{FY}, and \locvar{L}, apply the - horizontal block filter to the left edge of block \locvar{\bi} with the - procedure described in Section~\ref{sub:filth}. -\end{enumerate} -\item -If \locvar{BY} is greater than zero: -\begin{enumerate} -\item -Assign \locvar{FX} the value \locvar{BX}. -\item -Assign \locvar{FY} the value $(\locvar{BY}-2)$ -\item -Using \locvar{RECP}, \locvar{FX}, \locvar{FY}, and \locvar{L}, apply the - vertical block filter to the bottom edge of block \locvar{\bi} with the - procedure described in Section~\ref{sub:filtv}. -\end{enumerate} -\item -If $(\locvar{BX}+8)$ is less than \locvar{RPW} and - $\bitvar{BCODED}[\locvar{\bj}]$ is zero, where \locvar{\bj} is the coded-order - index of the block adjacent to \locvar{\bi} on the right: -\begin{enumerate} -\item -Assign \locvar{FX} the value $(\locvar{BX}+6)$. -\item -Assign \locvar{FY} the value \locvar{BY}. -\item -Using \locvar{RECP}, \locvar{FX}, \locvar{FY}, and \locvar{L}, apply the - horizontal block filter to the right edge of block \locvar{\bi} with the - procedure described in Section~\ref{sub:filth}. -\end{enumerate} -\item -If $(\locvar{BY}+8)$ is less than \locvar{RPH} and - $\bitvar{BCODED}[\locvar{\bj}]$ is zero, where \locvar{\bj} is the coded-order - index of the block adjacent to \locvar{\bi} above: -\begin{enumerate} -\item -Assign \locvar{FX} the value \locvar{BX}. -\item -Assign \locvar{FY} the value $(\locvar{BY}+6)$ -\item -Using \locvar{RECP}, \locvar{FX}, \locvar{FY}, and \locvar{L}, apply the - vertical block filter to the top edge of block \locvar{\bi} with the - procedure described in Section~\ref{sub:filtv}. -\end{enumerate} -\end{enumerate} -\end{enumerate} -\end{enumerate} - -\paragraph{VP3 Compatibility} - -The original VP3 decoder implemented unrestricted motion vectors by enlarging - the reconstructed frame buffers and repeating the pixels on its edges into the - padding region. -However, for the previous reference frame this padding ocurred before the loop - filter was applied, but for the golden reference frame it occurred afterwards. - -This means that for the previous reference frame, the padding values were - required to be stored separately from the main image values. -Furthermore, even if the previous and golden reference frames were in fact the - same frame, they could have different padding values. -Finally, the encoder did not apply the loop filter at all, which resulted in - artifacts, particularly in near-static scenes, due to prediction-loop - mismatch. -This last can only be considered a bug in the VP3 encoder. - -Given all these things, Theora now uniformly applies the loop filter before - the reference frames are padded. -This means it is possible to use the same buffer for the previous and golden - reference frames when they do indeed refer to the same frame. -It also means that on architectures where memory bandwidth is limited, it is - possible to avoid storing padding values, and simply clamp the motion vectors - applied to each pixel as described in Sections~\ref{sub:predfullpel} - and~\ref{sub:predhalfpel}. -This means that the predicted pixel values along the edges of the frame might - differ slightly between VP3 and Theora, but since the VP3 encoder did not - apply the loop filter in the first place, this is not likely to impose any - serious compatibility issues. - -\section{Complete Frame Decode} - -\paragraph{Input parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{FMBW} & Integer & 16 & No & The width of the frame in macro - blocks. \\ -\bitvar{FMBH} & Integer & 16 & No & The height of the frame in macro - blocks. \\ -\bitvar{NSBS} & Integer & 32 & No & The total number of super blocks in a - frame. \\ -\bitvar{NBS} & Integer & 36 & No & The total number of blocks in a - frame. \\ -\bitvar{NMBS} & Integer & 32 & No & The total number of macro blocks in a - frame. \\ -\bitvar{FRN} & Integer & 32 & No & The frame-rate numerator. \\ -\bitvar{FRD} & Integer & 32 & No & The frame-rate denominator. \\ -\bitvar{PARN} & Integer & 24 & No & The pixel aspect-ratio numerator. \\ -\bitvar{PARD} & Integer & 24 & No & The pixel aspect-ratio - denominator. \\ -\bitvar{CS} & Integer & 8 & No & The color space. \\ -\bitvar{PF} & Integer & 2 & No & The pixel format. \\ -\bitvar{NOMBR} & Integer & 24 & No & The nominal bitrate of the stream, in - bits per second. \\ -\bitvar{QUAL} & Integer & 6 & No & The quality hint. \\ -\bitvar{KFGSHIFT} & Integer & 5 & No & The amount to shift the key frame - number by in the granule position. \\ -\bitvar{LFLIMS} & \multicolumn{1}{p{40pt}}{Integer array} & - 7 & No & A 64-element array of loop filter - limit values. \\ -\bitvar{ACSCALE} & \multicolumn{1}{p{40pt}}{Integer array} & - 16 & No & A 64-element array of scale values - for AC coefficients for each \qi\ value. \\ -\bitvar{DCSCALE} & \multicolumn{1}{p{40pt}}{Integer array} & - 16 & No & A 64-element array of scale values - for the DC coefficient for each \qi\ value. \\ -\bitvar{NBMS} & Integer & 10 & No & The number of base matrices. \\ -\bitvar{BMS} & \multicolumn{1}{p{50pt}}{2D Integer array} & - 8 & No & A $\bitvar{NBMS}\times 64$ array - containing the base matrices. \\ -\bitvar{NQRS} & \multicolumn{1}{p{50pt}}{2D Integer array} & - 6 & No & A $2\times 3$ array containing the - number of quant ranges for a given \qti\ and \pli, respectively. -This is at most $63$. \\ -\bitvar{QRSIZES} & \multicolumn{1}{p{50pt}}{3D Integer array} & - 6 & No & A $2\times 3\times 63$ array of the - sizes of each quant range for a given \qti\ and \pli, respectively. -Only the first $\bitvar{NQRS}[\qti][\pli]$ values will be used. \\ -\bitvar{QRBMIS} & \multicolumn{1}{p{50pt}}{3D Integer array} & - 9 & No & A $2\times 3\times 64$ array of the - \bmi's used for each quant range for a given \qti\ and \pli, respectively. -Only the first $(\bitvar{NQRS}[\qti][\pli]+1)$ values will be used. \\ -\bitvar{HTS} & \multicolumn{3}{l}{Huffman table array} - & An 80-element array of Huffman tables - with up to 32 entries each. \\ -\bitvar{GOLDREFY} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPYH}\times\bitvar{RPYW}$ - array containing the contents of the $Y'$ plane of the golden reference - frame. \\ -\bitvar{GOLDREFCB} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPCH}\times\bitvar{RPCW}$ - array containing the contents of the $C_b$ plane of the golden reference - frame. \\ -\bitvar{GOLDREFCR} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPCH}\times\bitvar{RPCW}$ - array containing the contents of the $C_r$ plane of the golden reference - frame. \\ -\bitvar{PREVREFY} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPYH}\times\bitvar{RPYW}$ - array containing the contents of the $Y'$ plane of the previous reference - frame. \\ -\bitvar{PREVREFCB} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPCH}\times\bitvar{RPCW}$ - array containing the contents of the $C_b$ plane of the previous reference - frame. \\ -\bitvar{PREVREFCR} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPCH}\times\bitvar{RPCW}$ - array containing the contents of the $C_r$ plane of the previous reference - frame. \\ -\bottomrule\end{tabularx} - -\paragraph{Output parameters:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\bitvar{RECY} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPYH}\times\bitvar{RPYW}$ - array containing the contents of the $Y'$ plane of the reconstructed frame. \\ -\bitvar{RECCB} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPCH}\times\bitvar{RPCW}$ - array containing the contents of the $C_b$ plane of the reconstructed - frame. \\ -\bitvar{RECCR} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPCH}\times\bitvar{RPCW}$ - array containing the contents of the $C_r$ plane of the reconstructed - frame. \\ -\bitvar{GOLDREFY} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPYH}\times\bitvar{RPYW}$ - array containing the contents of the $Y'$ plane of the golden reference - frame. \\ -\bitvar{GOLDREFCB} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPCH}\times\bitvar{RPCW}$ - array containing the contents of the $C_b$ plane of the golden reference - frame. \\ -\bitvar{GOLDREFCR} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPCH}\times\bitvar{RPCW}$ - array containing the contents of the $C_r$ plane of the golden reference - frame. \\ -\bitvar{PREVREFY} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPYH}\times\bitvar{RPYW}$ - array containing the contents of the $Y'$ plane of the previous reference - frame. \\ -\bitvar{PREVREFCB} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPCH}\times\bitvar{RPCW}$ - array containing the contents of the $C_b$ plane of the previous reference - frame. \\ -\bitvar{PREVREFCR} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 8 & No & A $\bitvar{RPCH}\times\bitvar{RPCW}$ - array containing the contents of the $C_r$ plane of the previous reference - frame. \\ -\bottomrule\end{tabularx} - -\paragraph{Variables used:}\hfill\\* -\begin{tabularx}{\textwidth}{@{}llrcX@{}}\toprule -\multicolumn{1}{c}{Name} & -\multicolumn{1}{c}{Type} & -\multicolumn{1}{p{30pt}}{\centering Size (bits)} & -\multicolumn{1}{c}{Signed?} & -\multicolumn{1}{c}{Description and restrictions} \\\midrule\endhead -\locvar{FTYPE} & Integer & 1 & No & The frame type. \\ -\locvar{NQIS} & Integer & 2 & No & The number of \qi\ values. \\ -\locvar{QIS} & \multicolumn{1}{p{40pt}}{Integer array} & - 6 & No & An \locvar{NQIS}-element array of - \qi\ values. \\ -\locvar{BCODED} & \multicolumn{1}{p{40pt}}{Integer Array} & - 1 & No & An \bitvar{NBS}-element array of flags - indicating which blocks are coded. \\ -\locvar{MBMODES} & \multicolumn{1}{p{40pt}}{Integer Array} & - 3 & No & An \bitvar{NMBS}-element array of - coding modes for each macro block. \\ -\locvar{MVECTS} & \multicolumn{1}{p{50pt}}{Array of 2D Integer Vectors} & - 6 & Yes & An \bitvar{NBS}-element array of motion - vectors for each block. \\ -\locvar{QIIS} & \multicolumn{1}{p{40pt}}{Integer Array} & - 2 & No & An \bitvar{NBS}-element array of - \locvar{\qii} values for each block. \\ -\locvar{COEFFS} & \multicolumn{1}{p{50pt}}{2D Integer Array} & - 16 & Yes & An $\bitvar{NBS}\times 64$ array of - quantized DCT coefficient values for each block in zig-zag order. \\ -\locvar{NCOEFFS} & \multicolumn{1}{p{40pt}}{Integer Array} & - 7 & No & An \bitvar{NBS}-element array of the - coefficient count for each block. \\ -\bitvar{RPYW} & Integer & 20 & No & The width of the $Y'$ plane of the - reference frames in pixels. \\ -\bitvar{RPYH} & Integer & 20 & No & The height of the $Y'$ plane of the - reference frames in pixels. \\ -\bitvar{RPCW} & Integer & 20 & No & The width of the $C_b$ and $C_r$ - planes of the reference frames in pixels. \\ -\bitvar{RPCH} & Integer & 20 & No & The height of the $C_b$ and $C_r$ - planes of the reference frames in pixels. \\ -\locvar{\bi} & Integer & 36 & No & The index of the current block in coded - order. \\ -\bottomrule\end{tabularx} -\medskip - -This procedure uses all the procedures defined in the previous section of this - chapter to decode and reconstruct a complete frame. -It takes as input values decoded from the headers, as well as the current - reference frames. -As output, it gives the uncropped, reconstructed frame. -This should be cropped to picture region before display. -As a special case, a 0-byte packet is treated exactly like an inter frame with - no coded blocks. - -\begin{enumerate} -\item -If the size of the data packet is non-zero: -\begin{enumerate} -\item -Decode the frame header values \locvar{FTYPE}, \locvar{NQIS}, and \locvar{QIS} - using the procedure given in Section~\ref{sub:frame-header}. -\item -Using \locvar{FTYPE}, \bitvar{NSBS}, and \bitvar{NBS}, decode the list of coded - block flags into \locvar{BCODED} using the procedure given in - Section~\ref{sub:coded-blocks}. -\item -Using \locvar{FTYPE}, \bitvar{NMBS}, \bitvar{NBS}, and \bitvar{BCODED}, decode - the macro block coding modes into \locvar{MBMODES} using the procedure given - in Section~\ref{sub:mb-modes}. -\item -If \locvar{FTYPE} is non-zero (inter frame), using \bitvar{PF}, \bitvar{NMBS}, - \locvar{MBMODES}, \bitvar{NBS}, and \locvar{BCODED}, decode the motion vectors - into \locvar{MVECTS} using the procedure given in Section~\ref{sub:mv-decode}. -\item -Using \bitvar{NBS}, \locvar{BCODED}, and \locvar{NQIS}, decode the block-level - \qi\ values into \locvar{QIIS} using the procedure given in - Section~\ref{sub:block-qis}. -\item -Using \bitvar{NBS}, \bitvar{NMBS}, \locvar{BCODED}, and \bitvar{HTS}, decode - the DCT coefficients into \locvar{NCOEFFS} and \locvar{NCOEFFS} using the - procedure given in Section~\ref{sub:dct-coeffs}. -\item -Using \locvar{BCODED} and \locvar{MBMODES}, undo the DC prediction on the DC - coefficients stored in \locvar{COEFFS} using the procedure given in - Section~\ref{sub:dc-pred-undo}. -\end{enumerate} -\item -Otherwise: -\begin{enumerate} -\item -Assign \locvar{FTYPE} the value 1 (inter frame). -\item -Assign \locvar{NQIS} the value 1. -\item -Assign $\locvar{QIS}[0]$ the value 63. -\item -For each value of \locvar{\bi} from 0 to $(\bitvar{NBS}-1)$, assign - $\locvar{BCODED}[\locvar{\bi}]$ the value zero. -\end{enumerate} -\item -Assign \locvar{RPYW} and \locvar{RPYH} the values $(16*\bitvar{FMBW})$ and - $(16*\bitvar{FMBH})$, respectively. -\item -Assign \locvar{RPCW} and \locvar{RPCH} the values from the row of - Table~\ref{tab:rpcwh-for-pf} corresponding to \bitvar{PF}. - -\begin{table}[tb] -\begin{center} -\begin{tabular}{crr}\toprule -\bitvar{PF} & \multicolumn{1}{c}{\locvar{RPCW}} - & \multicolumn{1}{c}{\locvar{RPCH}} \\\midrule -$0$ & $8*\bitvar{FMBW}$ & $8*\bitvar{FMBH}$ \\ -$2$ & $8*\bitvar{FMBW}$ & $16*\bitvar{FMBH}$ \\ -$3$ & $16*\bitvar{FMBW}$ & $16*\bitvar{FMBH}$ \\ -\bottomrule\end{tabular} -\end{center} -\caption{Width and Height of Chroma Planes for each Pixel Format} -\label{tab:rpcwh-for-pf} -\end{table} - -\item -Using \bitvar{ACSCALE}, \bitvar{DCSCALE}, \bitvar{BMS}, \bitvar{NQRS}, - \bitvar{QRSIZES}, \bitvar{QRBMIS}, \bitvar{NBS}, \locvar{BCODED}, - \locvar{MBMODES}, \locvar{MVECTS}, \locvar{COEFFS}, \locvar{NCOEFFS}, - \locvar{QIS}, \locvar{QIIS}, \locvar{RPYW}, \locvar{RPYH}, \locvar{RPCW}, - \locvar{RPCH}, \bitvar{GOLDREFY}, \bitvar{GOLDREFCB}, \bitvar{GOLDREFCR}, - \bitvar{PREVREFY}, \bitvar{PREVREFCB}, and \bitvar{PREVREFCR}, reconstruct the - complete frame into \bitvar{RECY}, \bitvar{RECCB}, and \bitvar{RECCR} using - the procedure given in Section~\ref{sub:recon}. -\item -Using \bitvar{LFLIMS}, \locvar{RPYW}, \locvar{RPYH}, \locvar{RPCW}, - \locvar{RPCH}, \bitvar{NBS}, \locvar{BCODED}, and \locvar{QIS}, apply the loop - filter to the reconstructed frame in \bitvar{RECY}, \bitvar{RECCB}, and - \bitvar{RECCR} using the procedure given in Section~\ref{sub:loop-filt}. -\item -If \locvar{FTYPE} is zero (intra frame), assign \bitvar{GOLDREFY}, - \bitvar{GOLDREFCB}, and \bitvar{GOLDREFCR} the values \bitvar{RECY}, - \bitvar{RECCB}, and \bitvar{RECCR}, respectively. -\item -Assign \bitvar{PREVREFY}, \bitvar{PREVREFCB}, and \bitvar{PREVREFCR} the values - \bitvar{RECY}, \bitvar{RECCB}, and \bitvar{RECCR}, respectively. -\end{enumerate} - -%\backmatter -\appendix - -\chapter{Ogg Bitstream Encapsulation} -\label{app:oggencapsulation} - -\section{Overview} - -This document specifies the embedding or encapsulation of Theora packets - in an Ogg transport stream. - -Ogg is a stream oriented wrapper for coded, linear time-based data. -It provides syncronization, multiplexing, framing, error detection and - seeking landmarks for the decoder and complements the raw packet format - used by the Theora codec. - -This document assumes familiarity with the details of the Ogg standard. -The Xiph.org documentation provides an overview of the Ogg transport stream - format at \url{http://www.xiph.org/ogg/doc/oggstream.html} and a detailed - description at \url{http://www.xiph.org/ogg/doc/framing.html}. -The format is also defined in RFC~3533 \cite{rfc3533}. -While Theora packets can be embedded in a wide variety of media - containers and streaming mechanisms, the Xiph.org Foundation - recommends Ogg as the native format for Theora video in file-oriented - storage and transmission contexts. - -\subsection{MIME type} - -The generic MIME type of any Ogg file is {\tt application/ogg}. -The specific MIME type for the Ogg Theora profile documented here -is {\tt video/ogg}. This is the MIME type recommended for files -conforming to this appendix. The recommended filename extension -is {\tt .ogv}. - -Outside of an encapsulation, the mime type {\tt video/theora} may - be used to refer specifically to the Theora compressed video stream. - -\section{Embedding in a logical bitstream} - -Ogg separates the concept of a {\em logical bitstream} consisting of the - framing of a particular sequence of packets and complete within itself - from the {\em physical bitstream} which may consist either of a single - logical bitstream or a number of logical bitstreams multiplexed - together. -This section specifies the embedding of Theora packets in a logical Ogg - bitstream. -The mapping of Ogg Theora logical bitstreams into a multiplexed physical Ogg - stream is described in the next section. - -\subsection{Headers} - -The initial identification header packet appears by itself in a - single Ogg page. -This page defines the start of the logical stream and MUST have - the `beginning of stream' flag set. - -The second and third header packets (comment metadata and decoder - setup data) can together span one or more Ogg pages. -If there are additional non-normative header packets, they MUST be - included in this sequence of pages as well. -The comment header packet MUST begin the second Ogg page in the logical - bitstream, and there MUST be a page break between the last header - packet and the first frame data packet. - -These two page break requirements facilitate stream identification and - simplify header acquisition for seeking and live streaming applications. - -All header pages MUST have their granule position field set to zero. - -\subsection{Frame data} - -The first frame data packet in a logical bitstream MUST begin a new Ogg - page. -All other data packets are placed one at a time into Ogg pages - until the end of the stream. -Packets can span pages and multiple packets can be placed within any - one page. -The last page in the logical bitstream SHOULD have its - 'end of stream' flag set to indicate complete transmission - of the available video. - -Frame data pages MUST be marked with a granule position corresponding to - the end of the display interval of the last frame/packet that finishes - in that page. See the next section for details. - -\subsection{Granule position} - -Data packets are marked by a granulepos derived from the count of decodable -frames after that packet is processed. The field itself is divided into two -sections, the width of the less significant section being given by the KFGSHIFT -parameter decoded from the identification header -(Section~\ref{sec:idheader}). -The more significant portion of the field gives the count of coded -frames after the coding of the last keyframe in stream, and the less -significant portion gives the count of frames since the last keyframe. -Thus a stream would begin with a split granulepos of $1|0$ (a keyframe), -followed by $1|1$, $1|2$, $1|3$, etc. Around a keyframe in the -middle of the stream the granulepos sequence might be $1234|35$, -$1234|36$, $1234|37$, $1271|0$ (for the keyframe), $1271|1$, and so -on. In this way the granulepos field increased monotonically as required -by the Ogg format, but contains information necessary to efficiently -find the previous keyframe to continue decoding after a seek. - -Prior to bitstream version 3.2.1, data packets were marked by a -granulepos derived from the index of the frame being decoded, -rather than the count. That is they marked the beginning of the -display interval of a frame rather than the end. Such streams -have the VREV field of the identification header set to `0' -instead of `1'. They can be interpreted according to the description -above by adding 1 to the more signification field of the split -granulepos when VREV is less than 1. - -\section{Multiplexed stream mapping} - -Applications supporting Ogg Theora must support Theora bitstreams - multiplexed with compressed audio data in the Vorbis I and Speex - formats, and should support Ogg-encapsulated MNG graphics for overlays. - -Multiple audio and video bitstreams may be multiplexed together. -How playback of multiple/alternate streams is handled is up to the - application. -Some conventions based on included metadata aide interoperability - in this respect. -%TODO: describe multiple vs. alternate streams, language mapping -% and reference metadata descriptions. - -\subsection{Chained streams} - -Ogg Theora decoders and playback applications MUST support both grouped - streams (multiplexed concurrent logical streams) and chained streams - (sequential concatenation of independent physical bitstreams). - -The number and codec data types of multiplexed streams and the decoder - parameters for those stream types that re-occur can all change at a - chaining boundary. -A playback application MUST be prepared to handle such changes and - SHOULD do so smoothly with the minimum possible visible disruption. -The specification of grouped streams below applies independently to each - segment of a chained bitstream. - -\subsection{Grouped streams} - -At the beginning of a multiplexed stream, the `beginning of stream' - pages for each logical bitstream will be grouped together. -Within these, the first page to occur MUST be the Theora page. -This facilitates identification of Ogg Theora files among other - Ogg-encapsulated content. -A playback application must nevertheless handle streams where this - arrangement is not correct. -%TBT: Then what's the point of requiring it in the spec? - -If there is more than one Theora logical stream, the first page should - be from the primary stream. -That is, the best choice for the stream a generic player should begin - displaying without special user direction. -If there is more than one audio stream, or of any other stream - type, the identification page of the primary stream of that type - should be placed before the others. -%TBT: That's all pretty vague. - -After the `beginning of stream' pages, the header pages of each of - the logical streams MUST be grouped together before any data pages - occur. - -After all the header pages have been placed, - the data pages are multiplexed together. -They should be placed in the stream in increasing order by the - time equivalents of their granule position fields. -This facilitates seeking while limiting the buffering requirements of the - playback demultiplexer. -%TODO: A lot of this language is encoder-oriented. -%TODO: We define a decoder-oriented specification. -%TODO: The language should be changed to match. - -\cleardoublepage -\chapter{VP3} - -\section{VP3 Compatibility} -\label{app:vp3-compat} -This section lists all of the encoder and decoder issues that may affect VP3 - compatibly. -Each is described in more detail in the text itself. -This list is provided merely for reference. - -\begin{itemize} -\item -Bitstream headers (Section~\ref{sec:headers}). -\begin{itemize} -\item -Identification header (Section~\ref{sec:idheader}). -\begin{itemize} -\item -Non-multiple of 16 picture sizes. -\item -Standardized color spaces. -\item -Support for $4:4:4$ and $4:2:2$ pixel formats. -\end{itemize} -\item -Setup header -\begin{itemize} -\item -Loop filter limit values (Section~\ref{sub:loop-filter-limits}). -\item -Quantization parameters (Section~\ref{sub:quant-params}). -\item -Huffman tables (Section~\ref{sub:huffman-tables}). -\end{itemize} -\end{itemize} -\item -Frame header format (Section~\ref{sub:frame-header}). -\item -Extended long-run bit strings (Section~\ref{sub:long-run}). -\item -INTER\_MV\_FOUR handling of uncoded blocks (Section~\ref{sub:mb-mv-decode}). -\item -Block-level \qi\ values (Section~\ref{sub:block-qis}). -\item -Zero-length EOB runs (Section~\ref{sub:eob-token}). -\item -Unrestricted motion vector padding and the loop filter - (Section~\ref{sub:loop-filt}). -\end{itemize} - -\section{Loop Filter Limit Values} -\label{app:vp3-loop-filter-limits} - -The hard-coded loop filter limit values used in VP3 are defined as follows: -\begin{align*} -\bitvar{LFLIMS} = & \begin{array}[t]{r@{}rrrrrrrr@{}l} -\{ & 30, & 25, & 20, & 20, & 15, & 15, & 14, & 14, & \\ - & 13, & 13, & 12, & 12, & 11, & 11, & 10, & 10, & \\ - & 9, & 9, & 8, & 8, & 7, & 7, & 7, & 7, & \\ - & 6, & 6, & 6, & 6, & 5, & 5, & 5, & 5, & \\ - & 4, & 4, & 4, & 4, & 3, & 3, & 3, & 3, & \\ - & 2, & 2, & 2, & 2, & 2, & 2, & 2, & 2, & \\ - & 0, & 0, & 0, & 0, & 0, & 0, & 0, & 0, & \\ - & 0, & 0, & 0, & 0, & 0, & 0, & 0, & 0\;\ & \!\} \\ -\end{array} -\end{align*} - -\section{Quantization Parameters} -\label{app:vp3-quant-params} - -The hard-coded quantization parameters used by VP3 are defined as follows: - -\begin{align*} -\bitvar{ACSCALE} = & \begin{array}[t]{r@{}rrrrrrrr@{}l} -\{ & 500, & 450, & 400, & 370, & 340, & 310, & 285, & 265, & \\ - & 245, & 225, & 210, & 195, & 185, & 180, & 170, & 160, & \\ - & 150, & 145, & 135, & 130, & 125, & 115, & 110, & 107, & \\ - & 100, & 96, & 93, & 89, & 85, & 82, & 75, & 74, & \\ - & 70, & 68, & 64, & 60, & 57, & 56, & 52, & 50, & \\ - & 49, & 45, & 44, & 43, & 40, & 38, & 37, & 35, & \\ - & 33, & 32, & 30, & 29, & 28, & 25, & 24, & 22, & \\ - & 21, & 19, & 18, & 17, & 15, & 13, & 12, & 10\;\ & \!\} \\ -\end{array} \\ -\bitvar{DCSCALE} = & \begin{array}[t]{r@{}rrrrrrrr@{}l} -\{ & 220, & 200, & 190, & 180, & 170, & 170, & 160, & 160, & \\ - & 150, & 150, & 140, & 140, & 130, & 130, & 120, & 120, & \\ - & 110, & 110, & 100, & 100, & 90, & 90, & 90, & 80, & \\ - & 80, & 80, & 70, & 70, & 70, & 60, & 60, & 60, & \\ - & 60, & 50, & 50, & 50, & 50, & 40, & 40, & 40, & \\ - & 40, & 40, & 30, & 30, & 30, & 30, & 30, & 30, & \\ - & 30, & 20, & 20, & 20, & 20, & 20, & 20, & 20, & \\ - & 20, & 10, & 10, & 10, & 10, & 10, & 10, & 10\;\ & \!\} \\ -\end{array} -\end{align*} - -VP3 defines only a single quantization range for each quantization type and - color plane, and the base matrix used is constant throughout the range. -There are three base matrices defined. -The first is used for the $Y'$ channel of INTRA mode blocks, and the second for - both the $C_b$ and $C_r$ channels of INTRA mode blocks. -The last is used for INTER mode blocks of all channels. - -\begin{align*} -\bitvar{BMS} = \{ & \begin{array}[t]{r@{}rrrrrrrr@{}l} -\{ & 16, & 11, & 10, & 16, & 24, & 40, & 51, & 61, & \\ - & 12, & 12, & 14, & 19, & 26, & 58, & 60, & 55, & \\ - & 14, & 13, & 16, & 24, & 40, & 57, & 69, & 56, & \\ - & 14, & 17, & 22, & 29, & 51, & 87, & 80, & 62, & \\ - & 18, & 22, & 37, & 58, & 68, & 109, & 103, & 77, & \\ - & 24, & 35, & 55, & 64, & 81, & 104, & 113, & 92, & \\ - & 49, & 64, & 78, & 87, & 103, & 121, & 120, & 101, & \\ - & 72, & 92, & 95, & 98, & 112, & 100, & 103, & 99\;\ & \!\}, \\ -%\end{array} \\ -%& \begin{array}[t]{r@{}rrrrrrrr@{}l} -\{ & 17, & 18, & 24, & 47, & 99, & 99, & 99, & 99, & \\ - & 18, & 21, & 26, & 66, & 99, & 99, & 99, & 99, & \\ - & 24, & 26, & 56, & 99, & 99, & 99, & 99, & 99, & \\ - & 47, & 66, & 99, & 99, & 99, & 99, & 99, & 99, & \\ - & 99, & 99, & 99, & 99, & 99, & 99, & 99, & 99, & \\ - & 99, & 99, & 99, & 99, & 99, & 99, & 99, & 99, & \\ - & 99, & 99, & 99, & 99, & 99, & 99, & 99, & 99, & \\ - & 99, & 99, & 99, & 99, & 99, & 99, & 99, & 99\;\ & \!\}, \\ -%\end{array} \\ -%& \begin{array}[t]{r@{}rrrrrrrr@{}l} -\{ & 16, & 16, & 16, & 20, & 24, & 28, & 32, & 40, & \\ - & 16, & 16, & 20, & 24, & 28, & 32, & 40, & 48, & \\ - & 16, & 20, & 24, & 28, & 32, & 40, & 48, & 64, & \\ - & 20, & 24, & 28, & 32, & 40, & 48, & 64, & 64, & \\ - & 24, & 28, & 32, & 40, & 48, & 64, & 64, & 64, & \\ - & 28, & 32, & 40, & 48, & 64, & 64, & 64, & 96, & \\ - & 32, & 40, & 48, & 64, & 64, & 64, & 96, & 128, & \\ - & 40, & 48, & 64, & 64, & 64, & 96, & 128, & 128\;\ & \!\}\;\;\} \\ -\end{array} -\end{align*} - -The remaining parameters simply assign these matrices to the proper quant - ranges. - -\begin{align*} -\bitvar{NQRS} = & \{ \{1, 1, 1\}, \{1, 1, 1\} \} \\ -\bitvar{QRSIZES} = & - \{ \{ \{1\}, \{1\}, \{1\} \}, \{ \{1\}, \{1\}, \{1\} \} \} \\ -\bitvar{QRBMIS} = & - \{ \{ \{0, 0\}, \{1, 1\}, \{1, 1\} \}, \{ \{2, 2\}, \{2, 2\}, \{2, 2\} \} \} \\ -\end{align*} - -\section{Huffman Tables} -\label{app:vp3-huffman-tables} - -The following tables contain the hard-coded Huffman codes used by VP3. -There are 80 tables in all, each with a Huffman code for all 32 token values. -The tokens are sorted by the most significant bits of their Huffman code. -This is the same order in which they will be decoded from the setup header. - -\include{vp3huff} - -\cleardoublepage -\chapter{Colophon} - -Ogg is a \href{http://www.xiph.org}{Xiph.org Foundation} effort to protect - essential tenets of Internet multimedia from corporate hostage-taking; Open - Source is the net's greatest tool to keep everyone honest. -See \href{http://www.xiph.org/about.html}{About the Xiph.org Foundation} for - details. - -Ogg Theora is the first Ogg video codec. -Anyone may freely use and distribute the Ogg and Theora specifications, whether - in private, public, or corporate capacity. -However, the Xiph.org Foundation and the Ogg project reserve the right to set - the Ogg Theora specification and certify specification compliance. - -Xiph.org's Theora software codec implementation is distributed under a BSD-like - license. -This does not restrict third parties from distributing independent - implementations of Theora software under other licenses. - -\begin{wrapfigure}{l}{0pt} -\includegraphics[width=2.5cm]{xifish} -\end{wrapfigure} - -These pages are Copyright \textcopyright{} 2004-2007 Xiph.org Foundation. -All rights reserved. -Ogg, Theora, Vorbis, Xiph.org Foundation and their logos are trademarks - (\texttrademark) of the \href{http://www.xiph.org}{Xiph.org Foundation}. - -This document is set in \LaTeX. - - - -\cleardoublepage -\bibliography{spec} - -\end{document} diff --git a/Libraries/libtheora-1.1.1/doc/spec/superblock.fig b/Libraries/libtheora-1.1.1/doc/spec/superblock.fig deleted file mode 100644 index 082c31f1..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/superblock.fig +++ /dev/null @@ -1,72 +0,0 @@ -#FIG 3.2 Produced by xfig version 3.2.5-alpha4 -Landscape -Center -Metric -A4 -100.00 -Single --2 -1200 2 -6 270 180 5905 4860 -6 387 3531 1542 4687 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 387 4687 675 4687 675 4397 387 4397 387 4687 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 675 4687 963 4687 963 4397 675 4397 675 4687 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 963 4687 1252 4687 1252 4397 963 4397 963 4687 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1252 4397 1542 4397 1542 4109 1252 4109 1252 4397 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 387 4397 675 4397 675 4109 387 4109 387 4397 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 387 4109 675 4109 675 3820 387 3820 387 4109 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 963 4109 1252 4109 1252 3820 963 3820 963 4109 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1252 4109 1542 4109 1542 3820 1252 3820 1252 4109 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1252 3820 1542 3820 1542 3531 1252 3531 1252 3820 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 675 3820 963 3820 963 3531 675 3531 675 3820 --6 -6 387 3531 1542 4687 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1252 4687 1542 4687 1542 4397 1252 4397 1252 4687 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 963 4397 1252 4397 1252 4109 963 4109 963 4397 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 963 3820 1252 3820 1252 3531 963 3531 963 3820 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 387 3820 675 3820 675 3531 387 3531 387 3820 --6 -6 357 3502 1570 4715 -6 675 3820 963 4397 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 675 4397 963 4397 963 4109 675 4109 675 4397 -2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 675 4109 963 4109 963 3820 675 3820 675 4109 --6 -2 2 0 2 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 387 3531 1542 3531 1542 4687 387 4687 387 3531 --6 -2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5 - 387 353 5876 353 5876 4687 387 4687 387 353 -2 2 0 2 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1542 3531 2697 3531 2697 4687 1542 4687 1542 3531 -2 2 0 2 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 2697 3531 3854 3531 3854 4687 2697 4687 2697 3531 -2 2 0 2 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 387 2375 1542 2375 1542 3531 387 3531 387 2375 -2 2 0 2 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 1542 2375 2697 2375 2697 3531 1542 3531 1542 2375 -2 2 0 2 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 - 387 1220 1542 1220 1542 2375 387 2375 387 1220 -4 0 0 50 -1 0 7 0.0000 4 125 270 270 4831 (0,0)\001 -4 0 0 50 -1 0 7 0.0000 4 96 367 473 297 Frame\001 -4 0 0 50 -1 0 7 0.0000 4 125 1002 501 3474 Super Block (4x4)\001 -4 0 0 50 -1 0 7 0.0000 4 96 203 415 4657 8x8\001 -4 0 0 50 -1 0 7 0.0000 4 96 318 357 4513 Block\001 -4 0 0 50 -1 0 13 0.0000 4 20 145 4085 4081 ...\001 -4 0 0 50 -1 0 13 4.7124 4 20 145 848 815 ...\001 --6 diff --git a/Libraries/libtheora-1.1.1/doc/spec/vp3huff.c b/Libraries/libtheora-1.1.1/doc/spec/vp3huff.c deleted file mode 100644 index b425205e..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/vp3huff.c +++ /dev/null @@ -1,918 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2007 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - function: dump the VP3.1 huffman tables in a form suitable for - inclusion in the spec. - last mod: $Id: vp3huff.c 14078 2007-10-31 21:24:44Z giles $ - - ********************************************************************/ - -#include -#include -#include - - - -typedef struct{ - unsigned long pattern; - int nbits; -}theora_huff_code; - - - -/*The default Huffman codes used for VP3.1. - These tables were generated by /experimental/derf/theora-exp/tools/huffgen.c - using the same algorithm and sampled frequency counts used by VP3.*/ -const theora_huff_code TH_VP31_HUFF_CODES[80][32]={ - { - {0x002D, 6},{0x0026, 7},{0x0166, 9},{0x004E, 8}, - {0x02CE,10},{0x059E,11},{0x027D,11},{0x0008, 5}, - {0x04F9,12},{0x000F, 4},{0x000E, 4},{0x001B, 5}, - {0x0006, 4},{0x0008, 4},{0x0005, 4},{0x001A, 5}, - {0x0015, 5},{0x0007, 4},{0x000C, 4},{0x0001, 3}, - {0x0000, 3},{0x0009, 4},{0x0017, 5},{0x0029, 6}, - {0x0028, 6},{0x00B2, 8},{0x04F8,12},{0x059F,11}, - {0x009E, 9},{0x013F,10},{0x0012, 6},{0x0058, 7} - }, - { - {0x0010, 5},{0x0047, 7},{0x01FF, 9},{0x008C, 8}, - {0x03FC,10},{0x046A,11},{0x0469,11},{0x0022, 6}, - {0x11A1,13},{0x000E, 4},{0x000D, 4},{0x0004, 4}, - {0x0005, 4},{0x0009, 4},{0x0006, 4},{0x001E, 5}, - {0x0016, 5},{0x0007, 4},{0x000C, 4},{0x0001, 3}, - {0x0000, 3},{0x000A, 4},{0x0017, 5},{0x007D, 7}, - {0x007E, 7},{0x011B, 9},{0x08D1,12},{0x03FD,10}, - {0x046B,11},{0x11A0,13},{0x007C, 7},{0x00FE, 8} - }, - { - {0x0016, 5},{0x0020, 6},{0x0086, 8},{0x0087, 8}, - {0x0367,10},{0x06CC,11},{0x06CB,11},{0x006E, 7}, - {0x366D,14},{0x000F, 4},{0x000E, 4},{0x0004, 4}, - {0x0005, 4},{0x000A, 4},{0x0006, 4},{0x001A, 5}, - {0x0011, 5},{0x0007, 4},{0x000C, 4},{0x0001, 3}, - {0x0000, 3},{0x0009, 4},{0x0017, 5},{0x006F, 7}, - {0x006D, 7},{0x0364,10},{0x0D9A,12},{0x06CA,11}, - {0x1B37,13},{0x366C,14},{0x0042, 7},{0x00D8, 8} - }, - { - {0x0000, 4},{0x002D, 6},{0x00F7, 8},{0x0058, 7}, - {0x0167, 9},{0x02CB,10},{0x02CA,10},{0x000E, 6}, - {0x1661,13},{0x0003, 3},{0x0002, 3},{0x0008, 4}, - {0x0009, 4},{0x000D, 4},{0x0002, 4},{0x001F, 5}, - {0x0017, 5},{0x0001, 4},{0x000C, 4},{0x000E, 4}, - {0x000A, 4},{0x0006, 5},{0x0078, 7},{0x000F, 6}, - {0x007A, 7},{0x0164, 9},{0x0599,11},{0x02CD,10}, - {0x0B31,12},{0x1660,13},{0x0079, 7},{0x00F6, 8} - }, - { - {0x0003, 4},{0x003C, 6},{0x000F, 7},{0x007A, 7}, - {0x001D, 8},{0x0020, 9},{0x0072,10},{0x0006, 6}, - {0x0399,13},{0x0004, 3},{0x0005, 3},{0x0005, 4}, - {0x0006, 4},{0x000E, 4},{0x0004, 4},{0x0000, 4}, - {0x0019, 5},{0x0002, 4},{0x000D, 4},{0x0007, 4}, - {0x001F, 5},{0x0030, 6},{0x0011, 8},{0x0031, 6}, - {0x0005, 6},{0x0021, 9},{0x00E7,11},{0x0038, 9}, - {0x01CD,12},{0x0398,13},{0x007B, 7},{0x0009, 7} - }, - { - {0x0009, 4},{0x0002, 5},{0x0074, 7},{0x0007, 6}, - {0x00EC, 8},{0x00D1, 9},{0x01A6,10},{0x0006, 6}, - {0x0D21,13},{0x0005, 3},{0x0006, 3},{0x0008, 4}, - {0x0007, 4},{0x000F, 4},{0x0004, 4},{0x0000, 4}, - {0x001C, 5},{0x0002, 4},{0x0005, 4},{0x0003, 4}, - {0x000C, 5},{0x0035, 7},{0x01A7,10},{0x001B, 6}, - {0x0077, 7},{0x01A5,10},{0x0349,11},{0x00D0, 9}, - {0x0691,12},{0x0D20,13},{0x0075, 7},{0x00ED, 8} - }, - { - {0x000A, 4},{0x000C, 5},{0x0012, 6},{0x001B, 6}, - {0x00B7, 8},{0x016C, 9},{0x0099, 9},{0x005A, 7}, - {0x16D8,13},{0x0007, 3},{0x0006, 3},{0x0009, 4}, - {0x0008, 4},{0x0000, 3},{0x0005, 4},{0x0017, 5}, - {0x000E, 5},{0x0002, 4},{0x0003, 4},{0x000F, 5}, - {0x001A, 6},{0x004D, 8},{0x2DB3,14},{0x002C, 6}, - {0x0011, 6},{0x02DA,10},{0x05B7,11},{0x0098, 9}, - {0x0B6D,12},{0x2DB2,14},{0x0010, 6},{0x0027, 7} - }, - { - {0x000D, 4},{0x000F, 5},{0x001D, 6},{0x0008, 5}, - {0x0051, 7},{0x0056, 8},{0x00AF, 9},{0x002A, 7}, - {0x148A,13},{0x0007, 3},{0x0000, 2},{0x0008, 4}, - {0x0009, 4},{0x000C, 4},{0x0006, 4},{0x0017, 5}, - {0x000B, 5},{0x0016, 5},{0x0015, 5},{0x0009, 5}, - {0x0050, 7},{0x00AE, 9},{0x2917,14},{0x001C, 6}, - {0x0014, 6},{0x0290,10},{0x0523,11},{0x0149, 9}, - {0x0A44,12},{0x2916,14},{0x0053, 7},{0x00A5, 8} - }, - { - {0x0001, 4},{0x001D, 6},{0x00F5, 8},{0x00F4, 8}, - {0x024D,10},{0x0499,11},{0x0498,11},{0x0001, 5}, - {0x0021, 6},{0x0006, 3},{0x0005, 3},{0x0006, 4}, - {0x0005, 4},{0x0002, 4},{0x0007, 5},{0x0025, 6}, - {0x007B, 7},{0x001C, 6},{0x0020, 6},{0x000D, 6}, - {0x0048, 7},{0x0092, 8},{0x0127, 9},{0x000E, 4}, - {0x0004, 4},{0x0011, 5},{0x000C, 6},{0x003C, 6}, - {0x000F, 5},{0x0000, 5},{0x001F, 5},{0x0013, 5} - }, - { - {0x0005, 4},{0x003C, 6},{0x0040, 7},{0x000D, 7}, - {0x0031, 9},{0x0061,10},{0x0060,10},{0x0002, 5}, - {0x00F5, 8},{0x0006, 3},{0x0005, 3},{0x0007, 4}, - {0x0006, 4},{0x0002, 4},{0x0009, 5},{0x0025, 6}, - {0x0007, 6},{0x0021, 6},{0x0024, 6},{0x0010, 6}, - {0x0041, 7},{0x00F4, 8},{0x0019, 8},{0x000E, 4}, - {0x0003, 4},{0x0011, 5},{0x0011, 6},{0x003F, 6}, - {0x003E, 6},{0x007B, 7},{0x0000, 4},{0x0013, 5} - }, - { - {0x000A, 4},{0x0007, 5},{0x0001, 6},{0x0009, 6}, - {0x0131, 9},{0x0261,10},{0x0260,10},{0x0015, 6}, - {0x0001, 7},{0x0007, 3},{0x0006, 3},{0x0008, 4}, - {0x0007, 4},{0x0006, 4},{0x0012, 5},{0x002F, 6}, - {0x0014, 6},{0x0027, 6},{0x002D, 6},{0x0016, 6}, - {0x004D, 7},{0x0099, 8},{0x0000, 7},{0x0004, 4}, - {0x0001, 4},{0x0005, 5},{0x0017, 6},{0x002E, 6}, - {0x002C, 6},{0x0008, 6},{0x0006, 5},{0x0001, 5} - }, - { - {0x0000, 3},{0x000E, 5},{0x0017, 6},{0x002A, 6}, - {0x0010, 7},{0x00F9,10},{0x00F8,10},{0x001E, 7}, - {0x003F, 8},{0x0007, 3},{0x0006, 3},{0x0009, 4}, - {0x0008, 4},{0x0006, 4},{0x000F, 5},{0x0005, 5}, - {0x0016, 6},{0x0029, 6},{0x002B, 6},{0x0015, 6}, - {0x0050, 7},{0x0011, 7},{0x007D, 9},{0x0004, 4}, - {0x0017, 5},{0x0006, 5},{0x0014, 6},{0x002C, 6}, - {0x002D, 6},{0x000E, 6},{0x0009, 6},{0x0051, 7} - }, - { - {0x0002, 3},{0x0018, 5},{0x002F, 6},{0x000D, 5}, - {0x0053, 7},{0x0295,10},{0x0294,10},{0x00A4, 8}, - {0x007C, 8},{0x0000, 2},{0x0007, 3},{0x0009, 4}, - {0x0008, 4},{0x001B, 5},{0x000C, 5},{0x0028, 6}, - {0x006A, 7},{0x001E, 6},{0x001D, 6},{0x0069, 7}, - {0x00D7, 8},{0x007D, 8},{0x014B, 9},{0x0019, 5}, - {0x0016, 5},{0x002E, 6},{0x001C, 6},{0x002B, 6}, - {0x002A, 6},{0x0068, 7},{0x003F, 7},{0x00D6, 8} - }, - { - {0x0002, 3},{0x001B, 5},{0x000C, 5},{0x0018, 5}, - {0x0029, 6},{0x007F, 8},{0x02F0,10},{0x0198, 9}, - {0x0179, 9},{0x0000, 2},{0x0007, 3},{0x0009, 4}, - {0x0008, 4},{0x001A, 5},{0x000D, 5},{0x002A, 6}, - {0x0064, 7},{0x001E, 6},{0x0067, 7},{0x005F, 7}, - {0x00CD, 8},{0x007E, 8},{0x02F1,10},{0x0016, 5}, - {0x000E, 5},{0x002E, 6},{0x0065, 7},{0x002B, 6}, - {0x0028, 6},{0x003E, 7},{0x00BD, 8},{0x0199, 9} - }, - { - {0x0002, 3},{0x0007, 4},{0x0016, 5},{0x0006, 4}, - {0x0036, 6},{0x005C, 7},{0x015D, 9},{0x015C, 9}, - {0x02BF,10},{0x0000, 2},{0x0007, 3},{0x0009, 4}, - {0x0008, 4},{0x0018, 5},{0x0034, 6},{0x002A, 6}, - {0x005E, 7},{0x006A, 7},{0x0064, 7},{0x005D, 7}, - {0x00CB, 8},{0x00AD, 8},{0x02BE,10},{0x0014, 5}, - {0x0033, 6},{0x006E, 7},{0x005F, 7},{0x006F, 7}, - {0x006B, 7},{0x00CA, 8},{0x00AC, 8},{0x015E, 9} - }, - { - {0x000F, 4},{0x001D, 5},{0x0018, 5},{0x000B, 4}, - {0x0019, 5},{0x0029, 6},{0x00D6, 8},{0x0551,11}, - {0x0AA1,12},{0x0001, 2},{0x0000, 2},{0x0009, 4}, - {0x0008, 4},{0x001B, 5},{0x0038, 6},{0x0028, 6}, - {0x0057, 7},{0x006A, 7},{0x0068, 7},{0x0056, 7}, - {0x00E5, 8},{0x0155, 9},{0x0AA0,12},{0x0073, 7}, - {0x0069, 7},{0x00D7, 8},{0x00AB, 8},{0x00E4, 8}, - {0x00A9, 8},{0x0151, 9},{0x0150, 9},{0x02A9,10} - }, - { - {0x0008, 5},{0x0025, 7},{0x017A, 9},{0x02F7,10}, - {0x0BDB,12},{0x17B4,13},{0x2F6B,14},{0x001D, 5}, - {0x2F6A,14},{0x0008, 4},{0x0007, 4},{0x0001, 4}, - {0x0002, 4},{0x000A, 4},{0x0006, 4},{0x0000, 4}, - {0x001C, 5},{0x0009, 4},{0x000D, 4},{0x000F, 4}, - {0x000C, 4},{0x0003, 4},{0x000A, 5},{0x0016, 5}, - {0x0013, 6},{0x005D, 7},{0x0024, 7},{0x00BC, 8}, - {0x005C, 7},{0x05EC,11},{0x000B, 5},{0x005F, 7} - }, - { - {0x000F, 5},{0x0010, 6},{0x004B, 8},{0x00C6, 8}, - {0x031D,10},{0x0C71,12},{0x0C70,12},{0x0001, 4}, - {0x0C73,12},{0x0008, 4},{0x0009, 4},{0x0002, 4}, - {0x0003, 4},{0x000B, 4},{0x0006, 4},{0x0000, 4}, - {0x001C, 5},{0x0005, 4},{0x000D, 4},{0x000F, 4}, - {0x000A, 4},{0x0019, 5},{0x0013, 6},{0x001D, 5}, - {0x0030, 6},{0x0062, 7},{0x0024, 7},{0x004A, 8}, - {0x018F, 9},{0x0C72,12},{0x000E, 5},{0x0011, 6} - }, - { - {0x001B, 5},{0x0003, 6},{0x008D, 8},{0x0040, 7}, - {0x0239,10},{0x0471,11},{0x08E0,12},{0x0003, 4}, - {0x11C3,13},{0x000A, 4},{0x0009, 4},{0x0004, 4}, - {0x0005, 4},{0x000E, 4},{0x0007, 4},{0x0001, 4}, - {0x001E, 5},{0x0006, 4},{0x000C, 4},{0x000B, 4}, - {0x0002, 4},{0x0000, 5},{0x0041, 7},{0x001F, 5}, - {0x0022, 6},{0x0002, 6},{0x008F, 8},{0x008C, 8}, - {0x011D, 9},{0x11C2,13},{0x001A, 5},{0x0021, 6} - }, - { - {0x001F, 5},{0x0003, 6},{0x0003, 7},{0x0043, 7}, - {0x000B, 9},{0x0015,10},{0x0051,12},{0x0003, 4}, - {0x0050,12},{0x000D, 4},{0x000C, 4},{0x0004, 4}, - {0x0006, 4},{0x000E, 4},{0x000A, 4},{0x0001, 4}, - {0x001E, 5},{0x0005, 4},{0x0009, 4},{0x0007, 4}, - {0x0011, 5},{0x0002, 6},{0x0004, 8},{0x0002, 4}, - {0x002D, 6},{0x0020, 6},{0x0042, 7},{0x0001, 7}, - {0x0000, 7},{0x0029,11},{0x0017, 5},{0x002C, 6} - }, - { - {0x0003, 4},{0x001F, 6},{0x003A, 7},{0x005D, 7}, - {0x0173, 9},{0x02E4,10},{0x172D,13},{0x0004, 4}, - {0x172C,13},{0x000F, 4},{0x000E, 4},{0x0009, 4}, - {0x0008, 4},{0x000C, 4},{0x000A, 4},{0x0001, 4}, - {0x0016, 5},{0x0002, 4},{0x0005, 4},{0x001A, 5}, - {0x002F, 6},{0x0038, 7},{0x05CA,11},{0x0006, 4}, - {0x0037, 6},{0x001E, 6},{0x003B, 7},{0x0039, 7}, - {0x00B8, 8},{0x0B97,12},{0x0000, 4},{0x0036, 6} - }, - { - {0x0006, 4},{0x0037, 6},{0x005D, 7},{0x000C, 6}, - {0x00B9, 8},{0x02E3,10},{0x05C4,11},{0x0004, 4}, - {0x1715,13},{0x0000, 3},{0x000F, 4},{0x0008, 4}, - {0x0007, 4},{0x000C, 4},{0x0009, 4},{0x001D, 5}, - {0x0016, 5},{0x001C, 5},{0x001A, 5},{0x000B, 5}, - {0x005E, 7},{0x0170, 9},{0x1714,13},{0x000A, 4}, - {0x000A, 5},{0x0036, 6},{0x005F, 7},{0x001B, 7}, - {0x001A, 7},{0x0B8B,12},{0x0002, 4},{0x0007, 5} - }, - { - {0x000C, 4},{0x000B, 5},{0x0079, 7},{0x0022, 6}, - {0x00F0, 8},{0x0119, 9},{0x0230,10},{0x001D, 5}, - {0x08C4,12},{0x0001, 3},{0x0000, 3},{0x000A, 4}, - {0x0009, 4},{0x000B, 4},{0x0007, 4},{0x001C, 5}, - {0x003D, 6},{0x000D, 5},{0x0008, 5},{0x0015, 6}, - {0x008D, 8},{0x118B,13},{0x118A,13},{0x000D, 4}, - {0x0010, 5},{0x0009, 5},{0x0014, 6},{0x0047, 7}, - {0x00F1, 8},{0x0463,11},{0x001F, 5},{0x000C, 5} - }, - { - {0x0000, 3},{0x001A, 5},{0x0033, 6},{0x000C, 5}, - {0x0046, 7},{0x01E3, 9},{0x03C5,10},{0x0017, 5}, - {0x1E21,13},{0x0002, 3},{0x0001, 3},{0x0009, 4}, - {0x000A, 4},{0x0007, 4},{0x001B, 5},{0x003D, 6}, - {0x001B, 6},{0x0022, 6},{0x0079, 7},{0x00F0, 8}, - {0x1E20,13},{0x1E23,13},{0x1E22,13},{0x000E, 4}, - {0x0016, 5},{0x0018, 5},{0x0032, 6},{0x001A, 6}, - {0x0047, 7},{0x0789,11},{0x001F, 5},{0x0010, 5} - }, - { - {0x001D, 5},{0x0061, 7},{0x004E, 8},{0x009E, 9}, - {0x027C,11},{0x09F5,13},{0x09F4,13},{0x0003, 4}, - {0x0060, 7},{0x0000, 3},{0x000F, 4},{0x000B, 4}, - {0x000A, 4},{0x0009, 4},{0x0005, 4},{0x000D, 5}, - {0x0031, 6},{0x0008, 5},{0x0038, 6},{0x0012, 6}, - {0x0026, 7},{0x013F,10},{0x04FB,12},{0x000D, 4}, - {0x0002, 4},{0x000C, 5},{0x0039, 6},{0x001C, 6}, - {0x000F, 5},{0x001D, 6},{0x0008, 4},{0x0019, 5} - }, - { - {0x0007, 4},{0x0019, 6},{0x00AB, 8},{0x00AA, 8}, - {0x0119,10},{0x0461,12},{0x0460,12},{0x001B, 5}, - {0x0047, 8},{0x0001, 3},{0x0000, 3},{0x000C, 4}, - {0x000B, 4},{0x0009, 4},{0x0005, 4},{0x000D, 5}, - {0x0035, 6},{0x003D, 6},{0x003C, 6},{0x0018, 6}, - {0x0022, 7},{0x008D, 9},{0x0231,11},{0x000E, 4}, - {0x001F, 5},{0x0009, 5},{0x002B, 6},{0x0010, 6}, - {0x0034, 6},{0x0054, 7},{0x0008, 4},{0x0014, 5} - }, - { - {0x000C, 4},{0x0005, 5},{0x0008, 6},{0x005B, 7}, - {0x004D, 9},{0x0131,11},{0x0261,12},{0x001A, 5}, - {0x0012, 7},{0x0000, 3},{0x000F, 4},{0x000A, 4}, - {0x0009, 4},{0x0006, 4},{0x001B, 5},{0x0006, 5}, - {0x001C, 6},{0x002C, 6},{0x0015, 6},{0x005A, 7}, - {0x0027, 8},{0x0099,10},{0x0260,12},{0x000E, 4}, - {0x0004, 4},{0x000F, 5},{0x0007, 5},{0x001D, 6}, - {0x000B, 5},{0x0014, 6},{0x0008, 4},{0x0017, 5} - }, - { - {0x000F, 4},{0x0013, 5},{0x0075, 7},{0x0024, 6}, - {0x0095, 8},{0x0251,10},{0x04A0,11},{0x0010, 5}, - {0x00C8, 8},{0x0002, 3},{0x0001, 3},{0x0001, 4}, - {0x0000, 4},{0x001A, 5},{0x0011, 5},{0x002C, 6}, - {0x0065, 7},{0x0074, 7},{0x004B, 7},{0x00C9, 8}, - {0x0129, 9},{0x0943,12},{0x0942,12},{0x0003, 3}, - {0x000A, 4},{0x001C, 5},{0x0018, 5},{0x0033, 6}, - {0x0017, 5},{0x002D, 6},{0x001B, 5},{0x003B, 6} - }, - { - {0x0003, 3},{0x001A, 5},{0x002D, 6},{0x0038, 6}, - {0x0028, 7},{0x0395,10},{0x0E51,12},{0x0037, 6}, - {0x00E4, 8},{0x0001, 3},{0x0000, 3},{0x001F, 5}, - {0x001E, 5},{0x0017, 5},{0x003A, 6},{0x0073, 7}, - {0x002A, 7},{0x002B, 7},{0x0029, 7},{0x01CB, 9}, - {0x0729,11},{0x1CA1,13},{0x1CA0,13},{0x0004, 3}, - {0x000A, 4},{0x0004, 4},{0x0018, 5},{0x0036, 6}, - {0x000B, 5},{0x002C, 6},{0x0019, 5},{0x003B, 6} - }, - { - {0x0004, 3},{0x0004, 4},{0x003F, 6},{0x0017, 5}, - {0x0075, 7},{0x01F5, 9},{0x07D1,11},{0x0017, 6}, - {0x01F6, 9},{0x0001, 3},{0x0000, 3},{0x001B, 5}, - {0x001A, 5},{0x000A, 5},{0x0032, 6},{0x0074, 7}, - {0x00F8, 8},{0x00F9, 8},{0x01F7, 9},{0x03E9,10}, - {0x0FA0,12},{0x1F43,13},{0x1F42,13},{0x0003, 3}, - {0x000A, 4},{0x001E, 5},{0x001C, 5},{0x003B, 6}, - {0x0018, 5},{0x0016, 6},{0x0016, 5},{0x0033, 6} - }, - { - {0x0004, 3},{0x0007, 4},{0x0018, 5},{0x001E, 5}, - {0x0036, 6},{0x0031, 7},{0x0177, 9},{0x0077, 7}, - {0x0176, 9},{0x0001, 3},{0x0000, 3},{0x001A, 5}, - {0x0019, 5},{0x003A, 6},{0x0019, 6},{0x005C, 7}, - {0x00BA, 8},{0x0061, 8},{0x00C1, 9},{0x0180,10}, - {0x0302,11},{0x0607,12},{0x0606,12},{0x0002, 3}, - {0x000A, 4},{0x001F, 5},{0x001C, 5},{0x0037, 6}, - {0x0016, 5},{0x0076, 7},{0x000D, 5},{0x002F, 6} - }, - { - {0x0000, 3},{0x000A, 4},{0x001A, 5},{0x000C, 4}, - {0x001D, 5},{0x0039, 6},{0x0078, 7},{0x005E, 7}, - {0x0393,11},{0x0002, 3},{0x0001, 3},{0x0016, 5}, - {0x000F, 5},{0x002E, 6},{0x005F, 7},{0x0073, 8}, - {0x00E5, 9},{0x01C8,10},{0x0E4A,13},{0x1C97,14}, - {0x1C96,14},{0x0E49,13},{0x0E48,13},{0x0004, 3}, - {0x0006, 4},{0x001F, 5},{0x001B, 5},{0x001D, 6}, - {0x0038, 6},{0x0038, 7},{0x003D, 6},{0x0079, 7} - }, - { - {0x000B, 5},{0x002B, 7},{0x0054, 8},{0x01B7, 9}, - {0x06D9,11},{0x0DB1,12},{0x0DB0,12},{0x0002, 4}, - {0x00AB, 9},{0x0009, 4},{0x000A, 4},{0x0007, 4}, - {0x0008, 4},{0x000F, 4},{0x000C, 4},{0x0003, 4}, - {0x001D, 5},{0x0004, 4},{0x000B, 4},{0x0006, 4}, - {0x001A, 5},{0x0003, 6},{0x00AA, 9},{0x0001, 4}, - {0x0000, 5},{0x0014, 6},{0x006C, 7},{0x00DA, 8}, - {0x0002, 6},{0x036D,10},{0x001C, 5},{0x0037, 6} - }, - { - {0x001D, 5},{0x0004, 6},{0x00B6, 8},{0x006A, 8}, - {0x05B9,11},{0x16E1,13},{0x16E0,13},{0x0007, 4}, - {0x016F, 9},{0x000C, 4},{0x000D, 4},{0x0009, 4}, - {0x0008, 4},{0x000F, 4},{0x000A, 4},{0x0003, 4}, - {0x0017, 5},{0x0002, 4},{0x0004, 4},{0x001C, 5}, - {0x002C, 6},{0x006B, 8},{0x0B71,12},{0x0005, 4}, - {0x0003, 5},{0x001B, 6},{0x005A, 7},{0x0034, 7}, - {0x0005, 6},{0x02DD,10},{0x0000, 4},{0x000C, 5} - }, - { - {0x0003, 4},{0x007F, 7},{0x00A1, 8},{0x00A0, 8}, - {0x020C,10},{0x0834,12},{0x106B,13},{0x0007, 4}, - {0x0082, 8},{0x000E, 4},{0x000D, 4},{0x000B, 4}, - {0x000C, 4},{0x0000, 3},{0x0009, 4},{0x0002, 4}, - {0x0011, 5},{0x001E, 5},{0x0015, 5},{0x003E, 6}, - {0x0040, 7},{0x041B,11},{0x106A,13},{0x0006, 4}, - {0x000A, 5},{0x0029, 6},{0x007E, 7},{0x0051, 7}, - {0x0021, 6},{0x0107, 9},{0x0004, 4},{0x000B, 5} - }, - { - {0x0007, 4},{0x001B, 6},{0x00F6, 8},{0x00E9, 8}, - {0x03A1,10},{0x0740,11},{0x0E82,12},{0x001F, 5}, - {0x01EF, 9},{0x0001, 3},{0x0002, 3},{0x000B, 4}, - {0x000C, 4},{0x000D, 4},{0x0008, 4},{0x001C, 5}, - {0x0003, 5},{0x0012, 5},{0x0002, 5},{0x0075, 7}, - {0x01D1, 9},{0x1D07,13},{0x1D06,13},{0x000A, 4}, - {0x0013, 5},{0x003B, 6},{0x001A, 6},{0x007A, 7}, - {0x003C, 6},{0x01EE, 9},{0x0000, 4},{0x000C, 5} - }, - { - {0x000D, 4},{0x003D, 6},{0x0042, 7},{0x0037, 7}, - {0x00D9, 9},{0x0362,11},{0x06C6,12},{0x001F, 5}, - {0x0086, 8},{0x0001, 3},{0x0002, 3},{0x000C, 4}, - {0x000B, 4},{0x000A, 4},{0x0001, 4},{0x000F, 5}, - {0x0025, 6},{0x003C, 6},{0x001A, 6},{0x0087, 8}, - {0x01B0,10},{0x0D8F,13},{0x0D8E,13},{0x000E, 4}, - {0x0013, 5},{0x000C, 5},{0x0024, 6},{0x0020, 6}, - {0x0011, 5},{0x006D, 8},{0x0000, 4},{0x000E, 5} - }, - { - {0x0000, 3},{0x0012, 5},{0x0076, 7},{0x0077, 7}, - {0x014D, 9},{0x0533,11},{0x14C9,13},{0x0013, 5}, - {0x00A5, 8},{0x0002, 3},{0x0003, 3},{0x000B, 4}, - {0x000C, 4},{0x0008, 4},{0x001A, 5},{0x002B, 6}, - {0x0075, 7},{0x0074, 7},{0x00A7, 8},{0x0298,10}, - {0x14C8,13},{0x14CB,13},{0x14CA,13},{0x000F, 4}, - {0x001C, 5},{0x0007, 5},{0x002A, 6},{0x0028, 6}, - {0x001B, 5},{0x00A4, 8},{0x0002, 4},{0x0006, 5} - }, - { - {0x0002, 3},{0x001A, 5},{0x002B, 6},{0x003A, 6}, - {0x00ED, 8},{0x0283,10},{0x0A0A,12},{0x0004, 5}, - {0x00A1, 8},{0x0004, 3},{0x0003, 3},{0x000B, 4}, - {0x000C, 4},{0x001F, 5},{0x0006, 5},{0x0077, 7}, - {0x00A3, 8},{0x00A2, 8},{0x0140, 9},{0x1417,13}, - {0x1416,13},{0x0A09,12},{0x0A08,12},{0x0000, 3}, - {0x001E, 5},{0x0007, 5},{0x002A, 6},{0x0029, 6}, - {0x001C, 5},{0x00EC, 8},{0x001B, 5},{0x0005, 5} - }, - { - {0x0002, 3},{0x0002, 4},{0x0018, 5},{0x001D, 5}, - {0x0035, 6},{0x00E4, 8},{0x01CF,11},{0x001D, 7}, - {0x0072, 9},{0x0004, 3},{0x0005, 3},{0x0006, 4}, - {0x0007, 4},{0x0006, 5},{0x0073, 7},{0x0038, 8}, - {0x01CE,11},{0x039B,12},{0x0398,12},{0x0733,13}, - {0x0732,13},{0x0735,13},{0x0734,13},{0x0000, 3}, - {0x001F, 5},{0x001B, 5},{0x0034, 6},{0x000F, 6}, - {0x001E, 5},{0x00E5, 8},{0x0019, 5},{0x0038, 6} - }, - { - {0x0016, 5},{0x0050, 7},{0x0172, 9},{0x02E7,10}, - {0x1732,13},{0x2E67,14},{0x2E66,14},{0x0006, 4}, - {0x0051, 7},{0x0001, 3},{0x0000, 3},{0x000D, 4}, - {0x000C, 4},{0x0009, 4},{0x001C, 5},{0x0009, 5}, - {0x001C, 6},{0x001D, 6},{0x005D, 7},{0x00B8, 8}, - {0x05CD,11},{0x1731,13},{0x1730,13},{0x000F, 4}, - {0x0005, 4},{0x000F, 5},{0x0008, 5},{0x0029, 6}, - {0x001D, 5},{0x002F, 6},{0x0008, 4},{0x0015, 5} - }, - { - {0x0009, 4},{0x0021, 6},{0x0040, 7},{0x00AD, 8}, - {0x02B0,10},{0x1589,13},{0x1588,13},{0x001C, 5}, - {0x005F, 7},{0x0000, 3},{0x000F, 4},{0x000D, 4}, - {0x000C, 4},{0x0006, 4},{0x0011, 5},{0x002A, 6}, - {0x0057, 7},{0x005E, 7},{0x0041, 7},{0x0159, 9}, - {0x0563,11},{0x158B,13},{0x158A,13},{0x0001, 3}, - {0x0005, 4},{0x0014, 5},{0x003B, 6},{0x002E, 6}, - {0x0004, 4},{0x003A, 6},{0x0007, 4},{0x0016, 5} - }, - { - {0x000E, 4},{0x0007, 5},{0x0046, 7},{0x0045, 7}, - {0x0064, 9},{0x032A,12},{0x0657,13},{0x0018, 5}, - {0x000D, 6},{0x0000, 3},{0x000F, 4},{0x000A, 4}, - {0x000B, 4},{0x001A, 5},{0x0036, 6},{0x0047, 7}, - {0x0044, 7},{0x0018, 7},{0x0033, 8},{0x00CB,10}, - {0x0656,13},{0x0329,12},{0x0328,12},{0x0002, 3}, - {0x0006, 4},{0x0019, 5},{0x000E, 5},{0x0037, 6}, - {0x0009, 4},{0x000F, 5},{0x0002, 4},{0x0010, 5} - }, - { - {0x0003, 3},{0x0018, 5},{0x0023, 6},{0x0077, 7}, - {0x0194, 9},{0x1956,13},{0x32AF,14},{0x003A, 6}, - {0x0076, 7},{0x0002, 3},{0x0001, 3},{0x001F, 5}, - {0x001E, 5},{0x0014, 5},{0x0022, 6},{0x0064, 7}, - {0x0197, 9},{0x0196, 9},{0x032B,10},{0x0654,11}, - {0x32AE,14},{0x1955,13},{0x1954,13},{0x0000, 3}, - {0x0009, 4},{0x001C, 5},{0x0015, 5},{0x0010, 5}, - {0x000D, 4},{0x0017, 5},{0x0016, 5},{0x0033, 6} - }, - { - {0x0005, 3},{0x0006, 4},{0x003E, 6},{0x0010, 5}, - {0x0048, 7},{0x093F,12},{0x24FA,14},{0x0032, 6}, - {0x0067, 7},{0x0002, 3},{0x0001, 3},{0x001B, 5}, - {0x001E, 5},{0x0034, 6},{0x0066, 7},{0x0092, 8}, - {0x0126, 9},{0x024E,10},{0x049E,11},{0x49F7,15}, - {0x49F6,15},{0x24F9,14},{0x24F8,14},{0x0000, 3}, - {0x0007, 4},{0x0018, 5},{0x0011, 5},{0x003F, 6}, - {0x000E, 4},{0x0013, 5},{0x0035, 6},{0x0025, 6} - }, - { - {0x0005, 3},{0x0008, 4},{0x0012, 5},{0x001C, 5}, - {0x001C, 6},{0x00EA, 9},{0x1D75,14},{0x001E, 6}, - {0x0066, 7},{0x0001, 3},{0x0002, 3},{0x001B, 5}, - {0x001A, 5},{0x001F, 6},{0x003B, 7},{0x0074, 8}, - {0x01D6,10},{0x03AF,11},{0x1D74,14},{0x1D77,14}, - {0x1D76,14},{0x0EB9,13},{0x0EB8,13},{0x000F, 4}, - {0x0006, 4},{0x0013, 5},{0x003B, 6},{0x003A, 6}, - {0x0000, 3},{0x0018, 5},{0x0032, 6},{0x0067, 7} - }, - { - {0x0004, 3},{0x000A, 4},{0x001B, 5},{0x000C, 4}, - {0x000D, 5},{0x00E6, 8},{0x0684,11},{0x0072, 7}, - {0x00E7, 8},{0x0002, 3},{0x0001, 3},{0x0017, 5}, - {0x0016, 5},{0x0018, 6},{0x00D1, 8},{0x01A0, 9}, - {0x0686,11},{0x0D0F,12},{0x0D0A,12},{0x1A17,13}, - {0x1A16,13},{0x1A1D,13},{0x1A1C,13},{0x000F, 4}, - {0x001D, 5},{0x000E, 5},{0x0035, 6},{0x0038, 6}, - {0x0000, 3},{0x000F, 5},{0x0019, 6},{0x0069, 7} - }, - { - {0x0003, 3},{0x000C, 4},{0x001B, 5},{0x0000, 3}, - {0x0003, 4},{0x002E, 6},{0x0051, 9},{0x00BC, 8}, - {0x0053, 9},{0x0004, 3},{0x0002, 3},{0x0016, 5}, - {0x0015, 5},{0x0015, 7},{0x0050, 9},{0x00A4,10}, - {0x0294,12},{0x052B,13},{0x052A,13},{0x052D,13}, - {0x052C,13},{0x052F,13},{0x052E,13},{0x000E, 4}, - {0x001A, 5},{0x0004, 5},{0x0028, 6},{0x0029, 6}, - {0x000F, 4},{0x000B, 6},{0x005F, 7},{0x00BD, 8} - }, - { - {0x0003, 4},{0x0009, 6},{0x00D0, 8},{0x01A3, 9}, - {0x0344,10},{0x0D14,12},{0x1A2B,13},{0x0004, 4}, - {0x0015, 7},{0x0000, 3},{0x000F, 4},{0x000B, 4}, - {0x000C, 4},{0x000E, 4},{0x0009, 4},{0x001B, 5}, - {0x000A, 5},{0x0014, 5},{0x000D, 5},{0x002A, 6}, - {0x0014, 7},{0x068B,11},{0x1A2A,13},{0x0008, 4}, - {0x000B, 5},{0x002B, 6},{0x000B, 6},{0x0069, 7}, - {0x0035, 6},{0x0008, 6},{0x0007, 4},{0x000C, 5} - }, - { - {0x000A, 4},{0x003C, 6},{0x0032, 7},{0x0030, 7}, - {0x00C5, 9},{0x0621,12},{0x0620,12},{0x001F, 5}, - {0x0033, 7},{0x0001, 3},{0x0000, 3},{0x000E, 4}, - {0x000D, 4},{0x000C, 4},{0x0004, 4},{0x000D, 5}, - {0x0026, 6},{0x0027, 6},{0x0014, 6},{0x0063, 8}, - {0x0189,10},{0x0623,12},{0x0622,12},{0x000B, 4}, - {0x0012, 5},{0x003D, 6},{0x0022, 6},{0x0015, 6}, - {0x000B, 5},{0x0023, 6},{0x0007, 4},{0x0010, 5} - }, - { - {0x000F, 4},{0x000C, 5},{0x0043, 7},{0x0010, 6}, - {0x0044, 8},{0x0114,10},{0x0455,12},{0x0018, 5}, - {0x0023, 7},{0x0001, 3},{0x0000, 3},{0x000E, 4}, - {0x000D, 4},{0x0009, 4},{0x0019, 5},{0x0009, 5}, - {0x0017, 6},{0x0016, 6},{0x0042, 7},{0x008B, 9}, - {0x0454,12},{0x0457,12},{0x0456,12},{0x000B, 4}, - {0x0015, 5},{0x000A, 5},{0x0029, 6},{0x0020, 6}, - {0x000D, 5},{0x0028, 6},{0x0007, 4},{0x0011, 5} - }, - { - {0x0001, 3},{0x001A, 5},{0x0029, 6},{0x002A, 6}, - {0x00A0, 8},{0x0285,10},{0x1425,13},{0x0002, 5}, - {0x0000, 7},{0x0002, 3},{0x0003, 3},{0x000C, 4}, - {0x000B, 4},{0x0008, 4},{0x0012, 5},{0x0001, 6}, - {0x0051, 7},{0x0001, 7},{0x0143, 9},{0x0508,11}, - {0x1424,13},{0x1427,13},{0x1426,13},{0x000F, 4}, - {0x001C, 5},{0x0003, 5},{0x0037, 6},{0x002B, 6}, - {0x0013, 5},{0x0036, 6},{0x001D, 5},{0x0001, 5} - }, - { - {0x0004, 3},{0x001F, 5},{0x003D, 6},{0x0006, 5}, - {0x0016, 7},{0x0053, 9},{0x014A,11},{0x0034, 6}, - {0x002A, 8},{0x0002, 3},{0x0003, 3},{0x000B, 4}, - {0x000C, 4},{0x001C, 5},{0x0037, 6},{0x0017, 7}, - {0x002B, 8},{0x0028, 8},{0x00A4,10},{0x052D,13}, - {0x052C,13},{0x052F,13},{0x052E,13},{0x0000, 3}, - {0x001D, 5},{0x0007, 5},{0x0004, 5},{0x0035, 6}, - {0x0014, 5},{0x0036, 6},{0x0015, 5},{0x003C, 6} - }, - { - {0x0004, 3},{0x000A, 4},{0x0007, 5},{0x001D, 5}, - {0x0009, 6},{0x01F3, 9},{0x07C7,11},{0x0008, 6}, - {0x01F0, 9},{0x0003, 3},{0x0002, 3},{0x000D, 4}, - {0x000C, 4},{0x0017, 5},{0x007D, 7},{0x01F2, 9}, - {0x07C6,11},{0x07C5,11},{0x1F12,13},{0x3E27,14}, - {0x3E26,14},{0x1F11,13},{0x1F10,13},{0x0000, 3}, - {0x001E, 5},{0x0006, 5},{0x0039, 6},{0x0038, 6}, - {0x003F, 6},{0x002C, 6},{0x0005, 5},{0x002D, 6} - }, - { - {0x0002, 3},{0x0007, 4},{0x0018, 5},{0x0003, 4}, - {0x0005, 5},{0x0035, 7},{0x004F, 9},{0x0012, 7}, - {0x04E5,13},{0x0005, 3},{0x0004, 3},{0x000D, 4}, - {0x000E, 4},{0x0033, 6},{0x0026, 8},{0x009D,10}, - {0x04E4,13},{0x04E7,13},{0x04E6,13},{0x04E1,13}, - {0x04E0,13},{0x04E3,13},{0x04E2,13},{0x0000, 3}, - {0x001F, 5},{0x000C, 5},{0x003D, 6},{0x003C, 6}, - {0x0032, 6},{0x0034, 7},{0x001B, 6},{0x0008, 6} - }, - { - {0x0000, 3},{0x0004, 4},{0x001C, 5},{0x000F, 4}, - {0x0002, 4},{0x0007, 5},{0x0075, 7},{0x00E8, 8}, - {0x1D2A,13},{0x0005, 3},{0x0004, 3},{0x000D, 4}, - {0x000C, 4},{0x0077, 7},{0x0E96,12},{0x3A57,14}, - {0x3A56,14},{0x3A5D,14},{0x3A5C,14},{0x3A5F,14}, - {0x3A5E,14},{0x1D29,13},{0x1D28,13},{0x0003, 3}, - {0x0006, 5},{0x000A, 5},{0x002C, 7},{0x0017, 6}, - {0x0076, 7},{0x01D3, 9},{0x03A4,10},{0x002D, 7} - }, - { - {0x000A, 4},{0x0024, 6},{0x00BF, 8},{0x0085, 8}, - {0x0211,10},{0x0842,12},{0x1087,13},{0x0018, 5}, - {0x0020, 6},{0x0001, 3},{0x0002, 3},{0x000E, 4}, - {0x000D, 4},{0x0007, 4},{0x0013, 5},{0x0025, 6}, - {0x005E, 7},{0x0043, 7},{0x00BE, 8},{0x0109, 9}, - {0x1086,13},{0x0841,12},{0x0840,12},{0x000F, 4}, - {0x0001, 4},{0x0011, 5},{0x0000, 5},{0x002E, 6}, - {0x0019, 5},{0x0001, 5},{0x0006, 4},{0x0016, 5} - }, - { - {0x0002, 3},{0x000F, 5},{0x006F, 7},{0x0061, 7}, - {0x0374,10},{0x1BA8,13},{0x3753,14},{0x0012, 5}, - {0x0036, 6},{0x0000, 3},{0x0001, 3},{0x000A, 4}, - {0x000B, 4},{0x001A, 5},{0x0031, 6},{0x0060, 7}, - {0x00DC, 8},{0x01BB, 9},{0x06EB,11},{0x1BAB,13}, - {0x3752,14},{0x3755,14},{0x3754,14},{0x000E, 4}, - {0x0006, 4},{0x0013, 5},{0x000E, 5},{0x003E, 6}, - {0x0008, 4},{0x001E, 5},{0x0019, 5},{0x003F, 6} - }, - { - {0x0003, 3},{0x001C, 5},{0x0025, 6},{0x0024, 6}, - {0x01DA, 9},{0x1DBD,13},{0x3B7C,14},{0x003C, 6}, - {0x003D, 6},{0x0000, 3},{0x0001, 3},{0x000B, 4}, - {0x000A, 4},{0x000B, 5},{0x0077, 7},{0x00EC, 8}, - {0x03B6,10},{0x076E,11},{0x1DBF,13},{0x76FB,15}, - {0x76FA,15},{0x3B79,14},{0x3B78,14},{0x000D, 4}, - {0x001F, 5},{0x0013, 5},{0x000A, 5},{0x0008, 5}, - {0x000C, 4},{0x0008, 4},{0x0009, 5},{0x003A, 6} - }, - { - {0x0005, 3},{0x0003, 4},{0x0004, 5},{0x0010, 5}, - {0x008F, 8},{0x0475,11},{0x11D1,13},{0x0079, 7}, - {0x0027, 6},{0x0002, 3},{0x0003, 3},{0x0001, 4}, - {0x0000, 4},{0x0026, 6},{0x0046, 7},{0x011C, 9}, - {0x0477,11},{0x08ED,12},{0x11D0,13},{0x11D3,13}, - {0x11D2,13},{0x11D9,13},{0x11D8,13},{0x000D, 4}, - {0x001F, 5},{0x0012, 5},{0x0005, 5},{0x003D, 6}, - {0x000C, 4},{0x000E, 4},{0x0022, 6},{0x0078, 7} - }, - { - {0x0005, 3},{0x000C, 4},{0x001B, 5},{0x0000, 4}, - {0x0006, 6},{0x03E2,10},{0x3E3D,14},{0x000F, 7}, - {0x0034, 6},{0x0003, 3},{0x0002, 3},{0x001E, 5}, - {0x001D, 5},{0x007D, 7},{0x01F0, 9},{0x07C6,11}, - {0x3E3C,14},{0x3E3F,14},{0x3E3E,14},{0x3E39,14}, - {0x3E38,14},{0x3E3B,14},{0x3E3A,14},{0x0008, 4}, - {0x001C, 5},{0x0002, 5},{0x003F, 6},{0x0035, 6}, - {0x0009, 4},{0x0001, 3},{0x000E, 7},{0x00F9, 8} - }, - { - {0x0004, 3},{0x000B, 4},{0x0001, 4},{0x000A, 4}, - {0x001E, 6},{0x00E0, 9},{0x0E1E,13},{0x0071, 8}, - {0x0039, 7},{0x0007, 3},{0x0006, 3},{0x000D, 5}, - {0x000C, 5},{0x0020, 7},{0x01C2,10},{0x1C3F,14}, - {0x1C3E,14},{0x0E19,13},{0x0E18,13},{0x0E1B,13}, - {0x0E1A,13},{0x0E1D,13},{0x0E1C,13},{0x0000, 4}, - {0x0009, 5},{0x001D, 6},{0x001F, 6},{0x0011, 6}, - {0x0005, 4},{0x0001, 3},{0x0043, 8},{0x0042, 8} - }, - { - {0x0004, 3},{0x000D, 4},{0x0007, 4},{0x0002, 3}, - {0x0014, 5},{0x016C, 9},{0x16D1,13},{0x02DF,10}, - {0x016E, 9},{0x0000, 2},{0x0007, 3},{0x002C, 6}, - {0x002B, 6},{0x02DE,10},{0x16D0,13},{0x16D3,13}, - {0x16D2,13},{0x2DB5,14},{0x2DB4,14},{0x2DB7,14}, - {0x2DB6,14},{0x16D9,13},{0x16D8,13},{0x000C, 5}, - {0x002A, 6},{0x005A, 7},{0x001B, 6},{0x001A, 6}, - {0x0017, 5},{0x000C, 4},{0x05B7,11},{0x05B5,11} - }, - { - {0x0002, 2},{0x000F, 4},{0x001C, 5},{0x000C, 4}, - {0x003B, 6},{0x01AC, 9},{0x1AD8,13},{0x35B3,14}, - {0x35B2,14},{0x0001, 2},{0x0000, 2},{0x0069, 7}, - {0x0068, 7},{0x35BD,14},{0x35BC,14},{0x35BF,14}, - {0x35BE,14},{0x35B9,14},{0x35B8,14},{0x35BB,14}, - {0x35BA,14},{0x35B5,14},{0x35B4,14},{0x01A9, 9}, - {0x01A8, 9},{0x035A,10},{0x00D7, 8},{0x00D5, 8}, - {0x003A, 6},{0x001B, 5},{0x35B7,14},{0x35B6,14} - }, - { - {0x0000, 3},{0x0010, 5},{0x0072, 7},{0x0071, 7}, - {0x0154, 9},{0x0AAB,12},{0x0AA8,12},{0x0014, 5}, - {0x0070, 7},{0x0002, 3},{0x0003, 3},{0x000C, 4}, - {0x000B, 4},{0x0003, 4},{0x0011, 5},{0x0073, 7}, - {0x0054, 7},{0x00AB, 8},{0x02AB,10},{0x1553,13}, - {0x1552,13},{0x1555,13},{0x1554,13},{0x000D, 4}, - {0x001E, 5},{0x0012, 5},{0x003E, 6},{0x002B, 6}, - {0x0002, 4},{0x003F, 6},{0x001D, 5},{0x0013, 5} - }, - { - {0x0003, 3},{0x001F, 5},{0x0029, 6},{0x003D, 6}, - {0x000C, 7},{0x0069,10},{0x0345,13},{0x0002, 5}, - {0x0028, 6},{0x0002, 3},{0x0001, 3},{0x000E, 4}, - {0x000C, 4},{0x0015, 5},{0x0007, 6},{0x001B, 8}, - {0x006B,10},{0x006A,10},{0x0344,13},{0x0347,13}, - {0x0346,13},{0x01A1,12},{0x01A0,12},{0x000B, 4}, - {0x001A, 5},{0x0012, 5},{0x0000, 5},{0x003C, 6}, - {0x0008, 4},{0x001B, 5},{0x0013, 5},{0x0001, 5} - }, - { - {0x0004, 3},{0x0004, 4},{0x003F, 6},{0x0014, 5}, - {0x0056, 7},{0x015C, 9},{0x15D5,13},{0x003C, 6}, - {0x002A, 6},{0x0000, 3},{0x0001, 3},{0x000E, 4}, - {0x000D, 4},{0x000C, 5},{0x00AF, 8},{0x02BB,10}, - {0x15D4,13},{0x15D7,13},{0x15D6,13},{0x15D1,13}, - {0x15D0,13},{0x15D3,13},{0x15D2,13},{0x000B, 4}, - {0x0019, 5},{0x000D, 5},{0x003E, 6},{0x0031, 6}, - {0x0007, 4},{0x0005, 4},{0x003D, 6},{0x0030, 6} - }, - { - {0x0005, 3},{0x0008, 4},{0x001A, 5},{0x0000, 4}, - {0x0036, 6},{0x0011, 8},{0x0106,12},{0x000A, 7}, - {0x006E, 7},{0x0002, 3},{0x0003, 3},{0x0003, 4}, - {0x0002, 4},{0x006F, 7},{0x0021, 9},{0x020F,13}, - {0x020E,13},{0x0101,12},{0x0100,12},{0x0103,12}, - {0x0102,12},{0x0105,12},{0x0104,12},{0x000C, 4}, - {0x001E, 5},{0x0003, 5},{0x003E, 6},{0x003F, 6}, - {0x0009, 4},{0x000E, 4},{0x000B, 7},{0x0009, 7} - }, - { - {0x0002, 3},{0x000E, 4},{0x001E, 5},{0x000C, 4}, - {0x001F, 5},{0x006E, 7},{0x00AD,10},{0x00AF,10}, - {0x0014, 7},{0x0004, 3},{0x0003, 3},{0x001A, 5}, - {0x0017, 5},{0x002A, 8},{0x0576,13},{0x0AEF,14}, - {0x0AEE,14},{0x0571,13},{0x0570,13},{0x0573,13}, - {0x0572,13},{0x0575,13},{0x0574,13},{0x0003, 4}, - {0x0016, 5},{0x0004, 5},{0x0036, 6},{0x000B, 6}, - {0x000A, 4},{0x0000, 3},{0x006F, 7},{0x00AC,10} - }, - { - {0x0004, 3},{0x0005, 4},{0x0003, 3},{0x0001, 3}, - {0x0004, 4},{0x002F, 6},{0x0526,11},{0x1495,13}, - {0x00A6, 8},{0x0007, 3},{0x0006, 3},{0x002D, 6}, - {0x002C, 6},{0x1494,13},{0x1497,13},{0x1496,13}, - {0x1491,13},{0x1490,13},{0x1493,13},{0x1492,13}, - {0x293D,14},{0x293C,14},{0x293F,14},{0x0000, 3}, - {0x0028, 6},{0x00A5, 8},{0x0148, 9},{0x00A7, 8}, - {0x002E, 6},{0x0015, 5},{0x0A4E,12},{0x293E,14} - }, - { - {0x0004, 3},{0x0005, 4},{0x0003, 3},{0x0001, 3}, - {0x0004, 4},{0x002F, 6},{0x0526,11},{0x1495,13}, - {0x00A6, 8},{0x0007, 3},{0x0006, 3},{0x002D, 6}, - {0x002C, 6},{0x1494,13},{0x1497,13},{0x1496,13}, - {0x1491,13},{0x1490,13},{0x1493,13},{0x1492,13}, - {0x293D,14},{0x293C,14},{0x293F,14},{0x0000, 3}, - {0x0028, 6},{0x00A5, 8},{0x0148, 9},{0x00A7, 8}, - {0x002E, 6},{0x0015, 5},{0x0A4E,12},{0x293E,14} - }, - { - {0x0004, 3},{0x0005, 4},{0x0003, 3},{0x0001, 3}, - {0x0004, 4},{0x002F, 6},{0x0526,11},{0x1495,13}, - {0x00A6, 8},{0x0007, 3},{0x0006, 3},{0x002D, 6}, - {0x002C, 6},{0x1494,13},{0x1497,13},{0x1496,13}, - {0x1491,13},{0x1490,13},{0x1493,13},{0x1492,13}, - {0x293D,14},{0x293C,14},{0x293F,14},{0x0000, 3}, - {0x0028, 6},{0x00A5, 8},{0x0148, 9},{0x00A7, 8}, - {0x002E, 6},{0x0015, 5},{0x0A4E,12},{0x293E,14} - }, - { - {0x0003, 3},{0x0011, 5},{0x0020, 6},{0x0074, 7}, - {0x010D, 9},{0x0863,12},{0x0860,12},{0x000A, 5}, - {0x0075, 7},{0x0001, 3},{0x0000, 3},{0x000B, 4}, - {0x000A, 4},{0x0018, 5},{0x0038, 6},{0x0042, 7}, - {0x010F, 9},{0x010E, 9},{0x0219,10},{0x10C3,13}, - {0x10C2,13},{0x10C5,13},{0x10C4,13},{0x000F, 4}, - {0x0004, 4},{0x0019, 5},{0x000B, 5},{0x0039, 6}, - {0x0009, 4},{0x001B, 5},{0x001A, 5},{0x003B, 6} - }, - { - {0x0005, 3},{0x0001, 4},{0x003E, 6},{0x0001, 5}, - {0x00E2, 8},{0x1C6F,13},{0x38D9,14},{0x0039, 6}, - {0x001F, 6},{0x0002, 3},{0x0001, 3},{0x0009, 4}, - {0x0008, 4},{0x0000, 5},{0x0070, 7},{0x01C7, 9}, - {0x038C,10},{0x071A,11},{0x38D8,14},{0x38DB,14}, - {0x38DA,14},{0x38DD,14},{0x38DC,14},{0x000D, 4}, - {0x001D, 5},{0x000E, 5},{0x003F, 6},{0x003C, 6}, - {0x000C, 4},{0x0006, 4},{0x003D, 6},{0x001E, 6} - }, - { - {0x0006, 3},{0x000B, 4},{0x0011, 5},{0x001E, 5}, - {0x0074, 7},{0x03AA,10},{0x1D5C,13},{0x0001, 6}, - {0x0021, 6},{0x0001, 3},{0x0002, 3},{0x0007, 4}, - {0x0006, 4},{0x003E, 6},{0x00EB, 8},{0x01D4, 9}, - {0x0EAF,12},{0x3ABB,14},{0x3ABA,14},{0x1D59,13}, - {0x1D58,13},{0x1D5B,13},{0x1D5A,13},{0x000A, 4}, - {0x001C, 5},{0x0001, 5},{0x003F, 6},{0x003B, 6}, - {0x0001, 4},{0x0009, 4},{0x0020, 6},{0x0000, 6} - }, - { - {0x0004, 3},{0x000A, 4},{0x0017, 5},{0x0004, 4}, - {0x0016, 6},{0x016A, 9},{0x16B1,13},{0x0017, 7}, - {0x005B, 7},{0x0006, 3},{0x0007, 3},{0x0001, 4}, - {0x0000, 4},{0x000A, 6},{0x02D7,10},{0x0B5A,12}, - {0x16B0,13},{0x16B3,13},{0x16B2,13},{0x2D6D,14}, - {0x2D6C,14},{0x2D6F,14},{0x2D6E,14},{0x0006, 4}, - {0x000A, 5},{0x0004, 5},{0x002C, 6},{0x0017, 6}, - {0x0003, 4},{0x0007, 4},{0x0016, 7},{0x00B4, 8} - }, - { - {0x0005, 3},{0x000D, 4},{0x0005, 4},{0x0009, 4}, - {0x0033, 6},{0x0193, 9},{0x192C,13},{0x0061, 8}, - {0x0031, 7},{0x0000, 2},{0x0007, 3},{0x0010, 5}, - {0x0011, 5},{0x00C8, 8},{0x192F,13},{0x325B,14}, - {0x325A,14},{0x1929,13},{0x1928,13},{0x192B,13}, - {0x192A,13},{0x325D,14},{0x325C,14},{0x0018, 5}, - {0x001A, 6},{0x001B, 6},{0x0065, 7},{0x0019, 6}, - {0x0004, 4},{0x0007, 4},{0x0060, 8},{0x0324,10} - }, - { - {0x0006, 3},{0x0000, 3},{0x0002, 4},{0x000F, 4}, - {0x0039, 6},{0x01D9, 9},{0x1D82,13},{0x0761,11}, - {0x03BE,10},{0x0001, 2},{0x0002, 2},{0x000F, 6}, - {0x000E, 6},{0x0762,11},{0x3B07,14},{0x3B06,14}, - {0x3B1D,14},{0x3B1C,14},{0x3B1F,14},{0x3B1E,14}, - {0x3B19,14},{0x3B18,14},{0x3B1B,14},{0x0038, 6}, - {0x01DE, 9},{0x00ED, 8},{0x03BF,10},{0x00EE, 8}, - {0x003A, 6},{0x0006, 5},{0x0EC0,12},{0x3B1A,14} - }, - { - {0x0000, 2},{0x0002, 3},{0x000F, 5},{0x0006, 4}, - {0x001C, 6},{0x01D0,10},{0x0E8C,13},{0x1D1B,14}, - {0x1D1A,14},{0x0003, 2},{0x0002, 2},{0x00EA, 9}, - {0x00E9, 9},{0x0E89,13},{0x0E88,13},{0x0E8B,13}, - {0x0E8A,13},{0x1D65,14},{0x1D64,14},{0x1D67,14}, - {0x1D66,14},{0x1D61,14},{0x1D60,14},{0x03AD,11}, - {0x1D63,14},{0x1D62,14},{0x1D1D,14},{0x1D1C,14}, - {0x003B, 7},{0x01D7,10},{0x1D1F,14},{0x1D1E,14} - }, - { - {0x0002, 2},{0x000F, 4},{0x001C, 5},{0x000C, 4}, - {0x003B, 6},{0x01AC, 9},{0x1AD8,13},{0x35B3,14}, - {0x35B2,14},{0x0001, 2},{0x0000, 2},{0x0069, 7}, - {0x0068, 7},{0x35BD,14},{0x35BC,14},{0x35BF,14}, - {0x35BE,14},{0x35B9,14},{0x35B8,14},{0x35BB,14}, - {0x35BA,14},{0x35B5,14},{0x35B4,14},{0x01A9, 9}, - {0x01A8, 9},{0x035A,10},{0x00D7, 8},{0x00D5, 8}, - {0x003A, 6},{0x001B, 5},{0x35B7,14},{0x35B6,14} - } -}; - - - -/*A description of a Huffman code value used when encoding the tree.*/ -typedef struct{ - /*The bit pattern, left-shifted so that the MSB of all patterns is - aligned.*/ - unsigned long pattern; - /*The amount the bit pattern was shifted.*/ - int shift; - /*The token this bit pattern represents.*/ - int token; -}th_huff_entry; - - - -/*Compares two th_huff_entry structures by their bit patterns. - _c1: The first entry to compare. - _c2: The second entry to compare. - Return: <0 if _c1<_c2, >0 if _c1>_c2.*/ -static int huff_entry_cmp(const void *_c1,const void *_c2){ - unsigned long b1; - unsigned long b2; - b1=((const th_huff_entry *)_c1)->pattern; - b2=((const th_huff_entry *)_c2)->pattern; - return b1b2?1:0; -} - -int th_huff_codes2latex(const theora_huff_code _codes[80][32]){ - int i; - printf("\\twocolumn\n"); - for(i=0;i<80;i++){ - th_huff_entry entries[32]; - int maxlen; - int mask; - int j; - /*First, find the maximum code length so we can align all the bit - patterns.*/ - maxlen=_codes[i][0].nbits; - for(j=1;j<32;j++)if(maxlen<_codes[i][j].nbits)maxlen=_codes[i][j].nbits; - mask=(1<entries[j].shift;){ - printf("%c",(int)(entries[j].pattern>>k&1)+'0'); - } - printf("}"); - for(;k>=0;k--)printf(" "); - printf(" & "); - if(entries[j].token<10)printf(" "); - printf("$%i$ \\\\\n",entries[j].token); - } - printf("\\bottomrule\n"); - printf("\\\\\n"); - printf("\\multicolumn{2}{c}{VP3.1 Huffman Table Number $%i$}\n",i); - printf("\\end{tabular}\n"); - printf("\\end{center}\n"); - printf("\\vfill\n"); - printf("\n"); - } - printf("\\onecolumn\n"); - return 0; -} - -int main(int _argc,char **_argv){ - th_huff_codes2latex(TH_VP31_HUFF_CODES); - return 0; -} diff --git a/Libraries/libtheora-1.1.1/doc/spec/xifish.fig b/Libraries/libtheora-1.1.1/doc/spec/xifish.fig deleted file mode 100644 index f044a2b5..00000000 --- a/Libraries/libtheora-1.1.1/doc/spec/xifish.fig +++ /dev/null @@ -1,85 +0,0 @@ -#FIG 3.2 -Landscape -Center -Inches -Letter -100.00 -Single --2 -1200 2 -0 32 #496d9e -0 33 #304d71 -0 34 #8eb2cf -1 4 0 6 0 7 1 0 20 0.000 1 0.0000 1470 3255 270 270 1200 3255 1740 3255 -1 3 0 0 0 0 0 0 20 0.000 1 0.0000 1485 3255 75 75 1485 3255 1560 3255 -2 1 0 7 0 3 8 0 20 0.000 0 0 -1 0 0 6 - 2445 4140 2505 4350 2385 4425 2145 4425 2025 4380 1890 4320 -2 1 0 7 0 3 8 0 20 0.000 0 0 -1 0 0 20 - 2445 3480 2775 3450 2955 3390 3090 3315 3285 3285 3555 3285 - 3615 3390 3540 3675 3465 3720 3315 3765 3105 3810 3330 3765 - 3420 3825 3540 3900 3480 4260 3330 4320 3165 4305 2910 4260 - 2715 4185 2520 4185 -2 1 0 7 0 3 11 0 20 0.000 0 0 -1 0 0 9 - 1575 3150 1755 2985 2040 2820 2355 2760 2670 2850 2850 2985 - 3165 3270 3435 3420 2835 3780 -2 1 0 7 0 6 6 0 20 0.000 0 0 -1 0 0 15 - 900 3570 1020 3450 1095 3360 1395 3150 1545 3090 1725 3075 - 2025 3090 2205 3150 2295 3225 2385 3300 2445 3375 2550 3465 - 2655 3540 2775 3600 2865 3600 -2 1 0 7 0 3 4 0 20 0.000 0 0 -1 0 0 7 - 1515 4080 1770 4080 1875 3945 1965 3870 2025 3780 1995 3780 - 1665 3780 -2 1 0 0 -1 6 7 0 20 0.000 0 0 -1 0 0 11 - 2865 3615 2850 3735 2775 3945 2685 4080 2595 4155 2010 4185 - 1185 4170 1035 3990 1035 3870 975 3540 1155 3435 -2 1 0 0 0 3 5 0 20 0.000 0 0 -1 0 0 7 - 1035 3885 1005 4020 1095 4065 1245 4065 1245 3870 1050 3870 - 1065 3870 -2 1 0 7 0 3 0 0 20 0.000 0 0 -1 0 0 11 - 1245 3915 1245 3840 1170 3750 1005 3585 930 3510 750 3510 - 630 3600 645 3690 765 3780 885 3825 1035 3975 -2 1 0 7 0 3 0 0 20 0.000 0 0 -1 0 0 8 - 1095 3990 945 3990 855 4050 795 4140 885 4200 1095 4200 - 1155 4140 1245 4050 -2 1 0 7 0 6 6 0 20 0.000 0 0 -1 0 0 8 - 2685 4185 2400 4185 2220 4215 1920 4305 1695 4335 1485 4320 - 1245 4215 1155 4125 -2 2 0 0 0 0 3 0 20 0.000 0 0 0 0 0 5 - 2250 3900 2250 3825 2175 3825 2175 3900 2250 3900 -2 2 0 0 0 0 3 0 20 0.000 0 0 0 0 0 5 - 2250 3750 2250 3675 2175 3675 2175 3750 2250 3750 -2 1 0 0 -1 3 5 0 20 0.000 0 0 -1 0 0 9 - 1650 3780 1590 3975 1485 4035 1530 4080 1770 4065 1845 3960 - 1920 3900 1965 3795 1695 3780 -2 2 0 0 0 0 3 0 20 0.000 0 0 0 0 0 5 - 1950 3450 1950 3375 1875 3375 1875 3450 1950 3450 -2 2 0 0 0 0 3 0 20 0.000 0 0 0 0 0 5 - 2400 3900 2400 3825 2325 3825 2325 3900 2400 3900 -2 2 0 0 0 0 3 0 20 0.000 0 0 0 0 0 5 - 2550 3975 2550 3900 2475 3900 2475 3975 2550 3975 -2 2 0 0 0 0 3 0 20 0.000 0 0 0 0 0 5 - 2700 3900 2700 3825 2625 3825 2625 3900 2700 3900 -2 2 0 0 0 0 3 0 20 0.000 0 0 0 0 0 5 - 2700 3750 2700 3675 2625 3675 2625 3750 2700 3750 -2 2 0 0 0 0 3 0 20 0.000 0 0 0 0 0 5 - 2550 3675 2550 3600 2475 3600 2475 3675 2550 3675 -2 2 0 0 0 0 3 0 20 0.000 0 0 0 0 0 5 - 2400 3750 2400 3675 2325 3675 2325 3750 2400 3750 -2 2 0 0 0 0 3 0 20 0.000 0 0 0 0 0 5 - 2400 3600 2400 3525 2325 3525 2325 3600 2400 3600 -2 2 0 0 0 0 3 0 20 0.000 0 0 0 0 0 5 - 2250 3600 2250 3525 2175 3525 2175 3600 2250 3600 -2 2 0 0 0 0 3 0 20 0.000 0 0 0 0 0 5 - 2250 3450 2250 3375 2175 3375 2175 3450 2250 3450 -2 2 0 0 0 0 3 0 20 0.000 0 0 0 0 0 5 - 2100 3525 2100 3450 2025 3450 2025 3525 2100 3525 -2 2 0 0 0 0 3 0 20 0.000 0 0 0 0 0 5 - 2100 3375 2100 3300 2025 3300 2025 3375 2100 3375 -2 2 0 0 0 0 3 0 20 0.000 0 0 0 0 0 5 - 2550 3825 2550 3750 2475 3750 2475 3825 2550 3825 -2 3 0 0 -1 32 13 0 20 0.000 0 0 7 0 0 5 - 2160 2055 3810 3705 2160 5355 510 3705 2160 2055 -2 1 0 0 32 34 12 0 20 0.000 0 0 -1 0 0 3 - 2160 2055 2160 3705 510 3705 -2 1 0 0 32 33 12 0 20 0.000 0 0 -1 0 0 3 - 3810 3705 2160 3705 2160 5355 diff --git a/Libraries/libtheora-1.1.1/doc/vp3-format.txt b/Libraries/libtheora-1.1.1/doc/vp3-format.txt deleted file mode 100644 index 990f417c..00000000 --- a/Libraries/libtheora-1.1.1/doc/vp3-format.txt +++ /dev/null @@ -1,1305 +0,0 @@ -VP3 Bitstream Format and Decoding Process -by Mike Melanson (mike at multimedia.cx) -v0.5: December 8, 2004 - - -[December 8, 2004: Note that this document is not complete and likely -will never be completed. However, it helped form the basis of Theora I -specification available at - http://www.theora.org/doc/Theora_I_spec.pdf ] - - -Contents --------- - * Introduction - * Underlying Coding Concepts - * VP3 Coding Overview - * VP3 Chunk Format - * Decoding The Frame Header - * Initializing The Quantization Matrices - * Hilbert Coding Pattern - * Unpacking The Block Coding Information - * Unpacking The Macroblock Coding Mode Information - * Unpacking The Macroblock Motion Vectors - * Unpacking The DCT Coefficients - * Reversing The DC Prediction - * Reconstructing The Frame - * Theora Specification - * Appendix A: Quantization Matrices And Scale Factors - * Appendix B: Macroblock Coding Mode Alphabets - * Appendix C: DCT Coefficient VLC Tables - * Appendix D: The VP3 IDCT - * Acknowledgements - * References - * Changelog - - -Introduction ------------- -A company named On2 (http://www.on2.com) created a video codec named -VP3. Eventually, they decided to open source it. Like any body of code -that was produced on a deadline, the source code was not particularly -clean or well-documented. This makes it difficult to understand the -fundamental operation of the codec. - -This document describes the VP3 bitstream format and decoding process at -a higher level than source code. - - -Underlying Coding Concepts --------------------------- -In order to understand the VP3 coding method it is necessary to -understand the individual steps in the process. Like many multimedia -compression algorithms VP3 does not consist of a single coding method. -Rather, it uses a chain of methods to achieve compression. - -If you are acquainted with the MPEG video clique then many of VP3's -coding concepts should look familiar as well. What follows is a list of -the coding methods used in VP3 and a brief description of each. - -* Discrete Cosine Transform (DCT): This is a magical mathematical -function that takes a group of numbers and turns it into another group -of numbers. The transformed group of numbers exhibits some curious -properties. Notably, larger numbers are concentrated in certain areas of -the transformed group. - -A video codec like VP3 often operates on 8x8 blocks of numbers. When -these 8x8 blocks are transformed using a DCT the larger numbers occur -mostly in the up and left areas of the block with the largest number -occurring as the first in the block (up-left corner). This number is -called the DC coefficient. The other 63 numbers are called the AC -coefficients. - -The DCT and its opposite operation, the inverse DCT, require a lot of -multiplications. Much research and experimentation is focused of -optimizing this phase of the coding/decoding process. - -* Quantization: This coding step tosses out information by essentially -dividing a number to be coded by a factor and throwing away the -remainder. The inverse process (dequantization) involves multiplying by -the same factor to obtain a number that is close enough to the original. - -* Run Length Encoding (RLE): The concept behind RLE is to shorten runs -of numbers that are the same. For example, the string "88888" is encoded -as (5, 8), indicating a run of 5 '8' numbers. In VP3 (and MPEG/JPEG), -RLE is used to record the number of zero-value coefficients that occur -before a non-zero coefficient. For example: - - 0 0 0 0 5 0 2 0 0 0 9 - -is encoded as: - - (4, 5), (1, 2), (3, 9) - -This indicates that a run of 4 zeroes is followed by a coefficient of 5; -then a run of 1 zero is followed by 2; then a run of 3 zeroes is -followed by 9. - -* Zigzag Ordering: After transforming and quantizing a block of samples, -the samples are not in an optimal order for run length encoding. Zigzag -ordering rearranges the samples to put more zeros between non-zero -samples. - -* Differential (or Delta) Pulse Code Modulation (DPCM): 1 + 1 = 2. Got -that? Seriously, that is what DPCM means. Rather than encoding absolute -values, encode the differences between successive values. For example: - - 82 84 81 80 86 88 85 - -Can be delta-encoded as: - - 82 +2 -3 -1 +6 +2 -3 - -Most of the numbers turn into smaller numbers which require less -information to encode. - -* Motion Compensation: Simply, this coding method specifies that a block -from a certain position in the previous frame is to be copied into a new -position in the current frame. This technique is often combined with DCT -and DPCM coding, as well as fractional pixel motion. - -* Entropy Coding (a.k.a. Huffman Coding): This is the process of coding -frequently occurring symbols with fewer bits than symbols that are not -likely to occur as frequently. - -* Variable Length Run Length Booleans: An initial Boolean bit is -extracted from the bitstream. A variable length code (VLC) is extracted -from the bitstream and converted to a count. This count indicates that -the next (count) elements are to be set to the Boolean value. -Afterwards, the Boolean value is toggled, the next VLC is extracted and -converted to a count, and the process continues until all elements are -set to either 0 or 1. - -* YUV Colorspace: Like many modern video codecs, VP3 operates on a YUV -colorspace rather than a RGB colorspace. Specifically, VP3 uses YUV -4:2:0, alias YUV420P, YV12. Note: Throughout the course of this -document, the U and V planes (a.k.a., Cb and Cr planes) will be -collectively referred to as C planes (color or chrominance planes). - -* Frame Types: VP3 has intra-coded frames, a.k.a. intraframes, I-frames, -or keyframes. VP3 happens to call these golden frames. VP3 has -interframes, a.k.a. predicted frames or P-frames. These frames can use -information from either the previous interframe or from the previous -golden frame. - - -VP3 Overview ------------- -The first thing to understand about the VP3 coding method is that it -encodes all 3 planes upside down. That is, the data is encoded from -bottom-to-top rather than top-to-bottom as is done with many video -codecs. - -VP3 codes a video frame by first breaking each of the 3 planes (Y, U, -and V) into a series of 8x8 blocks called fragments. VP3 also has a -notion of superblocks. Superblocks encapsulate 16 fragments arranged in -a 4x4 matrix. Each plane has its own set of superblocks. Further, VP3 -also uses the notion of macroblocks which is the same as that found in -JPEG/MPEG. One macroblock encompasses 4 blocks from the Y plane arranged -in a 2x2 matrix, 1 block from the U plane, and 1 block from the V plane. -While a fragment or a superblock applies to 1 and only 1 plane, a -macroblock extends over all 3 planes. - -VP3 compresses golden frames by transforming each fragment with a -discrete cosine transform. Each transformed sample is then quantized and -the DC coefficient is reduced via DPCM using a combination of DC -coefficients from surrounding fragments as predictors. Then, each -fragment's DC coefficient is entropy-coded in the output bitstream, -followed by each fragment's first AC coefficient, then each second AC -coefficient, and so on. - -An interframe, naturally, is more complicated. While there is only one -coding mode available for a golden frame (intra coding), there are 8 -coding modes that the VP3 coder can choose from for interframe -macroblocks. Intra coding as seen in the keyframe is still available. -The rest of the modes involve encoding a fragment diff, either from the -previous frame or the golden frame, from the same coordinate or from the -same coordinate plus a motion vector. All of the macroblock coding modes -and motion vectors are encoded in an interframe bitstream. - - -VP3 Chunk Format ----------------- -The high-level format of a compressed VP3 frame is laid out as: - - * chunk header - * block coding information - * macroblock coding mode information - * motion vectors - * DC coefficients - * 1st AC coefficients - * 2nd AC coefficients - * ... - * 63rd AC coefficients - - -Decoding The Frame Header -------------------------- -The chunk header always contains at least 1 byte which has the following -format: - - bit 7: 0 = golden frame, 1 = interframe - bit 6: unused - bits 5-0: Quality index (0..63) - -Further, if the frame is a golden frame, there are 2 more bytes in the -header: - - byte 0: version byte 0 - byte 1: - bits 7-3: VP3 version number (stored) - bit 2: key frame coding method (0 = DCT key frame, only type - supported) - bits 1-0: unused, spare bits - -All frame headers are encoded with a quality index. This 6-bit value is -used to index into 2 dequantizer scaling tables, 1 for DC values and 1 -for AC values. Each of the 3 dequantization tables is modified per these -scaling values. - - -Initializing The Quantization Matrices --------------------------------------- -VP3 has three static matrices for quantizing and dequantizing fragments. -One matrix is for quantizing golden frame Y fragments, one matrix is for -quantizing golden frame C fragments, and one matrix is for quantizing both -golden frame and interframe Y or C fragments. While these matrices are -static, they are adjusted according to quality index coded in the header. - -The quality index is an index into 2 64-element tables: -dc_scale_factor[] and ac_scale_factor[]. Each quantization factor from -each of the three quantization matrices is adjusted by the appropriate -scale factor according to this formula: - - base quantizer * scale factor - quantizer = ----------------------------- - 100 - - where scale factor = - dc_scale_factor[quality_index] for DC dequantizer - ac_scale_factor[quality_index] for AC dequantizer - -The quantization matrices need to be recalculated at the beginning of a -frame decode if the current frame's quality index is different from the -previous frame's quality index. - -See Appendix A for the complete VP3 quantization matrices and scale factor -tables. - -As an example, this is the base quantization matrix for golden frame Y -fragments: - - 16 11 10 16 24 40 51 61 - 12 12 14 19 26 58 60 55 - 14 13 16 24 40 57 69 56 - 14 17 22 29 51 87 80 62 - 18 22 37 58 68 109 103 77 - 24 35 55 64 81 104 113 92 - 49 64 78 87 103 121 120 101 - 72 92 95 98 112 100 103 99 - -If a particular coded frame specifies a quality index of 54. Element 54 -of the dc_scale_factor table is 20, thus: - - 16 * 20 - DC coefficient quantizer = ------- = 3 - 100 - -Element 54 of the ac_scale_factor table is 24. The AC coefficient -quantizers are each scaled using this factor, e.g.: - - 11 * 24 - ------- = 2 - 100 - - 100 * 24 - -------- = 24 - 100 - -[not complete; still need to explain how these quantizers are saturated -and scaled with respect to the DCT process] - - -Hilbert Coding Pattern ----------------------- -VP3 uses a Hilbert pattern to code fragments within a superblock. A -Hilbert pattern is a recursive pattern that can grow quite complicated. -The coding pattern that VP3 uses is restricted to this pattern subset, -where each fragment in a superblock is represented by a 'X': - - X -> X X -> X - | ^ - v | - X <- X X <- X - | ^ - v | - X X -> X X - | ^ | ^ - v | v | - X -> X X -> X - -As an example of this pattern, consider a plane that is 256 samples wide -and 64 samples high. Each fragment row will be 32 fragments wide. The -first superblock in the plane will be comprised of these 16 fragments: - - 0 1 2 3 ... 31 - 32 33 34 35 ... 63 - 64 65 66 67 ... 95 - 96 97 98 99 ... 127 - -The order in which these 16 fragments are coded is: - - 0 | 0 1 14 15 - 32 | 3 2 13 12 - 64 | 4 7 8 11 - 96 | 5 6 9 10 - -All of the image coding information, including the block coding status -and modes, the motion vectors, and the DCT coefficients, are all coded -and decoded using this pattern. Thus, it is rather critical to have the -pattern and all of its corner cases handled correctly. In the above -example, if the bottom row and left column were not present due to the -superblock being in a corner, the pattern proceeds as if the missing -fragments were present, but the missing fragments are omitted in the -final coding list. The coding order would be: - - 0, 1, 2, 3, 4, 7, 8, 13, 14 - - -Unpacking The Block Coding Information --------------------------------------- -After unpacking the frame header, the decoder unpacks the block coding -information. The only information determined in this phase is whether a -particular superblock and its fragments are coded in the current frame -or unchanged from the previous frame. The actual coding method is -determined in the next phase. - -If the frame is a golden frame then every superblock, macroblock, and -fragment is marked as coded. - -If the frame is an interframe, then the block coding information must be -decoded. This is the phase where a decoder will build a list of coded -fragments for which coding mode, motion vector, and DCT coefficient data -must be decoded. - -First, a list of partially-coded superblocks is unpacked from the -stream. This list is coded as a series of variable-length run length -codes (VLRLC). First, the code is initialized by reading the next bit in -the stream. Then, while there are still superblocks remaining in the -list, fetch a VLC from the stream according to this table: - - Codeword Run Length - 0 1 - 10x 2-3 - 110x 4-5 - 1110xx 6-9 - 11110xxx 10-17 - 111110xxxx 18-33 - 111111xxxxxxxxxxxx 34-4129 - -For example, a VLC of 1101 represents a run length of 5. If the VLRLC -was initialized to 1, then the next 5 superblocks would be set to 1, -indicating that they are partially coded in the current frame. Then the -bit value is toggled to 0, another VLC is fetched from the stream and -the process continues until each superblock has been marked either -partially coded (1) or not (0). - -If any of the superblocks were marked as not partially coded in the -previous step, then a list of fully-coded superblocks is unpacked next -using the same VLRLC as the list of partially-coded superblocks. -Initialize the VLRLC with the next bit in the stream. For each -superblock that was not marked as partially coded, mark it with either a -0 or 1 according to the current VLRLC. By the end of this step, each -superblock will be marked as either not coded, partially coded, or fully -coded. - -Let's work through an example with an image frame that is 256x64 pixels. -This means that the Y plane contains 4x2 superblocks and each of the C -planes contains 2 superblocks each. The superblocks are numbered as -follows: - - Y: 0 1 2 3 U: 8 9 - 4 5 6 7 V: 10 11 - -This is the state of the bitstream: - - 1100011001101 - -Which is interpreted as: - - initial 2 1's 1 0 4 1's 5 0's - 1 100 0 1100 1101 - -Superblocks 0-1 and 3-6 are marked as partially coded. Since there were -blocks that were not marked, proceed to unpack the list of fully-coded -superblocks. This is the state of the bitstream: - - 1101101 - -Which is interpreted as: - - initial 3 1's 3 0's - 1 101 100 - -Superblocks 2, 7, and 8 are marked as fully coded while superblocks 9, -10, and 11 are marked as not coded. - -If any of the superblocks were marked as partially coded, the next data -in the bitstream will define which fragments inside each partially-coded -superblock are coded. This is the first place where the Hilbert pattern -comes into play. - -For each partially-coded superblock, iterate through each fragment -according to the Hilbert pattern. Use the VLRLC method, only with a -different table, to determine which fragments are coded. The VLRLC table -for fragment coding runs is: - - Codeword Run Length - 0x 1-2 - 10x 3-4 - 110x 5-6 - 1110xx 7-10 - 11110xx 11-14 - 11111xxxx 15-30 - -Continuing with the contrived example, superblocks 0 and 1 are both -partially coded. This is the state of the bitstream: - - 0011001111010001111010...(not complete) - -Which is interpreted as: - initial 2 0's 3 1's 13 0's 1 1 13 0's - 0 01 100 1111010 00 1111010 ... - -This indicates that fragments 2-4 in superblock 0 are coded, while -fragments 0, 1, and 5-15 are not. Note that the run of 12 0's cascades -over into the next fragment, indicating that fragment 0 of superblock 1 -is not coded. Fragment 1 of superblock 1 is coded, while the rest of the -superblock's fragments are not coded. The example ends there (a real -bitstream should have enough data to describe all of the partially-coded -superblocks). Superblock 2 is fully coded which means all 16 fragments -are coded. Thus, superblocks 0-2 have the following coded fragments: - - 0 | x x x x x x x x 0 1 14 15 - 32 | 3 2 x x x 2 x x 3 2 13 12 - 64 | 4 x x x x x x x 4 7 8 11 - 96 | x x x x x x x x 5 6 9 10 - -This is a good place to generate the list of coded fragment numbers for -this frame. In this case, the list will begin as: - - 33 32 64 37 8 9 41 40 72 104 105 73 ... - -and so on through the remaining 8 fragments of superblock 2 and onto the -fragments for the remaining superblocks that are either fully or -partially coded. - - -Unpacking The Macroblock Coding Mode Information ------------------------------------------------- -After unpacking the block coding information, the decoder unpacks the -macroblock coding mode information. This process is simple when -decoding a golden frame-- since the only possible decoding mode is INTRA, -no macroblock coding mode information is transmitted. However, in an -interframe, each coded macroblock is encoded with one of 8 methods: - -0, INTER_NO_MV: - current fragment = - (fragment from previous frame @ same coordinates) + - (DCT-encoded residual) - -1, INTRA: - current fragment = DCT-encoded block, just like in a golden frame - -2, INTER_PLUS_MV: - current fragment = - (fragment from previous frame @ (same coords + motion vector)) + - (DCT-encoded residual) - -3, INTER_LAST_MV: - same as INTER_PLUS_MV but using the last motion vector decoded from - the bitstream - -4, INTER_PRIOR_LAST; - same as INTER_PLUS_MV but using the second-to-last motion vector - decoded from the bitstream - -5, USING_GOLDEN: - same as INTER_NO_MV but referencing the golden frame instead of - previous interframe - -6, GOLDEN_MV: - same as INTER_PLUS_MV but referencing the golden frame instead of - previous interframe - -7, INTER_FOURMV: - same as INTER_PLUS_MV except that each of the 4 Y fragments gets its - own motion vector, and the U and V fragments share the same motion - vector which is the average of the 4 Y fragment vectors - -The MB coding mode information is encoded using one of 8 alphabets. The -first 3 bits of the MB coding mode stream indicate which of the 8 -alphabets, 0..7, to use to decode the MB coding information in this frame. -The reason for the different alphabets is to minimize the number of bits -needed to encode this section of information. Each alphabet arranges the -coding modes in a different order, indexing the 8 modes into 8 index -slots. Index 0 is encoded with 1 bit (0), index 1 is encoded with 2 bits -(10), index 2 is encoded with 3 bits (110), and so on up to indices 6 and -7 which are encoded with 6 bits each (1111110 and 1111111, respectively): - - index encoding - ----- -------- - 0 0 - 1 10 - 2 110 - 3 1110 - 4 11110 - 5 111110 - 6 1111110 - 7 1111111 - -For example, the coding modes are arranged in alphabet 1 as follows: - - index coding mode - ----- ----------- - 0 MODE_INTER_LAST_MV - 1 MODE_INTER_PRIOR_LAST - 2 MODE_INTER_PLUS_MV - 3 MODE_INTER_NO_MV - 4 MODE_INTRA - 5 MODE_USING_GOLDEN, - 6 MODE_GOLDEN_MV - 7 MODE_INTER_FOURMV - -This alphabet arrangement is designed for frames in which motion vectors -based off of the previous interframe dominate. - -When unpacking MB coding mode information for a frame, the decoder first -reads 3 bits from the stream to determine the alphabet. In this example, -the 3 bits would be 001 to indicate alphabet 1. Consider this contrived -bitstream following the alphabet number: - - 1010000011000011111110... - -The bits are read as follows: - - 10 10 0 0 0 0 110 0 0 0 1111111 0 - index: 1 1 0 0 0 0 2 0 0 0 7 0 - -This arrangement of indices translates to this series of coding modes: - - index coding mode - ----- ----------- - 1 MODE_INTER_PRIOR_LAST - 1 MODE_INTER_PRIOR_LAST - 0 MODE_INTER_LAST_MV - 0 MODE_INTER_LAST_MV - 0 MODE_INTER_LAST_MV - 0 MODE_INTER_LAST_MV - 2 MODE_INTER_PLUS_MV - 0 MODE_INTER_LAST_MV - 0 MODE_INTER_LAST_MV - 0 MODE_INTER_LAST_MV - 7 MODE_INTER_FOURMV - 0 MODE_INTER_LAST_MV - -There are 6 pre-defined alphabets. Consult Appendix B for the complete -alphabets. What happens if none of the 6 pre-defined alphabets fit? The -VP3 encoder can choose to use alphabet 0 which indicates a custom -alphabet. The 3-bit coding mode numbers for each index, 0..7, are stored -after the alphabet number in the bitstream. For example, the sequence: - - 000 111 110 101 100 011 010 001 000 - -would indicate coding alphabet 0 (custom alphabet), index 0 corresponds to -coding mode 7 (INTER_FOURMV), index 1 corresponds to coding mode 6 -(GOLDEN_MV), and so on down to index 7 which would correspond to coding -mode 0 (INTER_NO_MV). - -There is one more possible alphabet: Alphabet 7. This alphabet is -reserved for when there is such a mixture of coding modes used in a frame -that using any variable-length coding mode would result in more bits than -a fixed-length representation. When alphabet 7 is specified, the decoder -reads 3 bits at a time from the bitstream, and uses those directly as the -macroblock coding modes. - -To recap, this is the general algorithm for decoding macroblock coding -mode information: - - if (golden frame) - all frames are intracoded, there is no MB coding mode information - else - read 3 bits from bitstream to determine alphabet - if alphabet = 0 - this is a custom alphabet, populate index table with 8 3-bit coding - modes read from bitstream - foreach coded macroblock, unpack a coding mode: - if alphabet = 7 - read 3 bits from the bitstream as the coding mode for the - macroblock - else - read a VLC from the bitstream - use the decoded VLC value to index into the coding mode alphabet - selected for this frame and assign the indexed coding mode to - this macroblock - - -Unpacking The Macroblock Motion Vectors ---------------------------------------- -After unpacking the macroblock coding mode information, the decoder -unpacks the macroblock motion vectors. This phase essentially assigns a -motion vector to each of the 6 constituent fragments of any coded -macroblock that requires motion vectors. - -If the frame is a golden frame then there is no motion compensation and -no motion vectors are encoded in the bitstream. - -If the frame is an interframe, the next bit is read from the bitstream -to determine the vector entropy coding method used. If the coding method -is zero then all of the vectors will be unpacked using a VLC method. If -the coding method is 1 then all of the vectors will be unpacked using a -fixed length method. - -The VLC unpacking method reads 3 bits from the bitstream. These 3 bits -comprise a number ranging from 0..7 which indicate the next action: - -0, MV component = 0 -1, MV component = 1 -2, MV component = -1 -3, MV component = 2, read next bit for sign -4, MV component = 3, read next bit for sign -5, MV component = 4 + (read next 2 bits), read next bit for sign - range: (4..7, -4..-7) -6, MV component = 8 + (read next 3 bits), read next bit for sign - range: (8..15, -8..-15) -7, MV component = 16 + (read next 4 bits), read next bit for sign - range: (16..31, -16..-31) - -The fixed length vector unpacking method simply reads the next 5 bits -from the bitstream, reads the next bit for sign, and calls the whole -thing a motion vector component. This gives a range of (-31..31), which -is the same range as the VLC method. - -For example, consider the following contrived motion vector bitstream: - - 000001011011111000... - -The stream is read as: - - 0 (000 010) (110 111 1 100 0) - -The first bit indicates the entropy method which, in this example, is -variable length as opposed to fixed length. The next 3 bits are 0 which -indicate a X MV component of 0. The next 3 bits are 2 which indicate a Y -MV component of -1. The first motion vector encoded in this stream is -(0, -1). The next 3 bits are 6 which indicate 8 + next 3 bits (7) with -another bit indicating sign (1 in this case, which is negative). Thus, -the X MV component is -15. The next 3 bits are 4 which indicate a Y MV -component of 3 with one more bit for the sign (0 is positive). So the -second motion vector encoded in this stream is (-15, 3). - -As an example of the fixed-length entropy method, consider the following -contrived bitstream: - - 1010101101010... - -The stream is read as: - - 1 01010 1 10101 0 - -The first bit indicates the fixed length entropy method. The first 5 bits -are 10 followed by a negative sign bit. The next 5 bits are 21 followed by -a positive sign bit. The first motion vector in this stream is (-10, 21). - -During this phase of the decoding process, it is traditional to assign all -motion vectors for all coded macroblocks that require them, whether they -are unpacked from the motion vector bitstream or copied from previous -coded macroblocks. It is necessary to track the motion vectors for both -the previous macroblock as well as the next-to-last (prior) macroblock. -The general algorithm for this phase is as follows: - - foreach coded macroblock - last MV = 0 - prior last MV = 0 - if coding mode = MODE_INTER_PLUS_MV or MODE_GOLDEN_MV - read current MV pair from the bitstream and set all fragment motion - vectors to that pair - prior last MV = last MV - last MV = current MV - - if coding mode = MODE_INTER_FOURMV - read MV for first Y fragment in macroblock - read MV for second Y fragment in macroblock - read MV for third Y fragment in macroblock - read MV for fourth Y fragment in macroblock - set U & V fragment motion vectors to average of 4 Y vectors, - calculated as follows: - if sum of all 4 X motion components is positive, the X - motion component for the U & V fragments is (sum + 2) / 4, - otherwise, it is (sum - 2) / 4; repeat the same process for the - Y components - prior last MV = last MV - last MV = MV for fourth Y fragment from this macroblock - - if coding mode = MODE_INTER_LAST_MV - motion vectors for this macroblock are the same as last MV; note - that in this case, the last MV remains the last MV and the prior - last MV remains the prior last MV - - if coding mode = MODE_INTER_PRIOR_LAST - motion vectors for this macroblock are the same as prior last MV - prior last MV = last MV - last MV = current MV (effectively, swap last and prior last vectors) - - -Unpacking The DCT Coefficients ------------------------------- -After unpacking the macroblock motion vectors, the decoder unpacks the -fragment DCT coefficient data. Each coded fragment has 64 DCT -coefficients. Some of the coefficients will be non-zero. Many of the -coefficients will, or should be 0 as this is where the coding method -derives much of its compression. - -During this phase, the decoder will be unpacking DCT coefficients, zero -runs, and end-of-block (EOB) codes. The decoder unpacks the the DC -coefficients for all fragments, then all of the first AC coefficients, -and so on until all of the 64 DCT coefficients are unpacked from the -bitstream. - -To obtain the DCT coefficients, the decoder unpacks a series of VLCs -from the bitstream which turn into a series of tokens ranging from -0..31. Each of these tokens specifies which action to take next. VP3 -defines 80 different 32-element histograms for VLC decoding: - - 16 histograms for DC token decoding - 16 histograms for group 1 AC token decoding - 16 histograms for group 2 AC token decoding - 16 histograms for group 3 AC token decoding - 16 histograms for group 4 AC token decoding - -The decoder fetches 4 bits from the bitstream that will be used to -select a DC histogram and 4 bits that will be used to select 4 AC -histograms, one for each AC group. - -The meaning of each of the 32 possible tokens follows. 'EB' stands for -extra bits read from bitstream directly after the VLC token: - -0, DCT_EOB_TOKEN -set the current block to EOB, meaning that the block is marked as being -fully unpacked - -1, DCT_EOB_PAIR_TOKEN -set the next 2 blocks to EOB - -2. DCT_EOB_TRIPLE_TOKEN -set the next 3 blocks to EOB - -3, DCT_REPEAT_RUN_TOKEN -set the next (2 EBs + 4) blocks to EOB - -4, DCT_REPEAT_RUN2_TOKEN -set the next (3 EBs + 8) blocks to EOB - -5, DCT_REPEAT_RUN3_TOKEN -set the next (4 EBs + 16) blocks to EOB - -6, DCT_REPEAT_RUN4_TOKEN -set the next (12 EBs) blocks to EOB - -7, DCT_SHORT_ZRL_TOKEN -skip (3 EBs + 1) positions in the output matrix - -8, DCT_ZRL_TOKEN -skip (6 EBs + 1) positions in the output matrix - -9, ONE_TOKEN -output 1 as coefficient - -10, MINUS_ONE_TOKEN -output -1 as coefficient - -11, TWO_TOKEN -output 2 as coefficient - -12, MINUS_TWO_TOKEN -output -2 as coefficient - -13, 14, 15, 16, LOW_VAL_TOKENS -next EB determines coefficient sign; coeff = DCT_VAL_CAT2_MIN (3) + -(token - 13) (this gives a range of +/- 3..6) - -17, DCT_VAL_CATEGORY3 -next EB determines coefficient sign; coeff = DCT_VAL_CAT3_MIN (7) + next -EB (this gives a range of +/- 7..8) - -18, DCT_VAL_CATEGORY4 -next EB determines coefficient sign; coeff = DCT_VAL_CAT4_MIN (9) + next -2 EBs (this gives a range of +/- 9..12) - -19, DCT_VAL_CATEGORY5 -next EB determines coefficient sign; coeff = DCT_VAL_CAT5_MIN (13) + -next 3 EBs (this gives a range of +/- 13..20) - -20, DCT_VAL_CATEGORY6 -next EB determines coefficient sign; coeff = DCT_VAL_CAT6_MIN (21) + -next 4 EBs (this gives a range of +/- 21..36) - -21, DCT_VAL_CATEGORY7 -next EB determines coefficient sign; coeff = DCT_VAL_CAT7_MIN (37) + -next 5 EBs (this gives a range of +/- 37..68) - -22, DCT_VAL_CATEGORY8 -next EB determines coefficient sign; coeff = DCT_VAL_CAT8_MIN (69) + -next 9 EBs (this gives a range of +/- 69..580) - -23, 24, 25, 26, 27, DCT_RUN_CATEGORY1 -coefficient of +/- 1 preceded by a number of 0s; next EB determines sign -of coefficient; skip (token - 22) 0s in the output matrix before -placing the final coefficient (this gives a range of 1..5 0s) - -28, DCT_RUN_CATEGORY1B -coefficient of +/- 1 preceded by a number of 0s; next EB determines sign -of coefficient; skip (next 2 EBs + 6) 0s in the output matrix before -placing the final coefficient (this gives a range of 6..9 0s) - -29, DCT_RUN_CATEGORY1C -coefficient of +/- 1 preceded by a number of 0s; next EB determines sign -of coefficient; skip (next 3 EBs + 10) 0s in the output matrix before -placing the final coefficient (this gives a range of 10..17 0s) - -30, DCT_RUN_CATEGORY2 -coefficient of +/- 2..3 preceded by a single zero; next EB determines -sign of coefficient; coefficient = (next EB + 2) - -31, DCT_RUN_CATEGORY2B (not specifically named in VP3 source) -coefficient of +/- 2..3 preceded by 2 or 3 0s; next EB determines -sign of coefficient; coefficient = (next EB + 2); skip (next EB + 2) 0s -before placing coefficient in output matrix - -Note: EOB runs can, and often do, cross threshold stages and plane -boundaries. For example, a decoder may have decoded all of the AC #2 -coefficients for all fragments and still have an EOB run of 2. That -means that during the AC #3 decode process, the first 2 coded fragments -that are not already EOB will be set to EOB. - -Let's work through a highly contrived example to illustrate the -coefficient decoding process. - - - -[not finished] - - - - -When the decoder is finished unpacking the DCT coefficients, the entire -encoded VP3 frame bitstream should be consumed. - - -Reversing The DC Prediction ---------------------------- -Now that all of the DCT coefficient data has been unpacked, the DC -coefficients need to be fully reconstructed before the IDCT can be -performed. - -VP3 uses a somewhat involved process for DC prediction which uses up to -four DC coefficients from surrounding fragments. For each fragment to be -transformed with the IDCT, the DC coefficient is predicted from weighted -sum of the DC coefficients in the left (l), up-left (ul), up (u), and -up-right (ur) fragments, if they are coded (not unchanged from the -previous frame) in a compatible frame (current, previous, or golden). - -In a golden frame, the prediction is quite straightforward since all -fragments will be coded. A fragment's DC prediction will fall into 1 of -5 groups: - - abbbbbbbbb - cdddddddde - cdddddddde - cdddddddde - cdddddddde - -* Group a is the top left corner fragment. There is nothing to predict -from. This DC coefficient has a lot of energy and requires many bits to -code. - -* Group b is the remainder of the top row of fragments. These fragments -can only predict from the left fragment. - -* Group c is the left column of fragments, not including the top left -fragment. These fragments have the top and top-right fragments from -which to predict. - -* Group d is the main body of fragments. These fragments have access to -all 4 predictors. - -* Group e is the right column of fragments, not including the top right -fragment. These fragments can predict from the left, up-left and up -fragments. - -The process of reversing prediction for interframes grows more complex. -First, the decoder must evaluate which candidate fragments (l, ul, u, or -ur) are available for as predictors. Then, it can only use fragments -that are coded within the same frame (current, previous, or golden). -Further, there are auxiliary predictors for each frame type that are -initialized to 0 at the start of each video frame decode operation. The -decoder falls back on these auxiliary predictors when it can not find -any valid candidate predictors for the current fragment. - -To work through some examples, consider the following notation, e.g.: - - ul-C = up-left fragment, coded in the current frame - u-P = up fragment, coded as a motion residual from the previous frame - ur-C = up-right fragment, coded in the current frame - l-G = left fragment, coded as a motion residual from the golden frame - x-P = current fragment where DC prediction is being performed, coded - as a motion residual from the previous frame - -This is a simple case: - - ul-C u-C ur-C - l-C x-C - -The current fragment predicts from all four of the candidate fragments -since they are coded in the same frame. - - ul-P u-C ur-C - l-P x-P - -The current fragment predicts from the left and up-left fragments. - - ul-C u-P ur-G - l-P x-G - -The current fragment predicts from the up-right fragment. - - ul-C u-C ur-C - l-C x-G - -The current fragment does not predict from any of the candidate -fragments since the current fragment is a motion residual from the -golden frame. Rather, add the auxiliary golden frame predictor to the -current fragment's DC coefficient. Save the new DC coefficient as the -new golden frame auxiliary DC predictor. - -If the decoder only finds one valid candidate predictor, then it is used -by itself. When the decoder finds multiple valid candidate fragments -from which to predict DC, it applies a weighting function to the -surrounding fragments' DC coefficients. The following table presents all -16 possible combinations of available/not available predictors and what -to do in each case: - - ul u ur l - -- -- -- -- - 0 0 0 0 no predictors available: - use the last predictor saved for the frame type - (either intra, inter, or golden) - - 0 0 0 1 left predictor available: - pred = l.dc - - 0 0 1 0 up-right predictor available: - pred = ur.dc - - 0 0 1 1 up-right, left predictors available: - pred = (53 * ur.dc) + (75 * l.dc) - -------------------------- - 128 - - 0 1 0 0 up predictor available: - pred = u.dc - - 0 1 0 1 up, left predictors available: - pred = (u.dc + l.dc) - ------------- - 2 - - 0 1 1 0 up, up-right predictors available: - discard up-right predictor - pred = u.dc - - 0 1 1 1 up, up-right, left predictors available: - discard up predictor - pred = (53 * ur.dc) + (75 * l.dc) - -------------------------- - 128 - - 1 0 0 0 up-left predictor available: - pred = ul.dc - - 1 0 0 1 up-left, left predictors available: - discard up-left predictor - pred = l.dc - - 1 0 1 0 up-left, up-right predictors available: - pred = (ul.dc + ur.dc) - --------------- - 2 - - 1 0 1 1 up-left, up-right, left predictors available: - discard up-left predictor - pred = (53 * ur.dc) + (75 * l.dc) - -------------------------- - 128 - - 1 1 0 0 up-left, up predictors available: - discard up-left - pred = u.dc - - 1 1 0 1 up-left, up, left predictors available: - pred = (-26 * ul.dc + 29 * u.dc + 29 * l.dc) - ------------------------------------- - 32 - - 1 1 1 0 up-left, up, up-right predictors available: - pred = (3 * ul.dc + 10 * u.dc + 3 * ur.dc) - ----------------------------------- - 16 - - 1 1 1 1 all 4 predictors available: - discard up-right predictor - pred = (-26 * ul.dc + 29 * u.dc + 29 * l.dc) - ------------------------------------- - 32 - -Note that this final prediction case ([ul u l]) risks outranging. The -difference of the predicted DC is checked against u.dc, l.dc, and ul.dc, -in that order, and if the difference is greater than 128 in any case, -the predictor is assigned as that DC coefficient. In pseudocode: - - if (ABSOLUTE_VALUE(pred - u.dc) > 128) - pref = u.dc - else if (ABSOLUTE_VALUE(pred - l.dc) > 128) - pref = l.dc - else if (ABSOLUTE_VALUE(pred - ul.dc) > 128) - pref = ul.dc - -The predicted value is, at long last, added to the fragment's decoded DC -coefficient. Finally, the new DC coefficient is saved as the frame -type's auxiliary predictor. For example, if this fragment is coded as a -motion residual from the previous frame, save the fragment's DC -coefficient as the previous frame auxiliary predictor. - - -[still need to mention precise rounding considerations, a.k.a, the -HIGHTBITDUPPED() macro] - - - -Reconstructing The Frame ------------------------- -rough outline: - - foreach fragment: - - if motion vector - - copy motion fragment from appropriate frame into current frame - (don't forget to account for unrestricted motion vectors) - - dequantize fragment coefficients - - run coefficients through inverse DCT - - if INTRA coded fragment - - output transformed coefficients - - else - - apply transformed residual to motion fragment - -[not finished] - - -Theora Specification --------------------- -The Theora project leverages the VP3 codec into a new video coding -system. The algorithm and bitstream format are the same as VP3 with a -few minor differences: - -1) The frame orientation is reversed-- VP3 is coded from bottom to top -while Theora video is coded from top to bottom. -[nope-- only true in the first few alpha releases; final Theora spec will -be upside-down, the same as VP3] - -2) Variable histograms-- VP3 uses a hardcoded set of histograms for DCT -coefficient coding (described in section "Unpacking The DCT -Coefficients"). Theora packs the histogram information in the header of -the transport format (which is meant to be Ogg, but can probably be -coerced into a variety of other multimedia container formats). - -3) Variable quantization-- As with the histograms, Theora codes the -quantization tables and quality thresholds (described in section -"Initializing The Quantization Matrices") into the header. - -4) [special VLRLC case for encoding unusually large runs of blocks; -necessary for HD resolutions] - -[still need coding format of histogram and quantizer information] - - -Appendix A: VP31 Quantization Matrices And Scale Factors --------------------------------------------------------- -The following quantization matrices and scale factor tables are hardcoded -into the VP31 coding standard. These tables can vary according to the -setup information transported along with a Theora file. - -Base quantization matrix for golden frame Y fragments (note that this -is the same as JPEG): - - 16 11 10 16 24 40 51 61 - 12 12 14 19 26 58 60 55 - 14 13 16 24 40 57 69 56 - 14 17 22 29 51 87 80 62 - 18 22 37 58 68 109 103 77 - 24 35 55 64 81 104 113 92 - 49 64 78 87 103 121 120 101 - 72 92 95 98 112 100 103 99 - - -Base quantization matrix for golden frame C fragments (note that this -is the same as JPEG): - - 17 18 24 47 99 99 99 99 - 18 21 26 66 99 99 99 99 - 24 26 56 99 99 99 99 99 - 47 66 99 99 99 99 99 99 - 99 99 99 99 99 99 99 99 - 99 99 99 99 99 99 99 99 - 99 99 99 99 99 99 99 99 - 99 99 99 99 99 99 99 99 - - -Base quantization matrix for interframe Y and C fragments: - - 16 16 16 20 24 28 32 40 - 16 16 20 24 28 32 40 48 - 16 20 24 28 32 40 48 64 - 20 24 28 32 40 48 64 64 - 24 28 32 40 48 64 64 64 - 28 32 40 48 64 64 64 96 - 32 40 48 64 64 64 96 128 - 40 48 64 64 64 96 128 128 - - -DC coefficient scale factor table: - - 220 200 190 180 170 170 160 160 - 150 150 140 140 130 130 120 120 - 110 110 100 100 90 90 90 80 - 80 80 70 70 70 60 60 60 - 60 50 50 50 50 40 40 40 - 40 40 30 30 30 30 30 30 - 30 20 20 20 20 20 20 20 - 20 10 10 10 10 10 10 10 - - -AC coefficient scale factor table: - - 500 450 400 370 340 310 285 265 - 245 225 210 195 185 180 170 160 - 150 145 135 130 125 115 110 107 - 100 96 93 89 85 82 75 74 - 70 68 64 60 57 56 52 50 - 49 45 44 43 40 38 37 35 - 33 32 30 29 28 25 24 22 - 21 19 18 17 15 13 12 10 - - -Appendix B: Macroblock Coding Mode Alphabets --------------------------------------------- -These are the 6 pre-defined alphabets used to decode macroblock coding -mode information: - -Alphabet 1: - index coding mode - ----- ----------- - 0 MODE_INTER_LAST_MV - 1 MODE_INTER_PRIOR_LAST - 2 MODE_INTER_PLUS_MV - 3 MODE_INTER_NO_MV - 4 MODE_INTRA - 5 MODE_USING_GOLDEN, - 6 MODE_GOLDEN_MV - 7 MODE_INTER_FOURMV - -Alphabet 2: - index coding mode - ----- ----------- - 0 MODE_INTER_LAST_MV - 1 MODE_INTER_PRIOR_LAST - 2 MODE_INTER_NO_MV - 3 MODE_INTER_PLUS_MV - 4 MODE_INTRA - 5 MODE_USING_GOLDEN - 6 MODE_GOLDEN_MV - 7 MODE_INTER_FOURMV - -Alphabet 3: - index coding mode - ----- ----------- - 0 MODE_INTER_LAST_MV - 1 MODE_INTER_PLUS_MV - 2 MODE_INTER_PRIOR_LAST - 3 MODE_INTER_NO_MV - 4 MODE_INTRA - 5 MODE_USING_GOLDEN - 6 MODE_GOLDEN_MV - 7 MODE_INTER_FOURMV - -Alphabet 4: - index coding mode - ----- ----------- - 0 MODE_INTER_LAST_MV - 1 MODE_INTER_PLUS_MV - 2 MODE_INTER_NO_MV - 3 MODE_INTER_PRIOR_LAST - 4 MODE_INTRA - 5 MODE_USING_GOLDEN - 6 MODE_GOLDEN_MV - 7 MODE_INTER_FOURMV - -Alphabet 5: - index coding mode - ----- ----------- - 0 MODE_INTER_NO_MV - 1 MODE_INTER_LAST_MV - 2 MODE_INTER_PRIOR_LAST - 3 MODE_INTER_PLUS_MV - 4 MODE_INTRA - 5 MODE_USING_GOLDEN - 6 MODE_GOLDEN_MV - 7 MODE_INTER_FOURMV - -Alphabet 6: - index coding mode - ----- ----------- - 0 MODE_INTER_NO_MV - 1 MODE_USING_GOLDEN - 2 MODE_INTER_LAST_MV - 3 MODE_INTER_PRIOR_LAST - 4 MODE_INTER_PLUS_MV - 5 MODE_INTRA - 6 MODE_GOLDEN_MV - 7 MODE_INTER_FOURMV - - -Appendix C: DCT Coefficient VLC Tables --------------------------------------- -- VP31 tables are hardcoded -- Theora tables are transported with video stream - -[not finished] - - -Appendix D: The VP3 IDCT ------------------------- - -[not finished] - - -Acknowledgements ----------------- -Thanks to Michael Niedermayer (michaelni at gmx dot at) for peer review, -corrections, and recommendations for improvement. - -Dan Miller (dan at on2 dot com) for clarifications on pieces of the -format. - -Timothy B. Terriberry (tterribe at vt dot edu) for clarification about the -differences between VP3 and Theora, detailed explanation of motion -vector mechanics. - - -References ----------- -Tables necessary for decoding VP3: -http://mplayerhq.hu/cgi-bin/cvsweb.cgi/~checkout~/ffmpeg/libavcodec/vp3data.h?content-type=text/x-cvsweb-markup&cvsroot=FFMpeg - -Official VP3 site: -http://www.vp3.com/ - -Theora, based on VP3: -http://www.theora.org/ - -On2, creators of the VP3 format: -http://www.on2.com/ - - -ChangeLog ---------- -v0.5: December 8, 2004 -- reworked section "Reversing The DC Prediction" to include a tabular -representation of all 16 prediction modes - -v0.4: March 2, 2004 -- renamed and expanded section "Initializing The Quantization Matrices" -- outlined section "Reconstructing The Frame" -- moved Theora Differences Appendix to its own section entitled "Theora -Specification" -- added Appendix: Quantization Matrices And Scale Factors -- added Appendix: DCT Coefficient VLC Tables - -v0.3: February 29, 2004 -- expanded section "Unpacking The Macroblock Coding Mode Information" -- expanded section "Unpacking The Macroblock Motion Vectors" -- added Appendix: Macroblock Coding Mode Alphabets - -v0.2: October 9, 2003 -- expanded section "Reversing the DC Prediction" -- added Appendix: Theora Differences - -v0.1: June 17, 2003 -- initial release, nowhere near complete diff --git a/Libraries/libtheora-1.1.1/examples/Makefile.am b/Libraries/libtheora-1.1.1/examples/Makefile.am deleted file mode 100644 index fe66a21e..00000000 --- a/Libraries/libtheora-1.1.1/examples/Makefile.am +++ /dev/null @@ -1,41 +0,0 @@ -## Process this file with automake to produce Makefile.in - -INCLUDES = -I$(top_srcdir)/include - -noinst_PROGRAMS = dump_video dump_psnr $(BUILDABLE_EXAMPLES) - -# possible contents of BUILDABLE_EXAMPLES: -EXTRA_PROGRAMS = player_example encoder_example png2theora - -AM_CFLAGS = $(OGG_CFLAGS) -LDADD = ../lib/libtheora.la $(OGG_LIBS) -LDADDDEC = ../lib/libtheoradec.la $(OGG_LIBS) -LDADDENC = ../lib/libtheoraenc.la ../lib/libtheoradec.la $(OGG_LIBS) - -dump_video_SOURCES = dump_video.c -EXTRA_dump_video_SOURCES = getopt.c getopt1.c getopt.h -dump_video_LDADD = $(GETOPT_OBJS) $(LDADDDEC) - -dump_psnr_SOURCES = dump_psnr.c -EXTRA_dump_psnr_SOURCES = getopt.c getopt1.c getopt.h -dump_psnr_LDADD = $(GETOPT_OBJS) $(LDADDDEC) -lm - -player_example_SOURCES = player_example.c -player_example_CFLAGS = $(SDL_CFLAGS) $(OGG_CFLAGS) $(VORBIS_CFLAGS) -player_example_LDADD = $(LDADDDEC) $(SDL_LIBS) $(VORBIS_LIBS) $(OSS_LIBS) - -encoder_example_SOURCES = encoder_example.c -EXTRA_encoder_example_SOURCES = getopt.c getopt1.c getopt.h -encoder_example_CFLAGS = $(OGG_CFLAGS) $(VORBIS_CFLAGS) -encoder_example_LDADD = $(GETOPT_OBJS) $(LDADDENC) $(VORBIS_LIBS) $(VORBISENC_LIBS) -lm - -png2theora_SOURCES = png2theora.c -png2theora_CFLAGS = $(OGG_CFLAGS) $(PNG_CFLAGS) -png2theora_LDADD = $(GETOPT_OBJS) $(LDADDENC) $(PNG_LIBS) -lm - -debug: - $(MAKE) all CFLAGS="@DEBUG@" - -profile: - $(MAKE) all CFLAGS="@PROFILE@" - diff --git a/Libraries/libtheora-1.1.1/examples/Makefile.in b/Libraries/libtheora-1.1.1/examples/Makefile.in deleted file mode 100644 index 64e6741d..00000000 --- a/Libraries/libtheora-1.1.1/examples/Makefile.in +++ /dev/null @@ -1,580 +0,0 @@ -# Makefile.in generated by automake 1.6.3 from Makefile.am. -# @configure_input@ - -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 -# Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -SHELL = @SHELL@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_HEADER = $(INSTALL_DATA) -transform = @program_transform_name@ -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_alias = @host_alias@ -host_triplet = @host@ - -EXEEXT = @EXEEXT@ -OBJEXT = @OBJEXT@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ -AMTAR = @AMTAR@ -AR = @AR@ -ARGZ_H = @ARGZ_H@ -AS = @AS@ -AWK = @AWK@ -BUILDABLE_EXAMPLES = @BUILDABLE_EXAMPLES@ -CAIRO_CFLAGS = @CAIRO_CFLAGS@ -CAIRO_LIBS = @CAIRO_LIBS@ -CC = @CC@ -CPP = @CPP@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -DEBUG = @DEBUG@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -F77 = @F77@ -GCJ = @GCJ@ -GCJFLAGS = @GCJFLAGS@ -GETOPT_OBJS = @GETOPT_OBJS@ -GREP = @GREP@ -HAVE_BIBTEX = @HAVE_BIBTEX@ -HAVE_DOXYGEN = @HAVE_DOXYGEN@ -HAVE_PDFLATEX = @HAVE_PDFLATEX@ -HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@ -HAVE_TRANSFIG = @HAVE_TRANSFIG@ -HAVE_VALGRIND = @HAVE_VALGRIND@ -INCLTDL = @INCLTDL@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LD = @LD@ -LIBADD_DL = @LIBADD_DL@ -LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ -LIBADD_DLOPEN = @LIBADD_DLOPEN@ -LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ -LIBLTDL = @LIBLTDL@ -LIBM = @LIBM@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTDLDEPS = @LTDLDEPS@ -LTDLINCL = @LTDLINCL@ -LTDLOPEN = @LTDLOPEN@ -LT_CONFIG_H = @LT_CONFIG_H@ -LT_DLLOADERS = @LT_DLLOADERS@ -LT_DLPREOPEN = @LT_DLPREOPEN@ -MAINT = @MAINT@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OGG_CFLAGS = @OGG_CFLAGS@ -OGG_LIBS = @OGG_LIBS@ -OSS_LIBS = @OSS_LIBS@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PKG_CONFIG = @PKG_CONFIG@ -PNG_CFLAGS = @PNG_CFLAGS@ -PNG_LIBS = @PNG_LIBS@ -PROFILE = @PROFILE@ -RANLIB = @RANLIB@ -RC = @RC@ -SDL_CFLAGS = @SDL_CFLAGS@ -SDL_CONFIG = @SDL_CONFIG@ -SDL_LIBS = @SDL_LIBS@ -SED = @SED@ -STRIP = @STRIP@ -THDEC_LIB_AGE = @THDEC_LIB_AGE@ -THDEC_LIB_CURRENT = @THDEC_LIB_CURRENT@ -THDEC_LIB_REVISION = @THDEC_LIB_REVISION@ -THENC_LIB_AGE = @THENC_LIB_AGE@ -THENC_LIB_CURRENT = @THENC_LIB_CURRENT@ -THENC_LIB_REVISION = @THENC_LIB_REVISION@ -THEORADEC_LDFLAGS = @THEORADEC_LDFLAGS@ -THEORAENC_LDFLAGS = @THEORAENC_LDFLAGS@ -THEORA_LDFLAGS = @THEORA_LDFLAGS@ -TH_LIB_AGE = @TH_LIB_AGE@ -TH_LIB_CURRENT = @TH_LIB_CURRENT@ -TH_LIB_REVISION = @TH_LIB_REVISION@ -VALGRIND_ENVIRONMENT = @VALGRIND_ENVIRONMENT@ -VERSION = @VERSION@ -VORBISENC_LIBS = @VORBISENC_LIBS@ -VORBISFILE_LIBS = @VORBISFILE_LIBS@ -VORBIS_CFLAGS = @VORBIS_CFLAGS@ -VORBIS_LIBS = @VORBIS_LIBS@ -am__include = @am__include@ -am__quote = @am__quote@ -install_sh = @install_sh@ -lt_ECHO = @lt_ECHO@ -ltdl_LIBOBJS = @ltdl_LIBOBJS@ -ltdl_LTLIBOBJS = @ltdl_LTLIBOBJS@ -sys_symbol_underscore = @sys_symbol_underscore@ - -INCLUDES = -I$(top_srcdir)/include - -noinst_PROGRAMS = dump_video dump_psnr $(BUILDABLE_EXAMPLES) - -# possible contents of BUILDABLE_EXAMPLES: -EXTRA_PROGRAMS = player_example encoder_example png2theora - -AM_CFLAGS = $(OGG_CFLAGS) -LDADD = ../lib/libtheora.la $(OGG_LIBS) -LDADDDEC = ../lib/libtheoradec.la $(OGG_LIBS) -LDADDENC = ../lib/libtheoraenc.la ../lib/libtheoradec.la $(OGG_LIBS) - -dump_video_SOURCES = dump_video.c -EXTRA_dump_video_SOURCES = getopt.c getopt1.c getopt.h -dump_video_LDADD = $(GETOPT_OBJS) $(LDADDDEC) - -dump_psnr_SOURCES = dump_psnr.c -EXTRA_dump_psnr_SOURCES = getopt.c getopt1.c getopt.h -dump_psnr_LDADD = $(GETOPT_OBJS) $(LDADDDEC) -lm - -player_example_SOURCES = player_example.c -player_example_CFLAGS = $(SDL_CFLAGS) $(OGG_CFLAGS) $(VORBIS_CFLAGS) -player_example_LDADD = $(LDADDDEC) $(SDL_LIBS) $(VORBIS_LIBS) $(OSS_LIBS) - -encoder_example_SOURCES = encoder_example.c -EXTRA_encoder_example_SOURCES = getopt.c getopt1.c getopt.h -encoder_example_CFLAGS = $(OGG_CFLAGS) $(VORBIS_CFLAGS) -encoder_example_LDADD = $(GETOPT_OBJS) $(LDADDENC) $(VORBIS_LIBS) $(VORBISENC_LIBS) -lm - -png2theora_SOURCES = png2theora.c -png2theora_CFLAGS = $(OGG_CFLAGS) $(PNG_CFLAGS) -png2theora_LDADD = $(GETOPT_OBJS) $(LDADDENC) $(PNG_LIBS) -lm -subdir = examples -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -EXTRA_PROGRAMS = player_example$(EXEEXT) encoder_example$(EXEEXT) \ - png2theora$(EXEEXT) -noinst_PROGRAMS = dump_video$(EXEEXT) dump_psnr$(EXEEXT) \ - @BUILDABLE_EXAMPLES@ -PROGRAMS = $(noinst_PROGRAMS) - -am_dump_psnr_OBJECTS = dump_psnr.$(OBJEXT) -dump_psnr_OBJECTS = $(am_dump_psnr_OBJECTS) -dump_psnr_DEPENDENCIES = ../lib/libtheoradec.la -dump_psnr_LDFLAGS = -am_dump_video_OBJECTS = dump_video.$(OBJEXT) -dump_video_OBJECTS = $(am_dump_video_OBJECTS) -dump_video_DEPENDENCIES = ../lib/libtheoradec.la -dump_video_LDFLAGS = -am_encoder_example_OBJECTS = encoder_example-encoder_example.$(OBJEXT) -encoder_example_OBJECTS = $(am_encoder_example_OBJECTS) -encoder_example_DEPENDENCIES = ../lib/libtheoraenc.la \ - ../lib/libtheoradec.la -encoder_example_LDFLAGS = -am_player_example_OBJECTS = player_example-player_example.$(OBJEXT) -player_example_OBJECTS = $(am_player_example_OBJECTS) -player_example_DEPENDENCIES = ../lib/libtheoradec.la -player_example_LDFLAGS = -am_png2theora_OBJECTS = png2theora-png2theora.$(OBJEXT) -png2theora_OBJECTS = $(am_png2theora_OBJECTS) -png2theora_DEPENDENCIES = ../lib/libtheoraenc.la ../lib/libtheoradec.la -png2theora_LDFLAGS = - -DEFS = @DEFS@ -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/dump_psnr.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/dump_video.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/encoder_example-encoder_example.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/encoder_example-getopt.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/encoder_example-getopt1.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/getopt.Po ./$(DEPDIR)/getopt1.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/player_example-player_example.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/png2theora-png2theora.Po -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \ - $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -CFLAGS = @CFLAGS@ -DIST_SOURCES = $(dump_psnr_SOURCES) $(EXTRA_dump_psnr_SOURCES) \ - $(dump_video_SOURCES) $(EXTRA_dump_video_SOURCES) \ - $(encoder_example_SOURCES) $(EXTRA_encoder_example_SOURCES) \ - $(player_example_SOURCES) $(png2theora_SOURCES) -DIST_COMMON = Makefile.am Makefile.in -SOURCES = $(dump_psnr_SOURCES) $(EXTRA_dump_psnr_SOURCES) $(dump_video_SOURCES) $(EXTRA_dump_video_SOURCES) $(encoder_example_SOURCES) $(EXTRA_encoder_example_SOURCES) $(player_example_SOURCES) $(png2theora_SOURCES) - -all: all-am - -.SUFFIXES: -.SUFFIXES: .c .lo .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu examples/Makefile -Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) - -clean-noinstPROGRAMS: - @list='$(noinst_PROGRAMS)'; for p in $$list; do \ - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f $$p $$f"; \ - rm -f $$p $$f ; \ - done -dump_psnr$(EXEEXT): $(dump_psnr_OBJECTS) $(dump_psnr_DEPENDENCIES) - @rm -f dump_psnr$(EXEEXT) - $(LINK) $(dump_psnr_LDFLAGS) $(dump_psnr_OBJECTS) $(dump_psnr_LDADD) $(LIBS) -dump_video$(EXEEXT): $(dump_video_OBJECTS) $(dump_video_DEPENDENCIES) - @rm -f dump_video$(EXEEXT) - $(LINK) $(dump_video_LDFLAGS) $(dump_video_OBJECTS) $(dump_video_LDADD) $(LIBS) -encoder_example-encoder_example.$(OBJEXT): encoder_example.c -encoder_example-getopt.$(OBJEXT): getopt.c -encoder_example-getopt1.$(OBJEXT): getopt1.c -encoder_example$(EXEEXT): $(encoder_example_OBJECTS) $(encoder_example_DEPENDENCIES) - @rm -f encoder_example$(EXEEXT) - $(LINK) $(encoder_example_LDFLAGS) $(encoder_example_OBJECTS) $(encoder_example_LDADD) $(LIBS) -player_example-player_example.$(OBJEXT): player_example.c -player_example$(EXEEXT): $(player_example_OBJECTS) $(player_example_DEPENDENCIES) - @rm -f player_example$(EXEEXT) - $(LINK) $(player_example_LDFLAGS) $(player_example_OBJECTS) $(player_example_LDADD) $(LIBS) -png2theora-png2theora.$(OBJEXT): png2theora.c -png2theora$(EXEEXT): $(png2theora_OBJECTS) $(png2theora_DEPENDENCIES) - @rm -f png2theora$(EXEEXT) - $(LINK) $(png2theora_LDFLAGS) $(png2theora_OBJECTS) $(png2theora_LDADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) core *.core - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dump_psnr.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dump_video.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoder_example-encoder_example.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoder_example-getopt.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoder_example-getopt1.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/player_example-player_example.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/png2theora-png2theora.Po@am__quote@ - -distclean-depend: - -rm -rf ./$(DEPDIR) - -.c.o: -@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< - -.c.obj: -@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(COMPILE) -c `cygpath -w $<` - -.c.lo: -@AMDEP_TRUE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< - -encoder_example-encoder_example.o: encoder_example.c -@AMDEP_TRUE@ source='encoder_example.c' object='encoder_example-encoder_example.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/encoder_example-encoder_example.Po' tmpdepfile='$(DEPDIR)/encoder_example-encoder_example.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_example_CFLAGS) $(CFLAGS) -c -o encoder_example-encoder_example.o `test -f 'encoder_example.c' || echo '$(srcdir)/'`encoder_example.c - -encoder_example-encoder_example.obj: encoder_example.c -@AMDEP_TRUE@ source='encoder_example.c' object='encoder_example-encoder_example.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/encoder_example-encoder_example.Po' tmpdepfile='$(DEPDIR)/encoder_example-encoder_example.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_example_CFLAGS) $(CFLAGS) -c -o encoder_example-encoder_example.obj `cygpath -w encoder_example.c` - -encoder_example-encoder_example.lo: encoder_example.c -@AMDEP_TRUE@ source='encoder_example.c' object='encoder_example-encoder_example.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/encoder_example-encoder_example.Plo' tmpdepfile='$(DEPDIR)/encoder_example-encoder_example.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_example_CFLAGS) $(CFLAGS) -c -o encoder_example-encoder_example.lo `test -f 'encoder_example.c' || echo '$(srcdir)/'`encoder_example.c - -encoder_example-getopt.o: getopt.c -@AMDEP_TRUE@ source='getopt.c' object='encoder_example-getopt.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/encoder_example-getopt.Po' tmpdepfile='$(DEPDIR)/encoder_example-getopt.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_example_CFLAGS) $(CFLAGS) -c -o encoder_example-getopt.o `test -f 'getopt.c' || echo '$(srcdir)/'`getopt.c - -encoder_example-getopt.obj: getopt.c -@AMDEP_TRUE@ source='getopt.c' object='encoder_example-getopt.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/encoder_example-getopt.Po' tmpdepfile='$(DEPDIR)/encoder_example-getopt.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_example_CFLAGS) $(CFLAGS) -c -o encoder_example-getopt.obj `cygpath -w getopt.c` - -encoder_example-getopt.lo: getopt.c -@AMDEP_TRUE@ source='getopt.c' object='encoder_example-getopt.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/encoder_example-getopt.Plo' tmpdepfile='$(DEPDIR)/encoder_example-getopt.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_example_CFLAGS) $(CFLAGS) -c -o encoder_example-getopt.lo `test -f 'getopt.c' || echo '$(srcdir)/'`getopt.c - -encoder_example-getopt1.o: getopt1.c -@AMDEP_TRUE@ source='getopt1.c' object='encoder_example-getopt1.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/encoder_example-getopt1.Po' tmpdepfile='$(DEPDIR)/encoder_example-getopt1.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_example_CFLAGS) $(CFLAGS) -c -o encoder_example-getopt1.o `test -f 'getopt1.c' || echo '$(srcdir)/'`getopt1.c - -encoder_example-getopt1.obj: getopt1.c -@AMDEP_TRUE@ source='getopt1.c' object='encoder_example-getopt1.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/encoder_example-getopt1.Po' tmpdepfile='$(DEPDIR)/encoder_example-getopt1.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_example_CFLAGS) $(CFLAGS) -c -o encoder_example-getopt1.obj `cygpath -w getopt1.c` - -encoder_example-getopt1.lo: getopt1.c -@AMDEP_TRUE@ source='getopt1.c' object='encoder_example-getopt1.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/encoder_example-getopt1.Plo' tmpdepfile='$(DEPDIR)/encoder_example-getopt1.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_example_CFLAGS) $(CFLAGS) -c -o encoder_example-getopt1.lo `test -f 'getopt1.c' || echo '$(srcdir)/'`getopt1.c - -player_example-player_example.o: player_example.c -@AMDEP_TRUE@ source='player_example.c' object='player_example-player_example.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/player_example-player_example.Po' tmpdepfile='$(DEPDIR)/player_example-player_example.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(player_example_CFLAGS) $(CFLAGS) -c -o player_example-player_example.o `test -f 'player_example.c' || echo '$(srcdir)/'`player_example.c - -player_example-player_example.obj: player_example.c -@AMDEP_TRUE@ source='player_example.c' object='player_example-player_example.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/player_example-player_example.Po' tmpdepfile='$(DEPDIR)/player_example-player_example.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(player_example_CFLAGS) $(CFLAGS) -c -o player_example-player_example.obj `cygpath -w player_example.c` - -player_example-player_example.lo: player_example.c -@AMDEP_TRUE@ source='player_example.c' object='player_example-player_example.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/player_example-player_example.Plo' tmpdepfile='$(DEPDIR)/player_example-player_example.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(player_example_CFLAGS) $(CFLAGS) -c -o player_example-player_example.lo `test -f 'player_example.c' || echo '$(srcdir)/'`player_example.c - -png2theora-png2theora.o: png2theora.c -@AMDEP_TRUE@ source='png2theora.c' object='png2theora-png2theora.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/png2theora-png2theora.Po' tmpdepfile='$(DEPDIR)/png2theora-png2theora.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(png2theora_CFLAGS) $(CFLAGS) -c -o png2theora-png2theora.o `test -f 'png2theora.c' || echo '$(srcdir)/'`png2theora.c - -png2theora-png2theora.obj: png2theora.c -@AMDEP_TRUE@ source='png2theora.c' object='png2theora-png2theora.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/png2theora-png2theora.Po' tmpdepfile='$(DEPDIR)/png2theora-png2theora.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(png2theora_CFLAGS) $(CFLAGS) -c -o png2theora-png2theora.obj `cygpath -w png2theora.c` - -png2theora-png2theora.lo: png2theora.c -@AMDEP_TRUE@ source='png2theora.c' object='png2theora-png2theora.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/png2theora-png2theora.Plo' tmpdepfile='$(DEPDIR)/png2theora-png2theora.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(png2theora_CFLAGS) $(CFLAGS) -c -o png2theora-png2theora.lo `test -f 'png2theora.c' || echo '$(srcdir)/'`png2theora.c -CCDEPMODE = @CCDEPMODE@ - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: - -ETAGS = etags -ETAGSFLAGS = - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$tags$$unique" \ - || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) - -top_distdir = .. -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) - -distdir: $(DISTFILES) - @list='$(DISTFILES)'; for file in $$list; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkinstalldirs) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(PROGRAMS) - -installdirs: - -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \ - mostlyclean-am - -distclean: distclean-am - -distclean-am: clean-am distclean-compile distclean-depend \ - distclean-generic distclean-libtool distclean-tags - -dvi: dvi-am - -dvi-am: - -info: info-am - -info-am: - -install-data-am: - -install-exec-am: - -install-info: install-info-am - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -uninstall-am: uninstall-info-am - -.PHONY: GTAGS all all-am check check-am clean clean-generic \ - clean-libtool clean-noinstPROGRAMS distclean distclean-compile \ - distclean-depend distclean-generic distclean-libtool \ - distclean-tags distdir dvi dvi-am info info-am install \ - install-am install-data install-data-am install-exec \ - install-exec-am install-info install-info-am install-man \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ - tags uninstall uninstall-am uninstall-info-am - - -debug: - $(MAKE) all CFLAGS="@DEBUG@" - -profile: - $(MAKE) all CFLAGS="@PROFILE@" -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/Libraries/libtheora-1.1.1/examples/dump_psnr.c b/Libraries/libtheora-1.1.1/examples/dump_psnr.c deleted file mode 100644 index 7340cadb..00000000 --- a/Libraries/libtheora-1.1.1/examples/dump_psnr.c +++ /dev/null @@ -1,1201 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: example dumpvid application; dumps Theora streams - last mod: $Id: dump_video.c 15675 2009-02-06 09:43:27Z tterribe $ - - ********************************************************************/ - -#if !defined(_GNU_SOURCE) -#define _GNU_SOURCE -#endif -#if !defined(_LARGEFILE_SOURCE) -#define _LARGEFILE_SOURCE -#endif -#if !defined(_LARGEFILE64_SOURCE) -#define _LARGEFILE64_SOURCE -#endif -#if !defined(_FILE_OFFSET_BITS) -#define _FILE_OFFSET_BITS 64 -#endif - -#include -#if !defined(_WIN32) -#include -#include -#else -#include "getopt.h" -#endif -#include -#include -#include -#include -#include -/*Yes, yes, we're going to hell.*/ -#if defined(_WIN32) -#include -#endif -#include -#include -#include -#include "theora/theoradec.h" - -const char *optstring = "fsy"; -struct option options [] = { - {"frame-type",no_argument,NULL,'f'}, - {"summary",no_argument,NULL,'s'}, - {"luma-only",no_argument,NULL,'y'}, - {NULL,0,NULL,0} -}; - -static int show_frame_type; -static int summary_only; -static int luma_only; - -typedef struct y4m_input y4m_input; - -/*The function used to perform chroma conversion.*/ -typedef void (*y4m_convert_func)(y4m_input *_y4m, - unsigned char *_dst,unsigned char *_aux); - -struct y4m_input{ - int frame_w; - int frame_h; - int pic_w; - int pic_h; - int pic_x; - int pic_y; - int fps_n; - int fps_d; - int par_n; - int par_d; - char interlace; - int src_c_dec_h; - int src_c_dec_v; - int dst_c_dec_h; - int dst_c_dec_v; - char chroma_type[16]; - /*The size of each converted frame buffer.*/ - size_t dst_buf_sz; - /*The amount to read directly into the converted frame buffer.*/ - size_t dst_buf_read_sz; - /*The size of the auxilliary buffer.*/ - size_t aux_buf_sz; - /*The amount to read into the auxilliary buffer.*/ - size_t aux_buf_read_sz; - y4m_convert_func convert; - unsigned char *dst_buf; - unsigned char *aux_buf; -}; - - -static int y4m_parse_tags(y4m_input *_y4m,char *_tags){ - int got_w; - int got_h; - int got_fps; - int got_interlace; - int got_par; - int got_chroma; - char *p; - char *q; - got_w=got_h=got_fps=got_interlace=got_par=got_chroma=0; - for(p=_tags;;p=q){ - /*Skip any leading spaces.*/ - while(*p==' ')p++; - /*If that's all we have, stop.*/ - if(p[0]=='\0')break; - /*Find the end of this tag.*/ - for(q=p+1;*q!='\0'&&*q!=' ';q++); - /*Process the tag.*/ - switch(p[0]){ - case 'W':{ - if(sscanf(p+1,"%d",&_y4m->pic_w)!=1)return -1; - got_w=1; - }break; - case 'H':{ - if(sscanf(p+1,"%d",&_y4m->pic_h)!=1)return -1; - got_h=1; - }break; - case 'F':{ - if(sscanf(p+1,"%d:%d",&_y4m->fps_n,&_y4m->fps_d)!=2){ - return -1; - } - got_fps=1; - }break; - case 'I':{ - _y4m->interlace=p[1]; - got_interlace=1; - }break; - case 'A':{ - if(sscanf(p+1,"%d:%d",&_y4m->par_n,&_y4m->par_d)!=2){ - return -1; - } - got_par=1; - }break; - case 'C':{ - if(q-p>16)return -1; - memcpy(_y4m->chroma_type,p+1,q-p-1); - _y4m->chroma_type[q-p-1]='\0'; - got_chroma=1; - }break; - /*Ignore unknown tags.*/ - } - } - if(!got_w||!got_h||!got_fps||!got_interlace||!got_par)return -1; - /*Chroma-type is not specified in older files, e.g., those generated by - mplayer.*/ - if(!got_chroma)strcpy(_y4m->chroma_type,"420"); - return 0; -} - -/*All anti-aliasing filters in the following conversion functions are based on - one of two window functions: - The 6-tap Lanczos window (for down-sampling and shifts): - sinc(\pi*t)*sinc(\pi*t/3), |t|<3 (sinc(t)==sin(t)/t) - 0, |t|>=3 - The 4-tap Mitchell window (for up-sampling): - 7|t|^3-12|t|^2+16/3, |t|<1 - -(7/3)|x|^3+12|x|^2-20|x|+32/3, |t|<2 - 0, |t|>=2 - The number of taps is intentionally kept small to reduce computational - overhead and limit ringing. - - The taps from these filters are scaled so that their sum is 1, and the result - is scaled by 128 and rounded to integers to create a filter whose - intermediate values fit inside 16 bits. - Coefficients are rounded in such a way as to ensure their sum is still 128, - which is usually equivalent to normal rounding.*/ - -#define OC_MINI(_a,_b) ((_a)>(_b)?(_b):(_a)) -#define OC_MAXI(_a,_b) ((_a)<(_b)?(_b):(_a)) -#define OC_CLAMPI(_a,_b,_c) (OC_MAXI(_a,OC_MINI(_b,_c))) - -/*420jpeg chroma samples are sited like: - Y-------Y-------Y-------Y------- - | | | | - | BR | | BR | - | | | | - Y-------Y-------Y-------Y------- - | | | | - | | | | - | | | | - Y-------Y-------Y-------Y------- - | | | | - | BR | | BR | - | | | | - Y-------Y-------Y-------Y------- - | | | | - | | | | - | | | | - - 420mpeg2 chroma samples are sited like: - Y-------Y-------Y-------Y------- - | | | | - BR | BR | - | | | | - Y-------Y-------Y-------Y------- - | | | | - | | | | - | | | | - Y-------Y-------Y-------Y------- - | | | | - BR | BR | - | | | | - Y-------Y-------Y-------Y------- - | | | | - | | | | - | | | | - - We use a resampling filter to shift the site locations one quarter pixel (at - the chroma plane's resolution) to the right. - The 4:2:2 modes look exactly the same, except there are twice as many chroma - lines, and they are vertically co-sited with the luma samples in both the - mpeg2 and jpeg cases (thus requiring no vertical resampling).*/ -static void y4m_convert_42xmpeg2_42xjpeg(y4m_input *_y4m,unsigned char *_dst, - unsigned char *_aux){ - int c_w; - int c_h; - int pli; - int y; - int x; - /*Skip past the luma data.*/ - _dst+=_y4m->pic_w*_y4m->pic_h; - /*Compute the size of each chroma plane.*/ - c_w=(_y4m->pic_w+_y4m->dst_c_dec_h-1)/_y4m->dst_c_dec_h; - c_h=(_y4m->pic_h+_y4m->dst_c_dec_v-1)/_y4m->dst_c_dec_v; - for(pli=1;pli<3;pli++){ - for(y=0;y>7,255); - } - for(;x>7,255); - } - for(;x>7,255); - } - _dst+=c_w; - _aux+=c_w; - } - } -} - -/*This format is only used for interlaced content, but is included for - completeness. - - 420jpeg chroma samples are sited like: - Y-------Y-------Y-------Y------- - | | | | - | BR | | BR | - | | | | - Y-------Y-------Y-------Y------- - | | | | - | | | | - | | | | - Y-------Y-------Y-------Y------- - | | | | - | BR | | BR | - | | | | - Y-------Y-------Y-------Y------- - | | | | - | | | | - | | | | - - 420paldv chroma samples are sited like: - YR------Y-------YR------Y------- - | | | | - | | | | - | | | | - YB------Y-------YB------Y------- - | | | | - | | | | - | | | | - YR------Y-------YR------Y------- - | | | | - | | | | - | | | | - YB------Y-------YB------Y------- - | | | | - | | | | - | | | | - - We use a resampling filter to shift the site locations one quarter pixel (at - the chroma plane's resolution) to the right. - Then we use another filter to move the C_r location down one quarter pixel, - and the C_b location up one quarter pixel.*/ -static void y4m_convert_42xpaldv_42xjpeg(y4m_input *_y4m,unsigned char *_dst, - unsigned char *_aux){ - unsigned char *tmp; - int c_w; - int c_h; - int c_sz; - int pli; - int y; - int x; - /*Skip past the luma data.*/ - _dst+=_y4m->pic_w*_y4m->pic_h; - /*Compute the size of each chroma plane.*/ - c_w=(_y4m->pic_w+1)/2; - c_h=(_y4m->pic_h+_y4m->dst_c_dec_h-1)/_y4m->dst_c_dec_h; - c_sz=c_w*c_h; - /*First do the horizontal re-sampling. - This is the same as the mpeg2 case, except that after the horizontal case, - we need to apply a second vertical filter.*/ - tmp=_aux+2*c_sz; - for(pli=1;pli<3;pli++){ - for(y=0;y>7,255); - } - for(;x>7,255); - } - for(;x>7,255); - } - tmp+=c_w; - _aux+=c_w; - } - switch(pli){ - case 1:{ - tmp-=c_sz; - /*Slide C_b up a quarter-pel. - This is the same filter used above, but in the other order.*/ - for(x=0;x>7,255); - } - for(;y>7,255); - } - for(;y>7,255); - } - _dst++; - tmp++; - } - _dst+=c_sz-c_w; - tmp-=c_w; - }break; - case 2:{ - tmp-=c_sz; - /*Slide C_r down a quarter-pel. - This is the same as the horizontal filter.*/ - for(x=0;x>7,255); - } - for(;y>7,255); - } - for(;y>7,255); - } - _dst++; - tmp++; - } - }break; - } - /*For actual interlaced material, this would have to be done separately on - each field, and the shift amounts would be different. - C_r moves down 1/8, C_b up 3/8 in the top field, and C_r moves down 3/8, - C_b up 1/8 in the bottom field. - The corresponding filters would be: - Down 1/8 (reverse order for up): [3 -11 125 15 -4 0]/128 - Down 3/8 (reverse order for up): [4 -19 98 56 -13 2]/128*/ - } -} - -/*422jpeg chroma samples are sited like: - Y---BR--Y-------Y---BR--Y------- - | | | | - | | | | - | | | | - Y---BR--Y-------Y---BR--Y------- - | | | | - | | | | - | | | | - Y---BR--Y-------Y---BR--Y------- - | | | | - | | | | - | | | | - Y---BR--Y-------Y---BR--Y------- - | | | | - | | | | - | | | | - - 411 chroma samples are sited like: - YBR-----Y-------Y-------Y------- - | | | | - | | | | - | | | | - YBR-----Y-------Y-------Y------- - | | | | - | | | | - | | | | - YBR-----Y-------Y-------Y------- - | | | | - | | | | - | | | | - YBR-----Y-------Y-------Y------- - | | | | - | | | | - | | | | - - We use a filter to resample at site locations one eighth pixel (at the source - chroma plane's horizontal resolution) and five eighths of a pixel to the - right.*/ -static void y4m_convert_411_422jpeg(y4m_input *_y4m,unsigned char *_dst, - unsigned char *_aux){ - int c_w; - int dst_c_w; - int c_h; - int pli; - int y; - int x; - /*Skip past the luma data.*/ - _dst+=_y4m->pic_w*_y4m->pic_h; - /*Compute the size of each chroma plane.*/ - c_w=(_y4m->pic_w+_y4m->src_c_dec_h-1)/_y4m->src_c_dec_h; - dst_c_w=(_y4m->pic_w+_y4m->dst_c_dec_h-1)/_y4m->dst_c_dec_h; - c_h=(_y4m->pic_h+_y4m->dst_c_dec_v-1)/_y4m->dst_c_dec_v; - for(pli=1;pli<3;pli++){ - for(y=0;y>7,255); - _dst[x<<1|1]=(unsigned char)OC_CLAMPI(0,47*_aux[0]+ - 86*_aux[OC_MINI(1,c_w-1)]-5*_aux[OC_MINI(2,c_w-1)]+64>>7,255); - } - for(;x>7,255); - _dst[x<<1|1]=(unsigned char)OC_CLAMPI(0,-3*_aux[x-1]+50*_aux[x]+ - 86*_aux[x+1]-5*_aux[x+2]+64>>7,255); - } - for(;x>7,255); - if((x<<1|1)>7,255); - } - } - _dst+=dst_c_w; - _aux+=c_w; - } - } -} - -/*The image is padded with empty chroma components at 4:2:0. - This costs about 17 bits a frame to code.*/ -static void y4m_convert_mono_420jpeg(y4m_input *_y4m,unsigned char *_dst, - unsigned char *_aux){ - int c_sz; - _dst+=_y4m->pic_w*_y4m->pic_h; - c_sz=((_y4m->pic_w+_y4m->dst_c_dec_h-1)/_y4m->dst_c_dec_h)* - ((_y4m->pic_h+_y4m->dst_c_dec_v-1)/_y4m->dst_c_dec_v); - memset(_dst,128,c_sz*2); -} - -#if 0 -/*Right now just 444 to 420. - Not too hard to generalize.*/ -static void y4m_convert_4xxjpeg_42xjpeg(y4m_input *_y4m,unsigned char *_dst, - unsigned char *_aux){ - unsigned char *tmp; - int c_w; - int c_h; - int pic_sz; - int tmp_sz; - int c_sz; - int pli; - int y; - int x; - /*Compute the size of each chroma plane.*/ - c_w=(_y4m->pic_w+_y4m->dst_c_dec_h-1)/_y4m->dst_c_dec_h; - c_h=(_y4m->pic_h+_y4m->dst_c_dec_v-1)/_y4m->dst_c_dec_v; - pic_sz=_y4m->pic_w*_y4m->pic_h; - tmp_sz=c_w*_y4m->pic_h; - c_sz=c_w*c_h; - _dst+=pic_sz; - for(pli=1;pli<3;pli++){ - tmp=_aux+pic_sz; - /*In reality, the horizontal and vertical steps could be pipelined, for - less memory consumption and better cache performance, but we do them - separately for simplicity.*/ - /*First do horizontal filtering (convert to 4:2:2)*/ - /*Filter: [3 -17 78 78 -17 3]/128, derived from a 6-tap Lanczos window.*/ - for(y=0;y<_y4m->pic_h;y++){ - for(x=0;xpic_w,2);x+=2){ - tmp[x>>1]=OC_CLAMPI(0,64*_aux[0]+78*_aux[OC_MINI(1,_y4m->pic_w-1)] - -17*_aux[OC_MINI(2,_y4m->pic_w-1)] - +3*_aux[OC_MINI(3,_y4m->pic_w-1)]+64>>7,255); - } - for(;x<_y4m->pic_w-3;x+=2){ - tmp[x>>1]=OC_CLAMPI(0,3*(_aux[x-2]+_aux[x+3])-17*(_aux[x-1]+_aux[x+2])+ - 78*(_aux[x]+_aux[x+1])+64>>7,255); - } - for(;x<_y4m->pic_w;x+=2){ - tmp[x>>1]=OC_CLAMPI(0,3*(_aux[x-2]+_aux[_y4m->pic_w-1])- - 17*(_aux[x-1]+_aux[OC_MINI(x+2,_y4m->pic_w-1)])+ - 78*(_aux[x]+_aux[OC_MINI(x+1,_y4m->pic_w-1)])+64>>7,255); - } - tmp+=c_w; - _aux+=_y4m->pic_w; - } - _aux-=pic_sz; - tmp-=tmp_sz; - /*Now do the vertical filtering.*/ - for(x=0;xpic_h,2);y+=2){ - _dst[(y>>1)*c_w]=OC_CLAMPI(0,64*tmp[0] - +78*tmp[OC_MINI(1,_y4m->pic_h-1)*c_w] - -17*tmp[OC_MINI(2,_y4m->pic_h-1)*c_w] - +3*tmp[OC_MINI(3,_y4m->pic_h-1)*c_w]+64>>7,255); - } - for(;y<_y4m->pic_h-3;y+=2){ - _dst[(y>>1)*c_w]=OC_CLAMPI(0,3*(tmp[(y-2)*c_w]+tmp[(y+3)*c_w])- - 17*(tmp[(y-1)*c_w]+tmp[(y+2)*c_w])+78*(tmp[y*c_w]+tmp[(y+1)*c_w])+ - 64>>7,255); - } - for(;y<_y4m->pic_h;y+=2){ - _dst[(y>>1)*c_w]=OC_CLAMPI(0,3*(tmp[(y-2)*c_w] - +tmp[(_y4m->pic_h-1)*c_w])-17*(tmp[(y-1)*c_w] - +tmp[OC_MINI(y+2,_y4m->pic_h-1)*c_w]) - +78*(tmp[y*c_w]+tmp[OC_MINI(y+1,_y4m->pic_h-1)*c_w])+64>>7,255); - } - tmp++; - _dst++; - } - _dst-=c_w; - } -} -#endif - -/*No conversion function needed.*/ -static void y4m_convert_null(y4m_input *_y4m,unsigned char *_dst, - unsigned char *_aux){ -} - -static int y4m_input_open(y4m_input *_y4m,FILE *_fin,char *_skip,int _nskip){ - char buffer[80]; - int ret; - int i; - /*Read until newline, or 80 cols, whichever happens first.*/ - for(i=0;i<79;i++){ - if(_nskip>0){ - buffer[i]=*_skip++; - _nskip--; - } - else{ - ret=fread(buffer+i,1,1,_fin); - if(ret<1)return -1; - } - if(buffer[i]=='\n')break; - } - /*We skipped too much header data.*/ - if(_nskip>0)return -1; - if(i==79){ - fprintf(stderr,"Error parsing header; not a YUV2MPEG2 file?\n"); - return -1; - } - buffer[i]='\0'; - if(memcmp(buffer,"YUV4MPEG",8)){ - fprintf(stderr,"Incomplete magic for YUV4MPEG file.\n"); - return -1; - } - if(buffer[8]!='2'){ - fprintf(stderr,"Incorrect YUV input file version; YUV4MPEG2 required.\n"); - } - ret=y4m_parse_tags(_y4m,buffer+5); - if(ret<0){ - fprintf(stderr,"Error parsing YUV4MPEG2 header.\n"); - return ret; - } - if(_y4m->interlace!='p'){ - fprintf(stderr,"Input video is interlaced; " - "Theora only handles progressive scan.\n"); - return -1; - } - if(strcmp(_y4m->chroma_type,"420")==0|| - strcmp(_y4m->chroma_type,"420jpeg")==0){ - _y4m->src_c_dec_h=_y4m->dst_c_dec_h=_y4m->src_c_dec_v=_y4m->dst_c_dec_v=2; - _y4m->dst_buf_read_sz=_y4m->pic_w*_y4m->pic_h - +2*((_y4m->pic_w+1)/2)*((_y4m->pic_h+1)/2); - /*Natively supported: no conversion required.*/ - _y4m->aux_buf_sz=_y4m->aux_buf_read_sz=0; - _y4m->convert=y4m_convert_null; - } - else if(strcmp(_y4m->chroma_type,"420mpeg2")==0){ - _y4m->src_c_dec_h=_y4m->dst_c_dec_h=_y4m->src_c_dec_v=_y4m->dst_c_dec_v=2; - _y4m->dst_buf_read_sz=_y4m->pic_w*_y4m->pic_h; - /*Chroma filter required: read into the aux buf first.*/ - _y4m->aux_buf_sz=_y4m->aux_buf_read_sz= - 2*((_y4m->pic_w+1)/2)*((_y4m->pic_h+1)/2); - _y4m->convert=y4m_convert_42xmpeg2_42xjpeg; - } - else if(strcmp(_y4m->chroma_type,"420paldv")==0){ - _y4m->src_c_dec_h=_y4m->dst_c_dec_h=_y4m->src_c_dec_v=_y4m->dst_c_dec_v=2; - _y4m->dst_buf_read_sz=_y4m->pic_w*_y4m->pic_h; - /*Chroma filter required: read into the aux buf first. - We need to make two filter passes, so we need some extra space in the - aux buffer.*/ - _y4m->aux_buf_sz=3*((_y4m->pic_w+1)/2)*((_y4m->pic_h+1)/2); - _y4m->aux_buf_read_sz=2*((_y4m->pic_w+1)/2)*((_y4m->pic_h+1)/2); - _y4m->convert=y4m_convert_42xpaldv_42xjpeg; - } - else if(strcmp(_y4m->chroma_type,"422")==0){ - _y4m->src_c_dec_h=_y4m->dst_c_dec_h=2; - _y4m->src_c_dec_v=_y4m->dst_c_dec_v=1; - _y4m->dst_buf_read_sz=_y4m->pic_w*_y4m->pic_h; - /*Chroma filter required: read into the aux buf first.*/ - _y4m->aux_buf_sz=_y4m->aux_buf_read_sz=2*((_y4m->pic_w+1)/2)*_y4m->pic_h; - _y4m->convert=y4m_convert_42xmpeg2_42xjpeg; - } - else if(strcmp(_y4m->chroma_type,"411")==0){ - _y4m->src_c_dec_h=4; - /*We don't want to introduce any additional sub-sampling, so we - promote 4:1:1 material to 4:2:2, as the closest format Theora can - handle.*/ - _y4m->dst_c_dec_h=2; - _y4m->src_c_dec_v=_y4m->dst_c_dec_v=1; - _y4m->dst_buf_read_sz=_y4m->pic_w*_y4m->pic_h; - /*Chroma filter required: read into the aux buf first.*/ - _y4m->aux_buf_sz=_y4m->aux_buf_read_sz=2*((_y4m->pic_w+3)/4)*_y4m->pic_h; - _y4m->convert=y4m_convert_411_422jpeg; - } - else if(strcmp(_y4m->chroma_type,"444")==0){ - _y4m->src_c_dec_h=_y4m->dst_c_dec_h=_y4m->src_c_dec_v=_y4m->dst_c_dec_v=1; - _y4m->dst_buf_read_sz=_y4m->pic_w*_y4m->pic_h*3; - /*Natively supported: no conversion required.*/ - _y4m->aux_buf_sz=_y4m->aux_buf_read_sz=0; - _y4m->convert=y4m_convert_null; - } - else if(strcmp(_y4m->chroma_type,"444alpha")==0){ - _y4m->src_c_dec_h=_y4m->dst_c_dec_h=_y4m->src_c_dec_v=_y4m->dst_c_dec_v=1; - _y4m->dst_buf_read_sz=_y4m->pic_w*_y4m->pic_h*3; - /*Read the extra alpha plane into the aux buf. - It will be discarded.*/ - _y4m->aux_buf_sz=_y4m->aux_buf_read_sz=_y4m->pic_w*_y4m->pic_h; - _y4m->convert=y4m_convert_null; - } - else if(strcmp(_y4m->chroma_type,"mono")==0){ - _y4m->src_c_dec_h=_y4m->src_c_dec_v=0; - _y4m->dst_c_dec_h=_y4m->dst_c_dec_v=2; - _y4m->dst_buf_read_sz=_y4m->pic_w*_y4m->pic_h; - /*No extra space required, but we need to clear the chroma planes.*/ - _y4m->aux_buf_sz=_y4m->aux_buf_read_sz=0; - _y4m->convert=y4m_convert_mono_420jpeg; - } - else{ - fprintf(stderr,"Unknown chroma sampling type: %s\n",_y4m->chroma_type); - return -1; - } - /*The size of the final frame buffers is always computed from the - destination chroma decimation type.*/ - _y4m->dst_buf_sz=_y4m->pic_w*_y4m->pic_h - +2*((_y4m->pic_w+_y4m->dst_c_dec_h-1)/_y4m->dst_c_dec_h)* - ((_y4m->pic_h+_y4m->dst_c_dec_v-1)/_y4m->dst_c_dec_v); - /*Scale the picture size up to a multiple of 16.*/ - _y4m->frame_w=_y4m->pic_w+15&~0xF; - _y4m->frame_h=_y4m->pic_h+15&~0xF; - /*Force the offsets to be even so that chroma samples line up like we - expect.*/ - _y4m->pic_x=_y4m->frame_w-_y4m->pic_w>>1&~1; - _y4m->pic_y=_y4m->frame_h-_y4m->pic_h>>1&~1; - _y4m->dst_buf=(unsigned char *)malloc(_y4m->dst_buf_sz); - _y4m->aux_buf=(unsigned char *)malloc(_y4m->aux_buf_sz); - return 0; -} - -static void y4m_input_get_info(y4m_input *_y4m,th_info *_ti){ - _ti->frame_width=_y4m->frame_w; - _ti->frame_height=_y4m->frame_h; - _ti->pic_width=_y4m->pic_w; - _ti->pic_height=_y4m->pic_h; - _ti->pic_x=_y4m->pic_x; - _ti->pic_y=_y4m->pic_y; - _ti->fps_numerator=_y4m->fps_n; - _ti->fps_denominator=_y4m->fps_d; - _ti->aspect_numerator=_y4m->par_n; - _ti->aspect_denominator=_y4m->par_d; - _ti->pixel_fmt=_y4m->dst_c_dec_h==2? - (_y4m->dst_c_dec_v==2?TH_PF_420:TH_PF_422):TH_PF_444; -} - -static int y4m_input_fetch_frame(y4m_input *_y4m,FILE *_fin, - th_ycbcr_buffer _ycbcr){ - char frame[6]; - int pic_sz; - int frame_c_w; - int frame_c_h; - int c_w; - int c_h; - int c_sz; - int ret; - pic_sz=_y4m->pic_w*_y4m->pic_h; - frame_c_w=_y4m->frame_w/_y4m->dst_c_dec_h; - frame_c_h=_y4m->frame_h/_y4m->dst_c_dec_v; - c_w=(_y4m->pic_w+_y4m->dst_c_dec_h-1)/_y4m->dst_c_dec_h; - c_h=(_y4m->pic_h+_y4m->dst_c_dec_v-1)/_y4m->dst_c_dec_v; - c_sz=c_w*c_h; - /*Read and skip the frame header.*/ - ret=fread(frame,1,6,_fin); - if(ret<6)return 0; - if(memcmp(frame,"FRAME",5)){ - fprintf(stderr,"Loss of framing in YUV input data\n"); - exit(1); - } - if(frame[5]!='\n'){ - char c; - int j; - for(j=0;j<79&&fread(&c,1,1,_fin)&&c!='\n';j++); - if(j==79){ - fprintf(stderr,"Error parsing YUV frame header\n"); - return -1; - } - } - /*Read the frame data that needs no conversion.*/ - if(fread(_y4m->dst_buf,1,_y4m->dst_buf_read_sz,_fin)!=_y4m->dst_buf_read_sz){ - fprintf(stderr,"Error reading YUV frame data.\n"); - return -1; - } - /*Read the frame data that does need conversion.*/ - if(fread(_y4m->aux_buf,1,_y4m->aux_buf_read_sz,_fin)!=_y4m->aux_buf_read_sz){ - fprintf(stderr,"Error reading YUV frame data.\n"); - return -1; - } - /*Now convert the just read frame.*/ - (*_y4m->convert)(_y4m,_y4m->dst_buf,_y4m->aux_buf); - /*Fill in the frame buffer pointers.*/ - _ycbcr[0].width=_y4m->frame_w; - _ycbcr[0].height=_y4m->frame_h; - _ycbcr[0].stride=_y4m->pic_w; - _ycbcr[0].data=_y4m->dst_buf-_y4m->pic_x-_y4m->pic_y*_y4m->pic_w; - _ycbcr[1].width=frame_c_w; - _ycbcr[1].height=frame_c_h; - _ycbcr[1].stride=c_w; - _ycbcr[1].data=_y4m->dst_buf+pic_sz-(_y4m->pic_x/_y4m->dst_c_dec_h)- - (_y4m->pic_y/_y4m->dst_c_dec_v)*c_w; - _ycbcr[2].width=frame_c_w; - _ycbcr[2].height=frame_c_h; - _ycbcr[2].stride=c_w; - _ycbcr[2].data=_ycbcr[1].data+c_sz; - return 1; -} - -static void y4m_input_close(y4m_input *_y4m){ - free(_y4m->dst_buf); - free(_y4m->aux_buf); -} - - - -typedef struct th_input th_input; - -struct th_input{ - ogg_sync_state oy; - int theora_p; - ogg_stream_state to; - th_info ti; - th_comment tc; - th_dec_ctx *td; -}; - - - -/*Grab some more compressed bitstream and sync it for page extraction.*/ -static int th_input_buffer_data(th_input *_th,FILE *_fin){ - char *buffer; - int bytes; - buffer=ogg_sync_buffer(&_th->oy,4096); - bytes=fread(buffer,1,4096,_fin); - ogg_sync_wrote(&_th->oy,bytes); - return bytes; -} - -/*Push a page into the appropriate steam. - This can be done blindly; a stream won't accept a page that doesn't belong to - it.*/ -static void th_input_queue_page(th_input *_th,ogg_page *_og){ - if(_th->theora_p)ogg_stream_pagein(&_th->to,_og); -} - -static int th_input_open_impl(th_input *_th,th_setup_info **_ts,FILE *_fin, - char *_sig,int _nsig){ - ogg_packet op; - ogg_page og; - int nheaders_left; - int done_headers; - ogg_sync_init(&_th->oy); - th_info_init(&_th->ti); - th_comment_init(&_th->tc); - *_ts=NULL; - /*Buffer any initial data read for file ID.*/ - if(_nsig>0){ - char *buffer; - buffer=ogg_sync_buffer(&_th->oy,_nsig); - memcpy(buffer,_sig,_nsig); - ogg_sync_wrote(&_th->oy,_nsig); - } - _th->theora_p=0; - nheaders_left=0; - for(done_headers=0;!done_headers;){ - if(th_input_buffer_data(_th,_fin)==0)break; - while(ogg_sync_pageout(&_th->oy,&og)>0){ - ogg_stream_state test; - /*Is this a mandated initial header? - If not, stop parsing.*/ - if(!ogg_page_bos(&og)){ - /*Don't leak the page; get it into the appropriate stream.*/ - th_input_queue_page(_th,&og); - done_headers=1; - break; - } - ogg_stream_init(&test,ogg_page_serialno(&og)); - ogg_stream_pagein(&test,&og); - ogg_stream_packetpeek(&test,&op); - /*Identify the codec: try Theora.*/ - if(!_th->theora_p){ - nheaders_left=th_decode_headerin(&_th->ti,&_th->tc,_ts,&op); - if(nheaders_left>=0){ - /*It is Theora.*/ - memcpy(&_th->to,&test,sizeof(test)); - _th->theora_p=1; - /*Advance past the successfully processed header.*/ - if(nheaders_left>0)ogg_stream_packetout(&_th->to,NULL); - continue; - } - } - /*Whatever it is, we don't care about it.*/ - ogg_stream_clear(&test); - } - } - /*We're expecting more header packets.*/ - while(_th->theora_p&&nheaders_left>0){ - int ret; - while(nheaders_left>0){ - ret=ogg_stream_packetpeek(&_th->to,&op); - if(ret==0)break; - if(ret<0)continue; - nheaders_left=th_decode_headerin(&_th->ti,&_th->tc,_ts,&op); - if(nheaders_left<0){ - fprintf(stderr,"Error parsing Theora stream headers; " - "corrupt stream?\n"); - return -1; - } - /*Advance past the successfully processed header.*/ - else if(nheaders_left>0)ogg_stream_packetout(&_th->to,NULL); - _th->theora_p++; - } - /*Stop now so we don't fail if there aren't enough pages in a short - stream.*/ - if(!(_th->theora_p&&nheaders_left>0))break; - /*The header pages/packets will arrive before anything else we care - about, or the stream is not obeying spec.*/ - if(ogg_sync_pageout(&_th->oy,&og)>0)th_input_queue_page(_th,&og); - /*We need more data.*/ - else if(th_input_buffer_data(_th,_fin)==0){ - fprintf(stderr,"End of file while searching for codec headers.\n"); - return -1; - } - } - /*And now we have it all. - Initialize the decoder.*/ - if(_th->theora_p){ - _th->td=th_decode_alloc(&_th->ti,*_ts); - if(_th->td!=NULL){ - fprintf(stderr,"Ogg logical stream %lx is Theora %ix%i %.02f fps video.\n" - "Encoded frame content is %ix%i with %ix%i offset.\n", - _th->to.serialno,_th->ti.frame_width,_th->ti.frame_height, - (double)_th->ti.fps_numerator/_th->ti.fps_denominator, - _th->ti.pic_width,_th->ti.pic_height,_th->ti.pic_x,_th->ti.pic_y); - return 1; - } - } - return -1; -} - -static void th_input_close(th_input *_th){ - if(_th->theora_p){ - ogg_stream_clear(&_th->to); - th_decode_free(_th->td); - } - th_comment_clear(&_th->tc); - th_info_clear(&_th->ti); - ogg_sync_clear(&_th->oy); -} - -static int th_input_open(th_input *_th,FILE *_fin,char *_sig,int _nsig){ - th_input th; - th_setup_info *ts; - int ret; - ret=th_input_open_impl(&th,&ts,_fin,_sig,_nsig); - th_setup_free(ts); - /*Clean up on failure.*/ - if(ret<0)th_input_close(&th); - else memcpy(_th,&th,sizeof(th)); - return ret; -} - -static void th_input_get_info(th_input *_th,th_info *_ti){ - memcpy(_ti,&_th->ti,sizeof(*_ti)); -} - -static int th_input_fetch_frame(th_input *_th,FILE *_fin, - th_ycbcr_buffer _ycbcr){ - for(;;){ - ogg_page og; - ogg_packet op; - if(ogg_stream_packetout(&_th->to,&op)>0){ - if(th_decode_packetin(_th->td,&op,NULL)>=0){ - th_decode_ycbcr_out(_th->td,_ycbcr); - if(!summary_only&&show_frame_type){ - printf("%c",th_packet_iskeyframe(&op)?'K':'D'); - if(op.bytes>0)printf("%02i ",op.packet[0]&0x3F); - else printf("-- "); - } - return 1; - } - else return -1; - } - while(ogg_sync_pageout(&_th->oy,&og)<=0){ - if(th_input_buffer_data(_th,_fin)==0)return feof(_fin)?0:-1; - } - th_input_queue_page(_th,&og); - } -} - - - -typedef struct video_input video_input; -typedef void (*video_input_get_info_func)(void *_ctx,th_info *_ti); -typedef int (*video_input_fetch_frame_func)(void *_ctx,FILE *_fin, - th_ycbcr_buffer _ycbcr); -typedef void (*video_input_close_func)(void *_ctx); - -struct video_input{ - FILE *fin; - video_input_get_info_func get_info; - video_input_fetch_frame_func fetch_frame; - video_input_close_func close; - union{ - y4m_input y4m; - th_input th; - }ctx; -}; - -static int video_input_open(video_input *_vid,FILE *_fin){ - char buffer[4]; - int ret; - /* look for magic */ - ret=fread(buffer,1,4,_fin); - if(ret<4)fprintf(stderr,"EOF determining file type of file.\n"); - else{ - if(!memcmp(buffer,"YUV4",4)){ - if(y4m_input_open(&_vid->ctx.y4m,_fin,buffer,4)>=0){ - /*fprintf(stderr,"Original %s is %dx%d %.02f fps %s video.\n", - f,_y4m->pic_w,_y4m->pic_h,(double)_y4m->fps_n/_y4m->fps_d,_y4m->chroma_type);*/ - _vid->fin=_fin; - _vid->get_info=(video_input_get_info_func)y4m_input_get_info; - _vid->fetch_frame=(video_input_fetch_frame_func)y4m_input_fetch_frame; - _vid->close=(video_input_close_func)y4m_input_close; - return 0; - } - } - else if(!memcmp(buffer,"OggS",4)){ - if(th_input_open(&_vid->ctx.th,_fin,buffer,4)>=0){ - _vid->fin=_fin; - _vid->get_info=(video_input_get_info_func)th_input_get_info; - _vid->fetch_frame=(video_input_fetch_frame_func)th_input_fetch_frame; - _vid->close=(video_input_close_func)th_input_close; - return 0; - } - } - else fprintf(stderr,"Unknown file type.\n"); - } - return -1; -} - -static void video_input_get_info(video_input *_vid,th_info *_ti){ - (*_vid->get_info)(&_vid->ctx,_ti); -} - -static int video_input_fetch_frame(video_input *_vid,th_ycbcr_buffer _ycbcr){ - return (*_vid->fetch_frame)(&_vid->ctx,_vid->fin,_ycbcr); -} - -static void video_input_close(video_input *_vid){ - (*_vid->close)(&_vid->ctx); - fclose(_vid->fin); -} - - - -static void usage(char *_argv[]){ - fprintf(stderr,"Usage: %s [options] \n" - " and may be either YUV4MPEG or Ogg Theora files.\n\n" - " Options:\n\n" - " -f --frame-type Show frame type and QI value for each Theora frame.\n" - " -s --summary Only output the summary line.\n" - " -y --luma-only Only output values for the luma channel.\n",_argv[0]); -} - -int main(int _argc,char *_argv[]){ - video_input vid1; - th_info ti1; - video_input vid2; - th_info ti2; - ogg_int64_t gsqerr; - ogg_int64_t gnpixels; - ogg_int64_t gplsqerr[3]; - ogg_int64_t gplnpixels[3]; - int frameno; - FILE *fin; - int long_option_index; - int c; -#ifdef _WIN32 - /*We need to set stdin/stdout to binary mode on windows. - Beware the evil ifdef. - We avoid these where we can, but this one we cannot. - Don't add any more, you'll probably go to hell if you do.*/ - _setmode(_fileno(stdin),_O_BINARY); -#endif - /*Process option arguments.*/ - while((c=getopt_long(_argc,_argv,optstring,options,&long_option_index))!=EOF){ - switch(c){ - case 'f':show_frame_type=1;break; - case 's':summary_only=1;break; - case 'y':luma_only=1;break; - default:usage(_argv);break; - } - } - if(optind+2!=_argc){ - usage(_argv); - exit(1); - } - fin=strcmp(_argv[optind],"-")==0?stdin:fopen(_argv[optind],"rb"); - if(fin==NULL){ - fprintf(stderr,"Unable to open '%s' for extraction.\n",_argv[optind]); - exit(1); - } - fprintf(stderr,"Opening %s...\n",_argv[optind]); - if(video_input_open(&vid1,fin)<0)exit(1); - video_input_get_info(&vid1,&ti1); - fin=strcmp(_argv[optind+1],"-")==0?stdin:fopen(_argv[optind+1],"rb"); - if(fin==NULL){ - fprintf(stderr,"Unable to open '%s' for extraction.\n",_argv[optind+1]); - exit(1); - } - fprintf(stderr,"Opening %s...\n",_argv[optind+1]); - if(video_input_open(&vid2,fin)<0)exit(1); - video_input_get_info(&vid2,&ti2); - /*Check to make sure these videos are compatible.*/ - if(ti1.pic_width!=ti2.pic_width||ti1.pic_height!=ti2.pic_height){ - fprintf(stderr,"Video resolution does not match.\n"); - exit(1); - } - if(ti1.pixel_fmt!=ti2.pixel_fmt){ - fprintf(stderr,"Pixel formats do not match.\n"); - exit(1); - } - if((ti1.pic_x&!(ti1.pixel_fmt&1))!=(ti2.pic_x&!(ti2.pixel_fmt&1))|| - (ti1.pic_y&!(ti1.pixel_fmt&2))!=(ti2.pic_y&!(ti2.pixel_fmt&2))){ - fprintf(stderr,"Chroma subsampling offsets do not match.\n"); - exit(1); - } - if(ti1.fps_numerator*(ogg_int64_t)ti2.fps_denominator!= - ti2.fps_numerator*(ogg_int64_t)ti1.fps_denominator){ - fprintf(stderr,"Warning: framerates do not match.\n"); - } - if(ti1.aspect_numerator*(ogg_int64_t)ti2.aspect_denominator!= - ti2.aspect_numerator*(ogg_int64_t)ti1.aspect_denominator){ - fprintf(stderr,"Warning: aspect ratios do not match.\n"); - } - gsqerr=gplsqerr[0]=gplsqerr[1]=gplsqerr[2]=0; - gnpixels=gplnpixels[0]=gplnpixels[1]=gplnpixels[2]=0; - for(frameno=0;;frameno++){ - th_ycbcr_buffer f1; - th_ycbcr_buffer f2; - ogg_int64_t plsqerr[3]; - long plnpixels[3]; - ogg_int64_t sqerr; - long npixels; - int ret1; - int ret2; - int pli; - ret1=video_input_fetch_frame(&vid1,f1); - ret2=video_input_fetch_frame(&vid2,f2); - if(ret1==0&&ret2==0)break; - else if(ret1<0||ret2<0)break; - else if(ret1==0){ - fprintf(stderr,"%s ended before %s.\n", - _argv[optind],_argv[optind+1]); - break; - } - else if(ret2==0){ - fprintf(stderr,"%s ended before %s.\n", - _argv[optind+1],_argv[optind]); - break; - } - /*Okay, we got one frame from each.*/ - sqerr=0; - npixels=0; - for(pli=0;pli<3;pli++){ - int xdec; - int ydec; - int y1; - int y2; - xdec=pli&&!(ti1.pixel_fmt&1); - ydec=pli&&!(ti1.pixel_fmt&2); - plsqerr[pli]=0; - plnpixels[pli]=0; - for(y1=ti1.pic_y>>ydec,y2=ti2.pic_y>>ydec; - y1>ydec;y1++,y2++){ - int x1; - int x2; - for(x1=ti1.pic_x>>xdec,x2=ti2.pic_x>>xdec; - x1>xdec;x1++,x2++){ - int d; - d=*(f1[pli].data+y1*f1[pli].stride+x1)- - *(f2[pli].data+y2*f2[pli].stride+x2); - plsqerr[pli]+=d*d; - plnpixels[pli]++; - } - } - sqerr+=plsqerr[pli]; - gplsqerr[pli]+=plsqerr[pli]; - npixels+=plnpixels[pli]; - gplnpixels[pli]+=plnpixels[pli]; - } - if(!summary_only){ - if(!luma_only){ - printf("%08i: %-7lG (Y': %-7lG Cb: %-7lG Cr: %-7lG)\n",frameno, - 10*(log10(255*255)+log10(npixels)-log10(sqerr)), - 10*(log10(255*255)+log10(plnpixels[0])-log10(plsqerr[0])), - 10*(log10(255*255)+log10(plnpixels[1])-log10(plsqerr[1])), - 10*(log10(255*255)+log10(plnpixels[2])-log10(plsqerr[2]))); - } - else{ - printf("%08i: %-7lG\n",frameno, - 10*(log10(255*255)+log10(plnpixels[0])-log10(plsqerr[0]))); - } - } - gsqerr+=sqerr; - gnpixels+=npixels; - } - if(!luma_only){ - printf("Total: %-7lG (Y': %-7lG Cb: %-7lG Cr: %-7lG)\n", - 10*(log10(255*255)+log10(gnpixels)-log10(gsqerr)), - 10*(log10(255*255)+log10(gplnpixels[0])-log10(gplsqerr[0])), - 10*(log10(255*255)+log10(gplnpixels[1])-log10(gplsqerr[1])), - 10*(log10(255*255)+log10(gplnpixels[2])-log10(gplsqerr[2]))); - } - else{ - printf("Total: %-7lG\n", - 10*(log10(255*255)+log10(gplnpixels[0])-log10(gplsqerr[0]))); - } - video_input_close(&vid1); - video_input_close(&vid2); - return 0; -} diff --git a/Libraries/libtheora-1.1.1/examples/dump_video.c b/Libraries/libtheora-1.1.1/examples/dump_video.c deleted file mode 100644 index c4ad468b..00000000 --- a/Libraries/libtheora-1.1.1/examples/dump_video.c +++ /dev/null @@ -1,496 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: example dumpvid application; dumps Theora streams - last mod: $Id: dump_video.c,v 1.2 2004/03/24 19:12:42 derf Exp $ - - ********************************************************************/ - -/* By Mauricio Piacentini (mauricio at xiph.org) */ -/* simply dump decoded YUV data, for verification of theora bitstream */ - -#if !defined(_REENTRANT) -#define _REENTRANT -#endif -#if !defined(_GNU_SOURCE) -#define _GNU_SOURCE -#endif -#if !defined(_LARGEFILE_SOURCE) -#define _LARGEFILE_SOURCE -#endif -#if !defined(_LARGEFILE64_SOURCE) -#define _LARGEFILE64_SOURCE -#endif -#if !defined(_FILE_OFFSET_BITS) -#define _FILE_OFFSET_BITS 64 -#endif - -#include -#include -#include -#include -#include -#include -/*Yes, yes, we're going to hell.*/ -#if defined(_WIN32) -#include -#endif -#include -#include -#include -#include -#include "getopt.h" -#include "theora/theoradec.h" - -const char *optstring = "o:rf"; -struct option options [] = { - {"output",required_argument,NULL,'o'}, - {"raw",no_argument, NULL,'r'}, /*Disable YUV4MPEG2 headers:*/ - {"fps-only",no_argument, NULL, 'f'}, /* Only interested in fps of decode loop */ - {NULL,0,NULL,0} -}; - -/* Helper; just grab some more compressed bitstream and sync it for - page extraction */ -int buffer_data(FILE *in,ogg_sync_state *oy){ - char *buffer=ogg_sync_buffer(oy,4096); - int bytes=fread(buffer,1,4096,in); - ogg_sync_wrote(oy,bytes); - return(bytes); -} - -/* never forget that globals are a one-way ticket to Hell */ -/* Ogg and codec state for demux/decode */ -ogg_sync_state oy; -ogg_page og; -ogg_stream_state vo; -ogg_stream_state to; -th_info ti; -th_comment tc; -th_setup_info *ts; -th_dec_ctx *td; - -int theora_p=0; -int theora_processing_headers; -int stateflag=0; - -/* single frame video buffering */ -int videobuf_ready=0; -ogg_int64_t videobuf_granulepos=-1; -double videobuf_time=0; -int raw=0; - -FILE* outfile = NULL; - -int got_sigint=0; -static void sigint_handler (int signal) { - got_sigint = 1; -} - -static th_ycbcr_buffer ycbcr; - -static void stripe_decoded(th_ycbcr_buffer _dst,th_ycbcr_buffer _src, - int _fragy0,int _fragy_end){ - int pli; - for(pli=0;pli<3;pli++){ - int yshift; - int y_end; - int y; - yshift=pli!=0&&!(ti.pixel_fmt&2); - y_end=_fragy_end<<3-yshift; - /*An implemention intending to display this data would need to check the - crop rectangle before proceeding.*/ - for(y=_fragy0<<3-yshift;y>xshift)*(ti.frame_height>>yshift)*sizeof(char)); - ycbcr[pli].stride=ti.frame_width>>xshift; - ycbcr[pli].width=ti.frame_width>>xshift; - ycbcr[pli].height=ti.frame_height>>yshift; - } - /*Similarly, since ycbcr is a global, there's no real reason to pass it as - the context. - In a more object-oriented decoder, we could pass the "this" pointer - instead (though in C++, platform-dependent calling convention differences - prevent us from using a real member function pointer).*/ - cb.ctx=ycbcr; - cb.stripe_decoded=(th_stripe_decoded_func)stripe_decoded; - th_decode_ctl(td,TH_DECCTL_SET_STRIPE_CB,&cb,sizeof(cb)); -} - -/*Write out the planar YUV frame, uncropped.*/ -static void video_write(void){ - int pli; - int i; - /*Uncomment the following to do normal, non-striped decoding. - th_ycbcr_buffer ycbcr; - th_decode_ycbcr_out(td,ycbcr);*/ - if(outfile){ - if(!raw)fprintf(outfile, "FRAME\n"); - for(pli=0;pli<3;pli++){ - for(i=0;ivendor); - if(_tc->comments){ - fprintf(out,"theora comment header:\n"); - for(i=0;i<_tc->comments;i++){ - if(_tc->user_comments[i]){ - len=_tc->comment_lengths[i]comment_lengths[i]:INT_MAX; - fprintf(out,"\t%.*s\n",len,_tc->user_comments[i]); - } - } - } - return 0; -} - -/* helper: push a page into the appropriate steam */ -/* this can be done blindly; a stream won't accept a page - that doesn't belong to it */ -static int queue_page(ogg_page *page){ - if(theora_p)ogg_stream_pagein(&to,page); - return 0; -} - -static void usage(void){ - fprintf(stderr, - "Usage: dumpvid > outfile\n" - "input is read from stdin if no file is passed on the command line\n" - "\n" - ); -} - -int main(int argc,char *argv[]){ - - ogg_packet op; - - int long_option_index; - int c; - - struct timeb start; - struct timeb after; - struct timeb last; - int fps_only=0; - int frames = 0; - - FILE *infile = stdin; - outfile = stdout; - -#ifdef _WIN32 /* We need to set stdin/stdout to binary mode on windows. */ - /* Beware the evil ifdef. We avoid these where we can, but this one we - cannot. Don't add any more, you'll probably go to hell if you do. */ - _setmode( _fileno( stdin ), _O_BINARY ); - _setmode( _fileno( stdout ), _O_BINARY ); -#endif - - /* Process option arguments. */ - while((c=getopt_long(argc,argv,optstring,options,&long_option_index))!=EOF){ - switch(c){ - case 'o': - if(strcmp(optarg,"-")!=0){ - outfile=fopen(optarg,"wb"); - if(outfile==NULL){ - fprintf(stderr,"Unable to open output file '%s'\n", optarg); - exit(1); - } - }else{ - outfile=stdout; - } - break; - - case 'r': - raw=1; - break; - - case 'f': - fps_only = 1; - outfile = NULL; - break; - - default: - usage(); - } - } - if(optind0){ - int got_packet; - ogg_stream_state test; - - /* is this a mandated initial header? If not, stop parsing */ - if(!ogg_page_bos(&og)){ - /* don't leak the page; get it into the appropriate stream */ - queue_page(&og); - stateflag=1; - break; - } - - ogg_stream_init(&test,ogg_page_serialno(&og)); - ogg_stream_pagein(&test,&og); - got_packet = ogg_stream_packetpeek(&test,&op); - - /* identify the codec: try theora */ - if((got_packet==1) && !theora_p && (theora_processing_headers= - th_decode_headerin(&ti,&tc,&ts,&op))>=0){ - /* it is theora -- save this stream state */ - memcpy(&to,&test,sizeof(test)); - theora_p=1; - /*Advance past the successfully processed header.*/ - if(theora_processing_headers)ogg_stream_packetout(&to,NULL); - }else{ - /* whatever it is, we don't care about it */ - ogg_stream_clear(&test); - } - } - /* fall through to non-bos page parsing */ - } - - /* we're expecting more header packets. */ - while(theora_p && theora_processing_headers){ - int ret; - - /* look for further theora headers */ - while(theora_processing_headers&&(ret=ogg_stream_packetpeek(&to,&op))){ - if(ret<0)continue; - theora_processing_headers=th_decode_headerin(&ti,&tc,&ts,&op); - if(theora_processing_headers<0){ - fprintf(stderr,"Error parsing Theora stream headers; " - "corrupt stream?\n"); - exit(1); - } - else if(theora_processing_headers>0){ - /*Advance past the successfully processed header.*/ - ogg_stream_packetout(&to,NULL); - } - theora_p++; - } - - /*Stop now so we don't fail if there aren't enough pages in a short - stream.*/ - if(!(theora_p && theora_processing_headers))break; - - /* The header pages/packets will arrive before anything else we - care about, or the stream is not obeying spec */ - - if(ogg_sync_pageout(&oy,&og)>0){ - queue_page(&og); /* demux into the appropriate stream */ - }else{ - int ret=buffer_data(infile,&oy); /* someone needs more data */ - if(ret==0){ - fprintf(stderr,"End of file while searching for codec headers.\n"); - exit(1); - } - } - } - - /* and now we have it all. initialize decoders */ - if(theora_p){ - dump_comments(&tc); - td=th_decode_alloc(&ti,ts); - fprintf(stderr,"Ogg logical stream %lx is Theora %dx%d %.02f fps video\n" - "Encoded frame content is %dx%d with %dx%d offset\n", - to.serialno,ti.frame_width,ti.frame_height, - (double)ti.fps_numerator/ti.fps_denominator, - ti.pic_width,ti.pic_height,ti.pic_x,ti.pic_y); - }else{ - /* tear down the partial theora setup */ - th_info_clear(&ti); - th_comment_clear(&tc); - } - /*Either way, we're done with the codec setup data.*/ - th_setup_free(ts); - - /* open video */ - if(theora_p)open_video(); - - if(!raw && outfile){ - static const char *CHROMA_TYPES[4]={"420jpeg",NULL,"422","444"}; - if(ti.pixel_fmt>=4||ti.pixel_fmt==TH_PF_RSVD){ - fprintf(stderr,"Unknown pixel format: %i\n",ti.pixel_fmt); - exit(1); - } - fprintf(outfile,"YUV4MPEG2 C%s W%d H%d F%d:%d I%c A%d:%d\n", - CHROMA_TYPES[ti.pixel_fmt],ti.frame_width,ti.frame_height, - ti.fps_numerator,ti.fps_denominator,'p', - ti.aspect_numerator,ti.aspect_denominator); - } - - /* install signal handler */ - signal (SIGINT, sigint_handler); - - /*Finally the main decode loop. - - It's one Theora packet per frame, so this is pretty straightforward if - we're not trying to maintain sync with other multiplexed streams. - - The videobuf_ready flag is used to maintain the input buffer in the libogg - stream state. - If there's no output frame available at the end of the decode step, we must - need more input data. - We could simplify this by just using the return code on - ogg_page_packetout(), but the flag system extends easily to the case where - you care about more than one multiplexed stream (like with audio - playback). - In that case, just maintain a flag for each decoder you care about, and - pull data when any one of them stalls. - - videobuf_time holds the presentation time of the currently buffered video - frame. - We ignore this value.*/ - - stateflag=0; /* playback has not begun */ - /* queue any remaining pages from data we buffered but that did not - contain headers */ - while(ogg_sync_pageout(&oy,&og)>0){ - queue_page(&og); - } - - if(fps_only){ - ftime(&start); - ftime(&last); - } - - while(!got_sigint){ - - while(theora_p && !videobuf_ready){ - /* theora is one in, one out... */ - if(ogg_stream_packetout(&to,&op)>0){ - - if(th_decode_packetin(td,&op,&videobuf_granulepos)>=0){ - videobuf_time=th_granule_time(td,videobuf_granulepos); - videobuf_ready=1; - frames++; - if(fps_only) - ftime(&after); - } - - }else - break; - } - - if(fps_only && (videobuf_ready || fps_only==2)){ - long ms = - after.time*1000.+after.millitm- - (last.time*1000.+last.millitm); - - if(ms>500 || fps_only==1 || - (feof(infile) && !videobuf_ready)){ - float file_fps = (float)ti.fps_numerator/ti.fps_denominator; - fps_only=2; - - ms = after.time*1000.+after.millitm- - (start.time*1000.+start.millitm); - - fprintf(stderr,"\rframe:%d rate:%.2fx ", - frames, - frames*1000./(ms*file_fps)); - memcpy(&last,&after,sizeof(last)); - } - } - - if(!videobuf_ready && feof(infile))break; - - if(!videobuf_ready){ - /* no data yet for somebody. Grab another page */ - buffer_data(infile,&oy); - while(ogg_sync_pageout(&oy,&og)>0){ - queue_page(&og); - } - } - /* dumpvideo frame, and get new one */ - else if(outfile)video_write(); - - videobuf_ready=0; - } - - /* end of decoder loop -- close everything */ - - if(theora_p){ - ogg_stream_clear(&to); - th_decode_free(td); - th_comment_clear(&tc); - th_info_clear(&ti); - } - ogg_sync_clear(&oy); - - if(infile && infile!=stdin)fclose(infile); - if(outfile && outfile!=stdout)fclose(outfile); - - fprintf(stderr, "\n\n%d frames\n", frames); - fprintf(stderr, "\nDone.\n"); - - return(0); - -} diff --git a/Libraries/libtheora-1.1.1/examples/encoder_example.c b/Libraries/libtheora-1.1.1/examples/encoder_example.c deleted file mode 100644 index 4b73b645..00000000 --- a/Libraries/libtheora-1.1.1/examples/encoder_example.c +++ /dev/null @@ -1,1826 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: example encoder application; makes an Ogg Theora/Vorbis - file from YUV4MPEG2 and WAV input - last mod: $Id: encoder_example.c 16517 2009-08-25 19:48:57Z giles $ - - ********************************************************************/ - -#if !defined(_REENTRANT) -#define _REENTRANT -#endif -#if !defined(_GNU_SOURCE) -#define _GNU_SOURCE -#endif -#if !defined(_LARGEFILE_SOURCE) -#define _LARGEFILE_SOURCE -#endif -#if !defined(_LARGEFILE64_SOURCE) -#define _LARGEFILE64_SOURCE -#endif -#if !defined(_FILE_OFFSET_BITS) -#define _FILE_OFFSET_BITS 64 -#endif - -#include -#if !defined(_WIN32) -#include -#include -#else -#include "getopt.h" -#endif -#include -#include -#include -#include -#include "theora/theoraenc.h" -#include "vorbis/codec.h" -#include "vorbis/vorbisenc.h" - -#ifdef _WIN32 -/*supply missing headers and functions to Win32. going to hell, I know*/ -#include -#include - -static double rint(double x) -{ - if (x < 0.0) - return (double)(int)(x - 0.5); - else - return (double)(int)(x + 0.5); -} -#endif - -const char *optstring = "b:e:o:a:A:v:V:s:S:f:F:ck:d:z:\1\2\3\4"; -struct option options [] = { - {"begin-time",required_argument,NULL,'b'}, - {"end-time",required_argument,NULL,'e'}, - {"output",required_argument,NULL,'o'}, - {"audio-rate-target",required_argument,NULL,'A'}, - {"video-rate-target",required_argument,NULL,'V'}, - {"audio-quality",required_argument,NULL,'a'}, - {"video-quality",required_argument,NULL,'v'}, - {"aspect-numerator",required_argument,NULL,'s'}, - {"aspect-denominator",required_argument,NULL,'S'}, - {"framerate-numerator",required_argument,NULL,'f'}, - {"framerate-denominator",required_argument,NULL,'F'}, - {"vp3-compatible",no_argument,NULL,'c'}, - {"speed",required_argument,NULL,'z'}, - {"soft-target",no_argument,NULL,'\1'}, - {"keyframe-freq",required_argument,NULL,'k'}, - {"buf-delay",required_argument,NULL,'d'}, - {"two-pass",no_argument,NULL,'\2'}, - {"first-pass",required_argument,NULL,'\3'}, - {"second-pass",required_argument,NULL,'\4'}, - {NULL,0,NULL,0} -}; - -/* You'll go to Hell for using globals. */ - -FILE *audio=NULL; -FILE *video=NULL; - -int audio_ch=0; -int audio_hz=0; - -float audio_q=.1f; -int audio_r=-1; -int vp3_compatible=0; - -int frame_w=0; -int frame_h=0; -int pic_w=0; -int pic_h=0; -int pic_x=0; -int pic_y=0; -int video_fps_n=-1; -int video_fps_d=-1; -int video_par_n=-1; -int video_par_d=-1; -char interlace; -int src_c_dec_h=2; -int src_c_dec_v=2; -int dst_c_dec_h=2; -int dst_c_dec_v=2; -char chroma_type[16]; - -/*The size of each converted frame buffer.*/ -size_t y4m_dst_buf_sz; -/*The amount to read directly into the converted frame buffer.*/ -size_t y4m_dst_buf_read_sz; -/*The size of the auxilliary buffer.*/ -size_t y4m_aux_buf_sz; -/*The amount to read into the auxilliary buffer.*/ -size_t y4m_aux_buf_read_sz; - -/*The function used to perform chroma conversion.*/ -typedef void (*y4m_convert_func)(unsigned char *_dst,unsigned char *_aux); - -y4m_convert_func y4m_convert=NULL; - -int video_r=-1; -int video_q=-1; -ogg_uint32_t keyframe_frequency=0; -int buf_delay=-1; - -long begin_sec=-1; -long begin_usec=0; -long end_sec=-1; -long end_usec=0; - -static void usage(void){ - fprintf(stderr, - "Usage: encoder_example [options] [audio_file] video_file\n\n" - "Options: \n\n" - " -o --output file name for encoded output;\n" - " If this option is not given, the\n" - " compressed data is sent to stdout.\n\n" - " -A --audio-rate-target bitrate target for Vorbis audio;\n" - " use -a and not -A if at all possible,\n" - " as -a gives higher quality for a given\n" - " bitrate.\n\n" - " -V --video-rate-target bitrate target for Theora video\n\n" - " --soft-target Use a large reservoir and treat the rate\n" - " as a soft target; rate control is less\n" - " strict but resulting quality is usually\n" - " higher/smoother overall. Soft target also\n" - " allows an optional -v setting to specify\n" - " a minimum allowed quality.\n\n" - " --two-pass Compress input using two-pass rate control\n" - " This option requires that the input to the\n" - " to the encoder is seekable and performs\n" - " both passes automatically.\n\n" - " --first-pass Perform first-pass of a two-pass rate\n" - " controlled encoding, saving pass data to\n" - " for a later second pass\n\n" - " --second-pass Perform second-pass of a two-pass rate\n" - " controlled encoding, reading first-pass\n" - " data from . The first pass\n" - " data must come from a first encoding pass\n" - " using identical input video to work\n" - " properly.\n\n" - " -a --audio-quality Vorbis quality selector from -1 to 10\n" - " (-1 yields smallest files but lowest\n" - " fidelity; 10 yields highest fidelity\n" - " but large files. '2' is a reasonable\n" - " default).\n\n" - " -v --video-quality Theora quality selector from 0 to 10\n" - " (0 yields smallest files but lowest\n" - " video quality. 10 yields highest\n" - " fidelity but large files).\n\n" - " -s --aspect-numerator Aspect ratio numerator, default is 0\n" - " or extracted from YUV input file\n" - " -S --aspect-denominator Aspect ratio denominator, default is 0\n" - " or extracted from YUV input file\n" - " -f --framerate-numerator Frame rate numerator, can be extracted\n" - " from YUV input file. ex: 30000000\n" - " -F --framerate-denominator Frame rate denominator, can be extracted\n" - " from YUV input file. ex: 1000000\n" - " The frame rate nominator divided by this\n" - " determinates the frame rate in units per tick\n" - " -k --keyframe-freq Keyframe frequency\n" - " -z --speed Sets the encoder speed level. Higher speed\n" - " levels favor quicker encoding over better\n" - " quality per bit. Depending on the encoding\n" - " mode, and the internal algorithms used,\n" - " quality may actually improve with higher\n" - " speeds, but in this case bitrate will also\n" - " likely increase. The maximum value, and the\n" - " meaning of each value, are implementation-\n" - " specific and may change depending on the\n" - " current encoding mode (rate constrained,\n" - " two-pass, etc.).\n" - " -d --buf-delay Buffer delay (in frames). Longer delays\n" - " allow smoother rate adaptation and provide\n" - " better overall quality, but require more\n" - " client side buffering and add latency. The\n" - " default value is the keyframe interval for\n" - " one-pass encoding (or somewhat larger if\n" - " --soft-target is used) and infinite for\n" - " two-pass encoding.\n" - " -b --begin-time Begin encoding at offset into input\n" - " -e --end-time End encoding at offset into input\n" - "encoder_example accepts only uncompressed RIFF WAV format audio and\n" - "YUV4MPEG2 uncompressed video.\n\n"); - exit(1); -} - -static int y4m_parse_tags(char *_tags){ - int got_w; - int got_h; - int got_fps; - int got_interlace; - int got_par; - int got_chroma; - int tmp_video_fps_n; - int tmp_video_fps_d; - int tmp_video_par_n; - int tmp_video_par_d; - char *p; - char *q; - got_w=got_h=got_fps=got_interlace=got_par=got_chroma=0; - for(p=_tags;;p=q){ - /*Skip any leading spaces.*/ - while(*p==' ')p++; - /*If that's all we have, stop.*/ - if(p[0]=='\0')break; - /*Find the end of this tag.*/ - for(q=p+1;*q!='\0'&&*q!=' ';q++); - /*Process the tag.*/ - switch(p[0]){ - case 'W':{ - if(sscanf(p+1,"%d",&pic_w)!=1)return -1; - got_w=1; - }break; - case 'H':{ - if(sscanf(p+1,"%d",&pic_h)!=1)return -1; - got_h=1; - }break; - case 'F':{ - if(sscanf(p+1,"%d:%d",&tmp_video_fps_n,&tmp_video_fps_d)!=2)return -1; - got_fps=1; - }break; - case 'I':{ - interlace=p[1]; - got_interlace=1; - }break; - case 'A':{ - if(sscanf(p+1,"%d:%d",&tmp_video_par_n,&tmp_video_par_d)!=2)return -1; - got_par=1; - }break; - case 'C':{ - if(q-p>16)return -1; - memcpy(chroma_type,p+1,q-p-1); - chroma_type[q-p-1]='\0'; - got_chroma=1; - }break; - /*Ignore unknown tags.*/ - } - } - if(!got_w||!got_h||!got_fps||!got_interlace||!got_par)return -1; - /*Chroma-type is not specified in older files, e.g., those generated by - mplayer.*/ - if(!got_chroma)strcpy(chroma_type,"420"); - /*Update fps and aspect ratio globals if not specified in the command line.*/ - if(video_fps_n==-1)video_fps_n=tmp_video_fps_n; - if(video_fps_d==-1)video_fps_d=tmp_video_fps_d; - if(video_par_n==-1)video_par_n=tmp_video_par_n; - if(video_par_d==-1)video_par_d=tmp_video_par_d; - return 0; -} - -/*All anti-aliasing filters in the following conversion functions are based on - one of two window functions: - The 6-tap Lanczos window (for down-sampling and shifts): - sinc(\pi*t)*sinc(\pi*t/3), |t|<3 (sinc(t)==sin(t)/t) - 0, |t|>=3 - The 4-tap Mitchell window (for up-sampling): - 7|t|^3-12|t|^2+16/3, |t|<1 - -(7/3)|x|^3+12|x|^2-20|x|+32/3, |t|<2 - 0, |t|>=2 - The number of taps is intentionally kept small to reduce computational - overhead and limit ringing. - - The taps from these filters are scaled so that their sum is 1, and the result - is scaled by 128 and rounded to integers to create a filter whose - intermediate values fit inside 16 bits. - Coefficients are rounded in such a way as to ensure their sum is still 128, - which is usually equivalent to normal rounding.*/ - -#define OC_MINI(_a,_b) ((_a)>(_b)?(_b):(_a)) -#define OC_MAXI(_a,_b) ((_a)<(_b)?(_b):(_a)) -#define OC_CLAMPI(_a,_b,_c) (OC_MAXI(_a,OC_MINI(_b,_c))) - -/*420jpeg chroma samples are sited like: - Y-------Y-------Y-------Y------- - | | | | - | BR | | BR | - | | | | - Y-------Y-------Y-------Y------- - | | | | - | | | | - | | | | - Y-------Y-------Y-------Y------- - | | | | - | BR | | BR | - | | | | - Y-------Y-------Y-------Y------- - | | | | - | | | | - | | | | - - 420mpeg2 chroma samples are sited like: - Y-------Y-------Y-------Y------- - | | | | - BR | BR | - | | | | - Y-------Y-------Y-------Y------- - | | | | - | | | | - | | | | - Y-------Y-------Y-------Y------- - | | | | - BR | BR | - | | | | - Y-------Y-------Y-------Y------- - | | | | - | | | | - | | | | - - We use a resampling filter to shift the site locations one quarter pixel (at - the chroma plane's resolution) to the right. - The 4:2:2 modes look exactly the same, except there are twice as many chroma - lines, and they are vertically co-sited with the luma samples in both the - mpeg2 and jpeg cases (thus requiring no vertical resampling).*/ -static void y4m_convert_42xmpeg2_42xjpeg(unsigned char *_dst, - unsigned char *_aux){ - int c_w; - int c_h; - int pli; - int y; - int x; - /*Skip past the luma data.*/ - _dst+=pic_w*pic_h; - /*Compute the size of each chroma plane.*/ - c_w=(pic_w+dst_c_dec_h-1)/dst_c_dec_h; - c_h=(pic_h+dst_c_dec_v-1)/dst_c_dec_v; - for(pli=1;pli<3;pli++){ - for(y=0;y>7,255); - } - for(;x>7,255); - } - for(;x>7,255); - } - _dst+=c_w; - _aux+=c_w; - } - } -} - -/*This format is only used for interlaced content, but is included for - completeness. - - 420jpeg chroma samples are sited like: - Y-------Y-------Y-------Y------- - | | | | - | BR | | BR | - | | | | - Y-------Y-------Y-------Y------- - | | | | - | | | | - | | | | - Y-------Y-------Y-------Y------- - | | | | - | BR | | BR | - | | | | - Y-------Y-------Y-------Y------- - | | | | - | | | | - | | | | - - 420paldv chroma samples are sited like: - YR------Y-------YR------Y------- - | | | | - | | | | - | | | | - YB------Y-------YB------Y------- - | | | | - | | | | - | | | | - YR------Y-------YR------Y------- - | | | | - | | | | - | | | | - YB------Y-------YB------Y------- - | | | | - | | | | - | | | | - - We use a resampling filter to shift the site locations one quarter pixel (at - the chroma plane's resolution) to the right. - Then we use another filter to move the C_r location down one quarter pixel, - and the C_b location up one quarter pixel.*/ -static void y4m_convert_42xpaldv_42xjpeg(unsigned char *_dst, - unsigned char *_aux){ - unsigned char *tmp; - int c_w; - int c_h; - int c_sz; - int pli; - int y; - int x; - /*Skip past the luma data.*/ - _dst+=pic_w*pic_h; - /*Compute the size of each chroma plane.*/ - c_w=(pic_w+1)/2; - c_h=(pic_h+dst_c_dec_h-1)/dst_c_dec_h; - c_sz=c_w*c_h; - /*First do the horizontal re-sampling. - This is the same as the mpeg2 case, except that after the horizontal case, - we need to apply a second vertical filter.*/ - tmp=_aux+2*c_sz; - for(pli=1;pli<3;pli++){ - for(y=0;y>7,255); - } - for(;x>7,255); - } - for(;x>7,255); - } - tmp+=c_w; - _aux+=c_w; - } - switch(pli){ - case 1:{ - tmp-=c_sz; - /*Slide C_b up a quarter-pel. - This is the same filter used above, but in the other order.*/ - for(x=0;x>7,255); - } - for(;y>7,255); - } - for(;y>7,255); - } - _dst++; - tmp++; - } - _dst+=c_sz-c_w; - tmp-=c_w; - }break; - case 2:{ - tmp-=c_sz; - /*Slide C_r down a quarter-pel. - This is the same as the horizontal filter.*/ - for(x=0;x>7,255); - } - for(;y>7,255); - } - for(;y>7,255); - } - _dst++; - tmp++; - } - }break; - } - /*For actual interlaced material, this would have to be done separately on - each field, and the shift amounts would be different. - C_r moves down 1/8, C_b up 3/8 in the top field, and C_r moves down 3/8, - C_b up 1/8 in the bottom field. - The corresponding filters would be: - Down 1/8 (reverse order for up): [3 -11 125 15 -4 0]/128 - Down 3/8 (reverse order for up): [4 -19 98 56 -13 2]/128*/ - } -} - -/*422jpeg chroma samples are sited like: - Y---BR--Y-------Y---BR--Y------- - | | | | - | | | | - | | | | - Y---BR--Y-------Y---BR--Y------- - | | | | - | | | | - | | | | - Y---BR--Y-------Y---BR--Y------- - | | | | - | | | | - | | | | - Y---BR--Y-------Y---BR--Y------- - | | | | - | | | | - | | | | - - 411 chroma samples are sited like: - YBR-----Y-------Y-------Y------- - | | | | - | | | | - | | | | - YBR-----Y-------Y-------Y------- - | | | | - | | | | - | | | | - YBR-----Y-------Y-------Y------- - | | | | - | | | | - | | | | - YBR-----Y-------Y-------Y------- - | | | | - | | | | - | | | | - - We use a filter to resample at site locations one eighth pixel (at the source - chroma plane's horizontal resolution) and five eighths of a pixel to the - right.*/ -static void y4m_convert_411_422jpeg(unsigned char *_dst, - unsigned char *_aux){ - int c_w; - int dst_c_w; - int c_h; - int pli; - int y; - int x; - /*Skip past the luma data.*/ - _dst+=pic_w*pic_h; - /*Compute the size of each chroma plane.*/ - c_w=(pic_w+src_c_dec_h-1)/src_c_dec_h; - dst_c_w=(pic_w+dst_c_dec_h-1)/dst_c_dec_h; - c_h=(pic_h+dst_c_dec_v-1)/dst_c_dec_v; - for(pli=1;pli<3;pli++){ - for(y=0;y>7,255); - _dst[x<<1|1]=(unsigned char)OC_CLAMPI(0,47*_aux[0]+ - 86*_aux[OC_MINI(1,c_w-1)]-5*_aux[OC_MINI(2,c_w-1)]+64>>7,255); - } - for(;x>7,255); - _dst[x<<1|1]=(unsigned char)OC_CLAMPI(0,-3*_aux[x-1]+50*_aux[x]+ - 86*_aux[x+1]-5*_aux[x+2]+64>>7,255); - } - for(;x>7,255); - if((x<<1|1)>7,255); - } - } - _dst+=dst_c_w; - _aux+=c_w; - } - } -} - -/*The image is padded with empty chroma components at 4:2:0. - This costs about 17 bits a frame to code.*/ -static void y4m_convert_mono_420jpeg(unsigned char *_dst, - unsigned char *_aux){ - int c_sz; - _dst+=pic_w*pic_h; - c_sz=((pic_w+dst_c_dec_h-1)/dst_c_dec_h)*((pic_h+dst_c_dec_v-1)/dst_c_dec_v); - memset(_dst,128,c_sz*2); -} - -#if 0 -/*Right now just 444 to 420. - Not too hard to generalize.*/ -static void y4m_convert_4xxjpeg_42xjpeg(unsigned char *_dst, - unsigned char *_aux){ - unsigned char *tmp; - int c_w; - int c_h; - int pic_sz; - int tmp_sz; - int c_sz; - int pli; - int y; - int x; - /*Compute the size of each chroma plane.*/ - c_w=(pic_w+dst_c_dec_h-1)/dst_c_dec_h; - c_h=(pic_h+dst_c_dec_v-1)/dst_c_dec_v; - pic_sz=pic_w*pic_h; - tmp_sz=c_w*pic_h; - c_sz=c_w*c_h; - _dst+=pic_sz; - for(pli=1;pli<3;pli++){ - tmp=_aux+pic_sz; - /*In reality, the horizontal and vertical steps could be pipelined, for - less memory consumption and better cache performance, but we do them - separately for simplicity.*/ - /*First do horizontal filtering (convert to 4:2:2)*/ - /*Filter: [3 -17 78 78 -17 3]/128, derived from a 6-tap Lanczos window.*/ - for(y=0;y>1]=OC_CLAMPI(0,64*_aux[0]+78*_aux[OC_MINI(1,pic_w-1)]- - 17*_aux[OC_MINI(2,pic_w-1)]+3*_aux[OC_MINI(3,pic_w-1)]+64>>7,255); - } - for(;x>1]=OC_CLAMPI(0,3*(_aux[x-2]+_aux[x+3])-17*(_aux[x-1]+_aux[x+2])+ - 78*(_aux[x]+_aux[x+1])+64>>7,255); - } - for(;x>1]=OC_CLAMPI(0,3*(_aux[x-2]+_aux[pic_w-1])- - 17*(_aux[x-1]+_aux[OC_MINI(x+2,pic_w-1)])+ - 78*(_aux[x]+_aux[OC_MINI(x+1,pic_w-1)])+64>>7,255); - } - tmp+=c_w; - _aux+=pic_w; - } - _aux-=pic_sz; - tmp-=tmp_sz; - /*Now do the vertical filtering.*/ - for(x=0;x>1)*c_w]=OC_CLAMPI(0,64*tmp[0]+78*tmp[OC_MINI(1,pic_h-1)*c_w]- - 17*tmp[OC_MINI(2,pic_h-1)*c_w]+3*tmp[OC_MINI(3,pic_h-1)*c_w]+ - 64>>7,255); - } - for(;y>1)*c_w]=OC_CLAMPI(0,3*(tmp[(y-2)*c_w]+tmp[(y+3)*c_w])- - 17*(tmp[(y-1)*c_w]+tmp[(y+2)*c_w])+78*(tmp[y*c_w]+tmp[(y+1)*c_w])+ - 64>>7,255); - } - for(;y>1)*c_w]=OC_CLAMPI(0,3*(tmp[(y-2)*c_w]+tmp[(pic_h-1)*c_w])- - 17*(tmp[(y-1)*c_w]+tmp[OC_MINI(y+2,pic_h-1)*c_w])+ - 78*(tmp[y*c_w]+tmp[OC_MINI(y+1,pic_h-1)*c_w])+64>>7,255); - } - tmp++; - _dst++; - } - _dst-=c_w; - } -} -#endif - - -/*No conversion function needed.*/ -static void y4m_convert_null(unsigned char *_dst, - unsigned char *_aux){ -} - -static void id_file(char *f){ - FILE *test; - unsigned char buffer[80]; - int ret; - - /* open it, look for magic */ - - if(!strcmp(f,"-")){ - /* stdin */ - test=stdin; - }else{ - test=fopen(f,"rb"); - if(!test){ - fprintf(stderr,"Unable to open file %s.\n",f); - exit(1); - } - } - - ret=fread(buffer,1,4,test); - if(ret<4){ - fprintf(stderr,"EOF determining file type of file %s.\n",f); - exit(1); - } - - if(!memcmp(buffer,"RIFF",4)){ - /* possible WAV file */ - - if(audio){ - /* umm, we already have one */ - fprintf(stderr,"Multiple RIFF WAVE files specified on command line.\n"); - exit(1); - } - - /* Parse the rest of the header */ - - ret=fread(buffer,1,8,test); - if(ret<8)goto riff_err; - if(!memcmp(buffer+4,"WAVE",4)){ - - while(!feof(test)){ - ret=fread(buffer,1,4,test); - if(ret<4)goto riff_err; - if(!memcmp("fmt",buffer,3)){ - - /* OK, this is our audio specs chunk. Slurp it up. */ - - ret=fread(buffer,1,20,test); - if(ret<20)goto riff_err; - - if(memcmp(buffer+4,"\001\000",2)){ - fprintf(stderr,"The WAV file %s is in a compressed format; " - "can't read it.\n",f); - exit(1); - } - - audio=test; - audio_ch=buffer[6]+(buffer[7]<<8); - audio_hz=buffer[8]+(buffer[9]<<8)+ - (buffer[10]<<16)+(buffer[11]<<24); - - if(buffer[18]+(buffer[19]<<8)!=16){ - fprintf(stderr,"Can only read 16 bit WAV files for now.\n"); - exit(1); - } - - /* Now, align things to the beginning of the data */ - /* Look for 'dataxxxx' */ - while(!feof(test)){ - ret=fread(buffer,1,4,test); - if(ret<4)goto riff_err; - if(!memcmp("data",buffer,4)){ - /* We're there. Ignore the declared size for now. */ - ret=fread(buffer,1,4,test); - if(ret<4)goto riff_err; - - fprintf(stderr,"File %s is 16 bit %d channel %d Hz RIFF WAV audio.\n", - f,audio_ch,audio_hz); - - return; - } - } - } - } - } - - fprintf(stderr,"Couldn't find WAVE data in RIFF file %s.\n",f); - exit(1); - - } - if(!memcmp(buffer,"YUV4",4)){ - /* possible YUV2MPEG2 format file */ - /* read until newline, or 80 cols, whichever happens first */ - int i; - for(i=0;i<79;i++){ - ret=fread(buffer+i,1,1,test); - if(ret<1)goto yuv_err; - if(buffer[i]=='\n')break; - } - if(i==79){ - fprintf(stderr,"Error parsing %s header; not a YUV2MPEG2 file?\n",f); - } - buffer[i]='\0'; - - if(!memcmp(buffer,"MPEG",4)){ - - if(video){ - /* umm, we already have one */ - fprintf(stderr,"Multiple video files specified on command line.\n"); - exit(1); - } - - if(buffer[4]!='2'){ - fprintf(stderr,"Incorrect YUV input file version; YUV4MPEG2 required.\n"); - } - - ret=y4m_parse_tags((char *)buffer+5); - if(ret<0){ - fprintf(stderr,"Error parsing YUV4MPEG2 header in file %s.\n",f); - exit(1); - } - - if(interlace!='p'){ - fprintf(stderr,"Input video is interlaced; Theora handles only progressive scan\n"); - exit(1); - } - - if(strcmp(chroma_type,"420")==0||strcmp(chroma_type,"420jpeg")==0){ - src_c_dec_h=dst_c_dec_h=src_c_dec_v=dst_c_dec_v=2; - y4m_dst_buf_read_sz=pic_w*pic_h+2*((pic_w+1)/2)*((pic_h+1)/2); - y4m_aux_buf_sz=y4m_aux_buf_read_sz=0; - y4m_convert=y4m_convert_null; - } - else if(strcmp(chroma_type,"420mpeg2")==0){ - src_c_dec_h=dst_c_dec_h=src_c_dec_v=dst_c_dec_v=2; - y4m_dst_buf_read_sz=pic_w*pic_h; - /*Chroma filter required: read into the aux buf first.*/ - y4m_aux_buf_sz=y4m_aux_buf_read_sz=2*((pic_w+1)/2)*((pic_h+1)/2); - y4m_convert=y4m_convert_42xmpeg2_42xjpeg; - } - else if(strcmp(chroma_type,"420paldv")==0){ - src_c_dec_h=dst_c_dec_h=src_c_dec_v=dst_c_dec_v=2; - y4m_dst_buf_read_sz=pic_w*pic_h; - /*Chroma filter required: read into the aux buf first. - We need to make two filter passes, so we need some extra space in the - aux buffer.*/ - y4m_aux_buf_sz=3*((pic_w+1)/2)*((pic_h+1)/2); - y4m_aux_buf_read_sz=2*((pic_w+1)/2)*((pic_h+1)/2); - y4m_convert=y4m_convert_42xpaldv_42xjpeg; - } - else if(strcmp(chroma_type,"422")==0){ - src_c_dec_h=dst_c_dec_h=2; - src_c_dec_v=dst_c_dec_v=1; - y4m_dst_buf_read_sz=pic_w*pic_h; - /*Chroma filter required: read into the aux buf first.*/ - y4m_aux_buf_sz=y4m_aux_buf_read_sz=2*((pic_w+1)/2)*pic_h; - y4m_convert=y4m_convert_42xmpeg2_42xjpeg; - } - else if(strcmp(chroma_type,"411")==0){ - src_c_dec_h=4; - /*We don't want to introduce any additional sub-sampling, so we - promote 4:1:1 material to 4:2:2, as the closest format Theora can - handle.*/ - dst_c_dec_h=2; - src_c_dec_v=dst_c_dec_v=1; - y4m_dst_buf_read_sz=pic_w*pic_h; - /*Chroma filter required: read into the aux buf first.*/ - y4m_aux_buf_sz=y4m_aux_buf_read_sz=2*((pic_w+3)/4)*pic_h; - y4m_convert=y4m_convert_411_422jpeg; - } - else if(strcmp(chroma_type,"444")==0){ - src_c_dec_h=dst_c_dec_h=src_c_dec_v=dst_c_dec_v=1; - y4m_dst_buf_read_sz=pic_w*pic_h*3; - y4m_aux_buf_sz=y4m_aux_buf_read_sz=0; - y4m_convert=y4m_convert_null; - } - else if(strcmp(chroma_type,"444alpha")==0){ - src_c_dec_h=dst_c_dec_h=src_c_dec_v=dst_c_dec_v=1; - y4m_dst_buf_read_sz=pic_w*pic_h*3; - /*Read the extra alpha plane into the aux buf. - It will be discarded.*/ - y4m_aux_buf_sz=y4m_aux_buf_read_sz=pic_w*pic_h; - y4m_convert=y4m_convert_null; - } - else if(strcmp(chroma_type,"mono")==0){ - src_c_dec_h=src_c_dec_v=0; - dst_c_dec_h=dst_c_dec_v=2; - y4m_dst_buf_read_sz=pic_w*pic_h; - y4m_aux_buf_sz=y4m_aux_buf_read_sz=0; - y4m_convert=y4m_convert_mono_420jpeg; - } - else{ - fprintf(stderr,"Unknown chroma sampling type: %s\n",chroma_type); - exit(1); - } - /*The size of the final frame buffers is always computed from the - destination chroma decimation type.*/ - y4m_dst_buf_sz=pic_w*pic_h+2*((pic_w+dst_c_dec_h-1)/dst_c_dec_h)* - ((pic_h+dst_c_dec_v-1)/dst_c_dec_v); - - video=test; - - fprintf(stderr,"File %s is %dx%d %.02f fps %s video.\n", - f,pic_w,pic_h,(double)video_fps_n/video_fps_d,chroma_type); - - return; - } - } - fprintf(stderr,"Input file %s is neither a WAV nor YUV4MPEG2 file.\n",f); - exit(1); - - riff_err: - fprintf(stderr,"EOF parsing RIFF file %s.\n",f); - exit(1); - yuv_err: - fprintf(stderr,"EOF parsing YUV4MPEG2 file %s.\n",f); - exit(1); - -} - -int spinner=0; -char *spinascii="|/-\\"; -void spinnit(void){ - spinner++; - if(spinner==4)spinner=0; - fprintf(stderr,"\r%c",spinascii[spinner]); -} - -int fetch_and_process_audio(FILE *audio,ogg_page *audiopage, - ogg_stream_state *vo, - vorbis_dsp_state *vd, - vorbis_block *vb, - int audioflag){ - static ogg_int64_t samples_sofar=0; - ogg_packet op; - int i,j; - ogg_int64_t beginsample = audio_hz*begin_sec + audio_hz*begin_usec*.000001; - ogg_int64_t endsample = audio_hz*end_sec + audio_hz*end_usec*.000001; - - while(audio && !audioflag){ - /* process any audio already buffered */ - spinnit(); - if(ogg_stream_pageout(vo,audiopage)>0) return 1; - if(ogg_stream_eos(vo))return 0; - - { - /* read and process more audio */ - signed char readbuffer[4096]; - signed char *readptr=readbuffer; - int toread=4096/2/audio_ch; - int bytesread=fread(readbuffer,1,toread*2*audio_ch,audio); - int sampread=bytesread/2/audio_ch; - float **vorbis_buffer; - int count=0; - - if(bytesread<=0 || - (samples_sofar>=endsample && endsample>0)){ - /* end of file. this can be done implicitly, but it's - easier to see here in non-clever fashion. Tell the - library we're at end of stream so that it can handle the - last frame and mark end of stream in the output properly */ - vorbis_analysis_wrote(vd,0); - }else{ - if(samples_sofar < beginsample){ - if(samples_sofar+sampread > beginsample){ - readptr += (beginsample-samples_sofar)*2*audio_ch; - sampread += samples_sofar-beginsample; - samples_sofar = sampread+beginsample; - }else{ - samples_sofar += sampread; - sampread = 0; - } - }else{ - samples_sofar += sampread; - } - - if(samples_sofar > endsample && endsample > 0) - sampread-= (samples_sofar - endsample); - - if(sampread>0){ - - vorbis_buffer=vorbis_analysis_buffer(vd,sampread); - /* uninterleave samples */ - for(i=0;i=beginframe) - frame_state++; - } - /* check to see if there are dupes to flush */ - if(th_encode_packetout(td,frame_state<1,op)>0)return 1; - if(frame_state<1){ - /* can't get here unless YUV4MPEG stream has no video */ - fprintf(stderr,"Video input contains no frames.\n"); - exit(1); - } - /* Theora is a one-frame-in,one-frame-out system; submit a frame - for compression and pull out the packet */ - /* in two-pass mode's second pass, we need to submit first-pass data */ - if(passno==2){ - for(;;){ - static unsigned char buffer[80]; - static int buf_pos; - int bytes; - /*Ask the encoder how many bytes it would like.*/ - bytes=th_encode_ctl(td,TH_ENCCTL_2PASS_IN,NULL,0); - if(bytes<0){ - fprintf(stderr,"Error submitting pass data in second pass.\n"); - exit(1); - } - /*If it's got enough, stop.*/ - if(bytes==0)break; - /*Read in some more bytes, if necessary.*/ - if(bytes>80-buf_pos)bytes=80-buf_pos; - if(bytes>0&&fread(buffer+buf_pos,1,bytes,twopass_file)=bytes)buf_pos=0; - /*Otherwise remember how much it used.*/ - else buf_pos+=ret; - } - } - /*We submit the buffer to the library as if it were padded, but we do not - actually allocate space for the padding. - This is okay, because with the 1.0 API the library will never read data from the padded - region.*/ - ycbcr[0].width=frame_w; - ycbcr[0].height=frame_h; - ycbcr[0].stride=pic_w; - ycbcr[0].data=yuvframe[0]-pic_x-pic_y*pic_w; - ycbcr[1].width=frame_c_w; - ycbcr[1].height=frame_c_h; - ycbcr[1].stride=c_w; - ycbcr[1].data=yuvframe[0]+pic_sz-(pic_x/dst_c_dec_h)-(pic_y/dst_c_dec_v)*c_w; - ycbcr[2].width=frame_c_w; - ycbcr[2].height=frame_c_h; - ycbcr[2].stride=c_w; - ycbcr[2].data=ycbcr[1].data+c_sz; - th_encode_ycbcr_in(td,ycbcr); - { - unsigned char *temp=yuvframe[0]; - yuvframe[0]=yuvframe[1]; - yuvframe[1]=temp; - frame_state--; - } - /* in two-pass mode's first pass we need to extract and save the pass data */ - if(passno==1){ - unsigned char *buffer; - int bytes = th_encode_ctl(td, TH_ENCCTL_2PASS_OUT, &buffer, sizeof(buffer)); - if(bytes<0){ - fprintf(stderr,"Could not read two-pass data from encoder.\n"); - exit(1); - } - if(fwrite(buffer,1,bytes,twopass_file)0) return 1; - if(ogg_stream_eos(to)) return 0; - ret=fetch_and_process_video_packet(video,twopass_file,passno,td,&op); - if(ret<=0)return 0; - ogg_stream_packetin(to,&op); - } - return videoflag; -} - -static int ilog(unsigned _v){ - int ret; - for(ret=0;_v;ret++)_v>>=1; - return ret; -} - -int main(int argc,char *argv[]){ - int c,long_option_index,ret; - - ogg_stream_state to; /* take physical pages, weld into a logical - stream of packets */ - ogg_stream_state vo; /* take physical pages, weld into a logical - stream of packets */ - ogg_page og; /* one Ogg bitstream page. Vorbis packets are inside */ - ogg_packet op; /* one raw packet of data for decode */ - - th_enc_ctx *td; - th_info ti; - th_comment tc; - - vorbis_info vi; /* struct that stores all the static vorbis bitstream - settings */ - vorbis_comment vc; /* struct that stores all the user comments */ - - vorbis_dsp_state vd; /* central working state for the packet->PCM decoder */ - vorbis_block vb; /* local working space for packet->PCM decode */ - - int speed=-1; - int audioflag=0; - int videoflag=0; - int akbps=0; - int vkbps=0; - int soft_target=0; - - ogg_int64_t audio_bytesout=0; - ogg_int64_t video_bytesout=0; - double timebase; - - FILE *outfile = stdout; - - FILE *twopass_file = NULL; - fpos_t video_rewind_pos; - int twopass=0; - int passno; - -#ifdef _WIN32 /* We need to set stdin/stdout to binary mode. Damn windows. */ - /* if we were reading/writing a file, it would also need to in - binary mode, eg, fopen("file.wav","wb"); */ - /* Beware the evil ifdef. We avoid these where we can, but this one we - cannot. Don't add any more, you'll probably go to hell if you do. */ - _setmode( _fileno( stdin ), _O_BINARY ); - _setmode( _fileno( stdout ), _O_BINARY ); -#endif - - while((c=getopt_long(argc,argv,optstring,options,&long_option_index))!=EOF){ - switch(c){ - case 'o': - outfile=fopen(optarg,"wb"); - if(outfile==NULL){ - fprintf(stderr,"Unable to open output file '%s'\n", optarg); - exit(1); - } - break;; - - case 'a': - audio_q=(float)(atof(optarg)*.099); - if(audio_q<-.1 || audio_q>1){ - fprintf(stderr,"Illegal audio quality (choose -1 through 10)\n"); - exit(1); - } - audio_r=-1; - break; - - case 'v': - video_q=(int)rint(6.3*atof(optarg)); - if(video_q<0 || video_q>63){ - fprintf(stderr,"Illegal video quality (choose 0 through 10)\n"); - exit(1); - } - break; - - case 'A': - audio_r=(int)(atof(optarg)*1000); - if(audio_q<0){ - fprintf(stderr,"Illegal audio quality (choose > 0 please)\n"); - exit(1); - } - audio_q=-99; - break; - - case 'V': - video_r=(int)rint(atof(optarg)*1000); - if(video_r<1){ - fprintf(stderr,"Illegal video bitrate (choose > 0 please)\n"); - exit(1); - } - break; - - case '\1': - soft_target=1; - break; - - case 's': - video_par_n=(int)rint(atof(optarg)); - break; - - case 'S': - video_par_d=(int)rint(atof(optarg)); - break; - - case 'f': - video_fps_n=(int)rint(atof(optarg)); - break; - - case 'F': - video_fps_d=(int)rint(atof(optarg)); - break; - - case 'c': - vp3_compatible=1; - break; - - case 'k': - keyframe_frequency=rint(atof(optarg)); - if(keyframe_frequency<1 || keyframe_frequency>2147483647){ - fprintf(stderr,"Illegal keyframe frequency\n"); - exit(1); - } - break; - - case 'd': - buf_delay=atoi(optarg); - if(buf_delay<=0){ - fprintf(stderr,"Illegal buffer delay\n"); - exit(1); - } - break; - - case 'z': - speed=atoi(optarg); - if(speed<0){ - fprintf(stderr,"Illegal speed level\n"); - exit(1); - } - break; - - case 'b': - { - char *pos=strchr(optarg,':'); - begin_sec=atol(optarg); - if(pos){ - char *pos2=strchr(++pos,':'); - begin_sec*=60; - begin_sec+=atol(pos); - if(pos2){ - pos2++; - begin_sec*=60; - begin_sec+=atol(pos2); - pos=pos2; - } - }else - pos=optarg; - pos=strchr(pos,'.'); - if(pos){ - int digits = strlen(++pos); - begin_usec=atol(pos); - while(digits++ < 6) - begin_usec*=10; - } - } - break; - case 'e': - { - char *pos=strchr(optarg,':'); - end_sec=atol(optarg); - if(pos){ - char *pos2=strchr(++pos,':'); - end_sec*=60; - end_sec+=atol(pos); - if(pos2){ - pos2++; - end_sec*=60; - end_sec+=atol(pos2); - pos=pos2; - } - }else - pos=optarg; - pos=strchr(pos,'.'); - if(pos){ - int digits = strlen(++pos); - end_usec=atol(pos); - while(digits++ < 6) - end_usec*=10; - } - } - break; - case '\2': - twopass=3; /* perform both passes */ - twopass_file=tmpfile(); - if(!twopass_file){ - fprintf(stderr,"Unable to open temporary file for twopass data\n"); - exit(1); - } - break; - case '\3': - twopass=1; /* perform first pass */ - twopass_file=fopen(optarg,"wb"); - if(!twopass_file){ - fprintf(stderr,"Unable to open \'%s\' for twopass data\n",optarg); - exit(1); - } - break; - case '\4': - twopass=2; /* perform second pass */ - twopass_file=fopen(optarg,"rb"); - if(!twopass_file){ - fprintf(stderr,"Unable to open twopass data file \'%s\'",optarg); - exit(1); - } - break; - - default: - usage(); - } - } - - if(soft_target){ - if(video_r<=0){ - fprintf(stderr,"Soft rate target (--soft-target) requested without a bitrate (-V).\n"); - exit(1); - } - if(video_q==-1) - video_q=0; - }else{ - if(video_q==-1){ - if(video_r>0) - video_q=0; - else - video_q=48; - } - } - - if(keyframe_frequency<=0){ - /*Use a default keyframe frequency of 64 for 1-pass (streaming) mode, and - 256 for two-pass mode.*/ - keyframe_frequency=twopass?256:64; - } - - while(optind-99) - ret = vorbis_encode_init_vbr(&vi,audio_ch,audio_hz,audio_q); - else - ret = vorbis_encode_init(&vi,audio_ch,audio_hz,-1, - (int)(64870*(ogg_int64_t)audio_r>>16),-1); - if(ret){ - fprintf(stderr,"The Vorbis encoder could not set up a mode according to\n" - "the requested quality or bitrate.\n\n"); - exit(1); - } - - vorbis_comment_init(&vc); - vorbis_analysis_init(&vd,&vi); - vorbis_block_init(&vd,&vb); - } - - for(passno=(twopass==3?1:twopass);passno<=(twopass==3?2:twopass);passno++){ - /* Set up Theora encoder */ - if(!video){ - fprintf(stderr,"No video files submitted for compression?\n"); - exit(1); - } - /* Theora has a divisible-by-sixteen restriction for the encoded frame size */ - /* scale the picture size up to the nearest /16 and calculate offsets */ - frame_w=pic_w+15&~0xF; - frame_h=pic_h+15&~0xF; - /*Force the offsets to be even so that chroma samples line up like we - expect.*/ - pic_x=frame_w-pic_w>>1&~1; - pic_y=frame_h-pic_h>>1&~1; - th_info_init(&ti); - ti.frame_width=frame_w; - ti.frame_height=frame_h; - ti.pic_width=pic_w; - ti.pic_height=pic_h; - ti.pic_x=pic_x; - ti.pic_y=pic_y; - ti.fps_numerator=video_fps_n; - ti.fps_denominator=video_fps_d; - ti.aspect_numerator=video_par_n; - ti.aspect_denominator=video_par_d; - ti.colorspace=TH_CS_UNSPECIFIED; - /*Account for the Ogg page overhead. - This is 1 byte per 255 for lacing values, plus 26 bytes per 4096 bytes for - the page header, plus approximately 1/2 byte per packet (not accounted for - here).*/ - ti.target_bitrate=(int)(64870*(ogg_int64_t)video_r>>16); - ti.quality=video_q; - ti.keyframe_granule_shift=ilog(keyframe_frequency-1); - if(dst_c_dec_h==2){ - if(dst_c_dec_v==2)ti.pixel_fmt=TH_PF_420; - else ti.pixel_fmt=TH_PF_422; - } - else ti.pixel_fmt=TH_PF_444; - td=th_encode_alloc(&ti); - th_info_clear(&ti); - /* setting just the granule shift only allows power-of-two keyframe - spacing. Set the actual requested spacing. */ - ret=th_encode_ctl(td,TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE, - &keyframe_frequency,sizeof(keyframe_frequency-1)); - if(ret<0){ - fprintf(stderr,"Could not set keyframe interval to %d.\n",(int)keyframe_frequency); - } - if(vp3_compatible){ - ret=th_encode_ctl(td,TH_ENCCTL_SET_VP3_COMPATIBLE,&vp3_compatible, - sizeof(vp3_compatible)); - if(ret<0||!vp3_compatible){ - fprintf(stderr,"Could not enable strict VP3 compatibility.\n"); - if(ret>=0){ - fprintf(stderr,"Ensure your source format is supported by VP3.\n"); - fprintf(stderr, - "(4:2:0 pixel format, width and height multiples of 16).\n"); - } - } - } - if(soft_target){ - /* reverse the rate control flags to favor a 'long time' strategy */ - int arg = TH_RATECTL_CAP_UNDERFLOW; - ret=th_encode_ctl(td,TH_ENCCTL_SET_RATE_FLAGS,&arg,sizeof(arg)); - if(ret<0) - fprintf(stderr,"Could not set encoder flags for --soft-target\n"); - /* Default buffer control is overridden on two-pass */ - if(!twopass&&buf_delay<0){ - if((keyframe_frequency*7>>1) > 5*video_fps_n/video_fps_d) - arg=keyframe_frequency*7>>1; - else - arg=5*video_fps_n/video_fps_d; - ret=th_encode_ctl(td,TH_ENCCTL_SET_RATE_BUFFER,&arg,sizeof(arg)); - if(ret<0) - fprintf(stderr,"Could not set rate control buffer for --soft-target\n"); - } - } - /* set up two-pass if needed */ - if(passno==1){ - unsigned char *buffer; - int bytes; - bytes=th_encode_ctl(td,TH_ENCCTL_2PASS_OUT,&buffer,sizeof(buffer)); - if(bytes<0){ - fprintf(stderr,"Could not set up the first pass of two-pass mode.\n"); - fprintf(stderr,"Did you remember to specify an estimated bitrate?\n"); - exit(1); - } - /*Perform a seek test to ensure we can overwrite this placeholder data at - the end; this is better than letting the user sit through a whole - encode only to find out their pass 1 file is useless at the end.*/ - if(fseek(twopass_file,0,SEEK_SET)<0){ - fprintf(stderr,"Unable to seek in two-pass data file.\n"); - exit(1); - } - if(fwrite(buffer,1,bytes,twopass_file)=0){ - ret=th_encode_ctl(td,TH_ENCCTL_SET_RATE_BUFFER, - &buf_delay,sizeof(buf_delay)); - if(ret<0){ - fprintf(stderr,"Warning: could not set desired buffer delay.\n"); - } - } - /*Speed should also be set after the current encoder mode is established, - since the available speed levels may change depending.*/ - if(speed>=0){ - int speed_max; - int ret; - ret=th_encode_ctl(td,TH_ENCCTL_GET_SPLEVEL_MAX, - &speed_max,sizeof(speed_max)); - if(ret<0){ - fprintf(stderr,"Warning: could not determine maximum speed level.\n"); - speed_max=0; - } - ret=th_encode_ctl(td,TH_ENCCTL_SET_SPLEVEL,&speed,sizeof(speed)); - if(ret<0){ - fprintf(stderr,"Warning: could not set speed level to %i of %i\n", - speed,speed_max); - if(speed>speed_max){ - fprintf(stderr,"Setting it to %i instead\n",speed_max); - } - ret=th_encode_ctl(td,TH_ENCCTL_SET_SPLEVEL, - &speed_max,sizeof(speed_max)); - if(ret<0){ - fprintf(stderr,"Warning: could not set speed level to %i of %i\n", - speed_max,speed_max); - } - } - } - /* write the bitstream header packets with proper page interleave */ - th_comment_init(&tc); - /* first packet will get its own page automatically */ - if(th_encode_flushheader(td,&tc,&op)<=0){ - fprintf(stderr,"Internal Theora library error.\n"); - exit(1); - } - if(passno!=1){ - ogg_stream_packetin(&to,&op); - if(ogg_stream_pageout(&to,&og)!=1){ - fprintf(stderr,"Internal Ogg library error.\n"); - exit(1); - } - fwrite(og.header,1,og.header_len,outfile); - fwrite(og.body,1,og.body_len,outfile); - } - /* create the remaining theora headers */ - for(;;){ - ret=th_encode_flushheader(td,&tc,&op); - if(ret<0){ - fprintf(stderr,"Internal Theora library error.\n"); - exit(1); - } - else if(!ret)break; - if(passno!=1)ogg_stream_packetin(&to,&op); - } - if(audio && passno!=1){ - ogg_packet header; - ogg_packet header_comm; - ogg_packet header_code; - vorbis_analysis_headerout(&vd,&vc,&header,&header_comm,&header_code); - ogg_stream_packetin(&vo,&header); /* automatically placed in its own - page */ - if(ogg_stream_pageout(&vo,&og)!=1){ - fprintf(stderr,"Internal Ogg library error.\n"); - exit(1); - } - fwrite(og.header,1,og.header_len,outfile); - fwrite(og.body,1,og.body_len,outfile); - /* remaining vorbis header packets */ - ogg_stream_packetin(&vo,&header_comm); - ogg_stream_packetin(&vo,&header_code); - } - /* Flush the rest of our headers. This ensures - the actual data in each stream will start - on a new page, as per spec. */ - if(passno!=1){ - for(;;){ - int result = ogg_stream_flush(&to,&og); - if(result<0){ - /* can't get here */ - fprintf(stderr,"Internal Ogg library error.\n"); - exit(1); - } - if(result==0)break; - fwrite(og.header,1,og.header_len,outfile); - fwrite(og.body,1,og.body_len,outfile); - } - } - if(audio && passno!=1){ - for(;;){ - int result=ogg_stream_flush(&vo,&og); - if(result<0){ - /* can't get here */ - fprintf(stderr,"Internal Ogg library error.\n"); - exit(1); - } - if(result==0)break; - fwrite(og.header,1,og.header_len,outfile); - fwrite(og.body,1,og.body_len,outfile); - } - } - /* setup complete. Raw processing loop */ - switch(passno){ - case 0: case 2: - fprintf(stderr,"\rCompressing.... \n"); - break; - case 1: - fprintf(stderr,"\rScanning first pass.... \n"); - break; - } - for(;;){ - int audio_or_video=-1; - if(passno==1){ - ogg_packet op; - int ret=fetch_and_process_video_packet(video,twopass_file,passno,td,&op); - if(ret<0)break; - if(op.e_o_s)break; /* end of stream */ - timebase=th_granule_time(td,op.granulepos); - audio_or_video=1; - }else{ - double audiotime; - double videotime; - ogg_page audiopage; - ogg_page videopage; - /* is there an audio page flushed? If not, fetch one if possible */ - audioflag=fetch_and_process_audio(audio,&audiopage,&vo,&vd,&vb,audioflag); - /* is there a video page flushed? If not, fetch one if possible */ - videoflag=fetch_and_process_video(video,&videopage,&to,td,twopass_file,passno,videoflag); - /* no pages of either? Must be end of stream. */ - if(!audioflag && !videoflag)break; - /* which is earlier; the end of the audio page or the end of the - video page? Flush the earlier to stream */ - audiotime= - audioflag?vorbis_granule_time(&vd,ogg_page_granulepos(&audiopage)):-1; - videotime= - videoflag?th_granule_time(td,ogg_page_granulepos(&videopage)):-1; - if(!audioflag){ - audio_or_video=1; - } else if(!videoflag) { - audio_or_video=0; - } else { - if(audiotime 0){ - int hundredths=(int)(timebase*100-(long)timebase*100); - int seconds=(long)timebase%60; - int minutes=((long)timebase/60)%60; - int hours=(long)timebase/3600; - if(audio_or_video)vkbps=(int)rint(video_bytesout*8./timebase*.001); - else akbps=(int)rint(audio_bytesout*8./timebase*.001); - fprintf(stderr, - "\r %d:%02d:%02d.%02d audio: %dkbps video: %dkbps ", - hours,minutes,seconds,hundredths,akbps,vkbps); - } - } - if(video)th_encode_free(td); - } - - /* clear out state */ - if(audio && twopass!=1){ - ogg_stream_clear(&vo); - vorbis_block_clear(&vb); - vorbis_dsp_clear(&vd); - vorbis_comment_clear(&vc); - vorbis_info_clear(&vi); - if(audio!=stdin)fclose(audio); - } - if(video){ - ogg_stream_clear(&to); - th_comment_clear(&tc); - if(video!=stdin)fclose(video); - } - - if(outfile && outfile!=stdout)fclose(outfile); - if(twopass_file)fclose(twopass_file); - - fprintf(stderr,"\r \ndone.\n\n"); - - return(0); - -} diff --git a/Libraries/libtheora-1.1.1/examples/getopt.c b/Libraries/libtheora-1.1.1/examples/getopt.c deleted file mode 100644 index 9bafa453..00000000 --- a/Libraries/libtheora-1.1.1/examples/getopt.c +++ /dev/null @@ -1,1055 +0,0 @@ -/* Getopt for GNU. - NOTE: getopt is now part of the C library, so if you don't know what - "Keep this file name-space clean" means, talk to drepper@gnu.org - before changing it! - Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001 - Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ - -/* This tells Alpha OSF/1 not to define a getopt prototype in . - Ditto for AIX 3.2 and . */ -#ifndef _NO_PROTO -# define _NO_PROTO -#endif - -#ifdef HAVE_CONFIG_H -# include -#endif - -#if !defined __STDC__ || !__STDC__ -/* This is a separate conditional since some stdc systems - reject `defined (const)'. */ -# ifndef const -# define const -# endif -#endif - -#include - -/* Comment out all this code if we are using the GNU C Library, and are not - actually compiling the library itself. This code is part of the GNU C - Library, but also included in many other GNU distributions. Compiling - and linking in this code is a waste when using the GNU C library - (especially if it is a shared library). Rather than having every GNU - program understand `configure --with-gnu-libc' and omit the object files, - it is simpler to just do this in the source for each such file. */ - -#define GETOPT_INTERFACE_VERSION 2 -#if !defined _LIBC && defined __GLIBC__ && __GLIBC__ >= 2 -# include -# if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION -# define ELIDE_CODE -# endif -#endif - -#ifndef ELIDE_CODE - - -/* This needs to come after some library #include - to get __GNU_LIBRARY__ defined. */ -#ifdef __GNU_LIBRARY__ -/* Don't include stdlib.h for non-GNU C libraries because some of them - contain conflicting prototypes for getopt. */ -# include -# include -#endif /* GNU C library. */ - -#ifdef VMS -# include -# if HAVE_STRING_H - 0 -# include -# endif -#endif - -#ifndef _ -/* This is for other GNU distributions with internationalized messages. */ -# if defined HAVE_LIBINTL_H || defined _LIBC -# include -# ifndef _ -# define _(msgid) gettext (msgid) -# endif -# else -# define _(msgid) (msgid) -# endif -#endif - -/* This version of `getopt' appears to the caller like standard Unix `getopt' - but it behaves differently for the user, since it allows the user - to intersperse the options with the other arguments. - - As `getopt' works, it permutes the elements of ARGV so that, - when it is done, all the options precede everything else. Thus - all application programs are extended to handle flexible argument order. - - Setting the environment variable POSIXLY_CORRECT disables permutation. - Then the behavior is completely standard. - - GNU application programs can use a third alternative mode in which - they can distinguish the relative order of options and other arguments. */ - -#include "getopt.h" - -/* For communication from `getopt' to the caller. - When `getopt' finds an option that takes an argument, - the argument value is returned here. - Also, when `ordering' is RETURN_IN_ORDER, - each non-option ARGV-element is returned here. */ - -char *optarg; - -/* Index in ARGV of the next element to be scanned. - This is used for communication to and from the caller - and for communication between successive calls to `getopt'. - - On entry to `getopt', zero means this is the first call; initialize. - - When `getopt' returns -1, this is the index of the first of the - non-option elements that the caller should itself scan. - - Otherwise, `optind' communicates from one call to the next - how much of ARGV has been scanned so far. */ - -/* 1003.2 says this must be 1 before any call. */ -int optind = 1; - -/* Formerly, initialization of getopt depended on optind==0, which - causes problems with re-calling getopt as programs generally don't - know that. */ - -int __getopt_initialized; - -/* The next char to be scanned in the option-element - in which the last option character we returned was found. - This allows us to pick up the scan where we left off. - - If this is zero, or a null string, it means resume the scan - by advancing to the next ARGV-element. */ - -static char *nextchar; - -/* Callers store zero here to inhibit the error message - for unrecognized options. */ - -int opterr = 1; - -/* Set to an option character which was unrecognized. - This must be initialized on some systems to avoid linking in the - system's own getopt implementation. */ - -int optopt = '?'; - -/* Describe how to deal with options that follow non-option ARGV-elements. - - If the caller did not specify anything, - the default is REQUIRE_ORDER if the environment variable - POSIXLY_CORRECT is defined, PERMUTE otherwise. - - REQUIRE_ORDER means don't recognize them as options; - stop option processing when the first non-option is seen. - This is what Unix does. - This mode of operation is selected by either setting the environment - variable POSIXLY_CORRECT, or using `+' as the first character - of the list of option characters. - - PERMUTE is the default. We permute the contents of ARGV as we scan, - so that eventually all the non-options are at the end. This allows options - to be given in any order, even with programs that were not written to - expect this. - - RETURN_IN_ORDER is an option available to programs that were written - to expect options and other ARGV-elements in any order and that care about - the ordering of the two. We describe each non-option ARGV-element - as if it were the argument of an option with character code 1. - Using `-' as the first character of the list of option characters - selects this mode of operation. - - The special argument `--' forces an end of option-scanning regardless - of the value of `ordering'. In the case of RETURN_IN_ORDER, only - `--' can cause `getopt' to return -1 with `optind' != ARGC. */ - -static enum -{ - REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER -} ordering; - -/* Value of POSIXLY_CORRECT environment variable. */ -static char *posixly_correct; - -#ifdef __GNU_LIBRARY__ -/* We want to avoid inclusion of string.h with non-GNU libraries - because there are many ways it can cause trouble. - On some systems, it contains special magic macros that don't work - in GCC. */ -# include -# define my_index strchr -#else - -# if HAVE_STRING_H -# include -# else -# include -# endif - -/* Avoid depending on library functions or files - whose names are inconsistent. */ - -#ifndef getenv -extern char *getenv (); -#endif - -static char * -my_index (str, chr) - const char *str; - int chr; -{ - while (*str) - { - if (*str == chr) - return (char *) str; - str++; - } - return 0; -} - -/* If using GCC, we can safely declare strlen this way. - If not using GCC, it is ok not to declare it. */ -#ifdef __GNUC__ -/* Note that Motorola Delta 68k R3V7 comes with GCC but not stddef.h. - That was relevant to code that was here before. */ -# if (!defined __STDC__ || !__STDC__) && !defined strlen -/* gcc with -traditional declares the built-in strlen to return int, - and has done so at least since version 2.4.5. -- rms. */ -extern int strlen (const char *); -# endif /* not __STDC__ */ -#endif /* __GNUC__ */ - -#endif /* not __GNU_LIBRARY__ */ - -/* Handle permutation of arguments. */ - -/* Describe the part of ARGV that contains non-options that have - been skipped. `first_nonopt' is the index in ARGV of the first of them; - `last_nonopt' is the index after the last of them. */ - -static int first_nonopt; -static int last_nonopt; - -#ifdef _LIBC -/* Stored original parameters. - XXX This is no good solution. We should rather copy the args so - that we can compare them later. But we must not use malloc(3). */ -extern int __libc_argc; -extern char **__libc_argv; - -/* Bash 2.0 gives us an environment variable containing flags - indicating ARGV elements that should not be considered arguments. */ - -# ifdef USE_NONOPTION_FLAGS -/* Defined in getopt_init.c */ -extern char *__getopt_nonoption_flags; - -static int nonoption_flags_max_len; -static int nonoption_flags_len; -# endif - -# ifdef USE_NONOPTION_FLAGS -# define SWAP_FLAGS(ch1, ch2) \ - if (nonoption_flags_len > 0) \ - { \ - char __tmp = __getopt_nonoption_flags[ch1]; \ - __getopt_nonoption_flags[ch1] = __getopt_nonoption_flags[ch2]; \ - __getopt_nonoption_flags[ch2] = __tmp; \ - } -# else -# define SWAP_FLAGS(ch1, ch2) -# endif -#else /* !_LIBC */ -# define SWAP_FLAGS(ch1, ch2) -#endif /* _LIBC */ - -/* Exchange two adjacent subsequences of ARGV. - One subsequence is elements [first_nonopt,last_nonopt) - which contains all the non-options that have been skipped so far. - The other is elements [last_nonopt,optind), which contains all - the options processed since those non-options were skipped. - - `first_nonopt' and `last_nonopt' are relocated so that they describe - the new indices of the non-options in ARGV after they are moved. */ - -#if defined __STDC__ && __STDC__ -static void exchange (char **); -#endif - -static void -exchange (argv) - char **argv; -{ - int bottom = first_nonopt; - int middle = last_nonopt; - int top = optind; - char *tem; - - /* Exchange the shorter segment with the far end of the longer segment. - That puts the shorter segment into the right place. - It leaves the longer segment in the right place overall, - but it consists of two parts that need to be swapped next. */ - -#if defined _LIBC && defined USE_NONOPTION_FLAGS - /* First make sure the handling of the `__getopt_nonoption_flags' - string can work normally. Our top argument must be in the range - of the string. */ - if (nonoption_flags_len > 0 && top >= nonoption_flags_max_len) - { - /* We must extend the array. The user plays games with us and - presents new arguments. */ - char *new_str = malloc (top + 1); - if (new_str == NULL) - nonoption_flags_len = nonoption_flags_max_len = 0; - else - { - memset (__mempcpy (new_str, __getopt_nonoption_flags, - nonoption_flags_max_len), - '\0', top + 1 - nonoption_flags_max_len); - nonoption_flags_max_len = top + 1; - __getopt_nonoption_flags = new_str; - } - } -#endif - - while (top > middle && middle > bottom) - { - if (top - middle > middle - bottom) - { - /* Bottom segment is the short one. */ - int len = middle - bottom; - register int i; - - /* Swap it with the top part of the top segment. */ - for (i = 0; i < len; i++) - { - tem = argv[bottom + i]; - argv[bottom + i] = argv[top - (middle - bottom) + i]; - argv[top - (middle - bottom) + i] = tem; - SWAP_FLAGS (bottom + i, top - (middle - bottom) + i); - } - /* Exclude the moved bottom segment from further swapping. */ - top -= len; - } - else - { - /* Top segment is the short one. */ - int len = top - middle; - register int i; - - /* Swap it with the bottom part of the bottom segment. */ - for (i = 0; i < len; i++) - { - tem = argv[bottom + i]; - argv[bottom + i] = argv[middle + i]; - argv[middle + i] = tem; - SWAP_FLAGS (bottom + i, middle + i); - } - /* Exclude the moved top segment from further swapping. */ - bottom += len; - } - } - - /* Update records for the slots the non-options now occupy. */ - - first_nonopt += (optind - last_nonopt); - last_nonopt = optind; -} - -/* Initialize the internal data when the first call is made. */ - -#if defined __STDC__ && __STDC__ -static const char *_getopt_initialize (int, char *const *, const char *); -#endif -static const char * -_getopt_initialize (argc, argv, optstring) - int argc; - char *const *argv; - const char *optstring; -{ - /* Start processing options with ARGV-element 1 (since ARGV-element 0 - is the program name); the sequence of previously skipped - non-option ARGV-elements is empty. */ - - first_nonopt = last_nonopt = optind; - - nextchar = NULL; - - posixly_correct = getenv ("POSIXLY_CORRECT"); - - /* Determine how to handle the ordering of options and nonoptions. */ - - if (optstring[0] == '-') - { - ordering = RETURN_IN_ORDER; - ++optstring; - } - else if (optstring[0] == '+') - { - ordering = REQUIRE_ORDER; - ++optstring; - } - else if (posixly_correct != NULL) - ordering = REQUIRE_ORDER; - else - ordering = PERMUTE; - -#if defined _LIBC && defined USE_NONOPTION_FLAGS - if (posixly_correct == NULL - && argc == __libc_argc && argv == __libc_argv) - { - if (nonoption_flags_max_len == 0) - { - if (__getopt_nonoption_flags == NULL - || __getopt_nonoption_flags[0] == '\0') - nonoption_flags_max_len = -1; - else - { - const char *orig_str = __getopt_nonoption_flags; - int len = nonoption_flags_max_len = strlen (orig_str); - if (nonoption_flags_max_len < argc) - nonoption_flags_max_len = argc; - __getopt_nonoption_flags = - (char *) malloc (nonoption_flags_max_len); - if (__getopt_nonoption_flags == NULL) - nonoption_flags_max_len = -1; - else - memset (__mempcpy (__getopt_nonoption_flags, orig_str, len), - '\0', nonoption_flags_max_len - len); - } - } - nonoption_flags_len = nonoption_flags_max_len; - } - else - nonoption_flags_len = 0; -#endif - - return optstring; -} - -/* Scan elements of ARGV (whose length is ARGC) for option characters - given in OPTSTRING. - - If an element of ARGV starts with '-', and is not exactly "-" or "--", - then it is an option element. The characters of this element - (aside from the initial '-') are option characters. If `getopt' - is called repeatedly, it returns successively each of the option characters - from each of the option elements. - - If `getopt' finds another option character, it returns that character, - updating `optind' and `nextchar' so that the next call to `getopt' can - resume the scan with the following option character or ARGV-element. - - If there are no more option characters, `getopt' returns -1. - Then `optind' is the index in ARGV of the first ARGV-element - that is not an option. (The ARGV-elements have been permuted - so that those that are not options now come last.) - - OPTSTRING is a string containing the legitimate option characters. - If an option character is seen that is not listed in OPTSTRING, - return '?' after printing an error message. If you set `opterr' to - zero, the error message is suppressed but we still return '?'. - - If a char in OPTSTRING is followed by a colon, that means it wants an arg, - so the following text in the same ARGV-element, or the text of the following - ARGV-element, is returned in `optarg'. Two colons mean an option that - wants an optional arg; if there is text in the current ARGV-element, - it is returned in `optarg', otherwise `optarg' is set to zero. - - If OPTSTRING starts with `-' or `+', it requests different methods of - handling the non-option ARGV-elements. - See the comments about RETURN_IN_ORDER and REQUIRE_ORDER, above. - - Long-named options begin with `--' instead of `-'. - Their names may be abbreviated as long as the abbreviation is unique - or is an exact match for some defined option. If they have an - argument, it follows the option name in the same ARGV-element, separated - from the option name by a `=', or else the in next ARGV-element. - When `getopt' finds a long-named option, it returns 0 if that option's - `flag' field is nonzero, the value of the option's `val' field - if the `flag' field is zero. - - The elements of ARGV aren't really const, because we permute them. - But we pretend they're const in the prototype to be compatible - with other systems. - - LONGOPTS is a vector of `struct option' terminated by an - element containing a name which is zero. - - LONGIND returns the index in LONGOPT of the long-named option found. - It is only valid when a long-named option has been found by the most - recent call. - - If LONG_ONLY is nonzero, '-' as well as '--' can introduce - long-named options. */ - -int -_getopt_internal (argc, argv, optstring, longopts, longind, long_only) - int argc; - char *const *argv; - const char *optstring; - const struct option *longopts; - int *longind; - int long_only; -{ - int print_errors = opterr; - if (optstring[0] == ':') - print_errors = 0; - - if (argc < 1) - return -1; - - optarg = NULL; - - if (optind == 0 || !__getopt_initialized) - { - if (optind == 0) - optind = 1; /* Don't scan ARGV[0], the program name. */ - optstring = _getopt_initialize (argc, argv, optstring); - __getopt_initialized = 1; - } - - /* Test whether ARGV[optind] points to a non-option argument. - Either it does not have option syntax, or there is an environment flag - from the shell indicating it is not an option. The later information - is only used when the used in the GNU libc. */ -#if defined _LIBC && defined USE_NONOPTION_FLAGS -# define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0' \ - || (optind < nonoption_flags_len \ - && __getopt_nonoption_flags[optind] == '1')) -#else -# define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0') -#endif - - if (nextchar == NULL || *nextchar == '\0') - { - /* Advance to the next ARGV-element. */ - - /* Give FIRST_NONOPT & LAST_NONOPT rational values if OPTIND has been - moved back by the user (who may also have changed the arguments). */ - if (last_nonopt > optind) - last_nonopt = optind; - if (first_nonopt > optind) - first_nonopt = optind; - - if (ordering == PERMUTE) - { - /* If we have just processed some options following some non-options, - exchange them so that the options come first. */ - - if (first_nonopt != last_nonopt && last_nonopt != optind) - exchange ((char **) argv); - else if (last_nonopt != optind) - first_nonopt = optind; - - /* Skip any additional non-options - and extend the range of non-options previously skipped. */ - - while (optind < argc && NONOPTION_P) - optind++; - last_nonopt = optind; - } - - /* The special ARGV-element `--' means premature end of options. - Skip it like a null option, - then exchange with previous non-options as if it were an option, - then skip everything else like a non-option. */ - - if (optind != argc && !strcmp (argv[optind], "--")) - { - optind++; - - if (first_nonopt != last_nonopt && last_nonopt != optind) - exchange ((char **) argv); - else if (first_nonopt == last_nonopt) - first_nonopt = optind; - last_nonopt = argc; - - optind = argc; - } - - /* If we have done all the ARGV-elements, stop the scan - and back over any non-options that we skipped and permuted. */ - - if (optind == argc) - { - /* Set the next-arg-index to point at the non-options - that we previously skipped, so the caller will digest them. */ - if (first_nonopt != last_nonopt) - optind = first_nonopt; - return -1; - } - - /* If we have come to a non-option and did not permute it, - either stop the scan or describe it to the caller and pass it by. */ - - if (NONOPTION_P) - { - if (ordering == REQUIRE_ORDER) - return -1; - optarg = argv[optind++]; - return 1; - } - - /* We have found another option-ARGV-element. - Skip the initial punctuation. */ - - nextchar = (argv[optind] + 1 - + (longopts != NULL && argv[optind][1] == '-')); - } - - /* Decode the current option-ARGV-element. */ - - /* Check whether the ARGV-element is a long option. - - If long_only and the ARGV-element has the form "-f", where f is - a valid short option, don't consider it an abbreviated form of - a long option that starts with f. Otherwise there would be no - way to give the -f short option. - - On the other hand, if there's a long option "fubar" and - the ARGV-element is "-fu", do consider that an abbreviation of - the long option, just like "--fu", and not "-f" with arg "u". - - This distinction seems to be the most useful approach. */ - - if (longopts != NULL - && (argv[optind][1] == '-' - || (long_only && (argv[optind][2] || !my_index (optstring, argv[optind][1]))))) - { - char *nameend; - const struct option *p; - const struct option *pfound = NULL; - int exact = 0; - int ambig = 0; - int indfound = -1; - int option_index; - - for (nameend = nextchar; *nameend && *nameend != '='; nameend++) - /* Do nothing. */ ; - - /* Test all long options for either exact match - or abbreviated matches. */ - for (p = longopts, option_index = 0; p->name; p++, option_index++) - if (!strncmp (p->name, nextchar, nameend - nextchar)) - { - if ((unsigned int) (nameend - nextchar) - == (unsigned int) strlen (p->name)) - { - /* Exact match found. */ - pfound = p; - indfound = option_index; - exact = 1; - break; - } - else if (pfound == NULL) - { - /* First nonexact match found. */ - pfound = p; - indfound = option_index; - } - else if (long_only - || pfound->has_arg != p->has_arg - || pfound->flag != p->flag - || pfound->val != p->val) - /* Second or later nonexact match found. */ - ambig = 1; - } - - if (ambig && !exact) - { - if (print_errors) - fprintf (stderr, _("%s: option `%s' is ambiguous\n"), - argv[0], argv[optind]); - nextchar += strlen (nextchar); - optind++; - optopt = 0; - return '?'; - } - - if (pfound != NULL) - { - option_index = indfound; - optind++; - if (*nameend) - { - /* Don't test has_arg with >, because some C compilers don't - allow it to be used on enums. */ - if (pfound->has_arg) - optarg = nameend + 1; - else - { - if (print_errors) - { - if (argv[optind - 1][1] == '-') - /* --option */ - fprintf (stderr, - _("%s: option `--%s' doesn't allow an argument\n"), - argv[0], pfound->name); - else - /* +option or -option */ - fprintf (stderr, - _("%s: option `%c%s' doesn't allow an argument\n"), - argv[0], argv[optind - 1][0], pfound->name); - } - - nextchar += strlen (nextchar); - - optopt = pfound->val; - return '?'; - } - } - else if (pfound->has_arg == 1) - { - if (optind < argc) - optarg = argv[optind++]; - else - { - if (print_errors) - fprintf (stderr, - _("%s: option `%s' requires an argument\n"), - argv[0], argv[optind - 1]); - nextchar += strlen (nextchar); - optopt = pfound->val; - return optstring[0] == ':' ? ':' : '?'; - } - } - nextchar += strlen (nextchar); - if (longind != NULL) - *longind = option_index; - if (pfound->flag) - { - *(pfound->flag) = pfound->val; - return 0; - } - return pfound->val; - } - - /* Can't find it as a long option. If this is not getopt_long_only, - or the option starts with '--' or is not a valid short - option, then it's an error. - Otherwise interpret it as a short option. */ - if (!long_only || argv[optind][1] == '-' - || my_index (optstring, *nextchar) == NULL) - { - if (print_errors) - { - if (argv[optind][1] == '-') - /* --option */ - fprintf (stderr, _("%s: unrecognized option `--%s'\n"), - argv[0], nextchar); - else - /* +option or -option */ - fprintf (stderr, _("%s: unrecognized option `%c%s'\n"), - argv[0], argv[optind][0], nextchar); - } - nextchar = (char *) ""; - optind++; - optopt = 0; - return '?'; - } - } - - /* Look at and handle the next short option-character. */ - - { - char c = *nextchar++; - char *temp = my_index (optstring, c); - - /* Increment `optind' when we start to process its last character. */ - if (*nextchar == '\0') - ++optind; - - if (temp == NULL || c == ':') - { - if (print_errors) - { - if (posixly_correct) - /* 1003.2 specifies the format of this message. */ - fprintf (stderr, _("%s: illegal option -- %c\n"), - argv[0], c); - else - fprintf (stderr, _("%s: invalid option -- %c\n"), - argv[0], c); - } - optopt = c; - return '?'; - } - /* Convenience. Treat POSIX -W foo same as long option --foo */ - if (temp[0] == 'W' && temp[1] == ';') - { - char *nameend; - const struct option *p; - const struct option *pfound = NULL; - int exact = 0; - int ambig = 0; - int indfound = 0; - int option_index; - - /* This is an option that requires an argument. */ - if (*nextchar != '\0') - { - optarg = nextchar; - /* If we end this ARGV-element by taking the rest as an arg, - we must advance to the next element now. */ - optind++; - } - else if (optind == argc) - { - if (print_errors) - { - /* 1003.2 specifies the format of this message. */ - fprintf (stderr, _("%s: option requires an argument -- %c\n"), - argv[0], c); - } - optopt = c; - if (optstring[0] == ':') - c = ':'; - else - c = '?'; - return c; - } - else - /* We already incremented `optind' once; - increment it again when taking next ARGV-elt as argument. */ - optarg = argv[optind++]; - - /* optarg is now the argument, see if it's in the - table of longopts. */ - - for (nextchar = nameend = optarg; *nameend && *nameend != '='; nameend++) - /* Do nothing. */ ; - - /* Test all long options for either exact match - or abbreviated matches. */ - for (p = longopts, option_index = 0; p->name; p++, option_index++) - if (!strncmp (p->name, nextchar, nameend - nextchar)) - { - if ((unsigned int) (nameend - nextchar) == strlen (p->name)) - { - /* Exact match found. */ - pfound = p; - indfound = option_index; - exact = 1; - break; - } - else if (pfound == NULL) - { - /* First nonexact match found. */ - pfound = p; - indfound = option_index; - } - else - /* Second or later nonexact match found. */ - ambig = 1; - } - if (ambig && !exact) - { - if (print_errors) - fprintf (stderr, _("%s: option `-W %s' is ambiguous\n"), - argv[0], argv[optind]); - nextchar += strlen (nextchar); - optind++; - return '?'; - } - if (pfound != NULL) - { - option_index = indfound; - if (*nameend) - { - /* Don't test has_arg with >, because some C compilers don't - allow it to be used on enums. */ - if (pfound->has_arg) - optarg = nameend + 1; - else - { - if (print_errors) - fprintf (stderr, _("\ -%s: option `-W %s' doesn't allow an argument\n"), - argv[0], pfound->name); - - nextchar += strlen (nextchar); - return '?'; - } - } - else if (pfound->has_arg == 1) - { - if (optind < argc) - optarg = argv[optind++]; - else - { - if (print_errors) - fprintf (stderr, - _("%s: option `%s' requires an argument\n"), - argv[0], argv[optind - 1]); - nextchar += strlen (nextchar); - return optstring[0] == ':' ? ':' : '?'; - } - } - nextchar += strlen (nextchar); - if (longind != NULL) - *longind = option_index; - if (pfound->flag) - { - *(pfound->flag) = pfound->val; - return 0; - } - return pfound->val; - } - nextchar = NULL; - return 'W'; /* Let the application handle it. */ - } - if (temp[1] == ':') - { - if (temp[2] == ':') - { - /* This is an option that accepts an argument optionally. */ - if (*nextchar != '\0') - { - optarg = nextchar; - optind++; - } - else - optarg = NULL; - nextchar = NULL; - } - else - { - /* This is an option that requires an argument. */ - if (*nextchar != '\0') - { - optarg = nextchar; - /* If we end this ARGV-element by taking the rest as an arg, - we must advance to the next element now. */ - optind++; - } - else if (optind == argc) - { - if (print_errors) - { - /* 1003.2 specifies the format of this message. */ - fprintf (stderr, - _("%s: option requires an argument -- %c\n"), - argv[0], c); - } - optopt = c; - if (optstring[0] == ':') - c = ':'; - else - c = '?'; - } - else - /* We already incremented `optind' once; - increment it again when taking next ARGV-elt as argument. */ - optarg = argv[optind++]; - nextchar = NULL; - } - } - return c; - } -} - -int -getopt (argc, argv, optstring) - int argc; - char *const *argv; - const char *optstring; -{ - return _getopt_internal (argc, argv, optstring, - (const struct option *) 0, - (int *) 0, - 0); -} - -#endif /* Not ELIDE_CODE. */ - -#ifdef TEST - -/* Compile with -DTEST to make an executable for use in testing - the above definition of `getopt'. */ - -int -main (argc, argv) - int argc; - char **argv; -{ - int c; - int digit_optind = 0; - - while (1) - { - int this_option_optind = optind ? optind : 1; - - c = getopt (argc, argv, "abc:d:0123456789"); - if (c == -1) - break; - - switch (c) - { - case '0': - case '1': - case '2': - case '3': - case '4': - case '5': - case '6': - case '7': - case '8': - case '9': - if (digit_optind != 0 && digit_optind != this_option_optind) - printf ("digits occur in two different argv-elements.\n"); - digit_optind = this_option_optind; - printf ("option %c\n", c); - break; - - case 'a': - printf ("option a\n"); - break; - - case 'b': - printf ("option b\n"); - break; - - case 'c': - printf ("option c with value `%s'\n", optarg); - break; - - case '?': - break; - - default: - printf ("?? getopt returned character code 0%o ??\n", c); - } - } - - if (optind < argc) - { - printf ("non-option ARGV-elements: "); - while (optind < argc) - printf ("%s ", argv[optind++]); - printf ("\n"); - } - - exit (0); -} - -#endif /* TEST */ diff --git a/Libraries/libtheora-1.1.1/examples/getopt.h b/Libraries/libtheora-1.1.1/examples/getopt.h deleted file mode 100644 index a1b8dd66..00000000 --- a/Libraries/libtheora-1.1.1/examples/getopt.h +++ /dev/null @@ -1,180 +0,0 @@ -/* Declarations for getopt. - Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ - -#ifndef _GETOPT_H - -#ifndef __need_getopt -# define _GETOPT_H 1 -#endif - -/* If __GNU_LIBRARY__ is not already defined, either we are being used - standalone, or this is the first header included in the source file. - If we are being used with glibc, we need to include , but - that does not exist if we are standalone. So: if __GNU_LIBRARY__ is - not defined, include , which will pull in for us - if it's from glibc. (Why ctype.h? It's guaranteed to exist and it - doesn't flood the namespace with stuff the way some other headers do.) */ -#if !defined __GNU_LIBRARY__ -# include -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* For communication from `getopt' to the caller. - When `getopt' finds an option that takes an argument, - the argument value is returned here. - Also, when `ordering' is RETURN_IN_ORDER, - each non-option ARGV-element is returned here. */ - -extern char *optarg; - -/* Index in ARGV of the next element to be scanned. - This is used for communication to and from the caller - and for communication between successive calls to `getopt'. - - On entry to `getopt', zero means this is the first call; initialize. - - When `getopt' returns -1, this is the index of the first of the - non-option elements that the caller should itself scan. - - Otherwise, `optind' communicates from one call to the next - how much of ARGV has been scanned so far. */ - -extern int optind; - -/* Callers store zero here to inhibit the error message `getopt' prints - for unrecognized options. */ - -extern int opterr; - -/* Set to an option character which was unrecognized. */ - -extern int optopt; - -#ifndef __need_getopt -/* Describe the long-named options requested by the application. - The LONG_OPTIONS argument to getopt_long or getopt_long_only is a vector - of `struct option' terminated by an element containing a name which is - zero. - - The field `has_arg' is: - no_argument (or 0) if the option does not take an argument, - required_argument (or 1) if the option requires an argument, - optional_argument (or 2) if the option takes an optional argument. - - If the field `flag' is not NULL, it points to a variable that is set - to the value given in the field `val' when the option is found, but - left unchanged if the option is not found. - - To have a long-named option do something other than set an `int' to - a compiled-in constant, such as set a value from `optarg', set the - option's `flag' field to zero and its `val' field to a nonzero - value (the equivalent single-letter option character, if there is - one). For long options that have a zero `flag' field, `getopt' - returns the contents of the `val' field. */ - -struct option -{ -# if (defined __STDC__ && __STDC__) || defined __cplusplus - const char *name; -# else - char *name; -# endif - /* has_arg can't be an enum because some compilers complain about - type mismatches in all the code that assumes it is an int. */ - int has_arg; - int *flag; - int val; -}; - -/* Names for the values of the `has_arg' field of `struct option'. */ - -# define no_argument 0 -# define required_argument 1 -# define optional_argument 2 -#endif /* need getopt */ - - -/* Get definitions and prototypes for functions to process the - arguments in ARGV (ARGC of them, minus the program name) for - options given in OPTS. - - Return the option character from OPTS just read. Return -1 when - there are no more options. For unrecognized options, or options - missing arguments, `optopt' is set to the option letter, and '?' is - returned. - - The OPTS string is a list of characters which are recognized option - letters, optionally followed by colons, specifying that that letter - takes an argument, to be placed in `optarg'. - - If a letter in OPTS is followed by two colons, its argument is - optional. This behavior is specific to the GNU `getopt'. - - The argument `--' causes premature termination of argument - scanning, explicitly telling `getopt' that there are no more - options. - - If OPTS begins with `--', then non-option arguments are treated as - arguments to the option '\0'. This behavior is specific to the GNU - `getopt'. */ - -#if (defined __STDC__ && __STDC__) || defined __cplusplus -# ifdef __GNU_LIBRARY__ -/* Many other libraries have conflicting prototypes for getopt, with - differences in the consts, in stdlib.h. To avoid compilation - errors, only prototype getopt for the GNU C library. */ -extern int getopt (int __argc, char *const *__argv, const char *__shortopts); -# else /* not __GNU_LIBRARY__ */ -extern int getopt (); -# endif /* __GNU_LIBRARY__ */ - -# ifndef __need_getopt -extern int getopt_long (int __argc, char *const *__argv, const char *__shortopts, - const struct option *__longopts, int *__longind); -extern int getopt_long_only (int __argc, char *const *__argv, - const char *__shortopts, - const struct option *__longopts, int *__longind); - -/* Internal only. Users should not call this directly. */ -extern int _getopt_internal (int __argc, char *const *__argv, - const char *__shortopts, - const struct option *__longopts, int *__longind, - int __long_only); -# endif -#else /* not __STDC__ */ -extern int getopt (); -# ifndef __need_getopt -extern int getopt_long (); -extern int getopt_long_only (); - -extern int _getopt_internal (); -# endif -#endif /* __STDC__ */ - -#ifdef __cplusplus -} -#endif - -/* Make sure we later can get all the definitions and declarations. */ -#undef __need_getopt - -#endif /* getopt.h */ diff --git a/Libraries/libtheora-1.1.1/examples/getopt1.c b/Libraries/libtheora-1.1.1/examples/getopt1.c deleted file mode 100644 index 22a7efbd..00000000 --- a/Libraries/libtheora-1.1.1/examples/getopt1.c +++ /dev/null @@ -1,188 +0,0 @@ -/* getopt_long and getopt_long_only entry points for GNU getopt. - Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98 - Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ - -#ifdef HAVE_CONFIG_H -#include -#endif - -#include "getopt.h" - -#if !defined __STDC__ || !__STDC__ -/* This is a separate conditional since some stdc systems - reject `defined (const)'. */ -#ifndef const -#define const -#endif -#endif - -#include - -/* Comment out all this code if we are using the GNU C Library, and are not - actually compiling the library itself. This code is part of the GNU C - Library, but also included in many other GNU distributions. Compiling - and linking in this code is a waste when using the GNU C library - (especially if it is a shared library). Rather than having every GNU - program understand `configure --with-gnu-libc' and omit the object files, - it is simpler to just do this in the source for each such file. */ - -#define GETOPT_INTERFACE_VERSION 2 -#if !defined _LIBC && defined __GLIBC__ && __GLIBC__ >= 2 -#include -#if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION -#define ELIDE_CODE -#endif -#endif - -#ifndef ELIDE_CODE - - -/* This needs to come after some library #include - to get __GNU_LIBRARY__ defined. */ -#ifdef __GNU_LIBRARY__ -#include -#endif - -#ifndef NULL -#define NULL 0 -#endif - -int -getopt_long (argc, argv, options, long_options, opt_index) - int argc; - char *const *argv; - const char *options; - const struct option *long_options; - int *opt_index; -{ - return _getopt_internal (argc, argv, options, long_options, opt_index, 0); -} - -/* Like getopt_long, but '-' as well as '--' can indicate a long option. - If an option that starts with '-' (not '--') doesn't match a long option, - but does match a short option, it is parsed as a short option - instead. */ - -int -getopt_long_only (argc, argv, options, long_options, opt_index) - int argc; - char *const *argv; - const char *options; - const struct option *long_options; - int *opt_index; -{ - return _getopt_internal (argc, argv, options, long_options, opt_index, 1); -} - - -#endif /* Not ELIDE_CODE. */ - -#ifdef TEST - -#include - -int -main (argc, argv) - int argc; - char **argv; -{ - int c; - int digit_optind = 0; - - while (1) - { - int this_option_optind = optind ? optind : 1; - int option_index = 0; - static struct option long_options[] = - { - {"add", 1, 0, 0}, - {"append", 0, 0, 0}, - {"delete", 1, 0, 0}, - {"verbose", 0, 0, 0}, - {"create", 0, 0, 0}, - {"file", 1, 0, 0}, - {0, 0, 0, 0} - }; - - c = getopt_long (argc, argv, "abc:d:0123456789", - long_options, &option_index); - if (c == -1) - break; - - switch (c) - { - case 0: - printf ("option %s", long_options[option_index].name); - if (optarg) - printf (" with arg %s", optarg); - printf ("\n"); - break; - - case '0': - case '1': - case '2': - case '3': - case '4': - case '5': - case '6': - case '7': - case '8': - case '9': - if (digit_optind != 0 && digit_optind != this_option_optind) - printf ("digits occur in two different argv-elements.\n"); - digit_optind = this_option_optind; - printf ("option %c\n", c); - break; - - case 'a': - printf ("option a\n"); - break; - - case 'b': - printf ("option b\n"); - break; - - case 'c': - printf ("option c with value `%s'\n", optarg); - break; - - case 'd': - printf ("option d with value `%s'\n", optarg); - break; - - case '?': - break; - - default: - printf ("?? getopt returned character code 0%o ??\n", c); - } - } - - if (optind < argc) - { - printf ("non-option ARGV-elements: "); - while (optind < argc) - printf ("%s ", argv[optind++]); - printf ("\n"); - } - - exit (0); -} - -#endif /* TEST */ diff --git a/Libraries/libtheora-1.1.1/examples/player_example.c b/Libraries/libtheora-1.1.1/examples/player_example.c deleted file mode 100644 index dcc02bc1..00000000 --- a/Libraries/libtheora-1.1.1/examples/player_example.c +++ /dev/null @@ -1,857 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: example SDL player application; plays Ogg Theora files (with - optional Vorbis audio second stream) - last mod: $Id: player_example.c 16551 2009-09-09 17:53:13Z gmaxwell $ - - ********************************************************************/ - -/* far more complex than most Ogg 'example' programs. The complexity - of maintaining A/V sync is pretty much unavoidable. It's necessary - to actually have audio/video playback to make the hard audio clock - sync actually work. If there's audio playback, there might as well - be simple video playback as well... - - A simple 'demux and write back streams' would have been easier, - it's true. */ - -#if !defined(_GNU_SOURCE) -#define _GNU_SOURCE -#endif -#if !defined(_LARGEFILE_SOURCE) -#define _LARGEFILE_SOURCE -#endif -#if !defined(_LARGEFILE64_SOURCE) -#define _LARGEFILE64_SOURCE -#endif -#if !defined(_FILE_OFFSET_BITS) -#define _FILE_OFFSET_BITS 64 -#endif - -#ifdef HAVE_CONFIG_H -# include -#endif - -#ifndef _REENTRANT -# define _REENTRANT -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "theora/theoradec.h" -#include "vorbis/codec.h" -#include - -/* yes, this makes us OSS-specific for now. None of SDL, libao, libao2 - give us any way to determine hardware timing, and since the - hard/kernel buffer is going to be most of or > a second, that's - just a little bit important */ -#if defined(__FreeBSD__) -#include -#define AUDIO_DEVICE "/dev/audio" -#elif defined(__NetBSD__) || defined(__OpenBSD__) -#include -#define AUDIO_DEVICE "/dev/audio" -#else -#include -#define AUDIO_DEVICE "/dev/dsp" -#endif -#include - -/* Helper; just grab some more compressed bitstream and sync it for - page extraction */ -int buffer_data(FILE *in,ogg_sync_state *oy){ - char *buffer=ogg_sync_buffer(oy,4096); - int bytes=fread(buffer,1,4096,in); - ogg_sync_wrote(oy,bytes); - return(bytes); -} - -/* never forget that globals are a one-way ticket to Hell */ -/* Ogg and codec state for demux/decode */ -ogg_sync_state oy; -ogg_page og; -ogg_stream_state vo; -ogg_stream_state to; -th_info ti; -th_comment tc; -th_dec_ctx *td; -th_setup_info *ts; -vorbis_info vi; -vorbis_dsp_state vd; -vorbis_block vb; -vorbis_comment vc; -th_pixel_fmt px_fmt; - -int theora_p=0; -int vorbis_p=0; -int stateflag=0; - -/* SDL Video playback structures */ -SDL_Surface *screen; -SDL_Overlay *yuv_overlay; -SDL_Rect rect; - -/* single frame video buffering */ -int videobuf_ready=0; -ogg_int64_t videobuf_granulepos=-1; -double videobuf_time=0; - -/* single audio fragment audio buffering */ -int audiobuf_fill=0; -int audiobuf_ready=0; -ogg_int16_t *audiobuf; -ogg_int64_t audiobuf_granulepos=0; /* time position of last sample */ - -/* audio / video synchronization tracking: - -Since this will make it to Google at some point and lots of people -search for how to do this, a quick rundown of a practical A/V sync -strategy under Linux [the UNIX where Everything Is Hard]. Naturally, -this works on other platforms using OSS for sound as well. - -In OSS, we don't have reliable access to any precise information on -the exact current playback position (that, of course would have been -too easy; the kernel folks like to keep us app people working hard -doing simple things that should have been solved once and abstracted -long ago). Hopefully ALSA solves this a little better; we'll probably -use that once ALSA is the standard in the stable kernel. - -We can't use the system clock for a/v sync because audio is hard -synced to its own clock, and both the system and audio clocks suffer -from wobble, drift, and a lack of accuracy that can be guaranteed to -add a reliable percent or so of error. After ten seconds, that's -100ms. We can't drift by half a second every minute. - -Although OSS can't generally tell us where the audio playback pointer -is, we do know that if we work in complete audio fragments and keep -the kernel buffer full, a blocking select on the audio buffer will -give us a writable fragment immediately after playback finishes with -it. We assume at that point that we know the exact number of bytes in -the kernel buffer that have not been played (total fragments minus -one) and calculate clock drift between audio and system then (and only -then). Damp the sync correction fraction, apply, and walla: A -reliable A/V clock that even works if it's interrupted. */ - -long audiofd_totalsize=-1; -int audiofd_fragsize; /* read and write only complete fragments - so that SNDCTL_DSP_GETOSPACE is - accurate immediately after a bank - switch */ -int audiofd=-1; -ogg_int64_t audiofd_timer_calibrate=-1; - -static void open_audio(){ - audio_buf_info info; - int format=AFMT_S16_NE; /* host endian */ - int channels=vi.channels; - int rate=vi.rate; - int ret; - - audiofd=open(AUDIO_DEVICE,O_RDWR); - if(audiofd<0){ - fprintf(stderr,"Could not open audio device " AUDIO_DEVICE ".\n"); - exit(1); - } - - ret=ioctl(audiofd,SNDCTL_DSP_SETFMT,&format); - if(ret){ - fprintf(stderr,"Could not set 16 bit host-endian playback\n"); - exit(1); - } - - ret=ioctl(audiofd,SNDCTL_DSP_CHANNELS,&channels); - if(ret){ - fprintf(stderr,"Could not set %d channel playback\n",channels); - exit(1); - } - - ret=ioctl(audiofd,SNDCTL_DSP_SPEED,&rate); - if(ret){ - fprintf(stderr,"Could not set %d Hz playback\n",rate); - exit(1); - } - - ioctl(audiofd,SNDCTL_DSP_GETOSPACE,&info); - audiofd_fragsize=info.fragsize; - audiofd_totalsize=info.fragstotal*info.fragsize; - - audiobuf=malloc(audiofd_fragsize); -} - -static void audio_close(void){ - if(audiofd>-1){ - ioctl(audiofd,SNDCTL_DSP_RESET,NULL); - close(audiofd); - free(audiobuf); - } -} - -/* call this only immediately after unblocking from a full kernel - having a newly empty fragment or at the point of DMA restart */ -void audio_calibrate_timer(int restart){ - struct timeval tv; - ogg_int64_t current_sample; - ogg_int64_t new_time; - - gettimeofday(&tv,0); - new_time=tv.tv_sec*1000+tv.tv_usec/1000; - - if(restart){ - current_sample=audiobuf_granulepos-audiobuf_fill/2/vi.channels; - }else - current_sample=audiobuf_granulepos- - (audiobuf_fill+audiofd_totalsize-audiofd_fragsize)/2/vi.channels; - - new_time-=1000*current_sample/vi.rate; - - audiofd_timer_calibrate=new_time; -} - -/* get relative time since beginning playback, compensating for A/V - drift */ -double get_time(){ - static ogg_int64_t last=0; - static ogg_int64_t up=0; - ogg_int64_t now; - struct timeval tv; - - gettimeofday(&tv,0); - now=tv.tv_sec*1000+tv.tv_usec/1000; - - if(audiofd_timer_calibrate==-1)audiofd_timer_calibrate=last=now; - - if(audiofd<0){ - /* no audio timer to worry about, we can just use the system clock */ - /* only one complication: If the process is suspended, we should - reset timing to account for the gap in play time. Do it the - easy/hack way */ - if(now-last>1000)audiofd_timer_calibrate+=(now-last); - last=now; - } - - if(now-up>200){ - double timebase=(now-audiofd_timer_calibrate)*.001; - int hundredths=timebase*100-(long)timebase*100; - int seconds=(long)timebase%60; - int minutes=((long)timebase/60)%60; - int hours=(long)timebase/3600; - - fprintf(stderr," Playing: %d:%02d:%02d.%02d \r", - hours,minutes,seconds,hundredths); - up=now; - } - - return (now-audiofd_timer_calibrate)*.001; - -} - -/* write a fragment to the OSS kernel audio API, but only if we can - stuff in a whole fragment without blocking */ -void audio_write_nonblocking(void){ - - if(audiobuf_ready){ - audio_buf_info info; - long bytes; - - ioctl(audiofd,SNDCTL_DSP_GETOSPACE,&info); - bytes=info.bytes; - if(bytes>=audiofd_fragsize){ - if(bytes==audiofd_totalsize)audio_calibrate_timer(1); - - while(1){ - bytes=write(audiofd,audiobuf+(audiofd_fragsize-audiobuf_fill), - audiofd_fragsize); - - if(bytes>0){ - - if(bytes!=audiobuf_fill){ - /* shouldn't actually be possible... but eh */ - audiobuf_fill-=bytes; - }else - break; - } - } - - audiobuf_fill=0; - audiobuf_ready=0; - - } - } -} - -/* clean quit on Ctrl-C for SDL and thread shutdown as per SDL example - (we don't use any threads, but libSDL does) */ -int got_sigint=0; -static void sigint_handler (int signal) { - got_sigint = 1; -} - -static void open_video(void){ - int w; - int h; - w=(ti.pic_x+ti.frame_width+1&~1)-(ti.pic_x&~1); - h=(ti.pic_y+ti.frame_height+1&~1)-(ti.pic_y&~1); - if ( SDL_Init(SDL_INIT_VIDEO) < 0 ) { - fprintf(stderr, "Unable to init SDL: %s\n", SDL_GetError()); - exit(1); - } - - screen = SDL_SetVideoMode(w, h, 0, SDL_SWSURFACE); - if ( screen == NULL ) { - fprintf(stderr, "Unable to set %dx%d video: %s\n", - w,h,SDL_GetError()); - exit(1); - } - - if (px_fmt==TH_PF_422) - yuv_overlay = SDL_CreateYUVOverlay(w, h, - SDL_YUY2_OVERLAY, - screen); - else - yuv_overlay = SDL_CreateYUVOverlay(w, h, - SDL_YV12_OVERLAY, - screen); - - if ( yuv_overlay == NULL ) { - fprintf(stderr, "SDL: Couldn't create SDL_yuv_overlay: %s\n", - SDL_GetError()); - exit(1); - } - rect.x = 0; - rect.y = 0; - rect.w = w; - rect.h = h; - - SDL_DisplayYUVOverlay(yuv_overlay, &rect); -} - -static void video_write(void){ - int i; - th_ycbcr_buffer yuv; - int y_offset, uv_offset; - th_decode_ycbcr_out(td,yuv); - /* Lock SDL_yuv_overlay */ - if ( SDL_MUSTLOCK(screen) ) { - if ( SDL_LockSurface(screen) < 0 ) return; - } - if (SDL_LockYUVOverlay(yuv_overlay) < 0) return; - - /* let's draw the data on a SDL screen (*screen) */ - /* deal with border stride */ - /* reverse u and v for SDL */ - /* and crop input properly, respecting the encoded frame rect */ - /* problems may exist for odd frame rect for some encodings */ - - y_offset=(ti.pic_x&~1)+yuv[0].stride*(ti.pic_y&~1); - - if (px_fmt==TH_PF_422) { - uv_offset=(ti.pic_x/2)+(yuv[1].stride)*(ti.pic_y); - /* SDL doesn't have a planar 4:2:2 */ - for(i=0;ih;i++) { - int j; - char *in_y = (char *)yuv[0].data+y_offset+yuv[0].stride*i; - char *out = (char *)(yuv_overlay->pixels[0]+yuv_overlay->pitches[0]*i); - for (j=0;jw;j++) - out[j*2] = in_y[j]; - char *in_u = (char *)yuv[1].data+uv_offset+yuv[1].stride*i; - char *in_v = (char *)yuv[2].data+uv_offset+yuv[2].stride*i; - for (j=0;jw>>1;j++) { - out[j*4+1] = in_u[j]; - out[j*4+3] = in_v[j]; - } - } - } else { - uv_offset=(ti.pic_x/2)+(yuv[1].stride)*(ti.pic_y/2); - for(i=0;ih;i++) - memcpy(yuv_overlay->pixels[0]+yuv_overlay->pitches[0]*i, - yuv[0].data+y_offset+yuv[0].stride*i, - yuv_overlay->w); - for(i=0;ih/2;i++){ - memcpy(yuv_overlay->pixels[1]+yuv_overlay->pitches[1]*i, - yuv[2].data+uv_offset+yuv[2].stride*i, - yuv_overlay->w/2); - memcpy(yuv_overlay->pixels[2]+yuv_overlay->pitches[2]*i, - yuv[1].data+uv_offset+yuv[1].stride*i, - yuv_overlay->w/2); - } - } - - /* Unlock SDL_yuv_overlay */ - if ( SDL_MUSTLOCK(screen) ) { - SDL_UnlockSurface(screen); - } - SDL_UnlockYUVOverlay(yuv_overlay); - - - /* Show, baby, show! */ - SDL_DisplayYUVOverlay(yuv_overlay, &rect); - -} -/* dump the theora (or vorbis) comment header */ -static int dump_comments(th_comment *tc){ - int i, len; - char *value; - FILE *out=stdout; - - fprintf(out,"Encoded by %s\n",tc->vendor); - if(tc->comments){ - fprintf(out, "theora comment header:\n"); - for(i=0;icomments;i++){ - if(tc->user_comments[i]){ - len=tc->comment_lengths[i]; - value=malloc(len+1); - memcpy(value,tc->user_comments[i],len); - value[len]='\0'; - fprintf(out, "\t%s\n", value); - free(value); - } - } - } - return(0); -} - -/* Report the encoder-specified colorspace for the video, if any. - We don't actually make use of the information in this example; - a real player should attempt to perform color correction for - whatever display device it supports. */ -static void report_colorspace(th_info *ti) -{ - switch(ti->colorspace){ - case TH_CS_UNSPECIFIED: - /* nothing to report */ - break;; - case TH_CS_ITU_REC_470M: - fprintf(stderr," encoder specified ITU Rec 470M (NTSC) color.\n"); - break;; - case TH_CS_ITU_REC_470BG: - fprintf(stderr," encoder specified ITU Rec 470BG (PAL) color.\n"); - break;; - default: - fprintf(stderr,"warning: encoder specified unknown colorspace (%d).\n", - ti->colorspace); - break;; - } -} - -/* helper: push a page into the appropriate steam */ -/* this can be done blindly; a stream won't accept a page - that doesn't belong to it */ -static int queue_page(ogg_page *page){ - if(theora_p)ogg_stream_pagein(&to,page); - if(vorbis_p)ogg_stream_pagein(&vo,page); - return 0; -} - -static void usage(void){ - fprintf(stderr, - "Usage: player_example \n" - "input is read from stdin if no file is passed on the command line\n" - "\n" - ); -} - -int main(int argc,char *const *argv){ - - int pp_level_max; - int pp_level; - int pp_inc; - int i,j; - ogg_packet op; - - FILE *infile = stdin; - - int frames = 0; - int dropped = 0; - -#ifdef _WIN32 /* We need to set stdin/stdout to binary mode. Damn windows. */ - /* Beware the evil ifdef. We avoid these where we can, but this one we - cannot. Don't add any more, you'll probably go to hell if you do. */ - _setmode( _fileno( stdin ), _O_BINARY ); -#endif - - /* open the input file if any */ - if(argc==2){ - infile=fopen(argv[1],"rb"); - if(infile==NULL){ - fprintf(stderr,"Unable to open '%s' for playback.\n", argv[1]); - exit(1); - } - } - if(argc>2){ - usage(); - exit(1); - } - - /* start up Ogg stream synchronization layer */ - ogg_sync_init(&oy); - - /* init supporting Vorbis structures needed in header parsing */ - vorbis_info_init(&vi); - vorbis_comment_init(&vc); - - /* init supporting Theora structures needed in header parsing */ - th_comment_init(&tc); - th_info_init(&ti); - - /* Ogg file open; parse the headers */ - /* Only interested in Vorbis/Theora streams */ - while(!stateflag){ - int ret=buffer_data(infile,&oy); - if(ret==0)break; - while(ogg_sync_pageout(&oy,&og)>0){ - ogg_stream_state test; - - /* is this a mandated initial header? If not, stop parsing */ - if(!ogg_page_bos(&og)){ - /* don't leak the page; get it into the appropriate stream */ - queue_page(&og); - stateflag=1; - break; - } - - ogg_stream_init(&test,ogg_page_serialno(&og)); - ogg_stream_pagein(&test,&og); - ogg_stream_packetout(&test,&op); - - - /* identify the codec: try theora */ - if(!theora_p && th_decode_headerin(&ti,&tc,&ts,&op)>=0){ - /* it is theora */ - memcpy(&to,&test,sizeof(test)); - theora_p=1; - }else if(!vorbis_p && vorbis_synthesis_headerin(&vi,&vc,&op)>=0){ - /* it is vorbis */ - memcpy(&vo,&test,sizeof(test)); - vorbis_p=1; - }else{ - /* whatever it is, we don't care about it */ - ogg_stream_clear(&test); - } - } - /* fall through to non-bos page parsing */ - } - - /* we're expecting more header packets. */ - while((theora_p && theora_p<3) || (vorbis_p && vorbis_p<3)){ - int ret; - - /* look for further theora headers */ - while(theora_p && (theora_p<3) && (ret=ogg_stream_packetout(&to,&op))){ - if(ret<0){ - fprintf(stderr,"Error parsing Theora stream headers; " - "corrupt stream?\n"); - exit(1); - } - if(!th_decode_headerin(&ti,&tc,&ts,&op)){ - fprintf(stderr,"Error parsing Theora stream headers; " - "corrupt stream?\n"); - exit(1); - } - theora_p++; - } - - /* look for more vorbis header packets */ - while(vorbis_p && (vorbis_p<3) && (ret=ogg_stream_packetout(&vo,&op))){ - if(ret<0){ - fprintf(stderr,"Error parsing Vorbis stream headers; corrupt stream?\n"); - exit(1); - } - if(vorbis_synthesis_headerin(&vi,&vc,&op)){ - fprintf(stderr,"Error parsing Vorbis stream headers; corrupt stream?\n"); - exit(1); - } - vorbis_p++; - if(vorbis_p==3)break; - } - - /* The header pages/packets will arrive before anything else we - care about, or the stream is not obeying spec */ - - if(ogg_sync_pageout(&oy,&og)>0){ - queue_page(&og); /* demux into the appropriate stream */ - }else{ - int ret=buffer_data(infile,&oy); /* someone needs more data */ - if(ret==0){ - fprintf(stderr,"End of file while searching for codec headers.\n"); - exit(1); - } - } - } - - /* and now we have it all. initialize decoders */ - if(theora_p){ - td=th_decode_alloc(&ti,ts); - printf("Ogg logical stream %lx is Theora %dx%d %.02f fps", - to.serialno,ti.pic_width,ti.pic_height, - (double)ti.fps_numerator/ti.fps_denominator); - px_fmt=ti.pixel_fmt; - switch(ti.pixel_fmt){ - case TH_PF_420: printf(" 4:2:0 video\n"); break; - case TH_PF_422: printf(" 4:2:2 video\n"); break; - case TH_PF_444: printf(" 4:4:4 video\n"); break; - case TH_PF_RSVD: - default: - printf(" video\n (UNKNOWN Chroma sampling!)\n"); - break; - } - if(ti.pic_width!=ti.frame_width || ti.pic_height!=ti.frame_height) - printf(" Frame content is %dx%d with offset (%d,%d).\n", - ti.frame_width, ti.frame_height, ti.pic_x, ti.pic_y); - report_colorspace(&ti); - dump_comments(&tc); - th_decode_ctl(td,TH_DECCTL_GET_PPLEVEL_MAX,&pp_level_max, - sizeof(pp_level_max)); - pp_level=pp_level_max; - th_decode_ctl(td,TH_DECCTL_SET_PPLEVEL,&pp_level,sizeof(pp_level)); - pp_inc=0; - - /*{ - int arg = 0xffff; - th_decode_ctl(td,TH_DECCTL_SET_TELEMETRY_MBMODE,&arg,sizeof(arg)); - th_decode_ctl(td,TH_DECCTL_SET_TELEMETRY_MV,&arg,sizeof(arg)); - th_decode_ctl(td,TH_DECCTL_SET_TELEMETRY_QI,&arg,sizeof(arg)); - arg=10; - th_decode_ctl(td,TH_DECCTL_SET_TELEMETRY_BITS,&arg,sizeof(arg)); - }*/ - }else{ - /* tear down the partial theora setup */ - th_info_clear(&ti); - th_comment_clear(&tc); - } - - th_setup_free(ts); - - if(vorbis_p){ - vorbis_synthesis_init(&vd,&vi); - vorbis_block_init(&vd,&vb); - fprintf(stderr,"Ogg logical stream %lx is Vorbis %d channel %ld Hz audio.\n", - vo.serialno,vi.channels,vi.rate); - }else{ - /* tear down the partial vorbis setup */ - vorbis_info_clear(&vi); - vorbis_comment_clear(&vc); - } - - /* open audio */ - if(vorbis_p)open_audio(); - - /* open video */ - if(theora_p)open_video(); - - /* install signal handler as SDL clobbered the default */ - signal (SIGINT, sigint_handler); - - /* on to the main decode loop. We assume in this example that audio - and video start roughly together, and don't begin playback until - we have a start frame for both. This is not necessarily a valid - assumption in Ogg A/V streams! It will always be true of the - example_encoder (and most streams) though. */ - - stateflag=0; /* playback has not begun */ - while(!got_sigint){ - - /* we want a video and audio frame ready to go at all times. If - we have to buffer incoming, buffer the compressed data (ie, let - ogg do the buffering) */ - while(vorbis_p && !audiobuf_ready){ - int ret; - float **pcm; - - /* if there's pending, decoded audio, grab it */ - if((ret=vorbis_synthesis_pcmout(&vd,&pcm))>0){ - int count=audiobuf_fill/2; - int maxsamples=(audiofd_fragsize-audiobuf_fill)/2/vi.channels; - for(i=0;i32767)val=32767; - if(val<-32768)val=-32768; - audiobuf[count++]=val; - } - vorbis_synthesis_read(&vd,i); - audiobuf_fill+=i*vi.channels*2; - if(audiobuf_fill==audiofd_fragsize)audiobuf_ready=1; - if(vd.granulepos>=0) - audiobuf_granulepos=vd.granulepos-ret+i; - else - audiobuf_granulepos+=i; - - }else{ - - /* no pending audio; is there a pending packet to decode? */ - if(ogg_stream_packetout(&vo,&op)>0){ - if(vorbis_synthesis(&vb,&op)==0) /* test for success! */ - vorbis_synthesis_blockin(&vd,&vb); - }else /* we need more data; break out to suck in another page */ - break; - } - } - - while(theora_p && !videobuf_ready){ - /* theora is one in, one out... */ - if(ogg_stream_packetout(&to,&op)>0){ - - if(pp_inc){ - pp_level+=pp_inc; - th_decode_ctl(td,TH_DECCTL_SET_PPLEVEL,&pp_level, - sizeof(pp_level)); - pp_inc=0; - } - /*HACK: This should be set after a seek or a gap, but we might not have - a granulepos for the first packet (we only have them for the last - packet on a page), so we just set it as often as we get it. - To do this right, we should back-track from the last packet on the - page and compute the correct granulepos for the first packet after - a seek or a gap.*/ - if(op.granulepos>=0){ - th_decode_ctl(td,TH_DECCTL_SET_GRANPOS,&op.granulepos, - sizeof(op.granulepos)); - } - if(th_decode_packetin(td,&op,&videobuf_granulepos)==0){ - videobuf_time=th_granule_time(td,videobuf_granulepos); - frames++; - - /* is it already too old to be useful? This is only actually - useful cosmetically after a SIGSTOP. Note that we have to - decode the frame even if we don't show it (for now) due to - keyframing. Soon enough libtheora will be able to deal - with non-keyframe seeks. */ - - if(videobuf_time>=get_time()) - videobuf_ready=1; - else{ - /*If we are too slow, reduce the pp level.*/ - pp_inc=pp_level>0?-1:0; - dropped++; - } - } - - }else - break; - } - - if(!videobuf_ready && !audiobuf_ready && feof(infile))break; - - if(!videobuf_ready || !audiobuf_ready){ - /* no data yet for somebody. Grab another page */ - buffer_data(infile,&oy); - while(ogg_sync_pageout(&oy,&og)>0){ - queue_page(&og); - } - } - - /* If playback has begun, top audio buffer off immediately. */ - if(stateflag) audio_write_nonblocking(); - - /* are we at or past time for this video frame? */ - if(stateflag && videobuf_ready && videobuf_time<=get_time()){ - video_write(); - videobuf_ready=0; - } - - if(stateflag && - (audiobuf_ready || !vorbis_p) && - (videobuf_ready || !theora_p) && - !got_sigint){ - /* we have an audio frame ready (which means the audio buffer is - full), it's not time to play video, so wait until one of the - audio buffer is ready or it's near time to play video */ - - /* set up select wait on the audiobuffer and a timeout for video */ - struct timeval timeout; - fd_set writefs; - fd_set empty; - int n=0; - - FD_ZERO(&writefs); - FD_ZERO(&empty); - if(audiofd>=0){ - FD_SET(audiofd,&writefs); - n=audiofd+1; - } - - if(theora_p){ - double tdiff; - long milliseconds; - tdiff=videobuf_time-get_time(); - /*If we have lots of extra time, increase the post-processing level.*/ - if(tdiff>ti.fps_denominator*0.25/ti.fps_numerator){ - pp_inc=pp_level0?-1:0; - } - milliseconds=tdiff*1000-5; - if(milliseconds>500)milliseconds=500; - if(milliseconds>0){ - timeout.tv_sec=milliseconds/1000; - timeout.tv_usec=(milliseconds%1000)*1000; - - n=select(n,&empty,&writefs,&empty,&timeout); - if(n)audio_calibrate_timer(0); - } - }else{ - select(n,&empty,&writefs,&empty,NULL); - } - } - - /* if our buffers either don't exist or are ready to go, - we can begin playback */ - if((!theora_p || videobuf_ready) && - (!vorbis_p || audiobuf_ready))stateflag=1; - /* same if we've run out of input */ - if(feof(infile))stateflag=1; - - } - - /* tear it all down */ - - audio_close(); - SDL_Quit(); - - if(vorbis_p){ - ogg_stream_clear(&vo); - vorbis_block_clear(&vb); - vorbis_dsp_clear(&vd); - vorbis_comment_clear(&vc); - vorbis_info_clear(&vi); - } - if(theora_p){ - ogg_stream_clear(&to); - th_decode_free(td); - th_comment_clear(&tc); - th_info_clear(&ti); - } - ogg_sync_clear(&oy); - - if(infile && infile!=stdin)fclose(infile); - - fprintf(stderr, - "\r \r"); - fprintf(stderr, "%d frames", frames); - if (dropped) fprintf(stderr, " (%d dropped)", dropped); - fprintf(stderr, "\n"); - fprintf(stderr, "\nDone.\n"); - - return(0); - -} diff --git a/Libraries/libtheora-1.1.1/examples/png2theora.c b/Libraries/libtheora-1.1.1/examples/png2theora.c deleted file mode 100644 index 71a0d0ff..00000000 --- a/Libraries/libtheora-1.1.1/examples/png2theora.c +++ /dev/null @@ -1,912 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009,2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: example encoder application; makes an Ogg Theora - file from a sequence of png images - last mod: $Id: png2theora.c 16503 2009-08-22 18:14:02Z giles $ - based on code from Vegard Nossum - - ********************************************************************/ - -#define _FILE_OFFSET_BITS 64 - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifdef HAVE_CONFIG_H -# include -#endif - -#include -#include -#include "theora/theoraenc.h" - -#define PROGRAM_NAME "png2theora" -#define PROGRAM_VERSION "1.1" - -static const char *option_output = NULL; -static int video_fps_numerator = 24; -static int video_fps_denominator = 1; -static int video_aspect_numerator = 0; -static int video_aspect_denominator = 0; -static int video_rate = -1; -static int video_quality = -1; -ogg_uint32_t keyframe_frequency=0; -int buf_delay=-1; -int vp3_compatible=0; -static int chroma_format = TH_PF_420; - -static FILE *twopass_file = NULL; -static int twopass=0; -static int passno; - -static FILE *ogg_fp = NULL; -static ogg_stream_state ogg_os; -static ogg_packet op; -static ogg_page og; - -static th_enc_ctx *td; -static th_info ti; - -static char *input_filter; - -const char *optstring = "o:hv:\4:\2:V:s:S:f:F:ck:d:\1\2\3\4\5\6"; -struct option options [] = { - {"output",required_argument,NULL,'o'}, - {"help",no_argument,NULL,'h'}, - {"chroma-444",no_argument,NULL,'\5'}, - {"chroma-422",no_argument,NULL,'\6'}, - {"video-rate-target",required_argument,NULL,'V'}, - {"video-quality",required_argument,NULL,'v'}, - {"aspect-numerator",required_argument,NULL,'s'}, - {"aspect-denominator",required_argument,NULL,'S'}, - {"framerate-numerator",required_argument,NULL,'f'}, - {"framerate-denominator",required_argument,NULL,'F'}, - {"vp3-compatible",no_argument,NULL,'c'}, - {"soft-target",no_argument,NULL,'\1'}, - {"keyframe-freq",required_argument,NULL,'k'}, - {"buf-delay",required_argument,NULL,'d'}, - {"two-pass",no_argument,NULL,'\2'}, - {"first-pass",required_argument,NULL,'\3'}, - {"second-pass",required_argument,NULL,'\4'}, - {NULL,0,NULL,0} -}; - -static void usage(void){ - fprintf(stderr, - "%s %s\n" - "Usage: %s [options] \n\n" - "The input argument uses C printf format to represent a list of files,\n" - " i.e. file-%%06d.png to look for files file000001.png to file9999999.png \n\n" - "Options: \n\n" - " -o --output file name for encoded output (required);\n" - " -v --video-quality Theora quality selector fro 0 to 10\n" - " (0 yields smallest files but lowest\n" - " video quality. 10 yields highest\n" - " fidelity but large files)\n\n" - " -V --video-rate-target bitrate target for Theora video\n\n" - " --soft-target Use a large reservoir and treat the rate\n" - " as a soft target; rate control is less\n" - " strict but resulting quality is usually\n" - " higher/smoother overall. Soft target also\n" - " allows an optional -v setting to specify\n" - " a minimum allowed quality.\n\n" - " --two-pass Compress input using two-pass rate control\n" - " This option performs both passes automatically.\n\n" - " --first-pass Perform first-pass of a two-pass rate\n" - " controlled encoding, saving pass data to\n" - " for a later second pass\n\n" - " --second-pass Perform second-pass of a two-pass rate\n" - " controlled encoding, reading first-pass\n" - " data from . The first pass\n" - " data must come from a first encoding pass\n" - " using identical input video to work\n" - " properly.\n\n" - " -k --keyframe-freq Keyframe frequency\n" - " -d --buf-delay Buffer delay (in frames). Longer delays\n" - " allow smoother rate adaptation and provide\n" - " better overall quality, but require more\n" - " client side buffering and add latency. The\n" - " default value is the keyframe interval for\n" - " one-pass encoding (or somewhat larger if\n" - " --soft-target is used) and infinite for\n" - " two-pass encoding.\n" - " --chroma-444 Use 4:4:4 chroma subsampling\n" - " --chroma-422 Use 4:2:2 chroma subsampling\n" - " (4:2:0 is default)\n\n" - " -s --aspect-numerator Aspect ratio numerator, default is 0\n" - " -S --aspect-denominator Aspect ratio denominator, default is 0\n" - " -f --framerate-numerator Frame rate numerator\n" - " -F --framerate-denominator Frame rate denominator\n" - " The frame rate nominator divided by this\n" - " determines the frame rate in units per tick\n" - ,PROGRAM_NAME, PROGRAM_VERSION, PROGRAM_NAME - ); - exit(0); -} - -#ifdef WIN32 -int -alphasort (const void *a, const void *b) -{ - return strcoll ((*(const struct dirent **) a)->d_name, - (*(const struct dirent **) b)->d_name); -} - -int -scandir (const char *dir, struct dirent ***namelist, - int (*select)(const struct dirent *), int (*compar)(const void *, const void *)) -{ - DIR *d; - struct dirent *entry; - register int i=0; - size_t entrysize; - - if ((d=opendir(dir)) == NULL) - return(-1); - - *namelist=NULL; - while ((entry=readdir(d)) != NULL) - { - if (select == NULL || (select != NULL && (*select)(entry))) - { - *namelist=(struct dirent **)realloc((void *)(*namelist), - (size_t)((i+1)*sizeof(struct dirent *))); - if (*namelist == NULL) return(-1); - entrysize=sizeof(struct dirent)-sizeof(entry->d_name)+strlen(entry->d_name)+1; - (*namelist)[i]=(struct dirent *)malloc(entrysize); - if ((*namelist)[i] == NULL) return(-1); - memcpy((*namelist)[i], entry, entrysize); - i++; - } - } - if (closedir(d)) return(-1); - if (i == 0) return(-1); - if (compar != NULL) - qsort((void *)(*namelist), (size_t)i, sizeof(struct dirent *), compar); - - return(i); -} -#endif - -static int -theora_write_frame(unsigned long w, unsigned long h, unsigned char *yuv, int last) -{ - th_ycbcr_buffer ycbcr; - ogg_packet op; - ogg_page og; - - unsigned long yuv_w; - unsigned long yuv_h; - - unsigned char *yuv_y; - unsigned char *yuv_u; - unsigned char *yuv_v; - - unsigned int x; - unsigned int y; - - /* Must hold: yuv_w >= w */ - yuv_w = (w + 15) & ~15; - - /* Must hold: yuv_h >= h */ - yuv_h = (h + 15) & ~15; - - ycbcr[0].width = yuv_w; - ycbcr[0].height = yuv_h; - ycbcr[0].stride = yuv_w; - ycbcr[1].width = (chroma_format == TH_PF_444) ? yuv_w : (yuv_w >> 1); - ycbcr[1].stride = ycbcr[1].width; - ycbcr[1].height = (chroma_format == TH_PF_420) ? (yuv_h >> 1) : yuv_h; - ycbcr[2].width = ycbcr[1].width; - ycbcr[2].stride = ycbcr[1].stride; - ycbcr[2].height = ycbcr[1].height; - - ycbcr[0].data = yuv_y = malloc(ycbcr[0].stride * ycbcr[0].height); - ycbcr[1].data = yuv_u = malloc(ycbcr[1].stride * ycbcr[1].height); - ycbcr[2].data = yuv_v = malloc(ycbcr[2].stride * ycbcr[2].height); - - for(y = 0; y < h; y++) { - for(x = 0; x < w; x++) { - yuv_y[x + y * yuv_w] = yuv[3 * (x + y * w) + 0]; - } - } - - if (chroma_format == TH_PF_420) { - for(y = 0; y < h; y += 2) { - for(x = 0; x < w; x += 2) { - yuv_u[(x >> 1) + (y >> 1) * (yuv_w >> 1)] = - yuv[3 * (x + y * w) + 1]; - yuv_v[(x >> 1) + (y >> 1) * (yuv_w >> 1)] = - yuv[3 * (x + y * w) + 2]; - } - } - } else if (chroma_format == TH_PF_444) { - for(y = 0; y < h; y++) { - for(x = 0; x < w; x++) { - yuv_u[x + y * ycbcr[1].stride] = yuv[3 * (x + y * w) + 1]; - yuv_v[x + y * ycbcr[2].stride] = yuv[3 * (x + y * w) + 2]; - } - } - } else { /* TH_PF_422 */ - for(y = 0; y < h; y += 1) { - for(x = 0; x < w; x += 2) { - yuv_u[(x >> 1) + y * ycbcr[1].stride] = - yuv[3 * (x + y * w) + 1]; - yuv_v[(x >> 1) + y * ycbcr[2].stride] = - yuv[3 * (x + y * w) + 2]; - } - } - } - - /* Theora is a one-frame-in,one-frame-out system; submit a frame - for compression and pull out the packet */ - /* in two-pass mode's second pass, we need to submit first-pass data */ - if(passno==2){ - int ret; - for(;;){ - static unsigned char buffer[80]; - static int buf_pos; - int bytes; - /*Ask the encoder how many bytes it would like.*/ - bytes=th_encode_ctl(td,TH_ENCCTL_2PASS_IN,NULL,0); - if(bytes<0){ - fprintf(stderr,"Error submitting pass data in second pass.\n"); - exit(1); - } - /*If it's got enough, stop.*/ - if(bytes==0)break; - /*Read in some more bytes, if necessary.*/ - if(bytes>80-buf_pos)bytes=80-buf_pos; - if(bytes>0&&fread(buffer+buf_pos,1,bytes,twopass_file)=bytes)buf_pos=0; - /*Otherwise remember how much it used.*/ - else buf_pos+=ret; - } - } - - if(th_encode_ycbcr_in(td, ycbcr)) { - fprintf(stderr, "%s: error: could not encode frame\n", - option_output); - return 1; - } - - /* in two-pass mode's first pass we need to extract and save the pass data */ - if(passno==1){ - unsigned char *buffer; - int bytes = th_encode_ctl(td, TH_ENCCTL_2PASS_OUT, &buffer, sizeof(buffer)); - if(bytes<0){ - fprintf(stderr,"Could not read two-pass data from encoder.\n"); - exit(1); - } - if(fwrite(buffer,1,bytes,twopass_file) 255) - return 255; - - return d; -} - -static void -rgb_to_yuv(png_bytep *png, - unsigned char *yuv, - unsigned int w, unsigned int h) -{ - unsigned int x; - unsigned int y; - - for(y = 0; y < h; y++) { - for(x = 0; x < w; x++) { - png_byte r; - png_byte g; - png_byte b; - - r = png[y][3 * x + 0]; - g = png[y][3 * x + 1]; - b = png[y][3 * x + 2]; - - /* XXX: Cringe. */ - yuv[3 * (x + w * y) + 0] = clamp( - 0.299 * r - + 0.587 * g - + 0.114 * b); - yuv[3 * (x + w * y) + 1] = clamp((0.436 * 255 - - 0.14713 * r - - 0.28886 * g - + 0.436 * b) / 0.872); - yuv[3 * (x + w * y) + 2] = clamp((0.615 * 255 - + 0.615 * r - - 0.51499 * g - - 0.10001 * b) / 1.230); - } - } -} - -static int -png_read(const char *pathname, unsigned int *w, unsigned int *h, unsigned char **yuv) -{ - FILE *fp; - unsigned char header[8]; - png_structp png_ptr; - png_infop info_ptr; - png_infop end_ptr; - png_bytep row_data; - png_bytep *row_pointers; - png_color_16p bkgd; - png_uint_32 width; - png_uint_32 height; - int bit_depth; - int color_type; - int interlace_type; - int compression_type; - int filter_method; - png_uint_32 y; - - fp = fopen(pathname, "rb"); - if(!fp) { - fprintf(stderr, "%s: error: %s\n", - pathname, strerror(errno)); - return 1; - } - - fread(header, 1, 8, fp); - if(png_sig_cmp(header, 0, 8)) { - fprintf(stderr, "%s: error: %s\n", - pathname, "not a PNG"); - fclose(fp); - return 1; - } - - png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, - NULL, NULL, NULL); - if(!png_ptr) { - fprintf(stderr, "%s: error: %s\n", - pathname, "couldn't create png read structure"); - fclose(fp); - return 1; - } - - info_ptr = png_create_info_struct(png_ptr); - if(!info_ptr) { - fprintf(stderr, "%s: error: %s\n", - pathname, "couldn't create png info structure"); - png_destroy_read_struct(&png_ptr, NULL, NULL); - fclose(fp); - return 1; - } - - end_ptr = png_create_info_struct(png_ptr); - if(!end_ptr) { - fprintf(stderr, "%s: error: %s\n", - pathname, "couldn't create png info structure"); - png_destroy_read_struct(&png_ptr, &info_ptr, NULL); - fclose(fp); - return 1; - } - - png_init_io(png_ptr, fp); - png_set_sig_bytes(png_ptr, 8); - png_read_info(png_ptr, info_ptr); - png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, - &interlace_type, &compression_type, &filter_method); - png_set_expand(png_ptr); - if(bit_depth<8)png_set_packing(png_ptr); - if(bit_depth==16)png_set_strip_16(png_ptr); - if(!(color_type&PNG_COLOR_MASK_COLOR))png_set_gray_to_rgb(png_ptr); - if(png_get_bKGD(png_ptr, info_ptr, &bkgd)){ - png_set_background(png_ptr, bkgd, PNG_BACKGROUND_GAMMA_FILE, 1, 1.0); - } - /*Note that color_type 2 and 3 can also have alpha, despite not setting the - PNG_COLOR_MASK_ALPHA bit. - We always strip it to prevent libpng from overrunning our buffer.*/ - png_set_strip_alpha(png_ptr); - - row_data = (png_bytep)png_malloc(png_ptr, - 3*height*width*png_sizeof(*row_data)); - row_pointers = (png_bytep *)png_malloc(png_ptr, - height*png_sizeof(*row_pointers)); - for(y = 0; y < height; y++) { - row_pointers[y] = row_data + y*(3*width); - } - png_read_image(png_ptr, row_pointers); - png_read_end(png_ptr, end_ptr); - - *w = width; - *h = height; - *yuv = malloc(*w * *h * 3); - rgb_to_yuv(row_pointers, *yuv, *w, *h); - - png_free(png_ptr, row_pointers); - png_free(png_ptr, row_data); - png_destroy_read_struct(&png_ptr, &info_ptr, &end_ptr); - - fclose(fp); - return 0; -} - -static int include_files (const struct dirent *de) -{ - char name[1024]; - int number = -1; - sscanf(de->d_name, input_filter, &number); - sprintf(name, input_filter, number); - return !strcmp(name, de->d_name); -} - -static int ilog(unsigned _v){ - int ret; - for(ret=0;_v;ret++)_v>>=1; - return ret; -} - -int -main(int argc, char *argv[]) -{ - int c,long_option_index; - int i, n; - char *input_mask; - char *input_directory; - char *scratch; - th_comment tc; - struct dirent **png_files; - int soft_target=0; - int ret; - - while(1) { - - c=getopt_long(argc,argv,optstring,options,&long_option_index); - if(c == EOF) - break; - - switch(c) { - case 'h': - usage(); - break; - case 'o': - option_output = optarg; - break;; - case 'v': - video_quality=rint(atof(optarg)*6.3); - if(video_quality<0 || video_quality>63){ - fprintf(stderr,"Illegal video quality (choose 0 through 10)\n"); - exit(1); - } - video_rate=0; - break; - case 'V': - video_rate=rint(atof(optarg)*1000); - if(video_rate<1){ - fprintf(stderr,"Illegal video bitrate (choose > 0 please)\n"); - exit(1); - } - video_quality=0; - break; - case '\1': - soft_target=1; - break; - case 'c': - vp3_compatible=1; - break; - case 'k': - keyframe_frequency=rint(atof(optarg)); - if(keyframe_frequency<1 || keyframe_frequency>2147483647){ - fprintf(stderr,"Illegal keyframe frequency\n"); - exit(1); - } - break; - - case 'd': - buf_delay=atoi(optarg); - if(buf_delay<=0){ - fprintf(stderr,"Illegal buffer delay\n"); - exit(1); - } - break; - case 's': - video_aspect_numerator=rint(atof(optarg)); - break; - case 'S': - video_aspect_denominator=rint(atof(optarg)); - break; - case 'f': - video_fps_numerator=rint(atof(optarg)); - break; - case 'F': - video_fps_denominator=rint(atof(optarg)); - break; - case '\5': - chroma_format=TH_PF_444; - break; - case '\6': - chroma_format=TH_PF_422; - break; - case '\2': - twopass=3; /* perform both passes */ - twopass_file=tmpfile(); - if(!twopass_file){ - fprintf(stderr,"Unable to open temporary file for twopass data\n"); - exit(1); - } - break; - case '\3': - twopass=1; /* perform first pass */ - twopass_file=fopen(optarg,"wb"); - if(!twopass_file){ - fprintf(stderr,"Unable to open \'%s\' for twopass data\n",optarg); - exit(1); - } - break; - case '\4': - twopass=2; /* perform second pass */ - twopass_file=fopen(optarg,"rb"); - if(!twopass_file){ - fprintf(stderr,"Unable to open twopass data file \'%s\'",optarg); - exit(1); - } - break; - default: - usage(); - break; - } - } - - if(argc < 3) { - usage(); - } - - if(soft_target){ - if(video_rate<=0){ - fprintf(stderr,"Soft rate target (--soft-target) requested without a bitrate (-V).\n"); - exit(1); - } - if(video_quality==-1) - video_quality=0; - }else{ - if(video_rate>0) - video_quality=0; - if(video_quality==-1) - video_quality=48; - } - - if(keyframe_frequency<=0){ - /*Use a default keyframe frequency of 64 for 1-pass (streaming) mode, and - 256 for two-pass mode.*/ - keyframe_frequency=twopass?256:64; - } - - input_mask = argv[optind]; - if (!input_mask) { - fprintf(stderr, "no input files specified; run with -h for help.\n"); - exit(1); - } - /* dirname and basename must operate on scratch strings */ - scratch = strdup(input_mask); - input_directory = strdup(dirname(scratch)); - free(scratch); - scratch = strdup(input_mask); - input_filter = strdup(basename(scratch)); - free(scratch); - -#ifdef DEBUG - fprintf(stderr, "scanning %s with filter '%s'\n", - input_directory, input_filter); -#endif - n = scandir (input_directory, &png_files, include_files, alphasort); - - if (!n) { - fprintf(stderr, "no input files found; run with -h for help.\n"); - exit(1); - } - - ogg_fp = fopen(option_output, "wb"); - if(!ogg_fp) { - fprintf(stderr, "%s: error: %s\n", - option_output, "couldn't open output file"); - return 1; - } - - srand(time(NULL)); - if(ogg_stream_init(&ogg_os, rand())) { - fprintf(stderr, "%s: error: %s\n", - option_output, "couldn't create ogg stream state"); - return 1; - } - - for(passno=(twopass==3?1:twopass);passno<=(twopass==3?2:twopass);passno++){ - unsigned int w; - unsigned int h; - unsigned char *yuv; - char input_png[1024]; - int last = 0; - - snprintf(input_png, 1023,"%s/%s", input_directory, png_files[0]->d_name); - if(png_read(input_png, &w, &h, &yuv)) { - fprintf(stderr, "could not read %s\n", input_png); - exit(1); - } - - if (passno!=2) fprintf(stderr,"%d frames, %dx%d\n",n,w,h); - - /* setup complete. Raw processing loop */ - switch(passno){ - case 0: case 2: - fprintf(stderr,"\rCompressing.... \n"); - break; - case 1: - fprintf(stderr,"\rScanning first pass.... \n"); - break; - } - - fprintf(stderr, "%s\n", input_png); - - th_info_init(&ti); - ti.frame_width = ((w + 15) >>4)<<4; - ti.frame_height = ((h + 15)>>4)<<4; - ti.pic_width = w; - ti.pic_height = h; - ti.pic_x = 0; - ti.pic_y = 0; - ti.fps_numerator = video_fps_numerator; - ti.fps_denominator = video_fps_denominator; - ti.aspect_numerator = video_aspect_numerator; - ti.aspect_denominator = video_aspect_denominator; - ti.colorspace = TH_CS_UNSPECIFIED; - ti.pixel_fmt = chroma_format; - ti.target_bitrate = video_rate; - ti.quality = video_quality; - ti.keyframe_granule_shift=ilog(keyframe_frequency-1); - - td=th_encode_alloc(&ti); - th_info_clear(&ti); - /* setting just the granule shift only allows power-of-two keyframe - spacing. Set the actual requested spacing. */ - ret=th_encode_ctl(td,TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE, - &keyframe_frequency,sizeof(keyframe_frequency-1)); - if(ret<0){ - fprintf(stderr,"Could not set keyframe interval to %d.\n",(int)keyframe_frequency); - } - if(vp3_compatible){ - ret=th_encode_ctl(td,TH_ENCCTL_SET_VP3_COMPATIBLE,&vp3_compatible, - sizeof(vp3_compatible)); - if(ret<0||!vp3_compatible){ - fprintf(stderr,"Could not enable strict VP3 compatibility.\n"); - if(ret>=0){ - fprintf(stderr,"Ensure your source format is supported by VP3.\n"); - fprintf(stderr, - "(4:2:0 pixel format, width and height multiples of 16).\n"); - } - } - } - if(soft_target){ - /* reverse the rate control flags to favor a 'long time' strategy */ - int arg = TH_RATECTL_CAP_UNDERFLOW; - ret=th_encode_ctl(td,TH_ENCCTL_SET_RATE_FLAGS,&arg,sizeof(arg)); - if(ret<0) - fprintf(stderr,"Could not set encoder flags for --soft-target\n"); - /* Default buffer control is overridden on two-pass */ - if(!twopass&&buf_delay<0){ - if((keyframe_frequency*7>>1) > 5*video_fps_numerator/video_fps_denominator) - arg=keyframe_frequency*7>>1; - else - arg=5*video_fps_numerator/video_fps_denominator; - ret=th_encode_ctl(td,TH_ENCCTL_SET_RATE_BUFFER,&arg,sizeof(arg)); - if(ret<0) - fprintf(stderr,"Could not set rate control buffer for --soft-target\n"); - } - } - /* set up two-pass if needed */ - if(passno==1){ - unsigned char *buffer; - int bytes; - bytes=th_encode_ctl(td,TH_ENCCTL_2PASS_OUT,&buffer,sizeof(buffer)); - if(bytes<0){ - fprintf(stderr,"Could not set up the first pass of two-pass mode.\n"); - fprintf(stderr,"Did you remember to specify an estimated bitrate?\n"); - exit(1); - } - /*Perform a seek test to ensure we can overwrite this placeholder data at - the end; this is better than letting the user sit through a whole - encode only to find out their pass 1 file is useless at the end.*/ - if(fseek(twopass_file,0,SEEK_SET)<0){ - fprintf(stderr,"Unable to seek in two-pass data file.\n"); - exit(1); - } - if(fwrite(buffer,1,bytes,twopass_file)=0){ - ret=th_encode_ctl(td,TH_ENCCTL_SET_RATE_BUFFER, - &buf_delay,sizeof(buf_delay)); - if(ret<0){ - fprintf(stderr,"Warning: could not set desired buffer delay.\n"); - } - } - /* write the bitstream header packets with proper page interleave */ - th_comment_init(&tc); - /* first packet will get its own page automatically */ - if(th_encode_flushheader(td,&tc,&op)<=0){ - fprintf(stderr,"Internal Theora library error.\n"); - exit(1); - } - th_comment_clear(&tc); - if(passno!=1){ - ogg_stream_packetin(&ogg_os,&op); - if(ogg_stream_pageout(&ogg_os,&og)!=1){ - fprintf(stderr,"Internal Ogg library error.\n"); - exit(1); - } - fwrite(og.header,1,og.header_len,ogg_fp); - fwrite(og.body,1,og.body_len,ogg_fp); - } - /* create the remaining theora headers */ - for(;;){ - ret=th_encode_flushheader(td,&tc,&op); - if(ret<0){ - fprintf(stderr,"Internal Theora library error.\n"); - exit(1); - } - else if(!ret)break; - if(passno!=1)ogg_stream_packetin(&ogg_os,&op); - } - /* Flush the rest of our headers. This ensures - the actual data in each stream will start - on a new page, as per spec. */ - if(passno!=1){ - for(;;){ - int result = ogg_stream_flush(&ogg_os,&og); - if(result<0){ - /* can't get here */ - fprintf(stderr,"Internal Ogg library error.\n"); - exit(1); - } - if(result==0)break; - fwrite(og.header,1,og.header_len,ogg_fp); - fwrite(og.body,1,og.body_len,ogg_fp); - } - } - - i=0; last=0; - do { - if(i >= n-1) last = 1; - if(theora_write_frame(w, h, yuv, last)) { - fprintf(stderr,"Encoding error.\n"); - exit(1); - } - free(yuv); - i++; - if (!last) { - snprintf(input_png, 1023,"%s/%s", input_directory, png_files[i]->d_name); - if(png_read(input_png, &w, &h, &yuv)) { - fprintf(stderr, "could not read %s\n", input_png); - exit(1); - } - fprintf(stderr, "%s\n", input_png); - } - } while (!last); - - if(passno==1){ - /* need to read the final (summary) packet */ - unsigned char *buffer; - int bytes = th_encode_ctl(td, TH_ENCCTL_2PASS_OUT, &buffer, sizeof(buffer)); - if(bytes<0){ - fprintf(stderr,"Could not read two-pass summary data from encoder.\n"); - exit(1); - } - if(fseek(twopass_file,0,SEEK_SET)<0){ - fprintf(stderr,"Unable to seek in two-pass data file.\n"); - exit(1); - } - if(fwrite(buffer,1,bytes,twopass_file)libtheora C API. - * The current reference - * implementation for Theora, a free, - * patent-unencumbered video codec. - * Theora is derived from On2's VP3 codec with additional features and - * integration with Ogg multimedia formats by - * the Xiph.Org Foundation. - * Complete documentation of the format itself is available in - * the Theora - * specification. - * - * \subsection Organization - * - * The functions documented here are actually subdivided into three - * separate libraries: - * - libtheoraenc contains the encoder interface, - * described in \ref encfuncs. - * - libtheoradec contains the decoder interface and - * routines shared with the encoder. - * You must also link to this if you link to libtheoraenc. - * The routines in this library are described in \ref decfuncs and - * \ref basefuncs. - * - libtheora contains the \ref oldfuncs. - * - * New code should link to libtheoradec and, if using encoder - * features, libtheoraenc. Together these two export both - * the standard and the legacy API, so this is all that is needed by - * any code. The older libtheora library is provided just for - * compatibility with older build configurations. - * - * In general the recommended 1.x API symbols can be distinguished - * by their th_ or TH_ namespace prefix. - * The older, legacy API uses theora_ or OC_ - * prefixes instead. - */ - -/**\file - * The shared libtheoradec and libtheoraenc C API. - * You don't need to include this directly.*/ - -#if !defined(_O_THEORA_CODEC_H_) -# define _O_THEORA_CODEC_H_ (1) -# include - -#if defined(__cplusplus) -extern "C" { -#endif - - - -/**\name Return codes*/ -/*@{*/ -/**An invalid pointer was provided.*/ -#define TH_EFAULT (-1) -/**An invalid argument was provided.*/ -#define TH_EINVAL (-10) -/**The contents of the header were incomplete, invalid, or unexpected.*/ -#define TH_EBADHEADER (-20) -/**The header does not belong to a Theora stream.*/ -#define TH_ENOTFORMAT (-21) -/**The bitstream version is too high.*/ -#define TH_EVERSION (-22) -/**The specified function is not implemented.*/ -#define TH_EIMPL (-23) -/**There were errors in the video data packet.*/ -#define TH_EBADPACKET (-24) -/**The decoded packet represented a dropped frame. - The player can continue to display the current frame, as the contents of the - decoded frame buffer have not changed.*/ -#define TH_DUPFRAME (1) -/*@}*/ - -/**The currently defined color space tags. - * See the Theora - * specification, Chapter 4, for exact details on the meaning - * of each of these color spaces.*/ -typedef enum{ - /**The color space was not specified at the encoder. - It may be conveyed by an external means.*/ - TH_CS_UNSPECIFIED, - /**A color space designed for NTSC content.*/ - TH_CS_ITU_REC_470M, - /**A color space designed for PAL/SECAM content.*/ - TH_CS_ITU_REC_470BG, - /**The total number of currently defined color spaces.*/ - TH_CS_NSPACES -}th_colorspace; - -/**The currently defined pixel format tags. - * See the Theora - * specification, Section 4.4, for details on the precise sample - * locations.*/ -typedef enum{ - /**Chroma decimation by 2 in both the X and Y directions (4:2:0). - The Cb and Cr chroma planes are half the width and half the - height of the luma plane.*/ - TH_PF_420, - /**Currently reserved.*/ - TH_PF_RSVD, - /**Chroma decimation by 2 in the X direction (4:2:2). - The Cb and Cr chroma planes are half the width of the luma plane, but full - height.*/ - TH_PF_422, - /**No chroma decimation (4:4:4). - The Cb and Cr chroma planes are full width and full height.*/ - TH_PF_444, - /**The total number of currently defined pixel formats.*/ - TH_PF_NFORMATS -}th_pixel_fmt; - - - -/**A buffer for a single color plane in an uncompressed image. - * This contains the image data in a left-to-right, top-down format. - * Each row of pixels is stored contiguously in memory, but successive - * rows need not be. - * Use \a stride to compute the offset of the next row. - * The encoder accepts both positive \a stride values (top-down in memory) - * and negative (bottom-up in memory). - * The decoder currently always generates images with positive strides.*/ -typedef struct{ - /**The width of this plane.*/ - int width; - /**The height of this plane.*/ - int height; - /**The offset in bytes between successive rows.*/ - int stride; - /**A pointer to the beginning of the first row.*/ - unsigned char *data; -}th_img_plane; - -/**A complete image buffer for an uncompressed frame. - * The chroma planes may be decimated by a factor of two in either - * direction, as indicated by th_info#pixel_fmt. - * The width and height of the Y' plane must be multiples of 16. - * They may need to be cropped for display, using the rectangle - * specified by th_info#pic_x, th_info#pic_y, th_info#pic_width, - * and th_info#pic_height. - * All samples are 8 bits. - * \note The term YUV often used to describe a colorspace is ambiguous. - * The exact parameters of the RGB to YUV conversion process aside, in - * many contexts the U and V channels actually have opposite meanings. - * To avoid this confusion, we are explicit: the name of the color - * channels are Y'CbCr, and they appear in that order, always. - * The prime symbol denotes that the Y channel is non-linear. - * Cb and Cr stand for "Chroma blue" and "Chroma red", respectively.*/ -typedef th_img_plane th_ycbcr_buffer[3]; - -/**Theora bitstream information. - * This contains the basic playback parameters for a stream, and corresponds to - * the initial 'info' header packet. - * To initialize an encoder, the application fills in this structure and - * passes it to th_encode_alloc(). - * A default encoding mode is chosen based on the values of the #quality and - * #target_bitrate fields. - * On decode, it is filled in by th_decode_headerin(), and then passed to - * th_decode_alloc(). - * - * Encoded Theora frames must be a multiple of 16 in size; - * this is what the #frame_width and #frame_height members represent. - * To handle arbitrary picture sizes, a crop rectangle is specified in the - * #pic_x, #pic_y, #pic_width and #pic_height members. - * - * All frame buffers contain pointers to the full, padded frame. - * However, the current encoder will not reference pixels outside of - * the cropped picture region, and the application does not need to fill them - * in. - * The decoder will allocate storage for a full frame, but the - * application should not rely on the padding containing sensible - * data. - * - * It is also generally recommended that the offsets and sizes should still be - * multiples of 2 to avoid chroma sampling shifts when chroma is sub-sampled. - * See the Theora - * specification, Section 4.4, for more details. - * - * Frame rate, in frames per second, is stored as a rational fraction, as is - * the pixel aspect ratio. - * Note that this refers to the aspect ratio of the individual pixels, not of - * the overall frame itself. - * The frame aspect ratio can be computed from pixel aspect ratio using the - * image dimensions.*/ -typedef struct{ - /**\name Theora version - * Bitstream version information.*/ - /*@{*/ - unsigned char version_major; - unsigned char version_minor; - unsigned char version_subminor; - /*@}*/ - /**The encoded frame width. - * This must be a multiple of 16, and less than 1048576.*/ - ogg_uint32_t frame_width; - /**The encoded frame height. - * This must be a multiple of 16, and less than 1048576.*/ - ogg_uint32_t frame_height; - /**The displayed picture width. - * This must be no larger than width.*/ - ogg_uint32_t pic_width; - /**The displayed picture height. - * This must be no larger than height.*/ - ogg_uint32_t pic_height; - /**The X offset of the displayed picture. - * This must be no larger than #frame_width-#pic_width or 255, whichever is - * smaller.*/ - ogg_uint32_t pic_x; - /**The Y offset of the displayed picture. - * This must be no larger than #frame_height-#pic_height, and - * #frame_height-#pic_height-#pic_y must be no larger than 255. - * This slightly funny restriction is due to the fact that the offset is - * specified from the top of the image for consistency with the standard - * graphics left-handed coordinate system used throughout this API, while - * it is stored in the encoded stream as an offset from the bottom.*/ - ogg_uint32_t pic_y; - /**\name Frame rate - * The frame rate, as a fraction. - * If either is 0, the frame rate is undefined.*/ - /*@{*/ - ogg_uint32_t fps_numerator; - ogg_uint32_t fps_denominator; - /*@}*/ - /**\name Aspect ratio - * The aspect ratio of the pixels. - * If either value is zero, the aspect ratio is undefined. - * If not specified by any external means, 1:1 should be assumed. - * The aspect ratio of the full picture can be computed as - * \code - * aspect_numerator*pic_width/(aspect_denominator*pic_height). - * \endcode */ - /*@{*/ - ogg_uint32_t aspect_numerator; - ogg_uint32_t aspect_denominator; - /*@}*/ - /**The color space.*/ - th_colorspace colorspace; - /**The pixel format.*/ - th_pixel_fmt pixel_fmt; - /**The target bit-rate in bits per second. - If initializing an encoder with this struct, set this field to a non-zero - value to activate CBR encoding by default.*/ - int target_bitrate; - /**The target quality level. - Valid values range from 0 to 63, inclusive, with higher values giving - higher quality. - If initializing an encoder with this struct, and #target_bitrate is set - to zero, VBR encoding at this quality will be activated by default.*/ - /*Currently this is set so that a qi of 0 corresponds to distortions of 24 - times the JND, and each increase by 16 halves that value. - This gives us fine discrimination at low qualities, yet effective rate - control at high qualities. - The qi value 63 is special, however. - For this, the highest quality, we use one half of a JND for our threshold. - Due to the lower bounds placed on allowable quantizers in Theora, we will - not actually be able to achieve quality this good, but this should - provide as close to visually lossless quality as Theora is capable of. - We could lift the quantizer restrictions without breaking VP3.1 - compatibility, but this would result in quantized coefficients that are - too large for the current bitstream to be able to store. - We'd have to redesign the token syntax to store these large coefficients, - which would make transcoding complex.*/ - int quality; - /**The amount to shift to extract the last keyframe number from the granule - * position. - * This can be at most 31. - * th_info_init() will set this to a default value (currently 6, - * which is good for streaming applications), but you can set it to 0 to - * make every frame a keyframe. - * The maximum distance between key frames is - * 1<<#keyframe_granule_shift. - * The keyframe frequency can be more finely controlled with - * #TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE, which can also be adjusted - * during encoding (for example, to force the next frame to be a keyframe), - * but it cannot be set larger than the amount permitted by this field after - * the headers have been output.*/ - int keyframe_granule_shift; -}th_info; - -/**The comment information. - * - * This structure holds the in-stream metadata corresponding to - * the 'comment' header packet. - * The comment header is meant to be used much like someone jotting a quick - * note on the label of a video. - * It should be a short, to the point text note that can be more than a couple - * words, but not more than a short paragraph. - * - * The metadata is stored as a series of (tag, value) pairs, in - * length-encoded string vectors. - * The first occurrence of the '=' character delimits the tag and value. - * A particular tag may occur more than once, and order is significant. - * The character set encoding for the strings is always UTF-8, but the tag - * names are limited to ASCII, and treated as case-insensitive. - * See the Theora - * specification, Section 6.3.3 for details. - * - * In filling in this structure, th_decode_headerin() will null-terminate - * the user_comment strings for safety. - * However, the bitstream format itself treats them as 8-bit clean vectors, - * possibly containing null characters, and so the length array should be - * treated as their authoritative length. - */ -typedef struct th_comment{ - /**The array of comment string vectors.*/ - char **user_comments; - /**An array of the corresponding length of each vector, in bytes.*/ - int *comment_lengths; - /**The total number of comment strings.*/ - int comments; - /**The null-terminated vendor string. - This identifies the software used to encode the stream.*/ - char *vendor; -}th_comment; - - - -/**A single base matrix.*/ -typedef unsigned char th_quant_base[64]; - -/**A set of \a qi ranges.*/ -typedef struct{ - /**The number of ranges in the set.*/ - int nranges; - /**The size of each of the #nranges ranges. - These must sum to 63.*/ - const int *sizes; - /**#nranges +1 base matrices. - Matrices \a i and i+1 form the endpoints of range \a i.*/ - const th_quant_base *base_matrices; -}th_quant_ranges; - -/**A complete set of quantization parameters. - The quantizer for each coefficient is calculated as: - \code - Q=MAX(MIN(qmin[qti][ci!=0],scale[ci!=0][qi]*base[qti][pli][qi][ci]/100), - 1024). - \endcode - - \a qti is the quantization type index: 0 for intra, 1 for inter. - ci!=0 is 0 for the DC coefficient and 1 for AC coefficients. - \a qi is the quality index, ranging between 0 (low quality) and 63 (high - quality). - \a pli is the color plane index: 0 for Y', 1 for Cb, 2 for Cr. - \a ci is the DCT coefficient index. - Coefficient indices correspond to the normal 2D DCT block - ordering--row-major with low frequencies first--\em not zig-zag order. - - Minimum quantizers are constant, and are given by: - \code - qmin[2][2]={{4,2},{8,4}}. - \endcode - - Parameters that can be stored in the bitstream are as follows: - - The two scale matrices ac_scale and dc_scale. - \code - scale[2][64]={dc_scale,ac_scale}. - \endcode - - The base matrices for each \a qi, \a qti and \a pli (up to 384 in all). - In order to avoid storing a full 384 base matrices, only a sparse set of - matrices are stored, and the rest are linearly interpolated. - This is done as follows. - For each \a qti and \a pli, a series of \a n \a qi ranges is defined. - The size of each \a qi range can vary arbitrarily, but they must sum to - 63. - Then, n+1 matrices are specified, one for each endpoint of the - ranges. - For interpolation purposes, each range's endpoints are the first \a qi - value it contains and one past the last \a qi value it contains. - Fractional values are rounded to the nearest integer, with ties rounded - away from zero. - - Base matrices are stored by reference, so if the same matrices are used - multiple times, they will only appear once in the bitstream. - The bitstream is also capable of omitting an entire set of ranges and - its associated matrices if they are the same as either the previous - set (indexed in row-major order) or if the inter set is the same as the - intra set. - - - Loop filter limit values. - The same limits are used for the loop filter in all color planes, despite - potentially differing levels of quantization in each. - - For the current encoder, scale[ci!=0][qi] must be no greater - than scale[ci!=0][qi-1] and base[qti][pli][qi][ci] must - be no greater than base[qti][pli][qi-1][ci]. - These two conditions ensure that the actual quantizer for a given \a qti, - \a pli, and \a ci does not increase as \a qi increases. - This is not required by the decoder.*/ -typedef struct{ - /**The DC scaling factors.*/ - ogg_uint16_t dc_scale[64]; - /**The AC scaling factors.*/ - ogg_uint16_t ac_scale[64]; - /**The loop filter limit values.*/ - unsigned char loop_filter_limits[64]; - /**The \a qi ranges for each \a ci and \a pli.*/ - th_quant_ranges qi_ranges[2][3]; -}th_quant_info; - - - -/**The number of Huffman tables used by Theora.*/ -#define TH_NHUFFMAN_TABLES (80) -/**The number of DCT token values in each table.*/ -#define TH_NDCT_TOKENS (32) - -/**A Huffman code for a Theora DCT token. - * Each set of Huffman codes in a given table must form a complete, prefix-free - * code. - * There is no requirement that all the tokens in a table have a valid code, - * but the current encoder is not optimized to take advantage of this. - * If each of the five grouops of 16 tables does not contain at least one table - * with a code for every token, then the encoder may fail to encode certain - * frames. - * The complete table in the first group of 16 does not have to be in the same - * place as the complete table in the other groups, but the complete tables in - * the remaining four groups must all be in the same place.*/ -typedef struct{ - /**The bit pattern for the code, with the LSbit of the pattern aligned in - * the LSbit of the word.*/ - ogg_uint32_t pattern; - /**The number of bits in the code. - * This must be between 0 and 32, inclusive.*/ - int nbits; -}th_huff_code; - - - -/**\defgroup basefuncs Functions Shared by Encode and Decode*/ -/*@{*/ -/**\name Basic shared functions*/ -/*@{*/ -/**Retrieves a human-readable string to identify the library vendor and - * version. - * \return the version string.*/ -extern const char *th_version_string(void); -/**Retrieves the library version number. - * This is the highest bitstream version that the encoder library will produce, - * or that the decoder library can decode. - * This number is composed of a 16-bit major version, 8-bit minor version - * and 8 bit sub-version, composed as follows: - * \code - * (VERSION_MAJOR<<16)+(VERSION_MINOR<<8)+(VERSION_SUBMINOR) - * \endcode - * \return the version number.*/ -extern ogg_uint32_t th_version_number(void); -/**Converts a granule position to an absolute frame index, starting at - * 0. - * The granule position is interpreted in the context of a given - * #th_enc_ctx or #th_dec_ctx handle (either will suffice). - * \param _encdec A previously allocated #th_enc_ctx or #th_dec_ctx - * handle. - * \param _granpos The granule position to convert. - * \returns The absolute frame index corresponding to \a _granpos. - * \retval -1 The given granule position was invalid (i.e. negative).*/ -extern ogg_int64_t th_granule_frame(void *_encdec,ogg_int64_t _granpos); -/**Converts a granule position to an absolute time in seconds. - * The granule position is interpreted in the context of a given - * #th_enc_ctx or #th_dec_ctx handle (either will suffice). - * \param _encdec A previously allocated #th_enc_ctx or #th_dec_ctx - * handle. - * \param _granpos The granule position to convert. - * \return The absolute time in seconds corresponding to \a _granpos. - * This is the "end time" for the frame, or the latest time it should - * be displayed. - * It is not the presentation time. - * \retval -1 The given granule position was invalid (i.e. negative).*/ -extern double th_granule_time(void *_encdec,ogg_int64_t _granpos); -/**Determines whether a Theora packet is a header or not. - * This function does no verification beyond checking the packet type bit, so - * it should not be used for bitstream identification; use - * th_decode_headerin() for that. - * As per the Theora specification, an empty (0-byte) packet is treated as a - * data packet (a delta frame with no coded blocks). - * \param _op An ogg_packet containing encoded Theora data. - * \retval 1 The packet is a header packet - * \retval 0 The packet is a video data packet.*/ -extern int th_packet_isheader(ogg_packet *_op); -/**Determines whether a theora packet is a key frame or not. - * This function does no verification beyond checking the packet type and - * key frame bits, so it should not be used for bitstream identification; use - * th_decode_headerin() for that. - * As per the Theora specification, an empty (0-byte) packet is treated as a - * delta frame (with no coded blocks). - * \param _op An ogg_packet containing encoded Theora data. - * \retval 1 The packet contains a key frame. - * \retval 0 The packet contains a delta frame. - * \retval -1 The packet is not a video data packet.*/ -extern int th_packet_iskeyframe(ogg_packet *_op); -/*@}*/ - - -/**\name Functions for manipulating header data*/ -/*@{*/ -/**Initializes a th_info structure. - * This should be called on a freshly allocated #th_info structure before - * attempting to use it. - * \param _info The #th_info struct to initialize.*/ -extern void th_info_init(th_info *_info); -/**Clears a #th_info structure. - * This should be called on a #th_info structure after it is no longer - * needed. - * \param _info The #th_info struct to clear.*/ -extern void th_info_clear(th_info *_info); - -/**Initialize a #th_comment structure. - * This should be called on a freshly allocated #th_comment structure - * before attempting to use it. - * \param _tc The #th_comment struct to initialize.*/ -extern void th_comment_init(th_comment *_tc); -/**Add a comment to an initialized #th_comment structure. - * \note Neither th_comment_add() nor th_comment_add_tag() support - * comments containing null values, although the bitstream format does - * support them. - * To add such comments you will need to manipulate the #th_comment - * structure directly. - * \param _tc The #th_comment struct to add the comment to. - * \param _comment Must be a null-terminated UTF-8 string containing the - * comment in "TAG=the value" form.*/ -extern void th_comment_add(th_comment *_tc, char *_comment); -/**Add a comment to an initialized #th_comment structure. - * \note Neither th_comment_add() nor th_comment_add_tag() support - * comments containing null values, although the bitstream format does - * support them. - * To add such comments you will need to manipulate the #th_comment - * structure directly. - * \param _tc The #th_comment struct to add the comment to. - * \param _tag A null-terminated string containing the tag associated with - * the comment. - * \param _val The corresponding value as a null-terminated string.*/ -extern void th_comment_add_tag(th_comment *_tc,char *_tag,char *_val); -/**Look up a comment value by its tag. - * \param _tc An initialized #th_comment structure. - * \param _tag The tag to look up. - * \param _count The instance of the tag. - * The same tag can appear multiple times, each with a distinct - * value, so an index is required to retrieve them all. - * The order in which these values appear is significant and - * should be preserved. - * Use th_comment_query_count() to get the legal range for - * the \a _count parameter. - * \return A pointer to the queried tag's value. - * This points directly to data in the #th_comment structure. - * It should not be modified or freed by the application, and - * modifications to the structure may invalidate the pointer. - * \retval NULL If no matching tag is found.*/ -extern char *th_comment_query(th_comment *_tc,char *_tag,int _count); -/**Look up the number of instances of a tag. - * Call this first when querying for a specific tag and then iterate over the - * number of instances with separate calls to th_comment_query() to - * retrieve all the values for that tag in order. - * \param _tc An initialized #th_comment structure. - * \param _tag The tag to look up. - * \return The number on instances of this particular tag.*/ -extern int th_comment_query_count(th_comment *_tc,char *_tag); -/**Clears a #th_comment structure. - * This should be called on a #th_comment structure after it is no longer - * needed. - * It will free all memory used by the structure members. - * \param _tc The #th_comment struct to clear.*/ -extern void th_comment_clear(th_comment *_tc); -/*@}*/ -/*@}*/ - - - -#if defined(__cplusplus) -} -#endif - -#endif diff --git a/Libraries/libtheora-1.1.1/include/theora/theora.h b/Libraries/libtheora-1.1.1/include/theora/theora.h deleted file mode 100644 index af6eb6f3..00000000 --- a/Libraries/libtheora-1.1.1/include/theora/theora.h +++ /dev/null @@ -1,784 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: theora.h,v 1.17 2003/12/06 18:06:19 arc Exp $ - - ********************************************************************/ - -#ifndef _O_THEORA_H_ -#define _O_THEORA_H_ - -#ifdef __cplusplus -extern "C" -{ -#endif /* __cplusplus */ - -#include /* for size_t */ - -#include - -/** \file - * The libtheora pre-1.0 legacy C API. - * - * \ingroup oldfuncs - * - * \section intro Introduction - * - * This is the documentation for the libtheora legacy C API, declared in - * the theora.h header, which describes the old interface used before - * the 1.0 release. This API was widely deployed for several years and - * remains supported, but for new code we recommend the cleaner API - * declared in theoradec.h and theoraenc.h. - * - * libtheora is the reference implementation for - * Theora, a free video codec. - * Theora is derived from On2's VP3 codec with improved integration with - * Ogg multimedia formats by Xiph.Org. - * - * \section overview Overview - * - * This library will both decode and encode theora packets to/from raw YUV - * frames. In either case, the packets will most likely either come from or - * need to be embedded in an Ogg stream. Use - * libogg or - * liboggz - * to extract/package these packets. - * - * \section decoding Decoding Process - * - * Decoding can be separated into the following steps: - * -# initialise theora_info and theora_comment structures using - * theora_info_init() and theora_comment_init(): - \verbatim - theora_info info; - theora_comment comment; - - theora_info_init(&info); - theora_comment_init(&comment); - \endverbatim - * -# retrieve header packets from Ogg stream (there should be 3) and decode - * into theora_info and theora_comment structures using - * theora_decode_header(). See \ref identification for more information on - * identifying which packets are theora packets. - \verbatim - int i; - for (i = 0; i < 3; i++) - { - (get a theora packet "op" from the Ogg stream) - theora_decode_header(&info, &comment, op); - } - \endverbatim - * -# initialise the decoder based on the information retrieved into the - * theora_info struct by theora_decode_header(). You will need a - * theora_state struct. - \verbatim - theora_state state; - - theora_decode_init(&state, &info); - \endverbatim - * -# pass in packets and retrieve decoded frames! See the yuv_buffer - * documentation for information on how to retrieve raw YUV data. - \verbatim - yuf_buffer buffer; - while (last packet was not e_o_s) { - (get a theora packet "op" from the Ogg stream) - theora_decode_packetin(&state, op); - theora_decode_YUVout(&state, &buffer); - } - \endverbatim - * - * - * \subsection identification Identifying Theora Packets - * - * All streams inside an Ogg file have a unique serial_no attached to the - * stream. Typically, you will want to - * - retrieve the serial_no for each b_o_s (beginning of stream) page - * encountered within the Ogg file; - * - test the first (only) packet on that page to determine if it is a theora - * packet; - * - once you have found a theora b_o_s page then use the retrieved serial_no - * to identify future packets belonging to the same theora stream. - * - * Note that you \e cannot use theora_packet_isheader() to determine if a - * packet is a theora packet or not, as this function does not perform any - * checking beyond whether a header bit is present. Instead, use the - * theora_decode_header() function and check the return value; or examine the - * header bytes at the beginning of the Ogg page. - */ - - -/** \defgroup oldfuncs Legacy pre-1.0 C API */ -/* @{ */ - -/** - * A YUV buffer for passing uncompressed frames to and from the codec. - * This holds a Y'CbCr frame in planar format. The CbCr planes can be - * subsampled and have their own separate dimensions and row stride - * offsets. Note that the strides may be negative in some - * configurations. For theora the width and height of the largest plane - * must be a multiple of 16. The actual meaningful picture size and - * offset are stored in the theora_info structure; frames returned by - * the decoder may need to be cropped for display. - * - * All samples are 8 bits. Within each plane samples are ordered by - * row from the top of the frame to the bottom. Within each row samples - * are ordered from left to right. - * - * During decode, the yuv_buffer struct is allocated by the user, but all - * fields (including luma and chroma pointers) are filled by the library. - * These pointers address library-internal memory and their contents should - * not be modified. - * - * Conversely, during encode the user allocates the struct and fills out all - * fields. The user also manages the data addressed by the luma and chroma - * pointers. See the encoder_example.c and dump_video.c example files in - * theora/examples/ for more information. - */ -typedef struct { - int y_width; /**< Width of the Y' luminance plane */ - int y_height; /**< Height of the luminance plane */ - int y_stride; /**< Offset in bytes between successive rows */ - - int uv_width; /**< Width of the Cb and Cr chroma planes */ - int uv_height; /**< Height of the chroma planes */ - int uv_stride; /**< Offset between successive chroma rows */ - unsigned char *y; /**< Pointer to start of luminance data */ - unsigned char *u; /**< Pointer to start of Cb data */ - unsigned char *v; /**< Pointer to start of Cr data */ - -} yuv_buffer; - -/** - * A Colorspace. - */ -typedef enum { - OC_CS_UNSPECIFIED, /**< The colorspace is unknown or unspecified */ - OC_CS_ITU_REC_470M, /**< This is the best option for 'NTSC' content */ - OC_CS_ITU_REC_470BG, /**< This is the best option for 'PAL' content */ - OC_CS_NSPACES /**< This marks the end of the defined colorspaces */ -} theora_colorspace; - -/** - * A Chroma subsampling - * - * These enumerate the available chroma subsampling options supported - * by the theora format. See Section 4.4 of the specification for - * exact definitions. - */ -typedef enum { - OC_PF_420, /**< Chroma subsampling by 2 in each direction (4:2:0) */ - OC_PF_RSVD, /**< Reserved value */ - OC_PF_422, /**< Horizonatal chroma subsampling by 2 (4:2:2) */ - OC_PF_444, /**< No chroma subsampling at all (4:4:4) */ -} theora_pixelformat; - -/** - * Theora bitstream info. - * Contains the basic playback parameters for a stream, - * corresponding to the initial 'info' header packet. - * - * Encoded theora frames must be a multiple of 16 in width and height. - * To handle other frame sizes, a crop rectangle is specified in - * frame_height and frame_width, offset_x and * offset_y. The offset - * and size should still be a multiple of 2 to avoid chroma sampling - * shifts. Offset values in this structure are measured from the - * upper left of the image. - * - * Frame rate, in frames per second, is stored as a rational - * fraction. Aspect ratio is also stored as a rational fraction, and - * refers to the aspect ratio of the frame pixels, not of the - * overall frame itself. - * - * See - * examples/encoder_example.c for usage examples of the - * other paramters and good default settings for the encoder parameters. - */ -typedef struct { - ogg_uint32_t width; /**< encoded frame width */ - ogg_uint32_t height; /**< encoded frame height */ - ogg_uint32_t frame_width; /**< display frame width */ - ogg_uint32_t frame_height; /**< display frame height */ - ogg_uint32_t offset_x; /**< horizontal offset of the displayed frame */ - ogg_uint32_t offset_y; /**< vertical offset of the displayed frame */ - ogg_uint32_t fps_numerator; /**< frame rate numerator **/ - ogg_uint32_t fps_denominator; /**< frame rate denominator **/ - ogg_uint32_t aspect_numerator; /**< pixel aspect ratio numerator */ - ogg_uint32_t aspect_denominator; /**< pixel aspect ratio denominator */ - theora_colorspace colorspace; /**< colorspace */ - int target_bitrate; /**< nominal bitrate in bits per second */ - int quality; /**< Nominal quality setting, 0-63 */ - int quick_p; /**< Quick encode/decode */ - - /* decode only */ - unsigned char version_major; - unsigned char version_minor; - unsigned char version_subminor; - - void *codec_setup; - - /* encode only */ - int dropframes_p; - int keyframe_auto_p; - ogg_uint32_t keyframe_frequency; - ogg_uint32_t keyframe_frequency_force; /* also used for decode init to - get granpos shift correct */ - ogg_uint32_t keyframe_data_target_bitrate; - ogg_int32_t keyframe_auto_threshold; - ogg_uint32_t keyframe_mindistance; - ogg_int32_t noise_sensitivity; - ogg_int32_t sharpness; - - theora_pixelformat pixelformat; /**< chroma subsampling mode to expect */ - -} theora_info; - -/** Codec internal state and context. - */ -typedef struct{ - theora_info *i; - ogg_int64_t granulepos; - - void *internal_encode; - void *internal_decode; - -} theora_state; - -/** - * Comment header metadata. - * - * This structure holds the in-stream metadata corresponding to - * the 'comment' header packet. - * - * Meta data is stored as a series of (tag, value) pairs, in - * length-encoded string vectors. The first occurence of the - * '=' character delimits the tag and value. A particular tag - * may occur more than once. The character set encoding for - * the strings is always UTF-8, but the tag names are limited - * to case-insensitive ASCII. See the spec for details. - * - * In filling in this structure, theora_decode_header() will - * null-terminate the user_comment strings for safety. However, - * the bitstream format itself treats them as 8-bit clean, - * and so the length array should be treated as authoritative - * for their length. - */ -typedef struct theora_comment{ - char **user_comments; /**< An array of comment string vectors */ - int *comment_lengths; /**< An array of corresponding string vector lengths in bytes */ - int comments; /**< The total number of comment string vectors */ - char *vendor; /**< The vendor string identifying the encoder, null terminated */ - -} theora_comment; - - -/**\name theora_control() codes */ -/* \anchor decctlcodes_old - * These are the available request codes for theora_control() - * when called with a decoder instance. - * By convention decoder control codes are odd, to distinguish - * them from \ref encctlcodes_old "encoder control codes" which - * are even. - * - * Note that since the 1.0 release, both the legacy and the final - * implementation accept all the same control codes, but only the - * final API declares the newer codes. - * - * Keep any experimental or vendor-specific values above \c 0x8000.*/ - -/*@{*/ - -/**Get the maximum post-processing level. - * The decoder supports a post-processing filter that can improve - * the appearance of the decoded images. This returns the highest - * level setting for this post-processor, corresponding to maximum - * improvement and computational expense. - */ -#define TH_DECCTL_GET_PPLEVEL_MAX (1) - -/**Set the post-processing level. - * Sets the level of post-processing to use when decoding the - * compressed stream. This must be a value between zero (off) - * and the maximum returned by TH_DECCTL_GET_PPLEVEL_MAX. - */ -#define TH_DECCTL_SET_PPLEVEL (3) - -/**Sets the maximum distance between key frames. - * This can be changed during an encode, but will be bounded by - * 1<. - * If it is set before encoding begins, th_info#keyframe_granule_shift will - * be enlarged appropriately. - * - * \param[in] buf ogg_uint32_t: The maximum distance between key - * frames. - * \param[out] buf ogg_uint32_t: The actual maximum distance set. - * \retval OC_FAULT \a theora_state or \a buf is NULL. - * \retval OC_EINVAL \a buf_sz is not sizeof(ogg_uint32_t). - * \retval OC_IMPL Not supported by this implementation.*/ -#define TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE (4) - -/**Set the granule position. - * Call this after a seek, to update the internal granulepos - * in the decoder, to insure that subsequent frames are marked - * properly. If you track timestamps yourself and do not use - * the granule postion returned by the decoder, then you do - * not need to use this control. - */ -#define TH_DECCTL_SET_GRANPOS (5) - -/**\anchor encctlcodes_old */ - -/**Sets the quantization parameters to use. - * The parameters are copied, not stored by reference, so they can be freed - * after this call. - * NULL may be specified to revert to the default parameters. - * - * \param[in] buf #th_quant_info - * \retval OC_FAULT \a theora_state is NULL. - * \retval OC_EINVAL Encoding has already begun, the quantization parameters - * are not acceptable to this version of the encoder, - * \a buf is NULL and \a buf_sz is not zero, - * or \a buf is non-NULL and \a buf_sz is - * not sizeof(#th_quant_info). - * \retval OC_IMPL Not supported by this implementation.*/ -#define TH_ENCCTL_SET_QUANT_PARAMS (2) - -/**Disables any encoder features that would prevent lossless transcoding back - * to VP3. - * This primarily means disabling block-level QI values and not using 4MV mode - * when any of the luma blocks in a macro block are not coded. - * It also includes using the VP3 quantization tables and Huffman codes; if you - * set them explicitly after calling this function, the resulting stream will - * not be VP3-compatible. - * If you enable VP3-compatibility when encoding 4:2:2 or 4:4:4 source - * material, or when using a picture region smaller than the full frame (e.g. - * a non-multiple-of-16 width or height), then non-VP3 bitstream features will - * still be disabled, but the stream will still not be VP3-compatible, as VP3 - * was not capable of encoding such formats. - * If you call this after encoding has already begun, then the quantization - * tables and codebooks cannot be changed, but the frame-level features will - * be enabled or disabled as requested. - * - * \param[in] buf int: a non-zero value to enable VP3 compatibility, - * or 0 to disable it (the default). - * \param[out] buf int: 1 if all bitstream features required for - * VP3-compatibility could be set, and 0 otherwise. - * The latter will be returned if the pixel format is not - * 4:2:0, the picture region is smaller than the full frame, - * or if encoding has begun, preventing the quantization - * tables and codebooks from being set. - * \retval OC_FAULT \a theora_state or \a buf is NULL. - * \retval OC_EINVAL \a buf_sz is not sizeof(int). - * \retval OC_IMPL Not supported by this implementation.*/ -#define TH_ENCCTL_SET_VP3_COMPATIBLE (10) - -/**Gets the maximum speed level. - * Higher speed levels favor quicker encoding over better quality per bit. - * Depending on the encoding mode, and the internal algorithms used, quality - * may actually improve, but in this case bitrate will also likely increase. - * In any case, overall rate/distortion performance will probably decrease. - * The maximum value, and the meaning of each value, may change depending on - * the current encoding mode (VBR vs. CQI, etc.). - * - * \param[out] buf int: The maximum encoding speed level. - * \retval OC_FAULT \a theora_state or \a buf is NULL. - * \retval OC_EINVAL \a buf_sz is not sizeof(int). - * \retval OC_IMPL Not supported by this implementation in the current - * encoding mode.*/ -#define TH_ENCCTL_GET_SPLEVEL_MAX (12) - -/**Sets the speed level. - * By default a speed value of 1 is used. - * - * \param[in] buf int: The new encoding speed level. - * 0 is slowest, larger values use less CPU. - * \retval OC_FAULT \a theora_state or \a buf is NULL. - * \retval OC_EINVAL \a buf_sz is not sizeof(int), or the - * encoding speed level is out of bounds. - * The maximum encoding speed level may be - * implementation- and encoding mode-specific, and can be - * obtained via #TH_ENCCTL_GET_SPLEVEL_MAX. - * \retval OC_IMPL Not supported by this implementation in the current - * encoding mode.*/ -#define TH_ENCCTL_SET_SPLEVEL (14) - -/*@}*/ - -#define OC_FAULT -1 /**< General failure */ -#define OC_EINVAL -10 /**< Library encountered invalid internal data */ -#define OC_DISABLED -11 /**< Requested action is disabled */ -#define OC_BADHEADER -20 /**< Header packet was corrupt/invalid */ -#define OC_NOTFORMAT -21 /**< Packet is not a theora packet */ -#define OC_VERSION -22 /**< Bitstream version is not handled */ -#define OC_IMPL -23 /**< Feature or action not implemented */ -#define OC_BADPACKET -24 /**< Packet is corrupt */ -#define OC_NEWPACKET -25 /**< Packet is an (ignorable) unhandled extension */ -#define OC_DUPFRAME 1 /**< Packet is a dropped frame */ - -/** - * Retrieve a human-readable string to identify the encoder vendor and version. - * \returns A version string. - */ -extern const char *theora_version_string(void); - -/** - * Retrieve a 32-bit version number. - * This number is composed of a 16-bit major version, 8-bit minor version - * and 8 bit sub-version, composed as follows: -
-   (VERSION_MAJOR<<16) + (VERSION_MINOR<<8) + (VERSION_SUB)
-
-* \returns The version number. -*/ -extern ogg_uint32_t theora_version_number(void); - -/** - * Initialize the theora encoder. - * \param th The theora_state handle to initialize for encoding. - * \param ti A theora_info struct filled with the desired encoding parameters. - * \retval 0 Success - */ -extern int theora_encode_init(theora_state *th, theora_info *ti); - -/** - * Submit a YUV buffer to the theora encoder. - * \param t A theora_state handle previously initialized for encoding. - * \param yuv A buffer of YUV data to encode. Note that both the yuv_buffer - * struct and the luma/chroma buffers within should be allocated by - * the user. - * \retval OC_EINVAL Encoder is not ready, or is finished. - * \retval -1 The size of the given frame differs from those previously input - * \retval 0 Success - */ -extern int theora_encode_YUVin(theora_state *t, yuv_buffer *yuv); - -/** - * Request the next packet of encoded video. - * The encoded data is placed in a user-provided ogg_packet structure. - * \param t A theora_state handle previously initialized for encoding. - * \param last_p whether this is the last packet the encoder should produce. - * \param op An ogg_packet structure to fill. libtheora will set all - * elements of this structure, including a pointer to encoded - * data. The memory for the encoded data is owned by libtheora. - * \retval 0 No internal storage exists OR no packet is ready - * \retval -1 The encoding process has completed - * \retval 1 Success - */ -extern int theora_encode_packetout( theora_state *t, int last_p, - ogg_packet *op); - -/** - * Request a packet containing the initial header. - * A pointer to the header data is placed in a user-provided ogg_packet - * structure. - * \param t A theora_state handle previously initialized for encoding. - * \param op An ogg_packet structure to fill. libtheora will set all - * elements of this structure, including a pointer to the header - * data. The memory for the header data is owned by libtheora. - * \retval 0 Success - */ -extern int theora_encode_header(theora_state *t, ogg_packet *op); - -/** - * Request a comment header packet from provided metadata. - * A pointer to the comment data is placed in a user-provided ogg_packet - * structure. - * \param tc A theora_comment structure filled with the desired metadata - * \param op An ogg_packet structure to fill. libtheora will set all - * elements of this structure, including a pointer to the encoded - * comment data. The memory for the comment data is owned by - * libtheora. - * \retval 0 Success - */ -extern int theora_encode_comment(theora_comment *tc, ogg_packet *op); - -/** - * Request a packet containing the codebook tables for the stream. - * A pointer to the codebook data is placed in a user-provided ogg_packet - * structure. - * \param t A theora_state handle previously initialized for encoding. - * \param op An ogg_packet structure to fill. libtheora will set all - * elements of this structure, including a pointer to the codebook - * data. The memory for the header data is owned by libtheora. - * \retval 0 Success - */ -extern int theora_encode_tables(theora_state *t, ogg_packet *op); - -/** - * Decode an Ogg packet, with the expectation that the packet contains - * an initial header, comment data or codebook tables. - * - * \param ci A theora_info structure to fill. This must have been previously - * initialized with theora_info_init(). If \a op contains an initial - * header, theora_decode_header() will fill \a ci with the - * parsed header values. If \a op contains codebook tables, - * theora_decode_header() will parse these and attach an internal - * representation to \a ci->codec_setup. - * \param cc A theora_comment structure to fill. If \a op contains comment - * data, theora_decode_header() will fill \a cc with the parsed - * comments. - * \param op An ogg_packet structure which you expect contains an initial - * header, comment data or codebook tables. - * - * \retval OC_BADHEADER \a op is NULL; OR the first byte of \a op->packet - * has the signature of an initial packet, but op is - * not a b_o_s packet; OR this packet has the signature - * of an initial header packet, but an initial header - * packet has already been seen; OR this packet has the - * signature of a comment packet, but the initial header - * has not yet been seen; OR this packet has the signature - * of a comment packet, but contains invalid data; OR - * this packet has the signature of codebook tables, - * but the initial header or comments have not yet - * been seen; OR this packet has the signature of codebook - * tables, but contains invalid data; - * OR the stream being decoded has a compatible version - * but this packet does not have the signature of a - * theora initial header, comments, or codebook packet - * \retval OC_VERSION The packet data of \a op is an initial header with - * a version which is incompatible with this version of - * libtheora. - * \retval OC_NEWPACKET the stream being decoded has an incompatible (future) - * version and contains an unknown signature. - * \retval 0 Success - * - * \note The normal usage is that theora_decode_header() be called on the - * first three packets of a theora logical bitstream in succession. - */ -extern int theora_decode_header(theora_info *ci, theora_comment *cc, - ogg_packet *op); - -/** - * Initialize a theora_state handle for decoding. - * \param th The theora_state handle to initialize. - * \param c A theora_info struct filled with the desired decoding parameters. - * This is of course usually obtained from a previous call to - * theora_decode_header(). - * \retval 0 Success - */ -extern int theora_decode_init(theora_state *th, theora_info *c); - -/** - * Input a packet containing encoded data into the theora decoder. - * \param th A theora_state handle previously initialized for decoding. - * \param op An ogg_packet containing encoded theora data. - * \retval 0 Success - * \retval OC_BADPACKET \a op does not contain encoded video data - */ -extern int theora_decode_packetin(theora_state *th,ogg_packet *op); - -/** - * Output the next available frame of decoded YUV data. - * \param th A theora_state handle previously initialized for decoding. - * \param yuv A yuv_buffer in which libtheora should place the decoded data. - * Note that the buffer struct itself is allocated by the user, but - * that the luma and chroma pointers will be filled in by the - * library. Also note that these luma and chroma regions should be - * considered read-only by the user. - * \retval 0 Success - */ -extern int theora_decode_YUVout(theora_state *th,yuv_buffer *yuv); - -/** - * Report whether a theora packet is a header or not - * This function does no verification beyond checking the header - * flag bit so it should not be used for bitstream identification; - * use theora_decode_header() for that. - * - * \param op An ogg_packet containing encoded theora data. - * \retval 1 The packet is a header packet - * \retval 0 The packet is not a header packet (and so contains frame data) - * - * Thus function was added in the 1.0alpha4 release. - */ -extern int theora_packet_isheader(ogg_packet *op); - -/** - * Report whether a theora packet is a keyframe or not - * - * \param op An ogg_packet containing encoded theora data. - * \retval 1 The packet contains a keyframe image - * \retval 0 The packet is contains an interframe delta - * \retval -1 The packet is not an image data packet at all - * - * Thus function was added in the 1.0alpha4 release. - */ -extern int theora_packet_iskeyframe(ogg_packet *op); - -/** - * Report the granulepos shift radix - * - * When embedded in Ogg, Theora uses a two-part granulepos, - * splitting the 64-bit field into two pieces. The more-significant - * section represents the frame count at the last keyframe, - * and the less-significant section represents the count of - * frames since the last keyframe. In this way the overall - * field is still non-decreasing with time, but usefully encodes - * a pointer to the last keyframe, which is necessary for - * correctly restarting decode after a seek. - * - * This function reports the number of bits used to represent - * the distance to the last keyframe, and thus how the granulepos - * field must be shifted or masked to obtain the two parts. - * - * Since libtheora returns compressed data in an ogg_packet - * structure, this may be generally useful even if the Theora - * packets are not being used in an Ogg container. - * - * \param ti A previously initialized theora_info struct - * \returns The bit shift dividing the two granulepos fields - * - * This function was added in the 1.0alpha5 release. - */ -int theora_granule_shift(theora_info *ti); - -/** - * Convert a granulepos to an absolute frame index, starting at 0. - * The granulepos is interpreted in the context of a given theora_state handle. - * - * Note that while the granulepos encodes the frame count (i.e. starting - * from 1) this call returns the frame index, starting from zero. Thus - * One can calculate the presentation time by multiplying the index by - * the rate. - * - * \param th A previously initialized theora_state handle (encode or decode) - * \param granulepos The granulepos to convert. - * \returns The frame index corresponding to \a granulepos. - * \retval -1 The given granulepos is undefined (i.e. negative) - * - * Thus function was added in the 1.0alpha4 release. - */ -extern ogg_int64_t theora_granule_frame(theora_state *th,ogg_int64_t granulepos); - -/** - * Convert a granulepos to absolute time in seconds. The granulepos is - * interpreted in the context of a given theora_state handle, and gives - * the end time of a frame's presentation as used in Ogg mux ordering. - * - * \param th A previously initialized theora_state handle (encode or decode) - * \param granulepos The granulepos to convert. - * \returns The absolute time in seconds corresponding to \a granulepos. - * This is the "end time" for the frame, or the latest time it should - * be displayed. - * It is not the presentation time. - * \retval -1. The given granulepos is undefined (i.e. negative), or - * \retval -1. The function has been disabled because floating - * point support is not available. - */ -extern double theora_granule_time(theora_state *th,ogg_int64_t granulepos); - -/** - * Initialize a theora_info structure. All values within the given theora_info - * structure are initialized, and space is allocated within libtheora for - * internal codec setup data. - * \param c A theora_info struct to initialize. - */ -extern void theora_info_init(theora_info *c); - -/** - * Clear a theora_info structure. All values within the given theora_info - * structure are cleared, and associated internal codec setup data is freed. - * \param c A theora_info struct to initialize. - */ -extern void theora_info_clear(theora_info *c); - -/** - * Free all internal data associated with a theora_state handle. - * \param t A theora_state handle. - */ -extern void theora_clear(theora_state *t); - -/** - * Initialize an allocated theora_comment structure - * \param tc An allocated theora_comment structure - **/ -extern void theora_comment_init(theora_comment *tc); - -/** - * Add a comment to an initialized theora_comment structure - * \param tc A previously initialized theora comment structure - * \param comment A null-terminated string encoding the comment in the form - * "TAG=the value" - * - * Neither theora_comment_add() nor theora_comment_add_tag() support - * comments containing null values, although the bitstream format - * supports this. To add such comments you will need to manipulate - * the theora_comment structure directly. - **/ - -extern void theora_comment_add(theora_comment *tc, char *comment); - -/** - * Add a comment to an initialized theora_comment structure. - * \param tc A previously initialized theora comment structure - * \param tag A null-terminated string containing the tag - * associated with the comment. - * \param value The corresponding value as a null-terminated string - * - * Neither theora_comment_add() nor theora_comment_add_tag() support - * comments containing null values, although the bitstream format - * supports this. To add such comments you will need to manipulate - * the theora_comment structure directly. - **/ -extern void theora_comment_add_tag(theora_comment *tc, - char *tag, char *value); - -/** - * Look up a comment value by tag. - * \param tc Tn initialized theora_comment structure - * \param tag The tag to look up - * \param count The instance of the tag. The same tag can appear multiple - * times, each with a distinct and ordered value, so an index - * is required to retrieve them all. - * \returns A pointer to the queried tag's value - * \retval NULL No matching tag is found - * - * \note Use theora_comment_query_count() to get the legal range for the - * count parameter. - **/ - -extern char *theora_comment_query(theora_comment *tc, char *tag, int count); - -/** Look up the number of instances of a tag. - * \param tc An initialized theora_comment structure - * \param tag The tag to look up - * \returns The number on instances of a particular tag. - * - * Call this first when querying for a specific tag and then interate - * over the number of instances with separate calls to - * theora_comment_query() to retrieve all instances in order. - **/ -extern int theora_comment_query_count(theora_comment *tc, char *tag); - -/** - * Clear an allocated theora_comment struct so that it can be freed. - * \param tc An allocated theora_comment structure. - **/ -extern void theora_comment_clear(theora_comment *tc); - -/**Encoder control function. - * This is used to provide advanced control the encoding process. - * \param th A #theora_state handle. - * \param req The control code to process. - * See \ref encctlcodes_old "the list of available - * control codes" for details. - * \param buf The parameters for this control code. - * \param buf_sz The size of the parameter buffer.*/ -extern int theora_control(theora_state *th,int req,void *buf,size_t buf_sz); - -/* @} */ /* end oldfuncs doxygen group */ - -#ifdef __cplusplus -} -#endif /* __cplusplus */ - -#endif /* _O_THEORA_H_ */ diff --git a/Libraries/libtheora-1.1.1/include/theora/theoradec.h b/Libraries/libtheora-1.1.1/include/theora/theoradec.h deleted file mode 100644 index b20f0e3a..00000000 --- a/Libraries/libtheora-1.1.1/include/theora/theoradec.h +++ /dev/null @@ -1,325 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: theora.h,v 1.8 2004/03/15 22:17:32 derf Exp $ - - ********************************************************************/ - -/**\file - * The libtheoradec C decoding API.*/ - -#if !defined(_O_THEORA_THEORADEC_H_) -# define _O_THEORA_THEORADEC_H_ (1) -# include -# include -# include "codec.h" - -#if defined(__cplusplus) -extern "C" { -#endif - - - -/**\name th_decode_ctl() codes - * \anchor decctlcodes - * These are the available request codes for th_decode_ctl(). - * By convention, these are odd, to distinguish them from the - * \ref encctlcodes "encoder control codes". - * Keep any experimental or vendor-specific values above \c 0x8000.*/ -/*@{*/ -/**Gets the maximum post-processing level. - * The decoder supports a post-processing filter that can improve - * the appearance of the decoded images. This returns the highest - * level setting for this post-processor, corresponding to maximum - * improvement and computational expense. - * - * \param[out] _buf int: The maximum post-processing level. - * \retval TH_EFAULT \a _dec_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(int). - * \retval TH_EIMPL Not supported by this implementation.*/ -#define TH_DECCTL_GET_PPLEVEL_MAX (1) -/**Sets the post-processing level. - * By default, post-processing is disabled. - * - * Sets the level of post-processing to use when decoding the - * compressed stream. This must be a value between zero (off) - * and the maximum returned by TH_DECCTL_GET_PPLEVEL_MAX. - * - * \param[in] _buf int: The new post-processing level. - * 0 to disable; larger values use more CPU. - * \retval TH_EFAULT \a _dec_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(int), or the - * post-processing level is out of bounds. - * The maximum post-processing level may be - * implementation-specific, and can be obtained via - * #TH_DECCTL_GET_PPLEVEL_MAX. - * \retval TH_EIMPL Not supported by this implementation.*/ -#define TH_DECCTL_SET_PPLEVEL (3) -/**Sets the granule position. - * Call this after a seek, before decoding the first frame, to ensure that the - * proper granule position is returned for all subsequent frames. - * If you track timestamps yourself and do not use the granule position - * returned by the decoder, then you need not call this function. - * - * \param[in] _buf ogg_int64_t: The granule position of the next - * frame. - * \retval TH_EFAULT \a _dec_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(ogg_int64_t), or the - * granule position is negative.*/ -#define TH_DECCTL_SET_GRANPOS (5) -/**Sets the striped decode callback function. - * If set, this function will be called as each piece of a frame is fully - * decoded in th_decode_packetin(). - * You can pass in a #th_stripe_callback with - * th_stripe_callback#stripe_decoded set to NULL to disable the - * callbacks at any point. - * Enabling striped decode does not prevent you from calling - * th_decode_ycbcr_out() after the frame is fully decoded. - * - * \param[in] _buf #th_stripe_callback: The callback parameters. - * \retval TH_EFAULT \a _dec_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not - * sizeof(th_stripe_callback).*/ -#define TH_DECCTL_SET_STRIPE_CB (7) - -/**Enables telemetry and sets the macroblock display mode */ -#define TH_DECCTL_SET_TELEMETRY_MBMODE (9) -/**Enables telemetry and sets the motion vector display mode */ -#define TH_DECCTL_SET_TELEMETRY_MV (11) -/**Enables telemetry and sets the adaptive quantization display mode */ -#define TH_DECCTL_SET_TELEMETRY_QI (13) -/**Enables telemetry and sets the bitstream breakdown visualization mode */ -#define TH_DECCTL_SET_TELEMETRY_BITS (15) -/*@}*/ - - - -/**A callback function for striped decode. - * This is a function pointer to an application-provided function that will be - * called each time a section of the image is fully decoded in - * th_decode_packetin(). - * This allows the application to process the section immediately, while it is - * still in cache. - * Note that the frame is decoded bottom to top, so \a _yfrag0 will steadily - * decrease with each call until it reaches 0, at which point the full frame - * is decoded. - * The number of fragment rows made available in each call depends on the pixel - * format and the number of post-processing filters enabled, and may not even - * be constant for the entire frame. - * If a non-NULL \a _granpos pointer is passed to - * th_decode_packetin(), the granule position for the frame will be stored - * in it before the first callback is made. - * If an entire frame is dropped (a 0-byte packet), then no callbacks will be - * made at all for that frame. - * \param _ctx An application-provided context pointer. - * \param _buf The image buffer for the decoded frame. - * \param _yfrag0 The Y coordinate of the first row of 8x8 fragments - * decoded. - * Multiply this by 8 to obtain the pixel row number in the - * luma plane. - * If the chroma planes are subsampled in the Y direction, - * this will always be divisible by two. - * \param _yfrag_end The Y coordinate of the first row of 8x8 fragments past - * the newly decoded section. - * If the chroma planes are subsampled in the Y direction, - * this will always be divisible by two. - * I.e., this section contains fragment rows - * \a _yfrag0 ...\a _yfrag_end -1.*/ -typedef void (*th_stripe_decoded_func)(void *_ctx,th_ycbcr_buffer _buf, - int _yfrag0,int _yfrag_end); - -/**The striped decode callback data to pass to #TH_DECCTL_SET_STRIPE_CB.*/ -typedef struct{ - /**An application-provided context pointer. - * This will be passed back verbatim to the application.*/ - void *ctx; - /**The callback function pointer.*/ - th_stripe_decoded_func stripe_decoded; -}th_stripe_callback; - - - -/**\name Decoder state - The following data structures are opaque, and their contents are not - publicly defined by this API. - Referring to their internals directly is unsupported, and may break without - warning.*/ -/*@{*/ -/**The decoder context.*/ -typedef struct th_dec_ctx th_dec_ctx; -/**Setup information. - This contains auxiliary information (Huffman tables and quantization - parameters) decoded from the setup header by th_decode_headerin() to be - passed to th_decode_alloc(). - It can be re-used to initialize any number of decoders, and can be freed - via th_setup_free() at any time.*/ -typedef struct th_setup_info th_setup_info; -/*@}*/ - - - -/**\defgroup decfuncs Functions for Decoding*/ -/*@{*/ -/**\name Functions for decoding - * You must link to libtheoradec if you use any of the - * functions in this section. - * - * The functions are listed in the order they are used in a typical decode. - * The basic steps are: - * - Parse the header packets by repeatedly calling th_decode_headerin(). - * - Allocate a #th_dec_ctx handle with th_decode_alloc(). - * - Call th_setup_free() to free any memory used for codec setup - * information. - * - Perform any additional decoder configuration with th_decode_ctl(). - * - For each video data packet: - * - Submit the packet to the decoder via th_decode_packetin(). - * - Retrieve the uncompressed video data via th_decode_ycbcr_out(). - * - Call th_decode_free() to release all decoder memory.*/ -/*@{*/ -/**Decodes the header packets of a Theora stream. - * This should be called on the initial packets of the stream, in succession, - * until it returns 0, indicating that all headers have been - * processed, or an error is encountered. - * At least three header packets are required, and additional optional header - * packets may follow. - * This can be used on the first packet of any logical stream to determine if - * that stream is a Theora stream. - * \param _info A #th_info structure to fill in. - * This must have been previously initialized with - * th_info_init(). - * The application may immediately begin using the contents of - * this structure after the first header is decoded, though it - * must continue to be passed in on all subsequent calls. - * \param _tc A #th_comment structure to fill in. - * The application may immediately begin using the contents of - * this structure after the second header is decoded, though it - * must continue to be passed in on all subsequent calls. - * \param _setup Returns a pointer to additional, private setup information - * needed by the decoder. - * The contents of this pointer must be initialized to - * NULL on the first call, and the returned value must - * continue to be passed in on all subsequent calls. - * \param _op An ogg_packet structure which contains one of the - * initial packets of an Ogg logical stream. - * \return A positive value indicates that a Theora header was successfully - * processed. - * \retval 0 The first video data packet was encountered after all - * required header packets were parsed. - * The packet just passed in on this call should be saved - * and fed to th_decode_packetin() to begin decoding - * video data. - * \retval TH_EFAULT One of \a _info, \a _tc, or \a _setup was - * NULL. - * \retval TH_EBADHEADER \a _op was NULL, the packet was not the next - * header packet in the expected sequence, or the format - * of the header data was invalid. - * \retval TH_EVERSION The packet data was a Theora info header, but for a - * bitstream version not decodable with this version of - * libtheoradec. - * \retval TH_ENOTFORMAT The packet was not a Theora header. - */ -extern int th_decode_headerin(th_info *_info,th_comment *_tc, - th_setup_info **_setup,ogg_packet *_op); -/**Allocates a decoder instance. - * - * Security Warning: The Theora format supports very large frame sizes, - * potentially even larger than the address space of a 32-bit machine, and - * creating a decoder context allocates the space for several frames of data. - * If the allocation fails here, your program will crash, possibly at some - * future point because the OS kernel returned a valid memory range and will - * only fail when it tries to map the pages in it the first time they are - * used. - * Even if it succeeds, you may experience a denial of service if the frame - * size is large enough to cause excessive paging. - * If you are integrating libtheora in a larger application where such things - * are undesirable, it is highly recommended that you check the frame size in - * \a _info before calling this function and refuse to decode streams where it - * is larger than some reasonable maximum. - * libtheora will not check this for you, because there may be machines that - * can handle such streams and applications that wish to. - * \param _info A #th_info struct filled via th_decode_headerin(). - * \param _setup A #th_setup_info handle returned via - * th_decode_headerin(). - * \return The initialized #th_dec_ctx handle. - * \retval NULL If the decoding parameters were invalid.*/ -extern th_dec_ctx *th_decode_alloc(const th_info *_info, - const th_setup_info *_setup); -/**Releases all storage used for the decoder setup information. - * This should be called after you no longer want to create any decoders for - * a stream whose headers you have parsed with th_decode_headerin(). - * \param _setup The setup information to free. - * This can safely be NULL.*/ -extern void th_setup_free(th_setup_info *_setup); -/**Decoder control function. - * This is used to provide advanced control of the decoding process. - * \param _dec A #th_dec_ctx handle. - * \param _req The control code to process. - * See \ref decctlcodes "the list of available control codes" - * for details. - * \param _buf The parameters for this control code. - * \param _buf_sz The size of the parameter buffer.*/ -extern int th_decode_ctl(th_dec_ctx *_dec,int _req,void *_buf, - size_t _buf_sz); -/**Submits a packet containing encoded video data to the decoder. - * \param _dec A #th_dec_ctx handle. - * \param _op An ogg_packet containing encoded video data. - * \param _granpos Returns the granule position of the decoded packet. - * If non-NULL, the granule position for this specific - * packet is stored in this location. - * This is computed incrementally from previously decoded - * packets. - * After a seek, the correct granule position must be set via - * #TH_DECCTL_SET_GRANPOS for this to work properly. - * \retval 0 Success. - * A new decoded frame can be retrieved by calling - * th_decode_ycbcr_out(). - * \retval TH_DUPFRAME The packet represented a dropped (0-byte) frame. - * The player can skip the call to th_decode_ycbcr_out(), - * as the contents of the decoded frame buffer have not - * changed. - * \retval TH_EFAULT \a _dec or \a _op was NULL. - * \retval TH_EBADPACKET \a _op does not contain encoded video data. - * \retval TH_EIMPL The video data uses bitstream features which this - * library does not support.*/ -extern int th_decode_packetin(th_dec_ctx *_dec,const ogg_packet *_op, - ogg_int64_t *_granpos); -/**Outputs the next available frame of decoded Y'CbCr data. - * If a striped decode callback has been set with #TH_DECCTL_SET_STRIPE_CB, - * then the application does not need to call this function. - * \param _dec A #th_dec_ctx handle. - * \param _ycbcr A video buffer structure to fill in. - * libtheoradec will fill in all the members of this - * structure, including the pointers to the uncompressed video - * data. - * The memory for this video data is owned by - * libtheoradec. - * It may be freed or overwritten without notification when - * subsequent frames are decoded. - * \retval 0 Success - * \retval TH_EFAULT \a _dec or \a _ycbcr was NULL. - */ -extern int th_decode_ycbcr_out(th_dec_ctx *_dec, - th_ycbcr_buffer _ycbcr); -/**Frees an allocated decoder instance. - * \param _dec A #th_dec_ctx handle.*/ -extern void th_decode_free(th_dec_ctx *_dec); -/*@}*/ -/*@}*/ - - - -#if defined(__cplusplus) -} -#endif - -#endif diff --git a/Libraries/libtheora-1.1.1/include/theora/theoraenc.h b/Libraries/libtheora-1.1.1/include/theora/theoraenc.h deleted file mode 100644 index fdf2ab21..00000000 --- a/Libraries/libtheora-1.1.1/include/theora/theoraenc.h +++ /dev/null @@ -1,486 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: theora.h,v 1.8 2004/03/15 22:17:32 derf Exp $ - - ********************************************************************/ - -/**\file - * The libtheoraenc C encoding API.*/ - -#if !defined(_O_THEORA_THEORAENC_H_) -# define _O_THEORA_THEORAENC_H_ (1) -# include -# include -# include "codec.h" - -#if defined(__cplusplus) -extern "C" { -#endif - - - -/**\name th_encode_ctl() codes - * \anchor encctlcodes - * These are the available request codes for th_encode_ctl(). - * By convention, these are even, to distinguish them from the - * \ref decctlcodes "decoder control codes". - * Keep any experimental or vendor-specific values above \c 0x8000.*/ -/*@{*/ -/**Sets the Huffman tables to use. - * The tables are copied, not stored by reference, so they can be freed after - * this call. - * NULL may be specified to revert to the default tables. - * - * \param[in] _buf #th_huff_code[#TH_NHUFFMAN_TABLES][#TH_NDCT_TOKENS] - * \retval TH_EFAULT \a _enc_ctx is NULL. - * \retval TH_EINVAL Encoding has already begun or one or more of the given - * tables is not full or prefix-free, \a _buf is - * NULL and \a _buf_sz is not zero, or \a _buf is - * non-NULL and \a _buf_sz is not - * sizeof(#th_huff_code)*#TH_NHUFFMAN_TABLES*#TH_NDCT_TOKENS. - * \retval TH_EIMPL Not supported by this implementation.*/ -#define TH_ENCCTL_SET_HUFFMAN_CODES (0) -/**Sets the quantization parameters to use. - * The parameters are copied, not stored by reference, so they can be freed - * after this call. - * NULL may be specified to revert to the default parameters. - * - * \param[in] _buf #th_quant_info - * \retval TH_EFAULT \a _enc_ctx is NULL. - * \retval TH_EINVAL Encoding has already begun, \a _buf is - * NULL and \a _buf_sz is not zero, - * or \a _buf is non-NULL and - * \a _buf_sz is not sizeof(#th_quant_info). - * \retval TH_EIMPL Not supported by this implementation.*/ -#define TH_ENCCTL_SET_QUANT_PARAMS (2) -/**Sets the maximum distance between key frames. - * This can be changed during an encode, but will be bounded by - * 1<. - * If it is set before encoding begins, th_info#keyframe_granule_shift will - * be enlarged appropriately. - * - * \param[in] _buf ogg_uint32_t: The maximum distance between key - * frames. - * \param[out] _buf ogg_uint32_t: The actual maximum distance set. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(ogg_uint32_t). - * \retval TH_EIMPL Not supported by this implementation.*/ -#define TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE (4) -/**Disables any encoder features that would prevent lossless transcoding back - * to VP3. - * This primarily means disabling block-adaptive quantization and always coding - * all four luma blocks in a macro block when 4MV is used. - * It also includes using the VP3 quantization tables and Huffman codes; if you - * set them explicitly after calling this function, the resulting stream will - * not be VP3-compatible. - * If you enable VP3-compatibility when encoding 4:2:2 or 4:4:4 source - * material, or when using a picture region smaller than the full frame (e.g. - * a non-multiple-of-16 width or height), then non-VP3 bitstream features will - * still be disabled, but the stream will still not be VP3-compatible, as VP3 - * was not capable of encoding such formats. - * If you call this after encoding has already begun, then the quantization - * tables and codebooks cannot be changed, but the frame-level features will - * be enabled or disabled as requested. - * - * \param[in] _buf int: a non-zero value to enable VP3 compatibility, - * or 0 to disable it (the default). - * \param[out] _buf int: 1 if all bitstream features required for - * VP3-compatibility could be set, and 0 otherwise. - * The latter will be returned if the pixel format is not - * 4:2:0, the picture region is smaller than the full frame, - * or if encoding has begun, preventing the quantization - * tables and codebooks from being set. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(int). - * \retval TH_EIMPL Not supported by this implementation.*/ -#define TH_ENCCTL_SET_VP3_COMPATIBLE (10) -/**Gets the maximum speed level. - * Higher speed levels favor quicker encoding over better quality per bit. - * Depending on the encoding mode, and the internal algorithms used, quality - * may actually improve, but in this case bitrate will also likely increase. - * In any case, overall rate/distortion performance will probably decrease. - * The maximum value, and the meaning of each value, may change depending on - * the current encoding mode (VBR vs. constant quality, etc.). - * - * \param[out] _buf int: The maximum encoding speed level. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(int). - * \retval TH_EIMPL Not supported by this implementation in the current - * encoding mode.*/ -#define TH_ENCCTL_GET_SPLEVEL_MAX (12) -/**Sets the speed level. - * The current speed level may be retrieved using #TH_ENCCTL_GET_SPLEVEL. - * - * \param[in] _buf int: The new encoding speed level. - * 0 is slowest, larger values use less CPU. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(int), or the - * encoding speed level is out of bounds. - * The maximum encoding speed level may be - * implementation- and encoding mode-specific, and can be - * obtained via #TH_ENCCTL_GET_SPLEVEL_MAX. - * \retval TH_EIMPL Not supported by this implementation in the current - * encoding mode.*/ -#define TH_ENCCTL_SET_SPLEVEL (14) -/**Gets the current speed level. - * The default speed level may vary according to encoder implementation, but if - * this control code is not supported (it returns #TH_EIMPL), the default may - * be assumed to be the slowest available speed (0). - * The maximum encoding speed level may be implementation- and encoding - * mode-specific, and can be obtained via #TH_ENCCTL_GET_SPLEVEL_MAX. - * - * \param[out] _buf int: The current encoding speed level. - * 0 is slowest, larger values use less CPU. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(int). - * \retval TH_EIMPL Not supported by this implementation in the current - * encoding mode.*/ -#define TH_ENCCTL_GET_SPLEVEL (16) -/**Sets the number of duplicates of the next frame to produce. - * Although libtheora can encode duplicate frames very cheaply, it costs some - * amount of CPU to detect them, and a run of duplicates cannot span a - * keyframe boundary. - * This control code tells the encoder to produce the specified number of extra - * duplicates of the next frame. - * This allows the encoder to make smarter keyframe placement decisions and - * rate control decisions, and reduces CPU usage as well, when compared to - * just submitting the same frame for encoding multiple times. - * This setting only applies to the next frame submitted for encoding. - * You MUST call th_encode_packetout() repeatedly until it returns 0, or the - * extra duplicate frames will be lost. - * - * \param[in] _buf int: The number of duplicates to produce. - * If this is negative or zero, no duplicates will be produced. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(int), or the - * number of duplicates is greater than or equal to the - * maximum keyframe interval. - * In the latter case, NO duplicate frames will be produced. - * You must ensure that the maximum keyframe interval is set - * larger than the maximum number of duplicates you will - * ever wish to insert prior to encoding. - * \retval TH_EIMPL Not supported by this implementation in the current - * encoding mode.*/ -#define TH_ENCCTL_SET_DUP_COUNT (18) -/**Modifies the default bitrate management behavior. - * Use to allow or disallow frame dropping, and to enable or disable capping - * bit reservoir overflows and underflows. - * See \ref encctlcodes "the list of available flags". - * The flags are set by default to - * #TH_RATECTL_DROP_FRAMES|#TH_RATECTL_CAP_OVERFLOW. - * - * \param[in] _buf int: Any combination of - * \ref ratectlflags "the available flags": - * - #TH_RATECTL_DROP_FRAMES: Enable frame dropping. - * - #TH_RATECTL_CAP_OVERFLOW: Don't bank excess bits for later - * use. - * - #TH_RATECTL_CAP_UNDERFLOW: Don't try to make up shortfalls - * later. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(int) or rate control - * is not enabled. - * \retval TH_EIMPL Not supported by this implementation in the current - * encoding mode.*/ -#define TH_ENCCTL_SET_RATE_FLAGS (20) -/**Sets the size of the bitrate management bit reservoir as a function - * of number of frames. - * The reservoir size affects how quickly bitrate management reacts to - * instantaneous changes in the video complexity. - * Larger reservoirs react more slowly, and provide better overall quality, but - * require more buffering by a client, adding more latency to live streams. - * By default, libtheora sets the reservoir to the maximum distance between - * keyframes, subject to a minimum and maximum limit. - * This call may be used to increase or decrease the reservoir, increasing or - * decreasing the allowed temporary variance in bitrate. - * An implementation may impose some limits on the size of a reservoir it can - * handle, in which case the actual reservoir size may not be exactly what was - * requested. - * The actual value set will be returned. - * - * \param[in] _buf int: Requested size of the reservoir measured in - * frames. - * \param[out] _buf int: The actual size of the reservoir set. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(int), or rate control - * is not enabled. The buffer has an implementation - * defined minimum and maximum size and the value in _buf - * will be adjusted to match the actual value set. - * \retval TH_EIMPL Not supported by this implementation in the current - * encoding mode.*/ -#define TH_ENCCTL_SET_RATE_BUFFER (22) -/**Enable pass 1 of two-pass encoding mode and retrieve the first pass metrics. - * Pass 1 mode must be enabled before the first frame is encoded, and a target - * bitrate must have already been specified to the encoder. - * Although this does not have to be the exact rate that will be used in the - * second pass, closer values may produce better results. - * The first call returns the size of the two-pass header data, along with some - * placeholder content, and sets the encoder into pass 1 mode implicitly. - * This call sets the encoder to pass 1 mode implicitly. - * Then, a subsequent call must be made after each call to - * th_encode_ycbcr_in() to retrieve the metrics for that frame. - * An additional, final call must be made to retrieve the summary data, - * containing such information as the total number of frames, etc. - * This must be stored in place of the placeholder data that was returned - * in the first call, before the frame metrics data. - * All of this data must be presented back to the encoder during pass 2 using - * #TH_ENCCTL_2PASS_IN. - * - * \param[out] char *_buf: Returns a pointer to internal storage - * containing the two pass metrics data. - * This storage is only valid until the next call, or until the - * encoder context is freed, and must be copied by the - * application. - * \retval >=0 The number of bytes of metric data available in the - * returned buffer. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL \a _buf_sz is not sizeof(char *), no target - * bitrate has been set, or the first call was made after - * the first frame was submitted for encoding. - * \retval TH_EIMPL Not supported by this implementation.*/ -#define TH_ENCCTL_2PASS_OUT (24) -/**Submits two-pass encoding metric data collected the first encoding pass to - * the second pass. - * The first call must be made before the first frame is encoded, and a target - * bitrate must have already been specified to the encoder. - * It sets the encoder to pass 2 mode implicitly; this cannot be disabled. - * The encoder may require reading data from some or all of the frames in - * advance, depending on, e.g., the reservoir size used in the second pass. - * You must call this function repeatedly before each frame to provide data - * until either a) it fails to consume all of the data presented or b) all of - * the pass 1 data has been consumed. - * In the first case, you must save the remaining data to be presented after - * the next frame. - * You can call this function with a NULL argument to get an upper bound on - * the number of bytes that will be required before the next frame. - * - * When pass 2 is first enabled, the default bit reservoir is set to the entire - * file; this gives maximum flexibility but can lead to very high peak rates. - * You can subsequently set it to another value with #TH_ENCCTL_SET_RATE_BUFFER - * (e.g., to set it to the keyframe interval for non-live streaming), however, - * you may then need to provide more data before the next frame. - * - * \param[in] _buf char[]: A buffer containing the data returned by - * #TH_ENCCTL_2PASS_OUT in pass 1. - * You may pass NULL for \a _buf to return an upper - * bound on the number of additional bytes needed before the - * next frame. - * The summary data returned at the end of pass 1 must be at - * the head of the buffer on the first call with a - * non-NULL \a _buf, and the placeholder data - * returned at the start of pass 1 should be omitted. - * After each call you should advance this buffer by the number - * of bytes consumed. - * \retval >0 The number of bytes of metric data required/consumed. - * \retval 0 No more data is required before the next frame. - * \retval TH_EFAULT \a _enc_ctx is NULL. - * \retval TH_EINVAL No target bitrate has been set, or the first call was - * made after the first frame was submitted for - * encoding. - * \retval TH_ENOTFORMAT The data did not appear to be pass 1 from a compatible - * implementation of this library. - * \retval TH_EBADHEADER The data was invalid; this may be returned when - * attempting to read an aborted pass 1 file that still - * has the placeholder data in place of the summary - * data. - * \retval TH_EIMPL Not supported by this implementation.*/ -#define TH_ENCCTL_2PASS_IN (26) -/**Sets the current encoding quality. - * This is only valid so long as no bitrate has been specified, either through - * the #th_info struct used to initialize the encoder or through - * #TH_ENCCTL_SET_BITRATE (this restriction may be relaxed in a future - * version). - * If it is set before the headers are emitted, the target quality encoded in - * them will be updated. - * - * \param[in] _buf int: The new target quality, in the range 0...63, - * inclusive. - * \retval 0 Success. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL A target bitrate has already been specified, or the - * quality index was not in the range 0...63. - * \retval TH_EIMPL Not supported by this implementation.*/ -#define TH_ENCCTL_SET_QUALITY (28) -/**Sets the current encoding bitrate. - * Once a bitrate is set, the encoder must use a rate-controlled mode for all - * future frames (this restriction may be relaxed in a future version). - * If it is set before the headers are emitted, the target bitrate encoded in - * them will be updated. - * Due to the buffer delay, the exact bitrate of each section of the encode is - * not guaranteed. - * The encoder may have already used more bits than allowed for the frames it - * has encoded, expecting to make them up in future frames, or it may have - * used fewer, holding the excess in reserve. - * The exact transition between the two bitrates is not well-defined by this - * API, but may be affected by flags set with #TH_ENCCTL_SET_RATE_FLAGS. - * After a number of frames equal to the buffer delay, one may expect further - * output to average at the target bitrate. - * - * \param[in] _buf long: The new target bitrate, in bits per second. - * \retval 0 Success. - * \retval TH_EFAULT \a _enc_ctx or \a _buf is NULL. - * \retval TH_EINVAL The target bitrate was not positive. - * \retval TH_EIMPL Not supported by this implementation.*/ -#define TH_ENCCTL_SET_BITRATE (30) - -/*@}*/ - - -/**\name TH_ENCCTL_SET_RATE_FLAGS flags - * \anchor ratectlflags - * These are the flags available for use with #TH_ENCCTL_SET_RATE_FLAGS.*/ -/*@{*/ -/**Drop frames to keep within bitrate buffer constraints. - * This can have a severe impact on quality, but is the only way to ensure that - * bitrate targets are met at low rates during sudden bursts of activity.*/ -#define TH_RATECTL_DROP_FRAMES (0x1) -/**Ignore bitrate buffer overflows. - * If the encoder uses so few bits that the reservoir of available bits - * overflows, ignore the excess. - * The encoder will not try to use these extra bits in future frames. - * At high rates this may cause the result to be undersized, but allows a - * client to play the stream using a finite buffer; it should normally be - * enabled.*/ -#define TH_RATECTL_CAP_OVERFLOW (0x2) -/**Ignore bitrate buffer underflows. - * If the encoder uses so many bits that the reservoir of available bits - * underflows, ignore the deficit. - * The encoder will not try to make up these extra bits in future frames. - * At low rates this may cause the result to be oversized; it should normally - * be disabled.*/ -#define TH_RATECTL_CAP_UNDERFLOW (0x4) -/*@}*/ - - - -/**The quantization parameters used by VP3.*/ -extern const th_quant_info TH_VP31_QUANT_INFO; - -/**The Huffman tables used by VP3.*/ -extern const th_huff_code - TH_VP31_HUFF_CODES[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS]; - - - -/**\name Encoder state - The following data structure is opaque, and its contents are not publicly - defined by this API. - Referring to its internals directly is unsupported, and may break without - warning.*/ -/*@{*/ -/**The encoder context.*/ -typedef struct th_enc_ctx th_enc_ctx; -/*@}*/ - - - -/**\defgroup encfuncs Functions for Encoding*/ -/*@{*/ -/**\name Functions for encoding - * You must link to libtheoraenc and libtheoradec - * if you use any of the functions in this section. - * - * The functions are listed in the order they are used in a typical encode. - * The basic steps are: - * - Fill in a #th_info structure with details on the format of the video you - * wish to encode. - * - Allocate a #th_enc_ctx handle with th_encode_alloc(). - * - Perform any additional encoder configuration required with - * th_encode_ctl(). - * - Repeatedly call th_encode_flushheader() to retrieve all the header - * packets. - * - For each uncompressed frame: - * - Submit the uncompressed frame via th_encode_ycbcr_in() - * - Repeatedly call th_encode_packetout() to retrieve any video data packets - * that are ready. - * - Call th_encode_free() to release all encoder memory.*/ -/*@{*/ -/**Allocates an encoder instance. - * \param _info A #th_info struct filled with the desired encoding parameters. - * \return The initialized #th_enc_ctx handle. - * \retval NULL If the encoding parameters were invalid.*/ -extern th_enc_ctx *th_encode_alloc(const th_info *_info); -/**Encoder control function. - * This is used to provide advanced control the encoding process. - * \param _enc A #th_enc_ctx handle. - * \param _req The control code to process. - * See \ref encctlcodes "the list of available control codes" - * for details. - * \param _buf The parameters for this control code. - * \param _buf_sz The size of the parameter buffer.*/ -extern int th_encode_ctl(th_enc_ctx *_enc,int _req,void *_buf,size_t _buf_sz); -/**Outputs the next header packet. - * This should be called repeatedly after encoder initialization until it - * returns 0 in order to get all of the header packets, in order, before - * encoding actual video data. - * \param _enc A #th_enc_ctx handle. - * \param _comments The metadata to place in the comment header, when it is - * encoded. - * \param _op An ogg_packet structure to fill. - * All of the elements of this structure will be set, - * including a pointer to the header data. - * The memory for the header data is owned by - * libtheoraenc, and may be invalidated when the - * next encoder function is called. - * \return A positive value indicates that a header packet was successfully - * produced. - * \retval 0 No packet was produced, and no more header packets remain. - * \retval TH_EFAULT \a _enc, \a _comments, or \a _op was NULL.*/ -extern int th_encode_flushheader(th_enc_ctx *_enc, - th_comment *_comments,ogg_packet *_op); -/**Submits an uncompressed frame to the encoder. - * \param _enc A #th_enc_ctx handle. - * \param _ycbcr A buffer of Y'CbCr data to encode. - * \retval 0 Success. - * \retval TH_EFAULT \a _enc or \a _ycbcr is NULL. - * \retval TH_EINVAL The buffer size does not match the frame size the encoder - * was initialized with, or encoding has already - * completed.*/ -extern int th_encode_ycbcr_in(th_enc_ctx *_enc,th_ycbcr_buffer _ycbcr); -/**Retrieves encoded video data packets. - * This should be called repeatedly after each frame is submitted to flush any - * encoded packets, until it returns 0. - * The encoder will not buffer these packets as subsequent frames are - * compressed, so a failure to do so will result in lost video data. - * \note Currently the encoder operates in a one-frame-in, one-packet-out - * manner. - * However, this may be changed in the future. - * \param _enc A #th_enc_ctx handle. - * \param _last Set this flag to a non-zero value if no more uncompressed - * frames will be submitted. - * This ensures that a proper EOS flag is set on the last packet. - * \param _op An ogg_packet structure to fill. - * All of the elements of this structure will be set, including a - * pointer to the video data. - * The memory for the video data is owned by - * libtheoraenc, and may be invalidated when the next - * encoder function is called. - * \return A positive value indicates that a video data packet was successfully - * produced. - * \retval 0 No packet was produced, and no more encoded video data - * remains. - * \retval TH_EFAULT \a _enc or \a _op was NULL.*/ -extern int th_encode_packetout(th_enc_ctx *_enc,int _last,ogg_packet *_op); -/**Frees an allocated encoder instance. - * \param _enc A #th_enc_ctx handle.*/ -extern void th_encode_free(th_enc_ctx *_enc); -/*@}*/ -/*@}*/ - - - -#if defined(__cplusplus) -} -#endif - -#endif diff --git a/Libraries/libtheora-1.1.1/install-sh b/Libraries/libtheora-1.1.1/install-sh deleted file mode 100644 index 11870f1b..00000000 --- a/Libraries/libtheora-1.1.1/install-sh +++ /dev/null @@ -1,251 +0,0 @@ -#!/bin/sh -# -# install - install a program, script, or datafile -# This comes from X11R5 (mit/util/scripts/install.sh). -# -# Copyright 1991 by the Massachusetts Institute of Technology -# -# Permission to use, copy, modify, distribute, and sell this software and its -# documentation for any purpose is hereby granted without fee, provided that -# the above copyright notice appear in all copies and that both that -# copyright notice and this permission notice appear in supporting -# documentation, and that the name of M.I.T. not be used in advertising or -# publicity pertaining to distribution of the software without specific, -# written prior permission. M.I.T. makes no representations about the -# suitability of this software for any purpose. It is provided "as is" -# without express or implied warranty. -# -# Calling this script install-sh is preferred over install.sh, to prevent -# `make' implicit rules from creating a file called install from it -# when there is no Makefile. -# -# This script is compatible with the BSD install script, but was written -# from scratch. It can only install one file at a time, a restriction -# shared with many OS's install programs. - - -# set DOITPROG to echo to test this script - -# Don't use :- since 4.3BSD and earlier shells don't like it. -doit="${DOITPROG-}" - - -# put in absolute paths if you don't have them in your path; or use env. vars. - -mvprog="${MVPROG-mv}" -cpprog="${CPPROG-cp}" -chmodprog="${CHMODPROG-chmod}" -chownprog="${CHOWNPROG-chown}" -chgrpprog="${CHGRPPROG-chgrp}" -stripprog="${STRIPPROG-strip}" -rmprog="${RMPROG-rm}" -mkdirprog="${MKDIRPROG-mkdir}" - -transformbasename="" -transform_arg="" -instcmd="$mvprog" -chmodcmd="$chmodprog 0755" -chowncmd="" -chgrpcmd="" -stripcmd="" -rmcmd="$rmprog -f" -mvcmd="$mvprog" -src="" -dst="" -dir_arg="" - -while [ x"$1" != x ]; do - case $1 in - -c) instcmd="$cpprog" - shift - continue;; - - -d) dir_arg=true - shift - continue;; - - -m) chmodcmd="$chmodprog $2" - shift - shift - continue;; - - -o) chowncmd="$chownprog $2" - shift - shift - continue;; - - -g) chgrpcmd="$chgrpprog $2" - shift - shift - continue;; - - -s) stripcmd="$stripprog" - shift - continue;; - - -t=*) transformarg=`echo $1 | sed 's/-t=//'` - shift - continue;; - - -b=*) transformbasename=`echo $1 | sed 's/-b=//'` - shift - continue;; - - *) if [ x"$src" = x ] - then - src=$1 - else - # this colon is to work around a 386BSD /bin/sh bug - : - dst=$1 - fi - shift - continue;; - esac -done - -if [ x"$src" = x ] -then - echo "install: no input file specified" - exit 1 -else - : -fi - -if [ x"$dir_arg" != x ]; then - dst=$src - src="" - - if [ -d $dst ]; then - instcmd=: - chmodcmd="" - else - instcmd=$mkdirprog - fi -else - -# Waiting for this to be detected by the "$instcmd $src $dsttmp" command -# might cause directories to be created, which would be especially bad -# if $src (and thus $dsttmp) contains '*'. - - if [ -f "$src" ] || [ -d "$src" ] - then - : - else - echo "install: $src does not exist" - exit 1 - fi - - if [ x"$dst" = x ] - then - echo "install: no destination specified" - exit 1 - else - : - fi - -# If destination is a directory, append the input filename; if your system -# does not like double slashes in filenames, you may need to add some logic - - if [ -d $dst ] - then - dst="$dst"/`basename $src` - else - : - fi -fi - -## this sed command emulates the dirname command -dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` - -# Make sure that the destination directory exists. -# this part is taken from Noah Friedman's mkinstalldirs script - -# Skip lots of stat calls in the usual case. -if [ ! -d "$dstdir" ]; then -defaultIFS=' - ' -IFS="${IFS-${defaultIFS}}" - -oIFS="${IFS}" -# Some sh's can't handle IFS=/ for some reason. -IFS='%' -set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` -IFS="${oIFS}" - -pathcomp='' - -while [ $# -ne 0 ] ; do - pathcomp="${pathcomp}${1}" - shift - - if [ ! -d "${pathcomp}" ] ; - then - $mkdirprog "${pathcomp}" - else - : - fi - - pathcomp="${pathcomp}/" -done -fi - -if [ x"$dir_arg" != x ] -then - $doit $instcmd $dst && - - if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else : ; fi && - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else : ; fi && - if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else : ; fi && - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else : ; fi -else - -# If we're going to rename the final executable, determine the name now. - - if [ x"$transformarg" = x ] - then - dstfile=`basename $dst` - else - dstfile=`basename $dst $transformbasename | - sed $transformarg`$transformbasename - fi - -# don't allow the sed command to completely eliminate the filename - - if [ x"$dstfile" = x ] - then - dstfile=`basename $dst` - else - : - fi - -# Make a temp file name in the proper directory. - - dsttmp=$dstdir/#inst.$$# - -# Move or copy the file name to the temp name - - $doit $instcmd $src $dsttmp && - - trap "rm -f ${dsttmp}" 0 && - -# and set any options; do chmod last to preserve setuid bits - -# If any of these fail, we abort the whole thing. If we want to -# ignore errors from any of these, just make sure not to ignore -# errors from the above "$doit $instcmd $src $dsttmp" command. - - if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else :;fi && - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else :;fi && - if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else :;fi && - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else :;fi && - -# Now rename the file to the real destination. - - $doit $rmcmd -f $dstdir/$dstfile && - $doit $mvcmd $dsttmp $dstdir/$dstfile - -fi && - - -exit 0 diff --git a/Libraries/libtheora-1.1.1/lib/Makefile.am b/Libraries/libtheora-1.1.1/lib/Makefile.am deleted file mode 100644 index 89ce2612..00000000 --- a/Libraries/libtheora-1.1.1/lib/Makefile.am +++ /dev/null @@ -1,173 +0,0 @@ -INCLUDES = -I$(top_srcdir)/include -AM_CFLAGS = $(OGG_CFLAGS) $(CAIRO_CFLAGS) - -EXTRA_DIST = \ - cpu.c \ - encoder_disabled.c \ - x86/mmxencfrag.c \ - x86/mmxfdct.c \ - x86/sse2fdct.c \ - x86/x86enc.c \ - x86/x86enc.h \ - x86/mmxfrag.c \ - x86/mmxfrag.h \ - x86/mmxidct.c \ - x86/mmxloop.h \ - x86/mmxstate.c \ - x86/x86int.h \ - x86/x86state.c \ - x86_vc - -lib_LTLIBRARIES = libtheoradec.la libtheoraenc.la libtheora.la - -if THEORA_DISABLE_ENCODE -encoder_uniq_sources = \ - encoder_disabled.c - -encoder_sources = \ - $(encoder_uniq_sources) -else -encoder_uniq_x86_sources = \ - x86/mmxencfrag.c \ - x86/mmxfdct.c \ - x86/x86enc.c - -encoder_uniq_x86_64_sources = \ - x86/sse2fdct.c - -encoder_shared_x86_sources = \ - x86/mmxfrag.c \ - x86/mmxidct.c \ - x86/mmxstate.c \ - x86/x86state.c - -encoder_shared_x86_64_sources = - -if CPU_x86_64 -encoder_uniq_arch_sources = \ - $(encoder_uniq_x86_sources) \ - $(encoder_uniq_x86_64_sources) -encoder_shared_arch_sources = \ - $(encoder_shared_x86_sources) \ - $(encoder_shared_x86_64_sources) -else -if CPU_x86_32 -encoder_uniq_arch_sources = $(encoder_uniq_x86_sources) -encoder_shared_arch_sources = $(encoder_shared_x86_sources) -else -encoder_uniq_arch_sources = -encoder_shared_arch_sources = -endif -endif - -encoder_uniq_sources = \ - analyze.c \ - fdct.c \ - encfrag.c \ - encapiwrapper.c \ - encinfo.c \ - encode.c \ - enquant.c \ - huffenc.c \ - mathops.c \ - mcenc.c \ - rate.c \ - tokenize.c \ - $(encoder_uniq_arch_sources) - -encoder_sources = \ - apiwrapper.c \ - fragment.c \ - idct.c \ - internal.c \ - state.c \ - quant.c \ - $(encoder_shared_arch_sources) \ - $(encoder_uniq_sources) - -endif - -decoder_x86_sources = \ - x86/mmxidct.c \ - x86/mmxfrag.c \ - x86/mmxstate.c \ - x86/x86state.c -if CPU_x86_64 -decoder_arch_sources = $(decoder_x86_sources) -else -if CPU_x86_32 -decoder_arch_sources = $(decoder_x86_sources) -else -decoder_arch_sources = -endif -endif - -decoder_sources = \ - apiwrapper.c \ - bitpack.c \ - decapiwrapper.c \ - decinfo.c \ - decode.c \ - dequant.c \ - fragment.c \ - huffdec.c \ - idct.c \ - info.c \ - internal.c \ - quant.c \ - state.c \ - $(decoder_arch_sources) - -noinst_HEADERS = \ - cpu.h \ - internal.h \ - encint.h \ - enquant.h \ - huffenc.h \ - mathops.h \ - modedec.h \ - x86/x86enc.h \ - apiwrapper.h \ - bitpack.h \ - dct.h \ - decint.h \ - dequant.h \ - huffdec.h \ - huffman.h \ - ocintrin.h \ - quant.h \ - x86/mmxfrag.h \ - x86/mmxloop.h \ - x86/x86int.h - -libtheoradec_la_SOURCES = \ - $(decoder_sources) \ - Version_script-dec theoradec.exp -libtheoradec_la_LDFLAGS = \ - -version-info @THDEC_LIB_CURRENT@:@THDEC_LIB_REVISION@:@THDEC_LIB_AGE@ \ - @THEORADEC_LDFLAGS@ @CAIRO_LIBS@ - -libtheoraenc_la_SOURCES = \ - $(encoder_sources) \ - Version_script-enc theoraenc.exp -libtheoraenc_la_LDFLAGS = \ - -version-info @THENC_LIB_CURRENT@:@THENC_LIB_REVISION@:@THENC_LIB_AGE@ \ - @THEORAENC_LDFLAGS@ $(OGG_LIBS) - -libtheora_la_SOURCES = \ - $(decoder_sources) \ - $(encoder_uniq_sources) \ - Version_script theora.exp -libtheora_la_LDFLAGS = \ - -version-info @TH_LIB_CURRENT@:@TH_LIB_REVISION@:@TH_LIB_AGE@ \ - @THEORA_LDFLAGS@ @CAIRO_LIBS@ $(OGG_LIBS) - -debug: - $(MAKE) all CFLAGS="@DEBUG@" - -profile: - $(MAKE) all CFLAGS="@PROFILE@" - -# contstruct various symbol export list files -.def.exp : defexp.awk - awk -f defexp.awk $< > $@ diff --git a/Libraries/libtheora-1.1.1/lib/Makefile.in b/Libraries/libtheora-1.1.1/lib/Makefile.in deleted file mode 100644 index f26ccdc0..00000000 --- a/Libraries/libtheora-1.1.1/lib/Makefile.in +++ /dev/null @@ -1,845 +0,0 @@ -# Makefile.in generated by automake 1.6.3 from Makefile.am. -# @configure_input@ - -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 -# Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -SHELL = @SHELL@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_HEADER = $(INSTALL_DATA) -transform = @program_transform_name@ -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_alias = @host_alias@ -host_triplet = @host@ - -EXEEXT = @EXEEXT@ -OBJEXT = @OBJEXT@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ -AMTAR = @AMTAR@ -AR = @AR@ -ARGZ_H = @ARGZ_H@ -AS = @AS@ -AWK = @AWK@ -BUILDABLE_EXAMPLES = @BUILDABLE_EXAMPLES@ -CAIRO_CFLAGS = @CAIRO_CFLAGS@ -CAIRO_LIBS = @CAIRO_LIBS@ -CC = @CC@ -CPP = @CPP@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -DEBUG = @DEBUG@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -F77 = @F77@ -GCJ = @GCJ@ -GCJFLAGS = @GCJFLAGS@ -GETOPT_OBJS = @GETOPT_OBJS@ -GREP = @GREP@ -HAVE_BIBTEX = @HAVE_BIBTEX@ -HAVE_DOXYGEN = @HAVE_DOXYGEN@ -HAVE_PDFLATEX = @HAVE_PDFLATEX@ -HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@ -HAVE_TRANSFIG = @HAVE_TRANSFIG@ -HAVE_VALGRIND = @HAVE_VALGRIND@ -INCLTDL = @INCLTDL@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LD = @LD@ -LIBADD_DL = @LIBADD_DL@ -LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ -LIBADD_DLOPEN = @LIBADD_DLOPEN@ -LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ -LIBLTDL = @LIBLTDL@ -LIBM = @LIBM@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTDLDEPS = @LTDLDEPS@ -LTDLINCL = @LTDLINCL@ -LTDLOPEN = @LTDLOPEN@ -LT_CONFIG_H = @LT_CONFIG_H@ -LT_DLLOADERS = @LT_DLLOADERS@ -LT_DLPREOPEN = @LT_DLPREOPEN@ -MAINT = @MAINT@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OGG_CFLAGS = @OGG_CFLAGS@ -OGG_LIBS = @OGG_LIBS@ -OSS_LIBS = @OSS_LIBS@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PKG_CONFIG = @PKG_CONFIG@ -PNG_CFLAGS = @PNG_CFLAGS@ -PNG_LIBS = @PNG_LIBS@ -PROFILE = @PROFILE@ -RANLIB = @RANLIB@ -RC = @RC@ -SDL_CFLAGS = @SDL_CFLAGS@ -SDL_CONFIG = @SDL_CONFIG@ -SDL_LIBS = @SDL_LIBS@ -SED = @SED@ -STRIP = @STRIP@ -THDEC_LIB_AGE = @THDEC_LIB_AGE@ -THDEC_LIB_CURRENT = @THDEC_LIB_CURRENT@ -THDEC_LIB_REVISION = @THDEC_LIB_REVISION@ -THENC_LIB_AGE = @THENC_LIB_AGE@ -THENC_LIB_CURRENT = @THENC_LIB_CURRENT@ -THENC_LIB_REVISION = @THENC_LIB_REVISION@ -THEORADEC_LDFLAGS = @THEORADEC_LDFLAGS@ -THEORAENC_LDFLAGS = @THEORAENC_LDFLAGS@ -THEORA_LDFLAGS = @THEORA_LDFLAGS@ -TH_LIB_AGE = @TH_LIB_AGE@ -TH_LIB_CURRENT = @TH_LIB_CURRENT@ -TH_LIB_REVISION = @TH_LIB_REVISION@ -VALGRIND_ENVIRONMENT = @VALGRIND_ENVIRONMENT@ -VERSION = @VERSION@ -VORBISENC_LIBS = @VORBISENC_LIBS@ -VORBISFILE_LIBS = @VORBISFILE_LIBS@ -VORBIS_CFLAGS = @VORBIS_CFLAGS@ -VORBIS_LIBS = @VORBIS_LIBS@ -am__include = @am__include@ -am__quote = @am__quote@ -install_sh = @install_sh@ -lt_ECHO = @lt_ECHO@ -ltdl_LIBOBJS = @ltdl_LIBOBJS@ -ltdl_LTLIBOBJS = @ltdl_LTLIBOBJS@ -sys_symbol_underscore = @sys_symbol_underscore@ -INCLUDES = -I$(top_srcdir)/include -AM_CFLAGS = $(OGG_CFLAGS) $(CAIRO_CFLAGS) - -EXTRA_DIST = \ - cpu.c \ - encoder_disabled.c \ - x86/mmxencfrag.c \ - x86/mmxfdct.c \ - x86/sse2fdct.c \ - x86/x86enc.c \ - x86/x86enc.h \ - x86/mmxfrag.c \ - x86/mmxfrag.h \ - x86/mmxidct.c \ - x86/mmxloop.h \ - x86/mmxstate.c \ - x86/x86int.h \ - x86/x86state.c \ - x86_vc - - -lib_LTLIBRARIES = libtheoradec.la libtheoraenc.la libtheora.la - -@THEORA_DISABLE_ENCODE_TRUE@encoder_uniq_sources = \ -@THEORA_DISABLE_ENCODE_TRUE@ encoder_disabled.c - -@THEORA_DISABLE_ENCODE_FALSE@encoder_uniq_sources = \ -@THEORA_DISABLE_ENCODE_FALSE@ analyze.c \ -@THEORA_DISABLE_ENCODE_FALSE@ fdct.c \ -@THEORA_DISABLE_ENCODE_FALSE@ encfrag.c \ -@THEORA_DISABLE_ENCODE_FALSE@ encapiwrapper.c \ -@THEORA_DISABLE_ENCODE_FALSE@ encinfo.c \ -@THEORA_DISABLE_ENCODE_FALSE@ encode.c \ -@THEORA_DISABLE_ENCODE_FALSE@ enquant.c \ -@THEORA_DISABLE_ENCODE_FALSE@ huffenc.c \ -@THEORA_DISABLE_ENCODE_FALSE@ mathops.c \ -@THEORA_DISABLE_ENCODE_FALSE@ mcenc.c \ -@THEORA_DISABLE_ENCODE_FALSE@ rate.c \ -@THEORA_DISABLE_ENCODE_FALSE@ tokenize.c \ -@THEORA_DISABLE_ENCODE_FALSE@ $(encoder_uniq_arch_sources) - - -@THEORA_DISABLE_ENCODE_TRUE@encoder_sources = \ -@THEORA_DISABLE_ENCODE_TRUE@ $(encoder_uniq_sources) - -@THEORA_DISABLE_ENCODE_FALSE@encoder_sources = \ -@THEORA_DISABLE_ENCODE_FALSE@ apiwrapper.c \ -@THEORA_DISABLE_ENCODE_FALSE@ fragment.c \ -@THEORA_DISABLE_ENCODE_FALSE@ idct.c \ -@THEORA_DISABLE_ENCODE_FALSE@ internal.c \ -@THEORA_DISABLE_ENCODE_FALSE@ state.c \ -@THEORA_DISABLE_ENCODE_FALSE@ quant.c \ -@THEORA_DISABLE_ENCODE_FALSE@ $(encoder_shared_arch_sources) \ -@THEORA_DISABLE_ENCODE_FALSE@ $(encoder_uniq_sources) - -@THEORA_DISABLE_ENCODE_FALSE@encoder_uniq_x86_sources = \ -@THEORA_DISABLE_ENCODE_FALSE@ x86/mmxencfrag.c \ -@THEORA_DISABLE_ENCODE_FALSE@ x86/mmxfdct.c \ -@THEORA_DISABLE_ENCODE_FALSE@ x86/x86enc.c - - -@THEORA_DISABLE_ENCODE_FALSE@encoder_uniq_x86_64_sources = \ -@THEORA_DISABLE_ENCODE_FALSE@ x86/sse2fdct.c - - -@THEORA_DISABLE_ENCODE_FALSE@encoder_shared_x86_sources = \ -@THEORA_DISABLE_ENCODE_FALSE@ x86/mmxfrag.c \ -@THEORA_DISABLE_ENCODE_FALSE@ x86/mmxidct.c \ -@THEORA_DISABLE_ENCODE_FALSE@ x86/mmxstate.c \ -@THEORA_DISABLE_ENCODE_FALSE@ x86/x86state.c - - -@THEORA_DISABLE_ENCODE_FALSE@encoder_shared_x86_64_sources = - -@CPU_x86_32_FALSE@@CPU_x86_64_FALSE@@THEORA_DISABLE_ENCODE_FALSE@encoder_uniq_arch_sources = -@CPU_x86_32_TRUE@@CPU_x86_64_FALSE@@THEORA_DISABLE_ENCODE_FALSE@encoder_uniq_arch_sources = $(encoder_uniq_x86_sources) -@CPU_x86_64_TRUE@@THEORA_DISABLE_ENCODE_FALSE@encoder_uniq_arch_sources = \ -@CPU_x86_64_TRUE@@THEORA_DISABLE_ENCODE_FALSE@ $(encoder_uniq_x86_sources) \ -@CPU_x86_64_TRUE@@THEORA_DISABLE_ENCODE_FALSE@ $(encoder_uniq_x86_64_sources) - -@CPU_x86_32_FALSE@@CPU_x86_64_FALSE@@THEORA_DISABLE_ENCODE_FALSE@encoder_shared_arch_sources = -@CPU_x86_32_TRUE@@CPU_x86_64_FALSE@@THEORA_DISABLE_ENCODE_FALSE@encoder_shared_arch_sources = $(encoder_shared_x86_sources) -@CPU_x86_64_TRUE@@THEORA_DISABLE_ENCODE_FALSE@encoder_shared_arch_sources = \ -@CPU_x86_64_TRUE@@THEORA_DISABLE_ENCODE_FALSE@ $(encoder_shared_x86_sources) \ -@CPU_x86_64_TRUE@@THEORA_DISABLE_ENCODE_FALSE@ $(encoder_shared_x86_64_sources) - - -decoder_x86_sources = \ - x86/mmxidct.c \ - x86/mmxfrag.c \ - x86/mmxstate.c \ - x86/x86state.c - -@CPU_x86_32_FALSE@@CPU_x86_64_FALSE@decoder_arch_sources = -@CPU_x86_32_TRUE@@CPU_x86_64_FALSE@decoder_arch_sources = $(decoder_x86_sources) -@CPU_x86_64_TRUE@decoder_arch_sources = $(decoder_x86_sources) - -decoder_sources = \ - apiwrapper.c \ - bitpack.c \ - decapiwrapper.c \ - decinfo.c \ - decode.c \ - dequant.c \ - fragment.c \ - huffdec.c \ - idct.c \ - info.c \ - internal.c \ - quant.c \ - state.c \ - $(decoder_arch_sources) - - -noinst_HEADERS = \ - cpu.h \ - internal.h \ - encint.h \ - enquant.h \ - huffenc.h \ - mathops.h \ - modedec.h \ - x86/x86enc.h \ - apiwrapper.h \ - bitpack.h \ - dct.h \ - decint.h \ - dequant.h \ - huffdec.h \ - huffman.h \ - ocintrin.h \ - quant.h \ - x86/mmxfrag.h \ - x86/mmxloop.h \ - x86/x86int.h - - -libtheoradec_la_SOURCES = \ - $(decoder_sources) \ - Version_script-dec theoradec.exp - -libtheoradec_la_LDFLAGS = \ - -version-info @THDEC_LIB_CURRENT@:@THDEC_LIB_REVISION@:@THDEC_LIB_AGE@ \ - @THEORADEC_LDFLAGS@ @CAIRO_LIBS@ - - -libtheoraenc_la_SOURCES = \ - $(encoder_sources) \ - Version_script-enc theoraenc.exp - -libtheoraenc_la_LDFLAGS = \ - -version-info @THENC_LIB_CURRENT@:@THENC_LIB_REVISION@:@THENC_LIB_AGE@ \ - @THEORAENC_LDFLAGS@ $(OGG_LIBS) - - -libtheora_la_SOURCES = \ - $(decoder_sources) \ - $(encoder_uniq_sources) \ - Version_script theora.exp - -libtheora_la_LDFLAGS = \ - -version-info @TH_LIB_CURRENT@:@TH_LIB_REVISION@:@TH_LIB_AGE@ \ - @THEORA_LDFLAGS@ @CAIRO_LIBS@ $(OGG_LIBS) - -subdir = lib -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -LTLIBRARIES = $(lib_LTLIBRARIES) - -libtheora_la_LIBADD = -am__objects_1 = mmxidct.lo mmxfrag.lo mmxstate.lo x86state.lo -@CPU_x86_32_FALSE@@CPU_x86_64_FALSE@am__objects_2 = -@CPU_x86_32_TRUE@@CPU_x86_64_FALSE@am__objects_2 = $(am__objects_1) -@CPU_x86_64_TRUE@am__objects_2 = $(am__objects_1) -am__objects_3 = apiwrapper.lo bitpack.lo decapiwrapper.lo decinfo.lo \ - decode.lo dequant.lo fragment.lo huffdec.lo idct.lo info.lo \ - internal.lo quant.lo state.lo $(am__objects_2) -@THEORA_DISABLE_ENCODE_FALSE@am__objects_4 = mmxencfrag.lo mmxfdct.lo \ -@THEORA_DISABLE_ENCODE_FALSE@ x86enc.lo -@THEORA_DISABLE_ENCODE_FALSE@am__objects_5 = sse2fdct.lo -@CPU_x86_32_FALSE@@CPU_x86_64_FALSE@@THEORA_DISABLE_ENCODE_FALSE@am__objects_6 = -@CPU_x86_32_TRUE@@CPU_x86_64_FALSE@@THEORA_DISABLE_ENCODE_FALSE@am__objects_6 = \ -@CPU_x86_32_TRUE@@CPU_x86_64_FALSE@@THEORA_DISABLE_ENCODE_FALSE@ $(am__objects_4) -@CPU_x86_64_TRUE@@THEORA_DISABLE_ENCODE_FALSE@am__objects_6 = \ -@CPU_x86_64_TRUE@@THEORA_DISABLE_ENCODE_FALSE@ $(am__objects_4) \ -@CPU_x86_64_TRUE@@THEORA_DISABLE_ENCODE_FALSE@ $(am__objects_5) -@THEORA_DISABLE_ENCODE_TRUE@am__objects_7 = encoder_disabled.lo -@THEORA_DISABLE_ENCODE_FALSE@am__objects_7 = analyze.lo fdct.lo \ -@THEORA_DISABLE_ENCODE_FALSE@ encfrag.lo encapiwrapper.lo \ -@THEORA_DISABLE_ENCODE_FALSE@ encinfo.lo encode.lo enquant.lo \ -@THEORA_DISABLE_ENCODE_FALSE@ huffenc.lo mathops.lo mcenc.lo \ -@THEORA_DISABLE_ENCODE_FALSE@ rate.lo tokenize.lo \ -@THEORA_DISABLE_ENCODE_FALSE@ $(am__objects_6) -am_libtheora_la_OBJECTS = $(am__objects_3) $(am__objects_7) -libtheora_la_OBJECTS = $(am_libtheora_la_OBJECTS) -libtheoradec_la_LIBADD = -am_libtheoradec_la_OBJECTS = $(am__objects_3) -libtheoradec_la_OBJECTS = $(am_libtheoradec_la_OBJECTS) -libtheoraenc_la_LIBADD = -@THEORA_DISABLE_ENCODE_FALSE@am__objects_8 = mmxfrag.lo mmxidct.lo \ -@THEORA_DISABLE_ENCODE_FALSE@ mmxstate.lo x86state.lo -@THEORA_DISABLE_ENCODE_FALSE@am__objects_9 = -@CPU_x86_32_FALSE@@CPU_x86_64_FALSE@@THEORA_DISABLE_ENCODE_FALSE@am__objects_10 = -@CPU_x86_32_TRUE@@CPU_x86_64_FALSE@@THEORA_DISABLE_ENCODE_FALSE@am__objects_10 = \ -@CPU_x86_32_TRUE@@CPU_x86_64_FALSE@@THEORA_DISABLE_ENCODE_FALSE@ $(am__objects_8) -@CPU_x86_64_TRUE@@THEORA_DISABLE_ENCODE_FALSE@am__objects_10 = \ -@CPU_x86_64_TRUE@@THEORA_DISABLE_ENCODE_FALSE@ $(am__objects_8) \ -@CPU_x86_64_TRUE@@THEORA_DISABLE_ENCODE_FALSE@ $(am__objects_9) -@THEORA_DISABLE_ENCODE_TRUE@am__objects_11 = $(am__objects_7) -@THEORA_DISABLE_ENCODE_FALSE@am__objects_11 = apiwrapper.lo fragment.lo \ -@THEORA_DISABLE_ENCODE_FALSE@ idct.lo internal.lo state.lo \ -@THEORA_DISABLE_ENCODE_FALSE@ quant.lo $(am__objects_10) \ -@THEORA_DISABLE_ENCODE_FALSE@ $(am__objects_7) -am_libtheoraenc_la_OBJECTS = $(am__objects_11) -libtheoraenc_la_OBJECTS = $(am_libtheoraenc_la_OBJECTS) - -DEFS = @DEFS@ -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/analyze.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/apiwrapper.Plo ./$(DEPDIR)/bitpack.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/decapiwrapper.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/decinfo.Plo ./$(DEPDIR)/decode.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/dequant.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/encapiwrapper.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/encfrag.Plo ./$(DEPDIR)/encinfo.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/encode.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/encoder_disabled.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/enquant.Plo ./$(DEPDIR)/fdct.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/fragment.Plo ./$(DEPDIR)/huffdec.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/huffenc.Plo ./$(DEPDIR)/idct.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/info.Plo ./$(DEPDIR)/internal.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/mathops.Plo ./$(DEPDIR)/mcenc.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/mmxencfrag.Plo ./$(DEPDIR)/mmxfdct.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/mmxfrag.Plo ./$(DEPDIR)/mmxidct.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/mmxstate.Plo ./$(DEPDIR)/quant.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/rate.Plo ./$(DEPDIR)/sse2fdct.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/state.Plo ./$(DEPDIR)/tokenize.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/x86enc.Plo ./$(DEPDIR)/x86state.Plo -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \ - $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -CFLAGS = @CFLAGS@ -DIST_SOURCES = $(libtheora_la_SOURCES) $(libtheoradec_la_SOURCES) \ - $(libtheoraenc_la_SOURCES) -HEADERS = $(noinst_HEADERS) - -DIST_COMMON = $(noinst_HEADERS) Makefile.am Makefile.in -SOURCES = $(libtheora_la_SOURCES) $(libtheoradec_la_SOURCES) $(libtheoraenc_la_SOURCES) - -all: all-am - -.SUFFIXES: -.SUFFIXES: .c .def .exp .lo .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu lib/Makefile -Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) -libLTLIBRARIES_INSTALL = $(INSTALL) -install-libLTLIBRARIES: $(lib_LTLIBRARIES) - @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(libdir) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - if test -f $$p; then \ - f="`echo $$p | sed -e 's|^.*/||'`"; \ - echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \ - $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \ - else :; fi; \ - done - -uninstall-libLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - p="`echo $$p | sed -e 's|^.*/||'`"; \ - echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \ - $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \ - done - -clean-libLTLIBRARIES: - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test -z "$dir" && dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done -mmxidct.lo: x86/mmxidct.c -mmxfrag.lo: x86/mmxfrag.c -mmxstate.lo: x86/mmxstate.c -x86state.lo: x86/x86state.c -mmxencfrag.lo: x86/mmxencfrag.c -mmxfdct.lo: x86/mmxfdct.c -x86enc.lo: x86/x86enc.c -sse2fdct.lo: x86/sse2fdct.c -libtheora.la: $(libtheora_la_OBJECTS) $(libtheora_la_DEPENDENCIES) - $(LINK) -rpath $(libdir) $(libtheora_la_LDFLAGS) $(libtheora_la_OBJECTS) $(libtheora_la_LIBADD) $(LIBS) -libtheoradec.la: $(libtheoradec_la_OBJECTS) $(libtheoradec_la_DEPENDENCIES) - $(LINK) -rpath $(libdir) $(libtheoradec_la_LDFLAGS) $(libtheoradec_la_OBJECTS) $(libtheoradec_la_LIBADD) $(LIBS) -libtheoraenc.la: $(libtheoraenc_la_OBJECTS) $(libtheoraenc_la_DEPENDENCIES) - $(LINK) -rpath $(libdir) $(libtheoraenc_la_LDFLAGS) $(libtheoraenc_la_OBJECTS) $(libtheoraenc_la_LIBADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) core *.core - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/analyze.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/apiwrapper.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bitpack.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decapiwrapper.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decinfo.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decode.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dequant.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encapiwrapper.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encfrag.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encinfo.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encode.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoder_disabled.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/enquant.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fdct.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fragment.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/huffdec.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/huffenc.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idct.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/info.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/internal.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mathops.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mcenc.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mmxencfrag.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mmxfdct.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mmxfrag.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mmxidct.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mmxstate.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/quant.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rate.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sse2fdct.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/state.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tokenize.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x86enc.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x86state.Plo@am__quote@ - -distclean-depend: - -rm -rf ./$(DEPDIR) - -.c.o: -@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< - -.c.obj: -@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(COMPILE) -c `cygpath -w $<` - -.c.lo: -@AMDEP_TRUE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< - -mmxidct.o: x86/mmxidct.c -@AMDEP_TRUE@ source='x86/mmxidct.c' object='mmxidct.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/mmxidct.Po' tmpdepfile='$(DEPDIR)/mmxidct.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mmxidct.o `test -f 'x86/mmxidct.c' || echo '$(srcdir)/'`x86/mmxidct.c - -mmxidct.obj: x86/mmxidct.c -@AMDEP_TRUE@ source='x86/mmxidct.c' object='mmxidct.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/mmxidct.Po' tmpdepfile='$(DEPDIR)/mmxidct.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mmxidct.obj `cygpath -w x86/mmxidct.c` - -mmxidct.lo: x86/mmxidct.c -@AMDEP_TRUE@ source='x86/mmxidct.c' object='mmxidct.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/mmxidct.Plo' tmpdepfile='$(DEPDIR)/mmxidct.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mmxidct.lo `test -f 'x86/mmxidct.c' || echo '$(srcdir)/'`x86/mmxidct.c - -mmxfrag.o: x86/mmxfrag.c -@AMDEP_TRUE@ source='x86/mmxfrag.c' object='mmxfrag.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/mmxfrag.Po' tmpdepfile='$(DEPDIR)/mmxfrag.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mmxfrag.o `test -f 'x86/mmxfrag.c' || echo '$(srcdir)/'`x86/mmxfrag.c - -mmxfrag.obj: x86/mmxfrag.c -@AMDEP_TRUE@ source='x86/mmxfrag.c' object='mmxfrag.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/mmxfrag.Po' tmpdepfile='$(DEPDIR)/mmxfrag.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mmxfrag.obj `cygpath -w x86/mmxfrag.c` - -mmxfrag.lo: x86/mmxfrag.c -@AMDEP_TRUE@ source='x86/mmxfrag.c' object='mmxfrag.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/mmxfrag.Plo' tmpdepfile='$(DEPDIR)/mmxfrag.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mmxfrag.lo `test -f 'x86/mmxfrag.c' || echo '$(srcdir)/'`x86/mmxfrag.c - -mmxstate.o: x86/mmxstate.c -@AMDEP_TRUE@ source='x86/mmxstate.c' object='mmxstate.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/mmxstate.Po' tmpdepfile='$(DEPDIR)/mmxstate.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mmxstate.o `test -f 'x86/mmxstate.c' || echo '$(srcdir)/'`x86/mmxstate.c - -mmxstate.obj: x86/mmxstate.c -@AMDEP_TRUE@ source='x86/mmxstate.c' object='mmxstate.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/mmxstate.Po' tmpdepfile='$(DEPDIR)/mmxstate.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mmxstate.obj `cygpath -w x86/mmxstate.c` - -mmxstate.lo: x86/mmxstate.c -@AMDEP_TRUE@ source='x86/mmxstate.c' object='mmxstate.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/mmxstate.Plo' tmpdepfile='$(DEPDIR)/mmxstate.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mmxstate.lo `test -f 'x86/mmxstate.c' || echo '$(srcdir)/'`x86/mmxstate.c - -x86state.o: x86/x86state.c -@AMDEP_TRUE@ source='x86/x86state.c' object='x86state.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/x86state.Po' tmpdepfile='$(DEPDIR)/x86state.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o x86state.o `test -f 'x86/x86state.c' || echo '$(srcdir)/'`x86/x86state.c - -x86state.obj: x86/x86state.c -@AMDEP_TRUE@ source='x86/x86state.c' object='x86state.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/x86state.Po' tmpdepfile='$(DEPDIR)/x86state.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o x86state.obj `cygpath -w x86/x86state.c` - -x86state.lo: x86/x86state.c -@AMDEP_TRUE@ source='x86/x86state.c' object='x86state.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/x86state.Plo' tmpdepfile='$(DEPDIR)/x86state.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o x86state.lo `test -f 'x86/x86state.c' || echo '$(srcdir)/'`x86/x86state.c - -mmxencfrag.o: x86/mmxencfrag.c -@AMDEP_TRUE@ source='x86/mmxencfrag.c' object='mmxencfrag.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/mmxencfrag.Po' tmpdepfile='$(DEPDIR)/mmxencfrag.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mmxencfrag.o `test -f 'x86/mmxencfrag.c' || echo '$(srcdir)/'`x86/mmxencfrag.c - -mmxencfrag.obj: x86/mmxencfrag.c -@AMDEP_TRUE@ source='x86/mmxencfrag.c' object='mmxencfrag.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/mmxencfrag.Po' tmpdepfile='$(DEPDIR)/mmxencfrag.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mmxencfrag.obj `cygpath -w x86/mmxencfrag.c` - -mmxencfrag.lo: x86/mmxencfrag.c -@AMDEP_TRUE@ source='x86/mmxencfrag.c' object='mmxencfrag.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/mmxencfrag.Plo' tmpdepfile='$(DEPDIR)/mmxencfrag.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mmxencfrag.lo `test -f 'x86/mmxencfrag.c' || echo '$(srcdir)/'`x86/mmxencfrag.c - -mmxfdct.o: x86/mmxfdct.c -@AMDEP_TRUE@ source='x86/mmxfdct.c' object='mmxfdct.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/mmxfdct.Po' tmpdepfile='$(DEPDIR)/mmxfdct.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mmxfdct.o `test -f 'x86/mmxfdct.c' || echo '$(srcdir)/'`x86/mmxfdct.c - -mmxfdct.obj: x86/mmxfdct.c -@AMDEP_TRUE@ source='x86/mmxfdct.c' object='mmxfdct.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/mmxfdct.Po' tmpdepfile='$(DEPDIR)/mmxfdct.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mmxfdct.obj `cygpath -w x86/mmxfdct.c` - -mmxfdct.lo: x86/mmxfdct.c -@AMDEP_TRUE@ source='x86/mmxfdct.c' object='mmxfdct.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/mmxfdct.Plo' tmpdepfile='$(DEPDIR)/mmxfdct.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mmxfdct.lo `test -f 'x86/mmxfdct.c' || echo '$(srcdir)/'`x86/mmxfdct.c - -x86enc.o: x86/x86enc.c -@AMDEP_TRUE@ source='x86/x86enc.c' object='x86enc.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/x86enc.Po' tmpdepfile='$(DEPDIR)/x86enc.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o x86enc.o `test -f 'x86/x86enc.c' || echo '$(srcdir)/'`x86/x86enc.c - -x86enc.obj: x86/x86enc.c -@AMDEP_TRUE@ source='x86/x86enc.c' object='x86enc.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/x86enc.Po' tmpdepfile='$(DEPDIR)/x86enc.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o x86enc.obj `cygpath -w x86/x86enc.c` - -x86enc.lo: x86/x86enc.c -@AMDEP_TRUE@ source='x86/x86enc.c' object='x86enc.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/x86enc.Plo' tmpdepfile='$(DEPDIR)/x86enc.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o x86enc.lo `test -f 'x86/x86enc.c' || echo '$(srcdir)/'`x86/x86enc.c - -sse2fdct.o: x86/sse2fdct.c -@AMDEP_TRUE@ source='x86/sse2fdct.c' object='sse2fdct.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/sse2fdct.Po' tmpdepfile='$(DEPDIR)/sse2fdct.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sse2fdct.o `test -f 'x86/sse2fdct.c' || echo '$(srcdir)/'`x86/sse2fdct.c - -sse2fdct.obj: x86/sse2fdct.c -@AMDEP_TRUE@ source='x86/sse2fdct.c' object='sse2fdct.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/sse2fdct.Po' tmpdepfile='$(DEPDIR)/sse2fdct.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sse2fdct.obj `cygpath -w x86/sse2fdct.c` - -sse2fdct.lo: x86/sse2fdct.c -@AMDEP_TRUE@ source='x86/sse2fdct.c' object='sse2fdct.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/sse2fdct.Plo' tmpdepfile='$(DEPDIR)/sse2fdct.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sse2fdct.lo `test -f 'x86/sse2fdct.c' || echo '$(srcdir)/'`x86/sse2fdct.c -CCDEPMODE = @CCDEPMODE@ - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: - -ETAGS = etags -ETAGSFLAGS = - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$tags$$unique" \ - || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) - -top_distdir = .. -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) - -distdir: $(DISTFILES) - $(mkinstalldirs) $(distdir)/x86 - @list='$(DISTFILES)'; for file in $$list; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkinstalldirs) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(LTLIBRARIES) $(HEADERS) - -installdirs: - $(mkinstalldirs) $(DESTDIR)$(libdir) - -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ - mostlyclean-am - -distclean: distclean-am - -distclean-am: clean-am distclean-compile distclean-depend \ - distclean-generic distclean-libtool distclean-tags - -dvi: dvi-am - -dvi-am: - -info: info-am - -info-am: - -install-data-am: - -install-exec-am: install-libLTLIBRARIES - -install-info: install-info-am - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES - -.PHONY: GTAGS all all-am check check-am clean clean-generic \ - clean-libLTLIBRARIES clean-libtool distclean distclean-compile \ - distclean-depend distclean-generic distclean-libtool \ - distclean-tags distdir dvi dvi-am info info-am install \ - install-am install-data install-data-am install-exec \ - install-exec-am install-info install-info-am \ - install-libLTLIBRARIES install-man install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool tags uninstall \ - uninstall-am uninstall-info-am uninstall-libLTLIBRARIES - - -debug: - $(MAKE) all CFLAGS="@DEBUG@" - -profile: - $(MAKE) all CFLAGS="@PROFILE@" - -# contstruct various symbol export list files -.def.exp : defexp.awk - awk -f defexp.awk $< > $@ -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/Libraries/libtheora-1.1.1/lib/Version_script b/Libraries/libtheora-1.1.1/lib/Version_script deleted file mode 100644 index 2ecb5e43..00000000 --- a/Libraries/libtheora-1.1.1/lib/Version_script +++ /dev/null @@ -1,53 +0,0 @@ -# -# Export file for libtheora -# -# Only the symbols listed in the global section will be callable from -# applications linking to the libraries. -# - -# We use something that looks like a versioned so filename here -# to define the old API because of a historical confusion. This -# label must be kept to maintain ABI compatibility. - -libtheora.so.1.0 -{ - global: - theora_version_string; - theora_version_number; - - theora_encode_init; - theora_encode_YUVin; - theora_encode_packetout; - theora_encode_header; - theora_encode_comment; - theora_encode_tables; - - theora_decode_header; - theora_decode_init; - theora_decode_packetin; - theora_decode_YUVout; - - theora_control; - - theora_packet_isheader; - theora_packet_iskeyframe; - - theora_granule_shift; - theora_granule_frame; - theora_granule_time; - - theora_info_init; - theora_info_clear; - - theora_clear; - - theora_comment_init; - theora_comment_add; - theora_comment_add_tag; - theora_comment_query; - theora_comment_query_count; - theora_comment_clear; - - local: - *; -}; diff --git a/Libraries/libtheora-1.1.1/lib/Version_script-dec b/Libraries/libtheora-1.1.1/lib/Version_script-dec deleted file mode 100644 index cab36839..00000000 --- a/Libraries/libtheora-1.1.1/lib/Version_script-dec +++ /dev/null @@ -1,82 +0,0 @@ -# -# Export file for libtheoradec -# -# Only the symbols listed in the global section will be callable from -# applications linking to the libraries. -# - -# The 1.x API -libtheoradec_1.0 -{ - global: - th_version_string; - th_version_number; - - th_decode_headerin; - th_decode_alloc; - th_setup_free; - th_decode_ctl; - th_decode_packetin; - th_decode_ycbcr_out; - th_decode_free; - - th_packet_isheader; - th_packet_iskeyframe; - - th_granule_frame; - th_granule_time; - - th_info_init; - th_info_clear; - - th_comment_init; - th_comment_add; - th_comment_add_tag; - th_comment_query; - th_comment_query_count; - th_comment_clear; - - local: - *; -}; - -# The deprecated legacy api from the libtheora alpha releases. -# We use something that looks like a versioned so filename here -# to define the old API because of a historical confusion. This -# label must be kept to maintain ABI compatibility. - -libtheora.so.1.0 -{ - global: - theora_version_string; - theora_version_number; - - theora_decode_header; - theora_decode_init; - theora_decode_packetin; - theora_decode_YUVout; - - theora_control; - - theora_packet_isheader; - theora_packet_iskeyframe; - - theora_granule_shift; - theora_granule_frame; - theora_granule_time; - - theora_info_init; - theora_info_clear; - - theora_clear; - - theora_comment_init; - theora_comment_add; - theora_comment_add_tag; - theora_comment_query; - theora_comment_query_count; - theora_comment_clear; - - local: - *; -}; diff --git a/Libraries/libtheora-1.1.1/lib/Version_script-enc b/Libraries/libtheora-1.1.1/lib/Version_script-enc deleted file mode 100644 index 37699edd..00000000 --- a/Libraries/libtheora-1.1.1/lib/Version_script-enc +++ /dev/null @@ -1,43 +0,0 @@ -# -# Export file for libtheora -# -# Only the symbols listed in the global section will be callable from -# applications linking to the libraries. -# - -# The 1.x encoder API -libtheoraenc_1.0 -{ - global: - th_encode_alloc; - th_encode_ctl; - th_encode_flushheader; - th_encode_ycbcr_in; - th_encode_packetout; - th_encode_free; - - TH_VP31_QUANT_INFO; - TH_VP31_HUFF_CODES; - - local: - *; -}; - -# The encoder portion of the deprecated alpha release api. -# We use something that looks like a versioned so filename here -# to define the old API because of a historical confusion. This -# label must be kept to maintain ABI compatibility. - -libtheora.so.1.0 -{ - global: - theora_encode_init; - theora_encode_YUVin; - theora_encode_packetout; - theora_encode_header; - theora_encode_comment; - theora_encode_tables; - - local: - *; -}; diff --git a/Libraries/libtheora-1.1.1/lib/analyze.c b/Libraries/libtheora-1.1.1/lib/analyze.c deleted file mode 100644 index af01b60d..00000000 --- a/Libraries/libtheora-1.1.1/lib/analyze.c +++ /dev/null @@ -1,2709 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: mode selection code - last mod: $Id$ - - ********************************************************************/ -#include -#include -#include "encint.h" -#include "modedec.h" - - - -typedef struct oc_fr_state oc_fr_state; -typedef struct oc_qii_state oc_qii_state; -typedef struct oc_enc_pipeline_state oc_enc_pipeline_state; -typedef struct oc_rd_metric oc_rd_metric; -typedef struct oc_mode_choice oc_mode_choice; - - - -/*There are 8 possible schemes used to encode macro block modes. - Schemes 0-6 use a maximally-skewed Huffman code to code each of the modes. - The same set of Huffman codes is used for each of these 7 schemes, but the - mode assigned to each codeword varies. - Scheme 0 writes a custom mapping from codeword to MB mode to the bitstream, - while schemes 1-6 have a fixed mapping. - Scheme 7 just encodes each mode directly in 3 bits.*/ - -/*The mode orderings for the various mode coding schemes. - Scheme 0 uses a custom alphabet, which is not stored in this table. - This is the inverse of the equivalent table OC_MODE_ALPHABETS in the - decoder.*/ -static const unsigned char OC_MODE_RANKS[7][OC_NMODES]={ - /*Last MV dominates.*/ - /*L P M N I G GM 4*/ - {3,4,2,0,1,5,6,7}, - /*L P N M I G GM 4*/ - {2,4,3,0,1,5,6,7}, - /*L M P N I G GM 4*/ - {3,4,1,0,2,5,6,7}, - /*L M N P I G GM 4*/ - {2,4,1,0,3,5,6,7}, - /*No MV dominates.*/ - /*N L P M I G GM 4*/ - {0,4,3,1,2,5,6,7}, - /*N G L P M I GM 4*/ - {0,5,4,2,3,1,6,7}, - /*Default ordering.*/ - /*N I M L P G GM 4*/ - {0,1,2,3,4,5,6,7} -}; - - - -/*Initialize the mode scheme chooser. - This need only be called once per encoder.*/ -void oc_mode_scheme_chooser_init(oc_mode_scheme_chooser *_chooser){ - int si; - _chooser->mode_ranks[0]=_chooser->scheme0_ranks; - for(si=1;si<8;si++)_chooser->mode_ranks[si]=OC_MODE_RANKS[si-1]; -} - -/*Reset the mode scheme chooser. - This needs to be called once for each frame, including the first.*/ -static void oc_mode_scheme_chooser_reset(oc_mode_scheme_chooser *_chooser){ - int si; - memset(_chooser->mode_counts,0,OC_NMODES*sizeof(*_chooser->mode_counts)); - /*Scheme 0 starts with 24 bits to store the mode list in.*/ - _chooser->scheme_bits[0]=24; - memset(_chooser->scheme_bits+1,0,7*sizeof(*_chooser->scheme_bits)); - for(si=0;si<8;si++){ - /*Scheme 7 should always start first, and scheme 0 should always start - last.*/ - _chooser->scheme_list[si]=7-si; - _chooser->scheme0_list[si]=_chooser->scheme0_ranks[si]=si; - } -} - - -/*This is the real purpose of this data structure: not actually selecting a - mode scheme, but estimating the cost of coding a given mode given all the - modes selected so far. - This is done via opportunity cost: the cost is defined as the number of bits - required to encode all the modes selected so far including the current one - using the best possible scheme, minus the number of bits required to encode - all the modes selected so far not including the current one using the best - possible scheme. - The computational expense of doing this probably makes it overkill. - Just be happy we take a greedy approach instead of trying to solve the - global mode-selection problem (which is NP-hard). - _mb_mode: The mode to determine the cost of. - Return: The number of bits required to code this mode.*/ -static int oc_mode_scheme_chooser_cost(oc_mode_scheme_chooser *_chooser, - int _mb_mode){ - int scheme0; - int scheme1; - int best_bits; - int mode_bits; - int si; - int scheme_bits; - scheme0=_chooser->scheme_list[0]; - scheme1=_chooser->scheme_list[1]; - best_bits=_chooser->scheme_bits[scheme0]; - mode_bits=OC_MODE_BITS[scheme0+1>>3][_chooser->mode_ranks[scheme0][_mb_mode]]; - /*Typical case: If the difference between the best scheme and the next best - is greater than 6 bits, then adding just one mode cannot change which - scheme we use.*/ - if(_chooser->scheme_bits[scheme1]-best_bits>6)return mode_bits; - /*Otherwise, check to see if adding this mode selects a different scheme as - the best.*/ - si=1; - best_bits+=mode_bits; - do{ - /*For any scheme except 0, we can just use the bit cost of the mode's rank - in that scheme.*/ - if(scheme1!=0){ - scheme_bits=_chooser->scheme_bits[scheme1]+ - OC_MODE_BITS[scheme1+1>>3][_chooser->mode_ranks[scheme1][_mb_mode]]; - } - else{ - int ri; - /*For scheme 0, incrementing the mode count could potentially change the - mode's rank. - Find the index where the mode would be moved to in the optimal list, - and use its bit cost instead of the one for the mode's current - position in the list.*/ - /*We don't recompute scheme bits; this is computing opportunity cost, not - an update.*/ - for(ri=_chooser->scheme0_ranks[_mb_mode];ri>0&& - _chooser->mode_counts[_mb_mode]>= - _chooser->mode_counts[_chooser->scheme0_list[ri-1]];ri--); - scheme_bits=_chooser->scheme_bits[0]+OC_MODE_BITS[0][ri]; - } - if(scheme_bits=8)break; - scheme1=_chooser->scheme_list[si]; - } - while(_chooser->scheme_bits[scheme1]-_chooser->scheme_bits[scheme0]<=6); - return best_bits-_chooser->scheme_bits[scheme0]; -} - -/*Incrementally update the mode counts and per-scheme bit counts and re-order - the scheme lists once a mode has been selected. - _mb_mode: The mode that was chosen.*/ -static void oc_mode_scheme_chooser_update(oc_mode_scheme_chooser *_chooser, - int _mb_mode){ - int ri; - int si; - _chooser->mode_counts[_mb_mode]++; - /*Re-order the scheme0 mode list if necessary.*/ - for(ri=_chooser->scheme0_ranks[_mb_mode];ri>0;ri--){ - int pmode; - pmode=_chooser->scheme0_list[ri-1]; - if(_chooser->mode_counts[pmode]>=_chooser->mode_counts[_mb_mode])break; - /*Reorder the mode ranking.*/ - _chooser->scheme0_ranks[pmode]++; - _chooser->scheme0_list[ri]=pmode; - } - _chooser->scheme0_ranks[_mb_mode]=ri; - _chooser->scheme0_list[ri]=_mb_mode; - /*Now add the bit cost for the mode to each scheme.*/ - for(si=0;si<8;si++){ - _chooser->scheme_bits[si]+= - OC_MODE_BITS[si+1>>3][_chooser->mode_ranks[si][_mb_mode]]; - } - /*Finally, re-order the list of schemes.*/ - for(si=1;si<8;si++){ - int sj; - int scheme0; - int bits0; - sj=si; - scheme0=_chooser->scheme_list[si]; - bits0=_chooser->scheme_bits[scheme0]; - do{ - int scheme1; - scheme1=_chooser->scheme_list[sj-1]; - if(bits0>=_chooser->scheme_bits[scheme1])break; - _chooser->scheme_list[sj]=scheme1; - } - while(--sj>0); - _chooser->scheme_list[sj]=scheme0; - } -} - - - -/*The number of bits required to encode a super block run. - _run_count: The desired run count; must be positive and less than 4130.*/ -static int oc_sb_run_bits(int _run_count){ - int i; - for(i=0;_run_count>=OC_SB_RUN_VAL_MIN[i+1];i++); - return OC_SB_RUN_CODE_NBITS[i]; -} - -/*The number of bits required to encode a block run. - _run_count: The desired run count; must be positive and less than 30.*/ -static int oc_block_run_bits(int _run_count){ - return OC_BLOCK_RUN_CODE_NBITS[_run_count-1]; -} - - - -/*State to track coded block flags and their bit cost.*/ -struct oc_fr_state{ - ptrdiff_t bits; - unsigned sb_partial_count:16; - unsigned sb_full_count:16; - unsigned b_coded_count_prev:8; - unsigned b_coded_count:8; - unsigned b_count:8; - signed int sb_partial:2; - signed int sb_full:2; - signed int b_coded_prev:2; - signed int b_coded:2; -}; - - - -static void oc_fr_state_init(oc_fr_state *_fr){ - _fr->bits=0; - _fr->sb_partial_count=0; - _fr->sb_full_count=0; - _fr->b_coded_count_prev=0; - _fr->b_coded_count=0; - _fr->b_count=0; - _fr->sb_partial=-1; - _fr->sb_full=-1; - _fr->b_coded_prev=-1; - _fr->b_coded=-1; -} - - -static void oc_fr_state_advance_sb(oc_fr_state *_fr, - int _sb_partial,int _sb_full){ - ptrdiff_t bits; - int sb_partial_count; - int sb_full_count; - bits=_fr->bits; - /*Extend the sb_partial run, or start a new one.*/ - sb_partial_count=_fr->sb_partial; - if(_fr->sb_partial==_sb_partial){ - if(sb_partial_count>=4129){ - bits++; - sb_partial_count=0; - } - else bits-=oc_sb_run_bits(sb_partial_count); - } - else sb_partial_count=0; - sb_partial_count++; - bits+=oc_sb_run_bits(sb_partial_count); - if(!_sb_partial){ - /*Extend the sb_full run, or start a new one.*/ - sb_full_count=_fr->sb_full_count; - if(_fr->sb_full==_sb_full){ - if(sb_full_count>=4129){ - bits++; - sb_full_count=0; - } - else bits-=oc_sb_run_bits(sb_full_count); - } - else sb_full_count=0; - sb_full_count++; - bits+=oc_sb_run_bits(sb_full_count); - _fr->sb_full=_sb_full; - _fr->sb_full_count=sb_full_count; - } - _fr->bits=bits; - _fr->sb_partial=_sb_partial; - _fr->sb_partial_count=sb_partial_count; -} - -/*Flush any outstanding block flags for a SB (e.g., one with fewer than 16 - blocks).*/ -static void oc_fr_state_flush_sb(oc_fr_state *_fr){ - ptrdiff_t bits; - int sb_partial; - int sb_full=sb_full; - int b_coded_count; - int b_coded; - int b_count; - b_count=_fr->b_count; - if(b_count>0){ - bits=_fr->bits; - b_coded=_fr->b_coded; - b_coded_count=_fr->b_coded_count; - if(b_coded_count>=b_count){ - /*This SB was fully coded/uncoded; roll back the partial block flags.*/ - bits-=oc_block_run_bits(b_coded_count); - if(b_coded_count>b_count)bits+=oc_block_run_bits(b_coded_count-b_count); - sb_partial=0; - sb_full=b_coded; - b_coded=_fr->b_coded_prev; - b_coded_count=_fr->b_coded_count_prev; - } - else{ - /*It was partially coded.*/ - sb_partial=1; - /*sb_full is unused.*/ - } - _fr->bits=bits; - _fr->b_coded_count=b_coded_count; - _fr->b_coded_count_prev=b_coded_count; - _fr->b_count=0; - _fr->b_coded=b_coded; - _fr->b_coded_prev=b_coded; - oc_fr_state_advance_sb(_fr,sb_partial,sb_full); - } -} - -static void oc_fr_state_advance_block(oc_fr_state *_fr,int _b_coded){ - ptrdiff_t bits; - int b_coded_count; - int b_count; - int sb_partial; - int sb_full=sb_full; - bits=_fr->bits; - /*Extend the b_coded run, or start a new one.*/ - b_coded_count=_fr->b_coded_count; - if(_fr->b_coded==_b_coded)bits-=oc_block_run_bits(b_coded_count); - else b_coded_count=0; - b_coded_count++; - b_count=_fr->b_count+1; - if(b_count>=16){ - /*We finished a superblock.*/ - if(b_coded_count>=16){ - /*It was fully coded/uncoded; roll back the partial block flags.*/ - if(b_coded_count>16)bits+=oc_block_run_bits(b_coded_count-16); - sb_partial=0; - sb_full=_b_coded; - _b_coded=_fr->b_coded_prev; - b_coded_count=_fr->b_coded_count_prev; - } - else{ - bits+=oc_block_run_bits(b_coded_count); - /*It was partially coded.*/ - sb_partial=1; - /*sb_full is unused.*/ - } - _fr->bits=bits; - _fr->b_coded_count=b_coded_count; - _fr->b_coded_count_prev=b_coded_count; - _fr->b_count=0; - _fr->b_coded=_b_coded; - _fr->b_coded_prev=_b_coded; - oc_fr_state_advance_sb(_fr,sb_partial,sb_full); - } - else{ - bits+=oc_block_run_bits(b_coded_count); - _fr->bits=bits; - _fr->b_coded_count=b_coded_count; - _fr->b_count=b_count; - _fr->b_coded=_b_coded; - } -} - -static void oc_fr_skip_block(oc_fr_state *_fr){ - oc_fr_state_advance_block(_fr,0); -} - -static void oc_fr_code_block(oc_fr_state *_fr){ - oc_fr_state_advance_block(_fr,1); -} - -static int oc_fr_cost1(const oc_fr_state *_fr){ - oc_fr_state tmp; - ptrdiff_t bits; - *&tmp=*_fr; - oc_fr_skip_block(&tmp); - bits=tmp.bits; - *&tmp=*_fr; - oc_fr_code_block(&tmp); - return (int)(tmp.bits-bits); -} - -static int oc_fr_cost4(const oc_fr_state *_pre,const oc_fr_state *_post){ - oc_fr_state tmp; - *&tmp=*_pre; - oc_fr_skip_block(&tmp); - oc_fr_skip_block(&tmp); - oc_fr_skip_block(&tmp); - oc_fr_skip_block(&tmp); - return (int)(_post->bits-tmp.bits); -} - - - -struct oc_qii_state{ - ptrdiff_t bits; - unsigned qi01_count:14; - signed int qi01:2; - unsigned qi12_count:14; - signed int qi12:2; -}; - - - -static void oc_qii_state_init(oc_qii_state *_qs){ - _qs->bits=0; - _qs->qi01_count=0; - _qs->qi01=-1; - _qs->qi12_count=0; - _qs->qi12=-1; -} - - -static void oc_qii_state_advance(oc_qii_state *_qd, - const oc_qii_state *_qs,int _qii){ - ptrdiff_t bits; - int qi01; - int qi01_count; - int qi12; - int qi12_count; - bits=_qs->bits; - qi01=_qii+1>>1; - qi01_count=_qs->qi01_count; - if(qi01==_qs->qi01){ - if(qi01_count>=4129){ - bits++; - qi01_count=0; - } - else bits-=oc_sb_run_bits(qi01_count); - } - else qi01_count=0; - qi01_count++; - bits+=oc_sb_run_bits(qi01_count); - qi12_count=_qs->qi12_count; - if(_qii){ - qi12=_qii>>1; - if(qi12==_qs->qi12){ - if(qi12_count>=4129){ - bits++; - qi12_count=0; - } - else bits-=oc_sb_run_bits(qi12_count); - } - else qi12_count=0; - qi12_count++; - bits+=oc_sb_run_bits(qi12_count); - } - else qi12=_qs->qi12; - _qd->bits=bits; - _qd->qi01=qi01; - _qd->qi01_count=qi01_count; - _qd->qi12=qi12; - _qd->qi12_count=qi12_count; -} - - - -/*Temporary encoder state for the analysis pipeline.*/ -struct oc_enc_pipeline_state{ - int bounding_values[256]; - oc_fr_state fr[3]; - oc_qii_state qs[3]; - /*Condensed dequantization tables.*/ - const ogg_uint16_t *dequant[3][3][2]; - /*Condensed quantization tables.*/ - const oc_iquant *enquant[3][3][2]; - /*Skip SSD storage for the current MCU in each plane.*/ - unsigned *skip_ssd[3]; - /*Coded/uncoded fragment lists for each plane for the current MCU.*/ - ptrdiff_t *coded_fragis[3]; - ptrdiff_t *uncoded_fragis[3]; - ptrdiff_t ncoded_fragis[3]; - ptrdiff_t nuncoded_fragis[3]; - /*The starting fragment for the current MCU in each plane.*/ - ptrdiff_t froffset[3]; - /*The starting row for the current MCU in each plane.*/ - int fragy0[3]; - /*The ending row for the current MCU in each plane.*/ - int fragy_end[3]; - /*The starting superblock for the current MCU in each plane.*/ - unsigned sbi0[3]; - /*The ending superblock for the current MCU in each plane.*/ - unsigned sbi_end[3]; - /*The number of tokens for zzi=1 for each color plane.*/ - int ndct_tokens1[3]; - /*The outstanding eob_run count for zzi=1 for each color plane.*/ - int eob_run1[3]; - /*Whether or not the loop filter is enabled.*/ - int loop_filter; -}; - - -static void oc_enc_pipeline_init(oc_enc_ctx *_enc,oc_enc_pipeline_state *_pipe){ - ptrdiff_t *coded_fragis; - unsigned mcu_nvsbs; - ptrdiff_t mcu_nfrags; - int hdec; - int vdec; - int pli; - int qii; - int qti; - /*Initialize the per-plane coded block flag trackers. - These are used for bit-estimation purposes only; the real flag bits span - all three planes, so we can't compute them in parallel.*/ - for(pli=0;pli<3;pli++)oc_fr_state_init(_pipe->fr+pli); - for(pli=0;pli<3;pli++)oc_qii_state_init(_pipe->qs+pli); - /*Set up the per-plane skip SSD storage pointers.*/ - mcu_nvsbs=_enc->mcu_nvsbs; - mcu_nfrags=mcu_nvsbs*_enc->state.fplanes[0].nhsbs*16; - hdec=!(_enc->state.info.pixel_fmt&1); - vdec=!(_enc->state.info.pixel_fmt&2); - _pipe->skip_ssd[0]=_enc->mcu_skip_ssd; - _pipe->skip_ssd[1]=_pipe->skip_ssd[0]+mcu_nfrags; - _pipe->skip_ssd[2]=_pipe->skip_ssd[1]+(mcu_nfrags>>hdec+vdec); - /*Set up per-plane pointers to the coded and uncoded fragments lists. - Unlike the decoder, each planes' coded and uncoded fragment list is kept - separate during the analysis stage; we only make the coded list for all - three planes contiguous right before the final packet is output - (destroying the uncoded lists, which are no longer needed).*/ - coded_fragis=_enc->state.coded_fragis; - for(pli=0;pli<3;pli++){ - _pipe->coded_fragis[pli]=coded_fragis; - coded_fragis+=_enc->state.fplanes[pli].nfrags; - _pipe->uncoded_fragis[pli]=coded_fragis; - } - memset(_pipe->ncoded_fragis,0,sizeof(_pipe->ncoded_fragis)); - memset(_pipe->nuncoded_fragis,0,sizeof(_pipe->nuncoded_fragis)); - /*Set up condensed quantizer tables.*/ - for(pli=0;pli<3;pli++){ - for(qii=0;qii<_enc->state.nqis;qii++){ - int qi; - qi=_enc->state.qis[qii]; - for(qti=0;qti<2;qti++){ - _pipe->dequant[pli][qii][qti]=_enc->state.dequant_tables[qi][pli][qti]; - _pipe->enquant[pli][qii][qti]=_enc->enquant_tables[qi][pli][qti]; - } - } - } - /*Initialize the tokenization state.*/ - for(pli=0;pli<3;pli++){ - _pipe->ndct_tokens1[pli]=0; - _pipe->eob_run1[pli]=0; - } - /*Initialize the bounding value array for the loop filter.*/ - _pipe->loop_filter=!oc_state_loop_filter_init(&_enc->state, - _pipe->bounding_values); -} - -/*Sets the current MCU stripe to super block row _sby. - Return: A non-zero value if this was the last MCU.*/ -static int oc_enc_pipeline_set_stripe(oc_enc_ctx *_enc, - oc_enc_pipeline_state *_pipe,int _sby){ - const oc_fragment_plane *fplane; - unsigned mcu_nvsbs; - int sby_end; - int notdone; - int vdec; - int pli; - mcu_nvsbs=_enc->mcu_nvsbs; - sby_end=_enc->state.fplanes[0].nvsbs; - notdone=_sby+mcu_nvsbsstate.fplanes+pli; - _pipe->sbi0[pli]=fplane->sboffset+(_sby>>vdec)*fplane->nhsbs; - _pipe->fragy0[pli]=_sby<<2-vdec; - _pipe->froffset[pli]=fplane->froffset - +_pipe->fragy0[pli]*(ptrdiff_t)fplane->nhfrags; - if(notdone){ - _pipe->sbi_end[pli]=fplane->sboffset+(sby_end>>vdec)*fplane->nhsbs; - _pipe->fragy_end[pli]=sby_end<<2-vdec; - } - else{ - _pipe->sbi_end[pli]=fplane->sboffset+fplane->nsbs; - _pipe->fragy_end[pli]=fplane->nvfrags; - } - vdec=!(_enc->state.info.pixel_fmt&2); - } - return notdone; -} - -static void oc_enc_pipeline_finish_mcu_plane(oc_enc_ctx *_enc, - oc_enc_pipeline_state *_pipe,int _pli,int _sdelay,int _edelay){ - int refi; - /*Copy over all the uncoded fragments from this plane and advance the uncoded - fragment list.*/ - _pipe->uncoded_fragis[_pli]-=_pipe->nuncoded_fragis[_pli]; - oc_state_frag_copy_list(&_enc->state,_pipe->uncoded_fragis[_pli], - _pipe->nuncoded_fragis[_pli],OC_FRAME_SELF,OC_FRAME_PREV,_pli); - _pipe->nuncoded_fragis[_pli]=0; - /*Perform DC prediction.*/ - oc_enc_pred_dc_frag_rows(_enc,_pli, - _pipe->fragy0[_pli],_pipe->fragy_end[_pli]); - /*Finish DC tokenization.*/ - oc_enc_tokenize_dc_frag_list(_enc,_pli, - _pipe->coded_fragis[_pli],_pipe->ncoded_fragis[_pli], - _pipe->ndct_tokens1[_pli],_pipe->eob_run1[_pli]); - _pipe->ndct_tokens1[_pli]=_enc->ndct_tokens[_pli][1]; - _pipe->eob_run1[_pli]=_enc->eob_run[_pli][1]; - /*And advance the coded fragment list.*/ - _enc->state.ncoded_fragis[_pli]+=_pipe->ncoded_fragis[_pli]; - _pipe->coded_fragis[_pli]+=_pipe->ncoded_fragis[_pli]; - _pipe->ncoded_fragis[_pli]=0; - /*Apply the loop filter if necessary.*/ - refi=_enc->state.ref_frame_idx[OC_FRAME_SELF]; - if(_pipe->loop_filter){ - oc_state_loop_filter_frag_rows(&_enc->state,_pipe->bounding_values, - refi,_pli,_pipe->fragy0[_pli]-_sdelay,_pipe->fragy_end[_pli]-_edelay); - } - else _sdelay=_edelay=0; - /*To fill borders, we have an additional two pixel delay, since a fragment - in the next row could filter its top edge, using two pixels from a - fragment in this row. - But there's no reason to delay a full fragment between the two.*/ - oc_state_borders_fill_rows(&_enc->state,refi,_pli, - (_pipe->fragy0[_pli]-_sdelay<<3)-(_sdelay<<1), - (_pipe->fragy_end[_pli]-_edelay<<3)-(_edelay<<1)); -} - - - -/*Cost information about the coded blocks in a MB.*/ -struct oc_rd_metric{ - int uncoded_ac_ssd; - int coded_ac_ssd; - int ac_bits; - int dc_flag; -}; - - - -static int oc_enc_block_transform_quantize(oc_enc_ctx *_enc, - oc_enc_pipeline_state *_pipe,int _pli,ptrdiff_t _fragi,int _overhead_bits, - oc_rd_metric *_mo,oc_token_checkpoint **_stack){ - OC_ALIGN16(ogg_int16_t dct[64]); - OC_ALIGN16(ogg_int16_t data[64]); - ogg_uint16_t dc_dequant; - const ogg_uint16_t *dequant; - const oc_iquant *enquant; - ptrdiff_t frag_offs; - int ystride; - const unsigned char *src; - const unsigned char *ref; - unsigned char *dst; - int frame_type; - int nonzero; - unsigned uncoded_ssd; - unsigned coded_ssd; - int coded_dc; - oc_token_checkpoint *checkpoint; - oc_fragment *frags; - int mb_mode; - int mv_offs[2]; - int nmv_offs; - int ac_bits; - int borderi; - int qti; - int qii; - int pi; - int zzi; - int v; - int val; - int d; - int s; - int dc; - frags=_enc->state.frags; - frag_offs=_enc->state.frag_buf_offs[_fragi]; - ystride=_enc->state.ref_ystride[_pli]; - src=_enc->state.ref_frame_data[OC_FRAME_IO]+frag_offs; - borderi=frags[_fragi].borderi; - qii=frags[_fragi].qii; - if(qii&~3){ -#if !defined(OC_COLLECT_METRICS) - if(_enc->sp_level>=OC_SP_LEVEL_EARLY_SKIP){ - /*Enable early skip detection.*/ - frags[_fragi].coded=0; - return 0; - } -#endif - /*Try and code this block anyway.*/ - qii&=3; - frags[_fragi].qii=qii; - } - mb_mode=frags[_fragi].mb_mode; - ref=_enc->state.ref_frame_data[ - _enc->state.ref_frame_idx[OC_FRAME_FOR_MODE(mb_mode)]]+frag_offs; - dst=_enc->state.ref_frame_data[_enc->state.ref_frame_idx[OC_FRAME_SELF]] - +frag_offs; - /*Motion compensation:*/ - switch(mb_mode){ - case OC_MODE_INTRA:{ - nmv_offs=0; - oc_enc_frag_sub_128(_enc,data,src,ystride); - }break; - case OC_MODE_GOLDEN_NOMV: - case OC_MODE_INTER_NOMV:{ - nmv_offs=1; - mv_offs[0]=0; - oc_enc_frag_sub(_enc,data,src,ref,ystride); - }break; - default:{ - const oc_mv *frag_mvs; - frag_mvs=(const oc_mv *)_enc->state.frag_mvs; - nmv_offs=oc_state_get_mv_offsets(&_enc->state,mv_offs,_pli, - frag_mvs[_fragi][0],frag_mvs[_fragi][1]); - if(nmv_offs>1){ - oc_enc_frag_copy2(_enc,dst, - ref+mv_offs[0],ref+mv_offs[1],ystride); - oc_enc_frag_sub(_enc,data,src,dst,ystride); - } - else oc_enc_frag_sub(_enc,data,src,ref+mv_offs[0],ystride); - }break; - } -#if defined(OC_COLLECT_METRICS) - { - unsigned satd; - switch(nmv_offs){ - case 0:satd=oc_enc_frag_intra_satd(_enc,src,ystride);break; - case 1:{ - satd=oc_enc_frag_satd_thresh(_enc,src,ref+mv_offs[0],ystride,UINT_MAX); - }break; - default:{ - satd=oc_enc_frag_satd_thresh(_enc,src,dst,ystride,UINT_MAX); - } - } - _enc->frag_satd[_fragi]=satd; - } -#endif - /*Transform:*/ - oc_enc_fdct8x8(_enc,dct,data); - /*Quantize the DC coefficient:*/ - qti=mb_mode!=OC_MODE_INTRA; - enquant=_pipe->enquant[_pli][0][qti]; - dc_dequant=_pipe->dequant[_pli][0][qti][0]; - v=dct[0]; - val=v<<1; - s=OC_SIGNMASK(val); - val+=dc_dequant+s^s; - val=((enquant[0].m*(ogg_int32_t)val>>16)+val>>enquant[0].l)-s; - dc=OC_CLAMPI(-580,val,580); - nonzero=0; - /*Quantize the AC coefficients:*/ - dequant=_pipe->dequant[_pli][qii][qti]; - enquant=_pipe->enquant[_pli][qii][qti]; - for(zzi=1;zzi<64;zzi++){ - v=dct[OC_FZIG_ZAG[zzi]]; - d=dequant[zzi]; - val=v<<1; - v=abs(val); - if(v>=d){ - s=OC_SIGNMASK(val); - /*The bias added here rounds ties away from zero, since token - optimization can only decrease the magnitude of the quantized - value.*/ - val+=d+s^s; - /*Note the arithmetic right shift is not guaranteed by ANSI C. - Hopefully no one still uses ones-complement architectures.*/ - val=((enquant[zzi].m*(ogg_int32_t)val>>16)+val>>enquant[zzi].l)-s; - data[zzi]=OC_CLAMPI(-580,val,580); - nonzero=zzi; - } - else data[zzi]=0; - } - /*Tokenize.*/ - checkpoint=*_stack; - ac_bits=oc_enc_tokenize_ac(_enc,_pli,_fragi,data,dequant,dct,nonzero+1, - _stack,qti?0:3); - /*Reconstruct. - TODO: nonzero may need to be adjusted after tokenization.*/ - if(nonzero==0){ - ogg_int16_t p; - int ci; - /*We round this dequant product (and not any of the others) because there's - no iDCT rounding.*/ - p=(ogg_int16_t)(dc*(ogg_int32_t)dc_dequant+15>>5); - /*LOOP VECTORIZES.*/ - for(ci=0;ci<64;ci++)data[ci]=p; - } - else{ - data[0]=dc*dc_dequant; - oc_idct8x8(&_enc->state,data,nonzero+1); - } - if(!qti)oc_enc_frag_recon_intra(_enc,dst,ystride,data); - else{ - oc_enc_frag_recon_inter(_enc,dst, - nmv_offs==1?ref+mv_offs[0]:dst,ystride,data); - } - frame_type=_enc->state.frame_type; -#if !defined(OC_COLLECT_METRICS) - if(frame_type!=OC_INTRA_FRAME) -#endif - { - /*In retrospect, should we have skipped this block?*/ - oc_enc_frag_sub(_enc,data,src,dst,ystride); - coded_ssd=coded_dc=0; - if(borderi<0){ - for(pi=0;pi<64;pi++){ - coded_ssd+=data[pi]*data[pi]; - coded_dc+=data[pi]; - } - } - else{ - ogg_int64_t mask; - mask=_enc->state.borders[borderi].mask; - for(pi=0;pi<64;pi++,mask>>=1)if(mask&1){ - coded_ssd+=data[pi]*data[pi]; - coded_dc+=data[pi]; - } - } - /*Scale to match DCT domain.*/ - coded_ssd<<=4; - /*We actually only want the AC contribution to the SSD.*/ - coded_ssd-=coded_dc*coded_dc>>2; -#if defined(OC_COLLECT_METRICS) - _enc->frag_ssd[_fragi]=coded_ssd; - } - if(frame_type!=OC_INTRA_FRAME){ -#endif - uncoded_ssd=_pipe->skip_ssd[_pli][_fragi-_pipe->froffset[_pli]]; - if(uncoded_ssdlambda&& - /*Don't allow luma blocks to be skipped in 4MV mode when VP3 - compatibility is enabled.*/ - (!_enc->vp3_compatible||mb_mode!=OC_MODE_INTER_MV_FOUR||_pli)){ - /*Hm, not worth it; roll back.*/ - oc_enc_tokenlog_rollback(_enc,checkpoint,(*_stack)-checkpoint); - *_stack=checkpoint; - frags[_fragi].coded=0; - return 0; - } - } - else _mo->dc_flag=1; - _mo->uncoded_ac_ssd+=uncoded_ssd; - _mo->coded_ac_ssd+=coded_ssd; - _mo->ac_bits+=ac_bits; - } - oc_qii_state_advance(_pipe->qs+_pli,_pipe->qs+_pli,qii); - frags[_fragi].dc=dc; - frags[_fragi].coded=1; - return 1; -} - -static int oc_enc_mb_transform_quantize_luma(oc_enc_ctx *_enc, - oc_enc_pipeline_state *_pipe,unsigned _mbi,int _mode_overhead){ - /*Worst case token stack usage for 4 fragments.*/ - oc_token_checkpoint stack[64*4]; - oc_token_checkpoint *stackptr; - const oc_sb_map *sb_maps; - signed char *mb_modes; - oc_fragment *frags; - ptrdiff_t *coded_fragis; - ptrdiff_t ncoded_fragis; - ptrdiff_t *uncoded_fragis; - ptrdiff_t nuncoded_fragis; - oc_rd_metric mo; - oc_fr_state fr_checkpoint; - oc_qii_state qs_checkpoint; - int mb_mode; - int ncoded; - ptrdiff_t fragi; - int bi; - *&fr_checkpoint=*(_pipe->fr+0); - *&qs_checkpoint=*(_pipe->qs+0); - sb_maps=(const oc_sb_map *)_enc->state.sb_maps; - mb_modes=_enc->state.mb_modes; - frags=_enc->state.frags; - coded_fragis=_pipe->coded_fragis[0]; - ncoded_fragis=_pipe->ncoded_fragis[0]; - uncoded_fragis=_pipe->uncoded_fragis[0]; - nuncoded_fragis=_pipe->nuncoded_fragis[0]; - mb_mode=mb_modes[_mbi]; - ncoded=0; - stackptr=stack; - memset(&mo,0,sizeof(mo)); - for(bi=0;bi<4;bi++){ - fragi=sb_maps[_mbi>>2][_mbi&3][bi]; - frags[fragi].mb_mode=mb_mode; - if(oc_enc_block_transform_quantize(_enc, - _pipe,0,fragi,oc_fr_cost1(_pipe->fr+0),&mo,&stackptr)){ - oc_fr_code_block(_pipe->fr+0); - coded_fragis[ncoded_fragis++]=fragi; - ncoded++; - } - else{ - *(uncoded_fragis-++nuncoded_fragis)=fragi; - oc_fr_skip_block(_pipe->fr+0); - } - } - if(_enc->state.frame_type!=OC_INTRA_FRAME){ - if(ncoded>0&&!mo.dc_flag){ - int cost; - /*Some individual blocks were worth coding. - See if that's still true when accounting for mode and MV overhead.*/ - cost=mo.coded_ac_ssd+_enc->lambda*(mo.ac_bits - +oc_fr_cost4(&fr_checkpoint,_pipe->fr+0)+_mode_overhead); - if(mo.uncoded_ac_ssd<=cost){ - /*Taking macroblock overhead into account, it is not worth coding this - MB.*/ - oc_enc_tokenlog_rollback(_enc,stack,stackptr-stack); - *(_pipe->fr+0)=*&fr_checkpoint; - *(_pipe->qs+0)=*&qs_checkpoint; - for(bi=0;bi<4;bi++){ - fragi=sb_maps[_mbi>>2][_mbi&3][bi]; - if(frags[fragi].coded){ - *(uncoded_fragis-++nuncoded_fragis)=fragi; - frags[fragi].coded=0; - } - oc_fr_skip_block(_pipe->fr+0); - } - ncoded_fragis-=ncoded; - ncoded=0; - } - } - /*If no luma blocks coded, the mode is forced.*/ - if(ncoded==0)mb_modes[_mbi]=OC_MODE_INTER_NOMV; - /*Assume that a 1MV with a single coded block is always cheaper than a 4MV - with a single coded block. - This may not be strictly true: a 4MV computes chroma MVs using (0,0) for - skipped blocks, while a 1MV does not.*/ - else if(ncoded==1&&mb_mode==OC_MODE_INTER_MV_FOUR){ - mb_modes[_mbi]=OC_MODE_INTER_MV; - } - } - _pipe->ncoded_fragis[0]=ncoded_fragis; - _pipe->nuncoded_fragis[0]=nuncoded_fragis; - return ncoded; -} - -static void oc_enc_sb_transform_quantize_chroma(oc_enc_ctx *_enc, - oc_enc_pipeline_state *_pipe,int _pli,int _sbi_start,int _sbi_end){ - const oc_sb_map *sb_maps; - oc_sb_flags *sb_flags; - ptrdiff_t *coded_fragis; - ptrdiff_t ncoded_fragis; - ptrdiff_t *uncoded_fragis; - ptrdiff_t nuncoded_fragis; - int sbi; - sb_maps=(const oc_sb_map *)_enc->state.sb_maps; - sb_flags=_enc->state.sb_flags; - coded_fragis=_pipe->coded_fragis[_pli]; - ncoded_fragis=_pipe->ncoded_fragis[_pli]; - uncoded_fragis=_pipe->uncoded_fragis[_pli]; - nuncoded_fragis=_pipe->nuncoded_fragis[_pli]; - for(sbi=_sbi_start;sbi<_sbi_end;sbi++){ - /*Worst case token stack usage for 1 fragment.*/ - oc_token_checkpoint stack[64]; - oc_rd_metric mo; - int quadi; - int bi; - memset(&mo,0,sizeof(mo)); - for(quadi=0;quadi<4;quadi++)for(bi=0;bi<4;bi++){ - ptrdiff_t fragi; - fragi=sb_maps[sbi][quadi][bi]; - if(fragi>=0){ - oc_token_checkpoint *stackptr; - stackptr=stack; - if(oc_enc_block_transform_quantize(_enc, - _pipe,_pli,fragi,oc_fr_cost1(_pipe->fr+_pli),&mo,&stackptr)){ - coded_fragis[ncoded_fragis++]=fragi; - oc_fr_code_block(_pipe->fr+_pli); - } - else{ - *(uncoded_fragis-++nuncoded_fragis)=fragi; - oc_fr_skip_block(_pipe->fr+_pli); - } - } - } - oc_fr_state_flush_sb(_pipe->fr+_pli); - sb_flags[sbi].coded_fully=_pipe->fr[_pli].sb_full; - sb_flags[sbi].coded_partially=_pipe->fr[_pli].sb_partial; - } - _pipe->ncoded_fragis[_pli]=ncoded_fragis; - _pipe->nuncoded_fragis[_pli]=nuncoded_fragis; -} - -/*Mode decision is done by exhaustively examining all potential choices. - Obviously, doing the motion compensation, fDCT, tokenization, and then - counting the bits each token uses is computationally expensive. - Theora's EOB runs can also split the cost of these tokens across multiple - fragments, and naturally we don't know what the optimal choice of Huffman - codes will be until we know all the tokens we're going to encode in all the - fragments. - So we use a simple approach to estimating the bit cost and distortion of each - mode based upon the SATD value of the residual before coding. - The mathematics behind the technique are outlined by Kim \cite{Kim03}, but - the process (modified somewhat from that of the paper) is very simple. - We build a non-linear regression of the mappings from - (pre-transform+quantization) SATD to (post-transform+quantization) bits and - SSD for each qi. - A separate set of mappings is kept for each quantization type and color - plane. - The mappings are constructed by partitioning the SATD values into a small - number of bins (currently 24) and using a linear regression in each bin - (as opposed to the 0th-order regression used by Kim). - The bit counts and SSD measurements are obtained by examining actual encoded - frames, with appropriate lambda values and optimal Huffman codes selected. - EOB bits are assigned to the fragment that started the EOB run (as opposed to - dividing them among all the blocks in the run; though the latter approach - seems more theoretically correct, Monty's testing showed a small improvement - with the former, though that may have been merely statistical noise). - - @ARTICLE{Kim03, - author="Hyun Mun Kim", - title="Adaptive Rate Control Using Nonlinear Regression", - journal="IEEE Transactions on Circuits and Systems for Video Technology", - volume=13, - number=5, - pages="432--439", - month=May, - year=2003 - }*/ - -/*Computes (_ssd+_lambda*_rate)/(1<>OC_BIT_SCALE)+((_rate)>>OC_BIT_SCALE)*(_lambda) \ - +(((_ssd)&(1<>1)>>OC_BIT_SCALE) - -/*Estimate the R-D cost of the DCT coefficients given the SATD of a block after - prediction.*/ -static unsigned oc_dct_cost2(unsigned *_ssd, - int _qi,int _pli,int _qti,int _satd){ - unsigned rmse; - int bin; - int dx; - int y0; - int z0; - int dy; - int dz; - /*SATD metrics for chroma planes vary much less than luma, so we scale them - by 4 to distribute them into the mode decision bins more evenly.*/ - _satd<<=_pli+1&2; - bin=OC_MINI(_satd>>OC_SAD_SHIFT,OC_SAD_BINS-2); - dx=_satd-(bin<>OC_SAD_SHIFT),0); - *_ssd=rmse*rmse>>2*OC_RMSE_SCALE-OC_BIT_SCALE; - return OC_MAXI(y0+(dy*dx>>OC_SAD_SHIFT),0); -} - -/*Select luma block-level quantizers for a MB in an INTRA frame.*/ -static unsigned oc_analyze_intra_mb_luma(oc_enc_ctx *_enc, - const oc_qii_state *_qs,unsigned _mbi){ - const unsigned char *src; - const ptrdiff_t *frag_buf_offs; - const oc_sb_map *sb_maps; - oc_fragment *frags; - ptrdiff_t frag_offs; - ptrdiff_t fragi; - oc_qii_state qs[4][3]; - unsigned cost[4][3]; - unsigned ssd[4][3]; - unsigned rate[4][3]; - int prev[3][3]; - unsigned satd; - unsigned best_cost; - unsigned best_ssd; - unsigned best_rate; - int best_qii; - int qii; - int lambda; - int ystride; - int nqis; - int bi; - frag_buf_offs=_enc->state.frag_buf_offs; - sb_maps=(const oc_sb_map *)_enc->state.sb_maps; - src=_enc->state.ref_frame_data[OC_FRAME_IO]; - ystride=_enc->state.ref_ystride[0]; - fragi=sb_maps[_mbi>>2][_mbi&3][0]; - frag_offs=frag_buf_offs[fragi]; - satd=oc_enc_frag_intra_satd(_enc,src+frag_offs,ystride); - nqis=_enc->state.nqis; - lambda=_enc->lambda; - for(qii=0;qiistate.qis[qii],0,0,satd) - +(qs[0][qii].bits-_qs->bits<>2][_mbi&3][bi]; - frag_offs=frag_buf_offs[fragi]; - satd=oc_enc_frag_intra_satd(_enc,src+frag_offs,ystride); - for(qii=0;qiistate.qis[qii],0,0,satd); - best_ssd=ssd[bi-1][0]+cur_ssd; - best_rate=rate[bi-1][0]+cur_rate - +(qt[0].bits-qs[bi-1][0].bits<state.frags; - for(bi=3;;){ - fragi=sb_maps[_mbi>>2][_mbi&3][bi]; - frags[fragi].qii=best_qii; - if(bi--<=0)break; - best_qii=prev[bi][best_qii]; - } - return best_cost; -} - -/*Select a block-level quantizer for a single chroma block in an INTRA frame.*/ -static unsigned oc_analyze_intra_chroma_block(oc_enc_ctx *_enc, - const oc_qii_state *_qs,int _pli,ptrdiff_t _fragi){ - const unsigned char *src; - oc_fragment *frags; - ptrdiff_t frag_offs; - oc_qii_state qt[3]; - unsigned cost[3]; - unsigned satd; - unsigned best_cost; - int best_qii; - int qii; - int lambda; - int ystride; - int nqis; - src=_enc->state.ref_frame_data[OC_FRAME_IO]; - ystride=_enc->state.ref_ystride[_pli]; - frag_offs=_enc->state.frag_buf_offs[_fragi]; - satd=oc_enc_frag_intra_satd(_enc,src+frag_offs,ystride); - nqis=_enc->state.nqis; - lambda=_enc->lambda; - best_qii=0; - for(qii=0;qiistate.qis[qii],_pli,0,satd) - +(qt[qii].bits-_qs->bits<state.frags; - frags[_fragi].qii=best_qii; - return best_cost; -} - -static void oc_enc_sb_transform_quantize_intra_chroma(oc_enc_ctx *_enc, - oc_enc_pipeline_state *_pipe,int _pli,int _sbi_start,int _sbi_end){ - const oc_sb_map *sb_maps; - oc_sb_flags *sb_flags; - ptrdiff_t *coded_fragis; - ptrdiff_t ncoded_fragis; - int sbi; - sb_maps=(const oc_sb_map *)_enc->state.sb_maps; - sb_flags=_enc->state.sb_flags; - coded_fragis=_pipe->coded_fragis[_pli]; - ncoded_fragis=_pipe->ncoded_fragis[_pli]; - for(sbi=_sbi_start;sbi<_sbi_end;sbi++){ - /*Worst case token stack usage for 1 fragment.*/ - oc_token_checkpoint stack[64]; - int quadi; - int bi; - for(quadi=0;quadi<4;quadi++)for(bi=0;bi<4;bi++){ - ptrdiff_t fragi; - fragi=sb_maps[sbi][quadi][bi]; - if(fragi>=0){ - oc_token_checkpoint *stackptr; - oc_analyze_intra_chroma_block(_enc,_pipe->qs+_pli,_pli,fragi); - stackptr=stack; - oc_enc_block_transform_quantize(_enc, - _pipe,_pli,fragi,0,NULL,&stackptr); - coded_fragis[ncoded_fragis++]=fragi; - } - } - } - _pipe->ncoded_fragis[_pli]=ncoded_fragis; -} - -/*Analysis stage for an INTRA frame.*/ -void oc_enc_analyze_intra(oc_enc_ctx *_enc,int _recode){ - oc_enc_pipeline_state pipe; - const unsigned char *map_idxs; - int nmap_idxs; - oc_sb_flags *sb_flags; - signed char *mb_modes; - const oc_mb_map *mb_maps; - oc_mb_enc_info *embs; - oc_fragment *frags; - unsigned stripe_sby; - unsigned mcu_nvsbs; - int notstart; - int notdone; - int refi; - int pli; - _enc->state.frame_type=OC_INTRA_FRAME; - oc_enc_tokenize_start(_enc); - oc_enc_pipeline_init(_enc,&pipe); - /*Choose MVs and MB modes and quantize and code luma. - Must be done in Hilbert order.*/ - map_idxs=OC_MB_MAP_IDXS[_enc->state.info.pixel_fmt]; - nmap_idxs=OC_MB_MAP_NIDXS[_enc->state.info.pixel_fmt]; - _enc->state.ncoded_fragis[0]=0; - _enc->state.ncoded_fragis[1]=0; - _enc->state.ncoded_fragis[2]=0; - sb_flags=_enc->state.sb_flags; - mb_modes=_enc->state.mb_modes; - mb_maps=(const oc_mb_map *)_enc->state.mb_maps; - embs=_enc->mb_info; - frags=_enc->state.frags; - notstart=0; - notdone=1; - mcu_nvsbs=_enc->mcu_nvsbs; - for(stripe_sby=0;notdone;stripe_sby+=mcu_nvsbs){ - unsigned sbi; - unsigned sbi_end; - notdone=oc_enc_pipeline_set_stripe(_enc,&pipe,stripe_sby); - sbi_end=pipe.sbi_end[0]; - for(sbi=pipe.sbi0[0];sbistate.curframe_num>0)oc_mcenc_search(_enc,mbi); - oc_analyze_intra_mb_luma(_enc,pipe.qs+0,mbi); - mb_modes[mbi]=OC_MODE_INTRA; - oc_enc_mb_transform_quantize_luma(_enc,&pipe,mbi,0); - /*Propagate final MB mode and MVs to the chroma blocks.*/ - for(mapii=4;mapii>2; - bi=mapi&3; - fragi=mb_maps[mbi][pli][bi]; - frags[fragi].mb_mode=OC_MODE_INTRA; - } - } - } - oc_enc_pipeline_finish_mcu_plane(_enc,&pipe,0,notstart,notdone); - /*Code chroma planes.*/ - for(pli=1;pli<3;pli++){ - oc_enc_sb_transform_quantize_intra_chroma(_enc,&pipe, - pli,pipe.sbi0[pli],pipe.sbi_end[pli]); - oc_enc_pipeline_finish_mcu_plane(_enc,&pipe,pli,notstart,notdone); - } - notstart=1; - } - /*Finish filling in the reference frame borders.*/ - refi=_enc->state.ref_frame_idx[OC_FRAME_SELF]; - for(pli=0;pli<3;pli++)oc_state_borders_fill_caps(&_enc->state,refi,pli); - _enc->state.ntotal_coded_fragis=_enc->state.nfrags; -} - - - -/*Cost information about a MB mode.*/ -struct oc_mode_choice{ - unsigned cost; - unsigned ssd; - unsigned rate; - unsigned overhead; - unsigned char qii[12]; -}; - - - -static void oc_mode_set_cost(oc_mode_choice *_modec,int _lambda){ - _modec->cost=OC_MODE_RD_COST(_modec->ssd, - _modec->rate+_modec->overhead,_lambda); -} - -/*A set of skip SSD's to use to disable early skipping.*/ -static const unsigned OC_NOSKIP[12]={ - UINT_MAX,UINT_MAX,UINT_MAX,UINT_MAX, - UINT_MAX,UINT_MAX,UINT_MAX,UINT_MAX, - UINT_MAX,UINT_MAX,UINT_MAX,UINT_MAX -}; - -/*The estimated number of bits used by a coded chroma block to specify the AC - quantizer. - TODO: Currently this is just 0.5*log2(3) (estimating about 50% compression); - measurements suggest this is in the right ballpark, but it varies somewhat - with lambda.*/ -#define OC_CHROMA_QII_RATE ((0xCAE00D1DU>>31-OC_BIT_SCALE)+1>>1) - -static void oc_analyze_mb_mode_luma(oc_enc_ctx *_enc, - oc_mode_choice *_modec,const oc_fr_state *_fr,const oc_qii_state *_qs, - const unsigned _frag_satd[12],const unsigned _skip_ssd[12],int _qti){ - oc_fr_state fr; - oc_qii_state qs; - unsigned ssd; - unsigned rate; - int overhead; - unsigned satd; - unsigned best_ssd; - unsigned best_rate; - int best_overhead; - int best_fri; - int best_qii; - unsigned cur_cost; - unsigned cur_ssd; - unsigned cur_rate; - int cur_overhead; - int lambda; - int nqis; - int nskipped; - int bi; - int qii; - lambda=_enc->lambda; - nqis=_enc->state.nqis; - /*We could do a trellis optimization here, but we don't make final skip - decisions until after transform+quantization, so the result wouldn't be - optimal anyway. - Instead we just use a greedy approach; for most SATD values, the - differences between the qiis are large enough to drown out the cost to - code the flags, anyway.*/ - *&fr=*_fr; - *&qs=*_qs; - ssd=rate=overhead=nskipped=0; - for(bi=0;bi<4;bi++){ - oc_fr_state ft[2]; - oc_qii_state qt[3]; - unsigned best_cost; - satd=_frag_satd[bi]; - *(ft+0)=*&fr; - oc_fr_code_block(ft+0); - oc_qii_state_advance(qt+0,&qs,0); - best_overhead=(ft[0].bits-fr.bits<state.qis[0],0,_qti,satd) - +(qt[0].bits-qs.bits<state.qis[qii],0,_qti,satd) - +(qt[qii].bits-qs.bits<qii[bi]=best_qii; - } - _modec->ssd=ssd; - _modec->rate=rate; - _modec->overhead=OC_MAXI(overhead,0); -} - -static void oc_analyze_mb_mode_chroma(oc_enc_ctx *_enc, - oc_mode_choice *_modec,const oc_fr_state *_fr,const oc_qii_state *_qs, - const unsigned _frag_satd[12],const unsigned _skip_ssd[12],int _qti){ - unsigned ssd; - unsigned rate; - unsigned satd; - unsigned best_ssd; - unsigned best_rate; - int best_qii; - unsigned cur_cost; - unsigned cur_ssd; - unsigned cur_rate; - int lambda; - int nblocks; - int nqis; - int pli; - int bi; - int qii; - lambda=_enc->lambda; - nqis=_enc->state.nqis; - ssd=_modec->ssd; - rate=_modec->rate; - /*Because (except in 4:4:4 mode) we aren't considering chroma blocks in coded - order, we assume a constant overhead for coded block and qii flags.*/ - nblocks=OC_MB_MAP_NIDXS[_enc->state.info.pixel_fmt]; - nblocks=(nblocks-4>>1)+4; - bi=4; - for(pli=1;pli<3;pli++){ - for(;bistate.qis[0],pli,_qti,satd) - +OC_CHROMA_QII_RATE; - best_cost=OC_MODE_RD_COST(ssd+best_ssd,rate+best_rate,lambda); - best_qii=0; - for(qii=1;qiistate.qis[qii],0,_qti,satd) - +OC_CHROMA_QII_RATE; - cur_cost=OC_MODE_RD_COST(ssd+cur_ssd,rate+cur_rate,lambda); - if(cur_costqii[bi]=best_qii; - } - nblocks=(nblocks-4<<1)+4; - } - _modec->ssd=ssd; - _modec->rate=rate; -} - -static void oc_skip_cost(oc_enc_ctx *_enc,oc_enc_pipeline_state *_pipe, - unsigned _mbi,unsigned _ssd[12]){ - OC_ALIGN16(ogg_int16_t buffer[64]); - const unsigned char *src; - const unsigned char *ref; - int ystride; - const oc_fragment *frags; - const ptrdiff_t *frag_buf_offs; - const ptrdiff_t *sb_map; - const oc_mb_map_plane *mb_map; - const unsigned char *map_idxs; - int map_nidxs; - ogg_int64_t mask; - unsigned uncoded_ssd; - int uncoded_dc; - unsigned dc_dequant; - int dc_flag; - int mapii; - int mapi; - int pli; - int bi; - ptrdiff_t fragi; - ptrdiff_t frag_offs; - int borderi; - int pi; - src=_enc->state.ref_frame_data[OC_FRAME_IO]; - ref=_enc->state.ref_frame_data[_enc->state.ref_frame_idx[OC_FRAME_PREV]]; - ystride=_enc->state.ref_ystride[0]; - frags=_enc->state.frags; - frag_buf_offs=_enc->state.frag_buf_offs; - sb_map=_enc->state.sb_maps[_mbi>>2][_mbi&3]; - dc_dequant=_enc->state.dequant_tables[_enc->state.qis[0]][0][1][0]; - for(bi=0;bi<4;bi++){ - fragi=sb_map[bi]; - frag_offs=frag_buf_offs[fragi]; - oc_enc_frag_sub(_enc,buffer,src+frag_offs,ref+frag_offs,ystride); - borderi=frags[fragi].borderi; - uncoded_ssd=uncoded_dc=0; - if(borderi<0){ - for(pi=0;pi<64;pi++){ - uncoded_ssd+=buffer[pi]*buffer[pi]; - uncoded_dc+=buffer[pi]; - } - } - else{ - ogg_int64_t mask; - mask=_enc->state.borders[borderi].mask; - for(pi=0;pi<64;pi++,mask>>=1)if(mask&1){ - uncoded_ssd+=buffer[pi]*buffer[pi]; - uncoded_dc+=buffer[pi]; - } - } - /*Scale to match DCT domain.*/ - uncoded_ssd<<=4; - /*We actually only want the AC contribution to the SSD.*/ - uncoded_ssd-=uncoded_dc*uncoded_dc>>2; - /*DC is a special case; if there's more than a full-quantizer improvement - in the effective DC component, always force-code the block.*/ - dc_flag=abs(uncoded_dc)>dc_dequant<<1; - uncoded_ssd|=-dc_flag; - _pipe->skip_ssd[0][fragi-_pipe->froffset[0]]=_ssd[bi]=uncoded_ssd; - } - mb_map=(const oc_mb_map_plane *)_enc->state.mb_maps[_mbi]; - map_nidxs=OC_MB_MAP_NIDXS[_enc->state.info.pixel_fmt]; - map_idxs=OC_MB_MAP_IDXS[_enc->state.info.pixel_fmt]; - map_nidxs=(map_nidxs-4>>1)+4; - mapii=4; - for(pli=1;pli<3;pli++){ - ystride=_enc->state.ref_ystride[pli]; - dc_dequant=_enc->state.dequant_tables[_enc->state.qis[0]][pli][1][0]; - for(;mapiistate.borders[borderi].mask; - for(pi=0;pi<64;pi++,mask>>=1)if(mask&1){ - uncoded_ssd+=buffer[pi]*buffer[pi]; - uncoded_dc+=buffer[pi]; - } - } - /*Scale to match DCT domain.*/ - uncoded_ssd<<=4; - /*We actually only want the AC contribution to the SSD.*/ - uncoded_ssd-=uncoded_dc*uncoded_dc>>2; - /*DC is a special case; if there's more than a full-quantizer improvement - in the effective DC component, always force-code the block.*/ - dc_flag=abs(uncoded_dc)>dc_dequant<<1; - uncoded_ssd|=-dc_flag; - _pipe->skip_ssd[pli][fragi-_pipe->froffset[pli]]=_ssd[mapii]=uncoded_ssd; - } - map_nidxs=(map_nidxs-4<<1)+4; - } -} - -static void oc_mb_intra_satd(oc_enc_ctx *_enc,unsigned _mbi, - unsigned _frag_satd[12]){ - const unsigned char *src; - const ptrdiff_t *frag_buf_offs; - const ptrdiff_t *sb_map; - const oc_mb_map_plane *mb_map; - const unsigned char *map_idxs; - int map_nidxs; - int mapii; - int mapi; - int ystride; - int pli; - int bi; - ptrdiff_t fragi; - ptrdiff_t frag_offs; - frag_buf_offs=_enc->state.frag_buf_offs; - sb_map=_enc->state.sb_maps[_mbi>>2][_mbi&3]; - src=_enc->state.ref_frame_data[OC_FRAME_IO]; - ystride=_enc->state.ref_ystride[0]; - for(bi=0;bi<4;bi++){ - fragi=sb_map[bi]; - frag_offs=frag_buf_offs[fragi]; - _frag_satd[bi]=oc_enc_frag_intra_satd(_enc,src+frag_offs,ystride); - } - mb_map=(const oc_mb_map_plane *)_enc->state.mb_maps[_mbi]; - map_idxs=OC_MB_MAP_IDXS[_enc->state.info.pixel_fmt]; - map_nidxs=OC_MB_MAP_NIDXS[_enc->state.info.pixel_fmt]; - /*Note: This assumes ref_ystride[1]==ref_ystride[2].*/ - ystride=_enc->state.ref_ystride[1]; - for(mapii=4;mapii>2; - bi=mapi&3; - fragi=mb_map[pli][bi]; - frag_offs=frag_buf_offs[fragi]; - _frag_satd[mapii]=oc_enc_frag_intra_satd(_enc,src+frag_offs,ystride); - } -} - -static void oc_cost_intra(oc_enc_ctx *_enc,oc_mode_choice *_modec, - unsigned _mbi,const oc_fr_state *_fr,const oc_qii_state *_qs, - const unsigned _frag_satd[12],const unsigned _skip_ssd[12]){ - oc_analyze_mb_mode_luma(_enc,_modec,_fr,_qs,_frag_satd,_skip_ssd,0); - oc_analyze_mb_mode_chroma(_enc,_modec,_fr,_qs,_frag_satd,_skip_ssd,0); - _modec->overhead+= - oc_mode_scheme_chooser_cost(&_enc->chooser,OC_MODE_INTRA)<lambda); -} - -static void oc_cost_inter(oc_enc_ctx *_enc,oc_mode_choice *_modec, - unsigned _mbi,int _mb_mode,const signed char *_mv, - const oc_fr_state *_fr,const oc_qii_state *_qs,const unsigned _skip_ssd[12]){ - unsigned frag_satd[12]; - const unsigned char *src; - const unsigned char *ref; - int ystride; - const ptrdiff_t *frag_buf_offs; - const ptrdiff_t *sb_map; - const oc_mb_map_plane *mb_map; - const unsigned char *map_idxs; - int map_nidxs; - int mapii; - int mapi; - int mv_offs[2]; - int dx; - int dy; - int pli; - int bi; - ptrdiff_t fragi; - ptrdiff_t frag_offs; - src=_enc->state.ref_frame_data[OC_FRAME_IO]; - ref=_enc->state.ref_frame_data[ - _enc->state.ref_frame_idx[OC_FRAME_FOR_MODE(_mb_mode)]]; - ystride=_enc->state.ref_ystride[0]; - frag_buf_offs=_enc->state.frag_buf_offs; - sb_map=_enc->state.sb_maps[_mbi>>2][_mbi&3]; - dx=_mv[0]; - dy=_mv[1]; - _modec->rate=_modec->ssd=0; - if(oc_state_get_mv_offsets(&_enc->state,mv_offs,0,dx,dy)>1){ - for(bi=0;bi<4;bi++){ - fragi=sb_map[bi]; - frag_offs=frag_buf_offs[fragi]; - frag_satd[bi]=oc_enc_frag_satd2_thresh(_enc,src+frag_offs, - ref+frag_offs+mv_offs[0],ref+frag_offs+mv_offs[1],ystride,UINT_MAX); - } - } - else{ - for(bi=0;bi<4;bi++){ - fragi=sb_map[bi]; - frag_offs=frag_buf_offs[fragi]; - frag_satd[bi]=oc_enc_frag_satd_thresh(_enc,src+frag_offs, - ref+frag_offs+mv_offs[0],ystride,UINT_MAX); - } - } - mb_map=(const oc_mb_map_plane *)_enc->state.mb_maps[_mbi]; - map_idxs=OC_MB_MAP_IDXS[_enc->state.info.pixel_fmt]; - map_nidxs=OC_MB_MAP_NIDXS[_enc->state.info.pixel_fmt]; - /*Note: This assumes ref_ystride[1]==ref_ystride[2].*/ - ystride=_enc->state.ref_ystride[1]; - if(oc_state_get_mv_offsets(&_enc->state,mv_offs,1,dx,dy)>1){ - for(mapii=4;mapii>2; - bi=mapi&3; - fragi=mb_map[pli][bi]; - frag_offs=frag_buf_offs[fragi]; - frag_satd[mapii]=oc_enc_frag_satd2_thresh(_enc,src+frag_offs, - ref+frag_offs+mv_offs[0],ref+frag_offs+mv_offs[1],ystride,UINT_MAX); - } - } - else{ - for(mapii=4;mapii>2; - bi=mapi&3; - fragi=mb_map[pli][bi]; - frag_offs=frag_buf_offs[fragi]; - frag_satd[mapii]=oc_enc_frag_satd_thresh(_enc,src+frag_offs, - ref+frag_offs+mv_offs[0],ystride,UINT_MAX); - } - } - oc_analyze_mb_mode_luma(_enc,_modec,_fr,_qs,frag_satd,_skip_ssd,1); - oc_analyze_mb_mode_chroma(_enc,_modec,_fr,_qs,frag_satd,_skip_ssd,1); - _modec->overhead+= - oc_mode_scheme_chooser_cost(&_enc->chooser,_mb_mode)<lambda); -} - -static void oc_cost_inter_nomv(oc_enc_ctx *_enc,oc_mode_choice *_modec, - unsigned _mbi,int _mb_mode,const oc_fr_state *_fr,const oc_qii_state *_qs, - const unsigned _skip_ssd[12]){ - static const oc_mv OC_MV_ZERO; - oc_cost_inter(_enc,_modec,_mbi,_mb_mode,OC_MV_ZERO,_fr,_qs,_skip_ssd); -} - -static int oc_cost_inter1mv(oc_enc_ctx *_enc,oc_mode_choice *_modec, - unsigned _mbi,int _mb_mode,const signed char *_mv, - const oc_fr_state *_fr,const oc_qii_state *_qs,const unsigned _skip_ssd[12]){ - int bits0; - oc_cost_inter(_enc,_modec,_mbi,_mb_mode,_mv,_fr,_qs,_skip_ssd); - bits0=OC_MV_BITS[0][_mv[0]+31]+OC_MV_BITS[0][_mv[1]+31]; - _modec->overhead+=OC_MINI(_enc->mv_bits[0]+bits0,_enc->mv_bits[1]+12) - -OC_MINI(_enc->mv_bits[0],_enc->mv_bits[1])<lambda); - return bits0; -} - -/*A mapping from oc_mb_map (raster) ordering to oc_sb_map (Hilbert) ordering.*/ -static const unsigned char OC_MB_PHASE[4][4]={ - {0,1,3,2},{0,3,1,2},{0,3,1,2},{2,3,1,0} -}; - -static void oc_cost_inter4mv(oc_enc_ctx *_enc,oc_mode_choice *_modec, - unsigned _mbi,oc_mv _mv[4],const oc_fr_state *_fr,const oc_qii_state *_qs, - const unsigned _skip_ssd[12]){ - unsigned frag_satd[12]; - oc_mv lbmvs[4]; - oc_mv cbmvs[4]; - const unsigned char *src; - const unsigned char *ref; - int ystride; - const ptrdiff_t *frag_buf_offs; - oc_mv *frag_mvs; - const oc_mb_map_plane *mb_map; - const unsigned char *map_idxs; - int map_nidxs; - int nqis; - int mapii; - int mapi; - int mv_offs[2]; - int dx; - int dy; - int pli; - int bi; - ptrdiff_t fragi; - ptrdiff_t frag_offs; - int bits0; - int bits1; - unsigned satd; - src=_enc->state.ref_frame_data[OC_FRAME_IO]; - ref=_enc->state.ref_frame_data[_enc->state.ref_frame_idx[OC_FRAME_PREV]]; - ystride=_enc->state.ref_ystride[0]; - frag_buf_offs=_enc->state.frag_buf_offs; - frag_mvs=_enc->state.frag_mvs; - mb_map=(const oc_mb_map_plane *)_enc->state.mb_maps[_mbi]; - _modec->rate=_modec->ssd=0; - for(bi=0;bi<4;bi++){ - fragi=mb_map[0][bi]; - dx=_mv[bi][0]; - dy=_mv[bi][1]; - /*Save the block MVs as the current ones while we're here; we'll replace - them if we don't ultimately choose 4MV mode.*/ - frag_mvs[fragi][0]=(signed char)dx; - frag_mvs[fragi][1]=(signed char)dy; - frag_offs=frag_buf_offs[fragi]; - if(oc_state_get_mv_offsets(&_enc->state,mv_offs,0,dx,dy)>1){ - satd=oc_enc_frag_satd2_thresh(_enc,src+frag_offs, - ref+frag_offs+mv_offs[0],ref+frag_offs+mv_offs[1],ystride,UINT_MAX); - } - else{ - satd=oc_enc_frag_satd_thresh(_enc,src+frag_offs, - ref+frag_offs+mv_offs[0],ystride,UINT_MAX); - } - frag_satd[OC_MB_PHASE[_mbi&3][bi]]=satd; - } - oc_analyze_mb_mode_luma(_enc,_modec,_fr,_qs,frag_satd, - _enc->vp3_compatible?OC_NOSKIP:_skip_ssd,1); - /*Figure out which blocks are being skipped and give them (0,0) MVs.*/ - bits0=0; - bits1=0; - nqis=_enc->state.nqis; - for(bi=0;bi<4;bi++){ - if(_modec->qii[OC_MB_PHASE[_mbi&3][bi]]>=nqis){ - memset(lbmvs+bi,0,sizeof(*lbmvs)); - } - else{ - memcpy(lbmvs+bi,_mv+bi,sizeof(*lbmvs)); - bits0+=OC_MV_BITS[0][_mv[bi][0]+31]+OC_MV_BITS[0][_mv[bi][1]+31]; - bits1+=12; - } - } - (*OC_SET_CHROMA_MVS_TABLE[_enc->state.info.pixel_fmt])(cbmvs, - (const oc_mv *)lbmvs); - map_idxs=OC_MB_MAP_IDXS[_enc->state.info.pixel_fmt]; - map_nidxs=OC_MB_MAP_NIDXS[_enc->state.info.pixel_fmt]; - /*Note: This assumes ref_ystride[1]==ref_ystride[2].*/ - ystride=_enc->state.ref_ystride[1]; - for(mapii=4;mapii>2; - bi=mapi&3; - fragi=mb_map[pli][bi]; - dx=cbmvs[bi][0]; - dy=cbmvs[bi][1]; - frag_offs=frag_buf_offs[fragi]; - /*TODO: We could save half these calls by re-using the results for the Cb - and Cr planes; is it worth it?*/ - if(oc_state_get_mv_offsets(&_enc->state,mv_offs,pli,dx,dy)>1){ - satd=oc_enc_frag_satd2_thresh(_enc,src+frag_offs, - ref+frag_offs+mv_offs[0],ref+frag_offs+mv_offs[1],ystride,UINT_MAX); - } - else{ - satd=oc_enc_frag_satd_thresh(_enc,src+frag_offs, - ref+frag_offs+mv_offs[0],ystride,UINT_MAX); - } - frag_satd[mapii]=satd; - } - oc_analyze_mb_mode_chroma(_enc,_modec,_fr,_qs,frag_satd,_skip_ssd,1); - _modec->overhead+= - oc_mode_scheme_chooser_cost(&_enc->chooser,OC_MODE_INTER_MV_FOUR) - +OC_MINI(_enc->mv_bits[0]+bits0,_enc->mv_bits[1]+bits1) - -OC_MINI(_enc->mv_bits[0],_enc->mv_bits[1])<lambda); -} - -int oc_enc_analyze_inter(oc_enc_ctx *_enc,int _allow_keyframe,int _recode){ - oc_set_chroma_mvs_func set_chroma_mvs; - oc_enc_pipeline_state pipe; - oc_qii_state intra_luma_qs; - oc_mv last_mv; - oc_mv prior_mv; - ogg_int64_t interbits; - ogg_int64_t intrabits; - const unsigned char *map_idxs; - int nmap_idxs; - unsigned *coded_mbis; - unsigned *uncoded_mbis; - size_t ncoded_mbis; - size_t nuncoded_mbis; - oc_sb_flags *sb_flags; - signed char *mb_modes; - const oc_sb_map *sb_maps; - const oc_mb_map *mb_maps; - oc_mb_enc_info *embs; - oc_fragment *frags; - oc_mv *frag_mvs; - int qi; - unsigned stripe_sby; - unsigned mcu_nvsbs; - int notstart; - int notdone; - int vdec; - unsigned sbi; - unsigned sbi_end; - int refi; - int pli; - set_chroma_mvs=OC_SET_CHROMA_MVS_TABLE[_enc->state.info.pixel_fmt]; - _enc->state.frame_type=OC_INTER_FRAME; - oc_mode_scheme_chooser_reset(&_enc->chooser); - oc_enc_tokenize_start(_enc); - oc_enc_pipeline_init(_enc,&pipe); - if(_allow_keyframe)oc_qii_state_init(&intra_luma_qs); - _enc->mv_bits[0]=_enc->mv_bits[1]=0; - interbits=intrabits=0; - last_mv[0]=last_mv[1]=prior_mv[0]=prior_mv[1]=0; - /*Choose MVs and MB modes and quantize and code luma. - Must be done in Hilbert order.*/ - map_idxs=OC_MB_MAP_IDXS[_enc->state.info.pixel_fmt]; - nmap_idxs=OC_MB_MAP_NIDXS[_enc->state.info.pixel_fmt]; - qi=_enc->state.qis[0]; - coded_mbis=_enc->coded_mbis; - uncoded_mbis=coded_mbis+_enc->state.nmbs; - ncoded_mbis=0; - nuncoded_mbis=0; - _enc->state.ncoded_fragis[0]=0; - _enc->state.ncoded_fragis[1]=0; - _enc->state.ncoded_fragis[2]=0; - sb_flags=_enc->state.sb_flags; - mb_modes=_enc->state.mb_modes; - sb_maps=(const oc_sb_map *)_enc->state.sb_maps; - mb_maps=(const oc_mb_map *)_enc->state.mb_maps; - embs=_enc->mb_info; - frags=_enc->state.frags; - frag_mvs=_enc->state.frag_mvs; - vdec=!(_enc->state.info.pixel_fmt&2); - notstart=0; - notdone=1; - mcu_nvsbs=_enc->mcu_nvsbs; - for(stripe_sby=0;notdone;stripe_sby+=mcu_nvsbs){ - notdone=oc_enc_pipeline_set_stripe(_enc,&pipe,stripe_sby); - sbi_end=pipe.sbi_end[0]; - for(sbi=pipe.sbi0[0];sbisp_levelsp_levellambda*3; - if(modes[OC_MODE_INTER_MV_FOUR].cost>2][mbi&3][bi]; - frags[fragi].qii=modes[mb_mode].qii[bi]; - } - if(oc_enc_mb_transform_quantize_luma(_enc,&pipe,mbi, - modes[mb_mode].overhead>>OC_BIT_SCALE)>0){ - int orig_mb_mode; - orig_mb_mode=mb_mode; - mb_mode=mb_modes[mbi]; - switch(mb_mode){ - case OC_MODE_INTER_MV:{ - memcpy(prior_mv,last_mv,sizeof(prior_mv)); - /*If we're backing out from 4MV, find the MV we're actually - using.*/ - if(orig_mb_mode==OC_MODE_INTER_MV_FOUR){ - for(bi=0;;bi++){ - fragi=mb_maps[mbi][0][bi]; - if(frags[fragi].coded){ - memcpy(last_mv,frag_mvs[fragi],sizeof(last_mv)); - dx=frag_mvs[fragi][0]; - dy=frag_mvs[fragi][1]; - break; - } - } - mb_mv_bits_0=OC_MV_BITS[0][dx+31]+OC_MV_BITS[0][dy+31]; - } - /*Otherwise we used the original analysis MV.*/ - else{ - memcpy(last_mv, - embs[mbi].analysis_mv[0][OC_FRAME_PREV],sizeof(last_mv)); - } - _enc->mv_bits[0]+=mb_mv_bits_0; - _enc->mv_bits[1]+=12; - }break; - case OC_MODE_INTER_MV_LAST2:{ - oc_mv tmp_mv; - memcpy(tmp_mv,prior_mv,sizeof(tmp_mv)); - memcpy(prior_mv,last_mv,sizeof(prior_mv)); - memcpy(last_mv,tmp_mv,sizeof(last_mv)); - }break; - case OC_MODE_GOLDEN_MV:{ - _enc->mv_bits[0]+=mb_gmv_bits_0; - _enc->mv_bits[1]+=12; - }break; - case OC_MODE_INTER_MV_FOUR:{ - oc_mv lbmvs[4]; - oc_mv cbmvs[4]; - memcpy(prior_mv,last_mv,sizeof(prior_mv)); - for(bi=0;bi<4;bi++){ - fragi=mb_maps[mbi][0][bi]; - if(frags[fragi].coded){ - memcpy(last_mv,frag_mvs[fragi],sizeof(last_mv)); - memcpy(lbmvs[bi],frag_mvs[fragi],sizeof(lbmvs[bi])); - _enc->mv_bits[0]+=OC_MV_BITS[0][frag_mvs[fragi][0]+31] - +OC_MV_BITS[0][frag_mvs[fragi][1]+31]; - _enc->mv_bits[1]+=12; - } - /*Replace the block MVs for not-coded blocks with (0,0).*/ - else memset(lbmvs[bi],0,sizeof(lbmvs[bi])); - } - (*set_chroma_mvs)(cbmvs,(const oc_mv *)lbmvs); - for(mapii=4;mapii>2; - bi=mapi&3; - fragi=mb_maps[mbi][pli][bi]; - frags[fragi].mb_mode=mb_mode; - frags[fragi].qii=modes[OC_MODE_INTER_MV_FOUR].qii[mapii]; - memcpy(frag_mvs[fragi],cbmvs[bi],sizeof(frag_mvs[fragi])); - } - }break; - } - coded_mbis[ncoded_mbis++]=mbi; - oc_mode_scheme_chooser_update(&_enc->chooser,mb_mode); - interbits+=modes[mb_mode].rate+modes[mb_mode].overhead; - } - else{ - *(uncoded_mbis-++nuncoded_mbis)=mbi; - mb_mode=OC_MODE_INTER_NOMV; - dx=dy=0; - } - /*Propagate final MB mode and MVs to the chroma blocks. - This has already been done for 4MV mode, since it requires individual - block motion vectors.*/ - if(mb_mode!=OC_MODE_INTER_MV_FOUR){ - for(mapii=4;mapii>2; - bi=mapi&3; - fragi=mb_maps[mbi][pli][bi]; - frags[fragi].mb_mode=mb_mode; - /*If we switched from 4MV mode to INTER_MV mode, then the qii - values won't have been chosen with the right MV, but it's - probaby not worth re-estimating them.*/ - frags[fragi].qii=modes[mb_mode].qii[mapii]; - frag_mvs[fragi][0]=(signed char)dx; - frag_mvs[fragi][1]=(signed char)dy; - } - } - } - oc_fr_state_flush_sb(pipe.fr+0); - sb_flags[sbi].coded_fully=pipe.fr[0].sb_full; - sb_flags[sbi].coded_partially=pipe.fr[0].sb_partial; - } - oc_enc_pipeline_finish_mcu_plane(_enc,&pipe,0,notstart,notdone); - /*Code chroma planes.*/ - for(pli=1;pli<3;pli++){ - oc_enc_sb_transform_quantize_chroma(_enc,&pipe, - pli,pipe.sbi0[pli],pipe.sbi_end[pli]); - oc_enc_pipeline_finish_mcu_plane(_enc,&pipe,pli,notstart,notdone); - } - notstart=1; - } - /*Finish filling in the reference frame borders.*/ - refi=_enc->state.ref_frame_idx[OC_FRAME_SELF]; - for(pli=0;pli<3;pli++)oc_state_borders_fill_caps(&_enc->state,refi,pli); - /*Finish adding flagging overhead costs to inter bit counts to determine if - we should have coded a key frame instead.*/ - if(_allow_keyframe){ - if(interbits>intrabits)return 1; - /*Technically the chroma plane counts are over-estimations, because they - don't account for continuing runs from the luma planes, but the - inaccuracy is small.*/ - for(pli=0;pli<3;pli++)interbits+=pipe.fr[pli].bits<mv_bits[0],_enc->mv_bits[1])<chooser.scheme_bits[_enc->chooser.scheme_list[0]]<intrabits)return 1; - } - _enc->ncoded_mbis=ncoded_mbis; - /*Compact the coded fragment list.*/ - { - ptrdiff_t ncoded_fragis; - ncoded_fragis=_enc->state.ncoded_fragis[0]; - for(pli=1;pli<3;pli++){ - memmove(_enc->state.coded_fragis+ncoded_fragis, - _enc->state.coded_fragis+_enc->state.fplanes[pli].froffset, - _enc->state.ncoded_fragis[pli]*sizeof(*_enc->state.coded_fragis)); - ncoded_fragis+=_enc->state.ncoded_fragis[pli]; - } - _enc->state.ntotal_coded_fragis=ncoded_fragis; - } - return 0; -} - -#if defined(OC_COLLECT_METRICS) -# include -# include - -/*TODO: It may be helpful (for block-level quantizers especially) to separate - out the contributions from AC and DC into separate tables.*/ - -# define OC_ZWEIGHT (0.25) - -static void oc_mode_metrics_add(oc_mode_metrics *_metrics, - double _w,int _satd,int _rate,double _rmse){ - double rate; - /*Accumulate statistics without the scaling; this lets us change the scale - factor yet still use old data.*/ - rate=ldexp(_rate,-OC_BIT_SCALE); - if(_metrics->fragw>0){ - double dsatd; - double drate; - double drmse; - double w; - dsatd=_satd-_metrics->satd/_metrics->fragw; - drate=rate-_metrics->rate/_metrics->fragw; - drmse=_rmse-_metrics->rmse/_metrics->fragw; - w=_metrics->fragw*_w/(_metrics->fragw+_w); - _metrics->satd2+=dsatd*dsatd*w; - _metrics->satdrate+=dsatd*drate*w; - _metrics->rate2+=drate*drate*w; - _metrics->satdrmse+=dsatd*drmse*w; - _metrics->rmse2+=drmse*drmse*w; - } - _metrics->fragw+=_w; - _metrics->satd+=_satd*_w; - _metrics->rate+=rate*_w; - _metrics->rmse+=_rmse*_w; -} - -static void oc_mode_metrics_merge(oc_mode_metrics *_dst, - const oc_mode_metrics *_src,int _n){ - int i; - /*Find a non-empty set of metrics.*/ - for(i=0;i<_n&&_src[i].fragw<=0;i++); - if(i>=_n){ - memset(_dst,0,sizeof(*_dst)); - return; - } - memcpy(_dst,_src+i,sizeof(*_dst)); - /*And iterate over the remaining non-empty sets of metrics.*/ - for(i++;i<_n;i++)if(_src[i].fragw>0){ - double wa; - double wb; - double dsatd; - double drate; - double drmse; - double w; - wa=_dst->fragw; - wb=_src[i].fragw; - dsatd=_src[i].satd/wb-_dst->satd/wa; - drate=_src[i].rate/wb-_dst->rate/wa; - drmse=_src[i].rmse/wb-_dst->rmse/wa; - w=wa*wb/(wa+wb); - _dst->fragw+=_src[i].fragw; - _dst->satd+=_src[i].satd; - _dst->rate+=_src[i].rate; - _dst->rmse+=_src[i].rmse; - _dst->satd2+=_src[i].satd2+dsatd*dsatd*w; - _dst->satdrate+=_src[i].satdrate+dsatd*drate*w; - _dst->rate2+=_src[i].rate2+drate*drate*w; - _dst->satdrmse+=_src[i].satdrmse+dsatd*drmse*w; - _dst->rmse2+=_src[i].rmse2+drmse*drmse*w; - } -} - -/*Compile collected SATD/rate/RMSE metrics into a form that's immediately - useful for mode decision.*/ -static void oc_enc_mode_metrics_update(oc_enc_ctx *_enc,int _qi){ - int pli; - int qti; - oc_restore_fpu(&_enc->state); - /*Convert raw collected data into cleaned up sample points.*/ - for(pli=0;pli<3;pli++){ - for(qti=0;qti<2;qti++){ - double fragw; - int bin0; - int bin1; - int bin; - fragw=0; - bin0=bin1=0; - for(bin=0;bin=OC_ZWEIGHT){ - fragw-=OC_MODE_METRICS[_qi][pli][qti][bin0++].fragw; - } - /*Merge statistics and fit lines.*/ - oc_mode_metrics_merge(&metrics, - OC_MODE_METRICS[_qi][pli][qti]+bin0,bin1-bin0); - if(metrics.fragw>0&&metrics.satd2>0){ - double a; - double b; - double msatd; - double mrate; - double mrmse; - double rate; - double rmse; - msatd=metrics.satd/metrics.fragw; - mrate=metrics.rate/metrics.fragw; - mrmse=metrics.rmse/metrics.fragw; - /*Compute the points on these lines corresponding to the actual bin - value.*/ - b=metrics.satdrate/metrics.satd2; - a=mrate-b*msatd; - rate=ldexp(a+b*(bin<>1); - return -_extra_bits; -} - -/*Handles the pure zero run tokens.*/ -static ptrdiff_t oc_token_skip_zrl(int _token,int _extra_bits){ - return _extra_bits+1; -} - -/*Handles a normal coefficient value token.*/ -static ptrdiff_t oc_token_skip_val(void){ - return 1; -} - -/*Handles a category 1A zero run/coefficient value combo token.*/ -static ptrdiff_t oc_token_skip_run_cat1a(int _token){ - return _token-OC_DCT_RUN_CAT1A+2; -} - -/*Handles category 1b, 1c, 2a, and 2b zero run/coefficient value combo tokens.*/ -static ptrdiff_t oc_token_skip_run(int _token,int _extra_bits){ - int run_cati; - int ncoeffs_mask; - int ncoeffs_adjust; - run_cati=_token-OC_DCT_RUN_CAT1B; - ncoeffs_mask=OC_BYTE_TABLE32(3,7,0,1,run_cati); - ncoeffs_adjust=OC_BYTE_TABLE32(7,11,2,3,run_cati); - return (_extra_bits&ncoeffs_mask)+ncoeffs_adjust; -} - -/*A jump table for computing the number of coefficients or blocks to skip for - a given token value. - This reduces all the conditional branches, etc., needed to parse these token - values down to one indirect jump.*/ -static const oc_token_skip_func OC_TOKEN_SKIP_TABLE[TH_NDCT_TOKENS]={ - oc_token_skip_eob, - oc_token_skip_eob, - oc_token_skip_eob, - oc_token_skip_eob, - oc_token_skip_eob, - oc_token_skip_eob, - oc_token_skip_eob6, - oc_token_skip_zrl, - oc_token_skip_zrl, - (oc_token_skip_func)oc_token_skip_val, - (oc_token_skip_func)oc_token_skip_val, - (oc_token_skip_func)oc_token_skip_val, - (oc_token_skip_func)oc_token_skip_val, - (oc_token_skip_func)oc_token_skip_val, - (oc_token_skip_func)oc_token_skip_val, - (oc_token_skip_func)oc_token_skip_val, - (oc_token_skip_func)oc_token_skip_val, - (oc_token_skip_func)oc_token_skip_val, - (oc_token_skip_func)oc_token_skip_val, - (oc_token_skip_func)oc_token_skip_val, - (oc_token_skip_func)oc_token_skip_val, - (oc_token_skip_func)oc_token_skip_val, - (oc_token_skip_func)oc_token_skip_val, - (oc_token_skip_func)oc_token_skip_run_cat1a, - (oc_token_skip_func)oc_token_skip_run_cat1a, - (oc_token_skip_func)oc_token_skip_run_cat1a, - (oc_token_skip_func)oc_token_skip_run_cat1a, - (oc_token_skip_func)oc_token_skip_run_cat1a, - oc_token_skip_run, - oc_token_skip_run, - oc_token_skip_run, - oc_token_skip_run -}; - -/*Determines the number of blocks or coefficients to be skipped for a given - token value. - _token: The token value to skip. - _extra_bits: The extra bits attached to this token. - Return: A positive value indicates that number of coefficients are to be - skipped in the current block. - Otherwise, the negative of the return value indicates that number of - blocks are to be ended. - 0 will never be returned, so that at least one coefficient in one - block will always be decoded for every token.*/ -static ptrdiff_t oc_dct_token_skip(int _token,int _extra_bits){ - return (*OC_TOKEN_SKIP_TABLE[_token])(_token,_extra_bits); -} - - - -void oc_enc_mode_metrics_collect(oc_enc_ctx *_enc){ - static const unsigned char OC_ZZI_HUFF_OFFSET[64]={ - 0,16,16,16,16,16,32,32, - 32,32,32,32,32,32,32,48, - 48,48,48,48,48,48,48,48, - 48,48,48,48,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64 - }; - const oc_fragment *frags; - const unsigned *frag_satd; - const unsigned *frag_ssd; - const ptrdiff_t *coded_fragis; - ptrdiff_t ncoded_fragis; - ptrdiff_t fragii; - double fragw; - int qti; - int qii; - int qi; - int pli; - int zzi; - int token; - int eb; - oc_restore_fpu(&_enc->state); - /*Load any existing mode metrics if we haven't already.*/ - if(!oc_has_mode_metrics){ - FILE *fmetrics; - memset(OC_MODE_METRICS,0,sizeof(OC_MODE_METRICS)); - fmetrics=fopen("modedec.stats","rb"); - if(fmetrics!=NULL){ - fread(OC_MODE_METRICS,sizeof(OC_MODE_METRICS),1,fmetrics); - fclose(fmetrics); - } - for(qi=0;qi<64;qi++)oc_enc_mode_metrics_update(_enc,qi); - oc_has_mode_metrics=1; - } - qti=_enc->state.frame_type; - frags=_enc->state.frags; - frag_satd=_enc->frag_satd; - frag_ssd=_enc->frag_ssd; - coded_fragis=_enc->state.coded_fragis; - ncoded_fragis=fragii=0; - /*Weight the fragments by the inverse frame size; this prevents HD content - from dominating the statistics.*/ - fragw=1.0/_enc->state.nfrags; - for(pli=0;pli<3;pli++){ - ptrdiff_t ti[64]; - int eob_token[64]; - int eob_run[64]; - /*Set up token indices and eob run counts. - We don't bother trying to figure out the real cost of the runs that span - coefficients; instead we use the costs that were available when R-D - token optimization was done.*/ - for(zzi=0;zzi<64;zzi++){ - ti[zzi]=_enc->dct_token_offs[pli][zzi]; - if(ti[zzi]>0){ - token=_enc->dct_tokens[pli][zzi][0]; - eb=_enc->extra_bits[pli][zzi][0]; - eob_token[zzi]=token; - eob_run[zzi]=-oc_dct_token_skip(token,eb); - } - else{ - eob_token[zzi]=OC_NDCT_EOB_TOKEN_MAX; - eob_run[zzi]=0; - } - } - /*Scan the list of coded fragments for this plane.*/ - ncoded_fragis+=_enc->state.ncoded_fragis[pli]; - for(;fragii0){ - /*We've reached the end of the block.*/ - eob_run[zzi]--; - break; - } - huffi=_enc->huff_idxs[qti][zzi>0][pli+1>>1] - +OC_ZZI_HUFF_OFFSET[zzi]; - if(eob_token[zzi]huff_codes[huffi][eob_token[zzi]].nbits - +OC_DCT_TOKEN_EXTRA_BITS[eob_token[zzi]]; - eob_token[zzi]=OC_NDCT_EOB_TOKEN_MAX; - } - token=_enc->dct_tokens[pli][zzi][ti[zzi]]; - eb=_enc->extra_bits[pli][zzi][ti[zzi]]; - ti[zzi]++; - skip=oc_dct_token_skip(token,eb); - if(skip<0){ - eob_token[zzi]=token; - eob_run[zzi]=-skip; - } - else{ - /*A regular DCT value token; accumulate the bits for it.*/ - frag_bits+=_enc->huff_codes[huffi][token].nbits - +OC_DCT_TOKEN_EXTRA_BITS[token]; - zzi+=skip; - } - } - mb_mode=frags[fragi].mb_mode; - qi=_enc->state.qis[frags[fragi].qii]; - satd=frag_satd[fragi]<<(pli+1&2); - bin=OC_MINI(satd>>OC_SAD_SHIFT,OC_SAD_BINS-1); - oc_mode_metrics_add(OC_MODE_METRICS[qi][pli][mb_mode!=OC_MODE_INTRA]+bin, - fragw,satd,frag_bits<state.nqis;qii++){ - oc_enc_mode_metrics_update(_enc,_enc->state.qis[qii]); - } -} - -void oc_enc_mode_metrics_dump(oc_enc_ctx *_enc){ - FILE *fmetrics; - int qi; - /*Generate sample points for complete list of QI values.*/ - for(qi=0;qi<64;qi++)oc_enc_mode_metrics_update(_enc,qi); - fmetrics=fopen("modedec.stats","wb"); - if(fmetrics!=NULL){ - fwrite(OC_MODE_METRICS,sizeof(OC_MODE_METRICS),1,fmetrics); - fclose(fmetrics); - } - fprintf(stdout, - "/*File generated by libtheora with OC_COLLECT_METRICS" - " defined at compile time.*/\n" - "#if !defined(_modedec_H)\n" - "# define _modedec_H (1)\n" - "\n" - "\n" - "\n" - "# if defined(OC_COLLECT_METRICS)\n" - "typedef struct oc_mode_metrics oc_mode_metrics;\n" - "# endif\n" - "typedef struct oc_mode_rd oc_mode_rd;\n" - "\n" - "\n" - "\n" - "/*The number of extra bits of precision at which to store rate" - " metrics.*/\n" - "# define OC_BIT_SCALE (%i)\n" - "/*The number of extra bits of precision at which to store RMSE metrics.\n" - " This must be at least half OC_BIT_SCALE (rounded up).*/\n" - "# define OC_RMSE_SCALE (%i)\n" - "/*The number of bins to partition statistics into.*/\n" - "# define OC_SAD_BINS (%i)\n" - "/*The number of bits of precision to drop" - " from SAD scores to assign them to a\n" - " bin.*/\n" - "# define OC_SAD_SHIFT (%i)\n" - "\n" - "\n" - "\n" - "# if defined(OC_COLLECT_METRICS)\n" - "struct oc_mode_metrics{\n" - " double fragw;\n" - " double satd;\n" - " double rate;\n" - " double rmse;\n" - " double satd2;\n" - " double satdrate;\n" - " double rate2;\n" - " double satdrmse;\n" - " double rmse2;\n" - "};\n" - "\n" - "\n" - "int oc_has_mode_metrics;\n" - "oc_mode_metrics OC_MODE_METRICS[64][3][2][OC_SAD_BINS];\n" - "# endif\n" - "\n" - "\n" - "\n" - "struct oc_mode_rd{\n" - " ogg_int16_t rate;\n" - " ogg_int16_t rmse;\n" - "};\n" - "\n" - "\n" - "# if !defined(OC_COLLECT_METRICS)\n" - "static const\n" - "# endif\n" - "oc_mode_rd OC_MODE_RD[64][3][2][OC_SAD_BINS]={\n", - OC_BIT_SCALE,OC_RMSE_SCALE,OC_SAD_BINS,OC_SAD_SHIFT); - for(qi=0;qi<64;qi++){ - int pli; - fprintf(stdout," {\n"); - for(pli=0;pli<3;pli++){ - int qti; - fprintf(stdout," {\n"); - for(qti=0;qti<2;qti++){ - int bin; - static const char *pl_names[3]={"Y'","Cb","Cr"}; - static const char *qti_names[2]={"INTRA","INTER"}; - fprintf(stdout," /*%s qi=%i %s*/\n", - pl_names[pli],qi,qti_names[qti]); - fprintf(stdout," {\n"); - fprintf(stdout," "); - for(bin=0;bin -#include -#include -#include "apiwrapper.h" - - - -const char *theora_version_string(void){ - return th_version_string(); -} - -ogg_uint32_t theora_version_number(void){ - return th_version_number(); -} - -void theora_info_init(theora_info *_ci){ - memset(_ci,0,sizeof(*_ci)); -} - -void theora_info_clear(theora_info *_ci){ - th_api_wrapper *api; - api=(th_api_wrapper *)_ci->codec_setup; - memset(_ci,0,sizeof(*_ci)); - if(api!=NULL){ - if(api->clear!=NULL)(*api->clear)(api); - _ogg_free(api); - } -} - -void theora_clear(theora_state *_th){ - /*Provide compatibility with mixed encoder and decoder shared lib versions.*/ - if(_th->internal_decode!=NULL){ - (*((oc_state_dispatch_vtable *)_th->internal_decode)->clear)(_th); - } - if(_th->internal_encode!=NULL){ - (*((oc_state_dispatch_vtable *)_th->internal_encode)->clear)(_th); - } - if(_th->i!=NULL)theora_info_clear(_th->i); - memset(_th,0,sizeof(*_th)); -} - -int theora_control(theora_state *_th,int _req,void *_buf,size_t _buf_sz){ - /*Provide compatibility with mixed encoder and decoder shared lib versions.*/ - if(_th->internal_decode!=NULL){ - return (*((oc_state_dispatch_vtable *)_th->internal_decode)->control)(_th, - _req,_buf,_buf_sz); - } - else if(_th->internal_encode!=NULL){ - return (*((oc_state_dispatch_vtable *)_th->internal_encode)->control)(_th, - _req,_buf,_buf_sz); - } - else return TH_EINVAL; -} - -ogg_int64_t theora_granule_frame(theora_state *_th,ogg_int64_t _gp){ - /*Provide compatibility with mixed encoder and decoder shared lib versions.*/ - if(_th->internal_decode!=NULL){ - return (*((oc_state_dispatch_vtable *)_th->internal_decode)->granule_frame)( - _th,_gp); - } - else if(_th->internal_encode!=NULL){ - return (*((oc_state_dispatch_vtable *)_th->internal_encode)->granule_frame)( - _th,_gp); - } - else return -1; -} - -double theora_granule_time(theora_state *_th, ogg_int64_t _gp){ - /*Provide compatibility with mixed encoder and decoder shared lib versions.*/ - if(_th->internal_decode!=NULL){ - return (*((oc_state_dispatch_vtable *)_th->internal_decode)->granule_time)( - _th,_gp); - } - else if(_th->internal_encode!=NULL){ - return (*((oc_state_dispatch_vtable *)_th->internal_encode)->granule_time)( - _th,_gp); - } - else return -1; -} - -void oc_theora_info2th_info(th_info *_info,const theora_info *_ci){ - _info->version_major=_ci->version_major; - _info->version_minor=_ci->version_minor; - _info->version_subminor=_ci->version_subminor; - _info->frame_width=_ci->width; - _info->frame_height=_ci->height; - _info->pic_width=_ci->frame_width; - _info->pic_height=_ci->frame_height; - _info->pic_x=_ci->offset_x; - _info->pic_y=_ci->offset_y; - _info->fps_numerator=_ci->fps_numerator; - _info->fps_denominator=_ci->fps_denominator; - _info->aspect_numerator=_ci->aspect_numerator; - _info->aspect_denominator=_ci->aspect_denominator; - switch(_ci->colorspace){ - case OC_CS_ITU_REC_470M:_info->colorspace=TH_CS_ITU_REC_470M;break; - case OC_CS_ITU_REC_470BG:_info->colorspace=TH_CS_ITU_REC_470BG;break; - default:_info->colorspace=TH_CS_UNSPECIFIED;break; - } - switch(_ci->pixelformat){ - case OC_PF_420:_info->pixel_fmt=TH_PF_420;break; - case OC_PF_422:_info->pixel_fmt=TH_PF_422;break; - case OC_PF_444:_info->pixel_fmt=TH_PF_444;break; - default:_info->pixel_fmt=TH_PF_RSVD; - } - _info->target_bitrate=_ci->target_bitrate; - _info->quality=_ci->quality; - _info->keyframe_granule_shift=_ci->keyframe_frequency_force>0? - OC_MINI(31,oc_ilog(_ci->keyframe_frequency_force-1)):0; -} - -int theora_packet_isheader(ogg_packet *_op){ - return th_packet_isheader(_op); -} - -int theora_packet_iskeyframe(ogg_packet *_op){ - return th_packet_iskeyframe(_op); -} - -int theora_granule_shift(theora_info *_ci){ - /*This breaks when keyframe_frequency_force is not positive or is larger than - 2**31 (if your int is more than 32 bits), but that's what the original - function does.*/ - return oc_ilog(_ci->keyframe_frequency_force-1); -} - -void theora_comment_init(theora_comment *_tc){ - th_comment_init((th_comment *)_tc); -} - -char *theora_comment_query(theora_comment *_tc,char *_tag,int _count){ - return th_comment_query((th_comment *)_tc,_tag,_count); -} - -int theora_comment_query_count(theora_comment *_tc,char *_tag){ - return th_comment_query_count((th_comment *)_tc,_tag); -} - -void theora_comment_clear(theora_comment *_tc){ - th_comment_clear((th_comment *)_tc); -} - -void theora_comment_add(theora_comment *_tc,char *_comment){ - th_comment_add((th_comment *)_tc,_comment); -} - -void theora_comment_add_tag(theora_comment *_tc, char *_tag, char *_value){ - th_comment_add_tag((th_comment *)_tc,_tag,_value); -} diff --git a/Libraries/libtheora-1.1.1/lib/apiwrapper.h b/Libraries/libtheora-1.1.1/lib/apiwrapper.h deleted file mode 100644 index 93454d7b..00000000 --- a/Libraries/libtheora-1.1.1/lib/apiwrapper.h +++ /dev/null @@ -1,54 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: apiwrapper.h 13596 2007-08-23 20:05:38Z tterribe $ - - ********************************************************************/ - -#if !defined(_apiwrapper_H) -# define _apiwrapper_H (1) -# include -# include -# include "theora/theoradec.h" -# include "theora/theoraenc.h" -# include "internal.h" - -typedef struct th_api_wrapper th_api_wrapper; -typedef struct th_api_info th_api_info; - -/*Provide an entry point for the codec setup to clear itself in case we ever - want to break pieces off into a common base library shared by encoder and - decoder. - In addition, this makes several other pieces of the API wrapper cleaner.*/ -typedef void (*oc_setup_clear_func)(void *_ts); - -/*Generally only one of these pointers will be non-NULL in any given instance. - Technically we do not even really need this struct, since we should be able - to figure out which one from "context", but doing it this way makes sure we - don't flub it up.*/ -struct th_api_wrapper{ - oc_setup_clear_func clear; - th_setup_info *setup; - th_dec_ctx *decode; - th_enc_ctx *encode; -}; - -struct th_api_info{ - th_api_wrapper api; - theora_info info; -}; - - -void oc_theora_info2th_info(th_info *_info,const theora_info *_ci); - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/bitpack.c b/Libraries/libtheora-1.1.1/lib/bitpack.c deleted file mode 100644 index 8195003b..00000000 --- a/Libraries/libtheora-1.1.1/lib/bitpack.c +++ /dev/null @@ -1,111 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE OggTheora SOURCE CODE IS (C) COPYRIGHT 1994-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: packing variable sized words into an octet stream - last mod: $Id: bitpack.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ -#include -#include -#include "bitpack.h" - -/*We're 'MSb' endian; if we write a word but read individual bits, - then we'll read the MSb first.*/ - -void oc_pack_readinit(oc_pack_buf *_b,unsigned char *_buf,long _bytes){ - memset(_b,0,sizeof(*_b)); - _b->ptr=_buf; - _b->stop=_buf+_bytes; -} - -static oc_pb_window oc_pack_refill(oc_pack_buf *_b,int _bits){ - const unsigned char *ptr; - const unsigned char *stop; - oc_pb_window window; - int available; - window=_b->window; - available=_b->bits; - ptr=_b->ptr; - stop=_b->stop; - while(available<=OC_PB_WINDOW_SIZE-8&&ptrptr=ptr; - if(_bits>available){ - if(ptr>=stop){ - _b->eof=1; - available=OC_LOTS_OF_BITS; - } - else window|=*ptr>>(available&7); - } - _b->bits=available; - return window; -} - -int oc_pack_look1(oc_pack_buf *_b){ - oc_pb_window window; - int available; - window=_b->window; - available=_b->bits; - if(available<1)_b->window=window=oc_pack_refill(_b,1); - return window>>OC_PB_WINDOW_SIZE-1; -} - -void oc_pack_adv1(oc_pack_buf *_b){ - _b->window<<=1; - _b->bits--; -} - -/*Here we assume that 0<=_bits&&_bits<=32.*/ -long oc_pack_read(oc_pack_buf *_b,int _bits){ - oc_pb_window window; - int available; - long result; - window=_b->window; - available=_b->bits; - if(_bits==0)return 0; - if(available<_bits){ - window=oc_pack_refill(_b,_bits); - available=_b->bits; - } - result=window>>OC_PB_WINDOW_SIZE-_bits; - available-=_bits; - window<<=1; - window<<=_bits-1; - _b->bits=available; - _b->window=window; - return result; -} - -int oc_pack_read1(oc_pack_buf *_b){ - oc_pb_window window; - int available; - int result; - window=_b->window; - available=_b->bits; - if(available<1){ - window=oc_pack_refill(_b,1); - available=_b->bits; - } - result=window>>OC_PB_WINDOW_SIZE-1; - available--; - window<<=1; - _b->bits=available; - _b->window=window; - return result; -} - -long oc_pack_bytes_left(oc_pack_buf *_b){ - if(_b->eof)return -1; - return _b->stop-_b->ptr+(_b->bits>>3); -} diff --git a/Libraries/libtheora-1.1.1/lib/bitpack.h b/Libraries/libtheora-1.1.1/lib/bitpack.h deleted file mode 100644 index a020a292..00000000 --- a/Libraries/libtheora-1.1.1/lib/bitpack.h +++ /dev/null @@ -1,59 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE OggTheora SOURCE CODE IS (C) COPYRIGHT 1994-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: packing variable sized words into an octet stream - last mod: $Id: bitwise.c 7675 2004-09-01 00:34:39Z xiphmont $ - - ********************************************************************/ -#if !defined(_bitpack_H) -# define _bitpack_H (1) -# include - - - -typedef unsigned long oc_pb_window; -typedef struct oc_pack_buf oc_pack_buf; - - - -# define OC_PB_WINDOW_SIZE ((int)sizeof(oc_pb_window)*CHAR_BIT) -/*This is meant to be a large, positive constant that can still be efficiently - loaded as an immediate (on platforms like ARM, for example). - Even relatively modest values like 100 would work fine.*/ -# define OC_LOTS_OF_BITS (0x40000000) - - - -struct oc_pack_buf{ - oc_pb_window window; - const unsigned char *ptr; - const unsigned char *stop; - int bits; - int eof; -}; - -void oc_pack_readinit(oc_pack_buf *_b,unsigned char *_buf,long _bytes); -int oc_pack_look1(oc_pack_buf *_b); -void oc_pack_adv1(oc_pack_buf *_b); -/*Here we assume 0<=_bits&&_bits<=32.*/ -long oc_pack_read(oc_pack_buf *_b,int _bits); -int oc_pack_read1(oc_pack_buf *_b); -/* returns -1 for read beyond EOF, or the number of whole bytes available */ -long oc_pack_bytes_left(oc_pack_buf *_b); - -/*These two functions are implemented locally in huffdec.c*/ -/*Read in bits without advancing the bitptr. - Here we assume 0<=_bits&&_bits<=32.*/ -/*static int oc_pack_look(oc_pack_buf *_b,int _bits);*/ -/*static void oc_pack_adv(oc_pack_buf *_b,int _bits);*/ - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/cpu.c b/Libraries/libtheora-1.1.1/lib/cpu.c deleted file mode 100644 index a863aad7..00000000 --- a/Libraries/libtheora-1.1.1/lib/cpu.c +++ /dev/null @@ -1,226 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - CPU capability detection for x86 processors. - Originally written by Rudolf Marek. - - function: - last mod: $Id: cpu.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#include "cpu.h" - -#if !defined(OC_X86_ASM) -static ogg_uint32_t oc_cpu_flags_get(void){ - return 0; -} -#else -# if !defined(_MSC_VER) -# if defined(__amd64__)||defined(__x86_64__) -/*On x86-64, gcc seems to be able to figure out how to save %rbx for us when - compiling with -fPIC.*/ -# define cpuid(_op,_eax,_ebx,_ecx,_edx) \ - __asm__ __volatile__( \ - "cpuid\n\t" \ - :[eax]"=a"(_eax),[ebx]"=b"(_ebx),[ecx]"=c"(_ecx),[edx]"=d"(_edx) \ - :"a"(_op) \ - :"cc" \ - ) -# else -/*On x86-32, not so much.*/ -# define cpuid(_op,_eax,_ebx,_ecx,_edx) \ - __asm__ __volatile__( \ - "xchgl %%ebx,%[ebx]\n\t" \ - "cpuid\n\t" \ - "xchgl %%ebx,%[ebx]\n\t" \ - :[eax]"=a"(_eax),[ebx]"=r"(_ebx),[ecx]"=c"(_ecx),[edx]"=d"(_edx) \ - :"a"(_op) \ - :"cc" \ - ) -# endif -# else -/*Why does MSVC need this complicated rigamarole? - At this point I honestly do not care.*/ - -/*Visual C cpuid helper function. - For VS2005 we could as well use the _cpuid builtin, but that wouldn't work - for VS2003 users, so we do it in inline assembler.*/ -static void oc_cpuid_helper(ogg_uint32_t _cpu_info[4],ogg_uint32_t _op){ - _asm{ - mov eax,[_op] - mov esi,_cpu_info - cpuid - mov [esi+0],eax - mov [esi+4],ebx - mov [esi+8],ecx - mov [esi+12],edx - } -} - -# define cpuid(_op,_eax,_ebx,_ecx,_edx) \ - do{ \ - ogg_uint32_t cpu_info[4]; \ - oc_cpuid_helper(cpu_info,_op); \ - (_eax)=cpu_info[0]; \ - (_ebx)=cpu_info[1]; \ - (_ecx)=cpu_info[2]; \ - (_edx)=cpu_info[3]; \ - }while(0) - -static void oc_detect_cpuid_helper(ogg_uint32_t *_eax,ogg_uint32_t *_ebx){ - _asm{ - pushfd - pushfd - pop eax - mov ebx,eax - xor eax,200000h - push eax - popfd - pushfd - pop eax - popfd - mov ecx,_eax - mov [ecx],eax - mov ecx,_ebx - mov [ecx],ebx - } -} -# endif - -static ogg_uint32_t oc_parse_intel_flags(ogg_uint32_t _edx,ogg_uint32_t _ecx){ - ogg_uint32_t flags; - /*If there isn't even MMX, give up.*/ - if(!(_edx&0x00800000))return 0; - flags=OC_CPU_X86_MMX; - if(_edx&0x02000000)flags|=OC_CPU_X86_MMXEXT|OC_CPU_X86_SSE; - if(_edx&0x04000000)flags|=OC_CPU_X86_SSE2; - if(_ecx&0x00000001)flags|=OC_CPU_X86_PNI; - if(_ecx&0x00000100)flags|=OC_CPU_X86_SSSE3; - if(_ecx&0x00080000)flags|=OC_CPU_X86_SSE4_1; - if(_ecx&0x00100000)flags|=OC_CPU_X86_SSE4_2; - return flags; -} - -static ogg_uint32_t oc_parse_amd_flags(ogg_uint32_t _edx,ogg_uint32_t _ecx){ - ogg_uint32_t flags; - /*If there isn't even MMX, give up.*/ - if(!(_edx&0x00800000))return 0; - flags=OC_CPU_X86_MMX; - if(_edx&0x00400000)flags|=OC_CPU_X86_MMXEXT; - if(_edx&0x80000000)flags|=OC_CPU_X86_3DNOW; - if(_edx&0x40000000)flags|=OC_CPU_X86_3DNOWEXT; - if(_ecx&0x00000040)flags|=OC_CPU_X86_SSE4A; - if(_ecx&0x00000800)flags|=OC_CPU_X86_SSE5; - return flags; -} - -static ogg_uint32_t oc_cpu_flags_get(void){ - ogg_uint32_t flags; - ogg_uint32_t eax; - ogg_uint32_t ebx; - ogg_uint32_t ecx; - ogg_uint32_t edx; -# if !defined(__amd64__)&&!defined(__x86_64__) - /*Not all x86-32 chips support cpuid, so we have to check.*/ -# if !defined(_MSC_VER) - __asm__ __volatile__( - "pushfl\n\t" - "pushfl\n\t" - "popl %[a]\n\t" - "movl %[a],%[b]\n\t" - "xorl $0x200000,%[a]\n\t" - "pushl %[a]\n\t" - "popfl\n\t" - "pushfl\n\t" - "popl %[a]\n\t" - "popfl\n\t" - :[a]"=r"(eax),[b]"=r"(ebx) - : - :"cc" - ); -# else - oc_detect_cpuid_helper(&eax,&ebx); -# endif - /*No cpuid.*/ - if(eax==ebx)return 0; -# endif - cpuid(0,eax,ebx,ecx,edx); - /* l e t n I e n i u n e G*/ - if(ecx==0x6C65746E&&edx==0x49656E69&&ebx==0x756E6547|| - /* 6 8 x M T e n i u n e G*/ - ecx==0x3638784D&&edx==0x54656E69&&ebx==0x756E6547){ - /*Intel, Transmeta (tested with Crusoe TM5800):*/ - cpuid(1,eax,ebx,ecx,edx); - flags=oc_parse_intel_flags(edx,ecx); - } - /* D M A c i t n e h t u A*/ - else if(ecx==0x444D4163&&edx==0x69746E65&&ebx==0x68747541|| - /* C S N y b e d o e G*/ - ecx==0x43534e20&&edx==0x79622065&&ebx==0x646f6547){ - /*AMD, Geode:*/ - cpuid(0x80000000,eax,ebx,ecx,edx); - if(eax<0x80000001)flags=0; - else{ - cpuid(0x80000001,eax,ebx,ecx,edx); - flags=oc_parse_amd_flags(edx,ecx); - } - /*Also check for SSE.*/ - cpuid(1,eax,ebx,ecx,edx); - flags|=oc_parse_intel_flags(edx,ecx); - } - /*Technically some VIA chips can be configured in the BIOS to return any - string here the user wants. - There is a special detection method that can be used to identify such - processors, but in my opinion, if the user really wants to change it, they - deserve what they get.*/ - /* s l u a H r u a t n e C*/ - else if(ecx==0x736C7561&&edx==0x48727561&&ebx==0x746E6543){ - /*VIA:*/ - /*I only have documentation for the C7 (Esther) and Isaiah (forthcoming) - chips (thanks to the engineers from Centaur Technology who provided it). - These chips support Intel-like cpuid info. - The C3-2 (Nehemiah) cores appear to, as well.*/ - cpuid(1,eax,ebx,ecx,edx); - flags=oc_parse_intel_flags(edx,ecx); - if(eax>=0x80000001){ - /*The (non-Nehemiah) C3 processors support AMD-like cpuid info. - We need to check this even if the Intel test succeeds to pick up 3DNow! - support on these processors. - Unlike actual AMD processors, we cannot _rely_ on this info, since - some cores (e.g., the 693 stepping of the Nehemiah) claim to support - this function, yet return edx=0, despite the Intel test indicating - MMX support. - Therefore the features detected here are strictly added to those - detected by the Intel test.*/ - /*TODO: How about earlier chips?*/ - cpuid(0x80000001,eax,ebx,ecx,edx); - /*Note: As of the C7, this function returns Intel-style extended feature - flags, not AMD-style. - Currently, this only defines bits 11, 20, and 29 (0x20100800), which - do not conflict with any of the AMD flags we inspect. - For the remaining bits, Intel tells us, "Do not count on their value", - but VIA assures us that they will all be zero (at least on the C7 and - Isaiah chips). - In the (unlikely) event a future processor uses bits 18, 19, 30, or 31 - (0xC0C00000) for something else, we will have to add code to detect - the model to decide when it is appropriate to inspect them.*/ - flags|=oc_parse_amd_flags(edx,ecx); - } - } - else{ - /*Implement me.*/ - flags=0; - } - return flags; -} -#endif diff --git a/Libraries/libtheora-1.1.1/lib/cpu.h b/Libraries/libtheora-1.1.1/lib/cpu.h deleted file mode 100644 index a43c957a..00000000 --- a/Libraries/libtheora-1.1.1/lib/cpu.h +++ /dev/null @@ -1,34 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - function: - last mod: $Id: cpu.h 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#if !defined(_x86_cpu_H) -# define _x86_cpu_H (1) -#include "internal.h" - -#define OC_CPU_X86_MMX (1<<0) -#define OC_CPU_X86_3DNOW (1<<1) -#define OC_CPU_X86_3DNOWEXT (1<<2) -#define OC_CPU_X86_MMXEXT (1<<3) -#define OC_CPU_X86_SSE (1<<4) -#define OC_CPU_X86_SSE2 (1<<5) -#define OC_CPU_X86_PNI (1<<6) -#define OC_CPU_X86_SSSE3 (1<<7) -#define OC_CPU_X86_SSE4_1 (1<<8) -#define OC_CPU_X86_SSE4_2 (1<<9) -#define OC_CPU_X86_SSE4A (1<<10) -#define OC_CPU_X86_SSE5 (1<<11) - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/dct.h b/Libraries/libtheora-1.1.1/lib/dct.h deleted file mode 100644 index 24ba6f11..00000000 --- a/Libraries/libtheora-1.1.1/lib/dct.h +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: dct.h 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -/*Definitions shared by the forward and inverse DCT transforms.*/ -#if !defined(_dct_H) -# define _dct_H (1) - -/*cos(n*pi/16) (resp. sin(m*pi/16)) scaled by 65536.*/ -#define OC_C1S7 ((ogg_int32_t)64277) -#define OC_C2S6 ((ogg_int32_t)60547) -#define OC_C3S5 ((ogg_int32_t)54491) -#define OC_C4S4 ((ogg_int32_t)46341) -#define OC_C5S3 ((ogg_int32_t)36410) -#define OC_C6S2 ((ogg_int32_t)25080) -#define OC_C7S1 ((ogg_int32_t)12785) - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/decapiwrapper.c b/Libraries/libtheora-1.1.1/lib/decapiwrapper.c deleted file mode 100644 index 12ea475d..00000000 --- a/Libraries/libtheora-1.1.1/lib/decapiwrapper.c +++ /dev/null @@ -1,193 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: decapiwrapper.c 13596 2007-08-23 20:05:38Z tterribe $ - - ********************************************************************/ - -#include -#include -#include -#include "apiwrapper.h" -#include "decint.h" -#include "theora/theoradec.h" - -static void th_dec_api_clear(th_api_wrapper *_api){ - if(_api->setup)th_setup_free(_api->setup); - if(_api->decode)th_decode_free(_api->decode); - memset(_api,0,sizeof(*_api)); -} - -static void theora_decode_clear(theora_state *_td){ - if(_td->i!=NULL)theora_info_clear(_td->i); - memset(_td,0,sizeof(*_td)); -} - -static int theora_decode_control(theora_state *_td,int _req, - void *_buf,size_t _buf_sz){ - return th_decode_ctl(((th_api_wrapper *)_td->i->codec_setup)->decode, - _req,_buf,_buf_sz); -} - -static ogg_int64_t theora_decode_granule_frame(theora_state *_td, - ogg_int64_t _gp){ - return th_granule_frame(((th_api_wrapper *)_td->i->codec_setup)->decode,_gp); -} - -static double theora_decode_granule_time(theora_state *_td,ogg_int64_t _gp){ - return th_granule_time(((th_api_wrapper *)_td->i->codec_setup)->decode,_gp); -} - -static const oc_state_dispatch_vtable OC_DEC_DISPATCH_VTBL={ - (oc_state_clear_func)theora_decode_clear, - (oc_state_control_func)theora_decode_control, - (oc_state_granule_frame_func)theora_decode_granule_frame, - (oc_state_granule_time_func)theora_decode_granule_time, -}; - -static void th_info2theora_info(theora_info *_ci,const th_info *_info){ - _ci->version_major=_info->version_major; - _ci->version_minor=_info->version_minor; - _ci->version_subminor=_info->version_subminor; - _ci->width=_info->frame_width; - _ci->height=_info->frame_height; - _ci->frame_width=_info->pic_width; - _ci->frame_height=_info->pic_height; - _ci->offset_x=_info->pic_x; - _ci->offset_y=_info->pic_y; - _ci->fps_numerator=_info->fps_numerator; - _ci->fps_denominator=_info->fps_denominator; - _ci->aspect_numerator=_info->aspect_numerator; - _ci->aspect_denominator=_info->aspect_denominator; - switch(_info->colorspace){ - case TH_CS_ITU_REC_470M:_ci->colorspace=OC_CS_ITU_REC_470M;break; - case TH_CS_ITU_REC_470BG:_ci->colorspace=OC_CS_ITU_REC_470BG;break; - default:_ci->colorspace=OC_CS_UNSPECIFIED;break; - } - switch(_info->pixel_fmt){ - case TH_PF_420:_ci->pixelformat=OC_PF_420;break; - case TH_PF_422:_ci->pixelformat=OC_PF_422;break; - case TH_PF_444:_ci->pixelformat=OC_PF_444;break; - default:_ci->pixelformat=OC_PF_RSVD; - } - _ci->target_bitrate=_info->target_bitrate; - _ci->quality=_info->quality; - _ci->keyframe_frequency_force=1<<_info->keyframe_granule_shift; -} - -int theora_decode_init(theora_state *_td,theora_info *_ci){ - th_api_info *apiinfo; - th_api_wrapper *api; - th_info info; - api=(th_api_wrapper *)_ci->codec_setup; - /*Allocate our own combined API wrapper/theora_info struct. - We put them both in one malloc'd block so that when the API wrapper is - freed, the info struct goes with it. - This avoids having to figure out whether or not we need to free the info - struct in either theora_info_clear() or theora_clear().*/ - apiinfo=(th_api_info *)_ogg_calloc(1,sizeof(*apiinfo)); - if(apiinfo==NULL)return OC_FAULT; - /*Make our own copy of the info struct, since its lifetime should be - independent of the one we were passed in.*/ - *&apiinfo->info=*_ci; - /*Convert the info struct now instead of saving the the one we decoded with - theora_decode_header(), since the user might have modified values (i.e., - color space, aspect ratio, etc. can be specified from a higher level). - The user also might be doing something "clever" with the header packets if - they are not using an Ogg encapsulation.*/ - oc_theora_info2th_info(&info,_ci); - /*Don't bother to copy the setup info; th_decode_alloc() makes its own copy - of the stuff it needs.*/ - apiinfo->api.decode=th_decode_alloc(&info,api->setup); - if(apiinfo->api.decode==NULL){ - _ogg_free(apiinfo); - return OC_EINVAL; - } - apiinfo->api.clear=(oc_setup_clear_func)th_dec_api_clear; - _td->internal_encode=NULL; - /*Provide entry points for ABI compatibility with old decoder shared libs.*/ - _td->internal_decode=(void *)&OC_DEC_DISPATCH_VTBL; - _td->granulepos=0; - _td->i=&apiinfo->info; - _td->i->codec_setup=&apiinfo->api; - return 0; -} - -int theora_decode_header(theora_info *_ci,theora_comment *_cc,ogg_packet *_op){ - th_api_wrapper *api; - th_info info; - int ret; - api=(th_api_wrapper *)_ci->codec_setup; - /*Allocate an API wrapper struct on demand, since it will not also include a - theora_info struct like the ones that are used in a theora_state struct.*/ - if(api==NULL){ - _ci->codec_setup=_ogg_calloc(1,sizeof(*api)); - if(_ci->codec_setup==NULL)return OC_FAULT; - api=(th_api_wrapper *)_ci->codec_setup; - api->clear=(oc_setup_clear_func)th_dec_api_clear; - } - /*Convert from the theora_info struct instead of saving our own th_info - struct between calls. - The user might be doing something "clever" with the header packets if they - are not using an Ogg encapsulation, and we don't want to break this.*/ - oc_theora_info2th_info(&info,_ci); - /*We rely on the fact that theora_comment and th_comment structures are - actually identical. - Take care not to change this fact unless you change the code here as - well!*/ - ret=th_decode_headerin(&info,(th_comment *)_cc,&api->setup,_op); - /*We also rely on the fact that the error return code values are the same, - and that the implementations of these two functions return the same set of - them. - Note that theora_decode_header() really can return OC_NOTFORMAT, even - though it is not currently documented to do so.*/ - if(ret<0)return ret; - th_info2theora_info(_ci,&info); - return 0; -} - -int theora_decode_packetin(theora_state *_td,ogg_packet *_op){ - th_api_wrapper *api; - ogg_int64_t gp; - int ret; - if(!_td||!_td->i||!_td->i->codec_setup)return OC_FAULT; - api=(th_api_wrapper *)_td->i->codec_setup; - ret=th_decode_packetin(api->decode,_op,&gp); - if(ret<0)return OC_BADPACKET; - _td->granulepos=gp; - return 0; -} - -int theora_decode_YUVout(theora_state *_td,yuv_buffer *_yuv){ - th_api_wrapper *api; - th_dec_ctx *decode; - th_ycbcr_buffer buf; - int ret; - if(!_td||!_td->i||!_td->i->codec_setup)return OC_FAULT; - api=(th_api_wrapper *)_td->i->codec_setup; - decode=(th_dec_ctx *)api->decode; - if(!decode)return OC_FAULT; - ret=th_decode_ycbcr_out(decode,buf); - if(ret>=0){ - _yuv->y_width=buf[0].width; - _yuv->y_height=buf[0].height; - _yuv->y_stride=buf[0].stride; - _yuv->uv_width=buf[1].width; - _yuv->uv_height=buf[1].height; - _yuv->uv_stride=buf[1].stride; - _yuv->y=buf[0].data; - _yuv->u=buf[1].data; - _yuv->v=buf[2].data; - } - return ret; -} diff --git a/Libraries/libtheora-1.1.1/lib/decinfo.c b/Libraries/libtheora-1.1.1/lib/decinfo.c deleted file mode 100644 index 845eb136..00000000 --- a/Libraries/libtheora-1.1.1/lib/decinfo.c +++ /dev/null @@ -1,246 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: decinfo.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#include -#include -#include -#include "decint.h" - - - -/*Unpacks a series of octets from a given byte array into the pack buffer. - No checking is done to ensure the buffer contains enough data. - _opb: The pack buffer to read the octets from. - _buf: The byte array to store the unpacked bytes in. - _len: The number of octets to unpack.*/ -static void oc_unpack_octets(oc_pack_buf *_opb,char *_buf,size_t _len){ - while(_len-->0){ - long val; - val=oc_pack_read(_opb,8); - *_buf++=(char)val; - } -} - -/*Unpacks a 32-bit integer encoded by octets in little-endian form.*/ -static long oc_unpack_length(oc_pack_buf *_opb){ - long ret[4]; - int i; - for(i=0;i<4;i++)ret[i]=oc_pack_read(_opb,8); - return ret[0]|ret[1]<<8|ret[2]<<16|ret[3]<<24; -} - -static int oc_info_unpack(oc_pack_buf *_opb,th_info *_info){ - long val; - /*Check the codec bitstream version.*/ - val=oc_pack_read(_opb,8); - _info->version_major=(unsigned char)val; - val=oc_pack_read(_opb,8); - _info->version_minor=(unsigned char)val; - val=oc_pack_read(_opb,8); - _info->version_subminor=(unsigned char)val; - /*verify we can parse this bitstream version. - We accept earlier minors and all subminors, by spec*/ - if(_info->version_major>TH_VERSION_MAJOR|| - _info->version_major==TH_VERSION_MAJOR&& - _info->version_minor>TH_VERSION_MINOR){ - return TH_EVERSION; - } - /*Read the encoded frame description.*/ - val=oc_pack_read(_opb,16); - _info->frame_width=(ogg_uint32_t)val<<4; - val=oc_pack_read(_opb,16); - _info->frame_height=(ogg_uint32_t)val<<4; - val=oc_pack_read(_opb,24); - _info->pic_width=(ogg_uint32_t)val; - val=oc_pack_read(_opb,24); - _info->pic_height=(ogg_uint32_t)val; - val=oc_pack_read(_opb,8); - _info->pic_x=(ogg_uint32_t)val; - val=oc_pack_read(_opb,8); - _info->pic_y=(ogg_uint32_t)val; - val=oc_pack_read(_opb,32); - _info->fps_numerator=(ogg_uint32_t)val; - val=oc_pack_read(_opb,32); - _info->fps_denominator=(ogg_uint32_t)val; - if(_info->frame_width==0||_info->frame_height==0|| - _info->pic_width+_info->pic_x>_info->frame_width|| - _info->pic_height+_info->pic_y>_info->frame_height|| - _info->fps_numerator==0||_info->fps_denominator==0){ - return TH_EBADHEADER; - } - /*Note: The sense of pic_y is inverted in what we pass back to the - application compared to how it is stored in the bitstream. - This is because the bitstream uses a right-handed coordinate system, while - applications expect a left-handed one.*/ - _info->pic_y=_info->frame_height-_info->pic_height-_info->pic_y; - val=oc_pack_read(_opb,24); - _info->aspect_numerator=(ogg_uint32_t)val; - val=oc_pack_read(_opb,24); - _info->aspect_denominator=(ogg_uint32_t)val; - val=oc_pack_read(_opb,8); - _info->colorspace=(th_colorspace)val; - val=oc_pack_read(_opb,24); - _info->target_bitrate=(int)val; - val=oc_pack_read(_opb,6); - _info->quality=(int)val; - val=oc_pack_read(_opb,5); - _info->keyframe_granule_shift=(int)val; - val=oc_pack_read(_opb,2); - _info->pixel_fmt=(th_pixel_fmt)val; - if(_info->pixel_fmt==TH_PF_RSVD)return TH_EBADHEADER; - val=oc_pack_read(_opb,3); - if(val!=0||oc_pack_bytes_left(_opb)<0)return TH_EBADHEADER; - return 0; -} - -static int oc_comment_unpack(oc_pack_buf *_opb,th_comment *_tc){ - long len; - int i; - /*Read the vendor string.*/ - len=oc_unpack_length(_opb); - if(len<0||len>oc_pack_bytes_left(_opb))return TH_EBADHEADER; - _tc->vendor=_ogg_malloc((size_t)len+1); - if(_tc->vendor==NULL)return TH_EFAULT; - oc_unpack_octets(_opb,_tc->vendor,len); - _tc->vendor[len]='\0'; - /*Read the user comments.*/ - _tc->comments=(int)oc_unpack_length(_opb); - len=_tc->comments; - if(len<0||len>(LONG_MAX>>2)||len<<2>oc_pack_bytes_left(_opb)){ - _tc->comments=0; - return TH_EBADHEADER; - } - _tc->comment_lengths=(int *)_ogg_malloc( - _tc->comments*sizeof(_tc->comment_lengths[0])); - _tc->user_comments=(char **)_ogg_malloc( - _tc->comments*sizeof(_tc->user_comments[0])); - for(i=0;i<_tc->comments;i++){ - len=oc_unpack_length(_opb); - if(len<0||len>oc_pack_bytes_left(_opb)){ - _tc->comments=i; - return TH_EBADHEADER; - } - _tc->comment_lengths[i]=len; - _tc->user_comments[i]=_ogg_malloc((size_t)len+1); - if(_tc->user_comments[i]==NULL){ - _tc->comments=i; - return TH_EFAULT; - } - oc_unpack_octets(_opb,_tc->user_comments[i],len); - _tc->user_comments[i][len]='\0'; - } - return oc_pack_bytes_left(_opb)<0?TH_EBADHEADER:0; -} - -static int oc_setup_unpack(oc_pack_buf *_opb,th_setup_info *_setup){ - int ret; - /*Read the quantizer tables.*/ - ret=oc_quant_params_unpack(_opb,&_setup->qinfo); - if(ret<0)return ret; - /*Read the Huffman trees.*/ - return oc_huff_trees_unpack(_opb,_setup->huff_tables); -} - -static void oc_setup_clear(th_setup_info *_setup){ - oc_quant_params_clear(&_setup->qinfo); - oc_huff_trees_clear(_setup->huff_tables); -} - -static int oc_dec_headerin(oc_pack_buf *_opb,th_info *_info, - th_comment *_tc,th_setup_info **_setup,ogg_packet *_op){ - char buffer[6]; - long val; - int packtype; - int ret; - val=oc_pack_read(_opb,8); - packtype=(int)val; - /*If we're at a data packet and we have received all three headers, we're - done.*/ - if(!(packtype&0x80)&&_info->frame_width>0&&_tc->vendor!=NULL&&*_setup!=NULL){ - return 0; - } - /*Check the codec string.*/ - oc_unpack_octets(_opb,buffer,6); - if(memcmp(buffer,"theora",6)!=0)return TH_ENOTFORMAT; - switch(packtype){ - /*Codec info header.*/ - case 0x80:{ - /*This should be the first packet, and we should not already be - initialized.*/ - if(!_op->b_o_s||_info->frame_width>0)return TH_EBADHEADER; - ret=oc_info_unpack(_opb,_info); - if(ret<0)th_info_clear(_info); - else ret=3; - }break; - /*Comment header.*/ - case 0x81:{ - if(_tc==NULL)return TH_EFAULT; - /*We shoud have already decoded the info header, and should not yet have - decoded the comment header.*/ - if(_info->frame_width==0||_tc->vendor!=NULL)return TH_EBADHEADER; - ret=oc_comment_unpack(_opb,_tc); - if(ret<0)th_comment_clear(_tc); - else ret=2; - }break; - /*Codec setup header.*/ - case 0x82:{ - oc_setup_info *setup; - if(_tc==NULL||_setup==NULL)return TH_EFAULT; - /*We should have already decoded the info header and the comment header, - and should not yet have decoded the setup header.*/ - if(_info->frame_width==0||_tc->vendor==NULL||*_setup!=NULL){ - return TH_EBADHEADER; - } - setup=(oc_setup_info *)_ogg_calloc(1,sizeof(*setup)); - if(setup==NULL)return TH_EFAULT; - ret=oc_setup_unpack(_opb,setup); - if(ret<0){ - oc_setup_clear(setup); - _ogg_free(setup); - } - else{ - *_setup=setup; - ret=1; - } - }break; - default:{ - /*We don't know what this header is.*/ - return TH_EBADHEADER; - }break; - } - return ret; -} - - -/*Decodes one header packet. - This should be called repeatedly with the packets at the beginning of the - stream until it returns 0.*/ -int th_decode_headerin(th_info *_info,th_comment *_tc, - th_setup_info **_setup,ogg_packet *_op){ - oc_pack_buf opb; - if(_op==NULL)return TH_EBADHEADER; - if(_info==NULL)return TH_EFAULT; - oc_pack_readinit(&opb,_op->packet,_op->bytes); - return oc_dec_headerin(&opb,_info,_tc,_setup,_op); -} - -void th_setup_free(th_setup_info *_setup){ - if(_setup!=NULL){ - oc_setup_clear(_setup); - _ogg_free(_setup); - } -} diff --git a/Libraries/libtheora-1.1.1/lib/decint.h b/Libraries/libtheora-1.1.1/lib/decint.h deleted file mode 100644 index 261b6763..00000000 --- a/Libraries/libtheora-1.1.1/lib/decint.h +++ /dev/null @@ -1,107 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: decint.h 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#include -#if !defined(_decint_H) -# define _decint_H (1) -# include "theora/theoradec.h" -# include "internal.h" -# include "bitpack.h" - -typedef struct th_setup_info oc_setup_info; -typedef struct th_dec_ctx oc_dec_ctx; - -# include "huffdec.h" -# include "dequant.h" - -/*Constants for the packet-in state machine specific to the decoder.*/ - -/*Next packet to read: Data packet.*/ -#define OC_PACKET_DATA (0) - - - -struct th_setup_info{ - /*The Huffman codes.*/ - oc_huff_node *huff_tables[TH_NHUFFMAN_TABLES]; - /*The quantization parameters.*/ - th_quant_info qinfo; -}; - - - -struct th_dec_ctx{ - /*Shared encoder/decoder state.*/ - oc_theora_state state; - /*Whether or not packets are ready to be emitted. - This takes on negative values while there are remaining header packets to - be emitted, reaches 0 when the codec is ready for input, and goes to 1 - when a frame has been processed and a data packet is ready.*/ - int packet_state; - /*Buffer in which to assemble packets.*/ - oc_pack_buf opb; - /*Huffman decode trees.*/ - oc_huff_node *huff_tables[TH_NHUFFMAN_TABLES]; - /*The index of the first token in each plane for each coefficient.*/ - ptrdiff_t ti0[3][64]; - /*The number of outstanding EOB runs at the start of each coefficient in each - plane.*/ - ptrdiff_t eob_runs[3][64]; - /*The DCT token lists.*/ - unsigned char *dct_tokens; - /*The extra bits associated with DCT tokens.*/ - unsigned char *extra_bits; - /*The number of dct tokens unpacked so far.*/ - int dct_tokens_count; - /*The out-of-loop post-processing level.*/ - int pp_level; - /*The DC scale used for out-of-loop deblocking.*/ - int pp_dc_scale[64]; - /*The sharpen modifier used for out-of-loop deringing.*/ - int pp_sharp_mod[64]; - /*The DC quantization index of each block.*/ - unsigned char *dc_qis; - /*The variance of each block.*/ - int *variances; - /*The storage for the post-processed frame buffer.*/ - unsigned char *pp_frame_data; - /*Whether or not the post-processsed frame buffer has space for chroma.*/ - int pp_frame_state; - /*The buffer used for the post-processed frame. - Note that this is _not_ guaranteed to have the same strides and offsets as - the reference frame buffers.*/ - th_ycbcr_buffer pp_frame_buf; - /*The striped decode callback function.*/ - th_stripe_callback stripe_cb; -# if defined(HAVE_CAIRO) - /*Output metrics for debugging.*/ - int telemetry; - int telemetry_mbmode; - int telemetry_mv; - int telemetry_qi; - int telemetry_bits; - int telemetry_frame_bytes; - int telemetry_coding_bytes; - int telemetry_mode_bytes; - int telemetry_mv_bytes; - int telemetry_qi_bytes; - int telemetry_dc_bytes; - unsigned char *telemetry_frame_data; -# endif -}; - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/decode.c b/Libraries/libtheora-1.1.1/lib/decode.c deleted file mode 100644 index 7be66463..00000000 --- a/Libraries/libtheora-1.1.1/lib/decode.c +++ /dev/null @@ -1,2943 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: decode.c 16581 2009-09-25 22:56:16Z gmaxwell $ - - ********************************************************************/ - -#include -#include -#include -#include "decint.h" -#if defined(OC_DUMP_IMAGES) -# include -# include "png.h" -#endif -#if defined(HAVE_CAIRO) -# include -#endif - - -/*No post-processing.*/ -#define OC_PP_LEVEL_DISABLED (0) -/*Keep track of DC qi for each block only.*/ -#define OC_PP_LEVEL_TRACKDCQI (1) -/*Deblock the luma plane.*/ -#define OC_PP_LEVEL_DEBLOCKY (2) -/*Dering the luma plane.*/ -#define OC_PP_LEVEL_DERINGY (3) -/*Stronger luma plane deringing.*/ -#define OC_PP_LEVEL_SDERINGY (4) -/*Deblock the chroma planes.*/ -#define OC_PP_LEVEL_DEBLOCKC (5) -/*Dering the chroma planes.*/ -#define OC_PP_LEVEL_DERINGC (6) -/*Stronger chroma plane deringing.*/ -#define OC_PP_LEVEL_SDERINGC (7) -/*Maximum valid post-processing level.*/ -#define OC_PP_LEVEL_MAX (7) - - - -/*The mode alphabets for the various mode coding schemes. - Scheme 0 uses a custom alphabet, which is not stored in this table.*/ -static const unsigned char OC_MODE_ALPHABETS[7][OC_NMODES]={ - /*Last MV dominates */ - { - OC_MODE_INTER_MV_LAST,OC_MODE_INTER_MV_LAST2,OC_MODE_INTER_MV, - OC_MODE_INTER_NOMV,OC_MODE_INTRA,OC_MODE_GOLDEN_NOMV,OC_MODE_GOLDEN_MV, - OC_MODE_INTER_MV_FOUR - }, - { - OC_MODE_INTER_MV_LAST,OC_MODE_INTER_MV_LAST2,OC_MODE_INTER_NOMV, - OC_MODE_INTER_MV,OC_MODE_INTRA,OC_MODE_GOLDEN_NOMV,OC_MODE_GOLDEN_MV, - OC_MODE_INTER_MV_FOUR - }, - { - OC_MODE_INTER_MV_LAST,OC_MODE_INTER_MV,OC_MODE_INTER_MV_LAST2, - OC_MODE_INTER_NOMV,OC_MODE_INTRA,OC_MODE_GOLDEN_NOMV,OC_MODE_GOLDEN_MV, - OC_MODE_INTER_MV_FOUR - }, - { - OC_MODE_INTER_MV_LAST,OC_MODE_INTER_MV,OC_MODE_INTER_NOMV, - OC_MODE_INTER_MV_LAST2,OC_MODE_INTRA,OC_MODE_GOLDEN_NOMV, - OC_MODE_GOLDEN_MV,OC_MODE_INTER_MV_FOUR - }, - /*No MV dominates.*/ - { - OC_MODE_INTER_NOMV,OC_MODE_INTER_MV_LAST,OC_MODE_INTER_MV_LAST2, - OC_MODE_INTER_MV,OC_MODE_INTRA,OC_MODE_GOLDEN_NOMV,OC_MODE_GOLDEN_MV, - OC_MODE_INTER_MV_FOUR - }, - { - OC_MODE_INTER_NOMV,OC_MODE_GOLDEN_NOMV,OC_MODE_INTER_MV_LAST, - OC_MODE_INTER_MV_LAST2,OC_MODE_INTER_MV,OC_MODE_INTRA,OC_MODE_GOLDEN_MV, - OC_MODE_INTER_MV_FOUR - }, - /*Default ordering.*/ - { - OC_MODE_INTER_NOMV,OC_MODE_INTRA,OC_MODE_INTER_MV,OC_MODE_INTER_MV_LAST, - OC_MODE_INTER_MV_LAST2,OC_MODE_GOLDEN_NOMV,OC_MODE_GOLDEN_MV, - OC_MODE_INTER_MV_FOUR - } -}; - - -/*The original DCT tokens are extended and reordered during the construction of - the Huffman tables. - The extension means more bits can be read with fewer calls to the bitpacker - during the Huffman decoding process (at the cost of larger Huffman tables), - and fewer tokens require additional extra bits (reducing the average storage - per decoded token). - The revised ordering reveals essential information in the token value - itself; specifically, whether or not there are additional extra bits to read - and the parameter to which those extra bits are applied. - The token is used to fetch a code word from the OC_DCT_CODE_WORD table below. - The extra bits are added into code word at the bit position inferred from the - token value, giving the final code word from which all required parameters - are derived. - The number of EOBs and the leading zero run length can be extracted directly. - The coefficient magnitude is optionally negated before extraction, according - to a 'flip' bit.*/ - -/*The number of additional extra bits that are decoded with each of the - internal DCT tokens.*/ -static const unsigned char OC_INTERNAL_DCT_TOKEN_EXTRA_BITS[15]={ - 12,4,3,3,4,4,5,5,8,8,8,8,3,3,6 -}; - -/*Whether or not an internal token needs any additional extra bits.*/ -#define OC_DCT_TOKEN_NEEDS_MORE(token) \ - (token<(sizeof(OC_INTERNAL_DCT_TOKEN_EXTRA_BITS)/ \ - sizeof(*OC_INTERNAL_DCT_TOKEN_EXTRA_BITS))) - -/*This token (OC_DCT_REPEAT_RUN3_TOKEN) requires more than 8 extra bits.*/ -#define OC_DCT_TOKEN_FAT_EOB (0) - -/*The number of EOBs to use for an end-of-frame token. - Note: We want to set eobs to PTRDIFF_MAX here, but that requires C99, which - is not yet available everywhere; this should be equivalent.*/ -#define OC_DCT_EOB_FINISH (~(size_t)0>>1) - -/*The location of the (6) run legth bits in the code word. - These are placed at index 0 and given 8 bits (even though 6 would suffice) - because it may be faster to extract the lower byte on some platforms.*/ -#define OC_DCT_CW_RLEN_SHIFT (0) -/*The location of the (12) EOB bits in the code word.*/ -#define OC_DCT_CW_EOB_SHIFT (8) -/*The location of the (1) flip bit in the code word. - This must be right under the magnitude bits.*/ -#define OC_DCT_CW_FLIP_BIT (20) -/*The location of the (11) token magnitude bits in the code word. - These must be last, and rely on a sign-extending right shift.*/ -#define OC_DCT_CW_MAG_SHIFT (21) - -/*Pack the given fields into a code word.*/ -#define OC_DCT_CW_PACK(_eobs,_rlen,_mag,_flip) \ - ((_eobs)<state,_info,3); - if(ret<0)return ret; - ret=oc_huff_trees_copy(_dec->huff_tables, - (const oc_huff_node *const *)_setup->huff_tables); - if(ret<0){ - oc_state_clear(&_dec->state); - return ret; - } - /*For each fragment, allocate one byte for every DCT coefficient token, plus - one byte for extra-bits for each token, plus one more byte for the long - EOB run, just in case it's the very last token and has a run length of - one.*/ - _dec->dct_tokens=(unsigned char *)_ogg_malloc((64+64+1)* - _dec->state.nfrags*sizeof(_dec->dct_tokens[0])); - if(_dec->dct_tokens==NULL){ - oc_huff_trees_clear(_dec->huff_tables); - oc_state_clear(&_dec->state); - return TH_EFAULT; - } - for(qi=0;qi<64;qi++)for(pli=0;pli<3;pli++)for(qti=0;qti<2;qti++){ - _dec->state.dequant_tables[qi][pli][qti]= - _dec->state.dequant_table_data[qi][pli][qti]; - } - oc_dequant_tables_init(_dec->state.dequant_tables,_dec->pp_dc_scale, - &_setup->qinfo); - for(qi=0;qi<64;qi++){ - int qsum; - qsum=0; - for(qti=0;qti<2;qti++)for(pli=0;pli<3;pli++){ - qsum+=_dec->state.dequant_tables[qti][pli][qi][12]+ - _dec->state.dequant_tables[qti][pli][qi][17]+ - _dec->state.dequant_tables[qti][pli][qi][18]+ - _dec->state.dequant_tables[qti][pli][qi][24]<<(pli==0); - } - _dec->pp_sharp_mod[qi]=-(qsum>>11); - } - memcpy(_dec->state.loop_filter_limits,_setup->qinfo.loop_filter_limits, - sizeof(_dec->state.loop_filter_limits)); - _dec->pp_level=OC_PP_LEVEL_DISABLED; - _dec->dc_qis=NULL; - _dec->variances=NULL; - _dec->pp_frame_data=NULL; - _dec->stripe_cb.ctx=NULL; - _dec->stripe_cb.stripe_decoded=NULL; -#if defined(HAVE_CAIRO) - _dec->telemetry=0; - _dec->telemetry_bits=0; - _dec->telemetry_qi=0; - _dec->telemetry_mbmode=0; - _dec->telemetry_mv=0; - _dec->telemetry_frame_data=NULL; -#endif - return 0; -} - -static void oc_dec_clear(oc_dec_ctx *_dec){ -#if defined(HAVE_CAIRO) - _ogg_free(_dec->telemetry_frame_data); -#endif - _ogg_free(_dec->pp_frame_data); - _ogg_free(_dec->variances); - _ogg_free(_dec->dc_qis); - _ogg_free(_dec->dct_tokens); - oc_huff_trees_clear(_dec->huff_tables); - oc_state_clear(&_dec->state); -} - - -static int oc_dec_frame_header_unpack(oc_dec_ctx *_dec){ - long val; - /*Check to make sure this is a data packet.*/ - val=oc_pack_read1(&_dec->opb); - if(val!=0)return TH_EBADPACKET; - /*Read in the frame type (I or P).*/ - val=oc_pack_read1(&_dec->opb); - _dec->state.frame_type=(int)val; - /*Read in the qi list.*/ - val=oc_pack_read(&_dec->opb,6); - _dec->state.qis[0]=(unsigned char)val; - val=oc_pack_read1(&_dec->opb); - if(!val)_dec->state.nqis=1; - else{ - val=oc_pack_read(&_dec->opb,6); - _dec->state.qis[1]=(unsigned char)val; - val=oc_pack_read1(&_dec->opb); - if(!val)_dec->state.nqis=2; - else{ - val=oc_pack_read(&_dec->opb,6); - _dec->state.qis[2]=(unsigned char)val; - _dec->state.nqis=3; - } - } - if(_dec->state.frame_type==OC_INTRA_FRAME){ - /*Keyframes have 3 unused configuration bits, holdovers from VP3 days. - Most of the other unused bits in the VP3 headers were eliminated. - I don't know why these remain.*/ - /*I wanted to eliminate wasted bits, but not all config wiggle room - --Monty.*/ - val=oc_pack_read(&_dec->opb,3); - if(val!=0)return TH_EIMPL; - } - return 0; -} - -/*Mark all fragments as coded and in OC_MODE_INTRA. - This also builds up the coded fragment list (in coded order), and clears the - uncoded fragment list. - It does not update the coded macro block list nor the super block flags, as - those are not used when decoding INTRA frames.*/ -static void oc_dec_mark_all_intra(oc_dec_ctx *_dec){ - const oc_sb_map *sb_maps; - const oc_sb_flags *sb_flags; - oc_fragment *frags; - ptrdiff_t *coded_fragis; - ptrdiff_t ncoded_fragis; - ptrdiff_t prev_ncoded_fragis; - unsigned nsbs; - unsigned sbi; - int pli; - coded_fragis=_dec->state.coded_fragis; - prev_ncoded_fragis=ncoded_fragis=0; - sb_maps=(const oc_sb_map *)_dec->state.sb_maps; - sb_flags=_dec->state.sb_flags; - frags=_dec->state.frags; - sbi=nsbs=0; - for(pli=0;pli<3;pli++){ - nsbs+=_dec->state.fplanes[pli].nsbs; - for(;sbi=0){ - frags[fragi].coded=1; - frags[fragi].mb_mode=OC_MODE_INTRA; - coded_fragis[ncoded_fragis++]=fragi; - } - } - } - } - _dec->state.ncoded_fragis[pli]=ncoded_fragis-prev_ncoded_fragis; - prev_ncoded_fragis=ncoded_fragis; - } - _dec->state.ntotal_coded_fragis=ncoded_fragis; -} - -/*Decodes the bit flags indicating whether each super block is partially coded - or not. - Return: The number of partially coded super blocks.*/ -static unsigned oc_dec_partial_sb_flags_unpack(oc_dec_ctx *_dec){ - oc_sb_flags *sb_flags; - unsigned nsbs; - unsigned sbi; - unsigned npartial; - unsigned run_count; - long val; - int flag; - val=oc_pack_read1(&_dec->opb); - flag=(int)val; - sb_flags=_dec->state.sb_flags; - nsbs=_dec->state.nsbs; - sbi=npartial=0; - while(sbiopb); - full_run=run_count>=4129; - do{ - sb_flags[sbi].coded_partially=flag; - sb_flags[sbi].coded_fully=0; - npartial+=flag; - sbi++; - } - while(--run_count>0&&sbiopb); - flag=(int)val; - } - else flag=!flag; - } - /*TODO: run_count should be 0 here. - If it's not, we should issue a warning of some kind.*/ - return npartial; -} - -/*Decodes the bit flags for whether or not each non-partially-coded super - block is fully coded or not. - This function should only be called if there is at least one - non-partially-coded super block. - Return: The number of partially coded super blocks.*/ -static void oc_dec_coded_sb_flags_unpack(oc_dec_ctx *_dec){ - oc_sb_flags *sb_flags; - unsigned nsbs; - unsigned sbi; - unsigned run_count; - long val; - int flag; - sb_flags=_dec->state.sb_flags; - nsbs=_dec->state.nsbs; - /*Skip partially coded super blocks.*/ - for(sbi=0;sb_flags[sbi].coded_partially;sbi++); - val=oc_pack_read1(&_dec->opb); - flag=(int)val; - do{ - int full_run; - run_count=oc_sb_run_unpack(&_dec->opb); - full_run=run_count>=4129; - for(;sbiopb); - flag=(int)val; - } - else flag=!flag; - } - while(sbistate.nsbs)oc_dec_coded_sb_flags_unpack(_dec); - if(npartial>0){ - val=oc_pack_read1(&_dec->opb); - flag=!(int)val; - } - else flag=0; - sb_maps=(const oc_sb_map *)_dec->state.sb_maps; - sb_flags=_dec->state.sb_flags; - frags=_dec->state.frags; - sbi=nsbs=run_count=0; - coded_fragis=_dec->state.coded_fragis; - uncoded_fragis=coded_fragis+_dec->state.nfrags; - prev_ncoded_fragis=ncoded_fragis=nuncoded_fragis=0; - for(pli=0;pli<3;pli++){ - nsbs+=_dec->state.fplanes[pli].nsbs; - for(;sbi=0){ - int coded; - if(sb_flags[sbi].coded_fully)coded=1; - else if(!sb_flags[sbi].coded_partially)coded=0; - else{ - if(run_count<=0){ - run_count=oc_block_run_unpack(&_dec->opb); - flag=!flag; - } - run_count--; - coded=flag; - } - if(coded)coded_fragis[ncoded_fragis++]=fragi; - else *(uncoded_fragis-++nuncoded_fragis)=fragi; - frags[fragi].coded=coded; - } - } - } - } - _dec->state.ncoded_fragis[pli]=ncoded_fragis-prev_ncoded_fragis; - prev_ncoded_fragis=ncoded_fragis; - } - _dec->state.ntotal_coded_fragis=ncoded_fragis; - /*TODO: run_count should be 0 here. - If it's not, we should issue a warning of some kind.*/ -} - - - -typedef int (*oc_mode_unpack_func)(oc_pack_buf *_opb); - -static int oc_vlc_mode_unpack(oc_pack_buf *_opb){ - long val; - int i; - for(i=0;i<7;i++){ - val=oc_pack_read1(_opb); - if(!val)break; - } - return i; -} - -static int oc_clc_mode_unpack(oc_pack_buf *_opb){ - long val; - val=oc_pack_read(_opb,3); - return (int)val; -} - -/*Unpacks the list of macro block modes for INTER frames.*/ -static void oc_dec_mb_modes_unpack(oc_dec_ctx *_dec){ - const oc_mb_map *mb_maps; - signed char *mb_modes; - const oc_fragment *frags; - const unsigned char *alphabet; - unsigned char scheme0_alphabet[8]; - oc_mode_unpack_func mode_unpack; - size_t nmbs; - size_t mbi; - long val; - int mode_scheme; - val=oc_pack_read(&_dec->opb,3); - mode_scheme=(int)val; - if(mode_scheme==0){ - int mi; - /*Just in case, initialize the modes to something. - If the bitstream doesn't contain each index exactly once, it's likely - corrupt and the rest of the packet is garbage anyway, but this way we - won't crash, and we'll decode SOMETHING.*/ - /*LOOP VECTORIZES*/ - for(mi=0;miopb,3); - scheme0_alphabet[val]=OC_MODE_ALPHABETS[6][mi]; - } - alphabet=scheme0_alphabet; - } - else alphabet=OC_MODE_ALPHABETS[mode_scheme-1]; - if(mode_scheme==7)mode_unpack=oc_clc_mode_unpack; - else mode_unpack=oc_vlc_mode_unpack; - mb_modes=_dec->state.mb_modes; - mb_maps=(const oc_mb_map *)_dec->state.mb_maps; - nmbs=_dec->state.nmbs; - frags=_dec->state.frags; - for(mbi=0;mbiopb)]; - /*There were none: INTER_NOMV is forced.*/ - else mb_modes[mbi]=OC_MODE_INTER_NOMV; - } - } -} - - - -typedef int (*oc_mv_comp_unpack_func)(oc_pack_buf *_opb); - -static int oc_vlc_mv_comp_unpack(oc_pack_buf *_opb){ - long bits; - int mask; - int mv; - bits=oc_pack_read(_opb,3); - switch(bits){ - case 0:return 0; - case 1:return 1; - case 2:return -1; - case 3: - case 4:{ - mv=(int)(bits-1); - bits=oc_pack_read1(_opb); - }break; - /*case 5: - case 6: - case 7:*/ - default:{ - mv=1<>1); - bits&=1; - }break; - } - mask=-(int)bits; - return mv+mask^mask; -} - -static int oc_clc_mv_comp_unpack(oc_pack_buf *_opb){ - long bits; - int mask; - int mv; - bits=oc_pack_read(_opb,6); - mv=(int)bits>>1; - mask=-((int)bits&1); - return mv+mask^mask; -} - -/*Unpacks the list of motion vectors for INTER frames, and propagtes the macro - block modes and motion vectors to the individual fragments.*/ -static void oc_dec_mv_unpack_and_frag_modes_fill(oc_dec_ctx *_dec){ - const oc_mb_map *mb_maps; - const signed char *mb_modes; - oc_set_chroma_mvs_func set_chroma_mvs; - oc_mv_comp_unpack_func mv_comp_unpack; - oc_fragment *frags; - oc_mv *frag_mvs; - const unsigned char *map_idxs; - int map_nidxs; - oc_mv last_mv[2]; - oc_mv cbmvs[4]; - size_t nmbs; - size_t mbi; - long val; - set_chroma_mvs=OC_SET_CHROMA_MVS_TABLE[_dec->state.info.pixel_fmt]; - val=oc_pack_read1(&_dec->opb); - mv_comp_unpack=val?oc_clc_mv_comp_unpack:oc_vlc_mv_comp_unpack; - map_idxs=OC_MB_MAP_IDXS[_dec->state.info.pixel_fmt]; - map_nidxs=OC_MB_MAP_NIDXS[_dec->state.info.pixel_fmt]; - memset(last_mv,0,sizeof(last_mv)); - frags=_dec->state.frags; - frag_mvs=_dec->state.frag_mvs; - mb_maps=(const oc_mb_map *)_dec->state.mb_maps; - mb_modes=_dec->state.mb_modes; - nmbs=_dec->state.nmbs; - for(mbi=0;mbi>2][mapi&3]; - if(frags[fragi].coded)coded[ncoded++]=mapi; - } - while(++mapiiopb); - lbmvs[bi][1]=(signed char)(*mv_comp_unpack)(&_dec->opb); - memcpy(frag_mvs[fragi],lbmvs[bi],sizeof(lbmvs[bi])); - } - else lbmvs[bi][0]=lbmvs[bi][1]=0; - } - if(codedi>0){ - memcpy(last_mv[1],last_mv[0],sizeof(last_mv[1])); - memcpy(last_mv[0],lbmvs[coded[codedi-1]],sizeof(last_mv[0])); - } - if(codedi>2][bi]; - frags[fragi].mb_mode=mb_mode; - memcpy(frag_mvs[fragi],cbmvs[bi],sizeof(cbmvs[bi])); - } - } - }break; - case OC_MODE_INTER_MV:{ - memcpy(last_mv[1],last_mv[0],sizeof(last_mv[1])); - mbmv[0]=last_mv[0][0]=(signed char)(*mv_comp_unpack)(&_dec->opb); - mbmv[1]=last_mv[0][1]=(signed char)(*mv_comp_unpack)(&_dec->opb); - }break; - case OC_MODE_INTER_MV_LAST:memcpy(mbmv,last_mv[0],sizeof(mbmv));break; - case OC_MODE_INTER_MV_LAST2:{ - memcpy(mbmv,last_mv[1],sizeof(mbmv)); - memcpy(last_mv[1],last_mv[0],sizeof(last_mv[1])); - memcpy(last_mv[0],mbmv,sizeof(last_mv[0])); - }break; - case OC_MODE_GOLDEN_MV:{ - mbmv[0]=(signed char)(*mv_comp_unpack)(&_dec->opb); - mbmv[1]=(signed char)(*mv_comp_unpack)(&_dec->opb); - }break; - default:memset(mbmv,0,sizeof(mbmv));break; - } - /*4MV mode fills in the fragments itself. - For all other modes we can use this common code.*/ - if(mb_mode!=OC_MODE_INTER_MV_FOUR){ - for(codedi=0;codedi>2][mapi&3]; - frags[fragi].mb_mode=mb_mode; - memcpy(frag_mvs[fragi],mbmv,sizeof(mbmv)); - } - } - } - } -} - -static void oc_dec_block_qis_unpack(oc_dec_ctx *_dec){ - oc_fragment *frags; - const ptrdiff_t *coded_fragis; - ptrdiff_t ncoded_fragis; - ptrdiff_t fragii; - ptrdiff_t fragi; - ncoded_fragis=_dec->state.ntotal_coded_fragis; - if(ncoded_fragis<=0)return; - frags=_dec->state.frags; - coded_fragis=_dec->state.coded_fragis; - if(_dec->state.nqis==1){ - /*If this frame has only a single qi value, then just use it for all coded - fragments.*/ - for(fragii=0;fragiiopb); - flag=(int)val; - nqi1=0; - fragii=0; - while(fragiiopb); - full_run=run_count>=4129; - do{ - frags[coded_fragis[fragii++]].qii=flag; - nqi1+=flag; - } - while(--run_count>0&&fragiiopb); - flag=(int)val; - } - else flag=!flag; - } - /*TODO: run_count should be 0 here. - If it's not, we should issue a warning of some kind.*/ - /*If we have 3 different qi's for this frame, and there was at least one - fragment with a non-zero qi, make the second pass.*/ - if(_dec->state.nqis==3&&nqi1>0){ - /*Skip qii==0 fragments.*/ - for(fragii=0;frags[coded_fragis[fragii]].qii==0;fragii++); - val=oc_pack_read1(&_dec->opb); - flag=(int)val; - do{ - int full_run; - run_count=oc_sb_run_unpack(&_dec->opb); - full_run=run_count>=4129; - for(;fragiiopb); - flag=(int)val; - } - else flag=!flag; - } - while(fragiidct_tokens; - frags=_dec->state.frags; - coded_fragis=_dec->state.coded_fragis; - ncoded_fragis=fragii=eobs=ti=0; - for(pli=0;pli<3;pli++){ - ptrdiff_t run_counts[64]; - ptrdiff_t eob_count; - ptrdiff_t eobi; - int rli; - ncoded_fragis+=_dec->state.ncoded_fragis[pli]; - memset(run_counts,0,sizeof(run_counts)); - _dec->eob_runs[pli][0]=eobs; - _dec->ti0[pli][0]=ti; - /*Continue any previous EOB run, if there was one.*/ - eobi=eobs; - if(ncoded_fragis-fragii0)frags[coded_fragis[fragii++]].dc=0; - while(fragiiopb, - _dec->huff_tables[_huff_idxs[pli+1>>1]]); - dct_tokens[ti++]=(unsigned char)token; - if(OC_DCT_TOKEN_NEEDS_MORE(token)){ - eb=(int)oc_pack_read(&_dec->opb, - OC_INTERNAL_DCT_TOKEN_EXTRA_BITS[token]); - dct_tokens[ti++]=(unsigned char)eb; - if(token==OC_DCT_TOKEN_FAT_EOB)dct_tokens[ti++]=(unsigned char)(eb>>8); - eb<<=OC_DCT_TOKEN_EB_POS(token); - } - else eb=0; - cw=OC_DCT_CODE_WORD[token]+eb; - eobs=cw>>OC_DCT_CW_EOB_SHIFT&0xFFF; - if(cw==OC_DCT_CW_FINISH)eobs=OC_DCT_EOB_FINISH; - if(eobs){ - eobi=OC_MINI(eobs,ncoded_fragis-fragii); - eob_count+=eobi; - eobs-=eobi; - while(eobi-->0)frags[coded_fragis[fragii++]].dc=0; - } - else{ - int coeff; - skip=(unsigned char)(cw>>OC_DCT_CW_RLEN_SHIFT); - cw^=-(cw&1<>OC_DCT_CW_MAG_SHIFT; - if(skip)coeff=0; - run_counts[skip]++; - frags[coded_fragis[fragii++]].dc=coeff; - } - } - /*Add the total EOB count to the longest run length.*/ - run_counts[63]+=eob_count; - /*And convert the run_counts array to a moment table.*/ - for(rli=63;rli-->0;)run_counts[rli]+=run_counts[rli+1]; - /*Finally, subtract off the number of coefficients that have been - accounted for by runs started in this coefficient.*/ - for(rli=64;rli-->0;)_ntoks_left[pli][rli]-=run_counts[rli]; - } - _dec->dct_tokens_count=ti; - return eobs; -} - -/*Unpacks the AC coefficient tokens. - This can completely discard coefficient values while unpacking, and so is - somewhat simpler than unpacking the DC coefficient tokens. - _huff_idx: The index of the Huffman table to use for each color plane. - _ntoks_left: The number of tokens left to be decoded in each color plane for - each coefficient. - This is updated as EOB tokens and zero run tokens are decoded. - _eobs: The length of any outstanding EOB run from previous - coefficients. - Return: The length of any outstanding EOB run.*/ -static int oc_dec_ac_coeff_unpack(oc_dec_ctx *_dec,int _zzi,int _huff_idxs[2], - ptrdiff_t _ntoks_left[3][64],ptrdiff_t _eobs){ - unsigned char *dct_tokens; - ptrdiff_t ti; - int pli; - dct_tokens=_dec->dct_tokens; - ti=_dec->dct_tokens_count; - for(pli=0;pli<3;pli++){ - ptrdiff_t run_counts[64]; - ptrdiff_t eob_count; - size_t ntoks_left; - size_t ntoks; - int rli; - _dec->eob_runs[pli][_zzi]=_eobs; - _dec->ti0[pli][_zzi]=ti; - ntoks_left=_ntoks_left[pli][_zzi]; - memset(run_counts,0,sizeof(run_counts)); - eob_count=0; - ntoks=0; - while(ntoks+_eobsopb, - _dec->huff_tables[_huff_idxs[pli+1>>1]]); - dct_tokens[ti++]=(unsigned char)token; - if(OC_DCT_TOKEN_NEEDS_MORE(token)){ - eb=(int)oc_pack_read(&_dec->opb, - OC_INTERNAL_DCT_TOKEN_EXTRA_BITS[token]); - dct_tokens[ti++]=(unsigned char)eb; - if(token==OC_DCT_TOKEN_FAT_EOB)dct_tokens[ti++]=(unsigned char)(eb>>8); - eb<<=OC_DCT_TOKEN_EB_POS(token); - } - else eb=0; - cw=OC_DCT_CODE_WORD[token]+eb; - skip=(unsigned char)(cw>>OC_DCT_CW_RLEN_SHIFT); - _eobs=cw>>OC_DCT_CW_EOB_SHIFT&0xFFF; - if(cw==OC_DCT_CW_FINISH)_eobs=OC_DCT_EOB_FINISH; - if(_eobs==0){ - run_counts[skip]++; - ntoks++; - } - } - /*Add the portion of the last EOB run actually used by this coefficient.*/ - eob_count+=ntoks_left-ntoks; - /*And remove it from the remaining EOB count.*/ - _eobs-=ntoks_left-ntoks; - /*Add the total EOB count to the longest run length.*/ - run_counts[63]+=eob_count; - /*And convert the run_counts array to a moment table.*/ - for(rli=63;rli-->0;)run_counts[rli]+=run_counts[rli+1]; - /*Finally, subtract off the number of coefficients that have been - accounted for by runs started in this coefficient.*/ - for(rli=64-_zzi;rli-->0;)_ntoks_left[pli][_zzi+rli]-=run_counts[rli]; - } - _dec->dct_tokens_count=ti; - return _eobs; -} - -/*Tokens describing the DCT coefficients that belong to each fragment are - stored in the bitstream grouped by coefficient, not by fragment. - - This means that we either decode all the tokens in order, building up a - separate coefficient list for each fragment as we go, and then go back and - do the iDCT on each fragment, or we have to create separate lists of tokens - for each coefficient, so that we can pull the next token required off the - head of the appropriate list when decoding a specific fragment. - - The former was VP3's choice, and it meant 2*w*h extra storage for all the - decoded coefficient values. - - We take the second option, which lets us store just one to three bytes per - token (generally far fewer than the number of coefficients, due to EOB - tokens and zero runs), and which requires us to only maintain a counter for - each of the 64 coefficients, instead of a counter for every fragment to - determine where the next token goes. - - We actually use 3 counters per coefficient, one for each color plane, so we - can decode all color planes simultaneously. - This lets color conversion, etc., be done as soon as a full MCU (one or - two super block rows) is decoded, while the image data is still in cache.*/ - -static void oc_dec_residual_tokens_unpack(oc_dec_ctx *_dec){ - static const unsigned char OC_HUFF_LIST_MAX[5]={1,6,15,28,64}; - ptrdiff_t ntoks_left[3][64]; - int huff_idxs[2]; - ptrdiff_t eobs; - long val; - int pli; - int zzi; - int hgi; - for(pli=0;pli<3;pli++)for(zzi=0;zzi<64;zzi++){ - ntoks_left[pli][zzi]=_dec->state.ncoded_fragis[pli]; - } - val=oc_pack_read(&_dec->opb,4); - huff_idxs[0]=(int)val; - val=oc_pack_read(&_dec->opb,4); - huff_idxs[1]=(int)val; - _dec->eob_runs[0][0]=0; - eobs=oc_dec_dc_coeff_unpack(_dec,huff_idxs,ntoks_left); -#if defined(HAVE_CAIRO) - _dec->telemetry_dc_bytes=oc_pack_bytes_left(&_dec->opb); -#endif - val=oc_pack_read(&_dec->opb,4); - huff_idxs[0]=(int)val; - val=oc_pack_read(&_dec->opb,4); - huff_idxs[1]=(int)val; - zzi=1; - for(hgi=1;hgi<5;hgi++){ - huff_idxs[0]+=16; - huff_idxs[1]+=16; - for(;zzipp_level<=OC_PP_LEVEL_DISABLED){ - if(_dec->dc_qis!=NULL){ - _ogg_free(_dec->dc_qis); - _dec->dc_qis=NULL; - _ogg_free(_dec->variances); - _dec->variances=NULL; - _ogg_free(_dec->pp_frame_data); - _dec->pp_frame_data=NULL; - } - return 1; - } - if(_dec->dc_qis==NULL){ - /*If we haven't been tracking DC quantization indices, there's no point in - starting now.*/ - if(_dec->state.frame_type!=OC_INTRA_FRAME)return 1; - _dec->dc_qis=(unsigned char *)_ogg_malloc( - _dec->state.nfrags*sizeof(_dec->dc_qis[0])); - if(_dec->dc_qis==NULL)return 1; - memset(_dec->dc_qis,_dec->state.qis[0],_dec->state.nfrags); - } - else{ - unsigned char *dc_qis; - const ptrdiff_t *coded_fragis; - ptrdiff_t ncoded_fragis; - ptrdiff_t fragii; - unsigned char qi0; - /*Update the DC quantization index of each coded block.*/ - dc_qis=_dec->dc_qis; - coded_fragis=_dec->state.coded_fragis; - ncoded_fragis=_dec->state.ncoded_fragis[0]+ - _dec->state.ncoded_fragis[1]+_dec->state.ncoded_fragis[2]; - qi0=(unsigned char)_dec->state.qis[0]; - for(fragii=0;fragiipp_level<=OC_PP_LEVEL_TRACKDCQI){ - if(_dec->variances!=NULL){ - _ogg_free(_dec->variances); - _dec->variances=NULL; - _ogg_free(_dec->pp_frame_data); - _dec->pp_frame_data=NULL; - } - return 1; - } - if(_dec->variances==NULL){ - size_t frame_sz; - size_t c_sz; - int c_w; - int c_h; - frame_sz=_dec->state.info.frame_width*(size_t)_dec->state.info.frame_height; - c_w=_dec->state.info.frame_width>>!(_dec->state.info.pixel_fmt&1); - c_h=_dec->state.info.frame_height>>!(_dec->state.info.pixel_fmt&2); - c_sz=c_w*(size_t)c_h; - /*Allocate space for the chroma planes, even if we're not going to use - them; this simplifies allocation state management, though it may waste - memory on the few systems that don't overcommit pages.*/ - frame_sz+=c_sz<<1; - _dec->pp_frame_data=(unsigned char *)_ogg_malloc( - frame_sz*sizeof(_dec->pp_frame_data[0])); - _dec->variances=(int *)_ogg_malloc( - _dec->state.nfrags*sizeof(_dec->variances[0])); - if(_dec->variances==NULL||_dec->pp_frame_data==NULL){ - _ogg_free(_dec->pp_frame_data); - _dec->pp_frame_data=NULL; - _ogg_free(_dec->variances); - _dec->variances=NULL; - return 1; - } - /*Force an update of the PP buffer pointers.*/ - _dec->pp_frame_state=0; - } - /*Update the PP buffer pointers if necessary.*/ - if(_dec->pp_frame_state!=1+(_dec->pp_level>=OC_PP_LEVEL_DEBLOCKC)){ - if(_dec->pp_levelpp_frame_buf[0].width=_dec->state.info.frame_width; - _dec->pp_frame_buf[0].height=_dec->state.info.frame_height; - _dec->pp_frame_buf[0].stride=-_dec->pp_frame_buf[0].width; - _dec->pp_frame_buf[0].data=_dec->pp_frame_data+ - (1-_dec->pp_frame_buf[0].height)*(ptrdiff_t)_dec->pp_frame_buf[0].stride; - } - else{ - size_t y_sz; - size_t c_sz; - int c_w; - int c_h; - /*Otherwise, set up pointers to all three PP planes.*/ - y_sz=_dec->state.info.frame_width*(size_t)_dec->state.info.frame_height; - c_w=_dec->state.info.frame_width>>!(_dec->state.info.pixel_fmt&1); - c_h=_dec->state.info.frame_height>>!(_dec->state.info.pixel_fmt&2); - c_sz=c_w*(size_t)c_h; - _dec->pp_frame_buf[0].width=_dec->state.info.frame_width; - _dec->pp_frame_buf[0].height=_dec->state.info.frame_height; - _dec->pp_frame_buf[0].stride=_dec->pp_frame_buf[0].width; - _dec->pp_frame_buf[0].data=_dec->pp_frame_data; - _dec->pp_frame_buf[1].width=c_w; - _dec->pp_frame_buf[1].height=c_h; - _dec->pp_frame_buf[1].stride=_dec->pp_frame_buf[1].width; - _dec->pp_frame_buf[1].data=_dec->pp_frame_buf[0].data+y_sz; - _dec->pp_frame_buf[2].width=c_w; - _dec->pp_frame_buf[2].height=c_h; - _dec->pp_frame_buf[2].stride=_dec->pp_frame_buf[2].width; - _dec->pp_frame_buf[2].data=_dec->pp_frame_buf[1].data+c_sz; - oc_ycbcr_buffer_flip(_dec->pp_frame_buf,_dec->pp_frame_buf); - } - _dec->pp_frame_state=1+(_dec->pp_level>=OC_PP_LEVEL_DEBLOCKC); - } - /*If we're not processing chroma, copy the reference frame's chroma planes.*/ - if(_dec->pp_levelpp_frame_buf+1, - _dec->state.ref_frame_bufs[_dec->state.ref_frame_idx[OC_FRAME_SELF]]+1, - sizeof(_dec->pp_frame_buf[1])*2); - } - return 0; -} - - - -typedef struct{ - int bounding_values[256]; - ptrdiff_t ti[3][64]; - ptrdiff_t eob_runs[3][64]; - const ptrdiff_t *coded_fragis[3]; - const ptrdiff_t *uncoded_fragis[3]; - ptrdiff_t ncoded_fragis[3]; - ptrdiff_t nuncoded_fragis[3]; - const ogg_uint16_t *dequant[3][3][2]; - int fragy0[3]; - int fragy_end[3]; - int pred_last[3][3]; - int mcu_nvfrags; - int loop_filter; - int pp_level; -}oc_dec_pipeline_state; - - - -/*Initialize the main decoding pipeline.*/ -static void oc_dec_pipeline_init(oc_dec_ctx *_dec, - oc_dec_pipeline_state *_pipe){ - const ptrdiff_t *coded_fragis; - const ptrdiff_t *uncoded_fragis; - int pli; - int qii; - int qti; - /*If chroma is sub-sampled in the vertical direction, we have to decode two - super block rows of Y' for each super block row of Cb and Cr.*/ - _pipe->mcu_nvfrags=4<state.info.pixel_fmt&2); - /*Initialize the token and extra bits indices for each plane and - coefficient.*/ - memcpy(_pipe->ti,_dec->ti0,sizeof(_pipe->ti)); - /*Also copy over the initial the EOB run counts.*/ - memcpy(_pipe->eob_runs,_dec->eob_runs,sizeof(_pipe->eob_runs)); - /*Set up per-plane pointers to the coded and uncoded fragments lists.*/ - coded_fragis=_dec->state.coded_fragis; - uncoded_fragis=coded_fragis+_dec->state.nfrags; - for(pli=0;pli<3;pli++){ - ptrdiff_t ncoded_fragis; - _pipe->coded_fragis[pli]=coded_fragis; - _pipe->uncoded_fragis[pli]=uncoded_fragis; - ncoded_fragis=_dec->state.ncoded_fragis[pli]; - coded_fragis+=ncoded_fragis; - uncoded_fragis+=ncoded_fragis-_dec->state.fplanes[pli].nfrags; - } - /*Set up condensed quantizer tables.*/ - for(pli=0;pli<3;pli++){ - for(qii=0;qii<_dec->state.nqis;qii++){ - for(qti=0;qti<2;qti++){ - _pipe->dequant[pli][qii][qti]= - _dec->state.dequant_tables[_dec->state.qis[qii]][pli][qti]; - } - } - } - /*Set the previous DC predictor to 0 for all color planes and frame types.*/ - memset(_pipe->pred_last,0,sizeof(_pipe->pred_last)); - /*Initialize the bounding value array for the loop filter.*/ - _pipe->loop_filter=!oc_state_loop_filter_init(&_dec->state, - _pipe->bounding_values); - /*Initialize any buffers needed for post-processing. - We also save the current post-processing level, to guard against the user - changing it from a callback.*/ - if(!oc_dec_postprocess_init(_dec))_pipe->pp_level=_dec->pp_level; - /*If we don't have enough information to post-process, disable it, regardless - of the user-requested level.*/ - else{ - _pipe->pp_level=OC_PP_LEVEL_DISABLED; - memcpy(_dec->pp_frame_buf, - _dec->state.ref_frame_bufs[_dec->state.ref_frame_idx[OC_FRAME_SELF]], - sizeof(_dec->pp_frame_buf[0])*3); - } -} - -/*Undo the DC prediction in a single plane of an MCU (one or two super block - rows). - As a side effect, the number of coded and uncoded fragments in this plane of - the MCU is also computed.*/ -static void oc_dec_dc_unpredict_mcu_plane(oc_dec_ctx *_dec, - oc_dec_pipeline_state *_pipe,int _pli){ - const oc_fragment_plane *fplane; - oc_fragment *frags; - int *pred_last; - ptrdiff_t ncoded_fragis; - ptrdiff_t fragi; - int fragx; - int fragy; - int fragy0; - int fragy_end; - int nhfrags; - /*Compute the first and last fragment row of the current MCU for this - plane.*/ - fplane=_dec->state.fplanes+_pli; - fragy0=_pipe->fragy0[_pli]; - fragy_end=_pipe->fragy_end[_pli]; - nhfrags=fplane->nhfrags; - pred_last=_pipe->pred_last[_pli]; - frags=_dec->state.frags; - ncoded_fragis=0; - fragi=fplane->froffset+fragy0*(ptrdiff_t)nhfrags; - for(fragy=fragy0;fragy=nhfrags)ur_ref=-1; - else{ - ur_ref=u_frags[fragi+1].coded? - OC_FRAME_FOR_MODE(u_frags[fragi+1].mb_mode):-1; - } - if(frags[fragi].coded){ - int pred; - int ref; - ref=OC_FRAME_FOR_MODE(frags[fragi].mb_mode); - /*We break out a separate case based on which of our neighbors use - the same reference frames. - This is somewhat faster than trying to make a generic case which - handles all of them, since it reduces lots of poorly predicted - jumps to one switch statement, and also lets a number of the - multiplications be optimized out by strength reduction.*/ - switch((l_ref==ref)|(ul_ref==ref)<<1| - (u_ref==ref)<<2|(ur_ref==ref)<<3){ - default:pred=pred_last[ref];break; - case 1: - case 3:pred=frags[fragi-1].dc;break; - case 2:pred=u_frags[fragi-1].dc;break; - case 4: - case 6: - case 12:pred=u_frags[fragi].dc;break; - case 5:pred=(frags[fragi-1].dc+u_frags[fragi].dc)/2;break; - case 8:pred=u_frags[fragi+1].dc;break; - case 9: - case 11: - case 13:{ - pred=(75*frags[fragi-1].dc+53*u_frags[fragi+1].dc)/128; - }break; - case 10:pred=(u_frags[fragi-1].dc+u_frags[fragi+1].dc)/2;break; - case 14:{ - pred=(3*(u_frags[fragi-1].dc+u_frags[fragi+1].dc) - +10*u_frags[fragi].dc)/16; - }break; - case 7: - case 15:{ - int p0; - int p1; - int p2; - p0=frags[fragi-1].dc; - p1=u_frags[fragi-1].dc; - p2=u_frags[fragi].dc; - pred=(29*(p0+p2)-26*p1)/32; - if(abs(pred-p2)>128)pred=p2; - else if(abs(pred-p0)>128)pred=p0; - else if(abs(pred-p1)>128)pred=p1; - }break; - } - pred_last[ref]=frags[fragi].dc+=pred; - ncoded_fragis++; - l_ref=ref; - } - else l_ref=-1; - ul_ref=u_ref; - u_ref=ur_ref; - } - } - } - _pipe->ncoded_fragis[_pli]=ncoded_fragis; - /*Also save the number of uncoded fragments so we know how many to copy.*/ - _pipe->nuncoded_fragis[_pli]= - (fragy_end-fragy0)*(ptrdiff_t)nhfrags-ncoded_fragis; -} - -/*Reconstructs all coded fragments in a single MCU (one or two super block - rows). - This requires that each coded fragment have a proper macro block mode and - motion vector (if not in INTRA mode), and have it's DC value decoded, with - the DC prediction process reversed, and the number of coded and uncoded - fragments in this plane of the MCU be counted. - The token lists for each color plane and coefficient should also be filled - in, along with initial token offsets, extra bits offsets, and EOB run - counts.*/ -static void oc_dec_frags_recon_mcu_plane(oc_dec_ctx *_dec, - oc_dec_pipeline_state *_pipe,int _pli){ - unsigned char *dct_tokens; - const unsigned char *dct_fzig_zag; - ogg_uint16_t dc_quant[2]; - const oc_fragment *frags; - const ptrdiff_t *coded_fragis; - ptrdiff_t ncoded_fragis; - ptrdiff_t fragii; - ptrdiff_t *ti; - ptrdiff_t *eob_runs; - int qti; - dct_tokens=_dec->dct_tokens; - dct_fzig_zag=_dec->state.opt_data.dct_fzig_zag; - frags=_dec->state.frags; - coded_fragis=_pipe->coded_fragis[_pli]; - ncoded_fragis=_pipe->ncoded_fragis[_pli]; - ti=_pipe->ti[_pli]; - eob_runs=_pipe->eob_runs[_pli]; - for(qti=0;qti<2;qti++)dc_quant[qti]=_pipe->dequant[_pli][0][qti][0]; - for(fragii=0;fragiidequant[_pli][frags[fragi].qii][qti]; - /*Decode the AC coefficients.*/ - for(zzi=0;zzi<64;){ - int token; - last_zzi=zzi; - if(eob_runs[zzi]){ - eob_runs[zzi]--; - break; - } - else{ - ptrdiff_t eob; - int cw; - int rlen; - int coeff; - int lti; - lti=ti[zzi]; - token=dct_tokens[lti++]; - cw=OC_DCT_CODE_WORD[token]; - /*These parts could be done branchless, but the branches are fairly - predictable and the C code translates into more than a few - instructions, so it's worth it to avoid them.*/ - if(OC_DCT_TOKEN_NEEDS_MORE(token)){ - cw+=dct_tokens[lti++]<>OC_DCT_CW_EOB_SHIFT&0xFFF; - if(token==OC_DCT_TOKEN_FAT_EOB){ - eob+=dct_tokens[lti++]<<8; - if(eob==0)eob=OC_DCT_EOB_FINISH; - } - rlen=(unsigned char)(cw>>OC_DCT_CW_RLEN_SHIFT); - cw^=-(cw&1<>OC_DCT_CW_MAG_SHIFT; - eob_runs[zzi]=eob; - ti[zzi]=lti; - zzi+=rlen; - dct_coeffs[dct_fzig_zag[zzi]]=(ogg_int16_t)(coeff*(int)ac_quant[zzi]); - zzi+=!eob; - } - } - /*TODO: zzi should be exactly 64 here. - If it's not, we should report some kind of warning.*/ - zzi=OC_MINI(zzi,64); - dct_coeffs[0]=(ogg_int16_t)frags[fragi].dc; - /*last_zzi is always initialized. - If your compiler thinks otherwise, it is dumb.*/ - oc_state_frag_recon(&_dec->state,fragi,_pli, - dct_coeffs,last_zzi,dc_quant[qti]); - } - _pipe->coded_fragis[_pli]+=ncoded_fragis; - /*Right now the reconstructed MCU has only the coded blocks in it.*/ - /*TODO: We make the decision here to always copy the uncoded blocks into it - from the reference frame. - We could also copy the coded blocks back over the reference frame, if we - wait for an additional MCU to be decoded, which might be faster if only a - small number of blocks are coded. - However, this introduces more latency, creating a larger cache footprint. - It's unknown which decision is better, but this one results in simpler - code, and the hard case (high bitrate, high resolution) is handled - correctly.*/ - /*Copy the uncoded blocks from the previous reference frame.*/ - _pipe->uncoded_fragis[_pli]-=_pipe->nuncoded_fragis[_pli]; - oc_state_frag_copy_list(&_dec->state,_pipe->uncoded_fragis[_pli], - _pipe->nuncoded_fragis[_pli],OC_FRAME_SELF,OC_FRAME_PREV,_pli); -} - -/*Filter a horizontal block edge.*/ -static void oc_filter_hedge(unsigned char *_dst,int _dst_ystride, - const unsigned char *_src,int _src_ystride,int _qstep,int _flimit, - int *_variance0,int *_variance1){ - unsigned char *rdst; - const unsigned char *rsrc; - unsigned char *cdst; - const unsigned char *csrc; - int r[10]; - int sum0; - int sum1; - int bx; - int by; - rdst=_dst; - rsrc=_src; - for(bx=0;bx<8;bx++){ - cdst=rdst; - csrc=rsrc; - for(by=0;by<10;by++){ - r[by]=*csrc; - csrc+=_src_ystride; - } - sum0=sum1=0; - for(by=0;by<4;by++){ - sum0+=abs(r[by+1]-r[by]); - sum1+=abs(r[by+5]-r[by+6]); - } - *_variance0+=OC_MINI(255,sum0); - *_variance1+=OC_MINI(255,sum1); - if(sum0<_flimit&&sum1<_flimit&&r[5]-r[4]<_qstep&&r[4]-r[5]<_qstep){ - *cdst=(unsigned char)(r[0]*3+r[1]*2+r[2]+r[3]+r[4]+4>>3); - cdst+=_dst_ystride; - *cdst=(unsigned char)(r[0]*2+r[1]+r[2]*2+r[3]+r[4]+r[5]+4>>3); - cdst+=_dst_ystride; - for(by=0;by<4;by++){ - *cdst=(unsigned char)(r[by]+r[by+1]+r[by+2]+r[by+3]*2+ - r[by+4]+r[by+5]+r[by+6]+4>>3); - cdst+=_dst_ystride; - } - *cdst=(unsigned char)(r[4]+r[5]+r[6]+r[7]*2+r[8]+r[9]*2+4>>3); - cdst+=_dst_ystride; - *cdst=(unsigned char)(r[5]+r[6]+r[7]+r[8]*2+r[9]*3+4>>3); - } - else{ - for(by=1;by<=8;by++){ - *cdst=(unsigned char)r[by]; - cdst+=_dst_ystride; - } - } - rdst++; - rsrc++; - } -} - -/*Filter a vertical block edge.*/ -static void oc_filter_vedge(unsigned char *_dst,int _dst_ystride, - int _qstep,int _flimit,int *_variances){ - unsigned char *rdst; - const unsigned char *rsrc; - unsigned char *cdst; - int r[10]; - int sum0; - int sum1; - int bx; - int by; - cdst=_dst; - for(by=0;by<8;by++){ - rsrc=cdst-1; - rdst=cdst; - for(bx=0;bx<10;bx++)r[bx]=*rsrc++; - sum0=sum1=0; - for(bx=0;bx<4;bx++){ - sum0+=abs(r[bx+1]-r[bx]); - sum1+=abs(r[bx+5]-r[bx+6]); - } - _variances[0]+=OC_MINI(255,sum0); - _variances[1]+=OC_MINI(255,sum1); - if(sum0<_flimit&&sum1<_flimit&&r[5]-r[4]<_qstep&&r[4]-r[5]<_qstep){ - *rdst++=(unsigned char)(r[0]*3+r[1]*2+r[2]+r[3]+r[4]+4>>3); - *rdst++=(unsigned char)(r[0]*2+r[1]+r[2]*2+r[3]+r[4]+r[5]+4>>3); - for(bx=0;bx<4;bx++){ - *rdst++=(unsigned char)(r[bx]+r[bx+1]+r[bx+2]+r[bx+3]*2+ - r[bx+4]+r[bx+5]+r[bx+6]+4>>3); - } - *rdst++=(unsigned char)(r[4]+r[5]+r[6]+r[7]*2+r[8]+r[9]*2+4>>3); - *rdst=(unsigned char)(r[5]+r[6]+r[7]+r[8]*2+r[9]*3+4>>3); - } - cdst+=_dst_ystride; - } -} - -static void oc_dec_deblock_frag_rows(oc_dec_ctx *_dec, - th_img_plane *_dst,th_img_plane *_src,int _pli,int _fragy0, - int _fragy_end){ - oc_fragment_plane *fplane; - int *variance; - unsigned char *dc_qi; - unsigned char *dst; - const unsigned char *src; - ptrdiff_t froffset; - int dst_ystride; - int src_ystride; - int nhfrags; - int width; - int notstart; - int notdone; - int flimit; - int qstep; - int y_end; - int y; - int x; - _dst+=_pli; - _src+=_pli; - fplane=_dec->state.fplanes+_pli; - nhfrags=fplane->nhfrags; - froffset=fplane->froffset+_fragy0*(ptrdiff_t)nhfrags; - variance=_dec->variances+froffset; - dc_qi=_dec->dc_qis+froffset; - notstart=_fragy0>0; - notdone=_fragy_endnvfrags; - /*We want to clear an extra row of variances, except at the end.*/ - memset(variance+(nhfrags&-notstart),0, - (_fragy_end+notdone-_fragy0-notstart)*(nhfrags*sizeof(variance[0]))); - /*Except for the first time, we want to point to the middle of the row.*/ - y=(_fragy0<<3)+(notstart<<2); - dst_ystride=_dst->stride; - src_ystride=_src->stride; - dst=_dst->data+y*(ptrdiff_t)dst_ystride; - src=_src->data+y*(ptrdiff_t)src_ystride; - width=_dst->width; - for(;y<4;y++){ - memcpy(dst,src,width*sizeof(dst[0])); - dst+=dst_ystride; - src+=src_ystride; - } - /*We also want to skip the last row in the frame for this loop.*/ - y_end=_fragy_end-!notdone<<3; - for(;ypp_dc_scale[*dc_qi]; - flimit=(qstep*3)>>2; - oc_filter_hedge(dst,dst_ystride,src-src_ystride,src_ystride, - qstep,flimit,variance,variance+nhfrags); - variance++; - dc_qi++; - for(x=8;xpp_dc_scale[*dc_qi]; - flimit=(qstep*3)>>2; - oc_filter_hedge(dst+x,dst_ystride,src+x-src_ystride,src_ystride, - qstep,flimit,variance,variance+nhfrags); - oc_filter_vedge(dst+x-(dst_ystride<<2)-4,dst_ystride, - qstep,flimit,variance-1); - variance++; - dc_qi++; - } - dst+=dst_ystride<<3; - src+=src_ystride<<3; - } - /*And finally, handle the last row in the frame, if it's in the range.*/ - if(!notdone){ - int height; - height=_dst->height; - for(;ypp_dc_scale[*dc_qi++]; - flimit=(qstep*3)>>2; - oc_filter_vedge(dst+x-(dst_ystride<<3)-4,dst_ystride, - qstep,flimit,variance++); - } - } -} - -static void oc_dering_block(unsigned char *_idata,int _ystride,int _b, - int _dc_scale,int _sharp_mod,int _strong){ - static const unsigned char OC_MOD_MAX[2]={24,32}; - static const unsigned char OC_MOD_SHIFT[2]={1,0}; - const unsigned char *psrc; - const unsigned char *src; - const unsigned char *nsrc; - unsigned char *dst; - int vmod[72]; - int hmod[72]; - int mod_hi; - int by; - int bx; - mod_hi=OC_MINI(3*_dc_scale,OC_MOD_MAX[_strong]); - dst=_idata; - src=dst; - psrc=src-(_ystride&-!(_b&4)); - for(by=0;by<9;by++){ - for(bx=0;bx<8;bx++){ - int mod; - mod=32+_dc_scale-(abs(src[bx]-psrc[bx])<>7); - for(bx=1;bx<7;bx++){ - a=128; - b=64; - w=hmod[(bx<<3)+by]; - a-=w; - b+=w*src[bx-1]; - w=vmod[(by<<3)+bx]; - a-=w; - b+=w*psrc[bx]; - w=vmod[(by+1<<3)+bx]; - a-=w; - b+=w*nsrc[bx]; - w=hmod[(bx+1<<3)+by]; - a-=w; - b+=w*src[bx+1]; - dst[bx]=OC_CLAMP255(a*src[bx]+b>>7); - } - a=128; - b=64; - w=hmod[(7<<3)+by]; - a-=w; - b+=w*src[6]; - w=vmod[(by<<3)+7]; - a-=w; - b+=w*psrc[7]; - w=vmod[(by+1<<3)+7]; - a-=w; - b+=w*nsrc[7]; - w=hmod[(8<<3)+by]; - a-=w; - b+=w*src[7+!(_b&2)]; - dst[7]=OC_CLAMP255(a*src[7]+b>>7); - dst+=_ystride; - psrc=src; - src=nsrc; - nsrc+=_ystride&-(!(_b&8)|by<6); - } -} - -#define OC_DERING_THRESH1 (384) -#define OC_DERING_THRESH2 (4*OC_DERING_THRESH1) -#define OC_DERING_THRESH3 (5*OC_DERING_THRESH1) -#define OC_DERING_THRESH4 (10*OC_DERING_THRESH1) - -static void oc_dec_dering_frag_rows(oc_dec_ctx *_dec,th_img_plane *_img, - int _pli,int _fragy0,int _fragy_end){ - th_img_plane *iplane; - oc_fragment_plane *fplane; - oc_fragment *frag; - int *variance; - unsigned char *idata; - ptrdiff_t froffset; - int ystride; - int nhfrags; - int sthresh; - int strong; - int y_end; - int width; - int height; - int y; - int x; - iplane=_img+_pli; - fplane=_dec->state.fplanes+_pli; - nhfrags=fplane->nhfrags; - froffset=fplane->froffset+_fragy0*(ptrdiff_t)nhfrags; - variance=_dec->variances+froffset; - frag=_dec->state.frags+froffset; - strong=_dec->pp_level>=(_pli?OC_PP_LEVEL_SDERINGC:OC_PP_LEVEL_SDERINGY); - sthresh=_pli?OC_DERING_THRESH4:OC_DERING_THRESH3; - y=_fragy0<<3; - ystride=iplane->stride; - idata=iplane->data+y*(ptrdiff_t)ystride; - y_end=_fragy_end<<3; - width=iplane->width; - height=iplane->height; - for(;ystate.qis[frag->qii]; - var=*variance; - b=(x<=0)|(x+8>=width)<<1|(y<=0)<<2|(y+8>=height)<<3; - if(strong&&var>sthresh){ - oc_dering_block(idata+x,ystride,b, - _dec->pp_dc_scale[qi],_dec->pp_sharp_mod[qi],1); - if(_pli||!(b&1)&&*(variance-1)>OC_DERING_THRESH4|| - !(b&2)&&variance[1]>OC_DERING_THRESH4|| - !(b&4)&&*(variance-nhfrags)>OC_DERING_THRESH4|| - !(b&8)&&variance[nhfrags]>OC_DERING_THRESH4){ - oc_dering_block(idata+x,ystride,b, - _dec->pp_dc_scale[qi],_dec->pp_sharp_mod[qi],1); - oc_dering_block(idata+x,ystride,b, - _dec->pp_dc_scale[qi],_dec->pp_sharp_mod[qi],1); - } - } - else if(var>OC_DERING_THRESH2){ - oc_dering_block(idata+x,ystride,b, - _dec->pp_dc_scale[qi],_dec->pp_sharp_mod[qi],1); - } - else if(var>OC_DERING_THRESH1){ - oc_dering_block(idata+x,ystride,b, - _dec->pp_dc_scale[qi],_dec->pp_sharp_mod[qi],0); - } - frag++; - variance++; - } - idata+=ystride<<3; - } -} - - - -th_dec_ctx *th_decode_alloc(const th_info *_info,const th_setup_info *_setup){ - oc_dec_ctx *dec; - if(_info==NULL||_setup==NULL)return NULL; - dec=_ogg_malloc(sizeof(*dec)); - if(dec==NULL||oc_dec_init(dec,_info,_setup)<0){ - _ogg_free(dec); - return NULL; - } - dec->state.curframe_num=0; - return dec; -} - -void th_decode_free(th_dec_ctx *_dec){ - if(_dec!=NULL){ - oc_dec_clear(_dec); - _ogg_free(_dec); - } -} - -int th_decode_ctl(th_dec_ctx *_dec,int _req,void *_buf, - size_t _buf_sz){ - switch(_req){ - case TH_DECCTL_GET_PPLEVEL_MAX:{ - if(_dec==NULL||_buf==NULL)return TH_EFAULT; - if(_buf_sz!=sizeof(int))return TH_EINVAL; - (*(int *)_buf)=OC_PP_LEVEL_MAX; - return 0; - }break; - case TH_DECCTL_SET_PPLEVEL:{ - int pp_level; - if(_dec==NULL||_buf==NULL)return TH_EFAULT; - if(_buf_sz!=sizeof(int))return TH_EINVAL; - pp_level=*(int *)_buf; - if(pp_level<0||pp_level>OC_PP_LEVEL_MAX)return TH_EINVAL; - _dec->pp_level=pp_level; - return 0; - }break; - case TH_DECCTL_SET_GRANPOS:{ - ogg_int64_t granpos; - if(_dec==NULL||_buf==NULL)return TH_EFAULT; - if(_buf_sz!=sizeof(ogg_int64_t))return TH_EINVAL; - granpos=*(ogg_int64_t *)_buf; - if(granpos<0)return TH_EINVAL; - _dec->state.granpos=granpos; - _dec->state.keyframe_num=(granpos>>_dec->state.info.keyframe_granule_shift) - -_dec->state.granpos_bias; - _dec->state.curframe_num=_dec->state.keyframe_num - +(granpos&(1<<_dec->state.info.keyframe_granule_shift)-1); - return 0; - }break; - case TH_DECCTL_SET_STRIPE_CB:{ - th_stripe_callback *cb; - if(_dec==NULL||_buf==NULL)return TH_EFAULT; - if(_buf_sz!=sizeof(th_stripe_callback))return TH_EINVAL; - cb=(th_stripe_callback *)_buf; - _dec->stripe_cb.ctx=cb->ctx; - _dec->stripe_cb.stripe_decoded=cb->stripe_decoded; - return 0; - }break; -#ifdef HAVE_CAIRO - case TH_DECCTL_SET_TELEMETRY_MBMODE:{ - if(_dec==NULL||_buf==NULL)return TH_EFAULT; - if(_buf_sz!=sizeof(int))return TH_EINVAL; - _dec->telemetry=1; - _dec->telemetry_mbmode=*(int *)_buf; - return 0; - }break; - case TH_DECCTL_SET_TELEMETRY_MV:{ - if(_dec==NULL||_buf==NULL)return TH_EFAULT; - if(_buf_sz!=sizeof(int))return TH_EINVAL; - _dec->telemetry=1; - _dec->telemetry_mv=*(int *)_buf; - return 0; - }break; - case TH_DECCTL_SET_TELEMETRY_QI:{ - if(_dec==NULL||_buf==NULL)return TH_EFAULT; - if(_buf_sz!=sizeof(int))return TH_EINVAL; - _dec->telemetry=1; - _dec->telemetry_qi=*(int *)_buf; - return 0; - }break; - case TH_DECCTL_SET_TELEMETRY_BITS:{ - if(_dec==NULL||_buf==NULL)return TH_EFAULT; - if(_buf_sz!=sizeof(int))return TH_EINVAL; - _dec->telemetry=1; - _dec->telemetry_bits=*(int *)_buf; - return 0; - }break; -#endif - default:return TH_EIMPL; - } -} - -/*We're decoding an INTER frame, but have no initialized reference - buffers (i.e., decoding did not start on a key frame). - We initialize them to a solid gray here.*/ -static void oc_dec_init_dummy_frame(th_dec_ctx *_dec){ - th_info *info; - size_t yplane_sz; - size_t cplane_sz; - int yhstride; - int yheight; - int chstride; - int cheight; - _dec->state.ref_frame_idx[OC_FRAME_GOLD]=0; - _dec->state.ref_frame_idx[OC_FRAME_PREV]=0; - _dec->state.ref_frame_idx[OC_FRAME_SELF]=1; - info=&_dec->state.info; - yhstride=info->frame_width+2*OC_UMV_PADDING; - yheight=info->frame_height+2*OC_UMV_PADDING; - chstride=yhstride>>!(info->pixel_fmt&1); - cheight=yheight>>!(info->pixel_fmt&2); - yplane_sz=yhstride*(size_t)yheight; - cplane_sz=chstride*(size_t)cheight; - memset(_dec->state.ref_frame_data[0],0x80,yplane_sz+2*cplane_sz); -} - -int th_decode_packetin(th_dec_ctx *_dec,const ogg_packet *_op, - ogg_int64_t *_granpos){ - int ret; - if(_dec==NULL||_op==NULL)return TH_EFAULT; - /*A completely empty packet indicates a dropped frame and is treated exactly - like an inter frame with no coded blocks. - Only proceed if we have a non-empty packet.*/ - if(_op->bytes!=0){ - oc_dec_pipeline_state pipe; - th_ycbcr_buffer stripe_buf; - int stripe_fragy; - int refi; - int pli; - int notstart; - int notdone; - oc_pack_readinit(&_dec->opb,_op->packet,_op->bytes); -#if defined(HAVE_CAIRO) - _dec->telemetry_frame_bytes=_op->bytes; -#endif - ret=oc_dec_frame_header_unpack(_dec); - if(ret<0)return ret; - /*Select a free buffer to use for the reconstructed version of this - frame.*/ - if(_dec->state.frame_type!=OC_INTRA_FRAME&& - (_dec->state.ref_frame_idx[OC_FRAME_GOLD]<0|| - _dec->state.ref_frame_idx[OC_FRAME_PREV]<0)){ - /*No reference frames yet!*/ - oc_dec_init_dummy_frame(_dec); - refi=_dec->state.ref_frame_idx[OC_FRAME_SELF]; - } - else{ - for(refi=0;refi==_dec->state.ref_frame_idx[OC_FRAME_GOLD]|| - refi==_dec->state.ref_frame_idx[OC_FRAME_PREV];refi++); - _dec->state.ref_frame_idx[OC_FRAME_SELF]=refi; - } - if(_dec->state.frame_type==OC_INTRA_FRAME){ - oc_dec_mark_all_intra(_dec); - _dec->state.keyframe_num=_dec->state.curframe_num; -#if defined(HAVE_CAIRO) - _dec->telemetry_coding_bytes= - _dec->telemetry_mode_bytes= - _dec->telemetry_mv_bytes=oc_pack_bytes_left(&_dec->opb); -#endif - } - else{ - oc_dec_coded_flags_unpack(_dec); -#if defined(HAVE_CAIRO) - _dec->telemetry_coding_bytes=oc_pack_bytes_left(&_dec->opb); -#endif - oc_dec_mb_modes_unpack(_dec); -#if defined(HAVE_CAIRO) - _dec->telemetry_mode_bytes=oc_pack_bytes_left(&_dec->opb); -#endif - oc_dec_mv_unpack_and_frag_modes_fill(_dec); -#if defined(HAVE_CAIRO) - _dec->telemetry_mv_bytes=oc_pack_bytes_left(&_dec->opb); -#endif - } - oc_dec_block_qis_unpack(_dec); -#if defined(HAVE_CAIRO) - _dec->telemetry_qi_bytes=oc_pack_bytes_left(&_dec->opb); -#endif - oc_dec_residual_tokens_unpack(_dec); - /*Update granule position. - This must be done before the striped decode callbacks so that the - application knows what to do with the frame data.*/ - _dec->state.granpos=(_dec->state.keyframe_num+_dec->state.granpos_bias<< - _dec->state.info.keyframe_granule_shift) - +(_dec->state.curframe_num-_dec->state.keyframe_num); - _dec->state.curframe_num++; - if(_granpos!=NULL)*_granpos=_dec->state.granpos; - /*All of the rest of the operations -- DC prediction reversal, - reconstructing coded fragments, copying uncoded fragments, loop - filtering, extending borders, and out-of-loop post-processing -- should - be pipelined. - I.e., DC prediction reversal, reconstruction, and uncoded fragment - copying are done for one or two super block rows, then loop filtering is - run as far as it can, then bordering copying, then post-processing. - For 4:2:0 video a Minimum Codable Unit or MCU contains two luma super - block rows, and one chroma. - Otherwise, an MCU consists of one super block row from each plane. - Inside each MCU, we perform all of the steps on one color plane before - moving on to the next. - After reconstruction, the additional filtering stages introduce a delay - since they need some pixels from the next fragment row. - Thus the actual number of decoded rows available is slightly smaller for - the first MCU, and slightly larger for the last. - - This entire process allows us to operate on the data while it is still in - cache, resulting in big performance improvements. - An application callback allows further application processing (blitting - to video memory, color conversion, etc.) to also use the data while it's - in cache.*/ - oc_dec_pipeline_init(_dec,&pipe); - oc_ycbcr_buffer_flip(stripe_buf,_dec->pp_frame_buf); - notstart=0; - notdone=1; - for(stripe_fragy=0;notdone;stripe_fragy+=pipe.mcu_nvfrags){ - int avail_fragy0; - int avail_fragy_end; - avail_fragy0=avail_fragy_end=_dec->state.fplanes[0].nvfrags; - notdone=stripe_fragy+pipe.mcu_nvfragsstate.fplanes+pli; - /*Compute the first and last fragment row of the current MCU for this - plane.*/ - frag_shift=pli!=0&&!(_dec->state.info.pixel_fmt&2); - pipe.fragy0[pli]=stripe_fragy>>frag_shift; - pipe.fragy_end[pli]=OC_MINI(fplane->nvfrags, - pipe.fragy0[pli]+(pipe.mcu_nvfrags>>frag_shift)); - oc_dec_dc_unpredict_mcu_plane(_dec,&pipe,pli); - oc_dec_frags_recon_mcu_plane(_dec,&pipe,pli); - sdelay=edelay=0; - if(pipe.loop_filter){ - sdelay+=notstart; - edelay+=notdone; - oc_state_loop_filter_frag_rows(&_dec->state,pipe.bounding_values, - refi,pli,pipe.fragy0[pli]-sdelay,pipe.fragy_end[pli]-edelay); - } - /*To fill the borders, we have an additional two pixel delay, since a - fragment in the next row could filter its top edge, using two pixels - from a fragment in this row. - But there's no reason to delay a full fragment between the two.*/ - oc_state_borders_fill_rows(&_dec->state,refi,pli, - (pipe.fragy0[pli]-sdelay<<3)-(sdelay<<1), - (pipe.fragy_end[pli]-edelay<<3)-(edelay<<1)); - /*Out-of-loop post-processing.*/ - pp_offset=3*(pli!=0); - if(pipe.pp_level>=OC_PP_LEVEL_DEBLOCKY+pp_offset){ - /*Perform de-blocking in one plane.*/ - sdelay+=notstart; - edelay+=notdone; - oc_dec_deblock_frag_rows(_dec,_dec->pp_frame_buf, - _dec->state.ref_frame_bufs[refi],pli, - pipe.fragy0[pli]-sdelay,pipe.fragy_end[pli]-edelay); - if(pipe.pp_level>=OC_PP_LEVEL_DERINGY+pp_offset){ - /*Perform de-ringing in one plane.*/ - sdelay+=notstart; - edelay+=notdone; - oc_dec_dering_frag_rows(_dec,_dec->pp_frame_buf,pli, - pipe.fragy0[pli]-sdelay,pipe.fragy_end[pli]-edelay); - } - } - /*If no post-processing is done, we still need to delay a row for the - loop filter, thanks to the strange filtering order VP3 chose.*/ - else if(pipe.loop_filter){ - sdelay+=notstart; - edelay+=notdone; - } - /*Compute the intersection of the available rows in all planes. - If chroma is sub-sampled, the effect of each of its delays is - doubled, but luma might have more post-processing filters enabled - than chroma, so we don't know up front which one is the limiting - factor.*/ - avail_fragy0=OC_MINI(avail_fragy0,pipe.fragy0[pli]-sdelay<stripe_cb.stripe_decoded!=NULL){ - /*The callback might want to use the FPU, so let's make sure they can. - We violate all kinds of ABI restrictions by not doing this until - now, but none of them actually matter since we don't use floating - point ourselves.*/ - oc_restore_fpu(&_dec->state); - /*Make the callback, ensuring we flip the sense of the "start" and - "end" of the available region upside down.*/ - (*_dec->stripe_cb.stripe_decoded)(_dec->stripe_cb.ctx,stripe_buf, - _dec->state.fplanes[0].nvfrags-avail_fragy_end, - _dec->state.fplanes[0].nvfrags-avail_fragy0); - } - notstart=1; - } - /*Finish filling in the reference frame borders.*/ - for(pli=0;pli<3;pli++)oc_state_borders_fill_caps(&_dec->state,refi,pli); - /*Update the reference frame indices.*/ - if(_dec->state.frame_type==OC_INTRA_FRAME){ - /*The new frame becomes both the previous and gold reference frames.*/ - _dec->state.ref_frame_idx[OC_FRAME_GOLD]= - _dec->state.ref_frame_idx[OC_FRAME_PREV]= - _dec->state.ref_frame_idx[OC_FRAME_SELF]; - } - else{ - /*Otherwise, just replace the previous reference frame.*/ - _dec->state.ref_frame_idx[OC_FRAME_PREV]= - _dec->state.ref_frame_idx[OC_FRAME_SELF]; - } - /*Restore the FPU before dump_frame, since that _does_ use the FPU (for PNG - gamma values, if nothing else).*/ - oc_restore_fpu(&_dec->state); -#if defined(OC_DUMP_IMAGES) - /*Don't dump images for dropped frames.*/ - oc_state_dump_frame(&_dec->state,OC_FRAME_SELF,"dec"); -#endif - return 0; - } - else{ - if(_dec->state.ref_frame_idx[OC_FRAME_GOLD]<0|| - _dec->state.ref_frame_idx[OC_FRAME_PREV]<0){ - int refi; - /*No reference frames yet!*/ - oc_dec_init_dummy_frame(_dec); - refi=_dec->state.ref_frame_idx[OC_FRAME_PREV]; - _dec->state.ref_frame_idx[OC_FRAME_SELF]=refi; - memcpy(_dec->pp_frame_buf,_dec->state.ref_frame_bufs[refi], - sizeof(_dec->pp_frame_buf[0])*3); - } - /*Just update the granule position and return.*/ - _dec->state.granpos=(_dec->state.keyframe_num+_dec->state.granpos_bias<< - _dec->state.info.keyframe_granule_shift) - +(_dec->state.curframe_num-_dec->state.keyframe_num); - _dec->state.curframe_num++; - if(_granpos!=NULL)*_granpos=_dec->state.granpos; - return TH_DUPFRAME; - } -} - -int th_decode_ycbcr_out(th_dec_ctx *_dec,th_ycbcr_buffer _ycbcr){ - if(_dec==NULL||_ycbcr==NULL)return TH_EFAULT; - oc_ycbcr_buffer_flip(_ycbcr,_dec->pp_frame_buf); -#if defined(HAVE_CAIRO) - /*If telemetry ioctls are active, we need to draw to the output buffer. - Stuff the plane into cairo.*/ - if(_dec->telemetry){ - cairo_surface_t *cs; - unsigned char *data; - unsigned char *y_row; - unsigned char *u_row; - unsigned char *v_row; - unsigned char *rgb_row; - int cstride; - int w; - int h; - int x; - int y; - int hdec; - int vdec; - w=_ycbcr[0].width; - h=_ycbcr[0].height; - hdec=!(_dec->state.info.pixel_fmt&1); - vdec=!(_dec->state.info.pixel_fmt&2); - /*Lazy data buffer init. - We could try to re-use the post-processing buffer, which would save - memory, but complicate the allocation logic there. - I don't think anyone cares about memory usage when using telemetry; it is - not meant for embedded devices.*/ - if(_dec->telemetry_frame_data==NULL){ - _dec->telemetry_frame_data=_ogg_malloc( - (w*h+2*(w>>hdec)*(h>>vdec))*sizeof(*_dec->telemetry_frame_data)); - if(_dec->telemetry_frame_data==NULL)return 0; - } - cs=cairo_image_surface_create(CAIRO_FORMAT_RGB24,w,h); - /*Sadly, no YUV support in Cairo (yet); convert into the RGB buffer.*/ - data=cairo_image_surface_get_data(cs); - if(data==NULL){ - cairo_surface_destroy(cs); - return 0; - } - cstride=cairo_image_surface_get_stride(cs); - y_row=_ycbcr[0].data; - u_row=_ycbcr[1].data; - v_row=_ycbcr[2].data; - rgb_row=data; - for(y=0;y>hdec]-363703744)/1635200; - g=(3827562*y_row[x]-1287801*u_row[x>>hdec] - -2672387*v_row[x>>hdec]+447306710)/3287200; - b=(952000*y_row[x]+1649289*u_row[x>>hdec]-225932192)/817600; - rgb_row[4*x+0]=OC_CLAMP255(b); - rgb_row[4*x+1]=OC_CLAMP255(g); - rgb_row[4*x+2]=OC_CLAMP255(r); - } - y_row+=_ycbcr[0].stride; - u_row+=_ycbcr[1].stride&-((y&1)|!vdec); - v_row+=_ycbcr[2].stride&-((y&1)|!vdec); - rgb_row+=cstride; - } - /*Draw coded identifier for each macroblock (stored in Hilbert order).*/ - { - cairo_t *c; - const oc_fragment *frags; - oc_mv *frag_mvs; - const signed char *mb_modes; - oc_mb_map *mb_maps; - size_t nmbs; - size_t mbi; - int row2; - int col2; - int qim[3]={0,0,0}; - if(_dec->state.nqis==2){ - int bqi; - bqi=_dec->state.qis[0]; - if(_dec->state.qis[1]>bqi)qim[1]=1; - if(_dec->state.qis[1]state.nqis==3){ - int bqi; - int cqi; - int dqi; - bqi=_dec->state.qis[0]; - cqi=_dec->state.qis[1]; - dqi=_dec->state.qis[2]; - if(cqi>bqi&&dqi>bqi){ - if(dqi>cqi){ - qim[1]=1; - qim[2]=2; - } - else{ - qim[1]=2; - qim[2]=1; - } - } - else if(cqistate.frags; - frag_mvs=_dec->state.frag_mvs; - mb_modes=_dec->state.mb_modes; - mb_maps=_dec->state.mb_maps; - nmbs=_dec->state.nmbs; - row2=0; - col2=0; - for(mbi=0;mbi>1)&1))*16-16; - x=(col2>>1)*16; - cairo_set_line_width(c,1.); - /*Keyframe (all intra) red box.*/ - if(_dec->state.frame_type==OC_INTRA_FRAME){ - if(_dec->telemetry_mbmode&0x02){ - cairo_set_source_rgba(c,1.,0,0,.5); - cairo_rectangle(c,x+2.5,y+2.5,11,11); - cairo_stroke_preserve(c); - cairo_set_source_rgba(c,1.,0,0,.25); - cairo_fill(c); - } - } - else{ - const signed char *frag_mv; - ptrdiff_t fragi; - for(bi=0;bi<4;bi++){ - fragi=mb_maps[mbi][0][bi]; - if(fragi>=0&&frags[fragi].coded){ - frag_mv=frag_mvs[fragi]; - break; - } - } - if(bi<4){ - switch(mb_modes[mbi]){ - case OC_MODE_INTRA:{ - if(_dec->telemetry_mbmode&0x02){ - cairo_set_source_rgba(c,1.,0,0,.5); - cairo_rectangle(c,x+2.5,y+2.5,11,11); - cairo_stroke_preserve(c); - cairo_set_source_rgba(c,1.,0,0,.25); - cairo_fill(c); - } - }break; - case OC_MODE_INTER_NOMV:{ - if(_dec->telemetry_mbmode&0x01){ - cairo_set_source_rgba(c,0,0,1.,.5); - cairo_rectangle(c,x+2.5,y+2.5,11,11); - cairo_stroke_preserve(c); - cairo_set_source_rgba(c,0,0,1.,.25); - cairo_fill(c); - } - }break; - case OC_MODE_INTER_MV:{ - if(_dec->telemetry_mbmode&0x04){ - cairo_rectangle(c,x+2.5,y+2.5,11,11); - cairo_set_source_rgba(c,0,1.,0,.5); - cairo_stroke(c); - } - if(_dec->telemetry_mv&0x04){ - cairo_move_to(c,x+8+frag_mv[0],y+8-frag_mv[1]); - cairo_set_source_rgba(c,1.,1.,1.,.9); - cairo_set_line_width(c,3.); - cairo_line_to(c,x+8+frag_mv[0]*.66,y+8-frag_mv[1]*.66); - cairo_stroke_preserve(c); - cairo_set_line_width(c,2.); - cairo_line_to(c,x+8+frag_mv[0]*.33,y+8-frag_mv[1]*.33); - cairo_stroke_preserve(c); - cairo_set_line_width(c,1.); - cairo_line_to(c,x+8,y+8); - cairo_stroke(c); - } - }break; - case OC_MODE_INTER_MV_LAST:{ - if(_dec->telemetry_mbmode&0x08){ - cairo_rectangle(c,x+2.5,y+2.5,11,11); - cairo_set_source_rgba(c,0,1.,0,.5); - cairo_move_to(c,x+13.5,y+2.5); - cairo_line_to(c,x+2.5,y+8); - cairo_line_to(c,x+13.5,y+13.5); - cairo_stroke(c); - } - if(_dec->telemetry_mv&0x08){ - cairo_move_to(c,x+8+frag_mv[0],y+8-frag_mv[1]); - cairo_set_source_rgba(c,1.,1.,1.,.9); - cairo_set_line_width(c,3.); - cairo_line_to(c,x+8+frag_mv[0]*.66,y+8-frag_mv[1]*.66); - cairo_stroke_preserve(c); - cairo_set_line_width(c,2.); - cairo_line_to(c,x+8+frag_mv[0]*.33,y+8-frag_mv[1]*.33); - cairo_stroke_preserve(c); - cairo_set_line_width(c,1.); - cairo_line_to(c,x+8,y+8); - cairo_stroke(c); - } - }break; - case OC_MODE_INTER_MV_LAST2:{ - if(_dec->telemetry_mbmode&0x10){ - cairo_rectangle(c,x+2.5,y+2.5,11,11); - cairo_set_source_rgba(c,0,1.,0,.5); - cairo_move_to(c,x+8,y+2.5); - cairo_line_to(c,x+2.5,y+8); - cairo_line_to(c,x+8,y+13.5); - cairo_move_to(c,x+13.5,y+2.5); - cairo_line_to(c,x+8,y+8); - cairo_line_to(c,x+13.5,y+13.5); - cairo_stroke(c); - } - if(_dec->telemetry_mv&0x10){ - cairo_move_to(c,x+8+frag_mv[0],y+8-frag_mv[1]); - cairo_set_source_rgba(c,1.,1.,1.,.9); - cairo_set_line_width(c,3.); - cairo_line_to(c,x+8+frag_mv[0]*.66,y+8-frag_mv[1]*.66); - cairo_stroke_preserve(c); - cairo_set_line_width(c,2.); - cairo_line_to(c,x+8+frag_mv[0]*.33,y+8-frag_mv[1]*.33); - cairo_stroke_preserve(c); - cairo_set_line_width(c,1.); - cairo_line_to(c,x+8,y+8); - cairo_stroke(c); - } - }break; - case OC_MODE_GOLDEN_NOMV:{ - if(_dec->telemetry_mbmode&0x20){ - cairo_set_source_rgba(c,1.,1.,0,.5); - cairo_rectangle(c,x+2.5,y+2.5,11,11); - cairo_stroke_preserve(c); - cairo_set_source_rgba(c,1.,1.,0,.25); - cairo_fill(c); - } - }break; - case OC_MODE_GOLDEN_MV:{ - if(_dec->telemetry_mbmode&0x40){ - cairo_rectangle(c,x+2.5,y+2.5,11,11); - cairo_set_source_rgba(c,1.,1.,0,.5); - cairo_stroke(c); - } - if(_dec->telemetry_mv&0x40){ - cairo_move_to(c,x+8+frag_mv[0],y+8-frag_mv[1]); - cairo_set_source_rgba(c,1.,1.,1.,.9); - cairo_set_line_width(c,3.); - cairo_line_to(c,x+8+frag_mv[0]*.66,y+8-frag_mv[1]*.66); - cairo_stroke_preserve(c); - cairo_set_line_width(c,2.); - cairo_line_to(c,x+8+frag_mv[0]*.33,y+8-frag_mv[1]*.33); - cairo_stroke_preserve(c); - cairo_set_line_width(c,1.); - cairo_line_to(c,x+8,y+8); - cairo_stroke(c); - } - }break; - case OC_MODE_INTER_MV_FOUR:{ - if(_dec->telemetry_mbmode&0x80){ - cairo_rectangle(c,x+2.5,y+2.5,4,4); - cairo_rectangle(c,x+9.5,y+2.5,4,4); - cairo_rectangle(c,x+2.5,y+9.5,4,4); - cairo_rectangle(c,x+9.5,y+9.5,4,4); - cairo_set_source_rgba(c,0,1.,0,.5); - cairo_stroke(c); - } - /*4mv is odd, coded in raster order.*/ - fragi=mb_maps[mbi][0][0]; - if(frags[fragi].coded&&_dec->telemetry_mv&0x80){ - frag_mv=frag_mvs[fragi]; - cairo_move_to(c,x+4+frag_mv[0],y+12-frag_mv[1]); - cairo_set_source_rgba(c,1.,1.,1.,.9); - cairo_set_line_width(c,3.); - cairo_line_to(c,x+4+frag_mv[0]*.66,y+12-frag_mv[1]*.66); - cairo_stroke_preserve(c); - cairo_set_line_width(c,2.); - cairo_line_to(c,x+4+frag_mv[0]*.33,y+12-frag_mv[1]*.33); - cairo_stroke_preserve(c); - cairo_set_line_width(c,1.); - cairo_line_to(c,x+4,y+12); - cairo_stroke(c); - } - fragi=mb_maps[mbi][0][1]; - if(frags[fragi].coded&&_dec->telemetry_mv&0x80){ - frag_mv=frag_mvs[fragi]; - cairo_move_to(c,x+12+frag_mv[0],y+12-frag_mv[1]); - cairo_set_source_rgba(c,1.,1.,1.,.9); - cairo_set_line_width(c,3.); - cairo_line_to(c,x+12+frag_mv[0]*.66,y+12-frag_mv[1]*.66); - cairo_stroke_preserve(c); - cairo_set_line_width(c,2.); - cairo_line_to(c,x+12+frag_mv[0]*.33,y+12-frag_mv[1]*.33); - cairo_stroke_preserve(c); - cairo_set_line_width(c,1.); - cairo_line_to(c,x+12,y+12); - cairo_stroke(c); - } - fragi=mb_maps[mbi][0][2]; - if(frags[fragi].coded&&_dec->telemetry_mv&0x80){ - frag_mv=frag_mvs[fragi]; - cairo_move_to(c,x+4+frag_mv[0],y+4-frag_mv[1]); - cairo_set_source_rgba(c,1.,1.,1.,.9); - cairo_set_line_width(c,3.); - cairo_line_to(c,x+4+frag_mv[0]*.66,y+4-frag_mv[1]*.66); - cairo_stroke_preserve(c); - cairo_set_line_width(c,2.); - cairo_line_to(c,x+4+frag_mv[0]*.33,y+4-frag_mv[1]*.33); - cairo_stroke_preserve(c); - cairo_set_line_width(c,1.); - cairo_line_to(c,x+4,y+4); - cairo_stroke(c); - } - fragi=mb_maps[mbi][0][3]; - if(frags[fragi].coded&&_dec->telemetry_mv&0x80){ - frag_mv=frag_mvs[fragi]; - cairo_move_to(c,x+12+frag_mv[0],y+4-frag_mv[1]); - cairo_set_source_rgba(c,1.,1.,1.,.9); - cairo_set_line_width(c,3.); - cairo_line_to(c,x+12+frag_mv[0]*.66,y+4-frag_mv[1]*.66); - cairo_stroke_preserve(c); - cairo_set_line_width(c,2.); - cairo_line_to(c,x+12+frag_mv[0]*.33,y+4-frag_mv[1]*.33); - cairo_stroke_preserve(c); - cairo_set_line_width(c,1.); - cairo_line_to(c,x+12,y+4); - cairo_stroke(c); - } - }break; - } - } - } - /*qii illustration.*/ - if(_dec->telemetry_qi&0x2){ - cairo_set_line_cap(c,CAIRO_LINE_CAP_SQUARE); - for(bi=0;bi<4;bi++){ - ptrdiff_t fragi; - int qiv; - int xp; - int yp; - xp=x+(bi&1)*8; - yp=y+8-(bi&2)*4; - fragi=mb_maps[mbi][0][bi]; - if(fragi>=0&&frags[fragi].coded){ - qiv=qim[frags[fragi].qii]; - cairo_set_line_width(c,3.); - cairo_set_source_rgba(c,0.,0.,0.,.5); - switch(qiv){ - /*Double plus:*/ - case 2:{ - if((bi&1)^((bi&2)>>1)){ - cairo_move_to(c,xp+2.5,yp+1.5); - cairo_line_to(c,xp+2.5,yp+3.5); - cairo_move_to(c,xp+1.5,yp+2.5); - cairo_line_to(c,xp+3.5,yp+2.5); - cairo_move_to(c,xp+5.5,yp+4.5); - cairo_line_to(c,xp+5.5,yp+6.5); - cairo_move_to(c,xp+4.5,yp+5.5); - cairo_line_to(c,xp+6.5,yp+5.5); - cairo_stroke_preserve(c); - cairo_set_source_rgba(c,0.,1.,1.,1.); - } - else{ - cairo_move_to(c,xp+5.5,yp+1.5); - cairo_line_to(c,xp+5.5,yp+3.5); - cairo_move_to(c,xp+4.5,yp+2.5); - cairo_line_to(c,xp+6.5,yp+2.5); - cairo_move_to(c,xp+2.5,yp+4.5); - cairo_line_to(c,xp+2.5,yp+6.5); - cairo_move_to(c,xp+1.5,yp+5.5); - cairo_line_to(c,xp+3.5,yp+5.5); - cairo_stroke_preserve(c); - cairo_set_source_rgba(c,0.,1.,1.,1.); - } - }break; - /*Double minus:*/ - case -2:{ - cairo_move_to(c,xp+2.5,yp+2.5); - cairo_line_to(c,xp+5.5,yp+2.5); - cairo_move_to(c,xp+2.5,yp+5.5); - cairo_line_to(c,xp+5.5,yp+5.5); - cairo_stroke_preserve(c); - cairo_set_source_rgba(c,1.,1.,1.,1.); - }break; - /*Plus:*/ - case 1:{ - if(bi&2==0)yp-=2; - if(bi&1==0)xp-=2; - cairo_move_to(c,xp+4.5,yp+2.5); - cairo_line_to(c,xp+4.5,yp+6.5); - cairo_move_to(c,xp+2.5,yp+4.5); - cairo_line_to(c,xp+6.5,yp+4.5); - cairo_stroke_preserve(c); - cairo_set_source_rgba(c,.1,1.,.3,1.); - break; - } - /*Fall through.*/ - /*Minus:*/ - case -1:{ - cairo_move_to(c,xp+2.5,yp+4.5); - cairo_line_to(c,xp+6.5,yp+4.5); - cairo_stroke_preserve(c); - cairo_set_source_rgba(c,1.,.3,.1,1.); - }break; - default:continue; - } - cairo_set_line_width(c,1.); - cairo_stroke(c); - } - } - } - col2++; - if((col2>>1)>=_dec->state.nhmbs){ - col2=0; - row2+=2; - } - } - /*Bit usage indicator[s]:*/ - if(_dec->telemetry_bits){ - int widths[6]; - int fpsn; - int fpsd; - int mult; - int fullw; - int padw; - int i; - fpsn=_dec->state.info.fps_numerator; - fpsd=_dec->state.info.fps_denominator; - mult=(_dec->telemetry_bits>=0xFF?1:_dec->telemetry_bits); - fullw=250.f*h*fpsd*mult/fpsn; - padw=w-24; - /*Header and coded block bits.*/ - if(_dec->telemetry_frame_bytes<0|| - _dec->telemetry_frame_bytes==OC_LOTS_OF_BITS){ - _dec->telemetry_frame_bytes=0; - } - if(_dec->telemetry_coding_bytes<0|| - _dec->telemetry_coding_bytes>_dec->telemetry_frame_bytes){ - _dec->telemetry_coding_bytes=0; - } - if(_dec->telemetry_mode_bytes<0|| - _dec->telemetry_mode_bytes>_dec->telemetry_frame_bytes){ - _dec->telemetry_mode_bytes=0; - } - if(_dec->telemetry_mv_bytes<0|| - _dec->telemetry_mv_bytes>_dec->telemetry_frame_bytes){ - _dec->telemetry_mv_bytes=0; - } - if(_dec->telemetry_qi_bytes<0|| - _dec->telemetry_qi_bytes>_dec->telemetry_frame_bytes){ - _dec->telemetry_qi_bytes=0; - } - if(_dec->telemetry_dc_bytes<0|| - _dec->telemetry_dc_bytes>_dec->telemetry_frame_bytes){ - _dec->telemetry_dc_bytes=0; - } - widths[0]=padw*(_dec->telemetry_frame_bytes-_dec->telemetry_coding_bytes)/fullw; - widths[1]=padw*(_dec->telemetry_coding_bytes-_dec->telemetry_mode_bytes)/fullw; - widths[2]=padw*(_dec->telemetry_mode_bytes-_dec->telemetry_mv_bytes)/fullw; - widths[3]=padw*(_dec->telemetry_mv_bytes-_dec->telemetry_qi_bytes)/fullw; - widths[4]=padw*(_dec->telemetry_qi_bytes-_dec->telemetry_dc_bytes)/fullw; - widths[5]=padw*(_dec->telemetry_dc_bytes)/fullw; - for(i=0;i<6;i++)if(widths[i]>w)widths[i]=w; - cairo_set_source_rgba(c,.0,.0,.0,.6); - cairo_rectangle(c,10,h-33,widths[0]+1,5); - cairo_rectangle(c,10,h-29,widths[1]+1,5); - cairo_rectangle(c,10,h-25,widths[2]+1,5); - cairo_rectangle(c,10,h-21,widths[3]+1,5); - cairo_rectangle(c,10,h-17,widths[4]+1,5); - cairo_rectangle(c,10,h-13,widths[5]+1,5); - cairo_fill(c); - cairo_set_source_rgb(c,1,0,0); - cairo_rectangle(c,10.5,h-32.5,widths[0],4); - cairo_fill(c); - cairo_set_source_rgb(c,0,1,0); - cairo_rectangle(c,10.5,h-28.5,widths[1],4); - cairo_fill(c); - cairo_set_source_rgb(c,0,0,1); - cairo_rectangle(c,10.5,h-24.5,widths[2],4); - cairo_fill(c); - cairo_set_source_rgb(c,.6,.4,.0); - cairo_rectangle(c,10.5,h-20.5,widths[3],4); - cairo_fill(c); - cairo_set_source_rgb(c,.3,.3,.3); - cairo_rectangle(c,10.5,h-16.5,widths[4],4); - cairo_fill(c); - cairo_set_source_rgb(c,.5,.5,.8); - cairo_rectangle(c,10.5,h-12.5,widths[5],4); - cairo_fill(c); - } - /*Master qi indicator[s]:*/ - if(_dec->telemetry_qi&0x1){ - cairo_text_extents_t extents; - char buffer[10]; - int p; - int y; - p=0; - y=h-7.5; - if(_dec->state.qis[0]>=10)buffer[p++]=48+_dec->state.qis[0]/10; - buffer[p++]=48+_dec->state.qis[0]%10; - if(_dec->state.nqis>=2){ - buffer[p++]=' '; - if(_dec->state.qis[1]>=10)buffer[p++]=48+_dec->state.qis[1]/10; - buffer[p++]=48+_dec->state.qis[1]%10; - } - if(_dec->state.nqis==3){ - buffer[p++]=' '; - if(_dec->state.qis[2]>=10)buffer[p++]=48+_dec->state.qis[2]/10; - buffer[p++]=48+_dec->state.qis[2]%10; - } - buffer[p++]='\0'; - cairo_select_font_face(c,"sans", - CAIRO_FONT_SLANT_NORMAL,CAIRO_FONT_WEIGHT_BOLD); - cairo_set_font_size(c,18); - cairo_text_extents(c,buffer,&extents); - cairo_set_source_rgb(c,1,1,1); - cairo_move_to(c,w-extents.x_advance-10,y); - cairo_show_text(c,buffer); - cairo_set_source_rgb(c,0,0,0); - cairo_move_to(c,w-extents.x_advance-10,y); - cairo_text_path(c,buffer); - cairo_set_line_width(c,.8); - cairo_set_line_join(c,CAIRO_LINE_JOIN_ROUND); - cairo_stroke(c); - } - cairo_destroy(c); - } - /*Out of the Cairo plane into the telemetry YUV buffer.*/ - _ycbcr[0].data=_dec->telemetry_frame_data; - _ycbcr[0].stride=_ycbcr[0].width; - _ycbcr[1].data=_ycbcr[0].data+h*_ycbcr[0].stride; - _ycbcr[1].stride=_ycbcr[1].width; - _ycbcr[2].data=_ycbcr[1].data+(h>>vdec)*_ycbcr[1].stride; - _ycbcr[2].stride=_ycbcr[2].width; - y_row=_ycbcr[0].data; - u_row=_ycbcr[1].data; - v_row=_ycbcr[2].data; - rgb_row=data; - /*This is one of the few places it's worth handling chroma on a - case-by-case basis.*/ - switch(_dec->state.info.pixel_fmt){ - case TH_PF_420:{ - for(y=0;y>1]=OC_CLAMP255(u); - v_row[x>>1]=OC_CLAMP255(v); - } - y_row+=_ycbcr[0].stride<<1; - u_row+=_ycbcr[1].stride; - v_row+=_ycbcr[2].stride; - rgb_row+=cstride<<1; - } - }break; - case TH_PF_422:{ - for(y=0;y>1]=OC_CLAMP255(u); - v_row[x>>1]=OC_CLAMP255(v); - } - y_row+=_ycbcr[0].stride; - u_row+=_ycbcr[1].stride; - v_row+=_ycbcr[2].stride; - rgb_row+=cstride; - } - }break; - /*case TH_PF_444:*/ - default:{ - for(y=0;y -#include -#include -#include "dequant.h" -#include "decint.h" - -int oc_quant_params_unpack(oc_pack_buf *_opb,th_quant_info *_qinfo){ - th_quant_base *base_mats; - long val; - int nbase_mats; - int sizes[64]; - int indices[64]; - int nbits; - int bmi; - int ci; - int qti; - int pli; - int qri; - int qi; - int i; - val=oc_pack_read(_opb,3); - nbits=(int)val; - for(qi=0;qi<64;qi++){ - val=oc_pack_read(_opb,nbits); - _qinfo->loop_filter_limits[qi]=(unsigned char)val; - } - val=oc_pack_read(_opb,4); - nbits=(int)val+1; - for(qi=0;qi<64;qi++){ - val=oc_pack_read(_opb,nbits); - _qinfo->ac_scale[qi]=(ogg_uint16_t)val; - } - val=oc_pack_read(_opb,4); - nbits=(int)val+1; - for(qi=0;qi<64;qi++){ - val=oc_pack_read(_opb,nbits); - _qinfo->dc_scale[qi]=(ogg_uint16_t)val; - } - val=oc_pack_read(_opb,9); - nbase_mats=(int)val+1; - base_mats=_ogg_malloc(nbase_mats*sizeof(base_mats[0])); - if(base_mats==NULL)return TH_EFAULT; - for(bmi=0;bmiqi_ranges[qti]+pli; - if(i>0){ - val=oc_pack_read1(_opb); - if(!val){ - int qtj; - int plj; - if(qti>0){ - val=oc_pack_read1(_opb); - if(val){ - qtj=qti-1; - plj=pli; - } - else{ - qtj=(i-1)/3; - plj=(i-1)%3; - } - } - else{ - qtj=(i-1)/3; - plj=(i-1)%3; - } - *qranges=*(_qinfo->qi_ranges[qtj]+plj); - continue; - } - } - val=oc_pack_read(_opb,nbits); - indices[0]=(int)val; - for(qi=qri=0;qi<63;){ - val=oc_pack_read(_opb,oc_ilog(62-qi)); - sizes[qri]=(int)val+1; - qi+=(int)val+1; - val=oc_pack_read(_opb,nbits); - indices[++qri]=(int)val; - } - /*Note: The caller is responsible for cleaning up any partially - constructed qinfo.*/ - if(qi>63){ - _ogg_free(base_mats); - return TH_EBADHEADER; - } - qranges->nranges=qri; - qranges->sizes=qrsizes=(int *)_ogg_malloc(qri*sizeof(qrsizes[0])); - if(qranges->sizes==NULL){ - /*Note: The caller is responsible for cleaning up any partially - constructed qinfo.*/ - _ogg_free(base_mats); - return TH_EFAULT; - } - memcpy(qrsizes,sizes,qri*sizeof(qrsizes[0])); - qrbms=(th_quant_base *)_ogg_malloc((qri+1)*sizeof(qrbms[0])); - if(qrbms==NULL){ - /*Note: The caller is responsible for cleaning up any partially - constructed qinfo.*/ - _ogg_free(base_mats); - return TH_EFAULT; - } - qranges->base_matrices=(const th_quant_base *)qrbms; - do{ - bmi=indices[qri]; - /*Note: The caller is responsible for cleaning up any partially - constructed qinfo.*/ - if(bmi>=nbase_mats){ - _ogg_free(base_mats); - return TH_EBADHEADER; - } - memcpy(qrbms[qri],base_mats[bmi],sizeof(qrbms[qri])); - } - while(qri-->0); - } - _ogg_free(base_mats); - return 0; -} - -void oc_quant_params_clear(th_quant_info *_qinfo){ - int i; - for(i=6;i-->0;){ - int qti; - int pli; - qti=i/3; - pli=i%3; - /*Clear any duplicate pointer references.*/ - if(i>0){ - int qtj; - int plj; - qtj=(i-1)/3; - plj=(i-1)%3; - if(_qinfo->qi_ranges[qti][pli].sizes== - _qinfo->qi_ranges[qtj][plj].sizes){ - _qinfo->qi_ranges[qti][pli].sizes=NULL; - } - if(_qinfo->qi_ranges[qti][pli].base_matrices== - _qinfo->qi_ranges[qtj][plj].base_matrices){ - _qinfo->qi_ranges[qti][pli].base_matrices=NULL; - } - } - if(qti>0){ - if(_qinfo->qi_ranges[1][pli].sizes== - _qinfo->qi_ranges[0][pli].sizes){ - _qinfo->qi_ranges[1][pli].sizes=NULL; - } - if(_qinfo->qi_ranges[1][pli].base_matrices== - _qinfo->qi_ranges[0][pli].base_matrices){ - _qinfo->qi_ranges[1][pli].base_matrices=NULL; - } - } - /*Now free all the non-duplicate storage.*/ - _ogg_free((void *)_qinfo->qi_ranges[qti][pli].sizes); - _ogg_free((void *)_qinfo->qi_ranges[qti][pli].base_matrices); - } -} diff --git a/Libraries/libtheora-1.1.1/lib/dequant.h b/Libraries/libtheora-1.1.1/lib/dequant.h deleted file mode 100644 index ef25838e..00000000 --- a/Libraries/libtheora-1.1.1/lib/dequant.h +++ /dev/null @@ -1,27 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: dequant.h 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#if !defined(_dequant_H) -# define _dequant_H (1) -# include "quant.h" -# include "bitpack.h" - -int oc_quant_params_unpack(oc_pack_buf *_opb, - th_quant_info *_qinfo); -void oc_quant_params_clear(th_quant_info *_qinfo); - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/encapiwrapper.c b/Libraries/libtheora-1.1.1/lib/encapiwrapper.c deleted file mode 100644 index 874f1244..00000000 --- a/Libraries/libtheora-1.1.1/lib/encapiwrapper.c +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include -#include "apiwrapper.h" -#include "encint.h" -#include "theora/theoraenc.h" - - - -static void th_enc_api_clear(th_api_wrapper *_api){ - if(_api->encode)th_encode_free(_api->encode); - memset(_api,0,sizeof(*_api)); -} - -static void theora_encode_clear(theora_state *_te){ - if(_te->i!=NULL)theora_info_clear(_te->i); - memset(_te,0,sizeof(*_te)); -} - -static int theora_encode_control(theora_state *_te,int _req, - void *_buf,size_t _buf_sz){ - return th_encode_ctl(((th_api_wrapper *)_te->i->codec_setup)->encode, - _req,_buf,_buf_sz); -} - -static ogg_int64_t theora_encode_granule_frame(theora_state *_te, - ogg_int64_t _gp){ - return th_granule_frame(((th_api_wrapper *)_te->i->codec_setup)->encode,_gp); -} - -static double theora_encode_granule_time(theora_state *_te,ogg_int64_t _gp){ - return th_granule_time(((th_api_wrapper *)_te->i->codec_setup)->encode,_gp); -} - -static const oc_state_dispatch_vtable OC_ENC_DISPATCH_VTBL={ - (oc_state_clear_func)theora_encode_clear, - (oc_state_control_func)theora_encode_control, - (oc_state_granule_frame_func)theora_encode_granule_frame, - (oc_state_granule_time_func)theora_encode_granule_time, -}; - -int theora_encode_init(theora_state *_te,theora_info *_ci){ - th_api_info *apiinfo; - th_info info; - ogg_uint32_t keyframe_frequency_force; - /*Allocate our own combined API wrapper/theora_info struct. - We put them both in one malloc'd block so that when the API wrapper is - freed, the info struct goes with it. - This avoids having to figure out whether or not we need to free the info - struct in either theora_info_clear() or theora_clear().*/ - apiinfo=(th_api_info *)_ogg_malloc(sizeof(*apiinfo)); - if(apiinfo==NULL)return TH_EFAULT; - /*Make our own copy of the info struct, since its lifetime should be - independent of the one we were passed in.*/ - *&apiinfo->info=*_ci; - oc_theora_info2th_info(&info,_ci); - apiinfo->api.encode=th_encode_alloc(&info); - if(apiinfo->api.encode==NULL){ - _ogg_free(apiinfo); - return OC_EINVAL; - } - apiinfo->api.clear=(oc_setup_clear_func)th_enc_api_clear; - /*Provide entry points for ABI compatibility with old decoder shared libs.*/ - _te->internal_encode=(void *)&OC_ENC_DISPATCH_VTBL; - _te->internal_decode=NULL; - _te->granulepos=0; - _te->i=&apiinfo->info; - _te->i->codec_setup=&apiinfo->api; - /*Set the precise requested keyframe frequency.*/ - keyframe_frequency_force=_ci->keyframe_auto_p? - _ci->keyframe_frequency_force:_ci->keyframe_frequency; - th_encode_ctl(apiinfo->api.encode, - TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE, - &keyframe_frequency_force,sizeof(keyframe_frequency_force)); - /*TODO: Additional codec setup using the extra fields in theora_info.*/ - return 0; -} - -int theora_encode_YUVin(theora_state *_te,yuv_buffer *_yuv){ - th_api_wrapper *api; - th_ycbcr_buffer buf; - int ret; - api=(th_api_wrapper *)_te->i->codec_setup; - buf[0].width=_yuv->y_width; - buf[0].height=_yuv->y_height; - buf[0].stride=_yuv->y_stride; - buf[0].data=_yuv->y; - buf[1].width=_yuv->uv_width; - buf[1].height=_yuv->uv_height; - buf[1].stride=_yuv->uv_stride; - buf[1].data=_yuv->u; - buf[2].width=_yuv->uv_width; - buf[2].height=_yuv->uv_height; - buf[2].stride=_yuv->uv_stride; - buf[2].data=_yuv->v; - ret=th_encode_ycbcr_in(api->encode,buf); - if(ret<0)return ret; - _te->granulepos=api->encode->state.granpos; - return ret; -} - -int theora_encode_packetout(theora_state *_te,int _last_p,ogg_packet *_op){ - th_api_wrapper *api; - api=(th_api_wrapper *)_te->i->codec_setup; - return th_encode_packetout(api->encode,_last_p,_op); -} - -int theora_encode_header(theora_state *_te,ogg_packet *_op){ - oc_enc_ctx *enc; - th_api_wrapper *api; - int ret; - api=(th_api_wrapper *)_te->i->codec_setup; - enc=api->encode; - /*If we've already started encoding, fail.*/ - if(enc->packet_state>OC_PACKET_EMPTY||enc->state.granpos!=0){ - return TH_EINVAL; - } - /*Reset the state to make sure we output an info packet.*/ - enc->packet_state=OC_PACKET_INFO_HDR; - ret=th_encode_flushheader(api->encode,NULL,_op); - return ret>=0?0:ret; -} - -int theora_encode_comment(theora_comment *_tc,ogg_packet *_op){ - oggpack_buffer opb; - void *buf; - int packet_state; - int ret; - packet_state=OC_PACKET_COMMENT_HDR; - oggpackB_writeinit(&opb); - ret=oc_state_flushheader(NULL,&packet_state,&opb,NULL,NULL, - th_version_string(),(th_comment *)_tc,_op); - if(ret>=0){ - /*The oggpack_buffer's lifetime ends with this function, so we have to - copy out the packet contents. - Presumably the application knows it is supposed to free this. - This part works nothing like the Vorbis API, and the documentation on it - has been wrong for some time, claiming libtheora owned the memory.*/ - buf=_ogg_malloc(_op->bytes); - if(buf==NULL){ - _op->packet=NULL; - ret=TH_EFAULT; - } - else{ - memcpy(buf,_op->packet,_op->bytes); - _op->packet=buf; - ret=0; - } - } - oggpack_writeclear(&opb); - return ret; -} - -int theora_encode_tables(theora_state *_te,ogg_packet *_op){ - oc_enc_ctx *enc; - th_api_wrapper *api; - int ret; - api=(th_api_wrapper *)_te->i->codec_setup; - enc=api->encode; - /*If we've already started encoding, fail.*/ - if(enc->packet_state>OC_PACKET_EMPTY||enc->state.granpos!=0){ - return TH_EINVAL; - } - /*Reset the state to make sure we output a setup packet.*/ - enc->packet_state=OC_PACKET_SETUP_HDR; - ret=th_encode_flushheader(api->encode,NULL,_op); - return ret>=0?0:ret; -} diff --git a/Libraries/libtheora-1.1.1/lib/encfrag.c b/Libraries/libtheora-1.1.1/lib/encfrag.c deleted file mode 100644 index bb814c8e..00000000 --- a/Libraries/libtheora-1.1.1/lib/encfrag.c +++ /dev/null @@ -1,388 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: encfrag.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ -#include -#include -#include "encint.h" - - -void oc_enc_frag_sub(const oc_enc_ctx *_enc,ogg_int16_t _diff[64], - const unsigned char *_src,const unsigned char *_ref,int _ystride){ - (*_enc->opt_vtable.frag_sub)(_diff,_src,_ref,_ystride); -} - -void oc_enc_frag_sub_c(ogg_int16_t _diff[64],const unsigned char *_src, - const unsigned char *_ref,int _ystride){ - int i; - for(i=0;i<8;i++){ - int j; - for(j=0;j<8;j++)_diff[i*8+j]=(ogg_int16_t)(_src[j]-_ref[j]); - _src+=_ystride; - _ref+=_ystride; - } -} - -void oc_enc_frag_sub_128(const oc_enc_ctx *_enc,ogg_int16_t _diff[64], - const unsigned char *_src,int _ystride){ - (*_enc->opt_vtable.frag_sub_128)(_diff,_src,_ystride); -} - -void oc_enc_frag_sub_128_c(ogg_int16_t *_diff, - const unsigned char *_src,int _ystride){ - int i; - for(i=0;i<8;i++){ - int j; - for(j=0;j<8;j++)_diff[i*8+j]=(ogg_int16_t)(_src[j]-128); - _src+=_ystride; - } -} - -unsigned oc_enc_frag_sad(const oc_enc_ctx *_enc,const unsigned char *_x, - const unsigned char *_y,int _ystride){ - return (*_enc->opt_vtable.frag_sad)(_x,_y,_ystride); -} - -unsigned oc_enc_frag_sad_c(const unsigned char *_src, - const unsigned char *_ref,int _ystride){ - unsigned sad; - int i; - sad=0; - for(i=8;i-->0;){ - int j; - for(j=0;j<8;j++)sad+=abs(_src[j]-_ref[j]); - _src+=_ystride; - _ref+=_ystride; - } - return sad; -} - -unsigned oc_enc_frag_sad_thresh(const oc_enc_ctx *_enc, - const unsigned char *_src,const unsigned char *_ref,int _ystride, - unsigned _thresh){ - return (*_enc->opt_vtable.frag_sad_thresh)(_src,_ref,_ystride,_thresh); -} - -unsigned oc_enc_frag_sad_thresh_c(const unsigned char *_src, - const unsigned char *_ref,int _ystride,unsigned _thresh){ - unsigned sad; - int i; - sad=0; - for(i=8;i-->0;){ - int j; - for(j=0;j<8;j++)sad+=abs(_src[j]-_ref[j]); - if(sad>_thresh)break; - _src+=_ystride; - _ref+=_ystride; - } - return sad; -} - -unsigned oc_enc_frag_sad2_thresh(const oc_enc_ctx *_enc, - const unsigned char *_src,const unsigned char *_ref1, - const unsigned char *_ref2,int _ystride,unsigned _thresh){ - return (*_enc->opt_vtable.frag_sad2_thresh)(_src,_ref1,_ref2,_ystride, - _thresh); -} - -unsigned oc_enc_frag_sad2_thresh_c(const unsigned char *_src, - const unsigned char *_ref1,const unsigned char *_ref2,int _ystride, - unsigned _thresh){ - unsigned sad; - int i; - sad=0; - for(i=8;i-->0;){ - int j; - for(j=0;j<8;j++)sad+=abs(_src[j]-(_ref1[j]+_ref2[j]>>1)); - if(sad>_thresh)break; - _src+=_ystride; - _ref1+=_ystride; - _ref2+=_ystride; - } - return sad; -} - -static void oc_diff_hadamard(ogg_int16_t _buf[64],const unsigned char *_src, - const unsigned char *_ref,int _ystride){ - int i; - for(i=0;i<8;i++){ - int t0; - int t1; - int t2; - int t3; - int t4; - int t5; - int t6; - int t7; - int r; - /*Hadamard stage 1:*/ - t0=_src[0]-_ref[0]+_src[4]-_ref[4]; - t4=_src[0]-_ref[0]-_src[4]+_ref[4]; - t1=_src[1]-_ref[1]+_src[5]-_ref[5]; - t5=_src[1]-_ref[1]-_src[5]+_ref[5]; - t2=_src[2]-_ref[2]+_src[6]-_ref[6]; - t6=_src[2]-_ref[2]-_src[6]+_ref[6]; - t3=_src[3]-_ref[3]+_src[7]-_ref[7]; - t7=_src[3]-_ref[3]-_src[7]+_ref[7]; - /*Hadamard stage 2:*/ - r=t0; - t0+=t2; - t2=r-t2; - r=t1; - t1+=t3; - t3=r-t3; - r=t4; - t4+=t6; - t6=r-t6; - r=t5; - t5+=t7; - t7=r-t7; - /*Hadamard stage 3:*/ - _buf[0*8+i]=(ogg_int16_t)(t0+t1); - _buf[1*8+i]=(ogg_int16_t)(t0-t1); - _buf[2*8+i]=(ogg_int16_t)(t2+t3); - _buf[3*8+i]=(ogg_int16_t)(t2-t3); - _buf[4*8+i]=(ogg_int16_t)(t4+t5); - _buf[5*8+i]=(ogg_int16_t)(t4-t5); - _buf[6*8+i]=(ogg_int16_t)(t6+t7); - _buf[7*8+i]=(ogg_int16_t)(t6-t7); - _src+=_ystride; - _ref+=_ystride; - } -} - -static void oc_diff_hadamard2(ogg_int16_t _buf[64],const unsigned char *_src, - const unsigned char *_ref1,const unsigned char *_ref2,int _ystride){ - int i; - for(i=0;i<8;i++){ - int t0; - int t1; - int t2; - int t3; - int t4; - int t5; - int t6; - int t7; - int r; - /*Hadamard stage 1:*/ - r=_ref1[0]+_ref2[0]>>1; - t4=_ref1[4]+_ref2[4]>>1; - t0=_src[0]-r+_src[4]-t4; - t4=_src[0]-r-_src[4]+t4; - r=_ref1[1]+_ref2[1]>>1; - t5=_ref1[5]+_ref2[5]>>1; - t1=_src[1]-r+_src[5]-t5; - t5=_src[1]-r-_src[5]+t5; - r=_ref1[2]+_ref2[2]>>1; - t6=_ref1[6]+_ref2[6]>>1; - t2=_src[2]-r+_src[6]-t6; - t6=_src[2]-r-_src[6]+t6; - r=_ref1[3]+_ref2[3]>>1; - t7=_ref1[7]+_ref2[7]>>1; - t3=_src[3]-r+_src[7]-t7; - t7=_src[3]-r-_src[7]+t7; - /*Hadamard stage 2:*/ - r=t0; - t0+=t2; - t2=r-t2; - r=t1; - t1+=t3; - t3=r-t3; - r=t4; - t4+=t6; - t6=r-t6; - r=t5; - t5+=t7; - t7=r-t7; - /*Hadamard stage 3:*/ - _buf[0*8+i]=(ogg_int16_t)(t0+t1); - _buf[1*8+i]=(ogg_int16_t)(t0-t1); - _buf[2*8+i]=(ogg_int16_t)(t2+t3); - _buf[3*8+i]=(ogg_int16_t)(t2-t3); - _buf[4*8+i]=(ogg_int16_t)(t4+t5); - _buf[5*8+i]=(ogg_int16_t)(t4-t5); - _buf[6*8+i]=(ogg_int16_t)(t6+t7); - _buf[7*8+i]=(ogg_int16_t)(t6-t7); - _src+=_ystride; - _ref1+=_ystride; - _ref2+=_ystride; - } -} - -static void oc_intra_hadamard(ogg_int16_t _buf[64],const unsigned char *_src, - int _ystride){ - int i; - for(i=0;i<8;i++){ - int t0; - int t1; - int t2; - int t3; - int t4; - int t5; - int t6; - int t7; - int r; - /*Hadamard stage 1:*/ - t0=_src[0]+_src[4]; - t4=_src[0]-_src[4]; - t1=_src[1]+_src[5]; - t5=_src[1]-_src[5]; - t2=_src[2]+_src[6]; - t6=_src[2]-_src[6]; - t3=_src[3]+_src[7]; - t7=_src[3]-_src[7]; - /*Hadamard stage 2:*/ - r=t0; - t0+=t2; - t2=r-t2; - r=t1; - t1+=t3; - t3=r-t3; - r=t4; - t4+=t6; - t6=r-t6; - r=t5; - t5+=t7; - t7=r-t7; - /*Hadamard stage 3:*/ - _buf[0*8+i]=(ogg_int16_t)(t0+t1); - _buf[1*8+i]=(ogg_int16_t)(t0-t1); - _buf[2*8+i]=(ogg_int16_t)(t2+t3); - _buf[3*8+i]=(ogg_int16_t)(t2-t3); - _buf[4*8+i]=(ogg_int16_t)(t4+t5); - _buf[5*8+i]=(ogg_int16_t)(t4-t5); - _buf[6*8+i]=(ogg_int16_t)(t6+t7); - _buf[7*8+i]=(ogg_int16_t)(t6-t7); - _src+=_ystride; - } -} - -unsigned oc_hadamard_sad_thresh(const ogg_int16_t _buf[64],unsigned _thresh){ - unsigned sad; - int t0; - int t1; - int t2; - int t3; - int t4; - int t5; - int t6; - int t7; - int r; - int i; - sad=0; - for(i=0;i<8;i++){ - /*Hadamard stage 1:*/ - t0=_buf[i*8+0]+_buf[i*8+4]; - t4=_buf[i*8+0]-_buf[i*8+4]; - t1=_buf[i*8+1]+_buf[i*8+5]; - t5=_buf[i*8+1]-_buf[i*8+5]; - t2=_buf[i*8+2]+_buf[i*8+6]; - t6=_buf[i*8+2]-_buf[i*8+6]; - t3=_buf[i*8+3]+_buf[i*8+7]; - t7=_buf[i*8+3]-_buf[i*8+7]; - /*Hadamard stage 2:*/ - r=t0; - t0+=t2; - t2=r-t2; - r=t1; - t1+=t3; - t3=r-t3; - r=t4; - t4+=t6; - t6=r-t6; - r=t5; - t5+=t7; - t7=r-t7; - /*Hadamard stage 3:*/ - r=abs(t0+t1); - r+=abs(t0-t1); - r+=abs(t2+t3); - r+=abs(t2-t3); - r+=abs(t4+t5); - r+=abs(t4-t5); - r+=abs(t6+t7); - r+=abs(t6-t7); - sad+=r; - if(sad>_thresh)break; - } - return sad; -} - -unsigned oc_enc_frag_satd_thresh(const oc_enc_ctx *_enc, - const unsigned char *_src,const unsigned char *_ref,int _ystride, - unsigned _thresh){ - return (*_enc->opt_vtable.frag_satd_thresh)(_src,_ref,_ystride,_thresh); -} - -unsigned oc_enc_frag_satd_thresh_c(const unsigned char *_src, - const unsigned char *_ref,int _ystride,unsigned _thresh){ - ogg_int16_t buf[64]; - oc_diff_hadamard(buf,_src,_ref,_ystride); - return oc_hadamard_sad_thresh(buf,_thresh); -} - -unsigned oc_enc_frag_satd2_thresh(const oc_enc_ctx *_enc, - const unsigned char *_src,const unsigned char *_ref1, - const unsigned char *_ref2,int _ystride,unsigned _thresh){ - return (*_enc->opt_vtable.frag_satd2_thresh)(_src,_ref1,_ref2,_ystride, - _thresh); -} - -unsigned oc_enc_frag_satd2_thresh_c(const unsigned char *_src, - const unsigned char *_ref1,const unsigned char *_ref2,int _ystride, - unsigned _thresh){ - ogg_int16_t buf[64]; - oc_diff_hadamard2(buf,_src,_ref1,_ref2,_ystride); - return oc_hadamard_sad_thresh(buf,_thresh); -} - -unsigned oc_enc_frag_intra_satd(const oc_enc_ctx *_enc, - const unsigned char *_src,int _ystride){ - return (*_enc->opt_vtable.frag_intra_satd)(_src,_ystride); -} - -unsigned oc_enc_frag_intra_satd_c(const unsigned char *_src,int _ystride){ - ogg_int16_t buf[64]; - oc_intra_hadamard(buf,_src,_ystride); - return oc_hadamard_sad_thresh(buf,UINT_MAX) - -abs(buf[0]+buf[1]+buf[2]+buf[3]+buf[4]+buf[5]+buf[6]+buf[7]); -} - -void oc_enc_frag_copy2(const oc_enc_ctx *_enc,unsigned char *_dst, - const unsigned char *_src1,const unsigned char *_src2,int _ystride){ - (*_enc->opt_vtable.frag_copy2)(_dst,_src1,_src2,_ystride); -} - -void oc_enc_frag_copy2_c(unsigned char *_dst, - const unsigned char *_src1,const unsigned char *_src2,int _ystride){ - int i; - int j; - for(i=8;i-->0;){ - for(j=0;j<8;j++)_dst[j]=_src1[j]+_src2[j]>>1; - _dst+=_ystride; - _src1+=_ystride; - _src2+=_ystride; - } -} - -void oc_enc_frag_recon_intra(const oc_enc_ctx *_enc, - unsigned char *_dst,int _ystride,const ogg_int16_t _residue[64]){ - (*_enc->opt_vtable.frag_recon_intra)(_dst,_ystride,_residue); -} - -void oc_enc_frag_recon_inter(const oc_enc_ctx *_enc,unsigned char *_dst, - const unsigned char *_src,int _ystride,const ogg_int16_t _residue[64]){ - (*_enc->opt_vtable.frag_recon_inter)(_dst,_src,_ystride,_residue); -} diff --git a/Libraries/libtheora-1.1.1/lib/encinfo.c b/Libraries/libtheora-1.1.1/lib/encinfo.c deleted file mode 100644 index 83be1dae..00000000 --- a/Libraries/libtheora-1.1.1/lib/encinfo.c +++ /dev/null @@ -1,121 +0,0 @@ -#include -#include -#include "internal.h" -#include "enquant.h" -#include "huffenc.h" - - - -/*Packs a series of octets from a given byte array into the pack buffer. - _opb: The pack buffer to store the octets in. - _buf: The byte array containing the bytes to pack. - _len: The number of octets to pack.*/ -static void oc_pack_octets(oggpack_buffer *_opb,const char *_buf,int _len){ - int i; - for(i=0;i<_len;i++)oggpackB_write(_opb,_buf[i],8); -} - - - -int oc_state_flushheader(oc_theora_state *_state,int *_packet_state, - oggpack_buffer *_opb,const th_quant_info *_qinfo, - const th_huff_code _codes[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS], - const char *_vendor,th_comment *_tc,ogg_packet *_op){ - unsigned char *packet; - int b_o_s; - if(_op==NULL)return TH_EFAULT; - switch(*_packet_state){ - /*Codec info header.*/ - case OC_PACKET_INFO_HDR:{ - if(_state==NULL)return TH_EFAULT; - oggpackB_reset(_opb); - /*Mark this packet as the info header.*/ - oggpackB_write(_opb,0x80,8); - /*Write the codec string.*/ - oc_pack_octets(_opb,"theora",6); - /*Write the codec bitstream version.*/ - oggpackB_write(_opb,TH_VERSION_MAJOR,8); - oggpackB_write(_opb,TH_VERSION_MINOR,8); - oggpackB_write(_opb,TH_VERSION_SUB,8); - /*Describe the encoded frame.*/ - oggpackB_write(_opb,_state->info.frame_width>>4,16); - oggpackB_write(_opb,_state->info.frame_height>>4,16); - oggpackB_write(_opb,_state->info.pic_width,24); - oggpackB_write(_opb,_state->info.pic_height,24); - oggpackB_write(_opb,_state->info.pic_x,8); - oggpackB_write(_opb,_state->info.pic_y,8); - oggpackB_write(_opb,_state->info.fps_numerator,32); - oggpackB_write(_opb,_state->info.fps_denominator,32); - oggpackB_write(_opb,_state->info.aspect_numerator,24); - oggpackB_write(_opb,_state->info.aspect_denominator,24); - oggpackB_write(_opb,_state->info.colorspace,8); - oggpackB_write(_opb,_state->info.target_bitrate,24); - oggpackB_write(_opb,_state->info.quality,6); - oggpackB_write(_opb,_state->info.keyframe_granule_shift,5); - oggpackB_write(_opb,_state->info.pixel_fmt,2); - /*Spare configuration bits.*/ - oggpackB_write(_opb,0,3); - b_o_s=1; - }break; - /*Comment header.*/ - case OC_PACKET_COMMENT_HDR:{ - int vendor_len; - int i; - if(_tc==NULL)return TH_EFAULT; - vendor_len=strlen(_vendor); - oggpackB_reset(_opb); - /*Mark this packet as the comment header.*/ - oggpackB_write(_opb,0x81,8); - /*Write the codec string.*/ - oc_pack_octets(_opb,"theora",6); - /*Write the vendor string.*/ - oggpack_write(_opb,vendor_len,32); - oc_pack_octets(_opb,_vendor,vendor_len); - oggpack_write(_opb,_tc->comments,32); - for(i=0;i<_tc->comments;i++){ - if(_tc->user_comments[i]!=NULL){ - oggpack_write(_opb,_tc->comment_lengths[i],32); - oc_pack_octets(_opb,_tc->user_comments[i],_tc->comment_lengths[i]); - } - else oggpack_write(_opb,0,32); - } - b_o_s=0; - }break; - /*Codec setup header.*/ - case OC_PACKET_SETUP_HDR:{ - int ret; - oggpackB_reset(_opb); - /*Mark this packet as the setup header.*/ - oggpackB_write(_opb,0x82,8); - /*Write the codec string.*/ - oc_pack_octets(_opb,"theora",6); - /*Write the quantizer tables.*/ - oc_quant_params_pack(_opb,_qinfo); - /*Write the huffman codes.*/ - ret=oc_huff_codes_pack(_opb,_codes); - /*This should never happen, because we validate the tables when they - are set. - If you see, it's a good chance memory is being corrupted.*/ - if(ret<0)return ret; - b_o_s=0; - }break; - /*No more headers to emit.*/ - default:return 0; - } - /*This is kind of fugly: we hand the user a buffer which they do not own. - We will overwrite it when the next packet is output, so the user better be - done with it by then. - Vorbis is little better: it hands back buffers that it will free the next - time the headers are requested, or when the encoder is cleared. - Hopefully libogg2 will make this much cleaner.*/ - packet=oggpackB_get_buffer(_opb); - /*If there's no packet, malloc failed while writing.*/ - if(packet==NULL)return TH_EFAULT; - _op->packet=packet; - _op->bytes=oggpackB_bytes(_opb); - _op->b_o_s=b_o_s; - _op->e_o_s=0; - _op->granulepos=0; - _op->packetno=*_packet_state+3; - return ++(*_packet_state)+3; -} diff --git a/Libraries/libtheora-1.1.1/lib/encint.h b/Libraries/libtheora-1.1.1/lib/encint.h deleted file mode 100644 index 97897d5a..00000000 --- a/Libraries/libtheora-1.1.1/lib/encint.h +++ /dev/null @@ -1,493 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: encint.h 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ -#if !defined(_encint_H) -# define _encint_H (1) -# if defined(HAVE_CONFIG_H) -# include "config.h" -# endif -# include "theora/theoraenc.h" -# include "internal.h" -# include "ocintrin.h" -# include "mathops.h" -# include "enquant.h" -# include "huffenc.h" -/*# define OC_COLLECT_METRICS*/ - - - -typedef oc_mv oc_mv2[2]; - -typedef struct oc_enc_opt_vtable oc_enc_opt_vtable; -typedef struct oc_mb_enc_info oc_mb_enc_info; -typedef struct oc_mode_scheme_chooser oc_mode_scheme_chooser; -typedef struct oc_iir_filter oc_iir_filter; -typedef struct oc_frame_metrics oc_frame_metrics; -typedef struct oc_rc_state oc_rc_state; -typedef struct th_enc_ctx oc_enc_ctx; -typedef struct oc_token_checkpoint oc_token_checkpoint; - - - -/*Constants for the packet-out state machine specific to the encoder.*/ - -/*Next packet to emit: Data packet, but none are ready yet.*/ -#define OC_PACKET_EMPTY (0) -/*Next packet to emit: Data packet, and one is ready.*/ -#define OC_PACKET_READY (1) - -/*All features enabled.*/ -#define OC_SP_LEVEL_SLOW (0) -/*Enable early skip.*/ -#define OC_SP_LEVEL_EARLY_SKIP (1) -/*Disable motion compensation.*/ -#define OC_SP_LEVEL_NOMC (2) -/*Maximum valid speed level.*/ -#define OC_SP_LEVEL_MAX (2) - - -/*The bits used for each of the MB mode codebooks.*/ -extern const unsigned char OC_MODE_BITS[2][OC_NMODES]; - -/*The bits used for each of the MV codebooks.*/ -extern const unsigned char OC_MV_BITS[2][64]; - -/*The minimum value that can be stored in a SB run for each codeword. - The last entry is the upper bound on the length of a single SB run.*/ -extern const ogg_uint16_t OC_SB_RUN_VAL_MIN[8]; -/*The bits used for each SB run codeword.*/ -extern const unsigned char OC_SB_RUN_CODE_NBITS[7]; - -/*The bits used for each block run length (starting with 1).*/ -extern const unsigned char OC_BLOCK_RUN_CODE_NBITS[30]; - - - -/*Encoder specific functions with accelerated variants.*/ -struct oc_enc_opt_vtable{ - unsigned (*frag_sad)(const unsigned char *_src, - const unsigned char *_ref,int _ystride); - unsigned (*frag_sad_thresh)(const unsigned char *_src, - const unsigned char *_ref,int _ystride,unsigned _thresh); - unsigned (*frag_sad2_thresh)(const unsigned char *_src, - const unsigned char *_ref1,const unsigned char *_ref2,int _ystride, - unsigned _thresh); - unsigned (*frag_satd_thresh)(const unsigned char *_src, - const unsigned char *_ref,int _ystride,unsigned _thresh); - unsigned (*frag_satd2_thresh)(const unsigned char *_src, - const unsigned char *_ref1,const unsigned char *_ref2,int _ystride, - unsigned _thresh); - unsigned (*frag_intra_satd)(const unsigned char *_src,int _ystride); - void (*frag_sub)(ogg_int16_t _diff[64],const unsigned char *_src, - const unsigned char *_ref,int _ystride); - void (*frag_sub_128)(ogg_int16_t _diff[64], - const unsigned char *_src,int _ystride); - void (*frag_copy2)(unsigned char *_dst, - const unsigned char *_src1,const unsigned char *_src2,int _ystride); - void (*frag_recon_intra)(unsigned char *_dst,int _ystride, - const ogg_int16_t _residue[64]); - void (*frag_recon_inter)(unsigned char *_dst, - const unsigned char *_src,int _ystride,const ogg_int16_t _residue[64]); - void (*fdct8x8)(ogg_int16_t _y[64],const ogg_int16_t _x[64]); -}; - - -void oc_enc_vtable_init(oc_enc_ctx *_enc); - - - -/*Encoder-specific macroblock information.*/ -struct oc_mb_enc_info{ - /*Neighboring macro blocks that have MVs available from the current frame.*/ - unsigned cneighbors[4]; - /*Neighboring macro blocks to use for MVs from the previous frame.*/ - unsigned pneighbors[4]; - /*The number of current-frame neighbors.*/ - unsigned char ncneighbors; - /*The number of previous-frame neighbors.*/ - unsigned char npneighbors; - /*Flags indicating which MB modes have been refined.*/ - unsigned char refined; - /*Motion vectors for a macro block for the current frame and the - previous two frames. - Each is a set of 2 vectors against OC_FRAME_GOLD and OC_FRAME_PREV, which - can be used to estimate constant velocity and constant acceleration - predictors. - Uninitialized MVs are (0,0).*/ - oc_mv2 analysis_mv[3]; - /*Current unrefined analysis MVs.*/ - oc_mv unref_mv[2]; - /*Unrefined block MVs.*/ - oc_mv block_mv[4]; - /*Refined block MVs.*/ - oc_mv ref_mv[4]; - /*Minimum motion estimation error from the analysis stage.*/ - ogg_uint16_t error[2]; - /*MB error for half-pel refinement for each frame type.*/ - unsigned satd[2]; - /*Block error for half-pel refinement.*/ - unsigned block_satd[4]; -}; - - - -/*State machine to estimate the opportunity cost of coding a MB mode.*/ -struct oc_mode_scheme_chooser{ - /*Pointers to the a list containing the index of each mode in the mode - alphabet used by each scheme. - The first entry points to the dynamic scheme0_ranks, while the remaining 7 - point to the constant entries stored in OC_MODE_SCHEMES.*/ - const unsigned char *mode_ranks[8]; - /*The ranks for each mode when coded with scheme 0. - These are optimized so that the more frequent modes have lower ranks.*/ - unsigned char scheme0_ranks[OC_NMODES]; - /*The list of modes, sorted in descending order of frequency, that - corresponds to the ranks above.*/ - unsigned char scheme0_list[OC_NMODES]; - /*The number of times each mode has been chosen so far.*/ - int mode_counts[OC_NMODES]; - /*The list of mode coding schemes, sorted in ascending order of bit cost.*/ - unsigned char scheme_list[8]; - /*The number of bits used by each mode coding scheme.*/ - ptrdiff_t scheme_bits[8]; -}; - - -void oc_mode_scheme_chooser_init(oc_mode_scheme_chooser *_chooser); - - - -/*A 2nd order low-pass Bessel follower. - We use this for rate control because it has fast reaction time, but is - critically damped.*/ -struct oc_iir_filter{ - ogg_int32_t c[2]; - ogg_int64_t g; - ogg_int32_t x[2]; - ogg_int32_t y[2]; -}; - - - -/*The 2-pass metrics associated with a single frame.*/ -struct oc_frame_metrics{ - /*The log base 2 of the scale factor for this frame in Q24 format.*/ - ogg_int32_t log_scale; - /*The number of application-requested duplicates of this frame.*/ - unsigned dup_count:31; - /*The frame type from pass 1.*/ - unsigned frame_type:1; -}; - - - -/*Rate control state information.*/ -struct oc_rc_state{ - /*The target average bits per frame.*/ - ogg_int64_t bits_per_frame; - /*The current buffer fullness (bits available to be used).*/ - ogg_int64_t fullness; - /*The target buffer fullness. - This is where we'd like to be by the last keyframe the appears in the next - buf_delay frames.*/ - ogg_int64_t target; - /*The maximum buffer fullness (total size of the buffer).*/ - ogg_int64_t max; - /*The log of the number of pixels in a frame in Q57 format.*/ - ogg_int64_t log_npixels; - /*The exponent used in the rate model in Q8 format.*/ - unsigned exp[2]; - /*The number of frames to distribute the buffer usage over.*/ - int buf_delay; - /*The total drop count from the previous frame. - This includes duplicates explicitly requested via the - TH_ENCCTL_SET_DUP_COUNT API as well as frames we chose to drop ourselves.*/ - ogg_uint32_t prev_drop_count; - /*The log of an estimated scale factor used to obtain the real framerate, for - VFR sources or, e.g., 12 fps content doubled to 24 fps, etc.*/ - ogg_int64_t log_drop_scale; - /*The log of estimated scale factor for the rate model in Q57 format.*/ - ogg_int64_t log_scale[2]; - /*The log of the target quantizer level in Q57 format.*/ - ogg_int64_t log_qtarget; - /*Will we drop frames to meet bitrate target?*/ - unsigned char drop_frames; - /*Do we respect the maximum buffer fullness?*/ - unsigned char cap_overflow; - /*Can the reservoir go negative?*/ - unsigned char cap_underflow; - /*Second-order lowpass filters to track scale and VFR.*/ - oc_iir_filter scalefilter[2]; - int inter_count; - int inter_delay; - int inter_delay_target; - oc_iir_filter vfrfilter; - /*Two-pass mode state. - 0 => 1-pass encoding. - 1 => 1st pass of 2-pass encoding. - 2 => 2nd pass of 2-pass encoding.*/ - int twopass; - /*Buffer for current frame metrics.*/ - unsigned char twopass_buffer[48]; - /*The number of bytes in the frame metrics buffer. - When 2-pass encoding is enabled, this is set to 0 after each frame is - submitted, and must be non-zero before the next frame will be accepted.*/ - int twopass_buffer_bytes; - int twopass_buffer_fill; - /*Whether or not to force the next frame to be a keyframe.*/ - unsigned char twopass_force_kf; - /*The metrics for the previous frame.*/ - oc_frame_metrics prev_metrics; - /*The metrics for the current frame.*/ - oc_frame_metrics cur_metrics; - /*The buffered metrics for future frames.*/ - oc_frame_metrics *frame_metrics; - int nframe_metrics; - int cframe_metrics; - /*The index of the current frame in the circular metric buffer.*/ - int frame_metrics_head; - /*The frame count of each type (keyframes, delta frames, and dup frames); - 32 bits limits us to 2.268 years at 60 fps.*/ - ogg_uint32_t frames_total[3]; - /*The number of frames of each type yet to be processed.*/ - ogg_uint32_t frames_left[3]; - /*The sum of the scale values for each frame type.*/ - ogg_int64_t scale_sum[2]; - /*The start of the window over which the current scale sums are taken.*/ - int scale_window0; - /*The end of the window over which the current scale sums are taken.*/ - int scale_window_end; - /*The frame count of each type in the current 2-pass window; this does not - include dup frames.*/ - int nframes[3]; - /*The total accumulated estimation bias.*/ - ogg_int64_t rate_bias; -}; - - -void oc_rc_state_init(oc_rc_state *_rc,oc_enc_ctx *_enc); -void oc_rc_state_clear(oc_rc_state *_rc); - -void oc_enc_rc_resize(oc_enc_ctx *_enc); -int oc_enc_select_qi(oc_enc_ctx *_enc,int _qti,int _clamp); -void oc_enc_calc_lambda(oc_enc_ctx *_enc,int _frame_type); -int oc_enc_update_rc_state(oc_enc_ctx *_enc, - long _bits,int _qti,int _qi,int _trial,int _droppable); -int oc_enc_rc_2pass_out(oc_enc_ctx *_enc,unsigned char **_buf); -int oc_enc_rc_2pass_in(oc_enc_ctx *_enc,unsigned char *_buf,size_t _bytes); - - - -/*The internal encoder state.*/ -struct th_enc_ctx{ - /*Shared encoder/decoder state.*/ - oc_theora_state state; - /*Buffer in which to assemble packets.*/ - oggpack_buffer opb; - /*Encoder-specific macroblock information.*/ - oc_mb_enc_info *mb_info; - /*DC coefficients after prediction.*/ - ogg_int16_t *frag_dc; - /*The list of coded macro blocks, in coded order.*/ - unsigned *coded_mbis; - /*The number of coded macro blocks.*/ - size_t ncoded_mbis; - /*Whether or not packets are ready to be emitted. - This takes on negative values while there are remaining header packets to - be emitted, reaches 0 when the codec is ready for input, and becomes - positive when a frame has been processed and data packets are ready.*/ - int packet_state; - /*The maximum distance between keyframes.*/ - ogg_uint32_t keyframe_frequency_force; - /*The number of duplicates to produce for the next frame.*/ - ogg_uint32_t dup_count; - /*The number of duplicates remaining to be emitted for the current frame.*/ - ogg_uint32_t nqueued_dups; - /*The number of duplicates emitted for the last frame.*/ - ogg_uint32_t prev_dup_count; - /*The current speed level.*/ - int sp_level; - /*Whether or not VP3 compatibility mode has been enabled.*/ - unsigned char vp3_compatible; - /*Whether or not any INTER frames have been coded.*/ - unsigned char coded_inter_frame; - /*Whether or not previous frame was dropped.*/ - unsigned char prevframe_dropped; - /*Stores most recently chosen Huffman tables for each frame type, DC and AC - coefficients, and luma and chroma tokens. - The actual Huffman table used for a given coefficient depends not only on - the choice made here, but also its index in the zig-zag ordering.*/ - unsigned char huff_idxs[2][2][2]; - /*Current count of bits used by each MV coding mode.*/ - size_t mv_bits[2]; - /*The mode scheme chooser for estimating mode coding costs.*/ - oc_mode_scheme_chooser chooser; - /*The number of vertical super blocks in an MCU.*/ - int mcu_nvsbs; - /*The SSD error for skipping each fragment in the current MCU.*/ - unsigned *mcu_skip_ssd; - /*The DCT token lists for each coefficient and each plane.*/ - unsigned char **dct_tokens[3]; - /*The extra bits associated with each DCT token.*/ - ogg_uint16_t **extra_bits[3]; - /*The number of DCT tokens for each coefficient for each plane.*/ - ptrdiff_t ndct_tokens[3][64]; - /*Pending EOB runs for each coefficient for each plane.*/ - ogg_uint16_t eob_run[3][64]; - /*The offset of the first DCT token for each coefficient for each plane.*/ - unsigned char dct_token_offs[3][64]; - /*The last DC coefficient for each plane and reference frame.*/ - int dc_pred_last[3][3]; -#if defined(OC_COLLECT_METRICS) - /*Fragment SATD statistics for MB mode estimation metrics.*/ - unsigned *frag_satd; - /*Fragment SSD statistics for MB mode estimation metrics.*/ - unsigned *frag_ssd; -#endif - /*The R-D optimization parameter.*/ - int lambda; - /*The huffman tables in use.*/ - th_huff_code huff_codes[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS]; - /*The quantization parameters in use.*/ - th_quant_info qinfo; - oc_iquant *enquant_tables[64][3][2]; - oc_iquant_table enquant_table_data[64][3][2]; - /*An "average" quantizer for each quantizer type (INTRA or INTER) and qi - value. - This is used to paramterize the rate control decisions. - They are kept in the log domain to simplify later processing. - Keep in mind these are DCT domain quantizers, and so are scaled by an - additional factor of 4 from the pixel domain.*/ - ogg_int64_t log_qavg[2][64]; - /*The buffer state used to drive rate control.*/ - oc_rc_state rc; - /*Table for encoder acceleration functions.*/ - oc_enc_opt_vtable opt_vtable; -}; - - -void oc_enc_analyze_intra(oc_enc_ctx *_enc,int _recode); -int oc_enc_analyze_inter(oc_enc_ctx *_enc,int _allow_keyframe,int _recode); -#if defined(OC_COLLECT_METRICS) -void oc_enc_mode_metrics_collect(oc_enc_ctx *_enc); -void oc_enc_mode_metrics_dump(oc_enc_ctx *_enc); -#endif - - - -/*Perform fullpel motion search for a single MB against both reference frames.*/ -void oc_mcenc_search(oc_enc_ctx *_enc,int _mbi); -/*Refine a MB MV for one frame.*/ -void oc_mcenc_refine1mv(oc_enc_ctx *_enc,int _mbi,int _frame); -/*Refine the block MVs.*/ -void oc_mcenc_refine4mv(oc_enc_ctx *_enc,int _mbi); - - - -/*Used to rollback a tokenlog transaction when we retroactively decide to skip - a fragment. - A checkpoint is taken right before each token is added.*/ -struct oc_token_checkpoint{ - /*The color plane the token was added to.*/ - unsigned char pli; - /*The zig-zag index the token was added to.*/ - unsigned char zzi; - /*The outstanding EOB run count before the token was added.*/ - ogg_uint16_t eob_run; - /*The token count before the token was added.*/ - ptrdiff_t ndct_tokens; -}; - - - -void oc_enc_tokenize_start(oc_enc_ctx *_enc); -int oc_enc_tokenize_ac(oc_enc_ctx *_enc,int _pli,ptrdiff_t _fragi, - ogg_int16_t *_qdct,const ogg_uint16_t *_dequant,const ogg_int16_t *_dct, - int _zzi,oc_token_checkpoint **_stack,int _acmin); -void oc_enc_tokenlog_rollback(oc_enc_ctx *_enc, - const oc_token_checkpoint *_stack,int _n); -void oc_enc_pred_dc_frag_rows(oc_enc_ctx *_enc, - int _pli,int _fragy0,int _frag_yend); -void oc_enc_tokenize_dc_frag_list(oc_enc_ctx *_enc,int _pli, - const ptrdiff_t *_coded_fragis,ptrdiff_t _ncoded_fragis, - int _prev_ndct_tokens1,int _prev_eob_run1); -void oc_enc_tokenize_finish(oc_enc_ctx *_enc); - - - -/*Utility routine to encode one of the header packets.*/ -int oc_state_flushheader(oc_theora_state *_state,int *_packet_state, - oggpack_buffer *_opb,const th_quant_info *_qinfo, - const th_huff_code _codes[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS], - const char *_vendor,th_comment *_tc,ogg_packet *_op); - - - -/*Encoder-specific accelerated functions.*/ -void oc_enc_frag_sub(const oc_enc_ctx *_enc,ogg_int16_t _diff[64], - const unsigned char *_src,const unsigned char *_ref,int _ystride); -void oc_enc_frag_sub_128(const oc_enc_ctx *_enc,ogg_int16_t _diff[64], - const unsigned char *_src,int _ystride); -unsigned oc_enc_frag_sad(const oc_enc_ctx *_enc,const unsigned char *_src, - const unsigned char *_ref,int _ystride); -unsigned oc_enc_frag_sad_thresh(const oc_enc_ctx *_enc, - const unsigned char *_src,const unsigned char *_ref,int _ystride, - unsigned _thresh); -unsigned oc_enc_frag_sad2_thresh(const oc_enc_ctx *_enc, - const unsigned char *_src,const unsigned char *_ref1, - const unsigned char *_ref2,int _ystride,unsigned _thresh); -unsigned oc_enc_frag_satd_thresh(const oc_enc_ctx *_enc, - const unsigned char *_src,const unsigned char *_ref,int _ystride, - unsigned _thresh); -unsigned oc_enc_frag_satd2_thresh(const oc_enc_ctx *_enc, - const unsigned char *_src,const unsigned char *_ref1, - const unsigned char *_ref2,int _ystride,unsigned _thresh); -unsigned oc_enc_frag_intra_satd(const oc_enc_ctx *_enc, - const unsigned char *_src,int _ystride); -void oc_enc_frag_copy2(const oc_enc_ctx *_enc,unsigned char *_dst, - const unsigned char *_src1,const unsigned char *_src2,int _ystride); -void oc_enc_frag_recon_intra(const oc_enc_ctx *_enc, - unsigned char *_dst,int _ystride,const ogg_int16_t _residue[64]); -void oc_enc_frag_recon_inter(const oc_enc_ctx *_enc,unsigned char *_dst, - const unsigned char *_src,int _ystride,const ogg_int16_t _residue[64]); -void oc_enc_fdct8x8(const oc_enc_ctx *_enc,ogg_int16_t _y[64], - const ogg_int16_t _x[64]); - -/*Default pure-C implementations.*/ -void oc_enc_vtable_init_c(oc_enc_ctx *_enc); - -void oc_enc_frag_sub_c(ogg_int16_t _diff[64], - const unsigned char *_src,const unsigned char *_ref,int _ystride); -void oc_enc_frag_sub_128_c(ogg_int16_t _diff[64], - const unsigned char *_src,int _ystride); -void oc_enc_frag_copy2_c(unsigned char *_dst, - const unsigned char *_src1,const unsigned char *_src2,int _ystride); -unsigned oc_enc_frag_sad_c(const unsigned char *_src, - const unsigned char *_ref,int _ystride); -unsigned oc_enc_frag_sad_thresh_c(const unsigned char *_src, - const unsigned char *_ref,int _ystride,unsigned _thresh); -unsigned oc_enc_frag_sad2_thresh_c(const unsigned char *_src, - const unsigned char *_ref1,const unsigned char *_ref2,int _ystride, - unsigned _thresh); -unsigned oc_enc_frag_satd_thresh_c(const unsigned char *_src, - const unsigned char *_ref,int _ystride,unsigned _thresh); -unsigned oc_enc_frag_satd2_thresh_c(const unsigned char *_src, - const unsigned char *_ref1,const unsigned char *_ref2,int _ystride, - unsigned _thresh); -unsigned oc_enc_frag_intra_satd_c(const unsigned char *_src,int _ystride); -void oc_enc_fdct8x8_c(ogg_int16_t _y[64],const ogg_int16_t _x[64]); - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/encode.c b/Libraries/libtheora-1.1.1/lib/encode.c deleted file mode 100644 index 0c5ea6a1..00000000 --- a/Libraries/libtheora-1.1.1/lib/encode.c +++ /dev/null @@ -1,1615 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: encode.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ -#include -#include -#include "encint.h" -#if defined(OC_X86_ASM) -# include "x86/x86enc.h" -#endif - - - -/*The default quantization parameters used by VP3.1.*/ -static const int OC_VP31_RANGE_SIZES[1]={63}; -static const th_quant_base OC_VP31_BASES_INTRA_Y[2]={ - { - 16, 11, 10, 16, 24, 40, 51, 61, - 12, 12, 14, 19, 26, 58, 60, 55, - 14, 13, 16, 24, 40, 57, 69, 56, - 14, 17, 22, 29, 51, 87, 80, 62, - 18, 22, 37, 58, 68,109,103, 77, - 24, 35, 55, 64, 81,104,113, 92, - 49, 64, 78, 87,103,121,120,101, - 72, 92, 95, 98,112,100,103, 99 - }, - { - 16, 11, 10, 16, 24, 40, 51, 61, - 12, 12, 14, 19, 26, 58, 60, 55, - 14, 13, 16, 24, 40, 57, 69, 56, - 14, 17, 22, 29, 51, 87, 80, 62, - 18, 22, 37, 58, 68,109,103, 77, - 24, 35, 55, 64, 81,104,113, 92, - 49, 64, 78, 87,103,121,120,101, - 72, 92, 95, 98,112,100,103, 99 - } -}; -static const th_quant_base OC_VP31_BASES_INTRA_C[2]={ - { - 17, 18, 24, 47, 99, 99, 99, 99, - 18, 21, 26, 66, 99, 99, 99, 99, - 24, 26, 56, 99, 99, 99, 99, 99, - 47, 66, 99, 99, 99, 99, 99, 99, - 99, 99, 99, 99, 99, 99, 99, 99, - 99, 99, 99, 99, 99, 99, 99, 99, - 99, 99, 99, 99, 99, 99, 99, 99, - 99, 99, 99, 99, 99, 99, 99, 99 - }, - { - 17, 18, 24, 47, 99, 99, 99, 99, - 18, 21, 26, 66, 99, 99, 99, 99, - 24, 26, 56, 99, 99, 99, 99, 99, - 47, 66, 99, 99, 99, 99, 99, 99, - 99, 99, 99, 99, 99, 99, 99, 99, - 99, 99, 99, 99, 99, 99, 99, 99, - 99, 99, 99, 99, 99, 99, 99, 99, - 99, 99, 99, 99, 99, 99, 99, 99 - } -}; -static const th_quant_base OC_VP31_BASES_INTER[2]={ - { - 16, 16, 16, 20, 24, 28, 32, 40, - 16, 16, 20, 24, 28, 32, 40, 48, - 16, 20, 24, 28, 32, 40, 48, 64, - 20, 24, 28, 32, 40, 48, 64, 64, - 24, 28, 32, 40, 48, 64, 64, 64, - 28, 32, 40, 48, 64, 64, 64, 96, - 32, 40, 48, 64, 64, 64, 96,128, - 40, 48, 64, 64, 64, 96,128,128 - }, - { - 16, 16, 16, 20, 24, 28, 32, 40, - 16, 16, 20, 24, 28, 32, 40, 48, - 16, 20, 24, 28, 32, 40, 48, 64, - 20, 24, 28, 32, 40, 48, 64, 64, - 24, 28, 32, 40, 48, 64, 64, 64, - 28, 32, 40, 48, 64, 64, 64, 96, - 32, 40, 48, 64, 64, 64, 96,128, - 40, 48, 64, 64, 64, 96,128,128 - } -}; - -const th_quant_info TH_VP31_QUANT_INFO={ - { - 220,200,190,180,170,170,160,160, - 150,150,140,140,130,130,120,120, - 110,110,100,100, 90, 90, 90, 80, - 80, 80, 70, 70, 70, 60, 60, 60, - 60, 50, 50, 50, 50, 40, 40, 40, - 40, 40, 30, 30, 30, 30, 30, 30, - 30, 20, 20, 20, 20, 20, 20, 20, - 20, 10, 10, 10, 10, 10, 10, 10 - }, - { - 500,450,400,370,340,310,285,265, - 245,225,210,195,185,180,170,160, - 150,145,135,130,125,115,110,107, - 100, 96, 93, 89, 85, 82, 75, 74, - 70, 68, 64, 60, 57, 56, 52, 50, - 49, 45, 44, 43, 40, 38, 37, 35, - 33, 32, 30, 29, 28, 25, 24, 22, - 21, 19, 18, 17, 15, 13, 12, 10 - }, - { - 30,25,20,20,15,15,14,14, - 13,13,12,12,11,11,10,10, - 9, 9, 8, 8, 7, 7, 7, 7, - 6, 6, 6, 6, 5, 5, 5, 5, - 4, 4, 4, 4, 3, 3, 3, 3, - 2, 2, 2, 2, 2, 2, 2, 2, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 - }, - { - { - {1,OC_VP31_RANGE_SIZES,OC_VP31_BASES_INTRA_Y}, - {1,OC_VP31_RANGE_SIZES,OC_VP31_BASES_INTRA_C}, - {1,OC_VP31_RANGE_SIZES,OC_VP31_BASES_INTRA_C} - }, - { - {1,OC_VP31_RANGE_SIZES,OC_VP31_BASES_INTER}, - {1,OC_VP31_RANGE_SIZES,OC_VP31_BASES_INTER}, - {1,OC_VP31_RANGE_SIZES,OC_VP31_BASES_INTER} - } - } -}; - -/*The current default quantization parameters.*/ -static const int OC_DEF_QRANGE_SIZES[3]={32,16,15}; -static const th_quant_base OC_DEF_BASES_INTRA_Y[4]={ - { - 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 15, 15, - }, - { - 15, 12, 12, 15, 18, 20, 20, 21, - 13, 13, 14, 17, 18, 21, 21, 20, - 14, 14, 15, 18, 20, 21, 21, 21, - 14, 16, 17, 19, 20, 21, 21, 21, - 16, 17, 20, 21, 21, 21, 21, 21, - 18, 19, 20, 21, 21, 21, 21, 21, - 20, 21, 21, 21, 21, 21, 21, 21, - 21, 21, 21, 21, 21, 21, 21, 21 - }, - { - 16, 12, 11, 16, 20, 25, 27, 28, - 13, 13, 14, 18, 21, 28, 28, 27, - 14, 13, 16, 20, 25, 28, 28, 28, - 14, 16, 19, 22, 27, 29, 29, 28, - 17, 19, 25, 28, 28, 30, 30, 29, - 20, 24, 27, 28, 29, 30, 30, 29, - 27, 28, 29, 29, 30, 30, 30, 30, - 29, 29, 29, 29, 30, 30, 30, 29 - }, - { - 16, 11, 10, 16, 24, 40, 51, 61, - 12, 12, 14, 19, 26, 58, 60, 55, - 14, 13, 16, 24, 40, 57, 69, 56, - 14, 17, 22, 29, 51, 87, 80, 62, - 18, 22, 37, 58, 68,109,103, 77, - 24, 35, 55, 64, 81,104,113, 92, - 49, 64, 78, 87,103,121,120,101, - 72, 92, 95, 98,112,100,103, 99 - } -}; -static const th_quant_base OC_DEF_BASES_INTRA_C[4]={ - { - 19, 19, 19, 19, 19, 19, 19, 19, - 19, 19, 19, 19, 19, 19, 19, 19, - 19, 19, 19, 19, 19, 19, 19, 19, - 19, 19, 19, 19, 19, 19, 19, 19, - 19, 19, 19, 19, 19, 19, 19, 19, - 19, 19, 19, 19, 19, 19, 19, 19, - 19, 19, 19, 19, 19, 19, 19, 19, - 19, 19, 19, 19, 19, 19, 19, 19 - }, - { - 18, 18, 21, 25, 26, 26, 26, 26, - 18, 20, 22, 26, 26, 26, 26, 26, - 21, 22, 25, 26, 26, 26, 26, 26, - 25, 26, 26, 26, 26, 26, 26, 26, - 26, 26, 26, 26, 26, 26, 26, 26, - 26, 26, 26, 26, 26, 26, 26, 26, - 26, 26, 26, 26, 26, 26, 26, 26, - 26, 26, 26, 26, 26, 26, 26, 26 - }, - { - 17, 18, 22, 31, 36, 36, 36, 36, - 18, 20, 24, 34, 36, 36, 36, 36, - 22, 24, 33, 36, 36, 36, 36, 36, - 31, 34, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36 - }, - { - 17, 18, 24, 47, 99, 99, 99, 99, - 18, 21, 26, 66, 99, 99, 99, 99, - 24, 26, 56, 99, 99, 99, 99, 99, - 47, 66, 99, 99, 99, 99, 99, 99, - 99, 99, 99, 99, 99, 99, 99, 99, - 99, 99, 99, 99, 99, 99, 99, 99, - 99, 99, 99, 99, 99, 99, 99, 99, - 99, 99, 99, 99, 99, 99, 99, 99 - } -}; -static const th_quant_base OC_DEF_BASES_INTER[4]={ - { - 21, 21, 21, 21, 21, 21, 21, 21, - 21, 21, 21, 21, 21, 21, 21, 21, - 21, 21, 21, 21, 21, 21, 21, 21, - 21, 21, 21, 21, 21, 21, 21, 21, - 21, 21, 21, 21, 21, 21, 21, 21, - 21, 21, 21, 21, 21, 21, 21, 21, - 21, 21, 21, 21, 21, 21, 21, 21, - 21, 21, 21, 21, 21, 21, 21, 21 - }, - { - 18, 18, 18, 21, 23, 24, 25, 27, - 18, 18, 21, 23, 24, 25, 27, 28, - 18, 21, 23, 24, 25, 27, 28, 29, - 21, 23, 24, 25, 27, 28, 29, 29, - 23, 24, 25, 27, 28, 29, 29, 29, - 24, 25, 27, 28, 29, 29, 29, 30, - 25, 27, 28, 29, 29, 29, 30, 30, - 27, 28, 29, 29, 29, 30, 30, 30 - }, - { - 17, 17, 17, 20, 23, 26, 28, 32, - 17, 17, 20, 23, 26, 28, 32, 34, - 17, 20, 23, 26, 28, 32, 34, 37, - 20, 23, 26, 28, 32, 34, 37, 37, - 23, 26, 28, 32, 34, 37, 37, 37, - 26, 28, 32, 34, 37, 37, 37, 41, - 28, 32, 34, 37, 37, 37, 41, 42, - 32, 34, 37, 37, 37, 41, 42, 42 - }, - { - 16, 16, 16, 20, 24, 28, 32, 40, - 16, 16, 20, 24, 28, 32, 40, 48, - 16, 20, 24, 28, 32, 40, 48, 64, - 20, 24, 28, 32, 40, 48, 64, 64, - 24, 28, 32, 40, 48, 64, 64, 64, - 28, 32, 40, 48, 64, 64, 64, 96, - 32, 40, 48, 64, 64, 64, 96,128, - 40, 48, 64, 64, 64, 96,128,128 - } -}; - -const th_quant_info TH_DEF_QUANT_INFO={ - { - 365,348,333,316,300,287,277,265, - 252,240,229,219,206,197,189,180, - 171,168,160,153,146,139,132,127, - 121,115,110,107,101, 97, 94, 89, - 85, 83, 78, 73, 72, 67, 66, 62, - 60, 59, 56, 53, 52, 48, 47, 43, - 42, 40, 36, 35, 34, 33, 31, 30, - 28, 25, 24, 22, 20, 17, 14, 10 - }, - { - 365,348,333,316,300,287,277,265, - 252,240,229,219,206,197,189,180, - 171,168,160,153,146,139,132,127, - 121,115,110,107,101, 97, 94, 89, - 85, 83, 78, 73, 72, 67, 66, 62, - 60, 59, 56, 53, 52, 48, 47, 43, - 42, 40, 36, 35, 34, 33, 31, 30, - 28, 25, 24, 22, 20, 17, 14, 10 - }, - { - 30,25,20,20,15,15,14,14, - 13,13,12,12,11,11,10,10, - 9, 9, 8, 8, 7, 7, 7, 7, - 6, 6, 6, 6, 5, 5, 5, 5, - 4, 4, 4, 4, 3, 3, 3, 3, - 2, 2, 2, 2, 2, 2, 2, 2, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0 - }, - { - { - {3,OC_DEF_QRANGE_SIZES,OC_DEF_BASES_INTRA_Y}, - {3,OC_DEF_QRANGE_SIZES,OC_DEF_BASES_INTRA_C}, - {3,OC_DEF_QRANGE_SIZES,OC_DEF_BASES_INTRA_C} - }, - { - {3,OC_DEF_QRANGE_SIZES,OC_DEF_BASES_INTER}, - {3,OC_DEF_QRANGE_SIZES,OC_DEF_BASES_INTER}, - {3,OC_DEF_QRANGE_SIZES,OC_DEF_BASES_INTER} - } - } -}; - - - -/*The Huffman codes used for macro block modes.*/ - -const unsigned char OC_MODE_BITS[2][OC_NMODES]={ - /*Codebook 0: a maximally skewed prefix code.*/ - {1,2,3,4,5,6,7,7}, - /*Codebook 1: a fixed-length code.*/ - {3,3,3,3,3,3,3,3} -}; - -static const unsigned char OC_MODE_CODES[2][OC_NMODES]={ - /*Codebook 0: a maximally skewed prefix code.*/ - {0x00,0x02,0x06,0x0E,0x1E,0x3E,0x7E,0x7F}, - /*Codebook 1: a fixed-length code.*/ - {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07} -}; - - -/*The Huffman codes used for motion vectors.*/ - -const unsigned char OC_MV_BITS[2][64]={ - /*Codebook 0: VLC code.*/ - { - 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, - 8,7,7,7,7,7,7,7,7,6,6,6,6,4,4,3, - 3, - 3,4,4,6,6,6,6,7,7,7,7,7,7,7,7,8, - 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8 - }, - /*Codebook 1: (5 bit magnitude, 1 bit sign). - This wastes a code word (0x01, negative zero), or a bit (0x00, positive - zero, requires only 5 bits to uniquely decode), but is hopefully not used - very often.*/ - { - 6,6,6,6,6,6,6,6,6,6,6,6,6,6,6, - 6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6, - 6, - 6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6, - 6,6,6,6,6,6,6,6,6,6,6,6,6,6,6 - } -}; - -static const unsigned char OC_MV_CODES[2][64]={ - /*Codebook 0: VLC code.*/ - { - 0xFF,0xFD,0xFB,0xF9,0xF7,0xF5,0xF3, - 0xF1,0xEF,0xED,0xEB,0xE9,0xE7,0xE5,0xE3, - 0xE1,0x6F,0x6D,0x6B,0x69,0x67,0x65,0x63, - 0x61,0x2F,0x2D,0x2B,0x29,0x09,0x07,0x02, - 0x00, - 0x01,0x06,0x08,0x28,0x2A,0x2C,0x2E,0x60, - 0x62,0x64,0x66,0x68,0x6A,0x6C,0x6E,0xE0, - 0xE2,0xE4,0xE6,0xE8,0xEA,0xEC,0xEE,0xF0, - 0xF2,0xF4,0xF6,0xF8,0xFA,0xFC,0xFE - }, - /*Codebook 1: (5 bit magnitude, 1 bit sign).*/ - { - 0x3F,0x3D,0x3B,0x39,0x37,0x35,0x33, - 0x31,0x2F,0x2D,0x2B,0x29,0x27,0x25,0x23, - 0x21,0x1F,0x1D,0x1B,0x19,0x17,0x15,0x13, - 0x11,0x0F,0x0D,0x0B,0x09,0x07,0x05,0x03, - 0x00, - 0x02,0x04,0x06,0x08,0x0A,0x0C,0x0E,0x10, - 0x12,0x14,0x16,0x18,0x1A,0x1C,0x1E,0x20, - 0x22,0x24,0x26,0x28,0x2A,0x2C,0x2E,0x30, - 0x32,0x34,0x36,0x38,0x3A,0x3C,0x3E - } -}; - - - -/*Super block run coding scheme: - Codeword Run Length - 0 1 - 10x 2-3 - 110x 4-5 - 1110xx 6-9 - 11110xxx 10-17 - 111110xxxx 18-33 - 111111xxxxxxxxxxxx 34-4129*/ -const ogg_uint16_t OC_SB_RUN_VAL_MIN[8]={1,2,4,6,10,18,34,4130}; -static const unsigned OC_SB_RUN_CODE_PREFIX[7]={ - 0,4,0xC,0x38,0xF0,0x3E0,0x3F000 -}; -const unsigned char OC_SB_RUN_CODE_NBITS[7]={1,3,4,6,8,10,18}; - - -/*Writes the bit pattern for the run length of a super block run to the given - oggpack_buffer. - _opb: The buffer to write to. - _run_count: The length of the run, which must be positive. - _flag: The current flag. - _done: Whether or not more flags are to be encoded.*/ -static void oc_sb_run_pack(oggpack_buffer *_opb,ptrdiff_t _run_count, - int _flag,int _done){ - int i; - if(_run_count>=4129){ - do{ - oggpackB_write(_opb,0x3FFFF,18); - _run_count-=4129; - if(_run_count>0)oggpackB_write(_opb,_flag,1); - else if(!_done)oggpackB_write(_opb,!_flag,1); - } - while(_run_count>=4129); - if(_run_count<=0)return; - } - for(i=0;_run_count>=OC_SB_RUN_VAL_MIN[i+1];i++); - oggpackB_write(_opb,OC_SB_RUN_CODE_PREFIX[i]+_run_count-OC_SB_RUN_VAL_MIN[i], - OC_SB_RUN_CODE_NBITS[i]); -} - - - -/*Block run coding scheme: - Codeword Run Length - 0x 1-2 - 10x 3-4 - 110x 5-6 - 1110xx 7-10 - 11110xx 11-14 - 11111xxxx 15-30*/ -const unsigned char OC_BLOCK_RUN_CODE_NBITS[30]={ - 2,2,3,3,4,4,6,6,6,6,7,7,7,7,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9 -}; -static const ogg_uint16_t OC_BLOCK_RUN_CODE_PATTERN[30]={ - 0x000,0x001,0x004,0x005,0x00C,0x00D,0x038, - 0x039,0x03A,0x03B,0x078,0x079,0x07A,0x07B,0x1F0, - 0x1F1,0x1F2,0x1F3,0x1F4,0x1F5,0x1F6,0x1F7,0x1F8, - 0x1F9,0x1FA,0x1FB,0x1FC,0x1FD,0x1FE,0x1FF -}; - - -/*Writes the bit pattern for the run length of a block run to the given - oggpack_buffer. - _opb: The buffer to write to. - _run_count: The length of the run. - This must be positive, and no more than 30.*/ -static void oc_block_run_pack(oggpack_buffer *_opb,int _run_count){ - oggpackB_write(_opb,OC_BLOCK_RUN_CODE_PATTERN[_run_count-1], - OC_BLOCK_RUN_CODE_NBITS[_run_count-1]); -} - - - -static void oc_enc_frame_header_pack(oc_enc_ctx *_enc){ - /*Mark this as a data packet.*/ - oggpackB_write(&_enc->opb,0,1); - /*Output the frame type (key frame or delta frame).*/ - oggpackB_write(&_enc->opb,_enc->state.frame_type,1); - /*Write out the current qi list.*/ - oggpackB_write(&_enc->opb,_enc->state.qis[0],6); - if(_enc->state.nqis>1){ - oggpackB_write(&_enc->opb,1,1); - oggpackB_write(&_enc->opb,_enc->state.qis[1],6); - if(_enc->state.nqis>2){ - oggpackB_write(&_enc->opb,1,1); - oggpackB_write(&_enc->opb,_enc->state.qis[2],6); - } - else oggpackB_write(&_enc->opb,0,1); - } - else oggpackB_write(&_enc->opb,0,1); - if(_enc->state.frame_type==OC_INTRA_FRAME){ - /*Key frames have 3 unused configuration bits, holdovers from the VP3 days. - Most of the other unused bits in the VP3 headers were eliminated. - Monty kept these to leave us some wiggle room for future expansion, - though a single bit in all frames would have been far more useful.*/ - oggpackB_write(&_enc->opb,0,3); - } -} - -/*Writes the bit flags for whether or not each super block is partially coded - or not. - These flags are run-length encoded, with the flag value alternating between - each run. - Return: The number partially coded SBs.*/ -static unsigned oc_enc_partial_sb_flags_pack(oc_enc_ctx *_enc){ - const oc_sb_flags *sb_flags; - unsigned nsbs; - unsigned sbi; - unsigned npartial; - int flag; - sb_flags=_enc->state.sb_flags; - nsbs=_enc->state.nsbs; - flag=sb_flags[0].coded_partially; - oggpackB_write(&_enc->opb,flag,1); - sbi=npartial=0; - do{ - unsigned run_count; - for(run_count=0;sbiopb,run_count,flag,sbi>=nsbs); - flag=!flag; - } - while(sbistate.sb_flags; - nsbs=_enc->state.nsbs; - /*Skip partially coded super blocks; their flags have already been coded.*/ - for(sbi=0;sb_flags[sbi].coded_partially;sbi++); - flag=sb_flags[sbi].coded_fully; - oggpackB_write(&_enc->opb,flag,1); - do{ - unsigned run_count; - for(run_count=0;sbiopb,run_count,flag,sbi>=nsbs); - flag=!flag; - } - while(sbistate.nsbs)oc_enc_coded_sb_flags_pack(_enc); - sb_maps=(const oc_sb_map *)_enc->state.sb_maps; - sb_flags=_enc->state.sb_flags; - nsbs=_enc->state.nsbs; - frags=_enc->state.frags; - for(sbi=0;sbiopb,flag,1); - run_count=0; - nsbs=sbi=0; - for(pli=0;pli<3;pli++){ - nsbs+=_enc->state.fplanes[pli].nsbs; - for(;sbi=0){ - if(frags[fragi].coded!=flag){ - oc_block_run_pack(&_enc->opb,run_count); - flag=!flag; - run_count=1; - } - else run_count++; - } - } - } - } - } - } - /*Flush any trailing block coded run.*/ - if(run_count>0)oc_block_run_pack(&_enc->opb,run_count); - } -} - -static void oc_enc_mb_modes_pack(oc_enc_ctx *_enc){ - const unsigned char *mode_codes; - const unsigned char *mode_bits; - const unsigned char *mode_ranks; - unsigned *coded_mbis; - size_t ncoded_mbis; - const signed char *mb_modes; - unsigned mbii; - int scheme; - int mb_mode; - scheme=_enc->chooser.scheme_list[0]; - /*Encode the best scheme.*/ - oggpackB_write(&_enc->opb,scheme,3); - /*If the chosen scheme is scheme 0, send the mode frequency ordering.*/ - if(scheme==0){ - for(mb_mode=0;mb_modeopb,_enc->chooser.scheme0_ranks[mb_mode],3); - } - } - mode_ranks=_enc->chooser.mode_ranks[scheme]; - mode_bits=OC_MODE_BITS[scheme+1>>3]; - mode_codes=OC_MODE_CODES[scheme+1>>3]; - coded_mbis=_enc->coded_mbis; - ncoded_mbis=_enc->ncoded_mbis; - mb_modes=_enc->state.mb_modes; - for(mbii=0;mbiiopb,mode_codes[rank],mode_bits[rank]); - } -} - -static void oc_enc_mv_pack(oc_enc_ctx *_enc,int _mv_scheme,int _dx,int _dy){ - oggpackB_write(&_enc->opb, - OC_MV_CODES[_mv_scheme][_dx+31],OC_MV_BITS[_mv_scheme][_dx+31]); - oggpackB_write(&_enc->opb, - OC_MV_CODES[_mv_scheme][_dy+31],OC_MV_BITS[_mv_scheme][_dy+31]); -} - -static void oc_enc_mvs_pack(oc_enc_ctx *_enc){ - const unsigned *coded_mbis; - size_t ncoded_mbis; - const oc_mb_map *mb_maps; - const signed char *mb_modes; - const oc_fragment *frags; - const oc_mv *frag_mvs; - unsigned mbii; - int mv_scheme; - /*Choose the coding scheme.*/ - mv_scheme=_enc->mv_bits[1]<_enc->mv_bits[0]; - oggpackB_write(&_enc->opb,mv_scheme,1); - /*Encode the motion vectors. - Macro blocks are iterated in Hilbert scan order, but the MVs within the - macro block are coded in raster order.*/ - coded_mbis=_enc->coded_mbis; - ncoded_mbis=_enc->ncoded_mbis; - mb_modes=_enc->state.mb_modes; - mb_maps=(const oc_mb_map *)_enc->state.mb_maps; - frags=_enc->state.frags; - frag_mvs=(const oc_mv *)_enc->state.frag_mvs; - for(mbii=0;mbiistate.nqis<=1)return; - ncoded_fragis=_enc->state.ntotal_coded_fragis; - if(ncoded_fragis<=0)return; - coded_fragis=_enc->state.coded_fragis; - frags=_enc->state.frags; - flag=!!frags[coded_fragis[0]].qii; - oggpackB_write(&_enc->opb,flag,1); - nqi0=0; - for(fragii=0;fragiiopb,run_count,flag,fragii>=ncoded_fragis); - flag=!flag; - } - if(_enc->state.nqis<3||nqi0>=ncoded_fragis)return; - for(fragii=0;!frags[coded_fragis[fragii]].qii;fragii++); - flag=frags[coded_fragis[fragii]].qii-1; - oggpackB_write(&_enc->opb,flag,1); - while(fragiiopb,run_count,flag,fragii>=ncoded_fragis); - flag=!flag; - } -} - -/*Counts the tokens of each type used for the given range of coefficient - indices in zig-zag order. - _zzi_start: The first zig-zag index to include. - _zzi_end: The first zig-zag index to not include. - _token_counts_y: Returns the token counts for the Y' plane. - _token_counts_c: Returns the token counts for the Cb and Cr planes.*/ -static void oc_enc_count_tokens(oc_enc_ctx *_enc,int _zzi_start,int _zzi_end, - ptrdiff_t _token_counts_y[32],ptrdiff_t _token_counts_c[32]){ - const unsigned char *dct_tokens; - ptrdiff_t ndct_tokens; - int pli; - int zzi; - ptrdiff_t ti; - memset(_token_counts_y,0,32*sizeof(*_token_counts_y)); - memset(_token_counts_c,0,32*sizeof(*_token_counts_c)); - for(zzi=_zzi_start;zzi<_zzi_end;zzi++){ - dct_tokens=_enc->dct_tokens[0][zzi]; - ndct_tokens=_enc->ndct_tokens[0][zzi]; - for(ti=_enc->dct_token_offs[0][zzi];tidct_tokens[pli][zzi]; - ndct_tokens=_enc->ndct_tokens[pli][zzi]; - for(ti=_enc->dct_token_offs[pli][zzi];tihuff_codes[huffi+huff_offs][token].nbits; - } - } -} - -/*Returns the Huffman index using the fewest number of bits.*/ -static int oc_select_huff_idx(size_t _bit_counts[16]){ - int best_huffi; - int huffi; - best_huffi=0; - for(huffi=1;huffi<16;huffi++)if(_bit_counts[huffi]<_bit_counts[best_huffi]){ - best_huffi=huffi; - } - return best_huffi; -} - -static void oc_enc_huff_group_pack(oc_enc_ctx *_enc, - int _zzi_start,int _zzi_end,const int _huff_idxs[2]){ - int zzi; - for(zzi=_zzi_start;zzi<_zzi_end;zzi++){ - int pli; - for(pli=0;pli<3;pli++){ - const unsigned char *dct_tokens; - const ogg_uint16_t *extra_bits; - ptrdiff_t ndct_tokens; - const th_huff_code *huff_codes; - ptrdiff_t ti; - dct_tokens=_enc->dct_tokens[pli][zzi]; - extra_bits=_enc->extra_bits[pli][zzi]; - ndct_tokens=_enc->ndct_tokens[pli][zzi]; - huff_codes=_enc->huff_codes[_huff_idxs[pli+1>>1]]; - for(ti=_enc->dct_token_offs[pli][zzi];tiopb,huff_codes[token].pattern, - huff_codes[token].nbits); - neb=OC_DCT_TOKEN_EXTRA_BITS[token]; - if(neb)oggpackB_write(&_enc->opb,extra_bits[ti],neb); - } - } - } -} - -static void oc_enc_residual_tokens_pack(oc_enc_ctx *_enc){ - static const unsigned char OC_HUFF_GROUP_MIN[6]={0,1,6,15,28,64}; - static const unsigned char *OC_HUFF_GROUP_MAX=OC_HUFF_GROUP_MIN+1; - ptrdiff_t token_counts_y[32]; - ptrdiff_t token_counts_c[32]; - size_t bits_y[16]; - size_t bits_c[16]; - int huff_idxs[2]; - int frame_type; - int hgi; - frame_type=_enc->state.frame_type; - /*Choose which Huffman tables to use for the DC token list.*/ - oc_enc_count_tokens(_enc,0,1,token_counts_y,token_counts_c); - memset(bits_y,0,sizeof(bits_y)); - memset(bits_c,0,sizeof(bits_c)); - oc_enc_count_bits(_enc,0,token_counts_y,bits_y); - oc_enc_count_bits(_enc,0,token_counts_c,bits_c); - huff_idxs[0]=oc_select_huff_idx(bits_y); - huff_idxs[1]=oc_select_huff_idx(bits_c); - /*Write the DC token list with the chosen tables.*/ - oggpackB_write(&_enc->opb,huff_idxs[0],4); - oggpackB_write(&_enc->opb,huff_idxs[1],4); - _enc->huff_idxs[frame_type][0][0]=(unsigned char)huff_idxs[0]; - _enc->huff_idxs[frame_type][0][1]=(unsigned char)huff_idxs[1]; - oc_enc_huff_group_pack(_enc,0,1,huff_idxs); - /*Choose which Huffman tables to use for the AC token lists.*/ - memset(bits_y,0,sizeof(bits_y)); - memset(bits_c,0,sizeof(bits_c)); - for(hgi=1;hgi<5;hgi++){ - oc_enc_count_tokens(_enc,OC_HUFF_GROUP_MIN[hgi],OC_HUFF_GROUP_MAX[hgi], - token_counts_y,token_counts_c); - oc_enc_count_bits(_enc,hgi,token_counts_y,bits_y); - oc_enc_count_bits(_enc,hgi,token_counts_c,bits_c); - } - huff_idxs[0]=oc_select_huff_idx(bits_y); - huff_idxs[1]=oc_select_huff_idx(bits_c); - /*Write the AC token lists using the chosen tables.*/ - oggpackB_write(&_enc->opb,huff_idxs[0],4); - oggpackB_write(&_enc->opb,huff_idxs[1],4); - _enc->huff_idxs[frame_type][1][0]=(unsigned char)huff_idxs[0]; - _enc->huff_idxs[frame_type][1][1]=(unsigned char)huff_idxs[1]; - for(hgi=1;hgi<5;hgi++){ - huff_idxs[0]+=16; - huff_idxs[1]+=16; - oc_enc_huff_group_pack(_enc, - OC_HUFF_GROUP_MIN[hgi],OC_HUFF_GROUP_MAX[hgi],huff_idxs); - } -} - -static void oc_enc_frame_pack(oc_enc_ctx *_enc){ - oggpackB_reset(&_enc->opb); - /*Only proceed if we have some coded blocks. - If there are no coded blocks, we can drop this frame simply by emitting a - 0 byte packet.*/ - if(_enc->state.ntotal_coded_fragis>0){ - oc_enc_frame_header_pack(_enc); - if(_enc->state.frame_type==OC_INTER_FRAME){ - /*Coded block flags, MB modes, and MVs are only needed for delta frames.*/ - oc_enc_coded_flags_pack(_enc); - oc_enc_mb_modes_pack(_enc); - oc_enc_mvs_pack(_enc); - } - oc_enc_block_qis_pack(_enc); - oc_enc_tokenize_finish(_enc); - oc_enc_residual_tokens_pack(_enc); - } - /*Success: Mark the packet as ready to be flushed.*/ - _enc->packet_state=OC_PACKET_READY; -#if defined(OC_COLLECT_METRICS) - oc_enc_mode_metrics_collect(_enc); -#endif -} - - -void oc_enc_vtable_init_c(oc_enc_ctx *_enc){ - /*The implementations prefixed with oc_enc_ are encoder-specific. - The rest we re-use from the decoder.*/ - _enc->opt_vtable.frag_sad=oc_enc_frag_sad_c; - _enc->opt_vtable.frag_sad_thresh=oc_enc_frag_sad_thresh_c; - _enc->opt_vtable.frag_sad2_thresh=oc_enc_frag_sad2_thresh_c; - _enc->opt_vtable.frag_satd_thresh=oc_enc_frag_satd_thresh_c; - _enc->opt_vtable.frag_satd2_thresh=oc_enc_frag_satd2_thresh_c; - _enc->opt_vtable.frag_intra_satd=oc_enc_frag_intra_satd_c; - _enc->opt_vtable.frag_sub=oc_enc_frag_sub_c; - _enc->opt_vtable.frag_sub_128=oc_enc_frag_sub_128_c; - _enc->opt_vtable.frag_copy2=oc_enc_frag_copy2_c; - _enc->opt_vtable.frag_recon_intra=oc_frag_recon_intra_c; - _enc->opt_vtable.frag_recon_inter=oc_frag_recon_inter_c; - _enc->opt_vtable.fdct8x8=oc_enc_fdct8x8_c; -} - -/*Initialize the macro block neighbor lists for MC analysis. - This assumes that the entire mb_info memory region has been initialized with - zeros.*/ -static void oc_enc_mb_info_init(oc_enc_ctx *_enc){ - oc_mb_enc_info *embs; - const signed char *mb_modes; - unsigned nhsbs; - unsigned nvsbs; - unsigned nhmbs; - unsigned nvmbs; - unsigned sby; - mb_modes=_enc->state.mb_modes; - embs=_enc->mb_info; - nhsbs=_enc->state.fplanes[0].nhsbs; - nvsbs=_enc->state.fplanes[0].nvsbs; - nhmbs=_enc->state.nhmbs; - nvmbs=_enc->state.nvmbs; - for(sby=0;sby>1); - mby=2*sby+(quadi+1>>1&1); - /*Fill in the neighbors with current motion vectors available.*/ - for(ni=0;ni=nhmbs||nmby<0||nmby>=nvmbs)continue; - nmbi=(nmby&~1)*nhmbs+((nmbx&~1)<<1)+OC_MB_MAP[nmby&1][nmbx&1]; - if(mb_modes[nmbi]==OC_MODE_INVALID)continue; - embs[mbi].cneighbors[embs[mbi].ncneighbors++]=nmbi; - } - /*Fill in the neighbors with previous motion vectors available.*/ - for(ni=0;ni<4;ni++){ - nmbx=mbx+PDX[ni]; - nmby=mby+PDY[ni]; - if(nmbx<0||nmbx>=nhmbs||nmby<0||nmby>=nvmbs)continue; - nmbi=(nmby&~1)*nhmbs+((nmbx&~1)<<1)+OC_MB_MAP[nmby&1][nmbx&1]; - if(mb_modes[nmbi]==OC_MODE_INVALID)continue; - embs[mbi].pneighbors[embs[mbi].npneighbors++]=nmbi; - } - } - } - } -} - -static int oc_enc_set_huffman_codes(oc_enc_ctx *_enc, - const th_huff_code _codes[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS]){ - int ret; - if(_enc==NULL)return TH_EFAULT; - if(_enc->packet_state>OC_PACKET_SETUP_HDR)return TH_EINVAL; - if(_codes==NULL)_codes=TH_VP31_HUFF_CODES; - /*Validate the codes.*/ - oggpackB_reset(&_enc->opb); - ret=oc_huff_codes_pack(&_enc->opb,_codes); - if(ret<0)return ret; - memcpy(_enc->huff_codes,_codes,sizeof(_enc->huff_codes)); - return 0; -} - -/*Sets the quantization parameters to use. - This may only be called before the setup header is written. - If it is called multiple times, only the last call has any effect. - _qinfo: The quantization parameters. - These are described in more detail in theoraenc.h. - This can be NULL, in which case the default quantization parameters - will be used.*/ -static int oc_enc_set_quant_params(oc_enc_ctx *_enc, - const th_quant_info *_qinfo){ - int qi; - int pli; - int qti; - if(_enc==NULL)return TH_EFAULT; - if(_enc->packet_state>OC_PACKET_SETUP_HDR)return TH_EINVAL; - if(_qinfo==NULL)_qinfo=&TH_DEF_QUANT_INFO; - /*TODO: Analyze for packing purposes instead of just doing a shallow copy.*/ - memcpy(&_enc->qinfo,_qinfo,sizeof(_enc->qinfo)); - for(qi=0;qi<64;qi++)for(pli=0;pli<3;pli++)for(qti=0;qti<2;qti++){ - _enc->state.dequant_tables[qi][pli][qti]= - _enc->state.dequant_table_data[qi][pli][qti]; - _enc->enquant_tables[qi][pli][qti]=_enc->enquant_table_data[qi][pli][qti]; - } - oc_enquant_tables_init(_enc->state.dequant_tables, - _enc->enquant_tables,_qinfo); - memcpy(_enc->state.loop_filter_limits,_qinfo->loop_filter_limits, - sizeof(_enc->state.loop_filter_limits)); - oc_enquant_qavg_init(_enc->log_qavg,_enc->state.dequant_tables, - _enc->state.info.pixel_fmt); - return 0; -} - -static void oc_enc_clear(oc_enc_ctx *_enc); - -static int oc_enc_init(oc_enc_ctx *_enc,const th_info *_info){ - th_info info; - size_t mcu_nmbs; - ptrdiff_t mcu_nfrags; - int hdec; - int vdec; - int ret; - int pli; - /*Clean up the requested settings.*/ - memcpy(&info,_info,sizeof(info)); - info.version_major=TH_VERSION_MAJOR; - info.version_minor=TH_VERSION_MINOR; - info.version_subminor=TH_VERSION_SUB; - if(info.quality>63)info.quality=63; - if(info.quality<0)info.quality=32; - if(info.target_bitrate<0)info.target_bitrate=0; - /*Initialize the shared encoder/decoder state.*/ - ret=oc_state_init(&_enc->state,&info,4); - if(ret<0)return ret; - _enc->mb_info=_ogg_calloc(_enc->state.nmbs,sizeof(*_enc->mb_info)); - _enc->frag_dc=_ogg_calloc(_enc->state.nfrags,sizeof(*_enc->frag_dc)); - _enc->coded_mbis= - (unsigned *)_ogg_malloc(_enc->state.nmbs*sizeof(*_enc->coded_mbis)); - hdec=!(_enc->state.info.pixel_fmt&1); - vdec=!(_enc->state.info.pixel_fmt&2); - /*If chroma is sub-sampled in the vertical direction, we have to encode two - super block rows of Y' for each super block row of Cb and Cr.*/ - _enc->mcu_nvsbs=1<mcu_nvsbs*_enc->state.fplanes[0].nhsbs*(size_t)4; - mcu_nfrags=4*mcu_nmbs+(8*mcu_nmbs>>hdec+vdec); - _enc->mcu_skip_ssd=(unsigned *)_ogg_malloc( - mcu_nfrags*sizeof(*_enc->mcu_skip_ssd)); - for(pli=0;pli<3;pli++){ - _enc->dct_tokens[pli]=(unsigned char **)oc_malloc_2d(64, - _enc->state.fplanes[pli].nfrags,sizeof(**_enc->dct_tokens)); - _enc->extra_bits[pli]=(ogg_uint16_t **)oc_malloc_2d(64, - _enc->state.fplanes[pli].nfrags,sizeof(**_enc->extra_bits)); - } -#if defined(OC_COLLECT_METRICS) - _enc->frag_satd=_ogg_calloc(_enc->state.nfrags,sizeof(*_enc->frag_satd)); - _enc->frag_ssd=_ogg_calloc(_enc->state.nfrags,sizeof(*_enc->frag_ssd)); -#endif -#if defined(OC_X86_ASM) - oc_enc_vtable_init_x86(_enc); -#else - oc_enc_vtable_init_c(_enc); -#endif - _enc->keyframe_frequency_force=1<<_enc->state.info.keyframe_granule_shift; - _enc->state.qis[0]=_enc->state.info.quality; - _enc->state.nqis=1; - oc_rc_state_init(&_enc->rc,_enc); - oggpackB_writeinit(&_enc->opb); - if(_enc->mb_info==NULL||_enc->frag_dc==NULL||_enc->coded_mbis==NULL|| - _enc->mcu_skip_ssd==NULL||_enc->dct_tokens[0]==NULL|| - _enc->dct_tokens[1]==NULL||_enc->dct_tokens[2]==NULL|| - _enc->extra_bits[0]==NULL||_enc->extra_bits[1]==NULL|| - _enc->extra_bits[2]==NULL -#if defined(OC_COLLECT_METRICS) - ||_enc->frag_satd==NULL||_enc->frag_ssd==NULL -#endif - ){ - oc_enc_clear(_enc); - return TH_EFAULT; - } - oc_mode_scheme_chooser_init(&_enc->chooser); - oc_enc_mb_info_init(_enc); - memset(_enc->huff_idxs,0,sizeof(_enc->huff_idxs)); - /*Reset the packet-out state machine.*/ - _enc->packet_state=OC_PACKET_INFO_HDR; - _enc->dup_count=0; - _enc->nqueued_dups=0; - _enc->prev_dup_count=0; - /*Enable speed optimizations up through early skip by default.*/ - _enc->sp_level=OC_SP_LEVEL_EARLY_SKIP; - /*Disable VP3 compatibility by default.*/ - _enc->vp3_compatible=0; - /*No INTER frames coded yet.*/ - _enc->coded_inter_frame=0; - memcpy(_enc->huff_codes,TH_VP31_HUFF_CODES,sizeof(_enc->huff_codes)); - oc_enc_set_quant_params(_enc,NULL); - return 0; -} - -static void oc_enc_clear(oc_enc_ctx *_enc){ - int pli; - oc_rc_state_clear(&_enc->rc); -#if defined(OC_COLLECT_METRICS) - oc_enc_mode_metrics_dump(_enc); -#endif - oggpackB_writeclear(&_enc->opb); -#if defined(OC_COLLECT_METRICS) - _ogg_free(_enc->frag_ssd); - _ogg_free(_enc->frag_satd); -#endif - for(pli=3;pli-->0;){ - oc_free_2d(_enc->extra_bits[pli]); - oc_free_2d(_enc->dct_tokens[pli]); - } - _ogg_free(_enc->mcu_skip_ssd); - _ogg_free(_enc->coded_mbis); - _ogg_free(_enc->frag_dc); - _ogg_free(_enc->mb_info); - oc_state_clear(&_enc->state); -} - -static void oc_enc_drop_frame(th_enc_ctx *_enc){ - /*Use the previous frame's reconstruction.*/ - _enc->state.ref_frame_idx[OC_FRAME_SELF]= - _enc->state.ref_frame_idx[OC_FRAME_PREV]; - /*Flag motion vector analysis about the frame drop.*/ - _enc->prevframe_dropped=1; - /*Zero the packet.*/ - oggpackB_reset(&_enc->opb); -} - -static void oc_enc_compress_keyframe(oc_enc_ctx *_enc,int _recode){ - if(_enc->state.info.target_bitrate>0){ - _enc->state.qis[0]=oc_enc_select_qi(_enc,OC_INTRA_FRAME, - _enc->state.curframe_num>0); - _enc->state.nqis=1; - } - oc_enc_calc_lambda(_enc,OC_INTRA_FRAME); - oc_enc_analyze_intra(_enc,_recode); - oc_enc_frame_pack(_enc); - /*On the first frame, the previous call was an initial dry-run to prime - feed-forward statistics.*/ - if(!_recode&&_enc->state.curframe_num==0){ - if(_enc->state.info.target_bitrate>0){ - oc_enc_update_rc_state(_enc,oggpackB_bytes(&_enc->opb)<<3, - OC_INTRA_FRAME,_enc->state.qis[0],1,0); - } - oc_enc_compress_keyframe(_enc,1); - } -} - -static void oc_enc_compress_frame(oc_enc_ctx *_enc,int _recode){ - if(_enc->state.info.target_bitrate>0){ - _enc->state.qis[0]=oc_enc_select_qi(_enc,OC_INTER_FRAME,1); - _enc->state.nqis=1; - } - oc_enc_calc_lambda(_enc,OC_INTER_FRAME); - if(oc_enc_analyze_inter(_enc,_enc->rc.twopass!=2,_recode)){ - /*Mode analysis thinks this should have been a keyframe; start over.*/ - oc_enc_compress_keyframe(_enc,1); - } - else{ - oc_enc_frame_pack(_enc); - if(!_enc->coded_inter_frame){ - /*On the first INTER frame, the previous call was an initial dry-run to - prime feed-forward statistics.*/ - _enc->coded_inter_frame=1; - if(_enc->state.info.target_bitrate>0){ - /*Rate control also needs to prime.*/ - oc_enc_update_rc_state(_enc,oggpackB_bytes(&_enc->opb)<<3, - OC_INTER_FRAME,_enc->state.qis[0],1,0); - } - oc_enc_compress_frame(_enc,1); - } - } -} - -/*Set the granule position for the next packet to output based on the current - internal state.*/ -static void oc_enc_set_granpos(oc_enc_ctx *_enc){ - unsigned dup_offs; - /*Add an offset for the number of duplicate frames we've emitted so far.*/ - dup_offs=_enc->prev_dup_count-_enc->nqueued_dups; - /*If the current frame was a keyframe, use it for the high part.*/ - if(_enc->state.frame_type==OC_INTRA_FRAME){ - _enc->state.granpos=(_enc->state.curframe_num+_enc->state.granpos_bias<< - _enc->state.info.keyframe_granule_shift)+dup_offs; - } - /*Otherwise use the last keyframe in the high part and put the current frame - in the low part.*/ - else{ - _enc->state.granpos= - (_enc->state.keyframe_num+_enc->state.granpos_bias<< - _enc->state.info.keyframe_granule_shift) - +_enc->state.curframe_num-_enc->state.keyframe_num+dup_offs; - } -} - - -th_enc_ctx *th_encode_alloc(const th_info *_info){ - oc_enc_ctx *enc; - if(_info==NULL)return NULL; - enc=_ogg_malloc(sizeof(*enc)); - if(enc==NULL||oc_enc_init(enc,_info)<0){ - _ogg_free(enc); - return NULL; - } - return enc; -} - -void th_encode_free(th_enc_ctx *_enc){ - if(_enc!=NULL){ - oc_enc_clear(_enc); - _ogg_free(_enc); - } -} - -int th_encode_ctl(th_enc_ctx *_enc,int _req,void *_buf,size_t _buf_sz){ - switch(_req){ - case TH_ENCCTL_SET_HUFFMAN_CODES:{ - if(_buf==NULL&&_buf_sz!=0|| - _buf!=NULL&&_buf_sz!=sizeof(th_huff_table)*TH_NHUFFMAN_TABLES){ - return TH_EINVAL; - } - return oc_enc_set_huffman_codes(_enc,(const th_huff_table *)_buf); - }break; - case TH_ENCCTL_SET_QUANT_PARAMS:{ - if(_buf==NULL&&_buf_sz!=0|| - _buf!=NULL&&_buf_sz!=sizeof(th_quant_info)){ - return TH_EINVAL; - } - return oc_enc_set_quant_params(_enc,(th_quant_info *)_buf); - }break; - case TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE:{ - ogg_uint32_t keyframe_frequency_force; - if(_enc==NULL||_buf==NULL)return TH_EFAULT; - if(_buf_sz!=sizeof(keyframe_frequency_force))return TH_EINVAL; - keyframe_frequency_force=*(ogg_uint32_t *)_buf; - if(keyframe_frequency_force<=0)keyframe_frequency_force=1; - if(_enc->packet_state==OC_PACKET_INFO_HDR){ - /*It's still early enough to enlarge keyframe_granule_shift.*/ - _enc->state.info.keyframe_granule_shift=OC_CLAMPI( - _enc->state.info.keyframe_granule_shift, - OC_ILOG_32(keyframe_frequency_force-1),31); - } - _enc->keyframe_frequency_force=OC_MINI(keyframe_frequency_force, - (ogg_uint32_t)1U<<_enc->state.info.keyframe_granule_shift); - *(ogg_uint32_t *)_buf=_enc->keyframe_frequency_force; - return 0; - }break; - case TH_ENCCTL_SET_VP3_COMPATIBLE:{ - int vp3_compatible; - if(_enc==NULL||_buf==NULL)return TH_EFAULT; - if(_buf_sz!=sizeof(vp3_compatible))return TH_EINVAL; - vp3_compatible=*(int *)_buf; - _enc->vp3_compatible=vp3_compatible; - if(oc_enc_set_huffman_codes(_enc,TH_VP31_HUFF_CODES)<0)vp3_compatible=0; - if(oc_enc_set_quant_params(_enc,&TH_VP31_QUANT_INFO)<0)vp3_compatible=0; - if(_enc->state.info.pixel_fmt!=TH_PF_420|| - _enc->state.info.pic_width<_enc->state.info.frame_width|| - _enc->state.info.pic_height<_enc->state.info.frame_height|| - /*If we have more than 4095 super blocks, VP3's RLE coding might - overflow. - We could overcome this by ensuring we flip the coded/not-coded flags on - at least one super block in the frame, but we pick the simple solution - of just telling the user the stream will be incompatible instead. - It's unlikely the old VP3 codec would be able to decode streams at this - resolution in real time in the first place.*/ - _enc->state.nsbs>4095){ - vp3_compatible=0; - } - *(int *)_buf=vp3_compatible; - return 0; - }break; - case TH_ENCCTL_GET_SPLEVEL_MAX:{ - if(_enc==NULL||_buf==NULL)return TH_EFAULT; - if(_buf_sz!=sizeof(int))return TH_EINVAL; - *(int *)_buf=OC_SP_LEVEL_MAX; - return 0; - }break; - case TH_ENCCTL_SET_SPLEVEL:{ - int speed; - if(_enc==NULL||_buf==NULL)return TH_EFAULT; - if(_buf_sz!=sizeof(speed))return TH_EINVAL; - speed=*(int *)_buf; - if(speed<0||speed>OC_SP_LEVEL_MAX)return TH_EINVAL; - _enc->sp_level=speed; - return 0; - }break; - case TH_ENCCTL_GET_SPLEVEL:{ - if(_enc==NULL||_buf==NULL)return TH_EFAULT; - if(_buf_sz!=sizeof(int))return TH_EINVAL; - *(int *)_buf=_enc->sp_level; - return 0; - } - case TH_ENCCTL_SET_DUP_COUNT:{ - int dup_count; - if(_enc==NULL||_buf==NULL)return TH_EFAULT; - if(_buf_sz!=sizeof(dup_count))return TH_EINVAL; - dup_count=*(int *)_buf; - if(dup_count>=_enc->keyframe_frequency_force)return TH_EINVAL; - _enc->dup_count=OC_MAXI(dup_count,0); - return 0; - }break; - case TH_ENCCTL_SET_QUALITY:{ - int qi; - if(_enc==NULL||_buf==NULL)return TH_EFAULT; - if(_enc->state.info.target_bitrate>0)return TH_EINVAL; - qi=*(int *)_buf; - if(qi<0||qi>63)return TH_EINVAL; - _enc->state.info.quality=qi; - _enc->state.qis[0]=(unsigned char)qi; - _enc->state.nqis=1; - return 0; - }break; - case TH_ENCCTL_SET_BITRATE:{ - long bitrate; - int reset; - if(_enc==NULL||_buf==NULL)return TH_EFAULT; - bitrate=*(long *)_buf; - if(bitrate<=0)return TH_EINVAL; - reset=_enc->state.info.target_bitrate<=0; - _enc->state.info.target_bitrate=bitrate>INT_MAX?INT_MAX:bitrate; - if(reset)oc_rc_state_init(&_enc->rc,_enc); - else oc_enc_rc_resize(_enc); - return 0; - }break; - case TH_ENCCTL_SET_RATE_FLAGS:{ - int set; - if(_enc==NULL||_buf==NULL)return TH_EFAULT; - if(_buf_sz!=sizeof(set))return TH_EINVAL; - if(_enc->state.info.target_bitrate<=0)return TH_EINVAL; - set=*(int *)_buf; - _enc->rc.drop_frames=set&TH_RATECTL_DROP_FRAMES; - _enc->rc.cap_overflow=set&TH_RATECTL_CAP_OVERFLOW; - _enc->rc.cap_underflow=set&TH_RATECTL_CAP_UNDERFLOW; - return 0; - }break; - case TH_ENCCTL_SET_RATE_BUFFER:{ - int set; - if(_enc==NULL||_buf==NULL)return TH_EFAULT; - if(_buf_sz!=sizeof(set))return TH_EINVAL; - if(_enc->state.info.target_bitrate<=0)return TH_EINVAL; - set=*(int *)_buf; - _enc->rc.buf_delay=set; - oc_enc_rc_resize(_enc); - *(int *)_buf=_enc->rc.buf_delay; - return 0; - }break; - case TH_ENCCTL_2PASS_OUT:{ - if(_enc==NULL||_buf==NULL)return TH_EFAULT; - if(_enc->state.info.target_bitrate<=0|| - _enc->state.curframe_num>=0&&_enc->rc.twopass!=1|| - _buf_sz!=sizeof(unsigned char *)){ - return TH_EINVAL; - } - return oc_enc_rc_2pass_out(_enc,(unsigned char **)_buf); - }break; - case TH_ENCCTL_2PASS_IN:{ - if(_enc==NULL)return TH_EFAULT; - if(_enc->state.info.target_bitrate<=0|| - _enc->state.curframe_num>=0&&_enc->rc.twopass!=2){ - return TH_EINVAL; - } - return oc_enc_rc_2pass_in(_enc,_buf,_buf_sz); - }break; - default:return TH_EIMPL; - } -} - -int th_encode_flushheader(th_enc_ctx *_enc,th_comment *_tc,ogg_packet *_op){ - if(_enc==NULL)return TH_EFAULT; - return oc_state_flushheader(&_enc->state,&_enc->packet_state,&_enc->opb, - &_enc->qinfo,(const th_huff_table *)_enc->huff_codes,th_version_string(), - _tc,_op); -} - -static void oc_img_plane_copy_pad(th_img_plane *_dst,th_img_plane *_src, - ogg_int32_t _pic_x,ogg_int32_t _pic_y, - ogg_int32_t _pic_width,ogg_int32_t _pic_height){ - unsigned char *dst; - int dstride; - ogg_uint32_t frame_width; - ogg_uint32_t frame_height; - ogg_uint32_t y; - frame_width=_dst->width; - frame_height=_dst->height; - /*If we have _no_ data, just encode a dull green.*/ - if(_pic_width==0||_pic_height==0){ - dst=_dst->data; - dstride=_dst->stride; - for(y=0;ystride; - sstride=_src->stride; - dst_data=_dst->data; - src_data=_src->data; - dst=dst_data+_pic_y*(ptrdiff_t)dstride+_pic_x; - src=src_data+_pic_y*(ptrdiff_t)sstride+_pic_x; - for(y=0;y<_pic_height;y++){ - memcpy(dst,src,_pic_width); - dst+=dstride; - src+=sstride; - } - /*Step 2: Perform a low-pass extension into the padding region.*/ - /*Left side.*/ - for(x=_pic_x;x-->0;){ - dst=dst_data+_pic_y*(ptrdiff_t)dstride+x; - for(y=0;y<_pic_height;y++){ - dst[0]=(dst[1]<<1)+(dst-(dstride&-(y>0)))[1] - +(dst+(dstride&-(y+1<_pic_height)))[1]+2>>2; - dst+=dstride; - } - } - /*Right side.*/ - for(x=_pic_x+_pic_width;x0)))[0] - +(dst+(dstride&-(y+1<_pic_height)))[0]+2>>2; - dst+=dstride; - } - } - /*Top.*/ - dst=dst_data+_pic_y*(ptrdiff_t)dstride; - for(y=_pic_y;y-->0;){ - for(x=0;x0)] - +dst[x+(x+1>2; - } - dst-=dstride; - } - /*Bottom.*/ - dst=dst_data+(_pic_y+_pic_height)*(ptrdiff_t)dstride; - for(y=_pic_y+_pic_height;y0)] - +(dst-dstride)[x+(x+1>2; - } - dst+=dstride; - } - } -} - -int th_encode_ycbcr_in(th_enc_ctx *_enc,th_ycbcr_buffer _img){ - th_ycbcr_buffer img; - int cframe_width; - int cframe_height; - int cpic_width; - int cpic_height; - int cpic_x; - int cpic_y; - int hdec; - int vdec; - int pli; - int refi; - int drop; - /*Step 1: validate parameters.*/ - if(_enc==NULL||_img==NULL)return TH_EFAULT; - if(_enc->packet_state==OC_PACKET_DONE)return TH_EINVAL; - if(_enc->rc.twopass&&_enc->rc.twopass_buffer_bytes==0)return TH_EINVAL; - if((ogg_uint32_t)_img[0].width!=_enc->state.info.frame_width|| - (ogg_uint32_t)_img[0].height!=_enc->state.info.frame_height){ - return TH_EINVAL; - } - hdec=!(_enc->state.info.pixel_fmt&1); - vdec=!(_enc->state.info.pixel_fmt&2); - cframe_width=_enc->state.info.frame_width>>hdec; - cframe_height=_enc->state.info.frame_height>>vdec; - if(_img[1].width!=cframe_width||_img[2].width!=cframe_width|| - _img[1].height!=cframe_height||_img[2].height!=cframe_height){ - return TH_EINVAL; - } - /*Step 2: Copy the input to our internal buffer. - This lets us add padding, if necessary, so we don't have to worry about - dereferencing possibly invalid addresses, and allows us to use the same - strides and fragment offsets for both the input frame and the reference - frames.*/ - /*Flip the input buffer upside down.*/ - oc_ycbcr_buffer_flip(img,_img); - oc_img_plane_copy_pad(_enc->state.ref_frame_bufs[OC_FRAME_IO]+0,img+0, - _enc->state.info.pic_x,_enc->state.info.pic_y, - _enc->state.info.pic_width,_enc->state.info.pic_height); - cpic_x=_enc->state.info.pic_x>>hdec; - cpic_y=_enc->state.info.pic_y>>vdec; - cpic_width=(_enc->state.info.pic_x+_enc->state.info.pic_width+hdec>>hdec) - -cpic_x; - cpic_height=(_enc->state.info.pic_y+_enc->state.info.pic_height+vdec>>vdec) - -cpic_y; - for(pli=1;pli<3;pli++){ - oc_img_plane_copy_pad(_enc->state.ref_frame_bufs[OC_FRAME_IO]+pli,img+pli, - cpic_x,cpic_y,cpic_width,cpic_height); - } - /*Step 3: Update the buffer state.*/ - if(_enc->state.ref_frame_idx[OC_FRAME_SELF]>=0){ - _enc->state.ref_frame_idx[OC_FRAME_PREV]= - _enc->state.ref_frame_idx[OC_FRAME_SELF]; - if(_enc->state.frame_type==OC_INTRA_FRAME){ - /*The new frame becomes both the previous and gold reference frames.*/ - _enc->state.keyframe_num=_enc->state.curframe_num; - _enc->state.ref_frame_idx[OC_FRAME_GOLD]= - _enc->state.ref_frame_idx[OC_FRAME_SELF]; - } - } - /*Select a free buffer to use for the reconstructed version of this frame.*/ - for(refi=0;refi==_enc->state.ref_frame_idx[OC_FRAME_GOLD]|| - refi==_enc->state.ref_frame_idx[OC_FRAME_PREV];refi++); - _enc->state.ref_frame_idx[OC_FRAME_SELF]=refi; - _enc->state.curframe_num+=_enc->prev_dup_count+1; - /*Step 4: Compress the frame.*/ - /*Start with a keyframe, and don't allow the generation of invalid files that - overflow the keyframe_granule_shift.*/ - if(_enc->rc.twopass_force_kf||_enc->state.curframe_num==0|| - _enc->state.curframe_num-_enc->state.keyframe_num+_enc->dup_count>= - _enc->keyframe_frequency_force){ - oc_enc_compress_keyframe(_enc,0); - drop=0; - } - else{ - oc_enc_compress_frame(_enc,0); - drop=1; - } - oc_restore_fpu(&_enc->state); - /*drop currently indicates if the frame is droppable.*/ - if(_enc->state.info.target_bitrate>0){ - drop=oc_enc_update_rc_state(_enc,oggpackB_bytes(&_enc->opb)<<3, - _enc->state.frame_type,_enc->state.qis[0],0,drop); - } - else drop=0; - /*drop now indicates if the frame was dropped.*/ - if(drop)oc_enc_drop_frame(_enc); - else _enc->prevframe_dropped=0; - _enc->packet_state=OC_PACKET_READY; - _enc->prev_dup_count=_enc->nqueued_dups=_enc->dup_count; - _enc->dup_count=0; -#if defined(OC_DUMP_IMAGES) - oc_enc_set_granpos(_enc); - oc_state_dump_frame(&_enc->state,OC_FRAME_IO,"src"); - oc_state_dump_frame(&_enc->state,OC_FRAME_SELF,"rec"); -#endif - return 0; -} - -int th_encode_packetout(th_enc_ctx *_enc,int _last_p,ogg_packet *_op){ - if(_enc==NULL||_op==NULL)return TH_EFAULT; - if(_enc->packet_state==OC_PACKET_READY){ - _enc->packet_state=OC_PACKET_EMPTY; - if(_enc->rc.twopass!=1){ - unsigned char *packet; - packet=oggpackB_get_buffer(&_enc->opb); - /*If there's no packet, malloc failed while writing; it's lost forever.*/ - if(packet==NULL)return TH_EFAULT; - _op->packet=packet; - _op->bytes=oggpackB_bytes(&_enc->opb); - } - /*For the first pass in 2-pass mode, don't emit any packet data.*/ - else{ - _op->packet=NULL; - _op->bytes=0; - } - } - else if(_enc->packet_state==OC_PACKET_EMPTY){ - if(_enc->nqueued_dups>0){ - _enc->nqueued_dups--; - _op->packet=NULL; - _op->bytes=0; - } - else{ - if(_last_p)_enc->packet_state=OC_PACKET_DONE; - return 0; - } - } - else return 0; - _last_p=_last_p&&_enc->nqueued_dups<=0; - _op->b_o_s=0; - _op->e_o_s=_last_p; - oc_enc_set_granpos(_enc); - _op->packetno=th_granule_frame(_enc,_enc->state.granpos)+3; - _op->granulepos=_enc->state.granpos; - if(_last_p)_enc->packet_state=OC_PACKET_DONE; - return 1+_enc->nqueued_dups; -} diff --git a/Libraries/libtheora-1.1.1/lib/encoder_disabled.c b/Libraries/libtheora-1.1.1/lib/encoder_disabled.c deleted file mode 100644 index 0cbf6645..00000000 --- a/Libraries/libtheora-1.1.1/lib/encoder_disabled.c +++ /dev/null @@ -1,67 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: encoder_disabled.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ -#include "apiwrapper.h" -#include "encint.h" - -th_enc_ctx *th_encode_alloc(const th_info *_info){ - return NULL; -} - -void th_encode_free(th_enc_ctx *_enc){} - - -int th_encode_ctl(th_enc_ctx *_enc,int _req,void *_buf,size_t _buf_sz){ - return OC_DISABLED; -} - -int th_encode_flushheader(th_enc_ctx *_enc,th_comment *_tc,ogg_packet *_op){ - return OC_DISABLED; -} - -int th_encode_ycbcr_in(th_enc_ctx *_enc,th_ycbcr_buffer _img){ - return OC_DISABLED; -} - -int th_encode_packetout(th_enc_ctx *_enc,int _last_p,ogg_packet *_op){ - return OC_DISABLED; -} - - - -int theora_encode_init(theora_state *_te,theora_info *_ci){ - return OC_DISABLED; -} - -int theora_encode_YUVin(theora_state *_te,yuv_buffer *_yuv){ - return OC_DISABLED; -} - -int theora_encode_packetout(theora_state *_te,int _last_p,ogg_packet *_op){ - return OC_DISABLED; -} - -int theora_encode_header(theora_state *_te,ogg_packet *_op){ - return OC_DISABLED; -} - -int theora_encode_comment(theora_comment *_tc,ogg_packet *_op){ - return OC_DISABLED; -} - -int theora_encode_tables(theora_state *_te,ogg_packet *_op){ - return OC_DISABLED; -} diff --git a/Libraries/libtheora-1.1.1/lib/enquant.c b/Libraries/libtheora-1.1.1/lib/enquant.c deleted file mode 100644 index 3372fed2..00000000 --- a/Libraries/libtheora-1.1.1/lib/enquant.c +++ /dev/null @@ -1,274 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: enquant.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ -#include -#include -#include "encint.h" - - - -void oc_quant_params_pack(oggpack_buffer *_opb,const th_quant_info *_qinfo){ - const th_quant_ranges *qranges; - const th_quant_base *base_mats[2*3*64]; - int indices[2][3][64]; - int nbase_mats; - int nbits; - int ci; - int qi; - int qri; - int qti; - int pli; - int qtj; - int plj; - int bmi; - int i; - i=_qinfo->loop_filter_limits[0]; - for(qi=1;qi<64;qi++)i=OC_MAXI(i,_qinfo->loop_filter_limits[qi]); - nbits=OC_ILOG_32(i); - oggpackB_write(_opb,nbits,3); - for(qi=0;qi<64;qi++){ - oggpackB_write(_opb,_qinfo->loop_filter_limits[qi],nbits); - } - /*580 bits for VP3.*/ - i=1; - for(qi=0;qi<64;qi++)i=OC_MAXI(_qinfo->ac_scale[qi],i); - nbits=OC_ILOGNZ_32(i); - oggpackB_write(_opb,nbits-1,4); - for(qi=0;qi<64;qi++)oggpackB_write(_opb,_qinfo->ac_scale[qi],nbits); - /*516 bits for VP3.*/ - i=1; - for(qi=0;qi<64;qi++)i=OC_MAXI(_qinfo->dc_scale[qi],i); - nbits=OC_ILOGNZ_32(i); - oggpackB_write(_opb,nbits-1,4); - for(qi=0;qi<64;qi++)oggpackB_write(_opb,_qinfo->dc_scale[qi],nbits); - /*Consolidate any duplicate base matrices.*/ - nbase_mats=0; - for(qti=0;qti<2;qti++)for(pli=0;pli<3;pli++){ - qranges=_qinfo->qi_ranges[qti]+pli; - for(qri=0;qri<=qranges->nranges;qri++){ - for(bmi=0;;bmi++){ - if(bmi>=nbase_mats){ - base_mats[bmi]=qranges->base_matrices+qri; - indices[qti][pli][qri]=nbase_mats++; - break; - } - else if(memcmp(base_mats[bmi][0],qranges->base_matrices[qri], - sizeof(base_mats[bmi][0]))==0){ - indices[qti][pli][qri]=bmi; - break; - } - } - } - } - /*Write out the list of unique base matrices. - 1545 bits for VP3 matrices.*/ - oggpackB_write(_opb,nbase_mats-1,9); - for(bmi=0;bmiqi_ranges[qti]+pli; - if(i>0){ - if(qti>0){ - if(qranges->nranges==_qinfo->qi_ranges[qti-1][pli].nranges&& - memcmp(qranges->sizes,_qinfo->qi_ranges[qti-1][pli].sizes, - qranges->nranges*sizeof(qranges->sizes[0]))==0&& - memcmp(indices[qti][pli],indices[qti-1][pli], - (qranges->nranges+1)*sizeof(indices[qti][pli][0]))==0){ - oggpackB_write(_opb,1,2); - continue; - } - } - qtj=(i-1)/3; - plj=(i-1)%3; - if(qranges->nranges==_qinfo->qi_ranges[qtj][plj].nranges&& - memcmp(qranges->sizes,_qinfo->qi_ranges[qtj][plj].sizes, - qranges->nranges*sizeof(qranges->sizes[0]))==0&& - memcmp(indices[qti][pli],indices[qtj][plj], - (qranges->nranges+1)*sizeof(indices[qti][pli][0]))==0){ - oggpackB_write(_opb,0,1+(qti>0)); - continue; - } - oggpackB_write(_opb,1,1); - } - oggpackB_write(_opb,indices[qti][pli][0],nbits); - for(qi=qri=0;qi<63;qri++){ - oggpackB_write(_opb,qranges->sizes[qri]-1,OC_ILOG_32(62-qi)); - qi+=qranges->sizes[qri]; - oggpackB_write(_opb,indices[qti][pli][qri+1],nbits); - } - } -} - -static void oc_iquant_init(oc_iquant *_this,ogg_uint16_t _d){ - ogg_uint32_t t; - int l; - _d<<=1; - l=OC_ILOGNZ_32(_d)-1; - t=1+((ogg_uint32_t)1<<16+l)/_d; - _this->m=(ogg_int16_t)(t-0x10000); - _this->l=l; -} - -/*See comments at oc_dequant_tables_init() for how the quantization tables' - storage should be initialized.*/ -void oc_enquant_tables_init(ogg_uint16_t *_dequant[64][3][2], - oc_iquant *_enquant[64][3][2],const th_quant_info *_qinfo){ - int qi; - int pli; - int qti; - /*Initialize the dequantization tables first.*/ - oc_dequant_tables_init(_dequant,NULL,_qinfo); - /*Derive the quantization tables directly from the dequantization tables.*/ - for(qi=0;qi<64;qi++)for(qti=0;qti<2;qti++)for(pli=0;pli<3;pli++){ - int zzi; - int plj; - int qtj; - int dupe; - dupe=0; - for(qtj=0;qtj<=qti;qtj++){ - for(plj=0;plj<(qtj>1))/qd; - qp+=rq*(ogg_uint32_t)rq; - } - q2+=OC_PCD[_pixel_fmt][pli]*(ogg_int64_t)qp; - } - /*qavg=1.0/sqrt(q2).*/ - _log_qavg[qti][qi]=OC_Q57(48)-oc_blog64(q2)>>1; - } -} diff --git a/Libraries/libtheora-1.1.1/lib/enquant.h b/Libraries/libtheora-1.1.1/lib/enquant.h deleted file mode 100644 index d62df10d..00000000 --- a/Libraries/libtheora-1.1.1/lib/enquant.h +++ /dev/null @@ -1,27 +0,0 @@ -#if !defined(_enquant_H) -# define _enquant_H (1) -# include "quant.h" - -typedef struct oc_iquant oc_iquant; - -#define OC_QUANT_MAX_LOG (OC_Q57(OC_STATIC_ILOG_32(OC_QUANT_MAX)-1)) - -/*Used to compute x/d via ((x*m>>16)+x>>l)+(x<0)) - (i.e., one 16x16->16 mul, 2 shifts, and 2 adds). - This is not an approximation; for 16-bit x and d, it is exact.*/ -struct oc_iquant{ - ogg_int16_t m; - ogg_int16_t l; -}; - -typedef oc_iquant oc_iquant_table[64]; - - - -void oc_quant_params_pack(oggpack_buffer *_opb,const th_quant_info *_qinfo); -void oc_enquant_tables_init(ogg_uint16_t *_dequant[64][3][2], - oc_iquant *_enquant[64][3][2],const th_quant_info *_qinfo); -void oc_enquant_qavg_init(ogg_int64_t _log_qavg[2][64], - ogg_uint16_t *_dequant[64][3][2],int _pixel_fmt); - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/fdct.c b/Libraries/libtheora-1.1.1/lib/fdct.c deleted file mode 100644 index dc3a66f2..00000000 --- a/Libraries/libtheora-1.1.1/lib/fdct.c +++ /dev/null @@ -1,422 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: fdct.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ -#include "encint.h" -#include "dct.h" - - - -/*Performs a forward 8 point Type-II DCT transform. - The output is scaled by a factor of 2 from the orthonormal version of the - transform. - _y: The buffer to store the result in. - Data will be placed the first 8 entries (e.g., in a row of an 8x8 block). - _x: The input coefficients. - Every 8th entry is used (e.g., from a column of an 8x8 block).*/ -static void oc_fdct8(ogg_int16_t _y[8],const ogg_int16_t *_x){ - int t0; - int t1; - int t2; - int t3; - int t4; - int t5; - int t6; - int t7; - int r; - int s; - int u; - int v; - /*Stage 1:*/ - /*0-7 butterfly.*/ - t0=_x[0<<3]+(int)_x[7<<3]; - t7=_x[0<<3]-(int)_x[7<<3]; - /*1-6 butterfly.*/ - t1=_x[1<<3]+(int)_x[6<<3]; - t6=_x[1<<3]-(int)_x[6<<3]; - /*2-5 butterfly.*/ - t2=_x[2<<3]+(int)_x[5<<3]; - t5=_x[2<<3]-(int)_x[5<<3]; - /*3-4 butterfly.*/ - t3=_x[3<<3]+(int)_x[4<<3]; - t4=_x[3<<3]-(int)_x[4<<3]; - /*Stage 2:*/ - /*0-3 butterfly.*/ - r=t0+t3; - t3=t0-t3; - t0=r; - /*1-2 butterfly.*/ - r=t1+t2; - t2=t1-t2; - t1=r; - /*6-5 butterfly.*/ - r=t6+t5; - t5=t6-t5; - t6=r; - /*Stages 3 and 4 are where all the approximation occurs. - These are chosen to be as close to an exact inverse of the approximations - made in the iDCT as possible, while still using mostly 16-bit arithmetic. - We use some 16x16->32 signed MACs, but those still commonly execute in 1 - cycle on a 16-bit DSP. - For example, s=(27146*t5+0x4000>>16)+t5+(t5!=0) is an exact inverse of - t5=(OC_C4S4*s>>16). - That is, applying the latter to the output of the former will recover t5 - exactly (over the valid input range of t5, -23171...23169). - We increase the rounding bias to 0xB500 in this particular case so that - errors inverting the subsequent butterfly are not one-sided (e.g., the - mean error is very close to zero). - The (t5!=0) term could be replaced simply by 1, but we want to send 0 to 0. - The fDCT of an all-zeros block will still not be zero, because of the - biases we added at the very beginning of the process, but it will be close - enough that it is guaranteed to round to zero.*/ - /*Stage 3:*/ - /*4-5 butterfly.*/ - s=(27146*t5+0xB500>>16)+t5+(t5!=0)>>1; - r=t4+s; - t5=t4-s; - t4=r; - /*7-6 butterfly.*/ - s=(27146*t6+0xB500>>16)+t6+(t6!=0)>>1; - r=t7+s; - t6=t7-s; - t7=r; - /*Stage 4:*/ - /*0-1 butterfly.*/ - r=(27146*t0+0x4000>>16)+t0+(t0!=0); - s=(27146*t1+0xB500>>16)+t1+(t1!=0); - u=r+s>>1; - v=r-u; - _y[0]=u; - _y[4]=v; - /*3-2 rotation by 6pi/16*/ - u=(OC_C6S2*t2+OC_C2S6*t3+0x6CB7>>16)+(t3!=0); - s=(OC_C6S2*u>>16)-t2; - v=(s*21600+0x2800>>18)+s+(s!=0); - _y[2]=u; - _y[6]=v; - /*6-5 rotation by 3pi/16*/ - u=(OC_C5S3*t6+OC_C3S5*t5+0x0E3D>>16)+(t5!=0); - s=t6-(OC_C5S3*u>>16); - v=(s*26568+0x3400>>17)+s+(s!=0); - _y[5]=u; - _y[3]=v; - /*7-4 rotation by 7pi/16*/ - u=(OC_C7S1*t4+OC_C1S7*t7+0x7B1B>>16)+(t7!=0); - s=(OC_C7S1*u>>16)-t4; - v=(s*20539+0x3000>>20)+s+(s!=0); - _y[1]=u; - _y[7]=v; -} - -void oc_enc_fdct8x8(const oc_enc_ctx *_enc,ogg_int16_t _y[64], - const ogg_int16_t _x[64]){ - (*_enc->opt_vtable.fdct8x8)(_y,_x); -} - -/*Performs a forward 8x8 Type-II DCT transform. - The output is scaled by a factor of 4 relative to the orthonormal version - of the transform. - _y: The buffer to store the result in. - This may be the same as _x. - _x: The input coefficients. */ -void oc_enc_fdct8x8_c(ogg_int16_t _y[64],const ogg_int16_t _x[64]){ - const ogg_int16_t *in; - ogg_int16_t *end; - ogg_int16_t *out; - ogg_int16_t w[64]; - int i; - /*Add two extra bits of working precision to improve accuracy; any more and - we could overflow.*/ - for(i=0;i<64;i++)w[i]=_x[i]<<2; - /*These biases correct for some systematic error that remains in the full - fDCT->iDCT round trip.*/ - w[0]+=(w[0]!=0)+1; - w[1]++; - w[8]--; - /*Transform columns of w into rows of _y.*/ - for(in=w,out=_y,end=out+64;out>2; -} - - - -/*This does not seem to outperform simple LFE border padding before MC. - It yields higher PSNR, but much higher bitrate usage.*/ -#if 0 -typedef struct oc_extension_info oc_extension_info; - - - -/*Information needed to pad boundary blocks. - We multiply each row/column by an extension matrix that fills in the padding - values as a linear combination of the active values, so that an equivalent - number of coefficients are forced to zero. - This costs at most 16 multiplies, the same as a 1-D fDCT itself, and as - little as 7 multiplies. - We compute the extension matrices for every possible shape in advance, as - there are only 35. - The coefficients for all matrices are stored in a single array to take - advantage of the overlap and repetitiveness of many of the shapes. - A similar technique is applied to the offsets into this array. - This reduces the required table storage by about 48%. - See tools/extgen.c for details. - We could conceivably do the same for all 256 possible shapes.*/ -struct oc_extension_info{ - /*The mask of the active pixels in the shape.*/ - short mask; - /*The number of active pixels in the shape.*/ - short na; - /*The extension matrix. - This is (8-na)xna*/ - const ogg_int16_t *const *ext; - /*The pixel indices: na active pixels followed by 8-na padding pixels.*/ - unsigned char pi[8]; - /*The coefficient indices: na unconstrained coefficients followed by 8-na - coefficients to be forced to zero.*/ - unsigned char ci[8]; -}; - - -/*The number of shapes we need.*/ -#define OC_NSHAPES (35) - -static const ogg_int16_t OC_EXT_COEFFS[229]={ - 0x7FFF,0xE1F8,0x6903,0xAA79,0x5587,0x7FFF,0x1E08,0x7FFF, - 0x5587,0xAA79,0x6903,0xE1F8,0x7FFF,0x0000,0x0000,0x0000, - 0x7FFF,0x0000,0x0000,0x7FFF,0x8000,0x7FFF,0x0000,0x0000, - 0x7FFF,0xE1F8,0x1E08,0xB0A7,0xAA1D,0x337C,0x7FFF,0x4345, - 0x2267,0x4345,0x7FFF,0x337C,0xAA1D,0xB0A7,0x8A8C,0x4F59, - 0x03B4,0xE2D6,0x7FFF,0x2CF3,0x7FFF,0xE2D6,0x03B4,0x4F59, - 0x8A8C,0x1103,0x7AEF,0x5225,0xDF60,0xC288,0xDF60,0x5225, - 0x7AEF,0x1103,0x668A,0xD6EE,0x3A16,0x0E6C,0xFA07,0x0E6C, - 0x3A16,0xD6EE,0x668A,0x2A79,0x2402,0x980F,0x50F5,0x4882, - 0x50F5,0x980F,0x2402,0x2A79,0xF976,0x2768,0x5F22,0x2768, - 0xF976,0x1F91,0x76C1,0xE9AE,0x76C1,0x1F91,0x7FFF,0xD185, - 0x0FC8,0xD185,0x7FFF,0x4F59,0x4345,0xED62,0x4345,0x4F59, - 0xF574,0x5D99,0x2CF3,0x5D99,0xF574,0x5587,0x3505,0x30FC, - 0xF482,0x953C,0xEAC4,0x7FFF,0x4F04,0x7FFF,0xEAC4,0x953C, - 0xF482,0x30FC,0x4F04,0x273D,0xD8C3,0x273D,0x1E09,0x61F7, - 0x1E09,0x273D,0xD8C3,0x273D,0x4F04,0x30FC,0xA57E,0x153C, - 0x6AC4,0x3C7A,0x1E08,0x3C7A,0x6AC4,0x153C,0xA57E,0x7FFF, - 0xA57E,0x5A82,0x6AC4,0x153C,0xC386,0xE1F8,0xC386,0x153C, - 0x6AC4,0x5A82,0xD8C3,0x273D,0x7FFF,0xE1F7,0x7FFF,0x273D, - 0xD8C3,0x4F04,0x30FC,0xD8C3,0x273D,0xD8C3,0x30FC,0x4F04, - 0x1FC8,0x67AD,0x1853,0xE038,0x1853,0x67AD,0x1FC8,0x4546, - 0xE038,0x1FC8,0x3ABA,0x1FC8,0xE038,0x4546,0x3505,0x5587, - 0xF574,0xBC11,0x78F4,0x4AFB,0xE6F3,0x4E12,0x3C11,0xF8F4, - 0x4AFB,0x3C7A,0xF88B,0x3C11,0x78F4,0xCAFB,0x7FFF,0x08CC, - 0x070C,0x236D,0x5587,0x236D,0x070C,0xF88B,0x3C7A,0x4AFB, - 0xF8F4,0x3C11,0x7FFF,0x153C,0xCAFB,0x153C,0x7FFF,0x1E08, - 0xE1F8,0x7FFF,0x08CC,0x7FFF,0xCAFB,0x78F4,0x3C11,0x4E12, - 0xE6F3,0x4AFB,0x78F4,0xBC11,0xFE3D,0x7FFF,0xFE3D,0x2F3A, - 0x7FFF,0x2F3A,0x89BC,0x7FFF,0x89BC -}; - -static const ogg_int16_t *const OC_EXT_ROWS[96]={ - OC_EXT_COEFFS+ 0,OC_EXT_COEFFS+ 0,OC_EXT_COEFFS+ 0,OC_EXT_COEFFS+ 0, - OC_EXT_COEFFS+ 0,OC_EXT_COEFFS+ 0,OC_EXT_COEFFS+ 0,OC_EXT_COEFFS+ 6, - OC_EXT_COEFFS+ 27,OC_EXT_COEFFS+ 38,OC_EXT_COEFFS+ 43,OC_EXT_COEFFS+ 32, - OC_EXT_COEFFS+ 49,OC_EXT_COEFFS+ 58,OC_EXT_COEFFS+ 67,OC_EXT_COEFFS+ 71, - OC_EXT_COEFFS+ 62,OC_EXT_COEFFS+ 53,OC_EXT_COEFFS+ 12,OC_EXT_COEFFS+ 15, - OC_EXT_COEFFS+ 14,OC_EXT_COEFFS+ 13,OC_EXT_COEFFS+ 76,OC_EXT_COEFFS+ 81, - OC_EXT_COEFFS+ 86,OC_EXT_COEFFS+ 91,OC_EXT_COEFFS+ 96,OC_EXT_COEFFS+ 98, - OC_EXT_COEFFS+ 93,OC_EXT_COEFFS+ 88,OC_EXT_COEFFS+ 83,OC_EXT_COEFFS+ 78, - OC_EXT_COEFFS+ 12,OC_EXT_COEFFS+ 15,OC_EXT_COEFFS+ 15,OC_EXT_COEFFS+ 12, - OC_EXT_COEFFS+ 12,OC_EXT_COEFFS+ 15,OC_EXT_COEFFS+ 12,OC_EXT_COEFFS+ 15, - OC_EXT_COEFFS+ 15,OC_EXT_COEFFS+ 12,OC_EXT_COEFFS+ 103,OC_EXT_COEFFS+ 108, - OC_EXT_COEFFS+ 126,OC_EXT_COEFFS+ 16,OC_EXT_COEFFS+ 137,OC_EXT_COEFFS+ 141, - OC_EXT_COEFFS+ 20,OC_EXT_COEFFS+ 130,OC_EXT_COEFFS+ 113,OC_EXT_COEFFS+ 116, - OC_EXT_COEFFS+ 146,OC_EXT_COEFFS+ 153,OC_EXT_COEFFS+ 160,OC_EXT_COEFFS+ 167, - OC_EXT_COEFFS+ 170,OC_EXT_COEFFS+ 163,OC_EXT_COEFFS+ 156,OC_EXT_COEFFS+ 149, - OC_EXT_COEFFS+ 119,OC_EXT_COEFFS+ 122,OC_EXT_COEFFS+ 174,OC_EXT_COEFFS+ 177, - OC_EXT_COEFFS+ 182,OC_EXT_COEFFS+ 187,OC_EXT_COEFFS+ 192,OC_EXT_COEFFS+ 197, - OC_EXT_COEFFS+ 202,OC_EXT_COEFFS+ 207,OC_EXT_COEFFS+ 210,OC_EXT_COEFFS+ 215, - OC_EXT_COEFFS+ 179,OC_EXT_COEFFS+ 189,OC_EXT_COEFFS+ 24,OC_EXT_COEFFS+ 204, - OC_EXT_COEFFS+ 184,OC_EXT_COEFFS+ 194,OC_EXT_COEFFS+ 212,OC_EXT_COEFFS+ 199, - OC_EXT_COEFFS+ 217,OC_EXT_COEFFS+ 100,OC_EXT_COEFFS+ 134,OC_EXT_COEFFS+ 135, - OC_EXT_COEFFS+ 135,OC_EXT_COEFFS+ 12,OC_EXT_COEFFS+ 15,OC_EXT_COEFFS+ 134, - OC_EXT_COEFFS+ 134,OC_EXT_COEFFS+ 135,OC_EXT_COEFFS+ 220,OC_EXT_COEFFS+ 223, - OC_EXT_COEFFS+ 226,OC_EXT_COEFFS+ 227,OC_EXT_COEFFS+ 224,OC_EXT_COEFFS+ 221 -}; - -static const oc_extension_info OC_EXTENSION_INFO[OC_NSHAPES]={ - {0x7F,7,OC_EXT_ROWS+ 0,{0,1,2,3,4,5,6,7},{0,1,2,4,5,6,7,3}}, - {0xFE,7,OC_EXT_ROWS+ 7,{1,2,3,4,5,6,7,0},{0,1,2,4,5,6,7,3}}, - {0x3F,6,OC_EXT_ROWS+ 8,{0,1,2,3,4,5,7,6},{0,1,3,4,6,7,5,2}}, - {0xFC,6,OC_EXT_ROWS+ 10,{2,3,4,5,6,7,1,0},{0,1,3,4,6,7,5,2}}, - {0x1F,5,OC_EXT_ROWS+ 12,{0,1,2,3,4,7,6,5},{0,2,3,5,7,6,4,1}}, - {0xF8,5,OC_EXT_ROWS+ 15,{3,4,5,6,7,2,1,0},{0,2,3,5,7,6,4,1}}, - {0x0F,4,OC_EXT_ROWS+ 18,{0,1,2,3,7,6,5,4},{0,2,4,6,7,5,3,1}}, - {0xF0,4,OC_EXT_ROWS+ 18,{4,5,6,7,3,2,1,0},{0,2,4,6,7,5,3,1}}, - {0x07,3,OC_EXT_ROWS+ 22,{0,1,2,7,6,5,4,3},{0,3,6,7,5,4,2,1}}, - {0xE0,3,OC_EXT_ROWS+ 27,{5,6,7,4,3,2,1,0},{0,3,6,7,5,4,2,1}}, - {0x03,2,OC_EXT_ROWS+ 32,{0,1,7,6,5,4,3,2},{0,4,7,6,5,3,2,1}}, - {0xC0,2,OC_EXT_ROWS+ 32,{6,7,5,4,3,2,1,0},{0,4,7,6,5,3,2,1}}, - {0x01,1,OC_EXT_ROWS+ 0,{0,7,6,5,4,3,2,1},{0,7,6,5,4,3,2,1}}, - {0x80,1,OC_EXT_ROWS+ 0,{7,6,5,4,3,2,1,0},{0,7,6,5,4,3,2,1}}, - {0x7E,6,OC_EXT_ROWS+ 42,{1,2,3,4,5,6,7,0},{0,1,2,5,6,7,4,3}}, - {0x7C,5,OC_EXT_ROWS+ 44,{2,3,4,5,6,7,1,0},{0,1,4,5,7,6,3,2}}, - {0x3E,5,OC_EXT_ROWS+ 47,{1,2,3,4,5,7,6,0},{0,1,4,5,7,6,3,2}}, - {0x78,4,OC_EXT_ROWS+ 50,{3,4,5,6,7,2,1,0},{0,4,5,7,6,3,2,1}}, - {0x3C,4,OC_EXT_ROWS+ 54,{2,3,4,5,7,6,1,0},{0,3,4,7,6,5,2,1}}, - {0x1E,4,OC_EXT_ROWS+ 58,{1,2,3,4,7,6,5,0},{0,4,5,7,6,3,2,1}}, - {0x70,3,OC_EXT_ROWS+ 62,{4,5,6,7,3,2,1,0},{0,5,7,6,4,3,2,1}}, - {0x38,3,OC_EXT_ROWS+ 67,{3,4,5,7,6,2,1,0},{0,5,6,7,4,3,2,1}}, - {0x1C,3,OC_EXT_ROWS+ 72,{2,3,4,7,6,5,1,0},{0,5,6,7,4,3,2,1}}, - {0x0E,3,OC_EXT_ROWS+ 77,{1,2,3,7,6,5,4,0},{0,5,7,6,4,3,2,1}}, - {0x60,2,OC_EXT_ROWS+ 82,{5,6,7,4,3,2,1,0},{0,2,7,6,5,4,3,1}}, - {0x30,2,OC_EXT_ROWS+ 36,{4,5,7,6,3,2,1,0},{0,4,7,6,5,3,2,1}}, - {0x18,2,OC_EXT_ROWS+ 90,{3,4,7,6,5,2,1,0},{0,1,7,6,5,4,3,2}}, - {0x0C,2,OC_EXT_ROWS+ 34,{2,3,7,6,5,4,1,0},{0,4,7,6,5,3,2,1}}, - {0x06,2,OC_EXT_ROWS+ 84,{1,2,7,6,5,4,3,0},{0,2,7,6,5,4,3,1}}, - {0x40,1,OC_EXT_ROWS+ 0,{6,7,5,4,3,2,1,0},{0,7,6,5,4,3,2,1}}, - {0x20,1,OC_EXT_ROWS+ 0,{5,7,6,4,3,2,1,0},{0,7,6,5,4,3,2,1}}, - {0x10,1,OC_EXT_ROWS+ 0,{4,7,6,5,3,2,1,0},{0,7,6,5,4,3,2,1}}, - {0x08,1,OC_EXT_ROWS+ 0,{3,7,6,5,4,2,1,0},{0,7,6,5,4,3,2,1}}, - {0x04,1,OC_EXT_ROWS+ 0,{2,7,6,5,4,3,1,0},{0,7,6,5,4,3,2,1}}, - {0x02,1,OC_EXT_ROWS+ 0,{1,7,6,5,4,3,2,0},{0,7,6,5,4,3,2,1}} -}; - - - -/*Pads a single column of a partial block and then performs a forward Type-II - DCT on the result. - The input is scaled by a factor of 4 and biased appropriately for the current - fDCT implementation. - The output is scaled by an additional factor of 2 from the orthonormal - version of the transform. - _y: The buffer to store the result in. - Data will be placed the first 8 entries (e.g., in a row of an 8x8 block). - _x: The input coefficients. - Every 8th entry is used (e.g., from a column of an 8x8 block). - _e: The extension information for the shape.*/ -static void oc_fdct8_ext(ogg_int16_t _y[8],ogg_int16_t *_x, - const oc_extension_info *_e){ - const unsigned char *pi; - int na; - na=_e->na; - pi=_e->pi; - if(na==1){ - int ci; - /*While the branch below is still correct for shapes with na==1, we can - perform the entire transform with just 1 multiply in this case instead - of 23.*/ - _y[0]=(ogg_int16_t)(OC_DIV2_16(OC_C4S4*(_x[pi[0]]))); - for(ci=1;ci<8;ci++)_y[ci]=0; - } - else{ - const ogg_int16_t *const *ext; - int zpi; - int api; - int nz; - /*First multiply by the extension matrix to compute the padding values.*/ - nz=8-na; - ext=_e->ext; - for(zpi=0;zpi>16)+1>>1; - } - oc_fdct8(_y,_x); - } -} - -/*Performs a forward 8x8 Type-II DCT transform on blocks which overlap the - border of the picture region. - This method ONLY works with rectangular regions. - _border: A description of which pixels are inside the border. - _y: The buffer to store the result in. - This may be the same as _x. - _x: The input pixel values. - Pixel values outside the border will be ignored.*/ -void oc_fdct8x8_border(const oc_border_info *_border, - ogg_int16_t _y[64],const ogg_int16_t _x[64]){ - ogg_int16_t *in; - ogg_int16_t *out; - ogg_int16_t w[64]; - ogg_int64_t mask; - const oc_extension_info *cext; - const oc_extension_info *rext; - int cmask; - int rmask; - int ri; - int ci; - /*Identify the shapes of the non-zero rows and columns.*/ - rmask=cmask=0; - mask=_border->mask; - for(ri=0;ri<8;ri++){ - /*This aggregation is _only_ correct for rectangular masks.*/ - cmask|=((mask&0xFF)!=0)<>=8; - } - /*Find the associated extension info for these shapes.*/ - if(cmask==0xFF)cext=NULL; - else for(cext=OC_EXTENSION_INFO;cext->mask!=cmask;){ - /*If we somehow can't find the shape, then just do an unpadded fDCT. - It won't be efficient, but it should still be correct.*/ - if(++cext>=OC_EXTENSION_INFO+OC_NSHAPES){ - oc_enc_fdct8x8_c(_y,_x); - return; - } - } - if(rmask==0xFF)rext=NULL; - else for(rext=OC_EXTENSION_INFO;rext->mask!=rmask;){ - /*If we somehow can't find the shape, then just do an unpadded fDCT. - It won't be efficient, but it should still be correct.*/ - if(++rext>=OC_EXTENSION_INFO+OC_NSHAPES){ - oc_enc_fdct8x8_c(_y,_x); - return; - } - } - /*Add two extra bits of working precision to improve accuracy; any more and - we could overflow.*/ - for(ci=0;ci<64;ci++)w[ci]=_x[ci]<<2; - /*These biases correct for some systematic error that remains in the full - fDCT->iDCT round trip. - We can safely add them before padding, since if these pixel values are - overwritten, we didn't care what they were anyway (and the unbiased values - will usually yield smaller DCT coefficient magnitudes).*/ - w[0]+=(w[0]!=0)+1; - w[1]++; - w[8]--; - /*Transform the columns. - We can ignore zero columns without a problem.*/ - in=w; - out=_y; - if(cext==NULL)for(ci=0;ci<8;ci++)oc_fdct8(out+(ci<<3),in+ci); - else for(ci=0;ci<8;ci++)if(rmask&(1<>2; -} -#endif diff --git a/Libraries/libtheora-1.1.1/lib/fragment.c b/Libraries/libtheora-1.1.1/lib/fragment.c deleted file mode 100644 index 15372e9d..00000000 --- a/Libraries/libtheora-1.1.1/lib/fragment.c +++ /dev/null @@ -1,87 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: fragment.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ -#include -#include "internal.h" - -void oc_frag_copy(const oc_theora_state *_state,unsigned char *_dst, - const unsigned char *_src,int _ystride){ - (*_state->opt_vtable.frag_copy)(_dst,_src,_ystride); -} - -void oc_frag_copy_c(unsigned char *_dst,const unsigned char *_src,int _ystride){ - int i; - for(i=8;i-->0;){ - memcpy(_dst,_src,8*sizeof(*_dst)); - _dst+=_ystride; - _src+=_ystride; - } -} - -void oc_frag_recon_intra(const oc_theora_state *_state,unsigned char *_dst, - int _ystride,const ogg_int16_t _residue[64]){ - _state->opt_vtable.frag_recon_intra(_dst,_ystride,_residue); -} - -void oc_frag_recon_intra_c(unsigned char *_dst,int _ystride, - const ogg_int16_t _residue[64]){ - int i; - for(i=0;i<8;i++){ - int j; - for(j=0;j<8;j++)_dst[j]=OC_CLAMP255(_residue[i*8+j]+128); - _dst+=_ystride; - } -} - -void oc_frag_recon_inter(const oc_theora_state *_state,unsigned char *_dst, - const unsigned char *_src,int _ystride,const ogg_int16_t _residue[64]){ - _state->opt_vtable.frag_recon_inter(_dst,_src,_ystride,_residue); -} - -void oc_frag_recon_inter_c(unsigned char *_dst, - const unsigned char *_src,int _ystride,const ogg_int16_t _residue[64]){ - int i; - for(i=0;i<8;i++){ - int j; - for(j=0;j<8;j++)_dst[j]=OC_CLAMP255(_residue[i*8+j]+_src[j]); - _dst+=_ystride; - _src+=_ystride; - } -} - -void oc_frag_recon_inter2(const oc_theora_state *_state,unsigned char *_dst, - const unsigned char *_src1,const unsigned char *_src2,int _ystride, - const ogg_int16_t _residue[64]){ - _state->opt_vtable.frag_recon_inter2(_dst,_src1,_src2,_ystride,_residue); -} - -void oc_frag_recon_inter2_c(unsigned char *_dst,const unsigned char *_src1, - const unsigned char *_src2,int _ystride,const ogg_int16_t _residue[64]){ - int i; - for(i=0;i<8;i++){ - int j; - for(j=0;j<8;j++)_dst[j]=OC_CLAMP255(_residue[i*8+j]+(_src1[j]+_src2[j]>>1)); - _dst+=_ystride; - _src1+=_ystride; - _src2+=_ystride; - } -} - -void oc_restore_fpu(const oc_theora_state *_state){ - _state->opt_vtable.restore_fpu(); -} - -void oc_restore_fpu_c(void){} diff --git a/Libraries/libtheora-1.1.1/lib/huffdec.c b/Libraries/libtheora-1.1.1/lib/huffdec.c deleted file mode 100644 index 8cf27f03..00000000 --- a/Libraries/libtheora-1.1.1/lib/huffdec.c +++ /dev/null @@ -1,489 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: huffdec.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#include -#include -#include -#include "huffdec.h" -#include "decint.h" - - -/*The ANSI offsetof macro is broken on some platforms (e.g., older DECs).*/ -#define _ogg_offsetof(_type,_field)\ - ((size_t)((char *)&((_type *)0)->_field-(char *)0)) - -/*The number of internal tokens associated with each of the spec tokens.*/ -static const unsigned char OC_DCT_TOKEN_MAP_ENTRIES[TH_NDCT_TOKENS]={ - 1,1,1,4,8,1,1,8,1,1,1,1,1,2,2,2,2,4,8,2,2,2,4,2,2,2,2,2,8,2,4,8 -}; - -/*The map from external spec-defined tokens to internal tokens. - This is constructed so that any extra bits read with the original token value - can be masked off the least significant bits of its internal token index. - In addition, all of the tokens which require additional extra bits are placed - at the start of the list, and grouped by type. - OC_DCT_REPEAT_RUN3_TOKEN is placed first, as it is an extra-special case, so - giving it index 0 may simplify comparisons on some architectures. - These requirements require some substantial reordering.*/ -static const unsigned char OC_DCT_TOKEN_MAP[TH_NDCT_TOKENS]={ - /*OC_DCT_EOB1_TOKEN (0 extra bits)*/ - 15, - /*OC_DCT_EOB2_TOKEN (0 extra bits)*/ - 16, - /*OC_DCT_EOB3_TOKEN (0 extra bits)*/ - 17, - /*OC_DCT_REPEAT_RUN0_TOKEN (2 extra bits)*/ - 88, - /*OC_DCT_REPEAT_RUN1_TOKEN (3 extra bits)*/ - 80, - /*OC_DCT_REPEAT_RUN2_TOKEN (4 extra bits)*/ - 1, - /*OC_DCT_REPEAT_RUN3_TOKEN (12 extra bits)*/ - 0, - /*OC_DCT_SHORT_ZRL_TOKEN (3 extra bits)*/ - 48, - /*OC_DCT_ZRL_TOKEN (6 extra bits)*/ - 14, - /*OC_ONE_TOKEN (0 extra bits)*/ - 56, - /*OC_MINUS_ONE_TOKEN (0 extra bits)*/ - 57, - /*OC_TWO_TOKEN (0 extra bits)*/ - 58, - /*OC_MINUS_TWO_TOKEN (0 extra bits)*/ - 59, - /*OC_DCT_VAL_CAT2 (1 extra bit)*/ - 60, - 62, - 64, - 66, - /*OC_DCT_VAL_CAT3 (2 extra bits)*/ - 68, - /*OC_DCT_VAL_CAT4 (3 extra bits)*/ - 72, - /*OC_DCT_VAL_CAT5 (4 extra bits)*/ - 2, - /*OC_DCT_VAL_CAT6 (5 extra bits)*/ - 4, - /*OC_DCT_VAL_CAT7 (6 extra bits)*/ - 6, - /*OC_DCT_VAL_CAT8 (10 extra bits)*/ - 8, - /*OC_DCT_RUN_CAT1A (1 extra bit)*/ - 18, - 20, - 22, - 24, - 26, - /*OC_DCT_RUN_CAT1B (3 extra bits)*/ - 32, - /*OC_DCT_RUN_CAT1C (4 extra bits)*/ - 12, - /*OC_DCT_RUN_CAT2A (2 extra bits)*/ - 28, - /*OC_DCT_RUN_CAT2B (3 extra bits)*/ - 40 -}; - -/*These three functions are really part of the bitpack.c module, but - they are only used here. - Declaring local static versions so they can be inlined saves considerable - function call overhead.*/ - -static oc_pb_window oc_pack_refill(oc_pack_buf *_b,int _bits){ - const unsigned char *ptr; - const unsigned char *stop; - oc_pb_window window; - int available; - window=_b->window; - available=_b->bits; - ptr=_b->ptr; - stop=_b->stop; - /*This version of _refill() doesn't bother setting eof because we won't - check for it after we've started decoding DCT tokens.*/ - if(ptr>=stop)available=OC_LOTS_OF_BITS; - while(available<=OC_PB_WINDOW_SIZE-8){ - available+=8; - window|=(oc_pb_window)*ptr++<=stop)available=OC_LOTS_OF_BITS; - } - _b->ptr=ptr; - if(_bits>available)window|=*ptr>>(available&7); - _b->bits=available; - return window; -} - - -/*Read in bits without advancing the bit pointer. - Here we assume 0<=_bits&&_bits<=32.*/ -static long oc_pack_look(oc_pack_buf *_b,int _bits){ - oc_pb_window window; - int available; - long result; - window=_b->window; - available=_b->bits; - if(_bits==0)return 0; - if(_bits>available)_b->window=window=oc_pack_refill(_b,_bits); - result=window>>OC_PB_WINDOW_SIZE-_bits; - return result; -} - -/*Advance the bit pointer.*/ -static void oc_pack_adv(oc_pack_buf *_b,int _bits){ - /*We ignore the special cases for _bits==0 and _bits==32 here, since they are - never used actually used. - OC_HUFF_SLUSH (defined below) would have to be at least 27 to actually read - 32 bits in a single go, and would require a 32 GB lookup table (assuming - 8 byte pointers, since 4 byte pointers couldn't fit such a table).*/ - _b->window<<=_bits; - _b->bits-=_bits; -} - - -/*The log_2 of the size of a lookup table is allowed to grow to relative to - the number of unique nodes it contains. - E.g., if OC_HUFF_SLUSH is 2, then at most 75% of the space in the tree is - wasted (each node will have an amortized cost of at most 20 bytes when using - 4-byte pointers). - Larger numbers can decode tokens with fewer read operations, while smaller - numbers may save more space (requiring as little as 8 bytes amortized per - node, though there will be more nodes). - With a sample file: - 32233473 read calls are required when no tree collapsing is done (100.0%). - 19269269 read calls are required when OC_HUFF_SLUSH is 0 (59.8%). - 11144969 read calls are required when OC_HUFF_SLUSH is 1 (34.6%). - 10538563 read calls are required when OC_HUFF_SLUSH is 2 (32.7%). - 10192578 read calls are required when OC_HUFF_SLUSH is 3 (31.6%). - Since a value of 1 gets us the vast majority of the speed-up with only a - small amount of wasted memory, this is what we use.*/ -#define OC_HUFF_SLUSH (1) - - -/*Determines the size in bytes of a Huffman tree node that represents a - subtree of depth _nbits. - _nbits: The depth of the subtree. - If this is 0, the node is a leaf node. - Otherwise 1<<_nbits pointers are allocated for children. - Return: The number of bytes required to store the node.*/ -static size_t oc_huff_node_size(int _nbits){ - size_t size; - size=_ogg_offsetof(oc_huff_node,nodes); - if(_nbits>0)size+=sizeof(oc_huff_node *)*(1<<_nbits); - return size; -} - -static oc_huff_node *oc_huff_node_init(char **_storage,size_t _size,int _nbits){ - oc_huff_node *ret; - ret=(oc_huff_node *)*_storage; - ret->nbits=(unsigned char)_nbits; - (*_storage)+=_size; - return ret; -} - - -/*Determines the size in bytes of a Huffman tree. - _nbits: The depth of the subtree. - If this is 0, the node is a leaf node. - Otherwise storage for 1<<_nbits pointers are added for children. - Return: The number of bytes required to store the tree.*/ -static size_t oc_huff_tree_size(const oc_huff_node *_node){ - size_t size; - size=oc_huff_node_size(_node->nbits); - if(_node->nbits){ - int nchildren; - int i; - nchildren=1<<_node->nbits; - for(i=0;inbits-_node->nodes[i]->depth){ - size+=oc_huff_tree_size(_node->nodes[i]); - } - } - return size; -} - - -/*Unpacks a sub-tree from the given buffer. - _opb: The buffer to unpack from. - _binodes: The nodes to store the sub-tree in. - _nbinodes: The number of nodes available for the sub-tree. - Return: 0 on success, or a negative value on error.*/ -static int oc_huff_tree_unpack(oc_pack_buf *_opb, - oc_huff_node *_binodes,int _nbinodes){ - oc_huff_node *binode; - long bits; - int nused; - if(_nbinodes<1)return TH_EBADHEADER; - binode=_binodes; - nused=0; - bits=oc_pack_read1(_opb); - if(oc_pack_bytes_left(_opb)<0)return TH_EBADHEADER; - /*Read an internal node:*/ - if(!bits){ - int ret; - nused++; - binode->nbits=1; - binode->depth=1; - binode->nodes[0]=_binodes+nused; - ret=oc_huff_tree_unpack(_opb,_binodes+nused,_nbinodes-nused); - if(ret>=0){ - nused+=ret; - binode->nodes[1]=_binodes+nused; - ret=oc_huff_tree_unpack(_opb,_binodes+nused,_nbinodes-nused); - } - if(ret<0)return ret; - nused+=ret; - } - /*Read a leaf node:*/ - else{ - int ntokens; - int token; - int i; - bits=oc_pack_read(_opb,OC_NDCT_TOKEN_BITS); - if(oc_pack_bytes_left(_opb)<0)return TH_EBADHEADER; - /*Find out how many internal tokens we translate this external token into.*/ - ntokens=OC_DCT_TOKEN_MAP_ENTRIES[bits]; - if(_nbinodes<2*ntokens-1)return TH_EBADHEADER; - /*Fill in a complete binary tree pointing to the internal tokens.*/ - for(i=1;inbits=0; - binode->depth=1; - binode->token=token+i; - } - } - return nused; -} - -/*Finds the depth of shortest branch of the given sub-tree. - The tree must be binary. - _binode: The root of the given sub-tree. - _binode->nbits must be 0 or 1. - Return: The smallest depth of a leaf node in this sub-tree. - 0 indicates this sub-tree is a leaf node.*/ -static int oc_huff_tree_mindepth(oc_huff_node *_binode){ - int depth0; - int depth1; - if(_binode->nbits==0)return 0; - depth0=oc_huff_tree_mindepth(_binode->nodes[0]); - depth1=oc_huff_tree_mindepth(_binode->nodes[1]); - return OC_MINI(depth0,depth1)+1; -} - -/*Finds the number of internal nodes at a given depth, plus the number of - leaves at that depth or shallower. - The tree must be binary. - _binode: The root of the given sub-tree. - _binode->nbits must be 0 or 1. - Return: The number of entries that would be contained in a jump table of the - given depth.*/ -static int oc_huff_tree_occupancy(oc_huff_node *_binode,int _depth){ - if(_binode->nbits==0||_depth<=0)return 1; - else{ - return oc_huff_tree_occupancy(_binode->nodes[0],_depth-1)+ - oc_huff_tree_occupancy(_binode->nodes[1],_depth-1); - } -} - -/*Makes a copy of the given Huffman tree. - _node: The Huffman tree to copy. - Return: The copy of the Huffman tree.*/ -static oc_huff_node *oc_huff_tree_copy(const oc_huff_node *_node, - char **_storage){ - oc_huff_node *ret; - ret=oc_huff_node_init(_storage,oc_huff_node_size(_node->nbits),_node->nbits); - ret->depth=_node->depth; - if(_node->nbits){ - int nchildren; - int i; - int inext; - nchildren=1<<_node->nbits; - for(i=0;inodes[i]=oc_huff_tree_copy(_node->nodes[i],_storage); - inext=i+(1<<_node->nbits-ret->nodes[i]->depth); - while(++inodes[i]=ret->nodes[i-1]; - } - } - else ret->token=_node->token; - return ret; -} - -static size_t oc_huff_tree_collapse_size(oc_huff_node *_binode,int _depth){ - size_t size; - int mindepth; - int depth; - int loccupancy; - int occupancy; - if(_binode->nbits!=0&&_depth>0){ - return oc_huff_tree_collapse_size(_binode->nodes[0],_depth-1)+ - oc_huff_tree_collapse_size(_binode->nodes[1],_depth-1); - } - depth=mindepth=oc_huff_tree_mindepth(_binode); - occupancy=1<loccupancy&&occupancy>=1<0){ - size+=oc_huff_tree_collapse_size(_binode->nodes[0],depth-1); - size+=oc_huff_tree_collapse_size(_binode->nodes[1],depth-1); - } - return size; -} - -static oc_huff_node *oc_huff_tree_collapse(oc_huff_node *_binode, - char **_storage); - -/*Fills the given nodes table with all the children in the sub-tree at the - given depth. - The nodes in the sub-tree with a depth less than that stored in the table - are freed. - The sub-tree must be binary and complete up until the given depth. - _nodes: The nodes table to fill. - _binode: The root of the sub-tree to fill it with. - _binode->nbits must be 0 or 1. - _level: The current level in the table. - 0 indicates that the current node should be stored, regardless of - whether it is a leaf node or an internal node. - _depth: The depth of the nodes to fill the table with, relative to their - parent.*/ -static void oc_huff_node_fill(oc_huff_node **_nodes, - oc_huff_node *_binode,int _level,int _depth,char **_storage){ - if(_level<=0||_binode->nbits==0){ - int i; - _binode->depth=(unsigned char)(_depth-_level); - _nodes[0]=oc_huff_tree_collapse(_binode,_storage); - for(i=1;i<1<<_level;i++)_nodes[i]=_nodes[0]; - } - else{ - _level--; - oc_huff_node_fill(_nodes,_binode->nodes[0],_level,_depth,_storage); - _nodes+=1<<_level; - oc_huff_node_fill(_nodes,_binode->nodes[1],_level,_depth,_storage); - } -} - -/*Finds the largest complete sub-tree rooted at the current node and collapses - it into a single node. - This procedure is then applied recursively to all the children of that node. - _binode: The root of the sub-tree to collapse. - _binode->nbits must be 0 or 1. - Return: The new root of the collapsed sub-tree.*/ -static oc_huff_node *oc_huff_tree_collapse(oc_huff_node *_binode, - char **_storage){ - oc_huff_node *root; - size_t size; - int mindepth; - int depth; - int loccupancy; - int occupancy; - depth=mindepth=oc_huff_tree_mindepth(_binode); - occupancy=1<loccupancy&&occupancy>=1<depth=_binode->depth; - oc_huff_node_fill(root->nodes,_binode,depth,depth,_storage); - return root; -} - -/*Unpacks a set of Huffman trees, and reduces them to a collapsed - representation. - _opb: The buffer to unpack the trees from. - _nodes: The table to fill with the Huffman trees. - Return: 0 on success, or a negative value on error.*/ -int oc_huff_trees_unpack(oc_pack_buf *_opb, - oc_huff_node *_nodes[TH_NHUFFMAN_TABLES]){ - int i; - for(i=0;i0)_ogg_free(_dst[i]); - return TH_EFAULT; - } - _dst[i]=oc_huff_tree_copy(_src[i],&storage); - } - return 0; -} - -/*Frees the memory used by a set of Huffman trees. - _nodes: The array of trees to free.*/ -void oc_huff_trees_clear(oc_huff_node *_nodes[TH_NHUFFMAN_TABLES]){ - int i; - for(i=0;inbits!=0){ - bits=oc_pack_look(_opb,_node->nbits); - _node=_node->nodes[bits]; - oc_pack_adv(_opb,_node->depth); - } - return _node->token; -} diff --git a/Libraries/libtheora-1.1.1/lib/huffdec.h b/Libraries/libtheora-1.1.1/lib/huffdec.h deleted file mode 100644 index d7ffa0e9..00000000 --- a/Libraries/libtheora-1.1.1/lib/huffdec.h +++ /dev/null @@ -1,92 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: huffdec.h 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#if !defined(_huffdec_H) -# define _huffdec_H (1) -# include "huffman.h" -# include "bitpack.h" - - - -typedef struct oc_huff_node oc_huff_node; - -/*A node in the Huffman tree. - Instead of storing every branching in the tree, subtrees can be collapsed - into one node, with a table of size 1< -#include -#include -#include "huffenc.h" - - - -/*The default Huffman codes used for VP3.1.*/ -const th_huff_code TH_VP31_HUFF_CODES[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS]={ - { - {0x002D, 6},{0x0026, 7},{0x0166, 9},{0x004E, 8}, - {0x02CE,10},{0x059E,11},{0x027D,11},{0x0008, 5}, - {0x04F9,12},{0x000F, 4},{0x000E, 4},{0x001B, 5}, - {0x0006, 4},{0x0008, 4},{0x0005, 4},{0x001A, 5}, - {0x0015, 5},{0x0007, 4},{0x000C, 4},{0x0001, 3}, - {0x0000, 3},{0x0009, 4},{0x0017, 5},{0x0029, 6}, - {0x0028, 6},{0x00B2, 8},{0x04F8,12},{0x059F,11}, - {0x009E, 9},{0x013F,10},{0x0012, 6},{0x0058, 7} - }, - { - {0x0010, 5},{0x0047, 7},{0x01FF, 9},{0x008C, 8}, - {0x03FC,10},{0x046A,11},{0x0469,11},{0x0022, 6}, - {0x11A1,13},{0x000E, 4},{0x000D, 4},{0x0004, 4}, - {0x0005, 4},{0x0009, 4},{0x0006, 4},{0x001E, 5}, - {0x0016, 5},{0x0007, 4},{0x000C, 4},{0x0001, 3}, - {0x0000, 3},{0x000A, 4},{0x0017, 5},{0x007D, 7}, - {0x007E, 7},{0x011B, 9},{0x08D1,12},{0x03FD,10}, - {0x046B,11},{0x11A0,13},{0x007C, 7},{0x00FE, 8} - }, - { - {0x0016, 5},{0x0020, 6},{0x0086, 8},{0x0087, 8}, - {0x0367,10},{0x06CC,11},{0x06CB,11},{0x006E, 7}, - {0x366D,14},{0x000F, 4},{0x000E, 4},{0x0004, 4}, - {0x0005, 4},{0x000A, 4},{0x0006, 4},{0x001A, 5}, - {0x0011, 5},{0x0007, 4},{0x000C, 4},{0x0001, 3}, - {0x0000, 3},{0x0009, 4},{0x0017, 5},{0x006F, 7}, - {0x006D, 7},{0x0364,10},{0x0D9A,12},{0x06CA,11}, - {0x1B37,13},{0x366C,14},{0x0042, 7},{0x00D8, 8} - }, - { - {0x0000, 4},{0x002D, 6},{0x00F7, 8},{0x0058, 7}, - {0x0167, 9},{0x02CB,10},{0x02CA,10},{0x000E, 6}, - {0x1661,13},{0x0003, 3},{0x0002, 3},{0x0008, 4}, - {0x0009, 4},{0x000D, 4},{0x0002, 4},{0x001F, 5}, - {0x0017, 5},{0x0001, 4},{0x000C, 4},{0x000E, 4}, - {0x000A, 4},{0x0006, 5},{0x0078, 7},{0x000F, 6}, - {0x007A, 7},{0x0164, 9},{0x0599,11},{0x02CD,10}, - {0x0B31,12},{0x1660,13},{0x0079, 7},{0x00F6, 8} - }, - { - {0x0003, 4},{0x003C, 6},{0x000F, 7},{0x007A, 7}, - {0x001D, 8},{0x0020, 9},{0x0072,10},{0x0006, 6}, - {0x0399,13},{0x0004, 3},{0x0005, 3},{0x0005, 4}, - {0x0006, 4},{0x000E, 4},{0x0004, 4},{0x0000, 4}, - {0x0019, 5},{0x0002, 4},{0x000D, 4},{0x0007, 4}, - {0x001F, 5},{0x0030, 6},{0x0011, 8},{0x0031, 6}, - {0x0005, 6},{0x0021, 9},{0x00E7,11},{0x0038, 9}, - {0x01CD,12},{0x0398,13},{0x007B, 7},{0x0009, 7} - }, - { - {0x0009, 4},{0x0002, 5},{0x0074, 7},{0x0007, 6}, - {0x00EC, 8},{0x00D1, 9},{0x01A6,10},{0x0006, 6}, - {0x0D21,13},{0x0005, 3},{0x0006, 3},{0x0008, 4}, - {0x0007, 4},{0x000F, 4},{0x0004, 4},{0x0000, 4}, - {0x001C, 5},{0x0002, 4},{0x0005, 4},{0x0003, 4}, - {0x000C, 5},{0x0035, 7},{0x01A7,10},{0x001B, 6}, - {0x0077, 7},{0x01A5,10},{0x0349,11},{0x00D0, 9}, - {0x0691,12},{0x0D20,13},{0x0075, 7},{0x00ED, 8} - }, - { - {0x000A, 4},{0x000C, 5},{0x0012, 6},{0x001B, 6}, - {0x00B7, 8},{0x016C, 9},{0x0099, 9},{0x005A, 7}, - {0x16D8,13},{0x0007, 3},{0x0006, 3},{0x0009, 4}, - {0x0008, 4},{0x0000, 3},{0x0005, 4},{0x0017, 5}, - {0x000E, 5},{0x0002, 4},{0x0003, 4},{0x000F, 5}, - {0x001A, 6},{0x004D, 8},{0x2DB3,14},{0x002C, 6}, - {0x0011, 6},{0x02DA,10},{0x05B7,11},{0x0098, 9}, - {0x0B6D,12},{0x2DB2,14},{0x0010, 6},{0x0027, 7} - }, - { - {0x000D, 4},{0x000F, 5},{0x001D, 6},{0x0008, 5}, - {0x0051, 7},{0x0056, 8},{0x00AF, 9},{0x002A, 7}, - {0x148A,13},{0x0007, 3},{0x0000, 2},{0x0008, 4}, - {0x0009, 4},{0x000C, 4},{0x0006, 4},{0x0017, 5}, - {0x000B, 5},{0x0016, 5},{0x0015, 5},{0x0009, 5}, - {0x0050, 7},{0x00AE, 9},{0x2917,14},{0x001C, 6}, - {0x0014, 6},{0x0290,10},{0x0523,11},{0x0149, 9}, - {0x0A44,12},{0x2916,14},{0x0053, 7},{0x00A5, 8} - }, - { - {0x0001, 4},{0x001D, 6},{0x00F5, 8},{0x00F4, 8}, - {0x024D,10},{0x0499,11},{0x0498,11},{0x0001, 5}, - {0x0021, 6},{0x0006, 3},{0x0005, 3},{0x0006, 4}, - {0x0005, 4},{0x0002, 4},{0x0007, 5},{0x0025, 6}, - {0x007B, 7},{0x001C, 6},{0x0020, 6},{0x000D, 6}, - {0x0048, 7},{0x0092, 8},{0x0127, 9},{0x000E, 4}, - {0x0004, 4},{0x0011, 5},{0x000C, 6},{0x003C, 6}, - {0x000F, 5},{0x0000, 5},{0x001F, 5},{0x0013, 5} - }, - { - {0x0005, 4},{0x003C, 6},{0x0040, 7},{0x000D, 7}, - {0x0031, 9},{0x0061,10},{0x0060,10},{0x0002, 5}, - {0x00F5, 8},{0x0006, 3},{0x0005, 3},{0x0007, 4}, - {0x0006, 4},{0x0002, 4},{0x0009, 5},{0x0025, 6}, - {0x0007, 6},{0x0021, 6},{0x0024, 6},{0x0010, 6}, - {0x0041, 7},{0x00F4, 8},{0x0019, 8},{0x000E, 4}, - {0x0003, 4},{0x0011, 5},{0x0011, 6},{0x003F, 6}, - {0x003E, 6},{0x007B, 7},{0x0000, 4},{0x0013, 5} - }, - { - {0x000A, 4},{0x0007, 5},{0x0001, 6},{0x0009, 6}, - {0x0131, 9},{0x0261,10},{0x0260,10},{0x0015, 6}, - {0x0001, 7},{0x0007, 3},{0x0006, 3},{0x0008, 4}, - {0x0007, 4},{0x0006, 4},{0x0012, 5},{0x002F, 6}, - {0x0014, 6},{0x0027, 6},{0x002D, 6},{0x0016, 6}, - {0x004D, 7},{0x0099, 8},{0x0000, 7},{0x0004, 4}, - {0x0001, 4},{0x0005, 5},{0x0017, 6},{0x002E, 6}, - {0x002C, 6},{0x0008, 6},{0x0006, 5},{0x0001, 5} - }, - { - {0x0000, 3},{0x000E, 5},{0x0017, 6},{0x002A, 6}, - {0x0010, 7},{0x00F9,10},{0x00F8,10},{0x001E, 7}, - {0x003F, 8},{0x0007, 3},{0x0006, 3},{0x0009, 4}, - {0x0008, 4},{0x0006, 4},{0x000F, 5},{0x0005, 5}, - {0x0016, 6},{0x0029, 6},{0x002B, 6},{0x0015, 6}, - {0x0050, 7},{0x0011, 7},{0x007D, 9},{0x0004, 4}, - {0x0017, 5},{0x0006, 5},{0x0014, 6},{0x002C, 6}, - {0x002D, 6},{0x000E, 6},{0x0009, 6},{0x0051, 7} - }, - { - {0x0002, 3},{0x0018, 5},{0x002F, 6},{0x000D, 5}, - {0x0053, 7},{0x0295,10},{0x0294,10},{0x00A4, 8}, - {0x007C, 8},{0x0000, 2},{0x0007, 3},{0x0009, 4}, - {0x0008, 4},{0x001B, 5},{0x000C, 5},{0x0028, 6}, - {0x006A, 7},{0x001E, 6},{0x001D, 6},{0x0069, 7}, - {0x00D7, 8},{0x007D, 8},{0x014B, 9},{0x0019, 5}, - {0x0016, 5},{0x002E, 6},{0x001C, 6},{0x002B, 6}, - {0x002A, 6},{0x0068, 7},{0x003F, 7},{0x00D6, 8} - }, - { - {0x0002, 3},{0x001B, 5},{0x000C, 5},{0x0018, 5}, - {0x0029, 6},{0x007F, 8},{0x02F0,10},{0x0198, 9}, - {0x0179, 9},{0x0000, 2},{0x0007, 3},{0x0009, 4}, - {0x0008, 4},{0x001A, 5},{0x000D, 5},{0x002A, 6}, - {0x0064, 7},{0x001E, 6},{0x0067, 7},{0x005F, 7}, - {0x00CD, 8},{0x007E, 8},{0x02F1,10},{0x0016, 5}, - {0x000E, 5},{0x002E, 6},{0x0065, 7},{0x002B, 6}, - {0x0028, 6},{0x003E, 7},{0x00BD, 8},{0x0199, 9} - }, - { - {0x0002, 3},{0x0007, 4},{0x0016, 5},{0x0006, 4}, - {0x0036, 6},{0x005C, 7},{0x015D, 9},{0x015C, 9}, - {0x02BF,10},{0x0000, 2},{0x0007, 3},{0x0009, 4}, - {0x0008, 4},{0x0018, 5},{0x0034, 6},{0x002A, 6}, - {0x005E, 7},{0x006A, 7},{0x0064, 7},{0x005D, 7}, - {0x00CB, 8},{0x00AD, 8},{0x02BE,10},{0x0014, 5}, - {0x0033, 6},{0x006E, 7},{0x005F, 7},{0x006F, 7}, - {0x006B, 7},{0x00CA, 8},{0x00AC, 8},{0x015E, 9} - }, - { - {0x000F, 4},{0x001D, 5},{0x0018, 5},{0x000B, 4}, - {0x0019, 5},{0x0029, 6},{0x00D6, 8},{0x0551,11}, - {0x0AA1,12},{0x0001, 2},{0x0000, 2},{0x0009, 4}, - {0x0008, 4},{0x001B, 5},{0x0038, 6},{0x0028, 6}, - {0x0057, 7},{0x006A, 7},{0x0068, 7},{0x0056, 7}, - {0x00E5, 8},{0x0155, 9},{0x0AA0,12},{0x0073, 7}, - {0x0069, 7},{0x00D7, 8},{0x00AB, 8},{0x00E4, 8}, - {0x00A9, 8},{0x0151, 9},{0x0150, 9},{0x02A9,10} - }, - { - {0x0008, 5},{0x0025, 7},{0x017A, 9},{0x02F7,10}, - {0x0BDB,12},{0x17B4,13},{0x2F6B,14},{0x001D, 5}, - {0x2F6A,14},{0x0008, 4},{0x0007, 4},{0x0001, 4}, - {0x0002, 4},{0x000A, 4},{0x0006, 4},{0x0000, 4}, - {0x001C, 5},{0x0009, 4},{0x000D, 4},{0x000F, 4}, - {0x000C, 4},{0x0003, 4},{0x000A, 5},{0x0016, 5}, - {0x0013, 6},{0x005D, 7},{0x0024, 7},{0x00BC, 8}, - {0x005C, 7},{0x05EC,11},{0x000B, 5},{0x005F, 7} - }, - { - {0x000F, 5},{0x0010, 6},{0x004B, 8},{0x00C6, 8}, - {0x031D,10},{0x0C71,12},{0x0C70,12},{0x0001, 4}, - {0x0C73,12},{0x0008, 4},{0x0009, 4},{0x0002, 4}, - {0x0003, 4},{0x000B, 4},{0x0006, 4},{0x0000, 4}, - {0x001C, 5},{0x0005, 4},{0x000D, 4},{0x000F, 4}, - {0x000A, 4},{0x0019, 5},{0x0013, 6},{0x001D, 5}, - {0x0030, 6},{0x0062, 7},{0x0024, 7},{0x004A, 8}, - {0x018F, 9},{0x0C72,12},{0x000E, 5},{0x0011, 6} - }, - { - {0x001B, 5},{0x0003, 6},{0x008D, 8},{0x0040, 7}, - {0x0239,10},{0x0471,11},{0x08E0,12},{0x0003, 4}, - {0x11C3,13},{0x000A, 4},{0x0009, 4},{0x0004, 4}, - {0x0005, 4},{0x000E, 4},{0x0007, 4},{0x0001, 4}, - {0x001E, 5},{0x0006, 4},{0x000C, 4},{0x000B, 4}, - {0x0002, 4},{0x0000, 5},{0x0041, 7},{0x001F, 5}, - {0x0022, 6},{0x0002, 6},{0x008F, 8},{0x008C, 8}, - {0x011D, 9},{0x11C2,13},{0x001A, 5},{0x0021, 6} - }, - { - {0x001F, 5},{0x0003, 6},{0x0003, 7},{0x0043, 7}, - {0x000B, 9},{0x0015,10},{0x0051,12},{0x0003, 4}, - {0x0050,12},{0x000D, 4},{0x000C, 4},{0x0004, 4}, - {0x0006, 4},{0x000E, 4},{0x000A, 4},{0x0001, 4}, - {0x001E, 5},{0x0005, 4},{0x0009, 4},{0x0007, 4}, - {0x0011, 5},{0x0002, 6},{0x0004, 8},{0x0002, 4}, - {0x002D, 6},{0x0020, 6},{0x0042, 7},{0x0001, 7}, - {0x0000, 7},{0x0029,11},{0x0017, 5},{0x002C, 6} - }, - { - {0x0003, 4},{0x001F, 6},{0x003A, 7},{0x005D, 7}, - {0x0173, 9},{0x02E4,10},{0x172D,13},{0x0004, 4}, - {0x172C,13},{0x000F, 4},{0x000E, 4},{0x0009, 4}, - {0x0008, 4},{0x000C, 4},{0x000A, 4},{0x0001, 4}, - {0x0016, 5},{0x0002, 4},{0x0005, 4},{0x001A, 5}, - {0x002F, 6},{0x0038, 7},{0x05CA,11},{0x0006, 4}, - {0x0037, 6},{0x001E, 6},{0x003B, 7},{0x0039, 7}, - {0x00B8, 8},{0x0B97,12},{0x0000, 4},{0x0036, 6} - }, - { - {0x0006, 4},{0x0037, 6},{0x005D, 7},{0x000C, 6}, - {0x00B9, 8},{0x02E3,10},{0x05C4,11},{0x0004, 4}, - {0x1715,13},{0x0000, 3},{0x000F, 4},{0x0008, 4}, - {0x0007, 4},{0x000C, 4},{0x0009, 4},{0x001D, 5}, - {0x0016, 5},{0x001C, 5},{0x001A, 5},{0x000B, 5}, - {0x005E, 7},{0x0170, 9},{0x1714,13},{0x000A, 4}, - {0x000A, 5},{0x0036, 6},{0x005F, 7},{0x001B, 7}, - {0x001A, 7},{0x0B8B,12},{0x0002, 4},{0x0007, 5} - }, - { - {0x000C, 4},{0x000B, 5},{0x0079, 7},{0x0022, 6}, - {0x00F0, 8},{0x0119, 9},{0x0230,10},{0x001D, 5}, - {0x08C4,12},{0x0001, 3},{0x0000, 3},{0x000A, 4}, - {0x0009, 4},{0x000B, 4},{0x0007, 4},{0x001C, 5}, - {0x003D, 6},{0x000D, 5},{0x0008, 5},{0x0015, 6}, - {0x008D, 8},{0x118B,13},{0x118A,13},{0x000D, 4}, - {0x0010, 5},{0x0009, 5},{0x0014, 6},{0x0047, 7}, - {0x00F1, 8},{0x0463,11},{0x001F, 5},{0x000C, 5} - }, - { - {0x0000, 3},{0x001A, 5},{0x0033, 6},{0x000C, 5}, - {0x0046, 7},{0x01E3, 9},{0x03C5,10},{0x0017, 5}, - {0x1E21,13},{0x0002, 3},{0x0001, 3},{0x0009, 4}, - {0x000A, 4},{0x0007, 4},{0x001B, 5},{0x003D, 6}, - {0x001B, 6},{0x0022, 6},{0x0079, 7},{0x00F0, 8}, - {0x1E20,13},{0x1E23,13},{0x1E22,13},{0x000E, 4}, - {0x0016, 5},{0x0018, 5},{0x0032, 6},{0x001A, 6}, - {0x0047, 7},{0x0789,11},{0x001F, 5},{0x0010, 5} - }, - { - {0x001D, 5},{0x0061, 7},{0x004E, 8},{0x009E, 9}, - {0x027C,11},{0x09F5,13},{0x09F4,13},{0x0003, 4}, - {0x0060, 7},{0x0000, 3},{0x000F, 4},{0x000B, 4}, - {0x000A, 4},{0x0009, 4},{0x0005, 4},{0x000D, 5}, - {0x0031, 6},{0x0008, 5},{0x0038, 6},{0x0012, 6}, - {0x0026, 7},{0x013F,10},{0x04FB,12},{0x000D, 4}, - {0x0002, 4},{0x000C, 5},{0x0039, 6},{0x001C, 6}, - {0x000F, 5},{0x001D, 6},{0x0008, 4},{0x0019, 5} - }, - { - {0x0007, 4},{0x0019, 6},{0x00AB, 8},{0x00AA, 8}, - {0x0119,10},{0x0461,12},{0x0460,12},{0x001B, 5}, - {0x0047, 8},{0x0001, 3},{0x0000, 3},{0x000C, 4}, - {0x000B, 4},{0x0009, 4},{0x0005, 4},{0x000D, 5}, - {0x0035, 6},{0x003D, 6},{0x003C, 6},{0x0018, 6}, - {0x0022, 7},{0x008D, 9},{0x0231,11},{0x000E, 4}, - {0x001F, 5},{0x0009, 5},{0x002B, 6},{0x0010, 6}, - {0x0034, 6},{0x0054, 7},{0x0008, 4},{0x0014, 5} - }, - { - {0x000C, 4},{0x0005, 5},{0x0008, 6},{0x005B, 7}, - {0x004D, 9},{0x0131,11},{0x0261,12},{0x001A, 5}, - {0x0012, 7},{0x0000, 3},{0x000F, 4},{0x000A, 4}, - {0x0009, 4},{0x0006, 4},{0x001B, 5},{0x0006, 5}, - {0x001C, 6},{0x002C, 6},{0x0015, 6},{0x005A, 7}, - {0x0027, 8},{0x0099,10},{0x0260,12},{0x000E, 4}, - {0x0004, 4},{0x000F, 5},{0x0007, 5},{0x001D, 6}, - {0x000B, 5},{0x0014, 6},{0x0008, 4},{0x0017, 5} - }, - { - {0x000F, 4},{0x0013, 5},{0x0075, 7},{0x0024, 6}, - {0x0095, 8},{0x0251,10},{0x04A0,11},{0x0010, 5}, - {0x00C8, 8},{0x0002, 3},{0x0001, 3},{0x0001, 4}, - {0x0000, 4},{0x001A, 5},{0x0011, 5},{0x002C, 6}, - {0x0065, 7},{0x0074, 7},{0x004B, 7},{0x00C9, 8}, - {0x0129, 9},{0x0943,12},{0x0942,12},{0x0003, 3}, - {0x000A, 4},{0x001C, 5},{0x0018, 5},{0x0033, 6}, - {0x0017, 5},{0x002D, 6},{0x001B, 5},{0x003B, 6} - }, - { - {0x0003, 3},{0x001A, 5},{0x002D, 6},{0x0038, 6}, - {0x0028, 7},{0x0395,10},{0x0E51,12},{0x0037, 6}, - {0x00E4, 8},{0x0001, 3},{0x0000, 3},{0x001F, 5}, - {0x001E, 5},{0x0017, 5},{0x003A, 6},{0x0073, 7}, - {0x002A, 7},{0x002B, 7},{0x0029, 7},{0x01CB, 9}, - {0x0729,11},{0x1CA1,13},{0x1CA0,13},{0x0004, 3}, - {0x000A, 4},{0x0004, 4},{0x0018, 5},{0x0036, 6}, - {0x000B, 5},{0x002C, 6},{0x0019, 5},{0x003B, 6} - }, - { - {0x0004, 3},{0x0004, 4},{0x003F, 6},{0x0017, 5}, - {0x0075, 7},{0x01F5, 9},{0x07D1,11},{0x0017, 6}, - {0x01F6, 9},{0x0001, 3},{0x0000, 3},{0x001B, 5}, - {0x001A, 5},{0x000A, 5},{0x0032, 6},{0x0074, 7}, - {0x00F8, 8},{0x00F9, 8},{0x01F7, 9},{0x03E9,10}, - {0x0FA0,12},{0x1F43,13},{0x1F42,13},{0x0003, 3}, - {0x000A, 4},{0x001E, 5},{0x001C, 5},{0x003B, 6}, - {0x0018, 5},{0x0016, 6},{0x0016, 5},{0x0033, 6} - }, - { - {0x0004, 3},{0x0007, 4},{0x0018, 5},{0x001E, 5}, - {0x0036, 6},{0x0031, 7},{0x0177, 9},{0x0077, 7}, - {0x0176, 9},{0x0001, 3},{0x0000, 3},{0x001A, 5}, - {0x0019, 5},{0x003A, 6},{0x0019, 6},{0x005C, 7}, - {0x00BA, 8},{0x0061, 8},{0x00C1, 9},{0x0180,10}, - {0x0302,11},{0x0607,12},{0x0606,12},{0x0002, 3}, - {0x000A, 4},{0x001F, 5},{0x001C, 5},{0x0037, 6}, - {0x0016, 5},{0x0076, 7},{0x000D, 5},{0x002F, 6} - }, - { - {0x0000, 3},{0x000A, 4},{0x001A, 5},{0x000C, 4}, - {0x001D, 5},{0x0039, 6},{0x0078, 7},{0x005E, 7}, - {0x0393,11},{0x0002, 3},{0x0001, 3},{0x0016, 5}, - {0x000F, 5},{0x002E, 6},{0x005F, 7},{0x0073, 8}, - {0x00E5, 9},{0x01C8,10},{0x0E4A,13},{0x1C97,14}, - {0x1C96,14},{0x0E49,13},{0x0E48,13},{0x0004, 3}, - {0x0006, 4},{0x001F, 5},{0x001B, 5},{0x001D, 6}, - {0x0038, 6},{0x0038, 7},{0x003D, 6},{0x0079, 7} - }, - { - {0x000B, 5},{0x002B, 7},{0x0054, 8},{0x01B7, 9}, - {0x06D9,11},{0x0DB1,12},{0x0DB0,12},{0x0002, 4}, - {0x00AB, 9},{0x0009, 4},{0x000A, 4},{0x0007, 4}, - {0x0008, 4},{0x000F, 4},{0x000C, 4},{0x0003, 4}, - {0x001D, 5},{0x0004, 4},{0x000B, 4},{0x0006, 4}, - {0x001A, 5},{0x0003, 6},{0x00AA, 9},{0x0001, 4}, - {0x0000, 5},{0x0014, 6},{0x006C, 7},{0x00DA, 8}, - {0x0002, 6},{0x036D,10},{0x001C, 5},{0x0037, 6} - }, - { - {0x001D, 5},{0x0004, 6},{0x00B6, 8},{0x006A, 8}, - {0x05B9,11},{0x16E1,13},{0x16E0,13},{0x0007, 4}, - {0x016F, 9},{0x000C, 4},{0x000D, 4},{0x0009, 4}, - {0x0008, 4},{0x000F, 4},{0x000A, 4},{0x0003, 4}, - {0x0017, 5},{0x0002, 4},{0x0004, 4},{0x001C, 5}, - {0x002C, 6},{0x006B, 8},{0x0B71,12},{0x0005, 4}, - {0x0003, 5},{0x001B, 6},{0x005A, 7},{0x0034, 7}, - {0x0005, 6},{0x02DD,10},{0x0000, 4},{0x000C, 5} - }, - { - {0x0003, 4},{0x007F, 7},{0x00A1, 8},{0x00A0, 8}, - {0x020C,10},{0x0834,12},{0x106B,13},{0x0007, 4}, - {0x0082, 8},{0x000E, 4},{0x000D, 4},{0x000B, 4}, - {0x000C, 4},{0x0000, 3},{0x0009, 4},{0x0002, 4}, - {0x0011, 5},{0x001E, 5},{0x0015, 5},{0x003E, 6}, - {0x0040, 7},{0x041B,11},{0x106A,13},{0x0006, 4}, - {0x000A, 5},{0x0029, 6},{0x007E, 7},{0x0051, 7}, - {0x0021, 6},{0x0107, 9},{0x0004, 4},{0x000B, 5} - }, - { - {0x0007, 4},{0x001B, 6},{0x00F6, 8},{0x00E9, 8}, - {0x03A1,10},{0x0740,11},{0x0E82,12},{0x001F, 5}, - {0x01EF, 9},{0x0001, 3},{0x0002, 3},{0x000B, 4}, - {0x000C, 4},{0x000D, 4},{0x0008, 4},{0x001C, 5}, - {0x0003, 5},{0x0012, 5},{0x0002, 5},{0x0075, 7}, - {0x01D1, 9},{0x1D07,13},{0x1D06,13},{0x000A, 4}, - {0x0013, 5},{0x003B, 6},{0x001A, 6},{0x007A, 7}, - {0x003C, 6},{0x01EE, 9},{0x0000, 4},{0x000C, 5} - }, - { - {0x000D, 4},{0x003D, 6},{0x0042, 7},{0x0037, 7}, - {0x00D9, 9},{0x0362,11},{0x06C6,12},{0x001F, 5}, - {0x0086, 8},{0x0001, 3},{0x0002, 3},{0x000C, 4}, - {0x000B, 4},{0x000A, 4},{0x0001, 4},{0x000F, 5}, - {0x0025, 6},{0x003C, 6},{0x001A, 6},{0x0087, 8}, - {0x01B0,10},{0x0D8F,13},{0x0D8E,13},{0x000E, 4}, - {0x0013, 5},{0x000C, 5},{0x0024, 6},{0x0020, 6}, - {0x0011, 5},{0x006D, 8},{0x0000, 4},{0x000E, 5} - }, - { - {0x0000, 3},{0x0012, 5},{0x0076, 7},{0x0077, 7}, - {0x014D, 9},{0x0533,11},{0x14C9,13},{0x0013, 5}, - {0x00A5, 8},{0x0002, 3},{0x0003, 3},{0x000B, 4}, - {0x000C, 4},{0x0008, 4},{0x001A, 5},{0x002B, 6}, - {0x0075, 7},{0x0074, 7},{0x00A7, 8},{0x0298,10}, - {0x14C8,13},{0x14CB,13},{0x14CA,13},{0x000F, 4}, - {0x001C, 5},{0x0007, 5},{0x002A, 6},{0x0028, 6}, - {0x001B, 5},{0x00A4, 8},{0x0002, 4},{0x0006, 5} - }, - { - {0x0002, 3},{0x001A, 5},{0x002B, 6},{0x003A, 6}, - {0x00ED, 8},{0x0283,10},{0x0A0A,12},{0x0004, 5}, - {0x00A1, 8},{0x0004, 3},{0x0003, 3},{0x000B, 4}, - {0x000C, 4},{0x001F, 5},{0x0006, 5},{0x0077, 7}, - {0x00A3, 8},{0x00A2, 8},{0x0140, 9},{0x1417,13}, - {0x1416,13},{0x0A09,12},{0x0A08,12},{0x0000, 3}, - {0x001E, 5},{0x0007, 5},{0x002A, 6},{0x0029, 6}, - {0x001C, 5},{0x00EC, 8},{0x001B, 5},{0x0005, 5} - }, - { - {0x0002, 3},{0x0002, 4},{0x0018, 5},{0x001D, 5}, - {0x0035, 6},{0x00E4, 8},{0x01CF,11},{0x001D, 7}, - {0x0072, 9},{0x0004, 3},{0x0005, 3},{0x0006, 4}, - {0x0007, 4},{0x0006, 5},{0x0073, 7},{0x0038, 8}, - {0x01CE,11},{0x039B,12},{0x0398,12},{0x0733,13}, - {0x0732,13},{0x0735,13},{0x0734,13},{0x0000, 3}, - {0x001F, 5},{0x001B, 5},{0x0034, 6},{0x000F, 6}, - {0x001E, 5},{0x00E5, 8},{0x0019, 5},{0x0038, 6} - }, - { - {0x0016, 5},{0x0050, 7},{0x0172, 9},{0x02E7,10}, - {0x1732,13},{0x2E67,14},{0x2E66,14},{0x0006, 4}, - {0x0051, 7},{0x0001, 3},{0x0000, 3},{0x000D, 4}, - {0x000C, 4},{0x0009, 4},{0x001C, 5},{0x0009, 5}, - {0x001C, 6},{0x001D, 6},{0x005D, 7},{0x00B8, 8}, - {0x05CD,11},{0x1731,13},{0x1730,13},{0x000F, 4}, - {0x0005, 4},{0x000F, 5},{0x0008, 5},{0x0029, 6}, - {0x001D, 5},{0x002F, 6},{0x0008, 4},{0x0015, 5} - }, - { - {0x0009, 4},{0x0021, 6},{0x0040, 7},{0x00AD, 8}, - {0x02B0,10},{0x1589,13},{0x1588,13},{0x001C, 5}, - {0x005F, 7},{0x0000, 3},{0x000F, 4},{0x000D, 4}, - {0x000C, 4},{0x0006, 4},{0x0011, 5},{0x002A, 6}, - {0x0057, 7},{0x005E, 7},{0x0041, 7},{0x0159, 9}, - {0x0563,11},{0x158B,13},{0x158A,13},{0x0001, 3}, - {0x0005, 4},{0x0014, 5},{0x003B, 6},{0x002E, 6}, - {0x0004, 4},{0x003A, 6},{0x0007, 4},{0x0016, 5} - }, - { - {0x000E, 4},{0x0007, 5},{0x0046, 7},{0x0045, 7}, - {0x0064, 9},{0x032A,12},{0x0657,13},{0x0018, 5}, - {0x000D, 6},{0x0000, 3},{0x000F, 4},{0x000A, 4}, - {0x000B, 4},{0x001A, 5},{0x0036, 6},{0x0047, 7}, - {0x0044, 7},{0x0018, 7},{0x0033, 8},{0x00CB,10}, - {0x0656,13},{0x0329,12},{0x0328,12},{0x0002, 3}, - {0x0006, 4},{0x0019, 5},{0x000E, 5},{0x0037, 6}, - {0x0009, 4},{0x000F, 5},{0x0002, 4},{0x0010, 5} - }, - { - {0x0003, 3},{0x0018, 5},{0x0023, 6},{0x0077, 7}, - {0x0194, 9},{0x1956,13},{0x32AF,14},{0x003A, 6}, - {0x0076, 7},{0x0002, 3},{0x0001, 3},{0x001F, 5}, - {0x001E, 5},{0x0014, 5},{0x0022, 6},{0x0064, 7}, - {0x0197, 9},{0x0196, 9},{0x032B,10},{0x0654,11}, - {0x32AE,14},{0x1955,13},{0x1954,13},{0x0000, 3}, - {0x0009, 4},{0x001C, 5},{0x0015, 5},{0x0010, 5}, - {0x000D, 4},{0x0017, 5},{0x0016, 5},{0x0033, 6} - }, - { - {0x0005, 3},{0x0006, 4},{0x003E, 6},{0x0010, 5}, - {0x0048, 7},{0x093F,12},{0x24FA,14},{0x0032, 6}, - {0x0067, 7},{0x0002, 3},{0x0001, 3},{0x001B, 5}, - {0x001E, 5},{0x0034, 6},{0x0066, 7},{0x0092, 8}, - {0x0126, 9},{0x024E,10},{0x049E,11},{0x49F7,15}, - {0x49F6,15},{0x24F9,14},{0x24F8,14},{0x0000, 3}, - {0x0007, 4},{0x0018, 5},{0x0011, 5},{0x003F, 6}, - {0x000E, 4},{0x0013, 5},{0x0035, 6},{0x0025, 6} - }, - { - {0x0005, 3},{0x0008, 4},{0x0012, 5},{0x001C, 5}, - {0x001C, 6},{0x00EA, 9},{0x1D75,14},{0x001E, 6}, - {0x0066, 7},{0x0001, 3},{0x0002, 3},{0x001B, 5}, - {0x001A, 5},{0x001F, 6},{0x003B, 7},{0x0074, 8}, - {0x01D6,10},{0x03AF,11},{0x1D74,14},{0x1D77,14}, - {0x1D76,14},{0x0EB9,13},{0x0EB8,13},{0x000F, 4}, - {0x0006, 4},{0x0013, 5},{0x003B, 6},{0x003A, 6}, - {0x0000, 3},{0x0018, 5},{0x0032, 6},{0x0067, 7} - }, - { - {0x0004, 3},{0x000A, 4},{0x001B, 5},{0x000C, 4}, - {0x000D, 5},{0x00E6, 8},{0x0684,11},{0x0072, 7}, - {0x00E7, 8},{0x0002, 3},{0x0001, 3},{0x0017, 5}, - {0x0016, 5},{0x0018, 6},{0x00D1, 8},{0x01A0, 9}, - {0x0686,11},{0x0D0F,12},{0x0D0A,12},{0x1A17,13}, - {0x1A16,13},{0x1A1D,13},{0x1A1C,13},{0x000F, 4}, - {0x001D, 5},{0x000E, 5},{0x0035, 6},{0x0038, 6}, - {0x0000, 3},{0x000F, 5},{0x0019, 6},{0x0069, 7} - }, - { - {0x0003, 3},{0x000C, 4},{0x001B, 5},{0x0000, 3}, - {0x0003, 4},{0x002E, 6},{0x0051, 9},{0x00BC, 8}, - {0x0053, 9},{0x0004, 3},{0x0002, 3},{0x0016, 5}, - {0x0015, 5},{0x0015, 7},{0x0050, 9},{0x00A4,10}, - {0x0294,12},{0x052B,13},{0x052A,13},{0x052D,13}, - {0x052C,13},{0x052F,13},{0x052E,13},{0x000E, 4}, - {0x001A, 5},{0x0004, 5},{0x0028, 6},{0x0029, 6}, - {0x000F, 4},{0x000B, 6},{0x005F, 7},{0x00BD, 8} - }, - { - {0x0003, 4},{0x0009, 6},{0x00D0, 8},{0x01A3, 9}, - {0x0344,10},{0x0D14,12},{0x1A2B,13},{0x0004, 4}, - {0x0015, 7},{0x0000, 3},{0x000F, 4},{0x000B, 4}, - {0x000C, 4},{0x000E, 4},{0x0009, 4},{0x001B, 5}, - {0x000A, 5},{0x0014, 5},{0x000D, 5},{0x002A, 6}, - {0x0014, 7},{0x068B,11},{0x1A2A,13},{0x0008, 4}, - {0x000B, 5},{0x002B, 6},{0x000B, 6},{0x0069, 7}, - {0x0035, 6},{0x0008, 6},{0x0007, 4},{0x000C, 5} - }, - { - {0x000A, 4},{0x003C, 6},{0x0032, 7},{0x0030, 7}, - {0x00C5, 9},{0x0621,12},{0x0620,12},{0x001F, 5}, - {0x0033, 7},{0x0001, 3},{0x0000, 3},{0x000E, 4}, - {0x000D, 4},{0x000C, 4},{0x0004, 4},{0x000D, 5}, - {0x0026, 6},{0x0027, 6},{0x0014, 6},{0x0063, 8}, - {0x0189,10},{0x0623,12},{0x0622,12},{0x000B, 4}, - {0x0012, 5},{0x003D, 6},{0x0022, 6},{0x0015, 6}, - {0x000B, 5},{0x0023, 6},{0x0007, 4},{0x0010, 5} - }, - { - {0x000F, 4},{0x000C, 5},{0x0043, 7},{0x0010, 6}, - {0x0044, 8},{0x0114,10},{0x0455,12},{0x0018, 5}, - {0x0023, 7},{0x0001, 3},{0x0000, 3},{0x000E, 4}, - {0x000D, 4},{0x0009, 4},{0x0019, 5},{0x0009, 5}, - {0x0017, 6},{0x0016, 6},{0x0042, 7},{0x008B, 9}, - {0x0454,12},{0x0457,12},{0x0456,12},{0x000B, 4}, - {0x0015, 5},{0x000A, 5},{0x0029, 6},{0x0020, 6}, - {0x000D, 5},{0x0028, 6},{0x0007, 4},{0x0011, 5} - }, - { - {0x0001, 3},{0x001A, 5},{0x0029, 6},{0x002A, 6}, - {0x00A0, 8},{0x0285,10},{0x1425,13},{0x0002, 5}, - {0x0000, 7},{0x0002, 3},{0x0003, 3},{0x000C, 4}, - {0x000B, 4},{0x0008, 4},{0x0012, 5},{0x0001, 6}, - {0x0051, 7},{0x0001, 7},{0x0143, 9},{0x0508,11}, - {0x1424,13},{0x1427,13},{0x1426,13},{0x000F, 4}, - {0x001C, 5},{0x0003, 5},{0x0037, 6},{0x002B, 6}, - {0x0013, 5},{0x0036, 6},{0x001D, 5},{0x0001, 5} - }, - { - {0x0004, 3},{0x001F, 5},{0x003D, 6},{0x0006, 5}, - {0x0016, 7},{0x0053, 9},{0x014A,11},{0x0034, 6}, - {0x002A, 8},{0x0002, 3},{0x0003, 3},{0x000B, 4}, - {0x000C, 4},{0x001C, 5},{0x0037, 6},{0x0017, 7}, - {0x002B, 8},{0x0028, 8},{0x00A4,10},{0x052D,13}, - {0x052C,13},{0x052F,13},{0x052E,13},{0x0000, 3}, - {0x001D, 5},{0x0007, 5},{0x0004, 5},{0x0035, 6}, - {0x0014, 5},{0x0036, 6},{0x0015, 5},{0x003C, 6} - }, - { - {0x0004, 3},{0x000A, 4},{0x0007, 5},{0x001D, 5}, - {0x0009, 6},{0x01F3, 9},{0x07C7,11},{0x0008, 6}, - {0x01F0, 9},{0x0003, 3},{0x0002, 3},{0x000D, 4}, - {0x000C, 4},{0x0017, 5},{0x007D, 7},{0x01F2, 9}, - {0x07C6,11},{0x07C5,11},{0x1F12,13},{0x3E27,14}, - {0x3E26,14},{0x1F11,13},{0x1F10,13},{0x0000, 3}, - {0x001E, 5},{0x0006, 5},{0x0039, 6},{0x0038, 6}, - {0x003F, 6},{0x002C, 6},{0x0005, 5},{0x002D, 6} - }, - { - {0x0002, 3},{0x0007, 4},{0x0018, 5},{0x0003, 4}, - {0x0005, 5},{0x0035, 7},{0x004F, 9},{0x0012, 7}, - {0x04E5,13},{0x0005, 3},{0x0004, 3},{0x000D, 4}, - {0x000E, 4},{0x0033, 6},{0x0026, 8},{0x009D,10}, - {0x04E4,13},{0x04E7,13},{0x04E6,13},{0x04E1,13}, - {0x04E0,13},{0x04E3,13},{0x04E2,13},{0x0000, 3}, - {0x001F, 5},{0x000C, 5},{0x003D, 6},{0x003C, 6}, - {0x0032, 6},{0x0034, 7},{0x001B, 6},{0x0008, 6} - }, - { - {0x0000, 3},{0x0004, 4},{0x001C, 5},{0x000F, 4}, - {0x0002, 4},{0x0007, 5},{0x0075, 7},{0x00E8, 8}, - {0x1D2A,13},{0x0005, 3},{0x0004, 3},{0x000D, 4}, - {0x000C, 4},{0x0077, 7},{0x0E96,12},{0x3A57,14}, - {0x3A56,14},{0x3A5D,14},{0x3A5C,14},{0x3A5F,14}, - {0x3A5E,14},{0x1D29,13},{0x1D28,13},{0x0003, 3}, - {0x0006, 5},{0x000A, 5},{0x002C, 7},{0x0017, 6}, - {0x0076, 7},{0x01D3, 9},{0x03A4,10},{0x002D, 7} - }, - { - {0x000A, 4},{0x0024, 6},{0x00BF, 8},{0x0085, 8}, - {0x0211,10},{0x0842,12},{0x1087,13},{0x0018, 5}, - {0x0020, 6},{0x0001, 3},{0x0002, 3},{0x000E, 4}, - {0x000D, 4},{0x0007, 4},{0x0013, 5},{0x0025, 6}, - {0x005E, 7},{0x0043, 7},{0x00BE, 8},{0x0109, 9}, - {0x1086,13},{0x0841,12},{0x0840,12},{0x000F, 4}, - {0x0001, 4},{0x0011, 5},{0x0000, 5},{0x002E, 6}, - {0x0019, 5},{0x0001, 5},{0x0006, 4},{0x0016, 5} - }, - { - {0x0002, 3},{0x000F, 5},{0x006F, 7},{0x0061, 7}, - {0x0374,10},{0x1BA8,13},{0x3753,14},{0x0012, 5}, - {0x0036, 6},{0x0000, 3},{0x0001, 3},{0x000A, 4}, - {0x000B, 4},{0x001A, 5},{0x0031, 6},{0x0060, 7}, - {0x00DC, 8},{0x01BB, 9},{0x06EB,11},{0x1BAB,13}, - {0x3752,14},{0x3755,14},{0x3754,14},{0x000E, 4}, - {0x0006, 4},{0x0013, 5},{0x000E, 5},{0x003E, 6}, - {0x0008, 4},{0x001E, 5},{0x0019, 5},{0x003F, 6} - }, - { - {0x0003, 3},{0x001C, 5},{0x0025, 6},{0x0024, 6}, - {0x01DA, 9},{0x1DBD,13},{0x3B7C,14},{0x003C, 6}, - {0x003D, 6},{0x0000, 3},{0x0001, 3},{0x000B, 4}, - {0x000A, 4},{0x000B, 5},{0x0077, 7},{0x00EC, 8}, - {0x03B6,10},{0x076E,11},{0x1DBF,13},{0x76FB,15}, - {0x76FA,15},{0x3B79,14},{0x3B78,14},{0x000D, 4}, - {0x001F, 5},{0x0013, 5},{0x000A, 5},{0x0008, 5}, - {0x000C, 4},{0x0008, 4},{0x0009, 5},{0x003A, 6} - }, - { - {0x0005, 3},{0x0003, 4},{0x0004, 5},{0x0010, 5}, - {0x008F, 8},{0x0475,11},{0x11D1,13},{0x0079, 7}, - {0x0027, 6},{0x0002, 3},{0x0003, 3},{0x0001, 4}, - {0x0000, 4},{0x0026, 6},{0x0046, 7},{0x011C, 9}, - {0x0477,11},{0x08ED,12},{0x11D0,13},{0x11D3,13}, - {0x11D2,13},{0x11D9,13},{0x11D8,13},{0x000D, 4}, - {0x001F, 5},{0x0012, 5},{0x0005, 5},{0x003D, 6}, - {0x000C, 4},{0x000E, 4},{0x0022, 6},{0x0078, 7} - }, - { - {0x0005, 3},{0x000C, 4},{0x001B, 5},{0x0000, 4}, - {0x0006, 6},{0x03E2,10},{0x3E3D,14},{0x000F, 7}, - {0x0034, 6},{0x0003, 3},{0x0002, 3},{0x001E, 5}, - {0x001D, 5},{0x007D, 7},{0x01F0, 9},{0x07C6,11}, - {0x3E3C,14},{0x3E3F,14},{0x3E3E,14},{0x3E39,14}, - {0x3E38,14},{0x3E3B,14},{0x3E3A,14},{0x0008, 4}, - {0x001C, 5},{0x0002, 5},{0x003F, 6},{0x0035, 6}, - {0x0009, 4},{0x0001, 3},{0x000E, 7},{0x00F9, 8} - }, - { - {0x0004, 3},{0x000B, 4},{0x0001, 4},{0x000A, 4}, - {0x001E, 6},{0x00E0, 9},{0x0E1E,13},{0x0071, 8}, - {0x0039, 7},{0x0007, 3},{0x0006, 3},{0x000D, 5}, - {0x000C, 5},{0x0020, 7},{0x01C2,10},{0x1C3F,14}, - {0x1C3E,14},{0x0E19,13},{0x0E18,13},{0x0E1B,13}, - {0x0E1A,13},{0x0E1D,13},{0x0E1C,13},{0x0000, 4}, - {0x0009, 5},{0x001D, 6},{0x001F, 6},{0x0011, 6}, - {0x0005, 4},{0x0001, 3},{0x0043, 8},{0x0042, 8} - }, - { - {0x0004, 3},{0x000D, 4},{0x0007, 4},{0x0002, 3}, - {0x0014, 5},{0x016C, 9},{0x16D1,13},{0x02DF,10}, - {0x016E, 9},{0x0000, 2},{0x0007, 3},{0x002C, 6}, - {0x002B, 6},{0x02DE,10},{0x16D0,13},{0x16D3,13}, - {0x16D2,13},{0x2DB5,14},{0x2DB4,14},{0x2DB7,14}, - {0x2DB6,14},{0x16D9,13},{0x16D8,13},{0x000C, 5}, - {0x002A, 6},{0x005A, 7},{0x001B, 6},{0x001A, 6}, - {0x0017, 5},{0x000C, 4},{0x05B7,11},{0x05B5,11} - }, - { - {0x0002, 2},{0x000F, 4},{0x001C, 5},{0x000C, 4}, - {0x003B, 6},{0x01AC, 9},{0x1AD8,13},{0x35B3,14}, - {0x35B2,14},{0x0001, 2},{0x0000, 2},{0x0069, 7}, - {0x0068, 7},{0x35BD,14},{0x35BC,14},{0x35BF,14}, - {0x35BE,14},{0x35B9,14},{0x35B8,14},{0x35BB,14}, - {0x35BA,14},{0x35B5,14},{0x35B4,14},{0x01A9, 9}, - {0x01A8, 9},{0x035A,10},{0x00D7, 8},{0x00D5, 8}, - {0x003A, 6},{0x001B, 5},{0x35B7,14},{0x35B6,14} - }, - { - {0x0000, 3},{0x0010, 5},{0x0072, 7},{0x0071, 7}, - {0x0154, 9},{0x0AAB,12},{0x0AA8,12},{0x0014, 5}, - {0x0070, 7},{0x0002, 3},{0x0003, 3},{0x000C, 4}, - {0x000B, 4},{0x0003, 4},{0x0011, 5},{0x0073, 7}, - {0x0054, 7},{0x00AB, 8},{0x02AB,10},{0x1553,13}, - {0x1552,13},{0x1555,13},{0x1554,13},{0x000D, 4}, - {0x001E, 5},{0x0012, 5},{0x003E, 6},{0x002B, 6}, - {0x0002, 4},{0x003F, 6},{0x001D, 5},{0x0013, 5} - }, - { - {0x0003, 3},{0x001F, 5},{0x0029, 6},{0x003D, 6}, - {0x000C, 7},{0x0069,10},{0x0345,13},{0x0002, 5}, - {0x0028, 6},{0x0002, 3},{0x0001, 3},{0x000E, 4}, - {0x000C, 4},{0x0015, 5},{0x0007, 6},{0x001B, 8}, - {0x006B,10},{0x006A,10},{0x0344,13},{0x0347,13}, - {0x0346,13},{0x01A1,12},{0x01A0,12},{0x000B, 4}, - {0x001A, 5},{0x0012, 5},{0x0000, 5},{0x003C, 6}, - {0x0008, 4},{0x001B, 5},{0x0013, 5},{0x0001, 5} - }, - { - {0x0004, 3},{0x0004, 4},{0x003F, 6},{0x0014, 5}, - {0x0056, 7},{0x015C, 9},{0x15D5,13},{0x003C, 6}, - {0x002A, 6},{0x0000, 3},{0x0001, 3},{0x000E, 4}, - {0x000D, 4},{0x000C, 5},{0x00AF, 8},{0x02BB,10}, - {0x15D4,13},{0x15D7,13},{0x15D6,13},{0x15D1,13}, - {0x15D0,13},{0x15D3,13},{0x15D2,13},{0x000B, 4}, - {0x0019, 5},{0x000D, 5},{0x003E, 6},{0x0031, 6}, - {0x0007, 4},{0x0005, 4},{0x003D, 6},{0x0030, 6} - }, - { - {0x0005, 3},{0x0008, 4},{0x001A, 5},{0x0000, 4}, - {0x0036, 6},{0x0011, 8},{0x0106,12},{0x000A, 7}, - {0x006E, 7},{0x0002, 3},{0x0003, 3},{0x0003, 4}, - {0x0002, 4},{0x006F, 7},{0x0021, 9},{0x020F,13}, - {0x020E,13},{0x0101,12},{0x0100,12},{0x0103,12}, - {0x0102,12},{0x0105,12},{0x0104,12},{0x000C, 4}, - {0x001E, 5},{0x0003, 5},{0x003E, 6},{0x003F, 6}, - {0x0009, 4},{0x000E, 4},{0x000B, 7},{0x0009, 7} - }, - { - {0x0002, 3},{0x000E, 4},{0x001E, 5},{0x000C, 4}, - {0x001F, 5},{0x006E, 7},{0x00AD,10},{0x00AF,10}, - {0x0014, 7},{0x0004, 3},{0x0003, 3},{0x001A, 5}, - {0x0017, 5},{0x002A, 8},{0x0576,13},{0x0AEF,14}, - {0x0AEE,14},{0x0571,13},{0x0570,13},{0x0573,13}, - {0x0572,13},{0x0575,13},{0x0574,13},{0x0003, 4}, - {0x0016, 5},{0x0004, 5},{0x0036, 6},{0x000B, 6}, - {0x000A, 4},{0x0000, 3},{0x006F, 7},{0x00AC,10} - }, - { - {0x0004, 3},{0x0005, 4},{0x0003, 3},{0x0001, 3}, - {0x0004, 4},{0x002F, 6},{0x0526,11},{0x1495,13}, - {0x00A6, 8},{0x0007, 3},{0x0006, 3},{0x002D, 6}, - {0x002C, 6},{0x1494,13},{0x1497,13},{0x1496,13}, - {0x1491,13},{0x1490,13},{0x1493,13},{0x1492,13}, - {0x293D,14},{0x293C,14},{0x293F,14},{0x0000, 3}, - {0x0028, 6},{0x00A5, 8},{0x0148, 9},{0x00A7, 8}, - {0x002E, 6},{0x0015, 5},{0x0A4E,12},{0x293E,14} - }, - { - {0x0004, 3},{0x0005, 4},{0x0003, 3},{0x0001, 3}, - {0x0004, 4},{0x002F, 6},{0x0526,11},{0x1495,13}, - {0x00A6, 8},{0x0007, 3},{0x0006, 3},{0x002D, 6}, - {0x002C, 6},{0x1494,13},{0x1497,13},{0x1496,13}, - {0x1491,13},{0x1490,13},{0x1493,13},{0x1492,13}, - {0x293D,14},{0x293C,14},{0x293F,14},{0x0000, 3}, - {0x0028, 6},{0x00A5, 8},{0x0148, 9},{0x00A7, 8}, - {0x002E, 6},{0x0015, 5},{0x0A4E,12},{0x293E,14} - }, - { - {0x0004, 3},{0x0005, 4},{0x0003, 3},{0x0001, 3}, - {0x0004, 4},{0x002F, 6},{0x0526,11},{0x1495,13}, - {0x00A6, 8},{0x0007, 3},{0x0006, 3},{0x002D, 6}, - {0x002C, 6},{0x1494,13},{0x1497,13},{0x1496,13}, - {0x1491,13},{0x1490,13},{0x1493,13},{0x1492,13}, - {0x293D,14},{0x293C,14},{0x293F,14},{0x0000, 3}, - {0x0028, 6},{0x00A5, 8},{0x0148, 9},{0x00A7, 8}, - {0x002E, 6},{0x0015, 5},{0x0A4E,12},{0x293E,14} - }, - { - {0x0003, 3},{0x0011, 5},{0x0020, 6},{0x0074, 7}, - {0x010D, 9},{0x0863,12},{0x0860,12},{0x000A, 5}, - {0x0075, 7},{0x0001, 3},{0x0000, 3},{0x000B, 4}, - {0x000A, 4},{0x0018, 5},{0x0038, 6},{0x0042, 7}, - {0x010F, 9},{0x010E, 9},{0x0219,10},{0x10C3,13}, - {0x10C2,13},{0x10C5,13},{0x10C4,13},{0x000F, 4}, - {0x0004, 4},{0x0019, 5},{0x000B, 5},{0x0039, 6}, - {0x0009, 4},{0x001B, 5},{0x001A, 5},{0x003B, 6} - }, - { - {0x0005, 3},{0x0001, 4},{0x003E, 6},{0x0001, 5}, - {0x00E2, 8},{0x1C6F,13},{0x38D9,14},{0x0039, 6}, - {0x001F, 6},{0x0002, 3},{0x0001, 3},{0x0009, 4}, - {0x0008, 4},{0x0000, 5},{0x0070, 7},{0x01C7, 9}, - {0x038C,10},{0x071A,11},{0x38D8,14},{0x38DB,14}, - {0x38DA,14},{0x38DD,14},{0x38DC,14},{0x000D, 4}, - {0x001D, 5},{0x000E, 5},{0x003F, 6},{0x003C, 6}, - {0x000C, 4},{0x0006, 4},{0x003D, 6},{0x001E, 6} - }, - { - {0x0006, 3},{0x000B, 4},{0x0011, 5},{0x001E, 5}, - {0x0074, 7},{0x03AA,10},{0x1D5C,13},{0x0001, 6}, - {0x0021, 6},{0x0001, 3},{0x0002, 3},{0x0007, 4}, - {0x0006, 4},{0x003E, 6},{0x00EB, 8},{0x01D4, 9}, - {0x0EAF,12},{0x3ABB,14},{0x3ABA,14},{0x1D59,13}, - {0x1D58,13},{0x1D5B,13},{0x1D5A,13},{0x000A, 4}, - {0x001C, 5},{0x0001, 5},{0x003F, 6},{0x003B, 6}, - {0x0001, 4},{0x0009, 4},{0x0020, 6},{0x0000, 6} - }, - { - {0x0004, 3},{0x000A, 4},{0x0017, 5},{0x0004, 4}, - {0x0016, 6},{0x016A, 9},{0x16B1,13},{0x0017, 7}, - {0x005B, 7},{0x0006, 3},{0x0007, 3},{0x0001, 4}, - {0x0000, 4},{0x000A, 6},{0x02D7,10},{0x0B5A,12}, - {0x16B0,13},{0x16B3,13},{0x16B2,13},{0x2D6D,14}, - {0x2D6C,14},{0x2D6F,14},{0x2D6E,14},{0x0006, 4}, - {0x000A, 5},{0x0004, 5},{0x002C, 6},{0x0017, 6}, - {0x0003, 4},{0x0007, 4},{0x0016, 7},{0x00B4, 8} - }, - { - {0x0005, 3},{0x000D, 4},{0x0005, 4},{0x0009, 4}, - {0x0033, 6},{0x0193, 9},{0x192C,13},{0x0061, 8}, - {0x0031, 7},{0x0000, 2},{0x0007, 3},{0x0010, 5}, - {0x0011, 5},{0x00C8, 8},{0x192F,13},{0x325B,14}, - {0x325A,14},{0x1929,13},{0x1928,13},{0x192B,13}, - {0x192A,13},{0x325D,14},{0x325C,14},{0x0018, 5}, - {0x001A, 6},{0x001B, 6},{0x0065, 7},{0x0019, 6}, - {0x0004, 4},{0x0007, 4},{0x0060, 8},{0x0324,10} - }, - { - {0x0006, 3},{0x0000, 3},{0x0002, 4},{0x000F, 4}, - {0x0039, 6},{0x01D9, 9},{0x1D82,13},{0x0761,11}, - {0x03BE,10},{0x0001, 2},{0x0002, 2},{0x000F, 6}, - {0x000E, 6},{0x0762,11},{0x3B07,14},{0x3B06,14}, - {0x3B1D,14},{0x3B1C,14},{0x3B1F,14},{0x3B1E,14}, - {0x3B19,14},{0x3B18,14},{0x3B1B,14},{0x0038, 6}, - {0x01DE, 9},{0x00ED, 8},{0x03BF,10},{0x00EE, 8}, - {0x003A, 6},{0x0006, 5},{0x0EC0,12},{0x3B1A,14} - }, - { - {0x0000, 2},{0x0002, 3},{0x000F, 5},{0x0006, 4}, - {0x001C, 6},{0x01D0,10},{0x0E8C,13},{0x1D1B,14}, - {0x1D1A,14},{0x0003, 2},{0x0002, 2},{0x00EA, 9}, - {0x00E9, 9},{0x0E89,13},{0x0E88,13},{0x0E8B,13}, - {0x0E8A,13},{0x1D65,14},{0x1D64,14},{0x1D67,14}, - {0x1D66,14},{0x1D61,14},{0x1D60,14},{0x03AD,11}, - {0x1D63,14},{0x1D62,14},{0x1D1D,14},{0x1D1C,14}, - {0x003B, 7},{0x01D7,10},{0x1D1F,14},{0x1D1E,14} - }, - { - {0x0002, 2},{0x000F, 4},{0x001C, 5},{0x000C, 4}, - {0x003B, 6},{0x01AC, 9},{0x1AD8,13},{0x35B3,14}, - {0x35B2,14},{0x0001, 2},{0x0000, 2},{0x0069, 7}, - {0x0068, 7},{0x35BD,14},{0x35BC,14},{0x35BF,14}, - {0x35BE,14},{0x35B9,14},{0x35B8,14},{0x35BB,14}, - {0x35BA,14},{0x35B5,14},{0x35B4,14},{0x01A9, 9}, - {0x01A8, 9},{0x035A,10},{0x00D7, 8},{0x00D5, 8}, - {0x003A, 6},{0x001B, 5},{0x35B7,14},{0x35B6,14} - } -}; - - - -/*A description of a Huffman code value used when encoding the tree.*/ -typedef struct{ - /*The bit pattern, left-shifted so that the MSB of all patterns is - aligned.*/ - ogg_uint32_t pattern; - /*The amount the bit pattern was shifted.*/ - int shift; - /*The token this bit pattern represents.*/ - int token; -}oc_huff_entry; - - - -/*Compares two oc_huff_entry structures by their bit patterns. - _c1: The first entry to compare. - _c2: The second entry to compare. - Return: <0 if _c1<_c2, >0 if _c1>_c2.*/ -static int huff_entry_cmp(const void *_c1,const void *_c2){ - ogg_uint32_t b1; - ogg_uint32_t b2; - b1=((const oc_huff_entry *)_c1)->pattern; - b2=((const oc_huff_entry *)_c2)->pattern; - return b1b2?1:0; -} - -/*Encodes a description of the given Huffman tables. - Although the codes are stored in the encoder as flat arrays, in the bit - stream and in the decoder they are structured as a tree. - This function recovers the tree structure from the flat array and then - writes it out. - Note that the codes MUST form a Huffman code, and not merely a prefix-free - code, since the binary tree is assumed to be full. - _opb: The buffer to store the tree in. - _codes: The Huffman tables to pack. - Return: 0 on success, or a negative value if one of the given Huffman tables - does not form a full, prefix-free code.*/ -int oc_huff_codes_pack(oggpack_buffer *_opb, - const th_huff_code _codes[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS]){ - int i; - for(i=0;i>1)<<(maxlen+1>>1))-1; - /*Copy over the codes into our temporary workspace. - The bit patterns are aligned, and the original entry each code is from - is stored as well.*/ - for(j=0;jentries[j].shift;bpos--)oggpackB_write(_opb,0,1); - /*Mark this as a leaf node, and write its value.*/ - oggpackB_write(_opb,1,1); - oggpackB_write(_opb,entries[j].token,5); - /*For each 1 branch we've descended, back up the tree until we reach a - 0 branch.*/ - bit=1< -#include "internal.h" -#include "dct.h" - -/*Performs an inverse 8 point Type-II DCT transform. - The output is scaled by a factor of 2 relative to the orthonormal version of - the transform. - _y: The buffer to store the result in. - Data will be placed in every 8th entry (e.g., in a column of an 8x8 - block). - _x: The input coefficients. - The first 8 entries are used (e.g., from a row of an 8x8 block).*/ -static void idct8(ogg_int16_t *_y,const ogg_int16_t _x[8]){ - ogg_int32_t t[8]; - ogg_int32_t r; - /*Stage 1:*/ - /*0-1 butterfly.*/ - t[0]=OC_C4S4*(ogg_int16_t)(_x[0]+_x[4])>>16; - t[1]=OC_C4S4*(ogg_int16_t)(_x[0]-_x[4])>>16; - /*2-3 rotation by 6pi/16.*/ - t[2]=(OC_C6S2*_x[2]>>16)-(OC_C2S6*_x[6]>>16); - t[3]=(OC_C2S6*_x[2]>>16)+(OC_C6S2*_x[6]>>16); - /*4-7 rotation by 7pi/16.*/ - t[4]=(OC_C7S1*_x[1]>>16)-(OC_C1S7*_x[7]>>16); - /*5-6 rotation by 3pi/16.*/ - t[5]=(OC_C3S5*_x[5]>>16)-(OC_C5S3*_x[3]>>16); - t[6]=(OC_C5S3*_x[5]>>16)+(OC_C3S5*_x[3]>>16); - t[7]=(OC_C1S7*_x[1]>>16)+(OC_C7S1*_x[7]>>16); - /*Stage 2:*/ - /*4-5 butterfly.*/ - r=t[4]+t[5]; - t[5]=OC_C4S4*(ogg_int16_t)(t[4]-t[5])>>16; - t[4]=r; - /*7-6 butterfly.*/ - r=t[7]+t[6]; - t[6]=OC_C4S4*(ogg_int16_t)(t[7]-t[6])>>16; - t[7]=r; - /*Stage 3:*/ - /*0-3 butterfly.*/ - r=t[0]+t[3]; - t[3]=t[0]-t[3]; - t[0]=r; - /*1-2 butterfly.*/ - r=t[1]+t[2]; - t[2]=t[1]-t[2]; - t[1]=r; - /*6-5 butterfly.*/ - r=t[6]+t[5]; - t[5]=t[6]-t[5]; - t[6]=r; - /*Stage 4:*/ - /*0-7 butterfly.*/ - _y[0<<3]=(ogg_int16_t)(t[0]+t[7]); - /*1-6 butterfly.*/ - _y[1<<3]=(ogg_int16_t)(t[1]+t[6]); - /*2-5 butterfly.*/ - _y[2<<3]=(ogg_int16_t)(t[2]+t[5]); - /*3-4 butterfly.*/ - _y[3<<3]=(ogg_int16_t)(t[3]+t[4]); - _y[4<<3]=(ogg_int16_t)(t[3]-t[4]); - _y[5<<3]=(ogg_int16_t)(t[2]-t[5]); - _y[6<<3]=(ogg_int16_t)(t[1]-t[6]); - _y[7<<3]=(ogg_int16_t)(t[0]-t[7]); -} - -/*Performs an inverse 8 point Type-II DCT transform. - The output is scaled by a factor of 2 relative to the orthonormal version of - the transform. - _y: The buffer to store the result in. - Data will be placed in every 8th entry (e.g., in a column of an 8x8 - block). - _x: The input coefficients. - Only the first 4 entries are used. - The other 4 are assumed to be 0.*/ -static void idct8_4(ogg_int16_t *_y,const ogg_int16_t _x[8]){ - ogg_int32_t t[8]; - ogg_int32_t r; - /*Stage 1:*/ - t[0]=OC_C4S4*_x[0]>>16; - t[2]=OC_C6S2*_x[2]>>16; - t[3]=OC_C2S6*_x[2]>>16; - t[4]=OC_C7S1*_x[1]>>16; - t[5]=-(OC_C5S3*_x[3]>>16); - t[6]=OC_C3S5*_x[3]>>16; - t[7]=OC_C1S7*_x[1]>>16; - /*Stage 2:*/ - r=t[4]+t[5]; - t[5]=OC_C4S4*(ogg_int16_t)(t[4]-t[5])>>16; - t[4]=r; - r=t[7]+t[6]; - t[6]=OC_C4S4*(ogg_int16_t)(t[7]-t[6])>>16; - t[7]=r; - /*Stage 3:*/ - t[1]=t[0]+t[2]; - t[2]=t[0]-t[2]; - r=t[0]+t[3]; - t[3]=t[0]-t[3]; - t[0]=r; - r=t[6]+t[5]; - t[5]=t[6]-t[5]; - t[6]=r; - /*Stage 4:*/ - _y[0<<3]=(ogg_int16_t)(t[0]+t[7]); - _y[1<<3]=(ogg_int16_t)(t[1]+t[6]); - _y[2<<3]=(ogg_int16_t)(t[2]+t[5]); - _y[3<<3]=(ogg_int16_t)(t[3]+t[4]); - _y[4<<3]=(ogg_int16_t)(t[3]-t[4]); - _y[5<<3]=(ogg_int16_t)(t[2]-t[5]); - _y[6<<3]=(ogg_int16_t)(t[1]-t[6]); - _y[7<<3]=(ogg_int16_t)(t[0]-t[7]); -} - -/*Performs an inverse 8 point Type-II DCT transform. - The output is scaled by a factor of 2 relative to the orthonormal version of - the transform. - _y: The buffer to store the result in. - Data will be placed in every 8th entry (e.g., in a column of an 8x8 - block). - _x: The input coefficients. - Only the first 3 entries are used. - The other 5 are assumed to be 0.*/ -static void idct8_3(ogg_int16_t *_y,const ogg_int16_t _x[8]){ - ogg_int32_t t[8]; - ogg_int32_t r; - /*Stage 1:*/ - t[0]=OC_C4S4*_x[0]>>16; - t[2]=OC_C6S2*_x[2]>>16; - t[3]=OC_C2S6*_x[2]>>16; - t[4]=OC_C7S1*_x[1]>>16; - t[7]=OC_C1S7*_x[1]>>16; - /*Stage 2:*/ - t[5]=OC_C4S4*t[4]>>16; - t[6]=OC_C4S4*t[7]>>16; - /*Stage 3:*/ - t[1]=t[0]+t[2]; - t[2]=t[0]-t[2]; - r=t[0]+t[3]; - t[3]=t[0]-t[3]; - t[0]=r; - r=t[6]+t[5]; - t[5]=t[6]-t[5]; - t[6]=r; - /*Stage 4:*/ - _y[0<<3]=(ogg_int16_t)(t[0]+t[7]); - _y[1<<3]=(ogg_int16_t)(t[1]+t[6]); - _y[2<<3]=(ogg_int16_t)(t[2]+t[5]); - _y[3<<3]=(ogg_int16_t)(t[3]+t[4]); - _y[4<<3]=(ogg_int16_t)(t[3]-t[4]); - _y[5<<3]=(ogg_int16_t)(t[2]-t[5]); - _y[6<<3]=(ogg_int16_t)(t[1]-t[6]); - _y[7<<3]=(ogg_int16_t)(t[0]-t[7]); -} - -/*Performs an inverse 8 point Type-II DCT transform. - The output is scaled by a factor of 2 relative to the orthonormal version of - the transform. - _y: The buffer to store the result in. - Data will be placed in every 8th entry (e.g., in a column of an 8x8 - block). - _x: The input coefficients. - Only the first 2 entries are used. - The other 6 are assumed to be 0.*/ -static void idct8_2(ogg_int16_t *_y,const ogg_int16_t _x[8]){ - ogg_int32_t t[8]; - ogg_int32_t r; - /*Stage 1:*/ - t[0]=OC_C4S4*_x[0]>>16; - t[4]=OC_C7S1*_x[1]>>16; - t[7]=OC_C1S7*_x[1]>>16; - /*Stage 2:*/ - t[5]=OC_C4S4*t[4]>>16; - t[6]=OC_C4S4*t[7]>>16; - /*Stage 3:*/ - r=t[6]+t[5]; - t[5]=t[6]-t[5]; - t[6]=r; - /*Stage 4:*/ - _y[0<<3]=(ogg_int16_t)(t[0]+t[7]); - _y[1<<3]=(ogg_int16_t)(t[0]+t[6]); - _y[2<<3]=(ogg_int16_t)(t[0]+t[5]); - _y[3<<3]=(ogg_int16_t)(t[0]+t[4]); - _y[4<<3]=(ogg_int16_t)(t[0]-t[4]); - _y[5<<3]=(ogg_int16_t)(t[0]-t[5]); - _y[6<<3]=(ogg_int16_t)(t[0]-t[6]); - _y[7<<3]=(ogg_int16_t)(t[0]-t[7]); -} - -/*Performs an inverse 8 point Type-II DCT transform. - The output is scaled by a factor of 2 relative to the orthonormal version of - the transform. - _y: The buffer to store the result in. - Data will be placed in every 8th entry (e.g., in a column of an 8x8 - block). - _x: The input coefficients. - Only the first entry is used. - The other 7 are assumed to be 0.*/ -static void idct8_1(ogg_int16_t *_y,const ogg_int16_t _x[1]){ - _y[0<<3]=_y[1<<3]=_y[2<<3]=_y[3<<3]= - _y[4<<3]=_y[5<<3]=_y[6<<3]=_y[7<<3]=(ogg_int16_t)(OC_C4S4*_x[0]>>16); -} - -/*Performs an inverse 8x8 Type-II DCT transform. - The input is assumed to be scaled by a factor of 4 relative to orthonormal - version of the transform. - All coefficients but the first 3 in zig-zag scan order are assumed to be 0: - x x 0 0 0 0 0 0 - x 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 - _y: The buffer to store the result in. - This may be the same as _x. - _x: The input coefficients.*/ -static void oc_idct8x8_3(ogg_int16_t _y[64],const ogg_int16_t _x[64]){ - const ogg_int16_t *in; - ogg_int16_t *end; - ogg_int16_t *out; - ogg_int16_t w[64]; - /*Transform rows of x into columns of w.*/ - idct8_2(w,_x); - idct8_1(w+1,_x+8); - /*Transform rows of w into columns of y.*/ - for(in=w,out=_y,end=out+8;out>4); -} - -/*Performs an inverse 8x8 Type-II DCT transform. - The input is assumed to be scaled by a factor of 4 relative to orthonormal - version of the transform. - All coefficients but the first 10 in zig-zag scan order are assumed to be 0: - x x x x 0 0 0 0 - x x x 0 0 0 0 0 - x x 0 0 0 0 0 0 - x 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 - _y: The buffer to store the result in. - This may be the same as _x. - _x: The input coefficients.*/ -static void oc_idct8x8_10(ogg_int16_t _y[64],const ogg_int16_t _x[64]){ - const ogg_int16_t *in; - ogg_int16_t *end; - ogg_int16_t *out; - ogg_int16_t w[64]; - /*Transform rows of x into columns of w.*/ - idct8_4(w,_x); - idct8_3(w+1,_x+8); - idct8_2(w+2,_x+16); - idct8_1(w+3,_x+24); - /*Transform rows of w into columns of y.*/ - for(in=w,out=_y,end=out+8;out>4); -} - -/*Performs an inverse 8x8 Type-II DCT transform. - The input is assumed to be scaled by a factor of 4 relative to orthonormal - version of the transform. - _y: The buffer to store the result in. - This may be the same as _x. - _x: The input coefficients.*/ -static void oc_idct8x8_slow(ogg_int16_t _y[64],const ogg_int16_t _x[64]){ - const ogg_int16_t *in; - ogg_int16_t *end; - ogg_int16_t *out; - ogg_int16_t w[64]; - /*Transform rows of x into columns of w.*/ - for(in=_x,out=w,end=out+8;out>4); -} - -void oc_idct8x8(const oc_theora_state *_state,ogg_int16_t _y[64], - int _last_zzi){ - (*_state->opt_vtable.idct8x8)(_y,_last_zzi); -} - -/*Performs an inverse 8x8 Type-II DCT transform. - The input is assumed to be scaled by a factor of 4 relative to orthonormal - version of the transform.*/ -void oc_idct8x8_c(ogg_int16_t _y[64],int _last_zzi){ - /*_last_zzi is subtly different from an actual count of the number of - coefficients we decoded for this block. - It contains the value of zzi BEFORE the final token in the block was - decoded. - In most cases this is an EOB token (the continuation of an EOB run from a - previous block counts), and so this is the same as the coefficient count. - However, in the case that the last token was NOT an EOB token, but filled - the block up with exactly 64 coefficients, _last_zzi will be less than 64. - Provided the last token was not a pure zero run, the minimum value it can - be is 46, and so that doesn't affect any of the cases in this routine. - However, if the last token WAS a pure zero run of length 63, then _last_zzi - will be 1 while the number of coefficients decoded is 64. - Thus, we will trigger the following special case, where the real - coefficient count would not. - Note also that a zero run of length 64 will give _last_zzi a value of 0, - but we still process the DC coefficient, which might have a non-zero value - due to DC prediction. - Although convoluted, this is arguably the correct behavior: it allows us to - use a smaller transform when the block ends with a long zero run instead - of a normal EOB token. - It could be smarter... multiple separate zero runs at the end of a block - will fool it, but an encoder that generates these really deserves what it - gets. - Needless to say we inherited this approach from VP3.*/ - /*Then perform the iDCT.*/ - if(_last_zzi<3)oc_idct8x8_3(_y,_y); - else if(_last_zzi<10)oc_idct8x8_10(_y,_y); - else oc_idct8x8_slow(_y,_y); -} diff --git a/Libraries/libtheora-1.1.1/lib/info.c b/Libraries/libtheora-1.1.1/lib/info.c deleted file mode 100644 index 6b976297..00000000 --- a/Libraries/libtheora-1.1.1/lib/info.c +++ /dev/null @@ -1,131 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: info.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#include -#include -#include -#include "internal.h" - - - -/*This is more or less the same as strncasecmp, but that doesn't exist - everywhere, and this is a fairly trivial function, so we include it. - Note: We take advantage of the fact that we know _n is less than or equal to - the length of at least one of the strings.*/ -static int oc_tagcompare(const char *_s1,const char *_s2,int _n){ - int c; - for(c=0;c<_n;c++){ - if(toupper(_s1[c])!=toupper(_s2[c]))return !0; - } - return _s1[c]!='='; -} - - - -void th_info_init(th_info *_info){ - memset(_info,0,sizeof(*_info)); - _info->version_major=TH_VERSION_MAJOR; - _info->version_minor=TH_VERSION_MINOR; - _info->version_subminor=TH_VERSION_SUB; - _info->keyframe_granule_shift=6; -} - -void th_info_clear(th_info *_info){ - memset(_info,0,sizeof(*_info)); -} - - - -void th_comment_init(th_comment *_tc){ - memset(_tc,0,sizeof(*_tc)); -} - -void th_comment_add(th_comment *_tc,char *_comment){ - char **user_comments; - int *comment_lengths; - int comment_len; - user_comments=_ogg_realloc(_tc->user_comments, - (_tc->comments+2)*sizeof(*_tc->user_comments)); - if(user_comments==NULL)return; - _tc->user_comments=user_comments; - comment_lengths=_ogg_realloc(_tc->comment_lengths, - (_tc->comments+2)*sizeof(*_tc->comment_lengths)); - if(comment_lengths==NULL)return; - _tc->comment_lengths=comment_lengths; - comment_len=strlen(_comment); - comment_lengths[_tc->comments]=comment_len; - user_comments[_tc->comments]=_ogg_malloc(comment_len+1); - if(user_comments[_tc->comments]==NULL)return; - memcpy(_tc->user_comments[_tc->comments],_comment,comment_len+1); - _tc->comments++; - _tc->user_comments[_tc->comments]=NULL; -} - -void th_comment_add_tag(th_comment *_tc,char *_tag,char *_val){ - char *comment; - int tag_len; - int val_len; - tag_len=strlen(_tag); - val_len=strlen(_val); - /*+2 for '=' and '\0'.*/ - comment=_ogg_malloc(tag_len+val_len+2); - if(comment==NULL)return; - memcpy(comment,_tag,tag_len); - comment[tag_len]='='; - memcpy(comment+tag_len+1,_val,val_len+1); - th_comment_add(_tc,comment); - _ogg_free(comment); -} - -char *th_comment_query(th_comment *_tc,char *_tag,int _count){ - long i; - int found; - int tag_len; - tag_len=strlen(_tag); - found=0; - for(i=0;i<_tc->comments;i++){ - if(!oc_tagcompare(_tc->user_comments[i],_tag,tag_len)){ - /*We return a pointer to the data, not a copy.*/ - if(_count==found++)return _tc->user_comments[i]+tag_len+1; - } - } - /*Didn't find anything.*/ - return NULL; -} - -int th_comment_query_count(th_comment *_tc,char *_tag){ - long i; - int tag_len; - int count; - tag_len=strlen(_tag); - count=0; - for(i=0;i<_tc->comments;i++){ - if(!oc_tagcompare(_tc->user_comments[i],_tag,tag_len))count++; - } - return count; -} - -void th_comment_clear(th_comment *_tc){ - if(_tc!=NULL){ - long i; - for(i=0;i<_tc->comments;i++)_ogg_free(_tc->user_comments[i]); - _ogg_free(_tc->user_comments); - _ogg_free(_tc->comment_lengths); - _ogg_free(_tc->vendor); - memset(_tc,0,sizeof(*_tc)); - } -} diff --git a/Libraries/libtheora-1.1.1/lib/internal.c b/Libraries/libtheora-1.1.1/lib/internal.c deleted file mode 100644 index 0fe4f63e..00000000 --- a/Libraries/libtheora-1.1.1/lib/internal.c +++ /dev/null @@ -1,262 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: internal.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#include -#include -#include -#include "internal.h" - - - -/*A map from the index in the zig zag scan to the coefficient number in a - block. - All zig zag indices beyond 63 are sent to coefficient 64, so that zero runs - past the end of a block in bogus streams get mapped to a known location.*/ -const unsigned char OC_FZIG_ZAG[128]={ - 0, 1, 8,16, 9, 2, 3,10, - 17,24,32,25,18,11, 4, 5, - 12,19,26,33,40,48,41,34, - 27,20,13, 6, 7,14,21,28, - 35,42,49,56,57,50,43,36, - 29,22,15,23,30,37,44,51, - 58,59,52,45,38,31,39,46, - 53,60,61,54,47,55,62,63, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64 -}; - -/*A map from the coefficient number in a block to its index in the zig zag - scan.*/ -const unsigned char OC_IZIG_ZAG[64]={ - 0, 1, 5, 6,14,15,27,28, - 2, 4, 7,13,16,26,29,42, - 3, 8,12,17,25,30,41,43, - 9,11,18,24,31,40,44,53, - 10,19,23,32,39,45,52,54, - 20,22,33,38,46,51,55,60, - 21,34,37,47,50,56,59,61, - 35,36,48,49,57,58,62,63 -}; - -/*A map from physical macro block ordering to bitstream macro block - ordering within a super block.*/ -const unsigned char OC_MB_MAP[2][2]={{0,3},{1,2}}; - -/*A list of the indices in the oc_mb.map array that can be valid for each of - the various chroma decimation types.*/ -const unsigned char OC_MB_MAP_IDXS[TH_PF_NFORMATS][12]={ - {0,1,2,3,4,8}, - {0,1,2,3,4,5,8,9}, - {0,1,2,3,4,6,8,10}, - {0,1,2,3,4,5,6,7,8,9,10,11} -}; - -/*The number of indices in the oc_mb.map array that can be valid for each of - the various chroma decimation types.*/ -const unsigned char OC_MB_MAP_NIDXS[TH_PF_NFORMATS]={6,8,8,12}; - -/*The number of extra bits that are coded with each of the DCT tokens. - Each DCT token has some fixed number of additional bits (possibly 0) stored - after the token itself, containing, for example, coefficient magnitude, - sign bits, etc.*/ -const unsigned char OC_DCT_TOKEN_EXTRA_BITS[TH_NDCT_TOKENS]={ - 0,0,0,2,3,4,12,3,6, - 0,0,0,0, - 1,1,1,1,2,3,4,5,6,10, - 1,1,1,1,1,3,4, - 2,3 -}; - - - -int oc_ilog(unsigned _v){ - int ret; - for(ret=0;_v;ret++)_v>>=1; - return ret; -} - - - -/*The function used to fill in the chroma plane motion vectors for a macro - block when 4 different motion vectors are specified in the luma plane. - This version is for use with chroma decimated in the X and Y directions - (4:2:0). - _cbmvs: The chroma block-level motion vectors to fill in. - _lbmvs: The luma block-level motion vectors.*/ -static void oc_set_chroma_mvs00(oc_mv _cbmvs[4],const oc_mv _lbmvs[4]){ - int dx; - int dy; - dx=_lbmvs[0][0]+_lbmvs[1][0]+_lbmvs[2][0]+_lbmvs[3][0]; - dy=_lbmvs[0][1]+_lbmvs[1][1]+_lbmvs[2][1]+_lbmvs[3][1]; - _cbmvs[0][0]=(signed char)OC_DIV_ROUND_POW2(dx,2,2); - _cbmvs[0][1]=(signed char)OC_DIV_ROUND_POW2(dy,2,2); -} - -/*The function used to fill in the chroma plane motion vectors for a macro - block when 4 different motion vectors are specified in the luma plane. - This version is for use with chroma decimated in the Y direction. - _cbmvs: The chroma block-level motion vectors to fill in. - _lbmvs: The luma block-level motion vectors.*/ -static void oc_set_chroma_mvs01(oc_mv _cbmvs[4],const oc_mv _lbmvs[4]){ - int dx; - int dy; - dx=_lbmvs[0][0]+_lbmvs[2][0]; - dy=_lbmvs[0][1]+_lbmvs[2][1]; - _cbmvs[0][0]=(signed char)OC_DIV_ROUND_POW2(dx,1,1); - _cbmvs[0][1]=(signed char)OC_DIV_ROUND_POW2(dy,1,1); - dx=_lbmvs[1][0]+_lbmvs[3][0]; - dy=_lbmvs[1][1]+_lbmvs[3][1]; - _cbmvs[1][0]=(signed char)OC_DIV_ROUND_POW2(dx,1,1); - _cbmvs[1][1]=(signed char)OC_DIV_ROUND_POW2(dy,1,1); -} - -/*The function used to fill in the chroma plane motion vectors for a macro - block when 4 different motion vectors are specified in the luma plane. - This version is for use with chroma decimated in the X direction (4:2:2). - _cbmvs: The chroma block-level motion vectors to fill in. - _lbmvs: The luma block-level motion vectors.*/ -static void oc_set_chroma_mvs10(oc_mv _cbmvs[4],const oc_mv _lbmvs[4]){ - int dx; - int dy; - dx=_lbmvs[0][0]+_lbmvs[1][0]; - dy=_lbmvs[0][1]+_lbmvs[1][1]; - _cbmvs[0][0]=(signed char)OC_DIV_ROUND_POW2(dx,1,1); - _cbmvs[0][1]=(signed char)OC_DIV_ROUND_POW2(dy,1,1); - dx=_lbmvs[2][0]+_lbmvs[3][0]; - dy=_lbmvs[2][1]+_lbmvs[3][1]; - _cbmvs[2][0]=(signed char)OC_DIV_ROUND_POW2(dx,1,1); - _cbmvs[2][1]=(signed char)OC_DIV_ROUND_POW2(dy,1,1); -} - -/*The function used to fill in the chroma plane motion vectors for a macro - block when 4 different motion vectors are specified in the luma plane. - This version is for use with no chroma decimation (4:4:4). - _cbmvs: The chroma block-level motion vectors to fill in. - _lmbmv: The luma macro-block level motion vector to fill in for use in - prediction. - _lbmvs: The luma block-level motion vectors.*/ -static void oc_set_chroma_mvs11(oc_mv _cbmvs[4],const oc_mv _lbmvs[4]){ - memcpy(_cbmvs,_lbmvs,4*sizeof(_lbmvs[0])); -} - -/*A table of functions used to fill in the chroma plane motion vectors for a - macro block when 4 different motion vectors are specified in the luma - plane.*/ -const oc_set_chroma_mvs_func OC_SET_CHROMA_MVS_TABLE[TH_PF_NFORMATS]={ - (oc_set_chroma_mvs_func)oc_set_chroma_mvs00, - (oc_set_chroma_mvs_func)oc_set_chroma_mvs01, - (oc_set_chroma_mvs_func)oc_set_chroma_mvs10, - (oc_set_chroma_mvs_func)oc_set_chroma_mvs11 -}; - - - -void **oc_malloc_2d(size_t _height,size_t _width,size_t _sz){ - size_t rowsz; - size_t colsz; - size_t datsz; - char *ret; - colsz=_height*sizeof(void *); - rowsz=_sz*_width; - datsz=rowsz*_height; - /*Alloc array and row pointers.*/ - ret=(char *)_ogg_malloc(datsz+colsz); - if(ret==NULL)return NULL; - /*Initialize the array.*/ - if(ret!=NULL){ - size_t i; - void **p; - char *datptr; - p=(void **)ret; - i=_height; - for(datptr=ret+colsz;i-->0;p++,datptr+=rowsz)*p=(void *)datptr; - } - return (void **)ret; -} - -void **oc_calloc_2d(size_t _height,size_t _width,size_t _sz){ - size_t colsz; - size_t rowsz; - size_t datsz; - char *ret; - colsz=_height*sizeof(void *); - rowsz=_sz*_width; - datsz=rowsz*_height; - /*Alloc array and row pointers.*/ - ret=(char *)_ogg_calloc(datsz+colsz,1); - if(ret==NULL)return NULL; - /*Initialize the array.*/ - if(ret!=NULL){ - size_t i; - void **p; - char *datptr; - p=(void **)ret; - i=_height; - for(datptr=ret+colsz;i-->0;p++,datptr+=rowsz)*p=(void *)datptr; - } - return (void **)ret; -} - -void oc_free_2d(void *_ptr){ - _ogg_free(_ptr); -} - -/*Fills in a Y'CbCr buffer with a pointer to the image data in the first - buffer, but with the opposite vertical orientation. - _dst: The destination buffer. - This can be the same as _src. - _src: The source buffer.*/ -void oc_ycbcr_buffer_flip(th_ycbcr_buffer _dst, - const th_ycbcr_buffer _src){ - int pli; - for(pli=0;pli<3;pli++){ - _dst[pli].width=_src[pli].width; - _dst[pli].height=_src[pli].height; - _dst[pli].stride=-_src[pli].stride; - _dst[pli].data=_src[pli].data - +(1-_dst[pli].height)*(ptrdiff_t)_dst[pli].stride; - } -} - -const char *th_version_string(void){ - return OC_VENDOR_STRING; -} - -ogg_uint32_t th_version_number(void){ - return (TH_VERSION_MAJOR<<16)+(TH_VERSION_MINOR<<8)+TH_VERSION_SUB; -} - -/*Determines the packet type. - Note that this correctly interprets a 0-byte packet as a video data packet. - Return: 1 for a header packet, 0 for a data packet.*/ -int th_packet_isheader(ogg_packet *_op){ - return _op->bytes>0?_op->packet[0]>>7:0; -} - -/*Determines the frame type of a video data packet. - Note that this correctly interprets a 0-byte packet as a delta frame. - Return: 1 for a key frame, 0 for a delta frame, and -1 for a header - packet.*/ -int th_packet_iskeyframe(ogg_packet *_op){ - return _op->bytes<=0?0:_op->packet[0]&0x80?-1:!(_op->packet[0]&0x40); -} diff --git a/Libraries/libtheora-1.1.1/lib/internal.h b/Libraries/libtheora-1.1.1/lib/internal.h deleted file mode 100644 index d81263e1..00000000 --- a/Libraries/libtheora-1.1.1/lib/internal.h +++ /dev/null @@ -1,509 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: internal.h 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ -#if !defined(_internal_H) -# define _internal_H (1) -# include -# include -# if defined(HAVE_CONFIG_H) -# include -# endif -# include "theora/codec.h" -# include "theora/theora.h" - -# if defined(_MSC_VER) -/*Disable missing EMMS warnings.*/ -# pragma warning(disable:4799) -/*Thank you Microsoft, I know the order of operations.*/ -# pragma warning(disable:4554) -# endif -/*You, too, gcc.*/ -# if defined(__GNUC_PREREQ) -# if __GNUC_PREREQ(4,2) -# pragma GCC diagnostic ignored "-Wparentheses" -# endif -# endif - -# include "ocintrin.h" -# include "huffman.h" -# include "quant.h" - -/*Some assembly constructs require aligned operands.*/ -# if defined(OC_X86_ASM) -# if defined(__GNUC__) -# define OC_ALIGN8(expr) expr __attribute__((aligned(8))) -# define OC_ALIGN16(expr) expr __attribute__((aligned(16))) -# elif defined(_MSC_VER) -# define OC_ALIGN8(expr) __declspec (align(8)) expr -# define OC_ALIGN16(expr) __declspec (align(16)) expr -# endif -# endif -# if !defined(OC_ALIGN8) -# define OC_ALIGN8(expr) expr -# endif -# if !defined(OC_ALIGN16) -# define OC_ALIGN16(expr) expr -# endif - - - -typedef struct oc_sb_flags oc_sb_flags; -typedef struct oc_border_info oc_border_info; -typedef struct oc_fragment oc_fragment; -typedef struct oc_fragment_plane oc_fragment_plane; -typedef struct oc_base_opt_vtable oc_base_opt_vtable; -typedef struct oc_base_opt_data oc_base_opt_data; -typedef struct oc_state_dispatch_vtable oc_state_dispatch_vtable; -typedef struct oc_theora_state oc_theora_state; - - - -/*This library's version.*/ -# define OC_VENDOR_STRING "Xiph.Org libtheora 1.1 20090822 (Thusnelda)" - -/*Theora bitstream version.*/ -# define TH_VERSION_MAJOR (3) -# define TH_VERSION_MINOR (2) -# define TH_VERSION_SUB (1) -# define TH_VERSION_CHECK(_info,_maj,_min,_sub) \ - ((_info)->version_major>(_maj)||(_info)->version_major==(_maj)&& \ - ((_info)->version_minor>(_min)||(_info)->version_minor==(_min)&& \ - (_info)->version_subminor>=(_sub))) - -/*A keyframe.*/ -#define OC_INTRA_FRAME (0) -/*A predicted frame.*/ -#define OC_INTER_FRAME (1) -/*A frame of unknown type (frame type decision has not yet been made).*/ -#define OC_UNKWN_FRAME (-1) - -/*The amount of padding to add to the reconstructed frame buffers on all - sides. - This is used to allow unrestricted motion vectors without special casing. - This must be a multiple of 2.*/ -#define OC_UMV_PADDING (16) - -/*Frame classification indices.*/ -/*The previous golden frame.*/ -#define OC_FRAME_GOLD (0) -/*The previous frame.*/ -#define OC_FRAME_PREV (1) -/*The current frame.*/ -#define OC_FRAME_SELF (2) - -/*The input or output buffer.*/ -#define OC_FRAME_IO (3) - -/*Macroblock modes.*/ -/*Macro block is invalid: It is never coded.*/ -#define OC_MODE_INVALID (-1) -/*Encoded difference from the same macro block in the previous frame.*/ -#define OC_MODE_INTER_NOMV (0) -/*Encoded with no motion compensated prediction.*/ -#define OC_MODE_INTRA (1) -/*Encoded difference from the previous frame offset by the given motion - vector.*/ -#define OC_MODE_INTER_MV (2) -/*Encoded difference from the previous frame offset by the last coded motion - vector.*/ -#define OC_MODE_INTER_MV_LAST (3) -/*Encoded difference from the previous frame offset by the second to last - coded motion vector.*/ -#define OC_MODE_INTER_MV_LAST2 (4) -/*Encoded difference from the same macro block in the previous golden - frame.*/ -#define OC_MODE_GOLDEN_NOMV (5) -/*Encoded difference from the previous golden frame offset by the given motion - vector.*/ -#define OC_MODE_GOLDEN_MV (6) -/*Encoded difference from the previous frame offset by the individual motion - vectors given for each block.*/ -#define OC_MODE_INTER_MV_FOUR (7) -/*The number of (coded) modes.*/ -#define OC_NMODES (8) - -/*Determines the reference frame used for a given MB mode.*/ -#define OC_FRAME_FOR_MODE(_x) \ - OC_UNIBBLE_TABLE32(OC_FRAME_PREV,OC_FRAME_SELF,OC_FRAME_PREV,OC_FRAME_PREV, \ - OC_FRAME_PREV,OC_FRAME_GOLD,OC_FRAME_GOLD,OC_FRAME_PREV,(_x)) - -/*Constants for the packet state machine common between encoder and decoder.*/ - -/*Next packet to emit/read: Codec info header.*/ -#define OC_PACKET_INFO_HDR (-3) -/*Next packet to emit/read: Comment header.*/ -#define OC_PACKET_COMMENT_HDR (-2) -/*Next packet to emit/read: Codec setup header.*/ -#define OC_PACKET_SETUP_HDR (-1) -/*No more packets to emit/read.*/ -#define OC_PACKET_DONE (INT_MAX) - - - -/*Super blocks are 32x32 segments of pixels in a single color plane indexed - in image order. - Internally, super blocks are broken up into four quadrants, each of which - contains a 2x2 pattern of blocks, each of which is an 8x8 block of pixels. - Quadrants, and the blocks within them, are indexed in a special order called - a "Hilbert curve" within the super block. - - In order to differentiate between the Hilbert-curve indexing strategy and - the regular image order indexing strategy, blocks indexed in image order - are called "fragments". - Fragments are indexed in image order, left to right, then bottom to top, - from Y' plane to Cb plane to Cr plane. - - The co-located fragments in all image planes corresponding to the location - of a single quadrant of a luma plane super block form a macro block. - Thus there is only a single set of macro blocks for all planes, each of which - contains between 6 and 12 fragments, depending on the pixel format. - Therefore macro block information is kept in a separate set of arrays from - super blocks to avoid unused space in the other planes. - The lists are indexed in super block order. - That is, the macro block corresponding to the macro block mbi in (luma plane) - super block sbi is at index (sbi<<2|mbi). - Thus the number of macro blocks in each dimension is always twice the number - of super blocks, even when only an odd number fall inside the coded frame. - These "extra" macro blocks are just an artifact of our internal data layout, - and not part of the coded stream; they are flagged with a negative MB mode.*/ - - - -/*A single quadrant of the map from a super block to fragment numbers.*/ -typedef ptrdiff_t oc_sb_map_quad[4]; -/*A map from a super block to fragment numbers.*/ -typedef oc_sb_map_quad oc_sb_map[4]; -/*A single plane of the map from a macro block to fragment numbers.*/ -typedef ptrdiff_t oc_mb_map_plane[4]; -/*A map from a macro block to fragment numbers.*/ -typedef oc_mb_map_plane oc_mb_map[3]; -/*A motion vector.*/ -typedef signed char oc_mv[2]; - - - -/*Super block information.*/ -struct oc_sb_flags{ - unsigned char coded_fully:1; - unsigned char coded_partially:1; - unsigned char quad_valid:4; -}; - - - -/*Information about a fragment which intersects the border of the displayable - region. - This marks which pixels belong to the displayable region.*/ -struct oc_border_info{ - /*A bit mask marking which pixels are in the displayable region. - Pixel (x,y) corresponds to bit (y<<3|x).*/ - ogg_int64_t mask; - /*The number of pixels in the displayable region. - This is always positive, and always less than 64.*/ - int npixels; -}; - - - -/*Fragment information.*/ -struct oc_fragment{ - /*A flag indicating whether or not this fragment is coded.*/ - unsigned coded:1; - /*A flag indicating that this entire fragment lies outside the displayable - region of the frame. - Note the contrast with an invalid macro block, which is outside the coded - frame, not just the displayable one. - There are no fragments outside the coded frame by construction.*/ - unsigned invalid:1; - /*The index of the quality index used for this fragment's AC coefficients.*/ - unsigned qii:6; - /*The mode of the macroblock this fragment belongs to.*/ - unsigned mb_mode:3; - /*The index of the associated border information for fragments which lie - partially outside the displayable region. - For fragments completely inside or outside this region, this is -1. - Note that the C standard requires an explicit signed keyword for bitfield - types, since some compilers may treat them as unsigned without it.*/ - signed int borderi:5; - /*The prediction-corrected DC component. - Note that the C standard requires an explicit signed keyword for bitfield - types, since some compilers may treat them as unsigned without it.*/ - signed int dc:16; -}; - - - -/*A description of each fragment plane.*/ -struct oc_fragment_plane{ - /*The number of fragments in the horizontal direction.*/ - int nhfrags; - /*The number of fragments in the vertical direction.*/ - int nvfrags; - /*The offset of the first fragment in the plane.*/ - ptrdiff_t froffset; - /*The total number of fragments in the plane.*/ - ptrdiff_t nfrags; - /*The number of super blocks in the horizontal direction.*/ - unsigned nhsbs; - /*The number of super blocks in the vertical direction.*/ - unsigned nvsbs; - /*The offset of the first super block in the plane.*/ - unsigned sboffset; - /*The total number of super blocks in the plane.*/ - unsigned nsbs; -}; - - - -/*The shared (encoder and decoder) functions that have accelerated variants.*/ -struct oc_base_opt_vtable{ - void (*frag_copy)(unsigned char *_dst, - const unsigned char *_src,int _ystride); - void (*frag_recon_intra)(unsigned char *_dst,int _ystride, - const ogg_int16_t _residue[64]); - void (*frag_recon_inter)(unsigned char *_dst, - const unsigned char *_src,int _ystride,const ogg_int16_t _residue[64]); - void (*frag_recon_inter2)(unsigned char *_dst,const unsigned char *_src1, - const unsigned char *_src2,int _ystride,const ogg_int16_t _residue[64]); - void (*idct8x8)(ogg_int16_t _y[64],int _last_zzi); - void (*state_frag_recon)(const oc_theora_state *_state,ptrdiff_t _fragi, - int _pli,ogg_int16_t _dct_coeffs[64],int _last_zzi,ogg_uint16_t _dc_quant); - void (*state_frag_copy_list)(const oc_theora_state *_state, - const ptrdiff_t *_fragis,ptrdiff_t _nfragis, - int _dst_frame,int _src_frame,int _pli); - void (*state_loop_filter_frag_rows)(const oc_theora_state *_state, - int _bv[256],int _refi,int _pli,int _fragy0,int _fragy_end); - void (*restore_fpu)(void); -}; - -/*The shared (encoder and decoder) tables that vary according to which variants - of the above functions are used.*/ -struct oc_base_opt_data{ - const unsigned char *dct_fzig_zag; -}; - - -/*State information common to both the encoder and decoder.*/ -struct oc_theora_state{ - /*The stream information.*/ - th_info info; - /*Table for shared accelerated functions.*/ - oc_base_opt_vtable opt_vtable; - /*Table for shared data used by accelerated functions.*/ - oc_base_opt_data opt_data; - /*CPU flags to detect the presence of extended instruction sets.*/ - ogg_uint32_t cpu_flags; - /*The fragment plane descriptions.*/ - oc_fragment_plane fplanes[3]; - /*The list of fragments, indexed in image order.*/ - oc_fragment *frags; - /*The the offset into the reference frame buffer to the upper-left pixel of - each fragment.*/ - ptrdiff_t *frag_buf_offs; - /*The motion vector for each fragment.*/ - oc_mv *frag_mvs; - /*The total number of fragments in a single frame.*/ - ptrdiff_t nfrags; - /*The list of super block maps, indexed in image order.*/ - oc_sb_map *sb_maps; - /*The list of super block flags, indexed in image order.*/ - oc_sb_flags *sb_flags; - /*The total number of super blocks in a single frame.*/ - unsigned nsbs; - /*The fragments from each color plane that belong to each macro block. - Fragments are stored in image order (left to right then top to bottom). - When chroma components are decimated, the extra fragments have an index of - -1.*/ - oc_mb_map *mb_maps; - /*The list of macro block modes. - A negative number indicates the macro block lies entirely outside the - coded frame.*/ - signed char *mb_modes; - /*The number of macro blocks in the X direction.*/ - unsigned nhmbs; - /*The number of macro blocks in the Y direction.*/ - unsigned nvmbs; - /*The total number of macro blocks.*/ - size_t nmbs; - /*The list of coded fragments, in coded order. - Uncoded fragments are stored in reverse order from the end of the list.*/ - ptrdiff_t *coded_fragis; - /*The number of coded fragments in each plane.*/ - ptrdiff_t ncoded_fragis[3]; - /*The total number of coded fragments.*/ - ptrdiff_t ntotal_coded_fragis; - /*The index of the buffers being used for each OC_FRAME_* reference frame.*/ - int ref_frame_idx[4]; - /*The actual buffers used for the previously decoded frames.*/ - th_ycbcr_buffer ref_frame_bufs[4]; - /*The storage for the reference frame buffers.*/ - unsigned char *ref_frame_data[4]; - /*The strides for each plane in the reference frames.*/ - int ref_ystride[3]; - /*The number of unique border patterns.*/ - int nborders; - /*The unique border patterns for all border fragments. - The borderi field of fragments which straddle the border indexes this - list.*/ - oc_border_info borders[16]; - /*The frame number of the last keyframe.*/ - ogg_int64_t keyframe_num; - /*The frame number of the current frame.*/ - ogg_int64_t curframe_num; - /*The granpos of the current frame.*/ - ogg_int64_t granpos; - /*The type of the current frame.*/ - unsigned char frame_type; - /*The bias to add to the frame count when computing granule positions.*/ - unsigned char granpos_bias; - /*The number of quality indices used in the current frame.*/ - unsigned char nqis; - /*The quality indices of the current frame.*/ - unsigned char qis[3]; - /*The dequantization tables, stored in zig-zag order, and indexed by - qi, pli, qti, and zzi.*/ - ogg_uint16_t *dequant_tables[64][3][2]; - OC_ALIGN16(oc_quant_table dequant_table_data[64][3][2]); - /*Loop filter strength parameters.*/ - unsigned char loop_filter_limits[64]; -}; - - - -/*The function type used to fill in the chroma plane motion vectors for a - macro block when 4 different motion vectors are specified in the luma - plane. - _cbmvs: The chroma block-level motion vectors to fill in. - _lmbmv: The luma macro-block level motion vector to fill in for use in - prediction. - _lbmvs: The luma block-level motion vectors.*/ -typedef void (*oc_set_chroma_mvs_func)(oc_mv _cbmvs[4],const oc_mv _lbmvs[4]); - - - -/*A map from the index in the zig zag scan to the coefficient number in a - block.*/ -extern const unsigned char OC_FZIG_ZAG[128]; -/*A map from the coefficient number in a block to its index in the zig zag - scan.*/ -extern const unsigned char OC_IZIG_ZAG[64]; -/*A map from physical macro block ordering to bitstream macro block - ordering within a super block.*/ -extern const unsigned char OC_MB_MAP[2][2]; -/*A list of the indices in the oc_mb_map array that can be valid for each of - the various chroma decimation types.*/ -extern const unsigned char OC_MB_MAP_IDXS[TH_PF_NFORMATS][12]; -/*The number of indices in the oc_mb_map array that can be valid for each of - the various chroma decimation types.*/ -extern const unsigned char OC_MB_MAP_NIDXS[TH_PF_NFORMATS]; -/*A table of functions used to fill in the Cb,Cr plane motion vectors for a - macro block when 4 different motion vectors are specified in the luma - plane.*/ -extern const oc_set_chroma_mvs_func OC_SET_CHROMA_MVS_TABLE[TH_PF_NFORMATS]; - - - -int oc_ilog(unsigned _v); -void **oc_malloc_2d(size_t _height,size_t _width,size_t _sz); -void **oc_calloc_2d(size_t _height,size_t _width,size_t _sz); -void oc_free_2d(void *_ptr); - -void oc_ycbcr_buffer_flip(th_ycbcr_buffer _dst, - const th_ycbcr_buffer _src); - -int oc_state_init(oc_theora_state *_state,const th_info *_info,int _nrefs); -void oc_state_clear(oc_theora_state *_state); -void oc_state_vtable_init_c(oc_theora_state *_state); -void oc_state_borders_fill_rows(oc_theora_state *_state,int _refi,int _pli, - int _y0,int _yend); -void oc_state_borders_fill_caps(oc_theora_state *_state,int _refi,int _pli); -void oc_state_borders_fill(oc_theora_state *_state,int _refi); -void oc_state_fill_buffer_ptrs(oc_theora_state *_state,int _buf_idx, - th_ycbcr_buffer _img); -int oc_state_mbi_for_pos(oc_theora_state *_state,int _mbx,int _mby); -int oc_state_get_mv_offsets(const oc_theora_state *_state,int _offsets[2], - int _pli,int _dx,int _dy); - -int oc_state_loop_filter_init(oc_theora_state *_state,int *_bv); -void oc_state_loop_filter(oc_theora_state *_state,int _frame); -#if defined(OC_DUMP_IMAGES) -int oc_state_dump_frame(const oc_theora_state *_state,int _frame, - const char *_suf); -#endif - -/*Shared accelerated functions.*/ -void oc_frag_copy(const oc_theora_state *_state,unsigned char *_dst, - const unsigned char *_src,int _ystride); -void oc_frag_recon_intra(const oc_theora_state *_state, - unsigned char *_dst,int _dst_ystride,const ogg_int16_t _residue[64]); -void oc_frag_recon_inter(const oc_theora_state *_state,unsigned char *_dst, - const unsigned char *_src,int _ystride,const ogg_int16_t _residue[64]); -void oc_frag_recon_inter2(const oc_theora_state *_state, - unsigned char *_dst,const unsigned char *_src1,const unsigned char *_src2, - int _ystride,const ogg_int16_t _residue[64]); -void oc_idct8x8(const oc_theora_state *_state,ogg_int16_t _y[64],int _last_zzi); -void oc_state_frag_recon(const oc_theora_state *_state,ptrdiff_t _fragi, - int _pli,ogg_int16_t _dct_coeffs[64],int _last_zzi,ogg_uint16_t _dc_quant); -void oc_state_frag_copy_list(const oc_theora_state *_state, - const ptrdiff_t *_fragis,ptrdiff_t _nfragis, - int _dst_frame,int _src_frame,int _pli); -void oc_state_loop_filter_frag_rows(const oc_theora_state *_state, - int _bv[256],int _refi,int _pli,int _fragy0,int _fragy_end); -void oc_restore_fpu(const oc_theora_state *_state); - -/*Default pure-C implementations.*/ -void oc_frag_copy_c(unsigned char *_dst, - const unsigned char *_src,int _src_ystride); -void oc_frag_recon_intra_c(unsigned char *_dst,int _dst_ystride, - const ogg_int16_t _residue[64]); -void oc_frag_recon_inter_c(unsigned char *_dst, - const unsigned char *_src,int _ystride,const ogg_int16_t _residue[64]); -void oc_frag_recon_inter2_c(unsigned char *_dst,const unsigned char *_src1, - const unsigned char *_src2,int _ystride,const ogg_int16_t _residue[64]); -void oc_idct8x8_c(ogg_int16_t _y[64],int _last_zzi); -void oc_state_frag_recon_c(const oc_theora_state *_state,ptrdiff_t _fragi, - int _pli,ogg_int16_t _dct_coeffs[64],int _last_zzi,ogg_uint16_t _dc_quant); -void oc_state_frag_copy_list_c(const oc_theora_state *_state, - const ptrdiff_t *_fragis,ptrdiff_t _nfragis, - int _dst_frame,int _src_frame,int _pli); -void oc_state_loop_filter_frag_rows_c(const oc_theora_state *_state, - int _bv[256],int _refi,int _pli,int _fragy0,int _fragy_end); -void oc_restore_fpu_c(void); - -/*We need a way to call a few encoder functions without introducing a link-time - dependency into the decoder, while still allowing the old alpha API which - does not distinguish between encoder and decoder objects to be used. - We do this by placing a function table at the start of the encoder object - which can dispatch into the encoder library. - We do a similar thing for the decoder in case we ever decide to split off a - common base library.*/ -typedef void (*oc_state_clear_func)(theora_state *_th); -typedef int (*oc_state_control_func)(theora_state *th,int _req, - void *_buf,size_t _buf_sz); -typedef ogg_int64_t (*oc_state_granule_frame_func)(theora_state *_th, - ogg_int64_t _granulepos); -typedef double (*oc_state_granule_time_func)(theora_state *_th, - ogg_int64_t _granulepos); - - -struct oc_state_dispatch_vtable{ - oc_state_clear_func clear; - oc_state_control_func control; - oc_state_granule_frame_func granule_frame; - oc_state_granule_time_func granule_time; -}; - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/mac64/libtheoradec.a b/Libraries/libtheora-1.1.1/lib/mac64/libtheoradec.a deleted file mode 100644 index 2204e71c..00000000 Binary files a/Libraries/libtheora-1.1.1/lib/mac64/libtheoradec.a and /dev/null differ diff --git a/Libraries/libtheora-1.1.1/lib/mathops.c b/Libraries/libtheora-1.1.1/lib/mathops.c deleted file mode 100644 index d3fb9091..00000000 --- a/Libraries/libtheora-1.1.1/lib/mathops.c +++ /dev/null @@ -1,296 +0,0 @@ -#include "mathops.h" -#include - -/*The fastest fallback strategy for platforms with fast multiplication appears - to be based on de Bruijn sequences~\cite{LP98}. - Tests confirmed this to be true even on an ARM11, where it is actually faster - than using the native clz instruction. - Define OC_ILOG_NODEBRUIJN to use a simpler fallback on platforms where - multiplication or table lookups are too expensive. - - @UNPUBLISHED{LP98, - author="Charles E. Leiserson and Harald Prokop", - title="Using de {Bruijn} Sequences to Index a 1 in a Computer Word", - month=Jun, - year=1998, - note="\url{http://supertech.csail.mit.edu/papers/debruijn.pdf}" - }*/ -#if !defined(OC_ILOG_NODEBRUIJN)&& \ - !defined(OC_CLZ32)||!defined(OC_CLZ64)&&LONG_MAX<9223372036854775807LL -static const unsigned char OC_DEBRUIJN_IDX32[32]={ - 0, 1,28, 2,29,14,24, 3,30,22,20,15,25,17, 4, 8, - 31,27,13,23,21,19,16, 7,26,12,18, 6,11, 5,10, 9 -}; -#endif - -int oc_ilog32(ogg_uint32_t _v){ -#if defined(OC_CLZ32) - return (OC_CLZ32_OFFS-OC_CLZ32(_v))&-!!_v; -#else -/*On a Pentium M, this branchless version tested as the fastest version without - multiplications on 1,000,000,000 random 32-bit integers, edging out a - similar version with branches, and a 256-entry LUT version.*/ -# if defined(OC_ILOG_NODEBRUIJN) - int ret; - int m; - ret=_v>0; - m=(_v>0xFFFFU)<<4; - _v>>=m; - ret|=m; - m=(_v>0xFFU)<<3; - _v>>=m; - ret|=m; - m=(_v>0xFU)<<2; - _v>>=m; - ret|=m; - m=(_v>3)<<1; - _v>>=m; - ret|=m; - ret+=_v>1; - return ret; -/*This de Bruijn sequence version is faster if you have a fast multiplier.*/ -# else - int ret; - ret=_v>0; - _v|=_v>>1; - _v|=_v>>2; - _v|=_v>>4; - _v|=_v>>8; - _v|=_v>>16; - _v=(_v>>1)+1; - ret+=OC_DEBRUIJN_IDX32[_v*0x77CB531U>>27&0x1F]; - return ret; -# endif -#endif -} - -int oc_ilog64(ogg_int64_t _v){ -#if defined(OC_CLZ64) - return (OC_CLZ64_OFFS-OC_CLZ64(_v))&-!!_v; -#else -# if defined(OC_ILOG_NODEBRUIJN) - ogg_uint32_t v; - int ret; - int m; - ret=_v>0; - m=(_v>0xFFFFFFFFU)<<5; - v=(ogg_uint32_t)(_v>>m); - ret|=m; - m=(v>0xFFFFU)<<4; - v>>=m; - ret|=m; - m=(v>0xFFU)<<3; - v>>=m; - ret|=m; - m=(v>0xFU)<<2; - v>>=m; - ret|=m; - m=(v>3)<<1; - v>>=m; - ret|=m; - ret+=v>1; - return ret; -# else -/*If we don't have a 64-bit word, split it into two 32-bit halves.*/ -# if LONG_MAX<9223372036854775807LL - ogg_uint32_t v; - int ret; - int m; - ret=_v>0; - m=(_v>0xFFFFFFFFU)<<5; - v=(ogg_uint32_t)(_v>>m); - ret|=m; - v|=v>>1; - v|=v>>2; - v|=v>>4; - v|=v>>8; - v|=v>>16; - v=(v>>1)+1; - ret+=OC_DEBRUIJN_IDX32[v*0x77CB531U>>27&0x1F]; - return ret; -/*Otherwise do it in one 64-bit operation.*/ -# else - static const unsigned char OC_DEBRUIJN_IDX64[64]={ - 0, 1, 2, 7, 3,13, 8,19, 4,25,14,28, 9,34,20,40, - 5,17,26,38,15,46,29,48,10,31,35,54,21,50,41,57, - 63, 6,12,18,24,27,33,39,16,37,45,47,30,53,49,56, - 62,11,23,32,36,44,52,55,61,22,43,51,60,42,59,58 - }; - int ret; - ret=_v>0; - _v|=_v>>1; - _v|=_v>>2; - _v|=_v>>4; - _v|=_v>>8; - _v|=_v>>16; - _v|=_v>>32; - _v=(_v>>1)+1; - ret+=OC_DEBRUIJN_IDX64[_v*0x218A392CD3D5DBF>>58&0x3F]; - return ret; -# endif -# endif -#endif -} - -/*round(2**(62+i)*atanh(2**(-(i+1)))/log(2))*/ -static const ogg_int64_t OC_ATANH_LOG2[32]={ - 0x32B803473F7AD0F4LL,0x2F2A71BD4E25E916LL,0x2E68B244BB93BA06LL, - 0x2E39FB9198CE62E4LL,0x2E2E683F68565C8FLL,0x2E2B850BE2077FC1LL, - 0x2E2ACC58FE7B78DBLL,0x2E2A9E2DE52FD5F2LL,0x2E2A92A338D53EECLL, - 0x2E2A8FC08F5E19B6LL,0x2E2A8F07E51A485ELL,0x2E2A8ED9BA8AF388LL, - 0x2E2A8ECE2FE7384ALL,0x2E2A8ECB4D3E4B1ALL,0x2E2A8ECA94940FE8LL, - 0x2E2A8ECA6669811DLL,0x2E2A8ECA5ADEDD6ALL,0x2E2A8ECA57FC347ELL, - 0x2E2A8ECA57438A43LL,0x2E2A8ECA57155FB4LL,0x2E2A8ECA5709D510LL, - 0x2E2A8ECA5706F267LL,0x2E2A8ECA570639BDLL,0x2E2A8ECA57060B92LL, - 0x2E2A8ECA57060008LL,0x2E2A8ECA5705FD25LL,0x2E2A8ECA5705FC6CLL, - 0x2E2A8ECA5705FC3ELL,0x2E2A8ECA5705FC33LL,0x2E2A8ECA5705FC30LL, - 0x2E2A8ECA5705FC2FLL,0x2E2A8ECA5705FC2FLL -}; - -/*Computes the binary exponential of _z, a log base 2 in Q57 format.*/ -ogg_int64_t oc_bexp64(ogg_int64_t _z){ - ogg_int64_t w; - ogg_int64_t z; - int ipart; - ipart=(int)(_z>>57); - if(ipart<0)return 0; - if(ipart>=63)return 0x7FFFFFFFFFFFFFFFLL; - z=_z-OC_Q57(ipart); - if(z){ - ogg_int64_t mask; - long wlo; - int i; - /*C doesn't give us 64x64->128 muls, so we use CORDIC. - This is not particularly fast, but it's not being used in time-critical - code; it is very accurate.*/ - /*z is the fractional part of the log in Q62 format. - We need 1 bit of headroom since the magnitude can get larger than 1 - during the iteration, and a sign bit.*/ - z<<=5; - /*w is the exponential in Q61 format (since it also needs headroom and can - get as large as 2.0); we could get another bit if we dropped the sign, - but we'll recover that bit later anyway. - Ideally this should start out as - \lim_{n->\infty} 2^{61}/\product_{i=1}^n \sqrt{1-2^{-2i}} - but in order to guarantee convergence we have to repeat iterations 4, - 13 (=3*4+1), and 40 (=3*13+1, etc.), so it winds up somewhat larger.*/ - w=0x26A3D0E401DD846DLL; - for(i=0;;i++){ - mask=-(z<0); - w+=(w>>i+1)+mask^mask; - z-=OC_ATANH_LOG2[i]+mask^mask; - /*Repeat iteration 4.*/ - if(i>=3)break; - z<<=1; - } - for(;;i++){ - mask=-(z<0); - w+=(w>>i+1)+mask^mask; - z-=OC_ATANH_LOG2[i]+mask^mask; - /*Repeat iteration 13.*/ - if(i>=12)break; - z<<=1; - } - for(;i<32;i++){ - mask=-(z<0); - w+=(w>>i+1)+mask^mask; - z=z-(OC_ATANH_LOG2[i]+mask^mask)<<1; - } - wlo=0; - /*Skip the remaining iterations unless we really require that much - precision. - We could have bailed out earlier for smaller iparts, but that would - require initializing w from a table, as the limit doesn't converge to - 61-bit precision until n=30.*/ - if(ipart>30){ - /*For these iterations, we just update the low bits, as the high bits - can't possibly be affected. - OC_ATANH_LOG2 has also converged (it actually did so one iteration - earlier, but that's no reason for an extra special case).*/ - for(;;i++){ - mask=-(z<0); - wlo+=(w>>i)+mask^mask; - z-=OC_ATANH_LOG2[31]+mask^mask; - /*Repeat iteration 40.*/ - if(i>=39)break; - z<<=1; - } - for(;i<61;i++){ - mask=-(z<0); - wlo+=(w>>i)+mask^mask; - z=z-(OC_ATANH_LOG2[31]+mask^mask)<<1; - } - } - w=(w<<1)+wlo; - } - else w=(ogg_int64_t)1<<62; - if(ipart<62)w=(w>>61-ipart)+1>>1; - return w; -} - -/*Computes the binary logarithm of _w, returned in Q57 format.*/ -ogg_int64_t oc_blog64(ogg_int64_t _w){ - ogg_int64_t z; - int ipart; - if(_w<=0)return -1; - ipart=OC_ILOGNZ_64(_w)-1; - if(ipart>61)_w>>=ipart-61; - else _w<<=61-ipart; - z=0; - if(_w&_w-1){ - ogg_int64_t x; - ogg_int64_t y; - ogg_int64_t u; - ogg_int64_t mask; - int i; - /*C doesn't give us 64x64->128 muls, so we use CORDIC. - This is not particularly fast, but it's not being used in time-critical - code; it is very accurate.*/ - /*z is the fractional part of the log in Q61 format.*/ - /*x and y are the cosh() and sinh(), respectively, in Q61 format. - We are computing z=2*atanh(y/x)=2*atanh((_w-1)/(_w+1)).*/ - x=_w+((ogg_int64_t)1<<61); - y=_w-((ogg_int64_t)1<<61); - for(i=0;i<4;i++){ - mask=-(y<0); - z+=(OC_ATANH_LOG2[i]>>i)+mask^mask; - u=x>>i+1; - x-=(y>>i+1)+mask^mask; - y-=u+mask^mask; - } - /*Repeat iteration 4.*/ - for(i--;i<13;i++){ - mask=-(y<0); - z+=(OC_ATANH_LOG2[i]>>i)+mask^mask; - u=x>>i+1; - x-=(y>>i+1)+mask^mask; - y-=u+mask^mask; - } - /*Repeat iteration 13.*/ - for(i--;i<32;i++){ - mask=-(y<0); - z+=(OC_ATANH_LOG2[i]>>i)+mask^mask; - u=x>>i+1; - x-=(y>>i+1)+mask^mask; - y-=u+mask^mask; - } - /*OC_ATANH_LOG2 has converged.*/ - for(;i<40;i++){ - mask=-(y<0); - z+=(OC_ATANH_LOG2[31]>>i)+mask^mask; - u=x>>i+1; - x-=(y>>i+1)+mask^mask; - y-=u+mask^mask; - } - /*Repeat iteration 40.*/ - for(i--;i<62;i++){ - mask=-(y<0); - z+=(OC_ATANH_LOG2[31]>>i)+mask^mask; - u=x>>i+1; - x-=(y>>i+1)+mask^mask; - y-=u+mask^mask; - } - z=z+8>>4; - } - return OC_Q57(ipart)+z; -} diff --git a/Libraries/libtheora-1.1.1/lib/mathops.h b/Libraries/libtheora-1.1.1/lib/mathops.h deleted file mode 100644 index efbc5377..00000000 --- a/Libraries/libtheora-1.1.1/lib/mathops.h +++ /dev/null @@ -1,141 +0,0 @@ -#if !defined(_mathops_H) -# define _mathops_H (1) -# include - -# ifdef __GNUC_PREREQ -# if __GNUC_PREREQ(3,4) -# include -/*Note the casts to (int) below: this prevents OC_CLZ{32|64}_OFFS from - "upgrading" the type of an entire expression to an (unsigned) size_t.*/ -# if INT_MAX>=2147483647 -# define OC_CLZ32_OFFS ((int)sizeof(unsigned)*CHAR_BIT) -# define OC_CLZ32(_x) (__builtin_clz(_x)) -# elif LONG_MAX>=2147483647L -# define OC_CLZ32_OFFS ((int)sizeof(unsigned long)*CHAR_BIT) -# define OC_CLZ32(_x) (__builtin_clzl(_x)) -# endif -# if INT_MAX>=9223372036854775807LL -# define OC_CLZ64_OFFS ((int)sizeof(unsigned)*CHAR_BIT) -# define OC_CLZ64(_x) (__builtin_clz(_x)) -# elif LONG_MAX>=9223372036854775807LL -# define OC_CLZ64_OFFS ((int)sizeof(unsigned long)*CHAR_BIT) -# define OC_CLZ64(_x) (__builtin_clzl(_x)) -# elif LLONG_MAX>=9223372036854775807LL|| \ - __LONG_LONG_MAX__>=9223372036854775807LL -# define OC_CLZ64_OFFS ((int)sizeof(unsigned long long)*CHAR_BIT) -# define OC_CLZ64(_x) (__builtin_clzll(_x)) -# endif -# endif -# endif - - - -/** - * oc_ilog32 - Integer binary logarithm of a 32-bit value. - * @_v: A 32-bit value. - * Returns floor(log2(_v))+1, or 0 if _v==0. - * This is the number of bits that would be required to represent _v in two's - * complement notation with all of the leading zeros stripped. - * The OC_ILOG_32() or OC_ILOGNZ_32() macros may be able to use a builtin - * function instead, which should be faster. - */ -int oc_ilog32(ogg_uint32_t _v); -/** - * oc_ilog64 - Integer binary logarithm of a 64-bit value. - * @_v: A 64-bit value. - * Returns floor(log2(_v))+1, or 0 if _v==0. - * This is the number of bits that would be required to represent _v in two's - * complement notation with all of the leading zeros stripped. - * The OC_ILOG_64() or OC_ILOGNZ_64() macros may be able to use a builtin - * function instead, which should be faster. - */ -int oc_ilog64(ogg_int64_t _v); - - -# if defined(OC_CLZ32) -/** - * OC_ILOGNZ_32 - Integer binary logarithm of a non-zero 32-bit value. - * @_v: A non-zero 32-bit value. - * Returns floor(log2(_v))+1. - * This is the number of bits that would be required to represent _v in two's - * complement notation with all of the leading zeros stripped. - * If _v is zero, the return value is undefined; use OC_ILOG_32() instead. - */ -# define OC_ILOGNZ_32(_v) (OC_CLZ32_OFFS-OC_CLZ32(_v)) -/** - * OC_ILOG_32 - Integer binary logarithm of a 32-bit value. - * @_v: A 32-bit value. - * Returns floor(log2(_v))+1, or 0 if _v==0. - * This is the number of bits that would be required to represent _v in two's - * complement notation with all of the leading zeros stripped. - */ -# define OC_ILOG_32(_v) (OC_ILOGNZ_32(_v)&-!!(_v)) -# else -# define OC_ILOGNZ_32(_v) (oc_ilog32(_v)) -# define OC_ILOG_32(_v) (oc_ilog32(_v)) -# endif - -# if defined(CLZ64) -/** - * OC_ILOGNZ_64 - Integer binary logarithm of a non-zero 64-bit value. - * @_v: A non-zero 64-bit value. - * Returns floor(log2(_v))+1. - * This is the number of bits that would be required to represent _v in two's - * complement notation with all of the leading zeros stripped. - * If _v is zero, the return value is undefined; use OC_ILOG_64() instead. - */ -# define OC_ILOGNZ_64(_v) (CLZ64_OFFS-CLZ64(_v)) -/** - * OC_ILOG_64 - Integer binary logarithm of a 64-bit value. - * @_v: A 64-bit value. - * Returns floor(log2(_v))+1, or 0 if _v==0. - * This is the number of bits that would be required to represent _v in two's - * complement notation with all of the leading zeros stripped. - */ -# define OC_ILOG_64(_v) (OC_ILOGNZ_64(_v)&-!!(_v)) -# else -# define OC_ILOGNZ_64(_v) (oc_ilog64(_v)) -# define OC_ILOG_64(_v) (oc_ilog64(_v)) -# endif - -# define OC_STATIC_ILOG0(_v) (!!(_v)) -# define OC_STATIC_ILOG1(_v) (((_v)&0x2)?2:OC_STATIC_ILOG0(_v)) -# define OC_STATIC_ILOG2(_v) \ - (((_v)&0xC)?2+OC_STATIC_ILOG1((_v)>>2):OC_STATIC_ILOG1(_v)) -# define OC_STATIC_ILOG3(_v) \ - (((_v)&0xF0)?4+OC_STATIC_ILOG2((_v)>>4):OC_STATIC_ILOG2(_v)) -# define OC_STATIC_ILOG4(_v) \ - (((_v)&0xFF00)?8+OC_STATIC_ILOG3((_v)>>8):OC_STATIC_ILOG3(_v)) -# define OC_STATIC_ILOG5(_v) \ - (((_v)&0xFFFF0000)?16+OC_STATIC_ILOG4((_v)>>16):OC_STATIC_ILOG4(_v)) -# define OC_STATIC_ILOG6(_v) \ - (((_v)&0xFFFFFFFF00000000ULL)?32+OC_STATIC_ILOG5((_v)>>32):OC_STATIC_ILOG5(_v)) -/** - * OC_STATIC_ILOG_32 - The integer logarithm of an (unsigned, 32-bit) constant. - * @_v: A non-negative 32-bit constant. - * Returns floor(log2(_v))+1, or 0 if _v==0. - * This is the number of bits that would be required to represent _v in two's - * complement notation with all of the leading zeros stripped. - * This macro is suitable for evaluation at compile time, but it should not be - * used on values that can change at runtime, as it operates via exhaustive - * search. - */ -# define OC_STATIC_ILOG_32(_v) (OC_STATIC_ILOG5((ogg_uint32_t)(_v))) -/** - * OC_STATIC_ILOG_64 - The integer logarithm of an (unsigned, 64-bit) constant. - * @_v: A non-negative 64-bit constant. - * Returns floor(log2(_v))+1, or 0 if _v==0. - * This is the number of bits that would be required to represent _v in two's - * complement notation with all of the leading zeros stripped. - * This macro is suitable for evaluation at compile time, but it should not be - * used on values that can change at runtime, as it operates via exhaustive - * search. - */ -# define OC_STATIC_ILOG_64(_v) (OC_STATIC_ILOG6((ogg_int64_t)(_v))) - -#define OC_Q57(_v) ((ogg_int64_t)(_v)<<57) - -ogg_int64_t oc_bexp64(ogg_int64_t _z); -ogg_int64_t oc_blog64(ogg_int64_t _w); - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/mcenc.c b/Libraries/libtheora-1.1.1/lib/mcenc.c deleted file mode 100644 index 797e81f4..00000000 --- a/Libraries/libtheora-1.1.1/lib/mcenc.c +++ /dev/null @@ -1,767 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id$ - - ********************************************************************/ -#include -#include -#include -#include "encint.h" - - - -typedef struct oc_mcenc_ctx oc_mcenc_ctx; - - - -/*Temporary state used for motion estimation.*/ -struct oc_mcenc_ctx{ - /*The candidate motion vectors.*/ - int candidates[13][2]; - /*The start of the Set B candidates.*/ - int setb0; - /*The total number of candidates.*/ - int ncandidates; -}; - - - -/*The maximum Y plane SAD value for accepting the median predictor.*/ -#define OC_YSAD_THRESH1 (256) -/*The amount to right shift the minimum error by when inflating it for - computing the second maximum Y plane SAD threshold.*/ -#define OC_YSAD_THRESH2_SCALE_BITS (4) -/*The amount to add to the second maximum Y plane threshold when inflating - it.*/ -#define OC_YSAD_THRESH2_OFFSET (64) - -/*The vector offsets in the X direction for each search site in the square - pattern.*/ -static const int OC_SQUARE_DX[9]={-1,0,1,-1,0,1,-1,0,1}; -/*The vector offsets in the Y direction for each search site in the square - pattern.*/ -static const int OC_SQUARE_DY[9]={-1,-1,-1,0,0,0,1,1,1}; -/*The number of sites to search for each boundary condition in the square - pattern. - Bit flags for the boundary conditions are as follows: - 1: -16==dx - 2: dx==15(.5) - 4: -16==dy - 8: dy==15(.5)*/ -static const int OC_SQUARE_NSITES[11]={8,5,5,0,5,3,3,0,5,3,3}; -/*The list of sites to search for each boundary condition in the square - pattern.*/ -static const int OC_SQUARE_SITES[11][8]={ - /* -15.5mb_info; - /*Skip a position to store the median predictor in.*/ - ncandidates=1; - if(embs[_mbi].ncneighbors>0){ - /*Fill in the first part of set A: the vectors from adjacent blocks.*/ - for(i=0;icandidates[ncandidates][0]=embs[nmbi].analysis_mv[0][_frame][0]; - _mcenc->candidates[ncandidates][1]=embs[nmbi].analysis_mv[0][_frame][1]; - ncandidates++; - } - } - /*Add a few additional vectors to set A: the vectors used in the previous - frames and the (0,0) vector.*/ - _mcenc->candidates[ncandidates][0]=OC_CLAMPI(-31,_accum[0],31); - _mcenc->candidates[ncandidates][1]=OC_CLAMPI(-31,_accum[1],31); - ncandidates++; - _mcenc->candidates[ncandidates][0]=OC_CLAMPI(-31, - embs[_mbi].analysis_mv[1][_frame][0]+_accum[0],31); - _mcenc->candidates[ncandidates][1]=OC_CLAMPI(-31, - embs[_mbi].analysis_mv[1][_frame][1]+_accum[1],31); - ncandidates++; - _mcenc->candidates[ncandidates][0]=0; - _mcenc->candidates[ncandidates][1]=0; - ncandidates++; - /*Use the first three vectors of set A to find our best predictor: their - median.*/ - memcpy(a,_mcenc->candidates+1,sizeof(a)); - OC_SORT2I(a[0][0],a[1][0]); - OC_SORT2I(a[0][1],a[1][1]); - OC_SORT2I(a[1][0],a[2][0]); - OC_SORT2I(a[1][1],a[2][1]); - OC_SORT2I(a[0][0],a[1][0]); - OC_SORT2I(a[0][1],a[1][1]); - _mcenc->candidates[0][0]=a[1][0]; - _mcenc->candidates[0][1]=a[1][1]; - /*Fill in set B: accelerated predictors for this and adjacent macro blocks.*/ - _mcenc->setb0=ncandidates; - /*The first time through the loop use the current macro block.*/ - nmbi=_mbi; - for(i=0;;i++){ - _mcenc->candidates[ncandidates][0]=OC_CLAMPI(-31, - 2*embs[_mbi].analysis_mv[1][_frame][0] - -embs[_mbi].analysis_mv[2][_frame][0]+_accum[0],31); - _mcenc->candidates[ncandidates][1]=OC_CLAMPI(-31, - 2*embs[_mbi].analysis_mv[1][_frame][1] - -embs[_mbi].analysis_mv[2][_frame][1]+_accum[1],31); - ncandidates++; - if(i>=embs[_mbi].npneighbors)break; - nmbi=embs[_mbi].pneighbors[i]; - } - /*Truncate to full-pel positions.*/ - for(i=0;icandidates[i][0]=OC_DIV2(_mcenc->candidates[i][0]); - _mcenc->candidates[i][1]=OC_DIV2(_mcenc->candidates[i][1]); - } - _mcenc->ncandidates=ncandidates; -} - -#if 0 -static unsigned oc_sad16_halfpel(const oc_enc_ctx *_enc, - const ptrdiff_t *_frag_buf_offs,const ptrdiff_t _fragis[4], - int _mvoffset0,int _mvoffset1,const unsigned char *_src, - const unsigned char *_ref,int _ystride,unsigned _best_err){ - unsigned err; - int bi; - err=0; - for(bi=0;bi<4;bi++){ - ptrdiff_t frag_offs; - frag_offs=_frag_buf_offs[_fragis[bi]]; - err+=oc_enc_frag_sad2_thresh(_enc,_src+frag_offs,_ref+frag_offs+_mvoffset0, - _ref+frag_offs+_mvoffset1,_ystride,_best_err-err); - } - return err; -} -#endif - -static unsigned oc_satd16_halfpel(const oc_enc_ctx *_enc, - const ptrdiff_t *_frag_buf_offs,const ptrdiff_t _fragis[4], - int _mvoffset0,int _mvoffset1,const unsigned char *_src, - const unsigned char *_ref,int _ystride,unsigned _best_err){ - unsigned err; - int bi; - err=0; - for(bi=0;bi<4;bi++){ - ptrdiff_t frag_offs; - frag_offs=_frag_buf_offs[_fragis[bi]]; - err+=oc_enc_frag_satd2_thresh(_enc,_src+frag_offs,_ref+frag_offs+_mvoffset0, - _ref+frag_offs+_mvoffset1,_ystride,_best_err-err); - } - return err; -} - -static unsigned oc_mcenc_ysad_check_mbcandidate_fullpel(const oc_enc_ctx *_enc, - const ptrdiff_t *_frag_buf_offs,const ptrdiff_t _fragis[4],int _dx,int _dy, - const unsigned char *_src,const unsigned char *_ref,int _ystride, - unsigned _block_err[4]){ - unsigned err; - int mvoffset; - int bi; - mvoffset=_dx+_dy*_ystride; - err=0; - for(bi=0;bi<4;bi++){ - ptrdiff_t frag_offs; - unsigned block_err; - frag_offs=_frag_buf_offs[_fragis[bi]]; - block_err=oc_enc_frag_sad(_enc, - _src+frag_offs,_ref+frag_offs+mvoffset,_ystride); - _block_err[bi]=block_err; - err+=block_err; - } - return err; -} - -static int oc_mcenc_ysatd_check_mbcandidate_fullpel(const oc_enc_ctx *_enc, - const ptrdiff_t *_frag_buf_offs,const ptrdiff_t _fragis[4],int _dx,int _dy, - const unsigned char *_src,const unsigned char *_ref,int _ystride){ - int mvoffset; - int err; - int bi; - mvoffset=_dx+_dy*_ystride; - err=0; - for(bi=0;bi<4;bi++){ - ptrdiff_t frag_offs; - frag_offs=_frag_buf_offs[_fragis[bi]]; - err+=oc_enc_frag_satd_thresh(_enc, - _src+frag_offs,_ref+frag_offs+mvoffset,_ystride,UINT_MAX); - } - return err; -} - -static unsigned oc_mcenc_ysatd_check_bcandidate_fullpel(const oc_enc_ctx *_enc, - ptrdiff_t _frag_offs,int _dx,int _dy, - const unsigned char *_src,const unsigned char *_ref,int _ystride){ - return oc_enc_frag_satd_thresh(_enc, - _src+_frag_offs,_ref+_frag_offs+_dx+_dy*_ystride,_ystride,UINT_MAX); -} - -/*Perform a motion vector search for this macro block against a single - reference frame. - As a bonus, individual block motion vectors are computed as well, as much of - the work can be shared. - The actual motion vector is stored in the appropriate place in the - oc_mb_enc_info structure. - _mcenc: The motion compensation context. - _accum: Drop frame/golden MV accumulators. - _mbi: The macro block index. - _frame: The frame to search, either OC_FRAME_PREV or OC_FRAME_GOLD.*/ -void oc_mcenc_search_frame(oc_enc_ctx *_enc,int _accum[2],int _mbi,int _frame){ - /*Note: Traditionally this search is done using a rate-distortion objective - function of the form D+lambda*R. - However, xiphmont tested this and found it produced a small degredation, - while requiring extra computation. - This is most likely due to Theora's peculiar MV encoding scheme: MVs are - not coded relative to a predictor, and the only truly cheap way to use a - MV is in the LAST or LAST2 MB modes, which are not being considered here. - Therefore if we use the MV found here, it's only because both LAST and - LAST2 performed poorly, and therefore the MB is not likely to be uniform - or suffer from the aperture problem. - Furthermore we would like to re-use the MV found here for as many MBs as - possible, so picking a slightly sub-optimal vector to save a bit or two - may cause increased degredation in many blocks to come. - We could artificially reduce lambda to compensate, but it's faster to just - disable it entirely, and use D (the distortion) as the sole criterion.*/ - oc_mcenc_ctx mcenc; - const ptrdiff_t *frag_buf_offs; - const ptrdiff_t *fragis; - const unsigned char *src; - const unsigned char *ref; - int ystride; - oc_mb_enc_info *embs; - ogg_int32_t hit_cache[31]; - ogg_int32_t hitbit; - unsigned best_block_err[4]; - unsigned block_err[4]; - unsigned best_err; - int best_vec[2]; - int best_block_vec[4][2]; - int candx; - int candy; - int bi; - embs=_enc->mb_info; - /*Find some candidate motion vectors.*/ - oc_mcenc_find_candidates(_enc,&mcenc,_accum,_mbi,_frame); - /*Clear the cache of locations we've examined.*/ - memset(hit_cache,0,sizeof(hit_cache)); - /*Start with the median predictor.*/ - candx=mcenc.candidates[0][0]; - candy=mcenc.candidates[0][1]; - hit_cache[candy+15]|=(ogg_int32_t)1<state.frag_buf_offs; - fragis=_enc->state.mb_maps[_mbi][0]; - src=_enc->state.ref_frame_data[OC_FRAME_IO]; - ref=_enc->state.ref_frame_data[_enc->state.ref_frame_idx[_frame]]; - ystride=_enc->state.ref_ystride[0]; - /*TODO: customize error function for speed/(quality+size) tradeoff.*/ - best_err=oc_mcenc_ysad_check_mbcandidate_fullpel(_enc, - frag_buf_offs,fragis,candx,candy,src,ref,ystride,block_err); - best_vec[0]=candx; - best_vec[1]=candy; - if(_frame==OC_FRAME_PREV){ - for(bi=0;bi<4;bi++){ - best_block_err[bi]=block_err[bi]; - best_block_vec[bi][0]=candx; - best_block_vec[bi][1]=candy; - } - } - /*If this predictor fails, move on to set A.*/ - if(best_err>OC_YSAD_THRESH1){ - unsigned err; - unsigned t2; - int ncs; - int ci; - /*Compute the early termination threshold for set A.*/ - t2=embs[_mbi].error[_frame]; - ncs=OC_MINI(3,embs[_mbi].ncneighbors); - for(ci=0;ci>OC_YSAD_THRESH2_SCALE_BITS)+OC_YSAD_THRESH2_OFFSET; - /*Examine the candidates in set A.*/ - for(ci=1;cit2){ - /*Examine the candidates in set B.*/ - for(;cit2){ - int best_site; - int nsites; - int sitei; - int site; - int b; - /*Square pattern search.*/ - for(;;){ - best_site=4; - /*Compose the bit flags for boundary conditions.*/ - b=OC_DIV16(-best_vec[0]+1)|OC_DIV16(best_vec[0]+1)<<1| - OC_DIV16(-best_vec[1]+1)<<2|OC_DIV16(best_vec[1]+1)<<3; - nsites=OC_SQUARE_NSITES[b]; - for(sitei=0;sitei>=2; - for(bi=0;bi<4;bi++){ - if(best_block_err[bi]>t2){ - /*Square pattern search. - We do this in a slightly interesting manner. - We continue to check the SAD of all four blocks in the - macro block. - This gives us two things: - 1) We can continue to use the hit_cache to avoid duplicate - checks. - Otherwise we could continue to read it, but not write to it - without saving and restoring it for each block. - Note that we could still eliminate a large number of - duplicate checks by taking into account the site we came - from when choosing the site list. - We can still do that to avoid extra hit_cache queries, and - it might even be a speed win. - 2) It gives us a slightly better chance of escaping local - minima. - We would not be here if we weren't doing a fairly bad job - in finding a good vector, and checking these vectors can - save us from 100 to several thousand points off our SAD 1 - in 15 times. - TODO: Is this a good idea? - Who knows. - It needs more testing.*/ - for(;;){ - int bestx; - int besty; - int bj; - bestx=best_block_vec[bi][0]; - besty=best_block_vec[bi][1]; - /*Compose the bit flags for boundary conditions.*/ - b=OC_DIV16(-bestx+1)|OC_DIV16(bestx+1)<<1| - OC_DIV16(-besty+1)<<2|OC_DIV16(besty+1)<<3; - nsites=OC_SQUARE_NSITES[b]; - for(sitei=0;siteimb_info[_mbi].analysis_mv; - if(_enc->prevframe_dropped){ - accum_p[0]=mvs[0][OC_FRAME_PREV][0]; - accum_p[1]=mvs[0][OC_FRAME_PREV][1]; - } - else accum_p[1]=accum_p[0]=0; - accum_g[0]=mvs[2][OC_FRAME_GOLD][0]; - accum_g[1]=mvs[2][OC_FRAME_GOLD][1]; - mvs[0][OC_FRAME_PREV][0]-=mvs[2][OC_FRAME_PREV][0]; - mvs[0][OC_FRAME_PREV][1]-=mvs[2][OC_FRAME_PREV][1]; - /*Move the motion vector predictors back a frame.*/ - memmove(mvs+1,mvs,2*sizeof(*mvs)); - /*Search the last frame.*/ - oc_mcenc_search_frame(_enc,accum_p,_mbi,OC_FRAME_PREV); - mvs[2][OC_FRAME_PREV][0]=accum_p[0]; - mvs[2][OC_FRAME_PREV][1]=accum_p[1]; - /*GOLDEN MVs are different from PREV MVs in that they're each absolute - offsets from some frame in the past rather than relative offsets from the - frame before. - For predictor calculation to make sense, we need them to be in the same - form as PREV MVs.*/ - mvs[1][OC_FRAME_GOLD][0]-=mvs[2][OC_FRAME_GOLD][0]; - mvs[1][OC_FRAME_GOLD][1]-=mvs[2][OC_FRAME_GOLD][1]; - mvs[2][OC_FRAME_GOLD][0]-=accum_g[0]; - mvs[2][OC_FRAME_GOLD][1]-=accum_g[1]; - /*Search the golden frame.*/ - oc_mcenc_search_frame(_enc,accum_g,_mbi,OC_FRAME_GOLD); - /*Put GOLDEN MVs back into absolute offset form. - The newest MV is already an absolute offset.*/ - mvs[2][OC_FRAME_GOLD][0]+=accum_g[0]; - mvs[2][OC_FRAME_GOLD][1]+=accum_g[1]; - mvs[1][OC_FRAME_GOLD][0]+=mvs[2][OC_FRAME_GOLD][0]; - mvs[1][OC_FRAME_GOLD][1]+=mvs[2][OC_FRAME_GOLD][1]; -} - -#if 0 -static int oc_mcenc_ysad_halfpel_mbrefine(const oc_enc_ctx *_enc,int _mbi, - int _vec[2],int _best_err,int _frame){ - const unsigned char *src; - const unsigned char *ref; - const ptrdiff_t *frag_buf_offs; - const ptrdiff_t *fragis; - int offset_y[9]; - int ystride; - int mvoffset_base; - int best_site; - int sitei; - int err; - src=_enc->state.ref_frame_data[OC_FRAME_IO]; - ref=_enc->state.ref_frame_data[_enc->state.ref_frame_idx[_framei]]; - frag_buf_offs=_enc->state.frag_buf_offs; - fragis=_enc->state.mb_maps[_mbi][0]; - ystride=_enc->state.ref_ystride[0]; - mvoffset_base=_vec[0]+_vec[1]*ystride; - offset_y[0]=offset_y[1]=offset_y[2]=-ystride; - offset_y[3]=offset_y[5]=0; - offset_y[6]=offset_y[7]=offset_y[8]=ystride; - best_site=4; - for(sitei=0;sitei<8;sitei++){ - int site; - int xmask; - int ymask; - int dx; - int dy; - int mvoffset0; - int mvoffset1; - site=OC_SQUARE_SITES[0][sitei]; - dx=OC_SQUARE_DX[site]; - dy=OC_SQUARE_DY[site]; - /*The following code SHOULD be equivalent to - oc_state_get_mv_offsets(&_mcenc->enc.state,&mvoffset0,&mvoffset1, - (_vec[0]<<1)+dx,(_vec[1]<<1)+dy,ref_ystride,0); - However, it should also be much faster, as it involves no multiplies and - doesn't have to handle chroma vectors.*/ - xmask=OC_SIGNMASK(((_vec[0]<<1)+dx)^dx); - ymask=OC_SIGNMASK(((_vec[1]<<1)+dy)^dy); - mvoffset0=mvoffset_base+(dx&xmask)+(offset_y[site]&ymask); - mvoffset1=mvoffset_base+(dx&~xmask)+(offset_y[site]&~ymask); - err=oc_sad16_halfpel(_enc,frag_buf_offs,fragis, - mvoffset0,mvoffset1,src,ref,ystride,_best_err); - if(err<_best_err){ - _best_err=err; - best_site=site; - } - } - _vec[0]=(_vec[0]<<1)+OC_SQUARE_DX[best_site]; - _vec[1]=(_vec[1]<<1)+OC_SQUARE_DY[best_site]; - return _best_err; -} -#endif - -static unsigned oc_mcenc_ysatd_halfpel_mbrefine(const oc_enc_ctx *_enc, - int _mbi,int _vec[2],unsigned _best_err,int _frame){ - const unsigned char *src; - const unsigned char *ref; - const ptrdiff_t *frag_buf_offs; - const ptrdiff_t *fragis; - int offset_y[9]; - int ystride; - int mvoffset_base; - int best_site; - int sitei; - int err; - src=_enc->state.ref_frame_data[OC_FRAME_IO]; - ref=_enc->state.ref_frame_data[_enc->state.ref_frame_idx[_frame]]; - frag_buf_offs=_enc->state.frag_buf_offs; - fragis=_enc->state.mb_maps[_mbi][0]; - ystride=_enc->state.ref_ystride[0]; - mvoffset_base=_vec[0]+_vec[1]*ystride; - offset_y[0]=offset_y[1]=offset_y[2]=-ystride; - offset_y[3]=offset_y[5]=0; - offset_y[6]=offset_y[7]=offset_y[8]=ystride; - best_site=4; - for(sitei=0;sitei<8;sitei++){ - int site; - int xmask; - int ymask; - int dx; - int dy; - int mvoffset0; - int mvoffset1; - site=OC_SQUARE_SITES[0][sitei]; - dx=OC_SQUARE_DX[site]; - dy=OC_SQUARE_DY[site]; - /*The following code SHOULD be equivalent to - oc_state_get_mv_offsets(&_mcenc->enc.state,&mvoffset0,&mvoffset1, - (_vec[0]<<1)+dx,(_vec[1]<<1)+dy,ref_ystride,0); - However, it should also be much faster, as it involves no multiplies and - doesn't have to handle chroma vectors.*/ - xmask=OC_SIGNMASK(((_vec[0]<<1)+dx)^dx); - ymask=OC_SIGNMASK(((_vec[1]<<1)+dy)^dy); - mvoffset0=mvoffset_base+(dx&xmask)+(offset_y[site]&ymask); - mvoffset1=mvoffset_base+(dx&~xmask)+(offset_y[site]&~ymask); - err=oc_satd16_halfpel(_enc,frag_buf_offs,fragis, - mvoffset0,mvoffset1,src,ref,ystride,_best_err); - if(err<_best_err){ - _best_err=err; - best_site=site; - } - } - _vec[0]=(_vec[0]<<1)+OC_SQUARE_DX[best_site]; - _vec[1]=(_vec[1]<<1)+OC_SQUARE_DY[best_site]; - return _best_err; -} - -void oc_mcenc_refine1mv(oc_enc_ctx *_enc,int _mbi,int _frame){ - oc_mb_enc_info *embs; - int vec[2]; - embs=_enc->mb_info; - vec[0]=OC_DIV2(embs[_mbi].analysis_mv[0][_frame][0]); - vec[1]=OC_DIV2(embs[_mbi].analysis_mv[0][_frame][1]); - embs[_mbi].satd[_frame]=oc_mcenc_ysatd_halfpel_mbrefine(_enc, - _mbi,vec,embs[_mbi].satd[_frame],_frame); - embs[_mbi].analysis_mv[0][_frame][0]=(signed char)vec[0]; - embs[_mbi].analysis_mv[0][_frame][1]=(signed char)vec[1]; -} - -#if 0 -static int oc_mcenc_ysad_halfpel_brefine(const oc_enc_ctx *_enc, - int _vec[2],const unsigned char *_src,const unsigned char *_ref,int _ystride, - int _offset_y[9],unsigned _best_err){ - int mvoffset_base; - int best_site; - int sitei; - mvoffset_base=_vec[0]+_vec[1]*_ystride; - best_site=4; - for(sitei=0;sitei<8;sitei++){ - unsigned err; - int site; - int xmask; - int ymask; - int dx; - int dy; - int mvoffset0; - int mvoffset1; - site=OC_SQUARE_SITES[0][sitei]; - dx=OC_SQUARE_DX[site]; - dy=OC_SQUARE_DY[site]; - /*The following code SHOULD be equivalent to - oc_state_get_mv_offsets(&_mcenc->enc.state,&mvoffset0,&mvoffset1, - (_vec[0]<<1)+dx,(_vec[1]<<1)+dy,ref_ystride,0); - However, it should also be much faster, as it involves no multiplies and - doesn't have to handle chroma vectors.*/ - xmask=OC_SIGNMASK(((_vec[0]<<1)+dx)^dx); - ymask=OC_SIGNMASK(((_vec[1]<<1)+dy)^dy); - mvoffset0=mvoffset_base+(dx&xmask)+(_offset_y[site]&ymask); - mvoffset1=mvoffset_base+(dx&~xmask)+(_offset_y[site]&~ymask); - err=oc_enc_frag_sad2_thresh(_enc,_src, - _ref+mvoffset0,_ref+mvoffset1,ystride,_best_err); - if(err<_best_err){ - _best_err=err; - best_site=site; - } - } - _vec[0]=(_vec[0]<<1)+OC_SQUARE_DX[best_site]; - _vec[1]=(_vec[1]<<1)+OC_SQUARE_DY[best_site]; - return _best_err; -} -#endif - -static unsigned oc_mcenc_ysatd_halfpel_brefine(const oc_enc_ctx *_enc, - int _vec[2],const unsigned char *_src,const unsigned char *_ref,int _ystride, - int _offset_y[9],unsigned _best_err){ - int mvoffset_base; - int best_site; - int sitei; - mvoffset_base=_vec[0]+_vec[1]*_ystride; - best_site=4; - for(sitei=0;sitei<8;sitei++){ - unsigned err; - int site; - int xmask; - int ymask; - int dx; - int dy; - int mvoffset0; - int mvoffset1; - site=OC_SQUARE_SITES[0][sitei]; - dx=OC_SQUARE_DX[site]; - dy=OC_SQUARE_DY[site]; - /*The following code SHOULD be equivalent to - oc_state_get_mv_offsets(&_enc->state,&mvoffsets,0, - (_vec[0]<<1)+dx,(_vec[1]<<1)+dy); - However, it should also be much faster, as it involves no multiplies and - doesn't have to handle chroma vectors.*/ - xmask=OC_SIGNMASK(((_vec[0]<<1)+dx)^dx); - ymask=OC_SIGNMASK(((_vec[1]<<1)+dy)^dy); - mvoffset0=mvoffset_base+(dx&xmask)+(_offset_y[site]&ymask); - mvoffset1=mvoffset_base+(dx&~xmask)+(_offset_y[site]&~ymask); - err=oc_enc_frag_satd2_thresh(_enc,_src, - _ref+mvoffset0,_ref+mvoffset1,_ystride,_best_err); - if(err<_best_err){ - _best_err=err; - best_site=site; - } - } - _vec[0]=(_vec[0]<<1)+OC_SQUARE_DX[best_site]; - _vec[1]=(_vec[1]<<1)+OC_SQUARE_DY[best_site]; - return _best_err; -} - -void oc_mcenc_refine4mv(oc_enc_ctx *_enc,int _mbi){ - oc_mb_enc_info *embs; - const ptrdiff_t *frag_buf_offs; - const ptrdiff_t *fragis; - const unsigned char *src; - const unsigned char *ref; - int offset_y[9]; - int ystride; - int bi; - ystride=_enc->state.ref_ystride[0]; - frag_buf_offs=_enc->state.frag_buf_offs; - fragis=_enc->state.mb_maps[_mbi][0]; - src=_enc->state.ref_frame_data[OC_FRAME_IO]; - ref=_enc->state.ref_frame_data[_enc->state.ref_frame_idx[OC_FRAME_PREV]]; - offset_y[0]=offset_y[1]=offset_y[2]=-ystride; - offset_y[3]=offset_y[5]=0; - offset_y[6]=offset_y[7]=offset_y[8]=ystride; - embs=_enc->mb_info; - for(bi=0;bi<4;bi++){ - ptrdiff_t frag_offs; - int vec[2]; - frag_offs=frag_buf_offs[fragis[bi]]; - vec[0]=OC_DIV2(embs[_mbi].block_mv[bi][0]); - vec[1]=OC_DIV2(embs[_mbi].block_mv[bi][1]); - embs[_mbi].block_satd[bi]=oc_mcenc_ysatd_halfpel_brefine(_enc,vec, - src+frag_offs,ref+frag_offs,ystride,offset_y,embs[_mbi].block_satd[bi]); - embs[_mbi].ref_mv[bi][0]=(signed char)vec[0]; - embs[_mbi].ref_mv[bi][1]=(signed char)vec[1]; - } -} diff --git a/Libraries/libtheora-1.1.1/lib/modedec.h b/Libraries/libtheora-1.1.1/lib/modedec.h deleted file mode 100644 index ea12c64a..00000000 --- a/Libraries/libtheora-1.1.1/lib/modedec.h +++ /dev/null @@ -1,4027 +0,0 @@ -/*File generated by libtheora with OC_COLLECT_METRICS defined at compile time.*/ -#if !defined(_modedec_H) -# define _modedec_H (1) - - - -# if defined(OC_COLLECT_METRICS) -typedef struct oc_mode_metrics oc_mode_metrics; -# endif -typedef struct oc_mode_rd oc_mode_rd; - - - -/*The number of extra bits of precision at which to store rate metrics.*/ -# define OC_BIT_SCALE (6) -/*The number of extra bits of precision at which to store RMSE metrics. - This must be at least half OC_BIT_SCALE (rounded up).*/ -# define OC_RMSE_SCALE (5) -/*The number of bins to partition statistics into.*/ -# define OC_SAD_BINS (24) -/*The number of bits of precision to drop from SAD scores to assign them to a - bin.*/ -# define OC_SAD_SHIFT (9) - - - -# if defined(OC_COLLECT_METRICS) -struct oc_mode_metrics{ - double fragw; - double satd; - double rate; - double rmse; - double satd2; - double satdrate; - double rate2; - double satdrmse; - double rmse2; -}; - - -int oc_has_mode_metrics; -oc_mode_metrics OC_MODE_METRICS[64][3][2][OC_SAD_BINS]; -# endif - - - -struct oc_mode_rd{ - ogg_int16_t rate; - ogg_int16_t rmse; -}; - - -# if !defined(OC_COLLECT_METRICS) -static const -# endif -oc_mode_rd OC_MODE_RD[64][3][2][OC_SAD_BINS]={ - { - { - /*Y' qi=0 INTRA*/ - { - { 87, -66},{ 132, 1611},{ 197, 3474},{ 285, 5130}, - { 376, 6419},{ 450, 7545},{ 521, 8587},{ 600, 9587}, - { 689,10498},{ 790,11348},{ 899,12158},{ 1030,12855}, - { 1166,13459},{ 1276,14052},{ 1353,14732},{ 1444,15425}, - { 1535,16101},{ 1609,16856},{ 1697,17532},{ 1823,17995}, - { 1962,18426},{ 2085,18919},{ 2201,19503},{ 2304,20307} - }, - /*Y' qi=0 INTER*/ - { - { 32, -105},{ 40, 1268},{ 54, 2919},{ 91, 4559}, - { 118, 6244},{ 132, 7932},{ 142, 9514},{ 149,10989}, - { 155,12375},{ 161,13679},{ 168,14958},{ 176,16215}, - { 187,17431},{ 196,18623},{ 207,19790},{ 218,20941}, - { 230,22083},{ 246,23213},{ 265,24333},{ 292,25439}, - { 328,26512},{ 372,27538},{ 427,28522},{ 494,29479} - } - }, - { - /*Cb qi=0 INTRA*/ - { - { 1, 6},{ 27, 368},{ 52, 738},{ 67, 1171}, - { 80, 1642},{ 99, 2134},{ 110, 2642},{ 112, 3144}, - { 126, 3578},{ 154, 3967},{ 167, 4387},{ 172, 4839}, - { 191, 5278},{ 208, 5666},{ 220, 6036},{ 223, 6398}, - { 227, 6814},{ 253, 7157},{ 284, 7403},{ 292, 7699}, - { 314, 7983},{ 339, 8203},{ 363, 8460},{ 399, 8919} - }, - /*Cb qi=0 INTER*/ - { - { 68, -55},{ 63, 275},{ 58, 602},{ 53, 936}, - { 50, 1290},{ 54, 1691},{ 58, 2116},{ 62, 2553}, - { 67, 2992},{ 72, 3422},{ 78, 3843},{ 84, 4253}, - { 89, 4658},{ 94, 5062},{ 98, 5455},{ 100, 5848}, - { 102, 6231},{ 104, 6604},{ 104, 6982},{ 105, 7359}, - { 105, 7733},{ 104, 8104},{ 105, 8465},{ 111, 8828} - } - }, - { - /*Cr qi=0 INTRA*/ - { - { 1, 8},{ 23, 375},{ 47, 759},{ 63, 1220}, - { 71, 1693},{ 82, 2171},{ 94, 2652},{ 109, 3103}, - { 125, 3567},{ 133, 3995},{ 151, 4375},{ 168, 4819}, - { 174, 5244},{ 190, 5635},{ 215, 6005},{ 242, 6347}, - { 257, 6758},{ 280, 7068},{ 311, 7336},{ 326, 7652}, - { 346, 7968},{ 372, 8213},{ 388, 8515},{ 408, 9060} - }, - /*Cr qi=0 INTER*/ - { - { 69, 0},{ 60, 314},{ 49, 624},{ 45, 943}, - { 45, 1285},{ 49, 1691},{ 55, 2130},{ 62, 2560}, - { 71, 2973},{ 79, 3385},{ 85, 3800},{ 89, 4207}, - { 92, 4620},{ 95, 5037},{ 96, 5436},{ 97, 5839}, - { 98, 6252},{ 99, 6653},{ 99, 7038},{ 103, 7426}, - { 107, 7810},{ 108, 8178},{ 107, 8539},{ 106, 8937} - } - } - }, - { - { - /*Y' qi=1 INTRA*/ - { - { 81, -71},{ 133, 1610},{ 203, 3460},{ 296, 5083}, - { 392, 6342},{ 467, 7454},{ 541, 8486},{ 625, 9466}, - { 716,10352},{ 823,11181},{ 940,11961},{ 1074,12643}, - { 1211,13233},{ 1324,13807},{ 1408,14489},{ 1504,15167}, - { 1598,15824},{ 1679,16544},{ 1788,17161},{ 1928,17579}, - { 2070,17991},{ 2202,18456},{ 2324,19021},{ 2425,19894} - }, - /*Y' qi=1 INTER*/ - { - { 34, 4},{ 40, 1307},{ 55, 2914},{ 93, 4555}, - { 120, 6243},{ 134, 7912},{ 144, 9468},{ 152,10918}, - { 158,12275},{ 164,13569},{ 171,14846},{ 180,16098}, - { 191,17310},{ 204,18484},{ 216,19636},{ 228,20779}, - { 242,21912},{ 261,23036},{ 286,24146},{ 320,25221}, - { 363,26265},{ 418,27261},{ 485,28203},{ 551,29148} - } - }, - { - /*Cb qi=1 INTRA*/ - { - { 1, 6},{ 28, 367},{ 52, 738},{ 68, 1172}, - { 86, 1644},{ 106, 2135},{ 115, 2642},{ 119, 3141}, - { 132, 3569},{ 157, 3951},{ 172, 4366},{ 177, 4819}, - { 194, 5258},{ 211, 5638},{ 224, 6006},{ 233, 6367}, - { 236, 6784},{ 258, 7121},{ 299, 7357},{ 319, 7637}, - { 337, 7921},{ 358, 8141},{ 381, 8367},{ 401, 8768} - }, - /*Cb qi=1 INTER*/ - { - { 95, -31},{ 81, 295},{ 67, 614},{ 53, 953}, - { 48, 1305},{ 51, 1700},{ 56, 2125},{ 61, 2563}, - { 67, 3008},{ 73, 3435},{ 79, 3844},{ 85, 4251}, - { 90, 4663},{ 95, 5073},{ 98, 5458},{ 100, 5844}, - { 101, 6231},{ 102, 6606},{ 102, 6980},{ 103, 7347}, - { 104, 7726},{ 105, 8096},{ 105, 8453},{ 105, 8789} - } - }, - { - /*Cr qi=1 INTRA*/ - { - { 1, 8},{ 25, 375},{ 50, 759},{ 65, 1221}, - { 74, 1695},{ 86, 2172},{ 101, 2651},{ 117, 3101}, - { 129, 3561},{ 135, 3985},{ 153, 4368},{ 171, 4807}, - { 182, 5223},{ 202, 5608},{ 225, 5964},{ 251, 6300}, - { 271, 6697},{ 295, 6978},{ 324, 7235},{ 348, 7558}, - { 367, 7877},{ 394, 8101},{ 413, 8386},{ 409, 8945} - }, - /*Cr qi=1 INTER*/ - { - { 66, 11},{ 59, 323},{ 51, 631},{ 44, 949}, - { 44, 1292},{ 49, 1703},{ 56, 2140},{ 62, 2566}, - { 69, 2991},{ 77, 3397},{ 84, 3799},{ 89, 4211}, - { 93, 4634},{ 94, 5049},{ 95, 5444},{ 96, 5854}, - { 94, 6260},{ 95, 6640},{ 96, 7032},{ 101, 7423}, - { 104, 7790},{ 105, 8158},{ 109, 8527},{ 108, 8872} - } - } - }, - { - { - /*Y' qi=2 INTRA*/ - { - { 87, -72},{ 139, 1607},{ 213, 3426},{ 315, 4992}, - { 416, 6217},{ 495, 7315},{ 574, 8317},{ 666, 9265}, - { 763,10124},{ 875,10906},{ 1001,11654},{ 1147,12305}, - { 1289,12865},{ 1407,13424},{ 1503,14076},{ 1610,14724}, - { 1720,15342},{ 1815,16020},{ 1937,16579},{ 2084,16981}, - { 2236,17371},{ 2385,17779},{ 2536,18250},{ 2689,18931} - }, - /*Y' qi=2 INTER*/ - { - { 30, -2},{ 40, 1308},{ 57, 2921},{ 96, 4567}, - { 122, 6260},{ 136, 7902},{ 148, 9418},{ 156,10826}, - { 162,12157},{ 169,13448},{ 177,14709},{ 188,15938}, - { 200,17133},{ 213,18295},{ 228,19433},{ 245,20564}, - { 264,21685},{ 289,22790},{ 323,23876},{ 368,24916}, - { 427,25906},{ 499,26837},{ 585,27700},{ 680,28514} - } - }, - { - /*Cb qi=2 INTRA*/ - { - { 1, 6},{ 30, 367},{ 58, 738},{ 77, 1172}, - { 93, 1645},{ 111, 2137},{ 123, 2642},{ 126, 3133}, - { 136, 3553},{ 162, 3934},{ 178, 4352},{ 183, 4803}, - { 199, 5231},{ 220, 5596},{ 235, 5957},{ 245, 6314}, - { 256, 6718},{ 286, 7048},{ 320, 7285},{ 336, 7568}, - { 366, 7829},{ 387, 8045},{ 405, 8261},{ 445, 8550} - }, - /*Cb qi=2 INTER*/ - { - { 115, -61},{ 93, 277},{ 71, 609},{ 54, 963}, - { 49, 1329},{ 53, 1715},{ 58, 2138},{ 63, 2583}, - { 69, 3017},{ 75, 3442},{ 81, 3857},{ 88, 4263}, - { 93, 4667},{ 96, 5065},{ 101, 5451},{ 101, 5832}, - { 102, 6213},{ 103, 6593},{ 103, 6968},{ 104, 7336}, - { 104, 7710},{ 105, 8076},{ 106, 8440},{ 106, 8822} - } - }, - { - /*Cr qi=2 INTRA*/ - { - { 1, 8},{ 27, 375},{ 54, 759},{ 70, 1222}, - { 79, 1696},{ 89, 2173},{ 106, 2652},{ 123, 3098}, - { 135, 3553},{ 143, 3972},{ 161, 4348},{ 181, 4782}, - { 194, 5189},{ 213, 5565},{ 235, 5907},{ 266, 6229}, - { 286, 6618},{ 311, 6897},{ 339, 7152},{ 362, 7454}, - { 392, 7721},{ 416, 7946},{ 429, 8227},{ 458, 8540} - }, - /*Cr qi=2 INTER*/ - { - { 74, 20},{ 63, 330},{ 51, 635},{ 44, 942}, - { 47, 1287},{ 54, 1710},{ 59, 2147},{ 65, 2571}, - { 72, 2996},{ 79, 3413},{ 86, 3820},{ 91, 4230}, - { 93, 4642},{ 95, 5046},{ 95, 5442},{ 95, 5839}, - { 96, 6243},{ 97, 6641},{ 99, 7021},{ 101, 7396}, - { 103, 7764},{ 106, 8138},{ 109, 8507},{ 114, 8851} - } - } - }, - { - { - /*Y' qi=3 INTRA*/ - { - { 91, -67},{ 141, 1606},{ 219, 3405},{ 328, 4929}, - { 433, 6122},{ 515, 7209},{ 598, 8204},{ 693, 9145}, - { 796, 9986},{ 912,10756},{ 1045,11471},{ 1200,12079}, - { 1345,12640},{ 1471,13179},{ 1571,13809},{ 1678,14450}, - { 1798,15047},{ 1905,15701},{ 2043,16205},{ 2202,16569}, - { 2351,16971},{ 2501,17393},{ 2660,17851},{ 2825,18455} - }, - /*Y' qi=3 INTER*/ - { - { 53, -164},{ 38, 1314},{ 59, 2917},{ 99, 4563}, - { 124, 6253},{ 139, 7882},{ 150, 9375},{ 159,10749}, - { 166,12059},{ 173,13349},{ 183,14608},{ 194,15826}, - { 208,17003},{ 223,18150},{ 240,19287},{ 259,20411}, - { 284,21508},{ 317,22593},{ 359,23656},{ 414,24671}, - { 483,25634},{ 569,26519},{ 670,27332},{ 786,28072} - } - }, - { - /*Cb qi=3 INTRA*/ - { - { 1, 5},{ 31, 367},{ 58, 739},{ 78, 1173}, - { 96, 1645},{ 113, 2134},{ 125, 2638},{ 133, 3127}, - { 148, 3542},{ 171, 3915},{ 184, 4328},{ 192, 4776}, - { 209, 5197},{ 230, 5556},{ 245, 5909},{ 252, 6261}, - { 272, 6641},{ 304, 6942},{ 330, 7184},{ 342, 7477}, - { 380, 7736},{ 404, 7962},{ 428, 8151},{ 469, 8430} - }, - /*Cb qi=3 INTER*/ - { - { 86, -29},{ 72, 296},{ 58, 618},{ 46, 964}, - { 47, 1338},{ 51, 1743},{ 56, 2158},{ 63, 2594}, - { 69, 3035},{ 77, 3455},{ 84, 3859},{ 89, 4266}, - { 94, 4673},{ 98, 5074},{ 101, 5460},{ 101, 5842}, - { 101, 6217},{ 101, 6593},{ 102, 6964},{ 104, 7325}, - { 103, 7696},{ 103, 8056},{ 104, 8430},{ 103, 8792} - } - }, - { - /*Cr qi=3 INTRA*/ - { - { 1, 8},{ 27, 374},{ 56, 759},{ 74, 1221}, - { 83, 1696},{ 96, 2173},{ 113, 2650},{ 127, 3091}, - { 140, 3542},{ 151, 3960},{ 164, 4334},{ 188, 4764}, - { 208, 5144},{ 224, 5493},{ 250, 5841},{ 278, 6162}, - { 298, 6548},{ 334, 6816},{ 365, 7045},{ 388, 7343}, - { 419, 7613},{ 443, 7836},{ 455, 8105},{ 484, 8445} - }, - /*Cr qi=3 INTER*/ - { - { 76, 26},{ 65, 332},{ 53, 638},{ 45, 945}, - { 45, 1304},{ 53, 1725},{ 60, 2153},{ 68, 2584}, - { 74, 3007},{ 81, 3425},{ 87, 3844},{ 91, 4253}, - { 94, 4657},{ 95, 5061},{ 94, 5462},{ 94, 5856}, - { 95, 6250},{ 96, 6635},{ 97, 7014},{ 101, 7393}, - { 104, 7761},{ 106, 8137},{ 109, 8506},{ 111, 8823} - } - } - }, - { - { - /*Y' qi=4 INTRA*/ - { - { 80, -67},{ 143, 1603},{ 227, 3378},{ 344, 4861}, - { 454, 6026},{ 537, 7104},{ 626, 8089},{ 725, 9006}, - { 830, 9827},{ 950,10581},{ 1089,11270},{ 1257,11826}, - { 1409,12366},{ 1535,12912},{ 1640,13528},{ 1753,14173}, - { 1884,14756},{ 2007,15368},{ 2148,15852},{ 2307,16212}, - { 2464,16591},{ 2614,17019},{ 2785,17455},{ 2970,17963} - }, - /*Y' qi=4 INTER*/ - { - { 50, -145},{ 38, 1324},{ 61, 2921},{ 102, 4566}, - { 127, 6248},{ 142, 7845},{ 154, 9300},{ 163,10656}, - { 169,11965},{ 177,13246},{ 188,14495},{ 202,15702}, - { 218,16864},{ 236,18003},{ 256,19124},{ 278,20233}, - { 307,21330},{ 347,22398},{ 398,23437},{ 463,24429}, - { 546,25343},{ 649,26170},{ 767,26935},{ 888,27674} - } - }, - { - /*Cb qi=4 INTRA*/ - { - { 1, 5},{ 33, 367},{ 61, 739},{ 80, 1173}, - { 98, 1646},{ 114, 2136},{ 126, 2639},{ 137, 3124}, - { 152, 3535},{ 176, 3903},{ 194, 4307},{ 206, 4753}, - { 222, 5165},{ 242, 5508},{ 260, 5857},{ 272, 6205}, - { 294, 6559},{ 332, 6848},{ 356, 7104},{ 364, 7389}, - { 396, 7637},{ 415, 7878},{ 446, 8064},{ 506, 8294} - }, - /*Cb qi=4 INTER*/ - { - { 86, -15},{ 73, 308},{ 60, 627},{ 46, 967}, - { 47, 1343},{ 51, 1754},{ 56, 2183},{ 63, 2615}, - { 70, 3044},{ 79, 3459},{ 85, 3866},{ 90, 4276}, - { 94, 4686},{ 97, 5088},{ 100, 5467},{ 102, 5837}, - { 102, 6205},{ 101, 6569},{ 103, 6939},{ 104, 7317}, - { 105, 7690},{ 107, 8043},{ 107, 8394},{ 111, 8736} - } - }, - { - /*Cr qi=4 INTRA*/ - { - { 1, 7},{ 28, 375},{ 57, 759},{ 79, 1221}, - { 92, 1697},{ 105, 2174},{ 122, 2648},{ 135, 3085}, - { 146, 3530},{ 157, 3947},{ 171, 4316},{ 195, 4737}, - { 218, 5117},{ 239, 5445},{ 268, 5767},{ 295, 6074}, - { 315, 6460},{ 355, 6735},{ 392, 6933},{ 418, 7218}, - { 448, 7495},{ 471, 7688},{ 481, 7954},{ 504, 8313} - }, - /*Cr qi=4 INTER*/ - { - { 68, 28},{ 57, 334},{ 47, 639},{ 43, 953}, - { 48, 1314},{ 54, 1736},{ 59, 2169},{ 69, 2592}, - { 78, 3017},{ 84, 3434},{ 88, 3850},{ 92, 4260}, - { 95, 4663},{ 96, 5068},{ 95, 5455},{ 95, 5839}, - { 96, 6243},{ 97, 6626},{ 98, 7006},{ 101, 7390}, - { 104, 7755},{ 108, 8115},{ 111, 8471},{ 110, 8825} - } - } - }, - { - { - /*Y' qi=5 INTRA*/ - { - { 84, -69},{ 147, 1599},{ 237, 3350},{ 360, 4796}, - { 475, 5934},{ 562, 6992},{ 657, 7953},{ 765, 8837}, - { 874, 9641},{ 998,10384},{ 1146,11047},{ 1322,11572}, - { 1484,12076},{ 1617,12609},{ 1731,13203},{ 1856,13806}, - { 1995,14367},{ 2132,14936},{ 2289,15386},{ 2460,15721}, - { 2635,16066},{ 2802,16442},{ 2980,16805},{ 3177,17272} - }, - /*Y' qi=5 INTER*/ - { - { 38, -86},{ 37, 1349},{ 64, 2920},{ 105, 4563}, - { 129, 6236},{ 145, 7809},{ 158, 9236},{ 167,10572}, - { 174,11871},{ 182,13141},{ 195,14368},{ 212,15558}, - { 230,16706},{ 250,17828},{ 274,18944},{ 303,20041}, - { 342,21116},{ 394,22152},{ 460,23144},{ 543,24073}, - { 648,24919},{ 773,25673},{ 922,26323},{ 1084,26924} - } - }, - { - /*Cb qi=5 INTRA*/ - { - { 1, 5},{ 34, 367},{ 63, 739},{ 82, 1174}, - { 102, 1647},{ 119, 2137},{ 134, 2639},{ 145, 3121}, - { 161, 3529},{ 189, 3891},{ 207, 4290},{ 216, 4721}, - { 232, 5113},{ 258, 5455},{ 277, 5798},{ 294, 6124}, - { 322, 6427},{ 352, 6697},{ 370, 6982},{ 384, 7283}, - { 423, 7529},{ 448, 7766},{ 478, 7943},{ 527, 8151} - }, - /*Cb qi=5 INTER*/ - { - { 83, -49},{ 69, 284},{ 55, 611},{ 48, 961}, - { 49, 1355},{ 52, 1769},{ 58, 2191},{ 65, 2616}, - { 73, 3041},{ 80, 3460},{ 87, 3868},{ 92, 4276}, - { 95, 4682},{ 98, 5077},{ 100, 5459},{ 102, 5827}, - { 102, 6200},{ 102, 6568},{ 103, 6930},{ 103, 7303}, - { 104, 7672},{ 106, 8032},{ 106, 8391},{ 106, 8727} - } - }, - { - /*Cr qi=5 INTRA*/ - { - { 1, 8},{ 28, 375},{ 57, 760},{ 81, 1222}, - { 99, 1696},{ 111, 2175},{ 125, 2648},{ 140, 3079}, - { 152, 3520},{ 162, 3927},{ 179, 4294},{ 203, 4714}, - { 225, 5080},{ 254, 5389},{ 286, 5703},{ 318, 5997}, - { 342, 6364},{ 380, 6640},{ 416, 6837},{ 445, 7103}, - { 473, 7370},{ 497, 7562},{ 514, 7811},{ 549, 8148} - }, - /*Cr qi=5 INTER*/ - { - { 60, 6},{ 54, 323},{ 46, 638},{ 43, 958}, - { 45, 1329},{ 54, 1749},{ 61, 2175},{ 70, 2600}, - { 79, 3021},{ 85, 3437},{ 89, 3847},{ 93, 4254}, - { 95, 4660},{ 96, 5065},{ 95, 5456},{ 95, 5849}, - { 96, 6243},{ 96, 6621},{ 97, 6996},{ 101, 7366}, - { 104, 7722},{ 107, 8088},{ 111, 8448},{ 119, 8816} - } - } - }, - { - { - /*Y' qi=6 INTRA*/ - { - { 88, -69},{ 151, 1593},{ 251, 3294},{ 387, 4681}, - { 507, 5790},{ 601, 6837},{ 702, 7787},{ 813, 8648}, - { 927, 9427},{ 1059,10152},{ 1213,10787},{ 1399,11284}, - { 1568,11781},{ 1705,12312},{ 1823,12890},{ 1957,13482}, - { 2106,14036},{ 2249,14600},{ 2411,15042},{ 2588,15359}, - { 2772,15699},{ 2947,16062},{ 3127,16429},{ 3320,16849} - }, - /*Y' qi=6 INTER*/ - { - { 44, -80},{ 36, 1346},{ 69, 2919},{ 111, 4563}, - { 136, 6216},{ 154, 7746},{ 168, 9139},{ 178,10461}, - { 185,11747},{ 195,13007},{ 211,14229},{ 230,15408}, - { 250,16547},{ 274,17663},{ 302,18769},{ 339,19851}, - { 386,20907},{ 446,21933},{ 527,22884},{ 631,23746}, - { 760,24512},{ 914,25178},{ 1087,25758},{ 1278,26262} - } - }, - { - /*Cb qi=6 INTRA*/ - { - { 1, 4},{ 36, 367},{ 66, 739},{ 84, 1174}, - { 105, 1648},{ 126, 2139},{ 140, 2639},{ 149, 3116}, - { 164, 3523},{ 194, 3880},{ 217, 4271},{ 226, 4694}, - { 243, 5077},{ 270, 5407},{ 291, 5742},{ 310, 6061}, - { 340, 6340},{ 373, 6609},{ 394, 6890},{ 409, 7189}, - { 444, 7434},{ 469, 7652},{ 499, 7853},{ 559, 8135} - }, - /*Cb qi=6 INTER*/ - { - { 68, -46},{ 60, 291},{ 50, 623},{ 49, 971}, - { 50, 1357},{ 55, 1781},{ 61, 2211},{ 69, 2634}, - { 78, 3052},{ 86, 3466},{ 91, 3882},{ 95, 4292}, - { 98, 4691},{ 101, 5080},{ 102, 5458},{ 103, 5830}, - { 103, 6192},{ 104, 6554},{ 104, 6916},{ 106, 7278}, - { 108, 7641},{ 110, 8004},{ 112, 8371},{ 112, 8758} - } - }, - { - /*Cr qi=6 INTRA*/ - { - { 1, 8},{ 29, 375},{ 59, 760},{ 84, 1223}, - { 99, 1698},{ 112, 2176},{ 129, 2647},{ 143, 3076}, - { 156, 3510},{ 168, 3906},{ 189, 4269},{ 220, 4682}, - { 241, 5047},{ 266, 5342},{ 299, 5649},{ 331, 5954}, - { 357, 6309},{ 393, 6579},{ 431, 6765},{ 467, 6997}, - { 501, 7276},{ 520, 7488},{ 525, 7749},{ 548, 8146} - }, - /*Cr qi=6 INTER*/ - { - { 94, 31},{ 69, 335},{ 47, 641},{ 43, 967}, - { 50, 1350},{ 57, 1772},{ 65, 2197},{ 74, 2625}, - { 83, 3043},{ 90, 3454},{ 94, 3867},{ 97, 4273}, - { 98, 4671},{ 99, 5068},{ 99, 5461},{ 98, 5857}, - { 98, 6245},{ 99, 6610},{ 103, 6975},{ 105, 7345}, - { 108, 7712},{ 111, 8073},{ 113, 8415},{ 119, 8768} - } - } - }, - { - { - /*Y' qi=7 INTRA*/ - { - { 92, -70},{ 156, 1590},{ 261, 3267},{ 403, 4618}, - { 529, 5704},{ 628, 6730},{ 736, 7657},{ 856, 8491}, - { 978, 9246},{ 1118, 9943},{ 1281,10550},{ 1472,11028}, - { 1645,11507},{ 1793,12008},{ 1924,12565},{ 2067,13130}, - { 2229,13638},{ 2388,14160},{ 2558,14584},{ 2744,14886}, - { 2932,15194},{ 3116,15531},{ 3311,15858},{ 3538,16197} - }, - /*Y' qi=7 INTER*/ - { - { 43, -8},{ 36, 1351},{ 71, 2923},{ 112, 4568}, - { 138, 6201},{ 157, 7705},{ 171, 9083},{ 181,10390}, - { 189,11664},{ 202,12910},{ 220,14121},{ 241,15281}, - { 266,16401},{ 295,17507},{ 328,18608},{ 371,19677}, - { 430,20701},{ 508,21676},{ 604,22588},{ 727,23397}, - { 878,24093},{ 1055,24690},{ 1263,25151},{ 1496,25504} - } - }, - { - /*Cb qi=7 INTRA*/ - { - { 1, 5},{ 40, 367},{ 72, 740},{ 89, 1175}, - { 108, 1649},{ 129, 2140},{ 143, 2637},{ 154, 3110}, - { 169, 3507},{ 198, 3860},{ 224, 4237},{ 235, 4652}, - { 253, 5037},{ 282, 5358},{ 307, 5674},{ 329, 5986}, - { 361, 6273},{ 393, 6527},{ 419, 6777},{ 435, 7078}, - { 467, 7342},{ 495, 7554},{ 529, 7757},{ 591, 8053} - }, - /*Cb qi=7 INTER*/ - { - { 79, -33},{ 68, 299},{ 56, 627},{ 50, 978}, - { 51, 1366},{ 55, 1786},{ 61, 2213},{ 70, 2642}, - { 80, 3062},{ 87, 3474},{ 92, 3886},{ 96, 4292}, - { 99, 4684},{ 102, 5072},{ 103, 5450},{ 104, 5814}, - { 104, 6176},{ 104, 6538},{ 107, 6905},{ 110, 7270}, - { 110, 7625},{ 110, 7978},{ 111, 8340},{ 117, 8674} - } - }, - { - /*Cr qi=7 INTRA*/ - { - { 2, 7},{ 31, 375},{ 62, 760},{ 87, 1223}, - { 103, 1698},{ 115, 2175},{ 131, 2644},{ 147, 3066}, - { 161, 3494},{ 175, 3889},{ 199, 4250},{ 229, 4653}, - { 250, 5001},{ 279, 5275},{ 311, 5577},{ 343, 5889}, - { 376, 6227},{ 417, 6486},{ 457, 6689},{ 484, 6925}, - { 518, 7174},{ 544, 7393},{ 549, 7662},{ 577, 8050} - }, - /*Cr qi=7 INTER*/ - { - { 89, 22},{ 62, 332},{ 45, 641},{ 47, 976}, - { 52, 1363},{ 59, 1779},{ 67, 2203},{ 76, 2628}, - { 84, 3046},{ 90, 3460},{ 94, 3875},{ 98, 4272}, - { 99, 4666},{ 98, 5063},{ 98, 5459},{ 98, 5849}, - { 99, 6226},{ 101, 6594},{ 104, 6957},{ 109, 7324}, - { 109, 7686},{ 111, 8042},{ 115, 8379},{ 119, 8699} - } - } - }, - { - { - /*Y' qi=8 INTRA*/ - { - { 91, -69},{ 160, 1585},{ 274, 3226},{ 423, 4538}, - { 557, 5596},{ 664, 6595},{ 778, 7506},{ 905, 8319}, - { 1038, 9035},{ 1186, 9701},{ 1355,10292},{ 1554,10754}, - { 1739,11196},{ 1904,11639},{ 2047,12184},{ 2194,12763}, - { 2361,13256},{ 2529,13753},{ 2709,14155},{ 2902,14433}, - { 3100,14723},{ 3292,15026},{ 3489,15327},{ 3714,15705} - }, - /*Y' qi=8 INTER*/ - { - { 32, -157},{ 33, 1346},{ 74, 2914},{ 116, 4554}, - { 142, 6172},{ 162, 7648},{ 177, 9004},{ 186,10300}, - { 196,11570},{ 210,12808},{ 231,14001},{ 256,15150}, - { 285,16259},{ 319,17352},{ 359,18435},{ 415,19475}, - { 489,20470},{ 584,21400},{ 703,22246},{ 852,22968}, - { 1038,23556},{ 1253,24032},{ 1503,24367},{ 1778,24628} - } - }, - { - /*Cb qi=8 INTRA*/ - { - { 1, 4},{ 42, 367},{ 75, 740},{ 93, 1176}, - { 111, 1649},{ 128, 2139},{ 144, 2635},{ 157, 3103}, - { 174, 3494},{ 206, 3844},{ 233, 4207},{ 251, 4605}, - { 277, 4980},{ 304, 5284},{ 335, 5584},{ 359, 5888}, - { 393, 6152},{ 432, 6398},{ 455, 6656},{ 471, 6956}, - { 502, 7193},{ 528, 7405},{ 562, 7630},{ 603, 7922} - }, - /*Cb qi=8 INTER*/ - { - { 77, -37},{ 68, 299},{ 58, 632},{ 50, 991}, - { 50, 1382},{ 55, 1799},{ 62, 2226},{ 73, 2647}, - { 82, 3066},{ 90, 3480},{ 94, 3891},{ 96, 4296}, - { 98, 4687},{ 101, 5073},{ 103, 5456},{ 104, 5817}, - { 105, 6170},{ 106, 6523},{ 107, 6886},{ 108, 7250}, - { 109, 7600},{ 110, 7955},{ 111, 8305},{ 112, 8641} - } - }, - { - /*Cr qi=8 INTRA*/ - { - { 2, 7},{ 33, 375},{ 64, 760},{ 92, 1224}, - { 111, 1700},{ 122, 2173},{ 137, 2637},{ 156, 3055}, - { 172, 3476},{ 186, 3856},{ 211, 4211},{ 242, 4597}, - { 263, 4939},{ 292, 5214},{ 335, 5489},{ 376, 5772}, - { 406, 6099},{ 440, 6378},{ 483, 6578},{ 517, 6797}, - { 550, 7049},{ 571, 7283},{ 583, 7560},{ 618, 7967} - }, - /*Cr qi=8 INTER*/ - { - { 74, 25},{ 58, 328},{ 43, 637},{ 45, 980}, - { 51, 1371},{ 59, 1788},{ 69, 2207},{ 79, 2630}, - { 86, 3051},{ 91, 3470},{ 95, 3880},{ 97, 4280}, - { 98, 4680},{ 97, 5074},{ 96, 5456},{ 97, 5839}, - { 99, 6219},{ 101, 6583},{ 103, 6945},{ 106, 7312}, - { 110, 7671},{ 114, 8009},{ 115, 8345},{ 117, 8686} - } - } - }, - { - { - /*Y' qi=9 INTRA*/ - { - { 104, -68},{ 164, 1580},{ 288, 3173},{ 448, 4439}, - { 587, 5485},{ 702, 6465},{ 824, 7351},{ 958, 8148}, - { 1096, 8845},{ 1253, 9480},{ 1432,10047},{ 1640,10494}, - { 1835,10926},{ 2015,11350},{ 2166,11871},{ 2321,12428}, - { 2508,12876},{ 2684,13345},{ 2866,13741},{ 3069,13991}, - { 3281,14243},{ 3487,14518},{ 3689,14813},{ 3911,15175} - }, - /*Y' qi=9 INTER*/ - { - { 47, -140},{ 34, 1348},{ 77, 2915},{ 119, 4552}, - { 145, 6150},{ 166, 7600},{ 182, 8936},{ 192,10221}, - { 203,11482},{ 220,12711},{ 244,13886},{ 274,15012}, - { 308,16111},{ 349,17190},{ 401,18244},{ 470,19257}, - { 561,20209},{ 680,21069},{ 830,21822},{ 1010,22463}, - { 1227,22971},{ 1482,23328},{ 1769,23544},{ 2077,23655} - } - }, - { - /*Cb qi=9 INTRA*/ - { - { 1, 5},{ 43, 367},{ 76, 740},{ 95, 1176}, - { 114, 1649},{ 135, 2138},{ 153, 2629},{ 165, 3091}, - { 184, 3481},{ 217, 3831},{ 244, 4187},{ 260, 4572}, - { 290, 4930},{ 320, 5231},{ 351, 5521},{ 379, 5812}, - { 414, 6055},{ 452, 6307},{ 483, 6564},{ 502, 6848}, - { 525, 7115},{ 554, 7321},{ 589, 7533},{ 626, 7833} - }, - /*Cb qi=9 INTER*/ - { - { 101, -43},{ 81, 298},{ 62, 637},{ 49, 989}, - { 51, 1381},{ 56, 1806},{ 65, 2231},{ 74, 2653}, - { 84, 3071},{ 91, 3482},{ 95, 3892},{ 97, 4293}, - { 99, 4684},{ 101, 5066},{ 103, 5437},{ 103, 5793}, - { 103, 6148},{ 104, 6511},{ 105, 6867},{ 107, 7221}, - { 110, 7572},{ 111, 7926},{ 112, 8283},{ 116, 8625} - } - }, - { - /*Cr qi=9 INTRA*/ - { - { 2, 7},{ 35, 375},{ 66, 761},{ 93, 1224}, - { 112, 1700},{ 126, 2173},{ 144, 2633},{ 165, 3047}, - { 183, 3458},{ 199, 3835},{ 224, 4191},{ 257, 4558}, - { 283, 4887},{ 309, 5176},{ 351, 5446},{ 397, 5713}, - { 433, 6017},{ 469, 6283},{ 508, 6480},{ 546, 6687}, - { 579, 6945},{ 600, 7182},{ 610, 7434},{ 623, 7793} - }, - /*Cr qi=9 INTER*/ - { - { 77, 15},{ 57, 330},{ 45, 640},{ 48, 980}, - { 54, 1380},{ 61, 1802},{ 70, 2220},{ 80, 2639}, - { 87, 3057},{ 92, 3474},{ 94, 3882},{ 98, 4282}, - { 98, 4675},{ 97, 5062},{ 97, 5450},{ 98, 5829}, - { 100, 6197},{ 101, 6561},{ 104, 6927},{ 107, 7289}, - { 113, 7638},{ 117, 7978},{ 119, 8311},{ 117, 8629} - } - } - }, - { - { - /*Y' qi=10 INTRA*/ - { - { 101, -69},{ 168, 1574},{ 299, 3143},{ 465, 4386}, - { 610, 5410},{ 736, 6353},{ 866, 7207},{ 1006, 7982}, - { 1153, 8655},{ 1319, 9261},{ 1504, 9812},{ 1719,10248}, - { 1928,10653},{ 2116,11056},{ 2282,11550},{ 2458,12070}, - { 2654,12492},{ 2846,12923},{ 3043,13291},{ 3249,13537}, - { 3466,13764},{ 3682,13999},{ 3896,14268},{ 4145,14548} - }, - /*Y' qi=10 INTER*/ - { - { 48, -94},{ 34, 1355},{ 81, 2920},{ 124, 4545}, - { 151, 6113},{ 174, 7532},{ 190, 8850},{ 201,10125}, - { 214,11379},{ 235,12591},{ 264,13745},{ 299,14859}, - { 338,15948},{ 388,17008},{ 456,18029},{ 546,18988}, - { 661,19877},{ 808,20666},{ 993,21321},{ 1218,21835}, - { 1481,22203},{ 1783,22420},{ 2117,22504},{ 2469,22481} - } - }, - { - /*Cb qi=10 INTRA*/ - { - { 2, 4},{ 44, 367},{ 79, 740},{ 99, 1178}, - { 117, 1652},{ 137, 2141},{ 156, 2630},{ 170, 3089}, - { 192, 3474},{ 227, 3813},{ 259, 4157},{ 282, 4526}, - { 310, 4860},{ 342, 5140},{ 377, 5425},{ 400, 5714}, - { 436, 5952},{ 475, 6194},{ 496, 6468},{ 522, 6748}, - { 559, 6996},{ 587, 7216},{ 617, 7433},{ 673, 7678} - }, - /*Cb qi=10 INTER*/ - { - { 87, -37},{ 72, 301},{ 58, 636},{ 49, 995}, - { 51, 1394},{ 57, 1819},{ 66, 2241},{ 78, 2660}, - { 87, 3074},{ 93, 3482},{ 97, 3891},{ 99, 4294}, - { 101, 4678},{ 103, 5050},{ 105, 5414},{ 106, 5773}, - { 107, 6134},{ 108, 6485},{ 110, 6832},{ 113, 7187}, - { 113, 7547},{ 114, 7887},{ 117, 8230},{ 112, 8590} - } - }, - { - /*Cr qi=10 INTRA*/ - { - { 2, 7},{ 38, 375},{ 69, 761},{ 96, 1224}, - { 116, 1701},{ 131, 2175},{ 148, 2634},{ 168, 3041}, - { 190, 3439},{ 211, 3802},{ 238, 4151},{ 271, 4506}, - { 297, 4824},{ 331, 5103},{ 373, 5360},{ 415, 5632}, - { 459, 5928},{ 500, 6176},{ 535, 6386},{ 573, 6586}, - { 608, 6834},{ 629, 7079},{ 642, 7337},{ 686, 7680} - }, - /*Cr qi=10 INTER*/ - { - { 81, 34},{ 63, 333},{ 50, 633},{ 48, 987}, - { 53, 1397},{ 61, 1820},{ 71, 2237},{ 83, 2651}, - { 91, 3065},{ 95, 3479},{ 98, 3882},{ 100, 4279}, - { 101, 4673},{ 101, 5054},{ 100, 5429},{ 101, 5801}, - { 102, 6173},{ 104, 6541},{ 108, 6904},{ 110, 7264}, - { 114, 7609},{ 119, 7945},{ 123, 8275},{ 128, 8615} - } - } - }, - { - { - /*Y' qi=11 INTRA*/ - { - { 110, -66},{ 176, 1564},{ 316, 3087},{ 492, 4296}, - { 645, 5299},{ 781, 6217},{ 924, 7039},{ 1075, 7776}, - { 1232, 8421},{ 1410, 9005},{ 1607, 9532},{ 1834, 9929}, - { 2053,10300},{ 2249,10697},{ 2427,11184},{ 2619,11682}, - { 2826,12083},{ 3019,12508},{ 3225,12869},{ 3452,13064}, - { 3670,13280},{ 3890,13519},{ 4123,13750},{ 4367,14059} - }, - /*Y' qi=11 INTER*/ - { - { 72, -115},{ 32, 1354},{ 83, 2911},{ 126, 4534}, - { 154, 6080},{ 178, 7475},{ 194, 8779},{ 205,10047}, - { 222,11290},{ 246,12488},{ 281,13621},{ 322,14714}, - { 372,15786},{ 436,16821},{ 519,17813},{ 628,18728}, - { 770,19549},{ 950,20254},{ 1175,20800},{ 1443,21197}, - { 1752,21446},{ 2095,21555},{ 2457,21553},{ 2808,21544} - } - }, - { - /*Cb qi=11 INTRA*/ - { - { 2, 4},{ 45, 367},{ 81, 740},{ 101, 1177}, - { 121, 1650},{ 142, 2136},{ 159, 2621},{ 174, 3075}, - { 199, 3451},{ 234, 3778},{ 265, 4117},{ 297, 4473}, - { 333, 4789},{ 367, 5054},{ 402, 5319},{ 427, 5613}, - { 462, 5871},{ 503, 6107},{ 532, 6336},{ 560, 6584}, - { 601, 6842},{ 631, 7092},{ 662, 7292},{ 721, 7497} - }, - /*Cb qi=11 INTER*/ - { - { 117, -24},{ 93, 308},{ 69, 638},{ 52, 993}, - { 52, 1395},{ 58, 1822},{ 68, 2246},{ 80, 2665}, - { 89, 3082},{ 94, 3492},{ 96, 3900},{ 98, 4299}, - { 101, 4679},{ 103, 5047},{ 104, 5405},{ 106, 5763}, - { 106, 6120},{ 107, 6474},{ 109, 6823},{ 112, 7163}, - { 115, 7516},{ 117, 7868},{ 118, 8213},{ 119, 8561} - } - }, - { - /*Cr qi=11 INTRA*/ - { - { 2, 7},{ 40, 375},{ 75, 761},{ 100, 1224}, - { 119, 1700},{ 137, 2169},{ 154, 2622},{ 178, 3025}, - { 198, 3416},{ 220, 3770},{ 255, 4114},{ 294, 4459}, - { 323, 4756},{ 359, 5028},{ 399, 5292},{ 438, 5556}, - { 483, 5827},{ 518, 6073},{ 551, 6298},{ 598, 6501}, - { 634, 6754},{ 652, 6997},{ 670, 7211},{ 689, 7560} - }, - /*Cr qi=11 INTER*/ - { - { 75, 30},{ 61, 334},{ 51, 639},{ 49, 995}, - { 53, 1403},{ 62, 1821},{ 73, 2237},{ 84, 2654}, - { 91, 3070},{ 95, 3485},{ 96, 3890},{ 98, 4287}, - { 98, 4672},{ 99, 5050},{ 99, 5427},{ 100, 5798}, - { 103, 6169},{ 105, 6528},{ 107, 6881},{ 113, 7233}, - { 118, 7580},{ 121, 7916},{ 125, 8240},{ 130, 8551} - } - } - }, - { - { - /*Y' qi=12 INTRA*/ - { - { 104, -69},{ 182, 1557},{ 335, 3040},{ 521, 4205}, - { 684, 5178},{ 831, 6068},{ 986, 6854},{ 1151, 7559}, - { 1323, 8169},{ 1523, 8704},{ 1736, 9192},{ 1978, 9558}, - { 2213, 9908},{ 2421,10298},{ 2613,10757},{ 2822,11208}, - { 3042,11585},{ 3250,11991},{ 3474,12308},{ 3710,12480}, - { 3939,12687},{ 4174,12902},{ 4416,13102},{ 4672,13369} - }, - /*Y' qi=12 INTER*/ - { - { 52, -91},{ 34, 1355},{ 86, 2911},{ 129, 4518}, - { 159, 6037},{ 184, 7405},{ 200, 8694},{ 213, 9955}, - { 232,11185},{ 263,12360},{ 304,13479},{ 354,14555}, - { 415,15601},{ 495,16608},{ 601,17549},{ 738,18400}, - { 915,19136},{ 1139,19724},{ 1414,20150},{ 1731,20412}, - { 2090,20520},{ 2473,20509},{ 2851,20442},{ 3227,20328} - } - }, - { - /*Cb qi=12 INTRA*/ - { - { 1, 4},{ 46, 367},{ 85, 740},{ 109, 1178}, - { 126, 1650},{ 145, 2134},{ 165, 2617},{ 182, 3061}, - { 209, 3428},{ 245, 3749},{ 281, 4077},{ 316, 4417}, - { 354, 4718},{ 392, 4970},{ 430, 5217},{ 456, 5501}, - { 490, 5771},{ 534, 5996},{ 571, 6207},{ 600, 6458}, - { 644, 6697},{ 675, 6942},{ 707, 7151},{ 766, 7342} - }, - /*Cb qi=12 INTER*/ - { - { 84, -24},{ 73, 311},{ 60, 644},{ 52, 998}, - { 53, 1398},{ 60, 1825},{ 71, 2249},{ 83, 2665}, - { 90, 3081},{ 94, 3490},{ 97, 3893},{ 99, 4286}, - { 102, 4663},{ 104, 5032},{ 105, 5393},{ 106, 5751}, - { 107, 6102},{ 108, 6445},{ 111, 6788},{ 113, 7136}, - { 114, 7483},{ 117, 7828},{ 121, 8163},{ 122, 8496} - } - }, - { - /*Cr qi=12 INTRA*/ - { - { 3, 7},{ 41, 375},{ 78, 761},{ 106, 1225}, - { 124, 1700},{ 140, 2167},{ 163, 2616},{ 188, 3010}, - { 213, 3385},{ 240, 3718},{ 271, 4062},{ 309, 4406}, - { 345, 4691},{ 387, 4956},{ 430, 5212},{ 469, 5467}, - { 513, 5729},{ 554, 5970},{ 587, 6176},{ 633, 6395}, - { 673, 6659},{ 692, 6868},{ 712, 7061},{ 758, 7259} - }, - /*Cr qi=12 INTER*/ - { - { 73, 31},{ 59, 335},{ 48, 638},{ 50, 998}, - { 56, 1410},{ 65, 1827},{ 75, 2240},{ 85, 2657}, - { 92, 3073},{ 95, 3485},{ 97, 3888},{ 99, 4279}, - { 98, 4663},{ 99, 5042},{ 101, 5412},{ 102, 5779}, - { 105, 6142},{ 107, 6498},{ 108, 6848},{ 113, 7198}, - { 118, 7540},{ 121, 7867},{ 127, 8188},{ 132, 8508} - } - } - }, - { - { - /*Y' qi=13 INTRA*/ - { - { 109, -68},{ 187, 1551},{ 347, 3010},{ 541, 4153}, - { 709, 5107},{ 864, 5975},{ 1026, 6745},{ 1194, 7433}, - { 1375, 8021},{ 1581, 8550},{ 1803, 9026},{ 2054, 9371}, - { 2301, 9713},{ 2522,10082},{ 2728,10515},{ 2949,10956}, - { 3184,11297},{ 3408,11653},{ 3643,11946},{ 3886,12100}, - { 4124,12277},{ 4377,12459},{ 4632,12635},{ 4898,12861} - }, - /*Y' qi=13 INTER*/ - { - { 48, -78},{ 35, 1357},{ 89, 2914},{ 133, 4512}, - { 164, 6004},{ 190, 7348},{ 207, 8627},{ 222, 9881}, - { 247,11096},{ 284,12251},{ 333,13350},{ 392,14407}, - { 466,15426},{ 565,16391},{ 696,17279},{ 865,18058}, - { 1085,18689},{ 1358,19156},{ 1684,19456},{ 2050,19605}, - { 2447,19614},{ 2855,19524},{ 3243,19398},{ 3611,19201} - } - }, - { - /*Cb qi=13 INTRA*/ - { - { 2, 4},{ 47, 367},{ 86, 741},{ 108, 1179}, - { 127, 1651},{ 150, 2133},{ 173, 2611},{ 194, 3050}, - { 222, 3417},{ 262, 3733},{ 303, 4048},{ 337, 4375}, - { 378, 4657},{ 420, 4897},{ 456, 5148},{ 486, 5422}, - { 518, 5682},{ 558, 5903},{ 592, 6113},{ 623, 6372}, - { 662, 6628},{ 700, 6833},{ 751, 6989},{ 805, 7147} - }, - /*Cb qi=13 INTER*/ - { - { 94, -34},{ 78, 303},{ 60, 638},{ 51, 994}, - { 54, 1406},{ 61, 1836},{ 73, 2253},{ 84, 2668}, - { 92, 3082},{ 96, 3492},{ 99, 3894},{ 101, 4284}, - { 103, 4659},{ 105, 5023},{ 106, 5376},{ 108, 5726}, - { 109, 6070},{ 110, 6418},{ 113, 6765},{ 117, 7105}, - { 119, 7448},{ 122, 7784},{ 126, 8119},{ 131, 8463} - } - }, - { - /*Cr qi=13 INTRA*/ - { - { 3, 7},{ 43, 375},{ 80, 762},{ 110, 1226}, - { 131, 1701},{ 149, 2166},{ 172, 2610},{ 196, 2999}, - { 221, 3359},{ 254, 3679},{ 292, 4005},{ 332, 4329}, - { 369, 4612},{ 408, 4880},{ 456, 5139},{ 500, 5388}, - { 544, 5631},{ 581, 5877},{ 615, 6101},{ 660, 6316}, - { 692, 6594},{ 714, 6795},{ 736, 6997},{ 789, 7290} - }, - /*Cr qi=13 INTER*/ - { - { 73, 28},{ 61, 336},{ 46, 642},{ 50, 1003}, - { 58, 1414},{ 67, 1832},{ 79, 2245},{ 87, 2660}, - { 93, 3075},{ 97, 3484},{ 99, 3888},{ 100, 4277}, - { 100, 4651},{ 100, 5027},{ 101, 5403},{ 102, 5765}, - { 105, 6116},{ 109, 6470},{ 113, 6825},{ 119, 7163}, - { 124, 7497},{ 127, 7827},{ 131, 8137},{ 135, 8437} - } - } - }, - { - { - /*Y' qi=14 INTRA*/ - { - { 113, -68},{ 191, 1545},{ 358, 2981},{ 559, 4104}, - { 733, 5044},{ 896, 5890},{ 1066, 6636},{ 1241, 7304}, - { 1428, 7886},{ 1642, 8402},{ 1872, 8871},{ 2128, 9219}, - { 2380, 9547},{ 2609, 9908},{ 2825,10321},{ 3055,10728}, - { 3294,11076},{ 3523,11425},{ 3766,11689},{ 4013,11845}, - { 4254,12022},{ 4506,12209},{ 4759,12383},{ 5013,12637} - }, - /*Y' qi=14 INTER*/ - { - { 58, -82},{ 38, 1362},{ 93, 2914},{ 138, 4492}, - { 171, 5962},{ 198, 7289},{ 216, 8559},{ 234, 9804}, - { 263,11005},{ 306,12143},{ 363,13222},{ 434,14259}, - { 523,15255},{ 639,16188},{ 794,17021},{ 1000,17717}, - { 1262,18260},{ 1575,18645},{ 1943,18841},{ 2356,18872}, - { 2782,18802},{ 3194,18682},{ 3576,18559},{ 3923,18447} - } - }, - { - /*Cb qi=14 INTRA*/ - { - { 2, 3},{ 50, 367},{ 91, 741},{ 114, 1180}, - { 134, 1651},{ 157, 2131},{ 181, 2601},{ 208, 3028}, - { 239, 3391},{ 279, 3706},{ 322, 4000},{ 361, 4309}, - { 406, 4587},{ 445, 4822},{ 482, 5067},{ 515, 5344}, - { 546, 5612},{ 589, 5821},{ 626, 6020},{ 655, 6276}, - { 701, 6523},{ 748, 6717},{ 796, 6876},{ 815, 7151} - }, - /*Cb qi=14 INTER*/ - { - { 80, -43},{ 68, 301},{ 56, 644},{ 50, 1004}, - { 54, 1412},{ 63, 1836},{ 75, 2253},{ 87, 2670}, - { 94, 3083},{ 98, 3487},{ 101, 3885},{ 103, 4271}, - { 106, 4645},{ 107, 5004},{ 108, 5358},{ 109, 5705}, - { 112, 6047},{ 115, 6388},{ 118, 6731},{ 121, 7081}, - { 126, 7421},{ 129, 7747},{ 132, 8076},{ 137, 8419} - } - }, - { - /*Cr qi=14 INTRA*/ - { - { 3, 6},{ 45, 375},{ 85, 762},{ 116, 1226}, - { 138, 1700},{ 158, 2163},{ 180, 2602},{ 206, 2985}, - { 236, 3333},{ 270, 3639},{ 310, 3956},{ 359, 4258}, - { 397, 4524},{ 430, 4802},{ 478, 5068},{ 527, 5316}, - { 572, 5560},{ 613, 5802},{ 654, 6012},{ 699, 6216}, - { 734, 6489},{ 755, 6707},{ 775, 6898},{ 841, 7111} - }, - /*Cr qi=14 INTER*/ - { - { 78, 0},{ 59, 322},{ 46, 649},{ 51, 1016}, - { 58, 1422},{ 68, 1839},{ 81, 2253},{ 90, 2666}, - { 95, 3080},{ 98, 3486},{ 101, 3881},{ 102, 4268}, - { 102, 4644},{ 103, 5017},{ 105, 5382},{ 106, 5743}, - { 108, 6093},{ 112, 6442},{ 118, 6791},{ 124, 7130}, - { 127, 7463},{ 133, 7784},{ 138, 8085},{ 142, 8395} - } - } - }, - { - { - /*Y' qi=15 INTRA*/ - { - { 111, -66},{ 197, 1538},{ 370, 2949},{ 579, 4050}, - { 762, 4968},{ 933, 5798},{ 1112, 6520},{ 1299, 7161}, - { 1497, 7725},{ 1723, 8219},{ 1967, 8654},{ 2234, 8990}, - { 2499, 9302},{ 2740, 9637},{ 2968,10039},{ 3215,10414}, - { 3473,10709},{ 3721,11015},{ 3971,11270},{ 4228,11402}, - { 4487,11543},{ 4752,11707},{ 5011,11871},{ 5290,12099} - }, - /*Y' qi=15 INTER*/ - { - { 59, -113},{ 37, 1349},{ 95, 2904},{ 139, 4478}, - { 174, 5929},{ 201, 7244},{ 220, 8505},{ 241, 9736}, - { 275,10922},{ 327,12040},{ 395,13097},{ 477,14114}, - { 585,15071},{ 730,15947},{ 917,16714},{ 1162,17326}, - { 1468,17770},{ 1833,18029},{ 2251,18111},{ 2694,18068}, - { 3125,17968},{ 3529,17845},{ 3908,17713},{ 4260,17587} - } - }, - { - /*Cb qi=15 INTRA*/ - { - { 2, 3},{ 51, 367},{ 94, 741},{ 120, 1180}, - { 140, 1651},{ 160, 2129},{ 184, 2591},{ 213, 3010}, - { 246, 3371},{ 289, 3680},{ 335, 3969},{ 374, 4274}, - { 418, 4546},{ 460, 4783},{ 498, 5019},{ 532, 5280}, - { 565, 5553},{ 608, 5765},{ 647, 5958},{ 683, 6193}, - { 732, 6433},{ 782, 6620},{ 832, 6769},{ 848, 7027} - }, - /*Cb qi=15 INTER*/ - { - { 71, -52},{ 63, 296},{ 54, 644},{ 50, 1010}, - { 53, 1417},{ 64, 1837},{ 77, 2253},{ 88, 2666}, - { 95, 3079},{ 98, 3487},{ 100, 3882},{ 103, 4264}, - { 106, 4633},{ 108, 4991},{ 109, 5343},{ 109, 5693}, - { 112, 6038},{ 114, 6371},{ 119, 6709},{ 123, 7051}, - { 125, 7385},{ 130, 7716},{ 135, 8050},{ 140, 8374} - } - }, - { - /*Cr qi=15 INTRA*/ - { - { 2, 6},{ 47, 375},{ 87, 763},{ 119, 1225}, - { 143, 1699},{ 162, 2158},{ 185, 2595},{ 213, 2971}, - { 246, 3315},{ 279, 3618},{ 320, 3920},{ 372, 4210}, - { 409, 4480},{ 446, 4756},{ 496, 5017},{ 542, 5263}, - { 590, 5487},{ 639, 5721},{ 687, 5923},{ 724, 6132}, - { 753, 6417},{ 781, 6622},{ 805, 6806},{ 856, 6977} - }, - /*Cr qi=15 INTER*/ - { - { 71, 3},{ 61, 326},{ 52, 651},{ 50, 1017}, - { 58, 1422},{ 69, 1837},{ 82, 2251},{ 90, 2668}, - { 95, 3080},{ 98, 3484},{ 101, 3877},{ 102, 4257}, - { 102, 4632},{ 101, 5005},{ 103, 5370},{ 106, 5733}, - { 110, 6082},{ 116, 6424},{ 120, 6774},{ 124, 7106}, - { 130, 7427},{ 135, 7748},{ 141, 8052},{ 147, 8333} - } - } - }, - { - { - /*Y' qi=16 INTRA*/ - { - { 114, -63},{ 206, 1525},{ 396, 2887},{ 618, 3945}, - { 816, 4832},{ 1002, 5626},{ 1196, 6319},{ 1401, 6923}, - { 1616, 7458},{ 1857, 7928},{ 2121, 8334},{ 2405, 8645}, - { 2685, 8934},{ 2938, 9255},{ 3175, 9638},{ 3433, 9990}, - { 3707,10263},{ 3958,10577},{ 4218,10807},{ 4488,10906}, - { 4760,11028},{ 5037,11148},{ 5306,11286},{ 5625,11463} - }, - /*Y' qi=16 INTER*/ - { - { 69, -153},{ 39, 1348},{ 98, 2894},{ 144, 4448}, - { 181, 5872},{ 209, 7167},{ 228, 8422},{ 254, 9644}, - { 297,10810},{ 359,11908},{ 438,12944},{ 539,13930}, - { 672,14842},{ 850,15650},{ 1085,16318},{ 1391,16793}, - { 1769,17082},{ 2200,17198},{ 2659,17174},{ 3116,17072}, - { 3547,16948},{ 3943,16819},{ 4299,16701},{ 4611,16644} - } - }, - { - /*Cb qi=16 INTRA*/ - { - { 3, 4},{ 54, 367},{ 97, 742},{ 122, 1181}, - { 143, 1651},{ 168, 2123},{ 197, 2575},{ 226, 2985}, - { 263, 3338},{ 314, 3631},{ 367, 3903},{ 409, 4200}, - { 453, 4468},{ 491, 4703},{ 528, 4932},{ 566, 5188}, - { 601, 5459},{ 647, 5672},{ 693, 5844},{ 734, 6058}, - { 784, 6305},{ 836, 6460},{ 882, 6602},{ 905, 6891} - }, - /*Cb qi=16 INTER*/ - { - { 75, -64},{ 67, 292},{ 56, 645},{ 51, 1016}, - { 54, 1421},{ 66, 1842},{ 79, 2257},{ 89, 2670}, - { 95, 3082},{ 98, 3488},{ 101, 3879},{ 104, 4258}, - { 106, 4623},{ 108, 4974},{ 109, 5321},{ 113, 5664}, - { 116, 6001},{ 117, 6341},{ 123, 6677},{ 128, 7004}, - { 130, 7336},{ 136, 7671},{ 143, 7996},{ 148, 8310} - } - }, - { - /*Cr qi=16 INTRA*/ - { - { 4, 7},{ 50, 375},{ 90, 763},{ 124, 1225}, - { 148, 1698},{ 168, 2154},{ 195, 2582},{ 227, 2948}, - { 263, 3279},{ 302, 3575},{ 343, 3865},{ 394, 4137}, - { 439, 4402},{ 482, 4672},{ 533, 4925},{ 579, 5165}, - { 626, 5382},{ 675, 5616},{ 725, 5812},{ 769, 5991}, - { 810, 6242},{ 848, 6430},{ 868, 6615},{ 944, 6732} - }, - /*Cr qi=16 INTER*/ - { - { 78, 11},{ 62, 327},{ 49, 650},{ 50, 1025}, - { 59, 1431},{ 72, 1841},{ 83, 2253},{ 90, 2671}, - { 95, 3084},{ 98, 3487},{ 100, 3879},{ 101, 4254}, - { 102, 4625},{ 103, 4994},{ 106, 5355},{ 108, 5708}, - { 111, 6058},{ 115, 6400},{ 121, 6733},{ 128, 7058}, - { 134, 7374},{ 140, 7691},{ 146, 7993},{ 146, 8317} - } - } - }, - { - { - /*Y' qi=17 INTRA*/ - { - { 112, -59},{ 210, 1515},{ 409, 2850},{ 640, 3882}, - { 844, 4748},{ 1038, 5529},{ 1240, 6206},{ 1452, 6803}, - { 1676, 7330},{ 1925, 7792},{ 2194, 8201},{ 2483, 8512}, - { 2766, 8801},{ 3027, 9121},{ 3279, 9482},{ 3548, 9810}, - { 3825,10069},{ 4088,10345},{ 4362,10544},{ 4638,10644}, - { 4915,10744},{ 5196,10850},{ 5471,10981},{ 5802,11136} - }, - /*Y' qi=17 INTER*/ - { - { 70, -147},{ 45, 1349},{ 106, 2894},{ 155, 4425}, - { 195, 5818},{ 225, 7099},{ 247, 8348},{ 278, 9565}, - { 328,10717},{ 399,11794},{ 491,12807},{ 609,13760}, - { 766,14623},{ 984,15349},{ 1274,15902},{ 1642,16256}, - { 2082,16411},{ 2563,16409},{ 3048,16315},{ 3508,16194}, - { 3924,16064},{ 4306,15938},{ 4656,15828},{ 4966,15733} - } - }, - { - /*Cb qi=17 INTRA*/ - { - { 3, 4},{ 57, 367},{ 101, 742},{ 126, 1182}, - { 148, 1650},{ 175, 2118},{ 207, 2565},{ 241, 2966}, - { 279, 3307},{ 331, 3588},{ 389, 3845},{ 435, 4132}, - { 474, 4408},{ 517, 4641},{ 560, 4869},{ 602, 5122}, - { 638, 5389},{ 672, 5610},{ 716, 5787},{ 758, 6002}, - { 817, 6226},{ 869, 6393},{ 916, 6530},{ 950, 6799} - }, - /*Cb qi=17 INTER*/ - { - { 105, -65},{ 86, 288},{ 66, 638},{ 54, 1014}, - { 59, 1427},{ 71, 1844},{ 86, 2257},{ 95, 2668}, - { 100, 3075},{ 103, 3476},{ 106, 3867},{ 110, 4241}, - { 112, 4598},{ 114, 4948},{ 117, 5294},{ 121, 5633}, - { 123, 5968},{ 126, 6301},{ 131, 6637},{ 136, 6968}, - { 144, 7287},{ 152, 7606},{ 158, 7931},{ 162, 8262} - } - }, - { - /*Cr qi=17 INTRA*/ - { - { 4, 6},{ 55, 376},{ 97, 765},{ 128, 1226}, - { 152, 1696},{ 175, 2144},{ 204, 2568},{ 241, 2928}, - { 282, 3250},{ 323, 3530},{ 368, 3811},{ 420, 4089}, - { 463, 4347},{ 505, 4609},{ 562, 4860},{ 609, 5094}, - { 655, 5303},{ 709, 5535},{ 759, 5740},{ 803, 5913}, - { 844, 6153},{ 879, 6350},{ 905, 6527},{ 972, 6637} - }, - /*Cr qi=17 INTER*/ - { - { 88, 8},{ 68, 330},{ 51, 653},{ 54, 1028}, - { 65, 1433},{ 77, 1845},{ 89, 2257},{ 96, 2669}, - { 100, 3081},{ 102, 3481},{ 105, 3867},{ 106, 4245}, - { 108, 4613},{ 110, 4971},{ 112, 5328},{ 115, 5679}, - { 120, 6019},{ 127, 6355},{ 133, 6686},{ 140, 7007}, - { 149, 7316},{ 158, 7618},{ 166, 7924},{ 170, 8232} - } - } - }, - { - { - /*Y' qi=18 INTRA*/ - { - { 122, -58},{ 216, 1506},{ 425, 2815},{ 665, 3822}, - { 882, 4666},{ 1088, 5425},{ 1301, 6084},{ 1529, 6653}, - { 1766, 7162},{ 2026, 7611},{ 2312, 7987},{ 2612, 8278}, - { 2913, 8551},{ 3196, 8840},{ 3454, 9184},{ 3734, 9490}, - { 4030, 9725},{ 4305, 9973},{ 4585,10162},{ 4864,10251}, - { 5150,10324},{ 5443,10420},{ 5727,10536},{ 6053,10682} - }, - /*Y' qi=18 INTER*/ - { - { 66, -143},{ 47, 1351},{ 108, 2886},{ 158, 4401}, - { 200, 5775},{ 232, 7044},{ 256, 8288},{ 292, 9493}, - { 351,10625},{ 434,11679},{ 541,12665},{ 681,13578}, - { 875,14379},{ 1136,15025},{ 1483,15475},{ 1914,15709}, - { 2399,15767},{ 2907,15699},{ 3400,15579},{ 3852,15453}, - { 4259,15332},{ 4630,15221},{ 4976,15121},{ 5294,15061} - } - }, - { - /*Cb qi=18 INTRA*/ - { - { 2, 3},{ 61, 367},{ 107, 743},{ 131, 1182}, - { 155, 1648},{ 183, 2110},{ 220, 2542},{ 260, 2927}, - { 303, 3265},{ 359, 3540},{ 416, 3785},{ 462, 4063}, - { 506, 4334},{ 553, 4567},{ 595, 4797},{ 636, 5049}, - { 676, 5304},{ 717, 5516},{ 759, 5698},{ 801, 5904}, - { 861, 6133},{ 911, 6311},{ 962, 6443},{ 1021, 6645} - }, - /*Cb qi=18 INTER*/ - { - { 126, 5},{ 95, 326},{ 66, 643},{ 55, 1015}, - { 60, 1427},{ 73, 1843},{ 87, 2256},{ 96, 2667}, - { 101, 3073},{ 104, 3470},{ 108, 3853},{ 111, 4226}, - { 114, 4584},{ 117, 4928},{ 119, 5274},{ 122, 5612}, - { 126, 5942},{ 130, 6271},{ 136, 6606},{ 141, 6931}, - { 148, 7247},{ 156, 7568},{ 164, 7891},{ 173, 8211} - } - }, - { - /*Cr qi=18 INTRA*/ - { - { 4, 6},{ 59, 376},{ 104, 765},{ 133, 1226}, - { 156, 1692},{ 184, 2136},{ 218, 2548},{ 260, 2893}, - { 308, 3204},{ 348, 3481},{ 397, 3751},{ 448, 4024}, - { 490, 4281},{ 541, 4523},{ 593, 4776},{ 634, 5022}, - { 685, 5236},{ 748, 5455},{ 812, 5638},{ 856, 5818}, - { 891, 6048},{ 928, 6230},{ 961, 6405},{ 1055, 6449} - }, - /*Cr qi=18 INTER*/ - { - { 81, 34},{ 68, 342},{ 57, 652},{ 59, 1027}, - { 67, 1439},{ 80, 1848},{ 91, 2257},{ 97, 2670}, - { 100, 3076},{ 103, 3473},{ 106, 3857},{ 108, 4231}, - { 109, 4599},{ 110, 4958},{ 113, 5307},{ 119, 5650}, - { 125, 5991},{ 130, 6325},{ 138, 6651},{ 147, 6971}, - { 153, 7278},{ 162, 7578},{ 172, 7874},{ 177, 8156} - } - } - }, - { - { - /*Y' qi=19 INTRA*/ - { - { 128, -55},{ 228, 1495},{ 448, 2775},{ 699, 3758}, - { 931, 4571},{ 1154, 5296},{ 1386, 5914},{ 1636, 6450}, - { 1894, 6930},{ 2177, 7342},{ 2479, 7698},{ 2792, 7976}, - { 3099, 8235},{ 3392, 8517},{ 3658, 8853},{ 3938, 9155}, - { 4242, 9371},{ 4527, 9605},{ 4810, 9781},{ 5089, 9853}, - { 5378, 9920},{ 5674,10009},{ 5972,10110},{ 6336,10196} - }, - /*Y' qi=19 INTER*/ - { - { 69, -147},{ 49, 1353},{ 111, 2883},{ 162, 4381}, - { 205, 5737},{ 237, 6996},{ 264, 8232},{ 307, 9421}, - { 376,10534},{ 472,11567},{ 596,12525},{ 761,13395}, - { 990,14130},{ 1298,14694},{ 1695,15053},{ 2172,15195}, - { 2696,15173},{ 3213,15075},{ 3696,14948},{ 4141,14829}, - { 4541,14721},{ 4910,14609},{ 5245,14506},{ 5536,14399} - } - }, - { - /*Cb qi=19 INTRA*/ - { - { 3, 3},{ 61, 367},{ 109, 743},{ 135, 1182}, - { 161, 1646},{ 191, 2101},{ 229, 2524},{ 273, 2898}, - { 318, 3221},{ 376, 3490},{ 436, 3731},{ 487, 3994}, - { 539, 4251},{ 584, 4485},{ 621, 4721},{ 664, 4967}, - { 709, 5225},{ 752, 5431},{ 801, 5595},{ 846, 5796}, - { 912, 6011},{ 959, 6193},{ 1015, 6321},{ 1121, 6504} - }, - /*Cb qi=19 INTER*/ - { - { 126, 4},{ 97, 329},{ 69, 649},{ 56, 1017}, - { 61, 1432},{ 74, 1846},{ 88, 2255},{ 98, 2663}, - { 103, 3065},{ 106, 3460},{ 110, 3844},{ 114, 4211}, - { 117, 4564},{ 120, 4911},{ 122, 5253},{ 125, 5588}, - { 129, 5916},{ 135, 6241},{ 142, 6567},{ 149, 6885}, - { 155, 7206},{ 163, 7527},{ 174, 7843},{ 188, 8145} - } - }, - { - /*Cr qi=19 INTRA*/ - { - { 5, 6},{ 61, 376},{ 106, 765},{ 135, 1225}, - { 160, 1689},{ 192, 2126},{ 229, 2531},{ 271, 2869}, - { 321, 3168},{ 370, 3433},{ 421, 3704},{ 476, 3965}, - { 520, 4212},{ 572, 4452},{ 629, 4691},{ 671, 4939}, - { 724, 5152},{ 792, 5347},{ 858, 5510},{ 895, 5696}, - { 939, 5905},{ 991, 6056},{ 1027, 6244},{ 1127, 6333} - }, - /*Cr qi=19 INTER*/ - { - { 80, 45},{ 66, 344},{ 55, 654},{ 56, 1030}, - { 66, 1440},{ 80, 1850},{ 91, 2259},{ 98, 2668}, - { 102, 3072},{ 104, 3466},{ 107, 3845},{ 109, 4215}, - { 110, 4578},{ 112, 4933},{ 116, 5283},{ 122, 5625}, - { 129, 5963},{ 136, 6287},{ 143, 6611},{ 151, 6927}, - { 160, 7229},{ 170, 7528},{ 181, 7818},{ 191, 8092} - } - } - }, - { - { - /*Y' qi=20 INTRA*/ - { - { 129, -50},{ 238, 1481},{ 469, 2728},{ 730, 3684}, - { 974, 4473},{ 1213, 5171},{ 1463, 5763},{ 1729, 6281}, - { 2002, 6744},{ 2299, 7146},{ 2613, 7492},{ 2940, 7746}, - { 3265, 7978},{ 3571, 8228},{ 3853, 8543},{ 4156, 8815}, - { 4476, 9001},{ 4775, 9218},{ 5070, 9373},{ 5352, 9446}, - { 5649, 9510},{ 5956, 9580},{ 6268, 9660},{ 6647, 9705} - }, - /*Y' qi=20 INTER*/ - { - { 64, -93},{ 52, 1340},{ 116, 2862},{ 170, 4344}, - { 216, 5678},{ 249, 6928},{ 281, 8155},{ 333, 9326}, - { 418,10410},{ 533,11411},{ 683,12329},{ 890,13127}, - { 1183,13750},{ 1579,14162},{ 2066,14357},{ 2611,14370}, - { 3159,14284},{ 3675,14167},{ 4142,14053},{ 4568,13953}, - { 4961,13852},{ 5320,13755},{ 5649,13675},{ 5933,13610} - } - }, - { - /*Cb qi=20 INTRA*/ - { - { 3, 3},{ 62, 367},{ 112, 743},{ 140, 1183}, - { 165, 1646},{ 196, 2099},{ 235, 2517},{ 284, 2883}, - { 334, 3198},{ 393, 3460},{ 457, 3690},{ 509, 3945}, - { 560, 4198},{ 605, 4435},{ 647, 4658},{ 699, 4888}, - { 742, 5155},{ 788, 5350},{ 835, 5517},{ 880, 5730}, - { 956, 5914},{ 1007, 6060},{ 1053, 6199},{ 1158, 6358} - }, - /*Cb qi=20 INTER*/ - { - { 128, -6},{ 96, 322},{ 66, 653},{ 54, 1025}, - { 63, 1431},{ 79, 1844},{ 91, 2256},{ 99, 2665}, - { 104, 3065},{ 107, 3455},{ 111, 3831},{ 115, 4189}, - { 120, 4539},{ 123, 4885},{ 126, 5219},{ 130, 5548}, - { 135, 5876},{ 141, 6199},{ 149, 6519},{ 156, 6837}, - { 166, 7153},{ 179, 7468},{ 189, 7784},{ 194, 8102} - } - }, - { - /*Cr qi=20 INTRA*/ - { - { 4, 6},{ 63, 376},{ 109, 765},{ 139, 1225}, - { 165, 1689},{ 199, 2124},{ 239, 2523},{ 285, 2852}, - { 340, 3140},{ 388, 3398},{ 438, 3662},{ 499, 3914}, - { 547, 4155},{ 596, 4392},{ 652, 4634},{ 699, 4877}, - { 759, 5074},{ 824, 5257},{ 883, 5428},{ 936, 5589}, - { 986, 5790},{ 1030, 5960},{ 1074, 6119},{ 1172, 6191} - }, - /*Cr qi=20 INTER*/ - { - { 92, 40},{ 70, 345},{ 55, 658},{ 57, 1034}, - { 69, 1441},{ 84, 1852},{ 94, 2261},{ 98, 2669}, - { 102, 3074},{ 105, 3465},{ 107, 3841},{ 110, 4206}, - { 112, 4562},{ 116, 4915},{ 121, 5260},{ 127, 5591}, - { 134, 5920},{ 142, 6246},{ 153, 6562},{ 163, 6870}, - { 173, 7170},{ 186, 7463},{ 198, 7746},{ 199, 8030} - } - } - }, - { - { - /*Y' qi=21 INTRA*/ - { - { 130, -51},{ 244, 1476},{ 483, 2705},{ 756, 3635}, - { 1013, 4396},{ 1266, 5070},{ 1530, 5647},{ 1806, 6153}, - { 2093, 6600},{ 2411, 6976},{ 2739, 7299},{ 3079, 7534}, - { 3422, 7744},{ 3738, 7987},{ 4032, 8274},{ 4348, 8533}, - { 4675, 8721},{ 4989, 8909},{ 5291, 9051},{ 5577, 9111}, - { 5879, 9163},{ 6190, 9228},{ 6506, 9286},{ 6899, 9295} - }, - /*Y' qi=21 INTER*/ - { - { 64, -56},{ 55, 1341},{ 119, 2859},{ 174, 4324}, - { 223, 5640},{ 258, 6880},{ 295, 8096},{ 359, 9246}, - { 460,10302},{ 595,11268},{ 778,12131},{ 1032,12857}, - { 1387,13385},{ 1850,13683},{ 2399,13774},{ 2976,13729}, - { 3527,13619},{ 4034,13504},{ 4492,13401},{ 4912,13291}, - { 5298,13209},{ 5648,13137},{ 5974,13046},{ 6308,12977} - } - }, - { - /*Cb qi=21 INTRA*/ - { - { 4, 3},{ 64, 367},{ 114, 743},{ 141, 1183}, - { 166, 1645},{ 201, 2092},{ 247, 2502},{ 299, 2856}, - { 352, 3158},{ 413, 3412},{ 480, 3642},{ 536, 3893}, - { 588, 4137},{ 637, 4367},{ 678, 4598},{ 725, 4834}, - { 774, 5083},{ 827, 5269},{ 883, 5420},{ 930, 5633}, - { 999, 5829},{ 1057, 5959},{ 1113, 6082},{ 1200, 6265} - }, - /*Cb qi=21 INTER*/ - { - { 109, -8},{ 84, 321},{ 62, 654},{ 54, 1028}, - { 64, 1434},{ 80, 1847},{ 92, 2259},{ 100, 2664}, - { 105, 3060},{ 109, 3445},{ 114, 3815},{ 118, 4172}, - { 122, 4519},{ 126, 4861},{ 128, 5194},{ 133, 5520}, - { 139, 5847},{ 146, 6169},{ 155, 6487},{ 166, 6801}, - { 177, 7114},{ 189, 7423},{ 201, 7729},{ 208, 8035} - } - }, - { - /*Cr qi=21 INTRA*/ - { - { 4, 6},{ 64, 377},{ 111, 766},{ 144, 1225}, - { 174, 1683},{ 206, 2114},{ 248, 2506},{ 302, 2824}, - { 357, 3099},{ 404, 3357},{ 455, 3622},{ 519, 3867}, - { 573, 4098},{ 625, 4331},{ 683, 4571},{ 733, 4802}, - { 793, 4994},{ 863, 5173},{ 926, 5337},{ 978, 5492}, - { 1030, 5685},{ 1079, 5856},{ 1126, 6027},{ 1217, 6159} - }, - /*Cr qi=21 INTER*/ - { - { 82, 29},{ 67, 341},{ 55, 660},{ 58, 1038}, - { 71, 1443},{ 85, 1851},{ 95, 2258},{ 99, 2666}, - { 103, 3069},{ 107, 3456},{ 110, 3826},{ 112, 4188}, - { 114, 4544},{ 118, 4891},{ 124, 5231},{ 132, 5567}, - { 139, 5894},{ 148, 6210},{ 159, 6520},{ 171, 6822}, - { 185, 7111},{ 196, 7403},{ 209, 7691},{ 225, 7945} - } - } - }, - { - { - /*Y' qi=22 INTRA*/ - { - { 128, -45},{ 254, 1463},{ 507, 2662},{ 794, 3562}, - { 1070, 4292},{ 1340, 4941},{ 1622, 5492},{ 1920, 5968}, - { 2229, 6387},{ 2565, 6742},{ 2911, 7047},{ 3263, 7264}, - { 3615, 7464},{ 3944, 7689},{ 4258, 7950},{ 4591, 8183}, - { 4934, 8347},{ 5259, 8517},{ 5573, 8634},{ 5870, 8683}, - { 6186, 8723},{ 6508, 8762},{ 6831, 8801},{ 7232, 8830} - }, - /*Y' qi=22 INTER*/ - { - { 77, -48},{ 57, 1343},{ 122, 2853},{ 180, 4299}, - { 231, 5597},{ 269, 6826},{ 314, 8025},{ 393, 9150}, - { 512,10179},{ 673,11103},{ 894,11908},{ 1207,12542}, - { 1635,12956},{ 2166,13148},{ 2755,13167},{ 3345,13088}, - { 3895,12966},{ 4386,12848},{ 4832,12746},{ 5252,12647}, - { 5634,12563},{ 5978,12497},{ 6299,12412},{ 6633,12338} - } - }, - { - /*Cb qi=22 INTRA*/ - { - { 4, 3},{ 66, 367},{ 122, 744},{ 153, 1182}, - { 177, 1640},{ 213, 2080},{ 263, 2475},{ 323, 2811}, - { 382, 3103},{ 451, 3346},{ 522, 3568},{ 581, 3814}, - { 633, 4054},{ 674, 4288},{ 719, 4523},{ 768, 4756}, - { 823, 4979},{ 883, 5162},{ 937, 5325},{ 996, 5510}, - { 1070, 5687},{ 1129, 5807},{ 1193, 5929},{ 1311, 6099} - }, - /*Cb qi=22 INTER*/ - { - { 107, -5},{ 83, 322},{ 61, 653},{ 55, 1030}, - { 66, 1436},{ 81, 1845},{ 94, 2253},{ 102, 2656}, - { 107, 3050},{ 111, 3435},{ 115, 3804},{ 119, 4158}, - { 124, 4501},{ 128, 4835},{ 132, 5164},{ 138, 5490}, - { 146, 5812},{ 154, 6128},{ 163, 6442},{ 174, 6754}, - { 188, 7060},{ 205, 7361},{ 219, 7662},{ 233, 7953} - } - }, - { - /*Cr qi=22 INTRA*/ - { - { 4, 6},{ 67, 378},{ 118, 767},{ 151, 1222}, - { 182, 1675},{ 221, 2097},{ 269, 2476},{ 329, 2774}, - { 389, 3039},{ 444, 3292},{ 500, 3545},{ 560, 3788}, - { 615, 4020},{ 671, 4251},{ 734, 4484},{ 781, 4712}, - { 850, 4887},{ 925, 5060},{ 981, 5229},{ 1031, 5369}, - { 1092, 5549},{ 1148, 5715},{ 1200, 5861},{ 1291, 5943} - }, - /*Cr qi=22 INTER*/ - { - { 88, 34},{ 69, 340},{ 57, 657},{ 60, 1039}, - { 73, 1445},{ 87, 1851},{ 96, 2257},{ 100, 2662}, - { 103, 3058},{ 107, 3442},{ 111, 3812},{ 115, 4172}, - { 118, 4524},{ 123, 4864},{ 129, 5199},{ 136, 5531}, - { 145, 5855},{ 156, 6168},{ 170, 6468},{ 184, 6765}, - { 193, 7066},{ 207, 7353},{ 222, 7628},{ 230, 7900} - } - } - }, - { - { - /*Y' qi=23 INTRA*/ - { - { 126, -40},{ 257, 1458},{ 521, 2636},{ 825, 3501}, - { 1111, 4207},{ 1391, 4842},{ 1684, 5385},{ 1992, 5858}, - { 2311, 6277},{ 2653, 6626},{ 3005, 6929},{ 3366, 7134}, - { 3729, 7311},{ 4071, 7526},{ 4396, 7770},{ 4734, 7986}, - { 5086, 8131},{ 5421, 8286},{ 5735, 8404},{ 6033, 8456}, - { 6357, 8486},{ 6682, 8525},{ 7003, 8573},{ 7387, 8604} - }, - /*Y' qi=23 INTER*/ - { - { 64, -57},{ 60, 1345},{ 124, 2853},{ 185, 4284}, - { 239, 5565},{ 282, 6783},{ 336, 7967},{ 429, 9069}, - { 568,10063},{ 758,10943},{ 1028,11679},{ 1407,12216}, - { 1909,12520},{ 2502,12616},{ 3126,12573},{ 3722,12461}, - { 4258,12344},{ 4742,12236},{ 5185,12136},{ 5590,12052}, - { 5970,11980},{ 6315,11901},{ 6631,11826},{ 6954,11769} - } - }, - { - /*Cb qi=23 INTRA*/ - { - { 3, 3},{ 70, 367},{ 124, 744},{ 151, 1182}, - { 181, 1637},{ 222, 2071},{ 276, 2460},{ 343, 2785}, - { 403, 3072},{ 468, 3317},{ 542, 3534},{ 605, 3773}, - { 659, 4009},{ 703, 4243},{ 747, 4479},{ 795, 4707}, - { 852, 4923},{ 908, 5105},{ 972, 5254},{ 1043, 5423}, - { 1118, 5594},{ 1172, 5731},{ 1240, 5853},{ 1365, 6005} - }, - /*Cb qi=23 INTER*/ - { - { 109, -10},{ 87, 325},{ 63, 650},{ 57, 1031}, - { 67, 1439},{ 83, 1847},{ 96, 2253},{ 103, 2652}, - { 109, 3041},{ 114, 3421},{ 117, 3789},{ 122, 4141}, - { 128, 4480},{ 134, 4811},{ 139, 5138},{ 144, 5463}, - { 152, 5781},{ 161, 6096},{ 174, 6404},{ 185, 6714}, - { 198, 7023},{ 216, 7320},{ 233, 7621},{ 245, 7935} - } - }, - { - /*Cr qi=23 INTRA*/ - { - { 5, 6},{ 70, 379},{ 122, 768},{ 155, 1222}, - { 187, 1671},{ 231, 2088},{ 283, 2459},{ 346, 2750}, - { 411, 3009},{ 465, 3261},{ 523, 3509},{ 585, 3746}, - { 639, 3980},{ 695, 4219},{ 754, 4449},{ 803, 4671}, - { 873, 4840},{ 953, 5001},{ 1015, 5156},{ 1071, 5286}, - { 1137, 5464},{ 1191, 5629},{ 1249, 5782},{ 1359, 5885} - }, - /*Cr qi=23 INTER*/ - { - { 84, 29},{ 69, 343},{ 58, 660},{ 62, 1041}, - { 75, 1448},{ 88, 1853},{ 97, 2258},{ 102, 2659}, - { 105, 3050},{ 108, 3430},{ 113, 3799},{ 116, 4155}, - { 121, 4505},{ 126, 4845},{ 132, 5176},{ 142, 5504}, - { 153, 5826},{ 165, 6133},{ 180, 6432},{ 197, 6722}, - { 212, 7005},{ 226, 7287},{ 244, 7555},{ 258, 7828} - } - } - }, - { - { - /*Y' qi=24 INTRA*/ - { - { 125, -34},{ 268, 1444},{ 547, 2590},{ 866, 3422}, - { 1172, 4098},{ 1476, 4702},{ 1790, 5222},{ 2117, 5678}, - { 2453, 6080},{ 2811, 6418},{ 3178, 6700},{ 3552, 6895}, - { 3928, 7055},{ 4286, 7243},{ 4627, 7477},{ 4981, 7674}, - { 5344, 7802},{ 5683, 7944},{ 6009, 8043},{ 6313, 8082}, - { 6633, 8111},{ 6959, 8151},{ 7280, 8197},{ 7660, 8221} - }, - /*Y' qi=24 INTER*/ - { - { 62, -63},{ 68, 1345},{ 134, 2840},{ 199, 4245}, - { 256, 5508},{ 304, 6715},{ 371, 7880},{ 484, 8950}, - { 652, 9899},{ 892,10709},{ 1238,11334},{ 1722,11722}, - { 2326,11875},{ 2983,11864},{ 3616,11783},{ 4189,11678}, - { 4707,11570},{ 5178,11476},{ 5617,11395},{ 6017,11319}, - { 6380,11252},{ 6720,11185},{ 7044,11126},{ 7377,11118} - } - }, - { - /*Cb qi=24 INTRA*/ - { - { 4, 3},{ 75, 367},{ 132, 745},{ 159, 1182}, - { 187, 1634},{ 230, 2061},{ 289, 2439},{ 361, 2753}, - { 425, 3034},{ 492, 3278},{ 566, 3490},{ 630, 3720}, - { 686, 3956},{ 732, 4190},{ 777, 4420},{ 829, 4637}, - { 894, 4840},{ 958, 5012},{ 1023, 5155},{ 1090, 5326}, - { 1165, 5502},{ 1226, 5622},{ 1299, 5717},{ 1408, 5887} - }, - /*Cb qi=24 INTER*/ - { - { 110, 35},{ 92, 337},{ 70, 651},{ 63, 1033}, - { 74, 1440},{ 91, 1846},{ 102, 2248},{ 109, 2644}, - { 114, 3031},{ 120, 3404},{ 127, 3762},{ 133, 4109}, - { 138, 4445},{ 144, 4772},{ 151, 5094},{ 159, 5411}, - { 168, 5728},{ 180, 6037},{ 195, 6338},{ 210, 6640}, - { 227, 6944},{ 249, 7236},{ 272, 7528},{ 299, 7809} - } - }, - { - /*Cr qi=24 INTRA*/ - { - { 5, 6},{ 72, 380},{ 124, 770},{ 158, 1222}, - { 195, 1668},{ 240, 2079},{ 297, 2438},{ 367, 2715}, - { 433, 2966},{ 488, 3218},{ 549, 3467},{ 609, 3701}, - { 664, 3935},{ 728, 4165},{ 792, 4379},{ 845, 4586}, - { 917, 4744},{ 995, 4898},{ 1063, 5049},{ 1120, 5187}, - { 1190, 5359},{ 1249, 5522},{ 1304, 5672},{ 1397, 5806} - }, - /*Cr qi=24 INTER*/ - { - { 91, 56},{ 73, 353},{ 61, 664},{ 66, 1045}, - { 80, 1449},{ 95, 1851},{ 103, 2250},{ 107, 2648}, - { 111, 3038},{ 116, 3413},{ 120, 3774},{ 124, 4128}, - { 130, 4471},{ 138, 4802},{ 145, 5130},{ 156, 5453}, - { 171, 5764},{ 187, 6061},{ 204, 6355},{ 220, 6643}, - { 238, 6923},{ 254, 7204},{ 275, 7475},{ 289, 7752} - } - } - }, - { - { - /*Y' qi=25 INTRA*/ - { - { 125, -28},{ 285, 1426},{ 582, 2540},{ 917, 3351}, - { 1244, 3997},{ 1569, 4570},{ 1903, 5071},{ 2258, 5498}, - { 2626, 5866},{ 3002, 6182},{ 3382, 6448},{ 3770, 6623}, - { 4162, 6760},{ 4528, 6934},{ 4882, 7144},{ 5249, 7328}, - { 5610, 7453},{ 5958, 7578},{ 6291, 7672},{ 6597, 7708}, - { 6928, 7715},{ 7258, 7737},{ 7575, 7781},{ 7950, 7829} - }, - /*Y' qi=25 INTER*/ - { - { 64, -16},{ 72, 1348},{ 139, 2832},{ 206, 4218}, - { 268, 5465},{ 322, 6659},{ 403, 7803},{ 540, 8838}, - { 747, 9734},{ 1044,10465},{ 1473,10981},{ 2048,11249}, - { 2717,11311},{ 3397,11257},{ 4025,11161},{ 4589,11052}, - { 5099,10947},{ 5560,10859},{ 5989,10786},{ 6389,10717}, - { 6753,10652},{ 7078,10592},{ 7389,10535},{ 7697,10460} - } - }, - { - /*Cb qi=25 INTRA*/ - { - { 3, 3},{ 78, 368},{ 133, 745},{ 159, 1180}, - { 193, 1627},{ 242, 2046},{ 304, 2411},{ 381, 2714}, - { 456, 2983},{ 527, 3224},{ 598, 3437},{ 667, 3655}, - { 726, 3888},{ 776, 4117},{ 826, 4333},{ 883, 4543}, - { 954, 4727},{ 1019, 4878},{ 1095, 5014},{ 1171, 5187}, - { 1255, 5342},{ 1319, 5458},{ 1396, 5546},{ 1536, 5678} - }, - /*Cb qi=25 INTER*/ - { - { 117, 32},{ 89, 342},{ 67, 660},{ 64, 1037}, - { 77, 1441},{ 93, 1845},{ 105, 2243},{ 113, 2633}, - { 120, 3016},{ 125, 3387},{ 131, 3739},{ 137, 4080}, - { 144, 4416},{ 152, 4741},{ 160, 5057},{ 169, 5369}, - { 180, 5680},{ 193, 5990},{ 209, 6294},{ 227, 6594}, - { 249, 6888},{ 269, 7180},{ 294, 7467},{ 317, 7768} - } - }, - { - /*Cr qi=25 INTRA*/ - { - { 6, 6},{ 74, 380},{ 129, 770},{ 165, 1220}, - { 201, 1658},{ 253, 2061},{ 315, 2410},{ 388, 2676}, - { 462, 2920},{ 523, 3166},{ 584, 3404},{ 647, 3637}, - { 701, 3870},{ 769, 4086},{ 838, 4296},{ 898, 4491}, - { 980, 4627},{ 1065, 4759},{ 1126, 4920},{ 1187, 5058}, - { 1283, 5180},{ 1347, 5332},{ 1404, 5475},{ 1527, 5534} - }, - /*Cr qi=25 INTER*/ - { - { 92, 41},{ 75, 347},{ 64, 664},{ 70, 1045}, - { 85, 1448},{ 98, 1849},{ 105, 2245},{ 110, 2637}, - { 115, 3023},{ 120, 3395},{ 126, 3753},{ 131, 4102}, - { 136, 4439},{ 145, 4768},{ 156, 5094},{ 168, 5410}, - { 184, 5717},{ 203, 6010},{ 221, 6300},{ 239, 6577}, - { 262, 6847},{ 282, 7123},{ 303, 7390},{ 322, 7665} - } - } - }, - { - { - /*Y' qi=26 INTRA*/ - { - { 130, -24},{ 292, 1423},{ 594, 2525},{ 943, 3307}, - { 1289, 3921},{ 1633, 4467},{ 1991, 4943},{ 2368, 5348}, - { 2753, 5696},{ 3148, 5991},{ 3545, 6247},{ 3942, 6415}, - { 4342, 6535},{ 4726, 6690},{ 5093, 6883},{ 5466, 7047}, - { 5840, 7159},{ 6202, 7274},{ 6545, 7351},{ 6855, 7375}, - { 7186, 7384},{ 7517, 7416},{ 7840, 7447},{ 8238, 7450} - }, - /*Y' qi=26 INTER*/ - { - { 52, 16},{ 75, 1336},{ 143, 2815},{ 213, 4191}, - { 278, 5427},{ 339, 6611},{ 436, 7734},{ 600, 8732}, - { 843, 9579},{ 1195,10243},{ 1702,10660},{ 2355,10825}, - { 3070,10820},{ 3755,10743},{ 4372,10643},{ 4925,10538}, - { 5426,10440},{ 5882,10354},{ 6296,10290},{ 6686,10224}, - { 7049,10163},{ 7380,10113},{ 7672,10062},{ 7937,10021} - } - }, - { - /*Cb qi=26 INTRA*/ - { - { 4, 3},{ 79, 368},{ 138, 745},{ 167, 1180}, - { 200, 1623},{ 252, 2034},{ 322, 2389},{ 403, 2682}, - { 480, 2941},{ 558, 3176},{ 631, 3393},{ 700, 3608}, - { 766, 3825},{ 819, 4046},{ 868, 4265},{ 926, 4472}, - { 1002, 4645},{ 1070, 4800},{ 1151, 4924},{ 1242, 5063}, - { 1325, 5221},{ 1393, 5338},{ 1464, 5431},{ 1595, 5559} - }, - /*Cb qi=26 INTER*/ - { - { 98, 33},{ 83, 343},{ 65, 662},{ 65, 1037}, - { 80, 1437},{ 96, 1839},{ 107, 2238},{ 115, 2628}, - { 122, 3007},{ 128, 3373},{ 134, 3722},{ 142, 4060}, - { 149, 4390},{ 158, 4713},{ 167, 5029},{ 178, 5341}, - { 191, 5647},{ 208, 5948},{ 227, 6244},{ 247, 6539}, - { 269, 6833},{ 295, 7114},{ 328, 7388},{ 369, 7658} - } - }, - { - /*Cr qi=26 INTRA*/ - { - { 5, 6},{ 75, 380},{ 133, 769},{ 172, 1217}, - { 212, 1652},{ 266, 2048},{ 333, 2384},{ 412, 2643}, - { 490, 2880},{ 552, 3124},{ 616, 3365},{ 681, 3594}, - { 739, 3816},{ 810, 4024},{ 880, 4224},{ 945, 4405}, - { 1029, 4538},{ 1114, 4674},{ 1183, 4822},{ 1254, 4946}, - { 1346, 5063},{ 1417, 5201},{ 1478, 5345},{ 1597, 5411} - }, - /*Cr qi=26 INTER*/ - { - { 97, 29},{ 75, 342},{ 62, 667},{ 70, 1047}, - { 87, 1447},{ 100, 1846},{ 107, 2242},{ 113, 2633}, - { 118, 3016},{ 123, 3382},{ 128, 3737},{ 135, 4082}, - { 142, 4417},{ 151, 4746},{ 162, 5066},{ 176, 5377}, - { 194, 5679},{ 217, 5963},{ 239, 6244},{ 260, 6522}, - { 284, 6789},{ 309, 7052},{ 335, 7313},{ 355, 7582} - } - } - }, - { - { - /*Y' qi=27 INTRA*/ - { - { 118, -10},{ 308, 1404},{ 630, 2473},{ 997, 3227}, - { 1360, 3819},{ 1719, 4354},{ 2086, 4829},{ 2470, 5233}, - { 2863, 5576},{ 3267, 5870},{ 3677, 6117},{ 4085, 6268}, - { 4499, 6376},{ 4888, 6521},{ 5257, 6705},{ 5638, 6865}, - { 6020, 6962},{ 6394, 7056},{ 6744, 7130},{ 7051, 7158}, - { 7386, 7164},{ 7717, 7185},{ 8042, 7209},{ 8444, 7206} - }, - /*Y' qi=27 INTER*/ - { - { 54, 19},{ 77, 1333},{ 147, 2806},{ 221, 4166}, - { 290, 5390},{ 360, 6564},{ 474, 7665},{ 664, 8630}, - { 949, 9423},{ 1370,10002},{ 1958,10323},{ 2670,10414}, - { 3406,10375},{ 4086,10285},{ 4691,10182},{ 5233,10085}, - { 5724, 9994},{ 6169, 9918},{ 6582, 9863},{ 6962, 9813}, - { 7316, 9759},{ 7645, 9707},{ 7948, 9660},{ 8262, 9623} - } - }, - { - /*Cb qi=27 INTRA*/ - { - { 4, 3},{ 79, 368},{ 137, 745},{ 166, 1180}, - { 200, 1622},{ 253, 2030},{ 324, 2381},{ 407, 2671}, - { 487, 2925},{ 567, 3156},{ 640, 3372},{ 712, 3580}, - { 782, 3792},{ 833, 4015},{ 887, 4227},{ 954, 4422}, - { 1031, 4592},{ 1103, 4738},{ 1187, 4856},{ 1280, 4990}, - { 1371, 5135},{ 1442, 5244},{ 1520, 5321},{ 1684, 5398} - }, - /*Cb qi=27 INTER*/ - { - { 113, 20},{ 90, 338},{ 66, 661},{ 67, 1034}, - { 82, 1438},{ 97, 1842},{ 108, 2238},{ 115, 2624}, - { 123, 3000},{ 130, 3361},{ 138, 3708},{ 146, 4040}, - { 155, 4367},{ 164, 4688},{ 174, 4999},{ 186, 5306}, - { 203, 5609},{ 222, 5908},{ 243, 6202},{ 268, 6494}, - { 295, 6781},{ 326, 7058},{ 367, 7319},{ 420, 7551} - } - }, - { - /*Cr qi=27 INTRA*/ - { - { 5, 6},{ 75, 380},{ 133, 770},{ 173, 1217}, - { 214, 1650},{ 268, 2040},{ 337, 2375},{ 418, 2631}, - { 496, 2862},{ 558, 3104},{ 625, 3346},{ 692, 3571}, - { 753, 3786},{ 825, 3989},{ 896, 4182},{ 969, 4352}, - { 1059, 4479},{ 1144, 4614},{ 1212, 4757},{ 1284, 4871}, - { 1380, 4982},{ 1457, 5125},{ 1528, 5267},{ 1651, 5346} - }, - /*Cr qi=27 INTER*/ - { - { 92, 24},{ 74, 341},{ 61, 669},{ 71, 1049}, - { 88, 1448},{ 100, 1849},{ 107, 2243},{ 113, 2631}, - { 119, 3010},{ 125, 3373},{ 131, 3723},{ 137, 4064}, - { 146, 4396},{ 159, 4720},{ 172, 5033},{ 189, 5340}, - { 210, 5636},{ 233, 5920},{ 256, 6197},{ 282, 6465}, - { 310, 6730},{ 332, 7000},{ 359, 7259},{ 385, 7515} - } - } - }, - { - { - /*Y' qi=28 INTRA*/ - { - { 116, -8},{ 314, 1400},{ 640, 2458},{ 1013, 3197}, - { 1386, 3768},{ 1762, 4279},{ 2151, 4733},{ 2558, 5117}, - { 2970, 5442},{ 3393, 5714},{ 3820, 5935},{ 4243, 6069}, - { 4671, 6161},{ 5074, 6289},{ 5456, 6457},{ 5849, 6598}, - { 6244, 6689},{ 6632, 6777},{ 6984, 6833},{ 7294, 6855}, - { 7625, 6862},{ 7961, 6875},{ 8302, 6890},{ 8720, 6883} - }, - /*Y' qi=28 INTER*/ - { - { 54, 8},{ 81, 1333},{ 154, 2793},{ 231, 4138}, - { 304, 5352},{ 384, 6512},{ 519, 7585},{ 743, 8508}, - { 1082, 9236},{ 1587, 9717},{ 2267, 9928},{ 3034, 9944}, - { 3775, 9878},{ 4438, 9786},{ 5031, 9686},{ 5563, 9601}, - { 6042, 9523},{ 6481, 9456},{ 6890, 9405},{ 7266, 9356}, - { 7614, 9313},{ 7933, 9265},{ 8238, 9220},{ 8545, 9193} - } - }, - { - /*Cb qi=28 INTRA*/ - { - { 3, 3},{ 80, 368},{ 138, 746},{ 168, 1179}, - { 208, 1615},{ 268, 2014},{ 345, 2354},{ 432, 2637}, - { 515, 2884},{ 595, 3108},{ 669, 3323},{ 745, 3533}, - { 818, 3740},{ 876, 3953},{ 932, 4160},{ 1003, 4349}, - { 1088, 4501},{ 1154, 4648},{ 1241, 4768},{ 1349, 4889}, - { 1441, 5023},{ 1524, 5113},{ 1611, 5187},{ 1783, 5283} - }, - /*Cb qi=28 INTER*/ - { - { 117, 29},{ 91, 341},{ 65, 663},{ 68, 1038}, - { 85, 1440},{ 100, 1841},{ 110, 2234},{ 119, 2616}, - { 127, 2985},{ 135, 3342},{ 142, 3685},{ 151, 4015}, - { 162, 4337},{ 174, 4652},{ 186, 4960},{ 201, 5264}, - { 218, 5567},{ 239, 5863},{ 266, 6149},{ 295, 6434}, - { 328, 6715},{ 371, 6976},{ 409, 7239},{ 460, 7477} - } - }, - { - /*Cr qi=28 INTRA*/ - { - { 6, 7},{ 79, 381},{ 138, 771},{ 178, 1215}, - { 222, 1644},{ 285, 2026},{ 359, 2347},{ 441, 2597}, - { 521, 2827},{ 588, 3066},{ 655, 3303},{ 725, 3523}, - { 791, 3728},{ 870, 3920},{ 950, 4103},{ 1030, 4265}, - { 1121, 4388},{ 1198, 4520},{ 1266, 4659},{ 1356, 4759}, - { 1461, 4865},{ 1540, 4993},{ 1619, 5115},{ 1786, 5160} - }, - /*Cr qi=28 INTER*/ - { - { 96, 18},{ 78, 340},{ 66, 672},{ 74, 1051}, - { 90, 1450},{ 103, 1845},{ 110, 2235},{ 116, 2619}, - { 122, 2995},{ 129, 3356},{ 137, 3702},{ 146, 4038}, - { 156, 4365},{ 168, 4684},{ 182, 4995},{ 203, 5297}, - { 227, 5588},{ 253, 5866},{ 282, 6131},{ 311, 6394}, - { 339, 6664},{ 366, 6918},{ 400, 7171},{ 424, 7450} - } - } - }, - { - { - /*Y' qi=29 INTRA*/ - { - { 112, 7},{ 334, 1382},{ 681, 2410},{ 1081, 3112}, - { 1484, 3650},{ 1894, 4128},{ 2316, 4547},{ 2749, 4905}, - { 3188, 5208},{ 3634, 5458},{ 4079, 5666},{ 4517, 5791}, - { 4952, 5870},{ 5359, 5983},{ 5754, 6137},{ 6165, 6268}, - { 6568, 6351},{ 6958, 6423},{ 7320, 6471},{ 7638, 6490}, - { 7979, 6490},{ 8313, 6499},{ 8651, 6517},{ 9085, 6499} - }, - /*Y' qi=29 INTER*/ - { - { 55, 15},{ 85, 1336},{ 160, 2780},{ 242, 4104}, - { 323, 5302},{ 418, 6443},{ 586, 7480},{ 859, 8342}, - { 1278, 8982},{ 1888, 9347},{ 2658, 9457},{ 3457, 9425}, - { 4192, 9343},{ 4842, 9247},{ 5417, 9162},{ 5935, 9086}, - { 6404, 9011},{ 6841, 8952},{ 7241, 8907},{ 7609, 8867}, - { 7953, 8832},{ 8267, 8792},{ 8562, 8740},{ 8836, 8701} - } - }, - { - /*Cb qi=29 INTRA*/ - { - { 5, 3},{ 84, 368},{ 144, 746},{ 176, 1175}, - { 219, 1604},{ 285, 1991},{ 372, 2318},{ 462, 2591}, - { 546, 2833},{ 628, 3058},{ 704, 3274},{ 788, 3473}, - { 870, 3664},{ 935, 3865},{ 995, 4059},{ 1072, 4239}, - { 1167, 4388},{ 1248, 4518},{ 1334, 4634},{ 1429, 4765}, - { 1536, 4884},{ 1628, 4964},{ 1716, 5038},{ 1885, 5128} - }, - /*Cb qi=29 INTER*/ - { - { 126, 25},{ 95, 340},{ 69, 662},{ 71, 1039}, - { 88, 1440},{ 102, 1839},{ 113, 2227},{ 122, 2604}, - { 132, 2969},{ 141, 3320},{ 151, 3659},{ 161, 3985}, - { 172, 4301},{ 186, 4612},{ 200, 4917},{ 219, 5213}, - { 241, 5509},{ 265, 5800},{ 296, 6081},{ 329, 6360}, - { 369, 6633},{ 414, 6899},{ 465, 7148},{ 520, 7387} - } - }, - { - /*Cr qi=29 INTRA*/ - { - { 6, 7},{ 82, 382},{ 142, 772},{ 185, 1211}, - { 233, 1632},{ 303, 2000},{ 388, 2306},{ 475, 2550}, - { 556, 2779},{ 627, 3007},{ 707, 3237},{ 778, 3459}, - { 843, 3654},{ 927, 3834},{ 1012, 4012},{ 1101, 4152}, - { 1197, 4262},{ 1275, 4399},{ 1359, 4511},{ 1455, 4596}, - { 1562, 4708},{ 1644, 4833},{ 1719, 4954},{ 1888, 4988} - }, - /*Cr qi=29 INTER*/ - { - { 101, 28},{ 81, 343},{ 67, 673},{ 75, 1053}, - { 93, 1450},{ 106, 1844},{ 113, 2230},{ 119, 2610}, - { 127, 2980},{ 135, 3334},{ 143, 3676},{ 153, 4007}, - { 165, 4330},{ 180, 4645},{ 201, 4951},{ 224, 5243}, - { 253, 5522},{ 284, 5794},{ 314, 6060},{ 345, 6322}, - { 381, 6578},{ 419, 6828},{ 455, 7073},{ 495, 7316} - } - } - }, - { - { - /*Y' qi=30 INTRA*/ - { - { 112, 8},{ 335, 1380},{ 682, 2401},{ 1083, 3093}, - { 1489, 3619},{ 1902, 4092},{ 2332, 4511},{ 2777, 4865}, - { 3231, 5156},{ 3693, 5394},{ 4153, 5585},{ 4605, 5689}, - { 5049, 5764},{ 5468, 5871},{ 5875, 6004},{ 6295, 6120}, - { 6706, 6201},{ 7099, 6273},{ 7461, 6311},{ 7785, 6320}, - { 8128, 6322},{ 8469, 6331},{ 8806, 6342},{ 9220, 6338} - }, - /*Y' qi=30 INTER*/ - { - { 58, 8},{ 90, 1340},{ 169, 2771},{ 257, 4079}, - { 345, 5266},{ 459, 6387},{ 660, 7383},{ 990, 8180}, - { 1496, 8726},{ 2203, 8992},{ 3029, 9038},{ 3833, 8984}, - { 4549, 8900},{ 5183, 8813},{ 5745, 8735},{ 6250, 8674}, - { 6715, 8619},{ 7138, 8565},{ 7529, 8528},{ 7899, 8495}, - { 8234, 8465},{ 8550, 8429},{ 8856, 8395},{ 9160, 8374} - } - }, - { - /*Cb qi=30 INTRA*/ - { - { 7, 3},{ 88, 369},{ 149, 747},{ 185, 1175}, - { 232, 1599},{ 304, 1976},{ 392, 2293},{ 486, 2557}, - { 573, 2797},{ 656, 3027},{ 735, 3243},{ 819, 3442}, - { 903, 3629},{ 966, 3828},{ 1025, 4027},{ 1105, 4204}, - { 1201, 4343},{ 1282, 4469},{ 1379, 4575},{ 1486, 4689}, - { 1588, 4813},{ 1678, 4900},{ 1767, 4969},{ 1911, 5080} - }, - /*Cb qi=30 INTER*/ - { - { 120, 23},{ 96, 336},{ 72, 661},{ 75, 1043}, - { 91, 1441},{ 105, 1837},{ 117, 2221},{ 127, 2592}, - { 137, 2953},{ 148, 3301},{ 159, 3635},{ 170, 3959}, - { 184, 4271},{ 199, 4578},{ 216, 4879},{ 238, 5175}, - { 262, 5466},{ 294, 5750},{ 332, 6027},{ 373, 6298}, - { 421, 6559},{ 473, 6805},{ 526, 7053},{ 587, 7298} - } - }, - { - /*Cr qi=30 INTRA*/ - { - { 10, 7},{ 89, 384},{ 147, 773},{ 192, 1211}, - { 245, 1627},{ 322, 1984},{ 412, 2280},{ 501, 2520}, - { 583, 2750},{ 654, 2982},{ 736, 3207},{ 810, 3419}, - { 873, 3614},{ 957, 3794},{ 1048, 3965},{ 1139, 4102}, - { 1237, 4208},{ 1327, 4328},{ 1408, 4448},{ 1496, 4545}, - { 1604, 4652},{ 1699, 4760},{ 1780, 4877},{ 1937, 4942} - }, - /*Cr qi=30 INTER*/ - { - { 115, 26},{ 89, 342},{ 70, 672},{ 79, 1055}, - { 96, 1451},{ 108, 1841},{ 116, 2222},{ 124, 2599}, - { 132, 2965},{ 141, 3316},{ 151, 3655},{ 163, 3984}, - { 178, 4301},{ 197, 4609},{ 219, 4909},{ 247, 5195}, - { 280, 5469},{ 317, 5734},{ 351, 5991},{ 383, 6248}, - { 423, 6500},{ 467, 6744},{ 502, 6995},{ 558, 7226} - } - } - }, - { - { - /*Y' qi=31 INTRA*/ - { - { 116, 20},{ 359, 1361},{ 732, 2350},{ 1162, 3010}, - { 1597, 3507},{ 2042, 3950},{ 2503, 4339},{ 2974, 4670}, - { 3446, 4951},{ 3922, 5179},{ 4394, 5357},{ 4858, 5454}, - { 5313, 5519},{ 5734, 5626},{ 6154, 5755},{ 6585, 5859}, - { 7004, 5928},{ 7408, 5998},{ 7775, 6039},{ 8102, 6048}, - { 8442, 6051},{ 8790, 6054},{ 9136, 6057},{ 9554, 6041} - }, - /*Y' qi=31 INTER*/ - { - { 53, 12},{ 90, 1340},{ 169, 2765},{ 259, 4062}, - { 353, 5236},{ 483, 6340},{ 713, 7305},{ 1086, 8059}, - { 1651, 8548},{ 2423, 8751},{ 3288, 8754},{ 4106, 8674}, - { 4827, 8572},{ 5451, 8482},{ 6007, 8407},{ 6514, 8344}, - { 6970, 8282},{ 7397, 8225},{ 7795, 8193},{ 8159, 8161}, - { 8498, 8120},{ 8814, 8093},{ 9127, 8066},{ 9432, 8040} - } - }, - { - /*Cb qi=31 INTRA*/ - { - { 7, 3},{ 88, 369},{ 149, 746},{ 185, 1173}, - { 234, 1595},{ 308, 1967},{ 399, 2278},{ 494, 2537}, - { 583, 2774},{ 669, 2997},{ 755, 3204},{ 847, 3390}, - { 936, 3569},{ 1008, 3759},{ 1078, 3942},{ 1162, 4104}, - { 1262, 4238},{ 1352, 4364},{ 1442, 4470},{ 1557, 4567}, - { 1676, 4674},{ 1759, 4781},{ 1850, 4853},{ 2043, 4897} - }, - /*Cb qi=31 INTER*/ - { - { 121, 23},{ 96, 335},{ 72, 660},{ 74, 1043}, - { 90, 1440},{ 105, 1834},{ 116, 2217},{ 127, 2586}, - { 138, 2945},{ 148, 3293},{ 159, 3626},{ 172, 3945}, - { 185, 4256},{ 202, 4559},{ 223, 4856},{ 245, 5150}, - { 272, 5440},{ 306, 5719},{ 346, 5989},{ 391, 6253}, - { 443, 6511},{ 510, 6743},{ 583, 6965},{ 651, 7182} - } - }, - { - /*Cr qi=31 INTRA*/ - { - { 10, 7},{ 88, 384},{ 147, 773},{ 192, 1209}, - { 247, 1622},{ 326, 1974},{ 417, 2262},{ 509, 2500}, - { 596, 2726},{ 670, 2949},{ 754, 3170},{ 836, 3370}, - { 912, 3548},{ 999, 3724},{ 1093, 3888},{ 1198, 4000}, - { 1304, 4095},{ 1384, 4230},{ 1470, 4347},{ 1577, 4422}, - { 1696, 4513},{ 1798, 4620},{ 1869, 4746},{ 1991, 4798} - }, - /*Cr qi=31 INTER*/ - { - { 113, 32},{ 88, 345},{ 69, 674},{ 79, 1055}, - { 96, 1451},{ 108, 1839},{ 115, 2218},{ 123, 2592}, - { 132, 2957},{ 141, 3308},{ 151, 3643},{ 163, 3968}, - { 179, 4285},{ 200, 4590},{ 225, 4886},{ 254, 5169}, - { 291, 5436},{ 330, 5696},{ 368, 5951},{ 409, 6200}, - { 452, 6448},{ 493, 6695},{ 536, 6940},{ 571, 7204} - } - } - }, - { - { - /*Y' qi=32 INTRA*/ - { - { 123, 26},{ 370, 1356},{ 756, 2321},{ 1211, 2944}, - { 1674, 3408},{ 2148, 3826},{ 2639, 4193},{ 3138, 4504}, - { 3634, 4765},{ 4133, 4973},{ 4625, 5137},{ 5101, 5225}, - { 5567, 5274},{ 6002, 5363},{ 6437, 5482},{ 6885, 5566}, - { 7312, 5625},{ 7723, 5686},{ 8101, 5721},{ 8429, 5732}, - { 8769, 5728},{ 9120, 5726},{ 9472, 5723},{ 9918, 5700} - }, - /*Y' qi=32 INTER*/ - { - { 54, -3},{ 95, 1343},{ 179, 2750},{ 276, 4027}, - { 382, 5185},{ 543, 6256},{ 830, 7161},{ 1301, 7815}, - { 2003, 8172},{ 2883, 8266},{ 3779, 8217},{ 4578, 8127}, - { 5274, 8035},{ 5886, 7952},{ 6430, 7887},{ 6929, 7835}, - { 7380, 7779},{ 7796, 7737},{ 8190, 7705},{ 8552, 7672}, - { 8896, 7640},{ 9210, 7612},{ 9510, 7589},{ 9746, 7552} - } - }, - { - /*Cb qi=32 INTRA*/ - { - { 6, 3},{ 89, 369},{ 153, 746},{ 193, 1167}, - { 247, 1577},{ 330, 1935},{ 429, 2236},{ 528, 2494}, - { 620, 2732},{ 712, 2948},{ 801, 3146},{ 898, 3325}, - { 999, 3489},{ 1078, 3664},{ 1155, 3832},{ 1251, 3985}, - { 1360, 4115},{ 1451, 4236},{ 1549, 4338},{ 1667, 4433}, - { 1797, 4522},{ 1891, 4613},{ 1989, 4687},{ 2162, 4776} - }, - /*Cb qi=32 INTER*/ - { - { 116, -1},{ 98, 321},{ 80, 656},{ 80, 1042}, - { 96, 1438},{ 110, 1827},{ 122, 2205},{ 133, 2570}, - { 144, 2925},{ 157, 3268},{ 170, 3597},{ 185, 3911}, - { 202, 4216},{ 221, 4516},{ 244, 4809},{ 273, 5096}, - { 308, 5376},{ 350, 5644},{ 401, 5907},{ 459, 6160}, - { 520, 6401},{ 592, 6630},{ 676, 6837},{ 758, 7050} - } - }, - { - /*Cr qi=32 INTRA*/ - { - { 12, 7},{ 91, 386},{ 152, 773},{ 201, 1202}, - { 261, 1603},{ 347, 1942},{ 447, 2223},{ 540, 2460}, - { 626, 2684},{ 711, 2901},{ 801, 3115},{ 887, 3312}, - { 969, 3480},{ 1068, 3633},{ 1176, 3779},{ 1283, 3885}, - { 1392, 3969},{ 1485, 4090},{ 1573, 4206},{ 1686, 4274}, - { 1813, 4354},{ 1911, 4459},{ 2004, 4563},{ 2162, 4590} - }, - /*Cr qi=32 INTER*/ - { - { 129, 5},{ 98, 334},{ 75, 673},{ 84, 1055}, - { 101, 1448},{ 113, 1832},{ 121, 2206},{ 129, 2577}, - { 140, 2937},{ 151, 3282},{ 163, 3614},{ 179, 3932}, - { 198, 4240},{ 221, 4542},{ 252, 4830},{ 290, 5102}, - { 329, 5364},{ 373, 5618},{ 420, 5864},{ 468, 6105}, - { 513, 6351},{ 564, 6587},{ 624, 6810},{ 697, 7017} - } - } - }, - { - { - /*Y' qi=33 INTRA*/ - { - { 115, 36},{ 388, 1338},{ 791, 2289},{ 1258, 2899}, - { 1732, 3352},{ 2220, 3760},{ 2730, 4117},{ 3244, 4415}, - { 3751, 4662},{ 4261, 4858},{ 4766, 5012},{ 5249, 5094}, - { 5719, 5141},{ 6159, 5225},{ 6597, 5333},{ 7044, 5416}, - { 7474, 5472},{ 7893, 5531},{ 8268, 5570},{ 8591, 5580}, - { 8931, 5578},{ 9283, 5579},{ 9634, 5582},{10067, 5560} - }, - /*Y' qi=33 INTER*/ - { - { 65, -14},{ 102, 1345},{ 190, 2736},{ 294, 3999}, - { 411, 5146},{ 597, 6192},{ 934, 7045},{ 1488, 7622}, - { 2281, 7895},{ 3213, 7937},{ 4108, 7871},{ 4883, 7784}, - { 5556, 7709},{ 6150, 7643},{ 6685, 7585},{ 7176, 7539}, - { 7620, 7502},{ 8034, 7466},{ 8427, 7435},{ 8793, 7409}, - { 9136, 7386},{ 9446, 7364},{ 9743, 7339},{10025, 7303} - } - }, - { - /*Cb qi=33 INTRA*/ - { - { 5, 3},{ 92, 369},{ 159, 746},{ 203, 1163}, - { 263, 1564},{ 353, 1911},{ 458, 2204},{ 557, 2460}, - { 650, 2697},{ 744, 2913},{ 836, 3110},{ 934, 3292}, - { 1036, 3454},{ 1125, 3616},{ 1204, 3781},{ 1298, 3932}, - { 1410, 4058},{ 1507, 4170},{ 1606, 4265},{ 1725, 4358}, - { 1853, 4445},{ 1955, 4535},{ 2067, 4597},{ 2258, 4663} - }, - /*Cb qi=33 INTER*/ - { - { 109, 37},{ 94, 343},{ 81, 662},{ 85, 1042}, - { 102, 1436},{ 116, 1823},{ 128, 2195},{ 141, 2554}, - { 154, 2906},{ 167, 3246},{ 183, 3570},{ 202, 3881}, - { 220, 4185},{ 241, 4482},{ 268, 4772},{ 302, 5053}, - { 341, 5328},{ 388, 5592},{ 446, 5846},{ 507, 6096}, - { 581, 6328},{ 670, 6534},{ 762, 6731},{ 842, 6922} - } - }, - { - /*Cr qi=33 INTRA*/ - { - { 11, 7},{ 93, 387},{ 158, 774},{ 211, 1197}, - { 278, 1589},{ 372, 1917},{ 475, 2191},{ 569, 2429}, - { 658, 2655},{ 744, 2868},{ 835, 3083},{ 926, 3271}, - { 1010, 3430},{ 1110, 3586},{ 1224, 3724},{ 1336, 3826}, - { 1449, 3908},{ 1547, 4021},{ 1636, 4136},{ 1751, 4200}, - { 1886, 4277},{ 1977, 4384},{ 2070, 4474},{ 2232, 4510} - }, - /*Cr qi=33 INTER*/ - { - { 77, 9},{ 90, 347},{ 80, 674},{ 91, 1053}, - { 107, 1444},{ 119, 1825},{ 127, 2196},{ 137, 2563}, - { 149, 2919},{ 161, 3259},{ 176, 3588},{ 194, 3905}, - { 217, 4209},{ 246, 4504},{ 280, 4786},{ 320, 5055}, - { 364, 5316},{ 409, 5565},{ 460, 5804},{ 517, 6039}, - { 578, 6264},{ 640, 6489},{ 701, 6721},{ 772, 6948} - } - } - }, - { - { - /*Y' qi=34 INTRA*/ - { - { 124, 40},{ 401, 1333},{ 823, 2262},{ 1318, 2842}, - { 1823, 3265},{ 2339, 3650},{ 2872, 3991},{ 3405, 4274}, - { 3926, 4513},{ 4448, 4704},{ 4961, 4845},{ 5450, 4921}, - { 5925, 4971},{ 6372, 5053},{ 6813, 5160},{ 7264, 5242}, - { 7704, 5291},{ 8124, 5346},{ 8500, 5382},{ 8831, 5384}, - { 9178, 5380},{ 9525, 5387},{ 9869, 5389},{10310, 5356} - }, - /*Y' qi=34 INTER*/ - { - { 64, -17},{ 101, 1344},{ 190, 2730},{ 299, 3981}, - { 430, 5110},{ 648, 6127},{ 1036, 6933},{ 1664, 7445}, - { 2535, 7652},{ 3504, 7653},{ 4402, 7572},{ 5173, 7479}, - { 5843, 7400},{ 6441, 7334},{ 6976, 7280},{ 7464, 7231}, - { 7910, 7189},{ 8332, 7157},{ 8730, 7125},{ 9091, 7103}, - { 9422, 7086},{ 9753, 7061},{10067, 7036},{10316, 7029} - } - }, - { - /*Cb qi=34 INTRA*/ - { - { 5, 3},{ 91, 369},{ 158, 746},{ 204, 1162}, - { 266, 1561},{ 358, 1903},{ 466, 2189},{ 570, 2439}, - { 665, 2671},{ 765, 2880},{ 864, 3069},{ 970, 3238}, - { 1079, 3392},{ 1174, 3545},{ 1265, 3693},{ 1360, 3841}, - { 1471, 3968},{ 1572, 4083},{ 1675, 4181},{ 1804, 4255}, - { 1939, 4332},{ 2048, 4411},{ 2155, 4484},{ 2339, 4584} - }, - /*Cb qi=34 INTER*/ - { - { 99, 44},{ 92, 345},{ 82, 661},{ 86, 1043}, - { 101, 1436},{ 116, 1821},{ 128, 2191},{ 140, 2549}, - { 154, 2898},{ 168, 3235},{ 185, 3556},{ 203, 3865}, - { 224, 4166},{ 248, 4457},{ 278, 4741},{ 315, 5021}, - { 361, 5289},{ 416, 5546},{ 483, 5792},{ 559, 6025}, - { 651, 6237},{ 752, 6432},{ 849, 6626},{ 967, 6790} - } - }, - { - /*Cr qi=34 INTRA*/ - { - { 11, 7},{ 93, 387},{ 158, 773},{ 212, 1195}, - { 282, 1584},{ 378, 1909},{ 483, 2179},{ 578, 2414}, - { 671, 2633},{ 766, 2837},{ 866, 3038},{ 960, 3223}, - { 1049, 3376},{ 1158, 3520},{ 1285, 3644},{ 1400, 3740}, - { 1505, 3828},{ 1616, 3928},{ 1713, 4030},{ 1820, 4104}, - { 1957, 4185},{ 2063, 4280},{ 2160, 4355},{ 2320, 4341} - }, - /*Cr qi=34 INTER*/ - { - { 78, 11},{ 89, 347},{ 79, 674},{ 90, 1053}, - { 106, 1444},{ 117, 1823},{ 127, 2192},{ 137, 2558}, - { 149, 2912},{ 163, 3249},{ 178, 3574},{ 197, 3888}, - { 222, 4189},{ 252, 4481},{ 293, 4755},{ 341, 5013}, - { 386, 5268},{ 436, 5512},{ 498, 5743},{ 563, 5970}, - { 622, 6200},{ 694, 6415},{ 776, 6622},{ 871, 6818} - } - } - }, - { - { - /*Y' qi=35 INTRA*/ - { - { 116, 51},{ 433, 1312},{ 881, 2221},{ 1406, 2771}, - { 1948, 3156},{ 2511, 3501},{ 3085, 3811},{ 3654, 4066}, - { 4212, 4273},{ 4763, 4444},{ 5298, 4572},{ 5799, 4638}, - { 6285, 4678},{ 6747, 4746},{ 7203, 4838},{ 7673, 4905}, - { 8124, 4950},{ 8552, 5003},{ 8938, 5027},{ 9275, 5026}, - { 9628, 5019},{ 9981, 5024},{10331, 5030},{10795, 5000} - }, - /*Y' qi=35 INTER*/ - { - { 71, -10},{ 108, 1348},{ 203, 2710},{ 325, 3938}, - { 485, 5040},{ 766, 6000},{ 1267, 6706},{ 2048, 7089}, - { 3037, 7191},{ 4032, 7146},{ 4903, 7061},{ 5648, 6977}, - { 6301, 6912},{ 6884, 6857},{ 7413, 6812},{ 7898, 6775}, - { 8342, 6739},{ 8764, 6710},{ 9160, 6688},{ 9519, 6668}, - { 9859, 6646},{10190, 6625},{10492, 6612},{10755, 6595} - } - }, - { - /*Cb qi=35 INTRA*/ - { - { 6, 3},{ 95, 369},{ 164, 746},{ 214, 1156}, - { 287, 1542},{ 390, 1869},{ 504, 2143},{ 611, 2388}, - { 712, 2613},{ 822, 2811},{ 937, 2987},{ 1055, 3147}, - { 1174, 3285},{ 1286, 3420},{ 1386, 3560},{ 1488, 3698}, - { 1604, 3814},{ 1714, 3916},{ 1825, 4008},{ 1958, 4088}, - { 2101, 4159},{ 2224, 4226},{ 2339, 4292},{ 2538, 4383} - }, - /*Cb qi=35 INTER*/ - { - { 98, 41},{ 90, 348},{ 86, 665},{ 92, 1042}, - { 108, 1432},{ 122, 1812},{ 136, 2175},{ 151, 2528}, - { 165, 2872},{ 182, 3202},{ 202, 3516},{ 225, 3819}, - { 251, 4112},{ 281, 4398},{ 320, 4675},{ 367, 4944}, - { 421, 5204},{ 493, 5450},{ 579, 5679},{ 672, 5892}, - { 785, 6082},{ 906, 6258},{ 1026, 6432},{ 1153, 6592} - } - }, - { - /*Cr qi=35 INTRA*/ - { - { 12, 7},{ 98, 388},{ 166, 773},{ 226, 1187}, - { 306, 1563},{ 411, 1874},{ 524, 2134},{ 622, 2365}, - { 721, 2577},{ 826, 2768},{ 947, 2946},{ 1066, 3106}, - { 1163, 3250},{ 1274, 3395},{ 1417, 3508},{ 1539, 3590}, - { 1639, 3671},{ 1754, 3765},{ 1865, 3855},{ 1979, 3921}, - { 2127, 3998},{ 2249, 4085},{ 2346, 4172},{ 2473, 4210} - }, - /*Cr qi=35 INTER*/ - { - { 86, 12},{ 94, 354},{ 85, 677},{ 96, 1052}, - { 113, 1439},{ 125, 1811},{ 135, 2177},{ 147, 2537}, - { 160, 2884},{ 177, 3215},{ 195, 3535},{ 219, 3842}, - { 252, 4133},{ 292, 4413},{ 339, 4680},{ 396, 4928}, - { 455, 5169},{ 514, 5408},{ 588, 5626},{ 672, 5835}, - { 750, 6051},{ 837, 6257},{ 943, 6442},{ 1073, 6595} - } - } - }, - { - { - /*Y' qi=36 INTRA*/ - { - { 116, 52},{ 432, 1312},{ 881, 2215},{ 1407, 2759}, - { 1948, 3140},{ 2511, 3484},{ 3090, 3789},{ 3672, 4036}, - { 4243, 4236},{ 4803, 4397},{ 5346, 4517},{ 5856, 4581}, - { 6350, 4614},{ 6821, 4675},{ 7286, 4763},{ 7754, 4832}, - { 8201, 4875},{ 8631, 4922},{ 9015, 4948},{ 9351, 4945}, - { 9706, 4941},{10061, 4948},{10408, 4949},{10878, 4923} - }, - /*Y' qi=36 INTER*/ - { - { 63, -16},{ 114, 1332},{ 216, 2690},{ 343, 3914}, - { 515, 5009},{ 829, 5939},{ 1399, 6586},{ 2263, 6901}, - { 3290, 6967},{ 4272, 6920},{ 5115, 6847},{ 5839, 6779}, - { 6478, 6726},{ 7051, 6685},{ 7571, 6649},{ 8050, 6614}, - { 8495, 6587},{ 8908, 6567},{ 9298, 6550},{ 9673, 6530}, - {10005, 6512},{10324, 6499},{10640, 6483},{10936, 6487} - } - }, - { - /*Cb qi=36 INTRA*/ - { - { 6, 3},{ 98, 370},{ 170, 746},{ 225, 1150}, - { 306, 1527},{ 416, 1845},{ 534, 2116},{ 642, 2363}, - { 743, 2591},{ 851, 2794},{ 964, 2972},{ 1081, 3133}, - { 1198, 3275},{ 1311, 3410},{ 1411, 3547},{ 1519, 3680}, - { 1642, 3789},{ 1750, 3892},{ 1860, 3982},{ 1998, 4054}, - { 2141, 4129},{ 2256, 4204},{ 2372, 4278},{ 2567, 4356} - }, - /*Cb qi=36 INTER*/ - { - { 107, 30},{ 96, 346},{ 88, 667},{ 100, 1039}, - { 115, 1426},{ 128, 1804},{ 142, 2164},{ 158, 2512}, - { 176, 2851},{ 195, 3178},{ 218, 3491},{ 243, 3791}, - { 270, 4084},{ 307, 4365},{ 348, 4638},{ 397, 4908}, - { 464, 5157},{ 545, 5392},{ 635, 5620},{ 734, 5831}, - { 854, 6015},{ 993, 6170},{ 1124, 6327},{ 1234, 6502} - } - }, - { - /*Cr qi=36 INTRA*/ - { - { 12, 7},{ 102, 388},{ 172, 773},{ 239, 1182}, - { 328, 1546},{ 439, 1848},{ 554, 2106},{ 651, 2341}, - { 747, 2561},{ 850, 2757},{ 972, 2934},{ 1086, 3097}, - { 1182, 3245},{ 1302, 3382},{ 1447, 3491},{ 1572, 3567}, - { 1677, 3641},{ 1793, 3733},{ 1899, 3828},{ 2013, 3894}, - { 2163, 3967},{ 2283, 4059},{ 2387, 4142},{ 2559, 4145} - }, - /*Cr qi=36 INTER*/ - { - { 98, -10},{ 96, 347},{ 89, 676},{ 102, 1048}, - { 118, 1433},{ 130, 1804},{ 141, 2167},{ 154, 2523}, - { 171, 2866},{ 190, 3194},{ 212, 3508},{ 240, 3809}, - { 276, 4099},{ 320, 4377},{ 372, 4638},{ 428, 4887}, - { 492, 5122},{ 560, 5353},{ 638, 5572},{ 725, 5779}, - { 814, 5985},{ 902, 6192},{ 1013, 6377},{ 1155, 6527} - } - } - }, - { - { - /*Y' qi=37 INTRA*/ - { - { 109, 58},{ 445, 1302},{ 927, 2177},{ 1489, 2689}, - { 2053, 3052},{ 2632, 3387},{ 3230, 3683},{ 3830, 3922}, - { 4417, 4114},{ 4992, 4266},{ 5546, 4375},{ 6067, 4430}, - { 6571, 4459},{ 7046, 4516},{ 7513, 4599},{ 7991, 4663}, - { 8445, 4706},{ 8883, 4749},{ 9273, 4771},{ 9612, 4770}, - { 9970, 4765},{10325, 4773},{10672, 4778},{11106, 4758} - }, - /*Y' qi=37 INTER*/ - { - { 56, -14},{ 114, 1333},{ 218, 2683},{ 354, 3894}, - { 550, 4966},{ 916, 5854},{ 1569, 6437},{ 2520, 6685}, - { 3596, 6704},{ 4585, 6635},{ 5424, 6556},{ 6147, 6489}, - { 6787, 6437},{ 7358, 6395},{ 7876, 6358},{ 8361, 6325}, - { 8807, 6294},{ 9229, 6271},{ 9631, 6253},{10002, 6238}, - {10356, 6228},{10678, 6212},{10975, 6197},{11274, 6185} - } - }, - { - /*Cb qi=37 INTRA*/ - { - { 6, 3},{ 99, 370},{ 171, 746},{ 227, 1149}, - { 309, 1522},{ 421, 1836},{ 541, 2104},{ 652, 2347}, - { 757, 2572},{ 871, 2768},{ 989, 2936},{ 1111, 3087}, - { 1238, 3223},{ 1357, 3352},{ 1465, 3486},{ 1576, 3612}, - { 1709, 3705},{ 1828, 3801},{ 1937, 3895},{ 2076, 3967}, - { 2220, 4035},{ 2345, 4104},{ 2466, 4173},{ 2680, 4265} - }, - /*Cb qi=37 INTER*/ - { - { 111, 27},{ 97, 344},{ 87, 667},{ 99, 1038}, - { 115, 1425},{ 128, 1802},{ 143, 2160},{ 159, 2506}, - { 176, 2843},{ 198, 3167},{ 220, 3477},{ 247, 3774}, - { 280, 4061},{ 321, 4338},{ 368, 4608},{ 427, 4867}, - { 501, 5109},{ 595, 5332},{ 701, 5544},{ 818, 5738}, - { 956, 5905},{ 1105, 6066},{ 1248, 6217},{ 1381, 6353} - } - }, - { - /*Cr qi=37 INTRA*/ - { - { 12, 7},{ 102, 388},{ 173, 773},{ 242, 1180}, - { 331, 1541},{ 444, 1839},{ 562, 2095},{ 662, 2326}, - { 763, 2540},{ 871, 2728},{ 1003, 2892},{ 1130, 3045}, - { 1230, 3188},{ 1350, 3321},{ 1503, 3418},{ 1634, 3492}, - { 1737, 3568},{ 1856, 3653},{ 1970, 3744},{ 2091, 3802}, - { 2247, 3871},{ 2371, 3962},{ 2477, 4041},{ 2655, 4052} - }, - /*Cr qi=37 INTER*/ - { - { 89, -9},{ 97, 347},{ 88, 677},{ 102, 1048}, - { 118, 1432},{ 130, 1802},{ 141, 2163},{ 154, 2517}, - { 172, 2857},{ 192, 3181},{ 216, 3494},{ 246, 3793}, - { 286, 4074},{ 337, 4343},{ 395, 4600},{ 464, 4837}, - { 534, 5066},{ 608, 5289},{ 694, 5501},{ 788, 5704}, - { 893, 5901},{ 1010, 6088},{ 1151, 6249},{ 1331, 6374} - } - } - }, - { - { - /*Y' qi=38 INTRA*/ - { - { 107, 65},{ 476, 1286},{ 968, 2148},{ 1548, 2641}, - { 2141, 2979},{ 2757, 3289},{ 3390, 3564},{ 4020, 3784}, - { 4632, 3957},{ 5224, 4097},{ 5794, 4201},{ 6326, 4250}, - { 6828, 4274},{ 7309, 4322},{ 7790, 4401},{ 8271, 4463}, - { 8729, 4498},{ 9165, 4540},{ 9552, 4566},{ 9901, 4560}, - {10266, 4552},{10617, 4563},{10964, 4572},{11393, 4567} - }, - /*Y' qi=38 INTER*/ - { - { 57, -13},{ 118, 1332},{ 233, 2665},{ 386, 3856}, - { 620, 4899},{ 1070, 5722},{ 1849, 6211},{ 2898, 6384}, - { 3989, 6376},{ 4947, 6311},{ 5754, 6249},{ 6454, 6199}, - { 7077, 6161},{ 7640, 6132},{ 8159, 6101},{ 8639, 6076}, - { 9081, 6054},{ 9502, 6037},{ 9900, 6027},{10274, 6012}, - {10621, 5999},{10938, 5991},{11237, 5977},{11557, 5966} - } - }, - { - /*Cb qi=38 INTRA*/ - { - { 8, 3},{ 104, 370},{ 179, 744},{ 243, 1139}, - { 338, 1498},{ 458, 1801},{ 584, 2060},{ 700, 2297}, - { 812, 2514},{ 935, 2699},{ 1061, 2858},{ 1189, 3007}, - { 1321, 3141},{ 1446, 3266},{ 1563, 3388},{ 1684, 3512}, - { 1816, 3614},{ 1942, 3702},{ 2055, 3793},{ 2201, 3857}, - { 2357, 3923},{ 2477, 3994},{ 2593, 4061},{ 2768, 4178} - }, - /*Cb qi=38 INTER*/ - { - { 118, 24},{ 102, 342},{ 91, 663},{ 101, 1040}, - { 116, 1427},{ 131, 1799},{ 147, 2152},{ 168, 2491}, - { 191, 2822},{ 215, 3139},{ 244, 3441},{ 276, 3731}, - { 316, 4013},{ 363, 4286},{ 423, 4546},{ 495, 4795}, - { 584, 5028},{ 691, 5242},{ 814, 5439},{ 959, 5608}, - { 1119, 5759},{ 1277, 5906},{ 1449, 6035},{ 1655, 6144} - } - }, - { - /*Cr qi=38 INTRA*/ - { - { 12, 6},{ 106, 387},{ 182, 771},{ 261, 1168}, - { 364, 1514},{ 483, 1802},{ 603, 2053},{ 707, 2282}, - { 817, 2489},{ 933, 2670},{ 1074, 2825},{ 1210, 2967}, - { 1320, 3104},{ 1444, 3229},{ 1599, 3324},{ 1735, 3396}, - { 1846, 3464},{ 1971, 3547},{ 2086, 3646},{ 2206, 3711}, - { 2366, 3773},{ 2499, 3859},{ 2603, 3945},{ 2766, 3952} - }, - /*Cr qi=38 INTER*/ - { - { 86, -9},{ 91, 352},{ 85, 680},{ 102, 1053}, - { 119, 1435},{ 132, 1799},{ 146, 2153},{ 162, 2501}, - { 183, 2835},{ 209, 3154},{ 240, 3458},{ 278, 3751}, - { 327, 4025},{ 388, 4284},{ 455, 4532},{ 529, 4766}, - { 616, 4980},{ 711, 5188},{ 815, 5386},{ 920, 5583}, - { 1042, 5770},{ 1186, 5936},{ 1348, 6080},{ 1542, 6196} - } - } - }, - { - { - /*Y' qi=39 INTRA*/ - { - { 103, 66},{ 479, 1283},{ 998, 2125},{ 1610, 2591}, - { 2223, 2913},{ 2855, 3214},{ 3501, 3482},{ 4146, 3698}, - { 4772, 3868},{ 5376, 3999},{ 5956, 4095},{ 6496, 4140}, - { 7008, 4162},{ 7499, 4209},{ 7987, 4282},{ 8478, 4338}, - { 8947, 4374},{ 9385, 4417},{ 9783, 4437},{10143, 4433}, - {10504, 4424},{10866, 4435},{11225, 4444},{11665, 4430} - }, - /*Y' qi=39 INTER*/ - { - { 56, 2},{ 118, 1332},{ 235, 2660},{ 395, 3843}, - { 653, 4867},{ 1153, 5652},{ 2003, 6089},{ 3113, 6214}, - { 4228, 6178},{ 5189, 6102},{ 6002, 6031},{ 6707, 5976}, - { 7336, 5936},{ 7901, 5900},{ 8424, 5870},{ 8915, 5844}, - { 9361, 5822},{ 9784, 5807},{10187, 5794},{10571, 5778}, - {10931, 5763},{11264, 5751},{11582, 5742},{11916, 5730} - } - }, - { - /*Cb qi=39 INTRA*/ - { - { 8, 3},{ 104, 370},{ 179, 744},{ 244, 1138}, - { 340, 1496},{ 461, 1796},{ 588, 2053},{ 705, 2288}, - { 820, 2503},{ 945, 2684},{ 1073, 2840},{ 1210, 2981}, - { 1352, 3106},{ 1480, 3225},{ 1603, 3342},{ 1728, 3464}, - { 1865, 3559},{ 1990, 3645},{ 2106, 3734},{ 2258, 3796}, - { 2413, 3856},{ 2540, 3920},{ 2667, 3986},{ 2887, 4060} - }, - /*Cb qi=39 INTER*/ - { - { 119, 19},{ 103, 340},{ 90, 664},{ 100, 1040}, - { 115, 1426},{ 131, 1797},{ 148, 2148},{ 169, 2486}, - { 192, 2816},{ 217, 3131},{ 247, 3432},{ 282, 3721}, - { 324, 3999},{ 374, 4268},{ 435, 4526},{ 520, 4766}, - { 621, 4990},{ 738, 5194},{ 878, 5376},{ 1035, 5543}, - { 1202, 5686},{ 1374, 5819},{ 1545, 5950},{ 1729, 6064} - } - }, - { - /*Cr qi=39 INTRA*/ - { - { 12, 6},{ 106, 387},{ 182, 771},{ 262, 1167}, - { 365, 1512},{ 486, 1798},{ 608, 2047},{ 713, 2274}, - { 824, 2479},{ 945, 2655},{ 1091, 2804},{ 1231, 2941}, - { 1346, 3073},{ 1475, 3194},{ 1633, 3282},{ 1778, 3345}, - { 1891, 3414},{ 2013, 3501},{ 2138, 3584},{ 2266, 3640}, - { 2428, 3701},{ 2568, 3782},{ 2674, 3863},{ 2816, 3894} - }, - /*Cr qi=39 INTER*/ - { - { 88, -7},{ 92, 352},{ 85, 680},{ 102, 1053}, - { 119, 1434},{ 132, 1797},{ 146, 2151},{ 163, 2498}, - { 185, 2830},{ 211, 3147},{ 243, 3451},{ 285, 3735}, - { 337, 4005},{ 401, 4260},{ 477, 4499},{ 565, 4721}, - { 655, 4937},{ 749, 5148},{ 858, 5344},{ 979, 5529}, - { 1110, 5710},{ 1264, 5871},{ 1460, 5990},{ 1677, 6086} - } - } - }, - { - { - /*Y' qi=40 INTRA*/ - { - { 98, 71},{ 491, 1274},{ 1023, 2103},{ 1641, 2559}, - { 2257, 2877},{ 2898, 3171},{ 3566, 3429},{ 4233, 3629}, - { 4881, 3784},{ 5499, 3906},{ 6088, 3997},{ 6631, 4040}, - { 7145, 4060},{ 7640, 4107},{ 8128, 4178},{ 8618, 4233}, - { 9077, 4267},{ 9514, 4304},{ 9919, 4324},{10277, 4317}, - {10635, 4312},{10985, 4324},{11338, 4331},{11792, 4334} - }, - /*Y' qi=40 INTER*/ - { - { 63, -26},{ 125, 1331},{ 256, 2640},{ 439, 3801}, - { 757, 4782},{ 1391, 5474},{ 2399, 5805},{ 3582, 5870}, - { 4678, 5824},{ 5600, 5763},{ 6386, 5710},{ 7076, 5667}, - { 7693, 5637},{ 8252, 5610},{ 8775, 5586},{ 9255, 5571}, - { 9694, 5556},{10115, 5541},{10530, 5530},{10903, 5522}, - {11242, 5515},{11596, 5501},{11904, 5482},{12205, 5475} - } - }, - { - /*Cb qi=40 INTRA*/ - { - { 8, 3},{ 108, 371},{ 189, 743},{ 265, 1128}, - { 371, 1475},{ 499, 1767},{ 628, 2022},{ 746, 2256}, - { 864, 2467},{ 991, 2647},{ 1124, 2801},{ 1270, 2933}, - { 1412, 3054},{ 1547, 3165},{ 1677, 3277},{ 1804, 3393}, - { 1946, 3483},{ 2078, 3569},{ 2201, 3651},{ 2352, 3711}, - { 2513, 3766},{ 2643, 3826},{ 2775, 3880},{ 3025, 3919} - }, - /*Cb qi=40 INTER*/ - { - { 114, 35},{ 104, 349},{ 96, 667},{ 106, 1040}, - { 121, 1423},{ 138, 1789},{ 158, 2132},{ 184, 2464}, - { 212, 2787},{ 242, 3095},{ 279, 3389},{ 321, 3671}, - { 374, 3941},{ 438, 4199},{ 517, 4446},{ 617, 4673}, - { 740, 4881},{ 891, 5064},{ 1058, 5225},{ 1239, 5372}, - { 1441, 5499},{ 1638, 5610},{ 1840, 5719},{ 2076, 5814} - } - }, - { - /*Cr qi=40 INTRA*/ - { - { 14, 7},{ 114, 389},{ 193, 771},{ 283, 1156}, - { 399, 1488},{ 523, 1768},{ 643, 2018},{ 752, 2245}, - { 865, 2450},{ 984, 2626},{ 1139, 2763},{ 1290, 2887}, - { 1413, 3014},{ 1550, 3128},{ 1711, 3211},{ 1865, 3268}, - { 1981, 3334},{ 2103, 3415},{ 2237, 3486},{ 2365, 3543}, - { 2529, 3610},{ 2666, 3700},{ 2775, 3779},{ 2929, 3803} - }, - /*Cr qi=40 INTER*/ - { - { 89, -8},{ 95, 353},{ 90, 681},{ 107, 1053}, - { 124, 1430},{ 139, 1787},{ 156, 2136},{ 177, 2477}, - { 203, 2803},{ 237, 3112},{ 276, 3406},{ 329, 3683}, - { 395, 3942},{ 475, 4182},{ 567, 4407},{ 665, 4624}, - { 767, 4834},{ 879, 5032},{ 1011, 5213},{ 1169, 5375}, - { 1348, 5525},{ 1547, 5654},{ 1785, 5743},{ 2066, 5787} - } - } - }, - { - { - /*Y' qi=41 INTRA*/ - { - { 98, 71},{ 495, 1272},{ 1040, 2090},{ 1675, 2533}, - { 2302, 2842},{ 2953, 3132},{ 3631, 3381},{ 4309, 3574}, - { 4966, 3726},{ 5593, 3846},{ 6189, 3934},{ 6738, 3972}, - { 7256, 3991},{ 7754, 4036},{ 8250, 4099},{ 8747, 4150}, - { 9207, 4185},{ 9650, 4222},{10057, 4242},{10411, 4237}, - {10771, 4230},{11127, 4244},{11486, 4254},{11933, 4252} - }, - /*Y' qi=41 INTER*/ - { - { 65, -25},{ 125, 1331},{ 260, 2633},{ 457, 3782}, - { 807, 4740},{ 1499, 5397},{ 2562, 5693},{ 3766, 5743}, - { 4859, 5695},{ 5776, 5638},{ 6556, 5590},{ 7243, 5554}, - { 7859, 5529},{ 8417, 5506},{ 8935, 5486},{ 9419, 5473}, - { 9869, 5460},{10296, 5446},{10711, 5436},{11089, 5430}, - {11445, 5421},{11802, 5412},{12129, 5404},{12465, 5393} - } - }, - { - /*Cb qi=41 INTRA*/ - { - { 8, 3},{ 108, 371},{ 189, 743},{ 267, 1126}, - { 374, 1471},{ 504, 1760},{ 635, 2011},{ 758, 2241}, - { 881, 2447},{ 1013, 2621},{ 1147, 2773},{ 1293, 2906}, - { 1441, 3023},{ 1580, 3131},{ 1712, 3243},{ 1844, 3360}, - { 1985, 3451},{ 2114, 3532},{ 2240, 3613},{ 2390, 3680}, - { 2550, 3740},{ 2687, 3800},{ 2825, 3862},{ 3052, 3944} - }, - /*Cb qi=41 INTER*/ - { - { 104, 39},{ 100, 350},{ 95, 667},{ 105, 1040}, - { 121, 1422},{ 137, 1787},{ 159, 2129},{ 185, 2459}, - { 216, 2778},{ 249, 3083},{ 287, 3374},{ 335, 3653}, - { 393, 3920},{ 462, 4175},{ 549, 4414},{ 660, 4636}, - { 791, 4839},{ 952, 5014},{ 1135, 5166},{ 1337, 5297}, - { 1552, 5411},{ 1752, 5530},{ 1972, 5634},{ 2224, 5724} - } - }, - { - /*Cr qi=41 INTRA*/ - { - { 15, 7},{ 115, 389},{ 193, 770},{ 284, 1154}, - { 401, 1484},{ 528, 1761},{ 652, 2005},{ 764, 2228}, - { 882, 2427},{ 1008, 2599},{ 1167, 2734},{ 1320, 2859}, - { 1443, 2990},{ 1580, 3103},{ 1743, 3181},{ 1894, 3241}, - { 2012, 3309},{ 2141, 3385},{ 2272, 3459},{ 2398, 3519}, - { 2566, 3584},{ 2707, 3680},{ 2816, 3762},{ 2991, 3770} - }, - /*Cr qi=41 INTER*/ - { - { 92, -9},{ 98, 354},{ 90, 682},{ 107, 1052}, - { 124, 1429},{ 139, 1786},{ 156, 2132},{ 178, 2471}, - { 207, 2794},{ 241, 3100},{ 285, 3391},{ 345, 3662}, - { 417, 3915},{ 503, 4151},{ 600, 4375},{ 703, 4589}, - { 815, 4791},{ 942, 4981},{ 1088, 5155},{ 1250, 5316}, - { 1432, 5462},{ 1653, 5575},{ 1930, 5639},{ 2250, 5655} - } - } - }, - { - { - /*Y' qi=42 INTRA*/ - { - { 109, 75},{ 534, 1257},{ 1114, 2047},{ 1793, 2456}, - { 2461, 2735},{ 3157, 2994},{ 3879, 3221},{ 4595, 3396}, - { 5282, 3531},{ 5931, 3638},{ 6546, 3714},{ 7105, 3749}, - { 7633, 3766},{ 8147, 3803},{ 8652, 3865},{ 9148, 3915}, - { 9613, 3946},{10075, 3976},{10489, 3997},{10835, 3994}, - {11195, 3985},{11553, 3997},{11909, 4004},{12369, 3990} - }, - /*Y' qi=42 INTER*/ - { - { 69, -23},{ 134, 1332},{ 287, 2611},{ 521, 3730}, - { 970, 4624},{ 1827, 5176},{ 3028, 5382},{ 4262, 5389}, - { 5325, 5338},{ 6214, 5291},{ 6976, 5255},{ 7651, 5228}, - { 8260, 5206},{ 8821, 5190},{ 9343, 5177},{ 9823, 5165}, - {10273, 5152},{10709, 5143},{11121, 5136},{11502, 5129}, - {11857, 5125},{12193, 5115},{12520, 5107},{12802, 5097} - } - }, - { - /*Cb qi=42 INTRA*/ - { - { 9, 3},{ 113, 371},{ 199, 743},{ 279, 1123}, - { 390, 1462},{ 525, 1743},{ 662, 1986},{ 789, 2208}, - { 916, 2406},{ 1057, 2571},{ 1204, 2712},{ 1362, 2835}, - { 1524, 2943},{ 1676, 3040},{ 1815, 3145},{ 1959, 3249}, - { 2117, 3325},{ 2249, 3406},{ 2377, 3488},{ 2537, 3547}, - { 2706, 3597},{ 2854, 3646},{ 2999, 3705},{ 3236, 3759} - }, - /*Cb qi=42 INTER*/ - { - { 114, 44},{ 107, 353},{ 101, 670},{ 111, 1041}, - { 129, 1418},{ 148, 1775},{ 174, 2110},{ 208, 2432}, - { 244, 2746},{ 283, 3046},{ 330, 3330},{ 388, 3602}, - { 460, 3858},{ 546, 4101},{ 655, 4326},{ 793, 4530}, - { 966, 4703},{ 1165, 4851},{ 1388, 4980},{ 1630, 5088}, - { 1869, 5189},{ 2122, 5268},{ 2403, 5328},{ 2667, 5417} - } - }, - { - /*Cr qi=42 INTRA*/ - { - { 15, 7},{ 120, 390},{ 202, 771},{ 298, 1150}, - { 421, 1473},{ 553, 1743},{ 681, 1982},{ 796, 2199}, - { 923, 2388},{ 1062, 2547},{ 1225, 2678},{ 1392, 2792}, - { 1531, 2907},{ 1682, 3007},{ 1856, 3074},{ 2009, 3134}, - { 2138, 3192},{ 2274, 3257},{ 2407, 3333},{ 2536, 3393}, - { 2711, 3455},{ 2875, 3531},{ 3000, 3598},{ 3186, 3599} - }, - /*Cr qi=42 INTER*/ - { - { 87, -4},{ 95, 358},{ 97, 683},{ 113, 1052}, - { 131, 1423},{ 148, 1774},{ 170, 2116},{ 198, 2448}, - { 234, 2762},{ 276, 3062},{ 331, 3343},{ 404, 3603}, - { 494, 3844},{ 598, 4067},{ 715, 4276},{ 842, 4471}, - { 977, 4661},{ 1128, 4840},{ 1311, 4991},{ 1516, 5127}, - { 1759, 5233},{ 2050, 5300},{ 2377, 5323},{ 2710, 5304} - } - } - }, - { - { - /*Y' qi=43 INTRA*/ - { - { 99, 79},{ 557, 1244},{ 1175, 2016},{ 1882, 2408}, - { 2570, 2677},{ 3288, 2926},{ 4030, 3141},{ 4760, 3307}, - { 5458, 3435},{ 6115, 3537},{ 6743, 3608},{ 7312, 3636}, - { 7841, 3652},{ 8357, 3687},{ 8870, 3742},{ 9376, 3788}, - { 9850, 3821},{10315, 3853},{10734, 3873},{11084, 3870}, - {11442, 3862},{11800, 3874},{12160, 3879},{12618, 3876} - }, - /*Y' qi=43 INTER*/ - { - { 69, -22},{ 134, 1331},{ 294, 2601},{ 551, 3703}, - { 1056, 4563},{ 2003, 5061},{ 3276, 5215},{ 4534, 5194}, - { 5599, 5133},{ 6488, 5083},{ 7257, 5044},{ 7938, 5014}, - { 8556, 4992},{ 9124, 4975},{ 9648, 4960},{10138, 4948}, - {10594, 4939},{11039, 4926},{11462, 4919},{11847, 4912}, - {12216, 4904},{12570, 4896},{12883, 4889},{13189, 4879} - } - }, - { - /*Cb qi=43 INTRA*/ - { - { 9, 3},{ 114, 371},{ 202, 740},{ 294, 1110}, - { 417, 1440},{ 558, 1716},{ 700, 1956},{ 833, 2172}, - { 966, 2365},{ 1116, 2524},{ 1269, 2661},{ 1431, 2781}, - { 1599, 2885},{ 1756, 2980},{ 1902, 3082},{ 2051, 3185}, - { 2209, 3261},{ 2337, 3342},{ 2464, 3420},{ 2633, 3475}, - { 2809, 3525},{ 2948, 3579},{ 3094, 3633},{ 3347, 3678} - }, - /*Cb qi=43 INTER*/ - { - { 111, 44},{ 106, 353},{ 102, 670},{ 112, 1040}, - { 128, 1416},{ 148, 1771},{ 176, 2104},{ 211, 2424}, - { 250, 2734},{ 293, 3030},{ 347, 3309},{ 411, 3575}, - { 490, 3828},{ 589, 4064},{ 716, 4278},{ 869, 4472}, - { 1050, 4640},{ 1264, 4781},{ 1512, 4895},{ 1775, 4991}, - { 2042, 5069},{ 2310, 5141},{ 2593, 5207},{ 2912, 5239} - } - }, - { - /*Cr qi=43 INTRA*/ - { - { 15, 7},{ 121, 390},{ 208, 767},{ 315, 1135}, - { 449, 1449},{ 586, 1715},{ 718, 1950},{ 843, 2158}, - { 977, 2342},{ 1120, 2501},{ 1290, 2632},{ 1466, 2739}, - { 1613, 2845},{ 1763, 2945},{ 1937, 3015},{ 2093, 3070}, - { 2225, 3126},{ 2366, 3194},{ 2501, 3267},{ 2634, 3324}, - { 2815, 3385},{ 2964, 3466},{ 3087, 3538},{ 3263, 3555} - }, - /*Cr qi=43 INTER*/ - { - { 84, -4},{ 93, 358},{ 95, 683},{ 113, 1052}, - { 131, 1421},{ 148, 1770},{ 171, 2110},{ 201, 2439}, - { 240, 2750},{ 287, 3046},{ 348, 3322},{ 429, 3576}, - { 527, 3811},{ 641, 4029},{ 767, 4230},{ 904, 4422}, - { 1053, 4603},{ 1225, 4765},{ 1433, 4903},{ 1661, 5030}, - { 1928, 5121},{ 2252, 5160},{ 2604, 5164},{ 2979, 5125} - } - } - }, - { - { - /*Y' qi=44 INTRA*/ - { - { 103, 80},{ 560, 1244},{ 1183, 2009},{ 1891, 2391}, - { 2586, 2649},{ 3324, 2884},{ 4093, 3089},{ 4850, 3243}, - { 5575, 3358},{ 6252, 3452},{ 6886, 3518},{ 7459, 3546}, - { 7993, 3562},{ 8515, 3594},{ 9030, 3645},{ 9534, 3691}, - {10004, 3723},{10469, 3750},{10887, 3765},{11236, 3766}, - {11596, 3762},{11960, 3775},{12317, 3784},{12766, 3789} - }, - /*Y' qi=44 INTER*/ - { - { 77, -24},{ 145, 1332},{ 332, 2580},{ 642, 3649}, - { 1270, 4438},{ 2360, 4860},{ 3685, 4982},{ 4910, 4966}, - { 5929, 4928},{ 6785, 4900},{ 7529, 4880},{ 8198, 4863}, - { 8804, 4850},{ 9361, 4842},{ 9882, 4836},{10371, 4830}, - {10827, 4822},{11262, 4816},{11672, 4811},{12052, 4807}, - {12431, 4806},{12780, 4798},{13095, 4792},{13401, 4791} - } - }, - { - /*Cb qi=44 INTRA*/ - { - { 9, 2},{ 122, 371},{ 214, 741},{ 307, 1109}, - { 433, 1432},{ 576, 1704},{ 718, 1939},{ 855, 2152}, - { 991, 2340},{ 1141, 2497},{ 1298, 2632},{ 1463, 2749}, - { 1636, 2851},{ 1796, 2944},{ 1947, 3041},{ 2101, 3140}, - { 2260, 3219},{ 2392, 3297},{ 2527, 3366},{ 2693, 3424}, - { 2872, 3477},{ 3025, 3525},{ 3175, 3584},{ 3451, 3626} - }, - /*Cb qi=44 INTER*/ - { - { 111, 14},{ 110, 339},{ 109, 671},{ 120, 1040}, - { 139, 1410},{ 162, 1758},{ 197, 2084},{ 243, 2397}, - { 291, 2702},{ 342, 2992},{ 405, 3265},{ 484, 3521}, - { 584, 3760},{ 705, 3983},{ 855, 4185},{ 1048, 4356}, - { 1274, 4500},{ 1531, 4617},{ 1816, 4707},{ 2111, 4783}, - { 2409, 4846},{ 2720, 4901},{ 3044, 4957},{ 3391, 4985} - } - }, - { - /*Cr qi=44 INTRA*/ - { - { 17, 7},{ 128, 392},{ 219, 770},{ 329, 1135}, - { 465, 1442},{ 601, 1703},{ 734, 1935},{ 862, 2142}, - { 998, 2325},{ 1147, 2482},{ 1321, 2606},{ 1496, 2710}, - { 1649, 2813},{ 1809, 2908},{ 1984, 2977},{ 2143, 3032}, - { 2279, 3087},{ 2423, 3152},{ 2559, 3225},{ 2684, 3288}, - { 2866, 3351},{ 3025, 3426},{ 3161, 3492},{ 3372, 3500} - }, - /*Cr qi=44 INTER*/ - { - { 89, 0},{ 101, 352},{ 104, 683},{ 121, 1051}, - { 141, 1414},{ 163, 1757},{ 192, 2092},{ 231, 2415}, - { 278, 2720},{ 336, 3007},{ 412, 3273},{ 510, 3516}, - { 633, 3733},{ 769, 3936},{ 914, 4130},{ 1076, 4307}, - { 1256, 4472},{ 1469, 4617},{ 1723, 4732},{ 2012, 4822}, - { 2347, 4871},{ 2716, 4875},{ 3082, 4866},{ 3422, 4826} - } - } - }, - { - { - /*Y' qi=45 INTRA*/ - { - { 119, 78},{ 610, 1226},{ 1271, 1965},{ 2026, 2319}, - { 2768, 2550},{ 3556, 2757},{ 4369, 2938},{ 5157, 3076}, - { 5901, 3182},{ 6598, 3268},{ 7253, 3326},{ 7844, 3343}, - { 8392, 3356},{ 8922, 3386},{ 9453, 3433},{ 9973, 3474}, - {10457, 3503},{10929, 3530},{11351, 3543},{11709, 3541}, - {12068, 3537},{12434, 3547},{12805, 3555},{13268, 3563} - }, - /*Y' qi=45 INTER*/ - { - { 77, -20},{ 146, 1330},{ 342, 2566},{ 699, 3604}, - { 1439, 4332},{ 2669, 4672},{ 4075, 4727},{ 5318, 4679}, - { 6345, 4630},{ 7209, 4595},{ 7963, 4570},{ 8644, 4551}, - { 9262, 4535},{ 9831, 4525},{10370, 4515},{10872, 4506}, - {11334, 4500},{11783, 4492},{12219, 4489},{12617, 4483}, - {12995, 4477},{13350, 4472},{13674, 4466},{13968, 4468} - } - }, - { - /*Cb qi=45 INTRA*/ - { - { 9, 2},{ 122, 370},{ 219, 735},{ 324, 1096}, - { 465, 1414},{ 619, 1679},{ 771, 1905},{ 920, 2103}, - { 1070, 2276},{ 1236, 2419},{ 1410, 2539},{ 1595, 2644}, - { 1784, 2736},{ 1949, 2831},{ 2104, 2931},{ 2275, 3021}, - { 2443, 3092},{ 2586, 3166},{ 2735, 3234},{ 2904, 3288}, - { 3093, 3338},{ 3262, 3382},{ 3419, 3427},{ 3708, 3456} - }, - /*Cb qi=45 INTER*/ - { - { 103, 0},{ 109, 339},{ 109, 670},{ 119, 1039}, - { 137, 1408},{ 162, 1754},{ 199, 2076},{ 248, 2386}, - { 301, 2684},{ 360, 2967},{ 433, 3234},{ 525, 3481}, - { 640, 3713},{ 780, 3924},{ 956, 4110},{ 1176, 4266}, - { 1438, 4390},{ 1736, 4481},{ 2057, 4553},{ 2385, 4613}, - { 2718, 4656},{ 3056, 4698},{ 3416, 4733},{ 3799, 4755} - } - }, - { - /*Cr qi=45 INTRA*/ - { - { 16, 7},{ 128, 391},{ 225, 763},{ 350, 1120}, - { 500, 1420},{ 649, 1673},{ 792, 1893},{ 929, 2089}, - { 1084, 2257},{ 1250, 2401},{ 1440, 2518},{ 1633, 2614}, - { 1799, 2708},{ 1968, 2798},{ 2151, 2863},{ 2314, 2914}, - { 2453, 2968},{ 2611, 3025},{ 2759, 3095},{ 2887, 3160}, - { 3082, 3210},{ 3259, 3278},{ 3403, 3342},{ 3593, 3354} - }, - /*Cr qi=45 INTER*/ - { - { 92, 0},{ 101, 352},{ 103, 682},{ 120, 1049}, - { 140, 1412},{ 163, 1752},{ 193, 2083},{ 234, 2402}, - { 287, 2702},{ 353, 2983},{ 442, 3240},{ 557, 3471}, - { 694, 3680},{ 846, 3873},{ 1014, 4056},{ 1200, 4224}, - { 1414, 4369},{ 1664, 4495},{ 1946, 4595},{ 2278, 4654}, - { 2654, 4673},{ 3047, 4658},{ 3438, 4627},{ 3825, 4585} - } - } - }, - { - { - /*Y' qi=46 INTRA*/ - { - { 119, 78},{ 610, 1227},{ 1277, 1960},{ 2043, 2309}, - { 2805, 2529},{ 3618, 2719},{ 4452, 2887},{ 5257, 3016}, - { 6017, 3115},{ 6727, 3195},{ 7392, 3248},{ 7984, 3267}, - { 8528, 3281},{ 9059, 3310},{ 9593, 3354},{10119, 3395}, - {10599, 3425},{11064, 3450},{11493, 3464},{11850, 3466}, - {12207, 3462},{12578, 3471},{12948, 3480},{13407, 3487} - }, - /*Y' qi=46 INTER*/ - { - { 74, -14},{ 149, 1326},{ 382, 2538},{ 807, 3541}, - { 1670, 4211},{ 3000, 4499},{ 4416, 4533},{ 5628, 4490}, - { 6628, 4453},{ 7479, 4425},{ 8228, 4406},{ 8902, 4393}, - { 9521, 4380},{10090, 4371},{10623, 4364},{11124, 4356}, - {11586, 4351},{12043, 4344},{12476, 4341},{12863, 4340}, - {13244, 4337},{13610, 4329},{13936, 4324},{14246, 4329} - } - }, - { - /*Cb qi=46 INTRA*/ - { - { 11, 2},{ 132, 371},{ 234, 737},{ 340, 1094}, - { 481, 1405},{ 637, 1667},{ 791, 1891},{ 944, 2084}, - { 1099, 2253},{ 1268, 2392},{ 1444, 2507},{ 1633, 2610}, - { 1825, 2700},{ 1990, 2794},{ 2147, 2895},{ 2321, 2984}, - { 2493, 3053},{ 2640, 3126},{ 2787, 3198},{ 2954, 3253}, - { 3146, 3297},{ 3313, 3344},{ 3473, 3393},{ 3757, 3434} - }, - /*Cb qi=46 INTER*/ - { - { 97, 0},{ 109, 339},{ 108, 669},{ 120, 1035}, - { 142, 1398},{ 173, 1737},{ 221, 2052},{ 281, 2353}, - { 345, 2646},{ 415, 2924},{ 504, 3183},{ 616, 3421}, - { 749, 3643},{ 914, 3842},{ 1123, 4012},{ 1379, 4150}, - { 1685, 4250},{ 2014, 4327},{ 2366, 4382},{ 2731, 4426}, - { 3083, 4470},{ 3445, 4490},{ 3805, 4511},{ 4146, 4539} - } - }, - { - /*Cr qi=46 INTRA*/ - { - { 19, 7},{ 137, 393},{ 237, 765},{ 364, 1116}, - { 516, 1411},{ 665, 1662},{ 809, 1880},{ 951, 2072}, - { 1109, 2236},{ 1278, 2378},{ 1474, 2491},{ 1669, 2584}, - { 1835, 2678},{ 2014, 2766},{ 2203, 2828},{ 2366, 2880}, - { 2506, 2933},{ 2661, 2988},{ 2810, 3053},{ 2941, 3116}, - { 3131, 3175},{ 3310, 3243},{ 3461, 3303},{ 3656, 3321} - }, - /*Cr qi=46 INTER*/ - { - { 91, 1},{ 103, 351},{ 104, 681},{ 121, 1046}, - { 144, 1401},{ 173, 1736},{ 213, 2060},{ 265, 2373}, - { 330, 2666},{ 410, 2938},{ 517, 3185},{ 655, 3404}, - { 815, 3601},{ 989, 3784},{ 1183, 3951},{ 1400, 4104}, - { 1649, 4241},{ 1933, 4352},{ 2261, 4427},{ 2646, 4458}, - { 3057, 4446},{ 3453, 4418},{ 3820, 4385},{ 4171, 4352} - } - } - }, - { - { - /*Y' qi=47 INTRA*/ - { - { 117, 83},{ 670, 1205},{ 1408, 1904},{ 2239, 2219}, - { 3049, 2414},{ 3905, 2584},{ 4775, 2734},{ 5610, 2852}, - { 6393, 2944},{ 7121, 3017},{ 7804, 3066},{ 8407, 3081}, - { 8957, 3093},{ 9498, 3119},{10043, 3160},{10582, 3199}, - {11083, 3226},{11561, 3250},{11993, 3263},{12352, 3264}, - {12711, 3259},{13092, 3266},{13463, 3271},{13918, 3275} - }, - /*Y' qi=47 INTER*/ - { - { 74, -11},{ 148, 1325},{ 404, 2518},{ 910, 3478}, - { 1916, 4080},{ 3369, 4298},{ 4823, 4292},{ 6035, 4238}, - { 7037, 4197},{ 7894, 4168},{ 8650, 4146},{ 9337, 4129}, - { 9968, 4116},{10549, 4105},{11096, 4096},{11605, 4089}, - {12081, 4083},{12547, 4076},{12990, 4070},{13399, 4070}, - {13776, 4065},{14133, 4059},{14486, 4057},{14842, 4053} - } - }, - { - /*Cb qi=47 INTRA*/ - { - { 11, 2},{ 133, 370},{ 242, 731},{ 367, 1077}, - { 524, 1378},{ 692, 1630},{ 860, 1844},{ 1028, 2024}, - { 1203, 2178},{ 1393, 2305},{ 1582, 2413},{ 1787, 2507}, - { 1992, 2590},{ 2175, 2676},{ 2351, 2767},{ 2534, 2851}, - { 2707, 2923},{ 2862, 2994},{ 3021, 3060},{ 3193, 3111}, - { 3396, 3147},{ 3573, 3184},{ 3752, 3220},{ 4038, 3255} - }, - /*Cb qi=47 INTER*/ - { - { 101, 0},{ 107, 339},{ 108, 667},{ 120, 1033}, - { 142, 1394},{ 175, 1729},{ 227, 2040},{ 295, 2335}, - { 369, 2619},{ 452, 2888},{ 556, 3138},{ 686, 3368}, - { 850, 3574},{ 1050, 3758},{ 1299, 3910},{ 1605, 4024}, - { 1950, 4104},{ 2317, 4163},{ 2689, 4210},{ 3077, 4239}, - { 3466, 4258},{ 3840, 4278},{ 4205, 4298},{ 4515, 4340} - } - }, - { - /*Cr qi=47 INTRA*/ - { - { 19, 7},{ 138, 392},{ 248, 758},{ 396, 1094}, - { 563, 1378},{ 723, 1621},{ 881, 1829},{ 1037, 2011}, - { 1214, 2165},{ 1410, 2290},{ 1623, 2393},{ 1834, 2480}, - { 2016, 2564},{ 2203, 2647},{ 2405, 2707},{ 2569, 2757}, - { 2709, 2810},{ 2871, 2860},{ 3027, 2924},{ 3178, 2980}, - { 3375, 3034},{ 3563, 3097},{ 3724, 3151},{ 3952, 3153} - }, - /*Cr qi=47 INTER*/ - { - { 91, 1},{ 100, 351},{ 102, 681},{ 120, 1043}, - { 144, 1397},{ 175, 1729},{ 219, 2049},{ 277, 2356}, - { 353, 2640},{ 451, 2902},{ 579, 3136},{ 739, 3342}, - { 926, 3525},{ 1125, 3698},{ 1343, 3859},{ 1595, 3998}, - { 1881, 4113},{ 2208, 4205},{ 2589, 4253},{ 3014, 4250}, - { 3444, 4220},{ 3838, 4183},{ 4196, 4147},{ 4521, 4116} - } - } - }, - { - { - /*Y' qi=48 INTRA*/ - { - { 107, 87},{ 681, 1200},{ 1456, 1883},{ 2306, 2193}, - { 3122, 2386},{ 3984, 2548},{ 4862, 2693},{ 5704, 2808}, - { 6495, 2899},{ 7232, 2970},{ 7915, 3018},{ 8524, 3034}, - { 9085, 3043},{ 9635, 3068},{10192, 3108},{10735, 3145}, - {11237, 3171},{11719, 3194},{12153, 3207},{12516, 3206}, - {12888, 3202},{13266, 3210},{13637, 3218},{14101, 3219} - }, - /*Y' qi=48 INTER*/ - { - { 83, -18},{ 147, 1328},{ 398, 2519},{ 923, 3468}, - { 1979, 4047},{ 3472, 4246},{ 4936, 4232},{ 6148, 4178}, - { 7150, 4139},{ 8007, 4111},{ 8765, 4091},{ 9458, 4076}, - {10090, 4063},{10676, 4054},{11226, 4045},{11742, 4038}, - {12223, 4033},{12686, 4029},{13127, 4022},{13527, 4015}, - {13915, 4012},{14277, 4007},{14619, 4004},{14966, 4001} - } - }, - { - /*Cb qi=48 INTRA*/ - { - { 11, 2},{ 134, 369},{ 245, 730},{ 373, 1075}, - { 531, 1374},{ 698, 1625},{ 865, 1839},{ 1033, 2019}, - { 1207, 2173},{ 1397, 2300},{ 1588, 2408},{ 1795, 2501}, - { 2003, 2581},{ 2187, 2666},{ 2362, 2757},{ 2548, 2841}, - { 2719, 2912},{ 2876, 2983},{ 3034, 3047},{ 3209, 3097}, - { 3409, 3137},{ 3589, 3178},{ 3762, 3216},{ 4004, 3252} - }, - /*Cb qi=48 INTER*/ - { - { 113, 26},{ 112, 344},{ 111, 668},{ 120, 1032}, - { 141, 1392},{ 173, 1727},{ 224, 2036},{ 290, 2330}, - { 363, 2612},{ 447, 2880},{ 551, 3130},{ 685, 3358}, - { 852, 3563},{ 1061, 3742},{ 1332, 3884},{ 1654, 3993}, - { 2011, 4068},{ 2394, 4120},{ 2782, 4160},{ 3172, 4186}, - { 3557, 4209},{ 3932, 4228},{ 4306, 4237},{ 4675, 4236} - } - }, - { - /*Cr qi=48 INTRA*/ - { - { 18, 7},{ 139, 389},{ 252, 755},{ 404, 1090}, - { 573, 1372},{ 732, 1615},{ 889, 1823},{ 1045, 2005}, - { 1222, 2159},{ 1417, 2285},{ 1631, 2387},{ 1843, 2474}, - { 2027, 2558},{ 2212, 2639},{ 2413, 2697},{ 2578, 2746}, - { 2720, 2798},{ 2887, 2852},{ 3040, 2913},{ 3181, 2970}, - { 3381, 3024},{ 3581, 3081},{ 3743, 3130},{ 3948, 3133} - }, - /*Cr qi=48 INTER*/ - { - { 89, 0},{ 106, 352},{ 105, 682},{ 120, 1044}, - { 144, 1395},{ 174, 1724},{ 215, 2044},{ 270, 2350}, - { 343, 2635},{ 441, 2895},{ 571, 3129},{ 735, 3334}, - { 926, 3518},{ 1139, 3684},{ 1371, 3836},{ 1628, 3977}, - { 1933, 4089},{ 2279, 4164},{ 2672, 4204},{ 3105, 4205}, - { 3533, 4176},{ 3931, 4135},{ 4290, 4089},{ 4624, 4057} - } - } - }, - { - { - /*Y' qi=49 INTRA*/ - { - { 120, 85},{ 706, 1194},{ 1485, 1875},{ 2348, 2187}, - { 3190, 2372},{ 4076, 2521},{ 4967, 2658},{ 5819, 2771}, - { 6611, 2861},{ 7345, 2936},{ 8026, 2990},{ 8626, 3013}, - { 9182, 3030},{ 9723, 3059},{10266, 3100},{10802, 3143}, - {11293, 3179},{11768, 3206},{12201, 3221},{12556, 3225}, - {12914, 3226},{13281, 3237},{13639, 3247},{14089, 3257} - }, - /*Y' qi=49 INTER*/ - { - { 72, -11},{ 155, 1320},{ 458, 2485},{ 1090, 3386}, - { 2284, 3907},{ 3835, 4075},{ 5272, 4064},{ 6449, 4026}, - { 7426, 4003},{ 8267, 3987},{ 9017, 3976},{ 9698, 3967}, - {10328, 3962},{10913, 3959},{11452, 3954},{11961, 3950}, - {12442, 3947},{12904, 3946},{13347, 3945},{13749, 3943}, - {14123, 3941},{14490, 3941},{14826, 3939},{15153, 3937} - } - }, - { - /*Cb qi=49 INTRA*/ - { - { 11, 2},{ 145, 369},{ 262, 729},{ 393, 1070}, - { 557, 1363},{ 731, 1607},{ 907, 1811},{ 1085, 1983}, - { 1268, 2130},{ 1465, 2251},{ 1658, 2359},{ 1868, 2454}, - { 2079, 2534},{ 2264, 2621},{ 2440, 2717},{ 2625, 2802}, - { 2792, 2878},{ 2945, 2954},{ 3106, 3021},{ 3277, 3075}, - { 3466, 3119},{ 3638, 3170},{ 3824, 3213},{ 4100, 3243} - }, - /*Cb qi=49 INTER*/ - { - { 98, -6},{ 113, 343},{ 110, 669},{ 122, 1029}, - { 149, 1380},{ 192, 1706},{ 258, 2007},{ 340, 2293}, - { 426, 2569},{ 525, 2831},{ 653, 3071},{ 814, 3287}, - { 1013, 3478},{ 1262, 3637},{ 1575, 3761},{ 1936, 3851}, - { 2328, 3910},{ 2741, 3949},{ 3163, 3970},{ 3559, 3994}, - { 3936, 4025},{ 4300, 4050},{ 4655, 4060},{ 4962, 4062} - } - }, - { - /*Cr qi=49 INTRA*/ - { - { 19, 7},{ 151, 389},{ 270, 753},{ 427, 1084}, - { 602, 1360},{ 767, 1595},{ 933, 1794},{ 1098, 1968}, - { 1285, 2115},{ 1489, 2237},{ 1699, 2342},{ 1912, 2435}, - { 2101, 2519},{ 2288, 2601},{ 2486, 2663},{ 2651, 2715}, - { 2799, 2769},{ 2958, 2825},{ 3106, 2890},{ 3257, 2948}, - { 3452, 3007},{ 3634, 3075},{ 3786, 3136},{ 3959, 3164} - }, - /*Cr qi=49 INTER*/ - { - { 85, 1},{ 103, 352},{ 104, 681},{ 121, 1039}, - { 152, 1382},{ 195, 1702},{ 248, 2015},{ 316, 2316}, - { 403, 2595},{ 520, 2847},{ 676, 3068},{ 870, 3258}, - { 1091, 3429},{ 1329, 3585},{ 1597, 3725},{ 1894, 3849}, - { 2242, 3940},{ 2656, 3984},{ 3098, 3992},{ 3531, 3981}, - { 3936, 3950},{ 4304, 3915},{ 4646, 3879},{ 4915, 3861} - } - } - }, - { - { - /*Y' qi=50 INTRA*/ - { - { 122, 89},{ 798, 1170},{ 1682, 1812},{ 2613, 2096}, - { 3501, 2260},{ 4430, 2388},{ 5352, 2510},{ 6228, 2613}, - { 7043, 2698},{ 7793, 2770},{ 8486, 2823},{ 9092, 2846}, - { 9652, 2865},{10210, 2895},{10773, 2936},{11315, 2979}, - {11817, 3014},{12297, 3041},{12734, 3057},{13097, 3064}, - {13443, 3067},{13813, 3078},{14190, 3088},{14646, 3103} - }, - /*Y' qi=50 INTER*/ - { - { 73, -11},{ 154, 1318},{ 501, 2457},{ 1281, 3291}, - { 2685, 3719},{ 4356, 3810},{ 5811, 3769},{ 6988, 3726}, - { 7976, 3700},{ 8835, 3682},{ 9606, 3669},{10307, 3659}, - {10953, 3652},{11556, 3645},{12115, 3643},{12641, 3640}, - {13138, 3636},{13613, 3634},{14068, 3629},{14488, 3627}, - {14876, 3625},{15237, 3621},{15585, 3623},{15922, 3629} - } - }, - { - /*Cb qi=50 INTRA*/ - { - { 11, 2},{ 148, 368},{ 278, 724},{ 431, 1052}, - { 613, 1334},{ 806, 1567},{ 1004, 1756},{ 1203, 1915}, - { 1405, 2051},{ 1621, 2163},{ 1833, 2262},{ 2059, 2347}, - { 2280, 2424},{ 2476, 2512},{ 2670, 2598},{ 2864, 2679}, - { 3037, 2754},{ 3201, 2826},{ 3376, 2887},{ 3562, 2936}, - { 3756, 2976},{ 3932, 3022},{ 4117, 3065},{ 4385, 3094} - }, - /*Cb qi=50 INTER*/ - { - { 92, -3},{ 112, 343},{ 109, 669},{ 121, 1027}, - { 149, 1375},{ 196, 1697},{ 270, 1992},{ 366, 2267}, - { 471, 2532},{ 594, 2782},{ 747, 3011},{ 942, 3212}, - { 1189, 3384},{ 1497, 3521},{ 1875, 3613},{ 2297, 3673}, - { 2739, 3710},{ 3195, 3725},{ 3644, 3737},{ 4057, 3751}, - { 4445, 3763},{ 4841, 3769},{ 5211, 3779},{ 5568, 3769} - } - }, - { - /*Cr qi=50 INTRA*/ - { - { 19, 7},{ 155, 388},{ 290, 744},{ 474, 1060}, - { 666, 1324},{ 847, 1549},{ 1033, 1737},{ 1219, 1898}, - { 1428, 2034},{ 1653, 2147},{ 1885, 2245},{ 2115, 2329}, - { 2316, 2410},{ 2517, 2486},{ 2730, 2539},{ 2901, 2586}, - { 3042, 2638},{ 3199, 2693},{ 3366, 2755},{ 3534, 2805}, - { 3738, 2858},{ 3934, 2916},{ 4079, 2975},{ 4257, 2992} - }, - /*Cr qi=50 INTER*/ - { - { 87, 1},{ 102, 353},{ 103, 680},{ 121, 1036}, - { 153, 1377},{ 199, 1694},{ 260, 1999},{ 339, 2291}, - { 446, 2559},{ 590, 2797},{ 780, 3003},{ 1010, 3176}, - { 1267, 3331},{ 1547, 3474},{ 1874, 3594},{ 2245, 3688}, - { 2666, 3742},{ 3130, 3758},{ 3594, 3748},{ 4028, 3711}, - { 4415, 3674},{ 4771, 3641},{ 5122, 3605},{ 5482, 3569} - } - } - }, - { - { - /*Y' qi=51 INTRA*/ - { - { 115, 93},{ 819, 1164},{ 1739, 1806},{ 2695, 2101}, - { 3612, 2257},{ 4552, 2374},{ 5479, 2490},{ 6352, 2593}, - { 7158, 2683},{ 7898, 2761},{ 8580, 2823},{ 9177, 2854}, - { 9728, 2880},{10268, 2917},{10816, 2966},{11350, 3016}, - {11834, 3058},{12311, 3089},{12741, 3109},{13092, 3119}, - {13434, 3126},{13791, 3142},{14156, 3155},{14590, 3171} - }, - /*Y' qi=51 INTER*/ - { - { 58, 0},{ 171, 1307},{ 610, 2407},{ 1563, 3175}, - { 3116, 3545},{ 4789, 3624},{ 6185, 3602},{ 7320, 3583}, - { 8282, 3574},{ 9124, 3569},{ 9878, 3567},{10569, 3565}, - {11207, 3563},{11801, 3564},{12359, 3566},{12884, 3567}, - {13373, 3568},{13841, 3567},{14289, 3566},{14699, 3568}, - {15086, 3568},{15446, 3566},{15788, 3564},{16103, 3568} - } - }, - { - /*Cb qi=51 INTRA*/ - { - { 14, 3},{ 161, 369},{ 297, 722},{ 454, 1047}, - { 639, 1325},{ 833, 1554},{ 1033, 1742},{ 1236, 1897}, - { 1440, 2032},{ 1653, 2148},{ 1860, 2253},{ 2077, 2347}, - { 2288, 2432},{ 2476, 2525},{ 2661, 2621},{ 2841, 2714}, - { 3010, 2797},{ 3170, 2876},{ 3333, 2945},{ 3510, 3000}, - { 3696, 3054},{ 3865, 3114},{ 4046, 3164},{ 4317, 3200} - }, - /*Cb qi=51 INTER*/ - { - { 88, -11},{ 109, 341},{ 109, 668},{ 126, 1019}, - { 168, 1358},{ 233, 1670},{ 329, 1955},{ 451, 2219}, - { 584, 2472},{ 736, 2711},{ 931, 2923},{ 1179, 3104}, - { 1480, 3254},{ 1846, 3368},{ 2265, 3448},{ 2714, 3501}, - { 3180, 3524},{ 3638, 3529},{ 4074, 3543},{ 4485, 3560}, - { 4868, 3571},{ 5238, 3581},{ 5597, 3594},{ 5953, 3591} - } - }, - { - /*Cr qi=51 INTRA*/ - { - { 24, 7},{ 168, 388},{ 309, 742},{ 496, 1054}, - { 688, 1316},{ 873, 1538},{ 1063, 1723},{ 1252, 1882}, - { 1460, 2018},{ 1682, 2134},{ 1907, 2238},{ 2125, 2332}, - { 2317, 2422},{ 2507, 2510},{ 2705, 2575},{ 2869, 2630}, - { 3015, 2684},{ 3178, 2744},{ 3329, 2815},{ 3477, 2878}, - { 3667, 2945},{ 3848, 3016},{ 3997, 3082},{ 4174, 3121} - }, - /*Cr qi=51 INTER*/ - { - { 83, -2},{ 102, 351},{ 102, 680},{ 126, 1029}, - { 172, 1359},{ 238, 1665},{ 321, 1962},{ 422, 2246}, - { 552, 2505},{ 733, 2728},{ 970, 2912},{ 1247, 3069}, - { 1552, 3209},{ 1876, 3338},{ 2251, 3440},{ 2692, 3502}, - { 3161, 3529},{ 3637, 3525},{ 4084, 3509},{ 4487, 3479}, - { 4850, 3444},{ 5181, 3419},{ 5507, 3406},{ 5786, 3398} - } - } - }, - { - { - /*Y' qi=52 INTRA*/ - { - { 117, 93},{ 814, 1168},{ 1729, 1822},{ 2706, 2119}, - { 3655, 2262},{ 4604, 2374},{ 5528, 2490},{ 6394, 2596}, - { 7189, 2691},{ 7921, 2777},{ 8596, 2846},{ 9184, 2885}, - { 9728, 2918},{10260, 2961},{10796, 3014},{11316, 3069}, - {11793, 3115},{12267, 3150},{12692, 3172},{13037, 3185}, - {13367, 3196},{13717, 3214},{14087, 3227},{14521, 3249} - }, - /*Y' qi=52 INTER*/ - { - { 52, 0},{ 169, 1308},{ 668, 2382},{ 1735, 3112}, - { 3384, 3451},{ 5077, 3519},{ 6461, 3506},{ 7587, 3496}, - { 8545, 3494},{ 9384, 3494},{10142, 3498},{10838, 3501}, - {11475, 3503},{12078, 3508},{12640, 3511},{13162, 3513}, - {13654, 3517},{14130, 3521},{14576, 3522},{14980, 3523}, - {15369, 3523},{15737, 3522},{16071, 3521},{16382, 3516} - } - }, - { - /*Cb qi=52 INTRA*/ - { - { 14, 3},{ 163, 369},{ 299, 722},{ 457, 1044}, - { 645, 1319},{ 843, 1545},{ 1050, 1728},{ 1261, 1879}, - { 1468, 2013},{ 1678, 2132},{ 1883, 2240},{ 2093, 2338}, - { 2301, 2428},{ 2488, 2523},{ 2667, 2619},{ 2843, 2718}, - { 3010, 2805},{ 3163, 2887},{ 3323, 2963},{ 3490, 3028}, - { 3665, 3087},{ 3841, 3145},{ 4011, 3197},{ 4289, 3230} - }, - /*Cb qi=52 INTER*/ - { - { 98, -7},{ 109, 342},{ 109, 668},{ 126, 1018}, - { 170, 1355},{ 242, 1663},{ 352, 1941},{ 490, 2195}, - { 642, 2439},{ 823, 2666},{ 1052, 2868},{ 1333, 3039}, - { 1670, 3178},{ 2074, 3280},{ 2524, 3348},{ 2996, 3390}, - { 3469, 3410},{ 3923, 3420},{ 4355, 3434},{ 4771, 3451}, - { 5166, 3468},{ 5532, 3483},{ 5885, 3499},{ 6263, 3501} - } - }, - { - /*Cr qi=52 INTRA*/ - { - { 25, 7},{ 170, 388},{ 312, 741},{ 500, 1051}, - { 694, 1310},{ 883, 1529},{ 1082, 1709},{ 1280, 1864}, - { 1491, 1998},{ 1710, 2117},{ 1932, 2225},{ 2143, 2324}, - { 2328, 2418},{ 2516, 2506},{ 2708, 2578},{ 2870, 2637}, - { 3017, 2693},{ 3170, 2758},{ 3312, 2835},{ 3455, 2901}, - { 3644, 2972},{ 3827, 3049},{ 3968, 3121},{ 4115, 3166} - }, - /*Cr qi=52 INTER*/ - { - { 86, -2},{ 101, 352},{ 100, 680},{ 126, 1028}, - { 175, 1356},{ 247, 1657},{ 341, 1948},{ 458, 2224}, - { 615, 2471},{ 828, 2681},{ 1091, 2857},{ 1395, 3008}, - { 1732, 3140},{ 2095, 3257},{ 2502, 3348},{ 2968, 3402}, - { 3457, 3420},{ 3926, 3413},{ 4360, 3388},{ 4759, 3357}, - { 5128, 3329},{ 5449, 3306},{ 5741, 3295},{ 6071, 3296} - } - } - }, - { - { - /*Y' qi=53 INTRA*/ - { - { 138, 93},{ 850, 1161},{ 1773, 1810},{ 2763, 2103}, - { 3722, 2245},{ 4675, 2360},{ 5600, 2483},{ 6464, 2597}, - { 7255, 2700},{ 7982, 2792},{ 8652, 2867},{ 9237, 2913}, - { 9775, 2950},{10302, 2998},{10834, 3058},{11347, 3121}, - {11826, 3169},{12299, 3207},{12713, 3235},{13054, 3250}, - {13387, 3265},{13744, 3286},{14110, 3302},{14515, 3323} - }, - /*Y' qi=53 INTER*/ - { - { 52, 2},{ 169, 1308},{ 680, 2377},{ 1763, 3103}, - { 3410, 3450},{ 5094, 3531},{ 6469, 3526},{ 7590, 3525}, - { 8547, 3530},{ 9385, 3534},{10139, 3540},{10835, 3548}, - {11479, 3553},{12075, 3559},{12634, 3565},{13159, 3570}, - {13650, 3573},{14124, 3576},{14575, 3580},{14993, 3583}, - {15375, 3584},{15744, 3584},{16091, 3583},{16421, 3586} - } - }, - { - /*Cb qi=53 INTRA*/ - { - { 14, 3},{ 167, 367},{ 317, 717},{ 492, 1033}, - { 687, 1306},{ 887, 1531},{ 1095, 1715},{ 1309, 1866}, - { 1517, 2000},{ 1729, 2119},{ 1932, 2227},{ 2146, 2325}, - { 2358, 2414},{ 2544, 2511},{ 2724, 2611},{ 2902, 2711}, - { 3070, 2800},{ 3227, 2878},{ 3381, 2954},{ 3548, 3021}, - { 3724, 3077},{ 3888, 3140},{ 4065, 3196},{ 4359, 3225} - }, - /*Cb qi=53 INTER*/ - { - { 93, -8},{ 110, 342},{ 108, 668},{ 125, 1018}, - { 170, 1355},{ 242, 1663},{ 353, 1939},{ 494, 2192}, - { 651, 2433},{ 838, 2658},{ 1076, 2856},{ 1368, 3022}, - { 1716, 3158},{ 2123, 3260},{ 2575, 3330},{ 3042, 3373}, - { 3507, 3396},{ 3962, 3413},{ 4394, 3430},{ 4797, 3452}, - { 5169, 3476},{ 5547, 3496},{ 5914, 3510},{ 6235, 3525} - } - }, - { - /*Cr qi=53 INTRA*/ - { - { 25, 7},{ 175, 386},{ 335, 734},{ 541, 1037}, - { 737, 1296},{ 926, 1516},{ 1125, 1696},{ 1324, 1851}, - { 1540, 1984},{ 1763, 2102},{ 1989, 2210},{ 2202, 2310}, - { 2386, 2404},{ 2572, 2495},{ 2768, 2569},{ 2929, 2627}, - { 3071, 2684},{ 3231, 2749},{ 3374, 2825},{ 3514, 2894}, - { 3703, 2963},{ 3882, 3040},{ 4024, 3111},{ 4190, 3150} - }, - /*Cr qi=53 INTER*/ - { - { 87, -1},{ 99, 352},{ 100, 680},{ 125, 1027}, - { 175, 1355},{ 249, 1657},{ 343, 1946},{ 462, 2220}, - { 624, 2465},{ 844, 2671},{ 1122, 2841},{ 1435, 2989}, - { 1768, 3125},{ 2134, 3243},{ 2545, 3334},{ 3002, 3393}, - { 3490, 3412},{ 3965, 3405},{ 4401, 3384},{ 4797, 3359}, - { 5156, 3328},{ 5482, 3297},{ 5800, 3292},{ 6135, 3293} - } - } - }, - { - { - /*Y' qi=54 INTRA*/ - { - { 184, 94},{ 902, 1151},{ 1876, 1776},{ 2881, 2057}, - { 3832, 2200},{ 4785, 2315},{ 5709, 2442},{ 6570, 2562}, - { 7362, 2672},{ 8092, 2771},{ 8760, 2852},{ 9337, 2901}, - { 9874, 2943},{10402, 2995},{10928, 3059},{11443, 3126}, - {11926, 3178},{12396, 3220},{12805, 3251},{13139, 3266}, - {13466, 3280},{13822, 3304},{14184, 3322},{14585, 3342} - }, - /*Y' qi=54 INTER*/ - { - { 60, 5},{ 169, 1308},{ 683, 2375},{ 1791, 3090}, - { 3478, 3412},{ 5184, 3470},{ 6568, 3455},{ 7697, 3446}, - { 8659, 3446},{ 9503, 3447},{10266, 3450},{10971, 3454}, - {11619, 3458},{12223, 3462},{12789, 3467},{13315, 3471}, - {13811, 3475},{14291, 3479},{14743, 3479},{15148, 3481}, - {15535, 3483},{15913, 3481},{16252, 3479},{16569, 3472} - } - }, - { - /*Cb qi=54 INTRA*/ - { - { 13, 2},{ 165, 367},{ 318, 715},{ 498, 1030}, - { 698, 1301},{ 906, 1523},{ 1121, 1703},{ 1336, 1853}, - { 1549, 1984},{ 1765, 2100},{ 1974, 2207},{ 2192, 2306}, - { 2402, 2396},{ 2587, 2493},{ 2773, 2591},{ 2953, 2691}, - { 3119, 2778},{ 3277, 2858},{ 3430, 2940},{ 3603, 3004}, - { 3788, 3059},{ 3950, 3121},{ 4128, 3173},{ 4398, 3215} - }, - /*Cb qi=54 INTER*/ - { - { 100, -3},{ 109, 343},{ 107, 668},{ 125, 1018}, - { 169, 1354},{ 241, 1662},{ 353, 1938},{ 496, 2190}, - { 655, 2431},{ 843, 2655},{ 1082, 2851},{ 1381, 3015}, - { 1739, 3146},{ 2154, 3243},{ 2610, 3310},{ 3094, 3344}, - { 3581, 3358},{ 4034, 3371},{ 4457, 3384},{ 4867, 3399}, - { 5255, 3413},{ 5630, 3425},{ 6003, 3440},{ 6346, 3440} - } - }, - { - /*Cr qi=54 INTRA*/ - { - { 23, 7},{ 174, 386},{ 338, 732},{ 549, 1034}, - { 751, 1289},{ 947, 1506},{ 1150, 1685},{ 1353, 1837}, - { 1572, 1969},{ 1800, 2087},{ 2031, 2192},{ 2248, 2291}, - { 2434, 2387},{ 2622, 2477},{ 2815, 2549},{ 2976, 2607}, - { 3126, 2663},{ 3286, 2727},{ 3427, 2807},{ 3569, 2877}, - { 3761, 2941},{ 3942, 3016},{ 4084, 3093},{ 4226, 3131} - }, - /*Cr qi=54 INTER*/ - { - { 88, -2},{ 99, 351},{ 100, 680},{ 125, 1027}, - { 175, 1354},{ 248, 1656},{ 343, 1945},{ 463, 2219}, - { 626, 2463},{ 850, 2668},{ 1128, 2837},{ 1445, 2983}, - { 1791, 3111},{ 2168, 3224},{ 2597, 3309},{ 3075, 3351}, - { 3560, 3364},{ 4029, 3356},{ 4464, 3335},{ 4858, 3307}, - { 5218, 3275},{ 5547, 3256},{ 5850, 3247},{ 6171, 3214} - } - } - }, - { - { - /*Y' qi=55 INTRA*/ - { - { 178, 95},{ 968, 1137},{ 2000, 1747},{ 3013, 2027}, - { 3966, 2173},{ 4920, 2294},{ 5842, 2427},{ 6702, 2553}, - { 7489, 2668},{ 8213, 2773},{ 8875, 2858},{ 9452, 2913}, - { 9986, 2959},{10504, 3016},{11023, 3085},{11530, 3157}, - {12011, 3213},{12480, 3257},{12882, 3291},{13214, 3310}, - {13542, 3325},{13890, 3350},{14248, 3371},{14671, 3398} - }, - /*Y' qi=55 INTER*/ - { - { 59, 5},{ 170, 1307},{ 725, 2358},{ 1886, 3058}, - { 3589, 3385},{ 5284, 3459},{ 6654, 3458},{ 7771, 3461}, - { 8727, 3470},{ 9564, 3478},{10322, 3488},{11019, 3497}, - {11658, 3505},{12258, 3513},{12819, 3520},{13344, 3527}, - {13840, 3533},{14314, 3537},{14755, 3541},{15161, 3544}, - {15552, 3548},{15916, 3548},{16257, 3548},{16576, 3540} - } - }, - { - /*Cb qi=55 INTRA*/ - { - { 13, 2},{ 167, 366},{ 322, 714},{ 508, 1026}, - { 716, 1292},{ 930, 1511},{ 1148, 1690},{ 1366, 1839}, - { 1578, 1972},{ 1793, 2090},{ 2001, 2199},{ 2217, 2300}, - { 2427, 2393},{ 2609, 2495},{ 2784, 2600},{ 2961, 2704}, - { 3121, 2797},{ 3268, 2884},{ 3423, 2965},{ 3590, 3032}, - { 3764, 3096},{ 3926, 3165},{ 4101, 3223},{ 4405, 3258} - }, - /*Cb qi=55 INTER*/ - { - { 90, -4},{ 109, 344},{ 107, 668},{ 126, 1017}, - { 172, 1351},{ 249, 1657},{ 370, 1928},{ 527, 2174}, - { 702, 2407},{ 909, 2624},{ 1170, 2814},{ 1493, 2970}, - { 1869, 3097},{ 2292, 3192},{ 2752, 3258},{ 3232, 3295}, - { 3709, 3314},{ 4156, 3335},{ 4592, 3355},{ 5004, 3373}, - { 5377, 3389},{ 5737, 3411},{ 6092, 3432},{ 6473, 3423} - } - }, - { - /*Cr qi=55 INTRA*/ - { - { 23, 7},{ 175, 385},{ 342, 730},{ 561, 1028}, - { 771, 1279},{ 973, 1493},{ 1181, 1669},{ 1384, 1822}, - { 1602, 1956},{ 1830, 2076},{ 2057, 2184},{ 2270, 2288}, - { 2452, 2389},{ 2637, 2484},{ 2823, 2559},{ 2983, 2621}, - { 3129, 2682},{ 3280, 2753},{ 3417, 2833},{ 3554, 2904}, - { 3743, 2977},{ 3921, 3060},{ 4055, 3137},{ 4185, 3186} - }, - /*Cr qi=55 INTER*/ - { - { 85, 0},{ 99, 352},{ 100, 679},{ 126, 1025}, - { 178, 1351},{ 256, 1650},{ 359, 1935},{ 493, 2202}, - { 675, 2439},{ 921, 2636},{ 1220, 2799},{ 1552, 2941}, - { 1910, 3068},{ 2303, 3177},{ 2735, 3262},{ 3206, 3311}, - { 3689, 3333},{ 4152, 3327},{ 4588, 3299},{ 4978, 3272}, - { 5325, 3243},{ 5651, 3221},{ 5969, 3210},{ 6218, 3185} - } - } - }, - { - { - /*Y' qi=56 INTRA*/ - { - { 137, 104},{ 1048, 1128},{ 2147, 1760},{ 3261, 2029}, - { 4319, 2131},{ 5310, 2234},{ 6245, 2351},{ 7101, 2464}, - { 7886, 2572},{ 8610, 2675},{ 9270, 2762},{ 9840, 2818}, - {10365, 2869},{10875, 2928},{11393, 2997},{11900, 3071}, - {12371, 3128},{12834, 3172},{13233, 3208},{13562, 3228}, - {13878, 3245},{14221, 3271},{14584, 3292},{15008, 3320} - }, - /*Y' qi=56 INTER*/ - { - { 19, 21},{ 207, 1292},{ 1031, 2252},{ 2553, 2846}, - { 4463, 3085},{ 6137, 3131},{ 7441, 3151},{ 8526, 3172}, - { 9468, 3193},{10301, 3209},{11059, 3224},{11760, 3237}, - {12405, 3249},{13008, 3261},{13570, 3270},{14100, 3278}, - {14597, 3284},{15074, 3289},{15524, 3297},{15929, 3302}, - {16314, 3306},{16675, 3307},{17004, 3305},{17288, 3301} - } - }, - { - /*Cb qi=56 INTRA*/ - { - { 16, 3},{ 188, 367},{ 353, 712},{ 546, 1017}, - { 765, 1275},{ 989, 1484},{ 1221, 1653},{ 1459, 1791}, - { 1681, 1920},{ 1893, 2046},{ 2102, 2160},{ 2323, 2257}, - { 2534, 2347},{ 2720, 2447},{ 2902, 2549},{ 3075, 2654}, - { 3239, 2749},{ 3392, 2835},{ 3544, 2920},{ 3712, 2988}, - { 3882, 3052},{ 4052, 3123},{ 4227, 3181},{ 4483, 3213} - }, - /*Cb qi=56 INTER*/ - { - { 92, -1},{ 111, 343},{ 114, 665},{ 148, 1003}, - { 224, 1321},{ 345, 1609},{ 526, 1858},{ 754, 2077}, - { 1009, 2281},{ 1319, 2464},{ 1702, 2614},{ 2145, 2732}, - { 2625, 2824},{ 3123, 2890},{ 3634, 2933},{ 4137, 2954}, - { 4614, 2965},{ 5052, 2988},{ 5468, 3015},{ 5852, 3035}, - { 6213, 3060},{ 6557, 3081},{ 6906, 3094},{ 7243, 3112} - } - }, - { - /*Cr qi=56 INTRA*/ - { - { 28, 8},{ 195, 385},{ 373, 727},{ 598, 1019}, - { 816, 1263},{ 1033, 1465},{ 1260, 1630},{ 1482, 1773}, - { 1717, 1900},{ 1949, 2018},{ 2178, 2128},{ 2393, 2233}, - { 2570, 2338},{ 2749, 2435},{ 2937, 2514},{ 3097, 2577}, - { 3240, 2638},{ 3398, 2709},{ 3540, 2791},{ 3673, 2865}, - { 3869, 2938},{ 4049, 3019},{ 4179, 3095},{ 4330, 3137} - }, - /*Cr qi=56 INTER*/ - { - { 83, 0},{ 99, 353},{ 103, 676},{ 146, 1010}, - { 232, 1320},{ 355, 1601},{ 512, 1866},{ 713, 2109}, - { 988, 2312},{ 1344, 2471},{ 1750, 2602},{ 2180, 2719}, - { 2642, 2819},{ 3141, 2892},{ 3653, 2939},{ 4159, 2961}, - { 4636, 2961},{ 5072, 2945},{ 5464, 2917},{ 5813, 2895}, - { 6134, 2890},{ 6458, 2883},{ 6735, 2881},{ 6953, 2902} - } - } - }, - { - { - /*Y' qi=57 INTRA*/ - { - { 170, 106},{ 1106, 1120},{ 2246, 1740},{ 3399, 1993}, - { 4482, 2077},{ 5492, 2167},{ 6446, 2273},{ 7324, 2379}, - { 8130, 2482},{ 8866, 2578},{ 9537, 2661},{10119, 2715}, - {10646, 2762},{11161, 2820},{11694, 2886},{12214, 2957}, - {12693, 3013},{13166, 3053},{13569, 3087},{13897, 3106}, - {14224, 3122},{14568, 3148},{14931, 3167},{15390, 3192} - }, - /*Y' qi=57 INTER*/ - { - { 19, 20},{ 205, 1292},{ 1096, 2229},{ 2775, 2766}, - { 4811, 2943},{ 6512, 2964},{ 7832, 2976},{ 8940, 2990}, - { 9903, 3004},{10755, 3017},{11532, 3029},{12243, 3039}, - {12891, 3047},{13502, 3058},{14073, 3065},{14603, 3071}, - {15097, 3078},{15581, 3083},{16036, 3086},{16452, 3090}, - {16855, 3093},{17222, 3094},{17552, 3092},{17851, 3098} - } - }, - { - /*Cb qi=57 INTRA*/ - { - { 16, 3},{ 197, 365},{ 384, 704},{ 603, 1001}, - { 837, 1252},{ 1077, 1455},{ 1326, 1618},{ 1581, 1748}, - { 1819, 1871},{ 2042, 1993},{ 2264, 2104},{ 2500, 2196}, - { 2722, 2280},{ 2916, 2375},{ 3103, 2473},{ 3290, 2575}, - { 3456, 2667},{ 3612, 2748},{ 3775, 2829},{ 3958, 2896}, - { 4145, 2947},{ 4307, 3012},{ 4476, 3070},{ 4733, 3110} - }, - /*Cb qi=57 INTER*/ - { - { 94, -1},{ 111, 344},{ 112, 665},{ 147, 1002}, - { 227, 1319},{ 353, 1604},{ 543, 1849},{ 785, 2062}, - { 1066, 2257},{ 1408, 2430},{ 1827, 2568},{ 2320, 2670}, - { 2848, 2743},{ 3386, 2791},{ 3934, 2812},{ 4453, 2820}, - { 4929, 2830},{ 5368, 2842},{ 5787, 2856},{ 6190, 2875}, - { 6554, 2896},{ 6895, 2913},{ 7229, 2927},{ 7572, 2932} - } - }, - { - /*Cr qi=57 INTRA*/ - { - { 28, 8},{ 207, 383},{ 413, 716},{ 661, 999}, - { 889, 1237},{ 1123, 1433},{ 1365, 1592},{ 1603, 1731}, - { 1853, 1852},{ 2103, 1965},{ 2345, 2072},{ 2571, 2173}, - { 2763, 2271},{ 2949, 2364},{ 3146, 2438},{ 3315, 2497}, - { 3459, 2552},{ 3618, 2616},{ 3767, 2697},{ 3906, 2773}, - { 4099, 2841},{ 4281, 2916},{ 4429, 2987},{ 4569, 3030} - }, - /*Cr qi=57 INTER*/ - { - { 85, 0},{ 99, 352},{ 102, 675},{ 147, 1008}, - { 235, 1317},{ 363, 1597},{ 529, 1858},{ 748, 2094}, - { 1050, 2287},{ 1439, 2436},{ 1877, 2557},{ 2352, 2660}, - { 2869, 2740},{ 3413, 2791},{ 3962, 2815},{ 4485, 2819}, - { 4955, 2816},{ 5382, 2800},{ 5769, 2772},{ 6107, 2748}, - { 6443, 2740},{ 6754, 2739},{ 7029, 2737},{ 7284, 2745} - } - } - }, - { - { - /*Y' qi=58 INTRA*/ - { - { 164, 109},{ 1198, 1111},{ 2396, 1737},{ 3606, 1978}, - { 4727, 2048},{ 5749, 2138},{ 6708, 2243},{ 7584, 2347}, - { 8388, 2449},{ 9122, 2549},{ 9784, 2635},{10354, 2691}, - {10876, 2740},{11385, 2800},{11912, 2869},{12429, 2941}, - {12902, 2997},{13375, 3040},{13779, 3075},{14103, 3096}, - {14435, 3112},{14783, 3140},{15141, 3160},{15599, 3186} - }, - /*Y' qi=58 INTER*/ - { - { 14, 23},{ 210, 1290},{ 1277, 2178},{ 3118, 2677}, - { 5207, 2834},{ 6902, 2857},{ 8218, 2878},{ 9323, 2900}, - {10285, 2919},{11132, 2934},{11899, 2949},{12599, 2961}, - {13235, 2971},{13835, 2982},{14394, 2991},{14917, 2997}, - {15412, 3005},{15882, 3009},{16325, 3013},{16735, 3016}, - {17131, 3018},{17501, 3021},{17824, 3021},{18125, 3016} - } - }, - { - /*Cb qi=58 INTRA*/ - { - { 17, 3},{ 200, 365},{ 389, 703},{ 613, 996}, - { 853, 1243},{ 1095, 1445},{ 1349, 1604},{ 1613, 1731}, - { 1853, 1853},{ 2074, 1978},{ 2292, 2091},{ 2526, 2184}, - { 2750, 2266},{ 2945, 2360},{ 3134, 2458},{ 3320, 2561}, - { 3482, 2654},{ 3641, 2737},{ 3804, 2818},{ 3985, 2881}, - { 4168, 2935},{ 4331, 3003},{ 4499, 3060},{ 4751, 3100} - }, - /*Cb qi=58 INTER*/ - { - { 94, -1},{ 112, 345},{ 112, 665},{ 152, 998}, - { 247, 1307},{ 406, 1580},{ 644, 1810},{ 938, 2007}, - { 1271, 2189},{ 1668, 2348},{ 2151, 2470},{ 2691, 2558}, - { 3249, 2619},{ 3798, 2659},{ 4334, 2682},{ 4849, 2692}, - { 5314, 2700},{ 5747, 2721},{ 6167, 2742},{ 6547, 2765}, - { 6902, 2790},{ 7251, 2804},{ 7583, 2819},{ 7924, 2833} - } - }, - { - /*Cr qi=58 INTRA*/ - { - { 29, 8},{ 210, 382},{ 419, 714},{ 671, 993}, - { 903, 1229},{ 1141, 1422},{ 1390, 1578},{ 1635, 1713}, - { 1889, 1833},{ 2140, 1946},{ 2379, 2055},{ 2604, 2157}, - { 2794, 2256},{ 2977, 2349},{ 3174, 2422},{ 3339, 2482}, - { 3483, 2537},{ 3643, 2604},{ 3790, 2684},{ 3927, 2757}, - { 4112, 2826},{ 4294, 2900},{ 4451, 2975},{ 4600, 3011} - }, - /*Cr qi=58 INTER*/ - { - { 86, 0},{ 99, 352},{ 103, 675},{ 151, 1004}, - { 256, 1306},{ 417, 1573},{ 628, 1819},{ 901, 2040}, - { 1262, 2217},{ 1705, 2353},{ 2191, 2466},{ 2713, 2556}, - { 3268, 2622},{ 3831, 2664},{ 4374, 2682},{ 4881, 2686}, - { 5339, 2685},{ 5747, 2668},{ 6123, 2646},{ 6465, 2630}, - { 6783, 2618},{ 7082, 2623},{ 7366, 2632},{ 7673, 2654} - } - } - }, - { - { - /*Y' qi=59 INTRA*/ - { - { 142, 112},{ 1259, 1100},{ 2552, 1711},{ 3815, 1933}, - { 4955, 1987},{ 5983, 2068},{ 6949, 2165},{ 7832, 2263}, - { 8645, 2359},{ 9392, 2454},{10066, 2536},{10643, 2589}, - {11174, 2636},{11696, 2693},{12230, 2758},{12752, 2826}, - {13239, 2883},{13721, 2926},{14139, 2959},{14479, 2978}, - {14811, 2993},{15166, 3020},{15532, 3039},{16000, 3062} - }, - /*Y' qi=59 INTER*/ - { - { 8, 25},{ 211, 1289},{ 1394, 2144},{ 3421, 2580}, - { 5611, 2689},{ 7316, 2701},{ 8643, 2717},{ 9762, 2734}, - {10735, 2750},{11587, 2763},{12353, 2775},{13056, 2785}, - {13693, 2793},{14288, 2805},{14843, 2814},{15361, 2821}, - {15857, 2827},{16328, 2831},{16763, 2834},{17171, 2838}, - {17568, 2840},{17941, 2842},{18285, 2843},{18586, 2839} - } - }, - { - /*Cb qi=59 INTRA*/ - { - { 17, 3},{ 224, 363},{ 441, 696},{ 689, 982}, - { 945, 1222},{ 1204, 1416},{ 1474, 1571},{ 1751, 1695}, - { 2001, 1816},{ 2228, 1941},{ 2453, 2055},{ 2693, 2147}, - { 2924, 2227},{ 3125, 2321},{ 3321, 2416},{ 3510, 2520}, - { 3676, 2616},{ 3839, 2699},{ 4008, 2778},{ 4193, 2842}, - { 4371, 2898},{ 4535, 2965},{ 4710, 3023},{ 4921, 3068} - }, - /*Cb qi=59 INTER*/ - { - { 95, -5},{ 111, 343},{ 112, 664},{ 157, 995}, - { 258, 1302},{ 429, 1569},{ 691, 1790},{ 1017, 1977}, - { 1387, 2148},{ 1832, 2294},{ 2368, 2401},{ 2961, 2472}, - { 3553, 2518},{ 4133, 2545},{ 4688, 2557},{ 5198, 2563}, - { 5663, 2574},{ 6100, 2590},{ 6511, 2608},{ 6898, 2621}, - { 7274, 2634},{ 7631, 2655},{ 7984, 2669},{ 8361, 2669} - } - }, - { - /*Cr qi=59 INTRA*/ - { - { 31, 8},{ 240, 379},{ 480, 706},{ 748, 978}, - { 993, 1208},{ 1250, 1394},{ 1519, 1543},{ 1779, 1674}, - { 2047, 1792},{ 2307, 1904},{ 2552, 2013},{ 2780, 2116}, - { 2973, 2216},{ 3165, 2309},{ 3362, 2383},{ 3528, 2444}, - { 3677, 2499},{ 3841, 2566},{ 3995, 2646},{ 4139, 2720}, - { 4324, 2793},{ 4504, 2867},{ 4658, 2939},{ 4806, 2975} - }, - /*Cr qi=59 INTER*/ - { - { 89, -3},{ 98, 352},{ 103, 674},{ 156, 1002}, - { 268, 1300},{ 441, 1562},{ 673, 1801},{ 980, 2010}, - { 1385, 2175},{ 1868, 2301},{ 2401, 2402},{ 2984, 2474}, - { 3591, 2520},{ 4179, 2545},{ 4729, 2555},{ 5232, 2553}, - { 5679, 2545},{ 6081, 2530},{ 6447, 2510},{ 6791, 2496}, - { 7101, 2487},{ 7393, 2489},{ 7684, 2499},{ 7950, 2501} - } - } - }, - { - { - /*Y' qi=60 INTRA*/ - { - { 92, 116},{ 1361, 1085},{ 2746, 1686},{ 4050, 1895}, - { 5209, 1939},{ 6244, 2012},{ 7213, 2103},{ 8105, 2197}, - { 8928, 2290},{ 9685, 2381},{10371, 2460},{10952, 2511}, - {11487, 2556},{12026, 2611},{12574, 2674},{13102, 2739}, - {13597, 2793},{14092, 2831},{14523, 2862},{14862, 2881}, - {15198, 2897},{15568, 2923},{15949, 2941},{16416, 2964} - }, - /*Y' qi=60 INTER*/ - { - { 4, 30},{ 215, 1287},{ 1547, 2104},{ 3729, 2491}, - { 5973, 2568},{ 7672, 2577},{ 9001, 2591},{10123, 2606}, - {11094, 2620},{11943, 2632},{12709, 2643},{13409, 2652}, - {14044, 2660},{14641, 2669},{15193, 2677},{15709, 2684}, - {16201, 2689},{16675, 2693},{17118, 2696},{17522, 2701}, - {17920, 2704},{18293, 2706},{18620, 2702},{18923, 2700} - } - }, - { - /*Cb qi=60 INTRA*/ - { - { 18, 3},{ 227, 362},{ 447, 694},{ 708, 974}, - { 981, 1207},{ 1252, 1397},{ 1532, 1547},{ 1822, 1663}, - { 2082, 1780},{ 2316, 1903},{ 2548, 2013},{ 2794, 2101}, - { 3029, 2178},{ 3242, 2266},{ 3445, 2360},{ 3638, 2459}, - { 3816, 2547},{ 3980, 2628},{ 4146, 2708},{ 4344, 2766}, - { 4546, 2812},{ 4725, 2872},{ 4880, 2930},{ 5054, 2966} - }, - /*Cb qi=60 INTER*/ - { - { 97, -4},{ 112, 343},{ 114, 664},{ 162, 993}, - { 273, 1294},{ 472, 1553},{ 774, 1762},{ 1138, 1939}, - { 1543, 2102},{ 2034, 2236},{ 2620, 2329},{ 3244, 2389}, - { 3860, 2423},{ 4443, 2440},{ 4997, 2449},{ 5502, 2455}, - { 5962, 2458},{ 6413, 2466},{ 6836, 2485},{ 7217, 2506}, - { 7592, 2518},{ 7957, 2533},{ 8291, 2543},{ 8574, 2545} - } - }, - { - /*Cr qi=60 INTRA*/ - { - { 32, 8},{ 243, 379},{ 488, 702},{ 771, 968}, - { 1030, 1192},{ 1300, 1373},{ 1581, 1517},{ 1854, 1643}, - { 2127, 1757},{ 2393, 1864},{ 2645, 1968},{ 2879, 2068}, - { 3078, 2166},{ 3277, 2256},{ 3484, 2325},{ 3660, 2381}, - { 3808, 2433},{ 3970, 2496},{ 4138, 2571},{ 4288, 2643}, - { 4475, 2710},{ 4655, 2778},{ 4810, 2843},{ 4959, 2879} - }, - /*Cr qi=60 INTER*/ - { - { 86, -2},{ 99, 352},{ 103, 673},{ 160, 998}, - { 284, 1292},{ 484, 1546},{ 753, 1774},{ 1100, 1973}, - { 1546, 2129},{ 2072, 2246},{ 2652, 2334},{ 3279, 2392}, - { 3911, 2425},{ 4504, 2440},{ 5044, 2443},{ 5536, 2440}, - { 5979, 2430},{ 6381, 2413},{ 6735, 2397},{ 7062, 2382}, - { 7383, 2376},{ 7680, 2375},{ 7962, 2373},{ 8203, 2379} - } - } - }, - { - { - /*Y' qi=61 INTRA*/ - { - { 54, 121},{ 1477, 1069},{ 3061, 1638},{ 4465, 1808}, - { 5649, 1827},{ 6710, 1884},{ 7716, 1958},{ 8648, 2037}, - { 9514, 2116},{10311, 2192},{11033, 2261},{11641, 2305}, - {12202, 2342},{12771, 2387},{13356, 2440},{13924, 2493}, - {14444, 2541},{14951, 2576},{15409, 2600},{15779, 2615}, - {16131, 2626},{16521, 2648},{16921, 2663},{17409, 2694} - }, - /*Y' qi=61 INTER*/ - { - { -1, 32},{ 216, 1286},{ 1806, 2036},{ 4279, 2327}, - { 6629, 2352},{ 8347, 2352},{ 9707, 2357},{10860, 2364}, - {11857, 2372},{12726, 2377},{13508, 2382},{14225, 2387}, - {14877, 2392},{15484, 2398},{16048, 2401},{16581, 2405}, - {17092, 2409},{17573, 2409},{18016, 2410},{18427, 2413}, - {18829, 2415},{19221, 2415},{19578, 2415},{19980, 2413} - } - }, - { - /*Cb qi=61 INTRA*/ - { - { 19, 3},{ 231, 362},{ 456, 693},{ 733, 965}, - { 1032, 1188},{ 1330, 1369},{ 1637, 1508},{ 1956, 1612}, - { 2241, 1718},{ 2496, 1832},{ 2750, 1932},{ 3019, 2007}, - { 3274, 2074},{ 3505, 2154},{ 3725, 2236},{ 3943, 2323}, - { 4138, 2403},{ 4323, 2476},{ 4505, 2543},{ 4706, 2592}, - { 4909, 2630},{ 5109, 2675},{ 5292, 2724},{ 5495, 2768} - }, - /*Cb qi=61 INTER*/ - { - { 91, -2},{ 111, 344},{ 114, 663},{ 166, 989}, - { 291, 1285},{ 522, 1534},{ 875, 1729},{ 1302, 1889}, - { 1786, 2031},{ 2368, 2141},{ 3042, 2207},{ 3734, 2243}, - { 4388, 2259},{ 4982, 2264},{ 5533, 2265},{ 6043, 2262}, - { 6524, 2264},{ 6982, 2274},{ 7422, 2283},{ 7831, 2295}, - { 8198, 2308},{ 8593, 2319},{ 8965, 2329},{ 9258, 2340} - } - }, - { - /*Cr qi=61 INTRA*/ - { - { 33, 9},{ 245, 378},{ 497, 699},{ 801, 958}, - { 1087, 1171},{ 1384, 1342},{ 1692, 1474},{ 1992, 1589}, - { 2290, 1692},{ 2576, 1789},{ 2852, 1884},{ 3109, 1973}, - { 3324, 2061},{ 3544, 2142},{ 3763, 2199},{ 3945, 2244}, - { 4103, 2292},{ 4283, 2349},{ 4469, 2413},{ 4635, 2476}, - { 4836, 2534},{ 5038, 2592},{ 5210, 2649},{ 5358, 2682} - }, - /*Cr qi=61 INTER*/ - { - { 82, 0},{ 97, 353},{ 104, 672},{ 165, 995}, - { 303, 1284},{ 532, 1529},{ 852, 1742},{ 1273, 1921}, - { 1798, 2057},{ 2409, 2154},{ 3090, 2212},{ 3794, 2240}, - { 4460, 2251},{ 5057, 2249},{ 5596, 2249},{ 6085, 2245}, - { 6519, 2234},{ 6908, 2220},{ 7269, 2203},{ 7618, 2196}, - { 7949, 2198},{ 8269, 2195},{ 8554, 2196},{ 8928, 2217} - } - } - }, - { - { - /*Y' qi=62 INTRA*/ - { - { 29, 124},{ 1527, 1067},{ 3221, 1618},{ 4703, 1751}, - { 5909, 1744},{ 7001, 1779},{ 8057, 1829},{ 9049, 1885}, - { 9968, 1943},{10813, 1999},{11572, 2050},{12206, 2082}, - {12801, 2107},{13402, 2140},{14020, 2180},{14625, 2223}, - {15179, 2260},{15718, 2288},{16196, 2305},{16581, 2313}, - {16963, 2324},{17382, 2341},{17800, 2351},{18318, 2376} - }, - /*Y' qi=62 INTER*/ - { - { -8, 36},{ 218, 1284},{ 2073, 1965},{ 4814, 2159}, - { 7237, 2138},{ 8979, 2124},{10378, 2115},{11570, 2109}, - {12601, 2106},{13503, 2103},{14320, 2103},{15064, 2103}, - {15746, 2103},{16384, 2104},{16975, 2105},{17534, 2105}, - {18062, 2106},{18564, 2107},{19035, 2106},{19471, 2107}, - {19890, 2107},{20288, 2107},{20651, 2107},{21012, 2108} - } - }, - { - /*Cb qi=62 INTRA*/ - { - { 21, 3},{ 283, 360},{ 565, 683},{ 907, 938}, - { 1269, 1143},{ 1611, 1311},{ 1949, 1441},{ 2290, 1535}, - { 2596, 1632},{ 2877, 1738},{ 3162, 1828},{ 3458, 1893}, - { 3745, 1948},{ 4011, 2016},{ 4253, 2089},{ 4506, 2164}, - { 4734, 2233},{ 4943, 2294},{ 5162, 2353},{ 5381, 2393}, - { 5593, 2420},{ 5807, 2454},{ 6003, 2496},{ 6210, 2543} - }, - /*Cb qi=62 INTER*/ - { - { 91, -1},{ 110, 344},{ 113, 663},{ 169, 987}, - { 306, 1279},{ 562, 1519},{ 961, 1701},{ 1450, 1845}, - { 2013, 1967},{ 2686, 2053},{ 3437, 2095},{ 4171, 2109}, - { 4841, 2109},{ 5441, 2105},{ 6002, 2097},{ 6542, 2089}, - { 7028, 2087},{ 7491, 2088},{ 7949, 2090},{ 8377, 2089}, - { 8789, 2095},{ 9195, 2103},{ 9569, 2104},{ 9937, 2102} - } - }, - { - /*Cr qi=62 INTRA*/ - { - { 38, 8},{ 308, 374},{ 619, 685},{ 984, 925}, - { 1326, 1126},{ 1662, 1285},{ 1999, 1407},{ 2328, 1512}, - { 2659, 1604},{ 2976, 1691},{ 3285, 1774},{ 3570, 1853}, - { 3815, 1931},{ 4068, 1998},{ 4304, 2044},{ 4491, 2082}, - { 4666, 2124},{ 4870, 2174},{ 5078, 2231},{ 5262, 2285}, - { 5480, 2335},{ 5703, 2378},{ 5905, 2423},{ 6075, 2454} - }, - /*Cr qi=62 INTER*/ - { - { 79, 1},{ 95, 353},{ 102, 671},{ 169, 992}, - { 318, 1277},{ 569, 1515},{ 936, 1716},{ 1428, 1876}, - { 2034, 1993},{ 2738, 2067},{ 3511, 2095},{ 4268, 2094}, - { 4943, 2087},{ 5543, 2079},{ 6074, 2074},{ 6552, 2069}, - { 6985, 2057},{ 7366, 2043},{ 7728, 2030},{ 8086, 2021}, - { 8423, 2017},{ 8752, 2016},{ 9057, 2014},{ 9376, 2008} - } - } - }, - { - { - /*Y' qi=63 INTRA*/ - { - { -59, 134},{ 1734, 1036},{ 3743, 1521},{ 5309, 1618}, - { 6520, 1597},{ 7664, 1609},{ 8809, 1630},{ 9894, 1657}, - {10907, 1687},{11838, 1717},{12673, 1744},{13379, 1758}, - {14038, 1767},{14698, 1784},{15379, 1806},{16062, 1831}, - {16694, 1852},{17300, 1867},{17827, 1878},{18250, 1881}, - {18702, 1884},{19199, 1892},{19665, 1896},{20273, 1908} - }, - /*Y' qi=63 INTER*/ - { - { -7, 33},{ 209, 1285},{ 2309, 1904},{ 5274, 2025}, - { 7801, 1966},{ 9637, 1924},{11126, 1892},{12403, 1868}, - {13515, 1849},{14491, 1834},{15380, 1822},{16197, 1814}, - {16944, 1806},{17645, 1799},{18303, 1794},{18916, 1789}, - {19494, 1785},{20056, 1782},{20568, 1779},{21047, 1776}, - {21508, 1775},{21925, 1772},{22327, 1770},{22678, 1771} - } - }, - { - /*Cb qi=63 INTRA*/ - { - { 20, 3},{ 294, 357},{ 608, 673},{ 1047, 908}, - { 1501, 1090},{ 1898, 1240},{ 2275, 1353},{ 2654, 1427}, - { 3014, 1502},{ 3366, 1579},{ 3726, 1637},{ 4084, 1674}, - { 4425, 1703},{ 4752, 1743},{ 5058, 1791},{ 5377, 1838}, - { 5676, 1877},{ 5946, 1912},{ 6213, 1945},{ 6458, 1969}, - { 6704, 1982},{ 6969, 1997},{ 7210, 2017},{ 7439, 2037} - }, - /*Cb qi=63 INTER*/ - { - { 86, 1},{ 108, 345},{ 111, 663},{ 168, 985}, - { 307, 1276},{ 577, 1513},{ 1007, 1688},{ 1550, 1819}, - { 2189, 1921},{ 2938, 1981},{ 3744, 2002},{ 4512, 2002}, - { 5199, 1996},{ 5824, 1986},{ 6419, 1971},{ 6978, 1954}, - { 7507, 1940},{ 8015, 1932},{ 8502, 1928},{ 8978, 1920}, - { 9410, 1915},{ 9842, 1910},{10262, 1901},{10634, 1896} - } - }, - { - /*Cr qi=63 INTRA*/ - { - { 38, 7},{ 324, 367},{ 677, 670},{ 1136, 892}, - { 1562, 1070},{ 1951, 1209},{ 2326, 1313},{ 2694, 1399}, - { 3074, 1471},{ 3460, 1531},{ 3850, 1575},{ 4214, 1622}, - { 4522, 1679},{ 4819, 1723},{ 5089, 1749},{ 5315, 1769}, - { 5530, 1792},{ 5756, 1825},{ 6006, 1860},{ 6244, 1889}, - { 6514, 1924},{ 6792, 1946},{ 7026, 1962},{ 7191, 1971} - }, - /*Cr qi=63 INTER*/ - { - { 80, 2},{ 95, 354},{ 101, 671},{ 167, 990}, - { 321, 1274},{ 585, 1509},{ 984, 1702},{ 1534, 1849}, - { 2217, 1947},{ 3005, 1995},{ 3839, 1999},{ 4619, 1986}, - { 5310, 1973},{ 5933, 1961},{ 6486, 1952},{ 6988, 1942}, - { 7435, 1927},{ 7817, 1911},{ 8198, 1900},{ 8552, 1895}, - { 8881, 1890},{ 9253, 1883},{ 9598, 1876},{ 9923, 1859} - } - } - } -}; - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/ocintrin.h b/Libraries/libtheora-1.1.1/lib/ocintrin.h deleted file mode 100644 index d49ebb21..00000000 --- a/Libraries/libtheora-1.1.1/lib/ocintrin.h +++ /dev/null @@ -1,128 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: ocintrin.h 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -/*Some common macros for potential platform-specific optimization.*/ -#include -#if !defined(_ocintrin_H) -# define _ocintrin_H (1) - -/*Some specific platforms may have optimized intrinsic or inline assembly - versions of these functions which can substantially improve performance. - We define macros for them to allow easy incorporation of these non-ANSI - features.*/ - -/*Note that we do not provide a macro for abs(), because it is provided as a - library function, which we assume is translated into an intrinsic to avoid - the function call overhead and then implemented in the smartest way for the - target platform. - With modern gcc (4.x), this is true: it uses cmov instructions if the - architecture supports it and branchless bit-twiddling if it does not (the - speed difference between the two approaches is not measurable). - Interestingly, the bit-twiddling method was patented in 2000 (US 6,073,150) - by Sun Microsystems, despite prior art dating back to at least 1996: - http://web.archive.org/web/19961201174141/www.x86.org/ftp/articles/pentopt/PENTOPT.TXT - On gcc 3.x, however, our assumption is not true, as abs() is translated to a - conditional jump, which is horrible on deeply piplined architectures (e.g., - all consumer architectures for the past decade or more). - Also be warned that -C*abs(x) where C is a constant is mis-optimized as - abs(C*x) on every gcc release before 4.2.3. - See bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34130 */ - -/*Modern gcc (4.x) can compile the naive versions of min and max with cmov if - given an appropriate architecture, but the branchless bit-twiddling versions - are just as fast, and do not require any special target architecture. - Earlier gcc versions (3.x) compiled both code to the same assembly - instructions, because of the way they represented ((_b)>(_a)) internally.*/ -#define OC_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) -#define OC_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) -/*Clamps an integer into the given range. - If _a>_c, then the lower bound _a is respected over the upper bound _c (this - behavior is required to meet our documented API behavior). - _a: The lower bound. - _b: The value to clamp. - _c: The upper boud.*/ -#define OC_CLAMPI(_a,_b,_c) (OC_MAXI(_a,OC_MINI(_b,_c))) -#define OC_CLAMP255(_x) ((unsigned char)((((_x)<0)-1)&((_x)|-((_x)>255)))) -/*This has a chance of compiling branchless, and is just as fast as the - bit-twiddling method, which is slightly less portable, since it relies on a - sign-extended rightshift, which is not guaranteed by ANSI (but present on - every relevant platform).*/ -#define OC_SIGNI(_a) (((_a)>0)-((_a)<0)) -/*Slightly more portable than relying on a sign-extended right-shift (which is - not guaranteed by ANSI), and just as fast, since gcc (3.x and 4.x both) - compile it into the right-shift anyway.*/ -#define OC_SIGNMASK(_a) (-((_a)<0)) -/*Divides an integer by a power of two, truncating towards 0. - _dividend: The integer to divide. - _shift: The non-negative power of two to divide by. - _rmask: (1<<_shift)-1*/ -#define OC_DIV_POW2(_dividend,_shift,_rmask)\ - ((_dividend)+(OC_SIGNMASK(_dividend)&(_rmask))>>(_shift)) -/*Divides _x by 65536, truncating towards 0.*/ -#define OC_DIV2_16(_x) OC_DIV_POW2(_x,16,0xFFFF) -/*Divides _x by 2, truncating towards 0.*/ -#define OC_DIV2(_x) OC_DIV_POW2(_x,1,0x1) -/*Divides _x by 8, truncating towards 0.*/ -#define OC_DIV8(_x) OC_DIV_POW2(_x,3,0x7) -/*Divides _x by 16, truncating towards 0.*/ -#define OC_DIV16(_x) OC_DIV_POW2(_x,4,0xF) -/*Right shifts _dividend by _shift, adding _rval, and subtracting one for - negative dividends first. - When _rval is (1<<_shift-1), this is equivalent to division with rounding - ties away from zero.*/ -#define OC_DIV_ROUND_POW2(_dividend,_shift,_rval)\ - ((_dividend)+OC_SIGNMASK(_dividend)+(_rval)>>(_shift)) -/*Divides a _x by 2, rounding towards even numbers.*/ -#define OC_DIV2_RE(_x) ((_x)+((_x)>>1&1)>>1) -/*Divides a _x by (1<<(_shift)), rounding towards even numbers.*/ -#define OC_DIV_POW2_RE(_x,_shift) \ - ((_x)+((_x)>>(_shift)&1)+((1<<(_shift))-1>>1)>>(_shift)) -/*Swaps two integers _a and _b if _a>_b.*/ -#define OC_SORT2I(_a,_b) \ - do{ \ - int t__; \ - t__=((_a)^(_b))&-((_b)<(_a)); \ - (_a)^=t__; \ - (_b)^=t__; \ - } \ - while(0) - -/*Accesses one of four (signed) bytes given an index. - This can be used to avoid small lookup tables.*/ -#define OC_BYTE_TABLE32(_a,_b,_c,_d,_i) \ - ((signed char) \ - (((_a)&0xFF|((_b)&0xFF)<<8|((_c)&0xFF)<<16|((_d)&0xFF)<<24)>>(_i)*8)) -/*Accesses one of eight (unsigned) nibbles given an index. - This can be used to avoid small lookup tables.*/ -#define OC_UNIBBLE_TABLE32(_a,_b,_c,_d,_e,_f,_g,_h,_i) \ - ((((_a)&0xF|((_b)&0xF)<<4|((_c)&0xF)<<8|((_d)&0xF)<<12| \ - ((_e)&0xF)<<16|((_f)&0xF)<<20|((_g)&0xF)<<24|((_h)&0xF)<<28)>>(_i)*4)&0xF) - - - -/*All of these macros should expect floats as arguments.*/ -#define OC_MAXF(_a,_b) ((_a)<(_b)?(_b):(_a)) -#define OC_MINF(_a,_b) ((_a)>(_b)?(_b):(_a)) -#define OC_CLAMPF(_a,_b,_c) (OC_MINF(_a,OC_MAXF(_b,_c))) -#define OC_FABSF(_f) ((float)fabs(_f)) -#define OC_SQRTF(_f) ((float)sqrt(_f)) -#define OC_POWF(_b,_e) ((float)pow(_b,_e)) -#define OC_LOGF(_f) ((float)log(_f)) -#define OC_IFLOORF(_f) ((int)floor(_f)) -#define OC_ICEILF(_f) ((int)ceil(_f)) - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/quant.c b/Libraries/libtheora-1.1.1/lib/quant.c deleted file mode 100644 index 8359f5ab..00000000 --- a/Libraries/libtheora-1.1.1/lib/quant.c +++ /dev/null @@ -1,119 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: quant.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#include -#include -#include -#include "quant.h" -#include "decint.h" - -static const unsigned OC_DC_QUANT_MIN[2]={4<<2,8<<2}; -static const unsigned OC_AC_QUANT_MIN[2]={2<<2,4<<2}; - -/*Initializes the dequantization tables from a set of quantizer info. - Currently the dequantizer (and elsewhere enquantizer) tables are expected to - be initialized as pointing to the storage reserved for them in the - oc_theora_state (resp. oc_enc_ctx) structure. - If some tables are duplicates of others, the pointers will be adjusted to - point to a single copy of the tables, but the storage for them will not be - freed. - If you're concerned about the memory footprint, the obvious thing to do is - to move the storage out of its fixed place in the structures and allocate - it on demand. - However, a much, much better option is to only store the quantization - matrices being used for the current frame, and to recalculate these as the - qi values change between frames (this is what VP3 did).*/ -void oc_dequant_tables_init(ogg_uint16_t *_dequant[64][3][2], - int _pp_dc_scale[64],const th_quant_info *_qinfo){ - /*Coding mode: intra or inter.*/ - int qti; - /*Y', C_b, C_r*/ - int pli; - for(qti=0;qti<2;qti++)for(pli=0;pli<3;pli++){ - /*Quality index.*/ - int qi; - /*Range iterator.*/ - int qri; - for(qi=0,qri=0;qri<=_qinfo->qi_ranges[qti][pli].nranges;qri++){ - th_quant_base base; - ogg_uint32_t q; - int qi_start; - int qi_end; - memcpy(base,_qinfo->qi_ranges[qti][pli].base_matrices[qri], - sizeof(base)); - qi_start=qi; - if(qri==_qinfo->qi_ranges[qti][pli].nranges)qi_end=qi+1; - else qi_end=qi+_qinfo->qi_ranges[qti][pli].sizes[qri]; - /*Iterate over quality indicies in this range.*/ - for(;;){ - ogg_uint32_t qfac; - int zzi; - int ci; - /*In the original VP3.2 code, the rounding offset and the size of the - dead zone around 0 were controlled by a "sharpness" parameter. - The size of our dead zone is now controlled by the per-coefficient - quality thresholds returned by our HVS module. - We round down from a more accurate value when the quality of the - reconstruction does not fall below our threshold and it saves bits. - Hence, all of that VP3.2 code is gone from here, and the remaining - floating point code has been implemented as equivalent integer code - with exact precision.*/ - qfac=(ogg_uint32_t)_qinfo->dc_scale[qi]*base[0]; - /*For postprocessing, not dequantization.*/ - if(_pp_dc_scale!=NULL)_pp_dc_scale[qi]=(int)(qfac/160); - /*Scale DC the coefficient from the proper table.*/ - q=(qfac/100)<<2; - q=OC_CLAMPI(OC_DC_QUANT_MIN[qti],q,OC_QUANT_MAX); - _dequant[qi][pli][qti][0]=(ogg_uint16_t)q; - /*Now scale AC coefficients from the proper table.*/ - for(zzi=1;zzi<64;zzi++){ - q=((ogg_uint32_t)_qinfo->ac_scale[qi]*base[OC_FZIG_ZAG[zzi]]/100)<<2; - q=OC_CLAMPI(OC_AC_QUANT_MIN[qti],q,OC_QUANT_MAX); - _dequant[qi][pli][qti][zzi]=(ogg_uint16_t)q; - } - /*If this is a duplicate of a previous matrix, use that instead. - This simple check helps us improve cache coherency later.*/ - { - int dupe; - int qtj; - int plj; - dupe=0; - for(qtj=0;qtj<=qti;qtj++){ - for(plj=0;plj<(qtj=qi_end)break; - /*Interpolate the next base matrix.*/ - for(ci=0;ci<64;ci++){ - base[ci]=(unsigned char)( - (2*((qi_end-qi)*_qinfo->qi_ranges[qti][pli].base_matrices[qri][ci]+ - (qi-qi_start)*_qinfo->qi_ranges[qti][pli].base_matrices[qri+1][ci]) - +_qinfo->qi_ranges[qti][pli].sizes[qri])/ - (2*_qinfo->qi_ranges[qti][pli].sizes[qri])); - } - } - } - } -} diff --git a/Libraries/libtheora-1.1.1/lib/quant.h b/Libraries/libtheora-1.1.1/lib/quant.h deleted file mode 100644 index 49ce13a6..00000000 --- a/Libraries/libtheora-1.1.1/lib/quant.h +++ /dev/null @@ -1,33 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: quant.h 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#if !defined(_quant_H) -# define _quant_H (1) -# include "theora/codec.h" -# include "ocintrin.h" - -typedef ogg_uint16_t oc_quant_table[64]; - - -/*Maximum scaled quantizer value.*/ -#define OC_QUANT_MAX (1024<<2) - - -void oc_dequant_tables_init(ogg_uint16_t *_dequant[64][3][2], - int _pp_dc_scale[64],const th_quant_info *_qinfo); - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/rate.c b/Libraries/libtheora-1.1.1/lib/rate.c deleted file mode 100644 index 4f43bb2e..00000000 --- a/Libraries/libtheora-1.1.1/lib/rate.c +++ /dev/null @@ -1,1137 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: rate.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ -#include -#include -#include "encint.h" - -/*A rough lookup table for tan(x), 0<=x>24; - if(i>=17)i=16; - t0=OC_ROUGH_TAN_LOOKUP[i]; - t1=OC_ROUGH_TAN_LOOKUP[i+1]; - d=_alpha*36-(i<<24); - return (int)(((ogg_int64_t)t0<<32)+(t1-t0<<8)*(ogg_int64_t)d>>32); -} - -/*Re-initialize the Bessel filter coefficients with the specified delay. - This does not alter the x/y state, but changes the reaction time of the - filter. - Altering the time constant of a reactive filter without alterning internal - state is something that has to be done carefuly, but our design operates at - high enough delays and with small enough time constant changes to make it - safe.*/ -static void oc_iir_filter_reinit(oc_iir_filter *_f,int _delay){ - int alpha; - ogg_int64_t one48; - ogg_int64_t warp; - ogg_int64_t k1; - ogg_int64_t k2; - ogg_int64_t d; - ogg_int64_t a; - ogg_int64_t ik2; - ogg_int64_t b1; - ogg_int64_t b2; - /*This borrows some code from an unreleased version of Postfish. - See the recipe at http://unicorn.us.com/alex/2polefilters.html for details - on deriving the filter coefficients.*/ - /*alpha is Q24*/ - alpha=(1<<24)/_delay; - one48=(ogg_int64_t)1<<48; - /*warp is 7.12*/ - warp=OC_MAXI(oc_warp_alpha(alpha),1); - /*k1 is 9.12*/ - k1=3*warp; - /*k2 is 16.24.*/ - k2=k1*warp; - /*d is 16.15.*/ - d=((1<<12)+k1<<12)+k2+256>>9; - /*a is 0.32, since d is larger than both 1.0 and k2.*/ - a=(k2<<23)/d; - /*ik2 is 25.24.*/ - ik2=one48/k2; - /*b1 is Q56; in practice, the integer ranges between -2 and 2.*/ - b1=2*a*(ik2-(1<<24)); - /*b2 is Q56; in practice, the integer ranges between -2 and 2.*/ - b2=(one48<<8)-(4*a<<24)-b1; - /*All of the filter parameters are Q24.*/ - _f->c[0]=(ogg_int32_t)(b1+((ogg_int64_t)1<<31)>>32); - _f->c[1]=(ogg_int32_t)(b2+((ogg_int64_t)1<<31)>>32); - _f->g=(ogg_int32_t)(a+128>>8); -} - -/*Initialize a 2nd order low-pass Bessel filter with the corresponding delay - and initial value. - _value is Q24.*/ -static void oc_iir_filter_init(oc_iir_filter *_f,int _delay,ogg_int32_t _value){ - oc_iir_filter_reinit(_f,_delay); - _f->y[1]=_f->y[0]=_f->x[1]=_f->x[0]=_value; -} - -static ogg_int64_t oc_iir_filter_update(oc_iir_filter *_f,ogg_int32_t _x){ - ogg_int64_t c0; - ogg_int64_t c1; - ogg_int64_t g; - ogg_int64_t x0; - ogg_int64_t x1; - ogg_int64_t y0; - ogg_int64_t y1; - ogg_int64_t ya; - c0=_f->c[0]; - c1=_f->c[1]; - g=_f->g; - x0=_f->x[0]; - x1=_f->x[1]; - y0=_f->y[0]; - y1=_f->y[1]; - ya=(_x+x0*2+x1)*g+y0*c0+y1*c1+(1<<23)>>24; - _f->x[1]=(ogg_int32_t)x0; - _f->x[0]=_x; - _f->y[1]=(ogg_int32_t)y0; - _f->y[0]=(ogg_int32_t)ya; - return ya; -} - - - -/*Search for the quantizer that matches the target most closely. - We don't assume a linear ordering, but when there are ties we pick the - quantizer closest to the old one.*/ -static int oc_enc_find_qi_for_target(oc_enc_ctx *_enc,int _qti,int _qi_old, - int _qi_min,ogg_int64_t _log_qtarget){ - ogg_int64_t best_qdiff; - int best_qi; - int qi; - best_qi=_qi_min; - best_qdiff=_enc->log_qavg[_qti][best_qi]-_log_qtarget; - best_qdiff=best_qdiff+OC_SIGNMASK(best_qdiff)^OC_SIGNMASK(best_qdiff); - for(qi=_qi_min+1;qi<64;qi++){ - ogg_int64_t qdiff; - qdiff=_enc->log_qavg[_qti][qi]-_log_qtarget; - qdiff=qdiff+OC_SIGNMASK(qdiff)^OC_SIGNMASK(qdiff); - if(qdiffstate.qis[0]; - /*If rate control is active, use the lambda for the _target_ quantizer. - This allows us to scale to rates slightly lower than we'd normally be able - to reach, and give the rate control a semblance of "fractional qi" - precision. - TODO: Add API for changing QI, and allow extra precision.*/ - if(_enc->state.info.target_bitrate>0)lq=_enc->rc.log_qtarget; - else lq=_enc->log_qavg[_qti][qi]; - /*The resulting lambda value is less than 0x500000.*/ - _enc->lambda=(int)oc_bexp64(2*lq-0x4780BD468D6B62BLL); - /*Select additional quantizers. - The R-D optimal block AC quantizer statistics suggest that the distribution - is roughly Gaussian-like with a slight positive skew. - K-means clustering on log_qavg to select 3 quantizers produces cluster - centers of {log_qavg-0.6,log_qavg,log_qavg+0.7}. - Experiments confirm these are relatively good choices. - - Although we do greedy R-D optimization of the qii flags to avoid switching - too frequently, this becomes ineffective at low rates, either because we - do a poor job of predicting the actual R-D cost, or the greedy - optimization is not sufficient. - Therefore adaptive quantization is disabled above an (experimentally - suggested) threshold of log_qavg=7.00 (e.g., below INTRA qi=12 or - INTER qi=20 with current matrices). - This may need to be revised if the R-D cost estimation or qii flag - optimization strategies change.*/ - nqis=1; - if(lq<(OC_Q57(56)>>3)&&!_enc->vp3_compatible){ - qi1=oc_enc_find_qi_for_target(_enc,_qti,OC_MAXI(qi-1,0),0, - lq+(OC_Q57(7)+5)/10); - if(qi1!=qi)_enc->state.qis[nqis++]=qi1; - qi1=oc_enc_find_qi_for_target(_enc,_qti,OC_MINI(qi+1,63),0, - lq-(OC_Q57(6)+5)/10); - if(qi1!=qi&&qi1!=_enc->state.qis[nqis-1])_enc->state.qis[nqis++]=qi1; - } - _enc->state.nqis=nqis; -} - -/*Binary exponential of _log_scale with 24-bit fractional precision and - saturation. - _log_scale: A binary logarithm in Q24 format. - Return: The binary exponential in Q24 format, saturated to 2**47-1 if - _log_scale was too large.*/ -static ogg_int64_t oc_bexp_q24(ogg_int32_t _log_scale){ - if(_log_scale<(ogg_int32_t)23<<24){ - ogg_int64_t ret; - ret=oc_bexp64(((ogg_int64_t)_log_scale<<33)+OC_Q57(24)); - return ret<0x7FFFFFFFFFFFLL?ret:0x7FFFFFFFFFFFLL; - } - return 0x7FFFFFFFFFFFLL; -} - -/*Convenience function converts Q57 value to a clamped 32-bit Q24 value - _in: input in Q57 format. - Return: same number in Q24 */ -static ogg_int32_t oc_q57_to_q24(ogg_int64_t _in){ - ogg_int64_t ret; - ret=_in+((ogg_int64_t)1<<32)>>33; - /*0x80000000 is automatically converted to unsigned on 32-bit systems. - -0x7FFFFFFF-1 is needed to avoid "promoting" the whole expression to - unsigned.*/ - return (ogg_int32_t)OC_CLAMPI(-0x7FFFFFFF-1,ret,0x7FFFFFFF); -} - -/*Binary exponential of _log_scale with 24-bit fractional precision and - saturation. - _log_scale: A binary logarithm in Q57 format. - Return: The binary exponential in Q24 format, saturated to 2**31-1 if - _log_scale was too large.*/ -static ogg_int32_t oc_bexp64_q24(ogg_int64_t _log_scale){ - if(_log_scalerc.bits_per_frame=(_enc->state.info.target_bitrate* - (ogg_int64_t)_enc->state.info.fps_denominator)/ - _enc->state.info.fps_numerator; - /*Insane framerates or frame sizes mean insane bitrates. - Let's not get carried away.*/ - if(_enc->rc.bits_per_frame>0x400000000000LL){ - _enc->rc.bits_per_frame=(ogg_int64_t)0x400000000000LL; - } - else if(_enc->rc.bits_per_frame<32)_enc->rc.bits_per_frame=32; - _enc->rc.buf_delay=OC_MAXI(_enc->rc.buf_delay,12); - _enc->rc.max=_enc->rc.bits_per_frame*_enc->rc.buf_delay; - /*Start with a buffer fullness of 50% plus 25% of the amount we plan to spend - on a single keyframe interval. - We can require fully half the bits in an interval for a keyframe, so this - initial level gives us maximum flexibility for over/under-shooting in - subsequent frames.*/ - _enc->rc.target=(_enc->rc.max+1>>1)+(_enc->rc.bits_per_frame+2>>2)* - OC_MINI(_enc->keyframe_frequency_force,_enc->rc.buf_delay); - _enc->rc.fullness=_enc->rc.target; - /*Pick exponents and initial scales for quantizer selection.*/ - npixels=_enc->state.info.frame_width* - (ogg_int64_t)_enc->state.info.frame_height; - _enc->rc.log_npixels=oc_blog64(npixels); - ibpp=npixels/_enc->rc.bits_per_frame; - if(ibpp<1){ - _enc->rc.exp[0]=59; - _enc->rc.log_scale[0]=oc_blog64(1997)-OC_Q57(8); - } - else if(ibpp<2){ - _enc->rc.exp[0]=55; - _enc->rc.log_scale[0]=oc_blog64(1604)-OC_Q57(8); - } - else{ - _enc->rc.exp[0]=48; - _enc->rc.log_scale[0]=oc_blog64(834)-OC_Q57(8); - } - if(ibpp<4){ - _enc->rc.exp[1]=100; - _enc->rc.log_scale[1]=oc_blog64(2249)-OC_Q57(8); - } - else if(ibpp<8){ - _enc->rc.exp[1]=95; - _enc->rc.log_scale[1]=oc_blog64(1751)-OC_Q57(8); - } - else{ - _enc->rc.exp[1]=73; - _enc->rc.log_scale[1]=oc_blog64(1260)-OC_Q57(8); - } - _enc->rc.prev_drop_count=0; - _enc->rc.log_drop_scale=OC_Q57(0); - /*Set up second order followers, initialized according to corresponding - time constants.*/ - oc_iir_filter_init(&_enc->rc.scalefilter[0],4, - oc_q57_to_q24(_enc->rc.log_scale[0])); - inter_delay=(_enc->rc.twopass? - OC_MAXI(_enc->keyframe_frequency_force,12):_enc->rc.buf_delay)>>1; - _enc->rc.inter_count=0; - /*We clamp the actual inter_delay to a minimum of 10 to work within the range - of values where later incrementing the delay works as designed. - 10 is not an exact choice, but rather a good working trade-off.*/ - _enc->rc.inter_delay=10; - _enc->rc.inter_delay_target=inter_delay; - oc_iir_filter_init(&_enc->rc.scalefilter[1],_enc->rc.inter_delay, - oc_q57_to_q24(_enc->rc.log_scale[1])); - oc_iir_filter_init(&_enc->rc.vfrfilter,4, - oc_bexp64_q24(_enc->rc.log_drop_scale)); -} - -void oc_rc_state_init(oc_rc_state *_rc,oc_enc_ctx *_enc){ - _rc->twopass=0; - _rc->twopass_buffer_bytes=0; - _rc->twopass_force_kf=0; - _rc->frame_metrics=NULL; - _rc->rate_bias=0; - if(_enc->state.info.target_bitrate>0){ - /*The buffer size is set equal to the keyframe interval, clamped to the - range [12,256] frames. - The 12 frame minimum gives us some chance to distribute bit estimation - errors. - The 256 frame maximum means we'll require 8-10 seconds of pre-buffering - at 24-30 fps, which is not unreasonable.*/ - _rc->buf_delay=_enc->keyframe_frequency_force>256? - 256:_enc->keyframe_frequency_force; - /*By default, enforce all buffer constraints.*/ - _rc->drop_frames=1; - _rc->cap_overflow=1; - _rc->cap_underflow=0; - oc_enc_rc_reset(_enc); - } -} - -void oc_rc_state_clear(oc_rc_state *_rc){ - _ogg_free(_rc->frame_metrics); -} - -void oc_enc_rc_resize(oc_enc_ctx *_enc){ - /*If encoding has not yet begun, reset the buffer state.*/ - if(_enc->state.curframe_num<0)oc_enc_rc_reset(_enc); - else{ - int idt; - /*Otherwise, update the bounds on the buffer, but not the current - fullness.*/ - _enc->rc.bits_per_frame=(_enc->state.info.target_bitrate* - (ogg_int64_t)_enc->state.info.fps_denominator)/ - _enc->state.info.fps_numerator; - /*Insane framerates or frame sizes mean insane bitrates. - Let's not get carried away.*/ - if(_enc->rc.bits_per_frame>0x400000000000LL){ - _enc->rc.bits_per_frame=(ogg_int64_t)0x400000000000LL; - } - else if(_enc->rc.bits_per_frame<32)_enc->rc.bits_per_frame=32; - _enc->rc.buf_delay=OC_MAXI(_enc->rc.buf_delay,12); - _enc->rc.max=_enc->rc.bits_per_frame*_enc->rc.buf_delay; - _enc->rc.target=(_enc->rc.max+1>>1)+(_enc->rc.bits_per_frame+2>>2)* - OC_MINI(_enc->keyframe_frequency_force,_enc->rc.buf_delay); - /*Update the INTER-frame scale filter delay. - We jump to it immediately if we've already seen enough frames; otherwise - it is simply set as the new target.*/ - _enc->rc.inter_delay_target=idt=OC_MAXI(_enc->rc.buf_delay>>1,10); - if(idtrc.inter_delay,_enc->rc.inter_count)){ - oc_iir_filter_init(&_enc->rc.scalefilter[1],idt, - _enc->rc.scalefilter[1].y[0]); - _enc->rc.inter_delay=idt; - } - } - /*If we're in pass-2 mode, make sure the frame metrics array is big enough - to hold frame statistics for the full buffer.*/ - if(_enc->rc.twopass==2){ - int cfm; - int buf_delay; - int reset_window; - buf_delay=_enc->rc.buf_delay; - reset_window=_enc->rc.frame_metrics==NULL&&(_enc->rc.frames_total[0]==0|| - buf_delay<_enc->rc.frames_total[0]+_enc->rc.frames_total[1] - +_enc->rc.frames_total[2]); - cfm=_enc->rc.cframe_metrics; - /*Only try to resize the frame metrics buffer if a) it's too small and - b) we were using a finite buffer, or are about to start.*/ - if(cfmrc.frame_metrics!=NULL||reset_window)){ - oc_frame_metrics *fm; - int nfm; - int fmh; - fm=(oc_frame_metrics *)_ogg_realloc(_enc->rc.frame_metrics, - buf_delay*sizeof(*_enc->rc.frame_metrics)); - if(fm==NULL){ - /*We failed to allocate a finite buffer.*/ - /*If we don't have a valid 2-pass header yet, just return; we'll reset - the buffer size when we read the header.*/ - if(_enc->rc.frames_total[0]==0)return; - /*Otherwise revert to the largest finite buffer previously set, or to - whole-file buffering if we were still using that.*/ - _enc->rc.buf_delay=_enc->rc.frame_metrics!=NULL? - cfm:_enc->rc.frames_total[0]+_enc->rc.frames_total[1] - +_enc->rc.frames_total[2]; - oc_enc_rc_resize(_enc); - return; - } - _enc->rc.frame_metrics=fm; - _enc->rc.cframe_metrics=buf_delay; - /*Re-organize the circular buffer.*/ - fmh=_enc->rc.frame_metrics_head; - nfm=_enc->rc.nframe_metrics; - if(fmh+nfm>cfm){ - int shift; - shift=OC_MINI(fmh+nfm-cfm,buf_delay-cfm); - memcpy(fm+cfm,fm,OC_MINI(fmh+nfm-cfm,buf_delay-cfm)*sizeof(*fm)); - if(fmh+nfm>buf_delay)memmove(fm,fm+shift,fmh+nfm-buf_delay); - } - } - /*We were using whole-file buffering; now we're not.*/ - if(reset_window){ - _enc->rc.nframes[0]=_enc->rc.nframes[1]=_enc->rc.nframes[2]=0; - _enc->rc.scale_sum[0]=_enc->rc.scale_sum[1]=0; - _enc->rc.scale_window_end=_enc->rc.scale_window0= - _enc->state.curframe_num+_enc->prev_dup_count+1; - if(_enc->rc.twopass_buffer_bytes){ - int qti; - /*We already read the metrics for the first frame in the window.*/ - *(_enc->rc.frame_metrics)=*&_enc->rc.cur_metrics; - _enc->rc.nframe_metrics++; - qti=_enc->rc.cur_metrics.frame_type; - _enc->rc.nframes[qti]++; - _enc->rc.nframes[2]+=_enc->rc.cur_metrics.dup_count; - _enc->rc.scale_sum[qti]+=oc_bexp_q24(_enc->rc.cur_metrics.log_scale); - _enc->rc.scale_window_end+=_enc->rc.cur_metrics.dup_count+1; - if(_enc->rc.scale_window_end-_enc->rc.scale_window0rc.twopass_buffer_bytes=0; - } - } - } - /*Otherwise, we could shrink the size of the current window, if necessary, - but leaving it like it is lets us adapt to the new buffer size more - gracefully.*/ - } -} - -/*Scale the number of frames by the number of expected drops/duplicates.*/ -static int oc_rc_scale_drop(oc_rc_state *_rc,int _nframes){ - if(_rc->prev_drop_count>0||_rc->log_drop_scale>OC_Q57(0)){ - ogg_int64_t dup_scale; - dup_scale=oc_bexp64((_rc->log_drop_scale - +oc_blog64(_rc->prev_drop_count+1)>>1)+OC_Q57(8)); - if(dup_scale<_nframes<<8){ - int dup_scalei; - dup_scalei=(int)dup_scale; - if(dup_scalei>0)_nframes=((_nframes<<8)+dup_scalei-1)/dup_scalei; - } - else _nframes=!!_nframes; - } - return _nframes; -} - -int oc_enc_select_qi(oc_enc_ctx *_enc,int _qti,int _clamp){ - ogg_int64_t rate_total; - ogg_int64_t rate_bias; - int nframes[2]; - int buf_delay; - int buf_pad; - ogg_int64_t log_qtarget; - ogg_int64_t log_scale0; - ogg_int64_t log_cur_scale; - ogg_int64_t log_qexp; - int exp0; - int old_qi; - int qi; - /*Figure out how to re-distribute bits so that we hit our fullness target - before the last keyframe in our current buffer window (after the current - frame), or the end of the buffer window, whichever comes first.*/ - log_cur_scale=(ogg_int64_t)_enc->rc.scalefilter[_qti].y[0]<<33; - buf_pad=0; - switch(_enc->rc.twopass){ - default:{ - ogg_uint32_t next_key_frame; - /*Single pass mode: assume only forced keyframes and attempt to estimate - the drop count for VFR content.*/ - next_key_frame=_qti?_enc->keyframe_frequency_force - -(_enc->state.curframe_num-_enc->state.keyframe_num):0; - nframes[0]=(_enc->rc.buf_delay-OC_MINI(next_key_frame,_enc->rc.buf_delay) - +_enc->keyframe_frequency_force-1)/_enc->keyframe_frequency_force; - if(nframes[0]+_qti>1){ - nframes[0]--; - buf_delay=next_key_frame+nframes[0]*_enc->keyframe_frequency_force; - } - else buf_delay=_enc->rc.buf_delay; - nframes[1]=buf_delay-nframes[0]; - /*Downgrade the delta frame rate to correspond to the recent drop count - history.*/ - nframes[1]=oc_rc_scale_drop(&_enc->rc,nframes[1]); - }break; - case 1:{ - /*Pass 1 mode: use a fixed qi value.*/ - qi=_enc->state.qis[0]; - _enc->rc.log_qtarget=_enc->log_qavg[_qti][qi]; - return qi; - }break; - case 2:{ - ogg_int64_t scale_sum[2]; - int qti; - /*Pass 2 mode: we know exactly how much of each frame type there is in - the current buffer window, and have estimates for the scales.*/ - nframes[0]=_enc->rc.nframes[0]; - nframes[1]=_enc->rc.nframes[1]; - scale_sum[0]=_enc->rc.scale_sum[0]; - scale_sum[1]=_enc->rc.scale_sum[1]; - /*The window size can be slightly larger than the buffer window for VFR - content; clamp it down, if appropriate (the excess will all be dup - frames).*/ - buf_delay=OC_MINI(_enc->rc.scale_window_end-_enc->rc.scale_window0, - _enc->rc.buf_delay); - /*If we're approaching the end of the file, add some slack to keep us - from slamming into a rail. - Our rate accuracy goes down, but it keeps the result sensible. - We position the target where the first forced keyframe beyond the end - of the file would be (for consistency with 1-pass mode).*/ - buf_pad=OC_MINI(_enc->rc.buf_delay,_enc->state.keyframe_num - +_enc->keyframe_frequency_force-_enc->rc.scale_window0); - if(buf_delayrc.frame_metrics!=NULL){ - int fmi; - int fm_tail; - fm_tail=_enc->rc.frame_metrics_head+_enc->rc.nframe_metrics; - if(fm_tail>=_enc->rc.cframe_metrics)fm_tail-=_enc->rc.cframe_metrics; - for(fmi=fm_tail;;){ - oc_frame_metrics *m; - fmi--; - if(fmi<0)fmi+=_enc->rc.cframe_metrics; - /*Stop before we remove the first frame.*/ - if(fmi==_enc->rc.frame_metrics_head)break; - m=_enc->rc.frame_metrics+fmi; - /*If we find a keyframe, remove it and everything past it.*/ - if(m->frame_type==OC_INTRA_FRAME){ - do{ - qti=m->frame_type; - nframes[qti]--; - scale_sum[qti]-=oc_bexp_q24(m->log_scale); - buf_delay-=m->dup_count+1; - fmi++; - if(fmi>=_enc->rc.cframe_metrics)fmi=0; - m=_enc->rc.frame_metrics+fmi; - } - while(fmi!=fm_tail); - /*And stop scanning backwards.*/ - break; - } - } - } - } - /*If we're not using the same frame type as in pass 1 (because someone - changed the keyframe interval), remove that scale estimate. - We'll add in a replacement for the correct frame type below.*/ - qti=_enc->rc.cur_metrics.frame_type; - if(qti!=_qti){ - nframes[qti]--; - scale_sum[qti]-=oc_bexp_q24(_enc->rc.cur_metrics.log_scale); - } - /*Compute log_scale estimates for each frame type from the pass-1 scales - we measured in the current window.*/ - for(qti=0;qti<2;qti++){ - _enc->rc.log_scale[qti]=nframes[qti]>0? - oc_blog64(scale_sum[qti])-oc_blog64(nframes[qti])-OC_Q57(24): - -_enc->rc.log_npixels; - } - /*If we're not using the same frame type as in pass 1, add a scale - estimate for the corresponding frame using the current low-pass - filter value. - This is mostly to ensure we have a valid estimate even when pass 1 had - no frames of this type in the buffer window. - TODO: We could also plan ahead and figure out how many keyframes we'll - be forced to add in the current buffer window.*/ - qti=_enc->rc.cur_metrics.frame_type; - if(qti!=_qti){ - ogg_int64_t scale; - scale=_enc->rc.log_scale[_qti]rc.log_scale[_qti]+OC_Q57(24)):0x7FFFFFFFFFFFLL; - scale*=nframes[_qti]; - nframes[_qti]++; - scale+=oc_bexp_q24(log_cur_scale>>33); - _enc->rc.log_scale[_qti]=oc_blog64(scale) - -oc_blog64(nframes[qti])-OC_Q57(24); - } - else log_cur_scale=(ogg_int64_t)_enc->rc.cur_metrics.log_scale<<33; - /*Add the padding from above. - This basically reverts to 1-pass estimations in the last keyframe - interval.*/ - if(buf_pad>0){ - ogg_int64_t scale; - int nextra_frames; - /*Extend the buffer.*/ - buf_delay+=buf_pad; - /*Add virtual delta frames according to the estimated drop count.*/ - nextra_frames=oc_rc_scale_drop(&_enc->rc,buf_pad); - /*And blend in the low-pass filtered scale according to how many frames - we added.*/ - scale= - oc_bexp64(_enc->rc.log_scale[1]+OC_Q57(24))*(ogg_int64_t)nframes[1] - +oc_bexp_q24(_enc->rc.scalefilter[1].y[0])*(ogg_int64_t)nextra_frames; - nframes[1]+=nextra_frames; - _enc->rc.log_scale[1]=oc_blog64(scale)-oc_blog64(nframes[1])-OC_Q57(24); - } - }break; - } - /*If we've been missing our target, add a penalty term.*/ - rate_bias=(_enc->rc.rate_bias/(_enc->state.curframe_num+1000))* - (buf_delay-buf_pad); - /*rate_total is the total bits available over the next buf_delay frames.*/ - rate_total=_enc->rc.fullness-_enc->rc.target+rate_bias - +buf_delay*_enc->rc.bits_per_frame; - log_scale0=_enc->rc.log_scale[_qti]+_enc->rc.log_npixels; - /*If there aren't enough bits to achieve our desired fullness level, use the - minimum quality permitted.*/ - if(rate_total<=buf_delay)log_qtarget=OC_QUANT_MAX_LOG; - else{ - static const ogg_int64_t LOG_KEY_RATIO=0x0137222BB70747BALL; - ogg_int64_t log_scale1; - ogg_int64_t rlo; - ogg_int64_t rhi; - log_scale1=_enc->rc.log_scale[1-_qti]+_enc->rc.log_npixels; - rlo=0; - rhi=(rate_total+nframes[_qti]-1)/nframes[_qti]; - while(rlo>1; - log_rpow=oc_blog64(curr)-log_scale0; - log_rpow=(log_rpow+(_enc->rc.exp[_qti]>>1))/_enc->rc.exp[_qti]; - if(_qti)log_rpow+=LOG_KEY_RATIO>>6; - else log_rpow-=LOG_KEY_RATIO>>6; - log_rpow*=_enc->rc.exp[1-_qti]; - rscale=nframes[1-_qti]*oc_bexp64(log_scale1+log_rpow); - rdiff=nframes[_qti]*curr+rscale-rate_total; - if(rdiff<0)rlo=curr+1; - else if(rdiff>0)rhi=curr-1; - else break; - } - log_qtarget=OC_Q57(2)-((oc_blog64(rlo)-log_scale0+(_enc->rc.exp[_qti]>>1))/ - _enc->rc.exp[_qti]<<6); - log_qtarget=OC_MINI(log_qtarget,OC_QUANT_MAX_LOG); - } - /*The above allocation looks only at the total rate we'll accumulate in the - next buf_delay frames. - However, we could overflow the buffer on the very next frame, so check for - that here, if we're not using a soft target.*/ - exp0=_enc->rc.exp[_qti]; - if(_enc->rc.cap_overflow){ - ogg_int64_t margin; - ogg_int64_t soft_limit; - ogg_int64_t log_soft_limit; - /*Allow 3% of the buffer for prediction error. - This should be plenty, and we don't mind if we go a bit over; we only - want to keep these bits from being completely wasted.*/ - margin=_enc->rc.max+31>>5; - /*We want to use at least this many bits next frame.*/ - soft_limit=_enc->rc.fullness+_enc->rc.bits_per_frame-(_enc->rc.max-margin); - log_soft_limit=oc_blog64(soft_limit); - /*If we're predicting we won't use that many...*/ - log_qexp=(log_qtarget-OC_Q57(2)>>6)*exp0; - if(log_scale0-log_qexp>32)* - ((OC_MINI(margin,soft_limit)<<32)/margin); - log_qtarget=((log_qexp+(exp0>>1))/exp0<<6)+OC_Q57(2); - } - } - /*If this was not one of the initial frames, limit the change in quality.*/ - old_qi=_enc->state.qis[0]; - if(_clamp){ - ogg_int64_t log_qmin; - ogg_int64_t log_qmax; - /*Clamp the target quantizer to within [0.8*Q,1.2*Q], where Q is the - current quantizer. - TODO: With user-specified quant matrices, we need to enlarge these limits - if they don't actually let us change qi values.*/ - log_qmin=_enc->log_qavg[_qti][old_qi]-0x00A4D3C25E68DC58LL; - log_qmax=_enc->log_qavg[_qti][old_qi]+0x00A4D3C25E68DC58LL; - log_qtarget=OC_CLAMPI(log_qmin,log_qtarget,log_qmax); - } - /*The above allocation looks only at the total rate we'll accumulate in the - next buf_delay frames. - However, we could bust the budget on the very next frame, so check for that - here, if we're not using a soft target.*/ - /* Disabled when our minimum qi > 0; if we saturate log_qtarget to - to the maximum possible size when we have a minimum qi, the - resulting lambda will interact very strangely with SKIP. The - resulting artifacts look like waterfalls. */ - if(_enc->state.info.quality==0){ - ogg_int64_t log_hard_limit; - /*Compute the maximum number of bits we can use in the next frame. - Allow 50% of the rate for a single frame for prediction error. - This may not be enough for keyframes or sudden changes in complexity.*/ - log_hard_limit=oc_blog64(_enc->rc.fullness+(_enc->rc.bits_per_frame>>1)); - /*If we're predicting we'll use more than this...*/ - log_qexp=(log_qtarget-OC_Q57(2)>>6)*exp0; - if(log_scale0-log_qexp>log_hard_limit){ - /*Force the target to hit our limit exactly.*/ - log_qexp=log_scale0-log_hard_limit; - log_qtarget=((log_qexp+(exp0>>1))/exp0<<6)+OC_Q57(2); - /*If that target is unreasonable, oh well; we'll have to drop.*/ - log_qtarget=OC_MINI(log_qtarget,OC_QUANT_MAX_LOG); - } - } - /*Compute a final estimate of the number of bits we plan to use.*/ - log_qexp=(log_qtarget-OC_Q57(2)>>6)*_enc->rc.exp[_qti]; - _enc->rc.rate_bias+=oc_bexp64(log_cur_scale+_enc->rc.log_npixels-log_qexp); - qi=oc_enc_find_qi_for_target(_enc,_qti,old_qi, - _enc->state.info.quality,log_qtarget); - /*Save the quantizer target for lambda calculations.*/ - _enc->rc.log_qtarget=log_qtarget; - return qi; -} - -int oc_enc_update_rc_state(oc_enc_ctx *_enc, - long _bits,int _qti,int _qi,int _trial,int _droppable){ - ogg_int64_t buf_delta; - ogg_int64_t log_scale; - int dropped; - dropped=0; - /* Drop frames also disabled for now in the case of infinite-buffer - two-pass mode */ - if(!_enc->rc.drop_frames||_enc->rc.twopass&&_enc->rc.frame_metrics==NULL){ - _droppable=0; - } - buf_delta=_enc->rc.bits_per_frame*(1+_enc->dup_count); - if(_bits<=0){ - /*We didn't code any blocks in this frame.*/ - log_scale=OC_Q57(-64); - _bits=0; - } - else{ - ogg_int64_t log_bits; - ogg_int64_t log_qexp; - /*Compute the estimated scale factor for this frame type.*/ - log_bits=oc_blog64(_bits); - log_qexp=_enc->rc.log_qtarget-OC_Q57(2); - log_qexp=(log_qexp>>6)*(_enc->rc.exp[_qti]); - log_scale=OC_MINI(log_bits-_enc->rc.log_npixels+log_qexp,OC_Q57(16)); - } - /*Special two-pass processing.*/ - switch(_enc->rc.twopass){ - case 1:{ - /*Pass 1 mode: save the metrics for this frame.*/ - _enc->rc.cur_metrics.log_scale=oc_q57_to_q24(log_scale); - _enc->rc.cur_metrics.dup_count=_enc->dup_count; - _enc->rc.cur_metrics.frame_type=_enc->state.frame_type; - _enc->rc.twopass_buffer_bytes=0; - }break; - case 2:{ - /*Pass 2 mode:*/ - if(!_trial){ - ogg_int64_t next_frame_num; - int qti; - /*Move the current metrics back one frame.*/ - *&_enc->rc.prev_metrics=*&_enc->rc.cur_metrics; - next_frame_num=_enc->state.curframe_num+_enc->dup_count+1; - /*Back out the last frame's statistics from the sliding window.*/ - qti=_enc->rc.prev_metrics.frame_type; - _enc->rc.frames_left[qti]--; - _enc->rc.frames_left[2]-=_enc->rc.prev_metrics.dup_count; - _enc->rc.nframes[qti]--; - _enc->rc.nframes[2]-=_enc->rc.prev_metrics.dup_count; - _enc->rc.scale_sum[qti]-=oc_bexp_q24(_enc->rc.prev_metrics.log_scale); - _enc->rc.scale_window0=(int)next_frame_num; - /*Free the corresponding entry in the circular buffer.*/ - if(_enc->rc.frame_metrics!=NULL){ - _enc->rc.nframe_metrics--; - _enc->rc.frame_metrics_head++; - if(_enc->rc.frame_metrics_head>=_enc->rc.cframe_metrics){ - _enc->rc.frame_metrics_head=0; - } - } - /*Mark us ready for the next 2-pass packet.*/ - _enc->rc.twopass_buffer_bytes=0; - /*Update state, so the user doesn't have to keep calling 2pass_in after - they've fed in all the data when we're using a finite buffer.*/ - _enc->prev_dup_count=_enc->dup_count; - oc_enc_rc_2pass_in(_enc,NULL,0); - } - }break; - } - /*Common to all passes:*/ - if(_bits>0){ - if(_trial){ - oc_iir_filter *f; - /*Use the estimated scale factor directly if this was a trial.*/ - f=_enc->rc.scalefilter+_qti; - f->y[1]=f->y[0]=f->x[1]=f->x[0]=oc_q57_to_q24(log_scale); - _enc->rc.log_scale[_qti]=log_scale; - } - else{ - /*Lengthen the time constant for the INTER filter as we collect more - frame statistics, until we reach our target.*/ - if(_enc->rc.inter_delay<_enc->rc.inter_delay_target&& - _enc->rc.inter_count>=_enc->rc.inter_delay&&_qti==OC_INTER_FRAME){ - oc_iir_filter_reinit(&_enc->rc.scalefilter[1],++_enc->rc.inter_delay); - } - /*Otherwise update the low-pass scale filter for this frame type, - regardless of whether or not we dropped this frame.*/ - _enc->rc.log_scale[_qti]=oc_iir_filter_update( - _enc->rc.scalefilter+_qti,oc_q57_to_q24(log_scale))<<33; - /*If this frame busts our budget, it must be dropped.*/ - if(_droppable&&_enc->rc.fullness+buf_delta<_bits){ - _enc->rc.prev_drop_count+=1+_enc->dup_count; - _bits=0; - dropped=1; - } - else{ - ogg_uint32_t drop_count; - /*Update a low-pass filter to estimate the "real" frame rate taking - drops and duplicates into account. - This is only done if the frame is coded, as it needs the final - count of dropped frames.*/ - drop_count=_enc->rc.prev_drop_count+1; - if(drop_count>0x7F)drop_count=0x7FFFFFFF; - else drop_count<<=24; - _enc->rc.log_drop_scale=oc_blog64(oc_iir_filter_update( - &_enc->rc.vfrfilter,drop_count))-OC_Q57(24); - /*Initialize the drop count for this frame to the user-requested dup - count. - It will be increased if we drop more frames.*/ - _enc->rc.prev_drop_count=_enc->dup_count; - } - } - /*Increment the INTER frame count, for filter adaptation purposes.*/ - if(_enc->rc.inter_countrc.inter_count+=_qti; - } - /*Increase the drop count.*/ - else _enc->rc.prev_drop_count+=1+_enc->dup_count; - /*And update the buffer fullness level.*/ - if(!_trial){ - _enc->rc.fullness+=buf_delta-_bits; - /*If we're too quick filling the buffer and overflow is capped, - that rate is lost forever.*/ - if(_enc->rc.cap_overflow&&_enc->rc.fullness>_enc->rc.max){ - _enc->rc.fullness=_enc->rc.max; - } - /*If we're too quick draining the buffer and underflow is capped, - don't try to make up that rate later.*/ - if(_enc->rc.cap_underflow&&_enc->rc.fullness<0){ - _enc->rc.fullness=0; - } - /*Adjust the bias for the real bits we've used.*/ - _enc->rc.rate_bias-=_bits; - } - return dropped; -} - -#define OC_RC_2PASS_VERSION (1) -#define OC_RC_2PASS_HDR_SZ (38) -#define OC_RC_2PASS_PACKET_SZ (8) - -static void oc_rc_buffer_val(oc_rc_state *_rc,ogg_int64_t _val,int _bytes){ - while(_bytes-->0){ - _rc->twopass_buffer[_rc->twopass_buffer_bytes++]=(unsigned char)(_val&0xFF); - _val>>=8; - } -} - -int oc_enc_rc_2pass_out(oc_enc_ctx *_enc,unsigned char **_buf){ - if(_enc->rc.twopass_buffer_bytes==0){ - if(_enc->rc.twopass==0){ - int qi; - /*Pick first-pass qi for scale calculations.*/ - qi=oc_enc_select_qi(_enc,0,0); - _enc->state.nqis=1; - _enc->state.qis[0]=qi; - _enc->rc.twopass=1; - _enc->rc.frames_total[0]=_enc->rc.frames_total[1]= - _enc->rc.frames_total[2]=0; - _enc->rc.scale_sum[0]=_enc->rc.scale_sum[1]=0; - /*Fill in dummy summary values.*/ - oc_rc_buffer_val(&_enc->rc,0x5032544F,4); - oc_rc_buffer_val(&_enc->rc,OC_RC_2PASS_VERSION,4); - oc_rc_buffer_val(&_enc->rc,0,OC_RC_2PASS_HDR_SZ-8); - } - else{ - int qti; - qti=_enc->rc.cur_metrics.frame_type; - _enc->rc.scale_sum[qti]+=oc_bexp_q24(_enc->rc.cur_metrics.log_scale); - _enc->rc.frames_total[qti]++; - _enc->rc.frames_total[2]+=_enc->rc.cur_metrics.dup_count; - oc_rc_buffer_val(&_enc->rc, - _enc->rc.cur_metrics.dup_count|_enc->rc.cur_metrics.frame_type<<31,4); - oc_rc_buffer_val(&_enc->rc,_enc->rc.cur_metrics.log_scale,4); - } - } - else if(_enc->packet_state==OC_PACKET_DONE&& - _enc->rc.twopass_buffer_bytes!=OC_RC_2PASS_HDR_SZ){ - _enc->rc.twopass_buffer_bytes=0; - oc_rc_buffer_val(&_enc->rc,0x5032544F,4); - oc_rc_buffer_val(&_enc->rc,OC_RC_2PASS_VERSION,4); - oc_rc_buffer_val(&_enc->rc,_enc->rc.frames_total[0],4); - oc_rc_buffer_val(&_enc->rc,_enc->rc.frames_total[1],4); - oc_rc_buffer_val(&_enc->rc,_enc->rc.frames_total[2],4); - oc_rc_buffer_val(&_enc->rc,_enc->rc.exp[0],1); - oc_rc_buffer_val(&_enc->rc,_enc->rc.exp[1],1); - oc_rc_buffer_val(&_enc->rc,_enc->rc.scale_sum[0],8); - oc_rc_buffer_val(&_enc->rc,_enc->rc.scale_sum[1],8); - } - else{ - /*The data for this frame has already been retrieved.*/ - *_buf=NULL; - return 0; - } - *_buf=_enc->rc.twopass_buffer; - return _enc->rc.twopass_buffer_bytes; -} - -static size_t oc_rc_buffer_fill(oc_rc_state *_rc, - unsigned char *_buf,size_t _bytes,size_t _consumed,size_t _goal){ - while(_rc->twopass_buffer_fill<_goal&&_consumed<_bytes){ - _rc->twopass_buffer[_rc->twopass_buffer_fill++]=_buf[_consumed++]; - } - return _consumed; -} - -static ogg_int64_t oc_rc_unbuffer_val(oc_rc_state *_rc,int _bytes){ - ogg_int64_t ret; - int shift; - ret=0; - shift=0; - while(_bytes-->0){ - ret|=((ogg_int64_t)_rc->twopass_buffer[_rc->twopass_buffer_bytes++])<rc.twopass==0){ - _enc->rc.twopass=2; - _enc->rc.twopass_buffer_fill=0; - _enc->rc.frames_total[0]=0; - _enc->rc.nframe_metrics=0; - _enc->rc.cframe_metrics=0; - _enc->rc.frame_metrics_head=0; - _enc->rc.scale_window0=0; - _enc->rc.scale_window_end=0; - } - /*If we haven't got a valid summary header yet, try to parse one.*/ - if(_enc->rc.frames_total[0]==0){ - if(!_buf){ - int frames_needed; - /*If we're using a whole-file buffer, we just need the first frame. - Otherwise, we may need as many as one per buffer slot.*/ - frames_needed=_enc->rc.frame_metrics==NULL?1:_enc->rc.buf_delay; - return OC_RC_2PASS_HDR_SZ+frames_needed*OC_RC_2PASS_PACKET_SZ - -_enc->rc.twopass_buffer_fill; - } - consumed=oc_rc_buffer_fill(&_enc->rc, - _buf,_bytes,consumed,OC_RC_2PASS_HDR_SZ); - if(_enc->rc.twopass_buffer_fill>=OC_RC_2PASS_HDR_SZ){ - ogg_int64_t scale_sum[2]; - int exp[2]; - int buf_delay; - /*Read the summary header data.*/ - /*Check the magic value and version number.*/ - if(oc_rc_unbuffer_val(&_enc->rc,4)!=0x5032544F|| - oc_rc_unbuffer_val(&_enc->rc,4)!=OC_RC_2PASS_VERSION){ - _enc->rc.twopass_buffer_bytes=0; - return TH_ENOTFORMAT; - } - _enc->rc.frames_total[0]=(ogg_uint32_t)oc_rc_unbuffer_val(&_enc->rc,4); - _enc->rc.frames_total[1]=(ogg_uint32_t)oc_rc_unbuffer_val(&_enc->rc,4); - _enc->rc.frames_total[2]=(ogg_uint32_t)oc_rc_unbuffer_val(&_enc->rc,4); - exp[0]=(int)oc_rc_unbuffer_val(&_enc->rc,1); - exp[1]=(int)oc_rc_unbuffer_val(&_enc->rc,1); - scale_sum[0]=oc_rc_unbuffer_val(&_enc->rc,8); - scale_sum[1]=oc_rc_unbuffer_val(&_enc->rc,8); - /*Make sure the file claims to have at least one frame. - Otherwise we probably got the placeholder data from an aborted pass 1. - Also make sure the total frame count doesn't overflow an integer.*/ - buf_delay=_enc->rc.frames_total[0]+_enc->rc.frames_total[1] - +_enc->rc.frames_total[2]; - if(_enc->rc.frames_total[0]==0||buf_delay<0|| - (ogg_uint32_t)buf_delay<_enc->rc.frames_total[0]|| - (ogg_uint32_t)buf_delay<_enc->rc.frames_total[1]){ - _enc->rc.frames_total[0]=0; - _enc->rc.twopass_buffer_bytes=0; - return TH_EBADHEADER; - } - /*Got a valid header; set up pass 2.*/ - _enc->rc.frames_left[0]=_enc->rc.frames_total[0]; - _enc->rc.frames_left[1]=_enc->rc.frames_total[1]; - _enc->rc.frames_left[2]=_enc->rc.frames_total[2]; - /*If the user hasn't specified a buffer size, use the whole file.*/ - if(_enc->rc.frame_metrics==NULL){ - _enc->rc.buf_delay=buf_delay; - _enc->rc.nframes[0]=_enc->rc.frames_total[0]; - _enc->rc.nframes[1]=_enc->rc.frames_total[1]; - _enc->rc.nframes[2]=_enc->rc.frames_total[2]; - _enc->rc.scale_sum[0]=scale_sum[0]; - _enc->rc.scale_sum[1]=scale_sum[1]; - _enc->rc.scale_window_end=buf_delay; - oc_enc_rc_reset(_enc); - } - _enc->rc.exp[0]=exp[0]; - _enc->rc.exp[1]=exp[1]; - /*Clear the header data from the buffer to make room for packet data.*/ - _enc->rc.twopass_buffer_fill=0; - _enc->rc.twopass_buffer_bytes=0; - } - } - if(_enc->rc.frames_total[0]!=0){ - ogg_int64_t curframe_num; - int nframes_total; - curframe_num=_enc->state.curframe_num; - if(curframe_num>=0){ - /*We just encoded a frame; make sure things matched.*/ - if(_enc->rc.prev_metrics.dup_count!=_enc->prev_dup_count){ - _enc->rc.twopass_buffer_bytes=0; - return TH_EINVAL; - } - } - curframe_num+=_enc->prev_dup_count+1; - nframes_total=_enc->rc.frames_total[0]+_enc->rc.frames_total[1] - +_enc->rc.frames_total[2]; - if(curframe_num>=nframes_total){ - /*We don't want any more data after the last frame, and we don't want to - allow any more frames to be encoded.*/ - _enc->rc.twopass_buffer_bytes=0; - } - else if(_enc->rc.twopass_buffer_bytes==0){ - if(_enc->rc.frame_metrics==NULL){ - /*We're using a whole-file buffer:*/ - if(!_buf)return OC_RC_2PASS_PACKET_SZ-_enc->rc.twopass_buffer_fill; - consumed=oc_rc_buffer_fill(&_enc->rc, - _buf,_bytes,consumed,OC_RC_2PASS_PACKET_SZ); - if(_enc->rc.twopass_buffer_fill>=OC_RC_2PASS_PACKET_SZ){ - ogg_uint32_t dup_count; - ogg_int32_t log_scale; - int qti; - int arg; - /*Read the metrics for the next frame.*/ - dup_count=oc_rc_unbuffer_val(&_enc->rc,4); - log_scale=oc_rc_unbuffer_val(&_enc->rc,4); - _enc->rc.cur_metrics.log_scale=log_scale; - qti=(dup_count&0x80000000)>>31; - _enc->rc.cur_metrics.dup_count=dup_count&0x7FFFFFFF; - _enc->rc.cur_metrics.frame_type=qti; - _enc->rc.twopass_force_kf=qti==OC_INTRA_FRAME; - /*"Helpfully" set the dup count back to what it was in pass 1.*/ - arg=_enc->rc.cur_metrics.dup_count; - th_encode_ctl(_enc,TH_ENCCTL_SET_DUP_COUNT,&arg,sizeof(arg)); - /*Clear the buffer for the next frame.*/ - _enc->rc.twopass_buffer_fill=0; - } - } - else{ - int frames_needed; - /*We're using a finite buffer:*/ - frames_needed=OC_CLAMPI(0,_enc->rc.buf_delay - -(_enc->rc.scale_window_end-_enc->rc.scale_window0), - _enc->rc.frames_left[0]+_enc->rc.frames_left[1] - -_enc->rc.nframes[0]-_enc->rc.nframes[1]); - while(frames_needed>0){ - if(!_buf){ - return OC_RC_2PASS_PACKET_SZ*frames_needed - -_enc->rc.twopass_buffer_fill; - } - consumed=oc_rc_buffer_fill(&_enc->rc, - _buf,_bytes,consumed,OC_RC_2PASS_PACKET_SZ); - if(_enc->rc.twopass_buffer_fill>=OC_RC_2PASS_PACKET_SZ){ - oc_frame_metrics *m; - int fmi; - ogg_uint32_t dup_count; - ogg_int32_t log_scale; - int qti; - /*Read the metrics for the next frame.*/ - dup_count=oc_rc_unbuffer_val(&_enc->rc,4); - log_scale=oc_rc_unbuffer_val(&_enc->rc,4); - /*Add the to the circular buffer.*/ - fmi=_enc->rc.frame_metrics_head+_enc->rc.nframe_metrics++; - if(fmi>=_enc->rc.cframe_metrics)fmi-=_enc->rc.cframe_metrics; - m=_enc->rc.frame_metrics+fmi; - m->log_scale=log_scale; - qti=(dup_count&0x80000000)>>31; - m->dup_count=dup_count&0x7FFFFFFF; - m->frame_type=qti; - /*And accumulate the statistics over the window.*/ - _enc->rc.nframes[qti]++; - _enc->rc.nframes[2]+=m->dup_count; - _enc->rc.scale_sum[qti]+=oc_bexp_q24(m->log_scale); - _enc->rc.scale_window_end+=m->dup_count+1; - /*Compute an upper bound on the number of remaining packets needed - for the current window.*/ - frames_needed=OC_CLAMPI(0,_enc->rc.buf_delay - -(_enc->rc.scale_window_end-_enc->rc.scale_window0), - _enc->rc.frames_left[0]+_enc->rc.frames_left[1] - -_enc->rc.nframes[0]-_enc->rc.nframes[1]); - /*Clear the buffer for the next frame.*/ - _enc->rc.twopass_buffer_fill=0; - _enc->rc.twopass_buffer_bytes=0; - } - /*Go back for more data.*/ - else break; - } - /*If we've got all the frames we need, fill in the current metrics. - We're ready to go.*/ - if(frames_needed<=0){ - int arg; - *&_enc->rc.cur_metrics= - *(_enc->rc.frame_metrics+_enc->rc.frame_metrics_head); - _enc->rc.twopass_force_kf= - _enc->rc.cur_metrics.frame_type==OC_INTRA_FRAME; - /*"Helpfully" set the dup count back to what it was in pass 1.*/ - arg=_enc->rc.cur_metrics.dup_count; - th_encode_ctl(_enc,TH_ENCCTL_SET_DUP_COUNT,&arg,sizeof(arg)); - /*Mark us ready for the next frame.*/ - _enc->rc.twopass_buffer_bytes=1; - } - } - } - } - return (int)consumed; -} diff --git a/Libraries/libtheora-1.1.1/lib/state.c b/Libraries/libtheora-1.1.1/lib/state.c deleted file mode 100644 index 42ed33a9..00000000 --- a/Libraries/libtheora-1.1.1/lib/state.c +++ /dev/null @@ -1,1227 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: state.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#include -#include -#include "internal.h" -#if defined(OC_X86_ASM) -#if defined(_MSC_VER) -# include "x86_vc/x86int.h" -#else -# include "x86/x86int.h" -#endif -#endif -#if defined(OC_DUMP_IMAGES) -# include -# include "png.h" -#endif - -/*Returns the fragment index of the top-left block in a macro block. - This can be used to test whether or not the whole macro block is valid. - _sb_map: The super block map. - _quadi: The quadrant number. - Return: The index of the fragment of the upper left block in the macro - block, or -1 if the block lies outside the coded frame.*/ -static ptrdiff_t oc_sb_quad_top_left_frag(oc_sb_map_quad _sb_map[4],int _quadi){ - /*It so happens that under the Hilbert curve ordering described below, the - upper-left block in each macro block is at index 0, except in macro block - 3, where it is at index 2.*/ - return _sb_map[_quadi][_quadi&_quadi<<1]; -} - -/*Fills in the mapping from block positions to fragment numbers for a single - color plane. - This function also fills in the "valid" flag of each quadrant in the super - block flags. - _sb_maps: The array of super block maps for the color plane. - _sb_flags: The array of super block flags for the color plane. - _frag0: The index of the first fragment in the plane. - _hfrags: The number of horizontal fragments in a coded frame. - _vfrags: The number of vertical fragments in a coded frame.*/ -static void oc_sb_create_plane_mapping(oc_sb_map _sb_maps[], - oc_sb_flags _sb_flags[],ptrdiff_t _frag0,int _hfrags,int _vfrags){ - /*Contains the (macro_block,block) indices for a 4x4 grid of - fragments. - The pattern is a 4x4 Hilbert space-filling curve. - A Hilbert curve has the nice property that as the curve grows larger, its - fractal dimension approaches 2. - The intuition is that nearby blocks in the curve are also close spatially, - with the previous element always an immediate neighbor, so that runs of - blocks should be well correlated.*/ - static const int SB_MAP[4][4][2]={ - {{0,0},{0,1},{3,2},{3,3}}, - {{0,3},{0,2},{3,1},{3,0}}, - {{1,0},{1,3},{2,0},{2,3}}, - {{1,1},{1,2},{2,1},{2,2}} - }; - ptrdiff_t yfrag; - unsigned sbi; - int y; - sbi=0; - yfrag=_frag0; - for(y=0;;y+=4){ - int imax; - int x; - /*Figure out how many columns of blocks in this super block lie within the - image.*/ - imax=_vfrags-y; - if(imax>4)imax=4; - else if(imax<=0)break; - for(x=0;;x+=4,sbi++){ - ptrdiff_t xfrag; - int jmax; - int quadi; - int i; - /*Figure out how many rows of blocks in this super block lie within the - image.*/ - jmax=_hfrags-x; - if(jmax>4)jmax=4; - else if(jmax<=0)break; - /*By default, set all fragment indices to -1.*/ - memset(_sb_maps[sbi][0],0xFF,sizeof(_sb_maps[sbi])); - /*Fill in the fragment map for this super block.*/ - xfrag=yfrag+x; - for(i=0;i=0)<nhfrags+_xfrag0+j; - } -} - -/*Fills in the chroma plane fragment maps for a macro block. - This version is for use with chroma decimated in the X and Y directions - (4:2:0). - _mb_map: The macro block map to fill. - _fplanes: The descriptions of the fragment planes. - _xfrag0: The X location of the upper-left hand fragment in the luma plane. - _yfrag0: The Y location of the upper-left hand fragment in the luma plane.*/ -static void oc_mb_fill_cmapping00(oc_mb_map_plane _mb_map[3], - const oc_fragment_plane _fplanes[3],int _xfrag0,int _yfrag0){ - ptrdiff_t fragi; - _xfrag0>>=1; - _yfrag0>>=1; - fragi=_yfrag0*(ptrdiff_t)_fplanes[1].nhfrags+_xfrag0; - _mb_map[1][0]=fragi+_fplanes[1].froffset; - _mb_map[2][0]=fragi+_fplanes[2].froffset; -} - -/*Fills in the chroma plane fragment maps for a macro block. - This version is for use with chroma decimated in the Y direction. - _mb_map: The macro block map to fill. - _fplanes: The descriptions of the fragment planes. - _xfrag0: The X location of the upper-left hand fragment in the luma plane. - _yfrag0: The Y location of the upper-left hand fragment in the luma plane.*/ -static void oc_mb_fill_cmapping01(oc_mb_map_plane _mb_map[3], - const oc_fragment_plane _fplanes[3],int _xfrag0,int _yfrag0){ - ptrdiff_t fragi; - int j; - _yfrag0>>=1; - fragi=_yfrag0*(ptrdiff_t)_fplanes[1].nhfrags+_xfrag0; - for(j=0;j<2;j++){ - _mb_map[1][j]=fragi+_fplanes[1].froffset; - _mb_map[2][j]=fragi+_fplanes[2].froffset; - fragi++; - } -} - -/*Fills in the chroma plane fragment maps for a macro block. - This version is for use with chroma decimated in the X direction (4:2:2). - _mb_map: The macro block map to fill. - _fplanes: The descriptions of the fragment planes. - _xfrag0: The X location of the upper-left hand fragment in the luma plane. - _yfrag0: The Y location of the upper-left hand fragment in the luma plane.*/ -static void oc_mb_fill_cmapping10(oc_mb_map_plane _mb_map[3], - const oc_fragment_plane _fplanes[3],int _xfrag0,int _yfrag0){ - ptrdiff_t fragi; - int i; - _xfrag0>>=1; - fragi=_yfrag0*(ptrdiff_t)_fplanes[1].nhfrags+_xfrag0; - for(i=0;i<2;i++){ - _mb_map[1][i<<1]=fragi+_fplanes[1].froffset; - _mb_map[2][i<<1]=fragi+_fplanes[2].froffset; - fragi+=_fplanes[1].nhfrags; - } -} - -/*Fills in the chroma plane fragment maps for a macro block. - This version is for use with no chroma decimation (4:4:4). - This uses the already filled-in luma plane values. - _mb_map: The macro block map to fill. - _fplanes: The descriptions of the fragment planes.*/ -static void oc_mb_fill_cmapping11(oc_mb_map_plane _mb_map[3], - const oc_fragment_plane _fplanes[3]){ - int k; - for(k=0;k<4;k++){ - _mb_map[1][k]=_mb_map[0][k]+_fplanes[1].froffset; - _mb_map[2][k]=_mb_map[0][k]+_fplanes[2].froffset; - } -} - -/*The function type used to fill in the chroma plane fragment maps for a - macro block. - _mb_map: The macro block map to fill. - _fplanes: The descriptions of the fragment planes. - _xfrag0: The X location of the upper-left hand fragment in the luma plane. - _yfrag0: The Y location of the upper-left hand fragment in the luma plane.*/ -typedef void (*oc_mb_fill_cmapping_func)(oc_mb_map_plane _mb_map[3], - const oc_fragment_plane _fplanes[3],int _xfrag0,int _yfrag0); - -/*A table of functions used to fill in the chroma plane fragment maps for a - macro block for each type of chrominance decimation.*/ -static const oc_mb_fill_cmapping_func OC_MB_FILL_CMAPPING_TABLE[4]={ - oc_mb_fill_cmapping00, - oc_mb_fill_cmapping01, - oc_mb_fill_cmapping10, - (oc_mb_fill_cmapping_func)oc_mb_fill_cmapping11 -}; - -/*Fills in the mapping from macro blocks to their corresponding fragment - numbers in each plane. - _mb_maps: The list of macro block maps. - _mb_modes: The list of macro block modes; macro blocks completely outside - the coded region are marked invalid. - _fplanes: The descriptions of the fragment planes. - _pixel_fmt: The chroma decimation type.*/ -static void oc_mb_create_mapping(oc_mb_map _mb_maps[], - signed char _mb_modes[],const oc_fragment_plane _fplanes[3],int _pixel_fmt){ - oc_mb_fill_cmapping_func mb_fill_cmapping; - unsigned sbi; - int y; - mb_fill_cmapping=OC_MB_FILL_CMAPPING_TABLE[_pixel_fmt]; - /*Loop through the luma plane super blocks.*/ - for(sbi=y=0;y<_fplanes[0].nvfrags;y+=4){ - int x; - for(x=0;x<_fplanes[0].nhfrags;x+=4,sbi++){ - int ymb; - /*Loop through the macro blocks in each super block in display order.*/ - for(ymb=0;ymb<2;ymb++){ - int xmb; - for(xmb=0;xmb<2;xmb++){ - unsigned mbi; - int mbx; - int mby; - mbi=sbi<<2|OC_MB_MAP[ymb][xmb]; - mbx=x|xmb<<1; - mby=y|ymb<<1; - /*Initialize fragment indices to -1.*/ - memset(_mb_maps[mbi],0xFF,sizeof(_mb_maps[mbi])); - /*Make sure this macro block is within the encoded region.*/ - if(mbx>=_fplanes[0].nhfrags||mby>=_fplanes[0].nvfrags){ - _mb_modes[mbi]=OC_MODE_INVALID; - continue; - } - /*Fill in the fragment indices for the luma plane.*/ - oc_mb_fill_ymapping(_mb_maps[mbi],_fplanes,mbx,mby); - /*Fill in the fragment indices for the chroma planes.*/ - (*mb_fill_cmapping)(_mb_maps[mbi],_fplanes,mbx,mby); - } - } - } - } -} - -/*Marks the fragments which fall all or partially outside the displayable - region of the frame. - _state: The Theora state containing the fragments to be marked.*/ -static void oc_state_border_init(oc_theora_state *_state){ - oc_fragment *frag; - oc_fragment *yfrag_end; - oc_fragment *xfrag_end; - oc_fragment_plane *fplane; - int crop_x0; - int crop_y0; - int crop_xf; - int crop_yf; - int pli; - int y; - int x; - /*The method we use here is slow, but the code is dead simple and handles - all the special cases easily. - We only ever need to do it once.*/ - /*Loop through the fragments, marking those completely outside the - displayable region and constructing a border mask for those that straddle - the border.*/ - _state->nborders=0; - yfrag_end=frag=_state->frags; - for(pli=0;pli<3;pli++){ - fplane=_state->fplanes+pli; - /*Set up the cropping rectangle for this plane.*/ - crop_x0=_state->info.pic_x; - crop_xf=_state->info.pic_x+_state->info.pic_width; - crop_y0=_state->info.pic_y; - crop_yf=_state->info.pic_y+_state->info.pic_height; - if(pli>0){ - if(!(_state->info.pixel_fmt&1)){ - crop_x0=crop_x0>>1; - crop_xf=crop_xf+1>>1; - } - if(!(_state->info.pixel_fmt&2)){ - crop_y0=crop_y0>>1; - crop_yf=crop_yf+1>>1; - } - } - y=0; - for(yfrag_end+=fplane->nfrags;fragnhfrags;frag=crop_xf||crop_y0>=crop_yf){ - frag->invalid=1; - } - /*Otherwise, check to see if it straddles the border.*/ - else if(x=crop_x0&&x+j=crop_y0&&y+i=_state->nborders){ - _state->nborders++; - _state->borders[i].mask=mask; - _state->borders[i].npixels=npixels; - } - else if(_state->borders[i].mask!=mask)continue; - frag->borderi=i; - break; - } - } - else frag->borderi=-1; - } - } - } -} - -static int oc_state_frarray_init(oc_theora_state *_state){ - int yhfrags; - int yvfrags; - int chfrags; - int cvfrags; - ptrdiff_t yfrags; - ptrdiff_t cfrags; - ptrdiff_t nfrags; - unsigned yhsbs; - unsigned yvsbs; - unsigned chsbs; - unsigned cvsbs; - unsigned ysbs; - unsigned csbs; - unsigned nsbs; - size_t nmbs; - int hdec; - int vdec; - int pli; - /*Figure out the number of fragments in each plane.*/ - /*These parameters have already been validated to be multiples of 16.*/ - yhfrags=_state->info.frame_width>>3; - yvfrags=_state->info.frame_height>>3; - hdec=!(_state->info.pixel_fmt&1); - vdec=!(_state->info.pixel_fmt&2); - chfrags=yhfrags+hdec>>hdec; - cvfrags=yvfrags+vdec>>vdec; - yfrags=yhfrags*(ptrdiff_t)yvfrags; - cfrags=chfrags*(ptrdiff_t)cvfrags; - nfrags=yfrags+2*cfrags; - /*Figure out the number of super blocks in each plane.*/ - yhsbs=yhfrags+3>>2; - yvsbs=yvfrags+3>>2; - chsbs=chfrags+3>>2; - cvsbs=cvfrags+3>>2; - ysbs=yhsbs*yvsbs; - csbs=chsbs*cvsbs; - nsbs=ysbs+2*csbs; - nmbs=(size_t)ysbs<<2; - /*Check for overflow. - We support the ridiculous upper limits of the specification (1048560 by - 1048560, or 3 TB frames) if the target architecture has 64-bit pointers, - but for those with 32-bit pointers (or smaller!) we have to check. - If the caller wants to prevent denial-of-service by imposing a more - reasonable upper limit on the size of attempted allocations, they must do - so themselves; we have no platform independent way to determine how much - system memory there is nor an application-independent way to decide what a - "reasonable" allocation is.*/ - if(yfrags/yhfrags!=yvfrags||2*cfrags>2!=ysbs){ - return TH_EIMPL; - } - /*Initialize the fragment array.*/ - _state->fplanes[0].nhfrags=yhfrags; - _state->fplanes[0].nvfrags=yvfrags; - _state->fplanes[0].froffset=0; - _state->fplanes[0].nfrags=yfrags; - _state->fplanes[0].nhsbs=yhsbs; - _state->fplanes[0].nvsbs=yvsbs; - _state->fplanes[0].sboffset=0; - _state->fplanes[0].nsbs=ysbs; - _state->fplanes[1].nhfrags=_state->fplanes[2].nhfrags=chfrags; - _state->fplanes[1].nvfrags=_state->fplanes[2].nvfrags=cvfrags; - _state->fplanes[1].froffset=yfrags; - _state->fplanes[2].froffset=yfrags+cfrags; - _state->fplanes[1].nfrags=_state->fplanes[2].nfrags=cfrags; - _state->fplanes[1].nhsbs=_state->fplanes[2].nhsbs=chsbs; - _state->fplanes[1].nvsbs=_state->fplanes[2].nvsbs=cvsbs; - _state->fplanes[1].sboffset=ysbs; - _state->fplanes[2].sboffset=ysbs+csbs; - _state->fplanes[1].nsbs=_state->fplanes[2].nsbs=csbs; - _state->nfrags=nfrags; - _state->frags=_ogg_calloc(nfrags,sizeof(*_state->frags)); - _state->frag_mvs=_ogg_malloc(nfrags*sizeof(*_state->frag_mvs)); - _state->nsbs=nsbs; - _state->sb_maps=_ogg_malloc(nsbs*sizeof(*_state->sb_maps)); - _state->sb_flags=_ogg_calloc(nsbs,sizeof(*_state->sb_flags)); - _state->nhmbs=yhsbs<<1; - _state->nvmbs=yvsbs<<1; - _state->nmbs=nmbs; - _state->mb_maps=_ogg_calloc(nmbs,sizeof(*_state->mb_maps)); - _state->mb_modes=_ogg_calloc(nmbs,sizeof(*_state->mb_modes)); - _state->coded_fragis=_ogg_malloc(nfrags*sizeof(*_state->coded_fragis)); - if(_state->frags==NULL||_state->frag_mvs==NULL||_state->sb_maps==NULL|| - _state->sb_flags==NULL||_state->mb_maps==NULL||_state->mb_modes==NULL|| - _state->coded_fragis==NULL){ - return TH_EFAULT; - } - /*Create the mapping from super blocks to fragments.*/ - for(pli=0;pli<3;pli++){ - oc_fragment_plane *fplane; - fplane=_state->fplanes+pli; - oc_sb_create_plane_mapping(_state->sb_maps+fplane->sboffset, - _state->sb_flags+fplane->sboffset,fplane->froffset, - fplane->nhfrags,fplane->nvfrags); - } - /*Create the mapping from macro blocks to fragments.*/ - oc_mb_create_mapping(_state->mb_maps,_state->mb_modes, - _state->fplanes,_state->info.pixel_fmt); - /*Initialize the invalid and borderi fields of each fragment.*/ - oc_state_border_init(_state); - return 0; -} - -static void oc_state_frarray_clear(oc_theora_state *_state){ - _ogg_free(_state->coded_fragis); - _ogg_free(_state->mb_modes); - _ogg_free(_state->mb_maps); - _ogg_free(_state->sb_flags); - _ogg_free(_state->sb_maps); - _ogg_free(_state->frag_mvs); - _ogg_free(_state->frags); -} - - -/*Initializes the buffers used for reconstructed frames. - These buffers are padded with 16 extra pixels on each side, to allow - unrestricted motion vectors without special casing the boundary. - If chroma is decimated in either direction, the padding is reduced by a - factor of 2 on the appropriate sides. - _nrefs: The number of reference buffers to init; must be 3 or 4.*/ -static int oc_state_ref_bufs_init(oc_theora_state *_state,int _nrefs){ - th_info *info; - unsigned char *ref_frame_data; - size_t ref_frame_data_sz; - size_t ref_frame_sz; - size_t yplane_sz; - size_t cplane_sz; - int yhstride; - int yheight; - int chstride; - int cheight; - ptrdiff_t yoffset; - ptrdiff_t coffset; - ptrdiff_t *frag_buf_offs; - ptrdiff_t fragi; - int hdec; - int vdec; - int rfi; - int pli; - if(_nrefs<3||_nrefs>4)return TH_EINVAL; - info=&_state->info; - /*Compute the image buffer parameters for each plane.*/ - hdec=!(info->pixel_fmt&1); - vdec=!(info->pixel_fmt&2); - yhstride=info->frame_width+2*OC_UMV_PADDING; - yheight=info->frame_height+2*OC_UMV_PADDING; - chstride=yhstride>>hdec; - cheight=yheight>>vdec; - yplane_sz=yhstride*(size_t)yheight; - cplane_sz=chstride*(size_t)cheight; - yoffset=OC_UMV_PADDING+OC_UMV_PADDING*(ptrdiff_t)yhstride; - coffset=(OC_UMV_PADDING>>hdec)+(OC_UMV_PADDING>>vdec)*(ptrdiff_t)chstride; - ref_frame_sz=yplane_sz+2*cplane_sz; - ref_frame_data_sz=_nrefs*ref_frame_sz; - /*Check for overflow. - The same caveats apply as for oc_state_frarray_init().*/ - if(yplane_sz/yhstride!=yheight||2*cplane_szfrag_buf_offs= - _ogg_malloc(_state->nfrags*sizeof(*frag_buf_offs)); - if(ref_frame_data==NULL||frag_buf_offs==NULL){ - _ogg_free(frag_buf_offs); - _ogg_free(ref_frame_data); - return TH_EFAULT; - } - /*Set up the width, height and stride for the image buffers.*/ - _state->ref_frame_bufs[0][0].width=info->frame_width; - _state->ref_frame_bufs[0][0].height=info->frame_height; - _state->ref_frame_bufs[0][0].stride=yhstride; - _state->ref_frame_bufs[0][1].width=_state->ref_frame_bufs[0][2].width= - info->frame_width>>hdec; - _state->ref_frame_bufs[0][1].height=_state->ref_frame_bufs[0][2].height= - info->frame_height>>vdec; - _state->ref_frame_bufs[0][1].stride=_state->ref_frame_bufs[0][2].stride= - chstride; - for(rfi=1;rfi<_nrefs;rfi++){ - memcpy(_state->ref_frame_bufs[rfi],_state->ref_frame_bufs[0], - sizeof(_state->ref_frame_bufs[0])); - } - /*Set up the data pointers for the image buffers.*/ - for(rfi=0;rfi<_nrefs;rfi++){ - _state->ref_frame_data[rfi]=ref_frame_data; - _state->ref_frame_bufs[rfi][0].data=ref_frame_data+yoffset; - ref_frame_data+=yplane_sz; - _state->ref_frame_bufs[rfi][1].data=ref_frame_data+coffset; - ref_frame_data+=cplane_sz; - _state->ref_frame_bufs[rfi][2].data=ref_frame_data+coffset; - ref_frame_data+=cplane_sz; - /*Flip the buffer upside down. - This allows us to decode Theora's bottom-up frames in their natural - order, yet return a top-down buffer with a positive stride to the user.*/ - oc_ycbcr_buffer_flip(_state->ref_frame_bufs[rfi], - _state->ref_frame_bufs[rfi]); - } - _state->ref_ystride[0]=-yhstride; - _state->ref_ystride[1]=_state->ref_ystride[2]=-chstride; - /*Initialize the fragment buffer offsets.*/ - ref_frame_data=_state->ref_frame_data[0]; - fragi=0; - for(pli=0;pli<3;pli++){ - th_img_plane *iplane; - oc_fragment_plane *fplane; - unsigned char *vpix; - ptrdiff_t stride; - ptrdiff_t vfragi_end; - int nhfrags; - iplane=_state->ref_frame_bufs[0]+pli; - fplane=_state->fplanes+pli; - vpix=iplane->data; - vfragi_end=fplane->froffset+fplane->nfrags; - nhfrags=fplane->nhfrags; - stride=iplane->stride; - while(fragiref_frame_idx[OC_FRAME_GOLD]= - _state->ref_frame_idx[OC_FRAME_PREV]= - _state->ref_frame_idx[OC_FRAME_SELF]=-1; - _state->ref_frame_idx[OC_FRAME_IO]=_nrefs>3?3:-1; - return 0; -} - -static void oc_state_ref_bufs_clear(oc_theora_state *_state){ - _ogg_free(_state->frag_buf_offs); - _ogg_free(_state->ref_frame_data[0]); -} - - -void oc_state_vtable_init_c(oc_theora_state *_state){ - _state->opt_vtable.frag_copy=oc_frag_copy_c; - _state->opt_vtable.frag_recon_intra=oc_frag_recon_intra_c; - _state->opt_vtable.frag_recon_inter=oc_frag_recon_inter_c; - _state->opt_vtable.frag_recon_inter2=oc_frag_recon_inter2_c; - _state->opt_vtable.idct8x8=oc_idct8x8_c; - _state->opt_vtable.state_frag_recon=oc_state_frag_recon_c; - _state->opt_vtable.state_frag_copy_list=oc_state_frag_copy_list_c; - _state->opt_vtable.state_loop_filter_frag_rows= - oc_state_loop_filter_frag_rows_c; - _state->opt_vtable.restore_fpu=oc_restore_fpu_c; - _state->opt_data.dct_fzig_zag=OC_FZIG_ZAG; -} - -/*Initialize the accelerated function pointers.*/ -void oc_state_vtable_init(oc_theora_state *_state){ -#if defined(OC_X86_ASM) - oc_state_vtable_init_x86(_state); -#else - oc_state_vtable_init_c(_state); -#endif -} - - -int oc_state_init(oc_theora_state *_state,const th_info *_info,int _nrefs){ - int ret; - /*First validate the parameters.*/ - if(_info==NULL)return TH_EFAULT; - /*The width and height of the encoded frame must be multiples of 16. - They must also, when divided by 16, fit into a 16-bit unsigned integer. - The displayable frame offset coordinates must fit into an 8-bit unsigned - integer. - Note that the offset Y in the API is specified on the opposite side from - how it is specified in the bitstream, because the Y axis is flipped in - the bitstream. - The displayable frame must fit inside the encoded frame. - The color space must be one known by the encoder.*/ - if((_info->frame_width&0xF)||(_info->frame_height&0xF)|| - _info->frame_width<=0||_info->frame_width>=0x100000|| - _info->frame_height<=0||_info->frame_height>=0x100000|| - _info->pic_x+_info->pic_width>_info->frame_width|| - _info->pic_y+_info->pic_height>_info->frame_height|| - _info->pic_x>255||_info->frame_height-_info->pic_height-_info->pic_y>255|| - /*Note: the following <0 comparisons may generate spurious warnings on - platforms where enums are unsigned. - We could cast them to unsigned and just use the following >= comparison, - but there are a number of compilers which will mis-optimize this. - It's better to live with the spurious warnings.*/ - _info->colorspace<0||_info->colorspace>=TH_CS_NSPACES|| - _info->pixel_fmt<0||_info->pixel_fmt>=TH_PF_NFORMATS){ - return TH_EINVAL; - } - memset(_state,0,sizeof(*_state)); - memcpy(&_state->info,_info,sizeof(*_info)); - /*Invert the sense of pic_y to match Theora's right-handed coordinate - system.*/ - _state->info.pic_y=_info->frame_height-_info->pic_height-_info->pic_y; - _state->frame_type=OC_UNKWN_FRAME; - oc_state_vtable_init(_state); - ret=oc_state_frarray_init(_state); - if(ret>=0)ret=oc_state_ref_bufs_init(_state,_nrefs); - if(ret<0){ - oc_state_frarray_clear(_state); - return ret; - } - /*If the keyframe_granule_shift is out of range, use the maximum allowable - value.*/ - if(_info->keyframe_granule_shift<0||_info->keyframe_granule_shift>31){ - _state->info.keyframe_granule_shift=31; - } - _state->keyframe_num=0; - _state->curframe_num=-1; - /*3.2.0 streams mark the frame index instead of the frame count. - This was changed with stream version 3.2.1 to conform to other Ogg - codecs. - We add an extra bias when computing granule positions for new streams.*/ - _state->granpos_bias=TH_VERSION_CHECK(_info,3,2,1); - return 0; -} - -void oc_state_clear(oc_theora_state *_state){ - oc_state_ref_bufs_clear(_state); - oc_state_frarray_clear(_state); -} - - -/*Duplicates the pixels on the border of the image plane out into the - surrounding padding for use by unrestricted motion vectors. - This function only adds the left and right borders, and only for the fragment - rows specified. - _refi: The index of the reference buffer to pad. - _pli: The color plane. - _y0: The Y coordinate of the first row to pad. - _yend: The Y coordinate of the row to stop padding at.*/ -void oc_state_borders_fill_rows(oc_theora_state *_state,int _refi,int _pli, - int _y0,int _yend){ - th_img_plane *iplane; - unsigned char *apix; - unsigned char *bpix; - unsigned char *epix; - int stride; - int hpadding; - hpadding=OC_UMV_PADDING>>(_pli!=0&&!(_state->info.pixel_fmt&1)); - iplane=_state->ref_frame_bufs[_refi]+_pli; - stride=iplane->stride; - apix=iplane->data+_y0*(ptrdiff_t)stride; - bpix=apix+iplane->width-1; - epix=iplane->data+_yend*(ptrdiff_t)stride; - /*Note the use of != instead of <, which allows the stride to be negative.*/ - while(apix!=epix){ - memset(apix-hpadding,apix[0],hpadding); - memset(bpix+1,bpix[0],hpadding); - apix+=stride; - bpix+=stride; - } -} - -/*Duplicates the pixels on the border of the image plane out into the - surrounding padding for use by unrestricted motion vectors. - This function only adds the top and bottom borders, and must be called after - the left and right borders are added. - _refi: The index of the reference buffer to pad. - _pli: The color plane.*/ -void oc_state_borders_fill_caps(oc_theora_state *_state,int _refi,int _pli){ - th_img_plane *iplane; - unsigned char *apix; - unsigned char *bpix; - unsigned char *epix; - int stride; - int hpadding; - int vpadding; - int fullw; - hpadding=OC_UMV_PADDING>>(_pli!=0&&!(_state->info.pixel_fmt&1)); - vpadding=OC_UMV_PADDING>>(_pli!=0&&!(_state->info.pixel_fmt&2)); - iplane=_state->ref_frame_bufs[_refi]+_pli; - stride=iplane->stride; - fullw=iplane->width+(hpadding<<1); - apix=iplane->data-hpadding; - bpix=iplane->data+(iplane->height-1)*(ptrdiff_t)stride-hpadding; - epix=apix-stride*(ptrdiff_t)vpadding; - while(apix!=epix){ - memcpy(apix-stride,apix,fullw); - memcpy(bpix+stride,bpix,fullw); - apix-=stride; - bpix+=stride; - } -} - -/*Duplicates the pixels on the border of the given reference image out into - the surrounding padding for use by unrestricted motion vectors. - _state: The context containing the reference buffers. - _refi: The index of the reference buffer to pad.*/ -void oc_state_borders_fill(oc_theora_state *_state,int _refi){ - int pli; - for(pli=0;pli<3;pli++){ - oc_state_borders_fill_rows(_state,_refi,pli,0, - _state->ref_frame_bufs[_refi][pli].height); - oc_state_borders_fill_caps(_state,_refi,pli); - } -} - -/*Determines the offsets in an image buffer to use for motion compensation. - _state: The Theora state the offsets are to be computed with. - _offsets: Returns the offset for the buffer(s). - _offsets[0] is always set. - _offsets[1] is set if the motion vector has non-zero fractional - components. - _pli: The color plane index. - _dx: The X component of the motion vector. - _dy: The Y component of the motion vector. - Return: The number of offsets returned: 1 or 2.*/ -int oc_state_get_mv_offsets(const oc_theora_state *_state,int _offsets[2], - int _pli,int _dx,int _dy){ - /*Here is a brief description of how Theora handles motion vectors: - Motion vector components are specified to half-pixel accuracy in - undecimated directions of each plane, and quarter-pixel accuracy in - decimated directions. - Integer parts are extracted by dividing (not shifting) by the - appropriate amount, with truncation towards zero. - These integer values are used to calculate the first offset. - - If either of the fractional parts are non-zero, then a second offset is - computed. - No third or fourth offsets are computed, even if both components have - non-zero fractional parts. - The second offset is computed by dividing (not shifting) by the - appropriate amount, always truncating _away_ from zero.*/ -#if 0 - /*This version of the code doesn't use any tables, but is slower.*/ - int ystride; - int xprec; - int yprec; - int xfrac; - int yfrac; - int offs; - ystride=_state->ref_ystride[_pli]; - /*These two variables decide whether we are in half- or quarter-pixel - precision in each component.*/ - xprec=1+(_pli!=0&&!(_state->info.pixel_fmt&1)); - yprec=1+(_pli!=0&&!(_state->info.pixel_fmt&2)); - /*These two variables are either 0 if all the fractional bits are zero or -1 - if any of them are non-zero.*/ - xfrac=OC_SIGNMASK(-(_dx&(xprec|1))); - yfrac=OC_SIGNMASK(-(_dy&(yprec|1))); - offs=(_dx>>xprec)+(_dy>>yprec)*ystride; - if(xfrac||yfrac){ - int xmask; - int ymask; - xmask=OC_SIGNMASK(_dx); - ymask=OC_SIGNMASK(_dy); - yfrac&=ystride; - _offsets[0]=offs-(xfrac&xmask)+(yfrac&ymask); - _offsets[1]=offs-(xfrac&~xmask)+(yfrac&~ymask); - return 2; - } - else{ - _offsets[0]=offs; - return 1; - } -#else - /*Using tables simplifies the code, and there's enough arithmetic to hide the - latencies of the memory references.*/ - static const signed char OC_MVMAP[2][64]={ - { - -15,-15,-14,-14,-13,-13,-12,-12,-11,-11,-10,-10, -9, -9, -8, - -8, -7, -7, -6, -6, -5, -5, -4, -4, -3, -3, -2, -2, -1, -1, 0, - 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, - 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15 - }, - { - -7, -7, -7, -7, -6, -6, -6, -6, -5, -5, -5, -5, -4, -4, -4, - -4, -3, -3, -3, -3, -2, -2, -2, -2, -1, -1, -1, -1, 0, 0, 0, - 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, - 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7 - } - }; - static const signed char OC_MVMAP2[2][64]={ - { - -1, 0,-1, 0,-1, 0,-1, 0,-1, 0,-1, 0,-1, 0,-1, - 0,-1, 0,-1, 0,-1, 0,-1, 0,-1, 0,-1, 0,-1, 0,-1, - 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, - 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 - }, - { - -1,-1,-1, 0,-1,-1,-1, 0,-1,-1,-1, 0,-1,-1,-1, - 0,-1,-1,-1, 0,-1,-1,-1, 0,-1,-1,-1, 0,-1,-1,-1, - 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, - 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1 - } - }; - int ystride; - int qpx; - int qpy; - int mx; - int my; - int mx2; - int my2; - int offs; - ystride=_state->ref_ystride[_pli]; - qpy=_pli!=0&&!(_state->info.pixel_fmt&2); - my=OC_MVMAP[qpy][_dy+31]; - my2=OC_MVMAP2[qpy][_dy+31]; - qpx=_pli!=0&&!(_state->info.pixel_fmt&1); - mx=OC_MVMAP[qpx][_dx+31]; - mx2=OC_MVMAP2[qpx][_dx+31]; - offs=my*ystride+mx; - if(mx2||my2){ - _offsets[1]=offs+my2*ystride+mx2; - _offsets[0]=offs; - return 2; - } - _offsets[0]=offs; - return 1; -#endif -} - -void oc_state_frag_recon(const oc_theora_state *_state,ptrdiff_t _fragi, - int _pli,ogg_int16_t _dct_coeffs[64],int _last_zzi,ogg_uint16_t _dc_quant){ - _state->opt_vtable.state_frag_recon(_state,_fragi,_pli,_dct_coeffs, - _last_zzi,_dc_quant); -} - -void oc_state_frag_recon_c(const oc_theora_state *_state,ptrdiff_t _fragi, - int _pli,ogg_int16_t _dct_coeffs[64],int _last_zzi,ogg_uint16_t _dc_quant){ - unsigned char *dst; - ptrdiff_t frag_buf_off; - int ystride; - int mb_mode; - /*Apply the inverse transform.*/ - /*Special case only having a DC component.*/ - if(_last_zzi<2){ - ogg_int16_t p; - int ci; - /*We round this dequant product (and not any of the others) because there's - no iDCT rounding.*/ - p=(ogg_int16_t)(_dct_coeffs[0]*(ogg_int32_t)_dc_quant+15>>5); - /*LOOP VECTORIZES.*/ - for(ci=0;ci<64;ci++)_dct_coeffs[ci]=p; - } - else{ - /*First, dequantize the DC coefficient.*/ - _dct_coeffs[0]=(ogg_int16_t)(_dct_coeffs[0]*(int)_dc_quant); - oc_idct8x8(_state,_dct_coeffs,_last_zzi); - } - /*Fill in the target buffer.*/ - frag_buf_off=_state->frag_buf_offs[_fragi]; - mb_mode=_state->frags[_fragi].mb_mode; - ystride=_state->ref_ystride[_pli]; - dst=_state->ref_frame_data[_state->ref_frame_idx[OC_FRAME_SELF]]+frag_buf_off; - if(mb_mode==OC_MODE_INTRA)oc_frag_recon_intra(_state,dst,ystride,_dct_coeffs); - else{ - const unsigned char *ref; - int mvoffsets[2]; - ref= - _state->ref_frame_data[_state->ref_frame_idx[OC_FRAME_FOR_MODE(mb_mode)]] - +frag_buf_off; - if(oc_state_get_mv_offsets(_state,mvoffsets,_pli, - _state->frag_mvs[_fragi][0],_state->frag_mvs[_fragi][1])>1){ - oc_frag_recon_inter2(_state, - dst,ref+mvoffsets[0],ref+mvoffsets[1],ystride,_dct_coeffs); - } - else oc_frag_recon_inter(_state,dst,ref+mvoffsets[0],ystride,_dct_coeffs); - } -} - -/*Copies the fragments specified by the lists of fragment indices from one - frame to another. - _fragis: A pointer to a list of fragment indices. - _nfragis: The number of fragment indices to copy. - _dst_frame: The reference frame to copy to. - _src_frame: The reference frame to copy from. - _pli: The color plane the fragments lie in.*/ -void oc_state_frag_copy_list(const oc_theora_state *_state, - const ptrdiff_t *_fragis,ptrdiff_t _nfragis, - int _dst_frame,int _src_frame,int _pli){ - _state->opt_vtable.state_frag_copy_list(_state,_fragis,_nfragis,_dst_frame, - _src_frame,_pli); -} - -void oc_state_frag_copy_list_c(const oc_theora_state *_state, - const ptrdiff_t *_fragis,ptrdiff_t _nfragis, - int _dst_frame,int _src_frame,int _pli){ - const ptrdiff_t *frag_buf_offs; - const unsigned char *src_frame_data; - unsigned char *dst_frame_data; - ptrdiff_t fragii; - int ystride; - dst_frame_data=_state->ref_frame_data[_state->ref_frame_idx[_dst_frame]]; - src_frame_data=_state->ref_frame_data[_state->ref_frame_idx[_src_frame]]; - ystride=_state->ref_ystride[_pli]; - frag_buf_offs=_state->frag_buf_offs; - for(fragii=0;fragii<_nfragis;fragii++){ - ptrdiff_t frag_buf_off; - frag_buf_off=frag_buf_offs[_fragis[fragii]]; - oc_frag_copy(_state,dst_frame_data+frag_buf_off, - src_frame_data+frag_buf_off,ystride); - } -} - -static void loop_filter_h(unsigned char *_pix,int _ystride,int *_bv){ - int y; - _pix-=2; - for(y=0;y<8;y++){ - int f; - f=_pix[0]-_pix[3]+3*(_pix[2]-_pix[1]); - /*The _bv array is used to compute the function - f=OC_CLAMPI(OC_MINI(-_2flimit-f,0),f,OC_MAXI(_2flimit-f,0)); - where _2flimit=_state->loop_filter_limits[_state->qis[0]]<<1;*/ - f=*(_bv+(f+4>>3)); - _pix[1]=OC_CLAMP255(_pix[1]+f); - _pix[2]=OC_CLAMP255(_pix[2]-f); - _pix+=_ystride; - } -} - -static void loop_filter_v(unsigned char *_pix,int _ystride,int *_bv){ - int x; - _pix-=_ystride*2; - for(x=0;x<8;x++){ - int f; - f=_pix[x]-_pix[_ystride*3+x]+3*(_pix[_ystride*2+x]-_pix[_ystride+x]); - /*The _bv array is used to compute the function - f=OC_CLAMPI(OC_MINI(-_2flimit-f,0),f,OC_MAXI(_2flimit-f,0)); - where _2flimit=_state->loop_filter_limits[_state->qis[0]]<<1;*/ - f=*(_bv+(f+4>>3)); - _pix[_ystride+x]=OC_CLAMP255(_pix[_ystride+x]+f); - _pix[_ystride*2+x]=OC_CLAMP255(_pix[_ystride*2+x]-f); - } -} - -/*Initialize the bounding values array used by the loop filter. - _bv: Storage for the array. - Return: 0 on success, or a non-zero value if no filtering need be applied.*/ -int oc_state_loop_filter_init(oc_theora_state *_state,int _bv[256]){ - int flimit; - int i; - flimit=_state->loop_filter_limits[_state->qis[0]]; - if(flimit==0)return 1; - memset(_bv,0,sizeof(_bv[0])*256); - for(i=0;i=0)_bv[127-i-flimit]=i-flimit; - _bv[127-i]=-i; - _bv[127+i]=i; - if(127+i+flimit<256)_bv[127+i+flimit]=flimit-i; - } - return 0; -} - -/*Apply the loop filter to a given set of fragment rows in the given plane. - The filter may be run on the bottom edge, affecting pixels in the next row of - fragments, so this row also needs to be available. - _bv: The bounding values array. - _refi: The index of the frame buffer to filter. - _pli: The color plane to filter. - _fragy0: The Y coordinate of the first fragment row to filter. - _fragy_end: The Y coordinate of the fragment row to stop filtering at.*/ -void oc_state_loop_filter_frag_rows(const oc_theora_state *_state,int _bv[256], - int _refi,int _pli,int _fragy0,int _fragy_end){ - _state->opt_vtable.state_loop_filter_frag_rows(_state,_bv,_refi,_pli, - _fragy0,_fragy_end); -} - -void oc_state_loop_filter_frag_rows_c(const oc_theora_state *_state,int *_bv, - int _refi,int _pli,int _fragy0,int _fragy_end){ - const oc_fragment_plane *fplane; - const oc_fragment *frags; - const ptrdiff_t *frag_buf_offs; - unsigned char *ref_frame_data; - ptrdiff_t fragi_top; - ptrdiff_t fragi_bot; - ptrdiff_t fragi0; - ptrdiff_t fragi0_end; - int ystride; - int nhfrags; - _bv+=127; - fplane=_state->fplanes+_pli; - nhfrags=fplane->nhfrags; - fragi_top=fplane->froffset; - fragi_bot=fragi_top+fplane->nfrags; - fragi0=fragi_top+_fragy0*(ptrdiff_t)nhfrags; - fragi0_end=fragi0+(_fragy_end-_fragy0)*(ptrdiff_t)nhfrags; - ystride=_state->ref_ystride[_pli]; - frags=_state->frags; - frag_buf_offs=_state->frag_buf_offs; - ref_frame_data=_state->ref_frame_data[_refi]; - /*The following loops are constructed somewhat non-intuitively on purpose. - The main idea is: if a block boundary has at least one coded fragment on - it, the filter is applied to it. - However, the order that the filters are applied in matters, and VP3 chose - the somewhat strange ordering used below.*/ - while(fragi0fragi0)loop_filter_h(ref,ystride,_bv); - if(fragi0>fragi_top)loop_filter_v(ref,ystride,_bv); - if(fragi+1info.frame_width; - height=_state->info.frame_height; - iframe=_state->granpos>>_state->info.keyframe_granule_shift; - pframe=_state->granpos-(iframe<<_state->info.keyframe_granule_shift); - sprintf(fname,"%08i%s.png",(int)(iframe+pframe),_suf); - fp=fopen(fname,"wb"); - if(fp==NULL)return TH_EFAULT; - image=(png_bytep *)oc_malloc_2d(height,6*width,sizeof(**image)); - if(image==NULL){ - fclose(fp); - return TH_EFAULT; - } - png=png_create_write_struct(PNG_LIBPNG_VER_STRING,NULL,NULL,NULL); - if(png==NULL){ - oc_free_2d(image); - fclose(fp); - return TH_EFAULT; - } - info=png_create_info_struct(png); - if(info==NULL){ - png_destroy_write_struct(&png,NULL); - oc_free_2d(image); - fclose(fp); - return TH_EFAULT; - } - if(setjmp(png_jmpbuf(png))){ - png_destroy_write_struct(&png,&info); - oc_free_2d(image); - fclose(fp); - return TH_EFAULT; - } - framei=_state->ref_frame_idx[_frame]; - y_row=_state->ref_frame_bufs[framei][0].data; - u_row=_state->ref_frame_bufs[framei][1].data; - v_row=_state->ref_frame_bufs[framei][2].data; - y_stride=_state->ref_frame_bufs[framei][0].stride; - u_stride=_state->ref_frame_bufs[framei][1].stride; - v_stride=_state->ref_frame_bufs[framei][2].stride; - /*Chroma up-sampling is just done with a box filter. - This is very likely what will actually be used in practice on a real - display, and also removes one more layer to search in for the source of - artifacts. - As an added bonus, it's dead simple.*/ - for(imgi=height;imgi-->0;){ - int dc; - y=y_row; - u=u_row; - v=v_row; - for(imgj=0;imgj<6*width;){ - float yval; - float uval; - float vval; - unsigned rval; - unsigned gval; - unsigned bval; - /*This is intentionally slow and very accurate.*/ - yval=(*y-16)*(1.0F/219); - uval=(*u-128)*(2*(1-0.114F)/224); - vval=(*v-128)*(2*(1-0.299F)/224); - rval=OC_CLAMPI(0,(int)(65535*(yval+vval)+0.5F),65535); - gval=OC_CLAMPI(0,(int)(65535*( - yval-uval*(0.114F/0.587F)-vval*(0.299F/0.587F))+0.5F),65535); - bval=OC_CLAMPI(0,(int)(65535*(yval+uval)+0.5F),65535); - image[imgi][imgj++]=(unsigned char)(rval>>8); - image[imgi][imgj++]=(unsigned char)(rval&0xFF); - image[imgi][imgj++]=(unsigned char)(gval>>8); - image[imgi][imgj++]=(unsigned char)(gval&0xFF); - image[imgi][imgj++]=(unsigned char)(bval>>8); - image[imgi][imgj++]=(unsigned char)(bval&0xFF); - dc=(y-y_row&1)|(_state->info.pixel_fmt&1); - y++; - u+=dc; - v+=dc; - } - dc=-((height-1-imgi&1)|_state->info.pixel_fmt>>1); - y_row+=y_stride; - u_row+=dc&u_stride; - v_row+=dc&v_stride; - } - png_init_io(png,fp); - png_set_compression_level(png,Z_BEST_COMPRESSION); - png_set_IHDR(png,info,width,height,16,PNG_COLOR_TYPE_RGB, - PNG_INTERLACE_NONE,PNG_COMPRESSION_TYPE_DEFAULT,PNG_FILTER_TYPE_DEFAULT); - switch(_state->info.colorspace){ - case TH_CS_ITU_REC_470M:{ - png_set_gAMA(png,info,2.2); - png_set_cHRM_fixed(png,info,31006,31616, - 67000,32000,21000,71000,14000,8000); - }break; - case TH_CS_ITU_REC_470BG:{ - png_set_gAMA(png,info,2.67); - png_set_cHRM_fixed(png,info,31271,32902, - 64000,33000,29000,60000,15000,6000); - }break; - default:break; - } - png_set_pHYs(png,info,_state->info.aspect_numerator, - _state->info.aspect_denominator,0); - png_set_rows(png,info,image); - png_write_png(png,info,PNG_TRANSFORM_IDENTITY,NULL); - png_write_end(png,info); - png_destroy_write_struct(&png,&info); - oc_free_2d(image); - fclose(fp); - return 0; -} -#endif - - - -ogg_int64_t th_granule_frame(void *_encdec,ogg_int64_t _granpos){ - oc_theora_state *state; - state=(oc_theora_state *)_encdec; - if(_granpos>=0){ - ogg_int64_t iframe; - ogg_int64_t pframe; - iframe=_granpos>>state->info.keyframe_granule_shift; - pframe=_granpos-(iframe<info.keyframe_granule_shift); - /*3.2.0 streams store the frame index in the granule position. - 3.2.1 and later store the frame count. - We return the index, so adjust the value if we have a 3.2.1 or later - stream.*/ - return iframe+pframe-TH_VERSION_CHECK(&state->info,3,2,1); - } - return -1; -} - -double th_granule_time(void *_encdec,ogg_int64_t _granpos){ - oc_theora_state *state; - state=(oc_theora_state *)_encdec; - if(_granpos>=0){ - return (th_granule_frame(_encdec, _granpos)+1)*( - (double)state->info.fps_denominator/state->info.fps_numerator); - } - return -1; -} diff --git a/Libraries/libtheora-1.1.1/lib/theora.exp b/Libraries/libtheora-1.1.1/lib/theora.exp deleted file mode 100644 index b4e0225f..00000000 --- a/Libraries/libtheora-1.1.1/lib/theora.exp +++ /dev/null @@ -1,55 +0,0 @@ -# export list for libtheora -_theora_version_string -_theora_version_number -_theora_encode_init -_theora_encode_YUVin -_theora_encode_packetout -_theora_encode_header -_theora_encode_comment -_theora_encode_tables -_theora_decode_header -_theora_decode_init -_theora_decode_packetin -_theora_decode_YUVout -_theora_control -_theora_packet_isheader -_theora_packet_iskeyframe -_theora_granule_shift -_theora_granule_frame -_theora_granule_time -_theora_info_init -_theora_info_clear -_theora_clear -_theora_comment_init -_theora_comment_add -_theora_comment_add_tag -_theora_comment_query -_theora_comment_query_count -_theora_comment_clear -_th_version_string -_th_version_number -_th_decode_headerin -_th_decode_alloc -_th_setup_free -_th_decode_ctl -_th_decode_packetin -_th_decode_ycbcr_out -_th_decode_free -_th_packet_isheader -_th_packet_iskeyframe -_th_granule_frame -_th_granule_time -_th_info_init -_th_info_clear -_th_comment_init -_th_comment_add -_th_comment_add_tag -_th_comment_query -_th_comment_query_count -_th_comment_clear -_th_encode_alloc -_th_encode_ctl -_th_encode_flushheader -_th_encode_packetout -_th_encode_ycbcr_in -_th_encode_free diff --git a/Libraries/libtheora-1.1.1/lib/theoradec.exp b/Libraries/libtheora-1.1.1/lib/theoradec.exp deleted file mode 100644 index 41dec1c3..00000000 --- a/Libraries/libtheora-1.1.1/lib/theoradec.exp +++ /dev/null @@ -1,43 +0,0 @@ -# export list for theoradec -_th_version_string -_th_version_number -_th_decode_headerin -_th_decode_alloc -_th_setup_free -_th_decode_ctl -_th_decode_packetin -_th_decode_ycbcr_out -_th_decode_free -_th_packet_isheader -_th_packet_iskeyframe -_th_granule_frame -_th_granule_time -_th_info_init -_th_info_clear -_th_comment_init -_th_comment_add -_th_comment_add_tag -_th_comment_query -_th_comment_query_count -_th_comment_clear -_theora_version_string -_theora_version_number -_theora_decode_header -_theora_decode_init -_theora_decode_packetin -_theora_decode_YUVout -_theora_control -_theora_packet_isheader -_theora_packet_iskeyframe -_theora_granule_shift -_theora_granule_frame -_theora_granule_time -_theora_info_init -_theora_info_clear -_theora_clear -_theora_comment_init -_theora_comment_add -_theora_comment_add_tag -_theora_comment_query -_theora_comment_query_count -_theora_comment_clear diff --git a/Libraries/libtheora-1.1.1/lib/theoraenc.exp b/Libraries/libtheora-1.1.1/lib/theoraenc.exp deleted file mode 100644 index d278455e..00000000 --- a/Libraries/libtheora-1.1.1/lib/theoraenc.exp +++ /dev/null @@ -1,15 +0,0 @@ -# export list for theoraenc -_th_encode_alloc -_th_encode_ctl -_th_encode_flushheader -_th_encode_ycbcr_in -_th_encode_packetout -_th_encode_free -_TH_VP31_QUANT_INFO -_TH_VP31_HUFF_CODES -_theora_encode_init -_theora_encode_YUVin -_theora_encode_packetout -_theora_encode_header -_theora_encode_comment -_theora_encode_tables diff --git a/Libraries/libtheora-1.1.1/lib/tokenize.c b/Libraries/libtheora-1.1.1/lib/tokenize.c deleted file mode 100644 index 60574c35..00000000 --- a/Libraries/libtheora-1.1.1/lib/tokenize.c +++ /dev/null @@ -1,1072 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: tokenize.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ -#include -#include -#include "encint.h" - - - -static int oc_make_eob_token(int _run_count){ - if(_run_count<4)return OC_DCT_EOB1_TOKEN+_run_count-1; - else{ - int cat; - cat=OC_ILOGNZ_32(_run_count)-3; - cat=OC_MINI(cat,3); - return OC_DCT_REPEAT_RUN0_TOKEN+cat; - } -} - -static int oc_make_eob_token_full(int _run_count,int *_eb){ - if(_run_count<4){ - *_eb=0; - return OC_DCT_EOB1_TOKEN+_run_count-1; - } - else{ - int cat; - cat=OC_ILOGNZ_32(_run_count)-3; - cat=OC_MINI(cat,3); - *_eb=_run_count-OC_BYTE_TABLE32(4,8,16,0,cat); - return OC_DCT_REPEAT_RUN0_TOKEN+cat; - } -} - -/*Returns the number of blocks ended by an EOB token.*/ -static int oc_decode_eob_token(int _token,int _eb){ - return (0x20820C41U>>_token*5&0x1F)+_eb; -} - -/*TODO: This is now only used during DCT tokenization, and never for runs; it - should be simplified.*/ -static int oc_make_dct_token_full(int _zzi,int _zzj,int _val,int *_eb){ - int neg; - int zero_run; - int token; - int eb; - neg=_val<0; - _val=abs(_val); - zero_run=_zzj-_zzi; - if(zero_run>0){ - int adj; - /*Implement a minor restriction on stack 1 so that we know during DC fixups - that extending a dctrun token from stack 1 will never overflow.*/ - adj=_zzi!=1; - if(_val<2&&zero_run<17+adj){ - if(zero_run<6){ - token=OC_DCT_RUN_CAT1A+zero_run-1; - eb=neg; - } - else if(zero_run<10){ - token=OC_DCT_RUN_CAT1B; - eb=zero_run-6+(neg<<2); - } - else{ - token=OC_DCT_RUN_CAT1C; - eb=zero_run-10+(neg<<3); - } - } - else if(_val<4&&zero_run<3+adj){ - if(zero_run<2){ - token=OC_DCT_RUN_CAT2A; - eb=_val-2+(neg<<1); - } - else{ - token=OC_DCT_RUN_CAT2B; - eb=zero_run-2+(_val-2<<1)+(neg<<2); - } - } - else{ - if(zero_run<9)token=OC_DCT_SHORT_ZRL_TOKEN; - else token=OC_DCT_ZRL_TOKEN; - eb=zero_run-1; - } - } - else if(_val<3){ - token=OC_ONE_TOKEN+(_val-1<<1)+neg; - eb=0; - } - else if(_val<7){ - token=OC_DCT_VAL_CAT2+_val-3; - eb=neg; - } - else if(_val<9){ - token=OC_DCT_VAL_CAT3; - eb=_val-7+(neg<<1); - } - else if(_val<13){ - token=OC_DCT_VAL_CAT4; - eb=_val-9+(neg<<2); - } - else if(_val<21){ - token=OC_DCT_VAL_CAT5; - eb=_val-13+(neg<<3); - } - else if(_val<37){ - token=OC_DCT_VAL_CAT6; - eb=_val-21+(neg<<4); - } - else if(_val<69){ - token=OC_DCT_VAL_CAT7; - eb=_val-37+(neg<<5); - } - else{ - token=OC_DCT_VAL_CAT8; - eb=_val-69+(neg<<9); - } - *_eb=eb; - return token; -} - -/*Token logging to allow a few fragments of efficient rollback. - Late SKIP analysis is tied up in the tokenization process, so we need to be - able to undo a fragment's tokens on a whim.*/ - -static const unsigned char OC_ZZI_HUFF_OFFSET[64]={ - 0,16,16,16,16,16,32,32, - 32,32,32,32,32,32,32,48, - 48,48,48,48,48,48,48,48, - 48,48,48,48,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64 -}; - -static int oc_token_bits(oc_enc_ctx *_enc,int _huffi,int _zzi,int _token){ - return _enc->huff_codes[_huffi+OC_ZZI_HUFF_OFFSET[_zzi]][_token].nbits - +OC_DCT_TOKEN_EXTRA_BITS[_token]; -} - -static void oc_enc_tokenlog_checkpoint(oc_enc_ctx *_enc, - oc_token_checkpoint *_cp,int _pli,int _zzi){ - _cp->pli=_pli; - _cp->zzi=_zzi; - _cp->eob_run=_enc->eob_run[_pli][_zzi]; - _cp->ndct_tokens=_enc->ndct_tokens[_pli][_zzi]; -} - -void oc_enc_tokenlog_rollback(oc_enc_ctx *_enc, - const oc_token_checkpoint *_stack,int _n){ - int i; - for(i=_n;i-->0;){ - int pli; - int zzi; - pli=_stack[i].pli; - zzi=_stack[i].zzi; - _enc->eob_run[pli][zzi]=_stack[i].eob_run; - _enc->ndct_tokens[pli][zzi]=_stack[i].ndct_tokens; - } -} - -static void oc_enc_token_log(oc_enc_ctx *_enc, - int _pli,int _zzi,int _token,int _eb){ - ptrdiff_t ti; - ti=_enc->ndct_tokens[_pli][_zzi]++; - _enc->dct_tokens[_pli][_zzi][ti]=(unsigned char)_token; - _enc->extra_bits[_pli][_zzi][ti]=(ogg_uint16_t)_eb; -} - -static void oc_enc_eob_log(oc_enc_ctx *_enc, - int _pli,int _zzi,int _run_count){ - int token; - int eb; - token=oc_make_eob_token_full(_run_count,&eb); - oc_enc_token_log(_enc,_pli,_zzi,token,eb); -} - - -void oc_enc_tokenize_start(oc_enc_ctx *_enc){ - memset(_enc->ndct_tokens,0,sizeof(_enc->ndct_tokens)); - memset(_enc->eob_run,0,sizeof(_enc->eob_run)); - memset(_enc->dct_token_offs,0,sizeof(_enc->dct_token_offs)); - memset(_enc->dc_pred_last,0,sizeof(_enc->dc_pred_last)); -} - -typedef struct oc_quant_token oc_quant_token; - -/*A single node in the Viterbi trellis. - We maintain up to 2 of these per coefficient: - - A token to code if the value is zero (EOB, zero run, or combo token). - - A token to code if the value is not zero (DCT value token).*/ -struct oc_quant_token{ - unsigned char next; - signed char token; - ogg_int16_t eb; - ogg_uint32_t cost; - int bits; - int qc; -}; - -/*Tokenizes the AC coefficients, possibly adjusting the quantization, and then - dequantizes and de-zig-zags the result. - The DC coefficient is not preserved; it should be restored by the caller.*/ -int oc_enc_tokenize_ac(oc_enc_ctx *_enc,int _pli,ptrdiff_t _fragi, - ogg_int16_t *_qdct,const ogg_uint16_t *_dequant,const ogg_int16_t *_dct, - int _zzi,oc_token_checkpoint **_stack,int _acmin){ - oc_token_checkpoint *stack; - ogg_int64_t zflags; - ogg_int64_t nzflags; - ogg_int64_t best_flags; - ogg_uint32_t d2_accum[64]; - oc_quant_token tokens[64][2]; - ogg_uint16_t *eob_run; - const unsigned char *dct_fzig_zag; - ogg_uint32_t cost; - int bits; - int eob; - int token; - int eb; - int next; - int huffi; - int zzi; - int ti; - int zzj; - int qc; - huffi=_enc->huff_idxs[_enc->state.frame_type][1][_pli+1>>1]; - eob_run=_enc->eob_run[_pli]; - memset(tokens[0],0,sizeof(tokens[0])); - best_flags=nzflags=0; - zflags=1; - d2_accum[0]=0; - zzj=64; - for(zzi=OC_MINI(_zzi,63);zzi>0;zzi--){ - ogg_int32_t lambda; - ogg_uint32_t best_cost; - int best_bits=best_bits; - int best_next=best_next; - int best_token=best_token; - int best_eb=best_eb; - int best_qc=best_qc; - int flush_bits; - ogg_uint32_t d2; - int dq; - int e; - int c; - int s; - int tj; - lambda=_enc->lambda; - qc=_qdct[zzi]; - s=-(qc<0); - qc=qc+s^s; - c=_dct[OC_FZIG_ZAG[zzi]]; - if(qc<=1){ - ogg_uint32_t sum_d2; - int nzeros; - int dc_reserve; - /*The hard case: try a zero run.*/ - if(!qc){ - /*Skip runs that are already quantized to zeros. - If we considered each zero coefficient in turn, we might - theoretically find a better way to partition long zero runs (e.g., - a run of > 17 zeros followed by a 1 might be better coded as a short - zero run followed by a combo token, rather than the longer zero - token followed by a 1 value token), but zeros are so common that - this becomes very computationally expensive (quadratic instead of - linear in the number of coefficients), for a marginal gain.*/ - while(zzi>1&&!_qdct[zzi-1])zzi--; - /*The distortion of coefficients originally quantized to zero is - treated as zero (since we'll never quantize them to anything else).*/ - d2=0; - } - else{ - c=c+s^s; - d2=c*(ogg_int32_t)c; - } - eob=eob_run[zzi]; - nzeros=zzj-zzi; - zzj&=63; - sum_d2=d2+d2_accum[zzj]; - d2_accum[zzi]=sum_d2; - flush_bits=eob>0?oc_token_bits(_enc,huffi,zzi,oc_make_eob_token(eob)):0; - /*We reserve 1 spot for combo run tokens that start in the 1st AC stack - to ensure they can be extended to include the DC coefficient if - necessary; this greatly simplifies stack-rewriting later on.*/ - dc_reserve=zzi+62>>6; - best_cost=0xFFFFFFFF; - for(;;){ - if(nzflags>>zzj&1){ - int cat; - int val; - int val_s; - int zzk; - int tk; - next=tokens[zzj][1].next; - tk=next&1; - zzk=next>>1; - /*Try a pure zero run to this point.*/ - cat=nzeros+55>>6; - token=OC_DCT_SHORT_ZRL_TOKEN+cat; - bits=flush_bits+oc_token_bits(_enc,huffi,zzi,token); - d2=sum_d2-d2_accum[zzj]; - cost=d2+lambda*bits+tokens[zzj][1].cost; - if(cost<=best_cost){ - best_next=(zzj<<1)+1; - best_token=token; - best_eb=nzeros-1; - best_cost=cost; - best_bits=bits+tokens[zzj][1].bits; - best_qc=0; - } - if(nzeros<16+dc_reserve){ - val=_qdct[zzj]; - val_s=-(val<0); - val=val+val_s^val_s; - if(val<=2){ - /*Try a +/- 1 combo token.*/ - if(nzeros<6){ - token=OC_DCT_RUN_CAT1A+nzeros-1; - eb=-val_s; - } - else{ - cat=nzeros+54>>6; - token=OC_DCT_RUN_CAT1B+cat; - eb=(-val_s<>1; - token=OC_DCT_RUN_CAT2A+cat; - bits=flush_bits+oc_token_bits(_enc,huffi,zzi,token); - val=2+((val+val_s^val_s)>2); - e=(_dct[OC_FZIG_ZAG[zzj]]+val_s^val_s)-_dequant[zzj]*val; - d2=e*(ogg_int32_t)e+sum_d2-d2_accum[zzj]; - cost=d2+lambda*bits+tokens[zzk][tk].cost; - if(cost<=best_cost){ - best_cost=cost; - best_bits=bits+tokens[zzk][tk].bits; - best_next=next; - best_token=token; - best_eb=(-val_s<<1+cat)+(val-2<>1); - best_qc=val+val_s^val_s; - } - } - } - /*zzj can't be coded as a zero, so stop trying to extend the run.*/ - if(!(zflags>>zzj&1))break; - } - /*We could try to consider _all_ potentially non-zero coefficients, but - if we already found a bunch of them not worth coding, it's fairly - unlikely they would now be worth coding from this position; skipping - them saves a lot of work.*/ - zzj=(tokens[zzj][0].next>>1)-(tokens[zzj][0].qc!=0)&63; - if(zzj==0){ - /*We made it all the way to the end of the block; try an EOB token.*/ - if(eob<4095){ - bits=oc_token_bits(_enc,huffi,zzi,oc_make_eob_token(eob+1)) - -flush_bits; - } - else bits=oc_token_bits(_enc,huffi,zzi,OC_DCT_EOB1_TOKEN); - cost=sum_d2+bits*lambda; - /*If the best route so far is still a pure zero run to the end of the - block, force coding it as an EOB. - Even if it's not optimal for this block, it has a good chance of - getting combined with an EOB token from subsequent blocks, saving - bits overall.*/ - if(cost<=best_cost||best_token<=OC_DCT_ZRL_TOKEN&&zzi+best_eb==63){ - best_next=0; - /*This token is just a marker; in reality we may not emit any - tokens, but update eob_run[] instead.*/ - best_token=OC_DCT_EOB1_TOKEN; - best_eb=0; - best_cost=cost; - best_bits=bits; - best_qc=0; - } - break; - } - nzeros=zzj-zzi; - } - tokens[zzi][0].next=(unsigned char)best_next; - tokens[zzi][0].token=(signed char)best_token; - tokens[zzi][0].eb=(ogg_int16_t)best_eb; - tokens[zzi][0].cost=best_cost; - tokens[zzi][0].bits=best_bits; - tokens[zzi][0].qc=best_qc; - zflags|=(ogg_int64_t)1<>zzj&1; - next=(zzj<<1)+tj; - tokens[zzi][1].next=(unsigned char)next; - tokens[zzi][1].token=(signed char)token; - tokens[zzi][1].eb=0; - tokens[zzi][1].cost=d2+lambda*bits+tokens[zzj][tj].cost; - tokens[zzi][1].bits=bits+tokens[zzj][tj].bits; - tokens[zzi][1].qc=1+s^s; - nzflags|=(ogg_int64_t)1<0?oc_token_bits(_enc,huffi,zzi,oc_make_eob_token(eob)):0; - if(qc<=2){ - e=2*dq-c; - d2=e*(ogg_int32_t)e; - best_token=OC_TWO_TOKEN-s; - best_bits=flush_bits+oc_token_bits(_enc,huffi,zzi,best_token); - best_cost=d2+lambda*best_bits; - e-=dq; - d2=e*(ogg_int32_t)e; - token=OC_ONE_TOKEN-s; - bits=flush_bits+oc_token_bits(_enc,huffi,zzi,token); - cost=d2+lambda*bits; - if(cost<=best_cost){ - best_token=token; - best_bits=bits; - best_cost=cost; - qc--; - } - best_eb=0; - } - else if(qc<=3){ - e=3*dq-c; - d2=e*(ogg_int32_t)e; - best_token=OC_DCT_VAL_CAT2; - best_eb=-s; - best_bits=flush_bits+oc_token_bits(_enc,huffi,zzi,best_token); - best_cost=d2+lambda*best_bits; - e-=dq; - d2=e*(ogg_int32_t)e; - token=OC_TWO_TOKEN-s; - bits=flush_bits+oc_token_bits(_enc,huffi,zzi,token); - cost=d2+lambda*bits; - if(cost<=best_cost){ - best_token=token; - best_eb=0; - best_bits=bits; - best_cost=cost; - qc--; - } - } - else if(qc<=6){ - e=qc*dq-c; - d2=e*(ogg_int32_t)e; - best_token=OC_DCT_VAL_CAT2+qc-3; - best_eb=-s; - best_bits=flush_bits+oc_token_bits(_enc,huffi,zzi,best_token); - best_cost=d2+lambda*best_bits; - e-=dq; - d2=e*(ogg_int32_t)e; - token=best_token-1; - bits=flush_bits+oc_token_bits(_enc,huffi,zzi,token); - cost=d2+lambda*bits; - if(cost<=best_cost){ - best_token=token; - best_bits=bits; - best_cost=cost; - qc--; - } - } - else if(qc<=8){ - e=qc*dq-c; - d2=e*(ogg_int32_t)e; - best_token=OC_DCT_VAL_CAT3; - best_eb=(-s<<1)+qc-7; - best_bits=flush_bits+oc_token_bits(_enc,huffi,zzi,best_token); - best_cost=d2+lambda*best_bits; - e=6*dq-c; - d2=e*(ogg_int32_t)e; - token=OC_DCT_VAL_CAT2+3; - bits=flush_bits+oc_token_bits(_enc,huffi,zzi,token); - cost=d2+lambda*bits; - if(cost<=best_cost){ - best_token=token; - best_eb=-s; - best_bits=bits; - best_cost=cost; - qc=6; - } - } - else if(qc<=12){ - e=qc*dq-c; - d2=e*(ogg_int32_t)e; - best_token=OC_DCT_VAL_CAT4; - best_eb=(-s<<2)+qc-9; - best_bits=flush_bits+oc_token_bits(_enc,huffi,zzi,best_token); - best_cost=d2+lambda*best_bits; - e=8*dq-c; - d2=e*(ogg_int32_t)e; - token=best_token-1; - bits=flush_bits+oc_token_bits(_enc,huffi,zzi,token); - cost=d2+lambda*bits; - if(cost<=best_cost){ - best_token=token; - best_eb=(-s<<1)+1; - best_bits=bits; - best_cost=cost; - qc=8; - } - } - else if(qc<=20){ - e=qc*dq-c; - d2=e*(ogg_int32_t)e; - best_token=OC_DCT_VAL_CAT5; - best_eb=(-s<<3)+qc-13; - best_bits=flush_bits+oc_token_bits(_enc,huffi,zzi,best_token); - best_cost=d2+lambda*best_bits; - e=12*dq-c; - d2=e*(ogg_int32_t)e; - token=best_token-1; - bits=flush_bits+oc_token_bits(_enc,huffi,zzi,token); - cost=d2+lambda*bits; - if(cost<=best_cost){ - best_token=token; - best_eb=(-s<<2)+3; - best_bits=bits; - best_cost=cost; - qc=12; - } - } - else if(qc<=36){ - e=qc*dq-c; - d2=e*(ogg_int32_t)e; - best_token=OC_DCT_VAL_CAT6; - best_eb=(-s<<4)+qc-21; - best_bits=flush_bits+oc_token_bits(_enc,huffi,zzi,best_token); - best_cost=d2+lambda*best_bits; - e=20*dq-c; - d2=e*(ogg_int32_t)e; - token=best_token-1; - bits=flush_bits+oc_token_bits(_enc,huffi,zzi,token); - cost=d2+lambda*bits; - if(cost<=best_cost){ - best_token=token; - best_eb=(-s<<3)+7; - best_bits=bits; - best_cost=cost; - qc=20; - } - } - else if(qc<=68){ - e=qc*dq-c; - d2=e*(ogg_int32_t)e; - best_token=OC_DCT_VAL_CAT7; - best_eb=(-s<<5)+qc-37; - best_bits=flush_bits+oc_token_bits(_enc,huffi,zzi,best_token); - best_cost=d2+lambda*best_bits; - e=36*dq-c; - d2=e*(ogg_int32_t)e; - token=best_token-1; - bits=flush_bits+oc_token_bits(_enc,huffi,zzi,token); - cost=d2+lambda*bits; - if(cost>zzj&1; - next=(zzj<<1)+tj; - tokens[zzi][1].next=(unsigned char)next; - tokens[zzi][1].token=(signed char)best_token; - tokens[zzi][1].eb=best_eb; - tokens[zzi][1].cost=best_cost+tokens[zzj][tj].cost; - tokens[zzi][1].bits=best_bits+tokens[zzj][tj].bits; - tokens[zzi][1].qc=qc+s^s; - nzflags|=(ogg_int64_t)1<state.opt_data.dct_fzig_zag; - zzi=1; - ti=best_flags>>1&1; - bits=tokens[zzi][ti].bits; - do{ - oc_enc_tokenlog_checkpoint(_enc,stack++,_pli,zzi); - eob=eob_run[zzi]; - if(tokens[zzi][ti].token=4095){ - oc_enc_eob_log(_enc,_pli,zzi,eob); - eob=0; - } - eob_run[zzi]=eob; - /*We don't include the actual EOB cost for this block in the return value. - It will be paid for by the fragment that terminates the EOB run.*/ - bits-=tokens[zzi][ti].bits; - zzi=_zzi; - break; - } - /*Emit pending EOB run if any.*/ - if(eob>0){ - oc_enc_eob_log(_enc,_pli,zzi,eob); - eob_run[zzi]=0; - } - oc_enc_token_log(_enc,_pli,zzi,tokens[zzi][ti].token,tokens[zzi][ti].eb); - next=tokens[zzi][ti].next; - qc=tokens[zzi][ti].qc; - zzj=(next>>1)-1&63; - /*TODO: It may be worth saving the dequantized coefficient in the trellis - above; we had to compute it to measure the error anyway.*/ - _qdct[dct_fzig_zag[zzj]]=(ogg_int16_t)(qc*(int)_dequant[zzj]); - zzi=next>>1; - ti=next&1; - } - while(zzi); - *_stack=stack; - return bits; -} - -void oc_enc_pred_dc_frag_rows(oc_enc_ctx *_enc, - int _pli,int _fragy0,int _frag_yend){ - const oc_fragment_plane *fplane; - const oc_fragment *frags; - ogg_int16_t *frag_dc; - ptrdiff_t fragi; - int *pred_last; - int nhfrags; - int fragx; - int fragy; - fplane=_enc->state.fplanes+_pli; - frags=_enc->state.frags; - frag_dc=_enc->frag_dc; - pred_last=_enc->dc_pred_last[_pli]; - nhfrags=fplane->nhfrags; - fragi=fplane->froffset+_fragy0*nhfrags; - for(fragy=_fragy0;fragy<_frag_yend;fragy++){ - if(fragy==0){ - /*For the first row, all of the cases reduce to just using the previous - predictor for the same reference frame.*/ - for(fragx=0;fragx=nhfrags)ur_ref=-1; - else{ - ur_ref=u_frags[fragi+1].coded? - OC_FRAME_FOR_MODE(u_frags[fragi+1].mb_mode):-1; - } - if(frags[fragi].coded){ - int pred; - int ref; - ref=OC_FRAME_FOR_MODE(frags[fragi].mb_mode); - /*We break out a separate case based on which of our neighbors use - the same reference frames. - This is somewhat faster than trying to make a generic case which - handles all of them, since it reduces lots of poorly predicted - jumps to one switch statement, and also lets a number of the - multiplications be optimized out by strength reduction.*/ - switch((l_ref==ref)|(ul_ref==ref)<<1| - (u_ref==ref)<<2|(ur_ref==ref)<<3){ - default:pred=pred_last[ref];break; - case 1: - case 3:pred=frags[fragi-1].dc;break; - case 2:pred=u_frags[fragi-1].dc;break; - case 4: - case 6: - case 12:pred=u_frags[fragi].dc;break; - case 5:pred=(frags[fragi-1].dc+u_frags[fragi].dc)/2;break; - case 8:pred=u_frags[fragi+1].dc;break; - case 9: - case 11: - case 13:{ - pred=(75*frags[fragi-1].dc+53*u_frags[fragi+1].dc)/128; - }break; - case 10:pred=(u_frags[fragi-1].dc+u_frags[fragi+1].dc)/2;break; - case 14:{ - pred=(3*(u_frags[fragi-1].dc+u_frags[fragi+1].dc) - +10*u_frags[fragi].dc)/16; - }break; - case 7: - case 15:{ - int p0; - int p1; - int p2; - p0=frags[fragi-1].dc; - p1=u_frags[fragi-1].dc; - p2=u_frags[fragi].dc; - pred=(29*(p0+p2)-26*p1)/32; - if(abs(pred-p2)>128)pred=p2; - else if(abs(pred-p0)>128)pred=p0; - else if(abs(pred-p1)>128)pred=p1; - }break; - } - frag_dc[fragi]=(ogg_int16_t)(frags[fragi].dc-pred); - pred_last[ref]=frags[fragi].dc; - l_ref=ref; - } - else l_ref=-1; - ul_ref=u_ref; - u_ref=ur_ref; - } - } - } -} - -void oc_enc_tokenize_dc_frag_list(oc_enc_ctx *_enc,int _pli, - const ptrdiff_t *_coded_fragis,ptrdiff_t _ncoded_fragis, - int _prev_ndct_tokens1,int _prev_eob_run1){ - const ogg_int16_t *frag_dc; - ptrdiff_t fragii; - unsigned char *dct_tokens0; - unsigned char *dct_tokens1; - ogg_uint16_t *extra_bits0; - ogg_uint16_t *extra_bits1; - ptrdiff_t ti0; - ptrdiff_t ti1r; - ptrdiff_t ti1w; - int eob_run0; - int eob_run1; - int neobs1; - int token; - int eb; - int token1=token1; - int eb1=eb1; - /*Return immediately if there are no coded fragments; otherwise we'd flush - any trailing EOB run into the AC 1 list and never read it back out.*/ - if(_ncoded_fragis<=0)return; - frag_dc=_enc->frag_dc; - dct_tokens0=_enc->dct_tokens[_pli][0]; - dct_tokens1=_enc->dct_tokens[_pli][1]; - extra_bits0=_enc->extra_bits[_pli][0]; - extra_bits1=_enc->extra_bits[_pli][1]; - ti0=_enc->ndct_tokens[_pli][0]; - ti1w=ti1r=_prev_ndct_tokens1; - eob_run0=_enc->eob_run[_pli][0]; - /*Flush any trailing EOB run for the 1st AC coefficient. - This is needed to allow us to track tokens to the end of the list.*/ - eob_run1=_enc->eob_run[_pli][1]; - if(eob_run1>0)oc_enc_eob_log(_enc,_pli,1,eob_run1); - /*If there was an active EOB run at the start of the 1st AC stack, read it - in and decode it.*/ - if(_prev_eob_run1>0){ - token1=dct_tokens1[ti1r]; - eb1=extra_bits1[ti1r]; - ti1r++; - eob_run1=oc_decode_eob_token(token1,eb1); - /*Consume the portion of the run that came before these fragments.*/ - neobs1=eob_run1-_prev_eob_run1; - } - else eob_run1=neobs1=0; - for(fragii=0;fragii<_ncoded_fragis;fragii++){ - int val; - /*All tokens in the 1st AC coefficient stack are regenerated as the DC - coefficients are produced. - This can be done in-place; stack 1 cannot get larger.*/ - if(!neobs1){ - /*There's no active EOB run in stack 1; read the next token.*/ - token1=dct_tokens1[ti1r]; - eb1=extra_bits1[ti1r]; - ti1r++; - if(token10){ - token=oc_make_eob_token_full(eob_run0,&eb); - dct_tokens0[ti0]=(unsigned char)token; - extra_bits0[ti0]=(ogg_uint16_t)eb; - ti0++; - eob_run0=0; - } - token=oc_make_dct_token_full(0,0,val,&eb); - dct_tokens0[ti0]=(unsigned char)token; - extra_bits0[ti0]=(ogg_uint16_t)eb; - ti0++; - } - else{ - /*Zero DC value; that means the entry in stack 1 might need to be coded - from stack 0. - This requires a stack 1 fixup.*/ - if(neobs1>0){ - /*We're in the middle of an active EOB run in stack 1. - Move it to stack 0.*/ - if(++eob_run0>=4095){ - token=oc_make_eob_token_full(eob_run0,&eb); - dct_tokens0[ti0]=(unsigned char)token; - extra_bits0[ti0]=(ogg_uint16_t)eb; - ti0++; - eob_run0=0; - } - eob_run1--; - } - else{ - /*No active EOB run in stack 1, so we can't extend one in stack 0. - Flush it if we've got it.*/ - if(eob_run0>0){ - token=oc_make_eob_token_full(eob_run0,&eb); - dct_tokens0[ti0]=(unsigned char)token; - extra_bits0[ti0]=(ogg_uint16_t)eb; - ti0++; - eob_run0=0; - } - /*Stack 1 token is one of: a pure zero run token, a single - coefficient token, or a zero run/coefficient combo token. - A zero run token is expanded and moved to token stack 0, and the - stack 1 entry dropped. - A single coefficient value may be transformed into combo token that - is moved to stack 0, or if it cannot be combined, it is left alone - and a single length-1 zero run is emitted in stack 0. - A combo token is extended and moved to stack 0. - During AC coding, we restrict the run lengths on combo tokens for - stack 1 to guarantee we can extend them.*/ - switch(token1){ - case OC_DCT_SHORT_ZRL_TOKEN:{ - if(eb1<7){ - dct_tokens0[ti0]=OC_DCT_SHORT_ZRL_TOKEN; - extra_bits0[ti0]=(ogg_uint16_t)(eb1+1); - ti0++; - /*Don't write the AC coefficient back out.*/ - continue; - } - /*Fall through.*/ - } - case OC_DCT_ZRL_TOKEN:{ - dct_tokens0[ti0]=OC_DCT_ZRL_TOKEN; - extra_bits0[ti0]=(ogg_uint16_t)(eb1+1); - ti0++; - /*Don't write the AC coefficient back out.*/ - }continue; - case OC_ONE_TOKEN: - case OC_MINUS_ONE_TOKEN:{ - dct_tokens0[ti0]=OC_DCT_RUN_CAT1A; - extra_bits0[ti0]=(ogg_uint16_t)(token1-OC_ONE_TOKEN); - ti0++; - /*Don't write the AC coefficient back out.*/ - }continue; - case OC_TWO_TOKEN: - case OC_MINUS_TWO_TOKEN:{ - dct_tokens0[ti0]=OC_DCT_RUN_CAT2A; - extra_bits0[ti0]=(ogg_uint16_t)(token1-OC_TWO_TOKEN<<1); - ti0++; - /*Don't write the AC coefficient back out.*/ - }continue; - case OC_DCT_VAL_CAT2:{ - dct_tokens0[ti0]=OC_DCT_RUN_CAT2A; - extra_bits0[ti0]=(ogg_uint16_t)((eb1<<1)+1); - ti0++; - /*Don't write the AC coefficient back out.*/ - }continue; - case OC_DCT_RUN_CAT1A: - case OC_DCT_RUN_CAT1A+1: - case OC_DCT_RUN_CAT1A+2: - case OC_DCT_RUN_CAT1A+3:{ - dct_tokens0[ti0]=(unsigned char)(token1+1); - extra_bits0[ti0]=(ogg_uint16_t)eb1; - ti0++; - /*Don't write the AC coefficient back out.*/ - }continue; - case OC_DCT_RUN_CAT1A+4:{ - dct_tokens0[ti0]=OC_DCT_RUN_CAT1B; - extra_bits0[ti0]=(ogg_uint16_t)(eb1<<2); - ti0++; - /*Don't write the AC coefficient back out.*/ - }continue; - case OC_DCT_RUN_CAT1B:{ - if((eb1&3)<3){ - dct_tokens0[ti0]=OC_DCT_RUN_CAT1B; - extra_bits0[ti0]=(ogg_uint16_t)(eb1+1); - ti0++; - /*Don't write the AC coefficient back out.*/ - continue; - } - eb1=((eb1&4)<<1)-1; - /*Fall through.*/ - } - case OC_DCT_RUN_CAT1C:{ - dct_tokens0[ti0]=OC_DCT_RUN_CAT1C; - extra_bits0[ti0]=(ogg_uint16_t)(eb1+1); - ti0++; - /*Don't write the AC coefficient back out.*/ - }continue; - case OC_DCT_RUN_CAT2A:{ - eb1=(eb1<<1)-1; - /*Fall through.*/ - } - case OC_DCT_RUN_CAT2B:{ - dct_tokens0[ti0]=OC_DCT_RUN_CAT2B; - extra_bits0[ti0]=(ogg_uint16_t)(eb1+1); - ti0++; - /*Don't write the AC coefficient back out.*/ - }continue; - } - /*We can't merge tokens, write a short zero run and keep going.*/ - dct_tokens0[ti0]=OC_DCT_SHORT_ZRL_TOKEN; - extra_bits0[ti0]=0; - ti0++; - } - } - if(!neobs1){ - /*Flush any (inactive) EOB run.*/ - if(eob_run1>0){ - token=oc_make_eob_token_full(eob_run1,&eb); - dct_tokens1[ti1w]=(unsigned char)token; - extra_bits1[ti1w]=(ogg_uint16_t)eb; - ti1w++; - eob_run1=0; - } - /*There's no active EOB run, so log the current token.*/ - dct_tokens1[ti1w]=(unsigned char)token1; - extra_bits1[ti1w]=(ogg_uint16_t)eb1; - ti1w++; - } - else{ - /*Otherwise consume one EOB from the current run.*/ - neobs1--; - /*If we have more than 4095 EOBs outstanding in stack1, flush the run.*/ - if(eob_run1-neobs1>=4095){ - token=oc_make_eob_token_full(4095,&eb); - dct_tokens1[ti1w]=(unsigned char)token; - extra_bits1[ti1w]=(ogg_uint16_t)eb; - ti1w++; - eob_run1-=4095; - } - } - } - /*Save the current state.*/ - _enc->ndct_tokens[_pli][0]=ti0; - _enc->ndct_tokens[_pli][1]=ti1w; - _enc->eob_run[_pli][0]=eob_run0; - _enc->eob_run[_pli][1]=eob_run1; -} - -/*Final EOB run welding.*/ -void oc_enc_tokenize_finish(oc_enc_ctx *_enc){ - int pli; - int zzi; - /*Emit final EOB runs.*/ - for(pli=0;pli<3;pli++)for(zzi=0;zzi<64;zzi++){ - int eob_run; - eob_run=_enc->eob_run[pli][zzi]; - if(eob_run>0)oc_enc_eob_log(_enc,pli,zzi,eob_run); - } - /*Merge the final EOB run of one token list with the start of the next, if - possible.*/ - for(zzi=0;zzi<64;zzi++)for(pli=0;pli<3;pli++){ - int old_tok1; - int old_tok2; - int old_eb1; - int old_eb2; - int new_tok; - int new_eb; - int zzj; - int plj; - ptrdiff_t ti=ti; - int run_count; - /*Make sure this coefficient has tokens at all.*/ - if(_enc->ndct_tokens[pli][zzi]<=0)continue; - /*Ensure the first token is an EOB run.*/ - old_tok2=_enc->dct_tokens[pli][zzi][0]; - if(old_tok2>=OC_NDCT_EOB_TOKEN_MAX)continue; - /*Search for a previous coefficient that has any tokens at all.*/ - old_tok1=OC_NDCT_EOB_TOKEN_MAX; - for(zzj=zzi,plj=pli;zzj>=0;zzj--){ - while(plj-->0){ - ti=_enc->ndct_tokens[plj][zzj]-1; - if(ti>=_enc->dct_token_offs[plj][zzj]){ - old_tok1=_enc->dct_tokens[plj][zzj][ti]; - break; - } - } - if(plj>=0)break; - plj=3; - } - /*Ensure its last token was an EOB run.*/ - if(old_tok1>=OC_NDCT_EOB_TOKEN_MAX)continue; - /*Pull off the associated extra bits, if any, and decode the runs.*/ - old_eb1=_enc->extra_bits[plj][zzj][ti]; - old_eb2=_enc->extra_bits[pli][zzi][0]; - run_count=oc_decode_eob_token(old_tok1,old_eb1) - +oc_decode_eob_token(old_tok2,old_eb2); - /*We can't possibly combine these into one run. - It might be possible to split them more optimally, but we'll just leave - them as-is.*/ - if(run_count>=4096)continue; - /*We CAN combine them into one run.*/ - new_tok=oc_make_eob_token_full(run_count,&new_eb); - _enc->dct_tokens[plj][zzj][ti]=(unsigned char)new_tok; - _enc->extra_bits[plj][zzj][ti]=(ogg_uint16_t)new_eb; - _enc->dct_token_offs[pli][zzi]++; - } -} diff --git a/Libraries/libtheora-1.1.1/lib/x86/mmxencfrag.c b/Libraries/libtheora-1.1.1/lib/x86/mmxencfrag.c deleted file mode 100644 index c79ff01f..00000000 --- a/Libraries/libtheora-1.1.1/lib/x86/mmxencfrag.c +++ /dev/null @@ -1,900 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: dsp_mmx.c 14579 2008-03-12 06:42:40Z xiphmont $ - - ********************************************************************/ -#include -#include "x86enc.h" - -#if defined(OC_X86_ASM) - -unsigned oc_enc_frag_sad_mmxext(const unsigned char *_src, - const unsigned char *_ref,int _ystride){ - ptrdiff_t ystride3; - ptrdiff_t ret; - __asm__ __volatile__( - /*Load the first 4 rows of each block.*/ - "movq (%[src]),%%mm0\n\t" - "movq (%[ref]),%%mm1\n\t" - "movq (%[src],%[ystride]),%%mm2\n\t" - "movq (%[ref],%[ystride]),%%mm3\n\t" - "lea (%[ystride],%[ystride],2),%[ystride3]\n\t" - "movq (%[src],%[ystride],2),%%mm4\n\t" - "movq (%[ref],%[ystride],2),%%mm5\n\t" - "movq (%[src],%[ystride3]),%%mm6\n\t" - "movq (%[ref],%[ystride3]),%%mm7\n\t" - /*Compute their SADs and add them in %%mm0*/ - "psadbw %%mm1,%%mm0\n\t" - "psadbw %%mm3,%%mm2\n\t" - "lea (%[src],%[ystride],4),%[src]\n\t" - "paddw %%mm2,%%mm0\n\t" - "lea (%[ref],%[ystride],4),%[ref]\n\t" - /*Load the next 3 rows as registers become available.*/ - "movq (%[src]),%%mm2\n\t" - "movq (%[ref]),%%mm3\n\t" - "psadbw %%mm5,%%mm4\n\t" - "psadbw %%mm7,%%mm6\n\t" - "paddw %%mm4,%%mm0\n\t" - "movq (%[ref],%[ystride]),%%mm5\n\t" - "movq (%[src],%[ystride]),%%mm4\n\t" - "paddw %%mm6,%%mm0\n\t" - "movq (%[ref],%[ystride],2),%%mm7\n\t" - "movq (%[src],%[ystride],2),%%mm6\n\t" - /*Start adding their SADs to %%mm0*/ - "psadbw %%mm3,%%mm2\n\t" - "psadbw %%mm5,%%mm4\n\t" - "paddw %%mm2,%%mm0\n\t" - "psadbw %%mm7,%%mm6\n\t" - /*Load last row as registers become available.*/ - "movq (%[src],%[ystride3]),%%mm2\n\t" - "movq (%[ref],%[ystride3]),%%mm3\n\t" - /*And finish adding up their SADs.*/ - "paddw %%mm4,%%mm0\n\t" - "psadbw %%mm3,%%mm2\n\t" - "paddw %%mm6,%%mm0\n\t" - "paddw %%mm2,%%mm0\n\t" - "movd %%mm0,%[ret]\n\t" - :[ret]"=a"(ret),[src]"+%r"(_src),[ref]"+r"(_ref),[ystride3]"=&r"(ystride3) - :[ystride]"r"((ptrdiff_t)_ystride) - ); - return (unsigned)ret; -} - -unsigned oc_enc_frag_sad_thresh_mmxext(const unsigned char *_src, - const unsigned char *_ref,int _ystride,unsigned _thresh){ - /*Early termination is for suckers.*/ - return oc_enc_frag_sad_mmxext(_src,_ref,_ystride); -} - -/*Assumes the first two rows of %[ref1] and %[ref2] are in %%mm0...%%mm3, the - first two rows of %[src] are in %%mm4,%%mm5, and {1}x8 is in %%mm7. - We pre-load the next two rows of data as registers become available.*/ -#define OC_SAD2_LOOP \ - "#OC_SAD2_LOOP\n\t" \ - /*We want to compute (%%mm0+%%mm1>>1) on unsigned bytes without overflow, but \ - pavgb computes (%%mm0+%%mm1+1>>1). \ - The latter is exactly 1 too large when the low bit of two corresponding \ - bytes is only set in one of them. \ - Therefore we pxor the operands, pand to mask out the low bits, and psubb to \ - correct the output of pavgb.*/ \ - "movq %%mm0,%%mm6\n\t" \ - "lea (%[ref1],%[ystride],2),%[ref1]\n\t" \ - "pxor %%mm1,%%mm0\n\t" \ - "pavgb %%mm1,%%mm6\n\t" \ - "lea (%[ref2],%[ystride],2),%[ref2]\n\t" \ - "movq %%mm2,%%mm1\n\t" \ - "pand %%mm7,%%mm0\n\t" \ - "pavgb %%mm3,%%mm2\n\t" \ - "pxor %%mm3,%%mm1\n\t" \ - "movq (%[ref2],%[ystride]),%%mm3\n\t" \ - "psubb %%mm0,%%mm6\n\t" \ - "movq (%[ref1]),%%mm0\n\t" \ - "pand %%mm7,%%mm1\n\t" \ - "psadbw %%mm6,%%mm4\n\t" \ - "movd %[ret],%%mm6\n\t" \ - "psubb %%mm1,%%mm2\n\t" \ - "movq (%[ref2]),%%mm1\n\t" \ - "lea (%[src],%[ystride],2),%[src]\n\t" \ - "psadbw %%mm2,%%mm5\n\t" \ - "movq (%[ref1],%[ystride]),%%mm2\n\t" \ - "paddw %%mm4,%%mm5\n\t" \ - "movq (%[src]),%%mm4\n\t" \ - "paddw %%mm5,%%mm6\n\t" \ - "movq (%[src],%[ystride]),%%mm5\n\t" \ - "movd %%mm6,%[ret]\n\t" \ - -/*Same as above, but does not pre-load the next two rows.*/ -#define OC_SAD2_TAIL \ - "#OC_SAD2_TAIL\n\t" \ - "movq %%mm0,%%mm6\n\t" \ - "pavgb %%mm1,%%mm0\n\t" \ - "pxor %%mm1,%%mm6\n\t" \ - "movq %%mm2,%%mm1\n\t" \ - "pand %%mm7,%%mm6\n\t" \ - "pavgb %%mm3,%%mm2\n\t" \ - "pxor %%mm3,%%mm1\n\t" \ - "psubb %%mm6,%%mm0\n\t" \ - "pand %%mm7,%%mm1\n\t" \ - "psadbw %%mm0,%%mm4\n\t" \ - "psubb %%mm1,%%mm2\n\t" \ - "movd %[ret],%%mm6\n\t" \ - "psadbw %%mm2,%%mm5\n\t" \ - "paddw %%mm4,%%mm5\n\t" \ - "paddw %%mm5,%%mm6\n\t" \ - "movd %%mm6,%[ret]\n\t" \ - -unsigned oc_enc_frag_sad2_thresh_mmxext(const unsigned char *_src, - const unsigned char *_ref1,const unsigned char *_ref2,int _ystride, - unsigned _thresh){ - ptrdiff_t ret; - __asm__ __volatile__( - "movq (%[ref1]),%%mm0\n\t" - "movq (%[ref2]),%%mm1\n\t" - "movq (%[ref1],%[ystride]),%%mm2\n\t" - "movq (%[ref2],%[ystride]),%%mm3\n\t" - "xor %[ret],%[ret]\n\t" - "movq (%[src]),%%mm4\n\t" - "pxor %%mm7,%%mm7\n\t" - "pcmpeqb %%mm6,%%mm6\n\t" - "movq (%[src],%[ystride]),%%mm5\n\t" - "psubb %%mm6,%%mm7\n\t" - OC_SAD2_LOOP - OC_SAD2_LOOP - OC_SAD2_LOOP - OC_SAD2_TAIL - :[ret]"=&a"(ret),[src]"+r"(_src),[ref1]"+%r"(_ref1),[ref2]"+r"(_ref2) - :[ystride]"r"((ptrdiff_t)_ystride) - ); - return (unsigned)ret; -} - -/*Load an 8x4 array of pixel values from %[src] and %[ref] and compute their - 16-bit difference in %%mm0...%%mm7.*/ -#define OC_LOAD_SUB_8x4(_off) \ - "#OC_LOAD_SUB_8x4\n\t" \ - "movd "_off"(%[src]),%%mm0\n\t" \ - "movd "_off"(%[ref]),%%mm4\n\t" \ - "movd "_off"(%[src],%[src_ystride]),%%mm1\n\t" \ - "lea (%[src],%[src_ystride],2),%[src]\n\t" \ - "movd "_off"(%[ref],%[ref_ystride]),%%mm5\n\t" \ - "lea (%[ref],%[ref_ystride],2),%[ref]\n\t" \ - "movd "_off"(%[src]),%%mm2\n\t" \ - "movd "_off"(%[ref]),%%mm7\n\t" \ - "movd "_off"(%[src],%[src_ystride]),%%mm3\n\t" \ - "movd "_off"(%[ref],%[ref_ystride]),%%mm6\n\t" \ - "punpcklbw %%mm4,%%mm0\n\t" \ - "lea (%[src],%[src_ystride],2),%[src]\n\t" \ - "punpcklbw %%mm4,%%mm4\n\t" \ - "lea (%[ref],%[ref_ystride],2),%[ref]\n\t" \ - "psubw %%mm4,%%mm0\n\t" \ - "movd "_off"(%[src]),%%mm4\n\t" \ - "movq %%mm0,"_off"*2(%[buf])\n\t" \ - "movd "_off"(%[ref]),%%mm0\n\t" \ - "punpcklbw %%mm5,%%mm1\n\t" \ - "punpcklbw %%mm5,%%mm5\n\t" \ - "psubw %%mm5,%%mm1\n\t" \ - "movd "_off"(%[src],%[src_ystride]),%%mm5\n\t" \ - "punpcklbw %%mm7,%%mm2\n\t" \ - "punpcklbw %%mm7,%%mm7\n\t" \ - "psubw %%mm7,%%mm2\n\t" \ - "movd "_off"(%[ref],%[ref_ystride]),%%mm7\n\t" \ - "punpcklbw %%mm6,%%mm3\n\t" \ - "lea (%[src],%[src_ystride],2),%[src]\n\t" \ - "punpcklbw %%mm6,%%mm6\n\t" \ - "psubw %%mm6,%%mm3\n\t" \ - "movd "_off"(%[src]),%%mm6\n\t" \ - "punpcklbw %%mm0,%%mm4\n\t" \ - "lea (%[ref],%[ref_ystride],2),%[ref]\n\t" \ - "punpcklbw %%mm0,%%mm0\n\t" \ - "lea (%[src],%[src_ystride],2),%[src]\n\t" \ - "psubw %%mm0,%%mm4\n\t" \ - "movd "_off"(%[ref]),%%mm0\n\t" \ - "punpcklbw %%mm7,%%mm5\n\t" \ - "neg %[src_ystride]\n\t" \ - "punpcklbw %%mm7,%%mm7\n\t" \ - "psubw %%mm7,%%mm5\n\t" \ - "movd "_off"(%[src],%[src_ystride]),%%mm7\n\t" \ - "punpcklbw %%mm0,%%mm6\n\t" \ - "lea (%[ref],%[ref_ystride],2),%[ref]\n\t" \ - "punpcklbw %%mm0,%%mm0\n\t" \ - "neg %[ref_ystride]\n\t" \ - "psubw %%mm0,%%mm6\n\t" \ - "movd "_off"(%[ref],%[ref_ystride]),%%mm0\n\t" \ - "lea (%[src],%[src_ystride],8),%[src]\n\t" \ - "punpcklbw %%mm0,%%mm7\n\t" \ - "neg %[src_ystride]\n\t" \ - "punpcklbw %%mm0,%%mm0\n\t" \ - "lea (%[ref],%[ref_ystride],8),%[ref]\n\t" \ - "psubw %%mm0,%%mm7\n\t" \ - "neg %[ref_ystride]\n\t" \ - "movq "_off"*2(%[buf]),%%mm0\n\t" \ - -/*Load an 8x4 array of pixel values from %[src] into %%mm0...%%mm7.*/ -#define OC_LOAD_8x4(_off) \ - "#OC_LOAD_8x4\n\t" \ - "movd "_off"(%[src]),%%mm0\n\t" \ - "movd "_off"(%[src],%[ystride]),%%mm1\n\t" \ - "movd "_off"(%[src],%[ystride],2),%%mm2\n\t" \ - "pxor %%mm7,%%mm7\n\t" \ - "movd "_off"(%[src],%[ystride3]),%%mm3\n\t" \ - "punpcklbw %%mm7,%%mm0\n\t" \ - "movd "_off"(%[src4]),%%mm4\n\t" \ - "punpcklbw %%mm7,%%mm1\n\t" \ - "movd "_off"(%[src4],%[ystride]),%%mm5\n\t" \ - "punpcklbw %%mm7,%%mm2\n\t" \ - "movd "_off"(%[src4],%[ystride],2),%%mm6\n\t" \ - "punpcklbw %%mm7,%%mm3\n\t" \ - "movd "_off"(%[src4],%[ystride3]),%%mm7\n\t" \ - "punpcklbw %%mm4,%%mm4\n\t" \ - "punpcklbw %%mm5,%%mm5\n\t" \ - "psrlw $8,%%mm4\n\t" \ - "psrlw $8,%%mm5\n\t" \ - "punpcklbw %%mm6,%%mm6\n\t" \ - "punpcklbw %%mm7,%%mm7\n\t" \ - "psrlw $8,%%mm6\n\t" \ - "psrlw $8,%%mm7\n\t" \ - -/*Performs the first two stages of an 8-point 1-D Hadamard transform. - The transform is performed in place, except that outputs 0-3 are swapped with - outputs 4-7. - Outputs 2, 3, 6 and 7 from the second stage are negated (which allows us to - perform this stage in place with no temporary registers).*/ -#define OC_HADAMARD_AB_8x4 \ - "#OC_HADAMARD_AB_8x4\n\t" \ - /*Stage A: \ - Outputs 0-3 are swapped with 4-7 here.*/ \ - "paddw %%mm1,%%mm5\n\t" \ - "paddw %%mm2,%%mm6\n\t" \ - "paddw %%mm1,%%mm1\n\t" \ - "paddw %%mm2,%%mm2\n\t" \ - "psubw %%mm5,%%mm1\n\t" \ - "psubw %%mm6,%%mm2\n\t" \ - "paddw %%mm3,%%mm7\n\t" \ - "paddw %%mm0,%%mm4\n\t" \ - "paddw %%mm3,%%mm3\n\t" \ - "paddw %%mm0,%%mm0\n\t" \ - "psubw %%mm7,%%mm3\n\t" \ - "psubw %%mm4,%%mm0\n\t" \ - /*Stage B:*/ \ - "paddw %%mm2,%%mm0\n\t" \ - "paddw %%mm3,%%mm1\n\t" \ - "paddw %%mm6,%%mm4\n\t" \ - "paddw %%mm7,%%mm5\n\t" \ - "paddw %%mm2,%%mm2\n\t" \ - "paddw %%mm3,%%mm3\n\t" \ - "paddw %%mm6,%%mm6\n\t" \ - "paddw %%mm7,%%mm7\n\t" \ - "psubw %%mm0,%%mm2\n\t" \ - "psubw %%mm1,%%mm3\n\t" \ - "psubw %%mm4,%%mm6\n\t" \ - "psubw %%mm5,%%mm7\n\t" \ - -/*Performs the last stage of an 8-point 1-D Hadamard transform in place. - Ouputs 1, 3, 5, and 7 are negated (which allows us to perform this stage in - place with no temporary registers).*/ -#define OC_HADAMARD_C_8x4 \ - "#OC_HADAMARD_C_8x4\n\t" \ - /*Stage C:*/ \ - "paddw %%mm1,%%mm0\n\t" \ - "paddw %%mm3,%%mm2\n\t" \ - "paddw %%mm5,%%mm4\n\t" \ - "paddw %%mm7,%%mm6\n\t" \ - "paddw %%mm1,%%mm1\n\t" \ - "paddw %%mm3,%%mm3\n\t" \ - "paddw %%mm5,%%mm5\n\t" \ - "paddw %%mm7,%%mm7\n\t" \ - "psubw %%mm0,%%mm1\n\t" \ - "psubw %%mm2,%%mm3\n\t" \ - "psubw %%mm4,%%mm5\n\t" \ - "psubw %%mm6,%%mm7\n\t" \ - -/*Performs an 8-point 1-D Hadamard transform. - The transform is performed in place, except that outputs 0-3 are swapped with - outputs 4-7. - Outputs 1, 2, 5 and 6 are negated (which allows us to perform the transform - in place with no temporary registers).*/ -#define OC_HADAMARD_8x4 \ - OC_HADAMARD_AB_8x4 \ - OC_HADAMARD_C_8x4 \ - -/*Performs the first part of the final stage of the Hadamard transform and - summing of absolute values. - At the end of this part, %%mm1 will contain the DC coefficient of the - transform.*/ -#define OC_HADAMARD_C_ABS_ACCUM_A_8x4(_r6,_r7) \ - /*We use the fact that \ - (abs(a+b)+abs(a-b))/2=max(abs(a),abs(b)) \ - to merge the final butterfly with the abs and the first stage of \ - accumulation. \ - Thus we can avoid using pabsw, which is not available until SSSE3. \ - Emulating pabsw takes 3 instructions, so the straightforward MMXEXT \ - implementation would be (3+3)*8+7=55 instructions (+4 for spilling \ - registers). \ - Even with pabsw, it would be (3+1)*8+7=39 instructions (with no spills). \ - This implementation is only 26 (+4 for spilling registers).*/ \ - "#OC_HADAMARD_C_ABS_ACCUM_A_8x4\n\t" \ - "movq %%mm7,"_r7"(%[buf])\n\t" \ - "movq %%mm6,"_r6"(%[buf])\n\t" \ - /*mm7={0x7FFF}x4 \ - mm0=max(abs(mm0),abs(mm1))-0x7FFF*/ \ - "pcmpeqb %%mm7,%%mm7\n\t" \ - "movq %%mm0,%%mm6\n\t" \ - "psrlw $1,%%mm7\n\t" \ - "paddw %%mm1,%%mm6\n\t" \ - "pmaxsw %%mm1,%%mm0\n\t" \ - "paddsw %%mm7,%%mm6\n\t" \ - "psubw %%mm6,%%mm0\n\t" \ - /*mm2=max(abs(mm2),abs(mm3))-0x7FFF \ - mm4=max(abs(mm4),abs(mm5))-0x7FFF*/ \ - "movq %%mm2,%%mm6\n\t" \ - "movq %%mm4,%%mm1\n\t" \ - "pmaxsw %%mm3,%%mm2\n\t" \ - "pmaxsw %%mm5,%%mm4\n\t" \ - "paddw %%mm3,%%mm6\n\t" \ - "paddw %%mm5,%%mm1\n\t" \ - "movq "_r7"(%[buf]),%%mm3\n\t" \ - -/*Performs the second part of the final stage of the Hadamard transform and - summing of absolute values.*/ -#define OC_HADAMARD_C_ABS_ACCUM_B_8x4(_r6,_r7) \ - "#OC_HADAMARD_C_ABS_ACCUM_B_8x4\n\t" \ - "paddsw %%mm7,%%mm6\n\t" \ - "movq "_r6"(%[buf]),%%mm5\n\t" \ - "paddsw %%mm7,%%mm1\n\t" \ - "psubw %%mm6,%%mm2\n\t" \ - "psubw %%mm1,%%mm4\n\t" \ - /*mm7={1}x4 (needed for the horizontal add that follows) \ - mm0+=mm2+mm4+max(abs(mm3),abs(mm5))-0x7FFF*/ \ - "movq %%mm3,%%mm6\n\t" \ - "pmaxsw %%mm5,%%mm3\n\t" \ - "paddw %%mm2,%%mm0\n\t" \ - "paddw %%mm5,%%mm6\n\t" \ - "paddw %%mm4,%%mm0\n\t" \ - "paddsw %%mm7,%%mm6\n\t" \ - "paddw %%mm3,%%mm0\n\t" \ - "psrlw $14,%%mm7\n\t" \ - "psubw %%mm6,%%mm0\n\t" \ - -/*Performs the last stage of an 8-point 1-D Hadamard transform, takes the - absolute value of each component, and accumulates everything into mm0. - This is the only portion of SATD which requires MMXEXT (we could use plain - MMX, but it takes 4 instructions and an extra register to work around the - lack of a pmaxsw, which is a pretty serious penalty).*/ -#define OC_HADAMARD_C_ABS_ACCUM_8x4(_r6,_r7) \ - OC_HADAMARD_C_ABS_ACCUM_A_8x4(_r6,_r7) \ - OC_HADAMARD_C_ABS_ACCUM_B_8x4(_r6,_r7) \ - -/*Performs an 8-point 1-D Hadamard transform, takes the absolute value of each - component, and accumulates everything into mm0. - Note that mm0 will have an extra 4 added to each column, and that after - removing this value, the remainder will be half the conventional value.*/ -#define OC_HADAMARD_ABS_ACCUM_8x4(_r6,_r7) \ - OC_HADAMARD_AB_8x4 \ - OC_HADAMARD_C_ABS_ACCUM_8x4(_r6,_r7) - -/*Performs two 4x4 transposes (mostly) in place. - On input, {mm0,mm1,mm2,mm3} contains rows {e,f,g,h}, and {mm4,mm5,mm6,mm7} - contains rows {a,b,c,d}. - On output, {0x40,0x50,0x60,0x70}+_off(%[buf]) contains {e,f,g,h}^T, and - {mm4,mm5,mm6,mm7} contains the transposed rows {a,b,c,d}^T.*/ -#define OC_TRANSPOSE_4x4x2(_off) \ - "#OC_TRANSPOSE_4x4x2\n\t" \ - /*First 4x4 transpose:*/ \ - "movq %%mm5,0x10+"_off"(%[buf])\n\t" \ - /*mm0 = e3 e2 e1 e0 \ - mm1 = f3 f2 f1 f0 \ - mm2 = g3 g2 g1 g0 \ - mm3 = h3 h2 h1 h0*/ \ - "movq %%mm2,%%mm5\n\t" \ - "punpcklwd %%mm3,%%mm2\n\t" \ - "punpckhwd %%mm3,%%mm5\n\t" \ - "movq %%mm0,%%mm3\n\t" \ - "punpcklwd %%mm1,%%mm0\n\t" \ - "punpckhwd %%mm1,%%mm3\n\t" \ - /*mm0 = f1 e1 f0 e0 \ - mm3 = f3 e3 f2 e2 \ - mm2 = h1 g1 h0 g0 \ - mm5 = h3 g3 h2 g2*/ \ - "movq %%mm0,%%mm1\n\t" \ - "punpckldq %%mm2,%%mm0\n\t" \ - "punpckhdq %%mm2,%%mm1\n\t" \ - "movq %%mm3,%%mm2\n\t" \ - "punpckhdq %%mm5,%%mm3\n\t" \ - "movq %%mm0,0x40+"_off"(%[buf])\n\t" \ - "punpckldq %%mm5,%%mm2\n\t" \ - /*mm0 = h0 g0 f0 e0 \ - mm1 = h1 g1 f1 e1 \ - mm2 = h2 g2 f2 e2 \ - mm3 = h3 g3 f3 e3*/ \ - "movq 0x10+"_off"(%[buf]),%%mm5\n\t" \ - /*Second 4x4 transpose:*/ \ - /*mm4 = a3 a2 a1 a0 \ - mm5 = b3 b2 b1 b0 \ - mm6 = c3 c2 c1 c0 \ - mm7 = d3 d2 d1 d0*/ \ - "movq %%mm6,%%mm0\n\t" \ - "punpcklwd %%mm7,%%mm6\n\t" \ - "movq %%mm1,0x50+"_off"(%[buf])\n\t" \ - "punpckhwd %%mm7,%%mm0\n\t" \ - "movq %%mm4,%%mm7\n\t" \ - "punpcklwd %%mm5,%%mm4\n\t" \ - "movq %%mm2,0x60+"_off"(%[buf])\n\t" \ - "punpckhwd %%mm5,%%mm7\n\t" \ - /*mm4 = b1 a1 b0 a0 \ - mm7 = b3 a3 b2 a2 \ - mm6 = d1 c1 d0 c0 \ - mm0 = d3 c3 d2 c2*/ \ - "movq %%mm4,%%mm5\n\t" \ - "punpckldq %%mm6,%%mm4\n\t" \ - "movq %%mm3,0x70+"_off"(%[buf])\n\t" \ - "punpckhdq %%mm6,%%mm5\n\t" \ - "movq %%mm7,%%mm6\n\t" \ - "punpckhdq %%mm0,%%mm7\n\t" \ - "punpckldq %%mm0,%%mm6\n\t" \ - /*mm4 = d0 c0 b0 a0 \ - mm5 = d1 c1 b1 a1 \ - mm6 = d2 c2 b2 a2 \ - mm7 = d3 c3 b3 a3*/ \ - -static unsigned oc_int_frag_satd_thresh_mmxext(const unsigned char *_src, - int _src_ystride,const unsigned char *_ref,int _ref_ystride,unsigned _thresh){ - OC_ALIGN8(ogg_int16_t buf[64]); - ogg_int16_t *bufp; - unsigned ret; - unsigned ret2; - bufp=buf; - __asm__ __volatile__( - OC_LOAD_SUB_8x4("0x00") - OC_HADAMARD_8x4 - OC_TRANSPOSE_4x4x2("0x00") - /*Finish swapping out this 8x4 block to make room for the next one. - mm0...mm3 have been swapped out already.*/ - "movq %%mm4,0x00(%[buf])\n\t" - "movq %%mm5,0x10(%[buf])\n\t" - "movq %%mm6,0x20(%[buf])\n\t" - "movq %%mm7,0x30(%[buf])\n\t" - OC_LOAD_SUB_8x4("0x04") - OC_HADAMARD_8x4 - OC_TRANSPOSE_4x4x2("0x08") - /*Here the first 4x4 block of output from the last transpose is the second - 4x4 block of input for the next transform. - We have cleverly arranged that it already be in the appropriate place, so - we only have to do half the loads.*/ - "movq 0x10(%[buf]),%%mm1\n\t" - "movq 0x20(%[buf]),%%mm2\n\t" - "movq 0x30(%[buf]),%%mm3\n\t" - "movq 0x00(%[buf]),%%mm0\n\t" - OC_HADAMARD_ABS_ACCUM_8x4("0x28","0x38") - /*Up to this point, everything fit in 16 bits (8 input + 1 for the - difference + 2*3 for the two 8-point 1-D Hadamards - 1 for the abs - 1 - for the factor of two we dropped + 3 for the vertical accumulation). - Now we finally have to promote things to dwords. - We break this part out of OC_HADAMARD_ABS_ACCUM_8x4 to hide the long - latency of pmaddwd by starting the next series of loads now.*/ - "mov %[thresh],%[ret2]\n\t" - "pmaddwd %%mm7,%%mm0\n\t" - "movq 0x50(%[buf]),%%mm1\n\t" - "movq 0x58(%[buf]),%%mm5\n\t" - "movq %%mm0,%%mm4\n\t" - "movq 0x60(%[buf]),%%mm2\n\t" - "punpckhdq %%mm0,%%mm0\n\t" - "movq 0x68(%[buf]),%%mm6\n\t" - "paddd %%mm0,%%mm4\n\t" - "movq 0x70(%[buf]),%%mm3\n\t" - "movd %%mm4,%[ret]\n\t" - "movq 0x78(%[buf]),%%mm7\n\t" - /*The sums produced by OC_HADAMARD_ABS_ACCUM_8x4 each have an extra 4 - added to them, and a factor of two removed; correct the final sum here.*/ - "lea -32(%[ret],%[ret]),%[ret]\n\t" - "movq 0x40(%[buf]),%%mm0\n\t" - "cmp %[ret2],%[ret]\n\t" - "movq 0x48(%[buf]),%%mm4\n\t" - "jae 1f\n\t" - OC_HADAMARD_ABS_ACCUM_8x4("0x68","0x78") - "pmaddwd %%mm7,%%mm0\n\t" - /*There isn't much to stick in here to hide the latency this time, but the - alternative to pmaddwd is movq->punpcklwd->punpckhwd->paddd, whose - latency is even worse.*/ - "sub $32,%[ret]\n\t" - "movq %%mm0,%%mm4\n\t" - "punpckhdq %%mm0,%%mm0\n\t" - "paddd %%mm0,%%mm4\n\t" - "movd %%mm4,%[ret2]\n\t" - "lea (%[ret],%[ret2],2),%[ret]\n\t" - ".p2align 4,,15\n\t" - "1:\n\t" - /*Although it looks like we're using 7 registers here, gcc can alias %[ret] - and %[ret2] with some of the inputs, since for once we don't write to - them until after we're done using everything but %[buf] (which is also - listed as an output to ensure gcc _doesn't_ alias them against it).*/ - /*Note that _src_ystride and _ref_ystride must be given non-overlapping - constraints, otherewise if gcc can prove they're equal it will allocate - them to the same register (which is bad); _src and _ref face a similar - problem, though those are never actually the same.*/ - :[ret]"=a"(ret),[ret2]"=r"(ret2),[buf]"+r"(bufp) - :[src]"r"(_src),[src_ystride]"c"((ptrdiff_t)_src_ystride), - [ref]"r"(_ref),[ref_ystride]"d"((ptrdiff_t)_ref_ystride), - [thresh]"m"(_thresh) - /*We have to use neg, so we actually clobber the condition codes for once - (not to mention cmp, sub, and add).*/ - :"cc" - ); - return ret; -} - -unsigned oc_enc_frag_satd_thresh_mmxext(const unsigned char *_src, - const unsigned char *_ref,int _ystride,unsigned _thresh){ - return oc_int_frag_satd_thresh_mmxext(_src,_ystride,_ref,_ystride,_thresh); -} - -/*Our internal implementation of frag_copy2 takes an extra stride parameter so - we can share code with oc_enc_frag_satd2_thresh_mmxext().*/ -static void oc_int_frag_copy2_mmxext(unsigned char *_dst,int _dst_ystride, - const unsigned char *_src1,const unsigned char *_src2,int _src_ystride){ - __asm__ __volatile__( - /*Load the first 3 rows.*/ - "movq (%[src1]),%%mm0\n\t" - "movq (%[src2]),%%mm1\n\t" - "movq (%[src1],%[src_ystride]),%%mm2\n\t" - "lea (%[src1],%[src_ystride],2),%[src1]\n\t" - "movq (%[src2],%[src_ystride]),%%mm3\n\t" - "lea (%[src2],%[src_ystride],2),%[src2]\n\t" - "pxor %%mm7,%%mm7\n\t" - "movq (%[src1]),%%mm4\n\t" - "pcmpeqb %%mm6,%%mm6\n\t" - "movq (%[src2]),%%mm5\n\t" - /*mm7={1}x8.*/ - "psubb %%mm6,%%mm7\n\t" - /*Start averaging %%mm0 and %%mm1 into %%mm6.*/ - "movq %%mm0,%%mm6\n\t" - "pxor %%mm1,%%mm0\n\t" - "pavgb %%mm1,%%mm6\n\t" - /*%%mm1 is free, start averaging %%mm3 into %%mm2 using %%mm1.*/ - "movq %%mm2,%%mm1\n\t" - "pand %%mm7,%%mm0\n\t" - "pavgb %%mm3,%%mm2\n\t" - "pxor %%mm3,%%mm1\n\t" - /*%%mm3 is free.*/ - "psubb %%mm0,%%mm6\n\t" - /*%%mm0 is free, start loading the next row.*/ - "movq (%[src1],%[src_ystride]),%%mm0\n\t" - /*Start averaging %%mm5 and %%mm4 using %%mm3.*/ - "movq %%mm4,%%mm3\n\t" - /*%%mm6 (row 0) is done; write it out.*/ - "movq %%mm6,(%[dst])\n\t" - "pand %%mm7,%%mm1\n\t" - "pavgb %%mm5,%%mm4\n\t" - "psubb %%mm1,%%mm2\n\t" - /*%%mm1 is free, continue loading the next row.*/ - "movq (%[src2],%[src_ystride]),%%mm1\n\t" - "pxor %%mm5,%%mm3\n\t" - "lea (%[src1],%[src_ystride],2),%[src1]\n\t" - /*%%mm2 (row 1) is done; write it out.*/ - "movq %%mm2,(%[dst],%[dst_ystride])\n\t" - "pand %%mm7,%%mm3\n\t" - /*Start loading the next row.*/ - "movq (%[src1]),%%mm2\n\t" - "lea (%[dst],%[dst_ystride],2),%[dst]\n\t" - "psubb %%mm3,%%mm4\n\t" - "lea (%[src2],%[src_ystride],2),%[src2]\n\t" - /*%%mm4 (row 2) is done; write it out.*/ - "movq %%mm4,(%[dst])\n\t" - /*Continue loading the next row.*/ - "movq (%[src2]),%%mm3\n\t" - /*Start averaging %%mm0 and %%mm1 into %%mm6.*/ - "movq %%mm0,%%mm6\n\t" - "pxor %%mm1,%%mm0\n\t" - /*Start loading the next row.*/ - "movq (%[src1],%[src_ystride]),%%mm4\n\t" - "pavgb %%mm1,%%mm6\n\t" - /*%%mm1 is free; start averaging %%mm3 into %%mm2 using %%mm1.*/ - "movq %%mm2,%%mm1\n\t" - "pand %%mm7,%%mm0\n\t" - /*Continue loading the next row.*/ - "movq (%[src2],%[src_ystride]),%%mm5\n\t" - "pavgb %%mm3,%%mm2\n\t" - "lea (%[src1],%[src_ystride],2),%[src1]\n\t" - "pxor %%mm3,%%mm1\n\t" - /*%%mm3 is free.*/ - "psubb %%mm0,%%mm6\n\t" - /*%%mm0 is free, start loading the next row.*/ - "movq (%[src1]),%%mm0\n\t" - /*Start averaging %%mm5 into %%mm4 using %%mm3.*/ - "movq %%mm4,%%mm3\n\t" - /*%%mm6 (row 3) is done; write it out.*/ - "movq %%mm6,(%[dst],%[dst_ystride])\n\t" - "pand %%mm7,%%mm1\n\t" - "lea (%[src2],%[src_ystride],2),%[src2]\n\t" - "pavgb %%mm5,%%mm4\n\t" - "lea (%[dst],%[dst_ystride],2),%[dst]\n\t" - "psubb %%mm1,%%mm2\n\t" - /*%%mm1 is free; continue loading the next row.*/ - "movq (%[src2]),%%mm1\n\t" - "pxor %%mm5,%%mm3\n\t" - /*%%mm2 (row 4) is done; write it out.*/ - "movq %%mm2,(%[dst])\n\t" - "pand %%mm7,%%mm3\n\t" - /*Start loading the next row.*/ - "movq (%[src1],%[src_ystride]),%%mm2\n\t" - "psubb %%mm3,%%mm4\n\t" - /*Start averaging %%mm0 and %%mm1 into %%mm6.*/ - "movq %%mm0,%%mm6\n\t" - /*Continue loading the next row.*/ - "movq (%[src2],%[src_ystride]),%%mm3\n\t" - /*%%mm4 (row 5) is done; write it out.*/ - "movq %%mm4,(%[dst],%[dst_ystride])\n\t" - "pxor %%mm1,%%mm0\n\t" - "pavgb %%mm1,%%mm6\n\t" - /*%%mm4 is free; start averaging %%mm3 into %%mm2 using %%mm4.*/ - "movq %%mm2,%%mm4\n\t" - "pand %%mm7,%%mm0\n\t" - "pavgb %%mm3,%%mm2\n\t" - "pxor %%mm3,%%mm4\n\t" - "lea (%[dst],%[dst_ystride],2),%[dst]\n\t" - "psubb %%mm0,%%mm6\n\t" - "pand %%mm7,%%mm4\n\t" - /*%%mm6 (row 6) is done, write it out.*/ - "movq %%mm6,(%[dst])\n\t" - "psubb %%mm4,%%mm2\n\t" - /*%%mm2 (row 7) is done, write it out.*/ - "movq %%mm2,(%[dst],%[dst_ystride])\n\t" - :[dst]"+r"(_dst),[src1]"+%r"(_src1),[src2]"+r"(_src2) - :[dst_ystride]"r"((ptrdiff_t)_dst_ystride), - [src_ystride]"r"((ptrdiff_t)_src_ystride) - :"memory" - ); -} - -unsigned oc_enc_frag_satd2_thresh_mmxext(const unsigned char *_src, - const unsigned char *_ref1,const unsigned char *_ref2,int _ystride, - unsigned _thresh){ - OC_ALIGN8(unsigned char ref[64]); - oc_int_frag_copy2_mmxext(ref,8,_ref1,_ref2,_ystride); - return oc_int_frag_satd_thresh_mmxext(_src,_ystride,ref,8,_thresh); -} - -unsigned oc_enc_frag_intra_satd_mmxext(const unsigned char *_src, - int _ystride){ - OC_ALIGN8(ogg_int16_t buf[64]); - ogg_int16_t *bufp; - unsigned ret; - unsigned ret2; - bufp=buf; - __asm__ __volatile__( - OC_LOAD_8x4("0x00") - OC_HADAMARD_8x4 - OC_TRANSPOSE_4x4x2("0x00") - /*Finish swapping out this 8x4 block to make room for the next one. - mm0...mm3 have been swapped out already.*/ - "movq %%mm4,0x00(%[buf])\n\t" - "movq %%mm5,0x10(%[buf])\n\t" - "movq %%mm6,0x20(%[buf])\n\t" - "movq %%mm7,0x30(%[buf])\n\t" - OC_LOAD_8x4("0x04") - OC_HADAMARD_8x4 - OC_TRANSPOSE_4x4x2("0x08") - /*Here the first 4x4 block of output from the last transpose is the second - 4x4 block of input for the next transform. - We have cleverly arranged that it already be in the appropriate place, so - we only have to do half the loads.*/ - "movq 0x10(%[buf]),%%mm1\n\t" - "movq 0x20(%[buf]),%%mm2\n\t" - "movq 0x30(%[buf]),%%mm3\n\t" - "movq 0x00(%[buf]),%%mm0\n\t" - /*We split out the stages here so we can save the DC coefficient in the - middle.*/ - OC_HADAMARD_AB_8x4 - OC_HADAMARD_C_ABS_ACCUM_A_8x4("0x28","0x38") - "movd %%mm1,%[ret]\n\t" - OC_HADAMARD_C_ABS_ACCUM_B_8x4("0x28","0x38") - /*Up to this point, everything fit in 16 bits (8 input + 1 for the - difference + 2*3 for the two 8-point 1-D Hadamards - 1 for the abs - 1 - for the factor of two we dropped + 3 for the vertical accumulation). - Now we finally have to promote things to dwords. - We break this part out of OC_HADAMARD_ABS_ACCUM_8x4 to hide the long - latency of pmaddwd by starting the next series of loads now.*/ - "pmaddwd %%mm7,%%mm0\n\t" - "movq 0x50(%[buf]),%%mm1\n\t" - "movq 0x58(%[buf]),%%mm5\n\t" - "movq 0x60(%[buf]),%%mm2\n\t" - "movq %%mm0,%%mm4\n\t" - "movq 0x68(%[buf]),%%mm6\n\t" - "punpckhdq %%mm0,%%mm0\n\t" - "movq 0x70(%[buf]),%%mm3\n\t" - "paddd %%mm0,%%mm4\n\t" - "movq 0x78(%[buf]),%%mm7\n\t" - "movd %%mm4,%[ret2]\n\t" - "movq 0x40(%[buf]),%%mm0\n\t" - "movq 0x48(%[buf]),%%mm4\n\t" - OC_HADAMARD_ABS_ACCUM_8x4("0x68","0x78") - "pmaddwd %%mm7,%%mm0\n\t" - /*We assume that the DC coefficient is always positive (which is true, - because the input to the INTRA transform was not a difference).*/ - "movzx %w[ret],%[ret]\n\t" - "add %[ret2],%[ret2]\n\t" - "sub %[ret],%[ret2]\n\t" - "movq %%mm0,%%mm4\n\t" - "punpckhdq %%mm0,%%mm0\n\t" - "paddd %%mm0,%%mm4\n\t" - "movd %%mm4,%[ret]\n\t" - "lea -64(%[ret2],%[ret],2),%[ret]\n\t" - /*Although it looks like we're using 7 registers here, gcc can alias %[ret] - and %[ret2] with some of the inputs, since for once we don't write to - them until after we're done using everything but %[buf] (which is also - listed as an output to ensure gcc _doesn't_ alias them against it).*/ - :[ret]"=a"(ret),[ret2]"=r"(ret2),[buf]"+r"(bufp) - :[src]"r"(_src),[src4]"r"(_src+4*_ystride), - [ystride]"r"((ptrdiff_t)_ystride),[ystride3]"r"((ptrdiff_t)3*_ystride) - /*We have to use sub, so we actually clobber the condition codes for once - (not to mention add).*/ - :"cc" - ); - return ret; -} - -void oc_enc_frag_sub_mmx(ogg_int16_t _residue[64], - const unsigned char *_src,const unsigned char *_ref,int _ystride){ - int i; - __asm__ __volatile__("pxor %%mm7,%%mm7\n\t"::); - for(i=4;i-->0;){ - __asm__ __volatile__( - /*mm0=[src]*/ - "movq (%[src]),%%mm0\n\t" - /*mm1=[ref]*/ - "movq (%[ref]),%%mm1\n\t" - /*mm4=[src+ystride]*/ - "movq (%[src],%[ystride]),%%mm4\n\t" - /*mm5=[ref+ystride]*/ - "movq (%[ref],%[ystride]),%%mm5\n\t" - /*Compute [src]-[ref].*/ - "movq %%mm0,%%mm2\n\t" - "punpcklbw %%mm7,%%mm0\n\t" - "movq %%mm1,%%mm3\n\t" - "punpckhbw %%mm7,%%mm2\n\t" - "punpcklbw %%mm7,%%mm1\n\t" - "punpckhbw %%mm7,%%mm3\n\t" - "psubw %%mm1,%%mm0\n\t" - "psubw %%mm3,%%mm2\n\t" - /*Compute [src+ystride]-[ref+ystride].*/ - "movq %%mm4,%%mm1\n\t" - "punpcklbw %%mm7,%%mm4\n\t" - "movq %%mm5,%%mm3\n\t" - "punpckhbw %%mm7,%%mm1\n\t" - "lea (%[src],%[ystride],2),%[src]\n\t" - "punpcklbw %%mm7,%%mm5\n\t" - "lea (%[ref],%[ystride],2),%[ref]\n\t" - "punpckhbw %%mm7,%%mm3\n\t" - "psubw %%mm5,%%mm4\n\t" - "psubw %%mm3,%%mm1\n\t" - /*Write the answer out.*/ - "movq %%mm0,0x00(%[residue])\n\t" - "movq %%mm2,0x08(%[residue])\n\t" - "movq %%mm4,0x10(%[residue])\n\t" - "movq %%mm1,0x18(%[residue])\n\t" - "lea 0x20(%[residue]),%[residue]\n\t" - :[residue]"+r"(_residue),[src]"+r"(_src),[ref]"+r"(_ref) - :[ystride]"r"((ptrdiff_t)_ystride) - :"memory" - ); - } -} - -void oc_enc_frag_sub_128_mmx(ogg_int16_t _residue[64], - const unsigned char *_src,int _ystride){ - ptrdiff_t ystride3; - __asm__ __volatile__( - /*mm0=[src]*/ - "movq (%[src]),%%mm0\n\t" - /*mm1=[src+ystride]*/ - "movq (%[src],%[ystride]),%%mm1\n\t" - /*mm6={-1}x4*/ - "pcmpeqw %%mm6,%%mm6\n\t" - /*mm2=[src+2*ystride]*/ - "movq (%[src],%[ystride],2),%%mm2\n\t" - /*[ystride3]=3*[ystride]*/ - "lea (%[ystride],%[ystride],2),%[ystride3]\n\t" - /*mm6={1}x4*/ - "psllw $15,%%mm6\n\t" - /*mm3=[src+3*ystride]*/ - "movq (%[src],%[ystride3]),%%mm3\n\t" - /*mm6={128}x4*/ - "psrlw $8,%%mm6\n\t" - /*mm7=0*/ - "pxor %%mm7,%%mm7\n\t" - /*[src]=[src]+4*[ystride]*/ - "lea (%[src],%[ystride],4),%[src]\n\t" - /*Compute [src]-128 and [src+ystride]-128*/ - "movq %%mm0,%%mm4\n\t" - "punpcklbw %%mm7,%%mm0\n\t" - "movq %%mm1,%%mm5\n\t" - "punpckhbw %%mm7,%%mm4\n\t" - "psubw %%mm6,%%mm0\n\t" - "punpcklbw %%mm7,%%mm1\n\t" - "psubw %%mm6,%%mm4\n\t" - "punpckhbw %%mm7,%%mm5\n\t" - "psubw %%mm6,%%mm1\n\t" - "psubw %%mm6,%%mm5\n\t" - /*Write the answer out.*/ - "movq %%mm0,0x00(%[residue])\n\t" - "movq %%mm4,0x08(%[residue])\n\t" - "movq %%mm1,0x10(%[residue])\n\t" - "movq %%mm5,0x18(%[residue])\n\t" - /*mm0=[src+4*ystride]*/ - "movq (%[src]),%%mm0\n\t" - /*mm1=[src+5*ystride]*/ - "movq (%[src],%[ystride]),%%mm1\n\t" - /*Compute [src+2*ystride]-128 and [src+3*ystride]-128*/ - "movq %%mm2,%%mm4\n\t" - "punpcklbw %%mm7,%%mm2\n\t" - "movq %%mm3,%%mm5\n\t" - "punpckhbw %%mm7,%%mm4\n\t" - "psubw %%mm6,%%mm2\n\t" - "punpcklbw %%mm7,%%mm3\n\t" - "psubw %%mm6,%%mm4\n\t" - "punpckhbw %%mm7,%%mm5\n\t" - "psubw %%mm6,%%mm3\n\t" - "psubw %%mm6,%%mm5\n\t" - /*Write the answer out.*/ - "movq %%mm2,0x20(%[residue])\n\t" - "movq %%mm4,0x28(%[residue])\n\t" - "movq %%mm3,0x30(%[residue])\n\t" - "movq %%mm5,0x38(%[residue])\n\t" - /*mm2=[src+6*ystride]*/ - "movq (%[src],%[ystride],2),%%mm2\n\t" - /*mm3=[src+7*ystride]*/ - "movq (%[src],%[ystride3]),%%mm3\n\t" - /*Compute [src+4*ystride]-128 and [src+5*ystride]-128*/ - "movq %%mm0,%%mm4\n\t" - "punpcklbw %%mm7,%%mm0\n\t" - "movq %%mm1,%%mm5\n\t" - "punpckhbw %%mm7,%%mm4\n\t" - "psubw %%mm6,%%mm0\n\t" - "punpcklbw %%mm7,%%mm1\n\t" - "psubw %%mm6,%%mm4\n\t" - "punpckhbw %%mm7,%%mm5\n\t" - "psubw %%mm6,%%mm1\n\t" - "psubw %%mm6,%%mm5\n\t" - /*Write the answer out.*/ - "movq %%mm0,0x40(%[residue])\n\t" - "movq %%mm4,0x48(%[residue])\n\t" - "movq %%mm1,0x50(%[residue])\n\t" - "movq %%mm5,0x58(%[residue])\n\t" - /*Compute [src+6*ystride]-128 and [src+7*ystride]-128*/ - "movq %%mm2,%%mm4\n\t" - "punpcklbw %%mm7,%%mm2\n\t" - "movq %%mm3,%%mm5\n\t" - "punpckhbw %%mm7,%%mm4\n\t" - "psubw %%mm6,%%mm2\n\t" - "punpcklbw %%mm7,%%mm3\n\t" - "psubw %%mm6,%%mm4\n\t" - "punpckhbw %%mm7,%%mm5\n\t" - "psubw %%mm6,%%mm3\n\t" - "psubw %%mm6,%%mm5\n\t" - /*Write the answer out.*/ - "movq %%mm2,0x60(%[residue])\n\t" - "movq %%mm4,0x68(%[residue])\n\t" - "movq %%mm3,0x70(%[residue])\n\t" - "movq %%mm5,0x78(%[residue])\n\t" - :[src]"+r"(_src),[ystride3]"=&r"(ystride3) - :[residue]"r"(_residue),[ystride]"r"((ptrdiff_t)_ystride) - :"memory" - ); -} - -void oc_enc_frag_copy2_mmxext(unsigned char *_dst, - const unsigned char *_src1,const unsigned char *_src2,int _ystride){ - oc_int_frag_copy2_mmxext(_dst,_ystride,_src1,_src2,_ystride); -} - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/x86/mmxfdct.c b/Libraries/libtheora-1.1.1/lib/x86/mmxfdct.c deleted file mode 100644 index 21187525..00000000 --- a/Libraries/libtheora-1.1.1/lib/x86/mmxfdct.c +++ /dev/null @@ -1,665 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 1999-2006 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ********************************************************************/ -/*MMX fDCT implementation for x86_32*/ -/*$Id: fdct_ses2.c 14579 2008-03-12 06:42:40Z xiphmont $*/ -#include "x86enc.h" - -#if defined(OC_X86_ASM) - -# define OC_FDCT_STAGE1_8x4 \ - "#OC_FDCT_STAGE1_8x4\n\t" \ - /*Stage 1:*/ \ - /*mm0=t7'=t0-t7*/ \ - "psubw %%mm7,%%mm0\n\t" \ - "paddw %%mm7,%%mm7\n\t" \ - /*mm1=t6'=t1-t6*/ \ - "psubw %%mm6,%%mm1\n\t" \ - "paddw %%mm6,%%mm6\n\t" \ - /*mm2=t5'=t2-t5*/ \ - "psubw %%mm5,%%mm2\n\t" \ - "paddw %%mm5,%%mm5\n\t" \ - /*mm3=t4'=t3-t4*/ \ - "psubw %%mm4,%%mm3\n\t" \ - "paddw %%mm4,%%mm4\n\t" \ - /*mm7=t0'=t0+t7*/ \ - "paddw %%mm0,%%mm7\n\t" \ - /*mm6=t1'=t1+t6*/ \ - "paddw %%mm1,%%mm6\n\t" \ - /*mm5=t2'=t2+t5*/ \ - "paddw %%mm2,%%mm5\n\t" \ - /*mm4=t3'=t3+t4*/ \ - "paddw %%mm3,%%mm4\n\t" \ - -# define OC_FDCT8x4(_r0,_r1,_r2,_r3,_r4,_r5,_r6,_r7) \ - "#OC_FDCT8x4\n\t" \ - /*Stage 2:*/ \ - /*mm7=t3''=t0'-t3'*/ \ - "psubw %%mm4,%%mm7\n\t" \ - "paddw %%mm4,%%mm4\n\t" \ - /*mm6=t2''=t1'-t2'*/ \ - "psubw %%mm5,%%mm6\n\t" \ - "movq %%mm7,"_r6"(%[y])\n\t" \ - "paddw %%mm5,%%mm5\n\t" \ - /*mm1=t5''=t6'-t5'*/ \ - "psubw %%mm2,%%mm1\n\t" \ - "movq %%mm6,"_r2"(%[y])\n\t" \ - /*mm4=t0''=t0'+t3'*/ \ - "paddw %%mm7,%%mm4\n\t" \ - "paddw %%mm2,%%mm2\n\t" \ - /*mm5=t1''=t1'+t2'*/ \ - "movq %%mm4,"_r0"(%[y])\n\t" \ - "paddw %%mm6,%%mm5\n\t" \ - /*mm2=t6''=t6'+t5'*/ \ - "paddw %%mm1,%%mm2\n\t" \ - "movq %%mm5,"_r4"(%[y])\n\t" \ - /*mm0=t7', mm1=t5'', mm2=t6'', mm3=t4'.*/ \ - /*mm4, mm5, mm6, mm7 are free.*/ \ - /*Stage 3:*/ \ - /*mm6={2}x4, mm7={27146,0xB500>>1}x2*/ \ - "mov $0x5A806A0A,%[a]\n\t" \ - "pcmpeqb %%mm6,%%mm6\n\t" \ - "movd %[a],%%mm7\n\t" \ - "psrlw $15,%%mm6\n\t" \ - "punpckldq %%mm7,%%mm7\n\t" \ - "paddw %%mm6,%%mm6\n\t" \ - /*mm0=0, m2={-1}x4 \ - mm5:mm4=t5''*27146+0xB500*/ \ - "movq %%mm1,%%mm4\n\t" \ - "movq %%mm1,%%mm5\n\t" \ - "punpcklwd %%mm6,%%mm4\n\t" \ - "movq %%mm2,"_r3"(%[y])\n\t" \ - "pmaddwd %%mm7,%%mm4\n\t" \ - "movq %%mm0,"_r7"(%[y])\n\t" \ - "punpckhwd %%mm6,%%mm5\n\t" \ - "pxor %%mm0,%%mm0\n\t" \ - "pmaddwd %%mm7,%%mm5\n\t" \ - "pcmpeqb %%mm2,%%mm2\n\t" \ - /*mm2=t6'', mm1=t5''+(t5''!=0) \ - mm4=(t5''*27146+0xB500>>16)*/ \ - "pcmpeqw %%mm1,%%mm0\n\t" \ - "psrad $16,%%mm4\n\t" \ - "psubw %%mm2,%%mm0\n\t" \ - "movq "_r3"(%[y]),%%mm2\n\t" \ - "psrad $16,%%mm5\n\t" \ - "paddw %%mm0,%%mm1\n\t" \ - "packssdw %%mm5,%%mm4\n\t" \ - /*mm4=s=(t5''*27146+0xB500>>16)+t5''+(t5''!=0)>>1*/ \ - "paddw %%mm1,%%mm4\n\t" \ - "movq "_r7"(%[y]),%%mm0\n\t" \ - "psraw $1,%%mm4\n\t" \ - "movq %%mm3,%%mm1\n\t" \ - /*mm3=t4''=t4'+s*/ \ - "paddw %%mm4,%%mm3\n\t" \ - /*mm1=t5'''=t4'-s*/ \ - "psubw %%mm4,%%mm1\n\t" \ - /*mm1=0, mm3={-1}x4 \ - mm5:mm4=t6''*27146+0xB500*/ \ - "movq %%mm2,%%mm4\n\t" \ - "movq %%mm2,%%mm5\n\t" \ - "punpcklwd %%mm6,%%mm4\n\t" \ - "movq %%mm1,"_r5"(%[y])\n\t" \ - "pmaddwd %%mm7,%%mm4\n\t" \ - "movq %%mm3,"_r1"(%[y])\n\t" \ - "punpckhwd %%mm6,%%mm5\n\t" \ - "pxor %%mm1,%%mm1\n\t" \ - "pmaddwd %%mm7,%%mm5\n\t" \ - "pcmpeqb %%mm3,%%mm3\n\t" \ - /*mm2=t6''+(t6''!=0), mm4=(t6''*27146+0xB500>>16)*/ \ - "psrad $16,%%mm4\n\t" \ - "pcmpeqw %%mm2,%%mm1\n\t" \ - "psrad $16,%%mm5\n\t" \ - "psubw %%mm3,%%mm1\n\t" \ - "packssdw %%mm5,%%mm4\n\t" \ - "paddw %%mm1,%%mm2\n\t" \ - /*mm1=t1'' \ - mm4=s=(t6''*27146+0xB500>>16)+t6''+(t6''!=0)>>1*/ \ - "paddw %%mm2,%%mm4\n\t" \ - "movq "_r4"(%[y]),%%mm1\n\t" \ - "psraw $1,%%mm4\n\t" \ - "movq %%mm0,%%mm2\n\t" \ - /*mm7={54491-0x7FFF,0x7FFF}x2 \ - mm0=t7''=t7'+s*/ \ - "paddw %%mm4,%%mm0\n\t" \ - /*mm2=t6'''=t7'-s*/ \ - "psubw %%mm4,%%mm2\n\t" \ - /*Stage 4:*/ \ - /*mm0=0, mm2=t0'' \ - mm5:mm4=t1''*27146+0xB500*/ \ - "movq %%mm1,%%mm4\n\t" \ - "movq %%mm1,%%mm5\n\t" \ - "punpcklwd %%mm6,%%mm4\n\t" \ - "movq %%mm2,"_r3"(%[y])\n\t" \ - "pmaddwd %%mm7,%%mm4\n\t" \ - "movq "_r0"(%[y]),%%mm2\n\t" \ - "punpckhwd %%mm6,%%mm5\n\t" \ - "movq %%mm0,"_r7"(%[y])\n\t" \ - "pmaddwd %%mm7,%%mm5\n\t" \ - "pxor %%mm0,%%mm0\n\t" \ - /*mm7={27146,0x4000>>1}x2 \ - mm0=s=(t1''*27146+0xB500>>16)+t1''+(t1''!=0)*/ \ - "psrad $16,%%mm4\n\t" \ - "mov $0x20006A0A,%[a]\n\t" \ - "pcmpeqw %%mm1,%%mm0\n\t" \ - "movd %[a],%%mm7\n\t" \ - "psrad $16,%%mm5\n\t" \ - "psubw %%mm3,%%mm0\n\t" \ - "packssdw %%mm5,%%mm4\n\t" \ - "paddw %%mm1,%%mm0\n\t" \ - "punpckldq %%mm7,%%mm7\n\t" \ - "paddw %%mm4,%%mm0\n\t" \ - /*mm6={0x00000E3D}x2 \ - mm1=-(t0''==0), mm5:mm4=t0''*27146+0x4000*/ \ - "movq %%mm2,%%mm4\n\t" \ - "movq %%mm2,%%mm5\n\t" \ - "punpcklwd %%mm6,%%mm4\n\t" \ - "mov $0x0E3D,%[a]\n\t" \ - "pmaddwd %%mm7,%%mm4\n\t" \ - "punpckhwd %%mm6,%%mm5\n\t" \ - "movd %[a],%%mm6\n\t" \ - "pmaddwd %%mm7,%%mm5\n\t" \ - "pxor %%mm1,%%mm1\n\t" \ - "punpckldq %%mm6,%%mm6\n\t" \ - "pcmpeqw %%mm2,%%mm1\n\t" \ - /*mm4=r=(t0''*27146+0x4000>>16)+t0''+(t0''!=0)*/ \ - "psrad $16,%%mm4\n\t" \ - "psubw %%mm3,%%mm1\n\t" \ - "psrad $16,%%mm5\n\t" \ - "paddw %%mm1,%%mm2\n\t" \ - "packssdw %%mm5,%%mm4\n\t" \ - "movq "_r5"(%[y]),%%mm1\n\t" \ - "paddw %%mm2,%%mm4\n\t" \ - /*mm2=t6'', mm0=_y[0]=u=r+s>>1 \ - The naive implementation could cause overflow, so we use \ - u=(r&s)+((r^s)>>1).*/ \ - "movq "_r3"(%[y]),%%mm2\n\t" \ - "movq %%mm0,%%mm7\n\t" \ - "pxor %%mm4,%%mm0\n\t" \ - "pand %%mm4,%%mm7\n\t" \ - "psraw $1,%%mm0\n\t" \ - "mov $0x7FFF54DC,%[a]\n\t" \ - "paddw %%mm7,%%mm0\n\t" \ - "movd %[a],%%mm7\n\t" \ - /*mm7={54491-0x7FFF,0x7FFF}x2 \ - mm4=_y[4]=v=r-u*/ \ - "psubw %%mm0,%%mm4\n\t" \ - "punpckldq %%mm7,%%mm7\n\t" \ - "movq %%mm4,"_r4"(%[y])\n\t" \ - /*mm0=0, mm7={36410}x4 \ - mm1=(t5'''!=0), mm5:mm4=54491*t5'''+0x0E3D*/ \ - "movq %%mm1,%%mm4\n\t" \ - "movq %%mm1,%%mm5\n\t" \ - "punpcklwd %%mm1,%%mm4\n\t" \ - "mov $0x8E3A8E3A,%[a]\n\t" \ - "pmaddwd %%mm7,%%mm4\n\t" \ - "movq %%mm0,"_r0"(%[y])\n\t" \ - "punpckhwd %%mm1,%%mm5\n\t" \ - "pxor %%mm0,%%mm0\n\t" \ - "pmaddwd %%mm7,%%mm5\n\t" \ - "pcmpeqw %%mm0,%%mm1\n\t" \ - "movd %[a],%%mm7\n\t" \ - "psubw %%mm3,%%mm1\n\t" \ - "punpckldq %%mm7,%%mm7\n\t" \ - "paddd %%mm6,%%mm4\n\t" \ - "paddd %%mm6,%%mm5\n\t" \ - /*mm0=0 \ - mm3:mm1=36410*t6'''+((t5'''!=0)<<16)*/ \ - "movq %%mm2,%%mm6\n\t" \ - "movq %%mm2,%%mm3\n\t" \ - "pmulhw %%mm7,%%mm6\n\t" \ - "paddw %%mm2,%%mm1\n\t" \ - "pmullw %%mm7,%%mm3\n\t" \ - "pxor %%mm0,%%mm0\n\t" \ - "paddw %%mm1,%%mm6\n\t" \ - "movq %%mm3,%%mm1\n\t" \ - "punpckhwd %%mm6,%%mm3\n\t" \ - "punpcklwd %%mm6,%%mm1\n\t" \ - /*mm3={-1}x4, mm6={1}x4 \ - mm4=_y[5]=u=(54491*t5'''+36410*t6'''+0x0E3D>>16)+(t5'''!=0)*/ \ - "paddd %%mm3,%%mm5\n\t" \ - "paddd %%mm1,%%mm4\n\t" \ - "psrad $16,%%mm5\n\t" \ - "pxor %%mm6,%%mm6\n\t" \ - "psrad $16,%%mm4\n\t" \ - "pcmpeqb %%mm3,%%mm3\n\t" \ - "packssdw %%mm5,%%mm4\n\t" \ - "psubw %%mm3,%%mm6\n\t" \ - /*mm1=t7'', mm7={26568,0x3400}x2 \ - mm2=s=t6'''-(36410*u>>16)*/ \ - "movq %%mm4,%%mm1\n\t" \ - "mov $0x340067C8,%[a]\n\t" \ - "pmulhw %%mm7,%%mm4\n\t" \ - "movd %[a],%%mm7\n\t" \ - "movq %%mm1,"_r5"(%[y])\n\t" \ - "punpckldq %%mm7,%%mm7\n\t" \ - "paddw %%mm1,%%mm4\n\t" \ - "movq "_r7"(%[y]),%%mm1\n\t" \ - "psubw %%mm4,%%mm2\n\t" \ - /*mm6={0x00007B1B}x2 \ - mm0=(s!=0), mm5:mm4=s*26568+0x3400*/ \ - "movq %%mm2,%%mm4\n\t" \ - "movq %%mm2,%%mm5\n\t" \ - "punpcklwd %%mm6,%%mm4\n\t" \ - "pcmpeqw %%mm2,%%mm0\n\t" \ - "pmaddwd %%mm7,%%mm4\n\t" \ - "mov $0x7B1B,%[a]\n\t" \ - "punpckhwd %%mm6,%%mm5\n\t" \ - "movd %[a],%%mm6\n\t" \ - "pmaddwd %%mm7,%%mm5\n\t" \ - "psubw %%mm3,%%mm0\n\t" \ - "punpckldq %%mm6,%%mm6\n\t" \ - /*mm7={64277-0x7FFF,0x7FFF}x2 \ - mm2=_y[3]=v=(s*26568+0x3400>>17)+s+(s!=0)*/ \ - "psrad $17,%%mm4\n\t" \ - "paddw %%mm0,%%mm2\n\t" \ - "psrad $17,%%mm5\n\t" \ - "mov $0x7FFF7B16,%[a]\n\t" \ - "packssdw %%mm5,%%mm4\n\t" \ - "movd %[a],%%mm7\n\t" \ - "paddw %%mm4,%%mm2\n\t" \ - "punpckldq %%mm7,%%mm7\n\t" \ - /*mm0=0, mm7={12785}x4 \ - mm1=(t7''!=0), mm2=t4'', mm5:mm4=64277*t7''+0x7B1B*/ \ - "movq %%mm1,%%mm4\n\t" \ - "movq %%mm1,%%mm5\n\t" \ - "movq %%mm2,"_r3"(%[y])\n\t" \ - "punpcklwd %%mm1,%%mm4\n\t" \ - "movq "_r1"(%[y]),%%mm2\n\t" \ - "pmaddwd %%mm7,%%mm4\n\t" \ - "mov $0x31F131F1,%[a]\n\t" \ - "punpckhwd %%mm1,%%mm5\n\t" \ - "pxor %%mm0,%%mm0\n\t" \ - "pmaddwd %%mm7,%%mm5\n\t" \ - "pcmpeqw %%mm0,%%mm1\n\t" \ - "movd %[a],%%mm7\n\t" \ - "psubw %%mm3,%%mm1\n\t" \ - "punpckldq %%mm7,%%mm7\n\t" \ - "paddd %%mm6,%%mm4\n\t" \ - "paddd %%mm6,%%mm5\n\t" \ - /*mm3:mm1=12785*t4'''+((t7''!=0)<<16)*/ \ - "movq %%mm2,%%mm6\n\t" \ - "movq %%mm2,%%mm3\n\t" \ - "pmulhw %%mm7,%%mm6\n\t" \ - "pmullw %%mm7,%%mm3\n\t" \ - "paddw %%mm1,%%mm6\n\t" \ - "movq %%mm3,%%mm1\n\t" \ - "punpckhwd %%mm6,%%mm3\n\t" \ - "punpcklwd %%mm6,%%mm1\n\t" \ - /*mm3={-1}x4, mm6={1}x4 \ - mm4=_y[1]=u=(12785*t4'''+64277*t7''+0x7B1B>>16)+(t7''!=0)*/ \ - "paddd %%mm3,%%mm5\n\t" \ - "paddd %%mm1,%%mm4\n\t" \ - "psrad $16,%%mm5\n\t" \ - "pxor %%mm6,%%mm6\n\t" \ - "psrad $16,%%mm4\n\t" \ - "pcmpeqb %%mm3,%%mm3\n\t" \ - "packssdw %%mm5,%%mm4\n\t" \ - "psubw %%mm3,%%mm6\n\t" \ - /*mm1=t3'', mm7={20539,0x3000}x2 \ - mm4=s=(12785*u>>16)-t4''*/ \ - "movq %%mm4,"_r1"(%[y])\n\t" \ - "pmulhw %%mm7,%%mm4\n\t" \ - "mov $0x3000503B,%[a]\n\t" \ - "movq "_r6"(%[y]),%%mm1\n\t" \ - "movd %[a],%%mm7\n\t" \ - "psubw %%mm2,%%mm4\n\t" \ - "punpckldq %%mm7,%%mm7\n\t" \ - /*mm6={0x00006CB7}x2 \ - mm0=(s!=0), mm5:mm4=s*20539+0x3000*/ \ - "movq %%mm4,%%mm5\n\t" \ - "movq %%mm4,%%mm2\n\t" \ - "punpcklwd %%mm6,%%mm4\n\t" \ - "pcmpeqw %%mm2,%%mm0\n\t" \ - "pmaddwd %%mm7,%%mm4\n\t" \ - "mov $0x6CB7,%[a]\n\t" \ - "punpckhwd %%mm6,%%mm5\n\t" \ - "movd %[a],%%mm6\n\t" \ - "pmaddwd %%mm7,%%mm5\n\t" \ - "psubw %%mm3,%%mm0\n\t" \ - "punpckldq %%mm6,%%mm6\n\t" \ - /*mm7={60547-0x7FFF,0x7FFF}x2 \ - mm2=_y[7]=v=(s*20539+0x3000>>20)+s+(s!=0)*/ \ - "psrad $20,%%mm4\n\t" \ - "paddw %%mm0,%%mm2\n\t" \ - "psrad $20,%%mm5\n\t" \ - "mov $0x7FFF6C84,%[a]\n\t" \ - "packssdw %%mm5,%%mm4\n\t" \ - "movd %[a],%%mm7\n\t" \ - "paddw %%mm4,%%mm2\n\t" \ - "punpckldq %%mm7,%%mm7\n\t" \ - /*mm0=0, mm7={25080}x4 \ - mm2=t2'', mm5:mm4=60547*t3''+0x6CB7*/ \ - "movq %%mm1,%%mm4\n\t" \ - "movq %%mm1,%%mm5\n\t" \ - "movq %%mm2,"_r7"(%[y])\n\t" \ - "punpcklwd %%mm1,%%mm4\n\t" \ - "movq "_r2"(%[y]),%%mm2\n\t" \ - "pmaddwd %%mm7,%%mm4\n\t" \ - "mov $0x61F861F8,%[a]\n\t" \ - "punpckhwd %%mm1,%%mm5\n\t" \ - "pxor %%mm0,%%mm0\n\t" \ - "pmaddwd %%mm7,%%mm5\n\t" \ - "movd %[a],%%mm7\n\t" \ - "pcmpeqw %%mm0,%%mm1\n\t" \ - "psubw %%mm3,%%mm1\n\t" \ - "punpckldq %%mm7,%%mm7\n\t" \ - "paddd %%mm6,%%mm4\n\t" \ - "paddd %%mm6,%%mm5\n\t" \ - /*mm3:mm1=25080*t2''+((t3''!=0)<<16)*/ \ - "movq %%mm2,%%mm6\n\t" \ - "movq %%mm2,%%mm3\n\t" \ - "pmulhw %%mm7,%%mm6\n\t" \ - "pmullw %%mm7,%%mm3\n\t" \ - "paddw %%mm1,%%mm6\n\t" \ - "movq %%mm3,%%mm1\n\t" \ - "punpckhwd %%mm6,%%mm3\n\t" \ - "punpcklwd %%mm6,%%mm1\n\t" \ - /*mm1={-1}x4 \ - mm4=u=(25080*t2''+60547*t3''+0x6CB7>>16)+(t3''!=0)*/ \ - "paddd %%mm3,%%mm5\n\t" \ - "paddd %%mm1,%%mm4\n\t" \ - "psrad $16,%%mm5\n\t" \ - "mov $0x28005460,%[a]\n\t" \ - "psrad $16,%%mm4\n\t" \ - "pcmpeqb %%mm1,%%mm1\n\t" \ - "packssdw %%mm5,%%mm4\n\t" \ - /*mm5={1}x4, mm6=_y[2]=u, mm7={21600,0x2800}x2 \ - mm4=s=(25080*u>>16)-t2''*/ \ - "movq %%mm4,%%mm6\n\t" \ - "pmulhw %%mm7,%%mm4\n\t" \ - "pxor %%mm5,%%mm5\n\t" \ - "movd %[a],%%mm7\n\t" \ - "psubw %%mm1,%%mm5\n\t" \ - "punpckldq %%mm7,%%mm7\n\t" \ - "psubw %%mm2,%%mm4\n\t" \ - /*mm2=s+(s!=0) \ - mm4:mm3=s*21600+0x2800*/ \ - "movq %%mm4,%%mm3\n\t" \ - "movq %%mm4,%%mm2\n\t" \ - "punpckhwd %%mm5,%%mm4\n\t" \ - "pcmpeqw %%mm2,%%mm0\n\t" \ - "pmaddwd %%mm7,%%mm4\n\t" \ - "psubw %%mm1,%%mm0\n\t" \ - "punpcklwd %%mm5,%%mm3\n\t" \ - "paddw %%mm0,%%mm2\n\t" \ - "pmaddwd %%mm7,%%mm3\n\t" \ - /*mm0=_y[4], mm1=_y[7], mm4=_y[0], mm5=_y[5] \ - mm3=_y[6]=v=(s*21600+0x2800>>18)+s+(s!=0)*/ \ - "movq "_r4"(%[y]),%%mm0\n\t" \ - "psrad $18,%%mm4\n\t" \ - "movq "_r5"(%[y]),%%mm5\n\t" \ - "psrad $18,%%mm3\n\t" \ - "movq "_r7"(%[y]),%%mm1\n\t" \ - "packssdw %%mm4,%%mm3\n\t" \ - "movq "_r0"(%[y]),%%mm4\n\t" \ - "paddw %%mm2,%%mm3\n\t" \ - -/*On input, mm4=_y[0], mm6=_y[2], mm0=_y[4], mm5=_y[5], mm3=_y[6], mm1=_y[7]. - On output, {_y[4],mm1,mm2,mm3} contains the transpose of _y[4...7] and - {mm4,mm5,mm6,mm7} contains the transpose of _y[0...3].*/ -# define OC_TRANSPOSE8x4(_r0,_r1,_r2,_r3,_r4,_r5,_r6,_r7) \ - "#OC_TRANSPOSE8x4\n\t" \ - /*First 4x4 transpose:*/ \ - /*mm0 = e3 e2 e1 e0 \ - mm5 = f3 f2 f1 f0 \ - mm3 = g3 g2 g1 g0 \ - mm1 = h3 h2 h1 h0*/ \ - "movq %%mm0,%%mm2\n\t" \ - "punpcklwd %%mm5,%%mm0\n\t" \ - "punpckhwd %%mm5,%%mm2\n\t" \ - "movq %%mm3,%%mm5\n\t" \ - "punpcklwd %%mm1,%%mm3\n\t" \ - "punpckhwd %%mm1,%%mm5\n\t" \ - /*mm0 = f1 e1 f0 e0 \ - mm2 = f3 e3 f2 e2 \ - mm3 = h1 g1 h0 g0 \ - mm5 = h3 g3 h2 g2*/ \ - "movq %%mm0,%%mm1\n\t" \ - "punpckldq %%mm3,%%mm0\n\t" \ - "movq %%mm0,"_r4"(%[y])\n\t" \ - "punpckhdq %%mm3,%%mm1\n\t" \ - "movq "_r1"(%[y]),%%mm0\n\t" \ - "movq %%mm2,%%mm3\n\t" \ - "punpckldq %%mm5,%%mm2\n\t" \ - "punpckhdq %%mm5,%%mm3\n\t" \ - "movq "_r3"(%[y]),%%mm5\n\t" \ - /*_y[4] = h0 g0 f0 e0 \ - mm1 = h1 g1 f1 e1 \ - mm2 = h2 g2 f2 e2 \ - mm3 = h3 g3 f3 e3*/ \ - /*Second 4x4 transpose:*/ \ - /*mm4 = a3 a2 a1 a0 \ - mm0 = b3 b2 b1 b0 \ - mm6 = c3 c2 c1 c0 \ - mm5 = d3 d2 d1 d0*/ \ - "movq %%mm4,%%mm7\n\t" \ - "punpcklwd %%mm0,%%mm4\n\t" \ - "punpckhwd %%mm0,%%mm7\n\t" \ - "movq %%mm6,%%mm0\n\t" \ - "punpcklwd %%mm5,%%mm6\n\t" \ - "punpckhwd %%mm5,%%mm0\n\t" \ - /*mm4 = b1 a1 b0 a0 \ - mm7 = b3 a3 b2 a2 \ - mm6 = d1 c1 d0 c0 \ - mm0 = d3 c3 d2 c2*/ \ - "movq %%mm4,%%mm5\n\t" \ - "punpckldq %%mm6,%%mm4\n\t" \ - "punpckhdq %%mm6,%%mm5\n\t" \ - "movq %%mm7,%%mm6\n\t" \ - "punpckhdq %%mm0,%%mm7\n\t" \ - "punpckldq %%mm0,%%mm6\n\t" \ - /*mm4 = d0 c0 b0 a0 \ - mm5 = d1 c1 b1 a1 \ - mm6 = d2 c2 b2 a2 \ - mm7 = d3 c3 b3 a3*/ \ - -/*MMX implementation of the fDCT.*/ -void oc_enc_fdct8x8_mmx(ogg_int16_t _y[64],const ogg_int16_t _x[64]){ - ptrdiff_t a; - __asm__ __volatile__( - /*Add two extra bits of working precision to improve accuracy; any more and - we could overflow.*/ - /*We also add biases to correct for some systematic error that remains in - the full fDCT->iDCT round trip.*/ - "movq 0x00(%[x]),%%mm0\n\t" - "movq 0x10(%[x]),%%mm1\n\t" - "movq 0x20(%[x]),%%mm2\n\t" - "movq 0x30(%[x]),%%mm3\n\t" - "pcmpeqb %%mm4,%%mm4\n\t" - "pxor %%mm7,%%mm7\n\t" - "movq %%mm0,%%mm5\n\t" - "psllw $2,%%mm0\n\t" - "pcmpeqw %%mm7,%%mm5\n\t" - "movq 0x70(%[x]),%%mm7\n\t" - "psllw $2,%%mm1\n\t" - "psubw %%mm4,%%mm5\n\t" - "psllw $2,%%mm2\n\t" - "mov $1,%[a]\n\t" - "pslld $16,%%mm5\n\t" - "movd %[a],%%mm6\n\t" - "psllq $16,%%mm5\n\t" - "mov $0x10001,%[a]\n\t" - "psllw $2,%%mm3\n\t" - "movd %[a],%%mm4\n\t" - "punpckhwd %%mm6,%%mm5\n\t" - "psubw %%mm6,%%mm1\n\t" - "movq 0x60(%[x]),%%mm6\n\t" - "paddw %%mm5,%%mm0\n\t" - "movq 0x50(%[x]),%%mm5\n\t" - "paddw %%mm4,%%mm0\n\t" - "movq 0x40(%[x]),%%mm4\n\t" - /*We inline stage1 of the transform here so we can get better instruction - scheduling with the shifts.*/ - /*mm0=t7'=t0-t7*/ - "psllw $2,%%mm7\n\t" - "psubw %%mm7,%%mm0\n\t" - "psllw $2,%%mm6\n\t" - "paddw %%mm7,%%mm7\n\t" - /*mm1=t6'=t1-t6*/ - "psllw $2,%%mm5\n\t" - "psubw %%mm6,%%mm1\n\t" - "psllw $2,%%mm4\n\t" - "paddw %%mm6,%%mm6\n\t" - /*mm2=t5'=t2-t5*/ - "psubw %%mm5,%%mm2\n\t" - "paddw %%mm5,%%mm5\n\t" - /*mm3=t4'=t3-t4*/ - "psubw %%mm4,%%mm3\n\t" - "paddw %%mm4,%%mm4\n\t" - /*mm7=t0'=t0+t7*/ - "paddw %%mm0,%%mm7\n\t" - /*mm6=t1'=t1+t6*/ - "paddw %%mm1,%%mm6\n\t" - /*mm5=t2'=t2+t5*/ - "paddw %%mm2,%%mm5\n\t" - /*mm4=t3'=t3+t4*/ - "paddw %%mm3,%%mm4\n\t" - OC_FDCT8x4("0x00","0x10","0x20","0x30","0x40","0x50","0x60","0x70") - OC_TRANSPOSE8x4("0x00","0x10","0x20","0x30","0x40","0x50","0x60","0x70") - /*Swap out this 8x4 block for the next one.*/ - "movq 0x08(%[x]),%%mm0\n\t" - "movq %%mm7,0x30(%[y])\n\t" - "movq 0x78(%[x]),%%mm7\n\t" - "movq %%mm1,0x50(%[y])\n\t" - "movq 0x18(%[x]),%%mm1\n\t" - "movq %%mm6,0x20(%[y])\n\t" - "movq 0x68(%[x]),%%mm6\n\t" - "movq %%mm2,0x60(%[y])\n\t" - "movq 0x28(%[x]),%%mm2\n\t" - "movq %%mm5,0x10(%[y])\n\t" - "movq 0x58(%[x]),%%mm5\n\t" - "movq %%mm3,0x70(%[y])\n\t" - "movq 0x38(%[x]),%%mm3\n\t" - /*And increase its working precision, too.*/ - "psllw $2,%%mm0\n\t" - "movq %%mm4,0x00(%[y])\n\t" - "psllw $2,%%mm7\n\t" - "movq 0x48(%[x]),%%mm4\n\t" - /*We inline stage1 of the transform here so we can get better instruction - scheduling with the shifts.*/ - /*mm0=t7'=t0-t7*/ - "psubw %%mm7,%%mm0\n\t" - "psllw $2,%%mm1\n\t" - "paddw %%mm7,%%mm7\n\t" - "psllw $2,%%mm6\n\t" - /*mm1=t6'=t1-t6*/ - "psubw %%mm6,%%mm1\n\t" - "psllw $2,%%mm2\n\t" - "paddw %%mm6,%%mm6\n\t" - "psllw $2,%%mm5\n\t" - /*mm2=t5'=t2-t5*/ - "psubw %%mm5,%%mm2\n\t" - "psllw $2,%%mm3\n\t" - "paddw %%mm5,%%mm5\n\t" - "psllw $2,%%mm4\n\t" - /*mm3=t4'=t3-t4*/ - "psubw %%mm4,%%mm3\n\t" - "paddw %%mm4,%%mm4\n\t" - /*mm7=t0'=t0+t7*/ - "paddw %%mm0,%%mm7\n\t" - /*mm6=t1'=t1+t6*/ - "paddw %%mm1,%%mm6\n\t" - /*mm5=t2'=t2+t5*/ - "paddw %%mm2,%%mm5\n\t" - /*mm4=t3'=t3+t4*/ - "paddw %%mm3,%%mm4\n\t" - OC_FDCT8x4("0x08","0x18","0x28","0x38","0x48","0x58","0x68","0x78") - OC_TRANSPOSE8x4("0x08","0x18","0x28","0x38","0x48","0x58","0x68","0x78") - /*Here the first 4x4 block of output from the last transpose is the second - 4x4 block of input for the next transform. - We have cleverly arranged that it already be in the appropriate place, - so we only have to do half the stores and loads.*/ - "movq 0x00(%[y]),%%mm0\n\t" - "movq %%mm1,0x58(%[y])\n\t" - "movq 0x10(%[y]),%%mm1\n\t" - "movq %%mm2,0x68(%[y])\n\t" - "movq 0x20(%[y]),%%mm2\n\t" - "movq %%mm3,0x78(%[y])\n\t" - "movq 0x30(%[y]),%%mm3\n\t" - OC_FDCT_STAGE1_8x4 - OC_FDCT8x4("0x00","0x10","0x20","0x30","0x08","0x18","0x28","0x38") - OC_TRANSPOSE8x4("0x00","0x10","0x20","0x30","0x08","0x18","0x28","0x38") - /*mm0={-2}x4*/ - "pcmpeqw %%mm0,%%mm0\n\t" - "paddw %%mm0,%%mm0\n\t" - /*Round the results.*/ - "psubw %%mm0,%%mm1\n\t" - "psubw %%mm0,%%mm2\n\t" - "psraw $2,%%mm1\n\t" - "psubw %%mm0,%%mm3\n\t" - "movq %%mm1,0x18(%[y])\n\t" - "psraw $2,%%mm2\n\t" - "psubw %%mm0,%%mm4\n\t" - "movq 0x08(%[y]),%%mm1\n\t" - "psraw $2,%%mm3\n\t" - "psubw %%mm0,%%mm5\n\t" - "psraw $2,%%mm4\n\t" - "psubw %%mm0,%%mm6\n\t" - "psraw $2,%%mm5\n\t" - "psubw %%mm0,%%mm7\n\t" - "psraw $2,%%mm6\n\t" - "psubw %%mm0,%%mm1\n\t" - "psraw $2,%%mm7\n\t" - "movq 0x40(%[y]),%%mm0\n\t" - "psraw $2,%%mm1\n\t" - "movq %%mm7,0x30(%[y])\n\t" - "movq 0x78(%[y]),%%mm7\n\t" - "movq %%mm1,0x08(%[y])\n\t" - "movq 0x50(%[y]),%%mm1\n\t" - "movq %%mm6,0x20(%[y])\n\t" - "movq 0x68(%[y]),%%mm6\n\t" - "movq %%mm2,0x28(%[y])\n\t" - "movq 0x60(%[y]),%%mm2\n\t" - "movq %%mm5,0x10(%[y])\n\t" - "movq 0x58(%[y]),%%mm5\n\t" - "movq %%mm3,0x38(%[y])\n\t" - "movq 0x70(%[y]),%%mm3\n\t" - "movq %%mm4,0x00(%[y])\n\t" - "movq 0x48(%[y]),%%mm4\n\t" - OC_FDCT_STAGE1_8x4 - OC_FDCT8x4("0x40","0x50","0x60","0x70","0x48","0x58","0x68","0x78") - OC_TRANSPOSE8x4("0x40","0x50","0x60","0x70","0x48","0x58","0x68","0x78") - /*mm0={-2}x4*/ - "pcmpeqw %%mm0,%%mm0\n\t" - "paddw %%mm0,%%mm0\n\t" - /*Round the results.*/ - "psubw %%mm0,%%mm1\n\t" - "psubw %%mm0,%%mm2\n\t" - "psraw $2,%%mm1\n\t" - "psubw %%mm0,%%mm3\n\t" - "movq %%mm1,0x58(%[y])\n\t" - "psraw $2,%%mm2\n\t" - "psubw %%mm0,%%mm4\n\t" - "movq 0x48(%[y]),%%mm1\n\t" - "psraw $2,%%mm3\n\t" - "psubw %%mm0,%%mm5\n\t" - "movq %%mm2,0x68(%[y])\n\t" - "psraw $2,%%mm4\n\t" - "psubw %%mm0,%%mm6\n\t" - "movq %%mm3,0x78(%[y])\n\t" - "psraw $2,%%mm5\n\t" - "psubw %%mm0,%%mm7\n\t" - "movq %%mm4,0x40(%[y])\n\t" - "psraw $2,%%mm6\n\t" - "psubw %%mm0,%%mm1\n\t" - "movq %%mm5,0x50(%[y])\n\t" - "psraw $2,%%mm7\n\t" - "movq %%mm6,0x60(%[y])\n\t" - "psraw $2,%%mm1\n\t" - "movq %%mm7,0x70(%[y])\n\t" - "movq %%mm1,0x48(%[y])\n\t" - :[a]"=&r"(a) - :[y]"r"(_y),[x]"r"(_x) - :"memory" - ); -} - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/x86/mmxfrag.c b/Libraries/libtheora-1.1.1/lib/x86/mmxfrag.c deleted file mode 100644 index 2c732939..00000000 --- a/Libraries/libtheora-1.1.1/lib/x86/mmxfrag.c +++ /dev/null @@ -1,293 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: mmxfrag.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -/*MMX acceleration of fragment reconstruction for motion compensation. - Originally written by Rudolf Marek. - Additional optimization by Nils Pipenbrinck. - Note: Loops are unrolled for best performance. - The iteration each instruction belongs to is marked in the comments as #i.*/ -#include -#include "x86int.h" -#include "mmxfrag.h" - -#if defined(OC_X86_ASM) - -/*Copies an 8x8 block of pixels from _src to _dst, assuming _ystride bytes - between rows.*/ -void oc_frag_copy_mmx(unsigned char *_dst, - const unsigned char *_src,int _ystride){ - OC_FRAG_COPY_MMX(_dst,_src,_ystride); -} - -void oc_frag_recon_intra_mmx(unsigned char *_dst,int _ystride, - const ogg_int16_t *_residue){ - __asm__ __volatile__( - /*Set mm0 to 0xFFFFFFFFFFFFFFFF.*/ - "pcmpeqw %%mm0,%%mm0\n\t" - /*#0 Load low residue.*/ - "movq 0*8(%[residue]),%%mm1\n\t" - /*#0 Load high residue.*/ - "movq 1*8(%[residue]),%%mm2\n\t" - /*Set mm0 to 0x8000800080008000.*/ - "psllw $15,%%mm0\n\t" - /*#1 Load low residue.*/ - "movq 2*8(%[residue]),%%mm3\n\t" - /*#1 Load high residue.*/ - "movq 3*8(%[residue]),%%mm4\n\t" - /*Set mm0 to 0x0080008000800080.*/ - "psrlw $8,%%mm0\n\t" - /*#2 Load low residue.*/ - "movq 4*8(%[residue]),%%mm5\n\t" - /*#2 Load high residue.*/ - "movq 5*8(%[residue]),%%mm6\n\t" - /*#0 Bias low residue.*/ - "paddsw %%mm0,%%mm1\n\t" - /*#0 Bias high residue.*/ - "paddsw %%mm0,%%mm2\n\t" - /*#0 Pack to byte.*/ - "packuswb %%mm2,%%mm1\n\t" - /*#1 Bias low residue.*/ - "paddsw %%mm0,%%mm3\n\t" - /*#1 Bias high residue.*/ - "paddsw %%mm0,%%mm4\n\t" - /*#1 Pack to byte.*/ - "packuswb %%mm4,%%mm3\n\t" - /*#2 Bias low residue.*/ - "paddsw %%mm0,%%mm5\n\t" - /*#2 Bias high residue.*/ - "paddsw %%mm0,%%mm6\n\t" - /*#2 Pack to byte.*/ - "packuswb %%mm6,%%mm5\n\t" - /*#0 Write row.*/ - "movq %%mm1,(%[dst])\n\t" - /*#1 Write row.*/ - "movq %%mm3,(%[dst],%[ystride])\n\t" - /*#2 Write row.*/ - "movq %%mm5,(%[dst],%[ystride],2)\n\t" - /*#3 Load low residue.*/ - "movq 6*8(%[residue]),%%mm1\n\t" - /*#3 Load high residue.*/ - "movq 7*8(%[residue]),%%mm2\n\t" - /*#4 Load high residue.*/ - "movq 8*8(%[residue]),%%mm3\n\t" - /*#4 Load high residue.*/ - "movq 9*8(%[residue]),%%mm4\n\t" - /*#5 Load high residue.*/ - "movq 10*8(%[residue]),%%mm5\n\t" - /*#5 Load high residue.*/ - "movq 11*8(%[residue]),%%mm6\n\t" - /*#3 Bias low residue.*/ - "paddsw %%mm0,%%mm1\n\t" - /*#3 Bias high residue.*/ - "paddsw %%mm0,%%mm2\n\t" - /*#3 Pack to byte.*/ - "packuswb %%mm2,%%mm1\n\t" - /*#4 Bias low residue.*/ - "paddsw %%mm0,%%mm3\n\t" - /*#4 Bias high residue.*/ - "paddsw %%mm0,%%mm4\n\t" - /*#4 Pack to byte.*/ - "packuswb %%mm4,%%mm3\n\t" - /*#5 Bias low residue.*/ - "paddsw %%mm0,%%mm5\n\t" - /*#5 Bias high residue.*/ - "paddsw %%mm0,%%mm6\n\t" - /*#5 Pack to byte.*/ - "packuswb %%mm6,%%mm5\n\t" - /*#3 Write row.*/ - "movq %%mm1,(%[dst],%[ystride3])\n\t" - /*#4 Write row.*/ - "movq %%mm3,(%[dst4])\n\t" - /*#5 Write row.*/ - "movq %%mm5,(%[dst4],%[ystride])\n\t" - /*#6 Load low residue.*/ - "movq 12*8(%[residue]),%%mm1\n\t" - /*#6 Load high residue.*/ - "movq 13*8(%[residue]),%%mm2\n\t" - /*#7 Load low residue.*/ - "movq 14*8(%[residue]),%%mm3\n\t" - /*#7 Load high residue.*/ - "movq 15*8(%[residue]),%%mm4\n\t" - /*#6 Bias low residue.*/ - "paddsw %%mm0,%%mm1\n\t" - /*#6 Bias high residue.*/ - "paddsw %%mm0,%%mm2\n\t" - /*#6 Pack to byte.*/ - "packuswb %%mm2,%%mm1\n\t" - /*#7 Bias low residue.*/ - "paddsw %%mm0,%%mm3\n\t" - /*#7 Bias high residue.*/ - "paddsw %%mm0,%%mm4\n\t" - /*#7 Pack to byte.*/ - "packuswb %%mm4,%%mm3\n\t" - /*#6 Write row.*/ - "movq %%mm1,(%[dst4],%[ystride],2)\n\t" - /*#7 Write row.*/ - "movq %%mm3,(%[dst4],%[ystride3])\n\t" - : - :[residue]"r"(_residue), - [dst]"r"(_dst), - [dst4]"r"(_dst+(_ystride<<2)), - [ystride]"r"((ptrdiff_t)_ystride), - [ystride3]"r"((ptrdiff_t)_ystride*3) - :"memory" - ); -} - -void oc_frag_recon_inter_mmx(unsigned char *_dst,const unsigned char *_src, - int _ystride,const ogg_int16_t *_residue){ - int i; - /*Zero mm0.*/ - __asm__ __volatile__("pxor %%mm0,%%mm0\n\t"::); - for(i=4;i-->0;){ - __asm__ __volatile__( - /*#0 Load source.*/ - "movq (%[src]),%%mm3\n\t" - /*#1 Load source.*/ - "movq (%[src],%[ystride]),%%mm7\n\t" - /*#0 Get copy of src.*/ - "movq %%mm3,%%mm4\n\t" - /*#0 Expand high source.*/ - "punpckhbw %%mm0,%%mm4\n\t" - /*#0 Expand low source.*/ - "punpcklbw %%mm0,%%mm3\n\t" - /*#0 Add residue high.*/ - "paddsw 8(%[residue]),%%mm4\n\t" - /*#1 Get copy of src.*/ - "movq %%mm7,%%mm2\n\t" - /*#0 Add residue low.*/ - "paddsw (%[residue]), %%mm3\n\t" - /*#1 Expand high source.*/ - "punpckhbw %%mm0,%%mm2\n\t" - /*#0 Pack final row pixels.*/ - "packuswb %%mm4,%%mm3\n\t" - /*#1 Expand low source.*/ - "punpcklbw %%mm0,%%mm7\n\t" - /*#1 Add residue low.*/ - "paddsw 16(%[residue]),%%mm7\n\t" - /*#1 Add residue high.*/ - "paddsw 24(%[residue]),%%mm2\n\t" - /*Advance residue.*/ - "lea 32(%[residue]),%[residue]\n\t" - /*#1 Pack final row pixels.*/ - "packuswb %%mm2,%%mm7\n\t" - /*Advance src.*/ - "lea (%[src],%[ystride],2),%[src]\n\t" - /*#0 Write row.*/ - "movq %%mm3,(%[dst])\n\t" - /*#1 Write row.*/ - "movq %%mm7,(%[dst],%[ystride])\n\t" - /*Advance dst.*/ - "lea (%[dst],%[ystride],2),%[dst]\n\t" - :[residue]"+r"(_residue),[dst]"+r"(_dst),[src]"+r"(_src) - :[ystride]"r"((ptrdiff_t)_ystride) - :"memory" - ); - } -} - -void oc_frag_recon_inter2_mmx(unsigned char *_dst,const unsigned char *_src1, - const unsigned char *_src2,int _ystride,const ogg_int16_t *_residue){ - int i; - /*Zero mm7.*/ - __asm__ __volatile__("pxor %%mm7,%%mm7\n\t"::); - for(i=4;i-->0;){ - __asm__ __volatile__( - /*#0 Load src1.*/ - "movq (%[src1]),%%mm0\n\t" - /*#0 Load src2.*/ - "movq (%[src2]),%%mm2\n\t" - /*#0 Copy src1.*/ - "movq %%mm0,%%mm1\n\t" - /*#0 Copy src2.*/ - "movq %%mm2,%%mm3\n\t" - /*#1 Load src1.*/ - "movq (%[src1],%[ystride]),%%mm4\n\t" - /*#0 Unpack lower src1.*/ - "punpcklbw %%mm7,%%mm0\n\t" - /*#1 Load src2.*/ - "movq (%[src2],%[ystride]),%%mm5\n\t" - /*#0 Unpack higher src1.*/ - "punpckhbw %%mm7,%%mm1\n\t" - /*#0 Unpack lower src2.*/ - "punpcklbw %%mm7,%%mm2\n\t" - /*#0 Unpack higher src2.*/ - "punpckhbw %%mm7,%%mm3\n\t" - /*Advance src1 ptr.*/ - "lea (%[src1],%[ystride],2),%[src1]\n\t" - /*Advance src2 ptr.*/ - "lea (%[src2],%[ystride],2),%[src2]\n\t" - /*#0 Lower src1+src2.*/ - "paddsw %%mm2,%%mm0\n\t" - /*#0 Higher src1+src2.*/ - "paddsw %%mm3,%%mm1\n\t" - /*#1 Copy src1.*/ - "movq %%mm4,%%mm2\n\t" - /*#0 Build lo average.*/ - "psraw $1,%%mm0\n\t" - /*#1 Copy src2.*/ - "movq %%mm5,%%mm3\n\t" - /*#1 Unpack lower src1.*/ - "punpcklbw %%mm7,%%mm4\n\t" - /*#0 Build hi average.*/ - "psraw $1,%%mm1\n\t" - /*#1 Unpack higher src1.*/ - "punpckhbw %%mm7,%%mm2\n\t" - /*#0 low+=residue.*/ - "paddsw (%[residue]),%%mm0\n\t" - /*#1 Unpack lower src2.*/ - "punpcklbw %%mm7,%%mm5\n\t" - /*#0 high+=residue.*/ - "paddsw 8(%[residue]),%%mm1\n\t" - /*#1 Unpack higher src2.*/ - "punpckhbw %%mm7,%%mm3\n\t" - /*#1 Lower src1+src2.*/ - "paddsw %%mm4,%%mm5\n\t" - /*#0 Pack and saturate.*/ - "packuswb %%mm1,%%mm0\n\t" - /*#1 Higher src1+src2.*/ - "paddsw %%mm2,%%mm3\n\t" - /*#0 Write row.*/ - "movq %%mm0,(%[dst])\n\t" - /*#1 Build lo average.*/ - "psraw $1,%%mm5\n\t" - /*#1 Build hi average.*/ - "psraw $1,%%mm3\n\t" - /*#1 low+=residue.*/ - "paddsw 16(%[residue]),%%mm5\n\t" - /*#1 high+=residue.*/ - "paddsw 24(%[residue]),%%mm3\n\t" - /*#1 Pack and saturate.*/ - "packuswb %%mm3,%%mm5\n\t" - /*#1 Write row ptr.*/ - "movq %%mm5,(%[dst],%[ystride])\n\t" - /*Advance residue ptr.*/ - "add $32,%[residue]\n\t" - /*Advance dest ptr.*/ - "lea (%[dst],%[ystride],2),%[dst]\n\t" - :[dst]"+r"(_dst),[residue]"+r"(_residue), - [src1]"+%r"(_src1),[src2]"+r"(_src2) - :[ystride]"r"((ptrdiff_t)_ystride) - :"memory" - ); - } -} - -void oc_restore_fpu_mmx(void){ - __asm__ __volatile__("emms\n\t"); -} -#endif diff --git a/Libraries/libtheora-1.1.1/lib/x86/mmxfrag.h b/Libraries/libtheora-1.1.1/lib/x86/mmxfrag.h deleted file mode 100644 index a3984276..00000000 --- a/Libraries/libtheora-1.1.1/lib/x86/mmxfrag.h +++ /dev/null @@ -1,64 +0,0 @@ -#if !defined(_x86_mmxfrag_H) -# define _x86_mmxfrag_H (1) -# include -# include "x86int.h" - -#if defined(OC_X86_ASM) - -/*Copies an 8x8 block of pixels from _src to _dst, assuming _ystride bytes - between rows.*/ -#define OC_FRAG_COPY_MMX(_dst,_src,_ystride) \ - do{ \ - const unsigned char *src; \ - unsigned char *dst; \ - ptrdiff_t ystride3; \ - src=(_src); \ - dst=(_dst); \ - __asm__ __volatile__( \ - /*src+0*ystride*/ \ - "movq (%[src]),%%mm0\n\t" \ - /*src+1*ystride*/ \ - "movq (%[src],%[ystride]),%%mm1\n\t" \ - /*ystride3=ystride*3*/ \ - "lea (%[ystride],%[ystride],2),%[ystride3]\n\t" \ - /*src+2*ystride*/ \ - "movq (%[src],%[ystride],2),%%mm2\n\t" \ - /*src+3*ystride*/ \ - "movq (%[src],%[ystride3]),%%mm3\n\t" \ - /*dst+0*ystride*/ \ - "movq %%mm0,(%[dst])\n\t" \ - /*dst+1*ystride*/ \ - "movq %%mm1,(%[dst],%[ystride])\n\t" \ - /*Pointer to next 4.*/ \ - "lea (%[src],%[ystride],4),%[src]\n\t" \ - /*dst+2*ystride*/ \ - "movq %%mm2,(%[dst],%[ystride],2)\n\t" \ - /*dst+3*ystride*/ \ - "movq %%mm3,(%[dst],%[ystride3])\n\t" \ - /*Pointer to next 4.*/ \ - "lea (%[dst],%[ystride],4),%[dst]\n\t" \ - /*src+0*ystride*/ \ - "movq (%[src]),%%mm0\n\t" \ - /*src+1*ystride*/ \ - "movq (%[src],%[ystride]),%%mm1\n\t" \ - /*src+2*ystride*/ \ - "movq (%[src],%[ystride],2),%%mm2\n\t" \ - /*src+3*ystride*/ \ - "movq (%[src],%[ystride3]),%%mm3\n\t" \ - /*dst+0*ystride*/ \ - "movq %%mm0,(%[dst])\n\t" \ - /*dst+1*ystride*/ \ - "movq %%mm1,(%[dst],%[ystride])\n\t" \ - /*dst+2*ystride*/ \ - "movq %%mm2,(%[dst],%[ystride],2)\n\t" \ - /*dst+3*ystride*/ \ - "movq %%mm3,(%[dst],%[ystride3])\n\t" \ - :[dst]"+r"(dst),[src]"+r"(src),[ystride3]"=&r"(ystride3) \ - :[ystride]"r"((ptrdiff_t)(_ystride)) \ - :"memory" \ - ); \ - } \ - while(0) - -# endif -#endif diff --git a/Libraries/libtheora-1.1.1/lib/x86/mmxidct.c b/Libraries/libtheora-1.1.1/lib/x86/mmxidct.c deleted file mode 100644 index 76424e63..00000000 --- a/Libraries/libtheora-1.1.1/lib/x86/mmxidct.c +++ /dev/null @@ -1,564 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: mmxidct.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -/*MMX acceleration of Theora's iDCT. - Originally written by Rudolf Marek, based on code from On2's VP3.*/ -#include "x86int.h" -#include "../dct.h" - -#if defined(OC_X86_ASM) - -/*These are offsets into the table of constants below.*/ -/*7 rows of cosines, in order: pi/16 * (1 ... 7).*/ -#define OC_COSINE_OFFSET (0) -/*A row of 8's.*/ -#define OC_EIGHT_OFFSET (56) - - - -/*A table of constants used by the MMX routines.*/ -static const ogg_uint16_t __attribute__((aligned(8),used)) - OC_IDCT_CONSTS[(7+1)*4]={ - (ogg_uint16_t)OC_C1S7,(ogg_uint16_t)OC_C1S7, - (ogg_uint16_t)OC_C1S7,(ogg_uint16_t)OC_C1S7, - (ogg_uint16_t)OC_C2S6,(ogg_uint16_t)OC_C2S6, - (ogg_uint16_t)OC_C2S6,(ogg_uint16_t)OC_C2S6, - (ogg_uint16_t)OC_C3S5,(ogg_uint16_t)OC_C3S5, - (ogg_uint16_t)OC_C3S5,(ogg_uint16_t)OC_C3S5, - (ogg_uint16_t)OC_C4S4,(ogg_uint16_t)OC_C4S4, - (ogg_uint16_t)OC_C4S4,(ogg_uint16_t)OC_C4S4, - (ogg_uint16_t)OC_C5S3,(ogg_uint16_t)OC_C5S3, - (ogg_uint16_t)OC_C5S3,(ogg_uint16_t)OC_C5S3, - (ogg_uint16_t)OC_C6S2,(ogg_uint16_t)OC_C6S2, - (ogg_uint16_t)OC_C6S2,(ogg_uint16_t)OC_C6S2, - (ogg_uint16_t)OC_C7S1,(ogg_uint16_t)OC_C7S1, - (ogg_uint16_t)OC_C7S1,(ogg_uint16_t)OC_C7S1, - 8, 8, 8, 8 -}; - -/*Converts the expression in the argument to a string.*/ -#define OC_M2STR(_s) #_s - -/*38 cycles*/ -#define OC_IDCT_BEGIN \ - "#OC_IDCT_BEGIN\n\t" \ - "movq "OC_I(3)",%%mm2\n\t" \ - "movq "OC_C(3)",%%mm6\n\t" \ - "movq %%mm2,%%mm4\n\t" \ - "movq "OC_J(5)",%%mm7\n\t" \ - "pmulhw %%mm6,%%mm4\n\t" \ - "movq "OC_C(5)",%%mm1\n\t" \ - "pmulhw %%mm7,%%mm6\n\t" \ - "movq %%mm1,%%mm5\n\t" \ - "pmulhw %%mm2,%%mm1\n\t" \ - "movq "OC_I(1)",%%mm3\n\t" \ - "pmulhw %%mm7,%%mm5\n\t" \ - "movq "OC_C(1)",%%mm0\n\t" \ - "paddw %%mm2,%%mm4\n\t" \ - "paddw %%mm7,%%mm6\n\t" \ - "paddw %%mm1,%%mm2\n\t" \ - "movq "OC_J(7)",%%mm1\n\t" \ - "paddw %%mm5,%%mm7\n\t" \ - "movq %%mm0,%%mm5\n\t" \ - "pmulhw %%mm3,%%mm0\n\t" \ - "paddw %%mm7,%%mm4\n\t" \ - "pmulhw %%mm1,%%mm5\n\t" \ - "movq "OC_C(7)",%%mm7\n\t" \ - "psubw %%mm2,%%mm6\n\t" \ - "paddw %%mm3,%%mm0\n\t" \ - "pmulhw %%mm7,%%mm3\n\t" \ - "movq "OC_I(2)",%%mm2\n\t" \ - "pmulhw %%mm1,%%mm7\n\t" \ - "paddw %%mm1,%%mm5\n\t" \ - "movq %%mm2,%%mm1\n\t" \ - "pmulhw "OC_C(2)",%%mm2\n\t" \ - "psubw %%mm5,%%mm3\n\t" \ - "movq "OC_J(6)",%%mm5\n\t" \ - "paddw %%mm7,%%mm0\n\t" \ - "movq %%mm5,%%mm7\n\t" \ - "psubw %%mm4,%%mm0\n\t" \ - "pmulhw "OC_C(2)",%%mm5\n\t" \ - "paddw %%mm1,%%mm2\n\t" \ - "pmulhw "OC_C(6)",%%mm1\n\t" \ - "paddw %%mm4,%%mm4\n\t" \ - "paddw %%mm0,%%mm4\n\t" \ - "psubw %%mm6,%%mm3\n\t" \ - "paddw %%mm7,%%mm5\n\t" \ - "paddw %%mm6,%%mm6\n\t" \ - "pmulhw "OC_C(6)",%%mm7\n\t" \ - "paddw %%mm3,%%mm6\n\t" \ - "movq %%mm4,"OC_I(1)"\n\t" \ - "psubw %%mm5,%%mm1\n\t" \ - "movq "OC_C(4)",%%mm4\n\t" \ - "movq %%mm3,%%mm5\n\t" \ - "pmulhw %%mm4,%%mm3\n\t" \ - "paddw %%mm2,%%mm7\n\t" \ - "movq %%mm6,"OC_I(2)"\n\t" \ - "movq %%mm0,%%mm2\n\t" \ - "movq "OC_I(0)",%%mm6\n\t" \ - "pmulhw %%mm4,%%mm0\n\t" \ - "paddw %%mm3,%%mm5\n\t" \ - "movq "OC_J(4)",%%mm3\n\t" \ - "psubw %%mm1,%%mm5\n\t" \ - "paddw %%mm0,%%mm2\n\t" \ - "psubw %%mm3,%%mm6\n\t" \ - "movq %%mm6,%%mm0\n\t" \ - "pmulhw %%mm4,%%mm6\n\t" \ - "paddw %%mm3,%%mm3\n\t" \ - "paddw %%mm1,%%mm1\n\t" \ - "paddw %%mm0,%%mm3\n\t" \ - "paddw %%mm5,%%mm1\n\t" \ - "pmulhw %%mm3,%%mm4\n\t" \ - "paddw %%mm0,%%mm6\n\t" \ - "psubw %%mm2,%%mm6\n\t" \ - "paddw %%mm2,%%mm2\n\t" \ - "movq "OC_I(1)",%%mm0\n\t" \ - "paddw %%mm6,%%mm2\n\t" \ - "paddw %%mm3,%%mm4\n\t" \ - "psubw %%mm1,%%mm2\n\t" \ - "#end OC_IDCT_BEGIN\n\t" \ - -/*38+8=46 cycles.*/ -#define OC_ROW_IDCT \ - "#OC_ROW_IDCT\n" \ - OC_IDCT_BEGIN \ - /*r3=D'*/ \ - "movq "OC_I(2)",%%mm3\n\t" \ - /*r4=E'=E-G*/ \ - "psubw %%mm7,%%mm4\n\t" \ - /*r1=H'+H'*/ \ - "paddw %%mm1,%%mm1\n\t" \ - /*r7=G+G*/ \ - "paddw %%mm7,%%mm7\n\t" \ - /*r1=R1=A''+H'*/ \ - "paddw %%mm2,%%mm1\n\t" \ - /*r7=G'=E+G*/ \ - "paddw %%mm4,%%mm7\n\t" \ - /*r4=R4=E'-D'*/ \ - "psubw %%mm3,%%mm4\n\t" \ - "paddw %%mm3,%%mm3\n\t" \ - /*r6=R6=F'-B''*/ \ - "psubw %%mm5,%%mm6\n\t" \ - "paddw %%mm5,%%mm5\n\t" \ - /*r3=R3=E'+D'*/ \ - "paddw %%mm4,%%mm3\n\t" \ - /*r5=R5=F'+B''*/ \ - "paddw %%mm6,%%mm5\n\t" \ - /*r7=R7=G'-C'*/ \ - "psubw %%mm0,%%mm7\n\t" \ - "paddw %%mm0,%%mm0\n\t" \ - /*Save R1.*/ \ - "movq %%mm1,"OC_I(1)"\n\t" \ - /*r0=R0=G.+C.*/ \ - "paddw %%mm7,%%mm0\n\t" \ - "#end OC_ROW_IDCT\n\t" \ - -/*The following macro does two 4x4 transposes in place. - At entry, we assume: - r0 = a3 a2 a1 a0 - I(1) = b3 b2 b1 b0 - r2 = c3 c2 c1 c0 - r3 = d3 d2 d1 d0 - - r4 = e3 e2 e1 e0 - r5 = f3 f2 f1 f0 - r6 = g3 g2 g1 g0 - r7 = h3 h2 h1 h0 - - At exit, we have: - I(0) = d0 c0 b0 a0 - I(1) = d1 c1 b1 a1 - I(2) = d2 c2 b2 a2 - I(3) = d3 c3 b3 a3 - - J(4) = h0 g0 f0 e0 - J(5) = h1 g1 f1 e1 - J(6) = h2 g2 f2 e2 - J(7) = h3 g3 f3 e3 - - I(0) I(1) I(2) I(3) is the transpose of r0 I(1) r2 r3. - J(4) J(5) J(6) J(7) is the transpose of r4 r5 r6 r7. - - Since r1 is free at entry, we calculate the Js first.*/ -/*19 cycles.*/ -#define OC_TRANSPOSE \ - "#OC_TRANSPOSE\n\t" \ - "movq %%mm4,%%mm1\n\t" \ - "punpcklwd %%mm5,%%mm4\n\t" \ - "movq %%mm0,"OC_I(0)"\n\t" \ - "punpckhwd %%mm5,%%mm1\n\t" \ - "movq %%mm6,%%mm0\n\t" \ - "punpcklwd %%mm7,%%mm6\n\t" \ - "movq %%mm4,%%mm5\n\t" \ - "punpckldq %%mm6,%%mm4\n\t" \ - "punpckhdq %%mm6,%%mm5\n\t" \ - "movq %%mm1,%%mm6\n\t" \ - "movq %%mm4,"OC_J(4)"\n\t" \ - "punpckhwd %%mm7,%%mm0\n\t" \ - "movq %%mm5,"OC_J(5)"\n\t" \ - "punpckhdq %%mm0,%%mm6\n\t" \ - "movq "OC_I(0)",%%mm4\n\t" \ - "punpckldq %%mm0,%%mm1\n\t" \ - "movq "OC_I(1)",%%mm5\n\t" \ - "movq %%mm4,%%mm0\n\t" \ - "movq %%mm6,"OC_J(7)"\n\t" \ - "punpcklwd %%mm5,%%mm0\n\t" \ - "movq %%mm1,"OC_J(6)"\n\t" \ - "punpckhwd %%mm5,%%mm4\n\t" \ - "movq %%mm2,%%mm5\n\t" \ - "punpcklwd %%mm3,%%mm2\n\t" \ - "movq %%mm0,%%mm1\n\t" \ - "punpckldq %%mm2,%%mm0\n\t" \ - "punpckhdq %%mm2,%%mm1\n\t" \ - "movq %%mm4,%%mm2\n\t" \ - "movq %%mm0,"OC_I(0)"\n\t" \ - "punpckhwd %%mm3,%%mm5\n\t" \ - "movq %%mm1,"OC_I(1)"\n\t" \ - "punpckhdq %%mm5,%%mm4\n\t" \ - "punpckldq %%mm5,%%mm2\n\t" \ - "movq %%mm4,"OC_I(3)"\n\t" \ - "movq %%mm2,"OC_I(2)"\n\t" \ - "#end OC_TRANSPOSE\n\t" \ - -/*38+19=57 cycles.*/ -#define OC_COLUMN_IDCT \ - "#OC_COLUMN_IDCT\n" \ - OC_IDCT_BEGIN \ - "paddw "OC_8",%%mm2\n\t" \ - /*r1=H'+H'*/ \ - "paddw %%mm1,%%mm1\n\t" \ - /*r1=R1=A''+H'*/ \ - "paddw %%mm2,%%mm1\n\t" \ - /*r2=NR2*/ \ - "psraw $4,%%mm2\n\t" \ - /*r4=E'=E-G*/ \ - "psubw %%mm7,%%mm4\n\t" \ - /*r1=NR1*/ \ - "psraw $4,%%mm1\n\t" \ - /*r3=D'*/ \ - "movq "OC_I(2)",%%mm3\n\t" \ - /*r7=G+G*/ \ - "paddw %%mm7,%%mm7\n\t" \ - /*Store NR2 at I(2).*/ \ - "movq %%mm2,"OC_I(2)"\n\t" \ - /*r7=G'=E+G*/ \ - "paddw %%mm4,%%mm7\n\t" \ - /*Store NR1 at I(1).*/ \ - "movq %%mm1,"OC_I(1)"\n\t" \ - /*r4=R4=E'-D'*/ \ - "psubw %%mm3,%%mm4\n\t" \ - "paddw "OC_8",%%mm4\n\t" \ - /*r3=D'+D'*/ \ - "paddw %%mm3,%%mm3\n\t" \ - /*r3=R3=E'+D'*/ \ - "paddw %%mm4,%%mm3\n\t" \ - /*r4=NR4*/ \ - "psraw $4,%%mm4\n\t" \ - /*r6=R6=F'-B''*/ \ - "psubw %%mm5,%%mm6\n\t" \ - /*r3=NR3*/ \ - "psraw $4,%%mm3\n\t" \ - "paddw "OC_8",%%mm6\n\t" \ - /*r5=B''+B''*/ \ - "paddw %%mm5,%%mm5\n\t" \ - /*r5=R5=F'+B''*/ \ - "paddw %%mm6,%%mm5\n\t" \ - /*r6=NR6*/ \ - "psraw $4,%%mm6\n\t" \ - /*Store NR4 at J(4).*/ \ - "movq %%mm4,"OC_J(4)"\n\t" \ - /*r5=NR5*/ \ - "psraw $4,%%mm5\n\t" \ - /*Store NR3 at I(3).*/ \ - "movq %%mm3,"OC_I(3)"\n\t" \ - /*r7=R7=G'-C'*/ \ - "psubw %%mm0,%%mm7\n\t" \ - "paddw "OC_8",%%mm7\n\t" \ - /*r0=C'+C'*/ \ - "paddw %%mm0,%%mm0\n\t" \ - /*r0=R0=G'+C'*/ \ - "paddw %%mm7,%%mm0\n\t" \ - /*r7=NR7*/ \ - "psraw $4,%%mm7\n\t" \ - /*Store NR6 at J(6).*/ \ - "movq %%mm6,"OC_J(6)"\n\t" \ - /*r0=NR0*/ \ - "psraw $4,%%mm0\n\t" \ - /*Store NR5 at J(5).*/ \ - "movq %%mm5,"OC_J(5)"\n\t" \ - /*Store NR7 at J(7).*/ \ - "movq %%mm7,"OC_J(7)"\n\t" \ - /*Store NR0 at I(0).*/ \ - "movq %%mm0,"OC_I(0)"\n\t" \ - "#end OC_COLUMN_IDCT\n\t" \ - -#define OC_MID(_m,_i) OC_M2STR(_m+(_i)*8)"(%[c])" -#define OC_C(_i) OC_MID(OC_COSINE_OFFSET,_i-1) -#define OC_8 OC_MID(OC_EIGHT_OFFSET,0) - -static void oc_idct8x8_slow(ogg_int16_t _y[64]){ - /*This routine accepts an 8x8 matrix, but in partially transposed form. - Every 4x4 block is transposed.*/ - __asm__ __volatile__( -#define OC_I(_k) OC_M2STR((_k*16))"(%[y])" -#define OC_J(_k) OC_M2STR(((_k-4)*16)+8)"(%[y])" - OC_ROW_IDCT - OC_TRANSPOSE -#undef OC_I -#undef OC_J -#define OC_I(_k) OC_M2STR((_k*16)+64)"(%[y])" -#define OC_J(_k) OC_M2STR(((_k-4)*16)+72)"(%[y])" - OC_ROW_IDCT - OC_TRANSPOSE -#undef OC_I -#undef OC_J -#define OC_I(_k) OC_M2STR((_k*16))"(%[y])" -#define OC_J(_k) OC_I(_k) - OC_COLUMN_IDCT -#undef OC_I -#undef OC_J -#define OC_I(_k) OC_M2STR((_k*16)+8)"(%[y])" -#define OC_J(_k) OC_I(_k) - OC_COLUMN_IDCT -#undef OC_I -#undef OC_J - : - :[y]"r"(_y),[c]"r"(OC_IDCT_CONSTS) - ); -} - -/*25 cycles.*/ -#define OC_IDCT_BEGIN_10 \ - "#OC_IDCT_BEGIN_10\n\t" \ - "movq "OC_I(3)",%%mm2\n\t" \ - "nop\n\t" \ - "movq "OC_C(3)",%%mm6\n\t" \ - "movq %%mm2,%%mm4\n\t" \ - "movq "OC_C(5)",%%mm1\n\t" \ - "pmulhw %%mm6,%%mm4\n\t" \ - "movq "OC_I(1)",%%mm3\n\t" \ - "pmulhw %%mm2,%%mm1\n\t" \ - "movq "OC_C(1)",%%mm0\n\t" \ - "paddw %%mm2,%%mm4\n\t" \ - "pxor %%mm6,%%mm6\n\t" \ - "paddw %%mm1,%%mm2\n\t" \ - "movq "OC_I(2)",%%mm5\n\t" \ - "pmulhw %%mm3,%%mm0\n\t" \ - "movq %%mm5,%%mm1\n\t" \ - "paddw %%mm3,%%mm0\n\t" \ - "pmulhw "OC_C(7)",%%mm3\n\t" \ - "psubw %%mm2,%%mm6\n\t" \ - "pmulhw "OC_C(2)",%%mm5\n\t" \ - "psubw %%mm4,%%mm0\n\t" \ - "movq "OC_I(2)",%%mm7\n\t" \ - "paddw %%mm4,%%mm4\n\t" \ - "paddw %%mm5,%%mm7\n\t" \ - "paddw %%mm0,%%mm4\n\t" \ - "pmulhw "OC_C(6)",%%mm1\n\t" \ - "psubw %%mm6,%%mm3\n\t" \ - "movq %%mm4,"OC_I(1)"\n\t" \ - "paddw %%mm6,%%mm6\n\t" \ - "movq "OC_C(4)",%%mm4\n\t" \ - "paddw %%mm3,%%mm6\n\t" \ - "movq %%mm3,%%mm5\n\t" \ - "pmulhw %%mm4,%%mm3\n\t" \ - "movq %%mm6,"OC_I(2)"\n\t" \ - "movq %%mm0,%%mm2\n\t" \ - "movq "OC_I(0)",%%mm6\n\t" \ - "pmulhw %%mm4,%%mm0\n\t" \ - "paddw %%mm3,%%mm5\n\t" \ - "paddw %%mm0,%%mm2\n\t" \ - "psubw %%mm1,%%mm5\n\t" \ - "pmulhw %%mm4,%%mm6\n\t" \ - "paddw "OC_I(0)",%%mm6\n\t" \ - "paddw %%mm1,%%mm1\n\t" \ - "movq %%mm6,%%mm4\n\t" \ - "paddw %%mm5,%%mm1\n\t" \ - "psubw %%mm2,%%mm6\n\t" \ - "paddw %%mm2,%%mm2\n\t" \ - "movq "OC_I(1)",%%mm0\n\t" \ - "paddw %%mm6,%%mm2\n\t" \ - "psubw %%mm1,%%mm2\n\t" \ - "nop\n\t" \ - "#end OC_IDCT_BEGIN_10\n\t" \ - -/*25+8=33 cycles.*/ -#define OC_ROW_IDCT_10 \ - "#OC_ROW_IDCT_10\n\t" \ - OC_IDCT_BEGIN_10 \ - /*r3=D'*/ \ - "movq "OC_I(2)",%%mm3\n\t" \ - /*r4=E'=E-G*/ \ - "psubw %%mm7,%%mm4\n\t" \ - /*r1=H'+H'*/ \ - "paddw %%mm1,%%mm1\n\t" \ - /*r7=G+G*/ \ - "paddw %%mm7,%%mm7\n\t" \ - /*r1=R1=A''+H'*/ \ - "paddw %%mm2,%%mm1\n\t" \ - /*r7=G'=E+G*/ \ - "paddw %%mm4,%%mm7\n\t" \ - /*r4=R4=E'-D'*/ \ - "psubw %%mm3,%%mm4\n\t" \ - "paddw %%mm3,%%mm3\n\t" \ - /*r6=R6=F'-B''*/ \ - "psubw %%mm5,%%mm6\n\t" \ - "paddw %%mm5,%%mm5\n\t" \ - /*r3=R3=E'+D'*/ \ - "paddw %%mm4,%%mm3\n\t" \ - /*r5=R5=F'+B''*/ \ - "paddw %%mm6,%%mm5\n\t" \ - /*r7=R7=G'-C'*/ \ - "psubw %%mm0,%%mm7\n\t" \ - "paddw %%mm0,%%mm0\n\t" \ - /*Save R1.*/ \ - "movq %%mm1,"OC_I(1)"\n\t" \ - /*r0=R0=G'+C'*/ \ - "paddw %%mm7,%%mm0\n\t" \ - "#end OC_ROW_IDCT_10\n\t" \ - -/*25+19=44 cycles'*/ -#define OC_COLUMN_IDCT_10 \ - "#OC_COLUMN_IDCT_10\n\t" \ - OC_IDCT_BEGIN_10 \ - "paddw "OC_8",%%mm2\n\t" \ - /*r1=H'+H'*/ \ - "paddw %%mm1,%%mm1\n\t" \ - /*r1=R1=A''+H'*/ \ - "paddw %%mm2,%%mm1\n\t" \ - /*r2=NR2*/ \ - "psraw $4,%%mm2\n\t" \ - /*r4=E'=E-G*/ \ - "psubw %%mm7,%%mm4\n\t" \ - /*r1=NR1*/ \ - "psraw $4,%%mm1\n\t" \ - /*r3=D'*/ \ - "movq "OC_I(2)",%%mm3\n\t" \ - /*r7=G+G*/ \ - "paddw %%mm7,%%mm7\n\t" \ - /*Store NR2 at I(2).*/ \ - "movq %%mm2,"OC_I(2)"\n\t" \ - /*r7=G'=E+G*/ \ - "paddw %%mm4,%%mm7\n\t" \ - /*Store NR1 at I(1).*/ \ - "movq %%mm1,"OC_I(1)"\n\t" \ - /*r4=R4=E'-D'*/ \ - "psubw %%mm3,%%mm4\n\t" \ - "paddw "OC_8",%%mm4\n\t" \ - /*r3=D'+D'*/ \ - "paddw %%mm3,%%mm3\n\t" \ - /*r3=R3=E'+D'*/ \ - "paddw %%mm4,%%mm3\n\t" \ - /*r4=NR4*/ \ - "psraw $4,%%mm4\n\t" \ - /*r6=R6=F'-B''*/ \ - "psubw %%mm5,%%mm6\n\t" \ - /*r3=NR3*/ \ - "psraw $4,%%mm3\n\t" \ - "paddw "OC_8",%%mm6\n\t" \ - /*r5=B''+B''*/ \ - "paddw %%mm5,%%mm5\n\t" \ - /*r5=R5=F'+B''*/ \ - "paddw %%mm6,%%mm5\n\t" \ - /*r6=NR6*/ \ - "psraw $4,%%mm6\n\t" \ - /*Store NR4 at J(4).*/ \ - "movq %%mm4,"OC_J(4)"\n\t" \ - /*r5=NR5*/ \ - "psraw $4,%%mm5\n\t" \ - /*Store NR3 at I(3).*/ \ - "movq %%mm3,"OC_I(3)"\n\t" \ - /*r7=R7=G'-C'*/ \ - "psubw %%mm0,%%mm7\n\t" \ - "paddw "OC_8",%%mm7\n\t" \ - /*r0=C'+C'*/ \ - "paddw %%mm0,%%mm0\n\t" \ - /*r0=R0=G'+C'*/ \ - "paddw %%mm7,%%mm0\n\t" \ - /*r7=NR7*/ \ - "psraw $4,%%mm7\n\t" \ - /*Store NR6 at J(6).*/ \ - "movq %%mm6,"OC_J(6)"\n\t" \ - /*r0=NR0*/ \ - "psraw $4,%%mm0\n\t" \ - /*Store NR5 at J(5).*/ \ - "movq %%mm5,"OC_J(5)"\n\t" \ - /*Store NR7 at J(7).*/ \ - "movq %%mm7,"OC_J(7)"\n\t" \ - /*Store NR0 at I(0).*/ \ - "movq %%mm0,"OC_I(0)"\n\t" \ - "#end OC_COLUMN_IDCT_10\n\t" \ - -static void oc_idct8x8_10(ogg_int16_t _y[64]){ - __asm__ __volatile__( -#define OC_I(_k) OC_M2STR((_k*16))"(%[y])" -#define OC_J(_k) OC_M2STR(((_k-4)*16)+8)"(%[y])" - /*Done with dequant, descramble, and partial transpose. - Now do the iDCT itself.*/ - OC_ROW_IDCT_10 - OC_TRANSPOSE -#undef OC_I -#undef OC_J -#define OC_I(_k) OC_M2STR((_k*16))"(%[y])" -#define OC_J(_k) OC_I(_k) - OC_COLUMN_IDCT_10 -#undef OC_I -#undef OC_J -#define OC_I(_k) OC_M2STR((_k*16)+8)"(%[y])" -#define OC_J(_k) OC_I(_k) - OC_COLUMN_IDCT_10 -#undef OC_I -#undef OC_J - : - :[y]"r"(_y),[c]"r"(OC_IDCT_CONSTS) - ); -} - -/*Performs an inverse 8x8 Type-II DCT transform. - The input is assumed to be scaled by a factor of 4 relative to orthonormal - version of the transform.*/ -void oc_idct8x8_mmx(ogg_int16_t _y[64],int _last_zzi){ - /*_last_zzi is subtly different from an actual count of the number of - coefficients we decoded for this block. - It contains the value of zzi BEFORE the final token in the block was - decoded. - In most cases this is an EOB token (the continuation of an EOB run from a - previous block counts), and so this is the same as the coefficient count. - However, in the case that the last token was NOT an EOB token, but filled - the block up with exactly 64 coefficients, _last_zzi will be less than 64. - Provided the last token was not a pure zero run, the minimum value it can - be is 46, and so that doesn't affect any of the cases in this routine. - However, if the last token WAS a pure zero run of length 63, then _last_zzi - will be 1 while the number of coefficients decoded is 64. - Thus, we will trigger the following special case, where the real - coefficient count would not. - Note also that a zero run of length 64 will give _last_zzi a value of 0, - but we still process the DC coefficient, which might have a non-zero value - due to DC prediction. - Although convoluted, this is arguably the correct behavior: it allows us to - use a smaller transform when the block ends with a long zero run instead - of a normal EOB token. - It could be smarter... multiple separate zero runs at the end of a block - will fool it, but an encoder that generates these really deserves what it - gets. - Needless to say we inherited this approach from VP3.*/ - /*Then perform the iDCT.*/ - if(_last_zzi<10)oc_idct8x8_10(_y); - else oc_idct8x8_slow(_y); -} - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/x86/mmxloop.h b/Libraries/libtheora-1.1.1/lib/x86/mmxloop.h deleted file mode 100644 index 2e870c79..00000000 --- a/Libraries/libtheora-1.1.1/lib/x86/mmxloop.h +++ /dev/null @@ -1,215 +0,0 @@ -#if !defined(_x86_mmxloop_H) -# define _x86_mmxloop_H (1) -# include -# include "x86int.h" - -#if defined(OC_X86_ASM) - -/*On entry, mm0={a0,...,a7}, mm1={b0,...,b7}, mm2={c0,...,c7}, mm3={d0,...d7}. - On exit, mm1={b0+lflim(R_0,L),...,b7+lflim(R_7,L)} and - mm2={c0-lflim(R_0,L),...,c7-lflim(R_7,L)}; mm0 and mm3 are clobbered.*/ -#define OC_LOOP_FILTER8_MMX \ - "#OC_LOOP_FILTER8_MMX\n\t" \ - /*mm7=0*/ \ - "pxor %%mm7,%%mm7\n\t" \ - /*mm6:mm0={a0,...,a7}*/ \ - "movq %%mm0,%%mm6\n\t" \ - "punpcklbw %%mm7,%%mm0\n\t" \ - "punpckhbw %%mm7,%%mm6\n\t" \ - /*mm3:mm5={d0,...,d7}*/ \ - "movq %%mm3,%%mm5\n\t" \ - "punpcklbw %%mm7,%%mm3\n\t" \ - "punpckhbw %%mm7,%%mm5\n\t" \ - /*mm6:mm0={a0-d0,...,a7-d7}*/ \ - "psubw %%mm3,%%mm0\n\t" \ - "psubw %%mm5,%%mm6\n\t" \ - /*mm3:mm1={b0,...,b7}*/ \ - "movq %%mm1,%%mm3\n\t" \ - "punpcklbw %%mm7,%%mm1\n\t" \ - "movq %%mm2,%%mm4\n\t" \ - "punpckhbw %%mm7,%%mm3\n\t" \ - /*mm5:mm4={c0,...,c7}*/ \ - "movq %%mm2,%%mm5\n\t" \ - "punpcklbw %%mm7,%%mm4\n\t" \ - "punpckhbw %%mm7,%%mm5\n\t" \ - /*mm7={3}x4 \ - mm5:mm4={c0-b0,...,c7-b7}*/ \ - "pcmpeqw %%mm7,%%mm7\n\t" \ - "psubw %%mm1,%%mm4\n\t" \ - "psrlw $14,%%mm7\n\t" \ - "psubw %%mm3,%%mm5\n\t" \ - /*Scale by 3.*/ \ - "pmullw %%mm7,%%mm4\n\t" \ - "pmullw %%mm7,%%mm5\n\t" \ - /*mm7={4}x4 \ - mm5:mm4=f={a0-d0+3*(c0-b0),...,a7-d7+3*(c7-b7)}*/ \ - "psrlw $1,%%mm7\n\t" \ - "paddw %%mm0,%%mm4\n\t" \ - "psllw $2,%%mm7\n\t" \ - "movq (%[ll]),%%mm0\n\t" \ - "paddw %%mm6,%%mm5\n\t" \ - /*R_i has the range [-127,128], so we compute -R_i instead. \ - mm4=-R_i=-(f+4>>3)=0xFF^(f-4>>3)*/ \ - "psubw %%mm7,%%mm4\n\t" \ - "psubw %%mm7,%%mm5\n\t" \ - "psraw $3,%%mm4\n\t" \ - "psraw $3,%%mm5\n\t" \ - "pcmpeqb %%mm7,%%mm7\n\t" \ - "packsswb %%mm5,%%mm4\n\t" \ - "pxor %%mm6,%%mm6\n\t" \ - "pxor %%mm7,%%mm4\n\t" \ - "packuswb %%mm3,%%mm1\n\t" \ - /*Now compute lflim of -mm4 cf. Section 7.10 of the sepc.*/ \ - /*There's no unsigned byte+signed byte with unsigned saturation op code, so \ - we have to split things by sign (the other option is to work in 16 bits, \ - but working in 8 bits gives much better parallelism). \ - We compute abs(R_i), but save a mask of which terms were negative in mm6. \ - Then we compute mm4=abs(lflim(R_i,L))=min(abs(R_i),max(2*L-abs(R_i),0)). \ - Finally, we split mm4 into positive and negative pieces using the mask in \ - mm6, and add and subtract them as appropriate.*/ \ - /*mm4=abs(-R_i)*/ \ - /*mm7=255-2*L*/ \ - "pcmpgtb %%mm4,%%mm6\n\t" \ - "psubb %%mm0,%%mm7\n\t" \ - "pxor %%mm6,%%mm4\n\t" \ - "psubb %%mm0,%%mm7\n\t" \ - "psubb %%mm6,%%mm4\n\t" \ - /*mm7=255-max(2*L-abs(R_i),0)*/ \ - "paddusb %%mm4,%%mm7\n\t" \ - /*mm4=min(abs(R_i),max(2*L-abs(R_i),0))*/ \ - "paddusb %%mm7,%%mm4\n\t" \ - "psubusb %%mm7,%%mm4\n\t" \ - /*Now split mm4 by the original sign of -R_i.*/ \ - "movq %%mm4,%%mm5\n\t" \ - "pand %%mm6,%%mm4\n\t" \ - "pandn %%mm5,%%mm6\n\t" \ - /*mm1={b0+lflim(R_0,L),...,b7+lflim(R_7,L)}*/ \ - /*mm2={c0-lflim(R_0,L),...,c7-lflim(R_7,L)}*/ \ - "paddusb %%mm4,%%mm1\n\t" \ - "psubusb %%mm4,%%mm2\n\t" \ - "psubusb %%mm6,%%mm1\n\t" \ - "paddusb %%mm6,%%mm2\n\t" \ - -#define OC_LOOP_FILTER_V_MMX(_pix,_ystride,_ll) \ - do{ \ - ptrdiff_t ystride3__; \ - __asm__ __volatile__( \ - /*mm0={a0,...,a7}*/ \ - "movq (%[pix]),%%mm0\n\t" \ - /*ystride3=_ystride*3*/ \ - "lea (%[ystride],%[ystride],2),%[ystride3]\n\t" \ - /*mm3={d0,...,d7}*/ \ - "movq (%[pix],%[ystride3]),%%mm3\n\t" \ - /*mm1={b0,...,b7}*/ \ - "movq (%[pix],%[ystride]),%%mm1\n\t" \ - /*mm2={c0,...,c7}*/ \ - "movq (%[pix],%[ystride],2),%%mm2\n\t" \ - OC_LOOP_FILTER8_MMX \ - /*Write it back out.*/ \ - "movq %%mm1,(%[pix],%[ystride])\n\t" \ - "movq %%mm2,(%[pix],%[ystride],2)\n\t" \ - :[ystride3]"=&r"(ystride3__) \ - :[pix]"r"(_pix-_ystride*2),[ystride]"r"((ptrdiff_t)(_ystride)), \ - [ll]"r"(_ll) \ - :"memory" \ - ); \ - } \ - while(0) - -#define OC_LOOP_FILTER_H_MMX(_pix,_ystride,_ll) \ - do{ \ - unsigned char *pix__; \ - ptrdiff_t ystride3__; \ - ptrdiff_t d__; \ - pix__=(_pix)-2; \ - __asm__ __volatile__( \ - /*x x x x d0 c0 b0 a0*/ \ - "movd (%[pix]),%%mm0\n\t" \ - /*x x x x d1 c1 b1 a1*/ \ - "movd (%[pix],%[ystride]),%%mm1\n\t" \ - /*ystride3=_ystride*3*/ \ - "lea (%[ystride],%[ystride],2),%[ystride3]\n\t" \ - /*x x x x d2 c2 b2 a2*/ \ - "movd (%[pix],%[ystride],2),%%mm2\n\t" \ - /*x x x x d3 c3 b3 a3*/ \ - "lea (%[pix],%[ystride],4),%[d]\n\t" \ - "movd (%[pix],%[ystride3]),%%mm3\n\t" \ - /*x x x x d4 c4 b4 a4*/ \ - "movd (%[d]),%%mm4\n\t" \ - /*x x x x d5 c5 b5 a5*/ \ - "movd (%[d],%[ystride]),%%mm5\n\t" \ - /*x x x x d6 c6 b6 a6*/ \ - "movd (%[d],%[ystride],2),%%mm6\n\t" \ - /*x x x x d7 c7 b7 a7*/ \ - "movd (%[d],%[ystride3]),%%mm7\n\t" \ - /*mm0=d1 d0 c1 c0 b1 b0 a1 a0*/ \ - "punpcklbw %%mm1,%%mm0\n\t" \ - /*mm2=d3 d2 c3 c2 b3 b2 a3 a2*/ \ - "punpcklbw %%mm3,%%mm2\n\t" \ - /*mm3=d1 d0 c1 c0 b1 b0 a1 a0*/ \ - "movq %%mm0,%%mm3\n\t" \ - /*mm0=b3 b2 b1 b0 a3 a2 a1 a0*/ \ - "punpcklwd %%mm2,%%mm0\n\t" \ - /*mm3=d3 d2 d1 d0 c3 c2 c1 c0*/ \ - "punpckhwd %%mm2,%%mm3\n\t" \ - /*mm1=b3 b2 b1 b0 a3 a2 a1 a0*/ \ - "movq %%mm0,%%mm1\n\t" \ - /*mm4=d5 d4 c5 c4 b5 b4 a5 a4*/ \ - "punpcklbw %%mm5,%%mm4\n\t" \ - /*mm6=d7 d6 c7 c6 b7 b6 a7 a6*/ \ - "punpcklbw %%mm7,%%mm6\n\t" \ - /*mm5=d5 d4 c5 c4 b5 b4 a5 a4*/ \ - "movq %%mm4,%%mm5\n\t" \ - /*mm4=b7 b6 b5 b4 a7 a6 a5 a4*/ \ - "punpcklwd %%mm6,%%mm4\n\t" \ - /*mm5=d7 d6 d5 d4 c7 c6 c5 c4*/ \ - "punpckhwd %%mm6,%%mm5\n\t" \ - /*mm2=d3 d2 d1 d0 c3 c2 c1 c0*/ \ - "movq %%mm3,%%mm2\n\t" \ - /*mm0=a7 a6 a5 a4 a3 a2 a1 a0*/ \ - "punpckldq %%mm4,%%mm0\n\t" \ - /*mm1=b7 b6 b5 b4 b3 b2 b1 b0*/ \ - "punpckhdq %%mm4,%%mm1\n\t" \ - /*mm2=c7 c6 c5 c4 c3 c2 c1 c0*/ \ - "punpckldq %%mm5,%%mm2\n\t" \ - /*mm3=d7 d6 d5 d4 d3 d2 d1 d0*/ \ - "punpckhdq %%mm5,%%mm3\n\t" \ - OC_LOOP_FILTER8_MMX \ - /*mm2={b0+R_0'',...,b7+R_7''}*/ \ - "movq %%mm1,%%mm0\n\t" \ - /*mm1={b0+R_0'',c0-R_0'',...,b3+R_3'',c3-R_3''}*/ \ - "punpcklbw %%mm2,%%mm1\n\t" \ - /*mm2={b4+R_4'',c4-R_4'',...,b7+R_7'',c7-R_7''}*/ \ - "punpckhbw %%mm2,%%mm0\n\t" \ - /*[d]=c1 b1 c0 b0*/ \ - "movd %%mm1,%[d]\n\t" \ - "movw %w[d],1(%[pix])\n\t" \ - "psrlq $32,%%mm1\n\t" \ - "shr $16,%[d]\n\t" \ - "movw %w[d],1(%[pix],%[ystride])\n\t" \ - /*[d]=c3 b3 c2 b2*/ \ - "movd %%mm1,%[d]\n\t" \ - "movw %w[d],1(%[pix],%[ystride],2)\n\t" \ - "shr $16,%[d]\n\t" \ - "movw %w[d],1(%[pix],%[ystride3])\n\t" \ - "lea (%[pix],%[ystride],4),%[pix]\n\t" \ - /*[d]=c5 b5 c4 b4*/ \ - "movd %%mm0,%[d]\n\t" \ - "movw %w[d],1(%[pix])\n\t" \ - "psrlq $32,%%mm0\n\t" \ - "shr $16,%[d]\n\t" \ - "movw %w[d],1(%[pix],%[ystride])\n\t" \ - /*[d]=c7 b7 c6 b6*/ \ - "movd %%mm0,%[d]\n\t" \ - "movw %w[d],1(%[pix],%[ystride],2)\n\t" \ - "shr $16,%[d]\n\t" \ - "movw %w[d],1(%[pix],%[ystride3])\n\t" \ - :[pix]"+r"(pix__),[ystride3]"=&r"(ystride3__),[d]"=&r"(d__) \ - :[ystride]"r"((ptrdiff_t)(_ystride)),[ll]"r"(_ll) \ - :"memory" \ - ); \ - } \ - while(0) - -# endif -#endif diff --git a/Libraries/libtheora-1.1.1/lib/x86/mmxstate.c b/Libraries/libtheora-1.1.1/lib/x86/mmxstate.c deleted file mode 100644 index 808b0a78..00000000 --- a/Libraries/libtheora-1.1.1/lib/x86/mmxstate.c +++ /dev/null @@ -1,188 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: mmxstate.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -/*MMX acceleration of complete fragment reconstruction algorithm. - Originally written by Rudolf Marek.*/ -#include -#include "x86int.h" -#include "mmxfrag.h" -#include "mmxloop.h" - -#if defined(OC_X86_ASM) - -void oc_state_frag_recon_mmx(const oc_theora_state *_state,ptrdiff_t _fragi, - int _pli,ogg_int16_t _dct_coeffs[64],int _last_zzi,ogg_uint16_t _dc_quant){ - unsigned char *dst; - ptrdiff_t frag_buf_off; - int ystride; - int mb_mode; - /*Apply the inverse transform.*/ - /*Special case only having a DC component.*/ - if(_last_zzi<2){ - /*Note that this value must be unsigned, to keep the __asm__ block from - sign-extending it when it puts it in a register.*/ - ogg_uint16_t p; - /*We round this dequant product (and not any of the others) because there's - no iDCT rounding.*/ - p=(ogg_int16_t)(_dct_coeffs[0]*(ogg_int32_t)_dc_quant+15>>5); - /*Fill _dct_coeffs with p.*/ - __asm__ __volatile__( - /*mm0=0000 0000 0000 AAAA*/ - "movd %[p],%%mm0\n\t" - /*mm0=0000 0000 AAAA AAAA*/ - "punpcklwd %%mm0,%%mm0\n\t" - /*mm0=AAAA AAAA AAAA AAAA*/ - "punpckldq %%mm0,%%mm0\n\t" - "movq %%mm0,(%[y])\n\t" - "movq %%mm0,8(%[y])\n\t" - "movq %%mm0,16(%[y])\n\t" - "movq %%mm0,24(%[y])\n\t" - "movq %%mm0,32(%[y])\n\t" - "movq %%mm0,40(%[y])\n\t" - "movq %%mm0,48(%[y])\n\t" - "movq %%mm0,56(%[y])\n\t" - "movq %%mm0,64(%[y])\n\t" - "movq %%mm0,72(%[y])\n\t" - "movq %%mm0,80(%[y])\n\t" - "movq %%mm0,88(%[y])\n\t" - "movq %%mm0,96(%[y])\n\t" - "movq %%mm0,104(%[y])\n\t" - "movq %%mm0,112(%[y])\n\t" - "movq %%mm0,120(%[y])\n\t" - : - :[y]"r"(_dct_coeffs),[p]"r"((unsigned)p) - :"memory" - ); - } - else{ - /*Dequantize the DC coefficient.*/ - _dct_coeffs[0]=(ogg_int16_t)(_dct_coeffs[0]*(int)_dc_quant); - oc_idct8x8_mmx(_dct_coeffs,_last_zzi); - } - /*Fill in the target buffer.*/ - frag_buf_off=_state->frag_buf_offs[_fragi]; - mb_mode=_state->frags[_fragi].mb_mode; - ystride=_state->ref_ystride[_pli]; - dst=_state->ref_frame_data[_state->ref_frame_idx[OC_FRAME_SELF]]+frag_buf_off; - if(mb_mode==OC_MODE_INTRA)oc_frag_recon_intra_mmx(dst,ystride,_dct_coeffs); - else{ - const unsigned char *ref; - int mvoffsets[2]; - ref= - _state->ref_frame_data[_state->ref_frame_idx[OC_FRAME_FOR_MODE(mb_mode)]] - +frag_buf_off; - if(oc_state_get_mv_offsets(_state,mvoffsets,_pli, - _state->frag_mvs[_fragi][0],_state->frag_mvs[_fragi][1])>1){ - oc_frag_recon_inter2_mmx(dst,ref+mvoffsets[0],ref+mvoffsets[1],ystride, - _dct_coeffs); - } - else oc_frag_recon_inter_mmx(dst,ref+mvoffsets[0],ystride,_dct_coeffs); - } -} - -/*We copy these entire function to inline the actual MMX routines so that we - use only a single indirect call.*/ - -/*Copies the fragments specified by the lists of fragment indices from one - frame to another. - _fragis: A pointer to a list of fragment indices. - _nfragis: The number of fragment indices to copy. - _dst_frame: The reference frame to copy to. - _src_frame: The reference frame to copy from. - _pli: The color plane the fragments lie in.*/ -void oc_state_frag_copy_list_mmx(const oc_theora_state *_state, - const ptrdiff_t *_fragis,ptrdiff_t _nfragis, - int _dst_frame,int _src_frame,int _pli){ - const ptrdiff_t *frag_buf_offs; - const unsigned char *src_frame_data; - unsigned char *dst_frame_data; - ptrdiff_t fragii; - int ystride; - dst_frame_data=_state->ref_frame_data[_state->ref_frame_idx[_dst_frame]]; - src_frame_data=_state->ref_frame_data[_state->ref_frame_idx[_src_frame]]; - ystride=_state->ref_ystride[_pli]; - frag_buf_offs=_state->frag_buf_offs; - for(fragii=0;fragii<_nfragis;fragii++){ - ptrdiff_t frag_buf_off; - frag_buf_off=frag_buf_offs[_fragis[fragii]]; - OC_FRAG_COPY_MMX(dst_frame_data+frag_buf_off, - src_frame_data+frag_buf_off,ystride); - } -} - -/*Apply the loop filter to a given set of fragment rows in the given plane. - The filter may be run on the bottom edge, affecting pixels in the next row of - fragments, so this row also needs to be available. - _bv: The bounding values array. - _refi: The index of the frame buffer to filter. - _pli: The color plane to filter. - _fragy0: The Y coordinate of the first fragment row to filter. - _fragy_end: The Y coordinate of the fragment row to stop filtering at.*/ -void oc_state_loop_filter_frag_rows_mmx(const oc_theora_state *_state, - int _bv[256],int _refi,int _pli,int _fragy0,int _fragy_end){ - OC_ALIGN8(unsigned char ll[8]); - const oc_fragment_plane *fplane; - const oc_fragment *frags; - const ptrdiff_t *frag_buf_offs; - unsigned char *ref_frame_data; - ptrdiff_t fragi_top; - ptrdiff_t fragi_bot; - ptrdiff_t fragi0; - ptrdiff_t fragi0_end; - int ystride; - int nhfrags; - memset(ll,_state->loop_filter_limits[_state->qis[0]],sizeof(ll)); - fplane=_state->fplanes+_pli; - nhfrags=fplane->nhfrags; - fragi_top=fplane->froffset; - fragi_bot=fragi_top+fplane->nfrags; - fragi0=fragi_top+_fragy0*(ptrdiff_t)nhfrags; - fragi0_end=fragi0+(_fragy_end-_fragy0)*(ptrdiff_t)nhfrags; - ystride=_state->ref_ystride[_pli]; - frags=_state->frags; - frag_buf_offs=_state->frag_buf_offs; - ref_frame_data=_state->ref_frame_data[_refi]; - /*The following loops are constructed somewhat non-intuitively on purpose. - The main idea is: if a block boundary has at least one coded fragment on - it, the filter is applied to it. - However, the order that the filters are applied in matters, and VP3 chose - the somewhat strange ordering used below.*/ - while(fragi0fragi0)OC_LOOP_FILTER_H_MMX(ref,ystride,ll); - if(fragi0>fragi_top)OC_LOOP_FILTER_V_MMX(ref,ystride,ll); - if(fragi+1 -#include "x86enc.h" - -#if defined(OC_X86_64_ASM) - -# define OC_FDCT8x8 \ - /*Note: xmm15={0}x8 and xmm14={-1}x8.*/ \ - "#OC_FDCT8x8\n\t" \ - /*Stage 1:*/ \ - "movdqa %%xmm0,%%xmm11\n\t" \ - "movdqa %%xmm1,%%xmm10\n\t" \ - "movdqa %%xmm2,%%xmm9\n\t" \ - "movdqa %%xmm3,%%xmm8\n\t" \ - /*xmm11=t7'=t0-t7*/ \ - "psubw %%xmm7,%%xmm11\n\t" \ - /*xmm10=t6'=t1-t6*/ \ - "psubw %%xmm6,%%xmm10\n\t" \ - /*xmm9=t5'=t2-t5*/ \ - "psubw %%xmm5,%%xmm9\n\t" \ - /*xmm8=t4'=t3-t4*/ \ - "psubw %%xmm4,%%xmm8\n\t" \ - /*xmm0=t0'=t0+t7*/ \ - "paddw %%xmm7,%%xmm0\n\t" \ - /*xmm1=t1'=t1+t6*/ \ - "paddw %%xmm6,%%xmm1\n\t" \ - /*xmm5=t2'=t2+t5*/ \ - "paddw %%xmm2,%%xmm5\n\t" \ - /*xmm4=t3'=t3+t4*/ \ - "paddw %%xmm3,%%xmm4\n\t" \ - /*xmm2,3,6,7 are now free.*/ \ - /*Stage 2:*/ \ - "movdqa %%xmm0,%%xmm3\n\t" \ - "mov $0x5A806A0A,%[a]\n\t" \ - "movdqa %%xmm1,%%xmm2\n\t" \ - "movd %[a],%%xmm13\n\t" \ - "movdqa %%xmm10,%%xmm6\n\t" \ - "pshufd $00,%%xmm13,%%xmm13\n\t" \ - /*xmm2=t2''=t1'-t2'*/ \ - "psubw %%xmm5,%%xmm2\n\t" \ - "pxor %%xmm12,%%xmm12\n\t" \ - /*xmm3=t3''=t0'-t3'*/ \ - "psubw %%xmm4,%%xmm3\n\t" \ - "psubw %%xmm14,%%xmm12\n\t" \ - /*xmm10=t5''=t6'-t5'*/ \ - "psubw %%xmm9,%%xmm10\n\t" \ - "paddw %%xmm12,%%xmm12\n\t" \ - /*xmm4=t0''=t0'+t3'*/ \ - "paddw %%xmm0,%%xmm4\n\t" \ - /*xmm1=t1''=t1'+t2'*/ \ - "paddw %%xmm5,%%xmm1\n\t" \ - /*xmm6=t6''=t6'+t5'*/ \ - "paddw %%xmm9,%%xmm6\n\t" \ - /*xmm0,xmm5,xmm9 are now free.*/ \ - /*Stage 3:*/ \ - /*xmm10:xmm5=t5''*27146+0xB500 \ - xmm0=t5''*/ \ - "movdqa %%xmm10,%%xmm5\n\t" \ - "movdqa %%xmm10,%%xmm0\n\t" \ - "punpckhwd %%xmm12,%%xmm10\n\t" \ - "pmaddwd %%xmm13,%%xmm10\n\t" \ - "punpcklwd %%xmm12,%%xmm5\n\t" \ - "pmaddwd %%xmm13,%%xmm5\n\t" \ - /*xmm5=(t5''*27146+0xB500>>16)+t5''*/ \ - "psrad $16,%%xmm10\n\t" \ - "psrad $16,%%xmm5\n\t" \ - "packssdw %%xmm10,%%xmm5\n\t" \ - "paddw %%xmm0,%%xmm5\n\t" \ - /*xmm0=s=(t5''*27146+0xB500>>16)+t5''+(t5''!=0)>>1*/ \ - "pcmpeqw %%xmm15,%%xmm0\n\t" \ - "psubw %%xmm14,%%xmm0\n\t" \ - "paddw %%xmm5,%%xmm0\n\t" \ - "movdqa %%xmm8,%%xmm5\n\t" \ - "psraw $1,%%xmm0\n\t" \ - /*xmm5=t5'''=t4'-s*/ \ - "psubw %%xmm0,%%xmm5\n\t" \ - /*xmm8=t4''=t4'+s*/ \ - "paddw %%xmm0,%%xmm8\n\t" \ - /*xmm0,xmm7,xmm9,xmm10 are free.*/ \ - /*xmm7:xmm9=t6''*27146+0xB500*/ \ - "movdqa %%xmm6,%%xmm7\n\t" \ - "movdqa %%xmm6,%%xmm9\n\t" \ - "punpckhwd %%xmm12,%%xmm7\n\t" \ - "pmaddwd %%xmm13,%%xmm7\n\t" \ - "punpcklwd %%xmm12,%%xmm9\n\t" \ - "pmaddwd %%xmm13,%%xmm9\n\t" \ - /*xmm9=(t6''*27146+0xB500>>16)+t6''*/ \ - "psrad $16,%%xmm7\n\t" \ - "psrad $16,%%xmm9\n\t" \ - "packssdw %%xmm7,%%xmm9\n\t" \ - "paddw %%xmm6,%%xmm9\n\t" \ - /*xmm9=s=(t6''*27146+0xB500>>16)+t6''+(t6''!=0)>>1*/ \ - "pcmpeqw %%xmm15,%%xmm6\n\t" \ - "psubw %%xmm14,%%xmm6\n\t" \ - "paddw %%xmm6,%%xmm9\n\t" \ - "movdqa %%xmm11,%%xmm7\n\t" \ - "psraw $1,%%xmm9\n\t" \ - /*xmm7=t6'''=t7'-s*/ \ - "psubw %%xmm9,%%xmm7\n\t" \ - /*xmm9=t7''=t7'+s*/ \ - "paddw %%xmm11,%%xmm9\n\t" \ - /*xmm0,xmm6,xmm10,xmm11 are free.*/ \ - /*Stage 4:*/ \ - /*xmm10:xmm0=t1''*27146+0xB500*/ \ - "movdqa %%xmm1,%%xmm0\n\t" \ - "movdqa %%xmm1,%%xmm10\n\t" \ - "punpcklwd %%xmm12,%%xmm0\n\t" \ - "pmaddwd %%xmm13,%%xmm0\n\t" \ - "punpckhwd %%xmm12,%%xmm10\n\t" \ - "pmaddwd %%xmm13,%%xmm10\n\t" \ - /*xmm0=(t1''*27146+0xB500>>16)+t1''*/ \ - "psrad $16,%%xmm0\n\t" \ - "psrad $16,%%xmm10\n\t" \ - "mov $0x20006A0A,%[a]\n\t" \ - "packssdw %%xmm10,%%xmm0\n\t" \ - "movd %[a],%%xmm13\n\t" \ - "paddw %%xmm1,%%xmm0\n\t" \ - /*xmm0=s=(t1''*27146+0xB500>>16)+t1''+(t1''!=0)*/ \ - "pcmpeqw %%xmm15,%%xmm1\n\t" \ - "pshufd $00,%%xmm13,%%xmm13\n\t" \ - "psubw %%xmm14,%%xmm1\n\t" \ - "paddw %%xmm1,%%xmm0\n\t" \ - /*xmm10:xmm4=t0''*27146+0x4000*/ \ - "movdqa %%xmm4,%%xmm1\n\t" \ - "movdqa %%xmm4,%%xmm10\n\t" \ - "punpcklwd %%xmm12,%%xmm4\n\t" \ - "pmaddwd %%xmm13,%%xmm4\n\t" \ - "punpckhwd %%xmm12,%%xmm10\n\t" \ - "pmaddwd %%xmm13,%%xmm10\n\t" \ - /*xmm4=(t0''*27146+0x4000>>16)+t0''*/ \ - "psrad $16,%%xmm4\n\t" \ - "psrad $16,%%xmm10\n\t" \ - "mov $0x6CB7,%[a]\n\t" \ - "packssdw %%xmm10,%%xmm4\n\t" \ - "movd %[a],%%xmm12\n\t" \ - "paddw %%xmm1,%%xmm4\n\t" \ - /*xmm4=r=(t0''*27146+0x4000>>16)+t0''+(t0''!=0)*/ \ - "pcmpeqw %%xmm15,%%xmm1\n\t" \ - "pshufd $00,%%xmm12,%%xmm12\n\t" \ - "psubw %%xmm14,%%xmm1\n\t" \ - "mov $0x7FFF6C84,%[a]\n\t" \ - "paddw %%xmm1,%%xmm4\n\t" \ - /*xmm0=_y[0]=u=r+s>>1 \ - The naive implementation could cause overflow, so we use \ - u=(r&s)+((r^s)>>1).*/ \ - "movdqa %%xmm0,%%xmm6\n\t" \ - "pxor %%xmm4,%%xmm0\n\t" \ - "pand %%xmm4,%%xmm6\n\t" \ - "psraw $1,%%xmm0\n\t" \ - "movd %[a],%%xmm13\n\t" \ - "paddw %%xmm6,%%xmm0\n\t" \ - /*xmm4=_y[4]=v=r-u*/ \ - "pshufd $00,%%xmm13,%%xmm13\n\t" \ - "psubw %%xmm0,%%xmm4\n\t" \ - /*xmm1,xmm6,xmm10,xmm11 are free.*/ \ - /*xmm6:xmm10=60547*t3''+0x6CB7*/ \ - "movdqa %%xmm3,%%xmm10\n\t" \ - "movdqa %%xmm3,%%xmm6\n\t" \ - "punpcklwd %%xmm3,%%xmm10\n\t" \ - "pmaddwd %%xmm13,%%xmm10\n\t" \ - "mov $0x61F861F8,%[a]\n\t" \ - "punpckhwd %%xmm3,%%xmm6\n\t" \ - "pmaddwd %%xmm13,%%xmm6\n\t" \ - "movd %[a],%%xmm13\n\t" \ - "paddd %%xmm12,%%xmm10\n\t" \ - "pshufd $00,%%xmm13,%%xmm13\n\t" \ - "paddd %%xmm12,%%xmm6\n\t" \ - /*xmm1:xmm2=25080*t2'' \ - xmm12=t2''*/ \ - "movdqa %%xmm2,%%xmm11\n\t" \ - "movdqa %%xmm2,%%xmm12\n\t" \ - "pmullw %%xmm13,%%xmm2\n\t" \ - "pmulhw %%xmm13,%%xmm11\n\t" \ - "movdqa %%xmm2,%%xmm1\n\t" \ - "punpcklwd %%xmm11,%%xmm2\n\t" \ - "punpckhwd %%xmm11,%%xmm1\n\t" \ - /*xmm10=u=(25080*t2''+60547*t3''+0x6CB7>>16)+(t3''!=0)*/ \ - "paddd %%xmm2,%%xmm10\n\t" \ - "paddd %%xmm1,%%xmm6\n\t" \ - "psrad $16,%%xmm10\n\t" \ - "pcmpeqw %%xmm15,%%xmm3\n\t" \ - "psrad $16,%%xmm6\n\t" \ - "psubw %%xmm14,%%xmm3\n\t" \ - "packssdw %%xmm6,%%xmm10\n\t" \ - "paddw %%xmm3,%%xmm10\n\t" \ - /*xmm2=_y[2]=u \ - xmm10=s=(25080*u>>16)-t2''*/ \ - "movdqa %%xmm10,%%xmm2\n\t" \ - "pmulhw %%xmm13,%%xmm10\n\t" \ - "psubw %%xmm12,%%xmm10\n\t" \ - /*xmm1:xmm6=s*21600+0x2800*/ \ - "pxor %%xmm12,%%xmm12\n\t" \ - "psubw %%xmm14,%%xmm12\n\t" \ - "mov $0x28005460,%[a]\n\t" \ - "movd %[a],%%xmm13\n\t" \ - "pshufd $00,%%xmm13,%%xmm13\n\t" \ - "movdqa %%xmm10,%%xmm6\n\t" \ - "movdqa %%xmm10,%%xmm1\n\t" \ - "punpcklwd %%xmm12,%%xmm6\n\t" \ - "pmaddwd %%xmm13,%%xmm6\n\t" \ - "mov $0x0E3D,%[a]\n\t" \ - "punpckhwd %%xmm12,%%xmm1\n\t" \ - "pmaddwd %%xmm13,%%xmm1\n\t" \ - /*xmm6=(s*21600+0x2800>>18)+s*/ \ - "psrad $18,%%xmm6\n\t" \ - "psrad $18,%%xmm1\n\t" \ - "movd %[a],%%xmm12\n\t" \ - "packssdw %%xmm1,%%xmm6\n\t" \ - "pshufd $00,%%xmm12,%%xmm12\n\t" \ - "paddw %%xmm10,%%xmm6\n\t" \ - /*xmm6=_y[6]=v=(s*21600+0x2800>>18)+s+(s!=0)*/ \ - "mov $0x7FFF54DC,%[a]\n\t" \ - "pcmpeqw %%xmm15,%%xmm10\n\t" \ - "movd %[a],%%xmm13\n\t" \ - "psubw %%xmm14,%%xmm10\n\t" \ - "pshufd $00,%%xmm13,%%xmm13\n\t" \ - "paddw %%xmm10,%%xmm6\n\t " \ - /*xmm1,xmm3,xmm10,xmm11 are free.*/ \ - /*xmm11:xmm10=54491*t5'''+0x0E3D*/ \ - "movdqa %%xmm5,%%xmm10\n\t" \ - "movdqa %%xmm5,%%xmm11\n\t" \ - "punpcklwd %%xmm5,%%xmm10\n\t" \ - "pmaddwd %%xmm13,%%xmm10\n\t" \ - "mov $0x8E3A8E3A,%[a]\n\t" \ - "punpckhwd %%xmm5,%%xmm11\n\t" \ - "pmaddwd %%xmm13,%%xmm11\n\t" \ - "movd %[a],%%xmm13\n\t" \ - "paddd %%xmm12,%%xmm10\n\t" \ - "pshufd $00,%%xmm13,%%xmm13\n\t" \ - "paddd %%xmm12,%%xmm11\n\t" \ - /*xmm7:xmm12=36410*t6''' \ - xmm1=t6'''*/ \ - "movdqa %%xmm7,%%xmm3\n\t" \ - "movdqa %%xmm7,%%xmm1\n\t" \ - "pmulhw %%xmm13,%%xmm3\n\t" \ - "pmullw %%xmm13,%%xmm7\n\t" \ - "paddw %%xmm1,%%xmm3\n\t" \ - "movdqa %%xmm7,%%xmm12\n\t" \ - "punpckhwd %%xmm3,%%xmm7\n\t" \ - "punpcklwd %%xmm3,%%xmm12\n\t" \ - /*xmm10=u=(54491*t5'''+36410*t6'''+0x0E3D>>16)+(t5'''!=0)*/ \ - "paddd %%xmm12,%%xmm10\n\t" \ - "paddd %%xmm7,%%xmm11\n\t" \ - "psrad $16,%%xmm10\n\t" \ - "pcmpeqw %%xmm15,%%xmm5\n\t" \ - "psrad $16,%%xmm11\n\t" \ - "psubw %%xmm14,%%xmm5\n\t" \ - "packssdw %%xmm11,%%xmm10\n\t" \ - "pxor %%xmm12,%%xmm12\n\t" \ - "paddw %%xmm5,%%xmm10\n\t" \ - /*xmm5=_y[5]=u \ - xmm1=s=t6'''-(36410*u>>16)*/ \ - "psubw %%xmm14,%%xmm12\n\t" \ - "movdqa %%xmm10,%%xmm5\n\t" \ - "mov $0x340067C8,%[a]\n\t" \ - "pmulhw %%xmm13,%%xmm10\n\t" \ - "movd %[a],%%xmm13\n\t" \ - "paddw %%xmm5,%%xmm10\n\t" \ - "pshufd $00,%%xmm13,%%xmm13\n\t" \ - "psubw %%xmm10,%%xmm1\n\t" \ - /*xmm11:xmm3=s*26568+0x3400*/ \ - "movdqa %%xmm1,%%xmm3\n\t" \ - "movdqa %%xmm1,%%xmm11\n\t" \ - "punpcklwd %%xmm12,%%xmm3\n\t" \ - "pmaddwd %%xmm13,%%xmm3\n\t" \ - "mov $0x7B1B,%[a]\n\t" \ - "punpckhwd %%xmm12,%%xmm11\n\t" \ - "pmaddwd %%xmm13,%%xmm11\n\t" \ - /*xmm3=(s*26568+0x3400>>17)+s*/ \ - "psrad $17,%%xmm3\n\t" \ - "psrad $17,%%xmm11\n\t" \ - "movd %[a],%%xmm12\n\t" \ - "packssdw %%xmm11,%%xmm3\n\t" \ - "pshufd $00,%%xmm12,%%xmm12\n\t" \ - "paddw %%xmm1,%%xmm3\n\t" \ - /*xmm3=_y[3]=v=(s*26568+0x3400>>17)+s+(s!=0)*/ \ - "mov $0x7FFF7B16,%[a]\n\t" \ - "pcmpeqw %%xmm15,%%xmm1\n\t" \ - "movd %[a],%%xmm13\n\t" \ - "psubw %%xmm14,%%xmm1\n\t" \ - "pshufd $00,%%xmm13,%%xmm13\n\t" \ - "paddw %%xmm1,%%xmm3\n\t " \ - /*xmm1,xmm7,xmm10,xmm11 are free.*/ \ - /*xmm11:xmm10=64277*t7''+0x7B1B*/ \ - "movdqa %%xmm9,%%xmm10\n\t" \ - "movdqa %%xmm9,%%xmm11\n\t" \ - "punpcklwd %%xmm9,%%xmm10\n\t" \ - "pmaddwd %%xmm13,%%xmm10\n\t" \ - "mov $0x31F131F1,%[a]\n\t" \ - "punpckhwd %%xmm9,%%xmm11\n\t" \ - "pmaddwd %%xmm13,%%xmm11\n\t" \ - "movd %[a],%%xmm13\n\t" \ - "paddd %%xmm12,%%xmm10\n\t" \ - "pshufd $00,%%xmm13,%%xmm13\n\t" \ - "paddd %%xmm12,%%xmm11\n\t" \ - /*xmm12:xmm7=12785*t4''*/ \ - "movdqa %%xmm8,%%xmm7\n\t" \ - "movdqa %%xmm8,%%xmm1\n\t" \ - "pmullw %%xmm13,%%xmm7\n\t" \ - "pmulhw %%xmm13,%%xmm1\n\t" \ - "movdqa %%xmm7,%%xmm12\n\t" \ - "punpcklwd %%xmm1,%%xmm7\n\t" \ - "punpckhwd %%xmm1,%%xmm12\n\t" \ - /*xmm10=u=(12785*t4''+64277*t7''+0x7B1B>>16)+(t7''!=0)*/ \ - "paddd %%xmm7,%%xmm10\n\t" \ - "paddd %%xmm12,%%xmm11\n\t" \ - "psrad $16,%%xmm10\n\t" \ - "pcmpeqw %%xmm15,%%xmm9\n\t" \ - "psrad $16,%%xmm11\n\t" \ - "psubw %%xmm14,%%xmm9\n\t" \ - "packssdw %%xmm11,%%xmm10\n\t" \ - "pxor %%xmm12,%%xmm12\n\t" \ - "paddw %%xmm9,%%xmm10\n\t" \ - /*xmm1=_y[1]=u \ - xmm10=s=(12785*u>>16)-t4''*/ \ - "psubw %%xmm14,%%xmm12\n\t" \ - "movdqa %%xmm10,%%xmm1\n\t" \ - "mov $0x3000503B,%[a]\n\t" \ - "pmulhw %%xmm13,%%xmm10\n\t" \ - "movd %[a],%%xmm13\n\t" \ - "psubw %%xmm8,%%xmm10\n\t" \ - "pshufd $00,%%xmm13,%%xmm13\n\t" \ - /*xmm8:xmm7=s*20539+0x3000*/ \ - "movdqa %%xmm10,%%xmm7\n\t" \ - "movdqa %%xmm10,%%xmm8\n\t" \ - "punpcklwd %%xmm12,%%xmm7\n\t" \ - "pmaddwd %%xmm13,%%xmm7\n\t" \ - "punpckhwd %%xmm12,%%xmm8\n\t" \ - "pmaddwd %%xmm13,%%xmm8\n\t" \ - /*xmm7=(s*20539+0x3000>>20)+s*/ \ - "psrad $20,%%xmm7\n\t" \ - "psrad $20,%%xmm8\n\t" \ - "packssdw %%xmm8,%%xmm7\n\t" \ - "paddw %%xmm10,%%xmm7\n\t" \ - /*xmm7=_y[7]=v=(s*20539+0x3000>>20)+s+(s!=0)*/ \ - "pcmpeqw %%xmm15,%%xmm10\n\t" \ - "psubw %%xmm14,%%xmm10\n\t" \ - "paddw %%xmm10,%%xmm7\n\t " \ - -# define OC_TRANSPOSE8x8 \ - "#OC_TRANSPOSE8x8\n\t" \ - "movdqa %%xmm4,%%xmm8\n\t" \ - /*xmm4 = f3 e3 f2 e2 f1 e1 f0 e0*/ \ - "punpcklwd %%xmm5,%%xmm4\n\t" \ - /*xmm8 = f7 e7 f6 e6 f5 e5 f4 e4*/ \ - "punpckhwd %%xmm5,%%xmm8\n\t" \ - /*xmm5 is free.*/ \ - "movdqa %%xmm0,%%xmm5\n\t" \ - /*xmm0 = b3 a3 b2 a2 b1 a1 b0 a0*/ \ - "punpcklwd %%xmm1,%%xmm0\n\t" \ - /*xmm5 = b7 a7 b6 a6 b5 a5 b4 a4*/ \ - "punpckhwd %%xmm1,%%xmm5\n\t" \ - /*xmm1 is free.*/ \ - "movdqa %%xmm6,%%xmm1\n\t" \ - /*xmm6 = h3 g3 h2 g2 h1 g1 h0 g0*/ \ - "punpcklwd %%xmm7,%%xmm6\n\t" \ - /*xmm1 = h7 g7 h6 g6 h5 g5 h4 g4*/ \ - "punpckhwd %%xmm7,%%xmm1\n\t" \ - /*xmm7 is free.*/ \ - "movdqa %%xmm2,%%xmm7\n\t" \ - /*xmm7 = d3 c3 d2 c2 d1 c1 d0 c0*/ \ - "punpcklwd %%xmm3,%%xmm7\n\t" \ - /*xmm2 = d7 c7 d6 c6 d5 c5 d4 c4*/ \ - "punpckhwd %%xmm3,%%xmm2\n\t" \ - /*xmm3 is free.*/ \ - "movdqa %%xmm0,%%xmm3\n\t" \ - /*xmm0 = d1 c1 b1 a1 d0 c0 b0 a0*/ \ - "punpckldq %%xmm7,%%xmm0\n\t" \ - /*xmm3 = d3 c3 b3 a3 d2 c2 b2 a2*/ \ - "punpckhdq %%xmm7,%%xmm3\n\t" \ - /*xmm7 is free.*/ \ - "movdqa %%xmm5,%%xmm7\n\t" \ - /*xmm5 = d5 c5 b5 a5 d4 c4 b4 a4*/ \ - "punpckldq %%xmm2,%%xmm5\n\t" \ - /*xmm7 = d7 c7 b7 a7 d6 c6 b6 a6*/ \ - "punpckhdq %%xmm2,%%xmm7\n\t" \ - /*xmm2 is free.*/ \ - "movdqa %%xmm4,%%xmm2\n\t" \ - /*xmm2 = h1 g1 f1 e1 h0 g0 f0 e0*/ \ - "punpckldq %%xmm6,%%xmm2\n\t" \ - /*xmm4 = h3 g3 f3 e3 h2 g2 f2 e2*/ \ - "punpckhdq %%xmm6,%%xmm4\n\t" \ - /*xmm6 is free.*/ \ - "movdqa %%xmm8,%%xmm6\n\t" \ - /*xmm6 = h5 g5 f5 e5 h4 g4 f4 e4*/ \ - "punpckldq %%xmm1,%%xmm6\n\t" \ - /*xmm8 = h7 g7 f7 e7 h6 g6 f6 e6*/ \ - "punpckhdq %%xmm1,%%xmm8\n\t" \ - /*xmm1 is free.*/ \ - "movdqa %%xmm0,%%xmm1\n\t" \ - /*xmm0 = h0 g0 f0 e0 d0 c0 b0 a0*/ \ - "punpcklqdq %%xmm2,%%xmm0\n\t" \ - /*xmm1 = h1 g1 f1 e1 d1 c1 b1 a1*/ \ - "punpckhqdq %%xmm2,%%xmm1\n\t" \ - /*xmm2 is free.*/ \ - "movdqa %%xmm3,%%xmm2\n\t" \ - /*xmm2 = h2 g2 f2 e2 d2 c2 b2 a2*/ \ - "punpcklqdq %%xmm4,%%xmm2\n\t" \ - /*xmm3 = h3 g3 f3 e3 d3 c3 b3 a3*/ \ - "punpckhqdq %%xmm4,%%xmm3\n\t" \ - /*xmm4 is free.*/ \ - "movdqa %%xmm5,%%xmm4\n\t" \ - /*xmm4 = h4 g4 f4 e4 d4 c4 b4 a4*/ \ - "punpcklqdq %%xmm6,%%xmm4\n\t" \ - /*xmm5 = h5 g5 f5 e5 d5 c5 b5 a5*/ \ - "punpckhqdq %%xmm6,%%xmm5\n\t" \ - /*xmm6 is free.*/ \ - "movdqa %%xmm7,%%xmm6\n\t" \ - /*xmm6 = h6 g6 f6 e6 d6 c6 b6 a6*/ \ - "punpcklqdq %%xmm8,%%xmm6\n\t" \ - /*xmm7 = h7 g7 f7 e7 d7 c7 b7 a7*/ \ - "punpckhqdq %%xmm8,%%xmm7\n\t" \ - /*xmm8 is free.*/ \ - -/*SSE2 implementation of the fDCT for x86-64 only. - Because of the 8 extra XMM registers on x86-64, this version can operate - without any temporary stack access at all.*/ -void oc_enc_fdct8x8_x86_64sse2(ogg_int16_t _y[64],const ogg_int16_t _x[64]){ - ptrdiff_t a; - __asm__ __volatile__( - /*Load the input.*/ - "movdqa 0x00(%[x]),%%xmm0\n\t" - "movdqa 0x10(%[x]),%%xmm1\n\t" - "movdqa 0x20(%[x]),%%xmm2\n\t" - "movdqa 0x30(%[x]),%%xmm3\n\t" - "movdqa 0x40(%[x]),%%xmm4\n\t" - "movdqa 0x50(%[x]),%%xmm5\n\t" - "movdqa 0x60(%[x]),%%xmm6\n\t" - "movdqa 0x70(%[x]),%%xmm7\n\t" - /*Add two extra bits of working precision to improve accuracy; any more and - we could overflow.*/ - /*We also add a few biases to correct for some systematic error that - remains in the full fDCT->iDCT round trip.*/ - /*xmm15={0}x8*/ - "pxor %%xmm15,%%xmm15\n\t" - /*xmm14={-1}x8*/ - "pcmpeqb %%xmm14,%%xmm14\n\t" - "psllw $2,%%xmm0\n\t" - /*xmm8=xmm0*/ - "movdqa %%xmm0,%%xmm8\n\t" - "psllw $2,%%xmm1\n\t" - /*xmm8={_x[7...0]==0}*/ - "pcmpeqw %%xmm15,%%xmm8\n\t" - "psllw $2,%%xmm2\n\t" - /*xmm8={_x[7...0]!=0}*/ - "psubw %%xmm14,%%xmm8\n\t" - "psllw $2,%%xmm3\n\t" - /*%[a]=1*/ - "mov $1,%[a]\n\t" - /*xmm8={_x[6]!=0,0,_x[4]!=0,0,_x[2]!=0,0,_x[0]!=0,0}*/ - "pslld $16,%%xmm8\n\t" - "psllw $2,%%xmm4\n\t" - /*xmm9={0,0,0,0,0,0,0,1}*/ - "movd %[a],%%xmm9\n\t" - /*xmm8={0,0,_x[2]!=0,0,_x[0]!=0,0}*/ - "pshufhw $0x00,%%xmm8,%%xmm8\n\t" - "psllw $2,%%xmm5\n\t" - /*%[a]={1}x2*/ - "mov $0x10001,%[a]\n\t" - /*xmm8={0,0,0,0,0,0,0,_x[0]!=0}*/ - "pshuflw $0x01,%%xmm8,%%xmm8\n\t" - "psllw $2,%%xmm6\n\t" - /*xmm10={0,0,0,0,0,0,1,1}*/ - "movd %[a],%%xmm10\n\t" - /*xmm0=_x[7...0]+{0,0,0,0,0,0,0,_x[0]!=0}*/ - "paddw %%xmm8,%%xmm0\n\t" - "psllw $2,%%xmm7\n\t" - /*xmm0=_x[7...0]+{0,0,0,0,0,0,1,(_x[0]!=0)+1}*/ - "paddw %%xmm10,%%xmm0\n\t" - /*xmm1=_x[15...8]-{0,0,0,0,0,0,0,1}*/ - "psubw %%xmm9,%%xmm1\n\t" - /*Transform columns.*/ - OC_FDCT8x8 - /*Transform rows.*/ - OC_TRANSPOSE8x8 - OC_FDCT8x8 - /*TODO: zig-zag ordering?*/ - OC_TRANSPOSE8x8 - /*xmm14={-2,-2,-2,-2,-2,-2,-2,-2}*/ - "paddw %%xmm14,%%xmm14\n\t" - "psubw %%xmm14,%%xmm0\n\t" - "psubw %%xmm14,%%xmm1\n\t" - "psraw $2,%%xmm0\n\t" - "psubw %%xmm14,%%xmm2\n\t" - "psraw $2,%%xmm1\n\t" - "psubw %%xmm14,%%xmm3\n\t" - "psraw $2,%%xmm2\n\t" - "psubw %%xmm14,%%xmm4\n\t" - "psraw $2,%%xmm3\n\t" - "psubw %%xmm14,%%xmm5\n\t" - "psraw $2,%%xmm4\n\t" - "psubw %%xmm14,%%xmm6\n\t" - "psraw $2,%%xmm5\n\t" - "psubw %%xmm14,%%xmm7\n\t" - "psraw $2,%%xmm6\n\t" - "psraw $2,%%xmm7\n\t" - /*Store the result.*/ - "movdqa %%xmm0,0x00(%[y])\n\t" - "movdqa %%xmm1,0x10(%[y])\n\t" - "movdqa %%xmm2,0x20(%[y])\n\t" - "movdqa %%xmm3,0x30(%[y])\n\t" - "movdqa %%xmm4,0x40(%[y])\n\t" - "movdqa %%xmm5,0x50(%[y])\n\t" - "movdqa %%xmm6,0x60(%[y])\n\t" - "movdqa %%xmm7,0x70(%[y])\n\t" - :[a]"=&r"(a) - :[y]"r"(_y),[x]"r"(_x) - :"memory" - ); -} -#endif diff --git a/Libraries/libtheora-1.1.1/lib/x86/x86enc.c b/Libraries/libtheora-1.1.1/lib/x86/x86enc.c deleted file mode 100644 index 43b7be3e..00000000 --- a/Libraries/libtheora-1.1.1/lib/x86/x86enc.c +++ /dev/null @@ -1,49 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: x86state.c 15675 2009-02-06 09:43:27Z tterribe $ - - ********************************************************************/ -#include "x86enc.h" - -#if defined(OC_X86_ASM) - -#include "../cpu.c" - -void oc_enc_vtable_init_x86(oc_enc_ctx *_enc){ - ogg_uint32_t cpu_flags; - cpu_flags=oc_cpu_flags_get(); - oc_enc_vtable_init_c(_enc); - if(cpu_flags&OC_CPU_X86_MMX){ - _enc->opt_vtable.frag_sub=oc_enc_frag_sub_mmx; - _enc->opt_vtable.frag_sub_128=oc_enc_frag_sub_128_mmx; - _enc->opt_vtable.frag_recon_intra=oc_frag_recon_intra_mmx; - _enc->opt_vtable.frag_recon_inter=oc_frag_recon_inter_mmx; - _enc->opt_vtable.fdct8x8=oc_enc_fdct8x8_mmx; - } - if(cpu_flags&OC_CPU_X86_MMXEXT){ - _enc->opt_vtable.frag_sad=oc_enc_frag_sad_mmxext; - _enc->opt_vtable.frag_sad_thresh=oc_enc_frag_sad_thresh_mmxext; - _enc->opt_vtable.frag_sad2_thresh=oc_enc_frag_sad2_thresh_mmxext; - _enc->opt_vtable.frag_satd_thresh=oc_enc_frag_satd_thresh_mmxext; - _enc->opt_vtable.frag_satd2_thresh=oc_enc_frag_satd2_thresh_mmxext; - _enc->opt_vtable.frag_intra_satd=oc_enc_frag_intra_satd_mmxext; - _enc->opt_vtable.frag_copy2=oc_enc_frag_copy2_mmxext; - } - if(cpu_flags&OC_CPU_X86_SSE2){ -# if defined(OC_X86_64_ASM) - /*_enc->opt_vtable.fdct8x8=oc_enc_fdct8x8_x86_64sse2;*/ -# endif - } -} -#endif diff --git a/Libraries/libtheora-1.1.1/lib/x86/x86enc.h b/Libraries/libtheora-1.1.1/lib/x86/x86enc.h deleted file mode 100644 index 06c3908b..00000000 --- a/Libraries/libtheora-1.1.1/lib/x86/x86enc.h +++ /dev/null @@ -1,47 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: x86int.h 15675 2009-02-06 09:43:27Z tterribe $ - - ********************************************************************/ - -#if !defined(_x86_x86enc_H) -# define _x86_x86enc_H (1) -# include "../encint.h" -# include "x86int.h" - -void oc_enc_vtable_init_x86(oc_enc_ctx *_enc); - -unsigned oc_enc_frag_sad_mmxext(const unsigned char *_src, - const unsigned char *_ref,int _ystride); -unsigned oc_enc_frag_sad_thresh_mmxext(const unsigned char *_src, - const unsigned char *_ref,int _ystride,unsigned _thresh); -unsigned oc_enc_frag_sad2_thresh_mmxext(const unsigned char *_src, - const unsigned char *_ref1,const unsigned char *_ref2,int _ystride, - unsigned _thresh); -unsigned oc_enc_frag_satd_thresh_mmxext(const unsigned char *_src, - const unsigned char *_ref,int _ystride,unsigned _thresh); -unsigned oc_enc_frag_satd2_thresh_mmxext(const unsigned char *_src, - const unsigned char *_ref1,const unsigned char *_ref2,int _ystride, - unsigned _thresh); -unsigned oc_enc_frag_intra_satd_mmxext(const unsigned char *_src,int _ystride); -void oc_enc_frag_sub_mmx(ogg_int16_t _diff[64], - const unsigned char *_x,const unsigned char *_y,int _stride); -void oc_enc_frag_sub_128_mmx(ogg_int16_t _diff[64], - const unsigned char *_x,int _stride); -void oc_enc_frag_copy2_mmxext(unsigned char *_dst, - const unsigned char *_src1,const unsigned char *_src2,int _ystride); -void oc_enc_fdct8x8_mmx(ogg_int16_t _y[64],const ogg_int16_t _x[64]); -void oc_enc_fdct8x8_x86_64sse2(ogg_int16_t _y[64],const ogg_int16_t _x[64]); - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/x86/x86int.h b/Libraries/libtheora-1.1.1/lib/x86/x86int.h deleted file mode 100644 index ede724f5..00000000 --- a/Libraries/libtheora-1.1.1/lib/x86/x86int.h +++ /dev/null @@ -1,42 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: x86int.h 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#if !defined(_x86_x86int_H) -# define _x86_x86int_H (1) -# include "../internal.h" - -void oc_state_vtable_init_x86(oc_theora_state *_state); - -void oc_frag_copy_mmx(unsigned char *_dst, - const unsigned char *_src,int _ystride); -void oc_frag_recon_intra_mmx(unsigned char *_dst,int _ystride, - const ogg_int16_t *_residue); -void oc_frag_recon_inter_mmx(unsigned char *_dst, - const unsigned char *_src,int _ystride,const ogg_int16_t *_residue); -void oc_frag_recon_inter2_mmx(unsigned char *_dst,const unsigned char *_src1, - const unsigned char *_src2,int _ystride,const ogg_int16_t *_residue); -void oc_idct8x8_mmx(ogg_int16_t _y[64],int _last_zzi); -void oc_state_frag_recon_mmx(const oc_theora_state *_state,ptrdiff_t _fragi, - int _pli,ogg_int16_t _dct_coeffs[64],int _last_zzi,ogg_uint16_t _dc_quant); -void oc_state_frag_copy_list_mmx(const oc_theora_state *_state, - const ptrdiff_t *_fragis,ptrdiff_t _nfragis, - int _dst_frame,int _src_frame,int _pli); -void oc_state_loop_filter_frag_rows_mmx(const oc_theora_state *_state, - int _bv[256],int _refi,int _pli,int _fragy0,int _fragy_end); -void oc_restore_fpu_mmx(void); - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/x86/x86state.c b/Libraries/libtheora-1.1.1/lib/x86/x86state.c deleted file mode 100644 index a786bec2..00000000 --- a/Libraries/libtheora-1.1.1/lib/x86/x86state.c +++ /dev/null @@ -1,62 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: x86state.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#include "x86int.h" - -#if defined(OC_X86_ASM) - -#include "../cpu.c" - -/*This table has been modified from OC_FZIG_ZAG by baking a 4x4 transpose into - each quadrant of the destination.*/ -static const unsigned char OC_FZIG_ZAG_MMX[128]={ - 0, 8, 1, 2, 9,16,24,17, - 10, 3,32,11,18,25, 4,12, - 5,26,19,40,33,34,41,48, - 27, 6,13,20,28,21,14, 7, - 56,49,42,35,43,50,57,36, - 15,22,29,30,23,44,37,58, - 51,59,38,45,52,31,60,53, - 46,39,47,54,61,62,55,63, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, -}; - -void oc_state_vtable_init_x86(oc_theora_state *_state){ - _state->cpu_flags=oc_cpu_flags_get(); - if(_state->cpu_flags&OC_CPU_X86_MMX){ - _state->opt_vtable.frag_copy=oc_frag_copy_mmx; - _state->opt_vtable.frag_recon_intra=oc_frag_recon_intra_mmx; - _state->opt_vtable.frag_recon_inter=oc_frag_recon_inter_mmx; - _state->opt_vtable.frag_recon_inter2=oc_frag_recon_inter2_mmx; - _state->opt_vtable.idct8x8=oc_idct8x8_mmx; - _state->opt_vtable.state_frag_recon=oc_state_frag_recon_mmx; - _state->opt_vtable.state_frag_copy_list=oc_state_frag_copy_list_mmx; - _state->opt_vtable.state_loop_filter_frag_rows= - oc_state_loop_filter_frag_rows_mmx; - _state->opt_vtable.restore_fpu=oc_restore_fpu_mmx; - _state->opt_data.dct_fzig_zag=OC_FZIG_ZAG_MMX; - } - else oc_state_vtable_init_c(_state); -} -#endif diff --git a/Libraries/libtheora-1.1.1/lib/x86_vc/mmxencfrag.c b/Libraries/libtheora-1.1.1/lib/x86_vc/mmxencfrag.c deleted file mode 100644 index ac9dacf3..00000000 --- a/Libraries/libtheora-1.1.1/lib/x86_vc/mmxencfrag.c +++ /dev/null @@ -1,969 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: dsp_mmx.c 14579 2008-03-12 06:42:40Z xiphmont $ - - ********************************************************************/ -#include -#include "x86enc.h" - -#if defined(OC_X86_ASM) - -unsigned oc_enc_frag_sad_mmxext(const unsigned char *_src, - const unsigned char *_ref,int _ystride){ - ptrdiff_t ret; - __asm{ -#define SRC esi -#define REF edx -#define YSTRIDE ecx -#define YSTRIDE3 edi - mov YSTRIDE,_ystride - mov SRC,_src - mov REF,_ref - /*Load the first 4 rows of each block.*/ - movq mm0,[SRC] - movq mm1,[REF] - movq mm2,[SRC][YSTRIDE] - movq mm3,[REF][YSTRIDE] - lea YSTRIDE3,[YSTRIDE+YSTRIDE*2] - movq mm4,[SRC+YSTRIDE*2] - movq mm5,[REF+YSTRIDE*2] - movq mm6,[SRC+YSTRIDE3] - movq mm7,[REF+YSTRIDE3] - /*Compute their SADs and add them in mm0*/ - psadbw mm0,mm1 - psadbw mm2,mm3 - lea SRC,[SRC+YSTRIDE*4] - paddw mm0,mm2 - lea REF,[REF+YSTRIDE*4] - /*Load the next 3 rows as registers become available.*/ - movq mm2,[SRC] - movq mm3,[REF] - psadbw mm4,mm5 - psadbw mm6,mm7 - paddw mm0,mm4 - movq mm5,[REF+YSTRIDE] - movq mm4,[SRC+YSTRIDE] - paddw mm0,mm6 - movq mm7,[REF+YSTRIDE*2] - movq mm6,[SRC+YSTRIDE*2] - /*Start adding their SADs to mm0*/ - psadbw mm2,mm3 - psadbw mm4,mm5 - paddw mm0,mm2 - psadbw mm6,mm7 - /*Load last row as registers become available.*/ - movq mm2,[SRC+YSTRIDE3] - movq mm3,[REF+YSTRIDE3] - /*And finish adding up their SADs.*/ - paddw mm0,mm4 - psadbw mm2,mm3 - paddw mm0,mm6 - paddw mm0,mm2 - movd [ret],mm0 -#undef SRC -#undef REF -#undef YSTRIDE -#undef YSTRIDE3 - } - return (unsigned)ret; -} - -unsigned oc_enc_frag_sad_thresh_mmxext(const unsigned char *_src, - const unsigned char *_ref,int _ystride,unsigned _thresh){ - /*Early termination is for suckers.*/ - return oc_enc_frag_sad_mmxext(_src,_ref,_ystride); -} - -#define OC_SAD2_LOOP __asm{ \ - /*We want to compute (mm0+mm1>>1) on unsigned bytes without overflow, but \ - pavgb computes (mm0+mm1+1>>1). \ - The latter is exactly 1 too large when the low bit of two corresponding \ - bytes is only set in one of them. \ - Therefore we pxor the operands, pand to mask out the low bits, and psubb to \ - correct the output of pavgb.*/ \ - __asm movq mm6,mm0 \ - __asm lea REF1,[REF1+YSTRIDE*2] \ - __asm pxor mm0,mm1 \ - __asm pavgb mm6,mm1 \ - __asm lea REF2,[REF2+YSTRIDE*2] \ - __asm movq mm1,mm2 \ - __asm pand mm0,mm7 \ - __asm pavgb mm2,mm3 \ - __asm pxor mm1,mm3 \ - __asm movq mm3,[REF2+YSTRIDE] \ - __asm psubb mm6,mm0 \ - __asm movq mm0,[REF1] \ - __asm pand mm1,mm7 \ - __asm psadbw mm4,mm6 \ - __asm movd mm6,RET \ - __asm psubb mm2,mm1 \ - __asm movq mm1,[REF2] \ - __asm lea SRC,[SRC+YSTRIDE*2] \ - __asm psadbw mm5,mm2 \ - __asm movq mm2,[REF1+YSTRIDE] \ - __asm paddw mm5,mm4 \ - __asm movq mm4,[SRC] \ - __asm paddw mm6,mm5 \ - __asm movq mm5,[SRC+YSTRIDE] \ - __asm movd RET,mm6 \ -} - -/*Same as above, but does not pre-load the next two rows.*/ -#define OC_SAD2_TAIL __asm{ \ - __asm movq mm6,mm0 \ - __asm pavgb mm0,mm1 \ - __asm pxor mm6,mm1 \ - __asm movq mm1,mm2 \ - __asm pand mm6,mm7 \ - __asm pavgb mm2,mm3 \ - __asm pxor mm1,mm3 \ - __asm psubb mm0,mm6 \ - __asm pand mm1,mm7 \ - __asm psadbw mm4,mm0 \ - __asm psubb mm2,mm1 \ - __asm movd mm6,RET \ - __asm psadbw mm5,mm2 \ - __asm paddw mm5,mm4 \ - __asm paddw mm6,mm5 \ - __asm movd RET,mm6 \ -} - -unsigned oc_enc_frag_sad2_thresh_mmxext(const unsigned char *_src, - const unsigned char *_ref1,const unsigned char *_ref2,int _ystride, - unsigned _thresh){ - ptrdiff_t ret; - __asm{ -#define REF1 ecx -#define REF2 edi -#define YSTRIDE esi -#define SRC edx -#define RET eax - mov YSTRIDE,_ystride - mov SRC,_src - mov REF1,_ref1 - mov REF2,_ref2 - movq mm0,[REF1] - movq mm1,[REF2] - movq mm2,[REF1+YSTRIDE] - movq mm3,[REF2+YSTRIDE] - xor RET,RET - movq mm4,[SRC] - pxor mm7,mm7 - pcmpeqb mm6,mm6 - movq mm5,[SRC+YSTRIDE] - psubb mm7,mm6 - OC_SAD2_LOOP - OC_SAD2_LOOP - OC_SAD2_LOOP - OC_SAD2_TAIL - mov [ret],RET -#undef REF1 -#undef REF2 -#undef YSTRIDE -#undef SRC -#undef RET - } - return (unsigned)ret; -} - -/*Load an 8x4 array of pixel values from %[src] and %[ref] and compute their - 16-bit difference in mm0...mm7.*/ -#define OC_LOAD_SUB_8x4(_off) __asm{ \ - __asm movd mm0,[_off+SRC] \ - __asm movd mm4,[_off+REF] \ - __asm movd mm1,[_off+SRC+SRC_YSTRIDE] \ - __asm lea SRC,[SRC+SRC_YSTRIDE*2] \ - __asm movd mm5,[_off+REF+REF_YSTRIDE] \ - __asm lea REF,[REF+REF_YSTRIDE*2] \ - __asm movd mm2,[_off+SRC] \ - __asm movd mm7,[_off+REF] \ - __asm movd mm3,[_off+SRC+SRC_YSTRIDE] \ - __asm movd mm6,[_off+REF+REF_YSTRIDE] \ - __asm punpcklbw mm0,mm4 \ - __asm lea SRC,[SRC+SRC_YSTRIDE*2] \ - __asm punpcklbw mm4,mm4 \ - __asm lea REF,[REF+REF_YSTRIDE*2] \ - __asm psubw mm0,mm4 \ - __asm movd mm4,[_off+SRC] \ - __asm movq [_off*2+BUF],mm0 \ - __asm movd mm0,[_off+REF] \ - __asm punpcklbw mm1,mm5 \ - __asm punpcklbw mm5,mm5 \ - __asm psubw mm1,mm5 \ - __asm movd mm5,[_off+SRC+SRC_YSTRIDE] \ - __asm punpcklbw mm2,mm7 \ - __asm punpcklbw mm7,mm7 \ - __asm psubw mm2,mm7 \ - __asm movd mm7,[_off+REF+REF_YSTRIDE] \ - __asm punpcklbw mm3,mm6 \ - __asm lea SRC,[SRC+SRC_YSTRIDE*2] \ - __asm punpcklbw mm6,mm6 \ - __asm psubw mm3,mm6 \ - __asm movd mm6,[_off+SRC] \ - __asm punpcklbw mm4,mm0 \ - __asm lea REF,[REF+REF_YSTRIDE*2] \ - __asm punpcklbw mm0,mm0 \ - __asm lea SRC,[SRC+SRC_YSTRIDE*2] \ - __asm psubw mm4,mm0 \ - __asm movd mm0,[_off+REF] \ - __asm punpcklbw mm5,mm7 \ - __asm neg SRC_YSTRIDE \ - __asm punpcklbw mm7,mm7 \ - __asm psubw mm5,mm7 \ - __asm movd mm7,[_off+SRC+SRC_YSTRIDE] \ - __asm punpcklbw mm6,mm0 \ - __asm lea REF,[REF+REF_YSTRIDE*2] \ - __asm punpcklbw mm0,mm0 \ - __asm neg REF_YSTRIDE \ - __asm psubw mm6,mm0 \ - __asm movd mm0,[_off+REF+REF_YSTRIDE] \ - __asm lea SRC,[SRC+SRC_YSTRIDE*8] \ - __asm punpcklbw mm7,mm0 \ - __asm neg SRC_YSTRIDE \ - __asm punpcklbw mm0,mm0 \ - __asm lea REF,[REF+REF_YSTRIDE*8] \ - __asm psubw mm7,mm0 \ - __asm neg REF_YSTRIDE \ - __asm movq mm0,[_off*2+BUF] \ -} - -/*Load an 8x4 array of pixel values from %[src] into %%mm0...%%mm7.*/ -#define OC_LOAD_8x4(_off) __asm{ \ - __asm movd mm0,[_off+SRC] \ - __asm movd mm1,[_off+SRC+YSTRIDE] \ - __asm movd mm2,[_off+SRC+YSTRIDE*2] \ - __asm pxor mm7,mm7 \ - __asm movd mm3,[_off+SRC+YSTRIDE3] \ - __asm punpcklbw mm0,mm7 \ - __asm movd mm4,[_off+SRC4] \ - __asm punpcklbw mm1,mm7 \ - __asm movd mm5,[_off+SRC4+YSTRIDE] \ - __asm punpcklbw mm2,mm7 \ - __asm movd mm6,[_off+SRC4+YSTRIDE*2] \ - __asm punpcklbw mm3,mm7 \ - __asm movd mm7,[_off+SRC4+YSTRIDE3] \ - __asm punpcklbw mm4,mm4 \ - __asm punpcklbw mm5,mm5 \ - __asm psrlw mm4,8 \ - __asm psrlw mm5,8 \ - __asm punpcklbw mm6,mm6 \ - __asm punpcklbw mm7,mm7 \ - __asm psrlw mm6,8 \ - __asm psrlw mm7,8 \ -} - -/*Performs the first two stages of an 8-point 1-D Hadamard transform. - The transform is performed in place, except that outputs 0-3 are swapped with - outputs 4-7. - Outputs 2, 3, 6 and 7 from the second stage are negated (which allows us to - perform this stage in place with no temporary registers).*/ -#define OC_HADAMARD_AB_8x4 __asm{ \ - /*Stage A: \ - Outputs 0-3 are swapped with 4-7 here.*/ \ - __asm paddw mm5,mm1 \ - __asm paddw mm6,mm2 \ - __asm paddw mm1,mm1 \ - __asm paddw mm2,mm2 \ - __asm psubw mm1,mm5 \ - __asm psubw mm2,mm6 \ - __asm paddw mm7,mm3 \ - __asm paddw mm4,mm0 \ - __asm paddw mm3,mm3 \ - __asm paddw mm0,mm0 \ - __asm psubw mm3,mm7 \ - __asm psubw mm0,mm4 \ - /*Stage B:*/ \ - __asm paddw mm0,mm2 \ - __asm paddw mm1,mm3 \ - __asm paddw mm4,mm6 \ - __asm paddw mm5,mm7 \ - __asm paddw mm2,mm2 \ - __asm paddw mm3,mm3 \ - __asm paddw mm6,mm6 \ - __asm paddw mm7,mm7 \ - __asm psubw mm2,mm0 \ - __asm psubw mm3,mm1 \ - __asm psubw mm6,mm4 \ - __asm psubw mm7,mm5 \ -} - -/*Performs the last stage of an 8-point 1-D Hadamard transform in place. - Ouputs 1, 3, 5, and 7 are negated (which allows us to perform this stage in - place with no temporary registers).*/ -#define OC_HADAMARD_C_8x4 __asm{ \ - /*Stage C:*/ \ - __asm paddw mm0,mm1 \ - __asm paddw mm2,mm3 \ - __asm paddw mm4,mm5 \ - __asm paddw mm6,mm7 \ - __asm paddw mm1,mm1 \ - __asm paddw mm3,mm3 \ - __asm paddw mm5,mm5 \ - __asm paddw mm7,mm7 \ - __asm psubw mm1,mm0 \ - __asm psubw mm3,mm2 \ - __asm psubw mm5,mm4 \ - __asm psubw mm7,mm6 \ -} - -/*Performs an 8-point 1-D Hadamard transform. - The transform is performed in place, except that outputs 0-3 are swapped with - outputs 4-7. - Outputs 1, 2, 5 and 6 are negated (which allows us to perform the transform - in place with no temporary registers).*/ -#define OC_HADAMARD_8x4 __asm{ \ - OC_HADAMARD_AB_8x4 \ - OC_HADAMARD_C_8x4 \ -} - -/*Performs the first part of the final stage of the Hadamard transform and - summing of absolute values. - At the end of this part, mm1 will contain the DC coefficient of the - transform.*/ -#define OC_HADAMARD_C_ABS_ACCUM_A_8x4(_r6,_r7) __asm{ \ - /*We use the fact that \ - (abs(a+b)+abs(a-b))/2=max(abs(a),abs(b)) \ - to merge the final butterfly with the abs and the first stage of \ - accumulation. \ - Thus we can avoid using pabsw, which is not available until SSSE3. \ - Emulating pabsw takes 3 instructions, so the straightforward MMXEXT \ - implementation would be (3+3)*8+7=55 instructions (+4 for spilling \ - registers). \ - Even with pabsw, it would be (3+1)*8+7=39 instructions (with no spills). \ - This implementation is only 26 (+4 for spilling registers).*/ \ - __asm movq [_r7+BUF],mm7 \ - __asm movq [_r6+BUF],mm6 \ - /*mm7={0x7FFF}x4 \ - mm0=max(abs(mm0),abs(mm1))-0x7FFF*/ \ - __asm pcmpeqb mm7,mm7 \ - __asm movq mm6,mm0 \ - __asm psrlw mm7,1 \ - __asm paddw mm6,mm1 \ - __asm pmaxsw mm0,mm1 \ - __asm paddsw mm6,mm7 \ - __asm psubw mm0,mm6 \ - /*mm2=max(abs(mm2),abs(mm3))-0x7FFF \ - mm4=max(abs(mm4),abs(mm5))-0x7FFF*/ \ - __asm movq mm6,mm2 \ - __asm movq mm1,mm4 \ - __asm pmaxsw mm2,mm3 \ - __asm pmaxsw mm4,mm5 \ - __asm paddw mm6,mm3 \ - __asm paddw mm1,mm5 \ - __asm movq mm3,[_r7+BUF] \ -} - -/*Performs the second part of the final stage of the Hadamard transform and - summing of absolute values.*/ -#define OC_HADAMARD_C_ABS_ACCUM_B_8x4(_r6,_r7) __asm{ \ - __asm paddsw mm6,mm7 \ - __asm movq mm5,[_r6+BUF] \ - __asm paddsw mm1,mm7 \ - __asm psubw mm2,mm6 \ - __asm psubw mm4,mm1 \ - /*mm7={1}x4 (needed for the horizontal add that follows) \ - mm0+=mm2+mm4+max(abs(mm3),abs(mm5))-0x7FFF*/ \ - __asm movq mm6,mm3 \ - __asm pmaxsw mm3,mm5 \ - __asm paddw mm0,mm2 \ - __asm paddw mm6,mm5 \ - __asm paddw mm0,mm4 \ - __asm paddsw mm6,mm7 \ - __asm paddw mm0,mm3 \ - __asm psrlw mm7,14 \ - __asm psubw mm0,mm6 \ -} - -/*Performs the last stage of an 8-point 1-D Hadamard transform, takes the - absolute value of each component, and accumulates everything into mm0. - This is the only portion of SATD which requires MMXEXT (we could use plain - MMX, but it takes 4 instructions and an extra register to work around the - lack of a pmaxsw, which is a pretty serious penalty).*/ -#define OC_HADAMARD_C_ABS_ACCUM_8x4(_r6,_r7) __asm{ \ - OC_HADAMARD_C_ABS_ACCUM_A_8x4(_r6,_r7) \ - OC_HADAMARD_C_ABS_ACCUM_B_8x4(_r6,_r7) \ -} - -/*Performs an 8-point 1-D Hadamard transform, takes the absolute value of each - component, and accumulates everything into mm0. - Note that mm0 will have an extra 4 added to each column, and that after - removing this value, the remainder will be half the conventional value.*/ -#define OC_HADAMARD_ABS_ACCUM_8x4(_r6,_r7) __asm{ \ - OC_HADAMARD_AB_8x4 \ - OC_HADAMARD_C_ABS_ACCUM_8x4(_r6,_r7) \ -} - -/*Performs two 4x4 transposes (mostly) in place. - On input, {mm0,mm1,mm2,mm3} contains rows {e,f,g,h}, and {mm4,mm5,mm6,mm7} - contains rows {a,b,c,d}. - On output, {0x40,0x50,0x60,0x70}+_off+BUF contains {e,f,g,h}^T, and - {mm4,mm5,mm6,mm7} contains the transposed rows {a,b,c,d}^T.*/ -#define OC_TRANSPOSE_4x4x2(_off) __asm{ \ - /*First 4x4 transpose:*/ \ - __asm movq [0x10+_off+BUF],mm5 \ - /*mm0 = e3 e2 e1 e0 \ - mm1 = f3 f2 f1 f0 \ - mm2 = g3 g2 g1 g0 \ - mm3 = h3 h2 h1 h0*/ \ - __asm movq mm5,mm2 \ - __asm punpcklwd mm2,mm3 \ - __asm punpckhwd mm5,mm3 \ - __asm movq mm3,mm0 \ - __asm punpcklwd mm0,mm1 \ - __asm punpckhwd mm3,mm1 \ - /*mm0 = f1 e1 f0 e0 \ - mm3 = f3 e3 f2 e2 \ - mm2 = h1 g1 h0 g0 \ - mm5 = h3 g3 h2 g2*/ \ - __asm movq mm1,mm0 \ - __asm punpckldq mm0,mm2 \ - __asm punpckhdq mm1,mm2 \ - __asm movq mm2,mm3 \ - __asm punpckhdq mm3,mm5 \ - __asm movq [0x40+_off+BUF],mm0 \ - __asm punpckldq mm2,mm5 \ - /*mm0 = h0 g0 f0 e0 \ - mm1 = h1 g1 f1 e1 \ - mm2 = h2 g2 f2 e2 \ - mm3 = h3 g3 f3 e3*/ \ - __asm movq mm5,[0x10+_off+BUF] \ - /*Second 4x4 transpose:*/ \ - /*mm4 = a3 a2 a1 a0 \ - mm5 = b3 b2 b1 b0 \ - mm6 = c3 c2 c1 c0 \ - mm7 = d3 d2 d1 d0*/ \ - __asm movq mm0,mm6 \ - __asm punpcklwd mm6,mm7 \ - __asm movq [0x50+_off+BUF],mm1 \ - __asm punpckhwd mm0,mm7 \ - __asm movq mm7,mm4 \ - __asm punpcklwd mm4,mm5 \ - __asm movq [0x60+_off+BUF],mm2 \ - __asm punpckhwd mm7,mm5 \ - /*mm4 = b1 a1 b0 a0 \ - mm7 = b3 a3 b2 a2 \ - mm6 = d1 c1 d0 c0 \ - mm0 = d3 c3 d2 c2*/ \ - __asm movq mm5,mm4 \ - __asm punpckldq mm4,mm6 \ - __asm movq [0x70+_off+BUF],mm3 \ - __asm punpckhdq mm5,mm6 \ - __asm movq mm6,mm7 \ - __asm punpckhdq mm7,mm0 \ - __asm punpckldq mm6,mm0 \ - /*mm4 = d0 c0 b0 a0 \ - mm5 = d1 c1 b1 a1 \ - mm6 = d2 c2 b2 a2 \ - mm7 = d3 c3 b3 a3*/ \ -} - -static unsigned oc_int_frag_satd_thresh_mmxext(const unsigned char *_src, - int _src_ystride,const unsigned char *_ref,int _ref_ystride,unsigned _thresh){ - OC_ALIGN8(ogg_int16_t buf[64]); - ogg_int16_t *bufp; - unsigned ret1; - unsigned ret2; - bufp=buf; - __asm{ -#define SRC esi -#define REF eax -#define SRC_YSTRIDE ecx -#define REF_YSTRIDE edx -#define BUF edi -#define RET eax -#define RET2 edx - mov SRC,_src - mov SRC_YSTRIDE,_src_ystride - mov REF,_ref - mov REF_YSTRIDE,_ref_ystride - mov BUF,bufp - OC_LOAD_SUB_8x4(0x00) - OC_HADAMARD_8x4 - OC_TRANSPOSE_4x4x2(0x00) - /*Finish swapping out this 8x4 block to make room for the next one. - mm0...mm3 have been swapped out already.*/ - movq [0x00+BUF],mm4 - movq [0x10+BUF],mm5 - movq [0x20+BUF],mm6 - movq [0x30+BUF],mm7 - OC_LOAD_SUB_8x4(0x04) - OC_HADAMARD_8x4 - OC_TRANSPOSE_4x4x2(0x08) - /*Here the first 4x4 block of output from the last transpose is the second - 4x4 block of input for the next transform. - We have cleverly arranged that it already be in the appropriate place, so - we only have to do half the loads.*/ - movq mm1,[0x10+BUF] - movq mm2,[0x20+BUF] - movq mm3,[0x30+BUF] - movq mm0,[0x00+BUF] - OC_HADAMARD_ABS_ACCUM_8x4(0x28,0x38) - /*Up to this point, everything fit in 16 bits (8 input + 1 for the - difference + 2*3 for the two 8-point 1-D Hadamards - 1 for the abs - 1 - for the factor of two we dropped + 3 for the vertical accumulation). - Now we finally have to promote things to dwords. - We break this part out of OC_HADAMARD_ABS_ACCUM_8x4 to hide the long - latency of pmaddwd by starting the next series of loads now.*/ - mov RET2,_thresh - pmaddwd mm0,mm7 - movq mm1,[0x50+BUF] - movq mm5,[0x58+BUF] - movq mm4,mm0 - movq mm2,[0x60+BUF] - punpckhdq mm0,mm0 - movq mm6,[0x68+BUF] - paddd mm4,mm0 - movq mm3,[0x70+BUF] - movd RET,mm4 - movq mm7,[0x78+BUF] - /*The sums produced by OC_HADAMARD_ABS_ACCUM_8x4 each have an extra 4 - added to them, and a factor of two removed; correct the final sum here.*/ - lea RET,[RET+RET-32] - movq mm0,[0x40+BUF] - cmp RET,RET2 - movq mm4,[0x48+BUF] - jae at_end - OC_HADAMARD_ABS_ACCUM_8x4(0x68,0x78) - pmaddwd mm0,mm7 - /*There isn't much to stick in here to hide the latency this time, but the - alternative to pmaddwd is movq->punpcklwd->punpckhwd->paddd, whose - latency is even worse.*/ - sub RET,32 - movq mm4,mm0 - punpckhdq mm0,mm0 - paddd mm4,mm0 - movd RET2,mm4 - lea RET,[RET+RET2*2] - align 16 -at_end: - mov ret1,RET -#undef SRC -#undef REF -#undef SRC_YSTRIDE -#undef REF_YSTRIDE -#undef BUF -#undef RET -#undef RET2 - } - return ret1; -} - -unsigned oc_enc_frag_satd_thresh_mmxext(const unsigned char *_src, - const unsigned char *_ref,int _ystride,unsigned _thresh){ - return oc_int_frag_satd_thresh_mmxext(_src,_ystride,_ref,_ystride,_thresh); -} - - -/*Our internal implementation of frag_copy2 takes an extra stride parameter so - we can share code with oc_enc_frag_satd2_thresh_mmxext().*/ -static void oc_int_frag_copy2_mmxext(unsigned char *_dst,int _dst_ystride, - const unsigned char *_src1,const unsigned char *_src2,int _src_ystride){ - __asm{ - /*Load the first 3 rows.*/ -#define DST_YSTRIDE edi -#define SRC_YSTRIDE esi -#define DST eax -#define SRC1 edx -#define SRC2 ecx - mov DST_YSTRIDE,_dst_ystride - mov SRC_YSTRIDE,_src_ystride - mov DST,_dst - mov SRC1,_src1 - mov SRC2,_src2 - movq mm0,[SRC1] - movq mm1,[SRC2] - movq mm2,[SRC1+SRC_YSTRIDE] - lea SRC1,[SRC1+SRC_YSTRIDE*2] - movq mm3,[SRC2+SRC_YSTRIDE] - lea SRC2,[SRC2+SRC_YSTRIDE*2] - pxor mm7,mm7 - movq mm4,[SRC1] - pcmpeqb mm6,mm6 - movq mm5,[SRC2] - /*mm7={1}x8.*/ - psubb mm7,mm6 - /*Start averaging mm0 and mm1 into mm6.*/ - movq mm6,mm0 - pxor mm0,mm1 - pavgb mm6,mm1 - /*mm1 is free, start averaging mm3 into mm2 using mm1.*/ - movq mm1,mm2 - pand mm0,mm7 - pavgb mm2,mm3 - pxor mm1,mm3 - /*mm3 is free.*/ - psubb mm6,mm0 - /*mm0 is free, start loading the next row.*/ - movq mm0,[SRC1+SRC_YSTRIDE] - /*Start averaging mm5 and mm4 using mm3.*/ - movq mm3,mm4 - /*mm6 [row 0] is done; write it out.*/ - movq [DST],mm6 - pand mm1,mm7 - pavgb mm4,mm5 - psubb mm2,mm1 - /*mm1 is free, continue loading the next row.*/ - movq mm1,[SRC2+SRC_YSTRIDE] - pxor mm3,mm5 - lea SRC1,[SRC1+SRC_YSTRIDE*2] - /*mm2 [row 1] is done; write it out.*/ - movq [DST+DST_YSTRIDE],mm2 - pand mm3,mm7 - /*Start loading the next row.*/ - movq mm2,[SRC1] - lea DST,[DST+DST_YSTRIDE*2] - psubb mm4,mm3 - lea SRC2,[SRC2+SRC_YSTRIDE*2] - /*mm4 [row 2] is done; write it out.*/ - movq [DST],mm4 - /*Continue loading the next row.*/ - movq mm3,[SRC2] - /*Start averaging mm0 and mm1 into mm6.*/ - movq mm6,mm0 - pxor mm0,mm1 - /*Start loading the next row.*/ - movq mm4,[SRC1+SRC_YSTRIDE] - pavgb mm6,mm1 - /*mm1 is free; start averaging mm3 into mm2 using mm1.*/ - movq mm1,mm2 - pand mm0,mm7 - /*Continue loading the next row.*/ - movq mm5,[SRC2+SRC_YSTRIDE] - pavgb mm2,mm3 - lea SRC1,[SRC1+SRC_YSTRIDE*2] - pxor mm1,mm3 - /*mm3 is free.*/ - psubb mm6,mm0 - /*mm0 is free, start loading the next row.*/ - movq mm0,[SRC1] - /*Start averaging mm5 into mm4 using mm3.*/ - movq mm3,mm4 - /*mm6 [row 3] is done; write it out.*/ - movq [DST+DST_YSTRIDE],mm6 - pand mm1,mm7 - lea SRC2,[SRC2+SRC_YSTRIDE*2] - pavgb mm4,mm5 - lea DST,[DST+DST_YSTRIDE*2] - psubb mm2,mm1 - /*mm1 is free; continue loading the next row.*/ - movq mm1,[SRC2] - pxor mm3,mm5 - /*mm2 [row 4] is done; write it out.*/ - movq [DST],mm2 - pand mm3,mm7 - /*Start loading the next row.*/ - movq mm2,[SRC1+SRC_YSTRIDE] - psubb mm4,mm3 - /*Start averaging mm0 and mm1 into mm6.*/ - movq mm6,mm0 - /*Continue loading the next row.*/ - movq mm3,[SRC2+SRC_YSTRIDE] - /*mm4 [row 5] is done; write it out.*/ - movq [DST+DST_YSTRIDE],mm4 - pxor mm0,mm1 - pavgb mm6,mm1 - /*mm4 is free; start averaging mm3 into mm2 using mm4.*/ - movq mm4,mm2 - pand mm0,mm7 - pavgb mm2,mm3 - pxor mm4,mm3 - lea DST,[DST+DST_YSTRIDE*2] - psubb mm6,mm0 - pand mm4,mm7 - /*mm6 [row 6] is done, write it out.*/ - movq [DST],mm6 - psubb mm2,mm4 - /*mm2 [row 7] is done, write it out.*/ - movq [DST+DST_YSTRIDE],mm2 -#undef SRC1 -#undef SRC2 -#undef SRC_YSTRIDE -#undef DST_YSTRIDE -#undef DST - } -} - -unsigned oc_enc_frag_satd2_thresh_mmxext(const unsigned char *_src, - const unsigned char *_ref1,const unsigned char *_ref2,int _ystride, - unsigned _thresh){ - OC_ALIGN8(unsigned char ref[64]); - oc_int_frag_copy2_mmxext(ref,8,_ref1,_ref2,_ystride); - return oc_int_frag_satd_thresh_mmxext(_src,_ystride,ref,8,_thresh); -} - -unsigned oc_enc_frag_intra_satd_mmxext(const unsigned char *_src, - int _ystride){ - OC_ALIGN8(ogg_int16_t buf[64]); - ogg_int16_t *bufp; - unsigned ret1; - unsigned ret2; - bufp=buf; - __asm{ -#define SRC eax -#define SRC4 esi -#define BUF edi -#define RET eax -#define RET_WORD ax -#define RET2 ecx -#define YSTRIDE edx -#define YSTRIDE3 ecx - mov SRC,_src - mov BUF,bufp - mov YSTRIDE,_ystride - /* src4 = src+4*ystride */ - lea SRC4,[SRC+YSTRIDE*4] - /* ystride3 = 3*ystride */ - lea YSTRIDE3,[YSTRIDE+YSTRIDE*2] - OC_LOAD_8x4(0x00) - OC_HADAMARD_8x4 - OC_TRANSPOSE_4x4x2(0x00) - /*Finish swapping out this 8x4 block to make room for the next one. - mm0...mm3 have been swapped out already.*/ - movq [0x00+BUF],mm4 - movq [0x10+BUF],mm5 - movq [0x20+BUF],mm6 - movq [0x30+BUF],mm7 - OC_LOAD_8x4(0x04) - OC_HADAMARD_8x4 - OC_TRANSPOSE_4x4x2(0x08) - /*Here the first 4x4 block of output from the last transpose is the second - 4x4 block of input for the next transform. - We have cleverly arranged that it already be in the appropriate place, so - we only have to do half the loads.*/ - movq mm1,[0x10+BUF] - movq mm2,[0x20+BUF] - movq mm3,[0x30+BUF] - movq mm0,[0x00+BUF] - /*We split out the stages here so we can save the DC coefficient in the - middle.*/ - OC_HADAMARD_AB_8x4 - OC_HADAMARD_C_ABS_ACCUM_A_8x4(0x28,0x38) - movd RET,mm1 - OC_HADAMARD_C_ABS_ACCUM_B_8x4(0x28,0x38) - /*Up to this point, everything fit in 16 bits (8 input + 1 for the - difference + 2*3 for the two 8-point 1-D Hadamards - 1 for the abs - 1 - for the factor of two we dropped + 3 for the vertical accumulation). - Now we finally have to promote things to dwords. - We break this part out of OC_HADAMARD_ABS_ACCUM_8x4 to hide the long - latency of pmaddwd by starting the next series of loads now.*/ - pmaddwd mm0,mm7 - movq mm1,[0x50+BUF] - movq mm5,[0x58+BUF] - movq mm2,[0x60+BUF] - movq mm4,mm0 - movq mm6,[0x68+BUF] - punpckhdq mm0,mm0 - movq mm3,[0x70+BUF] - paddd mm4,mm0 - movq mm7,[0x78+BUF] - movd RET2,mm4 - movq mm0,[0x40+BUF] - movq mm4,[0x48+BUF] - OC_HADAMARD_ABS_ACCUM_8x4(0x68,0x78) - pmaddwd mm0,mm7 - /*We assume that the DC coefficient is always positive (which is true, - because the input to the INTRA transform was not a difference).*/ - movzx RET,RET_WORD - add RET2,RET2 - sub RET2,RET - movq mm4,mm0 - punpckhdq mm0,mm0 - paddd mm4,mm0 - movd RET,mm4 - lea RET,[-64+RET2+RET*2] - mov [ret1],RET -#undef SRC -#undef SRC4 -#undef BUF -#undef RET -#undef RET_WORD -#undef RET2 -#undef YSTRIDE -#undef YSTRIDE3 - } - return ret1; -} - -void oc_enc_frag_sub_mmx(ogg_int16_t _residue[64], - const unsigned char *_src, const unsigned char *_ref,int _ystride){ - int i; - __asm pxor mm7,mm7 - for(i=4;i-->0;){ - __asm{ -#define SRC edx -#define YSTRIDE esi -#define RESIDUE eax -#define REF ecx - mov YSTRIDE,_ystride - mov RESIDUE,_residue - mov SRC,_src - mov REF,_ref - /*mm0=[src]*/ - movq mm0,[SRC] - /*mm1=[ref]*/ - movq mm1,[REF] - /*mm4=[src+ystride]*/ - movq mm4,[SRC+YSTRIDE] - /*mm5=[ref+ystride]*/ - movq mm5,[REF+YSTRIDE] - /*Compute [src]-[ref].*/ - movq mm2,mm0 - punpcklbw mm0,mm7 - movq mm3,mm1 - punpckhbw mm2,mm7 - punpcklbw mm1,mm7 - punpckhbw mm3,mm7 - psubw mm0,mm1 - psubw mm2,mm3 - /*Compute [src+ystride]-[ref+ystride].*/ - movq mm1,mm4 - punpcklbw mm4,mm7 - movq mm3,mm5 - punpckhbw mm1,mm7 - lea SRC,[SRC+YSTRIDE*2] - punpcklbw mm5,mm7 - lea REF,[REF+YSTRIDE*2] - punpckhbw mm3,mm7 - psubw mm4,mm5 - psubw mm1,mm3 - /*Write the answer out.*/ - movq [RESIDUE+0x00],mm0 - movq [RESIDUE+0x08],mm2 - movq [RESIDUE+0x10],mm4 - movq [RESIDUE+0x18],mm1 - lea RESIDUE,[RESIDUE+0x20] - mov _residue,RESIDUE - mov _src,SRC - mov _ref,REF -#undef SRC -#undef YSTRIDE -#undef RESIDUE -#undef REF - } - } -} - -void oc_enc_frag_sub_128_mmx(ogg_int16_t _residue[64], - const unsigned char *_src,int _ystride){ - __asm{ -#define YSTRIDE edx -#define YSTRIDE3 edi -#define RESIDUE ecx -#define SRC eax - mov YSTRIDE,_ystride - mov RESIDUE,_residue - mov SRC,_src - /*mm0=[src]*/ - movq mm0,[SRC] - /*mm1=[src+ystride]*/ - movq mm1,[SRC+YSTRIDE] - /*mm6={-1}x4*/ - pcmpeqw mm6,mm6 - /*mm2=[src+2*ystride]*/ - movq mm2,[SRC+YSTRIDE*2] - /*[ystride3]=3*[ystride]*/ - lea YSTRIDE3,[YSTRIDE+YSTRIDE*2] - /*mm6={1}x4*/ - psllw mm6,15 - /*mm3=[src+3*ystride]*/ - movq mm3,[SRC+YSTRIDE3] - /*mm6={128}x4*/ - psrlw mm6,8 - /*mm7=0*/ - pxor mm7,mm7 - /*[src]=[src]+4*[ystride]*/ - lea SRC,[SRC+YSTRIDE*4] - /*Compute [src]-128 and [src+ystride]-128*/ - movq mm4,mm0 - punpcklbw mm0,mm7 - movq mm5,mm1 - punpckhbw mm4,mm7 - psubw mm0,mm6 - punpcklbw mm1,mm7 - psubw mm4,mm6 - punpckhbw mm5,mm7 - psubw mm1,mm6 - psubw mm5,mm6 - /*Write the answer out.*/ - movq [RESIDUE+0x00],mm0 - movq [RESIDUE+0x08],mm4 - movq [RESIDUE+0x10],mm1 - movq [RESIDUE+0x18],mm5 - /*mm0=[src+4*ystride]*/ - movq mm0,[SRC] - /*mm1=[src+5*ystride]*/ - movq mm1,[SRC+YSTRIDE] - /*Compute [src+2*ystride]-128 and [src+3*ystride]-128*/ - movq mm4,mm2 - punpcklbw mm2,mm7 - movq mm5,mm3 - punpckhbw mm4,mm7 - psubw mm2,mm6 - punpcklbw mm3,mm7 - psubw mm4,mm6 - punpckhbw mm5,mm7 - psubw mm3,mm6 - psubw mm5,mm6 - /*Write the answer out.*/ - movq [RESIDUE+0x20],mm2 - movq [RESIDUE+0x28],mm4 - movq [RESIDUE+0x30],mm3 - movq [RESIDUE+0x38],mm5 - /*Compute [src+6*ystride]-128 and [src+7*ystride]-128*/ - movq mm2,[SRC+YSTRIDE*2] - movq mm3,[SRC+YSTRIDE3] - movq mm4,mm0 - punpcklbw mm0,mm7 - movq mm5,mm1 - punpckhbw mm4,mm7 - psubw mm0,mm6 - punpcklbw mm1,mm7 - psubw mm4,mm6 - punpckhbw mm5,mm7 - psubw mm1,mm6 - psubw mm5,mm6 - /*Write the answer out.*/ - movq [RESIDUE+0x40],mm0 - movq [RESIDUE+0x48],mm4 - movq [RESIDUE+0x50],mm1 - movq [RESIDUE+0x58],mm5 - /*Compute [src+6*ystride]-128 and [src+7*ystride]-128*/ - movq mm4,mm2 - punpcklbw mm2,mm7 - movq mm5,mm3 - punpckhbw mm4,mm7 - psubw mm2,mm6 - punpcklbw mm3,mm7 - psubw mm4,mm6 - punpckhbw mm5,mm7 - psubw mm3,mm6 - psubw mm5,mm6 - /*Write the answer out.*/ - movq [RESIDUE+0x60],mm2 - movq [RESIDUE+0x68],mm4 - movq [RESIDUE+0x70],mm3 - movq [RESIDUE+0x78],mm5 -#undef YSTRIDE -#undef YSTRIDE3 -#undef RESIDUE -#undef SRC - } -} - -void oc_enc_frag_copy2_mmxext(unsigned char *_dst, - const unsigned char *_src1,const unsigned char *_src2,int _ystride){ - oc_int_frag_copy2_mmxext(_dst,_ystride,_src1,_src2,_ystride); -} - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/x86_vc/mmxfdct.c b/Libraries/libtheora-1.1.1/lib/x86_vc/mmxfdct.c deleted file mode 100644 index dcf17c9f..00000000 --- a/Libraries/libtheora-1.1.1/lib/x86_vc/mmxfdct.c +++ /dev/null @@ -1,670 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 1999-2006 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ********************************************************************/ - /*MMX fDCT implementation for x86_32*/ -/*$Id: fdct_ses2.c 14579 2008-03-12 06:42:40Z xiphmont $*/ -#include "x86enc.h" - -#if defined(OC_X86_ASM) - -#define OC_FDCT_STAGE1_8x4 __asm{ \ - /*Stage 1:*/ \ - /*mm0=t7'=t0-t7*/ \ - __asm psubw mm0,mm7 \ - __asm paddw mm7,mm7 \ - /*mm1=t6'=t1-t6*/ \ - __asm psubw mm1, mm6 \ - __asm paddw mm6,mm6 \ - /*mm2=t5'=t2-t5*/ \ - __asm psubw mm2,mm5 \ - __asm paddw mm5,mm5 \ - /*mm3=t4'=t3-t4*/ \ - __asm psubw mm3,mm4 \ - __asm paddw mm4,mm4 \ - /*mm7=t0'=t0+t7*/ \ - __asm paddw mm7,mm0 \ - /*mm6=t1'=t1+t6*/ \ - __asm paddw mm6,mm1 \ - /*mm5=t2'=t2+t5*/ \ - __asm paddw mm5,mm2 \ - /*mm4=t3'=t3+t4*/ \ - __asm paddw mm4,mm3\ -} - -#define OC_FDCT8x4(_r0,_r1,_r2,_r3,_r4,_r5,_r6,_r7) __asm{ \ - /*Stage 2:*/ \ - /*mm7=t3''=t0'-t3'*/ \ - __asm psubw mm7,mm4 \ - __asm paddw mm4,mm4 \ - /*mm6=t2''=t1'-t2'*/ \ - __asm psubw mm6,mm5 \ - __asm movq [Y+_r6],mm7 \ - __asm paddw mm5,mm5 \ - /*mm1=t5''=t6'-t5'*/ \ - __asm psubw mm1,mm2 \ - __asm movq [Y+_r2],mm6 \ - /*mm4=t0''=t0'+t3'*/ \ - __asm paddw mm4,mm7 \ - __asm paddw mm2,mm2 \ - /*mm5=t1''=t1'+t2'*/ \ - __asm movq [Y+_r0],mm4 \ - __asm paddw mm5,mm6 \ - /*mm2=t6''=t6'+t5'*/ \ - __asm paddw mm2,mm1 \ - __asm movq [Y+_r4],mm5 \ - /*mm0=t7', mm1=t5'', mm2=t6'', mm3=t4'.*/ \ - /*mm4, mm5, mm6, mm7 are free.*/ \ - /*Stage 3:*/ \ - /*mm6={2}x4, mm7={27146,0xB500>>1}x2*/ \ - __asm mov A,0x5A806A0A \ - __asm pcmpeqb mm6,mm6 \ - __asm movd mm7,A \ - __asm psrlw mm6,15 \ - __asm punpckldq mm7,mm7 \ - __asm paddw mm6,mm6 \ - /*mm0=0, m2={-1}x4 \ - mm5:mm4=t5''*27146+0xB500*/ \ - __asm movq mm4,mm1 \ - __asm movq mm5,mm1 \ - __asm punpcklwd mm4,mm6 \ - __asm movq [Y+_r3],mm2 \ - __asm pmaddwd mm4,mm7 \ - __asm movq [Y+_r7],mm0 \ - __asm punpckhwd mm5,mm6 \ - __asm pxor mm0,mm0 \ - __asm pmaddwd mm5,mm7 \ - __asm pcmpeqb mm2,mm2 \ - /*mm2=t6'', mm1=t5''+(t5''!=0) \ - mm4=(t5''*27146+0xB500>>16)*/ \ - __asm pcmpeqw mm0,mm1 \ - __asm psrad mm4,16 \ - __asm psubw mm0,mm2 \ - __asm movq mm2, [Y+_r3] \ - __asm psrad mm5,16 \ - __asm paddw mm1,mm0 \ - __asm packssdw mm4,mm5 \ - /*mm4=s=(t5''*27146+0xB500>>16)+t5''+(t5''!=0)>>1*/ \ - __asm paddw mm4,mm1 \ - __asm movq mm0, [Y+_r7] \ - __asm psraw mm4,1 \ - __asm movq mm1,mm3 \ - /*mm3=t4''=t4'+s*/ \ - __asm paddw mm3,mm4 \ - /*mm1=t5'''=t4'-s*/ \ - __asm psubw mm1,mm4 \ - /*mm1=0, mm3={-1}x4 \ - mm5:mm4=t6''*27146+0xB500*/ \ - __asm movq mm4,mm2 \ - __asm movq mm5,mm2 \ - __asm punpcklwd mm4,mm6 \ - __asm movq [Y+_r5],mm1 \ - __asm pmaddwd mm4,mm7 \ - __asm movq [Y+_r1],mm3 \ - __asm punpckhwd mm5,mm6 \ - __asm pxor mm1,mm1 \ - __asm pmaddwd mm5,mm7 \ - __asm pcmpeqb mm3,mm3 \ - /*mm2=t6''+(t6''!=0), mm4=(t6''*27146+0xB500>>16)*/ \ - __asm psrad mm4,16 \ - __asm pcmpeqw mm1,mm2 \ - __asm psrad mm5,16 \ - __asm psubw mm1,mm3 \ - __asm packssdw mm4,mm5 \ - __asm paddw mm2,mm1 \ - /*mm1=t1'' \ - mm4=s=(t6''*27146+0xB500>>16)+t6''+(t6''!=0)>>1*/ \ - __asm paddw mm4,mm2 \ - __asm movq mm1,[Y+_r4] \ - __asm psraw mm4,1 \ - __asm movq mm2,mm0 \ - /*mm7={54491-0x7FFF,0x7FFF}x2 \ - mm0=t7''=t7'+s*/ \ - __asm paddw mm0,mm4 \ - /*mm2=t6'''=t7'-s*/ \ - __asm psubw mm2,mm4 \ - /*Stage 4:*/ \ - /*mm0=0, mm2=t0'' \ - mm5:mm4=t1''*27146+0xB500*/ \ - __asm movq mm4,mm1 \ - __asm movq mm5,mm1 \ - __asm punpcklwd mm4,mm6 \ - __asm movq [Y+_r3],mm2 \ - __asm pmaddwd mm4,mm7 \ - __asm movq mm2,[Y+_r0] \ - __asm punpckhwd mm5,mm6 \ - __asm movq [Y+_r7],mm0 \ - __asm pmaddwd mm5,mm7 \ - __asm pxor mm0,mm0 \ - /*mm7={27146,0x4000>>1}x2 \ - mm0=s=(t1''*27146+0xB500>>16)+t1''+(t1''!=0)*/ \ - __asm psrad mm4,16 \ - __asm mov A,0x20006A0A \ - __asm pcmpeqw mm0,mm1 \ - __asm movd mm7,A \ - __asm psrad mm5,16 \ - __asm psubw mm0,mm3 \ - __asm packssdw mm4,mm5 \ - __asm paddw mm0,mm1 \ - __asm punpckldq mm7,mm7 \ - __asm paddw mm0,mm4 \ - /*mm6={0x00000E3D}x2 \ - mm1=-(t0''==0), mm5:mm4=t0''*27146+0x4000*/ \ - __asm movq mm4,mm2 \ - __asm movq mm5,mm2 \ - __asm punpcklwd mm4,mm6 \ - __asm mov A,0x0E3D \ - __asm pmaddwd mm4,mm7 \ - __asm punpckhwd mm5,mm6 \ - __asm movd mm6,A \ - __asm pmaddwd mm5,mm7 \ - __asm pxor mm1,mm1 \ - __asm punpckldq mm6,mm6 \ - __asm pcmpeqw mm1,mm2 \ - /*mm4=r=(t0''*27146+0x4000>>16)+t0''+(t0''!=0)*/ \ - __asm psrad mm4,16 \ - __asm psubw mm1,mm3 \ - __asm psrad mm5,16 \ - __asm paddw mm2,mm1 \ - __asm packssdw mm4,mm5 \ - __asm movq mm1,[Y+_r5] \ - __asm paddw mm4,mm2 \ - /*mm2=t6'', mm0=_y[0]=u=r+s>>1 \ - The naive implementation could cause overflow, so we use \ - u=(r&s)+((r^s)>>1).*/ \ - __asm movq mm2,[Y+_r3] \ - __asm movq mm7,mm0 \ - __asm pxor mm0,mm4 \ - __asm pand mm7,mm4 \ - __asm psraw mm0,1 \ - __asm mov A,0x7FFF54DC \ - __asm paddw mm0,mm7 \ - __asm movd mm7,A \ - /*mm7={54491-0x7FFF,0x7FFF}x2 \ - mm4=_y[4]=v=r-u*/ \ - __asm psubw mm4,mm0 \ - __asm punpckldq mm7,mm7 \ - __asm movq [Y+_r4],mm4 \ - /*mm0=0, mm7={36410}x4 \ - mm1=(t5'''!=0), mm5:mm4=54491*t5'''+0x0E3D*/ \ - __asm movq mm4,mm1 \ - __asm movq mm5,mm1 \ - __asm punpcklwd mm4,mm1 \ - __asm mov A,0x8E3A8E3A \ - __asm pmaddwd mm4,mm7 \ - __asm movq [Y+_r0],mm0 \ - __asm punpckhwd mm5,mm1 \ - __asm pxor mm0,mm0 \ - __asm pmaddwd mm5,mm7 \ - __asm pcmpeqw mm1,mm0 \ - __asm movd mm7,A \ - __asm psubw mm1,mm3 \ - __asm punpckldq mm7,mm7 \ - __asm paddd mm4,mm6 \ - __asm paddd mm5,mm6 \ - /*mm0=0 \ - mm3:mm1=36410*t6'''+((t5'''!=0)<<16)*/ \ - __asm movq mm6,mm2 \ - __asm movq mm3,mm2 \ - __asm pmulhw mm6,mm7 \ - __asm paddw mm1,mm2 \ - __asm pmullw mm3,mm7 \ - __asm pxor mm0,mm0 \ - __asm paddw mm6,mm1 \ - __asm movq mm1,mm3 \ - __asm punpckhwd mm3,mm6 \ - __asm punpcklwd mm1,mm6 \ - /*mm3={-1}x4, mm6={1}x4 \ - mm4=_y[5]=u=(54491*t5'''+36410*t6'''+0x0E3D>>16)+(t5'''!=0)*/ \ - __asm paddd mm5,mm3 \ - __asm paddd mm4,mm1 \ - __asm psrad mm5,16 \ - __asm pxor mm6,mm6 \ - __asm psrad mm4,16 \ - __asm pcmpeqb mm3,mm3 \ - __asm packssdw mm4,mm5 \ - __asm psubw mm6,mm3 \ - /*mm1=t7'', mm7={26568,0x3400}x2 \ - mm2=s=t6'''-(36410*u>>16)*/ \ - __asm movq mm1,mm4 \ - __asm mov A,0x340067C8 \ - __asm pmulhw mm4,mm7 \ - __asm movd mm7,A \ - __asm movq [Y+_r5],mm1 \ - __asm punpckldq mm7,mm7 \ - __asm paddw mm4,mm1 \ - __asm movq mm1,[Y+_r7] \ - __asm psubw mm2,mm4 \ - /*mm6={0x00007B1B}x2 \ - mm0=(s!=0), mm5:mm4=s*26568+0x3400*/ \ - __asm movq mm4,mm2 \ - __asm movq mm5,mm2 \ - __asm punpcklwd mm4,mm6 \ - __asm pcmpeqw mm0,mm2 \ - __asm pmaddwd mm4,mm7 \ - __asm mov A,0x7B1B \ - __asm punpckhwd mm5,mm6 \ - __asm movd mm6,A \ - __asm pmaddwd mm5,mm7 \ - __asm psubw mm0,mm3 \ - __asm punpckldq mm6,mm6 \ - /*mm7={64277-0x7FFF,0x7FFF}x2 \ - mm2=_y[3]=v=(s*26568+0x3400>>17)+s+(s!=0)*/ \ - __asm psrad mm4,17 \ - __asm paddw mm2,mm0 \ - __asm psrad mm5,17 \ - __asm mov A,0x7FFF7B16 \ - __asm packssdw mm4,mm5 \ - __asm movd mm7,A \ - __asm paddw mm2,mm4 \ - __asm punpckldq mm7,mm7 \ - /*mm0=0, mm7={12785}x4 \ - mm1=(t7''!=0), mm2=t4'', mm5:mm4=64277*t7''+0x7B1B*/ \ - __asm movq mm4,mm1 \ - __asm movq mm5,mm1 \ - __asm movq [Y+_r3],mm2 \ - __asm punpcklwd mm4,mm1 \ - __asm movq mm2,[Y+_r1] \ - __asm pmaddwd mm4,mm7 \ - __asm mov A,0x31F131F1 \ - __asm punpckhwd mm5,mm1 \ - __asm pxor mm0,mm0 \ - __asm pmaddwd mm5,mm7 \ - __asm pcmpeqw mm1,mm0 \ - __asm movd mm7,A \ - __asm psubw mm1,mm3 \ - __asm punpckldq mm7,mm7 \ - __asm paddd mm4,mm6 \ - __asm paddd mm5,mm6 \ - /*mm3:mm1=12785*t4'''+((t7''!=0)<<16)*/ \ - __asm movq mm6,mm2 \ - __asm movq mm3,mm2 \ - __asm pmulhw mm6,mm7 \ - __asm pmullw mm3,mm7 \ - __asm paddw mm6,mm1 \ - __asm movq mm1,mm3 \ - __asm punpckhwd mm3,mm6 \ - __asm punpcklwd mm1,mm6 \ - /*mm3={-1}x4, mm6={1}x4 \ - mm4=_y[1]=u=(12785*t4'''+64277*t7''+0x7B1B>>16)+(t7''!=0)*/ \ - __asm paddd mm5,mm3 \ - __asm paddd mm4,mm1 \ - __asm psrad mm5,16 \ - __asm pxor mm6,mm6 \ - __asm psrad mm4,16 \ - __asm pcmpeqb mm3,mm3 \ - __asm packssdw mm4,mm5 \ - __asm psubw mm6,mm3 \ - /*mm1=t3'', mm7={20539,0x3000}x2 \ - mm4=s=(12785*u>>16)-t4''*/ \ - __asm movq [Y+_r1],mm4 \ - __asm pmulhw mm4,mm7 \ - __asm mov A,0x3000503B \ - __asm movq mm1,[Y+_r6] \ - __asm movd mm7,A \ - __asm psubw mm4,mm2 \ - __asm punpckldq mm7,mm7 \ - /*mm6={0x00006CB7}x2 \ - mm0=(s!=0), mm5:mm4=s*20539+0x3000*/ \ - __asm movq mm5,mm4 \ - __asm movq mm2,mm4 \ - __asm punpcklwd mm4,mm6 \ - __asm pcmpeqw mm0,mm2 \ - __asm pmaddwd mm4,mm7 \ - __asm mov A,0x6CB7 \ - __asm punpckhwd mm5,mm6 \ - __asm movd mm6,A \ - __asm pmaddwd mm5,mm7 \ - __asm psubw mm0,mm3 \ - __asm punpckldq mm6,mm6 \ - /*mm7={60547-0x7FFF,0x7FFF}x2 \ - mm2=_y[7]=v=(s*20539+0x3000>>20)+s+(s!=0)*/ \ - __asm psrad mm4,20 \ - __asm paddw mm2,mm0 \ - __asm psrad mm5,20 \ - __asm mov A,0x7FFF6C84 \ - __asm packssdw mm4,mm5 \ - __asm movd mm7,A \ - __asm paddw mm2,mm4 \ - __asm punpckldq mm7,mm7 \ - /*mm0=0, mm7={25080}x4 \ - mm2=t2'', mm5:mm4=60547*t3''+0x6CB7*/ \ - __asm movq mm4,mm1 \ - __asm movq mm5,mm1 \ - __asm movq [Y+_r7],mm2 \ - __asm punpcklwd mm4,mm1 \ - __asm movq mm2,[Y+_r2] \ - __asm pmaddwd mm4,mm7 \ - __asm mov A,0x61F861F8 \ - __asm punpckhwd mm5,mm1 \ - __asm pxor mm0,mm0 \ - __asm pmaddwd mm5,mm7 \ - __asm movd mm7,A \ - __asm pcmpeqw mm1,mm0 \ - __asm psubw mm1,mm3 \ - __asm punpckldq mm7,mm7 \ - __asm paddd mm4,mm6 \ - __asm paddd mm5,mm6 \ - /*mm3:mm1=25080*t2''+((t3''!=0)<<16)*/ \ - __asm movq mm6,mm2 \ - __asm movq mm3,mm2 \ - __asm pmulhw mm6,mm7 \ - __asm pmullw mm3,mm7 \ - __asm paddw mm6,mm1 \ - __asm movq mm1,mm3 \ - __asm punpckhwd mm3,mm6 \ - __asm punpcklwd mm1,mm6 \ - /*mm1={-1}x4 \ - mm4=u=(25080*t2''+60547*t3''+0x6CB7>>16)+(t3''!=0)*/ \ - __asm paddd mm5,mm3 \ - __asm paddd mm4,mm1 \ - __asm psrad mm5,16 \ - __asm mov A,0x28005460 \ - __asm psrad mm4,16 \ - __asm pcmpeqb mm1,mm1 \ - __asm packssdw mm4,mm5 \ - /*mm5={1}x4, mm6=_y[2]=u, mm7={21600,0x2800}x2 \ - mm4=s=(25080*u>>16)-t2''*/ \ - __asm movq mm6,mm4 \ - __asm pmulhw mm4,mm7 \ - __asm pxor mm5,mm5 \ - __asm movd mm7,A \ - __asm psubw mm5,mm1 \ - __asm punpckldq mm7,mm7 \ - __asm psubw mm4,mm2 \ - /*mm2=s+(s!=0) \ - mm4:mm3=s*21600+0x2800*/ \ - __asm movq mm3,mm4 \ - __asm movq mm2,mm4 \ - __asm punpckhwd mm4,mm5 \ - __asm pcmpeqw mm0,mm2 \ - __asm pmaddwd mm4,mm7 \ - __asm psubw mm0,mm1 \ - __asm punpcklwd mm3,mm5 \ - __asm paddw mm2,mm0 \ - __asm pmaddwd mm3,mm7 \ - /*mm0=_y[4], mm1=_y[7], mm4=_y[0], mm5=_y[5] \ - mm3=_y[6]=v=(s*21600+0x2800>>18)+s+(s!=0)*/ \ - __asm movq mm0,[Y+_r4] \ - __asm psrad mm4,18 \ - __asm movq mm5,[Y+_r5] \ - __asm psrad mm3,18 \ - __asm movq mm1,[Y+_r7] \ - __asm packssdw mm3,mm4 \ - __asm movq mm4,[Y+_r0] \ - __asm paddw mm3,mm2 \ -} - -/*On input, mm4=_y[0], mm6=_y[2], mm0=_y[4], mm5=_y[5], mm3=_y[6], mm1=_y[7]. - On output, {_y[4],mm1,mm2,mm3} contains the transpose of _y[4...7] and - {mm4,mm5,mm6,mm7} contains the transpose of _y[0...3].*/ -#define OC_TRANSPOSE8x4(_r0,_r1,_r2,_r3,_r4,_r5,_r6,_r7) __asm{ \ - /*First 4x4 transpose:*/ \ - /*mm0 = e3 e2 e1 e0 \ - mm5 = f3 f2 f1 f0 \ - mm3 = g3 g2 g1 g0 \ - mm1 = h3 h2 h1 h0*/ \ - __asm movq mm2,mm0 \ - __asm punpcklwd mm0,mm5 \ - __asm punpckhwd mm2,mm5 \ - __asm movq mm5,mm3 \ - __asm punpcklwd mm3,mm1 \ - __asm punpckhwd mm5,mm1 \ - /*mm0 = f1 e1 f0 e0 \ - mm2 = f3 e3 f2 e2 \ - mm3 = h1 g1 h0 g0 \ - mm5 = h3 g3 h2 g2*/ \ - __asm movq mm1,mm0 \ - __asm punpckldq mm0,mm3 \ - __asm movq [Y+_r4],mm0 \ - __asm punpckhdq mm1,mm3 \ - __asm movq mm0,[Y+_r1] \ - __asm movq mm3,mm2 \ - __asm punpckldq mm2,mm5 \ - __asm punpckhdq mm3,mm5 \ - __asm movq mm5,[Y+_r3] \ - /*_y[4] = h0 g0 f0 e0 \ - mm1 = h1 g1 f1 e1 \ - mm2 = h2 g2 f2 e2 \ - mm3 = h3 g3 f3 e3*/ \ - /*Second 4x4 transpose:*/ \ - /*mm4 = a3 a2 a1 a0 \ - mm0 = b3 b2 b1 b0 \ - mm6 = c3 c2 c1 c0 \ - mm5 = d3 d2 d1 d0*/ \ - __asm movq mm7,mm4 \ - __asm punpcklwd mm4,mm0 \ - __asm punpckhwd mm7,mm0 \ - __asm movq mm0,mm6 \ - __asm punpcklwd mm6,mm5 \ - __asm punpckhwd mm0,mm5 \ - /*mm4 = b1 a1 b0 a0 \ - mm7 = b3 a3 b2 a2 \ - mm6 = d1 c1 d0 c0 \ - mm0 = d3 c3 d2 c2*/ \ - __asm movq mm5,mm4 \ - __asm punpckldq mm4,mm6 \ - __asm punpckhdq mm5,mm6 \ - __asm movq mm6,mm7 \ - __asm punpckhdq mm7,mm0 \ - __asm punpckldq mm6,mm0 \ - /*mm4 = d0 c0 b0 a0 \ - mm5 = d1 c1 b1 a1 \ - mm6 = d2 c2 b2 a2 \ - mm7 = d3 c3 b3 a3*/ \ -} - -/*MMX implementation of the fDCT.*/ -void oc_enc_fdct8x8_mmx(ogg_int16_t _y[64],const ogg_int16_t _x[64]){ - ptrdiff_t a; - __asm{ -#define Y eax -#define A ecx -#define X edx - /*Add two extra bits of working precision to improve accuracy; any more and - we could overflow.*/ - /*We also add biases to correct for some systematic error that remains in - the full fDCT->iDCT round trip.*/ - mov X, _x - mov Y, _y - movq mm0,[0x00+X] - movq mm1,[0x10+X] - movq mm2,[0x20+X] - movq mm3,[0x30+X] - pcmpeqb mm4,mm4 - pxor mm7,mm7 - movq mm5,mm0 - psllw mm0,2 - pcmpeqw mm5,mm7 - movq mm7,[0x70+X] - psllw mm1,2 - psubw mm5,mm4 - psllw mm2,2 - mov A,1 - pslld mm5,16 - movd mm6,A - psllq mm5,16 - mov A,0x10001 - psllw mm3,2 - movd mm4,A - punpckhwd mm5,mm6 - psubw mm1,mm6 - movq mm6,[0x60+X] - paddw mm0,mm5 - movq mm5,[0x50+X] - paddw mm0,mm4 - movq mm4,[0x40+X] - /*We inline stage1 of the transform here so we can get better instruction - scheduling with the shifts.*/ - /*mm0=t7'=t0-t7*/ - psllw mm7,2 - psubw mm0,mm7 - psllw mm6,2 - paddw mm7,mm7 - /*mm1=t6'=t1-t6*/ - psllw mm5,2 - psubw mm1,mm6 - psllw mm4,2 - paddw mm6,mm6 - /*mm2=t5'=t2-t5*/ - psubw mm2,mm5 - paddw mm5,mm5 - /*mm3=t4'=t3-t4*/ - psubw mm3,mm4 - paddw mm4,mm4 - /*mm7=t0'=t0+t7*/ - paddw mm7,mm0 - /*mm6=t1'=t1+t6*/ - paddw mm6,mm1 - /*mm5=t2'=t2+t5*/ - paddw mm5,mm2 - /*mm4=t3'=t3+t4*/ - paddw mm4,mm3 - OC_FDCT8x4(0x00,0x10,0x20,0x30,0x40,0x50,0x60,0x70) - OC_TRANSPOSE8x4(0x00,0x10,0x20,0x30,0x40,0x50,0x60,0x70) - /*Swap out this 8x4 block for the next one.*/ - movq mm0,[0x08+X] - movq [0x30+Y],mm7 - movq mm7,[0x78+X] - movq [0x50+Y],mm1 - movq mm1,[0x18+X] - movq [0x20+Y],mm6 - movq mm6,[0x68+X] - movq [0x60+Y],mm2 - movq mm2,[0x28+X] - movq [0x10+Y],mm5 - movq mm5,[0x58+X] - movq [0x70+Y],mm3 - movq mm3,[0x38+X] - /*And increase its working precision, too.*/ - psllw mm0,2 - movq [0x00+Y],mm4 - psllw mm7,2 - movq mm4,[0x48+X] - /*We inline stage1 of the transform here so we can get better instruction - scheduling with the shifts.*/ - /*mm0=t7'=t0-t7*/ - psubw mm0,mm7 - psllw mm1,2 - paddw mm7,mm7 - psllw mm6,2 - /*mm1=t6'=t1-t6*/ - psubw mm1,mm6 - psllw mm2,2 - paddw mm6,mm6 - psllw mm5,2 - /*mm2=t5'=t2-t5*/ - psubw mm2,mm5 - psllw mm3,2 - paddw mm5,mm5 - psllw mm4,2 - /*mm3=t4'=t3-t4*/ - psubw mm3,mm4 - paddw mm4,mm4 - /*mm7=t0'=t0+t7*/ - paddw mm7,mm0 - /*mm6=t1'=t1+t6*/ - paddw mm6,mm1 - /*mm5=t2'=t2+t5*/ - paddw mm5,mm2 - /*mm4=t3'=t3+t4*/ - paddw mm4,mm3 - OC_FDCT8x4(0x08,0x18,0x28,0x38,0x48,0x58,0x68,0x78) - OC_TRANSPOSE8x4(0x08,0x18,0x28,0x38,0x48,0x58,0x68,0x78) - /*Here the first 4x4 block of output from the last transpose is the second - 4x4 block of input for the next transform. - We have cleverly arranged that it already be in the appropriate place, - so we only have to do half the stores and loads.*/ - movq mm0,[0x00+Y] - movq [0x58+Y],mm1 - movq mm1,[0x10+Y] - movq [0x68+Y],mm2 - movq mm2,[0x20+Y] - movq [0x78+Y],mm3 - movq mm3,[0x30+Y] - OC_FDCT_STAGE1_8x4 - OC_FDCT8x4(0x00,0x10,0x20,0x30,0x08,0x18,0x28,0x38) - OC_TRANSPOSE8x4(0x00,0x10,0x20,0x30,0x08,0x18,0x28,0x38) - /*mm0={-2}x4*/ - pcmpeqw mm0,mm0 - paddw mm0,mm0 - /*Round the results.*/ - psubw mm1,mm0 - psubw mm2,mm0 - psraw mm1,2 - psubw mm3,mm0 - movq [0x18+Y],mm1 - psraw mm2,2 - psubw mm4,mm0 - movq mm1,[0x08+Y] - psraw mm3,2 - psubw mm5,mm0 - psraw mm4,2 - psubw mm6,mm0 - psraw mm5,2 - psubw mm7,mm0 - psraw mm6,2 - psubw mm1,mm0 - psraw mm7,2 - movq mm0,[0x40+Y] - psraw mm1,2 - movq [0x30+Y],mm7 - movq mm7,[0x78+Y] - movq [0x08+Y],mm1 - movq mm1,[0x50+Y] - movq [0x20+Y],mm6 - movq mm6,[0x68+Y] - movq [0x28+Y],mm2 - movq mm2,[0x60+Y] - movq [0x10+Y],mm5 - movq mm5,[0x58+Y] - movq [0x38+Y],mm3 - movq mm3,[0x70+Y] - movq [0x00+Y],mm4 - movq mm4,[0x48+Y] - OC_FDCT_STAGE1_8x4 - OC_FDCT8x4(0x40,0x50,0x60,0x70,0x48,0x58,0x68,0x78) - OC_TRANSPOSE8x4(0x40,0x50,0x60,0x70,0x48,0x58,0x68,0x78) - /*mm0={-2}x4*/ - pcmpeqw mm0,mm0 - paddw mm0,mm0 - /*Round the results.*/ - psubw mm1,mm0 - psubw mm2,mm0 - psraw mm1,2 - psubw mm3,mm0 - movq [0x58+Y],mm1 - psraw mm2,2 - psubw mm4,mm0 - movq mm1,[0x48+Y] - psraw mm3,2 - psubw mm5,mm0 - movq [0x68+Y],mm2 - psraw mm4,2 - psubw mm6,mm0 - movq [0x78+Y],mm3 - psraw mm5,2 - psubw mm7,mm0 - movq [0x40+Y],mm4 - psraw mm6,2 - psubw mm1,mm0 - movq [0x50+Y],mm5 - psraw mm7,2 - movq [0x60+Y],mm6 - psraw mm1,2 - movq [0x70+Y],mm7 - movq [0x48+Y],mm1 -#undef Y -#undef A -#undef X - } -} - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/x86_vc/mmxfrag.c b/Libraries/libtheora-1.1.1/lib/x86_vc/mmxfrag.c deleted file mode 100644 index 4eb2084d..00000000 --- a/Libraries/libtheora-1.1.1/lib/x86_vc/mmxfrag.c +++ /dev/null @@ -1,337 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: mmxfrag.c 16578 2009-09-25 19:50:48Z cristianadam $ - - ********************************************************************/ - -/*MMX acceleration of fragment reconstruction for motion compensation. - Originally written by Rudolf Marek. - Additional optimization by Nils Pipenbrinck. - Note: Loops are unrolled for best performance. - The iteration each instruction belongs to is marked in the comments as #i.*/ -#include -#include "x86int.h" -#include "mmxfrag.h" - -#if defined(OC_X86_ASM) - -/*Copies an 8x8 block of pixels from _src to _dst, assuming _ystride bytes - between rows.*/ -void oc_frag_copy_mmx(unsigned char *_dst, - const unsigned char *_src,int _ystride){ -#define SRC edx -#define DST eax -#define YSTRIDE ecx -#define YSTRIDE3 esi - OC_FRAG_COPY_MMX(_dst,_src,_ystride); -#undef SRC -#undef DST -#undef YSTRIDE -#undef YSTRIDE3 -} - -void oc_frag_recon_intra_mmx(unsigned char *_dst,int _ystride, - const ogg_int16_t *_residue){ - __asm{ -#define DST edx -#define DST4 esi -#define YSTRIDE eax -#define YSTRIDE3 edi -#define RESIDUE ecx - mov DST,_dst - mov YSTRIDE,_ystride - mov RESIDUE,_residue - lea DST4,[DST+YSTRIDE*4] - lea YSTRIDE3,[YSTRIDE+YSTRIDE*2] - /*Set mm0 to 0xFFFFFFFFFFFFFFFF.*/ - pcmpeqw mm0,mm0 - /*#0 Load low residue.*/ - movq mm1,[0*8+RESIDUE] - /*#0 Load high residue.*/ - movq mm2,[1*8+RESIDUE] - /*Set mm0 to 0x8000800080008000.*/ - psllw mm0,15 - /*#1 Load low residue.*/ - movq mm3,[2*8+RESIDUE] - /*#1 Load high residue.*/ - movq mm4,[3*8+RESIDUE] - /*Set mm0 to 0x0080008000800080.*/ - psrlw mm0,8 - /*#2 Load low residue.*/ - movq mm5,[4*8+RESIDUE] - /*#2 Load high residue.*/ - movq mm6,[5*8+RESIDUE] - /*#0 Bias low residue.*/ - paddsw mm1,mm0 - /*#0 Bias high residue.*/ - paddsw mm2,mm0 - /*#0 Pack to byte.*/ - packuswb mm1,mm2 - /*#1 Bias low residue.*/ - paddsw mm3,mm0 - /*#1 Bias high residue.*/ - paddsw mm4,mm0 - /*#1 Pack to byte.*/ - packuswb mm3,mm4 - /*#2 Bias low residue.*/ - paddsw mm5,mm0 - /*#2 Bias high residue.*/ - paddsw mm6,mm0 - /*#2 Pack to byte.*/ - packuswb mm5,mm6 - /*#0 Write row.*/ - movq [DST],mm1 - /*#1 Write row.*/ - movq [DST+YSTRIDE],mm3 - /*#2 Write row.*/ - movq [DST+YSTRIDE*2],mm5 - /*#3 Load low residue.*/ - movq mm1,[6*8+RESIDUE] - /*#3 Load high residue.*/ - movq mm2,[7*8+RESIDUE] - /*#4 Load high residue.*/ - movq mm3,[8*8+RESIDUE] - /*#4 Load high residue.*/ - movq mm4,[9*8+RESIDUE] - /*#5 Load high residue.*/ - movq mm5,[10*8+RESIDUE] - /*#5 Load high residue.*/ - movq mm6,[11*8+RESIDUE] - /*#3 Bias low residue.*/ - paddsw mm1,mm0 - /*#3 Bias high residue.*/ - paddsw mm2,mm0 - /*#3 Pack to byte.*/ - packuswb mm1,mm2 - /*#4 Bias low residue.*/ - paddsw mm3,mm0 - /*#4 Bias high residue.*/ - paddsw mm4,mm0 - /*#4 Pack to byte.*/ - packuswb mm3,mm4 - /*#5 Bias low residue.*/ - paddsw mm5,mm0 - /*#5 Bias high residue.*/ - paddsw mm6,mm0 - /*#5 Pack to byte.*/ - packuswb mm5,mm6 - /*#3 Write row.*/ - movq [DST+YSTRIDE3],mm1 - /*#4 Write row.*/ - movq [DST4],mm3 - /*#5 Write row.*/ - movq [DST4+YSTRIDE],mm5 - /*#6 Load low residue.*/ - movq mm1,[12*8+RESIDUE] - /*#6 Load high residue.*/ - movq mm2,[13*8+RESIDUE] - /*#7 Load low residue.*/ - movq mm3,[14*8+RESIDUE] - /*#7 Load high residue.*/ - movq mm4,[15*8+RESIDUE] - /*#6 Bias low residue.*/ - paddsw mm1,mm0 - /*#6 Bias high residue.*/ - paddsw mm2,mm0 - /*#6 Pack to byte.*/ - packuswb mm1,mm2 - /*#7 Bias low residue.*/ - paddsw mm3,mm0 - /*#7 Bias high residue.*/ - paddsw mm4,mm0 - /*#7 Pack to byte.*/ - packuswb mm3,mm4 - /*#6 Write row.*/ - movq [DST4+YSTRIDE*2],mm1 - /*#7 Write row.*/ - movq [DST4+YSTRIDE3],mm3 -#undef DST -#undef DST4 -#undef YSTRIDE -#undef YSTRIDE3 -#undef RESIDUE - } -} - -void oc_frag_recon_inter_mmx(unsigned char *_dst,const unsigned char *_src, - int _ystride,const ogg_int16_t *_residue){ - int i; - /*Zero mm0.*/ - __asm pxor mm0,mm0; - for(i=4;i-->0;){ - __asm{ -#define DST edx -#define SRC ecx -#define YSTRIDE edi -#define RESIDUE eax - mov DST,_dst - mov SRC,_src - mov YSTRIDE,_ystride - mov RESIDUE,_residue - /*#0 Load source.*/ - movq mm3,[SRC] - /*#1 Load source.*/ - movq mm7,[SRC+YSTRIDE] - /*#0 Get copy of src.*/ - movq mm4,mm3 - /*#0 Expand high source.*/ - punpckhbw mm4,mm0 - /*#0 Expand low source.*/ - punpcklbw mm3,mm0 - /*#0 Add residue high.*/ - paddsw mm4,[8+RESIDUE] - /*#1 Get copy of src.*/ - movq mm2,mm7 - /*#0 Add residue low.*/ - paddsw mm3,[RESIDUE] - /*#1 Expand high source.*/ - punpckhbw mm2,mm0 - /*#0 Pack final row pixels.*/ - packuswb mm3,mm4 - /*#1 Expand low source.*/ - punpcklbw mm7,mm0 - /*#1 Add residue low.*/ - paddsw mm7,[16+RESIDUE] - /*#1 Add residue high.*/ - paddsw mm2,[24+RESIDUE] - /*Advance residue.*/ - lea RESIDUE,[32+RESIDUE] - /*#1 Pack final row pixels.*/ - packuswb mm7,mm2 - /*Advance src.*/ - lea SRC,[SRC+YSTRIDE*2] - /*#0 Write row.*/ - movq [DST],mm3 - /*#1 Write row.*/ - movq [DST+YSTRIDE],mm7 - /*Advance dst.*/ - lea DST,[DST+YSTRIDE*2] - mov _residue,RESIDUE - mov _dst,DST - mov _src,SRC -#undef DST -#undef SRC -#undef YSTRIDE -#undef RESIDUE - } - } -} - -void oc_frag_recon_inter2_mmx(unsigned char *_dst,const unsigned char *_src1, - const unsigned char *_src2,int _ystride,const ogg_int16_t *_residue){ - int i; - /*Zero mm7.*/ - __asm pxor mm7,mm7; - for(i=4;i-->0;){ - __asm{ -#define SRC1 ecx -#define SRC2 edi -#define YSTRIDE esi -#define RESIDUE edx -#define DST eax - mov YSTRIDE,_ystride - mov DST,_dst - mov RESIDUE,_residue - mov SRC1,_src1 - mov SRC2,_src2 - /*#0 Load src1.*/ - movq mm0,[SRC1] - /*#0 Load src2.*/ - movq mm2,[SRC2] - /*#0 Copy src1.*/ - movq mm1,mm0 - /*#0 Copy src2.*/ - movq mm3,mm2 - /*#1 Load src1.*/ - movq mm4,[SRC1+YSTRIDE] - /*#0 Unpack lower src1.*/ - punpcklbw mm0,mm7 - /*#1 Load src2.*/ - movq mm5,[SRC2+YSTRIDE] - /*#0 Unpack higher src1.*/ - punpckhbw mm1,mm7 - /*#0 Unpack lower src2.*/ - punpcklbw mm2,mm7 - /*#0 Unpack higher src2.*/ - punpckhbw mm3,mm7 - /*Advance src1 ptr.*/ - lea SRC1,[SRC1+YSTRIDE*2] - /*Advance src2 ptr.*/ - lea SRC2,[SRC2+YSTRIDE*2] - /*#0 Lower src1+src2.*/ - paddsw mm0,mm2 - /*#0 Higher src1+src2.*/ - paddsw mm1,mm3 - /*#1 Copy src1.*/ - movq mm2,mm4 - /*#0 Build lo average.*/ - psraw mm0,1 - /*#1 Copy src2.*/ - movq mm3,mm5 - /*#1 Unpack lower src1.*/ - punpcklbw mm4,mm7 - /*#0 Build hi average.*/ - psraw mm1,1 - /*#1 Unpack higher src1.*/ - punpckhbw mm2,mm7 - /*#0 low+=residue.*/ - paddsw mm0,[RESIDUE] - /*#1 Unpack lower src2.*/ - punpcklbw mm5,mm7 - /*#0 high+=residue.*/ - paddsw mm1,[8+RESIDUE] - /*#1 Unpack higher src2.*/ - punpckhbw mm3,mm7 - /*#1 Lower src1+src2.*/ - paddsw mm5,mm4 - /*#0 Pack and saturate.*/ - packuswb mm0,mm1 - /*#1 Higher src1+src2.*/ - paddsw mm3,mm2 - /*#0 Write row.*/ - movq [DST],mm0 - /*#1 Build lo average.*/ - psraw mm5,1 - /*#1 Build hi average.*/ - psraw mm3,1 - /*#1 low+=residue.*/ - paddsw mm5,[16+RESIDUE] - /*#1 high+=residue.*/ - paddsw mm3,[24+RESIDUE] - /*#1 Pack and saturate.*/ - packuswb mm5,mm3 - /*#1 Write row ptr.*/ - movq [DST+YSTRIDE],mm5 - /*Advance residue ptr.*/ - add RESIDUE,32 - /*Advance dest ptr.*/ - lea DST,[DST+YSTRIDE*2] - mov _dst,DST - mov _residue,RESIDUE - mov _src1,SRC1 - mov _src2,SRC2 -#undef SRC1 -#undef SRC2 -#undef YSTRIDE -#undef RESIDUE -#undef DST - } - } -} - -void oc_restore_fpu_mmx(void){ - __asm emms; -} - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/x86_vc/mmxfrag.h b/Libraries/libtheora-1.1.1/lib/x86_vc/mmxfrag.h deleted file mode 100644 index 45ee93e7..00000000 --- a/Libraries/libtheora-1.1.1/lib/x86_vc/mmxfrag.h +++ /dev/null @@ -1,61 +0,0 @@ -#if !defined(_x86_vc_mmxfrag_H) -# define _x86_vc_mmxfrag_H (1) -# include -# include "x86int.h" - -#if defined(OC_X86_ASM) - -/*Copies an 8x8 block of pixels from _src to _dst, assuming _ystride bytes - between rows.*/ -#define OC_FRAG_COPY_MMX(_dst,_src,_ystride) \ - do{ \ - const unsigned char *src; \ - unsigned char *dst; \ - src=(_src); \ - dst=(_dst); \ - __asm mov SRC,src \ - __asm mov DST,dst \ - __asm mov YSTRIDE,_ystride \ - /*src+0*ystride*/ \ - __asm movq mm0,[SRC] \ - /*src+1*ystride*/ \ - __asm movq mm1,[SRC+YSTRIDE] \ - /*ystride3=ystride*3*/ \ - __asm lea YSTRIDE3,[YSTRIDE+YSTRIDE*2] \ - /*src+2*ystride*/ \ - __asm movq mm2,[SRC+YSTRIDE*2] \ - /*src+3*ystride*/ \ - __asm movq mm3,[SRC+YSTRIDE3] \ - /*dst+0*ystride*/ \ - __asm movq [DST],mm0 \ - /*dst+1*ystride*/ \ - __asm movq [DST+YSTRIDE],mm1 \ - /*Pointer to next 4.*/ \ - __asm lea SRC,[SRC+YSTRIDE*4] \ - /*dst+2*ystride*/ \ - __asm movq [DST+YSTRIDE*2],mm2 \ - /*dst+3*ystride*/ \ - __asm movq [DST+YSTRIDE3],mm3 \ - /*Pointer to next 4.*/ \ - __asm lea DST,[DST+YSTRIDE*4] \ - /*src+0*ystride*/ \ - __asm movq mm0,[SRC] \ - /*src+1*ystride*/ \ - __asm movq mm1,[SRC+YSTRIDE] \ - /*src+2*ystride*/ \ - __asm movq mm2,[SRC+YSTRIDE*2] \ - /*src+3*ystride*/ \ - __asm movq mm3,[SRC+YSTRIDE3] \ - /*dst+0*ystride*/ \ - __asm movq [DST],mm0 \ - /*dst+1*ystride*/ \ - __asm movq [DST+YSTRIDE],mm1 \ - /*dst+2*ystride*/ \ - __asm movq [DST+YSTRIDE*2],mm2 \ - /*dst+3*ystride*/ \ - __asm movq [DST+YSTRIDE3],mm3 \ - } \ - while(0) - -# endif -#endif diff --git a/Libraries/libtheora-1.1.1/lib/x86_vc/mmxidct.c b/Libraries/libtheora-1.1.1/lib/x86_vc/mmxidct.c deleted file mode 100644 index 8f5ff680..00000000 --- a/Libraries/libtheora-1.1.1/lib/x86_vc/mmxidct.c +++ /dev/null @@ -1,562 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: mmxidct.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -/*MMX acceleration of Theora's iDCT. - Originally written by Rudolf Marek, based on code from On2's VP3.*/ -#include "x86int.h" -#include "../dct.h" - -#if defined(OC_X86_ASM) - -/*These are offsets into the table of constants below.*/ -/*7 rows of cosines, in order: pi/16 * (1 ... 7).*/ -#define OC_COSINE_OFFSET (0) -/*A row of 8's.*/ -#define OC_EIGHT_OFFSET (56) - - - -/*A table of constants used by the MMX routines.*/ -static const __declspec(align(16))ogg_uint16_t - OC_IDCT_CONSTS[(7+1)*4]={ - (ogg_uint16_t)OC_C1S7,(ogg_uint16_t)OC_C1S7, - (ogg_uint16_t)OC_C1S7,(ogg_uint16_t)OC_C1S7, - (ogg_uint16_t)OC_C2S6,(ogg_uint16_t)OC_C2S6, - (ogg_uint16_t)OC_C2S6,(ogg_uint16_t)OC_C2S6, - (ogg_uint16_t)OC_C3S5,(ogg_uint16_t)OC_C3S5, - (ogg_uint16_t)OC_C3S5,(ogg_uint16_t)OC_C3S5, - (ogg_uint16_t)OC_C4S4,(ogg_uint16_t)OC_C4S4, - (ogg_uint16_t)OC_C4S4,(ogg_uint16_t)OC_C4S4, - (ogg_uint16_t)OC_C5S3,(ogg_uint16_t)OC_C5S3, - (ogg_uint16_t)OC_C5S3,(ogg_uint16_t)OC_C5S3, - (ogg_uint16_t)OC_C6S2,(ogg_uint16_t)OC_C6S2, - (ogg_uint16_t)OC_C6S2,(ogg_uint16_t)OC_C6S2, - (ogg_uint16_t)OC_C7S1,(ogg_uint16_t)OC_C7S1, - (ogg_uint16_t)OC_C7S1,(ogg_uint16_t)OC_C7S1, - 8, 8, 8, 8 -}; - -/*38 cycles*/ -#define OC_IDCT_BEGIN __asm{ \ - __asm movq mm2,OC_I(3) \ - __asm movq mm6,OC_C(3) \ - __asm movq mm4,mm2 \ - __asm movq mm7,OC_J(5) \ - __asm pmulhw mm4,mm6 \ - __asm movq mm1,OC_C(5) \ - __asm pmulhw mm6,mm7 \ - __asm movq mm5,mm1 \ - __asm pmulhw mm1,mm2 \ - __asm movq mm3,OC_I(1) \ - __asm pmulhw mm5,mm7 \ - __asm movq mm0,OC_C(1) \ - __asm paddw mm4,mm2 \ - __asm paddw mm6,mm7 \ - __asm paddw mm2,mm1 \ - __asm movq mm1,OC_J(7) \ - __asm paddw mm7,mm5 \ - __asm movq mm5,mm0 \ - __asm pmulhw mm0,mm3 \ - __asm paddw mm4,mm7 \ - __asm pmulhw mm5,mm1 \ - __asm movq mm7,OC_C(7) \ - __asm psubw mm6,mm2 \ - __asm paddw mm0,mm3 \ - __asm pmulhw mm3,mm7 \ - __asm movq mm2,OC_I(2) \ - __asm pmulhw mm7,mm1 \ - __asm paddw mm5,mm1 \ - __asm movq mm1,mm2 \ - __asm pmulhw mm2,OC_C(2) \ - __asm psubw mm3,mm5 \ - __asm movq mm5,OC_J(6) \ - __asm paddw mm0,mm7 \ - __asm movq mm7,mm5 \ - __asm psubw mm0,mm4 \ - __asm pmulhw mm5,OC_C(2) \ - __asm paddw mm2,mm1 \ - __asm pmulhw mm1,OC_C(6) \ - __asm paddw mm4,mm4 \ - __asm paddw mm4,mm0 \ - __asm psubw mm3,mm6 \ - __asm paddw mm5,mm7 \ - __asm paddw mm6,mm6 \ - __asm pmulhw mm7,OC_C(6) \ - __asm paddw mm6,mm3 \ - __asm movq OC_I(1),mm4 \ - __asm psubw mm1,mm5 \ - __asm movq mm4,OC_C(4) \ - __asm movq mm5,mm3 \ - __asm pmulhw mm3,mm4 \ - __asm paddw mm7,mm2 \ - __asm movq OC_I(2),mm6 \ - __asm movq mm2,mm0 \ - __asm movq mm6,OC_I(0) \ - __asm pmulhw mm0,mm4 \ - __asm paddw mm5,mm3 \ - __asm movq mm3,OC_J(4) \ - __asm psubw mm5,mm1 \ - __asm paddw mm2,mm0 \ - __asm psubw mm6,mm3 \ - __asm movq mm0,mm6 \ - __asm pmulhw mm6,mm4 \ - __asm paddw mm3,mm3 \ - __asm paddw mm1,mm1 \ - __asm paddw mm3,mm0 \ - __asm paddw mm1,mm5 \ - __asm pmulhw mm4,mm3 \ - __asm paddw mm6,mm0 \ - __asm psubw mm6,mm2 \ - __asm paddw mm2,mm2 \ - __asm movq mm0,OC_I(1) \ - __asm paddw mm2,mm6 \ - __asm paddw mm4,mm3 \ - __asm psubw mm2,mm1 \ -} - -/*38+8=46 cycles.*/ -#define OC_ROW_IDCT __asm{ \ - OC_IDCT_BEGIN \ - /*r3=D'*/ \ - __asm movq mm3,OC_I(2) \ - /*r4=E'=E-G*/ \ - __asm psubw mm4,mm7 \ - /*r1=H'+H'*/ \ - __asm paddw mm1,mm1 \ - /*r7=G+G*/ \ - __asm paddw mm7,mm7 \ - /*r1=R1=A''+H'*/ \ - __asm paddw mm1,mm2 \ - /*r7=G'=E+G*/ \ - __asm paddw mm7,mm4 \ - /*r4=R4=E'-D'*/ \ - __asm psubw mm4,mm3 \ - __asm paddw mm3,mm3 \ - /*r6=R6=F'-B''*/ \ - __asm psubw mm6,mm5 \ - __asm paddw mm5,mm5 \ - /*r3=R3=E'+D'*/ \ - __asm paddw mm3,mm4 \ - /*r5=R5=F'+B''*/ \ - __asm paddw mm5,mm6 \ - /*r7=R7=G'-C'*/ \ - __asm psubw mm7,mm0 \ - __asm paddw mm0,mm0 \ - /*Save R1.*/ \ - __asm movq OC_I(1),mm1 \ - /*r0=R0=G.+C.*/ \ - __asm paddw mm0,mm7 \ -} - -/*The following macro does two 4x4 transposes in place. - At entry, we assume: - r0 = a3 a2 a1 a0 - I(1) = b3 b2 b1 b0 - r2 = c3 c2 c1 c0 - r3 = d3 d2 d1 d0 - - r4 = e3 e2 e1 e0 - r5 = f3 f2 f1 f0 - r6 = g3 g2 g1 g0 - r7 = h3 h2 h1 h0 - - At exit, we have: - I(0) = d0 c0 b0 a0 - I(1) = d1 c1 b1 a1 - I(2) = d2 c2 b2 a2 - I(3) = d3 c3 b3 a3 - - J(4) = h0 g0 f0 e0 - J(5) = h1 g1 f1 e1 - J(6) = h2 g2 f2 e2 - J(7) = h3 g3 f3 e3 - - I(0) I(1) I(2) I(3) is the transpose of r0 I(1) r2 r3. - J(4) J(5) J(6) J(7) is the transpose of r4 r5 r6 r7. - - Since r1 is free at entry, we calculate the Js first.*/ -/*19 cycles.*/ -#define OC_TRANSPOSE __asm{ \ - __asm movq mm1,mm4 \ - __asm punpcklwd mm4,mm5 \ - __asm movq OC_I(0),mm0 \ - __asm punpckhwd mm1,mm5 \ - __asm movq mm0,mm6 \ - __asm punpcklwd mm6,mm7 \ - __asm movq mm5,mm4 \ - __asm punpckldq mm4,mm6 \ - __asm punpckhdq mm5,mm6 \ - __asm movq mm6,mm1 \ - __asm movq OC_J(4),mm4 \ - __asm punpckhwd mm0,mm7 \ - __asm movq OC_J(5),mm5 \ - __asm punpckhdq mm6,mm0 \ - __asm movq mm4,OC_I(0) \ - __asm punpckldq mm1,mm0 \ - __asm movq mm5,OC_I(1) \ - __asm movq mm0,mm4 \ - __asm movq OC_J(7),mm6 \ - __asm punpcklwd mm0,mm5 \ - __asm movq OC_J(6),mm1 \ - __asm punpckhwd mm4,mm5 \ - __asm movq mm5,mm2 \ - __asm punpcklwd mm2,mm3 \ - __asm movq mm1,mm0 \ - __asm punpckldq mm0,mm2 \ - __asm punpckhdq mm1,mm2 \ - __asm movq mm2,mm4 \ - __asm movq OC_I(0),mm0 \ - __asm punpckhwd mm5,mm3 \ - __asm movq OC_I(1),mm1 \ - __asm punpckhdq mm4,mm5 \ - __asm punpckldq mm2,mm5 \ - __asm movq OC_I(3),mm4 \ - __asm movq OC_I(2),mm2 \ -} - -/*38+19=57 cycles.*/ -#define OC_COLUMN_IDCT __asm{ \ - OC_IDCT_BEGIN \ - __asm paddw mm2,OC_8 \ - /*r1=H'+H'*/ \ - __asm paddw mm1,mm1 \ - /*r1=R1=A''+H'*/ \ - __asm paddw mm1,mm2 \ - /*r2=NR2*/ \ - __asm psraw mm2,4 \ - /*r4=E'=E-G*/ \ - __asm psubw mm4,mm7 \ - /*r1=NR1*/ \ - __asm psraw mm1,4 \ - /*r3=D'*/ \ - __asm movq mm3,OC_I(2) \ - /*r7=G+G*/ \ - __asm paddw mm7,mm7 \ - /*Store NR2 at I(2).*/ \ - __asm movq OC_I(2),mm2 \ - /*r7=G'=E+G*/ \ - __asm paddw mm7,mm4 \ - /*Store NR1 at I(1).*/ \ - __asm movq OC_I(1),mm1 \ - /*r4=R4=E'-D'*/ \ - __asm psubw mm4,mm3 \ - __asm paddw mm4,OC_8 \ - /*r3=D'+D'*/ \ - __asm paddw mm3,mm3 \ - /*r3=R3=E'+D'*/ \ - __asm paddw mm3,mm4 \ - /*r4=NR4*/ \ - __asm psraw mm4,4 \ - /*r6=R6=F'-B''*/ \ - __asm psubw mm6,mm5 \ - /*r3=NR3*/ \ - __asm psraw mm3,4 \ - __asm paddw mm6,OC_8 \ - /*r5=B''+B''*/ \ - __asm paddw mm5,mm5 \ - /*r5=R5=F'+B''*/ \ - __asm paddw mm5,mm6 \ - /*r6=NR6*/ \ - __asm psraw mm6,4 \ - /*Store NR4 at J(4).*/ \ - __asm movq OC_J(4),mm4 \ - /*r5=NR5*/ \ - __asm psraw mm5,4 \ - /*Store NR3 at I(3).*/ \ - __asm movq OC_I(3),mm3 \ - /*r7=R7=G'-C'*/ \ - __asm psubw mm7,mm0 \ - __asm paddw mm7,OC_8 \ - /*r0=C'+C'*/ \ - __asm paddw mm0,mm0 \ - /*r0=R0=G'+C'*/ \ - __asm paddw mm0,mm7 \ - /*r7=NR7*/ \ - __asm psraw mm7,4 \ - /*Store NR6 at J(6).*/ \ - __asm movq OC_J(6),mm6 \ - /*r0=NR0*/ \ - __asm psraw mm0,4 \ - /*Store NR5 at J(5).*/ \ - __asm movq OC_J(5),mm5 \ - /*Store NR7 at J(7).*/ \ - __asm movq OC_J(7),mm7 \ - /*Store NR0 at I(0).*/ \ - __asm movq OC_I(0),mm0 \ -} - -#define OC_MID(_m,_i) [CONSTS+_m+(_i)*8] -#define OC_C(_i) OC_MID(OC_COSINE_OFFSET,_i-1) -#define OC_8 OC_MID(OC_EIGHT_OFFSET,0) - -static void oc_idct8x8_slow(ogg_int16_t _y[64]){ - /*This routine accepts an 8x8 matrix, but in partially transposed form. - Every 4x4 block is transposed.*/ - __asm{ -#define CONSTS eax -#define Y edx - mov CONSTS,offset OC_IDCT_CONSTS - mov Y,_y -#define OC_I(_k) [Y+_k*16] -#define OC_J(_k) [Y+(_k-4)*16+8] - OC_ROW_IDCT - OC_TRANSPOSE -#undef OC_I -#undef OC_J -#define OC_I(_k) [Y+(_k*16)+64] -#define OC_J(_k) [Y+(_k-4)*16+72] - OC_ROW_IDCT - OC_TRANSPOSE -#undef OC_I -#undef OC_J -#define OC_I(_k) [Y+_k*16] -#define OC_J(_k) OC_I(_k) - OC_COLUMN_IDCT -#undef OC_I -#undef OC_J -#define OC_I(_k) [Y+_k*16+8] -#define OC_J(_k) OC_I(_k) - OC_COLUMN_IDCT -#undef OC_I -#undef OC_J -#undef CONSTS -#undef Y - } -} - -/*25 cycles.*/ -#define OC_IDCT_BEGIN_10 __asm{ \ - __asm movq mm2,OC_I(3) \ - __asm nop \ - __asm movq mm6,OC_C(3) \ - __asm movq mm4,mm2 \ - __asm movq mm1,OC_C(5) \ - __asm pmulhw mm4,mm6 \ - __asm movq mm3,OC_I(1) \ - __asm pmulhw mm1,mm2 \ - __asm movq mm0,OC_C(1) \ - __asm paddw mm4,mm2 \ - __asm pxor mm6,mm6 \ - __asm paddw mm2,mm1 \ - __asm movq mm5,OC_I(2) \ - __asm pmulhw mm0,mm3 \ - __asm movq mm1,mm5 \ - __asm paddw mm0,mm3 \ - __asm pmulhw mm3,OC_C(7) \ - __asm psubw mm6,mm2 \ - __asm pmulhw mm5,OC_C(2) \ - __asm psubw mm0,mm4 \ - __asm movq mm7,OC_I(2) \ - __asm paddw mm4,mm4 \ - __asm paddw mm7,mm5 \ - __asm paddw mm4,mm0 \ - __asm pmulhw mm1,OC_C(6) \ - __asm psubw mm3,mm6 \ - __asm movq OC_I(1),mm4 \ - __asm paddw mm6,mm6 \ - __asm movq mm4,OC_C(4) \ - __asm paddw mm6,mm3 \ - __asm movq mm5,mm3 \ - __asm pmulhw mm3,mm4 \ - __asm movq OC_I(2),mm6 \ - __asm movq mm2,mm0 \ - __asm movq mm6,OC_I(0) \ - __asm pmulhw mm0,mm4 \ - __asm paddw mm5,mm3 \ - __asm paddw mm2,mm0 \ - __asm psubw mm5,mm1 \ - __asm pmulhw mm6,mm4 \ - __asm paddw mm6,OC_I(0) \ - __asm paddw mm1,mm1 \ - __asm movq mm4,mm6 \ - __asm paddw mm1,mm5 \ - __asm psubw mm6,mm2 \ - __asm paddw mm2,mm2 \ - __asm movq mm0,OC_I(1) \ - __asm paddw mm2,mm6 \ - __asm psubw mm2,mm1 \ - __asm nop \ -} - -/*25+8=33 cycles.*/ -#define OC_ROW_IDCT_10 __asm{ \ - OC_IDCT_BEGIN_10 \ - /*r3=D'*/ \ - __asm movq mm3,OC_I(2) \ - /*r4=E'=E-G*/ \ - __asm psubw mm4,mm7 \ - /*r1=H'+H'*/ \ - __asm paddw mm1,mm1 \ - /*r7=G+G*/ \ - __asm paddw mm7,mm7 \ - /*r1=R1=A''+H'*/ \ - __asm paddw mm1,mm2 \ - /*r7=G'=E+G*/ \ - __asm paddw mm7,mm4 \ - /*r4=R4=E'-D'*/ \ - __asm psubw mm4,mm3 \ - __asm paddw mm3,mm3 \ - /*r6=R6=F'-B''*/ \ - __asm psubw mm6,mm5 \ - __asm paddw mm5,mm5 \ - /*r3=R3=E'+D'*/ \ - __asm paddw mm3,mm4 \ - /*r5=R5=F'+B''*/ \ - __asm paddw mm5,mm6 \ - /*r7=R7=G'-C'*/ \ - __asm psubw mm7,mm0 \ - __asm paddw mm0,mm0 \ - /*Save R1.*/ \ - __asm movq OC_I(1),mm1 \ - /*r0=R0=G'+C'*/ \ - __asm paddw mm0,mm7 \ -} - -/*25+19=44 cycles'*/ -#define OC_COLUMN_IDCT_10 __asm{ \ - OC_IDCT_BEGIN_10 \ - __asm paddw mm2,OC_8 \ - /*r1=H'+H'*/ \ - __asm paddw mm1,mm1 \ - /*r1=R1=A''+H'*/ \ - __asm paddw mm1,mm2 \ - /*r2=NR2*/ \ - __asm psraw mm2,4 \ - /*r4=E'=E-G*/ \ - __asm psubw mm4,mm7 \ - /*r1=NR1*/ \ - __asm psraw mm1,4 \ - /*r3=D'*/ \ - __asm movq mm3,OC_I(2) \ - /*r7=G+G*/ \ - __asm paddw mm7,mm7 \ - /*Store NR2 at I(2).*/ \ - __asm movq OC_I(2),mm2 \ - /*r7=G'=E+G*/ \ - __asm paddw mm7,mm4 \ - /*Store NR1 at I(1).*/ \ - __asm movq OC_I(1),mm1 \ - /*r4=R4=E'-D'*/ \ - __asm psubw mm4,mm3 \ - __asm paddw mm4,OC_8 \ - /*r3=D'+D'*/ \ - __asm paddw mm3,mm3 \ - /*r3=R3=E'+D'*/ \ - __asm paddw mm3,mm4 \ - /*r4=NR4*/ \ - __asm psraw mm4,4 \ - /*r6=R6=F'-B''*/ \ - __asm psubw mm6,mm5 \ - /*r3=NR3*/ \ - __asm psraw mm3,4 \ - __asm paddw mm6,OC_8 \ - /*r5=B''+B''*/ \ - __asm paddw mm5,mm5 \ - /*r5=R5=F'+B''*/ \ - __asm paddw mm5,mm6 \ - /*r6=NR6*/ \ - __asm psraw mm6,4 \ - /*Store NR4 at J(4).*/ \ - __asm movq OC_J(4),mm4 \ - /*r5=NR5*/ \ - __asm psraw mm5,4 \ - /*Store NR3 at I(3).*/ \ - __asm movq OC_I(3),mm3 \ - /*r7=R7=G'-C'*/ \ - __asm psubw mm7,mm0 \ - __asm paddw mm7,OC_8 \ - /*r0=C'+C'*/ \ - __asm paddw mm0,mm0 \ - /*r0=R0=G'+C'*/ \ - __asm paddw mm0,mm7 \ - /*r7=NR7*/ \ - __asm psraw mm7,4 \ - /*Store NR6 at J(6).*/ \ - __asm movq OC_J(6),mm6 \ - /*r0=NR0*/ \ - __asm psraw mm0,4 \ - /*Store NR5 at J(5).*/ \ - __asm movq OC_J(5),mm5 \ - /*Store NR7 at J(7).*/ \ - __asm movq OC_J(7),mm7 \ - /*Store NR0 at I(0).*/ \ - __asm movq OC_I(0),mm0 \ -} - -static void oc_idct8x8_10(ogg_int16_t _y[64]){ - __asm{ -#define CONSTS eax -#define Y edx - mov CONSTS,offset OC_IDCT_CONSTS - mov Y,_y -#define OC_I(_k) [Y+_k*16] -#define OC_J(_k) [Y+(_k-4)*16+8] - /*Done with dequant, descramble, and partial transpose. - Now do the iDCT itself.*/ - OC_ROW_IDCT_10 - OC_TRANSPOSE -#undef OC_I -#undef OC_J -#define OC_I(_k) [Y+_k*16] -#define OC_J(_k) OC_I(_k) - OC_COLUMN_IDCT_10 -#undef OC_I -#undef OC_J -#define OC_I(_k) [Y+_k*16+8] -#define OC_J(_k) OC_I(_k) - OC_COLUMN_IDCT_10 -#undef OC_I -#undef OC_J -#undef CONSTS -#undef Y - } -} - -/*Performs an inverse 8x8 Type-II DCT transform. - The input is assumed to be scaled by a factor of 4 relative to orthonormal - version of the transform.*/ -void oc_idct8x8_mmx(ogg_int16_t _y[64],int _last_zzi){ - /*_last_zzi is subtly different from an actual count of the number of - coefficients we decoded for this block. - It contains the value of zzi BEFORE the final token in the block was - decoded. - In most cases this is an EOB token (the continuation of an EOB run from a - previous block counts), and so this is the same as the coefficient count. - However, in the case that the last token was NOT an EOB token, but filled - the block up with exactly 64 coefficients, _last_zzi will be less than 64. - Provided the last token was not a pure zero run, the minimum value it can - be is 46, and so that doesn't affect any of the cases in this routine. - However, if the last token WAS a pure zero run of length 63, then _last_zzi - will be 1 while the number of coefficients decoded is 64. - Thus, we will trigger the following special case, where the real - coefficient count would not. - Note also that a zero run of length 64 will give _last_zzi a value of 0, - but we still process the DC coefficient, which might have a non-zero value - due to DC prediction. - Although convoluted, this is arguably the correct behavior: it allows us to - use a smaller transform when the block ends with a long zero run instead - of a normal EOB token. - It could be smarter... multiple separate zero runs at the end of a block - will fool it, but an encoder that generates these really deserves what it - gets. - Needless to say we inherited this approach from VP3.*/ - /*Perform the iDCT.*/ - if(_last_zzi<10)oc_idct8x8_10(_y); - else oc_idct8x8_slow(_y); -} - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/x86_vc/mmxloop.h b/Libraries/libtheora-1.1.1/lib/x86_vc/mmxloop.h deleted file mode 100644 index 2561fca2..00000000 --- a/Libraries/libtheora-1.1.1/lib/x86_vc/mmxloop.h +++ /dev/null @@ -1,219 +0,0 @@ -#if !defined(_x86_vc_mmxloop_H) -# define _x86_vc_mmxloop_H (1) -# include -# include "x86int.h" - -#if defined(OC_X86_ASM) - -/*On entry, mm0={a0,...,a7}, mm1={b0,...,b7}, mm2={c0,...,c7}, mm3={d0,...d7}. - On exit, mm1={b0+lflim(R_0,L),...,b7+lflim(R_7,L)} and - mm2={c0-lflim(R_0,L),...,c7-lflim(R_7,L)}; mm0 and mm3 are clobbered.*/ -#define OC_LOOP_FILTER8_MMX __asm{ \ - /*mm7=0*/ \ - __asm pxor mm7,mm7 \ - /*mm6:mm0={a0,...,a7}*/ \ - __asm movq mm6,mm0 \ - __asm punpcklbw mm0,mm7 \ - __asm punpckhbw mm6,mm7 \ - /*mm3:mm5={d0,...,d7}*/ \ - __asm movq mm5,mm3 \ - __asm punpcklbw mm3,mm7 \ - __asm punpckhbw mm5,mm7 \ - /*mm6:mm0={a0-d0,...,a7-d7}*/ \ - __asm psubw mm0,mm3 \ - __asm psubw mm6,mm5 \ - /*mm3:mm1={b0,...,b7}*/ \ - __asm movq mm3,mm1 \ - __asm punpcklbw mm1,mm7 \ - __asm movq mm4,mm2 \ - __asm punpckhbw mm3,mm7 \ - /*mm5:mm4={c0,...,c7}*/ \ - __asm movq mm5,mm2 \ - __asm punpcklbw mm4,mm7 \ - __asm punpckhbw mm5,mm7 \ - /*mm7={3}x4 \ - mm5:mm4={c0-b0,...,c7-b7}*/ \ - __asm pcmpeqw mm7,mm7 \ - __asm psubw mm4,mm1 \ - __asm psrlw mm7,14 \ - __asm psubw mm5,mm3 \ - /*Scale by 3.*/ \ - __asm pmullw mm4,mm7 \ - __asm pmullw mm5,mm7 \ - /*mm7={4}x4 \ - mm5:mm4=f={a0-d0+3*(c0-b0),...,a7-d7+3*(c7-b7)}*/ \ - __asm psrlw mm7,1 \ - __asm paddw mm4,mm0 \ - __asm psllw mm7,2 \ - __asm movq mm0,[LL] \ - __asm paddw mm5,mm6 \ - /*R_i has the range [-127,128], so we compute -R_i instead. \ - mm4=-R_i=-(f+4>>3)=0xFF^(f-4>>3)*/ \ - __asm psubw mm4,mm7 \ - __asm psubw mm5,mm7 \ - __asm psraw mm4,3 \ - __asm psraw mm5,3 \ - __asm pcmpeqb mm7,mm7 \ - __asm packsswb mm4,mm5 \ - __asm pxor mm6,mm6 \ - __asm pxor mm4,mm7 \ - __asm packuswb mm1,mm3 \ - /*Now compute lflim of -mm4 cf. Section 7.10 of the sepc.*/ \ - /*There's no unsigned byte+signed byte with unsigned saturation op code, so \ - we have to split things by sign (the other option is to work in 16 bits, \ - but working in 8 bits gives much better parallelism). \ - We compute abs(R_i), but save a mask of which terms were negative in mm6. \ - Then we compute mm4=abs(lflim(R_i,L))=min(abs(R_i),max(2*L-abs(R_i),0)). \ - Finally, we split mm4 into positive and negative pieces using the mask in \ - mm6, and add and subtract them as appropriate.*/ \ - /*mm4=abs(-R_i)*/ \ - /*mm7=255-2*L*/ \ - __asm pcmpgtb mm6,mm4 \ - __asm psubb mm7,mm0 \ - __asm pxor mm4,mm6 \ - __asm psubb mm7,mm0 \ - __asm psubb mm4,mm6 \ - /*mm7=255-max(2*L-abs(R_i),0)*/ \ - __asm paddusb mm7,mm4 \ - /*mm4=min(abs(R_i),max(2*L-abs(R_i),0))*/ \ - __asm paddusb mm4,mm7 \ - __asm psubusb mm4,mm7 \ - /*Now split mm4 by the original sign of -R_i.*/ \ - __asm movq mm5,mm4 \ - __asm pand mm4,mm6 \ - __asm pandn mm6,mm5 \ - /*mm1={b0+lflim(R_0,L),...,b7+lflim(R_7,L)}*/ \ - /*mm2={c0-lflim(R_0,L),...,c7-lflim(R_7,L)}*/ \ - __asm paddusb mm1,mm4 \ - __asm psubusb mm2,mm4 \ - __asm psubusb mm1,mm6 \ - __asm paddusb mm2,mm6 \ -} - -#define OC_LOOP_FILTER_V_MMX(_pix,_ystride,_ll) \ - do{ \ - /*Used local variable pix__ in order to fix compilation errors like: \ - "error C2425: 'SHL' : non-constant expression in 'second operand'".*/ \ - unsigned char *pix__; \ - unsigned char *ll__; \ - ll__=(_ll); \ - pix__=(_pix); \ - __asm mov YSTRIDE,_ystride \ - __asm mov LL,ll__ \ - __asm mov PIX,pix__ \ - __asm sub PIX,YSTRIDE \ - __asm sub PIX,YSTRIDE \ - /*mm0={a0,...,a7}*/ \ - __asm movq mm0,[PIX] \ - /*ystride3=_ystride*3*/ \ - __asm lea YSTRIDE3,[YSTRIDE+YSTRIDE*2] \ - /*mm3={d0,...,d7}*/ \ - __asm movq mm3,[PIX+YSTRIDE3] \ - /*mm1={b0,...,b7}*/ \ - __asm movq mm1,[PIX+YSTRIDE] \ - /*mm2={c0,...,c7}*/ \ - __asm movq mm2,[PIX+YSTRIDE*2] \ - OC_LOOP_FILTER8_MMX \ - /*Write it back out.*/ \ - __asm movq [PIX+YSTRIDE],mm1 \ - __asm movq [PIX+YSTRIDE*2],mm2 \ - } \ - while(0) - -#define OC_LOOP_FILTER_H_MMX(_pix,_ystride,_ll) \ - do{ \ - /*Used local variable ll__ in order to fix compilation errors like: \ - "error C2443: operand size conflict".*/ \ - unsigned char *ll__; \ - unsigned char *pix__; \ - ll__=(_ll); \ - pix__=(_pix)-2; \ - __asm mov PIX,pix__ \ - __asm mov YSTRIDE,_ystride \ - __asm mov LL,ll__ \ - /*x x x x d0 c0 b0 a0*/ \ - __asm movd mm0,[PIX] \ - /*x x x x d1 c1 b1 a1*/ \ - __asm movd mm1,[PIX+YSTRIDE] \ - /*ystride3=_ystride*3*/ \ - __asm lea YSTRIDE3,[YSTRIDE+YSTRIDE*2] \ - /*x x x x d2 c2 b2 a2*/ \ - __asm movd mm2,[PIX+YSTRIDE*2] \ - /*x x x x d3 c3 b3 a3*/ \ - __asm lea D,[PIX+YSTRIDE*4] \ - __asm movd mm3,[PIX+YSTRIDE3] \ - /*x x x x d4 c4 b4 a4*/ \ - __asm movd mm4,[D] \ - /*x x x x d5 c5 b5 a5*/ \ - __asm movd mm5,[D+YSTRIDE] \ - /*x x x x d6 c6 b6 a6*/ \ - __asm movd mm6,[D+YSTRIDE*2] \ - /*x x x x d7 c7 b7 a7*/ \ - __asm movd mm7,[D+YSTRIDE3] \ - /*mm0=d1 d0 c1 c0 b1 b0 a1 a0*/ \ - __asm punpcklbw mm0,mm1 \ - /*mm2=d3 d2 c3 c2 b3 b2 a3 a2*/ \ - __asm punpcklbw mm2,mm3 \ - /*mm3=d1 d0 c1 c0 b1 b0 a1 a0*/ \ - __asm movq mm3,mm0 \ - /*mm0=b3 b2 b1 b0 a3 a2 a1 a0*/ \ - __asm punpcklwd mm0,mm2 \ - /*mm3=d3 d2 d1 d0 c3 c2 c1 c0*/ \ - __asm punpckhwd mm3,mm2 \ - /*mm1=b3 b2 b1 b0 a3 a2 a1 a0*/ \ - __asm movq mm1,mm0 \ - /*mm4=d5 d4 c5 c4 b5 b4 a5 a4*/ \ - __asm punpcklbw mm4,mm5 \ - /*mm6=d7 d6 c7 c6 b7 b6 a7 a6*/ \ - __asm punpcklbw mm6,mm7 \ - /*mm5=d5 d4 c5 c4 b5 b4 a5 a4*/ \ - __asm movq mm5,mm4 \ - /*mm4=b7 b6 b5 b4 a7 a6 a5 a4*/ \ - __asm punpcklwd mm4,mm6 \ - /*mm5=d7 d6 d5 d4 c7 c6 c5 c4*/ \ - __asm punpckhwd mm5,mm6 \ - /*mm2=d3 d2 d1 d0 c3 c2 c1 c0*/ \ - __asm movq mm2,mm3 \ - /*mm0=a7 a6 a5 a4 a3 a2 a1 a0*/ \ - __asm punpckldq mm0,mm4 \ - /*mm1=b7 b6 b5 b4 b3 b2 b1 b0*/ \ - __asm punpckhdq mm1,mm4 \ - /*mm2=c7 c6 c5 c4 c3 c2 c1 c0*/ \ - __asm punpckldq mm2,mm5 \ - /*mm3=d7 d6 d5 d4 d3 d2 d1 d0*/ \ - __asm punpckhdq mm3,mm5 \ - OC_LOOP_FILTER8_MMX \ - /*mm2={b0+R_0'',...,b7+R_7''}*/ \ - __asm movq mm0,mm1 \ - /*mm1={b0+R_0'',c0-R_0'',...,b3+R_3'',c3-R_3''}*/ \ - __asm punpcklbw mm1,mm2 \ - /*mm2={b4+R_4'',c4-R_4'',...,b7+R_7'',c7-R_7''}*/ \ - __asm punpckhbw mm0,mm2 \ - /*[d]=c1 b1 c0 b0*/ \ - __asm movd D,mm1 \ - __asm mov [PIX+1],D_WORD \ - __asm psrlq mm1,32 \ - __asm shr D,16 \ - __asm mov [PIX+YSTRIDE+1],D_WORD \ - /*[d]=c3 b3 c2 b2*/ \ - __asm movd D,mm1 \ - __asm mov [PIX+YSTRIDE*2+1],D_WORD \ - __asm shr D,16 \ - __asm mov [PIX+YSTRIDE3+1],D_WORD \ - __asm lea PIX,[PIX+YSTRIDE*4] \ - /*[d]=c5 b5 c4 b4*/ \ - __asm movd D,mm0 \ - __asm mov [PIX+1],D_WORD \ - __asm psrlq mm0,32 \ - __asm shr D,16 \ - __asm mov [PIX+YSTRIDE+1],D_WORD \ - /*[d]=c7 b7 c6 b6*/ \ - __asm movd D,mm0 \ - __asm mov [PIX+YSTRIDE*2+1],D_WORD \ - __asm shr D,16 \ - __asm mov [PIX+YSTRIDE3+1],D_WORD \ - } \ - while(0) - -# endif -#endif diff --git a/Libraries/libtheora-1.1.1/lib/x86_vc/mmxstate.c b/Libraries/libtheora-1.1.1/lib/x86_vc/mmxstate.c deleted file mode 100644 index 73bd1981..00000000 --- a/Libraries/libtheora-1.1.1/lib/x86_vc/mmxstate.c +++ /dev/null @@ -1,211 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: mmxstate.c 16584 2009-09-26 19:35:55Z tterribe $ - - ********************************************************************/ - -/*MMX acceleration of complete fragment reconstruction algorithm. - Originally written by Rudolf Marek.*/ -#include -#include "x86int.h" -#include "mmxfrag.h" -#include "mmxloop.h" - -#if defined(OC_X86_ASM) - -void oc_state_frag_recon_mmx(const oc_theora_state *_state,ptrdiff_t _fragi, - int _pli,ogg_int16_t _dct_coeffs[64],int _last_zzi,ogg_uint16_t _dc_quant){ - unsigned char *dst; - ptrdiff_t frag_buf_off; - int ystride; - int mb_mode; - /*Apply the inverse transform.*/ - /*Special case only having a DC component.*/ - if(_last_zzi<2){ - /*Note that this value must be unsigned, to keep the __asm__ block from - sign-extending it when it puts it in a register.*/ - ogg_uint16_t p; - /*We round this dequant product (and not any of the others) because there's - no iDCT rounding.*/ - p=(ogg_int16_t)(_dct_coeffs[0]*(ogg_int32_t)_dc_quant+15>>5); - /*Fill _dct_coeffs with p.*/ - __asm{ -#define Y eax -#define P ecx - mov Y,_dct_coeffs - movzx P,p - /*mm0=0000 0000 0000 AAAA*/ - movd mm0,P - /*mm0=0000 0000 AAAA AAAA*/ - punpcklwd mm0,mm0 - /*mm0=AAAA AAAA AAAA AAAA*/ - punpckldq mm0,mm0 - movq [Y],mm0 - movq [8+Y],mm0 - movq [16+Y],mm0 - movq [24+Y],mm0 - movq [32+Y],mm0 - movq [40+Y],mm0 - movq [48+Y],mm0 - movq [56+Y],mm0 - movq [64+Y],mm0 - movq [72+Y],mm0 - movq [80+Y],mm0 - movq [88+Y],mm0 - movq [96+Y],mm0 - movq [104+Y],mm0 - movq [112+Y],mm0 - movq [120+Y],mm0 -#undef Y -#undef P - } - } - else{ - /*Dequantize the DC coefficient.*/ - _dct_coeffs[0]=(ogg_int16_t)(_dct_coeffs[0]*(int)_dc_quant); - oc_idct8x8_mmx(_dct_coeffs,_last_zzi); - } - /*Fill in the target buffer.*/ - frag_buf_off=_state->frag_buf_offs[_fragi]; - mb_mode=_state->frags[_fragi].mb_mode; - ystride=_state->ref_ystride[_pli]; - dst=_state->ref_frame_data[_state->ref_frame_idx[OC_FRAME_SELF]]+frag_buf_off; - if(mb_mode==OC_MODE_INTRA)oc_frag_recon_intra_mmx(dst,ystride,_dct_coeffs); - else{ - const unsigned char *ref; - int mvoffsets[2]; - ref= - _state->ref_frame_data[_state->ref_frame_idx[OC_FRAME_FOR_MODE(mb_mode)]] - +frag_buf_off; - if(oc_state_get_mv_offsets(_state,mvoffsets,_pli, - _state->frag_mvs[_fragi][0],_state->frag_mvs[_fragi][1])>1){ - oc_frag_recon_inter2_mmx(dst,ref+mvoffsets[0],ref+mvoffsets[1],ystride, - _dct_coeffs); - } - else oc_frag_recon_inter_mmx(dst,ref+mvoffsets[0],ystride,_dct_coeffs); - } -} - -/*We copy these entire function to inline the actual MMX routines so that we - use only a single indirect call.*/ - -/*Copies the fragments specified by the lists of fragment indices from one - frame to another. - _fragis: A pointer to a list of fragment indices. - _nfragis: The number of fragment indices to copy. - _dst_frame: The reference frame to copy to. - _src_frame: The reference frame to copy from. - _pli: The color plane the fragments lie in.*/ -void oc_state_frag_copy_list_mmx(const oc_theora_state *_state, - const ptrdiff_t *_fragis,ptrdiff_t _nfragis, - int _dst_frame,int _src_frame,int _pli){ - const ptrdiff_t *frag_buf_offs; - const unsigned char *src_frame_data; - unsigned char *dst_frame_data; - ptrdiff_t fragii; - int ystride; - dst_frame_data=_state->ref_frame_data[_state->ref_frame_idx[_dst_frame]]; - src_frame_data=_state->ref_frame_data[_state->ref_frame_idx[_src_frame]]; - ystride=_state->ref_ystride[_pli]; - frag_buf_offs=_state->frag_buf_offs; - for(fragii=0;fragii<_nfragis;fragii++){ - ptrdiff_t frag_buf_off; - frag_buf_off=frag_buf_offs[_fragis[fragii]]; -#define SRC edx -#define DST eax -#define YSTRIDE ecx -#define YSTRIDE3 edi - OC_FRAG_COPY_MMX(dst_frame_data+frag_buf_off, - src_frame_data+frag_buf_off,ystride); -#undef SRC -#undef DST -#undef YSTRIDE -#undef YSTRIDE3 - } -} - -/*Apply the loop filter to a given set of fragment rows in the given plane. - The filter may be run on the bottom edge, affecting pixels in the next row of - fragments, so this row also needs to be available. - _bv: The bounding values array. - _refi: The index of the frame buffer to filter. - _pli: The color plane to filter. - _fragy0: The Y coordinate of the first fragment row to filter. - _fragy_end: The Y coordinate of the fragment row to stop filtering at.*/ -void oc_state_loop_filter_frag_rows_mmx(const oc_theora_state *_state, - int _bv[256],int _refi,int _pli,int _fragy0,int _fragy_end){ - OC_ALIGN8(unsigned char ll[8]); - const oc_fragment_plane *fplane; - const oc_fragment *frags; - const ptrdiff_t *frag_buf_offs; - unsigned char *ref_frame_data; - ptrdiff_t fragi_top; - ptrdiff_t fragi_bot; - ptrdiff_t fragi0; - ptrdiff_t fragi0_end; - int ystride; - int nhfrags; - memset(ll,_state->loop_filter_limits[_state->qis[0]],sizeof(ll)); - fplane=_state->fplanes+_pli; - nhfrags=fplane->nhfrags; - fragi_top=fplane->froffset; - fragi_bot=fragi_top+fplane->nfrags; - fragi0=fragi_top+_fragy0*(ptrdiff_t)nhfrags; - fragi0_end=fragi0+(_fragy_end-_fragy0)*(ptrdiff_t)nhfrags; - ystride=_state->ref_ystride[_pli]; - frags=_state->frags; - frag_buf_offs=_state->frag_buf_offs; - ref_frame_data=_state->ref_frame_data[_refi]; - /*The following loops are constructed somewhat non-intuitively on purpose. - The main idea is: if a block boundary has at least one coded fragment on - it, the filter is applied to it. - However, the order that the filters are applied in matters, and VP3 chose - the somewhat strange ordering used below.*/ - while(fragi0fragi0)OC_LOOP_FILTER_H_MMX(ref,ystride,ll); - if(fragi0>fragi_top)OC_LOOP_FILTER_V_MMX(ref,ystride,ll); - if(fragi+1opt_vtable.frag_sub=oc_enc_frag_sub_mmx; - _enc->opt_vtable.frag_sub_128=oc_enc_frag_sub_128_mmx; - _enc->opt_vtable.frag_recon_intra=oc_frag_recon_intra_mmx; - _enc->opt_vtable.frag_recon_inter=oc_frag_recon_inter_mmx; - _enc->opt_vtable.fdct8x8=oc_enc_fdct8x8_mmx; - } - if(cpu_flags&OC_CPU_X86_MMXEXT){ - _enc->opt_vtable.frag_sad=oc_enc_frag_sad_mmxext; - _enc->opt_vtable.frag_sad_thresh=oc_enc_frag_sad_thresh_mmxext; - _enc->opt_vtable.frag_sad2_thresh=oc_enc_frag_sad2_thresh_mmxext; - _enc->opt_vtable.frag_satd_thresh=oc_enc_frag_satd_thresh_mmxext; - _enc->opt_vtable.frag_satd2_thresh=oc_enc_frag_satd2_thresh_mmxext; - _enc->opt_vtable.frag_intra_satd=oc_enc_frag_intra_satd_mmxext; - _enc->opt_vtable.frag_copy2=oc_enc_frag_copy2_mmxext; - } - if(cpu_flags&OC_CPU_X86_SSE2){ -# if defined(OC_X86_64_ASM) - _enc->opt_vtable.fdct8x8=oc_enc_fdct8x8_x86_64sse2; -# endif - } -} -#endif diff --git a/Libraries/libtheora-1.1.1/lib/x86_vc/x86enc.h b/Libraries/libtheora-1.1.1/lib/x86_vc/x86enc.h deleted file mode 100644 index 58148464..00000000 --- a/Libraries/libtheora-1.1.1/lib/x86_vc/x86enc.h +++ /dev/null @@ -1,47 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: x86int.h 15675 2009-02-06 09:43:27Z tterribe $ - - ********************************************************************/ - -#if !defined(_x86_vc_x86enc_H) -# define _x86_vc_x86enc_H (1) -# include "../encint.h" -# include "x86int.h" - -void oc_enc_vtable_init_x86(oc_enc_ctx *_enc); - -unsigned oc_enc_frag_sad_mmxext(const unsigned char *_src, - const unsigned char *_ref,int _ystride); -unsigned oc_enc_frag_sad_thresh_mmxext(const unsigned char *_src, - const unsigned char *_ref,int _ystride,unsigned _thresh); -unsigned oc_enc_frag_sad2_thresh_mmxext(const unsigned char *_src, - const unsigned char *_ref1,const unsigned char *_ref2,int _ystride, - unsigned _thresh); -unsigned oc_enc_frag_satd_thresh_mmxext(const unsigned char *_src, - const unsigned char *_ref,int _ystride,unsigned _thresh); -unsigned oc_enc_frag_satd2_thresh_mmxext(const unsigned char *_src, - const unsigned char *_ref1,const unsigned char *_ref2,int _ystride, - unsigned _thresh); -unsigned oc_enc_frag_intra_satd_mmxext(const unsigned char *_src,int _ystride); -void oc_enc_frag_sub_mmx(ogg_int16_t _diff[64], - const unsigned char *_x,const unsigned char *_y,int _stride); -void oc_enc_frag_sub_128_mmx(ogg_int16_t _diff[64], - const unsigned char *_x,int _stride); -void oc_enc_frag_copy2_mmxext(unsigned char *_dst, - const unsigned char *_src1,const unsigned char *_src2,int _ystride); -void oc_enc_fdct8x8_mmx(ogg_int16_t _y[64],const ogg_int16_t _x[64]); -void oc_enc_fdct8x8_x86_64sse2(ogg_int16_t _y[64],const ogg_int16_t _x[64]); - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/x86_vc/x86int.h b/Libraries/libtheora-1.1.1/lib/x86_vc/x86int.h deleted file mode 100644 index 4cca4853..00000000 --- a/Libraries/libtheora-1.1.1/lib/x86_vc/x86int.h +++ /dev/null @@ -1,42 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: x86int.h 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#if !defined(_x86_vc_x86int_H) -# define _x86_vc_x86int_H (1) -# include "../internal.h" - -void oc_state_vtable_init_x86(oc_theora_state *_state); - -void oc_frag_copy_mmx(unsigned char *_dst, - const unsigned char *_src,int _ystride); -void oc_frag_recon_intra_mmx(unsigned char *_dst,int _ystride, - const ogg_int16_t *_residue); -void oc_frag_recon_inter_mmx(unsigned char *_dst, - const unsigned char *_src,int _ystride,const ogg_int16_t *_residue); -void oc_frag_recon_inter2_mmx(unsigned char *_dst,const unsigned char *_src1, - const unsigned char *_src2,int _ystride,const ogg_int16_t *_residue); -void oc_idct8x8_mmx(ogg_int16_t _y[64],int _last_zzi); -void oc_state_frag_recon_mmx(const oc_theora_state *_state,ptrdiff_t _fragi, - int _pli,ogg_int16_t _dct_coeffs[64],int _last_zzi,ogg_uint16_t _dc_quant); -void oc_state_frag_copy_list_mmx(const oc_theora_state *_state, - const ptrdiff_t *_fragis,ptrdiff_t _nfragis, - int _dst_frame,int _src_frame,int _pli); -void oc_state_loop_filter_frag_rows_mmx(const oc_theora_state *_state, - int _bv[256],int _refi,int _pli,int _fragy0,int _fragy_end); -void oc_restore_fpu_mmx(void); - -#endif diff --git a/Libraries/libtheora-1.1.1/lib/x86_vc/x86state.c b/Libraries/libtheora-1.1.1/lib/x86_vc/x86state.c deleted file mode 100644 index a786bec2..00000000 --- a/Libraries/libtheora-1.1.1/lib/x86_vc/x86state.c +++ /dev/null @@ -1,62 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * - * * - ******************************************************************** - - function: - last mod: $Id: x86state.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#include "x86int.h" - -#if defined(OC_X86_ASM) - -#include "../cpu.c" - -/*This table has been modified from OC_FZIG_ZAG by baking a 4x4 transpose into - each quadrant of the destination.*/ -static const unsigned char OC_FZIG_ZAG_MMX[128]={ - 0, 8, 1, 2, 9,16,24,17, - 10, 3,32,11,18,25, 4,12, - 5,26,19,40,33,34,41,48, - 27, 6,13,20,28,21,14, 7, - 56,49,42,35,43,50,57,36, - 15,22,29,30,23,44,37,58, - 51,59,38,45,52,31,60,53, - 46,39,47,54,61,62,55,63, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, - 64,64,64,64,64,64,64,64, -}; - -void oc_state_vtable_init_x86(oc_theora_state *_state){ - _state->cpu_flags=oc_cpu_flags_get(); - if(_state->cpu_flags&OC_CPU_X86_MMX){ - _state->opt_vtable.frag_copy=oc_frag_copy_mmx; - _state->opt_vtable.frag_recon_intra=oc_frag_recon_intra_mmx; - _state->opt_vtable.frag_recon_inter=oc_frag_recon_inter_mmx; - _state->opt_vtable.frag_recon_inter2=oc_frag_recon_inter2_mmx; - _state->opt_vtable.idct8x8=oc_idct8x8_mmx; - _state->opt_vtable.state_frag_recon=oc_state_frag_recon_mmx; - _state->opt_vtable.state_frag_copy_list=oc_state_frag_copy_list_mmx; - _state->opt_vtable.state_loop_filter_frag_rows= - oc_state_loop_filter_frag_rows_mmx; - _state->opt_vtable.restore_fpu=oc_restore_fpu_mmx; - _state->opt_data.dct_fzig_zag=OC_FZIG_ZAG_MMX; - } - else oc_state_vtable_init_c(_state); -} -#endif diff --git a/Libraries/libtheora-1.1.1/libtheora.spec b/Libraries/libtheora-1.1.1/libtheora.spec deleted file mode 100644 index 897bde66..00000000 --- a/Libraries/libtheora-1.1.1/libtheora.spec +++ /dev/null @@ -1,82 +0,0 @@ -Name: libtheora -Version: 1.1.1 -Release: 0.xiph.0.4.alpha5 -Summary: The Theora Video Compression Codec. - -Group: System Environment/Libraries -License: BSD -URL: http://www.theora.org/ -Vendor: Xiph.org Foundation -Source: http://downloads.xiph.org/releases/theora/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-root - -BuildRequires: libogg-devel >= 2:1.1 -BuildRequires: libvorbis-devel >= 1:1.0.1 -BuildRequires: SDL-devel - -# this needs to be explicit since vorbis's .so versioning didn't get bumped -# when going from 1.0 to 1.0.1 -Requires: libvorbis >= 1:1.0.1 - -%description -Theora is Xiph.Org's first publicly released video codec, intended -for use within the Ogg's project's Ogg multimedia streaming system. -Theora is derived directly from On2's VP3 codec; Currently the two are -nearly identical, varying only in encapsulating decoder tables in the -bitstream headers, but Theora will make use of this extra freedom -in the future to improve over what is possible with VP3. - -%package devel -Summary: Development tools for Theora applications. -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: libogg-devel >= 2:1.1 - -%description devel -The libtheora-devel package contains the header files and documentation -needed to develop applications with Ogg Theora. - -%prep -%setup -q -n %{name}-%{version} - -%build -%configure --enable-shared -make - -%install -rm -rf $RPM_BUILD_ROOT -# make sure our temp doc build dir is removed -rm -rf $(pwd)/__docs - -%makeinstall docdir=$(pwd)/__docs - -find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' - -%clean -rm -rf $RPM_BUILD_ROOT - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - -%files -%defattr(-,root,root) -%doc COPYING README -%{_libdir}/libtheora.so.* - -%files devel -%defattr(-,root,root,-) -%doc __docs/* -%{_libdir}/libtheora.a -%{_libdir}/libtheora.so -%dir %{_includedir}/theora -%{_includedir}/theora/codec.h -%{_includedir}/theora/theora.h -%{_includedir}/theora/theoradec.h -%{_libdir}/pkgconfig/theora.pc - -%changelog -* Sat Aug 20 2005 Ralph Giles -- updated version for 1.0alpha5 release -* Thu Jun 10 2004 Thomas Vander Stichele -- transported fedora.us spec file diff --git a/Libraries/libtheora-1.1.1/libtheora.spec.in b/Libraries/libtheora-1.1.1/libtheora.spec.in deleted file mode 100644 index ce9345ed..00000000 --- a/Libraries/libtheora-1.1.1/libtheora.spec.in +++ /dev/null @@ -1,82 +0,0 @@ -Name: libtheora -Version: @VERSION@ -Release: 0.xiph.0.4.alpha5 -Summary: The Theora Video Compression Codec. - -Group: System Environment/Libraries -License: BSD -URL: http://www.theora.org/ -Vendor: Xiph.org Foundation -Source: http://downloads.xiph.org/releases/theora/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-root - -BuildRequires: libogg-devel >= 2:1.1 -BuildRequires: libvorbis-devel >= 1:1.0.1 -BuildRequires: SDL-devel - -# this needs to be explicit since vorbis's .so versioning didn't get bumped -# when going from 1.0 to 1.0.1 -Requires: libvorbis >= 1:1.0.1 - -%description -Theora is Xiph.Org's first publicly released video codec, intended -for use within the Ogg's project's Ogg multimedia streaming system. -Theora is derived directly from On2's VP3 codec; Currently the two are -nearly identical, varying only in encapsulating decoder tables in the -bitstream headers, but Theora will make use of this extra freedom -in the future to improve over what is possible with VP3. - -%package devel -Summary: Development tools for Theora applications. -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: libogg-devel >= 2:1.1 - -%description devel -The libtheora-devel package contains the header files and documentation -needed to develop applications with Ogg Theora. - -%prep -%setup -q -n %{name}-%{version} - -%build -%configure --enable-shared -make - -%install -rm -rf $RPM_BUILD_ROOT -# make sure our temp doc build dir is removed -rm -rf $(pwd)/__docs - -%makeinstall docdir=$(pwd)/__docs - -find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' - -%clean -rm -rf $RPM_BUILD_ROOT - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - -%files -%defattr(-,root,root) -%doc COPYING README -%{_libdir}/libtheora.so.* - -%files devel -%defattr(-,root,root,-) -%doc __docs/* -%{_libdir}/libtheora.a -%{_libdir}/libtheora.so -%dir %{_includedir}/theora -%{_includedir}/theora/codec.h -%{_includedir}/theora/theora.h -%{_includedir}/theora/theoradec.h -%{_libdir}/pkgconfig/theora.pc - -%changelog -* Sat Aug 20 2005 Ralph Giles -- updated version for 1.0alpha5 release -* Thu Jun 10 2004 Thomas Vander Stichele -- transported fedora.us spec file diff --git a/Libraries/libtheora-1.1.1/ltmain.sh b/Libraries/libtheora-1.1.1/ltmain.sh deleted file mode 100644 index 6939dcc4..00000000 --- a/Libraries/libtheora-1.1.1/ltmain.sh +++ /dev/null @@ -1,8406 +0,0 @@ -# Generated from ltmain.m4sh. - -# ltmain.sh (GNU libtool) 2.2.6 -# Written by Gordon Matzigkeit , 1996 - -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. -# This is free software; see the source for copying conditions. There is NO -# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -# GNU Libtool is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# As a special exception to the GNU General Public License, -# if you distribute this file as part of a program or library that -# is built using GNU Libtool, you may include this file under the -# same distribution terms that you use for the rest of that program. -# -# GNU Libtool is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Libtool; see the file COPYING. If not, a copy -# can be downloaded from http://www.gnu.org/licenses/gpl.html, -# or obtained by writing to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -# Usage: $progname [OPTION]... [MODE-ARG]... -# -# Provide generalized library-building support services. -# -# --config show all configuration variables -# --debug enable verbose shell tracing -# -n, --dry-run display commands without modifying any files -# --features display basic configuration information and exit -# --mode=MODE use operation mode MODE -# --preserve-dup-deps don't remove duplicate dependency libraries -# --quiet, --silent don't print informational messages -# --tag=TAG use configuration variables from tag TAG -# -v, --verbose print informational messages (default) -# --version print version information -# -h, --help print short or long help message -# -# MODE must be one of the following: -# -# clean remove files from the build directory -# compile compile a source file into a libtool object -# execute automatically set library path, then run a program -# finish complete the installation of libtool libraries -# install install libraries or executables -# link create a library or an executable -# uninstall remove libraries from an installed directory -# -# MODE-ARGS vary depending on the MODE. -# Try `$progname --help --mode=MODE' for a more detailed description of MODE. -# -# When reporting a bug, please describe a test case to reproduce it and -# include the following information: -# -# host-triplet: $host -# shell: $SHELL -# compiler: $LTCC -# compiler flags: $LTCFLAGS -# linker: $LD (gnu? $with_gnu_ld) -# $progname: (GNU libtool) 2.2.6 -# automake: $automake_version -# autoconf: $autoconf_version -# -# Report bugs to . - -PROGRAM=ltmain.sh -PACKAGE=libtool -VERSION=2.2.6 -TIMESTAMP="" -package_revision=1.3012 - -# Be Bourne compatible -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac -fi -BIN_SH=xpg4; export BIN_SH # for Tru64 -DUALCASE=1; export DUALCASE # for MKS sh - -# NLS nuisances: We save the old values to restore during execute mode. -# Only set LANG and LC_ALL to C if already set. -# These must not be set unconditionally because not all systems understand -# e.g. LANG=C (notably SCO). -lt_user_locale= -lt_safe_locale= -for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES -do - eval "if test \"\${$lt_var+set}\" = set; then - save_$lt_var=\$$lt_var - $lt_var=C - export $lt_var - lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\" - lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" - fi" -done - -$lt_unset CDPATH - - - - - -: ${CP="cp -f"} -: ${ECHO="echo"} -: ${EGREP="/bin/grep -E"} -: ${FGREP="/bin/grep -F"} -: ${GREP="/bin/grep"} -: ${LN_S="ln -s"} -: ${MAKE="make"} -: ${MKDIR="mkdir"} -: ${MV="mv -f"} -: ${RM="rm -f"} -: ${SED="/bin/sed"} -: ${SHELL="${CONFIG_SHELL-/bin/sh}"} -: ${Xsed="$SED -e 1s/^X//"} - -# Global variables: -EXIT_SUCCESS=0 -EXIT_FAILURE=1 -EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. -EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. - -exit_status=$EXIT_SUCCESS - -# Make sure IFS has a sensible default -lt_nl=' -' -IFS=" $lt_nl" - -dirname="s,/[^/]*$,," -basename="s,^.*/,," - -# func_dirname_and_basename file append nondir_replacement -# perform func_basename and func_dirname in a single function -# call: -# dirname: Compute the dirname of FILE. If nonempty, -# add APPEND to the result, otherwise set result -# to NONDIR_REPLACEMENT. -# value returned in "$func_dirname_result" -# basename: Compute filename of FILE. -# value retuned in "$func_basename_result" -# Implementation must be kept synchronized with func_dirname -# and func_basename. For efficiency, we do not delegate to -# those functions but instead duplicate the functionality here. -func_dirname_and_basename () -{ - # Extract subdirectory from the argument. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` - if test "X$func_dirname_result" = "X${1}"; then - func_dirname_result="${3}" - else - func_dirname_result="$func_dirname_result${2}" - fi - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` -} - -# Generated shell functions inserted here. - -# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh -# is ksh but when the shell is invoked as "sh" and the current value of -# the _XPG environment variable is not equal to 1 (one), the special -# positional parameter $0, within a function call, is the name of the -# function. -progpath="$0" - -# The name of this program: -# In the unlikely event $progname began with a '-', it would play havoc with -# func_echo (imagine progname=-n), so we prepend ./ in that case: -func_dirname_and_basename "$progpath" -progname=$func_basename_result -case $progname in - -*) progname=./$progname ;; -esac - -# Make sure we have an absolute path for reexecution: -case $progpath in - [\\/]*|[A-Za-z]:\\*) ;; - *[\\/]*) - progdir=$func_dirname_result - progdir=`cd "$progdir" && pwd` - progpath="$progdir/$progname" - ;; - *) - save_IFS="$IFS" - IFS=: - for progdir in $PATH; do - IFS="$save_IFS" - test -x "$progdir/$progname" && break - done - IFS="$save_IFS" - test -n "$progdir" || progdir=`pwd` - progpath="$progdir/$progname" - ;; -esac - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed="${SED}"' -e 1s/^X//' -sed_quote_subst='s/\([`"$\\]\)/\\\1/g' - -# Same as above, but do not quote variable references. -double_quote_subst='s/\(["`\\]\)/\\\1/g' - -# Re-`\' parameter expansions in output of double_quote_subst that were -# `\'-ed in input to the same. If an odd number of `\' preceded a '$' -# in input to double_quote_subst, that '$' was protected from expansion. -# Since each input `\' is now two `\'s, look for any number of runs of -# four `\'s followed by two `\'s and then a '$'. `\' that '$'. -bs='\\' -bs2='\\\\' -bs4='\\\\\\\\' -dollar='\$' -sed_double_backslash="\ - s/$bs4/&\\ -/g - s/^$bs2$dollar/$bs&/ - s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g - s/\n//g" - -# Standard options: -opt_dry_run=false -opt_help=false -opt_quiet=false -opt_verbose=false -opt_warning=: - -# func_echo arg... -# Echo program name prefixed message, along with the current mode -# name if it has been set yet. -func_echo () -{ - $ECHO "$progname${mode+: }$mode: $*" -} - -# func_verbose arg... -# Echo program name prefixed message in verbose mode only. -func_verbose () -{ - $opt_verbose && func_echo ${1+"$@"} - - # A bug in bash halts the script if the last line of a function - # fails when set -e is in force, so we need another command to - # work around that: - : -} - -# func_error arg... -# Echo program name prefixed message to standard error. -func_error () -{ - $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2 -} - -# func_warning arg... -# Echo program name prefixed warning message to standard error. -func_warning () -{ - $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2 - - # bash bug again: - : -} - -# func_fatal_error arg... -# Echo program name prefixed message to standard error, and exit. -func_fatal_error () -{ - func_error ${1+"$@"} - exit $EXIT_FAILURE -} - -# func_fatal_help arg... -# Echo program name prefixed message to standard error, followed by -# a help hint, and exit. -func_fatal_help () -{ - func_error ${1+"$@"} - func_fatal_error "$help" -} -help="Try \`$progname --help' for more information." ## default - - -# func_grep expression filename -# Check whether EXPRESSION matches any line of FILENAME, without output. -func_grep () -{ - $GREP "$1" "$2" >/dev/null 2>&1 -} - - -# func_mkdir_p directory-path -# Make sure the entire path to DIRECTORY-PATH is available. -func_mkdir_p () -{ - my_directory_path="$1" - my_dir_list= - - if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then - - # Protect directory names starting with `-' - case $my_directory_path in - -*) my_directory_path="./$my_directory_path" ;; - esac - - # While some portion of DIR does not yet exist... - while test ! -d "$my_directory_path"; do - # ...make a list in topmost first order. Use a colon delimited - # list incase some portion of path contains whitespace. - my_dir_list="$my_directory_path:$my_dir_list" - - # If the last portion added has no slash in it, the list is done - case $my_directory_path in */*) ;; *) break ;; esac - - # ...otherwise throw away the child directory and loop - my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"` - done - my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'` - - save_mkdir_p_IFS="$IFS"; IFS=':' - for my_dir in $my_dir_list; do - IFS="$save_mkdir_p_IFS" - # mkdir can fail with a `File exist' error if two processes - # try to create one of the directories concurrently. Don't - # stop in that case! - $MKDIR "$my_dir" 2>/dev/null || : - done - IFS="$save_mkdir_p_IFS" - - # Bail out if we (or some other process) failed to create a directory. - test -d "$my_directory_path" || \ - func_fatal_error "Failed to create \`$1'" - fi -} - - -# func_mktempdir [string] -# Make a temporary directory that won't clash with other running -# libtool processes, and avoids race conditions if possible. If -# given, STRING is the basename for that directory. -func_mktempdir () -{ - my_template="${TMPDIR-/tmp}/${1-$progname}" - - if test "$opt_dry_run" = ":"; then - # Return a directory name, but don't create it in dry-run mode - my_tmpdir="${my_template}-$$" - else - - # If mktemp works, use that first and foremost - my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` - - if test ! -d "$my_tmpdir"; then - # Failing that, at least try and use $RANDOM to avoid a race - my_tmpdir="${my_template}-${RANDOM-0}$$" - - save_mktempdir_umask=`umask` - umask 0077 - $MKDIR "$my_tmpdir" - umask $save_mktempdir_umask - fi - - # If we're not in dry-run mode, bomb out on failure - test -d "$my_tmpdir" || \ - func_fatal_error "cannot create temporary directory \`$my_tmpdir'" - fi - - $ECHO "X$my_tmpdir" | $Xsed -} - - -# func_quote_for_eval arg -# Aesthetically quote ARG to be evaled later. -# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT -# is double-quoted, suitable for a subsequent eval, whereas -# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters -# which are still active within double quotes backslashified. -func_quote_for_eval () -{ - case $1 in - *[\\\`\"\$]*) - func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;; - *) - func_quote_for_eval_unquoted_result="$1" ;; - esac - - case $func_quote_for_eval_unquoted_result in - # Double-quote args containing shell metacharacters to delay - # word splitting, command substitution and and variable - # expansion for a subsequent eval. - # Many Bourne shells cannot handle close brackets correctly - # in scan sets, so we specify it separately. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\"" - ;; - *) - func_quote_for_eval_result="$func_quote_for_eval_unquoted_result" - esac -} - - -# func_quote_for_expand arg -# Aesthetically quote ARG to be evaled later; same as above, -# but do not quote variable references. -func_quote_for_expand () -{ - case $1 in - *[\\\`\"]*) - my_arg=`$ECHO "X$1" | $Xsed \ - -e "$double_quote_subst" -e "$sed_double_backslash"` ;; - *) - my_arg="$1" ;; - esac - - case $my_arg in - # Double-quote args containing shell metacharacters to delay - # word splitting and command substitution for a subsequent eval. - # Many Bourne shells cannot handle close brackets correctly - # in scan sets, so we specify it separately. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - my_arg="\"$my_arg\"" - ;; - esac - - func_quote_for_expand_result="$my_arg" -} - - -# func_show_eval cmd [fail_exp] -# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is -# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP -# is given, then evaluate it. -func_show_eval () -{ - my_cmd="$1" - my_fail_exp="${2-:}" - - ${opt_silent-false} || { - func_quote_for_expand "$my_cmd" - eval "func_echo $func_quote_for_expand_result" - } - - if ${opt_dry_run-false}; then :; else - eval "$my_cmd" - my_status=$? - if test "$my_status" -eq 0; then :; else - eval "(exit $my_status); $my_fail_exp" - fi - fi -} - - -# func_show_eval_locale cmd [fail_exp] -# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is -# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP -# is given, then evaluate it. Use the saved locale for evaluation. -func_show_eval_locale () -{ - my_cmd="$1" - my_fail_exp="${2-:}" - - ${opt_silent-false} || { - func_quote_for_expand "$my_cmd" - eval "func_echo $func_quote_for_expand_result" - } - - if ${opt_dry_run-false}; then :; else - eval "$lt_user_locale - $my_cmd" - my_status=$? - eval "$lt_safe_locale" - if test "$my_status" -eq 0; then :; else - eval "(exit $my_status); $my_fail_exp" - fi - fi -} - - - - - -# func_version -# Echo version message to standard output and exit. -func_version () -{ - $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / { - s/^# // - s/^# *$// - s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ - p - }' < "$progpath" - exit $? -} - -# func_usage -# Echo short help message to standard output and exit. -func_usage () -{ - $SED -n '/^# Usage:/,/# -h/ { - s/^# // - s/^# *$// - s/\$progname/'$progname'/ - p - }' < "$progpath" - $ECHO - $ECHO "run \`$progname --help | more' for full usage" - exit $? -} - -# func_help -# Echo long help message to standard output and exit. -func_help () -{ - $SED -n '/^# Usage:/,/# Report bugs to/ { - s/^# // - s/^# *$// - s*\$progname*'$progname'* - s*\$host*'"$host"'* - s*\$SHELL*'"$SHELL"'* - s*\$LTCC*'"$LTCC"'* - s*\$LTCFLAGS*'"$LTCFLAGS"'* - s*\$LD*'"$LD"'* - s/\$with_gnu_ld/'"$with_gnu_ld"'/ - s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/ - s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/ - p - }' < "$progpath" - exit $? -} - -# func_missing_arg argname -# Echo program name prefixed message to standard error and set global -# exit_cmd. -func_missing_arg () -{ - func_error "missing argument for $1" - exit_cmd=exit -} - -exit_cmd=: - - - - - -# Check that we have a working $ECHO. -if test "X$1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X$1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then - # Yippee, $ECHO works! - : -else - # Restart under the correct shell, and then maybe $ECHO will work. - exec $SHELL "$progpath" --no-reexec ${1+"$@"} -fi - -if test "X$1" = X--fallback-echo; then - # used as fallback echo - shift - cat </dev/null 2>&1; then - taglist="$taglist $tagname" - - # Evaluate the configuration. Be careful to quote the path - # and the sed script, to avoid splitting on whitespace, but - # also don't use non-portable quotes within backquotes within - # quotes we have to do it in 2 steps: - extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` - eval "$extractedcf" - else - func_error "ignoring unknown tag $tagname" - fi - ;; - esac -} - -# Parse options once, thoroughly. This comes as soon as possible in -# the script to make things like `libtool --version' happen quickly. -{ - - # Shorthand for --mode=foo, only valid as the first argument - case $1 in - clean|clea|cle|cl) - shift; set dummy --mode clean ${1+"$@"}; shift - ;; - compile|compil|compi|comp|com|co|c) - shift; set dummy --mode compile ${1+"$@"}; shift - ;; - execute|execut|execu|exec|exe|ex|e) - shift; set dummy --mode execute ${1+"$@"}; shift - ;; - finish|finis|fini|fin|fi|f) - shift; set dummy --mode finish ${1+"$@"}; shift - ;; - install|instal|insta|inst|ins|in|i) - shift; set dummy --mode install ${1+"$@"}; shift - ;; - link|lin|li|l) - shift; set dummy --mode link ${1+"$@"}; shift - ;; - uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) - shift; set dummy --mode uninstall ${1+"$@"}; shift - ;; - esac - - # Parse non-mode specific arguments: - while test "$#" -gt 0; do - opt="$1" - shift - - case $opt in - --config) func_config ;; - - --debug) preserve_args="$preserve_args $opt" - func_echo "enabling shell trace mode" - opt_debug='set -x' - $opt_debug - ;; - - -dlopen) test "$#" -eq 0 && func_missing_arg "$opt" && break - execute_dlfiles="$execute_dlfiles $1" - shift - ;; - - --dry-run | -n) opt_dry_run=: ;; - --features) func_features ;; - --finish) mode="finish" ;; - - --mode) test "$#" -eq 0 && func_missing_arg "$opt" && break - case $1 in - # Valid mode arguments: - clean) ;; - compile) ;; - execute) ;; - finish) ;; - install) ;; - link) ;; - relink) ;; - uninstall) ;; - - # Catch anything else as an error - *) func_error "invalid argument for $opt" - exit_cmd=exit - break - ;; - esac - - mode="$1" - shift - ;; - - --preserve-dup-deps) - opt_duplicate_deps=: ;; - - --quiet|--silent) preserve_args="$preserve_args $opt" - opt_silent=: - ;; - - --verbose| -v) preserve_args="$preserve_args $opt" - opt_silent=false - ;; - - --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break - preserve_args="$preserve_args $opt $1" - func_enable_tag "$1" # tagname is set here - shift - ;; - - # Separate optargs to long options: - -dlopen=*|--mode=*|--tag=*) - func_opt_split "$opt" - set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"} - shift - ;; - - -\?|-h) func_usage ;; - --help) opt_help=: ;; - --version) func_version ;; - - -*) func_fatal_help "unrecognized option \`$opt'" ;; - - *) nonopt="$opt" - break - ;; - esac - done - - - case $host in - *cygwin* | *mingw* | *pw32* | *cegcc*) - # don't eliminate duplications in $postdeps and $predeps - opt_duplicate_compiler_generated_deps=: - ;; - *) - opt_duplicate_compiler_generated_deps=$opt_duplicate_deps - ;; - esac - - # Having warned about all mis-specified options, bail out if - # anything was wrong. - $exit_cmd $EXIT_FAILURE -} - -# func_check_version_match -# Ensure that we are using m4 macros, and libtool script from the same -# release of libtool. -func_check_version_match () -{ - if test "$package_revision" != "$macro_revision"; then - if test "$VERSION" != "$macro_version"; then - if test -z "$macro_version"; then - cat >&2 <<_LT_EOF -$progname: Version mismatch error. This is $PACKAGE $VERSION, but the -$progname: definition of this LT_INIT comes from an older release. -$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION -$progname: and run autoconf again. -_LT_EOF - else - cat >&2 <<_LT_EOF -$progname: Version mismatch error. This is $PACKAGE $VERSION, but the -$progname: definition of this LT_INIT comes from $PACKAGE $macro_version. -$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION -$progname: and run autoconf again. -_LT_EOF - fi - else - cat >&2 <<_LT_EOF -$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, -$progname: but the definition of this LT_INIT comes from revision $macro_revision. -$progname: You should recreate aclocal.m4 with macros from revision $package_revision -$progname: of $PACKAGE $VERSION and run autoconf again. -_LT_EOF - fi - - exit $EXIT_MISMATCH - fi -} - - -## ----------- ## -## Main. ## -## ----------- ## - -$opt_help || { - # Sanity checks first: - func_check_version_match - - if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then - func_fatal_configuration "not configured to build any kind of library" - fi - - test -z "$mode" && func_fatal_error "error: you must specify a MODE." - - - # Darwin sucks - eval std_shrext=\"$shrext_cmds\" - - - # Only execute mode is allowed to have -dlopen flags. - if test -n "$execute_dlfiles" && test "$mode" != execute; then - func_error "unrecognized option \`-dlopen'" - $ECHO "$help" 1>&2 - exit $EXIT_FAILURE - fi - - # Change the help message to a mode-specific one. - generic_help="$help" - help="Try \`$progname --help --mode=$mode' for more information." -} - - -# func_lalib_p file -# True iff FILE is a libtool `.la' library or `.lo' object file. -# This function is only a basic sanity check; it will hardly flush out -# determined imposters. -func_lalib_p () -{ - test -f "$1" && - $SED -e 4q "$1" 2>/dev/null \ - | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 -} - -# func_lalib_unsafe_p file -# True iff FILE is a libtool `.la' library or `.lo' object file. -# This function implements the same check as func_lalib_p without -# resorting to external programs. To this end, it redirects stdin and -# closes it afterwards, without saving the original file descriptor. -# As a safety measure, use it only where a negative result would be -# fatal anyway. Works if `file' does not exist. -func_lalib_unsafe_p () -{ - lalib_p=no - if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then - for lalib_p_l in 1 2 3 4 - do - read lalib_p_line - case "$lalib_p_line" in - \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; - esac - done - exec 0<&5 5<&- - fi - test "$lalib_p" = yes -} - -# func_ltwrapper_script_p file -# True iff FILE is a libtool wrapper script -# This function is only a basic sanity check; it will hardly flush out -# determined imposters. -func_ltwrapper_script_p () -{ - func_lalib_p "$1" -} - -# func_ltwrapper_executable_p file -# True iff FILE is a libtool wrapper executable -# This function is only a basic sanity check; it will hardly flush out -# determined imposters. -func_ltwrapper_executable_p () -{ - func_ltwrapper_exec_suffix= - case $1 in - *.exe) ;; - *) func_ltwrapper_exec_suffix=.exe ;; - esac - $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 -} - -# func_ltwrapper_scriptname file -# Assumes file is an ltwrapper_executable -# uses $file to determine the appropriate filename for a -# temporary ltwrapper_script. -func_ltwrapper_scriptname () -{ - func_ltwrapper_scriptname_result="" - if func_ltwrapper_executable_p "$1"; then - func_dirname_and_basename "$1" "" "." - func_stripname '' '.exe' "$func_basename_result" - func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper" - fi -} - -# func_ltwrapper_p file -# True iff FILE is a libtool wrapper script or wrapper executable -# This function is only a basic sanity check; it will hardly flush out -# determined imposters. -func_ltwrapper_p () -{ - func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" -} - - -# func_execute_cmds commands fail_cmd -# Execute tilde-delimited COMMANDS. -# If FAIL_CMD is given, eval that upon failure. -# FAIL_CMD may read-access the current command in variable CMD! -func_execute_cmds () -{ - $opt_debug - save_ifs=$IFS; IFS='~' - for cmd in $1; do - IFS=$save_ifs - eval cmd=\"$cmd\" - func_show_eval "$cmd" "${2-:}" - done - IFS=$save_ifs -} - - -# func_source file -# Source FILE, adding directory component if necessary. -# Note that it is not necessary on cygwin/mingw to append a dot to -# FILE even if both FILE and FILE.exe exist: automatic-append-.exe -# behavior happens only for exec(3), not for open(2)! Also, sourcing -# `FILE.' does not work on cygwin managed mounts. -func_source () -{ - $opt_debug - case $1 in - */* | *\\*) . "$1" ;; - *) . "./$1" ;; - esac -} - - -# func_infer_tag arg -# Infer tagged configuration to use if any are available and -# if one wasn't chosen via the "--tag" command line option. -# Only attempt this if the compiler in the base compile -# command doesn't match the default compiler. -# arg is usually of the form 'gcc ...' -func_infer_tag () -{ - $opt_debug - if test -n "$available_tags" && test -z "$tagname"; then - CC_quoted= - for arg in $CC; do - func_quote_for_eval "$arg" - CC_quoted="$CC_quoted $func_quote_for_eval_result" - done - case $@ in - # Blanks in the command may have been stripped by the calling shell, - # but not from the CC environment variable when configure was run. - " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;; - # Blanks at the start of $base_compile will cause this to fail - # if we don't check for them as well. - *) - for z in $available_tags; do - if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then - # Evaluate the configuration. - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" - CC_quoted= - for arg in $CC; do - # Double-quote args containing other shell metacharacters. - func_quote_for_eval "$arg" - CC_quoted="$CC_quoted $func_quote_for_eval_result" - done - case "$@ " in - " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) - # The compiler in the base compile command matches - # the one in the tagged configuration. - # Assume this is the tagged configuration we want. - tagname=$z - break - ;; - esac - fi - done - # If $tagname still isn't set, then no tagged configuration - # was found and let the user know that the "--tag" command - # line option must be used. - if test -z "$tagname"; then - func_echo "unable to infer tagged configuration" - func_fatal_error "specify a tag with \`--tag'" -# else -# func_verbose "using $tagname tagged configuration" - fi - ;; - esac - fi -} - - - -# func_write_libtool_object output_name pic_name nonpic_name -# Create a libtool object file (analogous to a ".la" file), -# but don't create it if we're doing a dry run. -func_write_libtool_object () -{ - write_libobj=${1} - if test "$build_libtool_libs" = yes; then - write_lobj=\'${2}\' - else - write_lobj=none - fi - - if test "$build_old_libs" = yes; then - write_oldobj=\'${3}\' - else - write_oldobj=none - fi - - $opt_dry_run || { - cat >${write_libobj}T <?"'"'"' &()|`$[]' \ - && func_warning "libobj name \`$libobj' may not contain shell special characters." - func_dirname_and_basename "$obj" "/" "" - objname="$func_basename_result" - xdir="$func_dirname_result" - lobj=${xdir}$objdir/$objname - - test -z "$base_compile" && \ - func_fatal_help "you must specify a compilation command" - - # Delete any leftover library objects. - if test "$build_old_libs" = yes; then - removelist="$obj $lobj $libobj ${libobj}T" - else - removelist="$lobj $libobj ${libobj}T" - fi - - # On Cygwin there's no "real" PIC flag so we must build both object types - case $host_os in - cygwin* | mingw* | pw32* | os2* | cegcc*) - pic_mode=default - ;; - esac - if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then - # non-PIC code in shared libraries is not supported - pic_mode=default - fi - - # Calculate the filename of the output object if compiler does - # not support -o with -c - if test "$compiler_c_o" = no; then - output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} - lockfile="$output_obj.lock" - else - output_obj= - need_locks=no - lockfile= - fi - - # Lock this critical section if it is needed - # We use this script file to make the link, it avoids creating a new file - if test "$need_locks" = yes; then - until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do - func_echo "Waiting for $lockfile to be removed" - sleep 2 - done - elif test "$need_locks" = warn; then - if test -f "$lockfile"; then - $ECHO "\ -*** ERROR, $lockfile exists and contains: -`cat $lockfile 2>/dev/null` - -This indicates that another process is trying to use the same -temporary object file, and libtool could not work around it because -your compiler does not support \`-c' and \`-o' together. If you -repeat this compilation, it may succeed, by chance, but you had better -avoid parallel builds (make -j) in this platform, or get a better -compiler." - - $opt_dry_run || $RM $removelist - exit $EXIT_FAILURE - fi - removelist="$removelist $output_obj" - $ECHO "$srcfile" > "$lockfile" - fi - - $opt_dry_run || $RM $removelist - removelist="$removelist $lockfile" - trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 - - if test -n "$fix_srcfile_path"; then - eval srcfile=\"$fix_srcfile_path\" - fi - func_quote_for_eval "$srcfile" - qsrcfile=$func_quote_for_eval_result - - # Only build a PIC object if we are building libtool libraries. - if test "$build_libtool_libs" = yes; then - # Without this assignment, base_compile gets emptied. - fbsd_hideous_sh_bug=$base_compile - - if test "$pic_mode" != no; then - command="$base_compile $qsrcfile $pic_flag" - else - # Don't build PIC code - command="$base_compile $qsrcfile" - fi - - func_mkdir_p "$xdir$objdir" - - if test -z "$output_obj"; then - # Place PIC objects in $objdir - command="$command -o $lobj" - fi - - func_show_eval_locale "$command" \ - 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' - - if test "$need_locks" = warn && - test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then - $ECHO "\ -*** ERROR, $lockfile contains: -`cat $lockfile 2>/dev/null` - -but it should contain: -$srcfile - -This indicates that another process is trying to use the same -temporary object file, and libtool could not work around it because -your compiler does not support \`-c' and \`-o' together. If you -repeat this compilation, it may succeed, by chance, but you had better -avoid parallel builds (make -j) in this platform, or get a better -compiler." - - $opt_dry_run || $RM $removelist - exit $EXIT_FAILURE - fi - - # Just move the object if needed, then go on to compile the next one - if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then - func_show_eval '$MV "$output_obj" "$lobj"' \ - 'error=$?; $opt_dry_run || $RM $removelist; exit $error' - fi - - # Allow error messages only from the first compilation. - if test "$suppress_opt" = yes; then - suppress_output=' >/dev/null 2>&1' - fi - fi - - # Only build a position-dependent object if we build old libraries. - if test "$build_old_libs" = yes; then - if test "$pic_mode" != yes; then - # Don't build PIC code - command="$base_compile $qsrcfile$pie_flag" - else - command="$base_compile $qsrcfile $pic_flag" - fi - if test "$compiler_c_o" = yes; then - command="$command -o $obj" - fi - - # Suppress compiler output if we already did a PIC compilation. - command="$command$suppress_output" - func_show_eval_locale "$command" \ - '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' - - if test "$need_locks" = warn && - test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then - $ECHO "\ -*** ERROR, $lockfile contains: -`cat $lockfile 2>/dev/null` - -but it should contain: -$srcfile - -This indicates that another process is trying to use the same -temporary object file, and libtool could not work around it because -your compiler does not support \`-c' and \`-o' together. If you -repeat this compilation, it may succeed, by chance, but you had better -avoid parallel builds (make -j) in this platform, or get a better -compiler." - - $opt_dry_run || $RM $removelist - exit $EXIT_FAILURE - fi - - # Just move the object if needed - if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then - func_show_eval '$MV "$output_obj" "$obj"' \ - 'error=$?; $opt_dry_run || $RM $removelist; exit $error' - fi - fi - - $opt_dry_run || { - func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" - - # Unlock the critical section if it was locked - if test "$need_locks" != no; then - removelist=$lockfile - $RM "$lockfile" - fi - } - - exit $EXIT_SUCCESS -} - -$opt_help || { -test "$mode" = compile && func_mode_compile ${1+"$@"} -} - -func_mode_help () -{ - # We need to display help for each of the modes. - case $mode in - "") - # Generic help is extracted from the usage comments - # at the start of this file. - func_help - ;; - - clean) - $ECHO \ -"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... - -Remove files from the build directory. - -RM is the name of the program to use to delete files associated with each FILE -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed -to RM. - -If FILE is a libtool library, object or program, all the files associated -with it are deleted. Otherwise, only FILE itself is deleted using RM." - ;; - - compile) - $ECHO \ -"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE - -Compile a source file into a libtool library object. - -This mode accepts the following additional options: - - -o OUTPUT-FILE set the output file name to OUTPUT-FILE - -no-suppress do not suppress compiler output for multiple passes - -prefer-pic try to building PIC objects only - -prefer-non-pic try to building non-PIC objects only - -shared do not build a \`.o' file suitable for static linking - -static only build a \`.o' file suitable for static linking - -COMPILE-COMMAND is a command to be used in creating a \`standard' object file -from the given SOURCEFILE. - -The output file name is determined by removing the directory component from -SOURCEFILE, then substituting the C source code suffix \`.c' with the -library object suffix, \`.lo'." - ;; - - execute) - $ECHO \ -"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... - -Automatically set library path, then run a program. - -This mode accepts the following additional options: - - -dlopen FILE add the directory containing FILE to the library path - -This mode sets the library path environment variable according to \`-dlopen' -flags. - -If any of the ARGS are libtool executable wrappers, then they are translated -into their corresponding uninstalled binary, and any of their required library -directories are added to the library path. - -Then, COMMAND is executed, with ARGS as arguments." - ;; - - finish) - $ECHO \ -"Usage: $progname [OPTION]... --mode=finish [LIBDIR]... - -Complete the installation of libtool libraries. - -Each LIBDIR is a directory that contains libtool libraries. - -The commands that this mode executes may require superuser privileges. Use -the \`--dry-run' option if you just want to see what would be executed." - ;; - - install) - $ECHO \ -"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... - -Install executables or libraries. - -INSTALL-COMMAND is the installation command. The first component should be -either the \`install' or \`cp' program. - -The following components of INSTALL-COMMAND are treated specially: - - -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation - -The rest of the components are interpreted as arguments to that command (only -BSD-compatible install options are recognized)." - ;; - - link) - $ECHO \ -"Usage: $progname [OPTION]... --mode=link LINK-COMMAND... - -Link object files or libraries together to form another library, or to -create an executable program. - -LINK-COMMAND is a command using the C compiler that you would use to create -a program from several object files. - -The following components of LINK-COMMAND are treated specially: - - -all-static do not do any dynamic linking at all - -avoid-version do not add a version suffix if possible - -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime - -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols - -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) - -export-symbols SYMFILE - try to export only the symbols listed in SYMFILE - -export-symbols-regex REGEX - try to export only the symbols matching REGEX - -LLIBDIR search LIBDIR for required installed libraries - -lNAME OUTPUT-FILE requires the installed library libNAME - -module build a library that can dlopened - -no-fast-install disable the fast-install mode - -no-install link a not-installable executable - -no-undefined declare that a library does not refer to external symbols - -o OUTPUT-FILE create OUTPUT-FILE from the specified objects - -objectlist FILE Use a list of object files found in FILE to specify objects - -precious-files-regex REGEX - don't remove output files matching REGEX - -release RELEASE specify package release information - -rpath LIBDIR the created library will eventually be installed in LIBDIR - -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries - -shared only do dynamic linking of libtool libraries - -shrext SUFFIX override the standard shared library file extension - -static do not do any dynamic linking of uninstalled libtool libraries - -static-libtool-libs - do not do any dynamic linking of libtool libraries - -version-info CURRENT[:REVISION[:AGE]] - specify library version info [each variable defaults to 0] - -weak LIBNAME declare that the target provides the LIBNAME interface - -All other options (arguments beginning with \`-') are ignored. - -Every other argument is treated as a filename. Files ending in \`.la' are -treated as uninstalled libtool libraries, other files are standard or library -object files. - -If the OUTPUT-FILE ends in \`.la', then a libtool library is created, -only library objects (\`.lo' files) may be specified, and \`-rpath' is -required, except when creating a convenience library. - -If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created -using \`ar' and \`ranlib', or on Windows using \`lib'. - -If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file -is created, otherwise an executable program is created." - ;; - - uninstall) - $ECHO \ -"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... - -Remove libraries from an installation directory. - -RM is the name of the program to use to delete files associated with each FILE -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed -to RM. - -If FILE is a libtool library, all the files associated with it are deleted. -Otherwise, only FILE itself is deleted using RM." - ;; - - *) - func_fatal_help "invalid operation mode \`$mode'" - ;; - esac - - $ECHO - $ECHO "Try \`$progname --help' for more information about other modes." - - exit $? -} - - # Now that we've collected a possible --mode arg, show help if necessary - $opt_help && func_mode_help - - -# func_mode_execute arg... -func_mode_execute () -{ - $opt_debug - # The first argument is the command name. - cmd="$nonopt" - test -z "$cmd" && \ - func_fatal_help "you must specify a COMMAND" - - # Handle -dlopen flags immediately. - for file in $execute_dlfiles; do - test -f "$file" \ - || func_fatal_help "\`$file' is not a file" - - dir= - case $file in - *.la) - # Check to see that this really is a libtool archive. - func_lalib_unsafe_p "$file" \ - || func_fatal_help "\`$lib' is not a valid libtool archive" - - # Read the libtool library. - dlname= - library_names= - func_source "$file" - - # Skip this library if it cannot be dlopened. - if test -z "$dlname"; then - # Warn if it was a shared library. - test -n "$library_names" && \ - func_warning "\`$file' was not linked with \`-export-dynamic'" - continue - fi - - func_dirname "$file" "" "." - dir="$func_dirname_result" - - if test -f "$dir/$objdir/$dlname"; then - dir="$dir/$objdir" - else - if test ! -f "$dir/$dlname"; then - func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" - fi - fi - ;; - - *.lo) - # Just add the directory containing the .lo file. - func_dirname "$file" "" "." - dir="$func_dirname_result" - ;; - - *) - func_warning "\`-dlopen' is ignored for non-libtool libraries and objects" - continue - ;; - esac - - # Get the absolute pathname. - absdir=`cd "$dir" && pwd` - test -n "$absdir" && dir="$absdir" - - # Now add the directory to shlibpath_var. - if eval "test -z \"\$$shlibpath_var\""; then - eval "$shlibpath_var=\"\$dir\"" - else - eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" - fi - done - - # This variable tells wrapper scripts just to set shlibpath_var - # rather than running their programs. - libtool_execute_magic="$magic" - - # Check if any of the arguments is a wrapper script. - args= - for file - do - case $file in - -*) ;; - *) - # Do a test to see if this is really a libtool program. - if func_ltwrapper_script_p "$file"; then - func_source "$file" - # Transform arg to wrapped name. - file="$progdir/$program" - elif func_ltwrapper_executable_p "$file"; then - func_ltwrapper_scriptname "$file" - func_source "$func_ltwrapper_scriptname_result" - # Transform arg to wrapped name. - file="$progdir/$program" - fi - ;; - esac - # Quote arguments (to preserve shell metacharacters). - func_quote_for_eval "$file" - args="$args $func_quote_for_eval_result" - done - - if test "X$opt_dry_run" = Xfalse; then - if test -n "$shlibpath_var"; then - # Export the shlibpath_var. - eval "export $shlibpath_var" - fi - - # Restore saved environment variables - for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES - do - eval "if test \"\${save_$lt_var+set}\" = set; then - $lt_var=\$save_$lt_var; export $lt_var - else - $lt_unset $lt_var - fi" - done - - # Now prepare to actually exec the command. - exec_cmd="\$cmd$args" - else - # Display what would be done. - if test -n "$shlibpath_var"; then - eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" - $ECHO "export $shlibpath_var" - fi - $ECHO "$cmd$args" - exit $EXIT_SUCCESS - fi -} - -test "$mode" = execute && func_mode_execute ${1+"$@"} - - -# func_mode_finish arg... -func_mode_finish () -{ - $opt_debug - libdirs="$nonopt" - admincmds= - - if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then - for dir - do - libdirs="$libdirs $dir" - done - - for libdir in $libdirs; do - if test -n "$finish_cmds"; then - # Do each command in the finish commands. - func_execute_cmds "$finish_cmds" 'admincmds="$admincmds -'"$cmd"'"' - fi - if test -n "$finish_eval"; then - # Do the single finish_eval. - eval cmds=\"$finish_eval\" - $opt_dry_run || eval "$cmds" || admincmds="$admincmds - $cmds" - fi - done - fi - - # Exit here if they wanted silent mode. - $opt_silent && exit $EXIT_SUCCESS - - $ECHO "X----------------------------------------------------------------------" | $Xsed - $ECHO "Libraries have been installed in:" - for libdir in $libdirs; do - $ECHO " $libdir" - done - $ECHO - $ECHO "If you ever happen to want to link against installed libraries" - $ECHO "in a given directory, LIBDIR, you must either use libtool, and" - $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'" - $ECHO "flag during linking and do at least one of the following:" - if test -n "$shlibpath_var"; then - $ECHO " - add LIBDIR to the \`$shlibpath_var' environment variable" - $ECHO " during execution" - fi - if test -n "$runpath_var"; then - $ECHO " - add LIBDIR to the \`$runpath_var' environment variable" - $ECHO " during linking" - fi - if test -n "$hardcode_libdir_flag_spec"; then - libdir=LIBDIR - eval flag=\"$hardcode_libdir_flag_spec\" - - $ECHO " - use the \`$flag' linker flag" - fi - if test -n "$admincmds"; then - $ECHO " - have your system administrator run these commands:$admincmds" - fi - if test -f /etc/ld.so.conf; then - $ECHO " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" - fi - $ECHO - - $ECHO "See any operating system documentation about shared libraries for" - case $host in - solaris2.[6789]|solaris2.1[0-9]) - $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual" - $ECHO "pages." - ;; - *) - $ECHO "more information, such as the ld(1) and ld.so(8) manual pages." - ;; - esac - $ECHO "X----------------------------------------------------------------------" | $Xsed - exit $EXIT_SUCCESS -} - -test "$mode" = finish && func_mode_finish ${1+"$@"} - - -# func_mode_install arg... -func_mode_install () -{ - $opt_debug - # There may be an optional sh(1) argument at the beginning of - # install_prog (especially on Windows NT). - if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || - # Allow the use of GNU shtool's install command. - $ECHO "X$nonopt" | $GREP shtool >/dev/null; then - # Aesthetically quote it. - func_quote_for_eval "$nonopt" - install_prog="$func_quote_for_eval_result " - arg=$1 - shift - else - install_prog= - arg=$nonopt - fi - - # The real first argument should be the name of the installation program. - # Aesthetically quote it. - func_quote_for_eval "$arg" - install_prog="$install_prog$func_quote_for_eval_result" - - # We need to accept at least all the BSD install flags. - dest= - files= - opts= - prev= - install_type= - isdir=no - stripme= - for arg - do - if test -n "$dest"; then - files="$files $dest" - dest=$arg - continue - fi - - case $arg in - -d) isdir=yes ;; - -f) - case " $install_prog " in - *[\\\ /]cp\ *) ;; - *) prev=$arg ;; - esac - ;; - -g | -m | -o) - prev=$arg - ;; - -s) - stripme=" -s" - continue - ;; - -*) - ;; - *) - # If the previous option needed an argument, then skip it. - if test -n "$prev"; then - prev= - else - dest=$arg - continue - fi - ;; - esac - - # Aesthetically quote the argument. - func_quote_for_eval "$arg" - install_prog="$install_prog $func_quote_for_eval_result" - done - - test -z "$install_prog" && \ - func_fatal_help "you must specify an install program" - - test -n "$prev" && \ - func_fatal_help "the \`$prev' option requires an argument" - - if test -z "$files"; then - if test -z "$dest"; then - func_fatal_help "no file or destination specified" - else - func_fatal_help "you must specify a destination" - fi - fi - - # Strip any trailing slash from the destination. - func_stripname '' '/' "$dest" - dest=$func_stripname_result - - # Check to see that the destination is a directory. - test -d "$dest" && isdir=yes - if test "$isdir" = yes; then - destdir="$dest" - destname= - else - func_dirname_and_basename "$dest" "" "." - destdir="$func_dirname_result" - destname="$func_basename_result" - - # Not a directory, so check to see that there is only one file specified. - set dummy $files; shift - test "$#" -gt 1 && \ - func_fatal_help "\`$dest' is not a directory" - fi - case $destdir in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - for file in $files; do - case $file in - *.lo) ;; - *) - func_fatal_help "\`$destdir' must be an absolute directory name" - ;; - esac - done - ;; - esac - - # This variable tells wrapper scripts just to set variables rather - # than running their programs. - libtool_install_magic="$magic" - - staticlibs= - future_libdirs= - current_libdirs= - for file in $files; do - - # Do each installation. - case $file in - *.$libext) - # Do the static libraries later. - staticlibs="$staticlibs $file" - ;; - - *.la) - # Check to see that this really is a libtool archive. - func_lalib_unsafe_p "$file" \ - || func_fatal_help "\`$file' is not a valid libtool archive" - - library_names= - old_library= - relink_command= - func_source "$file" - - # Add the libdir to current_libdirs if it is the destination. - if test "X$destdir" = "X$libdir"; then - case "$current_libdirs " in - *" $libdir "*) ;; - *) current_libdirs="$current_libdirs $libdir" ;; - esac - else - # Note the libdir as a future libdir. - case "$future_libdirs " in - *" $libdir "*) ;; - *) future_libdirs="$future_libdirs $libdir" ;; - esac - fi - - func_dirname "$file" "/" "" - dir="$func_dirname_result" - dir="$dir$objdir" - - if test -n "$relink_command"; then - # Determine the prefix the user has applied to our future dir. - inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"` - - # Don't allow the user to place us outside of our expected - # location b/c this prevents finding dependent libraries that - # are installed to the same prefix. - # At present, this check doesn't affect windows .dll's that - # are installed into $libdir/../bin (currently, that works fine) - # but it's something to keep an eye on. - test "$inst_prefix_dir" = "$destdir" && \ - func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir" - - if test -n "$inst_prefix_dir"; then - # Stick the inst_prefix_dir data into the link command. - relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` - else - relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"` - fi - - func_warning "relinking \`$file'" - func_show_eval "$relink_command" \ - 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"' - fi - - # See the names of the shared library. - set dummy $library_names; shift - if test -n "$1"; then - realname="$1" - shift - - srcname="$realname" - test -n "$relink_command" && srcname="$realname"T - - # Install the shared library and build the symlinks. - func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \ - 'exit $?' - tstripme="$stripme" - case $host_os in - cygwin* | mingw* | pw32* | cegcc*) - case $realname in - *.dll.a) - tstripme="" - ;; - esac - ;; - esac - if test -n "$tstripme" && test -n "$striplib"; then - func_show_eval "$striplib $destdir/$realname" 'exit $?' - fi - - if test "$#" -gt 0; then - # Delete the old symlinks, and create new ones. - # Try `ln -sf' first, because the `ln' binary might depend on - # the symlink we replace! Solaris /bin/ln does not understand -f, - # so we also need to try rm && ln -s. - for linkname - do - test "$linkname" != "$realname" \ - && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" - done - fi - - # Do each command in the postinstall commands. - lib="$destdir/$realname" - func_execute_cmds "$postinstall_cmds" 'exit $?' - fi - - # Install the pseudo-library for information purposes. - func_basename "$file" - name="$func_basename_result" - instname="$dir/$name"i - func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' - - # Maybe install the static library, too. - test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" - ;; - - *.lo) - # Install (i.e. copy) a libtool object. - - # Figure out destination file name, if it wasn't already specified. - if test -n "$destname"; then - destfile="$destdir/$destname" - else - func_basename "$file" - destfile="$func_basename_result" - destfile="$destdir/$destfile" - fi - - # Deduce the name of the destination old-style object file. - case $destfile in - *.lo) - func_lo2o "$destfile" - staticdest=$func_lo2o_result - ;; - *.$objext) - staticdest="$destfile" - destfile= - ;; - *) - func_fatal_help "cannot copy a libtool object to \`$destfile'" - ;; - esac - - # Install the libtool object if requested. - test -n "$destfile" && \ - func_show_eval "$install_prog $file $destfile" 'exit $?' - - # Install the old object if enabled. - if test "$build_old_libs" = yes; then - # Deduce the name of the old-style object file. - func_lo2o "$file" - staticobj=$func_lo2o_result - func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' - fi - exit $EXIT_SUCCESS - ;; - - *) - # Figure out destination file name, if it wasn't already specified. - if test -n "$destname"; then - destfile="$destdir/$destname" - else - func_basename "$file" - destfile="$func_basename_result" - destfile="$destdir/$destfile" - fi - - # If the file is missing, and there is a .exe on the end, strip it - # because it is most likely a libtool script we actually want to - # install - stripped_ext="" - case $file in - *.exe) - if test ! -f "$file"; then - func_stripname '' '.exe' "$file" - file=$func_stripname_result - stripped_ext=".exe" - fi - ;; - esac - - # Do a test to see if this is really a libtool program. - case $host in - *cygwin* | *mingw*) - if func_ltwrapper_executable_p "$file"; then - func_ltwrapper_scriptname "$file" - wrapper=$func_ltwrapper_scriptname_result - else - func_stripname '' '.exe' "$file" - wrapper=$func_stripname_result - fi - ;; - *) - wrapper=$file - ;; - esac - if func_ltwrapper_script_p "$wrapper"; then - notinst_deplibs= - relink_command= - - func_source "$wrapper" - - # Check the variables that should have been set. - test -z "$generated_by_libtool_version" && \ - func_fatal_error "invalid libtool wrapper script \`$wrapper'" - - finalize=yes - for lib in $notinst_deplibs; do - # Check to see that each library is installed. - libdir= - if test -f "$lib"; then - func_source "$lib" - fi - libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test - if test -n "$libdir" && test ! -f "$libfile"; then - func_warning "\`$lib' has not been installed in \`$libdir'" - finalize=no - fi - done - - relink_command= - func_source "$wrapper" - - outputname= - if test "$fast_install" = no && test -n "$relink_command"; then - $opt_dry_run || { - if test "$finalize" = yes; then - tmpdir=`func_mktempdir` - func_basename "$file$stripped_ext" - file="$func_basename_result" - outputname="$tmpdir/$file" - # Replace the output file specification. - relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` - - $opt_silent || { - func_quote_for_expand "$relink_command" - eval "func_echo $func_quote_for_expand_result" - } - if eval "$relink_command"; then : - else - func_error "error: relink \`$file' with the above command before installing it" - $opt_dry_run || ${RM}r "$tmpdir" - continue - fi - file="$outputname" - else - func_warning "cannot relink \`$file'" - fi - } - else - # Install the binary that we compiled earlier. - file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` - fi - fi - - # remove .exe since cygwin /usr/bin/install will append another - # one anyway - case $install_prog,$host in - */usr/bin/install*,*cygwin*) - case $file:$destfile in - *.exe:*.exe) - # this is ok - ;; - *.exe:*) - destfile=$destfile.exe - ;; - *:*.exe) - func_stripname '' '.exe' "$destfile" - destfile=$func_stripname_result - ;; - esac - ;; - esac - func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' - $opt_dry_run || if test -n "$outputname"; then - ${RM}r "$tmpdir" - fi - ;; - esac - done - - for file in $staticlibs; do - func_basename "$file" - name="$func_basename_result" - - # Set up the ranlib parameters. - oldlib="$destdir/$name" - - func_show_eval "$install_prog \$file \$oldlib" 'exit $?' - - if test -n "$stripme" && test -n "$old_striplib"; then - func_show_eval "$old_striplib $oldlib" 'exit $?' - fi - - # Do each command in the postinstall commands. - func_execute_cmds "$old_postinstall_cmds" 'exit $?' - done - - test -n "$future_libdirs" && \ - func_warning "remember to run \`$progname --finish$future_libdirs'" - - if test -n "$current_libdirs"; then - # Maybe just do a dry run. - $opt_dry_run && current_libdirs=" -n$current_libdirs" - exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' - else - exit $EXIT_SUCCESS - fi -} - -test "$mode" = install && func_mode_install ${1+"$@"} - - -# func_generate_dlsyms outputname originator pic_p -# Extract symbols from dlprefiles and create ${outputname}S.o with -# a dlpreopen symbol table. -func_generate_dlsyms () -{ - $opt_debug - my_outputname="$1" - my_originator="$2" - my_pic_p="${3-no}" - my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'` - my_dlsyms= - - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then - if test -n "$NM" && test -n "$global_symbol_pipe"; then - my_dlsyms="${my_outputname}S.c" - else - func_error "not configured to extract global symbols from dlpreopened files" - fi - fi - - if test -n "$my_dlsyms"; then - case $my_dlsyms in - "") ;; - *.c) - # Discover the nlist of each of the dlfiles. - nlist="$output_objdir/${my_outputname}.nm" - - func_show_eval "$RM $nlist ${nlist}S ${nlist}T" - - # Parse the name list into a source file. - func_verbose "creating $output_objdir/$my_dlsyms" - - $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ -/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */ -/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */ - -#ifdef __cplusplus -extern \"C\" { -#endif - -/* External symbol declarations for the compiler. */\ -" - - if test "$dlself" = yes; then - func_verbose "generating symbol list for \`$output'" - - $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" - - # Add our own program objects to the symbol list. - progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - for progfile in $progfiles; do - func_verbose "extracting global C symbols from \`$progfile'" - $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'" - done - - if test -n "$exclude_expsyms"; then - $opt_dry_run || { - eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' - eval '$MV "$nlist"T "$nlist"' - } - fi - - if test -n "$export_symbols_regex"; then - $opt_dry_run || { - eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' - eval '$MV "$nlist"T "$nlist"' - } - fi - - # Prepare the list of exported symbols - if test -z "$export_symbols"; then - export_symbols="$output_objdir/$outputname.exp" - $opt_dry_run || { - $RM $export_symbols - eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' - case $host in - *cygwin* | *mingw* | *cegcc* ) - eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' - eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' - ;; - esac - } - else - $opt_dry_run || { - eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' - eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' - eval '$MV "$nlist"T "$nlist"' - case $host in - *cygwin | *mingw* | *cegcc* ) - eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' - eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' - ;; - esac - } - fi - fi - - for dlprefile in $dlprefiles; do - func_verbose "extracting global C symbols from \`$dlprefile'" - func_basename "$dlprefile" - name="$func_basename_result" - $opt_dry_run || { - eval '$ECHO ": $name " >> "$nlist"' - eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'" - } - done - - $opt_dry_run || { - # Make sure we have at least an empty file. - test -f "$nlist" || : > "$nlist" - - if test -n "$exclude_expsyms"; then - $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T - $MV "$nlist"T "$nlist" - fi - - # Try sorting and uniquifying the output. - if $GREP -v "^: " < "$nlist" | - if sort -k 3 /dev/null 2>&1; then - sort -k 3 - else - sort +2 - fi | - uniq > "$nlist"S; then - : - else - $GREP -v "^: " < "$nlist" > "$nlist"S - fi - - if test -f "$nlist"S; then - eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' - else - $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms" - fi - - $ECHO >> "$output_objdir/$my_dlsyms" "\ - -/* The mapping between symbol names and symbols. */ -typedef struct { - const char *name; - void *address; -} lt_dlsymlist; -" - case $host in - *cygwin* | *mingw* | *cegcc* ) - $ECHO >> "$output_objdir/$my_dlsyms" "\ -/* DATA imports from DLLs on WIN32 con't be const, because - runtime relocations are performed -- see ld's documentation - on pseudo-relocs. */" - lt_dlsym_const= ;; - *osf5*) - echo >> "$output_objdir/$my_dlsyms" "\ -/* This system does not cope well with relocations in const data */" - lt_dlsym_const= ;; - *) - lt_dlsym_const=const ;; - esac - - $ECHO >> "$output_objdir/$my_dlsyms" "\ -extern $lt_dlsym_const lt_dlsymlist -lt_${my_prefix}_LTX_preloaded_symbols[]; -$lt_dlsym_const lt_dlsymlist -lt_${my_prefix}_LTX_preloaded_symbols[] = -{\ - { \"$my_originator\", (void *) 0 }," - - case $need_lib_prefix in - no) - eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" - ;; - *) - eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" - ;; - esac - $ECHO >> "$output_objdir/$my_dlsyms" "\ - {0, (void *) 0} -}; - -/* This works around a problem in FreeBSD linker */ -#ifdef FREEBSD_WORKAROUND -static const void *lt_preloaded_setup() { - return lt_${my_prefix}_LTX_preloaded_symbols; -} -#endif - -#ifdef __cplusplus -} -#endif\ -" - } # !$opt_dry_run - - pic_flag_for_symtable= - case "$compile_command " in - *" -static "*) ;; - *) - case $host in - # compiling the symbol table file with pic_flag works around - # a FreeBSD bug that causes programs to crash when -lm is - # linked before any other PIC object. But we must not use - # pic_flag when linking with -static. The problem exists in - # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. - *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) - pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; - *-*-hpux*) - pic_flag_for_symtable=" $pic_flag" ;; - *) - if test "X$my_pic_p" != Xno; then - pic_flag_for_symtable=" $pic_flag" - fi - ;; - esac - ;; - esac - symtab_cflags= - for arg in $LTCFLAGS; do - case $arg in - -pie | -fpie | -fPIE) ;; - *) symtab_cflags="$symtab_cflags $arg" ;; - esac - done - - # Now compile the dynamic symbol file. - func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' - - # Clean up the generated files. - func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"' - - # Transform the symbol file into the correct name. - symfileobj="$output_objdir/${my_outputname}S.$objext" - case $host in - *cygwin* | *mingw* | *cegcc* ) - if test -f "$output_objdir/$my_outputname.def"; then - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` - else - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` - fi - ;; - *) - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` - ;; - esac - ;; - *) - func_fatal_error "unknown suffix for \`$my_dlsyms'" - ;; - esac - else - # We keep going just in case the user didn't refer to - # lt_preloaded_symbols. The linker will fail if global_symbol_pipe - # really was required. - - # Nullify the symbol file. - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` - fi -} - -# func_win32_libid arg -# return the library type of file 'arg' -# -# Need a lot of goo to handle *both* DLLs and import libs -# Has to be a shell function in order to 'eat' the argument -# that is supplied when $file_magic_command is called. -func_win32_libid () -{ - $opt_debug - win32_libid_type="unknown" - win32_fileres=`file -L $1 2>/dev/null` - case $win32_fileres in - *ar\ archive\ import\ library*) # definitely import - win32_libid_type="x86 archive import" - ;; - *ar\ archive*) # could be an import, or static - if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | - $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then - win32_nmres=`eval $NM -f posix -A $1 | - $SED -n -e ' - 1,100{ - / I /{ - s,.*,import, - p - q - } - }'` - case $win32_nmres in - import*) win32_libid_type="x86 archive import";; - *) win32_libid_type="x86 archive static";; - esac - fi - ;; - *DLL*) - win32_libid_type="x86 DLL" - ;; - *executable*) # but shell scripts are "executable" too... - case $win32_fileres in - *MS\ Windows\ PE\ Intel*) - win32_libid_type="x86 DLL" - ;; - esac - ;; - esac - $ECHO "$win32_libid_type" -} - - - -# func_extract_an_archive dir oldlib -func_extract_an_archive () -{ - $opt_debug - f_ex_an_ar_dir="$1"; shift - f_ex_an_ar_oldlib="$1" - func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?' - if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then - : - else - func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" - fi -} - - -# func_extract_archives gentop oldlib ... -func_extract_archives () -{ - $opt_debug - my_gentop="$1"; shift - my_oldlibs=${1+"$@"} - my_oldobjs="" - my_xlib="" - my_xabs="" - my_xdir="" - - for my_xlib in $my_oldlibs; do - # Extract the objects. - case $my_xlib in - [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; - *) my_xabs=`pwd`"/$my_xlib" ;; - esac - func_basename "$my_xlib" - my_xlib="$func_basename_result" - my_xlib_u=$my_xlib - while :; do - case " $extracted_archives " in - *" $my_xlib_u "*) - func_arith $extracted_serial + 1 - extracted_serial=$func_arith_result - my_xlib_u=lt$extracted_serial-$my_xlib ;; - *) break ;; - esac - done - extracted_archives="$extracted_archives $my_xlib_u" - my_xdir="$my_gentop/$my_xlib_u" - - func_mkdir_p "$my_xdir" - - case $host in - *-darwin*) - func_verbose "Extracting $my_xabs" - # Do not bother doing anything if just a dry run - $opt_dry_run || { - darwin_orig_dir=`pwd` - cd $my_xdir || exit $? - darwin_archive=$my_xabs - darwin_curdir=`pwd` - darwin_base_archive=`basename "$darwin_archive"` - darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` - if test -n "$darwin_arches"; then - darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` - darwin_arch= - func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" - for darwin_arch in $darwin_arches ; do - func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}" - $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" - cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" - func_extract_an_archive "`pwd`" "${darwin_base_archive}" - cd "$darwin_curdir" - $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" - done # $darwin_arches - ## Okay now we've a bunch of thin objects, gotta fatten them up :) - darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u` - darwin_file= - darwin_files= - for darwin_file in $darwin_filelist; do - darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` - $LIPO -create -output "$darwin_file" $darwin_files - done # $darwin_filelist - $RM -rf unfat-$$ - cd "$darwin_orig_dir" - else - cd $darwin_orig_dir - func_extract_an_archive "$my_xdir" "$my_xabs" - fi # $darwin_arches - } # !$opt_dry_run - ;; - *) - func_extract_an_archive "$my_xdir" "$my_xabs" - ;; - esac - my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` - done - - func_extract_archives_result="$my_oldobjs" -} - - - -# func_emit_wrapper_part1 [arg=no] -# -# Emit the first part of a libtool wrapper script on stdout. -# For more information, see the description associated with -# func_emit_wrapper(), below. -func_emit_wrapper_part1 () -{ - func_emit_wrapper_part1_arg1=no - if test -n "$1" ; then - func_emit_wrapper_part1_arg1=$1 - fi - - $ECHO "\ -#! $SHELL - -# $output - temporary wrapper script for $objdir/$outputname -# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION -# -# The $output program cannot be directly executed until all the libtool -# libraries that it depends on are installed. -# -# This wrapper script should never be moved out of the build directory. -# If it is, it will not operate correctly. - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed='${SED} -e 1s/^X//' -sed_quote_subst='$sed_quote_subst' - -# Be Bourne compatible -if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which - # is contrary to our usage. Disable this feature. - alias -g '\${1+\"\$@\"}'='\"\$@\"' - setopt NO_GLOB_SUBST -else - case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac -fi -BIN_SH=xpg4; export BIN_SH # for Tru64 -DUALCASE=1; export DUALCASE # for MKS sh - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -relink_command=\"$relink_command\" - -# This environment variable determines our operation mode. -if test \"\$libtool_install_magic\" = \"$magic\"; then - # install mode needs the following variables: - generated_by_libtool_version='$macro_version' - notinst_deplibs='$notinst_deplibs' -else - # When we are sourced in execute mode, \$file and \$ECHO are already set. - if test \"\$libtool_execute_magic\" != \"$magic\"; then - ECHO=\"$qecho\" - file=\"\$0\" - # Make sure echo works. - if test \"X\$1\" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift - elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then - # Yippee, \$ECHO works! - : - else - # Restart under the correct shell, and then maybe \$ECHO will work. - exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} - fi - fi\ -" - $ECHO "\ - - # Find the directory that this script lives in. - thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` - test \"x\$thisdir\" = \"x\$file\" && thisdir=. - - # Follow symbolic links until we get to the real thisdir. - file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` - while test -n \"\$file\"; do - destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` - - # If there was a directory component, then change thisdir. - if test \"x\$destdir\" != \"x\$file\"; then - case \"\$destdir\" in - [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; - *) thisdir=\"\$thisdir/\$destdir\" ;; - esac - fi - - file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\` - file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` - done -" -} -# end: func_emit_wrapper_part1 - -# func_emit_wrapper_part2 [arg=no] -# -# Emit the second part of a libtool wrapper script on stdout. -# For more information, see the description associated with -# func_emit_wrapper(), below. -func_emit_wrapper_part2 () -{ - func_emit_wrapper_part2_arg1=no - if test -n "$1" ; then - func_emit_wrapper_part2_arg1=$1 - fi - - $ECHO "\ - - # Usually 'no', except on cygwin/mingw when embedded into - # the cwrapper. - WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1 - if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then - # special case for '.' - if test \"\$thisdir\" = \".\"; then - thisdir=\`pwd\` - fi - # remove .libs from thisdir - case \"\$thisdir\" in - *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;; - $objdir ) thisdir=. ;; - esac - fi - - # Try to get the absolute directory name. - absdir=\`cd \"\$thisdir\" && pwd\` - test -n \"\$absdir\" && thisdir=\"\$absdir\" -" - - if test "$fast_install" = yes; then - $ECHO "\ - program=lt-'$outputname'$exeext - progdir=\"\$thisdir/$objdir\" - - if test ! -f \"\$progdir/\$program\" || - { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ - test \"X\$file\" != \"X\$progdir/\$program\"; }; then - - file=\"\$\$-\$program\" - - if test ! -d \"\$progdir\"; then - $MKDIR \"\$progdir\" - else - $RM \"\$progdir/\$file\" - fi" - - $ECHO "\ - - # relink executable if necessary - if test -n \"\$relink_command\"; then - if relink_command_output=\`eval \$relink_command 2>&1\`; then : - else - $ECHO \"\$relink_command_output\" >&2 - $RM \"\$progdir/\$file\" - exit 1 - fi - fi - - $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || - { $RM \"\$progdir/\$program\"; - $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } - $RM \"\$progdir/\$file\" - fi" - else - $ECHO "\ - program='$outputname' - progdir=\"\$thisdir/$objdir\" -" - fi - - $ECHO "\ - - if test -f \"\$progdir/\$program\"; then" - - # Export our shlibpath_var if we have one. - if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then - $ECHO "\ - # Add our own library path to $shlibpath_var - $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" - - # Some systems cannot cope with colon-terminated $shlibpath_var - # The second colon is a workaround for a bug in BeOS R4 sed - $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` - - export $shlibpath_var -" - fi - - # fixup the dll searchpath if we need to. - if test -n "$dllsearchpath"; then - $ECHO "\ - # Add the dll search path components to the executable PATH - PATH=$dllsearchpath:\$PATH -" - fi - - $ECHO "\ - if test \"\$libtool_execute_magic\" != \"$magic\"; then - # Run the actual program with our arguments. -" - case $host in - # Backslashes separate directories on plain windows - *-*-mingw | *-*-os2* | *-cegcc*) - $ECHO "\ - exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} -" - ;; - - *) - $ECHO "\ - exec \"\$progdir/\$program\" \${1+\"\$@\"} -" - ;; - esac - $ECHO "\ - \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 - exit 1 - fi - else - # The program doesn't exist. - \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 - \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 - $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 - exit 1 - fi -fi\ -" -} -# end: func_emit_wrapper_part2 - - -# func_emit_wrapper [arg=no] -# -# Emit a libtool wrapper script on stdout. -# Don't directly open a file because we may want to -# incorporate the script contents within a cygwin/mingw -# wrapper executable. Must ONLY be called from within -# func_mode_link because it depends on a number of variables -# set therein. -# -# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR -# variable will take. If 'yes', then the emitted script -# will assume that the directory in which it is stored is -# the $objdir directory. This is a cygwin/mingw-specific -# behavior. -func_emit_wrapper () -{ - func_emit_wrapper_arg1=no - if test -n "$1" ; then - func_emit_wrapper_arg1=$1 - fi - - # split this up so that func_emit_cwrapperexe_src - # can call each part independently. - func_emit_wrapper_part1 "${func_emit_wrapper_arg1}" - func_emit_wrapper_part2 "${func_emit_wrapper_arg1}" -} - - -# func_to_host_path arg -# -# Convert paths to host format when used with build tools. -# Intended for use with "native" mingw (where libtool itself -# is running under the msys shell), or in the following cross- -# build environments: -# $build $host -# mingw (msys) mingw [e.g. native] -# cygwin mingw -# *nix + wine mingw -# where wine is equipped with the `winepath' executable. -# In the native mingw case, the (msys) shell automatically -# converts paths for any non-msys applications it launches, -# but that facility isn't available from inside the cwrapper. -# Similar accommodations are necessary for $host mingw and -# $build cygwin. Calling this function does no harm for other -# $host/$build combinations not listed above. -# -# ARG is the path (on $build) that should be converted to -# the proper representation for $host. The result is stored -# in $func_to_host_path_result. -func_to_host_path () -{ - func_to_host_path_result="$1" - if test -n "$1" ; then - case $host in - *mingw* ) - lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' - case $build in - *mingw* ) # actually, msys - # awkward: cmd appends spaces to result - lt_sed_strip_trailing_spaces="s/[ ]*\$//" - func_to_host_path_tmp1=`( cmd //c echo "$1" |\ - $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ - $SED -e "$lt_sed_naive_backslashify"` - ;; - *cygwin* ) - func_to_host_path_tmp1=`cygpath -w "$1"` - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ - $SED -e "$lt_sed_naive_backslashify"` - ;; - * ) - # Unfortunately, winepath does not exit with a non-zero - # error code, so we are forced to check the contents of - # stdout. On the other hand, if the command is not - # found, the shell will set an exit code of 127 and print - # *an error message* to stdout. So we must check for both - # error code of zero AND non-empty stdout, which explains - # the odd construction: - func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null` - if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ - $SED -e "$lt_sed_naive_backslashify"` - else - # Allow warning below. - func_to_host_path_result="" - fi - ;; - esac - if test -z "$func_to_host_path_result" ; then - func_error "Could not determine host path corresponding to" - func_error " '$1'" - func_error "Continuing, but uninstalled executables may not work." - # Fallback: - func_to_host_path_result="$1" - fi - ;; - esac - fi -} -# end: func_to_host_path - -# func_to_host_pathlist arg -# -# Convert pathlists to host format when used with build tools. -# See func_to_host_path(), above. This function supports the -# following $build/$host combinations (but does no harm for -# combinations not listed here): -# $build $host -# mingw (msys) mingw [e.g. native] -# cygwin mingw -# *nix + wine mingw -# -# Path separators are also converted from $build format to -# $host format. If ARG begins or ends with a path separator -# character, it is preserved (but converted to $host format) -# on output. -# -# ARG is a pathlist (on $build) that should be converted to -# the proper representation on $host. The result is stored -# in $func_to_host_pathlist_result. -func_to_host_pathlist () -{ - func_to_host_pathlist_result="$1" - if test -n "$1" ; then - case $host in - *mingw* ) - lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' - # Remove leading and trailing path separator characters from - # ARG. msys behavior is inconsistent here, cygpath turns them - # into '.;' and ';.', and winepath ignores them completely. - func_to_host_pathlist_tmp2="$1" - # Once set for this call, this variable should not be - # reassigned. It is used in tha fallback case. - func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\ - $SED -e 's|^:*||' -e 's|:*$||'` - case $build in - *mingw* ) # Actually, msys. - # Awkward: cmd appends spaces to result. - lt_sed_strip_trailing_spaces="s/[ ]*\$//" - func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\ - $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ - $SED -e "$lt_sed_naive_backslashify"` - ;; - *cygwin* ) - func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"` - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ - $SED -e "$lt_sed_naive_backslashify"` - ;; - * ) - # unfortunately, winepath doesn't convert pathlists - func_to_host_pathlist_result="" - func_to_host_pathlist_oldIFS=$IFS - IFS=: - for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do - IFS=$func_to_host_pathlist_oldIFS - if test -n "$func_to_host_pathlist_f" ; then - func_to_host_path "$func_to_host_pathlist_f" - if test -n "$func_to_host_path_result" ; then - if test -z "$func_to_host_pathlist_result" ; then - func_to_host_pathlist_result="$func_to_host_path_result" - else - func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result" - fi - fi - fi - IFS=: - done - IFS=$func_to_host_pathlist_oldIFS - ;; - esac - if test -z "$func_to_host_pathlist_result" ; then - func_error "Could not determine the host path(s) corresponding to" - func_error " '$1'" - func_error "Continuing, but uninstalled executables may not work." - # Fallback. This may break if $1 contains DOS-style drive - # specifications. The fix is not to complicate the expression - # below, but for the user to provide a working wine installation - # with winepath so that path translation in the cross-to-mingw - # case works properly. - lt_replace_pathsep_nix_to_dos="s|:|;|g" - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\ - $SED -e "$lt_replace_pathsep_nix_to_dos"` - fi - # Now, add the leading and trailing path separators back - case "$1" in - :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result" - ;; - esac - case "$1" in - *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;" - ;; - esac - ;; - esac - fi -} -# end: func_to_host_pathlist - -# func_emit_cwrapperexe_src -# emit the source code for a wrapper executable on stdout -# Must ONLY be called from within func_mode_link because -# it depends on a number of variable set therein. -func_emit_cwrapperexe_src () -{ - cat < -#include -#ifdef _MSC_VER -# include -# include -# include -# define setmode _setmode -#else -# include -# include -# ifdef __CYGWIN__ -# include -# define HAVE_SETENV -# ifdef __STRICT_ANSI__ -char *realpath (const char *, char *); -int putenv (char *); -int setenv (const char *, const char *, int); -# endif -# endif -#endif -#include -#include -#include -#include -#include -#include -#include -#include - -#if defined(PATH_MAX) -# define LT_PATHMAX PATH_MAX -#elif defined(MAXPATHLEN) -# define LT_PATHMAX MAXPATHLEN -#else -# define LT_PATHMAX 1024 -#endif - -#ifndef S_IXOTH -# define S_IXOTH 0 -#endif -#ifndef S_IXGRP -# define S_IXGRP 0 -#endif - -#ifdef _MSC_VER -# define S_IXUSR _S_IEXEC -# define stat _stat -# ifndef _INTPTR_T_DEFINED -# define intptr_t int -# endif -#endif - -#ifndef DIR_SEPARATOR -# define DIR_SEPARATOR '/' -# define PATH_SEPARATOR ':' -#endif - -#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ - defined (__OS2__) -# define HAVE_DOS_BASED_FILE_SYSTEM -# define FOPEN_WB "wb" -# ifndef DIR_SEPARATOR_2 -# define DIR_SEPARATOR_2 '\\' -# endif -# ifndef PATH_SEPARATOR_2 -# define PATH_SEPARATOR_2 ';' -# endif -#endif - -#ifndef DIR_SEPARATOR_2 -# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) -#else /* DIR_SEPARATOR_2 */ -# define IS_DIR_SEPARATOR(ch) \ - (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) -#endif /* DIR_SEPARATOR_2 */ - -#ifndef PATH_SEPARATOR_2 -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) -#else /* PATH_SEPARATOR_2 */ -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) -#endif /* PATH_SEPARATOR_2 */ - -#ifdef __CYGWIN__ -# define FOPEN_WB "wb" -#endif - -#ifndef FOPEN_WB -# define FOPEN_WB "w" -#endif -#ifndef _O_BINARY -# define _O_BINARY 0 -#endif - -#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) -#define XFREE(stale) do { \ - if (stale) { free ((void *) stale); stale = 0; } \ -} while (0) - -#undef LTWRAPPER_DEBUGPRINTF -#if defined DEBUGWRAPPER -# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args -static void -ltwrapper_debugprintf (const char *fmt, ...) -{ - va_list args; - va_start (args, fmt); - (void) vfprintf (stderr, fmt, args); - va_end (args); -} -#else -# define LTWRAPPER_DEBUGPRINTF(args) -#endif - -const char *program_name = NULL; - -void *xmalloc (size_t num); -char *xstrdup (const char *string); -const char *base_name (const char *name); -char *find_executable (const char *wrapper); -char *chase_symlinks (const char *pathspec); -int make_executable (const char *path); -int check_executable (const char *path); -char *strendzap (char *str, const char *pat); -void lt_fatal (const char *message, ...); -void lt_setenv (const char *name, const char *value); -char *lt_extend_str (const char *orig_value, const char *add, int to_end); -void lt_opt_process_env_set (const char *arg); -void lt_opt_process_env_prepend (const char *arg); -void lt_opt_process_env_append (const char *arg); -int lt_split_name_value (const char *arg, char** name, char** value); -void lt_update_exe_path (const char *name, const char *value); -void lt_update_lib_path (const char *name, const char *value); - -static const char *script_text_part1 = -EOF - - func_emit_wrapper_part1 yes | - $SED -e 's/\([\\"]\)/\\\1/g' \ - -e 's/^/ "/' -e 's/$/\\n"/' - echo ";" - cat <"))); - for (i = 0; i < newargc; i++) - { - LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : ""))); - } - -EOF - - case $host_os in - mingw*) - cat <<"EOF" - /* execv doesn't actually work on mingw as expected on unix */ - rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz); - if (rval == -1) - { - /* failed to start process */ - LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno)); - return 127; - } - return rval; -EOF - ;; - *) - cat <<"EOF" - execv (lt_argv_zero, newargz); - return rval; /* =127, but avoids unused variable warning */ -EOF - ;; - esac - - cat <<"EOF" -} - -void * -xmalloc (size_t num) -{ - void *p = (void *) malloc (num); - if (!p) - lt_fatal ("Memory exhausted"); - - return p; -} - -char * -xstrdup (const char *string) -{ - return string ? strcpy ((char *) xmalloc (strlen (string) + 1), - string) : NULL; -} - -const char * -base_name (const char *name) -{ - const char *base; - -#if defined (HAVE_DOS_BASED_FILE_SYSTEM) - /* Skip over the disk name in MSDOS pathnames. */ - if (isalpha ((unsigned char) name[0]) && name[1] == ':') - name += 2; -#endif - - for (base = name; *name; name++) - if (IS_DIR_SEPARATOR (*name)) - base = name + 1; - return base; -} - -int -check_executable (const char *path) -{ - struct stat st; - - LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n", - path ? (*path ? path : "EMPTY!") : "NULL!")); - if ((!path) || (!*path)) - return 0; - - if ((stat (path, &st) >= 0) - && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) - return 1; - else - return 0; -} - -int -make_executable (const char *path) -{ - int rval = 0; - struct stat st; - - LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n", - path ? (*path ? path : "EMPTY!") : "NULL!")); - if ((!path) || (!*path)) - return 0; - - if (stat (path, &st) >= 0) - { - rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); - } - return rval; -} - -/* Searches for the full path of the wrapper. Returns - newly allocated full path name if found, NULL otherwise - Does not chase symlinks, even on platforms that support them. -*/ -char * -find_executable (const char *wrapper) -{ - int has_slash = 0; - const char *p; - const char *p_next; - /* static buffer for getcwd */ - char tmp[LT_PATHMAX + 1]; - int tmp_len; - char *concat_name; - - LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n", - wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!")); - - if ((wrapper == NULL) || (*wrapper == '\0')) - return NULL; - - /* Absolute path? */ -#if defined (HAVE_DOS_BASED_FILE_SYSTEM) - if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') - { - concat_name = xstrdup (wrapper); - if (check_executable (concat_name)) - return concat_name; - XFREE (concat_name); - } - else - { -#endif - if (IS_DIR_SEPARATOR (wrapper[0])) - { - concat_name = xstrdup (wrapper); - if (check_executable (concat_name)) - return concat_name; - XFREE (concat_name); - } -#if defined (HAVE_DOS_BASED_FILE_SYSTEM) - } -#endif - - for (p = wrapper; *p; p++) - if (*p == '/') - { - has_slash = 1; - break; - } - if (!has_slash) - { - /* no slashes; search PATH */ - const char *path = getenv ("PATH"); - if (path != NULL) - { - for (p = path; *p; p = p_next) - { - const char *q; - size_t p_len; - for (q = p; *q; q++) - if (IS_PATH_SEPARATOR (*q)) - break; - p_len = q - p; - p_next = (*q == '\0' ? q : q + 1); - if (p_len == 0) - { - /* empty path: current directory */ - if (getcwd (tmp, LT_PATHMAX) == NULL) - lt_fatal ("getcwd failed"); - tmp_len = strlen (tmp); - concat_name = - XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); - memcpy (concat_name, tmp, tmp_len); - concat_name[tmp_len] = '/'; - strcpy (concat_name + tmp_len + 1, wrapper); - } - else - { - concat_name = - XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); - memcpy (concat_name, p, p_len); - concat_name[p_len] = '/'; - strcpy (concat_name + p_len + 1, wrapper); - } - if (check_executable (concat_name)) - return concat_name; - XFREE (concat_name); - } - } - /* not found in PATH; assume curdir */ - } - /* Relative path | not found in path: prepend cwd */ - if (getcwd (tmp, LT_PATHMAX) == NULL) - lt_fatal ("getcwd failed"); - tmp_len = strlen (tmp); - concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); - memcpy (concat_name, tmp, tmp_len); - concat_name[tmp_len] = '/'; - strcpy (concat_name + tmp_len + 1, wrapper); - - if (check_executable (concat_name)) - return concat_name; - XFREE (concat_name); - return NULL; -} - -char * -chase_symlinks (const char *pathspec) -{ -#ifndef S_ISLNK - return xstrdup (pathspec); -#else - char buf[LT_PATHMAX]; - struct stat s; - char *tmp_pathspec = xstrdup (pathspec); - char *p; - int has_symlinks = 0; - while (strlen (tmp_pathspec) && !has_symlinks) - { - LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n", - tmp_pathspec)); - if (lstat (tmp_pathspec, &s) == 0) - { - if (S_ISLNK (s.st_mode) != 0) - { - has_symlinks = 1; - break; - } - - /* search backwards for last DIR_SEPARATOR */ - p = tmp_pathspec + strlen (tmp_pathspec) - 1; - while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) - p--; - if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) - { - /* no more DIR_SEPARATORS left */ - break; - } - *p = '\0'; - } - else - { - char *errstr = strerror (errno); - lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr); - } - } - XFREE (tmp_pathspec); - - if (!has_symlinks) - { - return xstrdup (pathspec); - } - - tmp_pathspec = realpath (pathspec, buf); - if (tmp_pathspec == 0) - { - lt_fatal ("Could not follow symlinks for %s", pathspec); - } - return xstrdup (tmp_pathspec); -#endif -} - -char * -strendzap (char *str, const char *pat) -{ - size_t len, patlen; - - assert (str != NULL); - assert (pat != NULL); - - len = strlen (str); - patlen = strlen (pat); - - if (patlen <= len) - { - str += len - patlen; - if (strcmp (str, pat) == 0) - *str = '\0'; - } - return str; -} - -static void -lt_error_core (int exit_status, const char *mode, - const char *message, va_list ap) -{ - fprintf (stderr, "%s: %s: ", program_name, mode); - vfprintf (stderr, message, ap); - fprintf (stderr, ".\n"); - - if (exit_status >= 0) - exit (exit_status); -} - -void -lt_fatal (const char *message, ...) -{ - va_list ap; - va_start (ap, message); - lt_error_core (EXIT_FAILURE, "FATAL", message, ap); - va_end (ap); -} - -void -lt_setenv (const char *name, const char *value) -{ - LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n", - (name ? name : ""), - (value ? value : ""))); - { -#ifdef HAVE_SETENV - /* always make a copy, for consistency with !HAVE_SETENV */ - char *str = xstrdup (value); - setenv (name, str, 1); -#else - int len = strlen (name) + 1 + strlen (value) + 1; - char *str = XMALLOC (char, len); - sprintf (str, "%s=%s", name, value); - if (putenv (str) != EXIT_SUCCESS) - { - XFREE (str); - } -#endif - } -} - -char * -lt_extend_str (const char *orig_value, const char *add, int to_end) -{ - char *new_value; - if (orig_value && *orig_value) - { - int orig_value_len = strlen (orig_value); - int add_len = strlen (add); - new_value = XMALLOC (char, add_len + orig_value_len + 1); - if (to_end) - { - strcpy (new_value, orig_value); - strcpy (new_value + orig_value_len, add); - } - else - { - strcpy (new_value, add); - strcpy (new_value + add_len, orig_value); - } - } - else - { - new_value = xstrdup (add); - } - return new_value; -} - -int -lt_split_name_value (const char *arg, char** name, char** value) -{ - const char *p; - int len; - if (!arg || !*arg) - return 1; - - p = strchr (arg, (int)'='); - - if (!p) - return 1; - - *value = xstrdup (++p); - - len = strlen (arg) - strlen (*value); - *name = XMALLOC (char, len); - strncpy (*name, arg, len-1); - (*name)[len - 1] = '\0'; - - return 0; -} - -void -lt_opt_process_env_set (const char *arg) -{ - char *name = NULL; - char *value = NULL; - - if (lt_split_name_value (arg, &name, &value) != 0) - { - XFREE (name); - XFREE (value); - lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg); - } - - lt_setenv (name, value); - XFREE (name); - XFREE (value); -} - -void -lt_opt_process_env_prepend (const char *arg) -{ - char *name = NULL; - char *value = NULL; - char *new_value = NULL; - - if (lt_split_name_value (arg, &name, &value) != 0) - { - XFREE (name); - XFREE (value); - lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg); - } - - new_value = lt_extend_str (getenv (name), value, 0); - lt_setenv (name, new_value); - XFREE (new_value); - XFREE (name); - XFREE (value); -} - -void -lt_opt_process_env_append (const char *arg) -{ - char *name = NULL; - char *value = NULL; - char *new_value = NULL; - - if (lt_split_name_value (arg, &name, &value) != 0) - { - XFREE (name); - XFREE (value); - lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg); - } - - new_value = lt_extend_str (getenv (name), value, 1); - lt_setenv (name, new_value); - XFREE (new_value); - XFREE (name); - XFREE (value); -} - -void -lt_update_exe_path (const char *name, const char *value) -{ - LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n", - (name ? name : ""), - (value ? value : ""))); - - if (name && *name && value && *value) - { - char *new_value = lt_extend_str (getenv (name), value, 0); - /* some systems can't cope with a ':'-terminated path #' */ - int len = strlen (new_value); - while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1])) - { - new_value[len-1] = '\0'; - } - lt_setenv (name, new_value); - XFREE (new_value); - } -} - -void -lt_update_lib_path (const char *name, const char *value) -{ - LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n", - (name ? name : ""), - (value ? value : ""))); - - if (name && *name && value && *value) - { - char *new_value = lt_extend_str (getenv (name), value, 0); - lt_setenv (name, new_value); - XFREE (new_value); - } -} - - -EOF -} -# end: func_emit_cwrapperexe_src - -# func_mode_link arg... -func_mode_link () -{ - $opt_debug - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) - # It is impossible to link a dll without this setting, and - # we shouldn't force the makefile maintainer to figure out - # which system we are compiling for in order to pass an extra - # flag for every libtool invocation. - # allow_undefined=no - - # FIXME: Unfortunately, there are problems with the above when trying - # to make a dll which has undefined symbols, in which case not - # even a static library is built. For now, we need to specify - # -no-undefined on the libtool link line when we can be certain - # that all symbols are satisfied, otherwise we get a static library. - allow_undefined=yes - ;; - *) - allow_undefined=yes - ;; - esac - libtool_args=$nonopt - base_compile="$nonopt $@" - compile_command=$nonopt - finalize_command=$nonopt - - compile_rpath= - finalize_rpath= - compile_shlibpath= - finalize_shlibpath= - convenience= - old_convenience= - deplibs= - old_deplibs= - compiler_flags= - linker_flags= - dllsearchpath= - lib_search_path=`pwd` - inst_prefix_dir= - new_inherited_linker_flags= - - avoid_version=no - dlfiles= - dlprefiles= - dlself=no - export_dynamic=no - export_symbols= - export_symbols_regex= - generated= - libobjs= - ltlibs= - module=no - no_install=no - objs= - non_pic_objects= - precious_files_regex= - prefer_static_libs=no - preload=no - prev= - prevarg= - release= - rpath= - xrpath= - perm_rpath= - temp_rpath= - thread_safe=no - vinfo= - vinfo_number=no - weak_libs= - single_module="${wl}-single_module" - func_infer_tag $base_compile - - # We need to know -static, to get the right output filenames. - for arg - do - case $arg in - -shared) - test "$build_libtool_libs" != yes && \ - func_fatal_configuration "can not build a shared library" - build_old_libs=no - break - ;; - -all-static | -static | -static-libtool-libs) - case $arg in - -all-static) - if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then - func_warning "complete static linking is impossible in this configuration" - fi - if test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=yes - ;; - -static) - if test -z "$pic_flag" && test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=built - ;; - -static-libtool-libs) - if test -z "$pic_flag" && test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=yes - ;; - esac - build_libtool_libs=no - build_old_libs=yes - break - ;; - esac - done - - # See if our shared archives depend on static archives. - test -n "$old_archive_from_new_cmds" && build_old_libs=yes - - # Go through the arguments, transforming them on the way. - while test "$#" -gt 0; do - arg="$1" - shift - func_quote_for_eval "$arg" - qarg=$func_quote_for_eval_unquoted_result - func_append libtool_args " $func_quote_for_eval_result" - - # If the previous option needs an argument, assign it. - if test -n "$prev"; then - case $prev in - output) - func_append compile_command " @OUTPUT@" - func_append finalize_command " @OUTPUT@" - ;; - esac - - case $prev in - dlfiles|dlprefiles) - if test "$preload" = no; then - # Add the symbol object into the linking commands. - func_append compile_command " @SYMFILE@" - func_append finalize_command " @SYMFILE@" - preload=yes - fi - case $arg in - *.la | *.lo) ;; # We handle these cases below. - force) - if test "$dlself" = no; then - dlself=needless - export_dynamic=yes - fi - prev= - continue - ;; - self) - if test "$prev" = dlprefiles; then - dlself=yes - elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then - dlself=yes - else - dlself=needless - export_dynamic=yes - fi - prev= - continue - ;; - *) - if test "$prev" = dlfiles; then - dlfiles="$dlfiles $arg" - else - dlprefiles="$dlprefiles $arg" - fi - prev= - continue - ;; - esac - ;; - expsyms) - export_symbols="$arg" - test -f "$arg" \ - || func_fatal_error "symbol file \`$arg' does not exist" - prev= - continue - ;; - expsyms_regex) - export_symbols_regex="$arg" - prev= - continue - ;; - framework) - case $host in - *-*-darwin*) - case "$deplibs " in - *" $qarg.ltframework "*) ;; - *) deplibs="$deplibs $qarg.ltframework" # this is fixed later - ;; - esac - ;; - esac - prev= - continue - ;; - inst_prefix) - inst_prefix_dir="$arg" - prev= - continue - ;; - objectlist) - if test -f "$arg"; then - save_arg=$arg - moreargs= - for fil in `cat "$save_arg"` - do -# moreargs="$moreargs $fil" - arg=$fil - # A libtool-controlled object. - - # Check to see that this really is a libtool object. - if func_lalib_unsafe_p "$arg"; then - pic_object= - non_pic_object= - - # Read the .lo file - func_source "$arg" - - if test -z "$pic_object" || - test -z "$non_pic_object" || - test "$pic_object" = none && - test "$non_pic_object" = none; then - func_fatal_error "cannot find name of object for \`$arg'" - fi - - # Extract subdirectory from the argument. - func_dirname "$arg" "/" "" - xdir="$func_dirname_result" - - if test "$pic_object" != none; then - # Prepend the subdirectory the object is found in. - pic_object="$xdir$pic_object" - - if test "$prev" = dlfiles; then - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then - dlfiles="$dlfiles $pic_object" - prev= - continue - else - # If libtool objects are unsupported, then we need to preload. - prev=dlprefiles - fi - fi - - # CHECK ME: I think I busted this. -Ossama - if test "$prev" = dlprefiles; then - # Preload the old-style object. - dlprefiles="$dlprefiles $pic_object" - prev= - fi - - # A PIC object. - func_append libobjs " $pic_object" - arg="$pic_object" - fi - - # Non-PIC object. - if test "$non_pic_object" != none; then - # Prepend the subdirectory the object is found in. - non_pic_object="$xdir$non_pic_object" - - # A standard non-PIC object - func_append non_pic_objects " $non_pic_object" - if test -z "$pic_object" || test "$pic_object" = none ; then - arg="$non_pic_object" - fi - else - # If the PIC object exists, use it instead. - # $xdir was prepended to $pic_object above. - non_pic_object="$pic_object" - func_append non_pic_objects " $non_pic_object" - fi - else - # Only an error if not doing a dry-run. - if $opt_dry_run; then - # Extract subdirectory from the argument. - func_dirname "$arg" "/" "" - xdir="$func_dirname_result" - - func_lo2o "$arg" - pic_object=$xdir$objdir/$func_lo2o_result - non_pic_object=$xdir$func_lo2o_result - func_append libobjs " $pic_object" - func_append non_pic_objects " $non_pic_object" - else - func_fatal_error "\`$arg' is not a valid libtool object" - fi - fi - done - else - func_fatal_error "link input file \`$arg' does not exist" - fi - arg=$save_arg - prev= - continue - ;; - precious_regex) - precious_files_regex="$arg" - prev= - continue - ;; - release) - release="-$arg" - prev= - continue - ;; - rpath | xrpath) - # We need an absolute path. - case $arg in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - func_fatal_error "only absolute run-paths are allowed" - ;; - esac - if test "$prev" = rpath; then - case "$rpath " in - *" $arg "*) ;; - *) rpath="$rpath $arg" ;; - esac - else - case "$xrpath " in - *" $arg "*) ;; - *) xrpath="$xrpath $arg" ;; - esac - fi - prev= - continue - ;; - shrext) - shrext_cmds="$arg" - prev= - continue - ;; - weak) - weak_libs="$weak_libs $arg" - prev= - continue - ;; - xcclinker) - linker_flags="$linker_flags $qarg" - compiler_flags="$compiler_flags $qarg" - prev= - func_append compile_command " $qarg" - func_append finalize_command " $qarg" - continue - ;; - xcompiler) - compiler_flags="$compiler_flags $qarg" - prev= - func_append compile_command " $qarg" - func_append finalize_command " $qarg" - continue - ;; - xlinker) - linker_flags="$linker_flags $qarg" - compiler_flags="$compiler_flags $wl$qarg" - prev= - func_append compile_command " $wl$qarg" - func_append finalize_command " $wl$qarg" - continue - ;; - *) - eval "$prev=\"\$arg\"" - prev= - continue - ;; - esac - fi # test -n "$prev" - - prevarg="$arg" - - case $arg in - -all-static) - if test -n "$link_static_flag"; then - # See comment for -static flag below, for more details. - func_append compile_command " $link_static_flag" - func_append finalize_command " $link_static_flag" - fi - continue - ;; - - -allow-undefined) - # FIXME: remove this flag sometime in the future. - func_fatal_error "\`-allow-undefined' must not be used because it is the default" - ;; - - -avoid-version) - avoid_version=yes - continue - ;; - - -dlopen) - prev=dlfiles - continue - ;; - - -dlpreopen) - prev=dlprefiles - continue - ;; - - -export-dynamic) - export_dynamic=yes - continue - ;; - - -export-symbols | -export-symbols-regex) - if test -n "$export_symbols" || test -n "$export_symbols_regex"; then - func_fatal_error "more than one -exported-symbols argument is not allowed" - fi - if test "X$arg" = "X-export-symbols"; then - prev=expsyms - else - prev=expsyms_regex - fi - continue - ;; - - -framework) - prev=framework - continue - ;; - - -inst-prefix-dir) - prev=inst_prefix - continue - ;; - - # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* - # so, if we see these flags be careful not to treat them like -L - -L[A-Z][A-Z]*:*) - case $with_gcc/$host in - no/*-*-irix* | /*-*-irix*) - func_append compile_command " $arg" - func_append finalize_command " $arg" - ;; - esac - continue - ;; - - -L*) - func_stripname '-L' '' "$arg" - dir=$func_stripname_result - if test -z "$dir"; then - if test "$#" -gt 0; then - func_fatal_error "require no space between \`-L' and \`$1'" - else - func_fatal_error "need path for \`-L' option" - fi - fi - # We need an absolute path. - case $dir in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - absdir=`cd "$dir" && pwd` - test -z "$absdir" && \ - func_fatal_error "cannot determine absolute directory name of \`$dir'" - dir="$absdir" - ;; - esac - case "$deplibs " in - *" -L$dir "*) ;; - *) - deplibs="$deplibs -L$dir" - lib_search_path="$lib_search_path $dir" - ;; - esac - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) - testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'` - case :$dllsearchpath: in - *":$dir:"*) ;; - ::) dllsearchpath=$dir;; - *) dllsearchpath="$dllsearchpath:$dir";; - esac - case :$dllsearchpath: in - *":$testbindir:"*) ;; - ::) dllsearchpath=$testbindir;; - *) dllsearchpath="$dllsearchpath:$testbindir";; - esac - ;; - esac - continue - ;; - - -l*) - if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*) - # These systems don't actually have a C or math library (as such) - continue - ;; - *-*-os2*) - # These systems don't actually have a C library (as such) - test "X$arg" = "X-lc" && continue - ;; - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) - # Do not include libc due to us having libc/libc_r. - test "X$arg" = "X-lc" && continue - ;; - *-*-rhapsody* | *-*-darwin1.[012]) - # Rhapsody C and math libraries are in the System framework - deplibs="$deplibs System.ltframework" - continue - ;; - *-*-sco3.2v5* | *-*-sco5v6*) - # Causes problems with __ctype - test "X$arg" = "X-lc" && continue - ;; - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) - # Compiler inserts libc in the correct place for threads to work - test "X$arg" = "X-lc" && continue - ;; - esac - elif test "X$arg" = "X-lc_r"; then - case $host in - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) - # Do not include libc_r directly, use -pthread flag. - continue - ;; - esac - fi - deplibs="$deplibs $arg" - continue - ;; - - -module) - module=yes - continue - ;; - - # Tru64 UNIX uses -model [arg] to determine the layout of C++ - # classes, name mangling, and exception handling. - # Darwin uses the -arch flag to determine output architecture. - -model|-arch|-isysroot) - compiler_flags="$compiler_flags $arg" - func_append compile_command " $arg" - func_append finalize_command " $arg" - prev=xcompiler - continue - ;; - - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) - compiler_flags="$compiler_flags $arg" - func_append compile_command " $arg" - func_append finalize_command " $arg" - case "$new_inherited_linker_flags " in - *" $arg "*) ;; - * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;; - esac - continue - ;; - - -multi_module) - single_module="${wl}-multi_module" - continue - ;; - - -no-fast-install) - fast_install=no - continue - ;; - - -no-install) - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) - # The PATH hackery in wrapper scripts is required on Windows - # and Darwin in order for the loader to find any dlls it needs. - func_warning "\`-no-install' is ignored for $host" - func_warning "assuming \`-no-fast-install' instead" - fast_install=no - ;; - *) no_install=yes ;; - esac - continue - ;; - - -no-undefined) - allow_undefined=no - continue - ;; - - -objectlist) - prev=objectlist - continue - ;; - - -o) prev=output ;; - - -precious-files-regex) - prev=precious_regex - continue - ;; - - -release) - prev=release - continue - ;; - - -rpath) - prev=rpath - continue - ;; - - -R) - prev=xrpath - continue - ;; - - -R*) - func_stripname '-R' '' "$arg" - dir=$func_stripname_result - # We need an absolute path. - case $dir in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - func_fatal_error "only absolute run-paths are allowed" - ;; - esac - case "$xrpath " in - *" $dir "*) ;; - *) xrpath="$xrpath $dir" ;; - esac - continue - ;; - - -shared) - # The effects of -shared are defined in a previous loop. - continue - ;; - - -shrext) - prev=shrext - continue - ;; - - -static | -static-libtool-libs) - # The effects of -static are defined in a previous loop. - # We used to do the same as -all-static on platforms that - # didn't have a PIC flag, but the assumption that the effects - # would be equivalent was wrong. It would break on at least - # Digital Unix and AIX. - continue - ;; - - -thread-safe) - thread_safe=yes - continue - ;; - - -version-info) - prev=vinfo - continue - ;; - - -version-number) - prev=vinfo - vinfo_number=yes - continue - ;; - - -weak) - prev=weak - continue - ;; - - -Wc,*) - func_stripname '-Wc,' '' "$arg" - args=$func_stripname_result - arg= - save_ifs="$IFS"; IFS=',' - for flag in $args; do - IFS="$save_ifs" - func_quote_for_eval "$flag" - arg="$arg $wl$func_quote_for_eval_result" - compiler_flags="$compiler_flags $func_quote_for_eval_result" - done - IFS="$save_ifs" - func_stripname ' ' '' "$arg" - arg=$func_stripname_result - ;; - - -Wl,*) - func_stripname '-Wl,' '' "$arg" - args=$func_stripname_result - arg= - save_ifs="$IFS"; IFS=',' - for flag in $args; do - IFS="$save_ifs" - func_quote_for_eval "$flag" - arg="$arg $wl$func_quote_for_eval_result" - compiler_flags="$compiler_flags $wl$func_quote_for_eval_result" - linker_flags="$linker_flags $func_quote_for_eval_result" - done - IFS="$save_ifs" - func_stripname ' ' '' "$arg" - arg=$func_stripname_result - ;; - - -Xcompiler) - prev=xcompiler - continue - ;; - - -Xlinker) - prev=xlinker - continue - ;; - - -XCClinker) - prev=xcclinker - continue - ;; - - # -msg_* for osf cc - -msg_*) - func_quote_for_eval "$arg" - arg="$func_quote_for_eval_result" - ;; - - # -64, -mips[0-9] enable 64-bit mode on the SGI compiler - # -r[0-9][0-9]* specifies the processor on the SGI compiler - # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler - # +DA*, +DD* enable 64-bit mode on the HP compiler - # -q* pass through compiler args for the IBM compiler - # -m*, -t[45]*, -txscale* pass through architecture-specific - # compiler args for GCC - # -F/path gives path to uninstalled frameworks, gcc on darwin - # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC - # @file GCC response files - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) - func_quote_for_eval "$arg" - arg="$func_quote_for_eval_result" - func_append compile_command " $arg" - func_append finalize_command " $arg" - compiler_flags="$compiler_flags $arg" - continue - ;; - - # Some other compiler flag. - -* | +*) - func_quote_for_eval "$arg" - arg="$func_quote_for_eval_result" - ;; - - *.$objext) - # A standard object. - objs="$objs $arg" - ;; - - *.lo) - # A libtool-controlled object. - - # Check to see that this really is a libtool object. - if func_lalib_unsafe_p "$arg"; then - pic_object= - non_pic_object= - - # Read the .lo file - func_source "$arg" - - if test -z "$pic_object" || - test -z "$non_pic_object" || - test "$pic_object" = none && - test "$non_pic_object" = none; then - func_fatal_error "cannot find name of object for \`$arg'" - fi - - # Extract subdirectory from the argument. - func_dirname "$arg" "/" "" - xdir="$func_dirname_result" - - if test "$pic_object" != none; then - # Prepend the subdirectory the object is found in. - pic_object="$xdir$pic_object" - - if test "$prev" = dlfiles; then - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then - dlfiles="$dlfiles $pic_object" - prev= - continue - else - # If libtool objects are unsupported, then we need to preload. - prev=dlprefiles - fi - fi - - # CHECK ME: I think I busted this. -Ossama - if test "$prev" = dlprefiles; then - # Preload the old-style object. - dlprefiles="$dlprefiles $pic_object" - prev= - fi - - # A PIC object. - func_append libobjs " $pic_object" - arg="$pic_object" - fi - - # Non-PIC object. - if test "$non_pic_object" != none; then - # Prepend the subdirectory the object is found in. - non_pic_object="$xdir$non_pic_object" - - # A standard non-PIC object - func_append non_pic_objects " $non_pic_object" - if test -z "$pic_object" || test "$pic_object" = none ; then - arg="$non_pic_object" - fi - else - # If the PIC object exists, use it instead. - # $xdir was prepended to $pic_object above. - non_pic_object="$pic_object" - func_append non_pic_objects " $non_pic_object" - fi - else - # Only an error if not doing a dry-run. - if $opt_dry_run; then - # Extract subdirectory from the argument. - func_dirname "$arg" "/" "" - xdir="$func_dirname_result" - - func_lo2o "$arg" - pic_object=$xdir$objdir/$func_lo2o_result - non_pic_object=$xdir$func_lo2o_result - func_append libobjs " $pic_object" - func_append non_pic_objects " $non_pic_object" - else - func_fatal_error "\`$arg' is not a valid libtool object" - fi - fi - ;; - - *.$libext) - # An archive. - deplibs="$deplibs $arg" - old_deplibs="$old_deplibs $arg" - continue - ;; - - *.la) - # A libtool-controlled library. - - if test "$prev" = dlfiles; then - # This library was specified with -dlopen. - dlfiles="$dlfiles $arg" - prev= - elif test "$prev" = dlprefiles; then - # The library was specified with -dlpreopen. - dlprefiles="$dlprefiles $arg" - prev= - else - deplibs="$deplibs $arg" - fi - continue - ;; - - # Some other compiler argument. - *) - # Unknown arguments in both finalize_command and compile_command need - # to be aesthetically quoted because they are evaled later. - func_quote_for_eval "$arg" - arg="$func_quote_for_eval_result" - ;; - esac # arg - - # Now actually substitute the argument into the commands. - if test -n "$arg"; then - func_append compile_command " $arg" - func_append finalize_command " $arg" - fi - done # argument parsing loop - - test -n "$prev" && \ - func_fatal_help "the \`$prevarg' option requires an argument" - - if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then - eval arg=\"$export_dynamic_flag_spec\" - func_append compile_command " $arg" - func_append finalize_command " $arg" - fi - - oldlibs= - # calculate the name of the file, without its directory - func_basename "$output" - outputname="$func_basename_result" - libobjs_save="$libobjs" - - if test -n "$shlibpath_var"; then - # get the directories listed in $shlibpath_var - eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` - else - shlib_search_path= - fi - eval sys_lib_search_path=\"$sys_lib_search_path_spec\" - eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" - - func_dirname "$output" "/" "" - output_objdir="$func_dirname_result$objdir" - # Create the object directory. - func_mkdir_p "$output_objdir" - - # Determine the type of output - case $output in - "") - func_fatal_help "you must specify an output file" - ;; - *.$libext) linkmode=oldlib ;; - *.lo | *.$objext) linkmode=obj ;; - *.la) linkmode=lib ;; - *) linkmode=prog ;; # Anything else should be a program. - esac - - specialdeplibs= - - libs= - # Find all interdependent deplibs by searching for libraries - # that are linked more than once (e.g. -la -lb -la) - for deplib in $deplibs; do - if $opt_duplicate_deps ; then - case "$libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - libs="$libs $deplib" - done - - if test "$linkmode" = lib; then - libs="$predeps $libs $compiler_lib_search_path $postdeps" - - # Compute libraries that are listed more than once in $predeps - # $postdeps and mark them as special (i.e., whose duplicates are - # not to be eliminated). - pre_post_deps= - if $opt_duplicate_compiler_generated_deps; then - for pre_post_dep in $predeps $postdeps; do - case "$pre_post_deps " in - *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; - esac - pre_post_deps="$pre_post_deps $pre_post_dep" - done - fi - pre_post_deps= - fi - - deplibs= - newdependency_libs= - newlib_search_path= - need_relink=no # whether we're linking any uninstalled libtool libraries - notinst_deplibs= # not-installed libtool libraries - notinst_path= # paths that contain not-installed libtool libraries - - case $linkmode in - lib) - passes="conv dlpreopen link" - for file in $dlfiles $dlprefiles; do - case $file in - *.la) ;; - *) - func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file" - ;; - esac - done - ;; - prog) - compile_deplibs= - finalize_deplibs= - alldeplibs=no - newdlfiles= - newdlprefiles= - passes="conv scan dlopen dlpreopen link" - ;; - *) passes="conv" - ;; - esac - - for pass in $passes; do - # The preopen pass in lib mode reverses $deplibs; put it back here - # so that -L comes before libs that need it for instance... - if test "$linkmode,$pass" = "lib,link"; then - ## FIXME: Find the place where the list is rebuilt in the wrong - ## order, and fix it there properly - tmp_deplibs= - for deplib in $deplibs; do - tmp_deplibs="$deplib $tmp_deplibs" - done - deplibs="$tmp_deplibs" - fi - - if test "$linkmode,$pass" = "lib,link" || - test "$linkmode,$pass" = "prog,scan"; then - libs="$deplibs" - deplibs= - fi - if test "$linkmode" = prog; then - case $pass in - dlopen) libs="$dlfiles" ;; - dlpreopen) libs="$dlprefiles" ;; - link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; - esac - fi - if test "$linkmode,$pass" = "lib,dlpreopen"; then - # Collect and forward deplibs of preopened libtool libs - for lib in $dlprefiles; do - # Ignore non-libtool-libs - dependency_libs= - case $lib in - *.la) func_source "$lib" ;; - esac - - # Collect preopened libtool deplibs, except any this library - # has declared as weak libs - for deplib in $dependency_libs; do - deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"` - case " $weak_libs " in - *" $deplib_base "*) ;; - *) deplibs="$deplibs $deplib" ;; - esac - done - done - libs="$dlprefiles" - fi - if test "$pass" = dlopen; then - # Collect dlpreopened libraries - save_deplibs="$deplibs" - deplibs= - fi - - for deplib in $libs; do - lib= - found=no - case $deplib in - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - compiler_flags="$compiler_flags $deplib" - if test "$linkmode" = lib ; then - case "$new_inherited_linker_flags " in - *" $deplib "*) ;; - * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;; - esac - fi - fi - continue - ;; - -l*) - if test "$linkmode" != lib && test "$linkmode" != prog; then - func_warning "\`-l' is ignored for archives/objects" - continue - fi - func_stripname '-l' '' "$deplib" - name=$func_stripname_result - if test "$linkmode" = lib; then - searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" - else - searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" - fi - for searchdir in $searchdirs; do - for search_ext in .la $std_shrext .so .a; do - # Search the libtool library - lib="$searchdir/lib${name}${search_ext}" - if test -f "$lib"; then - if test "$search_ext" = ".la"; then - found=yes - else - found=no - fi - break 2 - fi - done - done - if test "$found" != yes; then - # deplib doesn't seem to be a libtool library - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - deplibs="$deplib $deplibs" - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" - fi - continue - else # deplib is a libtool library - # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, - # We need to do some special things here, and not later. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then - case " $predeps $postdeps " in - *" $deplib "*) - if func_lalib_p "$lib"; then - library_names= - old_library= - func_source "$lib" - for l in $old_library $library_names; do - ll="$l" - done - if test "X$ll" = "X$old_library" ; then # only static version available - found=no - func_dirname "$lib" "" "." - ladir="$func_dirname_result" - lib=$ladir/$old_library - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - deplibs="$deplib $deplibs" - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" - fi - continue - fi - fi - ;; - *) ;; - esac - fi - fi - ;; # -l - *.ltframework) - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - deplibs="$deplib $deplibs" - if test "$linkmode" = lib ; then - case "$new_inherited_linker_flags " in - *" $deplib "*) ;; - * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;; - esac - fi - fi - continue - ;; - -L*) - case $linkmode in - lib) - deplibs="$deplib $deplibs" - test "$pass" = conv && continue - newdependency_libs="$deplib $newdependency_libs" - func_stripname '-L' '' "$deplib" - newlib_search_path="$newlib_search_path $func_stripname_result" - ;; - prog) - if test "$pass" = conv; then - deplibs="$deplib $deplibs" - continue - fi - if test "$pass" = scan; then - deplibs="$deplib $deplibs" - else - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - fi - func_stripname '-L' '' "$deplib" - newlib_search_path="$newlib_search_path $func_stripname_result" - ;; - *) - func_warning "\`-L' is ignored for archives/objects" - ;; - esac # linkmode - continue - ;; # -L - -R*) - if test "$pass" = link; then - func_stripname '-R' '' "$deplib" - dir=$func_stripname_result - # Make sure the xrpath contains only unique directories. - case "$xrpath " in - *" $dir "*) ;; - *) xrpath="$xrpath $dir" ;; - esac - fi - deplibs="$deplib $deplibs" - continue - ;; - *.la) lib="$deplib" ;; - *.$libext) - if test "$pass" = conv; then - deplibs="$deplib $deplibs" - continue - fi - case $linkmode in - lib) - # Linking convenience modules into shared libraries is allowed, - # but linking other static libraries is non-portable. - case " $dlpreconveniencelibs " in - *" $deplib "*) ;; - *) - valid_a_lib=no - case $deplibs_check_method in - match_pattern*) - set dummy $deplibs_check_method; shift - match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` - if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \ - | $EGREP "$match_pattern_regex" > /dev/null; then - valid_a_lib=yes - fi - ;; - pass_all) - valid_a_lib=yes - ;; - esac - if test "$valid_a_lib" != yes; then - $ECHO - $ECHO "*** Warning: Trying to link with static lib archive $deplib." - $ECHO "*** I have the capability to make that library automatically link in when" - $ECHO "*** you link to this library. But I can only do this if you have a" - $ECHO "*** shared version of the library, which you do not appear to have" - $ECHO "*** because the file extensions .$libext of this argument makes me believe" - $ECHO "*** that it is just a static archive that I should not use here." - else - $ECHO - $ECHO "*** Warning: Linking the shared library $output against the" - $ECHO "*** static library $deplib is not portable!" - deplibs="$deplib $deplibs" - fi - ;; - esac - continue - ;; - prog) - if test "$pass" != link; then - deplibs="$deplib $deplibs" - else - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - fi - continue - ;; - esac # linkmode - ;; # *.$libext - *.lo | *.$objext) - if test "$pass" = conv; then - deplibs="$deplib $deplibs" - elif test "$linkmode" = prog; then - if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then - # If there is no dlopen support or we're linking statically, - # we need to preload. - newdlprefiles="$newdlprefiles $deplib" - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - newdlfiles="$newdlfiles $deplib" - fi - fi - continue - ;; - %DEPLIBS%) - alldeplibs=yes - continue - ;; - esac # case $deplib - - if test "$found" = yes || test -f "$lib"; then : - else - func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'" - fi - - # Check to see that this really is a libtool archive. - func_lalib_unsafe_p "$lib" \ - || func_fatal_error "\`$lib' is not a valid libtool archive" - - func_dirname "$lib" "" "." - ladir="$func_dirname_result" - - dlname= - dlopen= - dlpreopen= - libdir= - library_names= - old_library= - inherited_linker_flags= - # If the library was installed with an old release of libtool, - # it will not redefine variables installed, or shouldnotlink - installed=yes - shouldnotlink=no - avoidtemprpath= - - - # Read the .la file - func_source "$lib" - - # Convert "-framework foo" to "foo.ltframework" - if test -n "$inherited_linker_flags"; then - tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'` - for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do - case " $new_inherited_linker_flags " in - *" $tmp_inherited_linker_flag "*) ;; - *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";; - esac - done - fi - dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - if test "$linkmode,$pass" = "lib,link" || - test "$linkmode,$pass" = "prog,scan" || - { test "$linkmode" != prog && test "$linkmode" != lib; }; then - test -n "$dlopen" && dlfiles="$dlfiles $dlopen" - test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" - fi - - if test "$pass" = conv; then - # Only check for convenience libraries - deplibs="$lib $deplibs" - if test -z "$libdir"; then - if test -z "$old_library"; then - func_fatal_error "cannot find name of link library for \`$lib'" - fi - # It is a libtool convenience library, so add in its objects. - convenience="$convenience $ladir/$objdir/$old_library" - old_convenience="$old_convenience $ladir/$objdir/$old_library" - elif test "$linkmode" != prog && test "$linkmode" != lib; then - func_fatal_error "\`$lib' is not a convenience library" - fi - tmp_libs= - for deplib in $dependency_libs; do - deplibs="$deplib $deplibs" - if $opt_duplicate_deps ; then - case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - tmp_libs="$tmp_libs $deplib" - done - continue - fi # $pass = conv - - - # Get the name of the library we link against. - linklib= - for l in $old_library $library_names; do - linklib="$l" - done - if test -z "$linklib"; then - func_fatal_error "cannot find name of link library for \`$lib'" - fi - - # This library was specified with -dlopen. - if test "$pass" = dlopen; then - if test -z "$libdir"; then - func_fatal_error "cannot -dlopen a convenience library: \`$lib'" - fi - if test -z "$dlname" || - test "$dlopen_support" != yes || - test "$build_libtool_libs" = no; then - # If there is no dlname, no dlopen support or we're linking - # statically, we need to preload. We also need to preload any - # dependent libraries so libltdl's deplib preloader doesn't - # bomb out in the load deplibs phase. - dlprefiles="$dlprefiles $lib $dependency_libs" - else - newdlfiles="$newdlfiles $lib" - fi - continue - fi # $pass = dlopen - - # We need an absolute path. - case $ladir in - [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; - *) - abs_ladir=`cd "$ladir" && pwd` - if test -z "$abs_ladir"; then - func_warning "cannot determine absolute directory name of \`$ladir'" - func_warning "passing it literally to the linker, although it might fail" - abs_ladir="$ladir" - fi - ;; - esac - func_basename "$lib" - laname="$func_basename_result" - - # Find the relevant object directory and library name. - if test "X$installed" = Xyes; then - if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then - func_warning "library \`$lib' was moved." - dir="$ladir" - absdir="$abs_ladir" - libdir="$abs_ladir" - else - dir="$libdir" - absdir="$libdir" - fi - test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes - else - if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then - dir="$ladir" - absdir="$abs_ladir" - # Remove this search path later - notinst_path="$notinst_path $abs_ladir" - else - dir="$ladir/$objdir" - absdir="$abs_ladir/$objdir" - # Remove this search path later - notinst_path="$notinst_path $abs_ladir" - fi - fi # $installed = yes - func_stripname 'lib' '.la' "$laname" - name=$func_stripname_result - - # This library was specified with -dlpreopen. - if test "$pass" = dlpreopen; then - if test -z "$libdir" && test "$linkmode" = prog; then - func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'" - fi - # Prefer using a static library (so that no silly _DYNAMIC symbols - # are required to link). - if test -n "$old_library"; then - newdlprefiles="$newdlprefiles $dir/$old_library" - # Keep a list of preopened convenience libraries to check - # that they are being used correctly in the link pass. - test -z "$libdir" && \ - dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library" - # Otherwise, use the dlname, so that lt_dlopen finds it. - elif test -n "$dlname"; then - newdlprefiles="$newdlprefiles $dir/$dlname" - else - newdlprefiles="$newdlprefiles $dir/$linklib" - fi - fi # $pass = dlpreopen - - if test -z "$libdir"; then - # Link the convenience library - if test "$linkmode" = lib; then - deplibs="$dir/$old_library $deplibs" - elif test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$dir/$old_library $compile_deplibs" - finalize_deplibs="$dir/$old_library $finalize_deplibs" - else - deplibs="$lib $deplibs" # used for prog,scan pass - fi - continue - fi - - - if test "$linkmode" = prog && test "$pass" != link; then - newlib_search_path="$newlib_search_path $ladir" - deplibs="$lib $deplibs" - - linkalldeplibs=no - if test "$link_all_deplibs" != no || test -z "$library_names" || - test "$build_libtool_libs" = no; then - linkalldeplibs=yes - fi - - tmp_libs= - for deplib in $dependency_libs; do - case $deplib in - -L*) func_stripname '-L' '' "$deplib" - newlib_search_path="$newlib_search_path $func_stripname_result" - ;; - esac - # Need to link against all dependency_libs? - if test "$linkalldeplibs" = yes; then - deplibs="$deplib $deplibs" - else - # Need to hardcode shared library paths - # or/and link against static libraries - newdependency_libs="$deplib $newdependency_libs" - fi - if $opt_duplicate_deps ; then - case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - tmp_libs="$tmp_libs $deplib" - done # for deplib - continue - fi # $linkmode = prog... - - if test "$linkmode,$pass" = "prog,link"; then - if test -n "$library_names" && - { { test "$prefer_static_libs" = no || - test "$prefer_static_libs,$installed" = "built,yes"; } || - test -z "$old_library"; }; then - # We need to hardcode the library path - if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then - # Make sure the rpath contains only unique directories. - case "$temp_rpath:" in - *"$absdir:"*) ;; - *) temp_rpath="$temp_rpath$absdir:" ;; - esac - fi - - # Hardcode the library path. - # Skip directories that are in the system default run-time - # search path. - case " $sys_lib_dlsearch_path " in - *" $absdir "*) ;; - *) - case "$compile_rpath " in - *" $absdir "*) ;; - *) compile_rpath="$compile_rpath $absdir" - esac - ;; - esac - case " $sys_lib_dlsearch_path " in - *" $libdir "*) ;; - *) - case "$finalize_rpath " in - *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" - esac - ;; - esac - fi # $linkmode,$pass = prog,link... - - if test "$alldeplibs" = yes && - { test "$deplibs_check_method" = pass_all || - { test "$build_libtool_libs" = yes && - test -n "$library_names"; }; }; then - # We only need to search for static libraries - continue - fi - fi - - link_static=no # Whether the deplib will be linked statically - use_static_libs=$prefer_static_libs - if test "$use_static_libs" = built && test "$installed" = yes; then - use_static_libs=no - fi - if test -n "$library_names" && - { test "$use_static_libs" = no || test -z "$old_library"; }; then - case $host in - *cygwin* | *mingw* | *cegcc*) - # No point in relinking DLLs because paths are not encoded - notinst_deplibs="$notinst_deplibs $lib" - need_relink=no - ;; - *) - if test "$installed" = no; then - notinst_deplibs="$notinst_deplibs $lib" - need_relink=yes - fi - ;; - esac - # This is a shared library - - # Warn about portability, can't link against -module's on some - # systems (darwin). Don't bleat about dlopened modules though! - dlopenmodule="" - for dlpremoduletest in $dlprefiles; do - if test "X$dlpremoduletest" = "X$lib"; then - dlopenmodule="$dlpremoduletest" - break - fi - done - if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then - $ECHO - if test "$linkmode" = prog; then - $ECHO "*** Warning: Linking the executable $output against the loadable module" - else - $ECHO "*** Warning: Linking the shared library $output against the loadable module" - fi - $ECHO "*** $linklib is not portable!" - fi - if test "$linkmode" = lib && - test "$hardcode_into_libs" = yes; then - # Hardcode the library path. - # Skip directories that are in the system default run-time - # search path. - case " $sys_lib_dlsearch_path " in - *" $absdir "*) ;; - *) - case "$compile_rpath " in - *" $absdir "*) ;; - *) compile_rpath="$compile_rpath $absdir" - esac - ;; - esac - case " $sys_lib_dlsearch_path " in - *" $libdir "*) ;; - *) - case "$finalize_rpath " in - *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" - esac - ;; - esac - fi - - if test -n "$old_archive_from_expsyms_cmds"; then - # figure out the soname - set dummy $library_names - shift - realname="$1" - shift - libname=`eval "\\$ECHO \"$libname_spec\""` - # use dlname if we got it. it's perfectly good, no? - if test -n "$dlname"; then - soname="$dlname" - elif test -n "$soname_spec"; then - # bleh windows - case $host in - *cygwin* | mingw* | *cegcc*) - func_arith $current - $age - major=$func_arith_result - versuffix="-$major" - ;; - esac - eval soname=\"$soname_spec\" - else - soname="$realname" - fi - - # Make a new name for the extract_expsyms_cmds to use - soroot="$soname" - func_basename "$soroot" - soname="$func_basename_result" - func_stripname 'lib' '.dll' "$soname" - newlib=libimp-$func_stripname_result.a - - # If the library has no export list, then create one now - if test -f "$output_objdir/$soname-def"; then : - else - func_verbose "extracting exported symbol list from \`$soname'" - func_execute_cmds "$extract_expsyms_cmds" 'exit $?' - fi - - # Create $newlib - if test -f "$output_objdir/$newlib"; then :; else - func_verbose "generating import library for \`$soname'" - func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' - fi - # make sure the library variables are pointing to the new library - dir=$output_objdir - linklib=$newlib - fi # test -n "$old_archive_from_expsyms_cmds" - - if test "$linkmode" = prog || test "$mode" != relink; then - add_shlibpath= - add_dir= - add= - lib_linked=yes - case $hardcode_action in - immediate | unsupported) - if test "$hardcode_direct" = no; then - add="$dir/$linklib" - case $host in - *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; - *-*-sysv4*uw2*) add_dir="-L$dir" ;; - *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ - *-*-unixware7*) add_dir="-L$dir" ;; - *-*-darwin* ) - # if the lib is a (non-dlopened) module then we can not - # link against it, someone is ignoring the earlier warnings - if /usr/bin/file -L $add 2> /dev/null | - $GREP ": [^:]* bundle" >/dev/null ; then - if test "X$dlopenmodule" != "X$lib"; then - $ECHO "*** Warning: lib $linklib is a module, not a shared library" - if test -z "$old_library" ; then - $ECHO - $ECHO "*** And there doesn't seem to be a static archive available" - $ECHO "*** The link will probably fail, sorry" - else - add="$dir/$old_library" - fi - elif test -n "$old_library"; then - add="$dir/$old_library" - fi - fi - esac - elif test "$hardcode_minus_L" = no; then - case $host in - *-*-sunos*) add_shlibpath="$dir" ;; - esac - add_dir="-L$dir" - add="-l$name" - elif test "$hardcode_shlibpath_var" = no; then - add_shlibpath="$dir" - add="-l$name" - else - lib_linked=no - fi - ;; - relink) - if test "$hardcode_direct" = yes && - test "$hardcode_direct_absolute" = no; then - add="$dir/$linklib" - elif test "$hardcode_minus_L" = yes; then - add_dir="-L$dir" - # Try looking first in the location we're being installed to. - if test -n "$inst_prefix_dir"; then - case $libdir in - [\\/]*) - add_dir="$add_dir -L$inst_prefix_dir$libdir" - ;; - esac - fi - add="-l$name" - elif test "$hardcode_shlibpath_var" = yes; then - add_shlibpath="$dir" - add="-l$name" - else - lib_linked=no - fi - ;; - *) lib_linked=no ;; - esac - - if test "$lib_linked" != yes; then - func_fatal_configuration "unsupported hardcode properties" - fi - - if test -n "$add_shlibpath"; then - case :$compile_shlibpath: in - *":$add_shlibpath:"*) ;; - *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; - esac - fi - if test "$linkmode" = prog; then - test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" - test -n "$add" && compile_deplibs="$add $compile_deplibs" - else - test -n "$add_dir" && deplibs="$add_dir $deplibs" - test -n "$add" && deplibs="$add $deplibs" - if test "$hardcode_direct" != yes && - test "$hardcode_minus_L" != yes && - test "$hardcode_shlibpath_var" = yes; then - case :$finalize_shlibpath: in - *":$libdir:"*) ;; - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; - esac - fi - fi - fi - - if test "$linkmode" = prog || test "$mode" = relink; then - add_shlibpath= - add_dir= - add= - # Finalize command for both is simple: just hardcode it. - if test "$hardcode_direct" = yes && - test "$hardcode_direct_absolute" = no; then - add="$libdir/$linklib" - elif test "$hardcode_minus_L" = yes; then - add_dir="-L$libdir" - add="-l$name" - elif test "$hardcode_shlibpath_var" = yes; then - case :$finalize_shlibpath: in - *":$libdir:"*) ;; - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; - esac - add="-l$name" - elif test "$hardcode_automatic" = yes; then - if test -n "$inst_prefix_dir" && - test -f "$inst_prefix_dir$libdir/$linklib" ; then - add="$inst_prefix_dir$libdir/$linklib" - else - add="$libdir/$linklib" - fi - else - # We cannot seem to hardcode it, guess we'll fake it. - add_dir="-L$libdir" - # Try looking first in the location we're being installed to. - if test -n "$inst_prefix_dir"; then - case $libdir in - [\\/]*) - add_dir="$add_dir -L$inst_prefix_dir$libdir" - ;; - esac - fi - add="-l$name" - fi - - if test "$linkmode" = prog; then - test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" - test -n "$add" && finalize_deplibs="$add $finalize_deplibs" - else - test -n "$add_dir" && deplibs="$add_dir $deplibs" - test -n "$add" && deplibs="$add $deplibs" - fi - fi - elif test "$linkmode" = prog; then - # Here we assume that one of hardcode_direct or hardcode_minus_L - # is not unsupported. This is valid on all known static and - # shared platforms. - if test "$hardcode_direct" != unsupported; then - test -n "$old_library" && linklib="$old_library" - compile_deplibs="$dir/$linklib $compile_deplibs" - finalize_deplibs="$dir/$linklib $finalize_deplibs" - else - compile_deplibs="-l$name -L$dir $compile_deplibs" - finalize_deplibs="-l$name -L$dir $finalize_deplibs" - fi - elif test "$build_libtool_libs" = yes; then - # Not a shared library - if test "$deplibs_check_method" != pass_all; then - # We're trying link a shared library against a static one - # but the system doesn't support it. - - # Just print a warning and add the library to dependency_libs so - # that the program can be linked against the static library. - $ECHO - $ECHO "*** Warning: This system can not link to static lib archive $lib." - $ECHO "*** I have the capability to make that library automatically link in when" - $ECHO "*** you link to this library. But I can only do this if you have a" - $ECHO "*** shared version of the library, which you do not appear to have." - if test "$module" = yes; then - $ECHO "*** But as you try to build a module library, libtool will still create " - $ECHO "*** a static module, that should work as long as the dlopening application" - $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime." - if test -z "$global_symbol_pipe"; then - $ECHO - $ECHO "*** However, this would only work if libtool was able to extract symbol" - $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could" - $ECHO "*** not find such a program. So, this module is probably useless." - $ECHO "*** \`nm' from GNU binutils and a full rebuild may help." - fi - if test "$build_old_libs" = no; then - build_libtool_libs=module - build_old_libs=yes - else - build_libtool_libs=no - fi - fi - else - deplibs="$dir/$old_library $deplibs" - link_static=yes - fi - fi # link shared/static library? - - if test "$linkmode" = lib; then - if test -n "$dependency_libs" && - { test "$hardcode_into_libs" != yes || - test "$build_old_libs" = yes || - test "$link_static" = yes; }; then - # Extract -R from dependency_libs - temp_deplibs= - for libdir in $dependency_libs; do - case $libdir in - -R*) func_stripname '-R' '' "$libdir" - temp_xrpath=$func_stripname_result - case " $xrpath " in - *" $temp_xrpath "*) ;; - *) xrpath="$xrpath $temp_xrpath";; - esac;; - *) temp_deplibs="$temp_deplibs $libdir";; - esac - done - dependency_libs="$temp_deplibs" - fi - - newlib_search_path="$newlib_search_path $absdir" - # Link against this library - test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" - # ... and its dependency_libs - tmp_libs= - for deplib in $dependency_libs; do - newdependency_libs="$deplib $newdependency_libs" - if $opt_duplicate_deps ; then - case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - tmp_libs="$tmp_libs $deplib" - done - - if test "$link_all_deplibs" != no; then - # Add the search paths of all dependency libraries - for deplib in $dependency_libs; do - case $deplib in - -L*) path="$deplib" ;; - *.la) - func_dirname "$deplib" "" "." - dir="$func_dirname_result" - # We need an absolute path. - case $dir in - [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; - *) - absdir=`cd "$dir" && pwd` - if test -z "$absdir"; then - func_warning "cannot determine absolute directory name of \`$dir'" - absdir="$dir" - fi - ;; - esac - if $GREP "^installed=no" $deplib > /dev/null; then - case $host in - *-*-darwin*) - depdepl= - eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` - if test -n "$deplibrary_names" ; then - for tmp in $deplibrary_names ; do - depdepl=$tmp - done - if test -f "$absdir/$objdir/$depdepl" ; then - depdepl="$absdir/$objdir/$depdepl" - darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` - if test -z "$darwin_install_name"; then - darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` - fi - compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}" - linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}" - path= - fi - fi - ;; - *) - path="-L$absdir/$objdir" - ;; - esac - else - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` - test -z "$libdir" && \ - func_fatal_error "\`$deplib' is not a valid libtool archive" - test "$absdir" != "$libdir" && \ - func_warning "\`$deplib' seems to be moved" - - path="-L$absdir" - fi - ;; - esac - case " $deplibs " in - *" $path "*) ;; - *) deplibs="$path $deplibs" ;; - esac - done - fi # link_all_deplibs != no - fi # linkmode = lib - done # for deplib in $libs - if test "$pass" = link; then - if test "$linkmode" = "prog"; then - compile_deplibs="$new_inherited_linker_flags $compile_deplibs" - finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" - else - compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - fi - fi - dependency_libs="$newdependency_libs" - if test "$pass" = dlpreopen; then - # Link the dlpreopened libraries before other libraries - for deplib in $save_deplibs; do - deplibs="$deplib $deplibs" - done - fi - if test "$pass" != dlopen; then - if test "$pass" != conv; then - # Make sure lib_search_path contains only unique directories. - lib_search_path= - for dir in $newlib_search_path; do - case "$lib_search_path " in - *" $dir "*) ;; - *) lib_search_path="$lib_search_path $dir" ;; - esac - done - newlib_search_path= - fi - - if test "$linkmode,$pass" != "prog,link"; then - vars="deplibs" - else - vars="compile_deplibs finalize_deplibs" - fi - for var in $vars dependency_libs; do - # Add libraries to $var in reverse order - eval tmp_libs=\"\$$var\" - new_libs= - for deplib in $tmp_libs; do - # FIXME: Pedantically, this is the right thing to do, so - # that some nasty dependency loop isn't accidentally - # broken: - #new_libs="$deplib $new_libs" - # Pragmatically, this seems to cause very few problems in - # practice: - case $deplib in - -L*) new_libs="$deplib $new_libs" ;; - -R*) ;; - *) - # And here is the reason: when a library appears more - # than once as an explicit dependence of a library, or - # is implicitly linked in more than once by the - # compiler, it is considered special, and multiple - # occurrences thereof are not removed. Compare this - # with having the same library being listed as a - # dependency of multiple other libraries: in this case, - # we know (pedantically, we assume) the library does not - # need to be listed more than once, so we keep only the - # last copy. This is not always right, but it is rare - # enough that we require users that really mean to play - # such unportable linking tricks to link the library - # using -Wl,-lname, so that libtool does not consider it - # for duplicate removal. - case " $specialdeplibs " in - *" $deplib "*) new_libs="$deplib $new_libs" ;; - *) - case " $new_libs " in - *" $deplib "*) ;; - *) new_libs="$deplib $new_libs" ;; - esac - ;; - esac - ;; - esac - done - tmp_libs= - for deplib in $new_libs; do - case $deplib in - -L*) - case " $tmp_libs " in - *" $deplib "*) ;; - *) tmp_libs="$tmp_libs $deplib" ;; - esac - ;; - *) tmp_libs="$tmp_libs $deplib" ;; - esac - done - eval $var=\"$tmp_libs\" - done # for var - fi - # Last step: remove runtime libs from dependency_libs - # (they stay in deplibs) - tmp_libs= - for i in $dependency_libs ; do - case " $predeps $postdeps $compiler_lib_search_path " in - *" $i "*) - i="" - ;; - esac - if test -n "$i" ; then - tmp_libs="$tmp_libs $i" - fi - done - dependency_libs=$tmp_libs - done # for pass - if test "$linkmode" = prog; then - dlfiles="$newdlfiles" - fi - if test "$linkmode" = prog || test "$linkmode" = lib; then - dlprefiles="$newdlprefiles" - fi - - case $linkmode in - oldlib) - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then - func_warning "\`-dlopen' is ignored for archives" - fi - - case " $deplibs" in - *\ -l* | *\ -L*) - func_warning "\`-l' and \`-L' are ignored for archives" ;; - esac - - test -n "$rpath" && \ - func_warning "\`-rpath' is ignored for archives" - - test -n "$xrpath" && \ - func_warning "\`-R' is ignored for archives" - - test -n "$vinfo" && \ - func_warning "\`-version-info/-version-number' is ignored for archives" - - test -n "$release" && \ - func_warning "\`-release' is ignored for archives" - - test -n "$export_symbols$export_symbols_regex" && \ - func_warning "\`-export-symbols' is ignored for archives" - - # Now set the variables for building old libraries. - build_libtool_libs=no - oldlibs="$output" - objs="$objs$old_deplibs" - ;; - - lib) - # Make sure we only generate libraries of the form `libNAME.la'. - case $outputname in - lib*) - func_stripname 'lib' '.la' "$outputname" - name=$func_stripname_result - eval shared_ext=\"$shrext_cmds\" - eval libname=\"$libname_spec\" - ;; - *) - test "$module" = no && \ - func_fatal_help "libtool library \`$output' must begin with \`lib'" - - if test "$need_lib_prefix" != no; then - # Add the "lib" prefix for modules if required - func_stripname '' '.la' "$outputname" - name=$func_stripname_result - eval shared_ext=\"$shrext_cmds\" - eval libname=\"$libname_spec\" - else - func_stripname '' '.la' "$outputname" - libname=$func_stripname_result - fi - ;; - esac - - if test -n "$objs"; then - if test "$deplibs_check_method" != pass_all; then - func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" - else - $ECHO - $ECHO "*** Warning: Linking the shared library $output against the non-libtool" - $ECHO "*** objects $objs is not portable!" - libobjs="$libobjs $objs" - fi - fi - - test "$dlself" != no && \ - func_warning "\`-dlopen self' is ignored for libtool libraries" - - set dummy $rpath - shift - test "$#" -gt 1 && \ - func_warning "ignoring multiple \`-rpath's for a libtool library" - - install_libdir="$1" - - oldlibs= - if test -z "$rpath"; then - if test "$build_libtool_libs" = yes; then - # Building a libtool convenience library. - # Some compilers have problems with a `.al' extension so - # convenience libraries should have the same extension an - # archive normally would. - oldlibs="$output_objdir/$libname.$libext $oldlibs" - build_libtool_libs=convenience - build_old_libs=yes - fi - - test -n "$vinfo" && \ - func_warning "\`-version-info/-version-number' is ignored for convenience libraries" - - test -n "$release" && \ - func_warning "\`-release' is ignored for convenience libraries" - else - - # Parse the version information argument. - save_ifs="$IFS"; IFS=':' - set dummy $vinfo 0 0 0 - shift - IFS="$save_ifs" - - test -n "$7" && \ - func_fatal_help "too many parameters to \`-version-info'" - - # convert absolute version numbers to libtool ages - # this retains compatibility with .la files and attempts - # to make the code below a bit more comprehensible - - case $vinfo_number in - yes) - number_major="$1" - number_minor="$2" - number_revision="$3" - # - # There are really only two kinds -- those that - # use the current revision as the major version - # and those that subtract age and use age as - # a minor version. But, then there is irix - # which has an extra 1 added just for fun - # - case $version_type in - darwin|linux|osf|windows|none) - func_arith $number_major + $number_minor - current=$func_arith_result - age="$number_minor" - revision="$number_revision" - ;; - freebsd-aout|freebsd-elf|sunos) - current="$number_major" - revision="$number_minor" - age="0" - ;; - irix|nonstopux) - func_arith $number_major + $number_minor - current=$func_arith_result - age="$number_minor" - revision="$number_minor" - lt_irix_increment=no - ;; - esac - ;; - no) - current="$1" - revision="$2" - age="$3" - ;; - esac - - # Check that each of the things are valid numbers. - case $current in - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; - *) - func_error "CURRENT \`$current' must be a nonnegative integer" - func_fatal_error "\`$vinfo' is not valid version information" - ;; - esac - - case $revision in - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; - *) - func_error "REVISION \`$revision' must be a nonnegative integer" - func_fatal_error "\`$vinfo' is not valid version information" - ;; - esac - - case $age in - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; - *) - func_error "AGE \`$age' must be a nonnegative integer" - func_fatal_error "\`$vinfo' is not valid version information" - ;; - esac - - if test "$age" -gt "$current"; then - func_error "AGE \`$age' is greater than the current interface number \`$current'" - func_fatal_error "\`$vinfo' is not valid version information" - fi - - # Calculate the version variables. - major= - versuffix= - verstring= - case $version_type in - none) ;; - - darwin) - # Like Linux, but with the current version available in - # verstring for coding it into the library header - func_arith $current - $age - major=.$func_arith_result - versuffix="$major.$age.$revision" - # Darwin ld doesn't like 0 for these options... - func_arith $current + 1 - minor_current=$func_arith_result - xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" - verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" - ;; - - freebsd-aout) - major=".$current" - versuffix=".$current.$revision"; - ;; - - freebsd-elf) - major=".$current" - versuffix=".$current" - ;; - - irix | nonstopux) - if test "X$lt_irix_increment" = "Xno"; then - func_arith $current - $age - else - func_arith $current - $age + 1 - fi - major=$func_arith_result - - case $version_type in - nonstopux) verstring_prefix=nonstopux ;; - *) verstring_prefix=sgi ;; - esac - verstring="$verstring_prefix$major.$revision" - - # Add in all the interfaces that we are compatible with. - loop=$revision - while test "$loop" -ne 0; do - func_arith $revision - $loop - iface=$func_arith_result - func_arith $loop - 1 - loop=$func_arith_result - verstring="$verstring_prefix$major.$iface:$verstring" - done - - # Before this point, $major must not contain `.'. - major=.$major - versuffix="$major.$revision" - ;; - - linux) - func_arith $current - $age - major=.$func_arith_result - versuffix="$major.$age.$revision" - ;; - - osf) - func_arith $current - $age - major=.$func_arith_result - versuffix=".$current.$age.$revision" - verstring="$current.$age.$revision" - - # Add in all the interfaces that we are compatible with. - loop=$age - while test "$loop" -ne 0; do - func_arith $current - $loop - iface=$func_arith_result - func_arith $loop - 1 - loop=$func_arith_result - verstring="$verstring:${iface}.0" - done - - # Make executables depend on our current version. - verstring="$verstring:${current}.0" - ;; - - qnx) - major=".$current" - versuffix=".$current" - ;; - - sunos) - major=".$current" - versuffix=".$current.$revision" - ;; - - windows) - # Use '-' rather than '.', since we only want one - # extension on DOS 8.3 filesystems. - func_arith $current - $age - major=$func_arith_result - versuffix="-$major" - ;; - - *) - func_fatal_configuration "unknown library version type \`$version_type'" - ;; - esac - - # Clear the version info if we defaulted, and they specified a release. - if test -z "$vinfo" && test -n "$release"; then - major= - case $version_type in - darwin) - # we can't check for "0.0" in archive_cmds due to quoting - # problems, so we reset it completely - verstring= - ;; - *) - verstring="0.0" - ;; - esac - if test "$need_version" = no; then - versuffix= - else - versuffix=".0.0" - fi - fi - - # Remove version info from name if versioning should be avoided - if test "$avoid_version" = yes && test "$need_version" = no; then - major= - versuffix= - verstring="" - fi - - # Check to see if the archive will have undefined symbols. - if test "$allow_undefined" = yes; then - if test "$allow_undefined_flag" = unsupported; then - func_warning "undefined symbols not allowed in $host shared libraries" - build_libtool_libs=no - build_old_libs=yes - fi - else - # Don't allow undefined symbols. - allow_undefined_flag="$no_undefined_flag" - fi - - fi - - func_generate_dlsyms "$libname" "$libname" "yes" - libobjs="$libobjs $symfileobj" - test "X$libobjs" = "X " && libobjs= - - if test "$mode" != relink; then - # Remove our outputs, but don't remove object files since they - # may have been created when compiling PIC objects. - removelist= - tempremovelist=`$ECHO "$output_objdir/*"` - for p in $tempremovelist; do - case $p in - *.$objext | *.gcno) - ;; - $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) - if test "X$precious_files_regex" != "X"; then - if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 - then - continue - fi - fi - removelist="$removelist $p" - ;; - *) ;; - esac - done - test -n "$removelist" && \ - func_show_eval "${RM}r \$removelist" - fi - - # Now set the variables for building old libraries. - if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then - oldlibs="$oldlibs $output_objdir/$libname.$libext" - - # Transform .lo files to .o files. - oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` - fi - - # Eliminate all temporary directories. - #for path in $notinst_path; do - # lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"` - # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"` - # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"` - #done - - if test -n "$xrpath"; then - # If the user specified any rpath flags, then add them. - temp_xrpath= - for libdir in $xrpath; do - temp_xrpath="$temp_xrpath -R$libdir" - case "$finalize_rpath " in - *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" ;; - esac - done - if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then - dependency_libs="$temp_xrpath $dependency_libs" - fi - fi - - # Make sure dlfiles contains only unique files that won't be dlpreopened - old_dlfiles="$dlfiles" - dlfiles= - for lib in $old_dlfiles; do - case " $dlprefiles $dlfiles " in - *" $lib "*) ;; - *) dlfiles="$dlfiles $lib" ;; - esac - done - - # Make sure dlprefiles contains only unique files - old_dlprefiles="$dlprefiles" - dlprefiles= - for lib in $old_dlprefiles; do - case "$dlprefiles " in - *" $lib "*) ;; - *) dlprefiles="$dlprefiles $lib" ;; - esac - done - - if test "$build_libtool_libs" = yes; then - if test -n "$rpath"; then - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*) - # these systems don't actually have a c library (as such)! - ;; - *-*-rhapsody* | *-*-darwin1.[012]) - # Rhapsody C library is in the System framework - deplibs="$deplibs System.ltframework" - ;; - *-*-netbsd*) - # Don't link with libc until the a.out ld.so is fixed. - ;; - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) - # Do not include libc due to us having libc/libc_r. - ;; - *-*-sco3.2v5* | *-*-sco5v6*) - # Causes problems with __ctype - ;; - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) - # Compiler inserts libc in the correct place for threads to work - ;; - *) - # Add libc to deplibs on all other systems if necessary. - if test "$build_libtool_need_lc" = "yes"; then - deplibs="$deplibs -lc" - fi - ;; - esac - fi - - # Transform deplibs into only deplibs that can be linked in shared. - name_save=$name - libname_save=$libname - release_save=$release - versuffix_save=$versuffix - major_save=$major - # I'm not sure if I'm treating the release correctly. I think - # release should show up in the -l (ie -lgmp5) so we don't want to - # add it in twice. Is that correct? - release="" - versuffix="" - major="" - newdeplibs= - droppeddeps=no - case $deplibs_check_method in - pass_all) - # Don't check for shared/static. Everything works. - # This might be a little naive. We might want to check - # whether the library exists or not. But this is on - # osf3 & osf4 and I'm not really sure... Just - # implementing what was already the behavior. - newdeplibs=$deplibs - ;; - test_compile) - # This code stresses the "libraries are programs" paradigm to its - # limits. Maybe even breaks it. We compile a program, linking it - # against the deplibs as a proxy for the library. Then we can check - # whether they linked in statically or dynamically with ldd. - $opt_dry_run || $RM conftest.c - cat > conftest.c </dev/null` - for potent_lib in $potential_libs; do - # Follow soft links. - if ls -lLd "$potent_lib" 2>/dev/null | - $GREP " -> " >/dev/null; then - continue - fi - # The statement above tries to avoid entering an - # endless loop below, in case of cyclic links. - # We might still enter an endless loop, since a link - # loop can be closed while we follow links, - # but so what? - potlib="$potent_lib" - while test -h "$potlib" 2>/dev/null; do - potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` - case $potliblink in - [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; - *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; - esac - done - if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | - $SED -e 10q | - $EGREP "$file_magic_regex" > /dev/null; then - newdeplibs="$newdeplibs $a_deplib" - a_deplib="" - break 2 - fi - done - done - fi - if test -n "$a_deplib" ; then - droppeddeps=yes - $ECHO - $ECHO "*** Warning: linker path does not have real file for library $a_deplib." - $ECHO "*** I have the capability to make that library automatically link in when" - $ECHO "*** you link to this library. But I can only do this if you have a" - $ECHO "*** shared version of the library, which you do not appear to have" - $ECHO "*** because I did check the linker path looking for a file starting" - if test -z "$potlib" ; then - $ECHO "*** with $libname but no candidates were found. (...for file magic test)" - else - $ECHO "*** with $libname and none of the candidates passed a file format test" - $ECHO "*** using a file magic. Last file checked: $potlib" - fi - fi - ;; - *) - # Add a -L argument. - newdeplibs="$newdeplibs $a_deplib" - ;; - esac - done # Gone through all deplibs. - ;; - match_pattern*) - set dummy $deplibs_check_method; shift - match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` - for a_deplib in $deplibs; do - case $a_deplib in - -l*) - func_stripname -l '' "$a_deplib" - name=$func_stripname_result - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then - case " $predeps $postdeps " in - *" $a_deplib "*) - newdeplibs="$newdeplibs $a_deplib" - a_deplib="" - ;; - esac - fi - if test -n "$a_deplib" ; then - libname=`eval "\\$ECHO \"$libname_spec\""` - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do - potential_libs=`ls $i/$libname[.-]* 2>/dev/null` - for potent_lib in $potential_libs; do - potlib="$potent_lib" # see symlink-check above in file_magic test - if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \ - $EGREP "$match_pattern_regex" > /dev/null; then - newdeplibs="$newdeplibs $a_deplib" - a_deplib="" - break 2 - fi - done - done - fi - if test -n "$a_deplib" ; then - droppeddeps=yes - $ECHO - $ECHO "*** Warning: linker path does not have real file for library $a_deplib." - $ECHO "*** I have the capability to make that library automatically link in when" - $ECHO "*** you link to this library. But I can only do this if you have a" - $ECHO "*** shared version of the library, which you do not appear to have" - $ECHO "*** because I did check the linker path looking for a file starting" - if test -z "$potlib" ; then - $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" - else - $ECHO "*** with $libname and none of the candidates passed a file format test" - $ECHO "*** using a regex pattern. Last file checked: $potlib" - fi - fi - ;; - *) - # Add a -L argument. - newdeplibs="$newdeplibs $a_deplib" - ;; - esac - done # Gone through all deplibs. - ;; - none | unknown | *) - newdeplibs="" - tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \ - -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'` - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then - for i in $predeps $postdeps ; do - # can't use Xsed below, because $i might contain '/' - tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"` - done - fi - if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' | - $GREP . >/dev/null; then - $ECHO - if test "X$deplibs_check_method" = "Xnone"; then - $ECHO "*** Warning: inter-library dependencies are not supported in this platform." - else - $ECHO "*** Warning: inter-library dependencies are not known to be supported." - fi - $ECHO "*** All declared inter-library dependencies are being dropped." - droppeddeps=yes - fi - ;; - esac - versuffix=$versuffix_save - major=$major_save - release=$release_save - libname=$libname_save - name=$name_save - - case $host in - *-*-rhapsody* | *-*-darwin1.[012]) - # On Rhapsody replace the C library with the System framework - newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'` - ;; - esac - - if test "$droppeddeps" = yes; then - if test "$module" = yes; then - $ECHO - $ECHO "*** Warning: libtool could not satisfy all declared inter-library" - $ECHO "*** dependencies of module $libname. Therefore, libtool will create" - $ECHO "*** a static module, that should work as long as the dlopening" - $ECHO "*** application is linked with the -dlopen flag." - if test -z "$global_symbol_pipe"; then - $ECHO - $ECHO "*** However, this would only work if libtool was able to extract symbol" - $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could" - $ECHO "*** not find such a program. So, this module is probably useless." - $ECHO "*** \`nm' from GNU binutils and a full rebuild may help." - fi - if test "$build_old_libs" = no; then - oldlibs="$output_objdir/$libname.$libext" - build_libtool_libs=module - build_old_libs=yes - else - build_libtool_libs=no - fi - else - $ECHO "*** The inter-library dependencies that have been dropped here will be" - $ECHO "*** automatically added whenever a program is linked with this library" - $ECHO "*** or is declared to -dlopen it." - - if test "$allow_undefined" = no; then - $ECHO - $ECHO "*** Since this library must not contain undefined symbols," - $ECHO "*** because either the platform does not support them or" - $ECHO "*** it was explicitly requested with -no-undefined," - $ECHO "*** libtool will only create a static version of it." - if test "$build_old_libs" = no; then - oldlibs="$output_objdir/$libname.$libext" - build_libtool_libs=module - build_old_libs=yes - else - build_libtool_libs=no - fi - fi - fi - fi - # Done checking deplibs! - deplibs=$newdeplibs - fi - # Time to change all our "foo.ltframework" stuff back to "-framework foo" - case $host in - *-*-darwin*) - newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - ;; - esac - - # move library search paths that coincide with paths to not yet - # installed libraries to the beginning of the library search list - new_libs= - for path in $notinst_path; do - case " $new_libs " in - *" -L$path/$objdir "*) ;; - *) - case " $deplibs " in - *" -L$path/$objdir "*) - new_libs="$new_libs -L$path/$objdir" ;; - esac - ;; - esac - done - for deplib in $deplibs; do - case $deplib in - -L*) - case " $new_libs " in - *" $deplib "*) ;; - *) new_libs="$new_libs $deplib" ;; - esac - ;; - *) new_libs="$new_libs $deplib" ;; - esac - done - deplibs="$new_libs" - - # All the library-specific variables (install_libdir is set above). - library_names= - old_library= - dlname= - - # Test again, we may have decided not to build it any more - if test "$build_libtool_libs" = yes; then - if test "$hardcode_into_libs" = yes; then - # Hardcode the library paths - hardcode_libdirs= - dep_rpath= - rpath="$finalize_rpath" - test "$mode" != relink && rpath="$compile_rpath$rpath" - for libdir in $rpath; do - if test -n "$hardcode_libdir_flag_spec"; then - if test -n "$hardcode_libdir_separator"; then - if test -z "$hardcode_libdirs"; then - hardcode_libdirs="$libdir" - else - # Just accumulate the unique libdirs. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) - ;; - *) - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" - ;; - esac - fi - else - eval flag=\"$hardcode_libdir_flag_spec\" - dep_rpath="$dep_rpath $flag" - fi - elif test -n "$runpath_var"; then - case "$perm_rpath " in - *" $libdir "*) ;; - *) perm_rpath="$perm_rpath $libdir" ;; - esac - fi - done - # Substitute the hardcoded libdirs into the rpath. - if test -n "$hardcode_libdir_separator" && - test -n "$hardcode_libdirs"; then - libdir="$hardcode_libdirs" - if test -n "$hardcode_libdir_flag_spec_ld"; then - eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" - else - eval dep_rpath=\"$hardcode_libdir_flag_spec\" - fi - fi - if test -n "$runpath_var" && test -n "$perm_rpath"; then - # We should set the runpath_var. - rpath= - for dir in $perm_rpath; do - rpath="$rpath$dir:" - done - eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" - fi - test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" - fi - - shlibpath="$finalize_shlibpath" - test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" - if test -n "$shlibpath"; then - eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" - fi - - # Get the real and link names of the library. - eval shared_ext=\"$shrext_cmds\" - eval library_names=\"$library_names_spec\" - set dummy $library_names - shift - realname="$1" - shift - - if test -n "$soname_spec"; then - eval soname=\"$soname_spec\" - else - soname="$realname" - fi - if test -z "$dlname"; then - dlname=$soname - fi - - lib="$output_objdir/$realname" - linknames= - for link - do - linknames="$linknames $link" - done - - # Use standard objects if they are pic - test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - test "X$libobjs" = "X " && libobjs= - - delfiles= - if test -n "$export_symbols" && test -n "$include_expsyms"; then - $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" - export_symbols="$output_objdir/$libname.uexp" - delfiles="$delfiles $export_symbols" - fi - - orig_export_symbols= - case $host_os in - cygwin* | mingw* | cegcc*) - if test -n "$export_symbols" && test -z "$export_symbols_regex"; then - # exporting using user supplied symfile - if test "x`$SED 1q $export_symbols`" != xEXPORTS; then - # and it's NOT already a .def file. Must figure out - # which of the given symbols are data symbols and tag - # them as such. So, trigger use of export_symbols_cmds. - # export_symbols gets reassigned inside the "prepare - # the list of exported symbols" if statement, so the - # include_expsyms logic still works. - orig_export_symbols="$export_symbols" - export_symbols= - always_export_symbols=yes - fi - fi - ;; - esac - - # Prepare the list of exported symbols - if test -z "$export_symbols"; then - if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then - func_verbose "generating symbol list for \`$libname.la'" - export_symbols="$output_objdir/$libname.exp" - $opt_dry_run || $RM $export_symbols - cmds=$export_symbols_cmds - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - func_len " $cmd" - len=$func_len_result - if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then - func_show_eval "$cmd" 'exit $?' - skipped_export=false - else - # The command line is too long to execute in one step. - func_verbose "using reloadable object file for export list..." - skipped_export=: - # Break out early, otherwise skipped_export may be - # set to false by a later but shorter cmd. - break - fi - done - IFS="$save_ifs" - if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then - func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' - func_show_eval '$MV "${export_symbols}T" "$export_symbols"' - fi - fi - fi - - if test -n "$export_symbols" && test -n "$include_expsyms"; then - tmp_export_symbols="$export_symbols" - test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" - $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"' - fi - - if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then - # The given exports_symbols file has to be filtered, so filter it. - func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" - # FIXME: $output_objdir/$libname.filter potentially contains lots of - # 's' commands which not all seds can handle. GNU sed should be fine - # though. Also, the filter scales superlinearly with the number of - # global variables. join(1) would be nice here, but unfortunately - # isn't a blessed tool. - $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter - delfiles="$delfiles $export_symbols $output_objdir/$libname.filter" - export_symbols=$output_objdir/$libname.def - $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols - fi - - tmp_deplibs= - for test_deplib in $deplibs; do - case " $convenience " in - *" $test_deplib "*) ;; - *) - tmp_deplibs="$tmp_deplibs $test_deplib" - ;; - esac - done - deplibs="$tmp_deplibs" - - if test -n "$convenience"; then - if test -n "$whole_archive_flag_spec" && - test "$compiler_needs_object" = yes && - test -z "$libobjs"; then - # extract the archives, so we have objects to list. - # TODO: could optimize this to just extract one archive. - whole_archive_flag_spec= - fi - if test -n "$whole_archive_flag_spec"; then - save_libobjs=$libobjs - eval libobjs=\"\$libobjs $whole_archive_flag_spec\" - test "X$libobjs" = "X " && libobjs= - else - gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" - - func_extract_archives $gentop $convenience - libobjs="$libobjs $func_extract_archives_result" - test "X$libobjs" = "X " && libobjs= - fi - fi - - if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then - eval flag=\"$thread_safe_flag_spec\" - linker_flags="$linker_flags $flag" - fi - - # Make a backup of the uninstalled library when relinking - if test "$mode" = relink; then - $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? - fi - - # Do each of the archive commands. - if test "$module" = yes && test -n "$module_cmds" ; then - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then - eval test_cmds=\"$module_expsym_cmds\" - cmds=$module_expsym_cmds - else - eval test_cmds=\"$module_cmds\" - cmds=$module_cmds - fi - else - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then - eval test_cmds=\"$archive_expsym_cmds\" - cmds=$archive_expsym_cmds - else - eval test_cmds=\"$archive_cmds\" - cmds=$archive_cmds - fi - fi - - if test "X$skipped_export" != "X:" && - func_len " $test_cmds" && - len=$func_len_result && - test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then - : - else - # The command line is too long to link in one step, link piecewise - # or, if using GNU ld and skipped_export is not :, use a linker - # script. - - # Save the value of $output and $libobjs because we want to - # use them later. If we have whole_archive_flag_spec, we - # want to use save_libobjs as it was before - # whole_archive_flag_spec was expanded, because we can't - # assume the linker understands whole_archive_flag_spec. - # This may have to be revisited, in case too many - # convenience libraries get linked in and end up exceeding - # the spec. - if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then - save_libobjs=$libobjs - fi - save_output=$output - output_la=`$ECHO "X$output" | $Xsed -e "$basename"` - - # Clear the reloadable object creation command queue and - # initialize k to one. - test_cmds= - concat_cmds= - objlist= - last_robj= - k=1 - - if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then - output=${output_objdir}/${output_la}.lnkscript - func_verbose "creating GNU ld script: $output" - $ECHO 'INPUT (' > $output - for obj in $save_libobjs - do - $ECHO "$obj" >> $output - done - $ECHO ')' >> $output - delfiles="$delfiles $output" - elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then - output=${output_objdir}/${output_la}.lnk - func_verbose "creating linker input file list: $output" - : > $output - set x $save_libobjs - shift - firstobj= - if test "$compiler_needs_object" = yes; then - firstobj="$1 " - shift - fi - for obj - do - $ECHO "$obj" >> $output - done - delfiles="$delfiles $output" - output=$firstobj\"$file_list_spec$output\" - else - if test -n "$save_libobjs"; then - func_verbose "creating reloadable object files..." - output=$output_objdir/$output_la-${k}.$objext - eval test_cmds=\"$reload_cmds\" - func_len " $test_cmds" - len0=$func_len_result - len=$len0 - - # Loop over the list of objects to be linked. - for obj in $save_libobjs - do - func_len " $obj" - func_arith $len + $func_len_result - len=$func_arith_result - if test "X$objlist" = X || - test "$len" -lt "$max_cmd_len"; then - func_append objlist " $obj" - else - # The command $test_cmds is almost too long, add a - # command to the queue. - if test "$k" -eq 1 ; then - # The first file doesn't have a previous command to add. - eval concat_cmds=\"$reload_cmds $objlist $last_robj\" - else - # All subsequent reloadable object files will link in - # the last one created. - eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\" - fi - last_robj=$output_objdir/$output_la-${k}.$objext - func_arith $k + 1 - k=$func_arith_result - output=$output_objdir/$output_la-${k}.$objext - objlist=$obj - func_len " $last_robj" - func_arith $len0 + $func_len_result - len=$func_arith_result - fi - done - # Handle the remaining objects by creating one last - # reloadable object file. All subsequent reloadable object - # files will link in the last one created. - test -z "$concat_cmds" || concat_cmds=$concat_cmds~ - eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" - if test -n "$last_robj"; then - eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\" - fi - delfiles="$delfiles $output" - - else - output= - fi - - if ${skipped_export-false}; then - func_verbose "generating symbol list for \`$libname.la'" - export_symbols="$output_objdir/$libname.exp" - $opt_dry_run || $RM $export_symbols - libobjs=$output - # Append the command to create the export file. - test -z "$concat_cmds" || concat_cmds=$concat_cmds~ - eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" - if test -n "$last_robj"; then - eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" - fi - fi - - test -n "$save_libobjs" && - func_verbose "creating a temporary reloadable object file: $output" - - # Loop through the commands generated above and execute them. - save_ifs="$IFS"; IFS='~' - for cmd in $concat_cmds; do - IFS="$save_ifs" - $opt_silent || { - func_quote_for_expand "$cmd" - eval "func_echo $func_quote_for_expand_result" - } - $opt_dry_run || eval "$cmd" || { - lt_exit=$? - - # Restore the uninstalled library and exit - if test "$mode" = relink; then - ( cd "$output_objdir" && \ - $RM "${realname}T" && \ - $MV "${realname}U" "$realname" ) - fi - - exit $lt_exit - } - done - IFS="$save_ifs" - - if test -n "$export_symbols_regex" && ${skipped_export-false}; then - func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' - func_show_eval '$MV "${export_symbols}T" "$export_symbols"' - fi - fi - - if ${skipped_export-false}; then - if test -n "$export_symbols" && test -n "$include_expsyms"; then - tmp_export_symbols="$export_symbols" - test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" - $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"' - fi - - if test -n "$orig_export_symbols"; then - # The given exports_symbols file has to be filtered, so filter it. - func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" - # FIXME: $output_objdir/$libname.filter potentially contains lots of - # 's' commands which not all seds can handle. GNU sed should be fine - # though. Also, the filter scales superlinearly with the number of - # global variables. join(1) would be nice here, but unfortunately - # isn't a blessed tool. - $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter - delfiles="$delfiles $export_symbols $output_objdir/$libname.filter" - export_symbols=$output_objdir/$libname.def - $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols - fi - fi - - libobjs=$output - # Restore the value of output. - output=$save_output - - if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then - eval libobjs=\"\$libobjs $whole_archive_flag_spec\" - test "X$libobjs" = "X " && libobjs= - fi - # Expand the library linking commands again to reset the - # value of $libobjs for piecewise linking. - - # Do each of the archive commands. - if test "$module" = yes && test -n "$module_cmds" ; then - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then - cmds=$module_expsym_cmds - else - cmds=$module_cmds - fi - else - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then - cmds=$archive_expsym_cmds - else - cmds=$archive_cmds - fi - fi - fi - - if test -n "$delfiles"; then - # Append the command to remove temporary files to $cmds. - eval cmds=\"\$cmds~\$RM $delfiles\" - fi - - # Add any objects from preloaded convenience libraries - if test -n "$dlprefiles"; then - gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" - - func_extract_archives $gentop $dlprefiles - libobjs="$libobjs $func_extract_archives_result" - test "X$libobjs" = "X " && libobjs= - fi - - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $opt_silent || { - func_quote_for_expand "$cmd" - eval "func_echo $func_quote_for_expand_result" - } - $opt_dry_run || eval "$cmd" || { - lt_exit=$? - - # Restore the uninstalled library and exit - if test "$mode" = relink; then - ( cd "$output_objdir" && \ - $RM "${realname}T" && \ - $MV "${realname}U" "$realname" ) - fi - - exit $lt_exit - } - done - IFS="$save_ifs" - - # Restore the uninstalled library and exit - if test "$mode" = relink; then - $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? - - if test -n "$convenience"; then - if test -z "$whole_archive_flag_spec"; then - func_show_eval '${RM}r "$gentop"' - fi - fi - - exit $EXIT_SUCCESS - fi - - # Create links to the real library. - for linkname in $linknames; do - if test "$realname" != "$linkname"; then - func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' - fi - done - - # If -module or -export-dynamic was specified, set the dlname. - if test "$module" = yes || test "$export_dynamic" = yes; then - # On all known operating systems, these are identical. - dlname="$soname" - fi - fi - ;; - - obj) - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then - func_warning "\`-dlopen' is ignored for objects" - fi - - case " $deplibs" in - *\ -l* | *\ -L*) - func_warning "\`-l' and \`-L' are ignored for objects" ;; - esac - - test -n "$rpath" && \ - func_warning "\`-rpath' is ignored for objects" - - test -n "$xrpath" && \ - func_warning "\`-R' is ignored for objects" - - test -n "$vinfo" && \ - func_warning "\`-version-info' is ignored for objects" - - test -n "$release" && \ - func_warning "\`-release' is ignored for objects" - - case $output in - *.lo) - test -n "$objs$old_deplibs" && \ - func_fatal_error "cannot build library object \`$output' from non-libtool objects" - - libobj=$output - func_lo2o "$libobj" - obj=$func_lo2o_result - ;; - *) - libobj= - obj="$output" - ;; - esac - - # Delete the old objects. - $opt_dry_run || $RM $obj $libobj - - # Objects from convenience libraries. This assumes - # single-version convenience libraries. Whenever we create - # different ones for PIC/non-PIC, this we'll have to duplicate - # the extraction. - reload_conv_objs= - gentop= - # reload_cmds runs $LD directly, so let us get rid of - # -Wl from whole_archive_flag_spec and hope we can get by with - # turning comma into space.. - wl= - - if test -n "$convenience"; then - if test -n "$whole_archive_flag_spec"; then - eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" - reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'` - else - gentop="$output_objdir/${obj}x" - generated="$generated $gentop" - - func_extract_archives $gentop $convenience - reload_conv_objs="$reload_objs $func_extract_archives_result" - fi - fi - - # Create the old-style object. - reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test - - output="$obj" - func_execute_cmds "$reload_cmds" 'exit $?' - - # Exit if we aren't doing a library object file. - if test -z "$libobj"; then - if test -n "$gentop"; then - func_show_eval '${RM}r "$gentop"' - fi - - exit $EXIT_SUCCESS - fi - - if test "$build_libtool_libs" != yes; then - if test -n "$gentop"; then - func_show_eval '${RM}r "$gentop"' - fi - - # Create an invalid libtool object if no PIC, so that we don't - # accidentally link it into a program. - # $show "echo timestamp > $libobj" - # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? - exit $EXIT_SUCCESS - fi - - if test -n "$pic_flag" || test "$pic_mode" != default; then - # Only do commands if we really have different PIC objects. - reload_objs="$libobjs $reload_conv_objs" - output="$libobj" - func_execute_cmds "$reload_cmds" 'exit $?' - fi - - if test -n "$gentop"; then - func_show_eval '${RM}r "$gentop"' - fi - - exit $EXIT_SUCCESS - ;; - - prog) - case $host in - *cygwin*) func_stripname '' '.exe' "$output" - output=$func_stripname_result.exe;; - esac - test -n "$vinfo" && \ - func_warning "\`-version-info' is ignored for programs" - - test -n "$release" && \ - func_warning "\`-release' is ignored for programs" - - test "$preload" = yes \ - && test "$dlopen_support" = unknown \ - && test "$dlopen_self" = unknown \ - && test "$dlopen_self_static" = unknown && \ - func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support." - - case $host in - *-*-rhapsody* | *-*-darwin1.[012]) - # On Rhapsody replace the C library is the System framework - compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'` - finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'` - ;; - esac - - case $host in - *-*-darwin*) - # Don't allow lazy linking, it breaks C++ global constructors - # But is supposedly fixed on 10.4 or later (yay!). - if test "$tagname" = CXX ; then - case ${MACOSX_DEPLOYMENT_TARGET-10.0} in - 10.[0123]) - compile_command="$compile_command ${wl}-bind_at_load" - finalize_command="$finalize_command ${wl}-bind_at_load" - ;; - esac - fi - # Time to change all our "foo.ltframework" stuff back to "-framework foo" - compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - ;; - esac - - - # move library search paths that coincide with paths to not yet - # installed libraries to the beginning of the library search list - new_libs= - for path in $notinst_path; do - case " $new_libs " in - *" -L$path/$objdir "*) ;; - *) - case " $compile_deplibs " in - *" -L$path/$objdir "*) - new_libs="$new_libs -L$path/$objdir" ;; - esac - ;; - esac - done - for deplib in $compile_deplibs; do - case $deplib in - -L*) - case " $new_libs " in - *" $deplib "*) ;; - *) new_libs="$new_libs $deplib" ;; - esac - ;; - *) new_libs="$new_libs $deplib" ;; - esac - done - compile_deplibs="$new_libs" - - - compile_command="$compile_command $compile_deplibs" - finalize_command="$finalize_command $finalize_deplibs" - - if test -n "$rpath$xrpath"; then - # If the user specified any rpath flags, then add them. - for libdir in $rpath $xrpath; do - # This is the magic to use -rpath. - case "$finalize_rpath " in - *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" ;; - esac - done - fi - - # Now hardcode the library paths - rpath= - hardcode_libdirs= - for libdir in $compile_rpath $finalize_rpath; do - if test -n "$hardcode_libdir_flag_spec"; then - if test -n "$hardcode_libdir_separator"; then - if test -z "$hardcode_libdirs"; then - hardcode_libdirs="$libdir" - else - # Just accumulate the unique libdirs. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) - ;; - *) - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" - ;; - esac - fi - else - eval flag=\"$hardcode_libdir_flag_spec\" - rpath="$rpath $flag" - fi - elif test -n "$runpath_var"; then - case "$perm_rpath " in - *" $libdir "*) ;; - *) perm_rpath="$perm_rpath $libdir" ;; - esac - fi - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) - testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'` - case :$dllsearchpath: in - *":$libdir:"*) ;; - ::) dllsearchpath=$libdir;; - *) dllsearchpath="$dllsearchpath:$libdir";; - esac - case :$dllsearchpath: in - *":$testbindir:"*) ;; - ::) dllsearchpath=$testbindir;; - *) dllsearchpath="$dllsearchpath:$testbindir";; - esac - ;; - esac - done - # Substitute the hardcoded libdirs into the rpath. - if test -n "$hardcode_libdir_separator" && - test -n "$hardcode_libdirs"; then - libdir="$hardcode_libdirs" - eval rpath=\" $hardcode_libdir_flag_spec\" - fi - compile_rpath="$rpath" - - rpath= - hardcode_libdirs= - for libdir in $finalize_rpath; do - if test -n "$hardcode_libdir_flag_spec"; then - if test -n "$hardcode_libdir_separator"; then - if test -z "$hardcode_libdirs"; then - hardcode_libdirs="$libdir" - else - # Just accumulate the unique libdirs. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) - ;; - *) - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" - ;; - esac - fi - else - eval flag=\"$hardcode_libdir_flag_spec\" - rpath="$rpath $flag" - fi - elif test -n "$runpath_var"; then - case "$finalize_perm_rpath " in - *" $libdir "*) ;; - *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; - esac - fi - done - # Substitute the hardcoded libdirs into the rpath. - if test -n "$hardcode_libdir_separator" && - test -n "$hardcode_libdirs"; then - libdir="$hardcode_libdirs" - eval rpath=\" $hardcode_libdir_flag_spec\" - fi - finalize_rpath="$rpath" - - if test -n "$libobjs" && test "$build_old_libs" = yes; then - # Transform all the library objects into standard objects. - compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - fi - - func_generate_dlsyms "$outputname" "@PROGRAM@" "no" - - # template prelinking step - if test -n "$prelink_cmds"; then - func_execute_cmds "$prelink_cmds" 'exit $?' - fi - - wrappers_required=yes - case $host in - *cygwin* | *mingw* ) - if test "$build_libtool_libs" != yes; then - wrappers_required=no - fi - ;; - *cegcc) - # Disable wrappers for cegcc, we are cross compiling anyway. - wrappers_required=no - ;; - *) - if test "$need_relink" = no || test "$build_libtool_libs" != yes; then - wrappers_required=no - fi - ;; - esac - if test "$wrappers_required" = no; then - # Replace the output file specification. - compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` - link_command="$compile_command$compile_rpath" - - # We have no uninstalled library dependencies, so finalize right now. - exit_status=0 - func_show_eval "$link_command" 'exit_status=$?' - - # Delete the generated files. - if test -f "$output_objdir/${outputname}S.${objext}"; then - func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"' - fi - - exit $exit_status - fi - - if test -n "$compile_shlibpath$finalize_shlibpath"; then - compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" - fi - if test -n "$finalize_shlibpath"; then - finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" - fi - - compile_var= - finalize_var= - if test -n "$runpath_var"; then - if test -n "$perm_rpath"; then - # We should set the runpath_var. - rpath= - for dir in $perm_rpath; do - rpath="$rpath$dir:" - done - compile_var="$runpath_var=\"$rpath\$$runpath_var\" " - fi - if test -n "$finalize_perm_rpath"; then - # We should set the runpath_var. - rpath= - for dir in $finalize_perm_rpath; do - rpath="$rpath$dir:" - done - finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " - fi - fi - - if test "$no_install" = yes; then - # We don't need to create a wrapper script. - link_command="$compile_var$compile_command$compile_rpath" - # Replace the output file specification. - link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` - # Delete the old output file. - $opt_dry_run || $RM $output - # Link the executable and exit - func_show_eval "$link_command" 'exit $?' - exit $EXIT_SUCCESS - fi - - if test "$hardcode_action" = relink; then - # Fast installation is not supported - link_command="$compile_var$compile_command$compile_rpath" - relink_command="$finalize_var$finalize_command$finalize_rpath" - - func_warning "this platform does not like uninstalled shared libraries" - func_warning "\`$output' will be relinked during installation" - else - if test "$fast_install" != no; then - link_command="$finalize_var$compile_command$finalize_rpath" - if test "$fast_install" = yes; then - relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` - else - # fast_install is set to needless - relink_command= - fi - else - link_command="$compile_var$compile_command$compile_rpath" - relink_command="$finalize_var$finalize_command$finalize_rpath" - fi - fi - - # Replace the output file specification. - link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` - - # Delete the old output files. - $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname - - func_show_eval "$link_command" 'exit $?' - - # Now create the wrapper script. - func_verbose "creating $output" - - # Quote the relink command for shipping. - if test -n "$relink_command"; then - # Preserve any variables that may affect compiler behavior - for var in $variables_saved_for_relink; do - if eval test -z \"\${$var+set}\"; then - relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" - elif eval var_value=\$$var; test -z "$var_value"; then - relink_command="$var=; export $var; $relink_command" - else - func_quote_for_eval "$var_value" - relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" - fi - done - relink_command="(cd `pwd`; $relink_command)" - relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"` - fi - - # Quote $ECHO for shipping. - if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then - case $progpath in - [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; - *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; - esac - qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"` - else - qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"` - fi - - # Only actually do things if not in dry run mode. - $opt_dry_run || { - # win32 will think the script is a binary if it has - # a .exe suffix, so we strip it off here. - case $output in - *.exe) func_stripname '' '.exe' "$output" - output=$func_stripname_result ;; - esac - # test for cygwin because mv fails w/o .exe extensions - case $host in - *cygwin*) - exeext=.exe - func_stripname '' '.exe' "$outputname" - outputname=$func_stripname_result ;; - *) exeext= ;; - esac - case $host in - *cygwin* | *mingw* ) - func_dirname_and_basename "$output" "" "." - output_name=$func_basename_result - output_path=$func_dirname_result - cwrappersource="$output_path/$objdir/lt-$output_name.c" - cwrapper="$output_path/$output_name.exe" - $RM $cwrappersource $cwrapper - trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 - - func_emit_cwrapperexe_src > $cwrappersource - - # The wrapper executable is built using the $host compiler, - # because it contains $host paths and files. If cross- - # compiling, it, like the target executable, must be - # executed on the $host or under an emulation environment. - $opt_dry_run || { - $LTCC $LTCFLAGS -o $cwrapper $cwrappersource - $STRIP $cwrapper - } - - # Now, create the wrapper script for func_source use: - func_ltwrapper_scriptname $cwrapper - $RM $func_ltwrapper_scriptname_result - trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 - $opt_dry_run || { - # note: this script will not be executed, so do not chmod. - if test "x$build" = "x$host" ; then - $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result - else - func_emit_wrapper no > $func_ltwrapper_scriptname_result - fi - } - ;; - * ) - $RM $output - trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 - - func_emit_wrapper no > $output - chmod +x $output - ;; - esac - } - exit $EXIT_SUCCESS - ;; - esac - - # See if we need to build an old-fashioned archive. - for oldlib in $oldlibs; do - - if test "$build_libtool_libs" = convenience; then - oldobjs="$libobjs_save $symfileobj" - addlibs="$convenience" - build_libtool_libs=no - else - if test "$build_libtool_libs" = module; then - oldobjs="$libobjs_save" - build_libtool_libs=no - else - oldobjs="$old_deplibs $non_pic_objects" - if test "$preload" = yes && test -f "$symfileobj"; then - oldobjs="$oldobjs $symfileobj" - fi - fi - addlibs="$old_convenience" - fi - - if test -n "$addlibs"; then - gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" - - func_extract_archives $gentop $addlibs - oldobjs="$oldobjs $func_extract_archives_result" - fi - - # Do each command in the archive commands. - if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then - cmds=$old_archive_from_new_cmds - else - - # Add any objects from preloaded convenience libraries - if test -n "$dlprefiles"; then - gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" - - func_extract_archives $gentop $dlprefiles - oldobjs="$oldobjs $func_extract_archives_result" - fi - - # POSIX demands no paths to be encoded in archives. We have - # to avoid creating archives with duplicate basenames if we - # might have to extract them afterwards, e.g., when creating a - # static archive out of a convenience library, or when linking - # the entirety of a libtool archive into another (currently - # not supported by libtool). - if (for obj in $oldobjs - do - func_basename "$obj" - $ECHO "$func_basename_result" - done | sort | sort -uc >/dev/null 2>&1); then - : - else - $ECHO "copying selected object files to avoid basename conflicts..." - gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" - func_mkdir_p "$gentop" - save_oldobjs=$oldobjs - oldobjs= - counter=1 - for obj in $save_oldobjs - do - func_basename "$obj" - objbase="$func_basename_result" - case " $oldobjs " in - " ") oldobjs=$obj ;; - *[\ /]"$objbase "*) - while :; do - # Make sure we don't pick an alternate name that also - # overlaps. - newobj=lt$counter-$objbase - func_arith $counter + 1 - counter=$func_arith_result - case " $oldobjs " in - *[\ /]"$newobj "*) ;; - *) if test ! -f "$gentop/$newobj"; then break; fi ;; - esac - done - func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" - oldobjs="$oldobjs $gentop/$newobj" - ;; - *) oldobjs="$oldobjs $obj" ;; - esac - done - fi - eval cmds=\"$old_archive_cmds\" - - func_len " $cmds" - len=$func_len_result - if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then - cmds=$old_archive_cmds - else - # the command line is too long to link in one step, link in parts - func_verbose "using piecewise archive linking..." - save_RANLIB=$RANLIB - RANLIB=: - objlist= - concat_cmds= - save_oldobjs=$oldobjs - oldobjs= - # Is there a better way of finding the last object in the list? - for obj in $save_oldobjs - do - last_oldobj=$obj - done - eval test_cmds=\"$old_archive_cmds\" - func_len " $test_cmds" - len0=$func_len_result - len=$len0 - for obj in $save_oldobjs - do - func_len " $obj" - func_arith $len + $func_len_result - len=$func_arith_result - func_append objlist " $obj" - if test "$len" -lt "$max_cmd_len"; then - : - else - # the above command should be used before it gets too long - oldobjs=$objlist - if test "$obj" = "$last_oldobj" ; then - RANLIB=$save_RANLIB - fi - test -z "$concat_cmds" || concat_cmds=$concat_cmds~ - eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" - objlist= - len=$len0 - fi - done - RANLIB=$save_RANLIB - oldobjs=$objlist - if test "X$oldobjs" = "X" ; then - eval cmds=\"\$concat_cmds\" - else - eval cmds=\"\$concat_cmds~\$old_archive_cmds\" - fi - fi - fi - func_execute_cmds "$cmds" 'exit $?' - done - - test -n "$generated" && \ - func_show_eval "${RM}r$generated" - - # Now create the libtool archive. - case $output in - *.la) - old_library= - test "$build_old_libs" = yes && old_library="$libname.$libext" - func_verbose "creating $output" - - # Preserve any variables that may affect compiler behavior - for var in $variables_saved_for_relink; do - if eval test -z \"\${$var+set}\"; then - relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" - elif eval var_value=\$$var; test -z "$var_value"; then - relink_command="$var=; export $var; $relink_command" - else - func_quote_for_eval "$var_value" - relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" - fi - done - # Quote the link command for shipping. - relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" - relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"` - if test "$hardcode_automatic" = yes ; then - relink_command= - fi - - # Only create the output if not a dry run. - $opt_dry_run || { - for installed in no yes; do - if test "$installed" = yes; then - if test -z "$install_libdir"; then - break - fi - output="$output_objdir/$outputname"i - # Replace all uninstalled libtool libraries with the installed ones - newdependency_libs= - for deplib in $dependency_libs; do - case $deplib in - *.la) - func_basename "$deplib" - name="$func_basename_result" - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` - test -z "$libdir" && \ - func_fatal_error "\`$deplib' is not a valid libtool archive" - newdependency_libs="$newdependency_libs $libdir/$name" - ;; - *) newdependency_libs="$newdependency_libs $deplib" ;; - esac - done - dependency_libs="$newdependency_libs" - newdlfiles= - - for lib in $dlfiles; do - case $lib in - *.la) - func_basename "$lib" - name="$func_basename_result" - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` - test -z "$libdir" && \ - func_fatal_error "\`$lib' is not a valid libtool archive" - newdlfiles="$newdlfiles $libdir/$name" - ;; - *) newdlfiles="$newdlfiles $lib" ;; - esac - done - dlfiles="$newdlfiles" - newdlprefiles= - for lib in $dlprefiles; do - case $lib in - *.la) - # Only pass preopened files to the pseudo-archive (for - # eventual linking with the app. that links it) if we - # didn't already link the preopened objects directly into - # the library: - func_basename "$lib" - name="$func_basename_result" - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` - test -z "$libdir" && \ - func_fatal_error "\`$lib' is not a valid libtool archive" - newdlprefiles="$newdlprefiles $libdir/$name" - ;; - esac - done - dlprefiles="$newdlprefiles" - else - newdlfiles= - for lib in $dlfiles; do - case $lib in - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; - *) abs=`pwd`"/$lib" ;; - esac - newdlfiles="$newdlfiles $abs" - done - dlfiles="$newdlfiles" - newdlprefiles= - for lib in $dlprefiles; do - case $lib in - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; - *) abs=`pwd`"/$lib" ;; - esac - newdlprefiles="$newdlprefiles $abs" - done - dlprefiles="$newdlprefiles" - fi - $RM $output - # place dlname in correct position for cygwin - tdlname=$dlname - case $host,$output,$installed,$module,$dlname in - *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; - esac - $ECHO > $output "\ -# $outputname - a libtool library file -# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION -# -# Please DO NOT delete this file! -# It is necessary for linking the library. - -# The name that we can dlopen(3). -dlname='$tdlname' - -# Names of this library. -library_names='$library_names' - -# The name of the static archive. -old_library='$old_library' - -# Linker flags that can not go in dependency_libs. -inherited_linker_flags='$new_inherited_linker_flags' - -# Libraries that this one depends upon. -dependency_libs='$dependency_libs' - -# Names of additional weak libraries provided by this library -weak_library_names='$weak_libs' - -# Version information for $libname. -current=$current -age=$age -revision=$revision - -# Is this an already installed library? -installed=$installed - -# Should we warn about portability when linking against -modules? -shouldnotlink=$module - -# Files to dlopen/dlpreopen -dlopen='$dlfiles' -dlpreopen='$dlprefiles' - -# Directory that this library needs to be installed in: -libdir='$install_libdir'" - if test "$installed" = no && test "$need_relink" = yes; then - $ECHO >> $output "\ -relink_command=\"$relink_command\"" - fi - done - } - - # Do a symbolic link so that the libtool archive can be found in - # LD_LIBRARY_PATH before the program is installed. - func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' - ;; - esac - exit $EXIT_SUCCESS -} - -{ test "$mode" = link || test "$mode" = relink; } && - func_mode_link ${1+"$@"} - - -# func_mode_uninstall arg... -func_mode_uninstall () -{ - $opt_debug - RM="$nonopt" - files= - rmforce= - exit_status=0 - - # This variable tells wrapper scripts just to set variables rather - # than running their programs. - libtool_install_magic="$magic" - - for arg - do - case $arg in - -f) RM="$RM $arg"; rmforce=yes ;; - -*) RM="$RM $arg" ;; - *) files="$files $arg" ;; - esac - done - - test -z "$RM" && \ - func_fatal_help "you must specify an RM program" - - rmdirs= - - origobjdir="$objdir" - for file in $files; do - func_dirname "$file" "" "." - dir="$func_dirname_result" - if test "X$dir" = X.; then - objdir="$origobjdir" - else - objdir="$dir/$origobjdir" - fi - func_basename "$file" - name="$func_basename_result" - test "$mode" = uninstall && objdir="$dir" - - # Remember objdir for removal later, being careful to avoid duplicates - if test "$mode" = clean; then - case " $rmdirs " in - *" $objdir "*) ;; - *) rmdirs="$rmdirs $objdir" ;; - esac - fi - - # Don't error if the file doesn't exist and rm -f was used. - if { test -L "$file"; } >/dev/null 2>&1 || - { test -h "$file"; } >/dev/null 2>&1 || - test -f "$file"; then - : - elif test -d "$file"; then - exit_status=1 - continue - elif test "$rmforce" = yes; then - continue - fi - - rmfiles="$file" - - case $name in - *.la) - # Possibly a libtool archive, so verify it. - if func_lalib_p "$file"; then - func_source $dir/$name - - # Delete the libtool libraries and symlinks. - for n in $library_names; do - rmfiles="$rmfiles $objdir/$n" - done - test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" - - case "$mode" in - clean) - case " $library_names " in - # " " in the beginning catches empty $dlname - *" $dlname "*) ;; - *) rmfiles="$rmfiles $objdir/$dlname" ;; - esac - test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" - ;; - uninstall) - if test -n "$library_names"; then - # Do each command in the postuninstall commands. - func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' - fi - - if test -n "$old_library"; then - # Do each command in the old_postuninstall commands. - func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' - fi - # FIXME: should reinstall the best remaining shared library. - ;; - esac - fi - ;; - - *.lo) - # Possibly a libtool object, so verify it. - if func_lalib_p "$file"; then - - # Read the .lo file - func_source $dir/$name - - # Add PIC object to the list of files to remove. - if test -n "$pic_object" && - test "$pic_object" != none; then - rmfiles="$rmfiles $dir/$pic_object" - fi - - # Add non-PIC object to the list of files to remove. - if test -n "$non_pic_object" && - test "$non_pic_object" != none; then - rmfiles="$rmfiles $dir/$non_pic_object" - fi - fi - ;; - - *) - if test "$mode" = clean ; then - noexename=$name - case $file in - *.exe) - func_stripname '' '.exe' "$file" - file=$func_stripname_result - func_stripname '' '.exe' "$name" - noexename=$func_stripname_result - # $file with .exe has already been added to rmfiles, - # add $file without .exe - rmfiles="$rmfiles $file" - ;; - esac - # Do a test to see if this is a libtool program. - if func_ltwrapper_p "$file"; then - if func_ltwrapper_executable_p "$file"; then - func_ltwrapper_scriptname "$file" - relink_command= - func_source $func_ltwrapper_scriptname_result - rmfiles="$rmfiles $func_ltwrapper_scriptname_result" - else - relink_command= - func_source $dir/$noexename - fi - - # note $name still contains .exe if it was in $file originally - # as does the version of $file that was added into $rmfiles - rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" - if test "$fast_install" = yes && test -n "$relink_command"; then - rmfiles="$rmfiles $objdir/lt-$name" - fi - if test "X$noexename" != "X$name" ; then - rmfiles="$rmfiles $objdir/lt-${noexename}.c" - fi - fi - fi - ;; - esac - func_show_eval "$RM $rmfiles" 'exit_status=1' - done - objdir="$origobjdir" - - # Try to remove the ${objdir}s in the directories where we deleted files - for dir in $rmdirs; do - if test -d "$dir"; then - func_show_eval "rmdir $dir >/dev/null 2>&1" - fi - done - - exit $exit_status -} - -{ test "$mode" = uninstall || test "$mode" = clean; } && - func_mode_uninstall ${1+"$@"} - -test -z "$mode" && { - help="$generic_help" - func_fatal_help "you must specify a MODE" -} - -test -z "$exec_cmd" && \ - func_fatal_help "invalid operation mode \`$mode'" - -if test -n "$exec_cmd"; then - eval exec "$exec_cmd" - exit $EXIT_FAILURE -fi - -exit $exit_status - - -# The TAGs below are defined such that we never get into a situation -# in which we disable both kinds of libraries. Given conflicting -# choices, we go for a static library, that is the most portable, -# since we can't tell whether shared libraries were disabled because -# the user asked for that or because the platform doesn't support -# them. This is particularly important on AIX, because we don't -# support having both static and shared libraries enabled at the same -# time on that platform, so we default to a shared-only configuration. -# If a disable-shared tag is given, we'll fallback to a static-only -# configuration. But we'll never go from static-only to shared-only. - -# ### BEGIN LIBTOOL TAG CONFIG: disable-shared -build_libtool_libs=no -build_old_libs=yes -# ### END LIBTOOL TAG CONFIG: disable-shared - -# ### BEGIN LIBTOOL TAG CONFIG: disable-static -build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` -# ### END LIBTOOL TAG CONFIG: disable-static - -# Local Variables: -# mode:shell-script -# sh-indentation:2 -# End: -# vi:sw=2 - diff --git a/Libraries/libtheora-1.1.1/m4/Makefile.am b/Libraries/libtheora-1.1.1/m4/Makefile.am deleted file mode 100644 index 51d571f7..00000000 --- a/Libraries/libtheora-1.1.1/m4/Makefile.am +++ /dev/null @@ -1,6 +0,0 @@ -EXTRA_DIST = \ - as-ac-expand.m4 \ - ogg.m4 \ - pkg.m4 \ - sdl.m4 \ - vorbis.m4 diff --git a/Libraries/libtheora-1.1.1/m4/Makefile.in b/Libraries/libtheora-1.1.1/m4/Makefile.in deleted file mode 100644 index 6fcec237..00000000 --- a/Libraries/libtheora-1.1.1/m4/Makefile.in +++ /dev/null @@ -1,298 +0,0 @@ -# Makefile.in generated by automake 1.6.3 from Makefile.am. -# @configure_input@ - -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 -# Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -SHELL = @SHELL@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_HEADER = $(INSTALL_DATA) -transform = @program_transform_name@ -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_alias = @host_alias@ -host_triplet = @host@ - -EXEEXT = @EXEEXT@ -OBJEXT = @OBJEXT@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ -AMTAR = @AMTAR@ -AR = @AR@ -ARGZ_H = @ARGZ_H@ -AS = @AS@ -AWK = @AWK@ -BUILDABLE_EXAMPLES = @BUILDABLE_EXAMPLES@ -CAIRO_CFLAGS = @CAIRO_CFLAGS@ -CAIRO_LIBS = @CAIRO_LIBS@ -CC = @CC@ -CPP = @CPP@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -DEBUG = @DEBUG@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -F77 = @F77@ -GCJ = @GCJ@ -GCJFLAGS = @GCJFLAGS@ -GETOPT_OBJS = @GETOPT_OBJS@ -GREP = @GREP@ -HAVE_BIBTEX = @HAVE_BIBTEX@ -HAVE_DOXYGEN = @HAVE_DOXYGEN@ -HAVE_PDFLATEX = @HAVE_PDFLATEX@ -HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@ -HAVE_TRANSFIG = @HAVE_TRANSFIG@ -HAVE_VALGRIND = @HAVE_VALGRIND@ -INCLTDL = @INCLTDL@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LD = @LD@ -LIBADD_DL = @LIBADD_DL@ -LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ -LIBADD_DLOPEN = @LIBADD_DLOPEN@ -LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ -LIBLTDL = @LIBLTDL@ -LIBM = @LIBM@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTDLDEPS = @LTDLDEPS@ -LTDLINCL = @LTDLINCL@ -LTDLOPEN = @LTDLOPEN@ -LT_CONFIG_H = @LT_CONFIG_H@ -LT_DLLOADERS = @LT_DLLOADERS@ -LT_DLPREOPEN = @LT_DLPREOPEN@ -MAINT = @MAINT@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OGG_CFLAGS = @OGG_CFLAGS@ -OGG_LIBS = @OGG_LIBS@ -OSS_LIBS = @OSS_LIBS@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PKG_CONFIG = @PKG_CONFIG@ -PNG_CFLAGS = @PNG_CFLAGS@ -PNG_LIBS = @PNG_LIBS@ -PROFILE = @PROFILE@ -RANLIB = @RANLIB@ -RC = @RC@ -SDL_CFLAGS = @SDL_CFLAGS@ -SDL_CONFIG = @SDL_CONFIG@ -SDL_LIBS = @SDL_LIBS@ -SED = @SED@ -STRIP = @STRIP@ -THDEC_LIB_AGE = @THDEC_LIB_AGE@ -THDEC_LIB_CURRENT = @THDEC_LIB_CURRENT@ -THDEC_LIB_REVISION = @THDEC_LIB_REVISION@ -THENC_LIB_AGE = @THENC_LIB_AGE@ -THENC_LIB_CURRENT = @THENC_LIB_CURRENT@ -THENC_LIB_REVISION = @THENC_LIB_REVISION@ -THEORADEC_LDFLAGS = @THEORADEC_LDFLAGS@ -THEORAENC_LDFLAGS = @THEORAENC_LDFLAGS@ -THEORA_LDFLAGS = @THEORA_LDFLAGS@ -TH_LIB_AGE = @TH_LIB_AGE@ -TH_LIB_CURRENT = @TH_LIB_CURRENT@ -TH_LIB_REVISION = @TH_LIB_REVISION@ -VALGRIND_ENVIRONMENT = @VALGRIND_ENVIRONMENT@ -VERSION = @VERSION@ -VORBISENC_LIBS = @VORBISENC_LIBS@ -VORBISFILE_LIBS = @VORBISFILE_LIBS@ -VORBIS_CFLAGS = @VORBIS_CFLAGS@ -VORBIS_LIBS = @VORBIS_LIBS@ -am__include = @am__include@ -am__quote = @am__quote@ -install_sh = @install_sh@ -lt_ECHO = @lt_ECHO@ -ltdl_LIBOBJS = @ltdl_LIBOBJS@ -ltdl_LTLIBOBJS = @ltdl_LTLIBOBJS@ -sys_symbol_underscore = @sys_symbol_underscore@ -EXTRA_DIST = \ - as-ac-expand.m4 \ - ogg.m4 \ - pkg.m4 \ - sdl.m4 \ - vorbis.m4 - -subdir = m4 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -DIST_SOURCES = -DIST_COMMON = Makefile.am Makefile.in -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu m4/Makefile -Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: -tags: TAGS -TAGS: - -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) - -top_distdir = .. -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) - -distdir: $(DISTFILES) - @list='$(DISTFILES)'; for file in $$list; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkinstalldirs) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile - -installdirs: - -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -distclean-am: clean-am distclean-generic distclean-libtool - -dvi: dvi-am - -dvi-am: - -info: info-am - -info-am: - -install-data-am: - -install-exec-am: - -install-info: install-info-am - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -uninstall-am: uninstall-info-am - -.PHONY: all all-am check check-am clean clean-generic clean-libtool \ - distclean distclean-generic distclean-libtool distdir dvi \ - dvi-am info info-am install install-am install-data \ - install-data-am install-exec install-exec-am install-info \ - install-info-am install-man install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic \ - mostlyclean-libtool uninstall uninstall-am uninstall-info-am - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/Libraries/libtheora-1.1.1/m4/as-ac-expand.m4 b/Libraries/libtheora-1.1.1/m4/as-ac-expand.m4 deleted file mode 100644 index d6c9e330..00000000 --- a/Libraries/libtheora-1.1.1/m4/as-ac-expand.m4 +++ /dev/null @@ -1,43 +0,0 @@ -dnl as-ac-expand.m4 0.2.0 -dnl autostars m4 macro for expanding directories using configure's prefix -dnl thomas@apestaart.org - -dnl AS_AC_EXPAND(VAR, CONFIGURE_VAR) -dnl example -dnl AS_AC_EXPAND(SYSCONFDIR, $sysconfdir) -dnl will set SYSCONFDIR to /usr/local/etc if prefix=/usr/local - -AC_DEFUN([AS_AC_EXPAND], -[ - EXP_VAR=[$1] - FROM_VAR=[$2] - - dnl first expand prefix and exec_prefix if necessary - prefix_save=$prefix - exec_prefix_save=$exec_prefix - - dnl if no prefix given, then use /usr/local, the default prefix - if test "x$prefix" = "xNONE"; then - prefix="$ac_default_prefix" - fi - dnl if no exec_prefix given, then use prefix - if test "x$exec_prefix" = "xNONE"; then - exec_prefix=$prefix - fi - - full_var="$FROM_VAR" - dnl loop until it doesn't change anymore - while true; do - new_full_var="`eval echo $full_var`" - if test "x$new_full_var" = "x$full_var"; then break; fi - full_var=$new_full_var - done - - dnl clean up - full_var=$new_full_var - AC_SUBST([$1], "$full_var") - - dnl restore prefix and exec_prefix - prefix=$prefix_save - exec_prefix=$exec_prefix_save -]) diff --git a/Libraries/libtheora-1.1.1/m4/ogg.m4 b/Libraries/libtheora-1.1.1/m4/ogg.m4 deleted file mode 100644 index db91a6d8..00000000 --- a/Libraries/libtheora-1.1.1/m4/ogg.m4 +++ /dev/null @@ -1,116 +0,0 @@ -# Configure paths for libogg -# Jack Moffitt 10-21-2000 -# Shamelessly stolen from Owen Taylor and Manish Singh - -dnl XIPH_PATH_OGG([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) -dnl Test for libogg, and define OGG_CFLAGS and OGG_LIBS -dnl -AC_DEFUN([XIPH_PATH_OGG], -[dnl -dnl Get the cflags and libraries -dnl -AC_ARG_WITH(ogg,AC_HELP_STRING([--with-ogg=PFX],[Prefix where libogg is installed (optional)]), ogg_prefix="$withval", ogg_prefix="") -AC_ARG_WITH(ogg-libraries,AC_HELP_STRING([--with-ogg-libraries=DIR],[Directory where libogg library is installed (optional)]), ogg_libraries="$withval", ogg_libraries="") -AC_ARG_WITH(ogg-includes,AC_HELP_STRING([--with-ogg-includes=DIR],[Directory where libogg header files are installed (optional)]), ogg_includes="$withval", ogg_includes="") -AC_ARG_ENABLE(oggtest,AC_HELP_STRING([--disable-oggtest],[Do not try to compile and run a test Ogg program]),, enable_oggtest=yes) - - if test "x$ogg_libraries" != "x" ; then - OGG_LIBS="-L$ogg_libraries" - elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then - OGG_LIBS="" - elif test "x$ogg_prefix" != "x" ; then - OGG_LIBS="-L$ogg_prefix/lib" - elif test "x$prefix" != "xNONE" ; then - OGG_LIBS="-L$libdir" - fi - - if test "x$ogg_prefix" != "xno" ; then - OGG_LIBS="$OGG_LIBS -logg" - fi - - if test "x$ogg_includes" != "x" ; then - OGG_CFLAGS="-I$ogg_includes" - elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then - OGG_CFLAGS="" - elif test "x$ogg_prefix" != "x" ; then - OGG_CFLAGS="-I$ogg_prefix/include" - elif test "x$prefix" != "xNONE"; then - OGG_CFLAGS="" - fi - - AC_MSG_CHECKING(for Ogg) - if test "x$ogg_prefix" = "xno" ; then - no_ogg="disabled" - enable_oggtest="no" - else - no_ogg="" - fi - - - if test "x$enable_oggtest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $OGG_CFLAGS" - LIBS="$LIBS $OGG_LIBS" -dnl -dnl Now check if the installed Ogg is sufficiently new. -dnl - rm -f conf.oggtest - AC_TRY_RUN([ -#include -#include -#include -#include - -int main () -{ - system("touch conf.oggtest"); - return 0; -} - -],, no_ogg=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - - if test "x$no_ogg" = "xdisabled" ; then - AC_MSG_RESULT(no) - ifelse([$2], , :, [$2]) - elif test "x$no_ogg" = "x" ; then - AC_MSG_RESULT(yes) - ifelse([$1], , :, [$1]) - else - AC_MSG_RESULT(no) - if test -f conf.oggtest ; then - : - else - echo "*** Could not run Ogg test program, checking why..." - CFLAGS="$CFLAGS $OGG_CFLAGS" - LIBS="$LIBS $OGG_LIBS" - AC_TRY_LINK([ -#include -#include -], [ return 0; ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding Ogg or finding the wrong" - echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means Ogg was incorrectly installed" - echo "*** or that you have moved Ogg since it was installed." ]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - OGG_CFLAGS="" - OGG_LIBS="" - ifelse([$2], , :, [$2]) - fi - AC_SUBST(OGG_CFLAGS) - AC_SUBST(OGG_LIBS) - rm -f conf.oggtest -]) diff --git a/Libraries/libtheora-1.1.1/m4/pkg.m4 b/Libraries/libtheora-1.1.1/m4/pkg.m4 deleted file mode 100644 index 996e2945..00000000 --- a/Libraries/libtheora-1.1.1/m4/pkg.m4 +++ /dev/null @@ -1,157 +0,0 @@ -# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- -# -# Copyright © 2004 Scott James Remnant . -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# PKG_PROG_PKG_CONFIG([MIN-VERSION]) -# ---------------------------------- -AC_DEFUN([PKG_PROG_PKG_CONFIG], -[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) -m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) -AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=m4_default([$1], [0.9.0]) - AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - PKG_CONFIG="" - fi - -fi[]dnl -])# PKG_PROG_PKG_CONFIG - -# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -# -# Check to see whether a particular set of modules exists. Similar -# to PKG_CHECK_MODULES(), but does not set variables or print errors. -# -# -# Similar to PKG_CHECK_MODULES, make sure that the first instance of -# this or PKG_CHECK_MODULES is called, or make sure to call -# PKG_CHECK_EXISTS manually -# -------------------------------------------------------------- -AC_DEFUN([PKG_CHECK_EXISTS], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -if test -n "$PKG_CONFIG" && \ - AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then - m4_ifval([$2], [$2], [:]) -m4_ifvaln([$3], [else - $3])dnl -fi]) - - -# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) -# --------------------------------------------- -m4_define([_PKG_CONFIG], -[if test -n "$PKG_CONFIG"; then - if test -n "$$1"; then - pkg_cv_[]$1="$$1" - else - PKG_CHECK_EXISTS([$3], - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], - [pkg_failed=yes]) - fi -else - pkg_failed=untried -fi[]dnl -])# _PKG_CONFIG - -# _PKG_SHORT_ERRORS_SUPPORTED -# ----------------------------- -AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi[]dnl -])# _PKG_SHORT_ERRORS_SUPPORTED - - -# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], -# [ACTION-IF-NOT-FOUND]) -# -# -# Note that if there is a possibility the first call to -# PKG_CHECK_MODULES might not happen, you should be sure to include an -# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac -# -# -# -------------------------------------------------------------- -AC_DEFUN([PKG_CHECK_MODULES], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl -AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl - -pkg_failed=no -AC_MSG_CHECKING([for $1]) - -_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) -_PKG_CONFIG([$1][_LIBS], [libs], [$2]) - -m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS -and $1[]_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details.]) - -if test $pkg_failed = yes; then - _PKG_SHORT_ERRORS_SUPPORTED - if test $_pkg_short_errors_supported = yes; then - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` - else - $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` - fi - # Put the nasty error message in config.log where it belongs - echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD - - ifelse([$4], , [AC_MSG_ERROR(dnl -[Package requirements ($2) were not met: - -$$1_PKG_ERRORS - -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -_PKG_TEXT -])], - [AC_MSG_RESULT([no]) - $4]) -elif test $pkg_failed = untried; then - ifelse([$4], , [AC_MSG_FAILURE(dnl -[The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. - -_PKG_TEXT - -To get pkg-config, see .])], - [$4]) -else - $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS - $1[]_LIBS=$pkg_cv_[]$1[]_LIBS - AC_MSG_RESULT([yes]) - ifelse([$3], , :, [$3]) -fi[]dnl -])# PKG_CHECK_MODULES diff --git a/Libraries/libtheora-1.1.1/m4/sdl.m4 b/Libraries/libtheora-1.1.1/m4/sdl.m4 deleted file mode 100644 index f5fb1f4d..00000000 --- a/Libraries/libtheora-1.1.1/m4/sdl.m4 +++ /dev/null @@ -1,180 +0,0 @@ -# Configure paths for SDL -# Sam Lantinga 9/21/99 -# stolen from Manish Singh -# stolen back from Frank Belew -# stolen from Manish Singh -# Shamelessly stolen from Owen Taylor - -dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) -dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS -dnl -AC_DEFUN([AM_PATH_SDL], -[dnl -dnl Get the cflags and libraries from the sdl-config script -dnl -AC_ARG_WITH(sdl-prefix,[ --with-sdl-prefix=PFX Prefix where SDL is installed (optional)], - sdl_prefix="$withval", sdl_prefix="") -AC_ARG_WITH(sdl-exec-prefix,[ --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)], - sdl_exec_prefix="$withval", sdl_exec_prefix="") -AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run a test SDL program], - , enable_sdltest=yes) - - if test x$sdl_exec_prefix != x ; then - sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix" - if test x${SDL_CONFIG+set} != xset ; then - SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config - fi - fi - if test x$sdl_prefix != x ; then - sdl_args="$sdl_args --prefix=$sdl_prefix" - if test x${SDL_CONFIG+set} != xset ; then - SDL_CONFIG=$sdl_prefix/bin/sdl-config - fi - fi - - AC_REQUIRE([AC_CANONICAL_TARGET]) - PATH="$prefix/bin:$prefix/usr/bin:$PATH" - AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH]) - min_sdl_version=ifelse([$1], ,0.11.0,$1) - AC_MSG_CHECKING(for SDL - version >= $min_sdl_version) - no_sdl="" - if test "$SDL_CONFIG" = "no" ; then - no_sdl=yes - else - SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags` - SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs` - - sdl_major_version=`$SDL_CONFIG $sdl_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` - if test "x$enable_sdltest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_CXXFLAGS="$CXXFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $SDL_CFLAGS" - CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" - LIBS="$LIBS $SDL_LIBS" -dnl -dnl Now check if the installed SDL is sufficiently new. (Also sanity -dnl checks the results of sdl-config to some extent -dnl - rm -f conf.sdltest - AC_TRY_RUN([ -#include -#include -#include -#include "SDL.h" - -char* -my_strdup (char *str) -{ - char *new_str; - - if (str) - { - new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); - strcpy (new_str, str); - } - else - new_str = NULL; - - return new_str; -} - -int main (int argc, char *argv[]) -{ - int major, minor, micro; - char *tmp_version; - - /* This hangs on some systems (?) - system ("touch conf.sdltest"); - */ - { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); } - - /* HP/UX 9 (%@#!) writes to sscanf strings */ - tmp_version = my_strdup("$min_sdl_version"); - if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { - printf("%s, bad version string\n", "$min_sdl_version"); - exit(1); - } - - if (($sdl_major_version > major) || - (($sdl_major_version == major) && ($sdl_minor_version > minor)) || - (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro))) - { - return 0; - } - else - { - printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version); - printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro); - printf("*** best to upgrade to the required version.\n"); - printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n"); - printf("*** to point to the correct copy of sdl-config, and remove the file\n"); - printf("*** config.cache before re-running configure\n"); - return 1; - } -} - -],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - CXXFLAGS="$ac_save_CXXFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - if test "x$no_sdl" = x ; then - AC_MSG_RESULT(yes) - ifelse([$2], , :, [$2]) - else - AC_MSG_RESULT(no) - if test "$SDL_CONFIG" = "no" ; then - echo "*** The sdl-config script installed by SDL could not be found" - echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in" - echo "*** your path, or set the SDL_CONFIG environment variable to the" - echo "*** full path to sdl-config." - else - if test -f conf.sdltest ; then - : - else - echo "*** Could not run SDL test program, checking why..." - CFLAGS="$CFLAGS $SDL_CFLAGS" - CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" - LIBS="$LIBS $SDL_LIBS" - AC_TRY_LINK([ -#include -#include "SDL.h" - -int main(int argc, char *argv[]) -{ return 0; } -#undef main -#define main K_and_R_C_main -], [ return 0; ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding SDL or finding the wrong" - echo "*** version of SDL. If it is not finding SDL, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means SDL was incorrectly installed" - echo "*** or that you have moved SDL since it was installed. In the latter case, you" - echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ]) - CFLAGS="$ac_save_CFLAGS" - CXXFLAGS="$ac_save_CXXFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - SDL_CFLAGS="" - SDL_LIBS="" - ifelse([$3], , :, [$3]) - fi - AC_SUBST(SDL_CFLAGS) - AC_SUBST(SDL_LIBS) - rm -f conf.sdltest -]) diff --git a/Libraries/libtheora-1.1.1/m4/vorbis.m4 b/Libraries/libtheora-1.1.1/m4/vorbis.m4 deleted file mode 100644 index 69715a7d..00000000 --- a/Libraries/libtheora-1.1.1/m4/vorbis.m4 +++ /dev/null @@ -1,122 +0,0 @@ -# Configure paths for libvorbis -# Jack Moffitt 10-21-2000 -# Shamelessly stolen from Owen Taylor and Manish Singh -# thomasvs added check for vorbis_bitrate_addblock which is new in rc3 - -dnl XIPH_PATH_VORBIS([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) -dnl Test for libvorbis, and define VORBIS_CFLAGS and VORBIS_LIBS -dnl -AC_DEFUN([XIPH_PATH_VORBIS], -[dnl -dnl Get the cflags and libraries -dnl -AC_ARG_WITH(vorbis,[ --with-vorbis=PFX Prefix where libvorbis is installed (optional)], vorbis_prefix="$withval", vorbis_prefix="") -AC_ARG_WITH(vorbis-libraries,[ --with-vorbis-libraries=DIR Directory where libvorbis library is installed (optional)], vorbis_libraries="$withval", vorbis_libraries="") -AC_ARG_WITH(vorbis-includes,[ --with-vorbis-includes=DIR Directory where libvorbis header files are installed (optional)], vorbis_includes="$withval", vorbis_includes="") -AC_ARG_ENABLE(vorbistest, [ --disable-vorbistest Do not try to compile and run a test Vorbis program],, enable_vorbistest=yes) - - if test "x$vorbis_libraries" != "x" ; then - VORBIS_LIBS="-L$vorbis_libraries" - elif test "x$vorbis_prefix" != "x" ; then - VORBIS_LIBS="-L$vorbis_prefix/lib" - elif test "x$prefix" != "xNONE"; then - VORBIS_LIBS="-L$libdir" - fi - - VORBIS_LIBS="$VORBIS_LIBS -lvorbis -lm" - VORBISFILE_LIBS="-lvorbisfile" - VORBISENC_LIBS="-lvorbisenc" - - if test "x$vorbis_includes" != "x" ; then - VORBIS_CFLAGS="-I$vorbis_includes" - elif test "x$vorbis_prefix" != "x" ; then - VORBIS_CFLAGS="-I$vorbis_prefix/include" - elif test "x$prefix" != "xNONE"; then - VORBIS_CFLAGS="" - fi - - - AC_MSG_CHECKING(for Vorbis) - no_vorbis="" - - - if test "x$enable_vorbistest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $VORBIS_CFLAGS $OGG_CFLAGS" - LIBS="$LIBS $VORBIS_LIBS $VORBISENC_LIBS $OGG_LIBS" -dnl -dnl Now check if the installed Vorbis is sufficiently new. -dnl - rm -f conf.vorbistest - AC_TRY_RUN([ -#include -#include -#include -#include -#include - -int main () -{ - vorbis_block vb; - vorbis_dsp_state vd; - vorbis_info vi; - - vorbis_info_init (&vi); - vorbis_encode_init (&vi, 2, 44100, -1, 128000, -1); - vorbis_analysis_init (&vd, &vi); - vorbis_block_init (&vd, &vb); - /* this function was added in 1.0rc3, so this is what we're testing for */ - vorbis_bitrate_addblock (&vb); - - system("touch conf.vorbistest"); - return 0; -} - -],, no_vorbis=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - - if test "x$no_vorbis" = "x" ; then - AC_MSG_RESULT(yes) - ifelse([$1], , :, [$1]) - else - AC_MSG_RESULT(no) - if test -f conf.vorbistest ; then - : - else - echo "*** Could not run Vorbis test program, checking why..." - CFLAGS="$CFLAGS $VORBIS_CFLAGS" - LIBS="$LIBS $VORBIS_LIBS $OGG_LIBS" - AC_TRY_LINK([ -#include -#include -], [ return 0; ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding Vorbis or finding the wrong" - echo "*** version of Vorbis. If it is not finding Vorbis, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means Vorbis was incorrectly installed" - echo "*** or that you have moved Vorbis since it was installed." ]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - VORBIS_CFLAGS="" - VORBIS_LIBS="" - VORBISFILE_LIBS="" - VORBISENC_LIBS="" - ifelse([$2], , :, [$2]) - fi - AC_SUBST(VORBIS_CFLAGS) - AC_SUBST(VORBIS_LIBS) - AC_SUBST(VORBISFILE_LIBS) - AC_SUBST(VORBISENC_LIBS) - rm -f conf.vorbistest -]) diff --git a/Libraries/libtheora-1.1.1/macosx/English.lproj/InfoPlist.strings b/Libraries/libtheora-1.1.1/macosx/English.lproj/InfoPlist.strings deleted file mode 100644 index e5964ff9..00000000 Binary files a/Libraries/libtheora-1.1.1/macosx/English.lproj/InfoPlist.strings and /dev/null differ diff --git a/Libraries/libtheora-1.1.1/macosx/Info.plist b/Libraries/libtheora-1.1.1/macosx/Info.plist deleted file mode 100644 index 1731a8d8..00000000 --- a/Libraries/libtheora-1.1.1/macosx/Info.plist +++ /dev/null @@ -1,30 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - Theora - CFBundleGetInfoString - Theora framework 1.1alpha1svn, Copyright © 2002-2009Xiph.Org Foundation - CFBundleIconFile - - CFBundleIdentifier - org.xiph.theora - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - FMWK - CFBundleSignature - ???? - CFBundleVersion - 1.0d6 - CFBundleShortVersionString - 1.1alpha1svn - NSHumanReadableCopyright - Theora framework 1.1alpha1svn, Copyright © 2002-2009Xiph.Org Foundation - CSResourcesFileMapped - - - diff --git a/Libraries/libtheora-1.1.1/macosx/Theora.xcodeproj/project.pbxproj b/Libraries/libtheora-1.1.1/macosx/Theora.xcodeproj/project.pbxproj deleted file mode 100644 index 380245f4..00000000 --- a/Libraries/libtheora-1.1.1/macosx/Theora.xcodeproj/project.pbxproj +++ /dev/null @@ -1,864 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 42; - objects = { - -/* Begin PBXBuildFile section */ - 084C31FE0FE4E5BD00117FC9 /* apiwrapper.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31D90FE4E5BD00117FC9 /* apiwrapper.c */; }; - 084C31FF0FE4E5BD00117FC9 /* apiwrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31DA0FE4E5BD00117FC9 /* apiwrapper.h */; }; - 084C32000FE4E5BD00117FC9 /* bitpack.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31DB0FE4E5BD00117FC9 /* bitpack.c */; }; - 084C32010FE4E5BD00117FC9 /* bitpack.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31DC0FE4E5BD00117FC9 /* bitpack.h */; }; - 084C32020FE4E5BD00117FC9 /* dct.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31DD0FE4E5BD00117FC9 /* dct.h */; }; - 084C32030FE4E5BD00117FC9 /* decapiwrapper.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31DE0FE4E5BD00117FC9 /* decapiwrapper.c */; }; - 084C32040FE4E5BD00117FC9 /* decinfo.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31DF0FE4E5BD00117FC9 /* decinfo.c */; }; - 084C32050FE4E5BD00117FC9 /* decint.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31E00FE4E5BD00117FC9 /* decint.h */; }; - 084C32060FE4E5BD00117FC9 /* decode.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31E10FE4E5BD00117FC9 /* decode.c */; }; - 084C32070FE4E5BD00117FC9 /* dequant.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31E20FE4E5BD00117FC9 /* dequant.c */; }; - 084C32080FE4E5BD00117FC9 /* dequant.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31E30FE4E5BD00117FC9 /* dequant.h */; }; - 084C32090FE4E5BD00117FC9 /* fragment.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31E40FE4E5BD00117FC9 /* fragment.c */; }; - 084C320A0FE4E5BD00117FC9 /* huffdec.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31E50FE4E5BD00117FC9 /* huffdec.c */; }; - 084C320B0FE4E5BD00117FC9 /* huffdec.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31E60FE4E5BD00117FC9 /* huffdec.h */; }; - 084C320C0FE4E5BD00117FC9 /* huffman.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31E70FE4E5BD00117FC9 /* huffman.h */; }; - 084C320D0FE4E5BD00117FC9 /* idct.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31E80FE4E5BD00117FC9 /* idct.c */; }; - 084C320E0FE4E5BD00117FC9 /* info.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31E90FE4E5BD00117FC9 /* info.c */; }; - 084C320F0FE4E5BD00117FC9 /* internal.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31EA0FE4E5BD00117FC9 /* internal.c */; }; - 084C32100FE4E5BD00117FC9 /* ocintrin.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31EB0FE4E5BD00117FC9 /* ocintrin.h */; }; - 084C32110FE4E5BD00117FC9 /* quant.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31EC0FE4E5BD00117FC9 /* quant.c */; }; - 084C32120FE4E5BD00117FC9 /* quant.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31ED0FE4E5BD00117FC9 /* quant.h */; }; - 084C32130FE4E5BD00117FC9 /* state.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31EE0FE4E5BD00117FC9 /* state.c */; }; - 084C32140FE4E5BD00117FC9 /* mmxfrag.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31F00FE4E5BD00117FC9 /* mmxfrag.c */; }; - 084C32150FE4E5BD00117FC9 /* mmxfrag.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31F10FE4E5BD00117FC9 /* mmxfrag.h */; }; - 084C32160FE4E5BD00117FC9 /* mmxidct.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31F20FE4E5BD00117FC9 /* mmxidct.c */; }; - 084C32170FE4E5BD00117FC9 /* mmxloop.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31F30FE4E5BD00117FC9 /* mmxloop.h */; }; - 084C32180FE4E5BD00117FC9 /* mmxstate.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31F40FE4E5BD00117FC9 /* mmxstate.c */; }; - 084C32190FE4E5BD00117FC9 /* x86int.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31F50FE4E5BD00117FC9 /* x86int.h */; }; - 084C321A0FE4E5BD00117FC9 /* x86state.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31F60FE4E5BD00117FC9 /* x86state.c */; }; - 084C32210FE4E5BD00117FC9 /* apiwrapper.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31D90FE4E5BD00117FC9 /* apiwrapper.c */; }; - 084C32220FE4E5BD00117FC9 /* apiwrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31DA0FE4E5BD00117FC9 /* apiwrapper.h */; }; - 084C32230FE4E5BD00117FC9 /* bitpack.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31DB0FE4E5BD00117FC9 /* bitpack.c */; }; - 084C32240FE4E5BD00117FC9 /* bitpack.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31DC0FE4E5BD00117FC9 /* bitpack.h */; }; - 084C32250FE4E5BD00117FC9 /* dct.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31DD0FE4E5BD00117FC9 /* dct.h */; }; - 084C32260FE4E5BD00117FC9 /* decapiwrapper.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31DE0FE4E5BD00117FC9 /* decapiwrapper.c */; }; - 084C32270FE4E5BD00117FC9 /* decinfo.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31DF0FE4E5BD00117FC9 /* decinfo.c */; }; - 084C32280FE4E5BD00117FC9 /* decint.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31E00FE4E5BD00117FC9 /* decint.h */; }; - 084C32290FE4E5BD00117FC9 /* decode.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31E10FE4E5BD00117FC9 /* decode.c */; }; - 084C322A0FE4E5BD00117FC9 /* dequant.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31E20FE4E5BD00117FC9 /* dequant.c */; }; - 084C322B0FE4E5BD00117FC9 /* dequant.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31E30FE4E5BD00117FC9 /* dequant.h */; }; - 084C322C0FE4E5BD00117FC9 /* fragment.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31E40FE4E5BD00117FC9 /* fragment.c */; }; - 084C322D0FE4E5BD00117FC9 /* huffdec.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31E50FE4E5BD00117FC9 /* huffdec.c */; }; - 084C322E0FE4E5BD00117FC9 /* huffdec.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31E60FE4E5BD00117FC9 /* huffdec.h */; }; - 084C322F0FE4E5BD00117FC9 /* huffman.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31E70FE4E5BD00117FC9 /* huffman.h */; }; - 084C32300FE4E5BD00117FC9 /* idct.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31E80FE4E5BD00117FC9 /* idct.c */; }; - 084C32310FE4E5BD00117FC9 /* info.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31E90FE4E5BD00117FC9 /* info.c */; }; - 084C32320FE4E5BD00117FC9 /* internal.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31EA0FE4E5BD00117FC9 /* internal.c */; }; - 084C32330FE4E5BD00117FC9 /* ocintrin.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31EB0FE4E5BD00117FC9 /* ocintrin.h */; }; - 084C32340FE4E5BD00117FC9 /* quant.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31EC0FE4E5BD00117FC9 /* quant.c */; }; - 084C32350FE4E5BD00117FC9 /* quant.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31ED0FE4E5BD00117FC9 /* quant.h */; }; - 084C32360FE4E5BD00117FC9 /* state.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31EE0FE4E5BD00117FC9 /* state.c */; }; - 084C32370FE4E5BD00117FC9 /* mmxfrag.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31F00FE4E5BD00117FC9 /* mmxfrag.c */; }; - 084C32380FE4E5BD00117FC9 /* mmxfrag.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31F10FE4E5BD00117FC9 /* mmxfrag.h */; }; - 084C32390FE4E5BD00117FC9 /* mmxidct.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31F20FE4E5BD00117FC9 /* mmxidct.c */; }; - 084C323A0FE4E5BD00117FC9 /* mmxloop.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31F30FE4E5BD00117FC9 /* mmxloop.h */; }; - 084C323B0FE4E5BD00117FC9 /* mmxstate.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31F40FE4E5BD00117FC9 /* mmxstate.c */; }; - 084C323C0FE4E5BD00117FC9 /* x86int.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31F50FE4E5BD00117FC9 /* x86int.h */; }; - 084C323D0FE4E5BD00117FC9 /* x86state.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31F60FE4E5BD00117FC9 /* x86state.c */; }; - 084C32620FE4E5D500117FC9 /* analyze.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C32450FE4E5D500117FC9 /* analyze.c */; }; - 084C32630FE4E5D500117FC9 /* encapiwrapper.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C32460FE4E5D500117FC9 /* encapiwrapper.c */; }; - 084C32640FE4E5D500117FC9 /* encfrag.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C32470FE4E5D500117FC9 /* encfrag.c */; }; - 084C32650FE4E5D500117FC9 /* encinfo.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C32480FE4E5D500117FC9 /* encinfo.c */; }; - 084C32660FE4E5D500117FC9 /* encint.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C32490FE4E5D500117FC9 /* encint.h */; }; - 084C32670FE4E5D500117FC9 /* encode.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C324A0FE4E5D500117FC9 /* encode.c */; }; - 084C32690FE4E5D500117FC9 /* enquant.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C324C0FE4E5D500117FC9 /* enquant.c */; }; - 084C326A0FE4E5D500117FC9 /* enquant.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C324D0FE4E5D500117FC9 /* enquant.h */; }; - 084C326B0FE4E5D500117FC9 /* fdct.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C324E0FE4E5D500117FC9 /* fdct.c */; }; - 084C326C0FE4E5D500117FC9 /* huffenc.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C324F0FE4E5D500117FC9 /* huffenc.c */; }; - 084C326D0FE4E5D500117FC9 /* huffenc.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C32500FE4E5D500117FC9 /* huffenc.h */; }; - 084C326E0FE4E5D500117FC9 /* mathops.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C32510FE4E5D500117FC9 /* mathops.c */; }; - 084C326F0FE4E5D500117FC9 /* mathops.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C32520FE4E5D500117FC9 /* mathops.h */; }; - 084C32700FE4E5D500117FC9 /* mcenc.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C32530FE4E5D500117FC9 /* mcenc.c */; }; - 084C32710FE4E5D500117FC9 /* modedec.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C32540FE4E5D500117FC9 /* modedec.h */; }; - 084C32720FE4E5D500117FC9 /* rate.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C32550FE4E5D500117FC9 /* rate.c */; }; - 084C32730FE4E5D500117FC9 /* tokenize.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C32560FE4E5D500117FC9 /* tokenize.c */; }; - 084C32750FE4E5D500117FC9 /* mmxencfrag.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C32590FE4E5D500117FC9 /* mmxencfrag.c */; }; - 084C32760FE4E5D500117FC9 /* mmxfdct.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C325A0FE4E5D500117FC9 /* mmxfdct.c */; }; - 084C32770FE4E5D500117FC9 /* sse2fdct.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C325B0FE4E5D500117FC9 /* sse2fdct.c */; }; - 084C32780FE4E5D500117FC9 /* x86enc.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C325C0FE4E5D500117FC9 /* x86enc.c */; }; - 084C32790FE4E5D500117FC9 /* x86enc.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C325D0FE4E5D500117FC9 /* x86enc.h */; }; - 084C327D0FE4E5D500117FC9 /* analyze.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C32450FE4E5D500117FC9 /* analyze.c */; }; - 084C327E0FE4E5D500117FC9 /* encapiwrapper.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C32460FE4E5D500117FC9 /* encapiwrapper.c */; }; - 084C327F0FE4E5D500117FC9 /* encfrag.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C32470FE4E5D500117FC9 /* encfrag.c */; }; - 084C32800FE4E5D500117FC9 /* encinfo.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C32480FE4E5D500117FC9 /* encinfo.c */; }; - 084C32810FE4E5D500117FC9 /* encint.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C32490FE4E5D500117FC9 /* encint.h */; }; - 084C32820FE4E5D500117FC9 /* encode.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C324A0FE4E5D500117FC9 /* encode.c */; }; - 084C32840FE4E5D500117FC9 /* enquant.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C324C0FE4E5D500117FC9 /* enquant.c */; }; - 084C32850FE4E5D500117FC9 /* enquant.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C324D0FE4E5D500117FC9 /* enquant.h */; }; - 084C32860FE4E5D500117FC9 /* fdct.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C324E0FE4E5D500117FC9 /* fdct.c */; }; - 084C32870FE4E5D500117FC9 /* huffenc.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C324F0FE4E5D500117FC9 /* huffenc.c */; }; - 084C32880FE4E5D500117FC9 /* huffenc.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C32500FE4E5D500117FC9 /* huffenc.h */; }; - 084C32890FE4E5D500117FC9 /* mathops.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C32510FE4E5D500117FC9 /* mathops.c */; }; - 084C328A0FE4E5D500117FC9 /* mathops.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C32520FE4E5D500117FC9 /* mathops.h */; }; - 084C328B0FE4E5D500117FC9 /* mcenc.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C32530FE4E5D500117FC9 /* mcenc.c */; }; - 084C328C0FE4E5D500117FC9 /* modedec.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C32540FE4E5D500117FC9 /* modedec.h */; }; - 084C328D0FE4E5D500117FC9 /* rate.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C32550FE4E5D500117FC9 /* rate.c */; }; - 084C328E0FE4E5D500117FC9 /* tokenize.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C32560FE4E5D500117FC9 /* tokenize.c */; }; - 084C32900FE4E5D500117FC9 /* mmxencfrag.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C32590FE4E5D500117FC9 /* mmxencfrag.c */; }; - 084C32910FE4E5D500117FC9 /* mmxfdct.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C325A0FE4E5D500117FC9 /* mmxfdct.c */; }; - 084C32920FE4E5D500117FC9 /* sse2fdct.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C325B0FE4E5D500117FC9 /* sse2fdct.c */; }; - 084C32930FE4E5D500117FC9 /* x86enc.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C325C0FE4E5D500117FC9 /* x86enc.c */; }; - 084C32940FE4E5D500117FC9 /* x86enc.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C325D0FE4E5D500117FC9 /* x86enc.h */; }; - 084C32A70FE4E7FE00117FC9 /* apiwrapper.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31D90FE4E5BD00117FC9 /* apiwrapper.c */; }; - 084C32A80FE4E7FF00117FC9 /* apiwrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31DA0FE4E5BD00117FC9 /* apiwrapper.h */; }; - 084C32A90FE4E82500117FC9 /* dct.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31DD0FE4E5BD00117FC9 /* dct.h */; }; - 084C32AA0FE4E83100117FC9 /* idct.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31E80FE4E5BD00117FC9 /* idct.c */; }; - 084C32AB0FE4E83300117FC9 /* internal.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31EA0FE4E5BD00117FC9 /* internal.c */; }; - 084C32AC0FE4E83600117FC9 /* fragment.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31E40FE4E5BD00117FC9 /* fragment.c */; }; - 084C32AD0FE4E84800117FC9 /* quant.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31ED0FE4E5BD00117FC9 /* quant.h */; }; - 084C32AE0FE4E84A00117FC9 /* quant.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31EC0FE4E5BD00117FC9 /* quant.c */; }; - 084C32AF0FE4E84C00117FC9 /* ocintrin.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31EB0FE4E5BD00117FC9 /* ocintrin.h */; }; - 084C32B00FE4E84F00117FC9 /* state.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31EE0FE4E5BD00117FC9 /* state.c */; }; - 084C32B10FE4E85300117FC9 /* x86int.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31F50FE4E5BD00117FC9 /* x86int.h */; }; - 084C32B20FE4E85300117FC9 /* x86state.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31F60FE4E5BD00117FC9 /* x86state.c */; }; - 084C32B30FE4E85D00117FC9 /* mmxstate.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31F40FE4E5BD00117FC9 /* mmxstate.c */; }; - 084C32B40FE4E86A00117FC9 /* mmxfrag.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31F00FE4E5BD00117FC9 /* mmxfrag.c */; }; - 084C32B50FE4E86B00117FC9 /* mmxfrag.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31F10FE4E5BD00117FC9 /* mmxfrag.h */; }; - 084C32B60FE4E87200117FC9 /* mmxidct.c in Sources */ = {isa = PBXBuildFile; fileRef = 084C31F20FE4E5BD00117FC9 /* mmxidct.c */; }; - 084C32B70FE4E88300117FC9 /* mmxloop.h in Headers */ = {isa = PBXBuildFile; fileRef = 084C31F30FE4E5BD00117FC9 /* mmxloop.h */; }; - 097729950BCAC60000303091 /* codec.h in Headers */ = {isa = PBXBuildFile; fileRef = 097729930BCAC60000303091 /* codec.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 097729960BCAC60000303091 /* theoradec.h in Headers */ = {isa = PBXBuildFile; fileRef = 097729940BCAC60000303091 /* theoradec.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 37C9B0140EBB831F0046849C /* theoraenc.h in Headers */ = {isa = PBXBuildFile; fileRef = 37C9B0130EBB831F0046849C /* theoraenc.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 37CA8E390DD747F1005C8CB6 /* internal.h in Headers */ = {isa = PBXBuildFile; fileRef = 37CA8E380DD747F1005C8CB6 /* internal.h */; }; - 734A751909D76ADD002D8FAE /* Ogg.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 734A751809D76ADD002D8FAE /* Ogg.framework */; }; - 734A75BF09D76BB9002D8FAE /* theora.h in Headers */ = {isa = PBXBuildFile; fileRef = 734A75BE09D76BB9002D8FAE /* theora.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 73514EC90B0C7E5700CEC060 /* cpu.h in Headers */ = {isa = PBXBuildFile; fileRef = 73514EC70B0C7E5700CEC060 /* cpu.h */; }; - 8D07F2BE0486CC7A007CD1D0 /* Theora_Prefix.pch in Headers */ = {isa = PBXBuildFile; fileRef = 32BAE0B70371A74B00C91783 /* Theora_Prefix.pch */; }; - 8D07F2C00486CC7A007CD1D0 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C1666FE841158C02AAC07 /* InfoPlist.strings */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 0844FE7E0FCCC99A004A99B0 /* cpu.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = cpu.c; path = ../lib/cpu.c; sourceTree = SOURCE_ROOT; }; - 084C31D90FE4E5BD00117FC9 /* apiwrapper.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = apiwrapper.c; sourceTree = ""; }; - 084C31DA0FE4E5BD00117FC9 /* apiwrapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = apiwrapper.h; sourceTree = ""; }; - 084C31DB0FE4E5BD00117FC9 /* bitpack.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = bitpack.c; sourceTree = ""; }; - 084C31DC0FE4E5BD00117FC9 /* bitpack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = bitpack.h; sourceTree = ""; }; - 084C31DD0FE4E5BD00117FC9 /* dct.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = dct.h; sourceTree = ""; }; - 084C31DE0FE4E5BD00117FC9 /* decapiwrapper.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = decapiwrapper.c; sourceTree = ""; }; - 084C31DF0FE4E5BD00117FC9 /* decinfo.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = decinfo.c; sourceTree = ""; }; - 084C31E00FE4E5BD00117FC9 /* decint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = decint.h; sourceTree = ""; }; - 084C31E10FE4E5BD00117FC9 /* decode.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = decode.c; sourceTree = ""; }; - 084C31E20FE4E5BD00117FC9 /* dequant.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = dequant.c; sourceTree = ""; }; - 084C31E30FE4E5BD00117FC9 /* dequant.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = dequant.h; sourceTree = ""; }; - 084C31E40FE4E5BD00117FC9 /* fragment.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = fragment.c; sourceTree = ""; }; - 084C31E50FE4E5BD00117FC9 /* huffdec.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = huffdec.c; sourceTree = ""; }; - 084C31E60FE4E5BD00117FC9 /* huffdec.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = huffdec.h; sourceTree = ""; }; - 084C31E70FE4E5BD00117FC9 /* huffman.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = huffman.h; sourceTree = ""; }; - 084C31E80FE4E5BD00117FC9 /* idct.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = idct.c; sourceTree = ""; }; - 084C31E90FE4E5BD00117FC9 /* info.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = info.c; sourceTree = ""; }; - 084C31EA0FE4E5BD00117FC9 /* internal.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = internal.c; sourceTree = ""; }; - 084C31EB0FE4E5BD00117FC9 /* ocintrin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ocintrin.h; sourceTree = ""; }; - 084C31EC0FE4E5BD00117FC9 /* quant.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = quant.c; sourceTree = ""; }; - 084C31ED0FE4E5BD00117FC9 /* quant.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = quant.h; sourceTree = ""; }; - 084C31EE0FE4E5BD00117FC9 /* state.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = state.c; sourceTree = ""; }; - 084C31F00FE4E5BD00117FC9 /* mmxfrag.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mmxfrag.c; sourceTree = ""; }; - 084C31F10FE4E5BD00117FC9 /* mmxfrag.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mmxfrag.h; sourceTree = ""; }; - 084C31F20FE4E5BD00117FC9 /* mmxidct.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mmxidct.c; sourceTree = ""; }; - 084C31F30FE4E5BD00117FC9 /* mmxloop.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mmxloop.h; sourceTree = ""; }; - 084C31F40FE4E5BD00117FC9 /* mmxstate.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mmxstate.c; sourceTree = ""; }; - 084C31F50FE4E5BD00117FC9 /* x86int.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = x86int.h; sourceTree = ""; }; - 084C31F60FE4E5BD00117FC9 /* x86state.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = x86state.c; sourceTree = ""; }; - 084C32450FE4E5D500117FC9 /* analyze.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = analyze.c; sourceTree = ""; }; - 084C32460FE4E5D500117FC9 /* encapiwrapper.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = encapiwrapper.c; sourceTree = ""; }; - 084C32470FE4E5D500117FC9 /* encfrag.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = encfrag.c; sourceTree = ""; }; - 084C32480FE4E5D500117FC9 /* encinfo.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = encinfo.c; sourceTree = ""; }; - 084C32490FE4E5D500117FC9 /* encint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = encint.h; sourceTree = ""; }; - 084C324A0FE4E5D500117FC9 /* encode.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = encode.c; sourceTree = ""; }; - 084C324B0FE4E5D500117FC9 /* encoder_disabled.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = encoder_disabled.c; sourceTree = ""; }; - 084C324C0FE4E5D500117FC9 /* enquant.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = enquant.c; sourceTree = ""; }; - 084C324D0FE4E5D500117FC9 /* enquant.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = enquant.h; sourceTree = ""; }; - 084C324E0FE4E5D500117FC9 /* fdct.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = fdct.c; sourceTree = ""; }; - 084C324F0FE4E5D500117FC9 /* huffenc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = huffenc.c; sourceTree = ""; }; - 084C32500FE4E5D500117FC9 /* huffenc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = huffenc.h; sourceTree = ""; }; - 084C32510FE4E5D500117FC9 /* mathops.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mathops.c; sourceTree = ""; }; - 084C32520FE4E5D500117FC9 /* mathops.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mathops.h; sourceTree = ""; }; - 084C32530FE4E5D500117FC9 /* mcenc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mcenc.c; sourceTree = ""; }; - 084C32540FE4E5D500117FC9 /* modedec.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = modedec.h; sourceTree = ""; }; - 084C32550FE4E5D500117FC9 /* rate.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = rate.c; sourceTree = ""; }; - 084C32560FE4E5D500117FC9 /* tokenize.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = tokenize.c; sourceTree = ""; }; - 084C32590FE4E5D500117FC9 /* mmxencfrag.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mmxencfrag.c; sourceTree = ""; }; - 084C325A0FE4E5D500117FC9 /* mmxfdct.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mmxfdct.c; sourceTree = ""; }; - 084C325B0FE4E5D500117FC9 /* sse2fdct.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = sse2fdct.c; sourceTree = ""; }; - 084C325C0FE4E5D500117FC9 /* x86enc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = x86enc.c; sourceTree = ""; }; - 084C325D0FE4E5D500117FC9 /* x86enc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = x86enc.h; sourceTree = ""; }; - 089C1667FE841158C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; - 097729930BCAC60000303091 /* codec.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = codec.h; path = ../include/theora/codec.h; sourceTree = SOURCE_ROOT; }; - 097729940BCAC60000303091 /* theoradec.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = theoradec.h; path = ../include/theora/theoradec.h; sourceTree = SOURCE_ROOT; }; - 09C8F6430C82FBE500F72188 /* libtheoradec.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libtheoradec.a; sourceTree = BUILT_PRODUCTS_DIR; }; - 32BAE0B70371A74B00C91783 /* Theora_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Theora_Prefix.pch; sourceTree = ""; }; - 37C9B0130EBB831F0046849C /* theoraenc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = theoraenc.h; path = ../include/theora/theoraenc.h; sourceTree = SOURCE_ROOT; }; - 37CA8E380DD747F1005C8CB6 /* internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = internal.h; path = ../lib/internal.h; sourceTree = SOURCE_ROOT; }; - 734A751809D76ADD002D8FAE /* Ogg.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Ogg.framework; path = /Library/Frameworks/Ogg.framework; sourceTree = ""; }; - 734A75BE09D76BB9002D8FAE /* theora.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = theora.h; path = ../include/theora/theora.h; sourceTree = SOURCE_ROOT; }; - 73514EC70B0C7E5700CEC060 /* cpu.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = cpu.h; path = "../lib//cpu.h"; sourceTree = SOURCE_ROOT; }; - 738837100B192732005C7A69 /* libtheoraenc.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libtheoraenc.a; sourceTree = BUILT_PRODUCTS_DIR; }; - 8D07F2C70486CC7A007CD1D0 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; - 8D07F2C80486CC7A007CD1D0 /* Theora.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Theora.framework; sourceTree = BUILT_PRODUCTS_DIR; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 09C8F6410C82FBE500F72188 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 7388370E0B192732005C7A69 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 8D07F2C30486CC7A007CD1D0 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 734A751909D76ADD002D8FAE /* Ogg.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 034768DDFF38A45A11DB9C8B /* Products */ = { - isa = PBXGroup; - children = ( - 8D07F2C80486CC7A007CD1D0 /* Theora.framework */, - 738837100B192732005C7A69 /* libtheoraenc.a */, - 09C8F6430C82FBE500F72188 /* libtheoradec.a */, - ); - name = Products; - sourceTree = ""; - }; - 084C31D80FE4E5BD00117FC9 /* lib */ = { - isa = PBXGroup; - children = ( - 084C32450FE4E5D500117FC9 /* analyze.c */, - 084C32460FE4E5D500117FC9 /* encapiwrapper.c */, - 084C32470FE4E5D500117FC9 /* encfrag.c */, - 084C32480FE4E5D500117FC9 /* encinfo.c */, - 084C32490FE4E5D500117FC9 /* encint.h */, - 084C324A0FE4E5D500117FC9 /* encode.c */, - 084C324B0FE4E5D500117FC9 /* encoder_disabled.c */, - 084C324C0FE4E5D500117FC9 /* enquant.c */, - 084C324D0FE4E5D500117FC9 /* enquant.h */, - 084C324E0FE4E5D500117FC9 /* fdct.c */, - 084C324F0FE4E5D500117FC9 /* huffenc.c */, - 084C32500FE4E5D500117FC9 /* huffenc.h */, - 084C32510FE4E5D500117FC9 /* mathops.c */, - 084C32520FE4E5D500117FC9 /* mathops.h */, - 084C32530FE4E5D500117FC9 /* mcenc.c */, - 084C32540FE4E5D500117FC9 /* modedec.h */, - 084C32550FE4E5D500117FC9 /* rate.c */, - 084C32560FE4E5D500117FC9 /* tokenize.c */, - 084C31D90FE4E5BD00117FC9 /* apiwrapper.c */, - 084C31DA0FE4E5BD00117FC9 /* apiwrapper.h */, - 084C31DB0FE4E5BD00117FC9 /* bitpack.c */, - 084C31DC0FE4E5BD00117FC9 /* bitpack.h */, - 084C31DD0FE4E5BD00117FC9 /* dct.h */, - 084C31DE0FE4E5BD00117FC9 /* decapiwrapper.c */, - 084C31DF0FE4E5BD00117FC9 /* decinfo.c */, - 084C31E00FE4E5BD00117FC9 /* decint.h */, - 084C31E10FE4E5BD00117FC9 /* decode.c */, - 084C31E20FE4E5BD00117FC9 /* dequant.c */, - 084C31E30FE4E5BD00117FC9 /* dequant.h */, - 084C31E40FE4E5BD00117FC9 /* fragment.c */, - 084C31E50FE4E5BD00117FC9 /* huffdec.c */, - 084C31E60FE4E5BD00117FC9 /* huffdec.h */, - 084C31E70FE4E5BD00117FC9 /* huffman.h */, - 084C31E80FE4E5BD00117FC9 /* idct.c */, - 084C31E90FE4E5BD00117FC9 /* info.c */, - 084C31EA0FE4E5BD00117FC9 /* internal.c */, - 084C31EB0FE4E5BD00117FC9 /* ocintrin.h */, - 084C31EC0FE4E5BD00117FC9 /* quant.c */, - 084C31ED0FE4E5BD00117FC9 /* quant.h */, - 084C31EE0FE4E5BD00117FC9 /* state.c */, - 084C32570FE4E5D500117FC9 /* x86 */, - ); - name = lib; - path = ../lib; - sourceTree = SOURCE_ROOT; - }; - 084C32570FE4E5D500117FC9 /* x86 */ = { - isa = PBXGroup; - children = ( - 084C31F00FE4E5BD00117FC9 /* mmxfrag.c */, - 084C31F10FE4E5BD00117FC9 /* mmxfrag.h */, - 084C31F20FE4E5BD00117FC9 /* mmxidct.c */, - 084C31F30FE4E5BD00117FC9 /* mmxloop.h */, - 084C31F40FE4E5BD00117FC9 /* mmxstate.c */, - 084C31F50FE4E5BD00117FC9 /* x86int.h */, - 084C31F60FE4E5BD00117FC9 /* x86state.c */, - 084C32590FE4E5D500117FC9 /* mmxencfrag.c */, - 084C325A0FE4E5D500117FC9 /* mmxfdct.c */, - 084C325B0FE4E5D500117FC9 /* sse2fdct.c */, - 084C325C0FE4E5D500117FC9 /* x86enc.c */, - 084C325D0FE4E5D500117FC9 /* x86enc.h */, - ); - path = x86; - sourceTree = ""; - }; - 0867D691FE84028FC02AAC07 /* Theora */ = { - isa = PBXGroup; - children = ( - 734A75BD09D76B96002D8FAE /* Headers */, - 08FB77ACFE841707C02AAC07 /* Source */, - 089C1665FE841158C02AAC07 /* Resources */, - 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */, - 034768DDFF38A45A11DB9C8B /* Products */, - ); - name = Theora; - sourceTree = ""; - }; - 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */ = { - isa = PBXGroup; - children = ( - 734A751809D76ADD002D8FAE /* Ogg.framework */, - ); - name = "External Frameworks and Libraries"; - sourceTree = ""; - }; - 089C1665FE841158C02AAC07 /* Resources */ = { - isa = PBXGroup; - children = ( - 8D07F2C70486CC7A007CD1D0 /* Info.plist */, - 089C1666FE841158C02AAC07 /* InfoPlist.strings */, - ); - name = Resources; - sourceTree = ""; - }; - 08FB77ACFE841707C02AAC07 /* Source */ = { - isa = PBXGroup; - children = ( - 084C31D80FE4E5BD00117FC9 /* lib */, - 0844FE7E0FCCC99A004A99B0 /* cpu.c */, - 73514EC70B0C7E5700CEC060 /* cpu.h */, - 37CA8E380DD747F1005C8CB6 /* internal.h */, - 32BAE0B70371A74B00C91783 /* Theora_Prefix.pch */, - ); - name = Source; - sourceTree = ""; - }; - 734A75BD09D76B96002D8FAE /* Headers */ = { - isa = PBXGroup; - children = ( - 37C9B0130EBB831F0046849C /* theoraenc.h */, - 097729940BCAC60000303091 /* theoradec.h */, - 097729930BCAC60000303091 /* codec.h */, - 734A75BE09D76BB9002D8FAE /* theora.h */, - ); - name = Headers; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 09C8F63F0C82FBE500F72188 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 084C32220FE4E5BD00117FC9 /* apiwrapper.h in Headers */, - 084C32240FE4E5BD00117FC9 /* bitpack.h in Headers */, - 084C32250FE4E5BD00117FC9 /* dct.h in Headers */, - 084C32280FE4E5BD00117FC9 /* decint.h in Headers */, - 084C322B0FE4E5BD00117FC9 /* dequant.h in Headers */, - 084C322E0FE4E5BD00117FC9 /* huffdec.h in Headers */, - 084C322F0FE4E5BD00117FC9 /* huffman.h in Headers */, - 084C32330FE4E5BD00117FC9 /* ocintrin.h in Headers */, - 084C32350FE4E5BD00117FC9 /* quant.h in Headers */, - 084C32380FE4E5BD00117FC9 /* mmxfrag.h in Headers */, - 084C323A0FE4E5BD00117FC9 /* mmxloop.h in Headers */, - 084C323C0FE4E5BD00117FC9 /* x86int.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 7388370C0B192732005C7A69 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 084C32810FE4E5D500117FC9 /* encint.h in Headers */, - 084C32850FE4E5D500117FC9 /* enquant.h in Headers */, - 084C32880FE4E5D500117FC9 /* huffenc.h in Headers */, - 084C328A0FE4E5D500117FC9 /* mathops.h in Headers */, - 084C328C0FE4E5D500117FC9 /* modedec.h in Headers */, - 084C32940FE4E5D500117FC9 /* x86enc.h in Headers */, - 084C32A80FE4E7FF00117FC9 /* apiwrapper.h in Headers */, - 084C32A90FE4E82500117FC9 /* dct.h in Headers */, - 084C32AD0FE4E84800117FC9 /* quant.h in Headers */, - 084C32AF0FE4E84C00117FC9 /* ocintrin.h in Headers */, - 084C32B10FE4E85300117FC9 /* x86int.h in Headers */, - 084C32B50FE4E86B00117FC9 /* mmxfrag.h in Headers */, - 084C32B70FE4E88300117FC9 /* mmxloop.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 8D07F2BD0486CC7A007CD1D0 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 8D07F2BE0486CC7A007CD1D0 /* Theora_Prefix.pch in Headers */, - 734A75BF09D76BB9002D8FAE /* theora.h in Headers */, - 73514EC90B0C7E5700CEC060 /* cpu.h in Headers */, - 097729950BCAC60000303091 /* codec.h in Headers */, - 097729960BCAC60000303091 /* theoradec.h in Headers */, - 37CA8E390DD747F1005C8CB6 /* internal.h in Headers */, - 37C9B0140EBB831F0046849C /* theoraenc.h in Headers */, - 084C31FF0FE4E5BD00117FC9 /* apiwrapper.h in Headers */, - 084C32010FE4E5BD00117FC9 /* bitpack.h in Headers */, - 084C32020FE4E5BD00117FC9 /* dct.h in Headers */, - 084C32050FE4E5BD00117FC9 /* decint.h in Headers */, - 084C32080FE4E5BD00117FC9 /* dequant.h in Headers */, - 084C320B0FE4E5BD00117FC9 /* huffdec.h in Headers */, - 084C320C0FE4E5BD00117FC9 /* huffman.h in Headers */, - 084C32100FE4E5BD00117FC9 /* ocintrin.h in Headers */, - 084C32120FE4E5BD00117FC9 /* quant.h in Headers */, - 084C32150FE4E5BD00117FC9 /* mmxfrag.h in Headers */, - 084C32170FE4E5BD00117FC9 /* mmxloop.h in Headers */, - 084C32190FE4E5BD00117FC9 /* x86int.h in Headers */, - 084C32660FE4E5D500117FC9 /* encint.h in Headers */, - 084C326A0FE4E5D500117FC9 /* enquant.h in Headers */, - 084C326D0FE4E5D500117FC9 /* huffenc.h in Headers */, - 084C326F0FE4E5D500117FC9 /* mathops.h in Headers */, - 084C32710FE4E5D500117FC9 /* modedec.h in Headers */, - 084C32790FE4E5D500117FC9 /* x86enc.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 09C8F6420C82FBE500F72188 /* libtheoradec (static) */ = { - isa = PBXNativeTarget; - buildConfigurationList = 09C8F6610C82FC3E00F72188 /* Build configuration list for PBXNativeTarget "libtheoradec (static)" */; - buildPhases = ( - 09C8F63F0C82FBE500F72188 /* Headers */, - 09C8F6400C82FBE500F72188 /* Sources */, - 09C8F6410C82FBE500F72188 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "libtheoradec (static)"; - productName = libtheoradec; - productReference = 09C8F6430C82FBE500F72188 /* libtheoradec.a */; - productType = "com.apple.product-type.library.static"; - }; - 7388370F0B192732005C7A69 /* libtheoraenc (static) */ = { - isa = PBXNativeTarget; - buildConfigurationList = 738837110B19277F005C7A69 /* Build configuration list for PBXNativeTarget "libtheoraenc (static)" */; - buildPhases = ( - 7388370C0B192732005C7A69 /* Headers */, - 7388370D0B192732005C7A69 /* Sources */, - 7388370E0B192732005C7A69 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "libtheoraenc (static)"; - productName = theora; - productReference = 738837100B192732005C7A69 /* libtheoraenc.a */; - productType = "com.apple.product-type.library.static"; - }; - 8D07F2BC0486CC7A007CD1D0 /* Theora */ = { - isa = PBXNativeTarget; - buildConfigurationList = 4FADC24208B4156D00ABE55E /* Build configuration list for PBXNativeTarget "Theora" */; - buildPhases = ( - 8D07F2BD0486CC7A007CD1D0 /* Headers */, - 8D07F2BF0486CC7A007CD1D0 /* Resources */, - 8D07F2C10486CC7A007CD1D0 /* Sources */, - 8D07F2C30486CC7A007CD1D0 /* Frameworks */, - 8D07F2C50486CC7A007CD1D0 /* Rez */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Theora; - productInstallPath = "$(HOME)/Library/Frameworks"; - productName = Theora; - productReference = 8D07F2C80486CC7A007CD1D0 /* Theora.framework */; - productType = "com.apple.product-type.framework"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 0867D690FE84028FC02AAC07 /* Project object */ = { - isa = PBXProject; - buildConfigurationList = 4FADC24608B4156D00ABE55E /* Build configuration list for PBXProject "Theora" */; - compatibilityVersion = "Xcode 2.4"; - hasScannedForEncodings = 1; - mainGroup = 0867D691FE84028FC02AAC07 /* Theora */; - productRefGroup = 034768DDFF38A45A11DB9C8B /* Products */; - projectDirPath = ""; - projectRoot = ..; - targets = ( - 8D07F2BC0486CC7A007CD1D0 /* Theora */, - 7388370F0B192732005C7A69 /* libtheoraenc (static) */, - 09C8F6420C82FBE500F72188 /* libtheoradec (static) */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 8D07F2BF0486CC7A007CD1D0 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 8D07F2C00486CC7A007CD1D0 /* InfoPlist.strings in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXRezBuildPhase section */ - 8D07F2C50486CC7A007CD1D0 /* Rez */ = { - isa = PBXRezBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXRezBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 09C8F6400C82FBE500F72188 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 084C32210FE4E5BD00117FC9 /* apiwrapper.c in Sources */, - 084C32230FE4E5BD00117FC9 /* bitpack.c in Sources */, - 084C32260FE4E5BD00117FC9 /* decapiwrapper.c in Sources */, - 084C32270FE4E5BD00117FC9 /* decinfo.c in Sources */, - 084C32290FE4E5BD00117FC9 /* decode.c in Sources */, - 084C322A0FE4E5BD00117FC9 /* dequant.c in Sources */, - 084C322C0FE4E5BD00117FC9 /* fragment.c in Sources */, - 084C322D0FE4E5BD00117FC9 /* huffdec.c in Sources */, - 084C32300FE4E5BD00117FC9 /* idct.c in Sources */, - 084C32310FE4E5BD00117FC9 /* info.c in Sources */, - 084C32320FE4E5BD00117FC9 /* internal.c in Sources */, - 084C32340FE4E5BD00117FC9 /* quant.c in Sources */, - 084C32360FE4E5BD00117FC9 /* state.c in Sources */, - 084C32370FE4E5BD00117FC9 /* mmxfrag.c in Sources */, - 084C32390FE4E5BD00117FC9 /* mmxidct.c in Sources */, - 084C323B0FE4E5BD00117FC9 /* mmxstate.c in Sources */, - 084C323D0FE4E5BD00117FC9 /* x86state.c in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 7388370D0B192732005C7A69 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 084C327D0FE4E5D500117FC9 /* analyze.c in Sources */, - 084C327E0FE4E5D500117FC9 /* encapiwrapper.c in Sources */, - 084C327F0FE4E5D500117FC9 /* encfrag.c in Sources */, - 084C32800FE4E5D500117FC9 /* encinfo.c in Sources */, - 084C32820FE4E5D500117FC9 /* encode.c in Sources */, - 084C32840FE4E5D500117FC9 /* enquant.c in Sources */, - 084C32860FE4E5D500117FC9 /* fdct.c in Sources */, - 084C32870FE4E5D500117FC9 /* huffenc.c in Sources */, - 084C32890FE4E5D500117FC9 /* mathops.c in Sources */, - 084C328B0FE4E5D500117FC9 /* mcenc.c in Sources */, - 084C328D0FE4E5D500117FC9 /* rate.c in Sources */, - 084C328E0FE4E5D500117FC9 /* tokenize.c in Sources */, - 084C32900FE4E5D500117FC9 /* mmxencfrag.c in Sources */, - 084C32910FE4E5D500117FC9 /* mmxfdct.c in Sources */, - 084C32920FE4E5D500117FC9 /* sse2fdct.c in Sources */, - 084C32930FE4E5D500117FC9 /* x86enc.c in Sources */, - 084C32A70FE4E7FE00117FC9 /* apiwrapper.c in Sources */, - 084C32AA0FE4E83100117FC9 /* idct.c in Sources */, - 084C32AB0FE4E83300117FC9 /* internal.c in Sources */, - 084C32AC0FE4E83600117FC9 /* fragment.c in Sources */, - 084C32AE0FE4E84A00117FC9 /* quant.c in Sources */, - 084C32B00FE4E84F00117FC9 /* state.c in Sources */, - 084C32B20FE4E85300117FC9 /* x86state.c in Sources */, - 084C32B30FE4E85D00117FC9 /* mmxstate.c in Sources */, - 084C32B40FE4E86A00117FC9 /* mmxfrag.c in Sources */, - 084C32B60FE4E87200117FC9 /* mmxidct.c in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 8D07F2C10486CC7A007CD1D0 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 084C31FE0FE4E5BD00117FC9 /* apiwrapper.c in Sources */, - 084C32000FE4E5BD00117FC9 /* bitpack.c in Sources */, - 084C32030FE4E5BD00117FC9 /* decapiwrapper.c in Sources */, - 084C32040FE4E5BD00117FC9 /* decinfo.c in Sources */, - 084C32060FE4E5BD00117FC9 /* decode.c in Sources */, - 084C32070FE4E5BD00117FC9 /* dequant.c in Sources */, - 084C32090FE4E5BD00117FC9 /* fragment.c in Sources */, - 084C320A0FE4E5BD00117FC9 /* huffdec.c in Sources */, - 084C320D0FE4E5BD00117FC9 /* idct.c in Sources */, - 084C320E0FE4E5BD00117FC9 /* info.c in Sources */, - 084C320F0FE4E5BD00117FC9 /* internal.c in Sources */, - 084C32110FE4E5BD00117FC9 /* quant.c in Sources */, - 084C32130FE4E5BD00117FC9 /* state.c in Sources */, - 084C32140FE4E5BD00117FC9 /* mmxfrag.c in Sources */, - 084C32160FE4E5BD00117FC9 /* mmxidct.c in Sources */, - 084C32180FE4E5BD00117FC9 /* mmxstate.c in Sources */, - 084C321A0FE4E5BD00117FC9 /* x86state.c in Sources */, - 084C32620FE4E5D500117FC9 /* analyze.c in Sources */, - 084C32630FE4E5D500117FC9 /* encapiwrapper.c in Sources */, - 084C32640FE4E5D500117FC9 /* encfrag.c in Sources */, - 084C32650FE4E5D500117FC9 /* encinfo.c in Sources */, - 084C32670FE4E5D500117FC9 /* encode.c in Sources */, - 084C32690FE4E5D500117FC9 /* enquant.c in Sources */, - 084C326B0FE4E5D500117FC9 /* fdct.c in Sources */, - 084C326C0FE4E5D500117FC9 /* huffenc.c in Sources */, - 084C326E0FE4E5D500117FC9 /* mathops.c in Sources */, - 084C32700FE4E5D500117FC9 /* mcenc.c in Sources */, - 084C32720FE4E5D500117FC9 /* rate.c in Sources */, - 084C32730FE4E5D500117FC9 /* tokenize.c in Sources */, - 084C32750FE4E5D500117FC9 /* mmxencfrag.c in Sources */, - 084C32760FE4E5D500117FC9 /* mmxfdct.c in Sources */, - 084C32770FE4E5D500117FC9 /* sse2fdct.c in Sources */, - 084C32780FE4E5D500117FC9 /* x86enc.c in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXVariantGroup section */ - 089C1666FE841158C02AAC07 /* InfoPlist.strings */ = { - isa = PBXVariantGroup; - children = ( - 089C1667FE841158C02AAC07 /* English */, - ); - name = InfoPlist.strings; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 09C8F6620C82FC3E00F72188 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - COPY_PHASE_STRIP = NO; - GCC_DYNAMIC_NO_PIC = NO; - GCC_ENABLE_FIX_AND_CONTINUE = YES; - GCC_GENERATE_DEBUGGING_SYMBOLS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - ../../ogg/include, - ); - INSTALL_PATH = /usr/local/lib; - PREBINDING = NO; - PRODUCT_NAME = theoradec; - ZERO_LINK = YES; - }; - name = Debug; - }; - 09C8F6630C82FC3E00F72188 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - COPY_PHASE_STRIP = YES; - GCC_ENABLE_FIX_AND_CONTINUE = NO; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - ../../ogg/include, - ); - INSTALL_PATH = /usr/local/lib; - PREBINDING = NO; - PRODUCT_NAME = theoradec; - ZERO_LINK = NO; - }; - name = Release; - }; - 4FADC24308B4156D00ABE55E /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - COPY_PHASE_STRIP = NO; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - /Library/Frameworks, - ); - FRAMEWORK_VERSION = A; - GCC_ENABLE_FIX_AND_CONTINUE = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = Theora_Prefix.pch; - INFOPLIST_FILE = Info.plist; - INSTALL_PATH = /Library/Frameworks; - LIBRARY_STYLE = DYNAMIC; - MACH_O_TYPE = mh_dylib; - OTHER_LDFLAGS_i386 = "-Wl,-read_only_relocs,suppress"; - PRODUCT_NAME = Theora; - WRAPPER_EXTENSION = framework; - ZERO_LINK = YES; - }; - name = Debug; - }; - 4FADC24408B4156D00ABE55E /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - /Library/Frameworks, - ); - FRAMEWORK_VERSION = A; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = Theora_Prefix.pch; - INFOPLIST_FILE = Info.plist; - INSTALL_PATH = /Library/Frameworks; - LIBRARY_STYLE = DYNAMIC; - MACH_O_TYPE = mh_dylib; - OTHER_LDFLAGS_i386 = "-Wl,-read_only_relocs,suppress"; - PREBINDING = YES; - PRODUCT_NAME = Theora; - WRAPPER_EXTENSION = framework; - }; - name = Release; - }; - 4FADC24708B4156D00ABE55E /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(GCC_PREPROCESSOR_DEFINITIONS)", - __MACOSX__, - ); - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - ../include, - "../lib/**", - ); - OTHER_CFLAGS = ""; - PREBINDING = NO; - SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; - }; - name = Debug; - }; - 4FADC24808B4156D00ABE55E /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)"; - ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386"; - GCC_OPTIMIZATION_LEVEL = 3; - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(GCC_PREPROCESSOR_DEFINITIONS)", - __MACOSX__, - ); - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - ../include, - "../lib/**", - ); - OTHER_CFLAGS = ( - "$(OTHER_CFLAGS)", - "-falign-loops=16", - "-fforce-addr", - "-fomit-frame-pointer", - "-finline-functions", - "-funroll-loops", - ); - PER_ARCH_CFLAGS_i386 = "-DOC_X86_ASM"; - PREBINDING = NO; - SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; - }; - name = Release; - }; - 738837120B19277F005C7A69 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - COPY_PHASE_STRIP = NO; - GCC_DYNAMIC_NO_PIC = NO; - GCC_ENABLE_FIX_AND_CONTINUE = YES; - GCC_GENERATE_DEBUGGING_SYMBOLS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - ../../ogg/include, - ); - INSTALL_PATH = /usr/local/lib; - PREBINDING = NO; - PRODUCT_NAME = theoraenc; - ZERO_LINK = YES; - }; - name = Debug; - }; - 738837130B19277F005C7A69 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - COPY_PHASE_STRIP = YES; - GCC_ENABLE_FIX_AND_CONTINUE = NO; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - ../../ogg/include, - ); - INSTALL_PATH = /usr/local/lib; - PREBINDING = NO; - PRODUCT_NAME = theoraenc; - ZERO_LINK = NO; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 09C8F6610C82FC3E00F72188 /* Build configuration list for PBXNativeTarget "libtheoradec (static)" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 09C8F6620C82FC3E00F72188 /* Debug */, - 09C8F6630C82FC3E00F72188 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 4FADC24208B4156D00ABE55E /* Build configuration list for PBXNativeTarget "Theora" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4FADC24308B4156D00ABE55E /* Debug */, - 4FADC24408B4156D00ABE55E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 4FADC24608B4156D00ABE55E /* Build configuration list for PBXProject "Theora" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4FADC24708B4156D00ABE55E /* Debug */, - 4FADC24808B4156D00ABE55E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 738837110B19277F005C7A69 /* Build configuration list for PBXNativeTarget "libtheoraenc (static)" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 738837120B19277F005C7A69 /* Debug */, - 738837130B19277F005C7A69 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 0867D690FE84028FC02AAC07 /* Project object */; -} diff --git a/Libraries/libtheora-1.1.1/macosx/Theora_Prefix.pch b/Libraries/libtheora-1.1.1/macosx/Theora_Prefix.pch deleted file mode 100644 index ddae8072..00000000 --- a/Libraries/libtheora-1.1.1/macosx/Theora_Prefix.pch +++ /dev/null @@ -1,5 +0,0 @@ -// -// Prefix header for all source files of the 'Theora' target in the 'Theora' project. -// - -#include diff --git a/Libraries/libtheora-1.1.1/missing b/Libraries/libtheora-1.1.1/missing deleted file mode 100644 index 6a37006e..00000000 --- a/Libraries/libtheora-1.1.1/missing +++ /dev/null @@ -1,336 +0,0 @@ -#! /bin/sh -# Common stub for a few missing GNU programs while installing. -# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc. -# Originally by Fran,cois Pinard , 1996. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -if test $# -eq 0; then - echo 1>&2 "Try \`$0 --help' for more information" - exit 1 -fi - -run=: - -# In the cases where this matters, `missing' is being run in the -# srcdir already. -if test -f configure.ac; then - configure_ac=configure.ac -else - configure_ac=configure.in -fi - -case "$1" in ---run) - # Try to run requested program, and just exit if it succeeds. - run= - shift - "$@" && exit 0 - ;; -esac - -# If it does not exist, or fails to run (possibly an outdated version), -# try to emulate it. -case "$1" in - - -h|--h|--he|--hel|--help) - echo "\ -$0 [OPTION]... PROGRAM [ARGUMENT]... - -Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an -error status if there is no known handling for PROGRAM. - -Options: - -h, --help display this help and exit - -v, --version output version information and exit - --run try to run the given command, and emulate it if it fails - -Supported PROGRAM values: - aclocal touch file \`aclocal.m4' - autoconf touch file \`configure' - autoheader touch file \`config.h.in' - automake touch all \`Makefile.in' files - bison create \`y.tab.[ch]', if possible, from existing .[ch] - flex create \`lex.yy.c', if possible, from existing .c - help2man touch the output file - lex create \`lex.yy.c', if possible, from existing .c - makeinfo touch the output file - tar try tar, gnutar, gtar, then tar without non-portable flags - yacc create \`y.tab.[ch]', if possible, from existing .[ch]" - ;; - - -v|--v|--ve|--ver|--vers|--versi|--versio|--version) - echo "missing 0.4 - GNU automake" - ;; - - -*) - echo 1>&2 "$0: Unknown \`$1' option" - echo 1>&2 "Try \`$0 --help' for more information" - exit 1 - ;; - - aclocal*) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - - echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if - you modified \`acinclude.m4' or \`${configure_ac}'. You might want - to install the \`Automake' and \`Perl' packages. Grab them from - any GNU archive site." - touch aclocal.m4 - ;; - - autoconf) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - - echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if - you modified \`${configure_ac}'. You might want to install the - \`Autoconf' and \`GNU m4' packages. Grab them from any GNU - archive site." - touch configure - ;; - - autoheader) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - - echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if - you modified \`acconfig.h' or \`${configure_ac}'. You might want - to install the \`Autoconf' and \`GNU m4' packages. Grab them - from any GNU archive site." - files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` - test -z "$files" && files="config.h" - touch_files= - for f in $files; do - case "$f" in - *:*) touch_files="$touch_files "`echo "$f" | - sed -e 's/^[^:]*://' -e 's/:.*//'`;; - *) touch_files="$touch_files $f.in";; - esac - done - touch $touch_files - ;; - - automake*) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - - echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if - you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. - You might want to install the \`Automake' and \`Perl' packages. - Grab them from any GNU archive site." - find . -type f -name Makefile.am -print | - sed 's/\.am$/.in/' | - while read f; do touch "$f"; done - ;; - - autom4te) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - - echo 1>&2 "\ -WARNING: \`$1' is needed, and you do not seem to have it handy on your - system. You might have modified some files without having the - proper tools for further handling them. - You can get \`$1Help2man' as part of \`Autoconf' from any GNU - archive site." - - file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` - test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` - if test -f "$file"; then - touch $file - else - test -z "$file" || exec >$file - echo "#! /bin/sh" - echo "# Created by GNU Automake missing as a replacement of" - echo "# $ $@" - echo "exit 0" - chmod +x $file - exit 1 - fi - ;; - - bison|yacc) - echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if - you modified a \`.y' file. You may need the \`Bison' package - in order for those modifications to take effect. You can get - \`Bison' from any GNU archive site." - rm -f y.tab.c y.tab.h - if [ $# -ne 1 ]; then - eval LASTARG="\${$#}" - case "$LASTARG" in - *.y) - SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` - if [ -f "$SRCFILE" ]; then - cp "$SRCFILE" y.tab.c - fi - SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` - if [ -f "$SRCFILE" ]; then - cp "$SRCFILE" y.tab.h - fi - ;; - esac - fi - if [ ! -f y.tab.h ]; then - echo >y.tab.h - fi - if [ ! -f y.tab.c ]; then - echo 'main() { return 0; }' >y.tab.c - fi - ;; - - lex|flex) - echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if - you modified a \`.l' file. You may need the \`Flex' package - in order for those modifications to take effect. You can get - \`Flex' from any GNU archive site." - rm -f lex.yy.c - if [ $# -ne 1 ]; then - eval LASTARG="\${$#}" - case "$LASTARG" in - *.l) - SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` - if [ -f "$SRCFILE" ]; then - cp "$SRCFILE" lex.yy.c - fi - ;; - esac - fi - if [ ! -f lex.yy.c ]; then - echo 'main() { return 0; }' >lex.yy.c - fi - ;; - - help2man) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - - echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if - you modified a dependency of a manual page. You may need the - \`Help2man' package in order for those modifications to take - effect. You can get \`Help2man' from any GNU archive site." - - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` - if test -z "$file"; then - file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` - fi - if [ -f "$file" ]; then - touch $file - else - test -z "$file" || exec >$file - echo ".ab help2man is required to generate this page" - exit 1 - fi - ;; - - makeinfo) - if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then - # We have makeinfo, but it failed. - exit 1 - fi - - echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if - you modified a \`.texi' or \`.texinfo' file, or any other file - indirectly affecting the aspect of the manual. The spurious - call might also be the consequence of using a buggy \`make' (AIX, - DU, IRIX). You might want to install the \`Texinfo' package or - the \`GNU make' package. Grab either from any GNU archive site." - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` - if test -z "$file"; then - file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` - file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file` - fi - touch $file - ;; - - tar) - shift - if test -n "$run"; then - echo 1>&2 "ERROR: \`tar' requires --run" - exit 1 - fi - - # We have already tried tar in the generic part. - # Look for gnutar/gtar before invocation to avoid ugly error - # messages. - if (gnutar --version > /dev/null 2>&1); then - gnutar "$@" && exit 0 - fi - if (gtar --version > /dev/null 2>&1); then - gtar "$@" && exit 0 - fi - firstarg="$1" - if shift; then - case "$firstarg" in - *o*) - firstarg=`echo "$firstarg" | sed s/o//` - tar "$firstarg" "$@" && exit 0 - ;; - esac - case "$firstarg" in - *h*) - firstarg=`echo "$firstarg" | sed s/h//` - tar "$firstarg" "$@" && exit 0 - ;; - esac - fi - - echo 1>&2 "\ -WARNING: I can't seem to be able to run \`tar' with the given arguments. - You may want to install GNU tar or Free paxutils, or check the - command line arguments." - exit 1 - ;; - - *) - echo 1>&2 "\ -WARNING: \`$1' is needed, and you do not seem to have it handy on your - system. You might have modified some files without having the - proper tools for further handling them. Check the \`README' file, - it often tells you about the needed prerequirements for installing - this package. You may also peek at any GNU archive site, in case - some other package would contain this missing \`$1' program." - exit 1 - ;; -esac - -exit 0 diff --git a/Libraries/libtheora-1.1.1/mkinstalldirs b/Libraries/libtheora-1.1.1/mkinstalldirs deleted file mode 100644 index 8ab885ec..00000000 --- a/Libraries/libtheora-1.1.1/mkinstalldirs +++ /dev/null @@ -1,99 +0,0 @@ -#! /bin/sh -# mkinstalldirs --- make directory hierarchy -# Author: Noah Friedman -# Created: 1993-05-16 -# Public domain - -errstatus=0 -dirmode="" - -usage="\ -Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." - -# process command line arguments -while test $# -gt 0 ; do - case "${1}" in - -h | --help | --h* ) # -h for help - echo "${usage}" 1>&2; exit 0 ;; - -m ) # -m PERM arg - shift - test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; } - dirmode="${1}" - shift ;; - -- ) shift; break ;; # stop option processing - -* ) echo "${usage}" 1>&2; exit 1 ;; # unknown option - * ) break ;; # first non-opt arg - esac -done - -for file -do - if test -d "$file"; then - shift - else - break - fi -done - -case $# in -0) exit 0 ;; -esac - -case $dirmode in -'') - if mkdir -p -- . 2>/dev/null; then - echo "mkdir -p -- $*" - exec mkdir -p -- "$@" - fi ;; -*) - if mkdir -m "$dirmode" -p -- . 2>/dev/null; then - echo "mkdir -m $dirmode -p -- $*" - exec mkdir -m "$dirmode" -p -- "$@" - fi ;; -esac - -for file -do - set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` - shift - - pathcomp= - for d - do - pathcomp="$pathcomp$d" - case "$pathcomp" in - -* ) pathcomp=./$pathcomp ;; - esac - - if test ! -d "$pathcomp"; then - echo "mkdir $pathcomp" - - mkdir "$pathcomp" || lasterr=$? - - if test ! -d "$pathcomp"; then - errstatus=$lasterr - else - if test ! -z "$dirmode"; then - echo "chmod $dirmode $pathcomp" - - lasterr="" - chmod "$dirmode" "$pathcomp" || lasterr=$? - - if test ! -z "$lasterr"; then - errstatus=$lasterr - fi - fi - fi - fi - - pathcomp="$pathcomp/" - done -done - -exit $errstatus - -# Local Variables: -# mode: shell-script -# sh-indentation: 3 -# End: -# mkinstalldirs ends here diff --git a/Libraries/libtheora-1.1.1/symbian/bld.inf b/Libraries/libtheora-1.1.1/symbian/bld.inf deleted file mode 100644 index 56a1514c..00000000 --- a/Libraries/libtheora-1.1.1/symbian/bld.inf +++ /dev/null @@ -1,35 +0,0 @@ -/* - Copyright (C) 2003 Commonwealth Scientific and Industrial Research - Organisation (CSIRO) Australia - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - - - Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - - Neither the name of CSIRO Australia nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -PRJ_MMPFILES - -theora.mmp diff --git a/Libraries/libtheora-1.1.1/symbian/config.h b/Libraries/libtheora-1.1.1/symbian/config.h deleted file mode 100644 index 21f6b872..00000000 --- a/Libraries/libtheora-1.1.1/symbian/config.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - Copyright (C) 2003 Commonwealth Scientific and Industrial Research - Organisation (CSIRO) Australia - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - - - Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - - Neither the name of CSIRO Australia nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -#ifndef CONFIG_H -#define CONFIG_H - -/* Do not build encoding support */ - -#define THEORA_SUPPORT_ENCODE 0 - -/* Do not build floating point code */ - -#define THEORA_DISABLE_FLOAT 1 - -#ifdef __WINS__ - -/* Disable some warnings */ - -#pragma warning(disable: 4100) /* unreferenced formal parameter */ -//#pragma warning(disable: 4121) /* alignment of a member was sensitive to packing */ -#pragma warning(disable: 4244) /* conversion from '...' to '...', possible loss of data */ -#pragma warning(disable: 4505) /* unreferenced local function has been removed */ -#pragma warning(disable: 4701) /* local variable may be be used without having been initialized */ -#pragma warning(disable: 4761) /* integral size mismatch in argument: conversion supplied */ - -#endif - -#endif /* ! CONFIG_H */ diff --git a/Libraries/libtheora-1.1.1/symbian/theora.mmp b/Libraries/libtheora-1.1.1/symbian/theora.mmp deleted file mode 100644 index 70e0df32..00000000 --- a/Libraries/libtheora-1.1.1/symbian/theora.mmp +++ /dev/null @@ -1,41 +0,0 @@ -/* - Copyright (C) 2003 Commonwealth Scientific and Industrial Research - Organisation (CSIRO) Australia - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - - - Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - - Neither the name of CSIRO Australia nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -TARGET theora.lib -TARGETTYPE lib -UID 0 -MACRO HAVE_CONFIG_H -SOURCEPATH ..\lib -SOURCE blockmap.c comment.c dct.c dct_decode.c decode.c frarray.c frinit.c huffman.c -SOURCE idct.c mcomp.c misc_common.c pb.c pp.c quant.c reconstruct.c scan.c toplevel.c encoder_disabled.c -USERINCLUDE . -SYSTEMINCLUDE \epoc32\include \epoc32\include\libc ..\include ..\..\ogg\include ..\..\ogg\symbian diff --git a/Libraries/libtheora-1.1.1/tests/Makefile.am b/Libraries/libtheora-1.1.1/tests/Makefile.am deleted file mode 100644 index 7c11232a..00000000 --- a/Libraries/libtheora-1.1.1/tests/Makefile.am +++ /dev/null @@ -1,69 +0,0 @@ -INCLUDES = -I$(top_srcdir)/include - -noinst_HEADERS = tests.h - -AM_CFLAGS = $(OGG_CFLAGS) - -THEORADIR = ../lib -THEORA_LIBS = $(THEORADIR)/libtheora.la $(OGG_LIBS) -THEORADEC_LIBS = $(THEORADIR)/libtheoradec.la $(OGG_LIBS) -THEORAENC_LIBS = $(THEORADIR)/libtheoraenc.la \ - $(THEORADIR)/libtheoradec.la $(OGG_LIBS) -test: check - -TESTS_ENVIRONMENT = $(VALGRIND_ENVIRONMENT) - -TESTS_DEC = noop_theora \ - comment comment_theoradec comment_theora - -TESTS_ENC = noop noop_theoraenc \ - granulepos granulepos_theoraenc granulepos_theora - -if THEORA_DISABLE_ENCODE -TESTS = $(TESTS_DEC) -else -TESTS = $(TESTS_DEC) $(TESTS_ENC) -endif - -check_PROGRAMS = $(TESTS) -# dummy call tests for the current api -noop_SOURCES = noop.c -noop_LDADD = $(THEORAENC_LIBS) -noop_CFLAGS = $(OGG_CFLAGS) - -# dummy call tests for the pre-1.0 legacy api with current link line -noop_theoraenc_SOURCES = noop_theora.c -noop_theoraenc_LDADD = $(THEORAENC_LIBS) -noop_theoraenc_CFLAGS = $(OGG_CFLAGS) - -# dummy call tests for the pre-1.0 legacy api with legacy link line -noop_theora_SOURCES = noop_theora.c -noop_theora_LDADD = $(THEORA_LIBS) -noop_theora_CFLAGS = $(OGG_CFLAGS) - -# comment utilities for the current api -comment_SOURCES = comment.c -comment_LDADD = $(THEORADEC_LIBS) -comment_CFLAGS = $(OGG_CFLAGS) - -# comment utilities for the legacy api and current lib -comment_theoradec_SOURCES = comment.c -comment_theoradec_LDADD = $(THEORADEC_LIBS) -comment_theoradec_CFLAGS = $(OGG_CFLAGS) - -# comment utilities for the legacy api and legacy lib -comment_theora_SOURCES = comment_theora.c -comment_theora_LDADD = $(THEORA_LIBS) -comment_theora_CFLAGS = $(OGG_CFLAGS) - -granulepos_SOURCES = granulepos.c -granulepos_LDADD = $(THEORAENC_LIBS) -lm -granulepos_CFLAGS = $(OGG_CFLAGS) - -granulepos_theoraenc_SOURCES = granulepos_theora.c -granulepos_theoraenc_LDADD = $(THEORAENC_LIBS) -lm -granulepos_theoraenc_CFLAGS = $(OGG_CFLAGS) - -granulepos_theora_SOURCES = granulepos_theora.c -granulepos_theora_LDADD = $(THEORA_LIBS) -lm -granulepos_theora_CFLAGS = $(OGG_CFLAGS) diff --git a/Libraries/libtheora-1.1.1/tests/Makefile.in b/Libraries/libtheora-1.1.1/tests/Makefile.in deleted file mode 100644 index dc25a718..00000000 --- a/Libraries/libtheora-1.1.1/tests/Makefile.in +++ /dev/null @@ -1,787 +0,0 @@ -# Makefile.in generated by automake 1.6.3 from Makefile.am. -# @configure_input@ - -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 -# Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -SHELL = @SHELL@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_HEADER = $(INSTALL_DATA) -transform = @program_transform_name@ -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_alias = @host_alias@ -host_triplet = @host@ - -EXEEXT = @EXEEXT@ -OBJEXT = @OBJEXT@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ -AMTAR = @AMTAR@ -AR = @AR@ -ARGZ_H = @ARGZ_H@ -AS = @AS@ -AWK = @AWK@ -BUILDABLE_EXAMPLES = @BUILDABLE_EXAMPLES@ -CAIRO_CFLAGS = @CAIRO_CFLAGS@ -CAIRO_LIBS = @CAIRO_LIBS@ -CC = @CC@ -CPP = @CPP@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -DEBUG = @DEBUG@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -F77 = @F77@ -GCJ = @GCJ@ -GCJFLAGS = @GCJFLAGS@ -GETOPT_OBJS = @GETOPT_OBJS@ -GREP = @GREP@ -HAVE_BIBTEX = @HAVE_BIBTEX@ -HAVE_DOXYGEN = @HAVE_DOXYGEN@ -HAVE_PDFLATEX = @HAVE_PDFLATEX@ -HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@ -HAVE_TRANSFIG = @HAVE_TRANSFIG@ -HAVE_VALGRIND = @HAVE_VALGRIND@ -INCLTDL = @INCLTDL@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LD = @LD@ -LIBADD_DL = @LIBADD_DL@ -LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ -LIBADD_DLOPEN = @LIBADD_DLOPEN@ -LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ -LIBLTDL = @LIBLTDL@ -LIBM = @LIBM@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTDLDEPS = @LTDLDEPS@ -LTDLINCL = @LTDLINCL@ -LTDLOPEN = @LTDLOPEN@ -LT_CONFIG_H = @LT_CONFIG_H@ -LT_DLLOADERS = @LT_DLLOADERS@ -LT_DLPREOPEN = @LT_DLPREOPEN@ -MAINT = @MAINT@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OGG_CFLAGS = @OGG_CFLAGS@ -OGG_LIBS = @OGG_LIBS@ -OSS_LIBS = @OSS_LIBS@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PKG_CONFIG = @PKG_CONFIG@ -PNG_CFLAGS = @PNG_CFLAGS@ -PNG_LIBS = @PNG_LIBS@ -PROFILE = @PROFILE@ -RANLIB = @RANLIB@ -RC = @RC@ -SDL_CFLAGS = @SDL_CFLAGS@ -SDL_CONFIG = @SDL_CONFIG@ -SDL_LIBS = @SDL_LIBS@ -SED = @SED@ -STRIP = @STRIP@ -THDEC_LIB_AGE = @THDEC_LIB_AGE@ -THDEC_LIB_CURRENT = @THDEC_LIB_CURRENT@ -THDEC_LIB_REVISION = @THDEC_LIB_REVISION@ -THENC_LIB_AGE = @THENC_LIB_AGE@ -THENC_LIB_CURRENT = @THENC_LIB_CURRENT@ -THENC_LIB_REVISION = @THENC_LIB_REVISION@ -THEORADEC_LDFLAGS = @THEORADEC_LDFLAGS@ -THEORAENC_LDFLAGS = @THEORAENC_LDFLAGS@ -THEORA_LDFLAGS = @THEORA_LDFLAGS@ -TH_LIB_AGE = @TH_LIB_AGE@ -TH_LIB_CURRENT = @TH_LIB_CURRENT@ -TH_LIB_REVISION = @TH_LIB_REVISION@ -VALGRIND_ENVIRONMENT = @VALGRIND_ENVIRONMENT@ -VERSION = @VERSION@ -VORBISENC_LIBS = @VORBISENC_LIBS@ -VORBISFILE_LIBS = @VORBISFILE_LIBS@ -VORBIS_CFLAGS = @VORBIS_CFLAGS@ -VORBIS_LIBS = @VORBIS_LIBS@ -am__include = @am__include@ -am__quote = @am__quote@ -install_sh = @install_sh@ -lt_ECHO = @lt_ECHO@ -ltdl_LIBOBJS = @ltdl_LIBOBJS@ -ltdl_LTLIBOBJS = @ltdl_LTLIBOBJS@ -sys_symbol_underscore = @sys_symbol_underscore@ -INCLUDES = -I$(top_srcdir)/include - -noinst_HEADERS = tests.h - -AM_CFLAGS = $(OGG_CFLAGS) - -THEORADIR = ../lib -THEORA_LIBS = $(THEORADIR)/libtheora.la $(OGG_LIBS) -THEORADEC_LIBS = $(THEORADIR)/libtheoradec.la $(OGG_LIBS) -THEORAENC_LIBS = $(THEORADIR)/libtheoraenc.la \ - $(THEORADIR)/libtheoradec.la $(OGG_LIBS) - - -TESTS_ENVIRONMENT = $(VALGRIND_ENVIRONMENT) - -TESTS_DEC = noop_theora \ - comment comment_theoradec comment_theora - - -TESTS_ENC = noop noop_theoraenc \ - granulepos granulepos_theoraenc granulepos_theora - - -@THEORA_DISABLE_ENCODE_TRUE@TESTS = $(TESTS_DEC) -@THEORA_DISABLE_ENCODE_FALSE@TESTS = $(TESTS_DEC) $(TESTS_ENC) - -check_PROGRAMS = $(TESTS) -# dummy call tests for the current api -noop_SOURCES = noop.c -noop_LDADD = $(THEORAENC_LIBS) -noop_CFLAGS = $(OGG_CFLAGS) - -# dummy call tests for the pre-1.0 legacy api with current link line -noop_theoraenc_SOURCES = noop_theora.c -noop_theoraenc_LDADD = $(THEORAENC_LIBS) -noop_theoraenc_CFLAGS = $(OGG_CFLAGS) - -# dummy call tests for the pre-1.0 legacy api with legacy link line -noop_theora_SOURCES = noop_theora.c -noop_theora_LDADD = $(THEORA_LIBS) -noop_theora_CFLAGS = $(OGG_CFLAGS) - -# comment utilities for the current api -comment_SOURCES = comment.c -comment_LDADD = $(THEORADEC_LIBS) -comment_CFLAGS = $(OGG_CFLAGS) - -# comment utilities for the legacy api and current lib -comment_theoradec_SOURCES = comment.c -comment_theoradec_LDADD = $(THEORADEC_LIBS) -comment_theoradec_CFLAGS = $(OGG_CFLAGS) - -# comment utilities for the legacy api and legacy lib -comment_theora_SOURCES = comment_theora.c -comment_theora_LDADD = $(THEORA_LIBS) -comment_theora_CFLAGS = $(OGG_CFLAGS) - -granulepos_SOURCES = granulepos.c -granulepos_LDADD = $(THEORAENC_LIBS) -lm -granulepos_CFLAGS = $(OGG_CFLAGS) - -granulepos_theoraenc_SOURCES = granulepos_theora.c -granulepos_theoraenc_LDADD = $(THEORAENC_LIBS) -lm -granulepos_theoraenc_CFLAGS = $(OGG_CFLAGS) - -granulepos_theora_SOURCES = granulepos_theora.c -granulepos_theora_LDADD = $(THEORA_LIBS) -lm -granulepos_theora_CFLAGS = $(OGG_CFLAGS) -subdir = tests -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -@THEORA_DISABLE_ENCODE_TRUE@check_PROGRAMS = noop_theora$(EXEEXT) \ -@THEORA_DISABLE_ENCODE_TRUE@ comment$(EXEEXT) \ -@THEORA_DISABLE_ENCODE_TRUE@ comment_theoradec$(EXEEXT) \ -@THEORA_DISABLE_ENCODE_TRUE@ comment_theora$(EXEEXT) -@THEORA_DISABLE_ENCODE_FALSE@check_PROGRAMS = noop_theora$(EXEEXT) \ -@THEORA_DISABLE_ENCODE_FALSE@ comment$(EXEEXT) \ -@THEORA_DISABLE_ENCODE_FALSE@ comment_theoradec$(EXEEXT) \ -@THEORA_DISABLE_ENCODE_FALSE@ comment_theora$(EXEEXT) \ -@THEORA_DISABLE_ENCODE_FALSE@ noop$(EXEEXT) \ -@THEORA_DISABLE_ENCODE_FALSE@ noop_theoraenc$(EXEEXT) \ -@THEORA_DISABLE_ENCODE_FALSE@ granulepos$(EXEEXT) \ -@THEORA_DISABLE_ENCODE_FALSE@ granulepos_theoraenc$(EXEEXT) \ -@THEORA_DISABLE_ENCODE_FALSE@ granulepos_theora$(EXEEXT) -am_comment_OBJECTS = comment-comment.$(OBJEXT) -comment_OBJECTS = $(am_comment_OBJECTS) -comment_DEPENDENCIES = $(THEORADIR)/libtheoradec.la -comment_LDFLAGS = -am_comment_theora_OBJECTS = comment_theora-comment_theora.$(OBJEXT) -comment_theora_OBJECTS = $(am_comment_theora_OBJECTS) -comment_theora_DEPENDENCIES = $(THEORADIR)/libtheora.la -comment_theora_LDFLAGS = -am_comment_theoradec_OBJECTS = comment_theoradec-comment.$(OBJEXT) -comment_theoradec_OBJECTS = $(am_comment_theoradec_OBJECTS) -comment_theoradec_DEPENDENCIES = $(THEORADIR)/libtheoradec.la -comment_theoradec_LDFLAGS = -am_granulepos_OBJECTS = granulepos-granulepos.$(OBJEXT) -granulepos_OBJECTS = $(am_granulepos_OBJECTS) -granulepos_DEPENDENCIES = $(THEORADIR)/libtheoraenc.la \ - $(THEORADIR)/libtheoradec.la -granulepos_LDFLAGS = -am_granulepos_theora_OBJECTS = \ - granulepos_theora-granulepos_theora.$(OBJEXT) -granulepos_theora_OBJECTS = $(am_granulepos_theora_OBJECTS) -granulepos_theora_DEPENDENCIES = $(THEORADIR)/libtheora.la -granulepos_theora_LDFLAGS = -am_granulepos_theoraenc_OBJECTS = \ - granulepos_theoraenc-granulepos_theora.$(OBJEXT) -granulepos_theoraenc_OBJECTS = $(am_granulepos_theoraenc_OBJECTS) -granulepos_theoraenc_DEPENDENCIES = $(THEORADIR)/libtheoraenc.la \ - $(THEORADIR)/libtheoradec.la -granulepos_theoraenc_LDFLAGS = -am_noop_OBJECTS = noop-noop.$(OBJEXT) -noop_OBJECTS = $(am_noop_OBJECTS) -noop_DEPENDENCIES = $(THEORADIR)/libtheoraenc.la \ - $(THEORADIR)/libtheoradec.la -noop_LDFLAGS = -am_noop_theora_OBJECTS = noop_theora-noop_theora.$(OBJEXT) -noop_theora_OBJECTS = $(am_noop_theora_OBJECTS) -noop_theora_DEPENDENCIES = $(THEORADIR)/libtheora.la -noop_theora_LDFLAGS = -am_noop_theoraenc_OBJECTS = noop_theoraenc-noop_theora.$(OBJEXT) -noop_theoraenc_OBJECTS = $(am_noop_theoraenc_OBJECTS) -noop_theoraenc_DEPENDENCIES = $(THEORADIR)/libtheoraenc.la \ - $(THEORADIR)/libtheoradec.la -noop_theoraenc_LDFLAGS = - -DEFS = @DEFS@ -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/comment-comment.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/comment_theora-comment_theora.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/comment_theoradec-comment.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/granulepos-granulepos.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/granulepos_theora-granulepos_theora.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/granulepos_theoraenc-granulepos_theora.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/noop-noop.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/noop_theora-noop_theora.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/noop_theoraenc-noop_theora.Po -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \ - $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -CFLAGS = @CFLAGS@ -DIST_SOURCES = $(comment_SOURCES) $(comment_theora_SOURCES) \ - $(comment_theoradec_SOURCES) $(granulepos_SOURCES) \ - $(granulepos_theora_SOURCES) $(granulepos_theoraenc_SOURCES) \ - $(noop_SOURCES) $(noop_theora_SOURCES) \ - $(noop_theoraenc_SOURCES) -HEADERS = $(noinst_HEADERS) - -DIST_COMMON = $(noinst_HEADERS) Makefile.am Makefile.in -SOURCES = $(comment_SOURCES) $(comment_theora_SOURCES) $(comment_theoradec_SOURCES) $(granulepos_SOURCES) $(granulepos_theora_SOURCES) $(granulepos_theoraenc_SOURCES) $(noop_SOURCES) $(noop_theora_SOURCES) $(noop_theoraenc_SOURCES) - -all: all-am - -.SUFFIXES: -.SUFFIXES: .c .lo .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu tests/Makefile -Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) - -clean-checkPROGRAMS: - @list='$(check_PROGRAMS)'; for p in $$list; do \ - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f $$p $$f"; \ - rm -f $$p $$f ; \ - done -comment-comment.$(OBJEXT): comment.c -comment$(EXEEXT): $(comment_OBJECTS) $(comment_DEPENDENCIES) - @rm -f comment$(EXEEXT) - $(LINK) $(comment_LDFLAGS) $(comment_OBJECTS) $(comment_LDADD) $(LIBS) -comment_theora-comment_theora.$(OBJEXT): comment_theora.c -comment_theora$(EXEEXT): $(comment_theora_OBJECTS) $(comment_theora_DEPENDENCIES) - @rm -f comment_theora$(EXEEXT) - $(LINK) $(comment_theora_LDFLAGS) $(comment_theora_OBJECTS) $(comment_theora_LDADD) $(LIBS) -comment_theoradec-comment.$(OBJEXT): comment.c -comment_theoradec$(EXEEXT): $(comment_theoradec_OBJECTS) $(comment_theoradec_DEPENDENCIES) - @rm -f comment_theoradec$(EXEEXT) - $(LINK) $(comment_theoradec_LDFLAGS) $(comment_theoradec_OBJECTS) $(comment_theoradec_LDADD) $(LIBS) -granulepos-granulepos.$(OBJEXT): granulepos.c -granulepos$(EXEEXT): $(granulepos_OBJECTS) $(granulepos_DEPENDENCIES) - @rm -f granulepos$(EXEEXT) - $(LINK) $(granulepos_LDFLAGS) $(granulepos_OBJECTS) $(granulepos_LDADD) $(LIBS) -granulepos_theora-granulepos_theora.$(OBJEXT): granulepos_theora.c -granulepos_theora$(EXEEXT): $(granulepos_theora_OBJECTS) $(granulepos_theora_DEPENDENCIES) - @rm -f granulepos_theora$(EXEEXT) - $(LINK) $(granulepos_theora_LDFLAGS) $(granulepos_theora_OBJECTS) $(granulepos_theora_LDADD) $(LIBS) -granulepos_theoraenc-granulepos_theora.$(OBJEXT): granulepos_theora.c -granulepos_theoraenc$(EXEEXT): $(granulepos_theoraenc_OBJECTS) $(granulepos_theoraenc_DEPENDENCIES) - @rm -f granulepos_theoraenc$(EXEEXT) - $(LINK) $(granulepos_theoraenc_LDFLAGS) $(granulepos_theoraenc_OBJECTS) $(granulepos_theoraenc_LDADD) $(LIBS) -noop-noop.$(OBJEXT): noop.c -noop$(EXEEXT): $(noop_OBJECTS) $(noop_DEPENDENCIES) - @rm -f noop$(EXEEXT) - $(LINK) $(noop_LDFLAGS) $(noop_OBJECTS) $(noop_LDADD) $(LIBS) -noop_theora-noop_theora.$(OBJEXT): noop_theora.c -noop_theora$(EXEEXT): $(noop_theora_OBJECTS) $(noop_theora_DEPENDENCIES) - @rm -f noop_theora$(EXEEXT) - $(LINK) $(noop_theora_LDFLAGS) $(noop_theora_OBJECTS) $(noop_theora_LDADD) $(LIBS) -noop_theoraenc-noop_theora.$(OBJEXT): noop_theora.c -noop_theoraenc$(EXEEXT): $(noop_theoraenc_OBJECTS) $(noop_theoraenc_DEPENDENCIES) - @rm -f noop_theoraenc$(EXEEXT) - $(LINK) $(noop_theoraenc_LDFLAGS) $(noop_theoraenc_OBJECTS) $(noop_theoraenc_LDADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) core *.core - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/comment-comment.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/comment_theora-comment_theora.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/comment_theoradec-comment.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/granulepos-granulepos.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/granulepos_theora-granulepos_theora.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/granulepos_theoraenc-granulepos_theora.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/noop-noop.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/noop_theora-noop_theora.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/noop_theoraenc-noop_theora.Po@am__quote@ - -distclean-depend: - -rm -rf ./$(DEPDIR) - -.c.o: -@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< - -.c.obj: -@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(COMPILE) -c `cygpath -w $<` - -.c.lo: -@AMDEP_TRUE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< - -comment-comment.o: comment.c -@AMDEP_TRUE@ source='comment.c' object='comment-comment.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/comment-comment.Po' tmpdepfile='$(DEPDIR)/comment-comment.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(comment_CFLAGS) $(CFLAGS) -c -o comment-comment.o `test -f 'comment.c' || echo '$(srcdir)/'`comment.c - -comment-comment.obj: comment.c -@AMDEP_TRUE@ source='comment.c' object='comment-comment.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/comment-comment.Po' tmpdepfile='$(DEPDIR)/comment-comment.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(comment_CFLAGS) $(CFLAGS) -c -o comment-comment.obj `cygpath -w comment.c` - -comment-comment.lo: comment.c -@AMDEP_TRUE@ source='comment.c' object='comment-comment.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/comment-comment.Plo' tmpdepfile='$(DEPDIR)/comment-comment.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(comment_CFLAGS) $(CFLAGS) -c -o comment-comment.lo `test -f 'comment.c' || echo '$(srcdir)/'`comment.c - -comment_theora-comment_theora.o: comment_theora.c -@AMDEP_TRUE@ source='comment_theora.c' object='comment_theora-comment_theora.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/comment_theora-comment_theora.Po' tmpdepfile='$(DEPDIR)/comment_theora-comment_theora.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(comment_theora_CFLAGS) $(CFLAGS) -c -o comment_theora-comment_theora.o `test -f 'comment_theora.c' || echo '$(srcdir)/'`comment_theora.c - -comment_theora-comment_theora.obj: comment_theora.c -@AMDEP_TRUE@ source='comment_theora.c' object='comment_theora-comment_theora.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/comment_theora-comment_theora.Po' tmpdepfile='$(DEPDIR)/comment_theora-comment_theora.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(comment_theora_CFLAGS) $(CFLAGS) -c -o comment_theora-comment_theora.obj `cygpath -w comment_theora.c` - -comment_theora-comment_theora.lo: comment_theora.c -@AMDEP_TRUE@ source='comment_theora.c' object='comment_theora-comment_theora.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/comment_theora-comment_theora.Plo' tmpdepfile='$(DEPDIR)/comment_theora-comment_theora.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(comment_theora_CFLAGS) $(CFLAGS) -c -o comment_theora-comment_theora.lo `test -f 'comment_theora.c' || echo '$(srcdir)/'`comment_theora.c - -comment_theoradec-comment.o: comment.c -@AMDEP_TRUE@ source='comment.c' object='comment_theoradec-comment.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/comment_theoradec-comment.Po' tmpdepfile='$(DEPDIR)/comment_theoradec-comment.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(comment_theoradec_CFLAGS) $(CFLAGS) -c -o comment_theoradec-comment.o `test -f 'comment.c' || echo '$(srcdir)/'`comment.c - -comment_theoradec-comment.obj: comment.c -@AMDEP_TRUE@ source='comment.c' object='comment_theoradec-comment.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/comment_theoradec-comment.Po' tmpdepfile='$(DEPDIR)/comment_theoradec-comment.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(comment_theoradec_CFLAGS) $(CFLAGS) -c -o comment_theoradec-comment.obj `cygpath -w comment.c` - -comment_theoradec-comment.lo: comment.c -@AMDEP_TRUE@ source='comment.c' object='comment_theoradec-comment.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/comment_theoradec-comment.Plo' tmpdepfile='$(DEPDIR)/comment_theoradec-comment.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(comment_theoradec_CFLAGS) $(CFLAGS) -c -o comment_theoradec-comment.lo `test -f 'comment.c' || echo '$(srcdir)/'`comment.c - -granulepos-granulepos.o: granulepos.c -@AMDEP_TRUE@ source='granulepos.c' object='granulepos-granulepos.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/granulepos-granulepos.Po' tmpdepfile='$(DEPDIR)/granulepos-granulepos.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(granulepos_CFLAGS) $(CFLAGS) -c -o granulepos-granulepos.o `test -f 'granulepos.c' || echo '$(srcdir)/'`granulepos.c - -granulepos-granulepos.obj: granulepos.c -@AMDEP_TRUE@ source='granulepos.c' object='granulepos-granulepos.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/granulepos-granulepos.Po' tmpdepfile='$(DEPDIR)/granulepos-granulepos.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(granulepos_CFLAGS) $(CFLAGS) -c -o granulepos-granulepos.obj `cygpath -w granulepos.c` - -granulepos-granulepos.lo: granulepos.c -@AMDEP_TRUE@ source='granulepos.c' object='granulepos-granulepos.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/granulepos-granulepos.Plo' tmpdepfile='$(DEPDIR)/granulepos-granulepos.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(granulepos_CFLAGS) $(CFLAGS) -c -o granulepos-granulepos.lo `test -f 'granulepos.c' || echo '$(srcdir)/'`granulepos.c - -granulepos_theora-granulepos_theora.o: granulepos_theora.c -@AMDEP_TRUE@ source='granulepos_theora.c' object='granulepos_theora-granulepos_theora.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/granulepos_theora-granulepos_theora.Po' tmpdepfile='$(DEPDIR)/granulepos_theora-granulepos_theora.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(granulepos_theora_CFLAGS) $(CFLAGS) -c -o granulepos_theora-granulepos_theora.o `test -f 'granulepos_theora.c' || echo '$(srcdir)/'`granulepos_theora.c - -granulepos_theora-granulepos_theora.obj: granulepos_theora.c -@AMDEP_TRUE@ source='granulepos_theora.c' object='granulepos_theora-granulepos_theora.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/granulepos_theora-granulepos_theora.Po' tmpdepfile='$(DEPDIR)/granulepos_theora-granulepos_theora.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(granulepos_theora_CFLAGS) $(CFLAGS) -c -o granulepos_theora-granulepos_theora.obj `cygpath -w granulepos_theora.c` - -granulepos_theora-granulepos_theora.lo: granulepos_theora.c -@AMDEP_TRUE@ source='granulepos_theora.c' object='granulepos_theora-granulepos_theora.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/granulepos_theora-granulepos_theora.Plo' tmpdepfile='$(DEPDIR)/granulepos_theora-granulepos_theora.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(granulepos_theora_CFLAGS) $(CFLAGS) -c -o granulepos_theora-granulepos_theora.lo `test -f 'granulepos_theora.c' || echo '$(srcdir)/'`granulepos_theora.c - -granulepos_theoraenc-granulepos_theora.o: granulepos_theora.c -@AMDEP_TRUE@ source='granulepos_theora.c' object='granulepos_theoraenc-granulepos_theora.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/granulepos_theoraenc-granulepos_theora.Po' tmpdepfile='$(DEPDIR)/granulepos_theoraenc-granulepos_theora.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(granulepos_theoraenc_CFLAGS) $(CFLAGS) -c -o granulepos_theoraenc-granulepos_theora.o `test -f 'granulepos_theora.c' || echo '$(srcdir)/'`granulepos_theora.c - -granulepos_theoraenc-granulepos_theora.obj: granulepos_theora.c -@AMDEP_TRUE@ source='granulepos_theora.c' object='granulepos_theoraenc-granulepos_theora.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/granulepos_theoraenc-granulepos_theora.Po' tmpdepfile='$(DEPDIR)/granulepos_theoraenc-granulepos_theora.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(granulepos_theoraenc_CFLAGS) $(CFLAGS) -c -o granulepos_theoraenc-granulepos_theora.obj `cygpath -w granulepos_theora.c` - -granulepos_theoraenc-granulepos_theora.lo: granulepos_theora.c -@AMDEP_TRUE@ source='granulepos_theora.c' object='granulepos_theoraenc-granulepos_theora.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/granulepos_theoraenc-granulepos_theora.Plo' tmpdepfile='$(DEPDIR)/granulepos_theoraenc-granulepos_theora.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(granulepos_theoraenc_CFLAGS) $(CFLAGS) -c -o granulepos_theoraenc-granulepos_theora.lo `test -f 'granulepos_theora.c' || echo '$(srcdir)/'`granulepos_theora.c - -noop-noop.o: noop.c -@AMDEP_TRUE@ source='noop.c' object='noop-noop.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/noop-noop.Po' tmpdepfile='$(DEPDIR)/noop-noop.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(noop_CFLAGS) $(CFLAGS) -c -o noop-noop.o `test -f 'noop.c' || echo '$(srcdir)/'`noop.c - -noop-noop.obj: noop.c -@AMDEP_TRUE@ source='noop.c' object='noop-noop.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/noop-noop.Po' tmpdepfile='$(DEPDIR)/noop-noop.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(noop_CFLAGS) $(CFLAGS) -c -o noop-noop.obj `cygpath -w noop.c` - -noop-noop.lo: noop.c -@AMDEP_TRUE@ source='noop.c' object='noop-noop.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/noop-noop.Plo' tmpdepfile='$(DEPDIR)/noop-noop.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(noop_CFLAGS) $(CFLAGS) -c -o noop-noop.lo `test -f 'noop.c' || echo '$(srcdir)/'`noop.c - -noop_theora-noop_theora.o: noop_theora.c -@AMDEP_TRUE@ source='noop_theora.c' object='noop_theora-noop_theora.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/noop_theora-noop_theora.Po' tmpdepfile='$(DEPDIR)/noop_theora-noop_theora.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(noop_theora_CFLAGS) $(CFLAGS) -c -o noop_theora-noop_theora.o `test -f 'noop_theora.c' || echo '$(srcdir)/'`noop_theora.c - -noop_theora-noop_theora.obj: noop_theora.c -@AMDEP_TRUE@ source='noop_theora.c' object='noop_theora-noop_theora.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/noop_theora-noop_theora.Po' tmpdepfile='$(DEPDIR)/noop_theora-noop_theora.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(noop_theora_CFLAGS) $(CFLAGS) -c -o noop_theora-noop_theora.obj `cygpath -w noop_theora.c` - -noop_theora-noop_theora.lo: noop_theora.c -@AMDEP_TRUE@ source='noop_theora.c' object='noop_theora-noop_theora.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/noop_theora-noop_theora.Plo' tmpdepfile='$(DEPDIR)/noop_theora-noop_theora.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(noop_theora_CFLAGS) $(CFLAGS) -c -o noop_theora-noop_theora.lo `test -f 'noop_theora.c' || echo '$(srcdir)/'`noop_theora.c - -noop_theoraenc-noop_theora.o: noop_theora.c -@AMDEP_TRUE@ source='noop_theora.c' object='noop_theoraenc-noop_theora.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/noop_theoraenc-noop_theora.Po' tmpdepfile='$(DEPDIR)/noop_theoraenc-noop_theora.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(noop_theoraenc_CFLAGS) $(CFLAGS) -c -o noop_theoraenc-noop_theora.o `test -f 'noop_theora.c' || echo '$(srcdir)/'`noop_theora.c - -noop_theoraenc-noop_theora.obj: noop_theora.c -@AMDEP_TRUE@ source='noop_theora.c' object='noop_theoraenc-noop_theora.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/noop_theoraenc-noop_theora.Po' tmpdepfile='$(DEPDIR)/noop_theoraenc-noop_theora.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(noop_theoraenc_CFLAGS) $(CFLAGS) -c -o noop_theoraenc-noop_theora.obj `cygpath -w noop_theora.c` - -noop_theoraenc-noop_theora.lo: noop_theora.c -@AMDEP_TRUE@ source='noop_theora.c' object='noop_theoraenc-noop_theora.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/noop_theoraenc-noop_theora.Plo' tmpdepfile='$(DEPDIR)/noop_theoraenc-noop_theora.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(noop_theoraenc_CFLAGS) $(CFLAGS) -c -o noop_theoraenc-noop_theora.lo `test -f 'noop_theora.c' || echo '$(srcdir)/'`noop_theora.c -CCDEPMODE = @CCDEPMODE@ - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: - -ETAGS = etags -ETAGSFLAGS = - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$tags$$unique" \ - || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH - -check-TESTS: $(TESTS) - @failed=0; all=0; xfail=0; xpass=0; \ - srcdir=$(srcdir); export srcdir; \ - list='$(TESTS)'; \ - if test -n "$$list"; then \ - for tst in $$list; do \ - if test -f ./$$tst; then dir=./; \ - elif test -f $$tst; then dir=; \ - else dir="$(srcdir)/"; fi; \ - if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ - all=`expr $$all + 1`; \ - case " $(XFAIL_TESTS) " in \ - *" $$tst "*) \ - xpass=`expr $$xpass + 1`; \ - failed=`expr $$failed + 1`; \ - echo "XPASS: $$tst"; \ - ;; \ - *) \ - echo "PASS: $$tst"; \ - ;; \ - esac; \ - elif test $$? -ne 77; then \ - all=`expr $$all + 1`; \ - case " $(XFAIL_TESTS) " in \ - *" $$tst "*) \ - xfail=`expr $$xfail + 1`; \ - echo "XFAIL: $$tst"; \ - ;; \ - *) \ - failed=`expr $$failed + 1`; \ - echo "FAIL: $$tst"; \ - ;; \ - esac; \ - fi; \ - done; \ - if test "$$failed" -eq 0; then \ - if test "$$xfail" -eq 0; then \ - banner="All $$all tests passed"; \ - else \ - banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ - fi; \ - else \ - if test "$$xpass" -eq 0; then \ - banner="$$failed of $$all tests failed"; \ - else \ - banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ - fi; \ - fi; \ - dashes=`echo "$$banner" | sed s/./=/g`; \ - echo "$$dashes"; \ - echo "$$banner"; \ - echo "$$dashes"; \ - test "$$failed" -eq 0; \ - else :; fi -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) - -top_distdir = .. -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) - -distdir: $(DISTFILES) - @list='$(DISTFILES)'; for file in $$list; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkinstalldirs) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am - $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) - $(MAKE) $(AM_MAKEFLAGS) check-TESTS -check: check-am -all-am: Makefile $(HEADERS) - -installdirs: - -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-checkPROGRAMS clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -distclean-am: clean-am distclean-compile distclean-depend \ - distclean-generic distclean-libtool distclean-tags - -dvi: dvi-am - -dvi-am: - -info: info-am - -info-am: - -install-data-am: - -install-exec-am: - -install-info: install-info-am - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -uninstall-am: uninstall-info-am - -.PHONY: GTAGS all all-am check check-TESTS check-am clean \ - clean-checkPROGRAMS clean-generic clean-libtool distclean \ - distclean-compile distclean-depend distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am info \ - info-am install install-am install-data install-data-am \ - install-exec install-exec-am install-info install-info-am \ - install-man install-strip installcheck installcheck-am \ - installdirs maintainer-clean maintainer-clean-generic \ - mostlyclean mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool tags uninstall uninstall-am \ - uninstall-info-am - -test: check -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/Libraries/libtheora-1.1.1/tests/comment.c b/Libraries/libtheora-1.1.1/tests/comment.c deleted file mode 100644 index d972e686..00000000 --- a/Libraries/libtheora-1.1.1/tests/comment.c +++ /dev/null @@ -1,91 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: routines for validating comment header code - last mod: $Id: comment.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#include - -#include -#include "tests.h" - -#define ARTIST1 "Bug-eyed Fish" -#define ARTIST2 "VJ Fugu" -#define COPYRIGHT "Copyright (C) 2005. Some Rights Reserved." -#define LICENSE "Creative Commons Attribution-ShareAlike 2.5" - -static int -test_comments () -{ - th_comment tc; - int n; - char * value; - - INFO ("+ Initializing th_comment"); - th_comment_init (&tc); - - INFO ("+ Adding ARTIST1"); - th_comment_add (&tc, "ARTIST=" ARTIST1); - - INFO ("+ Adding LICENSE by tag"); - th_comment_add_tag (&tc, "LICENSE", LICENSE); - - INFO ("+ Adding ARTIST2 by tag"); - th_comment_add_tag (&tc, "ARTIST", ARTIST2); - - INFO ("+ Querying value of LICENSE"); - value = th_comment_query (&tc, "LICENSE", 0); - printf("foo %s\n", value); - - if (strcmp (value, LICENSE)) - FAIL ("Incorrect value for LICENSE"); - - INFO ("+ Querying count of ARTIST comments"); - n = th_comment_query_count (&tc, "ARTIST"); - - if (n != 2) - FAIL ("Incorrect count of ARTIST comments"); - - INFO ("+ Querying value of ARTIST index 0"); - value = th_comment_query (&tc, "ARTIST", 0); - if (strcmp (value, ARTIST1)) - FAIL ("Incorrect value for ARTIST index 0"); - - INFO ("+ Querying value of ARTIST index 1"); - value = th_comment_query (&tc, "ARTIST", 1); - if (strcmp (value, ARTIST2)) - FAIL ("Incorrect value for ARTIST index 1"); - - INFO ("+ Querying value of ARTIST index 2 (out of bounds)"); - value = th_comment_query (&tc, "ARTIST", 2); - if (value != NULL) - FAIL ("Non-NULL value for ARTIST index 2 (out of bounds)"); - - INFO ("+ Querying value of UNDEF index 7 (tag not defined)"); - value = th_comment_query (&tc, "UNDEF", 7); - if (value != NULL) - FAIL ("Non-NULL value for UNDEF index 7 (tag not defined)"); - - INFO ("+ Clearing th_comment"); - th_comment_clear (&tc); - - return 0; -} - -int main(int argc, char *argv[]) -{ - test_comments (); - - exit (0); -} diff --git a/Libraries/libtheora-1.1.1/tests/comment_theora.c b/Libraries/libtheora-1.1.1/tests/comment_theora.c deleted file mode 100644 index e101cd1a..00000000 --- a/Libraries/libtheora-1.1.1/tests/comment_theora.c +++ /dev/null @@ -1,91 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: routines for validating comment header code - last mod: $Id: comment_theora.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#include - -#include -#include "tests.h" - -#define ARTIST1 "Bug-eyed Fish" -#define ARTIST2 "VJ Fugu" -#define COPYRIGHT "Copyright (C) 2005. Some Rights Reserved." -#define LICENSE "Creative Commons Attribution-ShareAlike 2.5" - -static int -test_comments () -{ - theora_comment tc; - int n; - char * value; - - INFO ("+ Initializing theora_comment"); - theora_comment_init (&tc); - - INFO ("+ Adding ARTIST1"); - theora_comment_add (&tc, "ARTIST=" ARTIST1); - - INFO ("+ Adding LICENSE by tag"); - theora_comment_add_tag (&tc, "LICENSE", LICENSE); - - INFO ("+ Adding ARTIST2 by tag"); - theora_comment_add_tag (&tc, "ARTIST", ARTIST2); - - INFO ("+ Querying value of LICENSE"); - value = theora_comment_query (&tc, "LICENSE", 0); - printf("foo %s\n", value); - - if (strcmp (value, LICENSE)) - FAIL ("Incorrect value for LICENSE"); - - INFO ("+ Querying count of ARTIST comments"); - n = theora_comment_query_count (&tc, "ARTIST"); - - if (n != 2) - FAIL ("Incorrect count of ARTIST comments"); - - INFO ("+ Querying value of ARTIST index 0"); - value = theora_comment_query (&tc, "ARTIST", 0); - if (strcmp (value, ARTIST1)) - FAIL ("Incorrect value for ARTIST index 0"); - - INFO ("+ Querying value of ARTIST index 1"); - value = theora_comment_query (&tc, "ARTIST", 1); - if (strcmp (value, ARTIST2)) - FAIL ("Incorrect value for ARTIST index 1"); - - INFO ("+ Querying value of ARTIST index 2 (out of bounds)"); - value = theora_comment_query (&tc, "ARTIST", 2); - if (value != NULL) - FAIL ("Non-NULL value for ARTIST index 2 (out of bounds)"); - - INFO ("+ Querying value of UNDEF index 7 (tag not defined)"); - value = theora_comment_query (&tc, "UNDEF", 7); - if (value != NULL) - FAIL ("Non-NULL value for UNDEF index 7 (tag not defined)"); - - INFO ("+ Clearing theora_comment"); - theora_comment_clear (&tc); - - return 0; -} - -int main(int argc, char *argv[]) -{ - test_comments (); - - exit (0); -} diff --git a/Libraries/libtheora-1.1.1/tests/granulepos.c b/Libraries/libtheora-1.1.1/tests/granulepos.c deleted file mode 100644 index a81dea88..00000000 --- a/Libraries/libtheora-1.1.1/tests/granulepos.c +++ /dev/null @@ -1,149 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: routines for validating encoder granulepos generation - last mod: $Id: granulepos.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#include -#include -#include - -#include "tests.h" - -static int ilog(unsigned int v){ - int ret=0; - while(v){ - ret++; - v>>=1; - } - return(ret); -} - -static int -granulepos_test_encode (int frequency) -{ - th_info ti; - th_enc_ctx *te; - int result; - int frame, tframe, keyframe, keydist; - int shift; - double rate, ttime; - th_ycbcr_buffer yuv; - unsigned char *framedata; - ogg_packet op; - long long int last_granule = -1; - -/* INFO ("+ Initializing th_info struct"); */ - th_info_init (&ti); - - ti.frame_width = 32; - ti.frame_height = 32; - ti.pic_width = ti.frame_width; - ti.pic_height = ti.frame_height; - ti.pic_x = 0; - ti.pic_y = 0; - ti.fps_numerator = 16; - ti.fps_denominator = 1; - ti.aspect_numerator = 1; - ti.aspect_denominator = 1; - ti.colorspace = TH_CS_UNSPECIFIED; - ti.pixel_fmt = TH_PF_420; - ti.quality = 16; - ti.keyframe_granule_shift=ilog(frequency); - -/* INFO ("+ Allocating encoder context"); */ - te = th_encode_alloc(&ti); - if (te == NULL) { - INFO ("+ Clearing th_info"); - th_info_clear(&ti); - FAIL ("negative return code initializing encoder"); - } - -/* INFO ("+ Setting up dummy 4:2:0 frame data"); */ - framedata = calloc(ti.frame_height, ti.frame_width); - yuv[0].width = ti.frame_width; - yuv[0].height = ti.frame_height; - yuv[0].stride = ti.frame_width; - yuv[0].data = framedata; - yuv[1].width = ti.frame_width / 2; - yuv[1].height = ti.frame_width / 2; - yuv[1].stride = ti.frame_width; - yuv[1].data = framedata; - yuv[2].width = ti.frame_width / 2; - yuv[2].height = ti.frame_width / 2; - yuv[2].stride = ti.frame_width; - yuv[2].data = framedata; - - INFO ("+ Checking granulepos generation"); - shift = ti.keyframe_granule_shift; - rate = (double)ti.fps_denominator/ti.fps_numerator; - for (frame = 0; frame < frequency * 2 + 1; frame++) { - result = th_encode_ycbcr_in (te, yuv); - if (result < 0) { - printf("th_encode_ycbcr_in() returned %d\n", result); - FAIL ("negative error code submitting frame for compression"); - } - result = th_encode_packetout (te, frame >= frequency * 2, &op); - if (result <= 0) { - printf("th_encode_packetout() returned %d\n", result); - FAIL("failed to retrieve compressed frame"); - } - if ((long long int)op.granulepos < last_granule) - FAIL ("encoder returned a decreasing granulepos value"); - last_granule = op.granulepos; - keyframe = op.granulepos >> shift; - keydist = op.granulepos - (keyframe << shift); - tframe = th_granule_frame (te, op.granulepos); - ttime = th_granule_time(te, op.granulepos); -#if DEBUG - printf("++ frame %d granulepos %lld %d:%d %d %.3lfs\n", - frame, (long long int)op.granulepos, keyframe, keydist, - tframe, th_granule_time (te, op.granulepos)); -#endif - /* granulepos stores the frame count */ - if ((keyframe + keydist) != frame + 1) - FAIL ("encoder granulepos does not map to the correct frame number"); - /* th_granule_frame() returns the frame index */ - if (tframe != frame) - FAIL ("th_granule_frame() returned incorrect results"); - /* th_granule_time() returns the end time */ - if (fabs(rate*(frame+1) - ttime) > 1.0e-6) - FAIL ("th_granule_time() returned incorrect results"); - } - - /* clean up */ -/* INFO ("+ Freeing dummy frame data"); */ - free(framedata); - -/* INFO ("+ Clearing th_info struct"); */ - th_info_clear(&ti); - -/* INFO ("+ Freeing encoder context"); */ - th_encode_free(te); - - return 0; -} - -int main(int argc, char *argv[]) -{ - - granulepos_test_encode (1); - granulepos_test_encode (2); - granulepos_test_encode (3); - granulepos_test_encode (4); - granulepos_test_encode (8); - granulepos_test_encode (64); - - exit (0); -} diff --git a/Libraries/libtheora-1.1.1/tests/granulepos_theora.c b/Libraries/libtheora-1.1.1/tests/granulepos_theora.c deleted file mode 100644 index 9ab7f8b6..00000000 --- a/Libraries/libtheora-1.1.1/tests/granulepos_theora.c +++ /dev/null @@ -1,154 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: routines for validating encoder granulepos generation - last mod: $Id: granulepos_theora.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#include -#include -#include - -#include "tests.h" - -static int ilog(unsigned int v){ - int ret=0; - while(v){ - ret++; - v>>=1; - } - return(ret); -} - -static int -granulepos_test_encode (int frequency, int auto_p) -{ - theora_info ti; - theora_state th; - int result; - int frame, tframe, keyframe, keydist; - int shift; - double rate, ttime; - yuv_buffer yuv; - unsigned char *framedata; - ogg_packet op; - long long int last_granule = -1; - -/* INFO ("+ Initializing theora_info struct"); */ - theora_info_init (&ti); - - ti.width = 32; - ti.height = 32; - ti.frame_width = ti.width; - ti.frame_height = ti.frame_height; - ti.offset_x = 0; - ti.offset_y = 0; - ti.fps_numerator = 16; - ti.fps_denominator = 1; - ti.aspect_numerator = 1; - ti.aspect_denominator = 1; - ti.colorspace = OC_CS_UNSPECIFIED; - ti.pixelformat = OC_PF_420; - ti.target_bitrate = 0; - ti.quality = 16; - - ti.dropframes_p = 0; - ti.quick_p = 1; - - /* check variations of automatic or forced keyframe choice */ - ti.keyframe_auto_p = auto_p; - /* check with variations of the maximum gap */ - ti.keyframe_frequency = frequency; - ti.keyframe_frequency_force = frequency; - - ti.keyframe_data_target_bitrate = ti.target_bitrate * 1.5; - ti.keyframe_auto_threshold = 80; - ti.keyframe_mindistance = MIN(8, frequency); - ti.noise_sensitivity = 1; - -/* INFO ("+ Initializing theora_state for encoding"); */ - result = theora_encode_init (&th, &ti); - if (result == OC_DISABLED) { - INFO ("+ Clearing theora_state"); - theora_clear (&th); - } else if (result < 0) { - FAIL ("negative return code initializing encoder"); - } - -/* INFO ("+ Setting up dummy 4:2:0 frame data"); */ - framedata = calloc(ti.height, ti.width); - yuv.y_width = ti.width; - yuv.y_height = ti.height; - yuv.y_stride = ti.width; - yuv.y = framedata; - yuv.uv_width = ti.width / 2; - yuv.uv_height = ti.width / 2; - yuv.uv_stride = ti.width; - yuv.u = framedata; - yuv.v = framedata; - - INFO ("+ Checking granulepos generation"); - shift = theora_granule_shift(&ti); - rate = (double)ti.fps_denominator/ti.fps_numerator; - for (frame = 0; frame < frequency * 2 + 1; frame++) { - result = theora_encode_YUVin (&th, &yuv); - if (result < 0) { - printf("theora_encode_YUVin() returned %d\n", result); - FAIL ("negative error code submitting frame for compression"); - } - theora_encode_packetout (&th, frame >= frequency * 2, &op); - if ((long long int)op.granulepos < last_granule) - FAIL ("encoder returned a decreasing granulepos value"); - last_granule = op.granulepos; - keyframe = op.granulepos >> shift; - keydist = op.granulepos - (keyframe << shift); - tframe = theora_granule_frame (&th, op.granulepos); - ttime = theora_granule_time(&th, op.granulepos); -#if DEBUG - printf("++ frame %d granulepos %lld %d:%d %d %.3lfs\n", - frame, (long long int)op.granulepos, keyframe, keydist, - tframe, theora_granule_time (&th, op.granulepos)); -#endif - if ((keyframe + keydist) != frame + 1) - FAIL ("encoder granulepos does not map to the correct frame number"); - if (tframe != frame) - FAIL ("theora_granule_frame returned incorrect results"); - if (fabs(rate*(frame+1) - ttime) > 1.0e-6) - FAIL ("theora_granule_time returned incorrect results"); - } - - /* clean up */ -/* INFO ("+ Freeing dummy frame data"); */ - free (framedata); - -/* INFO ("+ Clearing theora_info struct"); */ - theora_info_clear (&ti); - -/* INFO ("+ Clearing theora_state"); */ - theora_clear (&th); - - return 0; -} - -int main(int argc, char *argv[]) -{ - - granulepos_test_encode (1, 1); - granulepos_test_encode (2, 1); - granulepos_test_encode (3, 1); - granulepos_test_encode (4, 1); - granulepos_test_encode (8, 1); - granulepos_test_encode (64, 1); - - exit (0); -} diff --git a/Libraries/libtheora-1.1.1/tests/noop.c b/Libraries/libtheora-1.1.1/tests/noop.c deleted file mode 100644 index 8c1ba2f7..00000000 --- a/Libraries/libtheora-1.1.1/tests/noop.c +++ /dev/null @@ -1,119 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: routines for validating codec initialization - last mod: $Id: noop.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#include -#include - -#include "tests.h" - -static int -noop_test_info () -{ - th_info ti; - - INFO ("+ Initializing th_info struct"); - th_info_init (&ti); - - INFO ("+ Clearing empty th_info struct"); - th_info_clear (&ti); - - return 0; -} - -static int -noop_test_comments () -{ - th_comment tc; - - INFO ("+ Initializing th_comment struct"); - th_comment_init (&tc); - - INFO ("+ Clearing empty th_comment struct") - th_comment_clear (&tc); - - return 0; -} - -static int -noop_test_encode () -{ - th_info ti; - th_enc_ctx *te; - - INFO ("+ Initializing th_info struct"); - th_info_init (&ti); - - INFO ("+ Testing encoder context with empty th_info"); - te = th_encode_alloc(&ti); - if (te != NULL) - FAIL("td_encode_alloc accepted an unconfigured th_info"); - - INFO ("+ Setting 16x16 image size"); - ti.frame_width = 16; - ti.frame_height = 16; - - INFO ("+ Allocating encoder context"); - te = th_encode_alloc(&ti); - if (te == NULL) - FAIL("td_encode_alloc returned a null pointer"); - - INFO ("+ Clearing th_info struct"); - th_info_clear (&ti); - - INFO ("+ Freeing encoder context"); - th_encode_free(te); - - return 0; -} - -static int -noop_test_decode () -{ - th_info ti; - th_dec_ctx *td; - - INFO ("+ Testing decoder context with null info and setup"); - td = th_decode_alloc(NULL, NULL); - if (td != NULL) - FAIL("td_decode_alloc accepted null info pointers"); - - INFO ("+ Initializing th_info struct"); - th_info_init (&ti); - - INFO ("+ Testing decoder context with empty info and null setup"); - td = th_decode_alloc(&ti, NULL); - if (td != NULL) - FAIL("td_decode_alloc accepted null info pointers"); - - INFO ("+ Clearing th_info struct"); - th_info_clear (&ti); - - return 0; -} - -int main(int argc, char *argv[]) -{ - noop_test_info (); - - noop_test_comments (); - - noop_test_encode (); - - noop_test_decode (); - - exit (0); -} diff --git a/Libraries/libtheora-1.1.1/tests/noop_theora.c b/Libraries/libtheora-1.1.1/tests/noop_theora.c deleted file mode 100644 index 50698747..00000000 --- a/Libraries/libtheora-1.1.1/tests/noop_theora.c +++ /dev/null @@ -1,88 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: routines for validating codec initialization - last mod: $Id: noop_theora.c 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#include - -#include "tests.h" - -static int -noop_test_encode () -{ - theora_info ti; - theora_state th; - - INFO ("+ Initializing theora_info struct"); - theora_info_init (&ti); - - INFO ("+ Setting a 16x16 frame"); - ti.width = 16; - ti.height = 16; - - INFO ("+ Initializing theora_state for encoding"); - if (theora_encode_init (&th, &ti) != OC_DISABLED) { - INFO ("+ Clearing theora_state"); - theora_clear (&th); - } - - INFO ("+ Clearing theora_info struct"); - theora_info_clear (&ti); - - return 0; -} - -static int -noop_test_decode () -{ - theora_info ti; - theora_state th; - - INFO ("+ Initializing theora_info struct"); - theora_info_init (&ti); - - INFO ("+ Initializing theora_state for decoding"); - theora_decode_init (&th, &ti); - - INFO ("+ Clearing theora_state"); - theora_clear (&th); - - INFO ("+ Clearing theora_info struct"); - theora_info_clear (&ti); - - return 0; -} - -static int -noop_test_comments () -{ - theora_comment tc; - - theora_comment_init (&tc); - theora_comment_clear (&tc); - - return 0; -} - -int main(int argc, char *argv[]) -{ - /*noop_test_decode ();*/ - - noop_test_encode (); - - noop_test_comments (); - - exit (0); -} diff --git a/Libraries/libtheora-1.1.1/tests/tests.h b/Libraries/libtheora-1.1.1/tests/tests.h deleted file mode 100644 index 3bbff243..00000000 --- a/Libraries/libtheora-1.1.1/tests/tests.h +++ /dev/null @@ -1,33 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: common test utilities - last mod: $Id: tests.h 16503 2009-08-22 18:14:02Z giles $ - - ********************************************************************/ - -#include "config.h" - -#include -#include - -#define INFO(str) \ - { printf ("---- %s ...\n", (str)); } - -#define WARN(str) \ - { printf ("%s:%d: warning: %s\n", __FILE__, __LINE__, (str)); } - -#define FAIL(str) \ - { printf ("%s:%d: %s\n", __FILE__, __LINE__, (str)); exit(1); } - -#undef MIN -#define MIN(a,b) ((a)<(b)?(a):(b)) diff --git a/Libraries/libtheora-1.1.1/theora-uninstalled.pc.in b/Libraries/libtheora-1.1.1/theora-uninstalled.pc.in deleted file mode 100644 index 64468505..00000000 --- a/Libraries/libtheora-1.1.1/theora-uninstalled.pc.in +++ /dev/null @@ -1,14 +0,0 @@ -# theora uninstalled pkg-config file - -prefix= -exec_prefix= -libdir=${pcfiledir}/lib -includedir=${pcfiledir}/include - -Name: theora uninstalled -Description: Theora video codec (not installed) -Version: @VERSION@ -Requires: ogg >= 1.1 -Conflicts: -Libs: ${libdir}/libtheora.la -Cflags: -I${includedir} diff --git a/Libraries/libtheora-1.1.1/theora.pc.in b/Libraries/libtheora-1.1.1/theora.pc.in deleted file mode 100644 index 96efec94..00000000 --- a/Libraries/libtheora-1.1.1/theora.pc.in +++ /dev/null @@ -1,14 +0,0 @@ -# theora installed pkg-config file - -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: theora -Description: Theora video codec -Version: @VERSION@ -Requires: ogg >= 1.1 -Conflicts: -Libs: -L${libdir} -ltheora -Cflags: -I${includedir} diff --git a/Libraries/libtheora-1.1.1/theoradec-uninstalled.pc.in b/Libraries/libtheora-1.1.1/theoradec-uninstalled.pc.in deleted file mode 100644 index 8bf9df13..00000000 --- a/Libraries/libtheora-1.1.1/theoradec-uninstalled.pc.in +++ /dev/null @@ -1,14 +0,0 @@ -# theoradec uninstalled pkg-config file - -prefix= -exec_prefix= -libdir=${pcfiledir}/lib -includedir=${pcfiledir}/include - -Name: theora uninstalled -Description: Theora video codec(decoder) (not installed) -Version: @VERSION@ -Requires: ogg >= 1.1 -Conflicts: -Libs: ${libdir}/libtheoradec.la -Cflags: -I${includedir} diff --git a/Libraries/libtheora-1.1.1/theoradec.pc.in b/Libraries/libtheora-1.1.1/theoradec.pc.in deleted file mode 100644 index 615718df..00000000 --- a/Libraries/libtheora-1.1.1/theoradec.pc.in +++ /dev/null @@ -1,14 +0,0 @@ -# theoradec installed pkg-config file - -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: theora -Description: Theora video codec (decoder) -Version: @VERSION@ -Requires: ogg >= 1.1 -Conflicts: -Libs: -L${libdir} -ltheoradec -Cflags: -I${includedir} diff --git a/Libraries/libtheora-1.1.1/theoraenc-uninstalled.pc.in b/Libraries/libtheora-1.1.1/theoraenc-uninstalled.pc.in deleted file mode 100644 index 00c62242..00000000 --- a/Libraries/libtheora-1.1.1/theoraenc-uninstalled.pc.in +++ /dev/null @@ -1,14 +0,0 @@ -# theoraenc uninstalled pkg-config file - -prefix= -exec_prefix= -libdir=${pcfiledir}/lib -includedir=${pcfiledir}/include - -Name: theora uninstalled -Description: Theora video codec (encoder) (not installed) -Version: @VERSION@ -Requires: theoradec, ogg >= 1.1 -Conflicts: -Libs: ${libdir}/libtheoraenc.la -Cflags: -I${includedir} diff --git a/Libraries/libtheora-1.1.1/theoraenc.pc.in b/Libraries/libtheora-1.1.1/theoraenc.pc.in deleted file mode 100644 index 007ac8f8..00000000 --- a/Libraries/libtheora-1.1.1/theoraenc.pc.in +++ /dev/null @@ -1,14 +0,0 @@ -# theoraenc installed pkg-config file - -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: theora -Description: Theora video codec (encoder) -Version: @VERSION@ -Requires: theoradec, ogg >= 1.1 -Conflicts: -Libs: -L${libdir} -ltheoraenc -Cflags: -I${includedir} diff --git a/Libraries/libtheora-1.1.1/win32/VS2005/README b/Libraries/libtheora-1.1.1/win32/VS2005/README deleted file mode 100644 index d40e0447..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2005/README +++ /dev/null @@ -1,22 +0,0 @@ -libtheora has libogg as a dependency, and for examples, also -libvorbis, therefore you need to have libogg and libvorbis -compiled beforehand. - -Lets say you have libogg, libvorbis and libtheora in the same directory: - -libogg-1.1.4 -libvorbis-1.2.2 -libtheora-1.0 - -Because there is no automatic library detection you have to, -either: - -1. Rename libogg-1.1.4 to libogg, and libvorbis-1.2.2 to libvorbis. - -2. Open libogg.vsprops with a text editor (even notepad.exe -will suffice) and see if LIBOGG_VERSION is set to the correct -version, in this case "1.1.4". - -The same procedure should be done for libvorbis.vsprops and -check LIBVORBIS_VERSION for the correct version, in this -case "1.2.2". diff --git a/Libraries/libtheora-1.1.1/win32/VS2005/dump_video/dump_video_dynamic.vcproj b/Libraries/libtheora-1.1.1/win32/VS2005/dump_video/dump_video_dynamic.vcproj deleted file mode 100644 index 60368d61..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2005/dump_video/dump_video_dynamic.vcproj +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Libraries/libtheora-1.1.1/win32/VS2005/dump_video/dump_video_static.vcproj b/Libraries/libtheora-1.1.1/win32/VS2005/dump_video/dump_video_static.vcproj deleted file mode 100644 index 52180231..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2005/dump_video/dump_video_static.vcproj +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Libraries/libtheora-1.1.1/win32/VS2005/encoder_example/encoder_example_dynamic.vcproj b/Libraries/libtheora-1.1.1/win32/VS2005/encoder_example/encoder_example_dynamic.vcproj deleted file mode 100644 index 477510e4..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2005/encoder_example/encoder_example_dynamic.vcproj +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Libraries/libtheora-1.1.1/win32/VS2005/encoder_example/encoder_example_static.vcproj b/Libraries/libtheora-1.1.1/win32/VS2005/encoder_example/encoder_example_static.vcproj deleted file mode 100644 index 9da78c4d..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2005/encoder_example/encoder_example_static.vcproj +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Libraries/libtheora-1.1.1/win32/VS2005/libogg.vsprops b/Libraries/libtheora-1.1.1/win32/VS2005/libogg.vsprops deleted file mode 100644 index 7fe0db78..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2005/libogg.vsprops +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - diff --git a/Libraries/libtheora-1.1.1/win32/VS2005/libtheora/libtheora_dynamic.vcproj b/Libraries/libtheora-1.1.1/win32/VS2005/libtheora/libtheora_dynamic.vcproj deleted file mode 100644 index 31d8e9fd..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2005/libtheora/libtheora_dynamic.vcproj +++ /dev/null @@ -1,882 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Libraries/libtheora-1.1.1/win32/VS2005/libtheora/libtheora_static.vcproj b/Libraries/libtheora-1.1.1/win32/VS2005/libtheora/libtheora_static.vcproj deleted file mode 100644 index 2c5f4dae..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2005/libtheora/libtheora_static.vcproj +++ /dev/null @@ -1,872 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Libraries/libtheora-1.1.1/win32/VS2005/libtheora_dynamic.sln b/Libraries/libtheora-1.1.1/win32/VS2005/libtheora_dynamic.sln deleted file mode 100644 index c14cf859..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2005/libtheora_dynamic.sln +++ /dev/null @@ -1,146 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libtheora", "libtheora\libtheora_dynamic.vcproj", "{653F3841-3F26-49B9-AFCF-091DB4B67031}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dump_video", "dump_video\dump_video_dynamic.vcproj", "{1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "encoder_example", "encoder_example\encoder_example_dynamic.vcproj", "{AD710263-EBFA-4388-BAA9-AD73C32AFF26}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) = Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) = Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - Debug|Windows Mobile 6 Professional SDK (ARMV4I) = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - Debug|x64 = Debug|x64 - Release_SSE|Win32 = Release_SSE|Win32 - Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) = Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) = Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I) = Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I) - Release_SSE|x64 = Release_SSE|x64 - Release_SSE2|Win32 = Release_SSE2|Win32 - Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) = Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) = Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I) = Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I) - Release_SSE2|x64 = Release_SSE2|x64 - Release|Win32 = Release|Win32 - Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) = Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) = Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - Release|Windows Mobile 6 Professional SDK (ARMV4I) = Release|Windows Mobile 6 Professional SDK (ARMV4I) - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Win32.ActiveCfg = Debug|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Win32.Build.0 = Debug|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|x64.ActiveCfg = Debug|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|x64.Build.0 = Debug|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Win32.ActiveCfg = Release_SSE|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Win32.Build.0 = Release_SSE|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Build.0 = Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Deploy.0 = Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Build.0 = Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Deploy.0 = Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|x64.ActiveCfg = Release_SSE|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|x64.Build.0 = Release_SSE|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Win32.ActiveCfg = Release_SSE2|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Win32.Build.0 = Release_SSE2|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Build.0 = Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Deploy.0 = Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Build.0 = Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Deploy.0 = Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|x64.ActiveCfg = Release_SSE2|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|x64.Build.0 = Release_SSE2|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Win32.ActiveCfg = Release|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Win32.Build.0 = Release|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|x64.ActiveCfg = Release|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|x64.Build.0 = Release|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|Win32.ActiveCfg = Debug|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|Win32.Build.0 = Debug|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Debug|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Debug|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|x64.ActiveCfg = Debug|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|x64.Build.0 = Debug|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|Win32.ActiveCfg = Release_SSE|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|Win32.Build.0 = Release_SSE|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|x64.ActiveCfg = Release_SSE|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|x64.Build.0 = Release_SSE|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|Win32.ActiveCfg = Release_SSE2|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|Win32.Build.0 = Release_SSE2|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|x64.ActiveCfg = Release_SSE2|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|x64.Build.0 = Release_SSE2|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|Win32.ActiveCfg = Release|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|Win32.Build.0 = Release|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|x64.ActiveCfg = Release|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|x64.Build.0 = Release|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|Win32.ActiveCfg = Debug|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|Win32.Build.0 = Debug|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Debug|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Debug|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|x64.ActiveCfg = Debug|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|x64.Build.0 = Debug|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|Win32.ActiveCfg = Release_SSE|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|Win32.Build.0 = Release_SSE|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|x64.ActiveCfg = Release_SSE|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|x64.Build.0 = Release_SSE|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|Win32.ActiveCfg = Release_SSE2|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|Win32.Build.0 = Release_SSE2|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|x64.ActiveCfg = Release_SSE2|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|x64.Build.0 = Release_SSE2|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|Win32.ActiveCfg = Release|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|Win32.Build.0 = Release|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|x64.ActiveCfg = Release|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/Libraries/libtheora-1.1.1/win32/VS2005/libtheora_static.sln b/Libraries/libtheora-1.1.1/win32/VS2005/libtheora_static.sln deleted file mode 100644 index 30eab85c..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2005/libtheora_static.sln +++ /dev/null @@ -1,146 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dump_video_static", "dump_video\dump_video_static.vcproj", "{1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libtheora_static", "libtheora\libtheora_static.vcproj", "{653F3841-3F26-49B9-AFCF-091DB4B67031}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "encoder_example_static", "encoder_example\encoder_example_static.vcproj", "{AD710263-EBFA-4388-BAA9-AD73C32AFF26}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) = Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) = Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - Debug|Windows Mobile 6 Professional SDK (ARMV4I) = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - Debug|x64 = Debug|x64 - Release_SSE|Win32 = Release_SSE|Win32 - Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) = Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) = Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I) = Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I) - Release_SSE|x64 = Release_SSE|x64 - Release_SSE2|Win32 = Release_SSE2|Win32 - Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) = Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) = Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I) = Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I) - Release_SSE2|x64 = Release_SSE2|x64 - Release|Win32 = Release|Win32 - Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) = Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) = Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - Release|Windows Mobile 6 Professional SDK (ARMV4I) = Release|Windows Mobile 6 Professional SDK (ARMV4I) - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|Win32.ActiveCfg = Debug|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|Win32.Build.0 = Debug|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Debug|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Debug|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|x64.ActiveCfg = Debug|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|x64.Build.0 = Debug|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|Win32.ActiveCfg = Release_SSE|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|Win32.Build.0 = Release_SSE|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|x64.ActiveCfg = Release_SSE|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|x64.Build.0 = Release_SSE|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|Win32.ActiveCfg = Release_SSE2|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|Win32.Build.0 = Release_SSE2|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|x64.ActiveCfg = Release_SSE2|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|x64.Build.0 = Release_SSE2|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|Win32.ActiveCfg = Release|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|Win32.Build.0 = Release|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|x64.ActiveCfg = Release|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|x64.Build.0 = Release|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Win32.ActiveCfg = Debug|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Win32.Build.0 = Debug|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|x64.ActiveCfg = Debug|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|x64.Build.0 = Debug|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Win32.ActiveCfg = Release_SSE|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Win32.Build.0 = Release_SSE|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Build.0 = Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Deploy.0 = Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Build.0 = Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Deploy.0 = Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|x64.ActiveCfg = Release_SSE|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|x64.Build.0 = Release_SSE|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Win32.ActiveCfg = Release_SSE2|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Win32.Build.0 = Release_SSE2|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Build.0 = Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Deploy.0 = Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Build.0 = Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Deploy.0 = Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|x64.ActiveCfg = Release_SSE2|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|x64.Build.0 = Release_SSE2|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Win32.ActiveCfg = Release|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Win32.Build.0 = Release|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|x64.ActiveCfg = Release|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|x64.Build.0 = Release|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|Win32.ActiveCfg = Debug|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|Win32.Build.0 = Debug|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Debug|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Debug|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|x64.ActiveCfg = Debug|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|x64.Build.0 = Debug|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|Win32.ActiveCfg = Release_SSE|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|Win32.Build.0 = Release_SSE|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|x64.ActiveCfg = Release_SSE|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|x64.Build.0 = Release_SSE|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|Win32.ActiveCfg = Release_SSE2|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|Win32.Build.0 = Release_SSE2|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|x64.ActiveCfg = Release_SSE2|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|x64.Build.0 = Release_SSE2|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|Win32.ActiveCfg = Release|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|Win32.Build.0 = Release|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|x64.ActiveCfg = Release|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/Libraries/libtheora-1.1.1/win32/VS2005/libvorbis.vsprops b/Libraries/libtheora-1.1.1/win32/VS2005/libvorbis.vsprops deleted file mode 100644 index 1b9577ee..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2005/libvorbis.vsprops +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - diff --git a/Libraries/libtheora-1.1.1/win32/VS2008/README b/Libraries/libtheora-1.1.1/win32/VS2008/README deleted file mode 100644 index d40e0447..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2008/README +++ /dev/null @@ -1,22 +0,0 @@ -libtheora has libogg as a dependency, and for examples, also -libvorbis, therefore you need to have libogg and libvorbis -compiled beforehand. - -Lets say you have libogg, libvorbis and libtheora in the same directory: - -libogg-1.1.4 -libvorbis-1.2.2 -libtheora-1.0 - -Because there is no automatic library detection you have to, -either: - -1. Rename libogg-1.1.4 to libogg, and libvorbis-1.2.2 to libvorbis. - -2. Open libogg.vsprops with a text editor (even notepad.exe -will suffice) and see if LIBOGG_VERSION is set to the correct -version, in this case "1.1.4". - -The same procedure should be done for libvorbis.vsprops and -check LIBVORBIS_VERSION for the correct version, in this -case "1.2.2". diff --git a/Libraries/libtheora-1.1.1/win32/VS2008/dump_video/dump_video_dynamic.vcproj b/Libraries/libtheora-1.1.1/win32/VS2008/dump_video/dump_video_dynamic.vcproj deleted file mode 100644 index 9a6f49f3..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2008/dump_video/dump_video_dynamic.vcproj +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Libraries/libtheora-1.1.1/win32/VS2008/dump_video/dump_video_static.vcproj b/Libraries/libtheora-1.1.1/win32/VS2008/dump_video/dump_video_static.vcproj deleted file mode 100644 index 60d6d741..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2008/dump_video/dump_video_static.vcproj +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Libraries/libtheora-1.1.1/win32/VS2008/encoder_example/encoder_example_dynamic.vcproj b/Libraries/libtheora-1.1.1/win32/VS2008/encoder_example/encoder_example_dynamic.vcproj deleted file mode 100644 index d68d8ace..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2008/encoder_example/encoder_example_dynamic.vcproj +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Libraries/libtheora-1.1.1/win32/VS2008/encoder_example/encoder_example_static.vcproj b/Libraries/libtheora-1.1.1/win32/VS2008/encoder_example/encoder_example_static.vcproj deleted file mode 100644 index 91cee2d4..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2008/encoder_example/encoder_example_static.vcproj +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Libraries/libtheora-1.1.1/win32/VS2008/libogg.vsprops b/Libraries/libtheora-1.1.1/win32/VS2008/libogg.vsprops deleted file mode 100644 index 1355b507..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2008/libogg.vsprops +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - diff --git a/Libraries/libtheora-1.1.1/win32/VS2008/libtheora/libtheora_dynamic.vcproj b/Libraries/libtheora-1.1.1/win32/VS2008/libtheora/libtheora_dynamic.vcproj deleted file mode 100644 index 56fcee54..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2008/libtheora/libtheora_dynamic.vcproj +++ /dev/null @@ -1,766 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Libraries/libtheora-1.1.1/win32/VS2008/libtheora/libtheora_static.vcproj b/Libraries/libtheora-1.1.1/win32/VS2008/libtheora/libtheora_static.vcproj deleted file mode 100644 index 9ad60333..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2008/libtheora/libtheora_static.vcproj +++ /dev/null @@ -1,748 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Libraries/libtheora-1.1.1/win32/VS2008/libtheora_dynamic.sln b/Libraries/libtheora-1.1.1/win32/VS2008/libtheora_dynamic.sln deleted file mode 100644 index d4bde5de..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2008/libtheora_dynamic.sln +++ /dev/null @@ -1,146 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libtheora", "libtheora\libtheora_dynamic.vcproj", "{653F3841-3F26-49B9-AFCF-091DB4B67031}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dump_video", "dump_video\dump_video_dynamic.vcproj", "{1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "encoder_example", "encoder_example\encoder_example_dynamic.vcproj", "{AD710263-EBFA-4388-BAA9-AD73C32AFF26}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) = Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) = Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - Debug|Windows Mobile 6 Professional SDK (ARMV4I) = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - Debug|x64 = Debug|x64 - Release_SSE|Win32 = Release_SSE|Win32 - Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) = Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) = Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I) = Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I) - Release_SSE|x64 = Release_SSE|x64 - Release_SSE2|Win32 = Release_SSE2|Win32 - Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) = Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) = Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I) = Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I) - Release_SSE2|x64 = Release_SSE2|x64 - Release|Win32 = Release|Win32 - Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) = Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) = Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - Release|Windows Mobile 6 Professional SDK (ARMV4I) = Release|Windows Mobile 6 Professional SDK (ARMV4I) - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Win32.ActiveCfg = Debug|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Win32.Build.0 = Debug|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|x64.ActiveCfg = Debug|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|x64.Build.0 = Debug|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Win32.ActiveCfg = Release_SSE|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Win32.Build.0 = Release_SSE|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Build.0 = Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Deploy.0 = Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Build.0 = Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Deploy.0 = Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|x64.ActiveCfg = Release_SSE|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|x64.Build.0 = Release_SSE|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Win32.ActiveCfg = Release_SSE2|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Win32.Build.0 = Release_SSE2|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Build.0 = Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Deploy.0 = Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Build.0 = Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Deploy.0 = Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|x64.ActiveCfg = Release_SSE2|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|x64.Build.0 = Release_SSE2|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Win32.ActiveCfg = Release|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Win32.Build.0 = Release|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|x64.ActiveCfg = Release|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|x64.Build.0 = Release|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|Win32.ActiveCfg = Debug|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|Win32.Build.0 = Debug|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Debug|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Debug|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|x64.ActiveCfg = Debug|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|x64.Build.0 = Debug|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|Win32.ActiveCfg = Release_SSE|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|Win32.Build.0 = Release_SSE|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|x64.ActiveCfg = Release_SSE|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|x64.Build.0 = Release_SSE|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|Win32.ActiveCfg = Release_SSE2|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|Win32.Build.0 = Release_SSE2|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|x64.ActiveCfg = Release_SSE2|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|x64.Build.0 = Release_SSE2|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|Win32.ActiveCfg = Release|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|Win32.Build.0 = Release|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|x64.ActiveCfg = Release|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|x64.Build.0 = Release|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|Win32.ActiveCfg = Debug|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|Win32.Build.0 = Debug|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Debug|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Debug|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|x64.ActiveCfg = Debug|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|x64.Build.0 = Debug|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|Win32.ActiveCfg = Release_SSE|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|Win32.Build.0 = Release_SSE|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|x64.ActiveCfg = Release_SSE|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|x64.Build.0 = Release_SSE|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|Win32.ActiveCfg = Release_SSE2|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|Win32.Build.0 = Release_SSE2|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|x64.ActiveCfg = Release_SSE2|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|x64.Build.0 = Release_SSE2|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|Win32.ActiveCfg = Release|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|Win32.Build.0 = Release|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|x64.ActiveCfg = Release|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/Libraries/libtheora-1.1.1/win32/VS2008/libtheora_static.sln b/Libraries/libtheora-1.1.1/win32/VS2008/libtheora_static.sln deleted file mode 100644 index 2b396351..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2008/libtheora_static.sln +++ /dev/null @@ -1,146 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dump_video_static", "dump_video\dump_video_static.vcproj", "{1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libtheora_static", "libtheora\libtheora_static.vcproj", "{653F3841-3F26-49B9-AFCF-091DB4B67031}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "encoder_example_static", "encoder_example\encoder_example_static.vcproj", "{AD710263-EBFA-4388-BAA9-AD73C32AFF26}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) = Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) = Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - Debug|Windows Mobile 6 Professional SDK (ARMV4I) = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - Debug|x64 = Debug|x64 - Release_SSE|Win32 = Release_SSE|Win32 - Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) = Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) = Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I) = Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I) - Release_SSE|x64 = Release_SSE|x64 - Release_SSE2|Win32 = Release_SSE2|Win32 - Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) = Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) = Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I) = Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I) - Release_SSE2|x64 = Release_SSE2|x64 - Release|Win32 = Release|Win32 - Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) = Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) = Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - Release|Windows Mobile 6 Professional SDK (ARMV4I) = Release|Windows Mobile 6 Professional SDK (ARMV4I) - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|Win32.ActiveCfg = Debug|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|Win32.Build.0 = Debug|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Debug|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Debug|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|x64.ActiveCfg = Debug|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Debug|x64.Build.0 = Debug|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|Win32.ActiveCfg = Release_SSE|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|Win32.Build.0 = Release_SSE|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|x64.ActiveCfg = Release_SSE|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE|x64.Build.0 = Release_SSE|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|Win32.ActiveCfg = Release_SSE2|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|Win32.Build.0 = Release_SSE2|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|x64.ActiveCfg = Release_SSE2|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release_SSE2|x64.Build.0 = Release_SSE2|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|Win32.ActiveCfg = Release|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|Win32.Build.0 = Release|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Win32 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|x64.ActiveCfg = Release|x64 - {1A8CA99D-B6C7-48CB-B263-6CECDADF5FBF}.Release|x64.Build.0 = Release|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Win32.ActiveCfg = Debug|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Win32.Build.0 = Debug|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|x64.ActiveCfg = Debug|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Debug|x64.Build.0 = Debug|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Win32.ActiveCfg = Release_SSE|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Win32.Build.0 = Release_SSE|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Build.0 = Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Deploy.0 = Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Build.0 = Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Deploy.0 = Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|x64.ActiveCfg = Release_SSE|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE|x64.Build.0 = Release_SSE|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Win32.ActiveCfg = Release_SSE2|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Win32.Build.0 = Release_SSE2|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Build.0 = Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Deploy.0 = Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Build.0 = Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Deploy.0 = Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|x64.ActiveCfg = Release_SSE2|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release_SSE2|x64.Build.0 = Release_SSE2|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Win32.ActiveCfg = Release|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Win32.Build.0 = Release|Win32 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|x64.ActiveCfg = Release|x64 - {653F3841-3F26-49B9-AFCF-091DB4B67031}.Release|x64.Build.0 = Release|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|Win32.ActiveCfg = Debug|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|Win32.Build.0 = Debug|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Debug|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Debug|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|x64.ActiveCfg = Debug|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Debug|x64.Build.0 = Debug|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|Win32.ActiveCfg = Release_SSE|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|Win32.Build.0 = Release_SSE|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|x64.ActiveCfg = Release_SSE|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE|x64.Build.0 = Release_SSE|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|Win32.ActiveCfg = Release_SSE2|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|Win32.Build.0 = Release_SSE2|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release_SSE2|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|x64.ActiveCfg = Release_SSE2|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release_SSE2|x64.Build.0 = Release_SSE2|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|Win32.ActiveCfg = Release|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|Win32.Build.0 = Release|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I).ActiveCfg = Release|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I).ActiveCfg = Release|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Win32 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|x64.ActiveCfg = Release|x64 - {AD710263-EBFA-4388-BAA9-AD73C32AFF26}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/Libraries/libtheora-1.1.1/win32/VS2008/libvorbis.vsprops b/Libraries/libtheora-1.1.1/win32/VS2008/libvorbis.vsprops deleted file mode 100644 index 004dcc5f..00000000 --- a/Libraries/libtheora-1.1.1/win32/VS2008/libvorbis.vsprops +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - diff --git a/Libraries/libtheora-1.1.1/win32/build_theora_static.bat b/Libraries/libtheora-1.1.1/win32/build_theora_static.bat deleted file mode 100644 index 842cef01..00000000 --- a/Libraries/libtheora-1.1.1/win32/build_theora_static.bat +++ /dev/null @@ -1,18 +0,0 @@ -@echo off -echo ---+++--- Building Theora (Static) ---+++--- - -if .%SRCROOT%==. set SRCROOT=D:\xiph - -set OLDPATH=%PATH% -set OLDINCLUDE=%INCLUDE% -set OLDLIB=%LIB% - -call "c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat" -echo Setting include paths for Theora -set INCLUDE=%INCLUDE%;%SRCROOT%\ogg\include;%SRCROOT%\theora\include -echo Compiling... -msdev theora_static.dsp /useenv /make "theora_static - Win32 Release" /rebuild - -set PATH=%OLDPATH% -set INCLUDE=%OLDINCLUDE% -set LIB=%OLDLIB% diff --git a/Libraries/libtheora-1.1.1/win32/build_theora_static_debug.bat b/Libraries/libtheora-1.1.1/win32/build_theora_static_debug.bat deleted file mode 100644 index c58edb0d..00000000 --- a/Libraries/libtheora-1.1.1/win32/build_theora_static_debug.bat +++ /dev/null @@ -1,18 +0,0 @@ -@echo off -echo ---+++--- Building Theora (Static) ---+++--- - -if .%SRCROOT%==. set SRCROOT=D:\xiph - -set OLDPATH=%PATH% -set OLDINCLUDE=%INCLUDE% -set OLDLIB=%LIB% - -call "c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat" -echo Setting include paths for Theora -set INCLUDE=%INCLUDE%;%SRCROOT%\ogg\include;%SRCROOT%\theora\include -echo Compiling... -msdev theora_static.dsp /useenv /make "theora_static - Win32 Debug" /rebuild - -set PATH=%OLDPATH% -set INCLUDE=%OLDINCLUDE% -set LIB=%OLDLIB% diff --git a/Libraries/libtheora-1.1.1/win32/experimental/dumpvid/dumpvid.dsp b/Libraries/libtheora-1.1.1/win32/experimental/dumpvid/dumpvid.dsp deleted file mode 100644 index 40c4b07b..00000000 --- a/Libraries/libtheora-1.1.1/win32/experimental/dumpvid/dumpvid.dsp +++ /dev/null @@ -1,121 +0,0 @@ -# Microsoft Developer Studio Project File - Name="dumpvid" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=dumpvid - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "dumpvid.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "dumpvid.mak" CFG="dumpvid - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "dumpvid - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "dumpvid - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "dumpvid - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Yu"stdafx.h" /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\include" /I "..\..\..\..\ogg\include" /I "..\wincompat" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX /Yc /Yu -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib theora_static.lib ogg_static.lib /nologo /subsystem:console /machine:I386 /nodefaultlib:"LIBCMT" /out:"dump_vid.exe" /libpath:"..\..\Static_Release" /libpath:"..\..\..\..\ogg\win32\Static_Release" /libpath:"..\..\..\..\vorbis\win32\Vorbis_Static_Release" /libpath:"..\..\..\..\vorbis\win32\VorbisEnc_Static_Release" - -!ELSEIF "$(CFG)" == "dumpvid - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /I "..\..\..\..\ogg\include" /I "..\wincompat" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c -# SUBTRACT CPP /YX /Yc /Yu -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib theora_static_d.lib ogg_static_d.lib /nologo /subsystem:console /debug /machine:I386 /nodefaultlib:"LIBCD" /out:"dump_vid.exe" /pdbtype:sept /libpath:"..\..\Static_Debug" /libpath:"..\..\..\..\ogg\win32\Static_Debug" /libpath:"..\..\..\..\vorbis\win32\Vorbis_Static_Debug" /libpath:"..\..\..\..\vorbis\win32\VorbisEnc_Static_Debug" -# SUBTRACT LINK32 /nodefaultlib - -!ENDIF - -# Begin Target - -# Name "dumpvid - Win32 Release" -# Name "dumpvid - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\..\examples\dump_video.c -# End Source File -# Begin Source File - -SOURCE=..\wincompat\getopt.c -# End Source File -# Begin Source File - -SOURCE=..\wincompat\getopt_long.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# Begin Group "library" - -# PROP Default_Filter "" -# End Group -# Begin Source File - -SOURCE=.\ReadMe.txt -# End Source File -# End Target -# End Project diff --git a/Libraries/libtheora-1.1.1/win32/experimental/encoderwin/ReadMe.txt b/Libraries/libtheora-1.1.1/win32/experimental/encoderwin/ReadMe.txt deleted file mode 100644 index 12c4090f..00000000 --- a/Libraries/libtheora-1.1.1/win32/experimental/encoderwin/ReadMe.txt +++ /dev/null @@ -1,13 +0,0 @@ -05/30/03 -Updated to use the common encoder_sample.c source in theora/examples. - -05/23/03 - -Very simple port of the sample encoder for Windows, for testing. -Encoder options in the command line are not working, and the frame rate -of video needs to be set in code (like in the simple sample encoder.) - -This example will be updated to a true Win32 app sometime in the future, -hope it is useful for basic testing now. - -mauricio@xiph.org \ No newline at end of file diff --git a/Libraries/libtheora-1.1.1/win32/experimental/encoderwin/encoderwin.dsp b/Libraries/libtheora-1.1.1/win32/experimental/encoderwin/encoderwin.dsp deleted file mode 100644 index 6befa4ec..00000000 --- a/Libraries/libtheora-1.1.1/win32/experimental/encoderwin/encoderwin.dsp +++ /dev/null @@ -1,121 +0,0 @@ -# Microsoft Developer Studio Project File - Name="encoderwin" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=encoderwin - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "encoderwin.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "encoderwin.mak" CFG="encoderwin - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "encoderwin - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "encoderwin - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "encoderwin - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Yu"stdafx.h" /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\include" /I "..\..\..\..\vorbis\include" /I "..\..\..\..\ogg\include" /I "..\wincompat" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX /Yc /Yu -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib theora_static.lib ogg_static.lib vorbis_static.lib vorbisenc_static.lib /nologo /subsystem:console /machine:I386 /nodefaultlib:"LIBCMT" /out:"encoderwin.exe" /libpath:"..\..\Static_Release" /libpath:"..\..\..\..\ogg\win32\Static_Release" /libpath:"..\..\..\..\vorbis\win32\Vorbis_Static_Release" /libpath:"..\..\..\..\vorbis\win32\VorbisEnc_Static_Release" - -!ELSEIF "$(CFG)" == "encoderwin - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /I "..\..\..\..\vorbis\include" /I "..\..\..\..\ogg\include" /I "..\wincompat" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c -# SUBTRACT CPP /YX /Yc /Yu -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib theora_static_d.lib ogg_static_d.lib vorbis_static_d.lib vorbisenc_static_d.lib /nologo /subsystem:console /debug /machine:I386 /nodefaultlib:"LIBCD" /out:"encoderwin.exe" /pdbtype:sept /libpath:"..\..\Static_Debug" /libpath:"..\..\..\..\ogg\win32\Static_Debug" /libpath:"..\..\..\..\vorbis\win32\Vorbis_Static_Debug" /libpath:"..\..\..\..\vorbis\win32\VorbisEnc_Static_Debug" -# SUBTRACT LINK32 /nodefaultlib - -!ENDIF - -# Begin Target - -# Name "encoderwin - Win32 Release" -# Name "encoderwin - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\..\examples\encoder_example.c -# End Source File -# Begin Source File - -SOURCE=..\wincompat\getopt.c -# End Source File -# Begin Source File - -SOURCE=..\wincompat\getopt_long.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# Begin Group "library" - -# PROP Default_Filter "" -# End Group -# Begin Source File - -SOURCE=.\ReadMe.txt -# End Source File -# End Target -# End Project diff --git a/Libraries/libtheora-1.1.1/win32/experimental/transcoder/avi2vp3/avi2vp3.c b/Libraries/libtheora-1.1.1/win32/experimental/transcoder/avi2vp3/avi2vp3.c deleted file mode 100644 index 08777e5a..00000000 --- a/Libraries/libtheora-1.1.1/win32/experimental/transcoder/avi2vp3/avi2vp3.c +++ /dev/null @@ -1,82 +0,0 @@ -#include -#include -#ifdef _WIN32 -#include -#else -typedef long DWORD; -#endif - -/*extremely crude app to dump vp3 frames from an avi file*/ -/*filenames are hardcoded*/ - -#include "avilib.h" - -int main(int argc, const char **argv) -{ - - FILE * f = fopen("outfile.vp3", "wb"); - - char * buffer; - int olength; - int length; - avi_t *avifile; - int chunksize; - int frame; - int frames; - int keyframegap = 0; - int maxkeyframegap = 0; - - DWORD initialticks; - - int framew = 0; - int frameh = 0; - double framerate = 0.0f; - double fps_numerator, fps_denominator; - - avifile = AVI_open_input_file("vp31.avi", 1); - frames = AVI_video_frames(avifile); - framew = AVI_video_width(avifile); - frameh = AVI_video_height(avifile); - framerate = AVI_frame_rate(avifile); - chunksize = AVI_max_video_chunk(avifile); - /* avilib only reports the max video chunk size if the file has an - idx table. We fall back to an arbitrary limit otherwise. Better - would be just to handle the chunks dynamically */ - if (chunksize <= 0) chunksize = 131072; - buffer = malloc(chunksize); - printf("Frames(%d) Video(%dx%d) %3.2f fps\n",frames,framew, frameh,framerate); - printf("Video Compressor: %s", AVI_video_compressor(avifile)); - fps_denominator = 1000000.0F; - fps_numerator = framerate * fps_denominator; - - sprintf(buffer,"AVI2VP31R W%d H%d F%.0f:%.0f Ip A0:0\n", framew, frameh, fps_numerator, fps_denominator); - fwrite(buffer, strlen(buffer), 1, f); - - for (frame = 0; frame < frames;) { - int keyframe; - olength = length; - length = AVI_frame_size(avifile, frame++); - if( !length ) { - length = olength; - } - AVI_read_frame(avifile, (char *) buffer, &keyframe); - fwrite("FRAME\n", 6, 1, f); - fwrite(&length, sizeof(int), 1, f); - fwrite(&keyframe, sizeof(int), 1, f); - printf("Frame size(%d) IsKeyframe(%d)\n", length, keyframe); - fwrite(buffer, 1, length, f); - if (!keyframe){ - keyframegap++; - } else { - if (keyframegap>maxkeyframegap) maxkeyframegap=keyframegap; - keyframegap = 0; - } - } - - fclose(f); - printf("Max keyframegap (%d)\n", maxkeyframegap); - - free(buffer); - - exit(0); -} diff --git a/Libraries/libtheora-1.1.1/win32/experimental/transcoder/avi2vp3/avilib.c b/Libraries/libtheora-1.1.1/win32/experimental/transcoder/avi2vp3/avilib.c deleted file mode 100644 index 3df78ff8..00000000 --- a/Libraries/libtheora-1.1.1/win32/experimental/transcoder/avi2vp3/avilib.c +++ /dev/null @@ -1,1839 +0,0 @@ -/* - * avilib.c - * - * Copyright (C) Thomas Östreich - June 2001 - * multiple audio track support Copyright (C) 2002 Thomas Östreich - * - * Original code: - * Copyright (C) 1999 Rainer Johanni - * - * This file is part of transcode, a linux video stream processing tool - * - * transcode is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * transcode is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with GNU Make; see the file COPYING. If not, write to - * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include "avilib.h" -//#include - -#define INFO_LIST - -/* The following variable indicates the kind of error */ - -long AVI_errno; - -#define MAX_INFO_STRLEN 64 -static char id_str[MAX_INFO_STRLEN]; - -#define FRAME_RATE_SCALE 1000000 - -#ifndef PACKAGE -#define PACKAGE "my" -#define VERSION "0.00" -#endif - -#ifndef O_BINARY -/* win32 wants a binary flag to open(); this sets it to null - on platforms that don't have it. */ -#define O_BINARY 0 -#endif - -/******************************************************************* - * * - * Utilities for writing an AVI File * - * * - *******************************************************************/ - -static size_t avi_read(int fd, char *buf, size_t len) -{ - size_t n = 0; - size_t r = 0; - - while (r < len) { - n = read (fd, buf + r, len - r); - - if (n <= 0) - return r; - r += n; - } - - return r; -} - -static size_t avi_write (int fd, char *buf, size_t len) -{ - size_t n = 0; - size_t r = 0; - - while (r < len) { - n = write (fd, buf + r, len - r); - if (n < 0) - return n; - - r += n; - } - return r; -} - -/* HEADERBYTES: The number of bytes to reserve for the header */ - -#define HEADERBYTES 2048 - -/* AVI_MAX_LEN: The maximum length of an AVI file, we stay a bit below - the 2GB limit (Remember: 2*10^9 is smaller than 2 GB) */ - -#define AVI_MAX_LEN (UINT_MAX-(1<<20)*16-HEADERBYTES) - -#define PAD_EVEN(x) ( ((x)+1) & ~1 ) - - -/* Copy n into dst as a 4 byte, little endian number. - Should also work on big endian machines */ - -static void long2str(unsigned char *dst, int n) -{ - dst[0] = (n )&0xff; - dst[1] = (n>> 8)&0xff; - dst[2] = (n>>16)&0xff; - dst[3] = (n>>24)&0xff; -} - -/* Convert a string of 4 or 2 bytes to a number, - also working on big endian machines */ - -static unsigned long str2ulong(unsigned char *str) -{ - return ( str[0] | (str[1]<<8) | (str[2]<<16) | (str[3]<<24) ); -} -static unsigned long str2ushort(unsigned char *str) -{ - return ( str[0] | (str[1]<<8) ); -} - -/* Calculate audio sample size from number of bits and number of channels. - This may have to be adjusted for eg. 12 bits and stereo */ - -static int avi_sampsize(avi_t *AVI, int j) -{ - int s; - s = ((AVI->track[j].a_bits+7)/8)*AVI->track[j].a_chans; - // if(s==0) s=1; /* avoid possible zero divisions */ - if(s<4) s=4; /* avoid possible zero divisions */ - return s; -} - -/* Add a chunk (=tag and data) to the AVI file, - returns -1 on write error, 0 on success */ - -static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) -{ - unsigned char c[8]; - - /* Copy tag and length int c, so that we need only 1 write system call - for these two values */ - - memcpy(c,tag,4); - long2str(c+4,length); - - /* Output tag, length and data, restore previous position - if the write fails */ - - length = PAD_EVEN(length); - - if( avi_write(AVI->fdes,(char *)c,8) != 8 || - avi_write(AVI->fdes,(char *)data,length) != length ) - { - lseek(AVI->fdes,AVI->pos,SEEK_SET); - AVI_errno = AVI_ERR_WRITE; - return -1; - } - - /* Update file position */ - - AVI->pos += 8 + length; - - //fprintf(stderr, "pos=%lu %s\n", AVI->pos, tag); - - return 0; -} - -static int avi_add_index_entry(avi_t *AVI, unsigned char *tag, long flags, unsigned long pos, unsigned long len) -{ - void *ptr; - - if(AVI->n_idx>=AVI->max_idx) { - ptr = realloc((void *)AVI->idx,(AVI->max_idx+4096)*16); - - if(ptr == 0) { - AVI_errno = AVI_ERR_NO_MEM; - return -1; - } - AVI->max_idx += 4096; - AVI->idx = (unsigned char((*)[16]) ) ptr; - } - - /* Add index entry */ - - // fprintf(stderr, "INDEX %s %ld %lu %lu\n", tag, flags, pos, len); - - memcpy(AVI->idx[AVI->n_idx],tag,4); - long2str(AVI->idx[AVI->n_idx]+ 4,flags); - long2str(AVI->idx[AVI->n_idx]+ 8, pos); - long2str(AVI->idx[AVI->n_idx]+12, len); - - /* Update counter */ - - AVI->n_idx++; - - if(len>AVI->max_len) AVI->max_len=len; - - return 0; -} - -/* - AVI_open_output_file: Open an AVI File and write a bunch - of zero bytes as space for the header. - - returns a pointer to avi_t on success, a zero pointer on error -*/ - -avi_t* AVI_open_output_file(char * filename) -{ - avi_t *AVI; - int i; - - int mask = 0; - - unsigned char AVI_header[HEADERBYTES]; - - /* Allocate the avi_t struct and zero it */ - - AVI = (avi_t *) malloc(sizeof(avi_t)); - if(AVI==0) - { - AVI_errno = AVI_ERR_NO_MEM; - return 0; - } - memset((void *)AVI,0,sizeof(avi_t)); - - /* Since Linux needs a long time when deleting big files, - we do not truncate the file when we open it. - Instead it is truncated when the AVI file is closed */ - - /* mask = umask (0); - umask (mask);*/ - - AVI->fdes = open(filename, O_RDWR|O_CREAT|O_BINARY, 0644 &~ mask); - if (AVI->fdes < 0) - { - AVI_errno = AVI_ERR_OPEN; - free(AVI); - return 0; - } - - /* Write out HEADERBYTES bytes, the header will go here - when we are finished with writing */ - - for (i=0;ifdes,(char *)AVI_header,HEADERBYTES); - if (i != HEADERBYTES) - { - close(AVI->fdes); - AVI_errno = AVI_ERR_WRITE; - free(AVI); - return 0; - } - - AVI->pos = HEADERBYTES; - AVI->mode = AVI_MODE_WRITE; /* open for writing */ - - //init - AVI->anum = 0; - AVI->aptr = 0; - - return AVI; -} - -void AVI_set_video(avi_t *AVI, int width, int height, double fps, char *compressor) -{ - /* may only be called if file is open for writing */ - - if(AVI->mode==AVI_MODE_READ) return; - - AVI->width = width; - AVI->height = height; - AVI->fps = fps; - - if(strncmp(compressor, "RGB", 3)==0) { - memset(AVI->compressor, 0, 4); - } else { - memcpy(AVI->compressor,compressor,4); - } - - AVI->compressor[4] = 0; - - avi_update_header(AVI); -} - -void AVI_set_audio(avi_t *AVI, int channels, long rate, int bits, int format, long mp3rate) -{ - /* may only be called if file is open for writing */ - - if(AVI->mode==AVI_MODE_READ) return; - - //inc audio tracks - AVI->aptr=AVI->anum; - ++AVI->anum; - - if(AVI->anum > AVI_MAX_TRACKS) { - fprintf(stderr, "error - only %d audio tracks supported\n", AVI_MAX_TRACKS); - exit(1); - } - - AVI->track[AVI->aptr].a_chans = channels; - AVI->track[AVI->aptr].a_rate = rate; - AVI->track[AVI->aptr].a_bits = bits; - AVI->track[AVI->aptr].a_fmt = format; - AVI->track[AVI->aptr].mp3rate = mp3rate; - - avi_update_header(AVI); -} - -#define OUT4CC(s) \ - if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 - -#define OUTLONG(n) \ - if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 - -#define OUTSHRT(n) \ - if(nhb<=HEADERBYTES-2) { \ - AVI_header[nhb ] = (n )&0xff; \ - AVI_header[nhb+1] = (n>>8)&0xff; \ - } \ - nhb += 2 - - -//ThOe write preliminary AVI file header: 0 frames, max vid/aud size -int avi_update_header(avi_t *AVI) -{ - int njunk, sampsize, hasIndex, ms_per_frame, frate, flag; - int movi_len, hdrl_start, strl_start, j; - unsigned char AVI_header[HEADERBYTES]; - long nhb; - - //assume max size - movi_len = AVI_MAX_LEN - HEADERBYTES + 4; - - //assume index will be written - hasIndex=1; - - if(AVI->fps < 0.001) { - frate=0; - ms_per_frame=0; - } else { - frate = (int) (FRAME_RATE_SCALE*AVI->fps + 0.5); - ms_per_frame=(int) (1000000/AVI->fps + 0.5); - } - - /* Prepare the file header */ - - nhb = 0; - - /* The RIFF header */ - - OUT4CC ("RIFF"); - OUTLONG(movi_len); // assume max size - OUT4CC ("AVI "); - - /* Start the header list */ - - OUT4CC ("LIST"); - OUTLONG(0); /* Length of list in bytes, don't know yet */ - hdrl_start = nhb; /* Store start position */ - OUT4CC ("hdrl"); - - /* The main AVI header */ - - /* The Flags in AVI File header */ - -#define AVIF_HASINDEX 0x00000010 /* Index at end of file */ -#define AVIF_MUSTUSEINDEX 0x00000020 -#define AVIF_ISINTERLEAVED 0x00000100 -#define AVIF_TRUSTCKTYPE 0x00000800 /* Use CKType to find key frames */ -#define AVIF_WASCAPTUREFILE 0x00010000 -#define AVIF_COPYRIGHTED 0x00020000 - - OUT4CC ("avih"); - OUTLONG(56); /* # of bytes to follow */ - OUTLONG(ms_per_frame); /* Microseconds per frame */ - //ThOe ->0 - // OUTLONG(10000000); /* MaxBytesPerSec, I hope this will never be used */ - OUTLONG(0); - OUTLONG(0); /* PaddingGranularity (whatever that might be) */ - /* Other sources call it 'reserved' */ - flag = AVIF_ISINTERLEAVED; - if(hasIndex) flag |= AVIF_HASINDEX; - if(hasIndex && AVI->must_use_index) flag |= AVIF_MUSTUSEINDEX; - OUTLONG(flag); /* Flags */ - OUTLONG(0); // no frames yet - OUTLONG(0); /* InitialFrames */ - - OUTLONG(AVI->anum+1); - - OUTLONG(0); /* SuggestedBufferSize */ - OUTLONG(AVI->width); /* Width */ - OUTLONG(AVI->height); /* Height */ - /* MS calls the following 'reserved': */ - OUTLONG(0); /* TimeScale: Unit used to measure time */ - OUTLONG(0); /* DataRate: Data rate of playback */ - OUTLONG(0); /* StartTime: Starting time of AVI data */ - OUTLONG(0); /* DataLength: Size of AVI data chunk */ - - - /* Start the video stream list ---------------------------------- */ - - OUT4CC ("LIST"); - OUTLONG(0); /* Length of list in bytes, don't know yet */ - strl_start = nhb; /* Store start position */ - OUT4CC ("strl"); - - /* The video stream header */ - - OUT4CC ("strh"); - OUTLONG(56); /* # of bytes to follow */ - OUT4CC ("vids"); /* Type */ - OUT4CC (AVI->compressor); /* Handler */ - OUTLONG(0); /* Flags */ - OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ - OUTLONG(0); /* InitialFrames */ - OUTLONG(FRAME_RATE_SCALE); /* Scale */ - OUTLONG(frate); /* Rate: Rate/Scale == samples/second */ - OUTLONG(0); /* Start */ - OUTLONG(0); // no frames yet - OUTLONG(0); /* SuggestedBufferSize */ - OUTLONG(-1); /* Quality */ - OUTLONG(0); /* SampleSize */ - OUTLONG(0); /* Frame */ - OUTLONG(0); /* Frame */ - // OUTLONG(0); /* Frame */ - //OUTLONG(0); /* Frame */ - - /* The video stream format */ - - OUT4CC ("strf"); - OUTLONG(40); /* # of bytes to follow */ - OUTLONG(40); /* Size */ - OUTLONG(AVI->width); /* Width */ - OUTLONG(AVI->height); /* Height */ - OUTSHRT(1); OUTSHRT(24); /* Planes, Count */ - OUT4CC (AVI->compressor); /* Compression */ - // ThOe (*3) - OUTLONG(AVI->width*AVI->height*3); /* SizeImage (in bytes?) */ - OUTLONG(0); /* XPelsPerMeter */ - OUTLONG(0); /* YPelsPerMeter */ - OUTLONG(0); /* ClrUsed: Number of colors used */ - OUTLONG(0); /* ClrImportant: Number of colors important */ - - /* Finish stream list, i.e. put number of bytes in the list to proper pos */ - - long2str(AVI_header+strl_start-4,nhb-strl_start); - - - /* Start the audio stream list ---------------------------------- */ - - for(j=0; janum; ++j) { - - sampsize = avi_sampsize(AVI, j); - - OUT4CC ("LIST"); - OUTLONG(0); /* Length of list in bytes, don't know yet */ - strl_start = nhb; /* Store start position */ - OUT4CC ("strl"); - - /* The audio stream header */ - - OUT4CC ("strh"); - OUTLONG(56); /* # of bytes to follow */ - OUT4CC ("auds"); - - // ----------- - // ThOe - OUTLONG(0); /* Format (Optionally) */ - // ----------- - - OUTLONG(0); /* Flags */ - OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ - OUTLONG(0); /* InitialFrames */ - - // ThOe /4 - OUTLONG(sampsize/4); /* Scale */ - OUTLONG(1000*AVI->track[j].mp3rate/8); - OUTLONG(0); /* Start */ - OUTLONG(4*AVI->track[j].audio_bytes/sampsize); /* Length */ - OUTLONG(0); /* SuggestedBufferSize */ - OUTLONG(-1); /* Quality */ - - // ThOe /4 - OUTLONG(sampsize/4); /* SampleSize */ - - OUTLONG(0); /* Frame */ - OUTLONG(0); /* Frame */ - // OUTLONG(0); /* Frame */ - //OUTLONG(0); /* Frame */ - - /* The audio stream format */ - - OUT4CC ("strf"); - OUTLONG(16); /* # of bytes to follow */ - OUTSHRT(AVI->track[j].a_fmt); /* Format */ - OUTSHRT(AVI->track[j].a_chans); /* Number of channels */ - OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ - // ThOe - OUTLONG(1000*AVI->track[j].mp3rate/8); - //ThOe (/4) - - OUTSHRT(sampsize/4); /* BlockAlign */ - - - OUTSHRT(AVI->track[j].a_bits); /* BitsPerSample */ - - /* Finish stream list, i.e. put number of bytes in the list to proper pos */ - - long2str(AVI_header+strl_start-4,nhb-strl_start); - } - - /* Finish header list */ - - long2str(AVI_header+hdrl_start-4,nhb-hdrl_start); - - - /* Calculate the needed amount of junk bytes, output junk */ - - njunk = HEADERBYTES - nhb - 8 - 12; - - /* Safety first: if njunk <= 0, somebody has played with - HEADERBYTES without knowing what (s)he did. - This is a fatal error */ - - if(njunk<=0) - { - fprintf(stderr,"AVI_close_output_file: # of header bytes too small\n"); - exit(1); - } - - OUT4CC ("JUNK"); - OUTLONG(njunk); - memset(AVI_header+nhb,0,njunk); - - //11/14/01 added id string - - if(njunk > strlen(id_str)+8) { - sprintf(id_str, "%s-%s", PACKAGE, VERSION); - memcpy(AVI_header+nhb, id_str, strlen(id_str)); - } - - nhb += njunk; - - /* Start the movi list */ - - OUT4CC ("LIST"); - OUTLONG(movi_len); /* Length of list in bytes */ - OUT4CC ("movi"); - - /* Output the header, truncate the file to the number of bytes - actually written, report an error if someting goes wrong */ - - if ( lseek(AVI->fdes,0,SEEK_SET)<0 || - avi_write(AVI->fdes,(char *)AVI_header,HEADERBYTES)!=HEADERBYTES || - lseek(AVI->fdes,AVI->pos,SEEK_SET)<0) - { - AVI_errno = AVI_ERR_CLOSE; - return -1; - } - - return 0; -} - -/* - Write the header of an AVI file and close it. - returns 0 on success, -1 on write error. -*/ - -static int avi_close_output_file(avi_t *AVI) -{ - - int ret, njunk, sampsize, hasIndex, ms_per_frame, frate, idxerror, flag; - unsigned long movi_len; - int hdrl_start, strl_start, j; - unsigned char AVI_header[HEADERBYTES]; - long nhb; - -#ifdef INFO_LIST - long info_len; -// time_t calptr; -#endif - - /* Calculate length of movi list */ - - movi_len = AVI->pos - HEADERBYTES + 4; - - /* Try to ouput the index entries. This may fail e.g. if no space - is left on device. We will report this as an error, but we still - try to write the header correctly (so that the file still may be - readable in the most cases */ - - idxerror = 0; - // fprintf(stderr, "pos=%lu, index_len=%ld \n", AVI->pos, AVI->n_idx*16); - ret = avi_add_chunk(AVI, (unsigned char *)"idx1", (void*)AVI->idx, AVI->n_idx*16); - hasIndex = (ret==0); - //fprintf(stderr, "pos=%lu, index_len=%d\n", AVI->pos, hasIndex); - - if(ret) { - idxerror = 1; - AVI_errno = AVI_ERR_WRITE_INDEX; - } - - /* Calculate Microseconds per frame */ - - if(AVI->fps < 0.001) { - frate=0; - ms_per_frame=0; - } else { - frate = (int) (FRAME_RATE_SCALE*AVI->fps + 0.5); - ms_per_frame=(int) (1000000/AVI->fps + 0.5); - } - - /* Prepare the file header */ - - nhb = 0; - - /* The RIFF header */ - - OUT4CC ("RIFF"); - OUTLONG(AVI->pos - 8); /* # of bytes to follow */ - OUT4CC ("AVI "); - - /* Start the header list */ - - OUT4CC ("LIST"); - OUTLONG(0); /* Length of list in bytes, don't know yet */ - hdrl_start = nhb; /* Store start position */ - OUT4CC ("hdrl"); - - /* The main AVI header */ - - /* The Flags in AVI File header */ - -#define AVIF_HASINDEX 0x00000010 /* Index at end of file */ -#define AVIF_MUSTUSEINDEX 0x00000020 -#define AVIF_ISINTERLEAVED 0x00000100 -#define AVIF_TRUSTCKTYPE 0x00000800 /* Use CKType to find key frames */ -#define AVIF_WASCAPTUREFILE 0x00010000 -#define AVIF_COPYRIGHTED 0x00020000 - - OUT4CC ("avih"); - OUTLONG(56); /* # of bytes to follow */ - OUTLONG(ms_per_frame); /* Microseconds per frame */ - //ThOe ->0 - // OUTLONG(10000000); /* MaxBytesPerSec, I hope this will never be used */ - OUTLONG(0); - OUTLONG(0); /* PaddingGranularity (whatever that might be) */ - /* Other sources call it 'reserved' */ - flag = AVIF_ISINTERLEAVED; - if(hasIndex) flag |= AVIF_HASINDEX; - if(hasIndex && AVI->must_use_index) flag |= AVIF_MUSTUSEINDEX; - OUTLONG(flag); /* Flags */ - OUTLONG(AVI->video_frames); /* TotalFrames */ - OUTLONG(0); /* InitialFrames */ - - OUTLONG(AVI->anum+1); -// if (AVI->track[0].audio_bytes) -// { OUTLONG(2); } /* Streams */ -// else -// { OUTLONG(1); } /* Streams */ - - OUTLONG(0); /* SuggestedBufferSize */ - OUTLONG(AVI->width); /* Width */ - OUTLONG(AVI->height); /* Height */ - /* MS calls the following 'reserved': */ - OUTLONG(0); /* TimeScale: Unit used to measure time */ - OUTLONG(0); /* DataRate: Data rate of playback */ - OUTLONG(0); /* StartTime: Starting time of AVI data */ - OUTLONG(0); /* DataLength: Size of AVI data chunk */ - - - /* Start the video stream list ---------------------------------- */ - - OUT4CC ("LIST"); - OUTLONG(0); /* Length of list in bytes, don't know yet */ - strl_start = nhb; /* Store start position */ - OUT4CC ("strl"); - - /* The video stream header */ - - OUT4CC ("strh"); - OUTLONG(56); /* # of bytes to follow */ - OUT4CC ("vids"); /* Type */ - OUT4CC (AVI->compressor); /* Handler */ - OUTLONG(0); /* Flags */ - OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ - OUTLONG(0); /* InitialFrames */ - OUTLONG(FRAME_RATE_SCALE); /* Scale */ - OUTLONG(frate); /* Rate: Rate/Scale == samples/second */ - OUTLONG(0); /* Start */ - OUTLONG(AVI->video_frames); /* Length */ - OUTLONG(0); /* SuggestedBufferSize */ - OUTLONG(-1); /* Quality */ - OUTLONG(0); /* SampleSize */ - OUTLONG(0); /* Frame */ - OUTLONG(0); /* Frame */ - // OUTLONG(0); /* Frame */ - //OUTLONG(0); /* Frame */ - - /* The video stream format */ - - OUT4CC ("strf"); - OUTLONG(40); /* # of bytes to follow */ - OUTLONG(40); /* Size */ - OUTLONG(AVI->width); /* Width */ - OUTLONG(AVI->height); /* Height */ - OUTSHRT(1); OUTSHRT(24); /* Planes, Count */ - OUT4CC (AVI->compressor); /* Compression */ - // ThOe (*3) - OUTLONG(AVI->width*AVI->height*3); /* SizeImage (in bytes?) */ - OUTLONG(0); /* XPelsPerMeter */ - OUTLONG(0); /* YPelsPerMeter */ - OUTLONG(0); /* ClrUsed: Number of colors used */ - OUTLONG(0); /* ClrImportant: Number of colors important */ - - /* Finish stream list, i.e. put number of bytes in the list to proper pos */ - - long2str(AVI_header+strl_start-4,nhb-strl_start); - - /* Start the audio stream list ---------------------------------- */ - - for(j=0; janum; ++j) { - - //if (AVI->track[j].a_chans && AVI->track[j].audio_bytes) - { - - sampsize = avi_sampsize(AVI, j); - - OUT4CC ("LIST"); - OUTLONG(0); /* Length of list in bytes, don't know yet */ - strl_start = nhb; /* Store start position */ - OUT4CC ("strl"); - - /* The audio stream header */ - - OUT4CC ("strh"); - OUTLONG(56); /* # of bytes to follow */ - OUT4CC ("auds"); - - // ----------- - // ThOe - OUTLONG(0); /* Format (Optionally) */ - // ----------- - - OUTLONG(0); /* Flags */ - OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ - OUTLONG(0); /* InitialFrames */ - - // ThOe /4 - OUTLONG(sampsize/4); /* Scale */ - OUTLONG(1000*AVI->track[j].mp3rate/8); - OUTLONG(0); /* Start */ - OUTLONG(4*AVI->track[j].audio_bytes/sampsize); /* Length */ - OUTLONG(0); /* SuggestedBufferSize */ - OUTLONG(-1); /* Quality */ - - // ThOe /4 - OUTLONG(sampsize/4); /* SampleSize */ - - OUTLONG(0); /* Frame */ - OUTLONG(0); /* Frame */ - // OUTLONG(0); /* Frame */ - //OUTLONG(0); /* Frame */ - - /* The audio stream format */ - - OUT4CC ("strf"); - OUTLONG(16); /* # of bytes to follow */ - OUTSHRT(AVI->track[j].a_fmt); /* Format */ - OUTSHRT(AVI->track[j].a_chans); /* Number of channels */ - OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ - // ThOe - OUTLONG(1000*AVI->track[j].mp3rate/8); - //ThOe (/4) - - OUTSHRT(sampsize/4); /* BlockAlign */ - - - OUTSHRT(AVI->track[j].a_bits); /* BitsPerSample */ - - /* Finish stream list, i.e. put number of bytes in the list to proper pos */ - } - long2str(AVI_header+strl_start-4,nhb-strl_start); - } - - /* Finish header list */ - - long2str(AVI_header+hdrl_start-4,nhb-hdrl_start); - - - // add INFO list --- (0.6.0pre4) - -#ifdef INFO_LIST - OUT4CC ("LIST"); - - //FIXME - info_len = MAX_INFO_STRLEN + 12; - OUTLONG(info_len); - OUT4CC ("INFO"); - -// OUT4CC ("INAM"); -// OUTLONG(MAX_INFO_STRLEN); - -// sprintf(id_str, "\t"); -// memset(AVI_header+nhb, 0, MAX_INFO_STRLEN); -// memcpy(AVI_header+nhb, id_str, strlen(id_str)); -// nhb += MAX_INFO_STRLEN; - - OUT4CC ("ISFT"); - OUTLONG(MAX_INFO_STRLEN); - - sprintf(id_str, "%s-%s", PACKAGE, VERSION); - memset(AVI_header+nhb, 0, MAX_INFO_STRLEN); - memcpy(AVI_header+nhb, id_str, strlen(id_str)); - nhb += MAX_INFO_STRLEN; - -// OUT4CC ("ICMT"); -// OUTLONG(MAX_INFO_STRLEN); - -// calptr=time(NULL); -// sprintf(id_str, "\t%s %s", ctime(&calptr), ""); -// memset(AVI_header+nhb, 0, MAX_INFO_STRLEN); -// memcpy(AVI_header+nhb, id_str, 25); -// nhb += MAX_INFO_STRLEN; -#endif - - // ---------------------------- - - /* Calculate the needed amount of junk bytes, output junk */ - - njunk = HEADERBYTES - nhb - 8 - 12; - - /* Safety first: if njunk <= 0, somebody has played with - HEADERBYTES without knowing what (s)he did. - This is a fatal error */ - - if(njunk<=0) - { - fprintf(stderr,"AVI_close_output_file: # of header bytes too small\n"); - exit(1); - } - - OUT4CC ("JUNK"); - OUTLONG(njunk); - memset(AVI_header+nhb,0,njunk); - - nhb += njunk; - - /* Start the movi list */ - - OUT4CC ("LIST"); - OUTLONG(movi_len); /* Length of list in bytes */ - OUT4CC ("movi"); - - /* Output the header, truncate the file to the number of bytes - actually written, report an error if someting goes wrong */ - - if ( lseek(AVI->fdes,0,SEEK_SET)<0 || - avi_write(AVI->fdes,(char *)AVI_header,HEADERBYTES)!=HEADERBYTES - //|| ftruncate(AVI->fdes,AVI->pos)<0 - ) - { - AVI_errno = AVI_ERR_CLOSE; - return -1; - } - - if(idxerror) return -1; - - return 0; -} - -/* - AVI_write_data: - Add video or audio data to the file; - - Return values: - 0 No error; - -1 Error, AVI_errno is set appropriatly; - -*/ - -static int avi_write_data(avi_t *AVI, char *data, unsigned long length, int audio, int keyframe) -{ - int n; - - unsigned char astr[5]; - - /* Check for maximum file length */ - - if ( (AVI->pos + 8 + length + 8 + (AVI->n_idx+1)*16) > AVI_MAX_LEN ) { - AVI_errno = AVI_ERR_SIZELIM; - return -1; - } - - /* Add index entry */ - - //set tag for current audio track - sprintf((char *)astr, "0%1dwb", AVI->aptr+1); - - if(audio) - n = avi_add_index_entry(AVI,astr,0x00,AVI->pos,length); - else - n = avi_add_index_entry(AVI,(unsigned char *) "00db",((keyframe)?0x10:0x0),AVI->pos,length); - - if(n) return -1; - - /* Output tag and data */ - - if(audio) - n = avi_add_chunk(AVI,(unsigned char *) astr, (unsigned char *)data,length); - else - n = avi_add_chunk(AVI,(unsigned char *)"00db",(unsigned char *)data,length); - - if (n) return -1; - - return 0; -} - -int AVI_write_frame(avi_t *AVI, char *data, long bytes, int keyframe) -{ - unsigned long pos; - - if(AVI->mode==AVI_MODE_READ) { AVI_errno = AVI_ERR_NOT_PERM; return -1; } - - pos = AVI->pos; - - if(avi_write_data(AVI,data,bytes,0,keyframe)) return -1; - - AVI->last_pos = pos; - AVI->last_len = bytes; - AVI->video_frames++; - return 0; -} - -int AVI_dup_frame(avi_t *AVI) -{ - if(AVI->mode==AVI_MODE_READ) { AVI_errno = AVI_ERR_NOT_PERM; return -1; } - - if(AVI->last_pos==0) return 0; /* No previous real frame */ - if(avi_add_index_entry(AVI,(unsigned char *)"00db",0x10,AVI->last_pos,AVI->last_len)) return -1; - AVI->video_frames++; - AVI->must_use_index = 1; - return 0; -} - -int AVI_write_audio(avi_t *AVI, char *data, long bytes) -{ - if(AVI->mode==AVI_MODE_READ) { AVI_errno = AVI_ERR_NOT_PERM; return -1; } - - if( avi_write_data(AVI,data,bytes,1,0) ) return -1; - AVI->track[AVI->aptr].audio_bytes += bytes; - return 0; -} - - -int AVI_append_audio(avi_t *AVI, char *data, long bytes) -{ - - long i, length, pos; - unsigned char c[4]; - - if(AVI->mode==AVI_MODE_READ) { AVI_errno = AVI_ERR_NOT_PERM; return -1; } - - // update last index entry: - - --AVI->n_idx; - length = str2ulong(AVI->idx[AVI->n_idx]+12); - pos = str2ulong(AVI->idx[AVI->n_idx]+8); - - //update; - long2str(AVI->idx[AVI->n_idx]+12,length+bytes); - - ++AVI->n_idx; - - AVI->track[AVI->aptr].audio_bytes += bytes; - - //update chunk header - lseek(AVI->fdes, pos+4, SEEK_SET); - long2str(c, length+bytes); - avi_write(AVI->fdes,(char *) c, 4); - - lseek(AVI->fdes, pos+8+length, SEEK_SET); - - i=PAD_EVEN(length + bytes); - - bytes = i - length; - avi_write(AVI->fdes, data, bytes); - AVI->pos = pos + 8 + i; - - return 0; -} - - -long AVI_bytes_remain(avi_t *AVI) -{ - if(AVI->mode==AVI_MODE_READ) return 0; - - return ( AVI_MAX_LEN - (AVI->pos + 8 + 16*AVI->n_idx)); -} - -long AVI_bytes_written(avi_t *AVI) -{ - if(AVI->mode==AVI_MODE_READ) return 0; - - return (AVI->pos + 8 + 16*AVI->n_idx); -} - -int AVI_set_audio_track(avi_t *AVI, int track) -{ - - if(track < 0 || track + 1 > AVI->anum) return(-1); - - //this info is not written to file anyway - AVI->aptr=track; - return 0; -} - -int AVI_get_audio_track(avi_t *AVI) -{ - return(AVI->aptr); -} - - -/******************************************************************* - * * - * Utilities for reading video and audio from an AVI File * - * * - *******************************************************************/ - -int AVI_close(avi_t *AVI) -{ - int ret; - - /* If the file was open for writing, the header and index still have - to be written */ - - if(AVI->mode == AVI_MODE_WRITE) - ret = avi_close_output_file(AVI); - else - ret = 0; - - /* Even if there happened an error, we first clean up */ - - close(AVI->fdes); - if(AVI->idx) free(AVI->idx); - if(AVI->video_index) free(AVI->video_index); - //FIXME - //if(AVI->audio_index) free(AVI->audio_index); - free(AVI); - - return ret; -} - - -#define ERR_EXIT(x) \ -{ \ - AVI_close(AVI); \ - AVI_errno = x; \ - return 0; \ -} - -avi_t *AVI_open_input_file(char *filename, int getIndex) -{ - avi_t *AVI=NULL; - - /* Create avi_t structure */ - - AVI = (avi_t *) malloc(sizeof(avi_t)); - if(AVI==NULL) - { - AVI_errno = AVI_ERR_NO_MEM; - return 0; - } - memset((void *)AVI,0,sizeof(avi_t)); - - AVI->mode = AVI_MODE_READ; /* open for reading */ - - /* Open the file */ - - AVI->fdes = open(filename,O_RDONLY|O_BINARY); - if(AVI->fdes < 0) - { - AVI_errno = AVI_ERR_OPEN; - free(AVI); - return 0; - } - - avi_parse_input_file(AVI, getIndex); - - AVI->aptr=0; //reset - - return AVI; -} - -avi_t *AVI_open_fd(int fd, int getIndex) -{ - avi_t *AVI=NULL; - - /* Create avi_t structure */ - - AVI = (avi_t *) malloc(sizeof(avi_t)); - if(AVI==NULL) - { - AVI_errno = AVI_ERR_NO_MEM; - return 0; - } - memset((void *)AVI,0,sizeof(avi_t)); - - AVI->mode = AVI_MODE_READ; /* open for reading */ - - // file alread open - AVI->fdes = fd; - - avi_parse_input_file(AVI, getIndex); - - AVI->aptr=0; //reset - - return AVI; -} - -int avi_parse_input_file(avi_t *AVI, int getIndex) -{ - long i, n, rate, scale, idx_type; - unsigned char *hdrl_data; - long header_offset=0, hdrl_len=0; - long nvi, nai[AVI_MAX_TRACKS], ioff; - long tot[AVI_MAX_TRACKS]; - int j; - int lasttag = 0; - int vids_strh_seen = 0; - int vids_strf_seen = 0; - int auds_strh_seen = 0; - // int auds_strf_seen = 0; - int num_stream = 0; - char data[256]; - - /* Read first 12 bytes and check that this is an AVI file */ - - if( avi_read(AVI->fdes,data,12) != 12 ) ERR_EXIT(AVI_ERR_READ) - - if( strncasecmp(data ,"RIFF",4) !=0 || - strncasecmp(data+8,"AVI ",4) !=0 ) ERR_EXIT(AVI_ERR_NO_AVI) - - /* Go through the AVI file and extract the header list, - the start position of the 'movi' list and an optionally - present idx1 tag */ - - hdrl_data = 0; - - while(1) - { - if( avi_read(AVI->fdes,data,8) != 8 ) break; /* We assume it's EOF */ - - n = str2ulong((unsigned char *) data+4); - n = PAD_EVEN(n); - - if(strncasecmp(data,"LIST",4) == 0) - { - if( avi_read(AVI->fdes,data,4) != 4 ) ERR_EXIT(AVI_ERR_READ) - n -= 4; - if(strncasecmp(data,"hdrl",4) == 0) - { - hdrl_len = n; - hdrl_data = (unsigned char *) malloc(n); - if(hdrl_data==0) ERR_EXIT(AVI_ERR_NO_MEM); - - // offset of header - - header_offset = lseek(AVI->fdes,0,SEEK_CUR); - - if( avi_read(AVI->fdes,(char *)hdrl_data,n) != n ) ERR_EXIT(AVI_ERR_READ) - } - else if(strncasecmp(data,"movi",4) == 0) - { - AVI->movi_start = lseek(AVI->fdes,0,SEEK_CUR); - lseek(AVI->fdes,n,SEEK_CUR); - } - else - lseek(AVI->fdes,n,SEEK_CUR); - } - else if(strncasecmp(data,"idx1",4) == 0) - { - /* n must be a multiple of 16, but the reading does not - break if this is not the case */ - - AVI->n_idx = AVI->max_idx = n/16; - AVI->idx = (unsigned char((*)[16]) ) malloc(n); - if(AVI->idx==0) ERR_EXIT(AVI_ERR_NO_MEM) - if(avi_read(AVI->fdes, (char *) AVI->idx, n) != n ) ERR_EXIT(AVI_ERR_READ) - } - else - lseek(AVI->fdes,n,SEEK_CUR); - } - - if(!hdrl_data ) ERR_EXIT(AVI_ERR_NO_HDRL) - if(!AVI->movi_start) ERR_EXIT(AVI_ERR_NO_MOVI) - - /* Interpret the header list */ - - for(i=0;icompressor,hdrl_data+i+4,4); - AVI->compressor[4] = 0; - - // ThOe - AVI->v_codech_off = header_offset + i+4; - - scale = str2ulong((unsigned char *)hdrl_data+i+20); - rate = str2ulong(hdrl_data+i+24); - if(scale!=0) AVI->fps = (double)rate/(double)scale; - AVI->video_frames = str2ulong(hdrl_data+i+32); - AVI->video_strn = num_stream; - AVI->max_len = 0; - vids_strh_seen = 1; - lasttag = 1; /* vids */ - } - else if (strncasecmp ((char *) hdrl_data+i,"auds",4) ==0 && ! auds_strh_seen) - { - - //inc audio tracks - AVI->aptr=AVI->anum; - ++AVI->anum; - - if(AVI->anum > AVI_MAX_TRACKS) { - fprintf(stderr, "error - only %d audio tracks supported\n", AVI_MAX_TRACKS); - return(-1); - } - - AVI->track[AVI->aptr].audio_bytes = str2ulong(hdrl_data+i+32)*avi_sampsize(AVI, 0); - AVI->track[AVI->aptr].audio_strn = num_stream; - // auds_strh_seen = 1; - lasttag = 2; /* auds */ - - // ThOe - AVI->track[AVI->aptr].a_codech_off = header_offset + i; - - } - else - lasttag = 0; - num_stream++; - } - else if(strncasecmp((char *) hdrl_data+i,"strf",4)==0) - { - i += 8; - if(lasttag == 1) - { - AVI->width = str2ulong(hdrl_data+i+4); - AVI->height = str2ulong(hdrl_data+i+8); - vids_strf_seen = 1; - //ThOe - AVI->v_codecf_off = header_offset + i+16; - - memcpy(AVI->compressor2, hdrl_data+i+16, 4); - AVI->compressor2[4] = 0; - - } - else if(lasttag == 2) - { - AVI->track[AVI->aptr].a_fmt = str2ushort(hdrl_data+i ); - - //ThOe - AVI->track[AVI->aptr].a_codecf_off = header_offset + i; - - AVI->track[AVI->aptr].a_chans = str2ushort(hdrl_data+i+2); - AVI->track[AVI->aptr].a_rate = str2ulong (hdrl_data+i+4); - //ThOe: read mp3bitrate - AVI->track[AVI->aptr].mp3rate = 8*str2ulong(hdrl_data+i+8)/1000; - //:ThOe - AVI->track[AVI->aptr].a_bits = str2ushort(hdrl_data+i+14); - // auds_strf_seen = 1; - } - lasttag = 0; - } - else - { - i += 8; - lasttag = 0; - } - - i += n; - } - - free(hdrl_data); - - if(!vids_strh_seen || !vids_strf_seen) ERR_EXIT(AVI_ERR_NO_VIDS) - - AVI->video_tag[0] = AVI->video_strn/10 + '0'; - AVI->video_tag[1] = AVI->video_strn%10 + '0'; - AVI->video_tag[2] = 'd'; - AVI->video_tag[3] = 'b'; - - /* Audio tag is set to "99wb" if no audio present */ - if(!AVI->track[0].a_chans) AVI->track[0].audio_strn = 99; - - for(j=0; janum; ++j) { - AVI->track[j].audio_tag[0] = (j+1)/10 + '0'; - AVI->track[j].audio_tag[1] = (j+1)%10 + '0'; - AVI->track[j].audio_tag[2] = 'w'; - AVI->track[j].audio_tag[3] = 'b'; - } - - lseek(AVI->fdes,AVI->movi_start,SEEK_SET); - - /* get index if wanted */ - - if(!getIndex) return(0); - - /* if the file has an idx1, check if this is relative - to the start of the file or to the start of the movi list */ - - idx_type = 0; - - if(AVI->idx) - { - long pos, len; - - /* Search the first videoframe in the idx1 and look where - it is in the file */ - - for(i=0;in_idx;i++) - if( strncasecmp((char *) AVI->idx[i],(char *) AVI->video_tag,3)==0 ) break; - if(i>=AVI->n_idx) ERR_EXIT(AVI_ERR_NO_VIDS) - - pos = str2ulong(AVI->idx[i]+ 8); - len = str2ulong(AVI->idx[i]+12); - - lseek(AVI->fdes,pos,SEEK_SET); - if(avi_read(AVI->fdes,data,8)!=8) ERR_EXIT(AVI_ERR_READ) - if( strncasecmp((char *)data,(char *)AVI->idx[i],4)==0 && - str2ulong((unsigned char *)data+4)==len ) - { - idx_type = 1; /* Index from start of file */ - } - else - { - lseek(AVI->fdes,pos+AVI->movi_start-4,SEEK_SET); - if(avi_read(AVI->fdes,data,8)!=8) ERR_EXIT(AVI_ERR_READ) - if( strncasecmp((char *)data,(char *)AVI->idx[i],4)==0 && str2ulong((unsigned char *)data+4)==len ) - { - idx_type = 2; /* Index from start of movi list */ - } - } - /* idx_type remains 0 if neither of the two tests above succeeds */ - } - - if(idx_type == 0) - { - /* we must search through the file to get the index */ - - lseek(AVI->fdes, AVI->movi_start, SEEK_SET); - - AVI->n_idx = 0; - - while(1) - { - if( avi_read(AVI->fdes,data,8) != 8 ) break; - n = str2ulong((unsigned char *)data+4); - - /* The movi list may contain sub-lists, ignore them */ - - if(strncasecmp(data,"LIST",4)==0) - { - lseek(AVI->fdes,4,SEEK_CUR); - continue; - } - - /* Check if we got a tag ##db, ##dc or ##wb */ - - if( ( (data[2]=='d' || data[2]=='D') && - (data[3]=='b' || data[3]=='B' || data[3]=='c' || data[3]=='C') ) - || ( (data[2]=='w' || data[2]=='W') && - (data[3]=='b' || data[3]=='B') ) ) - { - avi_add_index_entry(AVI,(unsigned char *) data,0,lseek(AVI->fdes,0,SEEK_CUR)-8,n); - } - - lseek(AVI->fdes,PAD_EVEN(n),SEEK_CUR); - } - idx_type = 1; - } - - /* Now generate the video index and audio index arrays */ - - nvi = 0; - for(j=0; janum; ++j) nai[j] = 0; - - for(i=0;in_idx;i++) { - - if(strncasecmp((char *)AVI->idx[i],(char *) AVI->video_tag,3) == 0) nvi++; - - for(j=0; janum; ++j) if(strncasecmp((char *)AVI->idx[i], AVI->track[j].audio_tag,4) == 0) nai[j]++; - } - - AVI->video_frames = nvi; - for(j=0; janum; ++j) AVI->track[j].audio_chunks = nai[j]; - -// fprintf(stderr, "chunks = %ld %d %s\n", AVI->track[0].audio_chunks, AVI->anum, AVI->track[0].audio_tag); - - if(AVI->video_frames==0) ERR_EXIT(AVI_ERR_NO_VIDS); - AVI->video_index = (video_index_entry *) malloc(nvi*sizeof(video_index_entry)); - if(AVI->video_index==0) ERR_EXIT(AVI_ERR_NO_MEM); - - for(j=0; janum; ++j) { - if(AVI->track[j].audio_chunks) { - AVI->track[j].audio_index = (audio_index_entry *) malloc(nai[j]*sizeof(audio_index_entry)); - if(AVI->track[j].audio_index==0) ERR_EXIT(AVI_ERR_NO_MEM); - } - } - - nvi = 0; - for(j=0; janum; ++j) nai[j] = tot[j] = 0; - - ioff = idx_type == 1 ? 8 : AVI->movi_start+4; - - for(i=0;in_idx;i++) { - - //video - if(strncasecmp((char *)AVI->idx[i],(char *)AVI->video_tag,3) == 0) { - AVI->video_index[nvi].key = str2ulong(AVI->idx[i]+ 4); - AVI->video_index[nvi].pos = str2ulong(AVI->idx[i]+ 8)+ioff; - AVI->video_index[nvi].len = str2ulong(AVI->idx[i]+12); - nvi++; - } - - //audio - for(j=0; janum; ++j) { - - if(strncasecmp((char *)AVI->idx[i],AVI->track[j].audio_tag,4) == 0) { - AVI->track[j].audio_index[nai[j]].pos = str2ulong(AVI->idx[i]+ 8)+ioff; - AVI->track[j].audio_index[nai[j]].len = str2ulong(AVI->idx[i]+12); - AVI->track[j].audio_index[nai[j]].tot = tot[j]; - tot[j] += AVI->track[j].audio_index[nai[j]].len; - nai[j]++; - } - } - } - - - for(j=0; janum; ++j) AVI->track[j].audio_bytes = tot[j]; - - /* Reposition the file */ - - lseek(AVI->fdes,AVI->movi_start,SEEK_SET); - AVI->video_pos = 0; - - return(0); -} - -long AVI_video_frames(avi_t *AVI) -{ - return AVI->video_frames; -} -int AVI_video_width(avi_t *AVI) -{ - return AVI->width; -} -int AVI_video_height(avi_t *AVI) -{ - return AVI->height; -} -double AVI_frame_rate(avi_t *AVI) -{ - return AVI->fps; -} -char* AVI_video_compressor(avi_t *AVI) -{ - return AVI->compressor2; -} - -long AVI_max_video_chunk(avi_t *AVI) -{ - return AVI->max_len; -} - -int AVI_audio_tracks(avi_t *AVI) -{ - return(AVI->anum); -} - -int AVI_audio_channels(avi_t *AVI) -{ - return AVI->track[AVI->aptr].a_chans; -} - -long AVI_audio_mp3rate(avi_t *AVI) -{ - return AVI->track[AVI->aptr].mp3rate; -} - -int AVI_audio_bits(avi_t *AVI) -{ - return AVI->track[AVI->aptr].a_bits; -} - -int AVI_audio_format(avi_t *AVI) -{ - return AVI->track[AVI->aptr].a_fmt; -} - -long AVI_audio_rate(avi_t *AVI) -{ - return AVI->track[AVI->aptr].a_rate; -} - -long AVI_audio_bytes(avi_t *AVI) -{ - return AVI->track[AVI->aptr].audio_bytes; -} - -long AVI_audio_chunks(avi_t *AVI) -{ - return AVI->track[AVI->aptr].audio_chunks; -} - -long AVI_audio_codech_offset(avi_t *AVI) -{ - return AVI->track[AVI->aptr].a_codech_off; -} - -long AVI_audio_codecf_offset(avi_t *AVI) -{ - return AVI->track[AVI->aptr].a_codecf_off; -} - -long AVI_video_codech_offset(avi_t *AVI) -{ - return AVI->v_codech_off; -} - -long AVI_video_codecf_offset(avi_t *AVI) -{ - return AVI->v_codecf_off; -} - -long AVI_frame_size(avi_t *AVI, long frame) -{ - if(AVI->mode==AVI_MODE_WRITE) { AVI_errno = AVI_ERR_NOT_PERM; return -1; } - if(!AVI->video_index) { AVI_errno = AVI_ERR_NO_IDX; return -1; } - - if(frame < 0 || frame >= AVI->video_frames) return 0; - return(AVI->video_index[frame].len); -} - -long AVI_audio_size(avi_t *AVI, long frame) -{ - if(AVI->mode==AVI_MODE_WRITE) { AVI_errno = AVI_ERR_NOT_PERM; return -1; } - if(!AVI->track[AVI->aptr].audio_index) { AVI_errno = AVI_ERR_NO_IDX; return -1; } - - if(frame < 0 || frame >= AVI->track[AVI->aptr].audio_chunks) return 0; - return(AVI->track[AVI->aptr].audio_index[frame].len); -} - -long AVI_get_video_position(avi_t *AVI, long frame) -{ - if(AVI->mode==AVI_MODE_WRITE) { AVI_errno = AVI_ERR_NOT_PERM; return -1; } - if(!AVI->video_index) { AVI_errno = AVI_ERR_NO_IDX; return -1; } - - if(frame < 0 || frame >= AVI->video_frames) return 0; - return(AVI->video_index[frame].pos); -} - - -int AVI_seek_start(avi_t *AVI) -{ - if(AVI->mode==AVI_MODE_WRITE) { AVI_errno = AVI_ERR_NOT_PERM; return -1; } - - lseek(AVI->fdes,AVI->movi_start,SEEK_SET); - AVI->video_pos = 0; - return 0; -} - -int AVI_set_video_position(avi_t *AVI, long frame) -{ - if(AVI->mode==AVI_MODE_WRITE) { AVI_errno = AVI_ERR_NOT_PERM; return -1; } - if(!AVI->video_index) { AVI_errno = AVI_ERR_NO_IDX; return -1; } - - if (frame < 0 ) frame = 0; - AVI->video_pos = frame; - return 0; -} - -int AVI_set_audio_bitrate(avi_t *AVI, long bitrate) -{ - if(AVI->mode==AVI_MODE_READ) { AVI_errno = AVI_ERR_NOT_PERM; return -1; } - - AVI->track[AVI->aptr].mp3rate = bitrate; - return 0; -} - - -long AVI_read_frame(avi_t *AVI, char *vidbuf, int *keyframe) -{ - long n; - - if(AVI->mode==AVI_MODE_WRITE) { AVI_errno = AVI_ERR_NOT_PERM; return -1; } - if(!AVI->video_index) { AVI_errno = AVI_ERR_NO_IDX; return -1; } - - if(AVI->video_pos < 0 || AVI->video_pos >= AVI->video_frames) return -1; - n = AVI->video_index[AVI->video_pos].len; - - *keyframe = (AVI->video_index[AVI->video_pos].key==0x10) ? 1:0; - - lseek(AVI->fdes, AVI->video_index[AVI->video_pos].pos, SEEK_SET); - - if (avi_read(AVI->fdes,vidbuf,n) != n) - { - AVI_errno = AVI_ERR_READ; - return -1; - } - - AVI->video_pos++; - - return n; -} - -int AVI_set_audio_position(avi_t *AVI, long byte) -{ - long n0, n1, n; - - if(AVI->mode==AVI_MODE_WRITE) { AVI_errno = AVI_ERR_NOT_PERM; return -1; } - if(!AVI->track[AVI->aptr].audio_index) { AVI_errno = AVI_ERR_NO_IDX; return -1; } - - if(byte < 0) byte = 0; - - /* Binary search in the audio chunks */ - - n0 = 0; - n1 = AVI->track[AVI->aptr].audio_chunks; - - while(n0track[AVI->aptr].audio_index[n].tot>byte) - n1 = n; - else - n0 = n; - } - - AVI->track[AVI->aptr].audio_posc = n0; - AVI->track[AVI->aptr].audio_posb = byte - AVI->track[AVI->aptr].audio_index[n0].tot; - - return 0; -} - -long AVI_read_audio(avi_t *AVI, char *audbuf, long bytes) -{ - long nr, pos, left, todo; - - if(AVI->mode==AVI_MODE_WRITE) { AVI_errno = AVI_ERR_NOT_PERM; return -1; } - if(!AVI->track[AVI->aptr].audio_index) { AVI_errno = AVI_ERR_NO_IDX; return -1; } - - nr = 0; /* total number of bytes read */ - - while(bytes>0) - { - left = AVI->track[AVI->aptr].audio_index[AVI->track[AVI->aptr].audio_posc].len - AVI->track[AVI->aptr].audio_posb; - if(left==0) - { - if(AVI->track[AVI->aptr].audio_posc>=AVI->track[AVI->aptr].audio_chunks-1) return nr; - AVI->track[AVI->aptr].audio_posc++; - AVI->track[AVI->aptr].audio_posb = 0; - continue; - } - if(bytestrack[AVI->aptr].audio_index[AVI->track[AVI->aptr].audio_posc].pos + AVI->track[AVI->aptr].audio_posb; - lseek(AVI->fdes, pos, SEEK_SET); - if (avi_read(AVI->fdes,audbuf+nr,todo) != todo) - { - AVI_errno = AVI_ERR_READ; - return -1; - } - bytes -= todo; - nr += todo; - AVI->track[AVI->aptr].audio_posb += todo; - } - - return nr; -} - -/* AVI_read_data: Special routine for reading the next audio or video chunk - without having an index of the file. */ - -int AVI_read_data(avi_t *AVI, char *vidbuf, long max_vidbuf, - char *audbuf, long max_audbuf, - long *len) -{ - -/* - * Return codes: - * - * 1 = video data read - * 2 = audio data read - * 0 = reached EOF - * -1 = video buffer too small - * -2 = audio buffer too small - */ - - int n; - char data[8]; - - if(AVI->mode==AVI_MODE_WRITE) return 0; - - while(1) - { - /* Read tag and length */ - - if( avi_read(AVI->fdes,data,8) != 8 ) return 0; - - /* if we got a list tag, ignore it */ - - if(strncasecmp(data,"LIST",4) == 0) - { - lseek(AVI->fdes,4,SEEK_CUR); - continue; - } - - n = PAD_EVEN(str2ulong((unsigned char *)data+4)); - - if(strncasecmp(data,AVI->video_tag,3) == 0) - { - *len = n; - AVI->video_pos++; - if(n>max_vidbuf) - { - lseek(AVI->fdes,n,SEEK_CUR); - return -1; - } - if(avi_read(AVI->fdes,vidbuf,n) != n ) return 0; - return 1; - } - else if(strncasecmp(data,AVI->track[AVI->aptr].audio_tag,4) == 0) - { - *len = n; - if(n>max_audbuf) - { - lseek(AVI->fdes,n,SEEK_CUR); - return -2; - } - if(avi_read(AVI->fdes,audbuf,n) != n ) return 0; - return 2; - break; - } - else - if(lseek(AVI->fdes,n,SEEK_CUR)<0) return 0; - } -} - -/* AVI_print_error: Print most recent error (similar to perror) */ - -char *(avi_errors[]) = -{ - /* 0 */ "avilib - No Error", - /* 1 */ "avilib - AVI file size limit reached", - /* 2 */ "avilib - Error opening AVI file", - /* 3 */ "avilib - Error reading from AVI file", - /* 4 */ "avilib - Error writing to AVI file", - /* 5 */ "avilib - Error writing index (file may still be useable)", - /* 6 */ "avilib - Error closing AVI file", - /* 7 */ "avilib - Operation (read/write) not permitted", - /* 8 */ "avilib - Out of memory (malloc failed)", - /* 9 */ "avilib - Not an AVI file", - /* 10 */ "avilib - AVI file has no header list (corrupted?)", - /* 11 */ "avilib - AVI file has no MOVI list (corrupted?)", - /* 12 */ "avilib - AVI file has no video data", - /* 13 */ "avilib - operation needs an index", - /* 14 */ "avilib - Unkown Error" -}; -static int num_avi_errors = sizeof(avi_errors)/sizeof(char*); - -static char error_string[4096]; - -void AVI_print_error(char *str) -{ - int aerrno; - - aerrno = (AVI_errno>=0 && AVI_errno=0 && AVI_errno - * - * This file is part of transcode, a linux video stream processing tool - * - * transcode is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * transcode is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with GNU Make; see the file COPYING. If not, write to - * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef AVILIB_H -#define AVILIB_H - -#define AVI_MAX_TRACKS 8 - -typedef struct -{ - unsigned long key; - unsigned long pos; - unsigned long len; -} video_index_entry; - -typedef struct -{ - unsigned long pos; - unsigned long len; - unsigned long tot; -} audio_index_entry; - -typedef struct track_s -{ - - long a_fmt; /* Audio format, see #defines below */ - long a_chans; /* Audio channels, 0 for no audio */ - long a_rate; /* Rate in Hz */ - long a_bits; /* bits per audio sample */ - long mp3rate; /* mp3 bitrate kbs*/ - - long audio_strn; /* Audio stream number */ - long audio_bytes; /* Total number of bytes of audio data */ - long audio_chunks; /* Chunks of audio data in the file */ - - char audio_tag[4]; /* Tag of audio data */ - long audio_posc; /* Audio position: chunk */ - long audio_posb; /* Audio position: byte within chunk */ - - long a_codech_off; /* absolut offset of audio codec information */ - long a_codecf_off; /* absolut offset of audio codec information */ - - audio_index_entry *audio_index; - -} track_t; - -typedef struct -{ - - long fdes; /* File descriptor of AVI file */ - long mode; /* 0 for reading, 1 for writing */ - - long width; /* Width of a video frame */ - long height; /* Height of a video frame */ - double fps; /* Frames per second */ - char compressor[8]; /* Type of compressor, 4 bytes + padding for 0 byte */ - char compressor2[8]; /* Type of compressor, 4 bytes + padding for 0 byte */ - long video_strn; /* Video stream number */ - long video_frames; /* Number of video frames */ - char video_tag[4]; /* Tag of video data */ - long video_pos; /* Number of next frame to be read - (if index present) */ - - unsigned long max_len; /* maximum video chunk present */ - - track_t track[AVI_MAX_TRACKS]; // up to AVI_MAX_TRACKS audio tracks supported - - unsigned long pos; /* position in file */ - long n_idx; /* number of index entries actually filled */ - long max_idx; /* number of index entries actually allocated */ - - long v_codech_off; /* absolut offset of video codec (strh) info */ - long v_codecf_off; /* absolut offset of video codec (strf) info */ - - unsigned char (*idx)[16]; /* index entries (AVI idx1 tag) */ - video_index_entry *video_index; - - unsigned long last_pos; /* Position of last frame written */ - unsigned long last_len; /* Length of last frame written */ - int must_use_index; /* Flag if frames are duplicated */ - unsigned long movi_start; - - int anum; // total number of audio tracks - int aptr; // current audio working track - -} avi_t; - -#define AVI_MODE_WRITE 0 -#define AVI_MODE_READ 1 - -/* The error codes delivered by avi_open_input_file */ - -#define AVI_ERR_SIZELIM 1 /* The write of the data would exceed - the maximum size of the AVI file. - This is more a warning than an error - since the file may be closed safely */ - -#define AVI_ERR_OPEN 2 /* Error opening the AVI file - wrong path - name or file nor readable/writable */ - -#define AVI_ERR_READ 3 /* Error reading from AVI File */ - -#define AVI_ERR_WRITE 4 /* Error writing to AVI File, - disk full ??? */ - -#define AVI_ERR_WRITE_INDEX 5 /* Could not write index to AVI file - during close, file may still be - usable */ - -#define AVI_ERR_CLOSE 6 /* Could not write header to AVI file - or not truncate the file during close, - file is most probably corrupted */ - -#define AVI_ERR_NOT_PERM 7 /* Operation not permitted: - trying to read from a file open - for writing or vice versa */ - -#define AVI_ERR_NO_MEM 8 /* malloc failed */ - -#define AVI_ERR_NO_AVI 9 /* Not an AVI file */ - -#define AVI_ERR_NO_HDRL 10 /* AVI file has no has no header list, - corrupted ??? */ - -#define AVI_ERR_NO_MOVI 11 /* AVI file has no has no MOVI list, - corrupted ??? */ - -#define AVI_ERR_NO_VIDS 12 /* AVI file contains no video data */ - -#define AVI_ERR_NO_IDX 13 /* The file has been opened with - getIndex==0, but an operation has been - performed that needs an index */ - -/* Possible Audio formats */ - -#ifndef WAVE_FORMAT_PCM -#define WAVE_FORMAT_UNKNOWN (0x0000) -#define WAVE_FORMAT_PCM (0x0001) -#define WAVE_FORMAT_ADPCM (0x0002) -#define WAVE_FORMAT_IBM_CVSD (0x0005) -#define WAVE_FORMAT_ALAW (0x0006) -#define WAVE_FORMAT_MULAW (0x0007) -#define WAVE_FORMAT_OKI_ADPCM (0x0010) -#define WAVE_FORMAT_DVI_ADPCM (0x0011) -#define WAVE_FORMAT_DIGISTD (0x0015) -#define WAVE_FORMAT_DIGIFIX (0x0016) -#define WAVE_FORMAT_YAMAHA_ADPCM (0x0020) -#define WAVE_FORMAT_DSP_TRUESPEECH (0x0022) -#define WAVE_FORMAT_GSM610 (0x0031) -#define IBM_FORMAT_MULAW (0x0101) -#define IBM_FORMAT_ALAW (0x0102) -#define IBM_FORMAT_ADPCM (0x0103) -#endif - -avi_t* AVI_open_output_file(char * filename); -void AVI_set_video(avi_t *AVI, int width, int height, double fps, char *compressor); -void AVI_set_audio(avi_t *AVI, int channels, long rate, int bits, int format, long mp3rate); -int AVI_write_frame(avi_t *AVI, char *data, long bytes, int keyframe); -int AVI_dup_frame(avi_t *AVI); -int AVI_write_audio(avi_t *AVI, char *data, long bytes); -int AVI_append_audio(avi_t *AVI, char *data, long bytes); -long AVI_bytes_remain(avi_t *AVI); -int AVI_close(avi_t *AVI); -long AVI_bytes_written(avi_t *AVI); - -avi_t *AVI_open_input_file(char *filename, int getIndex); -avi_t *AVI_open_fd(int fd, int getIndex); -int avi_parse_input_file(avi_t *AVI, int getIndex); -long AVI_audio_mp3rate(avi_t *AVI); -long AVI_video_frames(avi_t *AVI); -int AVI_video_width(avi_t *AVI); -int AVI_video_height(avi_t *AVI); -double AVI_frame_rate(avi_t *AVI); -char* AVI_video_compressor(avi_t *AVI); - -int AVI_audio_channels(avi_t *AVI); -int AVI_audio_bits(avi_t *AVI); -int AVI_audio_format(avi_t *AVI); -long AVI_audio_rate(avi_t *AVI); -long AVI_audio_bytes(avi_t *AVI); -long AVI_audio_chunks(avi_t *AVI); - -long AVI_max_video_chunk(avi_t *AVI); - -long AVI_frame_size(avi_t *AVI, long frame); -long AVI_audio_size(avi_t *AVI, long frame); -int AVI_seek_start(avi_t *AVI); -int AVI_set_video_position(avi_t *AVI, long frame); -long AVI_get_video_position(avi_t *AVI, long frame); -long AVI_read_frame(avi_t *AVI, char *vidbuf, int *keyframe); - -int AVI_set_audio_position(avi_t *AVI, long byte); -int AVI_set_audio_bitrate(avi_t *AVI, long bitrate); - -long AVI_read_audio(avi_t *AVI, char *audbuf, long bytes); - -long AVI_audio_codech_offset(avi_t *AVI); -long AVI_audio_codecf_offset(avi_t *AVI); -long AVI_video_codech_offset(avi_t *AVI); -long AVI_video_codecf_offset(avi_t *AVI); - -int AVI_read_data(avi_t *AVI, char *vidbuf, long max_vidbuf, - char *audbuf, long max_audbuf, - long *len); - -void AVI_print_error(char *str); -char *AVI_strerror(); -char *AVI_syserror(); - -int AVI_scan(char *name); -int AVI_dump(char *name, int mode); - -char *AVI_codec2str(short cc); -int AVI_file_check(char *import_file); - -void AVI_info(avi_t *avifile); -uint64_t AVI_max_size(); -int avi_update_header(avi_t *AVI); - -int AVI_set_audio_track(avi_t *AVI, int track); -int AVI_get_audio_track(avi_t *AVI); -int AVI_audio_tracks(avi_t *AVI); - - -struct riff_struct -{ - unsigned char id[4]; /* RIFF */ - unsigned long len; - unsigned char wave_id[4]; /* WAVE */ -}; - - -struct chunk_struct -{ - unsigned char id[4]; - unsigned long len; -}; - -struct common_struct -{ - unsigned short wFormatTag; - unsigned short wChannels; - unsigned long dwSamplesPerSec; - unsigned long dwAvgBytesPerSec; - unsigned short wBlockAlign; - unsigned short wBitsPerSample; /* Only for PCM */ -}; - -struct wave_header -{ - struct riff_struct riff; - struct chunk_struct format; - struct common_struct common; - struct chunk_struct data; -}; - - - -struct AVIStreamHeader { - long fccType; - long fccHandler; - long dwFlags; - long dwPriority; - long dwInitialFrames; - long dwScale; - long dwRate; - long dwStart; - long dwLength; - long dwSuggestedBufferSize; - long dwQuality; - long dwSampleSize; -}; - -#endif diff --git a/Libraries/libtheora-1.1.1/win32/experimental/transcoder/avi2vp3/outfile.vp3 b/Libraries/libtheora-1.1.1/win32/experimental/transcoder/avi2vp3/outfile.vp3 deleted file mode 100644 index ed74aa99..00000000 Binary files a/Libraries/libtheora-1.1.1/win32/experimental/transcoder/avi2vp3/outfile.vp3 and /dev/null differ diff --git a/Libraries/libtheora-1.1.1/win32/experimental/transcoder/avi2vp3/vp31.avi b/Libraries/libtheora-1.1.1/win32/experimental/transcoder/avi2vp3/vp31.avi deleted file mode 100644 index 9dada7da..00000000 Binary files a/Libraries/libtheora-1.1.1/win32/experimental/transcoder/avi2vp3/vp31.avi and /dev/null differ diff --git a/Libraries/libtheora-1.1.1/win32/experimental/transcoder/readme.txt b/Libraries/libtheora-1.1.1/win32/experimental/transcoder/readme.txt deleted file mode 100644 index b10a292b..00000000 --- a/Libraries/libtheora-1.1.1/win32/experimental/transcoder/readme.txt +++ /dev/null @@ -1,17 +0,0 @@ -Quick hack at a transcoder tool from VP3 to Theora - -I actually built the avi2vp3 tool with codeWarrior, but it should compile under -VC as well. I have included a source avi file and the converted .vp3 output. -Output is a file with some header info matching YUVMPEG, and for each frame: - -FRAME header block matching YUV2MPEG -long (Intel aligned) keyframeflag describing in frame is a keyframe -long (Intel aligned) fsize storing frame size in bytes -bytes[fsize] with binary frame data - -The transcode tool is a modification of the current encoder. PUt it into the -win32/experimental subdirectory, and the paths should be correct. It produces -an apparently valid theora stream, but outputs garbage data. The code is packing -the binary frame data in a way that SHOULD work at least imo, but I am probably -missing some initialization issue (or vp3 is not transcodable to theora). - diff --git a/Libraries/libtheora-1.1.1/win32/experimental/transcoder/transcoder.dsp b/Libraries/libtheora-1.1.1/win32/experimental/transcoder/transcoder.dsp deleted file mode 100644 index 863908b3..00000000 --- a/Libraries/libtheora-1.1.1/win32/experimental/transcoder/transcoder.dsp +++ /dev/null @@ -1,121 +0,0 @@ -# Microsoft Developer Studio Project File - Name="transcoder" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=transcoder - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "transcoder.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "transcoder.mak" CFG="transcoder - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "transcoder - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "transcoder - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "transcoder - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Yu"stdafx.h" /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\include" /I "..\..\..\..\vorbis\include" /I "..\..\..\..\ogg\include" /I "..\wincompat" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D GETOPT_API= /FD /c -# SUBTRACT CPP /YX /Yc /Yu -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib theora_static.lib ogg_static.lib vorbis_static.lib vorbisenc_static.lib /nologo /subsystem:console /machine:I386 /nodefaultlib:"LIBCMT" /out:"transcoder.exe" /libpath:"..\..\Static_Release" /libpath:"..\..\..\..\ogg\win32\Static_Release" /libpath:"..\..\..\..\vorbis\win32\Vorbis_Static_Release" /libpath:"..\..\..\..\vorbis\win32\VorbisEnc_Static_Release" - -!ELSEIF "$(CFG)" == "transcoder - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /I "..\..\..\..\vorbis\include" /I "..\..\..\..\ogg\include" /I "..\wincompat" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D GETOPT_API= /FD /GZ /c -# SUBTRACT CPP /YX /Yc /Yu -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib theora_static_d.lib ogg_static_d.lib vorbis_static_d.lib vorbisenc_static_d.lib /nologo /subsystem:console /debug /machine:I386 /nodefaultlib:"LIBCD" /out:"transcoder.exe" /pdbtype:sept /libpath:"..\..\Static_Debug" /libpath:"..\..\..\..\ogg\win32\Static_Debug" /libpath:"..\..\..\..\vorbis\win32\Vorbis_Static_Debug" /libpath:"..\..\..\..\vorbis\win32\VorbisEnc_Static_Debug" -# SUBTRACT LINK32 /nodefaultlib - -!ENDIF - -# Begin Target - -# Name "transcoder - Win32 Release" -# Name "transcoder - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\wincompat\getopt.c -# End Source File -# Begin Source File - -SOURCE=..\wincompat\getopt_long.c -# End Source File -# Begin Source File - -SOURCE=.\transcoder_example.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# Begin Group "library" - -# PROP Default_Filter "" -# End Group -# Begin Source File - -SOURCE=.\ReadMe.txt -# End Source File -# End Target -# End Project diff --git a/Libraries/libtheora-1.1.1/win32/experimental/transcoder/transcoder_example.c b/Libraries/libtheora-1.1.1/win32/experimental/transcoder/transcoder_example.c deleted file mode 100644 index 28c2b52a..00000000 --- a/Libraries/libtheora-1.1.1/win32/experimental/transcoder/transcoder_example.c +++ /dev/null @@ -1,926 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2004 * - * by the Xiph.Org Foundation http://www.xiph.org/ * - * * - ******************************************************************** - - function: example encoder application; makes an Ogg Theora/Vorbis - file from YUV4MPEG2 and WAV input - last mod: $Id: transcoder_example.c,v 1.4 2004/03/20 00:14:04 tterribe Exp $ - - ********************************************************************/ - -#define _GNU_SOURCE -#define _REENTRANT -#define _LARGEFILE_SOURCE -#define _LARGEFILE64_SOURCE -#define _FILE_OFFSET_BITS 64 - -#include -#include -#include -#include -#include -#include -#include -#include "theora/theora.h" -#include "vorbis/codec.h" -#include "vorbis/vorbisenc.h" - -#ifdef _WIN32 -/*supply missing headers and functions to Win32. going to hell, I know*/ -#include -#include - -static double rint(double x) -{ - if (x < 0.0) - return (double)(int)(x - 0.5); - else - return (double)(int)(x + 0.5); -} -#endif - -/*Copied from vorbis/sharedbook.c*/ -static int _ilog(unsigned int v){ - int ret=0; - while(v){ - ret++; - v>>=1; - } - return(ret); -} - - -const char *optstring = "o:a:A:v:V:"; -struct option options [] = { - {"output",required_argument,NULL,'o'}, - {"audio-rate-target",required_argument,NULL,'A'}, - {"video-rate-target",required_argument,NULL,'V'}, - {"audio-quality",required_argument,NULL,'a'}, - {"video-quality",required_argument,NULL,'v'}, - {NULL,0,NULL,0} -}; - -typedef struct TC_INSTANCE { - ogg_uint32_t LastKeyFrame ; - ogg_int64_t KeyFrameCount; - int ThisIsFirstFrame; - int ThisIsKeyFrame; - ogg_uint32_t CurrentFrame; - ogg_int64_t granulepos; - int keyframe_granule_shift; - char * in_bytes; - long in_bytecount; - ogg_uint32_t fps_denominator; - ogg_uint32_t fps_numerator; - oggpack_buffer opb_in; - oggpack_buffer opb_out; -} TC_INSTANCE; - -/* You'll go to Hell for using globals. */ - -FILE *audio=NULL; -FILE *video=NULL; - -int audio_ch=0; -int audio_hz=0; - -float audio_q=.1; -int audio_r=-1; - -int video_x=0; -int video_y=0; -int frame_x=0; -int frame_y=0; -int frame_x_offset=0; -int frame_y_offset=0; -int video_hzn=0; -int video_hzd=0; -int video_an=0; -int video_ad=0; - -int video_r=-1; -int video_q=16; - - char *vp3frame[2]; - int framebytecount[2]; - int frameiskey[2]; - - ogg_page audiopage; - ogg_page videopage; - -static void usage(void){ - fprintf(stderr, - "Usage: encoder_example [options] [audio_file] video_file\n\n" - "Options: \n\n" - " -o --output file name for encoded output;\n" - " If this option is not given, the\n" - " compressed data is sent to stdout.\n\n" - " -A --audio-rate-target bitrate target for Vorbis audio;\n" - " use -a and not -A if at all possible,\n" - " as -a gives higher quality for a given\n" - " bitrate.\n\n" - " -V --video-rate-target bitrate target for Theora video\n\n" - " -a --audio-quality Vorbis quality selector from -1 to 10\n" - " (-1 yields smallest files but lowest\n" - " fidelity; 10 yields highest fidelity\n" - " but large files. '2' is a reasonable\n" - " default).\n\n" - " -v --video-quality Theora quality selector fro 0 to 10\n" - " (0 yields smallest files but lowest\n" - " video quality. 10 yields highest\n" - " fidelity but large files).\n\n" - "encoder_example accepts only uncompressed RIFF WAV format audio and\n" - "YUV4MPEG2 uncompressed video.\n\n"); - exit(1); -} - -static void id_file(char *f){ - FILE *test; - unsigned char buffer[80]; - int ret; - - /* open it, look for magic */ - - if(!strcmp(f,"-")){ - /* stdin */ - test=stdin; - }else{ - test=fopen(f,"rb"); - if(!test){ - fprintf(stderr,"Unable to open file %s.\n",f); - exit(1); - } - } - - ret=fread(buffer,1,4,test); - if(ret<4){ - fprintf(stderr,"EOF determining file type of file %s.\n",f); - exit(1); - } - - if(!memcmp(buffer,"RIFF",4)){ - /* possible WAV file */ - - if(audio){ - /* umm, we already have one */ - fprintf(stderr,"Multiple RIFF WAVE files specified on command line.\n"); - exit(1); - } - - /* Parse the rest of the header */ - - ret=fread(buffer,1,4,test); - ret=fread(buffer,1,4,test); - if(ret<4)goto riff_err; - if(!memcmp(buffer,"WAVE",4)){ - - while(!feof(test)){ - ret=fread(buffer,1,4,test); - if(ret<4)goto riff_err; - if(!memcmp("fmt",buffer,3)){ - - /* OK, this is our audio specs chunk. Slurp it up. */ - - ret=fread(buffer,1,20,test); - if(ret<20)goto riff_err; - - if(memcmp(buffer+4,"\001\000",2)){ - fprintf(stderr,"The WAV file %s is in a compressed format; " - "can't read it.\n",f); - exit(1); - } - - audio=test; - audio_ch=buffer[6]+(buffer[7]<<8); - audio_hz=buffer[8]+(buffer[9]<<8)+ - (buffer[10]<<16)+(buffer[11]<<24); - - if(buffer[18]+(buffer[19]<<8)!=16){ - fprintf(stderr,"Can only read 16 bit WAV files for now.\n"); - exit(1); - } - - /* Now, align things to the beginning of the data */ - /* Look for 'dataxxxx' */ - while(!feof(test)){ - ret=fread(buffer,1,4,test); - if(ret<4)goto riff_err; - if(!memcmp("data",buffer,4)){ - /* We're there. Ignore the declared size for now. */ - ret=fread(buffer,1,4,test); - if(ret<4)goto riff_err; - - fprintf(stderr,"File %s is 16 bit %d channel %d Hz RIFF WAV audio.\n", - f,audio_ch,audio_hz); - - return; - } - } - } - } - } - - fprintf(stderr,"Couldn't find WAVE data in RIFF file %s.\n",f); - exit(1); - - } - if(!memcmp(buffer,"AVI2",4)){ - /* possible AVI2VP31 format file */ - /* read until newline, or 80 cols, whichever happens first */ - int i; - for(i=0;i<79;i++){ - ret=fread(buffer+i,1,1,test); - if(ret<1)goto yuv_err; - if(buffer[i]=='\n')break; - } - if(i==79){ - fprintf(stderr,"Error parsing %s header; not a VP31 raw frames file?\n",f); - } - buffer[i]='\0'; - - if(!memcmp(buffer,"VP31",4)){ - char interlace; - - if(video){ - /* umm, we already have one */ - fprintf(stderr,"Multiple video files specified on command line.\n"); - exit(1); - } - - if(buffer[4]!='R'){ - fprintf(stderr,"Incorrect file ; VP31 raw frames required.\n"); - } - - ret=sscanf(buffer,"VP31R W%d H%d F%d:%d I%c A%d:%d", - &frame_x,&frame_y,&video_hzn,&video_hzd,&interlace, - &video_an,&video_ad); - if(ret<7){ - fprintf(stderr,"Error parsing AVI2VP31R header in file %s.\n",f); - exit(1); - } - - if(interlace!='p'){ - fprintf(stderr,"Input video is interlaced; Theora handles only progressive scan\n"); - exit(1); - } - - video=test; - - fprintf(stderr,"File %s is %dx%d %.02f fps VP31 video.\n", - f,frame_x,frame_y,(double)video_hzn/video_hzd); - - return; - } - } - fprintf(stderr,"Input file %s is neither a WAV nor VP31 file.\n",f); - exit(1); - - riff_err: - fprintf(stderr,"EOF parsing RIFF file %s.\n",f); - exit(1); - yuv_err: - fprintf(stderr,"EOF parsing VP31 file %s.\n",f); - exit(1); - -} - -int spinner=0; -char *spinascii="|/-\\"; -void spinnit(void){ - spinner++; - if(spinner==4)spinner=0; - fprintf(stderr,"\r%c",spinascii[spinner]); -} - -int fetch_and_process_audio(FILE *audio,ogg_page *audiopage, - ogg_stream_state *vo, - vorbis_dsp_state *vd, - vorbis_block *vb, - int audioflag){ - ogg_packet op; - int i,j; - - while(audio && !audioflag){ - /* process any audio already buffered */ - spinnit(); - if(ogg_stream_pageout(vo,audiopage)>0) return 1; - if(ogg_stream_eos(vo))return 0; - - { - /* read and process more audio */ - signed char readbuffer[4096]; - int toread=4096/2/audio_ch; - int bytesread=fread(readbuffer,1,toread*2*audio_ch,audio); - int sampread=bytesread/2/audio_ch; - float **vorbis_buffer; - int count=0; - - if(bytesread<=0){ - /* end of file. this can be done implicitly, but it's - easier to see here in non-clever fashion. Tell the - library we're at end of stream so that it can handle the - last frame and mark end of stream in the output properly */ - vorbis_analysis_wrote(vd,0); - }else{ - vorbis_buffer=vorbis_analysis_buffer(vd,sampread); - /* uninterleave samples */ - for(i=0;iin_bytecount; - - if(!bytes)return(0); - - op->packet=ttc->in_bytes; - op->bytes=bytes; - op->b_o_s=0; - op->e_o_s=last_p; - - op->packetno=ttc->CurrentFrame; - op->granulepos=ttc->granulepos; - - return 1; -} - -void TranscodeKeyFrame(TC_INSTANCE *ttc){ - /* Keep track of the total number of Key Frames Coded */ - ttc->KeyFrameCount += 1; - ttc->LastKeyFrame = 1; -} - -void TranscodeFrame(TC_INSTANCE *ttc){ - ttc->LastKeyFrame++; -} - -void TranscodeFirstFrame(TC_INSTANCE *ttc){ - /* Keep track of the total number of Key Frames Coded. */ - ttc->KeyFrameCount = 1; - ttc->LastKeyFrame = 1; -} - -int theora_transcode_bufferin( TC_INSTANCE *ttc, int isKeyFrame, char * bytes, int bytecount){ - - /*transcode: record keyframe flag*/ - ttc->ThisIsKeyFrame = isKeyFrame; - - /* Special case for first frame */ - if ( ttc->ThisIsFirstFrame ){ - ttc->ThisIsFirstFrame = 0; - ttc->ThisIsKeyFrame = 0; - } else if ( ttc->ThisIsKeyFrame ) { - TranscodeKeyFrame(ttc); - ttc->ThisIsKeyFrame = 0; - } else { - /* Compress the frame. */ - TranscodeFrame( ttc ); - } - /*need to pack info here*/ - { - - int frame_type; - long total_bits; - long total_words; - int frac_bits; - - oggpackB_readinit(&ttc->opb_in,bytes,bytecount); - oggpackB_reset(&ttc->opb_out); - - /*Mark as video frame.*/ - oggpackB_write(&ttc->opb_out,0,1); - /*Copy frame type.*/ - frame_type=oggpackB_read1(&ttc->opb_in); - oggpackB_write(&ttc->opb_out,frame_type,1); - /*Skip an unused bit in the VP32 header.*/ - oggpackB_adv1(&ttc->opb_in); - /*Copy Q multiplier.*/ - oggpackB_write(&ttc->opb_out,oggpackB_read(&ttc->opb_in,6),6); - /*VP3 has no per-block Q multipliers*/ - oggpackB_write(&ttc->opb_out,0,1); - /*If the frame is a base/key/golden frame, copy a few extra bits.*/ - if(frame_type==0){ - /*These 13 bits are not included in a Theora frame header. - They were 0's and VP3 version info in VP32.*/ - oggpackB_adv(&ttc->opb_in,13); - /*Copy the key frame type and the spare configuration bits.*/ - oggpackB_write(&ttc->opb_out,oggpackB_read(&ttc->opb_in,3),3); - } - - /*Copy the rest of the bits over.*/ - total_bits=bytecount*8-oggpack_bits(&ttc->opb_in); - frac_bits=(int)(total_bits&31); - if(frac_bits){ - oggpackB_write(&ttc->opb_out,oggpackB_read(&ttc->opb_in,frac_bits), - frac_bits); - } - total_words=total_bits>>5; - while(total_words-->0){ - oggpackB_write(&ttc->opb_out,oggpackB_read(&ttc->opb_in,32),32); - } - - ttc->in_bytecount = oggpackB_bytes(&ttc->opb_out); - ttc->in_bytes = oggpackB_get_buffer(&ttc->opb_out); - } - - /* Update stats variables. */ - ttc->CurrentFrame++; - - ttc->granulepos= - ((ttc->CurrentFrame-ttc->LastKeyFrame-1)<keyframe_granule_shift)+ - ttc->LastKeyFrame-1; - - return 0; -} - -//static void _tp_writebuffer(oggpack_buffer *opb, const char *buf, const long len) - -int theora_transcoder_init(theora_info * ti, TC_INSTANCE * ttc){ - memset(ttc, 0, sizeof(*ttc)); - ttc->granulepos = -1; - ttc->keyframe_granule_shift=_ilog(ti->keyframe_frequency_force-1); - ttc->LastKeyFrame = 0; - ttc->KeyFrameCount = 0; - ttc->ThisIsFirstFrame = 1; - ttc->ThisIsKeyFrame = 0; - ttc->CurrentFrame = 1; - ttc->in_bytes = 0; - ttc->in_bytecount = 0; - ttc->fps_denominator = ti->fps_denominator; - ttc->fps_numerator = ti->fps_numerator; - oggpackB_writeinit(&ttc->opb_out); - return 0; -} - -int fetch_and_process_video(FILE *video,ogg_page *videopage, - ogg_stream_state *to, - TC_INSTANCE *ttc, - int videoflag){ - /* You'll go to Hell for using static variables */ - static int state=-1; - ogg_packet op; - int i; - int keyframeflag, framelength; - - - if(state==-1){ - /* initialize the double frame buffer */ - state=0; - } - - /* is there a video page flushed? If not, work until there is. */ - while(!videoflag){ - spinnit(); - - if(ogg_stream_pageout(to,videopage)>0) return 1; - if(ogg_stream_eos(to)) return 0; - - { - /* read and process more video */ - /* video strategy reads one frame ahead so we know when we're - at end of stream and can mark last video frame as such - (vorbis audio has to flush one frame past last video frame - due to overlap and thus doesn't need this extra work */ - - /* have two frame buffers full (if possible) before - proceeding. after first pass and until eos, one will - always be full when we get here */ - - for(i=state;i<2;i++){ - char c,frame[6]; - int ret=fread(frame,1,6,video); - - /* match and skip the frame header */ - if(ret<6)break; - if(memcmp(frame,"FRAME",5)){ - fprintf(stderr,"Loss of framing in VP31 input data\n"); - exit(1); - } - if(frame[5]!='\n'){ - int j; - for(j=0;j<79;j++) - if(fread(&c,1,1,video)&&c=='\n')break; - if(j==79){ - fprintf(stderr,"Error parsing VP31 frame header\n"); - exit(1); - } - } - - /*read the length*/ - ret=fread(&framelength, sizeof(int), 1, video); - - /*read the keyframeflag*/ - ret=fread(&keyframeflag, sizeof(int), 1, video); - - vp3frame[i] = malloc(framelength); - framebytecount[i] = framelength; - frameiskey[i] = keyframeflag; - - /* read the frame */ - ret=fread((char *) vp3frame[i], sizeof(char), framelength, video); - if(ret!=framelength) break; - - state++; - } - - if(state<1){ - /* can't get here unless VP31 stream has no video */ - fprintf(stderr,"Video input contains no frames.\n"); - exit(1); - } - - /* Theora is a one-frame-in,one-frame-out system; submit a frame - for compression and pull out the packet */ - - //theora_encode_YUVin(td,&yuv); - theora_transcode_bufferin( ttc, frameiskey[0], vp3frame[0], framebytecount[0]); - - /* if there's only one frame, it's the last in the stream */ - if(state<2) - theora_transcode_packetout(ttc,1,&op); - else - theora_transcode_packetout(ttc,0,&op); - - ogg_stream_packetin(to,&op); - - { - signed char *temp=vp3frame[0]; - vp3frame[0]=vp3frame[1]; - vp3frame[1] = temp; - free(temp); - - framebytecount[0]= framebytecount[1]; - frameiskey[0] = frameiskey[1]; - state--; - } - } - } - return videoflag; -} - -/* returns, in seconds, absolute time of current packet in given - logical stream */ -double transcode_granule_time(TC_INSTANCE *ttc,ogg_int64_t granulepos){ - if(granulepos>=0){ - ogg_int64_t iframe=granulepos>>ttc->keyframe_granule_shift; - ogg_int64_t pframe=granulepos-(iframe<keyframe_granule_shift); - - return (iframe+pframe)* - ((double)ttc->fps_denominator/ttc->fps_numerator); - - } - return(-1); -} - -int main(int argc,char *argv[]){ - int c,long_option_index,ret; - - ogg_stream_state to; /* take physical pages, weld into a logical - stream of packets */ - ogg_stream_state vo; /* take physical pages, weld into a logical - stream of packets */ - ogg_page og; /* one Ogg bitstream page. Vorbis packets are inside */ - ogg_packet op; /* one raw packet of data for decode */ - - theora_state td; - theora_info ti; - theora_comment tc; - - vorbis_info vi; /* struct that stores all the static vorbis bitstream - settings */ - vorbis_comment vc; /* struct that stores all the user comments */ - - vorbis_dsp_state vd; /* central working state for the packet->PCM decoder */ - vorbis_block vb; /* local working space for packet->PCM decode */ - - int audioflag=0; - int videoflag=0; - int akbps=0; - int vkbps=0; - - ogg_int64_t audio_bytesout=0; - ogg_int64_t video_bytesout=0; - double timebase; - - FILE* outfile = stdout; - - TC_INSTANCE ttc; - -#ifdef _WIN32 /* We need to set stdin/stdout to binary mode. Damn windows. */ - /* if we were reading/writing a file, it would also need to in - binary mode, eg, fopen("file.wav","wb"); */ - /* Beware the evil ifdef. We avoid these where we can, but this one we - cannot. Don't add any more, you'll probably go to hell if you do. */ - _setmode( _fileno( stdin ), _O_BINARY ); - _setmode( _fileno( stdout ), _O_BINARY ); -#endif - - while((c=getopt_long(argc,argv,optstring,options,&long_option_index))!=EOF){ - switch(c){ - case 'o': - outfile=fopen(optarg,"wb"); - if(outfile==NULL){ - fprintf(stderr,"Unable to open output file '%s'\n", optarg); - exit(1); - } - break;; - - case 'a': - audio_q=atof(optarg)*.099; - if(audio_q<-.1 || audio_q>1){ - fprintf(stderr,"Illegal audio quality (choose -1 through 10)\n"); - exit(1); - } - audio_r=-1; - break; - - case 'v': - video_q=rint(atof(optarg)*6.3); - if(video_q<0 || video_q>63){ - fprintf(stderr,"Illegal video quality (choose 0 through 10)\n"); - exit(1); - } - video_r=0; - break; - - case 'A': - audio_r=atof(optarg)*1000; - if(audio_q<0){ - fprintf(stderr,"Illegal audio quality (choose > 0 please)\n"); - exit(1); - } - audio_q=-99; - break; - - case 'V': - video_r=rint(atof(optarg)*1000); - if(video_r<45000 || video_r>2000000){ - fprintf(stderr,"Illegal video bitrate (choose 45kbps through 2000kbps)\n"); - exit(1); - } - video_q=0; - break; - default: - usage(); - } - } - - while(optind>4)<<4; - video_y=((frame_y + 15) >>4)<<4; - frame_x_offset=(video_x-frame_x)/2; - frame_y_offset=(video_y-frame_y)/2; - - theora_info_init(&ti); - ti.width=video_x; - ti.height=video_y; - ti.frame_width=frame_x; - ti.frame_height=frame_y; - ti.offset_x=frame_x_offset; - ti.offset_y=frame_y_offset; - ti.fps_numerator=video_hzn; - ti.fps_denominator=video_hzd; - ti.aspect_numerator=video_an; - ti.aspect_denominator=video_ad; - ti.colorspace=OC_CS_UNSPECIFIED; - ti.target_bitrate=video_r; - ti.quality=video_q; - - ti.dropframes_p=0; - ti.quick_p=1; - ti.keyframe_auto_p=1; - ti.keyframe_frequency=32768; - ti.keyframe_frequency_force=32768; - ti.keyframe_data_target_bitrate=video_r*1.5; - ti.keyframe_auto_threshold=80; - ti.keyframe_mindistance=8; - ti.noise_sensitivity=1; - - theora_encode_init(&td,&ti); - theora_transcoder_init(&ti, &ttc); - theora_info_clear(&ti); - - /* initialize Vorbis too, assuming we have audio to compress. */ - if(audio){ - vorbis_info_init(&vi); - if(audio_q>-99) - ret = vorbis_encode_init_vbr(&vi,audio_ch,audio_hz,audio_q); - else - ret = vorbis_encode_init(&vi,audio_ch,audio_hz,-1,audio_r,-1); - if(ret){ - fprintf(stderr,"The Vorbis encoder could not set up a mode according to\n" - "the requested quality or bitrate.\n\n"); - exit(1); - } - - vorbis_comment_init(&vc); - vorbis_analysis_init(&vd,&vi); - vorbis_block_init(&vd,&vb); - } - - /* write the bitstream header packets with proper page interleave */ - - /* first packet will get its own page automatically */ - theora_encode_header(&td,&op); - ogg_stream_packetin(&to,&op); - if(ogg_stream_pageout(&to,&og)!=1){ - fprintf(stderr,"Internal Ogg library error.\n"); - exit(1); - } - fwrite(og.header,1,og.header_len,outfile); - fwrite(og.body,1,og.body_len,outfile); - - /* create the remaining theora headers */ - theora_comment_init(&tc); - theora_encode_comment(&tc,&op); - ogg_stream_packetin(&to,&op); - theora_encode_tables(&td,&op); - ogg_stream_packetin(&to,&op); - - if(audio){ - ogg_packet header; - ogg_packet header_comm; - ogg_packet header_code; - - vorbis_analysis_headerout(&vd,&vc,&header,&header_comm,&header_code); - ogg_stream_packetin(&vo,&header); /* automatically placed in its own - page */ - if(ogg_stream_pageout(&vo,&og)!=1){ - fprintf(stderr,"Internal Ogg library error.\n"); - exit(1); - } - fwrite(og.header,1,og.header_len,outfile); - fwrite(og.body,1,og.body_len,outfile); - - /* remaining vorbis header packets */ - ogg_stream_packetin(&vo,&header_comm); - ogg_stream_packetin(&vo,&header_code); - } - - /* Flush the rest of our headers. This ensures - the actual data in each stream will start - on a new page, as per spec. */ - while(1){ - int result = ogg_stream_flush(&to,&og); - if(result<0){ - /* can't get here */ - fprintf(stderr,"Internal Ogg library error.\n"); - exit(1); - } - if(result==0)break; - fwrite(og.header,1,og.header_len,outfile); - fwrite(og.body,1,og.body_len,outfile); - } - if(audio){ - while(1){ - int result=ogg_stream_flush(&vo,&og); - if(result<0){ - /* can't get here */ - fprintf(stderr,"Internal Ogg library error.\n"); - exit(1); - } - if(result==0)break; - fwrite(og.header,1,og.header_len,outfile); - fwrite(og.body,1,og.body_len,outfile); - } - } - - /* setup complete. Raw processing loop */ - fprintf(stderr,"Compressing....\n"); - while(1){ - - - /* is there an audio page flushed? If not, fetch one if possible */ - audioflag=fetch_and_process_audio(audio,&audiopage,&vo,&vd,&vb,audioflag); - - /* is there a video page flushed? If not, fetch one if possible */ - videoflag=fetch_and_process_video(video,&videopage,&to,&ttc,videoflag); - - /* no pages of either? Must be end of stream. */ - if(!audioflag && !videoflag)break; - - /* which is earlier; the end of the audio page or the end of the - video page? Flush the earlier to stream */ - { - int audio_or_video=-1; - double audiotime= - audioflag?vorbis_granule_time(&vd,ogg_page_granulepos(&audiopage)):-1; - double videotime= - videoflag?transcode_granule_time(&ttc,ogg_page_granulepos(&videopage)):-1; - - if(!audioflag){ - audio_or_video=1; - } else if(!videoflag) { - audio_or_video=0; - } else { - if(audiotime -//__FBSDID("$FreeBSD: src/lib/libc/stdlib/getopt.c,v 1.6 2002/03/29 22:43:42 markm Exp $"); - -#include "namespace.h"*/ -#include -#include -#include -/*#include "un-namespace.h"*/ - -/*#include "libc_private.h"*/ - -int opterr = 1, /* if error message should be printed */ - optind = 1, /* index into parent argv vector */ - optopt, /* character checked for validity */ - optreset; /* reset getopt */ -char *optarg; /* argument associated with option */ - -#define BADCH (int)'?' -#define BADARG (int)':' -#define EMSG "" - -/* - * getopt -- - * Parse argc/argv argument vector. - */ -int -getopt(nargc, nargv, ostr) - int nargc; - char * const *nargv; - const char *ostr; -{ - static char *place = EMSG; /* option letter processing */ - char *oli; /* option letter list index */ - - if (optreset || !*place) { /* update scanning pointer */ - optreset = 0; - if (optind >= nargc || *(place = nargv[optind]) != '-') { - place = EMSG; - return (-1); - } - if (place[1] && *++place == '-') { /* found "--" */ - ++optind; - place = EMSG; - return (-1); - } - } /* option letter okay? */ - if ((optopt = (int)*place++) == (int)':' || - !(oli = strchr(ostr, optopt))) { - /* - * if the user didn't specify '-' as an option, - * assume it means -1. - */ - if (optopt == (int)'-') - return (-1); - if (!*place) - ++optind; - if (opterr && *ostr != ':' && optopt != BADCH) - (void)fprintf(stderr, "%s: illegal option -- %c\n", - "progname", optopt); - return (BADCH); - } - if (*++oli != ':') { /* don't need argument */ - optarg = NULL; - if (!*place) - ++optind; - } - else { /* need an argument */ - if (*place) /* no white space */ - optarg = place; - else if (nargc <= ++optind) { /* no arg */ - place = EMSG; - if (*ostr == ':') - return (BADARG); - if (opterr) - (void)fprintf(stderr, - "%s: option requires an argument -- %c\n", - "progname", optopt); - return (BADCH); - } - else /* white space */ - optarg = nargv[optind]; - place = EMSG; - ++optind; - } - return (optopt); /* dump back option letter */ -} diff --git a/Libraries/libtheora-1.1.1/win32/experimental/wincompat/getopt.h b/Libraries/libtheora-1.1.1/win32/experimental/wincompat/getopt.h deleted file mode 100644 index d95d6cf8..00000000 --- a/Libraries/libtheora-1.1.1/win32/experimental/wincompat/getopt.h +++ /dev/null @@ -1,110 +0,0 @@ -/* $NetBSD: getopt.h,v 1.4 2000/07/07 10:43:54 ad Exp $ */ -/* $FreeBSD: src/include/getopt.h,v 1.1 2002/09/29 04:14:30 eric Exp $ */ - -/*- - * Copyright (c) 2000 The NetBSD Foundation, Inc. - * All rights reserved. - * - * This code is derived from software contributed to The NetBSD Foundation - * by Dieter Baron and Thomas Klausner. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the NetBSD - * Foundation, Inc. and its contributors. - * 4. Neither the name of The NetBSD Foundation nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef _GETOPT_H_ -#define _GETOPT_H_ - -#ifdef _WIN32 -/* from */ -# ifdef __cplusplus -# define __BEGIN_DECLS extern "C" { -# define __END_DECLS } -# else -# define __BEGIN_DECLS -# define __END_DECLS -# endif -# define __P(args) args -#endif - -/*#ifndef _WIN32 -#include -#include -#endif*/ - -#ifdef _WIN32 -# if !defined(GETOPT_API) -# define GETOPT_API __declspec(dllimport) -# endif -#endif - -/* - * Gnu like getopt_long() and BSD4.4 getsubopt()/optreset extensions - */ -#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) -#define no_argument 0 -#define required_argument 1 -#define optional_argument 2 - -struct option { - /* name of long option */ - const char *name; - /* - * one of no_argument, required_argument, and optional_argument: - * whether option takes an argument - */ - int has_arg; - /* if not NULL, set *flag to val when option found */ - int *flag; - /* if flag not NULL, value to set *flag to; else return value */ - int val; -}; - -__BEGIN_DECLS -GETOPT_API int getopt_long __P((int, char * const *, const char *, - const struct option *, int *)); -__END_DECLS -#endif - -#ifdef _WIN32 -/* These are global getopt variables */ -__BEGIN_DECLS - -GETOPT_API extern int opterr, /* if error message should be printed */ - optind, /* index into parent argv vector */ - optopt, /* character checked for validity */ - optreset; /* reset getopt */ -GETOPT_API extern char* optarg; /* argument associated with option */ - -/* Original getopt */ -GETOPT_API int getopt __P((int, char * const *, const char *)); - -__END_DECLS -#endif - -#endif /* !_GETOPT_H_ */ diff --git a/Libraries/libtheora-1.1.1/win32/experimental/wincompat/getopt_long.c b/Libraries/libtheora-1.1.1/win32/experimental/wincompat/getopt_long.c deleted file mode 100644 index b5ae0fa5..00000000 --- a/Libraries/libtheora-1.1.1/win32/experimental/wincompat/getopt_long.c +++ /dev/null @@ -1,547 +0,0 @@ -/* $NetBSD: getopt_long.c,v 1.15 2002/01/31 22:43:40 tv Exp $ */ -/* $FreeBSD: src/lib/libc/stdlib/getopt_long.c,v 1.2 2002/10/16 22:18:42 alfred Exp $ */ - -/*- - * Copyright (c) 2000 The NetBSD Foundation, Inc. - * All rights reserved. - * - * This code is derived from software contributed to The NetBSD Foundation - * by Dieter Baron and Thomas Klausner. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the NetBSD - * Foundation, Inc. and its contributors. - * 4. Neither the name of The NetBSD Foundation nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - - -#include -#include -#include - -#ifdef _WIN32 - -/* Windows needs warnx(). We change the definition though: - * 1. (another) global is defined, opterrmsg, which holds the error message - * 2. errors are always printed out on stderr w/o the program name - * Note that opterrmsg always gets set no matter what opterr is set to. The - * error message will not be printed if opterr is 0 as usual. - */ - -#include -#include - -GETOPT_API extern char opterrmsg[128]; -char opterrmsg[128]; /* last error message is stored here */ - -static void warnx(int print_error, const char *fmt, ...) -{ - va_list ap; - va_start(ap, fmt); - if (fmt != NULL) - _vsnprintf(opterrmsg, 128, fmt, ap); - else - opterrmsg[0]='\0'; - va_end(ap); - if (print_error) { - fprintf(stderr, opterrmsg); - fprintf(stderr, "\n"); - } -} - -#endif /*_WIN32*/ - -/* not part of the original file */ -#ifndef _DIAGASSERT -#define _DIAGASSERT(X) -#endif - -#if HAVE_CONFIG_H && !HAVE_GETOPT_LONG && !HAVE_DECL_OPTIND -#define REPLACE_GETOPT -#endif - -#ifdef REPLACE_GETOPT -#ifdef __weak_alias -__weak_alias(getopt,_getopt) -#endif -int opterr = 1; /* if error message should be printed */ -int optind = 1; /* index into parent argv vector */ -int optopt = '?'; /* character checked for validity */ -int optreset; /* reset getopt */ -char *optarg; /* argument associated with option */ -#elif HAVE_CONFIG_H && !HAVE_DECL_OPTRESET -static int optreset; -#endif - -#ifdef __weak_alias -__weak_alias(getopt_long,_getopt_long) -#endif - -#if !HAVE_GETOPT_LONG -#define IGNORE_FIRST (*options == '-' || *options == '+') -#define PRINT_ERROR ((opterr) && ((*options != ':') \ - || (IGNORE_FIRST && options[1] != ':'))) -#define IS_POSIXLY_CORRECT (getenv("POSIXLY_CORRECT") != NULL) -#define PERMUTE (!IS_POSIXLY_CORRECT && !IGNORE_FIRST) -/* XXX: GNU ignores PC if *options == '-' */ -#define IN_ORDER (!IS_POSIXLY_CORRECT && *options == '-') - -/* return values */ -#define BADCH (int)'?' -#define BADARG ((IGNORE_FIRST && options[1] == ':') \ - || (*options == ':') ? (int)':' : (int)'?') -#define INORDER (int)1 - -#define EMSG "" - -static int getopt_internal(int, char * const *, const char *); -static int gcd(int, int); -static void permute_args(int, int, int, char * const *); - -static char *place = EMSG; /* option letter processing */ - -/* XXX: set optreset to 1 rather than these two */ -static int nonopt_start = -1; /* first non option argument (for permute) */ -static int nonopt_end = -1; /* first option after non options (for permute) */ - -/* Error messages */ -static const char recargchar[] = "option requires an argument -- %c"; -static const char recargstring[] = "option requires an argument -- %s"; -static const char ambig[] = "ambiguous option -- %.*s"; -static const char noarg[] = "option doesn't take an argument -- %.*s"; -static const char illoptchar[] = "unknown option -- %c"; -static const char illoptstring[] = "unknown option -- %s"; - - -/* - * Compute the greatest common divisor of a and b. - */ -static int -gcd(a, b) - int a; - int b; -{ - int c; - - c = a % b; - while (c != 0) { - a = b; - b = c; - c = a % b; - } - - return b; -} - -/* - * Exchange the block from nonopt_start to nonopt_end with the block - * from nonopt_end to opt_end (keeping the same order of arguments - * in each block). - */ -static void -permute_args(panonopt_start, panonopt_end, opt_end, nargv) - int panonopt_start; - int panonopt_end; - int opt_end; - char * const *nargv; -{ - int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos; - char *swap; - - _DIAGASSERT(nargv != NULL); - - /* - * compute lengths of blocks and number and size of cycles - */ - nnonopts = panonopt_end - panonopt_start; - nopts = opt_end - panonopt_end; - ncycle = gcd(nnonopts, nopts); - cyclelen = (opt_end - panonopt_start) / ncycle; - - for (i = 0; i < ncycle; i++) { - cstart = panonopt_end+i; - pos = cstart; - for (j = 0; j < cyclelen; j++) { - if (pos >= panonopt_end) - pos -= nnonopts; - else - pos += nopts; - swap = nargv[pos]; - /* LINTED const cast */ - ((char **) nargv)[pos] = nargv[cstart]; - /* LINTED const cast */ - ((char **)nargv)[cstart] = swap; - } - } -} - -/* - * getopt_internal -- - * Parse argc/argv argument vector. Called by user level routines. - * Returns -2 if -- is found (can be long option or end of options marker). - */ -static int -getopt_internal(nargc, nargv, options) - int nargc; - char * const *nargv; - const char *options; -{ - char *oli; /* option letter list index */ - int optchar; - - _DIAGASSERT(nargv != NULL); - _DIAGASSERT(options != NULL); - - optarg = NULL; - - /* - * XXX Some programs (like rsyncd) expect to be able to - * XXX re-initialize optind to 0 and have getopt_long(3) - * XXX properly function again. Work around this braindamage. - */ - if (optind == 0) - optind = 1; - - if (optreset) - nonopt_start = nonopt_end = -1; -start: - if (optreset || !*place) { /* update scanning pointer */ - optreset = 0; - if (optind >= nargc) { /* end of argument vector */ - place = EMSG; - if (nonopt_end != -1) { - /* do permutation, if we have to */ - permute_args(nonopt_start, nonopt_end, - optind, nargv); - optind -= nonopt_end - nonopt_start; - } - else if (nonopt_start != -1) { - /* - * If we skipped non-options, set optind - * to the first of them. - */ - optind = nonopt_start; - } - nonopt_start = nonopt_end = -1; - return -1; - } - if ((*(place = nargv[optind]) != '-') - || (place[1] == '\0')) { /* found non-option */ - place = EMSG; - if (IN_ORDER) { - /* - * GNU extension: - * return non-option as argument to option 1 - */ - optarg = nargv[optind++]; - return INORDER; - } - if (!PERMUTE) { - /* - * if no permutation wanted, stop parsing - * at first non-option - */ - return -1; - } - /* do permutation */ - if (nonopt_start == -1) - nonopt_start = optind; - else if (nonopt_end != -1) { - permute_args(nonopt_start, nonopt_end, - optind, nargv); - nonopt_start = optind - - (nonopt_end - nonopt_start); - nonopt_end = -1; - } - optind++; - /* process next argument */ - goto start; - } - if (nonopt_start != -1 && nonopt_end == -1) - nonopt_end = optind; - if (place[1] && *++place == '-') { /* found "--" */ - place++; - return -2; - } - } - if ((optchar = (int)*place++) == (int)':' || - (oli = strchr(options + (IGNORE_FIRST ? 1 : 0), optchar)) == NULL) { - /* option letter unknown or ':' */ - if (!*place) - ++optind; -#ifndef _WIN32 - if (PRINT_ERROR) - warnx(illoptchar, optchar); -#else - warnx(PRINT_ERROR, illoptchar, optchar); -#endif - optopt = optchar; - return BADCH; - } - if (optchar == 'W' && oli[1] == ';') { /* -W long-option */ - /* XXX: what if no long options provided (called by getopt)? */ - if (*place) - return -2; - - if (++optind >= nargc) { /* no arg */ - place = EMSG; -#ifndef _WIN32 - if (PRINT_ERROR) - warnx(recargchar, optchar); -#else - warnx(PRINT_ERROR, recargchar, optchar); -#endif - optopt = optchar; - return BADARG; - } else /* white space */ - place = nargv[optind]; - /* - * Handle -W arg the same as --arg (which causes getopt to - * stop parsing). - */ - return -2; - } - if (*++oli != ':') { /* doesn't take argument */ - if (!*place) - ++optind; - } else { /* takes (optional) argument */ - optarg = NULL; - if (*place) /* no white space */ - optarg = place; - /* XXX: disable test for :: if PC? (GNU doesn't) */ - else if (oli[1] != ':') { /* arg not optional */ - if (++optind >= nargc) { /* no arg */ - place = EMSG; -#ifndef _WIN32 - if (PRINT_ERROR) - warnx(recargchar, optchar); -#else - warnx(PRINT_ERROR, recargchar, optchar); -#endif - optopt = optchar; - return BADARG; - } else - optarg = nargv[optind]; - } - place = EMSG; - ++optind; - } - /* dump back option letter */ - return optchar; -} - -#ifdef REPLACE_GETOPT -/* - * getopt -- - * Parse argc/argv argument vector. - * - * [eventually this will replace the real getopt] - */ -int -getopt(nargc, nargv, options) - int nargc; - char * const *nargv; - const char *options; -{ - int retval; - - _DIAGASSERT(nargv != NULL); - _DIAGASSERT(options != NULL); - - if ((retval = getopt_internal(nargc, nargv, options)) == -2) { - ++optind; - /* - * We found an option (--), so if we skipped non-options, - * we have to permute. - */ - if (nonopt_end != -1) { - permute_args(nonopt_start, nonopt_end, optind, - nargv); - optind -= nonopt_end - nonopt_start; - } - nonopt_start = nonopt_end = -1; - retval = -1; - } - return retval; -} -#endif - -/* - * getopt_long -- - * Parse argc/argv argument vector. - */ -int -getopt_long(nargc, nargv, options, long_options, idx) - int nargc; - char * const *nargv; - const char *options; - const struct option *long_options; - int *idx; -{ - int retval; - - _DIAGASSERT(nargv != NULL); - _DIAGASSERT(options != NULL); - _DIAGASSERT(long_options != NULL); - /* idx may be NULL */ - - if ((retval = getopt_internal(nargc, nargv, options)) == -2) { - char *current_argv, *has_equal; - size_t current_argv_len; - int i, match; - - current_argv = place; - match = -1; - - optind++; - place = EMSG; - - if (*current_argv == '\0') { /* found "--" */ - /* - * We found an option (--), so if we skipped - * non-options, we have to permute. - */ - if (nonopt_end != -1) { - permute_args(nonopt_start, nonopt_end, - optind, nargv); - optind -= nonopt_end - nonopt_start; - } - nonopt_start = nonopt_end = -1; - return -1; - } - if ((has_equal = strchr(current_argv, '=')) != NULL) { - /* argument found (--option=arg) */ - current_argv_len = has_equal - current_argv; - has_equal++; - } else - current_argv_len = strlen(current_argv); - - for (i = 0; long_options[i].name; i++) { - /* find matching long option */ - if (strncmp(current_argv, long_options[i].name, - current_argv_len)) - continue; - - if (strlen(long_options[i].name) == - (unsigned)current_argv_len) { - /* exact match */ - match = i; - break; - } - if (match == -1) /* partial match */ - match = i; - else { - /* ambiguous abbreviation */ -#ifndef _WIN32 - if (PRINT_ERROR) - warnx(ambig, (int)current_argv_len, - current_argv); -#else - warnx(PRINT_ERROR, ambig, (int)current_argv_len, - current_argv); -#endif - optopt = 0; - return BADCH; - } - } - if (match != -1) { /* option found */ - if (long_options[match].has_arg == no_argument - && has_equal) { -#ifndef _WIN32 - if (PRINT_ERROR) - warnx(noarg, (int)current_argv_len, - current_argv); -#else - warnx(PRINT_ERROR, noarg, (int)current_argv_len, - current_argv); -#endif - /* - * XXX: GNU sets optopt to val regardless of - * flag - */ - if (long_options[match].flag == NULL) - optopt = long_options[match].val; - else - optopt = 0; - return BADARG; - } - if (long_options[match].has_arg == required_argument || - long_options[match].has_arg == optional_argument) { - if (has_equal) - optarg = has_equal; - else if (long_options[match].has_arg == - required_argument) { - /* - * optional argument doesn't use - * next nargv - */ - optarg = nargv[optind++]; - } - } - if ((long_options[match].has_arg == required_argument) - && (optarg == NULL)) { - /* - * Missing argument; leading ':' - * indicates no error should be generated - */ -#ifndef _WIN32 - if (PRINT_ERROR) - warnx(recargstring, current_argv); -#else - warnx(PRINT_ERROR, recargstring, current_argv); -#endif - /* - * XXX: GNU sets optopt to val regardless - * of flag - */ - if (long_options[match].flag == NULL) - optopt = long_options[match].val; - else - optopt = 0; - --optind; - return BADARG; - } - } else { /* unknown option */ -#ifndef _WIN32 - if (PRINT_ERROR) - warnx(illoptstring, current_argv); -#else - warnx(PRINT_ERROR, illoptstring, current_argv); -#endif - optopt = 0; - return BADCH; - } - if (long_options[match].flag) { - *long_options[match].flag = long_options[match].val; - retval = 0; - } else - retval = long_options[match].val; - if (idx) - *idx = match; - } - return retval; -} -#endif /* !GETOPT_LONG */ diff --git a/Libraries/libtheora-1.1.1/win32/experimental/wincompat/unistd.h b/Libraries/libtheora-1.1.1/win32/experimental/wincompat/unistd.h deleted file mode 100644 index e69de29b..00000000 diff --git a/Libraries/libtheora-1.1.1/win32/getopt.c b/Libraries/libtheora-1.1.1/win32/getopt.c deleted file mode 100644 index dad25b65..00000000 --- a/Libraries/libtheora-1.1.1/win32/getopt.c +++ /dev/null @@ -1,1047 +0,0 @@ -/* Getopt for GNU. - NOTE: getopt is now part of the C library, so if you don't know what - "Keep this file name-space clean" means, talk to drepper@gnu.org - before changing it! - - Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99 - Free Software Foundation, Inc. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public License as - published by the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with the GNU C Library; see the file COPYING.LIB. If not, - write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ - -/* This tells Alpha OSF/1 not to define a getopt prototype in . - Ditto for AIX 3.2 and . */ -#ifndef _NO_PROTO -# define _NO_PROTO -#endif - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#if !defined __STDC__ || !__STDC__ -/* This is a separate conditional since some stdc systems - reject `defined (const)'. */ -# ifndef const -# define const -# endif -#endif - -#include - -/* Comment out all this code if we are using the GNU C Library, and are not - actually compiling the library itself. This code is part of the GNU C - Library, but also included in many other GNU distributions. Compiling - and linking in this code is a waste when using the GNU C library - (especially if it is a shared library). Rather than having every GNU - program understand `configure --with-gnu-libc' and omit the object files, - it is simpler to just do this in the source for each such file. */ - -#define GETOPT_INTERFACE_VERSION 2 -#if !defined _LIBC && defined __GLIBC__ && __GLIBC__ >= 2 -# include -# if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION -# define ELIDE_CODE -# endif -#endif - -#ifndef ELIDE_CODE - - -/* This needs to come after some library #include - to get __GNU_LIBRARY__ defined. */ -#ifdef __GNU_LIBRARY__ -/* Don't include stdlib.h for non-GNU C libraries because some of them - contain conflicting prototypes for getopt. */ -# include -# include -#endif /* GNU C library. */ - -#ifdef VMS -# include -# if HAVE_STRING_H - 0 -# include -# endif -#endif - -#ifndef _ -/* This is for other GNU distributions with internationalized messages. - When compiling libc, the _ macro is predefined. */ -# ifdef HAVE_LIBINTL_H -# include -# define _(msgid) gettext (msgid) -# else -# define _(msgid) (msgid) -# endif -#endif - -/* This version of `getopt' appears to the caller like standard Unix `getopt' - but it behaves differently for the user, since it allows the user - to intersperse the options with the other arguments. - - As `getopt' works, it permutes the elements of ARGV so that, - when it is done, all the options precede everything else. Thus - all application programs are extended to handle flexible argument order. - - Setting the environment variable POSIXLY_CORRECT disables permutation. - Then the behavior is completely standard. - - GNU application programs can use a third alternative mode in which - they can distinguish the relative order of options and other arguments. */ - -#include "getopt_win.h" - -/* For communication from `getopt' to the caller. - When `getopt' finds an option that takes an argument, - the argument value is returned here. - Also, when `ordering' is RETURN_IN_ORDER, - each non-option ARGV-element is returned here. */ - -char *optarg; - -/* Index in ARGV of the next element to be scanned. - This is used for communication to and from the caller - and for communication between successive calls to `getopt'. - - On entry to `getopt', zero means this is the first call; initialize. - - When `getopt' returns -1, this is the index of the first of the - non-option elements that the caller should itself scan. - - Otherwise, `optind' communicates from one call to the next - how much of ARGV has been scanned so far. */ - -/* 1003.2 says this must be 1 before any call. */ -int optind = 1; - -/* Formerly, initialization of getopt depended on optind==0, which - causes problems with re-calling getopt as programs generally don't - know that. */ - -int __getopt_initialized; - -/* The next char to be scanned in the option-element - in which the last option character we returned was found. - This allows us to pick up the scan where we left off. - - If this is zero, or a null string, it means resume the scan - by advancing to the next ARGV-element. */ - -static char *nextchar; - -/* Callers store zero here to inhibit the error message - for unrecognized options. */ - -int opterr = 1; - -/* Set to an option character which was unrecognized. - This must be initialized on some systems to avoid linking in the - system's own getopt implementation. */ - -int optopt = '?'; - -/* Describe how to deal with options that follow non-option ARGV-elements. - - If the caller did not specify anything, - the default is REQUIRE_ORDER if the environment variable - POSIXLY_CORRECT is defined, PERMUTE otherwise. - - REQUIRE_ORDER means don't recognize them as options; - stop option processing when the first non-option is seen. - This is what Unix does. - This mode of operation is selected by either setting the environment - variable POSIXLY_CORRECT, or using `+' as the first character - of the list of option characters. - - PERMUTE is the default. We permute the contents of ARGV as we scan, - so that eventually all the non-options are at the end. This allows options - to be given in any order, even with programs that were not written to - expect this. - - RETURN_IN_ORDER is an option available to programs that were written - to expect options and other ARGV-elements in any order and that care about - the ordering of the two. We describe each non-option ARGV-element - as if it were the argument of an option with character code 1. - Using `-' as the first character of the list of option characters - selects this mode of operation. - - The special argument `--' forces an end of option-scanning regardless - of the value of `ordering'. In the case of RETURN_IN_ORDER, only - `--' can cause `getopt' to return -1 with `optind' != ARGC. */ - -static enum -{ - REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER -} ordering; - -/* Value of POSIXLY_CORRECT environment variable. */ -static char *posixly_correct; - -#ifdef __GNU_LIBRARY__ -/* We want to avoid inclusion of string.h with non-GNU libraries - because there are many ways it can cause trouble. - On some systems, it contains special magic macros that don't work - in GCC. */ -# include -# define my_index strchr -#else - -#include - -/* Avoid depending on library functions or files - whose names are inconsistent. */ - -#ifndef getenv -extern char *getenv (); -#endif - -static char * -my_index (str, chr) - const char *str; - int chr; -{ - while (*str) - { - if (*str == chr) - return (char *) str; - str++; - } - return 0; -} - -/* If using GCC, we can safely declare strlen this way. - If not using GCC, it is ok not to declare it. */ -#ifdef __GNUC__ -/* Note that Motorola Delta 68k R3V7 comes with GCC but not stddef.h. - That was relevant to code that was here before. */ -# if (!defined __STDC__ || !__STDC__) && !defined strlen -/* gcc with -traditional declares the built-in strlen to return int, - and has done so at least since version 2.4.5. -- rms. */ -extern int strlen (const char *); -# endif /* not __STDC__ */ -#endif /* __GNUC__ */ - -#endif /* not __GNU_LIBRARY__ */ - -/* Handle permutation of arguments. */ - -/* Describe the part of ARGV that contains non-options that have - been skipped. `first_nonopt' is the index in ARGV of the first of them; - `last_nonopt' is the index after the last of them. */ - -static int first_nonopt; -static int last_nonopt; - -#ifdef _LIBC -/* Bash 2.0 gives us an environment variable containing flags - indicating ARGV elements that should not be considered arguments. */ - -/* Defined in getopt_init.c */ -extern char *__getopt_nonoption_flags; - -static int nonoption_flags_max_len; -static int nonoption_flags_len; - -static int original_argc; -static char *const *original_argv; - -/* Make sure the environment variable bash 2.0 puts in the environment - is valid for the getopt call we must make sure that the ARGV passed - to getopt is that one passed to the process. */ -static void -__attribute__ ((unused)) -store_args_and_env (int argc, char *const *argv) -{ - /* XXX This is no good solution. We should rather copy the args so - that we can compare them later. But we must not use malloc(3). */ - original_argc = argc; - original_argv = argv; -} -# ifdef text_set_element -text_set_element (__libc_subinit, store_args_and_env); -# endif /* text_set_element */ - -# define SWAP_FLAGS(ch1, ch2) \ - if (nonoption_flags_len > 0) \ - { \ - char __tmp = __getopt_nonoption_flags[ch1]; \ - __getopt_nonoption_flags[ch1] = __getopt_nonoption_flags[ch2]; \ - __getopt_nonoption_flags[ch2] = __tmp; \ - } -#else /* !_LIBC */ -# define SWAP_FLAGS(ch1, ch2) -#endif /* _LIBC */ - -/* Exchange two adjacent subsequences of ARGV. - One subsequence is elements [first_nonopt,last_nonopt) - which contains all the non-options that have been skipped so far. - The other is elements [last_nonopt,optind), which contains all - the options processed since those non-options were skipped. - - `first_nonopt' and `last_nonopt' are relocated so that they describe - the new indices of the non-options in ARGV after they are moved. */ - -#if defined __STDC__ && __STDC__ -static void exchange (char **); -#endif - -static void -exchange (argv) - char **argv; -{ - int bottom = first_nonopt; - int middle = last_nonopt; - int top = optind; - char *tem; - - /* Exchange the shorter segment with the far end of the longer segment. - That puts the shorter segment into the right place. - It leaves the longer segment in the right place overall, - but it consists of two parts that need to be swapped next. */ - -#ifdef _LIBC - /* First make sure the handling of the `__getopt_nonoption_flags' - string can work normally. Our top argument must be in the range - of the string. */ - if (nonoption_flags_len > 0 && top >= nonoption_flags_max_len) - { - /* We must extend the array. The user plays games with us and - presents new arguments. */ - char *new_str = malloc (top + 1); - if (new_str == NULL) - nonoption_flags_len = nonoption_flags_max_len = 0; - else - { - memset (__mempcpy (new_str, __getopt_nonoption_flags, - nonoption_flags_max_len), - '\0', top + 1 - nonoption_flags_max_len); - nonoption_flags_max_len = top + 1; - __getopt_nonoption_flags = new_str; - } - } -#endif - - while (top > middle && middle > bottom) - { - if (top - middle > middle - bottom) - { - /* Bottom segment is the short one. */ - int len = middle - bottom; - register int i; - - /* Swap it with the top part of the top segment. */ - for (i = 0; i < len; i++) - { - tem = argv[bottom + i]; - argv[bottom + i] = argv[top - (middle - bottom) + i]; - argv[top - (middle - bottom) + i] = tem; - SWAP_FLAGS (bottom + i, top - (middle - bottom) + i); - } - /* Exclude the moved bottom segment from further swapping. */ - top -= len; - } - else - { - /* Top segment is the short one. */ - int len = top - middle; - register int i; - - /* Swap it with the bottom part of the bottom segment. */ - for (i = 0; i < len; i++) - { - tem = argv[bottom + i]; - argv[bottom + i] = argv[middle + i]; - argv[middle + i] = tem; - SWAP_FLAGS (bottom + i, middle + i); - } - /* Exclude the moved top segment from further swapping. */ - bottom += len; - } - } - - /* Update records for the slots the non-options now occupy. */ - - first_nonopt += (optind - last_nonopt); - last_nonopt = optind; -} - -/* Initialize the internal data when the first call is made. */ - -#if defined __STDC__ && __STDC__ -static const char *_getopt_initialize (int, char *const *, const char *); -#endif -static const char * -_getopt_initialize (argc, argv, optstring) - int argc; - char *const *argv; - const char *optstring; -{ - /* Start processing options with ARGV-element 1 (since ARGV-element 0 - is the program name); the sequence of previously skipped - non-option ARGV-elements is empty. */ - - first_nonopt = last_nonopt = optind; - - nextchar = NULL; - - posixly_correct = getenv ("POSIXLY_CORRECT"); - - /* Determine how to handle the ordering of options and nonoptions. */ - - if (optstring[0] == '-') - { - ordering = RETURN_IN_ORDER; - ++optstring; - } - else if (optstring[0] == '+') - { - ordering = REQUIRE_ORDER; - ++optstring; - } - else if (posixly_correct != NULL) - ordering = REQUIRE_ORDER; - else - ordering = PERMUTE; - -#ifdef _LIBC - if (posixly_correct == NULL - && argc == original_argc && argv == original_argv) - { - if (nonoption_flags_max_len == 0) - { - if (__getopt_nonoption_flags == NULL - || __getopt_nonoption_flags[0] == '\0') - nonoption_flags_max_len = -1; - else - { - const char *orig_str = __getopt_nonoption_flags; - int len = nonoption_flags_max_len = strlen (orig_str); - if (nonoption_flags_max_len < argc) - nonoption_flags_max_len = argc; - __getopt_nonoption_flags = - (char *) malloc (nonoption_flags_max_len); - if (__getopt_nonoption_flags == NULL) - nonoption_flags_max_len = -1; - else - memset (__mempcpy (__getopt_nonoption_flags, orig_str, len), - '\0', nonoption_flags_max_len - len); - } - } - nonoption_flags_len = nonoption_flags_max_len; - } - else - nonoption_flags_len = 0; -#endif - - return optstring; -} - -/* Scan elements of ARGV (whose length is ARGC) for option characters - given in OPTSTRING. - - If an element of ARGV starts with '-', and is not exactly "-" or "--", - then it is an option element. The characters of this element - (aside from the initial '-') are option characters. If `getopt' - is called repeatedly, it returns successively each of the option characters - from each of the option elements. - - If `getopt' finds another option character, it returns that character, - updating `optind' and `nextchar' so that the next call to `getopt' can - resume the scan with the following option character or ARGV-element. - - If there are no more option characters, `getopt' returns -1. - Then `optind' is the index in ARGV of the first ARGV-element - that is not an option. (The ARGV-elements have been permuted - so that those that are not options now come last.) - - OPTSTRING is a string containing the legitimate option characters. - If an option character is seen that is not listed in OPTSTRING, - return '?' after printing an error message. If you set `opterr' to - zero, the error message is suppressed but we still return '?'. - - If a char in OPTSTRING is followed by a colon, that means it wants an arg, - so the following text in the same ARGV-element, or the text of the following - ARGV-element, is returned in `optarg'. Two colons mean an option that - wants an optional arg; if there is text in the current ARGV-element, - it is returned in `optarg', otherwise `optarg' is set to zero. - - If OPTSTRING starts with `-' or `+', it requests different methods of - handling the non-option ARGV-elements. - See the comments about RETURN_IN_ORDER and REQUIRE_ORDER, above. - - Long-named options begin with `--' instead of `-'. - Their names may be abbreviated as long as the abbreviation is unique - or is an exact match for some defined option. If they have an - argument, it follows the option name in the same ARGV-element, separated - from the option name by a `=', or else the in next ARGV-element. - When `getopt' finds a long-named option, it returns 0 if that option's - `flag' field is nonzero, the value of the option's `val' field - if the `flag' field is zero. - - The elements of ARGV aren't really const, because we permute them. - But we pretend they're const in the prototype to be compatible - with other systems. - - LONGOPTS is a vector of `struct option' terminated by an - element containing a name which is zero. - - LONGIND returns the index in LONGOPT of the long-named option found. - It is only valid when a long-named option has been found by the most - recent call. - - If LONG_ONLY is nonzero, '-' as well as '--' can introduce - long-named options. */ - -int -_getopt_internal (argc, argv, optstring, longopts, longind, long_only) - int argc; - char *const *argv; - const char *optstring; - const struct option *longopts; - int *longind; - int long_only; -{ - optarg = NULL; - - if (optind == 0 || !__getopt_initialized) - { - if (optind == 0) - optind = 1; /* Don't scan ARGV[0], the program name. */ - optstring = _getopt_initialize (argc, argv, optstring); - __getopt_initialized = 1; - } - - /* Test whether ARGV[optind] points to a non-option argument. - Either it does not have option syntax, or there is an environment flag - from the shell indicating it is not an option. The later information - is only used when the used in the GNU libc. */ -#ifdef _LIBC -# define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0' \ - || (optind < nonoption_flags_len \ - && __getopt_nonoption_flags[optind] == '1')) -#else -# define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0') -#endif - - if (nextchar == NULL || *nextchar == '\0') - { - /* Advance to the next ARGV-element. */ - - /* Give FIRST_NONOPT & LAST_NONOPT rational values if OPTIND has been - moved back by the user (who may also have changed the arguments). */ - if (last_nonopt > optind) - last_nonopt = optind; - if (first_nonopt > optind) - first_nonopt = optind; - - if (ordering == PERMUTE) - { - /* If we have just processed some options following some non-options, - exchange them so that the options come first. */ - - if (first_nonopt != last_nonopt && last_nonopt != optind) - exchange ((char **) argv); - else if (last_nonopt != optind) - first_nonopt = optind; - - /* Skip any additional non-options - and extend the range of non-options previously skipped. */ - - while (optind < argc && NONOPTION_P) - optind++; - last_nonopt = optind; - } - - /* The special ARGV-element `--' means premature end of options. - Skip it like a null option, - then exchange with previous non-options as if it were an option, - then skip everything else like a non-option. */ - - if (optind != argc && !strcmp (argv[optind], "--")) - { - optind++; - - if (first_nonopt != last_nonopt && last_nonopt != optind) - exchange ((char **) argv); - else if (first_nonopt == last_nonopt) - first_nonopt = optind; - last_nonopt = argc; - - optind = argc; - } - - /* If we have done all the ARGV-elements, stop the scan - and back over any non-options that we skipped and permuted. */ - - if (optind == argc) - { - /* Set the next-arg-index to point at the non-options - that we previously skipped, so the caller will digest them. */ - if (first_nonopt != last_nonopt) - optind = first_nonopt; - return -1; - } - - /* If we have come to a non-option and did not permute it, - either stop the scan or describe it to the caller and pass it by. */ - - if (NONOPTION_P) - { - if (ordering == REQUIRE_ORDER) - return -1; - optarg = argv[optind++]; - return 1; - } - - /* We have found another option-ARGV-element. - Skip the initial punctuation. */ - - nextchar = (argv[optind] + 1 - + (longopts != NULL && argv[optind][1] == '-')); - } - - /* Decode the current option-ARGV-element. */ - - /* Check whether the ARGV-element is a long option. - - If long_only and the ARGV-element has the form "-f", where f is - a valid short option, don't consider it an abbreviated form of - a long option that starts with f. Otherwise there would be no - way to give the -f short option. - - On the other hand, if there's a long option "fubar" and - the ARGV-element is "-fu", do consider that an abbreviation of - the long option, just like "--fu", and not "-f" with arg "u". - - This distinction seems to be the most useful approach. */ - - if (longopts != NULL - && (argv[optind][1] == '-' - || (long_only && (argv[optind][2] || !my_index (optstring, argv[optind][1]))))) - { - char *nameend; - const struct option *p; - const struct option *pfound = NULL; - int exact = 0; - int ambig = 0; - int indfound = -1; - int option_index; - - for (nameend = nextchar; *nameend && *nameend != '='; nameend++) - /* Do nothing. */ ; - - /* Test all long options for either exact match - or abbreviated matches. */ - for (p = longopts, option_index = 0; p->name; p++, option_index++) - if (!strncmp (p->name, nextchar, nameend - nextchar)) - { - if ((unsigned int) (nameend - nextchar) - == (unsigned int) strlen (p->name)) - { - /* Exact match found. */ - pfound = p; - indfound = option_index; - exact = 1; - break; - } - else if (pfound == NULL) - { - /* First nonexact match found. */ - pfound = p; - indfound = option_index; - } - else - /* Second or later nonexact match found. */ - ambig = 1; - } - - if (ambig && !exact) - { - if (opterr) - fprintf (stderr, _("%s: option `%s' is ambiguous\n"), - argv[0], argv[optind]); - nextchar += strlen (nextchar); - optind++; - optopt = 0; - return '?'; - } - - if (pfound != NULL) - { - option_index = indfound; - optind++; - if (*nameend) - { - /* Don't test has_arg with >, because some C compilers don't - allow it to be used on enums. */ - if (pfound->has_arg) - optarg = nameend + 1; - else - { - if (opterr) - { - if (argv[optind - 1][1] == '-') - /* --option */ - fprintf (stderr, - _("%s: option `--%s' doesn't allow an argument\n"), - argv[0], pfound->name); - else - /* +option or -option */ - fprintf (stderr, - _("%s: option `%c%s' doesn't allow an argument\n"), - argv[0], argv[optind - 1][0], pfound->name); - } - - nextchar += strlen (nextchar); - - optopt = pfound->val; - return '?'; - } - } - else if (pfound->has_arg == 1) - { - if (optind < argc) - optarg = argv[optind++]; - else - { - if (opterr) - fprintf (stderr, - _("%s: option `%s' requires an argument\n"), - argv[0], argv[optind - 1]); - nextchar += strlen (nextchar); - optopt = pfound->val; - return optstring[0] == ':' ? ':' : '?'; - } - } - nextchar += strlen (nextchar); - if (longind != NULL) - *longind = option_index; - if (pfound->flag) - { - *(pfound->flag) = pfound->val; - return 0; - } - return pfound->val; - } - - /* Can't find it as a long option. If this is not getopt_long_only, - or the option starts with '--' or is not a valid short - option, then it's an error. - Otherwise interpret it as a short option. */ - if (!long_only || argv[optind][1] == '-' - || my_index (optstring, *nextchar) == NULL) - { - if (opterr) - { - if (argv[optind][1] == '-') - /* --option */ - fprintf (stderr, _("%s: unrecognized option `--%s'\n"), - argv[0], nextchar); - else - /* +option or -option */ - fprintf (stderr, _("%s: unrecognized option `%c%s'\n"), - argv[0], argv[optind][0], nextchar); - } - nextchar = (char *) ""; - optind++; - optopt = 0; - return '?'; - } - } - - /* Look at and handle the next short option-character. */ - - { - char c = *nextchar++; - char *temp = my_index (optstring, c); - - /* Increment `optind' when we start to process its last character. */ - if (*nextchar == '\0') - ++optind; - - if (temp == NULL || c == ':') - { - if (opterr) - { - if (posixly_correct) - /* 1003.2 specifies the format of this message. */ - fprintf (stderr, _("%s: illegal option -- %c\n"), - argv[0], c); - else - fprintf (stderr, _("%s: invalid option -- %c\n"), - argv[0], c); - } - optopt = c; - return '?'; - } - /* Convenience. Treat POSIX -W foo same as long option --foo */ - if (temp[0] == 'W' && temp[1] == ';') - { - char *nameend; - const struct option *p; - const struct option *pfound = NULL; - int exact = 0; - int ambig = 0; - int indfound = 0; - int option_index; - - /* This is an option that requires an argument. */ - if (*nextchar != '\0') - { - optarg = nextchar; - /* If we end this ARGV-element by taking the rest as an arg, - we must advance to the next element now. */ - optind++; - } - else if (optind == argc) - { - if (opterr) - { - /* 1003.2 specifies the format of this message. */ - fprintf (stderr, _("%s: option requires an argument -- %c\n"), - argv[0], c); - } - optopt = c; - if (optstring[0] == ':') - c = ':'; - else - c = '?'; - return c; - } - else - /* We already incremented `optind' once; - increment it again when taking next ARGV-elt as argument. */ - optarg = argv[optind++]; - - /* optarg is now the argument, see if it's in the - table of longopts. */ - - for (nextchar = nameend = optarg; *nameend && *nameend != '='; nameend++) - /* Do nothing. */ ; - - /* Test all long options for either exact match - or abbreviated matches. */ - for (p = longopts, option_index = 0; p->name; p++, option_index++) - if (!strncmp (p->name, nextchar, nameend - nextchar)) - { - if ((unsigned int) (nameend - nextchar) == strlen (p->name)) - { - /* Exact match found. */ - pfound = p; - indfound = option_index; - exact = 1; - break; - } - else if (pfound == NULL) - { - /* First nonexact match found. */ - pfound = p; - indfound = option_index; - } - else - /* Second or later nonexact match found. */ - ambig = 1; - } - if (ambig && !exact) - { - if (opterr) - fprintf (stderr, _("%s: option `-W %s' is ambiguous\n"), - argv[0], argv[optind]); - nextchar += strlen (nextchar); - optind++; - return '?'; - } - if (pfound != NULL) - { - option_index = indfound; - if (*nameend) - { - /* Don't test has_arg with >, because some C compilers don't - allow it to be used on enums. */ - if (pfound->has_arg) - optarg = nameend + 1; - else - { - if (opterr) - fprintf (stderr, _("\ -%s: option `-W %s' doesn't allow an argument\n"), - argv[0], pfound->name); - - nextchar += strlen (nextchar); - return '?'; - } - } - else if (pfound->has_arg == 1) - { - if (optind < argc) - optarg = argv[optind++]; - else - { - if (opterr) - fprintf (stderr, - _("%s: option `%s' requires an argument\n"), - argv[0], argv[optind - 1]); - nextchar += strlen (nextchar); - return optstring[0] == ':' ? ':' : '?'; - } - } - nextchar += strlen (nextchar); - if (longind != NULL) - *longind = option_index; - if (pfound->flag) - { - *(pfound->flag) = pfound->val; - return 0; - } - return pfound->val; - } - nextchar = NULL; - return 'W'; /* Let the application handle it. */ - } - if (temp[1] == ':') - { - if (temp[2] == ':') - { - /* This is an option that accepts an argument optionally. */ - if (*nextchar != '\0') - { - optarg = nextchar; - optind++; - } - else - optarg = NULL; - nextchar = NULL; - } - else - { - /* This is an option that requires an argument. */ - if (*nextchar != '\0') - { - optarg = nextchar; - /* If we end this ARGV-element by taking the rest as an arg, - we must advance to the next element now. */ - optind++; - } - else if (optind == argc) - { - if (opterr) - { - /* 1003.2 specifies the format of this message. */ - fprintf (stderr, - _("%s: option requires an argument -- %c\n"), - argv[0], c); - } - optopt = c; - if (optstring[0] == ':') - c = ':'; - else - c = '?'; - } - else - /* We already incremented `optind' once; - increment it again when taking next ARGV-elt as argument. */ - optarg = argv[optind++]; - nextchar = NULL; - } - } - return c; - } -} - -int -getopt (argc, argv, optstring) - int argc; - char *const *argv; - const char *optstring; -{ - return _getopt_internal (argc, argv, optstring, - (const struct option *) 0, - (int *) 0, - 0); -} - -#endif /* Not ELIDE_CODE. */ - -#ifdef TEST - -/* Compile with -DTEST to make an executable for use in testing - the above definition of `getopt'. */ - -int -main (argc, argv) - int argc; - char **argv; -{ - int c; - int digit_optind = 0; - - while (1) - { - int this_option_optind = optind ? optind : 1; - - c = getopt (argc, argv, "abc:d:0123456789"); - if (c == -1) - break; - - switch (c) - { - case '0': - case '1': - case '2': - case '3': - case '4': - case '5': - case '6': - case '7': - case '8': - case '9': - if (digit_optind != 0 && digit_optind != this_option_optind) - printf ("digits occur in two different argv-elements.\n"); - digit_optind = this_option_optind; - printf ("option %c\n", c); - break; - - case 'a': - printf ("option a\n"); - break; - - case 'b': - printf ("option b\n"); - break; - - case 'c': - printf ("option c with value `%s'\n", optarg); - break; - - case '?': - break; - - default: - printf ("?? getopt returned character code 0%o ??\n", c); - } - } - - if (optind < argc) - { - printf ("non-option ARGV-elements: "); - while (optind < argc) - printf ("%s ", argv[optind++]); - printf ("\n"); - } - - exit (0); -} - -#endif /* TEST */ diff --git a/Libraries/libtheora-1.1.1/win32/getopt1.c b/Libraries/libtheora-1.1.1/win32/getopt1.c deleted file mode 100644 index dee63255..00000000 --- a/Libraries/libtheora-1.1.1/win32/getopt1.c +++ /dev/null @@ -1,188 +0,0 @@ -/* getopt_long and getopt_long_only entry points for GNU getopt. - Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98 - Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public License as - published by the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with the GNU C Library; see the file COPYING.LIB. If not, - write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include "getopt_win.h" - -#if !defined __STDC__ || !__STDC__ -/* This is a separate conditional since some stdc systems - reject `defined (const)'. */ -#ifndef const -#define const -#endif -#endif - -#include - -/* Comment out all this code if we are using the GNU C Library, and are not - actually compiling the library itself. This code is part of the GNU C - Library, but also included in many other GNU distributions. Compiling - and linking in this code is a waste when using the GNU C library - (especially if it is a shared library). Rather than having every GNU - program understand `configure --with-gnu-libc' and omit the object files, - it is simpler to just do this in the source for each such file. */ - -#define GETOPT_INTERFACE_VERSION 2 -#if !defined _LIBC && defined __GLIBC__ && __GLIBC__ >= 2 -#include -#if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION -#define ELIDE_CODE -#endif -#endif - -#ifndef ELIDE_CODE - - -/* This needs to come after some library #include - to get __GNU_LIBRARY__ defined. */ -#ifdef __GNU_LIBRARY__ -#include -#endif - -#ifndef NULL -#define NULL 0 -#endif - -int -getopt_long (argc, argv, options, long_options, opt_index) - int argc; - char *const *argv; - const char *options; - const struct option *long_options; - int *opt_index; -{ - return _getopt_internal (argc, argv, options, long_options, opt_index, 0); -} - -/* Like getopt_long, but '-' as well as '--' can indicate a long option. - If an option that starts with '-' (not '--') doesn't match a long option, - but does match a short option, it is parsed as a short option - instead. */ - -int -getopt_long_only (argc, argv, options, long_options, opt_index) - int argc; - char *const *argv; - const char *options; - const struct option *long_options; - int *opt_index; -{ - return _getopt_internal (argc, argv, options, long_options, opt_index, 1); -} - - -#endif /* Not ELIDE_CODE. */ - -#ifdef TEST - -#include - -int -main (argc, argv) - int argc; - char **argv; -{ - int c; - int digit_optind = 0; - - while (1) - { - int this_option_optind = optind ? optind : 1; - int option_index = 0; - static struct option long_options[] = - { - {"add", 1, 0, 0}, - {"append", 0, 0, 0}, - {"delete", 1, 0, 0}, - {"verbose", 0, 0, 0}, - {"create", 0, 0, 0}, - {"file", 1, 0, 0}, - {0, 0, 0, 0} - }; - - c = getopt_long (argc, argv, "abc:d:0123456789", - long_options, &option_index); - if (c == -1) - break; - - switch (c) - { - case 0: - printf ("option %s", long_options[option_index].name); - if (optarg) - printf (" with arg %s", optarg); - printf ("\n"); - break; - - case '0': - case '1': - case '2': - case '3': - case '4': - case '5': - case '6': - case '7': - case '8': - case '9': - if (digit_optind != 0 && digit_optind != this_option_optind) - printf ("digits occur in two different argv-elements.\n"); - digit_optind = this_option_optind; - printf ("option %c\n", c); - break; - - case 'a': - printf ("option a\n"); - break; - - case 'b': - printf ("option b\n"); - break; - - case 'c': - printf ("option c with value `%s'\n", optarg); - break; - - case 'd': - printf ("option d with value `%s'\n", optarg); - break; - - case '?': - break; - - default: - printf ("?? getopt returned character code 0%o ??\n", c); - } - } - - if (optind < argc) - { - printf ("non-option ARGV-elements: "); - while (optind < argc) - printf ("%s ", argv[optind++]); - printf ("\n"); - } - - exit (0); -} - -#endif /* TEST */ diff --git a/Libraries/libtheora-1.1.1/win32/getopt_win.h b/Libraries/libtheora-1.1.1/win32/getopt_win.h deleted file mode 100644 index b0147e9d..00000000 --- a/Libraries/libtheora-1.1.1/win32/getopt_win.h +++ /dev/null @@ -1,169 +0,0 @@ -/* Declarations for getopt. - Copyright (C) 1989,90,91,92,93,94,96,97,98 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public License as - published by the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with the GNU C Library; see the file COPYING.LIB. If not, - write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ - -#ifndef _GETOPT_H - -#ifndef __need_getopt -# define _GETOPT_H 1 -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* For communication from `getopt' to the caller. - When `getopt' finds an option that takes an argument, - the argument value is returned here. - Also, when `ordering' is RETURN_IN_ORDER, - each non-option ARGV-element is returned here. */ - -extern char *optarg; - -/* Index in ARGV of the next element to be scanned. - This is used for communication to and from the caller - and for communication between successive calls to `getopt'. - - On entry to `getopt', zero means this is the first call; initialize. - - When `getopt' returns -1, this is the index of the first of the - non-option elements that the caller should itself scan. - - Otherwise, `optind' communicates from one call to the next - how much of ARGV has been scanned so far. */ - -extern int optind; - -/* Callers store zero here to inhibit the error message `getopt' prints - for unrecognized options. */ - -extern int opterr; - -/* Set to an option character which was unrecognized. */ - -extern int optopt; - -#ifndef __need_getopt -/* Describe the long-named options requested by the application. - The LONG_OPTIONS argument to getopt_long or getopt_long_only is a vector - of `struct option' terminated by an element containing a name which is - zero. - - The field `has_arg' is: - no_argument (or 0) if the option does not take an argument, - required_argument (or 1) if the option requires an argument, - optional_argument (or 2) if the option takes an optional argument. - - If the field `flag' is not NULL, it points to a variable that is set - to the value given in the field `val' when the option is found, but - left unchanged if the option is not found. - - To have a long-named option do something other than set an `int' to - a compiled-in constant, such as set a value from `optarg', set the - option's `flag' field to zero and its `val' field to a nonzero - value (the equivalent single-letter option character, if there is - one). For long options that have a zero `flag' field, `getopt' - returns the contents of the `val' field. */ - -struct option -{ -# if defined __STDC__ && __STDC__ - const char *name; -# else - char *name; -# endif - /* has_arg can't be an enum because some compilers complain about - type mismatches in all the code that assumes it is an int. */ - int has_arg; - int *flag; - int val; -}; - -/* Names for the values of the `has_arg' field of `struct option'. */ - -# define no_argument 0 -# define required_argument 1 -# define optional_argument 2 -#endif /* need getopt */ - - -/* Get definitions and prototypes for functions to process the - arguments in ARGV (ARGC of them, minus the program name) for - options given in OPTS. - - Return the option character from OPTS just read. Return -1 when - there are no more options. For unrecognized options, or options - missing arguments, `optopt' is set to the option letter, and '?' is - returned. - - The OPTS string is a list of characters which are recognized option - letters, optionally followed by colons, specifying that that letter - takes an argument, to be placed in `optarg'. - - If a letter in OPTS is followed by two colons, its argument is - optional. This behavior is specific to the GNU `getopt'. - - The argument `--' causes premature termination of argument - scanning, explicitly telling `getopt' that there are no more - options. - - If OPTS begins with `--', then non-option arguments are treated as - arguments to the option '\0'. This behavior is specific to the GNU - `getopt'. */ - -#if defined __STDC__ && __STDC__ -# ifdef __GNU_LIBRARY__ -/* Many other libraries have conflicting prototypes for getopt, with - differences in the consts, in stdlib.h. To avoid compilation - errors, only prototype getopt for the GNU C library. */ -extern int getopt (int __argc, char *const *__argv, const char *__shortopts); -# else /* not __GNU_LIBRARY__ */ -extern int getopt (); -# endif /* __GNU_LIBRARY__ */ - -# ifndef __need_getopt -extern int getopt_long (int __argc, char *const *__argv, const char *__shortopts, - const struct option *__longopts, int *__longind); -extern int getopt_long_only (int __argc, char *const *__argv, - const char *__shortopts, - const struct option *__longopts, int *__longind); - -/* Internal only. Users should not call this directly. */ -extern int _getopt_internal (int __argc, char *const *__argv, - const char *__shortopts, - const struct option *__longopts, int *__longind, - int __long_only); -# endif -#else /* not __STDC__ */ -extern int getopt (); -# ifndef __need_getopt -extern int getopt_long (); -extern int getopt_long_only (); - -extern int _getopt_internal (); -# endif -#endif /* __STDC__ */ - -#ifdef __cplusplus -} -#endif - -/* Make sure we later can get all the definitions and declarations. */ -#undef __need_getopt - -#endif /* getopt.h */ diff --git a/Libraries/libtheora-1.1.1/win32/theora_static.dsp b/Libraries/libtheora-1.1.1/win32/theora_static.dsp deleted file mode 100644 index f794e108..00000000 --- a/Libraries/libtheora-1.1.1/win32/theora_static.dsp +++ /dev/null @@ -1,336 +0,0 @@ -# Microsoft Developer Studio Project File - Name="theora_static" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Static Library" 0x0104 - -CFG=theora_static - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "theora_static.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "theora_static.mak" CFG="theora_static - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "theora_static - Win32 Release" (based on "Win32 (x86) Static Library") -!MESSAGE "theora_static - Win32 Debug" (based on "Win32 (x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "theora_static - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Static_Release" -# PROP Intermediate_Dir "Static_Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c -# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\..\ogg\include" /I "..\..\theora\include" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /YX /FD /c -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo - -!ELSEIF "$(CFG)" == "theora_static - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Static_Debug" -# PROP Intermediate_Dir "Static_Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\..\ogg\include" /I "..\..\theora\include" /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:"Static_Debug\theora_static_d.lib" - -!ENDIF - -# Begin Target - -# Name "theora_static - Win32 Release" -# Name "theora_static - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\lib\enc\dct.c -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\dct_decode.c -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\dct_encode.c -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\dct_encode.c -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\encapiwrapper.c -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\encode.c -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\encoder_huffman.c -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\encoder_idct.c -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\encoder_toplevel.c -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\encoder_quant.c -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\frarray.c -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\frinit.c -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\mathops.c -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\mcenc.c -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\mode.c -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\reconstruct.c -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\x86_32_vs\dsp_mmx.c -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\x86_32_vs\fdct_mmx.c -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\x86_32_vs\recon_mmx.c -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\apiwrapper.c -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\bitpack.c -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\decapiwrapper.c -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\decinfo.c -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\decode.c -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\dequant.c -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\fragment.c -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\huffdec.c -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\idct.c -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\info.c -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\internal.c -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\quant.c -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\state.c -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\x86_vc\mmxfrag.c -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\x86_vc\mmxidct.c -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\x86_vc\mmxloopfilter.c -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\x86_vc\mmxstate.c -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\x86_vc\x86stat.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\lib\dec\apiwrapper.h -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\block_inline.h -# End Source File -# Begin Source File - -SOURCE=..\include\theora\codec.h -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\codec_internal.h -# End Source File -# Begin Source File - -SOURCE=..\lib\cpu.h -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\dct.h -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\decint.h -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\dequant.h -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\dsp.h -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\encoder_huffman.h -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\encoder_lookup.h -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\enquant.h -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\huffdec.h -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\huffman.h -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\hufftables.h -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\idct.h -# End Source File -# Begin Source File - -SOURCE=..\lib\internal.h -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\ocintrin.h -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\pp.h -# End Source File -# Begin Source File - -SOURCE=..\lib\dec\quant.h -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\quant_lookup.h -# End Source File -# Begin Source File - -SOURCE=..\include\theora\theora.h -# End Source File -# Begin Source File - -SOURCE=..\include\theora\theoradec.h -# End Source File -# Begin Source File - -SOURCE=..\lib\enc\toplevel_lookup.h -# End Source File -# End Group -# End Target -# End Project diff --git a/Libraries/libtheora-1.1.1/win32/xmingw32/Makefile b/Libraries/libtheora-1.1.1/win32/xmingw32/Makefile deleted file mode 100644 index cf016d4a..00000000 --- a/Libraries/libtheora-1.1.1/win32/xmingw32/Makefile +++ /dev/null @@ -1,393 +0,0 @@ -# NOTE: This Makefile requires GNU make -# Location to put the targets. -TARGETBINDIR = . -TARGETLIBDIR = . -# DLL version information. Currently this must be updated manually. -# Fields are: major, minor, build number, QFE version -VERSION_FIELD = 1,0,0,0 -VERSION_STRING = \\\"1.0\\\" -# Name of the targets -# Hooray for Windows DLL hell. -LIBTHEORAENC_TARGET = libtheoraenc.dll -LIBTHEORAENCD_TARGET = libtheoraencd.dll -LIBTHEORAENC70_TARGET = libtheoraenc70.dll -LIBTHEORAENC70D_TARGET = libtheoraenc70d.dll -LIBTHEORAENC71_TARGET = libtheoraenc71.dll -LIBTHEORAENC71D_TARGET = libtheoraenc71d.dll -LIBTHEORAENC80_TARGET = libtheoraenc80.dll -LIBTHEORAENC80D_TARGET = libtheoraenc80d.dll - -LIBTHEORADEC_TARGET = libtheoradec.dll -LIBTHEORADECD_TARGET = libtheoradecd.dll -LIBTHEORADEC70_TARGET = libtheoradec70.dll -LIBTHEORADEC70D_TARGET = libtheoradec70d.dll -LIBTHEORADEC71_TARGET = libtheoradec71.dll -LIBTHEORADEC71D_TARGET = libtheoradec71d.dll -LIBTHEORADEC80_TARGET = libtheoradec80.dll -LIBTHEORADEC80D_TARGET = libtheoradec80d.dll - -DUMP_VIDEO_TARGET = dump_video.exe -PLAYER_EXAMPLE_TARGET = player_example.exe -ENCODER_EXAMPLE_TARGET = encoder_example.exe - -# The compiler tools to use -# The is no standard mingw prefix, so try to guess -MINGW_PREFIX := $(or $(strip $(foreach exeprefix, \ - i686-mingw32 i686-pc-mingw32 i586-mingw32msvc i386-mingw32 \ - no-mingw32, \ - $(if $(shell which $(exeprefix)-gcc 2>/dev/null), $(exeprefix) )))) -CC = $(MINGW_PREFIX)-gcc -RC = $(MINGW_PREFIX)-windres -DLLTOOL = $(MINGW_PREFIX)-dlltool -LD = $(MINGW_PREFIX)-ld -SDLCONFIG = $(MINGW_PREFIX)-sdl-config -# The command to use to generate dependency information -MAKEDEPEND = ${CC} -MM -#MAKEDEPEND = makedepend -f- -Y -- - -# The location of include files. -# Modify these to point to your Ogg and Vorbis include directories if they are -# not installed in a standard location. -CINCLUDE = -D_REENTRANT -# Extra compilation flags. -# You may get speed increases by including flags such as -O2 or -O3 or -# -ffast-math, or additional flags, depending on your system and compiler. -# The correct -march= flag will also generate much better code -# on newer architectures. -CFLAGS = -Wall -Wno-parentheses -DOC_X86_ASM -RELEASE_CFLAGS = ${CFLAGS} -mtune=native -O3 -fomit-frame-pointer -fforce-addr \ - -finline-functions -# The -g flag will generally include debugging information. -DEBUG_CFLAGS = ${CFLAGS} -g -# Libraries to link with, and the location of library files. -LIBS = -logg -lvorbis -lvorbisenc - -# ANYTHING BELOW THIS LINE PROBABLY DOES NOT NEED EDITING -CINCLUDE := -I../../include ${CINCLUDE} -LIBSRCDIR = ../../lib -BINSRCDIR = ../../examples -WORKDIR = objs - -# C source file lists - -LIBTHEORADEC_CSOURCES = \ -apiwrapper.c \ -bitpack.c \ -decapiwrapper.c \ -decinfo.c \ -decode.c \ -dequant.c \ -fragment.c \ -huffdec.c \ -idct.c \ -info.c \ -internal.c \ -quant.c \ -state.c \ -$(if $(findstring -DOC_X86_ASM,${CFLAGS}), \ -x86/mmxidct.c \ -x86/mmxfrag.c \ -x86/mmxstate.c \ -x86/x86state.c \ -) - -LIBTHEORAENC_CSOURCES = \ -apiwrapper.c \ -fragment.c \ -idct.c \ -internal.c \ -state.c \ -quant.c \ -analyze.c \ -fdct.c \ -encfrag.c \ -encapiwrapper.c \ -encinfo.c \ -encode.c \ -enquant.c \ -huffenc.c \ -mathops.c \ -mcenc.c \ -rate.c \ -tokenize.c \ -$(if $(findstring -DOC_X86_ASM,${CFLAGS}), \ -x86/mmxfrag.c \ -x86/mmxidct.c \ -x86/mmxstate.c \ -x86/x86state.c \ -x86/mmxencfrag.c \ -x86/mmxfdct.c \ -x86/x86enc.c \ -) - - -DUMP_VIDEO_CSOURCES = dump_video.c -ENCODER_EXAMPLE_CSOURCES = encoder_example.c -PLAYER_EXAMPLE_CSOURCES = player_example.c - -# Create object file list. -LIBTHEORADEC_OBJS:= ${LIBTHEORADEC_CSOURCES:%.c=${WORKDIR}/%.o} -LIBTHEORADECD_OBJS:= ${LIBTHEORADEC_CSOURCES:%.c=${WORKDIR}/%.do} -LIBTHEORAENC_OBJS:= ${LIBTHEORAENC_CSOURCES:%.c=${WORKDIR}/%.o} -LIBTHEORAENCD_OBJS:= ${LIBTHEORAENC_CSOURCES:%.c=${WORKDIR}/%.do} -DUMP_VIDEO_OBJS:= ${DUMP_VIDEO_CSOURCES:%.c=${WORKDIR}/%.o} -ENCODER_EXAMPLE_OBJS:= ${ENCODER_EXAMPLE_CSOURCES:%.c=${WORKDIR}/%.o} -PLAYER_EXAMPLE_OBJS:= ${PLAYER_EXAMPLE_CSOURCES:%.c=${WORKDIR}/%.o} -RC_OBJS:= ${LIBTHEORADEC_TARGET} ${LIBTHEORAENC_TARGET} \ - ${LIBTHEORADECD_TARGET} ${LIBTHEORAENCD_TARGET} \ - ${LIBTHEORADEC70_TARGET} ${LIBTHEORAENC70_TARGET} \ - ${LIBTHEORADEC70D_TARGET} ${LIBTHEORAENC70D_TARGET} \ - ${LIBTHEORADEC71_TARGET} ${LIBTHEORAENC71_TARGET} \ - ${LIBTHEORADEC71D_TARGET} ${LIBTHEORAENC71D_TARGET} \ - ${LIBTHEORADEC80_TARGET} ${LIBTHEORAENC80_TARGET} \ - ${LIBTHEORADEC80D_TARGET} ${LIBTHEORAENC80D_TARGET} -RC_OBJS:= ${RC_OBJS:%.dll=${WORKDIR}/%.rco} -ALL_OBJS:= ${LIBTHEORADEC_OBJS} ${LIBTHEORAENC_OBJS} \ - ${LIBTHEORADECD_OBJS} ${LIBTHEORAENCD_OBJS} ${RC_OBJS} \ - ${DUMP_VIDEO_OBJS} ${ENCODER_EXAMPLE_OBJS} #${PLAYER_EXAMPLE_OBJS} -# Create the dependency file list -ALL_DEPS:= ${ALL_OBJS:%.o=%.d} -ALL_DEPS:= ${ALL_DEPS:%.do=%.dd} -ALL_DEPS:= ${ALL_DEPS:%.rco=%.d} -# Prepend source path to file names. -LIBTHEORADEC_CSOURCES:= ${LIBTHEORADEC_CSOURCES:%=${LIBSRCDIR}/%} -LIBTHEORAENC_CSOURCES:= ${LIBTHEORAENC_CSOURCES:%=${LIBSRCDIR}/%} -DUMP_VIDEO_CSOURCES:= ${DUMP_VIDEO_CSOURCES:%=${BINSRCDIR}/%} -ENCODER_EXAMPLE_CSOURCES:= ${ENCODER_EXAMPLE_CSOURCES:%=${BINSRCDIR}/%} -PLAYER_EXAMPLE_CSOURCES:= ${PLAYER_EXAMPLE_CSOURCES:%=${BINSRCDIR}/%} -ALL_CSOURCES:= ${LIBTHEORADEC_CSOURCES} ${LIBTHEORAENC_CSOURCES} \ - ${DUMP_VIDEO_CSOURCES} ${PLAYER_EXAMPLE_CSOURCES} \ - ${ENCODER_EXAMPLE_CSOURCES} -LIBTHEORAENC_RCO:= ${WORKDIR}/${LIBTHEORAENC_TARGET:%.dll=%.rco} -LIBTHEORAENCD_RCO:= ${WORKDIR}/${LIBTHEORAENCD_TARGET:%.dll=%.rco} -LIBTHEORAENC70_RCO:= ${WORKDIR}/${LIBTHEORAENC70_TARGET:%.dll=%.rco} -LIBTHEORAENC70D_RCO:= ${WORKDIR}/${LIBTHEORAENC70D_TARGET:%.dll=%.rco} -LIBTHEORAENC71_RCO:= ${WORKDIR}/${LIBTHEORAENC71_TARGET:%.dll=%.rco} -LIBTHEORAENC71D_RCO:= ${WORKDIR}/${LIBTHEORAENC71D_TARGET:%.dll=%.rco} -LIBTHEORAENC80_RCO:= ${WORKDIR}/${LIBTHEORAENC80_TARGET:%.dll=%.rco} -LIBTHEORAENC80D_RCO:= ${WORKDIR}/${LIBTHEORAENC80D_TARGET:%.dll=%.rco} -LIBTHEORADEC_RCO:= ${WORKDIR}/${LIBTHEORADEC_TARGET:%.dll=%.rco} -LIBTHEORADECD_RCO:= ${WORKDIR}/${LIBTHEORADECD_TARGET:%.dll=%.rco} -LIBTHEORADEC70_RCO:= ${WORKDIR}/${LIBTHEORADEC70_TARGET:%.dll=%.rco} -LIBTHEORADEC70D_RCO:= ${WORKDIR}/${LIBTHEORADEC70D_TARGET:%.dll=%.rco} -LIBTHEORADEC71_RCO:= ${WORKDIR}/${LIBTHEORADEC71_TARGET:%.dll=%.rco} -LIBTHEORADEC71D_RCO:= ${WORKDIR}/${LIBTHEORADEC71D_TARGET:%.dll=%.rco} -LIBTHEORADEC80_RCO:= ${WORKDIR}/${LIBTHEORADEC80_TARGET:%.dll=%.rco} -LIBTHEORADEC80D_RCO:= ${WORKDIR}/${LIBTHEORADEC80D_TARGET:%.dll=%.rco} -# Prepand target path to file names. -LIBTHEORAENC_TARGET:= ${TARGETLIBDIR}/${LIBTHEORAENC_TARGET} -LIBTHEORAENCD_TARGET:= ${TARGETLIBDIR}/${LIBTHEORAENCD_TARGET} -LIBTHEORAENC70_TARGET:= ${TARGETLIBDIR}/${LIBTHEORAENC70_TARGET} -LIBTHEORAENC70D_TARGET:= ${TARGETLIBDIR}/${LIBTHEORAENC70D_TARGET} -LIBTHEORAENC71_TARGET:= ${TARGETLIBDIR}/${LIBTHEORAENC71_TARGET} -LIBTHEORAENC71D_TARGET:= ${TARGETLIBDIR}/${LIBTHEORAENC71D_TARGET} -LIBTHEORAENC80_TARGET:= ${TARGETLIBDIR}/${LIBTHEORAENC80_TARGET} -LIBTHEORAENC80D_TARGET:= ${TARGETLIBDIR}/${LIBTHEORAENC80D_TARGET} -LIBTHEORADEC_TARGET:= ${TARGETLIBDIR}/${LIBTHEORADEC_TARGET} -LIBTHEORADECD_TARGET:= ${TARGETLIBDIR}/${LIBTHEORADECD_TARGET} -LIBTHEORADEC70_TARGET:= ${TARGETLIBDIR}/${LIBTHEORADEC70_TARGET} -LIBTHEORADEC70D_TARGET:= ${TARGETLIBDIR}/${LIBTHEORADEC70D_TARGET} -LIBTHEORADEC71_TARGET:= ${TARGETLIBDIR}/${LIBTHEORADEC71_TARGET} -LIBTHEORADEC71D_TARGET:= ${TARGETLIBDIR}/${LIBTHEORADEC71D_TARGET} -LIBTHEORADEC80_TARGET:= ${TARGETLIBDIR}/${LIBTHEORADEC80_TARGET} -LIBTHEORADEC80D_TARGET:= ${TARGETLIBDIR}/${LIBTHEORADEC80D_TARGET} -DUMP_VIDEO_TARGET:= ${TARGETBINDIR}/${DUMP_VIDEO_TARGET} -ENCODER_EXAMPLE_TARGET:= ${TARGETBINDIR}/${ENCODER_EXAMPLE_TARGET} -PLAYER_EXAMPLE_TARGET:= ${TARGETBINDIR}/${PLAYER_EXAMPLE_TARGET} -DLL_TARGETS:= ${LIBTHEORADEC_TARGET} ${LIBTHEORAENC_TARGET} \ - ${LIBTHEORADECD_TARGET} ${LIBTHEORAENCD_TARGET} \ - ${LIBTHEORADEC70_TARGET} ${LIBTHEORAENC70_TARGET} \ - ${LIBTHEORADEC70D_TARGET} ${LIBTHEORAENC70D_TARGET} \ - ${LIBTHEORADEC71_TARGET} ${LIBTHEORAENC71_TARGET} \ - ${LIBTHEORADEC71D_TARGET} ${LIBTHEORAENC71D_TARGET} \ - ${LIBTHEORADEC80_TARGET} ${LIBTHEORAENC80_TARGET} \ - ${LIBTHEORADEC80D_TARGET} ${LIBTHEORAENC80D_TARGET} -ALL_TARGETS:= ${DLL_TARGETS} ${DLL_TARGETS:%.dll=%.dll.a} \ - ${DUMP_VIDEO_TARGET} ${ENCODER_EXAMPLE_TARGET} #${PLAYER_EXAMPLE_TARGET} -IMPLIB_TARGETS:= ${DLL_TARGETS:%.dll=%.def} ${DLL_TARGETS:%.dll=%.lib} \ - ${DLL_TARGETS:%.dll=%.exp} - -# Targets: -# Everything (default) -all: ${ALL_TARGETS} - -# These require Microsoft's lib.exe to build, and so are not made by default. -implibs: ${IMPLIB_TARGETS} - -# libtheoradec -${LIBTHEORADEC_TARGET}: ${LIBTHEORADEC_OBJS} ${LIBTHEORADEC_RCO} \ - libtheoradec-all.def - mkdir -p ${TARGETLIBDIR} - ${CC} -shared -o $@ ${LIBTHEORADEC_OBJS} -logg -lmsvcrt \ - ${LIBTHEORADEC_RCO} \ - -Wl,--output-def,${@:.dll=.def},--out-implib,$@.a,libtheoradec-all.def -${LIBTHEORADECD_TARGET}: ${LIBTHEORADECD_OBJS} ${LIBTHEORADECD_RCO} \ - libtheoradec-all.def - mkdir -p ${TARGETLIBDIR} - ${CC} -shared -o $@ ${LIBTHEORADECD_OBJS} -logg -lmsvcrtd \ - ${LIBTHEORADECD_RCO} \ - -Wl,--output-def,${@:.dll=.def},--out-implib,$@.a,libtheoradec-all.def -${LIBTHEORADEC70_TARGET}: ${LIBTHEORADEC_OBJS} ${LIBTHEORADEC70_RCO} \ - libtheoradec-all.def - mkdir -p ${TARGETLIBDIR} - ${CC} -shared -o $@ ${LIBTHEORADEC_OBJS} -logg -lmsvcr70 \ - ${LIBTHEORADEC70_RCO} \ - -Wl,--output-def,${@:.dll=.def},--out-implib,$@.a,libtheoradec-all.def -${LIBTHEORADEC70D_TARGET}: ${LIBTHEORADECD_OBJS} ${LIBTHEORADEC70D_RCO} \ - libtheoradec-all.def - mkdir -p ${TARGETLIBDIR} - ${CC} -shared -o $@ ${LIBTHEORADECD_OBJS} -logg -lmsvcr70d \ - ${LIBTHEORADEC70D_RCO} \ - -Wl,--output-def,${@:.dll=.def},--out-implib,$@.a,libtheoradec-all.def -${LIBTHEORADEC71_TARGET}: ${LIBTHEORADEC_OBJS} ${LIBTHEORADEC71_RCO} \ - libtheoradec-all.def - mkdir -p ${TARGETLIBDIR} - ${CC} -shared -o $@ ${LIBTHEORADEC_OBJS} -logg -lmsvcr71 \ - ${LIBTHEORADEC71_RCO} \ - -Wl,--output-def,${@:.dll=.def},--out-implib,$@.a,libtheoradec-all.def -${LIBTHEORADEC71D_TARGET}: ${LIBTHEORADECD_OBJS} ${LIBTHEORADEC71D_RCO} \ - libtheoradec-all.def - mkdir -p ${TARGETLIBDIR} - ${CC} -shared -o $@ ${LIBTHEORADECD_OBJS} -logg -lmsvcr71d \ - ${LIBTHEORADEC71D_RCO} \ - -Wl,--output-def,${@:.dll=.def},--out-implib,$@.a,libtheoradec-all.def -${LIBTHEORADEC80_TARGET}: ${LIBTHEORADEC_OBJS} ${LIBTHEORADEC80_RCO} \ - libtheoradec-all.def - mkdir -p ${TARGETLIBDIR} - ${CC} -shared -o $@ ${LIBTHEORADEC_OBJS} -logg -lmsvcr80 \ - ${LIBTHEORADEC80_RCO} \ - -Wl,--output-def,${@:.dll=.def},--out-implib,$@.a,libtheoradec-all.def -${LIBTHEORADEC80D_TARGET}: ${LIBTHEORADECD_OBJS} ${LIBTHEORADEC80D_RCO} \ - libtheoradec-all.def - mkdir -p ${TARGETLIBDIR} - ${CC} -shared -o $@ ${LIBTHEORADECD_OBJS} -logg -lmsvcr80d \ - ${LIBTHEORADEC80D_RCO} \ - -Wl,--output-def,${@:.dll=.def},--out-implib,$@.a,libtheoradec-all.def - -# libtheoraenc -${LIBTHEORAENC_TARGET}: ${LIBTHEORAENC_OBJS} ${LIBTHEORAENC_RCO} \ - libtheoraenc-all.def - mkdir -p ${TARGETLIBDIR} - ${CC} -shared -o $@ \ - ${LIBTHEORAENC_OBJS} ${LIBTHEORADEC_TARGET} -logg -lmsvcrt \ - ${LIBTHEORAENC_RCO} \ - -Wl,--output-def,${@:.dll=.def},--out-implib,$@.a,libtheoraenc-all.def -${LIBTHEORAENCD_TARGET}: ${LIBTHEORAENCD_OBJS} ${LIBTHEORAENCD_RCO} \ - libtheoraenc-all.def - mkdir -p ${TARGETLIBDIR} - ${CC} -shared -o $@ \ - ${LIBTHEORAENCD_OBJS} ${LIBTHEORADECD_TARGET} -logg -lmsvcrtd \ - ${LIBTHEORAENCD_RCO} \ - -Wl,--output-def,${@:.dll=.def},--out-implib,$@.a,libtheoraenc-all.def -${LIBTHEORAENC70_TARGET}: ${LIBTHEORAENC_OBJS} ${LIBTHEORAENC70_RCO} \ - libtheoraenc-all.def - mkdir -p ${TARGETLIBDIR} - ${CC} -shared -o $@ \ - ${LIBTHEORAENC_OBJS} ${LIBTHEORADEC70_TARGET} -logg -lmsvcr70 \ - ${LIBTHEORAENC70_RCO} \ - -Wl,--output-def,${@:.dll=.def},--out-implib,$@.a,libtheoraenc-all.def -${LIBTHEORAENC70D_TARGET}: ${LIBTHEORAENCD_OBJS} ${LIBTHEORAENC70D_RCO} \ - libtheoraenc-all.def - mkdir -p ${TARGETLIBDIR} - ${CC} -shared -o $@ \ - ${LIBTHEORAENCD_OBJS} ${LIBTHEORADEC70D_TARGET} -logg -lmsvcr70d \ - ${LIBTHEORAENC70D_RCO} \ - -Wl,--output-def,${@:.dll=.def},--out-implib,$@.a,libtheoraenc-all.def -${LIBTHEORAENC71_TARGET}: ${LIBTHEORAENC_OBJS} ${LIBTHEORAENC71_RCO} \ - libtheoraenc-all.def - mkdir -p ${TARGETLIBDIR} - ${CC} -shared -o $@ \ - ${LIBTHEORAENC_OBJS} ${LIBTHEORADEC71_TARGET} -logg -lmsvcr71 \ - ${LIBTHEORAENC71_RCO} \ - -Wl,--output-def,${@:.dll=.def},--out-implib,$@.a,libtheoraenc-all.def -${LIBTHEORAENC71D_TARGET}: ${LIBTHEORAENCD_OBJS} ${LIBTHEORAENC71D_RCO} \ - libtheoraenc-all.def - mkdir -p ${TARGETLIBDIR} - ${CC} -shared -o $@ \ - ${LIBTHEORAENCD_OBJS} ${LIBTHEORADEC71D_TARGET} -logg -lmsvcr71d \ - ${LIBTHEORAENC71D_RCO} \ - -Wl,--output-def,${@:.dll=.def},--out-implib,$@.a,libtheoraenc-all.def -${LIBTHEORAENC80_TARGET}: ${LIBTHEORAENC_OBJS} ${LIBTHEORAENC80_RCO} \ - libtheoraenc-all.def - mkdir -p ${TARGETLIBDIR} - ${CC} -shared -o $@ \ - ${LIBTHEORAENC_OBJS} ${LIBTHEORADEC80_TARGET} -logg -lmsvcr80 \ - ${LIBTHEORAENC80_RCO} \ - -Wl,--output-def,${@:.dll=.def},--out-implib,$@.a,libtheoraenc-all.def -${LIBTHEORAENC80D_TARGET}: ${LIBTHEORAENCD_OBJS} ${LIBTHEORAENC80D_RCO} \ - libtheoraenc-all.def - mkdir -p ${TARGETLIBDIR} - ${CC} -shared -o $@ \ - ${LIBTHEORAENCD_OBJS} ${LIBTHEORADEC80D_TARGET} -logg -lmsvcr80d \ - ${LIBTHEORAENC80D_RCO} \ - -Wl,--output-def,${@:.dll=.def},--out-implib,$@.a,libtheoraenc-all.def - -# dump_video -${DUMP_VIDEO_TARGET}: ${DUMP_VIDEO_OBJS} ${LIBTHEORADEC_TARGET} - mkdir -p ${TARGETBINDIR} - ${CC} ${CFLAGS} -o $@ ${DUMP_VIDEO_OBJS} ${LIBS} \ - ${LIBTHEORADEC_TARGET}.a - -# encoder_example -${ENCODER_EXAMPLE_TARGET}: ${ENCODER_EXAMPLE_OBJS} ${LIBTHEORADEC_TARGET} \ - ${LIBTHEORAENC_TARGET} - mkdir -p ${TARGETBINDIR} - ${CC} ${CFLAGS} -o $@ ${ENCODER_EXAMPLE_OBJS} ${LIBS} \ - ${LIBTHEORAENC_TARGET}.a ${LIBTHEORADEC_TARGET}.a - -# player_example -${PLAYER_EXAMPLE_TARGET}: CINCLUDE += $(SDLCONFIG) --cflags -${PLAYER_EXAMPLE_TARGET}: ${PLAYER_EXAMPLE_OBJS} ${LIBTHEORADEC_TARGET} - mkdir -p ${TARGETBINDIR} - ${CC} ${CFLAGS} -o $@ ${PLAYER_EXAMPLE_OBJS} ${LIBS} \ - ${LIBTHEORADEC_TARGET}.a `${SDLCONFIG} --libs` - -# Remove all targets. -clean: - -rm $(sort ${ALL_OBJS} ${ALL_DEPS} ${ALL_TARGETS} ${IMPLIB_TARGETS}) - -rmdir ${WORKDIR}/x86 - -rmdir ${WORKDIR} - -# Make everything depend on changes in the Makefile -${ALL_OBJS} ${ALL_DEPS} ${ALL_TARGETS} : Makefile - -# Specify which targets are phony for GNU make -.PHONY : all clean - -# Rules -# Windows-specific rules -%.dll.a : %.dll -%.def : %.dll -%.exp : %.lib -%.lib : %.def - wine lib /machine:i386 /def:$< -${WORKDIR}/%.d : %.rc - mkdir -p ${dir $@} - ${MAKEDEPEND} -x c-header ${CINCLUDE} $< -MT ${@:%.d=%.rco} > $@ -${WORKDIR}/%.rco : %.rc - mkdir -p ${dir $@} - ${RC} ${CINCLUDE} -DTH_VERSION_FIELD=${VERSION_FIELD} \ - -DTH_VERSION_STRING=${VERSION_STRING} $< $@ -# Normal compilation -${WORKDIR}/%.d : ${LIBSRCDIR}/%.c - mkdir -p ${dir $@} - ${MAKEDEPEND} ${CINCLUDE} ${RELEASE_CFLAGS} $< -MT ${@:%.d=%.o} > $@ -${WORKDIR}/%.d : ${BINSRCDIR}/%.c - mkdir -p ${dir $@} - ${MAKEDEPEND} ${CINCLUDE} ${RELEASE_CFLAGS} $< -MT ${@:%.d=%.o} > $@ -${WORKDIR}/%.o : ${LIBSRCDIR}/%.c - mkdir -p ${dir $@} - ${CC} ${CINCLUDE} ${RELEASE_CFLAGS} -c -o $@ $< -${WORKDIR}/%.o : ${BINSRCDIR}/%.c - mkdir -p ${dir $@} - ${CC} ${CINCLUDE} ${RELEASE_CFLAGS} -c -o $@ $< -# Debug versions -${WORKDIR}/%.dd : ${LIBSRCDIR}/%.c - mkdir -p ${dir $@} - ${MAKEDEPEND} ${CINCLUDE} ${DEBUG_CFLAGS} $< -MT ${@:%.d=%.do} > $@ -${WORKDIR}/%.do : ${LIBSRCDIR}/%.c - mkdir -p ${dir $@} - ${CC} ${CINCLUDE} ${DEBUG_CFLAGS} -c -o $@ $< - -# Include header file dependencies --include ${ALL_DEPS} diff --git a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec-all.def b/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec-all.def deleted file mode 100644 index 566eeb30..00000000 --- a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec-all.def +++ /dev/null @@ -1,58 +0,0 @@ -EXPORTS -; Old alpha API - theora_version_string @ 1 - theora_version_number @ 2 - - theora_decode_header @ 3 - theora_decode_init @ 4 - theora_decode_packetin @ 5 - theora_decode_YUVout @ 6 - - theora_control @ 7 - - theora_packet_isheader @ 8 - theora_packet_iskeyframe @ 9 - - theora_granule_shift @ 10 - theora_granule_frame @ 11 - theora_granule_time @ 12 - - theora_info_init @ 13 - theora_info_clear @ 14 - - theora_clear @ 15 - - theora_comment_init @ 16 - theora_comment_add @ 17 - theora_comment_add_tag @ 18 - theora_comment_query @ 19 - theora_comment_query_count @ 20 - theora_comment_clear @ 21 - -; New theora-exp API - th_version_string @ 22 - th_version_number @ 23 - - th_decode_headerin @ 24 - th_decode_alloc @ 25 - th_setup_free @ 26 - th_decode_ctl @ 27 - th_decode_packetin @ 28 - th_decode_ycbcr_out @ 29 - th_decode_free @ 30 - - th_packet_isheader @ 31 - th_packet_iskeyframe @ 32 - - th_granule_frame @ 33 - th_granule_time @ 34 - - th_info_init @ 35 - th_info_clear @ 36 - - th_comment_init @ 37 - th_comment_add @ 38 - th_comment_add_tag @ 39 - th_comment_query @ 40 - th_comment_query_count @ 41 - th_comment_clear @ 42 diff --git a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec-all.rc b/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec-all.rc deleted file mode 100644 index f6a5c60b..00000000 --- a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec-all.rc +++ /dev/null @@ -1,39 +0,0 @@ -#include - -/*See "VERSIONINFO Resource" in MSDN, - http://msdn2.microsoft.com/en-us/library/Aa381058.aspx */ -VS_VERSION_INFO VERSIONINFO -FILEVERSION TH_VERSION_FIELD -PRODUCTVERSION TH_VERSION_FIELD -FILEFLAGSMASK VS_FFI_FILEFLAGSMASK -#if defined(_DEBUG) -FILEFLAGS VS_FF_DEBUG -#else -FILEFLAGS 0 -#endif -FILEOS VOS__WINDOWS32 -FILETYPE VFT_DLL -FILESUBTYPE 0 -BEGIN - BLOCK "StringFileInfo" - BEGIN - /*0x040904B0 == US English, Unicode*/ - BLOCK "0x040904B0" - BEGIN - VALUE "Comments","Xiph.Org " TH_DEC_INTERNAL_NAME ".dll" - VALUE "CompanyName","The Xiph.Org Foundation" - VALUE "FileDescription","Xiph.Org Theora Decoder Library" - VALUE "FileVersion",TH_VERSION_STRING - VALUE "InternalName",TH_DEC_INTERNAL_NAME - VALUE "LegalCopyright","Copyright (C) 2002-2007 Xiph.Org Foundation" - VALUE "OriginalFilename",TH_DEC_INTERNAL_NAME ".dll" - VALUE "ProductName","libtheora" - VALUE "ProductVersion",TH_VERSION_STRING - END - END - BLOCK "VarFileInfo" - BEGIN - /*0x0409, 1200 == US English, Unicode*/ - VALUE "Translation",0x0409,1200 - END -END diff --git a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec.rc b/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec.rc deleted file mode 100644 index 3ed5da2a..00000000 --- a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec.rc +++ /dev/null @@ -1,3 +0,0 @@ -#define TH_DEC_INTERNAL_NAME "libtheoradec" -#undef _DEBUG -#include "libtheoradec-all.rc" diff --git a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec70.rc b/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec70.rc deleted file mode 100644 index ee82820c..00000000 --- a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec70.rc +++ /dev/null @@ -1,3 +0,0 @@ -#define TH_DEC_INTERNAL_NAME "libtheoradec70" -#undef _DEBUG -#include "libtheoradec-all.rc" diff --git a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec70d.rc b/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec70d.rc deleted file mode 100644 index 783800d1..00000000 --- a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec70d.rc +++ /dev/null @@ -1,3 +0,0 @@ -#define TH_DEC_INTERNAL_NAME "libtheoradec70d" -#define _DEBUG (1) -#include "libtheoradec-all.rc" diff --git a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec71.rc b/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec71.rc deleted file mode 100644 index 0becd190..00000000 --- a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec71.rc +++ /dev/null @@ -1,3 +0,0 @@ -#define TH_DEC_INTERNAL_NAME "libtheoradec71" -#undef _DEBUG -#include "libtheoradec-all.rc" diff --git a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec71d.rc b/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec71d.rc deleted file mode 100644 index e1a03980..00000000 --- a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec71d.rc +++ /dev/null @@ -1,3 +0,0 @@ -#define TH_DEC_INTERNAL_NAME "libtheoradec71d" -#define _DEBUG (1) -#include "libtheoradec-all.rc" diff --git a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec80.rc b/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec80.rc deleted file mode 100644 index 932cce92..00000000 --- a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec80.rc +++ /dev/null @@ -1,3 +0,0 @@ -#define TH_DEC_INTERNAL_NAME "libtheoradec80" -#undef _DEBUG -#include "libtheoradec-all.rc" diff --git a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec80d.rc b/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec80d.rc deleted file mode 100644 index 1ff55129..00000000 --- a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradec80d.rc +++ /dev/null @@ -1,3 +0,0 @@ -#define TH_DEC_INTERNAL_NAME "libtheoradec80d" -#define _DEBUG (1) -#include "libtheoradec-all.rc" diff --git a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradecd.rc b/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradecd.rc deleted file mode 100644 index 5cfaf6e6..00000000 --- a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoradecd.rc +++ /dev/null @@ -1,3 +0,0 @@ -#define TH_DEC_INTERNAL_NAME "libtheoradecd" -#define _DEBUG (1) -#include "libtheoradec-all.rc" diff --git a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc-all.def b/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc-all.def deleted file mode 100644 index 36d2dadb..00000000 --- a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc-all.def +++ /dev/null @@ -1,17 +0,0 @@ -EXPORTS -; Old alpha API - theora_encode_init @ 1 - theora_encode_YUVin @ 2 - theora_encode_packetout @ 3 - theora_encode_header @ 4 - theora_encode_comment @ 5 - theora_encode_tables @ 6 -; New theora-exp API - th_encode_alloc @ 7 - th_encode_ctl @ 8 - th_encode_flushheader @ 9 - th_encode_ycbcr_in @ 10 - th_encode_packetout @ 11 - th_encode_free @ 12 - TH_VP31_QUANT_INFO @ 13 - TH_VP31_HUFF_CODES @ 14 diff --git a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc-all.rc b/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc-all.rc deleted file mode 100644 index 5c96b09e..00000000 --- a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc-all.rc +++ /dev/null @@ -1,39 +0,0 @@ -#include - -/*See "VERSIONINFO Resource" in MSDN, - http://msdn2.microsoft.com/en-us/library/Aa381058.aspx */ -VS_VERSION_INFO VERSIONINFO -FILEVERSION TH_VERSION_FIELD -PRODUCTVERSION TH_VERSION_FIELD -FILEFLAGSMASK VS_FFI_FILEFLAGSMASK -#if defined(_DEBUG) -FILEFLAGS VS_FF_DEBUG -#else -FILEFLAGS 0 -#endif -FILEOS VOS__WINDOWS32 -FILETYPE VFT_DLL -FILESUBTYPE 0 -BEGIN - BLOCK "StringFileInfo" - BEGIN - /*0x040904B0 == US English, Unicode*/ - BLOCK "0x040904B0" - BEGIN - VALUE "Comments","Xiph.Org " TH_ENC_INTERNAL_NAME ".dll" - VALUE "CompanyName","The Xiph.Org Foundation" - VALUE "FileDescription","Xiph.Org Theora Encoder Library" - VALUE "FileVersion",TH_VERSION_STRING - VALUE "InternalName",TH_ENC_INTERNAL_NAME - VALUE "LegalCopyright","Copyright (C) 2002-2007 Xiph.Org Foundation" - VALUE "OriginalFilename",TH_ENC_INTERNAL_NAME ".dll" - VALUE "ProductName","libtheora" - VALUE "ProductVersion",TH_VERSION_STRING - END - END - BLOCK "VarFileInfo" - BEGIN - /*0x0409, 1200 == US English, Unicode*/ - VALUE "Translation",0x0409,1200 - END -END diff --git a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc.rc b/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc.rc deleted file mode 100644 index 26a356dc..00000000 --- a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc.rc +++ /dev/null @@ -1,3 +0,0 @@ -#define TH_ENC_INTERNAL_NAME "libtheoraenc" -#undef _DEBUG -#include "libtheoraenc-all.rc" diff --git a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc70.rc b/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc70.rc deleted file mode 100644 index 12cf7c17..00000000 --- a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc70.rc +++ /dev/null @@ -1,3 +0,0 @@ -#define TH_ENC_INTERNAL_NAME "libtheoraenc70" -#undef _DEBUG -#include "libtheoraenc-all.rc" diff --git a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc70d.rc b/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc70d.rc deleted file mode 100644 index 0fdb70b0..00000000 --- a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc70d.rc +++ /dev/null @@ -1,3 +0,0 @@ -#define TH_ENC_INTERNAL_NAME "libtheoraenc70d" -#define _DEBUG (1) -#include "libtheoraenc-all.rc" diff --git a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc71.rc b/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc71.rc deleted file mode 100644 index 86075168..00000000 --- a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc71.rc +++ /dev/null @@ -1,3 +0,0 @@ -#define TH_ENC_INTERNAL_NAME "libtheoraenc71" -#undef _DEBUG -#include "libtheoraenc-all.rc" diff --git a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc71d.rc b/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc71d.rc deleted file mode 100644 index 3ef2ef16..00000000 --- a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc71d.rc +++ /dev/null @@ -1,3 +0,0 @@ -#define TH_ENC_INTERNAL_NAME "libtheoraenc71d" -#define _DEBUG (1) -#include "libtheoraenc-all.rc" diff --git a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc80.rc b/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc80.rc deleted file mode 100644 index 66ef776f..00000000 --- a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc80.rc +++ /dev/null @@ -1,3 +0,0 @@ -#define TH_ENC_INTERNAL_NAME "libtheoraenc80" -#undef _DEBUG -#include "libtheoraenc-all.rc" diff --git a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc80d.rc b/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc80d.rc deleted file mode 100644 index dcca72c6..00000000 --- a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraenc80d.rc +++ /dev/null @@ -1,3 +0,0 @@ -#define TH_ENC_INTERNAL_NAME "libtheoraenc80d" -#define _DEBUG (1) -#include "libtheoraenc-all.rc" diff --git a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraencd.rc b/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraencd.rc deleted file mode 100644 index fe2a56bf..00000000 --- a/Libraries/libtheora-1.1.1/win32/xmingw32/libtheoraencd.rc +++ /dev/null @@ -1,3 +0,0 @@ -#define TH_ENC_INTERNAL_NAME "libtheoraencd" -#define _DEBUG (1) -#include "libtheoraenc-all.rc" -- cgit v1.2.3 From 9c1906d426f41a982ee4eb503605751ebb05fa1b Mon Sep 17 00:00:00 2001 From: Stephan Vedder Date: Tue, 10 May 2022 16:35:56 +0200 Subject: Remove theora usage from OG --- .github/workflows/build.yml | 4 +- COMPILING.md | 6 +-- Projects/CMakeLists.txt | 15 -------- Projects/TheoraPlayer/CMakeLists.txt | 17 -------- Source/Asset/Asset/animationeffect.cpp | 64 ++++++++++++++----------------- Source/Asset/Asset/animationeffect.h | 6 --- Source/Asset/assetmanager.cpp | 8 ++-- Source/Graphics/animationeffectsystem.cpp | 10 ----- Source/Graphics/animationeffectsystem.h | 4 -- Source/Graphics/particles.h | 1 - 10 files changed, 37 insertions(+), 98 deletions(-) delete mode 100644 Projects/TheoraPlayer/CMakeLists.txt diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 06bff27c..75997094 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,8 +28,8 @@ jobs: 'pkgconfig(gl)' 'pkgconfig(glu)' 'pkgconfig(sdl2)' 'pkgconfig(SDL2_net)' 'pkgconfig(gtk+-2.0)' 'pkgconfig(ogg)' 'pkgconfig(vorbis)' - freeimage-devel 'pkgconfig(openal)' 'pkgconfig(libjpeg)' - 'pkgconfig(theora)' 'pkgconfig(bzip2)' 'pkgconfig(freetype2)' + 'pkgconfig(openal)' 'pkgconfig(libjpeg)' + 'pkgconfig(bzip2)' 'pkgconfig(freetype2)' - uses: actions/checkout@v2 with: fetch-depth: 0 # Shallow clones speed things up diff --git a/COMPILING.md b/COMPILING.md index 87285974..118cb8ae 100644 --- a/COMPILING.md +++ b/COMPILING.md @@ -22,17 +22,17 @@ After that you may need to start XCode once before building the project, to ensu ## Generic Linux -You'll need a GCC compiler, OpenGL, CMake, SDL2, SDL2_net, GTK 2, Ogg, Vorbis, FreeImage, OpenAL, libjpeg, Theora, bzip2 and FreeType. +You'll need a GCC compiler, OpenGL, CMake, SDL2, SDL2_net, GTK 2, Ogg, Vorbis, FreeImage, OpenAL, libjpeg, bzip2 and FreeType. ## Fedora The following command should install all necessary dependencies to build Overgrowth. -```sudo dnf install gcc-c++ cmake make 'pkgconfig(gl)' 'pkgconfig(glu)' 'pkgconfig(sdl2)' 'pkgconfig(SDL2_net)' 'pkgconfig(gtk+-2.0)' 'pkgconfig(ogg)' 'pkgconfig(vorbis)' freeimage-devel 'pkgconfig(openal)' 'pkgconfig(libjpeg)' 'pkgconfig(theora)' 'pkgconfig(bzip2)' 'pkgconfig(freetype2)'``` +```sudo dnf install gcc-c++ cmake make 'pkgconfig(gl)' 'pkgconfig(glu)' 'pkgconfig(sdl2)' 'pkgconfig(SDL2_net)' 'pkgconfig(gtk+-2.0)' 'pkgconfig(ogg)' 'pkgconfig(vorbis)' 'pkgconfig(openal)' 'pkgconfig(libjpeg)' 'pkgconfig(bzip2)' 'pkgconfig(freetype2)'``` ## Ubuntu The following command should install all necessary dependencies to build Overgrowth. -```sudo apt install build-essential cmake mesa-common-dev libsdl2-dev libsdl2-net-dev libgtk2.0-dev libogg-dev libvorbis-dev libfreeimage-dev libopenal-dev libjpeg-dev libtheora-dev libbz2-dev libfreetype-dev``` +```sudo apt install build-essential cmake mesa-common-dev libsdl2-dev libsdl2-net-dev libgtk2.0-dev libogg-dev libvorbis-dev libopenal-dev libjpeg-dev libbz2-dev libfreetype-dev``` # How To Compile diff --git a/Projects/CMakeLists.txt b/Projects/CMakeLists.txt index 08d6a7dd..531b8e04 100644 --- a/Projects/CMakeLists.txt +++ b/Projects/CMakeLists.txt @@ -276,7 +276,6 @@ IF(BUILD_OVERGROWTH) ADD_SUBDIRECTORY(minizip minizip) ADD_SUBDIRECTORY(murmurhash3 murmurhash3) ADD_SUBDIRECTORY(binn binn) - ADD_SUBDIRECTORY(TheoraPlayer TheoraPlayer) ADD_SUBDIRECTORY(recastnavigation recastnavigation) # disable all demos SET(BUILD_DEMOS OFF CACHE BOOL "Set when you want to build the demos for underlying library") @@ -293,7 +292,6 @@ IF(BUILD_OVERGROWTH) SET_PROPERTY(TARGET angelscript PROPERTY FOLDER "Support/Angelscript") SET_PROPERTY(TARGET triangle PROPERTY FOLDER "Support") SET_PROPERTY(TARGET minizip PROPERTY FOLDER "Support") - SET_PROPERTY(TARGET TheoraPlayer PROPERTY FOLDER "Support") SET_PROPERTY(TARGET glad PROPERTY FOLDER "Support") SET_PROPERTY(TARGET BulletCollision PROPERTY FOLDER "Support/BulletPhysics") SET_PROPERTY(TARGET BulletDynamics PROPERTY FOLDER "Support/BulletPhysics") @@ -517,7 +515,6 @@ IF(WIN32) ${LIBDIR}/vorbis/lib/${WINDOWS_LIB_DIR} ${LIBDIR}/nvapi/${WINDOWS_LIB_DIR} ${LIBDIR}/zlib1.2.7/lib/${WINDOWS_LIB_DIR} - ${LIBDIR}/theora/lib/${WINDOWS_LIB_DIR} ${LIBDIR}/openvr-master/lib/win/${WINDOWS_LIB_DIR} ${LIBDIR}/breakpad/src/client/windows/lib/${WINDOWS_LIB_DIR} ${LIBDIR}/xinput/Lib/x86 @@ -536,7 +533,6 @@ IF(APPLE) LINK_DIRECTORIES( ${LIBDIR}/libogg-1.3.3/lib/mac64 ${LIBDIR}/libvorbis-1.3.6/lib/mac64 - ${LIBDIR}/libtheora-1.1.1/lib/mac64 ) IF(ENABLE_STEAMWORKS) @@ -606,7 +602,6 @@ INCLUDE_DIRECTORIES( ${LIBDIR}/recastnavigation/DetourCrowd/Include ${LIBDIR}/zstd-1.5.0/lib ${LIBDIR}/binn-3.0/src - ${LIBDIR}/TheoraPlayer/Source ${LIBDIR}/freetype-2.12.1/include ) @@ -653,7 +648,6 @@ if(WIN32) ${LIBDIR}/zlib1.2.7/include ${LIBDIR}/ogg/include ${LIBDIR}/vorbis/include - ${LIBDIR}/theora/include ${LIBDIR}/NvToolsExt/include ${SDL2_SOURCE_DIR}/include "${LIBDIR}/openal-soft-1.18.0-bin/include/AL" @@ -673,7 +667,6 @@ if(APPLE) #${LIBDIR}/../MacInterfaces/ ${LIBDIR}/libogg-1.3.3/include ${LIBDIR}/libvorbis-1.3.6/include - ${LIBDIR}/libtheora-1.1.1/include ${LIBDIR}/SDL2-2.0.20/SDL2.framework/Headers ${LIBDIR}/SDL2_net-2.0.1/SDL2_net.framework/Headers ${SDL2_SOURCE_DIR}/include @@ -1260,7 +1253,6 @@ IF(BUILD_OVERGROWTH) CopyDLL("${LIBDIR}/ogg/bin/${WINDOWS_LIB_DIR}/libogg.dll" "") CopyDLL("${LIBDIR}/vorbis/bin/${WINDOWS_LIB_DIR}/libvorbis.dll" "") CopyDLL("${LIBDIR}/vorbis/bin/${WINDOWS_LIB_DIR}/libvorbisfile.dll" "") - CopyDLL("${LIBDIR}/theora/bin/${WINDOWS_LIB_DIR}/libtheora.dll" "") CopyDLL("${LIBDIR}/zlib1.2.7/bin/${WINDOWS_LIB_DIR}/zlib1.dll" "zlib.dll") IF(ENABLE_RAD_TELEMETRY) #IF(CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebIn") @@ -1324,7 +1316,6 @@ IF(BUILD_OVERGROWTH) # SET_PROPERTY(TARGET game PROPERTY COMPILE_FLAGS "${EXTERNAL_LIB_COMPILE_FLAGS}") SET_PROPERTY(TARGET triangle PROPERTY COMPILE_FLAGS "${EXTERNAL_LIB_COMPILE_FLAGS}") SET_PROPERTY(TARGET minizip PROPERTY COMPILE_FLAGS "${EXTERNAL_LIB_COMPILE_FLAGS}") - SET_PROPERTY(TARGET TheoraPlayer PROPERTY COMPILE_FLAGS "${EXTERNAL_LIB_COMPILE_FLAGS}") SET_PROPERTY(TARGET glad PROPERTY COMPILE_FLAGS "${EXTERNAL_LIB_COMPILE_FLAGS}") SET_PROPERTY(TARGET trex PROPERTY COMPILE_FLAGS "${EXTERNAL_LIB_COMPILE_FLAGS}") SET_PROPERTY(TARGET BulletCollision PROPERTY COMPILE_FLAGS "${EXTERNAL_LIB_COMPILE_FLAGS}") @@ -1359,7 +1350,6 @@ IF(BUILD_OVERGROWTH) murmurhash3 binn glad - TheoraPlayer triangle angelscript imgui @@ -1388,8 +1378,6 @@ IF(BUILD_OVERGROWTH) libogg libvorbis libvorbisfile - libtheora - glu32 SDL2 SDL2main SDL2_net @@ -1420,9 +1408,7 @@ IF(BUILD_OVERGROWTH) vorbisfile vorbis ogg - theoradec GL - GLU pthread bz2 png @@ -1456,7 +1442,6 @@ IF(BUILD_OVERGROWTH) ogg vorbis vorbisfile - theoradec bz2 ) IF(ENABLE_STEAMWORKS) diff --git a/Projects/TheoraPlayer/CMakeLists.txt b/Projects/TheoraPlayer/CMakeLists.txt deleted file mode 100644 index 512dcdb9..00000000 --- a/Projects/TheoraPlayer/CMakeLists.txt +++ /dev/null @@ -1,17 +0,0 @@ -SET(LIBDIR "${CMAKE_SOURCE_DIR}/../Libraries") -SET(SRCDIR "${CMAKE_SOURCE_DIR}/../Libraries/TheoraPlayer/Source") - -INCLUDE_DIRECTORIES( - ${SRCDIR} - ${LIBDIR}/Linux/include - ${LIBDIR}/theora/include - ${LIBDIR}/ogg/include - ${LIBDIR}/vorbis/include -) - -FILE(GLOB THEORAPLAYER_SRCS - ${SRCDIR}/TheoraPlayer/*.cpp -) - -ADD_LIBRARY(TheoraPlayer STATIC ${THEORAPLAYER_SRCS}) - diff --git a/Source/Asset/Asset/animationeffect.cpp b/Source/Asset/Asset/animationeffect.cpp index 087f2aae..9469cbb5 100644 --- a/Source/Asset/Asset/animationeffect.cpp +++ b/Source/Asset/Asset/animationeffect.cpp @@ -28,10 +28,6 @@ #include #include -#include -#include -#include - #include #include @@ -137,9 +133,9 @@ bool AnimationEffectReader::valid() { void AnimationEffectReader::AttachTo(const AnimationEffectRef& _ae_ref) { ae_ref = _ae_ref; time = 0.0f; - if (clip) { - Dispose(); - } + // if (clip) { + // Dispose(); + // } use_theora = !ae_ref->video_path.empty(); } @@ -147,22 +143,22 @@ TextureRef& AnimationEffectReader::GetTextureAssetRef() { // int frame = (int)(time * ae_ref->frame_rate)%((int)ae_ref->frames.size()); // return ae_ref->frames[frame]; - if (!clip && use_theora) { - clip_mem = new TheoraMemoryFileDataSource(ae_ref->video_path); - TheoraVideoManager* mgr = Engine::Instance()->GetAnimationEffectSystem()->mgr; - clip = mgr->createVideoClip(clip_mem, TH_BGRA); - clip->setAutoRestart(0); - clip_tex = Textures::Instance()->makeTextureColor( - clip->getWidth(), clip->getHeight(), GL_RGBA, GL_RGBA, 0.0f, 0.0f, 0.0f, 0.0f, false); - Textures::Instance()->SetTextureName(clip_tex, "Animation Effect Clip"); - } - - TheoraVideoFrame* f = clip->getNextFrame(); - if (f) { - Textures::Instance()->bindTexture(clip_tex); - glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, clip->getWidth(), f->getHeight(), GL_BGRA, GL_UNSIGNED_BYTE, f->getBuffer()); - clip->popFrame(); - } + // if (!clip && use_theora) { + // clip_mem = new TheoraMemoryFileDataSource(ae_ref->video_path); + // TheoraVideoManager* mgr = Engine::Instance()->GetAnimationEffectSystem()->mgr; + // clip = mgr->createVideoClip(clip_mem, TH_BGRA); + // clip->setAutoRestart(0); + // clip_tex = Textures::Instance()->makeTextureColor( + // clip->getWidth(), clip->getHeight(), GL_RGBA, GL_RGBA, 0.0f, 0.0f, 0.0f, 0.0f, false); + // Textures::Instance()->SetTextureName(clip_tex, "Animation Effect Clip"); + // } + + // TheoraVideoFrame* f = clip->getNextFrame(); + // if (f) { + // Textures::Instance()->bindTexture(clip_tex); + // glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, clip->getWidth(), f->getHeight(), GL_BGRA, GL_UNSIGNED_BYTE, f->getBuffer()); + // clip->popFrame(); + // } return clip_tex; } @@ -170,32 +166,28 @@ AnimationEffectReader::~AnimationEffectReader() { Dispose(); } -AnimationEffectReader::AnimationEffectReader() : use_theora(false), - clip(NULL), - clip_mem(NULL) { +AnimationEffectReader::AnimationEffectReader() : use_theora(false) { } AnimationEffectReader::AnimationEffectReader(const AnimationEffectReader& other) { time = other.time; ae_ref = other.ae_ref; use_theora = other.use_theora; - clip = NULL; - clip_mem = NULL; } void AnimationEffectReader::Dispose() { if (use_theora) { - Engine::Instance()->GetAnimationEffectSystem()->mgr->destroyVideoClip(clip); - if (clip_mem) { - delete clip_mem; - clip_mem = NULL; - } + // Engine::Instance()->GetAnimationEffectSystem()->mgr->destroyVideoClip(clip); + // if (clip_mem) { + // delete clip_mem; + // clip_mem = NULL; + // } } } bool AnimationEffectReader::Done() { - if (clip) { - return clip->isDone(); - } + // if (clip) { + // return clip->isDone(); + // } return false; } diff --git a/Source/Asset/Asset/animationeffect.h b/Source/Asset/Asset/animationeffect.h index 88280843..24bcb43f 100644 --- a/Source/Asset/Asset/animationeffect.h +++ b/Source/Asset/Asset/animationeffect.h @@ -35,10 +35,6 @@ using std::string; using std::vector; -class TheoraVideoClip; -class TheoraMemoryFileDataSource; -class AssetManager; - class AnimationEffect : public Asset { public: string video_path; @@ -73,8 +69,6 @@ class AnimationEffectReader { float time; AnimationEffectRef ae_ref; bool use_theora; - TheoraVideoClip* clip; - TheoraMemoryFileDataSource* clip_mem; TextureRef clip_tex; public: diff --git a/Source/Asset/assetmanager.cpp b/Source/Asset/assetmanager.cpp index 1dd6bb6d..8e93714f 100644 --- a/Source/Asset/assetmanager.cpp +++ b/Source/Asset/assetmanager.cpp @@ -26,7 +26,6 @@ #include #include #include -#include #include #include #include @@ -245,9 +244,10 @@ void AssetManager::LoadSync(AssetType type, const std::string& str, uint32_t loa case VOICE_FILE_ASSET: LoadSync(str, load_flags, hold_load_mask); break; - case ANIMATION_EFFECT_ASSET: - LoadSync(str, load_flags, hold_load_mask); - break; + // TODO: readd and implement properly + // case ANIMATION_EFFECT_ASSET: + // LoadSync(str, load_flags, hold_load_mask); + // break; case SOUND_GROUP_INFO_ASSET: LoadSync(str, load_flags, hold_load_mask); break; diff --git a/Source/Graphics/animationeffectsystem.cpp b/Source/Graphics/animationeffectsystem.cpp index 87ae66d3..13bcf9ef 100644 --- a/Source/Graphics/animationeffectsystem.cpp +++ b/Source/Graphics/animationeffectsystem.cpp @@ -23,26 +23,16 @@ //----------------------------------------------------------------------------- #include "animationeffectsystem.h" -#include - #include AnimationEffectSystem::AnimationEffectSystem() { - mgr = new TheoraVideoManager(); } AnimationEffectSystem::~AnimationEffectSystem() { - if (mgr) - delete mgr; - mgr = NULL; } void AnimationEffectSystem::Update(float timestep) { - mgr->update(timestep); } void AnimationEffectSystem::Dispose() { - if (mgr) - delete mgr; - mgr = NULL; } diff --git a/Source/Graphics/animationeffectsystem.h b/Source/Graphics/animationeffectsystem.h index 90b42db6..f35e0a8a 100644 --- a/Source/Graphics/animationeffectsystem.h +++ b/Source/Graphics/animationeffectsystem.h @@ -23,12 +23,8 @@ //----------------------------------------------------------------------------- #pragma once -class TheoraVideoManager; - class AnimationEffectSystem { public: - TheoraVideoManager* mgr; - AnimationEffectSystem(); ~AnimationEffectSystem(); void Dispose(); diff --git a/Source/Graphics/particles.h b/Source/Graphics/particles.h index abbfb40c..a98a78cc 100644 --- a/Source/Graphics/particles.h +++ b/Source/Graphics/particles.h @@ -31,7 +31,6 @@ #include #include -#include #include #include -- cgit v1.2.3