World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
avdct.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 AVCODEC_AVDCT_H
20 #define AVCODEC_AVDCT_H
21 
22 #include "libavutil/opt.h"
23 
29 typedef struct AVDCT {
30  const AVClass *av_class;
31 
32  void (*idct)(int16_t *block /* align 16 */);
33 
49 
50  void (*fdct)(int16_t *block /* align 16 */);
51 
52 
57  int dct_algo;
58 
63  int idct_algo;
64 
65  void (*get_pixels)(int16_t *block /* align 16 */,
66  const uint8_t *pixels /* align 8 */,
67  ptrdiff_t line_size);
68 
70 } AVDCT;
71 
80 int avcodec_dct_init(AVDCT *);
81 
82 const AVClass *avcodec_dct_get_class(void);
83 
84 #endif /* AVCODEC_AVDCT_H */
AVDCT::idct_algo
int idct_algo
Definition: avdct.h:63
opt.h
int16_t
signed __int16 int16_t
Definition: SDL_config.h:36
AVDCT::fdct
void(* fdct)(int16_t *block)
Definition: avdct.h:50
AVDCT::av_class
const AVClass * av_class
Definition: avdct.h:30
avcodec_dct_init
int avcodec_dct_init(AVDCT *)
AVDCT::idct
void(* idct)(int16_t *block)
Definition: avdct.h:32
avcodec_dct_alloc
AVDCT * avcodec_dct_alloc(void)
AVDCT::get_pixels
void(* get_pixels)(int16_t *block, const uint8_t *pixels, ptrdiff_t line_size)
Definition: avdct.h:65
AVDCT::idct_permutation
uint8_t idct_permutation[64]
Definition: avdct.h:48
avcodec_dct_get_class
const AVClass * avcodec_dct_get_class(void)
AVClass
Definition: log.h:67
AVDCT::bits_per_sample
int bits_per_sample
Definition: avdct.h:69
AVDCT::dct_algo
int dct_algo
Definition: avdct.h:57
void
typedef void(SDLCALL *SDL_AudioFilter)(struct SDL_AudioCVT *cvt
AVDCT
struct AVDCT AVDCT
uint8_t
unsigned __int8 uint8_t
Definition: SDL_config.h:35
AVDCT
Definition: avdct.h:29
pixels
GLint GLint GLsizei GLsizei GLsizei GLint GLenum GLenum const GLvoid * pixels
Definition: SDL_opengl.h:1572