mirror of https://github.com/mpv-player/mpv
Add missing header #includes to fix 'make checkheaders'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26170 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9e1391b534
commit
d5f21cd6cb
|
@ -21,6 +21,7 @@
|
||||||
#ifndef LIBASS_ASS_H
|
#ifndef LIBASS_ASS_H
|
||||||
#define LIBASS_ASS_H
|
#define LIBASS_ASS_H
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
#include "ass_types.h"
|
#include "ass_types.h"
|
||||||
|
|
||||||
/// Libass renderer object. Contents are private.
|
/// Libass renderer object. Contents are private.
|
||||||
|
|
|
@ -21,6 +21,9 @@
|
||||||
#ifndef LIBASS_BITMAP_H
|
#ifndef LIBASS_BITMAP_H
|
||||||
#define LIBASS_BITMAP_H
|
#define LIBASS_BITMAP_H
|
||||||
|
|
||||||
|
#include <ft2build.h>
|
||||||
|
#include FT_GLYPH_H
|
||||||
|
|
||||||
typedef struct ass_synth_priv_s ass_synth_priv_t;
|
typedef struct ass_synth_priv_s ass_synth_priv_t;
|
||||||
|
|
||||||
ass_synth_priv_t* ass_synth_init(void);
|
ass_synth_priv_t* ass_synth_init(void);
|
||||||
|
|
|
@ -21,6 +21,10 @@
|
||||||
#ifndef LIBASS_CACHE_H
|
#ifndef LIBASS_CACHE_H
|
||||||
#define LIBASS_CACHE_H
|
#define LIBASS_CACHE_H
|
||||||
|
|
||||||
|
#include "ass.h"
|
||||||
|
#include "ass_font.h"
|
||||||
|
#include "ass_bitmap.h"
|
||||||
|
|
||||||
void ass_font_cache_init(void);
|
void ass_font_cache_init(void);
|
||||||
ass_font_t* ass_font_cache_find(ass_font_desc_t* desc);
|
ass_font_t* ass_font_cache_find(ass_font_desc_t* desc);
|
||||||
void* ass_font_cache_add(ass_font_t* font);
|
void* ass_font_cache_add(ass_font_t* font);
|
||||||
|
|
|
@ -21,6 +21,12 @@
|
||||||
#ifndef LIBASS_FONT_H
|
#ifndef LIBASS_FONT_H
|
||||||
#define LIBASS_FONT_H
|
#define LIBASS_FONT_H
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <ft2build.h>
|
||||||
|
#include FT_GLYPH_H
|
||||||
|
#include "ass.h"
|
||||||
|
#include "ass_types.h"
|
||||||
|
|
||||||
typedef struct ass_font_desc_s {
|
typedef struct ass_font_desc_s {
|
||||||
char* family;
|
char* family;
|
||||||
unsigned bold;
|
unsigned bold;
|
||||||
|
|
|
@ -21,6 +21,11 @@
|
||||||
#ifndef LIBASS_FONTCONFIG_H
|
#ifndef LIBASS_FONTCONFIG_H
|
||||||
#define LIBASS_FONTCONFIG_H
|
#define LIBASS_FONTCONFIG_H
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
#include "ass_types.h"
|
||||||
|
#include <ft2build.h>
|
||||||
|
#include FT_FREETYPE_H
|
||||||
|
|
||||||
#ifdef HAVE_FONTCONFIG
|
#ifdef HAVE_FONTCONFIG
|
||||||
#include <fontconfig/fontconfig.h>
|
#include <fontconfig/fontconfig.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -22,6 +22,8 @@
|
||||||
#define LIBASS_MP_H
|
#define LIBASS_MP_H
|
||||||
|
|
||||||
#include "subreader.h"
|
#include "subreader.h"
|
||||||
|
#include "ass_types.h"
|
||||||
|
#include "ass.h"
|
||||||
|
|
||||||
extern ass_library_t* ass_library;
|
extern ass_library_t* ass_library;
|
||||||
extern int ass_enabled;
|
extern int ass_enabled;
|
||||||
|
|
|
@ -21,6 +21,8 @@
|
||||||
#ifndef LIBASS_TYPES_H
|
#ifndef LIBASS_TYPES_H
|
||||||
#define LIBASS_TYPES_H
|
#define LIBASS_TYPES_H
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
#define VALIGN_SUB 0
|
#define VALIGN_SUB 0
|
||||||
#define VALIGN_CENTER 8
|
#define VALIGN_CENTER 8
|
||||||
#define VALIGN_TOP 4
|
#define VALIGN_TOP 4
|
||||||
|
|
|
@ -21,6 +21,8 @@
|
||||||
#ifndef LIBASS_UTILS_H
|
#ifndef LIBASS_UTILS_H
|
||||||
#define LIBASS_UTILS_H
|
#define LIBASS_UTILS_H
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
int mystrtoi(char** p, int base, int* res);
|
int mystrtoi(char** p, int base, int* res);
|
||||||
int mystrtou32(char** p, int base, uint32_t* res);
|
int mystrtou32(char** p, int base, uint32_t* res);
|
||||||
int mystrtod(char** p, double* res);
|
int mystrtod(char** p, double* res);
|
||||||
|
|
Loading…
Reference in New Issue