Miam-Player  0.8.0
A nice music player
avdct.h
Go to the documentation of this file.
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 
48  uint8_t idct_permutation[64];
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 */
const AVClass * av_class
Definition: avdct.h:30
void(* fdct)(int16_t *block)
Definition: avdct.h:50
struct AVDCT AVDCT
uint8_t idct_permutation[64]
Definition: avdct.h:48
AVDCT * avcodec_dct_alloc(void)
const AVClass * avcodec_dct_get_class(void)
Definition: log.h:67
void(* idct)(int16_t *block)
Definition: avdct.h:32
int bits_per_sample
Definition: avdct.h:69
void(* get_pixels)(int16_t *block, const uint8_t *pixels, ptrdiff_t line_size)
Definition: avdct.h:65
int dct_algo
Definition: avdct.h:57
Definition: avdct.h:29
int avcodec_dct_init(AVDCT *)
int idct_algo
Definition: avdct.h:63