react-native-audio-api 0.7.2 → 0.8.0-nightly-daaceff-20250902
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/RNAudioAPI.podspec +15 -6
- package/android/build.gradle +10 -1
- package/android/src/main/cpp/audioapi/CMakeLists.txt +21 -5
- package/android/src/main/jniLibs/arm64-v8a/libavcodec.so +0 -0
- package/android/src/main/jniLibs/arm64-v8a/libavformat.so +0 -0
- package/android/src/main/jniLibs/arm64-v8a/libavutil.so +0 -0
- package/android/src/main/jniLibs/arm64-v8a/libswresample.so +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/libavcodec.so +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/libavformat.so +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/libavutil.so +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/libswresample.so +0 -0
- package/android/src/main/jniLibs/x86/libavcodec.so +0 -0
- package/android/src/main/jniLibs/x86/libavformat.so +0 -0
- package/android/src/main/jniLibs/x86/libavutil.so +0 -0
- package/android/src/main/jniLibs/x86/libswresample.so +0 -0
- package/android/src/main/jniLibs/x86_64/libavcodec.so +0 -0
- package/android/src/main/jniLibs/x86_64/libavformat.so +0 -0
- package/android/src/main/jniLibs/x86_64/libavutil.so +0 -0
- package/android/src/main/jniLibs/x86_64/libswresample.so +0 -0
- package/common/cpp/audioapi/HostObjects/BaseAudioContextHostObject.h +11 -0
- package/common/cpp/audioapi/HostObjects/StreamerNodeHostObject.h +30 -0
- package/common/cpp/audioapi/core/BaseAudioContext.cpp +9 -0
- package/common/cpp/audioapi/core/BaseAudioContext.h +2 -0
- package/common/cpp/audioapi/core/sources/StreamerNode.cpp +299 -0
- package/common/cpp/audioapi/core/sources/StreamerNode.h +123 -0
- package/common/cpp/audioapi/external/arm64-v8a/libcrypto.a +0 -0
- package/common/cpp/audioapi/external/arm64-v8a/libssl.a +0 -0
- package/common/cpp/audioapi/external/armeabi-v7a/libcrypto.a +0 -0
- package/common/cpp/audioapi/external/armeabi-v7a/libssl.a +0 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/ac3_parser.h +36 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/adts_parser.h +37 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/avcodec.h +2947 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/avdct.h +88 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/bsf.h +332 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/codec.h +367 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/codec_desc.h +134 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/codec_id.h +681 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/codec_par.h +248 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/d3d11va.h +109 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/defs.h +359 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/dirac.h +135 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/dv_profile.h +82 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/dxva2.h +90 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/jni.h +67 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/mediacodec.h +103 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/packet.h +907 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/qsv.h +109 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/vdpau.h +138 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/version.h +45 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/version_major.h +55 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/videotoolbox.h +85 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavcodec/vorbis_parser.h +74 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavformat/avformat.h +3004 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavformat/avio.h +831 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavformat/version.h +47 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavformat/version_major.h +50 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/adler32.h +63 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/aes.h +69 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/aes_ctr.h +99 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/ambient_viewing_environment.h +72 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/attributes.h +175 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/audio_fifo.h +187 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/avassert.h +120 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/avconfig.h +6 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/avstring.h +428 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/avutil.h +364 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/base64.h +72 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/blowfish.h +82 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/bprint.h +254 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/bswap.h +105 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/buffer.h +322 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/camellia.h +70 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/cast5.h +80 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/channel_layout.h +762 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/common.h +589 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/container_fifo.h +130 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/cpu.h +150 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/crc.h +102 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/csp.h +192 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/des.h +81 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/detection_bbox.h +108 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/dict.h +242 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/display.h +109 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/dovi_meta.h +396 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/downmix_info.h +115 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/encryption_info.h +205 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/error.h +129 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/eval.h +140 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/executor.h +67 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/ffversion.h +5 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/fifo.h +242 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/file.h +62 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/film_grain_params.h +282 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/frame.h +1163 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/hash.h +264 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/hdr_dynamic_metadata.h +376 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/hdr_dynamic_vivid_metadata.h +292 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/hmac.h +99 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/hwcontext.h +601 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/hwcontext_amf.h +46 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/hwcontext_cuda.h +74 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/hwcontext_d3d11va.h +178 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/hwcontext_d3d12va.h +142 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/hwcontext_drm.h +169 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/hwcontext_dxva2.h +75 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/hwcontext_mediacodec.h +61 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/hwcontext_oh.h +34 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/hwcontext_opencl.h +100 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/hwcontext_qsv.h +87 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/hwcontext_vaapi.h +117 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/hwcontext_vdpau.h +44 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/hwcontext_videotoolbox.h +106 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/hwcontext_vulkan.h +377 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/iamf.h +694 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/imgutils.h +377 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/intfloat.h +77 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/intreadwrite.h +677 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/lfg.h +81 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/log.h +427 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/lzo.h +66 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/macros.h +80 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/mastering_display_metadata.h +137 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/mathematics.h +300 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/md5.h +89 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/mem.h +607 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/motion_vector.h +57 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/murmur3.h +115 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/opt.h +1194 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/parseutils.h +197 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/pixdesc.h +440 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/pixelutils.h +51 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/pixfmt.h +797 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/random_seed.h +57 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/rational.h +225 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/rc4.h +69 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/refstruct.h +297 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/replaygain.h +50 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/ripemd.h +83 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/samplefmt.h +269 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/sha.h +90 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/sha512.h +92 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/spherical.h +243 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/stereo3d.h +325 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/tdrdi.h +164 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/tea.h +71 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/threadmessage.h +115 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/timecode.h +199 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/timestamp.h +85 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/tree.h +137 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/twofish.h +70 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/tx.h +210 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/uuid.h +146 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/version.h +119 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/video_enc_params.h +171 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/video_hint.h +107 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libavutil/xtea.h +94 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libswresample/swresample.h +587 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libswresample/version.h +46 -0
- package/common/cpp/audioapi/external/ffmpeg_include/libswresample/version_major.h +31 -0
- package/common/cpp/audioapi/external/libavcodec.xcframework/Info.plist +44 -0
- package/common/cpp/audioapi/external/libavcodec.xcframework/ios-arm64/libavcodec.framework/Info.plist +1 -0
- package/common/cpp/audioapi/external/libavcodec.xcframework/ios-arm64/libavcodec.framework/libavcodec +0 -0
- package/common/cpp/audioapi/external/libavcodec.xcframework/ios-arm64_x86_64-simulator/libavcodec.framework/Info.plist +1 -0
- package/common/cpp/audioapi/external/libavcodec.xcframework/ios-arm64_x86_64-simulator/libavcodec.framework/libavcodec +0 -0
- package/common/cpp/audioapi/external/libavcodec.xcframework/ios-arm64_x86_64-simulator/libavcodec.framework/libavcodec.framework/Info.plist +1 -0
- package/common/cpp/audioapi/external/libavcodec.xcframework/ios-arm64_x86_64-simulator/libavcodec.framework/libavcodec.framework/libavcodec +0 -0
- package/common/cpp/audioapi/external/libavformat.xcframework/Info.plist +44 -0
- package/common/cpp/audioapi/external/libavformat.xcframework/ios-arm64/libavformat.framework/Info.plist +1 -0
- package/common/cpp/audioapi/external/libavformat.xcframework/ios-arm64/libavformat.framework/libavformat +0 -0
- package/common/cpp/audioapi/external/libavformat.xcframework/ios-arm64_x86_64-simulator/libavformat.framework/Info.plist +1 -0
- package/common/cpp/audioapi/external/libavformat.xcframework/ios-arm64_x86_64-simulator/libavformat.framework/libavformat +0 -0
- package/common/cpp/audioapi/external/libavutil.xcframework/Info.plist +44 -0
- package/common/cpp/audioapi/external/libavutil.xcframework/ios-arm64/libavutil.framework/Info.plist +1 -0
- package/common/cpp/audioapi/external/libavutil.xcframework/ios-arm64/libavutil.framework/libavutil +0 -0
- package/common/cpp/audioapi/external/libavutil.xcframework/ios-arm64_x86_64-simulator/libavutil.framework/Info.plist +1 -0
- package/common/cpp/audioapi/external/libavutil.xcframework/ios-arm64_x86_64-simulator/libavutil.framework/libavutil +0 -0
- package/common/cpp/audioapi/external/libswresample.xcframework/Info.plist +44 -0
- package/common/cpp/audioapi/external/libswresample.xcframework/ios-arm64/libswresample.framework/Info.plist +1 -0
- package/common/cpp/audioapi/external/libswresample.xcframework/ios-arm64/libswresample.framework/libswresample +0 -0
- package/common/cpp/audioapi/external/libswresample.xcframework/ios-arm64_x86_64-simulator/libswresample.framework/Info.plist +1 -0
- package/common/cpp/audioapi/external/libswresample.xcframework/ios-arm64_x86_64-simulator/libswresample.framework/libswresample +0 -0
- package/common/cpp/audioapi/external/x86/libcrypto.a +0 -0
- package/common/cpp/audioapi/external/x86/libssl.a +0 -0
- package/common/cpp/audioapi/external/x86_64/libcrypto.a +0 -0
- package/common/cpp/audioapi/external/x86_64/libssl.a +0 -0
- package/common/cpp/audioapi/libs/ffmpeg/INSTRUCTIONS.md +26 -0
- package/common/cpp/audioapi/libs/ffmpeg/create_xcframework.sh +111 -0
- package/common/cpp/audioapi/libs/ffmpeg/ffmpeg_setup.sh +360 -0
- package/common/cpp/test/CMakeLists.txt +5 -1
- package/lib/commonjs/api.js +7 -0
- package/lib/commonjs/api.js.map +1 -1
- package/lib/commonjs/core/BaseAudioContext.js +4 -0
- package/lib/commonjs/core/BaseAudioContext.js.map +1 -1
- package/lib/commonjs/core/StreamerNode.js +15 -0
- package/lib/commonjs/core/StreamerNode.js.map +1 -0
- package/lib/module/api.js +1 -0
- package/lib/module/api.js.map +1 -1
- package/lib/module/core/BaseAudioContext.js +4 -0
- package/lib/module/core/BaseAudioContext.js.map +1 -1
- package/lib/module/core/StreamerNode.js +9 -0
- package/lib/module/core/StreamerNode.js.map +1 -0
- package/lib/typescript/api.d.ts +1 -0
- package/lib/typescript/api.d.ts.map +1 -1
- package/lib/typescript/core/BaseAudioContext.d.ts +2 -0
- package/lib/typescript/core/BaseAudioContext.d.ts.map +1 -1
- package/lib/typescript/core/StreamerNode.d.ts +5 -0
- package/lib/typescript/core/StreamerNode.d.ts.map +1 -0
- package/lib/typescript/interfaces.d.ts +4 -0
- package/lib/typescript/interfaces.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/api.ts +1 -0
- package/src/core/BaseAudioContext.ts +5 -0
- package/src/core/StreamerNode.ts +8 -0
- package/src/interfaces.ts +5 -0
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016 Vittorio Giovara <vittorio.giovara@gmail.com>
|
|
3
|
+
*
|
|
4
|
+
* This file is part of FFmpeg.
|
|
5
|
+
*
|
|
6
|
+
* FFmpeg is free software; you can redistribute it and/or
|
|
7
|
+
* modify it under the terms of the GNU Lesser General Public
|
|
8
|
+
* License as published by the Free Software Foundation; either
|
|
9
|
+
* version 2.1 of the License, or (at your option) any later version.
|
|
10
|
+
*
|
|
11
|
+
* FFmpeg is distributed in the hope that it will be useful,
|
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
14
|
+
* Lesser General Public License for more details.
|
|
15
|
+
*
|
|
16
|
+
* You should have received a copy of the GNU Lesser General Public
|
|
17
|
+
* License along with FFmpeg; if not, write to the Free Software
|
|
18
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @file
|
|
23
|
+
* @ingroup lavu_video_spherical
|
|
24
|
+
* Spherical video
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
#ifndef AVUTIL_SPHERICAL_H
|
|
28
|
+
#define AVUTIL_SPHERICAL_H
|
|
29
|
+
|
|
30
|
+
#include <stddef.h>
|
|
31
|
+
#include <stdint.h>
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @defgroup lavu_video_spherical Spherical video mapping
|
|
35
|
+
* @ingroup lavu_video
|
|
36
|
+
*
|
|
37
|
+
* A spherical video file contains surfaces that need to be mapped onto a
|
|
38
|
+
* sphere. Depending on how the frame was converted, a different distortion
|
|
39
|
+
* transformation or surface recomposition function needs to be applied before
|
|
40
|
+
* the video should be mapped and displayed.
|
|
41
|
+
* @{
|
|
42
|
+
*/
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Projection of the video surface(s) on a sphere.
|
|
46
|
+
*/
|
|
47
|
+
enum AVSphericalProjection {
|
|
48
|
+
/**
|
|
49
|
+
* Video represents a sphere mapped on a flat surface using
|
|
50
|
+
* equirectangular projection.
|
|
51
|
+
*/
|
|
52
|
+
AV_SPHERICAL_EQUIRECTANGULAR,
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Video frame is split into 6 faces of a cube, and arranged on a
|
|
56
|
+
* 3x2 layout. Faces are oriented upwards for the front, left, right,
|
|
57
|
+
* and back faces. The up face is oriented so the top of the face is
|
|
58
|
+
* forwards and the down face is oriented so the top of the face is
|
|
59
|
+
* to the back.
|
|
60
|
+
*/
|
|
61
|
+
AV_SPHERICAL_CUBEMAP,
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Video represents a portion of a sphere mapped on a flat surface
|
|
65
|
+
* using equirectangular projection. The @ref bounding fields indicate
|
|
66
|
+
* the position of the current video in a larger surface.
|
|
67
|
+
*/
|
|
68
|
+
AV_SPHERICAL_EQUIRECTANGULAR_TILE,
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Video frame displays as a 180 degree equirectangular projection.
|
|
72
|
+
*/
|
|
73
|
+
AV_SPHERICAL_HALF_EQUIRECTANGULAR,
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Video frame displays on a flat, rectangular 2D surface.
|
|
77
|
+
*/
|
|
78
|
+
AV_SPHERICAL_RECTILINEAR,
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Fisheye projection (Apple).
|
|
82
|
+
* See: https://developer.apple.com/documentation/coremedia/cmprojectiontype/fisheye
|
|
83
|
+
*/
|
|
84
|
+
AV_SPHERICAL_FISHEYE,
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* This structure describes how to handle spherical videos, outlining
|
|
89
|
+
* information about projection, initial layout, and any other view modifier.
|
|
90
|
+
*
|
|
91
|
+
* @note The struct must be allocated with av_spherical_alloc() and
|
|
92
|
+
* its size is not a part of the public ABI.
|
|
93
|
+
*/
|
|
94
|
+
typedef struct AVSphericalMapping {
|
|
95
|
+
/**
|
|
96
|
+
* Projection type.
|
|
97
|
+
*/
|
|
98
|
+
enum AVSphericalProjection projection;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* @name Initial orientation
|
|
102
|
+
* @{
|
|
103
|
+
* There fields describe additional rotations applied to the sphere after
|
|
104
|
+
* the video frame is mapped onto it. The sphere is rotated around the
|
|
105
|
+
* viewer, who remains stationary. The order of transformation is always
|
|
106
|
+
* yaw, followed by pitch, and finally by roll.
|
|
107
|
+
*
|
|
108
|
+
* The coordinate system matches the one defined in OpenGL, where the
|
|
109
|
+
* forward vector (z) is coming out of screen, and it is equivalent to
|
|
110
|
+
* a rotation matrix of R = r_y(yaw) * r_x(pitch) * r_z(roll).
|
|
111
|
+
*
|
|
112
|
+
* A positive yaw rotates the portion of the sphere in front of the viewer
|
|
113
|
+
* toward their right. A positive pitch rotates the portion of the sphere
|
|
114
|
+
* in front of the viewer upwards. A positive roll tilts the portion of
|
|
115
|
+
* the sphere in front of the viewer to the viewer's right.
|
|
116
|
+
*
|
|
117
|
+
* These values are exported as 16.16 fixed point.
|
|
118
|
+
*
|
|
119
|
+
* See this equirectangular projection as example:
|
|
120
|
+
*
|
|
121
|
+
* @code{.unparsed}
|
|
122
|
+
* Yaw
|
|
123
|
+
* -180 0 180
|
|
124
|
+
* 90 +-------------+-------------+ 180
|
|
125
|
+
* | | | up
|
|
126
|
+
* P | | | y| forward
|
|
127
|
+
* i | ^ | | /z
|
|
128
|
+
* t 0 +-------------X-------------+ 0 Roll | /
|
|
129
|
+
* c | | | | /
|
|
130
|
+
* h | | | 0|/_____right
|
|
131
|
+
* | | | x
|
|
132
|
+
* -90 +-------------+-------------+ -180
|
|
133
|
+
*
|
|
134
|
+
* X - the default camera center
|
|
135
|
+
* ^ - the default up vector
|
|
136
|
+
* @endcode
|
|
137
|
+
*/
|
|
138
|
+
int32_t yaw; ///< Rotation around the up vector [-180, 180].
|
|
139
|
+
int32_t pitch; ///< Rotation around the right vector [-90, 90].
|
|
140
|
+
int32_t roll; ///< Rotation around the forward vector [-180, 180].
|
|
141
|
+
/**
|
|
142
|
+
* @}
|
|
143
|
+
*/
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @name Bounding rectangle
|
|
147
|
+
* @anchor bounding
|
|
148
|
+
* @{
|
|
149
|
+
* These fields indicate the location of the current tile, and where
|
|
150
|
+
* it should be mapped relative to the original surface. They are
|
|
151
|
+
* exported as 0.32 fixed point, and can be converted to classic
|
|
152
|
+
* pixel values with av_spherical_bounds().
|
|
153
|
+
*
|
|
154
|
+
* @code{.unparsed}
|
|
155
|
+
* +----------------+----------+
|
|
156
|
+
* | |bound_top |
|
|
157
|
+
* | +--------+ |
|
|
158
|
+
* | bound_left |tile | |
|
|
159
|
+
* +<---------->| |<--->+bound_right
|
|
160
|
+
* | +--------+ |
|
|
161
|
+
* | | |
|
|
162
|
+
* | bound_bottom| |
|
|
163
|
+
* +----------------+----------+
|
|
164
|
+
* @endcode
|
|
165
|
+
*
|
|
166
|
+
* If needed, the original video surface dimensions can be derived
|
|
167
|
+
* by adding the current stream or frame size to the related bounds,
|
|
168
|
+
* like in the following example:
|
|
169
|
+
*
|
|
170
|
+
* @code{c}
|
|
171
|
+
* original_width = tile->width + bound_left + bound_right;
|
|
172
|
+
* original_height = tile->height + bound_top + bound_bottom;
|
|
173
|
+
* @endcode
|
|
174
|
+
*
|
|
175
|
+
* @note These values are valid only for the tiled equirectangular
|
|
176
|
+
* projection type (@ref AV_SPHERICAL_EQUIRECTANGULAR_TILE),
|
|
177
|
+
* and should be ignored in all other cases.
|
|
178
|
+
*/
|
|
179
|
+
uint32_t bound_left; ///< Distance from the left edge
|
|
180
|
+
uint32_t bound_top; ///< Distance from the top edge
|
|
181
|
+
uint32_t bound_right; ///< Distance from the right edge
|
|
182
|
+
uint32_t bound_bottom; ///< Distance from the bottom edge
|
|
183
|
+
/**
|
|
184
|
+
* @}
|
|
185
|
+
*/
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Number of pixels to pad from the edge of each cube face.
|
|
189
|
+
*
|
|
190
|
+
* @note This value is valid for only for the cubemap projection type
|
|
191
|
+
* (@ref AV_SPHERICAL_CUBEMAP), and should be ignored in all other
|
|
192
|
+
* cases.
|
|
193
|
+
*/
|
|
194
|
+
uint32_t padding;
|
|
195
|
+
} AVSphericalMapping;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Allocate a AVSphericalVideo structure and initialize its fields to default
|
|
199
|
+
* values.
|
|
200
|
+
*
|
|
201
|
+
* @return the newly allocated struct or NULL on failure
|
|
202
|
+
*/
|
|
203
|
+
AVSphericalMapping *av_spherical_alloc(size_t *size);
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Convert the @ref bounding fields from an AVSphericalVideo
|
|
207
|
+
* from 0.32 fixed point to pixels.
|
|
208
|
+
*
|
|
209
|
+
* @param map The AVSphericalVideo map to read bound values from.
|
|
210
|
+
* @param width Width of the current frame or stream.
|
|
211
|
+
* @param height Height of the current frame or stream.
|
|
212
|
+
* @param left Pixels from the left edge.
|
|
213
|
+
* @param top Pixels from the top edge.
|
|
214
|
+
* @param right Pixels from the right edge.
|
|
215
|
+
* @param bottom Pixels from the bottom edge.
|
|
216
|
+
*/
|
|
217
|
+
void av_spherical_tile_bounds(const AVSphericalMapping *map,
|
|
218
|
+
size_t width, size_t height,
|
|
219
|
+
size_t *left, size_t *top,
|
|
220
|
+
size_t *right, size_t *bottom);
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Provide a human-readable name of a given AVSphericalProjection.
|
|
224
|
+
*
|
|
225
|
+
* @param projection The input AVSphericalProjection.
|
|
226
|
+
*
|
|
227
|
+
* @return The name of the AVSphericalProjection, or "unknown".
|
|
228
|
+
*/
|
|
229
|
+
const char *av_spherical_projection_name(enum AVSphericalProjection projection);
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Get the AVSphericalProjection form a human-readable name.
|
|
233
|
+
*
|
|
234
|
+
* @param name The input string.
|
|
235
|
+
*
|
|
236
|
+
* @return The AVSphericalProjection value, or -1 if not found.
|
|
237
|
+
*/
|
|
238
|
+
int av_spherical_from_name(const char *name);
|
|
239
|
+
/**
|
|
240
|
+
* @}
|
|
241
|
+
*/
|
|
242
|
+
|
|
243
|
+
#endif /* AVUTIL_SPHERICAL_H */
|
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2013 Vittorio Giovara <vittorio.giovara@gmail.com>
|
|
3
|
+
*
|
|
4
|
+
* This file is part of FFmpeg.
|
|
5
|
+
*
|
|
6
|
+
* FFmpeg is free software; you can redistribute it and/or
|
|
7
|
+
* modify it under the terms of the GNU Lesser General Public
|
|
8
|
+
* License as published by the Free Software Foundation; either
|
|
9
|
+
* version 2.1 of the License, or (at your option) any later version.
|
|
10
|
+
*
|
|
11
|
+
* FFmpeg is distributed in the hope that it will be useful,
|
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
14
|
+
* Lesser General Public License for more details.
|
|
15
|
+
*
|
|
16
|
+
* You should have received a copy of the GNU Lesser General Public
|
|
17
|
+
* License along with FFmpeg; if not, write to the Free Software
|
|
18
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @file
|
|
23
|
+
* @ingroup lavu_video_stereo3d
|
|
24
|
+
* Stereoscopic video
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
#ifndef AVUTIL_STEREO3D_H
|
|
28
|
+
#define AVUTIL_STEREO3D_H
|
|
29
|
+
|
|
30
|
+
#include <stdint.h>
|
|
31
|
+
|
|
32
|
+
#include "frame.h"
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @defgroup lavu_video_stereo3d Stereo3D types and functions
|
|
36
|
+
* @ingroup lavu_video
|
|
37
|
+
*
|
|
38
|
+
* A stereoscopic video file consists in multiple views embedded in a single
|
|
39
|
+
* frame, usually describing two views of a scene. This file describes all
|
|
40
|
+
* possible codec-independent view arrangements.
|
|
41
|
+
*
|
|
42
|
+
* @{
|
|
43
|
+
*/
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* List of possible 3D Types
|
|
47
|
+
*/
|
|
48
|
+
enum AVStereo3DType {
|
|
49
|
+
/**
|
|
50
|
+
* Video is not stereoscopic (and metadata has to be there).
|
|
51
|
+
*/
|
|
52
|
+
AV_STEREO3D_2D,
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Views are next to each other.
|
|
56
|
+
*
|
|
57
|
+
* @code{.unparsed}
|
|
58
|
+
* LLLLRRRR
|
|
59
|
+
* LLLLRRRR
|
|
60
|
+
* LLLLRRRR
|
|
61
|
+
* ...
|
|
62
|
+
* @endcode
|
|
63
|
+
*/
|
|
64
|
+
AV_STEREO3D_SIDEBYSIDE,
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Views are on top of each other.
|
|
68
|
+
*
|
|
69
|
+
* @code{.unparsed}
|
|
70
|
+
* LLLLLLLL
|
|
71
|
+
* LLLLLLLL
|
|
72
|
+
* RRRRRRRR
|
|
73
|
+
* RRRRRRRR
|
|
74
|
+
* @endcode
|
|
75
|
+
*/
|
|
76
|
+
AV_STEREO3D_TOPBOTTOM,
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Views are alternated temporally.
|
|
80
|
+
*
|
|
81
|
+
* @code{.unparsed}
|
|
82
|
+
* frame0 frame1 frame2 ...
|
|
83
|
+
* LLLLLLLL RRRRRRRR LLLLLLLL
|
|
84
|
+
* LLLLLLLL RRRRRRRR LLLLLLLL
|
|
85
|
+
* LLLLLLLL RRRRRRRR LLLLLLLL
|
|
86
|
+
* ... ... ...
|
|
87
|
+
* @endcode
|
|
88
|
+
*/
|
|
89
|
+
AV_STEREO3D_FRAMESEQUENCE,
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Views are packed in a checkerboard-like structure per pixel.
|
|
93
|
+
*
|
|
94
|
+
* @code{.unparsed}
|
|
95
|
+
* LRLRLRLR
|
|
96
|
+
* RLRLRLRL
|
|
97
|
+
* LRLRLRLR
|
|
98
|
+
* ...
|
|
99
|
+
* @endcode
|
|
100
|
+
*/
|
|
101
|
+
AV_STEREO3D_CHECKERBOARD,
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Views are next to each other, but when upscaling
|
|
105
|
+
* apply a checkerboard pattern.
|
|
106
|
+
*
|
|
107
|
+
* @code{.unparsed}
|
|
108
|
+
* LLLLRRRR L L L L R R R R
|
|
109
|
+
* LLLLRRRR => L L L L R R R R
|
|
110
|
+
* LLLLRRRR L L L L R R R R
|
|
111
|
+
* LLLLRRRR L L L L R R R R
|
|
112
|
+
* @endcode
|
|
113
|
+
*/
|
|
114
|
+
AV_STEREO3D_SIDEBYSIDE_QUINCUNX,
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Views are packed per line, as if interlaced.
|
|
118
|
+
*
|
|
119
|
+
* @code{.unparsed}
|
|
120
|
+
* LLLLLLLL
|
|
121
|
+
* RRRRRRRR
|
|
122
|
+
* LLLLLLLL
|
|
123
|
+
* ...
|
|
124
|
+
* @endcode
|
|
125
|
+
*/
|
|
126
|
+
AV_STEREO3D_LINES,
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Views are packed per column.
|
|
130
|
+
*
|
|
131
|
+
* @code{.unparsed}
|
|
132
|
+
* LRLRLRLR
|
|
133
|
+
* LRLRLRLR
|
|
134
|
+
* LRLRLRLR
|
|
135
|
+
* ...
|
|
136
|
+
* @endcode
|
|
137
|
+
*/
|
|
138
|
+
AV_STEREO3D_COLUMNS,
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Video is stereoscopic but the packing is unspecified.
|
|
142
|
+
*/
|
|
143
|
+
AV_STEREO3D_UNSPEC,
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* List of possible view types.
|
|
148
|
+
*/
|
|
149
|
+
enum AVStereo3DView {
|
|
150
|
+
/**
|
|
151
|
+
* Frame contains two packed views.
|
|
152
|
+
*/
|
|
153
|
+
AV_STEREO3D_VIEW_PACKED,
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Frame contains only the left view.
|
|
157
|
+
*/
|
|
158
|
+
AV_STEREO3D_VIEW_LEFT,
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Frame contains only the right view.
|
|
162
|
+
*/
|
|
163
|
+
AV_STEREO3D_VIEW_RIGHT,
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Content is unspecified.
|
|
167
|
+
*/
|
|
168
|
+
AV_STEREO3D_VIEW_UNSPEC,
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* List of possible primary eyes.
|
|
173
|
+
*/
|
|
174
|
+
enum AVStereo3DPrimaryEye {
|
|
175
|
+
/**
|
|
176
|
+
* Neither eye.
|
|
177
|
+
*/
|
|
178
|
+
AV_PRIMARY_EYE_NONE,
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Left eye.
|
|
182
|
+
*/
|
|
183
|
+
AV_PRIMARY_EYE_LEFT,
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Right eye
|
|
187
|
+
*/
|
|
188
|
+
AV_PRIMARY_EYE_RIGHT,
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Inverted views, Right/Bottom represents the left view.
|
|
193
|
+
*/
|
|
194
|
+
#define AV_STEREO3D_FLAG_INVERT (1 << 0)
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Stereo 3D type: this structure describes how two videos are packed
|
|
198
|
+
* within a single video surface, with additional information as needed.
|
|
199
|
+
*
|
|
200
|
+
* @note The struct must be allocated with av_stereo3d_alloc() and
|
|
201
|
+
* its size is not a part of the public ABI.
|
|
202
|
+
*/
|
|
203
|
+
typedef struct AVStereo3D {
|
|
204
|
+
/**
|
|
205
|
+
* How views are packed within the video.
|
|
206
|
+
*/
|
|
207
|
+
enum AVStereo3DType type;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Additional information about the frame packing.
|
|
211
|
+
*/
|
|
212
|
+
int flags;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Determines which views are packed.
|
|
216
|
+
*/
|
|
217
|
+
enum AVStereo3DView view;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Which eye is the primary eye when rendering in 2D.
|
|
221
|
+
*/
|
|
222
|
+
enum AVStereo3DPrimaryEye primary_eye;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* The distance between the centres of the lenses of the camera system,
|
|
226
|
+
* in micrometers. Zero if unset.
|
|
227
|
+
*/
|
|
228
|
+
uint32_t baseline;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Relative shift of the left and right images, which changes the zero parallax plane.
|
|
232
|
+
* Range is -1.0 to 1.0. Zero if unset.
|
|
233
|
+
*/
|
|
234
|
+
AVRational horizontal_disparity_adjustment;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Horizontal field of view, in degrees. Zero if unset.
|
|
238
|
+
*/
|
|
239
|
+
AVRational horizontal_field_of_view;
|
|
240
|
+
} AVStereo3D;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Allocate an AVStereo3D structure and set its fields to default values.
|
|
244
|
+
* The resulting struct can be freed using av_freep().
|
|
245
|
+
*
|
|
246
|
+
* @return An AVStereo3D filled with default values or NULL on failure.
|
|
247
|
+
*/
|
|
248
|
+
AVStereo3D *av_stereo3d_alloc(void);
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* Allocate an AVStereo3D structure and set its fields to default values.
|
|
252
|
+
* The resulting struct can be freed using av_freep().
|
|
253
|
+
*
|
|
254
|
+
* @return An AVStereo3D filled with default values or NULL on failure.
|
|
255
|
+
*/
|
|
256
|
+
AVStereo3D *av_stereo3d_alloc_size(size_t *size);
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Allocate a complete AVFrameSideData and add it to the frame.
|
|
260
|
+
*
|
|
261
|
+
* @param frame The frame which side data is added to.
|
|
262
|
+
*
|
|
263
|
+
* @return The AVStereo3D structure to be filled by caller.
|
|
264
|
+
*/
|
|
265
|
+
AVStereo3D *av_stereo3d_create_side_data(AVFrame *frame);
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Provide a human-readable name of a given stereo3d type.
|
|
269
|
+
*
|
|
270
|
+
* @param type The input stereo3d type value.
|
|
271
|
+
*
|
|
272
|
+
* @return The name of the stereo3d value, or "unknown".
|
|
273
|
+
*/
|
|
274
|
+
const char *av_stereo3d_type_name(unsigned int type);
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Get the AVStereo3DType form a human-readable name.
|
|
278
|
+
*
|
|
279
|
+
* @param name The input string.
|
|
280
|
+
*
|
|
281
|
+
* @return The AVStereo3DType value, or -1 if not found.
|
|
282
|
+
*/
|
|
283
|
+
int av_stereo3d_from_name(const char *name);
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* Provide a human-readable name of a given stereo3d view.
|
|
287
|
+
*
|
|
288
|
+
* @param type The input stereo3d view value.
|
|
289
|
+
*
|
|
290
|
+
* @return The name of the stereo3d view value, or "unknown".
|
|
291
|
+
*/
|
|
292
|
+
const char *av_stereo3d_view_name(unsigned int view);
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Get the AVStereo3DView form a human-readable name.
|
|
296
|
+
*
|
|
297
|
+
* @param name The input string.
|
|
298
|
+
*
|
|
299
|
+
* @return The AVStereo3DView value, or -1 if not found.
|
|
300
|
+
*/
|
|
301
|
+
int av_stereo3d_view_from_name(const char *name);
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Provide a human-readable name of a given stereo3d primary eye.
|
|
305
|
+
*
|
|
306
|
+
* @param type The input stereo3d primary eye value.
|
|
307
|
+
*
|
|
308
|
+
* @return The name of the stereo3d primary eye value, or "unknown".
|
|
309
|
+
*/
|
|
310
|
+
const char *av_stereo3d_primary_eye_name(unsigned int eye);
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Get the AVStereo3DPrimaryEye form a human-readable name.
|
|
314
|
+
*
|
|
315
|
+
* @param name The input string.
|
|
316
|
+
*
|
|
317
|
+
* @return The AVStereo3DPrimaryEye value, or -1 if not found.
|
|
318
|
+
*/
|
|
319
|
+
int av_stereo3d_primary_eye_from_name(const char *name);
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* @}
|
|
323
|
+
*/
|
|
324
|
+
|
|
325
|
+
#endif /* AVUTIL_STEREO3D_H */
|