World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
tx.h
См. документацию.
1
/*
2
* This file is part of FFmpeg.
3
*
4
* FFmpeg is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2.1 of the License, or (at your option) any later version.
8
*
9
* FFmpeg is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with FFmpeg; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
*/
18
19
#ifndef AVUTIL_TX_H
20
#define AVUTIL_TX_H
21
22
#include <stdint.h>
23
#include <stddef.h>
24
25
typedef
struct
AVTXContext
AVTXContext
;
26
27
typedef
struct
AVComplexFloat
{
28
float
re
,
im
;
29
}
AVComplexFloat
;
30
31
enum
AVTXType
{
36
AV_TX_FLOAT_FFT
= 0,
41
AV_TX_FLOAT_MDCT
= 1,
42
};
43
56
typedef
void
(*
av_tx_fn
)(
AVTXContext
*
s
,
void
*out,
void
*
in
, ptrdiff_t
stride
);
57
73
int
av_tx_init
(
AVTXContext
**
ctx
,
av_tx_fn
*tx,
enum
AVTXType
type
,
74
int
inv,
int
len
,
const
void
*
scale
,
uint64_t
flags
);
75
79
void
av_tx_uninit
(
AVTXContext
**
ctx
);
80
81
#endif
/* AVUTIL_TX_H */
AVComplexFloat
struct AVComplexFloat AVComplexFloat
s
GLdouble s
Definition:
SDL_opengl.h:2063
scale
GLenum GLenum GLenum GLenum GLenum scale
Definition:
SDL_opengl_glext.h:9378
in
GLuint in
Definition:
SDL_opengl_glext.h:7943
av_tx_init
int av_tx_init(AVTXContext **ctx, av_tx_fn *tx, enum AVTXType type, int inv, int len, const void *scale, uint64_t flags)
uint64_t
unsigned __int64 uint64_t
Definition:
alext.h:32
AVTXContext
struct AVTXContext AVTXContext
Definition:
tx.h:25
av_tx_fn
void(* av_tx_fn)(AVTXContext *s, void *out, void *in, ptrdiff_t stride)
Definition:
tx.h:56
AV_TX_FLOAT_MDCT
@ AV_TX_FLOAT_MDCT
Definition:
tx.h:41
AV_TX_FLOAT_FFT
@ AV_TX_FLOAT_FFT
Definition:
tx.h:36
len
GLenum GLsizei len
Definition:
SDL_opengl_glext.h:2929
AVComplexFloat::re
float re
Definition:
tx.h:28
stride
EGLImageKHR EGLint EGLint EGLint * stride
Definition:
SDL_egl.h:1497
type
EGLenum type
Definition:
SDL_egl.h:850
ctx
EGLContext ctx
Definition:
SDL_egl.h:952
AVTXType
AVTXType
Definition:
tx.h:31
void
typedef void(SDLCALL *SDL_AudioFilter)(struct SDL_AudioCVT *cvt
av_tx_uninit
void av_tx_uninit(AVTXContext **ctx)
AVComplexFloat::im
float im
Definition:
tx.h:28
flags
EGLSyncKHR EGLint flags
Definition:
SDL_egl.h:898
AVComplexFloat
Definition:
tx.h:27
lib
win32
x86
ffmpeg-4.2.2
include
libavutil
tx.h
Документация по World of Might and Magic. Последние изменения: Вт 7 Апр 2020 22:03:40. Создано системой
1.8.17