World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
vorbis_parser.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
26
#ifndef AVCODEC_VORBIS_PARSER_H
27
#define AVCODEC_VORBIS_PARSER_H
28
29
#include <stdint.h>
30
31
typedef
struct
AVVorbisParseContext
AVVorbisParseContext
;
32
36
AVVorbisParseContext
*
av_vorbis_parse_init
(
const
uint8_t
*extradata,
37
int
extradata_size);
38
42
void
av_vorbis_parse_free
(
AVVorbisParseContext
**
s
);
43
44
#define VORBIS_FLAG_HEADER 0x00000001
45
#define VORBIS_FLAG_COMMENT 0x00000002
46
#define VORBIS_FLAG_SETUP 0x00000004
47
59
int
av_vorbis_parse_frame_flags
(
AVVorbisParseContext
*
s
,
const
uint8_t
*
buf
,
60
int
buf_size,
int
*
flags
);
61
69
int
av_vorbis_parse_frame
(
AVVorbisParseContext
*
s
,
const
uint8_t
*
buf
,
70
int
buf_size);
71
72
void
av_vorbis_parse_reset
(
AVVorbisParseContext
*
s
);
73
74
#endif
/* AVCODEC_VORBIS_PARSER_H */
av_vorbis_parse_frame
int av_vorbis_parse_frame(AVVorbisParseContext *s, const uint8_t *buf, int buf_size)
s
GLdouble s
Definition:
SDL_opengl.h:2063
av_vorbis_parse_init
AVVorbisParseContext * av_vorbis_parse_init(const uint8_t *extradata, int extradata_size)
buf
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition:
SDL_opengl_glext.h:2483
AVVorbisParseContext
struct AVVorbisParseContext AVVorbisParseContext
Definition:
vorbis_parser.h:31
av_vorbis_parse_free
void av_vorbis_parse_free(AVVorbisParseContext **s)
av_vorbis_parse_frame_flags
int av_vorbis_parse_frame_flags(AVVorbisParseContext *s, const uint8_t *buf, int buf_size, int *flags)
uint8_t
unsigned __int8 uint8_t
Definition:
SDL_config.h:35
flags
EGLSyncKHR EGLint flags
Definition:
SDL_egl.h:898
av_vorbis_parse_reset
void av_vorbis_parse_reset(AVVorbisParseContext *s)
lib
win32
x86
ffmpeg-4.2.2
include
libavcodec
vorbis_parser.h
Документация по World of Might and Magic. Последние изменения: Вт 7 Апр 2020 22:03:38. Создано системой
1.8.17