comparison libass/ass_utils.h @ 28785:0366ab2c1cb9

Support ScaledBorderAndShadow property.
author greg
date Thu, 05 Mar 2009 20:36:48 +0000
parents e3b5070f671d
children 48d020c5ceca
comparison
equal deleted inserted replaced
28784:907d3d80b50f 28785:0366ab2c1cb9
28 int mystrtoi(char** p, int* res); 28 int mystrtoi(char** p, int* res);
29 int mystrtoll(char** p, long long* res); 29 int mystrtoll(char** p, long long* res);
30 int mystrtou32(char** p, int base, uint32_t* res); 30 int mystrtou32(char** p, int base, uint32_t* res);
31 int mystrtod(char** p, double* res); 31 int mystrtod(char** p, double* res);
32 int strtocolor(char** q, uint32_t* res); 32 int strtocolor(char** q, uint32_t* res);
33 char parse_bool(char* str);
33 34
34 static inline int d6_to_int(int x) { 35 static inline int d6_to_int(int x) {
35 return (x + 32) >> 6; 36 return (x + 32) >> 6;
36 } 37 }
37 static inline int d16_to_int(int x) { 38 static inline int d16_to_int(int x) {