Mercurial > mplayer.hg
changeset 27083:ef28bbd026b2
cosmetic: give a coherent indentation
author | ben |
---|---|
date | Fri, 20 Jun 2008 20:24:53 +0000 |
parents | 2a486144b5c7 |
children | e4497d289c3c |
files | vidix/vidix.c |
diffstat | 1 files changed, 13 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/vidix/vidix.c Fri Jun 20 20:21:31 2008 +0000 +++ b/vidix/vidix.c Fri Jun 20 20:24:53 2008 +0000 @@ -108,7 +108,7 @@ #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 @@ 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; }