#ifndef LIBASS_ASS_H
#define LIBASS_ASS_H
+#include <stdio.h>
#include "ass_types.h"
/// Libass renderer object. Contents are private.
#ifndef LIBASS_BITMAP_H
#define LIBASS_BITMAP_H
+#include <ft2build.h>
+#include FT_GLYPH_H
+
typedef struct ass_synth_priv_s ass_synth_priv_t;
ass_synth_priv_t* ass_synth_init(void);
#ifndef LIBASS_CACHE_H
#define LIBASS_CACHE_H
+#include "ass.h"
+#include "ass_font.h"
+#include "ass_bitmap.h"
+
void ass_font_cache_init(void);
ass_font_t* ass_font_cache_find(ass_font_desc_t* desc);
void* ass_font_cache_add(ass_font_t* font);
#ifndef 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 {
char* family;
unsigned bold;
#ifndef LIBASS_FONTCONFIG_H
#define LIBASS_FONTCONFIG_H
+#include <stdint.h>
+#include "ass_types.h"
+#include <ft2build.h>
+#include FT_FREETYPE_H
+
#ifdef HAVE_FONTCONFIG
#include <fontconfig/fontconfig.h>
#endif
#define LIBASS_MP_H
#include "subreader.h"
+#include "ass_types.h"
+#include "ass.h"
extern ass_library_t* ass_library;
extern int ass_enabled;
#ifndef LIBASS_TYPES_H
#define LIBASS_TYPES_H
+#include <stdint.h>
+
#define VALIGN_SUB 0
#define VALIGN_CENTER 8
#define VALIGN_TOP 4
#ifndef LIBASS_UTILS_H
#define LIBASS_UTILS_H
+#include <stdint.h>
+
int mystrtoi(char** p, int base, int* res);
int mystrtou32(char** p, int base, uint32_t* res);
int mystrtod(char** p, double* res);