#if defined(MODULE_NAME_IS_xvmc)
static int XVideoGetPort ( vout_thread_t *, vlc_fourcc_t, picture_heap_t * );
static void RenderVideo ( vout_thread_t *, picture_t * );
-static int xvmc_check_yv12( Display *display, XvPortID port );
-static void xvmc_update_XV_DOUBLE_BUFFER( vout_thread_t *p_vout );
+//static int xvmc_check_yv12( Display *display, XvPortID port );
+//static void xvmc_update_XV_DOUBLE_BUFFER( vout_thread_t *p_vout );
#endif
static int X11ErrorHandler( Display *, XErrorEvent * );
#define XINE_IMGFMT_YV12 (('2'<<24)|('1'<<16)|('V'<<8)|'Y')
/* called xlocked */
+#if 0
static int xvmc_check_yv12( Display *display, XvPortID port )
{
XvImageFormatValues *formatValues;
XFree (formatValues);
return 1;
}
+#endif
+#if 0
static void xvmc_sync_surface( vout_thread_t *p_vout, XvMCSurface * srf )
{
XvMCSyncSurface( p_vout->p_sys->p_display, srf );
}
+#endif
+#if 0
static void xvmc_update_XV_DOUBLE_BUFFER( vout_thread_t *p_vout )
{
Atom atom;
//xprintf(this->xine, XINE_VERBOSITY_DEBUG,
// "video_out_xxmc: double buffering mode = %d\n", xv_double_buffer);
}
+#endif
static void RenderVideo( vout_thread_t *p_vout, picture_t *p_pic )
{
}
}
+#if 0
static int xx44_paletteIndex( xx44_palette_t *p, int color, uint32_t clut )
{
unsigned int i;
p->lookup_cache[color] = p->max_used++;
return p->lookup_cache[color];
}
+#endif
+#if 0
static void memblend_xx44( uint8_t *mem, uint8_t val,
size_t size, uint8_t mask )
{
mem++;
}
}
+#endif
void blend_xx44( uint8_t *dst_img, subpicture_t *sub_img,
int dst_width, int dst_height, int dst_pitch,
return ret;
}
+#if 0
static void xxmc_xvmc_dump_subpictures( vout_thread_t *p_vout )
{
int i;
handler->subValid[i]);
}
}
+#endif
XvMCSubpicture *xxmc_xvmc_alloc_subpicture( vout_thread_t *p_vout,
XvMCContext *context, unsigned short width,