diff options
author | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2012-04-18 20:53:24 +0000 |
---|---|---|
committer | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2012-04-18 20:53:24 +0000 |
commit | 9bc840d97697bc6445aab17368bad58d02018a2a (patch) | |
tree | 3e2ccb3473a5abdd4bb3eee5d11d49b5d6988403 | |
parent | e014db6853e12ce89c49f8fd469fd4a3d2b7110f (diff) | |
download | usdx-9bc840d97697bc6445aab17368bad58d02018a2a.tar.gz usdx-9bc840d97697bc6445aab17368bad58d02018a2a.tar.xz usdx-9bc840d97697bc6445aab17368bad58d02018a2a.zip |
Rename ffmpeg7 to ffmpeg-0.7
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2855 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | src/lib/ffmpeg-0.7/How to obtain the version of ffmpeg.txt | 1 | ||||
-rw-r--r-- | src/lib/ffmpeg-0.7/How to update the ffmpeg files.txt | 12 | ||||
-rw-r--r-- | src/lib/ffmpeg-0.7/ToDo.txt (renamed from src/lib/ffmpeg7/ToDo.txt) | 0 | ||||
-rw-r--r-- | src/lib/ffmpeg-0.7/avcodec.pas (renamed from src/lib/ffmpeg7/avcodec.pas) | 0 | ||||
-rw-r--r-- | src/lib/ffmpeg-0.7/avformat.pas (renamed from src/lib/ffmpeg7/avformat.pas) | 0 | ||||
-rw-r--r-- | src/lib/ffmpeg-0.7/avio.pas (renamed from src/lib/ffmpeg7/avio.pas) | 0 | ||||
-rw-r--r-- | src/lib/ffmpeg-0.7/avutil.pas (renamed from src/lib/ffmpeg7/avutil.pas) | 0 | ||||
-rw-r--r-- | src/lib/ffmpeg-0.7/libavcodec/audioconvert.pas (renamed from src/lib/ffmpeg7/libavcodec/audioconvert.pas) | 0 | ||||
-rw-r--r-- | src/lib/ffmpeg-0.7/libavutil/cpu.pas (renamed from src/lib/ffmpeg7/libavutil/cpu.pas) | 0 | ||||
-rw-r--r-- | src/lib/ffmpeg-0.7/libavutil/dict.pas (renamed from src/lib/ffmpeg7/libavutil/dict.pas) | 0 | ||||
-rw-r--r-- | src/lib/ffmpeg-0.7/libavutil/error.pas (renamed from src/lib/ffmpeg7/libavutil/error.pas) | 0 | ||||
-rw-r--r-- | src/lib/ffmpeg-0.7/libavutil/log.pas (renamed from src/lib/ffmpeg7/libavutil/log.pas) | 0 | ||||
-rw-r--r-- | src/lib/ffmpeg-0.7/libavutil/mathematics.pas (renamed from src/lib/ffmpeg7/libavutil/mathematics.pas) | 0 | ||||
-rw-r--r-- | src/lib/ffmpeg-0.7/libavutil/mem.pas (renamed from src/lib/ffmpeg7/libavutil/mem.pas) | 0 | ||||
-rw-r--r-- | src/lib/ffmpeg-0.7/libavutil/opt.pas (renamed from src/lib/ffmpeg7/libavutil/opt.pas) | 0 | ||||
-rw-r--r-- | src/lib/ffmpeg-0.7/libavutil/pixfmt.pas (renamed from src/lib/ffmpeg7/libavutil/pixfmt.pas) | 0 | ||||
-rw-r--r-- | src/lib/ffmpeg-0.7/libavutil/samplefmt.pas (renamed from src/lib/ffmpeg7/libavutil/samplefmt.pas) | 0 | ||||
-rw-r--r-- | src/lib/ffmpeg-0.7/rational.pas (renamed from src/lib/ffmpeg7/rational.pas) | 0 | ||||
-rw-r--r-- | src/lib/ffmpeg-0.7/swscale.pas (renamed from src/lib/ffmpeg7/swscale.pas) | 0 | ||||
-rw-r--r-- | src/lib/ffmpeg-0.7/test.h | 17 | ||||
-rw-r--r-- | src/lib/ffmpeg-0.7/test.pp | 48 |
21 files changed, 78 insertions, 0 deletions
diff --git a/src/lib/ffmpeg-0.7/How to obtain the version of ffmpeg.txt b/src/lib/ffmpeg-0.7/How to obtain the version of ffmpeg.txt new file mode 100644 index 00000000..bc3faf33 --- /dev/null +++ b/src/lib/ffmpeg-0.7/How to obtain the version of ffmpeg.txt @@ -0,0 +1 @@ +ffmpeg -version | grep ffmpeg |cut -f2 -d\
\ No newline at end of file diff --git a/src/lib/ffmpeg-0.7/How to update the ffmpeg files.txt b/src/lib/ffmpeg-0.7/How to update the ffmpeg files.txt new file mode 100644 index 00000000..976d0eff --- /dev/null +++ b/src/lib/ffmpeg-0.7/How to update the ffmpeg files.txt @@ -0,0 +1,12 @@ +how to update the ffmpeg files: + +1) rational.pas + error.pas +2) mathematics.pas + dict.pas + opt.pas +3) avutil.pas +4) avcodec.pas +5) avio.pas + swscale.pas +6) avformat.pas
\ No newline at end of file diff --git a/src/lib/ffmpeg7/ToDo.txt b/src/lib/ffmpeg-0.7/ToDo.txt index 3bb242db..3bb242db 100644 --- a/src/lib/ffmpeg7/ToDo.txt +++ b/src/lib/ffmpeg-0.7/ToDo.txt diff --git a/src/lib/ffmpeg7/avcodec.pas b/src/lib/ffmpeg-0.7/avcodec.pas index b2ed9fd2..b2ed9fd2 100644 --- a/src/lib/ffmpeg7/avcodec.pas +++ b/src/lib/ffmpeg-0.7/avcodec.pas diff --git a/src/lib/ffmpeg7/avformat.pas b/src/lib/ffmpeg-0.7/avformat.pas index 7c536b1b..7c536b1b 100644 --- a/src/lib/ffmpeg7/avformat.pas +++ b/src/lib/ffmpeg-0.7/avformat.pas diff --git a/src/lib/ffmpeg7/avio.pas b/src/lib/ffmpeg-0.7/avio.pas index 426f5f75..426f5f75 100644 --- a/src/lib/ffmpeg7/avio.pas +++ b/src/lib/ffmpeg-0.7/avio.pas diff --git a/src/lib/ffmpeg7/avutil.pas b/src/lib/ffmpeg-0.7/avutil.pas index 6dd0643f..6dd0643f 100644 --- a/src/lib/ffmpeg7/avutil.pas +++ b/src/lib/ffmpeg-0.7/avutil.pas diff --git a/src/lib/ffmpeg7/libavcodec/audioconvert.pas b/src/lib/ffmpeg-0.7/libavcodec/audioconvert.pas index f0c33e06..f0c33e06 100644 --- a/src/lib/ffmpeg7/libavcodec/audioconvert.pas +++ b/src/lib/ffmpeg-0.7/libavcodec/audioconvert.pas diff --git a/src/lib/ffmpeg7/libavutil/cpu.pas b/src/lib/ffmpeg-0.7/libavutil/cpu.pas index 56c04064..56c04064 100644 --- a/src/lib/ffmpeg7/libavutil/cpu.pas +++ b/src/lib/ffmpeg-0.7/libavutil/cpu.pas diff --git a/src/lib/ffmpeg7/libavutil/dict.pas b/src/lib/ffmpeg-0.7/libavutil/dict.pas index 6a924fd9..6a924fd9 100644 --- a/src/lib/ffmpeg7/libavutil/dict.pas +++ b/src/lib/ffmpeg-0.7/libavutil/dict.pas diff --git a/src/lib/ffmpeg7/libavutil/error.pas b/src/lib/ffmpeg-0.7/libavutil/error.pas index 382f40bf..382f40bf 100644 --- a/src/lib/ffmpeg7/libavutil/error.pas +++ b/src/lib/ffmpeg-0.7/libavutil/error.pas diff --git a/src/lib/ffmpeg7/libavutil/log.pas b/src/lib/ffmpeg-0.7/libavutil/log.pas index f2df66f0..f2df66f0 100644 --- a/src/lib/ffmpeg7/libavutil/log.pas +++ b/src/lib/ffmpeg-0.7/libavutil/log.pas diff --git a/src/lib/ffmpeg7/libavutil/mathematics.pas b/src/lib/ffmpeg-0.7/libavutil/mathematics.pas index 85c7a3ac..85c7a3ac 100644 --- a/src/lib/ffmpeg7/libavutil/mathematics.pas +++ b/src/lib/ffmpeg-0.7/libavutil/mathematics.pas diff --git a/src/lib/ffmpeg7/libavutil/mem.pas b/src/lib/ffmpeg-0.7/libavutil/mem.pas index b68dd310..b68dd310 100644 --- a/src/lib/ffmpeg7/libavutil/mem.pas +++ b/src/lib/ffmpeg-0.7/libavutil/mem.pas diff --git a/src/lib/ffmpeg7/libavutil/opt.pas b/src/lib/ffmpeg-0.7/libavutil/opt.pas index cea97763..cea97763 100644 --- a/src/lib/ffmpeg7/libavutil/opt.pas +++ b/src/lib/ffmpeg-0.7/libavutil/opt.pas diff --git a/src/lib/ffmpeg7/libavutil/pixfmt.pas b/src/lib/ffmpeg-0.7/libavutil/pixfmt.pas index 82288cbb..82288cbb 100644 --- a/src/lib/ffmpeg7/libavutil/pixfmt.pas +++ b/src/lib/ffmpeg-0.7/libavutil/pixfmt.pas diff --git a/src/lib/ffmpeg7/libavutil/samplefmt.pas b/src/lib/ffmpeg-0.7/libavutil/samplefmt.pas index 3335fa2d..3335fa2d 100644 --- a/src/lib/ffmpeg7/libavutil/samplefmt.pas +++ b/src/lib/ffmpeg-0.7/libavutil/samplefmt.pas diff --git a/src/lib/ffmpeg7/rational.pas b/src/lib/ffmpeg-0.7/rational.pas index 45ca8b87..45ca8b87 100644 --- a/src/lib/ffmpeg7/rational.pas +++ b/src/lib/ffmpeg-0.7/rational.pas diff --git a/src/lib/ffmpeg7/swscale.pas b/src/lib/ffmpeg-0.7/swscale.pas index 9806fc85..9806fc85 100644 --- a/src/lib/ffmpeg7/swscale.pas +++ b/src/lib/ffmpeg-0.7/swscale.pas diff --git a/src/lib/ffmpeg-0.7/test.h b/src/lib/ffmpeg-0.7/test.h new file mode 100644 index 00000000..6ea704f0 --- /dev/null +++ b/src/lib/ffmpeg-0.7/test.h @@ -0,0 +1,17 @@ +#include <stdint.h> +#include <limits.h> +#include "attributes.h" + +typedef struct AVRational{ + int num; ///< numerator + int den; ///< denominator +} AVRational; + +int av_cmp_q(AVRational a, AVRational b){ + int tmp; + + if(tmp) return ((tmp ^ a.den ^ b.den)>>63)|1; + else if(b.den && a.den) return 0; + else if(a.num && b.num) return (a.num>>31) - (b.num>>31); + else return INT_MIN; +} diff --git a/src/lib/ffmpeg-0.7/test.pp b/src/lib/ffmpeg-0.7/test.pp new file mode 100644 index 00000000..93ed8b46 --- /dev/null +++ b/src/lib/ffmpeg-0.7/test.pp @@ -0,0 +1,48 @@ + +unit test; +interface + +{ + Automatically converted by H2Pas 1.0.0 from test.h + The following command line parameters were used: + test.h +} + +{$IFDEF FPC} +{$PACKRECORDS C} +{$ENDIF} + + +{$include <stdint.h>} +{$include <limits.h>} +{$include "attributes.h"} + {/< numerator } + {/< denominator } + + type + AVRational = record + num : longint; + den : longint; + end; +(* error + int tmp; + in declarator_list *) +(* error + if(tmp) return ((tmp ^ a.den ^ b.den)>>63)|1; + in declarator_list *) +(* error + else if(b.den && a.den) return 0; + in declarator_list *) +(* error + else if(a.num && b.num) return (a.num>>31) - (b.num>>31); + in declarator_list *) +(* error + else return INT_MIN; + in declarator_list *) +(* error +} + +implementation + + +end. |