comparison libvo/font_load_ft.c @ 18950:a943bc3f26c8

Make some functions static. Patch by Stefan Huehner, stefan at huehner org.
author uau
date Sat, 08 Jul 2006 15:26:36 +0000
parents e60c8c7399d2
children ed69754aa58d
comparison
equal deleted inserted replaced
18949:51aeef9ada52 18950:a943bc3f26c8
232 desc->pic_b[pic_idx]->pen = 0; 232 desc->pic_b[pic_idx]->pen = 0;
233 return 0; 233 return 0;
234 } 234 }
235 235
236 // general outline 236 // general outline
237 void outline( 237 static void outline(
238 unsigned char *s, 238 unsigned char *s,
239 unsigned char *t, 239 unsigned char *t,
240 int width, 240 int width,
241 int height, 241 int height,
242 int stride, 242 int stride,
275 } 275 }
276 } 276 }
277 277
278 278
279 // 1 pixel outline 279 // 1 pixel outline
280 void outline1( 280 static void outline1(
281 unsigned char *s, 281 unsigned char *s,
282 unsigned char *t, 282 unsigned char *t,
283 int width, 283 int width,
284 int height, 284 int height,
285 int stride) { 285 int stride) {
313 } 313 }
314 for (x = 0; x<width; ++x, ++s, ++t) *t = *s; 314 for (x = 0; x<width; ++x, ++s, ++t) *t = *s;
315 } 315 }
316 316
317 // "0 pixel outline" 317 // "0 pixel outline"
318 void outline0( 318 static void outline0(
319 unsigned char *s, 319 unsigned char *s,
320 unsigned char *t, 320 unsigned char *t,
321 int width, 321 int width,
322 int height, 322 int height,
323 int stride) { 323 int stride) {
328 t += stride; 328 t += stride;
329 } 329 }
330 } 330 }
331 331
332 // gaussian blur 332 // gaussian blur
333 void blur( 333 static void blur(
334 unsigned char *buffer, 334 unsigned char *buffer,
335 unsigned short *tmp2, 335 unsigned short *tmp2,
336 int width, 336 int width,
337 int height, 337 int height,
338 int stride, 338 int stride,
652 // fprintf(stderr, "fg: w = %d, h = %d\n", desc->pic_a[pic_idx]->w, desc->pic_a[pic_idx]->h); 652 // fprintf(stderr, "fg: w = %d, h = %d\n", desc->pic_a[pic_idx]->w, desc->pic_a[pic_idx]->h);
653 return 0; 653 return 0;
654 654
655 } 655 }
656 656
657 int generate_tables(font_desc_t *desc, double thickness, double radius) 657 static int generate_tables(font_desc_t *desc, double thickness, double radius)
658 { 658 {
659 int width = desc->max_height; 659 int width = desc->max_height;
660 int height = desc->max_width; 660 int height = desc->max_width;
661 661
662 double A = log(1.0/base)/(radius*radius*2); 662 double A = log(1.0/base)/(radius*radius*2);