/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <stdlib.h> /* malloc(), free() */
-#include <string.h> /* strerror() */
#include <vlc/vlc.h>
-#include <vlc/intf.h>
-#include <vlc/vout.h>
+#include <vlc_interface.h>
+#include <vlc_vout.h>
#include <vlc_keys.h>
#ifdef HAVE_MACHINE_PARAM_H
void clear_xx44_palette( xx44_palette_t *p )
{
- register int i;
- register uint32_t *cluts = p->cluts;
- register int *ids = p->lookup_cache;
+ int i;
+ uint32_t *cluts = p->cluts;
+ int *ids = p->lookup_cache;
i= p->size;
while(i--)
{
int i;
xvmc_surface_handler_t *handler = &p_vout->p_sys->xvmc_surf_handler;
-
+
pthread_mutex_init( &handler->mutex, NULL );
for( i=0; i<XVMC_MAX_SURFACES; ++i )
{
xvmc_context_writer_unlock( &p_vout->p_sys->xvmc_lock );
return VLC_SUCCESS;
}
- XVMCLOCKDISPLAY( p_vout->p_sys->p_display );
+ XVMCLOCKDISPLAY( p_vout->p_sys->p_display );
XvMCDestroyContext( p_vout->p_sys->p_display, &c );
xxmc_xvmc_surface_handler_construct(p_vout );
/* p_vout->p_sys->capabilities |= VO_CAP_XXMC; */