[MPlayer-cvslog] r27115 - trunk/vidix/vidix.c
ben
subversion at mplayerhq.hu
Fri Jun 20 22:24:53 CEST 2008
Author: ben
Date: Fri Jun 20 22:24:53 2008
New Revision: 27115
Log:
cosmetic: give a coherent indentation
Modified:
trunk/vidix/vidix.c
Modified: trunk/vidix/vidix.c
==============================================================================
--- trunk/vidix/vidix.c (original)
+++ trunk/vidix/vidix.c Fri Jun 20 22:24:53 2008
@@ -108,7 +108,7 @@ int vdlGetCapability(VDL_HANDLE ctx, vi
#define MPLAYER_IMGFMT_BGR (('B'<<24)|('G'<<16)|('R'<<8))
#define MPLAYER_IMGFMT_RGB_MASK 0xFFFFFF00
-static uint32_t normalize_fourcc(uint32_t fourcc)
+static uint32_t normalize_fourcc (uint32_t fourcc)
{
if((fourcc & MPLAYER_IMGFMT_RGB_MASK) == (MPLAYER_IMGFMT_RGB|0) ||
(fourcc & MPLAYER_IMGFMT_RGB_MASK) == (MPLAYER_IMGFMT_BGR|0))
@@ -116,64 +116,64 @@ static uint32_t normalize_fourcc(uint32_
return fourcc;
}
-int vdlQueryFourcc(VDL_HANDLE ctx,vidix_fourcc_t *f)
+int vdlQueryFourcc(VDL_HANDLE ctx, vidix_fourcc_t *f)
{
f->fourcc = normalize_fourcc(f->fourcc);
return ctx->drv->query_fourcc (f);
}
-int vdlConfigPlayback(VDL_HANDLE ctx,vidix_playback_t *p)
+int vdlConfigPlayback (VDL_HANDLE ctx, vidix_playback_t *p)
{
p->fourcc = normalize_fourcc(p->fourcc);
return ctx->drv->config_playback (p);
}
-int vdlPlaybackOn(VDL_HANDLE ctx)
+int vdlPlaybackOn (VDL_HANDLE ctx)
{
return ctx->drv->playback_on ();
}
-int vdlPlaybackOff(VDL_HANDLE ctx)
+int vdlPlaybackOff (VDL_HANDLE ctx)
{
return ctx->drv->playback_off ();
}
-int vdlPlaybackFrameSelect(VDL_HANDLE ctx, unsigned frame_idx )
+int vdlPlaybackFrameSelect (VDL_HANDLE ctx, unsigned frame_idx)
{
return ctx->drv->frame_sel ? ctx->drv->frame_sel (frame_idx) : ENOSYS;
}
-int vdlPlaybackGetEq(VDL_HANDLE ctx, vidix_video_eq_t * e)
+int vdlPlaybackGetEq (VDL_HANDLE ctx, vidix_video_eq_t *e)
{
return ctx->drv->get_eq ? ctx->drv->get_eq (e) : ENOSYS;
}
-int vdlPlaybackSetEq(VDL_HANDLE ctx, const vidix_video_eq_t * e)
+int vdlPlaybackSetEq (VDL_HANDLE ctx, const vidix_video_eq_t *e)
{
return ctx->drv->set_eq ? ctx->drv->set_eq (e) : ENOSYS;
}
-int vdlPlaybackCopyFrame(VDL_HANDLE ctx, const vidix_dma_t * f)
+int vdlPlaybackCopyFrame (VDL_HANDLE ctx, const vidix_dma_t *f)
{
return ctx->drv->copy_frame ? ctx->drv->copy_frame (f) : ENOSYS;
}
-int vdlGetGrKeys(VDL_HANDLE ctx, vidix_grkey_t * k)
+int vdlGetGrKeys (VDL_HANDLE ctx, vidix_grkey_t *k)
{
return ctx->drv->get_gkey ? ctx->drv->get_gkey (k) : ENOSYS;
}
-int vdlSetGrKeys(VDL_HANDLE ctx, const vidix_grkey_t * k)
+int vdlSetGrKeys (VDL_HANDLE ctx, const vidix_grkey_t *k)
{
return ctx->drv->set_gkey ? ctx->drv->set_gkey (k) : ENOSYS;
}
-int vdlPlaybackGetDeint(VDL_HANDLE ctx, vidix_deinterlace_t * d)
+int vdlPlaybackGetDeint (VDL_HANDLE ctx, vidix_deinterlace_t *d)
{
return ctx->drv->get_deint ? ctx->drv->get_deint (d) : ENOSYS;
}
-int vdlPlaybackSetDeint(VDL_HANDLE ctx, const vidix_deinterlace_t * d)
+int vdlPlaybackSetDeint (VDL_HANDLE ctx, const vidix_deinterlace_t *d)
{
return ctx->drv->set_deint ? ctx->drv->set_deint (d) : ENOSYS;
}
More information about the MPlayer-cvslog
mailing list