Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 135390
Collapse All | Expand All

(-)xine-lib-1.1.2cvs20060328/src/audio_out/audio_alsa_out.c (-2 / +2 lines)
Lines 1673-1679 static void *init_class (xine_t *xine, v Link Here
1673
  return this;
1673
  return this;
1674
 }
1674
 }
1675
1675
1676
static ao_info_t ao_info_alsa = {
1676
static const ao_info_t ao_info_alsa = {
1677
  10
1677
  10
1678
};
1678
};
1679
1679
Lines 1681-1687 static ao_info_t ao_info_alsa = { Link Here
1681
 * exported plugin catalog entry
1681
 * exported plugin catalog entry
1682
 */
1682
 */
1683
1683
1684
plugin_info_t xine_plugin_info[] = {
1684
const plugin_info_t xine_plugin_info[] = {
1685
  /* type, API, "name", version, special_info, init_function */  
1685
  /* type, API, "name", version, special_info, init_function */  
1686
  { PLUGIN_AUDIO_OUT, AO_OUT_ALSA_IFACE_VERSION, "alsa", XINE_VERSION_CODE, &ao_info_alsa, init_class },
1686
  { PLUGIN_AUDIO_OUT, AO_OUT_ALSA_IFACE_VERSION, "alsa", XINE_VERSION_CODE, &ao_info_alsa, init_class },
1687
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1687
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/audio_out/audio_arts_out.c (-2 / +2 lines)
Lines 397-403 static void *init_class (xine_t *xine, v Link Here
397
  return this;
397
  return this;
398
}
398
}
399
399
400
static ao_info_t ao_info_arts = {
400
static const ao_info_t ao_info_arts = {
401
  5
401
  5
402
};
402
};
403
403
Lines 405-411 static ao_info_t ao_info_arts = { Link Here
405
 * exported plugin catalog entry
405
 * exported plugin catalog entry
406
 */
406
 */
407
407
408
plugin_info_t xine_plugin_info[] = {
408
const plugin_info_t xine_plugin_info[] = {
409
  /* type, API, "name", version, special_info, init_function */  
409
  /* type, API, "name", version, special_info, init_function */  
410
  { PLUGIN_AUDIO_OUT, AO_OUT_ARTS_IFACE_VERSION, "arts", XINE_VERSION_CODE, &ao_info_arts, init_class },
410
  { PLUGIN_AUDIO_OUT, AO_OUT_ARTS_IFACE_VERSION, "arts", XINE_VERSION_CODE, &ao_info_arts, init_class },
411
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
411
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/audio_out/audio_coreaudio_out.c (-2 / +2 lines)
Lines 591-597 static void *init_class (xine_t *xine, v Link Here
591
  return this;
591
  return this;
592
}
592
}
593
593
594
static ao_info_t ao_info_coreaudio = {
594
static const ao_info_t ao_info_coreaudio = {
595
  1
595
  1
596
};
596
};
597
597
Lines 599-605 static ao_info_t ao_info_coreaudio = { Link Here
599
 * exported plugin catalog entry
599
 * exported plugin catalog entry
600
 */
600
 */
601
601
602
plugin_info_t xine_plugin_info[] = {
602
const plugin_info_t xine_plugin_info[] = {
603
  /* type, API, "name", version, special_info, init_function */  
603
  /* type, API, "name", version, special_info, init_function */  
604
  { PLUGIN_AUDIO_OUT, AO_OUT_COREAUDIO_IFACE_VERSION, "coreaudio", XINE_VERSION_CODE, &ao_info_coreaudio, init_class },
604
  { PLUGIN_AUDIO_OUT, AO_OUT_COREAUDIO_IFACE_VERSION, "coreaudio", XINE_VERSION_CODE, &ao_info_coreaudio, init_class },
605
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
605
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/audio_out/audio_directx2_out.c (-2 / +2 lines)
Lines 1020-1030 static void *init_class(xine_t *xine, vo Link Here
1020
}
1020
}
1021
1021
1022
1022
1023
static ao_info_t ao_info_directx2 = {
1023
static const ao_info_t ao_info_directx2 = {
1024
  10
1024
  10
1025
};
1025
};
1026
1026
1027
plugin_info_t xine_plugin_info[] = {
1027
const plugin_info_t xine_plugin_info[] = {
1028
  { PLUGIN_AUDIO_OUT, AO_OUT_DIRECTX2_IFACE_VERSION, "directx2", XINE_VERSION_CODE, &ao_info_directx2, init_class },
1028
  { PLUGIN_AUDIO_OUT, AO_OUT_DIRECTX2_IFACE_VERSION, "directx2", XINE_VERSION_CODE, &ao_info_directx2, init_class },
1029
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1029
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1030
};
1030
};
(-)xine-lib-1.1.2cvs20060328/src/audio_out/audio_directx_out.c (-2 / +2 lines)
Lines 856-869 static void *init_class (xine_t *xine, v Link Here
856
  return audiox;
856
  return audiox;
857
}
857
}
858
858
859
static ao_info_t ao_info_directx = {
859
static const ao_info_t ao_info_directx = {
860
  1                    /* priority        */
860
  1                    /* priority        */
861
};
861
};
862
862
863
/*
863
/*
864
 * exported plugin catalog entry
864
 * exported plugin catalog entry
865
 */
865
 */
866
plugin_info_t xine_plugin_info[] = {
866
const plugin_info_t xine_plugin_info[] = {
867
  /* type, API, "name", version, special_info, init_function */  
867
  /* type, API, "name", version, special_info, init_function */  
868
  { PLUGIN_AUDIO_OUT, AO_DIRECTX_IFACE_VERSION, "directx", XINE_VERSION_CODE, &ao_info_directx, init_class },
868
  { PLUGIN_AUDIO_OUT, AO_DIRECTX_IFACE_VERSION, "directx", XINE_VERSION_CODE, &ao_info_directx, init_class },
869
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
869
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/audio_out/audio_esd_out.c (-2 / +2 lines)
Lines 592-598 static void *init_class (xine_t *xine, v Link Here
592
  return this;
592
  return this;
593
}
593
}
594
594
595
static ao_info_t ao_info_esd = {
595
static const ao_info_t ao_info_esd = {
596
  4
596
  4
597
};
597
};
598
598
Lines 600-606 static ao_info_t ao_info_esd = { Link Here
600
 * exported plugin catalog entry
600
 * exported plugin catalog entry
601
 */
601
 */
602
602
603
plugin_info_t xine_plugin_info[] = {
603
const plugin_info_t xine_plugin_info[] = {
604
  /* type, API, "name", version, special_info, init_function */  
604
  /* type, API, "name", version, special_info, init_function */  
605
  { PLUGIN_AUDIO_OUT, AO_OUT_ESD_IFACE_VERSION, "esd", XINE_VERSION_CODE, &ao_info_esd, init_class },
605
  { PLUGIN_AUDIO_OUT, AO_OUT_ESD_IFACE_VERSION, "esd", XINE_VERSION_CODE, &ao_info_esd, init_class },
606
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
606
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/audio_out/audio_file_out.c (-2 / +2 lines)
Lines 388-394 static void *init_class (xine_t *xine, v Link Here
388
	return this;
388
	return this;
389
}
389
}
390
390
391
static ao_info_t ao_info_file = {
391
static const ao_info_t ao_info_file = {
392
	-1 /* do not auto probe this one */
392
	-1 /* do not auto probe this one */
393
};
393
};
394
394
Lines 396-402 static ao_info_t ao_info_file = { Link Here
396
 * exported plugin catalog entry
396
 * exported plugin catalog entry
397
 */
397
 */
398
398
399
plugin_info_t xine_plugin_info[] = {
399
const plugin_info_t xine_plugin_info[] = {
400
	/* type, API, "name", version, special_info, init_function */  
400
	/* type, API, "name", version, special_info, init_function */  
401
	{ PLUGIN_AUDIO_OUT, AO_OUT_FILE_IFACE_VERSION, "file", XINE_VERSION_CODE, &ao_info_file, init_class },
401
	{ PLUGIN_AUDIO_OUT, AO_OUT_FILE_IFACE_VERSION, "file", XINE_VERSION_CODE, &ao_info_file, init_class },
402
	{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
402
	{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/audio_out/audio_fusionsound_out.c (-2 / +2 lines)
Lines 471-477 static void* init_class(xine_t *xine, vo Link Here
471
  return class;
471
  return class;
472
}
472
}
473
473
474
static ao_info_t ao_info_fusionsound = {
474
static const ao_info_t ao_info_fusionsound = {
475
  4
475
  4
476
};
476
};
477
477
Lines 479-485 static ao_info_t ao_info_fusionsound = { Link Here
479
 * exported plugin catalog entry
479
 * exported plugin catalog entry
480
 */
480
 */
481
481
482
plugin_info_t xine_plugin_info[] = {
482
const plugin_info_t xine_plugin_info[] = {
483
  /* type, API, "name", version, special_info, init_function */  
483
  /* type, API, "name", version, special_info, init_function */  
484
  { PLUGIN_AUDIO_OUT, AO_OUT_FS_IFACE_VERSION, "FusionSound",
484
  { PLUGIN_AUDIO_OUT, AO_OUT_FS_IFACE_VERSION, "FusionSound",
485
    XINE_VERSION_CODE, &ao_info_fusionsound, init_class },
485
    XINE_VERSION_CODE, &ao_info_fusionsound, init_class },
(-)xine-lib-1.1.2cvs20060328/src/audio_out/audio_irixal_out.c (-2 / +2 lines)
Lines 405-411 static void *init_audio_out_plugin (conf Link Here
405
  return this;
405
  return this;
406
}
406
}
407
407
408
static ao_info_t ao_info_irixal = {
408
static const ao_info_t ao_info_irixal = {
409
  "xine audio output plugin using IRIX libaudio",
409
  "xine audio output plugin using IRIX libaudio",
410
  10
410
  10
411
};
411
};
Lines 420-426 ao_info_t *get_audio_out_plugin_info() Link Here
420
 * exported plugin catalog entry
420
 * exported plugin catalog entry
421
 */
421
 */
422
422
423
plugin_info_t xine_plugin_info[] = {
423
const plugin_info_t xine_plugin_info[] = {
424
  /* type, API, "name", version, special_info, init_function */  
424
  /* type, API, "name", version, special_info, init_function */  
425
  { PLUGIN_AUDIO_OUT, AO_OUT_IRIXAL_IFACE_VERSION, "irixal", XINE_VERSION_CODE, &ao_info_irixal, init_audio_out_plugin },
425
  { PLUGIN_AUDIO_OUT, AO_OUT_IRIXAL_IFACE_VERSION, "irixal", XINE_VERSION_CODE, &ao_info_irixal, init_audio_out_plugin },
426
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
426
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/audio_out/audio_none_out.c (-2 / +2 lines)
Lines 249-255 static void *init_class (xine_t *xine, v Link Here
249
  return this;
249
  return this;
250
}
250
}
251
251
252
static ao_info_t ao_info_none = {
252
static const ao_info_t ao_info_none = {
253
  -1 /* do not auto probe this one */
253
  -1 /* do not auto probe this one */
254
};
254
};
255
255
Lines 257-263 static ao_info_t ao_info_none = { Link Here
257
 * exported plugin catalog entry
257
 * exported plugin catalog entry
258
 */
258
 */
259
259
260
plugin_info_t xine_plugin_info[] = {
260
const plugin_info_t xine_plugin_info[] = {
261
  /* type, API, "name", version, special_info, init_function */  
261
  /* type, API, "name", version, special_info, init_function */  
262
  { PLUGIN_AUDIO_OUT, AO_OUT_NONE_IFACE_VERSION, "none", XINE_VERSION_CODE, &ao_info_none, init_class },
262
  { PLUGIN_AUDIO_OUT, AO_OUT_NONE_IFACE_VERSION, "none", XINE_VERSION_CODE, &ao_info_none, init_class },
263
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
263
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/audio_out/audio_oss_out.c (-2 / +2 lines)
Lines 1171-1177 static void *init_class (xine_t *xine, v Link Here
1171
  return this;
1171
  return this;
1172
}
1172
}
1173
1173
1174
static ao_info_t ao_info_oss = {
1174
static const ao_info_t ao_info_oss = {
1175
  9 /* less than alsa so xine will use alsa's native interface by default */
1175
  9 /* less than alsa so xine will use alsa's native interface by default */
1176
};
1176
};
1177
1177
Lines 1179-1185 static ao_info_t ao_info_oss = { Link Here
1179
 * exported plugin catalog entry
1179
 * exported plugin catalog entry
1180
 */
1180
 */
1181
1181
1182
plugin_info_t xine_plugin_info[] = {
1182
const plugin_info_t xine_plugin_info[] = {
1183
  /* type, API, "name", version, special_info, init_function */  
1183
  /* type, API, "name", version, special_info, init_function */  
1184
  { PLUGIN_AUDIO_OUT, AO_OUT_OSS_IFACE_VERSION, "oss", XINE_VERSION_CODE, &ao_info_oss, init_class },
1184
  { PLUGIN_AUDIO_OUT, AO_OUT_OSS_IFACE_VERSION, "oss", XINE_VERSION_CODE, &ao_info_oss, init_class },
1185
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1185
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/audio_out/audio_polyp_out.c (-2 / +2 lines)
Lines 560-566 static void *init_class (xine_t *xine, v Link Here
560
  return this;
560
  return this;
561
}
561
}
562
562
563
static ao_info_t ao_info_polyp = {
563
static const ao_info_t ao_info_polyp = {
564
  6
564
  6
565
};
565
};
566
566
Lines 568-574 static ao_info_t ao_info_polyp = { Link Here
568
 * exported plugin catalog entry
568
 * exported plugin catalog entry
569
 */
569
 */
570
570
571
plugin_info_t xine_plugin_info[] = {
571
const plugin_info_t xine_plugin_info[] = {
572
  /* type, API, "name", version, special_info, init_function */
572
  /* type, API, "name", version, special_info, init_function */
573
  { PLUGIN_AUDIO_OUT, 8, "polypaudio", XINE_VERSION_CODE, &ao_info_polyp, init_class },
573
  { PLUGIN_AUDIO_OUT, 8, "polypaudio", XINE_VERSION_CODE, &ao_info_polyp, init_class },
574
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
574
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/audio_out/audio_sun_out.c (-2 / +2 lines)
Lines 993-999 static void *ao_sun_init_class (xine_t * Link Here
993
}
993
}
994
994
995
995
996
static ao_info_t ao_info_sun = {
996
static const ao_info_t ao_info_sun = {
997
  10
997
  10
998
};
998
};
999
999
Lines 1001-1007 static ao_info_t ao_info_sun = { Link Here
1001
 * exported plugin catalog entry
1001
 * exported plugin catalog entry
1002
 */
1002
 */
1003
1003
1004
plugin_info_t xine_plugin_info[] = {
1004
const plugin_info_t xine_plugin_info[] = {
1005
  /* type, API, "name", version, special_info, init_function */  
1005
  /* type, API, "name", version, special_info, init_function */  
1006
  { PLUGIN_AUDIO_OUT, AO_SUN_IFACE_VERSION, "sun", XINE_VERSION_CODE, &ao_info_sun, ao_sun_init_class },
1006
  { PLUGIN_AUDIO_OUT, AO_SUN_IFACE_VERSION, "sun", XINE_VERSION_CODE, &ao_info_sun, ao_sun_init_class },
1007
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1007
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_asf.c (-2 / +2 lines)
Lines 2332-2342 static void *init_class (xine_t *xine, v Link Here
2332
/*
2332
/*
2333
 * exported plugin catalog entry
2333
 * exported plugin catalog entry
2334
 */
2334
 */
2335
demuxer_info_t demux_info_asf = {
2335
static const demuxer_info_t demux_info_asf = {
2336
  10                       /* priority */
2336
  10                       /* priority */
2337
};
2337
};
2338
 
2338
 
2339
plugin_info_t xine_plugin_info[] = {
2339
const plugin_info_t xine_plugin_info[] = {
2340
  /* type, API, "name", version, special_info, init_function */
2340
  /* type, API, "name", version, special_info, init_function */
2341
  { PLUGIN_DEMUX, 26, "asf", XINE_VERSION_CODE, &demux_info_asf, init_class },
2341
  { PLUGIN_DEMUX, 26, "asf", XINE_VERSION_CODE, &demux_info_asf, init_class },
2342
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
2342
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_avi.c (-2 / +2 lines)
Lines 2350-2360 static void *init_class (xine_t *xine, v Link Here
2350
/*
2350
/*
2351
 * exported plugin catalog entry
2351
 * exported plugin catalog entry
2352
 */
2352
 */
2353
demuxer_info_t demux_info_avi = {
2353
static const demuxer_info_t demux_info_avi = {
2354
  10                       /* priority */
2354
  10                       /* priority */
2355
};
2355
};
2356
2356
2357
plugin_info_t xine_plugin_info[] = {
2357
const plugin_info_t xine_plugin_info[] = {
2358
  /* type, API, "name", version, special_info, init_function */
2358
  /* type, API, "name", version, special_info, init_function */
2359
  { PLUGIN_DEMUX, 26, "avi", XINE_VERSION_CODE, &demux_info_avi, init_class },
2359
  { PLUGIN_DEMUX, 26, "avi", XINE_VERSION_CODE, &demux_info_avi, init_class },
2360
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
2360
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_elem.c (-2 / +2 lines)
Lines 301-311 static void *init_plugin (xine_t *xine, Link Here
301
/*
301
/*
302
 * exported plugin catalog entry
302
 * exported plugin catalog entry
303
 */
303
 */
304
demuxer_info_t demux_info_elem = {
304
static const demuxer_info_t demux_info_elem = {
305
  0                       /* priority */
305
  0                       /* priority */
306
};
306
};
307
307
308
plugin_info_t xine_plugin_info[] = {
308
const plugin_info_t xine_plugin_info[] = {
309
  /* type, API, "name", version, special_info, init_function */  
309
  /* type, API, "name", version, special_info, init_function */  
310
  { PLUGIN_DEMUX, 26, "elem", XINE_VERSION_CODE, &demux_info_elem, init_plugin },
310
  { PLUGIN_DEMUX, 26, "elem", XINE_VERSION_CODE, &demux_info_elem, init_plugin },
311
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
311
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_fli.c (-2 / +2 lines)
Lines 394-404 static void *init_plugin (xine_t *xine, Link Here
394
/*
394
/*
395
 * exported plugin catalog entry
395
 * exported plugin catalog entry
396
 */
396
 */
397
demuxer_info_t demux_info_fli = {
397
static const demuxer_info_t demux_info_fli = {
398
  10                       /* priority */
398
  10                       /* priority */
399
};
399
};
400
400
401
plugin_info_t xine_plugin_info[] = {
401
const plugin_info_t xine_plugin_info[] = {
402
  /* type, API, "name", version, special_info, init_function */
402
  /* type, API, "name", version, special_info, init_function */
403
  { PLUGIN_DEMUX, 26, "fli", XINE_VERSION_CODE, &demux_info_fli, init_plugin },
403
  { PLUGIN_DEMUX, 26, "fli", XINE_VERSION_CODE, &demux_info_fli, init_plugin },
404
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
404
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_flv.c (-2 / +2 lines)
Lines 339-349 static void *init_plugin (xine_t *xine, Link Here
339
/*
339
/*
340
 * exported plugin catalog entry
340
 * exported plugin catalog entry
341
 */
341
 */
342
demuxer_info_t demux_info_flv = {
342
static const demuxer_info_t demux_info_flv = {
343
  10                       /* priority */
343
  10                       /* priority */
344
};
344
};
345
345
346
plugin_info_t xine_plugin_info[] = {
346
const plugin_info_t xine_plugin_info[] = {
347
  /* type, API, "name", version, special_info, init_function */
347
  /* type, API, "name", version, special_info, init_function */
348
  { PLUGIN_DEMUX, 26, "flashvideo", XINE_VERSION_CODE, &demux_info_flv, init_plugin },
348
  { PLUGIN_DEMUX, 26, "flashvideo", XINE_VERSION_CODE, &demux_info_flv, init_plugin },
349
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
349
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_iff.c (-2 / +2 lines)
Lines 1330-1340 static void *init_plugin (xine_t *xine, Link Here
1330
/*
1330
/*
1331
 * exported plugin catalog entry
1331
 * exported plugin catalog entry
1332
 */
1332
 */
1333
demuxer_info_t demux_info_iff = {
1333
static const demuxer_info_t demux_info_iff = {
1334
  10                       /* priority */
1334
  10                       /* priority */
1335
};
1335
};
1336
1336
1337
plugin_info_t xine_plugin_info[] = {
1337
const plugin_info_t xine_plugin_info[] = {
1338
  /* type, API, "name", version, special_info, init_function */
1338
  /* type, API, "name", version, special_info, init_function */
1339
  { PLUGIN_DEMUX, 26, "iff", XINE_VERSION_CODE, &demux_info_iff, init_plugin },
1339
  { PLUGIN_DEMUX, 26, "iff", XINE_VERSION_CODE, &demux_info_iff, init_plugin },
1340
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1340
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_image.c (-2 / +2 lines)
Lines 260-270 static void *init_class (xine_t *xine, v Link Here
260
/*
260
/*
261
 * exported plugin catalog entry
261
 * exported plugin catalog entry
262
 */
262
 */
263
demuxer_info_t demux_info_image = {
263
static const demuxer_info_t demux_info_image = {
264
  11                       /* priority */
264
  11                       /* priority */
265
};
265
};
266
266
267
plugin_info_t xine_plugin_info[] = {
267
const plugin_info_t xine_plugin_info[] = {
268
  /* type, API, "name", version, special_info, init_function */
268
  /* type, API, "name", version, special_info, init_function */
269
  { PLUGIN_DEMUX, 26, "image", XINE_VERSION_CODE, &demux_info_image, init_class },
269
  { PLUGIN_DEMUX, 26, "image", XINE_VERSION_CODE, &demux_info_image, init_class },
270
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
270
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_matroska.c (-2 / +2 lines)
Lines 2727-2737 static void *init_class (xine_t *xine, v Link Here
2727
/*
2727
/*
2728
 * exported plugin catalog entry
2728
 * exported plugin catalog entry
2729
 */
2729
 */
2730
demuxer_info_t demux_info_matroska = {
2730
static const demuxer_info_t demux_info_matroska = {
2731
  10                       /* priority */
2731
  10                       /* priority */
2732
};
2732
};
2733
2733
2734
plugin_info_t xine_plugin_info[] = {
2734
const plugin_info_t xine_plugin_info[] = {
2735
  /* type, API, "name", version, special_info, init_function */
2735
  /* type, API, "name", version, special_info, init_function */
2736
  { PLUGIN_DEMUX, 26, "matroska", XINE_VERSION_CODE, &demux_info_matroska, init_class },
2736
  { PLUGIN_DEMUX, 26, "matroska", XINE_VERSION_CODE, &demux_info_matroska, init_class },
2737
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
2737
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_mng.c (-2 / +2 lines)
Lines 374-384 static void *init_plugin(xine_t *xine, v Link Here
374
  return this;
374
  return this;
375
}
375
}
376
376
377
demuxer_info_t demux_info_mng = {
377
static const demuxer_info_t demux_info_mng = {
378
  10                       /* priority */
378
  10                       /* priority */
379
};
379
};
380
380
381
plugin_info_t xine_plugin_info[] = {
381
const plugin_info_t xine_plugin_info[] = {
382
  { PLUGIN_DEMUX, 26, "mng", XINE_VERSION_CODE, &demux_info_mng, (void*)init_plugin},
382
  { PLUGIN_DEMUX, 26, "mng", XINE_VERSION_CODE, &demux_info_mng, (void*)init_plugin},
383
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
383
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
384
};
384
};
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_mpeg_block.c (-2 / +2 lines)
Lines 1559-1569 static void *init_plugin (xine_t *xine, Link Here
1559
/*
1559
/*
1560
 * exported plugin catalog entry
1560
 * exported plugin catalog entry
1561
 */
1561
 */
1562
demuxer_info_t demux_info_mpeg_block = {
1562
static const demuxer_info_t demux_info_mpeg_block = {
1563
  10                       /* priority */
1563
  10                       /* priority */
1564
};
1564
};
1565
1565
1566
plugin_info_t xine_plugin_info[] = {
1566
const plugin_info_t xine_plugin_info[] = {
1567
  /* type, API, "name", version, special_info, init_function */  
1567
  /* type, API, "name", version, special_info, init_function */  
1568
  { PLUGIN_DEMUX, 26, "mpeg_block", XINE_VERSION_CODE, &demux_info_mpeg_block, init_plugin },
1568
  { PLUGIN_DEMUX, 26, "mpeg_block", XINE_VERSION_CODE, &demux_info_mpeg_block, init_plugin },
1569
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1569
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_mpeg.c (-2 / +2 lines)
Lines 1263-1273 static void *init_plugin (xine_t *xine, Link Here
1263
/*
1263
/*
1264
 * exported plugin catalog entry
1264
 * exported plugin catalog entry
1265
 */
1265
 */
1266
demuxer_info_t demux_info_mpeg = {
1266
static const demuxer_info_t demux_info_mpeg = {
1267
  9                        /* priority */
1267
  9                        /* priority */
1268
};
1268
};
1269
1269
1270
plugin_info_t xine_plugin_info[] = {
1270
const plugin_info_t xine_plugin_info[] = {
1271
  /* type, API, "name", version, special_info, init_function */  
1271
  /* type, API, "name", version, special_info, init_function */  
1272
  { PLUGIN_DEMUX, 26, "mpeg", XINE_VERSION_CODE, &demux_info_mpeg, init_plugin },
1272
  { PLUGIN_DEMUX, 26, "mpeg", XINE_VERSION_CODE, &demux_info_mpeg, init_plugin },
1273
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1273
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_mpeg_pes.c (-2 / +2 lines)
Lines 1672-1682 static void *init_plugin (xine_t *xine, Link Here
1672
/*
1672
/*
1673
 * exported plugin catalog entry
1673
 * exported plugin catalog entry
1674
 */
1674
 */
1675
demuxer_info_t demux_info_mpeg_pes = {
1675
static const demuxer_info_t demux_info_mpeg_pes = {
1676
  10                       /* priority */
1676
  10                       /* priority */
1677
};
1677
};
1678
1678
1679
plugin_info_t xine_plugin_info[] = {
1679
const plugin_info_t xine_plugin_info[] = {
1680
  /* type, API, "name", version, special_info, init_function */  
1680
  /* type, API, "name", version, special_info, init_function */  
1681
  { PLUGIN_DEMUX, 26, "mpeg_pes", XINE_VERSION_CODE, &demux_info_mpeg_pes, init_plugin },
1681
  { PLUGIN_DEMUX, 26, "mpeg_pes", XINE_VERSION_CODE, &demux_info_mpeg_pes, init_plugin },
1682
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1682
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_nsv.c (-2 / +2 lines)
Lines 685-695 static void *demux_nsv_init_plugin (xine Link Here
685
/*
685
/*
686
 * exported plugin catalog entry
686
 * exported plugin catalog entry
687
 */
687
 */
688
demuxer_info_t demux_info_nsv = {
688
static const demuxer_info_t demux_info_nsv = {
689
  10                       /* priority */
689
  10                       /* priority */
690
};
690
};
691
691
692
plugin_info_t xine_plugin_info[] = {
692
const plugin_info_t xine_plugin_info[] = {
693
  /* type, API, "name", version, special_info, init_function */
693
  /* type, API, "name", version, special_info, init_function */
694
  { PLUGIN_DEMUX, 26, "nsv", XINE_VERSION_CODE, &demux_info_nsv, demux_nsv_init_plugin },
694
  { PLUGIN_DEMUX, 26, "nsv", XINE_VERSION_CODE, &demux_info_nsv, demux_nsv_init_plugin },
695
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
695
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_ogg.c (-3 / +3 lines)
Lines 2116-2130 static void *ogg_init_class (xine_t *xin Link Here
2116
/*
2116
/*
2117
 * exported plugin catalog entry
2117
 * exported plugin catalog entry
2118
 */
2118
 */
2119
demuxer_info_t demux_info_anx = {
2119
static const demuxer_info_t demux_info_anx = {
2120
  20                       /* priority */
2120
  20                       /* priority */
2121
};
2121
};
2122
2122
2123
demuxer_info_t demux_info_ogg = {
2123
static const demuxer_info_t demux_info_ogg = {
2124
  10                       /* priority */
2124
  10                       /* priority */
2125
};
2125
};
2126
2126
2127
plugin_info_t xine_plugin_info[] = {
2127
const plugin_info_t xine_plugin_info[] = {
2128
  /* type, API, "name", version, special_info, init_function */  
2128
  /* type, API, "name", version, special_info, init_function */  
2129
  { PLUGIN_DEMUX, 26, "ogg", XINE_VERSION_CODE, &demux_info_ogg, ogg_init_class },
2129
  { PLUGIN_DEMUX, 26, "ogg", XINE_VERSION_CODE, &demux_info_ogg, ogg_init_class },
2130
  { PLUGIN_DEMUX, 26, "anx", XINE_VERSION_CODE, &demux_info_anx, anx_init_class },
2130
  { PLUGIN_DEMUX, 26, "anx", XINE_VERSION_CODE, &demux_info_anx, anx_init_class },
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_pva.c (-2 / +2 lines)
Lines 520-530 static void *init_plugin (xine_t *xine, Link Here
520
/*
520
/*
521
 * exported plugin catalog entry
521
 * exported plugin catalog entry
522
 */
522
 */
523
demuxer_info_t demux_info_pva = {
523
static const demuxer_info_t demux_info_pva = {
524
  10                       /* priority */
524
  10                       /* priority */
525
};
525
};
526
526
527
plugin_info_t xine_plugin_info[] = {
527
const plugin_info_t xine_plugin_info[] = {
528
  /* type, API, "name", version, special_info, init_function */
528
  /* type, API, "name", version, special_info, init_function */
529
  { PLUGIN_DEMUX, 26, "pva", XINE_VERSION_CODE, &demux_info_pva, init_plugin },
529
  { PLUGIN_DEMUX, 26, "pva", XINE_VERSION_CODE, &demux_info_pva, init_plugin },
530
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
530
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_qt.c (-2 / +2 lines)
Lines 3086-3096 static void *init_plugin (xine_t *xine, Link Here
3086
/*
3086
/*
3087
 * exported plugin catalog entry
3087
 * exported plugin catalog entry
3088
 */
3088
 */
3089
demuxer_info_t demux_info_qt = {
3089
static const demuxer_info_t demux_info_qt = {
3090
  10                       /* priority */
3090
  10                       /* priority */
3091
};
3091
};
3092
3092
3093
plugin_info_t xine_plugin_info[] = {
3093
const plugin_info_t xine_plugin_info[] = {
3094
  /* type, API, "name", version, special_info, init_function */  
3094
  /* type, API, "name", version, special_info, init_function */  
3095
  { PLUGIN_DEMUX, 26, "quicktime", XINE_VERSION_CODE, &demux_info_qt, init_plugin },
3095
  { PLUGIN_DEMUX, 26, "quicktime", XINE_VERSION_CODE, &demux_info_qt, init_plugin },
3096
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
3096
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_rawdv.c (-2 / +2 lines)
Lines 443-453 static void *init_plugin (xine_t *xine, Link Here
443
/*
443
/*
444
 * exported plugin catalog entry
444
 * exported plugin catalog entry
445
 */
445
 */
446
demuxer_info_t demux_info_raw_dv = {
446
static const demuxer_info_t demux_info_raw_dv = {
447
  1                       /* priority */
447
  1                       /* priority */
448
};
448
};
449
449
450
plugin_info_t xine_plugin_info[] = {
450
const plugin_info_t xine_plugin_info[] = {
451
  /* type, API, "name", version, special_info, init_function */
451
  /* type, API, "name", version, special_info, init_function */
452
  { PLUGIN_DEMUX, 26, "rawdv", XINE_VERSION_CODE, &demux_info_raw_dv, init_plugin },
452
  { PLUGIN_DEMUX, 26, "rawdv", XINE_VERSION_CODE, &demux_info_raw_dv, init_plugin },
453
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
453
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_real.c (-2 / +2 lines)
Lines 1651-1661 static void *init_class (xine_t *xine, v Link Here
1651
/*
1651
/*
1652
 * exported plugin catalog entry
1652
 * exported plugin catalog entry
1653
 */
1653
 */
1654
demuxer_info_t demux_info_real = {
1654
static const demuxer_info_t demux_info_real = {
1655
  10                       /* priority */
1655
  10                       /* priority */
1656
};
1656
};
1657
1657
1658
plugin_info_t xine_plugin_info[] = {
1658
const plugin_info_t xine_plugin_info[] = {
1659
  /* type, API, "name", version, special_info, init_function */
1659
  /* type, API, "name", version, special_info, init_function */
1660
  { PLUGIN_DEMUX, 26, "real", XINE_VERSION_CODE, &demux_info_real, init_class },
1660
  { PLUGIN_DEMUX, 26, "real", XINE_VERSION_CODE, &demux_info_real, init_class },
1661
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1661
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_slave.c (-2 / +2 lines)
Lines 433-443 static void *init_plugin (xine_t *xine, Link Here
433
/*
433
/*
434
 * exported plugin catalog entry
434
 * exported plugin catalog entry
435
 */
435
 */
436
demuxer_info_t demux_info_slave = {
436
static const demuxer_info_t demux_info_slave = {
437
  10                       /* priority */
437
  10                       /* priority */
438
};
438
};
439
439
440
plugin_info_t xine_plugin_info[] = {
440
const plugin_info_t xine_plugin_info[] = {
441
  /* type, API, "name", version, special_info, init_function */  
441
  /* type, API, "name", version, special_info, init_function */  
442
  { PLUGIN_DEMUX, 26, "slave", XINE_VERSION_CODE, &demux_info_slave, init_plugin },
442
  { PLUGIN_DEMUX, 26, "slave", XINE_VERSION_CODE, &demux_info_slave, init_plugin },
443
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
443
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_ts.c (-2 / +2 lines)
Lines 2200-2210 static void *init_class (xine_t *xine, v Link Here
2200
/*
2200
/*
2201
 * exported plugin catalog entry
2201
 * exported plugin catalog entry
2202
 */
2202
 */
2203
demuxer_info_t demux_info_ts = {
2203
static const demuxer_info_t demux_info_ts = {
2204
  10                       /* priority */
2204
  10                       /* priority */
2205
};
2205
};
2206
2206
2207
plugin_info_t xine_plugin_info[] = {
2207
const plugin_info_t xine_plugin_info[] = {
2208
  /* type, API, "name", version, special_info, init_function */  
2208
  /* type, API, "name", version, special_info, init_function */  
2209
  { PLUGIN_DEMUX, 26, "mpeg-ts", XINE_VERSION_CODE, &demux_info_ts, init_class },
2209
  { PLUGIN_DEMUX, 26, "mpeg-ts", XINE_VERSION_CODE, &demux_info_ts, init_class },
2210
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
2210
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_yuv4mpeg2.c (-2 / +2 lines)
Lines 494-504 static void *init_plugin (xine_t *xine, Link Here
494
/*
494
/*
495
 * exported plugin catalog entry
495
 * exported plugin catalog entry
496
 */
496
 */
497
demuxer_info_t demux_info_yuv4mpeg2 = {
497
static const demuxer_info_t demux_info_yuv4mpeg2 = {
498
  10                       /* priority */
498
  10                       /* priority */
499
};
499
};
500
500
501
plugin_info_t xine_plugin_info[] = {
501
const plugin_info_t xine_plugin_info[] = {
502
  /* type, API, "name", version, special_info, init_function */
502
  /* type, API, "name", version, special_info, init_function */
503
  { PLUGIN_DEMUX, 26, "yuv4mpeg2", XINE_VERSION_CODE, &demux_info_yuv4mpeg2, init_plugin },
503
  { PLUGIN_DEMUX, 26, "yuv4mpeg2", XINE_VERSION_CODE, &demux_info_yuv4mpeg2, init_plugin },
504
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
504
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/demuxers/demux_yuv_frames.c (-2 / +2 lines)
Lines 272-282 static void *init_class (xine_t *xine, v Link Here
272
/*
272
/*
273
 * exported plugin catalog entry
273
 * exported plugin catalog entry
274
 */
274
 */
275
demuxer_info_t demux_info_yuv_frames = {
275
static const demuxer_info_t demux_info_yuv_frames = {
276
  0                       /* priority */
276
  0                       /* priority */
277
};
277
};
278
278
279
plugin_info_t xine_plugin_info[] = {
279
const plugin_info_t xine_plugin_info[] = {
280
  /* type, API, "name", version, special_info, init_function */
280
  /* type, API, "name", version, special_info, init_function */
281
  { PLUGIN_DEMUX, 26, "yuv_frames", XINE_VERSION_CODE, &demux_info_yuv_frames, init_class },
281
  { PLUGIN_DEMUX, 26, "yuv_frames", XINE_VERSION_CODE, &demux_info_yuv_frames, init_class },
282
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
282
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/demuxers/group_audio.c (-18 / +18 lines)
Lines 35-111 Link Here
35
 * exported plugin catalog entries
35
 * exported plugin catalog entries
36
 */
36
 */
37
37
38
demuxer_info_t demux_info_aac = {
38
static const demuxer_info_t demux_info_aac = {
39
  0                       /* priority */
39
  0                       /* priority */
40
};
40
};
41
41
42
demuxer_info_t demux_info_ac3 = {
42
static const demuxer_info_t demux_info_ac3 = {
43
  8                       /* priority */
43
  8                       /* priority */
44
};
44
};
45
45
46
demuxer_info_t demux_info_aud = {
46
static const demuxer_info_t demux_info_aud = {
47
  10                      /* priority */
47
  10                      /* priority */
48
};
48
};
49
49
50
demuxer_info_t demux_info_aiff = {
50
static const demuxer_info_t demux_info_aiff = {
51
  10                       /* priority */
51
  10                       /* priority */
52
};
52
};
53
53
54
demuxer_info_t demux_info_cdda = {
54
static const demuxer_info_t demux_info_cdda = {
55
  6                        /* priority */
55
  6                        /* priority */
56
};
56
};
57
57
58
demuxer_info_t demux_info_dts = {
58
static const demuxer_info_t demux_info_dts = {
59
  8                        /* priority */
59
  8                        /* priority */
60
};
60
};
61
61
62
demuxer_info_t demux_info_flac = {
62
static const demuxer_info_t demux_info_flac = {
63
  10                       /* priority */
63
  10                       /* priority */
64
};
64
};
65
65
66
demuxer_info_t demux_info_mpgaudio = {
66
static const demuxer_info_t demux_info_mpgaudio = {
67
  0                       /* priority */
67
  0                       /* priority */
68
};
68
};
69
69
70
demuxer_info_t demux_info_mpc = {
70
static const demuxer_info_t demux_info_mpc = {
71
  0                        /* priority */
71
  0                        /* priority */
72
};
72
};
73
73
74
demuxer_info_t demux_info_nsf = {
74
static const demuxer_info_t demux_info_nsf = {
75
  10                       /* priority */
75
  10                       /* priority */
76
};
76
};
77
77
78
demuxer_info_t demux_info_realaudio = {
78
static const demuxer_info_t demux_info_realaudio = {
79
  10                       /* priority */
79
  10                       /* priority */
80
};
80
};
81
81
82
demuxer_info_t demux_info_shn = {
82
static const demuxer_info_t demux_info_shn = {
83
  0                        /* priority */
83
  0                        /* priority */
84
};
84
};
85
85
86
demuxer_info_t demux_info_snd = {
86
static const demuxer_info_t demux_info_snd = {
87
  10                       /* priority */
87
  10                       /* priority */
88
};
88
};
89
89
90
demuxer_info_t demux_info_voc = {
90
static const demuxer_info_t demux_info_voc = {
91
  10                       /* priority */
91
  10                       /* priority */
92
};
92
};
93
93
94
demuxer_info_t demux_info_vox = {
94
static const demuxer_info_t demux_info_vox = {
95
  10                       /* priority */
95
  10                       /* priority */
96
};
96
};
97
97
98
demuxer_info_t demux_info_wav = {
98
static const demuxer_info_t demux_info_wav = {
99
  6                        /* priority */
99
  6                        /* priority */
100
};
100
};
101
101
102
#ifdef HAVE_MODPLUG
102
#ifdef HAVE_MODPLUG
103
demuxer_info_t demux_info_mod = {
103
static const demuxer_info_t demux_info_mod = {
104
  10                       /* priority */
104
  10                       /* priority */
105
};
105
};
106
#endif
106
#endif
107
107
108
plugin_info_t xine_plugin_info[] = {
108
const plugin_info_t xine_plugin_info[] = {
109
  /* type, API, "name", version, special_info, init_function */  
109
  /* type, API, "name", version, special_info, init_function */  
110
  { PLUGIN_DEMUX, 26, "aac",       XINE_VERSION_CODE, &demux_info_aac,       demux_aac_init_plugin },
110
  { PLUGIN_DEMUX, 26, "aac",       XINE_VERSION_CODE, &demux_info_aac,       demux_aac_init_plugin },
111
  { PLUGIN_DEMUX, 26, "ac3",       XINE_VERSION_CODE, &demux_info_ac3,       demux_ac3_init_plugin },
111
  { PLUGIN_DEMUX, 26, "ac3",       XINE_VERSION_CODE, &demux_info_ac3,       demux_ac3_init_plugin },
(-)xine-lib-1.1.2cvs20060328/src/demuxers/group_games.c (-12 / +12 lines)
Lines 35-85 Link Here
35
 * exported plugin catalog entries
35
 * exported plugin catalog entries
36
 */
36
 */
37
37
38
demuxer_info_t demux_info_eawve = {
38
static const demuxer_info_t demux_info_eawve = {
39
  10                       /* priority */
39
  10                       /* priority */
40
};
40
};
41
41
42
demuxer_info_t demux_info_idcin = {
42
static const demuxer_info_t demux_info_idcin = {
43
  10                       /* priority */
43
  10                       /* priority */
44
};
44
};
45
45
46
demuxer_info_t demux_info_ipmovie = {
46
static const demuxer_info_t demux_info_ipmovie = {
47
  10                       /* priority */
47
  10                       /* priority */
48
};
48
};
49
49
50
demuxer_info_t demux_info_vqa = {
50
static const demuxer_info_t demux_info_vqa = {
51
  10                       /* priority */
51
  10                       /* priority */
52
};
52
};
53
53
54
demuxer_info_t demux_info_wc3movie = {
54
static const demuxer_info_t demux_info_wc3movie = {
55
  10                       /* priority */
55
  10                       /* priority */
56
};
56
};
57
57
58
demuxer_info_t demux_info_roq = {
58
static const demuxer_info_t demux_info_roq = {
59
  10                       /* priority */
59
  10                       /* priority */
60
};
60
};
61
61
62
demuxer_info_t demux_info_str = {
62
static const demuxer_info_t demux_info_str = {
63
  10                       /* priority */
63
  10                       /* priority */
64
};
64
};
65
65
66
demuxer_info_t demux_info_film = {
66
static const demuxer_info_t demux_info_film = {
67
  10                       /* priority */
67
  10                       /* priority */
68
};
68
};
69
69
70
demuxer_info_t demux_info_smjpeg = {
70
static const demuxer_info_t demux_info_smjpeg = {
71
  10                       /* priority */
71
  10                       /* priority */
72
};
72
};
73
73
74
demuxer_info_t demux_info_fourxm = {
74
static const demuxer_info_t demux_info_fourxm = {
75
  10                       /* priority */
75
  10                       /* priority */
76
};
76
};
77
77
78
demuxer_info_t demux_info_vmd = {
78
static const demuxer_info_t demux_info_vmd = {
79
  10                       /* priority */
79
  10                       /* priority */
80
};
80
};
81
81
82
plugin_info_t xine_plugin_info[] = {
82
const plugin_info_t xine_plugin_info[] = {
83
  /* type, API, "name", version, special_info, init_function */  
83
  /* type, API, "name", version, special_info, init_function */  
84
  { PLUGIN_DEMUX, 26, "wve",      XINE_VERSION_CODE, &demux_info_eawve,    demux_eawve_init_plugin},
84
  { PLUGIN_DEMUX, 26, "wve",      XINE_VERSION_CODE, &demux_info_eawve,    demux_eawve_init_plugin},
85
  { PLUGIN_DEMUX, 26, "idcin",    XINE_VERSION_CODE, &demux_info_idcin,    demux_idcin_init_plugin },
85
  { PLUGIN_DEMUX, 26, "idcin",    XINE_VERSION_CODE, &demux_info_idcin,    demux_idcin_init_plugin },
(-)xine-lib-1.1.2cvs20060328/src/dxr3/dxr3_decode_spu.c (-2 / +2 lines)
Lines 68-79 static void *dxr3_spudec_init_plugin(x Link Here
68
/* plugin catalog information */
68
/* plugin catalog information */
69
static uint32_t supported_types[] = { BUF_SPU_DVD, 0 };
69
static uint32_t supported_types[] = { BUF_SPU_DVD, 0 };
70
70
71
static decoder_info_t dxr3_spudec_info = {
71
static const decoder_info_t dxr3_spudec_info = {
72
  supported_types,     /* supported types */
72
  supported_types,     /* supported types */
73
  10                   /* priority        */
73
  10                   /* priority        */
74
};
74
};
75
75
76
plugin_info_t xine_plugin_info[] = {
76
const plugin_info_t xine_plugin_info[] = {
77
  /* type, API, "name", version, special_info, init_function */  
77
  /* type, API, "name", version, special_info, init_function */  
78
  { PLUGIN_SPU_DECODER, 16, "dxr3-spudec", XINE_VERSION_CODE, &dxr3_spudec_info, &dxr3_spudec_init_plugin },
78
  { PLUGIN_SPU_DECODER, 16, "dxr3-spudec", XINE_VERSION_CODE, &dxr3_spudec_info, &dxr3_spudec_init_plugin },
79
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
79
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/dxr3/dxr3_decode_video.c (-3 / +3 lines)
Lines 67-80 static void *dxr3_init_plugin(xine_t Link Here
67
67
68
68
69
/* plugin catalog information */
69
/* plugin catalog information */
70
static uint32_t supported_types[] = { BUF_VIDEO_MPEG, 0 };
70
static const uint32_t supported_types[] = { BUF_VIDEO_MPEG, 0 };
71
71
72
static decoder_info_t dxr3_video_decoder_info = {
72
static const decoder_info_t dxr3_video_decoder_info = {
73
  supported_types,     /* supported types */
73
  supported_types,     /* supported types */
74
  10                   /* priority        */
74
  10                   /* priority        */
75
};
75
};
76
76
77
plugin_info_t xine_plugin_info[] = {
77
const plugin_info_t xine_plugin_info[] = {
78
  /* type, API, "name", version, special_info, init_function */  
78
  /* type, API, "name", version, special_info, init_function */  
79
  { PLUGIN_VIDEO_DECODER, 18, "dxr3-mpeg2", XINE_VERSION_CODE, &dxr3_video_decoder_info, &dxr3_init_plugin },
79
  { PLUGIN_VIDEO_DECODER, 18, "dxr3-mpeg2", XINE_VERSION_CODE, &dxr3_video_decoder_info, &dxr3_init_plugin },
80
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
80
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/input/input_cdda.c (-1 / +1 lines)
Lines 2724-2730 static void *init_plugin (xine_t *xine, Link Here
2724
  return this;
2724
  return this;
2725
}
2725
}
2726
2726
2727
plugin_info_t xine_plugin_info[] = {
2727
const plugin_info_t xine_plugin_info[] = {
2728
  /* type, API, "name", version, special_info, init_function */
2728
  /* type, API, "name", version, special_info, init_function */
2729
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "CD", XINE_VERSION_CODE, NULL, init_plugin },
2729
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "CD", XINE_VERSION_CODE, NULL, init_plugin },
2730
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
2730
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/input/input_dvb.c (-1 / +1 lines)
Lines 3205-3211 static void *init_class (xine_t *xine, v Link Here
3205
 * exported plugin catalog entry
3205
 * exported plugin catalog entry
3206
 */
3206
 */
3207
3207
3208
plugin_info_t xine_plugin_info[] = {
3208
const plugin_info_t xine_plugin_info[] = {
3209
  /* type, API, "name", version, special_info, init_function */
3209
  /* type, API, "name", version, special_info, init_function */
3210
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "DVB", XINE_VERSION_CODE, NULL, init_class },
3210
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "DVB", XINE_VERSION_CODE, NULL, init_class },
3211
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
3211
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/input/input_dvd.c (-1 / +1 lines)
Lines 1906-1912 static void *init_class (xine_t *xine, v Link Here
1906
}
1906
}
1907
1907
1908
1908
1909
plugin_info_t xine_plugin_info[] = {
1909
const plugin_info_t xine_plugin_info[] = {
1910
  /* type, API, "name", version, special_info, init_function */  
1910
  /* type, API, "name", version, special_info, init_function */  
1911
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "DVD", XINE_VERSION_CODE, NULL, init_class },
1911
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "DVD", XINE_VERSION_CODE, NULL, init_class },
1912
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1912
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/input/input_file.c (-1 / +1 lines)
Lines 913-919 static void *init_plugin (xine_t *xine, Link Here
913
 * exported plugin catalog entry
913
 * exported plugin catalog entry
914
 */
914
 */
915
915
916
plugin_info_t xine_plugin_info[] = {
916
const plugin_info_t xine_plugin_info[] = {
917
  /* type, API, "name", version, special_info, init_function */  
917
  /* type, API, "name", version, special_info, init_function */  
918
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "FILE", XINE_VERSION_CODE, NULL, init_plugin },
918
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "FILE", XINE_VERSION_CODE, NULL, init_plugin },
919
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
919
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/input/input_gnome_vfs.c (-1 / +1 lines)
Lines 389-395 static input_info_t input_info_gnomevfs Link Here
389
	100                       /* priority */
389
	100                       /* priority */
390
};
390
};
391
391
392
plugin_info_t xine_plugin_info[] = {
392
const plugin_info_t xine_plugin_info[] = {
393
	{ PLUGIN_INPUT | PLUGIN_NO_UNLOAD, 17, "gnomevfs", XINE_VERSION_CODE,
393
	{ PLUGIN_INPUT | PLUGIN_NO_UNLOAD, 17, "gnomevfs", XINE_VERSION_CODE,
394
		&input_info_gnomevfs, init_input_class },
394
		&input_info_gnomevfs, init_input_class },
395
	{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
395
	{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/input/input_http.c (-1 / +1 lines)
Lines 1057-1063 static void *init_class (xine_t *xine, v Link Here
1057
 * exported plugin catalog entry
1057
 * exported plugin catalog entry
1058
 */
1058
 */
1059
1059
1060
plugin_info_t xine_plugin_info[] = {
1060
const plugin_info_t xine_plugin_info[] = {
1061
  /* type, API, "name", version, special_info, init_function */  
1061
  /* type, API, "name", version, special_info, init_function */  
1062
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "http", XINE_VERSION_CODE, NULL, init_class },
1062
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "http", XINE_VERSION_CODE, NULL, init_class },
1063
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1063
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/input/input_mms.c (-1 / +1 lines)
Lines 477-483 static void *init_class (xine_t *xine, v Link Here
477
 * exported plugin catalog entry
477
 * exported plugin catalog entry
478
 */
478
 */
479
479
480
plugin_info_t xine_plugin_info[] = {
480
const plugin_info_t xine_plugin_info[] = {
481
  /* type, API, "name", version, special_info, init_function */  
481
  /* type, API, "name", version, special_info, init_function */  
482
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "mms", XINE_VERSION_CODE, NULL, init_class },
482
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "mms", XINE_VERSION_CODE, NULL, init_class },
483
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
483
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/input/input_net.c (-1 / +1 lines)
Lines 543-549 static void *init_class (xine_t *xine, v Link Here
543
 * exported plugin catalog entry
543
 * exported plugin catalog entry
544
 */
544
 */
545
545
546
plugin_info_t xine_plugin_info[] = {
546
const plugin_info_t xine_plugin_info[] = {
547
  /* type, API, "name", version, special_info, init_function */  
547
  /* type, API, "name", version, special_info, init_function */  
548
  { PLUGIN_INPUT, 17, "tcp", XINE_VERSION_CODE, NULL, init_class },
548
  { PLUGIN_INPUT, 17, "tcp", XINE_VERSION_CODE, NULL, init_class },
549
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
549
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/input/input_pnm.c (-1 / +1 lines)
Lines 299-305 static void *init_class (xine_t *xine, v Link Here
299
 * exported plugin catalog entry
299
 * exported plugin catalog entry
300
 */
300
 */
301
301
302
plugin_info_t xine_plugin_info[] = {
302
const plugin_info_t xine_plugin_info[] = {
303
  /* type, API, "name", version, special_info, init_function */  
303
  /* type, API, "name", version, special_info, init_function */  
304
  { PLUGIN_INPUT, 17, "pnm", XINE_VERSION_CODE, NULL, init_class },
304
  { PLUGIN_INPUT, 17, "pnm", XINE_VERSION_CODE, NULL, init_class },
305
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
305
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/input/input_pvr.c (-1 / +1 lines)
Lines 1571-1577 static void *init_plugin (xine_t *xine, Link Here
1571
 * exported plugin catalog entry
1571
 * exported plugin catalog entry
1572
 */
1572
 */
1573
1573
1574
plugin_info_t xine_plugin_info[] = {
1574
const plugin_info_t xine_plugin_info[] = {
1575
  /* type, API, "name", version, special_info, init_function */  
1575
  /* type, API, "name", version, special_info, init_function */  
1576
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "pvr", XINE_VERSION_CODE, NULL, init_plugin },
1576
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "pvr", XINE_VERSION_CODE, NULL, init_plugin },
1577
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1577
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/input/input_rtp.c (-1 / +1 lines)
Lines 777-783 static void *init_class (xine_t *xine, v Link Here
777
 * exported plugin catalog entry
777
 * exported plugin catalog entry
778
 */
778
 */
779
779
780
plugin_info_t xine_plugin_info[] = {
780
const plugin_info_t xine_plugin_info[] = {
781
  /* type, API, "name", version, special_info, init_function */  
781
  /* type, API, "name", version, special_info, init_function */  
782
  { PLUGIN_INPUT, 17, "rtp", XINE_VERSION_CODE, NULL, init_class },
782
  { PLUGIN_INPUT, 17, "rtp", XINE_VERSION_CODE, NULL, init_class },
783
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
783
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/input/input_rtsp.c (-1 / +1 lines)
Lines 311-317 static void *init_class (xine_t *xine, v Link Here
311
 * exported plugin catalog entry
311
 * exported plugin catalog entry
312
 */
312
 */
313
313
314
plugin_info_t xine_plugin_info[] = {
314
const plugin_info_t xine_plugin_info[] = {
315
  /* type, API, "name", version, special_info, init_function */  
315
  /* type, API, "name", version, special_info, init_function */  
316
  { PLUGIN_INPUT, 17, "rtsp", XINE_VERSION_CODE, NULL, init_class },
316
  { PLUGIN_INPUT, 17, "rtsp", XINE_VERSION_CODE, NULL, init_class },
317
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
317
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/input/input_smb.c (-1 / +1 lines)
Lines 537-543 static input_info_t input_info_smb = { Link Here
537
  0                       /* priority */
537
  0                       /* priority */
538
};
538
};
539
539
540
plugin_info_t xine_plugin_info[] = {
540
const plugin_info_t xine_plugin_info[] = {
541
	{ PLUGIN_INPUT, 17, "smb", XINE_VERSION_CODE, &input_info_smb,
541
	{ PLUGIN_INPUT, 17, "smb", XINE_VERSION_CODE, &input_info_smb,
542
		init_input_class },
542
		init_input_class },
543
	{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
543
	{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/input/input_stdin_fifo.c (-1 / +1 lines)
Lines 383-389 static void *init_class (xine_t *xine, v Link Here
383
 * exported plugin catalog entry
383
 * exported plugin catalog entry
384
 */
384
 */
385
385
386
plugin_info_t xine_plugin_info[] = {
386
const plugin_info_t xine_plugin_info[] = {
387
  /* type, API, "name", version, special_info, init_function */
387
  /* type, API, "name", version, special_info, init_function */
388
  { PLUGIN_INPUT, 17, "stdin", XINE_VERSION_CODE, NULL, init_class },
388
  { PLUGIN_INPUT, 17, "stdin", XINE_VERSION_CODE, NULL, init_class },
389
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
389
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/input/input_v4l.c (-1 / +1 lines)
Lines 1945-1951 static void *init_radio_class (xine_t *x Link Here
1945
 * exported plugin catalog entry
1945
 * exported plugin catalog entry
1946
 */
1946
 */
1947
1947
1948
plugin_info_t xine_plugin_info[] = {
1948
const plugin_info_t xine_plugin_info[] = {
1949
  /* type, API, "name", version, special_info, init_function */  
1949
  /* type, API, "name", version, special_info, init_function */  
1950
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "v4l_radio", XINE_VERSION_CODE, NULL, init_radio_class },
1950
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "v4l_radio", XINE_VERSION_CODE, NULL, init_radio_class },
1951
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "v4l_tv", XINE_VERSION_CODE, NULL, init_video_class },
1951
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "v4l_tv", XINE_VERSION_CODE, NULL, init_video_class },
(-)xine-lib-1.1.2cvs20060328/src/input/input_vcd.c (-1 / +1 lines)
Lines 1113-1119 static void *init_class (xine_t *xine, v Link Here
1113
 * exported plugin catalog entry
1113
 * exported plugin catalog entry
1114
 */
1114
 */
1115
1115
1116
plugin_info_t xine_plugin_info[] = {
1116
const plugin_info_t xine_plugin_info[] = {
1117
  /* type, API, "name", version, special_info, init_function */  
1117
  /* type, API, "name", version, special_info, init_function */  
1118
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "VCDO", XINE_VERSION_CODE, NULL, init_class },
1118
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "VCDO", XINE_VERSION_CODE, NULL, init_class },
1119
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1119
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/input/vcd/xineplug_inp_vcd.c (-1 / +1 lines)
Lines 1982-1988 _("For tracking down bugs in the VCD plu Link Here
1982
   the next API number since in both cases the plugin is broken.
1982
   the next API number since in both cases the plugin is broken.
1983
 */
1983
 */
1984
1984
1985
const plugin_info_t xine_plugin_info[] = {
1985
const const plugin_info_t xine_plugin_info[] = {
1986
  /* type, API, "name", version, special_info, init_function */  
1986
  /* type, API, "name", version, special_info, init_function */  
1987
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, (char *) SHORT_PLUGIN_NAME,
1987
  { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, (char *) SHORT_PLUGIN_NAME,
1988
    XINE_VERSION_CODE, NULL, vcd_init },
1988
    XINE_VERSION_CODE, NULL, vcd_init },
(-)xine-lib-1.1.2cvs20060328/src/liba52/xine_decoder.c (-2 / +2 lines)
Lines 854-865 static uint32_t audio_types[] = { Link Here
854
  0
854
  0
855
 };
855
 };
856
856
857
static decoder_info_t dec_info_audio = {
857
static const decoder_info_t dec_info_audio = {
858
  audio_types,         /* supported types */
858
  audio_types,         /* supported types */
859
  5                    /* priority        */
859
  5                    /* priority        */
860
};
860
};
861
861
862
plugin_info_t xine_plugin_info[] = {
862
const plugin_info_t xine_plugin_info[] = {
863
  /* type, API, "name", version, special_info, init_function */
863
  /* type, API, "name", version, special_info, init_function */
864
  { PLUGIN_AUDIO_DECODER | PLUGIN_MUST_PRELOAD, 15, "a/52", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
864
  { PLUGIN_AUDIO_DECODER | PLUGIN_MUST_PRELOAD, 15, "a/52", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
865
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
865
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libdts/xine_decoder.c (-2 / +2 lines)
Lines 602-613 static uint32_t audio_types[] = { Link Here
602
  BUF_AUDIO_DTS, 0
602
  BUF_AUDIO_DTS, 0
603
 };
603
 };
604
604
605
static decoder_info_t dec_info_audio = {
605
static const decoder_info_t dec_info_audio = {
606
  audio_types,         /* supported types */
606
  audio_types,         /* supported types */
607
  1                    /* priority        */
607
  1                    /* priority        */
608
};
608
};
609
609
610
plugin_info_t xine_plugin_info[] = {
610
const plugin_info_t xine_plugin_info[] = {
611
  /* type, API, "name", version, special_info, init_function */  
611
  /* type, API, "name", version, special_info, init_function */  
612
  { PLUGIN_AUDIO_DECODER, 15, "dts", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
612
  { PLUGIN_AUDIO_DECODER, 15, "dts", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
613
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
613
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libfaad/xine_decoder.c (-2 / +2 lines)
Lines 473-484 static uint32_t audio_types[] = { Link Here
473
  BUF_AUDIO_AAC, 0
473
  BUF_AUDIO_AAC, 0
474
 };
474
 };
475
475
476
static decoder_info_t dec_info_audio = {
476
static const decoder_info_t dec_info_audio = {
477
  audio_types,         /* supported types */
477
  audio_types,         /* supported types */
478
  1                    /* priority        */
478
  1                    /* priority        */
479
};
479
};
480
480
481
plugin_info_t xine_plugin_info[] = {
481
const plugin_info_t xine_plugin_info[] = {
482
  /* type, API, "name", version, special_info, init_function */
482
  /* type, API, "name", version, special_info, init_function */
483
  { PLUGIN_AUDIO_DECODER, 15, "faad", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
483
  { PLUGIN_AUDIO_DECODER, 15, "faad", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
484
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
484
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libffmpeg/dvaudio_decoder.c (-1 / +1 lines)
Lines 442-448 decoder_info_t dec_info_dvaudio = { Link Here
442
 * exported plugin catalog entry
442
 * exported plugin catalog entry
443
 */
443
 */
444
444
445
plugin_info_t xine_plugin_info[] = {
445
const plugin_info_t xine_plugin_info[] = {
446
  /* type, API, "name", version, special_info, init_function */  
446
  /* type, API, "name", version, special_info, init_function */  
447
  { PLUGIN_AUDIO_DECODER, 15, "dvaudio", XINE_VERSION_CODE, &dec_info_dvaudio, init_dvaudio_plugin },
447
  { PLUGIN_AUDIO_DECODER, 15, "dvaudio", XINE_VERSION_CODE, &dec_info_dvaudio, init_dvaudio_plugin },
448
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
448
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libffmpeg/xine_decoder.c (-1 / +1 lines)
Lines 143-149 void init_once_routine(void) { Link Here
143
 * exported plugin catalog entry
143
 * exported plugin catalog entry
144
 */
144
 */
145
145
146
plugin_info_t xine_plugin_info[] = {
146
const plugin_info_t xine_plugin_info[] = {
147
  /* type, API, "name", version, special_info, init_function */  
147
  /* type, API, "name", version, special_info, init_function */  
148
  { PLUGIN_VIDEO_DECODER | PLUGIN_MUST_PRELOAD, 18, "ffmpegvideo", XINE_VERSION_CODE, &dec_info_ffmpeg_video, init_video_plugin },
148
  { PLUGIN_VIDEO_DECODER | PLUGIN_MUST_PRELOAD, 18, "ffmpegvideo", XINE_VERSION_CODE, &dec_info_ffmpeg_video, init_video_plugin },
149
  { PLUGIN_VIDEO_DECODER, 18, "ffmpeg-wmv8", XINE_VERSION_CODE, &dec_info_ffmpeg_wmv8, init_video_plugin },
149
  { PLUGIN_VIDEO_DECODER, 18, "ffmpeg-wmv8", XINE_VERSION_CODE, &dec_info_ffmpeg_wmv8, init_video_plugin },
(-)xine-lib-1.1.2cvs20060328/src/libflac/decoder_flac.c (-2 / +2 lines)
Lines 395-406 static uint32_t audio_types[] = { Link Here
395
  BUF_AUDIO_FLAC, 0
395
  BUF_AUDIO_FLAC, 0
396
 };
396
 };
397
397
398
static decoder_info_t dec_info_audio = {
398
static const decoder_info_t dec_info_audio = {
399
  audio_types,         /* supported types */
399
  audio_types,         /* supported types */
400
  5                    /* priority        */
400
  5                    /* priority        */
401
};
401
};
402
402
403
plugin_info_t xine_plugin_info[] = {
403
const plugin_info_t xine_plugin_info[] = {
404
  /* type, API, "name", version, special_info, init_function */  
404
  /* type, API, "name", version, special_info, init_function */  
405
  { PLUGIN_DEMUX, 26, "flac", XINE_VERSION_CODE, NULL, demux_flac_init_class },
405
  { PLUGIN_DEMUX, 26, "flac", XINE_VERSION_CODE, NULL, demux_flac_init_class },
406
  { PLUGIN_AUDIO_DECODER, 15, "flacdec", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
406
  { PLUGIN_AUDIO_DECODER, 15, "flacdec", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
(-)xine-lib-1.1.2cvs20060328/src/liblpcm/xine_decoder.c (-2 / +2 lines)
Lines 280-291 static uint32_t audio_types[] = { Link Here
280
  BUF_AUDIO_LPCM_BE, BUF_AUDIO_LPCM_LE, 0
280
  BUF_AUDIO_LPCM_BE, BUF_AUDIO_LPCM_LE, 0
281
};
281
};
282
282
283
static decoder_info_t dec_info_audio = {
283
static const decoder_info_t dec_info_audio = {
284
  audio_types,         /* supported types */
284
  audio_types,         /* supported types */
285
  1                    /* priority        */
285
  1                    /* priority        */
286
};
286
};
287
287
288
plugin_info_t xine_plugin_info[] = {
288
const plugin_info_t xine_plugin_info[] = {
289
  /* type, API, "name", version, special_info, init_function */  
289
  /* type, API, "name", version, special_info, init_function */  
290
  { PLUGIN_AUDIO_DECODER, 15, "pcm", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
290
  { PLUGIN_AUDIO_DECODER, 15, "pcm", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
291
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
291
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libmad/xine_decoder.c (-2 / +2 lines)
Lines 363-374 static uint32_t audio_types[] = { Link Here
363
  BUF_AUDIO_MPEG, 0
363
  BUF_AUDIO_MPEG, 0
364
};
364
};
365
365
366
static decoder_info_t dec_info_audio = {
366
static const decoder_info_t dec_info_audio = {
367
  audio_types,         /* supported types */
367
  audio_types,         /* supported types */
368
  7                    /* priority        */
368
  7                    /* priority        */
369
};
369
};
370
370
371
plugin_info_t xine_plugin_info[] = {
371
const plugin_info_t xine_plugin_info[] = {
372
  /* type, API, "name", version, special_info, init_function */  
372
  /* type, API, "name", version, special_info, init_function */  
373
  { PLUGIN_AUDIO_DECODER, 15, "mad", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
373
  { PLUGIN_AUDIO_DECODER, 15, "mad", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
374
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
374
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libmpeg2/xine_decoder.c (-2 / +2 lines)
Lines 172-183 static void *init_plugin (xine_t *xine, Link Here
172
172
173
static uint32_t supported_types[] = { BUF_VIDEO_MPEG, 0 };
173
static uint32_t supported_types[] = { BUF_VIDEO_MPEG, 0 };
174
174
175
static decoder_info_t dec_info_mpeg2 = {
175
static const decoder_info_t dec_info_mpeg2 = {
176
  supported_types,     /* supported types */
176
  supported_types,     /* supported types */
177
  7                    /* priority        */
177
  7                    /* priority        */
178
};
178
};
179
179
180
plugin_info_t xine_plugin_info[] = {
180
const plugin_info_t xine_plugin_info[] = {
181
  /* type, API, "name", version, special_info, init_function */  
181
  /* type, API, "name", version, special_info, init_function */  
182
  { PLUGIN_VIDEO_DECODER, 18, "mpeg2", XINE_VERSION_CODE, &dec_info_mpeg2, init_plugin },
182
  { PLUGIN_VIDEO_DECODER, 18, "mpeg2", XINE_VERSION_CODE, &dec_info_mpeg2, init_plugin },
183
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
183
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libmusepack/xine_decoder.c (-2 / +2 lines)
Lines 454-465 static uint32_t audio_types[] = { Link Here
454
  0
454
  0
455
};
455
};
456
456
457
static decoder_info_t dec_info_audio = {
457
static const decoder_info_t dec_info_audio = {
458
  audio_types,         /* supported types */
458
  audio_types,         /* supported types */
459
  5                    /* priority        */
459
  5                    /* priority        */
460
};
460
};
461
461
462
plugin_info_t xine_plugin_info[] = {
462
const plugin_info_t xine_plugin_info[] = {
463
  /* { type, API version, "name", version, special_info, init_function }, */
463
  /* { type, API version, "name", version, special_info, init_function }, */
464
  { PLUGIN_AUDIO_DECODER, 15, "mpc", XINE_VERSION_CODE, &dec_info_audio, &init_plugin },
464
  { PLUGIN_AUDIO_DECODER, 15, "mpc", XINE_VERSION_CODE, &dec_info_audio, &init_plugin },
465
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
465
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libreal/audio_decoder.c (-2 / +2 lines)
Lines 757-768 static uint32_t audio_types[] = { Link Here
757
  BUF_AUDIO_COOK, BUF_AUDIO_ATRK, /* BUF_AUDIO_14_4, BUF_AUDIO_28_8, */ BUF_AUDIO_SIPRO, 0
757
  BUF_AUDIO_COOK, BUF_AUDIO_ATRK, /* BUF_AUDIO_14_4, BUF_AUDIO_28_8, */ BUF_AUDIO_SIPRO, 0
758
 };
758
 };
759
759
760
static decoder_info_t dec_info_audio = {
760
static const decoder_info_t dec_info_audio = {
761
  audio_types,         /* supported types */
761
  audio_types,         /* supported types */
762
  5                    /* priority        */
762
  5                    /* priority        */
763
};
763
};
764
764
765
plugin_info_t xine_plugin_info[] = {
765
const plugin_info_t xine_plugin_info[] = {
766
  /* type, API, "name", version, special_info, init_function */  
766
  /* type, API, "name", version, special_info, init_function */  
767
  { PLUGIN_AUDIO_DECODER | PLUGIN_MUST_PRELOAD, 15, "realadec", XINE_VERSION_CODE, &dec_info_audio, init_class },
767
  { PLUGIN_AUDIO_DECODER | PLUGIN_MUST_PRELOAD, 15, "realadec", XINE_VERSION_CODE, &dec_info_audio, init_class },
768
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
768
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libreal/xine_decoder.c (-2 / +2 lines)
Lines 638-649 static uint32_t supported_types[] = { BU Link Here
638
                                      BUF_VIDEO_RV40,
638
                                      BUF_VIDEO_RV40,
639
                                      0 };
639
                                      0 };
640
640
641
static decoder_info_t dec_info_real = {
641
static const decoder_info_t dec_info_real = {
642
  supported_types,     /* supported types */
642
  supported_types,     /* supported types */
643
  7                    /* priority        */
643
  7                    /* priority        */
644
};
644
};
645
645
646
plugin_info_t xine_plugin_info[] = {
646
const plugin_info_t xine_plugin_info[] = {
647
  /* type, API, "name", version, special_info, init_function */  
647
  /* type, API, "name", version, special_info, init_function */  
648
  { PLUGIN_VIDEO_DECODER | PLUGIN_MUST_PRELOAD, 18, "real", XINE_VERSION_CODE, &dec_info_real, init_class },
648
  { PLUGIN_VIDEO_DECODER | PLUGIN_MUST_PRELOAD, 18, "real", XINE_VERSION_CODE, &dec_info_real, init_class },
649
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
649
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libspeex/xine_decoder.c (-2 / +2 lines)
Lines 431-442 static uint32_t audio_types[] = { Link Here
431
  BUF_AUDIO_SPEEX, 0
431
  BUF_AUDIO_SPEEX, 0
432
 };
432
 };
433
433
434
static decoder_info_t dec_info_audio = {
434
static const decoder_info_t dec_info_audio = {
435
  audio_types,         /* supported types */
435
  audio_types,         /* supported types */
436
  5                    /* priority        */
436
  5                    /* priority        */
437
};
437
};
438
438
439
plugin_info_t xine_plugin_info[] = {
439
const plugin_info_t xine_plugin_info[] = {
440
  /* type, API, "name", version, special_info, init_function */  
440
  /* type, API, "name", version, special_info, init_function */  
441
  { PLUGIN_AUDIO_DECODER, 15, "speex", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
441
  { PLUGIN_AUDIO_DECODER, 15, "speex", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
442
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
442
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libspucc/xine_decoder.c (-2 / +2 lines)
Lines 357-368 static void *init_spu_decoder_plugin (xi Link Here
357
/* plugin catalog information */
357
/* plugin catalog information */
358
static uint32_t supported_types[] = { BUF_SPU_CC, 0 };
358
static uint32_t supported_types[] = { BUF_SPU_CC, 0 };
359
359
360
static decoder_info_t spudec_info = {
360
static const decoder_info_t spudec_info = {
361
  supported_types,     /* supported types */
361
  supported_types,     /* supported types */
362
  1                    /* priority        */
362
  1                    /* priority        */
363
};
363
};
364
364
365
plugin_info_t xine_plugin_info[] = {
365
const plugin_info_t xine_plugin_info[] = {
366
  /* type, API, "name", version, special_info, init_function */  
366
  /* type, API, "name", version, special_info, init_function */  
367
  { PLUGIN_SPU_DECODER, 16, "spucc", XINE_VERSION_CODE, &spudec_info, &init_spu_decoder_plugin },
367
  { PLUGIN_SPU_DECODER, 16, "spucc", XINE_VERSION_CODE, &spudec_info, &init_spu_decoder_plugin },
368
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
368
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libspucmml/xine_decoder.c (-2 / +2 lines)
Lines 537-548 static void *init_spu_decoder_plugin (xi Link Here
537
/* plugin catalog information */
537
/* plugin catalog information */
538
static uint32_t supported_types[] = { BUF_SPU_CMML, 0 };
538
static uint32_t supported_types[] = { BUF_SPU_CMML, 0 };
539
539
540
static decoder_info_t spudec_info = {
540
static const decoder_info_t spudec_info = {
541
  supported_types,     /* supported types */
541
  supported_types,     /* supported types */
542
  1                    /* priority        */
542
  1                    /* priority        */
543
};
543
};
544
544
545
plugin_info_t xine_plugin_info[] = {
545
const plugin_info_t xine_plugin_info[] = {
546
  /* type, API, "name", version, special_info, init_function */  
546
  /* type, API, "name", version, special_info, init_function */  
547
  { PLUGIN_SPU_DECODER, 16, "spucmml", XINE_VERSION_CODE, &spudec_info, &init_spu_decoder_plugin },
547
  { PLUGIN_SPU_DECODER, 16, "spucmml", XINE_VERSION_CODE, &spudec_info, &init_spu_decoder_plugin },
548
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
548
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libspudec/xine_decoder.c (-2 / +2 lines)
Lines 392-403 static void *init_plugin (xine_t *xine, Link Here
392
/* plugin catalog information */
392
/* plugin catalog information */
393
static uint32_t supported_types[] = { BUF_SPU_DVD, 0 };
393
static uint32_t supported_types[] = { BUF_SPU_DVD, 0 };
394
394
395
static decoder_info_t dec_info_data = {
395
static const decoder_info_t dec_info_data = {
396
  supported_types,     /* supported types */
396
  supported_types,     /* supported types */
397
  5                    /* priority        */
397
  5                    /* priority        */
398
};
398
};
399
399
400
plugin_info_t xine_plugin_info[] = {
400
const plugin_info_t xine_plugin_info[] = {
401
  /* type, API, "name", version, special_info, init_function */  
401
  /* type, API, "name", version, special_info, init_function */  
402
  { PLUGIN_SPU_DECODER, 16, "spudec", XINE_VERSION_CODE, &dec_info_data, &init_plugin },
402
  { PLUGIN_SPU_DECODER, 16, "spudec", XINE_VERSION_CODE, &dec_info_data, &init_plugin },
403
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
403
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libspudvb/xine_decoder.c (-2 / +2 lines)
Lines 864-875 static void *init_spu_decoder_plugin (xi Link Here
864
/* plugin catalog information */
864
/* plugin catalog information */
865
static uint32_t supported_types[] = { BUF_SPU_DVB, 0 };
865
static uint32_t supported_types[] = { BUF_SPU_DVB, 0 };
866
866
867
static decoder_info_t spudec_info = {
867
static const decoder_info_t spudec_info = {
868
  supported_types,		/* supported types */
868
  supported_types,		/* supported types */
869
  1				/* priority        */
869
  1				/* priority        */
870
};
870
};
871
871
872
plugin_info_t xine_plugin_info[] = {
872
const plugin_info_t xine_plugin_info[] = {
873
/* type, API, "name", version, special_info, init_function */
873
/* type, API, "name", version, special_info, init_function */
874
  {PLUGIN_SPU_DECODER, 16, "spudvb", XINE_VERSION_CODE, &spudec_info,
874
  {PLUGIN_SPU_DECODER, 16, "spudvb", XINE_VERSION_CODE, &spudec_info,
875
   &init_spu_decoder_plugin},
875
   &init_spu_decoder_plugin},
(-)xine-lib-1.1.2cvs20060328/src/libsputext/demux_sputext.c (-1 / +1 lines)
Lines 1513-1519 static void *init_sputext_demux_class (x Link Here
1513
  return this;
1513
  return this;
1514
}
1514
}
1515
1515
1516
plugin_info_t xine_plugin_info[] = {
1516
const plugin_info_t xine_plugin_info[] = {
1517
  /* type, API, "name", version, special_info, init_function */  
1517
  /* type, API, "name", version, special_info, init_function */  
1518
  { PLUGIN_DEMUX, 26, "sputext", XINE_VERSION_CODE, NULL, &init_sputext_demux_class },
1518
  { PLUGIN_DEMUX, 26, "sputext", XINE_VERSION_CODE, NULL, &init_sputext_demux_class },
1519
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1519
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libsputext/xine_decoder.c (-2 / +2 lines)
Lines 944-955 static void *init_spu_decoder_plugin (xi Link Here
944
/* plugin catalog information */
944
/* plugin catalog information */
945
static uint32_t supported_types[] = { BUF_SPU_TEXT, BUF_SPU_OGM, 0 };
945
static uint32_t supported_types[] = { BUF_SPU_TEXT, BUF_SPU_OGM, 0 };
946
946
947
static decoder_info_t spudec_info = {
947
static const decoder_info_t spudec_info = {
948
  supported_types,     /* supported types */
948
  supported_types,     /* supported types */
949
  1                    /* priority        */
949
  1                    /* priority        */
950
};
950
};
951
951
952
plugin_info_t xine_plugin_info[] = {
952
const plugin_info_t xine_plugin_info[] = {
953
  /* type, API, "name", version, special_info, init_function */  
953
  /* type, API, "name", version, special_info, init_function */  
954
  { PLUGIN_SPU_DECODER | PLUGIN_MUST_PRELOAD, 16, "sputext", XINE_VERSION_CODE, &spudec_info, &init_spu_decoder_plugin },
954
  { PLUGIN_SPU_DECODER | PLUGIN_MUST_PRELOAD, 16, "sputext", XINE_VERSION_CODE, &spudec_info, &init_spu_decoder_plugin },
955
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
955
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libtheora/xine_decoder.c (-2 / +2 lines)
Lines 390-401 static void *init_plugin (xine_t *xine, Link Here
390
390
391
static uint32_t supported_types[] = { BUF_VIDEO_THEORA, 0 };
391
static uint32_t supported_types[] = { BUF_VIDEO_THEORA, 0 };
392
392
393
static decoder_info_t dec_info_video = {
393
static const decoder_info_t dec_info_video = {
394
  supported_types,   /* supported types */
394
  supported_types,   /* supported types */
395
  5                        /* priority        */
395
  5                        /* priority        */
396
};
396
};
397
397
398
plugin_info_t xine_plugin_info[] = {
398
const plugin_info_t xine_plugin_info[] = {
399
  /* type, API, "name", version, special_info, init_function */  
399
  /* type, API, "name", version, special_info, init_function */  
400
  { PLUGIN_VIDEO_DECODER, 18, "theora", XINE_VERSION_CODE, &dec_info_video, init_plugin },
400
  { PLUGIN_VIDEO_DECODER, 18, "theora", XINE_VERSION_CODE, &dec_info_video, init_plugin },
401
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
401
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libvorbis/xine_decoder.c (-2 / +2 lines)
Lines 339-350 static uint32_t audio_types[] = { Link Here
339
  BUF_AUDIO_VORBIS, 0
339
  BUF_AUDIO_VORBIS, 0
340
 };
340
 };
341
341
342
static decoder_info_t dec_info_audio = {
342
static const decoder_info_t dec_info_audio = {
343
  audio_types,         /* supported types */
343
  audio_types,         /* supported types */
344
  5                    /* priority        */
344
  5                    /* priority        */
345
};
345
};
346
346
347
plugin_info_t xine_plugin_info[] = {
347
const plugin_info_t xine_plugin_info[] = {
348
  /* type, API, "name", version, special_info, init_function */  
348
  /* type, API, "name", version, special_info, init_function */  
349
  { PLUGIN_AUDIO_DECODER, 15, "vorbis", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
349
  { PLUGIN_AUDIO_DECODER, 15, "vorbis", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
350
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
350
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libw32dll/qt_decoder.c (-3 / +3 lines)
Lines 617-623 static uint32_t audio_types[] = { Link Here
617
  0
617
  0
618
};
618
};
619
619
620
static decoder_info_t qta_dec_info = {
620
static const decoder_info_t qta_dec_info = {
621
  audio_types,         /* supported types */
621
  audio_types,         /* supported types */
622
  1                    /* priority        */
622
  1                    /* priority        */
623
};
623
};
Lines 1147-1158 static void *qtv_init_class (xine_t *xin Link Here
1147
1147
1148
static uint32_t qtv_supported_types[] = { BUF_VIDEO_SORENSON_V3, 0 };
1148
static uint32_t qtv_supported_types[] = { BUF_VIDEO_SORENSON_V3, 0 };
1149
1149
1150
static decoder_info_t qtv_dec_info = {
1150
static const decoder_info_t qtv_dec_info = {
1151
  qtv_supported_types,     /* supported types */
1151
  qtv_supported_types,     /* supported types */
1152
  1                        /* priority        */
1152
  1                        /* priority        */
1153
};
1153
};
1154
1154
1155
plugin_info_t xine_plugin_info[] = {
1155
const plugin_info_t xine_plugin_info[] = {
1156
  /* type, API, "name", version, special_info, init_function */  
1156
  /* type, API, "name", version, special_info, init_function */  
1157
  { PLUGIN_VIDEO_DECODER | PLUGIN_MUST_PRELOAD, 18, "qtv", XINE_VERSION_CODE, &qtv_dec_info, qtv_init_class },
1157
  { PLUGIN_VIDEO_DECODER | PLUGIN_MUST_PRELOAD, 18, "qtv", XINE_VERSION_CODE, &qtv_dec_info, qtv_init_class },
1158
  { PLUGIN_AUDIO_DECODER | PLUGIN_MUST_PRELOAD, 15, "qta", XINE_VERSION_CODE, &qta_dec_info, qta_init_class },
1158
  { PLUGIN_AUDIO_DECODER | PLUGIN_MUST_PRELOAD, 15, "qta", XINE_VERSION_CODE, &qta_dec_info, qta_init_class },
(-)xine-lib-1.1.2cvs20060328/src/libw32dll/w32codec.c (-3 / +3 lines)
Lines 1700-1706 static uint32_t video_types[] = { Link Here
1700
  0
1700
  0
1701
 };
1701
 };
1702
1702
1703
static decoder_info_t dec_info_video = {
1703
static const decoder_info_t dec_info_video = {
1704
  video_types,         /* supported types */
1704
  video_types,         /* supported types */
1705
  1                    /* priority        */
1705
  1                    /* priority        */
1706
};
1706
};
Lines 1713-1724 static uint32_t audio_types[] = { Link Here
1713
  0
1713
  0
1714
 };
1714
 };
1715
1715
1716
static decoder_info_t dec_info_audio = {
1716
static const decoder_info_t dec_info_audio = {
1717
  audio_types,         /* supported types */
1717
  audio_types,         /* supported types */
1718
  1                    /* priority        */
1718
  1                    /* priority        */
1719
};
1719
};
1720
1720
1721
plugin_info_t xine_plugin_info[] = {
1721
const plugin_info_t xine_plugin_info[] = {
1722
  /* type, API, "name", version, special_info, init_function */  
1722
  /* type, API, "name", version, special_info, init_function */  
1723
  { PLUGIN_VIDEO_DECODER | PLUGIN_MUST_PRELOAD, 18, "win32v", XINE_VERSION_CODE, &dec_info_video, init_video_decoder_class },
1723
  { PLUGIN_VIDEO_DECODER | PLUGIN_MUST_PRELOAD, 18, "win32v", XINE_VERSION_CODE, &dec_info_video, init_video_decoder_class },
1724
  { PLUGIN_AUDIO_DECODER | PLUGIN_MUST_PRELOAD, 15, "win32a", XINE_VERSION_CODE, &dec_info_audio, init_audio_decoder_class },
1724
  { PLUGIN_AUDIO_DECODER | PLUGIN_MUST_PRELOAD, 15, "win32a", XINE_VERSION_CODE, &dec_info_audio, init_audio_decoder_class },
(-)xine-lib-1.1.2cvs20060328/src/libxineadec/fooaudio.c (-2 / +2 lines)
Lines 335-348 static uint32_t audio_types[] = { Link Here
335
 * the priority that the plugin should be given with respect to other
335
 * the priority that the plugin should be given with respect to other
336
 * plugins that handle the same buffer type. A plugin with priority (n+1) 
336
 * plugins that handle the same buffer type. A plugin with priority (n+1) 
337
 * will be used instead of a plugin with priority (n). */
337
 * will be used instead of a plugin with priority (n). */
338
static decoder_info_t dec_info_audio = {
338
static const decoder_info_t dec_info_audio = {
339
  audio_types,         /* supported types */
339
  audio_types,         /* supported types */
340
  5                    /* priority        */
340
  5                    /* priority        */
341
};
341
};
342
342
343
/* The plugin catalog entry. This is the only information that this plugin
343
/* The plugin catalog entry. This is the only information that this plugin
344
 * will export to the public. */
344
 * will export to the public. */
345
plugin_info_t xine_plugin_info[] = {
345
const plugin_info_t xine_plugin_info[] = {
346
  /* { type, API version, "name", version, special_info, init_function }, */
346
  /* { type, API version, "name", version, special_info, init_function }, */
347
  { PLUGIN_AUDIO_DECODER, 15, "fooaudio", XINE_VERSION_CODE, &dec_info_audio, &init_plugin },
347
  { PLUGIN_AUDIO_DECODER, 15, "fooaudio", XINE_VERSION_CODE, &dec_info_audio, &init_plugin },
348
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
348
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libxineadec/gsm610.c (-2 / +2 lines)
Lines 284-295 static uint32_t audio_types[] = { Link Here
284
  0
284
  0
285
};
285
};
286
286
287
static decoder_info_t dec_info_audio = {
287
static const decoder_info_t dec_info_audio = {
288
  audio_types,         /* supported types */
288
  audio_types,         /* supported types */
289
  9                    /* priority        */
289
  9                    /* priority        */
290
};
290
};
291
291
292
plugin_info_t xine_plugin_info[] = {
292
const plugin_info_t xine_plugin_info[] = {
293
  /* type, API, "name", version, special_info, init_function */  
293
  /* type, API, "name", version, special_info, init_function */  
294
  { PLUGIN_AUDIO_DECODER, 15, "gsm610", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
294
  { PLUGIN_AUDIO_DECODER, 15, "gsm610", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
295
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
295
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libxineadec/nsf.c (-2 / +2 lines)
Lines 279-292 static uint32_t audio_types[] = { Link Here
279
 * the priority that the plugin should be given with respect to other
279
 * the priority that the plugin should be given with respect to other
280
 * plugins that handle the same buffer type. A plugin with priority (n+1) 
280
 * plugins that handle the same buffer type. A plugin with priority (n+1) 
281
 * will be used instead of a plugin with priority (n). */
281
 * will be used instead of a plugin with priority (n). */
282
static decoder_info_t dec_info_audio = {
282
static const decoder_info_t dec_info_audio = {
283
  audio_types,         /* supported types */
283
  audio_types,         /* supported types */
284
  5                    /* priority        */
284
  5                    /* priority        */
285
};
285
};
286
286
287
/* The plugin catalog entry. This is the only information that this plugin
287
/* The plugin catalog entry. This is the only information that this plugin
288
 * will export to the public. */
288
 * will export to the public. */
289
plugin_info_t xine_plugin_info[] = {
289
const plugin_info_t xine_plugin_info[] = {
290
  /* { type, API version, "name", version, special_info, init_function }, */
290
  /* { type, API version, "name", version, special_info, init_function }, */
291
  { PLUGIN_AUDIO_DECODER, 15, "nsf", XINE_VERSION_CODE, &dec_info_audio, &init_plugin },
291
  { PLUGIN_AUDIO_DECODER, 15, "nsf", XINE_VERSION_CODE, &dec_info_audio, &init_plugin },
292
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
292
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libxinevdec/bitplane.c (-3 / +3 lines)
Lines 1574-1591 static void *init_plugin (xine_t *xine, Link Here
1574
 * exported plugin catalog entry
1574
 * exported plugin catalog entry
1575
 */
1575
 */
1576
1576
1577
static uint32_t video_types[] = {
1577
static const uint32_t video_types[] = {
1578
  BUF_VIDEO_BITPLANE,
1578
  BUF_VIDEO_BITPLANE,
1579
  BUF_VIDEO_BITPLANE_BR1,
1579
  BUF_VIDEO_BITPLANE_BR1,
1580
  0
1580
  0
1581
};
1581
};
1582
1582
1583
static decoder_info_t dec_info_video = {
1583
static const decoder_info_t dec_info_video = {
1584
  video_types,         /* supported types */
1584
  video_types,         /* supported types */
1585
  1                    /* priority        */
1585
  1                    /* priority        */
1586
};
1586
};
1587
1587
1588
plugin_info_t xine_plugin_info[] = {
1588
const plugin_info_t xine_plugin_info[] = {
1589
  /* type, API, "name", version, special_info, init_function */
1589
  /* type, API, "name", version, special_info, init_function */
1590
  { PLUGIN_VIDEO_DECODER, 18, "bitplane", XINE_VERSION_CODE, &dec_info_video, init_plugin },
1590
  { PLUGIN_VIDEO_DECODER, 18, "bitplane", XINE_VERSION_CODE, &dec_info_video, init_plugin },
1591
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1591
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libxinevdec/foovideo.c (-3 / +3 lines)
Lines 274-280 static void *init_plugin (xine_t *xine, Link Here
274
 * list of valid buffer types (and add a new one if the one you need does
274
 * list of valid buffer types (and add a new one if the one you need does
275
 * not exist). Terminate the list with a 0.
275
 * not exist). Terminate the list with a 0.
276
 */
276
 */
277
static uint32_t video_types[] = { 
277
static const uint32_t video_types[] = { 
278
  /* BUF_VIDEO_FOOVIDEO, */
278
  /* BUF_VIDEO_FOOVIDEO, */
279
  BUF_VIDEO_VQA,
279
  BUF_VIDEO_VQA,
280
  BUF_VIDEO_SORENSON_V3,
280
  BUF_VIDEO_SORENSON_V3,
Lines 287-293 static uint32_t video_types[] = { Link Here
287
 * plugins that handle the same buffer type. A plugin with priority (n+1)
287
 * plugins that handle the same buffer type. A plugin with priority (n+1)
288
 * will be used instead of a plugin with priority (n).
288
 * will be used instead of a plugin with priority (n).
289
 */
289
 */
290
static decoder_info_t dec_info_video = {
290
static const decoder_info_t dec_info_video = {
291
  video_types,         /* supported types */
291
  video_types,         /* supported types */
292
  5                    /* priority        */
292
  5                    /* priority        */
293
};
293
};
Lines 296-302 static decoder_info_t dec_info_video = { Link Here
296
 * The plugin catalog entry. This is the only information that this plugin
296
 * The plugin catalog entry. This is the only information that this plugin
297
 * will export to the public.
297
 * will export to the public.
298
 */
298
 */
299
plugin_info_t xine_plugin_info[] = {
299
const plugin_info_t xine_plugin_info[] = {
300
  /* { type, API, "name", version, special_info, init_function } */
300
  /* { type, API, "name", version, special_info, init_function } */
301
  { PLUGIN_VIDEO_DECODER, 18, "foovideo", XINE_VERSION_CODE, &dec_info_video, init_plugin },
301
  { PLUGIN_VIDEO_DECODER, 18, "foovideo", XINE_VERSION_CODE, &dec_info_video, init_plugin },
302
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
302
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libxinevdec/gdkpixbuf.c (-2 / +2 lines)
Lines 302-313 static void *init_class (xine_t *xine, v Link Here
302
static uint32_t supported_types[] = { BUF_VIDEO_IMAGE,
302
static uint32_t supported_types[] = { BUF_VIDEO_IMAGE,
303
                                      0 };
303
                                      0 };
304
304
305
static decoder_info_t dec_info_image = {
305
static const decoder_info_t dec_info_image = {
306
  supported_types,     /* supported types */
306
  supported_types,     /* supported types */
307
  7                    /* priority        */
307
  7                    /* priority        */
308
};
308
};
309
309
310
plugin_info_t xine_plugin_info[] = {
310
const plugin_info_t xine_plugin_info[] = {
311
  /* type, API, "name", version, special_info, init_function */  
311
  /* type, API, "name", version, special_info, init_function */  
312
  { PLUGIN_VIDEO_DECODER, 18, "gdkpixbuf", XINE_VERSION_CODE, &dec_info_image, init_class },
312
  { PLUGIN_VIDEO_DECODER, 18, "gdkpixbuf", XINE_VERSION_CODE, &dec_info_image, init_class },
313
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
313
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libxinevdec/image.c (-2 / +2 lines)
Lines 273-284 static void *init_class (xine_t *xine, v Link Here
273
static uint32_t supported_types[] = { BUF_VIDEO_IMAGE,
273
static uint32_t supported_types[] = { BUF_VIDEO_IMAGE,
274
                                      0 };
274
                                      0 };
275
275
276
static decoder_info_t dec_info_image = {
276
static const decoder_info_t dec_info_image = {
277
  supported_types,     /* supported types */
277
  supported_types,     /* supported types */
278
  6                    /* priority        */
278
  6                    /* priority        */
279
};
279
};
280
280
281
plugin_info_t xine_plugin_info[] = {
281
const plugin_info_t xine_plugin_info[] = {
282
  /* type, API, "name", version, special_info, init_function */  
282
  /* type, API, "name", version, special_info, init_function */  
283
  { PLUGIN_VIDEO_DECODER, 18, "image", XINE_VERSION_CODE, &dec_info_image, init_class },
283
  { PLUGIN_VIDEO_DECODER, 18, "image", XINE_VERSION_CODE, &dec_info_image, init_class },
284
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
284
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libxinevdec/rgb.c (-3 / +3 lines)
Lines 448-464 static void *init_plugin (xine_t *xine, Link Here
448
 * exported plugin catalog entry
448
 * exported plugin catalog entry
449
 */
449
 */
450
450
451
static uint32_t video_types[] = { 
451
static const uint32_t video_types[] = { 
452
  BUF_VIDEO_RGB,
452
  BUF_VIDEO_RGB,
453
  0
453
  0
454
 };
454
 };
455
455
456
static decoder_info_t dec_info_video = {
456
static const decoder_info_t dec_info_video = {
457
  video_types,         /* supported types */
457
  video_types,         /* supported types */
458
  1                    /* priority        */
458
  1                    /* priority        */
459
};
459
};
460
460
461
plugin_info_t xine_plugin_info[] = {
461
const plugin_info_t xine_plugin_info[] = {
462
  /* type, API, "name", version, special_info, init_function */  
462
  /* type, API, "name", version, special_info, init_function */  
463
  { PLUGIN_VIDEO_DECODER, 18, "rgb", XINE_VERSION_CODE, &dec_info_video, init_plugin },
463
  { PLUGIN_VIDEO_DECODER, 18, "rgb", XINE_VERSION_CODE, &dec_info_video, init_plugin },
464
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
464
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libxinevdec/yuv.c (-3 / +3 lines)
Lines 371-377 static void *init_plugin (xine_t *xine, Link Here
371
 * exported plugin catalog entry
371
 * exported plugin catalog entry
372
 */
372
 */
373
373
374
static uint32_t video_types[] = { 
374
static const uint32_t video_types[] = { 
375
  BUF_VIDEO_YUY2, 
375
  BUF_VIDEO_YUY2, 
376
  BUF_VIDEO_YV12,
376
  BUF_VIDEO_YV12,
377
  BUF_VIDEO_YVU9,
377
  BUF_VIDEO_YVU9,
Lines 380-391 static uint32_t video_types[] = { Link Here
380
  0
380
  0
381
 };
381
 };
382
382
383
static decoder_info_t dec_info_video = {
383
static const decoder_info_t dec_info_video = {
384
  video_types,         /* supported types */
384
  video_types,         /* supported types */
385
  1                    /* priority        */
385
  1                    /* priority        */
386
};
386
};
387
387
388
plugin_info_t xine_plugin_info[] = {
388
const plugin_info_t xine_plugin_info[] = {
389
  /* type, API, "name", version, special_info, init_function */  
389
  /* type, API, "name", version, special_info, init_function */  
390
  { PLUGIN_VIDEO_DECODER, 18, "yuv", XINE_VERSION_CODE, &dec_info_video, init_plugin },
390
  { PLUGIN_VIDEO_DECODER, 18, "yuv", XINE_VERSION_CODE, &dec_info_video, init_plugin },
391
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
391
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/post/audio/audio_filters.c (-5 / +5 lines)
Lines 30-42 Link Here
30
#include "audio_filters.h"
30
#include "audio_filters.h"
31
31
32
32
33
post_info_t upmix_special_info      = { XINE_POST_TYPE_AUDIO_FILTER };
33
static const post_info_t upmix_special_info      = { XINE_POST_TYPE_AUDIO_FILTER };
34
post_info_t upmix_mono_special_info = { XINE_POST_TYPE_AUDIO_FILTER };
34
static const post_info_t upmix_mono_special_info = { XINE_POST_TYPE_AUDIO_FILTER };
35
post_info_t stretch_special_info    = { XINE_POST_TYPE_AUDIO_FILTER };
35
static const post_info_t stretch_special_info    = { XINE_POST_TYPE_AUDIO_FILTER };
36
post_info_t volnorm_special_info    = { XINE_POST_TYPE_AUDIO_FILTER };
36
static const post_info_t volnorm_special_info    = { XINE_POST_TYPE_AUDIO_FILTER };
37
37
38
38
39
plugin_info_t xine_plugin_info[] = {
39
const plugin_info_t xine_plugin_info[] = {
40
  /* type, API, "name", version, special_info, init_function */  
40
  /* type, API, "name", version, special_info, init_function */  
41
  { PLUGIN_POST, 9, "upmix",      XINE_VERSION_CODE, &upmix_special_info,      &upmix_init_plugin },
41
  { PLUGIN_POST, 9, "upmix",      XINE_VERSION_CODE, &upmix_special_info,      &upmix_init_plugin },
42
  { PLUGIN_POST, 9, "upmix_mono", XINE_VERSION_CODE, &upmix_mono_special_info, &upmix_mono_init_plugin },
42
  { PLUGIN_POST, 9, "upmix_mono", XINE_VERSION_CODE, &upmix_mono_special_info, &upmix_mono_init_plugin },
(-)xine-lib-1.1.2cvs20060328/src/post/deinterlace/xine_plugin.c (-2 / +2 lines)
Lines 45-53 static void *deinterlace_init_plugin(xin Link Here
45
45
46
46
47
/* plugin catalog information */
47
/* plugin catalog information */
48
post_info_t deinterlace_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
48
static const post_info_t deinterlace_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
49
49
50
plugin_info_t xine_plugin_info[] = {
50
const plugin_info_t xine_plugin_info[] = {
51
  /* type, API, "name", version, special_info, init_function */  
51
  /* type, API, "name", version, special_info, init_function */  
52
  { PLUGIN_POST | PLUGIN_MUST_PRELOAD, 9, "tvtime", XINE_VERSION_CODE, &deinterlace_special_info, &deinterlace_init_plugin },
52
  { PLUGIN_POST | PLUGIN_MUST_PRELOAD, 9, "tvtime", XINE_VERSION_CODE, &deinterlace_special_info, &deinterlace_init_plugin },
53
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
53
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/post/goom/xine_goom.c (-3 / +3 lines)
Lines 50-56 Link Here
50
#define GOOM_HEIGHT 240
50
#define GOOM_HEIGHT 240
51
51
52
/* colorspace conversion methods */
52
/* colorspace conversion methods */
53
const char * goom_csc_methods[]={
53
static const char const * goom_csc_methods[]={
54
  "Fast but not photorealistic",
54
  "Fast but not photorealistic",
55
  "Slow but looks better",
55
  "Slow but looks better",
56
  NULL
56
  NULL
Lines 108-118 static void *goom_init_plugin(xine_t *xi Link Here
108
108
109
109
110
/* plugin catalog information */
110
/* plugin catalog information */
111
post_info_t goom_special_info = { 
111
const post_info_t goom_special_info = { 
112
  XINE_POST_TYPE_AUDIO_VISUALIZATION
112
  XINE_POST_TYPE_AUDIO_VISUALIZATION
113
};
113
};
114
114
115
plugin_info_t xine_plugin_info[] = {
115
const plugin_info_t xine_plugin_info[] = {
116
  /* type, API, "name", version, special_info, init_function */  
116
  /* type, API, "name", version, special_info, init_function */  
117
  { PLUGIN_POST | PLUGIN_MUST_PRELOAD, 9, "goom", XINE_VERSION_CODE, &goom_special_info, &goom_init_plugin },
117
  { PLUGIN_POST | PLUGIN_MUST_PRELOAD, 9, "goom", XINE_VERSION_CODE, &goom_special_info, &goom_init_plugin },
118
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
118
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/post/mosaico/mosaico.c (-2 / +2 lines)
Lines 39-47 Link Here
39
static void *mosaico_init_plugin(xine_t *xine, void *);
39
static void *mosaico_init_plugin(xine_t *xine, void *);
40
40
41
/* plugin catalog information */
41
/* plugin catalog information */
42
post_info_t mosaico_special_info = { XINE_POST_TYPE_VIDEO_COMPOSE };
42
static const post_info_t mosaico_special_info = { XINE_POST_TYPE_VIDEO_COMPOSE };
43
43
44
plugin_info_t xine_plugin_info[] = {
44
const plugin_info_t xine_plugin_info[] = {
45
  /* type, API, "name", version, special_info, init_function */  
45
  /* type, API, "name", version, special_info, init_function */  
46
  { PLUGIN_POST, 9, "mosaico", XINE_VERSION_CODE, &mosaico_special_info, &mosaico_init_plugin },
46
  { PLUGIN_POST, 9, "mosaico", XINE_VERSION_CODE, &mosaico_special_info, &mosaico_init_plugin },
47
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
47
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/post/mosaico/switch.c (-2 / +2 lines)
Lines 39-47 Link Here
39
static void *switch_init_plugin(xine_t *xine, void *);
39
static void *switch_init_plugin(xine_t *xine, void *);
40
40
41
/* plugin catalog information */
41
/* plugin catalog information */
42
post_info_t switch_special_info = { XINE_POST_TYPE_VIDEO_COMPOSE };
42
static const post_info_t switch_special_info = { XINE_POST_TYPE_VIDEO_COMPOSE };
43
43
44
plugin_info_t xine_plugin_info[] = {
44
const plugin_info_t xine_plugin_info[] = {
45
  /* type, API, "name", version, special_info, init_function */  
45
  /* type, API, "name", version, special_info, init_function */  
46
  { PLUGIN_POST, 9, "switch", XINE_VERSION_CODE, &switch_special_info, &switch_init_plugin },
46
  { PLUGIN_POST, 9, "switch", XINE_VERSION_CODE, &switch_special_info, &switch_init_plugin },
47
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
47
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/post/planar/planar.c (-11 / +11 lines)
Lines 27-62 Link Here
27
#include "xineutils.h"
27
#include "xineutils.h"
28
28
29
extern void *invert_init_plugin(xine_t *xine, void *);
29
extern void *invert_init_plugin(xine_t *xine, void *);
30
post_info_t invert_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
30
static const post_info_t invert_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
31
31
32
extern void *expand_init_plugin(xine_t *xine, void *);
32
extern void *expand_init_plugin(xine_t *xine, void *);
33
post_info_t expand_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
33
static const post_info_t expand_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
34
34
35
extern void *fill_init_plugin(xine_t *xine, void*);
35
extern void *fill_init_plugin(xine_t *xine, void*);
36
post_info_t fill_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
36
static const post_info_t fill_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
37
37
38
extern void *eq_init_plugin(xine_t *xine, void *);
38
extern void *eq_init_plugin(xine_t *xine, void *);
39
post_info_t eq_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
39
static const post_info_t eq_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
40
40
41
extern void *boxblur_init_plugin(xine_t *xine, void *);
41
extern void *boxblur_init_plugin(xine_t *xine, void *);
42
post_info_t boxblur_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
42
static const post_info_t boxblur_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
43
43
44
extern void *denoise3d_init_plugin(xine_t *xine, void *);
44
extern void *denoise3d_init_plugin(xine_t *xine, void *);
45
post_info_t denoise3d_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
45
static const post_info_t denoise3d_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
46
46
47
extern void *eq2_init_plugin(xine_t *xine, void *);
47
extern void *eq2_init_plugin(xine_t *xine, void *);
48
post_info_t eq2_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
48
static const post_info_t eq2_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
49
49
50
extern void *unsharp_init_plugin(xine_t *xine, void *);
50
extern void *unsharp_init_plugin(xine_t *xine, void *);
51
post_info_t unsharp_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
51
static const post_info_t unsharp_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
52
52
53
extern void *pp_init_plugin(xine_t *xine, void *);
53
extern void *pp_init_plugin(xine_t *xine, void *);
54
post_info_t pp_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
54
static const post_info_t pp_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
55
55
56
extern void *noise_init_plugin(xine_t *xine, void *);
56
extern void *noise_init_plugin(xine_t *xine, void *);
57
post_info_t noise_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
57
static const post_info_t noise_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
58
58
59
plugin_info_t xine_plugin_info[] = {
59
const plugin_info_t xine_plugin_info[] = {
60
  /* type, API, "name", version, special_info, init_function */  
60
  /* type, API, "name", version, special_info, init_function */  
61
  { PLUGIN_POST, 9, "expand", XINE_VERSION_CODE, &expand_special_info, &expand_init_plugin },
61
  { PLUGIN_POST, 9, "expand", XINE_VERSION_CODE, &expand_special_info, &expand_init_plugin },
62
  { PLUGIN_POST, 9, "fill", XINE_VERSION_CODE, &fill_special_info, &fill_init_plugin },
62
  { PLUGIN_POST, 9, "fill", XINE_VERSION_CODE, &fill_special_info, &fill_init_plugin },
(-)xine-lib-1.1.2cvs20060328/src/post/visualizations/fooviz.c (-2 / +2 lines)
Lines 313-321 static void *fooviz_init_plugin(xine_t * Link Here
313
}
313
}
314
314
315
/* plugin catalog information */
315
/* plugin catalog information */
316
post_info_t fooviz_special_info = { XINE_POST_TYPE_AUDIO_VISUALIZATION };
316
static const post_info_t fooviz_special_info = { XINE_POST_TYPE_AUDIO_VISUALIZATION };
317
317
318
plugin_info_t xine_plugin_info[] = {
318
const plugin_info_t xine_plugin_info[] = {
319
  /* type, API, "name", version, special_info, init_function */  
319
  /* type, API, "name", version, special_info, init_function */  
320
  { PLUGIN_POST, 9, "fooviz", XINE_VERSION_CODE, &fooviz_special_info, &fooviz_init_plugin },
320
  { PLUGIN_POST, 9, "fooviz", XINE_VERSION_CODE, &fooviz_special_info, &fooviz_init_plugin },
321
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
321
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/post/visualizations/visualizations.c (-4 / +4 lines)
Lines 41-52 void *fftgraph_init_plugin(xine_t *xine, Link Here
41
 */
41
 */
42
42
43
/* plugin catalog information */
43
/* plugin catalog information */
44
post_info_t oscope_special_info = { XINE_POST_TYPE_AUDIO_VISUALIZATION };
44
static const post_info_t oscope_special_info = { XINE_POST_TYPE_AUDIO_VISUALIZATION };
45
post_info_t fftscope_special_info = { XINE_POST_TYPE_AUDIO_VISUALIZATION };
45
static const post_info_t fftscope_special_info = { XINE_POST_TYPE_AUDIO_VISUALIZATION };
46
post_info_t fftgraph_special_info = { XINE_POST_TYPE_AUDIO_VISUALIZATION };
46
static const post_info_t fftgraph_special_info = { XINE_POST_TYPE_AUDIO_VISUALIZATION };
47
47
48
48
49
plugin_info_t xine_plugin_info[] = {
49
const plugin_info_t xine_plugin_info[] = {
50
  /* type, API, "name", version, special_info, init_function */
50
  /* type, API, "name", version, special_info, init_function */
51
  { PLUGIN_POST, 9, "oscope", XINE_VERSION_CODE, &oscope_special_info, &oscope_init_plugin },
51
  { PLUGIN_POST, 9, "oscope", XINE_VERSION_CODE, &oscope_special_info, &oscope_init_plugin },
52
  { PLUGIN_POST, 9, "fftscope", XINE_VERSION_CODE, &fftscope_special_info, &fftscope_init_plugin },
52
  { PLUGIN_POST, 9, "fftscope", XINE_VERSION_CODE, &fftscope_special_info, &fftscope_init_plugin },
(-)xine-lib-1.1.2cvs20060328/src/video_out/video_out_aa.c (-2 / +2 lines)
Lines 332-343 static void *init_class (xine_t *xine, v Link Here
332
  return this;
332
  return this;
333
}
333
}
334
334
335
static vo_info_t vo_info_aa = {
335
static const vo_info_t vo_info_aa = {
336
  6,
336
  6,
337
  XINE_VISUAL_TYPE_AA
337
  XINE_VISUAL_TYPE_AA
338
};
338
};
339
339
340
plugin_info_t xine_plugin_info[] = {
340
const plugin_info_t xine_plugin_info[] = {
341
  /* type, API, "name", version, special_info, init_function */  
341
  /* type, API, "name", version, special_info, init_function */  
342
  { PLUGIN_VIDEO_OUT, 21, "aa", XINE_VERSION_CODE, &vo_info_aa, init_class },
342
  { PLUGIN_VIDEO_OUT, 21, "aa", XINE_VERSION_CODE, &vo_info_aa, init_class },
343
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
343
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/video_out/video_out_caca.c (-2 / +2 lines)
Lines 333-344 static void *init_class (xine_t *xine, v Link Here
333
  return this;
333
  return this;
334
}
334
}
335
335
336
static vo_info_t vo_info_caca = {
336
static const vo_info_t vo_info_caca = {
337
  6,
337
  6,
338
  XINE_VISUAL_TYPE_CACA
338
  XINE_VISUAL_TYPE_CACA
339
};
339
};
340
340
341
plugin_info_t xine_plugin_info[] = {
341
const plugin_info_t xine_plugin_info[] = {
342
  /* type, API, "name", version, special_info, init_function */  
342
  /* type, API, "name", version, special_info, init_function */  
343
  { PLUGIN_VIDEO_OUT, 21, "caca", XINE_VERSION_CODE, &vo_info_caca, init_class },
343
  { PLUGIN_VIDEO_OUT, 21, "caca", XINE_VERSION_CODE, &vo_info_caca, init_class },
344
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
344
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/video_out/video_out_directfb.c (-3 / +3 lines)
Lines 1577-1583 static void *init_class_fb (xine_t *xine Link Here
1577
  return this;
1577
  return this;
1578
}
1578
}
1579
1579
1580
static vo_info_t vo_info_directfb_fb = {
1580
static const vo_info_t vo_info_directfb_fb = {
1581
  8,                   /* priority    */
1581
  8,                   /* priority    */
1582
  XINE_VISUAL_TYPE_FB  /* visual type */
1582
  XINE_VISUAL_TYPE_FB  /* visual type */
1583
};
1583
};
Lines 1768-1774 static void *init_class_x11 (xine_t *xin Link Here
1768
  return this;
1768
  return this;
1769
}
1769
}
1770
1770
1771
static vo_info_t vo_info_directfb_x11 = {
1771
static const vo_info_t vo_info_directfb_x11 = {
1772
  8,                    /* priority    */
1772
  8,                    /* priority    */
1773
  XINE_VISUAL_TYPE_X11  /* visual type */
1773
  XINE_VISUAL_TYPE_X11  /* visual type */
1774
};
1774
};
Lines 1776-1782 static vo_info_t vo_info_directfb_x11 = Link Here
1776
1776
1777
/*********/
1777
/*********/
1778
1778
1779
plugin_info_t xine_plugin_info[] = {
1779
const plugin_info_t xine_plugin_info[] = {
1780
  /* type, API, "name", version, special_info, init_function */
1780
  /* type, API, "name", version, special_info, init_function */
1781
  { PLUGIN_VIDEO_OUT, VIDEO_OUT_DRIVER_IFACE_VERSION, "DirectFB",
1781
  { PLUGIN_VIDEO_OUT, VIDEO_OUT_DRIVER_IFACE_VERSION, "DirectFB",
1782
    XINE_VERSION_CODE, &vo_info_directfb_fb, init_class_fb },
1782
    XINE_VERSION_CODE, &vo_info_directfb_fb, init_class_fb },
(-)xine-lib-1.1.2cvs20060328/src/video_out/video_out_directx.c (-2 / +2 lines)
Lines 1264-1270 static void *init_class (xine_t *xine, v Link Here
1264
  return directx;
1264
  return directx;
1265
}
1265
}
1266
1266
1267
static vo_info_t vo_info_win32 = {
1267
static const vo_info_t vo_info_win32 = {
1268
  7,                        /* priority    */
1268
  7,                        /* priority    */
1269
  XINE_VISUAL_TYPE_DIRECTX  /* visual type */
1269
  XINE_VISUAL_TYPE_DIRECTX  /* visual type */
1270
};
1270
};
Lines 1273-1279 static vo_info_t vo_info_win32 = { Link Here
1273
 * exported plugin catalog entry
1273
 * exported plugin catalog entry
1274
 */
1274
 */
1275
1275
1276
plugin_info_t xine_plugin_info[] = {
1276
const plugin_info_t xine_plugin_info[] = {
1277
  /* type, API, "name", version, special_info, init_function */
1277
  /* type, API, "name", version, special_info, init_function */
1278
  { PLUGIN_VIDEO_OUT, 21, "vo_directx", XINE_VERSION_CODE, &vo_info_win32, init_class },
1278
  { PLUGIN_VIDEO_OUT, 21, "vo_directx", XINE_VERSION_CODE, &vo_info_win32, init_class },
1279
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1279
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/video_out/video_out_fb.c (-2 / +2 lines)
Lines 1122-1128 static void *fb_init_class(xine_t *xine, Link Here
1122
  return this;
1122
  return this;
1123
}
1123
}
1124
1124
1125
static vo_info_t vo_info_fb =
1125
static const vo_info_t vo_info_fb =
1126
{
1126
{
1127
  1,                    /* priority    */
1127
  1,                    /* priority    */
1128
#ifdef USE_X11_VISUAL
1128
#ifdef USE_X11_VISUAL
Lines 1133-1139 static vo_info_t vo_info_fb = Link Here
1133
};
1133
};
1134
1134
1135
/* exported plugin catalog entry */
1135
/* exported plugin catalog entry */
1136
plugin_info_t xine_plugin_info[] = {
1136
const plugin_info_t xine_plugin_info[] = {
1137
  /* type, API, "name", version, special_info, init_function */  
1137
  /* type, API, "name", version, special_info, init_function */  
1138
  { PLUGIN_VIDEO_OUT, 21, "fb", XINE_VERSION_CODE, &vo_info_fb, fb_init_class },
1138
  { PLUGIN_VIDEO_OUT, 21, "fb", XINE_VERSION_CODE, &vo_info_fb, fb_init_class },
1139
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1139
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/video_out/video_out_none.c (-2 / +2 lines)
Lines 301-312 static void *init_class (xine_t *xine, v Link Here
301
  return this;
301
  return this;
302
}
302
}
303
303
304
static vo_info_t vo_info_none = {
304
static const vo_info_t vo_info_none = {
305
  5,                        /* Priority    */
305
  5,                        /* Priority    */
306
  XINE_VISUAL_TYPE_NONE     /* Visual type */
306
  XINE_VISUAL_TYPE_NONE     /* Visual type */
307
};
307
};
308
308
309
plugin_info_t xine_plugin_info[] = {
309
const plugin_info_t xine_plugin_info[] = {
310
  /* type, API, "name", version, special_info, init_function */  
310
  /* type, API, "name", version, special_info, init_function */  
311
  { PLUGIN_VIDEO_OUT, 21, "none", XINE_VERSION_CODE, &vo_info_none, init_class },
311
  { PLUGIN_VIDEO_OUT, 21, "none", XINE_VERSION_CODE, &vo_info_none, init_class },
312
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
312
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/video_out/video_out_opengl.c (-2 / +2 lines)
Lines 1982-1988 static void *opengl_init_class (xine_t * Link Here
1982
}
1982
}
1983
1983
1984
1984
1985
static vo_info_t vo_info_opengl = {
1985
static const vo_info_t vo_info_opengl = {
1986
  7,                    /* priority    */
1986
  7,                    /* priority    */
1987
  XINE_VISUAL_TYPE_X11  /* visual type */
1987
  XINE_VISUAL_TYPE_X11  /* visual type */
1988
};
1988
};
Lines 1992-1998 static vo_info_t vo_info_opengl = { Link Here
1992
 * exported plugin catalog entry
1992
 * exported plugin catalog entry
1993
 */
1993
 */
1994
1994
1995
plugin_info_t xine_plugin_info[] = {
1995
const plugin_info_t xine_plugin_info[] = {
1996
  /* type, API, "name", version, special_info, init_function */  
1996
  /* type, API, "name", version, special_info, init_function */  
1997
  { PLUGIN_VIDEO_OUT, 21, "opengl", XINE_VERSION_CODE, &vo_info_opengl, opengl_init_class },
1997
  { PLUGIN_VIDEO_OUT, 21, "opengl", XINE_VERSION_CODE, &vo_info_opengl, opengl_init_class },
1998
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1998
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/video_out/video_out_pgx32.c (-2 / +2 lines)
Lines 793-799 static void pgx32_dispose_class(video_dr Link Here
793
  free(class);
793
  free(class);
794
}
794
}
795
795
796
static vo_info_t vo_info_pgx32 = {
796
static const vo_info_t vo_info_pgx32 = {
797
  10,
797
  10,
798
  XINE_VISUAL_TYPE_X11
798
  XINE_VISUAL_TYPE_X11
799
};
799
};
Lines 890-896 static void *pgx32_init_class(xine_t *xi Link Here
890
  return class;
890
  return class;
891
}
891
}
892
892
893
plugin_info_t xine_plugin_info[] = {
893
const plugin_info_t xine_plugin_info[] = {
894
  {PLUGIN_VIDEO_OUT, 21, "pgx32", XINE_VERSION_CODE, &vo_info_pgx32, pgx32_init_class},
894
  {PLUGIN_VIDEO_OUT, 21, "pgx32", XINE_VERSION_CODE, &vo_info_pgx32, pgx32_init_class},
895
  {PLUGIN_NONE, 0, "", 0, NULL, NULL}
895
  {PLUGIN_NONE, 0, "", 0, NULL, NULL}
896
};
896
};
(-)xine-lib-1.1.2cvs20060328/src/video_out/video_out_pgx64.c (-2 / +2 lines)
Lines 1343-1349 static void pgx64_dispose_class(video_dr Link Here
1343
  free(class);
1343
  free(class);
1344
}
1344
}
1345
1345
1346
static vo_info_t vo_info_pgx64 = {
1346
static const vo_info_t vo_info_pgx64 = {
1347
  10,
1347
  10,
1348
  XINE_VISUAL_TYPE_X11
1348
  XINE_VISUAL_TYPE_X11
1349
};
1349
};
Lines 1514-1520 static void *pgx64_init_class(xine_t *xi Link Here
1514
  return class;
1514
  return class;
1515
}
1515
}
1516
1516
1517
plugin_info_t xine_plugin_info[] = {
1517
const plugin_info_t xine_plugin_info[] = {
1518
  {PLUGIN_VIDEO_OUT, 21, "pgx64", XINE_VERSION_CODE, &vo_info_pgx64, pgx64_init_class},
1518
  {PLUGIN_VIDEO_OUT, 21, "pgx64", XINE_VERSION_CODE, &vo_info_pgx64, pgx64_init_class},
1519
  {PLUGIN_NONE, 0, "", 0, NULL, NULL}
1519
  {PLUGIN_NONE, 0, "", 0, NULL, NULL}
1520
};
1520
};
(-)xine-lib-1.1.2cvs20060328/src/video_out/video_out_sdl.c (-2 / +2 lines)
Lines 603-614 static void *init_class (xine_t *xine, v Link Here
603
  return this;
603
  return this;
604
}
604
}
605
605
606
static vo_info_t vo_info_sdl = {
606
static const vo_info_t vo_info_sdl = {
607
  4,                    /* priority */
607
  4,                    /* priority */
608
  XINE_VISUAL_TYPE_X11, /* visual type supported by this plugin */
608
  XINE_VISUAL_TYPE_X11, /* visual type supported by this plugin */
609
};
609
};
610
610
611
plugin_info_t xine_plugin_info[] = {
611
const plugin_info_t xine_plugin_info[] = {
612
  /* type, API, "name", version, special_info, init_function */
612
  /* type, API, "name", version, special_info, init_function */
613
  { PLUGIN_VIDEO_OUT, 21, "sdl", XINE_VERSION_CODE, &vo_info_sdl, init_class },
613
  { PLUGIN_VIDEO_OUT, 21, "sdl", XINE_VERSION_CODE, &vo_info_sdl, init_class },
614
  { PLUGIN_NONE, 0, "" , 0 , NULL, NULL}
614
  { PLUGIN_NONE, 0, "" , 0 , NULL, NULL}
(-)xine-lib-1.1.2cvs20060328/src/video_out/video_out_stk.c (-2 / +2 lines)
Lines 479-490 static void *init_class (xine_t *xine, v Link Here
479
}
479
}
480
480
481
/* what priority should we be (what is low), what vistype should we declare ? */
481
/* what priority should we be (what is low), what vistype should we declare ? */
482
static vo_info_t vo_info_stk = {
482
static const vo_info_t vo_info_stk = {
483
    4,                    /* priority */
483
    4,                    /* priority */
484
    XINE_VISUAL_TYPE_FB,  /* visual type supported by this plugin */
484
    XINE_VISUAL_TYPE_FB,  /* visual type supported by this plugin */
485
};
485
};
486
486
487
plugin_info_t xine_plugin_info[] = {
487
const plugin_info_t xine_plugin_info[] = {
488
    /* type, API, "name", version, special_info, init_function */
488
    /* type, API, "name", version, special_info, init_function */
489
    { PLUGIN_VIDEO_OUT, 21, "stk", XINE_VERSION_CODE, &vo_info_stk, init_class },
489
    { PLUGIN_VIDEO_OUT, 21, "stk", XINE_VERSION_CODE, &vo_info_stk, init_class },
490
    { PLUGIN_NONE, 0, "" , 0 , NULL, NULL}
490
    { PLUGIN_NONE, 0, "" , 0 , NULL, NULL}
(-)xine-lib-1.1.2cvs20060328/src/video_out/video_out_syncfb.c (-2 / +2 lines)
Lines 1106-1112 static void *init_class (xine_t *xine, v Link Here
1106
  return this;
1106
  return this;
1107
}
1107
}
1108
1108
1109
static vo_info_t vo_info_syncfb = {
1109
static const vo_info_t vo_info_syncfb = {
1110
  7,                    /* priority    */
1110
  7,                    /* priority    */
1111
  XINE_VISUAL_TYPE_X11  /* visual type */
1111
  XINE_VISUAL_TYPE_X11  /* visual type */
1112
};
1112
};
Lines 1115-1121 static vo_info_t vo_info_syncfb = { Link Here
1115
 * exported plugin catalog entry
1115
 * exported plugin catalog entry
1116
 */
1116
 */
1117
1117
1118
plugin_info_t xine_plugin_info[] = {
1118
const plugin_info_t xine_plugin_info[] = {
1119
  /* type, API, "name", version, special_info, init_function */
1119
  /* type, API, "name", version, special_info, init_function */
1120
  { PLUGIN_VIDEO_OUT, 21, "SyncFB", XINE_VERSION_CODE, &vo_info_syncfb, init_class },
1120
  { PLUGIN_VIDEO_OUT, 21, "SyncFB", XINE_VERSION_CODE, &vo_info_syncfb, init_class },
1121
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1121
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/video_out/video_out_vidix.c (-3 / +3 lines)
Lines 1216-1222 static void *vidix_init_class (xine_t *x Link Here
1216
  return this;
1216
  return this;
1217
}
1217
}
1218
1218
1219
static vo_info_t vo_info_vidix = {
1219
static const vo_info_t vo_info_vidix = {
1220
  2,                    /* priority    */
1220
  2,                    /* priority    */
1221
  XINE_VISUAL_TYPE_X11  /* visual type */
1221
  XINE_VISUAL_TYPE_X11  /* visual type */
1222
};
1222
};
Lines 1298-1304 static void *vidixfb_init_class (xine_t Link Here
1298
  return this;
1298
  return this;
1299
}
1299
}
1300
1300
1301
static vo_info_t vo_info_vidixfb = {
1301
static const vo_info_t vo_info_vidixfb = {
1302
  2,                    /* priority    */
1302
  2,                    /* priority    */
1303
  XINE_VISUAL_TYPE_FB   /* visual type */
1303
  XINE_VISUAL_TYPE_FB   /* visual type */
1304
};
1304
};
Lines 1308-1314 static vo_info_t vo_info_vidixfb = { Link Here
1308
 * exported plugin catalog entry
1308
 * exported plugin catalog entry
1309
 */
1309
 */
1310
1310
1311
plugin_info_t xine_plugin_info[] = {
1311
const plugin_info_t xine_plugin_info[] = {
1312
  /* type, API, "name", version, special_info, init_function */  
1312
  /* type, API, "name", version, special_info, init_function */  
1313
#ifdef HAVE_X11
1313
#ifdef HAVE_X11
1314
  { PLUGIN_VIDEO_OUT, 21, "vidix", XINE_VERSION_CODE, &vo_info_vidix, vidix_init_class },
1314
  { PLUGIN_VIDEO_OUT, 21, "vidix", XINE_VERSION_CODE, &vo_info_vidix, vidix_init_class },
(-)xine-lib-1.1.2cvs20060328/src/video_out/video_out_xshm.c (-2 / +2 lines)
Lines 1289-1295 static void *xshm_init_class (xine_t *xi Link Here
1289
}
1289
}
1290
1290
1291
1291
1292
static vo_info_t vo_info_xshm = {
1292
static const vo_info_t vo_info_xshm = {
1293
  6,                    /* priority    */
1293
  6,                    /* priority    */
1294
  XINE_VISUAL_TYPE_X11  /* visual type */
1294
  XINE_VISUAL_TYPE_X11  /* visual type */
1295
};
1295
};
Lines 1299-1305 static vo_info_t vo_info_xshm = { Link Here
1299
 * exported plugin catalog entry
1299
 * exported plugin catalog entry
1300
 */
1300
 */
1301
1301
1302
plugin_info_t xine_plugin_info[] = {
1302
const plugin_info_t xine_plugin_info[] = {
1303
  /* type, API, "name", version, special_info, init_function */  
1303
  /* type, API, "name", version, special_info, init_function */  
1304
  { PLUGIN_VIDEO_OUT, 21, "xshm", XINE_VERSION_CODE, &vo_info_xshm, xshm_init_class },
1304
  { PLUGIN_VIDEO_OUT, 21, "xshm", XINE_VERSION_CODE, &vo_info_xshm, xshm_init_class },
1305
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1305
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/video_out/video_out_xv.c (-2 / +2 lines)
Lines 1597-1603 static void *init_class (xine_t *xine, v Link Here
1597
  return this;
1597
  return this;
1598
}
1598
}
1599
1599
1600
static vo_info_t vo_info_xv = {
1600
static const vo_info_t vo_info_xv = {
1601
  9,                    /* priority    */
1601
  9,                    /* priority    */
1602
  XINE_VISUAL_TYPE_X11  /* visual type */
1602
  XINE_VISUAL_TYPE_X11  /* visual type */
1603
};
1603
};
Lines 1606-1612 static vo_info_t vo_info_xv = { Link Here
1606
 * exported plugin catalog entry
1606
 * exported plugin catalog entry
1607
 */
1607
 */
1608
1608
1609
plugin_info_t xine_plugin_info[] = {
1609
const plugin_info_t xine_plugin_info[] = {
1610
  /* type, API, "name", version, special_info, init_function */
1610
  /* type, API, "name", version, special_info, init_function */
1611
  { PLUGIN_VIDEO_OUT, 21, "xv", XINE_VERSION_CODE, &vo_info_xv, init_class },
1611
  { PLUGIN_VIDEO_OUT, 21, "xv", XINE_VERSION_CODE, &vo_info_xv, init_class },
1612
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1612
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/video_out/video_out_xvmc.c (-2 / +2 lines)
Lines 1786-1792 static void *init_class (xine_t *xine, v Link Here
1786
  return this;
1786
  return this;
1787
}
1787
}
1788
1788
1789
static vo_info_t vo_info_xvmc = {
1789
static const vo_info_t vo_info_xvmc = {
1790
  /* priority must be low until it supports displaying non-accelerated stuff */
1790
  /* priority must be low until it supports displaying non-accelerated stuff */
1791
  0,                    /* priority    */
1791
  0,                    /* priority    */
1792
  XINE_VISUAL_TYPE_X11  /* visual type */
1792
  XINE_VISUAL_TYPE_X11  /* visual type */
Lines 1796-1802 static vo_info_t vo_info_xvmc = { Link Here
1796
 * exported plugin catalog entry
1796
 * exported plugin catalog entry
1797
 */
1797
 */
1798
1798
1799
plugin_info_t xine_plugin_info[] = {
1799
const plugin_info_t xine_plugin_info[] = {
1800
  /* type, API, "name", version, special_info, init_function */
1800
  /* type, API, "name", version, special_info, init_function */
1801
  { PLUGIN_VIDEO_OUT, 21, "xvmc", XINE_VERSION_CODE, &vo_info_xvmc, init_class },
1801
  { PLUGIN_VIDEO_OUT, 21, "xvmc", XINE_VERSION_CODE, &vo_info_xvmc, init_class },
1802
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
1802
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/video_out/video_out_xxmc.c (-2 / +2 lines)
Lines 2633-2639 static void *init_class (xine_t *xine, v Link Here
2633
  return this;
2633
  return this;
2634
}
2634
}
2635
2635
2636
static vo_info_t vo_info_xxmc = {
2636
static const vo_info_t vo_info_xxmc = {
2637
  /* keep priority lower than Xv for now. we may increase this
2637
  /* keep priority lower than Xv for now. we may increase this
2638
   * when the xxmc driver is more mature/tested.
2638
   * when the xxmc driver is more mature/tested.
2639
   */
2639
   */
Lines 2645-2651 static vo_info_t vo_info_xxmc = { Link Here
2645
 * exported plugin catalog entry
2645
 * exported plugin catalog entry
2646
 */
2646
 */
2647
2647
2648
plugin_info_t xine_plugin_info[] = {
2648
const plugin_info_t xine_plugin_info[] = {
2649
  /* type, API, "name", version, special_info, init_function */
2649
  /* type, API, "name", version, special_info, init_function */
2650
  { PLUGIN_VIDEO_OUT, 21, "xxmc", XINE_VERSION_CODE, &vo_info_xxmc, init_class },
2650
  { PLUGIN_VIDEO_OUT, 21, "xxmc", XINE_VERSION_CODE, &vo_info_xxmc, init_class },
2651
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
2651
  { PLUGIN_NONE, 0, "", 0, NULL, NULL }
(-)xine-lib-1.1.2cvs20060328/src/libmpeg2/vlc.h (-22 / +22 lines)
Lines 97-110 typedef struct { Link Here
97
#define INTRA MACROBLOCK_INTRA
97
#define INTRA MACROBLOCK_INTRA
98
#define QUANT MACROBLOCK_QUANT
98
#define QUANT MACROBLOCK_QUANT
99
99
100
static MBtab MB_I [] = {
100
static const MBtab MB_I [] = {
101
    {INTRA|QUANT, 2}, {INTRA, 1}
101
    {INTRA|QUANT, 2}, {INTRA, 1}
102
};
102
};
103
103
104
#define MC MACROBLOCK_MOTION_FORWARD
104
#define MC MACROBLOCK_MOTION_FORWARD
105
#define CODED MACROBLOCK_PATTERN
105
#define CODED MACROBLOCK_PATTERN
106
106
107
static MBtab MB_P [] = {
107
static const MBtab MB_P [] = {
108
    {INTRA|QUANT, 6}, {CODED|QUANT, 5}, {MC|CODED|QUANT, 5}, {INTRA,    5},
108
    {INTRA|QUANT, 6}, {CODED|QUANT, 5}, {MC|CODED|QUANT, 5}, {INTRA,    5},
109
    {MC,          3}, {MC,          3}, {MC,             3}, {MC,       3},
109
    {MC,          3}, {MC,          3}, {MC,             3}, {MC,       3},
110
    {CODED,       2}, {CODED,       2}, {CODED,          2}, {CODED,    2},
110
    {CODED,       2}, {CODED,       2}, {CODED,          2}, {CODED,    2},
Lines 119-125 static MBtab MB_P [] = { Link Here
119
#define BWD MACROBLOCK_MOTION_BACKWARD
119
#define BWD MACROBLOCK_MOTION_BACKWARD
120
#define INTER MACROBLOCK_MOTION_FORWARD|MACROBLOCK_MOTION_BACKWARD
120
#define INTER MACROBLOCK_MOTION_FORWARD|MACROBLOCK_MOTION_BACKWARD
121
121
122
static MBtab MB_B [] = {
122
static const MBtab MB_B [] = {
123
    {0,                 0}, {INTRA|QUANT,       6},
123
    {0,                 0}, {INTRA|QUANT,       6},
124
    {BWD|CODED|QUANT,   6}, {FWD|CODED|QUANT,   6},
124
    {BWD|CODED|QUANT,   6}, {FWD|CODED|QUANT,   6},
125
    {INTER|CODED|QUANT, 5}, {INTER|CODED|QUANT, 5},
125
    {INTER|CODED|QUANT, 5}, {INTER|CODED|QUANT, 5},
Lines 149-159 static MBtab MB_B [] = { Link Here
149
#undef INTER
149
#undef INTER
150
150
151
151
152
static MVtab MV_4 [] = {
152
static const MVtab MV_4 [] = {
153
    { 3, 6}, { 2, 4}, { 1, 3}, { 1, 3}, { 0, 2}, { 0, 2}, { 0, 2}, { 0, 2}
153
    { 3, 6}, { 2, 4}, { 1, 3}, { 1, 3}, { 0, 2}, { 0, 2}, { 0, 2}, { 0, 2}
154
};
154
};
155
155
156
static MVtab MV_10 [] = {
156
static const MVtab MV_10 [] = {
157
    { 0,10}, { 0,10}, { 0,10}, { 0,10}, { 0,10}, { 0,10}, { 0,10}, { 0,10},
157
    { 0,10}, { 0,10}, { 0,10}, { 0,10}, { 0,10}, { 0,10}, { 0,10}, { 0,10},
158
    { 0,10}, { 0,10}, { 0,10}, { 0,10}, {15,10}, {14,10}, {13,10}, {12,10},
158
    { 0,10}, { 0,10}, { 0,10}, { 0,10}, {15,10}, {14,10}, {13,10}, {12,10},
159
    {11,10}, {10,10}, { 9, 9}, { 9, 9}, { 8, 9}, { 8, 9}, { 7, 9}, { 7, 9},
159
    {11,10}, {10,10}, { 9, 9}, { 9, 9}, { 8, 9}, { 8, 9}, { 7, 9}, { 7, 9},
Lines 163-174 static MVtab MV_10 [] = { Link Here
163
};
163
};
164
164
165
165
166
static DMVtab DMV_2 [] = {
166
static const DMVtab DMV_2 [] = {
167
    { 0, 1}, { 0, 1}, { 1, 2}, {-1, 2}
167
    { 0, 1}, { 0, 1}, { 1, 2}, {-1, 2}
168
};
168
};
169
169
170
170
171
static CBPtab CBP_7 [] = {
171
static const CBPtab CBP_7 [] = {
172
    {0x22, 7}, {0x12, 7}, {0x0a, 7}, {0x06, 7},
172
    {0x22, 7}, {0x12, 7}, {0x0a, 7}, {0x06, 7},
173
    {0x21, 7}, {0x11, 7}, {0x09, 7}, {0x05, 7},
173
    {0x21, 7}, {0x11, 7}, {0x09, 7}, {0x05, 7},
174
    {0x3f, 6}, {0x3f, 6}, {0x03, 6}, {0x03, 6},
174
    {0x3f, 6}, {0x3f, 6}, {0x03, 6}, {0x03, 6},
Lines 199-205 static CBPtab CBP_7 [] = { Link Here
199
    {0x3c, 3}, {0x3c, 3}, {0x3c, 3}, {0x3c, 3}
199
    {0x3c, 3}, {0x3c, 3}, {0x3c, 3}, {0x3c, 3}
200
};
200
};
201
201
202
static CBPtab CBP_9 [] = {
202
static const CBPtab CBP_9 [] = {
203
    {0,    0}, {0x00, 9}, {0x27, 9}, {0x1b, 9},
203
    {0,    0}, {0x00, 9}, {0x27, 9}, {0x1b, 9},
204
    {0x3b, 9}, {0x37, 9}, {0x2f, 9}, {0x1f, 9},
204
    {0x3b, 9}, {0x37, 9}, {0x2f, 9}, {0x1f, 9},
205
    {0x3a, 8}, {0x3a, 8}, {0x36, 8}, {0x36, 8},
205
    {0x3a, 8}, {0x3a, 8}, {0x36, 8}, {0x36, 8},
Lines 219-239 static CBPtab CBP_9 [] = { Link Here
219
};
219
};
220
220
221
221
222
static DCtab DC_lum_5 [] = {
222
static const DCtab DC_lum_5 [] = {
223
    {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2},
223
    {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2},
224
    {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2},
224
    {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2},
225
    {0, 3}, {0, 3}, {0, 3}, {0, 3}, {3, 3}, {3, 3}, {3, 3}, {3, 3},
225
    {0, 3}, {0, 3}, {0, 3}, {0, 3}, {3, 3}, {3, 3}, {3, 3}, {3, 3},
226
    {4, 3}, {4, 3}, {4, 3}, {4, 3}, {5, 4}, {5, 4}, {6, 5}
226
    {4, 3}, {4, 3}, {4, 3}, {4, 3}, {5, 4}, {5, 4}, {6, 5}
227
};
227
};
228
228
229
static DCtab DC_chrom_5 [] = {
229
static const DCtab DC_chrom_5 [] = {
230
    {0, 2}, {0, 2}, {0, 2}, {0, 2}, {0, 2}, {0, 2}, {0, 2}, {0, 2},
230
    {0, 2}, {0, 2}, {0, 2}, {0, 2}, {0, 2}, {0, 2}, {0, 2}, {0, 2},
231
    {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2},
231
    {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2},
232
    {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2},
232
    {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2},
233
    {3, 3}, {3, 3}, {3, 3}, {3, 3}, {4, 4}, {4, 4}, {5, 5}
233
    {3, 3}, {3, 3}, {3, 3}, {3, 3}, {4, 4}, {4, 4}, {5, 5}
234
};
234
};
235
235
236
static DCtab DC_long [] = {
236
static const DCtab DC_long [] = {
237
    {6, 5}, {6, 5}, {6, 5}, {6, 5}, {6, 5}, {6, 5}, { 6, 5}, { 6, 5},
237
    {6, 5}, {6, 5}, {6, 5}, {6, 5}, {6, 5}, {6, 5}, { 6, 5}, { 6, 5},
238
    {6, 5}, {6, 5}, {6, 5}, {6, 5}, {6, 5}, {6, 5}, { 6, 5}, { 6, 5},
238
    {6, 5}, {6, 5}, {6, 5}, {6, 5}, {6, 5}, {6, 5}, { 6, 5}, { 6, 5},
239
    {7, 6}, {7, 6}, {7, 6}, {7, 6}, {7, 6}, {7, 6}, { 7, 6}, { 7, 6},
239
    {7, 6}, {7, 6}, {7, 6}, {7, 6}, {7, 6}, {7, 6}, { 7, 6}, { 7, 6},
Lines 241-247 static DCtab DC_long [] = { Link Here
241
};
241
};
242
242
243
243
244
static DCTtab DCT_16 [] = {
244
static const DCTtab DCT_16 [] = {
245
    {129, 0, 0}, {129, 0, 0}, {129, 0, 0}, {129, 0, 0},
245
    {129, 0, 0}, {129, 0, 0}, {129, 0, 0}, {129, 0, 0},
246
    {129, 0, 0}, {129, 0, 0}, {129, 0, 0}, {129, 0, 0},
246
    {129, 0, 0}, {129, 0, 0}, {129, 0, 0}, {129, 0, 0},
247
    {129, 0, 0}, {129, 0, 0}, {129, 0, 0}, {129, 0, 0},
247
    {129, 0, 0}, {129, 0, 0}, {129, 0, 0}, {129, 0, 0},
Lines 252-258 static DCTtab DCT_16 [] = { Link Here
252
    { 31, 1, 0}, { 30, 1, 0}, { 29, 1, 0}, { 28, 1, 0}
252
    { 31, 1, 0}, { 30, 1, 0}, { 29, 1, 0}, { 28, 1, 0}
253
};
253
};
254
254
255
static DCTtab DCT_15 [] = {
255
static const DCTtab DCT_15 [] = {
256
    {  1,40,15}, {  1,39,15}, {  1,38,15}, {  1,37,15},
256
    {  1,40,15}, {  1,39,15}, {  1,38,15}, {  1,37,15},
257
    {  1,36,15}, {  1,35,15}, {  1,34,15}, {  1,33,15},
257
    {  1,36,15}, {  1,35,15}, {  1,34,15}, {  1,33,15},
258
    {  1,32,15}, {  2,14,15}, {  2,13,15}, {  2,12,15},
258
    {  1,32,15}, {  2,14,15}, {  2,13,15}, {  2,12,15},
Lines 267-273 static DCTtab DCT_15 [] = { Link Here
267
    {  1,17,14}, {  1,17,14}, {  1,16,14}, {  1,16,14}
267
    {  1,17,14}, {  1,17,14}, {  1,16,14}, {  1,16,14}
268
};
268
};
269
269
270
static DCTtab DCT_13 [] = {
270
static const DCTtab DCT_13 [] = {
271
    { 11, 2,13}, { 10, 2,13}, {  6, 3,13}, {  4, 4,13},
271
    { 11, 2,13}, { 10, 2,13}, {  6, 3,13}, {  4, 4,13},
272
    {  3, 5,13}, {  2, 7,13}, {  2, 6,13}, {  1,15,13},
272
    {  3, 5,13}, {  2, 7,13}, {  2, 6,13}, {  1,15,13},
273
    {  1,14,13}, {  1,13,13}, {  1,12,13}, { 27, 1,13},
273
    {  1,14,13}, {  1,13,13}, {  1,12,13}, { 27, 1,13},
Lines 282-293 static DCTtab DCT_13 [] = { Link Here
282
    {  7, 2,12}, {  7, 2,12}, { 18, 1,12}, { 18, 1,12}
282
    {  7, 2,12}, {  7, 2,12}, { 18, 1,12}, { 18, 1,12}
283
};
283
};
284
284
285
static DCTtab DCT_B14_10 [] = {
285
static const DCTtab DCT_B14_10 [] = {
286
    { 17, 1,10}, {  6, 2,10}, {  1, 7,10}, {  3, 3,10},
286
    { 17, 1,10}, {  6, 2,10}, {  1, 7,10}, {  3, 3,10},
287
    {  2, 4,10}, { 16, 1,10}, { 15, 1,10}, {  5, 2,10}
287
    {  2, 4,10}, { 16, 1,10}, { 15, 1,10}, {  5, 2,10}
288
};
288
};
289
289
290
static DCTtab DCT_B14_8 [] = {
290
static const DCTtab DCT_B14_8 [] = {
291
    { 65, 0, 6}, { 65, 0, 6}, { 65, 0, 6}, { 65, 0, 6},
291
    { 65, 0, 6}, { 65, 0, 6}, { 65, 0, 6}, { 65, 0, 6},
292
    {  3, 2, 7}, {  3, 2, 7}, { 10, 1, 7}, { 10, 1, 7},
292
    {  3, 2, 7}, {  3, 2, 7}, { 10, 1, 7}, { 10, 1, 7},
293
    {  1, 4, 7}, {  1, 4, 7}, {  9, 1, 7}, {  9, 1, 7},
293
    {  1, 4, 7}, {  1, 4, 7}, {  9, 1, 7}, {  9, 1, 7},
Lines 299-305 static DCTtab DCT_B14_8 [] = { Link Here
299
    {  4, 2, 8}, {  2, 3, 8}, {  1, 5, 8}, { 11, 1, 8}
299
    {  4, 2, 8}, {  2, 3, 8}, {  1, 5, 8}, { 11, 1, 8}
300
};
300
};
301
301
302
static DCTtab DCT_B14AC_5 [] = {
302
static const DCTtab DCT_B14AC_5 [] = {
303
		 {  1, 3, 5}, {  5, 1, 5}, {  4, 1, 5},
303
		 {  1, 3, 5}, {  5, 1, 5}, {  4, 1, 5},
304
    {  1, 2, 4}, {  1, 2, 4}, {  3, 1, 4}, {  3, 1, 4},
304
    {  1, 2, 4}, {  1, 2, 4}, {  3, 1, 4}, {  3, 1, 4},
305
    {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3},
305
    {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3},
Lines 309-315 static DCTtab DCT_B14AC_5 [] = { Link Here
309
    {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}
309
    {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}, {  1, 1, 2}
310
};
310
};
311
311
312
static DCTtab DCT_B14DC_5 [] = {
312
static const DCTtab DCT_B14DC_5 [] = {
313
		 {  1, 3, 5}, {  5, 1, 5}, {  4, 1, 5},
313
		 {  1, 3, 5}, {  5, 1, 5}, {  4, 1, 5},
314
    {  1, 2, 4}, {  1, 2, 4}, {  3, 1, 4}, {  3, 1, 4},
314
    {  1, 2, 4}, {  1, 2, 4}, {  3, 1, 4}, {  3, 1, 4},
315
    {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3},
315
    {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3}, {  2, 1, 3},
Lines 319-330 static DCTtab DCT_B14DC_5 [] = { Link Here
319
    {  1, 1, 1}, {  1, 1, 1}, {  1, 1, 1}, {  1, 1, 1}
319
    {  1, 1, 1}, {  1, 1, 1}, {  1, 1, 1}, {  1, 1, 1}
320
};
320
};
321
321
322
static DCTtab DCT_B15_10 [] = {
322
static const DCTtab DCT_B15_10 [] = {
323
    {  6, 2, 9}, {  6, 2, 9}, { 15, 1, 9}, { 15, 1, 9},
323
    {  6, 2, 9}, {  6, 2, 9}, { 15, 1, 9}, { 15, 1, 9},
324
    {  3, 4,10}, { 17, 1,10}, { 16, 1, 9}, { 16, 1, 9}
324
    {  3, 4,10}, { 17, 1,10}, { 16, 1, 9}, { 16, 1, 9}
325
};
325
};
326
326
327
static DCTtab DCT_B15_8 [] = {
327
static const DCTtab DCT_B15_8 [] = {
328
    { 65, 0, 6}, { 65, 0, 6}, { 65, 0, 6}, { 65, 0, 6},
328
    { 65, 0, 6}, { 65, 0, 6}, { 65, 0, 6}, { 65, 0, 6},
329
    {  8, 1, 7}, {  8, 1, 7}, {  9, 1, 7}, {  9, 1, 7},
329
    {  8, 1, 7}, {  8, 1, 7}, {  9, 1, 7}, {  9, 1, 7},
330
    {  7, 1, 7}, {  7, 1, 7}, {  3, 2, 7}, {  3, 2, 7},
330
    {  7, 1, 7}, {  7, 1, 7}, {  3, 2, 7}, {  3, 2, 7},
Lines 391-404 static DCTtab DCT_B15_8 [] = { Link Here
391
};
391
};
392
392
393
393
394
static MBAtab MBA_5 [] = {
394
static const MBAtab MBA_5 [] = {
395
		    {6, 5}, {5, 5}, {4, 4}, {4, 4}, {3, 4}, {3, 4},
395
		    {6, 5}, {5, 5}, {4, 4}, {4, 4}, {3, 4}, {3, 4},
396
    {2, 3}, {2, 3}, {2, 3}, {2, 3}, {1, 3}, {1, 3}, {1, 3}, {1, 3},
396
    {2, 3}, {2, 3}, {2, 3}, {2, 3}, {1, 3}, {1, 3}, {1, 3}, {1, 3},
397
    {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1},
397
    {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1},
398
    {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}
398
    {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}
399
};
399
};
400
400
401
static MBAtab MBA_11 [] = {
401
static const MBAtab MBA_11 [] = {
402
    {32, 11}, {31, 11}, {30, 11}, {29, 11},
402
    {32, 11}, {31, 11}, {30, 11}, {29, 11},
403
    {28, 11}, {27, 11}, {26, 11}, {25, 11},
403
    {28, 11}, {27, 11}, {26, 11}, {25, 11},
404
    {24, 11}, {23, 11}, {22, 11}, {21, 11},
404
    {24, 11}, {23, 11}, {22, 11}, {21, 11},
(-)xine-lib-1.1.2cvs20060328/src/post/goom/gfontrle.c (-1 / +1 lines)
Lines 1-6 Link Here
1
/* RGBA C-Source image dump (with zRLE compression) */
1
/* RGBA C-Source image dump (with zRLE compression) */
2
2
3
const struct {
3
static const struct {
4
  unsigned int width;
4
  unsigned int width;
5
  unsigned int height;
5
  unsigned int height;
6
  unsigned int bytes_per_pixel;
6
  unsigned int bytes_per_pixel;
(-)xine-lib-1.1.2cvs20060328/src/post/goom/gfontrle.h (-7 lines)
Lines 1-7 Link Here
1
extern const struct {
2
	unsigned int width;
3
	unsigned int height;
4
	unsigned int bytes_per_pixel;
5
	unsigned int rle_size;
6
	unsigned char rle_pixel [49725];
7
} the_font ;
(-)xine-lib-1.1.2cvs20060328/src/post/goom/gfontlib.c (-1 / +1 lines)
Lines 1-6 Link Here
1
#include "goom_config.h"
1
#include "goom_config.h"
2
#include "gfontrle.h"
3
#include "gfontlib.h"
2
#include "gfontlib.h"
3
#include "gfontrle.c"
4
#include <string.h>
4
#include <string.h>
5
#include <stdlib.h>
5
#include <stdlib.h>
6
6
(-)xine-lib-1.1.2cvs20060328/src/post/goom/Makefile.am (-4 / +5 lines)
Lines 2-8 include $(top_srcdir)/misc/Makefile.comm Link Here
2
2
3
libdir = $(XINE_PLUGINDIR)/post
3
libdir = $(XINE_PLUGINDIR)/post
4
4
5
EXTRA_DIST = mmx.c xmmx.c ppc_drawings.s ppc_zoom_ultimate.s diff_against_release.patch
5
EXTRA_DIST = mmx.c xmmx.c ppc_drawings.s ppc_zoom_ultimate.s diff_against_release.patch \
6
	gfontrle.c mathtools.c
6
7
7
## -fomit-frame-pointer segfaults here
8
## -fomit-frame-pointer segfaults here
8
## Use -O2 if -Os is stripped or x86 does not build
9
## Use -O2 if -Os is stripped or x86 does not build
Lines 23-35 endif Link Here
23
24
24
xineplug_post_goom_la_SOURCES = $(extra_files) xine_goom.c \
25
xineplug_post_goom_la_SOURCES = $(extra_files) xine_goom.c \
25
	config_param.c convolve_fx.c cpu_info.c drawmethods.c filters.c flying_stars_fx.c \
26
	config_param.c convolve_fx.c cpu_info.c drawmethods.c filters.c flying_stars_fx.c \
26
	gfontlib.c gfontrle.c goom_core.c goom_tools.c goomsl.c goomsl_hash.c goomsl_heap.c \
27
	gfontlib.c goom_core.c goom_tools.c goomsl.c goomsl_hash.c goomsl_heap.c \
27
	goomsl_lex.c goomsl_yacc.c graphic.c ifs.c lines.c mathtools.c \
28
	goomsl_lex.c goomsl_yacc.c graphic.c ifs.c lines.c \
28
	plugin_info.c sound_tester.c surf3d.c tentacle3d.c v3d.c
29
	plugin_info.c sound_tester.c surf3d.c tentacle3d.c v3d.c
29
xineplug_post_goom_la_LIBADD = $(XINE_LIB) $(GOOM_LIBS) $(THREAD_LIBS)
30
xineplug_post_goom_la_LIBADD = $(XINE_LIB) $(GOOM_LIBS) $(THREAD_LIBS)
30
xineplug_post_goom_la_LDFLAGS = -avoid-version -module $(XINE_PLUGIN_MIN_SYMS)
31
xineplug_post_goom_la_LDFLAGS = -avoid-version -module $(XINE_PLUGIN_MIN_SYMS)
31
32
32
noinst_HEADERS = cpu_info.h default_scripts.h drawmethods.h gfontlib.h gfontrle.h goom.h \
33
noinst_HEADERS = cpu_info.h default_scripts.h drawmethods.h gfontlib.h goom.h \
33
	goom_config.h goom_config_param.h goom_filters.h goom_fx.h goom_graphic.h \
34
	goom_config.h goom_config_param.h goom_filters.h goom_fx.h goom_graphic.h \
34
	goom_plugin_info.h goom_tools.h goom_typedefs.h goom_visual_fx.h goomsl.h goomsl_hash.h \
35
	goom_plugin_info.h goom_tools.h goom_typedefs.h goom_visual_fx.h goomsl.h goomsl_hash.h \
35
	goomsl_heap.h goomsl_private.h goomsl_yacc.h ifs.h lines.h mathtools.h mmx.h \
36
	goomsl_heap.h goomsl_private.h goomsl_yacc.h ifs.h lines.h mathtools.h mmx.h \
(-)xine-lib-1.1.2cvs20060328/src/video_out/video_out_macosx.m (-1 / +1 lines)
Lines 372-378 static void *init_class (xine_t *xine, v Link Here
372
  return this;
372
  return this;
373
}
373
}
374
374
375
static vo_info_t vo_info_macosx = {
375
static const vo_info_t vo_info_macosx = {
376
  1,                        /* Priority    */
376
  1,                        /* Priority    */
377
  XINE_VISUAL_TYPE_MACOSX   /* Visual type */
377
  XINE_VISUAL_TYPE_MACOSX   /* Visual type */
378
};
378
};
(-)xine-lib-1.1.2cvs20060328/src/dxr3/video_out_dxr3.c (-7 / +7 lines)
Lines 80-97 static dxr3_driver_class_t *dxr3_vo_init Link Here
80
80
81
/* plugin catalog information */
81
/* plugin catalog information */
82
#ifdef HAVE_X11
82
#ifdef HAVE_X11
83
static vo_info_t   vo_info_dxr3_x11 = {
83
static const vo_info_t   vo_info_dxr3_x11 = {
84
  10,                  /* priority        */
84
  10,                  /* priority        */
85
  XINE_VISUAL_TYPE_X11 /* visual type     */
85
  XINE_VISUAL_TYPE_X11 /* visual type     */
86
};
86
};
87
#endif
87
#endif
88
88
89
static vo_info_t   vo_info_dxr3_aa = {
89
static const vo_info_t   vo_info_dxr3_aa = {
90
  10,                  /* priority        */
90
  10,                  /* priority        */
91
  XINE_VISUAL_TYPE_AA  /* visual type     */
91
  XINE_VISUAL_TYPE_AA  /* visual type     */
92
};
92
};
93
93
94
plugin_info_t      xine_plugin_info[] = {
94
const plugin_info_t      xine_plugin_info[] = {
95
  /* type, API, "name", version, special_info, init_function */  
95
  /* type, API, "name", version, special_info, init_function */  
96
#ifdef HAVE_X11
96
#ifdef HAVE_X11
97
  { PLUGIN_VIDEO_OUT, 21, "dxr3", XINE_VERSION_CODE, &vo_info_dxr3_x11, &dxr3_x11_init_plugin },
97
  { PLUGIN_VIDEO_OUT, 21, "dxr3", XINE_VERSION_CODE, &vo_info_dxr3_x11, &dxr3_x11_init_plugin },
Lines 223-234 static vo_driver_t *dxr3_vo_open_plugin( Link Here
223
  plugin_node_t *node;
223
  plugin_node_t *node;
224
224
225
#ifdef HAVE_X11
225
#ifdef HAVE_X11
226
  static char *videoout_modes[] = { "letterboxed tv",      "widescreen tv",
226
  static const char const *videoout_modes[] = { "letterboxed tv",      "widescreen tv",
227
				    "letterboxed overlay", "widescreen overlay", NULL };
227
				    "letterboxed overlay", "widescreen overlay", NULL };
228
#else
228
#else
229
  static char *videoout_modes[] = { "letterboxed tv", "widescreen tv", NULL };
229
  static const char const *videoout_modes[] = { "letterboxed tv", "widescreen tv", NULL };
230
#endif
230
#endif
231
  static char *tv_modes[] = { "ntsc", "pal", "pal60" , "default", NULL };
231
  static const char const *tv_modes[] = { "ntsc", "pal", "pal60" , "default", NULL };
232
  int list_id, list_size;
232
  int list_id, list_size;
233
  xine_sarray_t *plugin_list;
233
  xine_sarray_t *plugin_list;
234
  
234
  
Lines 1247-1253 static void dxr3_dispose(vo_driver_t *th Link Here
1247
  close(this->fd_control);
1247
  close(this->fd_control);
1248
  pthread_mutex_lock(&this->spu_device_lock);
1248
  pthread_mutex_lock(&this->spu_device_lock);
1249
  if (this->fd_spu) {
1249
  if (this->fd_spu) {
1250
    uint8_t empty_spu[] = {
1250
    static const uint8_t empty_spu[] = {
1251
      0x00, 0x26, 0x00, 0x08, 0x80, 0x00, 0x00, 0x80,
1251
      0x00, 0x26, 0x00, 0x08, 0x80, 0x00, 0x00, 0x80,
1252
      0x00, 0x00, 0x00, 0x20, 0x01, 0x03, 0x00, 0x00,
1252
      0x00, 0x00, 0x00, 0x20, 0x01, 0x03, 0x00, 0x00,
1253
      0x04, 0x00, 0x00, 0x05, 0x00, 0x00, 0x01, 0x00,
1253
      0x04, 0x00, 0x00, 0x05, 0x00, 0x00, 0x01, 0x00,
(-)xine-lib-1.1.2cvs20060328/src/libmpeg2/header.c (-1 / +1 lines)
Lines 34-40 Link Here
34
#include "attributes.h"
34
#include "attributes.h"
35
35
36
/* default intra quant matrix, in zig-zag order */
36
/* default intra quant matrix, in zig-zag order */
37
static uint8_t default_intra_quantizer_matrix[64] ATTR_ALIGN(16) = {
37
static const uint8_t default_intra_quantizer_matrix[64] ATTR_ALIGN(16) = {
38
    8,
38
    8,
39
    16, 16,
39
    16, 16,
40
    19, 16, 19,
40
    19, 16, 19,
(-)xine-lib-1.1.2cvs20060328/src/libmpeg2/idct_altivec.c (-1 / +1 lines)
Lines 489-495 void mpeg2_idct_add_altivec (int16_t * b Link Here
489
	 );
489
	 );
490
}
490
}
491
491
492
static int16_t constants[5][8] ATTR_ALIGN(16) = {
492
static const int16_t constants[5][8] ATTR_ALIGN(16) = {
493
    {23170, 13573, 6518, 21895, -23170, -21895, 32, 31},
493
    {23170, 13573, 6518, 21895, -23170, -21895, 32, 31},
494
    {16384, 22725, 21407, 19266, 16384, 19266, 21407, 22725},
494
    {16384, 22725, 21407, 19266, 16384, 19266, 21407, 22725},
495
    {22725, 31521, 29692, 26722, 22725, 26722, 29692, 31521},
495
    {22725, 31521, 29692, 26722, 22725, 26722, 29692, 31521},
(-)xine-lib-1.1.2cvs20060328/src/libmpeg2/slice_xvmc.c (-6 / +6 lines)
Lines 46-52 Link Here
46
#include "vlc.h"
46
#include "vlc.h"
47
/* original (non-patched) scan tables */
47
/* original (non-patched) scan tables */
48
48
49
static uint8_t mpeg2_scan_norm_orig[64] ATTR_ALIGN(16) =
49
static const uint8_t mpeg2_scan_norm_orig[64] ATTR_ALIGN(16) =
50
{
50
{
51
    /* Zig-Zag scan pattern */
51
    /* Zig-Zag scan pattern */
52
     0, 1, 8,16, 9, 2, 3,10,
52
     0, 1, 8,16, 9, 2, 3,10,
Lines 59-65 static uint8_t mpeg2_scan_norm_orig[64] Link Here
59
    53,60,61,54,47,55,62,63
59
    53,60,61,54,47,55,62,63
60
};
60
};
61
61
62
static uint8_t mpeg2_scan_alt_orig[64] ATTR_ALIGN(16) =
62
static const uint8_t mpeg2_scan_alt_orig[64] ATTR_ALIGN(16) =
63
{
63
{
64
    /* Alternate scan pattern */
64
    /* Alternate scan pattern */
65
    0,8,16,24,1,9,2,10,17,25,32,40,48,56,57,49,
65
    0,8,16,24,1,9,2,10,17,25,32,40,48,56,57,49,
Lines 68-76 static uint8_t mpeg2_scan_alt_orig[64] A Link Here
68
    53,61,22,30,7,15,23,31,38,46,54,62,39,47,55,63
68
    53,61,22,30,7,15,23,31,38,46,54,62,39,47,55,63
69
};
69
};
70
70
71
uint8_t mpeg2_scan_alt_ptable[64] ATTR_ALIGN(16);
71
static uint8_t mpeg2_scan_alt_ptable[64] ATTR_ALIGN(16);
72
uint8_t mpeg2_scan_norm_ptable[64] ATTR_ALIGN(16);
72
static uint8_t mpeg2_scan_norm_ptable[64] ATTR_ALIGN(16);
73
uint8_t mpeg2_scan_orig_ptable[64] ATTR_ALIGN(16);
73
static uint8_t mpeg2_scan_orig_ptable[64] ATTR_ALIGN(16);
74
74
75
void xvmc_setup_scan_ptable( void )
75
void xvmc_setup_scan_ptable( void )
76
{
76
{
Lines 83-89 void xvmc_setup_scan_ptable( void ) Link Here
83
}
83
}
84
    
84
    
85
85
86
static int non_linear_quantizer_scale [] = {
86
static const int non_linear_quantizer_scale [] = {
87
    0,  1,  2,  3,  4,  5,   6,   7,
87
    0,  1,  2,  3,  4,  5,   6,   7,
88
    8, 10, 12, 14, 16, 18,  20,  22,
88
    8, 10, 12, 14, 16, 18,  20,  22,
89
    24, 28, 32, 36, 40, 44,  48,  52,
89
    24, 28, 32, 36, 40, 44,  48,  52,
(-)xine-lib-1.1.2cvs20060328/src/libmpeg2/slice_xvmc_vld.c (-2 / +2 lines)
Lines 23-29 Link Here
23
#include "mpeg2_internal.h"
23
#include "mpeg2_internal.h"
24
#include "xvmc_vld.h"
24
#include "xvmc_vld.h"
25
25
26
static uint8_t zig_zag_scan[64] ATTR_ALIGN(16) =
26
static const uint8_t zig_zag_scan[64] ATTR_ALIGN(16) =
27
{
27
{
28
    /* Zig-Zag scan pattern */
28
    /* Zig-Zag scan pattern */
29
     0, 1, 8,16, 9, 2, 3,10,
29
     0, 1, 8,16, 9, 2, 3,10,
Lines 36-42 static uint8_t zig_zag_scan[64] ATTR_ALI Link Here
36
    53,60,61,54,47,55,62,63
36
    53,60,61,54,47,55,62,63
37
};
37
};
38
38
39
static uint8_t alternate_scan [64] ATTR_ALIGN(16) =
39
static const uint8_t alternate_scan [64] ATTR_ALIGN(16) =
40
{
40
{
41
    /* Alternate scan pattern */
41
    /* Alternate scan pattern */
42
    0,8,16,24,1,9,2,10,17,25,32,40,48,56,57,49,
42
    0,8,16,24,1,9,2,10,17,25,32,40,48,56,57,49,
(-)xine-lib-1.1.2cvs20060328/src/libmpeg2/xvmc.h (-4 lines)
Lines 26-35 Link Here
26
26
27
/* slice_xvmc.c */
27
/* slice_xvmc.c */
28
28
29
extern uint8_t mpeg2_scan_alt_ptable[64] ATTR_ALIGN(16);
30
extern uint8_t mpeg2_scan_norm_ptable[64] ATTR_ALIGN(16);
31
extern uint8_t mpeg2_scan_orig_ptable[64] ATTR_ALIGN(16);
32
33
void mpeg2_xvmc_slice (mpeg2dec_accel_t *accel, picture_t * picture, int code, uint8_t * buffer);
29
void mpeg2_xvmc_slice (mpeg2dec_accel_t *accel, picture_t * picture, int code, uint8_t * buffer);
34
void xvmc_setup_scan_ptable( void );
30
void xvmc_setup_scan_ptable( void );
35
31
(-)xine-lib-1.1.2cvs20060328/src/post/goom/mathtools.c (-2 / +2 lines)
Lines 10-16 Link Here
10
10
11
#include "mathtools.h"
11
#include "mathtools.h"
12
12
13
float sin256[256] = {
13
static const float sin256[256] = {
14
  0,0.0245412,0.0490677,0.0735646,0.0980171,0.122411,0.14673,0.170962
14
  0,0.0245412,0.0490677,0.0735646,0.0980171,0.122411,0.14673,0.170962
15
  ,0.19509,0.219101,0.24298,0.266713,0.290285,0.313682,0.33689,0.359895
15
  ,0.19509,0.219101,0.24298,0.266713,0.290285,0.313682,0.33689,0.359895
16
  ,0.382683,0.405241,0.427555,0.449611,0.471397,0.492898,0.514103,0.534998
16
  ,0.382683,0.405241,0.427555,0.449611,0.471397,0.492898,0.514103,0.534998
Lines 46-52 float sin256[256] = { Link Here
46
46
47
};
47
};
48
48
49
float cos256[256] = {
49
static const float cos256[256] = {
50
  0,0.999699,0.998795,0.99729,0.995185,0.99248,0.989177,0.985278
50
  0,0.999699,0.998795,0.99729,0.995185,0.99248,0.989177,0.985278
51
  ,0.980785,0.975702,0.970031,0.963776,0.95694,0.949528,0.941544,0.932993
51
  ,0.980785,0.975702,0.970031,0.963776,0.95694,0.949528,0.941544,0.932993
52
  ,0.92388,0.91421,0.903989,0.893224,0.881921,0.870087,0.857729,0.844854
52
  ,0.92388,0.91421,0.903989,0.893224,0.881921,0.870087,0.857729,0.844854
(-)xine-lib-1.1.2cvs20060328/src/post/goom/mathtools.h (-2 / +1 lines)
Lines 29-36 Link Here
29
#define SINCOS(f,s,c) {s=sin(f);c=cos(f);}
29
#define SINCOS(f,s,c) {s=sin(f);c=cos(f);}
30
#endif
30
#endif
31
31
32
extern float sin256[256];
32
#include "mathtools.c"
33
extern float cos256[256];
34
33
35
#endif
34
#endif
36
35

Return to bug 135390