~ubuntu-dev/mplayer/ubuntu-feisty

« back to all changes in this revision

Viewing changes to libvo/vo_svga.c

  • Committer: William Grant
  • Date: 2007-02-03 03:16:07 UTC
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: william.grant@ubuntu.org.au-20070203031607-08gc2ompbz6spt9i
Update to 1.0rc1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
303
303
  return VO_TRUE;
304
304
}
305
305
 
306
 
int bpp_from_vminfo(vga_modeinfo *vminfo){
 
306
static int bpp_from_vminfo(vga_modeinfo *vminfo){
307
307
  switch(vminfo->colors){
308
308
    case 2: return 1;
309
309
    case 16: return 4;
315
315
  return 0;
316
316
}
317
317
 
318
 
int find_best_svga_mode(int req_w,int req_h, int req_bpp){
 
318
static int find_best_svga_mode(int req_w,int req_h, int req_bpp){
319
319
 int badness,prev_badness;
320
320
 int bestmode,lastmode;
321
321
 int i;
371
371
      value = va_arg(ap, int);
372
372
      va_end(ap);
373
373
 
374
 
      return vidix_control(request, data, (int *)value);
 
374
      return vidix_control(request, data, value);
375
375
    }
376
376
    case VOCTRL_GET_EQUALIZER:
377
377
    {